vome-core 0.1.4 → 0.1.6

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.
@@ -1 +1 @@
1
- function _0x28da(_0xbef5ee,_0x58307b){_0xbef5ee=_0xbef5ee-0x100;const _0x258069=_0x2580();let _0x28dafd=_0x258069[_0xbef5ee];if(_0x28da['ThaEwd']===undefined){var _0x193aa7=function(_0x74fe12){const _0x312aba='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x42792b='',_0x3c2c78='';for(let _0x73c3f9=0x0,_0x53c8ea,_0x5a75a4,_0x564b19=0x0;_0x5a75a4=_0x74fe12['charAt'](_0x564b19++);~_0x5a75a4&&(_0x53c8ea=_0x73c3f9%0x4?_0x53c8ea*0x40+_0x5a75a4:_0x5a75a4,_0x73c3f9++%0x4)?_0x42792b+=String['fromCharCode'](0xff&_0x53c8ea>>(-0x2*_0x73c3f9&0x6)):0x0){_0x5a75a4=_0x312aba['indexOf'](_0x5a75a4);}for(let _0x3639f8=0x0,_0x252f31=_0x42792b['length'];_0x3639f8<_0x252f31;_0x3639f8++){_0x3c2c78+='%'+('00'+_0x42792b['charCodeAt'](_0x3639f8)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3c2c78);};_0x28da['UYBusy']=_0x193aa7,_0x28da['KKkVaP']={},_0x28da['ThaEwd']=!![];}const _0x3d5061=_0x258069[0x0],_0x5afc05=_0xbef5ee+_0x3d5061,_0x69d374=_0x28da['KKkVaP'][_0x5afc05];return!_0x69d374?(_0x28dafd=_0x28da['UYBusy'](_0x28dafd),_0x28da['KKkVaP'][_0x5afc05]=_0x28dafd):_0x28dafd=_0x69d374,_0x28dafd;}const _0x492d50=_0x28da;(function(_0x3a3cff,_0x3fea84){const _0x3b2a50=_0x28da,_0x4a2c6c=_0x3a3cff();while(!![]){try{const _0x2cc55a=parseInt(_0x3b2a50(0x114))/0x1*(parseInt(_0x3b2a50(0x11e))/0x2)+parseInt(_0x3b2a50(0x11b))/0x3+parseInt(_0x3b2a50(0x100))/0x4+-parseInt(_0x3b2a50(0x103))/0x5+-parseInt(_0x3b2a50(0x110))/0x6+-parseInt(_0x3b2a50(0x10c))/0x7*(-parseInt(_0x3b2a50(0x115))/0x8)+-parseInt(_0x3b2a50(0x11f))/0x9;if(_0x2cc55a===_0x3fea84)break;else _0x4a2c6c['push'](_0x4a2c6c['shift']());}catch(_0x180bf3){_0x4a2c6c['push'](_0x4a2c6c['shift']());}}}(_0x2580,0x5ef26));import*as _0x42792b from'xlsx';export const IMPORT_SKIP_FIELDS=['id',_0x492d50(0x101),_0x492d50(0x121),_0x492d50(0x10f),'tenantId'];export function isImportSkipField(_0x3c2c78){const _0x2e8419=_0x492d50;return IMPORT_SKIP_FIELDS[_0x2e8419(0x117)](_0x3c2c78);}export function buildExcelBuffer(_0x73c3f9,_0x53c8ea,_0x5a75a4){const _0x36e52b=_0x492d50,_0x564b19=_0x73c3f9[_0x36e52b(0x10a)](_0x1a8df3=>_0x1a8df3[_0x36e52b(0x118)]||_0x1a8df3['prop']),_0x3639f8=_0x53c8ea[_0x36e52b(0x10a)](_0x5816e4=>_0x73c3f9['map'](_0x29befe=>{const _0x1d0f21=_0x36e52b;if(_0x5a75a4)return _0x5a75a4(_0x29befe[_0x1d0f21(0x116)],_0x5816e4);const _0x5e4828=_0x5816e4[_0x29befe[_0x1d0f21(0x116)]];if(_0x5e4828==null)return'';return String(_0x5e4828);})),_0x252f31=_0x42792b['utils'][_0x36e52b(0x109)]([_0x564b19,..._0x3639f8]),_0x15b383=_0x42792b[_0x36e52b(0x11c)][_0x36e52b(0x107)]();return _0x42792b[_0x36e52b(0x11c)]['book_append_sheet'](_0x15b383,_0x252f31,_0x36e52b(0x10e)),_0x42792b[_0x36e52b(0x10b)](_0x15b383,{'bookType':_0x36e52b(0x104),'type':_0x36e52b(0x119)});}export function buildImportTemplateBuffer(_0x1a9cf6){return buildExcelBuffer(_0x1a9cf6,[]);}export function parseExcelBuffer(_0x11fe44,_0x24e303){const _0x1eb46f=_0x492d50,_0x2e7fa5=_0x42792b[_0x1eb46f(0x111)](_0x11fe44,{'type':_0x1eb46f(0x119),'cellDates':!![]}),_0x1a9b94=_0x2e7fa5[_0x1eb46f(0x11a)][0x0];if(!_0x1a9b94)return[];const _0x430790=_0x2e7fa5['Sheets'][_0x1a9b94];if(!_0x430790)return[];const _0x217bf2=_0x42792b[_0x1eb46f(0x11c)]['sheet_to_json'](_0x430790,{'header':0x1,'defval':'','raw':![]});if(!_0x217bf2[_0x1eb46f(0x106)])return[];const _0x484386=(_0x217bf2[0x0]||[])[_0x1eb46f(0x10a)](_0x3f8691=>String(_0x3f8691??'')[_0x1eb46f(0x102)]()),_0x2cd9a9=new Map();if(_0x24e303?.[_0x1eb46f(0x106)])for(const _0x32a61c of _0x24e303){_0x2cd9a9[_0x1eb46f(0x11d)](_0x32a61c[_0x1eb46f(0x118)][_0x1eb46f(0x102)](),_0x32a61c[_0x1eb46f(0x116)]),_0x2cd9a9['set'](_0x32a61c[_0x1eb46f(0x116)],_0x32a61c[_0x1eb46f(0x116)]);}const _0x2afb9d=_0x484386[_0x1eb46f(0x10a)](_0x546d5d=>{const _0x13ab26=_0x1eb46f;if(!_0x546d5d)return'';return _0x2cd9a9[_0x13ab26(0x105)](_0x546d5d)||_0x546d5d;}),_0x3502cf=[];for(let _0x17552c=0x1;_0x17552c<_0x217bf2['length'];_0x17552c++){const _0x941e19=_0x217bf2[_0x17552c]||[],_0x3f3a77={};let _0x22a268=!![];for(let _0x213ffe=0x0;_0x213ffe<_0x2afb9d[_0x1eb46f(0x106)];_0x213ffe++){const _0x43adfa=_0x2afb9d[_0x213ffe];if(!_0x43adfa)continue;let _0x5a7396=_0x941e19[_0x213ffe];if(_0x5a7396==null||_0x5a7396===''){_0x3f3a77[_0x43adfa]=_0x5a7396==null?null:'';continue;}_0x22a268=![],typeof _0x5a7396===_0x1eb46f(0x10d)?_0x3f3a77[_0x43adfa]=_0x5a7396[_0x1eb46f(0x102)]():_0x3f3a77[_0x43adfa]=_0x5a7396;}if(!_0x22a268)_0x3502cf[_0x1eb46f(0x113)](_0x3f3a77);}return _0x3502cf;}function _0x2580(){const _0x2ae8b6=['z2v0','BgvUz3rO','yM9VA19UzxC','lNHSC3G','yw9Hx3rVx3nOzwv0','BwfW','D3jPDgu','mtGZndyZzevAu1Db','C3rYAw5N','u2HLzxqX','zgvSzxrLzef0','mZiWmte4nK1zA1jpDa','CMvHza','zw5KC1DPDgG','ChvZAa','mZuXmw9nr052sq','mtq0D21mr3nx','ChjVCa','Aw5JBhvKzxm','BgfIzwW','yxjYyxK','u2HLzxroyw1LCW','mtuXmJqWmLfJuM9mEq','DxrPBhm','C2v0','ndjMBhLWEgO','mZGWmtC4meTwB3nWAa','yxbWBgLJyxrPB24VDM5KlM9Wzw54BwXMB3jTyxrZlw9MzMLJzwrVy3vTzw50lNnWCMvHzhnOzwv0BwWUC2HLzxq','DxbKyxrLvgLTzq','mtK2mZa4ofLLAuPoAq','y3jLyxrLvgLTzq','DhjPBq','otC3nZmWuNbRu3z5','EgXZEa'];_0x2580=function(){return _0x2ae8b6;};return _0x2580();}export function excelFilename(_0x4b6b9c){const _0x3f018d=_0x492d50;return _0x4b6b9c[_0x3f018d(0x112)](_0x3f018d(0x108))?_0x4b6b9c:_0x4b6b9c+_0x3f018d(0x108);}export function excelResponseHeaders(_0x34df16){const _0x4edf49=_0x492d50,_0x2b90a6=excelFilename(_0x34df16);return{'Content-Type':_0x4edf49(0x120),'Content-Disposition':'attachment;\x20filename*=UTF-8\x27\x27'+encodeURIComponent(_0x2b90a6)};}
1
+ const _0x3626de=_0x1710;(function(_0x5a7bbc,_0x4deba4){const _0x697b85=_0x1710,_0x2eb44e=_0x5a7bbc();while(!![]){try{const _0x192b94=parseInt(_0x697b85(0x13f))/0x1*(-parseInt(_0x697b85(0x12f))/0x2)+parseInt(_0x697b85(0x14d))/0x3+-parseInt(_0x697b85(0x151))/0x4*(parseInt(_0x697b85(0x13a))/0x5)+parseInt(_0x697b85(0x141))/0x6*(parseInt(_0x697b85(0x13e))/0x7)+parseInt(_0x697b85(0x145))/0x8*(parseInt(_0x697b85(0x14b))/0x9)+parseInt(_0x697b85(0x139))/0xa*(-parseInt(_0x697b85(0x150))/0xb)+parseInt(_0x697b85(0x136))/0xc;if(_0x192b94===_0x4deba4)break;else _0x2eb44e['push'](_0x2eb44e['shift']());}catch(_0x157d60){_0x2eb44e['push'](_0x2eb44e['shift']());}}}(_0x1139,0x60d45));import*as _0x133dbb from'xlsx';export const IMPORT_SKIP_FIELDS=['id',_0x3626de(0x152),'updateTime',_0x3626de(0x13d),'tenantId'];function _0x1710(_0x3f4f37,_0x1e3d9b){_0x3f4f37=_0x3f4f37-0x12e;const _0x113986=_0x1139();let _0x1710ed=_0x113986[_0x3f4f37];if(_0x1710['vCIgHF']===undefined){var _0x467d5f=function(_0x57633b){const _0x3129ca='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x133dbb='',_0x100ce6='';for(let _0xe7ca24=0x0,_0x504cd4,_0x5439e6,_0x20d913=0x0;_0x5439e6=_0x57633b['charAt'](_0x20d913++);~_0x5439e6&&(_0x504cd4=_0xe7ca24%0x4?_0x504cd4*0x40+_0x5439e6:_0x5439e6,_0xe7ca24++%0x4)?_0x133dbb+=String['fromCharCode'](0xff&_0x504cd4>>(-0x2*_0xe7ca24&0x6)):0x0){_0x5439e6=_0x3129ca['indexOf'](_0x5439e6);}for(let _0x116084=0x0,_0x35d093=_0x133dbb['length'];_0x116084<_0x35d093;_0x116084++){_0x100ce6+='%'+('00'+_0x133dbb['charCodeAt'](_0x116084)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x100ce6);};_0x1710['llNYzo']=_0x467d5f,_0x1710['hoivYJ']={},_0x1710['vCIgHF']=!![];}const _0x431c71=_0x113986[0x0],_0x4d9886=_0x3f4f37+_0x431c71,_0x5b8990=_0x1710['hoivYJ'][_0x4d9886];return!_0x5b8990?(_0x1710ed=_0x1710['llNYzo'](_0x1710ed),_0x1710['hoivYJ'][_0x4d9886]=_0x1710ed):_0x1710ed=_0x5b8990,_0x1710ed;}function _0x1139(){const _0x5956d6=['C2v0','u2HLzxqX','ody1mdK4mfrVwejmrq','yw9Hx3rVx3nOzwv0','BwfW','mtbRD3PhAhe','nuXzvM1yBa','CMvHza','zw5KC1DPDgG','zgvSzxrLzef0','ntzwtLHIveu','mJLkCKzuEhK','DxrPBhm','ndi3odm2uLncu0TU','ChvZAa','ChjVCa','BgvUz3rO','ofbOquXftG','yM9VA19UzxC','yxbWBgLJyxrPB24VDM5KlM9Wzw54BwXMB3jTyxrZlw9MzMLJzwrVy3vTzw50lNnWCMvHzhnOzwv0BwWUC2HLzxq','C3rYAw5N','u2HLzxroyw1LCW','EgXZEa','ndy0mtu3oxrtrMHRyq','DhjPBq','nJm3nJm4tuPQBLLL','yM9VA19HChbLBMrFC2HLzxq','Aw5JBhvKzxm','odi1mJiZm0XvtwDUzG','mtyWnJqXmNzxC3n1tq','y3jLyxrLvgLTzq','yxr0ywnOBwvUDdSGzMLSzw5HBwuQpvvurI04jYC','mZi0otHSsgvXCeG','yxjYyxK','D3jPDgu','BgfIzwW','lNHSC3G'];_0x1139=function(){return _0x5956d6;};return _0x1139();}export function isImportSkipField(_0x100ce6){const _0x3559e2=_0x3626de;return IMPORT_SKIP_FIELDS[_0x3559e2(0x14f)](_0x100ce6);}export function buildExcelBuffer(_0xe7ca24,_0x504cd4,_0x5439e6){const _0x366de6=_0x3626de,_0x20d913=_0xe7ca24[_0x366de6(0x138)](_0x46ed82=>_0x46ed82[_0x366de6(0x132)]||_0x46ed82[_0x366de6(0x143)]),_0x116084=_0x504cd4['map'](_0x128cda=>_0xe7ca24[_0x366de6(0x138)](_0x1bc087=>{const _0x45c145=_0x366de6;if(_0x5439e6)return _0x5439e6(_0x1bc087['prop'],_0x128cda);const _0x2f8a60=_0x128cda[_0x1bc087[_0x45c145(0x143)]];if(_0x2f8a60==null)return'';return String(_0x2f8a60);})),_0x35d093=_0x133dbb['utils'][_0x366de6(0x137)]([_0x20d913,..._0x116084]),_0x1e31bb=_0x133dbb['utils'][_0x366de6(0x146)]();return _0x133dbb[_0x366de6(0x140)][_0x366de6(0x14e)](_0x1e31bb,_0x35d093,_0x366de6(0x135)),_0x133dbb[_0x366de6(0x131)](_0x1e31bb,{'bookType':_0x366de6(0x14a),'type':_0x366de6(0x130)});}export function buildImportTemplateBuffer(_0x1689b6){return buildExcelBuffer(_0x1689b6,[]);}export function parseExcelBuffer(_0x212fd6,_0xae5148){const _0x4a7fc8=_0x3626de,_0x2918d8=_0x133dbb[_0x4a7fc8(0x13b)](_0x212fd6,{'type':'array','cellDates':!![]}),_0x24bd0a=_0x2918d8[_0x4a7fc8(0x149)][0x0];if(!_0x24bd0a)return[];const _0x32ef4d=_0x2918d8['Sheets'][_0x24bd0a];if(!_0x32ef4d)return[];const _0x551000=_0x133dbb['utils']['sheet_to_json'](_0x32ef4d,{'header':0x1,'defval':'','raw':![]});if(!_0x551000[_0x4a7fc8(0x144)])return[];const _0x5e326a=(_0x551000[0x0]||[])[_0x4a7fc8(0x138)](_0x34fbf5=>String(_0x34fbf5??'')[_0x4a7fc8(0x14c)]()),_0x3bbda3=new Map();if(_0xae5148?.[_0x4a7fc8(0x144)])for(const _0x5e5e59 of _0xae5148){_0x3bbda3['set'](_0x5e5e59[_0x4a7fc8(0x132)]['trim'](),_0x5e5e59[_0x4a7fc8(0x143)]),_0x3bbda3[_0x4a7fc8(0x134)](_0x5e5e59[_0x4a7fc8(0x143)],_0x5e5e59['prop']);}const _0x47e094=_0x5e326a[_0x4a7fc8(0x138)](_0x52caab=>{if(!_0x52caab)return'';return _0x3bbda3['get'](_0x52caab)||_0x52caab;}),_0x52147f=[];for(let _0x356403=0x1;_0x356403<_0x551000[_0x4a7fc8(0x144)];_0x356403++){const _0x4bc3e2=_0x551000[_0x356403]||[],_0xb8411a={};let _0x52aed1=!![];for(let _0x272f42=0x0;_0x272f42<_0x47e094[_0x4a7fc8(0x144)];_0x272f42++){const _0xe82c89=_0x47e094[_0x272f42];if(!_0xe82c89)continue;let _0x2d1775=_0x4bc3e2[_0x272f42];if(_0x2d1775==null||_0x2d1775===''){_0xb8411a[_0xe82c89]=_0x2d1775==null?null:'';continue;}_0x52aed1=![],typeof _0x2d1775===_0x4a7fc8(0x148)?_0xb8411a[_0xe82c89]=_0x2d1775[_0x4a7fc8(0x14c)]():_0xb8411a[_0xe82c89]=_0x2d1775;}if(!_0x52aed1)_0x52147f[_0x4a7fc8(0x142)](_0xb8411a);}return _0x52147f;}export function excelFilename(_0x444fec){const _0x3cf43e=_0x3626de;return _0x444fec[_0x3cf43e(0x13c)](_0x3cf43e(0x133))?_0x444fec:_0x444fec+_0x3cf43e(0x133);}export function excelResponseHeaders(_0x529dbb){const _0x53ece3=_0x3626de,_0x4c133e=excelFilename(_0x529dbb);return{'Content-Type':_0x53ece3(0x147),'Content-Disposition':_0x53ece3(0x12e)+encodeURIComponent(_0x4c133e)};}
@@ -1 +1 @@
1
- (function(_0x43a7cb,_0x4d0863){var _0x845771=_0x4efa,_0x30f514=_0x43a7cb();while(!![]){try{var _0x185e94=-parseInt(_0x845771(0x111))/0x1+parseInt(_0x845771(0x10a))/0x2*(parseInt(_0x845771(0x108))/0x3)+-parseInt(_0x845771(0x110))/0x4*(parseInt(_0x845771(0x109))/0x5)+-parseInt(_0x845771(0x10c))/0x6*(parseInt(_0x845771(0x10b))/0x7)+-parseInt(_0x845771(0x10d))/0x8+parseInt(_0x845771(0x10e))/0x9*(parseInt(_0x845771(0x10f))/0xa)+parseInt(_0x845771(0x112))/0xb;if(_0x185e94===_0x4d0863)break;else _0x30f514['push'](_0x30f514['shift']());}catch(_0x1f02c6){_0x30f514['push'](_0x30f514['shift']());}}}(_0x3095,0x77483));export{merge}from'../comm/merge';export{deepTree,flattenTree}from'./tree';function _0x4efa(_0x417982,_0x353d07){_0x417982=_0x417982-0x108;var _0x309507=_0x3095();var _0x4efaff=_0x309507[_0x417982];if(_0x4efa['AjjGFX']===undefined){var _0x23ecda=function(_0x35542f){var _0x43a581='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x292e42='',_0x9fc4e3='';for(var _0x491f07=0x0,_0x263d04,_0x12398c,_0x5f0ac2=0x0;_0x12398c=_0x35542f['charAt'](_0x5f0ac2++);~_0x12398c&&(_0x263d04=_0x491f07%0x4?_0x263d04*0x40+_0x12398c:_0x12398c,_0x491f07++%0x4)?_0x292e42+=String['fromCharCode'](0xff&_0x263d04>>(-0x2*_0x491f07&0x6)):0x0){_0x12398c=_0x43a581['indexOf'](_0x12398c);}for(var _0x35bf39=0x0,_0x9b19cf=_0x292e42['length'];_0x35bf39<_0x9b19cf;_0x35bf39++){_0x9fc4e3+='%'+('00'+_0x292e42['charCodeAt'](_0x35bf39)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x9fc4e3);};_0x4efa['lmfFCn']=_0x23ecda,_0x4efa['kIlBMd']={},_0x4efa['AjjGFX']=!![];}var _0x374c72=_0x309507[0x0],_0x45c3cd=_0x417982+_0x374c72,_0x532839=_0x4efa['kIlBMd'][_0x45c3cd];return!_0x532839?(_0x4efaff=_0x4efa['lmfFCn'](_0x4efaff),_0x4efa['kIlBMd'][_0x45c3cd]=_0x4efaff):_0x4efaff=_0x532839,_0x4efaff;}export{RES_CODE}from'../routing/base';export{buildExcelBuffer,buildImportTemplateBuffer,parseExcelBuffer,excelFilename,excelResponseHeaders,IMPORT_SKIP_FIELDS,isImportSkipField}from'./excel';export{flattenLocale,unflattenLocale,hashLocaleJson,extractJsonObject}from'./locale-json';function _0x3095(){var _0x33b1b0=['mZa4n2DMA296EG','mZyYmhzUANfAwq','mteYDwTNwufl','nZCYnZa0s1jIAxPq','mJq5ntKYmJbitxrPBMu','mZKWoti0C2P4z3D4','mZq1odvlv3rKrNu','ogLStwT6Dq','nZy4ntnuuffYCge','mZmWEw5UwhzT','nJG0ndKXmKnRD0zsDG'];_0x3095=function(){return _0x33b1b0;};return _0x3095();}
1
+ (function(_0x455697,_0x1439e2){var _0x3930b3=_0x225f,_0x1cd5fc=_0x455697();while(!![]){try{var _0x493050=parseInt(_0x3930b3(0x16b))/0x1*(-parseInt(_0x3930b3(0x168))/0x2)+-parseInt(_0x3930b3(0x163))/0x3+-parseInt(_0x3930b3(0x164))/0x4+-parseInt(_0x3930b3(0x165))/0x5*(-parseInt(_0x3930b3(0x167))/0x6)+parseInt(_0x3930b3(0x161))/0x7*(-parseInt(_0x3930b3(0x169))/0x8)+-parseInt(_0x3930b3(0x166))/0x9+-parseInt(_0x3930b3(0x16a))/0xa*(-parseInt(_0x3930b3(0x162))/0xb);if(_0x493050===_0x1439e2)break;else _0x1cd5fc['push'](_0x1cd5fc['shift']());}catch(_0x4cab1b){_0x1cd5fc['push'](_0x1cd5fc['shift']());}}}(_0x300a,0x25c79));function _0x300a(){var _0x553b32=['mta5mtGWotbID0vZt1O','m0DdqxHfza','mZG5ouX0Cvz6Eq','mtfqz0v4y3q','nJK1ndC4zvrytfLX','odCWoda4wMHNCw1X','nZaWwKn1yxb2','mti4oti0muf4uLzuBW','ndqYmKjhuMj4Aa','mty4nZe2u05SreXd','mJC5mNPTvLrmBG'];_0x300a=function(){return _0x553b32;};return _0x300a();}export{merge}from'../comm/merge';export{deepTree,flattenTree}from'./tree';export{RES_CODE}from'../routing/base';export{buildExcelBuffer,buildImportTemplateBuffer,parseExcelBuffer,excelFilename,excelResponseHeaders,IMPORT_SKIP_FIELDS,isImportSkipField}from'./excel';function _0x225f(_0x45d166,_0x532c54){_0x45d166=_0x45d166-0x161;var _0x300aa7=_0x300a();var _0x225fe4=_0x300aa7[_0x45d166];if(_0x225f['IeyfJI']===undefined){var _0x2b9926=function(_0x11e543){var _0xca3764='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5cf5d3='',_0x8b36ee='';for(var _0xbf9696=0x0,_0xe26724,_0x3f957e,_0x11bdb8=0x0;_0x3f957e=_0x11e543['charAt'](_0x11bdb8++);~_0x3f957e&&(_0xe26724=_0xbf9696%0x4?_0xe26724*0x40+_0x3f957e:_0x3f957e,_0xbf9696++%0x4)?_0x5cf5d3+=String['fromCharCode'](0xff&_0xe26724>>(-0x2*_0xbf9696&0x6)):0x0){_0x3f957e=_0xca3764['indexOf'](_0x3f957e);}for(var _0x199ebd=0x0,_0x4aca82=_0x5cf5d3['length'];_0x199ebd<_0x4aca82;_0x199ebd++){_0x8b36ee+='%'+('00'+_0x5cf5d3['charCodeAt'](_0x199ebd)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x8b36ee);};_0x225f['RcNiYZ']=_0x2b9926,_0x225f['LaMZRG']={},_0x225f['IeyfJI']=!![];}var _0xdf23f3=_0x300aa7[0x0],_0x1b7e30=_0x45d166+_0xdf23f3,_0x40f6d5=_0x225f['LaMZRG'][_0x1b7e30];return!_0x40f6d5?(_0x225fe4=_0x225f['RcNiYZ'](_0x225fe4),_0x225f['LaMZRG'][_0x1b7e30]=_0x225fe4):_0x225fe4=_0x40f6d5,_0x225fe4;}export{flattenLocale,unflattenLocale,hashLocaleJson,extractJsonObject}from'./locale-json';
@@ -1 +1 @@
1
- (function(_0x219083,_0x22b82d){const _0x4dd214=_0x37dc,_0x430aae=_0x219083();while(!![]){try{const _0xff5b90=-parseInt(_0x4dd214(0xe6))/0x1*(parseInt(_0x4dd214(0xea))/0x2)+-parseInt(_0x4dd214(0xe2))/0x3*(parseInt(_0x4dd214(0xe1))/0x4)+parseInt(_0x4dd214(0xdb))/0x5+-parseInt(_0x4dd214(0xdf))/0x6+-parseInt(_0x4dd214(0xe0))/0x7+parseInt(_0x4dd214(0xda))/0x8*(-parseInt(_0x4dd214(0xd8))/0x9)+-parseInt(_0x4dd214(0xf3))/0xa*(-parseInt(_0x4dd214(0xf1))/0xb);if(_0xff5b90===_0x22b82d)break;else _0x430aae['push'](_0x430aae['shift']());}catch(_0x4b1302){_0x430aae['push'](_0x430aae['shift']());}}}(_0x4a27,0x37ac3));import{createHash}from'node:crypto';export function flattenLocale(_0x5bdb0d,_0x945bee=''){const _0xbe8ae2=_0x37dc,_0x2e1af5={};for(const [_0x1ffb89,_0x27312a]of Object['entries'](_0x5bdb0d)){const _0x1a6a89=_0x945bee?_0x945bee+'.'+_0x1ffb89:_0x1ffb89;if(_0x27312a!=null&&typeof _0x27312a==='object'&&!Array['isArray'](_0x27312a))Object[_0xbe8ae2(0xf2)](_0x2e1af5,flattenLocale(_0x27312a,_0x1a6a89));else{if(typeof _0x27312a===_0xbe8ae2(0xeb))_0x2e1af5[_0x1a6a89]=_0x27312a;else _0x27312a!=null&&(_0x2e1af5[_0x1a6a89]=String(_0x27312a));}}return _0x2e1af5;}export function unflattenLocale(_0x38ef23){const _0x185eae=_0x37dc,_0x24861b={};for(const [_0x1d5400,_0x3f0ca3]of Object[_0x185eae(0xd6)](_0x38ef23)){const _0x1bbcf4=_0x1d5400['split']('.')[_0x185eae(0xe5)](Boolean);if(!_0x1bbcf4[_0x185eae(0xec)])continue;let _0x24a667=_0x24861b;for(let _0x9a5f8f=0x0;_0x9a5f8f<_0x1bbcf4[_0x185eae(0xec)]-0x1;_0x9a5f8f++){const _0x5c6145=_0x1bbcf4[_0x9a5f8f],_0x14838c=_0x24a667[_0x5c6145];(!_0x14838c||typeof _0x14838c!=='object'||Array['isArray'](_0x14838c))&&(_0x24a667[_0x5c6145]={}),_0x24a667=_0x24a667[_0x5c6145];}_0x24a667[_0x1bbcf4[_0x1bbcf4[_0x185eae(0xec)]-0x1]]=_0x3f0ca3;}return _0x24861b;}function _0x37dc(_0x3f4719,_0x46adbf){_0x3f4719=_0x3f4719-0xd6;const _0x4a271b=_0x4a27();let _0x37dc5e=_0x4a271b[_0x3f4719];if(_0x37dc['seBOFA']===undefined){var _0xc72ea9=function(_0x1136f4){const _0x2d8490='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5bdb0d='',_0x945bee='';for(let _0x2e1af5=0x0,_0x1ffb89,_0x27312a,_0x1a6a89=0x0;_0x27312a=_0x1136f4['charAt'](_0x1a6a89++);~_0x27312a&&(_0x1ffb89=_0x2e1af5%0x4?_0x1ffb89*0x40+_0x27312a:_0x27312a,_0x2e1af5++%0x4)?_0x5bdb0d+=String['fromCharCode'](0xff&_0x1ffb89>>(-0x2*_0x2e1af5&0x6)):0x0){_0x27312a=_0x2d8490['indexOf'](_0x27312a);}for(let _0x38ef23=0x0,_0x24861b=_0x5bdb0d['length'];_0x38ef23<_0x24861b;_0x38ef23++){_0x945bee+='%'+('00'+_0x5bdb0d['charCodeAt'](_0x38ef23)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x945bee);};_0x37dc['ebDFXi']=_0xc72ea9,_0x37dc['fVqQCW']={},_0x37dc['seBOFA']=!![];}const _0x47d601=_0x4a271b[0x0],_0x5d9049=_0x3f4719+_0x47d601,_0x20e8ad=_0x37dc['fVqQCW'][_0x5d9049];return!_0x20e8ad?(_0x37dc5e=_0x37dc['ebDFXi'](_0x37dc5e),_0x37dc['fVqQCW'][_0x5d9049]=_0x37dc5e):_0x37dc5e=_0x20e8ad,_0x37dc5e;}function _0x4a27(){const _0x5d21c4=['mJqYngjYB1fSBq','mJeWm2DMB3DpDW','B2jQzwn0','DhjPBq','zMLSDgvY','mvDfuKDWBG','zgLNzxn0','AxnbCNjHEq','quKG6l+u5zUE5PEG5Rov6kEJ5P6q5lI6iePtt04G5A+56lgH','nZiZmtzrwhnNrwi','C3rYAw5N','BgvUz3rO','A2v5CW','Agv4','AM9PBG','Bwf0y2G','ntaYmJKXovH2ChPcwq','yxnZAwDU','mJbTExvMve8','zw50CMLLCW','BgfZDeLUzgv4t2y','mtu5m0HitufrAW','Aw5KzxHpzG','mte1odrYzeflA2C','mtiYnZq1nwXWDKjQyq','CgfYC2u','C2HHmJu2','C2XPy2u','nZa4mdmWveXbyNzp','nJy4mtqZCuvPz09k'];_0x4a27=function(){return _0x5d21c4;};return _0x4a27();}export function hashLocaleJson(_0x1eff9d){const _0x457e13=_0x37dc,_0x12183a=flattenLocale(_0x1eff9d),_0x15e460=Object[_0x457e13(0xed)](_0x12183a)['sort'](),_0x281bca=_0x15e460['map'](_0x823325=>_0x823325+'='+_0x12183a[_0x823325])[_0x457e13(0xef)]('\x0a');return createHash(_0x457e13(0xdd))['update'](_0x281bca)[_0x457e13(0xe7)](_0x457e13(0xee))[_0x457e13(0xde)](0x0,0x20);}export function extractJsonObject(_0x383f28){const _0x592e49=_0x37dc,_0x27cea3=String(_0x383f28||'')['trim']();if(!_0x27cea3)throw new Error('AI\x20返回空内容');try{const _0x2ecf43=JSON['parse'](_0x27cea3);if(_0x2ecf43&&typeof _0x2ecf43==='object'&&!Array[_0x592e49(0xe8)](_0x2ecf43))return _0x2ecf43;}catch{}const _0x319110=_0x27cea3[_0x592e49(0xf0)](/```(?:json)?\s*([\s\S]*?)```/i);if(_0x319110?.[0x1]){const _0x184159=JSON[_0x592e49(0xdc)](_0x319110[0x1][_0x592e49(0xe4)]());if(_0x184159&&typeof _0x184159==='object'&&!Array[_0x592e49(0xe8)](_0x184159))return _0x184159;}const _0x39c4fc=_0x27cea3[_0x592e49(0xd9)]('{'),_0x438621=_0x27cea3[_0x592e49(0xd7)]('}');if(_0x39c4fc>=0x0&&_0x438621>_0x39c4fc){const _0x253463=JSON['parse'](_0x27cea3[_0x592e49(0xde)](_0x39c4fc,_0x438621+0x1));if(_0x253463&&typeof _0x253463===_0x592e49(0xe3)&&!Array['isArray'](_0x253463))return _0x253463;}throw new Error(_0x592e49(0xe9));}
1
+ (function(_0x29d48b,_0x431410){const _0x3a5ee0=_0x2e1e,_0x861b99=_0x29d48b();while(!![]){try{const _0x45b465=-parseInt(_0x3a5ee0(0xb4))/0x1*(-parseInt(_0x3a5ee0(0xc8))/0x2)+-parseInt(_0x3a5ee0(0xaf))/0x3+-parseInt(_0x3a5ee0(0xc2))/0x4*(parseInt(_0x3a5ee0(0xb2))/0x5)+parseInt(_0x3a5ee0(0xc0))/0x6+-parseInt(_0x3a5ee0(0xbe))/0x7*(-parseInt(_0x3a5ee0(0xc5))/0x8)+-parseInt(_0x3a5ee0(0xbd))/0x9+parseInt(_0x3a5ee0(0xb1))/0xa;if(_0x45b465===_0x431410)break;else _0x861b99['push'](_0x861b99['shift']());}catch(_0x617f39){_0x861b99['push'](_0x861b99['shift']());}}}(_0x4f58,0xdfadb));import{createHash}from'node:crypto';function _0x4f58(){const _0x4449a9=['mJC3mZe2mNHJzvfJva','C2XPy2u','nZG1nde5ogX0tKrmqG','C3rYAw5N','mZi5nJuZmKn5DgvguG','Agv4','DhjPBq','mJrzrenQtw8','BwfW','quKG6l+u5zUE56M65yAf5A65','nZHnBgzmAei','Aw5KzxHpzG','C3bSAxq','quKG6l+u5zUE5PEG5Rov6kEJ5P6q5lI6iePtt04G5A+56lgH','DxbKyxrL','ndC5mdqWzhPjzg1V','CgfYC2u','mtiWnJy1mdbRCMTwvK4','mtbjufLgBfu','B2jQzwn0','otiWmhPwA1LnEG','zgLNzxn0','A2v5CW','zw50CMLLCW','BgvUz3rO','AM9PBG','BgfZDeLUzgv4t2y','AxnbCNjHEq','yxnZAwDU','mtiWndK2mZjSywztt3a'];_0x4f58=function(){return _0x4449a9;};return _0x4f58();}export function flattenLocale(_0x4bb181,_0x4829a9=''){const _0x264f07=_0x2e1e,_0x2957dc={};for(const [_0x696225,_0x3ace92]of Object[_0x264f07(0xb7)](_0x4bb181)){const _0x3803a8=_0x4829a9?_0x4829a9+'.'+_0x696225:_0x696225;if(_0x3ace92!=null&&typeof _0x3ace92===_0x264f07(0xb3)&&!Array[_0x264f07(0xbb)](_0x3ace92))Object[_0x264f07(0xbc)](_0x2957dc,flattenLocale(_0x3ace92,_0x3803a8));else{if(typeof _0x3ace92===_0x264f07(0xc1))_0x2957dc[_0x3803a8]=_0x3ace92;else _0x3ace92!=null&&(_0x2957dc[_0x3803a8]=String(_0x3ace92));}}return _0x2957dc;}export function unflattenLocale(_0xdd3a9){const _0x152a38=_0x2e1e,_0x576864={};for(const [_0x5f299f,_0x3fc760]of Object['entries'](_0xdd3a9)){const _0x2cb4bc=_0x5f299f[_0x152a38(0xca)]('.')['filter'](Boolean);if(!_0x2cb4bc[_0x152a38(0xb8)])continue;let _0x115107=_0x576864;for(let _0x5a9263=0x0;_0x5a9263<_0x2cb4bc[_0x152a38(0xb8)]-0x1;_0x5a9263++){const _0x3b0dc5=_0x2cb4bc[_0x5a9263],_0x1f842f=_0x115107[_0x3b0dc5];(!_0x1f842f||typeof _0x1f842f!==_0x152a38(0xb3)||Array[_0x152a38(0xbb)](_0x1f842f))&&(_0x115107[_0x3b0dc5]={}),_0x115107=_0x115107[_0x3b0dc5];}_0x115107[_0x2cb4bc[_0x2cb4bc['length']-0x1]]=_0x3fc760;}return _0x576864;}function _0x2e1e(_0x4f0eb9,_0x34b229){_0x4f0eb9=_0x4f0eb9-0xae;const _0x4f58e8=_0x4f58();let _0x2e1e0a=_0x4f58e8[_0x4f0eb9];if(_0x2e1e['CuFYXH']===undefined){var _0xd2bda3=function(_0x343d59){const _0x125082='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bb181='',_0x4829a9='';for(let _0x2957dc=0x0,_0x696225,_0x3ace92,_0x3803a8=0x0;_0x3ace92=_0x343d59['charAt'](_0x3803a8++);~_0x3ace92&&(_0x696225=_0x2957dc%0x4?_0x696225*0x40+_0x3ace92:_0x3ace92,_0x2957dc++%0x4)?_0x4bb181+=String['fromCharCode'](0xff&_0x696225>>(-0x2*_0x2957dc&0x6)):0x0){_0x3ace92=_0x125082['indexOf'](_0x3ace92);}for(let _0xdd3a9=0x0,_0x576864=_0x4bb181['length'];_0xdd3a9<_0x576864;_0xdd3a9++){_0x4829a9+='%'+('00'+_0x4bb181['charCodeAt'](_0xdd3a9)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x4829a9);};_0x2e1e['wQjUCN']=_0xd2bda3,_0x2e1e['jAvFnK']={},_0x2e1e['CuFYXH']=!![];}const _0x422ebc=_0x4f58e8[0x0],_0x189162=_0x4f0eb9+_0x422ebc,_0xeb7a27=_0x2e1e['jAvFnK'][_0x189162];return!_0xeb7a27?(_0x2e1e0a=_0x2e1e['wQjUCN'](_0x2e1e0a),_0x2e1e['jAvFnK'][_0x189162]=_0x2e1e0a):_0x2e1e0a=_0xeb7a27,_0x2e1e0a;}export function hashLocaleJson(_0xc81b89){const _0x4e3980=_0x2e1e,_0x5290b9=flattenLocale(_0xc81b89),_0x5e7f08=Object[_0x4e3980(0xb6)](_0x5290b9)['sort'](),_0x3387d3=_0x5e7f08[_0x4e3980(0xc6)](_0x3e37e4=>_0x3e37e4+'='+_0x5290b9[_0x3e37e4])[_0x4e3980(0xb9)]('\x0a');return createHash('sha256')[_0x4e3980(0xae)](_0x3387d3)[_0x4e3980(0xb5)](_0x4e3980(0xc3))['slice'](0x0,0x20);}export function extractJsonObject(_0x159fb2){const _0x5c2227=_0x2e1e,_0x2dbf85=String(_0x159fb2||'')['trim']();if(!_0x2dbf85)throw new Error(_0x5c2227(0xc7));try{const _0x4c1cf6=JSON['parse'](_0x2dbf85);if(_0x4c1cf6&&typeof _0x4c1cf6===_0x5c2227(0xb3)&&!Array[_0x5c2227(0xbb)](_0x4c1cf6))return _0x4c1cf6;}catch{}const _0x4a0938=_0x2dbf85['match'](/```(?:json)?\s*([\s\S]*?)```/i);if(_0x4a0938?.[0x1]){const _0x53a484=JSON[_0x5c2227(0xb0)](_0x4a0938[0x1][_0x5c2227(0xc4)]());if(_0x53a484&&typeof _0x53a484===_0x5c2227(0xb3)&&!Array[_0x5c2227(0xbb)](_0x53a484))return _0x53a484;}const _0x57d14d=_0x2dbf85[_0x5c2227(0xc9)]('{'),_0x1cf57a=_0x2dbf85[_0x5c2227(0xba)]('}');if(_0x57d14d>=0x0&&_0x1cf57a>_0x57d14d){const _0x228c44=JSON['parse'](_0x2dbf85[_0x5c2227(0xbf)](_0x57d14d,_0x1cf57a+0x1));if(_0x228c44&&typeof _0x228c44===_0x5c2227(0xb3)&&!Array[_0x5c2227(0xbb)](_0x228c44))return _0x228c44;}throw new Error(_0x5c2227(0xcb));}
@@ -1 +1 @@
1
- function _0x2107(_0x4c3f35,_0x36ee87){_0x4c3f35=_0x4c3f35-0x177;const _0x834929=_0x8349();let _0x21073b=_0x834929[_0x4c3f35];if(_0x2107['FCCgEP']===undefined){var _0x5f0be8=function(_0x4d6476){const _0x5c6a2e='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5ddaee='',_0x1b53f7='';for(let _0x5d6dd8=0x0,_0x4e3ce6,_0x29cd81,_0x4608a7=0x0;_0x29cd81=_0x4d6476['charAt'](_0x4608a7++);~_0x29cd81&&(_0x4e3ce6=_0x5d6dd8%0x4?_0x4e3ce6*0x40+_0x29cd81:_0x29cd81,_0x5d6dd8++%0x4)?_0x5ddaee+=String['fromCharCode'](0xff&_0x4e3ce6>>(-0x2*_0x5d6dd8&0x6)):0x0){_0x29cd81=_0x5c6a2e['indexOf'](_0x29cd81);}for(let _0x51c4ba=0x0,_0x39da4c=_0x5ddaee['length'];_0x51c4ba<_0x39da4c;_0x51c4ba++){_0x1b53f7+='%'+('00'+_0x5ddaee['charCodeAt'](_0x51c4ba)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x1b53f7);};_0x2107['RBsATe']=_0x5f0be8,_0x2107['yHcXBa']={},_0x2107['FCCgEP']=!![];}const _0xa3f02e=_0x834929[0x0],_0x5ccc81=_0x4c3f35+_0xa3f02e,_0x2d06f3=_0x2107['yHcXBa'][_0x5ccc81];return!_0x2d06f3?(_0x21073b=_0x2107['RBsATe'](_0x21073b),_0x2107['yHcXBa'][_0x5ccc81]=_0x21073b):_0x21073b=_0x2d06f3,_0x21073b;}function _0x8349(){const _0x1542e2=['nta0otmXmgDyt0vUsW','ntuWmJuWngDgtM9gua','zgvZyW','ChvZAa','otC3nta3mM9btefXsG','DMfSDwvZ','mtG3nJy1y2zdEgfs','B3jKzxjoDw0','mJbeq0requG','mtu0mdKWmMHrDgToza','y2HPBgrYzw4','C2v0','mty3mhvPEeLcDW','mtm3mJq2rwTcC0Le','AgfZ','z2v0','mtfnrfzUtNy','BgvUz3rO','mtyXnZm5CuLqBLz2'];_0x8349=function(){return _0x1542e2;};return _0x8349();}(function(_0xc22a97,_0x307d6d){const _0x2efc93=_0x2107,_0x1b4497=_0xc22a97();while(!![]){try{const _0x2d86c0=parseInt(_0x2efc93(0x185))/0x1*(parseInt(_0x2efc93(0x182))/0x2)+-parseInt(_0x2efc93(0x17b))/0x3*(-parseInt(_0x2efc93(0x17d))/0x4)+parseInt(_0x2efc93(0x188))/0x5+-parseInt(_0x2efc93(0x17e))/0x6+parseInt(_0x2efc93(0x189))/0x7+parseInt(_0x2efc93(0x179))/0x8+parseInt(_0x2efc93(0x187))/0x9*(-parseInt(_0x2efc93(0x181))/0xa);if(_0x2d86c0===_0x307d6d)break;else _0x1b4497['push'](_0x1b4497['shift']());}catch(_0xaa0756){_0x1b4497['push'](_0x1b4497['shift']());}}}(_0x8349,0xca050));export function deepTree(_0x5ddaee,_0x1b53f7='asc'){const _0x3ffe57=_0x2107,_0x5d6dd8=new Map();for(const _0x4608a7 of _0x5ddaee){if(_0x4608a7['id']==null)continue;_0x5d6dd8[_0x3ffe57(0x180)](_0x4608a7['id'],{..._0x4608a7,'children':[]});}const _0x4e3ce6=[];for(const _0x51c4ba of _0x5d6dd8[_0x3ffe57(0x17a)]()){const _0x39da4c=_0x51c4ba['parentId'];_0x39da4c!=null&&_0x39da4c!==''&&_0x5d6dd8[_0x3ffe57(0x183)](_0x39da4c)?_0x5d6dd8[_0x3ffe57(0x184)](_0x39da4c)['children']['push'](_0x51c4ba):_0x4e3ce6[_0x3ffe57(0x178)](_0x51c4ba);}const _0x29cd81=_0x2fdfe9=>{const _0x23bc17=_0x3ffe57;_0x2fdfe9['sort']((_0x47b740,_0x40f3b2)=>{const _0x1c1d06=_0x2107,_0x247686=_0x47b740[_0x1c1d06(0x17c)]??0x0,_0x24eb61=_0x40f3b2[_0x1c1d06(0x17c)]??0x0,_0x2ca530=_0x1b53f7===_0x1c1d06(0x177)?_0x24eb61-_0x247686:_0x247686-_0x24eb61;return _0x2ca530||Number(_0x47b740['id'])-Number(_0x40f3b2['id']);});for(const _0x2f658c of _0x2fdfe9)if(_0x2f658c['children']?.[_0x23bc17(0x186)])_0x29cd81(_0x2f658c[_0x23bc17(0x17f)]);};return _0x29cd81(_0x4e3ce6),_0x4e3ce6;}export function flattenTree(_0x2e6132,_0x3cdfda,_0x409e4=0x0,_0x5b51cb=[]){const _0x3ed970=_0x2107;for(const _0x5949ca of _0x2e6132){const _0x222f1f=_0x5949ca[_0x3ed970(0x17f)]||[];_0x5b51cb['push']({..._0x5949ca,'depth':_0x409e4,'hasChildren':_0x222f1f['length']>0x0});if(_0x222f1f['length']&&_0x3cdfda['has'](_0x5949ca['id']))flattenTree(_0x222f1f,_0x3cdfda,_0x409e4+0x1,_0x5b51cb);}return _0x5b51cb;}
1
+ (function(_0x2a3e27,_0x26e2a9){const _0x5c1da5=_0x40e6,_0x268622=_0x2a3e27();while(!![]){try{const _0x595ccb=parseInt(_0x5c1da5(0xb5))/0x1*(-parseInt(_0x5c1da5(0xc1))/0x2)+parseInt(_0x5c1da5(0xb6))/0x3*(parseInt(_0x5c1da5(0xaf))/0x4)+-parseInt(_0x5c1da5(0xbc))/0x5*(-parseInt(_0x5c1da5(0xad))/0x6)+-parseInt(_0x5c1da5(0xb4))/0x7+-parseInt(_0x5c1da5(0xb3))/0x8*(-parseInt(_0x5c1da5(0xbe))/0x9)+parseInt(_0x5c1da5(0xc0))/0xa*(parseInt(_0x5c1da5(0xb0))/0xb)+-parseInt(_0x5c1da5(0xba))/0xc;if(_0x595ccb===_0x26e2a9)break;else _0x268622['push'](_0x268622['shift']());}catch(_0x5847c0){_0x268622['push'](_0x268622['shift']());}}}(_0x3344,0x53343));function _0x40e6(_0x3f9afe,_0x1afee4){_0x3f9afe=_0x3f9afe-0xac;const _0x334411=_0x3344();let _0x40e66a=_0x334411[_0x3f9afe];if(_0x40e6['HJVKuv']===undefined){var _0x286eae=function(_0x208df6){const _0x2d5fa5='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x20d24a='',_0x3430b1='';for(let _0x4c25a4=0x0,_0x43866e,_0x2aeca1,_0x3c27b0=0x0;_0x2aeca1=_0x208df6['charAt'](_0x3c27b0++);~_0x2aeca1&&(_0x43866e=_0x4c25a4%0x4?_0x43866e*0x40+_0x2aeca1:_0x2aeca1,_0x4c25a4++%0x4)?_0x20d24a+=String['fromCharCode'](0xff&_0x43866e>>(-0x2*_0x4c25a4&0x6)):0x0){_0x2aeca1=_0x2d5fa5['indexOf'](_0x2aeca1);}for(let _0x8791a=0x0,_0x16b484=_0x20d24a['length'];_0x8791a<_0x16b484;_0x8791a++){_0x3430b1+='%'+('00'+_0x20d24a['charCodeAt'](_0x8791a)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(_0x3430b1);};_0x40e6['cNyDpn']=_0x286eae,_0x40e6['iwyhTx']={},_0x40e6['HJVKuv']=!![];}const _0x36adcc=_0x334411[0x0],_0x467e59=_0x3f9afe+_0x36adcc,_0x2d2c6f=_0x40e6['iwyhTx'][_0x467e59];return!_0x2d2c6f?(_0x40e66a=_0x40e6['cNyDpn'](_0x40e66a),_0x40e6['iwyhTx'][_0x467e59]=_0x40e66a):_0x40e66a=_0x2d2c6f,_0x40e66a;}export function deepTree(_0x20d24a,_0x3430b1='asc'){const _0x325c4f=_0x40e6,_0x4c25a4=new Map();for(const _0x3c27b0 of _0x20d24a){if(_0x3c27b0['id']==null)continue;_0x4c25a4[_0x325c4f(0xb8)](_0x3c27b0['id'],{..._0x3c27b0,'children':[]});}const _0x43866e=[];for(const _0x8791a of _0x4c25a4[_0x325c4f(0xbb)]()){const _0x16b484=_0x8791a['parentId'];_0x16b484!=null&&_0x16b484!==''&&_0x4c25a4[_0x325c4f(0xb1)](_0x16b484)?_0x4c25a4[_0x325c4f(0xb7)](_0x16b484)['children'][_0x325c4f(0xbf)](_0x8791a):_0x43866e[_0x325c4f(0xbf)](_0x8791a);}const _0x2aeca1=_0x5c5dab=>{const _0x3b7c7c=_0x325c4f;_0x5c5dab[_0x3b7c7c(0xb2)]((_0x151c26,_0x451b77)=>{const _0x3d149a=_0x3b7c7c,_0x4e37ec=_0x151c26[_0x3d149a(0xac)]??0x0,_0x4163a4=_0x451b77[_0x3d149a(0xac)]??0x0,_0x4cf80a=_0x3430b1===_0x3d149a(0xae)?_0x4163a4-_0x4e37ec:_0x4e37ec-_0x4163a4;return _0x4cf80a||Number(_0x151c26['id'])-Number(_0x451b77['id']);});for(const _0x107c7b of _0x5c5dab)if(_0x107c7b[_0x3b7c7c(0xb9)]?.[_0x3b7c7c(0xbd)])_0x2aeca1(_0x107c7b[_0x3b7c7c(0xb9)]);};return _0x2aeca1(_0x43866e),_0x43866e;}export function flattenTree(_0x1c3aea,_0x571927,_0xaf90f1=0x0,_0x2b20f8=[]){const _0x2c8fb1=_0x40e6;for(const _0x356ef4 of _0x1c3aea){const _0x5df226=_0x356ef4[_0x2c8fb1(0xb9)]||[];_0x2b20f8['push']({..._0x356ef4,'depth':_0xaf90f1,'hasChildren':_0x5df226[_0x2c8fb1(0xbd)]>0x0});if(_0x5df226['length']&&_0x571927[_0x2c8fb1(0xb1)](_0x356ef4['id']))flattenTree(_0x5df226,_0x571927,_0xaf90f1+0x1,_0x2b20f8);}return _0x2b20f8;}function _0x3344(){const _0x4b5719=['nZG2otq0sw9bwvPQ','mZK2mdq2mg1iwLbSCa','nZi4nKfIwKDhza','m1DxEKv5uq','z2v0','C2v0','y2HPBgrYzw4','mty0mZm1mKjNtxzjqW','DMfSDwvZ','mtmWsgL2wxzX','BgvUz3rO','mZzcrfrIruC','ChvZAa','mZeXmZy4mhbXD2THDq','mtC4weLmrxnL','B3jKzxjoDw0','mJi4nJz4tfDet28','zgvZyW','mJmWnJC1nLf2uhbsAG','mJjLzLj3sfC','AgfZ','C29YDa'];_0x3344=function(){return _0x4b5719;};return _0x3344();}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * vome-core/config — 轻量配置引导(不触发 VomeConfig 加载)
3
+ *
4
+ * 宿主须在 import `vome-core/server` 之前:
5
+ * import { provideHostConfig, merge, getEnv } from 'vome-core/config'
6
+ * provideHostConfig(merge(defaultConfig, envConfig))
7
+ */
8
+ export { provideHostConfig, hasHostConfig } from '../core/config';
9
+ export { merge } from '../comm/merge';
10
+ export { getEnv } from '../comm/env';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vome-core",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "Vome framework — shared + Bun/Elysia server + Vue admin",
5
5
  "license": "MIT",
6
6
  "type": "module",