@webspatial/builder 0.1.15 → 0.1.16

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 _0x5ae9b3=_0x2625;(function(_0x53317a,_0x17ad3f){const _0x108aa2=_0x2625,_0x29d444=_0x53317a();while(!![]){try{const _0x143543=-parseInt(_0x108aa2(0x15a))/0x1+-parseInt(_0x108aa2(0x13f))/0x2*(parseInt(_0x108aa2(0x15f))/0x3)+parseInt(_0x108aa2(0x159))/0x4*(-parseInt(_0x108aa2(0x174))/0x5)+-parseInt(_0x108aa2(0x175))/0x6+parseInt(_0x108aa2(0x16a))/0x7+-parseInt(_0x108aa2(0x140))/0x8*(-parseInt(_0x108aa2(0x148))/0x9)+parseInt(_0x108aa2(0x131))/0xa;if(_0x143543===_0x17ad3f)break;else _0x29d444['push'](_0x29d444['shift']());}catch(_0x431eda){_0x29d444['push'](_0x29d444['shift']());}}}(_0x335b,0xdfb62));function _0x2625(_0x1d8cd9,_0x4c863b){const _0x335ba3=_0x335b();return _0x2625=function(_0x26253e,_0xe58b99){_0x26253e=_0x26253e-0x12f;let _0x1a27f6=_0x335ba3[_0x26253e];return _0x1a27f6;},_0x2625(_0x1d8cd9,_0x4c863b);}function _0x335b(){const _0x4940cb=['manifest\x20path','configureHelp','build','__esModule','By\x20compiling\x20or\x20running\x20directly\x20on\x20the\x20simulator\x20the\x20WebSpatial\x20App','command','requiredOption','--manifest\x20<manifest>','Publish\x20WebSpatial\x20App','username','4211992NIZFDM','379904XQEeDq','name','store','setDecompressResponseBuffer','./lib/cmds/version','152049TKWyPq','defineProperty','Shutdown\x20Simulator','export\x20path','downloadFile','fetch','Command','manifest\x20url','app\x20version','bundle\x20id','./lib/cmds/build','5010936EwVPWB','--manifest-url\x20<manifestUrl>','option','./lib/cmds/shutdown','log','--base\x20<base>','-v,\x20--version','action','major','run','5bnUNuh','9072900LmBmzp','--tryWithoutBuild\x20<tryWithoutBuild>','run\x20without\x20build','--manifest-url\x20<manifest-url>','./lib/cmds/launch','setFetch','exports','--export\x20<export>','19087840mXSqcv','xr\x20platform','publish','team\x20id','decompressResponseBuffer','webspatial-builder','parseAsync','app\x20build\x20type','--u\x20<username>','launch','--teamId\x20<teamId>','./lib/utils/fetch','shutdown','base\x20path','12hozVSf','32jtiHjl','password','argv','--bundle-id\x20<bundleId>','setDownloadFile','--version\x20<version>','project\x20path','--platform\x20<platform>','3466890VZtSBD','description','--buildType\x20<buildType>','fetchUtils','node','Current\x20Node.js\x20version\x20is\x20','getVersion'];_0x335b=function(){return _0x4940cb;};return _0x335b();}Object[_0x5ae9b3(0x160)](exports,_0x5ae9b3(0x152),{'value':!![]});const commander_1=require('commander'),semver_1=require('semver'),FetchUtils_1_1=require('./lib/utils/FetchUtils-1'),build_1=require(_0x5ae9b3(0x169)),version_1=require(_0x5ae9b3(0x15e)),fetch_1=require(_0x5ae9b3(0x13c)),launch_1=require(_0x5ae9b3(0x179)),shutdown_1=require(_0x5ae9b3(0x16d));module[_0x5ae9b3(0x12f)]=async()=>{const _0x454c1e=_0x5ae9b3;if((0x0,semver_1[_0x454c1e(0x172)])(process['versions'][_0x454c1e(0x14c)])<0xe)throw new Error(_0x454c1e(0x14d)+process['versions'][_0x454c1e(0x14c)]+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');const _0x18d874=new commander_1[(_0x454c1e(0x165))]();FetchUtils_1_1[_0x454c1e(0x14b)][_0x454c1e(0x17a)](fetch_1[_0x454c1e(0x164)]),FetchUtils_1_1[_0x454c1e(0x14b)][_0x454c1e(0x144)](fetch_1[_0x454c1e(0x163)]),FetchUtils_1_1[_0x454c1e(0x14b)][_0x454c1e(0x15d)](fetch_1[_0x454c1e(0x135)]),await setupCommands(_0x18d874),await _0x18d874[_0x454c1e(0x137)](process[_0x454c1e(0x142)]);};async function setupCommands(_0x2dc774){const _0x2c67f6=_0x5ae9b3,_0x2343f3=await(0x0,version_1[_0x2c67f6(0x14e)])();_0x2dc774[_0x2c67f6(0x15b)](_0x2c67f6(0x136))[_0x2c67f6(0x149)]('WebSpatial\x20Builder\x20is\x20a\x20client-side\x20CLI\x20tool\x20used\x20to\x20generate\x20cross\x20platform\x20XRApp\x20projects.')['version'](_0x2343f3,_0x2c67f6(0x170))[_0x2c67f6(0x150)]({'showGlobalOptions':!![]}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x173))[_0x2c67f6(0x149)](_0x2c67f6(0x153))[_0x2c67f6(0x16c)](_0x2c67f6(0x156),'manifest\x20path')[_0x2c67f6(0x16c)]('--project\x20<project>',_0x2c67f6(0x146))[_0x2c67f6(0x16c)](_0x2c67f6(0x16b),_0x2c67f6(0x166))[_0x2c67f6(0x16c)](_0x2c67f6(0x147),_0x2c67f6(0x132))[_0x2c67f6(0x16c)](_0x2c67f6(0x16f),_0x2c67f6(0x13e))[_0x2c67f6(0x16c)](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x16c)](_0x2c67f6(0x176),_0x2c67f6(0x177))['action'](async _0x1e054e=>{await(0x0,build_1['run'])(_0x1e054e);}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x151))['description']('Build\x20WebSpatial\x20App')[_0x2c67f6(0x16c)]('--manifest\x20<manifest>',_0x2c67f6(0x14f))['option']('--project\x20<project>',_0x2c67f6(0x146))[_0x2c67f6(0x16c)](_0x2c67f6(0x178),_0x2c67f6(0x166))['option']('--platform\x20<platform>',_0x2c67f6(0x132))[_0x2c67f6(0x16c)]('--version\x20<version>',_0x2c67f6(0x167))[_0x2c67f6(0x16c)](_0x2c67f6(0x14a),_0x2c67f6(0x138))['option'](_0x2c67f6(0x130),_0x2c67f6(0x162))['option'](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x155)]('--base\x20<base>',_0x2c67f6(0x13e))['requiredOption'](_0x2c67f6(0x13b),'team\x20id')[_0x2c67f6(0x171)](async _0x51413a=>{const _0x3bfac9=_0x2c67f6;console[_0x3bfac9(0x16e)](_0x51413a),await(0x0,build_1['build'])(_0x51413a);}),_0x2dc774['command'](_0x2c67f6(0x133))[_0x2c67f6(0x149)](_0x2c67f6(0x157))[_0x2c67f6(0x16c)](_0x2c67f6(0x156),_0x2c67f6(0x14f))['option']('--project\x20<project>',_0x2c67f6(0x146))[_0x2c67f6(0x16c)](_0x2c67f6(0x16b),_0x2c67f6(0x166))['option'](_0x2c67f6(0x147),_0x2c67f6(0x132))['option'](_0x2c67f6(0x14a),_0x2c67f6(0x138))[_0x2c67f6(0x16c)](_0x2c67f6(0x130),_0x2c67f6(0x162))[_0x2c67f6(0x16c)](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x155)](_0x2c67f6(0x16f),_0x2c67f6(0x13e))[_0x2c67f6(0x155)](_0x2c67f6(0x13b),_0x2c67f6(0x134))[_0x2c67f6(0x155)](_0x2c67f6(0x145),'app\x20version')['requiredOption'](_0x2c67f6(0x139),_0x2c67f6(0x158))[_0x2c67f6(0x155)]('--p\x20<password>',_0x2c67f6(0x141))[_0x2c67f6(0x171)](async _0x21b237=>{const _0x4d8466=_0x2c67f6;console[_0x4d8466(0x16e)](_0x21b237),await(0x0,build_1[_0x4d8466(0x15c)])(_0x21b237);}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x13a))[_0x2c67f6(0x149)]('Launch\x20WebSpatial\x20App')['option'](_0x2c67f6(0x143),_0x2c67f6(0x168))[_0x2c67f6(0x171)](async _0x453484=>{console['log'](_0x453484),await(0x0,launch_1['launch'])(_0x453484);}),_0x2dc774[_0x2c67f6(0x154)](_0x2c67f6(0x13d))[_0x2c67f6(0x149)](_0x2c67f6(0x161))[_0x2c67f6(0x171)](async _0x24bbf6=>{const _0x104c48=_0x2c67f6;console[_0x104c48(0x16e)](_0x24bbf6),await(0x0,shutdown_1['shutdown'])(_0x24bbf6);});}
1
+ 'use strict';const _0x2e0811=_0x1318;(function(_0x45284d,_0x4c36bc){const _0xd08a3c=_0x1318,_0x48e74e=_0x45284d();while(!![]){try{const _0x5665cd=parseInt(_0xd08a3c(0x185))/0x1+parseInt(_0xd08a3c(0x180))/0x2+-parseInt(_0xd08a3c(0x169))/0x3+-parseInt(_0xd08a3c(0x19b))/0x4*(parseInt(_0xd08a3c(0x15c))/0x5)+parseInt(_0xd08a3c(0x181))/0x6+-parseInt(_0xd08a3c(0x174))/0x7*(parseInt(_0xd08a3c(0x18f))/0x8)+parseInt(_0xd08a3c(0x18c))/0x9;if(_0x5665cd===_0x4c36bc)break;else _0x48e74e['push'](_0x48e74e['shift']());}catch(_0x31bc29){_0x48e74e['push'](_0x48e74e['shift']());}}}(_0x3040,0x8a27d));function _0x1318(_0x1c8c22,_0x58440d){const _0x30402a=_0x3040();return _0x1318=function(_0x13185e,_0x12cb90){_0x13185e=_0x13185e-0x158;let _0x10332=_0x30402a[_0x13185e];return _0x10332;},_0x1318(_0x1c8c22,_0x58440d);}function _0x3040(){const _0x48a8ce=['exports','requiredOption','xr\x20platform','14TOMsfT','export\x20path','parseAsync','Launch\x20WebSpatial\x20App','run\x20without\x20build','setDownloadFile','run','setFetch','--manifest\x20<manifest>','Current\x20Node.js\x20version\x20is\x20','store','bundle\x20id','987262PJfcmv','3120540ZLDoIa','app\x20version','./lib/cmds/shutdown','./lib/utils/FetchUtils-1','988283CKwLqQ','./lib/cmds/launch','shutdown','build','By\x20compiling\x20or\x20running\x20directly\x20on\x20the\x20simulator\x20the\x20WebSpatial\x20App','--project\x20<project>','./lib/cmds/version','6722478tLmExi','manifest\x20url','--tryWithoutBuild\x20<tryWithoutBuild>','2147296wUMggb','--bundle-id\x20<bundleId>','Shutdown\x20Simulator','node','version','publish','--base\x20<base>','action','fetchUtils','Build\x20WebSpatial\x20App','--version\x20<version>','setDecompressResponseBuffer','70340VAiKOF','option','command','./lib/utils/fetch','base\x20path','--manifest-url\x20<manifestUrl>','manifest\x20path','description','webspatial-builder','project\x20path','235Mdppqf','semver','--teamId\x20<teamId>','launch','team\x20id','configureHelp','--p\x20<password>','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','username','--buildType\x20<buildType>','major','defineProperty','WebSpatial\x20Builder\x20is\x20a\x20client-side\x20CLI\x20tool\x20used\x20to\x20generate\x20cross\x20platform\x20XRApp\x20projects.','2459226cjxGvn','-v,\x20--version','--platform\x20<platform>','log','--u\x20<username>','decompressResponseBuffer','--export\x20<export>','downloadFile'];_0x3040=function(){return _0x48a8ce;};return _0x3040();}Object[_0x2e0811(0x167)](exports,'__esModule',{'value':!![]});const commander_1=require('commander'),semver_1=require(_0x2e0811(0x15d)),FetchUtils_1_1=require(_0x2e0811(0x184)),build_1=require('./lib/cmds/build'),version_1=require(_0x2e0811(0x18b)),fetch_1=require(_0x2e0811(0x19e)),launch_1=require(_0x2e0811(0x186)),shutdown_1=require(_0x2e0811(0x183));module[_0x2e0811(0x171)]=async()=>{const _0x26dcba=_0x2e0811;if((0x0,semver_1[_0x26dcba(0x166)])(process['versions'][_0x26dcba(0x192)])<0xe)throw new Error(_0x26dcba(0x17d)+process['versions']['node']+'.'+_0x26dcba(0x163));const _0x3c9a26=new commander_1['Command']();FetchUtils_1_1[_0x26dcba(0x197)][_0x26dcba(0x17b)](fetch_1['fetch']),FetchUtils_1_1[_0x26dcba(0x197)][_0x26dcba(0x179)](fetch_1[_0x26dcba(0x170)]),FetchUtils_1_1['fetchUtils'][_0x26dcba(0x19a)](fetch_1[_0x26dcba(0x16e)]),await setupCommands(_0x3c9a26),await _0x3c9a26[_0x26dcba(0x176)](process['argv']);};async function setupCommands(_0x256a4f){const _0x5590e0=_0x2e0811,_0x2418b0=await(0x0,version_1['getVersion'])();_0x256a4f['name'](_0x5590e0(0x15a))[_0x5590e0(0x159)](_0x5590e0(0x168))[_0x5590e0(0x193)](_0x2418b0,_0x5590e0(0x16a))[_0x5590e0(0x161)]({'showGlobalOptions':!![]}),_0x256a4f[_0x5590e0(0x19d)]('run')[_0x5590e0(0x159)](_0x5590e0(0x189))[_0x5590e0(0x19c)]('--manifest\x20<manifest>',_0x5590e0(0x158))[_0x5590e0(0x19c)](_0x5590e0(0x18a),_0x5590e0(0x15b))['option'](_0x5590e0(0x1a0),'manifest\x20url')[_0x5590e0(0x19c)](_0x5590e0(0x16b),'xr\x20platform')['option'](_0x5590e0(0x195),_0x5590e0(0x19f))[_0x5590e0(0x19c)](_0x5590e0(0x190),_0x5590e0(0x17f))[_0x5590e0(0x19c)](_0x5590e0(0x18e),_0x5590e0(0x178))['action'](async _0x4e8db0=>{const _0x3f5365=_0x5590e0;await(0x0,build_1[_0x3f5365(0x17a)])(_0x4e8db0);}),_0x256a4f[_0x5590e0(0x19d)](_0x5590e0(0x188))[_0x5590e0(0x159)](_0x5590e0(0x198))['option'](_0x5590e0(0x17c),'manifest\x20path')['option'](_0x5590e0(0x18a),_0x5590e0(0x15b))[_0x5590e0(0x19c)]('--manifest-url\x20<manifest-url>','manifest\x20url')['option']('--platform\x20<platform>','xr\x20platform')[_0x5590e0(0x19c)]('--version\x20<version>','app\x20version')[_0x5590e0(0x19c)]('--buildType\x20<buildType>','app\x20build\x20type')[_0x5590e0(0x19c)](_0x5590e0(0x16f),_0x5590e0(0x175))[_0x5590e0(0x19c)](_0x5590e0(0x190),_0x5590e0(0x17f))[_0x5590e0(0x172)]('--base\x20<base>',_0x5590e0(0x19f))[_0x5590e0(0x172)](_0x5590e0(0x15e),_0x5590e0(0x160))[_0x5590e0(0x196)](async _0xdc8f4b=>{const _0x1fc165=_0x5590e0;console[_0x1fc165(0x16c)](_0xdc8f4b),await(0x0,build_1[_0x1fc165(0x188)])(_0xdc8f4b);}),_0x256a4f[_0x5590e0(0x19d)](_0x5590e0(0x194))[_0x5590e0(0x159)]('Publish\x20WebSpatial\x20App')[_0x5590e0(0x19c)](_0x5590e0(0x17c),_0x5590e0(0x158))[_0x5590e0(0x19c)]('--project\x20<project>',_0x5590e0(0x15b))['option'](_0x5590e0(0x1a0),_0x5590e0(0x18d))[_0x5590e0(0x19c)](_0x5590e0(0x16b),_0x5590e0(0x173))[_0x5590e0(0x19c)](_0x5590e0(0x165),'app\x20build\x20type')[_0x5590e0(0x19c)]('--export\x20<export>',_0x5590e0(0x175))['option'](_0x5590e0(0x190),_0x5590e0(0x17f))[_0x5590e0(0x172)]('--base\x20<base>','base\x20path')[_0x5590e0(0x172)](_0x5590e0(0x15e),_0x5590e0(0x160))[_0x5590e0(0x172)](_0x5590e0(0x199),_0x5590e0(0x182))[_0x5590e0(0x172)](_0x5590e0(0x16d),_0x5590e0(0x164))[_0x5590e0(0x172)](_0x5590e0(0x162),'password')[_0x5590e0(0x196)](async _0x56b6d9=>{const _0x10e843=_0x5590e0;console[_0x10e843(0x16c)](_0x56b6d9),await(0x0,build_1[_0x10e843(0x17e)])(_0x56b6d9);}),_0x256a4f[_0x5590e0(0x19d)](_0x5590e0(0x15f))[_0x5590e0(0x159)](_0x5590e0(0x177))[_0x5590e0(0x19c)](_0x5590e0(0x190),'bundle\x20id')[_0x5590e0(0x196)](async _0x4f1973=>{const _0x172443=_0x5590e0;console[_0x172443(0x16c)](_0x4f1973),await(0x0,launch_1[_0x172443(0x15f)])(_0x4f1973);}),_0x256a4f[_0x5590e0(0x19d)]('shutdown')[_0x5590e0(0x159)](_0x5590e0(0x191))[_0x5590e0(0x196)](async _0x33eca7=>{const _0x18e382=_0x5590e0;console[_0x18e382(0x16c)](_0x33eca7),await(0x0,shutdown_1[_0x18e382(0x187)])(_0x33eca7);});}
@@ -1 +1 @@
1
- 'use strict';const _0x10fb9d=_0x17d5;(function(_0x37336b,_0x3f2ea4){const _0x2930c7=_0x17d5,_0x393f34=_0x37336b();while(!![]){try{const _0x4670fd=-parseInt(_0x2930c7(0x1fc))/0x1+parseInt(_0x2930c7(0x1fd))/0x2+parseInt(_0x2930c7(0x200))/0x3+-parseInt(_0x2930c7(0x210))/0x4+parseInt(_0x2930c7(0x20f))/0x5*(parseInt(_0x2930c7(0x20a))/0x6)+parseInt(_0x2930c7(0x20c))/0x7+parseInt(_0x2930c7(0x216))/0x8*(-parseInt(_0x2930c7(0x217))/0x9);if(_0x4670fd===_0x3f2ea4)break;else _0x393f34['push'](_0x393f34['shift']());}catch(_0x33c1de){_0x393f34['push'](_0x393f34['shift']());}}}(_0x38f7,0x9a77d));Object['defineProperty'](exports,_0x10fb9d(0x207),{'value':!![]}),exports[_0x10fb9d(0x1f7)]=build,exports['store']=store,exports[_0x10fb9d(0x20b)]=run;const pwa_1=require(_0x10fb9d(0x1f3)),resource_1=require(_0x10fb9d(0x219)),xcode_1=require(_0x10fb9d(0x1ff)),check_1=require(_0x10fb9d(0x21c)),history_1=require(_0x10fb9d(0x215));async function build(_0x4ac952){const _0xc59367=_0x10fb9d;var _0x34acd2;console[_0xc59367(0x21a)](_0xc59367(0x21b)),resource_1[_0xc59367(0x208)]['checkPlatformPath'](_0x4ac952[_0xc59367(0x1f8)]);const _0x4d50e7=await doPwa(_0x4ac952),_0x4dd485=await doReadyProject((_0x34acd2=_0x4ac952['project'])!==null&&_0x34acd2!==void 0x0?_0x34acd2:_0xc59367(0x1f5),_0x4d50e7);return await doXcode(_0x4ac952,_0x4dd485,_0x4d50e7),console[_0xc59367(0x21a)](_0xc59367(0x1fa)),await xcode_1[_0xc59367(0x206)][_0xc59367(0x1f7)](_0x4ac952['export']),_0x4d50e7;}async function store(_0x42a34b){const _0x8a0148=_0x10fb9d;resource_1['ResourceManager'][_0x8a0148(0x20e)](_0x42a34b['platform']),(0x0,check_1[_0x8a0148(0x212)])(_0x42a34b);let _0x4fff94={'name':_0x8a0148(0x1f4)};_0x42a34b['buildType']=_0x8a0148(0x203);if(_0x42a34b['name'])_0x4fff94[_0x8a0148(0x1f2)]=_0x42a34b[_0x8a0148(0x1f2)];else{const _0xb666df=await build(_0x42a34b);_0x4fff94[_0x8a0148(0x1f2)]=_0xb666df[_0x8a0148(0x211)][_0x8a0148(0x1f2)];}await xcode_1[_0x8a0148(0x206)][_0x8a0148(0x1fb)](_0x42a34b,_0x4fff94);}async function run(_0x793ffa){const _0x556d05=_0x10fb9d;var _0x29691a;const _0x19c40b=JSON[_0x556d05(0x1f9)](_0x793ffa);history_1[_0x556d05(0x213)]['init'](_0x19c40b),console[_0x556d05(0x21a)]('-------------------\x20parse\x20start\x20-------------------'),resource_1[_0x556d05(0x208)][_0x556d05(0x20e)](_0x793ffa['platform']);const _0x40ea72=await doPwa(_0x793ffa,!![]);history_1['default'][_0x556d05(0x1ef)](_0x40ea72[_0x556d05(0x211)]);if(_0x40ea72[_0x556d05(0x1f0)]||_0x793ffa[_0x556d05(0x204)]===_0x556d05(0x209)){if(history_1[_0x556d05(0x213)][_0x556d05(0x1f1)](_0x40ea72[_0x556d05(0x211)])){console[_0x556d05(0x21a)]('Same\x20as\x20the\x20previous\x20record'),await xcode_1['XcodeManager'][_0x556d05(0x1f6)]();return;}}const _0x3f0a76=await doReadyProject((_0x29691a=_0x793ffa[_0x556d05(0x214)])!==null&&_0x29691a!==void 0x0?_0x29691a:_0x556d05(0x1f5),_0x40ea72);await doXcode(_0x793ffa,_0x3f0a76,_0x40ea72,!![]),console[_0x556d05(0x21a)](_0x556d05(0x1fa)),await xcode_1[_0x556d05(0x206)]['runWithSimulator']();}function _0x17d5(_0x38942d,_0x4bebff){const _0x38f735=_0x38f7();return _0x17d5=function(_0x17d5c4,_0x2d024d){_0x17d5c4=_0x17d5c4-0x1ef;let _0x4a32b9=_0x38f735[_0x17d5c4];return _0x4a32b9;},_0x17d5(_0x38942d,_0x4bebff);}async function doPwa(_0x4a02ff,_0x84cc8c=![]){const _0x5a37cf=_0x10fb9d;return(0x0,check_1[_0x5a37cf(0x1fe)])(_0x4a02ff,_0x84cc8c),await pwa_1[_0x5a37cf(0x218)]['generator'](_0x4a02ff,_0x84cc8c);}async function doReadyProject(_0x545dd0,_0x4ba58b){const _0x534d6c=_0x10fb9d;return!_0x4ba58b['fromNet']&&(await resource_1[_0x534d6c(0x208)][_0x534d6c(0x205)](_0x545dd0),console[_0x534d6c(0x21a)]('move\x20web\x20project:\x20ok')),await resource_1[_0x534d6c(0x208)]['generateIcon'](_0x4ba58b);}function _0x38f7(){const _0x1f65c5=['2136252gJPnge','run','4589823YdpGAq','version','checkPlatformPath','15AfYjnJ','3112592NWbeLr','json','checkStoreParams','default','project','../utils/history','2221256obUEEa','18ozMoIx','PWAGenerator','../resource','log','-------------------\x20parse\x20start\x20-------------------','./check','recordManifest','fromNet','checkManifest','name','../pwa','WebSpatialTest','dist','runWithHistory','build','platform','stringify','-------------------\x20parse\x20end\x20-------------------','upload','192006mYgZaT','384898msRonp','checkBuildParams','../xcode','725715IOSYNH','export','parseProject','app-store-connect','tryWithoutBuild','moveProjectFrom','XcodeManager','__esModule','ResourceManager','true'];_0x38f7=function(){return _0x1f65c5;};return _0x38f7();}async function doXcode(_0x529c3c,_0x406792,_0xca4ca6,_0x30c78d=![]){const _0x3473d0=_0x10fb9d;await xcode_1['XcodeManager'][_0x3473d0(0x202)]({'icon':_0x406792,'manifestInfo':_0xca4ca6,'teamId':_0x529c3c['teamId'],'version':_0x529c3c[_0x3473d0(0x20d)],'buildType':_0x529c3c['buildType'],'export':_0x529c3c[_0x3473d0(0x201)]},_0x30c78d);}
1
+ 'use strict';function _0x710a(){const _0x121b64=['export','292347lREcmP','fromNet','move\x20web\x20project:\x20ok','app-store-connect','checkBuildParams','228WpIizA','buildType','-------------------\x20parse\x20start\x20-------------------','Same\x20as\x20the\x20previous\x20record','version','project','64kRFCxj','../resource','checkManifest','./check','true','WebSpatialTest','tryWithoutBuild','641pvgfxq','ResourceManager','PWAGenerator','20JWnYEH','6011096uHZDXn','2003215WxPbms','2597157lrECDl','log','name','checkPlatformPath','init','default','moveProjectFrom','stringify','store','20tVDOPZ','-------------------\x20parse\x20end\x20-------------------','parseProject','runWithHistory','dist','../xcode','503406GzyYyP','../utils/history','platform','checkStoreParams','generator','json','build','142752ztIqMJ','defineProperty','upload','XcodeManager','teamId','21MOiiFM'];_0x710a=function(){return _0x121b64;};return _0x710a();}const _0x1105f2=_0x4ae1;(function(_0x156d12,_0x18ce0d){const _0x586e13=_0x4ae1,_0x2a0952=_0x156d12();while(!![]){try{const _0x45aaf7=parseInt(_0x586e13(0x1fb))/0x1*(-parseInt(_0x586e13(0x1d5))/0x2)+parseInt(_0x586e13(0x1e2))/0x3*(parseInt(_0x586e13(0x1f4))/0x4)+parseInt(_0x586e13(0x1cb))/0x5+parseInt(_0x586e13(0x1db))/0x6*(parseInt(_0x586e13(0x1e7))/0x7)+-parseInt(_0x586e13(0x1ca))/0x8+-parseInt(_0x586e13(0x1cc))/0x9*(parseInt(_0x586e13(0x1c9))/0xa)+-parseInt(_0x586e13(0x1e9))/0xb*(-parseInt(_0x586e13(0x1ee))/0xc);if(_0x45aaf7===_0x18ce0d)break;else _0x2a0952['push'](_0x2a0952['shift']());}catch(_0xbc2c36){_0x2a0952['push'](_0x2a0952['shift']());}}}(_0x710a,0x8e81e));Object[_0x1105f2(0x1e3)](exports,'__esModule',{'value':!![]}),exports[_0x1105f2(0x1e1)]=build,exports[_0x1105f2(0x1d4)]=store,exports['run']=run;const pwa_1=require('../pwa'),resource_1=require(_0x1105f2(0x1f5)),xcode_1=require(_0x1105f2(0x1da)),check_1=require(_0x1105f2(0x1f7)),history_1=require(_0x1105f2(0x1dc));async function build(_0x2a6ac1){const _0x19961e=_0x1105f2;var _0xd8419f;console['log']('-------------------\x20parse\x20start\x20-------------------'),resource_1['ResourceManager'][_0x19961e(0x1cf)](_0x2a6ac1['platform']);const _0x20afaf=await doPwa(_0x2a6ac1),_0x1ce705=await doReadyProject((_0xd8419f=_0x2a6ac1[_0x19961e(0x1f3)])!==null&&_0xd8419f!==void 0x0?_0xd8419f:_0x19961e(0x1d9),_0x20afaf);return await doXcode(_0x2a6ac1,_0x1ce705,_0x20afaf),console[_0x19961e(0x1cd)](_0x19961e(0x1d6)),await xcode_1[_0x19961e(0x1e5)][_0x19961e(0x1e1)](_0x2a6ac1[_0x19961e(0x1e8)]),_0x20afaf;}async function store(_0x58fa8b){const _0x57e3bb=_0x1105f2;resource_1[_0x57e3bb(0x1c7)][_0x57e3bb(0x1cf)](_0x58fa8b['platform']),(0x0,check_1[_0x57e3bb(0x1de)])(_0x58fa8b);let _0x109508={'name':_0x57e3bb(0x1f9)};_0x58fa8b[_0x57e3bb(0x1ef)]=_0x57e3bb(0x1ec);if(_0x58fa8b[_0x57e3bb(0x1ce)])_0x109508[_0x57e3bb(0x1ce)]=_0x58fa8b[_0x57e3bb(0x1ce)];else{const _0x52afa7=await build(_0x58fa8b);_0x109508[_0x57e3bb(0x1ce)]=_0x52afa7[_0x57e3bb(0x1e0)][_0x57e3bb(0x1ce)];}await xcode_1[_0x57e3bb(0x1e5)][_0x57e3bb(0x1e4)](_0x58fa8b,_0x109508);}async function run(_0x46630f){const _0x4df749=_0x1105f2;var _0x5d086f;const _0x2eaa81=JSON[_0x4df749(0x1d3)](_0x46630f);history_1['default'][_0x4df749(0x1d0)](_0x2eaa81),console[_0x4df749(0x1cd)](_0x4df749(0x1f0)),resource_1[_0x4df749(0x1c7)][_0x4df749(0x1cf)](_0x46630f[_0x4df749(0x1dd)]);const _0x2912ba=await doPwa(_0x46630f,!![]);history_1[_0x4df749(0x1d1)]['recordManifest'](_0x2912ba[_0x4df749(0x1e0)]);if(_0x2912ba[_0x4df749(0x1ea)]||_0x46630f[_0x4df749(0x1fa)]===_0x4df749(0x1f8)){if(history_1[_0x4df749(0x1d1)][_0x4df749(0x1f6)](_0x2912ba[_0x4df749(0x1e0)])){console['log'](_0x4df749(0x1f1)),await xcode_1[_0x4df749(0x1e5)][_0x4df749(0x1d8)]();return;}}const _0x5725d7=await doReadyProject((_0x5d086f=_0x46630f[_0x4df749(0x1f3)])!==null&&_0x5d086f!==void 0x0?_0x5d086f:_0x4df749(0x1d9),_0x2912ba);await doXcode(_0x46630f,_0x5725d7,_0x2912ba,!![]),console[_0x4df749(0x1cd)](_0x4df749(0x1d6)),await xcode_1['XcodeManager']['runWithSimulator']();}async function doPwa(_0x4a1693,_0x195de2=![]){const _0x23f264=_0x1105f2;return(0x0,check_1[_0x23f264(0x1ed)])(_0x4a1693,_0x195de2),await pwa_1[_0x23f264(0x1c8)][_0x23f264(0x1df)](_0x4a1693,_0x195de2);}function _0x4ae1(_0x1c513e,_0x53b105){const _0x710a11=_0x710a();return _0x4ae1=function(_0x4ae161,_0x3bd37c){_0x4ae161=_0x4ae161-0x1c7;let _0x3f8f69=_0x710a11[_0x4ae161];return _0x3f8f69;},_0x4ae1(_0x1c513e,_0x53b105);}async function doReadyProject(_0x25551f,_0x5491a2){const _0x1d2a48=_0x1105f2;return!_0x5491a2[_0x1d2a48(0x1ea)]&&(await resource_1[_0x1d2a48(0x1c7)][_0x1d2a48(0x1d2)](_0x25551f),console[_0x1d2a48(0x1cd)](_0x1d2a48(0x1eb))),await resource_1[_0x1d2a48(0x1c7)]['generateIcon'](_0x5491a2);}async function doXcode(_0x2e76c7,_0x25ba4d,_0xff5410,_0x113b14=![]){const _0x3acc2d=_0x1105f2;await xcode_1['XcodeManager'][_0x3acc2d(0x1d7)]({'icon':_0x25ba4d,'manifestInfo':_0xff5410,'teamId':_0x2e76c7[_0x3acc2d(0x1e6)],'version':_0x2e76c7[_0x3acc2d(0x1f2)],'buildType':_0x2e76c7['buildType'],'export':_0x2e76c7['export']},_0x113b14);}
@@ -1 +1 @@
1
- 'use strict';const _0x3fcb8c=_0x1b91;(function(_0xddda89,_0x2911e4){const _0x398225=_0x1b91,_0x14616f=_0xddda89();while(!![]){try{const _0x12a2b0=-parseInt(_0x398225(0x149))/0x1+parseInt(_0x398225(0x13f))/0x2*(parseInt(_0x398225(0x136))/0x3)+-parseInt(_0x398225(0x13e))/0x4*(-parseInt(_0x398225(0x12f))/0x5)+-parseInt(_0x398225(0x13b))/0x6+parseInt(_0x398225(0x134))/0x7+-parseInt(_0x398225(0x145))/0x8*(parseInt(_0x398225(0x138))/0x9)+-parseInt(_0x398225(0x147))/0xa*(-parseInt(_0x398225(0x140))/0xb);if(_0x12a2b0===_0x2911e4)break;else _0x14616f['push'](_0x14616f['shift']());}catch(_0x127022){_0x14616f['push'](_0x14616f['shift']());}}}(_0x2aa4,0x8609d));Object[_0x3fcb8c(0x146)](exports,_0x3fcb8c(0x13d),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x3fcb8c(0x142)]=checkStoreParams;const validate_1=require(_0x3fcb8c(0x133));function _0x1b91(_0x2d9e36,_0x17f60f){const _0x2aa411=_0x2aa4();return _0x1b91=function(_0x1b91ca,_0x1a0ec5){_0x1b91ca=_0x1b91ca-0x12e;let _0x3c6ca9=_0x2aa411[_0x1b91ca];return _0x3c6ca9;},_0x1b91(_0x2d9e36,_0x17f60f);}function checkBuildParams(_0x1b4909,_0x128fb7=![]){const _0x16b114=_0x3fcb8c;if(_0x1b4909[_0x16b114(0x13a)]&&_0x1b4909[_0x16b114(0x141)])throw new Error(_0x16b114(0x13c));if(!_0x1b4909[_0x16b114(0x143)]&&!_0x128fb7)throw new Error(_0x16b114(0x132));if(_0x1b4909[_0x16b114(0x135)]){if((0x0,validate_1[_0x16b114(0x14a)])(_0x1b4909['base']))try{const _0x7296a5=new URL(_0x1b4909[_0x16b114(0x135)]);if(_0x7296a5[_0x16b114(0x144)]||_0x7296a5[_0x16b114(0x137)])throw new Error(_0x16b114(0x148));}catch(_0x4e912a){throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}else{const _0x20c580=/(\?.*|\.\w+|#.*)$/,_0x2d870f=_0x1b4909[_0x16b114(0x135)][_0x16b114(0x130)]('/')['pop']()||'';if(_0x20c580['test'](_0x2d870f))throw new Error(_0x16b114(0x148));}}}function checkStoreParams(_0x43a901){const _0xabc42b=_0x3fcb8c;if(!(_0x43a901['u']&&_0x43a901['p']))throw new Error(_0xabc42b(0x12e));if(!_0x43a901[_0xabc42b(0x131)])throw new Error(_0xabc42b(0x139));}function _0x2aa4(){const _0x25eadf=['1671285JsPzaK','base','21FtwOFy','hash','495KFbHOI','version\x20is\x20required','manifest','6535788GCgkWa','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','__esModule','969692PDowCf','98792gAjKtB','237303snsiDl','manifest-url','checkStoreParams','teamId','search','158968ozfdyX','defineProperty','890gCiJoy','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','258146SpWbRZ','validateURL','--u\x20and\x20--p\x20is\x20required','10NEpJAd','split','version','--teamId\x20is\x20required','../pwa/validate'];_0x2aa4=function(){return _0x25eadf;};return _0x2aa4();}
1
+ 'use strict';const _0x20cd7d=_0x56a4;(function(_0x14b8a6,_0x386307){const _0x3f479a=_0x56a4,_0x27ad85=_0x14b8a6();while(!![]){try{const _0x29f780=parseInt(_0x3f479a(0x8c))/0x1*(-parseInt(_0x3f479a(0xa1))/0x2)+-parseInt(_0x3f479a(0x90))/0x3+parseInt(_0x3f479a(0x9a))/0x4+-parseInt(_0x3f479a(0x97))/0x5*(-parseInt(_0x3f479a(0x92))/0x6)+parseInt(_0x3f479a(0x95))/0x7+-parseInt(_0x3f479a(0x9e))/0x8+parseInt(_0x3f479a(0x91))/0x9;if(_0x29f780===_0x386307)break;else _0x27ad85['push'](_0x27ad85['shift']());}catch(_0x53a95d){_0x27ad85['push'](_0x27ad85['shift']());}}}(_0xfac5,0x91297));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x20cd7d(0x9c)]=checkStoreParams;const validate_1=require('../pwa/validate');function _0x56a4(_0x554463,_0x3a7d9b){const _0xfac501=_0xfac5();return _0x56a4=function(_0x56a4c9,_0x415d94){_0x56a4c9=_0x56a4c9-0x8b;let _0x5e48e3=_0xfac501[_0x56a4c9];return _0x5e48e3;},_0x56a4(_0x554463,_0x3a7d9b);}function _0xfac5(){const _0x4b1848=['--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','2193436mRlHxs','manifest','340PRnhCa','hash','search','2361780dUPKzQ','validateURL','checkStoreParams','split','9288688RKSGax','version','--teamId\x20is\x20required','106188grrHCy','version\x20is\x20required','10vmeobP','manifestUrl','teamId','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','1720383ZkaWbg','7051941ywYEet','103476KLsFNu','base'];_0xfac5=function(){return _0x4b1848;};return _0xfac5();}function checkBuildParams(_0x21ee4d,_0x2b18ec=![]){const _0x408dd3=_0x20cd7d;if(_0x21ee4d[_0x408dd3(0x96)]&&_0x21ee4d[_0x408dd3(0x8d)])throw new Error(_0x408dd3(0x94));if(!_0x21ee4d[_0x408dd3(0x8e)]&&!_0x2b18ec)throw new Error(_0x408dd3(0xa0));if(_0x21ee4d['base']){if((0x0,validate_1[_0x408dd3(0x9b)])(_0x21ee4d[_0x408dd3(0x93)]))try{const _0xed615e=new URL(_0x21ee4d[_0x408dd3(0x93)]);if(_0xed615e[_0x408dd3(0x99)]||_0xed615e[_0x408dd3(0x98)])throw new Error(_0x408dd3(0x8f));}catch(_0x33898b){throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}else{const _0x43fb94=/(\?.*|\.\w+|#.*)$/,_0x56d522=_0x21ee4d['base'][_0x408dd3(0x9d)]('/')['pop']()||'';if(_0x43fb94['test'](_0x56d522))throw new Error(_0x408dd3(0x8f));}}}function checkStoreParams(_0x5a1a90){const _0x424d70=_0x20cd7d;if(!(_0x5a1a90['u']&&_0x5a1a90['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x5a1a90[_0x424d70(0x9f)])throw new Error(_0x424d70(0x8b));}
@@ -1 +1 @@
1
- 'use strict';const _0x1a5403=_0x5d84;function _0x2a52(){const _0x210760=['webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','get','80628yBGINZ','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','help','133299ZUNzMK','../utils/Log','__esModule','562520mvIIzA','82046GPIpJf','6PyOiCw','main','322521AeWZtI','help\x20................\x20shows\x20this\x20menu','895993QEjTjm','publish','33220SQkrMH','Usage:','270aDatOo','join','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','dev','build','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','150XnsACm','8HycPhj','3540JtEsvU','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','info','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>','defineProperty'];_0x2a52=function(){return _0x210760;};return _0x2a52();}(function(_0x451022,_0x29c6bc){const _0xe8ab1f=_0x5d84,_0x2f67cd=_0x451022();while(!![]){try{const _0x4c8a44=-parseInt(_0xe8ab1f(0x108))/0x1+parseInt(_0xe8ab1f(0x109))/0x2*(-parseInt(_0xe8ab1f(0x10b))/0x3)+-parseInt(_0xe8ab1f(0x107))/0x4+-parseInt(_0xe8ab1f(0x117))/0x5*(-parseInt(_0xe8ab1f(0x121))/0x6)+parseInt(_0xe8ab1f(0x10d))/0x7*(-parseInt(_0xe8ab1f(0x118))/0x8)+-parseInt(_0xe8ab1f(0x104))/0x9*(parseInt(_0xe8ab1f(0x111))/0xa)+-parseInt(_0xe8ab1f(0x10f))/0xb*(-parseInt(_0xe8ab1f(0x119))/0xc);if(_0x4c8a44===_0x29c6bc)break;else _0x2f67cd['push'](_0x2f67cd['shift']());}catch(_0x5e0b26){_0x2f67cd['push'](_0x2f67cd['shift']());}}}(_0x2a52,0x35f13));function _0x5d84(_0x1e6edd,_0x187d7e){const _0x2a5288=_0x2a52();return _0x5d84=function(_0x5d846a,_0x2d862e){_0x5d846a=_0x5d846a-0x104;let _0x948243=_0x2a5288[_0x5d846a];return _0x948243;},_0x5d84(_0x1e6edd,_0x187d7e);}Object[_0x1a5403(0x11e)](exports,_0x1a5403(0x106),{'value':!![]}),exports[_0x1a5403(0x123)]=help;const Log_1=require(_0x1a5403(0x105)),HELP_MESSAGES=new Map([[_0x1a5403(0x10a),['webspatial\x20[command]\x20<options>','','',_0x1a5403(0x10c),_0x1a5403(0x116)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x1a5403(0x112)]('\x0a')],[_0x1a5403(0x115),[_0x1a5403(0x110),'','',_0x1a5403(0x122),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x1a5403(0x112)]('\x0a')],[_0x1a5403(0x114),['Usage:','','',_0x1a5403(0x11f),'','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>'][_0x1a5403(0x112)]('\x0a')],[_0x1a5403(0x10e),[_0x1a5403(0x110),'','',_0x1a5403(0x11d),'','',_0x1a5403(0x113),'','',_0x1a5403(0x11a)][_0x1a5403(0x112)]('\x0a')]]);async function help(_0x2fbe13,_0x5f1f54=new Log_1[(_0x1a5403(0x11c))]('help')){const _0x5c95ec=_0x1a5403,_0x17eca7=_0x2fbe13['_'][0x1],_0x396ca5=HELP_MESSAGES[_0x5c95ec(0x120)](_0x17eca7)||HELP_MESSAGES['get'](_0x5c95ec(0x10a));return _0x5f1f54[_0x5c95ec(0x11b)](_0x396ca5),!![];}
1
+ 'use strict';const _0x29d135=_0xc192;(function(_0x429422,_0x27c892){const _0x54533c=_0xc192,_0x24bdb3=_0x429422();while(!![]){try{const _0x4e7973=-parseInt(_0x54533c(0x86))/0x1+-parseInt(_0x54533c(0x8a))/0x2*(parseInt(_0x54533c(0x89))/0x3)+parseInt(_0x54533c(0x8d))/0x4*(-parseInt(_0x54533c(0x8e))/0x5)+parseInt(_0x54533c(0x8b))/0x6*(parseInt(_0x54533c(0x80))/0x7)+-parseInt(_0x54533c(0x7c))/0x8+parseInt(_0x54533c(0x7d))/0x9*(-parseInt(_0x54533c(0x81))/0xa)+parseInt(_0x54533c(0x82))/0xb;if(_0x4e7973===_0x27c892)break;else _0x24bdb3['push'](_0x24bdb3['shift']());}catch(_0x27e27a){_0x24bdb3['push'](_0x24bdb3['shift']());}}}(_0x3e6a,0xa1bd5));Object[_0x29d135(0x78)](exports,_0x29d135(0x93),{'value':!![]}),exports[_0x29d135(0x85)]=help;function _0xc192(_0xa15911,_0x4bd29a){const _0x3e6a0f=_0x3e6a();return _0xc192=function(_0xc19233,_0x11fbab){_0xc19233=_0xc19233-0x78;let _0x34e7d7=_0x3e6a0f[_0xc19233];return _0x34e7d7;},_0xc192(_0xa15911,_0x4bd29a);}const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([['main',['webspatial\x20[command]\x20<options>','','','help\x20................\x20shows\x20this\x20menu','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+_0x29d135(0x79),_0x29d135(0x87),_0x29d135(0x8c)][_0x29d135(0x91)]('\x0a')],[_0x29d135(0x84),[_0x29d135(0x8f),'','',_0x29d135(0x7a),'','',_0x29d135(0x83)]['join']('\x0a')],['dev',['Usage:','','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x29d135(0x7f)][_0x29d135(0x91)]('\x0a')],[_0x29d135(0x88),[_0x29d135(0x8f),'','',_0x29d135(0x92),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x29d135(0x95)][_0x29d135(0x91)]('\x0a')]]);function _0x3e6a(){const _0x50eff1=['webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','info','2352184HMeLrF','68157WnDpTi','main','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','14ktuYQN','670ICPvVI','40510745eSUniT','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','build','help','149975dlnXcW','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','publish','3IIxiYL','2519878neojMc','777804dSUqeq','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','20udbKwN','1068250uWfmsb','Usage:','ConsoleLog','join','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>','__esModule','get','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','defineProperty','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project'];_0x3e6a=function(){return _0x50eff1;};return _0x3e6a();}async function help(_0x5dc4c2,_0x1fe354=new Log_1[(_0x29d135(0x90))](_0x29d135(0x85))){const _0x3aba06=_0x29d135,_0x4b1354=_0x5dc4c2['_'][0x1],_0x4f319a=HELP_MESSAGES[_0x3aba06(0x94)](_0x4b1354)||HELP_MESSAGES[_0x3aba06(0x94)](_0x3aba06(0x7e));return _0x1fe354[_0x3aba06(0x7b)](_0x4f319a),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x449074=_0x2236;(function(_0x4df0b4,_0x5b3849){const _0x16fe27=_0x2236,_0x5c3ee5=_0x4df0b4();while(!![]){try{const _0x391aee=parseInt(_0x16fe27(0x108))/0x1*(-parseInt(_0x16fe27(0x113))/0x2)+parseInt(_0x16fe27(0x110))/0x3*(parseInt(_0x16fe27(0x107))/0x4)+parseInt(_0x16fe27(0x109))/0x5+-parseInt(_0x16fe27(0x10c))/0x6*(-parseInt(_0x16fe27(0x10a))/0x7)+parseInt(_0x16fe27(0x10e))/0x8+parseInt(_0x16fe27(0x10b))/0x9+parseInt(_0x16fe27(0x10f))/0xa*(-parseInt(_0x16fe27(0x115))/0xb);if(_0x391aee===_0x5b3849)break;else _0x5c3ee5['push'](_0x5c3ee5['shift']());}catch(_0x3f36d6){_0x5c3ee5['push'](_0x5c3ee5['shift']());}}}(_0x331e,0x4ef00));function _0x331e(){const _0x245adb=['733545kzdgOj','1141DMRWTm','1321371FIJEvp','20766YcKteA','bundle-id','116648eigIri','873640cppsAh','20319xevPwR','launchWithSimulator','defineProperty','6850BClgvS','default','55UGcdVV','com.webspatial.test','../xcode/xcrun','__esModule','308JdLbZf','185UNdhtg'];_0x331e=function(){return _0x245adb;};return _0x331e();}function _0x2236(_0x365890,_0x137d2d){const _0x331e11=_0x331e();return _0x2236=function(_0x223690,_0x28ad4a){_0x223690=_0x223690-0x104;let _0x575b21=_0x331e11[_0x223690];return _0x575b21;},_0x2236(_0x365890,_0x137d2d);}Object[_0x449074(0x112)](exports,_0x449074(0x106),{'value':!![]}),exports['launch']=launch;const xcrun_1=require(_0x449074(0x105));async function launch(_0x2a5563){const _0x233263=_0x449074;var _0x5c8676;const _0x6361f4=(_0x5c8676=_0x2a5563[_0x233263(0x10d)])!==null&&_0x5c8676!==void 0x0?_0x5c8676:_0x233263(0x104),_0x368a08={'name':'','id':_0x6361f4};return xcrun_1[_0x233263(0x114)][_0x233263(0x111)](_0x368a08),!![];}
1
+ 'use strict';const _0x532686=_0x3ba9;(function(_0x173ddc,_0x4a58b1){const _0x427d34=_0x3ba9,_0x194306=_0x173ddc();while(!![]){try{const _0x120d6b=-parseInt(_0x427d34(0x82))/0x1*(-parseInt(_0x427d34(0x81))/0x2)+parseInt(_0x427d34(0x87))/0x3+parseInt(_0x427d34(0x8c))/0x4*(-parseInt(_0x427d34(0x86))/0x5)+-parseInt(_0x427d34(0x84))/0x6+parseInt(_0x427d34(0x8b))/0x7+-parseInt(_0x427d34(0x89))/0x8*(-parseInt(_0x427d34(0x83))/0x9)+-parseInt(_0x427d34(0x7e))/0xa*(parseInt(_0x427d34(0x7c))/0xb);if(_0x120d6b===_0x4a58b1)break;else _0x194306['push'](_0x194306['shift']());}catch(_0x5a421a){_0x194306['push'](_0x194306['shift']());}}}(_0x1eec,0xef002));function _0x3ba9(_0xceeedb,_0x24f278){const _0x1eec2e=_0x1eec();return _0x3ba9=function(_0x3ba999,_0xc4e8fa){_0x3ba999=_0x3ba999-0x7c;let _0x46d8d0=_0x1eec2e[_0x3ba999];return _0x46d8d0;},_0x3ba9(_0xceeedb,_0x24f278);}function _0x1eec(){const _0x3dadd4=['bundleId','587338VFusCZ','6DXBmCA','9NXesys','3673566scQsan','default','20qBulCh','5164617afuRDb','__esModule','5748832bUQbpz','launchWithSimulator','7623224meWqjA','23612KvhNsA','55pMbUDv','../xcode/xcrun','7352740okDeKa','defineProperty'];_0x1eec=function(){return _0x3dadd4;};return _0x1eec();}Object[_0x532686(0x7f)](exports,_0x532686(0x88),{'value':!![]}),exports['launch']=launch;const xcrun_1=require(_0x532686(0x7d));async function launch(_0x5bd86b){const _0x305c48=_0x532686;var _0x42e439;const _0x5a8822=(_0x42e439=_0x5bd86b[_0x305c48(0x80)])!==null&&_0x42e439!==void 0x0?_0x42e439:'com.webspatial.test',_0x2f07b2={'name':'','id':_0x5a8822};return xcrun_1[_0x305c48(0x85)][_0x305c48(0x8a)](_0x2f07b2),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x510643=_0x5356;(function(_0x39008f,_0x3567e3){const _0x486512=_0x5356,_0x360e21=_0x39008f();while(!![]){try{const _0x3f41ba=parseInt(_0x486512(0xc5))/0x1*(-parseInt(_0x486512(0xc2))/0x2)+parseInt(_0x486512(0xce))/0x3*(parseInt(_0x486512(0xcd))/0x4)+-parseInt(_0x486512(0xc9))/0x5+parseInt(_0x486512(0xc8))/0x6+parseInt(_0x486512(0xca))/0x7+-parseInt(_0x486512(0xc4))/0x8*(parseInt(_0x486512(0xcf))/0x9)+-parseInt(_0x486512(0xc3))/0xa*(-parseInt(_0x486512(0xc7))/0xb);if(_0x3f41ba===_0x3567e3)break;else _0x360e21['push'](_0x360e21['shift']());}catch(_0x16ba9f){_0x360e21['push'](_0x360e21['shift']());}}}(_0x35b0,0xf173f));function _0x5356(_0x33f143,_0x42c29d){const _0x35b0d3=_0x35b0();return _0x5356=function(_0x5356b2,_0x26e918){_0x5356b2=_0x5356b2-0xc2;let _0x449e7b=_0x35b0d3[_0x5356b2];return _0x449e7b;},_0x5356(_0x33f143,_0x42c29d);}Object[_0x510643(0xc6)](exports,_0x510643(0xd0),{'value':!![]}),exports[_0x510643(0xcb)]=shutdown;function _0x35b0(){const _0x878cc1=['6zZYnZD','72ZRemdI','__esModule','1182sofXeh','30nHmGNg','1349392gljxgL','1091qbxhqo','defineProperty','1473791cpWqph','5545950YdxfWz','4572385MXOxbi','7431543gWeBhz','shutdown','../xcode/xcrun','3019448WZFqGR'];_0x35b0=function(){return _0x878cc1;};return _0x35b0();}const xcrun_1=require(_0x510643(0xcc));async function shutdown(_0x3e9bda){return xcrun_1['default']['shutdownSimulator'](),!![];}
1
+ 'use strict';const _0x1eb695=_0xa85e;(function(_0x5290ca,_0x4b0b80){const _0x579579=_0xa85e,_0x250043=_0x5290ca();while(!![]){try{const _0x671494=-parseInt(_0x579579(0x87))/0x1*(-parseInt(_0x579579(0x90))/0x2)+-parseInt(_0x579579(0x89))/0x3*(parseInt(_0x579579(0x91))/0x4)+parseInt(_0x579579(0x8e))/0x5*(-parseInt(_0x579579(0x8d))/0x6)+-parseInt(_0x579579(0x85))/0x7+parseInt(_0x579579(0x84))/0x8+-parseInt(_0x579579(0x8a))/0x9*(-parseInt(_0x579579(0x88))/0xa)+parseInt(_0x579579(0x8b))/0xb;if(_0x671494===_0x4b0b80)break;else _0x250043['push'](_0x250043['shift']());}catch(_0x4652a1){_0x250043['push'](_0x250043['shift']());}}}(_0x2260,0xa3341));function _0xa85e(_0x1aff58,_0x50cbce){const _0x22607b=_0x2260();return _0xa85e=function(_0xa85e28,_0x497e7b){_0xa85e28=_0xa85e28-0x84;let _0x29f8b1=_0x22607b[_0xa85e28];return _0x29f8b1;},_0xa85e(_0x1aff58,_0x50cbce);}Object[_0x1eb695(0x8c)](exports,'__esModule',{'value':!![]}),exports['shutdown']=shutdown;function _0x2260(){const _0x38cad5=['3nykXaV','31095CdNgLQ','15901094zooDRa','defineProperty','1632702wgzVrY','20BQPfit','../xcode/xcrun','2MDmJZx','4483876cHwPFO','8220144zskSHJ','2244466HvFASK','default','3389IfhCcJ','2090MtSjxB'];_0x2260=function(){return _0x38cad5;};return _0x2260();}const xcrun_1=require(_0x1eb695(0x8f));async function shutdown(_0x27aaab){const _0x4de230=_0x1eb695;return xcrun_1[_0x4de230(0x86)]['shutdownSimulator'](),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x69e615=_0x467d;(function(_0x57ccc1,_0x1d7cf1){const _0x33a591=_0x467d,_0x701f77=_0x57ccc1();while(!![]){try{const _0x39f3b5=parseInt(_0x33a591(0x12d))/0x1*(-parseInt(_0x33a591(0x138))/0x2)+parseInt(_0x33a591(0x12e))/0x3+parseInt(_0x33a591(0x132))/0x4*(-parseInt(_0x33a591(0x136))/0x5)+parseInt(_0x33a591(0x133))/0x6+parseInt(_0x33a591(0x135))/0x7*(parseInt(_0x33a591(0x130))/0x8)+-parseInt(_0x33a591(0x139))/0x9+-parseInt(_0x33a591(0x12f))/0xa;if(_0x39f3b5===_0x1d7cf1)break;else _0x701f77['push'](_0x701f77['shift']());}catch(_0x27a327){_0x701f77['push'](_0x701f77['shift']());}}}(_0x4598,0xc86db));Object[_0x69e615(0x134)](exports,_0x69e615(0x13b),{'value':!![]}),exports['getVersion']=getVersion;const fs=require('fs'),path=require(_0x69e615(0x12a));function _0x467d(_0x73639b,_0xc78254){const _0x4598c7=_0x4598();return _0x467d=function(_0x467d30,_0x347801){_0x467d30=_0x467d30-0x12a;let _0x3bb372=_0x4598c7[_0x467d30];return _0x3bb372;},_0x467d(_0x73639b,_0xc78254);}async function getVersion(){const _0x2ff6f0=_0x69e615,_0x41f172=path[_0x2ff6f0(0x137)](__dirname,_0x2ff6f0(0x13a)),_0x552f6d=await(await fs[_0x2ff6f0(0x12b)][_0x2ff6f0(0x12c)](_0x41f172))['toString'](),_0x5031d7=JSON['parse'](_0x552f6d);return _0x5031d7[_0x2ff6f0(0x131)];}function _0x4598(){const _0x313ced=['join','2jDYKGr','13057668cTlGKB','../../../package.json','__esModule','path','promises','readFile','89633TRjUiq','2631114BuuIWk','8377450LGlmdj','760rWznlF','version','27712cxJfKB','6698106GsOKBi','defineProperty','92932glveik','40THUBsc'];_0x4598=function(){return _0x313ced;};return _0x4598();}
1
+ 'use strict';const _0x100077=_0x2af8;(function(_0x2773e9,_0x1a8a27){const _0x4a2a0d=_0x2af8,_0x46f784=_0x2773e9();while(!![]){try{const _0x457c2d=-parseInt(_0x4a2a0d(0x17f))/0x1+parseInt(_0x4a2a0d(0x179))/0x2*(-parseInt(_0x4a2a0d(0x17a))/0x3)+-parseInt(_0x4a2a0d(0x17e))/0x4+parseInt(_0x4a2a0d(0x17c))/0x5*(-parseInt(_0x4a2a0d(0x178))/0x6)+-parseInt(_0x4a2a0d(0x186))/0x7+parseInt(_0x4a2a0d(0x181))/0x8+-parseInt(_0x4a2a0d(0x17d))/0x9*(-parseInt(_0x4a2a0d(0x189))/0xa);if(_0x457c2d===_0x1a8a27)break;else _0x46f784['push'](_0x46f784['shift']());}catch(_0x342159){_0x46f784['push'](_0x46f784['shift']());}}}(_0x4db2,0xb7eb2));function _0x2af8(_0x43ab7e,_0x51c27b){const _0x4db212=_0x4db2();return _0x2af8=function(_0x2af864,_0x21c255){_0x2af864=_0x2af864-0x178;let _0x288471=_0x4db212[_0x2af864];return _0x288471;},_0x2af8(_0x43ab7e,_0x51c27b);}Object[_0x100077(0x17b)](exports,_0x100077(0x187),{'value':!![]}),exports[_0x100077(0x185)]=getVersion;const fs=require('fs'),path=require('path');function _0x4db2(){const _0x9f0df9=['toString','10989800ZkafTw','version','../../../package.json','readFile','getVersion','893235ElxVyS','__esModule','parse','2130lbGmPQ','promises','join','6cIGnmn','172jwYqur','6510xONFeF','defineProperty','2679835eeOetl','87273NoVXwi','2757604RDuYaA','1146263ynZqRI'];_0x4db2=function(){return _0x9f0df9;};return _0x4db2();}async function getVersion(){const _0x4c87ae=_0x100077,_0xc899c1=path[_0x4c87ae(0x18b)](__dirname,_0x4c87ae(0x183)),_0x39742e=await(await fs[_0x4c87ae(0x18a)][_0x4c87ae(0x184)](_0xc899c1))[_0x4c87ae(0x180)](),_0xb43228=JSON[_0x4c87ae(0x188)](_0x39742e);return _0xb43228[_0x4c87ae(0x182)];}
@@ -1 +1 @@
1
- 'use strict';const _0x5ddbb7=_0x2a3d;(function(_0x5aa333,_0x3e4c66){const _0x1564ef=_0x2a3d,_0x53ed58=_0x5aa333();while(!![]){try{const _0x25d156=parseInt(_0x1564ef(0x119))/0x1+-parseInt(_0x1564ef(0x160))/0x2+-parseInt(_0x1564ef(0x16d))/0x3+-parseInt(_0x1564ef(0x124))/0x4+-parseInt(_0x1564ef(0x13d))/0x5*(-parseInt(_0x1564ef(0x11d))/0x6)+-parseInt(_0x1564ef(0x146))/0x7*(-parseInt(_0x1564ef(0x12d))/0x8)+parseInt(_0x1564ef(0x167))/0x9*(parseInt(_0x1564ef(0x159))/0xa);if(_0x25d156===_0x3e4c66)break;else _0x53ed58['push'](_0x53ed58['shift']());}catch(_0x3446d6){_0x53ed58['push'](_0x53ed58['shift']());}}}(_0x40f0,0xa8a4a));Object[_0x5ddbb7(0x149)](exports,_0x5ddbb7(0x16a),{'value':!![]}),exports[_0x5ddbb7(0x13e)]=void 0x0,exports[_0x5ddbb7(0x134)]=configId,exports[_0x5ddbb7(0x12b)]=configStartUrl,exports[_0x5ddbb7(0x139)]=configScope,exports[_0x5ddbb7(0x164)]=configDisplay,exports['configMainScene']=configMainScene,exports[_0x5ddbb7(0x133)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require(_0x5ddbb7(0x12c)),path_1=require(_0x5ddbb7(0x162));function _0x40f0(){const _0x1fc3a5=['configStartUrl','./validate','8sJbEse','normalize','height','resolve','standalone','relative','configDeeplink','configId','href','includes','length','startsWith','configScope','sftp','xmpp','mode','1855585NygZQp','safelist','contentSize','parseRouter','width','scope','sip','url','host','620963LquMfm','irc','smsto','defineProperty','ircs','magnet','automatic','news','mms','webcal','mainScene','string','protocol_handlers','object','./static-web','reverse','sms','urn','ftps','88330GWjKpW','display','origin','display_override','indexOf','index','map','2722160rBqpoC','replace','path','ftp','configDisplay','join','split','765bLCSzr','defaultSize','mailto','__esModule','validateURL','contentMinSize','340920NzELev','wtai','web+','982260yztaJM','start_url','\x20\x20is\x20not\x20a\x20valid\x20url','openpgp4fpr','6efBzcU','splice','cwd','hash','sort','nntp','xr_main_scene','109636kfJkge','fullscreen','pathname','search','resizability','default_size','filter'];_0x40f0=function(){return _0x1fc3a5;};return _0x40f0();}function configId(_0x87cfef,_0x24a122){const _0x3894ac=_0x5ddbb7;if(_0x24a122)_0x87cfef['id']=_0x24a122;else try{const _0x19b4be=new URL(_0x87cfef['id']);let _0x6755db=_0x19b4be[_0x3894ac(0x145)][_0x3894ac(0x166)]('.')[_0x3894ac(0x155)]();_0x87cfef['id']=_0x6755db[_0x3894ac(0x165)]('.');}catch(_0x208ffe){throw new Error('id:'+_0x87cfef['id']+_0x3894ac(0x11b));}}function configStartUrl(_0x345577,_0x1d9ab4,_0x15fcfa,_0x4eee3c){const _0x25165f=_0x5ddbb7;var _0x149876;let _0x32c97b=(_0x149876=_0x345577['start_url'])!==null&&_0x149876!==void 0x0?_0x149876:'/';const _0x3cefe4=(0x0,validate_1['validateURL'])(_0x32c97b),_0x2efbb9=_0x1d9ab4[_0x25165f(0x137)]>0x0;if(_0x2efbb9){const _0x3572d6=(0x0,validate_1['validateURL'])(_0x1d9ab4);if(!_0x3cefe4&&!_0x3572d6){const _0xed8319=(0x0,path_1[_0x25165f(0x130)])(_0x25165f(0x154)),_0x49e09d=(0x0,path_1[_0x25165f(0x130)])(_0xed8319,_0x1d9ab4,_0x32c97b),_0x56582f=(0x0,path_1['normalize'])(_0x49e09d),_0x4068dd=(0x0,path_1['join'])(_0xed8319,_0x56582f);_0x32c97b=(0x0,path_1['relative'])(process[_0x25165f(0x11f)](),_0x4068dd)[_0x25165f(0x161)](/^(\.\.\/)+/,'./')[_0x25165f(0x161)](/\/$/,'');}else{if(_0x3cefe4&&!_0x3572d6){const _0x1ac2f2=new URL(_0x32c97b),_0x100a86=_0x1ac2f2[_0x25165f(0x126)]+_0x1ac2f2['search']+_0x1ac2f2[_0x25165f(0x120)];let _0x4ae894=new URL(_0x1d9ab4,_0x1ac2f2['origin']);_0x32c97b=new URL(_0x100a86,_0x4ae894)[_0x25165f(0x135)];}else{if(!_0x3cefe4&&_0x3572d6){if(_0x32c97b[_0x25165f(0x138)]('/')){const _0x2c1069=new URL(_0x1d9ab4);_0x32c97b=_0x2c1069[_0x25165f(0x15b)]+(0x0,path_1[_0x25165f(0x165)])(_0x2c1069[_0x25165f(0x126)],_0x32c97b);}else _0x32c97b=new URL(_0x32c97b,_0x1d9ab4)['href'];}else{if(_0x3cefe4&&_0x3572d6){const _0x4daffe=new URL(_0x32c97b),_0x678de2=new URL(_0x1d9ab4),_0x225920=_0x4daffe[_0x25165f(0x126)]+_0x4daffe[_0x25165f(0x127)]+_0x4daffe[_0x25165f(0x120)];_0x32c97b=new URL(_0x225920,_0x678de2['origin']+_0x678de2['pathname'])[_0x25165f(0x135)];}}}}}else{if(_0x4eee3c){const _0x4501c7=new URL(_0x15fcfa);if(!_0x3cefe4){const _0x5cc720=new URL(_0x32c97b,_0x4501c7['origin']);_0x32c97b=_0x5cc720[_0x25165f(0x135)];}else{const _0x38fd51=new URL(_0x32c97b);_0x32c97b=_0x4501c7[_0x25165f(0x15b)]+_0x38fd51[_0x25165f(0x126)]+_0x38fd51['search']+_0x38fd51[_0x25165f(0x120)];}}else{if(!_0x3cefe4){const _0x5898a2=(0x0,path_1[_0x25165f(0x130)])(_0x25165f(0x154)),_0x3db9b0=(0x0,path_1[_0x25165f(0x130)])(_0x5898a2,_0x32c97b),_0x4d8479=(0x0,path_1[_0x25165f(0x12e)])(_0x3db9b0),_0x1b9326=(0x0,path_1[_0x25165f(0x165)])(_0x5898a2,_0x4d8479);_0x32c97b=(0x0,path_1[_0x25165f(0x132)])(process['cwd'](),_0x1b9326)[_0x25165f(0x161)](/^(\.\.\/)+/,'./')[_0x25165f(0x161)](/\/$/,'');}}}return _0x32c97b;}function _0x2a3d(_0xea70f5,_0x490d68){const _0x40f0c6=_0x40f0();return _0x2a3d=function(_0x2a3d84,_0x28464f){_0x2a3d84=_0x2a3d84-0x117;let _0xa1e030=_0x40f0c6[_0x2a3d84];return _0xa1e030;},_0x2a3d(_0xea70f5,_0x490d68);}function configScope(_0x1196c9){const _0x8ea497=_0x5ddbb7;var _0x1d7312;let _0x440459=(_0x1d7312=_0x1196c9['scope'])!==null&&_0x1d7312!==void 0x0?_0x1d7312:'/';const _0x2ef073=(0x0,validate_1[_0x8ea497(0x16b)])(_0x1196c9['start_url']),_0x73abda=(0x0,validate_1[_0x8ea497(0x16b)])(_0x440459);if(_0x2ef073&&_0x73abda){const _0xefe19a=new URL(_0x440459),_0x3dbf98=new URL(_0x1196c9['start_url']);(_0xefe19a[_0x8ea497(0x145)]!==_0x3dbf98['host']||_0x1196c9[_0x8ea497(0x11a)][_0x8ea497(0x15d)](_0x440459)!==0x0)&&(_0x440459=(0x0,utils_1[_0x8ea497(0x140)])(_0x1196c9[_0x8ea497(0x11a)]));}else{if(_0x2ef073&&!_0x73abda)_0x440459=new URL(_0x440459,_0x1196c9[_0x8ea497(0x11a)])[_0x8ea497(0x135)];else{if(!_0x2ef073&&_0x73abda){const _0xb05cb7=_0x1196c9[_0x8ea497(0x11a)]['replace'](/\/[^\/]+$/,'');_0x440459=(0x0,path_1['normalize'])(_0xb05cb7+'/');}else _0x440459=(0x0,path_1[_0x8ea497(0x165)])((0x0,utils_1[_0x8ea497(0x140)])(_0x1196c9[_0x8ea497(0x11a)]),_0x440459);}}_0x1196c9['scope']=_0x440459;}function configDisplay(_0xac2bc){const _0x1e5b45=_0x5ddbb7;let _0xb9a576=_0xac2bc['display'];const _0x2569c1=['minimal-ui',_0x1e5b45(0x131),_0x1e5b45(0x125)];!_0x2569c1[_0x1e5b45(0x136)](_0xb9a576)&&(_0xb9a576=_0x1e5b45(0x131));if(_0xac2bc['display_override']&&_0xac2bc[_0x1e5b45(0x15c)][_0x1e5b45(0x137)]>0x0){const _0x16f1a0=_0xac2bc['display_override'][_0x1e5b45(0x15f)]((_0x40cabe,_0x4a3add)=>({'mode':_0x40cabe,'index':_0x4a3add}))[_0x1e5b45(0x12a)](({mode:_0x489f28})=>_0x2569c1[_0x1e5b45(0x136)](_0x489f28))[_0x1e5b45(0x121)]((_0x4fa230,_0xf99863)=>_0x4fa230[_0x1e5b45(0x15e)]-_0xf99863['index']);_0x16f1a0['length']>0x0&&(_0xb9a576=_0x16f1a0[0x0][_0x1e5b45(0x13c)]);}_0xac2bc[_0x1e5b45(0x15a)]=_0xb9a576;}function configMainScene(_0x28e81f){const _0x20def4=_0x5ddbb7;var _0x2f05f5,_0x391056;const _0x15703c=['automatic',_0x20def4(0x16c),_0x20def4(0x13f)];let _0x454fd1={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x20def4(0x14c)};if(_0x28e81f[_0x20def4(0x123)]){if(typeof _0x28e81f[_0x20def4(0x123)]===_0x20def4(0x153))_0x454fd1[_0x20def4(0x168)][_0x20def4(0x141)]=Number((_0x2f05f5=_0x28e81f['xr_main_scene'][_0x20def4(0x129)])===null||_0x2f05f5===void 0x0?void 0x0:_0x2f05f5[_0x20def4(0x141)])>0x0?_0x28e81f[_0x20def4(0x123)][_0x20def4(0x129)][_0x20def4(0x141)]:0x500,_0x454fd1['defaultSize'][_0x20def4(0x12f)]=Number((_0x391056=_0x28e81f[_0x20def4(0x123)][_0x20def4(0x129)])===null||_0x391056===void 0x0?void 0x0:_0x391056[_0x20def4(0x12f)])>0x0?_0x28e81f[_0x20def4(0x123)][_0x20def4(0x129)][_0x20def4(0x12f)]:0x500,_0x454fd1[_0x20def4(0x128)]=_0x15703c['includes'](_0x28e81f[_0x20def4(0x123)][_0x20def4(0x128)])?_0x28e81f[_0x20def4(0x123)][_0x20def4(0x128)]:'automatic',_0x28e81f[_0x20def4(0x150)]=_0x454fd1;else typeof _0x28e81f[_0x20def4(0x123)]===_0x20def4(0x151)&&(_0x28e81f['mainScene']='dynamic');}}function configDeeplink(_0x303196){const _0x57f591=_0x5ddbb7;if(_0x303196[_0x57f591(0x152)]&&_0x303196[_0x57f591(0x152)][_0x57f591(0x137)]>0x0)for(var _0x42d30c=0x0;_0x42d30c<_0x303196[_0x57f591(0x152)][_0x57f591(0x137)];_0x42d30c++){const _0x212dca=_0x303196[_0x57f591(0x152)][_0x42d30c];if(_0x212dca['protocol']&&(exports[_0x57f591(0x13e)][_0x57f591(0x136)](_0x212dca['protocol'])||_0x212dca['protocol'][_0x57f591(0x15d)](_0x57f591(0x118))===0x0)){if(!((0x0,validate_1[_0x57f591(0x16b)])(_0x212dca[_0x57f591(0x144)])&&_0x212dca[_0x57f591(0x144)][_0x57f591(0x15d)](_0x303196[_0x57f591(0x142)])<0x0))continue;}_0x303196[_0x57f591(0x152)][_0x57f591(0x11e)](_0x42d30c,0x1),_0x42d30c--;}}exports[_0x5ddbb7(0x13e)]=['bitcoin',_0x5ddbb7(0x163),_0x5ddbb7(0x158),'geo','im',_0x5ddbb7(0x147),_0x5ddbb7(0x14a),_0x5ddbb7(0x14b),_0x5ddbb7(0x169),'matrix',_0x5ddbb7(0x14e),_0x5ddbb7(0x14d),_0x5ddbb7(0x122),_0x5ddbb7(0x11c),_0x5ddbb7(0x13a),_0x5ddbb7(0x143),_0x5ddbb7(0x156),_0x5ddbb7(0x148),'ssh','tel',_0x5ddbb7(0x157),_0x5ddbb7(0x14f),_0x5ddbb7(0x117),_0x5ddbb7(0x13b)];
1
+ 'use strict';const _0x138855=_0x2599;(function(_0x3277e6,_0x37f5b0){const _0x400734=_0x2599,_0x4c60bf=_0x3277e6();while(!![]){try{const _0x35b248=parseInt(_0x400734(0x82))/0x1*(parseInt(_0x400734(0xc7))/0x2)+-parseInt(_0x400734(0x97))/0x3*(-parseInt(_0x400734(0x93))/0x4)+parseInt(_0x400734(0xc6))/0x5+parseInt(_0x400734(0x84))/0x6*(parseInt(_0x400734(0x9b))/0x7)+parseInt(_0x400734(0x8e))/0x8*(parseInt(_0x400734(0xba))/0x9)+parseInt(_0x400734(0x9c))/0xa+-parseInt(_0x400734(0x8a))/0xb*(parseInt(_0x400734(0xb2))/0xc);if(_0x35b248===_0x37f5b0)break;else _0x4c60bf['push'](_0x4c60bf['shift']());}catch(_0x4b311b){_0x4c60bf['push'](_0x4c60bf['shift']());}}}(_0x309d,0xabff7));Object[_0x138855(0xc5)](exports,_0x138855(0x87),{'value':!![]}),exports['safelist']=void 0x0,exports[_0x138855(0xaf)]=configId,exports[_0x138855(0xa3)]=configStartUrl,exports[_0x138855(0xc0)]=configScope,exports[_0x138855(0xc9)]=configDisplay,exports['configMainScene']=configMainScene,exports[_0x138855(0x94)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require('path');function _0x2599(_0x1acc5a,_0x3f5d54){const _0x309d4a=_0x309d();return _0x2599=function(_0x2599d7,_0x5cce06){_0x2599d7=_0x2599d7-0x7d;let _0x186532=_0x309d4a[_0x2599d7];return _0x186532;},_0x2599(_0x1acc5a,_0x3f5d54);}function configId(_0x5f1b13,_0x566af4){const _0x6cbf5e=_0x138855;if(_0x566af4)_0x5f1b13['id']=_0x566af4;else try{const _0x4182be=new URL(_0x5f1b13['id']);let _0x1fe323=_0x4182be[_0x6cbf5e(0xc4)]['split']('.')['reverse']();_0x5f1b13['id']=_0x1fe323[_0x6cbf5e(0xb0)]('.');}catch(_0x380e87){throw new Error(_0x6cbf5e(0x80)+_0x5f1b13['id']+_0x6cbf5e(0xaa));}}function configStartUrl(_0x252201,_0xe11d80,_0x585c8a,_0x37f44a){const _0x27389e=_0x138855;var _0x1b0735;let _0xd50255=(_0x1b0735=_0x252201[_0x27389e(0xb6)])!==null&&_0x1b0735!==void 0x0?_0x1b0735:'/';const _0x176728=(0x0,validate_1[_0x27389e(0xb8)])(_0xd50255),_0x4feee0=_0xe11d80[_0x27389e(0xb3)]>0x0;if(_0x4feee0){const _0x5a325a=(0x0,validate_1[_0x27389e(0xb8)])(_0xe11d80);if(!_0x176728&&!_0x5a325a){const _0x168944=(0x0,path_1[_0x27389e(0x7e)])(_0x27389e(0xc2)),_0x37eb88=(0x0,path_1[_0x27389e(0x7e)])(_0x168944,_0xe11d80,_0xd50255),_0xc2e2cb=(0x0,path_1['normalize'])(_0x37eb88),_0x9fbffc=(0x0,path_1[_0x27389e(0xb0)])(_0x168944,_0xc2e2cb);_0xd50255=(0x0,path_1[_0x27389e(0xca)])(process['cwd'](),_0x9fbffc)[_0x27389e(0xb1)](/^(\.\.\/)+/,'./')[_0x27389e(0xb1)](/\/$/,'');}else{if(_0x176728&&!_0x5a325a){const _0x3a0f9e=new URL(_0xd50255),_0x27d702=_0x3a0f9e[_0x27389e(0x83)]+_0x3a0f9e[_0x27389e(0xa4)]+_0x3a0f9e['hash'];let _0x4adaa1=new URL(_0xe11d80,_0x3a0f9e[_0x27389e(0x9e)]);_0xd50255=new URL(_0x27d702,_0x4adaa1)[_0x27389e(0x92)];}else{if(!_0x176728&&_0x5a325a){if(_0xd50255['startsWith']('/')){const _0x2de9d2=new URL(_0xe11d80);_0xd50255=_0x2de9d2['origin']+(0x0,path_1[_0x27389e(0xb0)])(_0x2de9d2['pathname'],_0xd50255);}else _0xd50255=new URL(_0xd50255,_0xe11d80)[_0x27389e(0x92)];}else{if(_0x176728&&_0x5a325a){const _0x1e6b02=new URL(_0xd50255),_0x243daf=new URL(_0xe11d80),_0x1ea35d=_0x1e6b02['pathname']+_0x1e6b02['search']+_0x1e6b02[_0x27389e(0x9f)];_0xd50255=new URL(_0x1ea35d,_0x243daf[_0x27389e(0x9e)]+_0x243daf[_0x27389e(0x83)])[_0x27389e(0x92)];}}}}}else{if(_0x37f44a){const _0x18e065=new URL(_0x585c8a);if(!_0x176728){const _0xebb035=new URL(_0xd50255,_0x18e065[_0x27389e(0x9e)]);_0xd50255=_0xebb035[_0x27389e(0x92)];}else{const _0x3dae3f=new URL(_0xd50255);_0xd50255=_0x18e065['origin']+_0x3dae3f[_0x27389e(0x83)]+_0x3dae3f[_0x27389e(0xa4)]+_0x3dae3f['hash'];}}else{if(!_0x176728){const _0x3d7b4d=(0x0,path_1['resolve'])(_0x27389e(0xc2)),_0x563fac=(0x0,path_1['resolve'])(_0x3d7b4d,_0xd50255),_0x20704e=(0x0,path_1['normalize'])(_0x563fac),_0x5cfe46=(0x0,path_1[_0x27389e(0xb0)])(_0x3d7b4d,_0x20704e);_0xd50255=(0x0,path_1[_0x27389e(0xca)])(process['cwd'](),_0x5cfe46)[_0x27389e(0xb1)](/^(\.\.\/)+/,'./')[_0x27389e(0xb1)](/\/$/,'');}}}return _0xd50255;}function configScope(_0x2c88e9){const _0x2f6b5f=_0x138855;var _0x1653c9;let _0x3c1573=(_0x1653c9=_0x2c88e9['scope'])!==null&&_0x1653c9!==void 0x0?_0x1653c9:'/';const _0x4c6720=(0x0,validate_1[_0x2f6b5f(0xb8)])(_0x2c88e9['start_url']),_0x4744a9=(0x0,validate_1[_0x2f6b5f(0xb8)])(_0x3c1573);if(_0x4c6720&&_0x4744a9){const _0x35937d=new URL(_0x3c1573),_0x1e1181=new URL(_0x2c88e9['start_url']);(_0x35937d['host']!==_0x1e1181['host']||_0x2c88e9[_0x2f6b5f(0xb6)][_0x2f6b5f(0xbd)](_0x3c1573)!==0x0)&&(_0x3c1573=(0x0,utils_1[_0x2f6b5f(0xc3)])(_0x2c88e9[_0x2f6b5f(0xb6)]));}else{if(_0x4c6720&&!_0x4744a9)_0x3c1573=new URL(_0x3c1573,_0x2c88e9[_0x2f6b5f(0xb6)])[_0x2f6b5f(0x92)];else{if(!_0x4c6720&&_0x4744a9){const _0x4fe520=_0x2c88e9[_0x2f6b5f(0xb6)][_0x2f6b5f(0xb1)](/\/[^\/]+$/,'');_0x3c1573=(0x0,path_1['normalize'])(_0x4fe520+'/');}else _0x3c1573=(0x0,path_1[_0x2f6b5f(0xb0)])((0x0,utils_1[_0x2f6b5f(0xc3)])(_0x2c88e9['start_url']),_0x3c1573);}}_0x2c88e9[_0x2f6b5f(0x86)]=_0x3c1573;}function configDisplay(_0x4978ee){const _0x39298e=_0x138855;let _0xb23ed6=_0x4978ee[_0x39298e(0xbb)];const _0x452926=[_0x39298e(0x95),_0x39298e(0x88),_0x39298e(0x8f)];!_0x452926[_0x39298e(0xac)](_0xb23ed6)&&(_0xb23ed6='standalone');if(_0x4978ee[_0x39298e(0x89)]&&_0x4978ee[_0x39298e(0x89)]['length']>0x0){const _0x3acd26=_0x4978ee[_0x39298e(0x89)][_0x39298e(0xb4)]((_0xece9c5,_0x90f47)=>({'mode':_0xece9c5,'index':_0x90f47}))[_0x39298e(0xa7)](({mode:_0x17522a})=>_0x452926['includes'](_0x17522a))['sort']((_0x5ec8e9,_0x31e72c)=>_0x5ec8e9[_0x39298e(0xae)]-_0x31e72c[_0x39298e(0xae)]);_0x3acd26[_0x39298e(0xb3)]>0x0&&(_0xb23ed6=_0x3acd26[0x0][_0x39298e(0xa2)]);}_0x4978ee['display']=_0xb23ed6;}function _0x309d(){const _0x13f1dc=['join','replace','3168IGIvoA','length','map','ftps','start_url','protocol_handlers','validateURL','sms','2772666LrczNU','display','urn','indexOf','nntp','string','configScope','object','./static-web','parseRouter','host','defineProperty','854590nnXcNR','1931068flJlox','height','configDisplay','relative','ftp','smsto','tel','geo','resolve','url','id:','dynamic','1pWNCnN','pathname','42inYmsd','safelist','scope','__esModule','standalone','display_override','108053szTocc','magnet','default_size','bitcoin','24vmhODa','fullscreen','mainScene','width','href','4FCYKfb','configDeeplink','minimal-ui','matrix','442227cvlZSE','protocol','defaultSize','mms','398461hJlRWP','6912310TeOIjA','webcal','origin','hash','resizability','automatic','mode','configStartUrl','search','web+','sip','filter','xr_main_scene','ssh','\x20\x20is\x20not\x20a\x20valid\x20url','wtai','includes','ircs','index','configId'];_0x309d=function(){return _0x13f1dc;};return _0x309d();}function configMainScene(_0x2b707a){const _0x336464=_0x138855;var _0x2a5ee4,_0x8f78fa;const _0x235883=[_0x336464(0xa1),'contentMinSize','contentSize'];let _0x31ed15={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x336464(0xa1)};if(_0x2b707a[_0x336464(0xa8)]){if(typeof _0x2b707a['xr_main_scene']===_0x336464(0xc1))_0x31ed15[_0x336464(0x99)]['width']=Number((_0x2a5ee4=_0x2b707a[_0x336464(0xa8)][_0x336464(0x8c)])===null||_0x2a5ee4===void 0x0?void 0x0:_0x2a5ee4[_0x336464(0x91)])>0x0?_0x2b707a['xr_main_scene']['default_size'][_0x336464(0x91)]:0x500,_0x31ed15[_0x336464(0x99)][_0x336464(0xc8)]=Number((_0x8f78fa=_0x2b707a[_0x336464(0xa8)]['default_size'])===null||_0x8f78fa===void 0x0?void 0x0:_0x8f78fa[_0x336464(0xc8)])>0x0?_0x2b707a[_0x336464(0xa8)][_0x336464(0x8c)][_0x336464(0xc8)]:0x500,_0x31ed15['resizability']=_0x235883['includes'](_0x2b707a['xr_main_scene'][_0x336464(0xa0)])?_0x2b707a[_0x336464(0xa8)][_0x336464(0xa0)]:_0x336464(0xa1),_0x2b707a[_0x336464(0x90)]=_0x31ed15;else typeof _0x2b707a['xr_main_scene']===_0x336464(0xbf)&&(_0x2b707a['mainScene']=_0x336464(0x81));}}function configDeeplink(_0x34092a){const _0x1d70a6=_0x138855;if(_0x34092a['protocol_handlers']&&_0x34092a['protocol_handlers']['length']>0x0)for(var _0x455322=0x0;_0x455322<_0x34092a[_0x1d70a6(0xb7)][_0x1d70a6(0xb3)];_0x455322++){const _0x29bc64=_0x34092a['protocol_handlers'][_0x455322];if(_0x29bc64[_0x1d70a6(0x98)]&&(exports[_0x1d70a6(0x85)][_0x1d70a6(0xac)](_0x29bc64[_0x1d70a6(0x98)])||_0x29bc64[_0x1d70a6(0x98)][_0x1d70a6(0xbd)](_0x1d70a6(0xa5))===0x0)){if(!((0x0,validate_1[_0x1d70a6(0xb8)])(_0x29bc64['url'])&&_0x29bc64[_0x1d70a6(0x7f)][_0x1d70a6(0xbd)](_0x34092a[_0x1d70a6(0x86)])<0x0))continue;}_0x34092a[_0x1d70a6(0xb7)]['splice'](_0x455322,0x1),_0x455322--;}}exports[_0x138855(0x85)]=[_0x138855(0x8d),_0x138855(0xcb),_0x138855(0xb5),_0x138855(0x7d),'im','irc',_0x138855(0xad),_0x138855(0x8b),'mailto',_0x138855(0x96),_0x138855(0x9a),'news',_0x138855(0xbe),'openpgp4fpr','sftp',_0x138855(0xa6),_0x138855(0xb9),_0x138855(0xcc),_0x138855(0xa9),_0x138855(0xcd),_0x138855(0xbc),_0x138855(0x9d),_0x138855(0xab),'xmpp'];
@@ -1 +1 @@
1
- 'use strict';function _0x22dc(){const _0x35e558=['4433MtlrXc','configId','checkManifestJson','loadJsonFromNet','__esModule','check\x20manifest.json:\x20ok','1048576tvGDYn','configDisplay','configMainScene','join','8427430OikYWV','com.webspatial.test','public/manifest.webmanifest','54NskXND','8WqQmKS','standalone','configScope','minimal-ui','manifest','bundle-id','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','json','useDefaultManifestJson','PWAGenerator','52vbRcjH','manifest-url','6UjpOaK','35678bIWGVn','../utils/utils','configDeeplink','reset\x20manifest.json:\x20ok','13848hsXJDR','./validate','existsSync','defaultBundleId','log','config','../resource/load','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','start_url','public/manifest.json','validate','1037232MHkbgU','cwd','1313367TOGNmh','checkId','3729995EyMtjN','generator'];_0x22dc=function(){return _0x35e558;};return _0x22dc();}const _0x50f9ba=_0x1736;(function(_0x52e308,_0x1cd2a8){const _0x537d3f=_0x1736,_0x189a89=_0x52e308();while(!![]){try{const _0x196049=-parseInt(_0x537d3f(0x17d))/0x1*(-parseInt(_0x537d3f(0x180))/0x2)+parseInt(_0x537d3f(0x161))/0x3*(parseInt(_0x537d3f(0x173))/0x4)+parseInt(_0x537d3f(0x163))/0x5*(-parseInt(_0x537d3f(0x17f))/0x6)+-parseInt(_0x537d3f(0x15f))/0x7+parseInt(_0x537d3f(0x16b))/0x8*(-parseInt(_0x537d3f(0x172))/0x9)+parseInt(_0x537d3f(0x16f))/0xa+parseInt(_0x537d3f(0x165))/0xb*(-parseInt(_0x537d3f(0x184))/0xc);if(_0x196049===_0x1cd2a8)break;else _0x189a89['push'](_0x189a89['shift']());}catch(_0x389b09){_0x189a89['push'](_0x189a89['shift']());}}}(_0x22dc,0x7a238));Object['defineProperty'](exports,_0x50f9ba(0x169),{'value':!![]}),exports[_0x50f9ba(0x17c)]=void 0x0;const path_1=require('path'),config_1=require('./config'),load_1=require(_0x50f9ba(0x15a)),validate_1=require(_0x50f9ba(0x155)),fs=require('fs'),utils_1=require(_0x50f9ba(0x181));function _0x1736(_0x5505c2,_0x313ce1){const _0x22dc15=_0x22dc();return _0x1736=function(_0x173652,_0x340cf8){_0x173652=_0x173652-0x155;let _0xd7035=_0x22dc15[_0x173652];return _0xd7035;},_0x1736(_0x5505c2,_0x313ce1);}class PWAGenerator{static async[_0x50f9ba(0x164)](_0x426c07,_0x2a839d=![]){const _0x562780=_0x50f9ba;let _0x193b0d=await this[_0x562780(0x15e)](_0x426c07,_0x2a839d);return console['log'](_0x562780(0x16a)),await this['config'](_0x193b0d,_0x426c07,_0x2a839d),console[_0x562780(0x158)](_0x562780(0x183)),_0x193b0d;}static async[_0x50f9ba(0x15e)](_0x3b217c,_0x22b51a=![]){const _0x54f723=_0x50f9ba;var _0x526b1f,_0x570250;let _0x20905f={},_0xef61ca='',_0x576cfc=![],_0xd25c54=![];if(_0x3b217c[_0x54f723(0x17e)])_0xef61ca=_0x3b217c[_0x54f723(0x17e)],_0x576cfc=!![],_0x20905f=await(0x0,load_1[_0x54f723(0x168)])(_0x3b217c[_0x54f723(0x17e)]);else{_0x3b217c[_0x54f723(0x177)]?_0xef61ca=(0x0,path_1[_0x54f723(0x16e)])(process[_0x54f723(0x160)](),_0x3b217c['manifest']):(_0xef61ca=(0x0,path_1[_0x54f723(0x16e)])(process['cwd'](),_0x54f723(0x15d)),!fs[_0x54f723(0x156)](_0xef61ca)&&(_0xef61ca=(0x0,path_1[_0x54f723(0x16e)])(process[_0x54f723(0x160)](),_0x54f723(0x171))));if(!fs[_0x54f723(0x156)](_0xef61ca)){if(_0x22b51a)_0xd25c54=!![],utils_1['CliLog']['warn'](_0x54f723(0x179));else throw new Error(_0x54f723(0x15b));}_0x20905f=_0xd25c54?this['defaultManifestJson']:await(0x0,load_1['loadJsonFromDisk'])(_0xef61ca),this[_0x54f723(0x17b)]=_0xd25c54;}(0x0,validate_1[_0x54f723(0x167)])(_0x20905f,_0x22b51a);let _0x28e325=(0x0,config_1['configStartUrl'])(_0x20905f,(_0x526b1f=_0x3b217c['base'])!==null&&_0x526b1f!==void 0x0?_0x526b1f:'',_0xef61ca,_0x576cfc);var _0x1efd2f=(0x0,validate_1['checkStartUrl'])(_0x28e325,_0xef61ca,_0x576cfc,_0x22b51a);_0x20905f[_0x54f723(0x15c)]=_0x28e325;if(!_0x22b51a)(0x0,validate_1[_0x54f723(0x162)])(_0x20905f,(_0x570250=_0x3b217c[_0x54f723(0x178)])!==null&&_0x570250!==void 0x0?_0x570250:'');return await(0x0,validate_1['checkIcons'])(_0x20905f,_0xef61ca,_0x22b51a),{'json':_0x20905f,'url':_0xef61ca,'fromNet':_0x1efd2f};}static[_0x50f9ba(0x159)](_0x28c6c0,_0x54c77b,_0x5c0299){const _0x3b998b=_0x50f9ba;var _0x3d7095;let _0x1e5198=(_0x3d7095=_0x54c77b[_0x3b998b(0x178)])!==null&&_0x3d7095!==void 0x0?_0x3d7095:'';_0x5c0299&&!_0x28c6c0[_0x3b998b(0x17a)]['id']&&(_0x1e5198=this[_0x3b998b(0x157)]),(0x0,config_1[_0x3b998b(0x166)])(_0x28c6c0[_0x3b998b(0x17a)],_0x1e5198),(0x0,config_1[_0x3b998b(0x175)])(_0x28c6c0[_0x3b998b(0x17a)]),(0x0,config_1[_0x3b998b(0x16c)])(_0x28c6c0['json']),(0x0,config_1[_0x3b998b(0x182)])(_0x28c6c0['json']),(0x0,config_1[_0x3b998b(0x16d)])(_0x28c6c0['json']);}}exports[_0x50f9ba(0x17c)]=PWAGenerator,PWAGenerator['DisplayModes']=[_0x50f9ba(0x174),_0x50f9ba(0x176)],PWAGenerator[_0x50f9ba(0x157)]=_0x50f9ba(0x170),PWAGenerator['defaultManifestJson']={'name':'WebSpatialTest','display':_0x50f9ba(0x176),'start_url':'/','scope':'/'},PWAGenerator[_0x50f9ba(0x17b)]=![];
1
+ 'use strict';function _0x3155(){const _0x1e5154=['generator','CliLog','minimal-ui','932070aZjLtD','defaultBundleId','configDisplay','210uVbfJh','852mKNzhH','join','configStartUrl','1101eLNlXA','public/manifest.json','json','configId','PWAGenerator','path','loadJsonFromNet','bundleId','37818XjfcDx','defaultManifestJson','cwd','checkIcons','checkId','configDeeplink','standalone','manifestUrl','start_url','validate','defineProperty','../utils/utils','manifest','useDefaultManifestJson','300953EHOsAt','loadJsonFromDisk','16746pIvvjT','reset\x20manifest.json:\x20ok','./config','__esModule','checkStartUrl','configScope','check\x20manifest.json:\x20ok','config','413890UPNgiW','com.webspatial.test','DisplayModes','13840Movvnv','../resource/load','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','WebSpatialTest','log','525AnFyHx','public/manifest.webmanifest','configMainScene','existsSync'];_0x3155=function(){return _0x1e5154;};return _0x3155();}const _0x12e3aa=_0x2f48;(function(_0x48bc57,_0x125c88){const _0x17372c=_0x2f48,_0x282665=_0x48bc57();while(!![]){try{const _0x3d0ea0=-parseInt(_0x17372c(0x1fa))/0x1+parseInt(_0x17372c(0x204))/0x2+-parseInt(_0x17372c(0x1e4))/0x3*(parseInt(_0x17372c(0x1e1))/0x4)+-parseInt(_0x17372c(0x1d6))/0x5*(-parseInt(_0x17372c(0x1fc))/0x6)+parseInt(_0x17372c(0x1e0))/0x7*(parseInt(_0x17372c(0x1d1))/0x8)+parseInt(_0x17372c(0x1ec))/0x9+parseInt(_0x17372c(0x1dd))/0xa;if(_0x3d0ea0===_0x125c88)break;else _0x282665['push'](_0x282665['shift']());}catch(_0xf7444b){_0x282665['push'](_0x282665['shift']());}}}(_0x3155,0x41f69));Object[_0x12e3aa(0x1f6)](exports,_0x12e3aa(0x1ff),{'value':!![]}),exports[_0x12e3aa(0x1e8)]=void 0x0;const path_1=require(_0x12e3aa(0x1e9)),config_1=require(_0x12e3aa(0x1fe)),load_1=require(_0x12e3aa(0x1d2)),validate_1=require('./validate'),fs=require('fs'),utils_1=require(_0x12e3aa(0x1f7));class PWAGenerator{static async[_0x12e3aa(0x1da)](_0x3bf6b8,_0x324d02=![]){const _0x4ae1a0=_0x12e3aa;let _0x2baa42=await this[_0x4ae1a0(0x1f5)](_0x3bf6b8,_0x324d02);return console[_0x4ae1a0(0x1d5)](_0x4ae1a0(0x202)),await this[_0x4ae1a0(0x203)](_0x2baa42,_0x3bf6b8,_0x324d02),console['log'](_0x4ae1a0(0x1fd)),_0x2baa42;}static async[_0x12e3aa(0x1f5)](_0xf16a5a,_0x181979=![]){const _0x5280c6=_0x12e3aa;var _0x3b5c1d,_0x48acf3;let _0x4caef6={},_0x49cbf0='',_0x23dd66=![],_0x5d63ff=![];if(_0xf16a5a[_0x5280c6(0x1f3)])_0x49cbf0=_0xf16a5a[_0x5280c6(0x1f3)],_0x23dd66=!![],_0x4caef6=await(0x0,load_1[_0x5280c6(0x1ea)])(_0xf16a5a[_0x5280c6(0x1f3)]);else{_0xf16a5a[_0x5280c6(0x1f8)]?_0x49cbf0=(0x0,path_1[_0x5280c6(0x1e2)])(process[_0x5280c6(0x1ee)](),_0xf16a5a[_0x5280c6(0x1f8)]):(_0x49cbf0=(0x0,path_1[_0x5280c6(0x1e2)])(process[_0x5280c6(0x1ee)](),_0x5280c6(0x1e5)),!fs[_0x5280c6(0x1d9)](_0x49cbf0)&&(_0x49cbf0=(0x0,path_1[_0x5280c6(0x1e2)])(process[_0x5280c6(0x1ee)](),_0x5280c6(0x1d7))));if(!fs[_0x5280c6(0x1d9)](_0x49cbf0)){if(_0x181979)_0x5d63ff=!![],utils_1[_0x5280c6(0x1db)]['warn'](_0x5280c6(0x1d3));else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0x4caef6=_0x5d63ff?this[_0x5280c6(0x1ed)]:await(0x0,load_1[_0x5280c6(0x1fb)])(_0x49cbf0),this[_0x5280c6(0x1f9)]=_0x5d63ff;}(0x0,validate_1['checkManifestJson'])(_0x4caef6,_0x181979);let _0x5d6386=(0x0,config_1[_0x5280c6(0x1e3)])(_0x4caef6,(_0x3b5c1d=_0xf16a5a['base'])!==null&&_0x3b5c1d!==void 0x0?_0x3b5c1d:'',_0x49cbf0,_0x23dd66);var _0x427317=(0x0,validate_1[_0x5280c6(0x200)])(_0x5d6386,_0x49cbf0,_0x23dd66,_0x181979);_0x4caef6[_0x5280c6(0x1f4)]=_0x5d6386;if(!_0x181979)(0x0,validate_1[_0x5280c6(0x1f0)])(_0x4caef6,(_0x48acf3=_0xf16a5a[_0x5280c6(0x1eb)])!==null&&_0x48acf3!==void 0x0?_0x48acf3:'');return await(0x0,validate_1[_0x5280c6(0x1ef)])(_0x4caef6,_0x49cbf0,_0x181979),{'json':_0x4caef6,'url':_0x49cbf0,'fromNet':_0x427317};}static['config'](_0x5e5620,_0x4ced87,_0x2a20a9){const _0x52d014=_0x12e3aa;var _0x4eadb1;let _0x459a53=(_0x4eadb1=_0x4ced87[_0x52d014(0x1eb)])!==null&&_0x4eadb1!==void 0x0?_0x4eadb1:'';_0x2a20a9&&!_0x5e5620[_0x52d014(0x1e6)]['id']&&(_0x459a53=this[_0x52d014(0x1de)]),(0x0,config_1[_0x52d014(0x1e7)])(_0x5e5620[_0x52d014(0x1e6)],_0x459a53),(0x0,config_1[_0x52d014(0x201)])(_0x5e5620['json']),(0x0,config_1[_0x52d014(0x1df)])(_0x5e5620[_0x52d014(0x1e6)]),(0x0,config_1[_0x52d014(0x1f1)])(_0x5e5620[_0x52d014(0x1e6)]),(0x0,config_1[_0x52d014(0x1d8)])(_0x5e5620[_0x52d014(0x1e6)]);}}function _0x2f48(_0x169df1,_0xf97bde){const _0x315584=_0x3155();return _0x2f48=function(_0x2f48a7,_0x59e765){_0x2f48a7=_0x2f48a7-0x1d0;let _0x263e82=_0x315584[_0x2f48a7];return _0x263e82;},_0x2f48(_0x169df1,_0xf97bde);}exports[_0x12e3aa(0x1e8)]=PWAGenerator,PWAGenerator[_0x12e3aa(0x1d0)]=[_0x12e3aa(0x1f2),_0x12e3aa(0x1dc)],PWAGenerator['defaultBundleId']=_0x12e3aa(0x205),PWAGenerator['defaultManifestJson']={'name':_0x12e3aa(0x1d4),'display':_0x12e3aa(0x1dc),'start_url':'/','scope':'/'},PWAGenerator[_0x12e3aa(0x1f9)]=![];
@@ -1 +1 @@
1
- 'use strict';const _0x5346c4=_0x5f77;(function(_0x5311bd,_0x1d2c3b){const _0x46357d=_0x5f77,_0x3c1cb9=_0x5311bd();while(!![]){try{const _0x3e7e3f=parseInt(_0x46357d(0x11f))/0x1*(-parseInt(_0x46357d(0x125))/0x2)+-parseInt(_0x46357d(0x11a))/0x3+parseInt(_0x46357d(0x102))/0x4*(parseInt(_0x46357d(0xf6))/0x5)+parseInt(_0x46357d(0x109))/0x6*(-parseInt(_0x46357d(0x10a))/0x7)+parseInt(_0x46357d(0xf8))/0x8+parseInt(_0x46357d(0x10f))/0x9+-parseInt(_0x46357d(0x103))/0xa;if(_0x3e7e3f===_0x1d2c3b)break;else _0x3c1cb9['push'](_0x3c1cb9['shift']());}catch(_0x362429){_0x3c1cb9['push'](_0x3c1cb9['shift']());}}}(_0x26f8,0xd26b2));Object[_0x5346c4(0x100)](exports,_0x5346c4(0x10d),{'value':!![]}),exports[_0x5346c4(0xf9)]=checkManifestJson,exports[_0x5346c4(0x101)]=checkStartUrl,exports[_0x5346c4(0x112)]=checkIcons,exports[_0x5346c4(0x121)]=checkId,exports[_0x5346c4(0x120)]=validateBundleId,exports[_0x5346c4(0x104)]=validateURL;const path_1=require(_0x5346c4(0x117)),CustomError_1=require(_0x5346c4(0x124)),utils_1=require(_0x5346c4(0xfc)),imageHelper_1=require('../resource/imageHelper'),load_1=require(_0x5346c4(0x119)),utils_2=require('../utils/utils');function _0x5f77(_0x4e54a1,_0x53b549){const _0x26f8d7=_0x26f8();return _0x5f77=function(_0x5f77bb,_0x5c7943){_0x5f77bb=_0x5f77bb-0xf4;let _0x270ec4=_0x26f8d7[_0x5f77bb];return _0x270ec4;},_0x5f77(_0x4e54a1,_0x53b549);}function _0x26f8(){const _0x28b3f5=['In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','1243128nqUgSq','checkManifestJson','src','icons','../utils/utils','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','http','forEach','defineProperty','checkStartUrl','531644wMokVd','11750230AqbiwD','validateURL','getWidth','purpose','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','../../assets/icon-default.png','348FwSboB','16765ZGTCsF','CliLog','split','__esModule','start_url','8935299GFCoTe','join','startsWith','checkIcons','getHeight','loadImageFromDisk','sizes','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','path','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','../resource/load','899205nxeRXk','indexOf','maskable','warn','1024x1024','134681kZtARP','validateBundleId','checkId','name','CustomError','../utils/CustomError','2OsvWKH','length','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','Local\x20manifest\x20cannot\x20package\x20network\x20project','https://','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','loadImageFromNet','test','http://','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','push','55WCiCSp'];_0x26f8=function(){return _0x28b3f5;};return _0x26f8();}function checkManifestJson(_0x4dedd9,_0x2cd5ae=![]){const _0x4c197e=_0x5346c4;var _0xdaff02;const _0x9f925=[];!_0x4dedd9[_0x4c197e(0x122)]&&!_0x4dedd9['short_name']&&!_0x2cd5ae&&_0x9f925['push']({'code':0xbbe,'message':_0x4c197e(0x127),'message_staring_params':{}});!((_0xdaff02=_0x4dedd9[_0x4c197e(0xfb)])===null||_0xdaff02===void 0x0?void 0x0:_0xdaff02['length'])&&!_0x2cd5ae&&_0x9f925[_0x4c197e(0xf5)]({'code':0xbbf,'message':_0x4c197e(0x107),'message_staring_params':{}});!_0x4dedd9[_0x4c197e(0x10e)]&&!_0x2cd5ae&&_0x9f925[_0x4c197e(0xf5)]({'code':0xbc0,'message':_0x4c197e(0xf7),'message_staring_params':{}});if(_0x9f925[_0x4c197e(0x126)])throw new CustomError_1[(_0x4c197e(0x123))](_0x9f925);}function checkStartUrl(_0x312a27,_0x13ba4d,_0x32ed8a,_0x368149=![]){const _0x411759=_0x5346c4;var _0x35cb38=![];if(_0x368149)return _0x312a27[_0x411759(0x111)](_0x411759(0x129))||_0x312a27[_0x411759(0x111)](_0x411759(0x12d));if(_0x32ed8a){if(_0x312a27[_0x411759(0x111)](_0x411759(0x129))){const _0x1d4fc2=new URL(_0x312a27),_0x2575c8=new URL(_0x13ba4d);if(_0x1d4fc2['host']!==_0x2575c8['host'])throw new CustomError_1[(_0x411759(0x123))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x312a27['startsWith'](_0x411759(0x12d)))throw new CustomError_1[(_0x411759(0x123))]({'code':0xfa0,'message':_0x411759(0x116),'message_staring_params':{}});}}else{if(_0x312a27[_0x411759(0x111)](_0x411759(0x129))||_0x312a27['startsWith'](_0x411759(0x12d)))throw new CustomError_1[(_0x411759(0x123))]({'code':0xfa0,'message':_0x411759(0x128),'message_staring_params':{}});}return _0x35cb38;}async function checkIcons(_0x115018,_0x567841,_0x29dce6=![]){const _0x1640ac=_0x5346c4;var _0x1e33aa,_0x3ec758;if(!((_0x1e33aa=_0x115018[_0x1640ac(0xfb)])===null||_0x1e33aa===void 0x0?void 0x0:_0x1e33aa[_0x1640ac(0x126)])&&_0x29dce6){_0x115018['icons']=[{'src':(0x0,path_1[_0x1640ac(0x110)])(__dirname,_0x1640ac(0x108)),'sizes':'1024x1024','purpose':_0x1640ac(0x11c)}],utils_2[_0x1640ac(0x10b)][_0x1640ac(0x11d)](_0x1640ac(0xfd));return;}const _0x3d8e10=(0x0,utils_1['parseRouter'])(_0x567841);let _0x55b0cd,_0x20e777,_0x44c9f1,_0xfba592=0x0;for(var _0x112223=0x0;_0x112223<_0x115018[_0x1640ac(0xfb)][_0x1640ac(0x126)];_0x112223++){const _0x2074df=_0x115018[_0x1640ac(0xfb)][_0x112223];let _0x569bfc=((_0x3ec758=_0x2074df['purpose'])===null||_0x3ec758===void 0x0?void 0x0:_0x3ec758[_0x1640ac(0x11b)]('maskable'))>=0x0;if(!_0x569bfc)continue;let _0xe59e82=![],_0xa3fd0c=_0x2074df[_0x1640ac(0xfa)],_0x1b5c0b,_0x488523=0x0;!validateURL(_0xa3fd0c)&&(_0xa3fd0c=(0x0,path_1[_0x1640ac(0x110)])(_0x3d8e10,_0xa3fd0c));if(_0x2074df[_0x1640ac(0x115)]){const _0x55a2a6=_0x2074df[_0x1640ac(0x115)][_0x1640ac(0x10c)]('\x20');_0x55a2a6[_0x1640ac(0xff)](_0x5a20e2=>{const _0x18d11e=_0x1640ac;let _0x2af879=_0x5a20e2[_0x18d11e(0x10c)]('x');Number(_0x2af879[0x0])>=0x400&&Number(_0x2af879[0x1])>=0x400&&(_0xe59e82=!![],Number(_0x2af879[0x0])>_0x488523&&(_0x488523=Number(_0x2af879[0x0])));});}else _0x1b5c0b=!_0xa3fd0c[_0x1640ac(0x111)](_0x1640ac(0xfe))?await(0x0,load_1[_0x1640ac(0x114)])(_0xa3fd0c):await(0x0,load_1[_0x1640ac(0x12b)])(_0xa3fd0c),_0x1b5c0b[_0x1640ac(0x105)]()>=0x400&&_0x1b5c0b[_0x1640ac(0x113)]()>=0x400&&(_0xe59e82=!![],_0x1b5c0b[_0x1640ac(0x105)]()>_0x488523&&(_0x488523=_0x1b5c0b[_0x1640ac(0x105)]()));_0xe59e82&&_0x569bfc&&(_0x488523>_0xfba592&&(_0xfba592=_0x488523,_0x55b0cd=_0x1b5c0b,_0x20e777=_0xa3fd0c,_0x44c9f1=_0x2074df[_0x1640ac(0x106)]));}if(_0xfba592===0x0){if(_0x29dce6){_0x115018[_0x1640ac(0xfb)]=[{'src':(0x0,path_1['join'])(__dirname,'../../assets/icon-default.png'),'sizes':_0x1640ac(0x11e),'purpose':'maskable'}],utils_2[_0x1640ac(0x10b)][_0x1640ac(0x11d)](_0x1640ac(0x12a)),utils_2[_0x1640ac(0x10b)]['warn']('icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode');return;}throw new CustomError_1[(_0x1640ac(0x123))]({'code':0xfa0,'message':_0x1640ac(0x12a),'message_staring_params':{}});}else _0x20e777&&(_0x55b0cd=!_0x20e777['startsWith'](_0x1640ac(0xfe))?await(0x0,load_1[_0x1640ac(0x114)])(_0x20e777):await(0x0,load_1[_0x1640ac(0x12b)])(_0x20e777));if(_0x55b0cd&&!imageHelper_1['ImageHelper']['isFullyOpaque'](_0x55b0cd)){if(_0x29dce6){utils_2[_0x1640ac(0x10b)][_0x1640ac(0x11d)](_0x1640ac(0x12a));return;}throw new CustomError_1[(_0x1640ac(0x123))]({'code':0xfa0,'message':_0x1640ac(0x118),'message_staring_params':{}});}_0x115018[_0x1640ac(0xfb)]=[{'src':_0x20e777,'sizes':_0xfba592+'x'+_0xfba592,'purpose':_0x44c9f1}];}function checkId(_0x4cdb5d,_0x43cb19){const _0x2d381c=_0x5346c4;if(_0x43cb19){if(!validateBundleId(_0x43cb19))throw new CustomError_1[(_0x2d381c(0x123))]({'code':0xfa0,'message':'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','message_staring_params':{}});return;}!_0x4cdb5d['id']&&(_0x4cdb5d['id']=_0x4cdb5d[_0x2d381c(0x10e)]);if(!validateURL(_0x4cdb5d['id'])&&!_0x43cb19)throw new CustomError_1[(_0x2d381c(0x123))]({'code':0xfa0,'message':_0x2d381c(0xf4),'message_staring_params':{}});}function validateBundleId(_0x4eaff4){const _0x551765=_0x5346c4,_0x3c6ffc=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x3c6ffc[_0x551765(0x12c)](_0x4eaff4);}function validateURL(_0x48da53){try{return new URL(_0x48da53),!![];}catch(_0x2158ee){return![];}}
1
+ 'use strict';const _0x2cbd88=_0x4509;function _0x4509(_0x181088,_0x5cdde2){const _0x150aca=_0x150a();return _0x4509=function(_0x4509b1,_0x3c039b){_0x4509b1=_0x4509b1-0x15c;let _0x37477a=_0x150aca[_0x4509b1];return _0x37477a;},_0x4509(_0x181088,_0x5cdde2);}(function(_0x2d4eb0,_0x351910){const _0x3636a7=_0x4509,_0x4bc5d6=_0x2d4eb0();while(!![]){try{const _0x34ffa9=-parseInt(_0x3636a7(0x161))/0x1+-parseInt(_0x3636a7(0x18a))/0x2*(parseInt(_0x3636a7(0x18c))/0x3)+parseInt(_0x3636a7(0x180))/0x4*(-parseInt(_0x3636a7(0x186))/0x5)+parseInt(_0x3636a7(0x184))/0x6*(parseInt(_0x3636a7(0x15c))/0x7)+-parseInt(_0x3636a7(0x174))/0x8*(parseInt(_0x3636a7(0x193))/0x9)+-parseInt(_0x3636a7(0x16f))/0xa+parseInt(_0x3636a7(0x17d))/0xb;if(_0x34ffa9===_0x351910)break;else _0x4bc5d6['push'](_0x4bc5d6['shift']());}catch(_0x5176a6){_0x4bc5d6['push'](_0x4bc5d6['shift']());}}}(_0x150a,0x8b3ce));Object[_0x2cbd88(0x185)](exports,_0x2cbd88(0x16b),{'value':!![]}),exports[_0x2cbd88(0x162)]=checkManifestJson,exports[_0x2cbd88(0x167)]=checkStartUrl,exports[_0x2cbd88(0x175)]=checkIcons,exports['checkId']=checkId,exports[_0x2cbd88(0x18f)]=validateBundleId,exports['validateURL']=validateURL;function _0x150a(){const _0xe9331f=['Local\x20manifest\x20cannot\x20package\x20network\x20project','2182836iBTkTP','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','3myalqs','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','warn','validateBundleId','../resource/imageHelper','../utils/CustomError','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','1333917ENoKVz','CustomError','3871DCKmhp','indexOf','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','http://','CliLog','617432ubpZAM','checkManifestJson','icons','../utils/utils','startsWith','split','checkStartUrl','maskable','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','push','__esModule','path','ImageHelper','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','3424010HjxkEH','loadImageFromNet','src','getWidth','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','24psvUdq','checkIcons','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','length','1024x1024','http','parseRouter','host','purpose','37373127aTMZli','join','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode','12wNeVmC','sizes','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','https://','186gyzLEq','defineProperty','580820sAvxmg','name','start_url'];_0x150a=function(){return _0xe9331f;};return _0x150a();}const path_1=require(_0x2cbd88(0x16c)),CustomError_1=require(_0x2cbd88(0x191)),utils_1=require(_0x2cbd88(0x164)),imageHelper_1=require(_0x2cbd88(0x190)),load_1=require('../resource/load'),utils_2=require('../utils/utils');function checkManifestJson(_0x6d6290,_0x4628d9=![]){const _0x4f14ab=_0x2cbd88;var _0x52d361;const _0x4e1205=[];!_0x6d6290[_0x4f14ab(0x187)]&&!_0x6d6290['short_name']&&!_0x4628d9&&_0x4e1205['push']({'code':0xbbe,'message':_0x4f14ab(0x182),'message_staring_params':{}});!((_0x52d361=_0x6d6290[_0x4f14ab(0x163)])===null||_0x52d361===void 0x0?void 0x0:_0x52d361[_0x4f14ab(0x177)])&&!_0x4628d9&&_0x4e1205[_0x4f14ab(0x16a)]({'code':0xbbf,'message':_0x4f14ab(0x18d),'message_staring_params':{}});!_0x6d6290[_0x4f14ab(0x188)]&&!_0x4628d9&&_0x4e1205[_0x4f14ab(0x16a)]({'code':0xbc0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x4e1205[_0x4f14ab(0x177)])throw new CustomError_1[(_0x4f14ab(0x194))](_0x4e1205);}function checkStartUrl(_0x482bf5,_0x1313e8,_0x16ac9c,_0x512287=![]){const _0xec6bd6=_0x2cbd88;var _0x5b8f88=![];if(_0x512287)return _0x482bf5['startsWith'](_0xec6bd6(0x183))||_0x482bf5[_0xec6bd6(0x165)](_0xec6bd6(0x15f));if(_0x16ac9c){if(_0x482bf5[_0xec6bd6(0x165)]('https://')){const _0x26dc3c=new URL(_0x482bf5),_0x47617f=new URL(_0x1313e8);if(_0x26dc3c[_0xec6bd6(0x17b)]!==_0x47617f[_0xec6bd6(0x17b)])throw new CustomError_1[(_0xec6bd6(0x194))]({'code':0xfa0,'message':_0xec6bd6(0x176),'message_staring_params':{}});}else{if(_0x482bf5[_0xec6bd6(0x165)]('http://'))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0xec6bd6(0x192),'message_staring_params':{}});}}else{if(_0x482bf5['startsWith'](_0xec6bd6(0x183))||_0x482bf5['startsWith'](_0xec6bd6(0x15f)))throw new CustomError_1[(_0xec6bd6(0x194))]({'code':0xfa0,'message':_0xec6bd6(0x189),'message_staring_params':{}});}return _0x5b8f88;}async function checkIcons(_0x5718fc,_0x501a55,_0x619aa0=![]){const _0xb7fc45=_0x2cbd88;var _0x2dd6f3,_0x2a219c;if(!((_0x2dd6f3=_0x5718fc[_0xb7fc45(0x163)])===null||_0x2dd6f3===void 0x0?void 0x0:_0x2dd6f3[_0xb7fc45(0x177)])&&_0x619aa0){_0x5718fc[_0xb7fc45(0x163)]=[{'src':(0x0,path_1[_0xb7fc45(0x17e)])(__dirname,'../../assets/icon-default.png'),'sizes':_0xb7fc45(0x178),'purpose':_0xb7fc45(0x168)}],utils_2['CliLog'][_0xb7fc45(0x18e)](_0xb7fc45(0x18b));return;}const _0x218780=(0x0,utils_1[_0xb7fc45(0x17a)])(_0x501a55);let _0x34776d,_0x526641,_0x20b976,_0x5eadb8=0x0;for(var _0x5dcbf3=0x0;_0x5dcbf3<_0x5718fc[_0xb7fc45(0x163)][_0xb7fc45(0x177)];_0x5dcbf3++){const _0x12df49=_0x5718fc[_0xb7fc45(0x163)][_0x5dcbf3];let _0x574481=((_0x2a219c=_0x12df49[_0xb7fc45(0x17c)])===null||_0x2a219c===void 0x0?void 0x0:_0x2a219c[_0xb7fc45(0x15d)](_0xb7fc45(0x168)))>=0x0;if(!_0x574481)continue;let _0x301dd0=![],_0x21c63a=_0x12df49[_0xb7fc45(0x171)],_0x363a57,_0x154169=0x0;!validateURL(_0x21c63a)&&(_0x21c63a=(0x0,path_1['join'])(_0x218780,_0x21c63a));if(_0x12df49[_0xb7fc45(0x181)]){const _0x28577b=_0x12df49[_0xb7fc45(0x181)][_0xb7fc45(0x166)]('\x20');_0x28577b['forEach'](_0xacc9f1=>{const _0x5a1761=_0xb7fc45;let _0x162c3e=_0xacc9f1[_0x5a1761(0x166)]('x');Number(_0x162c3e[0x0])>=0x400&&Number(_0x162c3e[0x1])>=0x400&&(_0x301dd0=!![],Number(_0x162c3e[0x0])>_0x154169&&(_0x154169=Number(_0x162c3e[0x0])));});}else _0x363a57=!_0x21c63a[_0xb7fc45(0x165)](_0xb7fc45(0x179))?await(0x0,load_1['loadImageFromDisk'])(_0x21c63a):await(0x0,load_1[_0xb7fc45(0x170)])(_0x21c63a),_0x363a57[_0xb7fc45(0x172)]()>=0x400&&_0x363a57['getHeight']()>=0x400&&(_0x301dd0=!![],_0x363a57[_0xb7fc45(0x172)]()>_0x154169&&(_0x154169=_0x363a57[_0xb7fc45(0x172)]()));_0x301dd0&&_0x574481&&(_0x154169>_0x5eadb8&&(_0x5eadb8=_0x154169,_0x34776d=_0x363a57,_0x526641=_0x21c63a,_0x20b976=_0x12df49[_0xb7fc45(0x17c)]));}if(_0x5eadb8===0x0){if(_0x619aa0){_0x5718fc[_0xb7fc45(0x163)]=[{'src':(0x0,path_1[_0xb7fc45(0x17e)])(__dirname,'../../assets/icon-default.png'),'sizes':_0xb7fc45(0x178),'purpose':_0xb7fc45(0x168)}],utils_2['CliLog'][_0xb7fc45(0x18e)](_0xb7fc45(0x169)),utils_2[_0xb7fc45(0x160)][_0xb7fc45(0x18e)](_0xb7fc45(0x17f));return;}throw new CustomError_1[(_0xb7fc45(0x194))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});}else _0x526641&&(_0x34776d=!_0x526641[_0xb7fc45(0x165)](_0xb7fc45(0x179))?await(0x0,load_1['loadImageFromDisk'])(_0x526641):await(0x0,load_1['loadImageFromNet'])(_0x526641));if(_0x34776d&&!imageHelper_1[_0xb7fc45(0x16d)]['isFullyOpaque'](_0x34776d)){if(_0x619aa0){utils_2[_0xb7fc45(0x160)][_0xb7fc45(0x18e)]('In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable');return;}throw new CustomError_1[(_0xb7fc45(0x194))]({'code':0xfa0,'message':_0xb7fc45(0x16e),'message_staring_params':{}});}_0x5718fc[_0xb7fc45(0x163)]=[{'src':_0x526641,'sizes':_0x5eadb8+'x'+_0x5eadb8,'purpose':_0x20b976}];}function checkId(_0x27e541,_0xc04af7){const _0x2ab1cc=_0x2cbd88;if(_0xc04af7){if(!validateBundleId(_0xc04af7))throw new CustomError_1[(_0x2ab1cc(0x194))]({'code':0xfa0,'message':_0x2ab1cc(0x15e),'message_staring_params':{}});return;}!_0x27e541['id']&&(_0x27e541['id']=_0x27e541[_0x2ab1cc(0x188)]);if(!validateURL(_0x27e541['id'])&&!_0xc04af7)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x2ab1cc(0x173),'message_staring_params':{}});}function validateBundleId(_0x31f661){const _0x4717b3=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x4717b3['test'](_0x31f661);}function validateURL(_0x2664bc){try{return new URL(_0x2664bc),!![];}catch(_0x9f0ec2){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x4e20f6=_0x2392;(function(_0x5eee80,_0x179f7e){const _0x324bc4=_0x2392,_0x594d65=_0x5eee80();while(!![]){try{const _0x4048d2=-parseInt(_0x324bc4(0x18c))/0x1*(-parseInt(_0x324bc4(0x18f))/0x2)+parseInt(_0x324bc4(0x182))/0x3+parseInt(_0x324bc4(0x18b))/0x4*(-parseInt(_0x324bc4(0x185))/0x5)+-parseInt(_0x324bc4(0x197))/0x6*(parseInt(_0x324bc4(0x184))/0x7)+-parseInt(_0x324bc4(0x190))/0x8+parseInt(_0x324bc4(0x191))/0x9+-parseInt(_0x324bc4(0x17f))/0xa*(-parseInt(_0x324bc4(0x196))/0xb);if(_0x4048d2===_0x179f7e)break;else _0x594d65['push'](_0x594d65['shift']());}catch(_0x40bd44){_0x594d65['push'](_0x594d65['shift']());}}}(_0x59a8,0x70d97));function _0x2392(_0xcb2c1d,_0x2afd09){const _0x59a8d8=_0x59a8();return _0x2392=function(_0x239216,_0xfc6d67){_0x239216=_0x239216-0x17f;let _0x4531eb=_0x59a8d8[_0x239216];return _0x4531eb;},_0x2392(_0xcb2c1d,_0x2afd09);}Object['defineProperty'](exports,_0x4e20f6(0x194),{'value':!![]}),exports[_0x4e20f6(0x188)]=copyDir,exports[_0x4e20f6(0x193)]=clearDir;function _0x59a8(){const _0x428a95=['isDirectory','4216652TAaoFH','2208GNrGff','10BEfFsF','forEach','statSync','2018490fFtzcv','unlinkSync','12131YiDogk','119445zVzDtt','mkdirSync','readFileSync','copyDir','existsSync','readdirSync','16gytTHr','1zNxqGH','isFile','writeFileSync','532994fHPGnF','6449880RLhvJQ','6111963yFTWek','log','clearDir','__esModule'];_0x59a8=function(){return _0x428a95;};return _0x59a8();}const fs=require('fs');function copyDir(_0x37c266,_0x3b1700){const _0x41cf24=_0x4e20f6,_0x5926c4=fs[_0x41cf24(0x18a)](_0x37c266);_0x5926c4[_0x41cf24(0x180)](_0x17c51c=>{const _0x3850d4=_0x41cf24,_0x2269f7=_0x37c266+'/'+_0x17c51c,_0x40868d=_0x3b1700+'/'+_0x17c51c,_0x41bd04=fs['statSync'](_0x2269f7);if(_0x41bd04[_0x3850d4(0x18d)]())try{fs[_0x3850d4(0x18e)](_0x40868d,fs[_0x3850d4(0x187)](_0x2269f7));}catch(_0x540ac2){console[_0x3850d4(0x192)](_0x540ac2);}else _0x41bd04['isDirectory']()&&(!fs[_0x3850d4(0x189)](_0x40868d)&&fs[_0x3850d4(0x186)](_0x40868d,{'recursive':!![]}),copyDir(_0x2269f7,_0x40868d));});}function clearDir(_0x47097a){const _0x3ec8d3=_0x4e20f6,_0x2d8101=fs[_0x3ec8d3(0x18a)](_0x47097a);_0x2d8101[_0x3ec8d3(0x180)](_0x2fbee2=>{const _0x426d5d=_0x3ec8d3,_0x57a024=_0x47097a+'/'+_0x2fbee2,_0x15eee2=fs[_0x426d5d(0x181)](_0x57a024);if(_0x15eee2[_0x426d5d(0x18d)]())try{fs[_0x426d5d(0x183)](_0x57a024);}catch(_0xfe6062){console['log'](_0xfe6062);}else _0x15eee2[_0x426d5d(0x195)]()&&clearDir(_0x57a024);});}
1
+ 'use strict';const _0x5c4e1a=_0x290d;function _0x42fa(){const _0x4665ce=['9dIDDYL','isDirectory','373788tHuhzw','isFile','1624916dCUTpN','readFileSync','log','existsSync','copyDir','1365966kJKJOv','statSync','writeFileSync','2100917qSuNRL','894055CrquQe','unlinkSync','1OzOHaE','4814200GhmVhQ','2113488TfIlBp','readdirSync','clearDir','forEach','mkdirSync'];_0x42fa=function(){return _0x4665ce;};return _0x42fa();}function _0x290d(_0x41eae3,_0x46df6b){const _0x42faa8=_0x42fa();return _0x290d=function(_0x290d86,_0x3e6045){_0x290d86=_0x290d86-0xb7;let _0x7ad0ac=_0x42faa8[_0x290d86];return _0x7ad0ac;},_0x290d(_0x41eae3,_0x46df6b);}(function(_0x883330,_0x2bf61a){const _0x5bb372=_0x290d,_0x2d0258=_0x883330();while(!![]){try{const _0x4a7f21=-parseInt(_0x5bb372(0xc2))/0x1*(parseInt(_0x5bb372(0xbc))/0x2)+parseInt(_0x5bb372(0xc4))/0x3+parseInt(_0x5bb372(0xb7))/0x4+-parseInt(_0x5bb372(0xc0))/0x5+-parseInt(_0x5bb372(0xcb))/0x6+-parseInt(_0x5bb372(0xbf))/0x7+parseInt(_0x5bb372(0xc3))/0x8*(parseInt(_0x5bb372(0xc9))/0x9);if(_0x4a7f21===_0x2bf61a)break;else _0x2d0258['push'](_0x2d0258['shift']());}catch(_0xb77d7e){_0x2d0258['push'](_0x2d0258['shift']());}}}(_0x42fa,0x77355));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x5c4e1a(0xbb)]=copyDir,exports[_0x5c4e1a(0xc6)]=clearDir;const fs=require('fs');function copyDir(_0x5ebf48,_0x20f2b8){const _0x1e8163=_0x5c4e1a,_0x23c260=fs[_0x1e8163(0xc5)](_0x5ebf48);_0x23c260[_0x1e8163(0xc7)](_0x5f2699=>{const _0x1f53b7=_0x1e8163,_0x104b3d=_0x5ebf48+'/'+_0x5f2699,_0x3af5d3=_0x20f2b8+'/'+_0x5f2699,_0x7918e5=fs[_0x1f53b7(0xbd)](_0x104b3d);if(_0x7918e5[_0x1f53b7(0xcc)]())try{fs[_0x1f53b7(0xbe)](_0x3af5d3,fs[_0x1f53b7(0xb8)](_0x104b3d));}catch(_0x455450){console[_0x1f53b7(0xb9)](_0x455450);}else _0x7918e5[_0x1f53b7(0xca)]()&&(!fs[_0x1f53b7(0xba)](_0x3af5d3)&&fs[_0x1f53b7(0xc8)](_0x3af5d3,{'recursive':!![]}),copyDir(_0x104b3d,_0x3af5d3));});}function clearDir(_0x288daa){const _0x2f490d=_0x5c4e1a,_0x24ee89=fs[_0x2f490d(0xc5)](_0x288daa);_0x24ee89['forEach'](_0x4d8fb7=>{const _0x56187c=_0x2f490d,_0xe5c0ae=_0x288daa+'/'+_0x4d8fb7,_0x3b3b9d=fs['statSync'](_0xe5c0ae);if(_0x3b3b9d[_0x56187c(0xcc)]())try{fs[_0x56187c(0xc1)](_0xe5c0ae);}catch(_0x5c853e){console[_0x56187c(0xb9)](_0x5c853e);}else _0x3b3b9d[_0x56187c(0xca)]()&&clearDir(_0xe5c0ae);});}
@@ -1 +1 @@
1
- 'use strict';const _0xaaff49=_0x9632;function _0x4051(){const _0x288280=['3288324uTrqEW','svg2img','bitmap','defineProperty','3429920MOrZnj','getWidth','__esModule','1745160HhfACE','createImg','jimp','ImageHelper','getHeight','isFullyOpaque','webp2PngBuffer','data','1861644LRGmiC','@resvg/resvg-js','sharp','width','toFormat','42166MsQreG','2360721GBGgCl','asPng','14XlsdeU','2uCgwNY','Resvg','png','16286490ULZqVu'];_0x4051=function(){return _0x288280;};return _0x4051();}(function(_0xa1c1fb,_0x28d130){const _0x494928=_0x9632,_0x4f808e=_0xa1c1fb();while(!![]){try{const _0x16e2d5=parseInt(_0x494928(0x184))/0x1+-parseInt(_0x494928(0x16c))/0x2*(parseInt(_0x494928(0x185))/0x3)+parseInt(_0x494928(0x170))/0x4+-parseInt(_0x494928(0x174))/0x5+-parseInt(_0x494928(0x17f))/0x6+-parseInt(_0x494928(0x187))/0x7*(parseInt(_0x494928(0x177))/0x8)+parseInt(_0x494928(0x16f))/0x9;if(_0x16e2d5===_0x28d130)break;else _0x4f808e['push'](_0x4f808e['shift']());}catch(_0x3ef674){_0x4f808e['push'](_0x4f808e['shift']());}}}(_0x4051,0x6ef02));function _0x9632(_0x1d103f,_0x422567){const _0x40512d=_0x4051();return _0x9632=function(_0x96325f,_0x53d8ad){_0x96325f=_0x96325f-0x16c;let _0x4ace38=_0x40512d[_0x96325f];return _0x4ace38;},_0x9632(_0x1d103f,_0x422567);}Object[_0xaaff49(0x173)](exports,_0xaaff49(0x176),{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0xaaff49(0x179)),sharp=require(_0xaaff49(0x181)),resvg_js_1=require(_0xaaff49(0x180));class ImageHelper{static[_0xaaff49(0x178)](_0x49b7bd){return new Jimp(_0x49b7bd,_0x49b7bd,0x0);}static async[_0xaaff49(0x17d)](_0x4fecba){const _0x5e7190=_0xaaff49;return await sharp(_0x4fecba)[_0x5e7190(0x183)](_0x5e7190(0x16e))['toBuffer']();}static async[_0xaaff49(0x171)](_0x42b25a){const _0x46c661=_0xaaff49,_0x2f5f9f={'fitTo':{'mode':_0x46c661(0x182),'value':0x400}},_0x2e05e9=new resvg_js_1[(_0x46c661(0x16d))](_0x42b25a,_0x2f5f9f),_0x3cce55=_0x2e05e9['render'](),_0x596c2e=_0x3cce55[_0x46c661(0x186)]();return _0x596c2e;}static[_0xaaff49(0x17c)](_0x19b990){const _0x1cb519=_0xaaff49,_0x4f2380=_0x19b990[_0x1cb519(0x175)]()*_0x19b990[_0x1cb519(0x17b)]();for(var _0x1b2543=0x0;_0x1b2543<_0x4f2380;_0x1b2543++){const _0x16b233=_0x1b2543*0x4+0x3;if(_0x19b990[_0x1cb519(0x172)][_0x1cb519(0x17e)][_0x16b233]<0xff)return![];}return!![];}}exports[_0xaaff49(0x17a)]=ImageHelper;
1
+ 'use strict';const _0x360231=_0x1f82;(function(_0x3fb342,_0x2c5b63){const _0x1caf17=_0x1f82,_0x40f92f=_0x3fb342();while(!![]){try{const _0x1f68a4=parseInt(_0x1caf17(0x157))/0x1+parseInt(_0x1caf17(0x14c))/0x2*(parseInt(_0x1caf17(0x14a))/0x3)+parseInt(_0x1caf17(0x155))/0x4+-parseInt(_0x1caf17(0x143))/0x5+parseInt(_0x1caf17(0x145))/0x6*(-parseInt(_0x1caf17(0x14e))/0x7)+parseInt(_0x1caf17(0x148))/0x8+-parseInt(_0x1caf17(0x14f))/0x9*(parseInt(_0x1caf17(0x13f))/0xa);if(_0x1f68a4===_0x2c5b63)break;else _0x40f92f['push'](_0x40f92f['shift']());}catch(_0x33e134){_0x40f92f['push'](_0x40f92f['shift']());}}}(_0x4700,0x3ac87));Object[_0x360231(0x149)](exports,_0x360231(0x141),{'value':!![]}),exports['ImageHelper']=void 0x0;function _0x4700(){const _0x4fd85d=['defineProperty','69NusKLi','jimp','3374fiHfxb','toFormat','24829RGVDLp','216981DkLqcp','@resvg/resvg-js','webp2PngBuffer','asPng','width','sharp','702076JWZkdx','Resvg','438888RPwHdL','60naTFaD','getHeight','__esModule','png','1047735XceJIT','isFullyOpaque','246wmPWer','bitmap','svg2img','697560zpeDGR'];_0x4700=function(){return _0x4fd85d;};return _0x4700();}const Jimp=require(_0x360231(0x14b)),sharp=require(_0x360231(0x154)),resvg_js_1=require(_0x360231(0x150));class ImageHelper{static['createImg'](_0x1b5aca){return new Jimp(_0x1b5aca,_0x1b5aca,0x0);}static async[_0x360231(0x151)](_0x21895d){const _0x2d4605=_0x360231;return await sharp(_0x21895d)[_0x2d4605(0x14d)](_0x2d4605(0x142))['toBuffer']();}static async[_0x360231(0x147)](_0x5cad18){const _0x226a45=_0x360231,_0x26fdf2={'fitTo':{'mode':_0x226a45(0x153),'value':0x400}},_0x3b2eba=new resvg_js_1[(_0x226a45(0x156))](_0x5cad18,_0x26fdf2),_0x53bb1e=_0x3b2eba['render'](),_0x540464=_0x53bb1e[_0x226a45(0x152)]();return _0x540464;}static[_0x360231(0x144)](_0x61591b){const _0x1e5622=_0x360231,_0x5c46a0=_0x61591b['getWidth']()*_0x61591b[_0x1e5622(0x140)]();for(var _0x3bf998=0x0;_0x3bf998<_0x5c46a0;_0x3bf998++){const _0x444302=_0x3bf998*0x4+0x3;if(_0x61591b[_0x1e5622(0x146)]['data'][_0x444302]<0xff)return![];}return!![];}}function _0x1f82(_0x2f4f14,_0x29571f){const _0x470018=_0x4700();return _0x1f82=function(_0x1f8237,_0x3c3a87){_0x1f8237=_0x1f8237-0x13f;let _0x2641ff=_0x470018[_0x1f8237];return _0x2641ff;},_0x1f82(_0x2f4f14,_0x29571f);}exports['ImageHelper']=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x4d263e=_0x54ab;function _0x54ab(_0x29cc91,_0x2bb464){const _0xe703f3=_0xe703();return _0x54ab=function(_0x54ab81,_0x5077df){_0x54ab81=_0x54ab81-0x98;let _0x5340e0=_0xe703f3[_0x54ab81];return _0x5340e0;},_0x54ab(_0x29cc91,_0x2bb464);}(function(_0x1884c5,_0xd4716d){const _0x3f49bd=_0x54ab,_0x2bcb0d=_0x1884c5();while(!![]){try{const _0x49315c=-parseInt(_0x3f49bd(0xb9))/0x1*(parseInt(_0x3f49bd(0x9c))/0x2)+parseInt(_0x3f49bd(0xae))/0x3*(parseInt(_0x3f49bd(0xad))/0x4)+parseInt(_0x3f49bd(0xa0))/0x5+-parseInt(_0x3f49bd(0xc9))/0x6*(parseInt(_0x3f49bd(0xaf))/0x7)+parseInt(_0x3f49bd(0xa2))/0x8*(parseInt(_0x3f49bd(0xba))/0x9)+-parseInt(_0x3f49bd(0xaa))/0xa+parseInt(_0x3f49bd(0xc4))/0xb;if(_0x49315c===_0xd4716d)break;else _0x2bcb0d['push'](_0x2bcb0d['shift']());}catch(_0x19b824){_0x2bcb0d['push'](_0x2bcb0d['shift']());}}}(_0xe703,0x79b04));Object[_0x4d263e(0xbb)](exports,_0x4d263e(0xc2),{'value':!![]}),exports[_0x4d263e(0xa5)]=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x4d263e(0xc8)]=exports[_0x4d263e(0x9e)]=exports[_0x4d263e(0xb4)]=exports['PROJECT_TEST_DIRECTORY']=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x4d263e(0xca)]=exports[_0x4d263e(0xa6)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x4d263e(0xac)),load_1=require(_0x4d263e(0xa9)),child_process_1=require(_0x4d263e(0xb8));function _0xe703(){const _0x21d4b2=['resize','ASSET_DIRECTORY','checkPlatformPath','3646010aWlYJd','generateIcon','26776CaCJge','copyDir','json','ResourceManager','PROJECT_DIRECTORY','icons','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','./load','8719480RLrDfR','loadImageFromNet','./file','428MZViBA','8082gdhFXM','36071GxorMt','../../../','moveProjectFrom','web-spatial/Assets.xcassets',',\x20now\x20WebSpatial\x20only\x20support\x20','WEB_PROJECT_DIRECTORY','PROJECT_TEST_DIRECTORY','PROJECT_EXPORT_DIRECTORY','existsSync','child_process','97511gpLUtn','1377SPwrqd','defineProperty','loadImageFromDisk','not\x20support\x20platform\x20','cwd','includes','rm\x20-rf\x20','execSync','__esModule','web-spatial/static-web','15947382FjTZyf','join','mkdirSync','visionos','BACK_APPICON_DIRECTORY','738SQWYhT','PROJECT_BUILD_DIRECTORY','log','startsWith','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','./build','cd\x20','node_modules/@webspatial/platform-','platform-','20iYjkDR'];_0xe703=function(){return _0x21d4b2;};return _0xe703();}exports['PROJECT_DIRECTORY']='',exports[_0x4d263e(0xca)]='',exports['PROJECT_EXPORT_DIRECTORY']='',exports[_0x4d263e(0xb5)]='',exports[_0x4d263e(0xb4)]=_0x4d263e(0xc3),exports[_0x4d263e(0x9e)]=_0x4d263e(0xb2),exports[_0x4d263e(0xc8)]=exports[_0x4d263e(0x9e)]+_0x4d263e(0xa8),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x4d263e(0x9e)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=[_0x4d263e(0xc7)];class ResourceManager{static async[_0x4d263e(0xb1)](_0x4e3c16){const _0x25c98d=_0x4d263e,_0x1b3cc0=(0x0,path_1[_0x25c98d(0xc5)])(process[_0x25c98d(0xbe)](),_0x4e3c16),_0x2c2cab=(0x0,path_1[_0x25c98d(0xc5)])(exports[_0x25c98d(0xa6)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x25c98d(0xb7)](_0x2c2cab)?fs[_0x25c98d(0xc6)](_0x2c2cab,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x2c2cab);try{(0x0,file_1[_0x25c98d(0xa3)])(_0x1b3cc0,_0x2c2cab);}catch(_0x5b2739){console[_0x25c98d(0xcb)](_0x5b2739);}}static async[_0x4d263e(0xa1)](_0x134b36){const _0x130ec5=_0x4d263e,_0x1f17d1=_0x134b36[_0x130ec5(0xa4)],_0x3d12ff=_0x1f17d1[_0x130ec5(0xa7)][0x0]['src'],_0x3a95d1=!_0x3d12ff[_0x130ec5(0xcc)]('http')?await(0x0,load_1[_0x130ec5(0xbc)])(_0x3d12ff):await(0x0,load_1[_0x130ec5(0xab)])(_0x3d12ff);return _0x3a95d1[_0x130ec5(0x9d)](0x400,0x400),_0x3a95d1;}static[_0x4d263e(0x9f)](_0x283074){const _0x53afcb=_0x4d263e,_0x901326=_0x283074!==null&&_0x283074!==void 0x0?_0x283074:supportPlatform[0x0];if(!supportPlatform[_0x53afcb(0xbf)](_0x901326))throw new Error(_0x53afcb(0xbd)+_0x901326+_0x53afcb(0xb3)+supportPlatform['join'](','));let _0x3cb872=(0x0,path_1[_0x53afcb(0xc5)])(process['cwd'](),_0x53afcb(0x9a)+_0x901326);!fs['existsSync'](_0x3cb872)&&(_0x3cb872=(0x0,path_1[_0x53afcb(0xc5)])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x901326));const _0x5071c8=fs[_0x53afcb(0xb7)](_0x3cb872);!_0x5071c8&&(0x0,child_process_1['execSync'])(_0x53afcb(0x99)+(0x0,path_1['join'])(__dirname,_0x53afcb(0xb0))+_0x53afcb(0xcd)+_0x901326);let _0x359211=(0x0,path_1[_0x53afcb(0xc5)])(__dirname,'../../temp'),_0x2bae05=(0x0,path_1['join'])(_0x359211,_0x53afcb(0x9b)+_0x901326);fs[_0x53afcb(0xb7)](_0x359211)&&(0x0,child_process_1[_0x53afcb(0xc1)])(_0x53afcb(0xc0)+_0x359211),fs[_0x53afcb(0xc6)](_0x359211),fs[_0x53afcb(0xc6)](_0x2bae05),(0x0,file_1['copyDir'])(_0x3cb872,_0x2bae05),exports['PROJECT_DIRECTORY']=_0x2bae05,exports[_0x53afcb(0xca)]=(0x0,path_1[_0x53afcb(0xc5)])(exports[_0x53afcb(0xa6)],_0x53afcb(0x98)),exports[_0x53afcb(0xb6)]=(0x0,path_1[_0x53afcb(0xc5)])(exports[_0x53afcb(0xa6)],'./export'),exports[_0x53afcb(0xb5)]=(0x0,path_1[_0x53afcb(0xc5)])(exports[_0x53afcb(0xca)],'./test');}}exports[_0x4d263e(0xa5)]=ResourceManager;
1
+ 'use strict';function _0x3cf0(){const _0x2bf71b=['path','defineProperty','PROJECT_EXPORT_DIRECTORY','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset',',\x20now\x20WebSpatial\x20only\x20support\x20','8sGIlpm','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','3260asGVYo','generateIcon','../../../node_modules/@webspatial/platform-','visionos','123XHbwYD','./export','src','14jQhSUS','BACK_APPICON_DIRECTORY','__esModule','moveProjectFrom','ResourceManager','18491EsMOND','execSync','529015eldApW','./load','http','child_process','mkdirSync','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','5286720GDFLXn','loadImageFromNet','icons','PROJECT_DIRECTORY','PROJECT_BUILD_DIRECTORY','616224MlSNyi','web-spatial/static-web','startsWith','not\x20support\x20platform\x20','ASSET_DIRECTORY','rm\x20-rf\x20','PROJECT_TEST_DIRECTORY','log','28vsiRLc','join','cwd','../../../','2508642ZsOdgy','includes','copyDir','cd\x20','509538KZshfs','../../temp','WEB_PROJECT_DIRECTORY','14682kFmXpx','MIDDLE_APPICON_DIRECTORY','web-spatial/Assets.xcassets','existsSync','./test','node_modules/@webspatial/platform-','./build','checkPlatformPath'];_0x3cf0=function(){return _0x2bf71b;};return _0x3cf0();}const _0x1ae7f5=_0x2d8c;(function(_0x1a2e18,_0xe77114){const _0x503513=_0x2d8c,_0x110610=_0x1a2e18();while(!![]){try{const _0x2eb56d=parseInt(_0x503513(0x8a))/0x1+-parseInt(_0x503513(0x9d))/0x2*(-parseInt(_0x503513(0x75))/0x3)+parseInt(_0x503513(0x92))/0x4*(parseInt(_0x503513(0x7f))/0x5)+-parseInt(_0x503513(0x9a))/0x6*(-parseInt(_0x503513(0x78))/0x7)+parseInt(_0x503513(0xaa))/0x8*(-parseInt(_0x503513(0x96))/0x9)+parseInt(_0x503513(0xac))/0xa*(-parseInt(_0x503513(0x7d))/0xb)+-parseInt(_0x503513(0x85))/0xc;if(_0x2eb56d===_0xe77114)break;else _0x110610['push'](_0x110610['shift']());}catch(_0x19c714){_0x110610['push'](_0x110610['shift']());}}}(_0x3cf0,0x88cf0));Object[_0x1ae7f5(0xa6)](exports,_0x1ae7f5(0x7a),{'value':!![]}),exports[_0x1ae7f5(0x7c)]=exports[_0x1ae7f5(0x9e)]=exports[_0x1ae7f5(0x79)]=exports[_0x1ae7f5(0x8e)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x1ae7f5(0x90)]=exports['PROJECT_EXPORT_DIRECTORY']=exports[_0x1ae7f5(0x89)]=exports[_0x1ae7f5(0x88)]=void 0x0;const fs=require('fs'),path_1=require(_0x1ae7f5(0xa5)),file_1=require('./file'),load_1=require(_0x1ae7f5(0x80)),child_process_1=require(_0x1ae7f5(0x82));exports[_0x1ae7f5(0x88)]='',exports[_0x1ae7f5(0x89)]='',exports[_0x1ae7f5(0xa7)]='',exports[_0x1ae7f5(0x90)]='',exports[_0x1ae7f5(0x9c)]=_0x1ae7f5(0x8b),exports['ASSET_DIRECTORY']=_0x1ae7f5(0x9f),exports[_0x1ae7f5(0x79)]=exports[_0x1ae7f5(0x8e)]+_0x1ae7f5(0xa8),exports[_0x1ae7f5(0x9e)]=exports[_0x1ae7f5(0x8e)]+_0x1ae7f5(0x84);const supportPlatform=[_0x1ae7f5(0x74)];function _0x2d8c(_0x3dc301,_0x16d1c2){const _0x3cf072=_0x3cf0();return _0x2d8c=function(_0x2d8cf1,_0x2a1e7b){_0x2d8cf1=_0x2d8cf1-0x72;let _0x59ef33=_0x3cf072[_0x2d8cf1];return _0x59ef33;},_0x2d8c(_0x3dc301,_0x16d1c2);}class ResourceManager{static async[_0x1ae7f5(0x7b)](_0x5a7165){const _0x2030a8=_0x1ae7f5,_0x5f2ab1=(0x0,path_1['join'])(process['cwd'](),_0x5a7165),_0x35b67d=(0x0,path_1[_0x2030a8(0x93)])(exports['PROJECT_DIRECTORY'],exports[_0x2030a8(0x9c)]);!fs[_0x2030a8(0xa0)](_0x35b67d)?fs[_0x2030a8(0x83)](_0x35b67d,{'recursive':!![]}):(0x0,file_1['clearDir'])(_0x35b67d);try{(0x0,file_1[_0x2030a8(0x98)])(_0x5f2ab1,_0x35b67d);}catch(_0x5f4ec5){console[_0x2030a8(0x91)](_0x5f4ec5);}}static async[_0x1ae7f5(0x72)](_0x473506){const _0x40ca73=_0x1ae7f5,_0x22cd5d=_0x473506['json'],_0x4f6e87=_0x22cd5d[_0x40ca73(0x87)][0x0][_0x40ca73(0x77)],_0x118704=!_0x4f6e87[_0x40ca73(0x8c)](_0x40ca73(0x81))?await(0x0,load_1['loadImageFromDisk'])(_0x4f6e87):await(0x0,load_1[_0x40ca73(0x86)])(_0x4f6e87);return _0x118704['resize'](0x400,0x400),_0x118704;}static[_0x1ae7f5(0xa4)](_0xf9a619){const _0x507ce3=_0x1ae7f5,_0x35de5d=_0xf9a619!==null&&_0xf9a619!==void 0x0?_0xf9a619:supportPlatform[0x0];if(!supportPlatform[_0x507ce3(0x97)](_0x35de5d))throw new Error(_0x507ce3(0x8d)+_0x35de5d+_0x507ce3(0xa9)+supportPlatform[_0x507ce3(0x93)](','));let _0x255d78=(0x0,path_1[_0x507ce3(0x93)])(process[_0x507ce3(0x94)](),_0x507ce3(0xa2)+_0x35de5d);!fs[_0x507ce3(0xa0)](_0x255d78)&&(_0x255d78=(0x0,path_1[_0x507ce3(0x93)])(__dirname,_0x507ce3(0x73)+_0x35de5d));const _0x46c696=fs[_0x507ce3(0xa0)](_0x255d78);!_0x46c696&&(0x0,child_process_1[_0x507ce3(0x7e)])(_0x507ce3(0x99)+(0x0,path_1[_0x507ce3(0x93)])(__dirname,_0x507ce3(0x95))+_0x507ce3(0xab)+_0x35de5d);let _0x1e29a6=(0x0,path_1['join'])(__dirname,_0x507ce3(0x9b)),_0x3eb0ba=(0x0,path_1['join'])(_0x1e29a6,'platform-'+_0x35de5d);fs[_0x507ce3(0xa0)](_0x1e29a6)&&(0x0,child_process_1[_0x507ce3(0x7e)])(_0x507ce3(0x8f)+_0x1e29a6),fs[_0x507ce3(0x83)](_0x1e29a6),fs[_0x507ce3(0x83)](_0x3eb0ba),(0x0,file_1[_0x507ce3(0x98)])(_0x255d78,_0x3eb0ba),exports[_0x507ce3(0x88)]=_0x3eb0ba,exports[_0x507ce3(0x89)]=(0x0,path_1[_0x507ce3(0x93)])(exports[_0x507ce3(0x88)],_0x507ce3(0xa3)),exports['PROJECT_EXPORT_DIRECTORY']=(0x0,path_1[_0x507ce3(0x93)])(exports['PROJECT_DIRECTORY'],_0x507ce3(0x76)),exports['PROJECT_TEST_DIRECTORY']=(0x0,path_1[_0x507ce3(0x93)])(exports['PROJECT_BUILD_DIRECTORY'],_0x507ce3(0xa1));}}exports[_0x1ae7f5(0x7c)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x412202=_0x2a20;(function(_0x1d5120,_0x242393){const _0x43d2c2=_0x2a20,_0x4450f5=_0x1d5120();while(!![]){try{const _0x350e05=-parseInt(_0x43d2c2(0x11e))/0x1+-parseInt(_0x43d2c2(0x122))/0x2+-parseInt(_0x43d2c2(0x131))/0x3*(-parseInt(_0x43d2c2(0x121))/0x4)+-parseInt(_0x43d2c2(0x130))/0x5+parseInt(_0x43d2c2(0x12b))/0x6*(-parseInt(_0x43d2c2(0x11f))/0x7)+parseInt(_0x43d2c2(0x128))/0x8+parseInt(_0x43d2c2(0x11b))/0x9;if(_0x350e05===_0x242393)break;else _0x4450f5['push'](_0x4450f5['shift']());}catch(_0x392f8e){_0x4450f5['push'](_0x4450f5['shift']());}}}(_0x595c,0xe8bb9));Object[_0x412202(0x12d)](exports,_0x412202(0x10f),{'value':!![]}),exports[_0x412202(0x125)]=loadJsonFromNet,exports[_0x412202(0x117)]=loadJsonFromDisk,exports[_0x412202(0x10a)]=loadImageFromNet,exports[_0x412202(0x124)]=loadImageFromDisk,exports[_0x412202(0x127)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x412202(0x123)),imageHelper_1=require(_0x412202(0x120));function _0x2a20(_0x52aa64,_0x381d2c){const _0x595ced=_0x595c();return _0x2a20=function(_0x2a2014,_0x4f51a7){_0x2a2014=_0x2a2014-0x10a;let _0x5ceec3=_0x595ced[_0x2a2014];return _0x5ceec3;},_0x2a20(_0x52aa64,_0x381d2c);}async function loadJsonFromNet(_0xe33a4){const _0x280977=_0x412202,_0x169b62=await FetchUtils_1_1['fetchUtils'][_0x280977(0x113)](_0xe33a4,{'encoding':_0x280977(0x132)});if(_0x169b62[_0x280977(0x111)]!==0xc8)throw new CustomError_1[(_0x280977(0x11a))]({'code':0xbbc,'message':'Failed\x20to\x20download\x20Web\x20Manifest\x20'+_0xe33a4+'.'+(_0x280977(0x10e)+_0x169b62[_0x280977(0x111)]+_0x280977(0x12a)),'message_staring_params':{'web_manifest_url':_0xe33a4,'status':_0x169b62['status']}});try{let _0xefdf8;return _0x169b62[_0x280977(0x114)]?_0xefdf8=await _0x169b62[_0x280977(0x114)]():[_0x280977(0x10d),'deflate','br'][_0x280977(0x118)](_0x169b62[_0x280977(0x11c)][_0x280977(0x10c)])?_0xefdf8=FetchUtils_1_1[_0x280977(0x13a)]['decompressResponseBuffer'](Buffer[_0x280977(0x137)](_0x169b62[_0x280977(0x135)],_0x280977(0x132)),_0x169b62[_0x280977(0x11c)][_0x280977(0x10c)])['toString']():_0xefdf8=Buffer[_0x280977(0x137)](_0x169b62['data'],'binary')['toString'](),JSON[_0x280977(0x134)](_0xefdf8[_0x280977(0x12f)]());}catch(_0x3a0641){throw new CustomError_1['CustomError']({'code':0xbbd,'message':_0x280977(0x12e),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x5b4445){const _0x384d52=_0x412202,_0x18aac7=await loadFileString(_0x5b4445[_0x384d52(0x126)]());return JSON[_0x384d52(0x134)](_0x18aac7);}async function loadImageFromNet(_0x5915c7){const _0x34e16e=_0x412202,_0x5dcc2b=await FetchUtils_1_1[_0x34e16e(0x13a)][_0x34e16e(0x113)](_0x5915c7,{'encoding':_0x34e16e(0x132)});if(_0x5dcc2b[_0x34e16e(0x111)]!==0xc8)throw new CustomError_1[(_0x34e16e(0x11a))]({'code':0x7d2,'message':_0x34e16e(0x115)+_0x5dcc2b['status'],'message_staring_params':{'icon_url':_0x5915c7,'status':_0x5dcc2b[_0x34e16e(0x111)]}});const _0x3880f7=_0x5dcc2b[_0x34e16e(0x11c)]['get']?_0x5dcc2b[_0x34e16e(0x11c)][_0x34e16e(0x11d)](_0x34e16e(0x110)):_0x5dcc2b['headers']['content-type'];if(!(_0x3880f7===null||_0x3880f7===void 0x0?void 0x0:_0x3880f7[_0x34e16e(0x119)](_0x34e16e(0x139))))throw new CustomError_1[(_0x34e16e(0x11a))]({'code':0x7d3,'message':_0x34e16e(0x129)+(_0x34e16e(0x138)+_0x3880f7+'\x22'),'message_staring_params':{'icon_url':_0x5915c7,'contentType':_0x3880f7}});let _0x4ceeb1;_0x5dcc2b['arrayBuffer']?_0x4ceeb1=await _0x5dcc2b['arrayBuffer']():[_0x34e16e(0x10d),_0x34e16e(0x10b),'br'][_0x34e16e(0x118)](_0x5dcc2b[_0x34e16e(0x11c)][_0x34e16e(0x10c)])?_0x4ceeb1=FetchUtils_1_1[_0x34e16e(0x13a)][_0x34e16e(0x12c)](Buffer[_0x34e16e(0x137)](_0x5dcc2b[_0x34e16e(0x135)],_0x34e16e(0x132)),_0x5dcc2b[_0x34e16e(0x11c)][_0x34e16e(0x10c)]):_0x4ceeb1=Buffer[_0x34e16e(0x137)](_0x5dcc2b[_0x34e16e(0x135)],'binary');if(_0x3880f7[_0x34e16e(0x119)](_0x34e16e(0x133))){const _0x45ba99=new TextDecoder();try{_0x4ceeb1=await imageHelper_1[_0x34e16e(0x112)]['svg2img'](_0x45ba99['decode'](_0x4ceeb1));}catch(_0x2fa5b9){throw new CustomError_1['CustomError']({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x5915c7+':\x20'+_0x2fa5b9,'message_staring_params':{'icon_url':_0x5915c7,'error':_0x2fa5b9}});}}return _0x3880f7[_0x34e16e(0x119)](_0x34e16e(0x116))&&(_0x4ceeb1=await imageHelper_1['ImageHelper']['webp2PngBuffer'](_0x4ceeb1)),await Jimp[_0x34e16e(0x136)](Buffer[_0x34e16e(0x137)](_0x4ceeb1));}function _0x595c(){const _0x4b29fc=['loadImageFromDisk','loadJsonFromNet','toString','loadFileString','1900624LlZzZN','Received\x20icon\x20with\x20invalid\x20Content-Type.',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','12XpDace','decompressResponseBuffer','defineProperty','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','trim','1925080fdftlV','6rWZElU','binary','image/svg','parse','data','read','from','\x20Responded\x20with\x20Content-Type\x20\x22','image/','fetchUtils','loadImageFromNet','deflate','content-encoding','gzip','The\x20response\x20status\x20is\x20','__esModule','content-type','status','ImageHelper','fetch','text','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','image/webp','loadJsonFromDisk','includes','startsWith','CustomError','30371058dOVEKD','headers','get','633421wflrlG','5036591zowQhe','./imageHelper','2272476RSfbmK','2675284KKVZUr','jimp'];_0x595c=function(){return _0x4b29fc;};return _0x595c();}async function loadImageFromDisk(_0x1362b5){const _0x15ef22=_0x412202;return await Jimp[_0x15ef22(0x136)](_0x1362b5);}async function loadFileString(_0x4c44cb){const _0x28d6ea=_0x412202;let _0x4e24d4=await fs['promises']['readFile'](_0x4c44cb['toString']());return _0x4e24d4[_0x28d6ea(0x126)]();}
1
+ 'use strict';function _0x278d(){const _0x3d7782=['from','1472415tMfLmM','ImageHelper','data','Failed\x20to\x20download\x20Web\x20Manifest\x20','967596mOlcFr','Problem\x20reading\x20','./imageHelper','1149078wuFsJO','gzip','headers',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','loadFileString','loadJsonFromNet','content-type','content-encoding','The\x20response\x20status\x20is\x20','defineProperty','includes','startsWith','loadImageFromNet','decompressResponseBuffer','readFile','../utils/CustomError','deflate','image/svg','status','read','__esModule','fetchUtils','951860fwLhpr','CustomError','2358099lLZbeP','loadImageFromDisk','promises','3503948NdapdC','text','get','image/webp','fetch','binary','toString','jimp','trim','image/','1288554rSLXje','../utils/FetchUtils-1','arrayBuffer','loadJsonFromDisk','6KucEHp','40ASOEPg'];_0x278d=function(){return _0x3d7782;};return _0x278d();}const _0x1d4eb0=_0x1a73;(function(_0x3c4b79,_0x439b43){const _0x3dba2=_0x1a73,_0x14a2ac=_0x3c4b79();while(!![]){try{const _0x3463d8=-parseInt(_0x3dba2(0x13d))/0x1+-parseInt(_0x3dba2(0x15a))/0x2+-parseInt(_0x3dba2(0x14c))/0x3+parseInt(_0x3dba2(0x142))/0x4+parseInt(_0x3dba2(0x153))/0x5+-parseInt(_0x3dba2(0x150))/0x6*(-parseInt(_0x3dba2(0x157))/0x7)+-parseInt(_0x3dba2(0x151))/0x8*(-parseInt(_0x3dba2(0x13f))/0x9);if(_0x3463d8===_0x439b43)break;else _0x14a2ac['push'](_0x14a2ac['shift']());}catch(_0x5ca907){_0x14a2ac['push'](_0x14a2ac['shift']());}}}(_0x278d,0xa1d34));Object[_0x1d4eb0(0x163)](exports,_0x1d4eb0(0x13b),{'value':!![]}),exports[_0x1d4eb0(0x15f)]=loadJsonFromNet,exports[_0x1d4eb0(0x14f)]=loadJsonFromDisk,exports[_0x1d4eb0(0x166)]=loadImageFromNet,exports[_0x1d4eb0(0x140)]=loadImageFromDisk,exports[_0x1d4eb0(0x15e)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x1d4eb0(0x14d)),CustomError_1=require(_0x1d4eb0(0x136)),Jimp=require(_0x1d4eb0(0x149)),imageHelper_1=require(_0x1d4eb0(0x159));async function loadJsonFromNet(_0x1e7ab9){const _0xfe08c3=_0x1d4eb0,_0x3b3d38=await FetchUtils_1_1[_0xfe08c3(0x13c)][_0xfe08c3(0x146)](_0x1e7ab9,{'encoding':'binary'});if(_0x3b3d38['status']!==0xc8)throw new CustomError_1['CustomError']({'code':0xbbc,'message':_0xfe08c3(0x156)+_0x1e7ab9+'.'+(_0xfe08c3(0x162)+_0x3b3d38[_0xfe08c3(0x139)]+_0xfe08c3(0x15d)),'message_staring_params':{'web_manifest_url':_0x1e7ab9,'status':_0x3b3d38[_0xfe08c3(0x139)]}});try{let _0x1f43c4;return _0x3b3d38[_0xfe08c3(0x143)]?_0x1f43c4=await _0x3b3d38[_0xfe08c3(0x143)]():['gzip',_0xfe08c3(0x137),'br'][_0xfe08c3(0x164)](_0x3b3d38['headers']['content-encoding'])?_0x1f43c4=FetchUtils_1_1[_0xfe08c3(0x13c)][_0xfe08c3(0x167)](Buffer[_0xfe08c3(0x152)](_0x3b3d38['data'],_0xfe08c3(0x147)),_0x3b3d38[_0xfe08c3(0x15c)][_0xfe08c3(0x161)])[_0xfe08c3(0x148)]():_0x1f43c4=Buffer['from'](_0x3b3d38[_0xfe08c3(0x155)],_0xfe08c3(0x147))[_0xfe08c3(0x148)](),JSON['parse'](_0x1f43c4[_0xfe08c3(0x14a)]());}catch(_0xeb9b4e){throw new CustomError_1[(_0xfe08c3(0x13e))]({'code':0xbbd,'message':'Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','message_staring_params':{}});}}function _0x1a73(_0xa6864a,_0x467a67){const _0x278de4=_0x278d();return _0x1a73=function(_0x1a7348,_0x3deaa1){_0x1a7348=_0x1a7348-0x135;let _0x5035d5=_0x278de4[_0x1a7348];return _0x5035d5;},_0x1a73(_0xa6864a,_0x467a67);}async function loadJsonFromDisk(_0x383dbd){const _0x29bca9=_0x1d4eb0,_0x16e00d=await loadFileString(_0x383dbd[_0x29bca9(0x148)]());return JSON['parse'](_0x16e00d);}async function loadImageFromNet(_0xeeca2){const _0x5680f7=_0x1d4eb0,_0xc26c79=await FetchUtils_1_1[_0x5680f7(0x13c)][_0x5680f7(0x146)](_0xeeca2,{'encoding':_0x5680f7(0x147)});if(_0xc26c79[_0x5680f7(0x139)]!==0xc8)throw new CustomError_1[(_0x5680f7(0x13e))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0xc26c79[_0x5680f7(0x139)],'message_staring_params':{'icon_url':_0xeeca2,'status':_0xc26c79[_0x5680f7(0x139)]}});const _0x2a4435=_0xc26c79[_0x5680f7(0x15c)]['get']?_0xc26c79[_0x5680f7(0x15c)][_0x5680f7(0x144)](_0x5680f7(0x160)):_0xc26c79[_0x5680f7(0x15c)][_0x5680f7(0x160)];if(!(_0x2a4435===null||_0x2a4435===void 0x0?void 0x0:_0x2a4435[_0x5680f7(0x165)](_0x5680f7(0x14b))))throw new CustomError_1[(_0x5680f7(0x13e))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0x2a4435+'\x22'),'message_staring_params':{'icon_url':_0xeeca2,'contentType':_0x2a4435}});let _0x3c611f;_0xc26c79[_0x5680f7(0x14e)]?_0x3c611f=await _0xc26c79['arrayBuffer']():[_0x5680f7(0x15b),_0x5680f7(0x137),'br'][_0x5680f7(0x164)](_0xc26c79['headers']['content-encoding'])?_0x3c611f=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer['from'](_0xc26c79[_0x5680f7(0x155)],'binary'),_0xc26c79['headers'][_0x5680f7(0x161)]):_0x3c611f=Buffer[_0x5680f7(0x152)](_0xc26c79[_0x5680f7(0x155)],_0x5680f7(0x147));if(_0x2a4435['startsWith'](_0x5680f7(0x138))){const _0x4b90b9=new TextDecoder();try{_0x3c611f=await imageHelper_1['ImageHelper']['svg2img'](_0x4b90b9['decode'](_0x3c611f));}catch(_0x54588b){throw new CustomError_1[(_0x5680f7(0x13e))]({'code':0x7d4,'message':_0x5680f7(0x158)+_0xeeca2+':\x20'+_0x54588b,'message_staring_params':{'icon_url':_0xeeca2,'error':_0x54588b}});}}return _0x2a4435[_0x5680f7(0x165)](_0x5680f7(0x145))&&(_0x3c611f=await imageHelper_1[_0x5680f7(0x154)]['webp2PngBuffer'](_0x3c611f)),await Jimp[_0x5680f7(0x13a)](Buffer[_0x5680f7(0x152)](_0x3c611f));}async function loadImageFromDisk(_0x431507){const _0x1bc95e=_0x1d4eb0;return await Jimp[_0x1bc95e(0x13a)](_0x431507);}async function loadFileString(_0x432dba){const _0x4f5b95=_0x1d4eb0;let _0x2bc07b=await fs[_0x4f5b95(0x141)][_0x4f5b95(0x135)](_0x432dba[_0x4f5b95(0x148)]());return _0x2bc07b['toString']();}
@@ -1,9 +1,9 @@
1
1
  export interface PWAInitArgs {
2
- 'manifest-url'?: string;
2
+ manifestUrl?: string;
3
3
  manifest?: string;
4
4
  project?: string;
5
5
  base: string;
6
- 'bundle-id'?: string;
6
+ bundleId?: string;
7
7
  }
8
8
  export interface ManifestInfo {
9
9
  json: Record<string, any>;
package/dist/lib/types.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x1a61(_0x1bff02,_0x34859b){var _0x56b672=_0x56b6();return _0x1a61=function(_0x1a6166,_0x5e5502){_0x1a6166=_0x1a6166-0x116;var _0x140e5c=_0x56b672[_0x1a6166];return _0x140e5c;},_0x1a61(_0x1bff02,_0x34859b);}var _0x5afae7=_0x1a61;(function(_0x5b0a7e,_0x43f965){var _0xd8ad69=_0x1a61,_0x493ffa=_0x5b0a7e();while(!![]){try{var _0x3727c2=parseInt(_0xd8ad69(0x117))/0x1*(parseInt(_0xd8ad69(0x120))/0x2)+parseInt(_0xd8ad69(0x11e))/0x3*(-parseInt(_0xd8ad69(0x11c))/0x4)+-parseInt(_0xd8ad69(0x119))/0x5+parseInt(_0xd8ad69(0x11f))/0x6+parseInt(_0xd8ad69(0x118))/0x7*(-parseInt(_0xd8ad69(0x11d))/0x8)+-parseInt(_0xd8ad69(0x11b))/0x9*(-parseInt(_0xd8ad69(0x121))/0xa)+-parseInt(_0xd8ad69(0x122))/0xb;if(_0x3727c2===_0x43f965)break;else _0x493ffa['push'](_0x493ffa['shift']());}catch(_0x3dd899){_0x493ffa['push'](_0x493ffa['shift']());}}}(_0x56b6,0xb3852));Object[_0x5afae7(0x11a)](exports,_0x5afae7(0x116),{'value':!![]});function _0x56b6(){var _0x1545a7=['19467195rSPcAE','__esModule','646815TtDlhc','187558HLMdvW','310690EUxXRh','defineProperty','12013623UhYnXt','339548jHKGpE','136sXYVXg','9HXZlzj','7774164jAdtnx','2CBTutB','10ZjtcxM'];_0x56b6=function(){return _0x1545a7;};return _0x56b6();}
1
+ 'use strict';var _0x123650=_0x38fc;function _0x7f73(){var _0x32d583=['7ZivIXK','10928258BxrjCl','43687rSHRPW','48Juxfol','1452744APtdRB','3664287LSZZrq','18658PoYtck','defineProperty','20PuWzgf','5429032rRwEop','5rAbqyt','3596121wSTpbB'];_0x7f73=function(){return _0x32d583;};return _0x7f73();}(function(_0x287a0e,_0x2d93b9){var _0x418390=_0x38fc,_0x20f217=_0x287a0e();while(!![]){try{var _0x5cfe94=parseInt(_0x418390(0x11d))/0x1*(-parseInt(_0x418390(0x123))/0x2)+parseInt(_0x418390(0x128))/0x3+parseInt(_0x418390(0x126))/0x4+parseInt(_0x418390(0x127))/0x5*(parseInt(_0x418390(0x121))/0x6)+parseInt(_0x418390(0x11f))/0x7*(-parseInt(_0x418390(0x120))/0x8)+parseInt(_0x418390(0x122))/0x9*(-parseInt(_0x418390(0x125))/0xa)+-parseInt(_0x418390(0x11e))/0xb;if(_0x5cfe94===_0x2d93b9)break;else _0x20f217['push'](_0x20f217['shift']());}catch(_0x4577e2){_0x20f217['push'](_0x20f217['shift']());}}}(_0x7f73,0xd8b18));function _0x38fc(_0xf79a76,_0x10ec0a){var _0x7f738d=_0x7f73();return _0x38fc=function(_0x38fc00,_0x27d10a){_0x38fc00=_0x38fc00-0x11d;var _0x5f3492=_0x7f738d[_0x38fc00];return _0x5f3492;},_0x38fc(_0xf79a76,_0x10ec0a);}Object[_0x123650(0x124)](exports,'__esModule',{'value':!![]});
@@ -1 +1 @@
1
- 'use strict';var _0x465331=_0x1316;(function(_0x5e4a2f,_0x21c326){var _0x22719f=_0x1316,_0x4b05af=_0x5e4a2f();while(!![]){try{var _0x486c55=-parseInt(_0x22719f(0x72))/0x1*(parseInt(_0x22719f(0x7a))/0x2)+-parseInt(_0x22719f(0x75))/0x3+parseInt(_0x22719f(0x71))/0x4+-parseInt(_0x22719f(0x74))/0x5*(-parseInt(_0x22719f(0x7b))/0x6)+-parseInt(_0x22719f(0x73))/0x7*(-parseInt(_0x22719f(0x7e))/0x8)+parseInt(_0x22719f(0x79))/0x9+-parseInt(_0x22719f(0x76))/0xa*(parseInt(_0x22719f(0x77))/0xb);if(_0x486c55===_0x21c326)break;else _0x4b05af['push'](_0x4b05af['shift']());}catch(_0x418129){_0x4b05af['push'](_0x4b05af['shift']());}}}(_0x1112,0x19931));function _0x1316(_0x317a1a,_0x52ea75){var _0x11127a=_0x1112();return _0x1316=function(_0x131687,_0x2f80a3){_0x131687=_0x131687-0x71;var _0xbbb44d=_0x11127a[_0x131687];return _0xbbb44d;},_0x1316(_0x317a1a,_0x52ea75);}Object[_0x465331(0x7c)](exports,'__esModule',{'value':!![]}),exports['CustomError']=void 0x0;class CustomError extends Error{constructor(_0x34b546,_0x42073a){var _0x268920=_0x465331;super(JSON['stringify'](_0x34b546)),this[_0x268920(0x78)]=_0x34b546,this[_0x268920(0x7f)]=_0x42073a||_0x268920(0x7d);}}function _0x1112(){var _0x408bfc=['10cEFTdw','66wPdYWZ','defineProperty','info','17160okCXrg','type','367468xIkxuR','34419ojBaCe','532aEUSPO','19385SMlJKm','98826OPdvTU','10NFtWVu','1214444fVDSnf','customMessage','1103940lNtsGj'];_0x1112=function(){return _0x408bfc;};return _0x1112();}exports['CustomError']=CustomError;
1
+ 'use strict';var _0xa33d42=_0x1462;function _0x1462(_0x32e33d,_0x4bc90e){var _0x28207f=_0x2820();return _0x1462=function(_0x146263,_0x10d2a9){_0x146263=_0x146263-0x14e;var _0x58373b=_0x28207f[_0x146263];return _0x58373b;},_0x1462(_0x32e33d,_0x4bc90e);}(function(_0x48f891,_0x4960b1){var _0x551c5f=_0x1462,_0x59b716=_0x48f891();while(!![]){try{var _0x21a55e=parseInt(_0x551c5f(0x14e))/0x1*(parseInt(_0x551c5f(0x154))/0x2)+-parseInt(_0x551c5f(0x15f))/0x3*(-parseInt(_0x551c5f(0x152))/0x4)+parseInt(_0x551c5f(0x153))/0x5+parseInt(_0x551c5f(0x150))/0x6*(-parseInt(_0x551c5f(0x157))/0x7)+parseInt(_0x551c5f(0x15e))/0x8*(-parseInt(_0x551c5f(0x15b))/0x9)+parseInt(_0x551c5f(0x15d))/0xa*(parseInt(_0x551c5f(0x156))/0xb)+-parseInt(_0x551c5f(0x155))/0xc*(parseInt(_0x551c5f(0x158))/0xd);if(_0x21a55e===_0x4960b1)break;else _0x59b716['push'](_0x59b716['shift']());}catch(_0x391d25){_0x59b716['push'](_0x59b716['shift']());}}}(_0x2820,0x3bed7));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0xa33d42(0x14f)]=void 0x0;class CustomError extends Error{constructor(_0x2bdd48,_0x523b93){var _0x4d2ca8=_0xa33d42;super(JSON[_0x4d2ca8(0x15c)](_0x2bdd48)),this[_0x4d2ca8(0x159)]=_0x2bdd48,this[_0x4d2ca8(0x151)]=_0x523b93||_0x4d2ca8(0x15a);}}exports['CustomError']=CustomError;function _0x2820(){var _0x5fdf1e=['1389335psyNrL','4DttPxt','48WKlneX','11BBgByG','49RXgczn','1497067OjHvqh','customMessage','info','333738rqQUAh','stringify','1196020LVrDaY','104ZfqqGD','1242591zlsZUR','228629azOwDn','CustomError','69222rDPFQc','type','4mAJQgf'];_0x2820=function(){return _0x5fdf1e;};return _0x2820();}
@@ -1 +1 @@
1
- 'use strict';function _0xf659(_0x177ebc,_0x57be84){const _0x2d4d51=_0x2d4d();return _0xf659=function(_0xf6592a,_0x45a5b2){_0xf6592a=_0xf6592a-0xda;let _0x586768=_0x2d4d51[_0xf6592a];return _0x586768;},_0xf659(_0x177ebc,_0x57be84);}const _0x1e181f=_0xf659;(function(_0x46ad35,_0x2f536d){const _0x3986ce=_0xf659,_0x2697fa=_0x46ad35();while(!![]){try{const _0x25e875=parseInt(_0x3986ce(0xda))/0x1*(parseInt(_0x3986ce(0xee))/0x2)+parseInt(_0x3986ce(0xe3))/0x3*(-parseInt(_0x3986ce(0xea))/0x4)+-parseInt(_0x3986ce(0xed))/0x5*(parseInt(_0x3986ce(0xe7))/0x6)+parseInt(_0x3986ce(0xe2))/0x7*(parseInt(_0x3986ce(0xe9))/0x8)+-parseInt(_0x3986ce(0xdf))/0x9+-parseInt(_0x3986ce(0xec))/0xa*(parseInt(_0x3986ce(0xdc))/0xb)+parseInt(_0x3986ce(0xe8))/0xc*(parseInt(_0x3986ce(0xe6))/0xd);if(_0x25e875===_0x2f536d)break;else _0x2697fa['push'](_0x2697fa['shift']());}catch(_0x445449){_0x2697fa['push'](_0x2697fa['shift']());}}}(_0x2d4d,0x9eaa3));Object[_0x1e181f(0xe0)](exports,_0x1e181f(0xe5),{'value':!![]}),exports[_0x1e181f(0xdd)]=void 0x0;class FetchUtils{constructor(){const _0x3544e1=_0x1e181f;this['fetchEngine']=null,this['fetch']=null,this[_0x3544e1(0xef)]=null,this['decompressResponseBuffer']=null;}[_0x1e181f(0xe1)](_0x19c3a6){this['fetchEngine']=_0x19c3a6;}[_0x1e181f(0xf0)](_0x48390d){const _0x1d78ba=_0x1e181f;this[_0x1d78ba(0xdb)]=_0x48390d;}[_0x1e181f(0xeb)](_0x265be1){this['downloadFile']=_0x265be1;}[_0x1e181f(0xe4)](_0x5d6cbb){const _0x393a8e=_0x1e181f;this[_0x393a8e(0xde)]=_0x5d6cbb;}}const fetchUtils=new FetchUtils();exports[_0x1e181f(0xdd)]=fetchUtils;function _0x2d4d(){const _0x1d5f12=['__esModule','127309TXlNIx','12xQEAFE','2220duOOgk','40ebOCho','132SqCVLf','setDownloadFile','842360LHbTBd','1608645vAOJfS','2JXPwda','downloadFile','setFetch','714874zFjVYB','fetch','11ZBVNSu','fetchUtils','decompressResponseBuffer','7517484gwQsvk','defineProperty','setFetchEngine','825335BUbWxq','82113eTjQFJ','setDecompressResponseBuffer'];_0x2d4d=function(){return _0x1d5f12;};return _0x2d4d();}
1
+ 'use strict';const _0x3bce78=_0x40c2;(function(_0x347c65,_0x3a434d){const _0x10ea99=_0x40c2,_0x1707cd=_0x347c65();while(!![]){try{const _0x51424c=-parseInt(_0x10ea99(0x92))/0x1*(parseInt(_0x10ea99(0x96))/0x2)+parseInt(_0x10ea99(0x9c))/0x3*(parseInt(_0x10ea99(0xa2))/0x4)+-parseInt(_0x10ea99(0x9d))/0x5+-parseInt(_0x10ea99(0xa0))/0x6+parseInt(_0x10ea99(0x95))/0x7*(-parseInt(_0x10ea99(0x9e))/0x8)+parseInt(_0x10ea99(0xa1))/0x9*(parseInt(_0x10ea99(0x98))/0xa)+parseInt(_0x10ea99(0xa3))/0xb;if(_0x51424c===_0x3a434d)break;else _0x1707cd['push'](_0x1707cd['shift']());}catch(_0x347b0a){_0x1707cd['push'](_0x1707cd['shift']());}}}(_0x1d8d,0xa5033));function _0x40c2(_0x27babd,_0x5792f4){const _0x1d8d89=_0x1d8d();return _0x40c2=function(_0x40c297,_0x1f43a2){_0x40c297=_0x40c297-0x91;let _0xa56747=_0x1d8d89[_0x40c297];return _0xa56747;},_0x40c2(_0x27babd,_0x5792f4);}function _0x1d8d(){const _0x4ea0d3=['177611bauZzg','153926vCRzqe','decompressResponseBuffer','950ZZvcGI','downloadFile','defineProperty','fetchEngine','3zdTWBI','1764675fgFHrK','176NsVgFx','setDecompressResponseBuffer','561048XofXEH','107262kREMia','310564tRNrGu','11103730aIHPqJ','fetchUtils','7pWXOMc','setFetchEngine','fetch'];_0x1d8d=function(){return _0x4ea0d3;};return _0x1d8d();}Object[_0x3bce78(0x9a)](exports,'__esModule',{'value':!![]}),exports[_0x3bce78(0x91)]=void 0x0;class FetchUtils{constructor(){const _0x28e376=_0x3bce78;this['fetchEngine']=null,this[_0x28e376(0x94)]=null,this[_0x28e376(0x99)]=null,this[_0x28e376(0x97)]=null;}[_0x3bce78(0x93)](_0x55da5c){const _0x2e3074=_0x3bce78;this[_0x2e3074(0x9b)]=_0x55da5c;}['setFetch'](_0x33c765){const _0x268b36=_0x3bce78;this[_0x268b36(0x94)]=_0x33c765;}['setDownloadFile'](_0x4d9d04){const _0x4876bb=_0x3bce78;this[_0x4876bb(0x99)]=_0x4d9d04;}[_0x3bce78(0x9f)](_0x430eb7){const _0x5f2ee5=_0x3bce78;this[_0x5f2ee5(0x97)]=_0x430eb7;}}const fetchUtils=new FetchUtils();exports[_0x3bce78(0x91)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x266923=_0x3eaa;(function(_0x8c73e5,_0x428b31){var _0x17bc62=_0x3eaa,_0x32c5ef=_0x8c73e5();while(!![]){try{var _0x169f80=-parseInt(_0x17bc62(0x149))/0x1+-parseInt(_0x17bc62(0x14c))/0x2*(-parseInt(_0x17bc62(0x165))/0x3)+parseInt(_0x17bc62(0x15d))/0x4*(parseInt(_0x17bc62(0x167))/0x5)+parseInt(_0x17bc62(0x14f))/0x6+parseInt(_0x17bc62(0x154))/0x7+parseInt(_0x17bc62(0x157))/0x8+parseInt(_0x17bc62(0x159))/0x9;if(_0x169f80===_0x428b31)break;else _0x32c5ef['push'](_0x32c5ef['shift']());}catch(_0x3c7618){_0x32c5ef['push'](_0x32c5ef['shift']());}}}(_0x595f,0xc5c0b));function _0x595f(){var _0x5f212b=['log','430884rulcmS','__esModule','\x1b[0m','setVerbose','prefix','inverse','ERROR\x20','red','3PzcpmL','output','5VlwsCB','warn','700397qMUTRa','\x1b[36m','verbose','221474bABtnl','newLog','info','4357140pjKhlO','tag','WARNING\x20','ConsoleLog','yellow','1641276IjxxjQ','defineProperty','dim','289200hzIjqb','error','2656134sMObYy','concat','\x1b[31m'];_0x595f=function(){return _0x5f212b;};return _0x595f();}function _0x3eaa(_0x5e5ce0,_0x2bc479){var _0x595f23=_0x595f();return _0x3eaa=function(_0x3eaa9c,_0x4fc847){_0x3eaa9c=_0x3eaa9c-0x148;var _0xfa59bc=_0x595f23[_0x3eaa9c];return _0xfa59bc;},_0x3eaa(_0x5e5ce0,_0x2bc479);}Object[_0x266923(0x155)](exports,_0x266923(0x15e),{'value':!![]}),exports[_0x266923(0x152)]=void 0x0;class ConsoleLog{constructor(_0x4b1ef3='',_0x22be61=![],_0x3ee38c=console){var _0x2097ed=_0x266923;this[_0x2097ed(0x150)]=_0x4b1ef3,this['verbose']=_0x22be61,this['prefix']=this[_0x2097ed(0x162)](_0x4b1ef3),this[_0x2097ed(0x166)]=_0x3ee38c;}['debug'](_0x1346dd,..._0x382156){var _0x332823=_0x266923;if(!this[_0x332823(0x14b)])return;this[_0x332823(0x15c)](this[_0x332823(0x166)][_0x332823(0x15c)],this[_0x332823(0x156)](_0x1346dd),..._0x382156);}[_0x266923(0x14e)](_0xa0473c,..._0x132244){var _0x4c7d81=_0x266923;this['log'](this[_0x4c7d81(0x166)][_0x4c7d81(0x15c)],_0xa0473c,..._0x132244);}[_0x266923(0x148)](_0x11da2a,..._0x44c687){var _0x3b6b32=_0x266923;this['log'](this[_0x3b6b32(0x166)][_0x3b6b32(0x148)],this['yellow'](_0x3b6b32(0x151)+_0x11da2a),..._0x44c687);}[_0x266923(0x158)](_0x325bc5,..._0x101834){var _0x3768ac=_0x266923;this[_0x3768ac(0x166)]['error']('\x0a'),this['log'](this[_0x3768ac(0x166)][_0x3768ac(0x158)],this['red'](_0x3768ac(0x163)+_0x325bc5),..._0x101834),this[_0x3768ac(0x166)][_0x3768ac(0x158)]('\x0a');}[_0x266923(0x160)](_0x2084ce){var _0x57b4bf=_0x266923;this[_0x57b4bf(0x14b)]=_0x2084ce;}[_0x266923(0x14d)](_0xaf5348){var _0x57e7e0=_0x266923;return this[_0x57e7e0(0x150)]&&(_0xaf5348=this[_0x57e7e0(0x150)]+'\x20'+_0xaf5348),new ConsoleLog(_0xaf5348,this[_0x57e7e0(0x14b)],this['output']);}[_0x266923(0x15c)](_0x2ebedb,_0x308117,..._0x34452f){var _0x5814c4=_0x266923;this[_0x5814c4(0x161)]&&(_0x308117=this[_0x5814c4(0x161)]+'\x20'+_0x308117),_0x34452f?_0x2ebedb(...[_0x308117][_0x5814c4(0x15a)](_0x34452f)):_0x2ebedb(_0x308117);}[_0x266923(0x162)](_0x47ca6f){return'\x1b[7m'+_0x47ca6f+'\x1b[0m';}['dim'](_0x8c97c9){var _0x510fe0=_0x266923;return _0x510fe0(0x14a)+_0x8c97c9+'\x1b[0m';}[_0x266923(0x153)](_0x433cbe){return'\x1b[33m'+_0x433cbe+'\x1b[0m';}[_0x266923(0x164)](_0x5bb7d8){var _0x502f35=_0x266923;return _0x502f35(0x15b)+_0x5bb7d8+_0x502f35(0x15f);}}exports[_0x266923(0x152)]=ConsoleLog;
1
+ 'use strict';function _0x31d6(){var _0x51b79e=['prefix','defineProperty','5PnNxxV','1924737jnsatK','WARNING\x20','5426778CqgLjR','ConsoleLog','tag','544080dYxsYb','dim','ERROR\x20','\x1b[31m','\x1b[7m','verbose','error','yellow','debug','__esModule','\x1b[0m','219159etcviP','inverse','red','985988qIxzUM','output','log','11607456AnBCkq','24UHquND','\x1b[36m','warn','1427155dtNtfN'];_0x31d6=function(){return _0x51b79e;};return _0x31d6();}var _0x36e350=_0x5ece;(function(_0x5571c4,_0x547907){var _0x931992=_0x5ece,_0x468e20=_0x5571c4();while(!![]){try{var _0x400330=-parseInt(_0x931992(0x87))/0x1+parseInt(_0x931992(0x72))/0x2+-parseInt(_0x931992(0x8b))/0x3+parseInt(_0x931992(0x80))/0x4+parseInt(_0x931992(0x8a))/0x5*(parseInt(_0x931992(0x6f))/0x6)+parseInt(_0x931992(0x83))/0x7+parseInt(_0x931992(0x84))/0x8*(-parseInt(_0x931992(0x7d))/0x9);if(_0x400330===_0x547907)break;else _0x468e20['push'](_0x468e20['shift']());}catch(_0x4991a9){_0x468e20['push'](_0x468e20['shift']());}}}(_0x31d6,0xe559d));Object[_0x36e350(0x89)](exports,_0x36e350(0x7b),{'value':!![]}),exports[_0x36e350(0x70)]=void 0x0;function _0x5ece(_0x41cbc2,_0x53e382){var _0x31d602=_0x31d6();return _0x5ece=function(_0x5ece05,_0x5b49c6){_0x5ece05=_0x5ece05-0x6e;var _0x31e120=_0x31d602[_0x5ece05];return _0x31e120;},_0x5ece(_0x41cbc2,_0x53e382);}class ConsoleLog{constructor(_0x58456f='',_0x5b7ad8=![],_0x5454d2=console){var _0x47e5f8=_0x36e350;this[_0x47e5f8(0x71)]=_0x58456f,this[_0x47e5f8(0x77)]=_0x5b7ad8,this[_0x47e5f8(0x88)]=this[_0x47e5f8(0x7e)](_0x58456f),this['output']=_0x5454d2;}[_0x36e350(0x7a)](_0x3ab35d,..._0x190b00){var _0xc50493=_0x36e350;if(!this[_0xc50493(0x77)])return;this[_0xc50493(0x82)](this[_0xc50493(0x81)]['log'],this[_0xc50493(0x73)](_0x3ab35d),..._0x190b00);}['info'](_0x5b1205,..._0x5d7d15){var _0x5788b6=_0x36e350;this[_0x5788b6(0x82)](this[_0x5788b6(0x81)][_0x5788b6(0x82)],_0x5b1205,..._0x5d7d15);}[_0x36e350(0x86)](_0x54840c,..._0x58089e){var _0x5a9c77=_0x36e350;this[_0x5a9c77(0x82)](this[_0x5a9c77(0x81)][_0x5a9c77(0x86)],this[_0x5a9c77(0x79)](_0x5a9c77(0x6e)+_0x54840c),..._0x58089e);}[_0x36e350(0x78)](_0x25722b,..._0x4147e2){var _0x160b14=_0x36e350;this[_0x160b14(0x81)][_0x160b14(0x78)]('\x0a'),this[_0x160b14(0x82)](this[_0x160b14(0x81)]['error'],this[_0x160b14(0x7f)](_0x160b14(0x74)+_0x25722b),..._0x4147e2),this[_0x160b14(0x81)]['error']('\x0a');}['setVerbose'](_0x1d6196){this['verbose']=_0x1d6196;}['newLog'](_0x315f0a){var _0x22e0ab=_0x36e350;return this[_0x22e0ab(0x71)]&&(_0x315f0a=this[_0x22e0ab(0x71)]+'\x20'+_0x315f0a),new ConsoleLog(_0x315f0a,this[_0x22e0ab(0x77)],this['output']);}[_0x36e350(0x82)](_0x1c221f,_0x3ea96a,..._0x34134c){var _0x5d7420=_0x36e350;this[_0x5d7420(0x88)]&&(_0x3ea96a=this[_0x5d7420(0x88)]+'\x20'+_0x3ea96a),_0x34134c?_0x1c221f(...[_0x3ea96a]['concat'](_0x34134c)):_0x1c221f(_0x3ea96a);}['inverse'](_0x1e0580){var _0x27dfe5=_0x36e350;return _0x27dfe5(0x76)+_0x1e0580+_0x27dfe5(0x7c);}[_0x36e350(0x73)](_0x47b170){var _0x55f958=_0x36e350;return _0x55f958(0x85)+_0x47b170+_0x55f958(0x7c);}['yellow'](_0x33702c){var _0x2c3cd9=_0x36e350;return'\x1b[33m'+_0x33702c+_0x2c3cd9(0x7c);}['red'](_0x1cd6d9){var _0x345c91=_0x36e350;return _0x345c91(0x75)+_0x1cd6d9+_0x345c91(0x7c);}}exports[_0x36e350(0x70)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x4a2536=_0xcc7f;(function(_0x19b3e5,_0x4eb197){const _0x2ed957=_0xcc7f,_0x50b293=_0x19b3e5();while(!![]){try{const _0x449019=-parseInt(_0x2ed957(0x1c9))/0x1*(parseInt(_0x2ed957(0x1b4))/0x2)+parseInt(_0x2ed957(0x1c1))/0x3+parseInt(_0x2ed957(0x1b2))/0x4*(-parseInt(_0x2ed957(0x1bb))/0x5)+parseInt(_0x2ed957(0x1b9))/0x6+parseInt(_0x2ed957(0x1ce))/0x7+parseInt(_0x2ed957(0x1b5))/0x8*(-parseInt(_0x2ed957(0x1b0))/0x9)+-parseInt(_0x2ed957(0x1b8))/0xa*(parseInt(_0x2ed957(0x1c4))/0xb);if(_0x449019===_0x4eb197)break;else _0x50b293['push'](_0x50b293['shift']());}catch(_0x39cdb0){_0x50b293['push'](_0x50b293['shift']());}}}(_0x3faa,0x7edbf));Object['defineProperty'](exports,_0x4a2536(0x1bc),{'value':!![]}),exports[_0x4a2536(0x1be)]=fetch,exports['downloadFile']=downloadFile,exports[_0x4a2536(0x1cc)]=decompressResponseBuffer;function _0x3faa(){const _0x1fc2cf=['Z_SYNC_FLUSH','388998kruSKL','Content-Length','186376aChSkJ','unzipSync','6NtlJmX','32qPrRlu','constants','length','6400jQwwls','4375116DLvWlU','finish','20ZTqbsu','__esModule','createWriteStream','fetch','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','test','2771625uhXAOa','headers','follow','14069kdXsKa','error','get','brotliDecompressSync','data','247519hmbKWW','pipe','fetch-h2','decompressResponseBuffer','readable','5508545tpeaLs'];_0x3faa=function(){return _0x1fc2cf;};return _0x3faa();}const fetch_h2_1=require(_0x4a2536(0x1cb)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x4a2536(0x1bf),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x5b6294,_0x1ea635){const _0x406741=_0x4a2536;return await fetchh2(_0x5b6294,_0x1ea635?{'redirect':_0x406741(0x1c3),..._0x1ea635}:{'redirect':_0x406741(0x1c3)});}async function downloadFile(_0x34f418,_0x50c06a,_0x1bd227){const _0x42fdfa=_0x4a2536;let _0x409aa0,_0x291725;_0x409aa0=await fetchh2(_0x34f418,{'redirect':_0x42fdfa(0x1c3)}),_0x291725=await _0x409aa0[_0x42fdfa(0x1cd)]();const _0x1ec1a7=_0x409aa0[_0x42fdfa(0x1c2)][_0x42fdfa(0x1c6)](_0x42fdfa(0x1b1)),_0x1c3d98=_0x1ec1a7?parseInt(_0x1ec1a7):-0x1,_0x4e1350=fs[_0x42fdfa(0x1bd)](_0x50c06a);let _0x312916=0x0;await new Promise((_0x223602,_0x4f25ae)=>{const _0x190c94=_0x42fdfa;_0x291725[_0x190c94(0x1ca)](_0x4e1350),_0x1bd227&&_0x291725['on'](_0x190c94(0x1c8),_0x275ab8=>{const _0x5bbe97=_0x190c94;_0x312916=_0x312916+_0x275ab8[_0x5bbe97(0x1b7)],_0x1bd227(_0x312916,_0x1c3d98);}),_0x291725['on'](_0x190c94(0x1c5),_0xae8774=>{_0x4f25ae(_0xae8774);}),_0x4e1350['on'](_0x190c94(0x1ba),()=>{_0x223602();});});}function _0xcc7f(_0x1d30fd,_0x13c78b){const _0x3faa26=_0x3faa();return _0xcc7f=function(_0xcc7f2f,_0x47f7c0){_0xcc7f2f=_0xcc7f2f-0x1b0;let _0x512143=_0x3faa26[_0xcc7f2f];return _0x512143;},_0xcc7f(_0x1d30fd,_0x13c78b);}function decompressResponseBuffer(_0x5e6c37,_0xb8a19a){const _0x1f412b=_0x4a2536;let _0xaf8482=_0x5e6c37;if(/\bgzip\b/[_0x1f412b(0x1c0)](_0xb8a19a)||/\bdeflate\b/[_0x1f412b(0x1c0)](_0xb8a19a))_0xaf8482=zlib[_0x1f412b(0x1b3)](_0x5e6c37,{'flush':zlib['constants'][_0x1f412b(0x1cf)],'finishFlush':zlib[_0x1f412b(0x1b6)][_0x1f412b(0x1cf)]});else/\bbr\b/[_0x1f412b(0x1c0)](_0xb8a19a)&&(_0xaf8482=zlib[_0x1f412b(0x1c7)](_0x5e6c37));return _0xaf8482;}
1
+ 'use strict';const _0x206f9b=_0x5b71;(function(_0x4479d5,_0x887bcc){const _0x5c8cf6=_0x5b71,_0x543122=_0x4479d5();while(!![]){try{const _0x4b9caa=-parseInt(_0x5c8cf6(0x12b))/0x1+parseInt(_0x5c8cf6(0x11b))/0x2+parseInt(_0x5c8cf6(0x12e))/0x3+parseInt(_0x5c8cf6(0x11e))/0x4*(parseInt(_0x5c8cf6(0x131))/0x5)+parseInt(_0x5c8cf6(0x12a))/0x6+-parseInt(_0x5c8cf6(0x130))/0x7*(-parseInt(_0x5c8cf6(0x135))/0x8)+-parseInt(_0x5c8cf6(0x122))/0x9*(parseInt(_0x5c8cf6(0x11f))/0xa);if(_0x4b9caa===_0x887bcc)break;else _0x543122['push'](_0x543122['shift']());}catch(_0x464b8e){_0x543122['push'](_0x543122['shift']());}}}(_0x5b7a,0x70134));function _0x5b7a(){const _0x3ad770=['brotliDecompressSync','context','56RowZEK','readable','error','1399732MofWLL','follow','test','4OAhESm','21669260JHwiCj','Z_SYNC_FLUSH','createWriteStream','9YMldvW','fetch-h2','fetch','length','data','Content-Length','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','finish','4420818EQOUfT','160090BVhsGB','constants','get','1563708CmWMuH','__esModule','380597ZSMyUc','2237870hoQvnz','pipe'];_0x5b7a=function(){return _0x3ad770;};return _0x5b7a();}Object['defineProperty'](exports,_0x206f9b(0x12f),{'value':!![]}),exports[_0x206f9b(0x124)]=fetch,exports['downloadFile']=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require(_0x206f9b(0x123)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x206f9b(0x128),fetchh2Ctx=(0x0,fetch_h2_1[_0x206f9b(0x134)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x206f9b(0x124)];function _0x5b71(_0x5bed06,_0x549340){const _0x5b7a86=_0x5b7a();return _0x5b71=function(_0x5b7188,_0x50759a){_0x5b7188=_0x5b7188-0x11a;let _0x324619=_0x5b7a86[_0x5b7188];return _0x324619;},_0x5b71(_0x5bed06,_0x549340);}async function fetch(_0x220b18,_0x1c2b28){const _0x12e967=_0x206f9b;return await fetchh2(_0x220b18,_0x1c2b28?{'redirect':'follow',..._0x1c2b28}:{'redirect':_0x12e967(0x11c)});}async function downloadFile(_0x34246a,_0x55d4b6,_0x465802){const _0x2d1ce9=_0x206f9b;let _0x7d09aa,_0x32a0bd;_0x7d09aa=await fetchh2(_0x34246a,{'redirect':_0x2d1ce9(0x11c)}),_0x32a0bd=await _0x7d09aa[_0x2d1ce9(0x136)]();const _0x2150b9=_0x7d09aa['headers'][_0x2d1ce9(0x12d)](_0x2d1ce9(0x127)),_0x4894d4=_0x2150b9?parseInt(_0x2150b9):-0x1,_0x119fb1=fs[_0x2d1ce9(0x121)](_0x55d4b6);let _0x6e71d0=0x0;await new Promise((_0xf3c5fd,_0x39b95b)=>{const _0x244b0f=_0x2d1ce9;_0x32a0bd[_0x244b0f(0x132)](_0x119fb1),_0x465802&&_0x32a0bd['on'](_0x244b0f(0x126),_0x4e0dc4=>{const _0x3a0020=_0x244b0f;_0x6e71d0=_0x6e71d0+_0x4e0dc4[_0x3a0020(0x125)],_0x465802(_0x6e71d0,_0x4894d4);}),_0x32a0bd['on'](_0x244b0f(0x11a),_0x694d3b=>{_0x39b95b(_0x694d3b);}),_0x119fb1['on'](_0x244b0f(0x129),()=>{_0xf3c5fd();});});}function decompressResponseBuffer(_0x2f8782,_0x551a09){const _0x23df02=_0x206f9b;let _0x12061a=_0x2f8782;if(/\bgzip\b/[_0x23df02(0x11d)](_0x551a09)||/\bdeflate\b/[_0x23df02(0x11d)](_0x551a09))_0x12061a=zlib['unzipSync'](_0x2f8782,{'flush':zlib[_0x23df02(0x12c)]['Z_SYNC_FLUSH'],'finishFlush':zlib[_0x23df02(0x12c)][_0x23df02(0x120)]});else/\bbr\b/[_0x23df02(0x11d)](_0x551a09)&&(_0x12061a=zlib[_0x23df02(0x133)](_0x2f8782));return _0x12061a;}
@@ -1 +1 @@
1
- 'use strict';const _0x3ce0ad=_0x13ab;(function(_0x1f5c98,_0x161c20){const _0xd247c7=_0x13ab,_0x42c69b=_0x1f5c98();while(!![]){try{const _0x1c647e=-parseInt(_0xd247c7(0xc6))/0x1+-parseInt(_0xd247c7(0xbc))/0x2*(-parseInt(_0xd247c7(0xc3))/0x3)+parseInt(_0xd247c7(0xd7))/0x4*(-parseInt(_0xd247c7(0xb4))/0x5)+-parseInt(_0xd247c7(0xc4))/0x6*(-parseInt(_0xd247c7(0xcf))/0x7)+parseInt(_0xd247c7(0xbd))/0x8+parseInt(_0xd247c7(0xd1))/0x9*(-parseInt(_0xd247c7(0xca))/0xa)+parseInt(_0xd247c7(0xb5))/0xb;if(_0x1c647e===_0x161c20)break;else _0x42c69b['push'](_0x42c69b['shift']());}catch(_0x1d6ff7){_0x42c69b['push'](_0x42c69b['shift']());}}}(_0x79f8,0x28e82));Object[_0x3ce0ad(0xd0)](exports,_0x3ce0ad(0xae),{'value':!![]});const path_1=require(_0x3ce0ad(0xbe)),fs=require('fs'),utils_1=require(_0x3ce0ad(0xbb));function _0x79f8(){const _0x46f4d8=['237263vIAxIt','../../run_history.txt','recordSimulator','object','5860JuaGpD','recordManifest','getAppInfoRecord','cmd','default','333263myekUu','defineProperty','1089Vdsssy','keys','stringify','warn','writeFileSync','appInfo','300iKdIxu','init','history','checkCommand','Historical\x20records\x20found','__esModule','join','name','readFileSync','parse','record','18600reDYtN','5038242RKELiX','log','CliLog','getSimulatorHistory','Mismatch\x20found\x20at\x20key:\x20','simulator','./utils','482nEutrQ','1579088DPTnKT','path','getSimulatorRecord','write','defaultHistory','compareObjects','51naidJu','12BBjbtR','utf-8'];_0x79f8=function(){return _0x46f4d8;};return _0x79f8();}function _0x13ab(_0x1e9cdc,_0x40368a){const _0x79f882=_0x79f8();return _0x13ab=function(_0x13ab86,_0x50a4d2){_0x13ab86=_0x13ab86-0xae;let _0x134cb3=_0x79f882[_0x13ab86];return _0x134cb3;},_0x13ab(_0x1e9cdc,_0x40368a);}class CliHistory{static[_0x3ce0ad(0xd8)](_0x273447){const _0x1f5daf=_0x3ce0ad;let _0x21b311=(0x0,path_1[_0x1f5daf(0xaf)])(__dirname,_0x1f5daf(0xc7)),_0x395f58=this[_0x1f5daf(0xc1)];if(!fs['existsSync'](_0x21b311))fs[_0x1f5daf(0xd5)](_0x21b311,'');else try{_0x395f58=JSON[_0x1f5daf(0xb2)](fs[_0x1f5daf(0xb1)](_0x21b311,_0x1f5daf(0xc5))),console[_0x1f5daf(0xb6)](_0x1f5daf(0xdb));}catch(_0x273588){utils_1[_0x1f5daf(0xb7)][_0x1f5daf(0xd4)]('No\x20historical\x20records\x20found');}this[_0x1f5daf(0xd9)]=_0x395f58,this[_0x1f5daf(0xb3)][_0x1f5daf(0xcd)]=_0x273447;}static[_0x3ce0ad(0xcc)](){const _0x53ec7a=_0x3ce0ad;return this['record'][_0x53ec7a(0xd6)];}static[_0x3ce0ad(0xbf)](){const _0x1f121c=_0x3ce0ad;return this[_0x1f121c(0xb3)][_0x1f121c(0xba)];}static[_0x3ce0ad(0xb8)](){const _0x11ad50=_0x3ce0ad;return this[_0x11ad50(0xd9)][_0x11ad50(0xba)];}static[_0x3ce0ad(0xcb)](_0x47af1e){const _0xe9c64f=_0x3ce0ad;this['record']['manifest']=_0x47af1e,this[_0xe9c64f(0xb3)][_0xe9c64f(0xd6)][_0xe9c64f(0xb0)]=_0x47af1e[_0xe9c64f(0xb0)],this['record'][_0xe9c64f(0xd6)]['id']=_0x47af1e['id'];}static[_0x3ce0ad(0xc8)](_0x2240b3){this['record']['simulator']=_0x2240b3;}static['checkManifest'](_0x45a221){const _0x17a8d8=_0x3ce0ad;return this[_0x17a8d8(0xc2)](this[_0x17a8d8(0xd9)]['manifest'],_0x45a221);}static[_0x3ce0ad(0xc2)](_0x6d7139,_0x16354e){const _0x1ac80a=_0x3ce0ad,_0x414d07=Object['keys'](_0x6d7139),_0x513ea5=Object[_0x1ac80a(0xd2)](_0x16354e);if(_0x414d07['length']!==_0x513ea5['length'])return![];for(const _0x46ba00 of _0x414d07){const _0x385b89=_0x6d7139[_0x46ba00],_0x2ff231=_0x16354e[_0x46ba00];if(_0x385b89===undefined||_0x2ff231===undefined){if(_0x385b89!==_0x2ff231)return![];continue;}if(typeof _0x385b89===_0x1ac80a(0xc9)&&_0x385b89!==null){if(!this[_0x1ac80a(0xc2)](_0x385b89,_0x2ff231))return![];continue;}if(_0x385b89!==_0x2ff231)return console[_0x1ac80a(0xb6)](_0x1ac80a(0xb9)+_0x46ba00),![];}return!![];}static[_0x3ce0ad(0xda)](_0x34b64a){return this['history']['cmd']===_0x34b64a;}static[_0x3ce0ad(0xc0)](){const _0x88c7a9=_0x3ce0ad;let _0x453fac=(0x0,path_1[_0x88c7a9(0xaf)])(__dirname,_0x88c7a9(0xc7));fs['writeFileSync'](_0x453fac,JSON[_0x88c7a9(0xd3)](this[_0x88c7a9(0xb3)]));}}CliHistory[_0x3ce0ad(0xc1)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x3ce0ad(0xb3)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports[_0x3ce0ad(0xce)]=CliHistory;
1
+ 'use strict';function _0x2d34(){const _0x5d497f=['Historical\x20records\x20found','cmd','join','writeFileSync','init','utf-8','history','recordSimulator','existsSync','manifest','defineProperty','2hWgYxQ','log','compareObjects','372586WWMCaD','1431615dpLbxk','default','2993564RaWzoH','getSimulatorHistory','simulator','appInfo','path','66672pmKecz','name','CliLog','record','defaultHistory','checkCommand','getSimulatorRecord','18120IwnZOo','keys','getAppInfoRecord','3707QiyJmy','4UtJcTM','1330161OkAKDj','No\x20historical\x20records\x20found','stringify','261uizOrf','./utils','warn','length','20680ygNQYd','recordManifest'];_0x2d34=function(){return _0x5d497f;};return _0x2d34();}const _0x1a03bc=_0x1c77;(function(_0xa4f720,_0x487553){const _0x2dd5a0=_0x1c77,_0x2fd31d=_0xa4f720();while(!![]){try{const _0x5780db=-parseInt(_0x2dd5a0(0xa0))/0x1*(parseInt(_0x2dd5a0(0xa3))/0x2)+parseInt(_0x2dd5a0(0xb7))/0x3+parseInt(_0x2dd5a0(0xb6))/0x4*(parseInt(_0x2dd5a0(0xa4))/0x5)+-parseInt(_0x2dd5a0(0xab))/0x6+parseInt(_0x2dd5a0(0xa6))/0x7+parseInt(_0x2dd5a0(0x93))/0x8*(parseInt(_0x2dd5a0(0xba))/0x9)+-parseInt(_0x2dd5a0(0xb2))/0xa*(parseInt(_0x2dd5a0(0xb5))/0xb);if(_0x5780db===_0x487553)break;else _0x2fd31d['push'](_0x2fd31d['shift']());}catch(_0x413f46){_0x2fd31d['push'](_0x2fd31d['shift']());}}}(_0x2d34,0x3a1a1));Object[_0x1a03bc(0x9f)](exports,'__esModule',{'value':!![]});function _0x1c77(_0x2812f1,_0x2effb8){const _0x2d3447=_0x2d34();return _0x1c77=function(_0x1c7758,_0x2a30c6){_0x1c7758=_0x1c7758-0x93;let _0x5c91f7=_0x2d3447[_0x1c7758];return _0x5c91f7;},_0x1c77(_0x2812f1,_0x2effb8);}const path_1=require(_0x1a03bc(0xaa)),fs=require('fs'),utils_1=require(_0x1a03bc(0xbb));class CliHistory{static[_0x1a03bc(0x99)](_0x5c5a65){const _0x3f8695=_0x1a03bc;let _0x7b4473=(0x0,path_1['join'])(__dirname,'../../run_history.txt'),_0x5e80b2=this[_0x3f8695(0xaf)];if(!fs[_0x3f8695(0x9d)](_0x7b4473))fs[_0x3f8695(0x98)](_0x7b4473,'');else try{_0x5e80b2=JSON['parse'](fs['readFileSync'](_0x7b4473,_0x3f8695(0x9a))),console[_0x3f8695(0xa1)](_0x3f8695(0x95));}catch(_0x51f41e){utils_1[_0x3f8695(0xad)][_0x3f8695(0xbc)](_0x3f8695(0xb8));}this[_0x3f8695(0x9b)]=_0x5e80b2,this['record'][_0x3f8695(0x96)]=_0x5c5a65;}static[_0x1a03bc(0xb4)](){const _0xa7bb0c=_0x1a03bc;return this[_0xa7bb0c(0xae)][_0xa7bb0c(0xa9)];}static[_0x1a03bc(0xb1)](){const _0x363ea1=_0x1a03bc;return this[_0x363ea1(0xae)][_0x363ea1(0xa8)];}static[_0x1a03bc(0xa7)](){const _0x5e9957=_0x1a03bc;return this[_0x5e9957(0x9b)][_0x5e9957(0xa8)];}static[_0x1a03bc(0x94)](_0x2fc067){const _0x26cb79=_0x1a03bc;this[_0x26cb79(0xae)][_0x26cb79(0x9e)]=_0x2fc067,this[_0x26cb79(0xae)][_0x26cb79(0xa9)]['name']=_0x2fc067[_0x26cb79(0xac)],this[_0x26cb79(0xae)][_0x26cb79(0xa9)]['id']=_0x2fc067['id'];}static[_0x1a03bc(0x9c)](_0x1ef1f9){const _0x4b369d=_0x1a03bc;this[_0x4b369d(0xae)][_0x4b369d(0xa8)]=_0x1ef1f9;}static['checkManifest'](_0x3adf32){const _0x5d8063=_0x1a03bc;return this[_0x5d8063(0xa2)](this['history'][_0x5d8063(0x9e)],_0x3adf32);}static[_0x1a03bc(0xa2)](_0x18895a,_0x2a836a){const _0x37d50e=_0x1a03bc,_0x1ef124=Object[_0x37d50e(0xb3)](_0x18895a),_0x284052=Object[_0x37d50e(0xb3)](_0x2a836a);if(_0x1ef124[_0x37d50e(0xbd)]!==_0x284052[_0x37d50e(0xbd)])return![];for(const _0x95c6f5 of _0x1ef124){const _0x473cb2=_0x18895a[_0x95c6f5],_0x20369c=_0x2a836a[_0x95c6f5];if(_0x473cb2===undefined||_0x20369c===undefined){if(_0x473cb2!==_0x20369c)return![];continue;}if(typeof _0x473cb2==='object'&&_0x473cb2!==null){if(!this[_0x37d50e(0xa2)](_0x473cb2,_0x20369c))return![];continue;}if(_0x473cb2!==_0x20369c)return console[_0x37d50e(0xa1)]('Mismatch\x20found\x20at\x20key:\x20'+_0x95c6f5),![];}return!![];}static[_0x1a03bc(0xb0)](_0x552926){const _0x1ed5cf=_0x1a03bc;return this[_0x1ed5cf(0x9b)][_0x1ed5cf(0x96)]===_0x552926;}static['write'](){const _0x5eb1f5=_0x1a03bc;let _0x50e43e=(0x0,path_1[_0x5eb1f5(0x97)])(__dirname,'../../run_history.txt');fs[_0x5eb1f5(0x98)](_0x50e43e,JSON[_0x5eb1f5(0xb9)](this[_0x5eb1f5(0xae)]));}}CliHistory[_0x1a03bc(0xaf)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x1a03bc(0xae)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports[_0x1a03bc(0xa5)]=CliHistory;
@@ -1 +1 @@
1
- 'use strict';const _0x39450a=_0x4704;function _0x1bce(){const _0x417e4b=['Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aSigning\x20key\x20creation','--manifest','Path\x20to\x20your\x20existing\x20JDK\x2011:','Country\x20(2\x20letter\x20code):','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)','6zULnno','--manifest-url','Downloading\x20JDK\x2011\x20to\x20','24TzPizp','Password\x20for\x20the\x20Key\x20Store:','Downloading\x20the\x20JDK\x2011\x20Binaries...','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Icon\x20URL:','bold','\x20and\x20alias\x20','\x22.\x0a','8102016nIrPeE','Minimum\x20length\x20is\x20','https://developer.android.com/studio/terms.html','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Password\x20for\x20the\x20Key:','25243290ekNFjO','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','green','license\x20agreement.','Missing\x20required\x20parameter\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','1069050ddHUmx','Downloading\x20Android\x20SDK\x20to\x20','Decompressing\x20the\x20Android\x20SDK...','Downloading\x20the\x20JDK\x2011\x20Sources...','WARNING:\x20','759966YNmwMZ','__esModule','defineProperty','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','(5/5)','yellow','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Generating\x20Android\x20Project.','Organization\x20(eg:\x20Company\x20Name):','messages','Downloading\x20the\x20Android\x20SDK...','96quLifN','\x0aBuilding\x20the\x20Android\x20App...','Invalid\x20icon\x20path:\x20','https://play.google.com/console/about/families/','\x20but\x20input\x20is\x20','5218344CgCaIe','51639HulXVa','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','underline','\x20can\x20not\x20be\x20accessible.','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)','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Invalid\x20integer\x20provided:\x20','Maximum\x20length\x20is\x20','cyan','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x20URL\x20','392707QJWsXW','URL\x20'];_0x1bce=function(){return _0x417e4b;};return _0x1bce();}(function(_0x14c41d,_0x5f025b){const _0x1094ed=_0x4704,_0x56e5e9=_0x14c41d();while(!![]){try{const _0x1fe24a=parseInt(_0x1094ed(0x1e6))/0x1+-parseInt(_0x1094ed(0x1c9))/0x2*(-parseInt(_0x1094ed(0x1b4))/0x3)+parseInt(_0x1094ed(0x1cc))/0x4*(-parseInt(_0x1094ed(0x1e1))/0x5)+-parseInt(_0x1094ed(0x1ae))/0x6*(parseInt(_0x1094ed(0x1c1))/0x7)+-parseInt(_0x1094ed(0x1d4))/0x8+parseInt(_0x1094ed(0x1b3))/0x9+parseInt(_0x1094ed(0x1db))/0xa;if(_0x1fe24a===_0x5f025b)break;else _0x56e5e9['push'](_0x56e5e9['shift']());}catch(_0x207c84){_0x56e5e9['push'](_0x56e5e9['shift']());}}}(_0x1bce,0xb065a));function _0x4704(_0x29e6b6,_0xf19bcc){const _0x1bce29=_0x1bce();return _0x4704=function(_0x470427,_0x4b9b1f){_0x470427=_0x470427-0x1a7;let _0x290f97=_0x1bce29[_0x470427];return _0x290f97;},_0x4704(_0x29e6b6,_0xf19bcc);}Object[_0x39450a(0x1e8)](exports,_0x39450a(0x1e7),{'value':!![]}),exports['messages']=void 0x0;const colors_1=require('colors');exports[_0x39450a(0x1ac)]={'promptInstallJdk':_0x39450a(0x1b8),'promptJdkPath':_0x39450a(0x1c6),'messageDownloadJdk':_0x39450a(0x1cb),'messageDownloadJdkSrc':_0x39450a(0x1e4),'messageDecompressJdkSrc':_0x39450a(0x1c3),'messageDownloadJdkBin':_0x39450a(0x1ce),'messageDecompressJdkBin':_0x39450a(0x1a9),'promptInstallSdk':_0x39450a(0x1c8),'promptSdkPath':_0x39450a(0x1cf),'messageDownloadSdk':_0x39450a(0x1e2),'errorSdkTerms':_0x39450a(0x1ba),'promptSdkTerms':_0x39450a(0x1d8)+(0x0,colors_1[_0x39450a(0x1b6)])(_0x39450a(0x1d6))+'?','messageDownloadAndroidSdk':_0x39450a(0x1ad),'messageDecompressAndroidSdk':_0x39450a(0x1e3),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x39450a(0x1de),'messageGeneratingAndroidProject':_0x39450a(0x1aa),'messageCheckSuccess':(_0x3f9fdd,_0x4fdb85)=>{const _0x144c71=_0x39450a;return _0x144c71(0x1c0)+(0x0,colors_1[_0x144c71(0x1bd)])(_0x3f9fdd)+'\x20'+(_0x4fdb85?'redirected\x20to\x20'+(0x0,colors_1[_0x144c71(0x1bd)])(_0x4fdb85):'')+_0x144c71(0x1dc);},'errorMissingManifestParameter':_0x39450a(0x1df)+((0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1ca))+'\x20or\x20'+(0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1c5))),'messageInitializingWebManifest':_0x32a38a=>{const _0x1466fd=_0x39450a;return _0x1466fd(0x1bf)+(0x0,colors_1[_0x1466fd(0x1bd)])(_0x32a38a);},'messageInitializingLocalManifest':_0x38e729=>{const _0x207c86=_0x39450a;return _0x207c86(0x1b9)+(0x0,colors_1[_0x207c86(0x1bd)])(_0x38e729);},'messageInvalidIcon':_0xec0f0b=>{const _0x3f4f3a=_0x39450a;return _0x3f4f3a(0x1b0)+(0x0,colors_1[_0x3f4f3a(0x1bd)])(_0xec0f0b);},'errorStartUrlNotReachable':_0x5a4c86=>_0x39450a(0x1c2)+_0x5a4c86+_0x39450a(0x1b7)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x39450a(0x1d1)])((0x0,colors_1[_0x39450a(0x1a8)])(_0x39450a(0x1e5)))+_0x39450a(0x1e0)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+_0x39450a(0x1e9)+(0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1b1)),'promptIconUrl':_0x39450a(0x1d0),'errorInvalidUrl':_0x351f04=>{return'Invalid\x20URL:\x20'+_0x351f04;},'errorUrlMustBeImage':_0xf8f292=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0xf8f292+'.';},'promptVersionCode':_0x39450a(0x1be),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1['underline'])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1[_0x39450a(0x1dd)])(_0x39450a(0x1a7))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x39450a(0x1b6)])(_0x39450a(0x1c4)),'messageSigningKeyNotFound':_0x4fd1d5=>{const _0x45e0ad=_0x39450a;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x4fd1d5+_0x45e0ad(0x1d3);},'promptCreateKey':_0x39450a(0x1d9),'promptKeyFullName':_0x39450a(0x1b5),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x39450a(0x1ab),'promptKeyCountry':_0x39450a(0x1c7),'promptKeystorePassword':_0x39450a(0x1cd),'promptKeyPassword':_0x39450a(0x1da),'messageBuildingApp':_0x39450a(0x1af),'messageEnterPasswords':(_0x695770,_0x34ae10)=>{const _0x312b55=_0x39450a;return'Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'+(0x0,colors_1[_0x312b55(0x1bd)])(_0x695770)+_0x312b55(0x1d2)+(0x0,colors_1[_0x312b55(0x1bd)])(_0x34ae10)+'.\x0a';},'errorMinLength':(_0x2d9a08,_0xdfecbd)=>{const _0x46236e=_0x39450a;return _0x46236e(0x1d5)+_0x2d9a08+_0x46236e(0x1b2)+_0xdfecbd+'.';},'errorMaxLength':(_0x4f7a37,_0x34ef61)=>{const _0x4c298a=_0x39450a;return _0x4c298a(0x1bc)+_0x4f7a37+_0x4c298a(0x1b2)+_0x34ef61+'.';},'errorInvalidInteger':_0xf0d94c=>{const _0x23b879=_0x39450a;return _0x23b879(0x1bb)+_0xf0d94c;},'messageApkSuccess':_0x4ee7d8=>{const _0x523cb8=_0x39450a;return _0x523cb8(0x1d7)+(0x0,colors_1[_0x523cb8(0x1bd)])(_0x4ee7d8);},'missingUrlToCheck':_0x39450a(0x1df)+(''+(0x0,colors_1[_0x39450a(0x1bd)])('--url'))};
1
+ 'use strict';const _0x2b5968=_0x3c63;(function(_0x164b37,_0x6eaf30){const _0x57f0b5=_0x3c63,_0x37ccae=_0x164b37();while(!![]){try{const _0x1b8312=-parseInt(_0x57f0b5(0xe4))/0x1*(-parseInt(_0x57f0b5(0xf0))/0x2)+parseInt(_0x57f0b5(0xf8))/0x3+-parseInt(_0x57f0b5(0xd5))/0x4+parseInt(_0x57f0b5(0xdb))/0x5*(-parseInt(_0x57f0b5(0xe7))/0x6)+-parseInt(_0x57f0b5(0xc8))/0x7*(-parseInt(_0x57f0b5(0xe1))/0x8)+-parseInt(_0x57f0b5(0xed))/0x9*(-parseInt(_0x57f0b5(0x100))/0xa)+parseInt(_0x57f0b5(0xcb))/0xb;if(_0x1b8312===_0x6eaf30)break;else _0x37ccae['push'](_0x37ccae['shift']());}catch(_0xa1e25c){_0x37ccae['push'](_0x37ccae['shift']());}}}(_0x2f89,0x1dbf6));function _0x2f89(){const _0x44267c=['green','bold','Invalid\x20URL:\x20','--url','Downloading\x20the\x20Android\x20SDK...','\x20or\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x22.\x0a','7NnVgjA','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)','Path\x20to\x20your\x20existing\x20Android\x20SDK:','2221637cpVpit','Path\x20to\x20your\x20existing\x20JDK\x2011:','messages','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','\x20and\x20alias\x20','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Invalid\x20integer\x20provided:\x20','\x0aProject\x20generated\x20successfully.','underline','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','677612awzVwF','Decompressing\x20the\x20JDK\x2011\x20Sources...','Downloading\x20the\x20JDK\x2011\x20Binaries...','cyan','Generating\x20Android\x20Project.','URL\x20','5pCJXII','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Invalid\x20icon\x20path:\x20','Maximum\x20length\x20is\x20','\x20URL\x20','44216gkAYtJ','\x0aSigning\x20key\x20information\x20','license\x20agreement.','1qnOZmU','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Country\x20(2\x20letter\x20code):','1009398fLSbgB','\x20Check\x20out\x20the\x20Play\x20for','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)','Downloading\x20the\x20JDK\x2011\x20Sources...','Missing\x20required\x20parameter\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','1665oRIOen','yellow','\x09-\x20Generated\x20Android\x20APK\x20at\x20','416180wBwYQQ','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Organization\x20(eg:\x20Company\x20Name):','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','\x0aSigning\x20key\x20creation','Downloading\x20Android\x20SDK\x20to\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x20can\x20not\x20be\x20accessible.','71199TSTdfQ','__esModule','--manifest-url','Minimum\x20length\x20is\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Password\x20for\x20the\x20Key:','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Decompressing\x20the\x20JDK\x2011\x20Binaries...','1090UJpiWf','\x20but\x20input\x20is\x20'];_0x2f89=function(){return _0x44267c;};return _0x2f89();}Object['defineProperty'](exports,_0x2b5968(0xf9),{'value':!![]}),exports[_0x2b5968(0xcd)]=void 0x0;const colors_1=require('colors');function _0x3c63(_0x4baadf,_0x49ffb1){const _0x2f8952=_0x2f89();return _0x3c63=function(_0x3c631f,_0x59e51b){_0x3c631f=_0x3c631f-0xc3;let _0x2116a1=_0x2f8952[_0x3c631f];return _0x2116a1;},_0x3c63(_0x4baadf,_0x49ffb1);}exports[_0x2b5968(0xcd)]={'promptInstallJdk':_0x2b5968(0xc9),'promptJdkPath':_0x2b5968(0xcc),'messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':_0x2b5968(0xea),'messageDecompressJdkSrc':_0x2b5968(0xd6),'messageDownloadJdkBin':_0x2b5968(0xd7),'messageDecompressJdkBin':_0x2b5968(0xff),'promptInstallSdk':_0x2b5968(0xe9),'promptSdkPath':_0x2b5968(0xca),'messageDownloadSdk':_0x2b5968(0xf5),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x2b5968(0xfc)+(0x0,colors_1[_0x2b5968(0xd3)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':_0x2b5968(0xc4),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x2b5968(0xd0)+_0x2b5968(0xe3),'messageGeneratingAndroidProject':_0x2b5968(0xd9),'messageCheckSuccess':(_0x5677cf,_0x7f217e)=>{const _0x1c51ac=_0x2b5968;return _0x1c51ac(0xe0)+(0x0,colors_1[_0x1c51ac(0xd8)])(_0x5677cf)+'\x20'+(_0x7f217e?'redirected\x20to\x20'+(0x0,colors_1[_0x1c51ac(0xd8)])(_0x7f217e):'')+_0x1c51ac(0xdc);},'errorMissingManifestParameter':_0x2b5968(0xeb)+((0x0,colors_1['cyan'])(_0x2b5968(0xfa))+_0x2b5968(0xc5)+(0x0,colors_1['cyan'])('--manifest')),'messageInitializingWebManifest':_0x98a431=>{const _0x2e26d9=_0x2b5968;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x2e26d9(0xd8)])(_0x98a431);},'messageInitializingLocalManifest':_0x25718b=>{const _0x2438f6=_0x2b5968;return _0x2438f6(0xe5)+(0x0,colors_1[_0x2438f6(0xd8)])(_0x25718b);},'messageInvalidIcon':_0x7fe0=>{const _0x3770a8=_0x2b5968;return _0x3770a8(0xde)+(0x0,colors_1['cyan'])(_0x7fe0);},'errorStartUrlNotReachable':_0xfa2196=>_0x2b5968(0xda)+_0xfa2196+_0x2b5968(0xf7)+_0x2b5968(0xce),'warnFamilyPolicy':(0x0,colors_1[_0x2b5968(0x103)])((0x0,colors_1[_0x2b5968(0xee)])('WARNING:\x20'))+_0x2b5968(0xf3)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x2b5968(0xe8)+_0x2b5968(0xd4)+(0x0,colors_1[_0x2b5968(0xd8)])('https://play.google.com/console/about/families/'),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x1abbcf=>{const _0x4daff8=_0x2b5968;return _0x4daff8(0x104)+_0x1abbcf;},'errorUrlMustBeImage':_0x4fdff0=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0x4fdff0+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x2b5968(0xdd),'messageSigningKeyInformation':(0x0,colors_1[_0x2b5968(0xd3)])(_0x2b5968(0xe2)+(0x0,colors_1[_0x2b5968(0x102)])('(5/5)')),'messageProjectGeneratedSuccess':_0x2b5968(0xd2),'messageSigningKeyCreation':(0x0,colors_1[_0x2b5968(0xd3)])(_0x2b5968(0xf4)),'messageSigningKeyNotFound':_0x163540=>{const _0x4c6d9c=_0x2b5968;return _0x4c6d9c(0xf1)+_0x163540+_0x4c6d9c(0xc7);},'promptCreateKey':_0x2b5968(0xc6),'promptKeyFullName':_0x2b5968(0xec),'promptKeyOrganizationalUnit':_0x2b5968(0xfe),'promptKeyOrganization':_0x2b5968(0xf2),'promptKeyCountry':_0x2b5968(0xe6),'promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':_0x2b5968(0xfd),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x267e8f,_0x34bcfd)=>{const _0x82f42b=_0x2b5968;return _0x82f42b(0xf6)+(0x0,colors_1['cyan'])(_0x267e8f)+_0x82f42b(0xcf)+(0x0,colors_1[_0x82f42b(0xd8)])(_0x34bcfd)+'.\x0a';},'errorMinLength':(_0x38f5e5,_0x511353)=>{const _0x3e70fa=_0x2b5968;return _0x3e70fa(0xfb)+_0x38f5e5+_0x3e70fa(0x101)+_0x511353+'.';},'errorMaxLength':(_0x4ab8c4,_0x14cdec)=>{const _0x41a916=_0x2b5968;return _0x41a916(0xdf)+_0x4ab8c4+_0x41a916(0x101)+_0x14cdec+'.';},'errorInvalidInteger':_0x5e11dd=>{const _0x48b224=_0x2b5968;return _0x48b224(0xd1)+_0x5e11dd;},'messageApkSuccess':_0x3508b6=>{const _0x204861=_0x2b5968;return _0x204861(0xef)+(0x0,colors_1[_0x204861(0xd8)])(_0x3508b6);},'missingUrlToCheck':_0x2b5968(0xeb)+(''+(0x0,colors_1[_0x2b5968(0xd8)])(_0x2b5968(0xc3)))};
@@ -1 +1 @@
1
- 'use strict';function _0x43a7(_0x2661cb,_0x2ee675){const _0x957c4b=_0x957c();return _0x43a7=function(_0x43a78c,_0xfb11e8){_0x43a78c=_0x43a78c-0x8d;let _0x4020ce=_0x957c4b[_0x43a78c];return _0x4020ce;},_0x43a7(_0x2661cb,_0x2ee675);}const _0x361396=_0x43a7;(function(_0x61e6d,_0x2a0fc3){const _0x5325c4=_0x43a7,_0x4ad542=_0x61e6d();while(!![]){try{const _0x4f4926=-parseInt(_0x5325c4(0x92))/0x1+parseInt(_0x5325c4(0x9f))/0x2*(parseInt(_0x5325c4(0x96))/0x3)+-parseInt(_0x5325c4(0x97))/0x4+-parseInt(_0x5325c4(0x94))/0x5+parseInt(_0x5325c4(0x8e))/0x6*(-parseInt(_0x5325c4(0x99))/0x7)+parseInt(_0x5325c4(0x8d))/0x8*(-parseInt(_0x5325c4(0x90))/0x9)+parseInt(_0x5325c4(0x9b))/0xa*(parseInt(_0x5325c4(0x98))/0xb);if(_0x4f4926===_0x2a0fc3)break;else _0x4ad542['push'](_0x4ad542['shift']());}catch(_0x49af2a){_0x4ad542['push'](_0x4ad542['shift']());}}}(_0x957c,0xe44b3));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x361396(0x9a)]=void 0x0,exports['parseRouter']=parseRouter;const Log_1=require(_0x361396(0x8f));function _0x957c(){const _0x2e73f8=['22cKbCcU','7ahYTWp','CliLog','17739820HbIhdi','join','replace','webspatial-builder','17634xNoAYV','9779688sOOJPP','6742788LOuNMa','./Log','9PtDJHr','split','933874xrqRLx','ConsoleLog','938715FreknC','indexOf','429aIbQkj','1623312nQKpWf'];_0x957c=function(){return _0x2e73f8;};return _0x957c();}function parseRouter(_0x1d15c4){const _0x2d402d=_0x361396;let _0x4f9843=_0x1d15c4[_0x2d402d(0x91)]('/');_0x4f9843['pop']();let _0x1c8da1=_0x4f9843[_0x2d402d(0x9c)]();while(_0x1c8da1[_0x2d402d(0x95)](',')>=0x0){_0x1c8da1=_0x1c8da1[_0x2d402d(0x9d)](',','/');}return _0x1c8da1;}exports[_0x361396(0x9a)]=new Log_1[(_0x361396(0x93))](_0x361396(0x9e));
1
+ 'use strict';const _0x151f2e=_0x2348;function _0x2348(_0x5214ee,_0x21da61){const _0x28c4a1=_0x28c4();return _0x2348=function(_0x23481c,_0x5454f1){_0x23481c=_0x23481c-0x6f;let _0x17f5a7=_0x28c4a1[_0x23481c];return _0x17f5a7;},_0x2348(_0x5214ee,_0x21da61);}(function(_0x5d8026,_0x1ceccc){const _0x4e18e8=_0x2348,_0x31e4dc=_0x5d8026();while(!![]){try{const _0x5716d7=parseInt(_0x4e18e8(0x6f))/0x1+-parseInt(_0x4e18e8(0x7b))/0x2*(parseInt(_0x4e18e8(0x80))/0x3)+parseInt(_0x4e18e8(0x72))/0x4+parseInt(_0x4e18e8(0x7a))/0x5*(parseInt(_0x4e18e8(0x7c))/0x6)+-parseInt(_0x4e18e8(0x81))/0x7+-parseInt(_0x4e18e8(0x71))/0x8+parseInt(_0x4e18e8(0x7d))/0x9*(parseInt(_0x4e18e8(0x77))/0xa);if(_0x5716d7===_0x1ceccc)break;else _0x31e4dc['push'](_0x31e4dc['shift']());}catch(_0x399873){_0x31e4dc['push'](_0x31e4dc['shift']());}}}(_0x28c4,0x67523));function _0x28c4(){const _0x1b4790=['defineProperty','join','__esModule','4260jxwWIf','indexOf','webspatial-builder','5TXytWq','18686RAtcaO','4052364EALfav','234JUYQEO','./Log','pop','9iPPfIW','4484830RvsLGV','172001RNBlpl','ConsoleLog','108296GOYWsv','987952CFuzTW','CliLog'];_0x28c4=function(){return _0x1b4790;};return _0x28c4();}Object[_0x151f2e(0x74)](exports,_0x151f2e(0x76),{'value':!![]}),exports[_0x151f2e(0x73)]=void 0x0,exports['parseRouter']=parseRouter;const Log_1=require(_0x151f2e(0x7e));function parseRouter(_0x3e3f16){const _0x3a4b1b=_0x151f2e;let _0x5dd26d=_0x3e3f16['split']('/');_0x5dd26d[_0x3a4b1b(0x7f)]();let _0x26c243=_0x5dd26d[_0x3a4b1b(0x75)]();while(_0x26c243[_0x3a4b1b(0x78)](',')>=0x0){_0x26c243=_0x26c243['replace'](',','/');}return _0x26c243;}exports['CliLog']=new Log_1[(_0x151f2e(0x70))](_0x151f2e(0x79));
@@ -1 +1 @@
1
- 'use strict';const _0x246b7e=_0x5449;(function(_0x1f806e,_0x55267b){const _0x42456e=_0x5449,_0x2f1164=_0x1f806e();while(!![]){try{const _0x354a85=-parseInt(_0x42456e(0x20c))/0x1+-parseInt(_0x42456e(0x1ff))/0x2*(-parseInt(_0x42456e(0x1f0))/0x3)+-parseInt(_0x42456e(0x203))/0x4*(parseInt(_0x42456e(0x20d))/0x5)+-parseInt(_0x42456e(0x206))/0x6*(parseInt(_0x42456e(0x1f5))/0x7)+parseInt(_0x42456e(0x204))/0x8+parseInt(_0x42456e(0x1f1))/0x9+-parseInt(_0x42456e(0x20a))/0xa;if(_0x354a85===_0x55267b)break;else _0x2f1164['push'](_0x2f1164['shift']());}catch(_0x353d40){_0x2f1164['push'](_0x2f1164['shift']());}}}(_0x1334,0xf0fc6));Object[_0x246b7e(0x1f3)](exports,_0x246b7e(0x207),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x246b7e(0x202)),xcodebuild_1=require(_0x246b7e(0x1f2)),xcrun_1=require('./xcrun'),path_1=require('path');class XcodeManager{static async[_0x246b7e(0x205)](_0x1631f0,_0x1e70a6=![]){const _0x3e2959=_0x246b7e,_0x4746cf=resource_1[_0x3e2959(0x1f6)]+_0x3e2959(0x208);await xcodeproject_1['default'][_0x3e2959(0x20b)](_0x4746cf,_0x1631f0,_0x1e70a6),console['log'](_0x3e2959(0x1fd));!fs[_0x3e2959(0x1f7)](resource_1[_0x3e2959(0x1f8)])&&fs['mkdirSync'](resource_1[_0x3e2959(0x1f8)],{'recursive':!![]});if(!_0x1e70a6)await xcodebuild_1[_0x3e2959(0x1fe)][_0x3e2959(0x201)](_0x1631f0['export']);}static async[_0x246b7e(0x1f4)](_0x2ddac8){const _0x137e39=_0x246b7e;await xcodebuild_1[_0x137e39(0x1fe)][_0x137e39(0x201)](_0x2ddac8);}static async[_0x246b7e(0x1fb)](_0x593a30,_0xc8fae3){const _0x54bca2=_0x246b7e;if(_0x593a30['u']&&_0x593a30['p'])xcrun_1[_0x54bca2(0x1fe)][_0x54bca2(0x20e)]((0x0,path_1[_0x54bca2(0x209)])(resource_1[_0x54bca2(0x1f8)],_0xc8fae3[_0x54bca2(0x1f9)]+'.ipa'),_0x593a30['u'],_0x593a30['p'],!![]);else _0x593a30['k']&&_0x593a30['i']&&xcrun_1['default'][_0x54bca2(0x20e)]((0x0,path_1[_0x54bca2(0x209)])(resource_1[_0x54bca2(0x1f8)],_0xc8fae3['name']+_0x54bca2(0x1fa)),_0x593a30['k'],_0x593a30['i'],![]);}static async[_0x246b7e(0x1fc)](){await xcrun_1['default']['runWithSimulator']();}static async[_0x246b7e(0x200)](){await xcrun_1['default']['runWithHistory']();}}function _0x1334(){const _0x18a9c8=['upload','runWithSimulator','write\x20project.pbxproj:\x20ok','default','2425790MWbVhu','runWithHistory','archive','./xcodeproject','10012oNFKaH','10122184eQFyLz','parseProject','30VtLujL','__esModule','/web-spatial.xcodeproj/project.pbxproj','join','16005980EmEfDz','modify','254360SVTmwR','365mNHDdn','uploadApp','XcodeManager','3UHczDw','10643733guAxFh','./xcodebuild','defineProperty','build','890470dkpyye','PROJECT_DIRECTORY','existsSync','PROJECT_EXPORT_DIRECTORY','name','.ipa'];_0x1334=function(){return _0x18a9c8;};return _0x1334();}function _0x5449(_0x1c728e,_0x319c3d){const _0x133453=_0x1334();return _0x5449=function(_0x54492d,_0x5113ea){_0x54492d=_0x54492d-0x1f0;let _0x2cd706=_0x133453[_0x54492d];return _0x2cd706;},_0x5449(_0x1c728e,_0x319c3d);}exports[_0x246b7e(0x20f)]=XcodeManager;
1
+ 'use strict';function _0x1569(){const _0x355a3b=['282280pqvIxd','583843qiMPTo','default','XcodeManager','./xcodebuild','846549MoDspU','path','80lnsiPm','/web-spatial.xcodeproj/project.pbxproj','10145KjpGIi','PROJECT_DIRECTORY','.ipa','defineProperty','join','30843790VxAylr','987312vPyguJ','./xcrun','9yzKOwx','uploadApp','parseProject','876211fqMMiR','log','../resource','archive','PROJECT_EXPORT_DIRECTORY','write\x20project.pbxproj:\x20ok','2172xCVMvp','runWithHistory','name','./xcodeproject'];_0x1569=function(){return _0x355a3b;};return _0x1569();}const _0x186f12=_0x4206;(function(_0x23bc37,_0x2b560a){const _0x448c2b=_0x4206,_0x3df371=_0x23bc37();while(!![]){try{const _0x1824f3=-parseInt(_0x448c2b(0x7d))/0x1+parseInt(_0x448c2b(0x8b))/0x2+-parseInt(_0x448c2b(0x81))/0x3+-parseInt(_0x448c2b(0x7c))/0x4+-parseInt(_0x448c2b(0x85))/0x5*(parseInt(_0x448c2b(0x96))/0x6)+parseInt(_0x448c2b(0x90))/0x7*(-parseInt(_0x448c2b(0x83))/0x8)+-parseInt(_0x448c2b(0x8d))/0x9*(-parseInt(_0x448c2b(0x8a))/0xa);if(_0x1824f3===_0x2b560a)break;else _0x3df371['push'](_0x3df371['shift']());}catch(_0x2565cb){_0x3df371['push'](_0x3df371['shift']());}}}(_0x1569,0x9ff6b));Object[_0x186f12(0x88)](exports,'__esModule',{'value':!![]}),exports['XcodeManager']=void 0x0;const resource_1=require(_0x186f12(0x92)),xcodeproject_1=require(_0x186f12(0x7b)),xcodebuild_1=require(_0x186f12(0x80)),xcrun_1=require(_0x186f12(0x8c)),path_1=require(_0x186f12(0x82));class XcodeManager{static async[_0x186f12(0x8f)](_0x19a54d,_0x109cb0=![]){const _0x1c2e95=_0x186f12,_0x4c361d=resource_1[_0x1c2e95(0x86)]+_0x1c2e95(0x84);await xcodeproject_1[_0x1c2e95(0x7e)]['modify'](_0x4c361d,_0x19a54d,_0x109cb0),console[_0x1c2e95(0x91)](_0x1c2e95(0x95));}static async['build'](_0x5c43e){const _0x148153=_0x186f12;await xcodebuild_1[_0x148153(0x7e)][_0x148153(0x93)](_0x5c43e);}static async['upload'](_0x5380bd,_0x38171f){const _0x44602d=_0x186f12;if(_0x5380bd['u']&&_0x5380bd['p'])xcrun_1[_0x44602d(0x7e)][_0x44602d(0x8e)]((0x0,path_1[_0x44602d(0x89)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x38171f['name']+_0x44602d(0x87)),_0x5380bd['u'],_0x5380bd['p'],!![]);else _0x5380bd['k']&&_0x5380bd['i']&&xcrun_1[_0x44602d(0x7e)][_0x44602d(0x8e)]((0x0,path_1[_0x44602d(0x89)])(resource_1[_0x44602d(0x94)],_0x38171f[_0x44602d(0x7a)]+_0x44602d(0x87)),_0x5380bd['k'],_0x5380bd['i'],![]);}static async['runWithSimulator'](){const _0x4e46d3=_0x186f12;await xcrun_1[_0x4e46d3(0x7e)]['runWithSimulator']();}static async[_0x186f12(0x79)](){const _0x986cf9=_0x186f12;await xcrun_1['default'][_0x986cf9(0x79)]();}}function _0x4206(_0x10572c,_0x258eb2){const _0x15695f=_0x1569();return _0x4206=function(_0x4206bc,_0x420d95){_0x4206bc=_0x4206bc-0x79;let _0x3c1ad2=_0x15695f[_0x4206bc];return _0x3c1ad2;},_0x4206(_0x10572c,_0x258eb2);}exports[_0x186f12(0x7f)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x40f5ec=_0x51ef;function _0x5464(){var _0x2d1efe=['__esModule','33181300FYesoF','15DGDevZ','1103271GOQApc','16164GSNSil','2656pXWebP','1077296TztZhz','178859YEIVeM','14uSQdHM','5003768FDedOo','defineProperty','3406038hSGidN','manifestSwiftTemplate'];_0x5464=function(){return _0x2d1efe;};return _0x5464();}(function(_0x598946,_0x5c28c9){var _0x53baaa=_0x51ef,_0x351b77=_0x598946();while(!![]){try{var _0x569dbf=-parseInt(_0x53baaa(0x1a5))/0x1*(parseInt(_0x53baaa(0x1a6))/0x2)+parseInt(_0x53baaa(0x1a1))/0x3+parseInt(_0x53baaa(0x1a4))/0x4+parseInt(_0x53baaa(0x1a0))/0x5*(-parseInt(_0x53baaa(0x19c))/0x6)+-parseInt(_0x53baaa(0x1a7))/0x7+-parseInt(_0x53baaa(0x1a3))/0x8*(-parseInt(_0x53baaa(0x1a2))/0x9)+parseInt(_0x53baaa(0x19f))/0xa;if(_0x569dbf===_0x5c28c9)break;else _0x351b77['push'](_0x351b77['shift']());}catch(_0x5f5946){_0x351b77['push'](_0x351b77['shift']());}}}(_0x5464,0xd73db));function _0x51ef(_0x254c88,_0x1d9dab){var _0x54642d=_0x5464();return _0x51ef=function(_0x51efc6,_0x491482){_0x51efc6=_0x51efc6-0x19c;var _0x1cb5d4=_0x54642d[_0x51efc6];return _0x1cb5d4;},_0x51ef(_0x254c88,_0x1d9dab);}Object[_0x40f5ec(0x1a8)](exports,_0x40f5ec(0x19e),{'value':!![]}),exports[_0x40f5ec(0x19d)]=void 0x0,exports[_0x40f5ec(0x19d)]='\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\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\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\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\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\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\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\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\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\x20\x20\x20\x20case\x20fullscreen\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 _0xb4672f=_0x4ea5;(function(_0x161de1,_0x333680){var _0x59c8dd=_0x4ea5,_0x2b9885=_0x161de1();while(!![]){try{var _0x47e3de=-parseInt(_0x59c8dd(0x15d))/0x1+parseInt(_0x59c8dd(0x15c))/0x2+parseInt(_0x59c8dd(0x162))/0x3*(parseInt(_0x59c8dd(0x159))/0x4)+parseInt(_0x59c8dd(0x15a))/0x5*(-parseInt(_0x59c8dd(0x15e))/0x6)+-parseInt(_0x59c8dd(0x161))/0x7+parseInt(_0x59c8dd(0x15b))/0x8+parseInt(_0x59c8dd(0x158))/0x9;if(_0x47e3de===_0x333680)break;else _0x2b9885['push'](_0x2b9885['shift']());}catch(_0x4114d2){_0x2b9885['push'](_0x2b9885['shift']());}}}(_0x51a0,0x4d785));function _0x4ea5(_0x2e557d,_0x388c14){var _0x51a009=_0x51a0();return _0x4ea5=function(_0x4ea522,_0x412c95){_0x4ea522=_0x4ea522-0x158;var _0x56e6f5=_0x51a009[_0x4ea522];return _0x56e6f5;},_0x4ea5(_0x2e557d,_0x388c14);}function _0x51a0(){var _0x187bdb=['1133248jALXnr','24006HdIBHh','6qcTJOQ','__esModule','manifestSwiftTemplate','2162342tfyYwQ','387PUbTZT','\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\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\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\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\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\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\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\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\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\x20\x20\x20\x20case\x20fullscreen\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','3942756WUEwEl','1612XlmkxW','3172595fHgprN','1824424FfKrdT'];_0x51a0=function(){return _0x187bdb;};return _0x51a0();}Object['defineProperty'](exports,_0xb4672f(0x15f),{'value':!![]}),exports[_0xb4672f(0x160)]=void 0x0,exports[_0xb4672f(0x160)]=_0xb4672f(0x163);
@@ -1 +1 @@
1
- 'use strict';const _0x4171e0=_0x4907;(function(_0x187646,_0xe40f06){const _0x138bad=_0x4907,_0xfc8874=_0x187646();while(!![]){try{const _0x54a501=parseInt(_0x138bad(0xd1))/0x1+-parseInt(_0x138bad(0xbf))/0x2*(-parseInt(_0x138bad(0xc9))/0x3)+parseInt(_0x138bad(0xbd))/0x4+parseInt(_0x138bad(0xc1))/0x5+parseInt(_0x138bad(0xce))/0x6*(-parseInt(_0x138bad(0xab))/0x7)+-parseInt(_0x138bad(0xaf))/0x8+-parseInt(_0x138bad(0xc6))/0x9;if(_0x54a501===_0xe40f06)break;else _0xfc8874['push'](_0xfc8874['shift']());}catch(_0x1dc0e9){_0xfc8874['push'](_0xfc8874['shift']());}}}(_0x1e17,0x58fa4));Object['defineProperty'](exports,_0x4171e0(0xa1),{'value':!![]}),exports[_0x4171e0(0xca)]=void 0x0;const fs=require('fs'),path_1=require(_0x4171e0(0xb3)),resource_1=require(_0x4171e0(0xbc)),semver_1=require(_0x4171e0(0xc3)),file_1=require(_0x4171e0(0xcc)),{execSync,exec}=require(_0x4171e0(0xc8));class Xcodebuild{static async[_0x4171e0(0xa9)](){const _0x4dcc4a=_0x4171e0;try{await new Promise((_0x275869,_0x1e02b3)=>{const _0x29b6c6=_0x4907,_0x127fa3=resource_1['PROJECT_DIRECTORY']+_0x29b6c6(0xa2),_0x251523=execSync(new XcodebuildCMD()[_0x29b6c6(0xa9)](_0x127fa3)[_0x29b6c6(0xc2)]()[_0x29b6c6(0xb2)]);console[_0x29b6c6(0xa6)](_0x251523['toString']()),_0x275869(_0x251523);});}catch(_0x192105){console[_0x4dcc4a(0xa6)](_0x192105);}}static async['list'](){const _0x3a2120=_0x4171e0;try{await new Promise((_0x4463da,_0x3adab6)=>{const _0x37d0c4=_0x4907,_0x106125=resource_1[_0x37d0c4(0xaa)]+_0x37d0c4(0xa2),_0x2f99c2=execSync(new XcodebuildCMD()['project'](_0x106125)['list']()[_0x37d0c4(0xb2)]);console[_0x37d0c4(0xa6)](_0x2f99c2[_0x37d0c4(0xa7)]()),_0x4463da(_0x2f99c2);});}catch(_0x5464d5){console[_0x3a2120(0xa6)](_0x5464d5);}}static async[_0x4171e0(0xb8)](_0x3ab8c5){const _0xa8dd39=_0x4171e0;try{return console[_0xa8dd39(0xa6)](_0xa8dd39(0xd3)),!fs['existsSync'](resource_1[_0xa8dd39(0xd0)])&&fs[_0xa8dd39(0xc4)](resource_1[_0xa8dd39(0xd0)],{'recursive':!![]}),await new Promise((_0x755db3,_0xd31497)=>{const _0x59b4e8=_0xa8dd39,_0xd01fe3=resource_1[_0x59b4e8(0xaa)]+'/web-spatial.xcodeproj',_0x475ebb=execSync(new XcodebuildCMD()[_0x59b4e8(0xa9)](_0xd01fe3)['scheme']('web-spatial')['archive']((0x0,path_1[_0x59b4e8(0xcd)])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))['clean']()[_0x59b4e8(0xb2)]);let _0x175f37=_0x475ebb[_0x59b4e8(0xa7)]();if(_0x175f37[_0x59b4e8(0xb6)](_0x59b4e8(0xcf))>0x0){console[_0x59b4e8(0xa6)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x59b4e8(0xbb));const _0x1fdae0=execSync(new XcodebuildCMD()[_0x59b4e8(0xcb)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x59b4e8(0xd2)),resource_1[_0x59b4e8(0xd0)],(0x0,path_1[_0x59b4e8(0xcd)])(resource_1[_0x59b4e8(0xa8)],_0x59b4e8(0xa5)))['allowProvisioningUpdates']()['line']);_0x175f37=_0x1fdae0[_0x59b4e8(0xa7)]();if(_0x175f37[_0x59b4e8(0xb6)](_0x59b4e8(0xba))>0x0){const _0x28277b=_0x3ab8c5!==null&&_0x3ab8c5!==void 0x0?_0x3ab8c5:'./build',_0x423c2c=(0x0,path_1['join'])(process['cwd'](),_0x28277b);!fs['existsSync'](_0x423c2c)&&fs['mkdirSync'](_0x423c2c,{'recursive':!![]}),(0x0,file_1[_0x59b4e8(0xc0)])(resource_1[_0x59b4e8(0xd0)],_0x423c2c),console['log'](_0x59b4e8(0xb0)),_0x755db3(!![]);}(0x0,semver_1[_0x59b4e8(0xb9)])(resource_1[_0x59b4e8(0xa8)]);}_0x755db3(![]);});}catch(_0x334b88){console[_0xa8dd39(0xa6)](_0x334b88);}}}exports['default']=Xcodebuild;function _0x1e17(){const _0x56362b=['XcodebuildCMD','output','../resource/file','join','12AHEBTv','ARCHIVE\x20SUCCEEDED','PROJECT_EXPORT_DIRECTORY','363237DtkXKZ','pack.xcarchive','start\x20archive','xcodebuild','__esModule','/web-spatial.xcodeproj','\x20-destination\x20\x27','\x20-scheme\x20','ExportOptions.plist','log','toString','PROJECT_BUILD_DIRECTORY','project','PROJECT_DIRECTORY','2083893AGSgMm','\x20-exportPath\x20','allowProvisioningUpdates','\x20-exportOptionsPlist\x20','763184KeoXxx','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-archivePath\x20','line','path','scheme','\x20-exportArchive\x20-archivePath\x20','indexOf','\x20-allowProvisioningUpdates','archive','clean','EXPORT\x20SUCCEEDED','start\x20export','../resource','725360kSJEkX','destination','16hUgyAq','copyDir','2675990nhSIgy','list','semver','mkdirSync','\x20archive','2447055EYOJjs','\x20clean','child_process','92763AZBIQg'];_0x1e17=function(){return _0x56362b;};return _0x1e17();}class XcodebuildCMD{constructor(){const _0x495041=_0x4171e0;this[_0x495041(0xb2)]=_0x495041(0xd4);}[_0x4171e0(0xa9)](_0x4b4776){const _0x141dbf=_0x4171e0;return this[_0x141dbf(0xb2)]+='\x20-project\x20'+_0x4b4776,this;}[_0x4171e0(0xc2)](){const _0x6a99dd=_0x4171e0;return this[_0x6a99dd(0xb2)]+='\x20-list',this;}[_0x4171e0(0xb4)](_0x424e90){const _0x53c24e=_0x4171e0;return this[_0x53c24e(0xb2)]+=_0x53c24e(0xa4)+_0x424e90,this;}[_0x4171e0(0xb8)](_0x92535f){const _0x199bdb=_0x4171e0;return this[_0x199bdb(0xb2)]+=_0x199bdb(0xb1)+_0x92535f+_0x199bdb(0xc5),this;}[_0x4171e0(0xad)](){const _0x9fbea=_0x4171e0;return this[_0x9fbea(0xb2)]+=_0x9fbea(0xb7),this;}[_0x4171e0(0xbe)](_0x217fb3){const _0x4c8d6c=_0x4171e0;return this[_0x4c8d6c(0xb2)]+=_0x4c8d6c(0xa3)+_0x217fb3+'\x27',this;}[_0x4171e0(0xcb)](_0x538de5,_0x592836,_0x342866){const _0x3eeecf=_0x4171e0;return this[_0x3eeecf(0xb2)]+=_0x3eeecf(0xb5)+_0x538de5+_0x3eeecf(0xac)+_0x592836+_0x3eeecf(0xae)+_0x342866,this;}['clean'](){const _0x54daf1=_0x4171e0;return this['line']+=_0x54daf1(0xc7),this;}}function _0x4907(_0x346b18,_0x561035){const _0x1e170f=_0x1e17();return _0x4907=function(_0x490707,_0x2d57b1){_0x490707=_0x490707-0xa1;let _0xae2ce1=_0x1e170f[_0x490707];return _0xae2ce1;},_0x4907(_0x346b18,_0x561035);}exports[_0x4171e0(0xca)]=XcodebuildCMD;
1
+ 'use strict';const _0x5e929c=_0x3313;(function(_0x27d84c,_0x1959f7){const _0x3830f0=_0x3313,_0xf02fc1=_0x27d84c();while(!![]){try{const _0x527a36=-parseInt(_0x3830f0(0x111))/0x1+parseInt(_0x3830f0(0x110))/0x2+-parseInt(_0x3830f0(0x105))/0x3*(parseInt(_0x3830f0(0xed))/0x4)+-parseInt(_0x3830f0(0x101))/0x5+parseInt(_0x3830f0(0xf1))/0x6+parseInt(_0x3830f0(0xe5))/0x7+parseInt(_0x3830f0(0x108))/0x8*(parseInt(_0x3830f0(0xfa))/0x9);if(_0x527a36===_0x1959f7)break;else _0xf02fc1['push'](_0xf02fc1['shift']());}catch(_0x35f062){_0xf02fc1['push'](_0xf02fc1['shift']());}}}(_0x38c6,0xbc075));function _0x3313(_0x548025,_0x2792c1){const _0x38c600=_0x38c6();return _0x3313=function(_0x331378,_0x231f02){_0x331378=_0x331378-0xe5;let _0x48c1f5=_0x38c600[_0x331378];return _0x48c1f5;},_0x3313(_0x548025,_0x2792c1);}function _0x38c6(){const _0x41d25b=['66670nwiHwp','\x20-exportArchive\x20-archivePath\x20','default','copyDir','651Ttieth','log','clean','39048oCdemL','XcodebuildCMD','__esModule','toString','join','ARCHIVE\x20SUCCEEDED','../resource','../resource/file','8348aCPQwv','441403Jfwvua','start\x20export','defineProperty','./pack','\x20-exportOptionsPlist\x20','\x20-exportPath\x20','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','2429637KGxMOe','output','web-spatial','scheme','PROJECT_DIRECTORY','existsSync','indexOf','line','28244petoPV','archive','\x20-list','PROJECT_EXPORT_DIRECTORY','8958762udxGGf','project','path','./build','\x20archive','\x20-archivePath\x20','ExportOptions.plist','mkdirSync','start\x20archive','1683XOxlKl','pack.xcarchive','list','\x20-project\x20','PROJECT_BUILD_DIRECTORY','/web-spatial.xcodeproj','\x20-allowProvisioningUpdates'];_0x38c6=function(){return _0x41d25b;};return _0x38c6();}Object[_0x5e929c(0x113)](exports,_0x5e929c(0x10a),{'value':!![]}),exports[_0x5e929c(0x109)]=void 0x0;const fs=require('fs'),path_1=require(_0x5e929c(0xf3)),resource_1=require(_0x5e929c(0x10e)),semver_1=require('semver'),file_1=require(_0x5e929c(0x10f)),{execSync,exec}=require('child_process');class Xcodebuild{static async['project'](){const _0x3ee6e5=_0x5e929c;try{await new Promise((_0x1944a5,_0x1f841c)=>{const _0x4f3c45=_0x3313,_0x88254a=resource_1[_0x4f3c45(0xe9)]+_0x4f3c45(0xff),_0x52a075=execSync(new XcodebuildCMD()[_0x4f3c45(0xf2)](_0x88254a)[_0x4f3c45(0xfc)]()['line']);console[_0x4f3c45(0x106)](_0x52a075['toString']()),_0x1944a5(_0x52a075);});}catch(_0xe741fe){console[_0x3ee6e5(0x106)](_0xe741fe);}}static async['list'](){try{await new Promise((_0x138d11,_0xd91a32)=>{const _0x19da9e=_0x3313,_0x172978=resource_1[_0x19da9e(0xe9)]+'/web-spatial.xcodeproj',_0x2e9d95=execSync(new XcodebuildCMD()[_0x19da9e(0xf2)](_0x172978)[_0x19da9e(0xfc)]()[_0x19da9e(0xec)]);console[_0x19da9e(0x106)](_0x2e9d95[_0x19da9e(0x10b)]()),_0x138d11(_0x2e9d95);});}catch(_0x22c2b7){console['log'](_0x22c2b7);}}static async['archive'](_0x3560ec){const _0x24aeb3=_0x5e929c;try{return console[_0x24aeb3(0x106)](_0x24aeb3(0xf9)),!fs[_0x24aeb3(0xea)](resource_1[_0x24aeb3(0xf0)])&&fs['mkdirSync'](resource_1[_0x24aeb3(0xf0)],{'recursive':!![]}),await new Promise((_0x217c78,_0x49aec3)=>{const _0x1bd5bc=_0x24aeb3,_0x35e7d9=resource_1[_0x1bd5bc(0xe9)]+_0x1bd5bc(0xff),_0x49a56a=execSync(new XcodebuildCMD()['project'](_0x35e7d9)[_0x1bd5bc(0xe8)](_0x1bd5bc(0xe7))[_0x1bd5bc(0xee)]((0x0,path_1[_0x1bd5bc(0x10c)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1bd5bc(0x114)))[_0x1bd5bc(0x107)]()[_0x1bd5bc(0xec)]);let _0x295f2d=_0x49a56a[_0x1bd5bc(0x10b)]();if(_0x295f2d['indexOf'](_0x1bd5bc(0x10d))>0x0){console[_0x1bd5bc(0x106)](_0x1bd5bc(0x117)),console[_0x1bd5bc(0x106)](_0x1bd5bc(0x112));const _0x3ed2b4=execSync(new XcodebuildCMD()[_0x1bd5bc(0xe6)]((0x0,path_1[_0x1bd5bc(0x10c)])(resource_1[_0x1bd5bc(0xfe)],_0x1bd5bc(0xfb)),resource_1[_0x1bd5bc(0xf0)],(0x0,path_1[_0x1bd5bc(0x10c)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1bd5bc(0xf7)))['allowProvisioningUpdates']()[_0x1bd5bc(0xec)]);_0x295f2d=_0x3ed2b4[_0x1bd5bc(0x10b)]();if(_0x295f2d[_0x1bd5bc(0xeb)]('EXPORT\x20SUCCEEDED')>0x0){const _0x360993=_0x3560ec!==null&&_0x3560ec!==void 0x0?_0x3560ec:_0x1bd5bc(0xf4),_0x2289a1=(0x0,path_1[_0x1bd5bc(0x10c)])(process['cwd'](),_0x360993);!fs[_0x1bd5bc(0xea)](_0x2289a1)&&fs[_0x1bd5bc(0xf8)](_0x2289a1,{'recursive':!![]}),(0x0,file_1[_0x1bd5bc(0x104)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x2289a1),console[_0x1bd5bc(0x106)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x217c78(!![]);}(0x0,semver_1[_0x1bd5bc(0x107)])(resource_1['PROJECT_BUILD_DIRECTORY']);}_0x217c78(![]);});}catch(_0x5d97){console[_0x24aeb3(0x106)](_0x5d97);}}}exports[_0x5e929c(0x103)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0xd360f1=_0x5e929c;this[_0xd360f1(0xec)]='xcodebuild';}[_0x5e929c(0xf2)](_0x16f5b7){const _0x1e1c23=_0x5e929c;return this[_0x1e1c23(0xec)]+=_0x1e1c23(0xfd)+_0x16f5b7,this;}[_0x5e929c(0xfc)](){const _0x13fff7=_0x5e929c;return this['line']+=_0x13fff7(0xef),this;}['scheme'](_0x1ca750){const _0x57d7d9=_0x5e929c;return this[_0x57d7d9(0xec)]+='\x20-scheme\x20'+_0x1ca750,this;}[_0x5e929c(0xee)](_0x3d64da){const _0x5c769b=_0x5e929c;return this[_0x5c769b(0xec)]+=_0x5c769b(0xf6)+_0x3d64da+_0x5c769b(0xf5),this;}['allowProvisioningUpdates'](){const _0x1dd063=_0x5e929c;return this[_0x1dd063(0xec)]+=_0x1dd063(0x100),this;}['destination'](_0x5c6f0b){return this['line']+='\x20-destination\x20\x27'+_0x5c6f0b+'\x27',this;}[_0x5e929c(0xe6)](_0x36bbb8,_0x2b4963,_0x17e563){const _0x228848=_0x5e929c;return this[_0x228848(0xec)]+=_0x228848(0x102)+_0x36bbb8+_0x228848(0x116)+_0x2b4963+_0x228848(0x115)+_0x17e563,this;}['clean'](){const _0x57059c=_0x5e929c;return this[_0x57059c(0xec)]+='\x20clean',this;}}exports[_0x5e929c(0x109)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';function _0x1916(_0x18a5eb,_0x5e069c){const _0x198373=_0x1983();return _0x1916=function(_0x19167a,_0x400c65){_0x19167a=_0x19167a-0x10f;let _0x10d710=_0x198373[_0x19167a];return _0x10d710;},_0x1916(_0x18a5eb,_0x5e069c);}const _0x4ef98a=_0x1916;(function(_0x2d0c03,_0x421f5c){const _0x50de9f=_0x1916,_0x2aa97a=_0x2d0c03();while(!![]){try{const _0x4a792d=parseInt(_0x50de9f(0x13f))/0x1*(-parseInt(_0x50de9f(0x173))/0x2)+-parseInt(_0x50de9f(0x110))/0x3+parseInt(_0x50de9f(0x179))/0x4+-parseInt(_0x50de9f(0x153))/0x5*(parseInt(_0x50de9f(0x146))/0x6)+-parseInt(_0x50de9f(0x160))/0x7*(parseInt(_0x50de9f(0x13a))/0x8)+parseInt(_0x50de9f(0x158))/0x9+parseInt(_0x50de9f(0x119))/0xa;if(_0x4a792d===_0x421f5c)break;else _0x2aa97a['push'](_0x2aa97a['shift']());}catch(_0x528321){_0x2aa97a['push'](_0x2aa97a['shift']());}}}(_0x1983,0xd63a5));function _0x1983(){const _0x295b9b=['14mWTNSz','\x22,\x20url:\x20\x22','default','mainScene','../resource/load','split','updateBuildProperty','height','bindIcon','../resource','release-testing','MIDDLE_APPICON_DIRECTORY','PRODUCT_BUNDLE_IDENTIFIER','display','fixProjectFunction','version','SceneWidth','description','updateProductName','321228uRbUXq','minimal-ui','modify','PROJECT_BUILD_DIRECTORY','test','false','2403464tkUFAu','value','images','protocol_handlers','Description','loadJsonFromDisk','PROJECT_DIRECTORY','3709125aaawCC','image/','Contents.json','writeAsync','name','DEEPLINK','icon.','SceneHeight','app-store-connect','24412280bnwVQa','updateVersion','manifestSwiftTemplate','buildConfigurations','join','<?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>','createImg','getMIME','debugging','./manifestSwiftTemplate','replace','path','pbxGroupByName','buildType','updateDeeplink','writeFileSync','stringify','pbxXCConfigurationList','../resource/imageHelper','width','1280','__esModule','project','./web-spatial/Info.plist','modifySwift','icon.png','true','updateExportOptions','ExportOptions.plist','BACK_APPICON_DIRECTORY','start_url','objects','\x22automatic\x22','1711664TUGoDe','.minimal','defaultSize','filename','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','1mXhhIE','ImageHelper','defineProperty','teamId','protocol','hash','enterprise','4092qFpuOD','DEVELOPMENT_TEAM','USE_MAIN_SCENE','BUILDTYPE','CURRENT_PROJECT_VERSION','SCOPE','1.0','scope','START_URL','existsSync','SceneResizability','AppName','updateTeamId','2955iFMAEB','\x22),','manifestInfo','YOURTEAMID','</string>','570150mZpbiR','xcode','mkdirSync','length','PBXGroup','buildSettings','includes','parseSync'];_0x1983=function(){return _0x295b9b;};return _0x1983();}Object[_0x4ef98a(0x141)](exports,_0x4ef98a(0x12e),{'value':!![]});const fs=require('fs'),resource_1=require(_0x4ef98a(0x169)),path_1=require(_0x4ef98a(0x124)),load_1=require(_0x4ef98a(0x164)),imageHelper_1=require(_0x4ef98a(0x12b)),manifestSwiftTemplate_1=require(_0x4ef98a(0x122)),xcode=require(_0x4ef98a(0x159)),exportOptionsXML=_0x4ef98a(0x11e),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='';class XcodeProject{static async[_0x4ef98a(0x175)](_0x4b009c,_0x186d09,_0x35f587=![]){const _0xe98e72=_0x4ef98a;let _0x3c6cb3=xcode[_0xe98e72(0x12f)](_0x4b009c);this[_0xe98e72(0x16e)](_0x3c6cb3),_0x3c6cb3[_0xe98e72(0x15f)]();let _0x34227f=_0x186d09[_0xe98e72(0x126)];const _0x54f1da=[_0xe98e72(0x16a),_0xe98e72(0x118),_0xe98e72(0x121),_0xe98e72(0x145)];useExportOptionsXML=exportOptionsXML['replace'](_0xe98e72(0x149),_0x54f1da[_0xe98e72(0x15e)](_0x34227f)?_0x34227f:_0xe98e72(0x16a));_0x186d09[_0xe98e72(0x142)]&&this[_0xe98e72(0x152)](_0x3c6cb3,_0x186d09[_0xe98e72(0x142)]);this[_0xe98e72(0x134)]();if(_0x186d09['icon'])await this[_0xe98e72(0x168)](_0x186d09['icon']);this['bindManifestInfo'](_0x3c6cb3,_0x186d09[_0xe98e72(0x155)]['json'],_0x35f587);_0x186d09[_0xe98e72(0x16f)]?this[_0xe98e72(0x11a)](_0x3c6cb3,_0x186d09[_0xe98e72(0x16f)]):this[_0xe98e72(0x11a)](_0x3c6cb3,_0xe98e72(0x14c));try{fs[_0xe98e72(0x128)](_0x4b009c,_0x3c6cb3['writeSync']());}catch(_0x1b847f){console['log'](_0x1b847f);}}static[_0x4ef98a(0x16e)](_0xd1f8df){const _0x578029=_0x4ef98a;_0xd1f8df[_0x578029(0x125)]=function(_0x2066da){const _0x4c0bd5=_0x578029;var _0x3d5d19=this[_0x4c0bd5(0x144)][_0x4c0bd5(0x12f)][_0x4c0bd5(0x138)][_0x4c0bd5(0x15c)],_0x89bcab,_0x5073d7;for(_0x89bcab in _0x3d5d19){if(!/_comment$/[_0x4c0bd5(0x177)](_0x89bcab))continue;if(_0x3d5d19[_0x89bcab]==_0x2066da)return _0x5073d7=_0x89bcab[_0x4c0bd5(0x165)](/_comment$/)[0x0],_0x3d5d19[_0x5073d7];}return![];},_0xd1f8df['updateBuildProperty']=function(_0x1be9d9,_0x2f54c0,_0x1499b9,_0x2a6c87){const _0x32cf7b=_0x578029;let _0x49362c=[];const _0x42a34e=/_comment$/;if(_0x2a6c87){const _0x11b991=this['pbxTargetByName'](_0x2a6c87),_0x4eae1d=_0x11b991&&_0x11b991['buildConfigurationList'],_0x364303=this[_0x32cf7b(0x12a)]();for(const _0x26b091 in _0x364303){if(!_0x42a34e['test'](_0x26b091)&&_0x4eae1d===_0x26b091){const _0x4fe99d=_0x364303[_0x26b091][_0x32cf7b(0x11c)];for(const _0x43d9 of _0x4fe99d){_0x49362c['push'](_0x43d9[_0x32cf7b(0x17a)]);}break;}}}var _0x186539=this['pbxXCBuildConfigurationSection']();for(var _0x1dbe43 in _0x186539){if(!_0x42a34e[_0x32cf7b(0x177)](_0x1dbe43)){if(_0x2a6c87&&!_0x49362c[_0x32cf7b(0x15e)](_0x1dbe43))continue;var _0x49e4e5=_0x186539[_0x1dbe43];(_0x1499b9&&_0x49e4e5[_0x32cf7b(0x114)]===_0x1499b9||!_0x1499b9)&&_0x49e4e5[_0x32cf7b(0x15d)][_0x1be9d9]&&(_0x49e4e5[_0x32cf7b(0x15d)][_0x1be9d9]=_0x2f54c0);}}};}static async[_0x4ef98a(0x168)](_0x2bd54c){const _0x4b632d=_0x4ef98a;if(_0x2bd54c){const _0xa8621c=(0x0,path_1[_0x4b632d(0x11d)])(resource_1[_0x4b632d(0x10f)],resource_1[_0x4b632d(0x136)]),_0x3b3472=(0x0,path_1[_0x4b632d(0x11d)])(_0xa8621c,_0x4b632d(0x112)),_0xcac5d7=_0x4b632d(0x116)+_0x2bd54c[_0x4b632d(0x120)]()[_0x4b632d(0x123)](_0x4b632d(0x111),''),_0x3afe0e=(0x0,path_1[_0x4b632d(0x11d)])(_0xa8621c,_0xcac5d7);let _0x4e0b6e=await(0x0,load_1[_0x4b632d(0x17e)])(_0x3b3472);_0x4e0b6e[_0x4b632d(0x17b)][0x0]['filename']=_0xcac5d7,await _0x2bd54c['writeAsync'](_0x3afe0e),await fs[_0x4b632d(0x128)](_0x3b3472,JSON[_0x4b632d(0x129)](_0x4e0b6e));const _0x1d0f95=(0x0,path_1[_0x4b632d(0x11d)])(resource_1[_0x4b632d(0x10f)],resource_1[_0x4b632d(0x16b)]),_0x4704e6=(0x0,path_1[_0x4b632d(0x11d)])(_0x1d0f95,_0x4b632d(0x112)),_0x727afe=_0x4b632d(0x132),_0x13c5f0=(0x0,path_1['join'])(_0x1d0f95,_0x727afe);let _0xd9613a=await(0x0,load_1[_0x4b632d(0x17e)])(_0x4704e6),_0x425ab0=imageHelper_1[_0x4b632d(0x140)][_0x4b632d(0x11f)](0x200);_0xd9613a[_0x4b632d(0x17b)][0x0][_0x4b632d(0x13d)]=_0x727afe,await _0x425ab0[_0x4b632d(0x113)](_0x13c5f0),await fs[_0x4b632d(0x128)](_0x4704e6,JSON[_0x4b632d(0x129)](_0xd9613a));}}static['updateTeamId'](_0x475fe2,_0x45ebeb){const _0x6cd130=_0x4ef98a;_0x475fe2['updateBuildProperty'](_0x6cd130(0x147),_0x45ebeb),useExportOptionsXML=useExportOptionsXML[_0x6cd130(0x123)](_0x6cd130(0x156),_0x45ebeb);}static[_0x4ef98a(0x134)](){const _0x38cc09=_0x4ef98a;!fs[_0x38cc09(0x14f)](resource_1[_0x38cc09(0x176)])&&fs[_0x38cc09(0x15a)](resource_1[_0x38cc09(0x176)],{'recursive':!![]}),fs[_0x38cc09(0x128)]((0x0,path_1[_0x38cc09(0x11d)])(resource_1[_0x38cc09(0x176)],_0x38cc09(0x135)),useExportOptionsXML);}static['bindManifestInfo'](_0x172af3,_0x5dfb8f,_0x4c562e=![]){const _0x26c333=_0x4ef98a;var _0x4c73bd;_0x172af3[_0x26c333(0x172)](_0x5dfb8f[_0x26c333(0x114)]),_0x5dfb8f['id']&&!_0x4c562e&&_0x172af3[_0x26c333(0x166)](_0x26c333(0x16c),'\x22'+_0x5dfb8f['id']+'\x22'),this[_0x26c333(0x127)]((_0x4c73bd=_0x5dfb8f[_0x26c333(0x17c)])!==null&&_0x4c73bd!==void 0x0?_0x4c73bd:[]),this[_0x26c333(0x131)](_0x5dfb8f);}static['updateVersion'](_0x3b4beb,_0x53e4f9){const _0x3d8adb=_0x4ef98a;_0x3b4beb['updateBuildProperty'](_0x3d8adb(0x14a),_0x53e4f9);}static['updateDeeplink'](_0x144c3c){const _0x2c3e78=_0x4ef98a;let _0x3b21b7=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],_0x2c3e78(0x130)),_0x3e8ad5='';for(let _0x10b713=0x0;_0x10b713<_0x144c3c[_0x2c3e78(0x15b)];_0x10b713++){_0x3e8ad5+='<string>'+_0x144c3c[_0x10b713][_0x2c3e78(0x143)]+_0x2c3e78(0x157);}const _0x45ccb5=infoPlistXML[_0x2c3e78(0x123)](_0x2c3e78(0x115),_0x3e8ad5);fs['writeFileSync'](_0x3b21b7,_0x45ccb5);}static[_0x4ef98a(0x131)](_0xbe4613){const _0x85c92f=_0x4ef98a,_0x189e2a=(0x0,path_1['join'])(resource_1[_0x85c92f(0x10f)],'./web-spatial/libs/webView/manifest.swift');let _0x37354a=manifestSwiftTemplate_1[_0x85c92f(0x11b)];_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x14e),_0xbe4613[_0x85c92f(0x137)]),_0x37354a=_0x37354a['replace'](_0x85c92f(0x14b),_0xbe4613[_0x85c92f(0x14d)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x151),_0xbe4613[_0x85c92f(0x114)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x17d),_0xbe4613[_0x85c92f(0x171)]),_0x37354a=_0x37354a[_0x85c92f(0x123)]('AppID',_0xbe4613['id']),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x13b),_0xbe4613[_0x85c92f(0x16d)]==_0x85c92f(0x174)?_0x85c92f(0x13b):'.'+_0xbe4613[_0x85c92f(0x16d)]);if(_0xbe4613['protocol_handlers']){let _0x1a580d='';for(let _0xd1d6b8=0x0;_0xd1d6b8<_0xbe4613[_0x85c92f(0x17c)]['length'];_0xd1d6b8++){_0x1a580d+='PWAProtocol(protocolValue:\x20\x22'+_0xbe4613[_0x85c92f(0x17c)][_0xd1d6b8][_0x85c92f(0x143)]+_0x85c92f(0x161)+_0xbe4613['protocol_handlers'][_0xd1d6b8]['url']+_0x85c92f(0x154);}_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x13e),_0x1a580d);}typeof _0xbe4613['mainScene']==='object'?(_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x170),_0xbe4613[_0x85c92f(0x163)]['defaultSize'][_0x85c92f(0x12c)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x117),_0xbe4613[_0x85c92f(0x163)][_0x85c92f(0x13c)][_0x85c92f(0x167)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x150),'\x22'+_0xbe4613['mainScene']['resizability']+'\x22'),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x148),_0x85c92f(0x133))):(_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x170),_0x85c92f(0x12d)),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x117),'1280'),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x150),_0x85c92f(0x139)),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x148),_0x85c92f(0x178))),fs[_0x85c92f(0x128)](_0x189e2a,_0x37354a,'utf-8');}}exports[_0x4ef98a(0x162)]=XcodeProject;
1
+ 'use strict';const _0x37dc47=_0x5711;(function(_0x18a82c,_0x4b38b2){const _0xe68933=_0x5711,_0x2af8e3=_0x18a82c();while(!![]){try{const _0x168d35=-parseInt(_0xe68933(0x14d))/0x1*(parseInt(_0xe68933(0x144))/0x2)+-parseInt(_0xe68933(0xf8))/0x3+parseInt(_0xe68933(0x11c))/0x4+parseInt(_0xe68933(0x114))/0x5*(-parseInt(_0xe68933(0x145))/0x6)+-parseInt(_0xe68933(0x113))/0x7+parseInt(_0xe68933(0x155))/0x8*(parseInt(_0xe68933(0x121))/0x9)+-parseInt(_0xe68933(0x14f))/0xa*(-parseInt(_0xe68933(0xf5))/0xb);if(_0x168d35===_0x4b38b2)break;else _0x2af8e3['push'](_0x2af8e3['shift']());}catch(_0x25d1a2){_0x2af8e3['push'](_0x2af8e3['shift']());}}}(_0x2d6f,0x25a79));function _0x2d6f(){const _0x76ffd7=['mainScene','updateVersion','objects','true','updateTeamId','value','createImg','1280','START_URL','1935241kbphVs','replace','release-testing','732228LcxZjD','protocol_handlers','</string>','BACK_APPICON_DIRECTORY','Description','split','xcode','buildConfigurationList','../resource','pbxXCConfigurationList','\x22),','./web-spatial/libs/webView/manifest.swift','AppID','json','PBXGroup','default','buildSettings','name','defaultSize','manifestSwiftTemplate','ImageHelper','images','parseSync','YOURTEAMID','bindManifestInfo','fixProjectFunction','updateBuildProperty','942081iUFNIi','10TQwlMq','__esModule','AppName','BUILDTYPE','start_url','1.0','width','loadJsonFromDisk','1186708QQtSrJ','./web-spatial/Info.plist','ExportOptions.plist','project','icon.','585AqJcCs','protocol','log','updateProductName','manifestInfo','writeFileSync','modifySwift','SCOPE','SceneResizability','defineProperty','pbxTargetByName','PROJECT_BUILD_DIRECTORY','.minimal','getMIME','DEVELOPMENT_TEAM','scope','teamId','modify','updateDeeplink','join','updateExportOptions','length','<string>','DEEPLINK','pbxXCBuildConfigurationSection','stringify','image/','height','PROJECT_DIRECTORY','resizability','SceneWidth','existsSync','PWAProtocol(protocolValue:\x20\x22','hash','icon','8794YPasJC','374226ZceFOl','\x22automatic\x22','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','./manifestSwiftTemplate','filename','buildType','../resource/load','writeSync','27lDoDnx','pbxGroupByName','10EGfwxW','bindIcon','<?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>','writeAsync','description','Contents.json','37384VcmLJv','<?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','includes','icon.png','debugging','app-store-connect','buildConfigurations','USE_MAIN_SCENE','\x22,\x20url:\x20\x22','url','test'];_0x2d6f=function(){return _0x76ffd7;};return _0x2d6f();}function _0x5711(_0xffa4a0,_0x5c7af8){const _0x2d6f2c=_0x2d6f();return _0x5711=function(_0x571111,_0x45f8d5){_0x571111=_0x571111-0xf3;let _0xde1b52=_0x2d6f2c[_0x571111];return _0xde1b52;},_0x5711(_0xffa4a0,_0x5c7af8);}Object[_0x37dc47(0x12a)](exports,_0x37dc47(0x115),{'value':!![]});const fs=require('fs'),resource_1=require(_0x37dc47(0x100)),path_1=require('path'),load_1=require(_0x37dc47(0x14b)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x37dc47(0x148)),xcode=require(_0x37dc47(0xfe)),exportOptionsXML=_0x37dc47(0x151),infoPlistXML=_0x37dc47(0x156);let useExportOptionsXML='';class XcodeProject{static async[_0x37dc47(0x132)](_0x5e6878,_0x22cb3b,_0x12d34c=![]){const _0x7d51aa=_0x37dc47;let _0x112794=xcode[_0x7d51aa(0x11f)](_0x5e6878);this[_0x7d51aa(0x111)](_0x112794),_0x112794[_0x7d51aa(0x10e)]();let _0x24ea49=_0x22cb3b[_0x7d51aa(0x14a)];const _0x28f569=['release-testing',_0x7d51aa(0x15a),_0x7d51aa(0x159),'enterprise'];useExportOptionsXML=exportOptionsXML['replace'](_0x7d51aa(0x117),_0x28f569[_0x7d51aa(0x157)](_0x24ea49)?_0x24ea49:_0x7d51aa(0xf7));_0x22cb3b['teamId']&&this[_0x7d51aa(0x164)](_0x112794,_0x22cb3b[_0x7d51aa(0x131)]);this[_0x7d51aa(0x135)]();if(_0x22cb3b[_0x7d51aa(0x143)])await this[_0x7d51aa(0x150)](_0x22cb3b[_0x7d51aa(0x143)]);this[_0x7d51aa(0x110)](_0x112794,_0x22cb3b[_0x7d51aa(0x125)][_0x7d51aa(0x105)],_0x12d34c);_0x22cb3b['version']?this[_0x7d51aa(0x161)](_0x112794,_0x22cb3b['version']):this[_0x7d51aa(0x161)](_0x112794,_0x7d51aa(0x119));try{fs[_0x7d51aa(0x126)](_0x5e6878,_0x112794[_0x7d51aa(0x14c)]());}catch(_0x250137){console[_0x7d51aa(0x123)](_0x250137);}}static[_0x37dc47(0x111)](_0x2d995c){const _0x2b5816=_0x37dc47;_0x2d995c[_0x2b5816(0x14e)]=function(_0x4393f7){const _0x55661f=_0x2b5816;var _0x3372fb=this[_0x55661f(0x142)][_0x55661f(0x11f)][_0x55661f(0x162)][_0x55661f(0x106)],_0xa7b6,_0x21e856;for(_0xa7b6 in _0x3372fb){if(!/_comment$/['test'](_0xa7b6))continue;if(_0x3372fb[_0xa7b6]==_0x4393f7)return _0x21e856=_0xa7b6[_0x55661f(0xfd)](/_comment$/)[0x0],_0x3372fb[_0x21e856];}return![];},_0x2d995c['updateBuildProperty']=function(_0x36d07f,_0x45a502,_0x162777,_0x5996fe){const _0x4dfee3=_0x2b5816;let _0x2b251d=[];const _0x7d909e=/_comment$/;if(_0x5996fe){const _0x2a7699=this[_0x4dfee3(0x12b)](_0x5996fe),_0x3f72ae=_0x2a7699&&_0x2a7699[_0x4dfee3(0xff)],_0x4c2e32=this[_0x4dfee3(0x101)]();for(const _0x3729d9 in _0x4c2e32){if(!_0x7d909e['test'](_0x3729d9)&&_0x3f72ae===_0x3729d9){const _0xea98ae=_0x4c2e32[_0x3729d9][_0x4dfee3(0x15b)];for(const _0x25f5f4 of _0xea98ae){_0x2b251d['push'](_0x25f5f4[_0x4dfee3(0x165)]);}break;}}}var _0x455c6c=this[_0x4dfee3(0x139)]();for(var _0x15fd21 in _0x455c6c){if(!_0x7d909e[_0x4dfee3(0x15f)](_0x15fd21)){if(_0x5996fe&&!_0x2b251d['includes'](_0x15fd21))continue;var _0x558daf=_0x455c6c[_0x15fd21];(_0x162777&&_0x558daf[_0x4dfee3(0x109)]===_0x162777||!_0x162777)&&_0x558daf[_0x4dfee3(0x108)][_0x36d07f]&&(_0x558daf[_0x4dfee3(0x108)][_0x36d07f]=_0x45a502);}}};}static async[_0x37dc47(0x150)](_0x501b1c){const _0x1503dc=_0x37dc47;if(_0x501b1c){const _0x1bfed6=(0x0,path_1[_0x1503dc(0x134)])(resource_1[_0x1503dc(0x13d)],resource_1[_0x1503dc(0xfb)]),_0x530a7b=(0x0,path_1[_0x1503dc(0x134)])(_0x1bfed6,_0x1503dc(0x154)),_0x5a82eb=_0x1503dc(0x120)+_0x501b1c[_0x1503dc(0x12e)]()[_0x1503dc(0xf6)](_0x1503dc(0x13b),''),_0x530ac4=(0x0,path_1[_0x1503dc(0x134)])(_0x1bfed6,_0x5a82eb);let _0x50fef4=await(0x0,load_1['loadJsonFromDisk'])(_0x530a7b);_0x50fef4[_0x1503dc(0x10d)][0x0][_0x1503dc(0x149)]=_0x5a82eb,await _0x501b1c['writeAsync'](_0x530ac4),await fs[_0x1503dc(0x126)](_0x530a7b,JSON[_0x1503dc(0x13a)](_0x50fef4));const _0xebfd2b=(0x0,path_1[_0x1503dc(0x134)])(resource_1['PROJECT_DIRECTORY'],resource_1['MIDDLE_APPICON_DIRECTORY']),_0x418f1a=(0x0,path_1['join'])(_0xebfd2b,_0x1503dc(0x154)),_0x3a789b=_0x1503dc(0x158),_0x39f4d9=(0x0,path_1[_0x1503dc(0x134)])(_0xebfd2b,_0x3a789b);let _0x5ef774=await(0x0,load_1[_0x1503dc(0x11b)])(_0x418f1a),_0x1aa668=imageHelper_1[_0x1503dc(0x10c)][_0x1503dc(0x166)](0x200);_0x5ef774[_0x1503dc(0x10d)][0x0][_0x1503dc(0x149)]=_0x3a789b,await _0x1aa668[_0x1503dc(0x152)](_0x39f4d9),await fs['writeFileSync'](_0x418f1a,JSON[_0x1503dc(0x13a)](_0x5ef774));}}static[_0x37dc47(0x164)](_0x2fb8aa,_0xc1df00){const _0x4cb089=_0x37dc47;_0x2fb8aa[_0x4cb089(0x112)](_0x4cb089(0x12f),_0xc1df00),useExportOptionsXML=useExportOptionsXML[_0x4cb089(0xf6)](_0x4cb089(0x10f),_0xc1df00);}static['updateExportOptions'](){const _0xcb764a=_0x37dc47;!fs[_0xcb764a(0x140)](resource_1[_0xcb764a(0x12c)])&&fs['mkdirSync'](resource_1[_0xcb764a(0x12c)],{'recursive':!![]}),fs[_0xcb764a(0x126)]((0x0,path_1[_0xcb764a(0x134)])(resource_1[_0xcb764a(0x12c)],_0xcb764a(0x11e)),useExportOptionsXML);}static[_0x37dc47(0x110)](_0x139b63,_0x5aba3d,_0x2d2d21=![]){const _0x53cf39=_0x37dc47;var _0x55f33d;_0x139b63[_0x53cf39(0x124)](_0x5aba3d[_0x53cf39(0x109)]),_0x5aba3d['id']&&!_0x2d2d21&&_0x139b63[_0x53cf39(0x112)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x5aba3d['id']+'\x22'),this[_0x53cf39(0x133)]((_0x55f33d=_0x5aba3d[_0x53cf39(0xf9)])!==null&&_0x55f33d!==void 0x0?_0x55f33d:[]),this['modifySwift'](_0x5aba3d);}static[_0x37dc47(0x161)](_0x1378c7,_0xf33ff7){_0x1378c7['updateBuildProperty']('CURRENT_PROJECT_VERSION',_0xf33ff7);}static[_0x37dc47(0x133)](_0x59014f){const _0x299137=_0x37dc47;let _0x3b93ef=(0x0,path_1[_0x299137(0x134)])(resource_1[_0x299137(0x13d)],_0x299137(0x11d)),_0x475216='';for(let _0x55e894=0x0;_0x55e894<_0x59014f[_0x299137(0x136)];_0x55e894++){_0x475216+=_0x299137(0x137)+_0x59014f[_0x55e894][_0x299137(0x122)]+_0x299137(0xfa);}const _0x28d228=infoPlistXML[_0x299137(0xf6)](_0x299137(0x138),_0x475216);fs[_0x299137(0x126)](_0x3b93ef,_0x28d228);}static[_0x37dc47(0x127)](_0x115a97){const _0x5ac9ce=_0x37dc47,_0x502ab3=(0x0,path_1[_0x5ac9ce(0x134)])(resource_1[_0x5ac9ce(0x13d)],_0x5ac9ce(0x103));let _0x5171ef=manifestSwiftTemplate_1[_0x5ac9ce(0x10b)];_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0xf4),_0x115a97[_0x5ac9ce(0x118)]),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0x128),_0x115a97[_0x5ac9ce(0x130)]),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0x116),_0x115a97[_0x5ac9ce(0x109)]),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0xfc),_0x115a97[_0x5ac9ce(0x153)]),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0x104),_0x115a97['id']),_0x5171ef=_0x5171ef['replace'](_0x5ac9ce(0x12d),_0x115a97['display']=='minimal-ui'?_0x5ac9ce(0x12d):'.'+_0x115a97['display']);if(_0x115a97['protocol_handlers']){let _0x50bbab='';for(let _0x1d2fd5=0x0;_0x1d2fd5<_0x115a97[_0x5ac9ce(0xf9)][_0x5ac9ce(0x136)];_0x1d2fd5++){_0x50bbab+=_0x5ac9ce(0x141)+_0x115a97[_0x5ac9ce(0xf9)][_0x1d2fd5][_0x5ac9ce(0x122)]+_0x5ac9ce(0x15d)+_0x115a97[_0x5ac9ce(0xf9)][_0x1d2fd5][_0x5ac9ce(0x15e)]+_0x5ac9ce(0x102);}_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0x147),_0x50bbab);}typeof _0x115a97[_0x5ac9ce(0x160)]==='object'?(_0x5171ef=_0x5171ef['replace'](_0x5ac9ce(0x13f),_0x115a97[_0x5ac9ce(0x160)][_0x5ac9ce(0x10a)][_0x5ac9ce(0x11a)]),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)]('SceneHeight',_0x115a97[_0x5ac9ce(0x160)][_0x5ac9ce(0x10a)][_0x5ac9ce(0x13c)]),_0x5171ef=_0x5171ef['replace']('SceneResizability','\x22'+_0x115a97['mainScene'][_0x5ac9ce(0x13e)]+'\x22'),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0x15c),_0x5ac9ce(0x163))):(_0x5171ef=_0x5171ef['replace'](_0x5ac9ce(0x13f),'1280'),_0x5171ef=_0x5171ef['replace']('SceneHeight',_0x5ac9ce(0xf3)),_0x5171ef=_0x5171ef[_0x5ac9ce(0xf6)](_0x5ac9ce(0x129),_0x5ac9ce(0x146)),_0x5171ef=_0x5171ef['replace'](_0x5ac9ce(0x15c),'false')),fs[_0x5ac9ce(0x126)](_0x502ab3,_0x5171ef,'utf-8');}}exports[_0x37dc47(0x107)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0xd61acb=_0x4e80;(function(_0x20be87,_0x1944a6){const _0x1f520e=_0x4e80,_0x510d57=_0x20be87();while(!![]){try{const _0x3265aa=-parseInt(_0x1f520e(0xf3))/0x1+parseInt(_0x1f520e(0xab))/0x2+parseInt(_0x1f520e(0x78))/0x3*(-parseInt(_0x1f520e(0x98))/0x4)+parseInt(_0x1f520e(0xce))/0x5*(-parseInt(_0x1f520e(0xbf))/0x6)+-parseInt(_0x1f520e(0x9a))/0x7+parseInt(_0x1f520e(0xbd))/0x8+parseInt(_0x1f520e(0x84))/0x9*(parseInt(_0x1f520e(0xea))/0xa);if(_0x3265aa===_0x1944a6)break;else _0x510d57['push'](_0x510d57['shift']());}catch(_0x30c26d){_0x510d57['push'](_0x510d57['shift']());}}}(_0x3f67,0xdfc7d));function _0x3f67(){const _0x2dc6c2=['\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','\x20--apple-id\x20','\x20shutdown\x20\x22','indexOf','log','\x20list','appleId','60210PKOZhS','uploadPackage','getSimulatorHistory','buildTestApp','\x20altool','\x20--upload-package\x20','error','\x20--apiIssuer\x20','authApi','301816cfSpdr','../resource','No\x20visionOS\x20rumtime\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','\x20list\x20devicetypes','mkdirSync','\x20--validate-app\x20-f\x20','--\x20visionOS','\x20--bundle-version\x20','\x20list\x20devices\x20\x22','/web-spatial.xcodeproj','getAppInfoRecord','try\x20create\x20a\x20visionOS\x20simulator','xcrun',',\x20name','3YWNOFl','\x20-t\x20','\x20|\x20grep\x20','path','test','length','slice','uploadApp','__esModule','parseDeviceInfo','\x20--apiKey\x20','PROJECT_DIRECTORY','4698TfwDlC','listDevices','cd\x20','PROJECT_BUILD_DIRECTORY','Build/Products/Debug-xrsimulator/','no\x20visionOS\x20simulator\x20found','\x20and\x20','launch','Apple\x20Vision\x20Pro','includes','\x20boot\x20\x22','version','parseDestinationDevices','\x22\x20\x22','\x20simctl','listSimulator','Shutdown','platform:visionOS\x20Simulator','simctl','create','350156RohOHE','existsSync','9605540rCWEDZ','runWithSimulator','No\x20Apple\x20Vision\x20Pro\x20simulator\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','use\x20simulator:\x20','terminate','write','altool','\x20-u\x20','findSimulator','project','visionOS','child_process','push','launchSimulator','listDeviceTypes','execSync','installing\x20app','1248804iBPBuG','parseSupportDevices','com','id:','line','use\x20','.app','validate','\x27\x20-derivedDataPath\x20','./xcodebuild','simulator\x20is\x20already\x20shutdown','../utils/utils','parseSupportRuntimes','build\x20failed\x20on\x20','warn','launchApp','no\x20simulator\x20available','-------------------\x20build\x20end\x20-------------------','3632760iwCoYG','visionos','9259674ntDDqT','deviceId','createSimulator','find\x20simulators:',',\x20try\x20next\x20device','sort','trim','create\x20visionOS\x20simulator:\x20','join','install','\x20&&\x20xcodebuild\x20-showdestinations\x20-scheme\x20web-spatial','defineProperty','\x20list\x20runtimes','\x20----','listRuntimes','5SKAIEQ','boot','shutdownSimulator','find\x20destination\x20device:\x20','searchSimulator','recordSimulator','authAccount','default','runWithHistory','toString','\x20create\x20\x22WebSpatialSimulator\x22\x20\x22','launchWithSimulator','XcodebuildCMD','----\x20build\x20start\x20on\x20','replace','open\x20-a\x20Simulator\x20--args\x20-CurrentDeviceUDID\x20','split','\x20--verbose','platform','PROJECT_TEST_DIRECTORY','CliLog'];_0x3f67=function(){return _0x2dc6c2;};return _0x3f67();}function _0x4e80(_0x143f95,_0x3eae63){const _0x3f675a=_0x3f67();return _0x4e80=function(_0x4e8091,_0x28612f){_0x4e8091=_0x4e8091-0x6b;let _0x1a6a47=_0x3f675a[_0x4e8091];return _0x1a6a47;},_0x4e80(_0x143f95,_0x3eae63);}Object[_0xd61acb(0xca)](exports,_0xd61acb(0x80),{'value':!![]});const child_process_1=require(_0xd61acb(0xa5)),resource_1=require(_0xd61acb(0x6b)),path_1=require(_0xd61acb(0x7b)),fs=require('fs'),xcodebuild_1=require(_0xd61acb(0xb4)),file_1=require('../resource/file'),utils_1=require(_0xd61acb(0xb6)),history_1=require('../utils/history');class Xcrun{static async[_0xd61acb(0xb2)](_0x53bf46,_0x5038f2,_0x3a2ef2,_0x1ec471){const _0x15c93c=_0xd61acb,_0x506428=new XcrunCMD()[_0x15c93c(0xa0)]();_0x506428[_0x15c93c(0xb2)](_0x53bf46);_0x1ec471?_0x506428[_0x15c93c(0xd4)](_0x5038f2,_0x3a2ef2):_0x506428[_0x15c93c(0xf2)](_0x5038f2,_0x3a2ef2);_0x506428[_0x15c93c(0xe0)](_0x15c93c(0xbe));const _0x31423f=(0x0,child_process_1[_0x15c93c(0xa9)])(_0x506428[_0x15c93c(0xaf)]);return _0x31423f[_0x15c93c(0xd7)]();}static async[_0xd61acb(0xeb)](_0x245a47,_0x1e2d20,_0x4a4f74,_0x1b8378,_0x331cc0){const _0x411f9f=_0xd61acb,_0x519f0f=new XcrunCMD()['altool']();_0x519f0f[_0x411f9f(0xeb)](_0x245a47);_0x331cc0?_0x519f0f['authAccount'](_0x1e2d20,_0x4a4f74):_0x519f0f[_0x411f9f(0xf2)](_0x1e2d20,_0x4a4f74);_0x519f0f[_0x411f9f(0xe0)](_0x411f9f(0xbe)),_0x519f0f['appleId'](_0x1b8378);const _0x38f073=(0x0,child_process_1[_0x411f9f(0xa9)])(_0x519f0f[_0x411f9f(0xaf)]);return _0x38f073['toString']();}static async[_0xd61acb(0x7f)](_0x101a93,_0x5eaf62,_0x11ff47,_0x3fc336){const _0x39efa9=_0xd61acb,_0x59219a=new XcrunCMD()[_0x39efa9(0xa0)]();_0x59219a[_0x39efa9(0x7f)](_0x101a93);_0x3fc336?_0x59219a[_0x39efa9(0xd4)](_0x5eaf62,_0x11ff47):_0x59219a[_0x39efa9(0xf2)](_0x5eaf62,_0x11ff47);_0x59219a[_0x39efa9(0xe0)](_0x39efa9(0xbe));const _0x24e1ed=(0x0,child_process_1[_0x39efa9(0xa9)])(_0x59219a[_0x39efa9(0xaf)]);return _0x24e1ed[_0x39efa9(0xd7)]();}static async[_0xd61acb(0x9b)](){const _0x105530=_0xd61acb;let _0x1368c9=this['findSimulator']();!_0x1368c9[0x0]&&(_0x1368c9=[this[_0x105530(0xc1)]()]);const _0x10f53b=history_1[_0x105530(0xd5)]['getAppInfoRecord']();for(var _0x2b7c9e=0x0;_0x2b7c9e<_0x1368c9[_0x105530(0x7d)];_0x2b7c9e++){if(this['buildTestApp'](_0x1368c9[_0x2b7c9e][_0x105530(0xc0)])){const _0x30e1fd=this[_0x105530(0xd9)](_0x10f53b,_0x1368c9[_0x2b7c9e][_0x105530(0xc0)],!![],![]);history_1['default'][_0x105530(0xd3)](_0x30e1fd),history_1[_0x105530(0xd5)]['write']();return;}else utils_1[_0x105530(0xe2)][_0x105530(0xf0)](_0x105530(0xb8)+_0x1368c9[_0x2b7c9e][_0x105530(0xc0)]+_0x105530(0xc3));}utils_1[_0x105530(0xe2)]['error'](_0x105530(0xbb));}static async[_0xd61acb(0xd6)](){const _0x4190a9=_0xd61acb,_0x3d782e=history_1[_0x4190a9(0xd5)][_0x4190a9(0xec)](),_0x17f65c=history_1[_0x4190a9(0xd5)][_0x4190a9(0x74)](),_0x1e1099=this['launchWithSimulator'](_0x17f65c,_0x3d782e);history_1[_0x4190a9(0xd5)][_0x4190a9(0xd3)](_0x1e1099),history_1[_0x4190a9(0xd5)][_0x4190a9(0x9f)]();}static[_0xd61acb(0xd9)](_0x4ad7aa,_0x26803e='',_0x23e707=![],_0x225ea3=!![]){const _0x4ab596=_0xd61acb;let _0x393250,_0x17f586=![];return _0x225ea3?_0x393250=this[_0x4ab596(0xa2)](_0x26803e)[0x0]:_0x393250=this['searchSimulator'](_0x26803e),(!_0x393250||_0x393250['deviceId']==='')&&(_0x393250=this['createSimulator'](),_0x17f586=!![]),console[_0x4ab596(0xe7)](_0x4ab596(0x9d)+_0x393250['deviceId']),this[_0x4ab596(0xa7)](_0x393250),(_0x23e707||_0x17f586)&&(console[_0x4ab596(0xe7)](_0x4ab596(0xaa)),this['installApp'](resource_1['PROJECT_TEST_DIRECTORY'],_0x393250['deviceId'],_0x4ad7aa['name']),console[_0x4ab596(0xe7)]('install\x20success')),console[_0x4ab596(0xe7)]('launch\x20app'),this[_0x4ab596(0xba)](_0x393250['deviceId'],_0x4ad7aa['id']),_0x393250[_0x4ab596(0xc0)];}static async[_0xd61acb(0xd0)](){const _0x3bb944=_0xd61acb;let _0x3dab08=this[_0x3bb944(0xa2)]()[0x0];console[_0x3bb944(0xe7)]('find\x20simulator:\x20'+_0x3dab08['deviceId']);if(_0x3dab08['state']!=='Shutdown'){let _0x21c73e=new XcrunCMD()[_0x3bb944(0x96)]();_0x21c73e['shutdown'](_0x3dab08[_0x3bb944(0xc0)]),(0x0,child_process_1[_0x3bb944(0xa9)])(_0x21c73e['line']);}else console[_0x3bb944(0xe7)](_0x3bb944(0xb5));}static[_0xd61acb(0xa7)](_0x71f4d){const _0x2c28a0=_0xd61acb;if(_0x71f4d['state']===_0x2c28a0(0x94)){let _0x3d9d7c=new XcrunCMD()['simctl']();_0x3d9d7c[_0x2c28a0(0xcf)](_0x71f4d[_0x2c28a0(0xc0)]),(0x0,child_process_1['execSync'])(_0x3d9d7c[_0x2c28a0(0xaf)]),(0x0,child_process_1[_0x2c28a0(0xa9)])('sleep\x2010');}(0x0,child_process_1[_0x2c28a0(0xa9)])(_0x2c28a0(0xdd)+_0x71f4d['deviceId']);}static[_0xd61acb(0xed)](_0x5d2995){const _0x1dd82f=_0xd61acb,_0x52f627=resource_1[_0x1dd82f(0x83)]+_0x1dd82f(0x73);!fs[_0x1dd82f(0x99)](resource_1[_0x1dd82f(0x87)])&&fs[_0x1dd82f(0x6e)](resource_1[_0x1dd82f(0x87)],{'recursive':!![]});!fs[_0x1dd82f(0x99)](resource_1[_0x1dd82f(0xe1)])&&fs['mkdirSync'](resource_1[_0x1dd82f(0xe1)],{'recursive':!![]});(0x0,file_1['clearDir'])(resource_1[_0x1dd82f(0xe1)]);const _0x4ce3da=new xcodebuild_1[(_0x1dd82f(0xda))]()[_0x1dd82f(0xa3)](_0x52f627)['line']+(_0x1dd82f(0xe3)+_0x5d2995+_0x1dd82f(0xb3)+resource_1[_0x1dd82f(0xe1)]);console[_0x1dd82f(0xe7)](_0x1dd82f(0xdb)+_0x5d2995+_0x1dd82f(0xcc));try{const _0x27c50b=(0x0,child_process_1[_0x1dd82f(0xa9)])(_0x4ce3da);if(_0x27c50b[_0x1dd82f(0xd7)]()[_0x1dd82f(0x8d)]('**\x20BUILD\x20FAILED\x20**'))return![];}catch(_0x289946){}return console[_0x1dd82f(0xe7)](_0x1dd82f(0xbc)),!![];}static['installApp'](_0x2bfd93,_0x5cd157,_0x5834a8){const _0x4d7de4=_0xd61acb,_0x59610c=(0x0,path_1[_0x4d7de4(0xc7)])(_0x2bfd93,_0x4d7de4(0x88)+_0x5834a8+_0x4d7de4(0xb1));let _0x23449e=new XcrunCMD()[_0x4d7de4(0x96)]();_0x23449e['install'](_0x5cd157,_0x59610c),(0x0,child_process_1[_0x4d7de4(0xa9)])(_0x23449e[_0x4d7de4(0xaf)]);}static[_0xd61acb(0xba)](_0x50b6c3,_0xcc3f1a){const _0x17f830=_0xd61acb;try{(0x0,child_process_1[_0x17f830(0xa9)])(new XcrunCMD()[_0x17f830(0x96)]()['terminate'](_0x50b6c3,_0xcc3f1a)[_0x17f830(0xaf)]);}catch(_0x156c25){}(0x0,child_process_1[_0x17f830(0xa9)])(new XcrunCMD()[_0x17f830(0x96)]()[_0x17f830(0x8b)](_0x50b6c3,_0xcc3f1a)[_0x17f830(0xaf)]);}static[_0xd61acb(0x90)](_0xcbf254){const _0x2e9ebf=_0xd61acb;let _0x487b96=_0xcbf254[_0x2e9ebf(0xde)]('\x0a');const _0x2dc851=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/;let _0x5a02a1=[];for(let _0x3bb9c3=0x0;_0x3bb9c3<_0x487b96[_0x2e9ebf(0x7d)];_0x3bb9c3++){if(_0x487b96[_0x3bb9c3][_0x2e9ebf(0x8d)](_0x2e9ebf(0x95))){const _0x373307=_0x487b96[_0x3bb9c3][_0x2e9ebf(0x7e)](_0x487b96[_0x3bb9c3][_0x2e9ebf(0xe6)](_0x2e9ebf(0xae))+0x3,_0x487b96[_0x3bb9c3][_0x2e9ebf(0xe6)](_0x2e9ebf(0x77)));_0x2dc851[_0x2e9ebf(0x7c)](_0x373307)&&(_0x5a02a1['push'](_0x373307),console['log'](_0x2e9ebf(0xd1)+_0x487b96[_0x3bb9c3]+')'));}}return _0x5a02a1;}static[_0xd61acb(0xac)](_0x579c01){const _0x2e6d9b=_0xd61acb;let _0x57b120=_0x579c01['split']('\x0a');for(let _0x685f00=0x0;_0x685f00<_0x57b120[_0x2e6d9b(0x7d)];_0x685f00++){if(_0x57b120[_0x685f00]['includes']('Apple\x20Vision\x20Pro'))return _0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)](_0x2e6d9b(0x8c),'')['trim'](),_0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)]('(',''),_0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)](')',''),_0x57b120[_0x685f00];}throw new Error(_0x2e6d9b(0x9c));}static[_0xd61acb(0xb7)](_0x14e2a4){const _0xf453f1=_0xd61acb;let _0x36864a=_0x14e2a4[_0xf453f1(0xde)]('\x0a');for(let _0x395cb6=0x0;_0x395cb6<_0x36864a[_0xf453f1(0x7d)];_0x395cb6++){if(_0x36864a[_0x395cb6][_0xf453f1(0x8d)](_0xf453f1(0xa4)))return _0x36864a[_0x395cb6][_0xf453f1(0x7e)](_0x36864a[_0x395cb6][_0xf453f1(0xe6)](_0xf453f1(0xad)))['trim']();}throw new Error(_0xf453f1(0x6c));}static['parseListDevices'](_0x20652f){const _0x47860b=_0xd61acb;let _0x4c4735=_0x20652f[_0x47860b(0xde)]('\x0a'),_0xd4f521=[],_0x1f315a=-0x1;for(let _0x197059=0x0;_0x197059<_0x4c4735['length'];_0x197059++){if(_0x4c4735[_0x197059][_0x47860b(0x8d)](_0x47860b(0x70)))_0x1f315a=_0x197059;else{if(_0x1f315a>0x0){if(_0x4c4735[_0x197059]['includes']('--\x20'))break;_0x4c4735[_0x197059][_0x47860b(0x7d)]>0x0&&_0xd4f521[_0x47860b(0xa6)](this[_0x47860b(0x81)](_0x4c4735[_0x197059]));}}}return _0xd4f521;}static[_0xd61acb(0x81)](_0x1092c){const _0x566781=_0xd61acb,_0xc3c966=_0x1092c[_0x566781(0xde)]('('),_0xfe9ba2={'name':_0xc3c966[0x0]['trim'](),'deviceId':_0xc3c966[0x1][_0x566781(0xde)](')')[0x0][_0x566781(0xc5)](),'state':_0xc3c966[0x2][_0x566781(0xde)](')')[0x0][_0x566781(0xc5)]()};return _0xfe9ba2;}static[_0xd61acb(0xa2)](_0x2d9d38){const _0xfcf48f=_0xd61acb;let _0x58802c=[_0x2d9d38!==null&&_0x2d9d38!==void 0x0?_0x2d9d38:''];const _0x5dafac=(0x0,child_process_1[_0xfcf48f(0xa9)])(_0xfcf48f(0x86)+resource_1['PROJECT_DIRECTORY']+_0xfcf48f(0xc9)),_0x1126f2=this['parseDestinationDevices'](_0x5dafac[_0xfcf48f(0xd7)]());_0x58802c=[..._0x58802c,..._0x1126f2];let _0x17b803=this[_0xfcf48f(0x93)]();return _0x17b803[_0xfcf48f(0xc4)]((_0x172a0e,_0x44510f)=>{const _0x4dadec=_0xfcf48f,_0x4452f8=_0x58802c[_0x4dadec(0xe6)](_0x172a0e[_0x4dadec(0xc0)]),_0x3125bd=_0x58802c[_0x4dadec(0xe6)](_0x44510f['deviceId']);if(_0x4452f8!==-0x1&&_0x3125bd!==-0x1)return _0x4452f8-_0x3125bd;else{if(_0x4452f8!==-0x1)return-0x1;else{if(_0x3125bd!==-0x1)return 0x1;}}return 0x0;}),console['log'](_0xfcf48f(0xc2)),console[_0xfcf48f(0xe7)](_0x17b803),_0x17b803;}static[_0xd61acb(0xd2)](_0x44c25d){const _0x410e28=_0xd61acb,_0x157702=new XcrunCMD()[_0x410e28(0x96)]()[_0x410e28(0x85)](_0x410e28(0x8c))['line']+(_0x410e28(0x7a)+_0x44c25d);console['log'](_0x157702);let _0x3af0bf=(0x0,child_process_1['execSync'])(_0x157702);return console[_0x410e28(0xe7)](_0x3af0bf[_0x410e28(0xd7)]()),this[_0x410e28(0x81)](_0x3af0bf['toString']());}static[_0xd61acb(0xc1)](){const _0x32b850=_0xd61acb;utils_1[_0x32b850(0xe2)][_0x32b850(0xb9)](_0x32b850(0x89)),utils_1[_0x32b850(0xe2)][_0x32b850(0xb9)](_0x32b850(0x75));let _0x540a51=(0x0,child_process_1[_0x32b850(0xa9)])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0xa8)]()['line']);const _0x25d365=this[_0x32b850(0xac)](_0x540a51[_0x32b850(0xd7)]());_0x540a51=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0xcd)]()['line']);const _0x4e0e9b=this['parseSupportRuntimes'](_0x540a51[_0x32b850(0xd7)]());utils_1[_0x32b850(0xe2)]['info'](_0x32b850(0xb0)+_0x25d365+_0x32b850(0x8a)+_0x4e0e9b+'\x20to\x20create\x20visionOS\x20simulator'),_0x540a51=(0x0,child_process_1[_0x32b850(0xa9)])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0x97)](_0x25d365,_0x4e0e9b)[_0x32b850(0xaf)]);const _0x46f17a=_0x540a51[_0x32b850(0xd7)]()[_0x32b850(0xc5)]();return console['log'](_0x32b850(0xc6)+_0x46f17a),{'name':'WebSpatial\x20Simulator','deviceId':_0x46f17a,'state':_0x32b850(0x94)};}static['listSimulator'](){const _0x4b81c2=_0xd61acb;let _0x37ae0c=(0x0,child_process_1[_0x4b81c2(0xa9)])(new XcrunCMD()[_0x4b81c2(0x96)]()[_0x4b81c2(0x85)]('Apple\x20Vision\x20Pro')[_0x4b81c2(0xaf)]);return this['parseListDevices'](_0x37ae0c[_0x4b81c2(0xd7)]());}}exports[_0xd61acb(0xd5)]=Xcrun;class XcrunCMD{constructor(){const _0x56d6d5=_0xd61acb;this[_0x56d6d5(0xaf)]=_0x56d6d5(0x76);}['altool'](){const _0x463ba0=_0xd61acb;return this['line']+=_0x463ba0(0xee),this;}[_0xd61acb(0x96)](){const _0x2a8e46=_0xd61acb;return this[_0x2a8e46(0xaf)]+=_0x2a8e46(0x92),this;}['list'](){const _0x4eb5fe=_0xd61acb;return this['line']+=_0x4eb5fe(0xe8),this;}['listDevices'](_0x5a23be){const _0x50c17e=_0xd61acb;return this[_0x50c17e(0xaf)]+=_0x50c17e(0x72)+_0x5a23be+'\x22',this;}[_0xd61acb(0xa8)](){const _0x563b96=_0xd61acb;return this[_0x563b96(0xaf)]+=_0x563b96(0x6d),this;}['listRuntimes'](){const _0x406b06=_0xd61acb;return this[_0x406b06(0xaf)]+=_0x406b06(0xcb),this;}[_0xd61acb(0xb2)](_0x368fce){const _0x53e96c=_0xd61acb;return this['line']+=_0x53e96c(0x6f)+_0x368fce,this;}[_0xd61acb(0x7f)](_0x5b0c95){return this['line']+='\x20--upload-app\x20-f\x20'+_0x5b0c95,this;}[_0xd61acb(0xeb)](_0x96b5ee){const _0xbbb83=_0xd61acb;return this['line']+=_0xbbb83(0xef)+_0x96b5ee,this;}['authAccount'](_0x1299b6,_0x4e8072){const _0x120760=_0xd61acb;return this[_0x120760(0xaf)]+=_0x120760(0xa1)+_0x1299b6+'\x20-p\x20'+_0x4e8072,this;}[_0xd61acb(0xf2)](_0x3965d8,_0x3502a5){const _0x1a2567=_0xd61acb;return this['line']+=_0x1a2567(0x82)+_0x3965d8+_0x1a2567(0xf1)+_0x3502a5,this;}[_0xd61acb(0xe9)](_0x5588d1){const _0x3f5504=_0xd61acb;return this['line']+=_0x3f5504(0xe4)+_0x5588d1,this;}['platform'](_0x49c4cb){const _0x2e7c42=_0xd61acb;return this['line']+=_0x2e7c42(0x79)+_0x49c4cb,this;}[_0xd61acb(0x8f)](_0x46f80e){const _0x12da92=_0xd61acb;return this[_0x12da92(0xaf)]+=_0x12da92(0x71)+_0x46f80e,this;}['verbose'](){const _0x5f28a0=_0xd61acb;return this[_0x5f28a0(0xaf)]+=_0x5f28a0(0xdf),this;}['create'](_0x23f3d1,_0x57f228){const _0x4c76b3=_0xd61acb;return this[_0x4c76b3(0xaf)]+=_0x4c76b3(0xd8)+_0x23f3d1+_0x4c76b3(0x91)+_0x57f228+'\x22',this;}['shutdown'](_0xfddc45){const _0xa02873=_0xd61acb;return this[_0xa02873(0xaf)]+=_0xa02873(0xe5)+_0xfddc45+'\x22',this;}[_0xd61acb(0xcf)](_0x12df37){const _0x1002a8=_0xd61acb;return this[_0x1002a8(0xaf)]+=_0x1002a8(0x8e)+_0x12df37+'\x22',this;}[_0xd61acb(0xc8)](_0x2dd1c4,_0x396b45){const _0x5bc12a=_0xd61acb;return this[_0x5bc12a(0xaf)]+='\x20install\x20\x22'+_0x2dd1c4+_0x5bc12a(0x91)+_0x396b45+'\x22',this;}[_0xd61acb(0x8b)](_0xac48f5,_0x4583ac){const _0x3b5ecb=_0xd61acb;return this['line']+='\x20launch\x20\x22'+_0xac48f5+_0x3b5ecb(0x91)+_0x4583ac+'\x22',this;}[_0xd61acb(0x9e)](_0x566c6a,_0x1ec284){const _0x54c6d5=_0xd61acb;return this[_0x54c6d5(0xaf)]+='\x20terminate\x20\x22'+_0x566c6a+_0x54c6d5(0x91)+_0x1ec284+'\x22',this;}}
1
+ 'use strict';const _0x1a59a9=_0x475b;(function(_0x428841,_0x16c823){const _0x331514=_0x475b,_0x463ad6=_0x428841();while(!![]){try{const _0x5e0e04=-parseInt(_0x331514(0x148))/0x1*(parseInt(_0x331514(0x151))/0x2)+-parseInt(_0x331514(0x102))/0x3*(parseInt(_0x331514(0xf8))/0x4)+parseInt(_0x331514(0x136))/0x5+-parseInt(_0x331514(0xfa))/0x6+-parseInt(_0x331514(0x154))/0x7+parseInt(_0x331514(0x122))/0x8*(parseInt(_0x331514(0xe8))/0x9)+-parseInt(_0x331514(0x140))/0xa*(-parseInt(_0x331514(0x143))/0xb);if(_0x5e0e04===_0x16c823)break;else _0x463ad6['push'](_0x463ad6['shift']());}catch(_0x175a9f){_0x463ad6['push'](_0x463ad6['shift']());}}}(_0xac63,0x202a8));function _0x475b(_0x68935f,_0x3300d5){const _0xac6344=_0xac63();return _0x475b=function(_0x475b84,_0x5c23c0){_0x475b84=_0x475b84-0xe8;let _0x160a38=_0xac6344[_0x475b84];return _0x160a38;},_0x475b(_0x68935f,_0x3300d5);}Object[_0x1a59a9(0x108)](exports,_0x1a59a9(0x114),{'value':!![]});function _0xac63(){const _0x44b1b3=['recordSimulator','\x20terminate\x20\x22','No\x20Apple\x20Vision\x20Pro\x20simulator\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','deviceId','\x20-t\x20','includes','push','use\x20simulator:\x20','--\x20visionOS','create\x20visionOS\x20simulator:\x20','installing\x20app','mkdirSync','visionos','launch','use\x20','path','install\x20success','886525sSeAUV','write','XcodebuildCMD','-------------------\x20build\x20end\x20-------------------','listSimulator','createSimulator','validate','runWithSimulator','toString','WebSpatial\x20Simulator','3809590EwyDDW','findSimulator','parseDeviceInfo','11NAALpd','\x20--bundle-version\x20','list','platform','PROJECT_BUILD_DIRECTORY','74710FDtCgb','buildTestApp','\x22\x20\x22','execSync','info','listDeviceTypes','uploadPackage','no\x20simulator\x20available','installApp','2VLiYET','searchSimulator','\x20--validate-app\x20-f\x20','1459542EvEJlv','Apple\x20Vision\x20Pro','PROJECT_TEST_DIRECTORY','launchWithSimulator','sleep\x2010','**\x20BUILD\x20FAILED\x20**','parseSupportRuntimes','\x20&&\x20xcodebuild\x20-showdestinations\x20-scheme\x20web-spatial','parseListDevices','CliLog','PROJECT_DIRECTORY','.app','shutdownSimulator','\x20altool','existsSync','\x20--upload-package\x20','install','----\x20build\x20start\x20on\x20','length','getAppInfoRecord','parseDestinationDevices','listDevices','platform:visionOS\x20Simulator','9CFxVCz','replace','warn','log','split','../utils/history','default',',\x20try\x20next\x20device','\x20--verbose','simctl','try\x20create\x20a\x20visionOS\x20simulator','error','\x20--upload-app\x20-f\x20','\x20--apiIssuer\x20','line','listRuntimes','13188LffWaF','verbose','747612VIDtYh','create','\x20--apiKey\x20','altool','parseSupportDevices','uploadApp','state','build\x20failed\x20on\x20','183billsY','\x20list','find\x20simulators:','find\x20destination\x20device:\x20','Build/Products/Debug-xrsimulator/','../resource','defineProperty','terminate','com','\x20|\x20grep\x20','\x20-u\x20','../resource/file','xcrun','sort','\x20launch\x20\x22','test','trim','boot','__esModule','authAccount','launchApp','authApi','indexOf','clearDir','\x20-p\x20','\x20list\x20runtimes','/web-spatial.xcodeproj','slice','\x20boot\x20\x22','launchSimulator','open\x20-a\x20Simulator\x20--args\x20-CurrentDeviceUDID\x20','launch\x20app','1459384vmMCRf','project','No\x20visionOS\x20rumtime\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator'];_0xac63=function(){return _0x44b1b3;};return _0xac63();}const child_process_1=require('child_process'),resource_1=require(_0x1a59a9(0x107)),path_1=require(_0x1a59a9(0x134)),fs=require('fs'),xcodebuild_1=require('./xcodebuild'),file_1=require(_0x1a59a9(0x10d)),utils_1=require('../utils/utils'),history_1=require(_0x1a59a9(0xed));class Xcrun{static async[_0x1a59a9(0x13c)](_0x4157b4,_0x2e7b3c,_0x1059ff,_0x2f0511){const _0x281fb4=_0x1a59a9,_0x445ae0=new XcrunCMD()[_0x281fb4(0xfd)]();_0x445ae0['validate'](_0x4157b4);_0x2f0511?_0x445ae0[_0x281fb4(0x115)](_0x2e7b3c,_0x1059ff):_0x445ae0[_0x281fb4(0x117)](_0x2e7b3c,_0x1059ff);_0x445ae0[_0x281fb4(0x146)](_0x281fb4(0x131));const _0x26b273=(0x0,child_process_1[_0x281fb4(0x14b)])(_0x445ae0['line']);return _0x26b273[_0x281fb4(0x13e)]();}static async[_0x1a59a9(0x14e)](_0x5c9e7d,_0x4778b2,_0x195c14,_0x3a05ce,_0x44b735){const _0x4b9fc5=_0x1a59a9,_0x4e1fa9=new XcrunCMD()[_0x4b9fc5(0xfd)]();_0x4e1fa9['uploadPackage'](_0x5c9e7d);_0x44b735?_0x4e1fa9[_0x4b9fc5(0x115)](_0x4778b2,_0x195c14):_0x4e1fa9[_0x4b9fc5(0x117)](_0x4778b2,_0x195c14);_0x4e1fa9['platform']('visionos'),_0x4e1fa9['appleId'](_0x3a05ce);const _0xafdd82=(0x0,child_process_1[_0x4b9fc5(0x14b)])(_0x4e1fa9[_0x4b9fc5(0xf6)]);return _0xafdd82[_0x4b9fc5(0x13e)]();}static async['uploadApp'](_0xc9d230,_0x5695a8,_0xb569be,_0x1dbcbe){const _0x400c13=_0x1a59a9,_0x10db66=new XcrunCMD()['altool']();_0x10db66['uploadApp'](_0xc9d230);_0x1dbcbe?_0x10db66[_0x400c13(0x115)](_0x5695a8,_0xb569be):_0x10db66['authApi'](_0x5695a8,_0xb569be);_0x10db66[_0x400c13(0x146)](_0x400c13(0x131));const _0x362aa=(0x0,child_process_1[_0x400c13(0x14b)])(_0x10db66[_0x400c13(0xf6)]);return _0x362aa[_0x400c13(0x13e)]();}static async[_0x1a59a9(0x13d)](){const _0x40705e=_0x1a59a9;let _0x5a8b20=this['findSimulator']();!_0x5a8b20[0x0]&&(_0x5a8b20=[this[_0x40705e(0x13b)]()]);const _0x533416=history_1[_0x40705e(0xee)][_0x40705e(0x167)]();for(var _0x5771e1=0x0;_0x5771e1<_0x5a8b20[_0x40705e(0x166)];_0x5771e1++){if(this[_0x40705e(0x149)](_0x5a8b20[_0x5771e1][_0x40705e(0x128)])){const _0x4f0997=this[_0x40705e(0x157)](_0x533416,_0x5a8b20[_0x5771e1][_0x40705e(0x128)],!![],![]);history_1[_0x40705e(0xee)][_0x40705e(0x125)](_0x4f0997),history_1[_0x40705e(0xee)][_0x40705e(0x137)]();return;}else utils_1['CliLog']['error'](_0x40705e(0x101)+_0x5a8b20[_0x5771e1][_0x40705e(0x128)]+_0x40705e(0xef));}utils_1[_0x40705e(0x15d)][_0x40705e(0xf3)](_0x40705e(0x14f));}static async['runWithHistory'](){const _0x18651e=_0x1a59a9,_0x449a2c=history_1['default']['getSimulatorHistory'](),_0x395234=history_1[_0x18651e(0xee)][_0x18651e(0x167)](),_0x54458b=this[_0x18651e(0x157)](_0x395234,_0x449a2c);history_1['default'][_0x18651e(0x125)](_0x54458b),history_1[_0x18651e(0xee)]['write']();}static[_0x1a59a9(0x157)](_0x42557a,_0x7efe9e='',_0x5b358e=![],_0x2d34cf=!![]){const _0x2f4d55=_0x1a59a9;let _0x5b539f,_0x3f7d03=![];return _0x2d34cf?_0x5b539f=this['findSimulator'](_0x7efe9e)[0x0]:_0x5b539f=this[_0x2f4d55(0x152)](_0x7efe9e),(!_0x5b539f||_0x5b539f[_0x2f4d55(0x128)]==='')&&(_0x5b539f=this[_0x2f4d55(0x13b)](),_0x3f7d03=!![]),console[_0x2f4d55(0xeb)](_0x2f4d55(0x12c)+_0x5b539f[_0x2f4d55(0x128)]),this[_0x2f4d55(0x11f)](_0x5b539f),(_0x5b358e||_0x3f7d03)&&(console[_0x2f4d55(0xeb)](_0x2f4d55(0x12f)),this[_0x2f4d55(0x150)](resource_1[_0x2f4d55(0x156)],_0x5b539f[_0x2f4d55(0x128)],_0x42557a['name']),console[_0x2f4d55(0xeb)](_0x2f4d55(0x135))),console['log'](_0x2f4d55(0x121)),this[_0x2f4d55(0x116)](_0x5b539f[_0x2f4d55(0x128)],_0x42557a['id']),_0x5b539f['deviceId'];}static async[_0x1a59a9(0x160)](){const _0x5365a4=_0x1a59a9;let _0x23ff07=this[_0x5365a4(0x141)]()[0x0];console[_0x5365a4(0xeb)]('find\x20simulator:\x20'+_0x23ff07[_0x5365a4(0x128)]);if(_0x23ff07[_0x5365a4(0x100)]!=='Shutdown'){let _0xa7004d=new XcrunCMD()[_0x5365a4(0xf1)]();_0xa7004d['shutdown'](_0x23ff07['deviceId']),(0x0,child_process_1[_0x5365a4(0x14b)])(_0xa7004d['line']);}else console['log']('simulator\x20is\x20already\x20shutdown');}static[_0x1a59a9(0x11f)](_0x1e1917){const _0x48ef9f=_0x1a59a9;if(_0x1e1917['state']==='Shutdown'){let _0x904df1=new XcrunCMD()[_0x48ef9f(0xf1)]();_0x904df1['boot'](_0x1e1917[_0x48ef9f(0x128)]),(0x0,child_process_1[_0x48ef9f(0x14b)])(_0x904df1[_0x48ef9f(0xf6)]),(0x0,child_process_1[_0x48ef9f(0x14b)])(_0x48ef9f(0x158));}(0x0,child_process_1[_0x48ef9f(0x14b)])(_0x48ef9f(0x120)+_0x1e1917[_0x48ef9f(0x128)]);}static[_0x1a59a9(0x149)](_0x1322f0){const _0x26a8d5=_0x1a59a9,_0x35a0e3=resource_1[_0x26a8d5(0x15e)]+_0x26a8d5(0x11c);!fs[_0x26a8d5(0x162)](resource_1[_0x26a8d5(0x147)])&&fs[_0x26a8d5(0x130)](resource_1[_0x26a8d5(0x147)],{'recursive':!![]});!fs[_0x26a8d5(0x162)](resource_1['PROJECT_TEST_DIRECTORY'])&&fs[_0x26a8d5(0x130)](resource_1[_0x26a8d5(0x156)],{'recursive':!![]});(0x0,file_1[_0x26a8d5(0x119)])(resource_1[_0x26a8d5(0x156)]);const _0x42f6d6=new xcodebuild_1[(_0x26a8d5(0x138))]()[_0x26a8d5(0x123)](_0x35a0e3)[_0x26a8d5(0xf6)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x1322f0+'\x27\x20-derivedDataPath\x20'+resource_1[_0x26a8d5(0x156)]);console[_0x26a8d5(0xeb)](_0x26a8d5(0x165)+_0x1322f0+'\x20----');try{const _0x2b1d68=(0x0,child_process_1[_0x26a8d5(0x14b)])(_0x42f6d6);if(_0x2b1d68[_0x26a8d5(0x13e)]()[_0x26a8d5(0x12a)](_0x26a8d5(0x159)))return![];}catch(_0x4ad266){}return console[_0x26a8d5(0xeb)](_0x26a8d5(0x139)),!![];}static['installApp'](_0x4ea6a2,_0x2666bd,_0x37fe18){const _0x58d3d4=_0x1a59a9,_0x36c939=(0x0,path_1['join'])(_0x4ea6a2,_0x58d3d4(0x106)+_0x37fe18+_0x58d3d4(0x15f));let _0x1f22ba=new XcrunCMD()[_0x58d3d4(0xf1)]();_0x1f22ba[_0x58d3d4(0x164)](_0x2666bd,_0x36c939),(0x0,child_process_1[_0x58d3d4(0x14b)])(_0x1f22ba[_0x58d3d4(0xf6)]);}static[_0x1a59a9(0x116)](_0x5b51be,_0x3d10a0){const _0x2e720a=_0x1a59a9;try{(0x0,child_process_1[_0x2e720a(0x14b)])(new XcrunCMD()['simctl']()[_0x2e720a(0x109)](_0x5b51be,_0x3d10a0)[_0x2e720a(0xf6)]);}catch(_0xaf28f6){}(0x0,child_process_1[_0x2e720a(0x14b)])(new XcrunCMD()[_0x2e720a(0xf1)]()[_0x2e720a(0x132)](_0x5b51be,_0x3d10a0)[_0x2e720a(0xf6)]);}static[_0x1a59a9(0x168)](_0x13995c){const _0x450e2f=_0x1a59a9;let _0x427048=_0x13995c[_0x450e2f(0xec)]('\x0a');const _0x295f19=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/;let _0x58f505=[];for(let _0x5cc51b=0x0;_0x5cc51b<_0x427048[_0x450e2f(0x166)];_0x5cc51b++){if(_0x427048[_0x5cc51b][_0x450e2f(0x12a)](_0x450e2f(0x16a))){const _0x36ebf0=_0x427048[_0x5cc51b][_0x450e2f(0x11d)](_0x427048[_0x5cc51b][_0x450e2f(0x118)]('id:')+0x3,_0x427048[_0x5cc51b]['indexOf'](',\x20name'));_0x295f19[_0x450e2f(0x111)](_0x36ebf0)&&(_0x58f505[_0x450e2f(0x12b)](_0x36ebf0),console[_0x450e2f(0xeb)](_0x450e2f(0x105)+_0x427048[_0x5cc51b]+')'));}}return _0x58f505;}static['parseSupportDevices'](_0x32c1a2){const _0x415d6b=_0x1a59a9;let _0x413913=_0x32c1a2[_0x415d6b(0xec)]('\x0a');for(let _0x4f4053=0x0;_0x4f4053<_0x413913[_0x415d6b(0x166)];_0x4f4053++){if(_0x413913[_0x4f4053][_0x415d6b(0x12a)](_0x415d6b(0x155)))return _0x413913[_0x4f4053]=_0x413913[_0x4f4053][_0x415d6b(0xe9)](_0x415d6b(0x155),'')[_0x415d6b(0x112)](),_0x413913[_0x4f4053]=_0x413913[_0x4f4053][_0x415d6b(0xe9)]('(',''),_0x413913[_0x4f4053]=_0x413913[_0x4f4053][_0x415d6b(0xe9)](')',''),_0x413913[_0x4f4053];}throw new Error(_0x415d6b(0x127));}static['parseSupportRuntimes'](_0x2af42d){const _0x2166b8=_0x1a59a9;let _0x287c11=_0x2af42d[_0x2166b8(0xec)]('\x0a');for(let _0x1243c0=0x0;_0x1243c0<_0x287c11['length'];_0x1243c0++){if(_0x287c11[_0x1243c0][_0x2166b8(0x12a)]('visionOS'))return _0x287c11[_0x1243c0]['slice'](_0x287c11[_0x1243c0][_0x2166b8(0x118)](_0x2166b8(0x10a)))[_0x2166b8(0x112)]();}throw new Error(_0x2166b8(0x124));}static[_0x1a59a9(0x15c)](_0x5bd7af){const _0x1c2aeb=_0x1a59a9;let _0x3d6415=_0x5bd7af[_0x1c2aeb(0xec)]('\x0a'),_0x261ab8=[],_0x394455=-0x1;for(let _0x316566=0x0;_0x316566<_0x3d6415['length'];_0x316566++){if(_0x3d6415[_0x316566][_0x1c2aeb(0x12a)](_0x1c2aeb(0x12d)))_0x394455=_0x316566;else{if(_0x394455>0x0){if(_0x3d6415[_0x316566][_0x1c2aeb(0x12a)]('--\x20'))break;_0x3d6415[_0x316566]['length']>0x0&&_0x261ab8[_0x1c2aeb(0x12b)](this[_0x1c2aeb(0x142)](_0x3d6415[_0x316566]));}}}return _0x261ab8;}static[_0x1a59a9(0x142)](_0x402286){const _0x2a5e5b=_0x1a59a9,_0xdb9881=_0x402286['split']('('),_0x384b38={'name':_0xdb9881[0x0][_0x2a5e5b(0x112)](),'deviceId':_0xdb9881[0x1][_0x2a5e5b(0xec)](')')[0x0]['trim'](),'state':_0xdb9881[0x2][_0x2a5e5b(0xec)](')')[0x0]['trim']()};return _0x384b38;}static[_0x1a59a9(0x141)](_0x31a241){const _0x58033b=_0x1a59a9;let _0x570699=[_0x31a241!==null&&_0x31a241!==void 0x0?_0x31a241:''];const _0x1c36a5=(0x0,child_process_1[_0x58033b(0x14b)])('cd\x20'+resource_1[_0x58033b(0x15e)]+_0x58033b(0x15b)),_0x1245b2=this[_0x58033b(0x168)](_0x1c36a5[_0x58033b(0x13e)]());_0x570699=[..._0x570699,..._0x1245b2];let _0x57a9e1=this[_0x58033b(0x13a)]();return _0x57a9e1[_0x58033b(0x10f)]((_0x2e111d,_0x3a5bd3)=>{const _0x3d4273=_0x58033b,_0x33254c=_0x570699[_0x3d4273(0x118)](_0x2e111d[_0x3d4273(0x128)]),_0x112fdc=_0x570699[_0x3d4273(0x118)](_0x3a5bd3[_0x3d4273(0x128)]);if(_0x33254c!==-0x1&&_0x112fdc!==-0x1)return _0x33254c-_0x112fdc;else{if(_0x33254c!==-0x1)return-0x1;else{if(_0x112fdc!==-0x1)return 0x1;}}return 0x0;}),console[_0x58033b(0xeb)](_0x58033b(0x104)),console[_0x58033b(0xeb)](_0x57a9e1),_0x57a9e1;}static[_0x1a59a9(0x152)](_0x27c918){const _0xb9c7c4=_0x1a59a9,_0x2af508=new XcrunCMD()[_0xb9c7c4(0xf1)]()['listDevices'](_0xb9c7c4(0x155))[_0xb9c7c4(0xf6)]+(_0xb9c7c4(0x10b)+_0x27c918);console[_0xb9c7c4(0xeb)](_0x2af508);let _0xfdd02d=(0x0,child_process_1[_0xb9c7c4(0x14b)])(_0x2af508);return console[_0xb9c7c4(0xeb)](_0xfdd02d[_0xb9c7c4(0x13e)]()),this[_0xb9c7c4(0x142)](_0xfdd02d[_0xb9c7c4(0x13e)]());}static[_0x1a59a9(0x13b)](){const _0x41f2c9=_0x1a59a9;utils_1['CliLog'][_0x41f2c9(0xea)]('no\x20visionOS\x20simulator\x20found'),utils_1[_0x41f2c9(0x15d)][_0x41f2c9(0xea)](_0x41f2c9(0xf2));let _0x3e114c=(0x0,child_process_1[_0x41f2c9(0x14b)])(new XcrunCMD()[_0x41f2c9(0xf1)]()[_0x41f2c9(0x14d)]()[_0x41f2c9(0xf6)]);const _0x22dedc=this[_0x41f2c9(0xfe)](_0x3e114c['toString']());_0x3e114c=(0x0,child_process_1[_0x41f2c9(0x14b)])(new XcrunCMD()[_0x41f2c9(0xf1)]()[_0x41f2c9(0xf7)]()[_0x41f2c9(0xf6)]);const _0x1ffacc=this[_0x41f2c9(0x15a)](_0x3e114c['toString']());utils_1[_0x41f2c9(0x15d)][_0x41f2c9(0x14c)](_0x41f2c9(0x133)+_0x22dedc+'\x20and\x20'+_0x1ffacc+'\x20to\x20create\x20visionOS\x20simulator'),_0x3e114c=(0x0,child_process_1[_0x41f2c9(0x14b)])(new XcrunCMD()[_0x41f2c9(0xf1)]()[_0x41f2c9(0xfb)](_0x22dedc,_0x1ffacc)[_0x41f2c9(0xf6)]);const _0x4c1dc8=_0x3e114c[_0x41f2c9(0x13e)]()['trim']();return console[_0x41f2c9(0xeb)](_0x41f2c9(0x12e)+_0x4c1dc8),{'name':_0x41f2c9(0x13f),'deviceId':_0x4c1dc8,'state':'Shutdown'};}static['listSimulator'](){const _0x3af54a=_0x1a59a9;let _0xc8557b=(0x0,child_process_1[_0x3af54a(0x14b)])(new XcrunCMD()[_0x3af54a(0xf1)]()[_0x3af54a(0x169)]('Apple\x20Vision\x20Pro')[_0x3af54a(0xf6)]);return this[_0x3af54a(0x15c)](_0xc8557b[_0x3af54a(0x13e)]());}}exports[_0x1a59a9(0xee)]=Xcrun;class XcrunCMD{constructor(){const _0x38e8ed=_0x1a59a9;this[_0x38e8ed(0xf6)]=_0x38e8ed(0x10e);}[_0x1a59a9(0xfd)](){const _0x8402ec=_0x1a59a9;return this[_0x8402ec(0xf6)]+=_0x8402ec(0x161),this;}['simctl'](){return this['line']+='\x20simctl',this;}[_0x1a59a9(0x145)](){const _0x15c3c9=_0x1a59a9;return this[_0x15c3c9(0xf6)]+=_0x15c3c9(0x103),this;}[_0x1a59a9(0x169)](_0xdfb8d5){const _0x2f1719=_0x1a59a9;return this[_0x2f1719(0xf6)]+='\x20list\x20devices\x20\x22'+_0xdfb8d5+'\x22',this;}[_0x1a59a9(0x14d)](){return this['line']+='\x20list\x20devicetypes',this;}[_0x1a59a9(0xf7)](){const _0x1a6e6a=_0x1a59a9;return this['line']+=_0x1a6e6a(0x11b),this;}[_0x1a59a9(0x13c)](_0x6fc7fe){const _0x58bb2f=_0x1a59a9;return this['line']+=_0x58bb2f(0x153)+_0x6fc7fe,this;}[_0x1a59a9(0xff)](_0x3e8cd9){const _0x5bdac9=_0x1a59a9;return this[_0x5bdac9(0xf6)]+=_0x5bdac9(0xf4)+_0x3e8cd9,this;}[_0x1a59a9(0x14e)](_0x53bfaf){const _0x3abae3=_0x1a59a9;return this[_0x3abae3(0xf6)]+=_0x3abae3(0x163)+_0x53bfaf,this;}[_0x1a59a9(0x115)](_0x4f2ddf,_0x5629cf){const _0x59a01a=_0x1a59a9;return this[_0x59a01a(0xf6)]+=_0x59a01a(0x10c)+_0x4f2ddf+_0x59a01a(0x11a)+_0x5629cf,this;}[_0x1a59a9(0x117)](_0x38409f,_0x99510e){const _0x9c6d32=_0x1a59a9;return this[_0x9c6d32(0xf6)]+=_0x9c6d32(0xfc)+_0x38409f+_0x9c6d32(0xf5)+_0x99510e,this;}['appleId'](_0x51a97b){const _0x2fae97=_0x1a59a9;return this[_0x2fae97(0xf6)]+='\x20--apple-id\x20'+_0x51a97b,this;}[_0x1a59a9(0x146)](_0x396461){const _0x1f75d3=_0x1a59a9;return this[_0x1f75d3(0xf6)]+=_0x1f75d3(0x129)+_0x396461,this;}['version'](_0x12ffde){const _0x727e63=_0x1a59a9;return this[_0x727e63(0xf6)]+=_0x727e63(0x144)+_0x12ffde,this;}[_0x1a59a9(0xf9)](){const _0x29f79f=_0x1a59a9;return this[_0x29f79f(0xf6)]+=_0x29f79f(0xf0),this;}[_0x1a59a9(0xfb)](_0x52cb3a,_0x2b3895){const _0x5c3f48=_0x1a59a9;return this[_0x5c3f48(0xf6)]+='\x20create\x20\x22WebSpatialSimulator\x22\x20\x22'+_0x52cb3a+_0x5c3f48(0x14a)+_0x2b3895+'\x22',this;}['shutdown'](_0x39fac4){return this['line']+='\x20shutdown\x20\x22'+_0x39fac4+'\x22',this;}[_0x1a59a9(0x113)](_0xdb4479){const _0x3740cd=_0x1a59a9;return this[_0x3740cd(0xf6)]+=_0x3740cd(0x11e)+_0xdb4479+'\x22',this;}[_0x1a59a9(0x164)](_0x5373c3,_0x2ba63f){const _0x289677=_0x1a59a9;return this[_0x289677(0xf6)]+='\x20install\x20\x22'+_0x5373c3+_0x289677(0x14a)+_0x2ba63f+'\x22',this;}[_0x1a59a9(0x132)](_0xafac8d,_0x140cb0){const _0x2909e6=_0x1a59a9;return this[_0x2909e6(0xf6)]+=_0x2909e6(0x110)+_0xafac8d+_0x2909e6(0x14a)+_0x140cb0+'\x22',this;}['terminate'](_0x3d1fd6,_0x56a0bf){const _0x5bff4d=_0x1a59a9;return this['line']+=_0x5bff4d(0x126)+_0x3d1fd6+'\x22\x20\x22'+_0x56a0bf+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -39,7 +39,7 @@
39
39
  "sharp": "^0.33.5",
40
40
  "valid-url": "^1.0.9",
41
41
  "xcode": "^3.0.1",
42
- "@webspatial/platform-visionos": "^0.1.15"
42
+ "@webspatial/platform-visionos": "^0.1.16"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@rollup/plugin-terser": "^0.4.3",