xcube
Version:
Alipay Cube Tools
3 lines (2 loc) • 3.25 kB
JavaScript
;const _0x3e55ae=_0x7c16;(function(_0x555478,_0x2833f5){const _0x1519ab=_0x7c16,_0x397eb3=_0x555478();while(!![]){try{const _0xc04796=parseInt(_0x1519ab(0x144))/0x1+-parseInt(_0x1519ab(0x139))/0x2*(-parseInt(_0x1519ab(0x13d))/0x3)+parseInt(_0x1519ab(0x14a))/0x4*(parseInt(_0x1519ab(0x13f))/0x5)+parseInt(_0x1519ab(0x151))/0x6*(parseInt(_0x1519ab(0x13c))/0x7)+parseInt(_0x1519ab(0x148))/0x8*(-parseInt(_0x1519ab(0x153))/0x9)+-parseInt(_0x1519ab(0x147))/0xa+parseInt(_0x1519ab(0x13a))/0xb*(-parseInt(_0x1519ab(0x14f))/0xc);if(_0xc04796===_0x2833f5)break;else _0x397eb3['push'](_0x397eb3['shift']());}catch(_0x273991){_0x397eb3['push'](_0x397eb3['shift']());}}}(_0x51af,0x91010));function _0x7c16(_0x439018,_0x20dd4d){const _0x51af22=_0x51af();return _0x7c16=function(_0x7c16f2,_0x10c48a){_0x7c16f2=_0x7c16f2-0x138;let _0x5538f5=_0x51af22[_0x7c16f2];return _0x5538f5;},_0x7c16(_0x439018,_0x20dd4d);}var __awaiter=this&&this[_0x3e55ae(0x143)]||function(_0x36f3df,_0x3bcc7c,_0xaf8e25,_0x50e0e3){return new(_0xaf8e25||(_0xaf8e25=Promise))(function(_0x1531cb,_0x2505ef){const _0x39edaf=_0x7c16;function _0x27081e(_0x4bd261){const _0x306112=_0x7c16;try{_0x54a1e4(_0x50e0e3[_0x306112(0x13e)](_0x4bd261));}catch(_0x1830e3){_0x2505ef(_0x1830e3);}}function _0x29e5a9(_0x3e88f5){const _0x8eee1e=_0x7c16;try{_0x54a1e4(_0x50e0e3[_0x8eee1e(0x14c)](_0x3e88f5));}catch(_0x5df133){_0x2505ef(_0x5df133);}}function _0x54a1e4(_0x1f19a1){const _0x35e402=_0x7c16;var _0x249cde;_0x1f19a1[_0x35e402(0x150)]?_0x1531cb(_0x1f19a1[_0x35e402(0x146)]):(_0x249cde=_0x1f19a1[_0x35e402(0x146)],_0x249cde instanceof _0xaf8e25?_0x249cde:new _0xaf8e25(function(_0x150eb6){_0x150eb6(_0x249cde);}))['then'](_0x27081e,_0x29e5a9);}_0x54a1e4((_0x50e0e3=_0x50e0e3[_0x39edaf(0x145)](_0x36f3df,_0x3bcc7c||[]))[_0x39edaf(0x13e)]());});};Object[_0x3e55ae(0x14d)](exports,_0x3e55ae(0x13b),{'value':!0x0}),exports[_0x3e55ae(0x138)]=void 0x0;function _0x51af(){const _0x2ca902=['/dist/compress/mQAppId.zip','join','path','preview','598KsmcnX','78419ddsvxQ','__esModule','4390729hGDcoC','2361vTECtz','next','273185alesLm','Unable\x20to\x20find\x20Cube\x20compilation\x20product\x20:\x20','readFileSync','existsSync','__awaiter','976794yuwtsj','apply','value','5941860pjORXT','5640mnpnEf','show_project_application','4orNcen','subtype','throw','defineProperty','type','132AtgfEC','done','6nYWOwz','stringify','8010PxdSyn'];_0x51af=function(){return _0x2ca902;};return _0x51af();}const fs_1=require('fs'),path_1=require(_0x3e55ae(0x156)),server_1=require('../server');function preview(_0x1064fb,_0x3a5d0f=!0x1){return __awaiter(this,void 0x0,void 0x0,function*(){const _0x4a347d=_0x7c16,_0xd2ed4e=(0x0,path_1[_0x4a347d(0x155)])(_0x1064fb,_0x4a347d(0x154));if(!(0x0,fs_1[_0x4a347d(0x142)])(_0xd2ed4e))throw Error(_0x4a347d(0x140)+_0xd2ed4e);const _0x28aec4=JSON['parse']((0x0,fs_1[_0x4a347d(0x141)])((0x0,path_1[_0x4a347d(0x155)])(_0x1064fb,'package.json'))['toString']());yield(0x0,server_1['broadcase'])(JSON[_0x4a347d(0x152)]({'key':_0x4a347d(0x149),'payload':{'name':_0x28aec4['name'],'type':_0x28aec4[_0x4a347d(0x14e)],'subtype':_0x28aec4[_0x4a347d(0x14b)],'source':(0x0,server_1['fillFileRemoteUrl'])(_0xd2ed4e)}}));});}exports[_0x3e55ae(0x138)]=preview;
//# sourceMappingURL=vueapp.js.map