diff --git a/core/admin/index.html b/core/admin/index.html index c6ba837..7562b28 100644 --- a/core/admin/index.html +++ b/core/admin/index.html @@ -8,6 +8,6 @@
- + \ No newline at end of file diff --git a/core/admin/p__Plugin__Share__index.2587e877.async.js b/core/admin/p__Plugin__Share__index.2587e877.async.js deleted file mode 100644 index bc4695a..0000000 --- a/core/admin/p__Plugin__Share__index.2587e877.async.js +++ /dev/null @@ -1,2 +0,0 @@ -"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[96],{83187:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(54689),_Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0__),_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(81308),_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(48989),antd__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(79112),lodash__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(32699),lodash__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(50959),_submit__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(87474),_umijs_max__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(86195),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(11527);__webpack_exports__.Z=function(props){for(var _props$data$script,content=(_props$data$script=props.data.script)!==null&&_props$data$script!==void 0?_props$data$script:props.editorRef.current?props.editorRef.current.getValue().replace(/\r\n/g,` -`):"",formRef=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(),result=[],keys=[],_i=0,_arr=[/@form\s+({[^*]+?})/g,/Form\(([\s\S]+?)\)/g];_i<_arr.length;_i++){var pattern=_arr[_i],matches=content.matchAll(pattern),_iterator=_Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0___default()(matches),_step;try{var _loop=function _loop(){var match=_step.value;try{var _a=function(r){for(var e in r)r[e].dataIndex&&(r[e].key=r[e].dataIndex),r[e].key&&keys.push(r[e].key),r[e].required&&!r[e].formItemProps&&(r[e].formItemProps={rules:[{required:!0,message:"\u6B64\u9879\u4E3A\u5FC5\u586B\u9879"}]}),r[e].columns&&(r[e].columns=_a(r[e].columns));return r},formObject=eval("(".concat(match[1],")"));(0,lodash__WEBPACK_IMPORTED_MODULE_1__.isArray)(formObject)||(formObject=[formObject]),result=result.concat(formObject),keys=[],result=_a(result)}catch(l){console.log("form\u8868\u5355\u89E3\u6790\u9519\u8BEF",l)}};for(_iterator.s();!(_step=_iterator.n()).done;)_loop()}catch(l){_iterator.e(l)}finally{_iterator.f()}}return(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function(){(0,_umijs_max__WEBPACK_IMPORTED_MODULE_4__.request)("/api/storage",{params:{keys:keys.join(",")}}).then(function(l){if(l&&l.data){var r;for(var e in l.data)l.data[e]=="false"&&(l.data[e]=!1),l.data[e]==""&&delete l.data[e];(r=formRef.current)===null||r===void 0||r.setFieldsValue(l.data)}})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(antd__WEBPACK_IMPORTED_MODULE_6__.Z,{open:props.open,onCancel:props.onCancel,onOk:function l(){var r,e=formRef==null||(r=formRef.current)===null||r===void 0?void 0:r.getFieldsValue();(0,_submit__WEBPACK_IMPORTED_MODULE_3__.Z)(e).finally(function(){props.onCancel()})},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_7__.A,{formRef,submitter:!1,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_8__.Z,{layoutType:"Embed",columns:result})})})}},26931:function(l,r,e){e.r(r);var I=e(25359),E=e.n(I),y=e(49811),h=e.n(y),m=e(54306),u=e.n(m),B=e(83187),b=e(87474),g=e(54572),C=e(12472),A=e(55147),f=e(86195),R=e(44901),n=e(68243),d=e(4050),p=e(21362),c=e(50959),a=e(11527),P="";r.default=function(){var K=(0,c.useState)([]),j=u()(K,2),T=j[0],L=j[1],q=(0,f.useModel)("@@initialState"),ee=q.refresh,_e=(0,c.useState)(""),V=u()(_e,2),W=V[0],J=V[1],ae=(0,c.useState)("tab1"),Y=u()(ae,2),M=Y[0],re=Y[1],ne=(0,c.useState)(0),w=u()(ne,2),k=w[0],Z=w[1],te=(0,c.useState)(0),N=u()(te,2),x=N[0],S=N[1],se=(0,c.useState)(0),Q=u()(se,2),F=Q[0],z=Q[1],le=(0,c.useState)(""),X=u()(le,2),oe=X[0],ie=X[1],$=(0,c.useRef)(),G=function(i){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,a.jsx)(R.Z,{count:i,style:{marginBlockStart:-2,marginInlineStart:4,color:_?"#1890FF":"#999",backgroundColor:_?"#E6F7FF":"#eee"}})};return(0,a.jsxs)(C._z,{children:[W!=""&&(0,a.jsx)(B.Z,{data:{script:W},open:W,onCancel:function(){J("")}}),(0,a.jsx)(A.Rs,{actionRef:$,toolbar:{menu:{activeKey:M,items:[{key:"tab1",label:(0,a.jsxs)("span",{children:["\u5DF2\u5B89\u88C5",G(k,M==="tab1")]})},{key:"tab2",label:(0,a.jsxs)("span",{children:["\u672A\u5B89\u88C5",G(x,M==="tab2")]})},{key:"tab3",label:(0,a.jsxs)("span",{children:["\u53EF\u5347\u7EA7",G(F,M==="tab3")]})}],onChange:function(i){var _;re(i),(_=$.current)===null||_===void 0||_.reload()}},search:{onSearch:function(i){var _;(_=$.current)===null||_===void 0||_.reload(),ie(i)}}},search:{filterType:"light"},rowKey:"name",dataSource:T,request:h()(E()().mark(function D(){var i,_=arguments;return E()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return i=_.length>0&&_[0]!==void 0?_[0]:{},i.activeKey=M,i.keyword=oe,P!=""?i.init=P:P="false",s.abrupt("return",(0,f.request)("/api/plugins/list.json",{params:i}).then(function(t){return Z(t.tab1),S(t.tab2),z(t.tab3),t}));case 5:case"end":return s.stop()}},D)})),onDataSourceChange:L,pagination:{pageSize:7},showActions:"hover",metas:{avatar:{dataIndex:"icon",search:!1},title:{dataIndex:"title",search:!1},description:{dataIndex:"description",search:!1},subTitle:{render:function(i,_){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)(d.Z,{color:_.identified?"gold":"grey",children:_.organization==""?"\u672A\u8BA4\u8BC1\u6765\u6E90":_.organization},_.organization)}),(0,a.jsx)(n.Z,{size:0,children:(0,a.jsxs)(d.Z,{color:"cyan",children:[_.downloads," \u4E0B\u8F7D"]},"downloads")}),_.module&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)(d.Z,{color:"purple",children:"\u6A21\u5757"},"module")}),_.web&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)(d.Z,{color:"brown",children:"\u7F51\u7EDC\u670D\u52A1"},"web")}),_.cron!=""&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)(d.Z,{color:"red",children:"\u5B9A\u65F6\u4EFB\u52A1"},_.cron)}),_.encrypt&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)(d.Z,{color:"orange",children:"\u52A0\u5BC6\u811A\u672C"},"encrypt")}),_.status==1&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)("a",{children:(0,a.jsx)(d.Z,{color:"pink",onClick:function(){var s={};s["plugins."+_.id]="install",(0,b.Z)(s,"\u6B63\u5728\u5904\u7406\u8BF7\u6C42...","","").then(function(t){var O=t==null?void 0:t.errors["plugins."+_.id];if(O){p.ZP.warning(O,2);return}else z(F-1),p.ZP.info("\u5904\u7406\u6210\u529F\u3002",1);L(T.map(function(v){return v.id==_.id&&(v.status=2),v}))})},children:"\u5347\u7EA7"},_.status)})}),_.has_form&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)("a",{children:(0,a.jsx)(d.Z,{color:"blue",onClick:function(){var s="plugins."+_.id;(0,f.request)("/api/storage",{params:{keys:[s].join(",")}}).then(function(t){t!=null&&t.data&&t.data[s]&&J(t.data[s])})},children:"\u914D\u7F6E"},_.status)})}),_.running&&(0,a.jsx)(n.Z,{size:0,children:(0,a.jsx)(d.Z,{icon:(0,a.jsx)(g.Z,{spin:!0}),color:"processing",children:"\u8FD0\u884C\u4E2D"},"running")})]})},search:!1},actions:{render:function(i,_){return[(0,a.jsx)("a",{onClick:h()(E()().mark(function U(){var s,t,O,v;return E()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:s=0,t={},o.t0=_.status,o.next=o.t0===0?5:o.t0===6?8:o.t0===1||o.t0===2?10:13;break;case 5:return s=2,t["plugins."+_.id]="install",o.abrupt("break",13);case 8:return o.abrupt("return");case 10:return s=0,t["plugins."+_.id]="",o.abrupt("break",13);case 13:return o.next=15,(0,b.Z)(t,"\u6B63\u5728\u5904\u7406\u8BF7\u6C42...","","");case 15:if(O=o.sent,v=O==null?void 0:O.errors["plugins."+_.id],!v){o.next=22;break}return p.ZP.warning(v,2),o.abrupt("return");case 22:s==0?(Z(k-1),S(x+1),_.status==1&&z(F-1)):(Z(k+1),S(x-1)),p.ZP.info("\u5904\u7406\u6210\u529F\u3002",1);case 24:L(T.map(function(H){return H.id==_.id&&(H.status=s),H})),ee();case 26:case"end":return o.stop()}},U)})),target:"_blank",rel:"noopener noreferrer",children:_.status==0?"\u5B89\u88C5":_.status==6?"\u539F\u521B":"\u5378\u8F7D"},"link")]},search:!1}}})]})}},87474:function(l,r,e){var I=e(25359),E=e.n(I),y=e(49811),h=e.n(y),m=e(21362),u=e(86195),B=function(){var b=h()(E()().mark(function g(C){var A,f,R,n=arguments;return E()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return A=n.length>1&&n[1]!==void 0?n[1]:"\u6B63\u5728\u63D0\u4EA4\u66F4\u6539..",f=n.length>2&&n[2]!==void 0?n[2]:"\u63D0\u4EA4\u6210\u529F\uFF01",R=n.length>3&&n[3]!==void 0?n[3]:"\u63D0\u4EA4\u5931\u8D25",A&&m.ZP.loading("\u6B63\u5728\u63D0\u4EA4\u66F4\u6539..",2e4),p.abrupt("return",new Promise(function(c){(0,u.request)("/api/storage",{method:"put",data:C}).then(function(a){var P;if(m.ZP.destroy(),(a==null||(P=a.data)===null||P===void 0?void 0:P.isLogin)==!1){m.ZP.warning("\u767B\u5F55\u5931\u6548\uFF01",2);var K=new URL(window.location.href).searchParams,j=K.get("redirect");window.location.pathname!=="/user/login"&&!j&&u.history.replace({pathname:"/user/login"});return}a!=null&&a.success?f&&m.ZP.success(f,1):R&&m.ZP.warning("\u63D0\u4EA4\u5931\u8D25\uFF01",2),c(a)})}));case 5:case"end":return p.stop()}},g)}));return function(C){return b.apply(this,arguments)}}();r.Z=B}}]); diff --git a/core/admin/p__Plugin__Share__index.688ea155.async.js b/core/admin/p__Plugin__Share__index.688ea155.async.js new file mode 100644 index 0000000..405b735 --- /dev/null +++ b/core/admin/p__Plugin__Share__index.688ea155.async.js @@ -0,0 +1,2 @@ +"use strict";(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[96],{83187:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){var _Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(54689),_Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0__),_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(81308),_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(48989),antd__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(79112),lodash__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(32699),lodash__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(lodash__WEBPACK_IMPORTED_MODULE_1__),react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(50959),_submit__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(87474),_umijs_max__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(86195),react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(11527);__webpack_exports__.Z=function(props){for(var _props$data$script,content=(_props$data$script=props.data.script)!==null&&_props$data$script!==void 0?_props$data$script:props.editorRef.current?props.editorRef.current.getValue().replace(/\r\n/g,` +`):"",formRef=(0,react__WEBPACK_IMPORTED_MODULE_2__.useRef)(),result=[],keys=[],_i=0,_arr=[/@form\s+({[^*]+?})/g,/Form\(([\s\S]+?)\)/g];_i<_arr.length;_i++){var pattern=_arr[_i],matches=content.matchAll(pattern),_iterator=_Users_cdle_Desktop_sillyPage_node_modules_pnpm_babel_runtime_7_21_0_node_modules_babel_runtime_helpers_createForOfIteratorHelper_js__WEBPACK_IMPORTED_MODULE_0___default()(matches),_step;try{var _loop=function _loop(){var match=_step.value;try{var _a=function(r){for(var e in r)r[e].dataIndex&&(r[e].key=r[e].dataIndex),r[e].key&&keys.push(r[e].key),r[e].required&&!r[e].formItemProps&&(r[e].formItemProps={rules:[{required:!0,message:"\u6B64\u9879\u4E3A\u5FC5\u586B\u9879"}]}),r[e].columns&&(r[e].columns=_a(r[e].columns));return r},formObject=eval("(".concat(match[1],")"));(0,lodash__WEBPACK_IMPORTED_MODULE_1__.isArray)(formObject)||(formObject=[formObject]),result=result.concat(formObject),keys=[],result=_a(result)}catch(l){console.log("form\u8868\u5355\u89E3\u6790\u9519\u8BEF",l)}};for(_iterator.s();!(_step=_iterator.n()).done;)_loop()}catch(l){_iterator.e(l)}finally{_iterator.f()}}return(0,react__WEBPACK_IMPORTED_MODULE_2__.useEffect)(function(){(0,_umijs_max__WEBPACK_IMPORTED_MODULE_4__.request)("/api/storage",{params:{keys:keys.join(",")}}).then(function(l){if(l&&l.data){var r;for(var e in l.data)l.data[e]=="false"&&(l.data[e]=!1),l.data[e]==""&&delete l.data[e];(r=formRef.current)===null||r===void 0||r.setFieldsValue(l.data)}})}),(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(antd__WEBPACK_IMPORTED_MODULE_6__.Z,{open:props.open,onCancel:props.onCancel,onOk:function l(){var r,e=formRef==null||(r=formRef.current)===null||r===void 0?void 0:r.getFieldsValue();(0,_submit__WEBPACK_IMPORTED_MODULE_3__.Z)(e).finally(function(){props.onCancel()})},children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_7__.A,{formRef,submitter:!1,children:(0,react_jsx_runtime__WEBPACK_IMPORTED_MODULE_5__.jsx)(_ant_design_pro_components__WEBPACK_IMPORTED_MODULE_8__.Z,{layoutType:"Embed",columns:result})})})}},26931:function(l,r,e){e.r(r);var I=e(25359),m=e.n(I),y=e(49811),h=e.n(y),E=e(54306),u=e.n(E),K=e(83187),b=e(87474),g=e(54572),C=e(12472),R=e(55147),f=e(86195),A=e(44901),t=e(68243),c=e(4050),p=e(21362),d=e(50959),a=e(11527),P="";r.default=function(){var T=(0,d.useState)([]),U=u()(T,2),B=U[0],L=U[1],q=(0,f.useModel)("@@initialState"),ee=q.refresh,_e=(0,d.useState)(""),w=u()(_e,2),W=w[0],V=w[1],ae=(0,d.useState)("tab1"),J=u()(ae,2),M=J[0],re=J[1],ne=(0,d.useState)(0),Y=u()(ne,2),k=Y[0],Z=Y[1],te=(0,d.useState)(0),N=u()(te,2),S=N[0],x=N[1],se=(0,d.useState)(0),Q=u()(se,2),F=Q[0],z=Q[1],le=(0,d.useState)(""),X=u()(le,2),oe=X[0],ie=X[1],$=(0,d.useRef)(),G=function(i){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return(0,a.jsx)(A.Z,{count:i,style:{marginBlockStart:-2,marginInlineStart:4,color:_?"#1890FF":"#999",backgroundColor:_?"#E6F7FF":"#eee"}})};return(0,a.jsxs)(C._z,{children:[W!=""&&(0,a.jsx)(K.Z,{data:{script:W},open:W,onCancel:function(){V("")}}),(0,a.jsx)(R.Rs,{actionRef:$,toolbar:{menu:{activeKey:M,items:[{key:"tab1",label:(0,a.jsxs)("span",{children:["\u5DF2\u5B89\u88C5",G(k,M==="tab1")]})},{key:"tab2",label:(0,a.jsxs)("span",{children:["\u672A\u5B89\u88C5",G(S,M==="tab2")]})},{key:"tab3",label:(0,a.jsxs)("span",{children:["\u53EF\u5347\u7EA7",G(F,M==="tab3")]})}],onChange:function(i){var _;re(i),(_=$.current)===null||_===void 0||_.reload()}},search:{onSearch:function(i){var _;(_=$.current)===null||_===void 0||_.reload(),ie(i)}}},search:{filterType:"light"},rowKey:"name",dataSource:B,request:h()(m()().mark(function D(){var i,_=arguments;return m()().wrap(function(s){for(;;)switch(s.prev=s.next){case 0:return i=_.length>0&&_[0]!==void 0?_[0]:{},i.activeKey=M,i.keyword=oe,P!=""?i.init=P:P="false",s.abrupt("return",(0,f.request)("/api/plugins/list.json",{params:i}).then(function(n){return Z(n.tab1),x(n.tab2),z(n.tab3),n}));case 5:case"end":return s.stop()}},D)})),onDataSourceChange:L,pagination:{pageSize:7},showActions:"hover",metas:{avatar:{dataIndex:"icon",search:!1},title:{dataIndex:"title",search:!1},description:{dataIndex:"description",search:!1},subTitle:{render:function(i,_){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)(c.Z,{color:_.identified?"gold":"grey",children:_.organization==""?"\u672A\u8BA4\u8BC1\u6765\u6E90":_.organization},_.organization)}),(0,a.jsx)(t.Z,{size:0,children:(0,a.jsxs)(c.Z,{color:"cyan",children:[_.downloads," \u4E0B\u8F7D"]},"downloads")}),_.module&&(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)(c.Z,{color:"purple",children:"\u6A21\u5757"},"module")}),_.web&&(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)(c.Z,{color:"brown",children:"\u7F51\u7EDC\u670D\u52A1"},"web")}),_.encrypt&&(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)(c.Z,{color:"orange",children:"\u52A0\u5BC6\u811A\u672C"},"encrypt")}),_.status==1&&(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)("a",{children:(0,a.jsx)(c.Z,{color:"pink",onClick:function(){var s={};s["plugins."+_.id]="install",(0,b.Z)(s,"\u6B63\u5728\u5904\u7406\u8BF7\u6C42...","","").then(function(n){var O=n==null?void 0:n.errors["plugins."+_.id];if(O){p.ZP.warning(O,2);return}else z(F-1),p.ZP.info("\u5904\u7406\u6210\u529F\u3002",1);L(B.map(function(v){return v.id==_.id&&(v.status=2),v}))})},children:"\u5347\u7EA7"},_.status)})}),_.has_form&&(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)("a",{children:(0,a.jsx)(c.Z,{color:"blue",onClick:function(){var s="plugins."+_.id;(0,f.request)("/api/storage",{params:{keys:[s].join(",")}}).then(function(n){n!=null&&n.data&&n.data[s]&&V(n.data[s])})},children:"\u914D\u7F6E"},_.status)})}),_.running&&(0,a.jsx)(t.Z,{size:0,children:(0,a.jsx)(c.Z,{icon:(0,a.jsx)(g.Z,{spin:!0}),color:"processing",children:"\u8FD0\u884C\u4E2D"},"running")})]})},search:!1},actions:{render:function(i,_){return[(0,a.jsx)("a",{onClick:h()(m()().mark(function j(){var s,n,O,v;return m()().wrap(function(o){for(;;)switch(o.prev=o.next){case 0:s=0,n={},o.t0=_.status,o.next=o.t0===0?5:o.t0===6?8:o.t0===1||o.t0===2?10:13;break;case 5:return s=2,n["plugins."+_.id]="install",o.abrupt("break",13);case 8:return o.abrupt("return");case 10:return s=0,n["plugins."+_.id]="",o.abrupt("break",13);case 13:return o.next=15,(0,b.Z)(n,"\u6B63\u5728\u5904\u7406\u8BF7\u6C42...","","");case 15:if(O=o.sent,v=O==null?void 0:O.errors["plugins."+_.id],!v){o.next=22;break}return p.ZP.warning(v,2),o.abrupt("return");case 22:s==0?(Z(k-1),x(S+1),_.status==1&&z(F-1)):(Z(k+1),x(S-1)),p.ZP.info("\u5904\u7406\u6210\u529F\u3002",1);case 24:L(B.map(function(H){return H.id==_.id&&(H.status=s),H})),ee();case 26:case"end":return o.stop()}},j)})),target:"_blank",rel:"noopener noreferrer",children:_.status==0?"\u5B89\u88C5":_.status==6?"\u539F\u521B":"\u5378\u8F7D"},"link")]},search:!1}}})]})}},87474:function(l,r,e){var I=e(25359),m=e.n(I),y=e(49811),h=e.n(y),E=e(21362),u=e(86195),K=function(){var b=h()(m()().mark(function g(C){var R,f,A,t=arguments;return m()().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return R=t.length>1&&t[1]!==void 0?t[1]:"\u6B63\u5728\u63D0\u4EA4\u66F4\u6539..",f=t.length>2&&t[2]!==void 0?t[2]:"\u63D0\u4EA4\u6210\u529F\uFF01",A=t.length>3&&t[3]!==void 0?t[3]:"\u63D0\u4EA4\u5931\u8D25",R&&E.ZP.loading("\u6B63\u5728\u63D0\u4EA4\u66F4\u6539..",2e4),p.abrupt("return",new Promise(function(d){(0,u.request)("/api/storage",{method:"put",data:C}).then(function(a){var P;if(E.ZP.destroy(),(a==null||(P=a.data)===null||P===void 0?void 0:P.isLogin)==!1){E.ZP.warning("\u767B\u5F55\u5931\u6548\uFF01",2);var T=new URL(window.location.href).searchParams,U=T.get("redirect");window.location.pathname!=="/user/login"&&!U&&u.history.replace({pathname:"/user/login"});return}a!=null&&a.success?f&&E.ZP.success(f,1):A&&E.ZP.warning("\u63D0\u4EA4\u5931\u8D25\uFF01",2),d(a)})}));case 5:case"end":return p.stop()}},g)}));return function(C){return b.apply(this,arguments)}}();r.Z=K}}]); diff --git a/core/admin/umi.99c0f090.js b/core/admin/umi.7c524e1b.js similarity index 99% rename from core/admin/umi.99c0f090.js rename to core/admin/umi.7c524e1b.js index dc09fe4..4bf151a 100644 --- a/core/admin/umi.99c0f090.js +++ b/core/admin/umi.7c524e1b.js @@ -287,6 +287,6 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(c){return n(c)||i(c)||(0,l.Z)(c)||r()}},34242:function(h,y,e){"use strict";e.d(y,{Z:function(){return i}});var o=e(82604);function n(l,r){if((0,o.Z)(l)!=="object"||l===null)return l;var f=l[Symbol.toPrimitive];if(f!==void 0){var c=f.call(l,r||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(l)}function i(l){var r=n(l,"string");return(0,o.Z)(r)==="symbol"?r:String(r)}},82604:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(n){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},o(n)}},7979:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(45725);function n(i,l){if(i){if(typeof i=="string")return(0,o.Z)(i,l);var r=Object.prototype.toString.call(i).slice(8,-1);if(r==="Object"&&i.constructor&&(r=i.constructor.name),r==="Map"||r==="Set")return Array.from(i);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(i,l)}}},8681:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(n,i){(i==null||i>n.length)&&(i=n.length);for(var l=0,r=new Array(i);l=i.length?{done:!0}:{done:!1,value:i[f++]}},e:function(g){throw g},f:c}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var u=!0,d=!1,m;return{s:function(){r=r.call(i)},n:function(){var g=r.next();return u=g.done,g},e:function(g){d=!0,m=g},f:function(){try{!u&&r.return!=null&&r.return()}finally{if(d)throw m}}}}},76614:function(h,y,e){"use strict";e.d(y,{Z:function(){return f}});function o(c){return o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(d){return d.__proto__||Object.getPrototypeOf(d)},o(c)}function n(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(c){return!1}}var i=e(26143),l=e(60790);function r(c,u){if(u&&((0,i.Z)(u)==="object"||typeof u=="function"))return u;if(u!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return(0,l.Z)(c)}function f(c){var u=n();return function(){var m=o(c),b;if(u){var g=o(this).constructor;b=Reflect.construct(m,arguments,g)}else b=m.apply(this,arguments);return r(this,b)}}},24572:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(1536);function n(i,l,r){return l=(0,o.Z)(l),l in i?Object.defineProperty(i,l,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[l]=r,i}},51163:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(){return o=Object.assign?Object.assign.bind():function(n){for(var i=1;i=0)&&(r[c]=i[c]);return r}function n(i,l){if(i==null)return{};var r=o(i,l),f,c;if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(i);for(c=0;c=0)&&Object.prototype.propertyIsEnumerable.call(i,f)&&(r[f]=i[f])}return r}},99932:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(26143);function n(){"use strict";n=function(){return i};var i={},l=Object.prototype,r=l.hasOwnProperty,f=Object.defineProperty||function(F,D,w){F[D]=w.value},c=typeof Symbol=="function"?Symbol:{},u=c.iterator||"@@iterator",d=c.asyncIterator||"@@asyncIterator",m=c.toStringTag||"@@toStringTag";function b(F,D,w){return Object.defineProperty(F,D,{value:w,enumerable:!0,configurable:!0,writable:!0}),F[D]}try{b({},"")}catch(F){b=function(w,k,U){return w[k]=U}}function g(F,D,w,k){var U=D&&D.prototype instanceof M?D:M,Z=Object.create(U.prototype),J=new ne(k||[]);return f(Z,"_invoke",{value:V(F,w,J)}),Z}function x(F,D,w){try{return{type:"normal",arg:F.call(D,w)}}catch(k){return{type:"throw",arg:k}}}i.wrap=g;var T={};function M(){}function L(){}function $(){}var O={};b(O,u,function(){return this});var N=Object.getPrototypeOf,j=N&&N(N(oe([])));j&&j!==l&&r.call(j,u)&&(O=j);var I=$.prototype=M.prototype=Object.create(O);function R(F){["next","throw","return"].forEach(function(D){b(F,D,function(w){return this._invoke(D,w)})})}function A(F,D){function w(U,Z,J,ue){var Fe=x(F[U],F,Z);if(Fe.type!=="throw"){var be=Fe.arg,we=be.value;return we&&(0,o.Z)(we)=="object"&&r.call(we,"__await")?D.resolve(we.__await).then(function(De){w("next",De,J,ue)},function(De){w("throw",De,J,ue)}):D.resolve(we).then(function(De){be.value=De,J(be)},function(De){return w("throw",De,J,ue)})}ue(Fe.arg)}var k;f(this,"_invoke",{value:function(Z,J){function ue(){return new D(function(Fe,be){w(Z,J,Fe,be)})}return k=k?k.then(ue,ue):ue()}})}function V(F,D,w){var k="suspendedStart";return function(U,Z){if(k==="executing")throw new Error("Generator is already running");if(k==="completed"){if(U==="throw")throw Z;return _()}for(w.method=U,w.arg=Z;;){var J=w.delegate;if(J){var ue=H(J,w);if(ue){if(ue===T)continue;return ue}}if(w.method==="next")w.sent=w._sent=w.arg;else if(w.method==="throw"){if(k==="suspendedStart")throw k="completed",w.arg;w.dispatchException(w.arg)}else w.method==="return"&&w.abrupt("return",w.arg);k="executing";var Fe=x(F,D,w);if(Fe.type==="normal"){if(k=w.done?"completed":"suspendedYield",Fe.arg===T)continue;return{value:Fe.arg,done:w.done}}Fe.type==="throw"&&(k="completed",w.method="throw",w.arg=Fe.arg)}}}function H(F,D){var w=D.method,k=F.iterator[w];if(k===void 0)return D.delegate=null,w==="throw"&&F.iterator.return&&(D.method="return",D.arg=void 0,H(F,D),D.method==="throw")||w!=="return"&&(D.method="throw",D.arg=new TypeError("The iterator does not provide a '"+w+"' method")),T;var U=x(k,F.iterator,D.arg);if(U.type==="throw")return D.method="throw",D.arg=U.arg,D.delegate=null,T;var Z=U.arg;return Z?Z.done?(D[F.resultName]=Z.value,D.next=F.nextLoc,D.method!=="return"&&(D.method="next",D.arg=void 0),D.delegate=null,T):Z:(D.method="throw",D.arg=new TypeError("iterator result is not an object"),D.delegate=null,T)}function G(F){var D={tryLoc:F[0]};1 in F&&(D.catchLoc=F[1]),2 in F&&(D.finallyLoc=F[2],D.afterLoc=F[3]),this.tryEntries.push(D)}function K(F){var D=F.completion||{};D.type="normal",delete D.arg,F.completion=D}function ne(F){this.tryEntries=[{tryLoc:"root"}],F.forEach(G,this),this.reset(!0)}function oe(F){if(F){var D=F[u];if(D)return D.call(F);if(typeof F.next=="function")return F;if(!isNaN(F.length)){var w=-1,k=function U(){for(;++w=0;--U){var Z=this.tryEntries[U],J=Z.completion;if(Z.tryLoc==="root")return k("end");if(Z.tryLoc<=this.prev){var ue=r.call(Z,"catchLoc"),Fe=r.call(Z,"finallyLoc");if(ue&&Fe){if(this.prev=0;--k){var U=this.tryEntries[k];if(U.tryLoc<=this.prev&&r.call(U,"finallyLoc")&&this.prev=0;--w){var k=this.tryEntries[w];if(k.finallyLoc===D)return this.complete(k.completion,k.afterLoc),K(k),T}},catch:function(D){for(var w=this.tryEntries.length-1;w>=0;--w){var k=this.tryEntries[w];if(k.tryLoc===D){var U=k.completion;if(U.type==="throw"){var Z=U.arg;K(k)}return Z}}throw new Error("illegal catch attempt")},delegateYield:function(D,w,k){return this.delegate={iterator:oe(D),resultName:w,nextLoc:k},this.method==="next"&&(this.arg=void 0),T}},i}},91600:function(h,y,e){"use strict";e.d(y,{Z:function(){return r}});var o=e(20533);function n(f,c){var u=f==null?null:typeof Symbol!="undefined"&&f[Symbol.iterator]||f["@@iterator"];if(u!=null){var d,m,b,g,x=[],T=!0,M=!1;try{if(b=(u=u.call(f)).next,c===0){if(Object(u)!==u)return;T=!1}else for(;!(T=(d=b.call(u)).done)&&(x.push(d.value),x.length!==c);T=!0);}catch(L){M=!0,m=L}finally{try{if(!T&&u.return!=null&&(g=u.return(),Object(g)!==g))return}finally{if(M)throw m}}return x}}var i=e(22266),l=e(71885);function r(f,c){return(0,o.Z)(f)||n(f,c)||(0,i.Z)(f,c)||(0,l.Z)()}},9942:function(h,y,e){"use strict";e.d(y,{Z:function(){return r}});var o=e(20533),n=e(52987),i=e(22266),l=e(71885);function r(f){return(0,o.Z)(f)||(0,n.Z)(f)||(0,i.Z)(f)||(0,l.Z)()}},49544:function(h,y,e){"use strict";e.d(y,{Z:function(){return f}});var o=e(8681);function n(c){if(Array.isArray(c))return(0,o.Z)(c)}var i=e(52987),l=e(22266);function r(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function f(c){return n(c)||(0,i.Z)(c)||(0,l.Z)(c)||r()}},1536:function(h,y,e){"use strict";e.d(y,{Z:function(){return i}});var o=e(26143);function n(l,r){if((0,o.Z)(l)!=="object"||l===null)return l;var f=l[Symbol.toPrimitive];if(f!==void 0){var c=f.call(l,r||"default");if((0,o.Z)(c)!=="object")return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return(r==="string"?String:Number)(l)}function i(l){var r=n(l,"string");return(0,o.Z)(r)==="symbol"?r:String(r)}},26143:function(h,y,e){"use strict";e.d(y,{Z:function(){return o}});function o(n){return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},o(n)}},22266:function(h,y,e){"use strict";e.d(y,{Z:function(){return n}});var o=e(8681);function n(i,l){if(i){if(typeof i=="string")return(0,o.Z)(i,l);var r=Object.prototype.toString.call(i).slice(8,-1);if(r==="Object"&&i.constructor&&(r=i.constructor.name),r==="Map"||r==="Set")return Array.from(i);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return(0,o.Z)(i,l)}}},71448:function(h,y,e){"use strict";e.d(y,{Ab:function(){return l},Fr:function(){return r},G$:function(){return i},K$:function(){return d},MS:function(){return o},h5:function(){return f},lK:function(){return M},uj:function(){return n}});var o="-ms-",n="-moz-",i="-webkit-",l="comm",r="rule",f="decl",c="@page",u="@media",d="@import",m="@charset",b="@viewport",g="@supports",x="@document",T="@namespace",M="@keyframes",L="@font-face",$="@counter-style",O="@font-feature-values"},42727:function(h,y,e){"use strict";e.d(y,{MY:function(){return l}});var o=e(71448),n=e(22697),i=e(97765);function l(d){return(0,i.cE)(r("",null,null,null,[""],d=(0,i.un)(d),0,[0],d))}function r(d,m,b,g,x,T,M,L,$){for(var O=0,N=0,j=M,I=0,R=0,A=0,V=1,H=1,G=1,K=0,ne="",oe=x,_=T,F=g,D=ne;H;)switch(A=K,K=(0,i.lp)()){case 40:if(A!=108&&(0,n.uO)(D,j-1)==58){(0,n.Cw)(D+=(0,n.gx)((0,i.iF)(K),"&","&\f"),"&\f")!=-1&&(G=-1);break}case 34:case 39:case 91:D+=(0,i.iF)(K);break;case 9:case 10:case 13:case 32:D+=(0,i.Qb)(A);break;case 92:D+=(0,i.kq)((0,i.Ud)()-1,7);continue;case 47:switch((0,i.fj)()){case 42:case 47:(0,n.R3)(c((0,i.q6)((0,i.lp)(),(0,i.Ud)()),m,b),$);break;default:D+="/"}break;case 123*V:L[O++]=(0,n.to)(D)*G;case 125*V:case 59:case 0:switch(K){case 0:case 125:H=0;case 59+N:R>0&&(0,n.to)(D)-j&&(0,n.R3)(R>32?u(D+";",g,b,j-1):u((0,n.gx)(D," ","")+";",g,b,j-2),$);break;case 59:D+=";";default:if((0,n.R3)(F=f(D,m,b,O,N,x,L,ne,oe=[],_=[],j),T),K===123)if(N===0)r(D,m,F,F,oe,T,j,L,_);else switch(I===99&&(0,n.uO)(D,3)===110?100:I){case 100:case 109:case 115:r(d,F,F,g&&(0,n.R3)(f(d,F,F,0,0,x,L,ne,x,oe=[],j),_),x,_,j,L,g?oe:_);break;default:r(D,F,F,F,[""],_,0,L,_)}}O=N=R=0,V=G=1,ne=D="",j=M;break;case 58:j=1+(0,n.to)(D),R=A;default:if(V<1){if(K==123)--V;else if(K==125&&V++==0&&(0,i.mp)()==125)continue}switch(D+=(0,n.Dp)(K),K*V){case 38:G=N>0?1:(D+="\f",-1);break;case 44:L[O++]=((0,n.to)(D)-1)*G,G=1;break;case 64:(0,i.fj)()===45&&(D+=(0,i.iF)((0,i.lp)())),I=(0,i.fj)(),N=j=(0,n.to)(ne=D+=(0,i.QU)((0,i.Ud)())),K++;break;case 45:A===45&&(0,n.to)(D)==2&&(V=0)}}return T}function f(d,m,b,g,x,T,M,L,$,O,N){for(var j=x-1,I=x===0?T:[""],R=(0,n.Ei)(I),A=0,V=0,H=0;A0?I[G]+" "+K:(0,n.gx)(K,/&\f/g,I[G])))&&($[H++]=ne);return(0,i.dH)(d,m,b,x===0?o.Fr:L,$,O,N)}function c(d,m,b){return(0,i.dH)(d,m,b,o.Ab,(0,n.Dp)((0,i.Tb)()),(0,n.tb)(d,2,-2),0)}function u(d,m,b,g){return(0,i.dH)(d,m,b,o.h5,(0,n.tb)(d,0,g),(0,n.tb)(d,g+1,-1),g)}},90137:function(h,y,e){"use strict";e.d(y,{P:function(){return l},q:function(){return i}});var o=e(71448),n=e(22697);function i(r,f){for(var c="",u=(0,n.Ei)(r),d=0;d0?(0,o.uO)(c,--r):0,i--,f===10&&(i=1,n--),f}function g(){return f=r2||L(f)>3?"":" "}function R(K){for(;g();)switch(L(f)){case 0:append(G(r-1),K);break;case 2:append(N(f),K);break;default:append(from(f),K)}return K}function A(K,ne){for(;--ne&&g()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return M(K,T()+(ne<6&&x()==32&&g()==32))}function V(K){for(;g();)switch(f){case K:return r;case 34:case 39:K!==34&&K!==39&&V(f);break;case 40:K===41&&V(K);break;case 92:g();break}return r}function H(K,ne){for(;g()&&K+f!==57;)if(K+f===84&&x()===47)break;return"/*"+M(ne,r-1)+"*"+(0,o.Dp)(K===47?K:g())}function G(K){for(;!L(x());)g();return M(K,r)}},22697:function(h,y,e){"use strict";e.d(y,{$e:function(){return T},Cw:function(){return u},Dp:function(){return n},EQ:function(){return f},Ei:function(){return g},R3:function(){return x},Wn:function(){return o},f0:function(){return i},fy:function(){return r},gx:function(){return c},tb:function(){return m},to:function(){return b},uO:function(){return d},vp:function(){return l}});var o=Math.abs,n=String.fromCharCode,i=Object.assign;function l(M,L){return d(M,0)^45?(((L<<2^d(M,0))<<2^d(M,1))<<2^d(M,2))<<2^d(M,3):0}function r(M){return M.trim()}function f(M,L){return(M=L.exec(M))?M[0]:M}function c(M,L,$){return M.replace(L,$)}function u(M,L){return M.indexOf(L)}function d(M,L){return M.charCodeAt(L)|0}function m(M,L,$){return M.slice(L,$)}function b(M){return M.length}function g(M){return M.length}function x(M,L){return L.push(M),M}function T(M,L){return M.map(L).join("")}},94083:function(h,y,e){"use strict";e.d(y,{J$:function(){return Je},ZP:function(){return _e},kY:function(){return Q}});var o=e(50959),n=e(4322);const i=new WeakMap,l={},r={},f=()=>{},c=f(),u=Object,d=Ze=>Ze===c,m=Ze=>typeof Ze=="function",b=(Ze,vt)=>Kp(Kp({},Ze),vt),g="undefined",x=typeof window!=g,T=typeof document!=g,M=()=>x&&typeof window.requestAnimationFrame!=g,L=(Ze,vt)=>{const wt=i.get(Ze);return[()=>Ze.get(vt)||l,pe=>{if(!d(vt)){const We=Ze.get(vt);vt in r||(r[vt]=We),wt[5](vt,b(We,pe),We||l)}},wt[6],()=>!d(vt)&&vt in r?r[vt]:Ze.get(vt)||l]},$=new WeakMap;let O=0;const N=Ze=>{const vt=typeof Ze,wt=Ze&&Ze.constructor,pe=wt==Date;let We,Ke;if(u(Ze)===Ze&&!pe&&wt!=RegExp){if(We=$.get(Ze),We)return We;if(We=++O+"~",$.set(Ze,We),wt==Array){for(We="@",Ke=0;Kej,[R,A]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[f,f],V=()=>{const Ze=T&&document.visibilityState;return d(Ze)||Ze!=="hidden"},H=Ze=>(T&&document.addEventListener("visibilitychange",Ze),R("focus",Ze),()=>{T&&document.removeEventListener("visibilitychange",Ze),A("focus",Ze)}),G=Ze=>{const vt=()=>{j=!0,Ze()},wt=()=>{j=!1};return R("online",vt),R("offline",wt),()=>{A("online",vt),A("offline",wt)}},K={isOnline:I,isVisible:V},ne={initFocus:H,initReconnect:G},oe=!o.useId,_=!x||"Deno"in window,F=Ze=>M()?window.requestAnimationFrame(Ze):setTimeout(Ze,1),D=_?o.useEffect:o.useLayoutEffect,w=typeof navigator!="undefined"&&navigator.connection,k=!_&&w&&(["slow-2g","2g"].includes(w.effectiveType)||w.saveData),U=Ze=>{if(m(Ze))try{Ze=Ze()}catch(wt){Ze=""}const vt=Ze;return Ze=typeof Ze=="string"?Ze:(Array.isArray(Ze)?Ze.length:Ze)?N(Ze):"",[Ze,vt]};let Z=0;const J=()=>++Z,ue=0,Fe=1,be=2;var we={__proto__:null,FOCUS_EVENT:ue,RECONNECT_EVENT:Fe,MUTATE_EVENT:be};function De(...Ze){return Dv(this,null,function*(){const[vt,wt,pe,We]=Ze,Ke=b({populateCache:!0,throwOnError:!0},typeof We=="boolean"?{revalidate:We}:We||{});let mt=Ke.populateCache;const Ot=Ke.rollbackOnError;let Ut=Ke.optimisticData;const cn=Ke.revalidate!==!1,Ne=nt=>typeof Ot=="function"?Ot(nt):Ot!==!1,Me=Ke.throwOnError;if(m(wt)){const nt=wt,Mt=[],Lt=vt.keys();for(let Ct=Lt.next();!Ct.done;Ct=Lt.next()){const fn=Ct.value;!fn.startsWith("$inf$")&&nt(vt.get(fn)._k)&&Mt.push(fn)}return Promise.all(Mt.map(at))}return at(wt);function at(nt){return Dv(this,null,function*(){const[Mt]=U(nt);if(!Mt)return;const[Lt,Ct]=L(vt,Mt),[fn,zn,Mn]=i.get(vt),Tn=fn[Mt],or=()=>cn&&(delete Mn[Mt],Tn&&Tn[0])?Tn[0](be).then(()=>Lt().data):Lt().data;if(Ze.length<3)return or();let Qn=pe,In;const Dn=J();zn[Mt]=[Dn,0];const $t=!d(Ut),kt=Lt(),jt=kt.data,Jt=kt._c,pn=d(Jt)?jt:Jt;if($t&&(Ut=m(Ut)?Ut(pn):Ut,Ct({data:Ut,_c:pn})),m(Qn))try{Qn=Qn(pn)}catch(bn){In=bn}if(Qn&&m(Qn.then))if(Qn=yield Qn.catch(bn=>{In=bn}),Dn!==zn[Mt][0]){if(In)throw In;return Qn}else In&&$t&&Ne(In)&&(mt=!0,Qn=pn,Ct({data:Qn,_c:c}));mt&&(In||(m(mt)&&(Qn=mt(Qn,pn)),Ct({data:Qn,_c:c}))),zn[Mt][1]=J();const Fn=yield or();if(Ct({_c:c}),In){if(Me)throw In;return}return mt?Fn:Qn})}})}const He=(Ze,vt)=>{for(const wt in Ze)Ze[wt][0]&&Ze[wt][0](vt)},Ve=(Ze,vt)=>{if(!i.has(Ze)){const wt=b(ne,vt),pe={},We=De.bind(c,Ze);let Ke=f;const mt={},Ot=(Ne,Me)=>{const at=mt[Ne]||[];return mt[Ne]=at,at.push(Me),()=>at.splice(at.indexOf(Me),1)},Ut=(Ne,Me,at)=>{Ze.set(Ne,Me);const nt=mt[Ne];if(nt)for(let Mt=nt.length;Mt--;)nt[Mt](Me,at)},cn=()=>{if(!i.has(Ze)&&(i.set(Ze,[pe,{},{},{},We,Ut,Ot]),!_)){const Ne=wt.initFocus(setTimeout.bind(c,He.bind(c,pe,ue))),Me=wt.initReconnect(setTimeout.bind(c,He.bind(c,pe,Fe)));Ke=()=>{Ne&&Ne(),Me&&Me(),i.delete(Ze)}}};return cn(),[Ze,We,cn,Ke]}return[Ze,i.get(Ze)[4]]},Ie=(Ze,vt,wt,pe,We)=>{const Ke=wt.errorRetryCount,mt=We.retryCount,Ot=~~((Math.random()+.5)*(1<<(mt<8?mt:8)))*wt.errorRetryInterval;!d(Ke)&&mt>Ke||setTimeout(pe,Ot,We)},Le=(Ze,vt)=>N(Ze)==N(vt),[dt,St]=Ve(new Map),ht=b({onLoadingSlow:f,onSuccess:f,onError:f,onErrorRetry:Ie,onDiscarded:f,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:k?5e3:3e3,compare:Le,isPaused:()=>!1,cache:dt,mutate:St,fallback:{}},K),pt=(Ze,vt)=>{const wt=b(Ze,vt);if(vt){const{use:pe,fallback:We}=Ze,{use:Ke,fallback:mt}=vt;pe&&Ke&&(wt.use=pe.concat(Ke)),We&&mt&&(wt.fallback=b(We,mt))}return wt},Rt=(0,o.createContext)({}),q=Ze=>{const{value:vt}=Ze,wt=(0,o.useContext)(Rt),pe=m(vt),We=(0,o.useMemo)(()=>pe?vt(wt):vt,[pe,wt,vt]),Ke=(0,o.useMemo)(()=>pe?We:pt(wt,We),[pe,wt,We]),mt=We&&We.provider,[Ot]=(0,o.useState)(()=>mt?Ve(mt(Ke.cache||dt),We):c);return Ot&&(Ke.cache=Ot[0],Ke.mutate=Ot[1]),D(()=>{if(Ot)return Ot[2]&&Ot[2](),Ot[3]},[]),(0,o.createElement)(Rt.Provider,b(Ze,{value:Ke}))},B=x&&window.__SWR_DEVTOOLS_USE__,S=B?window.__SWR_DEVTOOLS_USE__:[],C=()=>{B&&(window.__SWR_DEVTOOLS_REACT__=o)},Y=Ze=>m(Ze[1])?[Ze[0],Ze[1],Ze[2]||{}]:[Ze[0],null,(Ze[1]===null?Ze[2]:Ze[1])||{}],Q=()=>b(ht,(0,o.useContext)(Rt)),se=(Ze,vt)=>{const wt=U(Ze)[0],[,,,pe]=i.get(dt);if(pe[wt])return pe[wt];const We=vt(Ze);return pe[wt]=We,We},ye=Ze=>(vt,wt,pe)=>Ze(vt,wt&&((...Ke)=>{const mt=U(vt)[0],[,,,Ot]=i.get(dt),Ut=Ot[mt];return Ut?(delete Ot[mt],Ut):wt(...Ke)}),pe),re=S.concat(ye),he=Ze=>function(...wt){const pe=Q(),[We,Ke,mt]=Y(wt),Ot=pt(pe,mt);let Ut=Ze;const{use:cn}=Ot,Ne=(cn||[]).concat(re);for(let Me=Ne.length;Me--;)Ut=Ne[Me](Ut);return Ut(We,Ke||Ot.fetcher||null,Ot)},ot=Ze=>{const vt=useState({})[1],wt=useRef(!1),pe=useRef(Ze),We=useRef({data:!1,error:!1,isValidating:!1}),Ke=useCallback(mt=>{let Ot=!1;const Ut=pe.current;for(const cn in mt){const Ne=cn;Ut[Ne]!==mt[Ne]&&(Ut[Ne]=mt[Ne],We.current[Ne]&&(Ot=!0))}Ot&&!wt.current&&(oe?vt({}):React.startTransition(()=>vt({})))},[]);return D(()=>(wt.current=!1,()=>{wt.current=!0})),[pe,We.current,Ke]},Ue=(Ze,vt,wt)=>{const pe=vt[Ze]||(vt[Ze]=[]);return pe.push(wt),()=>{const We=pe.indexOf(wt);We>=0&&(pe[We]=pe[pe.length-1],pe.pop())}},Se=(Ze,vt)=>(...wt)=>{const[pe,We,Ke]=Y(wt),mt=(Ke.use||[]).concat(vt);return Ze(pe,We,KC(Kp({},Ke),{use:mt}))};C();const tt={dedupe:!0},yt=(Ze,vt,wt)=>{const{cache:pe,compare:We,suspense:Ke,fallbackData:mt,revalidateOnMount:Ot,revalidateIfStale:Ut,refreshInterval:cn,refreshWhenHidden:Ne,refreshWhenOffline:Me,keepPreviousData:at}=wt,[nt,Mt,Lt]=i.get(pe),[Ct,fn]=U(Ze),zn=(0,o.useRef)(!1),Mn=(0,o.useRef)(!1),Tn=(0,o.useRef)(Ct),or=(0,o.useRef)(vt),Qn=(0,o.useRef)(wt),In=()=>Qn.current,Dn=()=>In().isVisible()&&In().isOnline(),[$t,kt,jt,Jt]=L(pe,Ct),pn=(0,o.useRef)({}).current,Fn=d(mt)?wt.fallback[Ct]:mt,bn=(_n,er)=>{let Tr=!0;for(const Ir in pn){const Sr=Ir;Sr==="data"?We(er[Sr],_n[Sr])||d(_n[Sr])&&We(er[Sr],qn)||(Tr=!1):er[Sr]!==_n[Sr]&&(Tr=!1)}return Tr},Zn=(0,o.useMemo)(()=>{const _n=(()=>!Ct||!vt?!1:d(Ot)?In().isPaused()||Ke?!1:d(Ut)?!0:Ut:Ot)(),er=Sr=>{const rt=b(Sr);return delete rt._k,_n?Kp({isValidating:!0,isLoading:!0},rt):rt};let Tr=er($t());const Ir=er(Jt());return[()=>{const Sr=er($t());return bn(Sr,Tr)?Tr:Tr=Sr},()=>Ir]},[pe,Ct]),Jn=(0,n.useSyncExternalStore)((0,o.useCallback)(_n=>jt(Ct,(er,Tr)=>{bn(Tr,er)||_n()}),[pe,Ct]),Zn[0],Zn[1]),sr=!zn.current,br=nt[Ct]&&nt[Ct].length>0,Or=Jn.data,ur=d(Or)?Fn:Or,cr=Jn.error,Pr=(0,o.useRef)(ur),qn=at?d(Or)?Pr.current:Or:ur,Sa=(()=>br&&!d(cr)?!1:sr&&!d(Ot)?Ot:In().isPaused()?!1:Ke?d(ur)?!1:Ut:d(ur)||Ut)(),ya=!!(Ct&&vt&&sr&&Sa),Pa=d(Jn.isValidating)?ya:Jn.isValidating,$a=d(Jn.isLoading)?ya:Jn.isLoading,fa=(0,o.useCallback)(_n=>Dv(this,null,function*(){const er=or.current;if(!Ct||!er||Mn.current||In().isPaused())return!1;let Tr,Ir,Sr=!0;const rt=_n||{},Xe=!Lt[Ct]||!rt.dedupe,ut=()=>oe?!Mn.current&&Ct===Tn.current&&zn.current:Ct===Tn.current,st={isValidating:!1,isLoading:!1},It=()=>{kt(st)},Ye=()=>{const le=Lt[Ct];le&&le[1]===Ir&&delete Lt[Ct]},me={isValidating:!0};d($t().data)&&(me.isLoading=!0);try{if(Xe&&(kt(me),wt.loadingTimeout&&d($t().data)&&setTimeout(()=>{Sr&&ut()&&In().onLoadingSlow(Ct,wt)},wt.loadingTimeout),Lt[Ct]=[er(fn),J()]),[Tr,Ir]=Lt[Ct],Tr=yield Tr,Xe&&setTimeout(Ye,wt.dedupingInterval),!Lt[Ct]||Lt[Ct][1]!==Ir)return Xe&&ut()&&In().onDiscarded(Ct),!1;st.error=c;const le=Mt[Ct];if(!d(le)&&(Ir<=le[0]||Ir<=le[1]||le[1]===0))return It(),Xe&&ut()&&In().onDiscarded(Ct),!1;const Ee=$t().data;st.data=We(Ee,Tr)?Ee:Tr,Xe&&ut()&&In().onSuccess(Tr,Ct,wt)}catch(le){Ye();const Ee=In(),{shouldRetryOnError:fe}=Ee;Ee.isPaused()||(st.error=le,Xe&&ut()&&(Ee.onError(le,Ct,Ee),(fe===!0||m(fe)&&fe(le))&&Dn()&&Ee.onErrorRetry(le,Ct,Ee,fa,{retryCount:(rt.retryCount||0)+1,dedupe:!0})))}return Sr=!1,It(),!0}),[Ct,pe]),tr=(0,o.useCallback)((..._n)=>De(pe,Tn.current,..._n),[]);if(D(()=>{or.current=vt,Qn.current=wt,d(Or)||(Pr.current=Or)}),D(()=>{if(!Ct)return;const _n=fa.bind(c,tt);let er=0;const Ir=Ue(Ct,nt,Sr=>{if(Sr==we.FOCUS_EVENT){const rt=Date.now();In().revalidateOnFocus&&rt>er&&Dn()&&(er=rt+In().focusThrottleInterval,_n())}else if(Sr==we.RECONNECT_EVENT)In().revalidateOnReconnect&&Dn()&&_n();else if(Sr==we.MUTATE_EVENT)return fa()});return Mn.current=!1,Tn.current=Ct,zn.current=!0,kt({_k:fn}),Sa&&(d(ur)||_?_n():F(_n)),()=>{Mn.current=!0,Ir()}},[Ct]),D(()=>{let _n;function er(){const Ir=m(cn)?cn(ur):cn;Ir&&_n!==-1&&(_n=setTimeout(Tr,Ir))}function Tr(){!$t().error&&(Ne||In().isVisible())&&(Me||In().isOnline())?fa(tt).then(er):er()}return er(),()=>{_n&&(clearTimeout(_n),_n=-1)}},[cn,Ne,Me,Ct]),(0,o.useDebugValue)(qn),Ke&&d(ur)&&Ct)throw!oe&&_?new Error("Fallback data is required when using suspense in SSR."):(or.current=vt,Qn.current=wt,Mn.current=!1,d(cr)?fa(tt):cr);return{mutate:tr,get data(){return pn.data=!0,qn},get error(){return pn.error=!0,cr},get isValidating(){return pn.isValidating=!0,Pa},get isLoading(){return pn.isLoading=!0,$a}}},Je=u.defineProperty(q,"defaultValue",{value:ht}),Nt=Ze=>serialize(Ze)[0];var _e=he(yt)}},Ls={};function ve(h){var y=Ls[h];if(y!==void 0)return y.exports;var e=Ls[h]={id:h,loaded:!1,exports:{}};return yl[h].call(e.exports,e,e.exports,ve),e.loaded=!0,e.exports}ve.m=yl,function(){ve.n=function(h){var y=h&&h.__esModule?function(){return h.default}:function(){return h};return ve.d(y,{a:y}),y}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y;ve.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var n=Object.create(null);ve.r(n);var i={};y=y||[null,h({}),h([]),h(h)];for(var l=o&2&&e;typeof l=="object"&&!~y.indexOf(l);l=h(l))Object.getOwnPropertyNames(l).forEach(function(r){i[r]=function(){return e[r]}});return i.default=function(){return e},ve.d(n,i),n}}(),function(){ve.d=function(h,y){for(var e in y)ve.o(y,e)&&!ve.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:y[e]})}}(),function(){ve.f={},ve.e=function(h){return Promise.all(Object.keys(ve.f).reduce(function(y,e){return ve.f[e](h,y),y},[]))}}(),function(){ve.u=function(h){return""+({81:"p__Message__Noreply__index",96:"p__Plugin__Share__index",145:"p__Plugin__Subscribe__index",185:"p__Welcome",274:"p__Carry__index",294:"p__Basic__index",301:"t__plugin-layout__Layout",354:"p__Storage__index",366:"p__User__Login__index",398:"p__Script__index",402:"p__Reply__index",430:"p__Master__index",538:"p__Message__Private__index",571:"p__404",737:"p__Plugin__Publish__index",966:"p__Message__Listen__index"}[h]||h)+"."+{54:"698cd806",81:"7e4d6d65",96:"2587e877",145:"122c4cdc",164:"3f5b3c97",185:"31f51469",274:"3d7444d8",294:"14210e46",301:"8b87af4b",315:"ca5fa681",354:"e2189b48",361:"a6a74763",366:"757fec46",398:"029a0c0b",402:"bf015c15",430:"570baffc",454:"045543df",472:"ccfb3d48",538:"31d914cd",571:"7e3f819c",630:"42a3526e",684:"22fd4dd1",737:"3ba2cf00",792:"138633da",795:"d6399175",852:"e34fba04",922:"40e741ff",964:"43acb396",966:"c2e6f837",989:"19fa4015"}[h]+".async.js"}}(),function(){ve.miniCssF=function(h){return"t__plugin-layout__Layout.74b4118c.chunk.css"}}(),function(){ve.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){ve.o=function(h,y){return Object.prototype.hasOwnProperty.call(h,y)}}(),function(){var h={},y="ant-design-pro:";ve.l=function(e,o,n,i){if(h[e]){h[e].push(o);return}var l,r;if(n!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c0&&(0,n.to)(D)-j&&(0,n.R3)(R>32?u(D+";",g,b,j-1):u((0,n.gx)(D," ","")+";",g,b,j-2),$);break;case 59:D+=";";default:if((0,n.R3)(F=f(D,m,b,O,N,x,L,ne,oe=[],_=[],j),T),K===123)if(N===0)r(D,m,F,F,oe,T,j,L,_);else switch(I===99&&(0,n.uO)(D,3)===110?100:I){case 100:case 109:case 115:r(d,F,F,g&&(0,n.R3)(f(d,F,F,0,0,x,L,ne,x,oe=[],j),_),x,_,j,L,g?oe:_);break;default:r(D,F,F,F,[""],_,0,L,_)}}O=N=R=0,V=G=1,ne=D="",j=M;break;case 58:j=1+(0,n.to)(D),R=A;default:if(V<1){if(K==123)--V;else if(K==125&&V++==0&&(0,i.mp)()==125)continue}switch(D+=(0,n.Dp)(K),K*V){case 38:G=N>0?1:(D+="\f",-1);break;case 44:L[O++]=((0,n.to)(D)-1)*G,G=1;break;case 64:(0,i.fj)()===45&&(D+=(0,i.iF)((0,i.lp)())),I=(0,i.fj)(),N=j=(0,n.to)(ne=D+=(0,i.QU)((0,i.Ud)())),K++;break;case 45:A===45&&(0,n.to)(D)==2&&(V=0)}}return T}function f(d,m,b,g,x,T,M,L,$,O,N){for(var j=x-1,I=x===0?T:[""],R=(0,n.Ei)(I),A=0,V=0,H=0;A0?I[G]+" "+K:(0,n.gx)(K,/&\f/g,I[G])))&&($[H++]=ne);return(0,i.dH)(d,m,b,x===0?o.Fr:L,$,O,N)}function c(d,m,b){return(0,i.dH)(d,m,b,o.Ab,(0,n.Dp)((0,i.Tb)()),(0,n.tb)(d,2,-2),0)}function u(d,m,b,g){return(0,i.dH)(d,m,b,o.h5,(0,n.tb)(d,0,g),(0,n.tb)(d,g+1,-1),g)}},90137:function(h,y,e){"use strict";e.d(y,{P:function(){return l},q:function(){return i}});var o=e(71448),n=e(22697);function i(r,f){for(var c="",u=(0,n.Ei)(r),d=0;d0?(0,o.uO)(c,--r):0,i--,f===10&&(i=1,n--),f}function g(){return f=r2||L(f)>3?"":" "}function R(K){for(;g();)switch(L(f)){case 0:append(G(r-1),K);break;case 2:append(N(f),K);break;default:append(from(f),K)}return K}function A(K,ne){for(;--ne&&g()&&!(f<48||f>102||f>57&&f<65||f>70&&f<97););return M(K,T()+(ne<6&&x()==32&&g()==32))}function V(K){for(;g();)switch(f){case K:return r;case 34:case 39:K!==34&&K!==39&&V(f);break;case 40:K===41&&V(K);break;case 92:g();break}return r}function H(K,ne){for(;g()&&K+f!==57;)if(K+f===84&&x()===47)break;return"/*"+M(ne,r-1)+"*"+(0,o.Dp)(K===47?K:g())}function G(K){for(;!L(x());)g();return M(K,r)}},22697:function(h,y,e){"use strict";e.d(y,{$e:function(){return T},Cw:function(){return u},Dp:function(){return n},EQ:function(){return f},Ei:function(){return g},R3:function(){return x},Wn:function(){return o},f0:function(){return i},fy:function(){return r},gx:function(){return c},tb:function(){return m},to:function(){return b},uO:function(){return d},vp:function(){return l}});var o=Math.abs,n=String.fromCharCode,i=Object.assign;function l(M,L){return d(M,0)^45?(((L<<2^d(M,0))<<2^d(M,1))<<2^d(M,2))<<2^d(M,3):0}function r(M){return M.trim()}function f(M,L){return(M=L.exec(M))?M[0]:M}function c(M,L,$){return M.replace(L,$)}function u(M,L){return M.indexOf(L)}function d(M,L){return M.charCodeAt(L)|0}function m(M,L,$){return M.slice(L,$)}function b(M){return M.length}function g(M){return M.length}function x(M,L){return L.push(M),M}function T(M,L){return M.map(L).join("")}},94083:function(h,y,e){"use strict";e.d(y,{J$:function(){return Je},ZP:function(){return _e},kY:function(){return Q}});var o=e(50959),n=e(4322);const i=new WeakMap,l={},r={},f=()=>{},c=f(),u=Object,d=Ze=>Ze===c,m=Ze=>typeof Ze=="function",b=(Ze,vt)=>Kp(Kp({},Ze),vt),g="undefined",x=typeof window!=g,T=typeof document!=g,M=()=>x&&typeof window.requestAnimationFrame!=g,L=(Ze,vt)=>{const wt=i.get(Ze);return[()=>Ze.get(vt)||l,pe=>{if(!d(vt)){const We=Ze.get(vt);vt in r||(r[vt]=We),wt[5](vt,b(We,pe),We||l)}},wt[6],()=>!d(vt)&&vt in r?r[vt]:Ze.get(vt)||l]},$=new WeakMap;let O=0;const N=Ze=>{const vt=typeof Ze,wt=Ze&&Ze.constructor,pe=wt==Date;let We,Ke;if(u(Ze)===Ze&&!pe&&wt!=RegExp){if(We=$.get(Ze),We)return We;if(We=++O+"~",$.set(Ze,We),wt==Array){for(We="@",Ke=0;Kej,[R,A]=x&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[f,f],V=()=>{const Ze=T&&document.visibilityState;return d(Ze)||Ze!=="hidden"},H=Ze=>(T&&document.addEventListener("visibilitychange",Ze),R("focus",Ze),()=>{T&&document.removeEventListener("visibilitychange",Ze),A("focus",Ze)}),G=Ze=>{const vt=()=>{j=!0,Ze()},wt=()=>{j=!1};return R("online",vt),R("offline",wt),()=>{A("online",vt),A("offline",wt)}},K={isOnline:I,isVisible:V},ne={initFocus:H,initReconnect:G},oe=!o.useId,_=!x||"Deno"in window,F=Ze=>M()?window.requestAnimationFrame(Ze):setTimeout(Ze,1),D=_?o.useEffect:o.useLayoutEffect,w=typeof navigator!="undefined"&&navigator.connection,k=!_&&w&&(["slow-2g","2g"].includes(w.effectiveType)||w.saveData),U=Ze=>{if(m(Ze))try{Ze=Ze()}catch(wt){Ze=""}const vt=Ze;return Ze=typeof Ze=="string"?Ze:(Array.isArray(Ze)?Ze.length:Ze)?N(Ze):"",[Ze,vt]};let Z=0;const J=()=>++Z,ue=0,Fe=1,be=2;var we={__proto__:null,FOCUS_EVENT:ue,RECONNECT_EVENT:Fe,MUTATE_EVENT:be};function De(...Ze){return Dv(this,null,function*(){const[vt,wt,pe,We]=Ze,Ke=b({populateCache:!0,throwOnError:!0},typeof We=="boolean"?{revalidate:We}:We||{});let mt=Ke.populateCache;const Ot=Ke.rollbackOnError;let Ut=Ke.optimisticData;const cn=Ke.revalidate!==!1,Ne=nt=>typeof Ot=="function"?Ot(nt):Ot!==!1,Me=Ke.throwOnError;if(m(wt)){const nt=wt,Mt=[],Lt=vt.keys();for(let Ct=Lt.next();!Ct.done;Ct=Lt.next()){const fn=Ct.value;!fn.startsWith("$inf$")&&nt(vt.get(fn)._k)&&Mt.push(fn)}return Promise.all(Mt.map(at))}return at(wt);function at(nt){return Dv(this,null,function*(){const[Mt]=U(nt);if(!Mt)return;const[Lt,Ct]=L(vt,Mt),[fn,zn,Mn]=i.get(vt),Tn=fn[Mt],or=()=>cn&&(delete Mn[Mt],Tn&&Tn[0])?Tn[0](be).then(()=>Lt().data):Lt().data;if(Ze.length<3)return or();let Qn=pe,In;const Dn=J();zn[Mt]=[Dn,0];const $t=!d(Ut),kt=Lt(),jt=kt.data,Jt=kt._c,pn=d(Jt)?jt:Jt;if($t&&(Ut=m(Ut)?Ut(pn):Ut,Ct({data:Ut,_c:pn})),m(Qn))try{Qn=Qn(pn)}catch(bn){In=bn}if(Qn&&m(Qn.then))if(Qn=yield Qn.catch(bn=>{In=bn}),Dn!==zn[Mt][0]){if(In)throw In;return Qn}else In&&$t&&Ne(In)&&(mt=!0,Qn=pn,Ct({data:Qn,_c:c}));mt&&(In||(m(mt)&&(Qn=mt(Qn,pn)),Ct({data:Qn,_c:c}))),zn[Mt][1]=J();const Fn=yield or();if(Ct({_c:c}),In){if(Me)throw In;return}return mt?Fn:Qn})}})}const He=(Ze,vt)=>{for(const wt in Ze)Ze[wt][0]&&Ze[wt][0](vt)},Ve=(Ze,vt)=>{if(!i.has(Ze)){const wt=b(ne,vt),pe={},We=De.bind(c,Ze);let Ke=f;const mt={},Ot=(Ne,Me)=>{const at=mt[Ne]||[];return mt[Ne]=at,at.push(Me),()=>at.splice(at.indexOf(Me),1)},Ut=(Ne,Me,at)=>{Ze.set(Ne,Me);const nt=mt[Ne];if(nt)for(let Mt=nt.length;Mt--;)nt[Mt](Me,at)},cn=()=>{if(!i.has(Ze)&&(i.set(Ze,[pe,{},{},{},We,Ut,Ot]),!_)){const Ne=wt.initFocus(setTimeout.bind(c,He.bind(c,pe,ue))),Me=wt.initReconnect(setTimeout.bind(c,He.bind(c,pe,Fe)));Ke=()=>{Ne&&Ne(),Me&&Me(),i.delete(Ze)}}};return cn(),[Ze,We,cn,Ke]}return[Ze,i.get(Ze)[4]]},Ie=(Ze,vt,wt,pe,We)=>{const Ke=wt.errorRetryCount,mt=We.retryCount,Ot=~~((Math.random()+.5)*(1<<(mt<8?mt:8)))*wt.errorRetryInterval;!d(Ke)&&mt>Ke||setTimeout(pe,Ot,We)},Le=(Ze,vt)=>N(Ze)==N(vt),[dt,St]=Ve(new Map),ht=b({onLoadingSlow:f,onSuccess:f,onError:f,onErrorRetry:Ie,onDiscarded:f,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:k?5e3:3e3,compare:Le,isPaused:()=>!1,cache:dt,mutate:St,fallback:{}},K),pt=(Ze,vt)=>{const wt=b(Ze,vt);if(vt){const{use:pe,fallback:We}=Ze,{use:Ke,fallback:mt}=vt;pe&&Ke&&(wt.use=pe.concat(Ke)),We&&mt&&(wt.fallback=b(We,mt))}return wt},Rt=(0,o.createContext)({}),q=Ze=>{const{value:vt}=Ze,wt=(0,o.useContext)(Rt),pe=m(vt),We=(0,o.useMemo)(()=>pe?vt(wt):vt,[pe,wt,vt]),Ke=(0,o.useMemo)(()=>pe?We:pt(wt,We),[pe,wt,We]),mt=We&&We.provider,[Ot]=(0,o.useState)(()=>mt?Ve(mt(Ke.cache||dt),We):c);return Ot&&(Ke.cache=Ot[0],Ke.mutate=Ot[1]),D(()=>{if(Ot)return Ot[2]&&Ot[2](),Ot[3]},[]),(0,o.createElement)(Rt.Provider,b(Ze,{value:Ke}))},B=x&&window.__SWR_DEVTOOLS_USE__,S=B?window.__SWR_DEVTOOLS_USE__:[],C=()=>{B&&(window.__SWR_DEVTOOLS_REACT__=o)},Y=Ze=>m(Ze[1])?[Ze[0],Ze[1],Ze[2]||{}]:[Ze[0],null,(Ze[1]===null?Ze[2]:Ze[1])||{}],Q=()=>b(ht,(0,o.useContext)(Rt)),se=(Ze,vt)=>{const wt=U(Ze)[0],[,,,pe]=i.get(dt);if(pe[wt])return pe[wt];const We=vt(Ze);return pe[wt]=We,We},ye=Ze=>(vt,wt,pe)=>Ze(vt,wt&&((...Ke)=>{const mt=U(vt)[0],[,,,Ot]=i.get(dt),Ut=Ot[mt];return Ut?(delete Ot[mt],Ut):wt(...Ke)}),pe),re=S.concat(ye),he=Ze=>function(...wt){const pe=Q(),[We,Ke,mt]=Y(wt),Ot=pt(pe,mt);let Ut=Ze;const{use:cn}=Ot,Ne=(cn||[]).concat(re);for(let Me=Ne.length;Me--;)Ut=Ne[Me](Ut);return Ut(We,Ke||Ot.fetcher||null,Ot)},ot=Ze=>{const vt=useState({})[1],wt=useRef(!1),pe=useRef(Ze),We=useRef({data:!1,error:!1,isValidating:!1}),Ke=useCallback(mt=>{let Ot=!1;const Ut=pe.current;for(const cn in mt){const Ne=cn;Ut[Ne]!==mt[Ne]&&(Ut[Ne]=mt[Ne],We.current[Ne]&&(Ot=!0))}Ot&&!wt.current&&(oe?vt({}):React.startTransition(()=>vt({})))},[]);return D(()=>(wt.current=!1,()=>{wt.current=!0})),[pe,We.current,Ke]},Ue=(Ze,vt,wt)=>{const pe=vt[Ze]||(vt[Ze]=[]);return pe.push(wt),()=>{const We=pe.indexOf(wt);We>=0&&(pe[We]=pe[pe.length-1],pe.pop())}},Se=(Ze,vt)=>(...wt)=>{const[pe,We,Ke]=Y(wt),mt=(Ke.use||[]).concat(vt);return Ze(pe,We,KC(Kp({},Ke),{use:mt}))};C();const tt={dedupe:!0},yt=(Ze,vt,wt)=>{const{cache:pe,compare:We,suspense:Ke,fallbackData:mt,revalidateOnMount:Ot,revalidateIfStale:Ut,refreshInterval:cn,refreshWhenHidden:Ne,refreshWhenOffline:Me,keepPreviousData:at}=wt,[nt,Mt,Lt]=i.get(pe),[Ct,fn]=U(Ze),zn=(0,o.useRef)(!1),Mn=(0,o.useRef)(!1),Tn=(0,o.useRef)(Ct),or=(0,o.useRef)(vt),Qn=(0,o.useRef)(wt),In=()=>Qn.current,Dn=()=>In().isVisible()&&In().isOnline(),[$t,kt,jt,Jt]=L(pe,Ct),pn=(0,o.useRef)({}).current,Fn=d(mt)?wt.fallback[Ct]:mt,bn=(_n,er)=>{let Tr=!0;for(const Ir in pn){const Sr=Ir;Sr==="data"?We(er[Sr],_n[Sr])||d(_n[Sr])&&We(er[Sr],qn)||(Tr=!1):er[Sr]!==_n[Sr]&&(Tr=!1)}return Tr},Zn=(0,o.useMemo)(()=>{const _n=(()=>!Ct||!vt?!1:d(Ot)?In().isPaused()||Ke?!1:d(Ut)?!0:Ut:Ot)(),er=Sr=>{const rt=b(Sr);return delete rt._k,_n?Kp({isValidating:!0,isLoading:!0},rt):rt};let Tr=er($t());const Ir=er(Jt());return[()=>{const Sr=er($t());return bn(Sr,Tr)?Tr:Tr=Sr},()=>Ir]},[pe,Ct]),Jn=(0,n.useSyncExternalStore)((0,o.useCallback)(_n=>jt(Ct,(er,Tr)=>{bn(Tr,er)||_n()}),[pe,Ct]),Zn[0],Zn[1]),sr=!zn.current,br=nt[Ct]&&nt[Ct].length>0,Or=Jn.data,ur=d(Or)?Fn:Or,cr=Jn.error,Pr=(0,o.useRef)(ur),qn=at?d(Or)?Pr.current:Or:ur,Sa=(()=>br&&!d(cr)?!1:sr&&!d(Ot)?Ot:In().isPaused()?!1:Ke?d(ur)?!1:Ut:d(ur)||Ut)(),ya=!!(Ct&&vt&&sr&&Sa),Pa=d(Jn.isValidating)?ya:Jn.isValidating,$a=d(Jn.isLoading)?ya:Jn.isLoading,fa=(0,o.useCallback)(_n=>Dv(this,null,function*(){const er=or.current;if(!Ct||!er||Mn.current||In().isPaused())return!1;let Tr,Ir,Sr=!0;const rt=_n||{},Xe=!Lt[Ct]||!rt.dedupe,ut=()=>oe?!Mn.current&&Ct===Tn.current&&zn.current:Ct===Tn.current,st={isValidating:!1,isLoading:!1},It=()=>{kt(st)},Ye=()=>{const le=Lt[Ct];le&&le[1]===Ir&&delete Lt[Ct]},me={isValidating:!0};d($t().data)&&(me.isLoading=!0);try{if(Xe&&(kt(me),wt.loadingTimeout&&d($t().data)&&setTimeout(()=>{Sr&&ut()&&In().onLoadingSlow(Ct,wt)},wt.loadingTimeout),Lt[Ct]=[er(fn),J()]),[Tr,Ir]=Lt[Ct],Tr=yield Tr,Xe&&setTimeout(Ye,wt.dedupingInterval),!Lt[Ct]||Lt[Ct][1]!==Ir)return Xe&&ut()&&In().onDiscarded(Ct),!1;st.error=c;const le=Mt[Ct];if(!d(le)&&(Ir<=le[0]||Ir<=le[1]||le[1]===0))return It(),Xe&&ut()&&In().onDiscarded(Ct),!1;const Ee=$t().data;st.data=We(Ee,Tr)?Ee:Tr,Xe&&ut()&&In().onSuccess(Tr,Ct,wt)}catch(le){Ye();const Ee=In(),{shouldRetryOnError:fe}=Ee;Ee.isPaused()||(st.error=le,Xe&&ut()&&(Ee.onError(le,Ct,Ee),(fe===!0||m(fe)&&fe(le))&&Dn()&&Ee.onErrorRetry(le,Ct,Ee,fa,{retryCount:(rt.retryCount||0)+1,dedupe:!0})))}return Sr=!1,It(),!0}),[Ct,pe]),tr=(0,o.useCallback)((..._n)=>De(pe,Tn.current,..._n),[]);if(D(()=>{or.current=vt,Qn.current=wt,d(Or)||(Pr.current=Or)}),D(()=>{if(!Ct)return;const _n=fa.bind(c,tt);let er=0;const Ir=Ue(Ct,nt,Sr=>{if(Sr==we.FOCUS_EVENT){const rt=Date.now();In().revalidateOnFocus&&rt>er&&Dn()&&(er=rt+In().focusThrottleInterval,_n())}else if(Sr==we.RECONNECT_EVENT)In().revalidateOnReconnect&&Dn()&&_n();else if(Sr==we.MUTATE_EVENT)return fa()});return Mn.current=!1,Tn.current=Ct,zn.current=!0,kt({_k:fn}),Sa&&(d(ur)||_?_n():F(_n)),()=>{Mn.current=!0,Ir()}},[Ct]),D(()=>{let _n;function er(){const Ir=m(cn)?cn(ur):cn;Ir&&_n!==-1&&(_n=setTimeout(Tr,Ir))}function Tr(){!$t().error&&(Ne||In().isVisible())&&(Me||In().isOnline())?fa(tt).then(er):er()}return er(),()=>{_n&&(clearTimeout(_n),_n=-1)}},[cn,Ne,Me,Ct]),(0,o.useDebugValue)(qn),Ke&&d(ur)&&Ct)throw!oe&&_?new Error("Fallback data is required when using suspense in SSR."):(or.current=vt,Qn.current=wt,Mn.current=!1,d(cr)?fa(tt):cr);return{mutate:tr,get data(){return pn.data=!0,qn},get error(){return pn.error=!0,cr},get isValidating(){return pn.isValidating=!0,Pa},get isLoading(){return pn.isLoading=!0,$a}}},Je=u.defineProperty(q,"defaultValue",{value:ht}),Nt=Ze=>serialize(Ze)[0];var _e=he(yt)}},Ls={};function ve(h){var y=Ls[h];if(y!==void 0)return y.exports;var e=Ls[h]={id:h,loaded:!1,exports:{}};return yl[h].call(e.exports,e,e.exports,ve),e.loaded=!0,e.exports}ve.m=yl,function(){ve.n=function(h){var y=h&&h.__esModule?function(){return h.default}:function(){return h};return ve.d(y,{a:y}),y}}(),function(){var h=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},y;ve.t=function(e,o){if(o&1&&(e=this(e)),o&8||typeof e=="object"&&e&&(o&4&&e.__esModule||o&16&&typeof e.then=="function"))return e;var n=Object.create(null);ve.r(n);var i={};y=y||[null,h({}),h([]),h(h)];for(var l=o&2&&e;typeof l=="object"&&!~y.indexOf(l);l=h(l))Object.getOwnPropertyNames(l).forEach(function(r){i[r]=function(){return e[r]}});return i.default=function(){return e},ve.d(n,i),n}}(),function(){ve.d=function(h,y){for(var e in y)ve.o(y,e)&&!ve.o(h,e)&&Object.defineProperty(h,e,{enumerable:!0,get:y[e]})}}(),function(){ve.f={},ve.e=function(h){return Promise.all(Object.keys(ve.f).reduce(function(y,e){return ve.f[e](h,y),y},[]))}}(),function(){ve.u=function(h){return""+({81:"p__Message__Noreply__index",96:"p__Plugin__Share__index",145:"p__Plugin__Subscribe__index",185:"p__Welcome",274:"p__Carry__index",294:"p__Basic__index",301:"t__plugin-layout__Layout",354:"p__Storage__index",366:"p__User__Login__index",398:"p__Script__index",402:"p__Reply__index",430:"p__Master__index",538:"p__Message__Private__index",571:"p__404",737:"p__Plugin__Publish__index",966:"p__Message__Listen__index"}[h]||h)+"."+{54:"698cd806",81:"7e4d6d65",96:"688ea155",145:"122c4cdc",164:"3f5b3c97",185:"31f51469",274:"3d7444d8",294:"14210e46",301:"8b87af4b",315:"ca5fa681",354:"e2189b48",361:"a6a74763",366:"757fec46",398:"029a0c0b",402:"bf015c15",430:"570baffc",454:"045543df",472:"ccfb3d48",538:"31d914cd",571:"7e3f819c",630:"42a3526e",684:"22fd4dd1",737:"3ba2cf00",792:"138633da",795:"d6399175",852:"e34fba04",922:"40e741ff",964:"43acb396",966:"c2e6f837",989:"19fa4015"}[h]+".async.js"}}(),function(){ve.miniCssF=function(h){return"t__plugin-layout__Layout.74b4118c.chunk.css"}}(),function(){ve.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch(h){if(typeof window=="object")return window}}()}(),function(){ve.o=function(h,y){return Object.prototype.hasOwnProperty.call(h,y)}}(),function(){var h={},y="ant-design-pro:";ve.l=function(e,o,n,i){if(h[e]){h[e].push(o);return}var l,r;if(n!==void 0)for(var f=document.getElementsByTagName("script"),c=0;c0})),ca=js({routesById:Sn,routeComponents:Lr,parentId:ra.id,loadingComponent:Ln.loadingComponent,reactRouter5Compat:Ln.reactRouter5Compat});return ca.length>0&&(ra.children=ca,ra.routes=ca),ra})}function bl(Ln){var Sn=(0,za.UO)(),xr=(0,wa.Z)((0,wa.Z)({},Ln),{},{to:(0,za.Gn)(Ln.to,Sn)});return nr.createElement(za.Fg,(0,jo.Z)({replace:!0},xr))}function Oa(Ln){var Sn=Ln.route,xr=Sn.redirect,Lr=(0,ao.Z)(Sn,Pi),Xr=Ln.reactRouter5Compat?Cr:Aa;return(0,wa.Z)({element:xr?nr.createElement(bl,{to:xr}):nr.createElement(si.Provider,{value:{route:Ln.route}},nr.createElement(Xr,{loader:nr.memo(Ln.routeComponent),loadingComponent:Ln.loadingComponent||Jr,hasChildren:Ln.hasChildren}))},Lr)}function Jr(){return nr.createElement("div",null)}function Cr(Ln){var Sn=Xo(),xr=Sn.route,Lr=(0,Va.Ov)(),Xr=Lr.history,ra=Lr.clientRoutes,ca=(0,za.UO)(),Ma={params:ca,isExact:!0,path:xr.path,url:Xr.location.pathname},Xa=Ln.loader;return nr.createElement(nr.Suspense,{fallback:nr.createElement(Ln.loadingComponent,null)},nr.createElement(Xa,{location:Xr.location,match:Ma,history:Xr,params:ca,route:xr,routes:ra},Ln.hasChildren&&nr.createElement(za.j3,null)))}function Aa(Ln){var Sn=Ln.loader;return nr.createElement(nr.Suspense,{fallback:nr.createElement(Ln.loadingComponent,null)},nr.createElement(Sn,null))}var Ca=null;function Vo(){return Ca}function yi(Ln){var Sn=Ln.history,xr=nr.useState({action:Sn.action,location:Sn.location}),Lr=(0,Wo.Z)(xr,2),Xr=Lr[0],ra=Lr[1];return(0,nr.useLayoutEffect)(function(){return Sn.listen(ra)},[Sn]),(0,nr.useLayoutEffect)(function(){function ca(Ma){Ln.pluginManager.applyPlugins({key:"onRouteChange",type:"event",args:{routes:Ln.routes,clientRoutes:Ln.clientRoutes,location:Ma.location,action:Ma.action,basename:Ln.basename,isFirst:Boolean(Ma.isFirst)}})}Sn.listen(ca),ca({location:Xr.location,action:Xr.action,isFirst:!0})},[Sn,Ln.routes,Ln.clientRoutes]),nr.createElement(za.F0,{navigator:Sn,location:Xr.location,basename:Ln.basename},Ln.children)}function Ui(){var Ln=(0,Va.Ov)(),Sn=Ln.clientRoutes;return(0,za.V$)(Sn)}var _i=["innerProvider","i18nProvider","accessProvider","dataflowProvider","outerProvider","rootContainer"],$o=function(Sn,xr){var Lr=Sn.basename||"/",Xr=js({routesById:Sn.routes,routeComponents:Sn.routeComponents,loadingComponent:Sn.loadingComponent,reactRouter5Compat:Sn.reactRouter5Compat});Sn.pluginManager.applyPlugins({key:"patchClientRoutes",type:"event",args:{routes:Xr}});for(var ra=nr.createElement(yi,{basename:Lr,pluginManager:Sn.pluginManager,routes:Sn.routes,clientRoutes:Xr,history:Sn.history},xr),ca=0,Ma=_i;ca