@webspatial/builder 0.1.1 → 0.1.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/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xf26f83=_0x2f85;(function(_0x4434d2,_0x29a86a){const _0x65d92d=_0x2f85,_0x5c6648=_0x4434d2();while(!![]){try{const _0x39cd41=parseInt(_0x65d92d(0x190))/0x1*(-parseInt(_0x65d92d(0x196))/0x2)+-parseInt(_0x65d92d(0x18c))/0x3*(parseInt(_0x65d92d(0x18a))/0x4)+parseInt(_0x65d92d(0x198))/0x5*(-parseInt(_0x65d92d(0x181))/0x6)+parseInt(_0x65d92d(0x18b))/0x7*(-parseInt(_0x65d92d(0x183))/0x8)+parseInt(_0x65d92d(0x184))/0x9+parseInt(_0x65d92d(0x187))/0xa*(parseInt(_0x65d92d(0x197))/0xb)+-parseInt(_0x65d92d(0x195))/0xc*(-parseInt(_0x65d92d(0x192))/0xd);if(_0x39cd41===_0x29a86a)break;else _0x5c6648['push'](_0x5c6648['shift']());}catch(_0x19b07b){_0x5c6648['push'](_0x5c6648['shift']());}}}(_0x1060,0xbae75));Object['defineProperty'](exports,'__esModule',{'value':!![]});function _0x1060(){const _0x15cced=['./lib/utils/CustomError','./lib/Cli','36460oVtRbJ','run','message','28416kIzZmO','14RmCKGW','39xsCyIA','CustomError','isArray','exit','31589Retdtq','code','26sSuJwM','exports','argv','10497156VdmjqP','6hDYKab','1760NpxLXt','10HVECOx','error','2962788zWMyZw','log','4891624eWMYAi','7472628DLFISY'];_0x1060=function(){return _0x15cced;};return _0x1060();}const Cli_1=require(_0xf26f83(0x186)),CustomError_1=require(_0xf26f83(0x185));function _0x2f85(_0x422447,_0x585ca7){const _0x1060a8=_0x1060();return _0x2f85=function(_0x2f85d6,_0x340670){_0x2f85d6=_0x2f85d6-0x180;let _0x352a44=_0x1060a8[_0x2f85d6];return _0x352a44;},_0x2f85(_0x422447,_0x585ca7);}module[_0xf26f83(0x193)]=async()=>{const _0x285266=_0xf26f83,_0x4040fa=new Cli_1['Cli'](),_0x38fe35=Cli_1['Cli'][_0x285266(0x182)],_0x11f68d=process[_0x285266(0x194)]['slice'](0x2);let _0x2fd188;try{_0x2fd188=await _0x4040fa[_0x285266(0x188)](_0x11f68d);}catch(_0x9fd7e1){if(_0x9fd7e1 instanceof CustomError_1[_0x285266(0x18d)]){const _0x537566=_0x9fd7e1['customMessage'];Array[_0x285266(0x18e)](_0x537566)?_0x537566['forEach'](_0x171a38=>{const _0x30cbff=_0x285266;_0x38fe35[_0x30cbff(0x180)](_0x171a38[_0x30cbff(0x191)]+':\x20'+_0x171a38[_0x30cbff(0x189)]);}):_0x38fe35[_0x285266(0x180)](_0x537566['code']+':\x20'+_0x537566['message']);}else _0x38fe35[_0x285266(0x180)](_0x9fd7e1['message']);_0x2fd188=![];}!_0x2fd188?process[_0x285266(0x18f)](0x1):process[_0x285266(0x18f)](0x0);};
1
+ 'use strict';const _0x3611e1=_0x1a76;function _0x1a76(_0x130c7d,_0x3bbca4){const _0x2ec980=_0x2ec9();return _0x1a76=function(_0x1a765d,_0x21e748){_0x1a765d=_0x1a765d-0x1a7;let _0x4fbb41=_0x2ec980[_0x1a765d];return _0x4fbb41;},_0x1a76(_0x130c7d,_0x3bbca4);}(function(_0x169f18,_0x2ae4e1){const _0x43e311=_0x1a76,_0x1685e9=_0x169f18();while(!![]){try{const _0x429287=parseInt(_0x43e311(0x1a7))/0x1*(parseInt(_0x43e311(0x1bb))/0x2)+parseInt(_0x43e311(0x1bc))/0x3*(-parseInt(_0x43e311(0x1b4))/0x4)+parseInt(_0x43e311(0x1b7))/0x5+parseInt(_0x43e311(0x1bf))/0x6*(-parseInt(_0x43e311(0x1bd))/0x7)+-parseInt(_0x43e311(0x1ab))/0x8*(parseInt(_0x43e311(0x1ad))/0x9)+parseInt(_0x43e311(0x1b2))/0xa*(-parseInt(_0x43e311(0x1b8))/0xb)+parseInt(_0x43e311(0x1b9))/0xc*(parseInt(_0x43e311(0x1ba))/0xd);if(_0x429287===_0x2ae4e1)break;else _0x1685e9['push'](_0x1685e9['shift']());}catch(_0x451288){_0x1685e9['push'](_0x1685e9['shift']());}}}(_0x2ec9,0x2d7b9));Object['defineProperty'](exports,'__esModule',{'value':!![]});function _0x2ec9(){const _0x2f9435=['11SgUsCV','4707852PwZnNx','13tBcfqj','263844fktvOc','23568tlFwLr','567EVXdxC','Cli','11226RZQOcR','2MeJrbJ','isArray','message','code','920CSYpTE','exit','5544anWaTq','./lib/Cli','error','customMessage','exports','2062030ZTMVWL','CustomError','64ZOhiHm','run','./lib/utils/CustomError','422110ZTXWpH'];_0x2ec9=function(){return _0x2f9435;};return _0x2ec9();}const Cli_1=require(_0x3611e1(0x1ae)),CustomError_1=require(_0x3611e1(0x1b6));module[_0x3611e1(0x1b1)]=async()=>{const _0x3db54b=_0x3611e1,_0x27d8b2=new Cli_1['Cli'](),_0x6fca86=Cli_1[_0x3db54b(0x1be)]['log'],_0xbab15e=process['argv']['slice'](0x2);let _0x3cd261;try{_0x3cd261=await _0x27d8b2[_0x3db54b(0x1b5)](_0xbab15e);}catch(_0x230852){if(_0x230852 instanceof CustomError_1[_0x3db54b(0x1b3)]){const _0x1a33eb=_0x230852[_0x3db54b(0x1b0)];Array[_0x3db54b(0x1a8)](_0x1a33eb)?_0x1a33eb['forEach'](_0x3c96fb=>{const _0x3ae3b3=_0x3db54b;_0x6fca86[_0x3ae3b3(0x1af)](_0x3c96fb[_0x3ae3b3(0x1aa)]+':\x20'+_0x3c96fb['message']);}):_0x6fca86[_0x3db54b(0x1af)](_0x1a33eb[_0x3db54b(0x1aa)]+':\x20'+_0x1a33eb[_0x3db54b(0x1a9)]);}else _0x6fca86['error'](_0x230852[_0x3db54b(0x1a9)]);_0x3cd261=![];}!_0x3cd261?process[_0x3db54b(0x1ac)](0x1):process['exit'](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1b7364=_0x100f;function _0x100f(_0x23fe13,_0x3d2252){const _0x413a8c=_0x413a();return _0x100f=function(_0x100ff5,_0x3970f9){_0x100ff5=_0x100ff5-0x1f4;let _0x55d1d3=_0x413a8c[_0x100ff5];return _0x55d1d3;},_0x100f(_0x23fe13,_0x3d2252);}(function(_0x5693b5,_0x442063){const _0x219596=_0x100f,_0x11d285=_0x5693b5();while(!![]){try{const _0x10247b=-parseInt(_0x219596(0x205))/0x1+-parseInt(_0x219596(0x209))/0x2*(-parseInt(_0x219596(0x219))/0x3)+-parseInt(_0x219596(0x1f6))/0x4+parseInt(_0x219596(0x211))/0x5*(-parseInt(_0x219596(0x206))/0x6)+parseInt(_0x219596(0x20b))/0x7*(-parseInt(_0x219596(0x203))/0x8)+-parseInt(_0x219596(0x216))/0x9+parseInt(_0x219596(0x1fb))/0xa;if(_0x10247b===_0x442063)break;else _0x11d285['push'](_0x11d285['shift']());}catch(_0x2f34ed){_0x11d285['push'](_0x11d285['shift']());}}}(_0x413a,0xe85b6));Object[_0x1b7364(0x217)](exports,_0x1b7364(0x215),{'value':!![]}),exports[_0x1b7364(0x1f4)]=void 0x0;const minimist=require(_0x1b7364(0x20e)),semver_1=require('semver'),Log_1=require(_0x1b7364(0x20d)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x1b7364(0x1fa)),build_1=require(_0x1b7364(0x20a)),version_1=require(_0x1b7364(0x210)),fetch_1=require(_0x1b7364(0x1fc));class Cli{async['run'](_0x127bd2){const _0x52ade3=_0x1b7364;if((0x0,semver_1['major'])(process[_0x52ade3(0x204)][_0x52ade3(0x1f7)])<0xe)throw new Error(_0x52ade3(0x20f)+process['versions'][_0x52ade3(0x1f7)]+'.'+_0x52ade3(0x214));FetchUtils_1_1['fetchUtils'][_0x52ade3(0x1f5)](fetch_1[_0x52ade3(0x207)]),FetchUtils_1_1['fetchUtils'][_0x52ade3(0x1ff)](fetch_1[_0x52ade3(0x1f8)]),FetchUtils_1_1['fetchUtils']['setDecompressResponseBuffer'](fetch_1[_0x52ade3(0x212)]);const _0x72cc08=minimist(_0x127bd2);let _0x113ed7=undefined;if(_0x72cc08['_']['length']===0x0){if(_0x72cc08[_0x52ade3(0x20c)])_0x113ed7=_0x52ade3(0x20c);else _0x72cc08['help']&&(_0x113ed7='help');}else _0x113ed7=_0x72cc08['_'][0x0];!_0x113ed7&&(_0x113ed7='help');switch(_0x113ed7){case _0x52ade3(0x201):case'h':return await(0x0,help_1['help'])(_0x72cc08);case'build':return await(0x0,build_1[_0x52ade3(0x200)])(_0x72cc08);case _0x52ade3(0x202):return await(0x0,build_1[_0x52ade3(0x1fe)])(_0x72cc08);case _0x52ade3(0x1f9):return await(0x0,build_1[_0x52ade3(0x1f9)])(_0x72cc08);case'version':{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x113ed7+_0x52ade3(0x1fd));}}}function _0x413a(){const _0x2eb79a=['2024735gOLJkh','decompressResponseBuffer','ConsoleLog','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','__esModule','12952935iUDrzc','defineProperty','log','643773orQpIT','Cli','setFetch','1322628meGOWn','node','downloadFile','run','./cmds/help','51500360YJjOkm','./utils/fetch','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','store','setDownloadFile','start','help','publish','1032ndokFx','versions','1867070BHuNfK','6ZvRKHT','fetch','webspatial-builder','2hPZLRB','./cmds/build','20132cFDUyR','version','../lib/utils/Log','minimist','Current\x20Node.js\x20version\x20is\x20','./cmds/version'];_0x413a=function(){return _0x2eb79a;};return _0x413a();}exports[_0x1b7364(0x1f4)]=Cli,Cli[_0x1b7364(0x218)]=new Log_1[(_0x1b7364(0x213))](_0x1b7364(0x208));
1
+ 'use strict';const _0x537e49=_0x40cb;function _0x3e26(){const _0x286f56=['node','20yjwJDL','./cmds/build','__esModule','start','setDecompressResponseBuffer','run','fetchUtils','downloadFile','semver','../lib/utils/Log','store','22OSZIBK','length','fetch','10251SJbUHt','242578mPFSVD','setDownloadFile','326052rvDYjL','build','ConsoleLog','5213635pdmliP','./utils/FetchUtils-1','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','defineProperty','3LuNTOU','./cmds/version','974800JhMinY','version','9070zPVlju','versions','major','16dOFvmU','publish','help','setFetch','./cmds/help','Cli','515898EeGWpP','webspatial-builder','1586102CzezGl','./utils/fetch'];_0x3e26=function(){return _0x286f56;};return _0x3e26();}(function(_0x319953,_0x5bbc48){const _0x108470=_0x40cb,_0x2aeca6=_0x319953();while(!![]){try{const _0x5ef192=-parseInt(_0x108470(0x138))/0x1+-parseInt(_0x108470(0x126))/0x2*(-parseInt(_0x108470(0x141))/0x3)+parseInt(_0x108470(0x143))/0x4+-parseInt(_0x108470(0x129))/0x5*(parseInt(_0x108470(0x14e))/0x6)+parseInt(_0x108470(0x13d))/0x7*(parseInt(_0x108470(0x148))/0x8)+parseInt(_0x108470(0x137))/0x9*(-parseInt(_0x108470(0x145))/0xa)+-parseInt(_0x108470(0x134))/0xb*(-parseInt(_0x108470(0x13a))/0xc);if(_0x5ef192===_0x5bbc48)break;else _0x2aeca6['push'](_0x2aeca6['shift']());}catch(_0x554c5e){_0x2aeca6['push'](_0x2aeca6['shift']());}}}(_0x3e26,0xeaa60));Object[_0x537e49(0x140)](exports,_0x537e49(0x12b),{'value':!![]}),exports['Cli']=void 0x0;function _0x40cb(_0x142bec,_0x5924d0){const _0x3e2608=_0x3e26();return _0x40cb=function(_0x40cbe3,_0x206884){_0x40cbe3=_0x40cbe3-0x126;let _0x39fd0b=_0x3e2608[_0x40cbe3];return _0x39fd0b;},_0x40cb(_0x142bec,_0x5924d0);}const minimist=require('minimist'),semver_1=require(_0x537e49(0x131)),Log_1=require(_0x537e49(0x132)),FetchUtils_1_1=require(_0x537e49(0x13e)),help_1=require(_0x537e49(0x14c)),build_1=require(_0x537e49(0x12a)),version_1=require(_0x537e49(0x142)),fetch_1=require(_0x537e49(0x127));class Cli{async[_0x537e49(0x12e)](_0x1fc8ef){const _0x50c691=_0x537e49;if((0x0,semver_1[_0x50c691(0x147)])(process[_0x50c691(0x146)][_0x50c691(0x128)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0x50c691(0x128)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1['fetchUtils'][_0x50c691(0x14b)](fetch_1[_0x50c691(0x136)]),FetchUtils_1_1[_0x50c691(0x12f)][_0x50c691(0x139)](fetch_1[_0x50c691(0x130)]),FetchUtils_1_1['fetchUtils'][_0x50c691(0x12d)](fetch_1['decompressResponseBuffer']);const _0x3984b7=minimist(_0x1fc8ef);let _0x41d7a0=undefined;if(_0x3984b7['_'][_0x50c691(0x135)]===0x0){if(_0x3984b7[_0x50c691(0x144)])_0x41d7a0=_0x50c691(0x144);else _0x3984b7[_0x50c691(0x14a)]&&(_0x41d7a0='help');}else _0x41d7a0=_0x3984b7['_'][0x0];!_0x41d7a0&&(_0x41d7a0=_0x50c691(0x14a));switch(_0x41d7a0){case'help':case'h':return await(0x0,help_1[_0x50c691(0x14a)])(_0x3984b7);case _0x50c691(0x13b):return await(0x0,build_1[_0x50c691(0x12c)])(_0x3984b7);case _0x50c691(0x149):return await(0x0,build_1[_0x50c691(0x133)])(_0x3984b7);case _0x50c691(0x12e):return await(0x0,build_1['run'])(_0x3984b7);case _0x50c691(0x144):{return await(0x0,version_1[_0x50c691(0x144)])();}default:throw new Error('\x22'+_0x41d7a0+_0x50c691(0x13f));}}}exports[_0x537e49(0x14d)]=Cli,Cli['log']=new Log_1[(_0x537e49(0x13c))](_0x537e49(0x14f));
@@ -1 +1 @@
1
- 'use strict';function _0x11bf(_0x351968,_0x4b7e42){const _0x32aa7a=_0x32aa();return _0x11bf=function(_0x11bfe9,_0x5c39d7){_0x11bfe9=_0x11bfe9-0xa4;let _0x4aa96d=_0x32aa7a[_0x11bfe9];return _0x4aa96d;},_0x11bf(_0x351968,_0x4b7e42);}const _0x511806=_0x11bf;(function(_0x3dc6bb,_0x5736fe){const _0x4a5d76=_0x11bf,_0x5c2c05=_0x3dc6bb();while(!![]){try{const _0x45e8d3=parseInt(_0x4a5d76(0xb5))/0x1*(parseInt(_0x4a5d76(0xb0))/0x2)+-parseInt(_0x4a5d76(0xc7))/0x3*(-parseInt(_0x4a5d76(0xaf))/0x4)+parseInt(_0x4a5d76(0xa6))/0x5*(-parseInt(_0x4a5d76(0xaa))/0x6)+parseInt(_0x4a5d76(0xb2))/0x7+parseInt(_0x4a5d76(0xab))/0x8*(-parseInt(_0x4a5d76(0xc3))/0x9)+parseInt(_0x4a5d76(0xba))/0xa+-parseInt(_0x4a5d76(0xa7))/0xb;if(_0x45e8d3===_0x5736fe)break;else _0x5c2c05['push'](_0x5c2c05['shift']());}catch(_0x5bd9c5){_0x5c2c05['push'](_0x5c2c05['shift']());}}}(_0x32aa,0x8fd35));Object[_0x511806(0xc0)](exports,_0x511806(0xb1),{'value':!![]}),exports[_0x511806(0xbd)]=start,exports[_0x511806(0xac)]=store,exports[_0x511806(0xa5)]=run;const pwa_1=require(_0x511806(0xb3)),resource_1=require('../resource'),xcode_1=require('../xcode'),check_1=require(_0x511806(0xb6));async function start(_0x37bc40,_0x57890d=![]){const _0x3d0221=_0x511806;var _0x37b76b,_0x5ca178;(0x0,check_1[_0x3d0221(0xb7)])(_0x37bc40,_0x57890d),resource_1[_0x3d0221(0xb4)][_0x3d0221(0xc5)](_0x37bc40[_0x3d0221(0xa8)]),console[_0x3d0221(0xa9)]('-------------------\x20build\x20start\x20-------------------');let _0x5e87db=await pwa_1[_0x3d0221(0xbb)][_0x3d0221(0xbc)](_0x37bc40,_0x57890d);!_0x5e87db['fromNet']&&(await resource_1[_0x3d0221(0xb4)][_0x3d0221(0xc2)]((_0x37b76b=_0x37bc40['project'])!==null&&_0x37b76b!==void 0x0?_0x37b76b:_0x3d0221(0xbf)),console[_0x3d0221(0xa9)]('move\x20web\x20project:\x20ok'));let _0x17e855;return((_0x5ca178=_0x5e87db[_0x3d0221(0xc6)]['icons'])===null||_0x5ca178===void 0x0?void 0x0:_0x5ca178[_0x3d0221(0xca)])&&_0x57890d&&(_0x17e855=await resource_1[_0x3d0221(0xb4)][_0x3d0221(0xc8)](_0x5e87db)),console[_0x3d0221(0xa9)]('generate\x20icon:\x20ok'),await xcode_1['XcodeManager']['parseProject']({'icon':_0x17e855,'manifestInfo':_0x5e87db,'teamId':_0x37bc40[_0x3d0221(0xcb)],'version':_0x37bc40[_0x3d0221(0xc4)],'buildType':_0x37bc40['buildType'],'export':_0x37bc40['export']},_0x57890d),console[_0x3d0221(0xa9)]('-------------------\x20build\x20end\x20-------------------'),_0x5e87db;}async function store(_0x2f6816){const _0x1f3dc7=_0x511806;resource_1[_0x1f3dc7(0xb4)][_0x1f3dc7(0xc5)](_0x2f6816['platform']),(0x0,check_1[_0x1f3dc7(0xb9)])(_0x2f6816);let _0x24a8f4={'name':'WebSpatialTest'};_0x2f6816[_0x1f3dc7(0xae)]=_0x1f3dc7(0xa4);if(_0x2f6816[_0x1f3dc7(0xad)])_0x24a8f4[_0x1f3dc7(0xad)]=_0x2f6816[_0x1f3dc7(0xad)];else{const _0xec8427=await start(_0x2f6816);if(!_0xec8427)return![];_0x24a8f4['name']=_0xec8427[_0x1f3dc7(0xc6)]['name'];}return await xcode_1[_0x1f3dc7(0xc1)][_0x1f3dc7(0xbe)](_0x2f6816,_0x24a8f4),!![];}function _0x32aa(){const _0x6fe5f5=['947EmJrdv','./check','checkBuildParams','WebSpatialTest','checkStoreParams','6025330dIyZsI','PWAGenerator','generator','start','upload','dist','defineProperty','XcodeManager','moveProjectFrom','6894162TZBnfw','version','checkPlatformPath','json','267zWRoTM','generateIcon','runWithSimulator','length','teamId','app-store-connect','run','12405RmDIUI','8605289gQFfax','platform','log','2010oINxlD','8DNggWo','store','name','buildType','21776faxnMB','2246rBGvsd','__esModule','5726217gYwJZG','../pwa','ResourceManager'];_0x32aa=function(){return _0x6fe5f5;};return _0x32aa();}async function run(_0x5e0ada){const _0x5d225d=_0x511806;let _0x97028c={'name':_0x5d225d(0xb8),'id':''};const _0xeddc19=await start(_0x5e0ada,!![]);if(!_0xeddc19)return![];return _0x97028c[_0x5d225d(0xad)]=_0xeddc19[_0x5d225d(0xc6)]['name'],_0x97028c['id']=_0xeddc19[_0x5d225d(0xc6)]['id'],await xcode_1[_0x5d225d(0xc1)][_0x5d225d(0xc9)](_0x97028c),!![];}
1
+ 'use strict';function _0x8090(){const _0x4b42dd=['-------------------\x20build\x20start\x20-------------------','generator','18bOpMpa','platform','icons','WebSpatialTest','dist','954pTsJdN','52lqVhBy','./check','log','app-store-connect','runWithSimulator','2718260zHYGRX','checkStoreParams','move\x20web\x20project:\x20ok','19432578vqNuRO','12561oeayrf','export','3736344hAtQjN','json','19525dluNed','moveProjectFrom','upload','ResourceManager','generate\x20icon:\x20ok','length','run','start','XcodeManager','3583671CNsjSh','checkPlatformPath','11588fwzdDU','__esModule','51hEDdxe','buildType','name','store','teamId','defineProperty'];_0x8090=function(){return _0x4b42dd;};return _0x8090();}const _0x41cd33=_0x4792;(function(_0x2c322c,_0x23c62b){const _0x148b3e=_0x4792,_0x368db7=_0x2c322c();while(!![]){try{const _0x535473=parseInt(_0x148b3e(0x128))/0x1*(-parseInt(_0x148b3e(0x126))/0x2)+-parseInt(_0x148b3e(0x13f))/0x3*(-parseInt(_0x148b3e(0x136))/0x4)+-parseInt(_0x148b3e(0x143))/0x5*(parseInt(_0x148b3e(0x135))/0x6)+parseInt(_0x148b3e(0x124))/0x7+-parseInt(_0x148b3e(0x141))/0x8+parseInt(_0x148b3e(0x130))/0x9*(-parseInt(_0x148b3e(0x13b))/0xa)+parseInt(_0x148b3e(0x13e))/0xb;if(_0x535473===_0x23c62b)break;else _0x368db7['push'](_0x368db7['shift']());}catch(_0x5f2d96){_0x368db7['push'](_0x368db7['shift']());}}}(_0x8090,0x6318a));Object[_0x41cd33(0x12d)](exports,_0x41cd33(0x127),{'value':!![]}),exports[_0x41cd33(0x122)]=start,exports[_0x41cd33(0x12b)]=store,exports[_0x41cd33(0x121)]=run;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require('../xcode'),check_1=require(_0x41cd33(0x137));async function start(_0xfb8011,_0x170b25=![]){const _0x4702d3=_0x41cd33;var _0x163d38,_0x389ead;(0x0,check_1['checkBuildParams'])(_0xfb8011,_0x170b25),resource_1[_0x4702d3(0x146)][_0x4702d3(0x125)](_0xfb8011[_0x4702d3(0x131)]),console['log'](_0x4702d3(0x12e));let _0x478d75=await pwa_1['PWAGenerator'][_0x4702d3(0x12f)](_0xfb8011,_0x170b25);!_0x478d75['fromNet']&&(await resource_1[_0x4702d3(0x146)][_0x4702d3(0x144)]((_0x163d38=_0xfb8011['project'])!==null&&_0x163d38!==void 0x0?_0x163d38:_0x4702d3(0x134)),console['log'](_0x4702d3(0x13d)));let _0x11ba66;return((_0x389ead=_0x478d75[_0x4702d3(0x142)][_0x4702d3(0x132)])===null||_0x389ead===void 0x0?void 0x0:_0x389ead[_0x4702d3(0x120)])&&_0x170b25&&(_0x11ba66=await resource_1[_0x4702d3(0x146)]['generateIcon'](_0x478d75)),console[_0x4702d3(0x138)](_0x4702d3(0x147)),await xcode_1['XcodeManager']['parseProject']({'icon':_0x11ba66,'manifestInfo':_0x478d75,'teamId':_0xfb8011[_0x4702d3(0x12c)],'version':_0xfb8011['version'],'buildType':_0xfb8011[_0x4702d3(0x129)],'export':_0xfb8011[_0x4702d3(0x140)]},_0x170b25),console['log']('-------------------\x20build\x20end\x20-------------------'),_0x478d75;}async function store(_0x3b747f){const _0x552fe6=_0x41cd33;resource_1['ResourceManager']['checkPlatformPath'](_0x3b747f[_0x552fe6(0x131)]),(0x0,check_1[_0x552fe6(0x13c)])(_0x3b747f);let _0x262b4f={'name':'WebSpatialTest'};_0x3b747f['buildType']=_0x552fe6(0x139);if(_0x3b747f[_0x552fe6(0x12a)])_0x262b4f[_0x552fe6(0x12a)]=_0x3b747f[_0x552fe6(0x12a)];else{const _0xb3bfd0=await start(_0x3b747f);if(!_0xb3bfd0)return![];_0x262b4f[_0x552fe6(0x12a)]=_0xb3bfd0[_0x552fe6(0x142)][_0x552fe6(0x12a)];}return await xcode_1[_0x552fe6(0x123)][_0x552fe6(0x145)](_0x3b747f,_0x262b4f),!![];}function _0x4792(_0x56f97e,_0x513437){const _0x8090d5=_0x8090();return _0x4792=function(_0x479266,_0x51f80d){_0x479266=_0x479266-0x120;let _0x69edf8=_0x8090d5[_0x479266];return _0x69edf8;},_0x4792(_0x56f97e,_0x513437);}async function run(_0x2e6941){const _0x1d6558=_0x41cd33;let _0x1096bc={'name':_0x1d6558(0x133),'id':''};const _0x2d3516=await start(_0x2e6941,!![]);if(!_0x2d3516)return![];return _0x1096bc['name']=_0x2d3516['json'][_0x1d6558(0x12a)],_0x1096bc['id']=_0x2d3516[_0x1d6558(0x142)]['id'],await xcode_1[_0x1d6558(0x123)][_0x1d6558(0x13a)](_0x1096bc),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x30df(){const _0x17431a=['../pwa/validate','5LQOhGM','513864XrklXE','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','7jOUvZg','base','345248LaagpZ','33936MqNajI','840990NqgNry','8pcIihm','search','manifest','--u\x20and\x20--p\x20is\x20required','pop','436140kJQjze','version\x20is\x20required','--teamId\x20is\x20required','__esModule','validateURL','split','hash','388173ghcYww','teamId','5507710wUXJzp'];_0x30df=function(){return _0x17431a;};return _0x30df();}const _0x313147=_0x49ea;(function(_0x2c2e17,_0x5dfe5b){const _0x126a69=_0x49ea,_0x47759=_0x2c2e17();while(!![]){try{const _0x4e6a57=parseInt(_0x126a69(0x187))/0x1+parseInt(_0x126a69(0x17f))/0x2+parseInt(_0x126a69(0x18e))/0x3*(parseInt(_0x126a69(0x182))/0x4)+parseInt(_0x126a69(0x17a))/0x5*(-parseInt(_0x126a69(0x181))/0x6)+parseInt(_0x126a69(0x17d))/0x7*(-parseInt(_0x126a69(0x180))/0x8)+parseInt(_0x126a69(0x17b))/0x9+-parseInt(_0x126a69(0x178))/0xa;if(_0x4e6a57===_0x5dfe5b)break;else _0x47759['push'](_0x47759['shift']());}catch(_0xeee20a){_0x47759['push'](_0x47759['shift']());}}}(_0x30df,0x38058));Object['defineProperty'](exports,_0x313147(0x18a),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;const validate_1=require(_0x313147(0x179));function checkBuildParams(_0x4bc0e4,_0x557c19=![]){const _0x11ecd6=_0x313147;if(_0x4bc0e4[_0x11ecd6(0x184)]&&_0x4bc0e4['manifest-url'])throw new Error('--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time');if(!_0x4bc0e4[_0x11ecd6(0x177)]&&!_0x557c19)throw new Error(_0x11ecd6(0x189));if(_0x4bc0e4[_0x11ecd6(0x17e)]){if((0x0,validate_1[_0x11ecd6(0x18b)])(_0x4bc0e4[_0x11ecd6(0x17e)]))try{const _0x43762c=new URL(_0x4bc0e4[_0x11ecd6(0x17e)]);if(_0x43762c[_0x11ecd6(0x183)]||_0x43762c[_0x11ecd6(0x18d)])throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}catch(_0x41b886){throw new Error(_0x11ecd6(0x17c));}else{const _0x162340=/(\?.*|\.\w+|#.*)$/,_0x4156c1=_0x4bc0e4[_0x11ecd6(0x17e)][_0x11ecd6(0x18c)]('/')[_0x11ecd6(0x186)]()||'';if(_0x162340['test'](_0x4156c1))throw new Error(_0x11ecd6(0x17c));}}}function _0x49ea(_0x477d9d,_0x5d6074){const _0x30dfef=_0x30df();return _0x49ea=function(_0x49eaed,_0x379724){_0x49eaed=_0x49eaed-0x177;let _0xc761b=_0x30dfef[_0x49eaed];return _0xc761b;},_0x49ea(_0x477d9d,_0x5d6074);}function checkStoreParams(_0x4dcd44){const _0x160db3=_0x313147;if(!(_0x4dcd44['u']&&_0x4dcd44['p']))throw new Error(_0x160db3(0x185));if(!_0x4dcd44['version'])throw new Error(_0x160db3(0x188));}
1
+ 'use strict';const _0x37b6eb=_0x42e4;(function(_0x3b4c11,_0x3cb797){const _0x13465d=_0x42e4,_0x3baa35=_0x3b4c11();while(!![]){try{const _0x4a5bc5=parseInt(_0x13465d(0x103))/0x1*(parseInt(_0x13465d(0xef))/0x2)+-parseInt(_0x13465d(0xee))/0x3*(-parseInt(_0x13465d(0xfd))/0x4)+parseInt(_0x13465d(0xec))/0x5+parseInt(_0x13465d(0xf8))/0x6+parseInt(_0x13465d(0xfc))/0x7+parseInt(_0x13465d(0xf3))/0x8*(parseInt(_0x13465d(0xed))/0x9)+-parseInt(_0x13465d(0xf4))/0xa*(parseInt(_0x13465d(0xf0))/0xb);if(_0x4a5bc5===_0x3cb797)break;else _0x3baa35['push'](_0x3baa35['shift']());}catch(_0x207662){_0x3baa35['push'](_0x3baa35['shift']());}}}(_0xcc82,0x47ef0));function _0x42e4(_0x2f9620,_0x539237){const _0xcc820=_0xcc82();return _0x42e4=function(_0x42e414,_0x430960){_0x42e414=_0x42e414-0xeb;let _0x5bd21b=_0xcc820[_0x42e414];return _0x5bd21b;},_0x42e4(_0x2f9620,_0x539237);}function _0xcc82(){const _0x17cce3=['validateURL','--teamId\x20is\x20required','2081408ULBXqM','20fINskY','base','hash','manifest-url','--u\x20and\x20--p\x20is\x20required','checkBuildParams','1fQxVDp','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','defineProperty','search','98500BcrTNS','4428279VkQOcg','99531lrMhDg','1048738BsmlHp','407kvbpsa','version','manifest','8wpcJEq','475250UZhtGg','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','__esModule','test','3322416udeBnD','version\x20is\x20required'];_0xcc82=function(){return _0x17cce3;};return _0xcc82();}Object[_0x37b6eb(0x105)](exports,_0x37b6eb(0xf6),{'value':!![]}),exports[_0x37b6eb(0x102)]=checkBuildParams,exports['checkStoreParams']=checkStoreParams;const validate_1=require('../pwa/validate');function checkBuildParams(_0x447032,_0x2fea26=![]){const _0x591719=_0x37b6eb;if(_0x447032[_0x591719(0xf2)]&&_0x447032[_0x591719(0x100)])throw new Error(_0x591719(0x104));if(!_0x447032['teamId']&&!_0x2fea26)throw new Error(_0x591719(0xfb));if(_0x447032[_0x591719(0xfe)]){if((0x0,validate_1[_0x591719(0xfa)])(_0x447032[_0x591719(0xfe)]))try{const _0x2b0d82=new URL(_0x447032[_0x591719(0xfe)]);if(_0x2b0d82[_0x591719(0xeb)]||_0x2b0d82[_0x591719(0xff)])throw new Error(_0x591719(0xf5));}catch(_0x35a472){throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}else{const _0x29982e=/(\?.*|\.\w+|#.*)$/,_0x55dd98=_0x447032[_0x591719(0xfe)]['split']('/')['pop']()||'';if(_0x29982e[_0x591719(0xf7)](_0x55dd98))throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}}}function checkStoreParams(_0x1eb950){const _0xbfa564=_0x37b6eb;if(!(_0x1eb950['u']&&_0x1eb950['p']))throw new Error(_0xbfa564(0x101));if(!_0x1eb950[_0xbfa564(0xf1)])throw new Error(_0xbfa564(0xf9));}
@@ -1 +1 @@
1
- 'use strict';const _0x240e3c=_0x2c7a;(function(_0x3234ba,_0x2dfc99){const _0x17dea=_0x2c7a,_0x58bcb4=_0x3234ba();while(!![]){try{const _0x592f82=-parseInt(_0x17dea(0x1a2))/0x1*(parseInt(_0x17dea(0x1a0))/0x2)+-parseInt(_0x17dea(0x1b4))/0x3*(-parseInt(_0x17dea(0x1b0))/0x4)+parseInt(_0x17dea(0x1a8))/0x5*(parseInt(_0x17dea(0x1b7))/0x6)+-parseInt(_0x17dea(0x1b2))/0x7+parseInt(_0x17dea(0x1ac))/0x8+-parseInt(_0x17dea(0x1bb))/0x9+parseInt(_0x17dea(0x1bf))/0xa*(parseInt(_0x17dea(0x1bc))/0xb);if(_0x592f82===_0x2dfc99)break;else _0x58bcb4['push'](_0x58bcb4['shift']());}catch(_0x21e078){_0x58bcb4['push'](_0x58bcb4['shift']());}}}(_0xbe44,0xcf158));function _0x2c7a(_0x24349a,_0x444d36){const _0xbe443b=_0xbe44();return _0x2c7a=function(_0x2c7ae6,_0x41fa99){_0x2c7ae6=_0x2c7ae6-0x1a0;let _0xaa714e=_0xbe443b[_0x2c7ae6];return _0xaa714e;},_0x2c7a(_0x24349a,_0x444d36);}Object[_0x240e3c(0x1ba)](exports,_0x240e3c(0x1ae),{'value':!![]}),exports[_0x240e3c(0x1a7)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x240e3c(0x1be),[_0x240e3c(0x1c0),'','',_0x240e3c(0x1ab),'build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+_0x240e3c(0x1b1),_0x240e3c(0x1a9),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x240e3c(0x1a5)]('\x0a')],[_0x240e3c(0x1a4),[_0x240e3c(0x1b5),'','',_0x240e3c(0x1af),'','',_0x240e3c(0x1b8)][_0x240e3c(0x1a5)]('\x0a')],[_0x240e3c(0x1aa),['Usage:','','',_0x240e3c(0x1a3),'','',_0x240e3c(0x1b6)][_0x240e3c(0x1a5)]('\x0a')],[_0x240e3c(0x1a6),['Usage:','','',_0x240e3c(0x1bd),'','',_0x240e3c(0x1ad),'','',_0x240e3c(0x1b3)][_0x240e3c(0x1a5)]('\x0a')]]);function _0xbe44(){const _0x20dda8=['5898075RsktzF','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','dev','help\x20................\x20shows\x20this\x20menu','738920ZYKJnU','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','24RRweri','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','31087bXdoLG','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','387579anILIy','Usage:','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','6GvaUrL','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','get','defineProperty','12081150gRzYmt','385qkwage','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','main','299770pCCocQ','webspatial\x20[command]\x20<options>','901326QcVnNs','ConsoleLog','2oZoPVD','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','build','join','publish','help'];_0xbe44=function(){return _0x20dda8;};return _0xbe44();}async function help(_0xe4ef32,_0x4856c9=new Log_1[(_0x240e3c(0x1a1))]('help')){const _0x3642a0=_0x240e3c,_0x22b3d5=_0xe4ef32['_'][0x1],_0x385bfc=HELP_MESSAGES[_0x3642a0(0x1b9)](_0x22b3d5)||HELP_MESSAGES[_0x3642a0(0x1b9)](_0x3642a0(0x1be));return _0x4856c9['info'](_0x385bfc),!![];}
1
+ 'use strict';const _0xae9965=_0x2ec9;(function(_0x2d7ca3,_0x2b33e8){const _0x2da423=_0x2ec9,_0x2e3567=_0x2d7ca3();while(!![]){try{const _0x5ebc94=-parseInt(_0x2da423(0x80))/0x1+-parseInt(_0x2da423(0x76))/0x2*(-parseInt(_0x2da423(0x7b))/0x3)+parseInt(_0x2da423(0x73))/0x4+-parseInt(_0x2da423(0x6f))/0x5+-parseInt(_0x2da423(0x77))/0x6*(parseInt(_0x2da423(0x7f))/0x7)+-parseInt(_0x2da423(0x81))/0x8+parseInt(_0x2da423(0x74))/0x9;if(_0x5ebc94===_0x2b33e8)break;else _0x2e3567['push'](_0x2e3567['shift']());}catch(_0x40a6d2){_0x2e3567['push'](_0x2e3567['shift']());}}}(_0x4414,0x71af3));function _0x2ec9(_0x35bf10,_0x42f248){const _0x44142a=_0x4414();return _0x2ec9=function(_0x2ec9a1,_0x4b18ae){_0x2ec9a1=_0x2ec9a1-0x6b;let _0x2a8981=_0x44142a[_0x2ec9a1];return _0x2a8981;},_0x2ec9(_0x35bf10,_0x42f248);}function _0x4414(){const _0x1f9a80=['99392INsbCq','get','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','build','__esModule','ConsoleLog','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','dev','help','1774570FBVvmp','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','help\x20................\x20shows\x20this\x20menu','webspatial\x20[command]\x20<options>','2954200iyiRWX','6050970fEDzfy','info','86HtwwMA','6UBxIGy','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','join','main','17718mEEhDt','Usage:','defineProperty','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','4609577osweyi','173338mqLxBz'];_0x4414=function(){return _0x1f9a80;};return _0x4414();}Object[_0xae9965(0x7d)](exports,_0xae9965(0x87),{'value':!![]}),exports[_0xae9965(0x6e)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0xae9965(0x7a),[_0xae9965(0x72),'','',_0xae9965(0x71),_0xae9965(0x83)+_0xae9965(0x85),'run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator',_0xae9965(0x84)][_0xae9965(0x79)]('\x0a')],[_0xae9965(0x86),['Usage:','','',_0xae9965(0x7e),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]']['join']('\x0a')],[_0xae9965(0x6d),[_0xae9965(0x7c),'','',_0xae9965(0x70),'','',_0xae9965(0x78)][_0xae9965(0x79)]('\x0a')],['publish',[_0xae9965(0x7c),'','',_0xae9965(0x6b),'','',_0xae9965(0x6c),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>']['join']('\x0a')]]);async function help(_0x7dfcc0,_0x35deff=new Log_1[(_0xae9965(0x88))](_0xae9965(0x6e))){const _0x2f72e5=_0xae9965,_0xd784f3=_0x7dfcc0['_'][0x1],_0x4cde92=HELP_MESSAGES['get'](_0xd784f3)||HELP_MESSAGES[_0x2f72e5(0x82)](_0x2f72e5(0x7a));return _0x35deff[_0x2f72e5(0x75)](_0x4cde92),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x58b42f=_0x224d;(function(_0x4085ed,_0x157163){const _0x56a633=_0x224d,_0xef7bd9=_0x4085ed();while(!![]){try{const _0x55899d=parseInt(_0x56a633(0xff))/0x1+-parseInt(_0x56a633(0xef))/0x2+parseInt(_0x56a633(0xf2))/0x3*(parseInt(_0x56a633(0xf8))/0x4)+-parseInt(_0x56a633(0x102))/0x5+parseInt(_0x56a633(0x100))/0x6*(parseInt(_0x56a633(0xf5))/0x7)+parseInt(_0x56a633(0xf9))/0x8*(-parseInt(_0x56a633(0xfa))/0x9)+-parseInt(_0x56a633(0xfb))/0xa;if(_0x55899d===_0x157163)break;else _0xef7bd9['push'](_0xef7bd9['shift']());}catch(_0xc5e2c5){_0xef7bd9['push'](_0xef7bd9['shift']());}}}(_0x3642,0xeadd5));function _0x224d(_0xeec2c8,_0x1b09da){const _0x36426c=_0x3642();return _0x224d=function(_0x224d30,_0xb3be2c){_0x224d30=_0x224d30-0xef;let _0x16fb7b=_0x36426c[_0x224d30];return _0x16fb7b;},_0x224d(_0xeec2c8,_0x1b09da);}function _0x3642(){const _0x4cba78=['promises','24766nAuuWv','__esModule','defineProperty','4475940uVODAT','216fLHHmC','178533zUvmqP','1707190wiGGJf','version','../utils/Log','ConsoleLog','1590783vngPSP','1182JYBokY','info','302950IgWDyu','path','3355682wYkNkw','join','toString','3qiCwFn','../../../package.json'];_0x3642=function(){return _0x4cba78;};return _0x3642();}Object[_0x58b42f(0xf7)](exports,_0x58b42f(0xf6),{'value':!![]}),exports[_0x58b42f(0xfc)]=version;const fs=require('fs'),path=require(_0x58b42f(0x103)),Log_1=require(_0x58b42f(0xfd));async function version(_0x631a93=new Log_1[(_0x58b42f(0xfe))](_0x58b42f(0xfc))){const _0x458a84=_0x58b42f,_0x4e5a7f=path[_0x458a84(0xf0)](__dirname,_0x458a84(0xf3)),_0x2f93fd=await(await fs[_0x458a84(0xf4)]['readFile'](_0x4e5a7f))[_0x458a84(0xf1)](),_0x57a06d=JSON['parse'](_0x2f93fd);return _0x631a93[_0x458a84(0x101)](_0x57a06d[_0x458a84(0xfc)]),!![];}
1
+ 'use strict';const _0x384bd1=_0x32b4;(function(_0xaeb5fd,_0x4aff30){const _0x5ac0fa=_0x32b4,_0x2bbf52=_0xaeb5fd();while(!![]){try{const _0x530041=-parseInt(_0x5ac0fa(0xb7))/0x1*(-parseInt(_0x5ac0fa(0xb3))/0x2)+parseInt(_0x5ac0fa(0xa7))/0x3*(parseInt(_0x5ac0fa(0xbc))/0x4)+-parseInt(_0x5ac0fa(0xae))/0x5*(parseInt(_0x5ac0fa(0xba))/0x6)+-parseInt(_0x5ac0fa(0xb9))/0x7*(parseInt(_0x5ac0fa(0xb1))/0x8)+parseInt(_0x5ac0fa(0xac))/0x9*(-parseInt(_0x5ac0fa(0xab))/0xa)+-parseInt(_0x5ac0fa(0xa9))/0xb*(-parseInt(_0x5ac0fa(0xb8))/0xc)+parseInt(_0x5ac0fa(0xb2))/0xd;if(_0x530041===_0x4aff30)break;else _0x2bbf52['push'](_0x2bbf52['shift']());}catch(_0x27d3f7){_0x2bbf52['push'](_0x2bbf52['shift']());}}}(_0x3146,0x3fcd8));function _0x32b4(_0x5eb3d0,_0x482b8d){const _0x3146fb=_0x3146();return _0x32b4=function(_0x32b4c3,_0x5343ed){_0x32b4c3=_0x32b4c3-0xa6;let _0x476594=_0x3146fb[_0x32b4c3];return _0x476594;},_0x32b4(_0x5eb3d0,_0x482b8d);}Object[_0x384bd1(0xbd)](exports,_0x384bd1(0xb4),{'value':!![]}),exports['version']=version;function _0x3146(){const _0x65810c=['2bjdcUY','__esModule','path','version','338207lWdNoC','69588fvwtPN','1138543ctpHkf','261096CPzoap','../../../package.json','820xrieQj','defineProperty','join','readFile','1611ELOpey','../utils/Log','22TQtIIo','toString','1785390JFXNrY','9twnKiD','promises','5bqQrJp','parse','info','8QoWpUJ','2419950FMxGCJ'];_0x3146=function(){return _0x65810c;};return _0x3146();}const fs=require('fs'),path=require(_0x384bd1(0xb5)),Log_1=require(_0x384bd1(0xa8));async function version(_0x1d756e=new Log_1['ConsoleLog'](_0x384bd1(0xb6))){const _0x1585fc=_0x384bd1,_0x3d342c=path[_0x1585fc(0xbe)](__dirname,_0x1585fc(0xbb)),_0x3e4b88=await(await fs[_0x1585fc(0xad)][_0x1585fc(0xa6)](_0x3d342c))[_0x1585fc(0xaa)](),_0x11dcdc=JSON[_0x1585fc(0xaf)](_0x3e4b88);return _0x1d756e[_0x1585fc(0xb0)](_0x11dcdc[_0x1585fc(0xb6)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x5b6e2c=_0x2198;(function(_0x4d555c,_0x12fc77){const _0x439706=_0x2198,_0x404675=_0x4d555c();while(!![]){try{const _0x566e5b=parseInt(_0x439706(0x1d8))/0x1+parseInt(_0x439706(0x1c6))/0x2+-parseInt(_0x439706(0x1f0))/0x3*(parseInt(_0x439706(0x1ec))/0x4)+parseInt(_0x439706(0x1f8))/0x5+-parseInt(_0x439706(0x1eb))/0x6+-parseInt(_0x439706(0x1ed))/0x7+-parseInt(_0x439706(0x1c8))/0x8;if(_0x566e5b===_0x12fc77)break;else _0x404675['push'](_0x404675['shift']());}catch(_0x4cd29b){_0x404675['push'](_0x404675['shift']());}}}(_0x5752,0x85b59));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x5b6e2c(0x1f6)]=void 0x0,exports[_0x5b6e2c(0x1d9)]=configId,exports['configStartUrl']=configStartUrl,exports[_0x5b6e2c(0x1cc)]=configScope,exports['configDisplay']=configDisplay,exports[_0x5b6e2c(0x1e7)]=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x5b6e2c(0x1fb)),validate_1=require(_0x5b6e2c(0x1e6)),path_1=require(_0x5b6e2c(0x1de));function _0x2198(_0x6ca5dd,_0x1a7dc6){const _0x575211=_0x5752();return _0x2198=function(_0x219878,_0x285e6b){_0x219878=_0x219878-0x1ac;let _0x5c9614=_0x575211[_0x219878];return _0x5c9614;},_0x2198(_0x6ca5dd,_0x1a7dc6);}function configId(_0x4c2c78,_0x1aefd1,_0x1b399d){const _0x13265d=_0x5b6e2c;if(_0x1b399d)_0x4c2c78['id']=_0x13265d(0x1dc);else{if(_0x1aefd1)_0x4c2c78['id']=_0x1aefd1;else{const _0x4e3c8e=new URL(_0x4c2c78['id']);let _0x4eaceb=_0x4e3c8e[_0x13265d(0x1c0)][_0x13265d(0x1e4)]('.')[_0x13265d(0x1fa)]();_0x4c2c78['id']=_0x4eaceb[_0x13265d(0x1e0)]('.');}}}function configStartUrl(_0x53b442,_0x520363){const _0xac1e0a=_0x5b6e2c,_0x4f06b9=(0x0,validate_1[_0xac1e0a(0x1b4)])(_0x53b442[_0xac1e0a(0x1bf)]),_0x453070=(0x0,validate_1['validateURL'])(_0x520363);let _0x24b8a5=_0x53b442['start_url'];if(!_0x4f06b9&&!_0x453070){const _0x536ff7=(0x0,path_1['resolve'])(_0xac1e0a(0x1c3)),_0x167516=(0x0,path_1[_0xac1e0a(0x1b9)])(_0x536ff7,_0x520363,_0x24b8a5),_0x342823=(0x0,path_1[_0xac1e0a(0x1f1)])(_0x167516),_0x43f13e=(0x0,path_1[_0xac1e0a(0x1e0)])(_0x536ff7,_0x342823);_0x24b8a5=(0x0,path_1[_0xac1e0a(0x1db)])(process[_0xac1e0a(0x1bb)](),_0x43f13e)[_0xac1e0a(0x1cd)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x4f06b9&&!_0x453070){const _0x37cddd=new URL(_0x24b8a5),_0x42a24c=_0x37cddd[_0xac1e0a(0x1d5)]+_0x37cddd[_0xac1e0a(0x1e5)]+_0x37cddd['hash'];let _0x3759f9=new URL(_0x520363,_0x37cddd['origin']);_0x24b8a5=new URL(_0x42a24c,_0x3759f9)[_0xac1e0a(0x1d7)];}else{if(!_0x4f06b9&&_0x453070){if(_0x24b8a5[_0xac1e0a(0x1b2)]('/')){const _0x40b335=new URL(_0x520363);_0x24b8a5=_0x40b335[_0xac1e0a(0x1af)]+(0x0,path_1[_0xac1e0a(0x1e0)])(_0x40b335['pathname'],_0x24b8a5);}else _0x24b8a5=new URL(_0x24b8a5,_0x520363)[_0xac1e0a(0x1d7)];}else{if(_0x4f06b9&&_0x453070){const _0x5d442d=new URL(_0x24b8a5),_0x50a893=new URL(_0x520363),_0x1dd9ae=_0x5d442d['pathname']+_0x5d442d['search']+_0x5d442d[_0xac1e0a(0x1c9)];_0x24b8a5=new URL(_0x1dd9ae,_0x50a893[_0xac1e0a(0x1af)]+_0x50a893['pathname'])[_0xac1e0a(0x1d7)];}}}}return _0x24b8a5;}function configScope(_0x37c93e){const _0x1be728=_0x5b6e2c;var _0x17b7d2;let _0x396043=(_0x17b7d2=_0x37c93e[_0x1be728(0x1ee)])!==null&&_0x17b7d2!==void 0x0?_0x17b7d2:'';const _0x344154=(0x0,validate_1[_0x1be728(0x1b4)])(_0x37c93e[_0x1be728(0x1bf)]),_0x4b7474=(0x0,validate_1[_0x1be728(0x1b4)])(_0x396043);if(_0x344154&&_0x4b7474){const _0x479c23=new URL(_0x396043),_0x5bad25=new URL(_0x37c93e[_0x1be728(0x1bf)]);(_0x479c23[_0x1be728(0x1c0)]!==_0x5bad25['host']||_0x37c93e[_0x1be728(0x1bf)][_0x1be728(0x1ae)](_0x396043)!==0x0)&&(_0x396043=(0x0,utils_1[_0x1be728(0x1d0)])(_0x37c93e[_0x1be728(0x1bf)]));}else{if(_0x344154&&!_0x4b7474)_0x396043=new URL(_0x396043,_0x37c93e[_0x1be728(0x1bf)])[_0x1be728(0x1d7)];else{if(!_0x344154&&_0x4b7474){const _0x2b51b1=_0x37c93e[_0x1be728(0x1bf)]['replace'](/\/[^\/]+$/,'');_0x396043=(0x0,path_1[_0x1be728(0x1f1)])(_0x2b51b1+'/');}else _0x396043=(0x0,path_1[_0x1be728(0x1e0)])((0x0,utils_1[_0x1be728(0x1d0)])(_0x37c93e[_0x1be728(0x1bf)]),_0x396043);}}_0x37c93e[_0x1be728(0x1ee)]=_0x396043;}function configDisplay(_0x2694dc){const _0x105b95=_0x5b6e2c;let _0x275448=_0x2694dc['display'];_0x275448!==_0x105b95(0x1c5)&&_0x275448!==_0x105b95(0x1f3)&&(_0x275448=_0x105b95(0x1f3));if(_0x2694dc['display_override']&&_0x2694dc['display_override']['length']>0x0){const _0x53e5c6=_0x2694dc['display_override'][_0x105b95(0x1ae)](_0x105b95(0x1c5)),_0x2ebb2d=_0x2694dc['display_override'][_0x105b95(0x1ae)](_0x105b95(0x1f3));if(_0x53e5c6>=0x0&&_0x2ebb2d>=0x0)_0x275448=_0x2ebb2d>_0x53e5c6?_0x105b95(0x1f3):_0x105b95(0x1c5);else{if(_0x53e5c6>=0x0)_0x275448=_0x105b95(0x1c5);else _0x2ebb2d>=0x0&&(_0x275448='standalone');}}_0x2694dc[_0x105b95(0x1e3)]=_0x275448;}function configMainScene(_0x40f088){const _0x3a0142=_0x5b6e2c;var _0x37963d,_0x292a2f;const _0x500f71=[_0x3a0142(0x1b1),_0x3a0142(0x1c7),_0x3a0142(0x1e1)];let _0x5da653={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x3a0142(0x1b1)};if(_0x40f088[_0x3a0142(0x1ef)]){if(typeof _0x40f088[_0x3a0142(0x1ef)]===_0x3a0142(0x1d2))_0x5da653['defaultSize'][_0x3a0142(0x1b0)]=Number((_0x37963d=_0x40f088[_0x3a0142(0x1ef)][_0x3a0142(0x1c1)])===null||_0x37963d===void 0x0?void 0x0:_0x37963d[_0x3a0142(0x1b0)])>0x0?_0x40f088[_0x3a0142(0x1ef)][_0x3a0142(0x1c1)][_0x3a0142(0x1b0)]:0x500,_0x5da653[_0x3a0142(0x1ac)][_0x3a0142(0x1cf)]=Number((_0x292a2f=_0x40f088['xr_main_scene'][_0x3a0142(0x1c1)])===null||_0x292a2f===void 0x0?void 0x0:_0x292a2f['height'])>0x0?_0x40f088[_0x3a0142(0x1ef)]['default_size']['height']:0x500,_0x5da653[_0x3a0142(0x1b5)]=_0x500f71[_0x3a0142(0x1d4)](_0x40f088[_0x3a0142(0x1ef)]['resizability'])?_0x40f088[_0x3a0142(0x1ef)][_0x3a0142(0x1b5)]:_0x3a0142(0x1b1),_0x40f088['mainScene']=_0x5da653;else typeof _0x40f088[_0x3a0142(0x1ef)]===_0x3a0142(0x1f4)&&(_0x40f088[_0x3a0142(0x1b3)]=_0x3a0142(0x1c4));}}function configDeeplink(_0x4437c8){const _0x21833e=_0x5b6e2c;if(_0x4437c8[_0x21833e(0x1d3)]&&_0x4437c8[_0x21833e(0x1d3)][_0x21833e(0x1cb)]>0x0)for(var _0x50579b=0x0;_0x50579b<_0x4437c8[_0x21833e(0x1d3)][_0x21833e(0x1cb)];_0x50579b++){const _0x1bdd9f=_0x4437c8[_0x21833e(0x1d3)][_0x50579b];if(_0x1bdd9f[_0x21833e(0x1be)]&&(exports[_0x21833e(0x1f6)][_0x21833e(0x1d4)](_0x1bdd9f['protocol'])||_0x1bdd9f[_0x21833e(0x1be)][_0x21833e(0x1ae)](_0x21833e(0x1e8))===0x0)){if(!((0x0,validate_1[_0x21833e(0x1b4)])(_0x1bdd9f[_0x21833e(0x1f9)])&&_0x1bdd9f[_0x21833e(0x1f9)][_0x21833e(0x1ae)](_0x4437c8[_0x21833e(0x1ee)])<0x0))continue;}_0x4437c8[_0x21833e(0x1d3)][_0x21833e(0x1bd)](_0x50579b,0x1),_0x50579b--;}}exports[_0x5b6e2c(0x1f6)]=[_0x5b6e2c(0x1d1),_0x5b6e2c(0x1ba),_0x5b6e2c(0x1b7),_0x5b6e2c(0x1f7),'im',_0x5b6e2c(0x1df),_0x5b6e2c(0x1f5),_0x5b6e2c(0x1ea),_0x5b6e2c(0x1f2),_0x5b6e2c(0x1bc),'mms','news',_0x5b6e2c(0x1d6),_0x5b6e2c(0x1ce),_0x5b6e2c(0x1ca),_0x5b6e2c(0x1c2),_0x5b6e2c(0x1b8),_0x5b6e2c(0x1da),_0x5b6e2c(0x1dd),'tel',_0x5b6e2c(0x1e9),_0x5b6e2c(0x1b6),_0x5b6e2c(0x1e2),_0x5b6e2c(0x1ad)];function _0x5752(){const _0x51bb71=['parseRouter','bitcoin','object','protocol_handlers','includes','pathname','nntp','href','185634phVVXE','configId','smsto','relative','com.webspatial.test','ssh','path','irc','join','contentSize','wtai','display','split','search','./validate','configMainScene','web+','urn','magnet','1745232aWBaGS','171944iErOZr','1302098fIWlHn','scope','xr_main_scene','6jGsXgB','normalize','mailto','standalone','string','ircs','safelist','geo','2715800rSkDGi','url','reverse','../utils/utils','defaultSize','xmpp','indexOf','origin','width','automatic','startsWith','mainScene','validateURL','resizability','webcal','ftps','sms','resolve','ftp','cwd','matrix','splice','protocol','start_url','host','default_size','sip','./static-web','dynamic','minimal-ui','1613570zeEhrf','contentMinSize','3400384BGNGcv','hash','sftp','length','configScope','replace','openpgp4fpr','height'];_0x5752=function(){return _0x51bb71;};return _0x5752();}
1
+ 'use strict';const _0x574875=_0x5661;(function(_0x411ae0,_0x2f3526){const _0x164117=_0x5661,_0x52aacd=_0x411ae0();while(!![]){try{const _0xe4816d=-parseInt(_0x164117(0x13a))/0x1*(-parseInt(_0x164117(0x128))/0x2)+parseInt(_0x164117(0x167))/0x3+parseInt(_0x164117(0x125))/0x4*(parseInt(_0x164117(0x12b))/0x5)+-parseInt(_0x164117(0x12d))/0x6*(-parseInt(_0x164117(0x152))/0x7)+parseInt(_0x164117(0x145))/0x8*(parseInt(_0x164117(0x147))/0x9)+-parseInt(_0x164117(0x130))/0xa+-parseInt(_0x164117(0x135))/0xb;if(_0xe4816d===_0x2f3526)break;else _0x52aacd['push'](_0x52aacd['shift']());}catch(_0x32373d){_0x52aacd['push'](_0x52aacd['shift']());}}}(_0x33a1,0x575c4));function _0x5661(_0x395873,_0x2b7e72){const _0x33a18c=_0x33a1();return _0x5661=function(_0x56612c,_0x15367b){_0x56612c=_0x56612c-0x122;let _0x5d2e4c=_0x33a18c[_0x56612c];return _0x5d2e4c;},_0x5661(_0x395873,_0x2b7e72);}Object[_0x574875(0x131)](exports,_0x574875(0x142),{'value':!![]}),exports[_0x574875(0x13b)]=void 0x0,exports['configId']=configId,exports[_0x574875(0x134)]=configStartUrl,exports[_0x574875(0x15e)]=configScope,exports[_0x574875(0x146)]=configDisplay,exports['configMainScene']=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x574875(0x13c)),validate_1=require(_0x574875(0x127)),path_1=require(_0x574875(0x155));function _0x33a1(){const _0x3ae4ed=['pathname','sftp','splice','string','ircs','7RowQTY','indexOf','automatic','path','minimal-ui','parseRouter','matrix','protocol','includes','origin','replace','host','configScope','startsWith','sip','search','urn','width','standalone','bitcoin','join','1013127snTcDS','ssh','mms','news','defaultSize','xr_main_scene','hash','4QFdmnr','length','./validate','10056kEXpch','sms','display','1190185OeGlGi','irc','1520868qrvAyH','height','./static-web','5677360aPmRiR','defineProperty','nntp','mailto','configStartUrl','6012787odEhNX','tel','display_override','com.webspatial.test','resolve','67pGqkHw','safelist','../utils/utils','xmpp','protocol_handlers','url','resizability','default_size','__esModule','start_url','href','3832pugPYj','configDisplay','5751MYGgPb','mainScene','ftps','validateURL','scope','normalize'];_0x33a1=function(){return _0x3ae4ed;};return _0x33a1();}function configId(_0x54360f,_0x155cec,_0x4ba5e4){const _0xb3b14=_0x574875;if(_0x4ba5e4)_0x54360f['id']=_0xb3b14(0x138);else{if(_0x155cec)_0x54360f['id']=_0x155cec;else{const _0xdd7570=new URL(_0x54360f['id']);let _0x52e2a4=_0xdd7570['host']['split']('.')['reverse']();_0x54360f['id']=_0x52e2a4[_0xb3b14(0x166)]('.');}}}function configStartUrl(_0x1b79d4,_0x201a4e){const _0x3937b6=_0x574875,_0x36c169=(0x0,validate_1['validateURL'])(_0x1b79d4['start_url']),_0x1737a6=(0x0,validate_1['validateURL'])(_0x201a4e);let _0x10cacf=_0x1b79d4[_0x3937b6(0x143)];if(!_0x36c169&&!_0x1737a6){const _0x3a79e4=(0x0,path_1[_0x3937b6(0x139)])(_0x3937b6(0x12f)),_0x1c023c=(0x0,path_1['resolve'])(_0x3a79e4,_0x201a4e,_0x10cacf),_0x5d2a0b=(0x0,path_1[_0x3937b6(0x14c)])(_0x1c023c),_0xf5ee7=(0x0,path_1[_0x3937b6(0x166)])(_0x3a79e4,_0x5d2a0b);_0x10cacf=(0x0,path_1['relative'])(process['cwd'](),_0xf5ee7)[_0x3937b6(0x15c)](/^(\.\.\/)+/,'./')[_0x3937b6(0x15c)](/\/$/,'');}else{if(_0x36c169&&!_0x1737a6){const _0x331308=new URL(_0x10cacf),_0x5c34ff=_0x331308[_0x3937b6(0x14d)]+_0x331308[_0x3937b6(0x161)]+_0x331308[_0x3937b6(0x124)];let _0x5e01d8=new URL(_0x201a4e,_0x331308['origin']);_0x10cacf=new URL(_0x5c34ff,_0x5e01d8)[_0x3937b6(0x144)];}else{if(!_0x36c169&&_0x1737a6){if(_0x10cacf[_0x3937b6(0x15f)]('/')){const _0x2c71ba=new URL(_0x201a4e);_0x10cacf=_0x2c71ba[_0x3937b6(0x15b)]+(0x0,path_1[_0x3937b6(0x166)])(_0x2c71ba[_0x3937b6(0x14d)],_0x10cacf);}else _0x10cacf=new URL(_0x10cacf,_0x201a4e)['href'];}else{if(_0x36c169&&_0x1737a6){const _0x138bb6=new URL(_0x10cacf),_0x4718b4=new URL(_0x201a4e),_0xc84abc=_0x138bb6[_0x3937b6(0x14d)]+_0x138bb6['search']+_0x138bb6[_0x3937b6(0x124)];_0x10cacf=new URL(_0xc84abc,_0x4718b4[_0x3937b6(0x15b)]+_0x4718b4['pathname'])[_0x3937b6(0x144)];}}}}return _0x10cacf;}function configScope(_0x347322){const _0x1a12ef=_0x574875;var _0x51fbbc;let _0x406c7d=(_0x51fbbc=_0x347322['scope'])!==null&&_0x51fbbc!==void 0x0?_0x51fbbc:'';const _0x1db855=(0x0,validate_1[_0x1a12ef(0x14a)])(_0x347322['start_url']),_0x509608=(0x0,validate_1['validateURL'])(_0x406c7d);if(_0x1db855&&_0x509608){const _0x1b6044=new URL(_0x406c7d),_0x1676a9=new URL(_0x347322[_0x1a12ef(0x143)]);(_0x1b6044['host']!==_0x1676a9[_0x1a12ef(0x15d)]||_0x347322['start_url'][_0x1a12ef(0x153)](_0x406c7d)!==0x0)&&(_0x406c7d=(0x0,utils_1[_0x1a12ef(0x157)])(_0x347322['start_url']));}else{if(_0x1db855&&!_0x509608)_0x406c7d=new URL(_0x406c7d,_0x347322[_0x1a12ef(0x143)])[_0x1a12ef(0x144)];else{if(!_0x1db855&&_0x509608){const _0x256cac=_0x347322[_0x1a12ef(0x143)][_0x1a12ef(0x15c)](/\/[^\/]+$/,'');_0x406c7d=(0x0,path_1[_0x1a12ef(0x14c)])(_0x256cac+'/');}else _0x406c7d=(0x0,path_1['join'])((0x0,utils_1[_0x1a12ef(0x157)])(_0x347322[_0x1a12ef(0x143)]),_0x406c7d);}}_0x347322[_0x1a12ef(0x14b)]=_0x406c7d;}function configDisplay(_0x35a2bc){const _0x3a0259=_0x574875;let _0x5c379e=_0x35a2bc[_0x3a0259(0x12a)];_0x5c379e!==_0x3a0259(0x156)&&_0x5c379e!=='standalone'&&(_0x5c379e='standalone');if(_0x35a2bc[_0x3a0259(0x137)]&&_0x35a2bc[_0x3a0259(0x137)][_0x3a0259(0x126)]>0x0){const _0x4ad45e=_0x35a2bc['display_override']['indexOf']('minimal-ui'),_0x1a43e9=_0x35a2bc[_0x3a0259(0x137)][_0x3a0259(0x153)](_0x3a0259(0x164));if(_0x4ad45e>=0x0&&_0x1a43e9>=0x0)_0x5c379e=_0x1a43e9>_0x4ad45e?_0x3a0259(0x164):'minimal-ui';else{if(_0x4ad45e>=0x0)_0x5c379e=_0x3a0259(0x156);else _0x1a43e9>=0x0&&(_0x5c379e=_0x3a0259(0x164));}}_0x35a2bc['display']=_0x5c379e;}function configMainScene(_0x3936a8){const _0x3e105c=_0x574875;var _0x59e690,_0x38e8cc;const _0x167682=[_0x3e105c(0x154),'contentMinSize','contentSize'];let _0x522ba0={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x3936a8['xr_main_scene']){if(typeof _0x3936a8[_0x3e105c(0x123)]==='object')_0x522ba0[_0x3e105c(0x122)][_0x3e105c(0x163)]=Number((_0x59e690=_0x3936a8[_0x3e105c(0x123)]['default_size'])===null||_0x59e690===void 0x0?void 0x0:_0x59e690[_0x3e105c(0x163)])>0x0?_0x3936a8[_0x3e105c(0x123)][_0x3e105c(0x141)]['width']:0x500,_0x522ba0[_0x3e105c(0x122)]['height']=Number((_0x38e8cc=_0x3936a8[_0x3e105c(0x123)][_0x3e105c(0x141)])===null||_0x38e8cc===void 0x0?void 0x0:_0x38e8cc['height'])>0x0?_0x3936a8[_0x3e105c(0x123)]['default_size'][_0x3e105c(0x12e)]:0x500,_0x522ba0[_0x3e105c(0x140)]=_0x167682[_0x3e105c(0x15a)](_0x3936a8['xr_main_scene'][_0x3e105c(0x140)])?_0x3936a8[_0x3e105c(0x123)]['resizability']:_0x3e105c(0x154),_0x3936a8['mainScene']=_0x522ba0;else typeof _0x3936a8[_0x3e105c(0x123)]===_0x3e105c(0x150)&&(_0x3936a8[_0x3e105c(0x148)]='dynamic');}}function configDeeplink(_0x4bac31){const _0x13c39c=_0x574875;if(_0x4bac31['protocol_handlers']&&_0x4bac31[_0x13c39c(0x13e)][_0x13c39c(0x126)]>0x0)for(var _0x3386d1=0x0;_0x3386d1<_0x4bac31[_0x13c39c(0x13e)][_0x13c39c(0x126)];_0x3386d1++){const _0x4305ee=_0x4bac31[_0x13c39c(0x13e)][_0x3386d1];if(_0x4305ee[_0x13c39c(0x159)]&&(exports['safelist'][_0x13c39c(0x15a)](_0x4305ee[_0x13c39c(0x159)])||_0x4305ee['protocol']['indexOf']('web+')===0x0)){if(!((0x0,validate_1[_0x13c39c(0x14a)])(_0x4305ee[_0x13c39c(0x13f)])&&_0x4305ee[_0x13c39c(0x13f)][_0x13c39c(0x153)](_0x4bac31[_0x13c39c(0x14b)])<0x0))continue;}_0x4bac31[_0x13c39c(0x13e)][_0x13c39c(0x14f)](_0x3386d1,0x1),_0x3386d1--;}}exports[_0x574875(0x13b)]=[_0x574875(0x165),'ftp',_0x574875(0x149),'geo','im',_0x574875(0x12c),_0x574875(0x151),'magnet',_0x574875(0x133),_0x574875(0x158),_0x574875(0x169),_0x574875(0x16a),_0x574875(0x132),'openpgp4fpr',_0x574875(0x14e),_0x574875(0x160),_0x574875(0x129),'smsto',_0x574875(0x168),_0x574875(0x136),_0x574875(0x162),'webcal','wtai',_0x574875(0x13d)];
@@ -1 +1 @@
1
- 'use strict';function _0x2150(_0x52d7ad,_0x26f5c2){const _0x4609cc=_0x4609();return _0x2150=function(_0x21504a,_0x57fae8){_0x21504a=_0x21504a-0x192;let _0x40a138=_0x4609cc[_0x21504a];return _0x40a138;},_0x2150(_0x52d7ad,_0x26f5c2);}const _0x20a8ec=_0x2150;(function(_0x5c235b,_0xd3229e){const _0x5007db=_0x2150,_0x2db7be=_0x5c235b();while(!![]){try{const _0x306adb=-parseInt(_0x5007db(0x19b))/0x1+-parseInt(_0x5007db(0x1bd))/0x2+-parseInt(_0x5007db(0x1a1))/0x3+parseInt(_0x5007db(0x1a9))/0x4+-parseInt(_0x5007db(0x196))/0x5*(parseInt(_0x5007db(0x1a5))/0x6)+parseInt(_0x5007db(0x1bb))/0x7*(-parseInt(_0x5007db(0x1ba))/0x8)+parseInt(_0x5007db(0x1ab))/0x9;if(_0x306adb===_0xd3229e)break;else _0x2db7be['push'](_0x2db7be['shift']());}catch(_0x8d962b){_0x2db7be['push'](_0x2db7be['shift']());}}}(_0x4609,0x57812));Object['defineProperty'](exports,_0x20a8ec(0x197),{'value':!![]}),exports[_0x20a8ec(0x1b0)]=void 0x0;const path_1=require(_0x20a8ec(0x1b9)),config_1=require(_0x20a8ec(0x1b8)),load_1=require(_0x20a8ec(0x1ad)),validate_1=require(_0x20a8ec(0x1a2)),fs=require('fs'),Cli_1=require('../Cli');class PWAGenerator{static async[_0x20a8ec(0x1b2)](_0x23a85d,_0x4cbb83=![]){const _0x436c0e=_0x20a8ec;let _0x574598=await this[_0x436c0e(0x1a7)](_0x23a85d,_0x4cbb83);return console[_0x436c0e(0x1b6)](_0x436c0e(0x19c)),await this['config'](_0x574598,_0x23a85d,_0x4cbb83),console['log']('reset\x20manifest.json:\x20ok'),_0x574598;}static async[_0x20a8ec(0x1a7)](_0x193780,_0x1692d1=![]){const _0x15ed5e=_0x20a8ec;var _0x91986d,_0x28cd2;let _0x4b0402={},_0x319531='',_0x182bf8=![],_0xc8342a=![];if(_0x193780[_0x15ed5e(0x19e)])_0x319531=_0x193780['manifest-url'],_0x182bf8=!![],_0x4b0402=await(0x0,load_1['loadJsonFromNet'])(_0x193780[_0x15ed5e(0x19e)]);else{_0x193780[_0x15ed5e(0x1be)]?_0x319531=(0x0,path_1['join'])(process[_0x15ed5e(0x19f)](),_0x193780[_0x15ed5e(0x1be)]):(_0x319531=(0x0,path_1[_0x15ed5e(0x192)])(process[_0x15ed5e(0x19f)](),_0x15ed5e(0x1a0)),!fs[_0x15ed5e(0x1c2)](_0x319531)&&(_0x319531=(0x0,path_1[_0x15ed5e(0x192)])(process[_0x15ed5e(0x19f)](),_0x15ed5e(0x1bf))));if(!fs[_0x15ed5e(0x1c2)](_0x319531)){if(_0x1692d1)_0xc8342a=!![],Cli_1[_0x15ed5e(0x1bc)][_0x15ed5e(0x1b6)][_0x15ed5e(0x1b4)](_0x15ed5e(0x1ae));else throw new Error(_0x15ed5e(0x1aa));}_0x4b0402=_0xc8342a?this[_0x15ed5e(0x1ac)]:await(0x0,load_1[_0x15ed5e(0x193)])(_0x319531),this[_0x15ed5e(0x199)]=_0xc8342a;}(0x0,validate_1[_0x15ed5e(0x1a3)])(_0x4b0402,_0x1692d1);let _0x1a0ccd=(0x0,config_1[_0x15ed5e(0x194)])(_0x4b0402,(_0x91986d=_0x193780[_0x15ed5e(0x1c1)])!==null&&_0x91986d!==void 0x0?_0x91986d:'');var _0x327694=(0x0,validate_1[_0x15ed5e(0x195)])(_0x1a0ccd,_0x319531,_0x182bf8,_0x1692d1);_0x4b0402[_0x15ed5e(0x1b7)]=_0x1a0ccd;if(!_0x1692d1)(0x0,validate_1[_0x15ed5e(0x1b5)])(_0x4b0402,(_0x28cd2=_0x193780[_0x15ed5e(0x198)])!==null&&_0x28cd2!==void 0x0?_0x28cd2:'');return await(0x0,validate_1[_0x15ed5e(0x19d)])(_0x4b0402,_0x319531,_0x1692d1),{'json':_0x4b0402,'url':_0x319531,'fromNet':_0x327694};}static['config'](_0x4d3f6e,_0xa9d217,_0x13729e){const _0x34d4e6=_0x20a8ec;var _0x1f43a4;(0x0,config_1[_0x34d4e6(0x1b1)])(_0x4d3f6e[_0x34d4e6(0x1a8)],(_0x1f43a4=_0xa9d217['bundle-id'])!==null&&_0x1f43a4!==void 0x0?_0x1f43a4:'',_0x13729e),(0x0,config_1[_0x34d4e6(0x1a4)])(_0x4d3f6e[_0x34d4e6(0x1a8)]),(0x0,config_1[_0x34d4e6(0x1a6)])(_0x4d3f6e[_0x34d4e6(0x1a8)]),(0x0,config_1[_0x34d4e6(0x19a)])(_0x4d3f6e[_0x34d4e6(0x1a8)]),(0x0,config_1['configMainScene'])(_0x4d3f6e[_0x34d4e6(0x1a8)]);}}function _0x4609(){const _0x3eef3f=['cwd','public/manifest.json','586101weKZov','./validate','checkManifestJson','configScope','1458966jNlZPT','configDisplay','validate','json','248596VtSaPA','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','16309836hqapnx','defaultManifestJson','../resource/load','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','minimal-ui','PWAGenerator','configId','generator','WebSpatialTest','warn','checkId','log','start_url','./config','path','872hdofqp','17759qpMWlf','Cli','1054216kGYiak','manifest','public/manifest.webmanifest','standalone','base','existsSync','join','loadJsonFromDisk','configStartUrl','checkStartUrl','5XSTpIs','__esModule','bundle-id','useDefaultManifestJson','configDeeplink','273766YcZzEZ','check\x20manifest.json:\x20ok','checkIcons','manifest-url'];_0x4609=function(){return _0x3eef3f;};return _0x4609();}exports[_0x20a8ec(0x1b0)]=PWAGenerator,PWAGenerator['DisplayModes']=[_0x20a8ec(0x1c0),'minimal-ui'],PWAGenerator[_0x20a8ec(0x1ac)]={'name':_0x20a8ec(0x1b3),'display':_0x20a8ec(0x1af),'start_url':'/','scope':'/'},PWAGenerator[_0x20a8ec(0x199)]=![];
1
+ 'use strict';const _0x2d2a32=_0x3cd2;(function(_0x467c04,_0x56b761){const _0x29bb4b=_0x3cd2,_0x4b437f=_0x467c04();while(!![]){try{const _0x1ab717=parseInt(_0x29bb4b(0xe0))/0x1*(parseInt(_0x29bb4b(0xf5))/0x2)+parseInt(_0x29bb4b(0xf1))/0x3*(parseInt(_0x29bb4b(0xe8))/0x4)+parseInt(_0x29bb4b(0x105))/0x5+parseInt(_0x29bb4b(0xe6))/0x6*(parseInt(_0x29bb4b(0xf9))/0x7)+-parseInt(_0x29bb4b(0xeb))/0x8+-parseInt(_0x29bb4b(0xf7))/0x9*(parseInt(_0x29bb4b(0xfa))/0xa)+parseInt(_0x29bb4b(0xf6))/0xb*(-parseInt(_0x29bb4b(0xfd))/0xc);if(_0x1ab717===_0x56b761)break;else _0x4b437f['push'](_0x4b437f['shift']());}catch(_0x5b9f7d){_0x4b437f['push'](_0x4b437f['shift']());}}}(_0x5bfa,0x92fde));Object[_0x2d2a32(0xf2)](exports,_0x2d2a32(0xea),{'value':!![]}),exports['PWAGenerator']=void 0x0;function _0x3cd2(_0x366349,_0x5bbd3a){const _0x5bfa65=_0x5bfa();return _0x3cd2=function(_0x3cd2d9,_0x466b03){_0x3cd2d9=_0x3cd2d9-0xd6;let _0x10e7a6=_0x5bfa65[_0x3cd2d9];return _0x10e7a6;},_0x3cd2(_0x366349,_0x5bbd3a);}const path_1=require('path'),config_1=require(_0x2d2a32(0xe2)),load_1=require('../resource/load'),validate_1=require(_0x2d2a32(0xfc)),fs=require('fs'),Cli_1=require('../Cli');function _0x5bfa(){const _0x51df82=['generator','135053zMPJHH','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','./config','checkId','WebSpatialTest','bundle-id','6TZAgpl','DisplayModes','4wARLpa','useDefaultManifestJson','__esModule','2758024kthshC','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','loadJsonFromNet','join','json','configId','1853559ZAxZTR','defineProperty','configDeeplink','manifest','14JOeLiu','551254KELYkG','2421vxNAXU','log','5895813kEUTrc','7310TUWKwF','warn','./validate','564jQHhxc','minimal-ui','cwd','config','public/manifest.webmanifest','Cli','existsSync','configScope','5466725VwwnHr','base','manifest-url','start_url','PWAGenerator','checkIcons','validate','checkStartUrl','configMainScene','defaultManifestJson','loadJsonFromDisk'];_0x5bfa=function(){return _0x51df82;};return _0x5bfa();}class PWAGenerator{static async[_0x2d2a32(0xdf)](_0x35bffb,_0x19cc63=![]){const _0x17d142=_0x2d2a32;let _0x2c9bb2=await this[_0x17d142(0xda)](_0x35bffb,_0x19cc63);return console[_0x17d142(0xf8)]('check\x20manifest.json:\x20ok'),await this[_0x17d142(0x100)](_0x2c9bb2,_0x35bffb,_0x19cc63),console[_0x17d142(0xf8)]('reset\x20manifest.json:\x20ok'),_0x2c9bb2;}static async[_0x2d2a32(0xda)](_0x44ae15,_0x37bdcb=![]){const _0x48787c=_0x2d2a32;var _0x298e29,_0x4d6c5e;let _0x382b82={},_0x53c2ba='',_0x435993=![],_0x5e0a22=![];if(_0x44ae15['manifest-url'])_0x53c2ba=_0x44ae15[_0x48787c(0xd6)],_0x435993=!![],_0x382b82=await(0x0,load_1[_0x48787c(0xed)])(_0x44ae15[_0x48787c(0xd6)]);else{_0x44ae15[_0x48787c(0xf4)]?_0x53c2ba=(0x0,path_1[_0x48787c(0xee)])(process['cwd'](),_0x44ae15[_0x48787c(0xf4)]):(_0x53c2ba=(0x0,path_1[_0x48787c(0xee)])(process[_0x48787c(0xff)](),'public/manifest.json'),!fs[_0x48787c(0x103)](_0x53c2ba)&&(_0x53c2ba=(0x0,path_1[_0x48787c(0xee)])(process[_0x48787c(0xff)](),_0x48787c(0x101))));if(!fs['existsSync'](_0x53c2ba)){if(_0x37bdcb)_0x5e0a22=!![],Cli_1[_0x48787c(0x102)][_0x48787c(0xf8)][_0x48787c(0xfb)](_0x48787c(0xe1));else throw new Error(_0x48787c(0xec));}_0x382b82=_0x5e0a22?this[_0x48787c(0xdd)]:await(0x0,load_1[_0x48787c(0xde)])(_0x53c2ba),this[_0x48787c(0xe9)]=_0x5e0a22;}(0x0,validate_1['checkManifestJson'])(_0x382b82,_0x37bdcb);let _0x40bd9b=(0x0,config_1['configStartUrl'])(_0x382b82,(_0x298e29=_0x44ae15[_0x48787c(0x106)])!==null&&_0x298e29!==void 0x0?_0x298e29:'');var _0x1fccbd=(0x0,validate_1[_0x48787c(0xdb)])(_0x40bd9b,_0x53c2ba,_0x435993,_0x37bdcb);_0x382b82[_0x48787c(0xd7)]=_0x40bd9b;if(!_0x37bdcb)(0x0,validate_1[_0x48787c(0xe3)])(_0x382b82,(_0x4d6c5e=_0x44ae15[_0x48787c(0xe5)])!==null&&_0x4d6c5e!==void 0x0?_0x4d6c5e:'');return await(0x0,validate_1[_0x48787c(0xd9)])(_0x382b82,_0x53c2ba,_0x37bdcb),{'json':_0x382b82,'url':_0x53c2ba,'fromNet':_0x1fccbd};}static[_0x2d2a32(0x100)](_0x41253d,_0x116a6a,_0x204121){const _0x3660d8=_0x2d2a32;var _0x3f8e85;(0x0,config_1[_0x3660d8(0xf0)])(_0x41253d[_0x3660d8(0xef)],(_0x3f8e85=_0x116a6a[_0x3660d8(0xe5)])!==null&&_0x3f8e85!==void 0x0?_0x3f8e85:'',_0x204121),(0x0,config_1[_0x3660d8(0x104)])(_0x41253d[_0x3660d8(0xef)]),(0x0,config_1['configDisplay'])(_0x41253d[_0x3660d8(0xef)]),(0x0,config_1[_0x3660d8(0xf3)])(_0x41253d[_0x3660d8(0xef)]),(0x0,config_1[_0x3660d8(0xdc)])(_0x41253d[_0x3660d8(0xef)]);}}exports[_0x2d2a32(0xd8)]=PWAGenerator,PWAGenerator[_0x2d2a32(0xe7)]=['standalone',_0x2d2a32(0xfe)],PWAGenerator['defaultManifestJson']={'name':_0x2d2a32(0xe4),'display':_0x2d2a32(0xfe),'start_url':'/','scope':'/'},PWAGenerator[_0x2d2a32(0xe9)]=![];
@@ -1 +1 @@
1
- 'use strict';const _0xa33e13=_0x4290;(function(_0xaa6052,_0x4ec9ea){const _0x5db44a=_0x4290,_0x5baa26=_0xaa6052();while(!![]){try{const _0x2b0746=parseInt(_0x5db44a(0xe9))/0x1*(-parseInt(_0x5db44a(0xd8))/0x2)+parseInt(_0x5db44a(0xe1))/0x3*(parseInt(_0x5db44a(0xd4))/0x4)+-parseInt(_0x5db44a(0xf1))/0x5+parseInt(_0x5db44a(0xc7))/0x6*(parseInt(_0x5db44a(0xcf))/0x7)+-parseInt(_0x5db44a(0xcc))/0x8*(parseInt(_0x5db44a(0xe4))/0x9)+-parseInt(_0x5db44a(0xf4))/0xa+parseInt(_0x5db44a(0xe8))/0xb;if(_0x2b0746===_0x4ec9ea)break;else _0x5baa26['push'](_0x5baa26['shift']());}catch(_0x2a8ae2){_0x5baa26['push'](_0x5baa26['shift']());}}}(_0x2c7b,0x5a3d8));Object[_0xa33e13(0xf5)](exports,_0xa33e13(0xfa),{'value':!![]}),exports[_0xa33e13(0xd5)]=checkManifestJson,exports[_0xa33e13(0xf9)]=checkStartUrl,exports[_0xa33e13(0xc5)]=checkIcons,exports[_0xa33e13(0xd9)]=checkId,exports[_0xa33e13(0xfc)]=validateBundleId,exports['validateURL']=validateURL;const path_1=require('path'),CustomError_1=require(_0xa33e13(0xce)),utils_1=require(_0xa33e13(0xe6)),imageHelper_1=require(_0xa33e13(0xea)),load_1=require('../resource/load'),Cli_1=require(_0xa33e13(0xcd));function checkManifestJson(_0x5f3b1b,_0xf85c81=![]){const _0xd99482=_0xa33e13;var _0x5b64ce;const _0x2a7721=[];!_0x5f3b1b[_0xd99482(0xf6)]&&!_0x5f3b1b['short_name']&&!_0xf85c81&&_0x2a7721[_0xd99482(0xd0)]({'code':0xbbe,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x5b64ce=_0x5f3b1b[_0xd99482(0xda)])===null||_0x5b64ce===void 0x0?void 0x0:_0x5b64ce['length'])&&!_0xf85c81&&_0x2a7721['push']({'code':0xbbf,'message':_0xd99482(0xdd),'message_staring_params':{}});!_0x5f3b1b[_0xd99482(0xee)]&&_0x2a7721[_0xd99482(0xd0)]({'code':0xbc0,'message':_0xd99482(0xde),'message_staring_params':{}});if(_0x2a7721[_0xd99482(0xfd)])throw new CustomError_1[(_0xd99482(0xef))](_0x2a7721);}function _0x2c7b(){const _0x2a6ba1=['24885509xNUCFc','34ixGmxK','../resource/imageHelper','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','loadImageFromNet','ImageHelper','start_url','CustomError','host','472965kNEpRm','http://','maskable','7303480VFUgqx','defineProperty','name','log','indexOf','checkStartUrl','__esModule','loadImageFromDisk','validateBundleId','length','https://','checkIcons','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','978srzvYY','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','split','src','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','8mwLOWa','../Cli','../utils/CustomError','2786KqtxVZ','push','getHeight','sizes','purpose','16aWroLA','checkManifestJson','forEach','startsWith','43036aajXac','checkId','icons','test','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','warn','getWidth','209136RCiiXn','join','http','6118776NhoJFf','isFullyOpaque','../utils/utils','Cli'];_0x2c7b=function(){return _0x2a6ba1;};return _0x2c7b();}function checkStartUrl(_0x113681,_0x3c8e0e,_0x2c905a,_0x4395c9=![]){const _0x5e7531=_0xa33e13;var _0x522017=![];if(_0x4395c9)return _0x113681[_0x5e7531(0xd7)]('https://')||_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xf2));if(_0x2c905a){if(_0x113681['startsWith'](_0x5e7531(0xc4))){const _0x523b68=new URL(_0x113681),_0x5e068a=new URL(_0x3c8e0e);if(_0x523b68[_0x5e7531(0xf0)]!==_0x5e068a['host'])throw new CustomError_1[(_0x5e7531(0xef))]({'code':0xfa0,'message':_0x5e7531(0xc6),'message_staring_params':{}});}else{if(_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xf2)))throw new CustomError_1[(_0x5e7531(0xef))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xc4))||_0x113681[_0x5e7531(0xd7)](_0x5e7531(0xf2)))throw new CustomError_1[(_0x5e7531(0xef))]({'code':0xfa0,'message':'Local\x20manifest\x20cannot\x20package\x20network\x20project','message_staring_params':{}});}return _0x522017;}async function checkIcons(_0x307ccd,_0x4199de,_0x51e5de=![]){const _0x3f8c64=_0xa33e13;var _0x5398d2,_0x1a123a;if(!((_0x5398d2=_0x307ccd['icons'])===null||_0x5398d2===void 0x0?void 0x0:_0x5398d2['length'])&&_0x51e5de){Cli_1['Cli']['log']['warn'](_0x3f8c64(0xdc));return;}const _0x16032a=(0x0,utils_1['parseRouter'])(_0x4199de);let _0x461069,_0x1712d8,_0xec10e,_0x38f556=0x0;for(var _0x1c8464=0x0;_0x1c8464<_0x307ccd[_0x3f8c64(0xda)][_0x3f8c64(0xfd)];_0x1c8464++){const _0xa156d4=_0x307ccd[_0x3f8c64(0xda)][_0x1c8464];let _0x344e52=((_0x1a123a=_0xa156d4[_0x3f8c64(0xd3)])===null||_0x1a123a===void 0x0?void 0x0:_0x1a123a[_0x3f8c64(0xf8)](_0x3f8c64(0xf3)))>=0x0;if(!_0x344e52)continue;let _0xd100f7=![],_0x48c03c=_0xa156d4[_0x3f8c64(0xca)],_0x157e9a,_0x1838e5=0x0;!validateURL(_0x48c03c)&&(_0x48c03c=(0x0,path_1[_0x3f8c64(0xe2)])(_0x16032a,_0x48c03c));if(_0xa156d4['sizes']){const _0x2a4840=_0xa156d4[_0x3f8c64(0xd2)][_0x3f8c64(0xc9)]('\x20');_0x2a4840[_0x3f8c64(0xd6)](_0x58c185=>{const _0x3a8594=_0x3f8c64;let _0x4ad147=_0x58c185[_0x3a8594(0xc9)]('x');Number(_0x4ad147[0x0])>=0x400&&Number(_0x4ad147[0x1])>=0x400&&(_0xd100f7=!![],Number(_0x4ad147[0x0])>_0x1838e5&&(_0x1838e5=Number(_0x4ad147[0x0])));});}else _0x157e9a=!_0x48c03c[_0x3f8c64(0xd7)]('http')?await(0x0,load_1[_0x3f8c64(0xfb)])(_0x48c03c):await(0x0,load_1[_0x3f8c64(0xec)])(_0x48c03c),_0x157e9a[_0x3f8c64(0xe0)]()>=0x400&&_0x157e9a[_0x3f8c64(0xd1)]()>=0x400&&(_0xd100f7=!![],_0x157e9a['getWidth']()>_0x1838e5&&(_0x1838e5=_0x157e9a[_0x3f8c64(0xe0)]()));_0xd100f7&&_0x344e52&&(_0x1838e5>_0x38f556&&(_0x38f556=_0x1838e5,_0x461069=_0x157e9a,_0x1712d8=_0x48c03c,_0xec10e=_0xa156d4[_0x3f8c64(0xd3)]));}if(_0x38f556===0x0){if(_0x51e5de){Cli_1[_0x3f8c64(0xe7)][_0x3f8c64(0xf7)][_0x3f8c64(0xdf)](_0x3f8c64(0xcb));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x3f8c64(0xcb),'message_staring_params':{}});}else _0x1712d8&&(_0x461069=!_0x1712d8['startsWith'](_0x3f8c64(0xe3))?await(0x0,load_1[_0x3f8c64(0xfb)])(_0x1712d8):await(0x0,load_1[_0x3f8c64(0xec)])(_0x1712d8));if(_0x461069&&!imageHelper_1[_0x3f8c64(0xed)][_0x3f8c64(0xe5)](_0x461069)){if(_0x51e5de){Cli_1[_0x3f8c64(0xe7)][_0x3f8c64(0xf7)]['warn'](_0x3f8c64(0xcb));return;}throw new CustomError_1[(_0x3f8c64(0xef))]({'code':0xfa0,'message':_0x3f8c64(0xc8),'message_staring_params':{}});}_0x307ccd[_0x3f8c64(0xda)]=[{'src':_0x1712d8,'sizes':_0x38f556+'x'+_0x38f556,'purpose':_0xec10e}];}function checkId(_0x556f0d,_0x29d8f2){const _0x4351da=_0xa33e13;if(_0x29d8f2){if(!validateBundleId(_0x29d8f2))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x4351da(0xeb),'message_staring_params':{}});return;}!_0x556f0d['id']&&(_0x556f0d['id']=_0x556f0d[_0x4351da(0xee)]);if(!validateURL(_0x556f0d['id'])&&!_0x29d8f2)throw new CustomError_1[(_0x4351da(0xef))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','message_staring_params':{}});}function validateBundleId(_0x2b4be3){const _0x1cdd82=_0xa33e13,_0x3d7f22=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x3d7f22[_0x1cdd82(0xdb)](_0x2b4be3);}function _0x4290(_0x236e90,_0x353b58){const _0x2c7b00=_0x2c7b();return _0x4290=function(_0x4290f6,_0x16c674){_0x4290f6=_0x4290f6-0xc4;let _0x4afe80=_0x2c7b00[_0x4290f6];return _0x4afe80;},_0x4290(_0x236e90,_0x353b58);}function validateURL(_0x36b5df){try{return new URL(_0x36b5df),!![];}catch(_0x10dffd){return![];}}
1
+ 'use strict';const _0x9cc4ff=_0x5b12;function _0xead3(){const _0x4c0bf6=['../utils/utils','getHeight','purpose','Cli','60AZnACx','loadImageFromDisk','CustomError','../resource/load','Local\x20manifest\x20cannot\x20package\x20network\x20project','split','13202436Dlznbc','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','log','https://','validateBundleId','getWidth','push','startsWith','107015msEXsn','../resource/imageHelper','validateURL','http','2167759LCPNWA','isFullyOpaque','maskable','665176iYOzMi','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','src','http://','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','warn','checkId','36fRdFDj','checkManifestJson','checkStartUrl','loadImageFromNet','7088110CvJnMQ','ImageHelper','start_url','forEach','14WPOhzX','parseRouter','9FIVHZu','name','icons','join','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','8tIYpHt','length','path','1733876cQBANm','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','2goWDXs','198318AdPtTa','test'];_0xead3=function(){return _0x4c0bf6;};return _0xead3();}(function(_0x2782dd,_0x412ee3){const _0x408908=_0x5b12,_0xc98b97=_0x2782dd();while(!![]){try{const _0x53834d=-parseInt(_0x408908(0x78))/0x1*(parseInt(_0x408908(0x76))/0x2)+parseInt(_0x408908(0x79))/0x3*(parseInt(_0x408908(0x73))/0x4)+parseInt(_0x408908(0x8d))/0x5*(-parseInt(_0x408908(0x7f))/0x6)+-parseInt(_0x408908(0xa3))/0x7*(-parseInt(_0x408908(0x94))/0x8)+-parseInt(_0x408908(0xa5))/0x9*(parseInt(_0x408908(0x9f))/0xa)+parseInt(_0x408908(0x91))/0xb+parseInt(_0x408908(0x9b))/0xc*(parseInt(_0x408908(0x85))/0xd);if(_0x53834d===_0x412ee3)break;else _0xc98b97['push'](_0xc98b97['shift']());}catch(_0x4b80e4){_0xc98b97['push'](_0xc98b97['shift']());}}}(_0xead3,0xd8346));function _0x5b12(_0x51e967,_0x2e702e){const _0xead3f6=_0xead3();return _0x5b12=function(_0x5b126b,_0x4a2dfc){_0x5b126b=_0x5b126b-0x6d;let _0x80ec01=_0xead3f6[_0x5b126b];return _0x80ec01;},_0x5b12(_0x51e967,_0x2e702e);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x9cc4ff(0x9c)]=checkManifestJson,exports[_0x9cc4ff(0x9d)]=checkStartUrl,exports['checkIcons']=checkIcons,exports[_0x9cc4ff(0x9a)]=checkId,exports[_0x9cc4ff(0x89)]=validateBundleId,exports[_0x9cc4ff(0x8f)]=validateURL;const path_1=require(_0x9cc4ff(0x75)),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x9cc4ff(0x7b)),imageHelper_1=require(_0x9cc4ff(0x8e)),load_1=require(_0x9cc4ff(0x82)),Cli_1=require('../Cli');function checkManifestJson(_0x48ef16,_0x2363cb=![]){const _0x24d895=_0x9cc4ff;var _0x59eb57;const _0x100fac=[];!_0x48ef16[_0x24d895(0x6d)]&&!_0x48ef16['short_name']&&!_0x2363cb&&_0x100fac[_0x24d895(0x8b)]({'code':0xbbe,'message':_0x24d895(0x77),'message_staring_params':{}});!((_0x59eb57=_0x48ef16['icons'])===null||_0x59eb57===void 0x0?void 0x0:_0x59eb57['length'])&&!_0x2363cb&&_0x100fac[_0x24d895(0x8b)]({'code':0xbbf,'message':_0x24d895(0x71),'message_staring_params':{}});!_0x48ef16[_0x24d895(0xa1)]&&_0x100fac[_0x24d895(0x8b)]({'code':0xbc0,'message':_0x24d895(0x70),'message_staring_params':{}});if(_0x100fac['length'])throw new CustomError_1[(_0x24d895(0x81))](_0x100fac);}function checkStartUrl(_0x45e640,_0x1eec1e,_0x5c5df3,_0x1410e2=![]){const _0x38488a=_0x9cc4ff;var _0x27d7ed=![];if(_0x1410e2)return _0x45e640['startsWith'](_0x38488a(0x88))||_0x45e640[_0x38488a(0x8c)]('http://');if(_0x5c5df3){if(_0x45e640[_0x38488a(0x8c)](_0x38488a(0x88))){const _0x1ef773=new URL(_0x45e640),_0x4aa1c1=new URL(_0x1eec1e);if(_0x1ef773['host']!==_0x4aa1c1['host'])throw new CustomError_1[(_0x38488a(0x81))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x45e640['startsWith'](_0x38488a(0x97)))throw new CustomError_1[(_0x38488a(0x81))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x45e640[_0x38488a(0x8c)](_0x38488a(0x88))||_0x45e640[_0x38488a(0x8c)](_0x38488a(0x97)))throw new CustomError_1[(_0x38488a(0x81))]({'code':0xfa0,'message':_0x38488a(0x83),'message_staring_params':{}});}return _0x27d7ed;}async function checkIcons(_0x126263,_0x97fb4f,_0x24ca37=![]){const _0x548f63=_0x9cc4ff;var _0x20e560,_0x3a1c25;if(!((_0x20e560=_0x126263[_0x548f63(0x6e)])===null||_0x20e560===void 0x0?void 0x0:_0x20e560[_0x548f63(0x74)])&&_0x24ca37){Cli_1[_0x548f63(0x7e)][_0x548f63(0x87)][_0x548f63(0x99)](_0x548f63(0x95));return;}const _0x2badfe=(0x0,utils_1[_0x548f63(0xa4)])(_0x97fb4f);let _0xdc5098,_0x4474dc,_0x1681a7,_0x382f79=0x0;for(var _0x54ce58=0x0;_0x54ce58<_0x126263['icons'][_0x548f63(0x74)];_0x54ce58++){const _0x4bc057=_0x126263[_0x548f63(0x6e)][_0x54ce58];let _0x2f7e3c=((_0x3a1c25=_0x4bc057[_0x548f63(0x7d)])===null||_0x3a1c25===void 0x0?void 0x0:_0x3a1c25['indexOf'](_0x548f63(0x93)))>=0x0;if(!_0x2f7e3c)continue;let _0x56181e=![],_0x3745da=_0x4bc057[_0x548f63(0x96)],_0x2e6e5c,_0x325b3a=0x0;!validateURL(_0x3745da)&&(_0x3745da=(0x0,path_1[_0x548f63(0x6f)])(_0x2badfe,_0x3745da));if(_0x4bc057['sizes']){const _0x27f23e=_0x4bc057['sizes'][_0x548f63(0x84)]('\x20');_0x27f23e[_0x548f63(0xa2)](_0x40f232=>{let _0x48afb1=_0x40f232['split']('x');Number(_0x48afb1[0x0])>=0x400&&Number(_0x48afb1[0x1])>=0x400&&(_0x56181e=!![],Number(_0x48afb1[0x0])>_0x325b3a&&(_0x325b3a=Number(_0x48afb1[0x0])));});}else _0x2e6e5c=!_0x3745da[_0x548f63(0x8c)](_0x548f63(0x90))?await(0x0,load_1[_0x548f63(0x80)])(_0x3745da):await(0x0,load_1[_0x548f63(0x9e)])(_0x3745da),_0x2e6e5c[_0x548f63(0x8a)]()>=0x400&&_0x2e6e5c[_0x548f63(0x7c)]()>=0x400&&(_0x56181e=!![],_0x2e6e5c[_0x548f63(0x8a)]()>_0x325b3a&&(_0x325b3a=_0x2e6e5c[_0x548f63(0x8a)]()));_0x56181e&&_0x2f7e3c&&(_0x325b3a>_0x382f79&&(_0x382f79=_0x325b3a,_0xdc5098=_0x2e6e5c,_0x4474dc=_0x3745da,_0x1681a7=_0x4bc057[_0x548f63(0x7d)]));}if(_0x382f79===0x0){if(_0x24ca37){Cli_1['Cli'][_0x548f63(0x87)]['warn'](_0x548f63(0x72));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x548f63(0x72),'message_staring_params':{}});}else _0x4474dc&&(_0xdc5098=!_0x4474dc[_0x548f63(0x8c)]('http')?await(0x0,load_1[_0x548f63(0x80)])(_0x4474dc):await(0x0,load_1[_0x548f63(0x9e)])(_0x4474dc));if(_0xdc5098&&!imageHelper_1[_0x548f63(0xa0)][_0x548f63(0x92)](_0xdc5098)){if(_0x24ca37){Cli_1[_0x548f63(0x7e)][_0x548f63(0x87)][_0x548f63(0x99)](_0x548f63(0x72));return;}throw new CustomError_1[(_0x548f63(0x81))]({'code':0xfa0,'message':_0x548f63(0x98),'message_staring_params':{}});}_0x126263[_0x548f63(0x6e)]=[{'src':_0x4474dc,'sizes':_0x382f79+'x'+_0x382f79,'purpose':_0x1681a7}];}function checkId(_0x1d2e1b,_0x10c9a0){const _0x4c94e0=_0x9cc4ff;if(_0x10c9a0){if(!validateBundleId(_0x10c9a0))throw new CustomError_1[(_0x4c94e0(0x81))]({'code':0xfa0,'message':_0x4c94e0(0x86),'message_staring_params':{}});return;}!_0x1d2e1b['id']&&(_0x1d2e1b['id']=_0x1d2e1b['start_url']);if(!validateURL(_0x1d2e1b['id'])&&!_0x10c9a0)throw new CustomError_1[(_0x4c94e0(0x81))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','message_staring_params':{}});}function validateBundleId(_0x444514){const _0x3ca6d7=_0x9cc4ff,_0x1d4b4a=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x1d4b4a[_0x3ca6d7(0x7a)](_0x444514);}function validateURL(_0x33645d){try{return new URL(_0x33645d),!![];}catch(_0x5a175c){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0x416d(_0x54d8eb,_0x37a976){const _0x3d0217=_0x3d02();return _0x416d=function(_0x416d06,_0x5a2849){_0x416d06=_0x416d06-0x1c7;let _0x3de0bd=_0x3d0217[_0x416d06];return _0x3de0bd;},_0x416d(_0x54d8eb,_0x37a976);}function _0x3d02(){const _0x45f840=['existsSync','statSync','readFileSync','forEach','2758611wklRmm','4NRnHYe','readdirSync','2429maWlhN','12MrNYSP','2750vESCBP','isFile','2SIDuaV','3749080MXKQDq','246858enBHfv','clearDir','22880DeOmkB','109031kVypnV','isDirectory','15666jlQIcH','344142MOiipG','defineProperty','log','unlinkSync','__esModule','120gdqruK'];_0x3d02=function(){return _0x45f840;};return _0x3d02();}const _0x2b2542=_0x416d;(function(_0x38c8a8,_0x19bc6c){const _0x3bbcfa=_0x416d,_0x235bca=_0x38c8a8();while(!![]){try{const _0x507690=-parseInt(_0x3bbcfa(0x1dc))/0x1+parseInt(_0x3bbcfa(0x1da))/0x2*(-parseInt(_0x3bbcfa(0x1d3))/0x3)+-parseInt(_0x3bbcfa(0x1d4))/0x4*(-parseInt(_0x3bbcfa(0x1db))/0x5)+-parseInt(_0x3bbcfa(0x1c8))/0x6*(-parseInt(_0x3bbcfa(0x1d6))/0x7)+-parseInt(_0x3bbcfa(0x1ce))/0x8*(parseInt(_0x3bbcfa(0x1c9))/0x9)+-parseInt(_0x3bbcfa(0x1de))/0xa*(-parseInt(_0x3bbcfa(0x1d8))/0xb)+parseInt(_0x3bbcfa(0x1d7))/0xc*(parseInt(_0x3bbcfa(0x1df))/0xd);if(_0x507690===_0x19bc6c)break;else _0x235bca['push'](_0x235bca['shift']());}catch(_0x24c136){_0x235bca['push'](_0x235bca['shift']());}}}(_0x3d02,0x7927f));Object[_0x2b2542(0x1ca)](exports,_0x2b2542(0x1cd),{'value':!![]}),exports['copyDir']=copyDir,exports[_0x2b2542(0x1dd)]=clearDir;const fs=require('fs');function copyDir(_0x5c4f64,_0x28f582){const _0x4a87f7=_0x2b2542,_0x3cfa69=fs[_0x4a87f7(0x1d5)](_0x5c4f64);_0x3cfa69['forEach'](_0x3f8678=>{const _0x123b95=_0x4a87f7,_0x2ec4fb=_0x5c4f64+'/'+_0x3f8678,_0x55d8ea=_0x28f582+'/'+_0x3f8678,_0x4bd63e=fs[_0x123b95(0x1d0)](_0x2ec4fb);if(_0x4bd63e[_0x123b95(0x1d9)]())try{fs['writeFileSync'](_0x55d8ea,fs[_0x123b95(0x1d1)](_0x2ec4fb));}catch(_0x18cf57){console[_0x123b95(0x1cb)](_0x18cf57);}else _0x4bd63e[_0x123b95(0x1c7)]()&&(!fs[_0x123b95(0x1cf)](_0x55d8ea)&&fs['mkdirSync'](_0x55d8ea,{'recursive':!![]}),copyDir(_0x2ec4fb,_0x55d8ea));});}function clearDir(_0x3505e3){const _0x3aed8d=_0x2b2542,_0x579dcc=fs[_0x3aed8d(0x1d5)](_0x3505e3);_0x579dcc[_0x3aed8d(0x1d2)](_0x41bdc9=>{const _0x525baf=_0x3aed8d,_0x41bf85=_0x3505e3+'/'+_0x41bdc9,_0x25089a=fs[_0x525baf(0x1d0)](_0x41bf85);if(_0x25089a[_0x525baf(0x1d9)]())try{fs[_0x525baf(0x1cc)](_0x41bf85);}catch(_0x551a9e){console[_0x525baf(0x1cb)](_0x551a9e);}else _0x25089a[_0x525baf(0x1c7)]()&&clearDir(_0x41bf85);});}
1
+ 'use strict';const _0x11a17e=_0x5b51;(function(_0x51838b,_0x2dc510){const _0x100eeb=_0x5b51,_0x55eaaf=_0x51838b();while(!![]){try{const _0x5e39b6=parseInt(_0x100eeb(0x204))/0x1+-parseInt(_0x100eeb(0x1f3))/0x2+-parseInt(_0x100eeb(0x1fd))/0x3*(parseInt(_0x100eeb(0x1ff))/0x4)+-parseInt(_0x100eeb(0x1f4))/0x5+parseInt(_0x100eeb(0x1f8))/0x6+-parseInt(_0x100eeb(0x200))/0x7*(parseInt(_0x100eeb(0x1f7))/0x8)+parseInt(_0x100eeb(0x1f5))/0x9*(parseInt(_0x100eeb(0x202))/0xa);if(_0x5e39b6===_0x2dc510)break;else _0x55eaaf['push'](_0x55eaaf['shift']());}catch(_0x5d0191){_0x55eaaf['push'](_0x55eaaf['shift']());}}}(_0x5363,0x8c6d6));function _0x5363(){const _0x1518b0=['mkdirSync','defineProperty','existsSync','3bJAGvB','log','2843548lUJQxZ','49KrUCpe','readdirSync','210legmSk','isDirectory','496841DMEzuC','isFile','unlinkSync','forEach','1530506gkYtTp','1794270udAinw','621171FgMkgx','__esModule','33552KFdKKe','2959812qVLJds','clearDir'];_0x5363=function(){return _0x1518b0;};return _0x5363();}function _0x5b51(_0x349ac3,_0x69252e){const _0x53634b=_0x5363();return _0x5b51=function(_0x5b5123,_0x38c163){_0x5b5123=_0x5b5123-0x1f0;let _0x560245=_0x53634b[_0x5b5123];return _0x560245;},_0x5b51(_0x349ac3,_0x69252e);}Object[_0x11a17e(0x1fb)](exports,_0x11a17e(0x1f6),{'value':!![]}),exports['copyDir']=copyDir,exports[_0x11a17e(0x1f9)]=clearDir;const fs=require('fs');function copyDir(_0xb0cbfc,_0x4b2916){const _0x391cb0=_0x11a17e,_0x269399=fs['readdirSync'](_0xb0cbfc);_0x269399[_0x391cb0(0x1f2)](_0x425259=>{const _0x3120b1=_0x391cb0,_0x4561e7=_0xb0cbfc+'/'+_0x425259,_0x4b6ad=_0x4b2916+'/'+_0x425259,_0xbf420=fs['statSync'](_0x4561e7);if(_0xbf420[_0x3120b1(0x1f0)]())try{fs['writeFileSync'](_0x4b6ad,fs['readFileSync'](_0x4561e7));}catch(_0x20ccd6){console['log'](_0x20ccd6);}else _0xbf420[_0x3120b1(0x203)]()&&(!fs[_0x3120b1(0x1fc)](_0x4b6ad)&&fs[_0x3120b1(0x1fa)](_0x4b6ad,{'recursive':!![]}),copyDir(_0x4561e7,_0x4b6ad));});}function clearDir(_0x17d767){const _0x6bf467=_0x11a17e,_0x599fb0=fs[_0x6bf467(0x201)](_0x17d767);_0x599fb0['forEach'](_0x3ed58b=>{const _0x5507f4=_0x6bf467,_0x575155=_0x17d767+'/'+_0x3ed58b,_0x56195a=fs['statSync'](_0x575155);if(_0x56195a[_0x5507f4(0x1f0)]())try{fs[_0x5507f4(0x1f1)](_0x575155);}catch(_0x3ffd83){console[_0x5507f4(0x1fe)](_0x3ffd83);}else _0x56195a[_0x5507f4(0x203)]()&&clearDir(_0x575155);});}
@@ -1 +1 @@
1
- 'use strict';function _0x39fd(){const _0x2b290d=['3592089BtFWIX','10qPXQUz','data','127597ummvaF','getHeight','webp2PngBuffer','sharp','2696520IYknyy','bitmap','width','Resvg','getWidth','toBuffer','jimp','createImg','render','defineProperty','isFullyOpaque','10511088OPSKGV','4sbLSQr','6LbgysE','8051288gaHjGw','12260ZawgCd','54024476oEReYt','936oPhpZs','__esModule','asPng','@resvg/resvg-js','ImageHelper','toFormat','svg2img'];_0x39fd=function(){return _0x2b290d;};return _0x39fd();}const _0x8cd6fe=_0x417c;(function(_0x5020e3,_0x31050c){const _0x4dd304=_0x417c,_0x38d74e=_0x5020e3();while(!![]){try{const _0x433bc0=-parseInt(_0x4dd304(0x97))/0x1*(parseInt(_0x4dd304(0xa7))/0x2)+-parseInt(_0x4dd304(0xa8))/0x3*(parseInt(_0x4dd304(0x9b))/0x4)+-parseInt(_0x4dd304(0xaa))/0x5*(parseInt(_0x4dd304(0xac))/0x6)+-parseInt(_0x4dd304(0xa6))/0x7+-parseInt(_0x4dd304(0xa9))/0x8+parseInt(_0x4dd304(0x94))/0x9+-parseInt(_0x4dd304(0x95))/0xa*(-parseInt(_0x4dd304(0xab))/0xb);if(_0x433bc0===_0x31050c)break;else _0x38d74e['push'](_0x38d74e['shift']());}catch(_0x38a9a){_0x38d74e['push'](_0x38d74e['shift']());}}}(_0x39fd,0xc755c));Object[_0x8cd6fe(0xa4)](exports,_0x8cd6fe(0xad),{'value':!![]}),exports[_0x8cd6fe(0xb0)]=void 0x0;function _0x417c(_0x23ef4b,_0x47a837){const _0x39fd3f=_0x39fd();return _0x417c=function(_0x417c0d,_0x1323a8){_0x417c0d=_0x417c0d-0x93;let _0x4163d8=_0x39fd3f[_0x417c0d];return _0x4163d8;},_0x417c(_0x23ef4b,_0x47a837);}const Jimp=require(_0x8cd6fe(0xa1)),sharp=require(_0x8cd6fe(0x9a)),resvg_js_1=require(_0x8cd6fe(0xaf));class ImageHelper{static[_0x8cd6fe(0xa2)](_0x13abe5){return new Jimp(_0x13abe5,_0x13abe5,0x0);}static async[_0x8cd6fe(0x99)](_0x309bf6){const _0x4a2c6b=_0x8cd6fe;return await sharp(_0x309bf6)[_0x4a2c6b(0xb1)]('png')[_0x4a2c6b(0xa0)]();}static async[_0x8cd6fe(0x93)](_0x52274f){const _0x126979=_0x8cd6fe,_0x311581={'fitTo':{'mode':_0x126979(0x9d),'value':0x400}},_0x46eee4=new resvg_js_1[(_0x126979(0x9e))](_0x52274f,_0x311581),_0x449c00=_0x46eee4[_0x126979(0xa3)](),_0x4eb1ea=_0x449c00[_0x126979(0xae)]();return _0x4eb1ea;}static[_0x8cd6fe(0xa5)](_0x3ec251){const _0x201572=_0x8cd6fe,_0x57ef7b=_0x3ec251[_0x201572(0x9f)]()*_0x3ec251[_0x201572(0x98)]();for(var _0x601c9=0x0;_0x601c9<_0x57ef7b;_0x601c9++){const _0x467b46=_0x601c9*0x4+0x3;if(_0x3ec251[_0x201572(0x9c)][_0x201572(0x96)][_0x467b46]<0xff)return![];}return!![];}}exports[_0x8cd6fe(0xb0)]=ImageHelper;
1
+ 'use strict';const _0x11cdf5=_0xe90b;(function(_0x10e2c9,_0x2f5f71){const _0xf80af6=_0xe90b,_0x2b235d=_0x10e2c9();while(!![]){try{const _0x1809cc=-parseInt(_0xf80af6(0x19b))/0x1+parseInt(_0xf80af6(0x1a9))/0x2*(parseInt(_0xf80af6(0x199))/0x3)+-parseInt(_0xf80af6(0x1a1))/0x4+-parseInt(_0xf80af6(0x1a3))/0x5*(parseInt(_0xf80af6(0x193))/0x6)+parseInt(_0xf80af6(0x19f))/0x7*(parseInt(_0xf80af6(0x1a4))/0x8)+-parseInt(_0xf80af6(0x1a6))/0x9*(-parseInt(_0xf80af6(0x1ab))/0xa)+parseInt(_0xf80af6(0x197))/0xb;if(_0x1809cc===_0x2f5f71)break;else _0x2b235d['push'](_0x2b235d['shift']());}catch(_0x52c5aa){_0x2b235d['push'](_0x2b235d['shift']());}}}(_0x4b92,0x42b88));Object[_0x11cdf5(0x19c)](exports,_0x11cdf5(0x198),{'value':!![]}),exports[_0x11cdf5(0x192)]=void 0x0;const Jimp=require(_0x11cdf5(0x19e)),sharp=require(_0x11cdf5(0x196)),resvg_js_1=require('@resvg/resvg-js');function _0xe90b(_0x5d0a7b,_0x3fdc27){const _0x4b9259=_0x4b92();return _0xe90b=function(_0xe90b3d,_0x1beafb){_0xe90b3d=_0xe90b3d-0x190;let _0x263d94=_0x4b9259[_0xe90b3d];return _0x263d94;},_0xe90b(_0x5d0a7b,_0x3fdc27);}function _0x4b92(){const _0x5dec2a=['3234606azCLqU','width','getWidth','sharp','5344790BeuqnF','__esModule','36231TwvVhA','Resvg','476239SllWTu','defineProperty','svg2img','jimp','70anZUvG','png','252968hEWhNg','isFullyOpaque','5TiCJgG','181592nFIpep','toFormat','1511883mcfRqf','getHeight','webp2PngBuffer','78aaTqcJ','data','10tNloWB','render','asPng','ImageHelper'];_0x4b92=function(){return _0x5dec2a;};return _0x4b92();}class ImageHelper{static['createImg'](_0x275961){return new Jimp(_0x275961,_0x275961,0x0);}static async[_0x11cdf5(0x1a8)](_0x590a25){const _0x4f4476=_0x11cdf5;return await sharp(_0x590a25)[_0x4f4476(0x1a5)](_0x4f4476(0x1a0))['toBuffer']();}static async[_0x11cdf5(0x19d)](_0x567e19){const _0x35f0f7=_0x11cdf5,_0x2f0035={'fitTo':{'mode':_0x35f0f7(0x194),'value':0x400}},_0x5b9518=new resvg_js_1[(_0x35f0f7(0x19a))](_0x567e19,_0x2f0035),_0x2d5b58=_0x5b9518[_0x35f0f7(0x190)](),_0x6dbc3d=_0x2d5b58[_0x35f0f7(0x191)]();return _0x6dbc3d;}static[_0x11cdf5(0x1a2)](_0x355614){const _0x3c2f65=_0x11cdf5,_0x2cd50c=_0x355614[_0x3c2f65(0x195)]()*_0x355614[_0x3c2f65(0x1a7)]();for(var _0x4b12cf=0x0;_0x4b12cf<_0x2cd50c;_0x4b12cf++){const _0x5704e3=_0x4b12cf*0x4+0x3;if(_0x355614['bitmap'][_0x3c2f65(0x1aa)][_0x5704e3]<0xff)return![];}return!![];}}exports[_0x11cdf5(0x192)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';function _0x40be(){const _0x121a12=['../../../','./build','132MaYpUy','http','155286hibzxY','copyDir','ASSET_DIRECTORY','../../../node_modules/@webspatial/platform-','src','MIDDLE_APPICON_DIRECTORY','cd\x20','join','child_process','clearDir',',\x20now\x20WebSpatial\x20only\x20support\x20','347224ZUOPkG','PROJECT_BUILD_DIRECTORY','ResourceManager','177105cGXpJr','372324dnqDXV','web-spatial/Assets.xcassets','PROJECT_EXPORT_DIRECTORY','963305wmxmjh','existsSync','defineProperty','cwd','PROJECT_DIRECTORY','./load','web-spatial/static-web','startsWith','./file','7305216bInfeT','resize','loadImageFromNet','checkPlatformPath','loadImageFromDisk','980343MTNpPo','BACK_APPICON_DIRECTORY','WEB_PROJECT_DIRECTORY','./export'];_0x40be=function(){return _0x121a12;};return _0x40be();}const _0x3ada0a=_0x17b3;(function(_0x1391c5,_0x3a7b06){const _0xe62e4c=_0x17b3,_0x2c48c0=_0x1391c5();while(!![]){try{const _0x596862=parseInt(_0xe62e4c(0x1ce))/0x1+-parseInt(_0xe62e4c(0x1c3))/0x2+parseInt(_0xe62e4c(0x1e3))/0x3+parseInt(_0xe62e4c(0x1d2))/0x4+-parseInt(_0xe62e4c(0x1d1))/0x5*(-parseInt(_0xe62e4c(0x1c1))/0x6)+-parseInt(_0xe62e4c(0x1d5))/0x7+-parseInt(_0xe62e4c(0x1de))/0x8;if(_0x596862===_0x3a7b06)break;else _0x2c48c0['push'](_0x2c48c0['shift']());}catch(_0x56b9d6){_0x2c48c0['push'](_0x2c48c0['shift']());}}}(_0x40be,0x66092));Object[_0x3ada0a(0x1d7)](exports,'__esModule',{'value':!![]}),exports['ResourceManager']=exports[_0x3ada0a(0x1c8)]=exports[_0x3ada0a(0x1e4)]=exports[_0x3ada0a(0x1c5)]=exports['WEB_PROJECT_DIRECTORY']=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x3ada0a(0x1cf)]=exports[_0x3ada0a(0x1d9)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x3ada0a(0x1dd)),load_1=require(_0x3ada0a(0x1da)),child_process_1=require(_0x3ada0a(0x1cb));function _0x17b3(_0x4a780c,_0x40e585){const _0x40be0f=_0x40be();return _0x17b3=function(_0x17b381,_0x3cfb3e){_0x17b381=_0x17b381-0x1be;let _0x51316a=_0x40be0f[_0x17b381];return _0x51316a;},_0x17b3(_0x4a780c,_0x40e585);}exports['PROJECT_DIRECTORY']='',exports[_0x3ada0a(0x1cf)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x3ada0a(0x1e5)]=_0x3ada0a(0x1db),exports['ASSET_DIRECTORY']=_0x3ada0a(0x1d3),exports[_0x3ada0a(0x1e4)]=exports[_0x3ada0a(0x1c5)]+'/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',exports[_0x3ada0a(0x1c8)]=exports['ASSET_DIRECTORY']+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=['visionos'];class ResourceManager{static async['moveProjectFrom'](_0x12e61f){const _0x2cf447=_0x3ada0a,_0x3e687e=(0x0,path_1[_0x2cf447(0x1ca)])(process[_0x2cf447(0x1d8)](),_0x12e61f),_0x388419=(0x0,path_1[_0x2cf447(0x1ca)])(exports[_0x2cf447(0x1d9)],exports[_0x2cf447(0x1e5)]);!fs[_0x2cf447(0x1d6)](_0x388419)?fs['mkdirSync'](_0x388419,{'recursive':!![]}):(0x0,file_1[_0x2cf447(0x1cc)])(_0x388419);try{(0x0,file_1[_0x2cf447(0x1c4)])(_0x3e687e,_0x388419);}catch(_0x177094){console['log'](_0x177094);}}static async['generateIcon'](_0x49d0f3){const _0x2cd064=_0x3ada0a,_0x2b0462=_0x49d0f3['json'],_0x53bb9e=_0x2b0462['icons'][0x0][_0x2cd064(0x1c7)],_0x497620=!_0x53bb9e[_0x2cd064(0x1dc)](_0x2cd064(0x1c2))?await(0x0,load_1[_0x2cd064(0x1e2)])(_0x53bb9e):await(0x0,load_1[_0x2cd064(0x1e0)])(_0x53bb9e);return _0x497620[_0x2cd064(0x1df)](0x400,0x400),_0x497620;}static[_0x3ada0a(0x1e1)](_0x8b8b1b){const _0x303135=_0x3ada0a,_0x15c8a1=_0x8b8b1b!==null&&_0x8b8b1b!==void 0x0?_0x8b8b1b:supportPlatform[0x0];if(!supportPlatform['includes'](_0x15c8a1))throw new Error('not\x20support\x20platform\x20'+_0x15c8a1+_0x303135(0x1cd)+supportPlatform[_0x303135(0x1ca)](','));let _0x1f5a62=(0x0,path_1['join'])(process[_0x303135(0x1d8)](),'node_modules/@webspatial/platform-'+_0x15c8a1);!fs[_0x303135(0x1d6)](_0x1f5a62)&&(_0x1f5a62=(0x0,path_1[_0x303135(0x1ca)])(__dirname,_0x303135(0x1c6)+_0x15c8a1));const _0x308854=fs[_0x303135(0x1d6)](_0x1f5a62);!_0x308854&&(0x0,child_process_1['execSync'])(_0x303135(0x1c9)+(0x0,path_1[_0x303135(0x1ca)])(__dirname,_0x303135(0x1bf))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x15c8a1),exports[_0x303135(0x1d9)]=_0x1f5a62,exports[_0x303135(0x1cf)]=(0x0,path_1[_0x303135(0x1ca)])(exports[_0x303135(0x1d9)],_0x303135(0x1c0)),exports[_0x303135(0x1d4)]=(0x0,path_1['join'])(exports[_0x303135(0x1d9)],_0x303135(0x1be));}}exports[_0x3ada0a(0x1d0)]=ResourceManager;
1
+ 'use strict';const _0x368d7f=_0x7ca4;(function(_0x313a06,_0x4a84e3){const _0x58697c=_0x7ca4,_0x2e1552=_0x313a06();while(!![]){try{const _0x237fbc=-parseInt(_0x58697c(0x20a))/0x1+-parseInt(_0x58697c(0x20d))/0x2*(parseInt(_0x58697c(0x202))/0x3)+parseInt(_0x58697c(0x1fb))/0x4*(-parseInt(_0x58697c(0x1f9))/0x5)+-parseInt(_0x58697c(0x1ff))/0x6*(-parseInt(_0x58697c(0x1fc))/0x7)+parseInt(_0x58697c(0x1f4))/0x8*(-parseInt(_0x58697c(0x1f8))/0x9)+parseInt(_0x58697c(0x21c))/0xa+parseInt(_0x58697c(0x220))/0xb;if(_0x237fbc===_0x4a84e3)break;else _0x2e1552['push'](_0x2e1552['shift']());}catch(_0x66cfaa){_0x2e1552['push'](_0x2e1552['shift']());}}}(_0x3ebb,0x93d4a));Object['defineProperty'](exports,_0x368d7f(0x1fd),{'value':!![]}),exports[_0x368d7f(0x21a)]=exports[_0x368d7f(0x21f)]=exports[_0x368d7f(0x203)]=exports['ASSET_DIRECTORY']=exports[_0x368d7f(0x218)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x368d7f(0x200)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x368d7f(0x21d)),load_1=require(_0x368d7f(0x211)),child_process_1=require('child_process');exports['PROJECT_DIRECTORY']='',exports[_0x368d7f(0x200)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports[_0x368d7f(0x210)]=_0x368d7f(0x20b),exports[_0x368d7f(0x203)]=exports[_0x368d7f(0x210)]+_0x368d7f(0x208),exports[_0x368d7f(0x21f)]=exports[_0x368d7f(0x210)]+_0x368d7f(0x217);function _0x3ebb(){const _0x90da61=['not\x20support\x20platform\x20','ASSET_DIRECTORY','./load','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','execSync','existsSync','moveProjectFrom','loadImageFromDisk','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','WEB_PROJECT_DIRECTORY','includes','ResourceManager','mkdirSync','4027930LGdDfJ','./file','cwd','MIDDLE_APPICON_DIRECTORY','23938794ySxmpU','8SUXzlf','./export','./build','icons','8244072tpWSdw','870muOkMD','startsWith','10492ySCJrp','63JFMDMw','__esModule','resize','228366hBWpCB','PROJECT_BUILD_DIRECTORY','json','384dyrint','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','join','checkPlatformPath','node_modules/@webspatial/platform-','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','../../../','323384DywQtK','web-spatial/Assets.xcassets','generateIcon','9692LBeJaG','http'];_0x3ebb=function(){return _0x90da61;};return _0x3ebb();}const supportPlatform=['visionos'];function _0x7ca4(_0x26683c,_0x1939dd){const _0x3ebb8d=_0x3ebb();return _0x7ca4=function(_0x7ca44d,_0x45d1f2){_0x7ca44d=_0x7ca44d-0x1f4;let _0x5506de=_0x3ebb8d[_0x7ca44d];return _0x5506de;},_0x7ca4(_0x26683c,_0x1939dd);}class ResourceManager{static async[_0x368d7f(0x215)](_0x3d2297){const _0x1e398c=_0x368d7f,_0x5295f1=(0x0,path_1[_0x1e398c(0x205)])(process[_0x1e398c(0x21e)](),_0x3d2297),_0x2184c2=(0x0,path_1['join'])(exports[_0x1e398c(0x204)],exports[_0x1e398c(0x218)]);!fs[_0x1e398c(0x214)](_0x2184c2)?fs[_0x1e398c(0x21b)](_0x2184c2,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x2184c2);try{(0x0,file_1['copyDir'])(_0x5295f1,_0x2184c2);}catch(_0x4f7f75){console['log'](_0x4f7f75);}}static async[_0x368d7f(0x20c)](_0x4da269){const _0x559579=_0x368d7f,_0x577d3b=_0x4da269[_0x559579(0x201)],_0x55dc8b=_0x577d3b[_0x559579(0x1f7)][0x0]['src'],_0x48b978=!_0x55dc8b[_0x559579(0x1fa)](_0x559579(0x20e))?await(0x0,load_1[_0x559579(0x216)])(_0x55dc8b):await(0x0,load_1['loadImageFromNet'])(_0x55dc8b);return _0x48b978[_0x559579(0x1fe)](0x400,0x400),_0x48b978;}static[_0x368d7f(0x206)](_0x3ae9b9){const _0x479bf8=_0x368d7f,_0x764f9c=_0x3ae9b9!==null&&_0x3ae9b9!==void 0x0?_0x3ae9b9:supportPlatform[0x0];if(!supportPlatform[_0x479bf8(0x219)](_0x764f9c))throw new Error(_0x479bf8(0x20f)+_0x764f9c+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform['join'](','));let _0x19b001=(0x0,path_1[_0x479bf8(0x205)])(process[_0x479bf8(0x21e)](),_0x479bf8(0x207)+_0x764f9c);!fs[_0x479bf8(0x214)](_0x19b001)&&(_0x19b001=(0x0,path_1[_0x479bf8(0x205)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x764f9c));const _0xc178b8=fs[_0x479bf8(0x214)](_0x19b001);!_0xc178b8&&(0x0,child_process_1[_0x479bf8(0x213)])('cd\x20'+(0x0,path_1[_0x479bf8(0x205)])(__dirname,_0x479bf8(0x209))+_0x479bf8(0x212)+_0x764f9c),exports[_0x479bf8(0x204)]=_0x19b001,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x479bf8(0x205)])(exports['PROJECT_DIRECTORY'],_0x479bf8(0x1f6)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x479bf8(0x205)])(exports[_0x479bf8(0x204)],_0x479bf8(0x1f5));}}exports[_0x368d7f(0x21a)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x2eeb07=_0x3829;(function(_0x4351c8,_0xec0fe4){const _0xd20490=_0x3829,_0x4b0a95=_0x4351c8();while(!![]){try{const _0x42192c=parseInt(_0xd20490(0x1d1))/0x1+-parseInt(_0xd20490(0x1d8))/0x2+parseInt(_0xd20490(0x1d3))/0x3+-parseInt(_0xd20490(0x1dc))/0x4+parseInt(_0xd20490(0x1e4))/0x5*(parseInt(_0xd20490(0x1ef))/0x6)+-parseInt(_0xd20490(0x1c6))/0x7+parseInt(_0xd20490(0x1c5))/0x8;if(_0x42192c===_0xec0fe4)break;else _0x4b0a95['push'](_0x4b0a95['shift']());}catch(_0x10b140){_0x4b0a95['push'](_0x4b0a95['shift']());}}}(_0x1ef4,0x5a8e1));Object['defineProperty'](exports,_0x2eeb07(0x1e6),{'value':!![]}),exports[_0x2eeb07(0x1c3)]=loadJsonFromNet,exports[_0x2eeb07(0x1cc)]=loadJsonFromDisk,exports[_0x2eeb07(0x1d4)]=loadImageFromNet,exports[_0x2eeb07(0x1d0)]=loadImageFromDisk,exports[_0x2eeb07(0x1cd)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x2eeb07(0x1c9)),Jimp=require(_0x2eeb07(0x1da)),imageHelper_1=require(_0x2eeb07(0x1e7));async function loadJsonFromNet(_0x2f000b){const _0x138837=_0x2eeb07,_0x5da761=await FetchUtils_1_1[_0x138837(0x1cb)][_0x138837(0x1ea)](_0x2f000b,{'encoding':_0x138837(0x1e3)});if(_0x5da761['status']!==0xc8)throw new CustomError_1[(_0x138837(0x1f0))]({'code':0xbbc,'message':_0x138837(0x1c7)+_0x2f000b+'.'+(_0x138837(0x1ca)+_0x5da761[_0x138837(0x1d6)]+_0x138837(0x1df)),'message_staring_params':{'web_manifest_url':_0x2f000b,'status':_0x5da761[_0x138837(0x1d6)]}});try{let _0x1d2535;return _0x5da761[_0x138837(0x1e9)]?_0x1d2535=await _0x5da761[_0x138837(0x1e9)]():[_0x138837(0x1e0),'deflate','br'][_0x138837(0x1f2)](_0x5da761[_0x138837(0x1e5)][_0x138837(0x1c1)])?_0x1d2535=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer[_0x138837(0x1e2)](_0x5da761[_0x138837(0x1c4)],_0x138837(0x1e3)),_0x5da761['headers'][_0x138837(0x1c1)])[_0x138837(0x1f1)]():_0x1d2535=Buffer['from'](_0x5da761[_0x138837(0x1c4)],_0x138837(0x1e3))['toString'](),JSON['parse'](_0x1d2535[_0x138837(0x1ce)]());}catch(_0x26a832){throw new CustomError_1[(_0x138837(0x1f0))]({'code':0xbbd,'message':_0x138837(0x1c8),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x24d258){const _0x3ee907=_0x2eeb07,_0x13e408=await loadFileString(_0x24d258[_0x3ee907(0x1f1)]());return JSON[_0x3ee907(0x1dd)](_0x13e408);}function _0x1ef4(){const _0x235788=['loadImageFromNet','deflate','status','content-type','1380196XogvNH','image/svg','jimp','arrayBuffer','1600588JJOquY','parse','promises',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','gzip','decode','from','binary','5Bcezyc','headers','__esModule','./imageHelper','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','text','fetch','image/webp','startsWith','image/','readFile','2059014lPFBzy','CustomError','toString','includes','content-encoding','read','loadJsonFromNet','data','4420624PHXBMA','469182WhDfjr','Failed\x20to\x20download\x20Web\x20Manifest\x20','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','../utils/CustomError','The\x20response\x20status\x20is\x20','fetchUtils','loadJsonFromDisk','loadFileString','trim','\x20Responded\x20with\x20Content-Type\x20\x22','loadImageFromDisk','561121SMOnhW','ImageHelper','213948cSvXKD'];_0x1ef4=function(){return _0x235788;};return _0x1ef4();}async function loadImageFromNet(_0x4b68d0){const _0x44b759=_0x2eeb07,_0x1bbe20=await FetchUtils_1_1[_0x44b759(0x1cb)][_0x44b759(0x1ea)](_0x4b68d0,{'encoding':'binary'});if(_0x1bbe20[_0x44b759(0x1d6)]!==0xc8)throw new CustomError_1[(_0x44b759(0x1f0))]({'code':0x7d2,'message':_0x44b759(0x1e8)+_0x1bbe20[_0x44b759(0x1d6)],'message_staring_params':{'icon_url':_0x4b68d0,'status':_0x1bbe20[_0x44b759(0x1d6)]}});const _0x177ac1=_0x1bbe20['headers']['get']?_0x1bbe20[_0x44b759(0x1e5)]['get'](_0x44b759(0x1d7)):_0x1bbe20[_0x44b759(0x1e5)][_0x44b759(0x1d7)];if(!(_0x177ac1===null||_0x177ac1===void 0x0?void 0x0:_0x177ac1[_0x44b759(0x1ec)](_0x44b759(0x1ed))))throw new CustomError_1[(_0x44b759(0x1f0))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x44b759(0x1cf)+_0x177ac1+'\x22'),'message_staring_params':{'icon_url':_0x4b68d0,'contentType':_0x177ac1}});let _0x2c9989;_0x1bbe20[_0x44b759(0x1db)]?_0x2c9989=await _0x1bbe20[_0x44b759(0x1db)]():[_0x44b759(0x1e0),_0x44b759(0x1d5),'br'][_0x44b759(0x1f2)](_0x1bbe20[_0x44b759(0x1e5)][_0x44b759(0x1c1)])?_0x2c9989=FetchUtils_1_1[_0x44b759(0x1cb)]['decompressResponseBuffer'](Buffer['from'](_0x1bbe20[_0x44b759(0x1c4)],_0x44b759(0x1e3)),_0x1bbe20[_0x44b759(0x1e5)][_0x44b759(0x1c1)]):_0x2c9989=Buffer[_0x44b759(0x1e2)](_0x1bbe20[_0x44b759(0x1c4)],_0x44b759(0x1e3));if(_0x177ac1[_0x44b759(0x1ec)](_0x44b759(0x1d9))){const _0x49730c=new TextDecoder();try{_0x2c9989=await imageHelper_1[_0x44b759(0x1d2)]['svg2img'](_0x49730c[_0x44b759(0x1e1)](_0x2c9989));}catch(_0x3cc1c2){throw new CustomError_1[(_0x44b759(0x1f0))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x4b68d0+':\x20'+_0x3cc1c2,'message_staring_params':{'icon_url':_0x4b68d0,'error':_0x3cc1c2}});}}return _0x177ac1[_0x44b759(0x1ec)](_0x44b759(0x1eb))&&(_0x2c9989=await imageHelper_1[_0x44b759(0x1d2)]['webp2PngBuffer'](_0x2c9989)),await Jimp[_0x44b759(0x1c2)](Buffer[_0x44b759(0x1e2)](_0x2c9989));}function _0x3829(_0x4cd73a,_0x315a96){const _0x1ef437=_0x1ef4();return _0x3829=function(_0x3829e3,_0x5910cb){_0x3829e3=_0x3829e3-0x1c1;let _0x3fe4c3=_0x1ef437[_0x3829e3];return _0x3fe4c3;},_0x3829(_0x4cd73a,_0x315a96);}async function loadImageFromDisk(_0x86c4bf){const _0x181590=_0x2eeb07;return await Jimp[_0x181590(0x1c2)](_0x86c4bf);}async function loadFileString(_0x4b6ea1){const _0x4cbf26=_0x2eeb07;let _0x567b83=await fs[_0x4cbf26(0x1de)][_0x4cbf26(0x1ee)](_0x4b6ea1[_0x4cbf26(0x1f1)]());return _0x567b83[_0x4cbf26(0x1f1)]();}
1
+ 'use strict';const _0x8f3652=_0x48d5;(function(_0x1473f3,_0x52562f){const _0x518ed0=_0x48d5,_0x2c5c3e=_0x1473f3();while(!![]){try{const _0x245e82=parseInt(_0x518ed0(0x1b1))/0x1*(parseInt(_0x518ed0(0x18b))/0x2)+parseInt(_0x518ed0(0x1a7))/0x3*(parseInt(_0x518ed0(0x1a8))/0x4)+-parseInt(_0x518ed0(0x1a2))/0x5+-parseInt(_0x518ed0(0x1ad))/0x6+-parseInt(_0x518ed0(0x196))/0x7*(parseInt(_0x518ed0(0x1ac))/0x8)+-parseInt(_0x518ed0(0x193))/0x9*(parseInt(_0x518ed0(0x19b))/0xa)+-parseInt(_0x518ed0(0x1b9))/0xb*(-parseInt(_0x518ed0(0x1b7))/0xc);if(_0x245e82===_0x52562f)break;else _0x2c5c3e['push'](_0x2c5c3e['shift']());}catch(_0x5db345){_0x2c5c3e['push'](_0x2c5c3e['shift']());}}}(_0x564d,0x98e9b));Object['defineProperty'](exports,_0x8f3652(0x19e),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x8f3652(0x1af)]=loadJsonFromDisk,exports[_0x8f3652(0x1bb)]=loadImageFromNet,exports[_0x8f3652(0x1ae)]=loadImageFromDisk,exports[_0x8f3652(0x194)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x8f3652(0x1bf)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x8f3652(0x1b5)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x2068da){const _0x32de37=_0x8f3652,_0x3a1061=await FetchUtils_1_1[_0x32de37(0x1a5)][_0x32de37(0x1a6)](_0x2068da,{'encoding':_0x32de37(0x1a4)});if(_0x3a1061['status']!==0xc8)throw new CustomError_1[(_0x32de37(0x18d))]({'code':0xbbc,'message':_0x32de37(0x1be)+_0x2068da+'.'+(_0x32de37(0x195)+_0x3a1061[_0x32de37(0x1ba)]+_0x32de37(0x1a3)),'message_staring_params':{'web_manifest_url':_0x2068da,'status':_0x3a1061[_0x32de37(0x1ba)]}});try{let _0x5f213e;return _0x3a1061['text']?_0x5f213e=await _0x3a1061['text']():[_0x32de37(0x199),_0x32de37(0x1b8),'br'][_0x32de37(0x1c1)](_0x3a1061[_0x32de37(0x1ab)][_0x32de37(0x1b6)])?_0x5f213e=FetchUtils_1_1[_0x32de37(0x1a5)][_0x32de37(0x1b2)](Buffer[_0x32de37(0x18c)](_0x3a1061[_0x32de37(0x19c)],_0x32de37(0x1a4)),_0x3a1061['headers'][_0x32de37(0x1b6)])[_0x32de37(0x1b3)]():_0x5f213e=Buffer[_0x32de37(0x18c)](_0x3a1061['data'],'binary')[_0x32de37(0x1b3)](),JSON['parse'](_0x5f213e['trim']());}catch(_0x53acf1){throw new CustomError_1[(_0x32de37(0x18d))]({'code':0xbbd,'message':_0x32de37(0x1bd),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x269acc){const _0x483b54=_0x8f3652,_0x5e5379=await loadFileString(_0x269acc[_0x483b54(0x1b3)]());return JSON[_0x483b54(0x190)](_0x5e5379);}async function loadImageFromNet(_0x17b795){const _0x2c47c6=_0x8f3652,_0x572d8a=await FetchUtils_1_1[_0x2c47c6(0x1a5)][_0x2c47c6(0x1a6)](_0x17b795,{'encoding':_0x2c47c6(0x1a4)});if(_0x572d8a['status']!==0xc8)throw new CustomError_1[(_0x2c47c6(0x18d))]({'code':0x7d2,'message':_0x2c47c6(0x197)+_0x572d8a[_0x2c47c6(0x1ba)],'message_staring_params':{'icon_url':_0x17b795,'status':_0x572d8a[_0x2c47c6(0x1ba)]}});const _0x2d0839=_0x572d8a['headers']['get']?_0x572d8a[_0x2c47c6(0x1ab)]['get'](_0x2c47c6(0x19a)):_0x572d8a[_0x2c47c6(0x1ab)][_0x2c47c6(0x19a)];if(!(_0x2d0839===null||_0x2d0839===void 0x0?void 0x0:_0x2d0839[_0x2c47c6(0x1c0)](_0x2c47c6(0x192))))throw new CustomError_1[(_0x2c47c6(0x18d))]({'code':0x7d3,'message':_0x2c47c6(0x1bc)+(_0x2c47c6(0x18e)+_0x2d0839+'\x22'),'message_staring_params':{'icon_url':_0x17b795,'contentType':_0x2d0839}});let _0x190c2b;_0x572d8a[_0x2c47c6(0x1a9)]?_0x190c2b=await _0x572d8a[_0x2c47c6(0x1a9)]():[_0x2c47c6(0x199),_0x2c47c6(0x1b8),'br'][_0x2c47c6(0x1c1)](_0x572d8a[_0x2c47c6(0x1ab)]['content-encoding'])?_0x190c2b=FetchUtils_1_1['fetchUtils'][_0x2c47c6(0x1b2)](Buffer[_0x2c47c6(0x18c)](_0x572d8a[_0x2c47c6(0x19c)],'binary'),_0x572d8a[_0x2c47c6(0x1ab)]['content-encoding']):_0x190c2b=Buffer['from'](_0x572d8a[_0x2c47c6(0x19c)],_0x2c47c6(0x1a4));if(_0x2d0839[_0x2c47c6(0x1c0)](_0x2c47c6(0x198))){const _0x3b4ef9=new TextDecoder();try{_0x190c2b=await imageHelper_1[_0x2c47c6(0x19d)][_0x2c47c6(0x1a1)](_0x3b4ef9[_0x2c47c6(0x19f)](_0x190c2b));}catch(_0x339d0e){throw new CustomError_1[(_0x2c47c6(0x18d))]({'code':0x7d4,'message':_0x2c47c6(0x191)+_0x17b795+':\x20'+_0x339d0e,'message_staring_params':{'icon_url':_0x17b795,'error':_0x339d0e}});}}return _0x2d0839['startsWith'](_0x2c47c6(0x1a0))&&(_0x190c2b=await imageHelper_1[_0x2c47c6(0x19d)][_0x2c47c6(0x1aa)](_0x190c2b)),await Jimp[_0x2c47c6(0x1b4)](Buffer['from'](_0x190c2b));}function _0x48d5(_0x4b5d32,_0x3b558d){const _0x564d13=_0x564d();return _0x48d5=function(_0x48d530,_0x374141){_0x48d530=_0x48d530-0x18b;let _0x32eab4=_0x564d13[_0x48d530];return _0x32eab4;},_0x48d5(_0x4b5d32,_0x3b558d);}function _0x564d(){const _0x5a487b=['arrayBuffer','webp2PngBuffer','headers','8ZKRYTQ','5707554HblRKO','loadImageFromDisk','loadJsonFromDisk','promises','13ujAsmh','decompressResponseBuffer','toString','read','jimp','content-encoding','105672NzuHHi','deflate','2783RwfSYW','status','loadImageFromNet','Received\x20icon\x20with\x20invalid\x20Content-Type.','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','Failed\x20to\x20download\x20Web\x20Manifest\x20','../utils/FetchUtils-1','startsWith','includes','45238HokQlO','from','CustomError','\x20Responded\x20with\x20Content-Type\x20\x22','readFile','parse','Problem\x20reading\x20','image/','549Znlxpk','loadFileString','The\x20response\x20status\x20is\x20','1464218QWynrS','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','image/svg','gzip','content-type','88940IVhLXy','data','ImageHelper','__esModule','decode','image/webp','svg2img','4069485xcdSYC',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','binary','fetchUtils','fetch','3QHnQlh','2484920LNRRJq'];_0x564d=function(){return _0x5a487b;};return _0x564d();}async function loadImageFromDisk(_0x20f88d){const _0xfad974=_0x8f3652;return await Jimp[_0xfad974(0x1b4)](_0x20f88d);}async function loadFileString(_0x174bca){const _0x5b78cc=_0x8f3652;let _0x251877=await fs[_0x5b78cc(0x1b0)][_0x5b78cc(0x18f)](_0x174bca[_0x5b78cc(0x1b3)]());return _0x251877[_0x5b78cc(0x1b3)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x131f66=_0xed1f;function _0xed1f(_0x25b952,_0x5b9427){var _0x1cec33=_0x1cec();return _0xed1f=function(_0xed1fac,_0x2dcba9){_0xed1fac=_0xed1fac-0x119;var _0x1c2bfe=_0x1cec33[_0xed1fac];return _0x1c2bfe;},_0xed1f(_0x25b952,_0x5b9427);}(function(_0x14cf84,_0x14c598){var _0x41cb03=_0xed1f,_0x305ab5=_0x14cf84();while(!![]){try{var _0x4ba46b=parseInt(_0x41cb03(0x11a))/0x1*(-parseInt(_0x41cb03(0x11d))/0x2)+parseInt(_0x41cb03(0x11c))/0x3+parseInt(_0x41cb03(0x11f))/0x4*(parseInt(_0x41cb03(0x124))/0x5)+parseInt(_0x41cb03(0x11b))/0x6+parseInt(_0x41cb03(0x11e))/0x7+-parseInt(_0x41cb03(0x119))/0x8+-parseInt(_0x41cb03(0x120))/0x9;if(_0x4ba46b===_0x14c598)break;else _0x305ab5['push'](_0x305ab5['shift']());}catch(_0x571056){_0x305ab5['push'](_0x305ab5['shift']());}}}(_0x1cec,0x80376));Object[_0x131f66(0x127)](exports,_0x131f66(0x122),{'value':!![]}),exports[_0x131f66(0x126)]=void 0x0;class CustomError extends Error{constructor(_0x35f115,_0x2317ec){var _0x591ff6=_0x131f66;super(JSON[_0x591ff6(0x125)](_0x35f115)),this[_0x591ff6(0x123)]=_0x35f115,this['type']=_0x2317ec||_0x591ff6(0x121);}}exports[_0x131f66(0x126)]=CustomError;function _0x1cec(){var _0x4210c0=['__esModule','customMessage','3161005JjWznW','stringify','CustomError','defineProperty','6063336qzKIjk','12473nnRUNj','3828060zOTskb','829656VCNmAB','124AmXytv','5482799kqgHSa','4FABHNp','2462427iKgCvA','info'];_0x1cec=function(){return _0x4210c0;};return _0x1cec();}
1
+ 'use strict';var _0x4a60eb=_0x1db2;(function(_0x2409af,_0x487500){var _0x5c5511=_0x1db2,_0x50545a=_0x2409af();while(!![]){try{var _0x2a2be1=-parseInt(_0x5c5511(0x1b2))/0x1*(parseInt(_0x5c5511(0x1ab))/0x2)+parseInt(_0x5c5511(0x1aa))/0x3*(-parseInt(_0x5c5511(0x1b5))/0x4)+-parseInt(_0x5c5511(0x1b4))/0x5+parseInt(_0x5c5511(0x1b1))/0x6*(-parseInt(_0x5c5511(0x1ae))/0x7)+-parseInt(_0x5c5511(0x1b6))/0x8+-parseInt(_0x5c5511(0x1ad))/0x9*(-parseInt(_0x5c5511(0x1a8))/0xa)+parseInt(_0x5c5511(0x1b8))/0xb;if(_0x2a2be1===_0x487500)break;else _0x50545a['push'](_0x50545a['shift']());}catch(_0x383235){_0x50545a['push'](_0x50545a['shift']());}}}(_0x23ef,0x623f8));Object[_0x4a60eb(0x1b0)](exports,_0x4a60eb(0x1b7),{'value':!![]}),exports[_0x4a60eb(0x1b3)]=void 0x0;class CustomError extends Error{constructor(_0xf39d42,_0x20e6d1){var _0x543054=_0x4a60eb;super(JSON['stringify'](_0xf39d42)),this[_0x543054(0x1af)]=_0xf39d42,this[_0x543054(0x1a9)]=_0x20e6d1||_0x543054(0x1ac);}}exports[_0x4a60eb(0x1b3)]=CustomError;function _0x1db2(_0x184f33,_0x18c720){var _0x23ef81=_0x23ef();return _0x1db2=function(_0x1db2af,_0x36cc2b){_0x1db2af=_0x1db2af-0x1a8;var _0x153350=_0x23ef81[_0x1db2af];return _0x153350;},_0x1db2(_0x184f33,_0x18c720);}function _0x23ef(){var _0x53ffb4=['type','6IizmMa','1438NJqcAy','info','9affZEe','49zommJQ','customMessage','defineProperty','347610HBEmKx','1013ulpXpr','CustomError','1407035UusCwu','1429144auHuGw','4715168wRCnNz','__esModule','34264967JqdPnK','66940mVJEAt'];_0x23ef=function(){return _0x53ffb4;};return _0x23ef();}
@@ -1 +1 @@
1
- 'use strict';const _0x34644f=_0x6c57;(function(_0x4fbab9,_0x31f86a){const _0x336285=_0x6c57,_0x48f687=_0x4fbab9();while(!![]){try{const _0x341ca7=parseInt(_0x336285(0xdb))/0x1*(-parseInt(_0x336285(0xd0))/0x2)+-parseInt(_0x336285(0xd3))/0x3*(-parseInt(_0x336285(0xdf))/0x4)+parseInt(_0x336285(0xde))/0x5*(parseInt(_0x336285(0xda))/0x6)+-parseInt(_0x336285(0xdd))/0x7+parseInt(_0x336285(0xd5))/0x8*(parseInt(_0x336285(0xd1))/0x9)+-parseInt(_0x336285(0xcd))/0xa+parseInt(_0x336285(0xce))/0xb;if(_0x341ca7===_0x31f86a)break;else _0x48f687['push'](_0x48f687['shift']());}catch(_0x468012){_0x48f687['push'](_0x48f687['shift']());}}}(_0x1df3,0x8d337));function _0x6c57(_0x3fee80,_0x5d6169){const _0x1df37a=_0x1df3();return _0x6c57=function(_0x6c5787,_0x94aab7){_0x6c5787=_0x6c5787-0xcc;let _0x4beb1a=_0x1df37a[_0x6c5787];return _0x4beb1a;},_0x6c57(_0x3fee80,_0x5d6169);}function _0x1df3(){const _0x5f2f6e=['setDownloadFile','downloadFile','6JCtRWq','2DAAnrC','setFetch','3495107LfoyrG','5576470SLsZJk','4lMeyVU','decompressResponseBuffer','7398670fbwAUu','3327368BABFXr','fetch','962806jqYpyU','672669vzjHPg','setDecompressResponseBuffer','2742315AIvOMv','fetchEngine','48rxgaAH','defineProperty','fetchUtils'];_0x1df3=function(){return _0x5f2f6e;};return _0x1df3();}Object[_0x34644f(0xd6)](exports,'__esModule',{'value':!![]}),exports[_0x34644f(0xd7)]=void 0x0;class FetchUtils{constructor(){const _0x3a19ec=_0x34644f;this['fetchEngine']=null,this[_0x3a19ec(0xcf)]=null,this['downloadFile']=null,this['decompressResponseBuffer']=null;}['setFetchEngine'](_0x56b12a){const _0x206a38=_0x34644f;this[_0x206a38(0xd4)]=_0x56b12a;}[_0x34644f(0xdc)](_0x575e4a){this['fetch']=_0x575e4a;}[_0x34644f(0xd8)](_0x1dd5f9){const _0x87541=_0x34644f;this[_0x87541(0xd9)]=_0x1dd5f9;}[_0x34644f(0xd2)](_0x22f1e2){const _0x3c8c5c=_0x34644f;this[_0x3c8c5c(0xcc)]=_0x22f1e2;}}const fetchUtils=new FetchUtils();exports[_0x34644f(0xd7)]=fetchUtils;
1
+ 'use strict';function _0x35cb(_0x1dbf3c,_0x12d380){const _0x3cc971=_0x3cc9();return _0x35cb=function(_0x35cbf6,_0x462e0c){_0x35cbf6=_0x35cbf6-0x1e9;let _0x188544=_0x3cc971[_0x35cbf6];return _0x188544;},_0x35cb(_0x1dbf3c,_0x12d380);}function _0x3cc9(){const _0x56dbd2=['setDecompressResponseBuffer','2872588EoPQXh','7DkQEqT','__esModule','5596HUPPGN','decompressResponseBuffer','setFetch','fetchUtils','setDownloadFile','2477336uoETsq','4792260EMiVdN','2393250Jqsjqx','downloadFile','10NHQunP','761970KjzeEv','defineProperty','fetch','12622311vQzuav','1587jEeNhi','fetchEngine','setFetchEngine'];_0x3cc9=function(){return _0x56dbd2;};return _0x3cc9();}const _0x37f902=_0x35cb;(function(_0x1a9871,_0x41d5c4){const _0x38cd94=_0x35cb,_0x3d848a=_0x1a9871();while(!![]){try{const _0x17398e=parseInt(_0x38cd94(0x1f5))/0x1+-parseInt(_0x38cd94(0x1fd))/0x2+parseInt(_0x38cd94(0x1f9))/0x3*(-parseInt(_0x38cd94(0x1eb))/0x4)+parseInt(_0x38cd94(0x1f1))/0x5+-parseInt(_0x38cd94(0x1f2))/0x6+-parseInt(_0x38cd94(0x1e9))/0x7*(-parseInt(_0x38cd94(0x1f0))/0x8)+-parseInt(_0x38cd94(0x1f8))/0x9*(-parseInt(_0x38cd94(0x1f4))/0xa);if(_0x17398e===_0x41d5c4)break;else _0x3d848a['push'](_0x3d848a['shift']());}catch(_0xa1b921){_0x3d848a['push'](_0x3d848a['shift']());}}}(_0x3cc9,0xd14f0));Object[_0x37f902(0x1f6)](exports,_0x37f902(0x1ea),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0x1cd988=_0x37f902;this[_0x1cd988(0x1fa)]=null,this['fetch']=null,this[_0x1cd988(0x1f3)]=null,this[_0x1cd988(0x1ec)]=null;}[_0x37f902(0x1fb)](_0x5073bf){const _0x6ea08f=_0x37f902;this[_0x6ea08f(0x1fa)]=_0x5073bf;}[_0x37f902(0x1ed)](_0x25a9cb){const _0x476c03=_0x37f902;this[_0x476c03(0x1f7)]=_0x25a9cb;}[_0x37f902(0x1ef)](_0x37b305){this['downloadFile']=_0x37b305;}[_0x37f902(0x1fc)](_0x263cfd){this['decompressResponseBuffer']=_0x263cfd;}}const fetchUtils=new FetchUtils();exports[_0x37f902(0x1ee)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';function _0xaee5(_0xefa2a2,_0x2bce17){var _0x3b7268=_0x3b72();return _0xaee5=function(_0xaee5ef,_0x2aedf2){_0xaee5ef=_0xaee5ef-0xd0;var _0x37e6b6=_0x3b7268[_0xaee5ef];return _0x37e6b6;},_0xaee5(_0xefa2a2,_0x2bce17);}var _0x2ad146=_0xaee5;function _0x3b72(){var _0x522f53=['__esModule','debug','tag','verbose','294176CcdaHp','\x1b[31m','1lcRmWy','red','info','476430mAaSFD','warn','output','1266264lQSIpg','\x1b[0m','2075520CIwHXy','11GHVJLS','175146kDAxGx','12TTQWXb','error','225ytaPdQ','log','prefix','newLog','yellow','\x1b[7m','5244225BPSAnR','ERROR\x20','dim','WARNING\x20','ConsoleLog','317852zldnnL'];_0x3b72=function(){return _0x522f53;};return _0x3b72();}(function(_0x12822b,_0xb41550){var _0x561ead=_0xaee5,_0xbcb48f=_0x12822b();while(!![]){try{var _0x33c203=-parseInt(_0x561ead(0xe4))/0x1*(parseInt(_0x561ead(0xdd))/0x2)+parseInt(_0x561ead(0xee))/0x3+-parseInt(_0x561ead(0xea))/0x4+-parseInt(_0x561ead(0xec))/0x5*(parseInt(_0x561ead(0xd0))/0x6)+parseInt(_0x561ead(0xd8))/0x7+parseInt(_0x561ead(0xe2))/0x8*(parseInt(_0x561ead(0xd2))/0x9)+-parseInt(_0x561ead(0xe7))/0xa*(-parseInt(_0x561ead(0xed))/0xb);if(_0x33c203===_0xb41550)break;else _0xbcb48f['push'](_0xbcb48f['shift']());}catch(_0x19833a){_0xbcb48f['push'](_0xbcb48f['shift']());}}}(_0x3b72,0x72740));Object['defineProperty'](exports,_0x2ad146(0xde),{'value':!![]}),exports[_0x2ad146(0xdc)]=void 0x0;class ConsoleLog{constructor(_0x50e02b='',_0xa72421=![],_0x4b904c=console){var _0x3d68a5=_0x2ad146;this[_0x3d68a5(0xe0)]=_0x50e02b,this[_0x3d68a5(0xe1)]=_0xa72421,this[_0x3d68a5(0xd4)]=this['inverse'](_0x50e02b),this[_0x3d68a5(0xe9)]=_0x4b904c;}[_0x2ad146(0xdf)](_0x563411,..._0x3375ef){var _0x4d165b=_0x2ad146;if(!this[_0x4d165b(0xe1)])return;this[_0x4d165b(0xd3)](this[_0x4d165b(0xe9)]['log'],this['dim'](_0x563411),..._0x3375ef);}[_0x2ad146(0xe6)](_0x3aef23,..._0x372db7){var _0xf611f0=_0x2ad146;this['log'](this[_0xf611f0(0xe9)][_0xf611f0(0xd3)],_0x3aef23,..._0x372db7);}[_0x2ad146(0xe8)](_0x3ede8f,..._0x4e1dbe){var _0x66ecd7=_0x2ad146;this[_0x66ecd7(0xd3)](this['output'][_0x66ecd7(0xe8)],this[_0x66ecd7(0xd6)](_0x66ecd7(0xdb)+_0x3ede8f),..._0x4e1dbe);}[_0x2ad146(0xd1)](_0x2b7870,..._0x6ad6af){var _0x23d949=_0x2ad146;this[_0x23d949(0xe9)][_0x23d949(0xd1)]('\x0a'),this[_0x23d949(0xd3)](this['output'][_0x23d949(0xd1)],this[_0x23d949(0xe5)](_0x23d949(0xd9)+_0x2b7870),..._0x6ad6af),this[_0x23d949(0xe9)][_0x23d949(0xd1)]('\x0a');}['setVerbose'](_0x56372d){this['verbose']=_0x56372d;}[_0x2ad146(0xd5)](_0x562166){var _0x2c608d=_0x2ad146;return this['tag']&&(_0x562166=this[_0x2c608d(0xe0)]+'\x20'+_0x562166),new ConsoleLog(_0x562166,this[_0x2c608d(0xe1)],this[_0x2c608d(0xe9)]);}['log'](_0x5f344e,_0xcde544,..._0x2cadf0){var _0x53bf61=_0x2ad146;this[_0x53bf61(0xd4)]&&(_0xcde544=this[_0x53bf61(0xd4)]+'\x20'+_0xcde544),_0x2cadf0?_0x5f344e(...[_0xcde544]['concat'](_0x2cadf0)):_0x5f344e(_0xcde544);}['inverse'](_0x134b37){var _0x141b63=_0x2ad146;return _0x141b63(0xd7)+_0x134b37+'\x1b[0m';}[_0x2ad146(0xda)](_0x486949){var _0x5e7a3b=_0x2ad146;return'\x1b[36m'+_0x486949+_0x5e7a3b(0xeb);}[_0x2ad146(0xd6)](_0x19b54f){var _0x3b276f=_0x2ad146;return'\x1b[33m'+_0x19b54f+_0x3b276f(0xeb);}['red'](_0x3e7cf3){var _0x251716=_0x2ad146;return _0x251716(0xe3)+_0x3e7cf3+_0x251716(0xeb);}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x184739=_0x3f2a;function _0x37fd(){var _0x4e9dc4=['red','warn','defineProperty','ConsoleLog','concat','__esModule','ERROR\x20','1119BQprqT','\x1b[7m','485981exLAPm','87456JxhcIe','debug','setVerbose','162alYLbX','inverse','3073180oBgGgR','\x1b[33m','\x1b[36m','newLog','2858DYtWmd','759448GzAqMq','output','verbose','dim','error','\x1b[31m','tag','prefix','log','\x1b[0m','800620wEZdnb','yellow','info','4628UQhSyd','21XIfjux'];_0x37fd=function(){return _0x4e9dc4;};return _0x37fd();}function _0x3f2a(_0x13e7a5,_0x348543){var _0x37fdb3=_0x37fd();return _0x3f2a=function(_0x3f2ad9,_0x6b5111){_0x3f2ad9=_0x3f2ad9-0xff;var _0x41d38c=_0x37fdb3[_0x3f2ad9];return _0x41d38c;},_0x3f2a(_0x13e7a5,_0x348543);}(function(_0x2e2a71,_0x376d33){var _0x3cf1b6=_0x3f2a,_0x2e0ca5=_0x2e2a71();while(!![]){try{var _0x52bb33=parseInt(_0x3cf1b6(0x110))/0x1+parseInt(_0x3cf1b6(0x11a))/0x2*(parseInt(_0x3cf1b6(0x10e))/0x3)+parseInt(_0x3cf1b6(0x105))/0x4+parseInt(_0x3cf1b6(0x116))/0x5+-parseInt(_0x3cf1b6(0x111))/0x6*(-parseInt(_0x3cf1b6(0x106))/0x7)+parseInt(_0x3cf1b6(0x11b))/0x8+parseInt(_0x3cf1b6(0x114))/0x9*(-parseInt(_0x3cf1b6(0x102))/0xa);if(_0x52bb33===_0x376d33)break;else _0x2e0ca5['push'](_0x2e0ca5['shift']());}catch(_0x4aa4c1){_0x2e0ca5['push'](_0x2e0ca5['shift']());}}}(_0x37fd,0x5122e));Object[_0x184739(0x109)](exports,_0x184739(0x10c),{'value':!![]}),exports[_0x184739(0x10a)]=void 0x0;class ConsoleLog{constructor(_0x4450b8='',_0x333ff2=![],_0x5b5dd6=console){var _0xb5cf62=_0x184739;this[_0xb5cf62(0x121)]=_0x4450b8,this[_0xb5cf62(0x11d)]=_0x333ff2,this[_0xb5cf62(0xff)]=this[_0xb5cf62(0x115)](_0x4450b8),this[_0xb5cf62(0x11c)]=_0x5b5dd6;}[_0x184739(0x112)](_0x5e01c8,..._0x3f05a6){var _0x57a6c6=_0x184739;if(!this[_0x57a6c6(0x11d)])return;this[_0x57a6c6(0x100)](this[_0x57a6c6(0x11c)][_0x57a6c6(0x100)],this['dim'](_0x5e01c8),..._0x3f05a6);}[_0x184739(0x104)](_0x472c96,..._0x529391){var _0x15715c=_0x184739;this[_0x15715c(0x100)](this[_0x15715c(0x11c)]['log'],_0x472c96,..._0x529391);}[_0x184739(0x108)](_0x52628c,..._0x3a01fd){var _0x1c8c34=_0x184739;this[_0x1c8c34(0x100)](this[_0x1c8c34(0x11c)]['warn'],this[_0x1c8c34(0x103)]('WARNING\x20'+_0x52628c),..._0x3a01fd);}[_0x184739(0x11f)](_0x128a10,..._0x74b542){var _0x31faa1=_0x184739;this[_0x31faa1(0x11c)][_0x31faa1(0x11f)]('\x0a'),this[_0x31faa1(0x100)](this[_0x31faa1(0x11c)][_0x31faa1(0x11f)],this['red'](_0x31faa1(0x10d)+_0x128a10),..._0x74b542),this[_0x31faa1(0x11c)][_0x31faa1(0x11f)]('\x0a');}[_0x184739(0x113)](_0x7ed4df){this['verbose']=_0x7ed4df;}[_0x184739(0x119)](_0x91811d){var _0x26482e=_0x184739;return this[_0x26482e(0x121)]&&(_0x91811d=this[_0x26482e(0x121)]+'\x20'+_0x91811d),new ConsoleLog(_0x91811d,this['verbose'],this[_0x26482e(0x11c)]);}[_0x184739(0x100)](_0x6f2e42,_0x21ffdb,..._0xec7b8d){var _0x275d59=_0x184739;this['prefix']&&(_0x21ffdb=this[_0x275d59(0xff)]+'\x20'+_0x21ffdb),_0xec7b8d?_0x6f2e42(...[_0x21ffdb][_0x275d59(0x10b)](_0xec7b8d)):_0x6f2e42(_0x21ffdb);}['inverse'](_0x4767ff){var _0x1b6dd5=_0x184739;return _0x1b6dd5(0x10f)+_0x4767ff+'\x1b[0m';}[_0x184739(0x11e)](_0x5d6fc3){var _0x347149=_0x184739;return _0x347149(0x118)+_0x5d6fc3+_0x347149(0x101);}[_0x184739(0x103)](_0x3b1c74){var _0x5b83b5=_0x184739;return _0x5b83b5(0x117)+_0x3b1c74+_0x5b83b5(0x101);}[_0x184739(0x107)](_0x54ecf6){var _0x2b6ff6=_0x184739;return _0x2b6ff6(0x120)+_0x54ecf6+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x1eabbe=_0x3b92;(function(_0x194bfd,_0x2c78a8){const _0x65d0db=_0x3b92,_0x259859=_0x194bfd();while(!![]){try{const _0x5774a7=-parseInt(_0x65d0db(0x127))/0x1*(-parseInt(_0x65d0db(0x12e))/0x2)+-parseInt(_0x65d0db(0x131))/0x3*(-parseInt(_0x65d0db(0x129))/0x4)+-parseInt(_0x65d0db(0x12a))/0x5+-parseInt(_0x65d0db(0x12b))/0x6+parseInt(_0x65d0db(0x137))/0x7+-parseInt(_0x65d0db(0x130))/0x8*(-parseInt(_0x65d0db(0x12d))/0x9)+parseInt(_0x65d0db(0x125))/0xa;if(_0x5774a7===_0x2c78a8)break;else _0x259859['push'](_0x259859['shift']());}catch(_0x2327ad){_0x259859['push'](_0x259859['shift']());}}}(_0x5f5d,0xdd3c7));function _0x3b92(_0x2c80de,_0x3b09b3){const _0x5f5d13=_0x5f5d();return _0x3b92=function(_0x3b92d8,_0x471a36){_0x3b92d8=_0x3b92d8-0x11e;let _0x4eaf7e=_0x5f5d13[_0x3b92d8];return _0x4eaf7e;},_0x3b92(_0x2c80de,_0x3b09b3);}Object[_0x1eabbe(0x12c)](exports,'__esModule',{'value':!![]}),exports[_0x1eabbe(0x135)]=fetch,exports['downloadFile']=downloadFile,exports[_0x1eabbe(0x11e)]=decompressResponseBuffer;const fetch_h2_1=require(_0x1eabbe(0x126)),fs=require('fs'),zlib=require(_0x1eabbe(0x136)),userAgent=_0x1eabbe(0x124),fetchh2Ctx=(0x0,fetch_h2_1[_0x1eabbe(0x122)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x1eabbe(0x135)];function _0x5f5d(){const _0x385f7a=['defineProperty','9EomloA','274tIgtap','finish','7852120hldDEU','76974UedEbN','Z_SYNC_FLUSH','pipe','get','fetch','zlib','2677143ZdEqfr','headers','Content-Length','brotliDecompressSync','follow','decompressResponseBuffer','createWriteStream','length','readable','context','test','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','3847850SNZxCf','fetch-h2','4061pgpySo','constants','160HiPKmQ','4929935JRbiGB','8635536KlNekf'];_0x5f5d=function(){return _0x385f7a;};return _0x5f5d();}async function fetch(_0x10fac7,_0x1b8b7b){const _0x5795fc=_0x1eabbe;return await fetchh2(_0x10fac7,_0x1b8b7b?{'redirect':'follow',..._0x1b8b7b}:{'redirect':_0x5795fc(0x13b)});}async function downloadFile(_0x499015,_0xfeb467,_0x369f00){const _0x53bd73=_0x1eabbe;let _0x26bf46,_0x112217;_0x26bf46=await fetchh2(_0x499015,{'redirect':_0x53bd73(0x13b)}),_0x112217=await _0x26bf46[_0x53bd73(0x121)]();const _0x45c7e9=_0x26bf46[_0x53bd73(0x138)][_0x53bd73(0x134)](_0x53bd73(0x139)),_0x33eb08=_0x45c7e9?parseInt(_0x45c7e9):-0x1,_0x1447ba=fs[_0x53bd73(0x11f)](_0xfeb467);let _0x2c4f65=0x0;await new Promise((_0x28d12f,_0x45c467)=>{const _0x3bd18d=_0x53bd73;_0x112217[_0x3bd18d(0x133)](_0x1447ba),_0x369f00&&_0x112217['on']('data',_0xe36282=>{const _0x23eabd=_0x3bd18d;_0x2c4f65=_0x2c4f65+_0xe36282[_0x23eabd(0x120)],_0x369f00(_0x2c4f65,_0x33eb08);}),_0x112217['on']('error',_0xd4736a=>{_0x45c467(_0xd4736a);}),_0x1447ba['on'](_0x3bd18d(0x12f),()=>{_0x28d12f();});});}function decompressResponseBuffer(_0x450418,_0x2e92b1){const _0x4e7d06=_0x1eabbe;let _0x21c488=_0x450418;if(/\bgzip\b/['test'](_0x2e92b1)||/\bdeflate\b/['test'](_0x2e92b1))_0x21c488=zlib['unzipSync'](_0x450418,{'flush':zlib[_0x4e7d06(0x128)]['Z_SYNC_FLUSH'],'finishFlush':zlib[_0x4e7d06(0x128)][_0x4e7d06(0x132)]});else/\bbr\b/[_0x4e7d06(0x123)](_0x2e92b1)&&(_0x21c488=zlib[_0x4e7d06(0x13a)](_0x450418));return _0x21c488;}
1
+ 'use strict';const _0x476c5f=_0x1627;(function(_0x499047,_0x23a287){const _0x2e00ce=_0x1627,_0x438687=_0x499047();while(!![]){try{const _0x5ed822=-parseInt(_0x2e00ce(0x146))/0x1+parseInt(_0x2e00ce(0x135))/0x2+-parseInt(_0x2e00ce(0x138))/0x3*(-parseInt(_0x2e00ce(0x143))/0x4)+parseInt(_0x2e00ce(0x149))/0x5+-parseInt(_0x2e00ce(0x130))/0x6*(-parseInt(_0x2e00ce(0x141))/0x7)+-parseInt(_0x2e00ce(0x13f))/0x8*(-parseInt(_0x2e00ce(0x148))/0x9)+-parseInt(_0x2e00ce(0x147))/0xa;if(_0x5ed822===_0x23a287)break;else _0x438687['push'](_0x438687['shift']());}catch(_0x50fb4f){_0x438687['push'](_0x438687['shift']());}}}(_0x514a,0x3e21f));function _0x1627(_0x4da55d,_0x392613){const _0x514a26=_0x514a();return _0x1627=function(_0x1627fc,_0x244499){_0x1627fc=_0x1627fc-0x12f;let _0x991e2f=_0x514a26[_0x1627fc];return _0x991e2f;},_0x1627(_0x4da55d,_0x392613);}function _0x514a(){const _0x276e31=['18EIDYeH','566905GFGKmn','brotliDecompressSync','defineProperty','unzipSync','readable','150UotbtR','zlib','test','fetch','error','992382BvkZQM','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','headers','411lNuCkj','Content-Length','data','downloadFile','context','finish','Z_SYNC_FLUSH','618632JgGYcG','constants','47992LUmRRB','follow','9332inrljl','get','__esModule','35249zDGSPl','9655070DBCbmU'];_0x514a=function(){return _0x276e31;};return _0x514a();}Object[_0x476c5f(0x14b)](exports,_0x476c5f(0x145),{'value':!![]}),exports['fetch']=fetch,exports[_0x476c5f(0x13b)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x476c5f(0x131)),userAgent=_0x476c5f(0x136),fetchh2Ctx=(0x0,fetch_h2_1[_0x476c5f(0x13c)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x476c5f(0x133)];async function fetch(_0x4c92d4,_0x5ebd94){const _0x53d425=_0x476c5f;return await fetchh2(_0x4c92d4,_0x5ebd94?{'redirect':_0x53d425(0x142),..._0x5ebd94}:{'redirect':'follow'});}async function downloadFile(_0x5a99f3,_0x515e5c,_0x44954f){const _0x18e7be=_0x476c5f;let _0x34e62c,_0x5baff8;_0x34e62c=await fetchh2(_0x5a99f3,{'redirect':_0x18e7be(0x142)}),_0x5baff8=await _0x34e62c[_0x18e7be(0x12f)]();const _0x22eb42=_0x34e62c[_0x18e7be(0x137)][_0x18e7be(0x144)](_0x18e7be(0x139)),_0x259f78=_0x22eb42?parseInt(_0x22eb42):-0x1,_0xff41a9=fs['createWriteStream'](_0x515e5c);let _0xc70408=0x0;await new Promise((_0x12ce1d,_0x52c398)=>{const _0x40073e=_0x18e7be;_0x5baff8['pipe'](_0xff41a9),_0x44954f&&_0x5baff8['on'](_0x40073e(0x13a),_0x576418=>{_0xc70408=_0xc70408+_0x576418['length'],_0x44954f(_0xc70408,_0x259f78);}),_0x5baff8['on'](_0x40073e(0x134),_0x45fa56=>{_0x52c398(_0x45fa56);}),_0xff41a9['on'](_0x40073e(0x13d),()=>{_0x12ce1d();});});}function decompressResponseBuffer(_0x4e680b,_0xfbdb4b){const _0x4c883a=_0x476c5f;let _0x28df73=_0x4e680b;if(/\bgzip\b/['test'](_0xfbdb4b)||/\bdeflate\b/['test'](_0xfbdb4b))_0x28df73=zlib[_0x4c883a(0x14c)](_0x4e680b,{'flush':zlib[_0x4c883a(0x140)][_0x4c883a(0x13e)],'finishFlush':zlib[_0x4c883a(0x140)][_0x4c883a(0x13e)]});else/\bbr\b/[_0x4c883a(0x132)](_0xfbdb4b)&&(_0x28df73=zlib[_0x4c883a(0x14a)](_0x4e680b));return _0x28df73;}
@@ -1 +1 @@
1
- 'use strict';const _0x488d8b=_0x472f;(function(_0x4fbf9b,_0x3cf871){const _0x36f3ff=_0x472f,_0x30d6b2=_0x4fbf9b();while(!![]){try{const _0x2800ad=-parseInt(_0x36f3ff(0x1a3))/0x1+parseInt(_0x36f3ff(0x18c))/0x2+-parseInt(_0x36f3ff(0x192))/0x3*(parseInt(_0x36f3ff(0x176))/0x4)+-parseInt(_0x36f3ff(0x171))/0x5*(parseInt(_0x36f3ff(0x17e))/0x6)+parseInt(_0x36f3ff(0x1a6))/0x7*(-parseInt(_0x36f3ff(0x188))/0x8)+-parseInt(_0x36f3ff(0x174))/0x9+-parseInt(_0x36f3ff(0x18f))/0xa*(-parseInt(_0x36f3ff(0x19e))/0xb);if(_0x2800ad===_0x3cf871)break;else _0x30d6b2['push'](_0x30d6b2['shift']());}catch(_0xd10779){_0x30d6b2['push'](_0x30d6b2['shift']());}}}(_0x923b,0xc979f));function _0x472f(_0x3da5a3,_0x5dff51){const _0x923ba3=_0x923b();return _0x472f=function(_0x472f16,_0x441054){_0x472f16=_0x472f16-0x168;let _0x26c7b8=_0x923ba3[_0x472f16];return _0x26c7b8;},_0x472f(_0x3da5a3,_0x5dff51);}function _0x923b(){const _0x593132=['--manifest','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','\x20URL\x20','Organization\x20(eg:\x20Company\x20Name):','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x22.\x0a','Downloading\x20the\x20Android\x20SDK...','2622osnIwb','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Invalid\x20icon\x20path:\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','yellow','Downloading\x20Android\x20SDK\x20to\x20','messages','cyan','Downloading\x20the\x20JDK\x2011\x20Sources...','WARNING:\x20','165144oORatF','https://play.google.com/console/about/families/','bold','\x20Check\x20out\x20the\x20Play\x20for','1360194nGMYSV','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','green','40pEDAke','Decompressing\x20the\x20JDK\x2011\x20Binaries...','redirected\x20to\x20','3lKchMh','Minimum\x20length\x20is\x20','--manifest-url','Maximum\x20length\x20is\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Downloading\x20the\x20JDK\x2011\x20Binaries...','Country\x20(2\x20letter\x20code):','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x0aSigning\x20key\x20creation','\x20can\x20not\x20be\x20accessible.','defineProperty','Generating\x20Android\x20Project.','14262446hMbRnA','Downloading\x20JDK\x2011\x20to\x20','https://developer.android.com/studio/terms.html','Password\x20for\x20the\x20Key:','Decompressing\x20the\x20JDK\x2011\x20Sources...','577916RbtWlJ','\x0aBuilding\x20the\x20Android\x20App...','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','497jwtlVw','\x20but\x20input\x20is\x20','Invalid\x20integer\x20provided:\x20','URL\x20','\x20and\x20alias\x20','(5/5)','Decompressing\x20the\x20Android\x20SDK...','Icon\x20URL:','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Missing\x20required\x20parameter\x20','\x0aProject\x20generated\x20successfully.','--url','\x20or\x20','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Password\x20for\x20the\x20Key\x20Store:','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','underline','8905RNvNEW','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x0aSigning\x20key\x20information\x20','10838403xCCaRY','\x09-\x20Generated\x20Android\x20APK\x20at\x20','4060244WIawDH'];_0x923b=function(){return _0x593132;};return _0x923b();}Object[_0x488d8b(0x19c)](exports,'__esModule',{'value':!![]}),exports[_0x488d8b(0x184)]=void 0x0;const colors_1=require('colors');exports[_0x488d8b(0x184)]={'promptInstallJdk':_0x488d8b(0x196),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x488d8b(0x19f),'messageDownloadJdkSrc':_0x488d8b(0x186),'messageDecompressJdkSrc':_0x488d8b(0x1a2),'messageDownloadJdkBin':_0x488d8b(0x197),'messageDecompressJdkBin':_0x488d8b(0x190),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x488d8b(0x183),'errorSdkTerms':_0x488d8b(0x16f),'promptSdkTerms':_0x488d8b(0x17b)+(0x0,colors_1[_0x488d8b(0x170)])(_0x488d8b(0x1a0))+'?','messageDownloadAndroidSdk':_0x488d8b(0x17d),'messageDecompressAndroidSdk':_0x488d8b(0x1ac),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+'license\x20agreement.','messageGeneratingAndroidProject':_0x488d8b(0x19d),'messageCheckSuccess':(_0x20b0e9,_0x21e129)=>{const _0x4102a3=_0x488d8b;return _0x4102a3(0x179)+(0x0,colors_1[_0x4102a3(0x185)])(_0x20b0e9)+'\x20'+(_0x21e129?_0x4102a3(0x191)+(0x0,colors_1[_0x4102a3(0x185)])(_0x21e129):'')+_0x4102a3(0x17f);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x194))+_0x488d8b(0x16b)+(0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x177))),'messageInitializingWebManifest':_0x48d793=>{const _0x4ff473=_0x488d8b;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x4ff473(0x185)])(_0x48d793);},'messageInitializingLocalManifest':_0x525834=>{const _0xeefe8e=_0x488d8b;return _0xeefe8e(0x16c)+(0x0,colors_1[_0xeefe8e(0x185)])(_0x525834);},'messageInvalidIcon':_0x29b70f=>{const _0x4dc001=_0x488d8b;return _0x4dc001(0x180)+(0x0,colors_1[_0x4dc001(0x185)])(_0x29b70f);},'errorStartUrlNotReachable':_0x561aa2=>_0x488d8b(0x1a9)+_0x561aa2+_0x488d8b(0x19b)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x488d8b(0x18a)])((0x0,colors_1[_0x488d8b(0x182)])(_0x488d8b(0x187)))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x488d8b(0x18b)+_0x488d8b(0x1a5)+(0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x189)),'promptIconUrl':_0x488d8b(0x1ad),'errorInvalidUrl':_0xf921fc=>{return'Invalid\x20URL:\x20'+_0xf921fc;},'errorUrlMustBeImage':_0x177252=>{const _0x506078=_0x488d8b;return _0x506078(0x178)+_0x177252+'.';},'promptVersionCode':_0x488d8b(0x16d),'promptVersionName':_0x488d8b(0x18d),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x488d8b(0x173)+(0x0,colors_1[_0x488d8b(0x18e)])(_0x488d8b(0x1ab))),'messageProjectGeneratedSuccess':_0x488d8b(0x169),'messageSigningKeyCreation':(0x0,colors_1[_0x488d8b(0x170)])(_0x488d8b(0x19a)),'messageSigningKeyNotFound':_0x45e0b7=>{const _0x300a73=_0x488d8b;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x45e0b7+_0x300a73(0x17c);},'promptCreateKey':_0x488d8b(0x199),'promptKeyFullName':_0x488d8b(0x181),'promptKeyOrganizationalUnit':_0x488d8b(0x1ae),'promptKeyOrganization':_0x488d8b(0x17a),'promptKeyCountry':_0x488d8b(0x198),'promptKeystorePassword':_0x488d8b(0x16e),'promptKeyPassword':_0x488d8b(0x1a1),'messageBuildingApp':_0x488d8b(0x1a4),'messageEnterPasswords':(_0x51e4e8,_0x53edce)=>{const _0x3b0a75=_0x488d8b;return _0x3b0a75(0x172)+(0x0,colors_1[_0x3b0a75(0x185)])(_0x51e4e8)+_0x3b0a75(0x1aa)+(0x0,colors_1[_0x3b0a75(0x185)])(_0x53edce)+'.\x0a';},'errorMinLength':(_0x75f9a,_0x190349)=>{const _0x1f1c3c=_0x488d8b;return _0x1f1c3c(0x193)+_0x75f9a+_0x1f1c3c(0x1a7)+_0x190349+'.';},'errorMaxLength':(_0x34fee9,_0x3c855b)=>{const _0x1f8871=_0x488d8b;return _0x1f8871(0x195)+_0x34fee9+_0x1f8871(0x1a7)+_0x3c855b+'.';},'errorInvalidInteger':_0x559a62=>{const _0x571b7e=_0x488d8b;return _0x571b7e(0x1a8)+_0x559a62;},'messageApkSuccess':_0x149b95=>{const _0x2c29ad=_0x488d8b;return _0x2c29ad(0x175)+(0x0,colors_1[_0x2c29ad(0x185)])(_0x149b95);},'missingUrlToCheck':_0x488d8b(0x168)+(''+(0x0,colors_1[_0x488d8b(0x185)])(_0x488d8b(0x16a)))};
1
+ 'use strict';const _0x507ae3=_0x2763;function _0x2763(_0x17c602,_0x5a7741){const _0x18a2fc=_0x18a2();return _0x2763=function(_0x276378,_0x3a7adc){_0x276378=_0x276378-0x175;let _0x5e8f36=_0x18a2fc[_0x276378];return _0x5e8f36;},_0x2763(_0x17c602,_0x5a7741);}(function(_0x51a315,_0x28e3ec){const _0x5cda4c=_0x2763,_0x1250e3=_0x51a315();while(!![]){try{const _0x224d9b=parseInt(_0x5cda4c(0x17f))/0x1*(parseInt(_0x5cda4c(0x1ac))/0x2)+-parseInt(_0x5cda4c(0x190))/0x3*(parseInt(_0x5cda4c(0x198))/0x4)+parseInt(_0x5cda4c(0x178))/0x5+parseInt(_0x5cda4c(0x179))/0x6+parseInt(_0x5cda4c(0x1b3))/0x7*(-parseInt(_0x5cda4c(0x196))/0x8)+parseInt(_0x5cda4c(0x199))/0x9+-parseInt(_0x5cda4c(0x17d))/0xa*(-parseInt(_0x5cda4c(0x192))/0xb);if(_0x224d9b===_0x28e3ec)break;else _0x1250e3['push'](_0x1250e3['shift']());}catch(_0x1e2cd5){_0x1250e3['push'](_0x1250e3['shift']());}}}(_0x18a2,0x778c3));function _0x18a2(){const _0x3820ff=['941CsAXQC','bold','messages','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','\x20and\x20alias\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20URL\x20','Password\x20for\x20the\x20Key\x20Store:','yellow','underline','URL\x20','--manifest-url','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','WARNING:\x20','3qDmaCK','Downloading\x20Android\x20SDK\x20to\x20','1875819nstZez','cyan','Generating\x20Android\x20Project.','green','32RYfCgh','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','3491420pVOCTb','2748888slouuS','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','license\x20agreement.','--manifest','Invalid\x20icon\x20path:\x20','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','--url','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x09-\x20Generated\x20Android\x20APK\x20at\x20','(5/5)','Organization\x20(eg:\x20Company\x20Name):','Minimum\x20length\x20is\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Downloading\x20the\x20JDK\x2011\x20Binaries...','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Invalid\x20URL:\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Icon\x20URL:','562tZVSCL','Path\x20to\x20your\x20existing\x20JDK\x2011:','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x20but\x20input\x20is\x20','Downloading\x20the\x20Android\x20SDK...','Password\x20for\x20the\x20Key:','redirected\x20to\x20','717962DitHNs','\x0aBuilding\x20the\x20Android\x20App...','Decompressing\x20the\x20JDK\x2011\x20Binaries...','\x20Check\x20out\x20the\x20Play\x20for','Downloading\x20the\x20JDK\x2011\x20Sources...','Downloading\x20JDK\x2011\x20to\x20','https://developer.android.com/studio/terms.html','\x20can\x20not\x20be\x20accessible.','2150415igDIcL','2590752SANmLV','Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aSigning\x20key\x20information\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','20mmYEKI','colors'];_0x18a2=function(){return _0x3820ff;};return _0x18a2();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x507ae3(0x181)]=void 0x0;const colors_1=require(_0x507ae3(0x17e));exports[_0x507ae3(0x181)]={'promptInstallJdk':_0x507ae3(0x1a9),'promptJdkPath':_0x507ae3(0x1ad),'messageDownloadJdk':_0x507ae3(0x175),'messageDownloadJdkSrc':_0x507ae3(0x1b7),'messageDecompressJdkSrc':_0x507ae3(0x17a),'messageDownloadJdkBin':_0x507ae3(0x1a6),'messageDecompressJdkBin':_0x507ae3(0x1b5),'promptInstallSdk':_0x507ae3(0x184),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x507ae3(0x191),'errorSdkTerms':_0x507ae3(0x18e),'promptSdkTerms':_0x507ae3(0x197)+(0x0,colors_1[_0x507ae3(0x18b)])(_0x507ae3(0x176))+'?','messageDownloadAndroidSdk':_0x507ae3(0x1b0),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x507ae3(0x182)+_0x507ae3(0x19b),'messageGeneratingAndroidProject':_0x507ae3(0x194),'messageCheckSuccess':(_0x236d4c,_0x58a2f6)=>{const _0x496a94=_0x507ae3;return _0x496a94(0x188)+(0x0,colors_1[_0x496a94(0x193)])(_0x236d4c)+'\x20'+(_0x58a2f6?_0x496a94(0x1b2)+(0x0,colors_1[_0x496a94(0x193)])(_0x58a2f6):'')+_0x496a94(0x187);},'errorMissingManifestParameter':'Missing\x20required\x20parameter\x20'+((0x0,colors_1['cyan'])(_0x507ae3(0x18d))+'\x20or\x20'+(0x0,colors_1[_0x507ae3(0x193)])(_0x507ae3(0x19c))),'messageInitializingWebManifest':_0x4030fa=>{const _0x54fac9=_0x507ae3;return _0x54fac9(0x1a7)+(0x0,colors_1[_0x54fac9(0x193)])(_0x4030fa);},'messageInitializingLocalManifest':_0xe4f128=>{const _0x14bc9d=_0x507ae3;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x14bc9d(0x193)])(_0xe4f128);},'messageInvalidIcon':_0x1ebcf1=>{const _0x5a8790=_0x507ae3;return _0x5a8790(0x19d)+(0x0,colors_1[_0x5a8790(0x193)])(_0x1ebcf1);},'errorStartUrlNotReachable':_0x370b6c=>_0x507ae3(0x18c)+_0x370b6c+_0x507ae3(0x177)+_0x507ae3(0x185),'warnFamilyPolicy':(0x0,colors_1[_0x507ae3(0x180)])((0x0,colors_1[_0x507ae3(0x18a)])(_0x507ae3(0x18f)))+_0x507ae3(0x1aa)+_0x507ae3(0x1a5)+_0x507ae3(0x1b6)+_0x507ae3(0x1a0)+(0x0,colors_1['cyan'])('https://play.google.com/console/about/families/'),'promptIconUrl':_0x507ae3(0x1ab),'errorInvalidUrl':_0x543c49=>{const _0x3f57a7=_0x507ae3;return _0x3f57a7(0x1a8)+_0x543c49;},'errorUrlMustBeImage':_0x532ab6=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0x532ab6+'.';},'promptVersionCode':_0x507ae3(0x19a),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x507ae3(0x17b)+(0x0,colors_1[_0x507ae3(0x195)])(_0x507ae3(0x1a2))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x507ae3(0x18b)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0xd28d25=>{const _0x430c77=_0x507ae3;return _0x430c77(0x19e)+_0xd28d25+'\x22.\x0a';},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':_0x507ae3(0x186),'promptKeyOrganizationalUnit':_0x507ae3(0x1ae),'promptKeyOrganization':_0x507ae3(0x1a3),'promptKeyCountry':'Country\x20(2\x20letter\x20code):','promptKeystorePassword':_0x507ae3(0x189),'promptKeyPassword':_0x507ae3(0x1b1),'messageBuildingApp':_0x507ae3(0x1b4),'messageEnterPasswords':(_0x46cc40,_0x11f5e9)=>{const _0x1ceee1=_0x507ae3;return _0x1ceee1(0x17c)+(0x0,colors_1[_0x1ceee1(0x193)])(_0x46cc40)+_0x1ceee1(0x183)+(0x0,colors_1['cyan'])(_0x11f5e9)+'.\x0a';},'errorMinLength':(_0x39da60,_0x18b7f7)=>{const _0x2f8188=_0x507ae3;return _0x2f8188(0x1a4)+_0x39da60+'\x20but\x20input\x20is\x20'+_0x18b7f7+'.';},'errorMaxLength':(_0x27e6f4,_0xc31d61)=>{const _0x5b483c=_0x507ae3;return'Maximum\x20length\x20is\x20'+_0x27e6f4+_0x5b483c(0x1af)+_0xc31d61+'.';},'errorInvalidInteger':_0xd8c0a=>{return'Invalid\x20integer\x20provided:\x20'+_0xd8c0a;},'messageApkSuccess':_0x44ae61=>{const _0x4326da=_0x507ae3;return _0x4326da(0x1a1)+(0x0,colors_1[_0x4326da(0x193)])(_0x44ae61);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])(_0x507ae3(0x19f)))};
@@ -1 +1 @@
1
- 'use strict';function _0x36c0(){const _0x46bf9a=['6vNgiSD','1158399lpoPEB','pop','2464441xwCJKt','1417801EKTgGc','2FEqAZj','5676040hpgCWP','599285dkPQLb','2701176WZnMHN','40NIHWcK','580876SxCIMm','3JHSFhO','defineProperty','join','12FJgLIq','__esModule'];_0x36c0=function(){return _0x46bf9a;};return _0x36c0();}const _0x478ccb=_0xf5e9;(function(_0x23f69e,_0x4e84f7){const _0xea4fc7=_0xf5e9,_0x417734=_0x23f69e();while(!![]){try{const _0x1e84ea=-parseInt(_0xea4fc7(0x1e5))/0x1*(parseInt(_0xea4fc7(0x1f0))/0x2)+parseInt(_0xea4fc7(0x1e6))/0x3*(parseInt(_0xea4fc7(0x1f3))/0x4)+-parseInt(_0xea4fc7(0x1f2))/0x5+parseInt(_0xea4fc7(0x1eb))/0x6*(parseInt(_0xea4fc7(0x1ee))/0x7)+parseInt(_0xea4fc7(0x1f1))/0x8+-parseInt(_0xea4fc7(0x1ec))/0x9*(parseInt(_0xea4fc7(0x1e4))/0xa)+-parseInt(_0xea4fc7(0x1ef))/0xb*(parseInt(_0xea4fc7(0x1e9))/0xc);if(_0x1e84ea===_0x4e84f7)break;else _0x417734['push'](_0x417734['shift']());}catch(_0x13f325){_0x417734['push'](_0x417734['shift']());}}}(_0x36c0,0x5fcca));function _0xf5e9(_0x53a0ec,_0x17942c){const _0x36c053=_0x36c0();return _0xf5e9=function(_0xf5e9a3,_0x10ea2a){_0xf5e9a3=_0xf5e9a3-0x1e4;let _0x1cb9c5=_0x36c053[_0xf5e9a3];return _0x1cb9c5;},_0xf5e9(_0x53a0ec,_0x17942c);}Object[_0x478ccb(0x1e7)](exports,_0x478ccb(0x1ea),{'value':!![]}),exports['parseRouter']=parseRouter;function parseRouter(_0x507d76){const _0xa0fb9c=_0x478ccb;let _0x538136=_0x507d76['split']('/');_0x538136[_0xa0fb9c(0x1ed)]();let _0x4eb2f4=_0x538136[_0xa0fb9c(0x1e8)]();while(_0x4eb2f4['indexOf'](',')>=0x0){_0x4eb2f4=_0x4eb2f4['replace'](',','/');}return _0x4eb2f4;}
1
+ 'use strict';function _0x1ca7(_0x487ce6,_0x256106){const _0x1f28f2=_0x1f28();return _0x1ca7=function(_0x1ca738,_0x56e3a8){_0x1ca738=_0x1ca738-0x96;let _0x1c7d21=_0x1f28f2[_0x1ca738];return _0x1c7d21;},_0x1ca7(_0x487ce6,_0x256106);}function _0x1f28(){const _0x1cf653=['323015BcqTHQ','2965500OFMOVE','parseRouter','96924FkGYBh','93457hTOgXr','75256WwszCb','indexOf','split','2CxYHpf','6942411wgwjPO','348ySKnMX','65WMegsX','963728XKBFxd','__esModule','replace'];_0x1f28=function(){return _0x1cf653;};return _0x1f28();}const _0x59de2a=_0x1ca7;(function(_0x5b6d91,_0x33aec1){const _0xad18b7=_0x1ca7,_0x45c30b=_0x5b6d91();while(!![]){try{const _0x4c9714=parseInt(_0xad18b7(0x97))/0x1+parseInt(_0xad18b7(0x9f))/0x2*(parseInt(_0xad18b7(0x9a))/0x3)+parseInt(_0xad18b7(0x9c))/0x4*(parseInt(_0xad18b7(0xa2))/0x5)+-parseInt(_0xad18b7(0xa1))/0x6*(parseInt(_0xad18b7(0x9b))/0x7)+parseInt(_0xad18b7(0xa3))/0x8+parseInt(_0xad18b7(0xa0))/0x9+-parseInt(_0xad18b7(0x98))/0xa;if(_0x4c9714===_0x33aec1)break;else _0x45c30b['push'](_0x45c30b['shift']());}catch(_0x35e999){_0x45c30b['push'](_0x45c30b['shift']());}}}(_0x1f28,0x66bea));Object['defineProperty'](exports,_0x59de2a(0xa4),{'value':!![]}),exports[_0x59de2a(0x99)]=parseRouter;function parseRouter(_0x105dec){const _0x4c7206=_0x59de2a;let _0xcd04cb=_0x105dec[_0x4c7206(0x9e)]('/');_0xcd04cb['pop']();let _0x320220=_0xcd04cb['join']();while(_0x320220[_0x4c7206(0x9d)](',')>=0x0){_0x320220=_0x320220[_0x4c7206(0x96)](',','/');}return _0x320220;}
@@ -1 +1 @@
1
- 'use strict';function _0x27c5(_0x2dcd0f,_0x72ef35){const _0x530de6=_0x530d();return _0x27c5=function(_0x27c50b,_0x3bc504){_0x27c50b=_0x27c50b-0x179;let _0x39bc06=_0x530de6[_0x27c50b];return _0x39bc06;},_0x27c5(_0x2dcd0f,_0x72ef35);}const _0x236f07=_0x27c5;(function(_0x575e68,_0x41cd9b){const _0x1930e7=_0x27c5,_0x2fc3e1=_0x575e68();while(!![]){try{const _0x36b5e5=parseInt(_0x1930e7(0x195))/0x1*(parseInt(_0x1930e7(0x17c))/0x2)+parseInt(_0x1930e7(0x179))/0x3+parseInt(_0x1930e7(0x194))/0x4+parseInt(_0x1930e7(0x18e))/0x5*(parseInt(_0x1930e7(0x18f))/0x6)+-parseInt(_0x1930e7(0x196))/0x7*(-parseInt(_0x1930e7(0x192))/0x8)+parseInt(_0x1930e7(0x18b))/0x9+-parseInt(_0x1930e7(0x17f))/0xa*(parseInt(_0x1930e7(0x187))/0xb);if(_0x36b5e5===_0x41cd9b)break;else _0x2fc3e1['push'](_0x2fc3e1['shift']());}catch(_0x276cc7){_0x2fc3e1['push'](_0x2fc3e1['shift']());}}}(_0x530d,0xb1ac0));Object[_0x236f07(0x183)](exports,_0x236f07(0x17a),{'value':!![]}),exports[_0x236f07(0x193)]=void 0x0;const fs=require('fs'),resource_1=require(_0x236f07(0x17d)),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x236f07(0x184)),xcrun_1=require('./xcrun'),path_1=require(_0x236f07(0x17e));class XcodeManager{static async[_0x236f07(0x180)](_0x370191,_0x191398=![]){const _0x98e1cc=_0x236f07,_0x2e9b31=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x98e1cc(0x190)][_0x98e1cc(0x17b)](_0x2e9b31,_0x370191,_0x191398),console[_0x98e1cc(0x18d)](_0x98e1cc(0x185));!fs[_0x98e1cc(0x181)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs['mkdirSync'](resource_1[_0x98e1cc(0x18a)],{'recursive':!![]});if(!_0x191398)await xcodebuild_1['default']['archive'](_0x370191[_0x98e1cc(0x186)]);}static async[_0x236f07(0x188)](_0x2f1125,_0x4c96e9){const _0x227060=_0x236f07;if(_0x2f1125['u']&&_0x2f1125['p'])xcrun_1[_0x227060(0x190)][_0x227060(0x191)]((0x0,path_1['join'])(resource_1[_0x227060(0x18a)],_0x4c96e9['name']+_0x227060(0x189)),_0x2f1125['u'],_0x2f1125['p'],!![]);else _0x2f1125['k']&&_0x2f1125['i']&&xcrun_1['default']['uploadApp']((0x0,path_1['join'])(resource_1[_0x227060(0x18a)],_0x4c96e9[_0x227060(0x18c)]+_0x227060(0x189)),_0x2f1125['k'],_0x2f1125['i'],![]);}static async[_0x236f07(0x182)](_0x38f3a1){const _0xa375c4=_0x236f07;await xcrun_1[_0xa375c4(0x190)]['runWithSimulator'](_0x38f3a1);}}exports[_0x236f07(0x193)]=XcodeManager;function _0x530d(){const _0x50a466=['name','log','5dzQrEe','6150486fflUJk','default','uploadApp','440SnJgzS','XcodeManager','5497024PuTlRM','9yRLyxb','7266RGTqzX','1442562peyOml','__esModule','modify','120778AHCfuP','../resource','path','31742690WyVALV','parseProject','existsSync','runWithSimulator','defineProperty','./xcodebuild','write\x20project.pbxproj:\x20ok','export','11FquPoB','upload','.ipa','PROJECT_EXPORT_DIRECTORY','3791079PdAhLI'];_0x530d=function(){return _0x50a466;};return _0x530d();}
1
+ 'use strict';function _0x7f9b(_0x2b8637,_0x18741a){const _0x20c3a7=_0x20c3();return _0x7f9b=function(_0x7f9b9a,_0x65f3a2){_0x7f9b9a=_0x7f9b9a-0xad;let _0x285dd3=_0x20c3a7[_0x7f9b9a];return _0x285dd3;},_0x7f9b(_0x2b8637,_0x18741a);}const _0x1c77e3=_0x7f9b;(function(_0x953af7,_0xc649f){const _0x1c9dcd=_0x7f9b,_0x4ec2b6=_0x953af7();while(!![]){try{const _0x5f14fe=-parseInt(_0x1c9dcd(0xc4))/0x1+parseInt(_0x1c9dcd(0xc2))/0x2*(-parseInt(_0x1c9dcd(0xbb))/0x3)+parseInt(_0x1c9dcd(0xc7))/0x4+-parseInt(_0x1c9dcd(0xc3))/0x5*(-parseInt(_0x1c9dcd(0xb2))/0x6)+-parseInt(_0x1c9dcd(0xbc))/0x7+-parseInt(_0x1c9dcd(0xb6))/0x8*(-parseInt(_0x1c9dcd(0xb1))/0x9)+-parseInt(_0x1c9dcd(0xad))/0xa;if(_0x5f14fe===_0xc649f)break;else _0x4ec2b6['push'](_0x4ec2b6['shift']());}catch(_0x2e28cf){_0x4ec2b6['push'](_0x4ec2b6['shift']());}}}(_0x20c3,0x3e024));Object[_0x1c77e3(0xc8)](exports,_0x1c77e3(0xb7),{'value':!![]}),exports[_0x1c77e3(0xc6)]=void 0x0;const fs=require('fs'),resource_1=require(_0x1c77e3(0xbf)),xcodeproject_1=require(_0x1c77e3(0xc0)),xcodebuild_1=require(_0x1c77e3(0xaf)),xcrun_1=require(_0x1c77e3(0xb5)),path_1=require(_0x1c77e3(0xc1));function _0x20c3(){const _0x2bed99=['346492bpxCJr','15CvADVl','78535PHphrv','default','XcodeManager','833836runLJT','defineProperty','1565110AZUdPS','PROJECT_EXPORT_DIRECTORY','./xcodebuild','runWithSimulator','4131Dceooc','633540xTlOJL','archive','parseProject','./xcrun','7304xwyynr','__esModule','join','upload','.ipa','3nkjqfV','1974112QEvwIw','mkdirSync','uploadApp','../resource','./xcodeproject','path'];_0x20c3=function(){return _0x2bed99;};return _0x20c3();}class XcodeManager{static async[_0x1c77e3(0xb4)](_0x546c5d,_0x1bcd73=![]){const _0x5a58fb=_0x1c77e3,_0x62003b=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1['default']['modify'](_0x62003b,_0x546c5d,_0x1bcd73),console['log']('write\x20project.pbxproj:\x20ok');!fs['existsSync'](resource_1[_0x5a58fb(0xae)])&&fs[_0x5a58fb(0xbd)](resource_1[_0x5a58fb(0xae)],{'recursive':!![]});if(!_0x1bcd73)await xcodebuild_1[_0x5a58fb(0xc5)][_0x5a58fb(0xb3)](_0x546c5d['export']);}static async[_0x1c77e3(0xb9)](_0x3fdd6f,_0x39ccd8){const _0x3eb8ae=_0x1c77e3;if(_0x3fdd6f['u']&&_0x3fdd6f['p'])xcrun_1[_0x3eb8ae(0xc5)][_0x3eb8ae(0xbe)]((0x0,path_1[_0x3eb8ae(0xb8)])(resource_1[_0x3eb8ae(0xae)],_0x39ccd8['name']+_0x3eb8ae(0xba)),_0x3fdd6f['u'],_0x3fdd6f['p'],!![]);else _0x3fdd6f['k']&&_0x3fdd6f['i']&&xcrun_1[_0x3eb8ae(0xc5)][_0x3eb8ae(0xbe)]((0x0,path_1[_0x3eb8ae(0xb8)])(resource_1[_0x3eb8ae(0xae)],_0x39ccd8['name']+_0x3eb8ae(0xba)),_0x3fdd6f['k'],_0x3fdd6f['i'],![]);}static async[_0x1c77e3(0xb0)](_0x136571){await xcrun_1['default']['runWithSimulator'](_0x136571);}}exports[_0x1c77e3(0xc6)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';function _0x3d2c(){var _0x420fe7=['3250395ICYYoZ','1984972HJQJSV','3vnSByi','10hhZYeB','51715PmAOTT','96zaAlog','manifestSwiftTemplate','defineProperty','991410GjYELN','__esModule','4047536uKDdji','214576lShDbw','255985LCekIV'];_0x3d2c=function(){return _0x420fe7;};return _0x3d2c();}function _0x3a32(_0x3be636,_0x2deda2){var _0x3d2c5d=_0x3d2c();return _0x3a32=function(_0x3a324b,_0x14a216){_0x3a324b=_0x3a324b-0x7d;var _0x4c92a1=_0x3d2c5d[_0x3a324b];return _0x4c92a1;},_0x3a32(_0x3be636,_0x2deda2);}var _0x348b05=_0x3a32;(function(_0x4e9fe2,_0x7b6177){var _0x475f2e=_0x3a32,_0xd64afe=_0x4e9fe2();while(!![]){try{var _0x27ec52=-parseInt(_0x475f2e(0x85))/0x1+-parseInt(_0x475f2e(0x84))/0x2+parseInt(_0x475f2e(0x88))/0x3*(parseInt(_0x475f2e(0x87))/0x4)+parseInt(_0x475f2e(0x7d))/0x5*(-parseInt(_0x475f2e(0x7e))/0x6)+parseInt(_0x475f2e(0x81))/0x7+parseInt(_0x475f2e(0x83))/0x8+-parseInt(_0x475f2e(0x86))/0x9*(parseInt(_0x475f2e(0x89))/0xa);if(_0x27ec52===_0x7b6177)break;else _0xd64afe['push'](_0xd64afe['shift']());}catch(_0x12d85b){_0xd64afe['push'](_0xd64afe['shift']());}}}(_0x3d2c,0x3dfcb));Object[_0x348b05(0x80)](exports,_0x348b05(0x82),{'value':!![]}),exports[_0x348b05(0x7f)]=void 0x0,exports[_0x348b05(0x7f)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';
1
+ 'use strict';var _0x308cf4=_0x2afc;(function(_0x3d7a1f,_0x83ef28){var _0x49f450=_0x2afc,_0x3ed2a7=_0x3d7a1f();while(!![]){try{var _0x12b295=-parseInt(_0x49f450(0x8e))/0x1*(parseInt(_0x49f450(0x94))/0x2)+parseInt(_0x49f450(0x8a))/0x3*(parseInt(_0x49f450(0x91))/0x4)+parseInt(_0x49f450(0x90))/0x5+parseInt(_0x49f450(0x8c))/0x6*(-parseInt(_0x49f450(0x93))/0x7)+parseInt(_0x49f450(0x8f))/0x8+parseInt(_0x49f450(0x8b))/0x9*(parseInt(_0x49f450(0x89))/0xa)+-parseInt(_0x49f450(0x8d))/0xb;if(_0x12b295===_0x83ef28)break;else _0x3ed2a7['push'](_0x3ed2a7['shift']());}catch(_0x4760ac){_0x3ed2a7['push'](_0x3ed2a7['shift']());}}}(_0x37e9,0xdfeb0));Object['defineProperty'](exports,_0x308cf4(0x88),{'value':!![]}),exports[_0x308cf4(0x92)]=void 0x0,exports[_0x308cf4(0x92)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x2afc(_0x530e93,_0x481944){var _0x37e9a3=_0x37e9();return _0x2afc=function(_0x2afc23,_0x53b1f5){_0x2afc23=_0x2afc23-0x88;var _0xc3e4cc=_0x37e9a3[_0x2afc23];return _0xc3e4cc;},_0x2afc(_0x530e93,_0x481944);}function _0x37e9(){var _0xed963d=['11985200gnuHuv','7655570lazjuq','32EesSPU','manifestSwiftTemplate','19768gAQGoj','626IpIRhh','__esModule','20cpqkOC','479037XstkPZ','5534433lOumLZ','276PFBwRo','41889067lxJLcx','2177nHUlAJ'];_0x37e9=function(){return _0xed963d;};return _0x37e9();}
@@ -1 +1 @@
1
- 'use strict';const _0x2e7a8c=_0x3252;(function(_0x4874a5,_0x5b8e13){const _0x11db8a=_0x3252,_0x35b929=_0x4874a5();while(!![]){try{const _0x12ee5c=parseInt(_0x11db8a(0xb1))/0x1+-parseInt(_0x11db8a(0xb6))/0x2+parseInt(_0x11db8a(0xb8))/0x3+parseInt(_0x11db8a(0xcf))/0x4+parseInt(_0x11db8a(0xbe))/0x5*(parseInt(_0x11db8a(0xc0))/0x6)+parseInt(_0x11db8a(0xc5))/0x7+parseInt(_0x11db8a(0xc7))/0x8*(-parseInt(_0x11db8a(0xba))/0x9);if(_0x12ee5c===_0x5b8e13)break;else _0x35b929['push'](_0x35b929['shift']());}catch(_0x1fa9c7){_0x35b929['push'](_0x35b929['shift']());}}}(_0x39a5,0xc259d));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x2e7a8c(0xce)]=void 0x0;function _0x39a5(){const _0x45fec3=['mkdirSync','toString','child_process','start\x20export','XcodebuildCMD','5505456JtUbSh','archive','line','cwd','../resource','\x20clean','/web-spatial.xcodeproj','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','./pack','clean','PROJECT_DIRECTORY','start\x20archive','scheme','\x20-scheme\x20','\x20-project\x20','ARCHIVE\x20SUCCEEDED','list','1125060EpEpxE','destination','\x20-exportOptionsPlist\x20','PROJECT_BUILD_DIRECTORY','indexOf','3010340yEdHev','copyDir','838317cVeALv','PROJECT_EXPORT_DIRECTORY','2179665YacdMG','\x20archive','log','\x20-exportPath\x20','4524415SYIXUn','\x20-allowProvisioningUpdates','6zAyflJ','output','../resource/file','web-spatial','join','3870755rudwmG','project','64wezdIb','default','EXPORT\x20SUCCEEDED'];_0x39a5=function(){return _0x45fec3;};return _0x39a5();}const fs=require('fs'),path_1=require('path'),resource_1=require(_0x2e7a8c(0xd3)),semver_1=require('semver'),file_1=require(_0x2e7a8c(0xc2)),{execSync,exec}=require(_0x2e7a8c(0xcc));class Xcodebuild{static async[_0x2e7a8c(0xc6)](){try{await new Promise((_0xc57ed0,_0x5dd3f5)=>{const _0x710189=_0x3252,_0x291530=resource_1['PROJECT_DIRECTORY']+_0x710189(0xd5),_0x10e47b=execSync(new XcodebuildCMD()[_0x710189(0xc6)](_0x291530)[_0x710189(0xb0)]()['line']);console[_0x710189(0xbc)](_0x10e47b[_0x710189(0xcb)]()),_0xc57ed0(_0x10e47b);});}catch(_0xd79cb4){console['log'](_0xd79cb4);}}static async[_0x2e7a8c(0xb0)](){const _0x560a29=_0x2e7a8c;try{await new Promise((_0x927864,_0x16a64d)=>{const _0x2c25d5=_0x3252,_0x402015=resource_1[_0x2c25d5(0xaa)]+_0x2c25d5(0xd5),_0x38e277=execSync(new XcodebuildCMD()[_0x2c25d5(0xc6)](_0x402015)['list']()['line']);console[_0x2c25d5(0xbc)](_0x38e277[_0x2c25d5(0xcb)]()),_0x927864(_0x38e277);});}catch(_0x4a4de5){console[_0x560a29(0xbc)](_0x4a4de5);}}static async[_0x2e7a8c(0xd0)](_0x43de52){const _0x4281ff=_0x2e7a8c;try{return console[_0x4281ff(0xbc)](_0x4281ff(0xab)),!fs['existsSync'](resource_1[_0x4281ff(0xb9)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x5b5865,_0xc162bc)=>{const _0x23a8f8=_0x4281ff,_0x5c1149=resource_1[_0x23a8f8(0xaa)]+'/web-spatial.xcodeproj',_0x41071c=execSync(new XcodebuildCMD()[_0x23a8f8(0xc6)](_0x5c1149)[_0x23a8f8(0xac)](_0x23a8f8(0xc3))[_0x23a8f8(0xd0)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x23a8f8(0xa8)))[_0x23a8f8(0xa9)]()[_0x23a8f8(0xd1)]);let _0x16e7a5=_0x41071c[_0x23a8f8(0xcb)]();if(_0x16e7a5[_0x23a8f8(0xb5)](_0x23a8f8(0xaf))>0x0){console[_0x23a8f8(0xbc)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x23a8f8(0xcd));const _0x1cad07=execSync(new XcodebuildCMD()[_0x23a8f8(0xc1)]((0x0,path_1[_0x23a8f8(0xc4)])(resource_1['PROJECT_BUILD_DIRECTORY'],'pack.xcarchive'),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x23a8f8(0xc4)])(resource_1[_0x23a8f8(0xb4)],'ExportOptions.plist'))['allowProvisioningUpdates']()[_0x23a8f8(0xd1)]);_0x16e7a5=_0x1cad07[_0x23a8f8(0xcb)]();if(_0x16e7a5[_0x23a8f8(0xb5)](_0x23a8f8(0xc9))>0x0){if(_0x43de52){const _0x1a13b6=(0x0,path_1[_0x23a8f8(0xc4)])(process[_0x23a8f8(0xd2)](),_0x43de52);!fs['existsSync'](_0x1a13b6)&&fs[_0x23a8f8(0xca)](_0x1a13b6,{'recursive':!![]}),(0x0,file_1[_0x23a8f8(0xb7)])(resource_1[_0x23a8f8(0xb9)],_0x1a13b6);}console[_0x23a8f8(0xbc)](_0x23a8f8(0xa7)),_0x5b5865(!![]);}(0x0,semver_1['clean'])(resource_1[_0x23a8f8(0xb4)]);}_0x5b5865(![]);});}catch(_0x477c63){console[_0x4281ff(0xbc)](_0x477c63);}}}exports[_0x2e7a8c(0xc8)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0xaabbf6=_0x2e7a8c;this[_0xaabbf6(0xd1)]='xcodebuild';}[_0x2e7a8c(0xc6)](_0x343601){const _0x2c8aee=_0x2e7a8c;return this[_0x2c8aee(0xd1)]+=_0x2c8aee(0xae)+_0x343601,this;}[_0x2e7a8c(0xb0)](){const _0x300913=_0x2e7a8c;return this[_0x300913(0xd1)]+='\x20-list',this;}['scheme'](_0x2fa404){const _0x5ebcdb=_0x2e7a8c;return this[_0x5ebcdb(0xd1)]+=_0x5ebcdb(0xad)+_0x2fa404,this;}[_0x2e7a8c(0xd0)](_0x154f8e){const _0x4597f4=_0x2e7a8c;return this['line']+='\x20-archivePath\x20'+_0x154f8e+_0x4597f4(0xbb),this;}['allowProvisioningUpdates'](){const _0x415448=_0x2e7a8c;return this[_0x415448(0xd1)]+=_0x415448(0xbf),this;}[_0x2e7a8c(0xb2)](_0x4e2c0e){const _0x458376=_0x2e7a8c;return this[_0x458376(0xd1)]+='\x20-destination\x20\x27'+_0x4e2c0e+'\x27',this;}[_0x2e7a8c(0xc1)](_0x48e7bc,_0x520071,_0x2db3f0){const _0x1b6994=_0x2e7a8c;return this[_0x1b6994(0xd1)]+='\x20-exportArchive\x20-archivePath\x20'+_0x48e7bc+_0x1b6994(0xbd)+_0x520071+_0x1b6994(0xb3)+_0x2db3f0,this;}[_0x2e7a8c(0xa9)](){const _0x44e784=_0x2e7a8c;return this[_0x44e784(0xd1)]+=_0x44e784(0xd4),this;}}function _0x3252(_0x177a6c,_0x7d48a9){const _0x39a534=_0x39a5();return _0x3252=function(_0x3252fe,_0x3c0229){_0x3252fe=_0x3252fe-0xa7;let _0xbb3606=_0x39a534[_0x3252fe];return _0xbb3606;},_0x3252(_0x177a6c,_0x7d48a9);}exports[_0x2e7a8c(0xce)]=XcodebuildCMD;
1
+ 'use strict';const _0x26d096=_0x10e8;(function(_0x7d4ab1,_0x34abc2){const _0x949f6e=_0x10e8,_0xb551d=_0x7d4ab1();while(!![]){try{const _0x2dbc8d=-parseInt(_0x949f6e(0x1c8))/0x1*(parseInt(_0x949f6e(0x1ca))/0x2)+parseInt(_0x949f6e(0x1ee))/0x3+parseInt(_0x949f6e(0x1f1))/0x4+-parseInt(_0x949f6e(0x1d6))/0x5*(parseInt(_0x949f6e(0x1d7))/0x6)+parseInt(_0x949f6e(0x1cb))/0x7+parseInt(_0x949f6e(0x1ea))/0x8*(-parseInt(_0x949f6e(0x1e0))/0x9)+parseInt(_0x949f6e(0x1d0))/0xa;if(_0x2dbc8d===_0x34abc2)break;else _0xb551d['push'](_0xb551d['shift']());}catch(_0x4d480d){_0xb551d['push'](_0xb551d['shift']());}}}(_0x3fbd,0x4e7c3));function _0x10e8(_0x285c7d,_0x387d97){const _0x3fbdf8=_0x3fbd();return _0x10e8=function(_0x10e8ba,_0x4e452f){_0x10e8ba=_0x10e8ba-0x1c1;let _0x801ab9=_0x3fbdf8[_0x10e8ba];return _0x801ab9;},_0x10e8(_0x285c7d,_0x387d97);}Object[_0x26d096(0x1c9)](exports,'__esModule',{'value':!![]}),exports['XcodebuildCMD']=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require('../resource'),semver_1=require(_0x26d096(0x1db)),file_1=require(_0x26d096(0x1f2)),{execSync,exec}=require('child_process');class Xcodebuild{static async['project'](){const _0x5025db=_0x26d096;try{await new Promise((_0x31ae5d,_0x513956)=>{const _0x1faf0f=_0x10e8,_0x4d8cf6=resource_1[_0x1faf0f(0x1dd)]+'/web-spatial.xcodeproj',_0x3c7166=execSync(new XcodebuildCMD()[_0x1faf0f(0x1e3)](_0x4d8cf6)[_0x1faf0f(0x1cf)]()[_0x1faf0f(0x1c6)]);console[_0x1faf0f(0x1c2)](_0x3c7166[_0x1faf0f(0x1f0)]()),_0x31ae5d(_0x3c7166);});}catch(_0x3ae689){console[_0x5025db(0x1c2)](_0x3ae689);}}static async[_0x26d096(0x1cf)](){const _0x24cd00=_0x26d096;try{await new Promise((_0x31ab79,_0x345607)=>{const _0x5bfaf9=_0x10e8,_0x53c435=resource_1[_0x5bfaf9(0x1dd)]+_0x5bfaf9(0x1cd),_0x30e515=execSync(new XcodebuildCMD()[_0x5bfaf9(0x1e3)](_0x53c435)[_0x5bfaf9(0x1cf)]()[_0x5bfaf9(0x1c6)]);console['log'](_0x30e515[_0x5bfaf9(0x1f0)]()),_0x31ab79(_0x30e515);});}catch(_0x515e4e){console[_0x24cd00(0x1c2)](_0x515e4e);}}static async['archive'](_0x1467f4){const _0x48838d=_0x26d096;try{return console[_0x48838d(0x1c2)](_0x48838d(0x1e9)),!fs[_0x48838d(0x1d3)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x48838d(0x1c7)](resource_1[_0x48838d(0x1e5)],{'recursive':!![]}),await new Promise((_0x1de8de,_0x48d8bb)=>{const _0x523054=_0x48838d,_0x17fac5=resource_1[_0x523054(0x1dd)]+_0x523054(0x1cd),_0x41f3fe=execSync(new XcodebuildCMD()[_0x523054(0x1e3)](_0x17fac5)[_0x523054(0x1dc)](_0x523054(0x1d8))['archive']((0x0,path_1[_0x523054(0x1e8)])(resource_1[_0x523054(0x1e6)],_0x523054(0x1d4)))[_0x523054(0x1ce)]()['line']);let _0x55aa36=_0x41f3fe[_0x523054(0x1f0)]();if(_0x55aa36[_0x523054(0x1d5)](_0x523054(0x1e2))>0x0){console[_0x523054(0x1c2)](_0x523054(0x1cc)),console['log']('start\x20export');const _0x8ace7a=execSync(new XcodebuildCMD()[_0x523054(0x1ed)]((0x0,path_1[_0x523054(0x1e8)])(resource_1[_0x523054(0x1e6)],_0x523054(0x1e1)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x523054(0x1e8)])(resource_1[_0x523054(0x1e6)],_0x523054(0x1d9)))[_0x523054(0x1ef)]()[_0x523054(0x1c6)]);_0x55aa36=_0x8ace7a[_0x523054(0x1f0)]();if(_0x55aa36[_0x523054(0x1d5)]('EXPORT\x20SUCCEEDED')>0x0){if(_0x1467f4){const _0x324aa8=(0x0,path_1[_0x523054(0x1e8)])(process[_0x523054(0x1e7)](),_0x1467f4);!fs[_0x523054(0x1d3)](_0x324aa8)&&fs[_0x523054(0x1c7)](_0x324aa8,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x324aa8);}console[_0x523054(0x1c2)](_0x523054(0x1c1)),_0x1de8de(!![]);}(0x0,semver_1[_0x523054(0x1ce)])(resource_1[_0x523054(0x1e6)]);}_0x1de8de(![]);});}catch(_0x434cea){console[_0x48838d(0x1c2)](_0x434cea);}}}exports[_0x26d096(0x1de)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x1ea620=_0x26d096;this[_0x1ea620(0x1c6)]=_0x1ea620(0x1ec);}[_0x26d096(0x1e3)](_0x85ad7f){const _0x398a4b=_0x26d096;return this[_0x398a4b(0x1c6)]+=_0x398a4b(0x1df)+_0x85ad7f,this;}['list'](){const _0x52b214=_0x26d096;return this[_0x52b214(0x1c6)]+='\x20-list',this;}[_0x26d096(0x1dc)](_0x4f9bc4){const _0x5d912e=_0x26d096;return this[_0x5d912e(0x1c6)]+=_0x5d912e(0x1d2)+_0x4f9bc4,this;}['archive'](_0x5bf70e){const _0x1d8322=_0x26d096;return this[_0x1d8322(0x1c6)]+='\x20-archivePath\x20'+_0x5bf70e+_0x1d8322(0x1e4),this;}[_0x26d096(0x1ef)](){const _0x109bf6=_0x26d096;return this['line']+=_0x109bf6(0x1c4),this;}[_0x26d096(0x1c3)](_0x558104){const _0x323e27=_0x26d096;return this[_0x323e27(0x1c6)]+='\x20-destination\x20\x27'+_0x558104+'\x27',this;}['output'](_0x939aa0,_0x489c77,_0x2c3ee7){const _0x20ea0e=_0x26d096;return this[_0x20ea0e(0x1c6)]+=_0x20ea0e(0x1da)+_0x939aa0+_0x20ea0e(0x1c5)+_0x489c77+_0x20ea0e(0x1d1)+_0x2c3ee7,this;}[_0x26d096(0x1ce)](){const _0x2c0661=_0x26d096;return this[_0x2c0661(0x1c6)]+='\x20clean',this;}}function _0x3fbd(){const _0x4a8f44=['semver','scheme','PROJECT_DIRECTORY','default','\x20-project\x20','35379BYZlRc','pack.xcarchive','ARCHIVE\x20SUCCEEDED','project','\x20archive','PROJECT_EXPORT_DIRECTORY','PROJECT_BUILD_DIRECTORY','cwd','join','start\x20archive','552Yqjcjw','XcodebuildCMD','xcodebuild','output','1793676feiWPm','allowProvisioningUpdates','toString','1457588GjDwDp','../resource/file','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','log','destination','\x20-allowProvisioningUpdates','\x20-exportPath\x20','line','mkdirSync','262hXLyfI','defineProperty','4740aylMyM','2228919NmUFJY','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','/web-spatial.xcodeproj','clean','list','3723440hVHGYl','\x20-exportOptionsPlist\x20','\x20-scheme\x20','existsSync','./pack','indexOf','549245wSuBAH','24ZkVeTT','web-spatial','ExportOptions.plist','\x20-exportArchive\x20-archivePath\x20'];_0x3fbd=function(){return _0x4a8f44;};return _0x3fbd();}exports[_0x26d096(0x1eb)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x126c8e=_0x27e9;(function(_0x3d03cc,_0x35cff6){const _0xc6c4ee=_0x27e9,_0x312c77=_0x3d03cc();while(!![]){try{const _0x4d1b13=parseInt(_0xc6c4ee(0x1eb))/0x1*(-parseInt(_0xc6c4ee(0x1df))/0x2)+-parseInt(_0xc6c4ee(0x190))/0x3+parseInt(_0xc6c4ee(0x1cb))/0x4+parseInt(_0xc6c4ee(0x1da))/0x5+-parseInt(_0xc6c4ee(0x1a7))/0x6*(parseInt(_0xc6c4ee(0x1de))/0x7)+parseInt(_0xc6c4ee(0x1e6))/0x8+parseInt(_0xc6c4ee(0x1d7))/0x9*(parseInt(_0xc6c4ee(0x1e7))/0xa);if(_0x4d1b13===_0x35cff6)break;else _0x312c77['push'](_0x312c77['shift']());}catch(_0x1f48cb){_0x312c77['push'](_0x312c77['shift']());}}}(_0x4cc5,0xf2479));Object[_0x126c8e(0x1a8)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x126c8e(0x197)),load_1=require(_0x126c8e(0x1dd)),imageHelper_1=require(_0x126c8e(0x1d3)),manifestSwiftTemplate_1=require(_0x126c8e(0x1ad)),xcode=require('xcode'),exportOptionsXML=_0x126c8e(0x1ac),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';function _0x4cc5(){const _0x368dcd=['json','hash','resizability','protocol','updateVersion','getMIME','protocol_handlers','includes','5751780gNLOYF','pbxXCBuildConfigurationSection','PBXGroup','</string>','default','objects','SceneResizability','path','parseSync','\x22automatic\x22','updateProductName','BACK_APPICON_DIRECTORY','join','display','test','url','updateDeeplink','writeFileSync','name','START_URL','SceneHeight','utf-8','MIDDLE_APPICON_DIRECTORY','66UVksNX','defineProperty','icon','height','replace','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','./manifestSwiftTemplate','1.0','teamId','description','buildType','./web-spatial/Info.plist','updateTeamId','1280','app-store-connect','length','mainScene','buildConfigurations','updateExportOptions','object','writeAsync','buildSettings','PROJECT_BUILD_DIRECTORY','writeSync','true','USE_MAIN_SCENE','CURRENT_PROJECT_VERSION','./web-spatial/libs/webView/manifest.swift','value','PROJECT_DIRECTORY','image/','false','filename','start_url','pbxXCConfigurationList','manifestInfo','3840484rcmVwx','icon.png','debugging','Description','AppID','modify','fixProjectFunction','updateBuildProperty','../resource/imageHelper','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','buildConfigurationList','defaultSize','3033wdsJMP','pbxGroupByName','PWAProtocol(protocolValue:\x20\x22','6101810CzQKdj','stringify','push','../resource/load','714651RNJCDP','2nrWlRl','Contents.json','SCOPE','release-testing','DEVELOPMENT_TEAM','manifestSwiftTemplate','bindIcon','5313368PPclEB','85670VLRUMg','version','modifySwift','split','1699073uGSYxM','images','project','log','scope','loadJsonFromDisk'];_0x4cc5=function(){return _0x368dcd;};return _0x4cc5();}function _0x27e9(_0x5b4880,_0x4499a9){const _0x4cc5be=_0x4cc5();return _0x27e9=function(_0x27e9d7,_0x341b43){_0x27e9d7=_0x27e9d7-0x187;let _0x2f0c46=_0x4cc5be[_0x27e9d7];return _0x2f0c46;},_0x27e9(_0x5b4880,_0x4499a9);}class XcodeProject{static async[_0x126c8e(0x1d0)](_0x3ac12e,_0xfd3e6e,_0x567925=![]){const _0x341c87=_0x126c8e;let _0x237675=xcode[_0x341c87(0x1ed)](_0x3ac12e);this[_0x341c87(0x1d1)](_0x237675),_0x237675[_0x341c87(0x198)]();let _0x422de8=_0xfd3e6e[_0x341c87(0x1b1)];const _0x3e0f21=[_0x341c87(0x1e2),_0x341c87(0x1b5),_0x341c87(0x1cd),'enterprise'];useExportOptionsXML=exportOptionsXML[_0x341c87(0x1ab)]('BUILDTYPE',_0x3e0f21[_0x341c87(0x18f)](_0x422de8)?_0x422de8:'release-testing');_0xfd3e6e[_0x341c87(0x1af)]&&this[_0x341c87(0x1b3)](_0x237675,_0xfd3e6e[_0x341c87(0x1af)]);this[_0x341c87(0x1b9)]();if(_0xfd3e6e[_0x341c87(0x1a9)])await this[_0x341c87(0x1e5)](_0xfd3e6e['icon']);this['bindManifestInfo'](_0x237675,_0xfd3e6e[_0x341c87(0x1ca)][_0x341c87(0x188)],_0x567925);_0xfd3e6e[_0x341c87(0x1e8)]?this[_0x341c87(0x18c)](_0x237675,_0xfd3e6e[_0x341c87(0x1e8)]):this['updateVersion'](_0x237675,_0x341c87(0x1ae));try{fs[_0x341c87(0x1a1)](_0x3ac12e,_0x237675[_0x341c87(0x1be)]());}catch(_0x2ed013){console[_0x341c87(0x1ee)](_0x2ed013);}}static[_0x126c8e(0x1d1)](_0x43142c){const _0x4e88e3=_0x126c8e;_0x43142c[_0x4e88e3(0x1d8)]=function(_0x2d2de1){const _0x3bec01=_0x4e88e3;var _0x409db8=this[_0x3bec01(0x189)][_0x3bec01(0x1ed)][_0x3bec01(0x195)][_0x3bec01(0x192)],_0x298680,_0x563eb8;for(_0x298680 in _0x409db8){if(!/_comment$/[_0x3bec01(0x19e)](_0x298680))continue;if(_0x409db8[_0x298680]==_0x2d2de1)return _0x563eb8=_0x298680[_0x3bec01(0x1ea)](/_comment$/)[0x0],_0x409db8[_0x563eb8];}return![];},_0x43142c['updateBuildProperty']=function(_0x46e3a8,_0x1e6049,_0x1a898f,_0x3ec4de){const _0x2deebc=_0x4e88e3;let _0x19e789=[];const _0x3e83be=/_comment$/;if(_0x3ec4de){const _0x6169b9=this['pbxTargetByName'](_0x3ec4de),_0x58f445=_0x6169b9&&_0x6169b9[_0x2deebc(0x1d5)],_0x2057de=this[_0x2deebc(0x1c9)]();for(const _0x3bf3c9 in _0x2057de){if(!_0x3e83be[_0x2deebc(0x19e)](_0x3bf3c9)&&_0x58f445===_0x3bf3c9){const _0x23a70c=_0x2057de[_0x3bf3c9][_0x2deebc(0x1b8)];for(const _0x2f061f of _0x23a70c){_0x19e789[_0x2deebc(0x1dc)](_0x2f061f[_0x2deebc(0x1c3)]);}break;}}}var _0x4db9bd=this[_0x2deebc(0x191)]();for(var _0x1c4631 in _0x4db9bd){if(!_0x3e83be[_0x2deebc(0x19e)](_0x1c4631)){if(_0x3ec4de&&!_0x19e789[_0x2deebc(0x18f)](_0x1c4631))continue;var _0x117ef6=_0x4db9bd[_0x1c4631];(_0x1a898f&&_0x117ef6[_0x2deebc(0x1a2)]===_0x1a898f||!_0x1a898f)&&_0x117ef6['buildSettings'][_0x46e3a8]&&(_0x117ef6[_0x2deebc(0x1bc)][_0x46e3a8]=_0x1e6049);}}};}static async[_0x126c8e(0x1e5)](_0x3b2d3c){const _0x56d907=_0x126c8e;if(_0x3b2d3c){const _0x32f5b2=(0x0,path_1[_0x56d907(0x19c)])(resource_1[_0x56d907(0x1c4)],resource_1[_0x56d907(0x19b)]),_0x198bda=(0x0,path_1[_0x56d907(0x19c)])(_0x32f5b2,_0x56d907(0x1e0)),_0x5b5950='icon.'+_0x3b2d3c[_0x56d907(0x18d)]()[_0x56d907(0x1ab)](_0x56d907(0x1c5),''),_0xd8b351=(0x0,path_1['join'])(_0x32f5b2,_0x5b5950);let _0x5edbef=await(0x0,load_1[_0x56d907(0x187)])(_0x198bda);_0x5edbef['images'][0x0]['filename']=_0x5b5950,await _0x3b2d3c[_0x56d907(0x1bb)](_0xd8b351),await fs[_0x56d907(0x1a1)](_0x198bda,JSON['stringify'](_0x5edbef));const _0x527774=(0x0,path_1[_0x56d907(0x19c)])(resource_1[_0x56d907(0x1c4)],resource_1[_0x56d907(0x1a6)]),_0x31ed04=(0x0,path_1[_0x56d907(0x19c)])(_0x527774,'Contents.json'),_0x2de484=_0x56d907(0x1cc),_0x41d7c4=(0x0,path_1[_0x56d907(0x19c)])(_0x527774,_0x2de484);let _0xd1d68e=await(0x0,load_1[_0x56d907(0x187)])(_0x31ed04),_0x56347a=imageHelper_1['ImageHelper']['createImg'](0x200);_0xd1d68e[_0x56d907(0x1ec)][0x0][_0x56d907(0x1c7)]=_0x2de484,await _0x56347a[_0x56d907(0x1bb)](_0x41d7c4),await fs[_0x56d907(0x1a1)](_0x31ed04,JSON[_0x56d907(0x1db)](_0xd1d68e));}}static[_0x126c8e(0x1b3)](_0x3109ce,_0x29cad0){const _0x786585=_0x126c8e;_0x3109ce['updateBuildProperty'](_0x786585(0x1e3),_0x29cad0),useExportOptionsXML=useExportOptionsXML[_0x786585(0x1ab)]('YOURTEAMID',_0x29cad0);}static['updateExportOptions'](){const _0x4b6c86=_0x126c8e;!fs['existsSync'](resource_1[_0x4b6c86(0x1bd)])&&fs['mkdirSync'](resource_1[_0x4b6c86(0x1bd)],{'recursive':!![]}),fs[_0x4b6c86(0x1a1)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],'ExportOptions.plist'),useExportOptionsXML);}static['bindManifestInfo'](_0x446faa,_0x5401b1,_0x225e05=![]){const _0xf16fc1=_0x126c8e;var _0xa0ad36;_0x446faa[_0xf16fc1(0x19a)](_0x5401b1[_0xf16fc1(0x1a2)]),_0x5401b1['id']&&!_0x225e05&&_0x446faa[_0xf16fc1(0x1d2)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x5401b1['id']+'\x22'),this[_0xf16fc1(0x1a0)]((_0xa0ad36=_0x5401b1[_0xf16fc1(0x18e)])!==null&&_0xa0ad36!==void 0x0?_0xa0ad36:[]),this['modifySwift'](_0x5401b1);}static[_0x126c8e(0x18c)](_0x46815d,_0x4afe1a){const _0x1dbbc5=_0x126c8e;_0x46815d[_0x1dbbc5(0x1d2)](_0x1dbbc5(0x1c1),_0x4afe1a);}static['updateDeeplink'](_0x2e3ff0){const _0x2dcf5e=_0x126c8e;let _0x4844dc=(0x0,path_1[_0x2dcf5e(0x19c)])(resource_1[_0x2dcf5e(0x1c4)],_0x2dcf5e(0x1b2)),_0x7da81a='';for(let _0x2d2d37=0x0;_0x2d2d37<_0x2e3ff0[_0x2dcf5e(0x1b6)];_0x2d2d37++){_0x7da81a+='<string>'+_0x2e3ff0[_0x2d2d37][_0x2dcf5e(0x18b)]+_0x2dcf5e(0x193);}const _0x49b08c=infoPlistXML[_0x2dcf5e(0x1ab)]('DEEPLINK',_0x7da81a);fs['writeFileSync'](_0x4844dc,_0x49b08c);}static[_0x126c8e(0x1e9)](_0x153d42){const _0x4c4209=_0x126c8e,_0x1418f0=(0x0,path_1[_0x4c4209(0x19c)])(resource_1['PROJECT_DIRECTORY'],_0x4c4209(0x1c2));let _0x6b63dd=manifestSwiftTemplate_1[_0x4c4209(0x1e4)];_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1a3),_0x153d42[_0x4c4209(0x1c8)]),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1e1),_0x153d42[_0x4c4209(0x1ef)]),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('AppName',_0x153d42[_0x4c4209(0x1a2)]),_0x6b63dd=_0x6b63dd['replace'](_0x4c4209(0x1ce),_0x153d42[_0x4c4209(0x1b0)]),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1cf),_0x153d42['id']),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('.minimal',_0x153d42[_0x4c4209(0x19d)]=='minimal-ui'?'.minimal':'.standalone');if(_0x153d42[_0x4c4209(0x18e)]){let _0x9becb4='';for(let _0x2af414=0x0;_0x2af414<_0x153d42[_0x4c4209(0x18e)][_0x4c4209(0x1b6)];_0x2af414++){_0x9becb4+=_0x4c4209(0x1d9)+_0x153d42[_0x4c4209(0x18e)][_0x2af414][_0x4c4209(0x18b)]+'\x22,\x20url:\x20\x22'+_0x153d42[_0x4c4209(0x18e)][_0x2af414][_0x4c4209(0x19f)]+'\x22),';}_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1d4),_0x9becb4);}typeof _0x153d42['mainScene']===_0x4c4209(0x1ba)?(_0x6b63dd=_0x6b63dd['replace']('SceneWidth',_0x153d42['mainScene'][_0x4c4209(0x1d6)]['width']),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('SceneHeight',_0x153d42[_0x4c4209(0x1b7)][_0x4c4209(0x1d6)][_0x4c4209(0x1aa)]),_0x6b63dd=_0x6b63dd['replace'](_0x4c4209(0x196),'\x22'+_0x153d42[_0x4c4209(0x1b7)][_0x4c4209(0x18a)]+'\x22'),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x1c0),_0x4c4209(0x1bf))):(_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('SceneWidth',_0x4c4209(0x1b4)),_0x6b63dd=_0x6b63dd['replace'](_0x4c4209(0x1a4),_0x4c4209(0x1b4)),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)](_0x4c4209(0x196),_0x4c4209(0x199)),_0x6b63dd=_0x6b63dd[_0x4c4209(0x1ab)]('USE_MAIN_SCENE',_0x4c4209(0x1c6))),fs[_0x4c4209(0x1a1)](_0x1418f0,_0x6b63dd,_0x4c4209(0x1a5));}}exports[_0x126c8e(0x194)]=XcodeProject;
1
+ 'use strict';function _0xadc1(_0x35980c,_0x5bcfbc){const _0x178f62=_0x178f();return _0xadc1=function(_0xadc165,_0x34574e){_0xadc165=_0xadc165-0xc2;let _0x154cb1=_0x178f62[_0xadc165];return _0x154cb1;},_0xadc1(_0x35980c,_0x5bcfbc);}const _0x3a8713=_0xadc1;(function(_0x53a07c,_0x4f11a4){const _0x42f67e=_0xadc1,_0x426b16=_0x53a07c();while(!![]){try{const _0x496a3c=-parseInt(_0x42f67e(0xee))/0x1*(parseInt(_0x42f67e(0xd7))/0x2)+-parseInt(_0x42f67e(0xe6))/0x3+-parseInt(_0x42f67e(0x118))/0x4+-parseInt(_0x42f67e(0xe4))/0x5*(parseInt(_0x42f67e(0xe8))/0x6)+-parseInt(_0x42f67e(0xf3))/0x7+parseInt(_0x42f67e(0xf8))/0x8+parseInt(_0x42f67e(0x115))/0x9;if(_0x496a3c===_0x4f11a4)break;else _0x426b16['push'](_0x426b16['shift']());}catch(_0x323d9d){_0x426b16['push'](_0x426b16['shift']());}}}(_0x178f,0xde110));Object[_0x3a8713(0xd0)](exports,_0x3a8713(0xce),{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x3a8713(0xd9)),load_1=require(_0x3a8713(0xfb)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x3a8713(0xf6)),exportOptionsXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>',infoPlistXML=_0x3a8713(0x110);let useExportOptionsXML='';class XcodeProject{static async[_0x3a8713(0x123)](_0x418e31,_0x193afe,_0x2f7cfb=![]){const _0x2af954=_0x3a8713;let _0x5aa3dd=xcode[_0x2af954(0x10c)](_0x418e31);this[_0x2af954(0xc6)](_0x5aa3dd),_0x5aa3dd[_0x2af954(0xda)]();let _0x5bb691=_0x193afe[_0x2af954(0x107)];const _0x38feb5=['release-testing',_0x2af954(0xea),'debugging','enterprise'];useExportOptionsXML=exportOptionsXML[_0x2af954(0xe2)](_0x2af954(0xc7),_0x38feb5[_0x2af954(0x109)](_0x5bb691)?_0x5bb691:_0x2af954(0xc9));_0x193afe[_0x2af954(0x129)]&&this['updateTeamId'](_0x5aa3dd,_0x193afe[_0x2af954(0x129)]);this[_0x2af954(0x11f)]();if(_0x193afe[_0x2af954(0x10b)])await this[_0x2af954(0x126)](_0x193afe[_0x2af954(0x10b)]);this[_0x2af954(0xe7)](_0x5aa3dd,_0x193afe['manifestInfo'][_0x2af954(0xf1)],_0x2f7cfb);_0x193afe['version']?this[_0x2af954(0x122)](_0x5aa3dd,_0x193afe[_0x2af954(0x116)]):this[_0x2af954(0x122)](_0x5aa3dd,_0x2af954(0xd5));try{fs[_0x2af954(0xf5)](_0x418e31,_0x5aa3dd[_0x2af954(0x112)]());}catch(_0x2c9354){console[_0x2af954(0xff)](_0x2c9354);}}static[_0x3a8713(0xc6)](_0x24a1bc){const _0x444d7e=_0x3a8713;_0x24a1bc[_0x444d7e(0xd1)]=function(_0x53fd81){const _0x26e4b4=_0x444d7e;var _0x198360=this[_0x26e4b4(0x104)][_0x26e4b4(0x10c)][_0x26e4b4(0xf7)][_0x26e4b4(0x125)],_0x3568db,_0x554e18;for(_0x3568db in _0x198360){if(!/_comment$/[_0x26e4b4(0xf2)](_0x3568db))continue;if(_0x198360[_0x3568db]==_0x53fd81)return _0x554e18=_0x3568db[_0x26e4b4(0xd8)](/_comment$/)[0x0],_0x198360[_0x554e18];}return![];},_0x24a1bc[_0x444d7e(0xf0)]=function(_0x104c55,_0x569599,_0x2fcc1f,_0x1c2476){const _0x182910=_0x444d7e;let _0x40a037=[];const _0x56bc0f=/_comment$/;if(_0x1c2476){const _0x117175=this[_0x182910(0x10e)](_0x1c2476),_0x281631=_0x117175&&_0x117175[_0x182910(0x100)],_0xabfac3=this[_0x182910(0x124)]();for(const _0x46ace3 in _0xabfac3){if(!_0x56bc0f[_0x182910(0xf2)](_0x46ace3)&&_0x281631===_0x46ace3){const _0x1c5b0c=_0xabfac3[_0x46ace3]['buildConfigurations'];for(const _0x43f311 of _0x1c5b0c){_0x40a037['push'](_0x43f311[_0x182910(0x127)]);}break;}}}var _0x3b923b=this[_0x182910(0xcd)]();for(var _0x193cd7 in _0x3b923b){if(!_0x56bc0f['test'](_0x193cd7)){if(_0x1c2476&&!_0x40a037[_0x182910(0x109)](_0x193cd7))continue;var _0x5d1339=_0x3b923b[_0x193cd7];(_0x2fcc1f&&_0x5d1339[_0x182910(0xc4)]===_0x2fcc1f||!_0x2fcc1f)&&_0x5d1339[_0x182910(0x117)][_0x104c55]&&(_0x5d1339['buildSettings'][_0x104c55]=_0x569599);}}};}static async[_0x3a8713(0x126)](_0x7b15af){const _0x41efe3=_0x3a8713;if(_0x7b15af){const _0x37c847=(0x0,path_1[_0x41efe3(0x119)])(resource_1[_0x41efe3(0x111)],resource_1[_0x41efe3(0x10d)]),_0x5b9639=(0x0,path_1[_0x41efe3(0x119)])(_0x37c847,'Contents.json'),_0xa6da48=_0x41efe3(0xc3)+_0x7b15af[_0x41efe3(0xfc)]()[_0x41efe3(0xe2)]('image/',''),_0x3b40fe=(0x0,path_1[_0x41efe3(0x119)])(_0x37c847,_0xa6da48);let _0x2d7bf8=await(0x0,load_1[_0x41efe3(0x11a)])(_0x5b9639);_0x2d7bf8[_0x41efe3(0x120)][0x0][_0x41efe3(0x121)]=_0xa6da48,await _0x7b15af[_0x41efe3(0xfe)](_0x3b40fe),await fs['writeFileSync'](_0x5b9639,JSON[_0x41efe3(0xed)](_0x2d7bf8));const _0x3f8869=(0x0,path_1[_0x41efe3(0x119)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x41efe3(0xe3)]),_0x428045=(0x0,path_1[_0x41efe3(0x119)])(_0x3f8869,'Contents.json'),_0xb0ccd4=_0x41efe3(0x103),_0x238082=(0x0,path_1[_0x41efe3(0x119)])(_0x3f8869,_0xb0ccd4);let _0x33ad95=await(0x0,load_1[_0x41efe3(0x11a)])(_0x428045),_0x3d999a=imageHelper_1['ImageHelper']['createImg'](0x200);_0x33ad95[_0x41efe3(0x120)][0x0]['filename']=_0xb0ccd4,await _0x3d999a[_0x41efe3(0xfe)](_0x238082),await fs[_0x41efe3(0xf5)](_0x428045,JSON[_0x41efe3(0xed)](_0x33ad95));}}static[_0x3a8713(0x102)](_0x153822,_0x18a2e2){const _0x28f8bc=_0x3a8713;_0x153822['updateBuildProperty'](_0x28f8bc(0xe5),_0x18a2e2),useExportOptionsXML=useExportOptionsXML['replace'](_0x28f8bc(0xd3),_0x18a2e2);}static['updateExportOptions'](){const _0x499856=_0x3a8713;!fs[_0x499856(0x106)](resource_1[_0x499856(0xdc)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x499856(0xf5)]((0x0,path_1[_0x499856(0x119)])(resource_1[_0x499856(0xdc)],'ExportOptions.plist'),useExportOptionsXML);}static[_0x3a8713(0xe7)](_0x57efce,_0x48355c,_0x53aedf=![]){const _0xfa3217=_0x3a8713;var _0x9464c8;_0x57efce[_0xfa3217(0xcc)](_0x48355c[_0xfa3217(0xc4)]),_0x48355c['id']&&!_0x53aedf&&_0x57efce[_0xfa3217(0xf0)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x48355c['id']+'\x22'),this[_0xfa3217(0xfd)]((_0x9464c8=_0x48355c[_0xfa3217(0xeb)])!==null&&_0x9464c8!==void 0x0?_0x9464c8:[]),this[_0xfa3217(0x114)](_0x48355c);}static['updateVersion'](_0x1e93ab,_0x50d440){_0x1e93ab['updateBuildProperty']('CURRENT_PROJECT_VERSION',_0x50d440);}static['updateDeeplink'](_0x54cdbd){const _0x192286=_0x3a8713;let _0x1ddbe9=(0x0,path_1[_0x192286(0x119)])(resource_1[_0x192286(0x111)],_0x192286(0x128)),_0x10e68c='';for(let _0x1ac799=0x0;_0x1ac799<_0x54cdbd[_0x192286(0xdf)];_0x1ac799++){_0x10e68c+='<string>'+_0x54cdbd[_0x1ac799][_0x192286(0x113)]+_0x192286(0xca);}const _0xb2f4a6=infoPlistXML[_0x192286(0xe2)]('DEEPLINK',_0x10e68c);fs['writeFileSync'](_0x1ddbe9,_0xb2f4a6);}static[_0x3a8713(0x114)](_0x53c3c5){const _0x131349=_0x3a8713,_0x36a5bd=(0x0,path_1[_0x131349(0x119)])(resource_1[_0x131349(0x111)],_0x131349(0xd2));let _0x59271a=manifestSwiftTemplate_1[_0x131349(0x11d)];_0x59271a=_0x59271a['replace']('START_URL',_0x53c3c5[_0x131349(0xe0)]),_0x59271a=_0x59271a[_0x131349(0xe2)]('SCOPE',_0x53c3c5[_0x131349(0xc2)]),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xec),_0x53c3c5['name']),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xef),_0x53c3c5[_0x131349(0xf4)]),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x10a),_0x53c3c5['id']),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xc5),_0x53c3c5['display']==_0x131349(0x11b)?_0x131349(0xc5):_0x131349(0xfa));if(_0x53c3c5['protocol_handlers']){let _0x5b5d44='';for(let _0x4431aa=0x0;_0x4431aa<_0x53c3c5['protocol_handlers']['length'];_0x4431aa++){_0x5b5d44+=_0x131349(0xdd)+_0x53c3c5[_0x131349(0xeb)][_0x4431aa]['protocol']+'\x22,\x20url:\x20\x22'+_0x53c3c5[_0x131349(0xeb)][_0x4431aa][_0x131349(0xdb)]+_0x131349(0x108);}_0x59271a=_0x59271a[_0x131349(0xe2)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x5b5d44);}typeof _0x53c3c5[_0x131349(0x105)]===_0x131349(0x101)?(_0x59271a=_0x59271a['replace'](_0x131349(0xe9),_0x53c3c5[_0x131349(0x105)][_0x131349(0xd4)][_0x131349(0xd6)]),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x12a),_0x53c3c5[_0x131349(0x105)][_0x131349(0xd4)][_0x131349(0xc8)]),_0x59271a=_0x59271a['replace'](_0x131349(0x11c),'\x22'+_0x53c3c5[_0x131349(0x105)]['resizability']+'\x22'),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x10f),_0x131349(0xde))):(_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0xe9),_0x131349(0xcb)),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x12a),_0x131349(0xcb)),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x11c),_0x131349(0xcf)),_0x59271a=_0x59271a[_0x131349(0xe2)](_0x131349(0x10f),_0x131349(0xf9))),fs['writeFileSync'](_0x36a5bd,_0x59271a,_0x131349(0x11e));}}exports[_0x3a8713(0xe1)]=XcodeProject;function _0x178f(){const _0xacdbac=['defaultSize','1.0','width','12vMrpfk','split','path','parseSync','url','PROJECT_BUILD_DIRECTORY','PWAProtocol(protocolValue:\x20\x22','true','length','start_url','default','replace','MIDDLE_APPICON_DIRECTORY','973970BIUpZi','DEVELOPMENT_TEAM','302121KtFegP','bindManifestInfo','42fZqbvZ','SceneWidth','app-store-connect','protocol_handlers','AppName','stringify','219291MvJHTE','Description','updateBuildProperty','json','test','5618172TlBXyU','description','writeFileSync','xcode','objects','11110912VmcIIk','false','.standalone','../resource/load','getMIME','updateDeeplink','writeAsync','log','buildConfigurationList','object','updateTeamId','icon.png','hash','mainScene','existsSync','buildType','\x22),','includes','AppID','icon','project','BACK_APPICON_DIRECTORY','pbxTargetByName','USE_MAIN_SCENE','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','PROJECT_DIRECTORY','writeSync','protocol','modifySwift','35341776prjTBI','version','buildSettings','3294148qGIxqr','join','loadJsonFromDisk','minimal-ui','SceneResizability','manifestSwiftTemplate','utf-8','updateExportOptions','images','filename','updateVersion','modify','pbxXCConfigurationList','PBXGroup','bindIcon','value','./web-spatial/Info.plist','teamId','SceneHeight','scope','icon.','name','.minimal','fixProjectFunction','BUILDTYPE','height','release-testing','</string>','1280','updateProductName','pbxXCBuildConfigurationSection','__esModule','\x22automatic\x22','defineProperty','pbxGroupByName','./web-spatial/libs/webView/manifest.swift','YOURTEAMID'];_0x178f=function(){return _0xacdbac;};return _0x178f();}
@@ -1 +1 @@
1
- 'use strict';const _0x490280=_0xe252;(function(_0x22274c,_0x2906f8){const _0x23b975=_0xe252,_0x50ce5d=_0x22274c();while(!![]){try{const _0x851f97=-parseInt(_0x23b975(0x1e0))/0x1+-parseInt(_0x23b975(0x1be))/0x2*(-parseInt(_0x23b975(0x1ef))/0x3)+parseInt(_0x23b975(0x1b9))/0x4+parseInt(_0x23b975(0x1c8))/0x5+parseInt(_0x23b975(0x1cd))/0x6*(parseInt(_0x23b975(0x1dd))/0x7)+parseInt(_0x23b975(0x209))/0x8*(-parseInt(_0x23b975(0x1f6))/0x9)+parseInt(_0x23b975(0x1f4))/0xa*(-parseInt(_0x23b975(0x1eb))/0xb);if(_0x851f97===_0x2906f8)break;else _0x50ce5d['push'](_0x50ce5d['shift']());}catch(_0x331d82){_0x50ce5d['push'](_0x50ce5d['shift']());}}}(_0x5fdc,0x52845));function _0x5fdc(){const _0x5d11d7=['Booted','uploadPackage','toString','PROJECT_DIRECTORY','length','path','\x20launch\x20\x22','14sSmtoX','installing\x20app','\x20-u\x20','476982gJHmla','\x20altool','--\x20','\x20boot\x20\x22','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','Build/Products/Debug-xrsimulator/','authApi','boot','log','altool','\x20--verbose','11kvCGjS','--\x20visionOS','\x20simctl','launch','5895aCYixx','visionos','validate','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','name','3914890IVbyRl','install','1683UJkgAx','authAccount','appleId','build\x20success','default','xcrun','\x20shutdown\x20booted','\x20--apiKey\x20','\x20-p\x20','push','\x22\x20\x22','PROJECT_BUILD_DIRECTORY','child_process','Apple\x20Vision\x20Pro','split','../resource','trim','\x20install\x20\x22','line','6424SPPmDR','uploadApp','\x20--apiIssuer\x20','deviceId','2162996xcahlX','\x20--upload-app\x20-f\x20','shutdown','Shutdown','\x20list\x20devices\x20\x22','126gNBjfA','\x20list','simctl','listDevices','\x20-t\x20','platform','parseListDevices','__esModule','defineProperty','list','695355xUcaqF','find\x20simulator:\x20','\x20--apple-id\x20','execSync','mkdirSync','1659018UzbZJU','verbose','includes','\x27\x20-derivedDataPath\x20','state','existsSync','XcodebuildCMD','/test','launch\x20app'];_0x5fdc=function(){return _0x5d11d7;};return _0x5fdc();}function _0xe252(_0x4cdeef,_0x16bacb){const _0x5fdcd4=_0x5fdc();return _0xe252=function(_0xe252f9,_0x1cec25){_0xe252f9=_0xe252f9-0x1b6;let _0x42063e=_0x5fdcd4[_0xe252f9];return _0x42063e;},_0xe252(_0x4cdeef,_0x16bacb);}Object[_0x490280(0x1c6)](exports,_0x490280(0x1c5),{'value':!![]});const child_process_1=require(_0x490280(0x202)),resource_1=require(_0x490280(0x205)),path_1=require(_0x490280(0x1db)),fs=require('fs'),xcodebuild_1=require('./xcodebuild');class Xcrun{static async[_0x490280(0x1f1)](_0x537fc1,_0x4eee4c,_0x4affae,_0x23fc97){const _0x572a20=_0x490280,_0x2aa4fa=new XcrunCMD()[_0x572a20(0x1e9)]();_0x2aa4fa[_0x572a20(0x1f1)](_0x537fc1);_0x23fc97?_0x2aa4fa[_0x572a20(0x1f7)](_0x4eee4c,_0x4affae):_0x2aa4fa[_0x572a20(0x1e6)](_0x4eee4c,_0x4affae);_0x2aa4fa[_0x572a20(0x1c3)](_0x572a20(0x1f0));const _0x108842=(0x0,child_process_1[_0x572a20(0x1cb)])(_0x2aa4fa['line']);return _0x108842[_0x572a20(0x1d8)]();}static async['uploadPackage'](_0x2cfa33,_0x4559fb,_0x2c6a0a,_0x1c0ed1,_0x5e46fb){const _0x1cd38b=_0x490280,_0x1d0ea4=new XcrunCMD()['altool']();_0x1d0ea4[_0x1cd38b(0x1d7)](_0x2cfa33);_0x5e46fb?_0x1d0ea4[_0x1cd38b(0x1f7)](_0x4559fb,_0x2c6a0a):_0x1d0ea4[_0x1cd38b(0x1e6)](_0x4559fb,_0x2c6a0a);_0x1d0ea4[_0x1cd38b(0x1c3)](_0x1cd38b(0x1f0)),_0x1d0ea4[_0x1cd38b(0x1f8)](_0x1c0ed1);const _0x362df6=(0x0,child_process_1[_0x1cd38b(0x1cb)])(_0x1d0ea4[_0x1cd38b(0x208)]);return _0x362df6[_0x1cd38b(0x1d8)]();}static async[_0x490280(0x1b6)](_0x4cdd6a,_0x341be7,_0xda9428,_0x3c30a8){const _0x497bea=_0x490280,_0x3a1b73=new XcrunCMD()[_0x497bea(0x1e9)]();_0x3a1b73[_0x497bea(0x1b6)](_0x4cdd6a);_0x3c30a8?_0x3a1b73[_0x497bea(0x1f7)](_0x341be7,_0xda9428):_0x3a1b73[_0x497bea(0x1e6)](_0x341be7,_0xda9428);_0x3a1b73[_0x497bea(0x1c3)]('visionos');const _0x1bdd0a=(0x0,child_process_1[_0x497bea(0x1cb)])(_0x3a1b73[_0x497bea(0x208)]);return _0x1bdd0a[_0x497bea(0x1d8)]();}static async['runWithSimulator'](_0x9b0c45){const _0x5aaae5=_0x490280;let _0x291369=new XcrunCMD()['simctl']();_0x291369[_0x5aaae5(0x1c1)](_0x5aaae5(0x203));const _0x2820e8=(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x291369['line']),_0x237a0c=this['parseListDevices'](_0x2820e8[_0x5aaae5(0x1d8)]());if(_0x237a0c[_0x5aaae5(0x1da)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x4ebbc0=_0x237a0c[0x0];for(let _0x551131=0x0;_0x551131<_0x237a0c[_0x5aaae5(0x1da)];_0x551131++){if(_0x237a0c[_0x551131][_0x5aaae5(0x1d1)]===_0x5aaae5(0x1d6)){_0x4ebbc0=_0x237a0c[_0x551131];break;}}console[_0x5aaae5(0x1e8)](_0x5aaae5(0x1c9)+_0x4ebbc0[_0x5aaae5(0x1b8)]);const _0x492cfe=resource_1[_0x5aaae5(0x1d9)]+'/web-spatial.xcodeproj',_0x120bd7=resource_1[_0x5aaae5(0x201)]+_0x5aaae5(0x1d4);!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x5aaae5(0x1cc)](resource_1[_0x5aaae5(0x201)],{'recursive':!![]});!fs[_0x5aaae5(0x1d2)](_0x120bd7)&&fs['mkdirSync'](_0x120bd7,{'recursive':!![]});const _0x39f5c4=new xcodebuild_1[(_0x5aaae5(0x1d3))]()['project'](_0x492cfe)[_0x5aaae5(0x208)]+(_0x5aaae5(0x1e4)+_0x4ebbc0[_0x5aaae5(0x1b8)]+_0x5aaae5(0x1d0)+_0x120bd7);console[_0x5aaae5(0x1e8)]('start\x20building'),(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x39f5c4),console[_0x5aaae5(0x1e8)](_0x5aaae5(0x1f9));_0x4ebbc0[_0x5aaae5(0x1d1)]===_0x5aaae5(0x1bc)&&(_0x291369=new XcrunCMD()[_0x5aaae5(0x1c0)](),_0x291369[_0x5aaae5(0x1e7)](_0x4ebbc0[_0x5aaae5(0x1b8)]),(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x291369['line']));(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x5aaae5(0x1f2)),console['log'](_0x5aaae5(0x1de));const _0x1243ac=(0x0,path_1['join'])(_0x120bd7,_0x5aaae5(0x1e5)+_0x9b0c45[_0x5aaae5(0x1f3)]+'.app');_0x291369=new XcrunCMD()[_0x5aaae5(0x1c0)](),_0x291369[_0x5aaae5(0x1f5)](_0x4ebbc0[_0x5aaae5(0x1b8)],_0x1243ac),(0x0,child_process_1['execSync'])(_0x291369[_0x5aaae5(0x208)]),console['log']('install\x20success'),console['log'](_0x5aaae5(0x1d5)),_0x291369=new XcrunCMD()[_0x5aaae5(0x1c0)](),_0x291369['launch'](_0x4ebbc0[_0x5aaae5(0x1b8)],_0x9b0c45['id']),(0x0,child_process_1[_0x5aaae5(0x1cb)])(_0x291369[_0x5aaae5(0x208)]);}static[_0x490280(0x1c4)](_0x48d8f2){const _0x31002f=_0x490280;let _0x1b5794=_0x48d8f2[_0x31002f(0x204)]('\x0a'),_0x4fb28d=[],_0x5eeb4b=-0x1;for(let _0x254302=0x0;_0x254302<_0x1b5794[_0x31002f(0x1da)];_0x254302++){if(_0x1b5794[_0x254302][_0x31002f(0x1cf)](_0x31002f(0x1ec)))_0x5eeb4b=_0x254302;else{if(_0x5eeb4b>0x0){if(_0x1b5794[_0x254302][_0x31002f(0x1cf)](_0x31002f(0x1e2)))break;if(_0x1b5794[_0x254302][_0x31002f(0x1da)]>0x0){const _0x5c3fbc=_0x1b5794[_0x254302]['split']('('),_0x31aed4={'name':_0x5c3fbc[0x0]['trim'](),'deviceId':_0x5c3fbc[0x1]['split'](')')[0x0][_0x31002f(0x206)](),'state':_0x5c3fbc[0x2][_0x31002f(0x204)](')')[0x0][_0x31002f(0x206)]()};_0x4fb28d[_0x31002f(0x1ff)](_0x31aed4);}}}}return _0x4fb28d;}}exports[_0x490280(0x1fa)]=Xcrun;class XcrunCMD{constructor(){const _0x2e7698=_0x490280;this[_0x2e7698(0x208)]=_0x2e7698(0x1fb);}[_0x490280(0x1e9)](){const _0x4ea2f2=_0x490280;return this['line']+=_0x4ea2f2(0x1e1),this;}[_0x490280(0x1c0)](){const _0x273e7d=_0x490280;return this[_0x273e7d(0x208)]+=_0x273e7d(0x1ed),this;}[_0x490280(0x1c7)](){const _0x3c9314=_0x490280;return this['line']+=_0x3c9314(0x1bf),this;}[_0x490280(0x1c1)](_0x2c8423){const _0x383d1f=_0x490280;return this[_0x383d1f(0x208)]+=_0x383d1f(0x1bd)+_0x2c8423+'\x22',this;}['validate'](_0x5d59d1){const _0x4485db=_0x490280;return this[_0x4485db(0x208)]+='\x20--validate-app\x20-f\x20'+_0x5d59d1,this;}['uploadApp'](_0x42667b){const _0x2b89c5=_0x490280;return this[_0x2b89c5(0x208)]+=_0x2b89c5(0x1ba)+_0x42667b,this;}[_0x490280(0x1d7)](_0x7912d0){return this['line']+='\x20--upload-package\x20'+_0x7912d0,this;}['authAccount'](_0x2cf93e,_0x1eee24){const _0x59eb94=_0x490280;return this[_0x59eb94(0x208)]+=_0x59eb94(0x1df)+_0x2cf93e+_0x59eb94(0x1fe)+_0x1eee24,this;}[_0x490280(0x1e6)](_0x8e4c60,_0x1e8d3d){const _0x37afe3=_0x490280;return this[_0x37afe3(0x208)]+=_0x37afe3(0x1fd)+_0x8e4c60+_0x37afe3(0x1b7)+_0x1e8d3d,this;}[_0x490280(0x1f8)](_0x5a4f2a){const _0x2ceba5=_0x490280;return this[_0x2ceba5(0x208)]+=_0x2ceba5(0x1ca)+_0x5a4f2a,this;}[_0x490280(0x1c3)](_0x25e6de){const _0x1eed31=_0x490280;return this['line']+=_0x1eed31(0x1c2)+_0x25e6de,this;}['version'](_0x4c011e){const _0x19adad=_0x490280;return this[_0x19adad(0x208)]+='\x20--bundle-version\x20'+_0x4c011e,this;}[_0x490280(0x1ce)](){const _0x21c838=_0x490280;return this[_0x21c838(0x208)]+=_0x21c838(0x1ea),this;}[_0x490280(0x1bb)](){const _0x2666ac=_0x490280;return this['line']+=_0x2666ac(0x1fc),this;}[_0x490280(0x1e7)](_0x585a19){const _0xea56b7=_0x490280;return this[_0xea56b7(0x208)]+=_0xea56b7(0x1e3)+_0x585a19+'\x22',this;}['install'](_0x2f5b50,_0x12e30f){const _0x40c112=_0x490280;return this[_0x40c112(0x208)]+=_0x40c112(0x207)+_0x2f5b50+'\x22\x20\x22'+_0x12e30f+'\x22',this;}[_0x490280(0x1ee)](_0x27102e,_0x53af8e){const _0x5ec99b=_0x490280;return this[_0x5ec99b(0x208)]+=_0x5ec99b(0x1dc)+_0x27102e+_0x5ec99b(0x200)+_0x53af8e+'\x22',this;}}
1
+ 'use strict';const _0x1fad42=_0x322b;function _0x5b38(){const _0x51623c=['\x20-t\x20','visionos','24HVBIzQ','/web-spatial.xcodeproj','split','\x20--validate-app\x20-f\x20','Booted','launch','PROJECT_DIRECTORY','uploadApp','Shutdown','name','./xcodebuild','execSync','27760359OywEux','deviceId','listDevices','10bhujLk','platform','39268aMIfuk','\x20list\x20devices\x20\x22','\x20-u\x20','\x20altool','\x22\x20\x22','find\x20simulator:\x20','altool','\x20--verbose','\x20launch\x20\x22','install','log','\x20-p\x20','\x20install\x20\x22','\x27\x20-derivedDataPath\x20','installing\x20app','\x20--upload-package\x20','launch\x20app','install\x20success','\x20--apiIssuer\x20','XcodebuildCMD','PROJECT_BUILD_DIRECTORY','Build/Products/Debug-xrsimulator/','boot','/test','line','\x20simctl','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','existsSync','path','618251bYMsgq','start\x20building','2nunXDy','no\x20visionOS\x20simulator\x20found','state','mkdirSync','9307404XIJIhl','../resource','runWithSimulator','toString','3476420ZhlVCq','authApi','join','project','__esModule','includes','appleId','\x20--apple-id\x20','uploadPackage','default','child_process','authAccount','defineProperty','simctl','Apple\x20Vision\x20Pro','version','849716qZehHV','237VBElsm','\x20shutdown\x20booted','verbose','trim','parseListDevices','list','validate','3736024HghTof','\x20--apiKey\x20','length'];_0x5b38=function(){return _0x51623c;};return _0x5b38();}(function(_0x21f779,_0x389b5b){const _0x4ecc89=_0x322b,_0x199d82=_0x21f779();while(!![]){try{const _0x474567=-parseInt(_0x4ecc89(0xda))/0x1*(-parseInt(_0x4ecc89(0xdc))/0x2)+-parseInt(_0x4ecc89(0xf5))/0x3*(-parseInt(_0x4ecc89(0xbd))/0x4)+parseInt(_0x4ecc89(0xe4))/0x5+parseInt(_0x4ecc89(0x101))/0x6*(parseInt(_0x4ecc89(0xf4))/0x7)+-parseInt(_0x4ecc89(0xfc))/0x8+parseInt(_0x4ecc89(0xe0))/0x9+parseInt(_0x4ecc89(0xbb))/0xa*(-parseInt(_0x4ecc89(0x10d))/0xb);if(_0x474567===_0x389b5b)break;else _0x199d82['push'](_0x199d82['shift']());}catch(_0x4a5736){_0x199d82['push'](_0x199d82['shift']());}}}(_0x5b38,0x96e82));Object[_0x1fad42(0xf0)](exports,_0x1fad42(0xe8),{'value':!![]});const child_process_1=require(_0x1fad42(0xee)),resource_1=require(_0x1fad42(0xe1)),path_1=require(_0x1fad42(0xd9)),fs=require('fs'),xcodebuild_1=require(_0x1fad42(0x10b));class Xcrun{static async[_0x1fad42(0xfb)](_0x2dbae1,_0x2405dc,_0x375aaf,_0x53c570){const _0x58199d=_0x1fad42,_0xfaa3ef=new XcrunCMD()[_0x58199d(0xc3)]();_0xfaa3ef[_0x58199d(0xfb)](_0x2dbae1);_0x53c570?_0xfaa3ef[_0x58199d(0xef)](_0x2405dc,_0x375aaf):_0xfaa3ef['authApi'](_0x2405dc,_0x375aaf);_0xfaa3ef[_0x58199d(0xbc)](_0x58199d(0x100));const _0x4194cd=(0x0,child_process_1[_0x58199d(0x10c)])(_0xfaa3ef[_0x58199d(0xd5)]);return _0x4194cd[_0x58199d(0xe3)]();}static async[_0x1fad42(0xec)](_0x2833b1,_0x302bbd,_0x21a473,_0x1abb00,_0xe8f2e5){const _0x3a9cbd=_0x1fad42,_0x4531f1=new XcrunCMD()[_0x3a9cbd(0xc3)]();_0x4531f1[_0x3a9cbd(0xec)](_0x2833b1);_0xe8f2e5?_0x4531f1[_0x3a9cbd(0xef)](_0x302bbd,_0x21a473):_0x4531f1[_0x3a9cbd(0xe5)](_0x302bbd,_0x21a473);_0x4531f1['platform'](_0x3a9cbd(0x100)),_0x4531f1[_0x3a9cbd(0xea)](_0x1abb00);const _0x2feed8=(0x0,child_process_1[_0x3a9cbd(0x10c)])(_0x4531f1[_0x3a9cbd(0xd5)]);return _0x2feed8[_0x3a9cbd(0xe3)]();}static async[_0x1fad42(0x108)](_0x5d371b,_0x4e3da6,_0x128a32,_0x3e1c87){const _0xe4d610=_0x1fad42,_0xe591d5=new XcrunCMD()['altool']();_0xe591d5['uploadApp'](_0x5d371b);_0x3e1c87?_0xe591d5[_0xe4d610(0xef)](_0x4e3da6,_0x128a32):_0xe591d5[_0xe4d610(0xe5)](_0x4e3da6,_0x128a32);_0xe591d5[_0xe4d610(0xbc)](_0xe4d610(0x100));const _0x2ad378=(0x0,child_process_1[_0xe4d610(0x10c)])(_0xe591d5[_0xe4d610(0xd5)]);return _0x2ad378[_0xe4d610(0xe3)]();}static async[_0x1fad42(0xe2)](_0x24446c){const _0x20c8fe=_0x1fad42;let _0x3723a9=new XcrunCMD()[_0x20c8fe(0xf1)]();_0x3723a9[_0x20c8fe(0xba)](_0x20c8fe(0xf2));const _0x5aa54e=(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9[_0x20c8fe(0xd5)]),_0x446ee4=this[_0x20c8fe(0xf9)](_0x5aa54e['toString']());if(_0x446ee4[_0x20c8fe(0xfe)]===0x0)throw new Error(_0x20c8fe(0xdd));let _0x27ee34=_0x446ee4[0x0];for(let _0x82f42=0x0;_0x82f42<_0x446ee4[_0x20c8fe(0xfe)];_0x82f42++){if(_0x446ee4[_0x82f42][_0x20c8fe(0xde)]===_0x20c8fe(0x105)){_0x27ee34=_0x446ee4[_0x82f42];break;}}console[_0x20c8fe(0xc7)](_0x20c8fe(0xc2)+_0x27ee34['deviceId']);const _0xcda592=resource_1[_0x20c8fe(0x107)]+_0x20c8fe(0x102),_0x5a1087=resource_1['PROJECT_BUILD_DIRECTORY']+_0x20c8fe(0xd4);!fs[_0x20c8fe(0xd8)](resource_1[_0x20c8fe(0xd1)])&&fs['mkdirSync'](resource_1[_0x20c8fe(0xd1)],{'recursive':!![]});!fs['existsSync'](_0x5a1087)&&fs[_0x20c8fe(0xdf)](_0x5a1087,{'recursive':!![]});const _0x45e117=new xcodebuild_1[(_0x20c8fe(0xd0))]()[_0x20c8fe(0xe7)](_0xcda592)[_0x20c8fe(0xd5)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x27ee34[_0x20c8fe(0xb9)]+_0x20c8fe(0xca)+_0x5a1087);console['log'](_0x20c8fe(0xdb)),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x45e117),console[_0x20c8fe(0xc7)]('build\x20success');_0x27ee34[_0x20c8fe(0xde)]===_0x20c8fe(0x109)&&(_0x3723a9=new XcrunCMD()[_0x20c8fe(0xf1)](),_0x3723a9[_0x20c8fe(0xd3)](_0x27ee34['deviceId']),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9[_0x20c8fe(0xd5)]));(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x20c8fe(0xd7)),console[_0x20c8fe(0xc7)](_0x20c8fe(0xcb));const _0x49901f=(0x0,path_1[_0x20c8fe(0xe6)])(_0x5a1087,_0x20c8fe(0xd2)+_0x24446c[_0x20c8fe(0x10a)]+'.app');_0x3723a9=new XcrunCMD()['simctl'](),_0x3723a9['install'](_0x27ee34[_0x20c8fe(0xb9)],_0x49901f),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9[_0x20c8fe(0xd5)]),console[_0x20c8fe(0xc7)](_0x20c8fe(0xce)),console[_0x20c8fe(0xc7)](_0x20c8fe(0xcd)),_0x3723a9=new XcrunCMD()[_0x20c8fe(0xf1)](),_0x3723a9[_0x20c8fe(0x106)](_0x27ee34[_0x20c8fe(0xb9)],_0x24446c['id']),(0x0,child_process_1[_0x20c8fe(0x10c)])(_0x3723a9['line']);}static[_0x1fad42(0xf9)](_0xc6411c){const _0x34814c=_0x1fad42;let _0x38a7fc=_0xc6411c['split']('\x0a'),_0x1e8d7a=[],_0x2d5ef5=-0x1;for(let _0x1ba7d5=0x0;_0x1ba7d5<_0x38a7fc['length'];_0x1ba7d5++){if(_0x38a7fc[_0x1ba7d5][_0x34814c(0xe9)]('--\x20visionOS'))_0x2d5ef5=_0x1ba7d5;else{if(_0x2d5ef5>0x0){if(_0x38a7fc[_0x1ba7d5][_0x34814c(0xe9)]('--\x20'))break;if(_0x38a7fc[_0x1ba7d5][_0x34814c(0xfe)]>0x0){const _0x20de15=_0x38a7fc[_0x1ba7d5][_0x34814c(0x103)]('('),_0x951ce9={'name':_0x20de15[0x0]['trim'](),'deviceId':_0x20de15[0x1]['split'](')')[0x0]['trim'](),'state':_0x20de15[0x2][_0x34814c(0x103)](')')[0x0][_0x34814c(0xf8)]()};_0x1e8d7a['push'](_0x951ce9);}}}}return _0x1e8d7a;}}exports[_0x1fad42(0xed)]=Xcrun;function _0x322b(_0x55327c,_0x38ef7b){const _0x5b3815=_0x5b38();return _0x322b=function(_0x322bf5,_0x4141dc){_0x322bf5=_0x322bf5-0xb9;let _0x344d01=_0x5b3815[_0x322bf5];return _0x344d01;},_0x322b(_0x55327c,_0x38ef7b);}class XcrunCMD{constructor(){this['line']='xcrun';}['altool'](){const _0x2c3235=_0x1fad42;return this[_0x2c3235(0xd5)]+=_0x2c3235(0xc0),this;}[_0x1fad42(0xf1)](){const _0x1f8169=_0x1fad42;return this[_0x1f8169(0xd5)]+=_0x1f8169(0xd6),this;}[_0x1fad42(0xfa)](){const _0x336fef=_0x1fad42;return this[_0x336fef(0xd5)]+='\x20list',this;}[_0x1fad42(0xba)](_0x3df2e9){const _0x26acaf=_0x1fad42;return this['line']+=_0x26acaf(0xbe)+_0x3df2e9+'\x22',this;}[_0x1fad42(0xfb)](_0x15aa58){const _0x202eae=_0x1fad42;return this[_0x202eae(0xd5)]+=_0x202eae(0x104)+_0x15aa58,this;}[_0x1fad42(0x108)](_0x1d65ba){const _0x4aaa78=_0x1fad42;return this[_0x4aaa78(0xd5)]+='\x20--upload-app\x20-f\x20'+_0x1d65ba,this;}[_0x1fad42(0xec)](_0x365955){const _0x5b05f8=_0x1fad42;return this[_0x5b05f8(0xd5)]+=_0x5b05f8(0xcc)+_0x365955,this;}['authAccount'](_0x8867b6,_0x524f1d){const _0x5e41af=_0x1fad42;return this[_0x5e41af(0xd5)]+=_0x5e41af(0xbf)+_0x8867b6+_0x5e41af(0xc8)+_0x524f1d,this;}[_0x1fad42(0xe5)](_0x162234,_0x122d30){const _0x18ba0f=_0x1fad42;return this['line']+=_0x18ba0f(0xfd)+_0x162234+_0x18ba0f(0xcf)+_0x122d30,this;}[_0x1fad42(0xea)](_0x410215){const _0x49b4ce=_0x1fad42;return this[_0x49b4ce(0xd5)]+=_0x49b4ce(0xeb)+_0x410215,this;}[_0x1fad42(0xbc)](_0x10a56e){const _0x855bb3=_0x1fad42;return this['line']+=_0x855bb3(0xff)+_0x10a56e,this;}[_0x1fad42(0xf3)](_0x1e767c){return this['line']+='\x20--bundle-version\x20'+_0x1e767c,this;}[_0x1fad42(0xf7)](){const _0x59aa62=_0x1fad42;return this[_0x59aa62(0xd5)]+=_0x59aa62(0xc4),this;}['shutdown'](){const _0x124267=_0x1fad42;return this[_0x124267(0xd5)]+=_0x124267(0xf6),this;}[_0x1fad42(0xd3)](_0x491691){const _0xc60969=_0x1fad42;return this[_0xc60969(0xd5)]+='\x20boot\x20\x22'+_0x491691+'\x22',this;}[_0x1fad42(0xc6)](_0x1fa219,_0x57183b){const _0x1272b6=_0x1fad42;return this[_0x1272b6(0xd5)]+=_0x1272b6(0xc9)+_0x1fa219+'\x22\x20\x22'+_0x57183b+'\x22',this;}[_0x1fad42(0x106)](_0x2a93cb,_0x47f907){const _0x40f5ff=_0x1fad42;return this[_0x40f5ff(0xd5)]+=_0x40f5ff(0xc5)+_0x2a93cb+_0x40f5ff(0xc1)+_0x47f907+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "sharp": "^0.33.5",
39
39
  "valid-url": "^1.0.9",
40
40
  "xcode": "^3.0.1",
41
- "@webspatial/platform-visionos": "^0.1.1"
41
+ "@webspatial/platform-visionos": "^0.1.2"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-terser": "^0.4.3",