@webspatial/builder 0.1.14 → 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 _0x263fe5=_0x4ad4;(function(_0x59abef,_0x2eb92b){const _0x22859d=_0x4ad4,_0x299b2f=_0x59abef();while(!![]){try{const _0x3a7c84=-parseInt(_0x22859d(0x1c4))/0x1*(parseInt(_0x22859d(0x1fd))/0x2)+parseInt(_0x22859d(0x1b6))/0x3+parseInt(_0x22859d(0x1bf))/0x4+parseInt(_0x22859d(0x1f2))/0x5+parseInt(_0x22859d(0x1c1))/0x6*(-parseInt(_0x22859d(0x1f4))/0x7)+-parseInt(_0x22859d(0x1ce))/0x8+-parseInt(_0x22859d(0x1f6))/0x9*(-parseInt(_0x22859d(0x1e2))/0xa);if(_0x3a7c84===_0x2eb92b)break;else _0x299b2f['push'](_0x299b2f['shift']());}catch(_0x36b0f6){_0x299b2f['push'](_0x299b2f['shift']());}}}(_0x2f05,0xa85f3));Object[_0x263fe5(0x1d5)](exports,_0x263fe5(0x1ca),{'value':!![]});const commander_1=require(_0x263fe5(0x1c0)),semver_1=require(_0x263fe5(0x1e6)),FetchUtils_1_1=require(_0x263fe5(0x1eb)),build_1=require(_0x263fe5(0x1e4)),version_1=require(_0x263fe5(0x1de)),fetch_1=require('./lib/utils/fetch'),launch_1=require('./lib/cmds/launch'),shutdown_1=require('./lib/cmds/shutdown');function _0x2f05(){const _0x3fee88=['./lib/cmds/version','bundle\x20id','getVersion','--manifest\x20<manifest>','243850DfSdVV','manifest\x20url','./lib/cmds/build','Shutdown\x20Simulator','semver','node','username','--project\x20<project>','--bundle-id\x20<bundleId>','./lib/utils/FetchUtils-1','argv','name','Command','app\x20build\x20type','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','--manifest-url\x20<manifest-url>','2786475sVQYJI','webspatial-builder','7ONHbEv','--export\x20<export>','459aIIOWq','exports','--buildType\x20<buildType>','log','option','fetchUtils','run\x20without\x20build','2tRAZkx','2004600hozmBp','setDecompressResponseBuffer','Launch\x20WebSpatial\x20App','team\x20id','--teamId\x20<teamId>','requiredOption','--u\x20<username>','action','--tryWithoutBuild\x20<tryWithoutBuild>','1102156wydgdl','commander','5975418ExHCOi','build','run','599759WLBtYM','project\x20path','description','parseAsync','--base\x20<base>','--platform\x20<platform>','__esModule','configureHelp','setDownloadFile','fetch','3674848FSQjDA','base\x20path','command','Publish\x20WebSpatial\x20App','app\x20version','--manifest-url\x20<manifestUrl>','export\x20path','defineProperty','version','xr\x20platform','store','manifest\x20path','versions','--version\x20<version>','shutdown','launch'];_0x2f05=function(){return _0x3fee88;};return _0x2f05();}module[_0x263fe5(0x1f7)]=async()=>{const _0x3d385b=_0x263fe5;if((0x0,semver_1['major'])(process[_0x3d385b(0x1da)]['node'])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0x3d385b(0x1e7)]+'.'+_0x3d385b(0x1f0));const _0x5afc67=new commander_1[(_0x3d385b(0x1ee))]();FetchUtils_1_1[_0x3d385b(0x1fb)]['setFetch'](fetch_1[_0x3d385b(0x1cd)]),FetchUtils_1_1[_0x3d385b(0x1fb)][_0x3d385b(0x1cc)](fetch_1['downloadFile']),FetchUtils_1_1['fetchUtils'][_0x3d385b(0x1b7)](fetch_1['decompressResponseBuffer']),await setupCommands(_0x5afc67),await _0x5afc67[_0x3d385b(0x1c7)](process[_0x3d385b(0x1ec)]);};function _0x4ad4(_0x96da52,_0x3d1227){const _0x2f0585=_0x2f05();return _0x4ad4=function(_0x4ad43a,_0x12e14b){_0x4ad43a=_0x4ad43a-0x1b6;let _0x4c1ef7=_0x2f0585[_0x4ad43a];return _0x4c1ef7;},_0x4ad4(_0x96da52,_0x3d1227);}async function setupCommands(_0x530af2){const _0x3def37=_0x263fe5,_0x24a66f=await(0x0,version_1[_0x3def37(0x1e0)])();_0x530af2[_0x3def37(0x1ed)](_0x3def37(0x1f3))[_0x3def37(0x1c6)]('WebSpatial\x20Builder\x20is\x20a\x20client-side\x20CLI\x20tool\x20used\x20to\x20generate\x20cross\x20platform\x20XRApp\x20projects.')[_0x3def37(0x1d6)](_0x24a66f,'-v,\x20--version')[_0x3def37(0x1cb)]({'showGlobalOptions':!![]}),_0x530af2[_0x3def37(0x1d0)](_0x3def37(0x1c3))[_0x3def37(0x1c6)]('By\x20compiling\x20or\x20running\x20directly\x20on\x20the\x20simulator\x20the\x20WebSpatial\x20App')['option'](_0x3def37(0x1e1),_0x3def37(0x1d9))[_0x3def37(0x1fa)](_0x3def37(0x1e9),'project\x20path')[_0x3def37(0x1fa)](_0x3def37(0x1d3),_0x3def37(0x1e3))[_0x3def37(0x1fa)](_0x3def37(0x1c9),'xr\x20platform')[_0x3def37(0x1fa)](_0x3def37(0x1c8),_0x3def37(0x1cf))['option'](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1fa)](_0x3def37(0x1be),_0x3def37(0x1fc))['action'](async _0x1f7db8=>{const _0x513b79=_0x3def37;await(0x0,build_1[_0x513b79(0x1c3)])(_0x1f7db8);}),_0x530af2[_0x3def37(0x1d0)]('build')[_0x3def37(0x1c6)]('Build\x20WebSpatial\x20App')[_0x3def37(0x1fa)](_0x3def37(0x1e1),_0x3def37(0x1d9))[_0x3def37(0x1fa)]('--project\x20<project>',_0x3def37(0x1c5))[_0x3def37(0x1fa)](_0x3def37(0x1f1),_0x3def37(0x1e3))[_0x3def37(0x1fa)](_0x3def37(0x1c9),_0x3def37(0x1d7))[_0x3def37(0x1fa)](_0x3def37(0x1db),'app\x20version')['option'](_0x3def37(0x1f8),_0x3def37(0x1ef))[_0x3def37(0x1fa)]('--export\x20<export>',_0x3def37(0x1d4))[_0x3def37(0x1fa)](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1bb)]('--base\x20<base>',_0x3def37(0x1cf))['requiredOption'](_0x3def37(0x1ba),_0x3def37(0x1b9))[_0x3def37(0x1bd)](async _0x2a560a=>{const _0x2e16a2=_0x3def37;console[_0x2e16a2(0x1f9)](_0x2a560a),await(0x0,build_1[_0x2e16a2(0x1c2)])(_0x2a560a);}),_0x530af2[_0x3def37(0x1d0)]('publish')[_0x3def37(0x1c6)](_0x3def37(0x1d1))['option'](_0x3def37(0x1e1),'manifest\x20path')[_0x3def37(0x1fa)](_0x3def37(0x1e9),'project\x20path')[_0x3def37(0x1fa)]('--manifest-url\x20<manifestUrl>',_0x3def37(0x1e3))['option'](_0x3def37(0x1c9),_0x3def37(0x1d7))['option'](_0x3def37(0x1f8),'app\x20build\x20type')[_0x3def37(0x1fa)](_0x3def37(0x1f5),_0x3def37(0x1d4))[_0x3def37(0x1fa)](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1bb)](_0x3def37(0x1c8),_0x3def37(0x1cf))[_0x3def37(0x1bb)](_0x3def37(0x1ba),_0x3def37(0x1b9))[_0x3def37(0x1bb)]('--version\x20<version>',_0x3def37(0x1d2))[_0x3def37(0x1bb)](_0x3def37(0x1bc),_0x3def37(0x1e8))[_0x3def37(0x1bb)]('--p\x20<password>','password')[_0x3def37(0x1bd)](async _0x5d2d74=>{const _0x5eb10c=_0x3def37;console[_0x5eb10c(0x1f9)](_0x5d2d74),await(0x0,build_1[_0x5eb10c(0x1d8)])(_0x5d2d74);}),_0x530af2[_0x3def37(0x1d0)]('launch')[_0x3def37(0x1c6)](_0x3def37(0x1b8))[_0x3def37(0x1fa)](_0x3def37(0x1ea),'bundle\x20id')[_0x3def37(0x1bd)](async _0x549555=>{const _0x452354=_0x3def37;console[_0x452354(0x1f9)](_0x549555),await(0x0,launch_1[_0x452354(0x1dd)])(_0x549555);}),_0x530af2[_0x3def37(0x1d0)](_0x3def37(0x1dc))['description'](_0x3def37(0x1e5))[_0x3def37(0x1bd)](async _0xc6432d=>{const _0x30381e=_0x3def37;console[_0x30381e(0x1f9)](_0xc6432d),await(0x0,shutdown_1[_0x30381e(0x1dc)])(_0xc6432d);});}
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';function _0x2629(){const _0x210f6a=['1012602NLtHgL','json','111464WSEidw','checkStoreParams','__esModule','stringify','./check','640450HyVQuX','35uYnEGh','export','fromNet','buildType','-------------------\x20parse\x20start\x20-------------------','checkManifest','XcodeManager','3950710iROcHW','platform','ResourceManager','-------------------\x20parse\x20end\x20-------------------','generator','parseProject','project','6546276RoQLyz','1464876rUpPrJ','../pwa','recordManifest','../utils/history','runWithHistory','dist','store','runWithSimulator','upload','../xcode','true','WebSpatialTest','name','default','teamId','22UztAVM','build','285HoaFDG','log','1GmRWXk','7602DFcDhH','PWAGenerator','checkPlatformPath'];_0x2629=function(){return _0x210f6a;};return _0x2629();}const _0x359a3f=_0x5afc;function _0x5afc(_0x473287,_0x1de42f){const _0x262978=_0x2629();return _0x5afc=function(_0x5afc02,_0x4ebb62){_0x5afc02=_0x5afc02-0x75;let _0x2c8d7a=_0x262978[_0x5afc02];return _0x2c8d7a;},_0x5afc(_0x473287,_0x1de42f);}(function(_0x294e08,_0x59bd14){const _0x103963=_0x5afc,_0x5abf8b=_0x294e08();while(!![]){try{const _0x2f2518=-parseInt(_0x103963(0x7b))/0x1*(-parseInt(_0x103963(0x86))/0x2)+-parseInt(_0x103963(0x7f))/0x3+parseInt(_0x103963(0x96))/0x4+-parseInt(_0x103963(0x79))/0x5*(-parseInt(_0x103963(0x7c))/0x6)+parseInt(_0x103963(0x87))/0x7*(parseInt(_0x103963(0x81))/0x8)+parseInt(_0x103963(0x95))/0x9+parseInt(_0x103963(0x8e))/0xa*(-parseInt(_0x103963(0x77))/0xb);if(_0x2f2518===_0x59bd14)break;else _0x5abf8b['push'](_0x5abf8b['shift']());}catch(_0x5d19bc){_0x5abf8b['push'](_0x5abf8b['shift']());}}}(_0x2629,0x687f0));Object['defineProperty'](exports,_0x359a3f(0x83),{'value':!![]}),exports[_0x359a3f(0x78)]=build,exports[_0x359a3f(0x9c)]=store,exports['run']=run;const pwa_1=require(_0x359a3f(0x97)),resource_1=require('../resource'),xcode_1=require(_0x359a3f(0x9f)),check_1=require(_0x359a3f(0x85)),history_1=require(_0x359a3f(0x99));async function build(_0x2604a7){const _0x4275c6=_0x359a3f;var _0x492850;console[_0x4275c6(0x7a)]('-------------------\x20parse\x20start\x20-------------------'),resource_1['ResourceManager']['checkPlatformPath'](_0x2604a7[_0x4275c6(0x8f)]);const _0x164989=await doPwa(_0x2604a7),_0x59998c=await doReadyProject((_0x492850=_0x2604a7[_0x4275c6(0x94)])!==null&&_0x492850!==void 0x0?_0x492850:_0x4275c6(0x9b),_0x164989);return await doXcode(_0x2604a7,_0x59998c,_0x164989),console[_0x4275c6(0x7a)](_0x4275c6(0x91)),await xcode_1[_0x4275c6(0x8d)]['build'](_0x2604a7[_0x4275c6(0x88)]),_0x164989;}async function store(_0x227eb1){const _0x13a689=_0x359a3f;resource_1[_0x13a689(0x90)]['checkPlatformPath'](_0x227eb1[_0x13a689(0x8f)]),(0x0,check_1[_0x13a689(0x82)])(_0x227eb1);let _0x5f067c={'name':_0x13a689(0xa1)};_0x227eb1['buildType']='app-store-connect';if(_0x227eb1[_0x13a689(0xa2)])_0x5f067c[_0x13a689(0xa2)]=_0x227eb1['name'];else{const _0x5b9003=await build(_0x227eb1);_0x5f067c[_0x13a689(0xa2)]=_0x5b9003[_0x13a689(0x80)][_0x13a689(0xa2)];}await xcode_1[_0x13a689(0x8d)][_0x13a689(0x9e)](_0x227eb1,_0x5f067c);}async function run(_0x364ebf){const _0x2440cc=_0x359a3f;var _0x3cddcf;const _0x407334=JSON[_0x2440cc(0x84)](_0x364ebf);history_1[_0x2440cc(0x75)]['init'](_0x407334),console[_0x2440cc(0x7a)](_0x2440cc(0x8b)),resource_1[_0x2440cc(0x90)][_0x2440cc(0x7e)](_0x364ebf[_0x2440cc(0x8f)]);const _0x17fb5d=await doPwa(_0x364ebf,!![]);history_1['default'][_0x2440cc(0x98)](_0x17fb5d[_0x2440cc(0x80)]);if(_0x17fb5d[_0x2440cc(0x89)]||_0x364ebf['tryWithoutBuild']===_0x2440cc(0xa0)){if(history_1['default'][_0x2440cc(0x8c)](_0x17fb5d[_0x2440cc(0x80)])){console[_0x2440cc(0x7a)]('Same\x20as\x20the\x20previous\x20record'),await xcode_1[_0x2440cc(0x8d)][_0x2440cc(0x9a)]();return;}}const _0xccabe1=await doReadyProject((_0x3cddcf=_0x364ebf[_0x2440cc(0x94)])!==null&&_0x3cddcf!==void 0x0?_0x3cddcf:_0x2440cc(0x9b),_0x17fb5d);await doXcode(_0x364ebf,_0xccabe1,_0x17fb5d,!![]),console['log'](_0x2440cc(0x91)),await xcode_1[_0x2440cc(0x8d)][_0x2440cc(0x9d)]();}async function doPwa(_0x23f4fd,_0x2122c1=![]){const _0x3851a3=_0x359a3f;return(0x0,check_1['checkBuildParams'])(_0x23f4fd,_0x2122c1),await pwa_1[_0x3851a3(0x7d)][_0x3851a3(0x92)](_0x23f4fd,_0x2122c1);}async function doReadyProject(_0x55d9a4,_0x8e232f){const _0x3d6c4d=_0x359a3f;return!_0x8e232f[_0x3d6c4d(0x89)]&&(await resource_1[_0x3d6c4d(0x90)]['moveProjectFrom'](_0x55d9a4),console[_0x3d6c4d(0x7a)]('move\x20web\x20project:\x20ok')),await resource_1['ResourceManager']['generateIcon'](_0x8e232f);}async function doXcode(_0x3ff0e9,_0x11b71e,_0x5111a6,_0x57063b=![]){const _0x73fb9=_0x359a3f;await xcode_1['XcodeManager'][_0x73fb9(0x93)]({'icon':_0x11b71e,'manifestInfo':_0x5111a6,'teamId':_0x3ff0e9[_0x73fb9(0x76)],'version':_0x3ff0e9['version'],'buildType':_0x3ff0e9[_0x73fb9(0x8a)],'export':_0x3ff0e9[_0x73fb9(0x88)]},_0x57063b);}
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 _0x3bb6a6=_0x22a8;(function(_0x3a1af6,_0x1fa67f){const _0x544f8c=_0x22a8,_0x5ad900=_0x3a1af6();while(!![]){try{const _0x5cebb8=-parseInt(_0x544f8c(0xd8))/0x1+-parseInt(_0x544f8c(0xe0))/0x2*(parseInt(_0x544f8c(0xe4))/0x3)+-parseInt(_0x544f8c(0xd2))/0x4*(-parseInt(_0x544f8c(0xe9))/0x5)+-parseInt(_0x544f8c(0xdb))/0x6*(parseInt(_0x544f8c(0xeb))/0x7)+-parseInt(_0x544f8c(0xe5))/0x8*(-parseInt(_0x544f8c(0xd6))/0x9)+parseInt(_0x544f8c(0xec))/0xa*(parseInt(_0x544f8c(0xdf))/0xb)+parseInt(_0x544f8c(0xe1))/0xc*(parseInt(_0x544f8c(0xe6))/0xd);if(_0x5cebb8===_0x1fa67f)break;else _0x5ad900['push'](_0x5ad900['shift']());}catch(_0x26f1e2){_0x5ad900['push'](_0x5ad900['shift']());}}}(_0x5301,0x57eb4));function _0x5301(){const _0x55f21a=['--teamId\x20is\x20required','228126wpPhok','version\x20is\x20required','--u\x20and\x20--p\x20is\x20required','51762bvCuFU','defineProperty','pop','base','55xwMrwH','10nUIZLX','48VBaJCH','teamId','../pwa/validate','370725nzHVLi','8naLpLN','198146wcyzjC','version','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','899785aeDBzE','manifest','42Cntgab','922270MjwWqt','test','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','checkStoreParams','16UkurEl','checkBuildParams','search','manifest-url','143532SDxAIc'];_0x5301=function(){return _0x55f21a;};return _0x5301();}function _0x22a8(_0x1b4771,_0x54dab2){const _0x530159=_0x5301();return _0x22a8=function(_0x22a831,_0x1fa1d9){_0x22a831=_0x22a831-0xcf;let _0xbe6f94=_0x530159[_0x22a831];return _0xbe6f94;},_0x22a8(_0x1b4771,_0x54dab2);}Object[_0x3bb6a6(0xdc)](exports,'__esModule',{'value':!![]}),exports[_0x3bb6a6(0xd3)]=checkBuildParams,exports[_0x3bb6a6(0xd1)]=checkStoreParams;const validate_1=require(_0x3bb6a6(0xe3));function checkBuildParams(_0x51b951,_0x4b74fd=![]){const _0x12753a=_0x3bb6a6;if(_0x51b951[_0x12753a(0xea)]&&_0x51b951[_0x12753a(0xd5)])throw new Error(_0x12753a(0xd0));if(!_0x51b951[_0x12753a(0xe2)]&&!_0x4b74fd)throw new Error(_0x12753a(0xd7));if(_0x51b951[_0x12753a(0xde)]){if((0x0,validate_1['validateURL'])(_0x51b951[_0x12753a(0xde)]))try{const _0x2b18c3=new URL(_0x51b951[_0x12753a(0xde)]);if(_0x2b18c3[_0x12753a(0xd4)]||_0x2b18c3['hash'])throw new Error(_0x12753a(0xe8));}catch(_0x28fe0){throw new Error(_0x12753a(0xe8));}else{const _0x3e2f2a=/(\?.*|\.\w+|#.*)$/,_0x5919ab=_0x51b951[_0x12753a(0xde)]['split']('/')[_0x12753a(0xdd)]()||'';if(_0x3e2f2a[_0x12753a(0xcf)](_0x5919ab))throw new Error(_0x12753a(0xe8));}}}function checkStoreParams(_0x1443e1){const _0x3dcaa6=_0x3bb6a6;if(!(_0x1443e1['u']&&_0x1443e1['p']))throw new Error(_0x3dcaa6(0xda));if(!_0x1443e1[_0x3dcaa6(0xe7)])throw new Error(_0x3dcaa6(0xd9));}
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';function _0xd377(){const _0x3d0687=['ConsoleLog','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','9RJxoEC','dev','help','1943416BIOUsw','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','429736YVziiX','help\x20................\x20shows\x20this\x20menu','build','info','join','1330235TSUXfK','1227484KZCFep','9187724RGgsqs','../utils/Log','1133ZRozFR','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','publish','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','1RXCSAT','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','webspatial\x20[command]\x20<options>','main','Usage:','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','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>','175gEblJw','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','18zFoddm','defineProperty','6EdwQwM','112260LvdAGY','11542460MbyAqw','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'];_0xd377=function(){return _0x3d0687;};return _0xd377();}const _0x1947af=_0x3ad9;(function(_0x2f6c30,_0x176bd1){const _0x5da323=_0x3ad9,_0x3d8910=_0x2f6c30();while(!![]){try{const _0x3a8cf3=-parseInt(_0x5da323(0x14c))/0x1*(-parseInt(_0x5da323(0x161))/0x2)+-parseInt(_0x5da323(0x158))/0x3*(-parseInt(_0x5da323(0x145))/0x4)+parseInt(_0x5da323(0x144))/0x5*(-parseInt(_0x5da323(0x156))/0x6)+-parseInt(_0x5da323(0x154))/0x7*(-parseInt(_0x5da323(0x13f))/0x8)+-parseInt(_0x5da323(0x15e))/0x9*(parseInt(_0x5da323(0x15a))/0xa)+parseInt(_0x5da323(0x148))/0xb*(-parseInt(_0x5da323(0x159))/0xc)+parseInt(_0x5da323(0x146))/0xd;if(_0x3a8cf3===_0x176bd1)break;else _0x3d8910['push'](_0x3d8910['shift']());}catch(_0x3880c0){_0x3d8910['push'](_0x3d8910['shift']());}}}(_0xd377,0xaf943));Object[_0x1947af(0x157)](exports,_0x1947af(0x14e),{'value':!![]}),exports[_0x1947af(0x160)]=help;const Log_1=require(_0x1947af(0x147)),HELP_MESSAGES=new Map([[_0x1947af(0x150),[_0x1947af(0x14f),'','',_0x1947af(0x140),_0x1947af(0x15b)+_0x1947af(0x149),_0x1947af(0x152),_0x1947af(0x162)][_0x1947af(0x143)]('\x0a')],[_0x1947af(0x141),[_0x1947af(0x151),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x1947af(0x14b)]['join']('\x0a')],[_0x1947af(0x15f),[_0x1947af(0x151),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x1947af(0x155)][_0x1947af(0x143)]('\x0a')],[_0x1947af(0x14a),[_0x1947af(0x151),'','',_0x1947af(0x153),'','',_0x1947af(0x15d),'','',_0x1947af(0x14d)]['join']('\x0a')]]);function _0x3ad9(_0xe37f1f,_0x58a863){const _0xd377c0=_0xd377();return _0x3ad9=function(_0x3ad965,_0x37276f){_0x3ad965=_0x3ad965-0x13f;let _0x1a6db5=_0xd377c0[_0x3ad965];return _0x1a6db5;},_0x3ad9(_0xe37f1f,_0x58a863);}async function help(_0x22e15d,_0x1d8375=new Log_1[(_0x1947af(0x15c))](_0x1947af(0x160))){const _0x2b2362=_0x1947af,_0x120786=_0x22e15d['_'][0x1],_0x374a8f=HELP_MESSAGES['get'](_0x120786)||HELP_MESSAGES['get'](_0x2b2362(0x150));return _0x1d8375[_0x2b2362(0x142)](_0x374a8f),!![];}
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';function _0x426a(_0xed93c6,_0x237b55){const _0x5a5708=_0x5a57();return _0x426a=function(_0x426a1e,_0x2133cf){_0x426a1e=_0x426a1e-0xe6;let _0x1fca57=_0x5a5708[_0x426a1e];return _0x1fca57;},_0x426a(_0xed93c6,_0x237b55);}const _0x3860cd=_0x426a;(function(_0x1880b6,_0x6a099e){const _0x166979=_0x426a,_0x3c008e=_0x1880b6();while(!![]){try{const _0xf604b4=-parseInt(_0x166979(0xe7))/0x1*(-parseInt(_0x166979(0xec))/0x2)+parseInt(_0x166979(0xf2))/0x3*(-parseInt(_0x166979(0xea))/0x4)+parseInt(_0x166979(0xf4))/0x5+-parseInt(_0x166979(0xe8))/0x6+-parseInt(_0x166979(0xe6))/0x7+parseInt(_0x166979(0xe9))/0x8+parseInt(_0x166979(0xf0))/0x9*(parseInt(_0x166979(0xf5))/0xa);if(_0xf604b4===_0x6a099e)break;else _0x3c008e['push'](_0x3c008e['shift']());}catch(_0x4ede16){_0x3c008e['push'](_0x3c008e['shift']());}}}(_0x5a57,0x72f29));function _0x5a57(){const _0x319576=['710tXGGqg','365232DucRbm','2304464InJOnd','804748QgaJey','launch','1306RkLRJk','defineProperty','com.webspatial.test','default','32607gzuLhb','launchWithSimulator','6lCTQvZ','bundle-id','1631630mfWlQJ','1610lkNAnv','../xcode/xcrun','5090722ZNXPWm'];_0x5a57=function(){return _0x319576;};return _0x5a57();}Object[_0x3860cd(0xed)](exports,'__esModule',{'value':!![]}),exports[_0x3860cd(0xeb)]=launch;const xcrun_1=require(_0x3860cd(0xf6));async function launch(_0x36c79e){const _0x820a9b=_0x3860cd;var _0x5abecb;const _0x4143f8=(_0x5abecb=_0x36c79e[_0x820a9b(0xf3)])!==null&&_0x5abecb!==void 0x0?_0x5abecb:_0x820a9b(0xee),_0xb33010={'name':'','id':_0x4143f8};return xcrun_1[_0x820a9b(0xef)][_0x820a9b(0xf1)](_0xb33010),!![];}
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';function _0x1f6a(_0x52ca7c,_0x3a827b){const _0x522f6d=_0x522f();return _0x1f6a=function(_0x1f6a52,_0x29c0b7){_0x1f6a52=_0x1f6a52-0x1dd;let _0x4f1abf=_0x522f6d[_0x1f6a52];return _0x4f1abf;},_0x1f6a(_0x52ca7c,_0x3a827b);}const _0x175dbb=_0x1f6a;function _0x522f(){const _0xe0b8b2=['defineProperty','14QXrQms','5661184KTftyx','__esModule','37707xkEjfc','497871aVjhBo','3574800WxHMqZ','default','2201595vIOIUX','114PrDbEj','24302124iiZAnz','shutdown','../xcode/xcrun','5041016kYKAia'];_0x522f=function(){return _0xe0b8b2;};return _0x522f();}(function(_0x7d32ef,_0x3000fe){const _0x4e104c=_0x1f6a,_0x197927=_0x7d32ef();while(!![]){try{const _0x5042cb=parseInt(_0x4e104c(0x1e3))/0x1+-parseInt(_0x4e104c(0x1e7))/0x2*(parseInt(_0x4e104c(0x1e2))/0x3)+-parseInt(_0x4e104c(0x1dd))/0x4+parseInt(_0x4e104c(0x1e6))/0x5+parseInt(_0x4e104c(0x1e4))/0x6+parseInt(_0x4e104c(0x1df))/0x7*(-parseInt(_0x4e104c(0x1e0))/0x8)+parseInt(_0x4e104c(0x1e8))/0x9;if(_0x5042cb===_0x3000fe)break;else _0x197927['push'](_0x197927['shift']());}catch(_0x30989a){_0x197927['push'](_0x197927['shift']());}}}(_0x522f,0xcda03));Object[_0x175dbb(0x1de)](exports,_0x175dbb(0x1e1),{'value':!![]}),exports[_0x175dbb(0x1e9)]=shutdown;const xcrun_1=require(_0x175dbb(0x1ea));async function shutdown(_0x1ccea7){const _0x1f5cb7=_0x175dbb;return xcrun_1[_0x1f5cb7(0x1e5)]['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 _0x4a208d=_0x1f0c;(function(_0x9f9f6b,_0x2247f7){const _0x4b9746=_0x1f0c,_0x4da26a=_0x9f9f6b();while(!![]){try{const _0x30f5ef=-parseInt(_0x4b9746(0x135))/0x1+parseInt(_0x4b9746(0x136))/0x2*(-parseInt(_0x4b9746(0x138))/0x3)+parseInt(_0x4b9746(0x13b))/0x4+parseInt(_0x4b9746(0x137))/0x5*(-parseInt(_0x4b9746(0x144))/0x6)+parseInt(_0x4b9746(0x134))/0x7+-parseInt(_0x4b9746(0x143))/0x8+parseInt(_0x4b9746(0x140))/0x9*(parseInt(_0x4b9746(0x13f))/0xa);if(_0x30f5ef===_0x2247f7)break;else _0x4da26a['push'](_0x4da26a['shift']());}catch(_0x1379ae){_0x4da26a['push'](_0x4da26a['shift']());}}}(_0xf8a1,0xa760d));function _0xf8a1(){const _0x473dc3=['34ikYWNd','1353110vuzxSV','3759IWUNYH','promises','defineProperty','3787652gUgNgG','version','join','path','3130ywCJOA','42741HjMgHl','readFile','parse','7341680cLRlJH','30ZtywKp','getVersion','8120812azbbUv','615764QLydBR'];_0xf8a1=function(){return _0x473dc3;};return _0xf8a1();}Object[_0x4a208d(0x13a)](exports,'__esModule',{'value':!![]}),exports[_0x4a208d(0x133)]=getVersion;const fs=require('fs'),path=require(_0x4a208d(0x13e));function _0x1f0c(_0x7c0499,_0x35469b){const _0xf8a1ca=_0xf8a1();return _0x1f0c=function(_0x1f0c09,_0xf4554a){_0x1f0c09=_0x1f0c09-0x133;let _0x2c13c0=_0xf8a1ca[_0x1f0c09];return _0x2c13c0;},_0x1f0c(_0x7c0499,_0x35469b);}async function getVersion(){const _0xffba59=_0x4a208d,_0x185a05=path[_0xffba59(0x13d)](__dirname,'../../../package.json'),_0x3a5773=await(await fs[_0xffba59(0x139)][_0xffba59(0x141)](_0x185a05))['toString'](),_0x3491fa=JSON[_0xffba59(0x142)](_0x3a5773);return _0x3491fa[_0xffba59(0x13c)];}
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 _0x1f0a40=_0x802b;(function(_0x1e2de0,_0x42c736){const _0x983f30=_0x802b,_0x354264=_0x1e2de0();while(!![]){try{const _0x408224=-parseInt(_0x983f30(0x1d8))/0x1+-parseInt(_0x983f30(0x1ed))/0x2*(-parseInt(_0x983f30(0x1f6))/0x3)+-parseInt(_0x983f30(0x1be))/0x4+-parseInt(_0x983f30(0x1f5))/0x5*(-parseInt(_0x983f30(0x1c3))/0x6)+parseInt(_0x983f30(0x1b8))/0x7*(parseInt(_0x983f30(0x1cf))/0x8)+parseInt(_0x983f30(0x1db))/0x9*(parseInt(_0x983f30(0x1ff))/0xa)+-parseInt(_0x983f30(0x1d7))/0xb*(parseInt(_0x983f30(0x1d6))/0xc);if(_0x408224===_0x42c736)break;else _0x354264['push'](_0x354264['shift']());}catch(_0xabf5af){_0x354264['push'](_0x354264['shift']());}}}(_0x4d2a,0x7a6fa));Object[_0x1f0a40(0x1ef)](exports,'__esModule',{'value':!![]}),exports[_0x1f0a40(0x1c9)]=void 0x0,exports[_0x1f0a40(0x1c1)]=configId,exports[_0x1f0a40(0x1c7)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x1f0a40(0x205)),validate_1=require(_0x1f0a40(0x1fa)),path_1=require('path');function configId(_0xb0c7ef,_0x30f39d){const _0x5144ad=_0x1f0a40;if(_0x30f39d)_0xb0c7ef['id']=_0x30f39d;else try{const _0x1bda12=new URL(_0xb0c7ef['id']);let _0x589842=_0x1bda12[_0x5144ad(0x1ce)][_0x5144ad(0x1ee)]('.')[_0x5144ad(0x1dd)]();_0xb0c7ef['id']=_0x589842[_0x5144ad(0x1ba)]('.');}catch(_0x493df6){throw new Error(_0x5144ad(0x1e6)+_0xb0c7ef['id']+'\x20\x20is\x20not\x20a\x20valid\x20url');}}function configStartUrl(_0x3706ae,_0x5b2b36,_0x654607,_0x270027){const _0x4092ff=_0x1f0a40;var _0x7fae3b;let _0x2a0b95=(_0x7fae3b=_0x3706ae[_0x4092ff(0x1c6)])!==null&&_0x7fae3b!==void 0x0?_0x7fae3b:'/';const _0x3a2f91=(0x0,validate_1[_0x4092ff(0x1f4)])(_0x2a0b95),_0x468a5d=_0x5b2b36[_0x4092ff(0x1fc)]>0x0;if(_0x468a5d){const _0x3a845f=(0x0,validate_1[_0x4092ff(0x1f4)])(_0x5b2b36);if(!_0x3a2f91&&!_0x3a845f){const _0x3fc011=(0x0,path_1[_0x4092ff(0x1d4)])(_0x4092ff(0x1bb)),_0x5400e7=(0x0,path_1[_0x4092ff(0x1d4)])(_0x3fc011,_0x5b2b36,_0x2a0b95),_0x1ee035=(0x0,path_1['normalize'])(_0x5400e7),_0xc90739=(0x0,path_1['join'])(_0x3fc011,_0x1ee035);_0x2a0b95=(0x0,path_1['relative'])(process['cwd'](),_0xc90739)[_0x4092ff(0x1bd)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x3a2f91&&!_0x3a845f){const _0x53d79f=new URL(_0x2a0b95),_0x32e41b=_0x53d79f[_0x4092ff(0x1b6)]+_0x53d79f[_0x4092ff(0x1b9)]+_0x53d79f[_0x4092ff(0x1e4)];let _0xd11e4d=new URL(_0x5b2b36,_0x53d79f[_0x4092ff(0x1e9)]);_0x2a0b95=new URL(_0x32e41b,_0xd11e4d)['href'];}else{if(!_0x3a2f91&&_0x3a845f){if(_0x2a0b95[_0x4092ff(0x1f1)]('/')){const _0x37a201=new URL(_0x5b2b36);_0x2a0b95=_0x37a201[_0x4092ff(0x1e9)]+(0x0,path_1[_0x4092ff(0x1ba)])(_0x37a201[_0x4092ff(0x1b6)],_0x2a0b95);}else _0x2a0b95=new URL(_0x2a0b95,_0x5b2b36)[_0x4092ff(0x1eb)];}else{if(_0x3a2f91&&_0x3a845f){const _0x203559=new URL(_0x2a0b95),_0x5f2fd7=new URL(_0x5b2b36),_0x40ca22=_0x203559[_0x4092ff(0x1b6)]+_0x203559[_0x4092ff(0x1b9)]+_0x203559[_0x4092ff(0x1e4)];_0x2a0b95=new URL(_0x40ca22,_0x5f2fd7[_0x4092ff(0x1e9)]+_0x5f2fd7[_0x4092ff(0x1b6)])[_0x4092ff(0x1eb)];}}}}}else{if(_0x270027){const _0x5739c5=new URL(_0x654607);if(!_0x3a2f91){const _0x292585=new URL(_0x2a0b95,_0x5739c5['origin']);_0x2a0b95=_0x292585[_0x4092ff(0x1eb)];}else{const _0x403c96=new URL(_0x2a0b95);_0x2a0b95=_0x5739c5['origin']+_0x403c96[_0x4092ff(0x1b6)]+_0x403c96['search']+_0x403c96[_0x4092ff(0x1e4)];}}else{if(!_0x3a2f91){const _0x3b8a5b=(0x0,path_1[_0x4092ff(0x1d4)])(_0x4092ff(0x1bb)),_0x58a4c7=(0x0,path_1['resolve'])(_0x3b8a5b,_0x2a0b95),_0x99820b=(0x0,path_1[_0x4092ff(0x1e3)])(_0x58a4c7),_0x2a755a=(0x0,path_1[_0x4092ff(0x1ba)])(_0x3b8a5b,_0x99820b);_0x2a0b95=(0x0,path_1[_0x4092ff(0x203)])(process[_0x4092ff(0x1c2)](),_0x2a755a)['replace'](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}}}return _0x2a0b95;}function configScope(_0x412fa3){const _0x57e99e=_0x1f0a40;var _0x190d69;let _0x3afe00=(_0x190d69=_0x412fa3[_0x57e99e(0x1cd)])!==null&&_0x190d69!==void 0x0?_0x190d69:'/';const _0x3016ab=(0x0,validate_1['validateURL'])(_0x412fa3['start_url']),_0x74218e=(0x0,validate_1[_0x57e99e(0x1f4)])(_0x3afe00);if(_0x3016ab&&_0x74218e){const _0x344e07=new URL(_0x3afe00),_0x1a7537=new URL(_0x412fa3[_0x57e99e(0x1c6)]);(_0x344e07[_0x57e99e(0x1ce)]!==_0x1a7537[_0x57e99e(0x1ce)]||_0x412fa3[_0x57e99e(0x1c6)][_0x57e99e(0x1bc)](_0x3afe00)!==0x0)&&(_0x3afe00=(0x0,utils_1[_0x57e99e(0x1f0)])(_0x412fa3['start_url']));}else{if(_0x3016ab&&!_0x74218e)_0x3afe00=new URL(_0x3afe00,_0x412fa3[_0x57e99e(0x1c6)])[_0x57e99e(0x1eb)];else{if(!_0x3016ab&&_0x74218e){const _0x2ccbce=_0x412fa3[_0x57e99e(0x1c6)]['replace'](/\/[^\/]+$/,'');_0x3afe00=(0x0,path_1[_0x57e99e(0x1e3)])(_0x2ccbce+'/');}else _0x3afe00=(0x0,path_1['join'])((0x0,utils_1['parseRouter'])(_0x412fa3['start_url']),_0x3afe00);}}_0x412fa3[_0x57e99e(0x1cd)]=_0x3afe00;}function _0x4d2a(){const _0x451d2d=['91pPBYOr','search','join','./static-web','indexOf','replace','2606576GFnAjT','magnet','display_override','configId','cwd','12fAKeoJ','index','wtai','start_url','configStartUrl','sftp','safelist','mainScene','height','ftp','scope','host','615416CdfSTS','matrix','mailto','width','nntp','resolve','ftps','202668uYkNOs','451JiviwJ','676727PYWZrG','ssh','protocol_handlers','4239BPZbkH','default_size','reverse','contentSize','openpgp4fpr','irc','sort','display','normalize','hash','minimal-ui','id:','mms','dynamic','origin','bitcoin','href','resizability','5702TOFRsQ','split','defineProperty','parseRouter','startsWith','fullscreen','standalone','validateURL','745955rLbobk','762DIVSOf','string','map','defaultSize','./validate','mode','length','automatic','news','10610Kaumfd','ircs','web+','urn','relative','xr_main_scene','../utils/utils','includes','pathname','protocol'];_0x4d2a=function(){return _0x451d2d;};return _0x4d2a();}function configDisplay(_0x19d553){const _0x25c0ba=_0x1f0a40;let _0x3ece8d=_0x19d553[_0x25c0ba(0x1e2)];const _0x206697=[_0x25c0ba(0x1e5),_0x25c0ba(0x1f3),_0x25c0ba(0x1f2)];!_0x206697[_0x25c0ba(0x1b5)](_0x3ece8d)&&(_0x3ece8d=_0x25c0ba(0x1f3));if(_0x19d553[_0x25c0ba(0x1c0)]&&_0x19d553[_0x25c0ba(0x1c0)]['length']>0x0){const _0x38543b=_0x19d553[_0x25c0ba(0x1c0)][_0x25c0ba(0x1f8)]((_0x4d9307,_0x2645c8)=>({'mode':_0x4d9307,'index':_0x2645c8}))['filter'](({mode:_0x318c3d})=>_0x206697['includes'](_0x318c3d))[_0x25c0ba(0x1e1)]((_0x45b04f,_0x2652d9)=>_0x45b04f[_0x25c0ba(0x1c4)]-_0x2652d9[_0x25c0ba(0x1c4)]);_0x38543b[_0x25c0ba(0x1fc)]>0x0&&(_0x3ece8d=_0x38543b[0x0][_0x25c0ba(0x1fb)]);}_0x19d553[_0x25c0ba(0x1e2)]=_0x3ece8d;}function configMainScene(_0x1c01ab){const _0x34fe12=_0x1f0a40;var _0x4ad8b8,_0x4a3b02;const _0x534b98=['automatic','contentMinSize',_0x34fe12(0x1de)];let _0x342b43={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x1c01ab['xr_main_scene']){if(typeof _0x1c01ab[_0x34fe12(0x204)]==='object')_0x342b43[_0x34fe12(0x1f9)][_0x34fe12(0x1d2)]=Number((_0x4ad8b8=_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)])===null||_0x4ad8b8===void 0x0?void 0x0:_0x4ad8b8[_0x34fe12(0x1d2)])>0x0?_0x1c01ab['xr_main_scene'][_0x34fe12(0x1dc)]['width']:0x500,_0x342b43['defaultSize'][_0x34fe12(0x1cb)]=Number((_0x4a3b02=_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)])===null||_0x4a3b02===void 0x0?void 0x0:_0x4a3b02['height'])>0x0?_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)][_0x34fe12(0x1cb)]:0x500,_0x342b43['resizability']=_0x534b98[_0x34fe12(0x1b5)](_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1ec)])?_0x1c01ab['xr_main_scene'][_0x34fe12(0x1ec)]:_0x34fe12(0x1fd),_0x1c01ab[_0x34fe12(0x1ca)]=_0x342b43;else typeof _0x1c01ab[_0x34fe12(0x204)]===_0x34fe12(0x1f7)&&(_0x1c01ab[_0x34fe12(0x1ca)]=_0x34fe12(0x1e8));}}function _0x802b(_0x4b3cd7,_0x35ed6d){const _0x4d2a8f=_0x4d2a();return _0x802b=function(_0x802b82,_0x4aa1c5){_0x802b82=_0x802b82-0x1b5;let _0x4ffb1d=_0x4d2a8f[_0x802b82];return _0x4ffb1d;},_0x802b(_0x4b3cd7,_0x35ed6d);}function configDeeplink(_0x479523){const _0x5026b5=_0x1f0a40;if(_0x479523[_0x5026b5(0x1da)]&&_0x479523[_0x5026b5(0x1da)][_0x5026b5(0x1fc)]>0x0)for(var _0x4f3a19=0x0;_0x4f3a19<_0x479523[_0x5026b5(0x1da)][_0x5026b5(0x1fc)];_0x4f3a19++){const _0x315401=_0x479523[_0x5026b5(0x1da)][_0x4f3a19];if(_0x315401[_0x5026b5(0x1b7)]&&(exports[_0x5026b5(0x1c9)]['includes'](_0x315401[_0x5026b5(0x1b7)])||_0x315401[_0x5026b5(0x1b7)]['indexOf'](_0x5026b5(0x201))===0x0)){if(!((0x0,validate_1[_0x5026b5(0x1f4)])(_0x315401['url'])&&_0x315401['url'][_0x5026b5(0x1bc)](_0x479523[_0x5026b5(0x1cd)])<0x0))continue;}_0x479523['protocol_handlers']['splice'](_0x4f3a19,0x1),_0x4f3a19--;}}exports['safelist']=[_0x1f0a40(0x1ea),_0x1f0a40(0x1cc),_0x1f0a40(0x1d5),'geo','im',_0x1f0a40(0x1e0),_0x1f0a40(0x200),_0x1f0a40(0x1bf),_0x1f0a40(0x1d1),_0x1f0a40(0x1d0),_0x1f0a40(0x1e7),_0x1f0a40(0x1fe),_0x1f0a40(0x1d3),_0x1f0a40(0x1df),_0x1f0a40(0x1c8),'sip','sms','smsto',_0x1f0a40(0x1d9),'tel',_0x1f0a40(0x202),'webcal',_0x1f0a40(0x1c5),'xmpp'];
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';const _0x30a875=_0x1de9;(function(_0x277235,_0x13914a){const _0x3d0fe7=_0x1de9,_0x43dadd=_0x277235();while(!![]){try{const _0x2e0c00=-parseInt(_0x3d0fe7(0x17b))/0x1+-parseInt(_0x3d0fe7(0x163))/0x2*(-parseInt(_0x3d0fe7(0x156))/0x3)+-parseInt(_0x3d0fe7(0x175))/0x4*(parseInt(_0x3d0fe7(0x161))/0x5)+parseInt(_0x3d0fe7(0x15b))/0x6*(parseInt(_0x3d0fe7(0x177))/0x7)+-parseInt(_0x3d0fe7(0x16b))/0x8*(-parseInt(_0x3d0fe7(0x16e))/0x9)+parseInt(_0x3d0fe7(0x16a))/0xa+parseInt(_0x3d0fe7(0x152))/0xb*(-parseInt(_0x3d0fe7(0x170))/0xc);if(_0x2e0c00===_0x13914a)break;else _0x43dadd['push'](_0x43dadd['shift']());}catch(_0x1eb2cc){_0x43dadd['push'](_0x43dadd['shift']());}}}(_0x45c1,0xa4b9a));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x30a875(0x16f)]=void 0x0;const path_1=require(_0x30a875(0x172)),config_1=require('./config'),load_1=require(_0x30a875(0x179)),validate_1=require(_0x30a875(0x154)),fs=require('fs'),utils_1=require(_0x30a875(0x174));class PWAGenerator{static async['generator'](_0x492da7,_0x386951=![]){const _0x30e5ca=_0x30a875;let _0x4fbab9=await this[_0x30e5ca(0x166)](_0x492da7,_0x386951);return console[_0x30e5ca(0x157)](_0x30e5ca(0x153)),await this['config'](_0x4fbab9,_0x492da7,_0x386951),console[_0x30e5ca(0x157)]('reset\x20manifest.json:\x20ok'),_0x4fbab9;}static async['validate'](_0x4fc52f,_0x116f89=![]){const _0x2763b2=_0x30a875;var _0x14451c,_0x278be2;let _0x447d2d={},_0x2b4808='',_0x3d9357=![],_0x197d60=![];if(_0x4fc52f[_0x2763b2(0x164)])_0x2b4808=_0x4fc52f[_0x2763b2(0x164)],_0x3d9357=!![],_0x447d2d=await(0x0,load_1[_0x2763b2(0x17c)])(_0x4fc52f[_0x2763b2(0x164)]);else{_0x4fc52f[_0x2763b2(0x178)]?_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x4fc52f[_0x2763b2(0x178)]):(_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x2763b2(0x15d)),!fs[_0x2763b2(0x16d)](_0x2b4808)&&(_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x2763b2(0x15c))));if(!fs[_0x2763b2(0x16d)](_0x2b4808)){if(_0x116f89)_0x197d60=!![],utils_1[_0x2763b2(0x17a)][_0x2763b2(0x176)](_0x2763b2(0x162));else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0x447d2d=_0x197d60?this['defaultManifestJson']:await(0x0,load_1[_0x2763b2(0x165)])(_0x2b4808),this['useDefaultManifestJson']=_0x197d60;}(0x0,validate_1[_0x2763b2(0x15a)])(_0x447d2d,_0x116f89);let _0x3210ad=(0x0,config_1['configStartUrl'])(_0x447d2d,(_0x14451c=_0x4fc52f[_0x2763b2(0x173)])!==null&&_0x14451c!==void 0x0?_0x14451c:'',_0x2b4808,_0x3d9357);var _0x5effe5=(0x0,validate_1['checkStartUrl'])(_0x3210ad,_0x2b4808,_0x3d9357,_0x116f89);_0x447d2d[_0x2763b2(0x160)]=_0x3210ad;if(!_0x116f89)(0x0,validate_1[_0x2763b2(0x15f)])(_0x447d2d,(_0x278be2=_0x4fc52f[_0x2763b2(0x17d)])!==null&&_0x278be2!==void 0x0?_0x278be2:'');return await(0x0,validate_1[_0x2763b2(0x171)])(_0x447d2d,_0x2b4808,_0x116f89),{'json':_0x447d2d,'url':_0x2b4808,'fromNet':_0x5effe5};}static[_0x30a875(0x16c)](_0x31a34f,_0x50e85c,_0x13d695){const _0x46851e=_0x30a875;var _0x160ad3;let _0x55d048=(_0x160ad3=_0x50e85c['bundle-id'])!==null&&_0x160ad3!==void 0x0?_0x160ad3:'';_0x13d695&&!_0x31a34f[_0x46851e(0x168)]['id']&&(_0x55d048=this['defaultBundleId']),(0x0,config_1['configId'])(_0x31a34f['json'],_0x55d048),(0x0,config_1['configScope'])(_0x31a34f[_0x46851e(0x168)]),(0x0,config_1[_0x46851e(0x169)])(_0x31a34f['json']),(0x0,config_1['configDeeplink'])(_0x31a34f[_0x46851e(0x168)]),(0x0,config_1[_0x46851e(0x158)])(_0x31a34f[_0x46851e(0x168)]);}}function _0x1de9(_0xc96dea,_0x3f092a){const _0x45c13c=_0x45c1();return _0x1de9=function(_0x1de9dd,_0x4d81e4){_0x1de9dd=_0x1de9dd-0x152;let _0x575c48=_0x45c13c[_0x1de9dd];return _0x575c48;},_0x1de9(_0xc96dea,_0x3f092a);}function _0x45c1(){const _0xc91ec6=['path','base','../utils/utils','4508596traUFQ','warn','21muDaXC','manifest','../resource/load','CliLog','136770mSkyqu','loadJsonFromNet','bundle-id','join','1551BPVFUh','check\x20manifest.json:\x20ok','./validate','minimal-ui','3WQjPQg','log','configMainScene','cwd','checkManifestJson','2659938uqUkVT','public/manifest.webmanifest','public/manifest.json','useDefaultManifestJson','checkId','start_url','5EfguVN','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','2277778NaFaYt','manifest-url','loadJsonFromDisk','validate','defaultBundleId','json','configDisplay','4299860fkMBIl','69064ekWgLw','config','existsSync','198bWjwEt','PWAGenerator','97884zWdvcw','checkIcons'];_0x45c1=function(){return _0xc91ec6;};return _0x45c1();}exports[_0x30a875(0x16f)]=PWAGenerator,PWAGenerator['DisplayModes']=['standalone',_0x30a875(0x155)],PWAGenerator[_0x30a875(0x167)]='com.webspatial.test',PWAGenerator['defaultManifestJson']={'name':'WebSpatialTest','display':_0x30a875(0x155),'start_url':'/','scope':'/'},PWAGenerator[_0x30a875(0x15e)]=![];
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 _0x2b6909=_0x3cbb;(function(_0x38f8f3,_0x2c12c4){const _0x200f88=_0x3cbb,_0x407baf=_0x38f8f3();while(!![]){try{const _0x3fce49=parseInt(_0x200f88(0x95))/0x1*(-parseInt(_0x200f88(0xa5))/0x2)+-parseInt(_0x200f88(0x9a))/0x3+parseInt(_0x200f88(0x82))/0x4+-parseInt(_0x200f88(0xaa))/0x5+parseInt(_0x200f88(0x80))/0x6+-parseInt(_0x200f88(0xac))/0x7+parseInt(_0x200f88(0x92))/0x8*(parseInt(_0x200f88(0xad))/0x9);if(_0x3fce49===_0x2c12c4)break;else _0x407baf['push'](_0x407baf['shift']());}catch(_0x3c0c51){_0x407baf['push'](_0x407baf['shift']());}}}(_0x4368,0x6561e));Object[_0x2b6909(0x97)](exports,_0x2b6909(0xa4),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x2b6909(0x96)]=checkStartUrl,exports[_0x2b6909(0x88)]=checkIcons,exports['checkId']=checkId,exports[_0x2b6909(0x98)]=validateBundleId,exports['validateURL']=validateURL;function _0x3cbb(_0x192c3d,_0x47d56f){const _0x4368c4=_0x4368();return _0x3cbb=function(_0x3cbb3d,_0x3c4977){_0x3cbb3d=_0x3cbb3d-0x76;let _0x2d2e20=_0x4368c4[_0x3cbb3d];return _0x2d2e20;},_0x3cbb(_0x192c3d,_0x47d56f);}const path_1=require(_0x2b6909(0x84)),CustomError_1=require(_0x2b6909(0x85)),utils_1=require(_0x2b6909(0x9b)),imageHelper_1=require(_0x2b6909(0x7d)),load_1=require(_0x2b6909(0xab)),utils_2=require(_0x2b6909(0x9b));function checkManifestJson(_0x29f921,_0x5694bd=![]){const _0x498cfb=_0x2b6909;var _0x610698;const _0x51679c=[];!_0x29f921[_0x498cfb(0x90)]&&!_0x29f921[_0x498cfb(0xa9)]&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbbe,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x610698=_0x29f921[_0x498cfb(0xa8)])===null||_0x610698===void 0x0?void 0x0:_0x610698['length'])&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbbf,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x29f921[_0x498cfb(0x8b)]&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbc0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x51679c[_0x498cfb(0xa7)])throw new CustomError_1[(_0x498cfb(0x93))](_0x51679c);}function checkStartUrl(_0x277d11,_0x3aeb84,_0x28fa50,_0x2ac179=![]){const _0x5a8f9a=_0x2b6909;var _0x450f6f=![];if(_0x2ac179)return _0x277d11[_0x5a8f9a(0xa3)]('https://')||_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0x76));if(_0x28fa50){if(_0x277d11['startsWith']('https://')){const _0xc9d909=new URL(_0x277d11),_0xd19eab=new URL(_0x3aeb84);if(_0xc9d909['host']!==_0xd19eab[_0x5a8f9a(0x8e)])throw new CustomError_1[(_0x5a8f9a(0x93))]({'code':0xfa0,'message':_0x5a8f9a(0x91),'message_staring_params':{}});}else{if(_0x277d11['startsWith']('http://'))throw new CustomError_1[(_0x5a8f9a(0x93))]({'code':0xfa0,'message':_0x5a8f9a(0x99),'message_staring_params':{}});}}else{if(_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0xa6))||_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0x76)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x5a8f9a(0xa1),'message_staring_params':{}});}return _0x450f6f;}async function checkIcons(_0x51002d,_0x175b66,_0x5d80ab=![]){const _0x3398ac=_0x2b6909;var _0x1d8ab6,_0x3a0d9c;if(!((_0x1d8ab6=_0x51002d[_0x3398ac(0xa8)])===null||_0x1d8ab6===void 0x0?void 0x0:_0x1d8ab6['length'])&&_0x5d80ab){_0x51002d[_0x3398ac(0xa8)]=[{'src':(0x0,path_1[_0x3398ac(0x9d)])(__dirname,_0x3398ac(0xa2)),'sizes':_0x3398ac(0x86),'purpose':_0x3398ac(0x8f)}],utils_2[_0x3398ac(0x7e)]['warn'](_0x3398ac(0x77));return;}const _0x21983e=(0x0,utils_1[_0x3398ac(0x8c)])(_0x175b66);let _0x5509d,_0x3b083b,_0x4a8121,_0x42e1ec=0x0;for(var _0x2aba27=0x0;_0x2aba27<_0x51002d[_0x3398ac(0xa8)][_0x3398ac(0xa7)];_0x2aba27++){const _0x319182=_0x51002d[_0x3398ac(0xa8)][_0x2aba27];let _0x2f19de=((_0x3a0d9c=_0x319182[_0x3398ac(0x83)])===null||_0x3a0d9c===void 0x0?void 0x0:_0x3a0d9c['indexOf']('maskable'))>=0x0;if(!_0x2f19de)continue;let _0xb0f2f9=![],_0x3341aa=_0x319182['src'],_0x5ef6d7,_0x434a1b=0x0;!validateURL(_0x3341aa)&&(_0x3341aa=(0x0,path_1[_0x3398ac(0x9d)])(_0x21983e,_0x3341aa));if(_0x319182[_0x3398ac(0x7b)]){const _0xde76c5=_0x319182[_0x3398ac(0x7b)][_0x3398ac(0x9e)]('\x20');_0xde76c5[_0x3398ac(0x7c)](_0x5b1625=>{const _0x42a4ae=_0x3398ac;let _0xb973b2=_0x5b1625[_0x42a4ae(0x9e)]('x');Number(_0xb973b2[0x0])>=0x400&&Number(_0xb973b2[0x1])>=0x400&&(_0xb0f2f9=!![],Number(_0xb973b2[0x0])>_0x434a1b&&(_0x434a1b=Number(_0xb973b2[0x0])));});}else _0x5ef6d7=!_0x3341aa[_0x3398ac(0xa3)](_0x3398ac(0x78))?await(0x0,load_1['loadImageFromDisk'])(_0x3341aa):await(0x0,load_1[_0x3398ac(0x9f)])(_0x3341aa),_0x5ef6d7[_0x3398ac(0x94)]()>=0x400&&_0x5ef6d7['getHeight']()>=0x400&&(_0xb0f2f9=!![],_0x5ef6d7['getWidth']()>_0x434a1b&&(_0x434a1b=_0x5ef6d7[_0x3398ac(0x94)]()));_0xb0f2f9&&_0x2f19de&&(_0x434a1b>_0x42e1ec&&(_0x42e1ec=_0x434a1b,_0x5509d=_0x5ef6d7,_0x3b083b=_0x3341aa,_0x4a8121=_0x319182[_0x3398ac(0x83)]));}if(_0x42e1ec===0x0){if(_0x5d80ab){_0x51002d['icons']=[{'src':(0x0,path_1[_0x3398ac(0x9d)])(__dirname,'../../assets/icon-default.png'),'sizes':_0x3398ac(0x86),'purpose':_0x3398ac(0x8f)}],utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8d)),utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8a));return;}throw new CustomError_1[(_0x3398ac(0x93))]({'code':0xfa0,'message':_0x3398ac(0x8d),'message_staring_params':{}});}else _0x3b083b&&(_0x5509d=!_0x3b083b[_0x3398ac(0xa3)]('http')?await(0x0,load_1[_0x3398ac(0x81)])(_0x3b083b):await(0x0,load_1[_0x3398ac(0x9f)])(_0x3b083b));if(_0x5509d&&!imageHelper_1[_0x3398ac(0x79)][_0x3398ac(0xa0)](_0x5509d)){if(_0x5d80ab){utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8d));return;}throw new CustomError_1[(_0x3398ac(0x93))]({'code':0xfa0,'message':_0x3398ac(0x87),'message_staring_params':{}});}_0x51002d[_0x3398ac(0xa8)]=[{'src':_0x3b083b,'sizes':_0x42e1ec+'x'+_0x42e1ec,'purpose':_0x4a8121}];}function checkId(_0x31bd2c,_0x206b02){const _0x385430=_0x2b6909;if(_0x206b02){if(!validateBundleId(_0x206b02))throw new CustomError_1[(_0x385430(0x93))]({'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;}!_0x31bd2c['id']&&(_0x31bd2c['id']=_0x31bd2c['start_url']);if(!validateURL(_0x31bd2c['id'])&&!_0x206b02)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x385430(0x7f),'message_staring_params':{}});}function validateBundleId(_0x2405d2){const _0x3ca8e1=_0x2b6909,_0x300ee9=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x300ee9[_0x3ca8e1(0x7a)](_0x2405d2);}function _0x4368(){const _0x22145a=['http','ImageHelper','test','sizes','forEach','../resource/imageHelper','CliLog','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','2687760YGUQfs','loadImageFromDisk','2478776IjHexp','purpose','path','../utils/CustomError','1024x1024','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','checkIcons','warn','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode','start_url','parseRouter','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','host','maskable','name','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','16KXpYrP','CustomError','getWidth','1isqzfv','checkStartUrl','defineProperty','validateBundleId','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','2012637kLIsCQ','../utils/utils','push','join','split','loadImageFromNet','isFullyOpaque','Local\x20manifest\x20cannot\x20package\x20network\x20project','../../assets/icon-default.png','startsWith','__esModule','346218QwLZWv','https://','length','icons','short_name','2232895fJUUxG','../resource/load','1263689ycJFCl','3684159oVslFu','http://','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode'];_0x4368=function(){return _0x22145a;};return _0x4368();}function validateURL(_0x3cae20){try{return new URL(_0x3cae20),!![];}catch(_0x4b606f){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';(function(_0x4f9971,_0x423292){const _0x5c86f1=_0x7ec7,_0x2c39db=_0x4f9971();while(!![]){try{const _0x2f6755=parseInt(_0x5c86f1(0x113))/0x1*(-parseInt(_0x5c86f1(0x10e))/0x2)+parseInt(_0x5c86f1(0x116))/0x3+-parseInt(_0x5c86f1(0x11e))/0x4+-parseInt(_0x5c86f1(0x118))/0x5*(-parseInt(_0x5c86f1(0x10f))/0x6)+-parseInt(_0x5c86f1(0x114))/0x7+-parseInt(_0x5c86f1(0x110))/0x8+parseInt(_0x5c86f1(0x115))/0x9;if(_0x2f6755===_0x423292)break;else _0x2c39db['push'](_0x2c39db['shift']());}catch(_0xdcd263){_0x2c39db['push'](_0x2c39db['shift']());}}}(_0x35f8,0xa3b09));function _0x35f8(){const _0xbc8bbf=['readdirSync','isDirectory','18EGcEFs','4911844JqIxta','23062923vhQoUP','2716506TDRCxs','existsSync','184310VYDJFr','statSync','readFileSync','isFile','unlinkSync','writeFileSync','3887648rQaFGL','forEach','log','119752gSSiEK','42BsePAV','2433904PZYwOH'];_0x35f8=function(){return _0xbc8bbf;};return _0x35f8();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['copyDir']=copyDir,exports['clearDir']=clearDir;const fs=require('fs');function copyDir(_0x2a35af,_0x37fa0b){const _0x5bc53d=_0x7ec7,_0x5c4986=fs[_0x5bc53d(0x111)](_0x2a35af);_0x5c4986[_0x5bc53d(0x11f)](_0x15a274=>{const _0x18baa0=_0x5bc53d,_0x1bc2a5=_0x2a35af+'/'+_0x15a274,_0x13825e=_0x37fa0b+'/'+_0x15a274,_0x1a7144=fs[_0x18baa0(0x119)](_0x1bc2a5);if(_0x1a7144[_0x18baa0(0x11b)]())try{fs[_0x18baa0(0x11d)](_0x13825e,fs[_0x18baa0(0x11a)](_0x1bc2a5));}catch(_0x4779ce){console[_0x18baa0(0x120)](_0x4779ce);}else _0x1a7144[_0x18baa0(0x112)]()&&(!fs[_0x18baa0(0x117)](_0x13825e)&&fs['mkdirSync'](_0x13825e,{'recursive':!![]}),copyDir(_0x1bc2a5,_0x13825e));});}function _0x7ec7(_0x2fe917,_0x3e82b4){const _0x35f8fb=_0x35f8();return _0x7ec7=function(_0x7ec7b8,_0x2cf45d){_0x7ec7b8=_0x7ec7b8-0x10e;let _0x43ebab=_0x35f8fb[_0x7ec7b8];return _0x43ebab;},_0x7ec7(_0x2fe917,_0x3e82b4);}function clearDir(_0x45cbc8){const _0x1b1ea2=fs['readdirSync'](_0x45cbc8);_0x1b1ea2['forEach'](_0x170dd0=>{const _0x40b333=_0x7ec7,_0x5c6713=_0x45cbc8+'/'+_0x170dd0,_0x1ed787=fs[_0x40b333(0x119)](_0x5c6713);if(_0x1ed787['isFile']())try{fs[_0x40b333(0x11c)](_0x5c6713);}catch(_0x21b90f){console[_0x40b333(0x120)](_0x21b90f);}else _0x1ed787[_0x40b333(0x112)]()&&clearDir(_0x5c6713);});}
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 _0x4fc19d=_0x154b;(function(_0x30c10d,_0x33f952){const _0x2fd44f=_0x154b,_0x461b71=_0x30c10d();while(!![]){try{const _0x118a84=-parseInt(_0x2fd44f(0xf3))/0x1*(parseInt(_0x2fd44f(0xe6))/0x2)+parseInt(_0x2fd44f(0xef))/0x3+-parseInt(_0x2fd44f(0xed))/0x4*(parseInt(_0x2fd44f(0xe1))/0x5)+parseInt(_0x2fd44f(0xec))/0x6+parseInt(_0x2fd44f(0xe2))/0x7*(-parseInt(_0x2fd44f(0xe9))/0x8)+parseInt(_0x2fd44f(0xdb))/0x9+parseInt(_0x2fd44f(0xe5))/0xa;if(_0x118a84===_0x33f952)break;else _0x461b71['push'](_0x461b71['shift']());}catch(_0x3df5f6){_0x461b71['push'](_0x461b71['shift']());}}}(_0x372d,0x44abb));function _0x154b(_0x18583b,_0x44e351){const _0x372d79=_0x372d();return _0x154b=function(_0x154ba0,_0x229932){_0x154ba0=_0x154ba0-0xdb;let _0x23275f=_0x372d79[_0x154ba0];return _0x23275f;},_0x154b(_0x18583b,_0x44e351);}Object['defineProperty'](exports,_0x4fc19d(0xf0),{'value':!![]}),exports[_0x4fc19d(0xdf)]=void 0x0;function _0x372d(){const _0x3b4612=['render','Resvg','8194790Hyhfyx','2fVetMh','jimp','sharp','455368GhyCdI','toFormat','bitmap','159348RfRWuU','908LhDIjC','webp2PngBuffer','707175OIbGSV','__esModule','getWidth','data','149867QWkBMg','1631538NoJuma','png','isFullyOpaque','asPng','ImageHelper','width','12055DWJnnx','35IiilnL'];_0x372d=function(){return _0x3b4612;};return _0x372d();}const Jimp=require(_0x4fc19d(0xe7)),sharp=require(_0x4fc19d(0xe8)),resvg_js_1=require('@resvg/resvg-js');class ImageHelper{static['createImg'](_0x43f206){return new Jimp(_0x43f206,_0x43f206,0x0);}static async[_0x4fc19d(0xee)](_0x13b85b){const _0x52a6f1=_0x4fc19d;return await sharp(_0x13b85b)[_0x52a6f1(0xea)](_0x52a6f1(0xdc))['toBuffer']();}static async['svg2img'](_0x2fb10f){const _0x37d16f=_0x4fc19d,_0xdfabc6={'fitTo':{'mode':_0x37d16f(0xe0),'value':0x400}},_0x25b491=new resvg_js_1[(_0x37d16f(0xe4))](_0x2fb10f,_0xdfabc6),_0x5cae12=_0x25b491[_0x37d16f(0xe3)](),_0x4cfbca=_0x5cae12[_0x37d16f(0xde)]();return _0x4cfbca;}static[_0x4fc19d(0xdd)](_0x358cde){const _0x59c35c=_0x4fc19d,_0x1f6054=_0x358cde[_0x59c35c(0xf1)]()*_0x358cde['getHeight']();for(var _0x159e7c=0x0;_0x159e7c<_0x1f6054;_0x159e7c++){const _0x267db5=_0x159e7c*0x4+0x3;if(_0x358cde[_0x59c35c(0xeb)][_0x59c35c(0xf2)][_0x267db5]<0xff)return![];}return!![];}}exports[_0x4fc19d(0xdf)]=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 _0x999296=_0x42f2;(function(_0x48d5c4,_0x4ad780){const _0x3df896=_0x42f2,_0x137cc0=_0x48d5c4();while(!![]){try{const _0x4cecd8=-parseInt(_0x3df896(0xdf))/0x1*(parseInt(_0x3df896(0xee))/0x2)+-parseInt(_0x3df896(0xeb))/0x3*(-parseInt(_0x3df896(0xcb))/0x4)+-parseInt(_0x3df896(0xf1))/0x5*(-parseInt(_0x3df896(0xf4))/0x6)+-parseInt(_0x3df896(0xd7))/0x7+parseInt(_0x3df896(0xec))/0x8+parseInt(_0x3df896(0xd9))/0x9*(parseInt(_0x3df896(0xd3))/0xa)+parseInt(_0x3df896(0xe2))/0xb;if(_0x4cecd8===_0x4ad780)break;else _0x137cc0['push'](_0x137cc0['shift']());}catch(_0x40ff4e){_0x137cc0['push'](_0x137cc0['shift']());}}}(_0x6e3a,0x4981b));function _0x42f2(_0x323104,_0x743d41){const _0x6e3a1a=_0x6e3a();return _0x42f2=function(_0x42f230,_0x4f21cb){_0x42f230=_0x42f230-0xca;let _0x3797c4=_0x6e3a1a[_0x42f230];return _0x3797c4;},_0x42f2(_0x323104,_0x743d41);}Object[_0x999296(0xfb)](exports,_0x999296(0xe3),{'value':!![]}),exports[_0x999296(0xf3)]=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x999296(0xea)]=exports[_0x999296(0xde)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x999296(0xfc)]=exports[_0x999296(0xe5)]=exports[_0x999296(0xe1)]=exports[_0x999296(0xf6)]=void 0x0;function _0x6e3a(){const _0x1c541a=[',\x20now\x20WebSpatial\x20only\x20support\x20','platform-','cwd','BACK_APPICON_DIRECTORY','4641lpburf','217192HmsMfX','./test','2696flmvZB','generateIcon','icons','99415CBnZnm','path','ResourceManager','30vwbWVV','loadImageFromNet','PROJECT_DIRECTORY','http','clearDir','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','defineProperty','PROJECT_TEST_DIRECTORY','existsSync','220RJIujH','copyDir','src','../../../','MIDDLE_APPICON_DIRECTORY','not\x20support\x20platform\x20','../../../node_modules/@webspatial/platform-','join','10xJoIZa','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','web-spatial/Assets.xcassets','execSync','2917404RKTacw','json','2158173DRdGrH','./export','./load','moveProjectFrom','cd\x20','ASSET_DIRECTORY','7pQaRmC','../../temp','PROJECT_BUILD_DIRECTORY','3034295fIFXoH','__esModule','mkdirSync','PROJECT_EXPORT_DIRECTORY','loadImageFromDisk'];_0x6e3a=function(){return _0x1c541a;};return _0x6e3a();}const fs=require('fs'),path_1=require(_0x999296(0xf2)),file_1=require('./file'),load_1=require(_0x999296(0xdb)),child_process_1=require('child_process');exports[_0x999296(0xf6)]='',exports[_0x999296(0xe1)]='',exports[_0x999296(0xe5)]='',exports[_0x999296(0xfc)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports['ASSET_DIRECTORY']=_0x999296(0xd5),exports[_0x999296(0xea)]=exports[_0x999296(0xde)]+_0x999296(0xfa),exports[_0x999296(0xcf)]=exports[_0x999296(0xde)]+_0x999296(0xd4);const supportPlatform=['visionos'];class ResourceManager{static async[_0x999296(0xdc)](_0x9be8bc){const _0x1fe033=_0x999296,_0x4c340b=(0x0,path_1[_0x1fe033(0xd2)])(process[_0x1fe033(0xe9)](),_0x9be8bc),_0x5d2044=(0x0,path_1[_0x1fe033(0xd2)])(exports[_0x1fe033(0xf6)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x1fe033(0xca)](_0x5d2044)?fs[_0x1fe033(0xe4)](_0x5d2044,{'recursive':!![]}):(0x0,file_1[_0x1fe033(0xf8)])(_0x5d2044);try{(0x0,file_1[_0x1fe033(0xcc)])(_0x4c340b,_0x5d2044);}catch(_0x2c18c2){console['log'](_0x2c18c2);}}static async[_0x999296(0xef)](_0x250b10){const _0xf0816b=_0x999296,_0x4b4a65=_0x250b10[_0xf0816b(0xd8)],_0x1660cb=_0x4b4a65[_0xf0816b(0xf0)][0x0][_0xf0816b(0xcd)],_0xecc99d=!_0x1660cb['startsWith'](_0xf0816b(0xf7))?await(0x0,load_1[_0xf0816b(0xe6)])(_0x1660cb):await(0x0,load_1[_0xf0816b(0xf5)])(_0x1660cb);return _0xecc99d['resize'](0x400,0x400),_0xecc99d;}static['checkPlatformPath'](_0x2b632f){const _0x2316bc=_0x999296,_0x57f717=_0x2b632f!==null&&_0x2b632f!==void 0x0?_0x2b632f:supportPlatform[0x0];if(!supportPlatform['includes'](_0x57f717))throw new Error(_0x2316bc(0xd0)+_0x57f717+_0x2316bc(0xe7)+supportPlatform[_0x2316bc(0xd2)](','));let _0x3f3957=(0x0,path_1['join'])(process[_0x2316bc(0xe9)](),'node_modules/@webspatial/platform-'+_0x57f717);!fs[_0x2316bc(0xca)](_0x3f3957)&&(_0x3f3957=(0x0,path_1['join'])(__dirname,_0x2316bc(0xd1)+_0x57f717));const _0x374ede=fs['existsSync'](_0x3f3957);!_0x374ede&&(0x0,child_process_1[_0x2316bc(0xd6)])(_0x2316bc(0xdd)+(0x0,path_1[_0x2316bc(0xd2)])(__dirname,_0x2316bc(0xce))+_0x2316bc(0xf9)+_0x57f717);let _0x5470cf=(0x0,path_1['join'])(__dirname,_0x2316bc(0xe0)),_0x313902=(0x0,path_1['join'])(_0x5470cf,_0x2316bc(0xe8)+_0x57f717);fs[_0x2316bc(0xca)](_0x5470cf)&&(0x0,child_process_1[_0x2316bc(0xd6)])('rm\x20-rf\x20'+_0x5470cf),fs['mkdirSync'](_0x5470cf),fs[_0x2316bc(0xe4)](_0x313902),(0x0,file_1[_0x2316bc(0xcc)])(_0x3f3957,_0x313902),exports[_0x2316bc(0xf6)]=_0x313902,exports[_0x2316bc(0xe1)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xf6)],'./build'),exports[_0x2316bc(0xe5)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x2316bc(0xda)),exports[_0x2316bc(0xfc)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xe1)],_0x2316bc(0xed));}}exports[_0x999296(0xf3)]=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 _0x130637=_0x52f5;(function(_0x3659df,_0x4758fb){const _0x12a098=_0x52f5,_0x55b445=_0x3659df();while(!![]){try{const _0x5269a4=-parseInt(_0x12a098(0x112))/0x1*(-parseInt(_0x12a098(0xf0))/0x2)+-parseInt(_0x12a098(0xfd))/0x3*(-parseInt(_0x12a098(0xfe))/0x4)+-parseInt(_0x12a098(0x10e))/0x5*(-parseInt(_0x12a098(0x107))/0x6)+-parseInt(_0x12a098(0xf5))/0x7*(parseInt(_0x12a098(0x10a))/0x8)+-parseInt(_0x12a098(0xfb))/0x9+parseInt(_0x12a098(0x105))/0xa+-parseInt(_0x12a098(0x106))/0xb;if(_0x5269a4===_0x4758fb)break;else _0x55b445['push'](_0x55b445['shift']());}catch(_0x1959a5){_0x55b445['push'](_0x55b445['shift']());}}}(_0x2071,0xe776a));Object['defineProperty'](exports,_0x130637(0xf8),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x130637(0xed)]=loadJsonFromDisk,exports[_0x130637(0x109)]=loadImageFromNet,exports[_0x130637(0x114)]=loadImageFromDisk,exports[_0x130637(0xe8)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x130637(0xf7)),Jimp=require(_0x130637(0xf3)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x1308b0){const _0x5a14a7=_0x130637,_0x282947=await FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xee)](_0x1308b0,{'encoding':_0x5a14a7(0x115)});if(_0x282947[_0x5a14a7(0xfa)]!==0xc8)throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbc,'message':_0x5a14a7(0xf4)+_0x1308b0+'.'+('The\x20response\x20status\x20is\x20'+_0x282947[_0x5a14a7(0xfa)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x1308b0,'status':_0x282947[_0x5a14a7(0xfa)]}});try{let _0xc09815;return _0x282947['text']?_0xc09815=await _0x282947['text']():['gzip',_0x5a14a7(0xf9),'br'][_0x5a14a7(0x10d)](_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])?_0xc09815=FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xf2)](Buffer['from'](_0x282947[_0x5a14a7(0x116)],'binary'),_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])[_0x5a14a7(0x103)]():_0xc09815=Buffer[_0x5a14a7(0xe9)](_0x282947[_0x5a14a7(0x116)],_0x5a14a7(0x115))['toString'](),JSON[_0x5a14a7(0x100)](_0xc09815[_0x5a14a7(0x113)]());}catch(_0x3f752b){throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbd,'message':_0x5a14a7(0xec),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x39b74a){const _0x124e87=_0x130637,_0x51e461=await loadFileString(_0x39b74a['toString']());return JSON[_0x124e87(0x100)](_0x51e461);}async function loadImageFromNet(_0x57274e){const _0x2f0c85=_0x130637,_0x193551=await FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xee)](_0x57274e,{'encoding':_0x2f0c85(0x115)});if(_0x193551['status']!==0xc8)throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x193551[_0x2f0c85(0xfa)],'message_staring_params':{'icon_url':_0x57274e,'status':_0x193551[_0x2f0c85(0xfa)]}});const _0x53019d=_0x193551['headers'][_0x2f0c85(0x104)]?_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x104)](_0x2f0c85(0xff)):_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0xff)];if(!(_0x53019d===null||_0x53019d===void 0x0?void 0x0:_0x53019d[_0x2f0c85(0x10c)]('image/')))throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d3,'message':_0x2f0c85(0x108)+(_0x2f0c85(0xfc)+_0x53019d+'\x22'),'message_staring_params':{'icon_url':_0x57274e,'contentType':_0x53019d}});let _0x5ed984;_0x193551[_0x2f0c85(0x110)]?_0x5ed984=await _0x193551['arrayBuffer']():[_0x2f0c85(0xea),_0x2f0c85(0xf9),'br'][_0x2f0c85(0x10d)](_0x193551[_0x2f0c85(0x101)]['content-encoding'])?_0x5ed984=FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xf2)](Buffer[_0x2f0c85(0xe9)](_0x193551[_0x2f0c85(0x116)],_0x2f0c85(0x115)),_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x10f)]):_0x5ed984=Buffer[_0x2f0c85(0xe9)](_0x193551['data'],_0x2f0c85(0x115));if(_0x53019d['startsWith'](_0x2f0c85(0xf1))){const _0x313f29=new TextDecoder();try{_0x5ed984=await imageHelper_1[_0x2f0c85(0xef)]['svg2img'](_0x313f29['decode'](_0x5ed984));}catch(_0x36d485){throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x57274e+':\x20'+_0x36d485,'message_staring_params':{'icon_url':_0x57274e,'error':_0x36d485}});}}return _0x53019d[_0x2f0c85(0x10c)](_0x2f0c85(0x102))&&(_0x5ed984=await imageHelper_1['ImageHelper'][_0x2f0c85(0x10b)](_0x5ed984)),await Jimp[_0x2f0c85(0x111)](Buffer['from'](_0x5ed984));}function _0x2071(){const _0x495669=['loadImageFromNet','376oAMFhp','webp2PngBuffer','startsWith','includes','365xSUiCx','content-encoding','arrayBuffer','read','53VtjPUL','trim','loadImageFromDisk','binary','data','loadFileString','from','gzip','CustomError','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadJsonFromDisk','fetch','ImageHelper','7788CYQvkh','image/svg','decompressResponseBuffer','jimp','Failed\x20to\x20download\x20Web\x20Manifest\x20','169960yYHxoM','fetchUtils','../utils/CustomError','__esModule','deflate','status','1450737UlbBlQ','\x20Responded\x20with\x20Content-Type\x20\x22','909eWTKIE','24660XWIuvP','content-type','parse','headers','image/webp','toString','get','16841830CMkqGx','21464476uAGuhF','36426WmIBTn','Received\x20icon\x20with\x20invalid\x20Content-Type.'];_0x2071=function(){return _0x495669;};return _0x2071();}async function loadImageFromDisk(_0x1210c7){const _0x284b08=_0x130637;return await Jimp[_0x284b08(0x111)](_0x1210c7);}function _0x52f5(_0xf334df,_0x3ae905){const _0x2071dd=_0x2071();return _0x52f5=function(_0x52f515,_0x1cb1c2){_0x52f515=_0x52f515-0xe8;let _0x2e5d20=_0x2071dd[_0x52f515];return _0x2e5d20;},_0x52f5(_0xf334df,_0x3ae905);}async function loadFileString(_0x104b97){const _0xfb5a16=_0x130637;let _0x572601=await fs['promises']['readFile'](_0x104b97[_0xfb5a16(0x103)]());return _0x572601[_0xfb5a16(0x103)]();}
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 _0x3fc6(_0x15c879,_0x12f96c){var _0x2b1c0e=_0x2b1c();return _0x3fc6=function(_0x3fc6a6,_0x3b1faf){_0x3fc6a6=_0x3fc6a6-0x178;var _0x216781=_0x2b1c0e[_0x3fc6a6];return _0x216781;},_0x3fc6(_0x15c879,_0x12f96c);}var _0x3afb37=_0x3fc6;(function(_0x4dd779,_0x537568){var _0x28766a=_0x3fc6,_0x116252=_0x4dd779();while(!![]){try{var _0x376dfa=-parseInt(_0x28766a(0x17e))/0x1+-parseInt(_0x28766a(0x183))/0x2+parseInt(_0x28766a(0x17b))/0x3*(parseInt(_0x28766a(0x179))/0x4)+parseInt(_0x28766a(0x181))/0x5*(parseInt(_0x28766a(0x17f))/0x6)+-parseInt(_0x28766a(0x17d))/0x7*(parseInt(_0x28766a(0x182))/0x8)+-parseInt(_0x28766a(0x180))/0x9*(-parseInt(_0x28766a(0x184))/0xa)+-parseInt(_0x28766a(0x178))/0xb*(-parseInt(_0x28766a(0x17a))/0xc);if(_0x376dfa===_0x537568)break;else _0x116252['push'](_0x116252['shift']());}catch(_0x3d685a){_0x116252['push'](_0x116252['shift']());}}}(_0x2b1c,0x1ef13));function _0x2b1c(){var _0x405a79=['330pYpXrt','22UDJATI','2740dJRiqI','1091148dydHlN','390NGQGXj','__esModule','986069bBmrle','136785LNTDnz','234DvdACD','44397XozypD','6130VrUIAr','8JsFpjh','154240cLuPnP'];_0x2b1c=function(){return _0x405a79;};return _0x2b1c();}Object['defineProperty'](exports,_0x3afb37(0x17c),{'value':!![]});
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';function _0x1c5a(){var _0x163165=['stringify','3694970VIRjak','9BhwWbF','__esModule','91tDqkCS','info','customMessage','18bXccmC','CustomError','175860HXGRUJ','1941104JGcwUb','12WMBSSu','431724jrFVmL','45COOoyf','182608KYtkMB','17508414QvjUXc','43268GCutoO'];_0x1c5a=function(){return _0x163165;};return _0x1c5a();}var _0x37a85d=_0x37c6;(function(_0x2a2589,_0xabbbe3){var _0x1bf1d8=_0x37c6,_0x1375be=_0x2a2589();while(!![]){try{var _0x5409f9=parseInt(_0x1bf1d8(0x69))/0x1*(-parseInt(_0x1bf1d8(0x75))/0x2)+-parseInt(_0x1bf1d8(0x74))/0x3*(parseInt(_0x1bf1d8(0x77))/0x4)+-parseInt(_0x1bf1d8(0x70))/0x5+parseInt(_0x1bf1d8(0x73))/0x6*(parseInt(_0x1bf1d8(0x6b))/0x7)+-parseInt(_0x1bf1d8(0x71))/0x8+-parseInt(_0x1bf1d8(0x6e))/0x9*(parseInt(_0x1bf1d8(0x79))/0xa)+parseInt(_0x1bf1d8(0x76))/0xb*(parseInt(_0x1bf1d8(0x72))/0xc);if(_0x5409f9===_0xabbbe3)break;else _0x1375be['push'](_0x1375be['shift']());}catch(_0x5bd76f){_0x1375be['push'](_0x1375be['shift']());}}}(_0x1c5a,0x807c9));function _0x37c6(_0x1ad943,_0x11d30f){var _0x1c5a7b=_0x1c5a();return _0x37c6=function(_0x37c632,_0x1018bf){_0x37c632=_0x37c632-0x69;var _0x8a4a12=_0x1c5a7b[_0x37c632];return _0x8a4a12;},_0x37c6(_0x1ad943,_0x11d30f);}Object['defineProperty'](exports,_0x37a85d(0x6a),{'value':!![]}),exports[_0x37a85d(0x6f)]=void 0x0;class CustomError extends Error{constructor(_0x2cc935,_0x1236ea){var _0x5ef2aa=_0x37a85d;super(JSON[_0x5ef2aa(0x78)](_0x2cc935)),this[_0x5ef2aa(0x6d)]=_0x2cc935,this['type']=_0x1236ea||_0x5ef2aa(0x6c);}}exports[_0x37a85d(0x6f)]=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';const _0x2ac1dc=_0x5171;(function(_0x10fc45,_0x17dbb1){const _0x273749=_0x5171,_0x2d9d8c=_0x10fc45();while(!![]){try{const _0x3aa1b1=parseInt(_0x273749(0x122))/0x1+parseInt(_0x273749(0x119))/0x2*(parseInt(_0x273749(0x118))/0x3)+-parseInt(_0x273749(0x11c))/0x4+parseInt(_0x273749(0x11f))/0x5+parseInt(_0x273749(0x11d))/0x6+-parseInt(_0x273749(0x11b))/0x7+parseInt(_0x273749(0x111))/0x8*(-parseInt(_0x273749(0x113))/0x9);if(_0x3aa1b1===_0x17dbb1)break;else _0x2d9d8c['push'](_0x2d9d8c['shift']());}catch(_0x28fdf2){_0x2d9d8c['push'](_0x2d9d8c['shift']());}}}(_0x6f35,0x93767));function _0x6f35(){const _0x1bb194=['15rUelkx','239566PmsvkO','downloadFile','7771015BIxWAD','1857492yvsoRf','2059062zKCgYS','setDownloadFile','5876315PoDGnW','fetchUtils','setFetch','988766eHHiqv','defineProperty','setFetchEngine','16OGuZwk','fetchEngine','4174182IWRDpc','setDecompressResponseBuffer','__esModule','decompressResponseBuffer','fetch'];_0x6f35=function(){return _0x1bb194;};return _0x6f35();}function _0x5171(_0x59894d,_0x5a2548){const _0x6f35c6=_0x6f35();return _0x5171=function(_0x51710d,_0x495f5f){_0x51710d=_0x51710d-0x110;let _0x1be1ec=_0x6f35c6[_0x51710d];return _0x1be1ec;},_0x5171(_0x59894d,_0x5a2548);}Object[_0x2ac1dc(0x123)](exports,_0x2ac1dc(0x115),{'value':!![]}),exports[_0x2ac1dc(0x120)]=void 0x0;class FetchUtils{constructor(){const _0x59b8bf=_0x2ac1dc;this[_0x59b8bf(0x112)]=null,this[_0x59b8bf(0x117)]=null,this[_0x59b8bf(0x11a)]=null,this['decompressResponseBuffer']=null;}[_0x2ac1dc(0x110)](_0xaf525b){const _0x20e170=_0x2ac1dc;this[_0x20e170(0x112)]=_0xaf525b;}[_0x2ac1dc(0x121)](_0x333e8e){const _0x1219a0=_0x2ac1dc;this[_0x1219a0(0x117)]=_0x333e8e;}[_0x2ac1dc(0x11e)](_0x5138be){const _0x18c572=_0x2ac1dc;this[_0x18c572(0x11a)]=_0x5138be;}[_0x2ac1dc(0x114)](_0x21f929){const _0x3cb79a=_0x2ac1dc;this[_0x3cb79a(0x116)]=_0x21f929;}}const fetchUtils=new FetchUtils();exports[_0x2ac1dc(0x120)]=fetchUtils;
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';function _0x57c7(){var _0x26e610=['3rzAWOU','yellow','tag','12tZPhqG','\x1b[0m','119131qKxiuH','concat','2840eVkUgV','warn','info','12dqLhOI','1352bTkFDi','17706247pDuJXN','27801gYKTQk','output','2256076ykfwNi','\x1b[31m','2022419izqtow','debug','\x1b[36m','setVerbose','1123860UVvRbm','2qvYwdM','verbose','WARNING\x20','\x1b[33m','log','error','671oCuOFr','ERROR\x20','inverse','dim','red','__esModule','prefix'];_0x57c7=function(){return _0x26e610;};return _0x57c7();}var _0x555314=_0x2f45;(function(_0x5177f3,_0x1696d3){var _0x53944f=_0x2f45,_0x262884=_0x5177f3();while(!![]){try{var _0x3381a1=-parseInt(_0x53944f(0xd0))/0x1*(parseInt(_0x53944f(0xe1))/0x2)+parseInt(_0x53944f(0xcb))/0x3*(parseInt(_0x53944f(0xda))/0x4)+-parseInt(_0x53944f(0xe0))/0x5*(-parseInt(_0x53944f(0xd5))/0x6)+parseInt(_0x53944f(0xdc))/0x7+parseInt(_0x53944f(0xd6))/0x8*(parseInt(_0x53944f(0xd8))/0x9)+parseInt(_0x53944f(0xd2))/0xa*(parseInt(_0x53944f(0xc4))/0xb)+-parseInt(_0x53944f(0xce))/0xc*(parseInt(_0x53944f(0xd7))/0xd);if(_0x3381a1===_0x1696d3)break;else _0x262884['push'](_0x262884['shift']());}catch(_0x5ef4bd){_0x262884['push'](_0x262884['shift']());}}}(_0x57c7,0x580f7));Object['defineProperty'](exports,_0x555314(0xc9),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x702f18='',_0x500d8b=![],_0x14ae0f=console){var _0x4081ef=_0x555314;this[_0x4081ef(0xcd)]=_0x702f18,this[_0x4081ef(0xe2)]=_0x500d8b,this[_0x4081ef(0xca)]=this[_0x4081ef(0xc6)](_0x702f18),this[_0x4081ef(0xd9)]=_0x14ae0f;}[_0x555314(0xdd)](_0x18805c,..._0x454de1){var _0x2d3d66=_0x555314;if(!this[_0x2d3d66(0xe2)])return;this['log'](this['output'][_0x2d3d66(0xc2)],this[_0x2d3d66(0xc7)](_0x18805c),..._0x454de1);}[_0x555314(0xd4)](_0x2b2ebd,..._0x1af969){var _0x3a5bf0=_0x555314;this[_0x3a5bf0(0xc2)](this[_0x3a5bf0(0xd9)][_0x3a5bf0(0xc2)],_0x2b2ebd,..._0x1af969);}[_0x555314(0xd3)](_0x317fac,..._0x416691){var _0x9295de=_0x555314;this[_0x9295de(0xc2)](this['output'][_0x9295de(0xd3)],this[_0x9295de(0xcc)](_0x9295de(0xe3)+_0x317fac),..._0x416691);}[_0x555314(0xc3)](_0x56174f,..._0x63d89c){var _0x2e5299=_0x555314;this[_0x2e5299(0xd9)][_0x2e5299(0xc3)]('\x0a'),this[_0x2e5299(0xc2)](this[_0x2e5299(0xd9)][_0x2e5299(0xc3)],this[_0x2e5299(0xc8)](_0x2e5299(0xc5)+_0x56174f),..._0x63d89c),this['output'][_0x2e5299(0xc3)]('\x0a');}[_0x555314(0xdf)](_0xcf26ec){var _0x1e39ce=_0x555314;this[_0x1e39ce(0xe2)]=_0xcf26ec;}['newLog'](_0x1a6dec){var _0x2c5f98=_0x555314;return this[_0x2c5f98(0xcd)]&&(_0x1a6dec=this['tag']+'\x20'+_0x1a6dec),new ConsoleLog(_0x1a6dec,this[_0x2c5f98(0xe2)],this[_0x2c5f98(0xd9)]);}['log'](_0x2b8e94,_0x2128b8,..._0x3d81b1){var _0x4d82da=_0x555314;this[_0x4d82da(0xca)]&&(_0x2128b8=this[_0x4d82da(0xca)]+'\x20'+_0x2128b8),_0x3d81b1?_0x2b8e94(...[_0x2128b8][_0x4d82da(0xd1)](_0x3d81b1)):_0x2b8e94(_0x2128b8);}[_0x555314(0xc6)](_0x5bb97c){return'\x1b[7m'+_0x5bb97c+'\x1b[0m';}[_0x555314(0xc7)](_0xb6e61){var _0x45787c=_0x555314;return _0x45787c(0xde)+_0xb6e61+'\x1b[0m';}[_0x555314(0xcc)](_0x193bbe){var _0x3d8830=_0x555314;return _0x3d8830(0xe4)+_0x193bbe+_0x3d8830(0xcf);}['red'](_0x507956){var _0x16e50a=_0x555314;return _0x16e50a(0xdb)+_0x507956+_0x16e50a(0xcf);}}function _0x2f45(_0x34e8cc,_0x22aeea){var _0x57c797=_0x57c7();return _0x2f45=function(_0x2f451a,_0x1600b0){_0x2f451a=_0x2f451a-0xc2;var _0x51e0fc=_0x57c797[_0x2f451a];return _0x51e0fc;},_0x2f45(_0x34e8cc,_0x22aeea);}exports['ConsoleLog']=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 _0x265007=_0x2118;function _0x2118(_0x244931,_0xe3facf){const _0x418d82=_0x418d();return _0x2118=function(_0x21181b,_0x426578){_0x21181b=_0x21181b-0x12d;let _0x3f28bd=_0x418d82[_0x21181b];return _0x3f28bd;},_0x2118(_0x244931,_0xe3facf);}(function(_0x2b1815,_0x2f60fe){const _0x566ea9=_0x2118,_0x459b39=_0x2b1815();while(!![]){try{const _0x5d730c=parseInt(_0x566ea9(0x13b))/0x1+parseInt(_0x566ea9(0x13d))/0x2*(parseInt(_0x566ea9(0x147))/0x3)+-parseInt(_0x566ea9(0x142))/0x4+parseInt(_0x566ea9(0x135))/0x5*(-parseInt(_0x566ea9(0x137))/0x6)+parseInt(_0x566ea9(0x132))/0x7+-parseInt(_0x566ea9(0x12f))/0x8+-parseInt(_0x566ea9(0x12e))/0x9*(-parseInt(_0x566ea9(0x13e))/0xa);if(_0x5d730c===_0x2f60fe)break;else _0x459b39['push'](_0x459b39['shift']());}catch(_0x1356ae){_0x459b39['push'](_0x459b39['shift']());}}}(_0x418d,0xb56f0));Object[_0x265007(0x141)](exports,_0x265007(0x13a),{'value':!![]}),exports[_0x265007(0x143)]=fetch,exports['downloadFile']=downloadFile,exports[_0x265007(0x146)]=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x265007(0x12d)),userAgent=_0x265007(0x144),fetchh2Ctx=(0x0,fetch_h2_1[_0x265007(0x13c)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x265007(0x143)];async function fetch(_0x1d701d,_0x162ab){const _0x35ffd6=_0x265007;return await fetchh2(_0x1d701d,_0x162ab?{'redirect':_0x35ffd6(0x131),..._0x162ab}:{'redirect':'follow'});}async function downloadFile(_0x96065,_0x3d0dd1,_0x363062){const _0x35bc1c=_0x265007;let _0x179d27,_0x47722e;_0x179d27=await fetchh2(_0x96065,{'redirect':_0x35bc1c(0x131)}),_0x47722e=await _0x179d27['readable']();const _0x39cb96=_0x179d27['headers']['get']('Content-Length'),_0x51a74f=_0x39cb96?parseInt(_0x39cb96):-0x1,_0x44e021=fs[_0x35bc1c(0x133)](_0x3d0dd1);let _0x4bbfa0=0x0;await new Promise((_0x5495fe,_0x2df550)=>{const _0x47600f=_0x35bc1c;_0x47722e[_0x47600f(0x139)](_0x44e021),_0x363062&&_0x47722e['on'](_0x47600f(0x13f),_0x5e11d8=>{_0x4bbfa0=_0x4bbfa0+_0x5e11d8['length'],_0x363062(_0x4bbfa0,_0x51a74f);}),_0x47722e['on']('error',_0x1a4e9f=>{_0x2df550(_0x1a4e9f);}),_0x44e021['on'](_0x47600f(0x138),()=>{_0x5495fe();});});}function decompressResponseBuffer(_0x12fa88,_0x5d8678){const _0x1242e8=_0x265007;let _0x2a56f7=_0x12fa88;if(/\bgzip\b/[_0x1242e8(0x145)](_0x5d8678)||/\bdeflate\b/[_0x1242e8(0x145)](_0x5d8678))_0x2a56f7=zlib[_0x1242e8(0x136)](_0x12fa88,{'flush':zlib[_0x1242e8(0x140)][_0x1242e8(0x134)],'finishFlush':zlib[_0x1242e8(0x140)][_0x1242e8(0x134)]});else/\bbr\b/[_0x1242e8(0x145)](_0x5d8678)&&(_0x2a56f7=zlib[_0x1242e8(0x130)](_0x12fa88));return _0x2a56f7;}function _0x418d(){const _0x161812=['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','decompressResponseBuffer','471qirHtl','zlib','160191oDbEca','6370744dWWhro','brotliDecompressSync','follow','1915410vScFUB','createWriteStream','Z_SYNC_FLUSH','15Xxordz','unzipSync','849582fhCWEa','finish','pipe','__esModule','486526CrJgZm','context','1538zkNWSO','780lIgLXS','data','constants','defineProperty','1219700cIJenj','fetch'];_0x418d=function(){return _0x161812;};return _0x418d();}
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 _0x170edb=_0x3eae;(function(_0x1fa595,_0x238809){const _0x20cfc1=_0x3eae,_0x2905ff=_0x1fa595();while(!![]){try{const _0x106e38=-parseInt(_0x20cfc1(0x1a0))/0x1+-parseInt(_0x20cfc1(0x1b2))/0x2+parseInt(_0x20cfc1(0x1ab))/0x3+-parseInt(_0x20cfc1(0x19e))/0x4+parseInt(_0x20cfc1(0x1aa))/0x5+-parseInt(_0x20cfc1(0x1a9))/0x6*(-parseInt(_0x20cfc1(0x1b5))/0x7)+-parseInt(_0x20cfc1(0x1a8))/0x8*(-parseInt(_0x20cfc1(0x1bd))/0x9);if(_0x106e38===_0x238809)break;else _0x2905ff['push'](_0x2905ff['shift']());}catch(_0x564165){_0x2905ff['push'](_0x2905ff['shift']());}}}(_0x53e8,0x7db19));Object[_0x170edb(0x1a7)](exports,_0x170edb(0x1b8),{'value':!![]});const path_1=require(_0x170edb(0x1b0)),fs=require('fs'),utils_1=require(_0x170edb(0x197));function _0x3eae(_0x201da6,_0x3746a4){const _0x53e8ac=_0x53e8();return _0x3eae=function(_0x3eae3d,_0x3b300b){_0x3eae3d=_0x3eae3d-0x194;let _0x372a56=_0x53e8ac[_0x3eae3d];return _0x372a56;},_0x3eae(_0x201da6,_0x3746a4);}function _0x53e8(){const _0x348a3a=['utf-8','manifest','object','appInfo','36WuQfbU','history','cmd','record','No\x20historical\x20records\x20found','./utils','recordSimulator','readFileSync','compareObjects','simulator','warn','log','2212464oGrBHx','Historical\x20records\x20found','520418inCUcV','join','writeFileSync','stringify','getSimulatorRecord','length','defaultHistory','defineProperty','2275392nqDteM','30mTmrzK','826955mDEPtQ','792873PIcPdO','CliLog','keys','init','checkCommand','path','name','1086436msqpzi','getSimulatorHistory','../../run_history.txt','789901eZhnCE','getAppInfoRecord','recordManifest','__esModule'];_0x53e8=function(){return _0x348a3a;};return _0x53e8();}class CliHistory{static[_0x170edb(0x1ae)](_0x55fc8d){const _0x50fdd7=_0x170edb;let _0x66d263=(0x0,path_1[_0x50fdd7(0x1a1)])(__dirname,_0x50fdd7(0x1b4)),_0x31fe17=this[_0x50fdd7(0x1a6)];if(!fs['existsSync'](_0x66d263))fs['writeFileSync'](_0x66d263,'');else try{_0x31fe17=JSON['parse'](fs[_0x50fdd7(0x199)](_0x66d263,_0x50fdd7(0x1b9))),console[_0x50fdd7(0x19d)](_0x50fdd7(0x19f));}catch(_0x4ff4ef){utils_1[_0x50fdd7(0x1ac)][_0x50fdd7(0x19c)](_0x50fdd7(0x196));}this[_0x50fdd7(0x1be)]=_0x31fe17,this[_0x50fdd7(0x195)][_0x50fdd7(0x194)]=_0x55fc8d;}static[_0x170edb(0x1b6)](){const _0x290ae0=_0x170edb;return this[_0x290ae0(0x195)][_0x290ae0(0x1bc)];}static[_0x170edb(0x1a4)](){const _0x53c9c0=_0x170edb;return this[_0x53c9c0(0x195)]['simulator'];}static[_0x170edb(0x1b3)](){const _0x5568b4=_0x170edb;return this[_0x5568b4(0x1be)]['simulator'];}static[_0x170edb(0x1b7)](_0xa43461){const _0x218464=_0x170edb;this[_0x218464(0x195)][_0x218464(0x1ba)]=_0xa43461,this[_0x218464(0x195)]['appInfo']['name']=_0xa43461[_0x218464(0x1b1)],this['record'][_0x218464(0x1bc)]['id']=_0xa43461['id'];}static[_0x170edb(0x198)](_0x2c805a){const _0x4582c8=_0x170edb;this['record'][_0x4582c8(0x19b)]=_0x2c805a;}static['checkManifest'](_0xc4f869){const _0x3e256b=_0x170edb;return this['compareObjects'](this[_0x3e256b(0x1be)][_0x3e256b(0x1ba)],_0xc4f869);}static[_0x170edb(0x19a)](_0x269d2d,_0x28dfdc){const _0x1dd98e=_0x170edb,_0x30be6c=Object[_0x1dd98e(0x1ad)](_0x269d2d),_0x27b83e=Object[_0x1dd98e(0x1ad)](_0x28dfdc);if(_0x30be6c['length']!==_0x27b83e[_0x1dd98e(0x1a5)])return![];for(const _0x4a9c6a of _0x30be6c){const _0x41e631=_0x269d2d[_0x4a9c6a],_0x136d43=_0x28dfdc[_0x4a9c6a];if(_0x41e631===undefined||_0x136d43===undefined){if(_0x41e631!==_0x136d43)return![];continue;}if(typeof _0x41e631===_0x1dd98e(0x1bb)&&_0x41e631!==null){if(!this[_0x1dd98e(0x19a)](_0x41e631,_0x136d43))return![];continue;}if(_0x41e631!==_0x136d43)return console['log']('Mismatch\x20found\x20at\x20key:\x20'+_0x4a9c6a),![];}return!![];}static[_0x170edb(0x1af)](_0x95c321){const _0x1d89a3=_0x170edb;return this[_0x1d89a3(0x1be)][_0x1d89a3(0x194)]===_0x95c321;}static['write'](){const _0x567aaa=_0x170edb;let _0x3806fd=(0x0,path_1[_0x567aaa(0x1a1)])(__dirname,_0x567aaa(0x1b4));fs[_0x567aaa(0x1a2)](_0x3806fd,JSON[_0x567aaa(0x1a3)](this[_0x567aaa(0x195)]));}}CliHistory['defaultHistory']={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x170edb(0x195)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports['default']=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 _0x51df3a=_0x1793;(function(_0x367342,_0x11b7d7){const _0x1c82c9=_0x1793,_0xb7778c=_0x367342();while(!![]){try{const _0x46f195=-parseInt(_0x1c82c9(0x9c))/0x1*(parseInt(_0x1c82c9(0x8c))/0x2)+parseInt(_0x1c82c9(0x7b))/0x3+parseInt(_0x1c82c9(0xb6))/0x4*(-parseInt(_0x1c82c9(0x8a))/0x5)+parseInt(_0x1c82c9(0x8f))/0x6+-parseInt(_0x1c82c9(0x93))/0x7+parseInt(_0x1c82c9(0x8b))/0x8+parseInt(_0x1c82c9(0x9b))/0x9*(-parseInt(_0x1c82c9(0x85))/0xa);if(_0x46f195===_0x11b7d7)break;else _0xb7778c['push'](_0xb7778c['shift']());}catch(_0xd50767){_0xb7778c['push'](_0xb7778c['shift']());}}}(_0x4754,0xef219));Object[_0x51df3a(0x8d)](exports,_0x51df3a(0x91),{'value':!![]}),exports[_0x51df3a(0xa3)]=void 0x0;function _0x1793(_0x387a25,_0x2841ed){const _0x475485=_0x4754();return _0x1793=function(_0x1793d3,_0x5e4433){_0x1793d3=_0x1793d3-0x78;let _0x311e74=_0x475485[_0x1793d3];return _0x311e74;},_0x1793(_0x387a25,_0x2841ed);}function _0x4754(){const _0x55f355=['6036656FNIRpF','6eEJpGd','defineProperty','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','10377486wCNTjt','--manifest-url','__esModule','Generating\x20Android\x20Project.','8312962YoTmQw','Decompressing\x20the\x20Android\x20SDK...','\x20Check\x20out\x20the\x20Play\x20for','Password\x20for\x20the\x20Key:','Decompressing\x20the\x20JDK\x2011\x20Binaries...','https://play.google.com/console/about/families/','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\x20Web\x20Manifest:\x0a\x09-\x20\x20','30330zXtaib','169018mCwigO','\x20and\x20alias\x20','underline','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','\x0aProject\x20generated\x20successfully.','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','colors','messages','Downloading\x20Android\x20SDK\x20to\x20','Minimum\x20length\x20is\x20','\x0aBuilding\x20the\x20Android\x20App...','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','https://developer.android.com/studio/terms.html','\x20but\x20input\x20is\x20','Missing\x20required\x20parameter\x20','Icon\x20URL:','redirected\x20to\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','--manifest','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','yellow','bold','\x20URL\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20or\x20','Downloading\x20the\x20Android\x20SDK...','385052oiKQCa','Organization\x20(eg:\x20Company\x20Name):','Maximum\x20length\x20is\x20','(5/5)','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','4461687rVNHis','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','\x22.\x0a','Path\x20to\x20your\x20existing\x20Android\x20SDK:','license\x20agreement.','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x0aSigning\x20key\x20creation','\x0aSigning\x20key\x20information\x20','Password\x20for\x20the\x20Key\x20Store:','1850MNWQBH','Downloading\x20the\x20JDK\x2011\x20Binaries...','cyan','Country\x20(2\x20letter\x20code):','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','35sxxcaS'];_0x4754=function(){return _0x55f355;};return _0x4754();}const colors_1=require(_0x51df3a(0xa2));exports[_0x51df3a(0xa3)]={'promptInstallJdk':_0x51df3a(0x99),'promptJdkPath':_0x51df3a(0x81),'messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x51df3a(0x86),'messageDecompressJdkBin':_0x51df3a(0x97),'promptInstallSdk':_0x51df3a(0xad),'promptSdkPath':_0x51df3a(0x7f),'messageDownloadSdk':_0x51df3a(0xa4),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0x51df3a(0xa7)+(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0xa8))+'?','messageDownloadAndroidSdk':_0x51df3a(0xb5),'messageDecompressAndroidSdk':_0x51df3a(0x94),'messageInstallingBuildTools':_0x51df3a(0xa1)+_0x51df3a(0x80),'messageGeneratingAndroidProject':_0x51df3a(0x92),'messageCheckSuccess':(_0x3c09f5,_0x58f46e)=>{const _0x1afe52=_0x51df3a;return _0x1afe52(0xb2)+(0x0,colors_1[_0x1afe52(0x87)])(_0x3c09f5)+'\x20'+(_0x58f46e?_0x1afe52(0xac)+(0x0,colors_1[_0x1afe52(0x87)])(_0x58f46e):'')+_0x1afe52(0xb3);},'errorMissingManifestParameter':_0x51df3a(0xaa)+((0x0,colors_1[_0x51df3a(0x87)])(_0x51df3a(0x90))+_0x51df3a(0xb4)+(0x0,colors_1[_0x51df3a(0x87)])(_0x51df3a(0xae))),'messageInitializingWebManifest':_0x5c0a02=>{const _0x28111f=_0x51df3a;return _0x28111f(0x9a)+(0x0,colors_1[_0x28111f(0x87)])(_0x5c0a02);},'messageInitializingLocalManifest':_0x487f33=>{const _0x31568f=_0x51df3a;return _0x31568f(0x7c)+(0x0,colors_1[_0x31568f(0x87)])(_0x487f33);},'messageInvalidIcon':_0x7be14c=>{return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1['cyan'])(_0x7be14c);},'errorStartUrlNotReachable':_0xc63e8a=>'URL\x20'+_0xc63e8a+'\x20can\x20not\x20be\x20accessible.'+_0x51df3a(0x7a),'warnFamilyPolicy':(0x0,colors_1[_0x51df3a(0xb1)])((0x0,colors_1[_0x51df3a(0xb0)])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+_0x51df3a(0x7d)+_0x51df3a(0x95)+_0x51df3a(0xaf)+(0x0,colors_1['cyan'])(_0x51df3a(0x98)),'promptIconUrl':_0x51df3a(0xab),'errorInvalidUrl':_0x30c4a8=>{return'Invalid\x20URL:\x20'+_0x30c4a8;},'errorUrlMustBeImage':_0x13f288=>{const _0x214fe0=_0x51df3a;return _0x214fe0(0x8e)+_0x13f288+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0x83)+(0x0,colors_1['green'])(_0x51df3a(0x79))),'messageProjectGeneratedSuccess':_0x51df3a(0xa0),'messageSigningKeyCreation':(0x0,colors_1[_0x51df3a(0x9e)])(_0x51df3a(0x82)),'messageSigningKeyNotFound':_0x183664=>{const _0x11140f=_0x51df3a;return _0x11140f(0x9f)+_0x183664+_0x11140f(0x7e);},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x51df3a(0xb7),'promptKeyCountry':_0x51df3a(0x88),'promptKeystorePassword':_0x51df3a(0x84),'promptKeyPassword':_0x51df3a(0x96),'messageBuildingApp':_0x51df3a(0xa6),'messageEnterPasswords':(_0x9c7769,_0x1076d3)=>{const _0x4d4c93=_0x51df3a;return _0x4d4c93(0x89)+(0x0,colors_1['cyan'])(_0x9c7769)+_0x4d4c93(0x9d)+(0x0,colors_1[_0x4d4c93(0x87)])(_0x1076d3)+'.\x0a';},'errorMinLength':(_0x49dee7,_0x56963e)=>{const _0x4bad17=_0x51df3a;return _0x4bad17(0xa5)+_0x49dee7+_0x4bad17(0xa9)+_0x56963e+'.';},'errorMaxLength':(_0x4ef3c9,_0x1c7680)=>{const _0x29772f=_0x51df3a;return _0x29772f(0x78)+_0x4ef3c9+_0x29772f(0xa9)+_0x1c7680+'.';},'errorInvalidInteger':_0x18e38f=>{return'Invalid\x20integer\x20provided:\x20'+_0x18e38f;},'messageApkSuccess':_0x52dfdb=>{const _0x3ebb7a=_0x51df3a;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x3ebb7a(0x87)])(_0x52dfdb);},'missingUrlToCheck':_0x51df3a(0xaa)+(''+(0x0,colors_1[_0x51df3a(0x87)])('--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 _0x26c5(_0x2d479e,_0x3f9be0){const _0xdab17c=_0xdab1();return _0x26c5=function(_0x26c5a9,_0x2a544a){_0x26c5a9=_0x26c5a9-0xc1;let _0x3a06ee=_0xdab17c[_0x26c5a9];return _0x3a06ee;},_0x26c5(_0x2d479e,_0x3f9be0);}const _0x2d89fb=_0x26c5;(function(_0x3cbdce,_0x65a8d2){const _0x3da642=_0x26c5,_0x4ed260=_0x3cbdce();while(!![]){try{const _0x3a4f5e=parseInt(_0x3da642(0xc5))/0x1+-parseInt(_0x3da642(0xd1))/0x2*(parseInt(_0x3da642(0xcd))/0x3)+-parseInt(_0x3da642(0xcf))/0x4*(parseInt(_0x3da642(0xc2))/0x5)+-parseInt(_0x3da642(0xca))/0x6+parseInt(_0x3da642(0xd0))/0x7*(parseInt(_0x3da642(0xce))/0x8)+-parseInt(_0x3da642(0xc6))/0x9*(parseInt(_0x3da642(0xd4))/0xa)+parseInt(_0x3da642(0xc8))/0xb;if(_0x3a4f5e===_0x65a8d2)break;else _0x4ed260['push'](_0x4ed260['shift']());}catch(_0x2b01f3){_0x4ed260['push'](_0x4ed260['shift']());}}}(_0xdab1,0xd451c));Object[_0x2d89fb(0xc4)](exports,_0x2d89fb(0xc9),{'value':!![]}),exports['CliLog']=void 0x0,exports[_0x2d89fb(0xc1)]=parseRouter;const Log_1=require('./Log');function parseRouter(_0x1ecb29){const _0x45b1fc=_0x2d89fb;let _0x58c1f9=_0x1ecb29[_0x45b1fc(0xd3)]('/');_0x58c1f9['pop']();let _0x5be44b=_0x58c1f9[_0x45b1fc(0xcc)]();while(_0x5be44b['indexOf'](',')>=0x0){_0x5be44b=_0x5be44b[_0x45b1fc(0xc7)](',','/');}return _0x5be44b;}exports[_0x2d89fb(0xc3)]=new Log_1[(_0x2d89fb(0xd2))](_0x2d89fb(0xcb));function _0xdab1(){const _0x42ea40=['ConsoleLog','split','3081190XuSoSv','parseRouter','1328005zTWUCY','CliLog','defineProperty','608483jnvIQN','27VJZWPf','replace','27934566AQaciH','__esModule','6766776SpPejA','webspatial-builder','join','21iJdzDt','1256672MGhTut','8FvWGfA','14IfHiNO','2612GNvpws'];_0xdab1=function(){return _0x42ea40;};return _0xdab1();}
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';function _0x435b(){const _0x13fd93=['8gJHZEZ','archive','./xcrun','log','2377215DVIRvk','upload','__esModule','7464456uOhsUm','uploadApp','28267635WRtXdO','existsSync','440170JdmVIk','name','path','mkdirSync','runWithHistory','./xcodebuild','defineProperty','join','../resource','.ipa','/web-spatial.xcodeproj/project.pbxproj','7bPSUVo','72mwdfSE','578169AGiLFt','4084926HVsNEv','2pyErsg','export','build','XcodeManager','default','694641UbFELp','runWithSimulator','PROJECT_EXPORT_DIRECTORY'];_0x435b=function(){return _0x13fd93;};return _0x435b();}const _0x2b4b88=_0x5a76;function _0x5a76(_0x36d109,_0x4f2788){const _0x435be0=_0x435b();return _0x5a76=function(_0x5a7663,_0xcd1f0){_0x5a7663=_0x5a7663-0xe6;let _0x25efc8=_0x435be0[_0x5a7663];return _0x25efc8;},_0x5a76(_0x36d109,_0x4f2788);}(function(_0x5e59ce,_0x51c229){const _0xc1db47=_0x5a76,_0x2aab5e=_0x5e59ce();while(!![]){try{const _0x54317a=-parseInt(_0xc1db47(0x104))/0x1*(parseInt(_0xc1db47(0xff))/0x2)+parseInt(_0xc1db47(0xfd))/0x3*(parseInt(_0xc1db47(0x107))/0x4)+-parseInt(_0xc1db47(0xe9))/0x5+-parseInt(_0xc1db47(0xfe))/0x6*(parseInt(_0xc1db47(0xfb))/0x7)+-parseInt(_0xc1db47(0xec))/0x8+parseInt(_0xc1db47(0xfc))/0x9*(parseInt(_0xc1db47(0xf0))/0xa)+parseInt(_0xc1db47(0xee))/0xb;if(_0x54317a===_0x51c229)break;else _0x2aab5e['push'](_0x2aab5e['shift']());}catch(_0xa99d09){_0x2aab5e['push'](_0x2aab5e['shift']());}}}(_0x435b,0x7fc8d));Object[_0x2b4b88(0xf6)](exports,_0x2b4b88(0xeb),{'value':!![]}),exports[_0x2b4b88(0x102)]=void 0x0;const fs=require('fs'),resource_1=require(_0x2b4b88(0xf8)),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x2b4b88(0xf5)),xcrun_1=require(_0x2b4b88(0xe7)),path_1=require(_0x2b4b88(0xf2));class XcodeManager{static async['parseProject'](_0xbb8227,_0x400cec=![]){const _0x2ba3b1=_0x2b4b88,_0x52b0a2=resource_1['PROJECT_DIRECTORY']+_0x2ba3b1(0xfa);await xcodeproject_1[_0x2ba3b1(0x103)]['modify'](_0x52b0a2,_0xbb8227,_0x400cec),console[_0x2ba3b1(0xe8)]('write\x20project.pbxproj:\x20ok');!fs[_0x2ba3b1(0xef)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x2ba3b1(0xf3)](resource_1[_0x2ba3b1(0x106)],{'recursive':!![]});if(!_0x400cec)await xcodebuild_1[_0x2ba3b1(0x103)][_0x2ba3b1(0xe6)](_0xbb8227[_0x2ba3b1(0x100)]);}static async[_0x2b4b88(0x101)](_0x13ed5d){const _0x549855=_0x2b4b88;await xcodebuild_1[_0x549855(0x103)]['archive'](_0x13ed5d);}static async[_0x2b4b88(0xea)](_0x4de57c,_0x31f394){const _0x54b4ab=_0x2b4b88;if(_0x4de57c['u']&&_0x4de57c['p'])xcrun_1[_0x54b4ab(0x103)][_0x54b4ab(0xed)]((0x0,path_1['join'])(resource_1[_0x54b4ab(0x106)],_0x31f394[_0x54b4ab(0xf1)]+_0x54b4ab(0xf9)),_0x4de57c['u'],_0x4de57c['p'],!![]);else _0x4de57c['k']&&_0x4de57c['i']&&xcrun_1[_0x54b4ab(0x103)]['uploadApp']((0x0,path_1[_0x54b4ab(0xf7)])(resource_1[_0x54b4ab(0x106)],_0x31f394[_0x54b4ab(0xf1)]+'.ipa'),_0x4de57c['k'],_0x4de57c['i'],![]);}static async[_0x2b4b88(0x105)](){await xcrun_1['default']['runWithSimulator']();}static async[_0x2b4b88(0xf4)](){const _0x3beac5=_0x2b4b88;await xcrun_1[_0x3beac5(0x103)][_0x3beac5(0xf4)]();}}exports[_0x2b4b88(0x102)]=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';function _0x8cdd(_0x1f68ac,_0x5982fc){var _0x5060f5=_0x5060();return _0x8cdd=function(_0x8cdd14,_0x505eff){_0x8cdd14=_0x8cdd14-0xc1;var _0x5ae25b=_0x5060f5[_0x8cdd14];return _0x5ae25b;},_0x8cdd(_0x1f68ac,_0x5982fc);}var _0x3ff87e=_0x8cdd;(function(_0x4c442f,_0x491d93){var _0x9222a7=_0x8cdd,_0x1d1497=_0x4c442f();while(!![]){try{var _0x130abc=parseInt(_0x9222a7(0xcd))/0x1+parseInt(_0x9222a7(0xc4))/0x2*(parseInt(_0x9222a7(0xc7))/0x3)+parseInt(_0x9222a7(0xca))/0x4+parseInt(_0x9222a7(0xcb))/0x5*(parseInt(_0x9222a7(0xc8))/0x6)+-parseInt(_0x9222a7(0xc3))/0x7+-parseInt(_0x9222a7(0xc6))/0x8*(parseInt(_0x9222a7(0xc9))/0x9)+parseInt(_0x9222a7(0xce))/0xa;if(_0x130abc===_0x491d93)break;else _0x1d1497['push'](_0x1d1497['shift']());}catch(_0xd81150){_0x1d1497['push'](_0x1d1497['shift']());}}}(_0x5060,0xae2cb));function _0x5060(){var _0x4ac21c=['51576PnRSpe','6198ZYhoYe','259764mTGYRv','1107rzrqyI','1853384iwHJoq','35jhluXT','\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','399696UuuDZM','3900640lTerti','manifestSwiftTemplate','defineProperty','4209702GBMrZo','534MKTfJE','__esModule'];_0x5060=function(){return _0x4ac21c;};return _0x5060();}Object[_0x3ff87e(0xc2)](exports,_0x3ff87e(0xc5),{'value':!![]}),exports[_0x3ff87e(0xc1)]=void 0x0,exports[_0x3ff87e(0xc1)]=_0x3ff87e(0xcc);
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 _0x11f08c=_0x1793;(function(_0xb0b857,_0x571251){const _0x500e8b=_0x1793,_0x266997=_0xb0b857();while(!![]){try{const _0x232913=-parseInt(_0x500e8b(0x114))/0x1+-parseInt(_0x500e8b(0x13f))/0x2+-parseInt(_0x500e8b(0x11a))/0x3*(-parseInt(_0x500e8b(0x140))/0x4)+parseInt(_0x500e8b(0x142))/0x5*(parseInt(_0x500e8b(0x131))/0x6)+-parseInt(_0x500e8b(0x13e))/0x7+-parseInt(_0x500e8b(0x117))/0x8*(parseInt(_0x500e8b(0x13d))/0x9)+-parseInt(_0x500e8b(0x11e))/0xa*(-parseInt(_0x500e8b(0x143))/0xb);if(_0x232913===_0x571251)break;else _0x266997['push'](_0x266997['shift']());}catch(_0x5b844d){_0x266997['push'](_0x266997['shift']());}}}(_0x1d9d,0xe0152));function _0x1793(_0x239846,_0x20c3e6){const _0x1d9d25=_0x1d9d();return _0x1793=function(_0x179356,_0x1ec145){_0x179356=_0x179356-0x113;let _0x24b315=_0x1d9d25[_0x179356];return _0x24b315;},_0x1793(_0x239846,_0x20c3e6);}Object['defineProperty'](exports,_0x11f08c(0x11c),{'value':!![]}),exports[_0x11f08c(0x13a)]=void 0x0;const fs=require('fs'),path_1=require(_0x11f08c(0x144)),resource_1=require(_0x11f08c(0x113)),semver_1=require('semver'),file_1=require(_0x11f08c(0x130)),{execSync,exec}=require(_0x11f08c(0x115));class Xcodebuild{static async['project'](){const _0x2ff5a4=_0x11f08c;try{await new Promise((_0x34bada,_0x5e5fcc)=>{const _0x5e1e2f=_0x1793,_0x1e4f11=resource_1[_0x5e1e2f(0x137)]+_0x5e1e2f(0x12e),_0xcf8fc=execSync(new XcodebuildCMD()[_0x5e1e2f(0x126)](_0x1e4f11)[_0x5e1e2f(0x148)]()['line']);console[_0x5e1e2f(0x123)](_0xcf8fc[_0x5e1e2f(0x125)]()),_0x34bada(_0xcf8fc);});}catch(_0x3f19d4){console[_0x2ff5a4(0x123)](_0x3f19d4);}}static async[_0x11f08c(0x148)](){const _0x771b97=_0x11f08c;try{await new Promise((_0x1c18ce,_0x1e1877)=>{const _0x337fc2=_0x1793,_0x983b00=resource_1[_0x337fc2(0x137)]+_0x337fc2(0x12e),_0x4ee472=execSync(new XcodebuildCMD()[_0x337fc2(0x126)](_0x983b00)[_0x337fc2(0x148)]()[_0x337fc2(0x132)]);console['log'](_0x4ee472[_0x337fc2(0x125)]()),_0x1c18ce(_0x4ee472);});}catch(_0x2939b3){console[_0x771b97(0x123)](_0x2939b3);}}static async[_0x11f08c(0x12a)](_0x3e5258){const _0x54bb4c=_0x11f08c;try{return console['log'](_0x54bb4c(0x122)),!fs[_0x54bb4c(0x121)](resource_1[_0x54bb4c(0x138)])&&fs[_0x54bb4c(0x13b)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x5b175a,_0x15ba47)=>{const _0x1086f6=_0x54bb4c,_0x37afc9=resource_1[_0x1086f6(0x137)]+_0x1086f6(0x12e),_0x1ac927=execSync(new XcodebuildCMD()['project'](_0x37afc9)[_0x1086f6(0x147)](_0x1086f6(0x11b))['archive']((0x0,path_1[_0x1086f6(0x120)])(resource_1[_0x1086f6(0x11f)],'./pack'))[_0x1086f6(0x145)]()[_0x1086f6(0x132)]);let _0x227d7b=_0x1ac927[_0x1086f6(0x125)]();if(_0x227d7b[_0x1086f6(0x128)](_0x1086f6(0x133))>0x0){console[_0x1086f6(0x123)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x1086f6(0x119));const _0x5396d1=execSync(new XcodebuildCMD()[_0x1086f6(0x127)]((0x0,path_1[_0x1086f6(0x120)])(resource_1[_0x1086f6(0x11f)],_0x1086f6(0x12d)),resource_1[_0x1086f6(0x138)],(0x0,path_1[_0x1086f6(0x120)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x1086f6(0x118)))[_0x1086f6(0x136)]()[_0x1086f6(0x132)]);_0x227d7b=_0x5396d1[_0x1086f6(0x125)]();if(_0x227d7b['indexOf'](_0x1086f6(0x139))>0x0){const _0x3c20ed=_0x3e5258!==null&&_0x3e5258!==void 0x0?_0x3e5258:_0x1086f6(0x134),_0x54b698=(0x0,path_1[_0x1086f6(0x120)])(process[_0x1086f6(0x11d)](),_0x3c20ed);!fs[_0x1086f6(0x121)](_0x54b698)&&fs[_0x1086f6(0x13b)](_0x54b698,{'recursive':!![]}),(0x0,file_1[_0x1086f6(0x124)])(resource_1[_0x1086f6(0x138)],_0x54b698),console['log'](_0x1086f6(0x135)),_0x5b175a(!![]);}(0x0,semver_1[_0x1086f6(0x145)])(resource_1[_0x1086f6(0x11f)]);}_0x5b175a(![]);});}catch(_0x11ed31){console[_0x54bb4c(0x123)](_0x11ed31);}}}exports[_0x11f08c(0x12c)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x42f44e=_0x11f08c;this['line']=_0x42f44e(0x116);}['project'](_0x174bb7){const _0x20f49c=_0x11f08c;return this[_0x20f49c(0x132)]+='\x20-project\x20'+_0x174bb7,this;}['list'](){const _0x1fd7ba=_0x11f08c;return this[_0x1fd7ba(0x132)]+=_0x1fd7ba(0x12f),this;}['scheme'](_0xa33b85){const _0x4c0688=_0x11f08c;return this[_0x4c0688(0x132)]+='\x20-scheme\x20'+_0xa33b85,this;}[_0x11f08c(0x12a)](_0x29fb20){const _0x53e749=_0x11f08c;return this[_0x53e749(0x132)]+=_0x53e749(0x129)+_0x29fb20+_0x53e749(0x12b),this;}['allowProvisioningUpdates'](){const _0x6fb77d=_0x11f08c;return this[_0x6fb77d(0x132)]+=_0x6fb77d(0x141),this;}['destination'](_0x231422){const _0x3279ca=_0x11f08c;return this[_0x3279ca(0x132)]+=_0x3279ca(0x14a)+_0x231422+'\x27',this;}[_0x11f08c(0x127)](_0x43ef5a,_0x387126,_0x2ad305){const _0x5e167=_0x11f08c;return this[_0x5e167(0x132)]+=_0x5e167(0x146)+_0x43ef5a+_0x5e167(0x149)+_0x387126+'\x20-exportOptionsPlist\x20'+_0x2ad305,this;}[_0x11f08c(0x145)](){const _0x4981e0=_0x11f08c;return this[_0x4981e0(0x132)]+=_0x4981e0(0x13c),this;}}function _0x1d9d(){const _0x1164ed=['start\x20export','12BHXBJX','web-spatial','__esModule','cwd','14383210vQCXNl','PROJECT_BUILD_DIRECTORY','join','existsSync','start\x20archive','log','copyDir','toString','project','output','indexOf','\x20-archivePath\x20','archive','\x20archive','default','pack.xcarchive','/web-spatial.xcodeproj','\x20-list','../resource/file','174uQZYDj','line','ARCHIVE\x20SUCCEEDED','./build','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','allowProvisioningUpdates','PROJECT_DIRECTORY','PROJECT_EXPORT_DIRECTORY','EXPORT\x20SUCCEEDED','XcodebuildCMD','mkdirSync','\x20clean','15296778zqVvwA','2418990bZPepT','2908894cDOSzY','1415712xlIKPg','\x20-allowProvisioningUpdates','231505yrCWCT','22mfSzcV','path','clean','\x20-exportArchive\x20-archivePath\x20','scheme','list','\x20-exportPath\x20','\x20-destination\x20\x27','../resource','1217582tRsUxn','child_process','xcodebuild','8TxWWXX','ExportOptions.plist'];_0x1d9d=function(){return _0x1164ed;};return _0x1d9d();}exports[_0x11f08c(0x13a)]=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 _0x49f8(){const _0x5a8e76=['writeAsync','buildSettings','parseSync','writeFileSync','split','<?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','YOURTEAMID','USE_MAIN_SCENE','BACK_APPICON_DIRECTORY','url','buildType','modify','length','updateTeamId','64930UTTATi','pbxGroupByName','585660wRqjAY','./web-spatial/libs/webView/manifest.swift','protocol_handlers','join','182005peVOyN','SceneWidth','false','defaultSize','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','manifestSwiftTemplate','PBXGroup','pbxXCConfigurationList','162gqeHtD','START_URL','.minimal','mkdirSync','MIDDLE_APPICON_DIRECTORY','value','width','PROJECT_BUILD_DIRECTORY','</string>','utf-8','mainScene','updateExportOptions','388940zXGYqq','description','pbxTargetByName','images','resizability','CURRENT_PROJECT_VERSION','enterprise','scope','minimal-ui','1581668RcNhCY','6TEoohf','updateBuildProperty','PROJECT_DIRECTORY','buildConfigurationList','206JjaTiK','ExportOptions.plist','updateDeeplink','json','../resource/load','bindManifestInfo','modifySwift','app-store-connect','filename','./manifestSwiftTemplate','debugging','icon.','default','AppName','<?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>','project','SceneResizability','writeSync','1486yzHykx','replace','21jEBdps','getMIME','objects','display','../resource/imageHelper','image/','<string>','stringify','ImageHelper','protocol','loadJsonFromDisk','name','xcode','start_url','__esModule','release-testing','DEEPLINK','object','includes','pbxXCBuildConfigurationSection','147912aYBBbJ','Contents.json','true','../resource','1280','bindIcon','\x22),','defineProperty','updateVersion','test','teamId','\x22,\x20url:\x20\x22','PRODUCT_BUNDLE_IDENTIFIER','Description','fixProjectFunction','SceneHeight'];_0x49f8=function(){return _0x5a8e76;};return _0x49f8();}const _0xb9c5d8=_0x36d3;(function(_0x352572,_0x5307f4){const _0x30f7b8=_0x36d3,_0x5c1857=_0x352572();while(!![]){try{const _0x217b76=-parseInt(_0x30f7b8(0x151))/0x1*(parseInt(_0x30f7b8(0x163))/0x2)+parseInt(_0x30f7b8(0x12b))/0x3+parseInt(_0x30f7b8(0x143))/0x4+-parseInt(_0x30f7b8(0x12f))/0x5*(-parseInt(_0x30f7b8(0x14d))/0x6)+parseInt(_0x30f7b8(0x165))/0x7*(-parseInt(_0x30f7b8(0x10b))/0x8)+-parseInt(_0x30f7b8(0x137))/0x9*(parseInt(_0x30f7b8(0x129))/0xa)+parseInt(_0x30f7b8(0x14c))/0xb;if(_0x217b76===_0x5307f4)break;else _0x5c1857['push'](_0x5c1857['shift']());}catch(_0x5190ef){_0x5c1857['push'](_0x5c1857['shift']());}}}(_0x49f8,0x23f2d));Object[_0xb9c5d8(0x112)](exports,_0xb9c5d8(0x105),{'value':!![]});function _0x36d3(_0x3b5b5b,_0x4de080){const _0x49f83f=_0x49f8();return _0x36d3=function(_0x36d325,_0x43d0a7){_0x36d325=_0x36d325-0xfb;let _0x2792b3=_0x49f83f[_0x36d325];return _0x2792b3;},_0x36d3(_0x3b5b5b,_0x4de080);}const fs=require('fs'),resource_1=require(_0xb9c5d8(0x10e)),path_1=require('path'),load_1=require(_0xb9c5d8(0x155)),imageHelper_1=require(_0xb9c5d8(0xfb)),manifestSwiftTemplate_1=require(_0xb9c5d8(0x15a)),xcode=require(_0xb9c5d8(0x103)),exportOptionsXML=_0xb9c5d8(0x15f),infoPlistXML=_0xb9c5d8(0x120);let useExportOptionsXML='';class XcodeProject{static async[_0xb9c5d8(0x126)](_0x41e7cd,_0x38df97,_0x340c9=![]){const _0x4a7e19=_0xb9c5d8;let _0x3d8094=xcode[_0x4a7e19(0x160)](_0x41e7cd);this[_0x4a7e19(0x119)](_0x3d8094),_0x3d8094[_0x4a7e19(0x11d)]();let _0x18b7f7=_0x38df97[_0x4a7e19(0x125)];const _0x4ba06a=[_0x4a7e19(0x106),_0x4a7e19(0x158),_0x4a7e19(0x15b),_0x4a7e19(0x149)];useExportOptionsXML=exportOptionsXML['replace']('BUILDTYPE',_0x4ba06a['includes'](_0x18b7f7)?_0x18b7f7:'release-testing');_0x38df97[_0x4a7e19(0x115)]&&this['updateTeamId'](_0x3d8094,_0x38df97[_0x4a7e19(0x115)]);this[_0x4a7e19(0x142)]();if(_0x38df97['icon'])await this[_0x4a7e19(0x110)](_0x38df97['icon']);this[_0x4a7e19(0x156)](_0x3d8094,_0x38df97['manifestInfo'][_0x4a7e19(0x154)],_0x340c9);_0x38df97['version']?this[_0x4a7e19(0x113)](_0x3d8094,_0x38df97['version']):this[_0x4a7e19(0x113)](_0x3d8094,'1.0');try{fs['writeFileSync'](_0x41e7cd,_0x3d8094[_0x4a7e19(0x162)]());}catch(_0x2ac6f2){console['log'](_0x2ac6f2);}}static[_0xb9c5d8(0x119)](_0x40fcf5){const _0x384206=_0xb9c5d8;_0x40fcf5[_0x384206(0x12a)]=function(_0x35a964){const _0xbcd6d=_0x384206;var _0x1c343c=this['hash']['project'][_0xbcd6d(0x167)][_0xbcd6d(0x135)],_0x4bc567,_0x1709e1;for(_0x4bc567 in _0x1c343c){if(!/_comment$/['test'](_0x4bc567))continue;if(_0x1c343c[_0x4bc567]==_0x35a964)return _0x1709e1=_0x4bc567[_0xbcd6d(0x11f)](/_comment$/)[0x0],_0x1c343c[_0x1709e1];}return![];},_0x40fcf5[_0x384206(0x14e)]=function(_0x26369d,_0x193d4f,_0x26273c,_0x3d91eb){const _0x357817=_0x384206;let _0x1e61e7=[];const _0x293100=/_comment$/;if(_0x3d91eb){const _0x4d4816=this[_0x357817(0x145)](_0x3d91eb),_0x398429=_0x4d4816&&_0x4d4816[_0x357817(0x150)],_0x3b050b=this[_0x357817(0x136)]();for(const _0x444724 in _0x3b050b){if(!_0x293100[_0x357817(0x114)](_0x444724)&&_0x398429===_0x444724){const _0x138c2b=_0x3b050b[_0x444724]['buildConfigurations'];for(const _0x1cfabe of _0x138c2b){_0x1e61e7['push'](_0x1cfabe[_0x357817(0x13c)]);}break;}}}var _0x506f55=this[_0x357817(0x10a)]();for(var _0xb0f070 in _0x506f55){if(!_0x293100[_0x357817(0x114)](_0xb0f070)){if(_0x3d91eb&&!_0x1e61e7[_0x357817(0x109)](_0xb0f070))continue;var _0x35b01b=_0x506f55[_0xb0f070];(_0x26273c&&_0x35b01b[_0x357817(0x102)]===_0x26273c||!_0x26273c)&&_0x35b01b[_0x357817(0x11c)][_0x26369d]&&(_0x35b01b[_0x357817(0x11c)][_0x26369d]=_0x193d4f);}}};}static async[_0xb9c5d8(0x110)](_0x18ba60){const _0x41f2ef=_0xb9c5d8;if(_0x18ba60){const _0x438838=(0x0,path_1[_0x41f2ef(0x12e)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x41f2ef(0x123)]),_0xa150a5=(0x0,path_1[_0x41f2ef(0x12e)])(_0x438838,_0x41f2ef(0x10c)),_0x3dd7f7=_0x41f2ef(0x15c)+_0x18ba60[_0x41f2ef(0x166)]()['replace'](_0x41f2ef(0xfc),''),_0x204552=(0x0,path_1['join'])(_0x438838,_0x3dd7f7);let _0x443af3=await(0x0,load_1[_0x41f2ef(0x101)])(_0xa150a5);_0x443af3[_0x41f2ef(0x146)][0x0][_0x41f2ef(0x159)]=_0x3dd7f7,await _0x18ba60[_0x41f2ef(0x11b)](_0x204552),await fs[_0x41f2ef(0x11e)](_0xa150a5,JSON[_0x41f2ef(0xfe)](_0x443af3));const _0x516901=(0x0,path_1['join'])(resource_1[_0x41f2ef(0x14f)],resource_1[_0x41f2ef(0x13b)]),_0x4f9433=(0x0,path_1[_0x41f2ef(0x12e)])(_0x516901,_0x41f2ef(0x10c)),_0x55336f='icon.png',_0x3021e1=(0x0,path_1[_0x41f2ef(0x12e)])(_0x516901,_0x55336f);let _0x2aa87d=await(0x0,load_1[_0x41f2ef(0x101)])(_0x4f9433),_0x565e9d=imageHelper_1[_0x41f2ef(0xff)]['createImg'](0x200);_0x2aa87d[_0x41f2ef(0x146)][0x0]['filename']=_0x55336f,await _0x565e9d[_0x41f2ef(0x11b)](_0x3021e1),await fs[_0x41f2ef(0x11e)](_0x4f9433,JSON[_0x41f2ef(0xfe)](_0x2aa87d));}}static[_0xb9c5d8(0x128)](_0x4725cb,_0x33a9b4){const _0x58d45c=_0xb9c5d8;_0x4725cb['updateBuildProperty']('DEVELOPMENT_TEAM',_0x33a9b4),useExportOptionsXML=useExportOptionsXML[_0x58d45c(0x164)](_0x58d45c(0x121),_0x33a9b4);}static['updateExportOptions'](){const _0x4a51b2=_0xb9c5d8;!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x4a51b2(0x13a)](resource_1[_0x4a51b2(0x13e)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x4a51b2(0x13e)],_0x4a51b2(0x152)),useExportOptionsXML);}static['bindManifestInfo'](_0xcbed67,_0x54cab9,_0x10db5b=![]){const _0x42918f=_0xb9c5d8;var _0x4bef20;_0xcbed67['updateProductName'](_0x54cab9[_0x42918f(0x102)]),_0x54cab9['id']&&!_0x10db5b&&_0xcbed67['updateBuildProperty'](_0x42918f(0x117),'\x22'+_0x54cab9['id']+'\x22'),this[_0x42918f(0x153)]((_0x4bef20=_0x54cab9['protocol_handlers'])!==null&&_0x4bef20!==void 0x0?_0x4bef20:[]),this[_0x42918f(0x157)](_0x54cab9);}static['updateVersion'](_0x112dad,_0x192c25){const _0x4b10e9=_0xb9c5d8;_0x112dad[_0x4b10e9(0x14e)](_0x4b10e9(0x148),_0x192c25);}static['updateDeeplink'](_0x3fb742){const _0x452fdb=_0xb9c5d8;let _0x1a402b=(0x0,path_1['join'])(resource_1[_0x452fdb(0x14f)],'./web-spatial/Info.plist'),_0x3e3814='';for(let _0xc62497=0x0;_0xc62497<_0x3fb742[_0x452fdb(0x127)];_0xc62497++){_0x3e3814+=_0x452fdb(0xfd)+_0x3fb742[_0xc62497][_0x452fdb(0x100)]+_0x452fdb(0x13f);}const _0x2bdd93=infoPlistXML[_0x452fdb(0x164)](_0x452fdb(0x107),_0x3e3814);fs[_0x452fdb(0x11e)](_0x1a402b,_0x2bdd93);}static['modifySwift'](_0x113014){const _0x3b3272=_0xb9c5d8,_0x44836d=(0x0,path_1[_0x3b3272(0x12e)])(resource_1[_0x3b3272(0x14f)],_0x3b3272(0x12c));let _0x4f0e54=manifestSwiftTemplate_1[_0x3b3272(0x134)];_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x138),_0x113014[_0x3b3272(0x104)]),_0x4f0e54=_0x4f0e54['replace']('SCOPE',_0x113014[_0x3b3272(0x14a)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x15e),_0x113014['name']),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x118),_0x113014[_0x3b3272(0x144)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('AppID',_0x113014['id']),_0x4f0e54=_0x4f0e54['replace']('.minimal',_0x113014[_0x3b3272(0x168)]==_0x3b3272(0x14b)?_0x3b3272(0x139):'.'+_0x113014['display']);if(_0x113014[_0x3b3272(0x12d)]){let _0x2b99b9='';for(let _0x2952cb=0x0;_0x2952cb<_0x113014[_0x3b3272(0x12d)]['length'];_0x2952cb++){_0x2b99b9+='PWAProtocol(protocolValue:\x20\x22'+_0x113014[_0x3b3272(0x12d)][_0x2952cb][_0x3b3272(0x100)]+_0x3b3272(0x116)+_0x113014[_0x3b3272(0x12d)][_0x2952cb][_0x3b3272(0x124)]+_0x3b3272(0x111);}_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x133),_0x2b99b9);}typeof _0x113014[_0x3b3272(0x141)]===_0x3b3272(0x108)?(_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('SceneWidth',_0x113014[_0x3b3272(0x141)][_0x3b3272(0x132)][_0x3b3272(0x13d)]),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x11a),_0x113014[_0x3b3272(0x141)]['defaultSize']['height']),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x161),'\x22'+_0x113014['mainScene'][_0x3b3272(0x147)]+'\x22'),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('USE_MAIN_SCENE',_0x3b3272(0x10d))):(_0x4f0e54=_0x4f0e54['replace'](_0x3b3272(0x130),_0x3b3272(0x10f)),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)]('SceneHeight',_0x3b3272(0x10f)),_0x4f0e54=_0x4f0e54['replace'](_0x3b3272(0x161),'\x22automatic\x22'),_0x4f0e54=_0x4f0e54[_0x3b3272(0x164)](_0x3b3272(0x122),_0x3b3272(0x131))),fs['writeFileSync'](_0x44836d,_0x4f0e54,_0x3b3272(0x140));}}exports[_0xb9c5d8(0x15d)]=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 _0xf1c517=_0x1511;(function(_0x119008,_0x1e3ec5){const _0x551256=_0x1511,_0x448a81=_0x119008();while(!![]){try{const _0x6ead40=-parseInt(_0x551256(0x1b4))/0x1+-parseInt(_0x551256(0x1c5))/0x2+parseInt(_0x551256(0x16e))/0x3*(-parseInt(_0x551256(0x198))/0x4)+parseInt(_0x551256(0x1bf))/0x5+parseInt(_0x551256(0x1bb))/0x6*(parseInt(_0x551256(0x171))/0x7)+parseInt(_0x551256(0x1c2))/0x8*(-parseInt(_0x551256(0x167))/0x9)+-parseInt(_0x551256(0x149))/0xa*(-parseInt(_0x551256(0x19e))/0xb);if(_0x6ead40===_0x1e3ec5)break;else _0x448a81['push'](_0x448a81['shift']());}catch(_0x576628){_0x448a81['push'](_0x448a81['shift']());}}}(_0x52e0,0xc37c1));function _0x52e0(){const _0x5c7ca1=['../utils/utils','listSimulator','no\x20visionOS\x20simulator\x20found','\x20--validate-app\x20-f\x20','launchWithSimulator','\x27\x20-derivedDataPath\x20','973350JKgMLD','shutdownSimulator','write','verbose','parseSupportRuntimes','\x20--apiKey\x20','listDeviceTypes','3030uLvTWV','listDevices','No\x20visionOS\x20rumtime\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','replace','7860585WNXOBh','project','create\x20visionOS\x20simulator:\x20','24MZDxVQ','\x20and\x20','No\x20Apple\x20Vision\x20Pro\x20simulator\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','1438258bljeDf','Shutdown','visionos','\x20&&\x20xcodebuild\x20-showdestinations\x20-scheme\x20web-spatial','\x20--verbose','state','terminate','listRuntimes','\x20--bundle-version\x20','\x20--apiIssuer\x20','validate','../utils/history','\x20simctl','buildTestApp','line','find\x20simulators:','\x20boot\x20\x22','shutdown','15009020aXqHTu','install','uploadApp','altool','no\x20simulator\x20available','execSync','../resource','mkdirSync','cd\x20','appleId',',\x20try\x20next\x20device','getSimulatorHistory','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','runWithSimulator','createSimulator','xcrun','--\x20','findSimulator','__esModule','parseDeviceInfo','com','version','installApp','PROJECT_DIRECTORY','authApi','log','\x22\x20\x22','create','info','simctl','1106514atgaHU','**\x20BUILD\x20FAILED\x20**','error','runWithHistory','uploadPackage','split','indexOf','23367oWvjHa','\x20launch\x20\x22','PROJECT_BUILD_DIRECTORY','4417iDizCk','try\x20create\x20a\x20visionOS\x20simulator','\x20to\x20create\x20visionOS\x20simulator','\x20list\x20runtimes','installing\x20app','platform','includes','PROJECT_TEST_DIRECTORY','test','platform:visionOS\x20Simulator','join','----\x20build\x20start\x20on\x20','existsSync','trim','Build/Products/Debug-xrsimulator/','--\x20visionOS','install\x20success',',\x20name','launchApp','authAccount','toString','length','deviceId','default','launch','push','parseDestinationDevices','-------------------\x20build\x20end\x20-------------------','\x20list','visionOS','launchSimulator','id:','warn','../resource/file','find\x20simulator:\x20','getAppInfoRecord','parseListDevices','open\x20-a\x20Simulator\x20--args\x20-CurrentDeviceUDID\x20','\x20--apple-id\x20','272lKcAOl','\x20-p\x20','/web-spatial.xcodeproj','sleep\x2010','Apple\x20Vision\x20Pro','XcodebuildCMD','11NOmpUD','use\x20','\x20--upload-app\x20-f\x20','list','parseSupportDevices','CliLog','recordSimulator','simulator\x20is\x20already\x20shutdown','find\x20destination\x20device:\x20','.app','slice','use\x20simulator:\x20','boot','\x20----','./xcodebuild','name'];_0x52e0=function(){return _0x5c7ca1;};return _0x52e0();}Object['defineProperty'](exports,_0xf1c517(0x15b),{'value':!![]});const child_process_1=require('child_process'),resource_1=require(_0xf1c517(0x14f)),path_1=require('path'),fs=require('fs'),xcodebuild_1=require(_0xf1c517(0x1ac)),file_1=require(_0xf1c517(0x192)),utils_1=require(_0xf1c517(0x1ae)),history_1=require(_0xf1c517(0x1d0));function _0x1511(_0x135d46,_0x1f8d86){const _0x52e075=_0x52e0();return _0x1511=function(_0x1511a6,_0x2760ca){_0x1511a6=_0x1511a6-0x144;let _0x70a3d5=_0x52e075[_0x1511a6];return _0x70a3d5;},_0x1511(_0x135d46,_0x1f8d86);}class Xcrun{static async['validate'](_0x22c531,_0x1c4fb3,_0x7f3d71,_0x28616f){const _0x1650d1=_0xf1c517,_0x1f2519=new XcrunCMD()[_0x1650d1(0x14c)]();_0x1f2519[_0x1650d1(0x1cf)](_0x22c531);_0x28616f?_0x1f2519[_0x1650d1(0x184)](_0x1c4fb3,_0x7f3d71):_0x1f2519[_0x1650d1(0x161)](_0x1c4fb3,_0x7f3d71);_0x1f2519[_0x1650d1(0x176)](_0x1650d1(0x1c7));const _0x3af795=(0x0,child_process_1[_0x1650d1(0x14e)])(_0x1f2519[_0x1650d1(0x145)]);return _0x3af795['toString']();}static async[_0xf1c517(0x16b)](_0x5bd2f1,_0x3cc021,_0x5eb053,_0x5b5684,_0x394e42){const _0x2e5391=_0xf1c517,_0x59fcb7=new XcrunCMD()[_0x2e5391(0x14c)]();_0x59fcb7['uploadPackage'](_0x5bd2f1);_0x394e42?_0x59fcb7['authAccount'](_0x3cc021,_0x5eb053):_0x59fcb7[_0x2e5391(0x161)](_0x3cc021,_0x5eb053);_0x59fcb7['platform'](_0x2e5391(0x1c7)),_0x59fcb7['appleId'](_0x5b5684);const _0x2390a4=(0x0,child_process_1[_0x2e5391(0x14e)])(_0x59fcb7['line']);return _0x2390a4[_0x2e5391(0x185)]();}static async[_0xf1c517(0x14b)](_0x3aa21c,_0x4030b0,_0x42a358,_0x22f0f4){const _0xa311c9=_0xf1c517,_0x52ad94=new XcrunCMD()[_0xa311c9(0x14c)]();_0x52ad94[_0xa311c9(0x14b)](_0x3aa21c);_0x22f0f4?_0x52ad94[_0xa311c9(0x184)](_0x4030b0,_0x42a358):_0x52ad94[_0xa311c9(0x161)](_0x4030b0,_0x42a358);_0x52ad94[_0xa311c9(0x176)](_0xa311c9(0x1c7));const _0x160758=(0x0,child_process_1['execSync'])(_0x52ad94[_0xa311c9(0x145)]);return _0x160758[_0xa311c9(0x185)]();}static async[_0xf1c517(0x156)](){const _0x13b494=_0xf1c517;let _0x1d52e7=this['findSimulator']();!_0x1d52e7[0x0]&&(_0x1d52e7=[this[_0x13b494(0x157)]()]);const _0x9d4d04=history_1[_0x13b494(0x188)][_0x13b494(0x194)]();for(var _0x51488d=0x0;_0x51488d<_0x1d52e7[_0x13b494(0x186)];_0x51488d++){if(this[_0x13b494(0x144)](_0x1d52e7[_0x51488d][_0x13b494(0x187)])){const _0x260f04=this[_0x13b494(0x1b2)](_0x9d4d04,_0x1d52e7[_0x51488d][_0x13b494(0x187)],!![],![]);history_1[_0x13b494(0x188)][_0x13b494(0x1a4)](_0x260f04),history_1[_0x13b494(0x188)][_0x13b494(0x1b6)]();return;}else utils_1[_0x13b494(0x1a3)][_0x13b494(0x169)]('build\x20failed\x20on\x20'+_0x1d52e7[_0x51488d][_0x13b494(0x187)]+_0x13b494(0x153));}utils_1[_0x13b494(0x1a3)][_0x13b494(0x169)](_0x13b494(0x14d));}static async[_0xf1c517(0x16a)](){const _0x2b5e0d=_0xf1c517,_0x299a4a=history_1[_0x2b5e0d(0x188)][_0x2b5e0d(0x154)](),_0x1b03a4=history_1[_0x2b5e0d(0x188)][_0x2b5e0d(0x194)](),_0x3456ec=this['launchWithSimulator'](_0x1b03a4,_0x299a4a);history_1[_0x2b5e0d(0x188)][_0x2b5e0d(0x1a4)](_0x3456ec),history_1['default'][_0x2b5e0d(0x1b6)]();}static[_0xf1c517(0x1b2)](_0xb67382,_0x3512b5='',_0x556fe2=![],_0x12224f=!![]){const _0x41b0d2=_0xf1c517;let _0x104607,_0x1a11c0=![];return _0x12224f?_0x104607=this[_0x41b0d2(0x15a)](_0x3512b5)[0x0]:_0x104607=this['searchSimulator'](_0x3512b5),(!_0x104607||_0x104607[_0x41b0d2(0x187)]==='')&&(_0x104607=this[_0x41b0d2(0x157)](),_0x1a11c0=!![]),console[_0x41b0d2(0x162)](_0x41b0d2(0x1a9)+_0x104607[_0x41b0d2(0x187)]),this[_0x41b0d2(0x18f)](_0x104607),(_0x556fe2||_0x1a11c0)&&(console[_0x41b0d2(0x162)](_0x41b0d2(0x175)),this[_0x41b0d2(0x15f)](resource_1[_0x41b0d2(0x178)],_0x104607[_0x41b0d2(0x187)],_0xb67382[_0x41b0d2(0x1ad)]),console['log'](_0x41b0d2(0x181))),console[_0x41b0d2(0x162)]('launch\x20app'),this[_0x41b0d2(0x183)](_0x104607[_0x41b0d2(0x187)],_0xb67382['id']),_0x104607['deviceId'];}static async[_0xf1c517(0x1b5)](){const _0x33401f=_0xf1c517;let _0x43ec5c=this[_0x33401f(0x15a)]()[0x0];console[_0x33401f(0x162)](_0x33401f(0x193)+_0x43ec5c[_0x33401f(0x187)]);if(_0x43ec5c[_0x33401f(0x1ca)]!==_0x33401f(0x1c6)){let _0x3aa323=new XcrunCMD()[_0x33401f(0x166)]();_0x3aa323[_0x33401f(0x148)](_0x43ec5c[_0x33401f(0x187)]),(0x0,child_process_1['execSync'])(_0x3aa323[_0x33401f(0x145)]);}else console[_0x33401f(0x162)](_0x33401f(0x1a5));}static[_0xf1c517(0x18f)](_0x32adfe){const _0x19210=_0xf1c517;if(_0x32adfe[_0x19210(0x1ca)]===_0x19210(0x1c6)){let _0x269bbc=new XcrunCMD()[_0x19210(0x166)]();_0x269bbc[_0x19210(0x1aa)](_0x32adfe[_0x19210(0x187)]),(0x0,child_process_1[_0x19210(0x14e)])(_0x269bbc[_0x19210(0x145)]),(0x0,child_process_1[_0x19210(0x14e)])(_0x19210(0x19b));}(0x0,child_process_1[_0x19210(0x14e)])(_0x19210(0x196)+_0x32adfe['deviceId']);}static['buildTestApp'](_0x9d1286){const _0x51f320=_0xf1c517,_0xe49ee4=resource_1[_0x51f320(0x160)]+_0x51f320(0x19a);!fs[_0x51f320(0x17d)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x51f320(0x150)](resource_1[_0x51f320(0x170)],{'recursive':!![]});!fs[_0x51f320(0x17d)](resource_1['PROJECT_TEST_DIRECTORY'])&&fs[_0x51f320(0x150)](resource_1[_0x51f320(0x178)],{'recursive':!![]});(0x0,file_1['clearDir'])(resource_1[_0x51f320(0x178)]);const _0x234c57=new xcodebuild_1[(_0x51f320(0x19d))]()[_0x51f320(0x1c0)](_0xe49ee4)[_0x51f320(0x145)]+(_0x51f320(0x155)+_0x9d1286+_0x51f320(0x1b3)+resource_1['PROJECT_TEST_DIRECTORY']);console[_0x51f320(0x162)](_0x51f320(0x17c)+_0x9d1286+_0x51f320(0x1ab));try{const _0x5ad480=(0x0,child_process_1[_0x51f320(0x14e)])(_0x234c57);if(_0x5ad480['toString']()['includes'](_0x51f320(0x168)))return![];}catch(_0x4fc10e){}return console[_0x51f320(0x162)](_0x51f320(0x18c)),!![];}static[_0xf1c517(0x15f)](_0xe8043c,_0x46614a,_0x42d219){const _0x33179a=_0xf1c517,_0x26783c=(0x0,path_1[_0x33179a(0x17b)])(_0xe8043c,_0x33179a(0x17f)+_0x42d219+_0x33179a(0x1a7));let _0x1b644a=new XcrunCMD()[_0x33179a(0x166)]();_0x1b644a[_0x33179a(0x14a)](_0x46614a,_0x26783c),(0x0,child_process_1[_0x33179a(0x14e)])(_0x1b644a[_0x33179a(0x145)]);}static['launchApp'](_0x19c0af,_0x3ec0be){const _0x4774d4=_0xf1c517;try{(0x0,child_process_1[_0x4774d4(0x14e)])(new XcrunCMD()[_0x4774d4(0x166)]()[_0x4774d4(0x1cb)](_0x19c0af,_0x3ec0be)[_0x4774d4(0x145)]);}catch(_0x55d8b9){}(0x0,child_process_1[_0x4774d4(0x14e)])(new XcrunCMD()[_0x4774d4(0x166)]()[_0x4774d4(0x189)](_0x19c0af,_0x3ec0be)[_0x4774d4(0x145)]);}static[_0xf1c517(0x18b)](_0x172394){const _0x11be7b=_0xf1c517;let _0x2982f8=_0x172394['split']('\x0a');const _0x77cef=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/;let _0x433108=[];for(let _0x426ae4=0x0;_0x426ae4<_0x2982f8[_0x11be7b(0x186)];_0x426ae4++){if(_0x2982f8[_0x426ae4][_0x11be7b(0x177)](_0x11be7b(0x17a))){const _0x489d68=_0x2982f8[_0x426ae4][_0x11be7b(0x1a8)](_0x2982f8[_0x426ae4][_0x11be7b(0x16d)](_0x11be7b(0x190))+0x3,_0x2982f8[_0x426ae4][_0x11be7b(0x16d)](_0x11be7b(0x182)));_0x77cef[_0x11be7b(0x179)](_0x489d68)&&(_0x433108['push'](_0x489d68),console[_0x11be7b(0x162)](_0x11be7b(0x1a6)+_0x2982f8[_0x426ae4]+')'));}}return _0x433108;}static[_0xf1c517(0x1a2)](_0x3104ca){const _0x31a8d0=_0xf1c517;let _0xb1d50e=_0x3104ca[_0x31a8d0(0x16c)]('\x0a');for(let _0x4b06a6=0x0;_0x4b06a6<_0xb1d50e[_0x31a8d0(0x186)];_0x4b06a6++){if(_0xb1d50e[_0x4b06a6][_0x31a8d0(0x177)](_0x31a8d0(0x19c)))return _0xb1d50e[_0x4b06a6]=_0xb1d50e[_0x4b06a6][_0x31a8d0(0x1be)](_0x31a8d0(0x19c),'')['trim'](),_0xb1d50e[_0x4b06a6]=_0xb1d50e[_0x4b06a6][_0x31a8d0(0x1be)]('(',''),_0xb1d50e[_0x4b06a6]=_0xb1d50e[_0x4b06a6][_0x31a8d0(0x1be)](')',''),_0xb1d50e[_0x4b06a6];}throw new Error(_0x31a8d0(0x1c4));}static['parseSupportRuntimes'](_0x5bb450){const _0x34b5d0=_0xf1c517;let _0x119094=_0x5bb450[_0x34b5d0(0x16c)]('\x0a');for(let _0x4e79d2=0x0;_0x4e79d2<_0x119094[_0x34b5d0(0x186)];_0x4e79d2++){if(_0x119094[_0x4e79d2][_0x34b5d0(0x177)](_0x34b5d0(0x18e)))return _0x119094[_0x4e79d2][_0x34b5d0(0x1a8)](_0x119094[_0x4e79d2]['indexOf'](_0x34b5d0(0x15d)))[_0x34b5d0(0x17e)]();}throw new Error(_0x34b5d0(0x1bd));}static[_0xf1c517(0x195)](_0x487406){const _0x3d4022=_0xf1c517;let _0x18cda3=_0x487406[_0x3d4022(0x16c)]('\x0a'),_0x44a587=[],_0x1c6eae=-0x1;for(let _0x10417b=0x0;_0x10417b<_0x18cda3[_0x3d4022(0x186)];_0x10417b++){if(_0x18cda3[_0x10417b][_0x3d4022(0x177)](_0x3d4022(0x180)))_0x1c6eae=_0x10417b;else{if(_0x1c6eae>0x0){if(_0x18cda3[_0x10417b][_0x3d4022(0x177)](_0x3d4022(0x159)))break;_0x18cda3[_0x10417b]['length']>0x0&&_0x44a587[_0x3d4022(0x18a)](this[_0x3d4022(0x15c)](_0x18cda3[_0x10417b]));}}}return _0x44a587;}static['parseDeviceInfo'](_0x2f1d78){const _0x5c23b7=_0xf1c517,_0x40ff26=_0x2f1d78[_0x5c23b7(0x16c)]('('),_0x2da8aa={'name':_0x40ff26[0x0]['trim'](),'deviceId':_0x40ff26[0x1]['split'](')')[0x0]['trim'](),'state':_0x40ff26[0x2][_0x5c23b7(0x16c)](')')[0x0]['trim']()};return _0x2da8aa;}static[_0xf1c517(0x15a)](_0x23cd3c){const _0x2fb24f=_0xf1c517;let _0x5c17fd=[_0x23cd3c!==null&&_0x23cd3c!==void 0x0?_0x23cd3c:''];const _0x56bb91=(0x0,child_process_1[_0x2fb24f(0x14e)])(_0x2fb24f(0x151)+resource_1[_0x2fb24f(0x160)]+_0x2fb24f(0x1c8)),_0x54cb70=this['parseDestinationDevices'](_0x56bb91[_0x2fb24f(0x185)]());_0x5c17fd=[..._0x5c17fd,..._0x54cb70];let _0x24dbba=this['listSimulator']();return _0x24dbba['sort']((_0x9c0a45,_0x54d16c)=>{const _0xfcf420=_0x2fb24f,_0x1a3432=_0x5c17fd['indexOf'](_0x9c0a45[_0xfcf420(0x187)]),_0x4f6829=_0x5c17fd[_0xfcf420(0x16d)](_0x54d16c[_0xfcf420(0x187)]);if(_0x1a3432!==-0x1&&_0x4f6829!==-0x1)return _0x1a3432-_0x4f6829;else{if(_0x1a3432!==-0x1)return-0x1;else{if(_0x4f6829!==-0x1)return 0x1;}}return 0x0;}),console[_0x2fb24f(0x162)](_0x2fb24f(0x146)),console[_0x2fb24f(0x162)](_0x24dbba),_0x24dbba;}static['searchSimulator'](_0x1eed75){const _0x3f78e2=_0xf1c517,_0x4d917a=new XcrunCMD()[_0x3f78e2(0x166)]()[_0x3f78e2(0x1bc)]('Apple\x20Vision\x20Pro')['line']+('\x20|\x20grep\x20'+_0x1eed75);console['log'](_0x4d917a);let _0x579921=(0x0,child_process_1['execSync'])(_0x4d917a);return console[_0x3f78e2(0x162)](_0x579921['toString']()),this[_0x3f78e2(0x15c)](_0x579921[_0x3f78e2(0x185)]());}static['createSimulator'](){const _0x340206=_0xf1c517;utils_1[_0x340206(0x1a3)][_0x340206(0x191)](_0x340206(0x1b0)),utils_1[_0x340206(0x1a3)]['warn'](_0x340206(0x172));let _0x444bb8=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x340206(0x166)]()['listDeviceTypes']()[_0x340206(0x145)]);const _0x3a599b=this[_0x340206(0x1a2)](_0x444bb8['toString']());_0x444bb8=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x340206(0x166)]()[_0x340206(0x1cc)]()[_0x340206(0x145)]);const _0x351dec=this[_0x340206(0x1b8)](_0x444bb8[_0x340206(0x185)]());utils_1[_0x340206(0x1a3)][_0x340206(0x165)](_0x340206(0x19f)+_0x3a599b+_0x340206(0x1c3)+_0x351dec+_0x340206(0x173)),_0x444bb8=(0x0,child_process_1[_0x340206(0x14e)])(new XcrunCMD()[_0x340206(0x166)]()[_0x340206(0x164)](_0x3a599b,_0x351dec)[_0x340206(0x145)]);const _0x221837=_0x444bb8[_0x340206(0x185)]()[_0x340206(0x17e)]();return console['log'](_0x340206(0x1c1)+_0x221837),{'name':'WebSpatial\x20Simulator','deviceId':_0x221837,'state':'Shutdown'};}static[_0xf1c517(0x1af)](){const _0x3f38ff=_0xf1c517;let _0x3540bb=(0x0,child_process_1[_0x3f38ff(0x14e)])(new XcrunCMD()[_0x3f38ff(0x166)]()[_0x3f38ff(0x1bc)](_0x3f38ff(0x19c))['line']);return this[_0x3f38ff(0x195)](_0x3540bb[_0x3f38ff(0x185)]());}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x169df3=_0xf1c517;this[_0x169df3(0x145)]=_0x169df3(0x158);}[_0xf1c517(0x14c)](){const _0x29ebcb=_0xf1c517;return this[_0x29ebcb(0x145)]+='\x20altool',this;}[_0xf1c517(0x166)](){const _0x3be64a=_0xf1c517;return this[_0x3be64a(0x145)]+=_0x3be64a(0x1d1),this;}[_0xf1c517(0x1a1)](){const _0x3dd623=_0xf1c517;return this[_0x3dd623(0x145)]+=_0x3dd623(0x18d),this;}[_0xf1c517(0x1bc)](_0x10eef8){const _0x1eb56c=_0xf1c517;return this[_0x1eb56c(0x145)]+='\x20list\x20devices\x20\x22'+_0x10eef8+'\x22',this;}[_0xf1c517(0x1ba)](){return this['line']+='\x20list\x20devicetypes',this;}[_0xf1c517(0x1cc)](){const _0x15f3e3=_0xf1c517;return this[_0x15f3e3(0x145)]+=_0x15f3e3(0x174),this;}[_0xf1c517(0x1cf)](_0x519a56){const _0x186071=_0xf1c517;return this['line']+=_0x186071(0x1b1)+_0x519a56,this;}['uploadApp'](_0x4f7451){const _0x3c7512=_0xf1c517;return this[_0x3c7512(0x145)]+=_0x3c7512(0x1a0)+_0x4f7451,this;}['uploadPackage'](_0x2a9cb){const _0x128198=_0xf1c517;return this[_0x128198(0x145)]+='\x20--upload-package\x20'+_0x2a9cb,this;}[_0xf1c517(0x184)](_0x214381,_0x83a9f8){const _0x82c84a=_0xf1c517;return this[_0x82c84a(0x145)]+='\x20-u\x20'+_0x214381+_0x82c84a(0x199)+_0x83a9f8,this;}[_0xf1c517(0x161)](_0x1d5243,_0x457f73){const _0x4e6a2b=_0xf1c517;return this[_0x4e6a2b(0x145)]+=_0x4e6a2b(0x1b9)+_0x1d5243+_0x4e6a2b(0x1ce)+_0x457f73,this;}[_0xf1c517(0x152)](_0x420d1e){const _0x1dda06=_0xf1c517;return this[_0x1dda06(0x145)]+=_0x1dda06(0x197)+_0x420d1e,this;}[_0xf1c517(0x176)](_0x88dfc2){const _0x1a9dc7=_0xf1c517;return this[_0x1a9dc7(0x145)]+='\x20-t\x20'+_0x88dfc2,this;}[_0xf1c517(0x15e)](_0x35b3e7){const _0x1dc932=_0xf1c517;return this['line']+=_0x1dc932(0x1cd)+_0x35b3e7,this;}[_0xf1c517(0x1b7)](){const _0x4fcd47=_0xf1c517;return this['line']+=_0x4fcd47(0x1c9),this;}['create'](_0x2453b6,_0x155f69){const _0x1b5d5a=_0xf1c517;return this['line']+='\x20create\x20\x22WebSpatialSimulator\x22\x20\x22'+_0x2453b6+_0x1b5d5a(0x163)+_0x155f69+'\x22',this;}[_0xf1c517(0x148)](_0x5329e7){const _0xaa1361=_0xf1c517;return this[_0xaa1361(0x145)]+='\x20shutdown\x20\x22'+_0x5329e7+'\x22',this;}['boot'](_0x33e5ba){const _0x1aea0c=_0xf1c517;return this[_0x1aea0c(0x145)]+=_0x1aea0c(0x147)+_0x33e5ba+'\x22',this;}[_0xf1c517(0x14a)](_0xe30f1e,_0x5b91ca){const _0x5d2fb5=_0xf1c517;return this[_0x5d2fb5(0x145)]+='\x20install\x20\x22'+_0xe30f1e+_0x5d2fb5(0x163)+_0x5b91ca+'\x22',this;}['launch'](_0x595049,_0x51ed4b){const _0x4b9a1e=_0xf1c517;return this['line']+=_0x4b9a1e(0x16f)+_0x595049+_0x4b9a1e(0x163)+_0x51ed4b+'\x22',this;}[_0xf1c517(0x1cb)](_0x100995,_0x437d0a){const _0x1c23d7=_0xf1c517;return this[_0x1c23d7(0x145)]+='\x20terminate\x20\x22'+_0x100995+_0x1c23d7(0x163)+_0x437d0a+'\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.14",
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.14"
42
+ "@webspatial/platform-visionos": "^0.1.16"
43
43
  },
44
44
  "devDependencies": {
45
45
  "@rollup/plugin-terser": "^0.4.3",