@webspatial/builder 0.0.18 → 0.0.20

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 _0x651ba1=_0x1c4e;(function(_0x11e665,_0x7d6e2a){const _0x2d2f7a=_0x1c4e,_0x6a23d6=_0x11e665();while(!![]){try{const _0xa1a7=-parseInt(_0x2d2f7a(0xae))/0x1+-parseInt(_0x2d2f7a(0xb1))/0x2+-parseInt(_0x2d2f7a(0xa1))/0x3+parseInt(_0x2d2f7a(0xaf))/0x4*(parseInt(_0x2d2f7a(0xb2))/0x5)+parseInt(_0x2d2f7a(0xa2))/0x6+parseInt(_0x2d2f7a(0xa9))/0x7+parseInt(_0x2d2f7a(0xa0))/0x8;if(_0xa1a7===_0x7d6e2a)break;else _0x6a23d6['push'](_0x6a23d6['shift']());}catch(_0x1c9710){_0x6a23d6['push'](_0x6a23d6['shift']());}}}(_0x475a,0xb91d5));Object[_0x651ba1(0x9f)](exports,_0x651ba1(0xab),{'value':!![]});const Cli_1=require(_0x651ba1(0xa7)),CustomError_1=require('./lib/utils/CustomError');function _0x1c4e(_0x17607b,_0x1e4e47){const _0x475ac8=_0x475a();return _0x1c4e=function(_0x1c4ea7,_0x4ffbde){_0x1c4ea7=_0x1c4ea7-0x9b;let _0x148332=_0x475ac8[_0x1c4ea7];return _0x148332;},_0x1c4e(_0x17607b,_0x1e4e47);}function _0x475a(){const _0x47ace6=['1567593nxKmwf','1585536hzTQHE','Cli','error','exports','forEach','./lib/Cli','customMessage','3385907IbCBtz','slice','__esModule','run','exit','250330zHZIEw','3060764zprmJj','isArray','2132118XQISoM','5EBUmbr','argv','code','log','message','defineProperty','8672008IRsjOf'];_0x475a=function(){return _0x47ace6;};return _0x475a();}module[_0x651ba1(0xa5)]=async()=>{const _0x20dd95=_0x651ba1,_0x4ae70c=new Cli_1[(_0x20dd95(0xa3))](),_0x59d0de=Cli_1[_0x20dd95(0xa3)][_0x20dd95(0x9d)],_0x289032=process[_0x20dd95(0x9b)][_0x20dd95(0xaa)](0x2);let _0x5d527d;try{_0x5d527d=await _0x4ae70c[_0x20dd95(0xac)](_0x289032);}catch(_0x2d794e){if(_0x2d794e instanceof CustomError_1['CustomError']){const _0x4fb24f=_0x2d794e[_0x20dd95(0xa8)];Array[_0x20dd95(0xb0)](_0x4fb24f)?_0x4fb24f[_0x20dd95(0xa6)](_0x1f2111=>{const _0xfe24f9=_0x20dd95;_0x59d0de[_0xfe24f9(0xa4)](_0x1f2111['code']+':\x20'+_0x1f2111[_0xfe24f9(0x9e)]);}):_0x59d0de[_0x20dd95(0xa4)](_0x4fb24f[_0x20dd95(0x9c)]+':\x20'+_0x4fb24f[_0x20dd95(0x9e)]);}else _0x59d0de[_0x20dd95(0xa4)](_0x2d794e['message']);_0x5d527d=![];}!_0x5d527d?process[_0x20dd95(0xad)](0x1):process[_0x20dd95(0xad)](0x0);};
1
+ 'use strict';const _0x446705=_0x4c86;function _0x4c86(_0x4edba3,_0x3d409e){const _0x190372=_0x1903();return _0x4c86=function(_0x4c8639,_0x60bbf1){_0x4c8639=_0x4c8639-0xdc;let _0x13ab61=_0x190372[_0x4c8639];return _0x13ab61;},_0x4c86(_0x4edba3,_0x3d409e);}(function(_0x3e1cb0,_0x2beb6e){const _0x361cd3=_0x4c86,_0x355842=_0x3e1cb0();while(!![]){try{const _0x4d79b0=-parseInt(_0x361cd3(0xef))/0x1*(parseInt(_0x361cd3(0xec))/0x2)+parseInt(_0x361cd3(0xf4))/0x3+-parseInt(_0x361cd3(0xe6))/0x4*(-parseInt(_0x361cd3(0xe0))/0x5)+parseInt(_0x361cd3(0xf1))/0x6+parseInt(_0x361cd3(0xee))/0x7+parseInt(_0x361cd3(0xe3))/0x8*(-parseInt(_0x361cd3(0xde))/0x9)+-parseInt(_0x361cd3(0xea))/0xa*(parseInt(_0x361cd3(0xe1))/0xb);if(_0x4d79b0===_0x2beb6e)break;else _0x355842['push'](_0x355842['shift']());}catch(_0x1c6eeb){_0x355842['push'](_0x355842['shift']());}}}(_0x1903,0x5f4b2));Object['defineProperty'](exports,_0x446705(0xdf),{'value':!![]});const Cli_1=require('./lib/Cli'),CustomError_1=require(_0x446705(0xf5));module[_0x446705(0xf3)]=async()=>{const _0x3bfe2e=_0x446705,_0x2be1ef=new Cli_1['Cli'](),_0x27cd6a=Cli_1[_0x3bfe2e(0xdd)][_0x3bfe2e(0xe7)],_0x352548=process[_0x3bfe2e(0xe4)][_0x3bfe2e(0xe8)](0x2);let _0x3051a9;try{_0x3051a9=await _0x2be1ef[_0x3bfe2e(0xeb)](_0x352548);}catch(_0x4dcdcb){if(_0x4dcdcb instanceof CustomError_1[_0x3bfe2e(0xdc)]){const _0x55a750=_0x4dcdcb[_0x3bfe2e(0xe2)];Array[_0x3bfe2e(0xf2)](_0x55a750)?_0x55a750['forEach'](_0x4df6fa=>{const _0x2bd6d0=_0x3bfe2e;_0x27cd6a[_0x2bd6d0(0xe9)](_0x4df6fa[_0x2bd6d0(0xf0)]+':\x20'+_0x4df6fa[_0x2bd6d0(0xed)]);}):_0x27cd6a['error'](_0x55a750[_0x3bfe2e(0xf0)]+':\x20'+_0x55a750[_0x3bfe2e(0xed)]);}else _0x27cd6a[_0x3bfe2e(0xe9)](_0x4dcdcb['message']);_0x3051a9=![];}!_0x3051a9?process[_0x3bfe2e(0xe5)](0x1):process[_0x3bfe2e(0xe5)](0x0);};function _0x1903(){const _0x327b08=['2078045vxEsSE','140954xCSgFn','customMessage','8tkjsBs','argv','exit','4vwZTAl','log','slice','error','410EHzgzu','run','1398908cjKnCm','message','4297433huTikF','1vbbgND','code','2006742zOvKLy','isArray','exports','1208322sXyOPk','./lib/utils/CustomError','CustomError','Cli','1364481QAEBFF','__esModule'];_0x1903=function(){return _0x327b08;};return _0x1903();}
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x3c5ff7=_0x2529;(function(_0xad0f4b,_0x1f5755){const _0x49fe3f=_0x2529,_0x4c260f=_0xad0f4b();while(!![]){try{const _0x3d5a14=parseInt(_0x49fe3f(0x177))/0x1+parseInt(_0x49fe3f(0x18e))/0x2+parseInt(_0x49fe3f(0x172))/0x3*(parseInt(_0x49fe3f(0x183))/0x4)+parseInt(_0x49fe3f(0x179))/0x5*(parseInt(_0x49fe3f(0x16a))/0x6)+parseInt(_0x49fe3f(0x181))/0x7+parseInt(_0x49fe3f(0x186))/0x8+parseInt(_0x49fe3f(0x16b))/0x9*(-parseInt(_0x49fe3f(0x174))/0xa);if(_0x3d5a14===_0x1f5755)break;else _0x4c260f['push'](_0x4c260f['shift']());}catch(_0xb6bb9c){_0x4c260f['push'](_0x4c260f['shift']());}}}(_0x52fe,0x267f0));function _0x2529(_0x28b436,_0x326cc9){const _0x52fe6b=_0x52fe();return _0x2529=function(_0x25290e,_0x5eb39d){_0x25290e=_0x25290e-0x169;let _0x7b0c5b=_0x52fe6b[_0x25290e];return _0x7b0c5b;},_0x2529(_0x28b436,_0x326cc9);}Object[_0x3c5ff7(0x16e)](exports,_0x3c5ff7(0x190),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require(_0x3c5ff7(0x18a)),semver_1=require('semver'),Log_1=require(_0x3c5ff7(0x173)),FetchUtils_1_1=require(_0x3c5ff7(0x188)),help_1=require(_0x3c5ff7(0x18b)),build_1=require(_0x3c5ff7(0x189)),version_1=require(_0x3c5ff7(0x169)),fetch_1=require(_0x3c5ff7(0x16c));class Cli{async[_0x3c5ff7(0x184)](_0x58cd8c){const _0x26a5e1=_0x3c5ff7;if((0x0,semver_1[_0x26a5e1(0x17a)])(process[_0x26a5e1(0x18c)][_0x26a5e1(0x185)])<0xe)throw new Error(_0x26a5e1(0x17c)+process[_0x26a5e1(0x18c)]['node']+'.'+_0x26a5e1(0x175));FetchUtils_1_1['fetchUtils'][_0x26a5e1(0x16d)](fetch_1[_0x26a5e1(0x17f)]),FetchUtils_1_1[_0x26a5e1(0x182)][_0x26a5e1(0x17e)](fetch_1[_0x26a5e1(0x17b)]),FetchUtils_1_1[_0x26a5e1(0x182)]['setDecompressResponseBuffer'](fetch_1[_0x26a5e1(0x178)]);const _0x1575eb=minimist(_0x58cd8c);let _0x47eb19=undefined;if(_0x1575eb['_'][_0x26a5e1(0x18f)]===0x0){if(_0x1575eb[_0x26a5e1(0x176)])_0x47eb19=_0x26a5e1(0x176);else _0x1575eb[_0x26a5e1(0x180)]&&(_0x47eb19=_0x26a5e1(0x180));}else _0x47eb19=_0x1575eb['_'][0x0];!_0x47eb19&&(_0x47eb19=_0x26a5e1(0x180));switch(_0x47eb19){case _0x26a5e1(0x180):case'h':return await(0x0,help_1[_0x26a5e1(0x180)])(_0x1575eb);case _0x26a5e1(0x170):return await(0x0,build_1[_0x26a5e1(0x16f)])(_0x1575eb);case'publish':return await(0x0,build_1['store'])(_0x1575eb);case _0x26a5e1(0x184):return await(0x0,build_1[_0x26a5e1(0x184)])(_0x1575eb);case _0x26a5e1(0x176):{return await(0x0,version_1[_0x26a5e1(0x176)])();}default:throw new Error('\x22'+_0x47eb19+_0x26a5e1(0x171));}}}exports[_0x3c5ff7(0x187)]=Cli,Cli[_0x3c5ff7(0x18d)]=new Log_1['ConsoleLog'](_0x3c5ff7(0x17d));function _0x52fe(){const _0x58a1e9=['65408QXUIEo','run','node','126992vXGCaC','Cli','./utils/FetchUtils-1','./cmds/build','minimist','./cmds/help','versions','log','198728mEztWY','length','__esModule','./cmds/version','47394QnKaVm','18lDISWs','./utils/fetch','setFetch','defineProperty','start','build','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','3EdTzwh','../lib/utils/Log','2365120ytfjFA','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','version','143080lvtHal','decompressResponseBuffer','85DrMCDC','major','downloadFile','Current\x20Node.js\x20version\x20is\x20','cli','setDownloadFile','fetch','help','1552257dNshtX','fetchUtils'];_0x52fe=function(){return _0x58a1e9;};return _0x52fe();}
1
+ 'use strict';const _0x7cbe88=_0x3061;(function(_0x1490a2,_0x3446c6){const _0x1ea374=_0x3061,_0x27cec3=_0x1490a2();while(!![]){try{const _0x5d90a1=parseInt(_0x1ea374(0x1fc))/0x1*(-parseInt(_0x1ea374(0x1f8))/0x2)+-parseInt(_0x1ea374(0x1f1))/0x3+-parseInt(_0x1ea374(0x1f4))/0x4+-parseInt(_0x1ea374(0x206))/0x5*(-parseInt(_0x1ea374(0x207))/0x6)+-parseInt(_0x1ea374(0x1ef))/0x7+-parseInt(_0x1ea374(0x20a))/0x8+parseInt(_0x1ea374(0x1f0))/0x9;if(_0x5d90a1===_0x3446c6)break;else _0x27cec3['push'](_0x27cec3['shift']());}catch(_0x3e6f6f){_0x27cec3['push'](_0x27cec3['shift']());}}}(_0x5816,0x3ca8d));Object[_0x7cbe88(0x1f3)](exports,_0x7cbe88(0x1e8),{'value':!![]}),exports[_0x7cbe88(0x1f6)]=void 0x0;function _0x3061(_0x1e33ae,_0x1b1e8c){const _0x581621=_0x5816();return _0x3061=function(_0x3061d6,_0x35cd72){_0x3061d6=_0x3061d6-0x1e7;let _0x9cae40=_0x581621[_0x3061d6];return _0x9cae40;},_0x3061(_0x1e33ae,_0x1b1e8c);}const minimist=require(_0x7cbe88(0x1f2)),semver_1=require('semver'),Log_1=require(_0x7cbe88(0x200)),FetchUtils_1_1=require(_0x7cbe88(0x1fe)),help_1=require(_0x7cbe88(0x1fb)),build_1=require(_0x7cbe88(0x208)),version_1=require('./cmds/version'),fetch_1=require(_0x7cbe88(0x1e9));class Cli{async[_0x7cbe88(0x205)](_0x43ff07){const _0x5dd8a9=_0x7cbe88;if((0x0,semver_1[_0x5dd8a9(0x201)])(process['versions'][_0x5dd8a9(0x203)])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process[_0x5dd8a9(0x1f7)][_0x5dd8a9(0x203)]+'.'+_0x5dd8a9(0x1ee));FetchUtils_1_1[_0x5dd8a9(0x1f9)][_0x5dd8a9(0x1eb)](fetch_1[_0x5dd8a9(0x20b)]),FetchUtils_1_1[_0x5dd8a9(0x1f9)]['setDownloadFile'](fetch_1[_0x5dd8a9(0x202)]),FetchUtils_1_1[_0x5dd8a9(0x1f9)][_0x5dd8a9(0x204)](fetch_1[_0x5dd8a9(0x1fd)]);const _0x238082=minimist(_0x43ff07);let _0x4ce596=undefined;if(_0x238082['_']['length']===0x0){if(_0x238082[_0x5dd8a9(0x209)])_0x4ce596=_0x5dd8a9(0x209);else _0x238082[_0x5dd8a9(0x1ed)]&&(_0x4ce596='help');}else _0x4ce596=_0x238082['_'][0x0];!_0x4ce596&&(_0x4ce596=_0x5dd8a9(0x1ed));switch(_0x4ce596){case _0x5dd8a9(0x1ed):case'h':return await(0x0,help_1[_0x5dd8a9(0x1ed)])(_0x238082);case'build':return await(0x0,build_1[_0x5dd8a9(0x1ea)])(_0x238082);case _0x5dd8a9(0x1f5):return await(0x0,build_1[_0x5dd8a9(0x1ff)])(_0x238082);case _0x5dd8a9(0x205):return await(0x0,build_1[_0x5dd8a9(0x205)])(_0x238082);case _0x5dd8a9(0x209):{return await(0x0,version_1[_0x5dd8a9(0x209)])();}default:throw new Error('\x22'+_0x4ce596+_0x5dd8a9(0x1ec));}}}function _0x5816(){const _0x1bd1a7=['setDecompressResponseBuffer','run','26715RkWUgZ','162RpktSF','./cmds/build','version','3965888TPstEV','fetch','ConsoleLog','__esModule','./utils/fetch','start','setFetch','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','help','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','1066401GoIvME','11896794axUvXy','258285xVGvmP','minimist','defineProperty','1916572ZevvSm','publish','Cli','versions','2QNRcCg','fetchUtils','webspatial-builder','./cmds/help','4349BASesd','decompressResponseBuffer','./utils/FetchUtils-1','store','../lib/utils/Log','major','downloadFile','node'];_0x5816=function(){return _0x1bd1a7;};return _0x5816();}exports[_0x7cbe88(0x1f6)]=Cli,Cli['log']=new Log_1[(_0x7cbe88(0x1e7))](_0x7cbe88(0x1fa));
@@ -1 +1 @@
1
- 'use strict';const _0x57d16a=_0x5b36;(function(_0x5c4609,_0x4fd084){const _0x5a7ed5=_0x5b36,_0x300bea=_0x5c4609();while(!![]){try{const _0x5cb65f=parseInt(_0x5a7ed5(0xb1))/0x1*(-parseInt(_0x5a7ed5(0x92))/0x2)+-parseInt(_0x5a7ed5(0x93))/0x3*(parseInt(_0x5a7ed5(0x89))/0x4)+parseInt(_0x5a7ed5(0x98))/0x5*(parseInt(_0x5a7ed5(0xa0))/0x6)+parseInt(_0x5a7ed5(0xa4))/0x7*(-parseInt(_0x5a7ed5(0xa5))/0x8)+parseInt(_0x5a7ed5(0xad))/0x9*(parseInt(_0x5a7ed5(0x84))/0xa)+parseInt(_0x5a7ed5(0x8a))/0xb*(-parseInt(_0x5a7ed5(0x8c))/0xc)+parseInt(_0x5a7ed5(0x8d))/0xd*(parseInt(_0x5a7ed5(0x9a))/0xe);if(_0x5cb65f===_0x4fd084)break;else _0x300bea['push'](_0x300bea['shift']());}catch(_0x4a824d){_0x300bea['push'](_0x300bea['shift']());}}}(_0xf07d,0x9457e));Object[_0x57d16a(0x95)](exports,_0x57d16a(0x9d),{'value':!![]}),exports['start']=start,exports[_0x57d16a(0x8b)]=store,exports[_0x57d16a(0xaa)]=run;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require(_0x57d16a(0x9c)),check_1=require(_0x57d16a(0x90));async function start(_0x509d09,_0xd3e583=![]){const _0x5c7e2c=_0x57d16a;var _0x388bcd;(0x0,check_1[_0x5c7e2c(0xae)])(_0x509d09,_0xd3e583),resource_1[_0x5c7e2c(0xac)][_0x5c7e2c(0xa9)](_0x509d09[_0x5c7e2c(0xaf)]),console[_0x5c7e2c(0xa7)](_0x5c7e2c(0x86));let _0xd4e159=await pwa_1[_0x5c7e2c(0xab)][_0x5c7e2c(0x9f)](_0x509d09,_0xd3e583);!_0xd4e159[_0x5c7e2c(0xa3)]&&(await resource_1['ResourceManager']['moveProjectFrom']((_0x388bcd=_0x509d09[_0x5c7e2c(0x97)])!==null&&_0x388bcd!==void 0x0?_0x388bcd:'dist'),console[_0x5c7e2c(0xa7)](_0x5c7e2c(0x96)));const _0x66d660=await resource_1[_0x5c7e2c(0xac)][_0x5c7e2c(0x91)](_0xd4e159);return console[_0x5c7e2c(0xa7)](_0x5c7e2c(0x85)),await xcode_1[_0x5c7e2c(0x88)]['parseProject']({'icon':_0x66d660,'manifestInfo':_0xd4e159,'teamId':_0x509d09[_0x5c7e2c(0xa2)],'version':_0x509d09[_0x5c7e2c(0x87)],'buildType':_0x509d09[_0x5c7e2c(0x8e)],'export':_0x509d09[_0x5c7e2c(0x9e)]},_0xd3e583),console[_0x5c7e2c(0xa7)](_0x5c7e2c(0xa6)),_0xd4e159;}async function store(_0x368179){const _0xe7adc2=_0x57d16a;resource_1[_0xe7adc2(0xac)]['checkPlatformPath'](_0x368179['platform']),(0x0,check_1[_0xe7adc2(0xb0)])(_0x368179);let _0x4252cf={'name':'SpatialWebTest'};_0x368179[_0xe7adc2(0x8e)]=_0xe7adc2(0x99);if(_0x368179[_0xe7adc2(0x94)])_0x4252cf['name']=_0x368179[_0xe7adc2(0x94)];else{const _0xd12a29=await start(_0x368179);if(!_0xd12a29)return![];_0x4252cf[_0xe7adc2(0x94)]=_0xd12a29['json'][_0xe7adc2(0x94)];}return await xcode_1[_0xe7adc2(0x88)][_0xe7adc2(0x9b)](_0x368179,_0x4252cf),!![];}async function run(_0x1b397f){const _0x44a6a5=_0x57d16a;let _0x4c451e={'name':_0x44a6a5(0xa1),'id':_0x44a6a5(0x8f)};const _0x27ab31=await start(_0x1b397f,!![]);if(!_0x27ab31)return![];return _0x4c451e[_0x44a6a5(0x94)]=_0x27ab31[_0x44a6a5(0xa8)][_0x44a6a5(0x94)],_0x4c451e['id']=_0x27ab31['json']['id'],await xcode_1[_0x44a6a5(0x88)]['runWithSimulator'](_0x4c451e),!![];}function _0x5b36(_0x5cd92d,_0x4b7834){const _0xf07d92=_0xf07d();return _0x5b36=function(_0x5b362c,_0x4acf8f){_0x5b362c=_0x5b362c-0x84;let _0x4554ef=_0xf07d92[_0x5b362c];return _0x4554ef;},_0x5b36(_0x5cd92d,_0x4b7834);}function _0xf07d(){const _0x549a59=['checkBuildParams','platform','checkStoreParams','872429oIKIuP','10271990NrNqJh','generate\x20icon:\x20ok','-------------------\x20build\x20start\x20-------------------','version','XcodeManager','4lZhfoz','3096148iYzKfo','store','24VXiRaV','73918PaVspB','buildType','com.SpatialWeb.test','./check','generateIcon','2viVZip','2176917ytgGxX','name','defineProperty','move\x20web\x20project:\x20ok','project','675uMYlYe','app-store-connect','4522wvsZyr','upload','../xcode','__esModule','export','generator','5310kNCbcT','SpatialWebTest','teamId','fromNet','49zSeDhn','245296qGqMMk','-------------------\x20build\x20end\x20-------------------','log','json','checkPlatformPath','run','PWAGenerator','ResourceManager','9dPbpOA'];_0xf07d=function(){return _0x549a59;};return _0xf07d();}
1
+ 'use strict';const _0x3c7efe=_0x3e28;function _0x3e28(_0x46dd68,_0x2ee392){const _0x57fbe7=_0x57fb();return _0x3e28=function(_0x3e28c1,_0x1cc0f4){_0x3e28c1=_0x3e28c1-0x1c3;let _0x15c068=_0x57fbe7[_0x3e28c1];return _0x15c068;},_0x3e28(_0x46dd68,_0x2ee392);}(function(_0x1c7657,_0x2e2c78){const _0x28432c=_0x3e28,_0x322c60=_0x1c7657();while(!![]){try{const _0x368e31=parseInt(_0x28432c(0x1d0))/0x1*(parseInt(_0x28432c(0x1c8))/0x2)+-parseInt(_0x28432c(0x1e9))/0x3*(parseInt(_0x28432c(0x1cc))/0x4)+-parseInt(_0x28432c(0x1c5))/0x5+parseInt(_0x28432c(0x1e1))/0x6+parseInt(_0x28432c(0x1ce))/0x7*(-parseInt(_0x28432c(0x1dd))/0x8)+-parseInt(_0x28432c(0x1e6))/0x9+parseInt(_0x28432c(0x1df))/0xa;if(_0x368e31===_0x2e2c78)break;else _0x322c60['push'](_0x322c60['shift']());}catch(_0x5b010d){_0x322c60['push'](_0x322c60['shift']());}}}(_0x57fb,0x909ce));Object[_0x3c7efe(0x1cb)](exports,_0x3c7efe(0x1d9),{'value':!![]}),exports[_0x3c7efe(0x1cf)]=start,exports[_0x3c7efe(0x1da)]=store,exports[_0x3c7efe(0x1e5)]=run;const pwa_1=require('../pwa'),resource_1=require('../resource'),xcode_1=require(_0x3c7efe(0x1e2)),check_1=require('./check');function _0x57fb(){const _0x50e2b2=['platform','__esModule','store','name','generateIcon','725768YhXcsJ','-------------------\x20build\x20end\x20-------------------','17480820GpDESR','upload','4243020PiUeEO','../xcode','version','move\x20web\x20project:\x20ok','run','3606723sbrNeo','dist','buildType','588PaMPGe','log','checkBuildParams','project','checkStoreParams','SpatialWebTest','json','3031340rjoBCu','length','PWAGenerator','6122BDJWjJ','ResourceManager','generator','defineProperty','14372fSKpHj','XcodeManager','28EXnUbM','start','69UdMiXU','moveProjectFrom','app-store-connect','-------------------\x20build\x20start\x20-------------------','export','runWithSimulator','generate\x20icon:\x20ok','parseProject'];_0x57fb=function(){return _0x50e2b2;};return _0x57fb();}async function start(_0x2fb121,_0x402de9=![]){const _0x5279d2=_0x3c7efe;var _0x433702,_0x5bc8b8;(0x0,check_1[_0x5279d2(0x1eb)])(_0x2fb121,_0x402de9),resource_1[_0x5279d2(0x1c9)]['checkPlatformPath'](_0x2fb121[_0x5279d2(0x1d8)]),console[_0x5279d2(0x1ea)](_0x5279d2(0x1d3));let _0x20ad63=await pwa_1[_0x5279d2(0x1c7)][_0x5279d2(0x1ca)](_0x2fb121,_0x402de9);!_0x20ad63['fromNet']&&(await resource_1[_0x5279d2(0x1c9)][_0x5279d2(0x1d1)]((_0x433702=_0x2fb121[_0x5279d2(0x1ec)])!==null&&_0x433702!==void 0x0?_0x433702:_0x5279d2(0x1e7)),console[_0x5279d2(0x1ea)](_0x5279d2(0x1e4)));let _0x2b0878;return((_0x5bc8b8=_0x20ad63[_0x5279d2(0x1c4)]['icons'])===null||_0x5bc8b8===void 0x0?void 0x0:_0x5bc8b8[_0x5279d2(0x1c6)])&&_0x402de9&&(_0x2b0878=await resource_1[_0x5279d2(0x1c9)][_0x5279d2(0x1dc)](_0x20ad63)),console[_0x5279d2(0x1ea)](_0x5279d2(0x1d6)),await xcode_1['XcodeManager'][_0x5279d2(0x1d7)]({'icon':_0x2b0878,'manifestInfo':_0x20ad63,'teamId':_0x2fb121['teamId'],'version':_0x2fb121[_0x5279d2(0x1e3)],'buildType':_0x2fb121[_0x5279d2(0x1e8)],'export':_0x2fb121[_0x5279d2(0x1d4)]},_0x402de9),console[_0x5279d2(0x1ea)](_0x5279d2(0x1de)),_0x20ad63;}async function store(_0x50bbb7){const _0x36957c=_0x3c7efe;resource_1[_0x36957c(0x1c9)]['checkPlatformPath'](_0x50bbb7[_0x36957c(0x1d8)]),(0x0,check_1[_0x36957c(0x1ed)])(_0x50bbb7);let _0x3d78ba={'name':_0x36957c(0x1c3)};_0x50bbb7[_0x36957c(0x1e8)]=_0x36957c(0x1d2);if(_0x50bbb7[_0x36957c(0x1db)])_0x3d78ba['name']=_0x50bbb7[_0x36957c(0x1db)];else{const _0x4c0c17=await start(_0x50bbb7);if(!_0x4c0c17)return![];_0x3d78ba[_0x36957c(0x1db)]=_0x4c0c17[_0x36957c(0x1c4)]['name'];}return await xcode_1[_0x36957c(0x1cd)][_0x36957c(0x1e0)](_0x50bbb7,_0x3d78ba),!![];}async function run(_0x33cc40){const _0xa415f9=_0x3c7efe;let _0x420d4b={'name':_0xa415f9(0x1c3),'id':'com.SpatialWeb.test'};const _0x18774e=await start(_0x33cc40,!![]);if(!_0x18774e)return![];return _0x420d4b[_0xa415f9(0x1db)]=_0x18774e[_0xa415f9(0x1c4)][_0xa415f9(0x1db)],_0x420d4b['id']=_0x18774e[_0xa415f9(0x1c4)]['id'],await xcode_1[_0xa415f9(0x1cd)][_0xa415f9(0x1d5)](_0x420d4b),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x10494c=_0xfc25;(function(_0x4c8439,_0x18cab5){const _0x385a16=_0xfc25,_0xbfb1f4=_0x4c8439();while(!![]){try{const _0x5eb5fa=-parseInt(_0x385a16(0x131))/0x1+-parseInt(_0x385a16(0x129))/0x2+parseInt(_0x385a16(0x13f))/0x3+-parseInt(_0x385a16(0x134))/0x4+-parseInt(_0x385a16(0x12e))/0x5*(-parseInt(_0x385a16(0x139))/0x6)+parseInt(_0x385a16(0x13b))/0x7+parseInt(_0x385a16(0x136))/0x8;if(_0x5eb5fa===_0x18cab5)break;else _0xbfb1f4['push'](_0xbfb1f4['shift']());}catch(_0x503bbb){_0xbfb1f4['push'](_0xbfb1f4['shift']());}}}(_0x320d,0x64590));function _0x320d(){const _0x4a9a96=['20tqNqxj','validateURL','manifest','432636JepZpR','test','--u\x20and\x20--p\x20is\x20required','1054224Yclrzw','search','2518744LwTNgd','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','version','491394ILCkUI','version\x20is\x20required','5381712uvIXtC','../pwa/validate','base','hash','1326747kJVphG','split','--teamId\x20is\x20required','__esModule','manifest-url','1492576tRjDJf','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','pop','teamId','checkStoreParams'];_0x320d=function(){return _0x4a9a96;};return _0x320d();}Object['defineProperty'](exports,_0x10494c(0x127),{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports[_0x10494c(0x12d)]=checkStoreParams;function _0xfc25(_0x76d840,_0x30528a){const _0x320d2c=_0x320d();return _0xfc25=function(_0xfc2551,_0x500dd6){_0xfc2551=_0xfc2551-0x125;let _0x49198e=_0x320d2c[_0xfc2551];return _0x49198e;},_0xfc25(_0x76d840,_0x30528a);}const validate_1=require(_0x10494c(0x13c));function checkBuildParams(_0x18608d,_0x40df5e=![]){const _0x21ae1e=_0x10494c;if(_0x18608d[_0x21ae1e(0x130)]&&_0x18608d[_0x21ae1e(0x128)])throw new Error(_0x21ae1e(0x137));if(!_0x18608d[_0x21ae1e(0x12c)]&&!_0x40df5e)throw new Error(_0x21ae1e(0x126));if(_0x18608d['base']){if((0x0,validate_1[_0x21ae1e(0x12f)])(_0x18608d['base']))try{const _0x35b426=new URL(_0x18608d[_0x21ae1e(0x13d)]);if(_0x35b426[_0x21ae1e(0x135)]||_0x35b426[_0x21ae1e(0x13e)])throw new Error(_0x21ae1e(0x12a));}catch(_0x2c45ae){throw new Error(_0x21ae1e(0x12a));}else{const _0x44958f=/(\?.*|\.\w+|#.*)$/,_0x4c5663=_0x18608d[_0x21ae1e(0x13d)][_0x21ae1e(0x125)]('/')[_0x21ae1e(0x12b)]()||'';if(_0x44958f[_0x21ae1e(0x132)](_0x4c5663))throw new Error(_0x21ae1e(0x12a));}}}function checkStoreParams(_0x3b4708){const _0x849fb8=_0x10494c;if(!(_0x3b4708['u']&&_0x3b4708['p']))throw new Error(_0x849fb8(0x133));if(!_0x3b4708[_0x849fb8(0x138)])throw new Error(_0x849fb8(0x13a));}
1
+ 'use strict';const _0x277702=_0x5ba8;(function(_0x348ee7,_0x8d4f6d){const _0x384939=_0x5ba8,_0x1ad72b=_0x348ee7();while(!![]){try{const _0x580c63=parseInt(_0x384939(0x194))/0x1*(-parseInt(_0x384939(0x1a8))/0x2)+parseInt(_0x384939(0x18d))/0x3+parseInt(_0x384939(0x18a))/0x4*(-parseInt(_0x384939(0x193))/0x5)+-parseInt(_0x384939(0x1a5))/0x6*(-parseInt(_0x384939(0x19a))/0x7)+-parseInt(_0x384939(0x1a1))/0x8*(-parseInt(_0x384939(0x19d))/0x9)+-parseInt(_0x384939(0x198))/0xa*(parseInt(_0x384939(0x199))/0xb)+-parseInt(_0x384939(0x1a6))/0xc*(parseInt(_0x384939(0x18e))/0xd);if(_0x580c63===_0x8d4f6d)break;else _0x1ad72b['push'](_0x1ad72b['shift']());}catch(_0x542d36){_0x1ad72b['push'](_0x1ad72b['shift']());}}}(_0x3abd,0xbc133));Object[_0x277702(0x1a7)](exports,_0x277702(0x192),{'value':!![]}),exports[_0x277702(0x18c)]=checkBuildParams,exports[_0x277702(0x1a3)]=checkStoreParams;function _0x5ba8(_0x13ed6f,_0x3854bd){const _0x3abd4d=_0x3abd();return _0x5ba8=function(_0x5ba891,_0x23187e){_0x5ba891=_0x5ba891-0x189;let _0xf3481d=_0x3abd4d[_0x5ba891];return _0xf3481d;},_0x5ba8(_0x13ed6f,_0x3854bd);}const validate_1=require(_0x277702(0x19c));function checkBuildParams(_0x2ca04e,_0x11f005=![]){const _0x1c561c=_0x277702;if(_0x2ca04e[_0x1c561c(0x197)]&&_0x2ca04e[_0x1c561c(0x196)])throw new Error(_0x1c561c(0x190));if(!_0x2ca04e[_0x1c561c(0x19f)]&&!_0x11f005)throw new Error(_0x1c561c(0x19b));if(_0x2ca04e[_0x1c561c(0x1a2)]){if((0x0,validate_1[_0x1c561c(0x18b)])(_0x2ca04e[_0x1c561c(0x1a2)]))try{const _0x1ddb50=new URL(_0x2ca04e[_0x1c561c(0x1a2)]);if(_0x1ddb50[_0x1c561c(0x191)]||_0x1ddb50['hash'])throw new Error(_0x1c561c(0x1a4));}catch(_0x552c8d){throw new Error(_0x1c561c(0x1a4));}else{const _0xe153f7=/(\?.*|\.\w+|#.*)$/,_0x417305=_0x2ca04e[_0x1c561c(0x1a2)][_0x1c561c(0x18f)]('/')[_0x1c561c(0x195)]()||'';if(_0xe153f7[_0x1c561c(0x19e)](_0x417305))throw new Error(_0x1c561c(0x1a4));}}}function _0x3abd(){const _0x2d4014=['base','checkStoreParams','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','7122YhkazR','2897556DHUAjA','defineProperty','2cuuJBu','--u\x20and\x20--p\x20is\x20required','184jGbIfp','validateURL','checkBuildParams','1112199qScoxl','13cRgCfw','split','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','search','__esModule','2075pBTtrN','199402EIpbtx','pop','manifest-url','manifest','184580KRSDNi','319umNMsv','6727YffAPY','--teamId\x20is\x20required','../pwa/validate','2287368VWAGhi','test','teamId','version','8YSlwUc'];_0x3abd=function(){return _0x2d4014;};return _0x3abd();}function checkStoreParams(_0x28e4b0){const _0x4e07f3=_0x277702;if(!(_0x28e4b0['u']&&_0x28e4b0['p']))throw new Error(_0x4e07f3(0x189));if(!_0x28e4b0[_0x4e07f3(0x1a0)])throw new Error('version\x20is\x20required');}
@@ -1 +1 @@
1
- 'use strict';const _0x8a34d0=_0x1e96;(function(_0x3199cf,_0x215b23){const _0x476c5b=_0x1e96,_0x5e7d19=_0x3199cf();while(!![]){try{const _0x5e47c6=parseInt(_0x476c5b(0x17b))/0x1+parseInt(_0x476c5b(0x17f))/0x2*(parseInt(_0x476c5b(0x180))/0x3)+-parseInt(_0x476c5b(0x17d))/0x4+parseInt(_0x476c5b(0x187))/0x5*(parseInt(_0x476c5b(0x189))/0x6)+parseInt(_0x476c5b(0x179))/0x7+parseInt(_0x476c5b(0x16d))/0x8*(parseInt(_0x476c5b(0x18a))/0x9)+parseInt(_0x476c5b(0x18b))/0xa*(-parseInt(_0x476c5b(0x186))/0xb);if(_0x5e47c6===_0x215b23)break;else _0x5e7d19['push'](_0x5e7d19['shift']());}catch(_0x4a4f84){_0x5e7d19['push'](_0x5e7d19['shift']());}}}(_0x545e,0x8dd92));function _0x1e96(_0x379715,_0x57ca61){const _0x545e1c=_0x545e();return _0x1e96=function(_0x1e96f0,_0x42bfee){_0x1e96f0=_0x1e96f0-0x16b;let _0x12dee5=_0x545e1c[_0x1e96f0];return _0x12dee5;},_0x1e96(_0x379715,_0x57ca61);}Object[_0x8a34d0(0x178)](exports,_0x8a34d0(0x17a),{'value':!![]}),exports[_0x8a34d0(0x177)]=help;function _0x545e(){const _0x598fb5=['4153037albwKq','__esModule','156909DawPIF','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','56056pvFbyR','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','44SXqcBr','146631qeehOu','help\x20................\x20shows\x20this\x20menu','build','../utils/Log','get','publish','44oMFdbk','1800rrehhI','info','16356onuDsA','18999MUqJvR','5877890kgJUiq','main','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','dev','528FUYdcM','ConsoleLog','Usage:','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','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>','join','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','webspatial\x20[command]\x20<options>','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','help','defineProperty'];_0x545e=function(){return _0x598fb5;};return _0x545e();}const Log_1=require(_0x8a34d0(0x183)),HELP_MESSAGES=new Map([['main',[_0x8a34d0(0x175),'','',_0x8a34d0(0x181),_0x8a34d0(0x16b)+_0x8a34d0(0x174),_0x8a34d0(0x173),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect']['join']('\x0a')],[_0x8a34d0(0x182),[_0x8a34d0(0x16f),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x8a34d0(0x17e)]['join']('\x0a')],[_0x8a34d0(0x16c),[_0x8a34d0(0x16f),'','',_0x8a34d0(0x170),'','',_0x8a34d0(0x176)][_0x8a34d0(0x172)]('\x0a')],[_0x8a34d0(0x185),[_0x8a34d0(0x16f),'','',_0x8a34d0(0x171),'','',_0x8a34d0(0x17c),'','','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>'][_0x8a34d0(0x172)]('\x0a')]]);async function help(_0x28f6a1,_0x4395b6=new Log_1[(_0x8a34d0(0x16e))]('help')){const _0x40ffb2=_0x8a34d0,_0x897fa1=_0x28f6a1['_'][0x1],_0x3a2657=HELP_MESSAGES[_0x40ffb2(0x184)](_0x897fa1)||HELP_MESSAGES['get'](_0x40ffb2(0x18c));return _0x4395b6[_0x40ffb2(0x188)](_0x3a2657),!![];}
1
+ 'use strict';const _0x4f6a0e=_0xfe34;(function(_0x39718d,_0x500897){const _0x3b975f=_0xfe34,_0x3b18e0=_0x39718d();while(!![]){try{const _0x52654=parseInt(_0x3b975f(0x158))/0x1+-parseInt(_0x3b975f(0x155))/0x2+parseInt(_0x3b975f(0x15b))/0x3+-parseInt(_0x3b975f(0x160))/0x4*(-parseInt(_0x3b975f(0x154))/0x5)+-parseInt(_0x3b975f(0x15d))/0x6*(parseInt(_0x3b975f(0x159))/0x7)+-parseInt(_0x3b975f(0x157))/0x8+-parseInt(_0x3b975f(0x14d))/0x9*(-parseInt(_0x3b975f(0x153))/0xa);if(_0x52654===_0x500897)break;else _0x3b18e0['push'](_0x3b18e0['shift']());}catch(_0x131506){_0x3b18e0['push'](_0x3b18e0['shift']());}}}(_0x2950,0xd428c));function _0xfe34(_0x2fa323,_0x353a82){const _0x2950eb=_0x2950();return _0xfe34=function(_0xfe3479,_0x2d361b){_0xfe3479=_0xfe3479-0x149;let _0x4354d3=_0x2950eb[_0xfe3479];return _0x4354d3;},_0xfe34(_0x2fa323,_0x353a82);}function _0x2950(){const _0x150b4b=['Usage:','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','9HQMLRc','join','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','ConsoleLog','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','help','8928070DWWvam','618565xtEIkK','3283870zobGuK','main','2177664JaWPTL','1576249kOpTKL','3832619ZHoYzu','get','3271953IxJtFK','publish','18VnqetA','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','28PifCiA','defineProperty','help\x20................\x20shows\x20this\x20menu','__esModule','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20[command]\x20<options>','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','dev'];_0x2950=function(){return _0x150b4b;};return _0x2950();}Object[_0x4f6a0e(0x161)](exports,_0x4f6a0e(0x163),{'value':!![]}),exports[_0x4f6a0e(0x152)]=help;const Log_1=require('../utils/Log'),HELP_MESSAGES=new Map([[_0x4f6a0e(0x156),[_0x4f6a0e(0x165),'','',_0x4f6a0e(0x162),_0x4f6a0e(0x14f)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project',_0x4f6a0e(0x14b),_0x4f6a0e(0x166)][_0x4f6a0e(0x14e)]('\x0a')],['build',[_0x4f6a0e(0x149),'','',_0x4f6a0e(0x15e),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x4f6a0e(0x14e)]('\x0a')],[_0x4f6a0e(0x167),['Usage:','','',_0x4f6a0e(0x151),'','',_0x4f6a0e(0x14c)][_0x4f6a0e(0x14e)]('\x0a')],[_0x4f6a0e(0x15c),[_0x4f6a0e(0x149),'','',_0x4f6a0e(0x164),'','',_0x4f6a0e(0x14a),'','',_0x4f6a0e(0x15f)]['join']('\x0a')]]);async function help(_0x1cf9fb,_0x5bc1a5=new Log_1[(_0x4f6a0e(0x150))]('help')){const _0x2047ff=_0x4f6a0e,_0x37a594=_0x1cf9fb['_'][0x1],_0xe4aad=HELP_MESSAGES[_0x2047ff(0x15a)](_0x37a594)||HELP_MESSAGES[_0x2047ff(0x15a)](_0x2047ff(0x156));return _0x5bc1a5['info'](_0xe4aad),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x8ed57c=_0x2052;(function(_0x3afbd6,_0x3a07da){const _0x2a2710=_0x2052,_0x42c704=_0x3afbd6();while(!![]){try{const _0x121aac=parseInt(_0x2a2710(0x1be))/0x1+-parseInt(_0x2a2710(0x1c4))/0x2+parseInt(_0x2a2710(0x1cd))/0x3+-parseInt(_0x2a2710(0x1bc))/0x4*(parseInt(_0x2a2710(0x1bb))/0x5)+parseInt(_0x2a2710(0x1c2))/0x6+-parseInt(_0x2a2710(0x1c7))/0x7+parseInt(_0x2a2710(0x1c0))/0x8;if(_0x121aac===_0x3a07da)break;else _0x42c704['push'](_0x42c704['shift']());}catch(_0x3b87f1){_0x42c704['push'](_0x42c704['shift']());}}}(_0x4274,0x62225));function _0x2052(_0x453f3c,_0xfea1df){const _0x427411=_0x4274();return _0x2052=function(_0x2052f0,_0x28bd8b){_0x2052f0=_0x2052f0-0x1bb;let _0x2a8775=_0x427411[_0x2052f0];return _0x2a8775;},_0x2052(_0x453f3c,_0xfea1df);}function _0x4274(){const _0x281d0a=['path','3068114FBxorb','../../../package.json','parse','info','../utils/Log','defineProperty','1273257PLCPdu','7630iJoorL','1996mXjKBK','ConsoleLog','715124xMZluV','promises','5030136CFcCUr','__esModule','1443918UAxepW','readFile','814460TtOjOH','version'];_0x4274=function(){return _0x281d0a;};return _0x4274();}Object[_0x8ed57c(0x1cc)](exports,_0x8ed57c(0x1c1),{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require(_0x8ed57c(0x1c6)),Log_1=require(_0x8ed57c(0x1cb));async function version(_0x378860=new Log_1[(_0x8ed57c(0x1bd))](_0x8ed57c(0x1c5))){const _0x24f1d6=_0x8ed57c,_0x3cb7c0=path['join'](__dirname,_0x24f1d6(0x1c8)),_0x2f0259=await(await fs[_0x24f1d6(0x1bf)][_0x24f1d6(0x1c3)](_0x3cb7c0))['toString'](),_0x5b4323=JSON[_0x24f1d6(0x1c9)](_0x2f0259);return _0x378860[_0x24f1d6(0x1ca)](_0x5b4323[_0x24f1d6(0x1c5)]),!![];}
1
+ 'use strict';function _0x1eec(){const _0x2ee2ed=['3608262QzVqgL','readFile','defineProperty','__esModule','3cQwxzU','9aOYHnI','11208vxHjBY','toString','info','35JFGGMc','434EIsCpL','5269KQsOBE','parse','1439iiPgyv','version','34908GHvtZz','417516otZddo','promises','2796824FgnkAI','763240bsDcHb'];_0x1eec=function(){return _0x2ee2ed;};return _0x1eec();}const _0x4fd006=_0x31a6;(function(_0x1058c0,_0x263854){const _0x2217e9=_0x31a6,_0x2b3486=_0x1058c0();while(!![]){try{const _0x470b4c=-parseInt(_0x2217e9(0x7e))/0x1*(-parseInt(_0x2217e9(0x8f))/0x2)+-parseInt(_0x2217e9(0x89))/0x3*(parseInt(_0x2217e9(0x80))/0x4)+-parseInt(_0x2217e9(0x8e))/0x5*(-parseInt(_0x2217e9(0x81))/0x6)+-parseInt(_0x2217e9(0x85))/0x7+-parseInt(_0x2217e9(0x83))/0x8*(parseInt(_0x2217e9(0x8a))/0x9)+-parseInt(_0x2217e9(0x84))/0xa+parseInt(_0x2217e9(0x90))/0xb*(parseInt(_0x2217e9(0x8b))/0xc);if(_0x470b4c===_0x263854)break;else _0x2b3486['push'](_0x2b3486['shift']());}catch(_0xb258e7){_0x2b3486['push'](_0x2b3486['shift']());}}}(_0x1eec,0x486b7));function _0x31a6(_0x27514f,_0x2e5e00){const _0x1eec61=_0x1eec();return _0x31a6=function(_0x31a6da,_0x423bec){_0x31a6da=_0x31a6da-0x7e;let _0x47ab46=_0x1eec61[_0x31a6da];return _0x47ab46;},_0x31a6(_0x27514f,_0x2e5e00);}Object[_0x4fd006(0x87)](exports,_0x4fd006(0x88),{'value':!![]}),exports['version']=version;const fs=require('fs'),path=require('path'),Log_1=require('../utils/Log');async function version(_0x108212=new Log_1['ConsoleLog']('version')){const _0x40c14b=_0x4fd006,_0x3aa96e=path['join'](__dirname,'../../../package.json'),_0x484de9=await(await fs[_0x40c14b(0x82)][_0x40c14b(0x86)](_0x3aa96e))[_0x40c14b(0x8c)](),_0x476c88=JSON[_0x40c14b(0x91)](_0x484de9);return _0x108212[_0x40c14b(0x8d)](_0x476c88[_0x40c14b(0x7f)]),!![];}
@@ -1,5 +1,5 @@
1
1
  export declare function configId(manifestJson: Record<string, any>, bundleId: string): void;
2
- export declare function configStartUrl(manifestJson: Record<string, any>, base: string): void;
2
+ export declare function configStartUrl(manifestJson: Record<string, any>, base: string): any;
3
3
  export declare function configScope(manifestJson: Record<string, any>): void;
4
4
  export declare function configDisplay(manifestJson: Record<string, any>): void;
5
5
  export declare function configMainScene(manifestJson: Record<string, any>): void;
@@ -1 +1 @@
1
- 'use strict';const _0x56d72c=_0xaf83;(function(_0x33cd2f,_0x5b74ca){const _0x13ab44=_0xaf83,_0x44186d=_0x33cd2f();while(!![]){try{const _0x33c778=-parseInt(_0x13ab44(0x1ce))/0x1*(-parseInt(_0x13ab44(0x1c0))/0x2)+-parseInt(_0x13ab44(0x1c3))/0x3+-parseInt(_0x13ab44(0x1b9))/0x4+parseInt(_0x13ab44(0x1aa))/0x5+parseInt(_0x13ab44(0x1a5))/0x6+-parseInt(_0x13ab44(0x1e1))/0x7+-parseInt(_0x13ab44(0x1c2))/0x8;if(_0x33c778===_0x5b74ca)break;else _0x44186d['push'](_0x44186d['shift']());}catch(_0x4d4fcc){_0x44186d['push'](_0x44186d['shift']());}}}(_0x596a,0x932ae));Object[_0x56d72c(0x1dc)](exports,'__esModule',{'value':!![]}),exports['safelist']=void 0x0,exports[_0x56d72c(0x1bb)]=configId,exports[_0x56d72c(0x1a8)]=configStartUrl,exports[_0x56d72c(0x1d6)]=configScope,exports[_0x56d72c(0x1d0)]=configDisplay,exports[_0x56d72c(0x1e7)]=configMainScene,exports[_0x56d72c(0x1c1)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require(_0x56d72c(0x1e4));function configId(_0x3db109,_0x541471){const _0x181aea=_0x56d72c;if(_0x541471)_0x3db109['id']=_0x541471;else{const _0x41fb4b=new URL(_0x3db109['id']);let _0x57c445=_0x41fb4b[_0x181aea(0x1a9)]['split']('.')['reverse']();_0x3db109['id']=_0x57c445[_0x181aea(0x1e2)]('.');}}function configStartUrl(_0x4ea612,_0xcc1f){const _0x378481=_0x56d72c,_0x158173=(0x0,validate_1[_0x378481(0x1ab)])(_0x4ea612[_0x378481(0x1e6)]),_0x2e026e=(0x0,validate_1[_0x378481(0x1ab)])(_0xcc1f);let _0x27f2b5=_0x4ea612[_0x378481(0x1e6)];if(!_0x158173&&!_0x2e026e){const _0x48f9be=(0x0,path_1[_0x378481(0x1d7)])(_0x378481(0x1b3)),_0x14a648=(0x0,path_1[_0x378481(0x1d7)])(_0x48f9be,_0xcc1f,_0x27f2b5),_0x17ae1e=(0x0,path_1[_0x378481(0x1c6)])(_0x14a648),_0x2ff4c7=(0x0,path_1[_0x378481(0x1e2)])(_0x48f9be,_0x17ae1e);_0x27f2b5=(0x0,path_1['relative'])(process[_0x378481(0x1b6)](),_0x2ff4c7)[_0x378481(0x1ae)](/^(\.\.\/)+/,'./')[_0x378481(0x1ae)](/\/$/,'');}else{if(_0x158173&&!_0x2e026e){const _0x355346=new URL(_0x27f2b5),_0x4b922b=_0x355346['pathname']+_0x355346[_0x378481(0x1ca)]+_0x355346[_0x378481(0x1da)];let _0x2911ca=new URL(_0xcc1f,_0x355346[_0x378481(0x1af)]);_0x27f2b5=new URL(_0x4b922b,_0x2911ca)[_0x378481(0x1a4)];}else{if(!_0x158173&&_0x2e026e){if(_0x27f2b5[_0x378481(0x1b1)]('/')){const _0x12503b=new URL(_0xcc1f);_0x27f2b5=_0x12503b['origin']+(0x0,path_1[_0x378481(0x1e2)])(_0x12503b[_0x378481(0x1de)],_0x27f2b5);}else _0x27f2b5=new URL(_0x27f2b5,_0xcc1f)[_0x378481(0x1a4)];}else{if(_0x158173&&_0x2e026e){const _0x1b7dbd=new URL(_0x27f2b5),_0x14e838=new URL(_0xcc1f),_0x2816ed=_0x1b7dbd[_0x378481(0x1de)]+_0x1b7dbd[_0x378481(0x1ca)]+_0x1b7dbd['hash'];_0x27f2b5=new URL(_0x2816ed,_0x14e838[_0x378481(0x1af)]+_0x14e838[_0x378481(0x1de)])['href'];}}}}_0x4ea612[_0x378481(0x1e6)]=_0x27f2b5;}function configScope(_0x5de0af){const _0x2a70d6=_0x56d72c;var _0x266866;let _0x5771e6=(_0x266866=_0x5de0af[_0x2a70d6(0x1e0)])!==null&&_0x266866!==void 0x0?_0x266866:'';const _0xa0890d=(0x0,validate_1[_0x2a70d6(0x1ab)])(_0x5de0af[_0x2a70d6(0x1e6)]),_0x1b3197=(0x0,validate_1[_0x2a70d6(0x1ab)])(_0x5771e6);if(_0xa0890d&&_0x1b3197){const _0x491694=new URL(_0x5771e6),_0x5075c1=new URL(_0x5de0af[_0x2a70d6(0x1e6)]);(_0x491694[_0x2a70d6(0x1a9)]!==_0x5075c1[_0x2a70d6(0x1a9)]||_0x5de0af['start_url'][_0x2a70d6(0x1dd)](_0x5771e6)!==0x0)&&(_0x5771e6=(0x0,utils_1[_0x2a70d6(0x1d2)])(_0x5de0af[_0x2a70d6(0x1e6)]));}else{if(_0xa0890d&&!_0x1b3197)_0x5771e6=new URL(_0x5771e6,_0x5de0af[_0x2a70d6(0x1e6)])[_0x2a70d6(0x1a4)];else{if(!_0xa0890d&&_0x1b3197){const _0x3d01f8=_0x5de0af['start_url'][_0x2a70d6(0x1ae)](/\/[^\/]+$/,'');_0x5771e6=(0x0,path_1['normalize'])(_0x3d01f8+'/');}else _0x5771e6=(0x0,path_1[_0x2a70d6(0x1e2)])((0x0,utils_1['parseRouter'])(_0x5de0af[_0x2a70d6(0x1e6)]),_0x5771e6);}}_0x5de0af[_0x2a70d6(0x1e0)]=_0x5771e6;}function _0x596a(){const _0x4a709d=['object','wtai','resizability','3396NHkWwU','configDeeplink','2024680LZTEpW','1894905mhtvMO','default_size','standalone','normalize','sms','nntp','mailto','search','splice','string','display_override','381HlWTCt','webcal','configDisplay','automatic','parseRouter','length','matrix','geo','configScope','resolve','height','minimal-ui','hash','sftp','defineProperty','indexOf','pathname','protocol_handlers','scope','288547JdOapZ','join','sip','path','width','start_url','configMainScene','defaultSize','href','2009436xHBNXh','display','smsto','configStartUrl','host','4504890gmPPXk','validateURL','bitcoin','tel','replace','origin','openpgp4fpr','startsWith','protocol','./static-web','xr_main_scene','urn','cwd','includes','contentSize','1416332DfUQSh','irc','configId','url'];_0x596a=function(){return _0x4a709d;};return _0x596a();}function _0xaf83(_0x18e526,_0x4711f0){const _0x596a8b=_0x596a();return _0xaf83=function(_0xaf8306,_0x1b0bc6){_0xaf8306=_0xaf8306-0x1a3;let _0x442952=_0x596a8b[_0xaf8306];return _0x442952;},_0xaf83(_0x18e526,_0x4711f0);}function configDisplay(_0x5a94b4){const _0x3db2b1=_0x56d72c;let _0x1dc9b7=_0x5a94b4[_0x3db2b1(0x1a6)];_0x1dc9b7!==_0x3db2b1(0x1d9)&&_0x1dc9b7!==_0x3db2b1(0x1c5)&&(_0x1dc9b7=_0x3db2b1(0x1c5));if(_0x5a94b4[_0x3db2b1(0x1cd)]&&_0x5a94b4['display_override'][_0x3db2b1(0x1d3)]>0x0){const _0x23302a=_0x5a94b4[_0x3db2b1(0x1cd)][_0x3db2b1(0x1dd)](_0x3db2b1(0x1d9)),_0x430b21=_0x5a94b4[_0x3db2b1(0x1cd)][_0x3db2b1(0x1dd)](_0x3db2b1(0x1c5));if(_0x23302a>=0x0&&_0x430b21>=0x0)_0x1dc9b7=_0x430b21>_0x23302a?_0x3db2b1(0x1c5):'minimal-ui';else{if(_0x23302a>=0x0)_0x1dc9b7=_0x3db2b1(0x1d9);else _0x430b21>=0x0&&(_0x1dc9b7='standalone');}}}function configMainScene(_0x216775){const _0x3166c8=_0x56d72c;var _0x450cc9,_0x1e2ae2;const _0x48de1e=['automatic','contentMinSize',_0x3166c8(0x1b8)];let _0x53a65f={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x3166c8(0x1d1)};if(_0x216775[_0x3166c8(0x1b4)]){if(typeof _0x216775[_0x3166c8(0x1b4)]===_0x3166c8(0x1bd))_0x53a65f['defaultSize'][_0x3166c8(0x1e5)]=Number((_0x450cc9=_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1c4)])===null||_0x450cc9===void 0x0?void 0x0:_0x450cc9[_0x3166c8(0x1e5)])>0x0?_0x216775[_0x3166c8(0x1b4)]['default_size']['width']:0x500,_0x53a65f[_0x3166c8(0x1a3)][_0x3166c8(0x1d8)]=Number((_0x1e2ae2=_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1c4)])===null||_0x1e2ae2===void 0x0?void 0x0:_0x1e2ae2[_0x3166c8(0x1d8)])>0x0?_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1c4)][_0x3166c8(0x1d8)]:0x500,_0x53a65f[_0x3166c8(0x1bf)]=_0x48de1e[_0x3166c8(0x1b7)](_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1bf)])?_0x216775[_0x3166c8(0x1b4)][_0x3166c8(0x1bf)]:_0x3166c8(0x1d1),_0x216775['mainScene']=_0x53a65f;else typeof _0x216775[_0x3166c8(0x1b4)]===_0x3166c8(0x1cc)&&(_0x216775['mainScene']='dynamic');}}function configDeeplink(_0x55491a){const _0x107381=_0x56d72c;if(_0x55491a['protocol_handlers']&&_0x55491a[_0x107381(0x1df)][_0x107381(0x1d3)]>0x0)for(var _0x31ab17=0x0;_0x31ab17<_0x55491a[_0x107381(0x1df)][_0x107381(0x1d3)];_0x31ab17++){const _0x5ec7dc=_0x55491a[_0x107381(0x1df)][_0x31ab17];if(_0x5ec7dc['protocol']&&(exports['safelist'][_0x107381(0x1b7)](_0x5ec7dc[_0x107381(0x1b2)])||_0x5ec7dc[_0x107381(0x1b2)][_0x107381(0x1dd)]('web+')===0x0)){if(!((0x0,validate_1['validateURL'])(_0x5ec7dc[_0x107381(0x1bc)])&&_0x5ec7dc['url'][_0x107381(0x1dd)](_0x55491a[_0x107381(0x1e0)])<0x0))continue;}_0x55491a[_0x107381(0x1df)][_0x107381(0x1cb)](_0x31ab17,0x1),_0x31ab17--;}}exports['safelist']=[_0x56d72c(0x1ac),'ftp','ftps',_0x56d72c(0x1d5),'im',_0x56d72c(0x1ba),'ircs','magnet',_0x56d72c(0x1c9),_0x56d72c(0x1d4),'mms','news',_0x56d72c(0x1c8),_0x56d72c(0x1b0),_0x56d72c(0x1db),_0x56d72c(0x1e3),_0x56d72c(0x1c7),_0x56d72c(0x1a7),'ssh',_0x56d72c(0x1ad),_0x56d72c(0x1b5),_0x56d72c(0x1cf),_0x56d72c(0x1be),'xmpp'];
1
+ 'use strict';const _0x148e5c=_0x3413;(function(_0x1ae0aa,_0x121e48){const _0x77861a=_0x3413,_0x31de36=_0x1ae0aa();while(!![]){try{const _0x8d65f9=parseInt(_0x77861a(0xb4))/0x1+parseInt(_0x77861a(0x89))/0x2*(-parseInt(_0x77861a(0xab))/0x3)+parseInt(_0x77861a(0x67))/0x4*(parseInt(_0x77861a(0x9f))/0x5)+-parseInt(_0x77861a(0x6e))/0x6+parseInt(_0x77861a(0xb1))/0x7*(parseInt(_0x77861a(0x87))/0x8)+-parseInt(_0x77861a(0xb0))/0x9*(-parseInt(_0x77861a(0x81))/0xa)+parseInt(_0x77861a(0x97))/0xb;if(_0x8d65f9===_0x121e48)break;else _0x31de36['push'](_0x31de36['shift']());}catch(_0x523db1){_0x31de36['push'](_0x31de36['shift']());}}}(_0x32fe,0x9edc1));Object[_0x148e5c(0x85)](exports,_0x148e5c(0x9e),{'value':!![]}),exports[_0x148e5c(0xb6)]=void 0x0,exports[_0x148e5c(0xaf)]=configId,exports[_0x148e5c(0x82)]=configStartUrl,exports[_0x148e5c(0x71)]=configScope,exports[_0x148e5c(0x8b)]=configDisplay,exports[_0x148e5c(0xb2)]=configMainScene,exports[_0x148e5c(0x6a)]=configDeeplink;function _0x32fe(){const _0x5093a9=['mms','__esModule','5YOmscx','standalone','join','protocol','width','geo','mainScene','defaultSize','mailto','openpgp4fpr','resizability','urn','127758iGlSql','webcal','validateURL','default_size','configId','6714SZEEVH','63TCeaLW','configMainScene','search','381003VYjnUb','ftp','safelist','2664564ANibed','origin','normalize','configDeeplink','sip','pathname','resolve','7237170gLZZqO','relative','split','configScope','ftps','irc','web+','scope','href','ssh','news','xmpp','parseRouter','url','display_override','display','hash','host','xr_main_scene','3790eAGApE','configStartUrl','smsto','includes','defineProperty','matrix','123976GfleiB','string','54MFHGau','sms','configDisplay','reverse','minimal-ui','nntp','protocol_handlers','tel','length','contentSize','indexOf','height','start_url','wtai','16910905TssROY','./static-web','automatic','replace','splice','contentMinSize'];_0x32fe=function(){return _0x5093a9;};return _0x32fe();}const utils_1=require('../utils/utils'),validate_1=require('./validate'),path_1=require('path');function configId(_0x1ceee8,_0x4a1537){const _0x3f9a42=_0x148e5c;if(_0x4a1537)_0x1ceee8['id']=_0x4a1537;else{const _0x3bfc68=new URL(_0x1ceee8['id']);let _0x21fb80=_0x3bfc68[_0x3f9a42(0x7f)][_0x3f9a42(0x70)]('.')[_0x3f9a42(0x8c)]();_0x1ceee8['id']=_0x21fb80[_0x3f9a42(0xa1)]('.');}}function _0x3413(_0x222d45,_0x3f5684){const _0x32fe83=_0x32fe();return _0x3413=function(_0x341389,_0xf29759){_0x341389=_0x341389-0x67;let _0x312061=_0x32fe83[_0x341389];return _0x312061;},_0x3413(_0x222d45,_0x3f5684);}function configStartUrl(_0x2e14c5,_0x1c01e2){const _0x5046f9=_0x148e5c,_0x19b2a5=(0x0,validate_1[_0x5046f9(0xad)])(_0x2e14c5['start_url']),_0x1a1034=(0x0,validate_1['validateURL'])(_0x1c01e2);let _0x3d5257=_0x2e14c5[_0x5046f9(0x95)];if(!_0x19b2a5&&!_0x1a1034){const _0x3f099b=(0x0,path_1[_0x5046f9(0x6d)])(_0x5046f9(0x98)),_0x1101a5=(0x0,path_1[_0x5046f9(0x6d)])(_0x3f099b,_0x1c01e2,_0x3d5257),_0x209485=(0x0,path_1['normalize'])(_0x1101a5),_0x25d44d=(0x0,path_1['join'])(_0x3f099b,_0x209485);_0x3d5257=(0x0,path_1[_0x5046f9(0x6f)])(process['cwd'](),_0x25d44d)[_0x5046f9(0x9a)](/^(\.\.\/)+/,'./')[_0x5046f9(0x9a)](/\/$/,'');}else{if(_0x19b2a5&&!_0x1a1034){const _0x322bbf=new URL(_0x3d5257),_0x534f16=_0x322bbf['pathname']+_0x322bbf[_0x5046f9(0xb3)]+_0x322bbf[_0x5046f9(0x7e)];let _0x4c5999=new URL(_0x1c01e2,_0x322bbf[_0x5046f9(0x68)]);_0x3d5257=new URL(_0x534f16,_0x4c5999)[_0x5046f9(0x76)];}else{if(!_0x19b2a5&&_0x1a1034){if(_0x3d5257['startsWith']('/')){const _0x342f91=new URL(_0x1c01e2);_0x3d5257=_0x342f91[_0x5046f9(0x68)]+(0x0,path_1[_0x5046f9(0xa1)])(_0x342f91[_0x5046f9(0x6c)],_0x3d5257);}else _0x3d5257=new URL(_0x3d5257,_0x1c01e2)[_0x5046f9(0x76)];}else{if(_0x19b2a5&&_0x1a1034){const _0x396ea4=new URL(_0x3d5257),_0x256331=new URL(_0x1c01e2),_0x2e7c15=_0x396ea4[_0x5046f9(0x6c)]+_0x396ea4[_0x5046f9(0xb3)]+_0x396ea4['hash'];_0x3d5257=new URL(_0x2e7c15,_0x256331[_0x5046f9(0x68)]+_0x256331[_0x5046f9(0x6c)])['href'];}}}}return _0x3d5257;}function configScope(_0x9e1f14){const _0x37ef97=_0x148e5c;var _0x3edfb6;let _0xc4ec49=(_0x3edfb6=_0x9e1f14[_0x37ef97(0x75)])!==null&&_0x3edfb6!==void 0x0?_0x3edfb6:'';const _0x49890f=(0x0,validate_1[_0x37ef97(0xad)])(_0x9e1f14['start_url']),_0x57a477=(0x0,validate_1[_0x37ef97(0xad)])(_0xc4ec49);if(_0x49890f&&_0x57a477){const _0x192120=new URL(_0xc4ec49),_0x399057=new URL(_0x9e1f14[_0x37ef97(0x95)]);(_0x192120['host']!==_0x399057['host']||_0x9e1f14[_0x37ef97(0x95)]['indexOf'](_0xc4ec49)!==0x0)&&(_0xc4ec49=(0x0,utils_1['parseRouter'])(_0x9e1f14[_0x37ef97(0x95)]));}else{if(_0x49890f&&!_0x57a477)_0xc4ec49=new URL(_0xc4ec49,_0x9e1f14[_0x37ef97(0x95)])['href'];else{if(!_0x49890f&&_0x57a477){const _0x1688cc=_0x9e1f14['start_url'][_0x37ef97(0x9a)](/\/[^\/]+$/,'');_0xc4ec49=(0x0,path_1[_0x37ef97(0x69)])(_0x1688cc+'/');}else _0xc4ec49=(0x0,path_1[_0x37ef97(0xa1)])((0x0,utils_1[_0x37ef97(0x7a)])(_0x9e1f14['start_url']),_0xc4ec49);}}_0x9e1f14[_0x37ef97(0x75)]=_0xc4ec49;}function configDisplay(_0x3d5cc7){const _0x2c8979=_0x148e5c;let _0x567d0b=_0x3d5cc7[_0x2c8979(0x7d)];_0x567d0b!=='minimal-ui'&&_0x567d0b!==_0x2c8979(0xa0)&&(_0x567d0b=_0x2c8979(0xa0));if(_0x3d5cc7['display_override']&&_0x3d5cc7['display_override'][_0x2c8979(0x91)]>0x0){const _0x2aefa1=_0x3d5cc7['display_override']['indexOf'](_0x2c8979(0x8d)),_0x2e7b20=_0x3d5cc7[_0x2c8979(0x7c)][_0x2c8979(0x93)](_0x2c8979(0xa0));if(_0x2aefa1>=0x0&&_0x2e7b20>=0x0)_0x567d0b=_0x2e7b20>_0x2aefa1?_0x2c8979(0xa0):_0x2c8979(0x8d);else{if(_0x2aefa1>=0x0)_0x567d0b=_0x2c8979(0x8d);else _0x2e7b20>=0x0&&(_0x567d0b=_0x2c8979(0xa0));}}_0x3d5cc7[_0x2c8979(0x7d)]=_0x567d0b;}function configMainScene(_0x2ff3f8){const _0x458711=_0x148e5c;var _0x35b98,_0xc18f7f;const _0x519b97=[_0x458711(0x99),_0x458711(0x9c),_0x458711(0x92)];let _0x7286ef={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x458711(0x99)};if(_0x2ff3f8[_0x458711(0x80)]){if(typeof _0x2ff3f8['xr_main_scene']==='object')_0x7286ef['defaultSize'][_0x458711(0xa3)]=Number((_0x35b98=_0x2ff3f8['xr_main_scene'][_0x458711(0xae)])===null||_0x35b98===void 0x0?void 0x0:_0x35b98[_0x458711(0xa3)])>0x0?_0x2ff3f8[_0x458711(0x80)][_0x458711(0xae)]['width']:0x500,_0x7286ef[_0x458711(0xa6)]['height']=Number((_0xc18f7f=_0x2ff3f8[_0x458711(0x80)][_0x458711(0xae)])===null||_0xc18f7f===void 0x0?void 0x0:_0xc18f7f[_0x458711(0x94)])>0x0?_0x2ff3f8[_0x458711(0x80)][_0x458711(0xae)][_0x458711(0x94)]:0x500,_0x7286ef[_0x458711(0xa9)]=_0x519b97[_0x458711(0x84)](_0x2ff3f8[_0x458711(0x80)][_0x458711(0xa9)])?_0x2ff3f8[_0x458711(0x80)]['resizability']:_0x458711(0x99),_0x2ff3f8['mainScene']=_0x7286ef;else typeof _0x2ff3f8[_0x458711(0x80)]===_0x458711(0x88)&&(_0x2ff3f8[_0x458711(0xa5)]='dynamic');}}function configDeeplink(_0x213309){const _0x76cbf1=_0x148e5c;if(_0x213309['protocol_handlers']&&_0x213309[_0x76cbf1(0x8f)][_0x76cbf1(0x91)]>0x0)for(var _0x31e095=0x0;_0x31e095<_0x213309[_0x76cbf1(0x8f)][_0x76cbf1(0x91)];_0x31e095++){const _0x291d01=_0x213309['protocol_handlers'][_0x31e095];if(_0x291d01[_0x76cbf1(0xa2)]&&(exports[_0x76cbf1(0xb6)][_0x76cbf1(0x84)](_0x291d01[_0x76cbf1(0xa2)])||_0x291d01[_0x76cbf1(0xa2)][_0x76cbf1(0x93)](_0x76cbf1(0x74))===0x0)){if(!((0x0,validate_1[_0x76cbf1(0xad)])(_0x291d01['url'])&&_0x291d01[_0x76cbf1(0x7b)][_0x76cbf1(0x93)](_0x213309[_0x76cbf1(0x75)])<0x0))continue;}_0x213309[_0x76cbf1(0x8f)][_0x76cbf1(0x9b)](_0x31e095,0x1),_0x31e095--;}}exports[_0x148e5c(0xb6)]=['bitcoin',_0x148e5c(0xb5),_0x148e5c(0x72),_0x148e5c(0xa4),'im',_0x148e5c(0x73),'ircs','magnet',_0x148e5c(0xa7),_0x148e5c(0x86),_0x148e5c(0x9d),_0x148e5c(0x78),_0x148e5c(0x8e),_0x148e5c(0xa8),'sftp',_0x148e5c(0x6b),_0x148e5c(0x8a),_0x148e5c(0x83),_0x148e5c(0x77),_0x148e5c(0x90),_0x148e5c(0xaa),_0x148e5c(0xac),_0x148e5c(0x96),_0x148e5c(0x79)];
@@ -1 +1 @@
1
- 'use strict';const _0x21a809=_0x19a3;(function(_0x3ba82f,_0x281592){const _0x2b7d00=_0x19a3,_0xb84382=_0x3ba82f();while(!![]){try{const _0xbcf2b2=-parseInt(_0x2b7d00(0x6d))/0x1*(parseInt(_0x2b7d00(0x8b))/0x2)+-parseInt(_0x2b7d00(0x80))/0x3*(-parseInt(_0x2b7d00(0x7a))/0x4)+-parseInt(_0x2b7d00(0x79))/0x5+-parseInt(_0x2b7d00(0x73))/0x6*(parseInt(_0x2b7d00(0x6a))/0x7)+-parseInt(_0x2b7d00(0x84))/0x8*(-parseInt(_0x2b7d00(0x74))/0x9)+parseInt(_0x2b7d00(0x7e))/0xa*(-parseInt(_0x2b7d00(0x95))/0xb)+-parseInt(_0x2b7d00(0x72))/0xc*(-parseInt(_0x2b7d00(0x7b))/0xd);if(_0xbcf2b2===_0x281592)break;else _0xb84382['push'](_0xb84382['shift']());}catch(_0xcc05ec){_0xb84382['push'](_0xb84382['shift']());}}}(_0x1732,0xa7b41));Object[_0x21a809(0x88)](exports,'__esModule',{'value':!![]}),exports[_0x21a809(0x83)]=void 0x0;const path_1=require(_0x21a809(0x68)),config_1=require('./config'),load_1=require(_0x21a809(0x78)),validate_1=require(_0x21a809(0x82)),fs=require('fs');class PWAGenerator{static async[_0x21a809(0x86)](_0x438b3d,_0x4b0954=![]){const _0x390da0=_0x21a809;let _0x5314b5=await this[_0x390da0(0x8e)](_0x438b3d,_0x4b0954);return console[_0x390da0(0x76)]('check\x20manifest.json:\x20ok'),await this['config'](_0x5314b5,_0x438b3d,_0x4b0954),console[_0x390da0(0x76)]('reset\x20manifest.json:\x20ok'),_0x5314b5;}static async['validate'](_0x40b6ea,_0x5428c7=![]){const _0xdc6186=_0x21a809;var _0x59f595;let _0x29967f={},_0x106edb='',_0x17e306=![],_0x5b3269=![];if(_0x40b6ea[_0xdc6186(0x6c)])_0x106edb=_0x40b6ea[_0xdc6186(0x6c)],_0x17e306=!![],_0x29967f=await(0x0,load_1[_0xdc6186(0x87)])(_0x40b6ea[_0xdc6186(0x6c)]);else{_0x40b6ea[_0xdc6186(0x6e)]?_0x106edb=(0x0,path_1[_0xdc6186(0x91)])(process[_0xdc6186(0x7c)](),_0x40b6ea['manifest']):(_0x106edb=(0x0,path_1[_0xdc6186(0x91)])(process['cwd'](),_0xdc6186(0x8a)),!fs[_0xdc6186(0x94)](_0x106edb)&&(_0x106edb=(0x0,path_1[_0xdc6186(0x91)])(process[_0xdc6186(0x7c)](),_0xdc6186(0x8f))));if(!fs[_0xdc6186(0x94)](_0x106edb)){if(_0x5428c7)_0x5b3269=!![];else throw new Error(_0xdc6186(0x93));}_0x29967f=_0x5b3269?this['defaultManifestJson']:await(0x0,load_1['loadJsonFromDisk'])(_0x106edb),this['useDefaultManifestJson']=_0x5b3269;}(0x0,validate_1[_0xdc6186(0x7d)])(_0x29967f,_0x5428c7);var _0x3e54ca=(0x0,validate_1['checkStartUrl'])(_0x29967f,_0x106edb,_0x40b6ea[_0xdc6186(0x8c)],_0x17e306,_0x5428c7);if(!_0x5428c7)(0x0,validate_1[_0xdc6186(0x67)])(_0x29967f,(_0x59f595=_0x40b6ea[_0xdc6186(0x70)])!==null&&_0x59f595!==void 0x0?_0x59f595:'');return await(0x0,validate_1[_0xdc6186(0x89)])(_0x29967f,_0x106edb,_0x5428c7),{'json':_0x29967f,'url':_0x106edb,'fromNet':_0x3e54ca};}static[_0x21a809(0x77)](_0x5a7062,_0x3a68b7,_0x458bdd){const _0x143763=_0x21a809;var _0x115220,_0x464a17;(0x0,config_1[_0x143763(0x85)])(_0x5a7062[_0x143763(0x7f)],(_0x115220=_0x3a68b7[_0x143763(0x8c)])!==null&&_0x115220!==void 0x0?_0x115220:'');if(!_0x458bdd)(0x0,config_1[_0x143763(0x81)])(_0x5a7062[_0x143763(0x7f)],(_0x464a17=_0x3a68b7[_0x143763(0x70)])!==null&&_0x464a17!==void 0x0?_0x464a17:'');(0x0,config_1[_0x143763(0x92)])(_0x5a7062[_0x143763(0x7f)]),(0x0,config_1[_0x143763(0x90)])(_0x5a7062[_0x143763(0x7f)]),(0x0,config_1[_0x143763(0x75)])(_0x5a7062[_0x143763(0x7f)]),(0x0,config_1[_0x143763(0x71)])(_0x5a7062['json']);}}function _0x19a3(_0x1b3bec,_0x14849e){const _0x173256=_0x1732();return _0x19a3=function(_0x19a334,_0x3df03f){_0x19a334=_0x19a334-0x67;let _0x3a4b4e=_0x173256[_0x19a334];return _0x3a4b4e;},_0x19a3(_0x1b3bec,_0x14849e);}function _0x1732(){const _0x3ff1be=['validate','public/manifest.webmanifest','configDisplay','join','configScope','manifest\x20not\x20found','existsSync','43791QpGuGB','checkId','path','standalone','58394rAVBFP','WebSpatialTest','manifest-url','638807eHtsMI','manifest','minimal-ui','bundle-id','configMainScene','11848476GaXYuT','588eLRmtS','46413WpnlAk','configDeeplink','log','config','../resource/load','3091795sQRVaZ','4hIvBdz','13WQLevS','cwd','checkManifestJson','20VDKuaA','json','2577243zTJfVf','configId','./validate','PWAGenerator','1432dnmKlj','configStartUrl','generator','loadJsonFromNet','defineProperty','checkIcons','public/manifest.json','2SFubKA','base','defaultManifestJson'];_0x1732=function(){return _0x3ff1be;};return _0x1732();}exports[_0x21a809(0x83)]=PWAGenerator,PWAGenerator['DisplayModes']=[_0x21a809(0x69),_0x21a809(0x6f)],PWAGenerator[_0x21a809(0x8d)]={'name':_0x21a809(0x6b),'display':_0x21a809(0x6f),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];
1
+ 'use strict';const _0x27bffd=_0x22f4;(function(_0xaec11a,_0x5d8fb3){const _0x3ab9e3=_0x22f4,_0xdfcb8d=_0xaec11a();while(!![]){try{const _0x2057b0=-parseInt(_0x3ab9e3(0x1b5))/0x1*(-parseInt(_0x3ab9e3(0x194))/0x2)+parseInt(_0x3ab9e3(0x1a6))/0x3*(parseInt(_0x3ab9e3(0x191))/0x4)+-parseInt(_0x3ab9e3(0x18f))/0x5+-parseInt(_0x3ab9e3(0x18b))/0x6*(parseInt(_0x3ab9e3(0x1a9))/0x7)+parseInt(_0x3ab9e3(0x199))/0x8*(parseInt(_0x3ab9e3(0x19b))/0x9)+-parseInt(_0x3ab9e3(0x197))/0xa+-parseInt(_0x3ab9e3(0x1a7))/0xb*(-parseInt(_0x3ab9e3(0x19e))/0xc);if(_0x2057b0===_0x5d8fb3)break;else _0xdfcb8d['push'](_0xdfcb8d['shift']());}catch(_0x5c6c4e){_0xdfcb8d['push'](_0xdfcb8d['shift']());}}}(_0x2766,0x6a7d9));Object['defineProperty'](exports,_0x27bffd(0x1a1),{'value':!![]}),exports[_0x27bffd(0x19f)]=void 0x0;const path_1=require(_0x27bffd(0x19d)),config_1=require(_0x27bffd(0x1b2)),load_1=require(_0x27bffd(0x1bb)),validate_1=require(_0x27bffd(0x19a)),fs=require('fs'),Cli_1=require(_0x27bffd(0x1a4));function _0x22f4(_0x491b43,_0x42fdd3){const _0x2766d3=_0x2766();return _0x22f4=function(_0x22f48b,_0x244730){_0x22f48b=_0x22f48b-0x188;let _0x114d4a=_0x2766d3[_0x22f48b];return _0x114d4a;},_0x22f4(_0x491b43,_0x42fdd3);}function _0x2766(){const _0x3166d9=['warn','../Cli','public/manifest.json','3vJBdwU','5098489KIVAgt','cwd','931UHLIyz','bundle-id','generator','checkStartUrl','DisplayModes','log','existsSync','WebSpatialTest','manifest-url','./config','config','configMainScene','1LINkPu','configDeeplink','join','configId','minimal-ui','manifest','../resource/load','checkManifestJson','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','public/manifest.webmanifest','configScope','base','10662putGsm','useDefaultManifestJson','standalone','checkIcons','3314640guToXu','Cli','1707856uwSbqk','json','loadJsonFromNet','1025278WQTSOQ','loadJsonFromDisk','reset\x20manifest.json:\x20ok','1765020zrBjKb','check\x20manifest.json:\x20ok','592YpzgCz','./validate','13239HCQFGC','checkId','path','12RTpmwG','PWAGenerator','validate','__esModule','defaultManifestJson'];_0x2766=function(){return _0x3166d9;};return _0x2766();}class PWAGenerator{static async[_0x27bffd(0x1ab)](_0x5c6c68,_0x32840c=![]){const _0x1d9c1a=_0x27bffd;let _0x282da9=await this['validate'](_0x5c6c68,_0x32840c);return console['log'](_0x1d9c1a(0x198)),await this[_0x1d9c1a(0x1b3)](_0x282da9,_0x5c6c68,_0x32840c),console[_0x1d9c1a(0x1ae)](_0x1d9c1a(0x196)),_0x282da9;}static async[_0x27bffd(0x1a0)](_0x3d87f8,_0x378815=![]){const _0x5e7ff2=_0x27bffd;var _0x5adf80,_0x5411a5;let _0x1650ed={},_0xbe7d0e='',_0x15db22=![],_0x1cec60=![];if(_0x3d87f8[_0x5e7ff2(0x1b1)])_0xbe7d0e=_0x3d87f8[_0x5e7ff2(0x1b1)],_0x15db22=!![],_0x1650ed=await(0x0,load_1[_0x5e7ff2(0x193)])(_0x3d87f8[_0x5e7ff2(0x1b1)]);else{_0x3d87f8[_0x5e7ff2(0x1ba)]?_0xbe7d0e=(0x0,path_1['join'])(process[_0x5e7ff2(0x1a8)](),_0x3d87f8[_0x5e7ff2(0x1ba)]):(_0xbe7d0e=(0x0,path_1[_0x5e7ff2(0x1b7)])(process[_0x5e7ff2(0x1a8)](),_0x5e7ff2(0x1a5)),!fs[_0x5e7ff2(0x1af)](_0xbe7d0e)&&(_0xbe7d0e=(0x0,path_1[_0x5e7ff2(0x1b7)])(process['cwd'](),_0x5e7ff2(0x188))));if(!fs[_0x5e7ff2(0x1af)](_0xbe7d0e)){if(_0x378815)_0x1cec60=!![],Cli_1[_0x5e7ff2(0x190)][_0x5e7ff2(0x1ae)][_0x5e7ff2(0x1a3)](_0x5e7ff2(0x1bd));else throw new Error(_0x5e7ff2(0x1be));}_0x1650ed=_0x1cec60?this[_0x5e7ff2(0x1a2)]:await(0x0,load_1[_0x5e7ff2(0x195)])(_0xbe7d0e),this[_0x5e7ff2(0x18c)]=_0x1cec60;}(0x0,validate_1[_0x5e7ff2(0x1bc)])(_0x1650ed,_0x378815);let _0x2d44ad=(0x0,config_1['configStartUrl'])(_0x1650ed,(_0x5adf80=_0x3d87f8[_0x5e7ff2(0x18a)])!==null&&_0x5adf80!==void 0x0?_0x5adf80:'');var _0x49a05e=(0x0,validate_1[_0x5e7ff2(0x1ac)])(_0x2d44ad,_0xbe7d0e,_0x15db22,_0x378815);_0x1650ed['start_url']=_0x2d44ad;if(!_0x378815)(0x0,validate_1[_0x5e7ff2(0x19c)])(_0x1650ed,(_0x5411a5=_0x3d87f8[_0x5e7ff2(0x1aa)])!==null&&_0x5411a5!==void 0x0?_0x5411a5:'');return await(0x0,validate_1[_0x5e7ff2(0x18e)])(_0x1650ed,_0xbe7d0e,_0x378815),{'json':_0x1650ed,'url':_0xbe7d0e,'fromNet':_0x49a05e};}static[_0x27bffd(0x1b3)](_0x179ed0,_0x832e12,_0x2e0ab6){const _0x182d7b=_0x27bffd;var _0x10536d;if(!_0x2e0ab6)(0x0,config_1[_0x182d7b(0x1b8)])(_0x179ed0[_0x182d7b(0x192)],(_0x10536d=_0x832e12['bundle-id'])!==null&&_0x10536d!==void 0x0?_0x10536d:'');(0x0,config_1[_0x182d7b(0x189)])(_0x179ed0[_0x182d7b(0x192)]),(0x0,config_1['configDisplay'])(_0x179ed0[_0x182d7b(0x192)]),(0x0,config_1[_0x182d7b(0x1b6)])(_0x179ed0[_0x182d7b(0x192)]),(0x0,config_1[_0x182d7b(0x1b4)])(_0x179ed0['json']);}}exports[_0x27bffd(0x19f)]=PWAGenerator,PWAGenerator[_0x27bffd(0x1ad)]=[_0x27bffd(0x18d),_0x27bffd(0x1b9)],PWAGenerator[_0x27bffd(0x1a2)]={'name':_0x27bffd(0x1b0),'display':_0x27bffd(0x1b9),'start_url':'/','scope':'/'},PWAGenerator[_0x27bffd(0x18c)]=![];
@@ -1,5 +1,6 @@
1
1
  export declare function checkManifestJson(manifestJson: Record<string, any>, isDev?: boolean): void;
2
- export declare function checkStartUrl(manifest: Record<string, any>, manifestUrl: string, base: string, isNet: boolean, isDev?: boolean): boolean;
2
+ export declare function checkStartUrl(startUrl: string, manifestUrl: string, isNet: boolean, isDev?: boolean): boolean;
3
3
  export declare function checkIcons(manifest: Record<string, any>, manifestUrl: string, isDev?: boolean): Promise<void>;
4
4
  export declare function checkId(manifest: Record<string, any>, bundleId: string): void;
5
+ export declare function validateBundleId(bundleId: string): boolean;
5
6
  export declare function validateURL(url: string): boolean;
@@ -1 +1 @@
1
- 'use strict';const _0x64b983=_0x39cd;(function(_0x3b0722,_0x387d10){const _0x578741=_0x39cd,_0x280c95=_0x3b0722();while(!![]){try{const _0x2ce195=-parseInt(_0x578741(0x12f))/0x1+parseInt(_0x578741(0x111))/0x2+parseInt(_0x578741(0x123))/0x3*(parseInt(_0x578741(0x113))/0x4)+-parseInt(_0x578741(0x11f))/0x5+parseInt(_0x578741(0x12a))/0x6*(-parseInt(_0x578741(0x135))/0x7)+parseInt(_0x578741(0x134))/0x8*(-parseInt(_0x578741(0x121))/0x9)+parseInt(_0x578741(0x13f))/0xa;if(_0x2ce195===_0x387d10)break;else _0x280c95['push'](_0x280c95['shift']());}catch(_0x86c88a){_0x280c95['push'](_0x280c95['shift']());}}}(_0x3c2d,0xb749f));Object[_0x64b983(0x12e)](exports,_0x64b983(0x125),{'value':!![]}),exports[_0x64b983(0x139)]=checkManifestJson,exports[_0x64b983(0x12d)]=checkStartUrl,exports[_0x64b983(0x133)]=checkIcons,exports['checkId']=checkId,exports[_0x64b983(0x127)]=validateURL;const path_1=require('path'),CustomError_1=require(_0x64b983(0x13e)),utils_1=require('../utils/utils'),imageHelper_1=require(_0x64b983(0x11b)),load_1=require('../resource/load');function checkManifestJson(_0x57f0a8,_0x1c332c=![]){const _0x1abde2=_0x64b983;var _0x5e4e99;const _0x23b0fb=[];!_0x57f0a8['name']&&!_0x57f0a8['short_name']&&!_0x1c332c&&_0x23b0fb[_0x1abde2(0x122)]({'code':0xbbe,'message':_0x1abde2(0x13c),'message_staring_params':{}});!((_0x5e4e99=_0x57f0a8['icons'])===null||_0x5e4e99===void 0x0?void 0x0:_0x5e4e99['length'])&&!_0x1c332c&&_0x23b0fb[_0x1abde2(0x122)]({'code':0xbbf,'message':_0x1abde2(0x131),'message_staring_params':{}});!_0x57f0a8[_0x1abde2(0x126)]&&_0x23b0fb['push']({'code':0xbc0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x23b0fb['length'])throw new CustomError_1[(_0x1abde2(0x118))](_0x23b0fb);}function checkStartUrl(_0x1827b2,_0x33695c,_0x2a1e34,_0x2725ca,_0x476080=![]){const _0x341790=_0x64b983;var _0x2e9d10=![];if(_0x476080)return _0x2e9d10=_0x1827b2[_0x341790(0x126)][_0x341790(0x138)]('https://')||_0x1827b2[_0x341790(0x126)][_0x341790(0x138)](_0x341790(0x112))||_0x2a1e34[_0x341790(0x138)](_0x341790(0x137))||_0x2a1e34[_0x341790(0x138)](_0x341790(0x112)),_0x2e9d10;if(_0x2725ca){if(_0x1827b2[_0x341790(0x126)][_0x341790(0x129)](_0x341790(0x137))==0x0){const _0x1f6197=new URL(_0x1827b2[_0x341790(0x126)]),_0x43cd3a=new URL(_0x33695c);if(_0x1f6197[_0x341790(0x116)]!==_0x43cd3a['host'])throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x1827b2[_0x341790(0x126)]['indexOf'](_0x341790(0x112))==0x0)throw new CustomError_1[(_0x341790(0x118))]({'code':0xfa0,'message':_0x341790(0x130),'message_staring_params':{}});}}else{if(_0x1827b2['start_url'][_0x341790(0x129)](_0x341790(0x137))==0x0||_0x1827b2[_0x341790(0x126)][_0x341790(0x129)](_0x341790(0x112))==0x0)throw new CustomError_1[(_0x341790(0x118))]({'code':0xfa0,'message':_0x341790(0x11c),'message_staring_params':{}});}return _0x2e9d10;}function _0x3c2d(){const _0x5ab130=['47256alrSXu','221473cnCggo','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','https://','startsWith','checkManifestJson','purpose','getWidth','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','../utils/CustomError','13508310jQfAWY','getHeight','2866374YGrPDh','http://','436880hhWVqW','forEach','join','host','ImageHelper','CustomError','http','maskable','../resource/imageHelper','Local\x20manifest\x20cannot\x20package\x20network\x20project','loadImageFromNet','sizes','5793865ZEWjGI','src','729cagmlx','push','21TDsJsK','length','__esModule','start_url','validateURL','loadImageFromDisk','indexOf','168GiycPd','icons','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','checkStartUrl','defineProperty','274675PZuNhM','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','split','checkIcons'];_0x3c2d=function(){return _0x5ab130;};return _0x3c2d();}function _0x39cd(_0x512716,_0x37aa91){const _0x3c2d6f=_0x3c2d();return _0x39cd=function(_0x39cd8b,_0x2f9a5a){_0x39cd8b=_0x39cd8b-0x110;let _0x3295b2=_0x3c2d6f[_0x39cd8b];return _0x3295b2;},_0x39cd(_0x512716,_0x37aa91);}async function checkIcons(_0x42c349,_0x2399dd,_0x1e0770=![]){const _0x382509=_0x64b983;var _0x1fb34f,_0x55cc6c;if(!((_0x1fb34f=_0x42c349[_0x382509(0x12b)])===null||_0x1fb34f===void 0x0?void 0x0:_0x1fb34f['length'])&&_0x1e0770)return;const _0x3443f0=(0x0,utils_1['parseRouter'])(_0x2399dd);let _0xff549c,_0x4b0319,_0x1add8f,_0x114ed2=0x0;for(var _0x53d3b6=0x0;_0x53d3b6<_0x42c349[_0x382509(0x12b)][_0x382509(0x124)];_0x53d3b6++){const _0x5973d0=_0x42c349[_0x382509(0x12b)][_0x53d3b6];let _0x398d8a=((_0x55cc6c=_0x5973d0[_0x382509(0x13a)])===null||_0x55cc6c===void 0x0?void 0x0:_0x55cc6c['indexOf'](_0x382509(0x11a)))>=0x0;if(!_0x398d8a)continue;let _0x5ecc15=![],_0x48eac4=_0x5973d0[_0x382509(0x120)],_0x572637,_0x3be250=0x0;!validateURL(_0x48eac4)&&(_0x48eac4=(0x0,path_1[_0x382509(0x115)])(_0x3443f0,_0x48eac4));if(_0x5973d0['sizes']){const _0x3831f5=_0x5973d0[_0x382509(0x11e)][_0x382509(0x132)]('\x20');_0x3831f5[_0x382509(0x114)](_0x31fbb1=>{const _0x41582c=_0x382509;let _0x2ca6b4=_0x31fbb1[_0x41582c(0x132)]('x');Number(_0x2ca6b4[0x0])>=0x400&&Number(_0x2ca6b4[0x1])>=0x400&&(_0x5ecc15=!![],Number(_0x2ca6b4[0x0])>_0x3be250&&(_0x3be250=Number(_0x2ca6b4[0x0])));});}else _0x572637=!_0x48eac4[_0x382509(0x138)](_0x382509(0x119))?await(0x0,load_1[_0x382509(0x128)])(_0x48eac4):await(0x0,load_1[_0x382509(0x11d)])(_0x48eac4),_0x572637[_0x382509(0x13b)]()>=0x400&&_0x572637[_0x382509(0x110)]()>=0x400&&(_0x5ecc15=!![],_0x572637[_0x382509(0x13b)]()>_0x3be250&&(_0x3be250=_0x572637[_0x382509(0x13b)]()));_0x5ecc15&&_0x398d8a&&(_0x3be250>_0x114ed2&&(_0x114ed2=_0x3be250,_0xff549c=_0x572637,_0x4b0319=_0x48eac4,_0x1add8f=_0x5973d0[_0x382509(0x13a)]));}if(_0x114ed2===0x0)throw new CustomError_1[(_0x382509(0x118))]({'code':0xfa0,'message':_0x382509(0x136),'message_staring_params':{}});else _0x4b0319&&(_0xff549c=!_0x4b0319[_0x382509(0x138)](_0x382509(0x119))?await(0x0,load_1[_0x382509(0x128)])(_0x4b0319):await(0x0,load_1['loadImageFromNet'])(_0x4b0319));if(_0xff549c&&!imageHelper_1[_0x382509(0x117)]['isFullyOpaque'](_0xff549c))throw new CustomError_1[(_0x382509(0x118))]({'code':0xfa0,'message':_0x382509(0x13d),'message_staring_params':{}});_0x42c349[_0x382509(0x12b)]=[{'src':_0x4b0319,'sizes':_0x114ed2+'x'+_0x114ed2,'purpose':_0x1add8f}];}function checkId(_0x5a478f,_0x33958e){const _0x1e8108=_0x64b983;!_0x5a478f['id']&&(_0x5a478f['id']=_0x5a478f['start_url']);if(!validateURL(_0x5a478f['id'])&&!_0x33958e)throw new CustomError_1[(_0x1e8108(0x118))]({'code':0xfa0,'message':_0x1e8108(0x12c),'message_staring_params':{}});}function validateURL(_0x39ffaa){try{return new URL(_0x39ffaa),!![];}catch(_0x2525a5){return![];}}
1
+ 'use strict';const _0x22e5cc=_0x34a0;(function(_0x4d9775,_0x5afa4b){const _0x273270=_0x34a0,_0x48028e=_0x4d9775();while(!![]){try{const _0x471d95=-parseInt(_0x273270(0x1ec))/0x1+parseInt(_0x273270(0x1f2))/0x2+-parseInt(_0x273270(0x1eb))/0x3+-parseInt(_0x273270(0x1f0))/0x4*(-parseInt(_0x273270(0x200))/0x5)+parseInt(_0x273270(0x1dc))/0x6+-parseInt(_0x273270(0x201))/0x7+parseInt(_0x273270(0x1fc))/0x8;if(_0x471d95===_0x5afa4b)break;else _0x48028e['push'](_0x48028e['shift']());}catch(_0x5bfb18){_0x48028e['push'](_0x48028e['shift']());}}}(_0x135e,0xd945d));Object[_0x22e5cc(0x1e0)](exports,_0x22e5cc(0x1fa),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x22e5cc(0x1de)]=checkStartUrl,exports[_0x22e5cc(0x1d9)]=checkIcons,exports['checkId']=checkId,exports['validateBundleId']=validateBundleId,exports['validateURL']=validateURL;const path_1=require(_0x22e5cc(0x1d4)),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x22e5cc(0x1e8)),imageHelper_1=require(_0x22e5cc(0x1e9)),load_1=require(_0x22e5cc(0x1e7)),Cli_1=require('../Cli');function checkManifestJson(_0x2b233d,_0x385817=![]){const _0x18a2a5=_0x22e5cc;var _0x3b8e0d;const _0x573692=[];!_0x2b233d[_0x18a2a5(0x1df)]&&!_0x2b233d[_0x18a2a5(0x1ef)]&&!_0x385817&&_0x573692[_0x18a2a5(0x1f5)]({'code':0xbbe,'message':_0x18a2a5(0x1f8),'message_staring_params':{}});!((_0x3b8e0d=_0x2b233d['icons'])===null||_0x3b8e0d===void 0x0?void 0x0:_0x3b8e0d[_0x18a2a5(0x1f6)])&&!_0x385817&&_0x573692[_0x18a2a5(0x1f5)]({'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':{}});!_0x2b233d[_0x18a2a5(0x1ea)]&&_0x573692['push']({'code':0xbc0,'message':_0x18a2a5(0x206),'message_staring_params':{}});if(_0x573692[_0x18a2a5(0x1f6)])throw new CustomError_1[(_0x18a2a5(0x1e3))](_0x573692);}function checkStartUrl(_0x370bc2,_0x232f07,_0x3937ff,_0x30d942=![]){const _0x3fcf40=_0x22e5cc;var _0x16218a=![];if(_0x30d942)return _0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f9))||_0x370bc2['startsWith']('http://');if(_0x3937ff){if(_0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f9))){const _0x4df6a0=new URL(_0x370bc2),_0x307ec4=new URL(_0x232f07);if(_0x4df6a0['host']!==_0x307ec4['host'])throw new CustomError_1[(_0x3fcf40(0x1e3))]({'code':0xfa0,'message':_0x3fcf40(0x203),'message_staring_params':{}});}else{if(_0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f1)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','message_staring_params':{}});}}else{if(_0x370bc2['startsWith']('https://')||_0x370bc2[_0x3fcf40(0x204)](_0x3fcf40(0x1f1)))throw new CustomError_1[(_0x3fcf40(0x1e3))]({'code':0xfa0,'message':_0x3fcf40(0x1dd),'message_staring_params':{}});}return _0x16218a;}async function checkIcons(_0x489774,_0x10644d,_0x29e815=![]){const _0x2db812=_0x22e5cc;var _0x48773e,_0x54486c;if(!((_0x48773e=_0x489774[_0x2db812(0x1ff)])===null||_0x48773e===void 0x0?void 0x0:_0x48773e[_0x2db812(0x1f6)])&&_0x29e815){Cli_1[_0x2db812(0x1fd)][_0x2db812(0x1f4)]['warn'](_0x2db812(0x1d5));return;}const _0x133ec6=(0x0,utils_1[_0x2db812(0x1e2)])(_0x10644d);let _0x481fdc,_0x244336,_0x341df4,_0x1fb0e0=0x0;for(var _0x4c33df=0x0;_0x4c33df<_0x489774[_0x2db812(0x1ff)][_0x2db812(0x1f6)];_0x4c33df++){const _0x1bb2b2=_0x489774['icons'][_0x4c33df];let _0x4a0b31=((_0x54486c=_0x1bb2b2['purpose'])===null||_0x54486c===void 0x0?void 0x0:_0x54486c[_0x2db812(0x1d6)](_0x2db812(0x1e4)))>=0x0;if(!_0x4a0b31)continue;let _0x45ce43=![],_0x470e32=_0x1bb2b2['src'],_0x177851,_0x30e9c1=0x0;!validateURL(_0x470e32)&&(_0x470e32=(0x0,path_1[_0x2db812(0x1fe)])(_0x133ec6,_0x470e32));if(_0x1bb2b2[_0x2db812(0x1db)]){const _0x30c5f3=_0x1bb2b2['sizes'][_0x2db812(0x1e5)]('\x20');_0x30c5f3[_0x2db812(0x205)](_0x127612=>{const _0x4b497f=_0x2db812;let _0x2abe95=_0x127612[_0x4b497f(0x1e5)]('x');Number(_0x2abe95[0x0])>=0x400&&Number(_0x2abe95[0x1])>=0x400&&(_0x45ce43=!![],Number(_0x2abe95[0x0])>_0x30e9c1&&(_0x30e9c1=Number(_0x2abe95[0x0])));});}else _0x177851=!_0x470e32[_0x2db812(0x204)](_0x2db812(0x1da))?await(0x0,load_1['loadImageFromDisk'])(_0x470e32):await(0x0,load_1[_0x2db812(0x1f3)])(_0x470e32),_0x177851[_0x2db812(0x1e1)]()>=0x400&&_0x177851[_0x2db812(0x1f7)]()>=0x400&&(_0x45ce43=!![],_0x177851[_0x2db812(0x1e1)]()>_0x30e9c1&&(_0x30e9c1=_0x177851[_0x2db812(0x1e1)]()));_0x45ce43&&_0x4a0b31&&(_0x30e9c1>_0x1fb0e0&&(_0x1fb0e0=_0x30e9c1,_0x481fdc=_0x177851,_0x244336=_0x470e32,_0x341df4=_0x1bb2b2['purpose']));}if(_0x1fb0e0===0x0){if(_0x29e815){Cli_1['Cli'][_0x2db812(0x1f4)][_0x2db812(0x202)](_0x2db812(0x1ed));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x2db812(0x1ed),'message_staring_params':{}});}else _0x244336&&(_0x481fdc=!_0x244336[_0x2db812(0x204)](_0x2db812(0x1da))?await(0x0,load_1[_0x2db812(0x1d8)])(_0x244336):await(0x0,load_1[_0x2db812(0x1f3)])(_0x244336));if(_0x481fdc&&!imageHelper_1['ImageHelper']['isFullyOpaque'](_0x481fdc)){if(_0x29e815){Cli_1[_0x2db812(0x1fd)][_0x2db812(0x1f4)][_0x2db812(0x202)](_0x2db812(0x1ed));return;}throw new CustomError_1[(_0x2db812(0x1e3))]({'code':0xfa0,'message':_0x2db812(0x1d7),'message_staring_params':{}});}_0x489774[_0x2db812(0x1ff)]=[{'src':_0x244336,'sizes':_0x1fb0e0+'x'+_0x1fb0e0,'purpose':_0x341df4}];}function _0x135e(){const _0x37d21e=['icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','indexOf','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','loadImageFromDisk','checkIcons','http','sizes','10254528jgpvTv','Local\x20manifest\x20cannot\x20package\x20network\x20project','checkStartUrl','name','defineProperty','getWidth','parseRouter','CustomError','maskable','split','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','../resource/load','../utils/utils','../resource/imageHelper','start_url','1543005WYYEAb','159213RcqSrv','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','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','short_name','22948lCxDCL','http://','1536846qwRapT','loadImageFromNet','log','push','length','getHeight','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','https://','__esModule','test','1107376lThTzk','Cli','join','icons','240tMzOrl','9294684MgdbEy','warn','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','startsWith','forEach','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','path'];_0x135e=function(){return _0x37d21e;};return _0x135e();}function _0x34a0(_0x563a3d,_0x2f54cf){const _0x135ef9=_0x135e();return _0x34a0=function(_0x34a05e,_0x4b69bd){_0x34a05e=_0x34a05e-0x1d4;let _0x58a261=_0x135ef9[_0x34a05e];return _0x58a261;},_0x34a0(_0x563a3d,_0x2f54cf);}function checkId(_0x261666,_0xda0e41){const _0x1fcf43=_0x22e5cc;if(_0xda0e41){if(!validateBundleId(_0xda0e41))throw new CustomError_1[(_0x1fcf43(0x1e3))]({'code':0xfa0,'message':_0x1fcf43(0x1ee),'message_staring_params':{}});return;}!_0x261666['id']&&(_0x261666['id']=_0x261666['start_url']);if(!validateURL(_0x261666['id'])&&!_0xda0e41)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1fcf43(0x1e6),'message_staring_params':{}});}function validateBundleId(_0x10f711){const _0x4f5cc8=_0x22e5cc,_0x22f411=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x22f411[_0x4f5cc8(0x1fb)](_0x10f711);}function validateURL(_0x342dc3){try{return new URL(_0x342dc3),!![];}catch(_0x435568){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0x3d3e3b=_0x2abc;function _0x2abc(_0x1aff43,_0x1ba2d5){const _0x436c6d=_0x436c();return _0x2abc=function(_0x2abc17,_0x16e295){_0x2abc17=_0x2abc17-0x124;let _0x5d03b0=_0x436c6d[_0x2abc17];return _0x5d03b0;},_0x2abc(_0x1aff43,_0x1ba2d5);}(function(_0x237cac,_0x10e893){const _0x256da2=_0x2abc,_0x45c7b7=_0x237cac();while(!![]){try{const _0x2ba636=-parseInt(_0x256da2(0x129))/0x1+parseInt(_0x256da2(0x128))/0x2+-parseInt(_0x256da2(0x136))/0x3+-parseInt(_0x256da2(0x124))/0x4+-parseInt(_0x256da2(0x134))/0x5*(parseInt(_0x256da2(0x12c))/0x6)+-parseInt(_0x256da2(0x125))/0x7+parseInt(_0x256da2(0x133))/0x8;if(_0x2ba636===_0x10e893)break;else _0x45c7b7['push'](_0x45c7b7['shift']());}catch(_0x4f93ab){_0x45c7b7['push'](_0x45c7b7['shift']());}}}(_0x436c,0x51cf4));Object[_0x3d3e3b(0x135)](exports,'__esModule',{'value':!![]}),exports[_0x3d3e3b(0x130)]=copyDir,exports[_0x3d3e3b(0x132)]=clearDir;const fs=require('fs');function copyDir(_0x977319,_0x45a6fa){const _0x1c7769=_0x3d3e3b,_0x41dd72=fs[_0x1c7769(0x12e)](_0x977319);_0x41dd72[_0x1c7769(0x131)](_0xc1407b=>{const _0x49f52f=_0x1c7769,_0x104ad0=_0x977319+'/'+_0xc1407b,_0xc59a0e=_0x45a6fa+'/'+_0xc1407b,_0x3d6a72=fs['statSync'](_0x104ad0);if(_0x3d6a72[_0x49f52f(0x12f)]())try{fs['writeFileSync'](_0xc59a0e,fs['readFileSync'](_0x104ad0));}catch(_0x4c768b){console[_0x49f52f(0x126)](_0x4c768b);}else _0x3d6a72[_0x49f52f(0x137)]()&&(!fs[_0x49f52f(0x127)](_0xc59a0e)&&fs[_0x49f52f(0x12d)](_0xc59a0e,{'recursive':!![]}),copyDir(_0x104ad0,_0xc59a0e));});}function clearDir(_0x355b1b){const _0x29c141=fs['readdirSync'](_0x355b1b);_0x29c141['forEach'](_0x1f5c2a=>{const _0x25e913=_0x2abc,_0x29463e=_0x355b1b+'/'+_0x1f5c2a,_0x429118=fs[_0x25e913(0x12a)](_0x29463e);if(_0x429118[_0x25e913(0x12f)]())try{fs[_0x25e913(0x12b)](_0x29463e);}catch(_0x5797f8){console[_0x25e913(0x126)](_0x5797f8);}else _0x429118[_0x25e913(0x137)]()&&clearDir(_0x29463e);});}function _0x436c(){const _0x56f947=['1412124xEXrvn','isDirectory','1201984lmjpLI','4142397zqTzno','log','existsSync','163172xPQnKB','510178mCKazB','statSync','unlinkSync','608028sJscGq','mkdirSync','readdirSync','isFile','copyDir','forEach','clearDir','20256088cAiYtx','20oFgZWb','defineProperty'];_0x436c=function(){return _0x56f947;};return _0x436c();}
1
+ 'use strict';const _0x5a247f=_0x22c2;(function(_0x309e2,_0x4d979a){const _0x48cf56=_0x22c2,_0xf2d8b7=_0x309e2();while(!![]){try{const _0x302408=-parseInt(_0x48cf56(0xe0))/0x1*(parseInt(_0x48cf56(0xde))/0x2)+-parseInt(_0x48cf56(0xce))/0x3*(parseInt(_0x48cf56(0xcb))/0x4)+-parseInt(_0x48cf56(0xe2))/0x5*(-parseInt(_0x48cf56(0xdc))/0x6)+-parseInt(_0x48cf56(0xd9))/0x7*(parseInt(_0x48cf56(0xd3))/0x8)+-parseInt(_0x48cf56(0xcc))/0x9*(parseInt(_0x48cf56(0xd4))/0xa)+-parseInt(_0x48cf56(0xdd))/0xb+-parseInt(_0x48cf56(0xca))/0xc*(-parseInt(_0x48cf56(0xda))/0xd);if(_0x302408===_0x4d979a)break;else _0xf2d8b7['push'](_0xf2d8b7['shift']());}catch(_0x4c0948){_0xf2d8b7['push'](_0xf2d8b7['shift']());}}}(_0x5e5e,0x2fe6b));function _0x5e5e(){const _0x37c7b3=['unlinkSync','5jNDxhS','statSync','1137300wDBYIO','58424ddhKam','1386819lZADqL','isFile','27iehXmF','existsSync','readdirSync','isDirectory','clearDir','10552tGGCNC','20ZPJpgy','readFileSync','__esModule','writeFileSync','forEach','812jAMvdt','143eDGefp','copyDir','653850SHPIUP','2870725qEWnXd','14526oOcxEj','log','14vwiQGf'];_0x5e5e=function(){return _0x37c7b3;};return _0x5e5e();}Object['defineProperty'](exports,_0x5a247f(0xd6),{'value':!![]}),exports[_0x5a247f(0xdb)]=copyDir,exports[_0x5a247f(0xd2)]=clearDir;const fs=require('fs');function copyDir(_0x39274f,_0xbcccfa){const _0x265fa9=_0x5a247f,_0x15baf9=fs[_0x265fa9(0xd0)](_0x39274f);_0x15baf9[_0x265fa9(0xd8)](_0x3d934d=>{const _0x3c4c02=_0x265fa9,_0x4f7ffa=_0x39274f+'/'+_0x3d934d,_0x4bda84=_0xbcccfa+'/'+_0x3d934d,_0x5adbf6=fs[_0x3c4c02(0xe3)](_0x4f7ffa);if(_0x5adbf6[_0x3c4c02(0xcd)]())try{fs[_0x3c4c02(0xd7)](_0x4bda84,fs[_0x3c4c02(0xd5)](_0x4f7ffa));}catch(_0x382df8){console[_0x3c4c02(0xdf)](_0x382df8);}else _0x5adbf6[_0x3c4c02(0xd1)]()&&(!fs[_0x3c4c02(0xcf)](_0x4bda84)&&fs['mkdirSync'](_0x4bda84,{'recursive':!![]}),copyDir(_0x4f7ffa,_0x4bda84));});}function _0x22c2(_0x134a00,_0x5b4e8f){const _0x5e5e6a=_0x5e5e();return _0x22c2=function(_0x22c2a8,_0x5a3aba){_0x22c2a8=_0x22c2a8-0xca;let _0x1b1336=_0x5e5e6a[_0x22c2a8];return _0x1b1336;},_0x22c2(_0x134a00,_0x5b4e8f);}function clearDir(_0x2608ae){const _0x213d10=_0x5a247f,_0xf519f0=fs['readdirSync'](_0x2608ae);_0xf519f0[_0x213d10(0xd8)](_0x19bc33=>{const _0xd751a5=_0x213d10,_0x5bcc30=_0x2608ae+'/'+_0x19bc33,_0x4cfb54=fs[_0xd751a5(0xe3)](_0x5bcc30);if(_0x4cfb54[_0xd751a5(0xcd)]())try{fs[_0xd751a5(0xe1)](_0x5bcc30);}catch(_0x2a8bcf){console[_0xd751a5(0xdf)](_0x2a8bcf);}else _0x4cfb54[_0xd751a5(0xd1)]()&&clearDir(_0x5bcc30);});}
@@ -1 +1 @@
1
- 'use strict';const _0x571c03=_0x22f0;(function(_0x2ea153,_0x16a2b2){const _0x5cb267=_0x22f0,_0x5b5772=_0x2ea153();while(!![]){try{const _0x15a957=parseInt(_0x5cb267(0x1c2))/0x1+-parseInt(_0x5cb267(0x1de))/0x2*(parseInt(_0x5cb267(0x1da))/0x3)+-parseInt(_0x5cb267(0x1df))/0x4*(parseInt(_0x5cb267(0x1d5))/0x5)+-parseInt(_0x5cb267(0x1cd))/0x6*(parseInt(_0x5cb267(0x1c8))/0x7)+-parseInt(_0x5cb267(0x1c3))/0x8+parseInt(_0x5cb267(0x1cb))/0x9*(parseInt(_0x5cb267(0x1dc))/0xa)+-parseInt(_0x5cb267(0x1d9))/0xb*(-parseInt(_0x5cb267(0x1d7))/0xc);if(_0x15a957===_0x16a2b2)break;else _0x5b5772['push'](_0x5b5772['shift']());}catch(_0x42644e){_0x5b5772['push'](_0x5b5772['shift']());}}}(_0x57a4,0x8a303));function _0x57a4(){const _0x2c6d5e=['svg2img','isFullyOpaque','createImg','getWidth','87458qWlWtb','toFormat','getHeight','117naLUAI','ImageHelper','216CbNECp','bitmap','sharp','asPng','@resvg/resvg-js','width','data','Resvg','355UyUZAL','jimp','34041444tyXGQn','__esModule','11fbTHra','3eTEvVJ','toBuffer','28940FcjMuC','render','1301340uoKYdI','62892dWIWBA','defineProperty','629550niwIhs','5769224NhkllJ'];_0x57a4=function(){return _0x2c6d5e;};return _0x57a4();}Object[_0x571c03(0x1e0)](exports,_0x571c03(0x1d8),{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0x571c03(0x1d6)),sharp=require(_0x571c03(0x1cf)),resvg_js_1=require(_0x571c03(0x1d1));class ImageHelper{static[_0x571c03(0x1c6)](_0x510516){return new Jimp(_0x510516,_0x510516,0x0);}static async['webp2PngBuffer'](_0x41817f){const _0x20b333=_0x571c03;return await sharp(_0x41817f)[_0x20b333(0x1c9)]('png')[_0x20b333(0x1db)]();}static async[_0x571c03(0x1c4)](_0x1f69ed){const _0x163534=_0x571c03,_0x39a41c={'fitTo':{'mode':_0x163534(0x1d2),'value':0x400}},_0xcc8bf4=new resvg_js_1[(_0x163534(0x1d4))](_0x1f69ed,_0x39a41c),_0xe81f25=_0xcc8bf4[_0x163534(0x1dd)](),_0x379100=_0xe81f25[_0x163534(0x1d0)]();return _0x379100;}static[_0x571c03(0x1c5)](_0x5472c5){const _0x48bf9c=_0x571c03,_0x53df74=_0x5472c5[_0x48bf9c(0x1c7)]()*_0x5472c5[_0x48bf9c(0x1ca)]();for(var _0x4c0067=0x0;_0x4c0067<_0x53df74;_0x4c0067++){const _0x2c02d3=_0x4c0067*0x4+0x3;if(_0x5472c5[_0x48bf9c(0x1ce)][_0x48bf9c(0x1d3)][_0x2c02d3]<0xff)return![];}return!![];}}function _0x22f0(_0x1e33b8,_0xbf0892){const _0x57a4da=_0x57a4();return _0x22f0=function(_0x22f00a,_0x40bed7){_0x22f00a=_0x22f00a-0x1c2;let _0x555b04=_0x57a4da[_0x22f00a];return _0x555b04;},_0x22f0(_0x1e33b8,_0xbf0892);}exports[_0x571c03(0x1cc)]=ImageHelper;
1
+ 'use strict';const _0xcedcac=_0x3255;(function(_0x390314,_0x305973){const _0xa803bf=_0x3255,_0x46e5c2=_0x390314();while(!![]){try{const _0x256972=-parseInt(_0xa803bf(0x164))/0x1+parseInt(_0xa803bf(0x162))/0x2*(parseInt(_0xa803bf(0x158))/0x3)+parseInt(_0xa803bf(0x166))/0x4+parseInt(_0xa803bf(0x16d))/0x5*(parseInt(_0xa803bf(0x15f))/0x6)+parseInt(_0xa803bf(0x16c))/0x7+parseInt(_0xa803bf(0x15a))/0x8+-parseInt(_0xa803bf(0x155))/0x9;if(_0x256972===_0x305973)break;else _0x46e5c2['push'](_0x46e5c2['shift']());}catch(_0x23ad40){_0x46e5c2['push'](_0x46e5c2['shift']());}}}(_0x5001,0xa0e96));Object[_0xcedcac(0x169)](exports,_0xcedcac(0x160),{'value':!![]}),exports[_0xcedcac(0x157)]=void 0x0;function _0x3255(_0x590fbd,_0x3d712b){const _0x500116=_0x5001();return _0x3255=function(_0x3255de,_0x41bb92){_0x3255de=_0x3255de-0x155;let _0xfcaf5f=_0x500116[_0x3255de];return _0xfcaf5f;},_0x3255(_0x590fbd,_0x3d712b);}const Jimp=require(_0xcedcac(0x167)),sharp=require('sharp'),resvg_js_1=require(_0xcedcac(0x15e));class ImageHelper{static[_0xcedcac(0x156)](_0xadb27){return new Jimp(_0xadb27,_0xadb27,0x0);}static async['webp2PngBuffer'](_0x2ee270){const _0x5e8c07=_0xcedcac;return await sharp(_0x2ee270)[_0x5e8c07(0x16e)](_0x5e8c07(0x16a))['toBuffer']();}static async[_0xcedcac(0x163)](_0x20552f){const _0x1a38e5=_0xcedcac,_0x4e7d81={'fitTo':{'mode':_0x1a38e5(0x15d),'value':0x400}},_0x3df580=new resvg_js_1[(_0x1a38e5(0x16b))](_0x20552f,_0x4e7d81),_0x3da8d4=_0x3df580[_0x1a38e5(0x165)](),_0x1afeae=_0x3da8d4[_0x1a38e5(0x159)]();return _0x1afeae;}static[_0xcedcac(0x15c)](_0x5adc1b){const _0x92da13=_0xcedcac,_0x46854e=_0x5adc1b[_0x92da13(0x15b)]()*_0x5adc1b[_0x92da13(0x16f)]();for(var _0x41d388=0x0;_0x41d388<_0x46854e;_0x41d388++){const _0x1b40f4=_0x41d388*0x4+0x3;if(_0x5adc1b[_0x92da13(0x168)][_0x92da13(0x161)][_0x1b40f4]<0xff)return![];}return!![];}}exports[_0xcedcac(0x157)]=ImageHelper;function _0x5001(){const _0x16ca0a=['6490794eorCJd','__esModule','data','175058Muihww','svg2img','566701zxpOCi','render','1163916PFadIq','jimp','bitmap','defineProperty','png','Resvg','6003963zXiQMQ','5RePSsZ','toFormat','getHeight','25482771UfVUlf','createImg','ImageHelper','30kFhuhG','asPng','7611496KEsdWh','getWidth','isFullyOpaque','width','@resvg/resvg-js'];_0x5001=function(){return _0x16ca0a;};return _0x5001();}
@@ -1 +1 @@
1
- 'use strict';const _0x4e5ba8=_0xca64;(function(_0x50f7c2,_0x177dc3){const _0x5df55d=_0xca64,_0x57414c=_0x50f7c2();while(!![]){try{const _0x235a55=parseInt(_0x5df55d(0x173))/0x1+-parseInt(_0x5df55d(0x16b))/0x2*(-parseInt(_0x5df55d(0x179))/0x3)+-parseInt(_0x5df55d(0x15a))/0x4*(-parseInt(_0x5df55d(0x160))/0x5)+-parseInt(_0x5df55d(0x177))/0x6+-parseInt(_0x5df55d(0x163))/0x7+-parseInt(_0x5df55d(0x168))/0x8+parseInt(_0x5df55d(0x185))/0x9*(-parseInt(_0x5df55d(0x16d))/0xa);if(_0x235a55===_0x177dc3)break;else _0x57414c['push'](_0x57414c['shift']());}catch(_0xfeb5f3){_0x57414c['push'](_0x57414c['shift']());}}}(_0x2339,0x8615a));function _0x2339(){const _0x2504b7=['log','664200qojMpL','../../../','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','122708cdoUQa','moveProjectFrom','79960evzwDT','loadImageFromNet','./file','cwd','path','cd\x20','851533DfkJSp','PROJECT_BUILD_DIRECTORY','ASSET_DIRECTORY','src','1485120wZJcBh','PROJECT_DIRECTORY','18qnIZzx','BACK_APPICON_DIRECTORY','icons','includes','WEB_PROJECT_DIRECTORY','defineProperty','loadImageFromDisk','web-spatial/static-web','execSync','web-spatial/Assets.xcassets','node_modules/@webspatial/platform-','../../../node_modules/@webspatial/platform-','99RCArwO','resize','clearDir','child_process','MIDDLE_APPICON_DIRECTORY','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','279388foLtUZ','copyDir','./export','startsWith','join','existsSync','15XSgJQM','json','PROJECT_EXPORT_DIRECTORY','3230409SIPjOp','ResourceManager','__esModule','not\x20support\x20platform\x20'];_0x2339=function(){return _0x2504b7;};return _0x2339();}function _0xca64(_0x2aa997,_0x106d98){const _0x23395f=_0x2339();return _0xca64=function(_0xca648,_0x29e888){_0xca648=_0xca648-0x159;let _0x2dd0f6=_0x23395f[_0xca648];return _0x2dd0f6;},_0xca64(_0x2aa997,_0x106d98);}Object[_0x4e5ba8(0x17e)](exports,_0x4e5ba8(0x165),{'value':!![]}),exports[_0x4e5ba8(0x164)]=exports[_0x4e5ba8(0x189)]=exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']=exports['WEB_PROJECT_DIRECTORY']=exports[_0x4e5ba8(0x162)]=exports['PROJECT_BUILD_DIRECTORY']=exports[_0x4e5ba8(0x178)]=void 0x0;const fs=require('fs'),path_1=require(_0x4e5ba8(0x171)),file_1=require(_0x4e5ba8(0x16f)),load_1=require('./load'),child_process_1=require(_0x4e5ba8(0x188));exports[_0x4e5ba8(0x178)]='',exports[_0x4e5ba8(0x174)]='',exports[_0x4e5ba8(0x162)]='',exports[_0x4e5ba8(0x17d)]=_0x4e5ba8(0x180),exports[_0x4e5ba8(0x175)]=_0x4e5ba8(0x182),exports[_0x4e5ba8(0x17a)]=exports[_0x4e5ba8(0x175)]+_0x4e5ba8(0x16a),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x4e5ba8(0x175)]+_0x4e5ba8(0x159);const supportPlatform=['visionos'];class ResourceManager{static async[_0x4e5ba8(0x16c)](_0x489ec0){const _0x4ab75d=_0x4e5ba8,_0x1449bd=(0x0,path_1[_0x4ab75d(0x15e)])(process[_0x4ab75d(0x170)](),_0x489ec0),_0x29d123=(0x0,path_1[_0x4ab75d(0x15e)])(exports[_0x4ab75d(0x178)],exports[_0x4ab75d(0x17d)]);!fs[_0x4ab75d(0x15f)](_0x29d123)?fs['mkdirSync'](_0x29d123,{'recursive':!![]}):(0x0,file_1[_0x4ab75d(0x187)])(_0x29d123);try{(0x0,file_1[_0x4ab75d(0x15b)])(_0x1449bd,_0x29d123);}catch(_0x2bc7e6){console[_0x4ab75d(0x167)](_0x2bc7e6);}}static async['generateIcon'](_0x5b27f5){const _0x35362d=_0x4e5ba8,_0x53e897=_0x5b27f5[_0x35362d(0x161)],_0x724e13=_0x53e897[_0x35362d(0x17b)][0x0][_0x35362d(0x176)],_0x2b7776=!_0x724e13[_0x35362d(0x15d)]('http')?await(0x0,load_1[_0x35362d(0x17f)])(_0x724e13):await(0x0,load_1[_0x35362d(0x16e)])(_0x724e13);return _0x2b7776[_0x35362d(0x186)](0x400,0x400),_0x2b7776;}static['checkPlatformPath'](_0x578cef){const _0x23b672=_0x4e5ba8,_0x2f3684=_0x578cef!==null&&_0x578cef!==void 0x0?_0x578cef:supportPlatform[0x0];if(!supportPlatform[_0x23b672(0x17c)](_0x2f3684))throw new Error(_0x23b672(0x166)+_0x2f3684+',\x20now\x20WebSpatial\x20only\x20support\x20'+supportPlatform[_0x23b672(0x15e)](','));let _0x58ab66=(0x0,path_1[_0x23b672(0x15e)])(process[_0x23b672(0x170)](),_0x23b672(0x183)+_0x2f3684);!fs[_0x23b672(0x15f)](_0x58ab66)&&(_0x58ab66=(0x0,path_1['join'])(__dirname,_0x23b672(0x184)+_0x2f3684));const _0x28f943=fs[_0x23b672(0x15f)](_0x58ab66);!_0x28f943&&(0x0,child_process_1[_0x23b672(0x181)])(_0x23b672(0x172)+(0x0,path_1[_0x23b672(0x15e)])(__dirname,_0x23b672(0x169))+'\x20&&\x20pnpm\x20add\x20@webspatial/platform-'+_0x2f3684),exports['PROJECT_DIRECTORY']=_0x58ab66,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x23b672(0x15e)])(exports[_0x23b672(0x178)],'./build'),exports[_0x23b672(0x162)]=(0x0,path_1[_0x23b672(0x15e)])(exports[_0x23b672(0x178)],_0x23b672(0x15c));}}exports[_0x4e5ba8(0x164)]=ResourceManager;
1
+ 'use strict';const _0x545e26=_0x1f91;(function(_0x11474e,_0xd4d108){const _0x156ae6=_0x1f91,_0x82e6af=_0x11474e();while(!![]){try{const _0x1e3bb1=-parseInt(_0x156ae6(0x12f))/0x1*(-parseInt(_0x156ae6(0x146))/0x2)+-parseInt(_0x156ae6(0x147))/0x3+parseInt(_0x156ae6(0x13f))/0x4+parseInt(_0x156ae6(0x13c))/0x5+parseInt(_0x156ae6(0x153))/0x6+-parseInt(_0x156ae6(0x136))/0x7*(-parseInt(_0x156ae6(0x149))/0x8)+parseInt(_0x156ae6(0x142))/0x9*(-parseInt(_0x156ae6(0x144))/0xa);if(_0x1e3bb1===_0xd4d108)break;else _0x82e6af['push'](_0x82e6af['shift']());}catch(_0x3cb46a){_0x82e6af['push'](_0x82e6af['shift']());}}}(_0x3876,0xf2b3b));function _0x3876(){const _0x333a8c=['json','node_modules/@webspatial/platform-','6418276xLTtma','not\x20support\x20platform\x20','./load','1352412duSCEW','path','90XZlkwo','./file','4GYnbfv','3417531RPijJd','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','16824oDlFFA','moveProjectFrom','__esModule','loadImageFromNet','PROJECT_DIRECTORY','mkdirSync','PROJECT_BUILD_DIRECTORY','PROJECT_EXPORT_DIRECTORY','loadImageFromDisk','includes','28968dnvZDW','./export','ASSET_DIRECTORY','join','child_process','WEB_PROJECT_DIRECTORY','existsSync','BACK_APPICON_DIRECTORY','web-spatial/Assets.xcassets','defineProperty','checkPlatformPath','copyDir','visionos','649065xDDeEH','src','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','generateIcon','clearDir','MIDDLE_APPICON_DIRECTORY',',\x20now\x20WebSpatial\x20only\x20support\x20','1792RqZBaR','../../../','icons','cwd','ResourceManager','web-spatial/static-web','199005ZcdVam'];_0x3876=function(){return _0x333a8c;};return _0x3876();}function _0x1f91(_0x525b50,_0x53d286){const _0x38769d=_0x3876();return _0x1f91=function(_0x1f9131,_0x434ac0){_0x1f9131=_0x1f9131-0x129;let _0x4080e5=_0x38769d[_0x1f9131];return _0x4080e5;},_0x1f91(_0x525b50,_0x53d286);}Object[_0x545e26(0x12b)](exports,_0x545e26(0x14b),{'value':!![]}),exports[_0x545e26(0x13a)]=exports[_0x545e26(0x134)]=exports[_0x545e26(0x129)]=exports[_0x545e26(0x155)]=exports[_0x545e26(0x158)]=exports[_0x545e26(0x150)]=exports[_0x545e26(0x14f)]=exports[_0x545e26(0x14d)]=void 0x0;const fs=require('fs'),path_1=require(_0x545e26(0x143)),file_1=require(_0x545e26(0x145)),load_1=require(_0x545e26(0x141)),child_process_1=require(_0x545e26(0x157));exports[_0x545e26(0x14d)]='',exports[_0x545e26(0x14f)]='',exports[_0x545e26(0x150)]='',exports[_0x545e26(0x158)]=_0x545e26(0x13b),exports[_0x545e26(0x155)]=_0x545e26(0x12a),exports[_0x545e26(0x129)]=exports['ASSET_DIRECTORY']+_0x545e26(0x148),exports[_0x545e26(0x134)]=exports[_0x545e26(0x155)]+'/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset';const supportPlatform=[_0x545e26(0x12e)];class ResourceManager{static async[_0x545e26(0x14a)](_0x14f3bf){const _0x17f74c=_0x545e26,_0x58307d=(0x0,path_1['join'])(process[_0x17f74c(0x139)](),_0x14f3bf),_0x221f55=(0x0,path_1[_0x17f74c(0x156)])(exports[_0x17f74c(0x14d)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x17f74c(0x159)](_0x221f55)?fs[_0x17f74c(0x14e)](_0x221f55,{'recursive':!![]}):(0x0,file_1[_0x17f74c(0x133)])(_0x221f55);try{(0x0,file_1[_0x17f74c(0x12d)])(_0x58307d,_0x221f55);}catch(_0x309d68){console['log'](_0x309d68);}}static async[_0x545e26(0x132)](_0x46e32b){const _0x4ebf72=_0x545e26,_0x4847ff=_0x46e32b[_0x4ebf72(0x13d)],_0xde03ed=_0x4847ff[_0x4ebf72(0x138)][0x0][_0x4ebf72(0x130)],_0x5b5fe9=!_0xde03ed['startsWith']('http')?await(0x0,load_1[_0x4ebf72(0x151)])(_0xde03ed):await(0x0,load_1[_0x4ebf72(0x14c)])(_0xde03ed);return _0x5b5fe9['resize'](0x400,0x400),_0x5b5fe9;}static[_0x545e26(0x12c)](_0x26b358){const _0x49ca72=_0x545e26,_0x37b088=_0x26b358!==null&&_0x26b358!==void 0x0?_0x26b358:supportPlatform[0x0];if(!supportPlatform[_0x49ca72(0x152)](_0x37b088))throw new Error(_0x49ca72(0x140)+_0x37b088+_0x49ca72(0x135)+supportPlatform[_0x49ca72(0x156)](','));let _0x26ed50=(0x0,path_1[_0x49ca72(0x156)])(process['cwd'](),_0x49ca72(0x13e)+_0x37b088);!fs[_0x49ca72(0x159)](_0x26ed50)&&(_0x26ed50=(0x0,path_1['join'])(__dirname,'../../../node_modules/@webspatial/platform-'+_0x37b088));const _0x49ca6c=fs['existsSync'](_0x26ed50);!_0x49ca6c&&(0x0,child_process_1['execSync'])('cd\x20'+(0x0,path_1[_0x49ca72(0x156)])(__dirname,_0x49ca72(0x137))+_0x49ca72(0x131)+_0x37b088),exports[_0x49ca72(0x14d)]=_0x26ed50,exports[_0x49ca72(0x14f)]=(0x0,path_1[_0x49ca72(0x156)])(exports[_0x49ca72(0x14d)],'./build'),exports[_0x49ca72(0x150)]=(0x0,path_1[_0x49ca72(0x156)])(exports[_0x49ca72(0x14d)],_0x49ca72(0x154));}}exports[_0x545e26(0x13a)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x57d5c0=_0x2532;(function(_0x1e6e46,_0x4f3563){const _0xbb10ad=_0x2532,_0x19967a=_0x1e6e46();while(!![]){try{const _0x16fbb6=parseInt(_0xbb10ad(0x93))/0x1*(-parseInt(_0xbb10ad(0x8a))/0x2)+parseInt(_0xbb10ad(0x8c))/0x3*(-parseInt(_0xbb10ad(0xa3))/0x4)+parseInt(_0xbb10ad(0xb5))/0x5*(parseInt(_0xbb10ad(0x98))/0x6)+-parseInt(_0xbb10ad(0xb6))/0x7*(-parseInt(_0xbb10ad(0x81))/0x8)+parseInt(_0xbb10ad(0xb4))/0x9+-parseInt(_0xbb10ad(0xb2))/0xa+parseInt(_0xbb10ad(0x82))/0xb*(parseInt(_0xbb10ad(0x97))/0xc);if(_0x16fbb6===_0x4f3563)break;else _0x19967a['push'](_0x19967a['shift']());}catch(_0x4482f7){_0x19967a['push'](_0x19967a['shift']());}}}(_0x1fcf,0xf0c7f));Object[_0x57d5c0(0xa8)](exports,_0x57d5c0(0x86),{'value':!![]}),exports[_0x57d5c0(0xa0)]=loadJsonFromNet,exports[_0x57d5c0(0x84)]=loadJsonFromDisk,exports[_0x57d5c0(0x99)]=loadImageFromNet,exports[_0x57d5c0(0xa1)]=loadImageFromDisk,exports[_0x57d5c0(0x8e)]=loadFileString;function _0x2532(_0x5c9546,_0x39372c){const _0x1fcf74=_0x1fcf();return _0x2532=function(_0x2532b2,_0x5e7920){_0x2532b2=_0x2532b2-0x80;let _0x4ea2ff=_0x1fcf74[_0x2532b2];return _0x4ea2ff;},_0x2532(_0x5c9546,_0x39372c);}const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x57d5c0(0x9c)),Jimp=require(_0x57d5c0(0x91)),imageHelper_1=require(_0x57d5c0(0x8d));async function loadJsonFromNet(_0x5d975a){const _0x152796=_0x57d5c0,_0x4d43d4=await FetchUtils_1_1[_0x152796(0xab)][_0x152796(0x89)](_0x5d975a,{'encoding':_0x152796(0x8f)});if(_0x4d43d4['status']!==0xc8)throw new CustomError_1[(_0x152796(0xac))]({'code':0xbbc,'message':_0x152796(0xb0)+_0x5d975a+'.'+(_0x152796(0x83)+_0x4d43d4[_0x152796(0x87)]+_0x152796(0xa7)),'message_staring_params':{'web_manifest_url':_0x5d975a,'status':_0x4d43d4['status']}});try{let _0x5bdefe;return _0x4d43d4[_0x152796(0xb1)]?_0x5bdefe=await _0x4d43d4[_0x152796(0xb1)]():['gzip',_0x152796(0xa2),'br']['includes'](_0x4d43d4[_0x152796(0x94)][_0x152796(0x80)])?_0x5bdefe=FetchUtils_1_1[_0x152796(0xab)][_0x152796(0xaf)](Buffer['from'](_0x4d43d4['data'],_0x152796(0x8f)),_0x4d43d4[_0x152796(0x94)]['content-encoding'])['toString']():_0x5bdefe=Buffer[_0x152796(0x85)](_0x4d43d4[_0x152796(0xa4)],_0x152796(0x8f))[_0x152796(0xaa)](),JSON[_0x152796(0x9a)](_0x5bdefe[_0x152796(0x9e)]());}catch(_0xbda288){throw new CustomError_1[(_0x152796(0xac))]({'code':0xbbd,'message':_0x152796(0x95),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x3ef337){const _0x6a88e4=_0x57d5c0,_0x1650c0=await loadFileString(_0x3ef337[_0x6a88e4(0xaa)]());return JSON[_0x6a88e4(0x9a)](_0x1650c0);}async function loadImageFromNet(_0x43aef5){const _0x2d11f8=_0x57d5c0,_0x5f1cc5=await FetchUtils_1_1[_0x2d11f8(0xab)][_0x2d11f8(0x89)](_0x43aef5,{'encoding':_0x2d11f8(0x8f)});if(_0x5f1cc5[_0x2d11f8(0x87)]!==0xc8)throw new CustomError_1[(_0x2d11f8(0xac))]({'code':0x7d2,'message':_0x2d11f8(0xae)+_0x5f1cc5['status'],'message_staring_params':{'icon_url':_0x43aef5,'status':_0x5f1cc5[_0x2d11f8(0x87)]}});const _0x313cc1=_0x5f1cc5['headers']['get']?_0x5f1cc5[_0x2d11f8(0x94)]['get']('content-type'):_0x5f1cc5['headers'][_0x2d11f8(0xa9)];if(!(_0x313cc1===null||_0x313cc1===void 0x0?void 0x0:_0x313cc1['startsWith']('image/')))throw new CustomError_1[(_0x2d11f8(0xac))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x2d11f8(0xa6)+_0x313cc1+'\x22'),'message_staring_params':{'icon_url':_0x43aef5,'contentType':_0x313cc1}});let _0x4b8332;_0x5f1cc5[_0x2d11f8(0x88)]?_0x4b8332=await _0x5f1cc5[_0x2d11f8(0x88)]():[_0x2d11f8(0x9f),_0x2d11f8(0xa2),'br'][_0x2d11f8(0x9b)](_0x5f1cc5[_0x2d11f8(0x94)][_0x2d11f8(0x80)])?_0x4b8332=FetchUtils_1_1[_0x2d11f8(0xab)][_0x2d11f8(0xaf)](Buffer[_0x2d11f8(0x85)](_0x5f1cc5['data'],_0x2d11f8(0x8f)),_0x5f1cc5['headers']['content-encoding']):_0x4b8332=Buffer[_0x2d11f8(0x85)](_0x5f1cc5[_0x2d11f8(0xa4)],_0x2d11f8(0x8f));if(_0x313cc1['startsWith']('image/svg')){const _0x4a377a=new TextDecoder();try{_0x4b8332=await imageHelper_1[_0x2d11f8(0x8b)][_0x2d11f8(0x9d)](_0x4a377a[_0x2d11f8(0x96)](_0x4b8332));}catch(_0x4cd113){throw new CustomError_1[(_0x2d11f8(0xac))]({'code':0x7d4,'message':_0x2d11f8(0x90)+_0x43aef5+':\x20'+_0x4cd113,'message_staring_params':{'icon_url':_0x43aef5,'error':_0x4cd113}});}}return _0x313cc1[_0x2d11f8(0xa5)](_0x2d11f8(0x92))&&(_0x4b8332=await imageHelper_1['ImageHelper']['webp2PngBuffer'](_0x4b8332)),await Jimp[_0x2d11f8(0xb3)](Buffer[_0x2d11f8(0x85)](_0x4b8332));}async function loadImageFromDisk(_0x276f7c){const _0x11f927=_0x57d5c0;return await Jimp[_0x11f927(0xb3)](_0x276f7c);}function _0x1fcf(){const _0x440583=['defineProperty','content-type','toString','fetchUtils','CustomError','promises','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','decompressResponseBuffer','Failed\x20to\x20download\x20Web\x20Manifest\x20','text','13987440AXjBfN','read','9052011mjNjNL','9837235ilYHrd','3214694sToYmB','content-encoding','8PnjuOw','655072qCVzqx','The\x20response\x20status\x20is\x20','loadJsonFromDisk','from','__esModule','status','arrayBuffer','fetch','356vOeCjJ','ImageHelper','3KinZSX','./imageHelper','loadFileString','binary','Problem\x20reading\x20','jimp','image/webp','10091CTVrvX','headers','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','decode','516jTiPgG','6FpyzxA','loadImageFromNet','parse','includes','../utils/CustomError','svg2img','trim','gzip','loadJsonFromNet','loadImageFromDisk','deflate','7248092UzJxyt','data','startsWith','\x20Responded\x20with\x20Content-Type\x20\x22',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'];_0x1fcf=function(){return _0x440583;};return _0x1fcf();}async function loadFileString(_0x441725){const _0x1b7cc0=_0x57d5c0;let _0x3acdf2=await fs[_0x1b7cc0(0xad)]['readFile'](_0x441725[_0x1b7cc0(0xaa)]());return _0x3acdf2[_0x1b7cc0(0xaa)]();}
1
+ 'use strict';const _0x4e3a6a=_0x1273;(function(_0x959b92,_0x1d16d){const _0x57bb2b=_0x1273,_0x5c6068=_0x959b92();while(!![]){try{const _0x489afd=-parseInt(_0x57bb2b(0x145))/0x1*(parseInt(_0x57bb2b(0x162))/0x2)+parseInt(_0x57bb2b(0x154))/0x3*(parseInt(_0x57bb2b(0x14a))/0x4)+parseInt(_0x57bb2b(0x15f))/0x5*(-parseInt(_0x57bb2b(0x15b))/0x6)+parseInt(_0x57bb2b(0x153))/0x7+-parseInt(_0x57bb2b(0x150))/0x8+-parseInt(_0x57bb2b(0x169))/0x9+parseInt(_0x57bb2b(0x16b))/0xa;if(_0x489afd===_0x1d16d)break;else _0x5c6068['push'](_0x5c6068['shift']());}catch(_0x366f23){_0x5c6068['push'](_0x5c6068['shift']());}}}(_0x1988,0xd9cd9));function _0x1273(_0x26c8b9,_0x3abb2e){const _0x1988b3=_0x1988();return _0x1273=function(_0x1273e0,_0x35cdcb){_0x1273e0=_0x1273e0-0x13e;let _0x31cf37=_0x1988b3[_0x1273e0];return _0x31cf37;},_0x1273(_0x26c8b9,_0x3abb2e);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x4e3a6a(0x15d)]=loadJsonFromNet,exports[_0x4e3a6a(0x14c)]=loadJsonFromDisk,exports[_0x4e3a6a(0x149)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0x4e3a6a(0x147)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x4e3a6a(0x151)),CustomError_1=require('../utils/CustomError'),Jimp=require('jimp'),imageHelper_1=require(_0x4e3a6a(0x14d));function _0x1988(){const _0x7ea739=['parse','12ovkKyP','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','loadFileString','data','loadImageFromNet','3092ItKSUI','read','loadJsonFromDisk','./imageHelper','status','gzip','2759256GuSsYT','../utils/FetchUtils-1','trim','7044842vRquKa','3729WQkmEz','deflate','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','readFile','toString','decompressResponseBuffer','image/','10248834xyffgv','Problem\x20reading\x20','loadJsonFromNet','fetchUtils','5qGyYDq','from','fetch','5438MOfVob','includes','CustomError','content-type','\x20Responded\x20with\x20Content-Type\x20\x22','Failed\x20to\x20download\x20Web\x20Manifest\x20','Received\x20icon\x20with\x20invalid\x20Content-Type.','11694285rIRUue','binary','23099150KJnrwQ','headers','The\x20response\x20status\x20is\x20','promises','content-encoding','startsWith','get',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','webp2PngBuffer','arrayBuffer'];_0x1988=function(){return _0x7ea739;};return _0x1988();}async function loadJsonFromNet(_0x517a19){const _0x12c22b=_0x4e3a6a,_0x301fff=await FetchUtils_1_1['fetchUtils'][_0x12c22b(0x161)](_0x517a19,{'encoding':_0x12c22b(0x16a)});if(_0x301fff[_0x12c22b(0x14e)]!==0xc8)throw new CustomError_1[(_0x12c22b(0x164))]({'code':0xbbc,'message':_0x12c22b(0x167)+_0x517a19+'.'+(_0x12c22b(0x16d)+_0x301fff[_0x12c22b(0x14e)]+_0x12c22b(0x141)),'message_staring_params':{'web_manifest_url':_0x517a19,'status':_0x301fff[_0x12c22b(0x14e)]}});try{let _0x372b83;return _0x301fff['text']?_0x372b83=await _0x301fff['text']():['gzip','deflate','br'][_0x12c22b(0x163)](_0x301fff[_0x12c22b(0x16c)][_0x12c22b(0x13e)])?_0x372b83=FetchUtils_1_1[_0x12c22b(0x15e)][_0x12c22b(0x159)](Buffer[_0x12c22b(0x160)](_0x301fff[_0x12c22b(0x148)],'binary'),_0x301fff[_0x12c22b(0x16c)]['content-encoding'])[_0x12c22b(0x158)]():_0x372b83=Buffer[_0x12c22b(0x160)](_0x301fff['data'],'binary')[_0x12c22b(0x158)](),JSON[_0x12c22b(0x144)](_0x372b83[_0x12c22b(0x152)]());}catch(_0x13f906){throw new CustomError_1[(_0x12c22b(0x164))]({'code':0xbbd,'message':_0x12c22b(0x156),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x5fe9a5){const _0x1ef3d9=_0x4e3a6a,_0x164762=await loadFileString(_0x5fe9a5['toString']());return JSON[_0x1ef3d9(0x144)](_0x164762);}async function loadImageFromNet(_0x337ccb){const _0x44e8b8=_0x4e3a6a,_0x5b270d=await FetchUtils_1_1['fetchUtils'][_0x44e8b8(0x161)](_0x337ccb,{'encoding':'binary'});if(_0x5b270d['status']!==0xc8)throw new CustomError_1[(_0x44e8b8(0x164))]({'code':0x7d2,'message':_0x44e8b8(0x146)+_0x5b270d[_0x44e8b8(0x14e)],'message_staring_params':{'icon_url':_0x337ccb,'status':_0x5b270d[_0x44e8b8(0x14e)]}});const _0x2469f6=_0x5b270d[_0x44e8b8(0x16c)]['get']?_0x5b270d['headers'][_0x44e8b8(0x140)](_0x44e8b8(0x165)):_0x5b270d[_0x44e8b8(0x16c)][_0x44e8b8(0x165)];if(!(_0x2469f6===null||_0x2469f6===void 0x0?void 0x0:_0x2469f6[_0x44e8b8(0x13f)](_0x44e8b8(0x15a))))throw new CustomError_1[(_0x44e8b8(0x164))]({'code':0x7d3,'message':_0x44e8b8(0x168)+(_0x44e8b8(0x166)+_0x2469f6+'\x22'),'message_staring_params':{'icon_url':_0x337ccb,'contentType':_0x2469f6}});let _0x24aaea;_0x5b270d['arrayBuffer']?_0x24aaea=await _0x5b270d[_0x44e8b8(0x143)]():[_0x44e8b8(0x14f),_0x44e8b8(0x155),'br'][_0x44e8b8(0x163)](_0x5b270d['headers'][_0x44e8b8(0x13e)])?_0x24aaea=FetchUtils_1_1[_0x44e8b8(0x15e)][_0x44e8b8(0x159)](Buffer[_0x44e8b8(0x160)](_0x5b270d[_0x44e8b8(0x148)],'binary'),_0x5b270d['headers'][_0x44e8b8(0x13e)]):_0x24aaea=Buffer[_0x44e8b8(0x160)](_0x5b270d[_0x44e8b8(0x148)],_0x44e8b8(0x16a));if(_0x2469f6[_0x44e8b8(0x13f)]('image/svg')){const _0x5dc058=new TextDecoder();try{_0x24aaea=await imageHelper_1['ImageHelper']['svg2img'](_0x5dc058['decode'](_0x24aaea));}catch(_0x48de15){throw new CustomError_1[(_0x44e8b8(0x164))]({'code':0x7d4,'message':_0x44e8b8(0x15c)+_0x337ccb+':\x20'+_0x48de15,'message_staring_params':{'icon_url':_0x337ccb,'error':_0x48de15}});}}return _0x2469f6[_0x44e8b8(0x13f)]('image/webp')&&(_0x24aaea=await imageHelper_1['ImageHelper'][_0x44e8b8(0x142)](_0x24aaea)),await Jimp[_0x44e8b8(0x14b)](Buffer[_0x44e8b8(0x160)](_0x24aaea));}async function loadImageFromDisk(_0x1df7fb){const _0x4716c0=_0x4e3a6a;return await Jimp[_0x4716c0(0x14b)](_0x1df7fb);}async function loadFileString(_0x58860c){const _0x3edd05=_0x4e3a6a;let _0x2ac2a7=await fs[_0x3edd05(0x16e)][_0x3edd05(0x157)](_0x58860c[_0x3edd05(0x158)]());return _0x2ac2a7[_0x3edd05(0x158)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x439221=_0x3e31;(function(_0x5e939f,_0x22ce8f){var _0x324898=_0x3e31,_0x3fd0f2=_0x5e939f();while(!![]){try{var _0x128367=parseInt(_0x324898(0x17c))/0x1*(parseInt(_0x324898(0x18c))/0x2)+parseInt(_0x324898(0x183))/0x3*(-parseInt(_0x324898(0x17a))/0x4)+-parseInt(_0x324898(0x181))/0x5*(-parseInt(_0x324898(0x18a))/0x6)+-parseInt(_0x324898(0x187))/0x7*(-parseInt(_0x324898(0x185))/0x8)+parseInt(_0x324898(0x17b))/0x9+-parseInt(_0x324898(0x18b))/0xa*(-parseInt(_0x324898(0x182))/0xb)+-parseInt(_0x324898(0x180))/0xc*(parseInt(_0x324898(0x188))/0xd);if(_0x128367===_0x22ce8f)break;else _0x3fd0f2['push'](_0x3fd0f2['shift']());}catch(_0x5d0be3){_0x3fd0f2['push'](_0x3fd0f2['shift']());}}}(_0x2d34,0x196e2));function _0x2d34(){var _0x397ecf=['stringify','90223oMHImz','5253222odcLTn','CustomError','12162OjeCJV','51380GAdXDE','358724wzuOzd','4hbIkRj','1228149oWurPU','1kdhlpz','info','customMessage','type','12CvjCWp','25XLzZee','55IBdTSq','110181wnBeId','defineProperty','120fabkNj'];_0x2d34=function(){return _0x397ecf;};return _0x2d34();}Object[_0x439221(0x184)](exports,'__esModule',{'value':!![]}),exports[_0x439221(0x189)]=void 0x0;function _0x3e31(_0x1172ef,_0xfdacbf){var _0x2d349b=_0x2d34();return _0x3e31=function(_0x3e311c,_0x443a38){_0x3e311c=_0x3e311c-0x17a;var _0x285c3c=_0x2d349b[_0x3e311c];return _0x285c3c;},_0x3e31(_0x1172ef,_0xfdacbf);}class CustomError extends Error{constructor(_0x13a392,_0x53fe5b){var _0x437bc8=_0x439221;super(JSON[_0x437bc8(0x186)](_0x13a392)),this[_0x437bc8(0x17e)]=_0x13a392,this[_0x437bc8(0x17f)]=_0x53fe5b||_0x437bc8(0x17d);}}exports[_0x439221(0x189)]=CustomError;
1
+ 'use strict';var _0x2b78aa=_0x5782;(function(_0x505e97,_0x1546e6){var _0xa267fb=_0x5782,_0x46cedc=_0x505e97();while(!![]){try{var _0x243979=-parseInt(_0xa267fb(0x1be))/0x1+parseInt(_0xa267fb(0x1b2))/0x2*(-parseInt(_0xa267fb(0x1b7))/0x3)+parseInt(_0xa267fb(0x1b6))/0x4+parseInt(_0xa267fb(0x1b5))/0x5*(parseInt(_0xa267fb(0x1b3))/0x6)+parseInt(_0xa267fb(0x1ba))/0x7*(parseInt(_0xa267fb(0x1c1))/0x8)+-parseInt(_0xa267fb(0x1b4))/0x9*(parseInt(_0xa267fb(0x1c0))/0xa)+parseInt(_0xa267fb(0x1bb))/0xb;if(_0x243979===_0x1546e6)break;else _0x46cedc['push'](_0x46cedc['shift']());}catch(_0x4613bb){_0x46cedc['push'](_0x46cedc['shift']());}}}(_0x1872,0x6d76d));Object['defineProperty'](exports,_0x2b78aa(0x1bc),{'value':!![]}),exports[_0x2b78aa(0x1b1)]=void 0x0;class CustomError extends Error{constructor(_0x34b7ee,_0x250669){var _0xed99c6=_0x2b78aa;super(JSON[_0xed99c6(0x1b8)](_0x34b7ee)),this[_0xed99c6(0x1bf)]=_0x34b7ee,this[_0xed99c6(0x1b9)]=_0x250669||_0xed99c6(0x1bd);}}exports[_0x2b78aa(0x1b1)]=CustomError;function _0x5782(_0x297f5d,_0x3ca1e7){var _0x18720d=_0x1872();return _0x5782=function(_0x5782cf,_0x2c4eb6){_0x5782cf=_0x5782cf-0x1b1;var _0x7a3ad4=_0x18720d[_0x5782cf];return _0x7a3ad4;},_0x5782(_0x297f5d,_0x3ca1e7);}function _0x1872(){var _0x579559=['12229HottMQ','7127758GAIVwa','__esModule','info','846492zsJPzE','customMessage','913070BMcyXR','272Pwxdly','CustomError','4700oDpCcf','222zuPuru','18rBSTrF','103595xuGXVZ','1245368PxhJyt','393MMyFTI','stringify','type'];_0x1872=function(){return _0x579559;};return _0x1872();}
@@ -1 +1 @@
1
- 'use strict';const _0x3dcbd8=_0x23eb;(function(_0x3ff1ce,_0x18642d){const _0x4f637d=_0x23eb,_0x49c1b3=_0x3ff1ce();while(!![]){try{const _0x4ffd8e=-parseInt(_0x4f637d(0x1a9))/0x1+parseInt(_0x4f637d(0x1a7))/0x2*(-parseInt(_0x4f637d(0x1a0))/0x3)+-parseInt(_0x4f637d(0x19b))/0x4+parseInt(_0x4f637d(0x19c))/0x5+parseInt(_0x4f637d(0x1a4))/0x6+-parseInt(_0x4f637d(0x1aa))/0x7*(parseInt(_0x4f637d(0x1ad))/0x8)+parseInt(_0x4f637d(0x1a8))/0x9*(parseInt(_0x4f637d(0x1a3))/0xa);if(_0x4ffd8e===_0x18642d)break;else _0x49c1b3['push'](_0x49c1b3['shift']());}catch(_0x98ad2c){_0x49c1b3['push'](_0x49c1b3['shift']());}}}(_0x4d38,0xa0599));Object[_0x3dcbd8(0x19a)](exports,_0x3dcbd8(0x1a6),{'value':!![]}),exports[_0x3dcbd8(0x1a5)]=void 0x0;class FetchUtils{constructor(){const _0x23e519=_0x3dcbd8;this[_0x23e519(0x19f)]=null,this[_0x23e519(0x1a2)]=null,this[_0x23e519(0x19d)]=null,this[_0x23e519(0x1ab)]=null;}[_0x3dcbd8(0x1a1)](_0x9c8e9c){const _0x1e5c0f=_0x3dcbd8;this[_0x1e5c0f(0x19f)]=_0x9c8e9c;}['setFetch'](_0x143031){const _0x29054d=_0x3dcbd8;this[_0x29054d(0x1a2)]=_0x143031;}[_0x3dcbd8(0x19e)](_0x338093){const _0x52f24e=_0x3dcbd8;this[_0x52f24e(0x19d)]=_0x338093;}[_0x3dcbd8(0x1ac)](_0xa6f96d){const _0x5a16ff=_0x3dcbd8;this[_0x5a16ff(0x1ab)]=_0xa6f96d;}}const fetchUtils=new FetchUtils();exports[_0x3dcbd8(0x1a5)]=fetchUtils;function _0x23eb(_0x3cd5cc,_0x183485){const _0x4d3845=_0x4d38();return _0x23eb=function(_0x23eb1f,_0x24eecf){_0x23eb1f=_0x23eb1f-0x19a;let _0x2dfc6e=_0x4d3845[_0x23eb1f];return _0x2dfc6e;},_0x23eb(_0x3cd5cc,_0x183485);}function _0x4d38(){const _0xe434ff=['1093093LxPlvC','1024849pdBECs','decompressResponseBuffer','setDecompressResponseBuffer','24fTYJxt','defineProperty','2459480jahiHt','732200CUSjQa','downloadFile','setDownloadFile','fetchEngine','2051604DeMOul','setFetchEngine','fetch','1220vTWhot','430098llcgVI','fetchUtils','__esModule','2ikNwgN','241209TLKfCZ'];_0x4d38=function(){return _0xe434ff;};return _0x4d38();}
1
+ 'use strict';const _0x596eac=_0xf944;(function(_0x3571be,_0x45b98c){const _0x4dce62=_0xf944,_0x3e8aa0=_0x3571be();while(!![]){try{const _0x4fbb0c=-parseInt(_0x4dce62(0x137))/0x1+parseInt(_0x4dce62(0x132))/0x2+-parseInt(_0x4dce62(0x134))/0x3+-parseInt(_0x4dce62(0x12d))/0x4+-parseInt(_0x4dce62(0x139))/0x5+-parseInt(_0x4dce62(0x12b))/0x6*(parseInt(_0x4dce62(0x133))/0x7)+parseInt(_0x4dce62(0x130))/0x8;if(_0x4fbb0c===_0x45b98c)break;else _0x3e8aa0['push'](_0x3e8aa0['shift']());}catch(_0x107e0a){_0x3e8aa0['push'](_0x3e8aa0['shift']());}}}(_0x46f6,0x2acfc));function _0x46f6(){const _0x552e43=['setFetch','693202XofjwZ','7PfVZXg','121125YBWnkG','setDecompressResponseBuffer','fetch','106538GxMZzv','downloadFile','520060vwVwgp','setDownloadFile','decompressResponseBuffer','1333704RVOLRd','defineProperty','195244rmeZNw','fetchUtils','fetchEngine','2806200kAAPlA'];_0x46f6=function(){return _0x552e43;};return _0x46f6();}Object[_0x596eac(0x12c)](exports,'__esModule',{'value':!![]}),exports[_0x596eac(0x12e)]=void 0x0;class FetchUtils{constructor(){const _0x57aa81=_0x596eac;this[_0x57aa81(0x12f)]=null,this[_0x57aa81(0x136)]=null,this[_0x57aa81(0x138)]=null,this[_0x57aa81(0x12a)]=null;}['setFetchEngine'](_0x386b33){const _0x37fe6a=_0x596eac;this[_0x37fe6a(0x12f)]=_0x386b33;}[_0x596eac(0x131)](_0x133eec){const _0x861b1a=_0x596eac;this[_0x861b1a(0x136)]=_0x133eec;}[_0x596eac(0x13a)](_0x3d702a){const _0x43535a=_0x596eac;this[_0x43535a(0x138)]=_0x3d702a;}[_0x596eac(0x135)](_0x4c6cc1){const _0x402977=_0x596eac;this[_0x402977(0x12a)]=_0x4c6cc1;}}function _0xf944(_0x1053ed,_0x2f97d2){const _0x46f6bf=_0x46f6();return _0xf944=function(_0xf9444f,_0x137a87){_0xf9444f=_0xf9444f-0x12a;let _0x20f412=_0x46f6bf[_0xf9444f];return _0x20f412;},_0xf944(_0x1053ed,_0x2f97d2);}const fetchUtils=new FetchUtils();exports[_0x596eac(0x12e)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x376001=_0x3c9c;(function(_0x3d71d2,_0x2fff67){var _0x19c67c=_0x3c9c,_0x48ef95=_0x3d71d2();while(!![]){try{var _0x58c32f=parseInt(_0x19c67c(0x20c))/0x1*(-parseInt(_0x19c67c(0x1fd))/0x2)+parseInt(_0x19c67c(0x1f8))/0x3+-parseInt(_0x19c67c(0x212))/0x4*(-parseInt(_0x19c67c(0x210))/0x5)+-parseInt(_0x19c67c(0x201))/0x6*(-parseInt(_0x19c67c(0x204))/0x7)+parseInt(_0x19c67c(0x1f5))/0x8*(-parseInt(_0x19c67c(0x208))/0x9)+parseInt(_0x19c67c(0x1fc))/0xa+-parseInt(_0x19c67c(0x1f6))/0xb;if(_0x58c32f===_0x2fff67)break;else _0x48ef95['push'](_0x48ef95['shift']());}catch(_0x214a81){_0x48ef95['push'](_0x48ef95['shift']());}}}(_0x2014,0x301ab));function _0x3c9c(_0x4fdc75,_0x3d18a8){var _0x2014d0=_0x2014();return _0x3c9c=function(_0x3c9cc2,_0x15e572){_0x3c9cc2=_0x3c9cc2-0x1f1;var _0x22dedd=_0x2014d0[_0x3c9cc2];return _0x22dedd;},_0x3c9c(_0x4fdc75,_0x3d18a8);}Object[_0x376001(0x209)](exports,_0x376001(0x1f9),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x21b4e3='',_0x204d81=![],_0x258105=console){var _0x5268c8=_0x376001;this[_0x5268c8(0x205)]=_0x21b4e3,this['verbose']=_0x204d81,this[_0x5268c8(0x1fe)]=this['inverse'](_0x21b4e3),this['output']=_0x258105;}[_0x376001(0x1f1)](_0x50002e,..._0x423233){var _0x75a3c9=_0x376001;if(!this[_0x75a3c9(0x202)])return;this[_0x75a3c9(0x200)](this['output'][_0x75a3c9(0x200)],this[_0x75a3c9(0x20f)](_0x50002e),..._0x423233);}['info'](_0x44a105,..._0x28654d){var _0x1016d7=_0x376001;this[_0x1016d7(0x200)](this[_0x1016d7(0x1f3)][_0x1016d7(0x200)],_0x44a105,..._0x28654d);}[_0x376001(0x1f4)](_0x550303,..._0x10752b){var _0x4d42a9=_0x376001;this[_0x4d42a9(0x200)](this['output']['warn'],this[_0x4d42a9(0x1fb)](_0x4d42a9(0x20d)+_0x550303),..._0x10752b);}[_0x376001(0x1ff)](_0x53c44d,..._0x315a14){var _0x5d2c0b=_0x376001;this['output'][_0x5d2c0b(0x1ff)]('\x0a'),this[_0x5d2c0b(0x200)](this[_0x5d2c0b(0x1f3)][_0x5d2c0b(0x1ff)],this[_0x5d2c0b(0x20e)](_0x5d2c0b(0x1f2)+_0x53c44d),..._0x315a14),this[_0x5d2c0b(0x1f3)][_0x5d2c0b(0x1ff)]('\x0a');}[_0x376001(0x207)](_0x58c293){var _0x3ce7a3=_0x376001;this[_0x3ce7a3(0x202)]=_0x58c293;}[_0x376001(0x211)](_0x2dbde6){var _0x5e114f=_0x376001;return this[_0x5e114f(0x205)]&&(_0x2dbde6=this[_0x5e114f(0x205)]+'\x20'+_0x2dbde6),new ConsoleLog(_0x2dbde6,this[_0x5e114f(0x202)],this[_0x5e114f(0x1f3)]);}[_0x376001(0x200)](_0x3ff966,_0x364e9b,..._0x1e4387){var _0x528a5d=_0x376001;this[_0x528a5d(0x1fe)]&&(_0x364e9b=this[_0x528a5d(0x1fe)]+'\x20'+_0x364e9b),_0x1e4387?_0x3ff966(...[_0x364e9b][_0x528a5d(0x20b)](_0x1e4387)):_0x3ff966(_0x364e9b);}[_0x376001(0x203)](_0x476022){var _0x463322=_0x376001;return _0x463322(0x1fa)+_0x476022+_0x463322(0x1f7);}['dim'](_0x13efdf){var _0x53a81f=_0x376001;return'\x1b[36m'+_0x13efdf+_0x53a81f(0x1f7);}[_0x376001(0x1fb)](_0x4c3649){var _0x1442f6=_0x376001;return'\x1b[33m'+_0x4c3649+_0x1442f6(0x1f7);}[_0x376001(0x20e)](_0x1b8723){var _0x233aee=_0x376001;return _0x233aee(0x20a)+_0x1b8723+_0x233aee(0x1f7);}}exports[_0x376001(0x206)]=ConsoleLog;function _0x2014(){var _0x121245=['concat','493EUnWaq','WARNING\x20','red','dim','5mzSJVC','newLog','1234348Flokix','debug','ERROR\x20','output','warn','24712EeitHn','6672941zmLvcC','\x1b[0m','873300qCTozR','__esModule','\x1b[7m','yellow','3830780abtxbO','278RLWZxu','prefix','error','log','161892OAZLHd','verbose','inverse','21GgtJHz','tag','ConsoleLog','setVerbose','558FQLFRS','defineProperty','\x1b[31m'];_0x2014=function(){return _0x121245;};return _0x2014();}
1
+ 'use strict';var _0x32ddf2=_0x4172;(function(_0xd35686,_0x5f51){var _0x482312=_0x4172,_0x7a65c3=_0xd35686();while(!![]){try{var _0x11a2e1=-parseInt(_0x482312(0x17f))/0x1*(parseInt(_0x482312(0x19a))/0x2)+-parseInt(_0x482312(0x192))/0x3+-parseInt(_0x482312(0x17e))/0x4+parseInt(_0x482312(0x185))/0x5+parseInt(_0x482312(0x17d))/0x6*(-parseInt(_0x482312(0x18e))/0x7)+-parseInt(_0x482312(0x19b))/0x8+-parseInt(_0x482312(0x196))/0x9*(-parseInt(_0x482312(0x187))/0xa);if(_0x11a2e1===_0x5f51)break;else _0x7a65c3['push'](_0x7a65c3['shift']());}catch(_0x334f72){_0x7a65c3['push'](_0x7a65c3['shift']());}}}(_0x4f7e,0xe45a9));Object[_0x32ddf2(0x183)](exports,_0x32ddf2(0x184),{'value':!![]}),exports[_0x32ddf2(0x18c)]=void 0x0;class ConsoleLog{constructor(_0x3d52df='',_0x230e0d=![],_0x49d8e8=console){var _0x2ac515=_0x32ddf2;this[_0x2ac515(0x19c)]=_0x3d52df,this[_0x2ac515(0x17c)]=_0x230e0d,this[_0x2ac515(0x182)]=this[_0x2ac515(0x193)](_0x3d52df),this[_0x2ac515(0x191)]=_0x49d8e8;}[_0x32ddf2(0x197)](_0xb386e2,..._0x44b580){var _0x62f6b=_0x32ddf2;if(!this[_0x62f6b(0x17c)])return;this[_0x62f6b(0x195)](this['output'][_0x62f6b(0x195)],this[_0x62f6b(0x18a)](_0xb386e2),..._0x44b580);}[_0x32ddf2(0x181)](_0x56b1a8,..._0x516b09){var _0x1f69e8=_0x32ddf2;this[_0x1f69e8(0x195)](this[_0x1f69e8(0x191)][_0x1f69e8(0x195)],_0x56b1a8,..._0x516b09);}[_0x32ddf2(0x180)](_0x41cc08,..._0x2e3698){var _0x6d4a8e=_0x32ddf2;this[_0x6d4a8e(0x195)](this['output']['warn'],this[_0x6d4a8e(0x18b)](_0x6d4a8e(0x194)+_0x41cc08),..._0x2e3698);}['error'](_0x5dc00c,..._0x3eaa4c){var _0x397b1f=_0x32ddf2;this[_0x397b1f(0x191)][_0x397b1f(0x189)]('\x0a'),this[_0x397b1f(0x195)](this[_0x397b1f(0x191)][_0x397b1f(0x189)],this[_0x397b1f(0x186)]('ERROR\x20'+_0x5dc00c),..._0x3eaa4c),this[_0x397b1f(0x191)]['error']('\x0a');}[_0x32ddf2(0x18f)](_0x3566b0){var _0x229171=_0x32ddf2;this[_0x229171(0x17c)]=_0x3566b0;}['newLog'](_0xd4e6cb){var _0x4540a8=_0x32ddf2;return this[_0x4540a8(0x19c)]&&(_0xd4e6cb=this['tag']+'\x20'+_0xd4e6cb),new ConsoleLog(_0xd4e6cb,this['verbose'],this['output']);}[_0x32ddf2(0x195)](_0x205584,_0x36f4bc,..._0x1166cd){var _0x4caf01=_0x32ddf2;this[_0x4caf01(0x182)]&&(_0x36f4bc=this['prefix']+'\x20'+_0x36f4bc),_0x1166cd?_0x205584(...[_0x36f4bc][_0x4caf01(0x198)](_0x1166cd)):_0x205584(_0x36f4bc);}['inverse'](_0x196875){var _0x45184b=_0x32ddf2;return _0x45184b(0x190)+_0x196875+_0x45184b(0x18d);}[_0x32ddf2(0x18a)](_0x461c0e){var _0x5cd47d=_0x32ddf2;return _0x5cd47d(0x188)+_0x461c0e+_0x5cd47d(0x18d);}[_0x32ddf2(0x18b)](_0x314ff6){var _0x571e75=_0x32ddf2;return'\x1b[33m'+_0x314ff6+_0x571e75(0x18d);}['red'](_0x4c36b9){var _0x160005=_0x32ddf2;return _0x160005(0x199)+_0x4c36b9+'\x1b[0m';}}function _0x4172(_0x18cda8,_0x4ca0b8){var _0x4f7e65=_0x4f7e();return _0x4172=function(_0x417211,_0x2aba2c){_0x417211=_0x417211-0x17c;var _0x826df9=_0x4f7e65[_0x417211];return _0x826df9;},_0x4172(_0x18cda8,_0x4ca0b8);}function _0x4f7e(){var _0x3eaeb7=['7939955XOXEel','red','140750xWEKjy','\x1b[36m','error','dim','yellow','ConsoleLog','\x1b[0m','63WeLNrs','setVerbose','\x1b[7m','output','795675qqIPuz','inverse','WARNING\x20','log','2277jxIUlu','debug','concat','\x1b[31m','62nOzhlG','6401184lgDVMR','tag','verbose','620058PFbudP','3592384XDruUr','42583FgQNRS','warn','info','prefix','defineProperty','__esModule'];_0x4f7e=function(){return _0x3eaeb7;};return _0x4f7e();}exports[_0x32ddf2(0x18c)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x3bf2eb=_0xad24;(function(_0x1a5fe0,_0x4e3ac6){const _0x62f9e3=_0xad24,_0x424c54=_0x1a5fe0();while(!![]){try{const _0x40a377=parseInt(_0x62f9e3(0xaa))/0x1*(parseInt(_0x62f9e3(0xbb))/0x2)+-parseInt(_0x62f9e3(0xab))/0x3*(-parseInt(_0x62f9e3(0xbd))/0x4)+parseInt(_0x62f9e3(0xa5))/0x5+-parseInt(_0x62f9e3(0x9f))/0x6+-parseInt(_0x62f9e3(0xac))/0x7+-parseInt(_0x62f9e3(0xa3))/0x8+parseInt(_0x62f9e3(0xa2))/0x9*(parseInt(_0x62f9e3(0xa9))/0xa);if(_0x40a377===_0x4e3ac6)break;else _0x424c54['push'](_0x424c54['shift']());}catch(_0x49b88f){_0x424c54['push'](_0x424c54['shift']());}}}(_0x3dc1,0xedd0d));function _0xad24(_0x377df3,_0x53623f){const _0x3dc159=_0x3dc1();return _0xad24=function(_0xad2495,_0x18037e){_0xad2495=_0xad2495-0x9f;let _0x472635=_0x3dc159[_0xad2495];return _0x472635;},_0xad24(_0x377df3,_0x53623f);}Object[_0x3bf2eb(0xb7)](exports,'__esModule',{'value':!![]}),exports[_0x3bf2eb(0xaf)]=fetch,exports[_0x3bf2eb(0xae)]=downloadFile,exports[_0x3bf2eb(0xb1)]=decompressResponseBuffer;const fetch_h2_1=require(_0x3bf2eb(0xb6)),fs=require('fs'),zlib=require('zlib'),userAgent='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',fetchh2Ctx=(0x0,fetch_h2_1[_0x3bf2eb(0xb2)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x3bf2eb(0xaf)];async function fetch(_0x2d4ada,_0x1af427){const _0x5eaa42=_0x3bf2eb;return await fetchh2(_0x2d4ada,_0x1af427?{'redirect':_0x5eaa42(0xb3),..._0x1af427}:{'redirect':_0x5eaa42(0xb3)});}async function downloadFile(_0x4ed526,_0x3a9e25,_0x2414a4){const _0x5b928d=_0x3bf2eb;let _0x31aca9,_0x17d6dd;_0x31aca9=await fetchh2(_0x4ed526,{'redirect':_0x5b928d(0xb3)}),_0x17d6dd=await _0x31aca9[_0x5b928d(0xa6)]();const _0x190b82=_0x31aca9[_0x5b928d(0xba)][_0x5b928d(0xb8)](_0x5b928d(0xad)),_0x3b5470=_0x190b82?parseInt(_0x190b82):-0x1,_0x613b1f=fs[_0x5b928d(0xbc)](_0x3a9e25);let _0x18cdd0=0x0;await new Promise((_0x41efd8,_0x2c9e08)=>{const _0x1e6170=_0x5b928d;_0x17d6dd[_0x1e6170(0xb9)](_0x613b1f),_0x2414a4&&_0x17d6dd['on'](_0x1e6170(0xa4),_0xe2ff73=>{const _0x523322=_0x1e6170;_0x18cdd0=_0x18cdd0+_0xe2ff73[_0x523322(0xa7)],_0x2414a4(_0x18cdd0,_0x3b5470);}),_0x17d6dd['on'](_0x1e6170(0xb5),_0x6e24d3=>{_0x2c9e08(_0x6e24d3);}),_0x613b1f['on'](_0x1e6170(0xa1),()=>{_0x41efd8();});});}function decompressResponseBuffer(_0x19415e,_0x546976){const _0x1b01bd=_0x3bf2eb;let _0x155681=_0x19415e;if(/\bgzip\b/[_0x1b01bd(0xa8)](_0x546976)||/\bdeflate\b/[_0x1b01bd(0xa8)](_0x546976))_0x155681=zlib[_0x1b01bd(0xa0)](_0x19415e,{'flush':zlib['constants']['Z_SYNC_FLUSH'],'finishFlush':zlib['constants'][_0x1b01bd(0xb0)]});else/\bbr\b/[_0x1b01bd(0xa8)](_0x546976)&&(_0x155681=zlib[_0x1b01bd(0xb4)](_0x19415e));return _0x155681;}function _0x3dc1(){const _0x1a2007=['5019161eFlngZ','Content-Length','downloadFile','fetch','Z_SYNC_FLUSH','decompressResponseBuffer','context','follow','brotliDecompressSync','error','fetch-h2','defineProperty','get','pipe','headers','9850rfiwIA','createWriteStream','328CdsRET','7622694DmSUGy','unzipSync','finish','95211SvFBNu','6609712KRBsAx','data','3940625bCmCoO','readable','length','test','590HNHdbP','335pHBhWr','26547XiOlNG'];_0x3dc1=function(){return _0x1a2007;};return _0x3dc1();}
1
+ 'use strict';function _0x3e92(_0x5044c1,_0x197eee){const _0x488f16=_0x488f();return _0x3e92=function(_0x3e9272,_0x2b00ba){_0x3e9272=_0x3e9272-0xed;let _0x120c3f=_0x488f16[_0x3e9272];return _0x120c3f;},_0x3e92(_0x5044c1,_0x197eee);}const _0x58e665=_0x3e92;(function(_0x5ded20,_0x35cc0b){const _0x52909f=_0x3e92,_0x54969e=_0x5ded20();while(!![]){try{const _0x492bdd=-parseInt(_0x52909f(0x106))/0x1+parseInt(_0x52909f(0x10c))/0x2+-parseInt(_0x52909f(0xf9))/0x3*(-parseInt(_0x52909f(0xff))/0x4)+-parseInt(_0x52909f(0xfa))/0x5*(parseInt(_0x52909f(0xf5))/0x6)+-parseInt(_0x52909f(0x10d))/0x7+-parseInt(_0x52909f(0x100))/0x8+parseInt(_0x52909f(0xf6))/0x9*(parseInt(_0x52909f(0x109))/0xa);if(_0x492bdd===_0x35cc0b)break;else _0x54969e['push'](_0x54969e['shift']());}catch(_0x1577d3){_0x54969e['push'](_0x54969e['shift']());}}}(_0x488f,0xa2ec9));function _0x488f(){const _0x494ef4=['Content-Length','error','createWriteStream','3774KFtDWT','16482438XKIsqd','length','Z_SYNC_FLUSH','518988FxQDse','5685FDgYdj','decompressResponseBuffer','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','readable','get','12hzAjzG','7501168gSljxT','defineProperty','data','fetch-h2','headers','unzipSync','1218833iDMfHV','downloadFile','context','20DOrpMY','__esModule','finish','443976DBGLQK','6053257XFWGFH','pipe','follow','constants','brotliDecompressSync','test','zlib'];_0x488f=function(){return _0x494ef4;};return _0x488f();}Object[_0x58e665(0x101)](exports,_0x58e665(0x10a),{'value':!![]}),exports['fetch']=fetch,exports[_0x58e665(0x107)]=downloadFile,exports[_0x58e665(0xfb)]=decompressResponseBuffer;const fetch_h2_1=require(_0x58e665(0x103)),fs=require('fs'),zlib=require(_0x58e665(0xf1)),userAgent=_0x58e665(0xfc),fetchh2Ctx=(0x0,fetch_h2_1[_0x58e665(0x108)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x5c84a4,_0x48b073){const _0x5c13a1=_0x58e665;return await fetchh2(_0x5c84a4,_0x48b073?{'redirect':_0x5c13a1(0xed),..._0x48b073}:{'redirect':'follow'});}async function downloadFile(_0x467026,_0x36c941,_0x3bf4ff){const _0x241855=_0x58e665;let _0x25611b,_0x483c89;_0x25611b=await fetchh2(_0x467026,{'redirect':_0x241855(0xed)}),_0x483c89=await _0x25611b[_0x241855(0xfd)]();const _0xd497ed=_0x25611b[_0x241855(0x104)][_0x241855(0xfe)](_0x241855(0xf2)),_0x3d7c54=_0xd497ed?parseInt(_0xd497ed):-0x1,_0xe29ff4=fs[_0x241855(0xf4)](_0x36c941);let _0x33496a=0x0;await new Promise((_0x392807,_0x13ba2f)=>{const _0x15786e=_0x241855;_0x483c89[_0x15786e(0x10e)](_0xe29ff4),_0x3bf4ff&&_0x483c89['on'](_0x15786e(0x102),_0x1e48be=>{const _0x2cc056=_0x15786e;_0x33496a=_0x33496a+_0x1e48be[_0x2cc056(0xf7)],_0x3bf4ff(_0x33496a,_0x3d7c54);}),_0x483c89['on'](_0x15786e(0xf3),_0xfb2873=>{_0x13ba2f(_0xfb2873);}),_0xe29ff4['on'](_0x15786e(0x10b),()=>{_0x392807();});});}function decompressResponseBuffer(_0x4ffa44,_0x21ec20){const _0x30e339=_0x58e665;let _0x577bbe=_0x4ffa44;if(/\bgzip\b/['test'](_0x21ec20)||/\bdeflate\b/[_0x30e339(0xf0)](_0x21ec20))_0x577bbe=zlib[_0x30e339(0x105)](_0x4ffa44,{'flush':zlib[_0x30e339(0xee)][_0x30e339(0xf8)],'finishFlush':zlib[_0x30e339(0xee)]['Z_SYNC_FLUSH']});else/\bbr\b/[_0x30e339(0xf0)](_0x21ec20)&&(_0x577bbe=zlib[_0x30e339(0xef)](_0x4ffa44));return _0x577bbe;}
@@ -1 +1 @@
1
- 'use strict';function _0x33f0(_0x108b65,_0x3aefa2){const _0x1c06a1=_0x1c06();return _0x33f0=function(_0x33f068,_0x2972f8){_0x33f068=_0x33f068-0x1aa;let _0x30bf66=_0x1c06a1[_0x33f068];return _0x30bf66;},_0x33f0(_0x108b65,_0x3aefa2);}const _0x5ac3fe=_0x33f0;(function(_0x215be1,_0xc789e3){const _0x28c56c=_0x33f0,_0x10be18=_0x215be1();while(!![]){try{const _0x3c4b1d=-parseInt(_0x28c56c(0x1ce))/0x1*(parseInt(_0x28c56c(0x1e8))/0x2)+-parseInt(_0x28c56c(0x1c2))/0x3*(parseInt(_0x28c56c(0x1c9))/0x4)+-parseInt(_0x28c56c(0x1cc))/0x5+parseInt(_0x28c56c(0x1d5))/0x6+-parseInt(_0x28c56c(0x1d7))/0x7+parseInt(_0x28c56c(0x1e3))/0x8*(parseInt(_0x28c56c(0x1aa))/0x9)+parseInt(_0x28c56c(0x1da))/0xa;if(_0x3c4b1d===_0xc789e3)break;else _0x10be18['push'](_0x10be18['shift']());}catch(_0x339692){_0x10be18['push'](_0x10be18['shift']());}}}(_0x1c06,0xc6770));Object[_0x5ac3fe(0x1db)](exports,'__esModule',{'value':!![]}),exports[_0x5ac3fe(0x1d1)]=void 0x0;function _0x1c06(){const _0x256481=['https://play.google.com/console/about/families/','\x22.\x0a','WARNING:\x20','Organization\x20(eg:\x20Company\x20Name):','\x20but\x20input\x20is\x20','63584hTYSfL','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','license\x20agreement.','647875hfeLRw','underline','32304SBJxZU','Decompressing\x20the\x20JDK\x2011\x20Sources...','redirected\x20to\x20','messages','--url','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','yellow','1732422qlGMjk','--manifest-url','4963917epRvzU','https://developer.android.com/studio/terms.html','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','23433870UrAcje','defineProperty','Country\x20(2\x20letter\x20code):','bold','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Downloading\x20the\x20Android\x20SDK...','\x20or\x20','Downloading\x20JDK\x2011\x20to\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','841688TpyRhR','Generating\x20Android\x20Project.','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Invalid\x20URL:\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','54uQRhRd','Invalid\x20integer\x20provided:\x20','90xyVjXg','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','(5/5)','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)','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x0aProject\x20generated\x20successfully.','\x20URL\x20','colors','\x20and\x20alias\x20','\x0aSigning\x20key\x20creation','Invalid\x20icon\x20path:\x20','URL\x20','Downloading\x20Android\x20SDK\x20to\x20','Missing\x20required\x20parameter\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Decompressing\x20the\x20Android\x20SDK...','Downloading\x20the\x20JDK\x2011\x20Sources...','cyan','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x20can\x20not\x20be\x20accessible.','219oxXOfO','\x09-\x20Generated\x20Android\x20APK\x20at\x20'];_0x1c06=function(){return _0x256481;};return _0x1c06();}const colors_1=require(_0x5ac3fe(0x1b2));exports['messages']={'promptInstallJdk':'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)','promptJdkPath':_0x5ac3fe(0x1e7),'messageDownloadJdk':_0x5ac3fe(0x1e1),'messageDownloadJdkSrc':_0x5ac3fe(0x1bb),'messageDecompressJdkSrc':_0x5ac3fe(0x1cf),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x5ac3fe(0x1ae),'promptInstallSdk':_0x5ac3fe(0x1ad),'promptSdkPath':'Path\x20to\x20your\x20existing\x20Android\x20SDK:','messageDownloadSdk':_0x5ac3fe(0x1b7),'errorSdkTerms':_0x5ac3fe(0x1bd),'promptSdkTerms':_0x5ac3fe(0x1bf)+(0x0,colors_1[_0x5ac3fe(0x1cd)])(_0x5ac3fe(0x1d8))+'?','messageDownloadAndroidSdk':_0x5ac3fe(0x1df),'messageDecompressAndroidSdk':_0x5ac3fe(0x1ba),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x5ac3fe(0x1cb),'messageGeneratingAndroidProject':_0x5ac3fe(0x1e4),'messageCheckSuccess':(_0x36b99e,_0xee26b5)=>{const _0x272d93=_0x5ac3fe;return _0x272d93(0x1b1)+(0x0,colors_1[_0x272d93(0x1bc)])(_0x36b99e)+'\x20'+(_0xee26b5?_0x272d93(0x1d0)+(0x0,colors_1['cyan'])(_0xee26b5):'')+_0x272d93(0x1c0);},'errorMissingManifestParameter':_0x5ac3fe(0x1b8)+((0x0,colors_1['cyan'])(_0x5ac3fe(0x1d6))+_0x5ac3fe(0x1e0)+(0x0,colors_1[_0x5ac3fe(0x1bc)])('--manifest')),'messageInitializingWebManifest':_0x131b77=>{const _0x1d3a44=_0x5ac3fe;return _0x1d3a44(0x1af)+(0x0,colors_1['cyan'])(_0x131b77);},'messageInitializingLocalManifest':_0x1b22b4=>{const _0x16b853=_0x5ac3fe;return _0x16b853(0x1be)+(0x0,colors_1[_0x16b853(0x1bc)])(_0x1b22b4);},'messageInvalidIcon':_0x49d780=>{const _0x423ef4=_0x5ac3fe;return _0x423ef4(0x1b5)+(0x0,colors_1['cyan'])(_0x49d780);},'errorStartUrlNotReachable':_0x2021ee=>_0x5ac3fe(0x1b6)+_0x2021ee+_0x5ac3fe(0x1c1)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x5ac3fe(0x1dd)])((0x0,colors_1[_0x5ac3fe(0x1d4)])(_0x5ac3fe(0x1c6)))+_0x5ac3fe(0x1ca)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x5ac3fe(0x1bc)])(_0x5ac3fe(0x1c4)),'promptIconUrl':'Icon\x20URL:','errorInvalidUrl':_0x5accf8=>{const _0xd7c25b=_0x5ac3fe;return _0xd7c25b(0x1e6)+_0x5accf8;},'errorUrlMustBeImage':_0x186e84=>{const _0x431f59=_0x5ac3fe;return _0x431f59(0x1e2)+_0x186e84+'.';},'promptVersionCode':_0x5ac3fe(0x1d9),'promptVersionName':_0x5ac3fe(0x1d3),'messageSigningKeyInformation':(0x0,colors_1[_0x5ac3fe(0x1cd)])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1['green'])(_0x5ac3fe(0x1ac))),'messageProjectGeneratedSuccess':_0x5ac3fe(0x1b0),'messageSigningKeyCreation':(0x0,colors_1['underline'])(_0x5ac3fe(0x1b4)),'messageSigningKeyNotFound':_0x3ecdf4=>{const _0x2a1136=_0x5ac3fe;return _0x2a1136(0x1e5)+_0x3ecdf4+_0x2a1136(0x1c5);},'promptCreateKey':_0x5ac3fe(0x1de),'promptKeyFullName':_0x5ac3fe(0x1b9),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x5ac3fe(0x1c7),'promptKeyCountry':_0x5ac3fe(0x1dc),'promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x1221af,_0x45b06f)=>{const _0x52e5b1=_0x5ac3fe;return _0x52e5b1(0x1ab)+(0x0,colors_1[_0x52e5b1(0x1bc)])(_0x1221af)+_0x52e5b1(0x1b3)+(0x0,colors_1['cyan'])(_0x45b06f)+'.\x0a';},'errorMinLength':(_0x1f0f7f,_0x6ae4bc)=>{const _0x5740c4=_0x5ac3fe;return'Minimum\x20length\x20is\x20'+_0x1f0f7f+_0x5740c4(0x1c8)+_0x6ae4bc+'.';},'errorMaxLength':(_0x540d8e,_0xa12224)=>{const _0xd65679=_0x5ac3fe;return'Maximum\x20length\x20is\x20'+_0x540d8e+_0xd65679(0x1c8)+_0xa12224+'.';},'errorInvalidInteger':_0x1614ac=>{const _0x376168=_0x5ac3fe;return _0x376168(0x1e9)+_0x1614ac;},'messageApkSuccess':_0x1cbd5d=>{const _0x1e15ef=_0x5ac3fe;return _0x1e15ef(0x1c3)+(0x0,colors_1['cyan'])(_0x1cbd5d);},'missingUrlToCheck':'Missing\x20required\x20parameter\x20'+(''+(0x0,colors_1['cyan'])(_0x5ac3fe(0x1d2)))};
1
+ 'use strict';const _0x64f76f=_0x4be6;(function(_0x4eb80a,_0x56b1f8){const _0x1cac63=_0x4be6,_0x2dd2d0=_0x4eb80a();while(!![]){try{const _0x457fa3=-parseInt(_0x1cac63(0x188))/0x1+parseInt(_0x1cac63(0x1a1))/0x2+parseInt(_0x1cac63(0x192))/0x3+-parseInt(_0x1cac63(0x1ae))/0x4*(-parseInt(_0x1cac63(0x175))/0x5)+-parseInt(_0x1cac63(0x186))/0x6*(parseInt(_0x1cac63(0x178))/0x7)+parseInt(_0x1cac63(0x1a2))/0x8+parseInt(_0x1cac63(0x1ad))/0x9;if(_0x457fa3===_0x56b1f8)break;else _0x2dd2d0['push'](_0x2dd2d0['shift']());}catch(_0x232234){_0x2dd2d0['push'](_0x2dd2d0['shift']());}}}(_0x2c5f,0xbeb57));Object[_0x64f76f(0x19d)](exports,_0x64f76f(0x1ac),{'value':!![]}),exports['messages']=void 0x0;function _0x4be6(_0x5e0457,_0x6abae2){const _0x2c5f27=_0x2c5f();return _0x4be6=function(_0x4be637,_0x59dedc){_0x4be637=_0x4be637-0x16f;let _0x3f081e=_0x2c5f27[_0x4be637];return _0x3f081e;},_0x4be6(_0x5e0457,_0x6abae2);}const colors_1=require(_0x64f76f(0x190));function _0x2c5f(){const _0x604e0f=['yellow','Downloading\x20the\x20Android\x20SDK...','Generating\x20Android\x20Project.','--url','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','\x0aBuilding\x20the\x20Android\x20App...','228ipwtBY','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','1510025nsGSJu','bold','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Missing\x20required\x20parameter\x20','redirected\x20to\x20','Downloading\x20JDK\x2011\x20to\x20','URL\x20','(5/5)','colors','Password\x20for\x20the\x20Key\x20Store:','2465331uARJKM','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Country\x20(2\x20letter\x20code):','license\x20agreement.','cyan','Downloading\x20the\x20JDK\x2011\x20Binaries...','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','\x22.\x0a','Downloading\x20the\x20JDK\x2011\x20Sources...','\x20but\x20input\x20is\x20','defineProperty','\x20URL\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','2467348hdhKIO','6017568QxjWlx','green','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)','Path\x20to\x20your\x20existing\x20Android\x20SDK:','\x20or\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','--manifest','\x09-\x20Generated\x20Android\x20APK\x20at\x20','__esModule','134613FBoUWF','9860jixmUp','Decompressing\x20the\x20Android\x20SDK...','Organization\x20(eg:\x20Company\x20Name):','Invalid\x20icon\x20path:\x20','Invalid\x20URL:\x20','https://developer.android.com/studio/terms.html','Downloading\x20Android\x20SDK\x20to\x20','1070ISPDax','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','195069ImKNtL','\x0aSigning\x20key\x20information\x20','underline','\x20can\x20not\x20be\x20accessible.','Icon\x20URL:','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Maximum\x20length\x20is\x20','Invalid\x20integer\x20provided:\x20'];_0x2c5f=function(){return _0x604e0f;};return _0x2c5f();}exports['messages']={'promptInstallJdk':'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)','promptJdkPath':_0x64f76f(0x19f),'messageDownloadJdk':_0x64f76f(0x18d),'messageDownloadJdkSrc':_0x64f76f(0x19b),'messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x64f76f(0x197),'messageDecompressJdkBin':'Decompressing\x20the\x20JDK\x2011\x20Binaries...','promptInstallSdk':_0x64f76f(0x1a4),'promptSdkPath':_0x64f76f(0x1a5),'messageDownloadSdk':_0x64f76f(0x174),'errorSdkTerms':_0x64f76f(0x1a7),'promptSdkTerms':_0x64f76f(0x198)+(0x0,colors_1['underline'])(_0x64f76f(0x173))+'?','messageDownloadAndroidSdk':_0x64f76f(0x181),'messageDecompressAndroidSdk':_0x64f76f(0x16f),'messageInstallingBuildTools':_0x64f76f(0x17d)+_0x64f76f(0x195),'messageGeneratingAndroidProject':_0x64f76f(0x182),'messageCheckSuccess':(_0x1db9c6,_0x3b3188)=>{const _0xd280b=_0x64f76f;return _0xd280b(0x19e)+(0x0,colors_1[_0xd280b(0x196)])(_0x1db9c6)+'\x20'+(_0x3b3188?_0xd280b(0x18c)+(0x0,colors_1[_0xd280b(0x196)])(_0x3b3188):'')+_0xd280b(0x184);},'errorMissingManifestParameter':_0x64f76f(0x18b)+((0x0,colors_1[_0x64f76f(0x196)])('--manifest-url')+_0x64f76f(0x1a6)+(0x0,colors_1[_0x64f76f(0x196)])(_0x64f76f(0x1aa))),'messageInitializingWebManifest':_0x3e78d0=>{const _0x4406e5=_0x64f76f;return _0x4406e5(0x18a)+(0x0,colors_1['cyan'])(_0x3e78d0);},'messageInitializingLocalManifest':_0x21b56a=>{const _0x39edee=_0x64f76f;return _0x39edee(0x176)+(0x0,colors_1['cyan'])(_0x21b56a);},'messageInvalidIcon':_0x1b90a3=>{const _0x5d3eb9=_0x64f76f;return _0x5d3eb9(0x171)+(0x0,colors_1['cyan'])(_0x1b90a3);},'errorStartUrlNotReachable':_0x2e39e9=>_0x64f76f(0x18e)+_0x2e39e9+_0x64f76f(0x17b)+_0x64f76f(0x1a9),'warnFamilyPolicy':(0x0,colors_1[_0x64f76f(0x189)])((0x0,colors_1[_0x64f76f(0x180)])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+_0x64f76f(0x199)+(0x0,colors_1[_0x64f76f(0x196)])('https://play.google.com/console/about/families/'),'promptIconUrl':_0x64f76f(0x17c),'errorInvalidUrl':_0x17b016=>{const _0x1516be=_0x64f76f;return _0x1516be(0x172)+_0x17b016;},'errorUrlMustBeImage':_0x1fd330=>{const _0x111504=_0x64f76f;return _0x111504(0x177)+_0x1fd330+'.';},'promptVersionCode':_0x64f76f(0x187),'promptVersionName':_0x64f76f(0x1a8),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x64f76f(0x179)+(0x0,colors_1[_0x64f76f(0x1a3)])(_0x64f76f(0x18f))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x64f76f(0x17a)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x486426=>{const _0x4e223d=_0x64f76f;return _0x4e223d(0x193)+_0x486426+_0x4e223d(0x19a);},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':'First\x20and\x20Last\x20names\x20(eg:\x20PICO):','promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x64f76f(0x170),'promptKeyCountry':_0x64f76f(0x194),'promptKeystorePassword':_0x64f76f(0x191),'promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':_0x64f76f(0x185),'messageEnterPasswords':(_0x289dd3,_0x7e88aa)=>{const _0x2034bb=_0x64f76f;return _0x2034bb(0x1a0)+(0x0,colors_1[_0x2034bb(0x196)])(_0x289dd3)+'\x20and\x20alias\x20'+(0x0,colors_1[_0x2034bb(0x196)])(_0x7e88aa)+'.\x0a';},'errorMinLength':(_0xc6992d,_0x28cd11)=>{const _0x563621=_0x64f76f;return'Minimum\x20length\x20is\x20'+_0xc6992d+_0x563621(0x19c)+_0x28cd11+'.';},'errorMaxLength':(_0x2c71c,_0x34949f)=>{const _0x2a0d46=_0x64f76f;return _0x2a0d46(0x17e)+_0x2c71c+_0x2a0d46(0x19c)+_0x34949f+'.';},'errorInvalidInteger':_0x3ed863=>{const _0x55eba6=_0x64f76f;return _0x55eba6(0x17f)+_0x3ed863;},'messageApkSuccess':_0x3fa5a3=>{const _0x2d94ce=_0x64f76f;return _0x2d94ce(0x1ab)+(0x0,colors_1[_0x2d94ce(0x196)])(_0x3fa5a3);},'missingUrlToCheck':_0x64f76f(0x18b)+(''+(0x0,colors_1['cyan'])(_0x64f76f(0x183)))};
@@ -1 +1 @@
1
- 'use strict';const _0x31fa0a=_0x46aa;(function(_0x24dc54,_0x54bdfd){const _0x105997=_0x46aa,_0x24c893=_0x24dc54();while(!![]){try{const _0x41e4f4=parseInt(_0x105997(0x1a0))/0x1*(parseInt(_0x105997(0x19f))/0x2)+-parseInt(_0x105997(0x1a4))/0x3+-parseInt(_0x105997(0x1ad))/0x4+-parseInt(_0x105997(0x1a9))/0x5*(-parseInt(_0x105997(0x1a2))/0x6)+-parseInt(_0x105997(0x1ac))/0x7*(-parseInt(_0x105997(0x1a8))/0x8)+parseInt(_0x105997(0x1a5))/0x9*(-parseInt(_0x105997(0x1a7))/0xa)+-parseInt(_0x105997(0x19e))/0xb*(-parseInt(_0x105997(0x1a6))/0xc);if(_0x41e4f4===_0x54bdfd)break;else _0x24c893['push'](_0x24c893['shift']());}catch(_0x75cb6a){_0x24c893['push'](_0x24c893['shift']());}}}(_0x281f,0x27b7e));Object['defineProperty'](exports,_0x31fa0a(0x1ab),{'value':!![]}),exports[_0x31fa0a(0x1a3)]=parseRouter;function _0x46aa(_0x31b6bd,_0xfe250a){const _0x281ffe=_0x281f();return _0x46aa=function(_0x46aa7e,_0x8bb41){_0x46aa7e=_0x46aa7e-0x19e;let _0x14c86a=_0x281ffe[_0x46aa7e];return _0x14c86a;},_0x46aa(_0x31b6bd,_0xfe250a);}function parseRouter(_0x4df156){const _0x3ef15f=_0x31fa0a;let _0x19b96a=_0x4df156['split']('/');_0x19b96a[_0x3ef15f(0x1aa)]();let _0xf4690d=_0x19b96a[_0x3ef15f(0x1a1)]();while(_0xf4690d['indexOf'](',')>=0x0){_0xf4690d=_0xf4690d[_0x3ef15f(0x1ae)](',','/');}return _0xf4690d;}function _0x281f(){const _0x28dff9=['__esModule','7rhnHmD','257896uxjudx','replace','22WkfFqK','6UfmDlT','5343yPapVt','join','2406xcLwrb','parseRouter','275169sgaoJl','1917pVzTou','238572kGZCSV','3020ypkJtw','1105168xbNSTM','2360APkMFx','pop'];_0x281f=function(){return _0x28dff9;};return _0x281f();}
1
+ 'use strict';const _0x458f40=_0x30c4;function _0x30c4(_0x423bec,_0x48ee64){const _0x185001=_0x1850();return _0x30c4=function(_0x30c467,_0x2f0aae){_0x30c467=_0x30c467-0x1e7;let _0x1d22aa=_0x185001[_0x30c467];return _0x1d22aa;},_0x30c4(_0x423bec,_0x48ee64);}(function(_0x4315e4,_0x3180a7){const _0x2f3e69=_0x30c4,_0x7ca967=_0x4315e4();while(!![]){try{const _0x3e2331=parseInt(_0x2f3e69(0x1f5))/0x1*(parseInt(_0x2f3e69(0x1f3))/0x2)+parseInt(_0x2f3e69(0x1ea))/0x3+parseInt(_0x2f3e69(0x1eb))/0x4+-parseInt(_0x2f3e69(0x1e7))/0x5+parseInt(_0x2f3e69(0x1ef))/0x6*(parseInt(_0x2f3e69(0x1f4))/0x7)+parseInt(_0x2f3e69(0x1ee))/0x8+-parseInt(_0x2f3e69(0x1e9))/0x9;if(_0x3e2331===_0x3180a7)break;else _0x7ca967['push'](_0x7ca967['shift']());}catch(_0x162ac5){_0x7ca967['push'](_0x7ca967['shift']());}}}(_0x1850,0x30ac4));Object[_0x458f40(0x1e8)](exports,_0x458f40(0x1f1),{'value':!![]}),exports[_0x458f40(0x1ec)]=parseRouter;function _0x1850(){const _0x29b6b1=['pop','__esModule','replace','2TjAulm','358351qnStBO','47707pkbgGZ','1064185CLeVOa','defineProperty','5461668eghJPM','361095TeaguF','1358636SNmgJs','parseRouter','indexOf','1223768mOtjvq','42PMBxpV'];_0x1850=function(){return _0x29b6b1;};return _0x1850();}function parseRouter(_0x181e76){const _0x42d8b6=_0x458f40;let _0x5db9c8=_0x181e76['split']('/');_0x5db9c8[_0x42d8b6(0x1f0)]();let _0x5d1617=_0x5db9c8['join']();while(_0x5d1617[_0x42d8b6(0x1ed)](',')>=0x0){_0x5d1617=_0x5d1617[_0x42d8b6(0x1f2)](',','/');}return _0x5d1617;}
@@ -1 +1 @@
1
- 'use strict';const _0x135631=_0x5f15;(function(_0x33e755,_0x863773){const _0x3eea76=_0x5f15,_0x537b71=_0x33e755();while(!![]){try{const _0x4820e9=-parseInt(_0x3eea76(0xff))/0x1+-parseInt(_0x3eea76(0xe5))/0x2+parseInt(_0x3eea76(0xf7))/0x3+parseInt(_0x3eea76(0xe9))/0x4+-parseInt(_0x3eea76(0xe7))/0x5*(-parseInt(_0x3eea76(0xee))/0x6)+-parseInt(_0x3eea76(0xfd))/0x7*(parseInt(_0x3eea76(0xfc))/0x8)+-parseInt(_0x3eea76(0xf1))/0x9*(-parseInt(_0x3eea76(0xf2))/0xa);if(_0x4820e9===_0x863773)break;else _0x537b71['push'](_0x537b71['shift']());}catch(_0x1adf7f){_0x537b71['push'](_0x537b71['shift']());}}}(_0x5c35,0xb59ad));Object[_0x135631(0xf6)](exports,_0x135631(0xec),{'value':!![]}),exports[_0x135631(0xe8)]=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x135631(0xe3)),xcodebuild_1=require(_0x135631(0xf3)),xcrun_1=require(_0x135631(0xf5)),path_1=require(_0x135631(0xef));function _0x5f15(_0x11250b,_0x493269){const _0x5c359f=_0x5c35();return _0x5f15=function(_0x5f150c,_0x5087a3){_0x5f150c=_0x5f150c-0xe3;let _0x2f9937=_0x5c359f[_0x5f150c];return _0x2f9937;},_0x5f15(_0x11250b,_0x493269);}function _0x5c35(){const _0x1d1bca=['modify','616680nshPej','PROJECT_DIRECTORY','2946965cZizbu','XcodeManager','5284728uHcwno','existsSync','default','__esModule','PROJECT_EXPORT_DIRECTORY','6YuweHL','path','join','117MjnXTU','477110XxBnjm','./xcodebuild','archive','./xcrun','defineProperty','1093965WevuRJ','.ipa','log','runWithSimulator','uploadApp','10766480SYyMjf','7cPHZRP','name','497470SaEKVS','mkdirSync','upload','export','./xcodeproject'];_0x5c35=function(){return _0x1d1bca;};return _0x5c35();}class XcodeManager{static async['parseProject'](_0x286a32,_0x48cda8=![]){const _0x129842=_0x135631,_0x14ed8e=resource_1[_0x129842(0xe6)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x129842(0xeb)][_0x129842(0xe4)](_0x14ed8e,_0x286a32),console[_0x129842(0xf9)]('write\x20project.pbxproj:\x20ok');!fs[_0x129842(0xea)](resource_1[_0x129842(0xed)])&&fs[_0x129842(0x100)](resource_1[_0x129842(0xed)],{'recursive':!![]});if(!_0x48cda8)await xcodebuild_1['default'][_0x129842(0xf4)](_0x286a32[_0x129842(0x102)]);}static async[_0x135631(0x101)](_0x39c2d8,_0x5ed6b8){const _0x52901c=_0x135631;if(_0x39c2d8['u']&&_0x39c2d8['p'])xcrun_1[_0x52901c(0xeb)]['uploadApp']((0x0,path_1['join'])(resource_1[_0x52901c(0xed)],_0x5ed6b8[_0x52901c(0xfe)]+_0x52901c(0xf8)),_0x39c2d8['u'],_0x39c2d8['p'],!![]);else _0x39c2d8['k']&&_0x39c2d8['i']&&xcrun_1['default'][_0x52901c(0xfb)]((0x0,path_1[_0x52901c(0xf0)])(resource_1[_0x52901c(0xed)],_0x5ed6b8['name']+_0x52901c(0xf8)),_0x39c2d8['k'],_0x39c2d8['i'],![]);}static async[_0x135631(0xfa)](_0x43e584){const _0x3f217c=_0x135631;await xcrun_1[_0x3f217c(0xeb)][_0x3f217c(0xfa)](_0x43e584);}}exports['XcodeManager']=XcodeManager;
1
+ 'use strict';const _0x50f725=_0x457a;(function(_0x3374d1,_0x1caf7a){const _0x433979=_0x457a,_0x19116c=_0x3374d1();while(!![]){try{const _0x3f0b5a=-parseInt(_0x433979(0xa7))/0x1+-parseInt(_0x433979(0xa1))/0x2*(parseInt(_0x433979(0xad))/0x3)+-parseInt(_0x433979(0xb7))/0x4+-parseInt(_0x433979(0xbe))/0x5+parseInt(_0x433979(0xb0))/0x6*(-parseInt(_0x433979(0xb1))/0x7)+parseInt(_0x433979(0xbf))/0x8+parseInt(_0x433979(0xbd))/0x9*(parseInt(_0x433979(0xaf))/0xa);if(_0x3f0b5a===_0x1caf7a)break;else _0x19116c['push'](_0x19116c['shift']());}catch(_0x590ffb){_0x19116c['push'](_0x19116c['shift']());}}}(_0x4173,0x9090f));Object[_0x50f725(0xb3)](exports,_0x50f725(0xb5),{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x457a(_0x596321,_0x160b3b){const _0x41730d=_0x4173();return _0x457a=function(_0x457ae9,_0x259bd1){_0x457ae9=_0x457ae9-0xa1;let _0x4a4c02=_0x41730d[_0x457ae9];return _0x4a4c02;},_0x457a(_0x596321,_0x160b3b);}function _0x4173(){const _0xc1a601=['join','log','export','./xcodeproject','218295xkTALu','4708430xzpbVK','3037504IVuuRq','1604476sNybWZ','parseProject','runWithSimulator','path','/web-spatial.xcodeproj/project.pbxproj','mkdirSync','1045800AvbSwd','write\x20project.pbxproj:\x20ok','existsSync','./xcodebuild','PROJECT_EXPORT_DIRECTORY','.ipa','3FcmkDt','default','1990NgPEHS','29010MTGTmT','1477qIyfgR','name','defineProperty','uploadApp','__esModule','./xcrun','3217524fCMBLW','modify'];_0x4173=function(){return _0xc1a601;};return _0x4173();}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x50f725(0xbc)),xcodebuild_1=require(_0x50f725(0xaa)),xcrun_1=require(_0x50f725(0xb6)),path_1=require(_0x50f725(0xa4));class XcodeManager{static async[_0x50f725(0xa2)](_0x18dbec,_0x2eb3bd=![]){const _0x34509e=_0x50f725,_0x217f03=resource_1['PROJECT_DIRECTORY']+_0x34509e(0xa5);await xcodeproject_1[_0x34509e(0xae)][_0x34509e(0xb8)](_0x217f03,_0x18dbec,_0x2eb3bd),console[_0x34509e(0xba)](_0x34509e(0xa8));!fs[_0x34509e(0xa9)](resource_1[_0x34509e(0xab)])&&fs[_0x34509e(0xa6)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x2eb3bd)await xcodebuild_1[_0x34509e(0xae)]['archive'](_0x18dbec[_0x34509e(0xbb)]);}static async['upload'](_0x3eb842,_0x722618){const _0x290692=_0x50f725;if(_0x3eb842['u']&&_0x3eb842['p'])xcrun_1[_0x290692(0xae)]['uploadApp']((0x0,path_1[_0x290692(0xb9)])(resource_1[_0x290692(0xab)],_0x722618[_0x290692(0xb2)]+'.ipa'),_0x3eb842['u'],_0x3eb842['p'],!![]);else _0x3eb842['k']&&_0x3eb842['i']&&xcrun_1[_0x290692(0xae)][_0x290692(0xb4)]((0x0,path_1[_0x290692(0xb9)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x722618[_0x290692(0xb2)]+_0x290692(0xac)),_0x3eb842['k'],_0x3eb842['i'],![]);}static async[_0x50f725(0xa3)](_0xdc6338){const _0x22eb37=_0x50f725;await xcrun_1[_0x22eb37(0xae)]['runWithSimulator'](_0xdc6338);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x406d22=_0x1aae;function _0x1aae(_0x5c3319,_0x2d4ced){var _0x5b06e6=_0x5b06();return _0x1aae=function(_0x1aae01,_0x297832){_0x1aae01=_0x1aae01-0x1a7;var _0x435443=_0x5b06e6[_0x1aae01];return _0x435443;},_0x1aae(_0x5c3319,_0x2d4ced);}(function(_0x2de4b4,_0x42a648){var _0x4ec863=_0x1aae,_0x31ead9=_0x2de4b4();while(!![]){try{var _0x3ea528=-parseInt(_0x4ec863(0x1ac))/0x1*(-parseInt(_0x4ec863(0x1b4))/0x2)+-parseInt(_0x4ec863(0x1b5))/0x3*(parseInt(_0x4ec863(0x1af))/0x4)+parseInt(_0x4ec863(0x1a8))/0x5*(parseInt(_0x4ec863(0x1b0))/0x6)+parseInt(_0x4ec863(0x1aa))/0x7+-parseInt(_0x4ec863(0x1ae))/0x8+parseInt(_0x4ec863(0x1b2))/0x9*(parseInt(_0x4ec863(0x1b1))/0xa)+parseInt(_0x4ec863(0x1a9))/0xb*(-parseInt(_0x4ec863(0x1b3))/0xc);if(_0x3ea528===_0x42a648)break;else _0x31ead9['push'](_0x31ead9['shift']());}catch(_0x541658){_0x31ead9['push'](_0x31ead9['shift']());}}}(_0x5b06,0x9529c));Object[_0x406d22(0x1ab)](exports,_0x406d22(0x1a7),{'value':!![]}),exports[_0x406d22(0x1ad)]=void 0x0,exports[_0x406d22(0x1ad)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x5b06(){var _0x332919=['3331944XIXKfX','28Wjbcxi','7078380obcLQR','90ZIGQEv','410967EujLUG','192ZbXTpp','88GieMJd','99120ArvmVu','__esModule','5MrPdxQ','847407VzJQYl','1145788epRSWM','defineProperty','16749oflOJt','manifestSwiftTemplate'];_0x5b06=function(){return _0x332919;};return _0x5b06();}
1
+ 'use strict';var _0x401ab6=_0x39c5;function _0x39c5(_0x5eaef9,_0x1a7758){var _0x172999=_0x1729();return _0x39c5=function(_0x39c5d1,_0x4d7647){_0x39c5d1=_0x39c5d1-0x196;var _0x4d1329=_0x172999[_0x39c5d1];return _0x4d1329;},_0x39c5(_0x5eaef9,_0x1a7758);}(function(_0xc52df,_0x39e197){var _0x3f9caf=_0x39c5,_0x5a38fc=_0xc52df();while(!![]){try{var _0x12001c=parseInt(_0x3f9caf(0x198))/0x1*(-parseInt(_0x3f9caf(0x19b))/0x2)+-parseInt(_0x3f9caf(0x1a1))/0x3*(parseInt(_0x3f9caf(0x19c))/0x4)+-parseInt(_0x3f9caf(0x196))/0x5+-parseInt(_0x3f9caf(0x19a))/0x6*(parseInt(_0x3f9caf(0x19e))/0x7)+-parseInt(_0x3f9caf(0x19f))/0x8*(-parseInt(_0x3f9caf(0x1a0))/0x9)+-parseInt(_0x3f9caf(0x199))/0xa+-parseInt(_0x3f9caf(0x197))/0xb*(-parseInt(_0x3f9caf(0x1a3))/0xc);if(_0x12001c===_0x39e197)break;else _0x5a38fc['push'](_0x5a38fc['shift']());}catch(_0x38e791){_0x5a38fc['push'](_0x5a38fc['shift']());}}}(_0x1729,0x21707));function _0x1729(){var _0x183a0a=['196303ocNQgq','2628660DOYSUq','48qwZlOb','2KFthyt','46204UtnAnD','manifestSwiftTemplate','23079uatxLZ','784656EqpCsd','18wcxTNi','33TocPRm','defineProperty','649164BAMlEG','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','478775jAwZTh','132fxPPoT'];_0x1729=function(){return _0x183a0a;};return _0x1729();}Object[_0x401ab6(0x1a2)](exports,'__esModule',{'value':!![]}),exports[_0x401ab6(0x19d)]=void 0x0,exports['manifestSwiftTemplate']=_0x401ab6(0x1a4);
@@ -1 +1 @@
1
- 'use strict';function _0x20bc(_0x99f468,_0xa3910b){const _0x3807f8=_0x3807();return _0x20bc=function(_0x20bc25,_0x16bf33){_0x20bc25=_0x20bc25-0x181;let _0x3ea585=_0x3807f8[_0x20bc25];return _0x3ea585;},_0x20bc(_0x99f468,_0xa3910b);}const _0xc6df6=_0x20bc;function _0x3807(){const _0x481a7f=['3zTdIea','destination','join','defineProperty','../resource/file','mkdirSync','4setLPx','../resource','semver','project','output','\x20-scheme\x20','clean','\x20-list','\x20-project\x20','list','child_process','965797cnbSNa','pack.xcarchive','cwd','start\x20archive','log','PROJECT_EXPORT_DIRECTORY','allowProvisioningUpdates','existsSync','1111680KzXEsj','line','75995ePLINj','scheme','toString','\x20-allowProvisioningUpdates','indexOf','xcodebuild','3483045QFamiZ','ExportOptions.plist','path','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','\x20-exportOptionsPlist\x20','\x20clean','web-spatial','\x20-exportArchive\x20-archivePath\x20','EXPORT\x20SUCCEEDED','archive','\x20archive','4530126livWBl','/web-spatial.xcodeproj','394636HeqoMs','\x20-exportPath\x20','./pack','XcodebuildCMD','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','PROJECT_BUILD_DIRECTORY','ARCHIVE\x20SUCCEEDED','PROJECT_DIRECTORY','__esModule','140142hnuysl'];_0x3807=function(){return _0x481a7f;};return _0x3807();}(function(_0xecf737,_0x1058c2){const _0x5555a9=_0x20bc,_0x3b7674=_0xecf737();while(!![]){try{const _0x319a34=-parseInt(_0x5555a9(0x1b8))/0x1+-parseInt(_0x5555a9(0x189))/0x2*(-parseInt(_0x5555a9(0x18a))/0x3)+parseInt(_0x5555a9(0x190))/0x4*(-parseInt(_0x5555a9(0x1a5))/0x5)+parseInt(_0x5555a9(0x1b6))/0x6+-parseInt(_0x5555a9(0x19b))/0x7+-parseInt(_0x5555a9(0x1a3))/0x8+parseInt(_0x5555a9(0x1ab))/0x9;if(_0x319a34===_0x1058c2)break;else _0x3b7674['push'](_0x3b7674['shift']());}catch(_0x37a705){_0x3b7674['push'](_0x3b7674['shift']());}}}(_0x3807,0x80413));Object[_0xc6df6(0x18d)](exports,_0xc6df6(0x188),{'value':!![]}),exports[_0xc6df6(0x183)]=void 0x0;const fs=require('fs'),path_1=require(_0xc6df6(0x1ad)),resource_1=require(_0xc6df6(0x191)),semver_1=require(_0xc6df6(0x192)),file_1=require(_0xc6df6(0x18e)),{execSync,exec}=require(_0xc6df6(0x19a));class Xcodebuild{static async[_0xc6df6(0x193)](){try{await new Promise((_0x553dbd,_0x2d84d0)=>{const _0x1a6a16=_0x20bc,_0x19ebe8=resource_1['PROJECT_DIRECTORY']+_0x1a6a16(0x1b7),_0x588762=execSync(new XcodebuildCMD()[_0x1a6a16(0x193)](_0x19ebe8)['list']()[_0x1a6a16(0x1a4)]);console[_0x1a6a16(0x19f)](_0x588762[_0x1a6a16(0x1a7)]()),_0x553dbd(_0x588762);});}catch(_0x4ebdb5){console['log'](_0x4ebdb5);}}static async[_0xc6df6(0x199)](){try{await new Promise((_0x5e97be,_0xb466ef)=>{const _0x444364=_0x20bc,_0x31cb3e=resource_1[_0x444364(0x187)]+_0x444364(0x1b7),_0x4f9d52=execSync(new XcodebuildCMD()[_0x444364(0x193)](_0x31cb3e)['list']()[_0x444364(0x1a4)]);console['log'](_0x4f9d52[_0x444364(0x1a7)]()),_0x5e97be(_0x4f9d52);});}catch(_0x2ff2e9){console['log'](_0x2ff2e9);}}static async[_0xc6df6(0x1b4)](_0xc61139){const _0x4c8410=_0xc6df6;try{return console[_0x4c8410(0x19f)](_0x4c8410(0x19e)),!fs[_0x4c8410(0x1a2)](resource_1[_0x4c8410(0x1a0)])&&fs[_0x4c8410(0x18f)](resource_1[_0x4c8410(0x1a0)],{'recursive':!![]}),await new Promise((_0x7ac9a8,_0x14f1dc)=>{const _0x369812=_0x4c8410,_0x2cec83=resource_1[_0x369812(0x187)]+_0x369812(0x1b7),_0x14bb6d=execSync(new XcodebuildCMD()[_0x369812(0x193)](_0x2cec83)[_0x369812(0x1a6)](_0x369812(0x1b1))[_0x369812(0x1b4)]((0x0,path_1[_0x369812(0x18c)])(resource_1[_0x369812(0x185)],_0x369812(0x182)))['clean']()[_0x369812(0x1a4)]);let _0x242520=_0x14bb6d['toString']();if(_0x242520[_0x369812(0x1a9)](_0x369812(0x186))>0x0){console['log'](_0x369812(0x1ae)),console[_0x369812(0x19f)]('start\x20export');const _0x32006e=execSync(new XcodebuildCMD()[_0x369812(0x194)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x369812(0x19c)),resource_1[_0x369812(0x1a0)],(0x0,path_1[_0x369812(0x18c)])(resource_1[_0x369812(0x185)],_0x369812(0x1ac)))[_0x369812(0x1a1)]()[_0x369812(0x1a4)]);_0x242520=_0x32006e[_0x369812(0x1a7)]();if(_0x242520['indexOf'](_0x369812(0x1b3))>0x0){if(_0xc61139){const _0x167aa2=(0x0,path_1[_0x369812(0x18c)])(process[_0x369812(0x19d)](),_0xc61139);!fs['existsSync'](_0x167aa2)&&fs[_0x369812(0x18f)](_0x167aa2,{'recursive':!![]}),(0x0,file_1['copyDir'])(resource_1[_0x369812(0x1a0)],_0x167aa2);}console[_0x369812(0x19f)](_0x369812(0x184)),_0x7ac9a8(!![]);}(0x0,semver_1[_0x369812(0x196)])(resource_1[_0x369812(0x185)]);}_0x7ac9a8(![]);});}catch(_0xcb485b){console['log'](_0xcb485b);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x21fc75=_0xc6df6;this['line']=_0x21fc75(0x1aa);}[_0xc6df6(0x193)](_0x16d8d2){const _0x2b48ab=_0xc6df6;return this[_0x2b48ab(0x1a4)]+=_0x2b48ab(0x198)+_0x16d8d2,this;}['list'](){const _0x19c8c5=_0xc6df6;return this['line']+=_0x19c8c5(0x197),this;}[_0xc6df6(0x1a6)](_0x2b0b9b){const _0x25075f=_0xc6df6;return this[_0x25075f(0x1a4)]+=_0x25075f(0x195)+_0x2b0b9b,this;}['archive'](_0x300b88){const _0xc407d8=_0xc6df6;return this[_0xc407d8(0x1a4)]+='\x20-archivePath\x20'+_0x300b88+_0xc407d8(0x1b5),this;}[_0xc6df6(0x1a1)](){const _0x1c82d7=_0xc6df6;return this[_0x1c82d7(0x1a4)]+=_0x1c82d7(0x1a8),this;}[_0xc6df6(0x18b)](_0xdc8f96){return this['line']+='\x20-destination\x20\x27'+_0xdc8f96+'\x27',this;}[_0xc6df6(0x194)](_0xb516f8,_0x39fa78,_0x102f24){const _0x10f951=_0xc6df6;return this['line']+=_0x10f951(0x1b2)+_0xb516f8+_0x10f951(0x181)+_0x39fa78+_0x10f951(0x1af)+_0x102f24,this;}['clean'](){const _0x5c8044=_0xc6df6;return this[_0x5c8044(0x1a4)]+=_0x5c8044(0x1b0),this;}}exports[_0xc6df6(0x183)]=XcodebuildCMD;
1
+ 'use strict';function _0x2702(_0x55cc5c,_0x56ba4d){const _0x48825b=_0x4882();return _0x2702=function(_0x270231,_0x59a25a){_0x270231=_0x270231-0x71;let _0x2d6e6e=_0x48825b[_0x270231];return _0x2d6e6e;},_0x2702(_0x55cc5c,_0x56ba4d);}const _0x5b9104=_0x2702;(function(_0x3a324b,_0x2a873b){const _0x2dfdf3=_0x2702,_0x1617a3=_0x3a324b();while(!![]){try{const _0x5da482=parseInt(_0x2dfdf3(0x9e))/0x1+parseInt(_0x2dfdf3(0x9d))/0x2*(-parseInt(_0x2dfdf3(0x8d))/0x3)+-parseInt(_0x2dfdf3(0xa3))/0x4*(parseInt(_0x2dfdf3(0x89))/0x5)+parseInt(_0x2dfdf3(0x76))/0x6+-parseInt(_0x2dfdf3(0x82))/0x7*(parseInt(_0x2dfdf3(0x7f))/0x8)+-parseInt(_0x2dfdf3(0x73))/0x9+parseInt(_0x2dfdf3(0x7c))/0xa;if(_0x5da482===_0x2a873b)break;else _0x1617a3['push'](_0x1617a3['shift']());}catch(_0x236402){_0x1617a3['push'](_0x1617a3['shift']());}}}(_0x4882,0x580ff));Object['defineProperty'](exports,_0x5b9104(0x95),{'value':!![]}),exports[_0x5b9104(0x93)]=void 0x0;const fs=require('fs'),path_1=require(_0x5b9104(0x84)),resource_1=require(_0x5b9104(0x98)),semver_1=require(_0x5b9104(0x86)),file_1=require(_0x5b9104(0x92)),{execSync,exec}=require(_0x5b9104(0x90));class Xcodebuild{static async[_0x5b9104(0x7a)](){const _0x3c34cb=_0x5b9104;try{await new Promise((_0x423edd,_0xf2c4b7)=>{const _0x461188=_0x2702,_0x4af7b4=resource_1[_0x461188(0x78)]+_0x461188(0x99),_0x16fb3c=execSync(new XcodebuildCMD()['project'](_0x4af7b4)[_0x461188(0x7e)]()[_0x461188(0xa7)]);console['log'](_0x16fb3c[_0x461188(0x7d)]()),_0x423edd(_0x16fb3c);});}catch(_0x205571){console[_0x3c34cb(0x9f)](_0x205571);}}static async[_0x5b9104(0x7e)](){const _0x4542fc=_0x5b9104;try{await new Promise((_0x298b1e,_0x3a8fd)=>{const _0x5b6dcc=_0x2702,_0x4b503b=resource_1[_0x5b6dcc(0x78)]+_0x5b6dcc(0x99),_0xa14a29=execSync(new XcodebuildCMD()[_0x5b6dcc(0x7a)](_0x4b503b)['list']()[_0x5b6dcc(0xa7)]);console[_0x5b6dcc(0x9f)](_0xa14a29[_0x5b6dcc(0x7d)]()),_0x298b1e(_0xa14a29);});}catch(_0xb47400){console[_0x4542fc(0x9f)](_0xb47400);}}static async[_0x5b9104(0xa6)](_0x46912f){const _0x15ea7e=_0x5b9104;try{return console[_0x15ea7e(0x9f)]('start\x20archive'),!fs['existsSync'](resource_1[_0x15ea7e(0x97)])&&fs[_0x15ea7e(0x94)](resource_1[_0x15ea7e(0x97)],{'recursive':!![]}),await new Promise((_0x39dec9,_0x446f13)=>{const _0x51b0aa=_0x15ea7e,_0x22fabb=resource_1[_0x51b0aa(0x78)]+_0x51b0aa(0x99),_0x511429=execSync(new XcodebuildCMD()['project'](_0x22fabb)[_0x51b0aa(0xa4)](_0x51b0aa(0x71))[_0x51b0aa(0xa6)]((0x0,path_1[_0x51b0aa(0xa2)])(resource_1[_0x51b0aa(0x77)],_0x51b0aa(0x83)))[_0x51b0aa(0x9b)]()[_0x51b0aa(0xa7)]);let _0x357b60=_0x511429['toString']();if(_0x357b60[_0x51b0aa(0x9c)](_0x51b0aa(0x74))>0x0){console[_0x51b0aa(0x9f)](_0x51b0aa(0x75)),console[_0x51b0aa(0x9f)](_0x51b0aa(0xa1));const _0x290cc7=execSync(new XcodebuildCMD()[_0x51b0aa(0xa0)]((0x0,path_1[_0x51b0aa(0xa2)])(resource_1[_0x51b0aa(0x77)],_0x51b0aa(0x88)),resource_1[_0x51b0aa(0x97)],(0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x51b0aa(0x8b)))[_0x51b0aa(0x9a)]()[_0x51b0aa(0xa7)]);_0x357b60=_0x290cc7[_0x51b0aa(0x7d)]();if(_0x357b60[_0x51b0aa(0x9c)](_0x51b0aa(0x8f))>0x0){if(_0x46912f){const _0x58be68=(0x0,path_1[_0x51b0aa(0xa2)])(process['cwd'](),_0x46912f);!fs[_0x51b0aa(0x7b)](_0x58be68)&&fs[_0x51b0aa(0x94)](_0x58be68,{'recursive':!![]}),(0x0,file_1[_0x51b0aa(0x8a)])(resource_1[_0x51b0aa(0x97)],_0x58be68);}console[_0x51b0aa(0x9f)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x39dec9(!![]);}(0x0,semver_1[_0x51b0aa(0x9b)])(resource_1[_0x51b0aa(0x77)]);}_0x39dec9(![]);});}catch(_0x22ce6e){console[_0x15ea7e(0x9f)](_0x22ce6e);}}}exports[_0x5b9104(0xa5)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x13a4fa=_0x5b9104;this['line']=_0x13a4fa(0x8c);}[_0x5b9104(0x7a)](_0x16144d){const _0x2b9c49=_0x5b9104;return this['line']+=_0x2b9c49(0x96)+_0x16144d,this;}[_0x5b9104(0x7e)](){const _0x3416bc=_0x5b9104;return this['line']+=_0x3416bc(0x79),this;}[_0x5b9104(0xa4)](_0xafa9f3){const _0x4f8601=_0x5b9104;return this[_0x4f8601(0xa7)]+='\x20-scheme\x20'+_0xafa9f3,this;}[_0x5b9104(0xa6)](_0x2cdc45){const _0x55ca4e=_0x5b9104;return this[_0x55ca4e(0xa7)]+=_0x55ca4e(0x80)+_0x2cdc45+'\x20archive',this;}['allowProvisioningUpdates'](){const _0x2d2f98=_0x5b9104;return this[_0x2d2f98(0xa7)]+='\x20-allowProvisioningUpdates',this;}[_0x5b9104(0x91)](_0x1f5b50){const _0x53e950=_0x5b9104;return this[_0x53e950(0xa7)]+=_0x53e950(0x85)+_0x1f5b50+'\x27',this;}[_0x5b9104(0xa0)](_0xba9b9d,_0x440998,_0x2260ff){const _0xb545bb=_0x5b9104;return this['line']+=_0xb545bb(0x72)+_0xba9b9d+_0xb545bb(0x8e)+_0x440998+_0xb545bb(0x81)+_0x2260ff,this;}[_0x5b9104(0x9b)](){const _0x40bbda=_0x5b9104;return this[_0x40bbda(0xa7)]+=_0x40bbda(0x87),this;}}exports[_0x5b9104(0x93)]=XcodebuildCMD;function _0x4882(){const _0x27024b=['path','\x20-destination\x20\x27','semver','\x20clean','pack.xcarchive','1265jQrkqM','copyDir','ExportOptions.plist','xcodebuild','78zJtcrp','\x20-exportPath\x20','EXPORT\x20SUCCEEDED','child_process','destination','../resource/file','XcodebuildCMD','mkdirSync','__esModule','\x20-project\x20','PROJECT_EXPORT_DIRECTORY','../resource','/web-spatial.xcodeproj','allowProvisioningUpdates','clean','indexOf','28496yYnPAU','119810Rkihvm','log','output','start\x20export','join','6596mbeGOF','scheme','default','archive','line','web-spatial','\x20-exportArchive\x20-archivePath\x20','6042195KGaUok','ARCHIVE\x20SUCCEEDED','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','2146032URkJnd','PROJECT_BUILD_DIRECTORY','PROJECT_DIRECTORY','\x20-list','project','existsSync','16123960jGmgiC','toString','list','808AUtJjs','\x20-archivePath\x20','\x20-exportOptionsPlist\x20','18725qBWzxL','./pack'];_0x4882=function(){return _0x27024b;};return _0x4882();}
@@ -1,5 +1,5 @@
1
1
  export default class XcodeProject {
2
- static modify(projectPath: string, option: any): Promise<void>;
2
+ static modify(projectPath: string, option: any, isDev?: boolean): Promise<void>;
3
3
  private static fixProjectFunction;
4
4
  private static bindIcon;
5
5
  private static updateTeamId;
@@ -1 +1 @@
1
- 'use strict';const _0x2382c8=_0x1bae;(function(_0x4bdc96,_0x5bc67a){const _0x310803=_0x1bae,_0x125635=_0x4bdc96();while(!![]){try{const _0x2a5597=parseInt(_0x310803(0x19e))/0x1*(-parseInt(_0x310803(0x198))/0x2)+-parseInt(_0x310803(0x189))/0x3*(parseInt(_0x310803(0x199))/0x4)+parseInt(_0x310803(0x168))/0x5*(parseInt(_0x310803(0x195))/0x6)+parseInt(_0x310803(0x176))/0x7+parseInt(_0x310803(0x1ae))/0x8*(-parseInt(_0x310803(0x18c))/0x9)+-parseInt(_0x310803(0x161))/0xa+-parseInt(_0x310803(0x17e))/0xb*(-parseInt(_0x310803(0x18f))/0xc);if(_0x2a5597===_0x5bc67a)break;else _0x125635['push'](_0x125635['shift']());}catch(_0xfee8e){_0x125635['push'](_0x125635['shift']());}}}(_0x160a,0xf1538));Object[_0x2382c8(0x162)](exports,_0x2382c8(0x1ad),{'value':!![]});function _0x160a(){const _0xb18939=['protocol_handlers','fixProjectFunction','project','Contents.json','pbxXCBuildConfigurationSection','START_URL','updateDeeplink','objects','scope','1.0','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','replace','updateVersion','.minimal','description','filename','./web-spatial/Info.plist','name','minimal-ui','BUILDTYPE','MIDDLE_APPICON_DIRECTORY','parseSync','PROJECT_BUILD_DIRECTORY','buildType','hash','bindManifestInfo','pbxTargetByName','11363270AuzZme','defineProperty','includes','PROJECT_DIRECTORY','buildSettings','teamId','<?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>','1312795OTLXeN','buildConfigurationList','PBXGroup','Description','SceneResizability','mainScene','json','images','SceneWidth','<?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','join','protocol','writeAsync','value','2954931VbAWbU','enterprise','bindIcon','app-store-connect','push','writeFileSync','.standalone','updateTeamId','11HfGhBE','version','createImg','width','updateBuildProperty','length','true','height','SCOPE','<string>','updateExportOptions','9sgfYdF','stringify','resizability','2460249KSHHpi','pbxXCConfigurationList','icon','24786936YBHNzB','loadJsonFromDisk','AppName','./web-spatial/libs/webView/manifest.swift','PWAProtocol(protocolValue:\x20\x22','../resource','12TjAiCq','path','url','2LITpjS','443708crSTkW','CURRENT_PROJECT_VERSION','icon.','\x22),','modifySwift','281888ApuXAt','display','\x22,\x20url:\x20\x22','SceneHeight','USE_MAIN_SCENE','YOURTEAMID','BACK_APPICON_DIRECTORY','modify','ExportOptions.plist','test','writeSync','1280','\x22automatic\x22','./manifestSwiftTemplate','AppID','__esModule','8oSsQyv','</string>','utf-8','manifestSwiftTemplate','icon.png'];_0x160a=function(){return _0xb18939;};return _0x160a();}const fs=require('fs'),resource_1=require(_0x2382c8(0x194)),path_1=require(_0x2382c8(0x196)),load_1=require('../resource/load'),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x2382c8(0x1ab)),xcode=require('xcode'),exportOptionsXML=_0x2382c8(0x167),infoPlistXML=_0x2382c8(0x171);let useExportOptionsXML='';function _0x1bae(_0x389f9a,_0x25891a){const _0x160a06=_0x160a();return _0x1bae=function(_0x1baece,_0x25efa6){_0x1baece=_0x1baece-0x160;let _0x530744=_0x160a06[_0x1baece];return _0x530744;},_0x1bae(_0x389f9a,_0x25891a);}class XcodeProject{static async[_0x2382c8(0x1a5)](_0x4d5f7a,_0x1c0d83){const _0x1b1f3f=_0x2382c8;let _0x28c057=xcode['project'](_0x4d5f7a);this[_0x1b1f3f(0x1b4)](_0x28c057),_0x28c057[_0x1b1f3f(0x1c8)]();let _0x46ddcc=_0x1c0d83[_0x1b1f3f(0x1ca)];const _0x4f44a3=['release-testing',_0x1b1f3f(0x179),'debugging',_0x1b1f3f(0x177)];useExportOptionsXML=exportOptionsXML[_0x1b1f3f(0x1be)](_0x1b1f3f(0x1c6),_0x4f44a3[_0x1b1f3f(0x163)](_0x46ddcc)?_0x46ddcc:'release-testing');_0x1c0d83['teamId']&&this[_0x1b1f3f(0x17d)](_0x28c057,_0x1c0d83[_0x1b1f3f(0x166)]);this[_0x1b1f3f(0x188)](),await this[_0x1b1f3f(0x178)](_0x1c0d83[_0x1b1f3f(0x18e)]),this[_0x1b1f3f(0x1cc)](_0x28c057,_0x1c0d83['manifestInfo'][_0x1b1f3f(0x16e)]);_0x1c0d83[_0x1b1f3f(0x17f)]?this[_0x1b1f3f(0x1bf)](_0x28c057,_0x1c0d83[_0x1b1f3f(0x17f)]):this[_0x1b1f3f(0x1bf)](_0x28c057,_0x1b1f3f(0x1bc));try{fs[_0x1b1f3f(0x17b)](_0x4d5f7a,_0x28c057[_0x1b1f3f(0x1a8)]());}catch(_0x913cbe){console['log'](_0x913cbe);}}static[_0x2382c8(0x1b4)](_0x4a83d4){const _0x9bec9a=_0x2382c8;_0x4a83d4['pbxGroupByName']=function(_0x2f3048){const _0x50eee3=_0x1bae;var _0x2a5456=this[_0x50eee3(0x1cb)][_0x50eee3(0x1b5)][_0x50eee3(0x1ba)][_0x50eee3(0x16a)],_0x202184,_0x2338eb;for(_0x202184 in _0x2a5456){if(!/_comment$/[_0x50eee3(0x1a7)](_0x202184))continue;if(_0x2a5456[_0x202184]==_0x2f3048)return _0x2338eb=_0x202184['split'](/_comment$/)[0x0],_0x2a5456[_0x2338eb];}return![];},_0x4a83d4[_0x9bec9a(0x182)]=function(_0x40187d,_0x31d63e,_0x38ce0a,_0x44f1f6){const _0x404a0c=_0x9bec9a;let _0x1d2e3c=[];const _0x18310d=/_comment$/;if(_0x44f1f6){const _0x2fda57=this[_0x404a0c(0x160)](_0x44f1f6),_0x5b69ae=_0x2fda57&&_0x2fda57[_0x404a0c(0x169)],_0x637f35=this[_0x404a0c(0x18d)]();for(const _0x539f3c in _0x637f35){if(!_0x18310d['test'](_0x539f3c)&&_0x5b69ae===_0x539f3c){const _0x4650cb=_0x637f35[_0x539f3c]['buildConfigurations'];for(const _0x152c6c of _0x4650cb){_0x1d2e3c[_0x404a0c(0x17a)](_0x152c6c[_0x404a0c(0x175)]);}break;}}}var _0x36ebbc=this[_0x404a0c(0x1b7)]();for(var _0x4a4afc in _0x36ebbc){if(!_0x18310d[_0x404a0c(0x1a7)](_0x4a4afc)){if(_0x44f1f6&&!_0x1d2e3c['includes'](_0x4a4afc))continue;var _0x4a29b5=_0x36ebbc[_0x4a4afc];(_0x38ce0a&&_0x4a29b5[_0x404a0c(0x1c4)]===_0x38ce0a||!_0x38ce0a)&&_0x4a29b5[_0x404a0c(0x165)][_0x40187d]&&(_0x4a29b5['buildSettings'][_0x40187d]=_0x31d63e);}}};}static async['bindIcon'](_0x501177){const _0x415aaf=_0x2382c8;if(_0x501177){const _0x5d2449=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x415aaf(0x1a4)]),_0x2c3564=(0x0,path_1['join'])(_0x5d2449,_0x415aaf(0x1b6)),_0x5278a6=_0x415aaf(0x19b)+_0x501177['getMIME']()[_0x415aaf(0x1be)]('image/',''),_0x348b73=(0x0,path_1[_0x415aaf(0x172)])(_0x5d2449,_0x5278a6);let _0x12041f=await(0x0,load_1[_0x415aaf(0x190)])(_0x2c3564);_0x12041f['images'][0x0][_0x415aaf(0x1c2)]=_0x5278a6,await _0x501177[_0x415aaf(0x174)](_0x348b73),await fs[_0x415aaf(0x17b)](_0x2c3564,JSON[_0x415aaf(0x18a)](_0x12041f));const _0x4e5cca=(0x0,path_1[_0x415aaf(0x172)])(resource_1[_0x415aaf(0x164)],resource_1[_0x415aaf(0x1c7)]),_0x74bdea=(0x0,path_1[_0x415aaf(0x172)])(_0x4e5cca,_0x415aaf(0x1b6)),_0x478314=_0x415aaf(0x1b2),_0x576efa=(0x0,path_1[_0x415aaf(0x172)])(_0x4e5cca,_0x478314);let _0x5d548b=await(0x0,load_1[_0x415aaf(0x190)])(_0x74bdea),_0x3c55b1=imageHelper_1['ImageHelper'][_0x415aaf(0x180)](0x200);_0x5d548b[_0x415aaf(0x16f)][0x0]['filename']=_0x478314,await _0x3c55b1['writeAsync'](_0x576efa),await fs['writeFileSync'](_0x74bdea,JSON['stringify'](_0x5d548b));}}static[_0x2382c8(0x17d)](_0x3a6ee7,_0xfd5752){const _0x492123=_0x2382c8;_0x3a6ee7[_0x492123(0x182)]('DEVELOPMENT_TEAM',_0xfd5752),useExportOptionsXML=useExportOptionsXML[_0x492123(0x1be)](_0x492123(0x1a3),_0xfd5752);}static[_0x2382c8(0x188)](){const _0x2569c4=_0x2382c8;!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs['mkdirSync'](resource_1[_0x2569c4(0x1c9)],{'recursive':!![]}),fs[_0x2569c4(0x17b)]((0x0,path_1[_0x2569c4(0x172)])(resource_1[_0x2569c4(0x1c9)],_0x2569c4(0x1a6)),useExportOptionsXML);}static[_0x2382c8(0x1cc)](_0x1ab100,_0x15357d){const _0x4f87d2=_0x2382c8;var _0x410175;_0x1ab100['updateProductName'](_0x15357d['name']),_0x1ab100[_0x4f87d2(0x182)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x15357d['id']+'\x22'),this[_0x4f87d2(0x1b9)]((_0x410175=_0x15357d['protocol_handlers'])!==null&&_0x410175!==void 0x0?_0x410175:[]),this[_0x4f87d2(0x19d)](_0x15357d);}static[_0x2382c8(0x1bf)](_0x573355,_0x15f306){const _0x4989b1=_0x2382c8;_0x573355[_0x4989b1(0x182)](_0x4989b1(0x19a),_0x15f306);}static[_0x2382c8(0x1b9)](_0x19b53d){const _0x4ab738=_0x2382c8;let _0x3c33de=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],_0x4ab738(0x1c3)),_0x29e67d='';for(let _0x114cda=0x0;_0x114cda<_0x19b53d['length'];_0x114cda++){_0x29e67d+=_0x4ab738(0x187)+_0x19b53d[_0x114cda][_0x4ab738(0x173)]+_0x4ab738(0x1af);}const _0x5c7783=infoPlistXML[_0x4ab738(0x1be)]('DEEPLINK',_0x29e67d);fs[_0x4ab738(0x17b)](_0x3c33de,_0x5c7783);}static[_0x2382c8(0x19d)](_0x327900){const _0x1f1ca9=_0x2382c8,_0x49c737=(0x0,path_1[_0x1f1ca9(0x172)])(resource_1['PROJECT_DIRECTORY'],_0x1f1ca9(0x192));let _0x32cf61=manifestSwiftTemplate_1[_0x1f1ca9(0x1b1)];_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1b8),_0x327900['start_url']),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x186),_0x327900[_0x1f1ca9(0x1bb)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x191),_0x327900[_0x1f1ca9(0x1c4)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x16b),_0x327900[_0x1f1ca9(0x1c1)]),_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x1ac),_0x327900['id']),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1c0),_0x327900[_0x1f1ca9(0x19f)]==_0x1f1ca9(0x1c5)?_0x1f1ca9(0x1c0):_0x1f1ca9(0x17c));if(_0x327900['protocol_handlers']){let _0x13632b='';for(let _0x505946=0x0;_0x505946<_0x327900[_0x1f1ca9(0x1b3)][_0x1f1ca9(0x183)];_0x505946++){_0x13632b+=_0x1f1ca9(0x193)+_0x327900[_0x1f1ca9(0x1b3)][_0x505946][_0x1f1ca9(0x173)]+_0x1f1ca9(0x1a0)+_0x327900['protocol_handlers'][_0x505946][_0x1f1ca9(0x197)]+_0x1f1ca9(0x19c);}_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1bd),_0x13632b);}typeof _0x327900[_0x1f1ca9(0x16d)]==='object'?(_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x170),_0x327900['mainScene']['defaultSize'][_0x1f1ca9(0x181)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x1a1),_0x327900[_0x1f1ca9(0x16d)]['defaultSize'][_0x1f1ca9(0x185)]),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x16c),'\x22'+_0x327900[_0x1f1ca9(0x16d)][_0x1f1ca9(0x18b)]+'\x22'),_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x1a2),_0x1f1ca9(0x184))):(_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)](_0x1f1ca9(0x170),_0x1f1ca9(0x1a9)),_0x32cf61=_0x32cf61['replace']('SceneHeight',_0x1f1ca9(0x1a9)),_0x32cf61=_0x32cf61['replace'](_0x1f1ca9(0x16c),_0x1f1ca9(0x1aa)),_0x32cf61=_0x32cf61[_0x1f1ca9(0x1be)]('USE_MAIN_SCENE','false')),fs['writeFileSync'](_0x49c737,_0x32cf61,_0x1f1ca9(0x1b0));}}exports['default']=XcodeProject;
1
+ 'use strict';const _0x53b7bd=_0x39cb;function _0x39cb(_0x3d7a2d,_0x15c5a8){const _0x127e3b=_0x127e();return _0x39cb=function(_0x39cb3f,_0x50a87e){_0x39cb3f=_0x39cb3f-0xdf;let _0x383a33=_0x127e3b[_0x39cb3f];return _0x383a33;},_0x39cb(_0x3d7a2d,_0x15c5a8);}(function(_0x405024,_0xf59f83){const _0x381c54=_0x39cb,_0x462f90=_0x405024();while(!![]){try{const _0x5b06ae=parseInt(_0x381c54(0x137))/0x1+parseInt(_0x381c54(0xf2))/0x2*(-parseInt(_0x381c54(0x120))/0x3)+parseInt(_0x381c54(0x114))/0x4*(-parseInt(_0x381c54(0x150))/0x5)+parseInt(_0x381c54(0xec))/0x6+-parseInt(_0x381c54(0x13b))/0x7*(parseInt(_0x381c54(0xe0))/0x8)+-parseInt(_0x381c54(0x121))/0x9*(parseInt(_0x381c54(0x132))/0xa)+parseInt(_0x381c54(0xf7))/0xb*(parseInt(_0x381c54(0x11f))/0xc);if(_0x5b06ae===_0xf59f83)break;else _0x462f90['push'](_0x462f90['shift']());}catch(_0x21986a){_0x462f90['push'](_0x462f90['shift']());}}}(_0x127e,0x2e4ae));Object[_0x53b7bd(0xe9)](exports,_0x53b7bd(0x144),{'value':!![]});function _0x127e(){const _0x275a8f=['bindManifestInfo','1280','mainScene','pbxTargetByName','<?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','SceneWidth','split','replace','updateBuildProperty','PWAProtocol(protocolValue:\x20\x22','length','protocol','height','updateDeeplink','mkdirSync','description','false','</string>','protocol_handlers','width','fixProjectFunction','teamId','createImg','PRODUCT_BUNDLE_IDENTIFIER','12MPsVpV','updateTeamId','join','<string>','icon','buildType','path','writeAsync','project','../resource/load','json','1956gJAfkz','483zAbQug','31869oXPlrU','.minimal','./manifestSwiftTemplate','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','ExportOptions.plist','defaultSize','display','buildConfigurations','version','getMIME','DEVELOPMENT_TEAM','BUILDTYPE','AppName','BACK_APPICON_DIRECTORY','PROJECT_DIRECTORY','enterprise','stringify','190GGGaIA','pbxGroupByName','SceneHeight','writeFileSync','value','165928wLoLLY','./web-spatial/Info.plist','<?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>','MIDDLE_APPICON_DIRECTORY','14efYkNH','../resource','updateVersion','existsSync','Contents.json','release-testing','writeSync','images','pbxXCBuildConfigurationSection','__esModule','objects','object','minimal-ui','\x22),','modifySwift','USE_MAIN_SCENE','xcode','url','buildSettings','scope','SceneResizability','390805FkqCCN','PROJECT_BUILD_DIRECTORY','parseSync','resizability','SCOPE','1236296jJbZtj','debugging','name','loadJsonFromDisk','icon.','push','utf-8','CURRENT_PROJECT_VERSION','bindIcon','defineProperty','log','image/','520644xmIQTW','filename','manifestInfo','test','updateProductName','updateExportOptions','68daWFAz','modify','../resource/imageHelper','\x22,\x20url:\x20\x22','icon.png','37334KyIUXD','DEEPLINK','PBXGroup','AppID','manifestSwiftTemplate'];_0x127e=function(){return _0x275a8f;};return _0x127e();}const fs=require('fs'),resource_1=require(_0x53b7bd(0x13c)),path_1=require(_0x53b7bd(0x11a)),load_1=require(_0x53b7bd(0x11d)),imageHelper_1=require(_0x53b7bd(0xf4)),manifestSwiftTemplate_1=require(_0x53b7bd(0x123)),xcode=require(_0x53b7bd(0x14b)),exportOptionsXML=_0x53b7bd(0x139),infoPlistXML=_0x53b7bd(0x100);let useExportOptionsXML='';class XcodeProject{static async[_0x53b7bd(0xf3)](_0x505486,_0x282390,_0x57bfaf=![]){const _0x4fa84d=_0x53b7bd;let _0x19a481=xcode[_0x4fa84d(0x11c)](_0x505486);this[_0x4fa84d(0x110)](_0x19a481),_0x19a481[_0x4fa84d(0x152)]();let _0x214614=_0x282390[_0x4fa84d(0x119)];const _0x2971fd=['release-testing','app-store-connect',_0x4fa84d(0xe1),_0x4fa84d(0x130)];useExportOptionsXML=exportOptionsXML[_0x4fa84d(0x103)](_0x4fa84d(0x12c),_0x2971fd['includes'](_0x214614)?_0x214614:_0x4fa84d(0x140));_0x282390[_0x4fa84d(0x111)]&&this['updateTeamId'](_0x19a481,_0x282390[_0x4fa84d(0x111)]);this[_0x4fa84d(0xf1)]();if(_0x282390[_0x4fa84d(0x118)])await this[_0x4fa84d(0xe8)](_0x282390[_0x4fa84d(0x118)]);this['bindManifestInfo'](_0x19a481,_0x282390[_0x4fa84d(0xee)][_0x4fa84d(0x11e)],_0x57bfaf);_0x282390[_0x4fa84d(0x129)]?this[_0x4fa84d(0x13d)](_0x19a481,_0x282390[_0x4fa84d(0x129)]):this[_0x4fa84d(0x13d)](_0x19a481,'1.0');try{fs[_0x4fa84d(0x135)](_0x505486,_0x19a481[_0x4fa84d(0x141)]());}catch(_0x3aa60f){console[_0x4fa84d(0xea)](_0x3aa60f);}}static[_0x53b7bd(0x110)](_0x45b57b){const _0x5093be=_0x53b7bd;_0x45b57b[_0x5093be(0x133)]=function(_0x5cdc7c){const _0x34f1fc=_0x5093be;var _0x3314c7=this['hash'][_0x34f1fc(0x11c)][_0x34f1fc(0x145)][_0x34f1fc(0xf9)],_0x31c1b5,_0x560395;for(_0x31c1b5 in _0x3314c7){if(!/_comment$/[_0x34f1fc(0xef)](_0x31c1b5))continue;if(_0x3314c7[_0x31c1b5]==_0x5cdc7c)return _0x560395=_0x31c1b5[_0x34f1fc(0x102)](/_comment$/)[0x0],_0x3314c7[_0x560395];}return![];},_0x45b57b[_0x5093be(0x104)]=function(_0x1c7dbb,_0x33b1e9,_0x5bdd27,_0x30293e){const _0x4a913c=_0x5093be;let _0x411c40=[];const _0x101657=/_comment$/;if(_0x30293e){const _0x5be3f0=this[_0x4a913c(0xff)](_0x30293e),_0x24673d=_0x5be3f0&&_0x5be3f0['buildConfigurationList'],_0x49aa60=this['pbxXCConfigurationList']();for(const _0x59fff8 in _0x49aa60){if(!_0x101657[_0x4a913c(0xef)](_0x59fff8)&&_0x24673d===_0x59fff8){const _0x3120d2=_0x49aa60[_0x59fff8][_0x4a913c(0x128)];for(const _0x2a99b3 of _0x3120d2){_0x411c40[_0x4a913c(0xe5)](_0x2a99b3[_0x4a913c(0x136)]);}break;}}}var _0xa9beca=this[_0x4a913c(0x143)]();for(var _0x2ce91d in _0xa9beca){if(!_0x101657['test'](_0x2ce91d)){if(_0x30293e&&!_0x411c40['includes'](_0x2ce91d))continue;var _0x57d61b=_0xa9beca[_0x2ce91d];(_0x5bdd27&&_0x57d61b['name']===_0x5bdd27||!_0x5bdd27)&&_0x57d61b[_0x4a913c(0x14d)][_0x1c7dbb]&&(_0x57d61b[_0x4a913c(0x14d)][_0x1c7dbb]=_0x33b1e9);}}};}static async['bindIcon'](_0x5df5d9){const _0x52bef3=_0x53b7bd;if(_0x5df5d9){const _0x1e560c=(0x0,path_1[_0x52bef3(0x116)])(resource_1[_0x52bef3(0x12f)],resource_1[_0x52bef3(0x12e)]),_0x2ff633=(0x0,path_1['join'])(_0x1e560c,'Contents.json'),_0xb2d1=_0x52bef3(0xe4)+_0x5df5d9[_0x52bef3(0x12a)]()[_0x52bef3(0x103)](_0x52bef3(0xeb),''),_0x3eb24a=(0x0,path_1[_0x52bef3(0x116)])(_0x1e560c,_0xb2d1);let _0x4194f8=await(0x0,load_1['loadJsonFromDisk'])(_0x2ff633);_0x4194f8[_0x52bef3(0x142)][0x0][_0x52bef3(0xed)]=_0xb2d1,await _0x5df5d9[_0x52bef3(0x11b)](_0x3eb24a),await fs['writeFileSync'](_0x2ff633,JSON[_0x52bef3(0x131)](_0x4194f8));const _0x35bbbc=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x52bef3(0x13a)]),_0x19bc8d=(0x0,path_1['join'])(_0x35bbbc,_0x52bef3(0x13f)),_0x4c294e=_0x52bef3(0xf6),_0x42a069=(0x0,path_1[_0x52bef3(0x116)])(_0x35bbbc,_0x4c294e);let _0x170592=await(0x0,load_1[_0x52bef3(0xe3)])(_0x19bc8d),_0x41b21f=imageHelper_1['ImageHelper'][_0x52bef3(0x112)](0x200);_0x170592['images'][0x0]['filename']=_0x4c294e,await _0x41b21f[_0x52bef3(0x11b)](_0x42a069),await fs['writeFileSync'](_0x19bc8d,JSON[_0x52bef3(0x131)](_0x170592));}}static[_0x53b7bd(0x115)](_0x39f269,_0x19c8f7){const _0xe4b9ec=_0x53b7bd;_0x39f269[_0xe4b9ec(0x104)](_0xe4b9ec(0x12b),_0x19c8f7),useExportOptionsXML=useExportOptionsXML['replace']('YOURTEAMID',_0x19c8f7);}static[_0x53b7bd(0xf1)](){const _0x3fa780=_0x53b7bd;!fs[_0x3fa780(0x13e)](resource_1[_0x3fa780(0x151)])&&fs[_0x3fa780(0x10a)](resource_1[_0x3fa780(0x151)],{'recursive':!![]}),fs[_0x3fa780(0x135)]((0x0,path_1[_0x3fa780(0x116)])(resource_1[_0x3fa780(0x151)],_0x3fa780(0x125)),useExportOptionsXML);}static[_0x53b7bd(0xfc)](_0x1e18d5,_0x348c0b,_0x15d5af=![]){const _0x15d8c4=_0x53b7bd;var _0x5e85b8;_0x1e18d5[_0x15d8c4(0xf0)](_0x348c0b[_0x15d8c4(0xe2)]),_0x348c0b['id']&&!_0x15d5af&&_0x1e18d5[_0x15d8c4(0x104)](_0x15d8c4(0x113),'\x22'+_0x348c0b['id']+'\x22'),this[_0x15d8c4(0x109)]((_0x5e85b8=_0x348c0b[_0x15d8c4(0x10e)])!==null&&_0x5e85b8!==void 0x0?_0x5e85b8:[]),this[_0x15d8c4(0x149)](_0x348c0b);}static[_0x53b7bd(0x13d)](_0x588c3e,_0x4dc36e){const _0x54f9ce=_0x53b7bd;_0x588c3e[_0x54f9ce(0x104)](_0x54f9ce(0xe7),_0x4dc36e);}static['updateDeeplink'](_0x2c1057){const _0x30bed5=_0x53b7bd;let _0x4c5ebc=(0x0,path_1[_0x30bed5(0x116)])(resource_1[_0x30bed5(0x12f)],_0x30bed5(0x138)),_0x43fd8f='';for(let _0x56497d=0x0;_0x56497d<_0x2c1057[_0x30bed5(0x106)];_0x56497d++){_0x43fd8f+=_0x30bed5(0x117)+_0x2c1057[_0x56497d][_0x30bed5(0x107)]+_0x30bed5(0x10d);}const _0x5f303f=infoPlistXML[_0x30bed5(0x103)](_0x30bed5(0xf8),_0x43fd8f);fs[_0x30bed5(0x135)](_0x4c5ebc,_0x5f303f);}static[_0x53b7bd(0x149)](_0xa96dbc){const _0x36bf5f=_0x53b7bd,_0x3fecb8=(0x0,path_1[_0x36bf5f(0x116)])(resource_1[_0x36bf5f(0x12f)],'./web-spatial/libs/webView/manifest.swift');let _0x51a9a9=manifestSwiftTemplate_1[_0x36bf5f(0xfb)];_0x51a9a9=_0x51a9a9['replace']('START_URL',_0xa96dbc['start_url']),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0xdf),_0xa96dbc[_0x36bf5f(0x14e)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x12d),_0xa96dbc[_0x36bf5f(0xe2)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)]('Description',_0xa96dbc[_0x36bf5f(0x10b)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0xfa),_0xa96dbc['id']),_0x51a9a9=_0x51a9a9['replace'](_0x36bf5f(0x122),_0xa96dbc[_0x36bf5f(0x127)]==_0x36bf5f(0x147)?'.minimal':'.standalone');if(_0xa96dbc[_0x36bf5f(0x10e)]){let _0xc4b9a4='';for(let _0x2106ce=0x0;_0x2106ce<_0xa96dbc[_0x36bf5f(0x10e)][_0x36bf5f(0x106)];_0x2106ce++){_0xc4b9a4+=_0x36bf5f(0x105)+_0xa96dbc[_0x36bf5f(0x10e)][_0x2106ce][_0x36bf5f(0x107)]+_0x36bf5f(0xf5)+_0xa96dbc[_0x36bf5f(0x10e)][_0x2106ce][_0x36bf5f(0x14c)]+_0x36bf5f(0x148);}_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x124),_0xc4b9a4);}typeof _0xa96dbc[_0x36bf5f(0xfe)]===_0x36bf5f(0x146)?(_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x101),_0xa96dbc[_0x36bf5f(0xfe)][_0x36bf5f(0x126)][_0x36bf5f(0x10f)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x134),_0xa96dbc[_0x36bf5f(0xfe)]['defaultSize'][_0x36bf5f(0x108)]),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)]('SceneResizability','\x22'+_0xa96dbc['mainScene'][_0x36bf5f(0x153)]+'\x22'),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x14a),'true')):(_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x101),_0x36bf5f(0xfd)),_0x51a9a9=_0x51a9a9['replace'](_0x36bf5f(0x134),'1280'),_0x51a9a9=_0x51a9a9['replace'](_0x36bf5f(0x14f),'\x22automatic\x22'),_0x51a9a9=_0x51a9a9[_0x36bf5f(0x103)](_0x36bf5f(0x14a),_0x36bf5f(0x10c))),fs[_0x36bf5f(0x135)](_0x3fecb8,_0x51a9a9,_0x36bf5f(0xe6));}}exports['default']=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x357d9c=_0x4e9c;(function(_0x240521,_0xd07686){const _0x3054fe=_0x4e9c,_0x2b366f=_0x240521();while(!![]){try{const _0x18125d=-parseInt(_0x3054fe(0x1d5))/0x1+parseInt(_0x3054fe(0x1a4))/0x2+-parseInt(_0x3054fe(0x1e0))/0x3*(parseInt(_0x3054fe(0x1be))/0x4)+-parseInt(_0x3054fe(0x1b8))/0x5+-parseInt(_0x3054fe(0x1d8))/0x6*(-parseInt(_0x3054fe(0x1a5))/0x7)+-parseInt(_0x3054fe(0x1b5))/0x8*(-parseInt(_0x3054fe(0x19d))/0x9)+parseInt(_0x3054fe(0x1b6))/0xa;if(_0x18125d===_0xd07686)break;else _0x2b366f['push'](_0x2b366f['shift']());}catch(_0x3a1cfd){_0x2b366f['push'](_0x2b366f['shift']());}}}(_0x4c02,0xf0a51));function _0x4c02(){const _0x44f0b3=['trim','\x20--upload-package\x20','launch\x20app','authAccount','1824929UNMguo','state','authApi','6xmqpjk','\x20list\x20devices\x20\x22','\x20launch\x20\x22','./xcodebuild','\x22\x20\x22','--\x20','default','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','3WcPvnv','\x20--apple-id\x20','install','project','includes','deviceId','Apple\x20Vision\x20Pro','\x20shutdown\x20booted','\x20list','path','5125023OIFCLg','boot','no\x20visionOS\x20simulator\x20found','defineProperty','../resource','visionos','xcrun','3038562RpWMhO','11937422TtoTsv','__esModule','length','altool','validate','\x27\x20-derivedDataPath\x20','\x20--verbose','split','shutdown','verbose','log','launch','simctl','existsSync','version','build\x20success','8nLiVId','12273940eMpqtA','line','2672885cBuFyY','appleId','XcodebuildCMD','join','mkdirSync','\x20--validate-app\x20-f\x20','6705124UNBQPg','Build/Products/Debug-xrsimulator/','name','toString','\x20-p\x20','list','/web-spatial.xcodeproj','child_process','\x20--apiIssuer\x20','uploadPackage','parseListDevices','--\x20visionOS','execSync','PROJECT_BUILD_DIRECTORY','\x20-t\x20','platform','uploadApp','installing\x20app','\x20-u\x20'];_0x4c02=function(){return _0x44f0b3;};return _0x4c02();}function _0x4e9c(_0x1ed86e,_0x150524){const _0x4c02c3=_0x4c02();return _0x4e9c=function(_0x4e9c67,_0x14ba89){_0x4e9c67=_0x4e9c67-0x195;let _0x4e9d78=_0x4c02c3[_0x4e9c67];return _0x4e9d78;},_0x4e9c(_0x1ed86e,_0x150524);}Object[_0x357d9c(0x1a0)](exports,_0x357d9c(0x1a6),{'value':!![]});const child_process_1=require(_0x357d9c(0x1c5)),resource_1=require(_0x357d9c(0x1a1)),path_1=require(_0x357d9c(0x19c)),fs=require('fs'),xcodebuild_1=require(_0x357d9c(0x1db));class Xcrun{static async[_0x357d9c(0x1a9)](_0x13a97e,_0x249bf9,_0x273d0d,_0x20e5db){const _0x210ae4=_0x357d9c,_0x3b808e=new XcrunCMD()['altool']();_0x3b808e[_0x210ae4(0x1a9)](_0x13a97e);_0x20e5db?_0x3b808e[_0x210ae4(0x1d4)](_0x249bf9,_0x273d0d):_0x3b808e[_0x210ae4(0x1d7)](_0x249bf9,_0x273d0d);_0x3b808e['platform'](_0x210ae4(0x1a2));const _0x5d4bd8=(0x0,child_process_1[_0x210ae4(0x1ca)])(_0x3b808e[_0x210ae4(0x1b7)]);return _0x5d4bd8[_0x210ae4(0x1c1)]();}static async[_0x357d9c(0x1c7)](_0x1caa22,_0x21db1a,_0x3c42b3,_0x3e0c56,_0x4f63e9){const _0x889311=_0x357d9c,_0x2e5f87=new XcrunCMD()['altool']();_0x2e5f87[_0x889311(0x1c7)](_0x1caa22);_0x4f63e9?_0x2e5f87[_0x889311(0x1d4)](_0x21db1a,_0x3c42b3):_0x2e5f87[_0x889311(0x1d7)](_0x21db1a,_0x3c42b3);_0x2e5f87['platform']('visionos'),_0x2e5f87[_0x889311(0x1b9)](_0x3e0c56);const _0x279441=(0x0,child_process_1[_0x889311(0x1ca)])(_0x2e5f87[_0x889311(0x1b7)]);return _0x279441['toString']();}static async['uploadApp'](_0x3e30e0,_0x7a7ebf,_0x44fb27,_0x4b1e54){const _0xcc45c3=_0x357d9c,_0x27683f=new XcrunCMD()['altool']();_0x27683f[_0xcc45c3(0x1ce)](_0x3e30e0);_0x4b1e54?_0x27683f['authAccount'](_0x7a7ebf,_0x44fb27):_0x27683f[_0xcc45c3(0x1d7)](_0x7a7ebf,_0x44fb27);_0x27683f[_0xcc45c3(0x1cd)]('visionos');const _0x205116=(0x0,child_process_1[_0xcc45c3(0x1ca)])(_0x27683f[_0xcc45c3(0x1b7)]);return _0x205116[_0xcc45c3(0x1c1)]();}static async['runWithSimulator'](_0x175758){const _0x79f3fd=_0x357d9c;let _0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)]();_0x5839e0['listDevices'](_0x79f3fd(0x199));const _0x4e9336=(0x0,child_process_1[_0x79f3fd(0x1ca)])(_0x5839e0['line']),_0x36b219=this[_0x79f3fd(0x1c8)](_0x4e9336[_0x79f3fd(0x1c1)]());if(_0x36b219[_0x79f3fd(0x1a7)]===0x0)throw new Error(_0x79f3fd(0x19f));let _0x4e530=_0x36b219[0x0];for(let _0x39f594=0x0;_0x39f594<_0x36b219[_0x79f3fd(0x1a7)];_0x39f594++){if(_0x36b219[_0x39f594][_0x79f3fd(0x1d6)]==='Booted'){_0x4e530=_0x36b219[_0x39f594];break;}}console[_0x79f3fd(0x1af)]('find\x20simulator:\x20'+_0x4e530[_0x79f3fd(0x198)]);const _0x3ec7ba=resource_1['PROJECT_DIRECTORY']+_0x79f3fd(0x1c4),_0x535a6f=resource_1[_0x79f3fd(0x1cb)]+'/test';!fs[_0x79f3fd(0x1b2)](resource_1[_0x79f3fd(0x1cb)])&&fs[_0x79f3fd(0x1bc)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs['existsSync'](_0x535a6f)&&fs[_0x79f3fd(0x1bc)](_0x535a6f,{'recursive':!![]});const _0x5e0b26=new xcodebuild_1[(_0x79f3fd(0x1ba))]()[_0x79f3fd(0x196)](_0x3ec7ba)['line']+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x4e530['deviceId']+_0x79f3fd(0x1aa)+_0x535a6f);console[_0x79f3fd(0x1af)]('start\x20building'),(0x0,child_process_1['execSync'])(_0x5e0b26),console[_0x79f3fd(0x1af)](_0x79f3fd(0x1b4));_0x4e530[_0x79f3fd(0x1d6)]==='Shutdown'&&(_0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)](),_0x5839e0[_0x79f3fd(0x19e)](_0x4e530[_0x79f3fd(0x198)]),(0x0,child_process_1['execSync'])(_0x5839e0[_0x79f3fd(0x1b7)]));(0x0,child_process_1[_0x79f3fd(0x1ca)])(_0x79f3fd(0x1df)),console[_0x79f3fd(0x1af)](_0x79f3fd(0x1cf));const _0x54ab88=(0x0,path_1[_0x79f3fd(0x1bb)])(_0x535a6f,_0x79f3fd(0x1bf)+_0x175758[_0x79f3fd(0x1c0)]+'.app');_0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)](),_0x5839e0[_0x79f3fd(0x195)](_0x4e530['deviceId'],_0x54ab88),(0x0,child_process_1[_0x79f3fd(0x1ca)])(_0x5839e0['line']),console[_0x79f3fd(0x1af)]('install\x20success'),console['log'](_0x79f3fd(0x1d3)),_0x5839e0=new XcrunCMD()[_0x79f3fd(0x1b1)](),_0x5839e0[_0x79f3fd(0x1b0)](_0x4e530[_0x79f3fd(0x198)],_0x175758['id']),(0x0,child_process_1['execSync'])(_0x5839e0[_0x79f3fd(0x1b7)]);}static[_0x357d9c(0x1c8)](_0x53a5fe){const _0x2cd23d=_0x357d9c;let _0x26831d=_0x53a5fe['split']('\x0a'),_0x379a85=[],_0x35c452=-0x1;for(let _0x1fe457=0x0;_0x1fe457<_0x26831d[_0x2cd23d(0x1a7)];_0x1fe457++){if(_0x26831d[_0x1fe457][_0x2cd23d(0x197)](_0x2cd23d(0x1c9)))_0x35c452=_0x1fe457;else{if(_0x35c452>0x0){if(_0x26831d[_0x1fe457][_0x2cd23d(0x197)](_0x2cd23d(0x1dd)))break;if(_0x26831d[_0x1fe457][_0x2cd23d(0x1a7)]>0x0){const _0x54aa00=_0x26831d[_0x1fe457]['split']('('),_0x36d6f4={'name':_0x54aa00[0x0][_0x2cd23d(0x1d1)](),'deviceId':_0x54aa00[0x1][_0x2cd23d(0x1ac)](')')[0x0][_0x2cd23d(0x1d1)](),'state':_0x54aa00[0x2][_0x2cd23d(0x1ac)](')')[0x0][_0x2cd23d(0x1d1)]()};_0x379a85['push'](_0x36d6f4);}}}}return _0x379a85;}}exports[_0x357d9c(0x1de)]=Xcrun;class XcrunCMD{constructor(){const _0x1916b5=_0x357d9c;this[_0x1916b5(0x1b7)]=_0x1916b5(0x1a3);}[_0x357d9c(0x1a8)](){const _0x2679a5=_0x357d9c;return this[_0x2679a5(0x1b7)]+='\x20altool',this;}[_0x357d9c(0x1b1)](){const _0x1f9e24=_0x357d9c;return this[_0x1f9e24(0x1b7)]+='\x20simctl',this;}[_0x357d9c(0x1c3)](){const _0x5ea278=_0x357d9c;return this[_0x5ea278(0x1b7)]+=_0x5ea278(0x19b),this;}['listDevices'](_0x54c778){const _0x107eb1=_0x357d9c;return this[_0x107eb1(0x1b7)]+=_0x107eb1(0x1d9)+_0x54c778+'\x22',this;}['validate'](_0x1cf71e){const _0x51a887=_0x357d9c;return this[_0x51a887(0x1b7)]+=_0x51a887(0x1bd)+_0x1cf71e,this;}['uploadApp'](_0x5777d0){const _0x3bb07c=_0x357d9c;return this[_0x3bb07c(0x1b7)]+='\x20--upload-app\x20-f\x20'+_0x5777d0,this;}[_0x357d9c(0x1c7)](_0xfd7844){const _0x22ed7b=_0x357d9c;return this[_0x22ed7b(0x1b7)]+=_0x22ed7b(0x1d2)+_0xfd7844,this;}[_0x357d9c(0x1d4)](_0x42c791,_0x1b5b47){const _0x1d9c3d=_0x357d9c;return this[_0x1d9c3d(0x1b7)]+=_0x1d9c3d(0x1d0)+_0x42c791+_0x1d9c3d(0x1c2)+_0x1b5b47,this;}[_0x357d9c(0x1d7)](_0x2204e6,_0x1c47b2){const _0x2d4101=_0x357d9c;return this[_0x2d4101(0x1b7)]+='\x20--apiKey\x20'+_0x2204e6+_0x2d4101(0x1c6)+_0x1c47b2,this;}[_0x357d9c(0x1b9)](_0x4d8529){const _0xd264be=_0x357d9c;return this[_0xd264be(0x1b7)]+=_0xd264be(0x1e1)+_0x4d8529,this;}['platform'](_0x3fb286){const _0x25c126=_0x357d9c;return this['line']+=_0x25c126(0x1cc)+_0x3fb286,this;}[_0x357d9c(0x1b3)](_0x250491){const _0x293a3b=_0x357d9c;return this[_0x293a3b(0x1b7)]+='\x20--bundle-version\x20'+_0x250491,this;}[_0x357d9c(0x1ae)](){const _0x5aaf0a=_0x357d9c;return this[_0x5aaf0a(0x1b7)]+=_0x5aaf0a(0x1ab),this;}[_0x357d9c(0x1ad)](){const _0x238bb2=_0x357d9c;return this[_0x238bb2(0x1b7)]+=_0x238bb2(0x19a),this;}[_0x357d9c(0x19e)](_0x156957){const _0x1a1699=_0x357d9c;return this[_0x1a1699(0x1b7)]+='\x20boot\x20\x22'+_0x156957+'\x22',this;}[_0x357d9c(0x195)](_0x423625,_0x265dd6){const _0x2fc20e=_0x357d9c;return this[_0x2fc20e(0x1b7)]+='\x20install\x20\x22'+_0x423625+_0x2fc20e(0x1dc)+_0x265dd6+'\x22',this;}[_0x357d9c(0x1b0)](_0x49e2ae,_0x2b4f51){const _0x5be953=_0x357d9c;return this[_0x5be953(0x1b7)]+=_0x5be953(0x1da)+_0x49e2ae+_0x5be953(0x1dc)+_0x2b4f51+'\x22',this;}}
1
+ 'use strict';const _0x4f88e3=_0x5022;(function(_0x77d440,_0xbb00f4){const _0x257a21=_0x5022,_0x4f693a=_0x77d440();while(!![]){try{const _0x5bc984=-parseInt(_0x257a21(0x194))/0x1+-parseInt(_0x257a21(0x1ba))/0x2*(parseInt(_0x257a21(0x17c))/0x3)+parseInt(_0x257a21(0x173))/0x4*(-parseInt(_0x257a21(0x176))/0x5)+-parseInt(_0x257a21(0x16c))/0x6*(-parseInt(_0x257a21(0x190))/0x7)+parseInt(_0x257a21(0x1b2))/0x8*(-parseInt(_0x257a21(0x18a))/0x9)+-parseInt(_0x257a21(0x1a1))/0xa*(-parseInt(_0x257a21(0x19d))/0xb)+parseInt(_0x257a21(0x177))/0xc*(parseInt(_0x257a21(0x1a2))/0xd);if(_0x5bc984===_0xbb00f4)break;else _0x4f693a['push'](_0x4f693a['shift']());}catch(_0x1d15fb){_0x4f693a['push'](_0x4f693a['shift']());}}}(_0x5790,0xa450f));Object[_0x4f88e3(0x1ac)](exports,'__esModule',{'value':!![]});const child_process_1=require('child_process'),resource_1=require('../resource'),path_1=require(_0x4f88e3(0x1a7)),fs=require('fs'),xcodebuild_1=require(_0x4f88e3(0x1ae));function _0x5790(){const _0x2b61a2=['install\x20success','verbose','start\x20building','3251364yhjhtJ','version','trim','5NABUuy','12oBkXLI','PROJECT_DIRECTORY','mkdirSync','split','install','813558cnnSVr','toString','boot','line','\x20-p\x20','visionos','length','uploadApp','\x20shutdown\x20booted','\x20--upload-app\x20-f\x20','no\x20visionOS\x20simulator\x20found','PROJECT_BUILD_DIRECTORY','Shutdown','\x20--validate-app\x20-f\x20','1076175oZDqqb','Build/Products/Debug-xrsimulator/','validate','\x20list\x20devices\x20\x22','runWithSimulator','execSync','77721ydWQKX','uploadPackage','\x27\x20-derivedDataPath\x20','build\x20success','860340rUjrRp','deviceId','includes','state','appleId','platform','simctl','/test','existsSync','22BGbiUz','\x20-u\x20','.app','log','714270ImWbUu','41469025EPgaYn','project','--\x20visionOS','\x20--verbose','authAccount','path','\x20--upload-package\x20','\x20boot\x20\x22','/web-spatial.xcodeproj','launch','defineProperty','join','./xcodebuild','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','\x20--apiKey\x20','push','64JblprN','listDevices','\x22\x20\x22','XcodebuildCMD','parseListDevices','default','authApi','installing\x20app','8KKSZSg','altool','570MGOSCG','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','\x20--bundle-version\x20','\x20simctl'];_0x5790=function(){return _0x2b61a2;};return _0x5790();}class Xcrun{static async[_0x4f88e3(0x18c)](_0xffae7,_0x5e9435,_0x2a7ce3,_0x17a536){const _0x391faa=_0x4f88e3,_0xb80924=new XcrunCMD()[_0x391faa(0x1bb)]();_0xb80924[_0x391faa(0x18c)](_0xffae7);_0x17a536?_0xb80924[_0x391faa(0x1a6)](_0x5e9435,_0x2a7ce3):_0xb80924[_0x391faa(0x1b8)](_0x5e9435,_0x2a7ce3);_0xb80924[_0x391faa(0x199)](_0x391faa(0x181));const _0x4e96ec=(0x0,child_process_1[_0x391faa(0x18f)])(_0xb80924['line']);return _0x4e96ec[_0x391faa(0x17d)]();}static async[_0x4f88e3(0x191)](_0x27be10,_0x3cb9fc,_0x10fc5a,_0x32bba3,_0x3a3582){const _0x1dd90f=_0x4f88e3,_0x589c5b=new XcrunCMD()[_0x1dd90f(0x1bb)]();_0x589c5b[_0x1dd90f(0x191)](_0x27be10);_0x3a3582?_0x589c5b[_0x1dd90f(0x1a6)](_0x3cb9fc,_0x10fc5a):_0x589c5b[_0x1dd90f(0x1b8)](_0x3cb9fc,_0x10fc5a);_0x589c5b[_0x1dd90f(0x199)](_0x1dd90f(0x181)),_0x589c5b[_0x1dd90f(0x198)](_0x32bba3);const _0x34c328=(0x0,child_process_1[_0x1dd90f(0x18f)])(_0x589c5b['line']);return _0x34c328[_0x1dd90f(0x17d)]();}static async[_0x4f88e3(0x183)](_0x433c52,_0x56f0d3,_0x31ec0c,_0x3061c3){const _0x227d87=_0x4f88e3,_0x25b5b3=new XcrunCMD()[_0x227d87(0x1bb)]();_0x25b5b3[_0x227d87(0x183)](_0x433c52);_0x3061c3?_0x25b5b3[_0x227d87(0x1a6)](_0x56f0d3,_0x31ec0c):_0x25b5b3['authApi'](_0x56f0d3,_0x31ec0c);_0x25b5b3[_0x227d87(0x199)](_0x227d87(0x181));const _0x4b10b2=(0x0,child_process_1[_0x227d87(0x18f)])(_0x25b5b3[_0x227d87(0x17f)]);return _0x4b10b2[_0x227d87(0x17d)]();}static async[_0x4f88e3(0x18e)](_0x513397){const _0x2abc35=_0x4f88e3;let _0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)]();_0x1f1816['listDevices']('Apple\x20Vision\x20Pro');const _0x2f7779=(0x0,child_process_1[_0x2abc35(0x18f)])(_0x1f1816[_0x2abc35(0x17f)]),_0x279c06=this['parseListDevices'](_0x2f7779[_0x2abc35(0x17d)]());if(_0x279c06[_0x2abc35(0x182)]===0x0)throw new Error(_0x2abc35(0x186));let _0x584819=_0x279c06[0x0];for(let _0x55da4f=0x0;_0x55da4f<_0x279c06[_0x2abc35(0x182)];_0x55da4f++){if(_0x279c06[_0x55da4f][_0x2abc35(0x197)]==='Booted'){_0x584819=_0x279c06[_0x55da4f];break;}}console[_0x2abc35(0x1a0)]('find\x20simulator:\x20'+_0x584819[_0x2abc35(0x195)]);const _0x3242f2=resource_1[_0x2abc35(0x178)]+_0x2abc35(0x1aa),_0x23bdb2=resource_1['PROJECT_BUILD_DIRECTORY']+_0x2abc35(0x19b);!fs[_0x2abc35(0x19c)](resource_1[_0x2abc35(0x187)])&&fs[_0x2abc35(0x179)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x2abc35(0x19c)](_0x23bdb2)&&fs[_0x2abc35(0x179)](_0x23bdb2,{'recursive':!![]});const _0x6d1b68=new xcodebuild_1[(_0x2abc35(0x1b5))]()[_0x2abc35(0x1a3)](_0x3242f2)[_0x2abc35(0x17f)]+(_0x2abc35(0x1af)+_0x584819[_0x2abc35(0x195)]+_0x2abc35(0x192)+_0x23bdb2);console[_0x2abc35(0x1a0)](_0x2abc35(0x172)),(0x0,child_process_1['execSync'])(_0x6d1b68),console[_0x2abc35(0x1a0)](_0x2abc35(0x193));_0x584819[_0x2abc35(0x197)]===_0x2abc35(0x188)&&(_0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)](),_0x1f1816['boot'](_0x584819[_0x2abc35(0x195)]),(0x0,child_process_1[_0x2abc35(0x18f)])(_0x1f1816[_0x2abc35(0x17f)]));(0x0,child_process_1['execSync'])(_0x2abc35(0x16d)),console[_0x2abc35(0x1a0)](_0x2abc35(0x1b9));const _0x205a29=(0x0,path_1[_0x2abc35(0x1ad)])(_0x23bdb2,_0x2abc35(0x18b)+_0x513397['name']+_0x2abc35(0x19f));_0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)](),_0x1f1816[_0x2abc35(0x17b)](_0x584819[_0x2abc35(0x195)],_0x205a29),(0x0,child_process_1[_0x2abc35(0x18f)])(_0x1f1816[_0x2abc35(0x17f)]),console['log'](_0x2abc35(0x170)),console['log']('launch\x20app'),_0x1f1816=new XcrunCMD()[_0x2abc35(0x19a)](),_0x1f1816[_0x2abc35(0x1ab)](_0x584819[_0x2abc35(0x195)],_0x513397['id']),(0x0,child_process_1['execSync'])(_0x1f1816[_0x2abc35(0x17f)]);}static[_0x4f88e3(0x1b6)](_0x10f6dc){const _0x1fa476=_0x4f88e3;let _0x4d1bad=_0x10f6dc[_0x1fa476(0x17a)]('\x0a'),_0x44961f=[],_0x264af1=-0x1;for(let _0x31f91a=0x0;_0x31f91a<_0x4d1bad[_0x1fa476(0x182)];_0x31f91a++){if(_0x4d1bad[_0x31f91a][_0x1fa476(0x196)](_0x1fa476(0x1a4)))_0x264af1=_0x31f91a;else{if(_0x264af1>0x0){if(_0x4d1bad[_0x31f91a]['includes']('--\x20'))break;if(_0x4d1bad[_0x31f91a]['length']>0x0){const _0x3045e9=_0x4d1bad[_0x31f91a][_0x1fa476(0x17a)]('('),_0x30d07f={'name':_0x3045e9[0x0][_0x1fa476(0x175)](),'deviceId':_0x3045e9[0x1][_0x1fa476(0x17a)](')')[0x0][_0x1fa476(0x175)](),'state':_0x3045e9[0x2][_0x1fa476(0x17a)](')')[0x0][_0x1fa476(0x175)]()};_0x44961f[_0x1fa476(0x1b1)](_0x30d07f);}}}}return _0x44961f;}}function _0x5022(_0x4ae367,_0x10711c){const _0x579028=_0x5790();return _0x5022=function(_0x50221e,_0x5619cb){_0x50221e=_0x50221e-0x16c;let _0x3c75e8=_0x579028[_0x50221e];return _0x3c75e8;},_0x5022(_0x4ae367,_0x10711c);}exports[_0x4f88e3(0x1b7)]=Xcrun;class XcrunCMD{constructor(){const _0x703059=_0x4f88e3;this[_0x703059(0x17f)]='xcrun';}['altool'](){return this['line']+='\x20altool',this;}[_0x4f88e3(0x19a)](){const _0x33fa3e=_0x4f88e3;return this[_0x33fa3e(0x17f)]+=_0x33fa3e(0x16f),this;}['list'](){const _0x312d65=_0x4f88e3;return this[_0x312d65(0x17f)]+='\x20list',this;}[_0x4f88e3(0x1b3)](_0x17638a){const _0x515b58=_0x4f88e3;return this['line']+=_0x515b58(0x18d)+_0x17638a+'\x22',this;}[_0x4f88e3(0x18c)](_0x127cde){const _0x59be8e=_0x4f88e3;return this[_0x59be8e(0x17f)]+=_0x59be8e(0x189)+_0x127cde,this;}['uploadApp'](_0x4f0c8c){const _0x3021f6=_0x4f88e3;return this[_0x3021f6(0x17f)]+=_0x3021f6(0x185)+_0x4f0c8c,this;}[_0x4f88e3(0x191)](_0x5c5421){const _0x30a1b8=_0x4f88e3;return this['line']+=_0x30a1b8(0x1a8)+_0x5c5421,this;}[_0x4f88e3(0x1a6)](_0x2444e9,_0x34ece8){const _0x36d37a=_0x4f88e3;return this[_0x36d37a(0x17f)]+=_0x36d37a(0x19e)+_0x2444e9+_0x36d37a(0x180)+_0x34ece8,this;}['authApi'](_0x30587a,_0x40f548){const _0x2408db=_0x4f88e3;return this['line']+=_0x2408db(0x1b0)+_0x30587a+'\x20--apiIssuer\x20'+_0x40f548,this;}['appleId'](_0x2c91f0){const _0x4d8a93=_0x4f88e3;return this[_0x4d8a93(0x17f)]+='\x20--apple-id\x20'+_0x2c91f0,this;}[_0x4f88e3(0x199)](_0x5e79fc){const _0x4751d9=_0x4f88e3;return this[_0x4751d9(0x17f)]+='\x20-t\x20'+_0x5e79fc,this;}[_0x4f88e3(0x174)](_0x3bbc11){const _0x48ce21=_0x4f88e3;return this[_0x48ce21(0x17f)]+=_0x48ce21(0x16e)+_0x3bbc11,this;}[_0x4f88e3(0x171)](){const _0x4ea29f=_0x4f88e3;return this[_0x4ea29f(0x17f)]+=_0x4ea29f(0x1a5),this;}['shutdown'](){const _0x413c07=_0x4f88e3;return this[_0x413c07(0x17f)]+=_0x413c07(0x184),this;}[_0x4f88e3(0x17e)](_0x4656f6){const _0x5984ec=_0x4f88e3;return this[_0x5984ec(0x17f)]+=_0x5984ec(0x1a9)+_0x4656f6+'\x22',this;}[_0x4f88e3(0x17b)](_0x1de52c,_0x1edfe5){const _0x57557c=_0x4f88e3;return this['line']+='\x20install\x20\x22'+_0x1de52c+_0x57557c(0x1b4)+_0x1edfe5+'\x22',this;}[_0x4f88e3(0x1ab)](_0x1576fb,_0x4067a3){const _0x21a52e=_0x4f88e3;return this[_0x21a52e(0x17f)]+='\x20launch\x20\x22'+_0x1576fb+_0x21a52e(0x1b4)+_0x4067a3+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {