@webspatial/builder 0.0.9 → 0.0.10

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';function _0x33b9(_0x425cfd,_0x361aec){const _0x8b5479=_0x8b54();return _0x33b9=function(_0x33b931,_0x5469b1){_0x33b931=_0x33b931-0x141;let _0x50a421=_0x8b5479[_0x33b931];return _0x50a421;},_0x33b9(_0x425cfd,_0x361aec);}const _0x3667de=_0x33b9;(function(_0x3f54eb,_0x1a3937){const _0x1e2734=_0x33b9,_0x4aca30=_0x3f54eb();while(!![]){try{const _0x569959=-parseInt(_0x1e2734(0x156))/0x1+-parseInt(_0x1e2734(0x150))/0x2+parseInt(_0x1e2734(0x14f))/0x3*(parseInt(_0x1e2734(0x146))/0x4)+parseInt(_0x1e2734(0x151))/0x5*(-parseInt(_0x1e2734(0x15b))/0x6)+parseInt(_0x1e2734(0x157))/0x7+parseInt(_0x1e2734(0x155))/0x8*(parseInt(_0x1e2734(0x154))/0x9)+-parseInt(_0x1e2734(0x14a))/0xa*(-parseInt(_0x1e2734(0x14e))/0xb);if(_0x569959===_0x1a3937)break;else _0x4aca30['push'](_0x4aca30['shift']());}catch(_0x484e43){_0x4aca30['push'](_0x4aca30['shift']());}}}(_0x8b54,0xda409));Object['defineProperty'](exports,_0x3667de(0x148),{'value':!![]});function _0x8b54(){const _0x4c0e85=['__esModule','./lib/Cli','50Ufpwuu','forEach','cli','./lib/utils/Log','701107HrMHLM','6YKFHMG','190476dzGdSG','5MtOCqz','exports','./lib/utils/CustomError','34092IyNorY','1096YsAFDE','496335CgRoGn','1169938PKqfNo','CustomError','ConsoleLog','code','2052618ZISVIR','error','slice','exit','Cli','customMessage','message','1645724dqOXgr','isArray'];_0x8b54=function(){return _0x4c0e85;};return _0x8b54();}const Cli_1=require(_0x3667de(0x149)),Log_1=require(_0x3667de(0x14d)),CustomError_1=require(_0x3667de(0x153));module[_0x3667de(0x152)]=async()=>{const _0x140a20=_0x3667de,_0x298084=new Cli_1[(_0x140a20(0x143))](),_0x3d393f=new Log_1[(_0x140a20(0x159))](_0x140a20(0x14c)),_0x1fbabf=process['argv'][_0x140a20(0x141)](0x2);let _0x95b56d;try{_0x95b56d=await _0x298084['run'](_0x1fbabf);}catch(_0x4083bf){if(_0x4083bf instanceof CustomError_1[_0x140a20(0x158)]){const _0x219c94=_0x4083bf[_0x140a20(0x144)];Array[_0x140a20(0x147)](_0x219c94)?_0x219c94[_0x140a20(0x14b)](_0x2981c5=>{const _0xeb9977=_0x140a20;_0x3d393f[_0xeb9977(0x15c)](_0x2981c5['code']+':\x20'+_0x2981c5[_0xeb9977(0x145)]);}):_0x3d393f['error'](_0x219c94[_0x140a20(0x15a)]+':\x20'+_0x219c94[_0x140a20(0x145)]);}else _0x3d393f[_0x140a20(0x15c)](_0x4083bf[_0x140a20(0x145)]);_0x95b56d=![];}!_0x95b56d?process[_0x140a20(0x142)](0x1):process[_0x140a20(0x142)](0x0);};
1
+ 'use strict';const _0x1de7a3=_0x1ad2;function _0x1ad2(_0x31d094,_0x48f7f6){const _0x435474=_0x4354();return _0x1ad2=function(_0x1ad212,_0x38714d){_0x1ad212=_0x1ad212-0x144;let _0x23343e=_0x435474[_0x1ad212];return _0x23343e;},_0x1ad2(_0x31d094,_0x48f7f6);}function _0x4354(){const _0x1488df=['slice','2292834fhfywy','1615962ujglIX','CustomError','ConsoleLog','cli','1609128JQVpvF','./lib/utils/CustomError','customMessage','3camfGw','8RzbtsO','./lib/utils/Log','13273127HomLYF','842661nebbtG','error','code','__esModule','Cli','defineProperty','isArray','220pGlRHJ','forEach','exit','message','676950QFjUZA','1501424IKPNpb'];_0x4354=function(){return _0x1488df;};return _0x4354();}(function(_0x5e9c0d,_0x206ba2){const _0x3c62d0=_0x1ad2,_0x53c4f4=_0x5e9c0d();while(!![]){try{const _0x37a398=parseInt(_0x3c62d0(0x144))/0x1+-parseInt(_0x3c62d0(0x146))/0x2*(parseInt(_0x3c62d0(0x14e))/0x3)+parseInt(_0x3c62d0(0x14b))/0x4+parseInt(_0x3c62d0(0x15d))/0x5+parseInt(_0x3c62d0(0x147))/0x6+parseInt(_0x3c62d0(0x151))/0x7*(parseInt(_0x3c62d0(0x14f))/0x8)+-parseInt(_0x3c62d0(0x152))/0x9*(parseInt(_0x3c62d0(0x159))/0xa);if(_0x37a398===_0x206ba2)break;else _0x53c4f4['push'](_0x53c4f4['shift']());}catch(_0x59a2ef){_0x53c4f4['push'](_0x53c4f4['shift']());}}}(_0x4354,0xf3bb9));Object[_0x1de7a3(0x157)](exports,_0x1de7a3(0x155),{'value':!![]});const Cli_1=require('./lib/Cli'),Log_1=require(_0x1de7a3(0x150)),CustomError_1=require(_0x1de7a3(0x14c));module['exports']=async()=>{const _0x179532=_0x1de7a3,_0x4f0bd2=new Cli_1[(_0x179532(0x156))](),_0x5748f3=new Log_1[(_0x179532(0x149))](_0x179532(0x14a)),_0x506a34=process['argv'][_0x179532(0x145)](0x2);let _0x30eb01;try{_0x30eb01=await _0x4f0bd2['run'](_0x506a34);}catch(_0x29f333){if(_0x29f333 instanceof CustomError_1[_0x179532(0x148)]){const _0x2d436a=_0x29f333[_0x179532(0x14d)];Array[_0x179532(0x158)](_0x2d436a)?_0x2d436a[_0x179532(0x15a)](_0x3efd39=>{const _0x30c459=_0x179532;_0x5748f3[_0x30c459(0x153)](_0x3efd39[_0x30c459(0x154)]+':\x20'+_0x3efd39[_0x30c459(0x15c)]);}):_0x5748f3[_0x179532(0x153)](_0x2d436a['code']+':\x20'+_0x2d436a[_0x179532(0x15c)]);}else _0x5748f3[_0x179532(0x153)](_0x29f333[_0x179532(0x15c)]);_0x30eb01=![];}!_0x30eb01?process[_0x179532(0x15b)](0x1):process[_0x179532(0x15b)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xadf853=_0x219f;(function(_0x3b9017,_0x228bed){const _0x4b1f2a=_0x219f,_0x397af0=_0x3b9017();while(!![]){try{const _0x1fab01=parseInt(_0x4b1f2a(0xa7))/0x1*(parseInt(_0x4b1f2a(0xa2))/0x2)+-parseInt(_0x4b1f2a(0x95))/0x3*(-parseInt(_0x4b1f2a(0xa1))/0x4)+parseInt(_0x4b1f2a(0xa6))/0x5*(-parseInt(_0x4b1f2a(0xaa))/0x6)+-parseInt(_0x4b1f2a(0xa0))/0x7+parseInt(_0x4b1f2a(0x9c))/0x8*(-parseInt(_0x4b1f2a(0x9f))/0x9)+-parseInt(_0x4b1f2a(0xb2))/0xa+-parseInt(_0x4b1f2a(0x99))/0xb*(-parseInt(_0x4b1f2a(0xad))/0xc);if(_0x1fab01===_0x228bed)break;else _0x397af0['push'](_0x397af0['shift']());}catch(_0x5619d9){_0x397af0['push'](_0x397af0['shift']());}}}(_0x4743,0xe09f1));function _0x4743(){const _0x119ef0=['publish','versions','store','setFetch','dev','Current\x20Node.js\x20version\x20is\x20','./utils/fetch','7557XLFwdb','node','./cmds/version','./utils/FetchUtils-1','21775193kmDSES','decompressResponseBuffer','run','24zbDbSu','__esModule','Cli','2411973uQrZGA','9449440xYrEOD','2244cVhNlb','161258TFuOud','fetch','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','start','4635OfsoWm','2mXKzHS','setDownloadFile','major','8082tcNWRd','./cmds/build','version','24tViPJn','help','build','length','defineProperty','12109140eHklWB'];_0x4743=function(){return _0x119ef0;};return _0x4743();}Object[_0xadf853(0xb1)](exports,_0xadf853(0x9d),{'value':!![]}),exports[_0xadf853(0x9e)]=void 0x0;const minimist=require('minimist'),semver_1=require('semver'),FetchUtils_1_1=require(_0xadf853(0x98)),help_1=require('./cmds/help'),build_1=require(_0xadf853(0xab)),version_1=require(_0xadf853(0x97)),fetch_1=require(_0xadf853(0xb9));function _0x219f(_0x1dbe8e,_0x30b152){const _0x474385=_0x4743();return _0x219f=function(_0x219fea,_0x4cbd7e){_0x219fea=_0x219fea-0x95;let _0xe8ae59=_0x474385[_0x219fea];return _0xe8ae59;},_0x219f(_0x1dbe8e,_0x30b152);}class Cli{async[_0xadf853(0x9b)](_0x3b65eb){const _0x5eacb2=_0xadf853;if((0x0,semver_1[_0x5eacb2(0xa9)])(process[_0x5eacb2(0xb4)][_0x5eacb2(0x96)])<0xe)throw new Error(_0x5eacb2(0xb8)+process[_0x5eacb2(0xb4)][_0x5eacb2(0x96)]+'.'+_0x5eacb2(0xa4));FetchUtils_1_1['fetchUtils'][_0x5eacb2(0xb6)](fetch_1[_0x5eacb2(0xa3)]),FetchUtils_1_1['fetchUtils'][_0x5eacb2(0xa8)](fetch_1['downloadFile']),FetchUtils_1_1['fetchUtils']['setDecompressResponseBuffer'](fetch_1[_0x5eacb2(0x9a)]);const _0x4f2f25=minimist(_0x3b65eb);let _0x1af2b1=undefined;if(_0x4f2f25['_'][_0x5eacb2(0xb0)]===0x0){if(_0x4f2f25[_0x5eacb2(0xac)])_0x1af2b1=_0x5eacb2(0xac);else _0x4f2f25[_0x5eacb2(0xae)]&&(_0x1af2b1=_0x5eacb2(0xae));}else _0x1af2b1=_0x4f2f25['_'][0x0];!_0x1af2b1&&(_0x1af2b1=_0x5eacb2(0xae));switch(_0x1af2b1){case _0x5eacb2(0xae):case'h':return await(0x0,help_1[_0x5eacb2(0xae)])(_0x4f2f25);case _0x5eacb2(0xaf):return await(0x0,build_1[_0x5eacb2(0xa5)])(_0x4f2f25);case _0x5eacb2(0xb3):return await(0x0,build_1[_0x5eacb2(0xb5)])(_0x4f2f25);case _0x5eacb2(0xb7):return await(0x0,build_1[_0x5eacb2(0xb7)])(_0x4f2f25);case _0x5eacb2(0xac):{return await(0x0,version_1[_0x5eacb2(0xac)])();}default:throw new Error('\x22'+_0x1af2b1+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports['Cli']=Cli;
1
+ 'use strict';function _0x1696(){const _0x24634e=['node','run','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','setDownloadFile','start','812782aAkxBm','19715427VEpEyz','downloadFile','Cli','fetch','fetchUtils','major','10raShvC','27180UIajSO','3565975nSJvvh','7932JLrqQI','setDecompressResponseBuffer','versions','2099644UXPlEb','5978688ABACTr','./utils/FetchUtils-1','store','help','semver','__esModule','1708zncnrM','dev','./cmds/build','build','Current\x20Node.js\x20version\x20is\x20','./cmds/version','decompressResponseBuffer','version','minimist','./cmds/help','2QZmtKH','length'];_0x1696=function(){return _0x24634e;};return _0x1696();}const _0x19f9b7=_0x2e0f;(function(_0x387793,_0x580e20){const _0x1f4021=_0x2e0f,_0x1b71b9=_0x387793();while(!![]){try{const _0x74462b=-parseInt(_0x1f4021(0x9d))/0x1*(parseInt(_0x1f4021(0xbb))/0x2)+parseInt(_0x1f4021(0xa5))/0x3+-parseInt(_0x1f4021(0xaa))/0x4+parseInt(_0x1f4021(0xa6))/0x5+parseInt(_0x1f4021(0xa7))/0x6*(-parseInt(_0x1f4021(0xb1))/0x7)+-parseInt(_0x1f4021(0xab))/0x8+parseInt(_0x1f4021(0x9e))/0x9*(parseInt(_0x1f4021(0xa4))/0xa);if(_0x74462b===_0x580e20)break;else _0x1b71b9['push'](_0x1b71b9['shift']());}catch(_0x365c87){_0x1b71b9['push'](_0x1b71b9['shift']());}}}(_0x1696,0x7b5ad));function _0x2e0f(_0x5e06e2,_0x4ff317){const _0x16967f=_0x1696();return _0x2e0f=function(_0x2e0f91,_0x456836){_0x2e0f91=_0x2e0f91-0x9a;let _0x5377c4=_0x16967f[_0x2e0f91];return _0x5377c4;},_0x2e0f(_0x5e06e2,_0x4ff317);}Object['defineProperty'](exports,_0x19f9b7(0xb0),{'value':!![]}),exports[_0x19f9b7(0xa0)]=void 0x0;const minimist=require(_0x19f9b7(0xb9)),semver_1=require(_0x19f9b7(0xaf)),FetchUtils_1_1=require(_0x19f9b7(0xac)),help_1=require(_0x19f9b7(0xba)),build_1=require(_0x19f9b7(0xb3)),version_1=require(_0x19f9b7(0xb6)),fetch_1=require('./utils/fetch');class Cli{async[_0x19f9b7(0xbe)](_0x3f36a6){const _0xdf578a=_0x19f9b7;if((0x0,semver_1[_0xdf578a(0xa3)])(process[_0xdf578a(0xa9)][_0xdf578a(0xbd)])<0xe)throw new Error(_0xdf578a(0xb5)+process['versions']['node']+'.'+'\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.');FetchUtils_1_1[_0xdf578a(0xa2)]['setFetch'](fetch_1[_0xdf578a(0xa1)]),FetchUtils_1_1['fetchUtils'][_0xdf578a(0x9b)](fetch_1[_0xdf578a(0x9f)]),FetchUtils_1_1[_0xdf578a(0xa2)][_0xdf578a(0xa8)](fetch_1[_0xdf578a(0xb7)]);const _0x11e7b9=minimist(_0x3f36a6);let _0x5d406d=undefined;if(_0x11e7b9['_'][_0xdf578a(0xbc)]===0x0){if(_0x11e7b9['version'])_0x5d406d=_0xdf578a(0xb8);else _0x11e7b9['help']&&(_0x5d406d=_0xdf578a(0xae));}else _0x5d406d=_0x11e7b9['_'][0x0];!_0x5d406d&&(_0x5d406d=_0xdf578a(0xae));switch(_0x5d406d){case'help':case'h':return await(0x0,help_1[_0xdf578a(0xae)])(_0x11e7b9);case _0xdf578a(0xb4):return await(0x0,build_1[_0xdf578a(0x9c)])(_0x11e7b9);case'publish':return await(0x0,build_1[_0xdf578a(0xad)])(_0x11e7b9);case'dev':return await(0x0,build_1[_0xdf578a(0xb2)])(_0x11e7b9);case _0xdf578a(0xb8):{return await(0x0,version_1['version'])();}default:throw new Error('\x22'+_0x5d406d+_0xdf578a(0x9a));}}}exports[_0x19f9b7(0xa0)]=Cli;
@@ -1 +1 @@
1
- 'use strict';function _0x1874(_0x1e54bf,_0x9e692c){const _0x16c153=_0x16c1();return _0x1874=function(_0x187422,_0x766848){_0x187422=_0x187422-0xd0;let _0xa3c3ad=_0x16c153[_0x187422];return _0xa3c3ad;},_0x1874(_0x1e54bf,_0x9e692c);}const _0x5e8823=_0x1874;(function(_0x268188,_0x3eaa68){const _0x8bc725=_0x1874,_0x5938fd=_0x268188();while(!![]){try{const _0x4cfa68=-parseInt(_0x8bc725(0xda))/0x1*(-parseInt(_0x8bc725(0xf1))/0x2)+parseInt(_0x8bc725(0xef))/0x3*(-parseInt(_0x8bc725(0xea))/0x4)+parseInt(_0x8bc725(0xe0))/0x5+-parseInt(_0x8bc725(0xe9))/0x6+parseInt(_0x8bc725(0xd6))/0x7*(-parseInt(_0x8bc725(0xe7))/0x8)+parseInt(_0x8bc725(0xe8))/0x9*(parseInt(_0x8bc725(0xf4))/0xa)+-parseInt(_0x8bc725(0xd5))/0xb*(parseInt(_0x8bc725(0xd0))/0xc);if(_0x4cfa68===_0x3eaa68)break;else _0x5938fd['push'](_0x5938fd['shift']());}catch(_0x4713d4){_0x5938fd['push'](_0x5938fd['shift']());}}}(_0x16c1,0x7957e));Object[_0x5e8823(0xe4)](exports,_0x5e8823(0xd3),{'value':!![]}),exports['start']=start,exports[_0x5e8823(0xe3)]=store,exports[_0x5e8823(0xd9)]=dev;const pwa_1=require(_0x5e8823(0xdc)),resource_1=require(_0x5e8823(0xde)),xcode_1=require('../xcode'),check_1=require('./check');function _0x16c1(){const _0x342f01=['name','-------------------\x20build\x20start\x20-------------------','project','24rebhjw','-------------------\x20build\x20end\x20-------------------','111126QfvPHA','version','fromNet','70170SvRnQE','buildType','270324kARstn','checkStoreParams','moveProjectFrom','__esModule','generate\x20icon:\x20ok','176tCBtIw','6139BahBsw','log','parseProject','dev','3XAFHRI','app-store-connect','../pwa','json','../resource','PWAGenerator','2740965HvcdWM','upload','XcodeManager','store','defineProperty','ResourceManager','export','1160brhrfM','747WBorUC','433836lMHbbJ','120184WAQajv','generateIcon'];_0x16c1=function(){return _0x342f01;};return _0x16c1();}async function start(_0x3a9c65,_0x304e5b=![]){const _0x35f139=_0x5e8823;(0x0,check_1['checkBuildParams'])(_0x3a9c65,_0x304e5b),console[_0x35f139(0xd7)](_0x35f139(0xed));let _0x21a0f6=await pwa_1[_0x35f139(0xdf)]['generator'](_0x3a9c65,_0x304e5b);!_0x21a0f6[_0x35f139(0xf3)]&&(await resource_1[_0x35f139(0xe5)][_0x35f139(0xd2)](_0x3a9c65[_0x35f139(0xee)]),console[_0x35f139(0xd7)]('move\x20web\x20project:\x20ok'));const _0x9b11b4=await resource_1['ResourceManager'][_0x35f139(0xeb)](_0x21a0f6);return console['log'](_0x35f139(0xd4)),await xcode_1['XcodeManager'][_0x35f139(0xd8)]({'icon':_0x9b11b4,'manifestInfo':_0x21a0f6,'teamId':_0x3a9c65['teamId'],'version':_0x3a9c65[_0x35f139(0xf2)],'buildType':_0x3a9c65['buildType'],'export':_0x3a9c65[_0x35f139(0xe6)]},_0x304e5b),console[_0x35f139(0xd7)](_0x35f139(0xf0)),_0x21a0f6;}async function store(_0x47797c){const _0x18b918=_0x5e8823;(0x0,check_1[_0x18b918(0xd1)])(_0x47797c);let _0x453e99={'name':'SpatialWebTest'};_0x47797c[_0x18b918(0xf5)]=_0x18b918(0xdb);if(_0x47797c[_0x18b918(0xec)])_0x453e99[_0x18b918(0xec)]=_0x47797c['name'];else{const _0x4d4493=await start(_0x47797c);if(!_0x4d4493)return![];_0x453e99['name']=_0x4d4493[_0x18b918(0xdd)][_0x18b918(0xec)];}return await xcode_1['XcodeManager'][_0x18b918(0xe1)](_0x47797c,_0x453e99),!![];}async function dev(_0x2c51f9){const _0x428339=_0x5e8823;let _0x2f92b2={'name':'SpatialWebTest','id':'com.SpatialWeb.test'};const _0x264c96=await start(_0x2c51f9,!![]);if(!_0x264c96)return![];return _0x2f92b2[_0x428339(0xec)]=_0x264c96[_0x428339(0xdd)][_0x428339(0xec)],_0x2f92b2['id']=_0x264c96['json']['id'],await xcode_1[_0x428339(0xe2)]['runWithSimulator'](_0x2f92b2),!![];}
1
+ 'use strict';function _0x49f0(_0x5052e7,_0x1cb93f){const _0x4fee46=_0x4fee();return _0x49f0=function(_0x49f095,_0x7bb119){_0x49f095=_0x49f095-0xc7;let _0x288291=_0x4fee46[_0x49f095];return _0x288291;},_0x49f0(_0x5052e7,_0x1cb93f);}const _0x41c9b7=_0x49f0;(function(_0x4cbd64,_0x73452c){const _0x5ffb7e=_0x49f0,_0x2eeafb=_0x4cbd64();while(!![]){try{const _0x5a98c3=-parseInt(_0x5ffb7e(0xdd))/0x1*(-parseInt(_0x5ffb7e(0xe4))/0x2)+parseInt(_0x5ffb7e(0xde))/0x3+-parseInt(_0x5ffb7e(0xdb))/0x4+-parseInt(_0x5ffb7e(0xe5))/0x5*(-parseInt(_0x5ffb7e(0xe8))/0x6)+parseInt(_0x5ffb7e(0xd7))/0x7+parseInt(_0x5ffb7e(0xd2))/0x8*(parseInt(_0x5ffb7e(0xdf))/0x9)+-parseInt(_0x5ffb7e(0xe0))/0xa;if(_0x5a98c3===_0x73452c)break;else _0x2eeafb['push'](_0x2eeafb['shift']());}catch(_0x4b0732){_0x2eeafb['push'](_0x2eeafb['shift']());}}}(_0x4fee,0x96bde));Object['defineProperty'](exports,_0x41c9b7(0xc9),{'value':!![]}),exports[_0x41c9b7(0xcf)]=start,exports[_0x41c9b7(0xd0)]=store,exports[_0x41c9b7(0xce)]=dev;const pwa_1=require('../pwa'),resource_1=require(_0x41c9b7(0xd4)),xcode_1=require(_0x41c9b7(0xe3)),check_1=require(_0x41c9b7(0xd6));async function start(_0x55992c,_0x4c20cf=![]){const _0x57a263=_0x41c9b7;(0x0,check_1[_0x57a263(0xc7)])(_0x55992c,_0x4c20cf),console[_0x57a263(0xd3)](_0x57a263(0xcb));let _0x352ba5=await pwa_1[_0x57a263(0xeb)][_0x57a263(0xe2)](_0x55992c,_0x4c20cf);!_0x352ba5[_0x57a263(0xe9)]&&(await resource_1[_0x57a263(0xdc)][_0x57a263(0xc8)](_0x55992c[_0x57a263(0xed)]),console['log']('move\x20web\x20project:\x20ok'));const _0x1b9858=await resource_1[_0x57a263(0xdc)][_0x57a263(0xca)](_0x352ba5);return console[_0x57a263(0xd3)](_0x57a263(0xcd)),await xcode_1[_0x57a263(0xee)][_0x57a263(0xe6)]({'icon':_0x1b9858,'manifestInfo':_0x352ba5,'teamId':_0x55992c['teamId'],'version':_0x55992c[_0x57a263(0xec)],'buildType':_0x55992c['buildType'],'export':_0x55992c[_0x57a263(0xea)]},_0x4c20cf),console[_0x57a263(0xd3)](_0x57a263(0xe7)),_0x352ba5;}function _0x4fee(){const _0x5c6618=['store','upload','496LZbMEF','log','../resource','runWithSimulator','./check','3424687UUivnO','name','buildType','SpatialWebTest','3261248AqVnrJ','ResourceManager','71aebPwO','1016274qRZnSs','75186EwzPCc','6799980frkGnr','json','generator','../xcode','8182UJIaoo','85bbLgos','parseProject','-------------------\x20build\x20end\x20-------------------','168120RfPaou','fromNet','export','PWAGenerator','version','project','XcodeManager','checkBuildParams','moveProjectFrom','__esModule','generateIcon','-------------------\x20build\x20start\x20-------------------','app-store-connect','generate\x20icon:\x20ok','dev','start'];_0x4fee=function(){return _0x5c6618;};return _0x4fee();}async function store(_0x581081){const _0x8d769c=_0x41c9b7;(0x0,check_1['checkStoreParams'])(_0x581081);let _0x12f9c8={'name':_0x8d769c(0xda)};_0x581081[_0x8d769c(0xd9)]=_0x8d769c(0xcc);if(_0x581081['name'])_0x12f9c8['name']=_0x581081['name'];else{const _0x1585b1=await start(_0x581081);if(!_0x1585b1)return![];_0x12f9c8[_0x8d769c(0xd8)]=_0x1585b1[_0x8d769c(0xe1)][_0x8d769c(0xd8)];}return await xcode_1[_0x8d769c(0xee)][_0x8d769c(0xd1)](_0x581081,_0x12f9c8),!![];}async function dev(_0x185e8f){const _0x28a736=_0x41c9b7;let _0x206bfd={'name':_0x28a736(0xda),'id':'com.SpatialWeb.test'};const _0x51e261=await start(_0x185e8f,!![]);if(!_0x51e261)return![];return _0x206bfd[_0x28a736(0xd8)]=_0x51e261[_0x28a736(0xe1)][_0x28a736(0xd8)],_0x206bfd['id']=_0x51e261[_0x28a736(0xe1)]['id'],await xcode_1[_0x28a736(0xee)][_0x28a736(0xd5)](_0x206bfd),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x135c(){var _0x4e0929=['1rtpWDi','15273OydRoL','1477210rMTapN','__esModule','manifest','7696DQbnxn','checkBuildParams','4429030krmQrx','teamId','manifest-url','433850vqKODy','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','4246296qGYPmX','defineProperty','teamId\x20is\x20required','2302995vuvuIX','manifest\x20or\x20manifest-url\x20is\x20required','3492972pKFurt','checkStoreParams'];_0x135c=function(){return _0x4e0929;};return _0x135c();}var _0x3a47df=_0x45e2;(function(_0x4f6214,_0x59eb7e){var _0x3557e6=_0x45e2,_0x153381=_0x4f6214();while(!![]){try{var _0x3574ee=parseInt(_0x3557e6(0x8f))/0x1*(parseInt(_0x3557e6(0x99))/0x2)+-parseInt(_0x3557e6(0x8b))/0x3+-parseInt(_0x3557e6(0x88))/0x4+parseInt(_0x3557e6(0x96))/0x5+-parseInt(_0x3557e6(0x8d))/0x6+parseInt(_0x3557e6(0x91))/0x7+parseInt(_0x3557e6(0x94))/0x8*(parseInt(_0x3557e6(0x90))/0x9);if(_0x3574ee===_0x59eb7e)break;else _0x153381['push'](_0x153381['shift']());}catch(_0x942718){_0x153381['push'](_0x153381['shift']());}}}(_0x135c,0x8295a));function _0x45e2(_0x4ba657,_0xbd9646){var _0x135c0f=_0x135c();return _0x45e2=function(_0x45e21a,_0x1d42f6){_0x45e21a=_0x45e21a-0x87;var _0x1689be=_0x135c0f[_0x45e21a];return _0x1689be;},_0x45e2(_0x4ba657,_0xbd9646);}Object[_0x3a47df(0x89)](exports,_0x3a47df(0x92),{'value':!![]}),exports[_0x3a47df(0x95)]=checkBuildParams,exports[_0x3a47df(0x8e)]=checkStoreParams;function checkBuildParams(_0x4ebb12,_0x163492=![]){var _0x4202e5=_0x3a47df;if(!_0x4ebb12[_0x4202e5(0x93)]&&!_0x4ebb12[_0x4202e5(0x98)])throw new Error(_0x4202e5(0x8c));if(_0x4ebb12[_0x4202e5(0x93)]&&_0x4ebb12[_0x4202e5(0x98)])throw new Error(_0x4202e5(0x87));if(!_0x4ebb12[_0x4202e5(0x97)]&&!_0x163492)throw new Error(_0x4202e5(0x8a));}function checkStoreParams(_0x1ec98b){if(!(_0x1ec98b['u']&&_0x1ec98b['p'])&&!(_0x1ec98b['k']&&_0x1ec98b['i']))throw new Error('u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required');if(!_0x1ec98b['version'])throw new Error('version\x20is\x20required');}
1
+ 'use strict';var _0x4c8b42=_0x5714;(function(_0x4fc1e8,_0x23812d){var _0x3e9d3f=_0x5714,_0x502605=_0x4fc1e8();while(!![]){try{var _0x33c5cd=-parseInt(_0x3e9d3f(0x8c))/0x1+parseInt(_0x3e9d3f(0x8a))/0x2+-parseInt(_0x3e9d3f(0x90))/0x3+parseInt(_0x3e9d3f(0x93))/0x4*(-parseInt(_0x3e9d3f(0x82))/0x5)+parseInt(_0x3e9d3f(0x89))/0x6*(parseInt(_0x3e9d3f(0x88))/0x7)+parseInt(_0x3e9d3f(0x92))/0x8+parseInt(_0x3e9d3f(0x86))/0x9;if(_0x33c5cd===_0x23812d)break;else _0x502605['push'](_0x502605['shift']());}catch(_0x412fd4){_0x502605['push'](_0x502605['shift']());}}}(_0x4861,0xe0b1a));function _0x5714(_0x369066,_0x22c642){var _0x4861fe=_0x4861();return _0x5714=function(_0x571464,_0x3d2a6f){_0x571464=_0x571464-0x81;var _0x3f48e5=_0x4861fe[_0x571464];return _0x3f48e5;},_0x5714(_0x369066,_0x22c642);}Object[_0x4c8b42(0x8f)](exports,_0x4c8b42(0x81),{'value':!![]}),exports[_0x4c8b42(0x91)]=checkBuildParams,exports[_0x4c8b42(0x8b)]=checkStoreParams;function checkBuildParams(_0x38ca21,_0x4d2a21=![]){var _0x4d8386=_0x4c8b42;if(!_0x38ca21[_0x4d8386(0x8d)]&&!_0x38ca21[_0x4d8386(0x84)])throw new Error(_0x4d8386(0x83));if(_0x38ca21['manifest']&&_0x38ca21['manifest-url'])throw new Error(_0x4d8386(0x85));if(!_0x38ca21['teamId']&&!_0x4d2a21)throw new Error('teamId\x20is\x20required');}function checkStoreParams(_0x1bc7b2){var _0x487a58=_0x4c8b42;if(!(_0x1bc7b2['u']&&_0x1bc7b2['p'])&&!(_0x1bc7b2['k']&&_0x1bc7b2['i']))throw new Error(_0x487a58(0x8e));if(!_0x1bc7b2['version'])throw new Error(_0x487a58(0x87));}function _0x4861(){var _0x468e89=['version\x20is\x20required','6433ROLEie','7482nZaGfm','3275514SWTAAH','checkStoreParams','1093283hoOcOt','manifest','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','defineProperty','2936382sHqcSI','checkBuildParams','7315736wnfUIp','7225020XtQukJ','__esModule','5abCGtx','manifest\x20or\x20manifest-url\x20is\x20required','manifest-url','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','9904149QSfbzs'];_0x4861=function(){return _0x468e89;};return _0x4861();}
@@ -1 +1 @@
1
- 'use strict';const _0x5c7fc7=_0x5644;function _0x5644(_0x1f8a2d,_0x46bfc6){const _0x337426=_0x3374();return _0x5644=function(_0x564483,_0xb5d3ac){_0x564483=_0x564483-0x172;let _0x3d3442=_0x337426[_0x564483];return _0x3d3442;},_0x5644(_0x1f8a2d,_0x46bfc6);}function _0x3374(){const _0x578721=['help\x20................\x20shows\x20this\x20menu','info','Usage:','webspatial\x20[command]\x20<options>','26449GMAzeq','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','publish','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','1919115elhHWp','2vBmdWM','2418035wYuckX','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','defineProperty','help','dev','7052850zzRvnY','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','../utils/Log','ConsoleLog','join','build','main','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','8263192SYyLqG','get','6364968Wulyum','36VvoOgd','262623vaToBO','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'];_0x3374=function(){return _0x578721;};return _0x3374();}(function(_0x14b59a,_0x4f4a5e){const _0x57fdd4=_0x5644,_0x51d3c0=_0x14b59a();while(!![]){try{const _0x34929d=parseInt(_0x57fdd4(0x17d))/0x1*(-parseInt(_0x57fdd4(0x182))/0x2)+-parseInt(_0x57fdd4(0x176))/0x3*(-parseInt(_0x57fdd4(0x175))/0x4)+parseInt(_0x57fdd4(0x183))/0x5+parseInt(_0x57fdd4(0x189))/0x6+-parseInt(_0x57fdd4(0x172))/0x7+-parseInt(_0x57fdd4(0x174))/0x8+parseInt(_0x57fdd4(0x181))/0x9;if(_0x34929d===_0x4f4a5e)break;else _0x51d3c0['push'](_0x51d3c0['shift']());}catch(_0x1e1329){_0x51d3c0['push'](_0x51d3c0['shift']());}}}(_0x3374,0xa08fc));Object[_0x5c7fc7(0x186)](exports,'__esModule',{'value':!![]}),exports[_0x5c7fc7(0x187)]=help;const Log_1=require(_0x5c7fc7(0x18b)),HELP_MESSAGES=new Map([[_0x5c7fc7(0x18f),[_0x5c7fc7(0x17c),'','',_0x5c7fc7(0x179),'build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+_0x5c7fc7(0x17e),_0x5c7fc7(0x190),_0x5c7fc7(0x177)][_0x5c7fc7(0x18d)]('\x0a')],[_0x5c7fc7(0x18e),[_0x5c7fc7(0x17b),'','',_0x5c7fc7(0x178),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x5c7fc7(0x18d)]('\x0a')],[_0x5c7fc7(0x188),[_0x5c7fc7(0x17b),'','',_0x5c7fc7(0x184),'','',_0x5c7fc7(0x180)][_0x5c7fc7(0x18d)]('\x0a')],[_0x5c7fc7(0x17f),[_0x5c7fc7(0x17b),'','','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>','','',_0x5c7fc7(0x185),'','',_0x5c7fc7(0x18a)][_0x5c7fc7(0x18d)]('\x0a')]]);async function help(_0x4d5658,_0x336581=new Log_1[(_0x5c7fc7(0x18c))](_0x5c7fc7(0x187))){const _0x3c3acd=_0x5c7fc7,_0x10e965=_0x4d5658['_'][0x1],_0x51a012=HELP_MESSAGES[_0x3c3acd(0x173)](_0x10e965)||HELP_MESSAGES['get'](_0x3c3acd(0x18f));return _0x336581[_0x3c3acd(0x17a)](_0x51a012),!![];}
1
+ 'use strict';const _0x49a55b=_0x3da6;(function(_0x193485,_0xef9eba){const _0xa54e61=_0x3da6,_0x2ea54b=_0x193485();while(!![]){try{const _0xb3cb42=-parseInt(_0xa54e61(0xb3))/0x1*(-parseInt(_0xa54e61(0xbc))/0x2)+-parseInt(_0xa54e61(0xc0))/0x3*(parseInt(_0xa54e61(0xab))/0x4)+-parseInt(_0xa54e61(0xa8))/0x5+-parseInt(_0xa54e61(0xb0))/0x6*(-parseInt(_0xa54e61(0xae))/0x7)+-parseInt(_0xa54e61(0xb6))/0x8*(parseInt(_0xa54e61(0xb9))/0x9)+-parseInt(_0xa54e61(0xba))/0xa*(-parseInt(_0xa54e61(0xb8))/0xb)+parseInt(_0xa54e61(0xaf))/0xc*(parseInt(_0xa54e61(0xc9))/0xd);if(_0xb3cb42===_0xef9eba)break;else _0x2ea54b['push'](_0x2ea54b['shift']());}catch(_0x5ba5a4){_0x2ea54b['push'](_0x2ea54b['shift']());}}}(_0x3336,0xd9792));function _0x3da6(_0x352e61,_0x32e2e3){const _0x33366c=_0x3336();return _0x3da6=function(_0x3da648,_0xb06615){_0x3da648=_0x3da648-0xa8;let _0x15fe9c=_0x33366c[_0x3da648];return _0x15fe9c;},_0x3da6(_0x352e61,_0x32e2e3);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x49a55b(0xbe)]=help;const Log_1=require(_0x49a55b(0xb1)),HELP_MESSAGES=new Map([[_0x49a55b(0xbd),[_0x49a55b(0xcb),'','',_0x49a55b(0xaa),_0x49a55b(0xb4)+_0x49a55b(0xc6),_0x49a55b(0xc5),_0x49a55b(0xc7)][_0x49a55b(0xac)]('\x0a')],[_0x49a55b(0xc2),[_0x49a55b(0xca),'','',_0x49a55b(0xc8),'','',_0x49a55b(0xbf)][_0x49a55b(0xac)]('\x0a')],[_0x49a55b(0xa9),[_0x49a55b(0xca),'','',_0x49a55b(0xb5),'','',_0x49a55b(0xbb)][_0x49a55b(0xac)]('\x0a')],[_0x49a55b(0xc3),[_0x49a55b(0xca),'','',_0x49a55b(0xb7),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x49a55b(0xc1)]['join']('\x0a')]]);async function help(_0x235cd6,_0x348ef0=new Log_1[(_0x49a55b(0xad))](_0x49a55b(0xbe))){const _0x7d74f5=_0x49a55b,_0x3bba39=_0x235cd6['_'][0x1],_0x4f7b42=HELP_MESSAGES[_0x7d74f5(0xb2)](_0x3bba39)||HELP_MESSAGES[_0x7d74f5(0xb2)]('main');return _0x348ef0[_0x7d74f5(0xc4)](_0x4f7b42),!![];}function _0x3336(){const _0x396a16=['build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','5761016AMdSGx','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>','11naIQxx','9gxyMXw','6431020VNkQGM','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','1239362ARQoyo','main','help','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','114teKVDw','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','build','publish','info','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','78tHHkiN','Usage:','webspatial\x20[command]\x20<options>','281225REKxau','dev','help\x20................\x20shows\x20this\x20menu','160340wstdDF','join','ConsoleLog','7CxnQPM','618444Eyteyt','9710202YropSZ','../utils/Log','get','1ixDUKC'];_0x3336=function(){return _0x396a16;};return _0x3336();}
@@ -1 +1 @@
1
- 'use strict';const _0x536d78=_0x3a63;function _0x572a(){const _0x52c623=['6IeDcXt','readFile','3529752TIuPEQ','22ogXlfz','__esModule','8591510kUDXxk','10nuDEwc','parse','toString','5948685pZhKjK','8KBHoEa','732868fEUqTZ','promises','defineProperty','901154AZGgih','../utils/Log','join','version','3LpFWgT','4302718hBZkaX','1035062cifbJb','info'];_0x572a=function(){return _0x52c623;};return _0x572a();}function _0x3a63(_0x552c57,_0x1b13e7){const _0x572ade=_0x572a();return _0x3a63=function(_0x3a63a3,_0x128ade){_0x3a63a3=_0x3a63a3-0x14c;let _0x4da7bc=_0x572ade[_0x3a63a3];return _0x4da7bc;},_0x3a63(_0x552c57,_0x1b13e7);}(function(_0x304de5,_0x143b3b){const _0x3f36=_0x3a63,_0x10a9d2=_0x304de5();while(!![]){try{const _0x3c44c3=-parseInt(_0x3f36(0x156))/0x1+-parseInt(_0x3f36(0x15c))/0x2*(parseInt(_0x3f36(0x15a))/0x3)+parseInt(_0x3f36(0x153))/0x4*(-parseInt(_0x3f36(0x14e))/0x5)+-parseInt(_0x3f36(0x15e))/0x6*(-parseInt(_0x3f36(0x15b))/0x7)+-parseInt(_0x3f36(0x152))/0x8*(-parseInt(_0x3f36(0x151))/0x9)+parseInt(_0x3f36(0x14d))/0xa+parseInt(_0x3f36(0x161))/0xb*(parseInt(_0x3f36(0x160))/0xc);if(_0x3c44c3===_0x143b3b)break;else _0x10a9d2['push'](_0x10a9d2['shift']());}catch(_0x474ec4){_0x10a9d2['push'](_0x10a9d2['shift']());}}}(_0x572a,0xe4feb));Object[_0x536d78(0x155)](exports,_0x536d78(0x14c),{'value':!![]}),exports[_0x536d78(0x159)]=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x536d78(0x157));async function version(_0x3d53fb=new Log_1['ConsoleLog'](_0x536d78(0x159))){const _0x504aaa=_0x536d78,_0x4aec6b=path[_0x504aaa(0x158)](__dirname,'../../../package.json'),_0xc03cee=await(await fs[_0x504aaa(0x154)][_0x504aaa(0x15f)](_0x4aec6b))[_0x504aaa(0x150)](),_0x54b199=JSON[_0x504aaa(0x14f)](_0xc03cee);return _0x3d53fb[_0x504aaa(0x15d)](_0x54b199[_0x504aaa(0x159)]),!![];}
1
+ 'use strict';const _0x5a4b40=_0x5431;(function(_0x5f3e07,_0x17302a){const _0x340f6d=_0x5431,_0x8447d5=_0x5f3e07();while(!![]){try{const _0x3193c6=parseInt(_0x340f6d(0xb8))/0x1*(-parseInt(_0x340f6d(0xbd))/0x2)+-parseInt(_0x340f6d(0xbc))/0x3+parseInt(_0x340f6d(0xc3))/0x4*(parseInt(_0x340f6d(0xc2))/0x5)+-parseInt(_0x340f6d(0xb5))/0x6*(parseInt(_0x340f6d(0xbb))/0x7)+parseInt(_0x340f6d(0xb3))/0x8+parseInt(_0x340f6d(0xc1))/0x9*(-parseInt(_0x340f6d(0xb6))/0xa)+parseInt(_0x340f6d(0xc5))/0xb;if(_0x3193c6===_0x17302a)break;else _0x8447d5['push'](_0x8447d5['shift']());}catch(_0x5f43c1){_0x8447d5['push'](_0x8447d5['shift']());}}}(_0x209f,0x8776d));function _0x5431(_0x25c3f8,_0x4db86e){const _0x209f0f=_0x209f();return _0x5431=function(_0x5431bd,_0x351a41){_0x5431bd=_0x5431bd-0xb3;let _0xd14d95=_0x209f0f[_0x5431bd];return _0xd14d95;},_0x5431(_0x25c3f8,_0x4db86e);}function _0x209f(){const _0x23a8f8=['defineProperty','1329CuOGLt','readFile','version','203qcNGzG','692961GqwynD','1418yjSUJI','__esModule','../utils/Log','join','41778HznYnc','20fYEJtj','270416zRksbu','promises','26939649gtSBmC','4663496BvYpMU','../../../package.json','223914AehmmJ','1060AWlhHh'];_0x209f=function(){return _0x23a8f8;};return _0x209f();}Object[_0x5a4b40(0xb7)](exports,_0x5a4b40(0xbe),{'value':!![]}),exports[_0x5a4b40(0xba)]=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x5a4b40(0xbf));async function version(_0x14fc7e=new Log_1['ConsoleLog']('version')){const _0x147809=_0x5a4b40,_0x346b33=path[_0x147809(0xc0)](__dirname,_0x147809(0xb4)),_0x2295cd=await(await fs[_0x147809(0xc4)][_0x147809(0xb9)](_0x346b33))['toString'](),_0x5437e5=JSON['parse'](_0x2295cd);return _0x14fc7e['info'](_0x5437e5['version']),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x1aaab2=_0x3772;(function(_0x435926,_0x2b7295){const _0x33dfc2=_0x3772,_0x5aa667=_0x435926();while(!![]){try{const _0x4e57cf=-parseInt(_0x33dfc2(0xb3))/0x1+parseInt(_0x33dfc2(0x9e))/0x2+-parseInt(_0x33dfc2(0xbc))/0x3*(parseInt(_0x33dfc2(0xa1))/0x4)+parseInt(_0x33dfc2(0x8f))/0x5*(-parseInt(_0x33dfc2(0xa8))/0x6)+parseInt(_0x33dfc2(0x97))/0x7+-parseInt(_0x33dfc2(0x90))/0x8*(-parseInt(_0x33dfc2(0x8e))/0x9)+-parseInt(_0x33dfc2(0xb1))/0xa*(-parseInt(_0x33dfc2(0x83))/0xb);if(_0x4e57cf===_0x2b7295)break;else _0x5aa667['push'](_0x5aa667['shift']());}catch(_0xa52eca){_0x5aa667['push'](_0x5aa667['shift']());}}}(_0x1735,0x9d47c));Object[_0x1aaab2(0x93)](exports,_0x1aaab2(0xb2),{'value':!![]}),exports[_0x1aaab2(0xa5)]=void 0x0,exports[_0x1aaab2(0xb8)]=configId,exports['configStartUrl']=configStartUrl,exports[_0x1aaab2(0xae)]=configScope,exports[_0x1aaab2(0xbd)]=configDisplay,exports[_0x1aaab2(0xc2)]=configMainScene,exports['configDeeplink']=configDeeplink;function _0x3772(_0x4a96e0,_0x295ca5){const _0x17357c=_0x1735();return _0x3772=function(_0x377212,_0x14ac06){_0x377212=_0x377212-0x80;let _0x1e3a09=_0x17357c[_0x377212];return _0x1e3a09;},_0x3772(_0x4a96e0,_0x295ca5);}const utils_1=require(_0x1aaab2(0x81)),validate_1=require(_0x1aaab2(0x82)),path_1=require('path');function configId(_0x58df32){const _0x15a280=_0x1aaab2,_0x41b5b1=new URL(_0x58df32['id']);let _0x5f1854=_0x41b5b1[_0x15a280(0xbb)][_0x15a280(0xac)]('.')[_0x15a280(0x9a)]();_0x58df32['id']=_0x5f1854[_0x15a280(0x9f)]('.');}function configStartUrl(_0x58111a,_0x2d5052,_0x23e107){const _0x26282f=_0x1aaab2,_0x5bd780=(0x0,validate_1[_0x26282f(0x96)])(_0x58111a[_0x26282f(0xc3)]);let _0x20ccd8=_0x58111a[_0x26282f(0xc3)];_0x23e107?!_0x5bd780&&(_0x20ccd8=(0x0,path_1['join'])((0x0,utils_1[_0x26282f(0x99)])(_0x2d5052),_0x58111a['start_url'])):!_0x5bd780&&(_0x20ccd8=(0x0,path_1[_0x26282f(0x9f)])(_0x26282f(0xa7),_0x58111a[_0x26282f(0xc3)])),_0x58111a[_0x26282f(0xc3)]=_0x20ccd8;}function configScope(_0x4397bb,_0x3afd29){const _0x163a14=_0x1aaab2;var _0xc82275,_0xe71116,_0x12a8f7;let _0x35537a='';const _0x4df703=(0x0,validate_1[_0x163a14(0x96)])(_0x4397bb[_0x163a14(0xb4)]);if(_0x3afd29&&_0x4df703){const _0x3103c1=new URL((_0xc82275=_0x4397bb[_0x163a14(0xb4)])!==null&&_0xc82275!==void 0x0?_0xc82275:''),_0x47df98=new URL(_0x4397bb[_0x163a14(0xc3)]);(_0x3103c1[_0x163a14(0xbb)]!==_0x47df98[_0x163a14(0xbb)]||_0x4397bb['start_url']['indexOf'](_0x35537a)!==0x0)&&(_0x35537a=(0x0,utils_1[_0x163a14(0x99)])(_0x4397bb[_0x163a14(0xc3)]));}else{if(_0x3afd29&&!_0x4df703){const _0x47eaf1=_0x4397bb['start_url'][_0x163a14(0x9d)](_0x163a14(0x9c))===0x0?_0x163a14(0x9c):'https://';_0x35537a=(0x0,path_1[_0x163a14(0x9f)])(_0x4397bb['start_url']['replace'](_0x47eaf1,''),(_0xe71116=_0x4397bb[_0x163a14(0xb4)])!==null&&_0xe71116!==void 0x0?_0xe71116:''),_0x35537a=_0x47eaf1+_0x35537a;}else _0x35537a=(0x0,path_1[_0x163a14(0x9f)])((0x0,utils_1[_0x163a14(0x99)])(_0x4397bb[_0x163a14(0xc3)]),(_0x12a8f7=_0x4397bb[_0x163a14(0xb4)])!==null&&_0x12a8f7!==void 0x0?_0x12a8f7:'');}_0x4397bb['scope']=_0x35537a;}function configDisplay(_0x4ff37c){const _0x47dd0b=_0x1aaab2;let _0x54f2d4=_0x4ff37c['display'];_0x54f2d4!=='minimal-ui'&&_0x54f2d4!==_0x47dd0b(0xb7)&&(_0x54f2d4=_0x47dd0b(0xb7));if(_0x4ff37c[_0x47dd0b(0x91)]&&_0x4ff37c[_0x47dd0b(0x91)][_0x47dd0b(0x94)]>0x0){const _0x1deb5b=_0x4ff37c[_0x47dd0b(0x91)][_0x47dd0b(0x9d)](_0x47dd0b(0x85)),_0x2800a7=_0x4ff37c[_0x47dd0b(0x91)][_0x47dd0b(0x9d)](_0x47dd0b(0xb7));if(_0x1deb5b>=0x0&&_0x2800a7>=0x0)_0x54f2d4=_0x2800a7>_0x1deb5b?'standalone':_0x47dd0b(0x85);else{if(_0x1deb5b>=0x0)_0x54f2d4='minimal-ui';else _0x2800a7>=0x0&&(_0x54f2d4='standalone');}}}function configMainScene(_0x2c3b09){const _0x134635=_0x1aaab2;var _0x234e8c,_0x136b2f;const _0x267b98=['automatic',_0x134635(0xa9),_0x134635(0xa2)];let _0x3d0b0e={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x134635(0xaf)};_0x2c3b09[_0x134635(0x8c)]&&(_0x3d0b0e[_0x134635(0x86)][_0x134635(0xa4)]=Number((_0x234e8c=_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)])===null||_0x234e8c===void 0x0?void 0x0:_0x234e8c['width'])>0x0?_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)][_0x134635(0xa4)]:0x500,_0x3d0b0e[_0x134635(0x86)][_0x134635(0x88)]=Number((_0x136b2f=_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)])===null||_0x136b2f===void 0x0?void 0x0:_0x136b2f[_0x134635(0x88)])>0x0?_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)][_0x134635(0x88)]:0x500,_0x3d0b0e[_0x134635(0xc1)]=_0x267b98[_0x134635(0xaa)](_0x2c3b09['xr_main_scene'][_0x134635(0xc1)])?_0x2c3b09['xr_main_scene'][_0x134635(0xc1)]:'automatic'),_0x2c3b09[_0x134635(0x8d)]=_0x3d0b0e;}function configDeeplink(_0x36c8e1){const _0x5f298a=_0x1aaab2;if(_0x36c8e1[_0x5f298a(0x89)]&&_0x36c8e1[_0x5f298a(0x89)][_0x5f298a(0x94)]>0x0)for(var _0x3cdae5=0x0;_0x3cdae5<_0x36c8e1[_0x5f298a(0x89)][_0x5f298a(0x94)];_0x3cdae5++){const _0x2db320=_0x36c8e1[_0x5f298a(0x89)][_0x3cdae5];if(_0x2db320[_0x5f298a(0x87)]&&(exports[_0x5f298a(0xa5)]['includes'](_0x2db320[_0x5f298a(0x87)])||_0x2db320[_0x5f298a(0x87)]['indexOf'](_0x5f298a(0x8b))===0x0)){if(!((0x0,validate_1[_0x5f298a(0x96)])(_0x2db320[_0x5f298a(0xa0)])&&_0x2db320[_0x5f298a(0xa0)][_0x5f298a(0x9d)](_0x36c8e1['scope'])<0x0))continue;}_0x36c8e1[_0x5f298a(0x89)][_0x5f298a(0xad)](_0x3cdae5,0x1),_0x3cdae5--;}}exports[_0x1aaab2(0xa5)]=[_0x1aaab2(0xb9),_0x1aaab2(0xa6),'ftps','geo','im','irc',_0x1aaab2(0x95),_0x1aaab2(0xb6),_0x1aaab2(0xbe),_0x1aaab2(0xb5),_0x1aaab2(0x9b),_0x1aaab2(0x8a),_0x1aaab2(0xba),_0x1aaab2(0x98),_0x1aaab2(0x84),_0x1aaab2(0xab),_0x1aaab2(0xa3),_0x1aaab2(0x80),_0x1aaab2(0xc0),'tel',_0x1aaab2(0xb0),'webcal','wtai',_0x1aaab2(0xbf)];function _0x1735(){const _0x3c6054=['configDisplay','mailto','xmpp','ssh','resizability','configMainScene','start_url','smsto','../utils/utils','./validate','77yLdfgf','sftp','minimal-ui','defaultSize','protocol','height','protocol_handlers','news','web+','xr_main_scene','mainScene','1256058oruyZJ','105oldTql','16wkPcnn','display_override','default_size','defineProperty','length','ircs','validateURL','2167109NRPgFg','openpgp4fpr','parseRouter','reverse','mms','http://','indexOf','524738hJbCcq','join','url','3866132BqheqI','contentSize','sms','width','safelist','ftp','./static-web','29322KmqQsR','contentMinSize','includes','sip','split','splice','configScope','automatic','urn','2134510lRFBQV','__esModule','631857cDbngi','scope','matrix','magnet','standalone','configId','bitcoin','nntp','host','3kiFVLY'];_0x1735=function(){return _0x3c6054;};return _0x1735();}
1
+ 'use strict';const _0x25ece3=_0x5033;(function(_0x14c73c,_0x471c1c){const _0x585fd0=_0x5033,_0x5bd9b4=_0x14c73c();while(!![]){try{const _0x321f94=parseInt(_0x585fd0(0xc7))/0x1+-parseInt(_0x585fd0(0xc5))/0x2*(-parseInt(_0x585fd0(0xba))/0x3)+parseInt(_0x585fd0(0xbc))/0x4+-parseInt(_0x585fd0(0xd4))/0x5+parseInt(_0x585fd0(0xd0))/0x6*(-parseInt(_0x585fd0(0xe4))/0x7)+-parseInt(_0x585fd0(0xc0))/0x8*(parseInt(_0x585fd0(0xf9))/0x9)+-parseInt(_0x585fd0(0xf4))/0xa;if(_0x321f94===_0x471c1c)break;else _0x5bd9b4['push'](_0x5bd9b4['shift']());}catch(_0x2f86f4){_0x5bd9b4['push'](_0x5bd9b4['shift']());}}}(_0x127c,0x93744));function _0x5033(_0x3b4f81,_0x19ff86){const _0x127c69=_0x127c();return _0x5033=function(_0x50333a,_0x36a691){_0x50333a=_0x50333a-0xb4;let _0x2b61dc=_0x127c69[_0x50333a];return _0x2b61dc;},_0x5033(_0x3b4f81,_0x19ff86);}Object[_0x25ece3(0xcf)](exports,_0x25ece3(0xf2),{'value':!![]}),exports[_0x25ece3(0xcb)]=void 0x0,exports[_0x25ece3(0xeb)]=configId,exports[_0x25ece3(0xbe)]=configStartUrl,exports[_0x25ece3(0xdb)]=configScope,exports[_0x25ece3(0xdd)]=configDisplay,exports[_0x25ece3(0xf6)]=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x25ece3(0xbd)),validate_1=require(_0x25ece3(0xc9)),path_1=require(_0x25ece3(0xb5));function configId(_0x427dcb){const _0x2ea946=_0x25ece3,_0x393e3c=new URL(_0x427dcb['id']);let _0x1b038b=_0x393e3c[_0x2ea946(0xe9)][_0x2ea946(0xe0)]('.')[_0x2ea946(0xe8)]();_0x427dcb['id']=_0x1b038b[_0x2ea946(0xd7)]('.');}function configStartUrl(_0x1f60ee,_0x26ac68,_0x163947){const _0x2a1ceb=_0x25ece3,_0x1dedc7=(0x0,validate_1[_0x2a1ceb(0xb8)])(_0x1f60ee[_0x2a1ceb(0xb7)]);let _0x5c5dbf=_0x1f60ee['start_url'];_0x163947?!_0x1dedc7&&(_0x5c5dbf=(0x0,path_1[_0x2a1ceb(0xd7)])((0x0,utils_1[_0x2a1ceb(0xd9)])(_0x26ac68),_0x1f60ee[_0x2a1ceb(0xb7)])):!_0x1dedc7&&(_0x5c5dbf=(0x0,path_1['join'])('./static-web',_0x1f60ee[_0x2a1ceb(0xb7)])),_0x1f60ee[_0x2a1ceb(0xb7)]=_0x5c5dbf;}function configScope(_0x2aaba4,_0x58a3f7){const _0x274c20=_0x25ece3;var _0x9189ac,_0x46fdd6,_0x5dc859;let _0x85bf8c='';const _0x5d3432=(0x0,validate_1[_0x274c20(0xb8)])(_0x2aaba4[_0x274c20(0xe3)]);if(_0x58a3f7&&_0x5d3432){const _0x176ac6=new URL((_0x9189ac=_0x2aaba4[_0x274c20(0xe3)])!==null&&_0x9189ac!==void 0x0?_0x9189ac:''),_0x25febd=new URL(_0x2aaba4[_0x274c20(0xb7)]);(_0x176ac6[_0x274c20(0xe9)]!==_0x25febd[_0x274c20(0xe9)]||_0x2aaba4[_0x274c20(0xb7)]['indexOf'](_0x85bf8c)!==0x0)&&(_0x85bf8c=(0x0,utils_1[_0x274c20(0xd9)])(_0x2aaba4[_0x274c20(0xb7)]));}else{if(_0x58a3f7&&!_0x5d3432){const _0x4a1aa7=_0x2aaba4[_0x274c20(0xb7)][_0x274c20(0xda)](_0x274c20(0xed))===0x0?_0x274c20(0xed):'https://';_0x85bf8c=(0x0,path_1[_0x274c20(0xd7)])(_0x2aaba4['start_url'][_0x274c20(0xd8)](_0x4a1aa7,''),(_0x46fdd6=_0x2aaba4[_0x274c20(0xe3)])!==null&&_0x46fdd6!==void 0x0?_0x46fdd6:''),_0x85bf8c=_0x4a1aa7+_0x85bf8c;}else _0x85bf8c=(0x0,path_1[_0x274c20(0xd7)])((0x0,utils_1[_0x274c20(0xd9)])(_0x2aaba4[_0x274c20(0xb7)]),(_0x5dc859=_0x2aaba4['scope'])!==null&&_0x5dc859!==void 0x0?_0x5dc859:'');}_0x2aaba4[_0x274c20(0xe3)]=_0x85bf8c;}function configDisplay(_0x514f06){const _0x3e2f23=_0x25ece3;let _0x3f6fb8=_0x514f06[_0x3e2f23(0xbb)];_0x3f6fb8!==_0x3e2f23(0xca)&&_0x3f6fb8!=='standalone'&&(_0x3f6fb8='standalone');if(_0x514f06['display_override']&&_0x514f06[_0x3e2f23(0xcc)][_0x3e2f23(0xe7)]>0x0){const _0x5604e2=_0x514f06[_0x3e2f23(0xcc)][_0x3e2f23(0xda)](_0x3e2f23(0xca)),_0x1bddcc=_0x514f06['display_override'][_0x3e2f23(0xda)](_0x3e2f23(0xdc));if(_0x5604e2>=0x0&&_0x1bddcc>=0x0)_0x3f6fb8=_0x1bddcc>_0x5604e2?_0x3e2f23(0xdc):_0x3e2f23(0xca);else{if(_0x5604e2>=0x0)_0x3f6fb8='minimal-ui';else _0x1bddcc>=0x0&&(_0x3f6fb8=_0x3e2f23(0xdc));}}}function configMainScene(_0x3c1aca){const _0x171625=_0x25ece3;var _0x3d983f,_0x5eadc9;const _0x3a3148=[_0x171625(0xc1),'contentMinSize',_0x171625(0xec)];let _0xe1e2bc={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x3c1aca['xr_main_scene']){if(typeof _0x3c1aca[_0x171625(0xf0)]===_0x171625(0xf3))_0xe1e2bc[_0x171625(0xcd)][_0x171625(0xb6)]=Number((_0x3d983f=_0x3c1aca['xr_main_scene'][_0x171625(0xf8)])===null||_0x3d983f===void 0x0?void 0x0:_0x3d983f[_0x171625(0xb6)])>0x0?_0x3c1aca[_0x171625(0xf0)]['default_size'][_0x171625(0xb6)]:0x500,_0xe1e2bc[_0x171625(0xcd)][_0x171625(0xe1)]=Number((_0x5eadc9=_0x3c1aca[_0x171625(0xf0)]['default_size'])===null||_0x5eadc9===void 0x0?void 0x0:_0x5eadc9[_0x171625(0xe1)])>0x0?_0x3c1aca[_0x171625(0xf0)][_0x171625(0xf8)]['height']:0x500,_0xe1e2bc[_0x171625(0xe5)]=_0x3a3148[_0x171625(0xc3)](_0x3c1aca[_0x171625(0xf0)][_0x171625(0xe5)])?_0x3c1aca[_0x171625(0xf0)][_0x171625(0xe5)]:_0x171625(0xc1),_0x3c1aca[_0x171625(0xe2)]=_0xe1e2bc;else typeof _0x3c1aca[_0x171625(0xf0)]===_0x171625(0xe6)&&(_0x3c1aca['mainScene']='dynamic');}}function _0x127c(){const _0x3f14c0=['defaultSize','magnet','defineProperty','100284YRTuuE','webcal','ftp','irc','509100HziQMs','protocol','news','join','replace','parseRouter','indexOf','configScope','standalone','configDisplay','mms','xmpp','split','height','mainScene','scope','119TobTgT','resizability','string','length','reverse','host','protocol_handlers','configId','contentSize','http://','splice','nntp','xr_main_scene','wtai','__esModule','object','10509040qfTsPN','web+','configMainScene','url','default_size','1441053awyABd','sftp','urn','tel','path','width','start_url','validateURL','openpgp4fpr','6ZRDbTX','display','2036272HDwpdH','../utils/utils','configStartUrl','matrix','32xGtlfi','automatic','ircs','includes','bitcoin','990792RDWgjj','geo','1181442MBwotd','mailto','./validate','minimal-ui','safelist','display_override'];_0x127c=function(){return _0x3f14c0;};return _0x127c();}function configDeeplink(_0x23f94f){const _0x41d2a1=_0x25ece3;if(_0x23f94f['protocol_handlers']&&_0x23f94f[_0x41d2a1(0xea)][_0x41d2a1(0xe7)]>0x0)for(var _0x368635=0x0;_0x368635<_0x23f94f['protocol_handlers'][_0x41d2a1(0xe7)];_0x368635++){const _0x2195a0=_0x23f94f[_0x41d2a1(0xea)][_0x368635];if(_0x2195a0[_0x41d2a1(0xd5)]&&(exports['safelist'][_0x41d2a1(0xc3)](_0x2195a0[_0x41d2a1(0xd5)])||_0x2195a0['protocol']['indexOf'](_0x41d2a1(0xf5))===0x0)){if(!((0x0,validate_1[_0x41d2a1(0xb8)])(_0x2195a0[_0x41d2a1(0xf7)])&&_0x2195a0[_0x41d2a1(0xf7)][_0x41d2a1(0xda)](_0x23f94f[_0x41d2a1(0xe3)])<0x0))continue;}_0x23f94f[_0x41d2a1(0xea)][_0x41d2a1(0xee)](_0x368635,0x1),_0x368635--;}}exports[_0x25ece3(0xcb)]=[_0x25ece3(0xc4),_0x25ece3(0xd2),'ftps',_0x25ece3(0xc6),'im',_0x25ece3(0xd3),_0x25ece3(0xc2),_0x25ece3(0xce),_0x25ece3(0xc8),_0x25ece3(0xbf),_0x25ece3(0xde),_0x25ece3(0xd6),_0x25ece3(0xef),_0x25ece3(0xb9),_0x25ece3(0xfa),'sip','sms','smsto','ssh',_0x25ece3(0xb4),_0x25ece3(0xfb),_0x25ece3(0xd1),_0x25ece3(0xf1),_0x25ece3(0xdf)];
@@ -1 +1 @@
1
- 'use strict';const _0x79d899=_0x186a;(function(_0x5b7cc7,_0x3f1de5){const _0x146fb0=_0x186a,_0x222c44=_0x5b7cc7();while(!![]){try{const _0x44095f=-parseInt(_0x146fb0(0x1f3))/0x1+-parseInt(_0x146fb0(0x1f1))/0x2*(parseInt(_0x146fb0(0x1f5))/0x3)+parseInt(_0x146fb0(0x202))/0x4*(-parseInt(_0x146fb0(0x20e))/0x5)+parseInt(_0x146fb0(0x1fc))/0x6*(parseInt(_0x146fb0(0x1fa))/0x7)+-parseInt(_0x146fb0(0x1f6))/0x8*(-parseInt(_0x146fb0(0x1ee))/0x9)+parseInt(_0x146fb0(0x20b))/0xa+-parseInt(_0x146fb0(0x206))/0xb;if(_0x44095f===_0x3f1de5)break;else _0x222c44['push'](_0x222c44['shift']());}catch(_0x4a1480){_0x222c44['push'](_0x222c44['shift']());}}}(_0x31fc,0x4aef9));function _0x31fc(){const _0x4e88ca=['log','loadJsonFromNet','checkIcons','__esModule','path','configMainScene','url','18hlxdZO','configStartUrl','standalone','2YgvCzt','./config','342382yHjoxq','loadJsonFromDisk','404223wBcaho','1111416IRoZXT','minimal-ui','defineProperty','configDeeplink','7sMEnoP','DisplayModes','3095430yeQrbp','checkManifestJson','join','fromNet','json','validate','1054376IDdtqD','reset\x20manifest.json:\x20ok','checkId','config','164065LpBeie','PWAGenerator','manifest-url','configId','manifest','2688100UEzgax','check\x20manifest.json:\x20ok','./validate','5sYUWjJ','cwd','generator','configScope'];_0x31fc=function(){return _0x4e88ca;};return _0x31fc();}function _0x186a(_0x2ab7a6,_0x20a808){const _0x31fca8=_0x31fc();return _0x186a=function(_0x186a9c,_0x55f882){_0x186a9c=_0x186a9c-0x1e7;let _0x5131b0=_0x31fca8[_0x186a9c];return _0x5131b0;},_0x186a(_0x2ab7a6,_0x20a808);}Object[_0x79d899(0x1f8)](exports,_0x79d899(0x1ea),{'value':!![]}),exports[_0x79d899(0x207)]=void 0x0;const path_1=require(_0x79d899(0x1eb)),config_1=require(_0x79d899(0x1f2)),load_1=require('../resource/load'),validate_1=require(_0x79d899(0x20d));class PWAGenerator{static async[_0x79d899(0x210)](_0x5292bf,_0x10302d=![]){const _0x270489=_0x79d899;let _0x1b5a4e=await this[_0x270489(0x201)](_0x5292bf,_0x10302d);return console['log'](_0x270489(0x20c)),await this['config'](_0x1b5a4e,_0x10302d),console[_0x270489(0x1e7)](_0x270489(0x203)),_0x1b5a4e;}static async['validate'](_0x39c2e2,_0x1eae9d=![]){const _0x5c664d=_0x79d899;let _0x52911d={},_0x31b260='',_0xda826e=![];if(_0x39c2e2[_0x5c664d(0x208)])_0x31b260=_0x39c2e2['manifest-url'],_0xda826e=!![],_0x52911d=await(0x0,load_1[_0x5c664d(0x1e8)])(_0x39c2e2[_0x5c664d(0x208)]);else _0x39c2e2[_0x5c664d(0x20a)]&&(_0x31b260=(0x0,path_1[_0x5c664d(0x1fe)])(process[_0x5c664d(0x20f)](),_0x39c2e2[_0x5c664d(0x20a)]),_0x52911d=await(0x0,load_1[_0x5c664d(0x1f4)])(_0x39c2e2[_0x5c664d(0x20a)]));(0x0,validate_1[_0x5c664d(0x1fd)])(_0x52911d);var _0x290436=(0x0,validate_1['checkStartUrl'])(_0x52911d,_0x31b260,_0xda826e,_0x1eae9d);if(!_0x1eae9d)(0x0,validate_1[_0x5c664d(0x204)])(_0x52911d);return await(0x0,validate_1[_0x5c664d(0x1e9)])(_0x52911d,_0x31b260),{'json':_0x52911d,'url':_0x31b260,'fromNet':_0x290436};}static[_0x79d899(0x205)](_0xfc30c4,_0x1920ee){const _0x4ff8ed=_0x79d899;(0x0,config_1[_0x4ff8ed(0x1ef)])(_0xfc30c4[_0x4ff8ed(0x200)],_0xfc30c4[_0x4ff8ed(0x1ed)],_0xfc30c4[_0x4ff8ed(0x1ff)]);if(!_0x1920ee)(0x0,config_1[_0x4ff8ed(0x209)])(_0xfc30c4[_0x4ff8ed(0x200)]);(0x0,config_1[_0x4ff8ed(0x211)])(_0xfc30c4[_0x4ff8ed(0x200)],_0xfc30c4[_0x4ff8ed(0x1ff)]),(0x0,config_1['configDisplay'])(_0xfc30c4[_0x4ff8ed(0x200)]),(0x0,config_1[_0x4ff8ed(0x1f9)])(_0xfc30c4[_0x4ff8ed(0x200)]),(0x0,config_1[_0x4ff8ed(0x1ec)])(_0xfc30c4['json']);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator[_0x79d899(0x1fb)]=[_0x79d899(0x1f0),_0x79d899(0x1f7)];
1
+ 'use strict';const _0x264a83=_0x4017;function _0x4017(_0x2d8f0f,_0x451f82){const _0x184133=_0x1841();return _0x4017=function(_0x4017ad,_0x30108e){_0x4017ad=_0x4017ad-0xe1;let _0x49ef6c=_0x184133[_0x4017ad];return _0x49ef6c;},_0x4017(_0x2d8f0f,_0x451f82);}(function(_0x4e6d66,_0x1a0c17){const _0x153bbb=_0x4017,_0x264c5e=_0x4e6d66();while(!![]){try{const _0x25cb28=-parseInt(_0x153bbb(0xe2))/0x1*(-parseInt(_0x153bbb(0xf7))/0x2)+parseInt(_0x153bbb(0xef))/0x3+parseInt(_0x153bbb(0xed))/0x4*(parseInt(_0x153bbb(0xfa))/0x5)+parseInt(_0x153bbb(0xe8))/0x6+-parseInt(_0x153bbb(0x108))/0x7+parseInt(_0x153bbb(0xe7))/0x8*(parseInt(_0x153bbb(0x103))/0x9)+-parseInt(_0x153bbb(0xf8))/0xa;if(_0x25cb28===_0x1a0c17)break;else _0x264c5e['push'](_0x264c5e['shift']());}catch(_0x2769d2){_0x264c5e['push'](_0x264c5e['shift']());}}}(_0x1841,0xc4f1e));Object[_0x264a83(0x107)](exports,_0x264a83(0x102),{'value':!![]}),exports[_0x264a83(0xe1)]=void 0x0;const path_1=require(_0x264a83(0xfe)),config_1=require('./config'),load_1=require(_0x264a83(0xfb)),validate_1=require('./validate');class PWAGenerator{static async[_0x264a83(0xf9)](_0x2fbc05,_0xdd7c55=![]){const _0x3dc376=_0x264a83;let _0x30b3e6=await this[_0x3dc376(0xf5)](_0x2fbc05,_0xdd7c55);return console[_0x3dc376(0xe4)](_0x3dc376(0xf6)),await this[_0x3dc376(0x106)](_0x30b3e6,_0xdd7c55),console['log'](_0x3dc376(0xf0)),_0x30b3e6;}static async['validate'](_0x45a7e7,_0x353893=![]){const _0x35ebcd=_0x264a83;let _0x56b37c={},_0x55e9ab='',_0x25285a=![];if(_0x45a7e7['manifest-url'])_0x55e9ab=_0x45a7e7[_0x35ebcd(0xe6)],_0x25285a=!![],_0x56b37c=await(0x0,load_1[_0x35ebcd(0x104)])(_0x45a7e7['manifest-url']);else _0x45a7e7[_0x35ebcd(0x100)]&&(_0x55e9ab=(0x0,path_1[_0x35ebcd(0xee)])(process[_0x35ebcd(0x105)](),_0x45a7e7[_0x35ebcd(0x100)]),_0x56b37c=await(0x0,load_1[_0x35ebcd(0x101)])(_0x45a7e7[_0x35ebcd(0x100)]));(0x0,validate_1[_0x35ebcd(0xea)])(_0x56b37c);var _0x3b9b56=(0x0,validate_1[_0x35ebcd(0xe9)])(_0x56b37c,_0x55e9ab,_0x25285a,_0x353893);if(!_0x353893)(0x0,validate_1[_0x35ebcd(0xf3)])(_0x56b37c);return await(0x0,validate_1['checkIcons'])(_0x56b37c,_0x55e9ab),{'json':_0x56b37c,'url':_0x55e9ab,'fromNet':_0x3b9b56};}static[_0x264a83(0x106)](_0xc84b29,_0x4b14c9){const _0x499794=_0x264a83;(0x0,config_1[_0x499794(0xf1)])(_0xc84b29[_0x499794(0xec)],_0xc84b29[_0x499794(0xfc)],_0xc84b29[_0x499794(0xeb)]);if(!_0x4b14c9)(0x0,config_1[_0x499794(0xf4)])(_0xc84b29[_0x499794(0xec)]);(0x0,config_1[_0x499794(0xe5)])(_0xc84b29['json'],_0xc84b29[_0x499794(0xeb)]),(0x0,config_1[_0x499794(0xf2)])(_0xc84b29[_0x499794(0xec)]),(0x0,config_1[_0x499794(0xff)])(_0xc84b29[_0x499794(0xec)]),(0x0,config_1['configMainScene'])(_0xc84b29[_0x499794(0xec)]);}}function _0x1841(){const _0x33b6db=['DisplayModes','path','configDeeplink','manifest','loadJsonFromDisk','__esModule','2627127YHIHYs','loadJsonFromNet','cwd','config','defineProperty','7690795DMwjxt','PWAGenerator','191339GOfTVC','standalone','log','configScope','manifest-url','24nqrnBA','9635202aeMdDA','checkStartUrl','checkManifestJson','fromNet','json','4iRSRwh','join','4072389buneRR','reset\x20manifest.json:\x20ok','configStartUrl','configDisplay','checkId','configId','validate','check\x20manifest.json:\x20ok','8WAxQHN','32503870BHSuqA','generator','2756815gRmoCV','../resource/load','url'];_0x1841=function(){return _0x33b6db;};return _0x1841();}exports[_0x264a83(0xe1)]=PWAGenerator,PWAGenerator[_0x264a83(0xfd)]=[_0x264a83(0xe3),'minimal-ui'];
@@ -1 +1 @@
1
- 'use strict';const _0x2a4817=_0x317a;function _0x2c93(){const _0xb3f4eb=['349qtXdEh','__esModule','http','push','defineProperty','CustomError','host','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','loadImageFromNet','1159522uIQwoz','checkIcons','startsWith','display','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','932mLLhBp','4442905nLkBNK','http://','loadImageFromDisk','path','includes','Local\x20manifest\x20cannot\x20package\x20network\x20project','../utils/CustomError','46299SrxUtQ','src','../utils/utils','split','https://','parseRouter','595290NZsVaR','validateURL','DisplayModes','../resource/imageHelper','indexOf','start_url','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','ImageHelper','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','getWidth','4585448uPCcZi','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','short_name','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','join','76kNblUL','purpose','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','1286847DPtQhc','icons'];_0x2c93=function(){return _0xb3f4eb;};return _0x2c93();}(function(_0x157cbb,_0x26cb3a){const _0x10500f=_0x317a,_0x1e5ff3=_0x157cbb();while(!![]){try{const _0x33b312=-parseInt(_0x10500f(0xd9))/0x1*(-parseInt(_0x10500f(0xb7))/0x2)+-parseInt(_0x10500f(0xbf))/0x3*(-parseInt(_0x10500f(0xd4))/0x4)+-parseInt(_0x10500f(0xb8))/0x5+parseInt(_0x10500f(0xc5))/0x6+parseInt(_0x10500f(0xb1))/0x7+parseInt(_0x10500f(0xcf))/0x8+parseInt(_0x10500f(0xd7))/0x9;if(_0x33b312===_0x26cb3a)break;else _0x1e5ff3['push'](_0x1e5ff3['shift']());}catch(_0x2c6098){_0x1e5ff3['push'](_0x1e5ff3['shift']());}}}(_0x2c93,0x85dd1));Object[_0x2a4817(0xac)](exports,_0x2a4817(0xda),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x2a4817(0xb2)]=checkIcons,exports['checkId']=checkId,exports[_0x2a4817(0xc6)]=validateURL;const path_1=require(_0x2a4817(0xbb)),_1=require('.'),CustomError_1=require(_0x2a4817(0xbe)),utils_1=require(_0x2a4817(0xc1)),imageHelper_1=require(_0x2a4817(0xc8)),load_1=require('../resource/load');function checkManifestJson(_0x2544b5){const _0x16b4fe=_0x2a4817;var _0x3a8ca9;const _0x8060bd=[];!_0x2544b5['name']&&!_0x2544b5[_0x16b4fe(0xd1)]&&_0x8060bd[_0x16b4fe(0xdc)]({'code':0xbbe,'message':_0x16b4fe(0xd6),'message_staring_params':{}});!((_0x3a8ca9=_0x2544b5[_0x16b4fe(0xd8)])===null||_0x3a8ca9===void 0x0?void 0x0:_0x3a8ca9['length'])&&_0x8060bd['push']({'code':0xbbf,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x2544b5['start_url']&&_0x8060bd[_0x16b4fe(0xdc)]({'code':0xbc0,'message':_0x16b4fe(0xd2),'message_staring_params':{}});!_1['PWAGenerator'][_0x16b4fe(0xc7)][_0x16b4fe(0xbc)](_0x2544b5[_0x16b4fe(0xb4)])&&_0x8060bd['push']({'code':0xbc1,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value'+(_0x16b4fe(0xb6)+_0x2544b5['display']+')'),'message_staring_params':{'display':_0x2544b5['display']}});if(_0x8060bd['length'])throw new CustomError_1[(_0x16b4fe(0xad))](_0x8060bd);}function checkStartUrl(_0x2e1324,_0x54e51e,_0x45460f,_0x5a3729=![]){const _0x243b14=_0x2a4817;var _0x2a6f6e=![];if(_0x5a3729)return _0x2a6f6e=_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xc3))===0x0||_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xb9))===0x0,_0x2a6f6e;if(_0x45460f){if(_0x2e1324['start_url'][_0x243b14(0xc9)](_0x243b14(0xc3))==0x0){const _0x5b2e3=new URL(_0x2e1324[_0x243b14(0xca)]),_0x285733=new URL(_0x54e51e);if(_0x5b2e3[_0x243b14(0xae)]!==_0x285733[_0x243b14(0xae)])throw new CustomError_1[(_0x243b14(0xad))]({'code':0xfa0,'message':_0x243b14(0xcb),'message_staring_params':{}});}else{if(_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xb9))==0x0)throw new CustomError_1[(_0x243b14(0xad))]({'code':0xfa0,'message':_0x243b14(0xd0),'message_staring_params':{}});}}else{if(_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xc3))==0x0||_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)]('http://')==0x0)throw new CustomError_1[(_0x243b14(0xad))]({'code':0xfa0,'message':_0x243b14(0xbd),'message_staring_params':{}});}return _0x2a6f6e;}function _0x317a(_0x4e0aef,_0x2fb2c6){const _0x2c9347=_0x2c93();return _0x317a=function(_0x317a9d,_0x20a6d0){_0x317a9d=_0x317a9d-0xac;let _0x465b69=_0x2c9347[_0x317a9d];return _0x465b69;},_0x317a(_0x4e0aef,_0x2fb2c6);}async function checkIcons(_0x120e56,_0x1b192e){const _0x1e4441=_0x2a4817;var _0x337977;const _0xb0abed=(0x0,utils_1[_0x1e4441(0xc4)])(_0x1b192e);let _0x5b7893,_0x43568f,_0x44df03,_0x1b6453=0x0;for(var _0x936e9c=0x0;_0x936e9c<_0x120e56[_0x1e4441(0xd8)]['length'];_0x936e9c++){const _0x4cbb85=_0x120e56['icons'][_0x936e9c];let _0x2f7aba=((_0x337977=_0x4cbb85[_0x1e4441(0xd5)])===null||_0x337977===void 0x0?void 0x0:_0x337977['indexOf']('maskable'))>=0x0;if(!_0x2f7aba)continue;let _0x1cf4ea=![],_0x5de6e3=_0x4cbb85[_0x1e4441(0xc0)],_0x484078,_0x2eaf6e=0x0;!validateURL(_0x5de6e3)&&(_0x5de6e3=(0x0,path_1[_0x1e4441(0xd3)])(_0xb0abed,_0x5de6e3));if(_0x4cbb85['sizes']){const _0x4e2115=_0x4cbb85['sizes'][_0x1e4441(0xc2)]('\x20');_0x4e2115['forEach'](_0x36c4da=>{const _0x448cbd=_0x1e4441;let _0x4545dd=_0x36c4da[_0x448cbd(0xc2)]('x');Number(_0x4545dd[0x0])>=0x400&&Number(_0x4545dd[0x1])>=0x400&&(_0x1cf4ea=!![],Number(_0x4545dd[0x0])>_0x2eaf6e&&(_0x2eaf6e=Number(_0x4545dd[0x0])));});}else _0x484078=!_0x5de6e3[_0x1e4441(0xb3)](_0x1e4441(0xdb))?await(0x0,load_1['loadImageFromDisk'])(_0x5de6e3):await(0x0,load_1[_0x1e4441(0xb0)])(_0x5de6e3),_0x484078[_0x1e4441(0xce)]()>=0x400&&_0x484078['getHeight']()>=0x400&&(_0x1cf4ea=!![],_0x484078[_0x1e4441(0xce)]()>_0x2eaf6e&&(_0x2eaf6e=_0x484078[_0x1e4441(0xce)]()));_0x1cf4ea&&_0x2f7aba&&(_0x2eaf6e>_0x1b6453&&(_0x1b6453=_0x2eaf6e,_0x5b7893=_0x484078,_0x43568f=_0x5de6e3,_0x44df03=_0x4cbb85[_0x1e4441(0xd5)]));}if(_0x1b6453===0x0)throw new CustomError_1[(_0x1e4441(0xad))]({'code':0xfa0,'message':_0x1e4441(0xb5),'message_staring_params':{}});else _0x43568f&&(_0x5b7893=!_0x43568f['startsWith'](_0x1e4441(0xdb))?await(0x0,load_1[_0x1e4441(0xba)])(_0x43568f):await(0x0,load_1[_0x1e4441(0xb0)])(_0x43568f));if(_0x5b7893&&!imageHelper_1[_0x1e4441(0xcc)]['isFullyOpaque'](_0x5b7893))throw new CustomError_1[(_0x1e4441(0xad))]({'code':0xfa0,'message':_0x1e4441(0xcd),'message_staring_params':{}});_0x120e56[_0x1e4441(0xd8)]=[{'src':_0x43568f,'sizes':_0x1b6453+'x'+_0x1b6453,'purpose':_0x44df03}];}function checkId(_0xfb7342){const _0x582aa1=_0x2a4817;!_0xfb7342['id']&&(_0xfb7342['id']=_0xfb7342['start_url']);if(!validateURL(_0xfb7342['id']))throw new CustomError_1[(_0x582aa1(0xad))]({'code':0xfa0,'message':_0x582aa1(0xaf),'message_staring_params':{}});}function validateURL(_0x17b8f2){try{return new URL(_0x17b8f2),!![];}catch(_0x314156){return![];}}
1
+ 'use strict';function _0x48ec(_0x3f189e,_0x3ec409){const _0x35c76d=_0x35c7();return _0x48ec=function(_0x48ec58,_0x9388fc){_0x48ec58=_0x48ec58-0xd0;let _0x2aae1d=_0x35c76d[_0x48ec58];return _0x2aae1d;},_0x48ec(_0x3f189e,_0x3ec409);}const _0x3974a8=_0x48ec;(function(_0x5a2495,_0x20818c){const _0x4f6ce8=_0x48ec,_0x19063f=_0x5a2495();while(!![]){try{const _0x19b18f=-parseInt(_0x4f6ce8(0xfa))/0x1+parseInt(_0x4f6ce8(0xd7))/0x2*(-parseInt(_0x4f6ce8(0xf7))/0x3)+parseInt(_0x4f6ce8(0x103))/0x4+parseInt(_0x4f6ce8(0xe7))/0x5*(-parseInt(_0x4f6ce8(0xd3))/0x6)+parseInt(_0x4f6ce8(0xf0))/0x7*(parseInt(_0x4f6ce8(0xeb))/0x8)+parseInt(_0x4f6ce8(0xed))/0x9*(parseInt(_0x4f6ce8(0x100))/0xa)+-parseInt(_0x4f6ce8(0xe9))/0xb*(-parseInt(_0x4f6ce8(0x107))/0xc);if(_0x19b18f===_0x20818c)break;else _0x19063f['push'](_0x19063f['shift']());}catch(_0x2576d9){_0x19063f['push'](_0x19063f['shift']());}}}(_0x35c7,0x81082));function _0x35c7(){const _0x26a398=['In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','3907491KFMToi','display','push','split','CustomError','Local\x20manifest\x20cannot\x20package\x20network\x20project','startsWith','3XHyCKd','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','indexOf','46680LAoGrH','validateURL','path','host','getHeight','isFullyOpaque','22620NrWQoG','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','join','1205800ayNcoB','https://','checkIcons','PWAGenerator','12zvKqjB','loadImageFromDisk','checkStartUrl','getWidth','18iNsdeG','maskable','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','length','2019442WvGQxq','http://','parseRouter','icons','DisplayModes','src','start_url','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','includes','loadImageFromNet','name','../utils/utils','sizes','defineProperty','__esModule','short_name','1315305cbUexm','purpose','12254671hwbAhs','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','8ndmElS','forEach','1593hMuiIH'];_0x35c7=function(){return _0x26a398;};return _0x35c7();}Object[_0x3974a8(0xe4)](exports,_0x3974a8(0xe5),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x3974a8(0xd1)]=checkStartUrl,exports[_0x3974a8(0x105)]=checkIcons,exports['checkId']=checkId,exports[_0x3974a8(0xfb)]=validateURL;const path_1=require(_0x3974a8(0xfc)),_1=require('.'),CustomError_1=require('../utils/CustomError'),utils_1=require(_0x3974a8(0xe2)),imageHelper_1=require('../resource/imageHelper'),load_1=require('../resource/load');function checkManifestJson(_0x5ba452){const _0x44ed4e=_0x3974a8;var _0x30c528;const _0x37fa9b=[];!_0x5ba452[_0x44ed4e(0xe1)]&&!_0x5ba452[_0x44ed4e(0xe6)]&&_0x37fa9b['push']({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x30c528=_0x5ba452['icons'])===null||_0x30c528===void 0x0?void 0x0:_0x30c528[_0x44ed4e(0xd6)])&&_0x37fa9b[_0x44ed4e(0xf2)]({'code':0xbbf,'message':_0x44ed4e(0xee),'message_staring_params':{}});!_0x5ba452['start_url']&&_0x37fa9b[_0x44ed4e(0xf2)]({'code':0xbc0,'message':_0x44ed4e(0x101),'message_staring_params':{}});!_1[_0x44ed4e(0x106)][_0x44ed4e(0xdb)][_0x44ed4e(0xdf)](_0x5ba452[_0x44ed4e(0xf1)])&&_0x37fa9b[_0x44ed4e(0xf2)]({'code':0xbc1,'message':_0x44ed4e(0xef)+(_0x44ed4e(0xea)+_0x5ba452[_0x44ed4e(0xf1)]+')'),'message_staring_params':{'display':_0x5ba452[_0x44ed4e(0xf1)]}});if(_0x37fa9b['length'])throw new CustomError_1[(_0x44ed4e(0xf4))](_0x37fa9b);}function checkStartUrl(_0x13dc91,_0x72ef46,_0xd990fb,_0x32176f=![]){const _0x1cd9ef=_0x3974a8;var _0x35c907=![];if(_0x32176f)return _0x35c907=_0x13dc91[_0x1cd9ef(0xdd)][_0x1cd9ef(0xf9)](_0x1cd9ef(0x104))===0x0||_0x13dc91[_0x1cd9ef(0xdd)][_0x1cd9ef(0xf9)](_0x1cd9ef(0xd8))===0x0,_0x35c907;if(_0xd990fb){if(_0x13dc91[_0x1cd9ef(0xdd)][_0x1cd9ef(0xf9)](_0x1cd9ef(0x104))==0x0){const _0x47e17a=new URL(_0x13dc91[_0x1cd9ef(0xdd)]),_0x17df35=new URL(_0x72ef46);if(_0x47e17a[_0x1cd9ef(0xfd)]!==_0x17df35[_0x1cd9ef(0xfd)])throw new CustomError_1[(_0x1cd9ef(0xf4))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0x13dc91[_0x1cd9ef(0xdd)][_0x1cd9ef(0xf9)](_0x1cd9ef(0xd8))==0x0)throw new CustomError_1[(_0x1cd9ef(0xf4))]({'code':0xfa0,'message':_0x1cd9ef(0xf8),'message_staring_params':{}});}}else{if(_0x13dc91['start_url'][_0x1cd9ef(0xf9)](_0x1cd9ef(0x104))==0x0||_0x13dc91[_0x1cd9ef(0xdd)][_0x1cd9ef(0xf9)]('http://')==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1cd9ef(0xf5),'message_staring_params':{}});}return _0x35c907;}async function checkIcons(_0x444550,_0x426a36){const _0x1d1648=_0x3974a8;var _0x2fa346;const _0x2e00ee=(0x0,utils_1[_0x1d1648(0xd9)])(_0x426a36);let _0x2d3d07,_0x353eb1,_0x4f4d00,_0x130e3f=0x0;for(var _0x5def99=0x0;_0x5def99<_0x444550[_0x1d1648(0xda)][_0x1d1648(0xd6)];_0x5def99++){const _0x2dbf79=_0x444550['icons'][_0x5def99];let _0x1d21df=((_0x2fa346=_0x2dbf79[_0x1d1648(0xe8)])===null||_0x2fa346===void 0x0?void 0x0:_0x2fa346[_0x1d1648(0xf9)](_0x1d1648(0xd4)))>=0x0;if(!_0x1d21df)continue;let _0x376d05=![],_0x4cda09=_0x2dbf79[_0x1d1648(0xdc)],_0x22344d,_0x33095d=0x0;!validateURL(_0x4cda09)&&(_0x4cda09=(0x0,path_1[_0x1d1648(0x102)])(_0x2e00ee,_0x4cda09));if(_0x2dbf79[_0x1d1648(0xe3)]){const _0x27545c=_0x2dbf79[_0x1d1648(0xe3)]['split']('\x20');_0x27545c[_0x1d1648(0xec)](_0x8eb09d=>{const _0x918f41=_0x1d1648;let _0x95b6e1=_0x8eb09d[_0x918f41(0xf3)]('x');Number(_0x95b6e1[0x0])>=0x400&&Number(_0x95b6e1[0x1])>=0x400&&(_0x376d05=!![],Number(_0x95b6e1[0x0])>_0x33095d&&(_0x33095d=Number(_0x95b6e1[0x0])));});}else _0x22344d=!_0x4cda09[_0x1d1648(0xf6)]('http')?await(0x0,load_1[_0x1d1648(0xd0)])(_0x4cda09):await(0x0,load_1[_0x1d1648(0xe0)])(_0x4cda09),_0x22344d[_0x1d1648(0xd2)]()>=0x400&&_0x22344d[_0x1d1648(0xfe)]()>=0x400&&(_0x376d05=!![],_0x22344d[_0x1d1648(0xd2)]()>_0x33095d&&(_0x33095d=_0x22344d[_0x1d1648(0xd2)]()));_0x376d05&&_0x1d21df&&(_0x33095d>_0x130e3f&&(_0x130e3f=_0x33095d,_0x2d3d07=_0x22344d,_0x353eb1=_0x4cda09,_0x4f4d00=_0x2dbf79[_0x1d1648(0xe8)]));}if(_0x130e3f===0x0)throw new CustomError_1[(_0x1d1648(0xf4))]({'code':0xfa0,'message':'In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','message_staring_params':{}});else _0x353eb1&&(_0x2d3d07=!_0x353eb1[_0x1d1648(0xf6)]('http')?await(0x0,load_1['loadImageFromDisk'])(_0x353eb1):await(0x0,load_1[_0x1d1648(0xe0)])(_0x353eb1));if(_0x2d3d07&&!imageHelper_1['ImageHelper'][_0x1d1648(0xff)](_0x2d3d07))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x1d1648(0xd5),'message_staring_params':{}});_0x444550[_0x1d1648(0xda)]=[{'src':_0x353eb1,'sizes':_0x130e3f+'x'+_0x130e3f,'purpose':_0x4f4d00}];}function checkId(_0x3e8900){const _0x1dbd10=_0x3974a8;!_0x3e8900['id']&&(_0x3e8900['id']=_0x3e8900[_0x1dbd10(0xdd)]);if(!validateURL(_0x3e8900['id']))throw new CustomError_1[(_0x1dbd10(0xf4))]({'code':0xfa0,'message':_0x1dbd10(0xde),'message_staring_params':{}});}function validateURL(_0x42648d){try{return new URL(_0x42648d),!![];}catch(_0x5ea37e){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0xd084(){const _0x5df8da=['isDirectory','2925688MnlTnj','3vHepuC','2777010vlTvtO','40469690LXWckj','9sxuiwg','147dSthoc','95538AuPMOT','readdirSync','log','466328fPfEXy','1317508GjBIgX','isFile','readFileSync','__esModule','5309384MKNFzY','copyDir','existsSync'];_0xd084=function(){return _0x5df8da;};return _0xd084();}const _0x275ac7=_0x1dd5;(function(_0x304784,_0x2b693c){const _0x1f45a3=_0x1dd5,_0x44dbae=_0x304784();while(!![]){try{const _0x5d5914=-parseInt(_0x1f45a3(0x152))/0x1+parseInt(_0x1f45a3(0x153))/0x2*(-parseInt(_0x1f45a3(0x14a))/0x3)+-parseInt(_0x1f45a3(0x15b))/0x4+-parseInt(_0x1f45a3(0x14b))/0x5+-parseInt(_0x1f45a3(0x14f))/0x6*(parseInt(_0x1f45a3(0x14e))/0x7)+-parseInt(_0x1f45a3(0x157))/0x8+parseInt(_0x1f45a3(0x14d))/0x9*(parseInt(_0x1f45a3(0x14c))/0xa);if(_0x5d5914===_0x2b693c)break;else _0x44dbae['push'](_0x44dbae['shift']());}catch(_0x20b60a){_0x44dbae['push'](_0x44dbae['shift']());}}}(_0xd084,0x9b84f));Object['defineProperty'](exports,_0x275ac7(0x156),{'value':!![]}),exports[_0x275ac7(0x158)]=copyDir,exports['clearDir']=clearDir;const fs=require('fs');function _0x1dd5(_0x572289,_0x3985eb){const _0xd0849f=_0xd084();return _0x1dd5=function(_0x1dd5f0,_0x12e410){_0x1dd5f0=_0x1dd5f0-0x14a;let _0xd33c1a=_0xd0849f[_0x1dd5f0];return _0xd33c1a;},_0x1dd5(_0x572289,_0x3985eb);}function copyDir(_0x3e2b71,_0x206a30){const _0x191e1c=fs['readdirSync'](_0x3e2b71);_0x191e1c['forEach'](_0x57a914=>{const _0x1ef46b=_0x1dd5,_0x1a52d0=_0x3e2b71+'/'+_0x57a914,_0x4faa5f=_0x206a30+'/'+_0x57a914,_0xbeab23=fs['statSync'](_0x1a52d0);if(_0xbeab23[_0x1ef46b(0x154)]())try{fs['writeFileSync'](_0x4faa5f,fs[_0x1ef46b(0x155)](_0x1a52d0));}catch(_0x5ebdb7){console[_0x1ef46b(0x151)](_0x5ebdb7);}else _0xbeab23[_0x1ef46b(0x15a)]()&&(!fs[_0x1ef46b(0x159)](_0x4faa5f)&&fs['mkdirSync'](_0x4faa5f,{'recursive':!![]}),copyDir(_0x1a52d0,_0x4faa5f));});}function clearDir(_0x11413d){const _0x1f1de2=_0x275ac7,_0xa07f22=fs[_0x1f1de2(0x150)](_0x11413d);_0xa07f22['forEach'](_0x1a90ad=>{const _0x6cea1f=_0x1f1de2,_0x59dae6=_0x11413d+'/'+_0x1a90ad,_0x1a35c3=fs['statSync'](_0x59dae6);if(_0x1a35c3[_0x6cea1f(0x154)]())try{fs['unlinkSync'](_0x59dae6);}catch(_0x2dab1f){console[_0x6cea1f(0x151)](_0x2dab1f);}else _0x1a35c3['isDirectory']()&&clearDir(_0x59dae6);});}
1
+ 'use strict';const _0x514343=_0x5640;(function(_0x37f255,_0x487370){const _0x29939f=_0x5640,_0x369349=_0x37f255();while(!![]){try{const _0x5e874a=parseInt(_0x29939f(0x14a))/0x1+-parseInt(_0x29939f(0x144))/0x2*(-parseInt(_0x29939f(0x143))/0x3)+-parseInt(_0x29939f(0x149))/0x4+-parseInt(_0x29939f(0x142))/0x5+-parseInt(_0x29939f(0x134))/0x6*(parseInt(_0x29939f(0x138))/0x7)+parseInt(_0x29939f(0x13a))/0x8*(-parseInt(_0x29939f(0x141))/0x9)+parseInt(_0x29939f(0x145))/0xa;if(_0x5e874a===_0x487370)break;else _0x369349['push'](_0x369349['shift']());}catch(_0x2c3b52){_0x369349['push'](_0x369349['shift']());}}}(_0x117a,0x8b2ea));function _0x117a(){const _0x2e9105=['copyDir','statSync','721vYevTg','forEach','56104Cqwquv','isFile','readdirSync','clearDir','mkdirSync','writeFileSync','log','927XlgNSX','1361665ZNizac','1671972wSrnyw','2tNrNNo','5798980PmfAZE','unlinkSync','defineProperty','readFileSync','2228268oxBNyB','1006340dIknaC','1266ciJEug','isDirectory'];_0x117a=function(){return _0x2e9105;};return _0x117a();}function _0x5640(_0x354bab,_0x2c8b81){const _0x117a6d=_0x117a();return _0x5640=function(_0x56403b,_0x39d370){_0x56403b=_0x56403b-0x134;let _0x11f57c=_0x117a6d[_0x56403b];return _0x11f57c;},_0x5640(_0x354bab,_0x2c8b81);}Object[_0x514343(0x147)](exports,'__esModule',{'value':!![]}),exports[_0x514343(0x136)]=copyDir,exports[_0x514343(0x13d)]=clearDir;const fs=require('fs');function copyDir(_0x60d955,_0x5c199b){const _0x30df60=_0x514343,_0x18a67a=fs[_0x30df60(0x13c)](_0x60d955);_0x18a67a['forEach'](_0x335e94=>{const _0x555e8d=_0x30df60,_0x1023b2=_0x60d955+'/'+_0x335e94,_0x53e23e=_0x5c199b+'/'+_0x335e94,_0x414b89=fs[_0x555e8d(0x137)](_0x1023b2);if(_0x414b89[_0x555e8d(0x13b)]())try{fs[_0x555e8d(0x13f)](_0x53e23e,fs[_0x555e8d(0x148)](_0x1023b2));}catch(_0x4e48d3){console[_0x555e8d(0x140)](_0x4e48d3);}else _0x414b89['isDirectory']()&&(!fs['existsSync'](_0x53e23e)&&fs[_0x555e8d(0x13e)](_0x53e23e,{'recursive':!![]}),copyDir(_0x1023b2,_0x53e23e));});}function clearDir(_0x3b9064){const _0x1853ec=_0x514343,_0x413a1c=fs[_0x1853ec(0x13c)](_0x3b9064);_0x413a1c[_0x1853ec(0x139)](_0x4fa47c=>{const _0x5e06b1=_0x1853ec,_0x436726=_0x3b9064+'/'+_0x4fa47c,_0x567fc8=fs[_0x5e06b1(0x137)](_0x436726);if(_0x567fc8['isFile']())try{fs[_0x5e06b1(0x146)](_0x436726);}catch(_0x3a9057){console[_0x5e06b1(0x140)](_0x3a9057);}else _0x567fc8[_0x5e06b1(0x135)]()&&clearDir(_0x436726);});}
@@ -1 +1 @@
1
- 'use strict';const _0x2d4162=_0x9ac7;(function(_0x36674f,_0x4f8085){const _0x50ac34=_0x9ac7,_0x4b49c2=_0x36674f();while(!![]){try{const _0x5d9824=-parseInt(_0x50ac34(0x1f4))/0x1*(parseInt(_0x50ac34(0x1f2))/0x2)+-parseInt(_0x50ac34(0x1e9))/0x3+parseInt(_0x50ac34(0x1ef))/0x4+-parseInt(_0x50ac34(0x1f0))/0x5*(parseInt(_0x50ac34(0x1ed))/0x6)+parseInt(_0x50ac34(0x1e2))/0x7+-parseInt(_0x50ac34(0x1ec))/0x8+parseInt(_0x50ac34(0x1ee))/0x9;if(_0x5d9824===_0x4f8085)break;else _0x4b49c2['push'](_0x4b49c2['shift']());}catch(_0x5b26a0){_0x4b49c2['push'](_0x4b49c2['shift']());}}}(_0x42a3,0x1e776));function _0x9ac7(_0x3a85cd,_0x36bba6){const _0x42a35c=_0x42a3();return _0x9ac7=function(_0x9ac71,_0x4c3845){_0x9ac71=_0x9ac71-0x1db;let _0x5f0141=_0x42a35c[_0x9ac71];return _0x5f0141;},_0x9ac7(_0x3a85cd,_0x36bba6);}Object[_0x2d4162(0x1e3)](exports,'__esModule',{'value':!![]}),exports[_0x2d4162(0x1f1)]=void 0x0;function _0x42a3(){const _0x46256a=['328944BYVIzM','225822eoCmXA','1330092tmrnoC','981316kdWnhp','10gSdDmC','ImageHelper','2370LQKvVH','png','179cLpoSw','@resvg/resvg-js','data','svg2img','jimp','isFullyOpaque','Resvg','webp2PngBuffer','509460mtlwLI','defineProperty','toFormat','getHeight','bitmap','getWidth','width','37800znMvFr','createImg','sharp'];_0x42a3=function(){return _0x46256a;};return _0x42a3();}const Jimp=require(_0x2d4162(0x1de)),sharp=require(_0x2d4162(0x1eb)),resvg_js_1=require(_0x2d4162(0x1db));class ImageHelper{static[_0x2d4162(0x1ea)](_0x3a6e42){return new Jimp(_0x3a6e42,_0x3a6e42,0x0);}static async[_0x2d4162(0x1e1)](_0x1e72c5){const _0x50cae2=_0x2d4162;return await sharp(_0x1e72c5)[_0x50cae2(0x1e4)](_0x50cae2(0x1f3))['toBuffer']();}static async[_0x2d4162(0x1dd)](_0x60b15d){const _0x1ffba4=_0x2d4162,_0x156e52={'fitTo':{'mode':_0x1ffba4(0x1e8),'value':0x400}},_0x163eff=new resvg_js_1[(_0x1ffba4(0x1e0))](_0x60b15d,_0x156e52),_0x32ee9d=_0x163eff['render'](),_0x492e4f=_0x32ee9d['asPng']();return _0x492e4f;}static[_0x2d4162(0x1df)](_0x1ce1c5){const _0x53ed64=_0x2d4162,_0x3cf084=_0x1ce1c5[_0x53ed64(0x1e7)]()*_0x1ce1c5[_0x53ed64(0x1e5)]();for(var _0x4bf65b=0x0;_0x4bf65b<_0x3cf084;_0x4bf65b++){const _0x222bd9=_0x4bf65b*0x4+0x3;if(_0x1ce1c5[_0x53ed64(0x1e6)][_0x53ed64(0x1dc)][_0x222bd9]<0xff)return![];}return!![];}}exports['ImageHelper']=ImageHelper;
1
+ 'use strict';const _0x4e3eed=_0x2ee4;(function(_0xfb5901,_0x5cc4e2){const _0x53dc76=_0x2ee4,_0x4ada84=_0xfb5901();while(!![]){try{const _0x45d3c7=parseInt(_0x53dc76(0x1a4))/0x1+-parseInt(_0x53dc76(0x1ac))/0x2*(-parseInt(_0x53dc76(0x1b7))/0x3)+parseInt(_0x53dc76(0x1aa))/0x4*(-parseInt(_0x53dc76(0x1a5))/0x5)+parseInt(_0x53dc76(0x1a6))/0x6+-parseInt(_0x53dc76(0x1a7))/0x7*(parseInt(_0x53dc76(0x1a3))/0x8)+parseInt(_0x53dc76(0x1ab))/0x9*(parseInt(_0x53dc76(0x1a8))/0xa)+-parseInt(_0x53dc76(0x1b0))/0xb;if(_0x45d3c7===_0x5cc4e2)break;else _0x4ada84['push'](_0x4ada84['shift']());}catch(_0x3c809b){_0x4ada84['push'](_0x4ada84['shift']());}}}(_0x25c8,0xe0c9f));Object['defineProperty'](exports,_0x4e3eed(0x1b4),{'value':!![]}),exports[_0x4e3eed(0x1b3)]=void 0x0;const Jimp=require('jimp'),sharp=require('sharp'),resvg_js_1=require('@resvg/resvg-js');class ImageHelper{static['createImg'](_0x21783d){return new Jimp(_0x21783d,_0x21783d,0x0);}static async[_0x4e3eed(0x1ad)](_0x33096d){const _0x25da9d=_0x4e3eed;return await sharp(_0x33096d)['toFormat'](_0x25da9d(0x1b8))['toBuffer']();}static async['svg2img'](_0x3241d2){const _0x37498a=_0x4e3eed,_0x132de7={'fitTo':{'mode':_0x37498a(0x1af),'value':0x400}},_0x9a7bcb=new resvg_js_1[(_0x37498a(0x1b1))](_0x3241d2,_0x132de7),_0x2d8683=_0x9a7bcb[_0x37498a(0x1ae)](),_0x16bff0=_0x2d8683[_0x37498a(0x1b5)]();return _0x16bff0;}static['isFullyOpaque'](_0x293c03){const _0xdfe0df=_0x4e3eed,_0x394fdb=_0x293c03[_0xdfe0df(0x1b6)]()*_0x293c03[_0xdfe0df(0x1b2)]();for(var _0x8aa9fa=0x0;_0x8aa9fa<_0x394fdb;_0x8aa9fa++){const _0x156ae4=_0x8aa9fa*0x4+0x3;if(_0x293c03[_0xdfe0df(0x1b9)][_0xdfe0df(0x1a9)][_0x156ae4]<0xff)return![];}return!![];}}function _0x2ee4(_0x125cfc,_0x1e0ed5){const _0x25c8cb=_0x25c8();return _0x2ee4=function(_0x2ee474,_0x4577ac){_0x2ee474=_0x2ee474-0x1a3;let _0x1a944d=_0x25c8cb[_0x2ee474];return _0x1a944d;},_0x2ee4(_0x125cfc,_0x1e0ed5);}exports[_0x4e3eed(0x1b3)]=ImageHelper;function _0x25c8(){const _0x26bb45=['Resvg','getHeight','ImageHelper','__esModule','asPng','getWidth','6VhCrSV','png','bitmap','67656yJHCCH','1236985NGKEZz','1810955hxLtNL','8803170jFdnSw','175rRWaog','104830DBatHk','data','4dwKvsl','1215wLTyLV','1676326oQiivt','webp2PngBuffer','render','width','47314960WVKOkz'];_0x25c8=function(){return _0x26bb45;};return _0x25c8();}
@@ -1 +1 @@
1
- 'use strict';const _0x155e6d=_0x197a;(function(_0x34db18,_0x549d8a){const _0x18cc6f=_0x197a,_0x22b25c=_0x34db18();while(!![]){try{const _0x4cd3f2=-parseInt(_0x18cc6f(0xfa))/0x1*(parseInt(_0x18cc6f(0xdc))/0x2)+parseInt(_0x18cc6f(0xf1))/0x3*(-parseInt(_0x18cc6f(0xdd))/0x4)+parseInt(_0x18cc6f(0xd8))/0x5*(parseInt(_0x18cc6f(0xf4))/0x6)+parseInt(_0x18cc6f(0xf3))/0x7*(-parseInt(_0x18cc6f(0xf8))/0x8)+parseInt(_0x18cc6f(0xec))/0x9+parseInt(_0x18cc6f(0xe3))/0xa*(-parseInt(_0x18cc6f(0xd6))/0xb)+parseInt(_0x18cc6f(0xe4))/0xc;if(_0x4cd3f2===_0x549d8a)break;else _0x22b25c['push'](_0x22b25c['shift']());}catch(_0x2e8bc8){_0x22b25c['push'](_0x22b25c['shift']());}}}(_0x5882,0xf1887));function _0x197a(_0x4cb10b,_0x571fe7){const _0x5882a6=_0x5882();return _0x197a=function(_0x197a2c,_0x468b9c){_0x197a2c=_0x197a2c-0xd3;let _0x579746=_0x5882a6[_0x197a2c];return _0x579746;},_0x197a(_0x4cb10b,_0x571fe7);}Object[_0x155e6d(0xe0)](exports,_0x155e6d(0xe8),{'value':!![]}),exports[_0x155e6d(0xf0)]=exports[_0x155e6d(0xe1)]=exports[_0x155e6d(0xe9)]=exports[_0x155e6d(0xe7)]=exports[_0x155e6d(0xde)]=exports[_0x155e6d(0xeb)]=exports[_0x155e6d(0xf7)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require(_0x155e6d(0xd5)),file_1=require(_0x155e6d(0xf6)),load_1=require(_0x155e6d(0xd9));exports[_0x155e6d(0xdf)]=(0x0,path_1['join'])(__dirname,_0x155e6d(0xee)),exports[_0x155e6d(0xf7)]=(0x0,path_1[_0x155e6d(0xd3)])(exports[_0x155e6d(0xdf)],'./build'),exports[_0x155e6d(0xeb)]=(0x0,path_1[_0x155e6d(0xd3)])(exports[_0x155e6d(0xdf)],_0x155e6d(0xf9)),exports[_0x155e6d(0xde)]='web-spatial/static-web',exports[_0x155e6d(0xe7)]='web-spatial/Assets.xcassets',exports[_0x155e6d(0xe9)]=exports[_0x155e6d(0xe7)]+_0x155e6d(0xef),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x155e6d(0xe7)]+_0x155e6d(0xe2);class ResourceManager{static async[_0x155e6d(0xd4)](_0x15c659){const _0x1356d9=_0x155e6d,_0x1dca60=(0x0,path_1[_0x1356d9(0xd3)])(process[_0x1356d9(0xda)](),_0x15c659),_0x5939c9=(0x0,path_1['join'])(exports[_0x1356d9(0xdf)],exports['WEB_PROJECT_DIRECTORY']);!fs['existsSync'](_0x5939c9)?fs[_0x1356d9(0xe6)](_0x5939c9,{'recursive':!![]}):(0x0,file_1[_0x1356d9(0xea)])(_0x5939c9);try{(0x0,file_1[_0x1356d9(0xd7)])(_0x1dca60,_0x5939c9);}catch(_0x3a2abe){console[_0x1356d9(0xfb)](_0x3a2abe);}}static async['generateIcon'](_0x514a20){const _0x458cdb=_0x155e6d,_0x5bcc8a=_0x514a20[_0x458cdb(0xdb)],_0x3db84d=_0x5bcc8a['icons'][0x0][_0x458cdb(0xed)],_0x207d50=!_0x3db84d['startsWith'](_0x458cdb(0xe5))?await(0x0,load_1['loadImageFromDisk'])(_0x3db84d):await(0x0,load_1[_0x458cdb(0xf2)])(_0x3db84d);return _0x207d50[_0x458cdb(0xf5)](0x400,0x400),_0x207d50;}}exports[_0x155e6d(0xf0)]=ResourceManager;function _0x5882(){const _0x2695c5=['14127072NhBypE','http','mkdirSync','ASSET_DIRECTORY','__esModule','BACK_APPICON_DIRECTORY','clearDir','PROJECT_EXPORT_DIRECTORY','3868461FUKVXc','src','../../../template/visionOSApp','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','ResourceManager','3099KZDZeP','loadImageFromNet','370391hgMAxQ','6gzEQty','resize','./file','PROJECT_BUILD_DIRECTORY','24NgXCZW','./export','141JCGpIG','log','join','moveProjectFrom','path','92015hoNeMV','copyDir','3332785hbDpTS','./load','cwd','json','12646DQRuoy','388TugzsV','WEB_PROJECT_DIRECTORY','PROJECT_DIRECTORY','defineProperty','MIDDLE_APPICON_DIRECTORY','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','160vIGrrU'];_0x5882=function(){return _0x2695c5;};return _0x5882();}
1
+ 'use strict';const _0x70313b=_0x9a8d;(function(_0x447fbb,_0x5ac1c9){const _0x51aad7=_0x9a8d,_0x3f3719=_0x447fbb();while(!![]){try{const _0x33df18=parseInt(_0x51aad7(0xcc))/0x1*(parseInt(_0x51aad7(0xca))/0x2)+parseInt(_0x51aad7(0xba))/0x3+parseInt(_0x51aad7(0xb3))/0x4*(parseInt(_0x51aad7(0xd4))/0x5)+-parseInt(_0x51aad7(0xc3))/0x6*(-parseInt(_0x51aad7(0xb0))/0x7)+-parseInt(_0x51aad7(0xbd))/0x8*(parseInt(_0x51aad7(0xce))/0x9)+-parseInt(_0x51aad7(0xad))/0xa*(parseInt(_0x51aad7(0xaa))/0xb)+-parseInt(_0x51aad7(0xb1))/0xc*(-parseInt(_0x51aad7(0xb6))/0xd);if(_0x33df18===_0x5ac1c9)break;else _0x3f3719['push'](_0x3f3719['shift']());}catch(_0x22e889){_0x3f3719['push'](_0x3f3719['shift']());}}}(_0xc516,0x52b5d));function _0x9a8d(_0x48077d,_0x1edaca){const _0xc5167b=_0xc516();return _0x9a8d=function(_0x9a8de7,_0x10c72d){_0x9a8de7=_0x9a8de7-0xaa;let _0x53509b=_0xc5167b[_0x9a8de7];return _0x53509b;},_0x9a8d(_0x48077d,_0x1edaca);}function _0xc516(){const _0x156b21=['generateIcon','__esModule','mkdirSync','5todAzQ','join','11kCRkRn','web-spatial/static-web','MIDDLE_APPICON_DIRECTORY','1163240kOrccB','PROJECT_EXPORT_DIRECTORY','ASSET_DIRECTORY','819KhHDGp','1500VFhWxa','ResourceManager','676868qnGgWl','moveProjectFrom','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','65533NunsLC','./export','defineProperty','WEB_PROJECT_DIRECTORY','202404tkzpcp','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','http','3112nkvypu','PROJECT_BUILD_DIRECTORY','./file','PROJECT_DIRECTORY','./load','json','234SRBQwg','startsWith','BACK_APPICON_DIRECTORY','log','path','resize','cwd','46198fbsUiy','src','5wokwKo','clearDir','12303OCzHtP','existsSync','../../../template/visionOSApp'];_0xc516=function(){return _0x156b21;};return _0xc516();}Object[_0x70313b(0xb8)](exports,_0x70313b(0xd2),{'value':!![]}),exports[_0x70313b(0xb2)]=exports[_0x70313b(0xac)]=exports[_0x70313b(0xc5)]=exports['ASSET_DIRECTORY']=exports[_0x70313b(0xb9)]=exports[_0x70313b(0xae)]=exports[_0x70313b(0xbe)]=exports[_0x70313b(0xc0)]=void 0x0;const fs=require('fs'),path_1=require(_0x70313b(0xc7)),file_1=require(_0x70313b(0xbf)),load_1=require(_0x70313b(0xc1));exports[_0x70313b(0xc0)]=(0x0,path_1[_0x70313b(0xd5)])(__dirname,_0x70313b(0xd0)),exports[_0x70313b(0xbe)]=(0x0,path_1[_0x70313b(0xd5)])(exports[_0x70313b(0xc0)],'./build'),exports[_0x70313b(0xae)]=(0x0,path_1[_0x70313b(0xd5)])(exports['PROJECT_DIRECTORY'],_0x70313b(0xb7)),exports[_0x70313b(0xb9)]=_0x70313b(0xab),exports[_0x70313b(0xaf)]='web-spatial/Assets.xcassets',exports['BACK_APPICON_DIRECTORY']=exports[_0x70313b(0xaf)]+_0x70313b(0xbb),exports[_0x70313b(0xac)]=exports[_0x70313b(0xaf)]+_0x70313b(0xb5);class ResourceManager{static async[_0x70313b(0xb4)](_0x1c62d3){const _0x53caca=_0x70313b,_0x467856=(0x0,path_1[_0x53caca(0xd5)])(process[_0x53caca(0xc9)](),_0x1c62d3),_0x299d63=(0x0,path_1[_0x53caca(0xd5)])(exports[_0x53caca(0xc0)],exports[_0x53caca(0xb9)]);!fs[_0x53caca(0xcf)](_0x299d63)?fs[_0x53caca(0xd3)](_0x299d63,{'recursive':!![]}):(0x0,file_1[_0x53caca(0xcd)])(_0x299d63);try{(0x0,file_1['copyDir'])(_0x467856,_0x299d63);}catch(_0xce2248){console[_0x53caca(0xc6)](_0xce2248);}}static async[_0x70313b(0xd1)](_0x5a1d16){const _0x33ef89=_0x70313b,_0x9a3e21=_0x5a1d16[_0x33ef89(0xc2)],_0x3c9964=_0x9a3e21['icons'][0x0][_0x33ef89(0xcb)],_0x309755=!_0x3c9964[_0x33ef89(0xc4)](_0x33ef89(0xbc))?await(0x0,load_1['loadImageFromDisk'])(_0x3c9964):await(0x0,load_1['loadImageFromNet'])(_0x3c9964);return _0x309755[_0x33ef89(0xc8)](0x400,0x400),_0x309755;}}exports[_0x70313b(0xb2)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x4f2bdb=_0x2fd0;(function(_0x5a604b,_0x588617){const _0x42ff47=_0x2fd0,_0x2375e6=_0x5a604b();while(!![]){try{const _0x2e3f0b=parseInt(_0x42ff47(0x1e6))/0x1*(-parseInt(_0x42ff47(0x1d4))/0x2)+parseInt(_0x42ff47(0x1bf))/0x3*(parseInt(_0x42ff47(0x1c3))/0x4)+parseInt(_0x42ff47(0x1b9))/0x5*(parseInt(_0x42ff47(0x1d8))/0x6)+parseInt(_0x42ff47(0x1dc))/0x7*(parseInt(_0x42ff47(0x1bc))/0x8)+parseInt(_0x42ff47(0x1d1))/0x9*(-parseInt(_0x42ff47(0x1b7))/0xa)+-parseInt(_0x42ff47(0x1c4))/0xb*(-parseInt(_0x42ff47(0x1b6))/0xc)+-parseInt(_0x42ff47(0x1ba))/0xd;if(_0x2e3f0b===_0x588617)break;else _0x2375e6['push'](_0x2375e6['shift']());}catch(_0x3384ed){_0x2375e6['push'](_0x2375e6['shift']());}}}(_0x58f5,0x44332));Object[_0x4f2bdb(0x1b4)](exports,'__esModule',{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports['loadJsonFromDisk']=loadJsonFromDisk,exports[_0x4f2bdb(0x1df)]=loadImageFromNet,exports[_0x4f2bdb(0x1e4)]=loadImageFromDisk,exports[_0x4f2bdb(0x1c2)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x4f2bdb(0x1bb)),CustomError_1=require(_0x4f2bdb(0x1c5)),Jimp=require(_0x4f2bdb(0x1ce)),imageHelper_1=require(_0x4f2bdb(0x1c8));function _0x2fd0(_0x513ef3,_0x1b6558){const _0x58f52c=_0x58f5();return _0x2fd0=function(_0x2fd0f2,_0x4b3bb7){_0x2fd0f2=_0x2fd0f2-0x1b3;let _0x47cbf0=_0x58f52c[_0x2fd0f2];return _0x47cbf0;},_0x2fd0(_0x513ef3,_0x1b6558);}function _0x58f5(){const _0x47315a=['webp2PngBuffer','content-encoding','loadImageFromDisk','deflate','29909WXMHpo','status','fetchUtils','data','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','defineProperty','binary','48QwVfAW','313890THRrGX','image/','4445CWIGKz','9829170mKVJri','../utils/FetchUtils-1','101496FdtNdR','from','Failed\x20to\x20download\x20Web\x20Manifest\x20','118323cDXEPp','content-type','The\x20response\x20status\x20is\x20','loadFileString','20pYIBvC','1245541jkjuWd','../utils/CustomError','decompressResponseBuffer','get','./imageHelper','image/svg','svg2img','CustomError','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','read','jimp','toString','\x20Responded\x20with\x20Content-Type\x20\x22','18TZbiho','text','fetch','4CLZhzD','parse','Problem\x20reading\x20','image/webp','1116uTbWCe','headers','ImageHelper','gzip','189qSQEPd',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','loadImageFromNet','readFile','includes'];_0x58f5=function(){return _0x47315a;};return _0x58f5();}async function loadJsonFromNet(_0x4e1c37){const _0x567e4d=_0x4f2bdb,_0x14ef04=await FetchUtils_1_1[_0x567e4d(0x1e8)][_0x567e4d(0x1d3)](_0x4e1c37,{'encoding':'binary'});if(_0x14ef04[_0x567e4d(0x1e7)]!==0xc8)throw new CustomError_1[(_0x567e4d(0x1cb))]({'code':0xbbc,'message':_0x567e4d(0x1be)+_0x4e1c37+'.'+(_0x567e4d(0x1c1)+_0x14ef04['status']+_0x567e4d(0x1dd)),'message_staring_params':{'web_manifest_url':_0x4e1c37,'status':_0x14ef04[_0x567e4d(0x1e7)]}});try{let _0x3dcc8a;return _0x14ef04[_0x567e4d(0x1d2)]?_0x3dcc8a=await _0x14ef04[_0x567e4d(0x1d2)]():[_0x567e4d(0x1db),_0x567e4d(0x1e5),'br'][_0x567e4d(0x1e1)](_0x14ef04['headers'][_0x567e4d(0x1e3)])?_0x3dcc8a=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer[_0x567e4d(0x1bd)](_0x14ef04['data'],'binary'),_0x14ef04['headers'][_0x567e4d(0x1e3)])[_0x567e4d(0x1cf)]():_0x3dcc8a=Buffer[_0x567e4d(0x1bd)](_0x14ef04[_0x567e4d(0x1e9)],'binary')[_0x567e4d(0x1cf)](),JSON[_0x567e4d(0x1d5)](_0x3dcc8a['trim']());}catch(_0x3d2c74){throw new CustomError_1[(_0x567e4d(0x1cb))]({'code':0xbbd,'message':_0x567e4d(0x1b3),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x3d3588){const _0x26aeb6=_0x4f2bdb,_0x4d86cd=await loadFileString(_0x3d3588[_0x26aeb6(0x1cf)]());return JSON[_0x26aeb6(0x1d5)](_0x4d86cd);}async function loadImageFromNet(_0x3d7d3a){const _0x23f3e5=_0x4f2bdb,_0x10a8bb=await FetchUtils_1_1[_0x23f3e5(0x1e8)][_0x23f3e5(0x1d3)](_0x3d7d3a,{'encoding':_0x23f3e5(0x1b5)});if(_0x10a8bb[_0x23f3e5(0x1e7)]!==0xc8)throw new CustomError_1[(_0x23f3e5(0x1cb))]({'code':0x7d2,'message':_0x23f3e5(0x1cc)+_0x10a8bb[_0x23f3e5(0x1e7)],'message_staring_params':{'icon_url':_0x3d7d3a,'status':_0x10a8bb[_0x23f3e5(0x1e7)]}});const _0x3b515a=_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1c7)]?_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1c7)](_0x23f3e5(0x1c0)):_0x10a8bb['headers'][_0x23f3e5(0x1c0)];if(!(_0x3b515a===null||_0x3b515a===void 0x0?void 0x0:_0x3b515a[_0x23f3e5(0x1de)](_0x23f3e5(0x1b8))))throw new CustomError_1['CustomError']({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x23f3e5(0x1d0)+_0x3b515a+'\x22'),'message_staring_params':{'icon_url':_0x3d7d3a,'contentType':_0x3b515a}});let _0x117111;_0x10a8bb['arrayBuffer']?_0x117111=await _0x10a8bb['arrayBuffer']():['gzip',_0x23f3e5(0x1e5),'br'][_0x23f3e5(0x1e1)](_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1e3)])?_0x117111=FetchUtils_1_1[_0x23f3e5(0x1e8)][_0x23f3e5(0x1c6)](Buffer[_0x23f3e5(0x1bd)](_0x10a8bb[_0x23f3e5(0x1e9)],_0x23f3e5(0x1b5)),_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1e3)]):_0x117111=Buffer[_0x23f3e5(0x1bd)](_0x10a8bb[_0x23f3e5(0x1e9)],_0x23f3e5(0x1b5));if(_0x3b515a['startsWith'](_0x23f3e5(0x1c9))){const _0x4f96fb=new TextDecoder();try{_0x117111=await imageHelper_1[_0x23f3e5(0x1da)][_0x23f3e5(0x1ca)](_0x4f96fb['decode'](_0x117111));}catch(_0x59f5a8){throw new CustomError_1[(_0x23f3e5(0x1cb))]({'code':0x7d4,'message':_0x23f3e5(0x1d6)+_0x3d7d3a+':\x20'+_0x59f5a8,'message_staring_params':{'icon_url':_0x3d7d3a,'error':_0x59f5a8}});}}return _0x3b515a['startsWith'](_0x23f3e5(0x1d7))&&(_0x117111=await imageHelper_1[_0x23f3e5(0x1da)][_0x23f3e5(0x1e2)](_0x117111)),await Jimp['read'](Buffer[_0x23f3e5(0x1bd)](_0x117111));}async function loadImageFromDisk(_0x4eb3b3){const _0x5e45d9=_0x4f2bdb;return await Jimp[_0x5e45d9(0x1cd)](_0x4eb3b3);}async function loadFileString(_0x236fb9){const _0x233726=_0x4f2bdb;let _0x4c5a6a=await fs['promises'][_0x233726(0x1e0)](_0x236fb9['toString']());return _0x4c5a6a[_0x233726(0x1cf)]();}
1
+ 'use strict';const _0x9492bf=_0x4377;function _0x4377(_0x5cba0d,_0x27219f){const _0x2be667=_0x2be6();return _0x4377=function(_0x4377be,_0x54070e){_0x4377be=_0x4377be-0x1a4;let _0xf06f27=_0x2be667[_0x4377be];return _0xf06f27;},_0x4377(_0x5cba0d,_0x27219f);}(function(_0x16bacd,_0x22d912){const _0x4841a5=_0x4377,_0x74db71=_0x16bacd();while(!![]){try{const _0x3ef384=parseInt(_0x4841a5(0x1a4))/0x1+-parseInt(_0x4841a5(0x1b5))/0x2*(-parseInt(_0x4841a5(0x1ce))/0x3)+parseInt(_0x4841a5(0x1b0))/0x4+-parseInt(_0x4841a5(0x1d1))/0x5+-parseInt(_0x4841a5(0x1ae))/0x6*(-parseInt(_0x4841a5(0x1ac))/0x7)+parseInt(_0x4841a5(0x1bb))/0x8+parseInt(_0x4841a5(0x1b2))/0x9*(-parseInt(_0x4841a5(0x1bc))/0xa);if(_0x3ef384===_0x22d912)break;else _0x74db71['push'](_0x74db71['shift']());}catch(_0x34c2fe){_0x74db71['push'](_0x74db71['shift']());}}}(_0x2be6,0x75521));Object[_0x9492bf(0x1b7)](exports,_0x9492bf(0x1a5),{'value':!![]}),exports[_0x9492bf(0x1c3)]=loadJsonFromNet,exports[_0x9492bf(0x1c2)]=loadJsonFromDisk,exports[_0x9492bf(0x1a9)]=loadImageFromNet,exports[_0x9492bf(0x1cd)]=loadImageFromDisk,exports['loadFileString']=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x9492bf(0x1cf)),CustomError_1=require(_0x9492bf(0x1da)),Jimp=require(_0x9492bf(0x1b3)),imageHelper_1=require(_0x9492bf(0x1c7));async function loadJsonFromNet(_0x592811){const _0x517111=_0x9492bf,_0x535f9e=await FetchUtils_1_1[_0x517111(0x1d9)]['fetch'](_0x592811,{'encoding':'binary'});if(_0x535f9e['status']!==0xc8)throw new CustomError_1[(_0x517111(0x1a7))]({'code':0xbbc,'message':_0x517111(0x1bd)+_0x592811+'.'+('The\x20response\x20status\x20is\x20'+_0x535f9e['status']+_0x517111(0x1d7)),'message_staring_params':{'web_manifest_url':_0x592811,'status':_0x535f9e[_0x517111(0x1d6)]}});try{let _0x1c18af;return _0x535f9e[_0x517111(0x1d0)]?_0x1c18af=await _0x535f9e['text']():['gzip','deflate','br']['includes'](_0x535f9e[_0x517111(0x1b1)][_0x517111(0x1a6)])?_0x1c18af=FetchUtils_1_1[_0x517111(0x1d9)][_0x517111(0x1cb)](Buffer[_0x517111(0x1ba)](_0x535f9e[_0x517111(0x1ca)],_0x517111(0x1c8)),_0x535f9e[_0x517111(0x1b1)][_0x517111(0x1a6)])['toString']():_0x1c18af=Buffer[_0x517111(0x1ba)](_0x535f9e[_0x517111(0x1ca)],_0x517111(0x1c8))['toString'](),JSON['parse'](_0x1c18af[_0x517111(0x1bf)]());}catch(_0x220eea){throw new CustomError_1[(_0x517111(0x1a7))]({'code':0xbbd,'message':_0x517111(0x1ab),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x109e3b){const _0xb77bc7=_0x9492bf,_0x36c6c7=await loadFileString(_0x109e3b['toString']());return JSON[_0xb77bc7(0x1ad)](_0x36c6c7);}async function loadImageFromNet(_0x51699f){const _0x2f388f=_0x9492bf,_0x1b3ca7=await FetchUtils_1_1['fetchUtils'][_0x2f388f(0x1c1)](_0x51699f,{'encoding':'binary'});if(_0x1b3ca7[_0x2f388f(0x1d6)]!==0xc8)throw new CustomError_1['CustomError']({'code':0x7d2,'message':_0x2f388f(0x1c0)+_0x1b3ca7[_0x2f388f(0x1d6)],'message_staring_params':{'icon_url':_0x51699f,'status':_0x1b3ca7['status']}});const _0x403c0c=_0x1b3ca7[_0x2f388f(0x1b1)][_0x2f388f(0x1c5)]?_0x1b3ca7[_0x2f388f(0x1b1)][_0x2f388f(0x1c5)](_0x2f388f(0x1d5)):_0x1b3ca7['headers'][_0x2f388f(0x1d5)];if(!(_0x403c0c===null||_0x403c0c===void 0x0?void 0x0:_0x403c0c[_0x2f388f(0x1b8)](_0x2f388f(0x1be))))throw new CustomError_1[(_0x2f388f(0x1a7))]({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x2f388f(0x1cc)+_0x403c0c+'\x22'),'message_staring_params':{'icon_url':_0x51699f,'contentType':_0x403c0c}});let _0x205713;_0x1b3ca7[_0x2f388f(0x1d2)]?_0x205713=await _0x1b3ca7[_0x2f388f(0x1d2)]():[_0x2f388f(0x1aa),_0x2f388f(0x1b4),'br'][_0x2f388f(0x1d3)](_0x1b3ca7['headers'][_0x2f388f(0x1a6)])?_0x205713=FetchUtils_1_1[_0x2f388f(0x1d9)][_0x2f388f(0x1cb)](Buffer[_0x2f388f(0x1ba)](_0x1b3ca7['data'],_0x2f388f(0x1c8)),_0x1b3ca7['headers'][_0x2f388f(0x1a6)]):_0x205713=Buffer[_0x2f388f(0x1ba)](_0x1b3ca7[_0x2f388f(0x1ca)],_0x2f388f(0x1c8));if(_0x403c0c[_0x2f388f(0x1b8)](_0x2f388f(0x1b6))){const _0x2de919=new TextDecoder();try{_0x205713=await imageHelper_1['ImageHelper'][_0x2f388f(0x1b9)](_0x2de919['decode'](_0x205713));}catch(_0x27ee6b){throw new CustomError_1[(_0x2f388f(0x1a7))]({'code':0x7d4,'message':_0x2f388f(0x1af)+_0x51699f+':\x20'+_0x27ee6b,'message_staring_params':{'icon_url':_0x51699f,'error':_0x27ee6b}});}}return _0x403c0c[_0x2f388f(0x1b8)](_0x2f388f(0x1c9))&&(_0x205713=await imageHelper_1[_0x2f388f(0x1d4)]['webp2PngBuffer'](_0x205713)),await Jimp['read'](Buffer['from'](_0x205713));}function _0x2be6(){const _0x129181=['547778bjTQRc','__esModule','content-encoding','CustomError','read','loadImageFromNet','gzip','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','48643XgXfWJ','parse','318EgluPu','Problem\x20reading\x20','862756RhQwaf','headers','13680BSQDXM','jimp','deflate','62GCHVtp','image/svg','defineProperty','startsWith','svg2img','from','1262024gEwVpz','3460RbpFKq','Failed\x20to\x20download\x20Web\x20Manifest\x20','image/','trim','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','fetch','loadJsonFromDisk','loadJsonFromNet','readFile','get','promises','./imageHelper','binary','image/webp','data','decompressResponseBuffer','\x20Responded\x20with\x20Content-Type\x20\x22','loadImageFromDisk','33936ljsfqi','../utils/FetchUtils-1','text','3168620KBZrkt','arrayBuffer','includes','ImageHelper','content-type','status',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','toString','fetchUtils','../utils/CustomError'];_0x2be6=function(){return _0x129181;};return _0x2be6();}async function loadImageFromDisk(_0x59782b){const _0x2898be=_0x9492bf;return await Jimp[_0x2898be(0x1a8)](_0x59782b);}async function loadFileString(_0x392288){const _0x27589b=_0x9492bf;let _0x36236f=await fs[_0x27589b(0x1c6)][_0x27589b(0x1c4)](_0x392288['toString']());return _0x36236f[_0x27589b(0x1d8)]();}
@@ -1 +1 @@
1
- 'use strict';function _0x5033(){var _0x4c3953=['2882460Mfawgl','__esModule','744921hKDcTk','9FpqVcg','9686880BwcYsZ','3687592aPKYOr','stringify','6soWEIA','2ORraLb','330557kNCZHM','306480pUcIWM','CustomError','info','953771iQIJQr','customMessage','type'];_0x5033=function(){return _0x4c3953;};return _0x5033();}var _0x24bdc5=_0x2fc3;function _0x2fc3(_0x3eca6c,_0x1ad6a3){var _0x5033c7=_0x5033();return _0x2fc3=function(_0x2fc35f,_0x2773c1){_0x2fc35f=_0x2fc35f-0xa3;var _0x31eb17=_0x5033c7[_0x2fc35f];return _0x31eb17;},_0x2fc3(_0x3eca6c,_0x1ad6a3);}(function(_0x2d9454,_0x52cfb1){var _0x11c231=_0x2fc3,_0x22dd77=_0x2d9454();while(!![]){try{var _0x54c3af=parseInt(_0x11c231(0xa7))/0x1*(parseInt(_0x11c231(0xa6))/0x2)+parseInt(_0x11c231(0xb0))/0x3+-parseInt(_0x11c231(0xa8))/0x4+-parseInt(_0x11c231(0xae))/0x5+-parseInt(_0x11c231(0xa5))/0x6*(parseInt(_0x11c231(0xab))/0x7)+-parseInt(_0x11c231(0xa3))/0x8*(parseInt(_0x11c231(0xb1))/0x9)+parseInt(_0x11c231(0xb2))/0xa;if(_0x54c3af===_0x52cfb1)break;else _0x22dd77['push'](_0x22dd77['shift']());}catch(_0x311500){_0x22dd77['push'](_0x22dd77['shift']());}}}(_0x5033,0x48916));Object['defineProperty'](exports,_0x24bdc5(0xaf),{'value':!![]}),exports[_0x24bdc5(0xa9)]=void 0x0;class CustomError extends Error{constructor(_0x4b32b0,_0x628535){var _0x44349b=_0x24bdc5;super(JSON[_0x44349b(0xa4)](_0x4b32b0)),this[_0x44349b(0xac)]=_0x4b32b0,this[_0x44349b(0xad)]=_0x628535||_0x44349b(0xaa);}}exports[_0x24bdc5(0xa9)]=CustomError;
1
+ 'use strict';var _0x2dd52c=_0x43be;function _0x3284(){var _0x3e8533=['25VbzDyE','13539JiEpHK','300488udlxlw','7woXZzw','7443650LsZgWU','stringify','9LRaUAU','330785cgOrXo','customMessage','type','CustomError','__esModule','defineProperty','183232oAPtZU','info','764lkWqCj','608808QENIgI','12302576xvGAMH'];_0x3284=function(){return _0x3e8533;};return _0x3284();}(function(_0x12068f,_0x38c4c9){var _0x569070=_0x43be,_0x1056e2=_0x12068f();while(!![]){try{var _0x98fb1d=parseInt(_0x569070(0xc7))/0x1+parseInt(_0x569070(0xbb))/0x2+parseInt(_0x569070(0xc1))/0x3*(-parseInt(_0x569070(0xbd))/0x4)+parseInt(_0x569070(0xc0))/0x5*(parseInt(_0x569070(0xbe))/0x6)+-parseInt(_0x569070(0xc3))/0x7*(-parseInt(_0x569070(0xc2))/0x8)+-parseInt(_0x569070(0xc6))/0x9*(parseInt(_0x569070(0xc4))/0xa)+parseInt(_0x569070(0xbf))/0xb;if(_0x98fb1d===_0x38c4c9)break;else _0x1056e2['push'](_0x1056e2['shift']());}catch(_0x5439ca){_0x1056e2['push'](_0x1056e2['shift']());}}}(_0x3284,0x7508a));Object[_0x2dd52c(0xba)](exports,_0x2dd52c(0xb9),{'value':!![]}),exports[_0x2dd52c(0xb8)]=void 0x0;class CustomError extends Error{constructor(_0x256b1,_0xef797b){var _0x3c4d81=_0x2dd52c;super(JSON[_0x3c4d81(0xc5)](_0x256b1)),this[_0x3c4d81(0xb6)]=_0x256b1,this[_0x3c4d81(0xb7)]=_0xef797b||_0x3c4d81(0xbc);}}function _0x43be(_0x54c256,_0x63fa61){var _0x3284d7=_0x3284();return _0x43be=function(_0x43be02,_0x4b286c){_0x43be02=_0x43be02-0xb6;var _0xbcb5c3=_0x3284d7[_0x43be02];return _0xbcb5c3;},_0x43be(_0x54c256,_0x63fa61);}exports[_0x2dd52c(0xb8)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x184eca=_0x111a;function _0x21bd(){const _0x4203b1=['10178ayyjoH','552879xHRBFW','25678323LqvMYT','decompressResponseBuffer','setDecompressResponseBuffer','344HiGJmm','47855PqkADN','1310538JjLhsO','fetch','3784600vcaxEE','downloadFile','fetchEngine','12vvpRCG','435378sjskLG','49mNIIZM','8BnNexr','setDownloadFile','fetchUtils','setFetchEngine','137npYzIK','__esModule'];_0x21bd=function(){return _0x4203b1;};return _0x21bd();}(function(_0x18e6b0,_0x48b887){const _0x55914a=_0x111a,_0xeef4e6=_0x18e6b0();while(!![]){try{const _0x540c14=parseInt(_0x55914a(0x1ea))/0x1*(parseInt(_0x55914a(0x1ec))/0x2)+parseInt(_0x55914a(0x1de))/0x3+parseInt(_0x55914a(0x1f1))/0x4*(parseInt(_0x55914a(0x1dd))/0x5)+-parseInt(_0x55914a(0x1e4))/0x6*(-parseInt(_0x55914a(0x1e5))/0x7)+parseInt(_0x55914a(0x1e6))/0x8*(-parseInt(_0x55914a(0x1ed))/0x9)+parseInt(_0x55914a(0x1e0))/0xa+parseInt(_0x55914a(0x1ee))/0xb*(-parseInt(_0x55914a(0x1e3))/0xc);if(_0x540c14===_0x48b887)break;else _0xeef4e6['push'](_0xeef4e6['shift']());}catch(_0x537113){_0xeef4e6['push'](_0xeef4e6['shift']());}}}(_0x21bd,0x6d4ea));Object['defineProperty'](exports,_0x184eca(0x1eb),{'value':!![]}),exports[_0x184eca(0x1e8)]=void 0x0;class FetchUtils{constructor(){const _0x13ef2c=_0x184eca;this[_0x13ef2c(0x1e2)]=null,this[_0x13ef2c(0x1df)]=null,this['downloadFile']=null,this[_0x13ef2c(0x1ef)]=null;}[_0x184eca(0x1e9)](_0x1b6c7a){const _0x377484=_0x184eca;this[_0x377484(0x1e2)]=_0x1b6c7a;}['setFetch'](_0x98bf5e){const _0x5f0853=_0x184eca;this[_0x5f0853(0x1df)]=_0x98bf5e;}[_0x184eca(0x1e7)](_0x1132d1){const _0x9cfe21=_0x184eca;this[_0x9cfe21(0x1e1)]=_0x1132d1;}[_0x184eca(0x1f0)](_0x1e3890){const _0x5dc75e=_0x184eca;this[_0x5dc75e(0x1ef)]=_0x1e3890;}}const fetchUtils=new FetchUtils();function _0x111a(_0x315501,_0x57c66a){const _0x21bd35=_0x21bd();return _0x111a=function(_0x111aa0,_0x1a562f){_0x111aa0=_0x111aa0-0x1dd;let _0x5b08ae=_0x21bd35[_0x111aa0];return _0x5b08ae;},_0x111a(_0x315501,_0x57c66a);}exports[_0x184eca(0x1e8)]=fetchUtils;
1
+ 'use strict';function _0x37fa(_0x33d5a6,_0x16a19b){const _0x59a3e7=_0x59a3();return _0x37fa=function(_0x37facd,_0x4534b9){_0x37facd=_0x37facd-0x1ad;let _0x168df6=_0x59a3e7[_0x37facd];return _0x168df6;},_0x37fa(_0x33d5a6,_0x16a19b);}const _0x53fd69=_0x37fa;(function(_0x2caf64,_0x3bb32b){const _0x553617=_0x37fa,_0x250640=_0x2caf64();while(!![]){try{const _0x46dbcc=parseInt(_0x553617(0x1bd))/0x1+-parseInt(_0x553617(0x1bc))/0x2+-parseInt(_0x553617(0x1b2))/0x3*(-parseInt(_0x553617(0x1b1))/0x4)+parseInt(_0x553617(0x1ba))/0x5+-parseInt(_0x553617(0x1b4))/0x6+parseInt(_0x553617(0x1ae))/0x7+parseInt(_0x553617(0x1b0))/0x8;if(_0x46dbcc===_0x3bb32b)break;else _0x250640['push'](_0x250640['shift']());}catch(_0x26543c){_0x250640['push'](_0x250640['shift']());}}}(_0x59a3,0x7260c));Object['defineProperty'](exports,_0x53fd69(0x1ad),{'value':!![]}),exports[_0x53fd69(0x1b8)]=void 0x0;function _0x59a3(){const _0x644d88=['setFetchEngine','1153200gVYvgL','96623IGvBMl','__esModule','496713DookCs','fetch','3143088PcIgBJ','2944052cQRhZc','3CXGGJI','fetchEngine','3817206ViAvhM','setDecompressResponseBuffer','decompressResponseBuffer','setFetch','fetchUtils','downloadFile','1924060Rtatcu'];_0x59a3=function(){return _0x644d88;};return _0x59a3();}class FetchUtils{constructor(){const _0x8dabab=_0x53fd69;this[_0x8dabab(0x1b3)]=null,this[_0x8dabab(0x1af)]=null,this[_0x8dabab(0x1b9)]=null,this[_0x8dabab(0x1b6)]=null;}[_0x53fd69(0x1bb)](_0x19d187){this['fetchEngine']=_0x19d187;}[_0x53fd69(0x1b7)](_0x432722){const _0x1d2963=_0x53fd69;this[_0x1d2963(0x1af)]=_0x432722;}['setDownloadFile'](_0x4edf5b){this['downloadFile']=_0x4edf5b;}[_0x53fd69(0x1b5)](_0x21d9e8){this['decompressResponseBuffer']=_0x21d9e8;}}const fetchUtils=new FetchUtils();exports[_0x53fd69(0x1b8)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';function _0x10eb(_0x2cca44,_0x4d9317){var _0x12acfa=_0x12ac();return _0x10eb=function(_0x10eb82,_0x397741){_0x10eb82=_0x10eb82-0x134;var _0x4cafdf=_0x12acfa[_0x10eb82];return _0x4cafdf;},_0x10eb(_0x2cca44,_0x4d9317);}function _0x12ac(){var _0x2e1b11=['278BHAhUQ','1338210SRaaug','prefix','2714607XYBEZT','log','WARNING\x20','red','486mlOPUT','setVerbose','128GyfWyB','tag','406904EBEkNk','2655vRuFdT','output','556031mXJNEN','verbose','yellow','\x1b[0m','9rRdSCw','\x1b[33m','inverse','__esModule','dim','error','warn','28352984ZIcIKB','\x1b[31m','ERROR\x20','\x1b[36m','defineProperty','debug','info','9590wWelve'];_0x12ac=function(){return _0x2e1b11;};return _0x12ac();}var _0x5398fb=_0x10eb;(function(_0x4e2ff4,_0x15645b){var _0x17718f=_0x10eb,_0x546aef=_0x4e2ff4();while(!![]){try{var _0x8a80d0=-parseInt(_0x17718f(0x13f))/0x1*(parseInt(_0x17718f(0x140))/0x2)+-parseInt(_0x17718f(0x152))/0x3*(-parseInt(_0x17718f(0x14b))/0x4)+-parseInt(_0x17718f(0x14c))/0x5*(parseInt(_0x17718f(0x147))/0x6)+parseInt(_0x17718f(0x14e))/0x7*(-parseInt(_0x17718f(0x149))/0x8)+parseInt(_0x17718f(0x143))/0x9+parseInt(_0x17718f(0x141))/0xa+parseInt(_0x17718f(0x138))/0xb;if(_0x8a80d0===_0x15645b)break;else _0x546aef['push'](_0x546aef['shift']());}catch(_0x1f2e11){_0x546aef['push'](_0x546aef['shift']());}}}(_0x12ac,0xa3df1));Object[_0x5398fb(0x13c)](exports,_0x5398fb(0x134),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x465e46='',_0x3786f4=![],_0x51bd52=console){var _0x2ae09e=_0x5398fb;this['tag']=_0x465e46,this[_0x2ae09e(0x14f)]=_0x3786f4,this[_0x2ae09e(0x142)]=this[_0x2ae09e(0x154)](_0x465e46),this[_0x2ae09e(0x14d)]=_0x51bd52;}[_0x5398fb(0x13d)](_0x5ea115,..._0x39cbf9){var _0x3d83cb=_0x5398fb;if(!this['verbose'])return;this['log'](this['output']['log'],this[_0x3d83cb(0x135)](_0x5ea115),..._0x39cbf9);}[_0x5398fb(0x13e)](_0x93e80b,..._0x2e8092){var _0x545732=_0x5398fb;this[_0x545732(0x144)](this[_0x545732(0x14d)][_0x545732(0x144)],_0x93e80b,..._0x2e8092);}['warn'](_0x16af30,..._0x468059){var _0x13724e=_0x5398fb;this['log'](this[_0x13724e(0x14d)][_0x13724e(0x137)],this[_0x13724e(0x150)](_0x13724e(0x145)+_0x16af30),..._0x468059);}[_0x5398fb(0x136)](_0x144afe,..._0x101b87){var _0x2dbb24=_0x5398fb;this[_0x2dbb24(0x14d)]['error']('\x0a'),this[_0x2dbb24(0x144)](this[_0x2dbb24(0x14d)][_0x2dbb24(0x136)],this[_0x2dbb24(0x146)](_0x2dbb24(0x13a)+_0x144afe),..._0x101b87),this['output'][_0x2dbb24(0x136)]('\x0a');}[_0x5398fb(0x148)](_0x2a02b1){this['verbose']=_0x2a02b1;}['newLog'](_0x41bb50){var _0x4d4284=_0x5398fb;return this['tag']&&(_0x41bb50=this[_0x4d4284(0x14a)]+'\x20'+_0x41bb50),new ConsoleLog(_0x41bb50,this[_0x4d4284(0x14f)],this[_0x4d4284(0x14d)]);}[_0x5398fb(0x144)](_0x3db565,_0x4fdd6,..._0x49df62){var _0x48696e=_0x5398fb;this[_0x48696e(0x142)]&&(_0x4fdd6=this[_0x48696e(0x142)]+'\x20'+_0x4fdd6),_0x49df62?_0x3db565(...[_0x4fdd6]['concat'](_0x49df62)):_0x3db565(_0x4fdd6);}[_0x5398fb(0x154)](_0x5c0fc2){var _0x4c9aaa=_0x5398fb;return'\x1b[7m'+_0x5c0fc2+_0x4c9aaa(0x151);}[_0x5398fb(0x135)](_0x234ae3){var _0x35b553=_0x5398fb;return _0x35b553(0x13b)+_0x234ae3+_0x35b553(0x151);}['yellow'](_0x5786d2){var _0x10ec9e=_0x5398fb;return _0x10ec9e(0x153)+_0x5786d2+'\x1b[0m';}['red'](_0x90d50b){var _0xc3937=_0x5398fb;return _0xc3937(0x139)+_0x90d50b+_0xc3937(0x151);}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';function _0x21c4(_0x58d229,_0xeab4de){var _0x3baf1d=_0x3baf();return _0x21c4=function(_0x21c4d1,_0x50f91e){_0x21c4d1=_0x21c4d1-0x1df;var _0x4a4af6=_0x3baf1d[_0x21c4d1];return _0x4a4af6;},_0x21c4(_0x58d229,_0xeab4de);}var _0x1983c3=_0x21c4;function _0x3baf(){var _0x2f58e1=['ConsoleLog','prefix','warn','3452848lPvljY','1396216wsTsMv','1179jKzAWy','\x1b[7m','\x1b[31m','297843YXjPzX','51702gtgeTl','\x1b[36m','\x1b[33m','WARNING\x20','\x1b[0m','concat','98454fjZsZW','error','280SocjxR','output','newLog','debug','yellow','verbose','setVerbose','tag','ERROR\x20','19256fwenMz','red','dim','inverse','log','info','769902sNjxaR'];_0x3baf=function(){return _0x2f58e1;};return _0x3baf();}(function(_0x5dbbdc,_0x40e374){var _0x415a52=_0x21c4,_0x952575=_0x5dbbdc();while(!![]){try{var _0x1acdb0=-parseInt(_0x415a52(0x1e9))/0x1+parseInt(_0x415a52(0x1e0))/0x2+-parseInt(_0x415a52(0x1f0))/0x3+-parseInt(_0x415a52(0x1e5))/0x4+-parseInt(_0x415a52(0x1f2))/0x5*(-parseInt(_0x415a52(0x1ea))/0x6)+parseInt(_0x415a52(0x1e4))/0x7+-parseInt(_0x415a52(0x1fb))/0x8*(parseInt(_0x415a52(0x1e6))/0x9);if(_0x1acdb0===_0x40e374)break;else _0x952575['push'](_0x952575['shift']());}catch(_0x50a687){_0x952575['push'](_0x952575['shift']());}}}(_0x3baf,0x594a7));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x516459='',_0x3d773a=![],_0x2da4b4=console){var _0x280c7b=_0x21c4;this['tag']=_0x516459,this[_0x280c7b(0x1f7)]=_0x3d773a,this[_0x280c7b(0x1e2)]=this[_0x280c7b(0x1fe)](_0x516459),this[_0x280c7b(0x1f3)]=_0x2da4b4;}[_0x1983c3(0x1f5)](_0x58ceda,..._0x5053a5){var _0x111515=_0x1983c3;if(!this[_0x111515(0x1f7)])return;this[_0x111515(0x1ff)](this['output'][_0x111515(0x1ff)],this[_0x111515(0x1fd)](_0x58ceda),..._0x5053a5);}[_0x1983c3(0x1df)](_0x12aaf9,..._0x4a1854){this['log'](this['output']['log'],_0x12aaf9,..._0x4a1854);}[_0x1983c3(0x1e3)](_0x11fada,..._0x5cfc95){var _0x437e3d=_0x1983c3;this['log'](this[_0x437e3d(0x1f3)][_0x437e3d(0x1e3)],this[_0x437e3d(0x1f6)](_0x437e3d(0x1ed)+_0x11fada),..._0x5cfc95);}[_0x1983c3(0x1f1)](_0xd68bb3,..._0x211905){var _0x3d6e37=_0x1983c3;this[_0x3d6e37(0x1f3)][_0x3d6e37(0x1f1)]('\x0a'),this[_0x3d6e37(0x1ff)](this[_0x3d6e37(0x1f3)][_0x3d6e37(0x1f1)],this[_0x3d6e37(0x1fc)](_0x3d6e37(0x1fa)+_0xd68bb3),..._0x211905),this[_0x3d6e37(0x1f3)][_0x3d6e37(0x1f1)]('\x0a');}[_0x1983c3(0x1f8)](_0x21f53f){var _0x4fc1e0=_0x1983c3;this[_0x4fc1e0(0x1f7)]=_0x21f53f;}[_0x1983c3(0x1f4)](_0x3e021e){var _0x43ee9a=_0x1983c3;return this[_0x43ee9a(0x1f9)]&&(_0x3e021e=this['tag']+'\x20'+_0x3e021e),new ConsoleLog(_0x3e021e,this[_0x43ee9a(0x1f7)],this[_0x43ee9a(0x1f3)]);}['log'](_0x484a95,_0x284cae,..._0x4b9104){var _0x5b80a2=_0x1983c3;this['prefix']&&(_0x284cae=this[_0x5b80a2(0x1e2)]+'\x20'+_0x284cae),_0x4b9104?_0x484a95(...[_0x284cae][_0x5b80a2(0x1ef)](_0x4b9104)):_0x484a95(_0x284cae);}['inverse'](_0x52d77f){var _0x1a5217=_0x1983c3;return _0x1a5217(0x1e7)+_0x52d77f+_0x1a5217(0x1ee);}[_0x1983c3(0x1fd)](_0x55e30b){var _0x57d73c=_0x1983c3;return _0x57d73c(0x1eb)+_0x55e30b+_0x57d73c(0x1ee);}[_0x1983c3(0x1f6)](_0x20cb99){var _0xe75d85=_0x1983c3;return _0xe75d85(0x1ec)+_0x20cb99+_0xe75d85(0x1ee);}[_0x1983c3(0x1fc)](_0x44a42b){var _0x2335d2=_0x1983c3;return _0x2335d2(0x1e8)+_0x44a42b+'\x1b[0m';}}exports[_0x1983c3(0x1e1)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x2713b3=_0x48a1;(function(_0x416300,_0x5227aa){const _0xb65c0=_0x48a1,_0x10904a=_0x416300();while(!![]){try{const _0x45f2a3=parseInt(_0xb65c0(0x1e3))/0x1*(-parseInt(_0xb65c0(0x1ea))/0x2)+parseInt(_0xb65c0(0x1f0))/0x3+parseInt(_0xb65c0(0x1e2))/0x4*(parseInt(_0xb65c0(0x1f8))/0x5)+-parseInt(_0xb65c0(0x1e1))/0x6*(parseInt(_0xb65c0(0x1dc))/0x7)+parseInt(_0xb65c0(0x1e7))/0x8+-parseInt(_0xb65c0(0x1f2))/0x9+parseInt(_0xb65c0(0x1e5))/0xa*(-parseInt(_0xb65c0(0x1ee))/0xb);if(_0x45f2a3===_0x5227aa)break;else _0x10904a['push'](_0x10904a['shift']());}catch(_0xd10c91){_0x10904a['push'](_0x10904a['shift']());}}}(_0x2b2b,0xb209a));Object[_0x2713b3(0x1f6)](exports,_0x2713b3(0x1e0),{'value':!![]}),exports['fetch']=fetch,exports[_0x2713b3(0x1f3)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require(_0x2713b3(0x1f4)),fs=require('fs'),zlib=require(_0x2713b3(0x1f9)),userAgent=_0x2713b3(0x1ed),fetchh2Ctx=(0x0,fetch_h2_1[_0x2713b3(0x1f1)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x2713b3(0x1f7)];async function fetch(_0x1a1aba,_0x5158c3){const _0x2ea8ae=_0x2713b3;return await fetchh2(_0x1a1aba,_0x5158c3?{'redirect':_0x2ea8ae(0x1de),..._0x5158c3}:{'redirect':_0x2ea8ae(0x1de)});}async function downloadFile(_0x953ef6,_0xcdf71e,_0x1b263f){const _0x5a62a2=_0x2713b3;let _0x322766,_0x4049c4;_0x322766=await fetchh2(_0x953ef6,{'redirect':'follow'}),_0x4049c4=await _0x322766[_0x5a62a2(0x1fa)]();const _0x1ac7be=_0x322766[_0x5a62a2(0x1df)][_0x5a62a2(0x1e6)]('Content-Length'),_0x4ce8b2=_0x1ac7be?parseInt(_0x1ac7be):-0x1,_0x628822=fs['createWriteStream'](_0xcdf71e);let _0x49255a=0x0;await new Promise((_0x59fda5,_0x35671a)=>{const _0x1c1342=_0x5a62a2;_0x4049c4[_0x1c1342(0x1e4)](_0x628822),_0x1b263f&&_0x4049c4['on'](_0x1c1342(0x1e8),_0x11589f=>{const _0x55dd45=_0x1c1342;_0x49255a=_0x49255a+_0x11589f[_0x55dd45(0x1ec)],_0x1b263f(_0x49255a,_0x4ce8b2);}),_0x4049c4['on']('error',_0x49c110=>{_0x35671a(_0x49c110);}),_0x628822['on'](_0x1c1342(0x1eb),()=>{_0x59fda5();});});}function _0x48a1(_0x244048,_0x435d40){const _0x2b2b68=_0x2b2b();return _0x48a1=function(_0x48a1ae,_0xec314c){_0x48a1ae=_0x48a1ae-0x1dc;let _0x52c8c8=_0x2b2b68[_0x48a1ae];return _0x52c8c8;},_0x48a1(_0x244048,_0x435d40);}function decompressResponseBuffer(_0x9f3c9b,_0x559d7a){const _0x4d753a=_0x2713b3;let _0xbf6ea3=_0x9f3c9b;if(/\bgzip\b/[_0x4d753a(0x1dd)](_0x559d7a)||/\bdeflate\b/[_0x4d753a(0x1dd)](_0x559d7a))_0xbf6ea3=zlib[_0x4d753a(0x1f5)](_0x9f3c9b,{'flush':zlib['constants'][_0x4d753a(0x1e9)],'finishFlush':zlib[_0x4d753a(0x1ef)][_0x4d753a(0x1e9)]});else/\bbr\b/['test'](_0x559d7a)&&(_0xbf6ea3=zlib[_0x4d753a(0x1fb)](_0x9f3c9b));return _0xbf6ea3;}function _0x2b2b(){const _0x55eea7=['follow','headers','__esModule','1754934ifrgxf','1132828zXTQVR','5lMiqvf','pipe','1228410vjNwaW','get','11180736FlOHAv','data','Z_SYNC_FLUSH','187366GTYfJg','finish','length','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','99MqkvGC','constants','3997929esYFAr','context','8690193lpSUcu','downloadFile','fetch-h2','unzipSync','defineProperty','fetch','25ESvLHe','zlib','readable','brotliDecompressSync','21XkUKua','test'];_0x2b2b=function(){return _0x55eea7;};return _0x2b2b();}
1
+ 'use strict';const _0x53efee=_0x1521;(function(_0x2897c7,_0x3959e1){const _0x3c39da=_0x1521,_0x114cc3=_0x2897c7();while(!![]){try{const _0xf46192=parseInt(_0x3c39da(0x14c))/0x1*(parseInt(_0x3c39da(0x148))/0x2)+-parseInt(_0x3c39da(0x149))/0x3+parseInt(_0x3c39da(0x146))/0x4+parseInt(_0x3c39da(0x14b))/0x5+-parseInt(_0x3c39da(0x14d))/0x6+parseInt(_0x3c39da(0x13e))/0x7*(-parseInt(_0x3c39da(0x14a))/0x8)+-parseInt(_0x3c39da(0x147))/0x9*(-parseInt(_0x3c39da(0x142))/0xa);if(_0xf46192===_0x3959e1)break;else _0x114cc3['push'](_0x114cc3['shift']());}catch(_0x3fd0fb){_0x114cc3['push'](_0x114cc3['shift']());}}}(_0x1414,0x5a329));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x53efee(0x14f)]=fetch,exports[_0x53efee(0x157)]=downloadFile,exports[_0x53efee(0x152)]=decompressResponseBuffer;const fetch_h2_1=require(_0x53efee(0x153)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x53efee(0x150),fetchh2Ctx=(0x0,fetch_h2_1[_0x53efee(0x15a)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x53efee(0x14f)];async function fetch(_0x1ca028,_0x7969e5){const _0xf1ab68=_0x53efee;return await fetchh2(_0x1ca028,_0x7969e5?{'redirect':_0xf1ab68(0x154),..._0x7969e5}:{'redirect':'follow'});}function _0x1521(_0xdeee73,_0x55b061){const _0x14149b=_0x1414();return _0x1521=function(_0x1521e6,_0xec84b8){_0x1521e6=_0x1521e6-0x13e;let _0x40e9f3=_0x14149b[_0x1521e6];return _0x40e9f3;},_0x1521(_0xdeee73,_0x55b061);}async function downloadFile(_0x85b278,_0x3ca752,_0xb6d2b7){const _0x532980=_0x53efee;let _0x59b509,_0x299be2;_0x59b509=await fetchh2(_0x85b278,{'redirect':_0x532980(0x154)}),_0x299be2=await _0x59b509[_0x532980(0x159)]();const _0x116209=_0x59b509[_0x532980(0x158)][_0x532980(0x145)]('Content-Length'),_0x446a49=_0x116209?parseInt(_0x116209):-0x1,_0x5d0e9c=fs[_0x532980(0x140)](_0x3ca752);let _0x34cae1=0x0;await new Promise((_0x58161a,_0x478be5)=>{const _0x287ac3=_0x532980;_0x299be2['pipe'](_0x5d0e9c),_0xb6d2b7&&_0x299be2['on']('data',_0x5af85e=>{const _0x50c6df=_0x1521;_0x34cae1=_0x34cae1+_0x5af85e[_0x50c6df(0x156)],_0xb6d2b7(_0x34cae1,_0x446a49);}),_0x299be2['on'](_0x287ac3(0x141),_0x3791b0=>{_0x478be5(_0x3791b0);}),_0x5d0e9c['on'](_0x287ac3(0x144),()=>{_0x58161a();});});}function _0x1414(){const _0x5193b1=['error','3990310JdrZKb','unzipSync','finish','get','395176aDBepS','9hnrQdb','54unfdZm','885249jgLues','4400PqNyYV','667905xNtqyl','18429nphkAL','288642MDAhiH','test','fetch','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','Z_SYNC_FLUSH','decompressResponseBuffer','fetch-h2','follow','constants','length','downloadFile','headers','readable','context','5299oxlPtH','brotliDecompressSync','createWriteStream'];_0x1414=function(){return _0x5193b1;};return _0x1414();}function decompressResponseBuffer(_0xb295eb,_0x51ea56){const _0x29046f=_0x53efee;let _0x4658c0=_0xb295eb;if(/\bgzip\b/['test'](_0x51ea56)||/\bdeflate\b/[_0x29046f(0x14e)](_0x51ea56))_0x4658c0=zlib[_0x29046f(0x143)](_0xb295eb,{'flush':zlib[_0x29046f(0x155)][_0x29046f(0x151)],'finishFlush':zlib[_0x29046f(0x155)]['Z_SYNC_FLUSH']});else/\bbr\b/[_0x29046f(0x14e)](_0x51ea56)&&(_0x4658c0=zlib[_0x29046f(0x13f)](_0xb295eb));return _0x4658c0;}
@@ -1 +1 @@
1
- 'use strict';const _0x43d680=_0x4a8a;function _0x4a8a(_0x16cfb5,_0x8df0bd){const _0x1327b3=_0x1327();return _0x4a8a=function(_0x4a8a4e,_0x5b397b){_0x4a8a4e=_0x4a8a4e-0xe3;let _0x160f0=_0x1327b3[_0x4a8a4e];return _0x160f0;},_0x4a8a(_0x16cfb5,_0x8df0bd);}(function(_0x5ec66b,_0x5a112c){const _0x51f9a1=_0x4a8a,_0x6c1638=_0x5ec66b();while(!![]){try{const _0x3bef26=parseInt(_0x51f9a1(0x100))/0x1+-parseInt(_0x51f9a1(0xef))/0x2*(-parseInt(_0x51f9a1(0xfd))/0x3)+-parseInt(_0x51f9a1(0x105))/0x4+-parseInt(_0x51f9a1(0xf0))/0x5+parseInt(_0x51f9a1(0x11c))/0x6+-parseInt(_0x51f9a1(0xe8))/0x7+-parseInt(_0x51f9a1(0x119))/0x8*(parseInt(_0x51f9a1(0xff))/0x9);if(_0x3bef26===_0x5a112c)break;else _0x6c1638['push'](_0x6c1638['shift']());}catch(_0x4ac332){_0x6c1638['push'](_0x6c1638['shift']());}}}(_0x1327,0x3a83e));Object[_0x43d680(0xfc)](exports,'__esModule',{'value':!![]}),exports['messages']=void 0x0;const colors_1=require(_0x43d680(0xe6));exports[_0x43d680(0xf1)]={'promptInstallJdk':_0x43d680(0x102),'promptJdkPath':_0x43d680(0xe3),'messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':_0x43d680(0xfe),'messageDecompressJdkSrc':_0x43d680(0x10e),'messageDownloadJdkBin':_0x43d680(0x112),'messageDecompressJdkBin':_0x43d680(0x117),'promptInstallSdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','promptSdkPath':_0x43d680(0xfb),'messageDownloadSdk':_0x43d680(0x11b),'errorSdkTerms':_0x43d680(0x114),'promptSdkTerms':_0x43d680(0x108)+(0x0,colors_1[_0x43d680(0xea)])(_0x43d680(0x118))+'?','messageDownloadAndroidSdk':_0x43d680(0x113),'messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0x43d680(0xee)+_0x43d680(0x11e),'messageGeneratingAndroidProject':_0x43d680(0x106),'messageCheckSuccess':(_0x21cf76,_0x46db05)=>{const _0x20d2a4=_0x43d680;return _0x20d2a4(0x104)+(0x0,colors_1['cyan'])(_0x21cf76)+'\x20'+(_0x46db05?_0x20d2a4(0xfa)+(0x0,colors_1[_0x20d2a4(0x121)])(_0x46db05):'')+_0x20d2a4(0xe5);},'errorMissingManifestParameter':_0x43d680(0x11a)+((0x0,colors_1[_0x43d680(0x121)])(_0x43d680(0xec))+_0x43d680(0x103)+(0x0,colors_1[_0x43d680(0x121)])('--manifest')),'messageInitializingWebManifest':_0x46855a=>{const _0x58cfad=_0x43d680;return _0x58cfad(0x115)+(0x0,colors_1[_0x58cfad(0x121)])(_0x46855a);},'messageInitializingLocalManifest':_0x4d46e1=>{const _0x3a219f=_0x43d680;return _0x3a219f(0xe9)+(0x0,colors_1[_0x3a219f(0x121)])(_0x4d46e1);},'messageInvalidIcon':_0x3cfc56=>{const _0x197527=_0x43d680;return _0x197527(0xeb)+(0x0,colors_1['cyan'])(_0x3cfc56);},'errorStartUrlNotReachable':_0x1e3ec0=>_0x43d680(0x10a)+_0x1e3ec0+'\x20can\x20not\x20be\x20accessible.'+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x43d680(0xf7)])((0x0,colors_1[_0x43d680(0xe7)])('WARNING:\x20'))+'Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible'+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+_0x43d680(0x101)+_0x43d680(0xf4)+(0x0,colors_1[_0x43d680(0x121)])(_0x43d680(0x110)),'promptIconUrl':_0x43d680(0x107),'errorInvalidUrl':_0x41a261=>{return'Invalid\x20URL:\x20'+_0x41a261;},'errorUrlMustBeImage':_0xd89f7b=>{const _0x4ff9a9=_0x43d680;return _0x4ff9a9(0x116)+_0xd89f7b+'.';},'promptVersionCode':_0x43d680(0x10f),'promptVersionName':_0x43d680(0xf8),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x43d680(0x11d)+(0x0,colors_1['green'])(_0x43d680(0xf5))),'messageProjectGeneratedSuccess':_0x43d680(0xf6),'messageSigningKeyCreation':(0x0,colors_1[_0x43d680(0xea)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x53d1dd=>{const _0x591b19=_0x43d680;return _0x591b19(0x111)+_0x53d1dd+_0x591b19(0x109);},'promptCreateKey':'Do\x20you\x20want\x20to\x20create\x20one\x20now?','promptKeyFullName':_0x43d680(0x10d),'promptKeyOrganizationalUnit':_0x43d680(0x10b),'promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x43d680(0xf9),'promptKeystorePassword':_0x43d680(0x10c),'promptKeyPassword':_0x43d680(0xed),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x37c03a,_0x10654a)=>{const _0x165e26=_0x43d680;return _0x165e26(0xf3)+(0x0,colors_1['cyan'])(_0x37c03a)+_0x165e26(0x11f)+(0x0,colors_1[_0x165e26(0x121)])(_0x10654a)+'.\x0a';},'errorMinLength':(_0x224505,_0x363253)=>{const _0x4e8c0a=_0x43d680;return _0x4e8c0a(0xf2)+_0x224505+_0x4e8c0a(0xe4)+_0x363253+'.';},'errorMaxLength':(_0x585b11,_0x269ef2)=>{const _0xd228d1=_0x43d680;return _0xd228d1(0x123)+_0x585b11+_0xd228d1(0xe4)+_0x269ef2+'.';},'errorInvalidInteger':_0x4e2a5b=>{const _0x5c86d6=_0x43d680;return _0x5c86d6(0x120)+_0x4e2a5b;},'messageApkSuccess':_0x29a712=>{const _0x55303f=_0x43d680;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0x55303f(0x121)])(_0x29a712);},'missingUrlToCheck':_0x43d680(0x11a)+(''+(0x0,colors_1[_0x43d680(0x121)])(_0x43d680(0x122)))};function _0x1327(){const _0x1e8043=['defineProperty','1084449eZUrEX','Downloading\x20the\x20JDK\x2011\x20Sources...','225fsaUUO','393399PHvsSE','\x20Check\x20out\x20the\x20Play\x20for','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)','\x20or\x20','\x20URL\x20','1318104IufmbN','Generating\x20Android\x20Project.','Icon\x20URL:','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','\x22.\x0a','URL\x20','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','Password\x20for\x20the\x20Key\x20Store:','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Decompressing\x20the\x20JDK\x2011\x20Sources...','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','https://play.google.com/console/about/families/','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Downloading\x20the\x20JDK\x2011\x20Binaries...','Downloading\x20the\x20Android\x20SDK...','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Decompressing\x20the\x20JDK\x2011\x20Binaries...','https://developer.android.com/studio/terms.html','66384vySlvs','Missing\x20required\x20parameter\x20','Downloading\x20Android\x20SDK\x20to\x20','1405968cyiuxB','\x0aSigning\x20key\x20information\x20','license\x20agreement.','\x20and\x20alias\x20','Invalid\x20integer\x20provided:\x20','cyan','--url','Maximum\x20length\x20is\x20','Path\x20to\x20your\x20existing\x20JDK\x2011:','\x20but\x20input\x20is\x20','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','colors','yellow','743274GzWiDG','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','underline','Invalid\x20icon\x20path:\x20','--manifest-url','Password\x20for\x20the\x20Key:','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','2NDrIvW','531870OxjhQW','messages','Minimum\x20length\x20is\x20','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','(5/5)','\x0aProject\x20generated\x20successfully.','bold','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Country\x20(2\x20letter\x20code):','redirected\x20to\x20','Path\x20to\x20your\x20existing\x20Android\x20SDK:'];_0x1327=function(){return _0x1e8043;};return _0x1327();}
1
+ 'use strict';const _0x4e08e8=_0x1df4;(function(_0x42760f,_0x32089f){const _0x49887c=_0x1df4,_0x1c85a9=_0x42760f();while(!![]){try{const _0x3e3c7d=-parseInt(_0x49887c(0x1af))/0x1*(parseInt(_0x49887c(0x1a0))/0x2)+parseInt(_0x49887c(0x1ab))/0x3+-parseInt(_0x49887c(0x195))/0x4*(-parseInt(_0x49887c(0x1b4))/0x5)+-parseInt(_0x49887c(0x1a4))/0x6+parseInt(_0x49887c(0x1c5))/0x7+parseInt(_0x49887c(0x1b6))/0x8*(-parseInt(_0x49887c(0x1a6))/0x9)+parseInt(_0x49887c(0x1bd))/0xa;if(_0x3e3c7d===_0x32089f)break;else _0x1c85a9['push'](_0x1c85a9['shift']());}catch(_0x4333bb){_0x1c85a9['push'](_0x1c85a9['shift']());}}}(_0xd365,0xc3c28));Object[_0x4e08e8(0x1a9)](exports,'__esModule',{'value':!![]}),exports[_0x4e08e8(0x19a)]=void 0x0;const colors_1=require(_0x4e08e8(0x1b5));exports[_0x4e08e8(0x19a)]={'promptInstallJdk':_0x4e08e8(0x1b8),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x4e08e8(0x198),'messageDecompressJdkBin':'Decompressing\x20the\x20JDK\x2011\x20Binaries...','promptInstallSdk':_0x4e08e8(0x1b2),'promptSdkPath':_0x4e08e8(0x1bc),'messageDownloadSdk':_0x4e08e8(0x1bf),'errorSdkTerms':_0x4e08e8(0x1c0),'promptSdkTerms':'Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20'+(0x0,colors_1[_0x4e08e8(0x1cc)])(_0x4e08e8(0x197))+'?','messageDownloadAndroidSdk':_0x4e08e8(0x192),'messageDecompressAndroidSdk':_0x4e08e8(0x199),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x4e08e8(0x1c4),'messageGeneratingAndroidProject':_0x4e08e8(0x1c3),'messageCheckSuccess':(_0x1f0bf3,_0x3fa3dc)=>{const _0x534d5d=_0x4e08e8;return'\x20URL\x20'+(0x0,colors_1['cyan'])(_0x1f0bf3)+'\x20'+(_0x3fa3dc?_0x534d5d(0x1a7)+(0x0,colors_1['cyan'])(_0x3fa3dc):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x4e08e8(0x1a1)+((0x0,colors_1[_0x4e08e8(0x1be)])('--manifest-url')+_0x4e08e8(0x1b9)+(0x0,colors_1[_0x4e08e8(0x1be)])('--manifest')),'messageInitializingWebManifest':_0xcdb6c2=>{const _0x341ae8=_0x4e08e8;return _0x341ae8(0x1ca)+(0x0,colors_1['cyan'])(_0xcdb6c2);},'messageInitializingLocalManifest':_0x316d5b=>{const _0x343c99=_0x4e08e8;return _0x343c99(0x19b)+(0x0,colors_1['cyan'])(_0x316d5b);},'messageInvalidIcon':_0x199b18=>{const _0x16eacf=_0x4e08e8;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x16eacf(0x1be)])(_0x199b18);},'errorStartUrlNotReachable':_0x25d908=>_0x4e08e8(0x1c1)+_0x25d908+'\x20can\x20not\x20be\x20accessible.'+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x4e08e8(0x1c6)])((0x0,colors_1[_0x4e08e8(0x19c)])(_0x4e08e8(0x1cb)))+_0x4e08e8(0x1b0)+_0x4e08e8(0x1ad)+'\x20Check\x20out\x20the\x20Play\x20for'+_0x4e08e8(0x1a8)+(0x0,colors_1['cyan'])(_0x4e08e8(0x19f)),'promptIconUrl':_0x4e08e8(0x1a5),'errorInvalidUrl':_0x2778f7=>{return'Invalid\x20URL:\x20'+_0x2778f7;},'errorUrlMustBeImage':_0x1ac040=>{const _0x5439ab=_0x4e08e8;return _0x5439ab(0x1c8)+_0x1ac040+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x4e08e8(0x194),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x4e08e8(0x1a3)+(0x0,colors_1[_0x4e08e8(0x196)])(_0x4e08e8(0x1aa))),'messageProjectGeneratedSuccess':_0x4e08e8(0x1ac),'messageSigningKeyCreation':(0x0,colors_1[_0x4e08e8(0x1cc)])(_0x4e08e8(0x1b3)),'messageSigningKeyNotFound':_0x1f94a0=>{const _0xbb4789=_0x4e08e8;return _0xbb4789(0x1b1)+_0x1f94a0+_0xbb4789(0x1ba);},'promptCreateKey':_0x4e08e8(0x1c9),'promptKeyFullName':_0x4e08e8(0x19d),'promptKeyOrganizationalUnit':_0x4e08e8(0x1a2),'promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x4e08e8(0x1ae),'promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':_0x4e08e8(0x1bb),'messageBuildingApp':_0x4e08e8(0x1c2),'messageEnterPasswords':(_0x3f2f30,_0x88a920)=>{const _0xc61560=_0x4e08e8;return _0xc61560(0x19e)+(0x0,colors_1[_0xc61560(0x1be)])(_0x3f2f30)+_0xc61560(0x1c7)+(0x0,colors_1[_0xc61560(0x1be)])(_0x88a920)+'.\x0a';},'errorMinLength':(_0x492c82,_0x15a5a6)=>{const _0x16a73d=_0x4e08e8;return _0x16a73d(0x1b7)+_0x492c82+'\x20but\x20input\x20is\x20'+_0x15a5a6+'.';},'errorMaxLength':(_0x2bb519,_0x406257)=>{return'Maximum\x20length\x20is\x20'+_0x2bb519+'\x20but\x20input\x20is\x20'+_0x406257+'.';},'errorInvalidInteger':_0x4b8281=>{const _0x3a6625=_0x4e08e8;return _0x3a6625(0x193)+_0x4b8281;},'messageApkSuccess':_0x153e86=>{const _0xdbdc63=_0x4e08e8;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0xdbdc63(0x1be)])(_0x153e86);},'missingUrlToCheck':_0x4e08e8(0x1a1)+(''+(0x0,colors_1[_0x4e08e8(0x1be)])('--url'))};function _0x1df4(_0x4ff7a1,_0x468a34){const _0xd365f0=_0xd365();return _0x1df4=function(_0x1df42b,_0x4bff4a){_0x1df42b=_0x1df42b-0x192;let _0x34863b=_0xd365f0[_0x1df42b];return _0x34863b;},_0x1df4(_0x4ff7a1,_0x468a34);}function _0xd365(){const _0x21ccbe=['bold','\x20and\x20alias\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','WARNING:\x20','underline','Downloading\x20the\x20Android\x20SDK...','Invalid\x20integer\x20provided:\x20','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','9420WvDohb','green','https://developer.android.com/studio/terms.html','Downloading\x20the\x20JDK\x2011\x20Binaries...','Decompressing\x20the\x20Android\x20SDK...','messages','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','yellow','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','https://play.google.com/console/about/families/','946874wfiQfK','Missing\x20required\x20parameter\x20','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x0aSigning\x20key\x20information\x20','2861766sqSggD','Icon\x20URL:','36bDbBPu','redirected\x20to\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','defineProperty','(5/5)','2443080mFBGfX','\x0aProject\x20generated\x20successfully.','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Country\x20(2\x20letter\x20code):','2QeskCu','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','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)','\x0aSigning\x20key\x20creation','305wsdFNJ','colors','2362256YdyLKk','Minimum\x20length\x20is\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','\x20or\x20','\x22.\x0a','Password\x20for\x20the\x20Key:','Path\x20to\x20your\x20existing\x20Android\x20SDK:','8967620oIAFfh','cyan','Downloading\x20Android\x20SDK\x20to\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','URL\x20','\x0aBuilding\x20the\x20Android\x20App...','Generating\x20Android\x20Project.','license\x20agreement.','10864126wxHoPK'];_0xd365=function(){return _0x21ccbe;};return _0xd365();}
@@ -1 +1 @@
1
- 'use strict';const _0x43d6cd=_0x5db2;function _0x5db2(_0x10b58f,_0x14c9ce){const _0x32c2e3=_0x32c2();return _0x5db2=function(_0x5db204,_0x17b789){_0x5db204=_0x5db204-0x198;let _0x3d9184=_0x32c2e3[_0x5db204];return _0x3d9184;},_0x5db2(_0x10b58f,_0x14c9ce);}(function(_0x38d9f7,_0x37f594){const _0xa78400=_0x5db2,_0x3bdc7a=_0x38d9f7();while(!![]){try{const _0x2d054d=-parseInt(_0xa78400(0x19b))/0x1*(parseInt(_0xa78400(0x19c))/0x2)+parseInt(_0xa78400(0x1a1))/0x3+-parseInt(_0xa78400(0x1a6))/0x4*(-parseInt(_0xa78400(0x198))/0x5)+-parseInt(_0xa78400(0x19f))/0x6+parseInt(_0xa78400(0x19a))/0x7+-parseInt(_0xa78400(0x1a0))/0x8*(-parseInt(_0xa78400(0x1a4))/0x9)+parseInt(_0xa78400(0x1a5))/0xa*(parseInt(_0xa78400(0x19d))/0xb);if(_0x2d054d===_0x37f594)break;else _0x3bdc7a['push'](_0x3bdc7a['shift']());}catch(_0x5a7052){_0x3bdc7a['push'](_0x3bdc7a['shift']());}}}(_0x32c2,0xa996a));Object['defineProperty'](exports,_0x43d6cd(0x199),{'value':!![]}),exports[_0x43d6cd(0x1a2)]=parseRouter;function _0x32c2(){const _0x45433e=['4620138WJSNdf','53192SpmhvH','841323EfzxYp','parseRouter','pop','63IIAdMQ','3889010LCJwSI','308jGErKv','indexOf','14185KplhNo','__esModule','8371279uSJiFD','371xHcAfy','3588gcbgzF','11vefGKz','replace'];_0x32c2=function(){return _0x45433e;};return _0x32c2();}function parseRouter(_0x2885c5){const _0x4a3e69=_0x43d6cd;let _0x711fcd=_0x2885c5['split']('/');_0x711fcd[_0x4a3e69(0x1a3)]();let _0x1faf72=_0x711fcd['join']();while(_0x1faf72[_0x4a3e69(0x1a7)](',')>=0x0){_0x1faf72=_0x1faf72[_0x4a3e69(0x19e)](',','/');}return _0x1faf72;}
1
+ 'use strict';const _0x398b3d=_0x5668;(function(_0x384f94,_0x388874){const _0xacef36=_0x5668,_0x29358c=_0x384f94();while(!![]){try{const _0x4adef4=parseInt(_0xacef36(0x16b))/0x1+parseInt(_0xacef36(0x168))/0x2+parseInt(_0xacef36(0x166))/0x3*(-parseInt(_0xacef36(0x167))/0x4)+parseInt(_0xacef36(0x16c))/0x5+-parseInt(_0xacef36(0x16f))/0x6*(parseInt(_0xacef36(0x164))/0x7)+parseInt(_0xacef36(0x16d))/0x8+-parseInt(_0xacef36(0x165))/0x9;if(_0x4adef4===_0x388874)break;else _0x29358c['push'](_0x29358c['shift']());}catch(_0x4f7709){_0x29358c['push'](_0x29358c['shift']());}}}(_0x4745,0x1a220));function _0x4745(){const _0x30e4e0=['split','35680nezKaF','593730sXmmQV','1258240XwcYUF','pop','38424VuEaRU','parseRouter','7CYphQR','639855BotOXm','146427VRKNxg','12YIrXiN','38520ncoMfN','defineProperty'];_0x4745=function(){return _0x30e4e0;};return _0x4745();}Object[_0x398b3d(0x169)](exports,'__esModule',{'value':!![]}),exports[_0x398b3d(0x170)]=parseRouter;function _0x5668(_0x2678aa,_0x19e966){const _0x474587=_0x4745();return _0x5668=function(_0x5668ab,_0xd65243){_0x5668ab=_0x5668ab-0x164;let _0x218692=_0x474587[_0x5668ab];return _0x218692;},_0x5668(_0x2678aa,_0x19e966);}function parseRouter(_0x31b1a4){const _0x473f2c=_0x398b3d;let _0x4e1788=_0x31b1a4[_0x473f2c(0x16a)]('/');_0x4e1788[_0x473f2c(0x16e)]();let _0x597a8e=_0x4e1788['join']();while(_0x597a8e['indexOf'](',')>=0x0){_0x597a8e=_0x597a8e['replace'](',','/');}return _0x597a8e;}
@@ -1 +1 @@
1
- 'use strict';const _0x2e8532=_0x3f32;(function(_0x6704f8,_0x2967e7){const _0x8b37d1=_0x3f32,_0x4d9ba1=_0x6704f8();while(!![]){try{const _0x1ebd5c=-parseInt(_0x8b37d1(0x1f0))/0x1+-parseInt(_0x8b37d1(0x209))/0x2*(-parseInt(_0x8b37d1(0x1f8))/0x3)+-parseInt(_0x8b37d1(0x1ff))/0x4+-parseInt(_0x8b37d1(0x1f4))/0x5*(parseInt(_0x8b37d1(0x20d))/0x6)+-parseInt(_0x8b37d1(0x1fe))/0x7*(parseInt(_0x8b37d1(0x1f2))/0x8)+parseInt(_0x8b37d1(0x1ef))/0x9+parseInt(_0x8b37d1(0x1ee))/0xa;if(_0x1ebd5c===_0x2967e7)break;else _0x4d9ba1['push'](_0x4d9ba1['shift']());}catch(_0x13d0cf){_0x4d9ba1['push'](_0x4d9ba1['shift']());}}}(_0x1579,0x69c2e));Object[_0x2e8532(0x1f3)](exports,_0x2e8532(0x1f9),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require(_0x2e8532(0x20b)),xcodeproject_1=require(_0x2e8532(0x1f5)),xcodebuild_1=require(_0x2e8532(0x205)),xcrun_1=require(_0x2e8532(0x1fa)),path_1=require(_0x2e8532(0x203));class XcodeManager{static async['parseProject'](_0x498cf1,_0x860068=![]){const _0x503882=_0x2e8532,_0x3f9c87=resource_1[_0x503882(0x204)]+_0x503882(0x1fb);await xcodeproject_1[_0x503882(0x208)][_0x503882(0x1fc)](_0x3f9c87,_0x498cf1),console['log'](_0x503882(0x1f7));!fs[_0x503882(0x207)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x503882(0x1f1)](resource_1[_0x503882(0x1fd)],{'recursive':!![]});if(!_0x860068)await xcodebuild_1['default']['archive'](_0x498cf1[_0x503882(0x206)]);}static async[_0x2e8532(0x1f6)](_0x5abaea,_0x3d625a){const _0x583b50=_0x2e8532;if(_0x5abaea['u']&&_0x5abaea['p'])xcrun_1[_0x583b50(0x208)][_0x583b50(0x202)]((0x0,path_1[_0x583b50(0x200)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x3d625a[_0x583b50(0x20c)]+_0x583b50(0x20a)),_0x5abaea['u'],_0x5abaea['p'],!![]);else _0x5abaea['k']&&_0x5abaea['i']&&xcrun_1['default'][_0x583b50(0x202)]((0x0,path_1['join'])(resource_1[_0x583b50(0x1fd)],_0x3d625a[_0x583b50(0x20c)]+'.ipa'),_0x5abaea['k'],_0x5abaea['i'],![]);}static async[_0x2e8532(0x201)](_0x370c26){const _0x4c8011=_0x2e8532;await xcrun_1[_0x4c8011(0x208)]['runWithSimulator'](_0x370c26);}}function _0x3f32(_0x2374d9,_0xa4e4a1){const _0x157954=_0x1579();return _0x3f32=function(_0x3f32cf,_0x3cf261){_0x3f32cf=_0x3f32cf-0x1ee;let _0x353e7d=_0x157954[_0x3f32cf];return _0x353e7d;},_0x3f32(_0x2374d9,_0xa4e4a1);}exports['XcodeManager']=XcodeManager;function _0x1579(){const _0x3b26d3=['./xcodebuild','export','existsSync','default','54734ZFUTfW','.ipa','../resource','name','210EOyHAZ','9764700ZQziNC','3170880wsgSik','572818XMmjDn','mkdirSync','4176UwaENp','defineProperty','10325rSCniS','./xcodeproject','upload','write\x20project.pbxproj:\x20ok','75GPHLFU','__esModule','./xcrun','/web-spatial.xcodeproj/project.pbxproj','modify','PROJECT_EXPORT_DIRECTORY','10577UOgrTN','583728cWZzOE','join','runWithSimulator','uploadApp','path','PROJECT_DIRECTORY'];_0x1579=function(){return _0x3b26d3;};return _0x1579();}
1
+ 'use strict';const _0xf591ed=_0x15ab;(function(_0x4d60b8,_0x54ce68){const _0x2317d8=_0x15ab,_0x56f225=_0x4d60b8();while(!![]){try{const _0x3fcd94=parseInt(_0x2317d8(0x138))/0x1*(-parseInt(_0x2317d8(0x131))/0x2)+parseInt(_0x2317d8(0x136))/0x3*(-parseInt(_0x2317d8(0x129))/0x4)+parseInt(_0x2317d8(0x12b))/0x5+-parseInt(_0x2317d8(0x142))/0x6*(-parseInt(_0x2317d8(0x13d))/0x7)+-parseInt(_0x2317d8(0x134))/0x8*(-parseInt(_0x2317d8(0x12f))/0x9)+parseInt(_0x2317d8(0x13b))/0xa*(parseInt(_0x2317d8(0x126))/0xb)+-parseInt(_0x2317d8(0x137))/0xc;if(_0x3fcd94===_0x54ce68)break;else _0x56f225['push'](_0x56f225['shift']());}catch(_0x3073d2){_0x56f225['push'](_0x56f225['shift']());}}}(_0x1e73,0x793a4));Object[_0xf591ed(0x140)](exports,'__esModule',{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x15ab(_0x2729f8,_0x56c389){const _0x1e7338=_0x1e73();return _0x15ab=function(_0x15aba2,_0x52c851){_0x15aba2=_0x15aba2-0x126;let _0x31e237=_0x1e7338[_0x15aba2];return _0x31e237;},_0x15ab(_0x2729f8,_0x56c389);}function _0x1e73(){const _0x1e71ce=['56084MmfPtp','./xcodebuild','uploadApp','defineProperty','log','30SyLPyi','PROJECT_DIRECTORY','PROJECT_EXPORT_DIRECTORY','428615tsIjbL','/web-spatial.xcodeproj/project.pbxproj','upload','8AuhTyV','.ipa','3271350LGNbAr','export','mkdirSync','join','9EsjmCL','name','107952DultUY','default','./xcrun','4254920LihVke','XcodeManager','19119pwkksT','11695740gQlUeK','1zpffPF','runWithSimulator','path','80TDJqmq','archive'];_0x1e73=function(){return _0x1e71ce;};return _0x1e73();}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0xf591ed(0x13e)),xcrun_1=require(_0xf591ed(0x133)),path_1=require(_0xf591ed(0x13a));class XcodeManager{static async['parseProject'](_0x2be710,_0x17af50=![]){const _0x4b981a=_0xf591ed,_0x2a2ba7=resource_1[_0x4b981a(0x143)]+_0x4b981a(0x127);await xcodeproject_1['default']['modify'](_0x2a2ba7,_0x2be710),console[_0x4b981a(0x141)]('write\x20project.pbxproj:\x20ok');!fs['existsSync'](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x4b981a(0x12d)](resource_1[_0x4b981a(0x144)],{'recursive':!![]});if(!_0x17af50)await xcodebuild_1[_0x4b981a(0x132)][_0x4b981a(0x13c)](_0x2be710[_0x4b981a(0x12c)]);}static async[_0xf591ed(0x128)](_0x246cbe,_0x54eb16){const _0x58dc54=_0xf591ed;if(_0x246cbe['u']&&_0x246cbe['p'])xcrun_1[_0x58dc54(0x132)][_0x58dc54(0x13f)]((0x0,path_1[_0x58dc54(0x12e)])(resource_1[_0x58dc54(0x144)],_0x54eb16[_0x58dc54(0x130)]+_0x58dc54(0x12a)),_0x246cbe['u'],_0x246cbe['p'],!![]);else _0x246cbe['k']&&_0x246cbe['i']&&xcrun_1[_0x58dc54(0x132)][_0x58dc54(0x13f)]((0x0,path_1[_0x58dc54(0x12e)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x54eb16[_0x58dc54(0x130)]+_0x58dc54(0x12a)),_0x246cbe['k'],_0x246cbe['i'],![]);}static async['runWithSimulator'](_0x523662){const _0x3f1539=_0xf591ed;await xcrun_1['default'][_0x3f1539(0x139)](_0x523662);}}exports[_0xf591ed(0x135)]=XcodeManager;
@@ -1 +1 @@
1
- export declare const manifestSwiftTemplate = "\nimport Foundation\n\nvar pwaManager = PWAManager()\n\nstruct PWAManager: Codable {\n var isLocal: Bool = false\n var start_url: String = \"START_URL\"\n var scope: String = \"SCOPE\"\n var id: String = \"AppID\"\n\n var name: String = \"AppName\"\n var short_name: String = \"name\"\n var description: String = \"Description\"\n\n var display: PWADisplayMode = .minimal\n var display_override: [PWADisplayMode] = []\n var protocol_handlers: [PWAProtocol] = [PWAProtocol(protocolValue: \"\", url: \"\")]\n var mainScene: WindowContainerOptions = .init(\n defaultSize: .init(\n width: SceneWidth,\n height: SceneHeight\n ),\n resizability: SceneResizability\n )\n var useMainScene: Bool = true\n\n mutating func _init() {\n let urlType = start_url.split(separator: \"://\").first\n if !(urlType == \"http\" || urlType == \"https\") {\n start_url = Bundle.main.url(forResource: start_url, withExtension: \"\", subdirectory: \"\")!.absoluteString\n scope = \"file://\" + Bundle.main.bundlePath + \"/\" + scope\n scope = scope.replacingOccurrences(of: \" \", with: \"%20\")\n isLocal = true\n }\n\n if display_override.count > 0 {\n display = display_override[0]\n }\n\n for i in 0 ... protocol_handlers.count - 1 {\n let item = protocol_handlers[i]\n protocol_handlers[i].updateUrl(scope + item.url)\n }\n }\n\n func checkInScope(url: String) -> Bool {\n return url.starts(with: scope)\n }\n\n // web+spatial://test\n func checkInDeeplink(url: String) -> String {\n var linkUrl: String = url\n for item in protocol_handlers {\n if linkUrl.starts(with: item.protocolValue) {\n let queryString: String = linkUrl.replacingOccurrences(of: item.protocolValue, with: \"\").addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!\n linkUrl = item.url.replacingOccurrences(of: \"%s\", with: item.protocolValue + queryString)\n }\n }\n logger.debug(linkUrl)\n return linkUrl\n }\n \n func getLocalResourceURL(url: String) -> String{\n let path:String = String(url.split(separator: \"file://\").first!.split(separator: \"?\").first!)\n let root:String = String(url.split(separator: \"?\").first!)\n let params = String(url.split(separator: \"file://\" + root).first!)\n var resource:String = Bundle.main.url(forResource: path, withExtension: \"\", subdirectory: \"\")?.absoluteString ?? \"\"\n if resource == \"\" {\n resource = Bundle.main.url(forResource: \"static-web\" + path, withExtension: \"\", subdirectory: \"\")?.absoluteString ?? \"\"\n }\n if resource == \"\" {\n return url\n }\n resource += \"?\" + params\n return resource\n }\n}\n\nenum PWADisplayMode: Codable {\n case minimal\n case standalone\n}\n\nstruct PWAProtocol: Codable {\n var protocolValue: String = \"\"\n var url: String = \"\"\n\n mutating func updateUrl(_ str: String) {\n url = str\n }\n}\n\n";
1
+ export declare const manifestSwiftTemplate = "\nimport Foundation\n\nvar pwaManager = PWAManager()\n\nstruct PWAManager: Codable {\n var isLocal: Bool = false\n var start_url: String = \"START_URL\"\n var scope: String = \"SCOPE\"\n var id: String = \"AppID\"\n\n var name: String = \"AppName\"\n var short_name: String = \"name\"\n var description: String = \"Description\"\n\n var display: PWADisplayMode = .minimal\n var display_override: [PWADisplayMode] = []\n var protocol_handlers: [PWAProtocol] = [PWAProtocol(protocolValue: \"\", url: \"\")]\n var mainScene: WindowContainerOptions = .init(\n defaultSize: .init(\n width: SceneWidth,\n height: SceneHeight\n ),\n resizability: SceneResizability\n )\n var useMainScene: Bool = USE_MAIN_SCENE\n\n mutating func _init() {\n let urlType = start_url.split(separator: \"://\").first\n if !(urlType == \"http\" || urlType == \"https\") {\n start_url = Bundle.main.url(forResource: start_url, withExtension: \"\", subdirectory: \"\")!.absoluteString\n scope = \"file://\" + Bundle.main.bundlePath + \"/\" + scope\n scope = scope.replacingOccurrences(of: \" \", with: \"%20\")\n isLocal = true\n }\n\n if display_override.count > 0 {\n display = display_override[0]\n }\n\n for i in 0 ... protocol_handlers.count - 1 {\n let item = protocol_handlers[i]\n protocol_handlers[i].updateUrl(scope + item.url)\n }\n }\n\n func checkInScope(url: String) -> Bool {\n return url.starts(with: scope)\n }\n\n // web+spatial://test\n func checkInDeeplink(url: String) -> String {\n var linkUrl: String = url\n for item in protocol_handlers {\n if linkUrl.starts(with: item.protocolValue) {\n let queryString: String = linkUrl.replacingOccurrences(of: item.protocolValue, with: \"\").addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)!\n linkUrl = item.url.replacingOccurrences(of: \"%s\", with: item.protocolValue + queryString)\n }\n }\n logger.debug(linkUrl)\n return linkUrl\n }\n \n func getLocalResourceURL(url: String) -> String{\n let path:String = String(url.split(separator: \"file://\").first!.split(separator: \"?\").first!)\n let root:String = String(url.split(separator: \"?\").first!)\n let params = String(url.split(separator: \"file://\" + root).first!)\n var resource:String = Bundle.main.url(forResource: path, withExtension: \"\", subdirectory: \"\")?.absoluteString ?? \"\"\n if resource == \"\" {\n resource = Bundle.main.url(forResource: \"static-web\" + path, withExtension: \"\", subdirectory: \"\")?.absoluteString ?? \"\"\n }\n if resource == \"\" {\n return url\n }\n resource += \"?\" + params\n return resource\n }\n}\n\nenum PWADisplayMode: Codable {\n case minimal\n case standalone\n}\n\nstruct PWAProtocol: Codable {\n var protocolValue: String = \"\"\n var url: String = \"\"\n\n mutating func updateUrl(_ str: String) {\n url = str\n }\n}\n\n";
@@ -1 +1 @@
1
- 'use strict';var _0x1af3c0=_0x32dc;function _0x2426(){var _0x30295e=['73927wPHqUJ','5xfavoS','2913310ixgtQb','190viqldY','5255968ZNxDNt','manifestSwiftTemplate','1094LnloJl','defineProperty','__esModule','300rrffkX','9FIwFpT','64163KGfnRj','228XGPQXQ','365940cLUUAf','812703pCyPOL','\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=\x20true\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'];_0x2426=function(){return _0x30295e;};return _0x2426();}(function(_0x108367,_0x3a3c9e){var _0x5ac62f=_0x32dc,_0x32dc03=_0x108367();while(!![]){try{var _0xd4e979=parseInt(_0x5ac62f(0x6c))/0x1*(-parseInt(_0x5ac62f(0x79))/0x2)+parseInt(_0x5ac62f(0x74))/0x3+parseInt(_0x5ac62f(0x73))/0x4*(-parseInt(_0x5ac62f(0x77))/0x5)+parseInt(_0x5ac62f(0x72))/0x6*(-parseInt(_0x5ac62f(0x76))/0x7)+-parseInt(_0x5ac62f(0x6a))/0x8*(-parseInt(_0x5ac62f(0x70))/0x9)+parseInt(_0x5ac62f(0x78))/0xa+-parseInt(_0x5ac62f(0x71))/0xb*(parseInt(_0x5ac62f(0x6f))/0xc);if(_0xd4e979===_0x3a3c9e)break;else _0x32dc03['push'](_0x32dc03['shift']());}catch(_0x524e8f){_0x32dc03['push'](_0x32dc03['shift']());}}}(_0x2426,0x745fe));function _0x32dc(_0x238ab9,_0x272713){var _0x2426d0=_0x2426();return _0x32dc=function(_0x32dcc6,_0x4688ce){_0x32dcc6=_0x32dcc6-0x6a;var _0x19eac1=_0x2426d0[_0x32dcc6];return _0x19eac1;},_0x32dc(_0x238ab9,_0x272713);}Object[_0x1af3c0(0x6d)](exports,_0x1af3c0(0x6e),{'value':!![]}),exports[_0x1af3c0(0x6b)]=void 0x0,exports['manifestSwiftTemplate']=_0x1af3c0(0x75);
1
+ 'use strict';var _0x1775f0=_0x2d0e;(function(_0x437e8c,_0x5081e6){var _0x530d19=_0x2d0e,_0x5272f9=_0x437e8c();while(!![]){try{var _0x23b0b1=-parseInt(_0x530d19(0xe5))/0x1*(-parseInt(_0x530d19(0xe9))/0x2)+-parseInt(_0x530d19(0xeb))/0x3*(parseInt(_0x530d19(0xee))/0x4)+parseInt(_0x530d19(0xf1))/0x5+-parseInt(_0x530d19(0xf2))/0x6*(-parseInt(_0x530d19(0xe8))/0x7)+-parseInt(_0x530d19(0xf0))/0x8+-parseInt(_0x530d19(0xe6))/0x9*(parseInt(_0x530d19(0xec))/0xa)+parseInt(_0x530d19(0xea))/0xb;if(_0x23b0b1===_0x5081e6)break;else _0x5272f9['push'](_0x5272f9['shift']());}catch(_0x2c12d9){_0x5272f9['push'](_0x5272f9['shift']());}}}(_0xe11d,0xb1106));function _0x2d0e(_0x3b9f29,_0x38cb1a){var _0xe11d10=_0xe11d();return _0x2d0e=function(_0x2d0e90,_0x2a352a){_0x2d0e90=_0x2d0e90-0xe5;var _0x2e17d6=_0xe11d10[_0x2d0e90];return _0x2e17d6;},_0x2d0e(_0x3b9f29,_0x38cb1a);}Object[_0x1775f0(0xe7)](exports,_0x1775f0(0xed),{'value':!![]}),exports[_0x1775f0(0xef)]=void 0x0,exports[_0x1775f0(0xef)]='\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 _0xe11d(){var _0x36dfcf=['1889190CkPqtB','5748beiQmG','6VOKOOW','18ZxvKAJ','defineProperty','3619iuiqhb','266486MSjjEP','26856687HiCfga','543JCTnJu','6603630uLcLMd','__esModule','14648tyYNCK','manifestSwiftTemplate','11242376WJKUMJ'];_0xe11d=function(){return _0x36dfcf;};return _0xe11d();}
@@ -1 +1 @@
1
- 'use strict';const _0x46d3c5=_0x2b97;(function(_0x5967f6,_0x476db8){const _0xda2712=_0x2b97,_0x509d0e=_0x5967f6();while(!![]){try{const _0x54ed81=-parseInt(_0xda2712(0xb1))/0x1+-parseInt(_0xda2712(0xc8))/0x2*(-parseInt(_0xda2712(0xdc))/0x3)+-parseInt(_0xda2712(0xda))/0x4+parseInt(_0xda2712(0xca))/0x5*(-parseInt(_0xda2712(0xd2))/0x6)+parseInt(_0xda2712(0xc9))/0x7+-parseInt(_0xda2712(0xb7))/0x8+parseInt(_0xda2712(0xd5))/0x9*(parseInt(_0xda2712(0xb0))/0xa);if(_0x54ed81===_0x476db8)break;else _0x509d0e['push'](_0x509d0e['shift']());}catch(_0x51ae85){_0x509d0e['push'](_0x509d0e['shift']());}}}(_0x427c,0x76035));function _0x427c(){const _0x2cb715=['../resource','74nzpOKB','533099qPkZlN','5TNITys','PROJECT_DIRECTORY','./pack','join','PROJECT_EXPORT_DIRECTORY','mkdirSync','list','line','1643286CZfgiM','XcodebuildCMD','\x20-scheme\x20','18VirlZC','\x20-destination\x20\x27','allowProvisioningUpdates','\x20-allowProvisioningUpdates','project','1570436xZhUKr','web-spatial','19821mKyHuJ','destination','clean','\x20-archivePath\x20','xcodebuild','existsSync','4568930zIkLtW','77774dMvnhG','toString','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-list','\x20-exportArchive\x20-archivePath\x20','ExportOptions.plist','54056bXeYJw','PROJECT_BUILD_DIRECTORY','child_process','output','EXPORT\x20SUCCEEDED','defineProperty','\x20clean','copyDir','\x20archive','../resource/file','\x20-exportPath\x20','scheme','log','__esModule','pack.xcarchive','archive'];_0x427c=function(){return _0x2cb715;};return _0x427c();}Object[_0x46d3c5(0xbc)](exports,_0x46d3c5(0xc4),{'value':!![]}),exports[_0x46d3c5(0xd3)]=void 0x0;function _0x2b97(_0x741c95,_0x580d06){const _0x427c18=_0x427c();return _0x2b97=function(_0x2b970f,_0x305fcf){_0x2b970f=_0x2b970f-0xac;let _0x16ee40=_0x427c18[_0x2b970f];return _0x16ee40;},_0x2b97(_0x741c95,_0x580d06);}const fs=require('fs'),path_1=require('path'),resource_1=require(_0x46d3c5(0xc7)),semver_1=require('semver'),file_1=require(_0x46d3c5(0xc0)),{execSync,exec}=require(_0x46d3c5(0xb9));class Xcodebuild{static async[_0x46d3c5(0xd9)](){const _0x318f9a=_0x46d3c5;try{await new Promise((_0x4ba206,_0xccd9c)=>{const _0x185718=_0x2b97,_0x21eee0=resource_1[_0x185718(0xcb)]+'/web-spatial.xcodeproj',_0x5bb26a=execSync(new XcodebuildCMD()[_0x185718(0xd9)](_0x21eee0)[_0x185718(0xd0)]()[_0x185718(0xd1)]);console[_0x185718(0xc3)](_0x5bb26a[_0x185718(0xb2)]()),_0x4ba206(_0x5bb26a);});}catch(_0x3c5795){console[_0x318f9a(0xc3)](_0x3c5795);}}static async['list'](){const _0x15fbee=_0x46d3c5;try{await new Promise((_0x1b66bb,_0x31c19f)=>{const _0x2aba87=_0x2b97,_0x3ab537=resource_1[_0x2aba87(0xcb)]+'/web-spatial.xcodeproj',_0x3f1976=execSync(new XcodebuildCMD()[_0x2aba87(0xd9)](_0x3ab537)[_0x2aba87(0xd0)]()['line']);console[_0x2aba87(0xc3)](_0x3f1976[_0x2aba87(0xb2)]()),_0x1b66bb(_0x3f1976);});}catch(_0x1230fb){console[_0x15fbee(0xc3)](_0x1230fb);}}static async[_0x46d3c5(0xc6)](_0x1e04e6){const _0x593f97=_0x46d3c5;try{return console['log']('start\x20archive'),!fs[_0x593f97(0xaf)](resource_1[_0x593f97(0xce)])&&fs[_0x593f97(0xcf)](resource_1[_0x593f97(0xce)],{'recursive':!![]}),await new Promise((_0x53d495,_0x38ee2c)=>{const _0x4b11e0=_0x593f97,_0x23c859=resource_1['PROJECT_DIRECTORY']+'/web-spatial.xcodeproj',_0x3df410=execSync(new XcodebuildCMD()['project'](_0x23c859)[_0x4b11e0(0xc2)](_0x4b11e0(0xdb))['archive']((0x0,path_1[_0x4b11e0(0xcd)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x4b11e0(0xcc)))[_0x4b11e0(0xac)]()['line']);let _0x4765f7=_0x3df410[_0x4b11e0(0xb2)]();if(_0x4765f7['indexOf']('ARCHIVE\x20SUCCEEDED')>0x0){console[_0x4b11e0(0xc3)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console[_0x4b11e0(0xc3)]('start\x20export');const _0xeea92d=execSync(new XcodebuildCMD()[_0x4b11e0(0xba)]((0x0,path_1[_0x4b11e0(0xcd)])(resource_1[_0x4b11e0(0xb8)],_0x4b11e0(0xc5)),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1[_0x4b11e0(0xcd)])(resource_1[_0x4b11e0(0xb8)],_0x4b11e0(0xb6)))[_0x4b11e0(0xd7)]()[_0x4b11e0(0xd1)]);_0x4765f7=_0xeea92d[_0x4b11e0(0xb2)]();if(_0x4765f7['indexOf'](_0x4b11e0(0xbb))>0x0){if(_0x1e04e6){const _0x1d2916=(0x0,path_1['join'])(process['cwd'](),_0x1e04e6);!fs[_0x4b11e0(0xaf)](_0x1d2916)&&fs[_0x4b11e0(0xcf)](_0x1d2916,{'recursive':!![]}),(0x0,file_1[_0x4b11e0(0xbe)])(resource_1[_0x4b11e0(0xce)],_0x1d2916);}console[_0x4b11e0(0xc3)](_0x4b11e0(0xb3)),_0x53d495(!![]);}(0x0,semver_1[_0x4b11e0(0xac)])(resource_1[_0x4b11e0(0xb8)]);}_0x53d495(![]);});}catch(_0x266ab0){console[_0x593f97(0xc3)](_0x266ab0);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x282586=_0x46d3c5;this['line']=_0x282586(0xae);}[_0x46d3c5(0xd9)](_0x35fc4b){const _0x20a992=_0x46d3c5;return this[_0x20a992(0xd1)]+='\x20-project\x20'+_0x35fc4b,this;}[_0x46d3c5(0xd0)](){const _0x598714=_0x46d3c5;return this[_0x598714(0xd1)]+=_0x598714(0xb4),this;}['scheme'](_0x4c6709){const _0x27f392=_0x46d3c5;return this['line']+=_0x27f392(0xd4)+_0x4c6709,this;}[_0x46d3c5(0xc6)](_0x4f2083){const _0x2dabbc=_0x46d3c5;return this[_0x2dabbc(0xd1)]+=_0x2dabbc(0xad)+_0x4f2083+_0x2dabbc(0xbf),this;}['allowProvisioningUpdates'](){const _0x5234e1=_0x46d3c5;return this[_0x5234e1(0xd1)]+=_0x5234e1(0xd8),this;}[_0x46d3c5(0xdd)](_0x4d2741){const _0x3f7133=_0x46d3c5;return this[_0x3f7133(0xd1)]+=_0x3f7133(0xd6)+_0x4d2741+'\x27',this;}[_0x46d3c5(0xba)](_0xd5441c,_0x1d8188,_0x383e8c){const _0x183471=_0x46d3c5;return this['line']+=_0x183471(0xb5)+_0xd5441c+_0x183471(0xc1)+_0x1d8188+'\x20-exportOptionsPlist\x20'+_0x383e8c,this;}[_0x46d3c5(0xac)](){const _0x3a12ee=_0x46d3c5;return this[_0x3a12ee(0xd1)]+=_0x3a12ee(0xbd),this;}}exports['XcodebuildCMD']=XcodebuildCMD;
1
+ 'use strict';const _0x47435c=_0x142d;function _0x142d(_0x12028a,_0x4da3df){const _0x4c0e8c=_0x4c0e();return _0x142d=function(_0x142dda,_0x2a4485){_0x142dda=_0x142dda-0x9b;let _0x324789=_0x4c0e8c[_0x142dda];return _0x324789;},_0x142d(_0x12028a,_0x4da3df);}(function(_0x478193,_0x2989e6){const _0x1781bb=_0x142d,_0x5eb279=_0x478193();while(!![]){try{const _0x1d41a6=-parseInt(_0x1781bb(0xbb))/0x1*(parseInt(_0x1781bb(0xaa))/0x2)+parseInt(_0x1781bb(0xa8))/0x3*(-parseInt(_0x1781bb(0x9d))/0x4)+-parseInt(_0x1781bb(0xb7))/0x5+-parseInt(_0x1781bb(0xb3))/0x6+parseInt(_0x1781bb(0xca))/0x7+parseInt(_0x1781bb(0xb1))/0x8*(-parseInt(_0x1781bb(0xa4))/0x9)+parseInt(_0x1781bb(0xbd))/0xa;if(_0x1d41a6===_0x2989e6)break;else _0x5eb279['push'](_0x5eb279['shift']());}catch(_0x38b6d3){_0x5eb279['push'](_0x5eb279['shift']());}}}(_0x4c0e,0x22c5a));function _0x4c0e(){const _0x44635d=['mkdirSync','pack.xcarchive','\x20-destination\x20\x27','171206UzVdQz','line','8457530gztzha','../resource/file','web-spatial','PROJECT_EXPORT_DIRECTORY','__esModule','existsSync','copyDir','\x20-scheme\x20','path','\x20archive','cwd','toString','ExportOptions.plist','831740PQIWTt','\x20clean','PROJECT_DIRECTORY','list','\x20-exportOptionsPlist\x20','ARCHIVE\x20SUCCEEDED','/web-spatial.xcodeproj','1908WDLHsk','./pack','PROJECT_BUILD_DIRECTORY','output','log','scheme','semver','14283vQxVqV','archive','destination','clean','138vQImXP','project','2FRSMyJ','indexOf','../resource','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','\x20-archivePath\x20','\x20-allowProvisioningUpdates','start\x20archive','1232XGwPNB','join','1289532OebAgS','defineProperty','allowProvisioningUpdates','XcodebuildCMD','848395UuYClW'];_0x4c0e=function(){return _0x44635d;};return _0x4c0e();}Object[_0x47435c(0xb4)](exports,_0x47435c(0xc1),{'value':!![]}),exports[_0x47435c(0xb6)]=void 0x0;const fs=require('fs'),path_1=require(_0x47435c(0xc5)),resource_1=require(_0x47435c(0xac)),semver_1=require(_0x47435c(0xa3)),file_1=require(_0x47435c(0xbe)),{execSync,exec}=require('child_process');class Xcodebuild{static async['project'](){const _0x16ad31=_0x47435c;try{await new Promise((_0x471fa7,_0x583e74)=>{const _0x33cb6b=_0x142d,_0x3d6682=resource_1[_0x33cb6b(0xcc)]+'/web-spatial.xcodeproj',_0x58d19c=execSync(new XcodebuildCMD()[_0x33cb6b(0xa9)](_0x3d6682)[_0x33cb6b(0xcd)]()[_0x33cb6b(0xbc)]);console[_0x33cb6b(0xa1)](_0x58d19c[_0x33cb6b(0xc8)]()),_0x471fa7(_0x58d19c);});}catch(_0x10b877){console[_0x16ad31(0xa1)](_0x10b877);}}static async[_0x47435c(0xcd)](){const _0x4d4af3=_0x47435c;try{await new Promise((_0x404f38,_0x3d836a)=>{const _0x22ba31=_0x142d,_0x3ede48=resource_1[_0x22ba31(0xcc)]+_0x22ba31(0x9c),_0x32a1fc=execSync(new XcodebuildCMD()[_0x22ba31(0xa9)](_0x3ede48)[_0x22ba31(0xcd)]()[_0x22ba31(0xbc)]);console[_0x22ba31(0xa1)](_0x32a1fc[_0x22ba31(0xc8)]()),_0x404f38(_0x32a1fc);});}catch(_0x34a347){console[_0x4d4af3(0xa1)](_0x34a347);}}static async['archive'](_0x4ced9c){const _0x36ab86=_0x47435c;try{return console['log'](_0x36ab86(0xb0)),!fs[_0x36ab86(0xc2)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x36ab86(0xb8)](resource_1[_0x36ab86(0xc0)],{'recursive':!![]}),await new Promise((_0x2cdbcd,_0x10f86d)=>{const _0x59e4cc=_0x36ab86,_0x45dc5d=resource_1['PROJECT_DIRECTORY']+_0x59e4cc(0x9c),_0x5891f8=execSync(new XcodebuildCMD()[_0x59e4cc(0xa9)](_0x45dc5d)[_0x59e4cc(0xa2)](_0x59e4cc(0xbf))['archive']((0x0,path_1['join'])(resource_1[_0x59e4cc(0x9f)],_0x59e4cc(0x9e)))[_0x59e4cc(0xa7)]()['line']);let _0xa71d3c=_0x5891f8[_0x59e4cc(0xc8)]();if(_0xa71d3c[_0x59e4cc(0xab)](_0x59e4cc(0x9b))>0x0){console[_0x59e4cc(0xa1)](_0x59e4cc(0xad)),console[_0x59e4cc(0xa1)]('start\x20export');const _0x83626=execSync(new XcodebuildCMD()[_0x59e4cc(0xa0)]((0x0,path_1[_0x59e4cc(0xb2)])(resource_1[_0x59e4cc(0x9f)],_0x59e4cc(0xb9)),resource_1[_0x59e4cc(0xc0)],(0x0,path_1['join'])(resource_1[_0x59e4cc(0x9f)],_0x59e4cc(0xc9)))['allowProvisioningUpdates']()['line']);_0xa71d3c=_0x83626[_0x59e4cc(0xc8)]();if(_0xa71d3c['indexOf']('EXPORT\x20SUCCEEDED')>0x0){if(_0x4ced9c){const _0x32b289=(0x0,path_1[_0x59e4cc(0xb2)])(process[_0x59e4cc(0xc7)](),_0x4ced9c);!fs[_0x59e4cc(0xc2)](_0x32b289)&&fs[_0x59e4cc(0xb8)](_0x32b289,{'recursive':!![]}),(0x0,file_1[_0x59e4cc(0xc3)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x32b289);}console[_0x59e4cc(0xa1)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x2cdbcd(!![]);}(0x0,semver_1[_0x59e4cc(0xa7)])(resource_1[_0x59e4cc(0x9f)]);}_0x2cdbcd(![]);});}catch(_0x2a67c8){console[_0x36ab86(0xa1)](_0x2a67c8);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){this['line']='xcodebuild';}[_0x47435c(0xa9)](_0x5ceeb0){const _0x152938=_0x47435c;return this[_0x152938(0xbc)]+='\x20-project\x20'+_0x5ceeb0,this;}[_0x47435c(0xcd)](){const _0x2be521=_0x47435c;return this[_0x2be521(0xbc)]+='\x20-list',this;}['scheme'](_0x1bb356){const _0x34daa9=_0x47435c;return this[_0x34daa9(0xbc)]+=_0x34daa9(0xc4)+_0x1bb356,this;}[_0x47435c(0xa5)](_0x3fdbbf){const _0x3d1571=_0x47435c;return this['line']+=_0x3d1571(0xae)+_0x3fdbbf+_0x3d1571(0xc6),this;}[_0x47435c(0xb5)](){const _0x47f6ee=_0x47435c;return this[_0x47f6ee(0xbc)]+=_0x47f6ee(0xaf),this;}[_0x47435c(0xa6)](_0x1b4562){const _0x2f0160=_0x47435c;return this['line']+=_0x2f0160(0xba)+_0x1b4562+'\x27',this;}[_0x47435c(0xa0)](_0x44b866,_0xae9cdd,_0x30c437){const _0x5485c3=_0x47435c;return this[_0x5485c3(0xbc)]+='\x20-exportArchive\x20-archivePath\x20'+_0x44b866+'\x20-exportPath\x20'+_0xae9cdd+_0x5485c3(0xce)+_0x30c437,this;}[_0x47435c(0xa7)](){const _0x3f2b49=_0x47435c;return this[_0x3f2b49(0xbc)]+=_0x3f2b49(0xcb),this;}}exports[_0x47435c(0xb6)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x4aa411=_0x29c6;(function(_0x39078a,_0x1b28e4){const _0x5c9a34=_0x29c6,_0x20a4f1=_0x39078a();while(!![]){try{const _0x122427=-parseInt(_0x5c9a34(0x12e))/0x1+-parseInt(_0x5c9a34(0x157))/0x2*(parseInt(_0x5c9a34(0x10f))/0x3)+parseInt(_0x5c9a34(0x147))/0x4+-parseInt(_0x5c9a34(0x123))/0x5*(-parseInt(_0x5c9a34(0x158))/0x6)+parseInt(_0x5c9a34(0x15b))/0x7*(parseInt(_0x5c9a34(0x15a))/0x8)+parseInt(_0x5c9a34(0x13e))/0x9*(-parseInt(_0x5c9a34(0x146))/0xa)+parseInt(_0x5c9a34(0x15e))/0xb*(-parseInt(_0x5c9a34(0x12a))/0xc);if(_0x122427===_0x1b28e4)break;else _0x20a4f1['push'](_0x20a4f1['shift']());}catch(_0x3925c7){_0x20a4f1['push'](_0x20a4f1['shift']());}}}(_0x5f38,0xe7f0b));function _0x29c6(_0x25147b,_0xbcbf81){const _0x5f38e4=_0x5f38();return _0x29c6=function(_0x29c692,_0x262d65){_0x29c692=_0x29c692-0x10d;let _0x3c7628=_0x5f38e4[_0x29c692];return _0x3c7628;},_0x29c6(_0x25147b,_0xbcbf81);}Object[_0x4aa411(0x11c)](exports,_0x4aa411(0x170),{'value':!![]});const fs=require('fs'),resource_1=require(_0x4aa411(0x16d)),path_1=require(_0x4aa411(0x150)),load_1=require(_0x4aa411(0x131)),imageHelper_1=require(_0x4aa411(0x167)),manifestSwiftTemplate_1=require(_0x4aa411(0x113)),xcode=require('xcode'),exportOptionsXML=_0x4aa411(0x16a),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';function _0x5f38(){const _0x56d182=['app-store-connect','5nkmsfr','split','</string>','SceneResizability','START_URL','project','description','13876116nZDDIP','writeFileSync','PRODUCT_BUNDLE_IDENTIFIER','debugging','100598dugLoi','protocol_handlers','PWAProtocol(protocolValue:\x20\x22','../resource/load','SceneHeight','bindIcon','enterprise','scope','stringify','minimal-ui','Contents.json','icon.png','loadJsonFromDisk','buildConfigurationList','defaultSize','push','1089WCKWbu','DEEPLINK','existsSync','getMIME','updateDeeplink','length','updateProductName','manifestInfo','71210sBhcMW','3572588YaYvmF','SCOPE','updateVersion','default','updateExportOptions','modifySwift','.minimal','version','release-testing','path','image/','./web-spatial/libs/webView/manifest.swift','PROJECT_BUILD_DIRECTORY','DEVELOPMENT_TEAM','mainScene','AppName','591106ESQTZq','8661252nwsuzg','updateTeamId','10584208fsRAdY','7psaUhB','writeAsync','protocol','11mivcmp','width','display','join','json','images','updateBuildProperty','BACK_APPICON_DIRECTORY','1.0','../resource/imageHelper','\x22,\x20url:\x20\x22','writeSync','<?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>','modify','filename','../resource','PROJECT_DIRECTORY','value','__esModule','buildSettings','replace','teamId','6YzrtJu','includes','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','ImageHelper','./manifestSwiftTemplate','log','manifestSwiftTemplate','bindManifestInfo','objects','<string>','AppID','pbxGroupByName','ExportOptions.plist','defineProperty','BUILDTYPE','icon','buildType','name','fixProjectFunction'];_0x5f38=function(){return _0x56d182;};return _0x5f38();}class XcodeProject{static async[_0x4aa411(0x16b)](_0xf3892,_0x340bb3){const _0x412e2e=_0x4aa411;let _0x41c3d5=xcode[_0x412e2e(0x128)](_0xf3892);this[_0x412e2e(0x121)](_0x41c3d5),_0x41c3d5['parseSync']();let _0x151806=_0x340bb3[_0x412e2e(0x11f)];const _0x5749ba=[_0x412e2e(0x14f),_0x412e2e(0x122),_0x412e2e(0x12d),_0x412e2e(0x134)];useExportOptionsXML=exportOptionsXML[_0x412e2e(0x10d)](_0x412e2e(0x11d),_0x5749ba[_0x412e2e(0x110)](_0x151806)?_0x151806:'release-testing');_0x340bb3[_0x412e2e(0x10e)]&&this[_0x412e2e(0x159)](_0x41c3d5,_0x340bb3[_0x412e2e(0x10e)]);this[_0x412e2e(0x14b)](),await this[_0x412e2e(0x133)](_0x340bb3[_0x412e2e(0x11e)]),this[_0x412e2e(0x116)](_0x41c3d5,_0x340bb3[_0x412e2e(0x145)][_0x412e2e(0x162)]);_0x340bb3[_0x412e2e(0x14e)]?this['updateVersion'](_0x41c3d5,_0x340bb3[_0x412e2e(0x14e)]):this[_0x412e2e(0x149)](_0x41c3d5,_0x412e2e(0x166));try{fs['writeFileSync'](_0xf3892,_0x41c3d5[_0x412e2e(0x169)]());}catch(_0x18a341){console[_0x412e2e(0x114)](_0x18a341);}}static['fixProjectFunction'](_0x3d920c){const _0x54b9c4=_0x4aa411;_0x3d920c[_0x54b9c4(0x11a)]=function(_0xfa20e2){const _0x5f39a=_0x54b9c4;var _0x9fe67b=this['hash'][_0x5f39a(0x128)][_0x5f39a(0x117)]['PBXGroup'],_0x2e9b2a,_0x2ac1a4;for(_0x2e9b2a in _0x9fe67b){if(!/_comment$/['test'](_0x2e9b2a))continue;if(_0x9fe67b[_0x2e9b2a]==_0xfa20e2)return _0x2ac1a4=_0x2e9b2a[_0x5f39a(0x124)](/_comment$/)[0x0],_0x9fe67b[_0x2ac1a4];}return![];},_0x3d920c[_0x54b9c4(0x164)]=function(_0x1794fb,_0x216acf,_0x2cbb1c,_0x2625c5){const _0x107443=_0x54b9c4;let _0x2cef62=[];const _0x304ebb=/_comment$/;if(_0x2625c5){const _0x320864=this['pbxTargetByName'](_0x2625c5),_0x3a9104=_0x320864&&_0x320864[_0x107443(0x13b)],_0x48e08b=this['pbxXCConfigurationList']();for(const _0x3d5454 in _0x48e08b){if(!_0x304ebb['test'](_0x3d5454)&&_0x3a9104===_0x3d5454){const _0x2f7733=_0x48e08b[_0x3d5454]['buildConfigurations'];for(const _0x2ded9d of _0x2f7733){_0x2cef62[_0x107443(0x13d)](_0x2ded9d[_0x107443(0x16f)]);}break;}}}var _0x34f867=this['pbxXCBuildConfigurationSection']();for(var _0x19ec3d in _0x34f867){if(!_0x304ebb['test'](_0x19ec3d)){if(_0x2625c5&&!_0x2cef62[_0x107443(0x110)](_0x19ec3d))continue;var _0x6a641a=_0x34f867[_0x19ec3d];(_0x2cbb1c&&_0x6a641a['name']===_0x2cbb1c||!_0x2cbb1c)&&_0x6a641a[_0x107443(0x171)][_0x1794fb]&&(_0x6a641a[_0x107443(0x171)][_0x1794fb]=_0x216acf);}}};}static async[_0x4aa411(0x133)](_0x16a241){const _0x15c9b3=_0x4aa411;if(_0x16a241){const _0x27fa26=(0x0,path_1[_0x15c9b3(0x161)])(resource_1[_0x15c9b3(0x16e)],resource_1[_0x15c9b3(0x165)]),_0x4746bd=(0x0,path_1[_0x15c9b3(0x161)])(_0x27fa26,_0x15c9b3(0x138)),_0x38ba87='icon.'+_0x16a241[_0x15c9b3(0x141)]()[_0x15c9b3(0x10d)](_0x15c9b3(0x151),''),_0xca9ec5=(0x0,path_1[_0x15c9b3(0x161)])(_0x27fa26,_0x38ba87);let _0x28664c=await(0x0,load_1['loadJsonFromDisk'])(_0x4746bd);_0x28664c[_0x15c9b3(0x163)][0x0]['filename']=_0x38ba87,await _0x16a241[_0x15c9b3(0x15c)](_0xca9ec5),await fs[_0x15c9b3(0x12b)](_0x4746bd,JSON[_0x15c9b3(0x136)](_0x28664c));const _0x4e569a=(0x0,path_1[_0x15c9b3(0x161)])(resource_1[_0x15c9b3(0x16e)],resource_1['MIDDLE_APPICON_DIRECTORY']),_0x2d2b8a=(0x0,path_1[_0x15c9b3(0x161)])(_0x4e569a,_0x15c9b3(0x138)),_0x3a3e82=_0x15c9b3(0x139),_0x280221=(0x0,path_1[_0x15c9b3(0x161)])(_0x4e569a,_0x3a3e82);let _0x5e9314=await(0x0,load_1[_0x15c9b3(0x13a)])(_0x2d2b8a),_0x5cefb9=imageHelper_1[_0x15c9b3(0x112)]['createImg'](0x200);_0x5e9314[_0x15c9b3(0x163)][0x0][_0x15c9b3(0x16c)]=_0x3a3e82,await _0x5cefb9[_0x15c9b3(0x15c)](_0x280221),await fs[_0x15c9b3(0x12b)](_0x2d2b8a,JSON[_0x15c9b3(0x136)](_0x5e9314));}}static[_0x4aa411(0x159)](_0x479927,_0x4c65b9){const _0x1079ce=_0x4aa411;_0x479927[_0x1079ce(0x164)](_0x1079ce(0x154),_0x4c65b9),useExportOptionsXML=useExportOptionsXML[_0x1079ce(0x10d)]('YOURTEAMID',_0x4c65b9);}static['updateExportOptions'](){const _0x127d11=_0x4aa411;!fs[_0x127d11(0x140)](resource_1[_0x127d11(0x153)])&&fs['mkdirSync'](resource_1[_0x127d11(0x153)],{'recursive':!![]}),fs[_0x127d11(0x12b)]((0x0,path_1[_0x127d11(0x161)])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x127d11(0x11b)),useExportOptionsXML);}static['bindManifestInfo'](_0x315b03,_0x1bd2d2){const _0x73b6be=_0x4aa411;var _0x16edd8;_0x315b03[_0x73b6be(0x144)](_0x1bd2d2[_0x73b6be(0x120)]),_0x315b03[_0x73b6be(0x164)](_0x73b6be(0x12c),'\x22'+_0x1bd2d2['id']+'\x22'),this['updateDeeplink']((_0x16edd8=_0x1bd2d2[_0x73b6be(0x12f)])!==null&&_0x16edd8!==void 0x0?_0x16edd8:[]),this[_0x73b6be(0x14c)](_0x1bd2d2);}static[_0x4aa411(0x149)](_0x3a6ec8,_0x5ba9fc){_0x3a6ec8['updateBuildProperty']('CURRENT_PROJECT_VERSION',_0x5ba9fc);}static[_0x4aa411(0x142)](_0x349e08){const _0x12917e=_0x4aa411;let _0x16344f=(0x0,path_1['join'])(resource_1[_0x12917e(0x16e)],'./web-spatial/Info.plist'),_0x139a06='';for(let _0x1a9362=0x0;_0x1a9362<_0x349e08[_0x12917e(0x143)];_0x1a9362++){_0x139a06+=_0x12917e(0x118)+_0x349e08[_0x1a9362][_0x12917e(0x15d)]+_0x12917e(0x125);}const _0x3d8ee1=infoPlistXML[_0x12917e(0x10d)](_0x12917e(0x13f),_0x139a06);fs[_0x12917e(0x12b)](_0x16344f,_0x3d8ee1);}static['modifySwift'](_0x586c6b){const _0x469959=_0x4aa411,_0xbea8f5=(0x0,path_1[_0x469959(0x161)])(resource_1[_0x469959(0x16e)],_0x469959(0x152));let _0x55b306=manifestSwiftTemplate_1[_0x469959(0x115)];_0x55b306=_0x55b306[_0x469959(0x10d)](_0x469959(0x127),_0x586c6b['start_url']),_0x55b306=_0x55b306['replace'](_0x469959(0x148),_0x586c6b[_0x469959(0x135)]),_0x55b306=_0x55b306[_0x469959(0x10d)](_0x469959(0x156),_0x586c6b[_0x469959(0x120)]),_0x55b306=_0x55b306['replace']('Description',_0x586c6b[_0x469959(0x129)]),_0x55b306=_0x55b306[_0x469959(0x10d)](_0x469959(0x119),_0x586c6b['id']),_0x55b306=_0x55b306[_0x469959(0x10d)](_0x469959(0x14d),_0x586c6b[_0x469959(0x160)]==_0x469959(0x137)?_0x469959(0x14d):'.standalone');if(_0x586c6b[_0x469959(0x12f)]){let _0x14005f='';for(let _0x44c5d0=0x0;_0x44c5d0<_0x586c6b[_0x469959(0x12f)][_0x469959(0x143)];_0x44c5d0++){_0x14005f+=_0x469959(0x130)+_0x586c6b[_0x469959(0x12f)][_0x44c5d0][_0x469959(0x15d)]+_0x469959(0x168)+_0x586c6b[_0x469959(0x12f)][_0x44c5d0]['url']+'\x22),';}_0x55b306=_0x55b306[_0x469959(0x10d)](_0x469959(0x111),_0x14005f);}_0x55b306=_0x55b306['replace']('SceneWidth',_0x586c6b[_0x469959(0x155)][_0x469959(0x13c)][_0x469959(0x15f)]),_0x55b306=_0x55b306[_0x469959(0x10d)](_0x469959(0x132),_0x586c6b['mainScene'][_0x469959(0x13c)]['height']),_0x55b306=_0x55b306['replace'](_0x469959(0x126),'\x22'+_0x586c6b['mainScene']['resizability']+'\x22'),fs['writeFileSync'](_0xbea8f5,_0x55b306,'utf-8');}}exports[_0x4aa411(0x14a)]=XcodeProject;
1
+ 'use strict';const _0xe17257=_0x5ec2;function _0xc745(){const _0x3bd75e=['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','manifestSwiftTemplate','bindIcon','mkdirSync','PROJECT_DIRECTORY','resizability','SceneResizability','updateDeeplink','Contents.json','json','../resource/imageHelper','3696324nMOtaH','existsSync','join','.standalone','updateTeamId','stringify','length','defaultSize','project','BACK_APPICON_DIRECTORY','./web-spatial/libs/webView/manifest.swift','9OCLPjZ','writeFileSync','writeSync','.minimal','path','modifySwift','modify','ExportOptions.plist','xcode','log','url','2943316qvrcbh','pbxXCBuildConfigurationSection','buildType','icon.','loadJsonFromDisk','protocol','Description','../resource','PRODUCT_BUNDLE_IDENTIFIER','ImageHelper','MIDDLE_APPICON_DIRECTORY','getMIME','fixProjectFunction','test','hash','3026807WZoeEE','13358504vWTRZP','PBXGroup','debugging','\x22automatic\x22','PWAProtocol(protocolValue:\x20\x22','buildSettings','icon.png','./web-spatial/Info.plist','updateVersion','icon','updateBuildProperty','\x22,\x20url:\x20\x22','protocol_handlers','object','1280','AppID','mainScene','1.0','CURRENT_PROJECT_VERSION','scope','../resource/load','1153646xYvJVW','enterprise','writeAsync','BUILDTYPE','AppName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','buildConfigurations','DEVELOPMENT_TEAM','version','PROJECT_BUILD_DIRECTORY','updateProductName','1717710dEBmYt','teamId','start_url','height','3667620qvfQes','SceneWidth','includes','release-testing','parseSync','DEEPLINK','updateExportOptions','pbxGroupByName','pbxXCConfigurationList','name','1hlgZvd','manifestInfo','buildConfigurationList','images','display','default','replace','SceneHeight','bindManifestInfo','./manifestSwiftTemplate','defineProperty'];_0xc745=function(){return _0x3bd75e;};return _0xc745();}function _0x5ec2(_0xbe8f1f,_0x2469f1){const _0xc745e8=_0xc745();return _0x5ec2=function(_0x5ec219,_0x1320ef){_0x5ec219=_0x5ec219-0x156;let _0x1641b7=_0xc745e8[_0x5ec219];return _0x1641b7;},_0x5ec2(_0xbe8f1f,_0x2469f1);}(function(_0x36dfcd,_0x13f4d5){const _0x321d7c=_0x5ec2,_0x568413=_0x36dfcd();while(!![]){try{const _0xfa5a2a=-parseInt(_0x321d7c(0x162))/0x1*(parseInt(_0x321d7c(0x1b4))/0x2)+parseInt(_0x321d7c(0x1bf))/0x3+-parseInt(_0x321d7c(0x18f))/0x4+parseInt(_0x321d7c(0x158))/0x5+-parseInt(_0x321d7c(0x179))/0x6+-parseInt(_0x321d7c(0x19e))/0x7+-parseInt(_0x321d7c(0x19f))/0x8*(-parseInt(_0x321d7c(0x184))/0x9);if(_0xfa5a2a===_0x13f4d5)break;else _0x568413['push'](_0x568413['shift']());}catch(_0x5e6f69){_0x568413['push'](_0x568413['shift']());}}}(_0xc745,0x96190));Object[_0xe17257(0x16c)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0xe17257(0x196)),path_1=require(_0xe17257(0x188)),load_1=require(_0xe17257(0x1b3)),imageHelper_1=require(_0xe17257(0x178)),manifestSwiftTemplate_1=require(_0xe17257(0x16b)),xcode=require(_0xe17257(0x18c)),exportOptionsXML=_0xe17257(0x1b9),infoPlistXML=_0xe17257(0x16e);let useExportOptionsXML='';class XcodeProject{static async[_0xe17257(0x18a)](_0x347a2,_0x21a68f){const _0x3b3366=_0xe17257;let _0x310614=xcode[_0x3b3366(0x181)](_0x347a2);this[_0x3b3366(0x19b)](_0x310614),_0x310614[_0x3b3366(0x15c)]();let _0x209928=_0x21a68f[_0x3b3366(0x191)];const _0x1ca37c=[_0x3b3366(0x15b),'app-store-connect',_0x3b3366(0x1a1),_0x3b3366(0x1b5)];useExportOptionsXML=exportOptionsXML[_0x3b3366(0x168)](_0x3b3366(0x1b7),_0x1ca37c[_0x3b3366(0x15a)](_0x209928)?_0x209928:_0x3b3366(0x15b));_0x21a68f[_0x3b3366(0x1c0)]&&this[_0x3b3366(0x17d)](_0x310614,_0x21a68f[_0x3b3366(0x1c0)]);this[_0x3b3366(0x15e)](),await this[_0x3b3366(0x170)](_0x21a68f[_0x3b3366(0x1a8)]),this[_0x3b3366(0x16a)](_0x310614,_0x21a68f[_0x3b3366(0x163)][_0x3b3366(0x177)]);_0x21a68f[_0x3b3366(0x1bc)]?this[_0x3b3366(0x1a7)](_0x310614,_0x21a68f[_0x3b3366(0x1bc)]):this[_0x3b3366(0x1a7)](_0x310614,_0x3b3366(0x1b0));try{fs[_0x3b3366(0x185)](_0x347a2,_0x310614[_0x3b3366(0x186)]());}catch(_0x3c9079){console[_0x3b3366(0x18d)](_0x3c9079);}}static[_0xe17257(0x19b)](_0x30bfb1){const _0x4c09e8=_0xe17257;_0x30bfb1[_0x4c09e8(0x15f)]=function(_0x4a4f68){const _0x960169=_0x4c09e8;var _0x41df9d=this[_0x960169(0x19d)]['project']['objects'][_0x960169(0x1a0)],_0x3dba54,_0x53ca2a;for(_0x3dba54 in _0x41df9d){if(!/_comment$/[_0x960169(0x19c)](_0x3dba54))continue;if(_0x41df9d[_0x3dba54]==_0x4a4f68)return _0x53ca2a=_0x3dba54['split'](/_comment$/)[0x0],_0x41df9d[_0x53ca2a];}return![];},_0x30bfb1[_0x4c09e8(0x1a9)]=function(_0x5135df,_0x5475a1,_0x4fcd3c,_0x17d647){const _0x2934fe=_0x4c09e8;let _0x212610=[];const _0x158231=/_comment$/;if(_0x17d647){const _0x5e7015=this[_0x2934fe(0x16d)](_0x17d647),_0x50dcba=_0x5e7015&&_0x5e7015[_0x2934fe(0x164)],_0x352760=this[_0x2934fe(0x160)]();for(const _0x46e54b in _0x352760){if(!_0x158231['test'](_0x46e54b)&&_0x50dcba===_0x46e54b){const _0xc8c811=_0x352760[_0x46e54b][_0x2934fe(0x1ba)];for(const _0x3690da of _0xc8c811){_0x212610['push'](_0x3690da['value']);}break;}}}var _0x3fe5c8=this[_0x2934fe(0x190)]();for(var _0x20df39 in _0x3fe5c8){if(!_0x158231[_0x2934fe(0x19c)](_0x20df39)){if(_0x17d647&&!_0x212610[_0x2934fe(0x15a)](_0x20df39))continue;var _0x16dea1=_0x3fe5c8[_0x20df39];(_0x4fcd3c&&_0x16dea1[_0x2934fe(0x161)]===_0x4fcd3c||!_0x4fcd3c)&&_0x16dea1[_0x2934fe(0x1a4)][_0x5135df]&&(_0x16dea1[_0x2934fe(0x1a4)][_0x5135df]=_0x5475a1);}}};}static async['bindIcon'](_0x3666fc){const _0x3dc8a0=_0xe17257;if(_0x3666fc){const _0x3e50d8=(0x0,path_1[_0x3dc8a0(0x17b)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3dc8a0(0x182)]),_0x57da72=(0x0,path_1['join'])(_0x3e50d8,_0x3dc8a0(0x176)),_0x3c3e11=_0x3dc8a0(0x192)+_0x3666fc[_0x3dc8a0(0x19a)]()[_0x3dc8a0(0x168)]('image/',''),_0x4f74f4=(0x0,path_1[_0x3dc8a0(0x17b)])(_0x3e50d8,_0x3c3e11);let _0xada4a2=await(0x0,load_1[_0x3dc8a0(0x193)])(_0x57da72);_0xada4a2[_0x3dc8a0(0x165)][0x0]['filename']=_0x3c3e11,await _0x3666fc[_0x3dc8a0(0x1b6)](_0x4f74f4),await fs[_0x3dc8a0(0x185)](_0x57da72,JSON[_0x3dc8a0(0x17e)](_0xada4a2));const _0xa90163=(0x0,path_1[_0x3dc8a0(0x17b)])(resource_1[_0x3dc8a0(0x172)],resource_1[_0x3dc8a0(0x199)]),_0x2a6351=(0x0,path_1[_0x3dc8a0(0x17b)])(_0xa90163,_0x3dc8a0(0x176)),_0x2cd38d=_0x3dc8a0(0x1a5),_0xa8046=(0x0,path_1['join'])(_0xa90163,_0x2cd38d);let _0x5f3d58=await(0x0,load_1[_0x3dc8a0(0x193)])(_0x2a6351),_0x363aa6=imageHelper_1[_0x3dc8a0(0x198)]['createImg'](0x200);_0x5f3d58[_0x3dc8a0(0x165)][0x0]['filename']=_0x2cd38d,await _0x363aa6[_0x3dc8a0(0x1b6)](_0xa8046),await fs[_0x3dc8a0(0x185)](_0x2a6351,JSON[_0x3dc8a0(0x17e)](_0x5f3d58));}}static[_0xe17257(0x17d)](_0x3955aa,_0x4ef898){const _0xb39f1=_0xe17257;_0x3955aa['updateBuildProperty'](_0xb39f1(0x1bb),_0x4ef898),useExportOptionsXML=useExportOptionsXML[_0xb39f1(0x168)]('YOURTEAMID',_0x4ef898);}static['updateExportOptions'](){const _0x38faf0=_0xe17257;!fs[_0x38faf0(0x17a)](resource_1[_0x38faf0(0x1bd)])&&fs[_0x38faf0(0x171)](resource_1[_0x38faf0(0x1bd)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x38faf0(0x1bd)],_0x38faf0(0x18b)),useExportOptionsXML);}static['bindManifestInfo'](_0x3f0bff,_0x39b168){const _0xb156a=_0xe17257;var _0x3a9571;_0x3f0bff[_0xb156a(0x1be)](_0x39b168[_0xb156a(0x161)]),_0x3f0bff[_0xb156a(0x1a9)](_0xb156a(0x197),'\x22'+_0x39b168['id']+'\x22'),this[_0xb156a(0x175)]((_0x3a9571=_0x39b168['protocol_handlers'])!==null&&_0x3a9571!==void 0x0?_0x3a9571:[]),this[_0xb156a(0x189)](_0x39b168);}static[_0xe17257(0x1a7)](_0x538a29,_0x54423c){const _0x4839c7=_0xe17257;_0x538a29[_0x4839c7(0x1a9)](_0x4839c7(0x1b1),_0x54423c);}static['updateDeeplink'](_0x347854){const _0x54ede9=_0xe17257;let _0x26233a=(0x0,path_1['join'])(resource_1[_0x54ede9(0x172)],_0x54ede9(0x1a6)),_0x1bbd92='';for(let _0x1f1027=0x0;_0x1f1027<_0x347854[_0x54ede9(0x17f)];_0x1f1027++){_0x1bbd92+='<string>'+_0x347854[_0x1f1027][_0x54ede9(0x194)]+'</string>';}const _0x36c845=infoPlistXML[_0x54ede9(0x168)](_0x54ede9(0x15d),_0x1bbd92);fs[_0x54ede9(0x185)](_0x26233a,_0x36c845);}static['modifySwift'](_0x5ada69){const _0x42239e=_0xe17257,_0x437c37=(0x0,path_1['join'])(resource_1[_0x42239e(0x172)],_0x42239e(0x183));let _0x44df6d=manifestSwiftTemplate_1[_0x42239e(0x16f)];_0x44df6d=_0x44df6d[_0x42239e(0x168)]('START_URL',_0x5ada69[_0x42239e(0x156)]),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('SCOPE',_0x5ada69[_0x42239e(0x1b2)]),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x1b8),_0x5ada69['name']),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x195),_0x5ada69['description']),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x1ae),_0x5ada69['id']),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x187),_0x5ada69[_0x42239e(0x166)]=='minimal-ui'?_0x42239e(0x187):_0x42239e(0x17c));if(_0x5ada69['protocol_handlers']){let _0x2378d8='';for(let _0x221ccb=0x0;_0x221ccb<_0x5ada69[_0x42239e(0x1ab)][_0x42239e(0x17f)];_0x221ccb++){_0x2378d8+=_0x42239e(0x1a3)+_0x5ada69['protocol_handlers'][_0x221ccb]['protocol']+_0x42239e(0x1aa)+_0x5ada69[_0x42239e(0x1ab)][_0x221ccb][_0x42239e(0x18e)]+'\x22),';}_0x44df6d=_0x44df6d[_0x42239e(0x168)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2378d8);}typeof _0x5ada69[_0x42239e(0x1af)]===_0x42239e(0x1ac)?(_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x159),_0x5ada69['mainScene'][_0x42239e(0x180)]['width']),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('SceneHeight',_0x5ada69[_0x42239e(0x1af)][_0x42239e(0x180)][_0x42239e(0x157)]),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x174),'\x22'+_0x5ada69['mainScene'][_0x42239e(0x173)]+'\x22'),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('USE_MAIN_SCENE','true')):(_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x159),_0x42239e(0x1ad)),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x169),_0x42239e(0x1ad)),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x174),_0x42239e(0x1a2)),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('USE_MAIN_SCENE','false')),fs[_0x42239e(0x185)](_0x437c37,_0x44df6d,'utf-8');}}exports[_0xe17257(0x167)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x4c4096=_0x362f;function _0x299d(){const _0x4535b0=['\x20list','\x20--apiIssuer\x20','5613236dkJMlK','mkdirSync','10056730GHezAG','platform','/web-spatial.xcodeproj','boot','line','2429IGDMpU','version','includes','\x20list\x20devices\x20\x22','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','authAccount','\x20-u\x20','.app','runWithSimulator','launch\x20app','18WYXCAM','\x20launch\x20\x22','\x20-p\x20','appleId','\x20--upload-app\x20-f\x20','\x20--upload-package\x20','../resource','\x20--apple-id\x20','listDevices','\x20simctl','shutdown','toString','Apple\x20Vision\x20Pro','child_process','build\x20success','defineProperty','10590rIquax','launch','Build/Products/Debug-xrsimulator/','no\x20visionOS\x20simulator\x20found','install','verbose','1118LWVDvk','execSync','\x20-t\x20','Booted','XcodebuildCMD','__esModule','\x20--verbose','\x20--bundle-version\x20','path','visionos','--\x20','parseListDevices','trim','deviceId','name','existsSync','simctl','state','uploadApp','\x20install\x20\x22','split','installing\x20app','\x20--apiKey\x20','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','authApi','start\x20building','altool','uploadPackage','113cZmmQE','validate','install\x20success','length','list','\x20shutdown\x20booted','PROJECT_DIRECTORY','5934165EenPry','4523960ABUWsf','3242001dLJGTX','PROJECT_BUILD_DIRECTORY','./xcodebuild','log','\x22\x20\x22'];_0x299d=function(){return _0x4535b0;};return _0x299d();}(function(_0x21e017,_0x533be2){const _0x56917e=_0x362f,_0x58ccc5=_0x21e017();while(!![]){try{const _0x422003=-parseInt(_0x56917e(0x9a))/0x1*(-parseInt(_0x56917e(0x7e))/0x2)+-parseInt(_0x56917e(0xa3))/0x3+parseInt(_0x56917e(0xaa))/0x4+parseInt(_0x56917e(0xa1))/0x5+parseInt(_0x56917e(0x78))/0x6*(parseInt(_0x56917e(0xb1))/0x7)+parseInt(_0x56917e(0xa2))/0x8+-parseInt(_0x56917e(0xbb))/0x9*(parseInt(_0x56917e(0xac))/0xa);if(_0x422003===_0x533be2)break;else _0x58ccc5['push'](_0x58ccc5['shift']());}catch(_0xa69f0e){_0x58ccc5['push'](_0x58ccc5['shift']());}}}(_0x299d,0xb47ae));Object[_0x4c4096(0x77)](exports,_0x4c4096(0x83),{'value':!![]});function _0x362f(_0x134202,_0x98d2ab){const _0x299dfa=_0x299d();return _0x362f=function(_0x362f9b,_0x1d6098){_0x362f9b=_0x362f9b-0x74;let _0x237d3e=_0x299dfa[_0x362f9b];return _0x237d3e;},_0x362f(_0x134202,_0x98d2ab);}const child_process_1=require(_0x4c4096(0x75)),resource_1=require(_0x4c4096(0xc1)),path_1=require(_0x4c4096(0x86)),fs=require('fs'),xcodebuild_1=require(_0x4c4096(0xa5));class Xcrun{static async[_0x4c4096(0x9b)](_0x4c8276,_0x5e7ccd,_0xad8d0b,_0x49754a){const _0x3ed274=_0x4c4096,_0x7c4118=new XcrunCMD()[_0x3ed274(0x98)]();_0x7c4118[_0x3ed274(0x9b)](_0x4c8276);_0x49754a?_0x7c4118[_0x3ed274(0xb6)](_0x5e7ccd,_0xad8d0b):_0x7c4118['authApi'](_0x5e7ccd,_0xad8d0b);_0x7c4118['platform'](_0x3ed274(0x87));const _0x775cfd=(0x0,child_process_1[_0x3ed274(0x7f)])(_0x7c4118[_0x3ed274(0xb0)]);return _0x775cfd[_0x3ed274(0xc6)]();}static async[_0x4c4096(0x99)](_0x1fd8a5,_0x166f03,_0x30e3d8,_0x4b4de8,_0x22ba7d){const _0x54d136=_0x4c4096,_0x1229ad=new XcrunCMD()[_0x54d136(0x98)]();_0x1229ad[_0x54d136(0x99)](_0x1fd8a5);_0x22ba7d?_0x1229ad[_0x54d136(0xb6)](_0x166f03,_0x30e3d8):_0x1229ad[_0x54d136(0x96)](_0x166f03,_0x30e3d8);_0x1229ad[_0x54d136(0xad)](_0x54d136(0x87)),_0x1229ad[_0x54d136(0xbe)](_0x4b4de8);const _0x507f24=(0x0,child_process_1[_0x54d136(0x7f)])(_0x1229ad[_0x54d136(0xb0)]);return _0x507f24[_0x54d136(0xc6)]();}static async[_0x4c4096(0x90)](_0x57141a,_0x129167,_0x25a440,_0xb6060e){const _0xa5b965=_0x4c4096,_0x300df4=new XcrunCMD()['altool']();_0x300df4[_0xa5b965(0x90)](_0x57141a);_0xb6060e?_0x300df4['authAccount'](_0x129167,_0x25a440):_0x300df4[_0xa5b965(0x96)](_0x129167,_0x25a440);_0x300df4[_0xa5b965(0xad)](_0xa5b965(0x87));const _0xe008be=(0x0,child_process_1[_0xa5b965(0x7f)])(_0x300df4[_0xa5b965(0xb0)]);return _0xe008be[_0xa5b965(0xc6)]();}static async[_0x4c4096(0xb9)](_0x1f25ee){const _0x214b81=_0x4c4096;let _0x2fda7a=new XcrunCMD()[_0x214b81(0x8e)]();_0x2fda7a[_0x214b81(0xc3)](_0x214b81(0x74));const _0x45c2ce=(0x0,child_process_1['execSync'])(_0x2fda7a[_0x214b81(0xb0)]),_0x2345c0=this[_0x214b81(0x89)](_0x45c2ce[_0x214b81(0xc6)]());if(_0x2345c0[_0x214b81(0x9d)]===0x0)throw new Error(_0x214b81(0x7b));let _0x1a19bc=_0x2345c0[0x0];for(let _0x2bbc39=0x0;_0x2bbc39<_0x2345c0['length'];_0x2bbc39++){if(_0x2345c0[_0x2bbc39][_0x214b81(0x8f)]===_0x214b81(0x81)){_0x1a19bc=_0x2345c0[_0x2bbc39];break;}}console[_0x214b81(0xa6)]('find\x20simulator:\x20'+_0x1a19bc[_0x214b81(0x8b)]);const _0x52795e=resource_1[_0x214b81(0xa0)]+_0x214b81(0xae),_0x3566dc=resource_1['PROJECT_BUILD_DIRECTORY']+'/test';!fs[_0x214b81(0x8d)](resource_1[_0x214b81(0xa4)])&&fs[_0x214b81(0xab)](resource_1[_0x214b81(0xa4)],{'recursive':!![]});!fs[_0x214b81(0x8d)](_0x3566dc)&&fs[_0x214b81(0xab)](_0x3566dc,{'recursive':!![]});const _0x3bd7af=new xcodebuild_1[(_0x214b81(0x82))]()['project'](_0x52795e)[_0x214b81(0xb0)]+(_0x214b81(0xb5)+_0x1a19bc[_0x214b81(0x8b)]+'\x27\x20-derivedDataPath\x20'+_0x3566dc);console['log'](_0x214b81(0x97)),(0x0,child_process_1[_0x214b81(0x7f)])(_0x3bd7af),console[_0x214b81(0xa6)](_0x214b81(0x76));_0x1a19bc['state']==='Shutdown'&&(_0x2fda7a=new XcrunCMD()[_0x214b81(0x8e)](),_0x2fda7a[_0x214b81(0xaf)](_0x1a19bc[_0x214b81(0x8b)]),(0x0,child_process_1[_0x214b81(0x7f)])(_0x2fda7a[_0x214b81(0xb0)]));(0x0,child_process_1[_0x214b81(0x7f)])(_0x214b81(0x95)),console[_0x214b81(0xa6)](_0x214b81(0x93));const _0x4c122c=(0x0,path_1['join'])(_0x3566dc,_0x214b81(0x7a)+_0x1f25ee[_0x214b81(0x8c)]+_0x214b81(0xb8));_0x2fda7a=new XcrunCMD()['simctl'](),_0x2fda7a[_0x214b81(0x7c)](_0x1a19bc[_0x214b81(0x8b)],_0x4c122c),(0x0,child_process_1[_0x214b81(0x7f)])(_0x2fda7a[_0x214b81(0xb0)]),console[_0x214b81(0xa6)](_0x214b81(0x9c)),console[_0x214b81(0xa6)](_0x214b81(0xba)),_0x2fda7a=new XcrunCMD()[_0x214b81(0x8e)](),_0x2fda7a[_0x214b81(0x79)](_0x1a19bc[_0x214b81(0x8b)],_0x1f25ee['id']),(0x0,child_process_1[_0x214b81(0x7f)])(_0x2fda7a[_0x214b81(0xb0)]);}static[_0x4c4096(0x89)](_0x52544b){const _0x51ad50=_0x4c4096;let _0x1f3636=_0x52544b[_0x51ad50(0x92)]('\x0a'),_0x1e6874=[],_0x5b6fa0=-0x1;for(let _0x172714=0x0;_0x172714<_0x1f3636[_0x51ad50(0x9d)];_0x172714++){if(_0x1f3636[_0x172714][_0x51ad50(0xb3)]('--\x20visionOS'))_0x5b6fa0=_0x172714;else{if(_0x5b6fa0>0x0){if(_0x1f3636[_0x172714]['includes'](_0x51ad50(0x88)))break;if(_0x1f3636[_0x172714][_0x51ad50(0x9d)]>0x0){const _0x243704=_0x1f3636[_0x172714][_0x51ad50(0x92)]('('),_0x4dca58={'name':_0x243704[0x0][_0x51ad50(0x8a)](),'deviceId':_0x243704[0x1][_0x51ad50(0x92)](')')[0x0][_0x51ad50(0x8a)](),'state':_0x243704[0x2]['split'](')')[0x0][_0x51ad50(0x8a)]()};_0x1e6874['push'](_0x4dca58);}}}}return _0x1e6874;}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x22b541=_0x4c4096;this[_0x22b541(0xb0)]='xcrun';}[_0x4c4096(0x98)](){return this['line']+='\x20altool',this;}[_0x4c4096(0x8e)](){const _0x543c24=_0x4c4096;return this['line']+=_0x543c24(0xc4),this;}[_0x4c4096(0x9e)](){const _0x3a2fa0=_0x4c4096;return this[_0x3a2fa0(0xb0)]+=_0x3a2fa0(0xa8),this;}[_0x4c4096(0xc3)](_0x5441ba){const _0xc0b87=_0x4c4096;return this[_0xc0b87(0xb0)]+=_0xc0b87(0xb4)+_0x5441ba+'\x22',this;}['validate'](_0x9479a5){const _0x4d77f3=_0x4c4096;return this[_0x4d77f3(0xb0)]+='\x20--validate-app\x20-f\x20'+_0x9479a5,this;}[_0x4c4096(0x90)](_0x511958){const _0x575010=_0x4c4096;return this['line']+=_0x575010(0xbf)+_0x511958,this;}[_0x4c4096(0x99)](_0x20c9cb){const _0x5a52e0=_0x4c4096;return this[_0x5a52e0(0xb0)]+=_0x5a52e0(0xc0)+_0x20c9cb,this;}[_0x4c4096(0xb6)](_0x16f90b,_0x589415){const _0x283a6d=_0x4c4096;return this[_0x283a6d(0xb0)]+=_0x283a6d(0xb7)+_0x16f90b+_0x283a6d(0xbd)+_0x589415,this;}['authApi'](_0x3b1778,_0x579942){const _0x469867=_0x4c4096;return this['line']+=_0x469867(0x94)+_0x3b1778+_0x469867(0xa9)+_0x579942,this;}[_0x4c4096(0xbe)](_0x28afee){const _0x5cdd2b=_0x4c4096;return this[_0x5cdd2b(0xb0)]+=_0x5cdd2b(0xc2)+_0x28afee,this;}[_0x4c4096(0xad)](_0x2a1df8){const _0x34579e=_0x4c4096;return this[_0x34579e(0xb0)]+=_0x34579e(0x80)+_0x2a1df8,this;}[_0x4c4096(0xb2)](_0x550047){const _0x3dbd59=_0x4c4096;return this[_0x3dbd59(0xb0)]+=_0x3dbd59(0x85)+_0x550047,this;}[_0x4c4096(0x7d)](){const _0x1de3a1=_0x4c4096;return this['line']+=_0x1de3a1(0x84),this;}[_0x4c4096(0xc5)](){const _0x534674=_0x4c4096;return this['line']+=_0x534674(0x9f),this;}[_0x4c4096(0xaf)](_0x1331c4){const _0x243d76=_0x4c4096;return this[_0x243d76(0xb0)]+='\x20boot\x20\x22'+_0x1331c4+'\x22',this;}['install'](_0x4fb10d,_0x1662e5){const _0x3e6f1e=_0x4c4096;return this[_0x3e6f1e(0xb0)]+=_0x3e6f1e(0x91)+_0x4fb10d+_0x3e6f1e(0xa7)+_0x1662e5+'\x22',this;}[_0x4c4096(0x79)](_0x253d4a,_0x38983a){const _0x46e31f=_0x4c4096;return this[_0x46e31f(0xb0)]+=_0x46e31f(0xbc)+_0x253d4a+_0x46e31f(0xa7)+_0x38983a+'\x22',this;}}
1
+ 'use strict';const _0x280bfa=_0x3477;(function(_0x28c0df,_0x1d3209){const _0x2a0141=_0x3477,_0x454b1a=_0x28c0df();while(!![]){try{const _0x221ea0=parseInt(_0x2a0141(0x192))/0x1+parseInt(_0x2a0141(0x198))/0x2+-parseInt(_0x2a0141(0x1a1))/0x3*(-parseInt(_0x2a0141(0x1d3))/0x4)+-parseInt(_0x2a0141(0x190))/0x5+parseInt(_0x2a0141(0x1c4))/0x6+parseInt(_0x2a0141(0x1c2))/0x7+-parseInt(_0x2a0141(0x19c))/0x8*(parseInt(_0x2a0141(0x1ce))/0x9);if(_0x221ea0===_0x1d3209)break;else _0x454b1a['push'](_0x454b1a['shift']());}catch(_0x1ba51b){_0x454b1a['push'](_0x454b1a['shift']());}}}(_0x197c,0x193c8));Object['defineProperty'](exports,_0x280bfa(0x1a7),{'value':!![]});const child_process_1=require(_0x280bfa(0x19b)),resource_1=require('../resource'),path_1=require(_0x280bfa(0x1d8)),fs=require('fs'),xcodebuild_1=require(_0x280bfa(0x1ca));function _0x197c(){const _0x58e5ca=['appleId','.app','authApi','xcrun','runWithSimulator','install','launch\x20app','listDevices','length','\x20--bundle-version\x20','\x20--apple-id\x20','\x20list\x20devices\x20\x22','log','1282134cNewTT','platform','99066ySsEKs','\x20--verbose','push','default','execSync','state','./xcodebuild','--\x20visionOS','\x27\x20-derivedDataPath\x20','install\x20success','502011vrpGZa','project','existsSync','\x20-t\x20','uploadApp','163836jnrEmx','visionos','deviceId','\x20list','altool','path','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','mkdirSync','576410SDpyqU','includes','162332ZMUlzt','split','find\x20simulator:\x20','shutdown','\x20boot\x20\x22','build\x20success','84606sgbXoK','authAccount','\x20install\x20\x22','child_process','56xRwfsY','PROJECT_DIRECTORY','\x20--upload-app\x20-f\x20','line','\x20--apiKey\x20','15pRWVtO','/test','start\x20building','simctl','\x20simctl','\x22\x20\x22','__esModule','\x20--validate-app\x20-f\x20','Booted','trim','name','PROJECT_BUILD_DIRECTORY','\x20--upload-package\x20','uploadPackage','launch','boot','validate','join','\x20launch\x20\x22','toString'];_0x197c=function(){return _0x58e5ca;};return _0x197c();}class Xcrun{static async[_0x280bfa(0x1b1)](_0x1c5d51,_0x389598,_0x4dd368,_0x16b66c){const _0x438871=_0x280bfa,_0x50aa1d=new XcrunCMD()[_0x438871(0x1d7)]();_0x50aa1d[_0x438871(0x1b1)](_0x1c5d51);_0x16b66c?_0x50aa1d[_0x438871(0x199)](_0x389598,_0x4dd368):_0x50aa1d[_0x438871(0x1b7)](_0x389598,_0x4dd368);_0x50aa1d[_0x438871(0x1c3)](_0x438871(0x1d4));const _0x12ef92=(0x0,child_process_1[_0x438871(0x1c8)])(_0x50aa1d['line']);return _0x12ef92[_0x438871(0x1b4)]();}static async['uploadPackage'](_0x414955,_0x1e0c7d,_0x2aae0a,_0x896bc1,_0x52eac8){const _0x4c15a7=_0x280bfa,_0x3a3269=new XcrunCMD()[_0x4c15a7(0x1d7)]();_0x3a3269[_0x4c15a7(0x1ae)](_0x414955);_0x52eac8?_0x3a3269[_0x4c15a7(0x199)](_0x1e0c7d,_0x2aae0a):_0x3a3269[_0x4c15a7(0x1b7)](_0x1e0c7d,_0x2aae0a);_0x3a3269[_0x4c15a7(0x1c3)](_0x4c15a7(0x1d4)),_0x3a3269['appleId'](_0x896bc1);const _0x19166c=(0x0,child_process_1[_0x4c15a7(0x1c8)])(_0x3a3269[_0x4c15a7(0x19f)]);return _0x19166c['toString']();}static async['uploadApp'](_0x38bc1f,_0x1cb1e8,_0x262111,_0x1a3390){const _0x1c565a=_0x280bfa,_0x55ad67=new XcrunCMD()[_0x1c565a(0x1d7)]();_0x55ad67[_0x1c565a(0x1d2)](_0x38bc1f);_0x1a3390?_0x55ad67[_0x1c565a(0x199)](_0x1cb1e8,_0x262111):_0x55ad67[_0x1c565a(0x1b7)](_0x1cb1e8,_0x262111);_0x55ad67[_0x1c565a(0x1c3)]('visionos');const _0x55e35b=(0x0,child_process_1[_0x1c565a(0x1c8)])(_0x55ad67[_0x1c565a(0x19f)]);return _0x55e35b[_0x1c565a(0x1b4)]();}static async[_0x280bfa(0x1b9)](_0x3b56e5){const _0x5e3b5b=_0x280bfa;let _0x393118=new XcrunCMD()[_0x5e3b5b(0x1a4)]();_0x393118[_0x5e3b5b(0x1bc)]('Apple\x20Vision\x20Pro');const _0x1f14ea=(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x393118['line']),_0x17d448=this['parseListDevices'](_0x1f14ea[_0x5e3b5b(0x1b4)]());if(_0x17d448[_0x5e3b5b(0x1bd)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x37a2c6=_0x17d448[0x0];for(let _0x18e153=0x0;_0x18e153<_0x17d448[_0x5e3b5b(0x1bd)];_0x18e153++){if(_0x17d448[_0x18e153][_0x5e3b5b(0x1c9)]===_0x5e3b5b(0x1a9)){_0x37a2c6=_0x17d448[_0x18e153];break;}}console[_0x5e3b5b(0x1c1)](_0x5e3b5b(0x194)+_0x37a2c6[_0x5e3b5b(0x1d5)]);const _0x5db37f=resource_1[_0x5e3b5b(0x19d)]+'/web-spatial.xcodeproj',_0x3eae4c=resource_1[_0x5e3b5b(0x1ac)]+_0x5e3b5b(0x1a2);!fs[_0x5e3b5b(0x1d0)](resource_1[_0x5e3b5b(0x1ac)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x5e3b5b(0x1d0)](_0x3eae4c)&&fs[_0x5e3b5b(0x1da)](_0x3eae4c,{'recursive':!![]});const _0x2936d6=new xcodebuild_1['XcodebuildCMD']()[_0x5e3b5b(0x1cf)](_0x5db37f)[_0x5e3b5b(0x19f)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x37a2c6[_0x5e3b5b(0x1d5)]+_0x5e3b5b(0x1cc)+_0x3eae4c);console[_0x5e3b5b(0x1c1)](_0x5e3b5b(0x1a3)),(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x2936d6),console[_0x5e3b5b(0x1c1)](_0x5e3b5b(0x197));_0x37a2c6['state']==='Shutdown'&&(_0x393118=new XcrunCMD()[_0x5e3b5b(0x1a4)](),_0x393118[_0x5e3b5b(0x1b0)](_0x37a2c6['deviceId']),(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x393118[_0x5e3b5b(0x19f)]));(0x0,child_process_1['execSync'])(_0x5e3b5b(0x1d9)),console[_0x5e3b5b(0x1c1)]('installing\x20app');const _0x33cb53=(0x0,path_1[_0x5e3b5b(0x1b2)])(_0x3eae4c,'Build/Products/Debug-xrsimulator/'+_0x3b56e5[_0x5e3b5b(0x1ab)]+_0x5e3b5b(0x1b6));_0x393118=new XcrunCMD()[_0x5e3b5b(0x1a4)](),_0x393118[_0x5e3b5b(0x1ba)](_0x37a2c6['deviceId'],_0x33cb53),(0x0,child_process_1['execSync'])(_0x393118[_0x5e3b5b(0x19f)]),console['log'](_0x5e3b5b(0x1cd)),console['log'](_0x5e3b5b(0x1bb)),_0x393118=new XcrunCMD()['simctl'](),_0x393118[_0x5e3b5b(0x1af)](_0x37a2c6['deviceId'],_0x3b56e5['id']),(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x393118[_0x5e3b5b(0x19f)]);}static['parseListDevices'](_0x47642d){const _0x55a64c=_0x280bfa;let _0x1d3aaa=_0x47642d[_0x55a64c(0x193)]('\x0a'),_0x39efbc=[],_0x57e6e8=-0x1;for(let _0x2baffb=0x0;_0x2baffb<_0x1d3aaa['length'];_0x2baffb++){if(_0x1d3aaa[_0x2baffb][_0x55a64c(0x191)](_0x55a64c(0x1cb)))_0x57e6e8=_0x2baffb;else{if(_0x57e6e8>0x0){if(_0x1d3aaa[_0x2baffb][_0x55a64c(0x191)]('--\x20'))break;if(_0x1d3aaa[_0x2baffb][_0x55a64c(0x1bd)]>0x0){const _0x3a742f=_0x1d3aaa[_0x2baffb][_0x55a64c(0x193)]('('),_0x59f198={'name':_0x3a742f[0x0]['trim'](),'deviceId':_0x3a742f[0x1][_0x55a64c(0x193)](')')[0x0][_0x55a64c(0x1aa)](),'state':_0x3a742f[0x2][_0x55a64c(0x193)](')')[0x0][_0x55a64c(0x1aa)]()};_0x39efbc[_0x55a64c(0x1c6)](_0x59f198);}}}}return _0x39efbc;}}function _0x3477(_0x5cbcd7,_0x28f808){const _0x197c6a=_0x197c();return _0x3477=function(_0x34778b,_0x180e23){_0x34778b=_0x34778b-0x190;let _0x5d03b5=_0x197c6a[_0x34778b];return _0x5d03b5;},_0x3477(_0x5cbcd7,_0x28f808);}exports[_0x280bfa(0x1c7)]=Xcrun;class XcrunCMD{constructor(){const _0x10c9bf=_0x280bfa;this[_0x10c9bf(0x19f)]=_0x10c9bf(0x1b8);}[_0x280bfa(0x1d7)](){return this['line']+='\x20altool',this;}[_0x280bfa(0x1a4)](){const _0xd585c4=_0x280bfa;return this[_0xd585c4(0x19f)]+=_0xd585c4(0x1a5),this;}['list'](){const _0x2afc3a=_0x280bfa;return this[_0x2afc3a(0x19f)]+=_0x2afc3a(0x1d6),this;}['listDevices'](_0x5e98d3){const _0x38de4b=_0x280bfa;return this[_0x38de4b(0x19f)]+=_0x38de4b(0x1c0)+_0x5e98d3+'\x22',this;}['validate'](_0x3c6ad2){const _0x3a8f81=_0x280bfa;return this[_0x3a8f81(0x19f)]+=_0x3a8f81(0x1a8)+_0x3c6ad2,this;}[_0x280bfa(0x1d2)](_0x5321d2){const _0x23116b=_0x280bfa;return this[_0x23116b(0x19f)]+=_0x23116b(0x19e)+_0x5321d2,this;}[_0x280bfa(0x1ae)](_0x7bcc37){const _0x1ba6b2=_0x280bfa;return this['line']+=_0x1ba6b2(0x1ad)+_0x7bcc37,this;}['authAccount'](_0x46f71f,_0xdc7410){const _0x57f59a=_0x280bfa;return this[_0x57f59a(0x19f)]+='\x20-u\x20'+_0x46f71f+'\x20-p\x20'+_0xdc7410,this;}['authApi'](_0x184218,_0x1e7398){const _0x1cb2f9=_0x280bfa;return this[_0x1cb2f9(0x19f)]+=_0x1cb2f9(0x1a0)+_0x184218+'\x20--apiIssuer\x20'+_0x1e7398,this;}[_0x280bfa(0x1b5)](_0x3b66e2){const _0x3d30f5=_0x280bfa;return this[_0x3d30f5(0x19f)]+=_0x3d30f5(0x1bf)+_0x3b66e2,this;}[_0x280bfa(0x1c3)](_0x2ae41e){const _0x2c96c5=_0x280bfa;return this[_0x2c96c5(0x19f)]+=_0x2c96c5(0x1d1)+_0x2ae41e,this;}['version'](_0x53f7cb){const _0x3edb88=_0x280bfa;return this['line']+=_0x3edb88(0x1be)+_0x53f7cb,this;}['verbose'](){const _0x337070=_0x280bfa;return this[_0x337070(0x19f)]+=_0x337070(0x1c5),this;}[_0x280bfa(0x195)](){return this['line']+='\x20shutdown\x20booted',this;}[_0x280bfa(0x1b0)](_0x2295f5){const _0x5e8ce0=_0x280bfa;return this[_0x5e8ce0(0x19f)]+=_0x5e8ce0(0x196)+_0x2295f5+'\x22',this;}[_0x280bfa(0x1ba)](_0x2d3a19,_0x409c5){const _0x28764c=_0x280bfa;return this['line']+=_0x28764c(0x19a)+_0x2d3a19+'\x22\x20\x22'+_0x409c5+'\x22',this;}['launch'](_0x328f3f,_0x3d9291){const _0x4e1a7e=_0x280bfa;return this[_0x4e1a7e(0x19f)]+=_0x4e1a7e(0x1b3)+_0x328f3f+_0x4e1a7e(0x1a6)+_0x3d9291+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.9",
3
+ "version": "0.0.10",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -84,6 +84,9 @@ func getWindowResizability(_ windowResizability: String?) -> WindowResizability
84
84
  class WindowContainerMgr: ObservableObject {
85
85
  static let Instance = WindowContainerMgr()
86
86
 
87
+ // cache for dynamic loading scene reopen
88
+ var memorizedMainSceneConfig: WindowContainerPlainDefaultValues? = nil
89
+
87
90
  private init() {
88
91
  setToMainSceneCfg()
89
92
  }
@@ -98,8 +101,9 @@ class WindowContainerMgr: ObservableObject {
98
101
  }
99
102
 
100
103
  func setToMainSceneCfg() {
101
- let cfg = WindowContainerPlainDefaultValues(pwaManager.mainScene)
102
- updateWindowContainerPlainDefaultValues(cfg)
104
+ if let cfg = memorizedMainSceneConfig != nil ? memorizedMainSceneConfig : WindowContainerPlainDefaultValues(pwaManager.mainScene) {
105
+ updateWindowContainerPlainDefaultValues(cfg)
106
+ }
103
107
  }
104
108
 
105
109
  func updateWindowContainerPlainDefaultValues(_ data: WindowContainerPlainDefaultValues) {
@@ -10,16 +10,20 @@ import SwiftUICore
10
10
 
11
11
  struct LoadingView: View {
12
12
  var body: some View {
13
- ZStack {
14
- VStack {
15
- ProgressView()
16
- .progressViewStyle(CircularProgressViewStyle(tint: .white))
17
- .scaleEffect(2)
18
- Text("Loading...")
19
- .foregroundColor(.white)
20
- .font(.headline)
21
- .padding(.top, 16)
22
- }
13
+ GeometryReader { proxy3D in
14
+ let width = proxy3D.size.width
15
+ let height = proxy3D.size.height
16
+ ZStack {
17
+ VStack {
18
+ ProgressView()
19
+ .progressViewStyle(CircularProgressViewStyle(tint: .white))
20
+ .scaleEffect(2)
21
+ Text("Loading...")
22
+ .foregroundColor(.white)
23
+ .font(.headline)
24
+ .padding(.top, 16)
25
+ }
26
+ }.frame(width: width, height: height).glassBackgroundEffect()
23
27
  }
24
28
  }
25
29
  }