threels-workbench-app 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +12 -0
- package/dist/lib/cjs/app/app.js +1 -0
- package/dist/lib/cjs/index.js +1 -0
- package/dist/lib/cjs/page/index/IndexPage.js +1 -0
- package/dist/lib/cjs/page/index.js +1 -0
- package/dist/lib/cjs/page/login/LoginPage.js +1 -0
- package/dist/lib/cjs/presenter/presenter.js +1 -0
- package/dist/lib/es/app/app.js +1 -0
- package/dist/lib/es/index.js +1 -0
- package/dist/lib/es/page/index/IndexPage.js +1 -0
- package/dist/lib/es/page/index.js +1 -0
- package/dist/lib/es/page/login/LoginPage.js +1 -0
- package/dist/lib/es/presenter/presenter.js +1 -0
- package/package.json +48 -0
package/README.md
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
# React + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
## Expanding the ESLint configuration
|
|
11
|
+
|
|
12
|
+
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const a0_0x257de1=a0_0x1735;(function(_0x53cdb7,_0x48dc98){const _0x7b2b8a=a0_0x1735,_0x4fadac=_0x53cdb7();while(!![]){try{const _0x42812d=parseInt(_0x7b2b8a(0x1ff))/0x1*(parseInt(_0x7b2b8a(0x232))/0x2)+-parseInt(_0x7b2b8a(0x201))/0x3*(parseInt(_0x7b2b8a(0x20f))/0x4)+-parseInt(_0x7b2b8a(0x1f9))/0x5+-parseInt(_0x7b2b8a(0x202))/0x6*(parseInt(_0x7b2b8a(0x225))/0x7)+-parseInt(_0x7b2b8a(0x22d))/0x8+parseInt(_0x7b2b8a(0x20e))/0x9+parseInt(_0x7b2b8a(0x1f4))/0xa;if(_0x42812d===_0x48dc98)break;else _0x4fadac['push'](_0x4fadac['shift']());}catch(_0x5e688a){_0x4fadac['push'](_0x4fadac['shift']());}}}(a0_0x4aa5,0x433e2));const jsxRuntime=require(a0_0x257de1(0x224)),react=require(a0_0x257de1(0x22c)),antd=require(a0_0x257de1(0x204)),zhCN=require(a0_0x257de1(0x207)),reactRouter=require(a0_0x257de1(0x222)),page_login_LoginPage=require(a0_0x257de1(0x1fb)),page_index_IndexPage=require(a0_0x257de1(0x1ee)),WorkBench=require(a0_0x257de1(0x229)),threelsWorkbenchComponent=require('threels-workbench-component');let cfg={'fetchEncryptChecker':void 0x0};function registerFetchEncryptChecker(_0x5e8388){const _0x3fe86b=a0_0x257de1;cfg[_0x3fe86b(0x205)]=_0x5e8388;}let doResultCode=!![];function appInit(){const _0x14906f=a0_0x257de1;(window[_0x14906f(0x216)]===void 0x0||window[_0x14906f(0x216)]===null)&&(window[_0x14906f(0x216)]=WorkBench[_0x14906f(0x200)](_0x14906f(0x216))||''),WorkBench[_0x14906f(0x1f0)]((_0x491dd6,_0x3eaa49,_0x395c27)=>{const _0x375994=_0x14906f;let {code:_0x3c1644,data:_0x55a1df,success:_0x339288}=_0x491dd6;if(!_0x339288){_0x395c27(_0x3c1644?_0x3c1644:_0x375994(0x220),_0x491dd6[_0x375994(0x1f3)]||_0x491dd6[_0x375994(0x1f8)]||_0x375994(0x233),_0x55a1df);return;}_0x3eaa49(_0x491dd6);}),WorkBench[_0x14906f(0x21e)](_0xf58181=>{const _0x59dbc9=_0x14906f;if(!doResultCode)return!![];switch(_0xf58181[_0x59dbc9(0x22e)]){case _0x59dbc9(0x214):doResultCode=![],threelsWorkbenchComponent[_0x59dbc9(0x1ef)][_0x59dbc9(0x239)](_0x59dbc9(0x1fd),{'onOk':()=>{const _0x348d4a=_0x59dbc9;window[_0x348d4a(0x23a)]['window'][_0x348d4a(0x218)][_0x348d4a(0x238)]();}});return!![];case'USER_NEED_LOGIN':{return doResultCode=![],threelsWorkbenchComponent[_0x59dbc9(0x1ef)][_0x59dbc9(0x239)](_0x59dbc9(0x23b),{'onOk':()=>{const _0x20b6cc=_0x59dbc9,_0x4f386b=encodeURIComponent(window[_0x20b6cc(0x23a)][_0x20b6cc(0x212)][_0x20b6cc(0x218)][_0x20b6cc(0x21d)]);window[_0x20b6cc(0x23a)]['window']['location']['href']=window['_ctx']+_0x20b6cc(0x1f5)+_0x4f386b;}}),!![];}case'DECRYPT_SERVER_DATA_ERROR':doResultCode=![],threelsWorkbenchComponent[_0x59dbc9(0x1ef)][_0x59dbc9(0x239)]('服务器配置更新,需要刷新网页',{'onOk':()=>{const _0x28e8f5=_0x59dbc9;window[_0x28e8f5(0x23a)][_0x28e8f5(0x212)][_0x28e8f5(0x218)]['reload']();}});return!![];}return![];}),WorkBench[_0x14906f(0x230)](_0x3732af=>{const _0x29e017=_0x14906f;threelsWorkbenchComponent[_0x29e017(0x1ef)]['noticeFail'](_0x3732af[_0x29e017(0x1f8)]||_0x3732af[_0x29e017(0x1f3)]);}),WorkBench['registerPresenterShowIndicator'](_0x21f36f=>threelsWorkbenchComponent[_0x14906f(0x1ef)][_0x14906f(0x237)](_0x21f36f||'加载中...')),WorkBench[_0x14906f(0x1f2)](()=>threelsWorkbenchComponent[_0x14906f(0x1ef)]['toastHide']()),WorkBench['registerFetchResponseChecker']((_0x43cb91,_0x4e7721)=>{let {status:_0xbd2576}=_0x43cb91;_0xbd2576!==0xc8&&_0x4e7721('RESPONSE_STATUS_ERROR','服务器返回错误状态:'+_0xbd2576+'\x20!');}),WorkBench[_0x14906f(0x210)](requestParamsProcessor),WorkBench['registerFetchEncryptFunction'](_0x37ca7f=>{const _0x523f3c=_0x14906f;if(cfg[_0x523f3c(0x205)])return cfg[_0x523f3c(0x205)](_0x37ca7f)&&WorkBench[_0x523f3c(0x223)]();return WorkBench[_0x523f3c(0x223)]();},_0x525872=>WorkBench[_0x14906f(0x1f1)](_0x525872)),WorkBench[_0x14906f(0x1fa)](({response:_0x53bcfb})=>{const _0x396abf=_0x14906f;return _0x53bcfb[_0x396abf(0x21a)][_0x396abf(0x200)](_0x396abf(0x1f6));},_0x2836cc=>WorkBench[_0x14906f(0x221)](_0x2836cc));}function a0_0x4aa5(){const _0x28ea4c=['get','3PemMXT','6VUuhFD','icon-adduser','antd','fetchEncryptChecker','用户权限','antd/locale/zh_CN','Route','registerFetchEncryptChecker','/login','toLowerCase','_ctxRes','Routes','3114441BgjPWY','1434156rwkrSq','registerFetchParamsProcessor','系统设置','window','root','USER_LOGIN_INFO_CHANGE','抱歉,您访问的页面不存在!!!','_ctx','/image','location','用户管理22','headers','uploadFileUrl','/file','href','registerPresenterDoError','startsWith','FAILS','decrypt','react-router','isRequestEncrypt','react/jsx-runtime','3794644yUqBhi','用户管理23','abc','404','threels-workbench-core','http://','signature','react','2678736tyznCQ','code','/22','registerPresenterTipError','jsxs','934594TdyefY','服务器返回数据错误','Button','uploadImgUrl','用户管理','toastLoading','reload','alertFail','parent','登录超时,需要重新登录','App','jsx','../page/index/IndexPage.js','Tip','registerFetchReturnJsonChecker','encrypt','registerPresenterCloseIndicator','message','10359770yTSZhx','/login?backUrl=','dataencrypt','/23','msg','1692120KzNelu','registerFetchDecryptFunction','../page/login/LoginPage.js','https://','登录被重置,需要重新登录','primary','1pmOHNK'];a0_0x4aa5=function(){return _0x28ea4c;};return a0_0x4aa5();}const API_CONFIG={'uploadImgUrl':window[a0_0x257de1(0x20c)]+a0_0x257de1(0x217),'uploadFileUrl':window['_ctxRes']+a0_0x257de1(0x21c)},requestParamsProcessor=({url:_0x2733dd,bodyParams:_0x37918f,urlParams:_0x3ca75e,headers:_0x4eac74})=>{const _0x377203=a0_0x257de1;let _0x1d7782=_0x2733dd[_0x377203(0x20b)]();!_0x1d7782[_0x377203(0x21f)](_0x377203(0x22a))&&!_0x1d7782[_0x377203(0x21f)](_0x377203(0x1fc))&&(_0x2733dd!==API_CONFIG[_0x377203(0x235)]&&_0x2733dd!==API_CONFIG[_0x377203(0x21b)]&&(_0x2733dd=''+window[_0x377203(0x216)]+_0x2733dd));let _0x4880fc=WorkBench[_0x377203(0x22b)]();return _0x3ca75e={..._0x3ca75e,..._0x4880fc},{'url':_0x2733dd,'bodyParams':_0x37918f,'urlParams':_0x3ca75e,'headers':_0x4eac74};};appInit();function getBaseName(){let {_ctx:_0x155299}=window;return _0x155299;}function App(_0x578e89){const _0x1a5cb0=a0_0x257de1;let {platform:platform=_0x1a5cb0(0x213),platformName:platformName='',locale:_0x475148,children:_0x19e94a,topMenu:_0x3e5e12,topComponent:_0x1b30b0,showNav:_0x4e9026,showTab:_0x15efee,tabCache:_0x2fc8c2,keepMenu:_0x3c4fa1}=_0x578e89;return jsxRuntime[_0x1a5cb0(0x23d)](react['StrictMode'],{'children':jsxRuntime[_0x1a5cb0(0x23d)](antd['ConfigProvider'],{'locale':_0x475148?_0x475148:zhCN,'children':jsxRuntime['jsx'](reactRouter['BrowserRouter'],{'basename':getBaseName(),'children':jsxRuntime[_0x1a5cb0(0x231)](reactRouter[_0x1a5cb0(0x20d)],{'children':[jsxRuntime['jsx'](reactRouter[_0x1a5cb0(0x208)],{'path':'/*','element':jsxRuntime['jsx'](page_index_IndexPage['IndexPage'],{'platform':platform,'platformName':platformName,'topMenu':_0x3e5e12,'rightComponent':_0x1b30b0,'showNav':_0x4e9026,'showTab':_0x15efee,'keepMenu':_0x3c4fa1,'tabCache':_0x2fc8c2,'menuItems':menuItems})}),jsxRuntime['jsx'](reactRouter[_0x1a5cb0(0x208)],{'path':_0x1a5cb0(0x20a),'element':jsxRuntime['jsx'](page_login_LoginPage['LoginPage'],{'platform':platform,'platformName':platformName})}),_0x19e94a,jsxRuntime[_0x1a5cb0(0x23d)](reactRouter[_0x1a5cb0(0x208)],{'path':'*','element':jsxRuntime[_0x1a5cb0(0x23d)](Page404,{})})]})})})});}function Page404(){const _0x1c8e7e=a0_0x257de1,_0x2a9f29=()=>{const _0x5acb12=a0_0x1735;let {_ctx:_0xd78975}=window;window[_0x5acb12(0x218)][_0x5acb12(0x21d)]=_0xd78975||'/';};return jsxRuntime[_0x1c8e7e(0x23d)](antd['Result'],{'status':_0x1c8e7e(0x228),'title':_0x1c8e7e(0x215),'extra':jsxRuntime[_0x1c8e7e(0x23d)](antd[_0x1c8e7e(0x234)],{'type':_0x1c8e7e(0x1fe),'onClick':_0x2a9f29,'children':'返回'})});}function a0_0x1735(_0x28bc44,_0x1b07c0){const _0x4aa578=a0_0x4aa5();return a0_0x1735=function(_0x173502,_0x836227){_0x173502=_0x173502-0x1ee;let _0x49bf2e=_0x4aa578[_0x173502];return _0x49bf2e;},a0_0x1735(_0x28bc44,_0x1b07c0);}let menuItems=[{'menuId':'1','name':'仪表盘','urlPath':'/1','componentId':'abc','extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'2','name':a0_0x257de1(0x236),'urlPath':'/2','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'22','name':a0_0x257de1(0x219),'parentMenuId':'2','urlPath':a0_0x257de1(0x22f),'componentId':'abc','extArg':'','iconCls':'icon-adduser','sort':0x1},{'menuId':'23','name':a0_0x257de1(0x226),'parentMenuId':'2','urlPath':a0_0x257de1(0x1f7),'componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'3','name':'系统管理','urlPath':'/3','componentId':'abc','extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'4','parentMenuId':'3','name':a0_0x257de1(0x236),'urlPath':'/4','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'5','parentMenuId':'3','name':a0_0x257de1(0x211),'urlPath':'/5','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'6','parentMenuId':'5','name':'角色管理','urlPath':'/6','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1},{'menuId':'7','parentMenuId':'5','name':a0_0x257de1(0x206),'urlPath':'/7','componentId':a0_0x257de1(0x227),'extArg':'','iconCls':a0_0x257de1(0x203),'sort':0x1}];exports[a0_0x257de1(0x23c)]=App,exports[a0_0x257de1(0x209)]=registerFetchEncryptChecker;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a1_0x2f66(){const _0x141ac7=['16489sffpcQ','./app/app.js','1228348sXzLff','50598iJPYbo','51HsURjM','259750thMbSa','126ZAwDYM','Module','toStringTag','65964yPGNsR','registerFetchEncryptChecker','767688cjhSGc','5OhUZvc','74654FdysfB','default','15852WuogGm','App','21HpbFqP'];a1_0x2f66=function(){return _0x141ac7;};return a1_0x2f66();}const a1_0x256347=a1_0x3f87;(function(_0x19837c,_0xa7ce2c){const _0x32f56a=a1_0x3f87,_0x335557=_0x19837c();while(!![]){try{const _0x17d509=parseInt(_0x32f56a(0xc2))/0x1+-parseInt(_0x32f56a(0xc6))/0x2*(parseInt(_0x32f56a(0xcf))/0x3)+parseInt(_0x32f56a(0xcd))/0x4*(-parseInt(_0x32f56a(0xc5))/0x5)+-parseInt(_0x32f56a(0xce))/0x6+-parseInt(_0x32f56a(0xca))/0x7*(parseInt(_0x32f56a(0xc4))/0x8)+parseInt(_0x32f56a(0xd1))/0x9*(-parseInt(_0x32f56a(0xd0))/0xa)+-parseInt(_0x32f56a(0xcb))/0xb*(-parseInt(_0x32f56a(0xc8))/0xc);if(_0x17d509===_0xa7ce2c)break;else _0x335557['push'](_0x335557['shift']());}catch(_0x4da673){_0x335557['push'](_0x335557['shift']());}}}(a1_0x2f66,0x6c873));function a1_0x3f87(_0x164e56,_0x48d4cd){const _0x2f666f=a1_0x2f66();return a1_0x3f87=function(_0x3f877d,_0x20ce74){_0x3f877d=_0x3f877d-0xc0;let _0x1a2e1d=_0x2f666f[_0x3f877d];return _0x1a2e1d;},a1_0x3f87(_0x164e56,_0x48d4cd);}Object['defineProperties'](exports,{'__esModule':{'value':!![]},[Symbol[a1_0x256347(0xc1)]]:{'value':a1_0x256347(0xc0)}});const app_app=require(a1_0x256347(0xcc));exports[a1_0x256347(0xc7)]=app_app[a1_0x256347(0xc9)],exports['registerFetchEncryptChecker']=app_app[a1_0x256347(0xc3)];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const a2_0x4e21e8=a2_0x5b4b;(function(_0x409fc0,_0x3a4842){const _0x162d6b=a2_0x5b4b,_0x403632=_0x409fc0();while(!![]){try{const _0x18678c=-parseInt(_0x162d6b(0x164))/0x1*(-parseInt(_0x162d6b(0xdf))/0x2)+-parseInt(_0x162d6b(0x148))/0x3+-parseInt(_0x162d6b(0x1a4))/0x4*(parseInt(_0x162d6b(0xe6))/0x5)+-parseInt(_0x162d6b(0xed))/0x6*(-parseInt(_0x162d6b(0x125))/0x7)+-parseInt(_0x162d6b(0x104))/0x8*(parseInt(_0x162d6b(0xc2))/0x9)+-parseInt(_0x162d6b(0x187))/0xa+parseInt(_0x162d6b(0x18a))/0xb;if(_0x18678c===_0x3a4842)break;else _0x403632['push'](_0x403632['shift']());}catch(_0x785e16){_0x403632['push'](_0x403632['shift']());}}}(a2_0x52a7,0xd7889));const jsxRuntime=require('react/jsx-runtime'),antd=require('antd'),icons=require(a2_0x4e21e8(0x1a8)),react=require(a2_0x4e21e8(0x174)),WorkBench=require(a2_0x4e21e8(0x101)),threelsWorkbenchComponent=require(a2_0x4e21e8(0x157)),presenter_presenter=require(a2_0x4e21e8(0x11c)),reactRouter=require(a2_0x4e21e8(0x142));class AccountPwdForm extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{static [a2_0x4e21e8(0x181)]={'onSuccess':void 0x0};constructor(_0x2bfadd){const _0x12fab5=a2_0x4e21e8;super(_0x2bfadd),this[_0x12fab5(0x19c)]=new presenter_presenter[(_0x12fab5(0x1b4))](this);}[a2_0x4e21e8(0xd5)](){const _0x48a355=a2_0x4e21e8;this[_0x48a355(0x1a3)][_0x48a355(0x13d)]&&this[_0x48a355(0x1a3)][_0x48a355(0x13d)]();}['_onSubmit'](){const _0x2629a2=a2_0x4e21e8;this[_0x2629a2(0x114)][_0x2629a2(0x1a0)]()[_0x2629a2(0x13a)](_0x398764=>{const _0x527db7=_0x2629a2;let {oldPwd:_0xda4cce,newPwd:_0x1c7db9,newPwd2:_0x5b33f2}=_0x398764;if(_0xda4cce===_0x1c7db9){this[_0x527db7(0x170)](_0x527db7(0x155));return;}if(_0x1c7db9!==_0x5b33f2){this['noticeFail']('两次新密码输入不一致');return;}this[_0x527db7(0x18e)]('处理中...'),this[_0x527db7(0x19c)]['resetPwd']({'oldPwd':_0xda4cce,'newPwd':_0x1c7db9},{},()=>{const _0x2d678a=_0x527db7;this[_0x2d678a(0x11d)](_0x2d678a(0x134)),this['props']['onSuccess']&&this[_0x2d678a(0x1a3)]['onSuccess']();});});}[a2_0x4e21e8(0xd3)](_0x1d4d22){this['showSpin'](_0x1d4d22);}['closeLoadingIndicator'](){const _0x31d63b=a2_0x4e21e8;this[_0x31d63b(0x150)]();}['showDoingIndicator'](_0x5ab1b8){const _0x4b3f9=a2_0x4e21e8;this[_0x4b3f9(0x1aa)](_0x5ab1b8);}['closeDoingIndicator'](){const _0x1c78e7=a2_0x4e21e8;this[_0x1c78e7(0x150)]();}[a2_0x4e21e8(0x154)](){const _0x280bbe=a2_0x4e21e8;return this['renderSpin'](jsxRuntime['jsxs'](antd['Form'],{'ref':_0x5c692e=>this['form']=_0x5c692e,'layout':'vertical','children':[jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0x14f)][_0x280bbe(0x17e)],{'label':_0x280bbe(0x1a7),'name':_0x280bbe(0x162),'rules':[{'required':!![],'message':_0x280bbe(0x163)}],'children':jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0xde)][_0x280bbe(0x1b3)],{'placeholder':_0x280bbe(0x116)})}),jsxRuntime['jsx'](antd[_0x280bbe(0x14f)][_0x280bbe(0x17e)],{'label':_0x280bbe(0xe8),'name':_0x280bbe(0x15e),'rules':[{'required':!![],'message':_0x280bbe(0xca)}],'children':jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0xde)]['Password'],{'placeholder':'请输入密码'})}),jsxRuntime[_0x280bbe(0xe2)](antd['Form'][_0x280bbe(0x17e)],{'label':_0x280bbe(0xd4),'name':_0x280bbe(0x143),'rules':[{'required':!![],'message':_0x280bbe(0x13b)}],'children':jsxRuntime['jsx'](antd[_0x280bbe(0xde)][_0x280bbe(0x1b3)],{'placeholder':_0x280bbe(0x1b0)})}),jsxRuntime['jsx'](antd[_0x280bbe(0x10a)],{'type':_0x280bbe(0x109),'justify':'end','children':jsxRuntime[_0x280bbe(0xfc)](antd[_0x280bbe(0xfe)],{'children':[jsxRuntime[_0x280bbe(0xe2)](antd['Button'],{'onClick':this['_closeForm'][_0x280bbe(0x10f)](this),'children':'取消'}),jsxRuntime[_0x280bbe(0xe2)](antd[_0x280bbe(0x14e)],{'type':_0x280bbe(0x13e),'onClick':this[_0x280bbe(0x130)][_0x280bbe(0x10f)](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{static [a2_0x4e21e8(0x181)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x36fcae){const _0x4b9492=a2_0x4e21e8;super(_0x36fcae),this[_0x4b9492(0x19c)]=new presenter_presenter[(_0x4b9492(0x1b4))](this);}['componentDidMount'](){const _0x361152=a2_0x4e21e8;this[_0x361152(0x107)]();}['_search'](){const _0x263c48=a2_0x4e21e8;this[_0x263c48(0xd3)](_0x263c48(0xcd)),this[_0x263c48(0x19c)][_0x263c48(0x19e)]({},{},_0x162170=>{const _0xea26ff=_0x263c48;this[_0xea26ff(0x160)][_0xea26ff(0x177)](_0x162170[_0xea26ff(0x12c)]);});}['showLoadingIndicator'](_0x3577a6,_0x295627={}){const _0x54ab98=a2_0x4e21e8;this[_0x54ab98(0x160)][_0x54ab98(0xd3)]();}[a2_0x4e21e8(0x189)](){const _0x401c55=a2_0x4e21e8;this[_0x401c55(0x160)][_0x401c55(0x189)]();}[a2_0x4e21e8(0x154)](){const _0x4d32ee=a2_0x4e21e8;return jsxRuntime[_0x4d32ee(0xe2)](threelsWorkbenchComponent[_0x4d32ee(0x192)],{'ref':_0x2dc72f=>{const _0x43383d=_0x4d32ee;this[_0x43383d(0x160)]=_0x2dc72f;},'scroll':{'x':_0x4d32ee(0xc5)},'className':_0x4d32ee(0xe9),'_showPage':![],'rowKey':_0x528855=>_0x528855['id'],'size':'small','columns':[{'title':'平台','dataIndex':_0x4d32ee(0xdb),'fixed':_0x4d32ee(0x108),'render':(_0x469f39,_0x54dcae)=>{const _0x4a258f=_0x4d32ee;let {platformName:_0x4cebcb,userPlatform:_0x2b69c3,userPlatformName:_0xf7bcde,mainPlatform:_0xd8b24d}=_0x54dcae;if(_0x2b69c3)return jsxRuntime[_0x4a258f(0xfc)](antd[_0x4a258f(0x1a6)],{'justify':_0x4a258f(0x180),'children':[jsxRuntime[_0x4a258f(0xfc)](antd[_0x4a258f(0xfe)],{'children':[jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'children':_0x4cebcb}),jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'children':_0xf7bcde})]}),_0xd8b24d&&jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'color':'error','children':'默认平台'})]});return jsxRuntime[_0x4a258f(0xfc)](antd[_0x4a258f(0x1a6)],{'justify':'space-between','children':[jsxRuntime[_0x4a258f(0xe2)](antd[_0x4a258f(0x110)],{'children':_0x4cebcb}),_0xd8b24d&&jsxRuntime['jsx'](antd['Tag'],{'color':_0x4a258f(0xee),'children':_0x4a258f(0x182)})]});}},{'title':'角色','dataIndex':_0x4d32ee(0x156),'render':(_0x413fce,_0x9a2142)=>{const _0x5cbc05=_0x4d32ee;let {roleNames:_0x44c61d}=_0x9a2142;if(_0x44c61d)return _0x44c61d['split'](',')[_0x5cbc05(0xf7)]((_0x179c6a,_0x5d96cd)=>jsxRuntime['jsx'](antd[_0x5cbc05(0x110)],{'children':_0x179c6a},_0x5d96cd));return null;}}]});}}class AccountModifyForm extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{static [a2_0x4e21e8(0x181)]={'onSuccess':void 0x0};constructor(_0x3789a3){const _0x3a8b1f=a2_0x4e21e8;super(_0x3789a3),this['presenter']=new presenter_presenter[(_0x3a8b1f(0x1b4))](this);}[a2_0x4e21e8(0x17b)](){this['_search']();}['_search'](){const _0x4d40b6=a2_0x4e21e8;this[_0x4d40b6(0xd3)]('加载中...'),this['presenter'][_0x4d40b6(0x1ac)]({},{},_0x5226fa=>{const _0x376668=_0x4d40b6;this[_0x376668(0x114)][_0x376668(0x14b)](_0x5226fa[_0x376668(0x12c)]);});}[a2_0x4e21e8(0xd5)](){const _0x7dd753=a2_0x4e21e8;this[_0x7dd753(0x1a3)][_0x7dd753(0x13d)]&&this[_0x7dd753(0x1a3)][_0x7dd753(0x13d)]();}[a2_0x4e21e8(0x130)](){const _0x6c1313=a2_0x4e21e8;this[_0x6c1313(0x114)][_0x6c1313(0x1a0)]()['then'](_0x32ea1c=>{const _0xcd4286=_0x6c1313;this[_0xcd4286(0x18e)]('处理中...'),this[_0xcd4286(0x19c)][_0xcd4286(0x129)]({..._0x32ea1c},{},()=>{const _0x444f9a=_0xcd4286;this[_0x444f9a(0x11d)](_0x444f9a(0x172)),this[_0x444f9a(0x1a3)]['onSuccess']&&this[_0x444f9a(0x1a3)][_0x444f9a(0x10e)]();});});}[a2_0x4e21e8(0xd3)](_0x57997b){const _0x36ec9e=a2_0x4e21e8;this[_0x36ec9e(0x1aa)](_0x57997b);}[a2_0x4e21e8(0x189)](){const _0x483a83=a2_0x4e21e8;this[_0x483a83(0x150)]();}[a2_0x4e21e8(0x18e)](_0x2416aa){const _0x262693=a2_0x4e21e8;this[_0x262693(0x1aa)](_0x2416aa);}[a2_0x4e21e8(0x196)](){const _0x14b301=a2_0x4e21e8;this[_0x14b301(0x150)]();}[a2_0x4e21e8(0x154)](){const _0x3b4c44=a2_0x4e21e8;return this[_0x3b4c44(0x16d)](jsxRuntime[_0x3b4c44(0xfc)](antd[_0x3b4c44(0x14f)],{'ref':_0x300ac8=>this[_0x3b4c44(0x114)]=_0x300ac8,'layout':_0x3b4c44(0x19b),'children':[jsxRuntime['jsx'](antd[_0x3b4c44(0x14f)][_0x3b4c44(0x17e)],{'label':'名称','name':_0x3b4c44(0xf6),'rules':[{'required':!![],'message':_0x3b4c44(0x138)}],'children':jsxRuntime[_0x3b4c44(0xe2)](antd['Input'],{'placeholder':_0x3b4c44(0x15f)})}),jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x14f)][_0x3b4c44(0x17e)],{'label':'手机','name':_0x3b4c44(0x11a),'rules':[{'required':!![],'message':_0x3b4c44(0x136)}],'children':jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0xde)],{'placeholder':_0x3b4c44(0xdd)})}),jsxRuntime[_0x3b4c44(0xe2)](antd['Form'][_0x3b4c44(0x17e)],{'label':'邮箱','name':'email','rules':[{'required':!![],'message':_0x3b4c44(0x122)}],'children':jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0xde)],{'placeholder':_0x3b4c44(0x19f)})}),jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x10a)],{'type':'flex','justify':_0x3b4c44(0xf9),'children':jsxRuntime[_0x3b4c44(0xfc)](antd[_0x3b4c44(0xfe)],{'children':[jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x14e)],{'onClick':this[_0x3b4c44(0xd5)]['bind'](this),'children':'取消'}),jsxRuntime[_0x3b4c44(0xe2)](antd[_0x3b4c44(0x14e)],{'type':_0x3b4c44(0x13e),'onClick':this['_onSubmit'][_0x3b4c44(0x10f)](this),'children':'修改'})]})})]}));}}class AccountDetail extends threelsWorkbenchComponent['BaseComponent']{static[a2_0x4e21e8(0x115)](){const _0x3b3c2a=a2_0x4e21e8;let _0x3778c1=threelsWorkbenchComponent[_0x3b3c2a(0xc8)][_0x3b3c2a(0x178)](jsxRuntime[_0x3b3c2a(0xe2)](AccountDetail,{'onCancel':()=>{_0x3778c1()['close']();}}),{'title':_0x3b3c2a(0x10c),'width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x25fd3e){const _0x56c347=a2_0x4e21e8;super(_0x25fd3e),this['presenter']=new presenter_presenter['WorkbenchAccountPresenter'](this),this[_0x56c347(0x1ad)]={'data':{}};}['componentDidMount'](){const _0x535afb=a2_0x4e21e8;this[_0x535afb(0x107)]();}[a2_0x4e21e8(0xd3)](_0x2676bd){const _0x9934d7=a2_0x4e21e8;this[_0x9934d7(0x1aa)](_0x2676bd);}['closeLoadingIndicator'](){const _0x45b963=a2_0x4e21e8;this[_0x45b963(0x150)]();}[a2_0x4e21e8(0x107)](){const _0x31c978=a2_0x4e21e8;this[_0x31c978(0xd3)]('加载中...'),this[_0x31c978(0x19c)]['info']({},{},_0xc508c9=>{this['setState']({'data':_0xc508c9['data']});});}['_onModify'](){const _0x3eb2fc=a2_0x4e21e8;let _0x334fdd=threelsWorkbenchComponent[_0x3eb2fc(0x113)][_0x3eb2fc(0x178)](jsxRuntime[_0x3eb2fc(0xe2)](AccountModifyForm,{'onCancel':()=>{_0x334fdd()['close']();},'onSuccess':()=>{const _0x376f6a=_0x3eb2fc;_0x334fdd()[_0x376f6a(0x12d)](),this[_0x376f6a(0x107)]();}}),{'title':_0x3eb2fc(0x12e)});}[a2_0x4e21e8(0x154)](){const _0x41312a=a2_0x4e21e8;let {data:_0x6441a4}=this['state'];return this[_0x41312a(0x16d)](jsxRuntime[_0x41312a(0xfc)](antd[_0x41312a(0xfe)],{'direction':'vertical','style':{'width':_0x41312a(0x19d)},'children':[jsxRuntime[_0x41312a(0xe2)](antd[_0x41312a(0x183)],{'title':_0x41312a(0x179),'size':_0x41312a(0x145),'extra':jsxRuntime['jsx'](antd[_0x41312a(0xfe)],{'children':jsxRuntime[_0x41312a(0xe2)](antd[_0x41312a(0x14e)],{'size':'small','type':_0x41312a(0x13e),'onClick':this[_0x41312a(0x19a)]['bind'](this),'children':'修改'})}),'children':jsxRuntime[_0x41312a(0xe2)](threelsWorkbenchComponent[_0x41312a(0x1a2)],{'bordered':!![],'column':0x1,'size':_0x41312a(0x145),'items':this[_0x41312a(0x1ad)]['data']?[{'label':'账号ID','children':_0x6441a4[_0x41312a(0x120)]},{'label':'账号','children':_0x6441a4[_0x41312a(0xd2)]},{'label':'名称','children':_0x6441a4[_0x41312a(0xf6)]},{'label':'手机','children':_0x6441a4[_0x41312a(0x11a)]},{'label':'邮箱','children':_0x6441a4[_0x41312a(0x132)]}]:[]})}),jsxRuntime['jsx'](antd[_0x41312a(0x183)],{'title':_0x41312a(0x131),'size':_0x41312a(0x145),'children':jsxRuntime['jsx'](AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':a2_0x4e21e8(0x15a),'fontColor':a2_0x4e21e8(0x1b5),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a2_0x4e21e8(0x184)}},'account':{'backgroundColor':a2_0x4e21e8(0xc9),'fontColor':'#fff'},'menu':{'backgroundColor':a2_0x4e21e8(0xf1),'fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a2_0x4e21e8(0xc9),'backgroundColor':'transparent'}}},'left':{'width':0xf0,'backgroundColor':a2_0x4e21e8(0x193),'fontColor':a2_0x4e21e8(0x1b5),'border':{'right':{'width':0x1,'color':'#eee'}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a2_0x4e21e8(0xe3),'backgroundColor':a2_0x4e21e8(0xc9)}}}};function IndexPage(_0x5d5490){const _0x5d0279=a2_0x4e21e8;let {loginAccount:_0x34a18d,curPlatform:_0x21b36f,menuItems:_0x21add2,style:style=defaultStyle}=_0x5d5490;!_0x34a18d&&(_0x34a18d=WorkBench[_0x5d0279(0xda)](_0x5d0279(0x176)));!_0x21b36f&&(_0x21b36f=WorkBench[_0x5d0279(0xda)](_0x5d0279(0xce)));if(!_0x34a18d||!_0x21b36f)return threelsWorkbenchComponent['Tip'][_0x5d0279(0xd1)](_0x5d0279(0x191),{'onOk':()=>{const _0x3c03b9=_0x5d0279,_0x4abdd5=encodeURIComponent(window['parent'][_0x3c03b9(0xd7)][_0x3c03b9(0x175)][_0x3c03b9(0x121)]);window[_0x3c03b9(0x194)][_0x3c03b9(0xd7)][_0x3c03b9(0x175)][_0x3c03b9(0x121)]=window['_ctx']+_0x3c03b9(0x141)+_0x4abdd5;}}),null;let {platform:_0x5375fe,topMenu:_0x5bad07,rightComponent:_0x1b4753,showTab:_0x9266c7,showNav:_0x54b320,keepMenu:_0x477c12,tabCache:_0x3093d6}=_0x5d5490,[_0x320c80,_0x562d90]=react[_0x5d0279(0x17f)]([]),[_0x275418,_0x3f04a9]=react[_0x5d0279(0x17f)]({}),[_0x28915d,_0x2e626f]=react[_0x5d0279(0x17f)](null),_0x3751c0=reactRouter[_0x5d0279(0xfb)](),_0x128fa4=reactRouter[_0x5d0279(0x128)]();const {pathname:_0x2d6ca1}=_0x3751c0;let _0x559380=presenter_presenter[_0x5d0279(0x102)]();react[_0x5d0279(0x10d)](()=>{const _0xac03d3=_0x5d0279,_0x328f4b=_0x1faed5=>{let {menus:_0x1cfdbc,menusMap:_0x5a6ca6}=wrapperMenus(_0x1faed5),_0x4dbbf0=findCurMenu(_0x1cfdbc,_0x2d6ca1);_0x4dbbf0==null&&(_0x4dbbf0=findDefaultMenu(_0x1cfdbc));if(_0x4dbbf0){let {urlPath:_0x494ba1}=_0x4dbbf0;_0x2d6ca1!==_0x494ba1&&_0x128fa4(_0x494ba1);}_0x2e626f(_0x4dbbf0),_0x562d90(_0x1cfdbc),_0x3f04a9(_0x5a6ca6);};_0x21add2?_0x328f4b(_0x21add2):(_0x559380[_0xac03d3(0xd3)](),_0x559380['platformMenu']({},{},_0x3c4651=>{const _0x2ae4ad=_0xac03d3;_0x328f4b(_0x3c4651[_0x2ae4ad(0x126)]);}));},[]);const _0x20db23=react[_0x5d0279(0xcf)](_0x575b3c=>{if(_0x575b3c){let {urlPath:_0x3cbd8d}=_0x575b3c;_0x128fa4(_0x3cbd8d);}_0x2e626f(_0x575b3c);},[]);return jsxRuntime['jsxs'](antd['Layout'],{'className':_0x5d0279(0x173),'children':[jsxRuntime['jsxs'](antd[_0x5d0279(0xff)][_0x5d0279(0x16f)],{'className':_0x5d0279(0x171),'style':{'height':0x41,'background':style[_0x5d0279(0x17c)][_0x5d0279(0x18f)],'borderBottom':style[_0x5d0279(0x17c)][_0x5d0279(0xcc)][_0x5d0279(0xf5)]['width']+_0x5d0279(0x18c)+style[_0x5d0279(0x17c)][_0x5d0279(0xcc)][_0x5d0279(0xf5)][_0x5d0279(0xdc)]},'children':[jsxRuntime['jsx'](LogoComponent,{'platform':_0x5375fe,'style':style}),_0x5bad07&&jsxRuntime[_0x5d0279(0xe2)](TopMenu,{'menus':_0x320c80,'menusMap':_0x275418,'curMenu':_0x28915d,'onSelect':_0x20db23,'style':style}),jsxRuntime[_0x5d0279(0xe2)](_0x5d0279(0x144),{'className':_0x5d0279(0x190),'children':jsxRuntime[_0x5d0279(0xfc)](antd[_0x5d0279(0xfe)],{'size':0x10,'children':[_0x1b4753,jsxRuntime['jsx'](AccountComponent,{'style':style})]})})]}),jsxRuntime[_0x5d0279(0xfc)](antd[_0x5d0279(0xff)],{'children':[jsxRuntime['jsx'](LeftMenu,{'topMenu':_0x5bad07,'menus':_0x320c80,'menusMap':_0x275418,'curMenu':_0x28915d,'onSelect':_0x20db23,'style':style}),jsxRuntime[_0x5d0279(0xe2)](antd['Layout'][_0x5d0279(0x186)],{'style':{'padding':0xa,'backgroundColor':_0x5d0279(0xe3)},'children':jsxRuntime[_0x5d0279(0xe2)](MenuContent,{'menus':_0x320c80,'menusMap':_0x275418,'curMenu':_0x28915d,'showTab':_0x9266c7,'showNav':_0x54b320,'topMenu':_0x5bad07,'keepMenu':_0x477c12,'tabCache':_0x3093d6,'onTabChange':_0x20db23,'style':style})})]})]});}function LogoComponent(_0x1ba4ae){const _0x50e34b=a2_0x4e21e8;let {style:_0x34d485}=_0x1ba4ae,_0x120341=WorkBench[_0x50e34b(0xda)](_0x50e34b(0x176)),_0xc91acf=WorkBench[_0x50e34b(0xda)]('_curPlatform');const _0x5ed936=presenter_presenter[_0x50e34b(0x102)]();let {platform:_0x5b8b4d}=_0x1ba4ae;const _0x2d43f0=react[_0x50e34b(0xcf)](_0x477b4c=>{const _0x36b199=_0x50e34b;threelsWorkbenchComponent[_0x36b199(0x1b1)]['confirm'](_0x36b199(0x106)+_0x477b4c[_0x36b199(0x133)]+_0x36b199(0x18d),()=>{const _0x31458e=_0x36b199;_0x5ed936[_0x31458e(0x195)]({'userPlatformId':_0x477b4c[_0x31458e(0xd8)]},{},()=>{const _0x47ec21=_0x31458e;window[_0x47ec21(0x175)][_0x47ec21(0x197)]();});});},[]);return jsxRuntime[_0x50e34b(0xfc)](_0x50e34b(0x144),{'className':_0x50e34b(0xc4),'style':{'minWidth':0xdc},'children':[jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0xd9),{'className':_0x50e34b(0xe1),'src':window['_ctx']+'/_res/logo/'+_0x5b8b4d,'alt':_0x50e34b(0xfa),'style':{'height':_0x34d485[_0x50e34b(0x17c)][_0x50e34b(0xfa)]['height'],'width':_0x34d485['header'][_0x50e34b(0xfa)][_0x50e34b(0x11e)]}}),jsxRuntime[_0x50e34b(0xfc)](_0x50e34b(0x144),{'className':_0x50e34b(0x153),'children':[jsxRuntime[_0x50e34b(0xe2)]('div',{'className':'logo-title','style':{'color':_0x34d485['header']['fontColor']},'children':_0xc91acf['platformName']}),_0x120341['platforms'][_0x50e34b(0x161)]>0x1?jsxRuntime['jsx'](antd[_0x50e34b(0x146)],{'menu':((()=>{let _0x3f0cd3=[];return _0x120341['platforms']['forEach'](_0x64cc85=>{const _0x2ba2a1=a2_0x5b4b;_0x64cc85[_0x2ba2a1(0x133)]!==_0xc91acf[_0x2ba2a1(0x133)]&&_0x3f0cd3[_0x2ba2a1(0xf8)]({'key':_0x64cc85[_0x2ba2a1(0xd8)],'label':_0x64cc85[_0x2ba2a1(0x133)],'onClick':()=>_0x2d43f0(_0x64cc85)});}),{'items':_0x3f0cd3};})()),'children':jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0x144),{'className':'logo-sub-title','style':{'cursor':_0x50e34b(0x167)},'children':jsxRuntime[_0x50e34b(0xfc)](antd['Space'],{'children':[jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0x112),{'style':{'color':_0x34d485['header'][_0x50e34b(0xea)]},'children':_0xc91acf[_0x50e34b(0x133)]}),jsxRuntime[_0x50e34b(0xe2)](_0x50e34b(0x112),{'style':{'color':_0x34d485[_0x50e34b(0x17c)]['fontColor']},'children':jsxRuntime[_0x50e34b(0xe2)](icons[_0x50e34b(0xf3)],{})})]})})}):jsxRuntime[_0x50e34b(0xe2)]('div',{'className':_0x50e34b(0x169),'style':{'color':_0x34d485[_0x50e34b(0x17c)]['fontColor']},'children':_0xc91acf['userPlatformName']})]})]});}function AccountComponent(_0x5d5203){const _0x1b6656=a2_0x4e21e8;let {style:_0x1db78}=_0x5d5203,_0x3589aa=WorkBench[_0x1b6656(0xda)]('_account');const _0x23e9c3=presenter_presenter[_0x1b6656(0x16c)](),_0x46d4ec=react[_0x1b6656(0xcf)](()=>{const _0x3e3ed5=_0x1b6656;threelsWorkbenchComponent[_0x3e3ed5(0x1b1)][_0x3e3ed5(0x11b)](_0x3e3ed5(0x1b2),()=>{const _0x2ecb81=_0x3e3ed5;_0x23e9c3[_0x2ecb81(0x135)]({},{},()=>{const _0x32e7a2=_0x2ecb81;window[_0x32e7a2(0x175)][_0x32e7a2(0x121)]=window[_0x32e7a2(0xeb)]+'/login';});});},[]),_0x2eecb3=react['useCallback'](()=>{const _0xe09008=_0x1b6656;let _0x60ce73=threelsWorkbenchComponent[_0xe09008(0x113)]['show'](jsxRuntime['jsx'](AccountPwdForm,{'onCancel':()=>{const _0x559188=_0xe09008;_0x60ce73()[_0x559188(0x12d)]();},'onSuccess':()=>{_0x60ce73()['close']();}}),{'title':_0xe09008(0x1a5)});},[]);return jsxRuntime[_0x1b6656(0xe2)](antd[_0x1b6656(0x146)],{'menu':{'items':[{'key':'profile','icon':jsxRuntime[_0x1b6656(0xe2)](icons[_0x1b6656(0x16b)],{}),'label':'个人资料','onClick':()=>{const _0x38971f=_0x1b6656;AccountDetail[_0x38971f(0x115)]();}},{'key':_0x1b6656(0x13f),'icon':jsxRuntime[_0x1b6656(0xe2)](icons[_0x1b6656(0x18b)],{}),'label':'修改密码','onClick':_0x2eecb3},{'type':'divider'},{'key':_0x1b6656(0x199),'icon':jsxRuntime['jsx'](icons['LogoutOutlined'],{}),'label':_0x1b6656(0xe0),'onClick':_0x46d4ec}]},'children':jsxRuntime['jsxs'](antd[_0x1b6656(0xfe)],{'style':{'cursor':'pointer'},'children':[jsxRuntime[_0x1b6656(0xe2)](antd['Avatar'],{'size':0x20,'icon':jsxRuntime[_0x1b6656(0xe2)](icons[_0x1b6656(0x16b)],{'style':{'color':_0x1db78[_0x1b6656(0x17c)][_0x1b6656(0xd2)]['fontColor']}}),'style':{'backgroundColor':_0x1db78[_0x1b6656(0x17c)][_0x1b6656(0xd2)]['backgroundColor']}}),jsxRuntime[_0x1b6656(0xe2)](_0x1b6656(0x112),{'style':{'color':_0x1db78['header'][_0x1b6656(0xea)]},'children':_0x3589aa[_0x1b6656(0xf6)]})]})});}function TopMenu(_0x3e546f){const _0x43d549=a2_0x4e21e8;let {menus:_0x33c80e,curMenu:_0x15ffeb,style:_0x5ed32f}=_0x3e546f,[_0x49f4e,_0x420fac]=react[_0x43d549(0x17f)](null),_0x68eae3=react[_0x43d549(0x139)](_0x15ffeb);const _0x5c02aa=react[_0x43d549(0xcf)](({item:_0x263a8e,domEvent:_0x58bf06})=>{const _0x4de086=_0x43d549;_0x58bf06[_0x4de086(0x15b)]();let {data:_0x42259a,children:_0x264a80}=_0x263a8e[_0x4de086(0x1a3)][_0x4de086(0x165)];_0x264a80&&_0x264a80[_0x4de086(0x161)]>0x0&&(_0x42259a=findDefaultMenu(_0x264a80)),_0x3e546f[_0x4de086(0x1a9)](_0x42259a);},[]);if(!_0x15ffeb&&!_0x68eae3['current']||!_0x33c80e||_0x33c80e['length']===0x0)return null;let _0x5322b=null,_0x3b65ea=_0x33c80e[_0x43d549(0xf7)](_0x2ee12e=>{const _0x7dcbe9=_0x43d549;let {menuId:_0x539b00}=_0x15ffeb||_0x68eae3[_0x7dcbe9(0xfd)];if(_0x539b00===_0x2ee12e[_0x7dcbe9(0x1b6)])_0x5322b=_0x2ee12e[_0x7dcbe9(0x1b6)];else curMenuInMenus({'curMenu':_0x15ffeb||_0x68eae3[_0x7dcbe9(0xfd)],'menus':_0x2ee12e['children']})&&(_0x5322b=_0x2ee12e['key']);return{'key':_0x2ee12e[_0x7dcbe9(0x1b6)],'label':jsxRuntime[_0x7dcbe9(0xe2)](_0x7dcbe9(0x112),{'style':{'fontSize':_0x5ed32f[_0x7dcbe9(0x17c)][_0x7dcbe9(0x137)][_0x7dcbe9(0x118)]},'children':_0x2ee12e[_0x7dcbe9(0x111)]}),'icon':_0x2ee12e[_0x7dcbe9(0x1ae)]?jsxRuntime['jsx'](threelsWorkbenchComponent[_0x7dcbe9(0x119)],{'id':_0x2ee12e[_0x7dcbe9(0x1ae)],'fontSize':_0x5ed32f['header'][_0x7dcbe9(0x137)]['fontSize']}):null,'item':_0x2ee12e};});return _0x5322b!==_0x49f4e&&_0x420fac(_0x5322b),_0x15ffeb&&(_0x68eae3[_0x43d549(0xfd)]=_0x15ffeb),jsxRuntime[_0x43d549(0xe2)](_0x43d549(0x144),{'className':_0x43d549(0x147),'children':jsxRuntime[_0x43d549(0xe2)](_0x43d549(0x144),{'className':_0x43d549(0xc3),'children':jsxRuntime[_0x43d549(0xe2)](antd[_0x43d549(0xe4)],{'theme':{'components':{'Menu':{'activeBarHeight':_0x5ed32f[_0x43d549(0x17c)]['menu'][_0x43d549(0xf4)],'itemBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x18f)],'darkItemBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x18f)],'itemColor':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0xea)],'darkItemColor':_0x5ed32f[_0x43d549(0x17c)]['fontColor'],'horizontalItemHoverBg':_0x5ed32f['header'][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0x18f)],'horizontalItemHoverColor':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0xea)],'horizontalItemSelectedBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0x18f)],'horizontalItemSelectedColor':_0x5ed32f['header'][_0x43d549(0x137)][_0x43d549(0x12b)]['fontColor'],'darkItemSelectedBg':_0x5ed32f[_0x43d549(0x17c)][_0x43d549(0x137)][_0x43d549(0x12b)][_0x43d549(0x18f)],'itemHoverColor':_0x5ed32f[_0x43d549(0x17c)]['menu'][_0x43d549(0x12b)]['fontColor']}}},'children':jsxRuntime[_0x43d549(0xe2)](antd['Menu'],{'theme':_0x43d549(0x127),'mode':_0x43d549(0x16a),'items':_0x3b65ea,'selectedKeys':_0x49f4e?[_0x49f4e]:null,'onSelect':_0x5c02aa})})})});}function LeftMenu(_0x247a87){const _0x2c195e=a2_0x4e21e8;let {menus:_0x2b657e,topMenu:_0x1fc656,curMenu:_0x40e66e,style:_0x1042ec}=_0x247a87,_0x12b985=react[_0x2c195e(0x139)](_0x40e66e),_0x545ae8=react[_0x2c195e(0x139)](null),_0x1a3be8=findLeftMenu({'menus':_0x2b657e,'curMenu':_0x40e66e||_0x12b985[_0x2c195e(0xfd)],'topMenu':_0x1fc656}),[_0x482654,_0x125ed5]=react['useState']([]);const _0x25a08c=react[_0x2c195e(0xcf)](({item:_0x24f4ae,domEvent:_0x36a9bd})=>{const _0x426a20=_0x2c195e;_0x36a9bd[_0x426a20(0x15b)]();let {data:_0x11e992}=_0x24f4ae[_0x426a20(0x1a3)];_0x545ae8[_0x426a20(0xfd)]=_0x11e992[_0x426a20(0x151)],_0x247a87['onSelect'](_0x11e992);},[]);if(!_0x40e66e&&!_0x12b985['current']||!_0x1a3be8||_0x1a3be8['length']===0x0)return null;if(_0x40e66e&&(!_0x545ae8[_0x2c195e(0xfd)]||_0x545ae8[_0x2c195e(0xfd)]!==_0x40e66e[_0x2c195e(0x151)])){let _0x25b885={};_0x1a3be8[_0x2c195e(0x149)](_0x548999=>{const _0x2aeb85=_0x2c195e;_0x25b885[_0x548999[_0x2aeb85(0x1b6)]]=!![];}),_0x482654=findOpenMenuKeys(_0x40e66e,_0x25b885),_0x482654['length']>0x0&&_0x125ed5(_0x482654);}_0x40e66e&&(_0x12b985[_0x2c195e(0xfd)]=_0x40e66e,_0x545ae8[_0x2c195e(0xfd)]=_0x40e66e[_0x2c195e(0x151)]);const _0x41d174=_0x188eca=>{const _0x2f05e5=_0x2c195e;if(!_0x188eca||_0x188eca['length']===0x0)return _0x188eca;let _0x2c3424=[];for(let _0x2f22cf=0x0;_0x2f22cf<_0x188eca[_0x2f05e5(0x161)];_0x2f22cf++){let {key:_0x74e676,label:_0x1eabb4,icon:_0x39a5dd,children:_0x18ea23,data:_0x4e42bf}=_0x188eca[_0x2f22cf];_0x18ea23&&_0x18ea23[_0x2f05e5(0x161)]>0x0&&(_0x18ea23=_0x41d174(_0x18ea23)),_0x2c3424[_0x2f05e5(0xf8)]({'key':_0x74e676,'label':jsxRuntime[_0x2f05e5(0xe2)](_0x2f05e5(0x112),{'style':{'fontSize':_0x1042ec['left'][_0x2f05e5(0x137)][_0x2f05e5(0x118)]},'children':_0x1eabb4}),'icon':_0x39a5dd?jsxRuntime['jsx'](threelsWorkbenchComponent[_0x2f05e5(0x119)],{'id':_0x39a5dd,'fontSize':_0x1042ec['left']['menu'][_0x2f05e5(0x118)]}):null,'children':_0x18ea23,'data':_0x4e42bf});}return _0x2c3424;};return jsxRuntime['jsx'](antd[_0x2c195e(0xff)]['Sider'],{'width':_0x1042ec[_0x2c195e(0x108)]['width'],'collapsible':!![],'children':jsxRuntime[_0x2c195e(0xe2)](_0x2c195e(0x144),{'className':_0x2c195e(0x158),'style':{'background':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x18f)],'borderRight':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xcc)]['right'][_0x2c195e(0x11e)]+'px\x20solid\x20'+_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xcc)]['right'][_0x2c195e(0xdc)]},'children':jsxRuntime[_0x2c195e(0xe2)](antd[_0x2c195e(0xe4)],{'theme':{'components':{'Menu':{'itemBg':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x18f)],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xea)],'groupTitleColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xea)],'groupTitleFontSize':_0x1042ec['left']['fontSize'],'itemActiveBg':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0x18f)],'itemHoverColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0xea)],'itemHoverBg':_0x1042ec['left'][_0x2c195e(0x137)][_0x2c195e(0x12b)]['backgroundColor'],'itemSelectedBg':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0x18f)],'itemSelectedColor':_0x1042ec['left'][_0x2c195e(0x137)][_0x2c195e(0x12b)][_0x2c195e(0xea)],'subMenuItemSelectedColor':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0xea)],'itemMarginInline':0x0,'popupBg':_0x1042ec['left'][_0x2c195e(0x18f)],'itemMarginBlock':0x0,'itemHeight':_0x1042ec[_0x2c195e(0x108)][_0x2c195e(0x137)]['itemHeight']}}},'children':jsxRuntime['jsx'](antd['Menu'],{'theme':'light','mode':'inline','openKeys':_0x482654,'selectedKeys':_0x40e66e?[_0x40e66e[_0x2c195e(0x151)]]:[],'items':_0x41d174(_0x1a3be8),'onOpenChange':_0x30c633=>{_0x125ed5(_0x30c633);},'onSelect':_0x25a08c})})})});}class MenuContent extends threelsWorkbenchComponent[a2_0x4e21e8(0x14a)]{constructor(_0x33f1f0){const _0x12e8d1=a2_0x4e21e8;super(_0x33f1f0),this['registerPropListener'](_0x12e8d1(0x103),_0x4371cc=>{const _0x43cf0=_0x12e8d1;this[_0x43cf0(0x10b)](_0x4371cc);}),this['tabsMap']={};}['_createTabItem'](_0x20b143){const _0x5d491e=a2_0x4e21e8;return{'key':_0x20b143[_0x5d491e(0x151)],'label':_0x20b143[_0x5d491e(0xf6)],'icon':_0x20b143[_0x5d491e(0x185)]?jsxRuntime[_0x5d491e(0xe2)](threelsWorkbenchComponent[_0x5d491e(0x119)],{'id':_0x20b143[_0x5d491e(0x185)],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x20b143['menuId']+':'+_0x20b143[_0x5d491e(0xf6)],'data':_0x20b143};}[a2_0x4e21e8(0x12a)](_0x4b7c64,_0x709793){const _0x577391=a2_0x4e21e8;let _0x4f6ac4=this[_0x577391(0x140)](_0x709793);return jsxRuntime[_0x577391(0xe2)](threelsWorkbenchComponent[_0x577391(0x13c)],{'ref':_0x4b7c64,'activeKey':_0x709793['menuId'],'items':_0x4f6ac4,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':_0x577391(0x17d),'hideAdd':!![],'size':'small','_onItemsChange':({items:_0x625c01})=>{const _0x303bf1=_0x577391;this[_0x303bf1(0xe7)](_0x625c01,this[_0x303bf1(0x1a3)][_0x303bf1(0x103)]);},'onChange':({item:_0x2f60f1})=>{const _0x1c1034=_0x577391;this[_0x1c1034(0x1a3)][_0x1c1034(0x105)]&&this[_0x1c1034(0x1a3)]['onTabChange']((_0x2f60f1||{})[_0x1c1034(0x12c)]);}});}[a2_0x4e21e8(0xef)](_0x388f1b){const _0x52d5ef=a2_0x4e21e8;let _0x5e864f=WorkBench[_0x52d5ef(0xda)]('_account'),_0x5903ec=WorkBench[_0x52d5ef(0xda)]('_curPlatform'),{topMenu:_0x5e8b95}=this['props'],_0x28a344;if(_0x5e8b95){let _0x47059f=findRootMenu(_0x388f1b);return _0x28a344=_0x47059f[_0x52d5ef(0x151)],_0x52d5ef(0x14c)+WorkBench[_0x52d5ef(0x152)](_0x52d5ef(0xe5)+(_0x5903ec['userPlatformId']||_0x5903ec['platformId'])+'-'+_0x5e864f[_0x52d5ef(0x120)]+'-'+_0x28a344);}else return _0x52d5ef(0x14c)+WorkBench[_0x52d5ef(0x152)](_0x52d5ef(0xe5)+(_0x5903ec['userPlatformId']||_0x5903ec[_0x52d5ef(0x17a)])+'-'+_0x5e864f['accountId']);}[a2_0x4e21e8(0x140)](_0x1545eb){const _0x492ec1=a2_0x4e21e8;let _0x4b3a6e=[],{tabCache:_0x4ec388,menusMap:_0x102fb4}=this[_0x492ec1(0x1a3)];if(!_0x4ec388)return _0x4b3a6e['push'](this[_0x492ec1(0x198)](_0x1545eb)),_0x4b3a6e;let _0x75c4ad=WorkBench['getCookie'](this[_0x492ec1(0xef)](_0x1545eb)),_0x35effb=_0x75c4ad?_0x75c4ad[_0x492ec1(0x188)](','):[],_0x4a8db0=![];if(_0x35effb[_0x492ec1(0x161)]>0x0)for(let _0xd423b=0x0;_0xd423b<_0x35effb[_0x492ec1(0x161)];_0xd423b++){let _0x14c621=_0x102fb4[_0x35effb[_0xd423b]];if(!_0x14c621)continue;_0x14c621=_0x14c621[_0x492ec1(0x12c)],_0x4b3a6e[_0x492ec1(0xf8)](this['_createTabItem'](_0x14c621)),_0x14c621[_0x492ec1(0x151)]===_0x1545eb[_0x492ec1(0x151)]&&(_0x4a8db0=!![]);}return!_0x4a8db0&&_0x4b3a6e['push'](this[_0x492ec1(0x198)](_0x1545eb)),_0x4b3a6e;}[a2_0x4e21e8(0xe7)](_0x5bc950,_0xb9a827){const _0x1effc6=a2_0x4e21e8;if(!_0xb9a827)return;let {tabCache:_0x4f8b5d}=this[_0x1effc6(0x1a3)];if(!_0x4f8b5d)return;if(_0x5bc950&&_0x5bc950['length']>0x0){let _0x5f52fa=[];_0x5bc950['forEach'](_0x2e6217=>{_0x5f52fa['push'](_0x2e6217['key']);}),WorkBench[_0x1effc6(0x12f)](this[_0x1effc6(0xef)](_0xb9a827),_0x5f52fa[_0x1effc6(0x124)](','));}else WorkBench[_0x1effc6(0xd6)](this[_0x1effc6(0xef)](_0xb9a827));}[a2_0x4e21e8(0x10b)](_0x51002c){const _0x248021=a2_0x4e21e8;let {menus:_0x1d3ae5,topMenu:_0x23d646,showTab:_0x40ebf1}=this[_0x248021(0x1a3)];if(!_0x23d646&&_0x40ebf1){this['tabs']?this[_0x248021(0x11f)](this[_0x248021(0x1a1)],_0x51002c):this['cachePanel'][_0x248021(0x100)]({'key':_0x248021(0x14d),'children':this[_0x248021(0x12a)](_0x5c7223=>{const _0x5d7731=_0x248021;this[_0x5d7731(0x1a1)]=_0x5c7223;},_0x51002c)});return;}if(_0x23d646){if(_0x40ebf1){let _0x28d138=findLeftMenu({'menus':_0x1d3ae5,'curMenu':_0x51002c,'topMenu':_0x23d646});if(_0x28d138&&_0x28d138[_0x248021(0x161)]>0x0){let _0x34f126=findRootMenu(_0x51002c);if(this[_0x248021(0xc6)][_0x248021(0xd0)](_0x34f126['menuId'])){this[_0x248021(0xc6)][_0x248021(0xc7)](_0x34f126[_0x248021(0x151)],{'triggerOnChange':![]});let _0x410edc=this['tabsMap'][_0x34f126[_0x248021(0x151)]];this[_0x248021(0x11f)](_0x410edc,_0x51002c);}else this[_0x248021(0xc6)]['addItems']({'key':_0x34f126[_0x248021(0x151)],'children':this['_createTabs'](_0x50caf3=>{const _0x969949=_0x248021;this[_0x969949(0x123)][_0x34f126[_0x969949(0x151)]]=_0x50caf3;},_0x51002c)},{'activeKey':_0x34f126[_0x248021(0x151)],'triggerOnChange':![]});}else this[_0x248021(0x16e)](_0x51002c);}else this[_0x248021(0x16e)](_0x51002c);}else this[_0x248021(0x16e)](_0x51002c);}[a2_0x4e21e8(0x16e)](_0x162565){const _0x342705=a2_0x4e21e8;if(!_0x162565){this['cachePanel'][_0x342705(0x166)]();return;}let {menuId:_0x5df0da,name:_0x2fa2cf}=_0x162565;if(this[_0x342705(0x1a3)][_0x342705(0x117)]){this['cachePanel'][_0x342705(0xd0)](_0x5df0da)?this[_0x342705(0xc6)]['setActiveKey'](_0x5df0da,{'triggerOnChange':![]}):this[_0x342705(0xc6)]['addItems']({'key':_0x5df0da,'children':_0x5df0da+':'+_0x2fa2cf},{'activeKey':_0x5df0da,'triggerOnChange':![]});return;}this[_0x342705(0xc6)][_0x342705(0x100)]({'key':_0x5df0da,'children':_0x5df0da+':'+_0x2fa2cf});}[a2_0x4e21e8(0x11f)](_0x328104,_0x3d0328){const _0x3adb3f=a2_0x4e21e8;if(!_0x328104)return;if(!_0x3d0328){_0x328104[_0x3adb3f(0x166)]({'triggerOnChange':![]});return;}let {menuId:_0xa667a2}=_0x3d0328;_0x328104[_0x3adb3f(0xd0)](_0xa667a2)?_0x328104[_0x3adb3f(0xc7)](_0xa667a2,{'triggerOnChange':![]}):_0x328104[_0x3adb3f(0x168)](this[_0x3adb3f(0x198)](_0x3d0328),{'activeKey':_0xa667a2,'triggerOnChange':![]});}[a2_0x4e21e8(0x154)](){const _0x4476b8=a2_0x4e21e8;let {showNav:_0x482599,curMenu:_0x44f4e1}=this[_0x4476b8(0x1a3)];return jsxRuntime[_0x4476b8(0xfc)](jsxRuntime[_0x4476b8(0x159)],{'children':[_0x482599&&jsxRuntime[_0x4476b8(0xe2)](antd[_0x4476b8(0xcb)],{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x44f4e1)}),jsxRuntime['jsx'](threelsWorkbenchComponent[_0x4476b8(0x15d)],{'style':{'display':''+(_0x44f4e1?'block':'none')},'ref':_0x57fca4=>this[_0x4476b8(0xc6)]=_0x57fca4})]});}}function wrapperMenus(_0x24b864){const _0x2a6eb8=a2_0x4e21e8;if(!_0x24b864||_0x24b864[_0x2a6eb8(0x161)]===0x0)return{'menus':[],'menusMap':{}};let _0xab7771={},_0x39394c={};_0x24b864['forEach'](_0x130bfc=>{const _0x589520=_0x2a6eb8;let _0x36595e={'key':_0x130bfc[_0x589520(0x151)],'label':_0x130bfc[_0x589520(0xf6)],'icon':_0x130bfc[_0x589520(0x185)],'data':_0x130bfc};_0xab7771[_0x130bfc[_0x589520(0x151)]]=_0x36595e,_0x39394c[_0x130bfc[_0x589520(0x151)]]=_0x36595e;}),_0x24b864['forEach'](_0x117cb2=>{const _0x17593e=_0x2a6eb8;let {menuId:_0x42f1ee,parentMenuId:_0x19fdd0}=_0x117cb2,_0x12deed=_0xab7771[_0x19fdd0];_0x12deed&&(!_0x12deed['children']&&(_0x12deed[_0x17593e(0xf0)]=[]),_0x117cb2[_0x17593e(0xf2)]=_0x12deed[_0x17593e(0x12c)],_0x12deed[_0x17593e(0xf0)][_0x17593e(0xf8)](_0xab7771[_0x42f1ee]),delete _0x39394c[_0x42f1ee]);});let _0x1702f6=[];Object[_0x2a6eb8(0x1ab)](_0x39394c)[_0x2a6eb8(0x149)](_0x4fc111=>_0x1702f6['push'](_0x39394c[_0x4fc111]));if(_0x1702f6[_0x2a6eb8(0x161)]===0x0)return _0x1702f6;return _0x1702f6[_0x2a6eb8(0x15c)]((_0xdc0eb7,_0x33ae4e)=>{const _0x44bc87=_0x2a6eb8;let _0x4d20a1=_0xdc0eb7[_0x44bc87(0x12c)][_0x44bc87(0x15c)],_0x1a360c=_0x33ae4e[_0x44bc87(0x12c)][_0x44bc87(0x15c)];return _0x4d20a1-_0x1a360c;}),{'menus':_0x1702f6,'menusMap':_0xab7771};}function findCurMenu(_0x52f50d,_0x38a012){const _0x5e9024=a2_0x4e21e8;if('/'===_0x38a012||_0x38a012==='')return null;if(!_0x52f50d||_0x52f50d[_0x5e9024(0x161)]===0x0)return null;let _0x80be06=_0x38a012[_0x5e9024(0x188)]('/')[_0x5e9024(0x124)]('/');for(let _0x419a0b=0x0;_0x419a0b<_0x52f50d[_0x5e9024(0x161)];_0x419a0b++){let {data:_0x3a4c2e,children:_0x33b473}=_0x52f50d[_0x419a0b],{urlPath:_0x27fb1d}=_0x3a4c2e,_0x16c1a8=_0x27fb1d[_0x5e9024(0x188)]('/')[_0x5e9024(0x124)]('/');if(_0x80be06===_0x16c1a8){if(!_0x33b473||_0x33b473[_0x5e9024(0x161)]===0x0)return _0x3a4c2e;return null;}if(_0x33b473&&_0x33b473[_0x5e9024(0x161)]>0x0){let _0x2002bb=findCurMenu(_0x33b473,_0x38a012);if(_0x2002bb)return _0x2002bb;}}return null;}function findDefaultMenu(_0x2c6408){const _0x6760fd=a2_0x4e21e8;if(!_0x2c6408||_0x2c6408[_0x6760fd(0x161)]===0x0)return null;let {data:_0x15725a,children:_0x2348c2}=_0x2c6408[0x0];if(!_0x2348c2||_0x2348c2['length']===0x0)return _0x15725a;return findDefaultMenu(_0x2348c2);}function a2_0x52a7(){const _0x13a5db=['forEach','BaseComponent','setFieldsValue','ctm_','tab','Button','Form','closeSpin','menuId','md5','header-title','render','新密码不能与旧密码相同','roleNames','threels-workbench-component','slider-menu','Fragment','#fff','stopPropagation','sort','CachePanel','newPwd','请输入名称','grid','length','oldPwd','请输入旧密码!','269681mkHMKb','item','clearItems','pointer','addItems','logo-sub-title','horizontal','UserOutlined','useWorkbenchLoginPresenter','renderSpin','_cachePanelShowMenu','Header','noticeFail','layout-header','修改成功','workbench-index-layout','react','location','_account','setData','show','基本信息','platformId','componentDidMount','header','editable-card','Item','useState','space-between','defaultProps','默认平台','Card','#eee','iconCls','Content','2111000Cxelut','split','closeLoadingIndicator','39957247WyGrwv','SettingOutlined','px\x20solid\x20','\x22吗?','showDoingIndicator','backgroundColor','header-info','登录超时,需要重新登录','Table','#ffffff','parent','platformSwitch','closeDoingIndicator','reload','_createTabItem','logout','_onModify','vertical','presenter','100%','platformList','请输入邮箱','validateFields','tabs','Descriptions','props','4ZQJTUC','修改密码','Flex','旧密码','@ant-design/icons','onSelect','showSpin','keys','info','state','icon','reverse','请输入确认密码','Tip','确定要退出登录吗?','Password','WorkbenchAccountPresenter','rgba(0,\x200,\x200,\x200.88)','key','27GHqcAN','menu-box','header-logo','max-content','cachePanel','setActiveKey','Drawer','#108ee9','请输入新密码!','Breadcrumb','border','加载中...','_curPlatform','useCallback','exitItem','alertFail','account','showLoadingIndicator','确认密码','_closeForm','removeCookie','window','userPlatformId','img','get','platform','color','请输入手机','Input','8jqNNwr','退出登录','logo-img','jsx','#FFF','ConfigProvider','ct_','5983010MjRLbH','_saveCacheTabsItems','新密码','table-margin-hide','fontColor','_ctx','IndexPage','6wjBSwa','error','_getCacheTabsCookieName','children','transparent','parentMenu','DownOutlined','activeBarHeight','bottom','name','map','push','end','logo','useLocation','jsxs','current','Space','Layout','setItems','threels-workbench-core','useWorkbenchAccountPresenter','curMenu','3673416FZRGSp','onTabChange','确定要切换到\x22','_search','left','flex','Row','_menuChange','账号详情','useEffect','onSuccess','bind','Tag','label','span','Modal','form','showDetails','请输入旧密码','keepMenu','fontSize','SvgIcon','mobile','confirm','../../presenter/presenter.js','noticeSuccess','width','_tabsShowMenu','accountId','href','请输入邮箱!','tabsMap','join','4754659khaGlC','menuItems','light','useNavigate','modify','_createTabs','active','data','close','修改信息','setCookie','_onSubmit','关联平台','email','userPlatformName','修改密码成功','loginOut','请输入手机!','menu','请输入名称!','useRef','then','请输入确认密码!','Tabs','onCancel','primary','settings','_getCacheTabsItems','/login?backUrl=','react-router','newPwd2','div','small','Dropdown','header-menu','5167140fQrrcf'];a2_0x52a7=function(){return _0x13a5db;};return a2_0x52a7();}function findLeftMenu({menus:_0x376a6c,topMenu:_0x3f9fac,curMenu:_0xd53d56}={}){const _0x137577=a2_0x4e21e8;if(!_0xd53d56||!_0x376a6c||_0x376a6c[_0x137577(0x161)]===0x0)return null;if(!_0x3f9fac)return _0x376a6c;for(let _0x2a2d48=0x0;_0x2a2d48<_0x376a6c[_0x137577(0x161)];_0x2a2d48++){let {children:_0x1e9b8c}=_0x376a6c[_0x2a2d48];if(curMenuInMenus({'curMenu':_0xd53d56,'menus':_0x1e9b8c}))return _0x1e9b8c;}return null;}function curMenuInMenus({curMenu:_0x565b79,menus:_0xb03604}={}){const _0x163ff1=a2_0x4e21e8;if(!_0x565b79||!_0xb03604||_0xb03604[_0x163ff1(0x161)]===0x0)return![];for(let _0x50242d=0x0;_0x50242d<_0xb03604[_0x163ff1(0x161)];_0x50242d++){let {data:_0x6bf24e,children:_0x22a484}=_0xb03604[_0x50242d];if(_0x6bf24e[_0x163ff1(0x151)]===_0x565b79['menuId'])return!![];if(_0x22a484&&_0x22a484['length']>0x0){if(curMenuInMenus({'curMenu':_0x565b79,'menus':_0x22a484}))return!![];}}return![];}function a2_0x5b4b(_0x18e755,_0xecb58b){const _0x52a7b5=a2_0x52a7();return a2_0x5b4b=function(_0x5b4b6a,_0xcc8581){_0x5b4b6a=_0x5b4b6a-0xc2;let _0x487225=_0x52a7b5[_0x5b4b6a];return _0x487225;},a2_0x5b4b(_0x18e755,_0xecb58b);}function findOpenMenuKeys(_0xe98417,_0xd32788){const _0x43a6b4=a2_0x4e21e8;let _0x45c13a=[],{menuId:_0xc88885,parentMenu:_0x3dd9dc}=_0xe98417;if(_0xd32788[_0xc88885])return _0x45c13a;if(!_0x3dd9dc)return _0x45c13a;return _0x45c13a[_0x43a6b4(0xf8)](_0x3dd9dc[_0x43a6b4(0x151)]),_0x45c13a[_0x43a6b4(0xf8)](...findOpenMenuKeys(_0x3dd9dc,_0xd32788)),_0x45c13a;}function findRootMenu(_0x21aefc){let {parentMenu:_0x5d035a}=_0x21aefc;if(!_0x5d035a)return _0x21aefc;return findRootMenu(_0x5d035a);}function findBreadcrumbItems(_0x205eb7){const _0x30c6b9=a2_0x4e21e8;let _0x156b29=[];if(!_0x205eb7)return _0x156b29;let {iconCls:_0x2c4085,name:_0x3d1c50}=_0x205eb7;_0x2c4085?_0x156b29[_0x30c6b9(0xf8)]({'title':jsxRuntime[_0x30c6b9(0xfc)]('span',{'children':[jsxRuntime[_0x30c6b9(0xe2)](threelsWorkbenchComponent[_0x30c6b9(0x119)],{'id':_0x2c4085,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x3d1c50]})}):_0x156b29[_0x30c6b9(0xf8)]({'title':_0x3d1c50});let {parentMenu:_0x31eb53}=_0x205eb7;if(!_0x31eb53)return _0x156b29;return _0x156b29[_0x30c6b9(0xf8)](...findBreadcrumbItems(_0x31eb53)),_0x156b29[_0x30c6b9(0x1af)]();}exports[a2_0x4e21e8(0xec)]=IndexPage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const a3_0x246c5d=a3_0x401b;(function(_0x5d8ca4,_0x1d2349){const _0x2493d2=a3_0x401b,_0x26d81e=_0x5d8ca4();while(!![]){try{const _0x337d76=parseInt(_0x2493d2(0x1a6))/0x1*(parseInt(_0x2493d2(0x197))/0x2)+parseInt(_0x2493d2(0x1a5))/0x3*(parseInt(_0x2493d2(0x1a7))/0x4)+parseInt(_0x2493d2(0x19a))/0x5*(parseInt(_0x2493d2(0x19c))/0x6)+parseInt(_0x2493d2(0x199))/0x7*(-parseInt(_0x2493d2(0x198))/0x8)+-parseInt(_0x2493d2(0x1a3))/0x9+parseInt(_0x2493d2(0x1a2))/0xa+-parseInt(_0x2493d2(0x19d))/0xb*(-parseInt(_0x2493d2(0x19f))/0xc);if(_0x337d76===_0x1d2349)break;else _0x26d81e['push'](_0x26d81e['shift']());}catch(_0x584f51){_0x26d81e['push'](_0x26d81e['shift']());}}}(a3_0x450a,0x9ea5c));function a3_0x450a(){const _0xbcdc3f=['2291037snvPIc','2500ZdrLYu','LoginPage','3012AMOzHl','5049oXdJxY','toStringTag','6984JowJnp','./index/IndexPage.js','./login/LoginPage.js','2336090LinSND','7961328rtsBjV','IndexPage','1212FUFJmV','1kqPROC','9580SLmWUq','939334jcoUzA','16UeOjig'];a3_0x450a=function(){return _0xbcdc3f;};return a3_0x450a();}function a3_0x401b(_0x1498f0,_0x42e029){const _0x450ae8=a3_0x450a();return a3_0x401b=function(_0x401b1c,_0x1d0bb3){_0x401b1c=_0x401b1c-0x197;let _0x64cac4=_0x450ae8[_0x401b1c];return _0x64cac4;},a3_0x401b(_0x1498f0,_0x42e029);}Object['defineProperty'](exports,Symbol[a3_0x246c5d(0x19e)],{'value':'Module'});const page_login_LoginPage=require(a3_0x246c5d(0x1a1)),page_index_IndexPage=require(a3_0x246c5d(0x1a0));exports[a3_0x246c5d(0x19b)]=page_login_LoginPage[a3_0x246c5d(0x19b)],exports[a3_0x246c5d(0x1a4)]=page_index_IndexPage[a3_0x246c5d(0x1a4)];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';const a4_0x1940c9=a4_0x17fa;(function(_0x330434,_0x3b63ab){const _0x508e38=a4_0x17fa,_0x3a8f99=_0x330434();while(!![]){try{const _0x3ac17c=parseInt(_0x508e38(0x14b))/0x1*(parseInt(_0x508e38(0x185))/0x2)+-parseInt(_0x508e38(0x183))/0x3+-parseInt(_0x508e38(0x15d))/0x4*(-parseInt(_0x508e38(0x158))/0x5)+-parseInt(_0x508e38(0x15b))/0x6*(parseInt(_0x508e38(0x17c))/0x7)+-parseInt(_0x508e38(0x168))/0x8*(parseInt(_0x508e38(0x15c))/0x9)+-parseInt(_0x508e38(0x150))/0xa+parseInt(_0x508e38(0x165))/0xb;if(_0x3ac17c===_0x3b63ab)break;else _0x3a8f99['push'](_0x3a8f99['shift']());}catch(_0x211798){_0x3a8f99['push'](_0x3a8f99['shift']());}}}(a4_0x36a0,0xacbe0));function a4_0x17fa(_0x40ce8d,_0x1b9c15){const _0x36a019=a4_0x36a0();return a4_0x17fa=function(_0x17fa45,_0x46daf5){_0x17fa45=_0x17fa45-0x149;let _0x2b32a7=_0x36a019[_0x17fa45];return _0x2b32a7;},a4_0x17fa(_0x40ce8d,_0x1b9c15);}const jsxRuntime=require(a4_0x1940c9(0x171)),antd=require(a4_0x1940c9(0x172)),threelsWorkbenchComponent=require(a4_0x1940c9(0x16b)),icons=require(a4_0x1940c9(0x15e)),react=require(a4_0x1940c9(0x169)),presenter_presenter=require(a4_0x1940c9(0x16f));require(a4_0x1940c9(0x16c));function LoginPage(_0x40ba26){const _0x59b63a=a4_0x1940c9;let {platform:_0x293a85,platformName:_0x53d2f1}=_0x40ba26,[_0x5e46a9,_0x42caa8]=react['useState'](_0x53d2f1),{render:_0x28707b,show:_0x5f3ca9,close:_0x5a9898}=threelsWorkbenchComponent[_0x59b63a(0x159)][_0x59b63a(0x16e)](),_0x4218b2=presenter_presenter[_0x59b63a(0x179)]({'showDoingIndicator':_0x5f3ca9,'closeDoingIndicator':_0x5a9898});react['useEffect'](()=>{_0x4218b2['platform']({'platform':_0x293a85},{},_0x112593=>{const _0x2658d8=a4_0x17fa;_0x42caa8(_0x112593[_0x2658d8(0x149)]['name']);});},[]);let _0x2d88e1=react[_0x59b63a(0x182)](null);const _0x4651cb=react[_0x59b63a(0x167)](()=>{const _0x4f6fb3=_0x59b63a;_0x2d88e1[_0x4f6fb3(0x160)]['validateFields']()[_0x4f6fb3(0x14a)](_0xa29228=>{_0x4218b2['showDoingIndicator']('登录中...'),_0x4218b2['login']({..._0xa29228,'platform':_0x293a85},{},_0x5e880d=>{const _0x38701c=a4_0x17fa;let {backUrl:_0x1df555}=threelsWorkbenchComponent[_0x38701c(0x159)][_0x38701c(0x14c)]();if(_0x1df555)window['location']['href']=_0x1df555;else window['_ctx']?window[_0x38701c(0x17f)][_0x38701c(0x154)]=window['_ctx']:window[_0x38701c(0x17f)][_0x38701c(0x154)]='/';});});},[]);return jsxRuntime[_0x59b63a(0x155)]('div',{'className':_0x59b63a(0x15a),'children':[jsxRuntime[_0x59b63a(0x152)]('div',{'className':_0x59b63a(0x181),'children':jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x178),'style':{'backgroundImage':_0x59b63a(0x174)+window[_0x59b63a(0x16d)]+'/_res/cover/'+_0x293a85+')'}})}),jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x186),'children':jsxRuntime['jsxs'](_0x59b63a(0x15f),{'className':'login-box','children':[jsxRuntime[_0x59b63a(0x152)](_0x59b63a(0x15f),{'className':_0x59b63a(0x17b),'children':jsxRuntime[_0x59b63a(0x152)](antd[_0x59b63a(0x176)],{'src':window['_ctx']+_0x59b63a(0x184)+_0x293a85,'size':0x40})}),jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x14e),'children':jsxRuntime[_0x59b63a(0x152)]('span',{'children':_0x5e46a9})}),_0x28707b(jsxRuntime['jsx'](_0x59b63a(0x15f),{'className':_0x59b63a(0x153),'children':jsxRuntime[_0x59b63a(0x155)](antd[_0x59b63a(0x16a)],{'ref':_0x2d88e1,'wrapperCol':{'span':0x18},'children':[jsxRuntime['jsx'](antd[_0x59b63a(0x16a)]['Item'],{'name':_0x59b63a(0x14d),'rules':[{'required':!![],'message':'请输入账号!'}],'children':jsxRuntime['jsx'](antd[_0x59b63a(0x151)],{'prefix':jsxRuntime['jsx'](icons[_0x59b63a(0x157)],{'style':{'color':_0x59b63a(0x17d)}}),'placeholder':'请输入账号','onKeyDown':_0x18e954=>{const _0x51775e=_0x59b63a;_0x18e954[_0x51775e(0x163)]===_0x51775e(0x14f)&&_0x4651cb();}})}),jsxRuntime[_0x59b63a(0x152)](antd[_0x59b63a(0x16a)][_0x59b63a(0x162)],{'name':_0x59b63a(0x180),'rules':[{'required':!![],'message':_0x59b63a(0x175)}],'children':jsxRuntime[_0x59b63a(0x152)](antd['Input'][_0x59b63a(0x170)],{'prefix':jsxRuntime[_0x59b63a(0x152)](icons['LockOutlined'],{'style':{'color':_0x59b63a(0x17d)}}),'placeholder':_0x59b63a(0x156),'onKeyDown':_0x223f5b=>{const _0x39251f=_0x59b63a;_0x223f5b[_0x39251f(0x163)]==='Enter'&&_0x4651cb();}})}),jsxRuntime[_0x59b63a(0x152)](antd[_0x59b63a(0x177)],{'children':jsxRuntime['jsx'](antd[_0x59b63a(0x17e)],{'span':0x18,'children':jsxRuntime['jsx'](antd[_0x59b63a(0x166)],{'type':_0x59b63a(0x161),'className':_0x59b63a(0x164),'size':_0x59b63a(0x173),'onClick':_0x4651cb,'children':'登录'})})})]})}))]})})]});}function a4_0x36a0(){const _0x47fe51=['login-info','data','then','22621VvAwVc','useUrlQuery','account','login-name','Enter','1677320nPBMBP','Input','jsx','login-form','href','jsxs','请输入密码','UserOutlined','5VlBeek','BaseFunction','workbench-login-container','348zjwYnY','108ahzMNE','1466172gkynSx','@ant-design/icons','div','current','primary','Item','key','login-btn','10294988pBYZHt','Button','useCallback','459472CbDVBs','react','Form','threels-workbench-component','threels-workbench-core','_ctx','useSpin','../../presenter/presenter.js','Password','react/jsx-runtime','antd','large','url(','请输入密码!','Avatar','Row','img-bg','useWorkbenchLoginPresenter','LoginPage','login-logo','100513GbyfDG','rgba(0,0,0,.25)','Col','location','password','login-img','useRef','447876AAZPcL','/_res/logo/','110FAzUld'];a4_0x36a0=function(){return _0x47fe51;};return a4_0x36a0();}exports[a4_0x1940c9(0x17a)]=LoginPage;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use strict';function a5_0x544a(_0x495106,_0x10d71c){const _0xf8903=a5_0xf890();return a5_0x544a=function(_0x544af7,_0x3d4f8a){_0x544af7=_0x544af7-0x189;let _0x12355b=_0xf8903[_0x544af7];return _0x12355b;},a5_0x544a(_0x495106,_0x10d71c);}const a5_0x1dde88=a5_0x544a;(function(_0x48f84f,_0xb7b962){const _0xb5cb16=a5_0x544a,_0x3484cf=_0x48f84f();while(!![]){try{const _0x1467ec=parseInt(_0xb5cb16(0x18d))/0x1*(parseInt(_0xb5cb16(0x18b))/0x2)+-parseInt(_0xb5cb16(0x198))/0x3+-parseInt(_0xb5cb16(0x1a6))/0x4+parseInt(_0xb5cb16(0x18f))/0x5*(parseInt(_0xb5cb16(0x193))/0x6)+parseInt(_0xb5cb16(0x18a))/0x7+-parseInt(_0xb5cb16(0x1ab))/0x8*(parseInt(_0xb5cb16(0x18c))/0x9)+parseInt(_0xb5cb16(0x19d))/0xa;if(_0x1467ec===_0xb7b962)break;else _0x3484cf['push'](_0x3484cf['shift']());}catch(_0x49d1e9){_0x3484cf['push'](_0x3484cf['shift']());}}}(a5_0xf890,0xd5624));const react=require('react'),WorkBench=require(a5_0x1dde88(0x19c));function useWorkbenchLoginPresenter(_0x4dc7f8){const _0x4ff769=a5_0x1dde88;return react[_0x4ff769(0x199)](()=>new WorkbenchLoginPresenter(_0x4dc7f8),[]);}class WorkbenchLoginPresenter extends WorkBench[a5_0x1dde88(0x194)]{constructor(_0x203c9c){super(_0x203c9c);}[a5_0x1dde88(0x19a)](_0x304f8a,_0x28273a,_0x29d5a3,_0x98945d,_0x476ab3){const _0x472c31=a5_0x1dde88;let _0x42d981=_0x472c31(0x19f);WorkBench[_0x472c31(0x18e)]({..._0x476ab3?_0x476ab3:{},'url':_0x42d981,'bodyParams':_0x304f8a,'urlParams':_0x28273a})[_0x472c31(0x195)](_0x5ce3e1=>this[_0x472c31(0x196)](_0x29d5a3,_0x5ce3e1,{'url':_0x42d981,'body':_0x304f8a,'query':_0x28273a}),_0x4c7dad=>this[_0x472c31(0x1aa)](_0x98945d,_0x4c7dad,{'url':_0x42d981,'body':_0x304f8a,'query':_0x28273a}));}[a5_0x1dde88(0x1a8)](_0x4fc9a6,_0xddd9e5,_0x58c304,_0x19abfe,_0x4e0755){const _0x596b0e=a5_0x1dde88;let _0x18793c=_0x596b0e(0x192);WorkBench[_0x596b0e(0x18e)]({..._0x4e0755?_0x4e0755:{},'url':_0x18793c,'bodyParams':_0x4fc9a6,'urlParams':_0xddd9e5})[_0x596b0e(0x195)](_0x58d5d1=>this['resolve'](_0x58c304,_0x58d5d1,{'url':_0x18793c,'body':_0x4fc9a6,'query':_0xddd9e5}),_0x5d35e7=>this[_0x596b0e(0x1aa)](_0x19abfe,_0x5d35e7,{'url':_0x18793c,'body':_0x4fc9a6,'query':_0xddd9e5}));}[a5_0x1dde88(0x1a1)](_0x46a03e,_0x34a40d,_0x4d29d7,_0x4ac601,_0x5d56fa){const _0xe8cbe4=a5_0x1dde88;let _0x2fe3f2=_0xe8cbe4(0x190);WorkBench[_0xe8cbe4(0x18e)]({..._0x5d56fa?_0x5d56fa:{},'url':_0x2fe3f2,'bodyParams':_0x46a03e,'urlParams':_0x34a40d})[_0xe8cbe4(0x195)](_0x564010=>this[_0xe8cbe4(0x196)](_0x4d29d7,_0x564010,{'url':_0x2fe3f2,'body':_0x46a03e,'query':_0x34a40d}),_0x524a53=>this[_0xe8cbe4(0x1aa)](_0x4ac601,_0x524a53,{'url':_0x2fe3f2,'body':_0x46a03e,'query':_0x34a40d}));}}function useWorkbenchAccountPresenter(_0x646073){const _0x47a13c=a5_0x1dde88;return react[_0x47a13c(0x199)](()=>new WorkbenchAccountPresenter(_0x646073),[]);}function a5_0xf890(){const _0x3e35d3=['7495820HpcgfT','submitJsonData','/api/platform_info','platformList','loginOut','/api/_webplatform_workbench/account/info','useWorkbenchLoginPresenter','/api/_webplatform_workbench/account/modify','/api/_webplatform_workbench/account/platform/list','1870328mbGfHr','platformMenu','login','info','reject','152ejjWth','resetPwd','WorkbenchAccountPresenter','631218mojCCz','31138FUtKiz','322038tgOJkO','49iuENNi','submitFormData','530940LJCmPM','/api/loginOut','modify','/api/login','48VQxuiJ','Presenter','then','resolve','/api/_webplatform_workbench/account/reset/pwd','1292043mUFWqa','useMemo','platform','/api/_webplatform_workbench/account/platform/menu','threels-workbench-core'];a5_0xf890=function(){return _0x3e35d3;};return a5_0xf890();}class WorkbenchAccountPresenter extends WorkBench['Presenter']{constructor(_0x1f0634){super(_0x1f0634);}[a5_0x1dde88(0x1a7)](_0x36132c,_0x42afe3,_0x147416,_0x2f9fad,_0x1aff64){const _0x26033b=a5_0x1dde88;let _0x5289ba=_0x26033b(0x19b);WorkBench[_0x26033b(0x18e)]({..._0x1aff64?_0x1aff64:{},'url':_0x5289ba,'bodyParams':_0x36132c,'urlParams':_0x42afe3})[_0x26033b(0x195)](_0x207bd6=>this['resolve'](_0x147416,_0x207bd6,{'url':_0x5289ba,'body':_0x36132c,'query':_0x42afe3}),_0x47b81c=>this['reject'](_0x2f9fad,_0x47b81c,{'url':_0x5289ba,'body':_0x36132c,'query':_0x42afe3}));}[a5_0x1dde88(0x1a0)](_0x4fa70b,_0x3648d6,_0x5e8936,_0x3d999f,_0x9ccbf6){const _0x5b8874=a5_0x1dde88;let _0x543c11=_0x5b8874(0x1a5);WorkBench[_0x5b8874(0x18e)]({..._0x9ccbf6?_0x9ccbf6:{},'url':_0x543c11,'bodyParams':_0x4fa70b,'urlParams':_0x3648d6})[_0x5b8874(0x195)](_0x4023a8=>this[_0x5b8874(0x196)](_0x5e8936,_0x4023a8,{'url':_0x543c11,'body':_0x4fa70b,'query':_0x3648d6}),_0x5c94ab=>this[_0x5b8874(0x1aa)](_0x3d999f,_0x5c94ab,{'url':_0x543c11,'body':_0x4fa70b,'query':_0x3648d6}));}['platformSwitch'](_0x2a3436,_0x4c3fea,_0x4c0da6,_0x316412,_0x5f3b56){const _0x2ba7c1=a5_0x1dde88;let _0x7bd707='/api/_webplatform_workbench/account/platform/switch';WorkBench[_0x2ba7c1(0x18e)]({..._0x5f3b56?_0x5f3b56:{},'url':_0x7bd707,'bodyParams':_0x2a3436,'urlParams':_0x4c3fea})[_0x2ba7c1(0x195)](_0x790dcd=>this[_0x2ba7c1(0x196)](_0x4c0da6,_0x790dcd,{'url':_0x7bd707,'body':_0x2a3436,'query':_0x4c3fea}),_0x2753cd=>this[_0x2ba7c1(0x1aa)](_0x316412,_0x2753cd,{'url':_0x7bd707,'body':_0x2a3436,'query':_0x4c3fea}));}[a5_0x1dde88(0x1a9)](_0x5a1d0d,_0x669f52,_0x533894,_0x3176d5,_0x3250af){const _0x202353=a5_0x1dde88;let _0xc6d72f=_0x202353(0x1a2);WorkBench[_0x202353(0x18e)]({..._0x3250af?_0x3250af:{},'url':_0xc6d72f,'bodyParams':_0x5a1d0d,'urlParams':_0x669f52})['then'](_0x368ae1=>this[_0x202353(0x196)](_0x533894,_0x368ae1,{'url':_0xc6d72f,'body':_0x5a1d0d,'query':_0x669f52}),_0xe9e5f7=>this[_0x202353(0x1aa)](_0x3176d5,_0xe9e5f7,{'url':_0xc6d72f,'body':_0x5a1d0d,'query':_0x669f52}));}[a5_0x1dde88(0x191)](_0x5e8d38,_0x4bd319,_0x1d1b8f,_0x281271,_0xf3d7ba){const _0x197172=a5_0x1dde88;let _0xb6a34f=_0x197172(0x1a4);WorkBench[_0x197172(0x19e)]({..._0xf3d7ba?_0xf3d7ba:{},'url':_0xb6a34f,'bodyParams':_0x5e8d38,'urlParams':_0x4bd319})['then'](_0x4af66f=>this[_0x197172(0x196)](_0x1d1b8f,_0x4af66f,{'url':_0xb6a34f,'body':_0x5e8d38,'query':_0x4bd319}),_0x5ca3d9=>this['reject'](_0x281271,_0x5ca3d9,{'url':_0xb6a34f,'body':_0x5e8d38,'query':_0x4bd319}));}[a5_0x1dde88(0x1ac)](_0xaf6f7a,_0x1c0ac5,_0x5756b0,_0x10e3d3,_0x44dfd2){const _0x13f091=a5_0x1dde88;let _0x152c39=_0x13f091(0x197);WorkBench[_0x13f091(0x18e)]({..._0x44dfd2?_0x44dfd2:{},'url':_0x152c39,'bodyParams':_0xaf6f7a,'urlParams':_0x1c0ac5})[_0x13f091(0x195)](_0x246c5e=>this['resolve'](_0x5756b0,_0x246c5e,{'url':_0x152c39,'body':_0xaf6f7a,'query':_0x1c0ac5}),_0x196e81=>this[_0x13f091(0x1aa)](_0x10e3d3,_0x196e81,{'url':_0x152c39,'body':_0xaf6f7a,'query':_0x1c0ac5}));}}exports[a5_0x1dde88(0x189)]=WorkbenchAccountPresenter,exports['useWorkbenchAccountPresenter']=useWorkbenchAccountPresenter,exports[a5_0x1dde88(0x1a3)]=useWorkbenchLoginPresenter;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a6_0x93c844=a6_0x4abb;(function(_0x1387b8,_0x2ff91f){const _0x5edae5=a6_0x4abb,_0x2dce26=_0x1387b8();while(!![]){try{const _0x932315=-parseInt(_0x5edae5(0x161))/0x1+-parseInt(_0x5edae5(0x170))/0x2+parseInt(_0x5edae5(0x16e))/0x3+parseInt(_0x5edae5(0x173))/0x4+parseInt(_0x5edae5(0x172))/0x5+-parseInt(_0x5edae5(0x177))/0x6*(-parseInt(_0x5edae5(0x15a))/0x7)+-parseInt(_0x5edae5(0x148))/0x8*(-parseInt(_0x5edae5(0x166))/0x9);if(_0x932315===_0x2ff91f)break;else _0x2dce26['push'](_0x2dce26['shift']());}catch(_0x2da01d){_0x2dce26['push'](_0x2dce26['shift']());}}}(a6_0xc663,0x2fc6c));import{jsx,jsxs}from'react/jsx-runtime';function a6_0x4abb(_0x47c111,_0x30c8e0){const _0xc6639d=a6_0xc663();return a6_0x4abb=function(_0x4abb74,_0x29ddcf){_0x4abb74=_0x4abb74-0x143;let _0x16a0a0=_0xc6639d[_0x4abb74];return _0x16a0a0;},a6_0x4abb(_0x47c111,_0x30c8e0);}import{StrictMode}from'react';import{ConfigProvider,Result,Button}from'antd';import a6_0x25cc3c from'antd/locale/zh_CN';import{BrowserRouter,Routes,Route}from'react-router';import{L as a6_0x514dab}from'../page/login/LoginPage.js';import{I as a6_0x4b6576}from'../page/index/IndexPage.js';import a6_0x205c08,{registerFetchReturnJsonChecker,registerPresenterDoError,registerPresenterTipError,registerPresenterShowIndicator,registerPresenterCloseIndicator,registerFetchResponseChecker,registerFetchParamsProcessor,registerFetchEncryptFunction,registerFetchDecryptFunction}from'threels-workbench-core';import{Tip}from'threels-workbench-component';let cfg={'fetchEncryptChecker':void 0x0};function registerFetchEncryptChecker(_0x4a0211){const _0x106ad2=a6_0x4abb;cfg[_0x106ad2(0x14e)]=_0x4a0211;}let doResultCode=!![];function appInit(){const _0x1548c6=a6_0x4abb;(window[_0x1548c6(0x175)]===void 0x0||window[_0x1548c6(0x175)]===null)&&(window[_0x1548c6(0x175)]=a6_0x205c08[_0x1548c6(0x156)](_0x1548c6(0x175))||''),registerFetchReturnJsonChecker((_0x389c4d,_0x596ebd,_0x169d9a)=>{const _0x4cd22e=_0x1548c6;let {code:_0x520e0d,data:_0x2b88f0,success:_0x22837d}=_0x389c4d;if(!_0x22837d){_0x169d9a(_0x520e0d?_0x520e0d:_0x4cd22e(0x165),_0x389c4d[_0x4cd22e(0x155)]||_0x389c4d[_0x4cd22e(0x150)]||_0x4cd22e(0x149),_0x2b88f0);return;}_0x596ebd(_0x389c4d);}),registerPresenterDoError(_0x5271b9=>{const _0x41793c=_0x1548c6;if(!doResultCode)return!![];switch(_0x5271b9[_0x41793c(0x15b)]){case _0x41793c(0x146):doResultCode=![],Tip[_0x41793c(0x153)]('登录被重置,需要重新登录',{'onOk':()=>{const _0x64f0a8=_0x41793c;window[_0x64f0a8(0x143)][_0x64f0a8(0x145)]['location'][_0x64f0a8(0x159)]();}});return!![];case _0x41793c(0x174):{return doResultCode=![],Tip[_0x41793c(0x153)](_0x41793c(0x169),{'onOk':()=>{const _0x72f5f0=_0x41793c,_0x6bfae3=encodeURIComponent(window[_0x72f5f0(0x143)]['window'][_0x72f5f0(0x152)][_0x72f5f0(0x15d)]);window[_0x72f5f0(0x143)]['window']['location'][_0x72f5f0(0x15d)]=window[_0x72f5f0(0x175)]+_0x72f5f0(0x16f)+_0x6bfae3;}}),!![];}case _0x41793c(0x176):doResultCode=![],Tip[_0x41793c(0x153)](_0x41793c(0x162),{'onOk':()=>{const _0x4d87c9=_0x41793c;window[_0x4d87c9(0x143)][_0x4d87c9(0x145)][_0x4d87c9(0x152)][_0x4d87c9(0x159)]();}});return!![];}return![];}),registerPresenterTipError(_0xeaebbc=>{const _0x52608c=_0x1548c6;Tip[_0x52608c(0x15f)](_0xeaebbc[_0x52608c(0x150)]||_0xeaebbc[_0x52608c(0x155)]);}),registerPresenterShowIndicator(_0x557836=>Tip[_0x1548c6(0x16b)](_0x557836||_0x1548c6(0x16a))),registerPresenterCloseIndicator(()=>Tip['toastHide']()),registerFetchResponseChecker((_0x46ab46,_0x221a9a)=>{const _0x54ea21=_0x1548c6;let {status:_0x368fb8}=_0x46ab46;_0x368fb8!==0xc8&&_0x221a9a(_0x54ea21(0x14d),_0x54ea21(0x168)+_0x368fb8+'\x20!');}),registerFetchParamsProcessor(requestParamsProcessor),registerFetchEncryptFunction(_0x20c855=>{const _0x4d7ed7=_0x1548c6;if(cfg[_0x4d7ed7(0x14e)])return cfg[_0x4d7ed7(0x14e)](_0x20c855)&&a6_0x205c08[_0x4d7ed7(0x15c)]();return a6_0x205c08[_0x4d7ed7(0x15c)]();},_0x343001=>a6_0x205c08['encrypt'](_0x343001)),registerFetchDecryptFunction(({response:_0x36dc59})=>{const _0x4fd8d5=_0x1548c6;return _0x36dc59[_0x4fd8d5(0x147)]['get']('dataencrypt');},_0x46e45e=>a6_0x205c08['decrypt'](_0x46e45e));}const API_CONFIG={'uploadImgUrl':window[a6_0x93c844(0x16d)]+'/image','uploadFileUrl':window[a6_0x93c844(0x16d)]+a6_0x93c844(0x14c)},requestParamsProcessor=({url:_0x13b749,bodyParams:_0x38615b,urlParams:_0x11424e,headers:_0x2e1ae3})=>{const _0x926638=a6_0x93c844;let _0xb8b780=_0x13b749[_0x926638(0x151)]();!_0xb8b780[_0x926638(0x164)]('http://')&&!_0xb8b780['startsWith'](_0x926638(0x157))&&(_0x13b749!==API_CONFIG[_0x926638(0x158)]&&_0x13b749!==API_CONFIG[_0x926638(0x178)]&&(_0x13b749=''+window[_0x926638(0x175)]+_0x13b749));let _0x108363=a6_0x205c08[_0x926638(0x144)]();return _0x11424e={..._0x11424e,..._0x108363},{'url':_0x13b749,'bodyParams':_0x38615b,'urlParams':_0x11424e,'headers':_0x2e1ae3};};function a6_0xc663(){const _0x25661a=['/login','服务器返回错误状态:','登录超时,需要重新登录','加载中...','toastLoading','root','_ctxRes','239889aJYOUd','/login?backUrl=','492288UIPLKi','abc','917185TNJLUq','1022636cjAGHY','USER_NEED_LOGIN','_ctx','DECRYPT_SERVER_DATA_ERROR','83154MQicGF','uploadFileUrl','用户管理','parent','signature','window','USER_LOGIN_INFO_CHANGE','headers','54992PGnJmh','服务器返回数据错误','404','/22','/file','RESPONSE_STATUS_ERROR','fetchEncryptChecker','系统设置','msg','toLowerCase','location','alertFail','系统管理','message','get','https://','uploadImgUrl','reload','63YTYHVg','code','isRequestEncrypt','href','icon-adduser','noticeFail','primary','332560FWtpEg','服务器配置更新,需要刷新网页','角色管理','startsWith','FAILS','171pulNHx'];a6_0xc663=function(){return _0x25661a;};return a6_0xc663();}appInit();function getBaseName(){let {_ctx:_0x3db2fa}=window;return _0x3db2fa;}function App(_0x2a8ea3){const _0x586125=a6_0x93c844;let {platform:platform=_0x586125(0x16c),platformName:platformName='',locale:_0x2bb36c,children:_0xf3b8aa,topMenu:_0x30b446,topComponent:_0xcdc991,showNav:_0x5d6789,showTab:_0x36b4b7,tabCache:_0x17fff5,keepMenu:_0xef356}=_0x2a8ea3;return jsx(StrictMode,{'children':jsx(ConfigProvider,{'locale':_0x2bb36c?_0x2bb36c:a6_0x25cc3c,'children':jsx(BrowserRouter,{'basename':getBaseName(),'children':jsxs(Routes,{'children':[jsx(Route,{'path':'/*','element':jsx(a6_0x4b6576,{'platform':platform,'platformName':platformName,'topMenu':_0x30b446,'rightComponent':_0xcdc991,'showNav':_0x5d6789,'showTab':_0x36b4b7,'keepMenu':_0xef356,'tabCache':_0x17fff5,'menuItems':menuItems})}),jsx(Route,{'path':_0x586125(0x167),'element':jsx(a6_0x514dab,{'platform':platform,'platformName':platformName})}),_0xf3b8aa,jsx(Route,{'path':'*','element':jsx(Page404,{})})]})})})});}function Page404(){const _0xfe003b=a6_0x93c844,_0x4ddc7b=()=>{const _0x589d65=a6_0x4abb;let {_ctx:_0x1dd8df}=window;window[_0x589d65(0x152)][_0x589d65(0x15d)]=_0x1dd8df||'/';};return jsx(Result,{'status':_0xfe003b(0x14a),'title':'抱歉,您访问的页面不存在!!!','extra':jsx(Button,{'type':_0xfe003b(0x160),'onClick':_0x4ddc7b,'children':'返回'})});}let menuItems=[{'menuId':'1','name':'仪表盘','urlPath':'/1','componentId':'abc','extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'2','name':a6_0x93c844(0x179),'urlPath':'/2','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'22','name':'用户管理22','parentMenuId':'2','urlPath':a6_0x93c844(0x14b),'componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'23','name':'用户管理23','parentMenuId':'2','urlPath':'/23','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'3','name':a6_0x93c844(0x154),'urlPath':'/3','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'4','parentMenuId':'3','name':a6_0x93c844(0x179),'urlPath':'/4','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'5','parentMenuId':'3','name':a6_0x93c844(0x14f),'urlPath':'/5','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'6','parentMenuId':'5','name':a6_0x93c844(0x163),'urlPath':'/6','componentId':'abc','extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1},{'menuId':'7','parentMenuId':'5','name':'用户权限','urlPath':'/7','componentId':a6_0x93c844(0x171),'extArg':'','iconCls':a6_0x93c844(0x15e),'sort':0x1}];export{App as A,registerFetchEncryptChecker as r};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x3fcb22,_0x4d6a46){var _0xb76110=a7_0x36da,_0x1a6954=_0x3fcb22();while(!![]){try{var _0x146eb2=parseInt(_0xb76110(0x1e3))/0x1+parseInt(_0xb76110(0x1e8))/0x2*(-parseInt(_0xb76110(0x1ec))/0x3)+-parseInt(_0xb76110(0x1e1))/0x4*(parseInt(_0xb76110(0x1e4))/0x5)+-parseInt(_0xb76110(0x1eb))/0x6*(parseInt(_0xb76110(0x1e2))/0x7)+-parseInt(_0xb76110(0x1e0))/0x8*(parseInt(_0xb76110(0x1e9))/0x9)+parseInt(_0xb76110(0x1e5))/0xa*(parseInt(_0xb76110(0x1e7))/0xb)+parseInt(_0xb76110(0x1ea))/0xc*(parseInt(_0xb76110(0x1e6))/0xd);if(_0x146eb2===_0x4d6a46)break;else _0x1a6954['push'](_0x1a6954['shift']());}catch(_0x2badb4){_0x1a6954['push'](_0x1a6954['shift']());}}}(a7_0xcc8c,0x28894));function a7_0xcc8c(){var _0x1aff7c=['158944hPstFt','28CKuSIA','91uSmOgS','195679eLnbXu','148015KCwtSQ','10DTmrwN','1729jWjXwr','1448843uVqQCx','91244gSoqMY','117BErCVX','68568okrEDR','126150FLHBiQ','12TvQHge'];a7_0xcc8c=function(){return _0x1aff7c;};return a7_0xcc8c();}import'./../assets/app/app.css';function a7_0x36da(_0xde6652,_0x2dc11f){var _0xcc8ceb=a7_0xcc8c();return a7_0x36da=function(_0x36da1b,_0x1675b2){_0x36da1b=_0x36da1b-0x1e0;var _0x2fc8dd=_0xcc8ceb[_0x36da1b];return _0x2fc8dd;},a7_0x36da(_0xde6652,_0x2dc11f);}import{A as a7_0xfb0fe7}from'./app/app.js';import{r}from'./app/app.js';export{a7_0xfb0fe7 as default,r as registerFetchEncryptChecker};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const a8_0x39607d=a8_0x1094;function a8_0x5a9e(){const _0x549417=['_curPlatform','validateFields','light','props','vertical','4881390vGMbSt','keys','reload','none','_cachePanelShowMenu','email','children','4jnfNJh','logo-sub-title','modify','账号详情','pointer','#108ee9','location','noticeSuccess','fontSize','stopPropagation','componentDidMount','onTabChange','horizontal','forEach','primary','bind','onSelect','account','then','setData','platformSwitch','addItems','backgroundColor','grid','split','setFieldsValue','newPwd','_createTabs','6777oqaPUi','closeLoadingIndicator','header-logo','12664nKOUNn','209saRBAD','block','parentMenu','默认平台','transparent','修改密码','_account','_saveCacheTabsItems','defaultProps','platforms','newPwd2','Password','#fff','showDoingIndicator','closeSpin','showSpin','header','请输入确认密码','_ctx','close','join','100%','Content','end','fontColor','bottom','onSuccess','请输入邮箱!','setActiveKey','355061nATlMc','两次新密码输入不一致','show','logo','space-between','closeDoingIndicator','请输入新密码!','57jeuzDA','workbench-index-layout','color','/login?backUrl=','div','setState','onCancel','_getCacheTabsItems','form','platformMenu','rgba(0,\x200,\x200,\x200.88)','small','right','\x22吗?','alertFail','showLoadingIndicator','2315630thFdLI','inline','name','showDetails','renderSpin','_getCacheTabsCookieName','logo-title','presenter','加载中...','_tabsShowMenu','iconCls','window','left','platformId','get','flex','error','新密码不能与旧密码相同','current','4216965FwpeRq','3456082tuUHGg','header-title','_menuChange','_createTabItem','处理中...','icon','activeBarHeight','ct_','menuId','state','Header','tab','item','请输入旧密码!','resetPwd','_search','退出登录','_onModify','info','border','#FFF','请输入确认密码!','clearItems','render','active','profile','登录超时,需要重新登录','Item','noticeFail','accountId','data','ctm_','#eee','width','parent','setItems','platformList','请输入名称!','tabs','tabsMap','menu','curMenu','确定要退出登录吗?','push','/_res/logo/','max-content','roleNames','修改密码成功','关联平台','请输入邮箱','116540FbAsOS','platform','logo-img','新密码','_onSubmit','cachePanel','个人资料','userPlatformId','key','itemHeight','header-menu','logout','length','请输入旧密码','platformName','userPlatformName','exitItem','href','_closeForm','menuItems','menu-box','span','sort'];a8_0x5a9e=function(){return _0x549417;};return a8_0x5a9e();}(function(_0x51da59,_0x1fc11){const _0x3c08f5=a8_0x1094,_0x1571c3=_0x51da59();while(!![]){try{const _0x6b972a=-parseInt(_0x3c08f5(0x254))/0x1*(parseInt(_0x3c08f5(0x217))/0x2)+parseInt(_0x3c08f5(0x25b))/0x3*(-parseInt(_0x3c08f5(0x1f4))/0x4)+-parseInt(_0x3c08f5(0x1c1))/0x5+-parseInt(_0x3c08f5(0x210))/0x6+parseInt(_0x3c08f5(0x1c2))/0x7+parseInt(_0x3c08f5(0x236))/0x8*(-parseInt(_0x3c08f5(0x233))/0x9)+parseInt(_0x3c08f5(0x26b))/0xa*(parseInt(_0x3c08f5(0x237))/0xb);if(_0x6b972a===_0x1fc11)break;else _0x1571c3['push'](_0x1571c3['shift']());}catch(_0x14c511){_0x1571c3['push'](_0x1571c3['shift']());}}}(a8_0x5a9e,0xbe9eb));import{jsxs,jsx,Fragment}from'react/jsx-runtime';import{Form,Input,Row,Space,Button,Flex,Tag,Card,Layout,Dropdown,ConfigProvider,Menu,Avatar,Breadcrumb}from'antd';import{DownOutlined,UserOutlined,SettingOutlined,LogoutOutlined}from'@ant-design/icons';import{useState,useEffect,useCallback,useRef}from'react';import a8_0xc6be05,{md5,getCookie,setCookie,removeCookie}from'threels-workbench-core';import{BaseComponent,Table,Drawer,Modal,Descriptions,Tip,SvgIcon,Tabs,CachePanel}from'threels-workbench-component';import{W as a8_0x127948,u as a8_0x48869b,a as a8_0xbcd9d2}from'../../presenter/presenter.js';function a8_0x1094(_0x437712,_0x1ac7d4){const _0x5a9ec8=a8_0x5a9e();return a8_0x1094=function(_0x10949c,_0x355093){_0x10949c=_0x10949c-0x1b7;let _0xadb1e8=_0x5a9ec8[_0x10949c];return _0xadb1e8;},a8_0x1094(_0x437712,_0x1ac7d4);}import{useLocation,useNavigate}from'react-router';class AccountPwdForm extends BaseComponent{static [a8_0x39607d(0x23f)]={'onSuccess':void 0x0};constructor(_0x14a328){const _0x425d39=a8_0x39607d;super(_0x14a328),this[_0x425d39(0x272)]=new a8_0x127948(this);}['_closeForm'](){const _0x38bafc=a8_0x39607d;this['props'][_0x38bafc(0x261)]&&this['props'][_0x38bafc(0x261)]();}['_onSubmit'](){const _0x5e41f3=a8_0x39607d;this[_0x5e41f3(0x263)][_0x5e41f3(0x20c)]()[_0x5e41f3(0x229)](_0x548d48=>{const _0x44ae7b=_0x5e41f3;let {oldPwd:_0x3258bd,newPwd:_0x4b6a38,newPwd2:_0x1a7014}=_0x548d48;if(_0x3258bd===_0x4b6a38){this[_0x44ae7b(0x1de)](_0x44ae7b(0x1bf));return;}if(_0x4b6a38!==_0x1a7014){this[_0x44ae7b(0x1de)](_0x44ae7b(0x255));return;}this[_0x44ae7b(0x244)](_0x44ae7b(0x1c6)),this[_0x44ae7b(0x272)][_0x44ae7b(0x1d0)]({'oldPwd':_0x3258bd,'newPwd':_0x4b6a38},{},()=>{const _0x1dd5fc=_0x44ae7b;this[_0x1dd5fc(0x21e)](_0x1dd5fc(0x1f1)),this[_0x1dd5fc(0x20e)]['onSuccess']&&this['props'][_0x1dd5fc(0x251)]();});});}['showLoadingIndicator'](_0x550be9){const _0x131e9f=a8_0x39607d;this[_0x131e9f(0x246)](_0x550be9);}[a8_0x39607d(0x234)](){const _0x26263e=a8_0x39607d;this[_0x26263e(0x245)]();}[a8_0x39607d(0x244)](_0x237359){const _0x3790a8=a8_0x39607d;this[_0x3790a8(0x246)](_0x237359);}['closeDoingIndicator'](){const _0x2e4e3b=a8_0x39607d;this[_0x2e4e3b(0x245)]();}[a8_0x39607d(0x1d9)](){const _0x44d5c8=a8_0x39607d;return this[_0x44d5c8(0x26f)](jsxs(Form,{'ref':_0x9ed73=>this[_0x44d5c8(0x263)]=_0x9ed73,'layout':_0x44d5c8(0x20f),'children':[jsx(Form[_0x44d5c8(0x1dd)],{'label':'旧密码','name':'oldPwd','rules':[{'required':!![],'message':_0x44d5c8(0x1cf)}],'children':jsx(Input[_0x44d5c8(0x242)],{'placeholder':_0x44d5c8(0x201)})}),jsx(Form[_0x44d5c8(0x1dd)],{'label':_0x44d5c8(0x1f7),'name':_0x44d5c8(0x231),'rules':[{'required':!![],'message':_0x44d5c8(0x25a)}],'children':jsx(Input[_0x44d5c8(0x242)],{'placeholder':'请输入密码'})}),jsx(Form['Item'],{'label':'确认密码','name':_0x44d5c8(0x241),'rules':[{'required':!![],'message':_0x44d5c8(0x1d7)}],'children':jsx(Input[_0x44d5c8(0x242)],{'placeholder':_0x44d5c8(0x248)})}),jsx(Row,{'type':_0x44d5c8(0x1bd),'justify':_0x44d5c8(0x24e),'children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x44d5c8(0x206)][_0x44d5c8(0x226)](this),'children':'取消'}),jsx(Button,{'type':_0x44d5c8(0x225),'onClick':this['_onSubmit'][_0x44d5c8(0x226)](this),'children':'修改'})]})})]}));}}class AccountPlatformGrid extends BaseComponent{static [a8_0x39607d(0x23f)]={'accountId':void 0x0,'onPlatformChange':void 0x0};constructor(_0x4a753f){const _0x711d13=a8_0x39607d;super(_0x4a753f),this[_0x711d13(0x272)]=new a8_0x127948(this);}[a8_0x39607d(0x221)](){const _0x214a59=a8_0x39607d;this[_0x214a59(0x1d1)]();}['_search'](){const _0x58661a=a8_0x39607d;this[_0x58661a(0x26a)](_0x58661a(0x273)),this['presenter'][_0x58661a(0x1e6)]({},{},_0x2df9df=>{const _0x5b8ad4=_0x58661a;this[_0x5b8ad4(0x22e)][_0x5b8ad4(0x22a)](_0x2df9df[_0x5b8ad4(0x1e0)]);});}['showLoadingIndicator'](_0x3e7be0,_0x4a86d5={}){const _0x8c6e8c=a8_0x39607d;this[_0x8c6e8c(0x22e)]['showLoadingIndicator']();}['closeLoadingIndicator'](){const _0x3ab26c=a8_0x39607d;this[_0x3ab26c(0x22e)][_0x3ab26c(0x234)]();}[a8_0x39607d(0x1d9)](){const _0x3d3c1b=a8_0x39607d;return jsx(Table,{'ref':_0x5d6c7d=>{const _0x2fdce3=a8_0x1094;this[_0x2fdce3(0x22e)]=_0x5d6c7d;},'scroll':{'x':_0x3d3c1b(0x1ef)},'className':'table-margin-hide','_showPage':![],'rowKey':_0x353659=>_0x353659['id'],'size':_0x3d3c1b(0x266),'columns':[{'title':'平台','dataIndex':_0x3d3c1b(0x1f5),'fixed':_0x3d3c1b(0x1ba),'render':(_0x51b185,_0x437451)=>{const _0x1b6bb5=_0x3d3c1b;let {platformName:_0x576994,userPlatform:_0x63dd95,userPlatformName:_0x173c64,mainPlatform:_0xd1e394}=_0x437451;if(_0x63dd95)return jsxs(Flex,{'justify':'space-between','children':[jsxs(Space,{'children':[jsx(Tag,{'children':_0x576994}),jsx(Tag,{'children':_0x173c64})]}),_0xd1e394&&jsx(Tag,{'color':_0x1b6bb5(0x1be),'children':_0x1b6bb5(0x23a)})]});return jsxs(Flex,{'justify':_0x1b6bb5(0x258),'children':[jsx(Tag,{'children':_0x576994}),_0xd1e394&&jsx(Tag,{'color':_0x1b6bb5(0x1be),'children':_0x1b6bb5(0x23a)})]});}},{'title':'角色','dataIndex':_0x3d3c1b(0x1f0),'render':(_0x157b41,_0x4bc0a9)=>{const _0x50eb87=_0x3d3c1b;let {roleNames:_0x213de6}=_0x4bc0a9;if(_0x213de6)return _0x213de6[_0x50eb87(0x22f)](',')['map']((_0x2d35db,_0x33727d)=>jsx(Tag,{'children':_0x2d35db},_0x33727d));return null;}}]});}}class AccountModifyForm extends BaseComponent{static ['defaultProps']={'onSuccess':void 0x0};constructor(_0x73ebae){const _0xc2966e=a8_0x39607d;super(_0x73ebae),this[_0xc2966e(0x272)]=new a8_0x127948(this);}[a8_0x39607d(0x221)](){const _0x2a6052=a8_0x39607d;this[_0x2a6052(0x1d1)]();}[a8_0x39607d(0x1d1)](){const _0x58a883=a8_0x39607d;this['showLoadingIndicator'](_0x58a883(0x273)),this[_0x58a883(0x272)]['info']({},{},_0x2340ca=>{const _0x2caf45=_0x58a883;this[_0x2caf45(0x263)][_0x2caf45(0x230)](_0x2340ca[_0x2caf45(0x1e0)]);});}[a8_0x39607d(0x206)](){const _0x29bf9a=a8_0x39607d;this[_0x29bf9a(0x20e)][_0x29bf9a(0x261)]&&this[_0x29bf9a(0x20e)][_0x29bf9a(0x261)]();}[a8_0x39607d(0x1f8)](){const _0x24edcb=a8_0x39607d;this[_0x24edcb(0x263)][_0x24edcb(0x20c)]()[_0x24edcb(0x229)](_0x5c1788=>{const _0xed1bb5=_0x24edcb;this[_0xed1bb5(0x244)](_0xed1bb5(0x1c6)),this[_0xed1bb5(0x272)][_0xed1bb5(0x219)]({..._0x5c1788},{},()=>{const _0x1855b2=_0xed1bb5;this[_0x1855b2(0x21e)]('修改成功'),this['props'][_0x1855b2(0x251)]&&this[_0x1855b2(0x20e)][_0x1855b2(0x251)]();});});}[a8_0x39607d(0x26a)](_0x2bf93d){const _0x4ae764=a8_0x39607d;this[_0x4ae764(0x246)](_0x2bf93d);}['closeLoadingIndicator'](){const _0x421584=a8_0x39607d;this[_0x421584(0x245)]();}[a8_0x39607d(0x244)](_0x2608de){const _0x4f68e3=a8_0x39607d;this[_0x4f68e3(0x246)](_0x2608de);}[a8_0x39607d(0x259)](){this['closeSpin']();}[a8_0x39607d(0x1d9)](){const _0x981742=a8_0x39607d;return this[_0x981742(0x26f)](jsxs(Form,{'ref':_0x3c3aa7=>this[_0x981742(0x263)]=_0x3c3aa7,'layout':'vertical','children':[jsx(Form[_0x981742(0x1dd)],{'label':'名称','name':_0x981742(0x26d),'rules':[{'required':!![],'message':_0x981742(0x1e7)}],'children':jsx(Input,{'placeholder':'请输入名称'})}),jsx(Form[_0x981742(0x1dd)],{'label':'手机','name':'mobile','rules':[{'required':!![],'message':'请输入手机!'}],'children':jsx(Input,{'placeholder':'请输入手机'})}),jsx(Form['Item'],{'label':'邮箱','name':_0x981742(0x215),'rules':[{'required':!![],'message':_0x981742(0x252)}],'children':jsx(Input,{'placeholder':_0x981742(0x1f3)})}),jsx(Row,{'type':_0x981742(0x1bd),'justify':'end','children':jsxs(Space,{'children':[jsx(Button,{'onClick':this[_0x981742(0x206)][_0x981742(0x226)](this),'children':'取消'}),jsx(Button,{'type':'primary','onClick':this['_onSubmit']['bind'](this),'children':'修改'})]})})]}));}}class AccountDetail extends BaseComponent{static['showDetails'](){const _0x33f8b5=a8_0x39607d;let _0xe42b0d=Drawer['show'](jsx(AccountDetail,{'onCancel':()=>{const _0x20ad52=a8_0x1094;_0xe42b0d()[_0x20ad52(0x24a)]();}}),{'title':_0x33f8b5(0x21a),'width':0x320,'bodyStyle':{'padding':0xa}});}constructor(_0x3d80db){super(_0x3d80db),this['presenter']=new a8_0x127948(this),this['state']={'data':{}};}[a8_0x39607d(0x221)](){const _0x1e6d90=a8_0x39607d;this[_0x1e6d90(0x1d1)]();}[a8_0x39607d(0x26a)](_0x4bda02){const _0xc2d704=a8_0x39607d;this[_0xc2d704(0x246)](_0x4bda02);}[a8_0x39607d(0x234)](){this['closeSpin']();}[a8_0x39607d(0x1d1)](){const _0x5cc298=a8_0x39607d;this[_0x5cc298(0x26a)](_0x5cc298(0x273)),this[_0x5cc298(0x272)][_0x5cc298(0x1d4)]({},{},_0x519cdd=>{const _0x565103=_0x5cc298;this[_0x565103(0x260)]({'data':_0x519cdd[_0x565103(0x1e0)]});});}[a8_0x39607d(0x1d3)](){const _0xfbbcce=a8_0x39607d;let _0x34f638=Modal[_0xfbbcce(0x256)](jsx(AccountModifyForm,{'onCancel':()=>{_0x34f638()['close']();},'onSuccess':()=>{const _0x29a987=_0xfbbcce;_0x34f638()['close'](),this[_0x29a987(0x1d1)]();}}),{'title':'修改信息'});}[a8_0x39607d(0x1d9)](){const _0xb781b3=a8_0x39607d;let {data:_0x197c4c}=this[_0xb781b3(0x1cb)];return this[_0xb781b3(0x26f)](jsxs(Space,{'direction':'vertical','style':{'width':_0xb781b3(0x24c)},'children':[jsx(Card,{'title':'基本信息','size':_0xb781b3(0x266),'extra':jsx(Space,{'children':jsx(Button,{'size':_0xb781b3(0x266),'type':_0xb781b3(0x225),'onClick':this['_onModify'][_0xb781b3(0x226)](this),'children':'修改'})}),'children':jsx(Descriptions,{'bordered':!![],'column':0x1,'size':_0xb781b3(0x266),'items':this['state'][_0xb781b3(0x1e0)]?[{'label':'账号ID','children':_0x197c4c[_0xb781b3(0x1df)]},{'label':'账号','children':_0x197c4c[_0xb781b3(0x228)]},{'label':'名称','children':_0x197c4c[_0xb781b3(0x26d)]},{'label':'手机','children':_0x197c4c['mobile']},{'label':'邮箱','children':_0x197c4c['email']}]:[]})}),jsx(Card,{'title':_0xb781b3(0x1f2),'size':_0xb781b3(0x266),'children':jsx(AccountPlatformGrid,{})})]}));}}const defaultStyle={'header':{'backgroundColor':'#fff','fontColor':a8_0x39607d(0x265),'logo':{'height':0x28,'width':0x28},'border':{'bottom':{'width':0x1,'color':a8_0x39607d(0x1e2)}},'account':{'backgroundColor':a8_0x39607d(0x21c),'fontColor':a8_0x39607d(0x243)},'menu':{'backgroundColor':'transparent','fontSize':0xf,'activeBarHeight':0x4,'active':{'fontColor':a8_0x39607d(0x21c),'backgroundColor':a8_0x39607d(0x23b)}}},'left':{'width':0xf0,'backgroundColor':'#ffffff','fontColor':'rgba(0,\x200,\x200,\x200.88)','border':{'right':{'width':0x1,'color':a8_0x39607d(0x1e2)}},'menu':{'itemHeight':0x30,'fontSize':0xf,'active':{'fontColor':a8_0x39607d(0x1d6),'backgroundColor':a8_0x39607d(0x21c)}}}};function IndexPage(_0x83428d){const _0x13969f=a8_0x39607d;let {loginAccount:_0x1bc167,curPlatform:_0x2b7833,menuItems:_0x32f3a8,style:style=defaultStyle}=_0x83428d;!_0x1bc167&&(_0x1bc167=a8_0xc6be05[_0x13969f(0x1bc)]('_account'));!_0x2b7833&&(_0x2b7833=a8_0xc6be05[_0x13969f(0x1bc)](_0x13969f(0x20b)));if(!_0x1bc167||!_0x2b7833)return Tip[_0x13969f(0x269)](_0x13969f(0x1dc),{'onOk':()=>{const _0x3cd770=_0x13969f,_0xb334bf=encodeURIComponent(window[_0x3cd770(0x1e4)][_0x3cd770(0x1b9)][_0x3cd770(0x21d)][_0x3cd770(0x205)]);window[_0x3cd770(0x1e4)][_0x3cd770(0x1b9)]['location'][_0x3cd770(0x205)]=window[_0x3cd770(0x249)]+_0x3cd770(0x25e)+_0xb334bf;}}),null;let {platform:_0xe52ee5,topMenu:_0x11971b,rightComponent:_0x39f6a2,showTab:_0x4bc467,showNav:_0x231e4a,keepMenu:_0x3ff966,tabCache:_0xe66bbf}=_0x83428d,[_0x249412,_0x3f3095]=useState([]),[_0x8c1fe7,_0x58b048]=useState({}),[_0x1eb9c5,_0x3b5487]=useState(null),_0x48cdde=useLocation(),_0xf07c93=useNavigate();const {pathname:_0x5edb22}=_0x48cdde;let _0x4e159d=a8_0x48869b();useEffect(()=>{const _0x56887a=_0x13969f,_0x4bc1bb=_0x3671a5=>{let {menus:_0x4981ae,menusMap:_0x395d54}=wrapperMenus(_0x3671a5),_0x34e14a=findCurMenu(_0x4981ae,_0x5edb22);_0x34e14a==null&&(_0x34e14a=findDefaultMenu(_0x4981ae));if(_0x34e14a){let {urlPath:_0x45e718}=_0x34e14a;_0x5edb22!==_0x45e718&&_0xf07c93(_0x45e718);}_0x3b5487(_0x34e14a),_0x3f3095(_0x4981ae),_0x58b048(_0x395d54);};_0x32f3a8?_0x4bc1bb(_0x32f3a8):(_0x4e159d[_0x56887a(0x26a)](),_0x4e159d[_0x56887a(0x264)]({},{},_0x47cc16=>{const _0x490b6e=_0x56887a;_0x4bc1bb(_0x47cc16[_0x490b6e(0x207)]);}));},[]);const _0x20c147=useCallback(_0x536938=>{if(_0x536938){let {urlPath:_0x789413}=_0x536938;_0xf07c93(_0x789413);}_0x3b5487(_0x536938);},[]);return jsxs(Layout,{'className':_0x13969f(0x25c),'children':[jsxs(Layout[_0x13969f(0x1cc)],{'className':'layout-header','style':{'height':0x41,'background':style[_0x13969f(0x247)][_0x13969f(0x22d)],'borderBottom':style[_0x13969f(0x247)]['border'][_0x13969f(0x250)][_0x13969f(0x1e3)]+'px\x20solid\x20'+style[_0x13969f(0x247)][_0x13969f(0x1d5)][_0x13969f(0x250)][_0x13969f(0x25d)]},'children':[jsx(LogoComponent,{'platform':_0xe52ee5,'style':style}),_0x11971b&&jsx(TopMenu,{'menus':_0x249412,'menusMap':_0x8c1fe7,'curMenu':_0x1eb9c5,'onSelect':_0x20c147,'style':style}),jsx('div',{'className':'header-info','children':jsxs(Space,{'size':0x10,'children':[_0x39f6a2,jsx(AccountComponent,{'style':style})]})})]}),jsxs(Layout,{'children':[jsx(LeftMenu,{'topMenu':_0x11971b,'menus':_0x249412,'menusMap':_0x8c1fe7,'curMenu':_0x1eb9c5,'onSelect':_0x20c147,'style':style}),jsx(Layout[_0x13969f(0x24d)],{'style':{'padding':0xa,'backgroundColor':'#FFF'},'children':jsx(MenuContent,{'menus':_0x249412,'menusMap':_0x8c1fe7,'curMenu':_0x1eb9c5,'showTab':_0x4bc467,'showNav':_0x231e4a,'topMenu':_0x11971b,'keepMenu':_0x3ff966,'tabCache':_0xe66bbf,'onTabChange':_0x20c147,'style':style})})]})]});}function LogoComponent(_0x5c558a){const _0x3c716b=a8_0x39607d;let {style:_0x4bd974}=_0x5c558a,_0x3dad7d=a8_0xc6be05[_0x3c716b(0x1bc)](_0x3c716b(0x23d)),_0x49dc9f=a8_0xc6be05[_0x3c716b(0x1bc)]('_curPlatform');const _0x2cd039=a8_0x48869b();let {platform:_0x3c20e1}=_0x5c558a;const _0x3f732b=useCallback(_0x1278de=>{const _0x3bcef4=_0x3c716b;Tip['confirm']('确定要切换到\x22'+_0x1278de[_0x3bcef4(0x203)]+_0x3bcef4(0x268),()=>{const _0x2301d9=_0x3bcef4;_0x2cd039[_0x2301d9(0x22b)]({'userPlatformId':_0x1278de['userPlatformId']},{},()=>{const _0xe421cf=_0x2301d9;window[_0xe421cf(0x21d)][_0xe421cf(0x212)]();});});},[]);return jsxs(_0x3c716b(0x25f),{'className':_0x3c716b(0x235),'style':{'minWidth':0xdc},'children':[jsx('img',{'className':_0x3c716b(0x1f6),'src':window['_ctx']+_0x3c716b(0x1ee)+_0x3c20e1,'alt':_0x3c716b(0x257),'style':{'height':_0x4bd974[_0x3c716b(0x247)][_0x3c716b(0x257)]['height'],'width':_0x4bd974[_0x3c716b(0x247)]['logo']['width']}}),jsxs(_0x3c716b(0x25f),{'className':_0x3c716b(0x1c3),'children':[jsx(_0x3c716b(0x25f),{'className':_0x3c716b(0x271),'style':{'color':_0x4bd974[_0x3c716b(0x247)][_0x3c716b(0x24f)]},'children':_0x49dc9f[_0x3c716b(0x202)]}),_0x3dad7d[_0x3c716b(0x240)][_0x3c716b(0x200)]>0x1?jsx(Dropdown,{'menu':((()=>{const _0xf64129=_0x3c716b;let _0x1a547b=[];return _0x3dad7d[_0xf64129(0x240)][_0xf64129(0x224)](_0x5cc857=>{const _0x1c3f12=_0xf64129;_0x5cc857[_0x1c3f12(0x203)]!==_0x49dc9f['userPlatformName']&&_0x1a547b['push']({'key':_0x5cc857[_0x1c3f12(0x1fb)],'label':_0x5cc857[_0x1c3f12(0x203)],'onClick':()=>_0x3f732b(_0x5cc857)});}),{'items':_0x1a547b};})()),'children':jsx(_0x3c716b(0x25f),{'className':_0x3c716b(0x218),'style':{'cursor':_0x3c716b(0x21b)},'children':jsxs(Space,{'children':[jsx(_0x3c716b(0x209),{'style':{'color':_0x4bd974['header'][_0x3c716b(0x24f)]},'children':_0x49dc9f[_0x3c716b(0x203)]}),jsx(_0x3c716b(0x209),{'style':{'color':_0x4bd974['header']['fontColor']},'children':jsx(DownOutlined,{})})]})})}):jsx('div',{'className':_0x3c716b(0x218),'style':{'color':_0x4bd974[_0x3c716b(0x247)][_0x3c716b(0x24f)]},'children':_0x49dc9f[_0x3c716b(0x203)]})]})]});}function AccountComponent(_0x25cdcc){const _0x5a6ae7=a8_0x39607d;let {style:_0x2fdc99}=_0x25cdcc,_0x5583c6=a8_0xc6be05['get']('_account');const _0x5035b8=a8_0xbcd9d2(),_0x4554e8=useCallback(()=>{const _0xc11e1b=a8_0x1094;Tip['confirm'](_0xc11e1b(0x1ec),()=>{_0x5035b8['loginOut']({},{},()=>{const _0x29959e=a8_0x1094;window[_0x29959e(0x21d)][_0x29959e(0x205)]=window[_0x29959e(0x249)]+'/login';});});},[]),_0x5c941d=useCallback(()=>{const _0x373067=a8_0x1094;let _0x5816da=Modal['show'](jsx(AccountPwdForm,{'onCancel':()=>{const _0x1a89ea=a8_0x1094;_0x5816da()[_0x1a89ea(0x24a)]();},'onSuccess':()=>{_0x5816da()['close']();}}),{'title':_0x373067(0x23c)});},[]);return jsx(Dropdown,{'menu':{'items':[{'key':_0x5a6ae7(0x1db),'icon':jsx(UserOutlined,{}),'label':_0x5a6ae7(0x1fa),'onClick':()=>{const _0x457c1f=_0x5a6ae7;AccountDetail[_0x457c1f(0x26e)]();}},{'key':'settings','icon':jsx(SettingOutlined,{}),'label':_0x5a6ae7(0x23c),'onClick':_0x5c941d},{'type':'divider'},{'key':_0x5a6ae7(0x1ff),'icon':jsx(LogoutOutlined,{}),'label':_0x5a6ae7(0x1d2),'onClick':_0x4554e8}]},'children':jsxs(Space,{'style':{'cursor':_0x5a6ae7(0x21b)},'children':[jsx(Avatar,{'size':0x20,'icon':jsx(UserOutlined,{'style':{'color':_0x2fdc99[_0x5a6ae7(0x247)][_0x5a6ae7(0x228)][_0x5a6ae7(0x24f)]}}),'style':{'backgroundColor':_0x2fdc99[_0x5a6ae7(0x247)][_0x5a6ae7(0x228)][_0x5a6ae7(0x22d)]}}),jsx(_0x5a6ae7(0x209),{'style':{'color':_0x2fdc99[_0x5a6ae7(0x247)][_0x5a6ae7(0x24f)]},'children':_0x5583c6[_0x5a6ae7(0x26d)]})]})});}function TopMenu(_0x2bed9a){const _0x2ac653=a8_0x39607d;let {menus:_0x287795,curMenu:_0x53643f,style:_0x5f21f4}=_0x2bed9a,[_0x1ca1aa,_0x1a5c71]=useState(null),_0x30e108=useRef(_0x53643f);const _0x1f18b3=useCallback(({item:_0x1664f1,domEvent:_0x35a470})=>{const _0x3ee9f9=a8_0x1094;_0x35a470[_0x3ee9f9(0x220)]();let {data:_0x487e3d,children:_0x5e4185}=_0x1664f1[_0x3ee9f9(0x20e)][_0x3ee9f9(0x1ce)];_0x5e4185&&_0x5e4185[_0x3ee9f9(0x200)]>0x0&&(_0x487e3d=findDefaultMenu(_0x5e4185)),_0x2bed9a[_0x3ee9f9(0x227)](_0x487e3d);},[]);if(!_0x53643f&&!_0x30e108[_0x2ac653(0x1c0)]||!_0x287795||_0x287795[_0x2ac653(0x200)]===0x0)return null;let _0x29ab85=null,_0x35e0cd=_0x287795['map'](_0x403f39=>{const _0x5988bb=_0x2ac653;let {menuId:_0x25cfcf}=_0x53643f||_0x30e108[_0x5988bb(0x1c0)];if(_0x25cfcf===_0x403f39[_0x5988bb(0x1fc)])_0x29ab85=_0x403f39[_0x5988bb(0x1fc)];else curMenuInMenus({'curMenu':_0x53643f||_0x30e108['current'],'menus':_0x403f39[_0x5988bb(0x216)]})&&(_0x29ab85=_0x403f39[_0x5988bb(0x1fc)]);return{'key':_0x403f39['key'],'label':jsx(_0x5988bb(0x209),{'style':{'fontSize':_0x5f21f4[_0x5988bb(0x247)]['menu']['fontSize']},'children':_0x403f39['label']}),'icon':_0x403f39[_0x5988bb(0x1c7)]?jsx(SvgIcon,{'id':_0x403f39[_0x5988bb(0x1c7)],'fontSize':_0x5f21f4[_0x5988bb(0x247)][_0x5988bb(0x1ea)][_0x5988bb(0x21f)]}):null,'item':_0x403f39};});return _0x29ab85!==_0x1ca1aa&&_0x1a5c71(_0x29ab85),_0x53643f&&(_0x30e108[_0x2ac653(0x1c0)]=_0x53643f),jsx(_0x2ac653(0x25f),{'className':_0x2ac653(0x1fe),'children':jsx('div',{'className':_0x2ac653(0x208),'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'activeBarHeight':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)][_0x2ac653(0x1c8)],'itemBg':_0x5f21f4['header'][_0x2ac653(0x22d)],'darkItemBg':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x22d)],'itemColor':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x24f)],'darkItemColor':_0x5f21f4['header'][_0x2ac653(0x24f)],'horizontalItemHoverBg':_0x5f21f4[_0x2ac653(0x247)]['menu'][_0x2ac653(0x1da)][_0x2ac653(0x22d)],'horizontalItemHoverColor':_0x5f21f4['header'][_0x2ac653(0x1ea)][_0x2ac653(0x1da)][_0x2ac653(0x24f)],'horizontalItemSelectedBg':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)][_0x2ac653(0x1da)][_0x2ac653(0x22d)],'horizontalItemSelectedColor':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)][_0x2ac653(0x1da)]['fontColor'],'darkItemSelectedBg':_0x5f21f4['header']['menu'][_0x2ac653(0x1da)]['backgroundColor'],'itemHoverColor':_0x5f21f4[_0x2ac653(0x247)][_0x2ac653(0x1ea)]['active'][_0x2ac653(0x24f)]}}},'children':jsx(Menu,{'theme':_0x2ac653(0x20d),'mode':_0x2ac653(0x223),'items':_0x35e0cd,'selectedKeys':_0x1ca1aa?[_0x1ca1aa]:null,'onSelect':_0x1f18b3})})})});}function LeftMenu(_0x37fe70){const _0x3f3467=a8_0x39607d;let {menus:_0x10ed0b,topMenu:_0x51232e,curMenu:_0x48905a,style:_0x2bdc2e}=_0x37fe70,_0x179a94=useRef(_0x48905a),_0x2a025f=useRef(null),_0x3843db=findLeftMenu({'menus':_0x10ed0b,'curMenu':_0x48905a||_0x179a94[_0x3f3467(0x1c0)],'topMenu':_0x51232e}),[_0x17d100,_0x46dcd9]=useState([]);const _0x3c565f=useCallback(({item:_0x29e80e,domEvent:_0x33400d})=>{const _0x54c158=_0x3f3467;_0x33400d[_0x54c158(0x220)]();let {data:_0x419c80}=_0x29e80e[_0x54c158(0x20e)];_0x2a025f['current']=_0x419c80[_0x54c158(0x1ca)],_0x37fe70['onSelect'](_0x419c80);},[]);if(!_0x48905a&&!_0x179a94['current']||!_0x3843db||_0x3843db['length']===0x0)return null;if(_0x48905a&&(!_0x2a025f[_0x3f3467(0x1c0)]||_0x2a025f[_0x3f3467(0x1c0)]!==_0x48905a[_0x3f3467(0x1ca)])){let _0x81de65={};_0x3843db[_0x3f3467(0x224)](_0x51c090=>{const _0x232d29=_0x3f3467;_0x81de65[_0x51c090[_0x232d29(0x1fc)]]=!![];}),_0x17d100=findOpenMenuKeys(_0x48905a,_0x81de65),_0x17d100['length']>0x0&&_0x46dcd9(_0x17d100);}_0x48905a&&(_0x179a94[_0x3f3467(0x1c0)]=_0x48905a,_0x2a025f[_0x3f3467(0x1c0)]=_0x48905a[_0x3f3467(0x1ca)]);const _0x4d40c5=_0x12fe6c=>{const _0x5b8f00=_0x3f3467;if(!_0x12fe6c||_0x12fe6c['length']===0x0)return _0x12fe6c;let _0xea928a=[];for(let _0xeb90eb=0x0;_0xeb90eb<_0x12fe6c['length'];_0xeb90eb++){let {key:_0x5f446c,label:_0x43a1db,icon:_0x16b195,children:_0x3d3c08,data:_0xc6b30d}=_0x12fe6c[_0xeb90eb];_0x3d3c08&&_0x3d3c08[_0x5b8f00(0x200)]>0x0&&(_0x3d3c08=_0x4d40c5(_0x3d3c08)),_0xea928a['push']({'key':_0x5f446c,'label':jsx(_0x5b8f00(0x209),{'style':{'fontSize':_0x2bdc2e[_0x5b8f00(0x1ba)][_0x5b8f00(0x1ea)][_0x5b8f00(0x21f)]},'children':_0x43a1db}),'icon':_0x16b195?jsx(SvgIcon,{'id':_0x16b195,'fontSize':_0x2bdc2e[_0x5b8f00(0x1ba)]['menu'][_0x5b8f00(0x21f)]}):null,'children':_0x3d3c08,'data':_0xc6b30d});}return _0xea928a;};return jsx(Layout['Sider'],{'width':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1e3)],'collapsible':!![],'children':jsx(_0x3f3467(0x25f),{'className':'slider-menu','style':{'background':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x22d)],'borderRight':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1d5)][_0x3f3467(0x267)][_0x3f3467(0x1e3)]+'px\x20solid\x20'+_0x2bdc2e['left']['border'][_0x3f3467(0x267)][_0x3f3467(0x25d)]},'children':jsx(ConfigProvider,{'theme':{'components':{'Menu':{'itemBg':_0x2bdc2e[_0x3f3467(0x1ba)]['backgroundColor'],'itemBorderRadius':0x0,'subMenuItemBorderRadius':0x0,'itemColor':_0x2bdc2e[_0x3f3467(0x1ba)]['fontColor'],'groupTitleColor':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x24f)],'groupTitleFontSize':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x21f)],'itemActiveBg':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)][_0x3f3467(0x1da)][_0x3f3467(0x22d)],'itemHoverColor':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)][_0x3f3467(0x1da)][_0x3f3467(0x24f)],'itemHoverBg':_0x2bdc2e['left'][_0x3f3467(0x1ea)][_0x3f3467(0x1da)]['backgroundColor'],'itemSelectedBg':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)]['active']['backgroundColor'],'itemSelectedColor':_0x2bdc2e['left'][_0x3f3467(0x1ea)][_0x3f3467(0x1da)][_0x3f3467(0x24f)],'subMenuItemSelectedColor':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x24f)],'itemMarginInline':0x0,'popupBg':_0x2bdc2e[_0x3f3467(0x1ba)]['backgroundColor'],'itemMarginBlock':0x0,'itemHeight':_0x2bdc2e[_0x3f3467(0x1ba)][_0x3f3467(0x1ea)][_0x3f3467(0x1fd)]}}},'children':jsx(Menu,{'theme':_0x3f3467(0x20d),'mode':_0x3f3467(0x26c),'openKeys':_0x17d100,'selectedKeys':_0x48905a?[_0x48905a[_0x3f3467(0x1ca)]]:[],'items':_0x4d40c5(_0x3843db),'onOpenChange':_0x2c8e69=>{_0x46dcd9(_0x2c8e69);},'onSelect':_0x3c565f})})})});}class MenuContent extends BaseComponent{constructor(_0x19acc9){const _0x1532ce=a8_0x39607d;super(_0x19acc9),this['registerPropListener'](_0x1532ce(0x1eb),_0x2a7d13=>{const _0x151e5f=_0x1532ce;this[_0x151e5f(0x1c4)](_0x2a7d13);}),this['tabsMap']={};}[a8_0x39607d(0x1c5)](_0x88365f){const _0x19d47d=a8_0x39607d;return{'key':_0x88365f[_0x19d47d(0x1ca)],'label':_0x88365f[_0x19d47d(0x26d)],'icon':_0x88365f[_0x19d47d(0x1b8)]?jsx(SvgIcon,{'id':_0x88365f[_0x19d47d(0x1b8)],'fontSize':0xf,'style':{'verticalAlign':-0x3}}):null,'children':_0x88365f[_0x19d47d(0x1ca)]+':'+_0x88365f[_0x19d47d(0x26d)],'data':_0x88365f};}[a8_0x39607d(0x232)](_0x2223b6,_0x392d92){const _0x35afc7=a8_0x39607d;let _0x3f29b5=this[_0x35afc7(0x262)](_0x392d92);return jsx(Tabs,{'ref':_0x2223b6,'activeKey':_0x392d92['menuId'],'items':_0x3f29b5,'animated':!![],'_drag':!![],'_showCloseBtn':!![],'type':'editable-card','hideAdd':!![],'size':_0x35afc7(0x266),'_onItemsChange':({items:_0x2b9610})=>{const _0x2845ef=_0x35afc7;this[_0x2845ef(0x23e)](_0x2b9610,this[_0x2845ef(0x20e)]['curMenu']);},'onChange':({item:_0x36f12a})=>{const _0x455318=_0x35afc7;this[_0x455318(0x20e)][_0x455318(0x222)]&&this['props'][_0x455318(0x222)]((_0x36f12a||{})[_0x455318(0x1e0)]);}});}['_getCacheTabsCookieName'](_0x1aa8f8){const _0x3abd88=a8_0x39607d;let _0x432cee=a8_0xc6be05['get'](_0x3abd88(0x23d)),_0x3b08e7=a8_0xc6be05[_0x3abd88(0x1bc)](_0x3abd88(0x20b)),{topMenu:_0x4fd899}=this[_0x3abd88(0x20e)],_0xc3a89f;if(_0x4fd899){let _0x47a1f0=findRootMenu(_0x1aa8f8);return _0xc3a89f=_0x47a1f0['menuId'],_0x3abd88(0x1e1)+md5(_0x3abd88(0x1c9)+(_0x3b08e7[_0x3abd88(0x1fb)]||_0x3b08e7[_0x3abd88(0x1bb)])+'-'+_0x432cee['accountId']+'-'+_0xc3a89f);}else return _0x3abd88(0x1e1)+md5('ct_'+(_0x3b08e7['userPlatformId']||_0x3b08e7['platformId'])+'-'+_0x432cee[_0x3abd88(0x1df)]);}['_getCacheTabsItems'](_0xd4df8e){const _0x5ac9d7=a8_0x39607d;let _0x4b7974=[],{tabCache:_0x251ed2,menusMap:_0x3159f8}=this[_0x5ac9d7(0x20e)];if(!_0x251ed2)return _0x4b7974[_0x5ac9d7(0x1ed)](this[_0x5ac9d7(0x1c5)](_0xd4df8e)),_0x4b7974;let _0x377289=getCookie(this[_0x5ac9d7(0x270)](_0xd4df8e)),_0x1d300c=_0x377289?_0x377289[_0x5ac9d7(0x22f)](','):[],_0x37bfa4=![];if(_0x1d300c[_0x5ac9d7(0x200)]>0x0)for(let _0x2da963=0x0;_0x2da963<_0x1d300c[_0x5ac9d7(0x200)];_0x2da963++){let _0x4d056d=_0x3159f8[_0x1d300c[_0x2da963]];if(!_0x4d056d)continue;_0x4d056d=_0x4d056d[_0x5ac9d7(0x1e0)],_0x4b7974['push'](this['_createTabItem'](_0x4d056d)),_0x4d056d[_0x5ac9d7(0x1ca)]===_0xd4df8e[_0x5ac9d7(0x1ca)]&&(_0x37bfa4=!![]);}return!_0x37bfa4&&_0x4b7974['push'](this[_0x5ac9d7(0x1c5)](_0xd4df8e)),_0x4b7974;}['_saveCacheTabsItems'](_0xbcd642,_0x2d21c5){const _0x65402b=a8_0x39607d;if(!_0x2d21c5)return;let {tabCache:_0x60c721}=this[_0x65402b(0x20e)];if(!_0x60c721)return;if(_0xbcd642&&_0xbcd642[_0x65402b(0x200)]>0x0){let _0x24b0a4=[];_0xbcd642[_0x65402b(0x224)](_0x56b350=>{const _0x3c3421=_0x65402b;_0x24b0a4[_0x3c3421(0x1ed)](_0x56b350[_0x3c3421(0x1fc)]);}),setCookie(this[_0x65402b(0x270)](_0x2d21c5),_0x24b0a4[_0x65402b(0x24b)](','));}else removeCookie(this[_0x65402b(0x270)](_0x2d21c5));}[a8_0x39607d(0x1c4)](_0x172e8f){const _0x17225e=a8_0x39607d;let {menus:_0x3272d1,topMenu:_0x9e8034,showTab:_0x5726f2}=this['props'];if(!_0x9e8034&&_0x5726f2){this[_0x17225e(0x1e8)]?this['_tabsShowMenu'](this[_0x17225e(0x1e8)],_0x172e8f):this[_0x17225e(0x1f9)][_0x17225e(0x1e5)]({'key':_0x17225e(0x1cd),'children':this[_0x17225e(0x232)](_0x4e01a1=>{this['tabs']=_0x4e01a1;},_0x172e8f)});return;}if(_0x9e8034){if(_0x5726f2){let _0x1b6a40=findLeftMenu({'menus':_0x3272d1,'curMenu':_0x172e8f,'topMenu':_0x9e8034});if(_0x1b6a40&&_0x1b6a40['length']>0x0){let _0x2713eb=findRootMenu(_0x172e8f);if(this[_0x17225e(0x1f9)]['exitItem'](_0x2713eb[_0x17225e(0x1ca)])){this[_0x17225e(0x1f9)]['setActiveKey'](_0x2713eb['menuId'],{'triggerOnChange':![]});let _0x252dcb=this[_0x17225e(0x1e9)][_0x2713eb[_0x17225e(0x1ca)]];this['_tabsShowMenu'](_0x252dcb,_0x172e8f);}else this[_0x17225e(0x1f9)][_0x17225e(0x22c)]({'key':_0x2713eb[_0x17225e(0x1ca)],'children':this[_0x17225e(0x232)](_0x4a29df=>{const _0x2f7d22=_0x17225e;this[_0x2f7d22(0x1e9)][_0x2713eb[_0x2f7d22(0x1ca)]]=_0x4a29df;},_0x172e8f)},{'activeKey':_0x2713eb[_0x17225e(0x1ca)],'triggerOnChange':![]});}else this[_0x17225e(0x214)](_0x172e8f);}else this[_0x17225e(0x214)](_0x172e8f);}else this[_0x17225e(0x214)](_0x172e8f);}[a8_0x39607d(0x214)](_0x3c6efa){const _0x2425f3=a8_0x39607d;if(!_0x3c6efa){this[_0x2425f3(0x1f9)][_0x2425f3(0x1d8)]();return;}let {menuId:_0x43685b,name:_0x5b11a5}=_0x3c6efa;if(this[_0x2425f3(0x20e)]['keepMenu']){this[_0x2425f3(0x1f9)]['exitItem'](_0x43685b)?this[_0x2425f3(0x1f9)][_0x2425f3(0x253)](_0x43685b,{'triggerOnChange':![]}):this['cachePanel'][_0x2425f3(0x22c)]({'key':_0x43685b,'children':_0x43685b+':'+_0x5b11a5},{'activeKey':_0x43685b,'triggerOnChange':![]});return;}this[_0x2425f3(0x1f9)][_0x2425f3(0x1e5)]({'key':_0x43685b,'children':_0x43685b+':'+_0x5b11a5});}[a8_0x39607d(0x1b7)](_0x3d3786,_0x3af540){const _0x5245c0=a8_0x39607d;if(!_0x3d3786)return;if(!_0x3af540){_0x3d3786[_0x5245c0(0x1d8)]({'triggerOnChange':![]});return;}let {menuId:_0x1ede77}=_0x3af540;_0x3d3786[_0x5245c0(0x204)](_0x1ede77)?_0x3d3786[_0x5245c0(0x253)](_0x1ede77,{'triggerOnChange':![]}):_0x3d3786[_0x5245c0(0x22c)](this[_0x5245c0(0x1c5)](_0x3af540),{'activeKey':_0x1ede77,'triggerOnChange':![]});}['render'](){const _0x2208fb=a8_0x39607d;let {showNav:_0x1b58a0,curMenu:_0x2f8397}=this['props'];return jsxs(Fragment,{'children':[_0x1b58a0&&jsx(Breadcrumb,{'style':{'marginBottom':0xf},'items':findBreadcrumbItems(_0x2f8397)}),jsx(CachePanel,{'style':{'display':''+(_0x2f8397?_0x2208fb(0x238):_0x2208fb(0x213))},'ref':_0x23f14f=>this['cachePanel']=_0x23f14f})]});}}function wrapperMenus(_0xd645ea){const _0x1653f7=a8_0x39607d;if(!_0xd645ea||_0xd645ea[_0x1653f7(0x200)]===0x0)return{'menus':[],'menusMap':{}};let _0x1f28bb={},_0x4a04f8={};_0xd645ea['forEach'](_0x543532=>{const _0x558caa=_0x1653f7;let _0x40038c={'key':_0x543532[_0x558caa(0x1ca)],'label':_0x543532[_0x558caa(0x26d)],'icon':_0x543532[_0x558caa(0x1b8)],'data':_0x543532};_0x1f28bb[_0x543532[_0x558caa(0x1ca)]]=_0x40038c,_0x4a04f8[_0x543532[_0x558caa(0x1ca)]]=_0x40038c;}),_0xd645ea[_0x1653f7(0x224)](_0x1c937c=>{const _0x4871f0=_0x1653f7;let {menuId:_0x36f3bd,parentMenuId:_0x1b12c7}=_0x1c937c,_0x52d89a=_0x1f28bb[_0x1b12c7];_0x52d89a&&(!_0x52d89a[_0x4871f0(0x216)]&&(_0x52d89a[_0x4871f0(0x216)]=[]),_0x1c937c[_0x4871f0(0x239)]=_0x52d89a[_0x4871f0(0x1e0)],_0x52d89a[_0x4871f0(0x216)]['push'](_0x1f28bb[_0x36f3bd]),delete _0x4a04f8[_0x36f3bd]);});let _0x2c75b8=[];Object[_0x1653f7(0x211)](_0x4a04f8)[_0x1653f7(0x224)](_0xa03c5d=>_0x2c75b8[_0x1653f7(0x1ed)](_0x4a04f8[_0xa03c5d]));if(_0x2c75b8['length']===0x0)return _0x2c75b8;return _0x2c75b8['sort']((_0x320baf,_0x17ee8e)=>{const _0x53f909=_0x1653f7;let _0x5e4aed=_0x320baf[_0x53f909(0x1e0)]['sort'],_0x7f0e21=_0x17ee8e[_0x53f909(0x1e0)][_0x53f909(0x20a)];return _0x5e4aed-_0x7f0e21;}),{'menus':_0x2c75b8,'menusMap':_0x1f28bb};}function findCurMenu(_0x46d2fb,_0x3ae288){const _0x2b94c8=a8_0x39607d;if('/'===_0x3ae288||_0x3ae288==='')return null;if(!_0x46d2fb||_0x46d2fb['length']===0x0)return null;let _0x374098=_0x3ae288[_0x2b94c8(0x22f)]('/')[_0x2b94c8(0x24b)]('/');for(let _0x44e997=0x0;_0x44e997<_0x46d2fb[_0x2b94c8(0x200)];_0x44e997++){let {data:_0x7107ad,children:_0x7292d4}=_0x46d2fb[_0x44e997],{urlPath:_0x5ed717}=_0x7107ad,_0x46c6c9=_0x5ed717['split']('/')['join']('/');if(_0x374098===_0x46c6c9){if(!_0x7292d4||_0x7292d4['length']===0x0)return _0x7107ad;return null;}if(_0x7292d4&&_0x7292d4[_0x2b94c8(0x200)]>0x0){let _0x13fbeb=findCurMenu(_0x7292d4,_0x3ae288);if(_0x13fbeb)return _0x13fbeb;}}return null;}function findDefaultMenu(_0x1ceed2){const _0x11a042=a8_0x39607d;if(!_0x1ceed2||_0x1ceed2[_0x11a042(0x200)]===0x0)return null;let {data:_0x412be2,children:_0x26ee1f}=_0x1ceed2[0x0];if(!_0x26ee1f||_0x26ee1f['length']===0x0)return _0x412be2;return findDefaultMenu(_0x26ee1f);}function findLeftMenu({menus:_0x5f0c22,topMenu:_0x41a0db,curMenu:_0xb02bd1}={}){const _0x2b9619=a8_0x39607d;if(!_0xb02bd1||!_0x5f0c22||_0x5f0c22[_0x2b9619(0x200)]===0x0)return null;if(!_0x41a0db)return _0x5f0c22;for(let _0x5b5717=0x0;_0x5b5717<_0x5f0c22[_0x2b9619(0x200)];_0x5b5717++){let {children:_0x5124a1}=_0x5f0c22[_0x5b5717];if(curMenuInMenus({'curMenu':_0xb02bd1,'menus':_0x5124a1}))return _0x5124a1;}return null;}function curMenuInMenus({curMenu:_0x2cd172,menus:_0x100e8b}={}){const _0x3d94dc=a8_0x39607d;if(!_0x2cd172||!_0x100e8b||_0x100e8b[_0x3d94dc(0x200)]===0x0)return![];for(let _0x49d845=0x0;_0x49d845<_0x100e8b[_0x3d94dc(0x200)];_0x49d845++){let {data:_0x5c5757,children:_0x3b14e5}=_0x100e8b[_0x49d845];if(_0x5c5757[_0x3d94dc(0x1ca)]===_0x2cd172[_0x3d94dc(0x1ca)])return!![];if(_0x3b14e5&&_0x3b14e5[_0x3d94dc(0x200)]>0x0){if(curMenuInMenus({'curMenu':_0x2cd172,'menus':_0x3b14e5}))return!![];}}return![];}function findOpenMenuKeys(_0x833d7b,_0x2596ba){const _0x147017=a8_0x39607d;let _0x49e5c4=[],{menuId:_0x486a0c,parentMenu:_0x11ecd1}=_0x833d7b;if(_0x2596ba[_0x486a0c])return _0x49e5c4;if(!_0x11ecd1)return _0x49e5c4;return _0x49e5c4[_0x147017(0x1ed)](_0x11ecd1[_0x147017(0x1ca)]),_0x49e5c4[_0x147017(0x1ed)](...findOpenMenuKeys(_0x11ecd1,_0x2596ba)),_0x49e5c4;}function findRootMenu(_0x59f0c3){let {parentMenu:_0x424504}=_0x59f0c3;if(!_0x424504)return _0x59f0c3;return findRootMenu(_0x424504);}function findBreadcrumbItems(_0x4091ae){const _0x47f1d5=a8_0x39607d;let _0xaa85aa=[];if(!_0x4091ae)return _0xaa85aa;let {iconCls:_0x330b13,name:_0x49f444}=_0x4091ae;_0x330b13?_0xaa85aa[_0x47f1d5(0x1ed)]({'title':jsxs('span',{'children':[jsx(SvgIcon,{'id':_0x330b13,'fontSize':0xe,'style':{'verticalAlign':-0x2,'marginRight':0x5}}),_0x49f444]})}):_0xaa85aa[_0x47f1d5(0x1ed)]({'title':_0x49f444});let {parentMenu:_0x40da60}=_0x4091ae;if(!_0x40da60)return _0xaa85aa;return _0xaa85aa[_0x47f1d5(0x1ed)](...findBreadcrumbItems(_0x40da60)),_0xaa85aa['reverse']();}export{IndexPage as I};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a9_0x2ca7(){var _0x1474e3=['1128716QjujWt','2071764IMiMLY','14852992zOqPkA','5257280GrRowD','3000516RNcmiJ','14maffuI','4190652JShQTo','211518lAPffc'];a9_0x2ca7=function(){return _0x1474e3;};return a9_0x2ca7();}(function(_0xa6ef07,_0x2f5c09){var _0x38db08=a9_0x133a,_0x311101=_0xa6ef07();while(!![]){try{var _0x684389=parseInt(_0x38db08(0x16c))/0x1+parseInt(_0x38db08(0x173))/0x2+parseInt(_0x38db08(0x16d))/0x3+parseInt(_0x38db08(0x170))/0x4+parseInt(_0x38db08(0x16f))/0x5+parseInt(_0x38db08(0x172))/0x6+-parseInt(_0x38db08(0x171))/0x7*(parseInt(_0x38db08(0x16e))/0x8);if(_0x684389===_0x2f5c09)break;else _0x311101['push'](_0x311101['shift']());}catch(_0x1d0b16){_0x311101['push'](_0x311101['shift']());}}}(a9_0x2ca7,0xadca2));function a9_0x133a(_0x5e5089,_0x59b47d){var _0x2ca711=a9_0x2ca7();return a9_0x133a=function(_0x133aab,_0x33e587){_0x133aab=_0x133aab-0x16c;var _0x29cf42=_0x2ca711[_0x133aab];return _0x29cf42;},a9_0x133a(_0x5e5089,_0x59b47d);}import'./../../assets/app/app.css';import{L}from'./login/LoginPage.js';import{I}from'./index/IndexPage.js';export{I as IndexPage,L as LoginPage};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(function(_0x327de5,_0x720765){const _0x24dd36=a10_0xf416,_0x4b68e8=_0x327de5();while(!![]){try{const _0x2b0473=-parseInt(_0x24dd36(0x158))/0x1+-parseInt(_0x24dd36(0x148))/0x2+parseInt(_0x24dd36(0x13d))/0x3+parseInt(_0x24dd36(0x13f))/0x4*(parseInt(_0x24dd36(0x155))/0x5)+parseInt(_0x24dd36(0x142))/0x6*(-parseInt(_0x24dd36(0x14d))/0x7)+parseInt(_0x24dd36(0x13e))/0x8+parseInt(_0x24dd36(0x137))/0x9;if(_0x2b0473===_0x720765)break;else _0x4b68e8['push'](_0x4b68e8['shift']());}catch(_0x56a298){_0x4b68e8['push'](_0x4b68e8['shift']());}}}(a10_0x3dd2,0x74e9d));function a10_0xf416(_0x475769,_0x58d9b1){const _0x3dd26b=a10_0x3dd2();return a10_0xf416=function(_0xf41660,_0x10be17){_0xf41660=_0xf41660-0x12e;let _0x49ca35=_0x3dd26b[_0xf41660];return _0x49ca35;},a10_0xf416(_0x475769,_0x58d9b1);}import{jsxs,jsx}from'react/jsx-runtime';import{Avatar,Form,Input,Row,Col,Button}from'antd';import{BaseFunction}from'threels-workbench-component';import{UserOutlined,LockOutlined}from'@ant-design/icons';import{useState,useEffect,useRef,useCallback}from'react';import{a as a10_0x5d92d1}from'../../presenter/presenter.js';function a10_0x3dd2(){const _0x3c2f8f=['946568GlLfTa','请输入账号!','validateFields','6AobAHa','login-btn','rgba(0,0,0,.25)','account','请输入密码!','login','1321178fcXdWr','login-img','login-box','div','useUrlQuery','3085411NqKXSW','请输入密码','data','_ctx','key','location','primary','useSpin','5KzMFKQ','href','/_res/cover/','643615xeXJuM','showDoingIndicator','Password','name','登录中...','img-bg','/_res/logo/','large','login-info','platform','login-name','8746002hlmgSK','password','Enter','Item','then','url(','2305611zIXcYs','1975176jMTTZK'];a10_0x3dd2=function(){return _0x3c2f8f;};return a10_0x3dd2();}import'threels-workbench-core';function LoginPage(_0x179c7b){const _0x31ab01=a10_0xf416;let {platform:_0x4f4a53,platformName:_0x556895}=_0x179c7b,[_0x7a670f,_0x586eff]=useState(_0x556895),{render:_0x53a128,show:_0x2b4109,close:_0x530365}=BaseFunction[_0x31ab01(0x154)](),_0x143ddd=a10_0x5d92d1({'showDoingIndicator':_0x2b4109,'closeDoingIndicator':_0x530365});useEffect(()=>{const _0x1282d0=_0x31ab01;_0x143ddd[_0x1282d0(0x135)]({'platform':_0x4f4a53},{},_0x4285c6=>{const _0x1bc159=_0x1282d0;_0x586eff(_0x4285c6[_0x1bc159(0x14f)][_0x1bc159(0x12f)]);});},[]);let _0x564718=useRef(null);const _0x83506e=useCallback(()=>{const _0x3d71c4=_0x31ab01;_0x564718['current'][_0x3d71c4(0x141)]()[_0x3d71c4(0x13b)](_0x413aff=>{const _0x419ae0=_0x3d71c4;_0x143ddd[_0x419ae0(0x159)](_0x419ae0(0x130)),_0x143ddd[_0x419ae0(0x147)]({..._0x413aff,'platform':_0x4f4a53},{},_0x7b2ccb=>{const _0x416010=_0x419ae0;let {backUrl:_0x31180f}=BaseFunction[_0x416010(0x14c)]();if(_0x31180f)window['location'][_0x416010(0x156)]=_0x31180f;else window['_ctx']?window[_0x416010(0x152)][_0x416010(0x156)]=window[_0x416010(0x150)]:window[_0x416010(0x152)][_0x416010(0x156)]='/';});});},[]);return jsxs(_0x31ab01(0x14b),{'className':'workbench-login-container','children':[jsx('div',{'className':_0x31ab01(0x149),'children':jsx(_0x31ab01(0x14b),{'className':_0x31ab01(0x131),'style':{'backgroundImage':_0x31ab01(0x13c)+window['_ctx']+_0x31ab01(0x157)+_0x4f4a53+')'}})}),jsx(_0x31ab01(0x14b),{'className':_0x31ab01(0x134),'children':jsxs(_0x31ab01(0x14b),{'className':_0x31ab01(0x14a),'children':[jsx(_0x31ab01(0x14b),{'className':'login-logo','children':jsx(Avatar,{'src':window['_ctx']+_0x31ab01(0x132)+_0x4f4a53,'size':0x40})}),jsx(_0x31ab01(0x14b),{'className':_0x31ab01(0x136),'children':jsx('span',{'children':_0x7a670f})}),_0x53a128(jsx('div',{'className':'login-form','children':jsxs(Form,{'ref':_0x564718,'wrapperCol':{'span':0x18},'children':[jsx(Form[_0x31ab01(0x13a)],{'name':_0x31ab01(0x145),'rules':[{'required':!![],'message':_0x31ab01(0x140)}],'children':jsx(Input,{'prefix':jsx(UserOutlined,{'style':{'color':_0x31ab01(0x144)}}),'placeholder':'请输入账号','onKeyDown':_0x52dd6b=>{const _0x1b3cba=_0x31ab01;_0x52dd6b[_0x1b3cba(0x151)]===_0x1b3cba(0x139)&&_0x83506e();}})}),jsx(Form[_0x31ab01(0x13a)],{'name':_0x31ab01(0x138),'rules':[{'required':!![],'message':_0x31ab01(0x146)}],'children':jsx(Input[_0x31ab01(0x12e)],{'prefix':jsx(LockOutlined,{'style':{'color':_0x31ab01(0x144)}}),'placeholder':_0x31ab01(0x14e),'onKeyDown':_0x577016=>{const _0x2f575b=_0x31ab01;_0x577016['key']===_0x2f575b(0x139)&&_0x83506e();}})}),jsx(Row,{'children':jsx(Col,{'span':0x18,'children':jsx(Button,{'type':_0x31ab01(0x153),'className':_0x31ab01(0x143),'size':_0x31ab01(0x133),'onClick':_0x83506e,'children':'登录'})})})]})}))]})})]});}export{LoginPage as L};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
function a11_0x5627(){const _0x32e625=['250893jWeDRn','8HVruEp','/api/platform_info','20mpEvlv','login','loginOut','platformList','info','1650wneDoP','3654064TgieFO','89098tPlebz','resolve','platformSwitch','/api/_webplatform_workbench/account/info','/api/loginOut','/api/_webplatform_workbench/account/modify','783062RiETuU','1569384IDcUTD','reject','then','modify','platformMenu','resetPwd','platform','12630WPjcyp','6039640FtWQxH','/api/_webplatform_workbench/account/platform/switch'];a11_0x5627=function(){return _0x32e625;};return a11_0x5627();}const a11_0x514c91=a11_0x7dc5;(function(_0x26e598,_0x39d895){const _0x52a091=a11_0x7dc5,_0x478002=_0x26e598();while(!![]){try{const _0x58c0a5=parseInt(_0x52a091(0xc9))/0x1*(parseInt(_0x52a091(0xb7))/0x2)+parseInt(_0x52a091(0xbe))/0x3+parseInt(_0x52a091(0xb6))/0x4+-parseInt(_0x52a091(0xc5))/0x5*(parseInt(_0x52a091(0xb5))/0x6)+parseInt(_0x52a091(0xbd))/0x7+-parseInt(_0x52a091(0xc6))/0x8+-parseInt(_0x52a091(0xc8))/0x9*(-parseInt(_0x52a091(0xcb))/0xa);if(_0x58c0a5===_0x39d895)break;else _0x478002['push'](_0x478002['shift']());}catch(_0x579347){_0x478002['push'](_0x478002['shift']());}}}(a11_0x5627,0x7cc4b));import{useMemo}from'react';function a11_0x7dc5(_0x3b5ed0,_0x14db12){const _0x5627a5=a11_0x5627();return a11_0x7dc5=function(_0x7dc544,_0x298791){_0x7dc544=_0x7dc544-0xb2;let _0x54bf94=_0x5627a5[_0x7dc544];return _0x54bf94;},a11_0x7dc5(_0x3b5ed0,_0x14db12);}import{Presenter,submitFormData,submitJsonData}from'threels-workbench-core';function useWorkbenchLoginPresenter(_0x364425){return useMemo(()=>new WorkbenchLoginPresenter(_0x364425),[]);}class WorkbenchLoginPresenter extends Presenter{constructor(_0x140602){super(_0x140602);}[a11_0x514c91(0xc4)](_0x294f24,_0x5d7252,_0x51ce5f,_0x5a7f38,_0x2b4106){const _0x262dfb=a11_0x514c91;let _0x36de4f=_0x262dfb(0xca);submitFormData({..._0x2b4106?_0x2b4106:{},'url':_0x36de4f,'bodyParams':_0x294f24,'urlParams':_0x5d7252})[_0x262dfb(0xc0)](_0x5195d8=>this[_0x262dfb(0xb8)](_0x51ce5f,_0x5195d8,{'url':_0x36de4f,'body':_0x294f24,'query':_0x5d7252}),_0x12c10b=>this[_0x262dfb(0xbf)](_0x5a7f38,_0x12c10b,{'url':_0x36de4f,'body':_0x294f24,'query':_0x5d7252}));}[a11_0x514c91(0xcc)](_0x40b7a0,_0x14f2a4,_0x42fb2e,_0x3845a0,_0x1b415e){const _0x23ae75=a11_0x514c91;let _0x22e368='/api/login';submitFormData({..._0x1b415e?_0x1b415e:{},'url':_0x22e368,'bodyParams':_0x40b7a0,'urlParams':_0x14f2a4})[_0x23ae75(0xc0)](_0x4ddb68=>this[_0x23ae75(0xb8)](_0x42fb2e,_0x4ddb68,{'url':_0x22e368,'body':_0x40b7a0,'query':_0x14f2a4}),_0x318d8b=>this[_0x23ae75(0xbf)](_0x3845a0,_0x318d8b,{'url':_0x22e368,'body':_0x40b7a0,'query':_0x14f2a4}));}[a11_0x514c91(0xb2)](_0x4838bb,_0x1ced83,_0x5997fc,_0x110cd6,_0x793054){const _0x120e65=a11_0x514c91;let _0x655ced=_0x120e65(0xbb);submitFormData({..._0x793054?_0x793054:{},'url':_0x655ced,'bodyParams':_0x4838bb,'urlParams':_0x1ced83})[_0x120e65(0xc0)](_0x19fea8=>this[_0x120e65(0xb8)](_0x5997fc,_0x19fea8,{'url':_0x655ced,'body':_0x4838bb,'query':_0x1ced83}),_0x2e6627=>this[_0x120e65(0xbf)](_0x110cd6,_0x2e6627,{'url':_0x655ced,'body':_0x4838bb,'query':_0x1ced83}));}}function useWorkbenchAccountPresenter(_0xc5bf24){return useMemo(()=>new WorkbenchAccountPresenter(_0xc5bf24),[]);}class WorkbenchAccountPresenter extends Presenter{constructor(_0x4a06cf){super(_0x4a06cf);}[a11_0x514c91(0xc2)](_0x51cb4f,_0x2753c7,_0x84ee63,_0x1a09b5,_0x309c12){const _0x5e8d39=a11_0x514c91;let _0x2524cd='/api/_webplatform_workbench/account/platform/menu';submitFormData({..._0x309c12?_0x309c12:{},'url':_0x2524cd,'bodyParams':_0x51cb4f,'urlParams':_0x2753c7})['then'](_0x131d59=>this[_0x5e8d39(0xb8)](_0x84ee63,_0x131d59,{'url':_0x2524cd,'body':_0x51cb4f,'query':_0x2753c7}),_0x3802ac=>this[_0x5e8d39(0xbf)](_0x1a09b5,_0x3802ac,{'url':_0x2524cd,'body':_0x51cb4f,'query':_0x2753c7}));}[a11_0x514c91(0xb3)](_0xd311e7,_0x3d21e1,_0x56d8f6,_0x159389,_0x174c7f){const _0x38ac41=a11_0x514c91;let _0x1eed4f='/api/_webplatform_workbench/account/platform/list';submitFormData({..._0x174c7f?_0x174c7f:{},'url':_0x1eed4f,'bodyParams':_0xd311e7,'urlParams':_0x3d21e1})['then'](_0xbcbbcb=>this[_0x38ac41(0xb8)](_0x56d8f6,_0xbcbbcb,{'url':_0x1eed4f,'body':_0xd311e7,'query':_0x3d21e1}),_0x29f8ef=>this[_0x38ac41(0xbf)](_0x159389,_0x29f8ef,{'url':_0x1eed4f,'body':_0xd311e7,'query':_0x3d21e1}));}[a11_0x514c91(0xb9)](_0xd8dc87,_0x259991,_0x3e4e2a,_0x462cdf,_0x2652fe){const _0x3440e8=a11_0x514c91;let _0x5c596d=_0x3440e8(0xc7);submitFormData({..._0x2652fe?_0x2652fe:{},'url':_0x5c596d,'bodyParams':_0xd8dc87,'urlParams':_0x259991})[_0x3440e8(0xc0)](_0xb97ccb=>this[_0x3440e8(0xb8)](_0x3e4e2a,_0xb97ccb,{'url':_0x5c596d,'body':_0xd8dc87,'query':_0x259991}),_0xc032d4=>this[_0x3440e8(0xbf)](_0x462cdf,_0xc032d4,{'url':_0x5c596d,'body':_0xd8dc87,'query':_0x259991}));}[a11_0x514c91(0xb4)](_0x452630,_0x3d87a3,_0x3e3986,_0x27fece,_0x1dfb99){const _0x5e9b8c=a11_0x514c91;let _0x5c1879=_0x5e9b8c(0xba);submitFormData({..._0x1dfb99?_0x1dfb99:{},'url':_0x5c1879,'bodyParams':_0x452630,'urlParams':_0x3d87a3})[_0x5e9b8c(0xc0)](_0x311726=>this[_0x5e9b8c(0xb8)](_0x3e3986,_0x311726,{'url':_0x5c1879,'body':_0x452630,'query':_0x3d87a3}),_0xfc7a85=>this[_0x5e9b8c(0xbf)](_0x27fece,_0xfc7a85,{'url':_0x5c1879,'body':_0x452630,'query':_0x3d87a3}));}[a11_0x514c91(0xc1)](_0x2dd04e,_0x4ac6b2,_0x48322f,_0x42a36a,_0x2509c9){const _0x23eb61=a11_0x514c91;let _0x2d2c5f=_0x23eb61(0xbc);submitJsonData({..._0x2509c9?_0x2509c9:{},'url':_0x2d2c5f,'bodyParams':_0x2dd04e,'urlParams':_0x4ac6b2})['then'](_0x52fabb=>this['resolve'](_0x48322f,_0x52fabb,{'url':_0x2d2c5f,'body':_0x2dd04e,'query':_0x4ac6b2}),_0x4f7be2=>this[_0x23eb61(0xbf)](_0x42a36a,_0x4f7be2,{'url':_0x2d2c5f,'body':_0x2dd04e,'query':_0x4ac6b2}));}[a11_0x514c91(0xc3)](_0x44af54,_0x4c4faa,_0x346132,_0x9c2dee,_0x215a4){const _0x2276b3=a11_0x514c91;let _0xa1c10f='/api/_webplatform_workbench/account/reset/pwd';submitFormData({..._0x215a4?_0x215a4:{},'url':_0xa1c10f,'bodyParams':_0x44af54,'urlParams':_0x4c4faa})[_0x2276b3(0xc0)](_0x40c385=>this[_0x2276b3(0xb8)](_0x346132,_0x40c385,{'url':_0xa1c10f,'body':_0x44af54,'query':_0x4c4faa}),_0x583072=>this[_0x2276b3(0xbf)](_0x9c2dee,_0x583072,{'url':_0xa1c10f,'body':_0x44af54,'query':_0x4c4faa}));}}export{WorkbenchAccountPresenter as W,useWorkbenchLoginPresenter as a,useWorkbenchAccountPresenter as u};
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "threels-workbench-app",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "0.0.2",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "dist/lib/cjs/index.js",
|
|
7
|
+
"module": "dist/lib/es/index.js",
|
|
8
|
+
"files": [
|
|
9
|
+
"dist/lib/cjs/*",
|
|
10
|
+
"dist/lib/es/*"
|
|
11
|
+
],
|
|
12
|
+
"scripts": {
|
|
13
|
+
"start": "vite",
|
|
14
|
+
"dev": "vite",
|
|
15
|
+
"build": "vite build",
|
|
16
|
+
"lint": "eslint .",
|
|
17
|
+
"preview": "vite preview"
|
|
18
|
+
},
|
|
19
|
+
"dependencies": {},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@ant-design/icons": "~5.6.1",
|
|
22
|
+
"@ant-design/v5-patch-for-react-19": "^1.0.3",
|
|
23
|
+
"@dnd-kit/core": "~6.3.1",
|
|
24
|
+
"@dnd-kit/modifiers": "~9.0.0",
|
|
25
|
+
"@dnd-kit/sortable": "~10.0.0",
|
|
26
|
+
"@dnd-kit/utilities": "~3.2.2",
|
|
27
|
+
"@eslint/js": "~9.29.0",
|
|
28
|
+
"@types/react": "~19.1.8",
|
|
29
|
+
"@types/react-dom": "~19.1.6",
|
|
30
|
+
"@vitejs/plugin-react": "~4.5.2",
|
|
31
|
+
"antd": "~5.24.1",
|
|
32
|
+
"eslint": "~9.29.0",
|
|
33
|
+
"eslint-plugin-react-hooks": "~5.2.0",
|
|
34
|
+
"eslint-plugin-react-refresh": "~0.4.20",
|
|
35
|
+
"globals": "~16.2.0",
|
|
36
|
+
"immer": "~10.1.1",
|
|
37
|
+
"moment": "~2.30.1",
|
|
38
|
+
"react": "~19.1.0",
|
|
39
|
+
"react-dom": "~19.1.0",
|
|
40
|
+
"react-router": "~7.2.0",
|
|
41
|
+
"threels-workbench-component": "^0.0.15",
|
|
42
|
+
"threels-workbench-core": "^0.0.11",
|
|
43
|
+
"use-immer": "~0.11.0",
|
|
44
|
+
"vite": "~7.0.0",
|
|
45
|
+
"vite-obfuscator-zznode": "^1.3.1",
|
|
46
|
+
"vite-plugin-libcss": "^1.1.2"
|
|
47
|
+
}
|
|
48
|
+
}
|