vome-core 0.1.95 → 0.1.97

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.
Files changed (68) hide show
  1. package/dist/admin/api/client.js +33 -4
  2. package/dist/admin/components/ui/avatar/index.js +1 -1
  3. package/dist/admin/components/ui/checkbox/index.js +1 -1
  4. package/dist/admin/components/ui/dialog/index.js +1 -1
  5. package/dist/admin/components/ui/dropdown-menu/index.js +1 -1
  6. package/dist/admin/components/ui/input/index.js +1 -1
  7. package/dist/admin/components/ui/label/index.js +1 -1
  8. package/dist/admin/components/ui/scroll-area/index.js +1 -1
  9. package/dist/admin/components/ui/select/index.js +1 -1
  10. package/dist/admin/components/ui/separator/index.js +1 -1
  11. package/dist/admin/components/ui/sheet/index.js +1 -1
  12. package/dist/admin/components/ui/sonner/index.js +1 -1
  13. package/dist/admin/components/ui/table/index.js +1 -1
  14. package/dist/admin/components/ui/tabs/index.js +1 -1
  15. package/dist/admin/components/ui/tooltip/index.js +1 -1
  16. package/dist/admin/crud/components/vm-richtext-extensions.js +1 -1
  17. package/dist/admin/crud/config.js +1 -1
  18. package/dist/admin/crud/confirm.js +1 -1
  19. package/dist/admin/crud/crud-page-request.js +1 -1
  20. package/dist/admin/crud/data-i18n.d.ts +16 -6
  21. package/dist/admin/crud/data-i18n.js +1 -1
  22. package/dist/admin/crud/dict.js +1 -1
  23. package/dist/admin/crud/export-fetch.js +1 -1
  24. package/dist/admin/crud/key.js +1 -1
  25. package/dist/admin/crud/plugins.js +1 -1
  26. package/dist/admin/crud/span.js +1 -1
  27. package/dist/admin/crud/style.js +1 -1
  28. package/dist/admin/crud/validate.js +1 -1
  29. package/dist/admin/crud/vm-crud.vue +45 -9
  30. package/dist/admin/crud/vm-data-i18n-btn.vue +45 -22
  31. package/dist/admin/crud/vm-data-i18n-lang.vue +147 -44
  32. package/dist/admin/crud/vm-table.vue +108 -27
  33. package/dist/admin/crud/vm-toolbar.vue +1 -1
  34. package/dist/admin/directives/perm.js +1 -1
  35. package/dist/admin/hooks/useUpload.js +1 -1
  36. package/dist/admin/lib/browser.js +1 -1
  37. package/dist/admin/lib/cn.js +1 -1
  38. package/dist/admin/lib/dialog-float.js +1 -1
  39. package/dist/admin/lib/export-excel.js +1 -1
  40. package/dist/admin/lib/import-excel.js +1 -1
  41. package/dist/admin/lib/json.js +1 -1
  42. package/dist/admin/lib/menu.js +1 -1
  43. package/dist/admin/lib/micro-locale.js +1 -1
  44. package/dist/admin/lib/micro-theme.js +1 -1
  45. package/dist/admin/lib/setup-crud-defaults.js +1 -1
  46. package/dist/admin/lib/shell.js +1 -1
  47. package/dist/admin/lib/theme-color-options.js +1 -1
  48. package/dist/admin/lib/tree.js +1 -1
  49. package/dist/admin/lib/upload.js +1 -1
  50. package/dist/admin/lib/video-frame.js +1 -1
  51. package/dist/admin/router/create.js +1 -1
  52. package/dist/admin/router/guards.js +1 -1
  53. package/dist/admin/themes/dark.js +1 -1
  54. package/dist/admin/themes/index.js +1 -1
  55. package/dist/admin/themes/light.js +1 -1
  56. package/dist/client/base.js +7 -8
  57. package/dist/index.js +1 -1
  58. package/dist/server/index.js +1 -1
  59. package/dist/shared/datetime-picker.js +1 -1
  60. package/dist/shared/excel.js +1 -1
  61. package/dist/shared/index.js +1 -1
  62. package/dist/shared/locale-json.js +1 -1
  63. package/dist/shared/tree.js +1 -1
  64. package/dist/typings/routing/eps.d.ts +2 -0
  65. package/package.json +1 -1
  66. package/typings/admin/comm/crud.ts +4 -0
  67. package/typings/admin/comm/eps.ts +2 -0
  68. package/typings/routing/eps.ts +2 -0
@@ -1 +1 @@
1
- (function(_0x3a39da,_0x523bf8){const _0x5957d4=_0x4149,_0x49c6b5=_0x3a39da();while(!![]){try{const _0x592f1e=-parseInt(_0x5957d4(0x118))/0x1*(parseInt(_0x5957d4(0x116))/0x2)+parseInt(_0x5957d4(0x111))/0x3+-parseInt(_0x5957d4(0x115))/0x4*(-parseInt(_0x5957d4(0x121))/0x5)+parseInt(_0x5957d4(0x110))/0x6*(-parseInt(_0x5957d4(0x10e))/0x7)+-parseInt(_0x5957d4(0x11b))/0x8+parseInt(_0x5957d4(0x11f))/0x9*(parseInt(_0x5957d4(0x117))/0xa)+-parseInt(_0x5957d4(0x11e))/0xb*(-parseInt(_0x5957d4(0x119))/0xc);if(_0x592f1e===_0x523bf8)break;else _0x49c6b5['push'](_0x49c6b5['shift']());}catch(_0x5b8853){_0x49c6b5['push'](_0x49c6b5['shift']());}}}(_0x25f7,0xce1db));import{createRouter,createWebHistory}from'vue-router';import{setupAdminRouterGuards}from'./guards';function _0x4149(_0x578566,_0x358e96){_0x578566=_0x578566-0x10e;const _0x25f7ca=_0x25f7();let _0x414956=_0x25f7ca[_0x578566];if(_0x4149['sTICui']===undefined){var _0x3cb91f=function(_0x4d5c78){const _0x3cf290='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1edf67='',_0x4f3263='';for(let _0x23aa92=0x0,_0x4edd82,_0xe72f9c,_0x4d05c2=0x0;_0xe72f9c=_0x4d5c78['charAt'](_0x4d05c2++);~_0xe72f9c&&(_0x4edd82=_0x23aa92%0x4?_0x4edd82*0x40+_0xe72f9c:_0xe72f9c,_0x23aa92++%0x4)?_0x1edf67+=String['fromCharCode'](0xff&_0x4edd82>>(-0x2*_0x23aa92&0x6)):0x0){_0xe72f9c=_0x3cf290['indexOf'](_0xe72f9c);}for(let _0x4ab321=0x0,_0x757fa6=_0x1edf67['length'];_0x4ab321<_0x757fa6;_0x4ab321++){_0x4f3263+='%'+('00'+_0x1edf67['charCodeAt'](_0x4ab321)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4f3263);};_0x4149['qabBoF']=_0x3cb91f,_0x4149['MITVDK']={},_0x4149['sTICui']=!![];}const _0x317478=_0x25f7ca[0x0],_0x5ef26d=_0x578566+_0x317478,_0x57d5a0=_0x4149['MITVDK'][_0x5ef26d];return!_0x57d5a0?(_0x414956=_0x4149['qabBoF'](_0x414956),_0x4149['MITVDK'][_0x5ef26d]=_0x414956):_0x414956=_0x57d5a0,_0x414956;}function _0x25f7(){const _0xcd575a=['mtGWrvjwtu9Q','Ag9Tzq','ndq3mJq4Ce5uwKLx','BM90lwzVDw5K','lZPWyxrOtwf0y2GOlIOPkG','ndqYotCWuvDvuwzU','odGWmLHluxnura','Bgf5B3v0','nJi4nvbXuMneCa','mtaWmde0mdrzBLnYtM4','6Ag16z2I5lIn5A2y5zYO','nMvNB3vesW','mZeXnJuWnwTiBvLstq','BwLZC2LUzW','BwLJCM8','l2XVz2LU','mZa0nhr1ChPruq','odeXodj2A0vVC1K','oti3mhfJDw9lyq','mJLoz2XZCKq'];_0x25f7=function(){return _0xcd575a;};return _0x25f7();}export function createAdminRouter(_0x1edf67){const _0x3ff7d1=_0x4149,_0x4f3263={'missing':_0x1edf67[_0x3ff7d1(0x112)],'micro':_0x1edf67[_0x3ff7d1(0x113)]},_0x23aa92=createRouter({'history':createWebHistory(),'routes':[{'path':_0x3ff7d1(0x114),'name':'login','component':_0x1edf67['login'],'meta':{'public':!![]}},{'path':'/','name':_0x3ff7d1(0x120),'component':_0x1edf67[_0x3ff7d1(0x120)],'children':[{'path':'','name':_0x3ff7d1(0x11a),'component':_0x1edf67[_0x3ff7d1(0x11a)],'meta':{'title':'首页'}}]},{'path':_0x3ff7d1(0x11d),'name':_0x3ff7d1(0x11c),'component':_0x1edf67[_0x3ff7d1(0x112)],'meta':{'title':_0x3ff7d1(0x10f)}}]});return setupAdminRouterGuards(_0x23aa92,_0x4f3263),{'router':_0x23aa92,'menuRouteShell':_0x4f3263};}
1
+ (function(_0x1fc596,_0x1a5523){const _0x97791c=_0x1d2e,_0x372f1c=_0x1fc596();while(!![]){try{const _0x4247d4=parseInt(_0x97791c(0x1bb))/0x1+-parseInt(_0x97791c(0x1c0))/0x2+-parseInt(_0x97791c(0x1c2))/0x3+-parseInt(_0x97791c(0x1c4))/0x4*(-parseInt(_0x97791c(0x1c7))/0x5)+-parseInt(_0x97791c(0x1b8))/0x6+parseInt(_0x97791c(0x1c5))/0x7*(parseInt(_0x97791c(0x1c6))/0x8)+-parseInt(_0x97791c(0x1c1))/0x9*(-parseInt(_0x97791c(0x1bf))/0xa);if(_0x4247d4===_0x1a5523)break;else _0x372f1c['push'](_0x372f1c['shift']());}catch(_0x31148c){_0x372f1c['push'](_0x372f1c['shift']());}}}(_0x1572,0x27fb3));import{createRouter,createWebHistory}from'vue-router';function _0x1d2e(_0x41a21e,_0x208bb9){_0x41a21e=_0x41a21e-0x1b7;const _0x1572ad=_0x1572();let _0x1d2ed7=_0x1572ad[_0x41a21e];if(_0x1d2e['tFuAnE']===undefined){var _0x1a1746=function(_0x21fdeb){const _0x317203='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x128144='',_0xa915d8='';for(let _0x270d22=0x0,_0x6c3f7f,_0x3402c7,_0x28a8be=0x0;_0x3402c7=_0x21fdeb['charAt'](_0x28a8be++);~_0x3402c7&&(_0x6c3f7f=_0x270d22%0x4?_0x6c3f7f*0x40+_0x3402c7:_0x3402c7,_0x270d22++%0x4)?_0x128144+=String['fromCharCode'](0xff&_0x6c3f7f>>(-0x2*_0x270d22&0x6)):0x0){_0x3402c7=_0x317203['indexOf'](_0x3402c7);}for(let _0xe506f8=0x0,_0x4d62cb=_0x128144['length'];_0xe506f8<_0x4d62cb;_0xe506f8++){_0xa915d8+='%'+('00'+_0x128144['charCodeAt'](_0xe506f8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0xa915d8);};_0x1d2e['uxekGB']=_0x1a1746,_0x1d2e['TNYSyY']={},_0x1d2e['tFuAnE']=!![];}const _0x5690cc=_0x1572ad[0x0],_0x1e9a2e=_0x41a21e+_0x5690cc,_0x235dc5=_0x1d2e['TNYSyY'][_0x1e9a2e];return!_0x235dc5?(_0x1d2ed7=_0x1d2e['uxekGB'](_0x1d2ed7),_0x1d2e['TNYSyY'][_0x1e9a2e]=_0x1d2ed7):_0x1d2ed7=_0x235dc5,_0x1d2ed7;}function _0x1572(){const _0x4e7aaa=['nJG3nZG2yNj6rLzh','BwLZC2LUzW','ohnJtLfsqG','nZDZAvHwzuS','mti3mZy4vxrntLjq','nteWmdeWtKv2BePX','Bg9NAw4','mtq5ntm1nKnYBunMtW','Bgf5B3v0','6Ag16z2I5lIn5A2y5zYO','mJK2otjOwfzbD0W','BM90lwzVDw5K','lZPWyxrOtwf0y2GOlIOPkG','Ag9Tzq','nJG3mtbvzxjXB2C','oty1nZrxs0feDKq','mZy5sg1IwvLA'];_0x1572=function(){return _0x4e7aaa;};return _0x1572();}import{setupAdminRouterGuards}from'./guards';export function createAdminRouter(_0x128144){const _0x3cb1ac=_0x1d2e,_0xa915d8={'missing':_0x128144[_0x3cb1ac(0x1c3)],'micro':_0x128144['micro']},_0x270d22=createRouter({'history':createWebHistory(),'routes':[{'path':'/login','name':_0x3cb1ac(0x1b7),'component':_0x128144[_0x3cb1ac(0x1b7)],'meta':{'public':!![]}},{'path':'/','name':_0x3cb1ac(0x1b9),'component':_0x128144[_0x3cb1ac(0x1b9)],'children':[{'path':'','name':_0x3cb1ac(0x1be),'component':_0x128144[_0x3cb1ac(0x1be)],'meta':{'title':'首页'}}]},{'path':_0x3cb1ac(0x1bd),'name':_0x3cb1ac(0x1bc),'component':_0x128144[_0x3cb1ac(0x1c3)],'meta':{'title':_0x3cb1ac(0x1ba)}}]});return setupAdminRouterGuards(_0x270d22,_0xa915d8),{'router':_0x270d22,'menuRouteShell':_0xa915d8};}
@@ -1 +1 @@
1
- (function(_0x58eae2,_0x21ba57){const _0x36d026=_0x29f4,_0x4d1a9c=_0x58eae2();while(!![]){try{const _0x34f83f=parseInt(_0x36d026(0xd2))/0x1+-parseInt(_0x36d026(0xd0))/0x2+-parseInt(_0x36d026(0xd9))/0x3+-parseInt(_0x36d026(0xd1))/0x4+parseInt(_0x36d026(0xce))/0x5+-parseInt(_0x36d026(0xda))/0x6*(-parseInt(_0x36d026(0xd8))/0x7)+parseInt(_0x36d026(0xdb))/0x8*(parseInt(_0x36d026(0xd4))/0x9);if(_0x34f83f===_0x21ba57)break;else _0x4d1a9c['push'](_0x4d1a9c['shift']());}catch(_0x4ee40f){_0x4d1a9c['push'](_0x4d1a9c['shift']());}}}(_0x2fe1,0xcd2e9));function _0x2fe1(){const _0x5929fc=['mJCZntG3nKjcu1vmrG','mJK5oti1u1r0EhLi','z2v0','mtG1mZq2owDZvMnArW','AxntDxbLCG','Cgf0Aa','C2v0','mteYufHwDLHw','nZm5mdm4sNz1y2HZ','nJi1mZHmu2fiqwC','ndb2ELv6Bey','Bg9Hza','Bg9NAw4','yMvMB3jLrwfJAa','CxvLCNK','ntK5ndG1mhn6AvbXBq','zNvSBfbHDgG','mtG0oti1nK1nsLDUrG'];_0x2fe1=function(){return _0x5929fc;};return _0x2fe1();}import{getAccessToken,getRefreshToken}from'../api/client';function _0x29f4(_0x4539e5,_0x487dfc){_0x4539e5=_0x4539e5-0xcc;const _0x2fe198=_0x2fe1();let _0x29f429=_0x2fe198[_0x4539e5];if(_0x29f4['ghcKdD']===undefined){var _0x63e17=function(_0x44053a){const _0x18f598='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x7d25ff='',_0x5cb544='';for(let _0x446e2d=0x0,_0x23d89a,_0x54c987,_0x4e75b9=0x0;_0x54c987=_0x44053a['charAt'](_0x4e75b9++);~_0x54c987&&(_0x23d89a=_0x446e2d%0x4?_0x23d89a*0x40+_0x54c987:_0x54c987,_0x446e2d++%0x4)?_0x7d25ff+=String['fromCharCode'](0xff&_0x23d89a>>(-0x2*_0x446e2d&0x6)):0x0){_0x54c987=_0x18f598['indexOf'](_0x54c987);}for(let _0x383236=0x0,_0x1575e4=_0x7d25ff['length'];_0x383236<_0x1575e4;_0x383236++){_0x5cb544+='%'+('00'+_0x7d25ff['charCodeAt'](_0x383236)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x5cb544);};_0x29f4['ZNHefI']=_0x63e17,_0x29f4['XYvAwL']={},_0x29f4['ghcKdD']=!![];}const _0x4f5055=_0x2fe198[0x0],_0x1347a8=_0x4539e5+_0x4f5055,_0x38c0ac=_0x29f4['XYvAwL'][_0x1347a8];return!_0x38c0ac?(_0x29f429=_0x29f4['ZNHefI'](_0x29f429),_0x29f4['XYvAwL'][_0x1347a8]=_0x29f429):_0x29f429=_0x38c0ac,_0x29f429;}import{createEps,setServicePerms}from'../service';import{useUserStore}from'../stores/user';import{clearMenuRoutesFlag,ensureMenuRoutes,removeAllMenuRoutes}from'./menu-routes';const menuReadyMap=new WeakMap();export function setupAdminRouterGuards(_0x7d25ff,_0x5cb544){const _0x2e65e3=_0x29f4;_0x7d25ff[_0x2e65e3(0xcc)](async _0x446e2d=>{const _0x484776=_0x2e65e3;if(_0x446e2d['meta']['public'])return!![];if(!getAccessToken()&&!getRefreshToken())return{'name':'login','query':{'redirect':_0x446e2d[_0x484776(0xcf)]}};try{const _0x23d89a=useUserStore();if(!_0x23d89a['loaded'])await _0x23d89a[_0x484776(0xdc)]();await createEps(),setServicePerms(_0x23d89a['perms'],_0x23d89a[_0x484776(0xd5)]);if(!menuReadyMap[_0x484776(0xd3)](_0x7d25ff))return await ensureMenuRoutes(_0x7d25ff,_0x23d89a['menus'],_0x5cb544),menuReadyMap[_0x484776(0xd7)](_0x7d25ff,!![]),{'path':_0x446e2d[_0x484776(0xd6)],'query':_0x446e2d[_0x484776(0xcd)],'hash':_0x446e2d['hash'],'replace':!![]};}catch{menuReadyMap[_0x484776(0xd7)](_0x7d25ff,![]);if(!getAccessToken()&&!getRefreshToken())return{'name':_0x484776(0xdd),'query':{'redirect':_0x446e2d[_0x484776(0xcf)]}};if(!getAccessToken()&&getRefreshToken())return!![];return!![];}return!![];});}export function resetMenuRoutesFlag(_0x54c987){const _0x47b380=_0x29f4;menuReadyMap[_0x47b380(0xd7)](_0x54c987,![]),removeAllMenuRoutes(_0x54c987),clearMenuRoutesFlag();}
1
+ (function(_0x1cca53,_0x38014d){const _0x4dc15f=_0x5eb3,_0x4be8c9=_0x1cca53();while(!![]){try{const _0x40a869=-parseInt(_0x4dc15f(0x1ca))/0x1+-parseInt(_0x4dc15f(0x1c7))/0x2*(-parseInt(_0x4dc15f(0x1c5))/0x3)+parseInt(_0x4dc15f(0x1b6))/0x4+parseInt(_0x4dc15f(0x1c6))/0x5+-parseInt(_0x4dc15f(0x1c8))/0x6+parseInt(_0x4dc15f(0x1be))/0x7*(-parseInt(_0x4dc15f(0x1bc))/0x8)+parseInt(_0x4dc15f(0x1c4))/0x9*(parseInt(_0x4dc15f(0x1bb))/0xa);if(_0x40a869===_0x38014d)break;else _0x4be8c9['push'](_0x4be8c9['shift']());}catch(_0x2bd379){_0x4be8c9['push'](_0x4be8c9['shift']());}}}(_0x3c26,0x8acf2));import{getAccessToken,getRefreshToken}from'../api/client';import{createEps,setServicePerms}from'../service';function _0x5eb3(_0x425667,_0x163689){_0x425667=_0x425667-0x1b6;const _0x3c26aa=_0x3c26();let _0x5eb33d=_0x3c26aa[_0x425667];if(_0x5eb3['LLHECl']===undefined){var _0x455098=function(_0x30ecf2){const _0x40b6fc='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2517b0='',_0x49b846='';for(let _0x50202e=0x0,_0x448ee7,_0x485ee5,_0x31a7b9=0x0;_0x485ee5=_0x30ecf2['charAt'](_0x31a7b9++);~_0x485ee5&&(_0x448ee7=_0x50202e%0x4?_0x448ee7*0x40+_0x485ee5:_0x485ee5,_0x50202e++%0x4)?_0x2517b0+=String['fromCharCode'](0xff&_0x448ee7>>(-0x2*_0x50202e&0x6)):0x0){_0x485ee5=_0x40b6fc['indexOf'](_0x485ee5);}for(let _0xd7630f=0x0,_0x39b5d6=_0x2517b0['length'];_0xd7630f<_0x39b5d6;_0xd7630f++){_0x49b846+='%'+('00'+_0x2517b0['charCodeAt'](_0xd7630f)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x49b846);};_0x5eb3['KuDtgJ']=_0x455098,_0x5eb3['cPRJdQ']={},_0x5eb3['LLHECl']=!![];}const _0x28377b=_0x3c26aa[0x0],_0x447cdf=_0x425667+_0x28377b,_0x3e71ba=_0x5eb3['cPRJdQ'][_0x447cdf];return!_0x3e71ba?(_0x5eb33d=_0x5eb3['KuDtgJ'](_0x5eb33d),_0x5eb3['cPRJdQ'][_0x447cdf]=_0x5eb33d):_0x5eb33d=_0x3e71ba,_0x5eb33d;}import{useUserStore}from'../stores/user';function _0x3c26(){const _0xbe5f4c=['mJmWndq1nvfUAeLdtq','mtu5mZq0qu9duwfx','ntC1mdGYmhzfBe50zW','Bwv0yq','ode2mJK2BLHsthPt','CgvYBxm','Bg9NAw4','mZmXode2ne12ELr2qq','AxntDxbLCG','C2v0','Bg9HzgvK','Cgf0Aa','mtC1mdeYotbWse5IBKS','mJr3vLH2uvu','BwvUDxm','mJe4ndu4mxrnteDorW','z2v0','AgfZAa','zNvSBfbHDgG','yMvMB3jLrwfJAa','ChvIBgLJ','ovzgDwDwAG','ovjmt0rzzq'];_0x3c26=function(){return _0xbe5f4c;};return _0x3c26();}import{clearMenuRoutesFlag,ensureMenuRoutes,removeAllMenuRoutes}from'./menu-routes';const menuReadyMap=new WeakMap();export function setupAdminRouterGuards(_0x2517b0,_0x49b846){const _0x46b740=_0x5eb3;_0x2517b0[_0x46b740(0x1c2)](async _0x50202e=>{const _0x1412b6=_0x46b740;if(_0x50202e[_0x1412b6(0x1c9)][_0x1412b6(0x1c3)])return!![];if(!getAccessToken()&&!getRefreshToken())return{'name':'login','query':{'redirect':_0x50202e[_0x1412b6(0x1c1)]}};try{const _0x448ee7=useUserStore();if(!_0x448ee7[_0x1412b6(0x1b9)])await _0x448ee7['load']();await createEps(),setServicePerms(_0x448ee7[_0x1412b6(0x1cb)],_0x448ee7[_0x1412b6(0x1b7)]);if(!menuReadyMap[_0x1412b6(0x1bf)](_0x2517b0))return await ensureMenuRoutes(_0x2517b0,_0x448ee7[_0x1412b6(0x1bd)],_0x49b846),menuReadyMap['set'](_0x2517b0,!![]),{'path':_0x50202e[_0x1412b6(0x1ba)],'query':_0x50202e['query'],'hash':_0x50202e[_0x1412b6(0x1c0)],'replace':!![]};}catch{menuReadyMap[_0x1412b6(0x1b8)](_0x2517b0,![]);if(!getAccessToken()&&!getRefreshToken())return{'name':_0x1412b6(0x1cc),'query':{'redirect':_0x50202e[_0x1412b6(0x1c1)]}};if(!getAccessToken()&&getRefreshToken())return!![];return!![];}return!![];});}export function resetMenuRoutesFlag(_0x485ee5){const _0x1dd2f6=_0x5eb3;menuReadyMap[_0x1dd2f6(0x1b8)](_0x485ee5,![]),removeAllMenuRoutes(_0x485ee5),clearMenuRoutesFlag();}
@@ -1 +1 @@
1
- function _0x5ec1(_0x21e664,_0x2ac322){_0x21e664=_0x21e664-0x15d;const _0x259d6a=_0x259d();let _0x5ec1bd=_0x259d6a[_0x21e664];if(_0x5ec1['upQPhQ']===undefined){var _0x135259=function(_0x48dd45){const _0x141eb5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x30dfba='',_0x170fd5='';for(let _0x3abb46=0x0,_0x4510b5,_0x20d738,_0x37dfde=0x0;_0x20d738=_0x48dd45['charAt'](_0x37dfde++);~_0x20d738&&(_0x4510b5=_0x3abb46%0x4?_0x4510b5*0x40+_0x20d738:_0x20d738,_0x3abb46++%0x4)?_0x30dfba+=String['fromCharCode'](0xff&_0x4510b5>>(-0x2*_0x3abb46&0x6)):0x0){_0x20d738=_0x141eb5['indexOf'](_0x20d738);}for(let _0x517267=0x0,_0x4be4dc=_0x30dfba['length'];_0x517267<_0x4be4dc;_0x517267++){_0x170fd5+='%'+('00'+_0x30dfba['charCodeAt'](_0x517267)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x170fd5);};_0x5ec1['AStFGr']=_0x135259,_0x5ec1['UNLPUC']={},_0x5ec1['upQPhQ']=!![];}const _0x207d09=_0x259d6a[0x0],_0x520fa7=_0x21e664+_0x207d09,_0x1ca81c=_0x5ec1['UNLPUC'][_0x520fa7];return!_0x1ca81c?(_0x5ec1bd=_0x5ec1['AStFGr'](_0x5ec1bd),_0x5ec1['UNLPUC'][_0x520fa7]=_0x5ec1bd):_0x5ec1bd=_0x1ca81c,_0x5ec1bd;}function _0x259d(){const _0x7664b2=['mZaXotmWmK1vEK54qq','nvLey294DG','mte1otqZoeLrChHnBq','mtu0mtyWog5drev6yW','zgfYAW','mty1otnjyMzmq0i','nZe1mJe1nKfAsNjNDq','mtG4uNvmuw96','mJq0nJy1ng1Juej0Eq','mJyWmti5mfDlqNLpAq','mwnjqvPnwq'];_0x259d=function(){return _0x7664b2;};return _0x259d();}const _0x517717=_0x5ec1;(function(_0x4f6262,_0x365966){const _0x2bae69=_0x5ec1,_0x552082=_0x4f6262();while(!![]){try{const _0x2b181f=-parseInt(_0x2bae69(0x15e))/0x1*(parseInt(_0x2bae69(0x161))/0x2)+parseInt(_0x2bae69(0x164))/0x3*(parseInt(_0x2bae69(0x166))/0x4)+-parseInt(_0x2bae69(0x160))/0x5*(-parseInt(_0x2bae69(0x15f))/0x6)+-parseInt(_0x2bae69(0x167))/0x7+parseInt(_0x2bae69(0x162))/0x8+parseInt(_0x2bae69(0x165))/0x9+-parseInt(_0x2bae69(0x15d))/0xa;if(_0x2b181f===_0x365966)break;else _0x552082['push'](_0x552082['shift']());}catch(_0x5a5298){_0x552082['push'](_0x552082['shift']());}}}(_0x259d,0x89025));export const darkTheme={'id':_0x517717(0x163),'label':'深色','dark':!![]};
1
+ function _0x50c9(_0x5e41f8,_0x2b5b1b){_0x5e41f8=_0x5e41f8-0x188;const _0x3e04be=_0x3e04();let _0x50c995=_0x3e04be[_0x5e41f8];if(_0x50c9['lzvPRv']===undefined){var _0x501cbf=function(_0x25b0c7){const _0x595d3c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3f2c4e='',_0x4d8800='';for(let _0x302126=0x0,_0x454452,_0xe019d1,_0x48a41e=0x0;_0xe019d1=_0x25b0c7['charAt'](_0x48a41e++);~_0xe019d1&&(_0x454452=_0x302126%0x4?_0x454452*0x40+_0xe019d1:_0xe019d1,_0x302126++%0x4)?_0x3f2c4e+=String['fromCharCode'](0xff&_0x454452>>(-0x2*_0x302126&0x6)):0x0){_0xe019d1=_0x595d3c['indexOf'](_0xe019d1);}for(let _0x49d6c0=0x0,_0x4d815e=_0x3f2c4e['length'];_0x49d6c0<_0x4d815e;_0x49d6c0++){_0x4d8800+='%'+('00'+_0x3f2c4e['charCodeAt'](_0x49d6c0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4d8800);};_0x50c9['xptThD']=_0x501cbf,_0x50c9['wnFbNi']={},_0x50c9['lzvPRv']=!![];}const _0x371180=_0x3e04be[0x0],_0x4ac66e=_0x5e41f8+_0x371180,_0x433b2f=_0x50c9['wnFbNi'][_0x4ac66e];return!_0x433b2f?(_0x50c995=_0x50c9['xptThD'](_0x50c995),_0x50c9['wnFbNi'][_0x4ac66e]=_0x50c995):_0x50c995=_0x433b2f,_0x50c995;}const _0x369226=_0x50c9;function _0x3e04(){const _0x3de614=['mtf1ueDhz0y','nteWmdu1n0v5zfPZBW','zgfYAW','mZjUB3zjzeG','mZG2mZr5DfPLvfi','mtCXode2m2jurxzXqq','mJuYmdq4mfffuwjjsG','ndKXnZGZnwXhz1beCG','mtmYnZaXntblD1zosfm','mMrOv3j6Aa','nNvVDwPZua','odCXnduXtKnvwxLZ'];_0x3e04=function(){return _0x3de614;};return _0x3e04();}(function(_0x19b13c,_0x4659e1){const _0x253090=_0x50c9,_0x2808c7=_0x19b13c();while(!![]){try{const _0x1df321=-parseInt(_0x253090(0x190))/0x1*(-parseInt(_0x253090(0x18e))/0x2)+parseInt(_0x253090(0x189))/0x3+parseInt(_0x253090(0x18b))/0x4+-parseInt(_0x253090(0x18c))/0x5+-parseInt(_0x253090(0x18f))/0x6*(-parseInt(_0x253090(0x192))/0x7)+parseInt(_0x253090(0x188))/0x8*(parseInt(_0x253090(0x18a))/0x9)+parseInt(_0x253090(0x18d))/0xa*(-parseInt(_0x253090(0x191))/0xb);if(_0x1df321===_0x4659e1)break;else _0x2808c7['push'](_0x2808c7['shift']());}catch(_0x5edcd2){_0x2808c7['push'](_0x2808c7['shift']());}}}(_0x3e04,0xa9f52));export const darkTheme={'id':_0x369226(0x193),'label':'深色','dark':!![]};
@@ -1 +1 @@
1
- (function(_0x4033de,_0x37e143){const _0x7c2510=_0x1fb5,_0x21dee0=_0x4033de();while(!![]){try{const _0x2841b7=parseInt(_0x7c2510(0x16b))/0x1+-parseInt(_0x7c2510(0x15b))/0x2*(-parseInt(_0x7c2510(0x163))/0x3)+parseInt(_0x7c2510(0x16a))/0x4*(parseInt(_0x7c2510(0x15e))/0x5)+-parseInt(_0x7c2510(0x161))/0x6*(parseInt(_0x7c2510(0x15c))/0x7)+parseInt(_0x7c2510(0x166))/0x8*(parseInt(_0x7c2510(0x165))/0x9)+-parseInt(_0x7c2510(0x15d))/0xa*(-parseInt(_0x7c2510(0x158))/0xb)+-parseInt(_0x7c2510(0x168))/0xc;if(_0x2841b7===_0x37e143)break;else _0x21dee0['push'](_0x21dee0['shift']());}catch(_0x395563){_0x21dee0['push'](_0x21dee0['shift']());}}}(_0x230a,0xa2f4f));import{darkTheme}from'./dark';import{lightTheme}from'./light';function _0x230a(){const _0x437110=['C3r5Bgu','mJu2mJe4mZzQsxDMy3K','zgfYAW','ndKYnJq0AuvhENrf','mte4mJCYnxbmy3PQAW','mJa5otu3uhHUuffm','z2v0','Dg9Rzw5Z','mty1nZi3nfLHtKTHzW','mJmZotC5mMz3whL0Aq','ntmWvgPNDeff','mJbtz212Ew8','Dg9Nz2XL','C2v0','mtHMy3DvwwS','zgf0yxnLDa','m0XzqMfqBW','zw50CMLLCW','mtuWnZvXuK5Vq28','mtm4nejzt3HdyW'];_0x230a=function(){return _0x437110;};return _0x230a();}function _0x1fb5(_0x1622cf,_0x224573){_0x1622cf=_0x1622cf-0x158;const _0x230aa6=_0x230a();let _0x1fb51b=_0x230aa6[_0x1622cf];if(_0x1fb5['DBwQPY']===undefined){var _0x16b365=function(_0x5cba95){const _0x491b9f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x39bf51='',_0x24dc15='';for(let _0x35686e=0x0,_0x4e2466,_0x3214fe,_0x3ff3d5=0x0;_0x3214fe=_0x5cba95['charAt'](_0x3ff3d5++);~_0x3214fe&&(_0x4e2466=_0x35686e%0x4?_0x4e2466*0x40+_0x3214fe:_0x3214fe,_0x35686e++%0x4)?_0x39bf51+=String['fromCharCode'](0xff&_0x4e2466>>(-0x2*_0x35686e&0x6)):0x0){_0x3214fe=_0x491b9f['indexOf'](_0x3214fe);}for(let _0x140b2b=0x0,_0x3c2285=_0x39bf51['length'];_0x140b2b<_0x3c2285;_0x140b2b++){_0x24dc15+='%'+('00'+_0x39bf51['charCodeAt'](_0x140b2b)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x24dc15);};_0x1fb5['jKxmEu']=_0x16b365,_0x1fb5['JdGyBp']={},_0x1fb5['DBwQPY']=!![];}const _0x2f7669=_0x230aa6[0x0],_0x5e1deb=_0x1622cf+_0x2f7669,_0x51457d=_0x1fb5['JdGyBp'][_0x5e1deb];return!_0x51457d?(_0x1fb51b=_0x1fb5['jKxmEu'](_0x1fb51b),_0x1fb5['JdGyBp'][_0x5e1deb]=_0x1fb51b):_0x1fb51b=_0x51457d,_0x1fb51b;}const registry=new Map([[lightTheme['id'],lightTheme],[darkTheme['id'],darkTheme]]);export function registerTheme(_0x39bf51){const _0x794e23=_0x1fb5;registry[_0x794e23(0x160)](_0x39bf51['id'],_0x39bf51);}export function getTheme(_0x24dc15){const _0x391322=_0x1fb5;return registry[_0x391322(0x159)](_0x24dc15);}export function listThemes(){return[...registry['values']()];}export function applyTheme(_0x35686e){const _0x4bc505=_0x1fb5,_0x4e2466=registry['get'](_0x35686e)??lightTheme,_0x3214fe=document['documentElement'];_0x3214fe['classList'][_0x4bc505(0x15f)](_0x4bc505(0x169),Boolean(_0x4e2466[_0x4bc505(0x169)])),_0x3214fe[_0x4bc505(0x162)]['theme']=_0x4e2466['id'];if(_0x4e2466[_0x4bc505(0x15a)])for(const [_0x3ff3d5,_0x140b2b]of Object[_0x4bc505(0x164)](_0x4e2466['tokens'])){_0x3214fe[_0x4bc505(0x167)]['setProperty'](_0x3ff3d5,_0x140b2b);}}export{lightTheme,darkTheme};
1
+ (function(_0x20492d,_0x9ba8a6){const _0x2cac79=_0x335f,_0xa491eb=_0x20492d();while(!![]){try{const _0x2f5bec=parseInt(_0x2cac79(0x1e2))/0x1*(-parseInt(_0x2cac79(0x1ee))/0x2)+parseInt(_0x2cac79(0x1e0))/0x3+-parseInt(_0x2cac79(0x1f0))/0x4+-parseInt(_0x2cac79(0x1e7))/0x5+-parseInt(_0x2cac79(0x1ec))/0x6+parseInt(_0x2cac79(0x1e5))/0x7*(-parseInt(_0x2cac79(0x1e1))/0x8)+-parseInt(_0x2cac79(0x1e4))/0x9*(-parseInt(_0x2cac79(0x1ea))/0xa);if(_0x2f5bec===_0x9ba8a6)break;else _0xa491eb['push'](_0xa491eb['shift']());}catch(_0xf7615d){_0xa491eb['push'](_0xa491eb['shift']());}}}(_0x4bd7,0xaaeb4));import{darkTheme}from'./dark';import{lightTheme}from'./light';function _0x4bd7(){const _0x21ec1b=['mZK3mZuYog5RuLP2BG','y2XHC3nmAxn0','DgHLBwu','C2v0uhjVCgvYDhK','zw50CMLLCW','Dg9Rzw5Z','odu0odGZzLj5vhjI','ntu4nZiYngfSChP3Bq','mwrSs3f2tG','C3r5Bgu','nJaZnJu3oxHADe5oDa','mtr1B0jxuLC','zgf0yxnLDa','ndK3mZaZmfnly2nxtW','DMfSDwvZ','z2v0','odblr1HorM0','Dg9Nz2XL','ntuZmdK4mgzorgvtza','zg9JDw1LBNrfBgvTzw50','mti4odiWmMDky2TLsW','zgfYAW'];_0x4bd7=function(){return _0x21ec1b;};return _0x4bd7();}const registry=new Map([[lightTheme['id'],lightTheme],[darkTheme['id'],darkTheme]]);function _0x335f(_0x4a1268,_0x3b8973){_0x4a1268=_0x4a1268-0x1dc;const _0x4bd7a1=_0x4bd7();let _0x335f87=_0x4bd7a1[_0x4a1268];if(_0x335f['pRQZCp']===undefined){var _0xc2e8eb=function(_0x11d911){const _0x353378='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4be986='',_0x22e569='';for(let _0x501297=0x0,_0x1a07da,_0x5cfa24,_0x50d79d=0x0;_0x5cfa24=_0x11d911['charAt'](_0x50d79d++);~_0x5cfa24&&(_0x1a07da=_0x501297%0x4?_0x1a07da*0x40+_0x5cfa24:_0x5cfa24,_0x501297++%0x4)?_0x4be986+=String['fromCharCode'](0xff&_0x1a07da>>(-0x2*_0x501297&0x6)):0x0){_0x5cfa24=_0x353378['indexOf'](_0x5cfa24);}for(let _0xe73dee=0x0,_0x3f9720=_0x4be986['length'];_0xe73dee<_0x3f9720;_0xe73dee++){_0x22e569+='%'+('00'+_0x4be986['charCodeAt'](_0xe73dee)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x22e569);};_0x335f['oWWEEw']=_0xc2e8eb,_0x335f['poyABs']={},_0x335f['pRQZCp']=!![];}const _0x2bf10a=_0x4bd7a1[0x0],_0x9e2bf6=_0x4a1268+_0x2bf10a,_0x3824c0=_0x335f['poyABs'][_0x9e2bf6];return!_0x3824c0?(_0x335f87=_0x335f['oWWEEw'](_0x335f87),_0x335f['poyABs'][_0x9e2bf6]=_0x335f87):_0x335f87=_0x3824c0,_0x335f87;}export function registerTheme(_0x4be986){registry['set'](_0x4be986['id'],_0x4be986);}export function getTheme(_0x22e569){return registry['get'](_0x22e569);}export function listThemes(){const _0x32b68c=_0x335f;return[...registry[_0x32b68c(0x1e8)]()];}export function applyTheme(_0x501297){const _0x39c87d=_0x335f,_0x1a07da=registry[_0x39c87d(0x1e9)](_0x501297)??lightTheme,_0x5cfa24=document[_0x39c87d(0x1ed)];_0x5cfa24[_0x39c87d(0x1f1)][_0x39c87d(0x1eb)](_0x39c87d(0x1ef),Boolean(_0x1a07da[_0x39c87d(0x1ef)])),_0x5cfa24[_0x39c87d(0x1e6)][_0x39c87d(0x1dc)]=_0x1a07da['id'];if(_0x1a07da['tokens'])for(const [_0x50d79d,_0xe73dee]of Object[_0x39c87d(0x1de)](_0x1a07da[_0x39c87d(0x1df)])){_0x5cfa24[_0x39c87d(0x1e3)][_0x39c87d(0x1dd)](_0x50d79d,_0xe73dee);}}export{lightTheme,darkTheme};
@@ -1 +1 @@
1
- (function(_0x3da058,_0x451849){const _0x51b186=_0x3cf3,_0x68a0b1=_0x3da058();while(!![]){try{const _0x18dd1f=parseInt(_0x51b186(0x19c))/0x1+parseInt(_0x51b186(0x19a))/0x2*(-parseInt(_0x51b186(0x19f))/0x3)+-parseInt(_0x51b186(0x196))/0x4+parseInt(_0x51b186(0x199))/0x5+-parseInt(_0x51b186(0x1a0))/0x6*(-parseInt(_0x51b186(0x19e))/0x7)+-parseInt(_0x51b186(0x19d))/0x8*(parseInt(_0x51b186(0x198))/0x9)+parseInt(_0x51b186(0x197))/0xa*(parseInt(_0x51b186(0x19b))/0xb);if(_0x18dd1f===_0x451849)break;else _0x68a0b1['push'](_0x68a0b1['shift']());}catch(_0x290512){_0x68a0b1['push'](_0x68a0b1['shift']());}}}(_0x498f,0x55415));export const lightTheme={'id':'light','label':'浅色','dark':![]};function _0x3cf3(_0x5a4a2d,_0x30dc13){_0x5a4a2d=_0x5a4a2d-0x196;const _0x498fe0=_0x498f();let _0x3cf33b=_0x498fe0[_0x5a4a2d];if(_0x3cf3['VMSdqQ']===undefined){var _0xd30aac=function(_0x52da8c){const _0x4c6cea='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x1a69e3='',_0x520907='';for(let _0xa578ff=0x0,_0x11cb2d,_0x58c190,_0x5a2ca6=0x0;_0x58c190=_0x52da8c['charAt'](_0x5a2ca6++);~_0x58c190&&(_0x11cb2d=_0xa578ff%0x4?_0x11cb2d*0x40+_0x58c190:_0x58c190,_0xa578ff++%0x4)?_0x1a69e3+=String['fromCharCode'](0xff&_0x11cb2d>>(-0x2*_0xa578ff&0x6)):0x0){_0x58c190=_0x4c6cea['indexOf'](_0x58c190);}for(let _0xd7a68=0x0,_0x143144=_0x1a69e3['length'];_0xd7a68<_0x143144;_0xd7a68++){_0x520907+='%'+('00'+_0x1a69e3['charCodeAt'](_0xd7a68)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x520907);};_0x3cf3['bIWZMB']=_0xd30aac,_0x3cf3['IJtSeM']={},_0x3cf3['VMSdqQ']=!![];}const _0x3d82ae=_0x498fe0[0x0],_0x4ec9b3=_0x5a4a2d+_0x3d82ae,_0x57dccd=_0x3cf3['IJtSeM'][_0x4ec9b3];return!_0x57dccd?(_0x3cf33b=_0x3cf3['bIWZMB'](_0x3cf33b),_0x3cf3['IJtSeM'][_0x4ec9b3]=_0x3cf33b):_0x3cf33b=_0x57dccd,_0x3cf33b;}function _0x498f(){const _0x1972eb=['ntaZmte4ALfsv1Po','mtGYotG5nKHqDezxzq','mZeXmtCXz0PWyNDg','mty0mte3nfDbBK5psa','odrWwNnxC0i','mtC1mtyYmhrftKnVEq','mZy2nJKWuxndshDi','mJDLCKPfCfm','mZaWnZGZnvnctLDjyq','mNn0CvLfEq','odHgwvrot24'];_0x498f=function(){return _0x1972eb;};return _0x498f();}
1
+ const _0x4f3bf2=_0x246a;function _0x246a(_0x46c3f6,_0x1e7fd1){_0x46c3f6=_0x46c3f6-0x9f;const _0x3ba412=_0x3ba4();let _0x246ad2=_0x3ba412[_0x46c3f6];if(_0x246a['gCjMap']===undefined){var _0x4335a5=function(_0x47d797){const _0x476f17='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5514d2='',_0x4c2d7d='';for(let _0x42fd2a=0x0,_0x18f14c,_0xafbb19,_0x10bcbe=0x0;_0xafbb19=_0x47d797['charAt'](_0x10bcbe++);~_0xafbb19&&(_0x18f14c=_0x42fd2a%0x4?_0x18f14c*0x40+_0xafbb19:_0xafbb19,_0x42fd2a++%0x4)?_0x5514d2+=String['fromCharCode'](0xff&_0x18f14c>>(-0x2*_0x42fd2a&0x6)):0x0){_0xafbb19=_0x476f17['indexOf'](_0xafbb19);}for(let _0x53dee0=0x0,_0x371d93=_0x5514d2['length'];_0x53dee0<_0x371d93;_0x53dee0++){_0x4c2d7d+='%'+('00'+_0x5514d2['charCodeAt'](_0x53dee0)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4c2d7d);};_0x246a['VEgHBz']=_0x4335a5,_0x246a['zYZZVs']={},_0x246a['gCjMap']=!![];}const _0x5791f5=_0x3ba412[0x0],_0x5024bf=_0x46c3f6+_0x5791f5,_0x196867=_0x246a['zYZZVs'][_0x5024bf];return!_0x196867?(_0x246ad2=_0x246a['VEgHBz'](_0x246ad2),_0x246a['zYZZVs'][_0x5024bf]=_0x246ad2):_0x246ad2=_0x196867,_0x246ad2;}(function(_0x4089c8,_0x3aeb81){const _0x32ddf5=_0x246a,_0x11d5be=_0x4089c8();while(!![]){try{const _0x362200=-parseInt(_0x32ddf5(0xa7))/0x1*(-parseInt(_0x32ddf5(0xa3))/0x2)+parseInt(_0x32ddf5(0xa6))/0x3+parseInt(_0x32ddf5(0xa1))/0x4*(-parseInt(_0x32ddf5(0xa0))/0x5)+-parseInt(_0x32ddf5(0x9f))/0x6*(parseInt(_0x32ddf5(0xa4))/0x7)+-parseInt(_0x32ddf5(0xa2))/0x8+parseInt(_0x32ddf5(0xab))/0x9*(parseInt(_0x32ddf5(0xaa))/0xa)+parseInt(_0x32ddf5(0xa8))/0xb*(parseInt(_0x32ddf5(0xa9))/0xc);if(_0x362200===_0x3aeb81)break;else _0x11d5be['push'](_0x11d5be['shift']());}catch(_0x3b1757){_0x11d5be['push'](_0x11d5be['shift']());}}}(_0x3ba4,0xdc707));function _0x3ba4(){const _0x47a4f9=['otm3odiWohrPrMHTzG','ntiZoeret3HPyW','mZa2nLbwD2fgDW','BgLNAhq','mJe5mZaXmLfquLLmtG','ndeYq3jozhPq','mti2mteYnJLvzhDPtxi','mtjctuDfvMG','nJuYntCWB3bjBw9A','mtG5ENnozfn2','mtKWndr3y1HQqwW','mtqZntGZnxD6C2HusW','mtjVqw1nseC'];_0x3ba4=function(){return _0x47a4f9;};return _0x3ba4();}export const lightTheme={'id':_0x4f3bf2(0xa5),'label':'浅色','dark':![]};
@@ -10,15 +10,11 @@ function stripTimeMeta(data) {
10
10
  }
11
11
  return data;
12
12
  }
13
- function resolveAiCallTimeoutMs(url, options) {
13
+ function resolveRequestTimeoutMs(url, options) {
14
14
  if (options.timeoutMs != null)
15
15
  return options.timeoutMs;
16
16
  if (/\/ai\/model\/test\/?$/.test(url))
17
17
  return 120000;
18
- if (/\/i18n\/pack\/translate\/?$/.test(url))
19
- return 0;
20
- if (/\/i18n\/dataPack\/translateTable\/?$/.test(url))
21
- return 0;
22
18
  if (!/\/ai\/model\/call\/?$/.test(url))
23
19
  return;
24
20
  const data = options.data;
@@ -27,8 +23,11 @@ function resolveAiCallTimeoutMs(url, options) {
27
23
  return nested.timeoutMs;
28
24
  if (data?.taskId || data?.capability === "video")
29
25
  return 5000;
30
- if (data?.capability === "chat")
31
- return 0;
26
+ if (data?.capability === "chat") {
27
+ if (nested?.stream === false)
28
+ return 360000;
29
+ return 5000;
30
+ }
32
31
  return 360000;
33
32
  }
34
33
 
@@ -48,7 +47,7 @@ export class BaseService {
48
47
  if (!url.startsWith("/"))
49
48
  url = `/${url}`;
50
49
  }
51
- const timeoutMs = resolveAiCallTimeoutMs(url, options);
50
+ const timeoutMs = resolveRequestTimeoutMs(url, options);
52
51
  const request = getClientRequest();
53
52
  const method = (options.method || "GET").toUpperCase();
54
53
  if (method === "GET") {