@webspatial/builder 0.1.10 → 0.1.13

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/README.md CHANGED
@@ -12,52 +12,69 @@ If you wish to package an IPA file or publish it to App Store Connect, you need
12
12
  `pnpm i @webspatial/builder`
13
13
 
14
14
  ## **Usage**
15
- Build and run local WebSpatial project on Apple Vision Pro simulator.
16
-
17
- `webspatial-builder run --manifest=public/manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos`
18
-
19
- - Default parameters
20
- - --manifest=public/manifest.json or --manifest=manifest.webmanifest
21
- - --project=dist
22
- - --platform=visionos
23
- - Necessary parameters
24
- - --base
25
-
26
- > The --base is the root path to the project. It will be combined with start_url in the manifest.json file to generate the final URL.
27
- >
28
- >**For example:**
29
- >```
30
- >Example 1:
31
- >start_url:./a/index.html
32
- >--base:dist/webspatial/avp
33
- >final url:dist/webspatial/avp/a/index.html
34
- >
35
- >Example 2:
36
- >start_url:https://www.domain1.com/a/index.html
37
- >--base:https://www.domain2.com/webspatial/avp
38
- >final url:https://www.domain2.com/webspatial/avp/index.html
39
- >
40
- >Example 3:
41
- >start_url:https://www.domain1.com/a/index.html
42
- >--base:dist/webspatial/avp
43
- >final url:dist/webspatial/avp/index.html
44
- >```
45
-
46
- Package an IPA file.
47
-
48
- `webspatial-builder build --manifest=manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --teamId=yourTeamId`
49
-
50
- - Necessary parameters
51
- - --base
52
- - --teamId
15
+ 1. Build and run local WebSpatial project on Apple Vision Pro simulator.
16
+
17
+ `webspatial-builder run --manifest=public/manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --bundle-id=com.webspatial.test`
18
+
19
+ - Default parameters
20
+ - --manifest=public/manifest.json or --manifest=manifest.webmanifest
21
+ - --project=dist
22
+ - --platform=visionos
23
+ - --bundle-id=com.webspatial.test
24
+ - --base=/
25
+ - If you don't have a manifest file, CLI will use the default configuration
26
+ ```json
27
+ {
28
+ name: 'WebSpatialTest',
29
+ display: 'minimal-ui',
30
+ start_url: '/',
31
+ scope: '/',
32
+ }
33
+ ```
34
+
35
+ - The --base is the root path to the project. It will be combined with start_url in the manifest.json file to generate the final URL.
36
+ ```
37
+ Example 1:
38
+ start_url:./a/index.html
39
+ --base:dist/webspatial/avp
40
+ final url:dist/webspatial/avp/a/index.html
41
+
42
+ Example 2:
43
+ start_url:https://www.domain1.com/a/index.html
44
+ --base:http://localhost:5173
45
+ final url:http://localhost:5173/a/index.html
46
+
47
+ Example 3:
48
+ start_url:https://www.domain1.com/a/index.html
49
+ --base:dist/webspatial/avp
50
+ final url:dist/webspatial/avp/index.html
51
+ ```
52
+ - The --bundle-id is the bundle identifier of the app.
53
+ **For example:**
54
+
55
+ 2. Package an IPA file.
56
+
57
+ `webspatial-builder build --manifest=manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --teamId=yourTeamId --bundle-id=com.webspatial.test`
58
+
59
+ - Necessary parameters
60
+ - --base
61
+ - --teamId
53
62
 
54
63
 
55
- Publish to App Store Connect.
56
- `webspatial-builder publish --manifest=manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --teamId=yourTeamId --version=projectVersion --u=yourAppleId --p=yourAppSpecificCode`
57
-
58
- - Necessary parameters
59
- - --base
60
- - --teamId
61
- - --version
62
- - --u
63
- - --p
64
+ 3. Publish to App Store Connect.
65
+ `webspatial-builder publish --manifest=manifest.json --project=dist --base=dist/webspatial/avp --platform=visionos --teamId=yourTeamId --version=projectVersion --u=yourAppleId --p=yourAppSpecificCode --bundle-id=com.webspatial.test`
66
+
67
+ - Necessary parameters
68
+ - --base
69
+ - --teamId
70
+ - --version
71
+ - --u
72
+ - --p
73
+
74
+ 4. Launch the app in the simulator without building.
75
+ >When the simulator is shut down, cli will automatically launch the simulator.
76
+
77
+ `webspatial-builder launch [--bundle-id=]`
78
+
79
+ 5. Shutdown the simulator.
80
+ `webspatial-builder shutdown`
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x4acfc5=_0x155b;(function(_0x43746c,_0x4dd8cc){const _0x2de31f=_0x155b,_0x2b90de=_0x43746c();while(!![]){try{const _0x3cf3ba=-parseInt(_0x2de31f(0x1c3))/0x1*(parseInt(_0x2de31f(0x1cf))/0x2)+-parseInt(_0x2de31f(0x1d9))/0x3*(-parseInt(_0x2de31f(0x1cb))/0x4)+parseInt(_0x2de31f(0x1d6))/0x5*(-parseInt(_0x2de31f(0x1c8))/0x6)+-parseInt(_0x2de31f(0x1d5))/0x7*(parseInt(_0x2de31f(0x1d0))/0x8)+parseInt(_0x2de31f(0x1c7))/0x9*(parseInt(_0x2de31f(0x1d1))/0xa)+parseInt(_0x2de31f(0x1ce))/0xb*(-parseInt(_0x2de31f(0x1d4))/0xc)+parseInt(_0x2de31f(0x1c5))/0xd;if(_0x3cf3ba===_0x4dd8cc)break;else _0x2b90de['push'](_0x2b90de['shift']());}catch(_0x5b6628){_0x2b90de['push'](_0x2b90de['shift']());}}}(_0x3652,0xbbdbf));function _0x155b(_0x46fe1f,_0x21c7e3){const _0x365289=_0x3652();return _0x155b=function(_0x155b71,_0x4670da){_0x155b71=_0x155b71-0x1c2;let _0x563f7e=_0x365289[_0x155b71];return _0x563f7e;},_0x155b(_0x46fe1f,_0x21c7e3);}Object[_0x4acfc5(0x1dd)](exports,'__esModule',{'value':!![]});const Cli_1=require(_0x4acfc5(0x1c9)),CustomError_1=require(_0x4acfc5(0x1c2));module['exports']=async()=>{const _0x28ee5b=_0x4acfc5,_0x1ae51d=new Cli_1[(_0x28ee5b(0x1ca))](),_0x4fb284=Cli_1[_0x28ee5b(0x1ca)][_0x28ee5b(0x1cc)],_0x488f12=process['argv'][_0x28ee5b(0x1c6)](0x2);let _0x38e7f7;try{_0x38e7f7=await _0x1ae51d[_0x28ee5b(0x1db)](_0x488f12);}catch(_0x2ab67a){if(_0x2ab67a instanceof CustomError_1[_0x28ee5b(0x1dc)]){const _0x4ba84d=_0x2ab67a[_0x28ee5b(0x1d3)];Array[_0x28ee5b(0x1d8)](_0x4ba84d)?_0x4ba84d[_0x28ee5b(0x1da)](_0x265db7=>{const _0x28dcf0=_0x28ee5b;_0x4fb284[_0x28dcf0(0x1d7)](_0x265db7[_0x28dcf0(0x1d2)]+':\x20'+_0x265db7[_0x28dcf0(0x1cd)]);}):_0x4fb284[_0x28ee5b(0x1d7)](_0x4ba84d[_0x28ee5b(0x1d2)]+':\x20'+_0x4ba84d['message']);}else _0x4fb284['error'](_0x2ab67a['message']);_0x38e7f7=![];}!_0x38e7f7?process['exit'](0x1):process[_0x28ee5b(0x1c4)](0x0);};function _0x3652(){const _0x5c8191=['2319316ttQpOO','log','message','2662033HOcmnv','2XTScas','76344uMWAFU','10886020LuEmzv','code','customMessage','48HxDYLR','1001WFyzqC','1325485LrXFqX','error','isArray','3ZOWlDD','forEach','run','CustomError','defineProperty','./lib/utils/CustomError','1312261UYgsXJ','exit','52928811dbLPJR','slice','9QTaCzh','30kTHJYi','./lib/Cli','Cli'];_0x3652=function(){return _0x5c8191;};return _0x3652();}
1
+ 'use strict';const _0x1d8b69=_0x9216;(function(_0xb1ba7b,_0x179122){const _0x4f7e83=_0x9216,_0x258ec8=_0xb1ba7b();while(!![]){try{const _0x29d423=parseInt(_0x4f7e83(0x1c4))/0x1*(parseInt(_0x4f7e83(0x1cd))/0x2)+-parseInt(_0x4f7e83(0x1bf))/0x3+parseInt(_0x4f7e83(0x1b8))/0x4+-parseInt(_0x4f7e83(0x1be))/0x5+-parseInt(_0x4f7e83(0x1c0))/0x6*(-parseInt(_0x4f7e83(0x1bc))/0x7)+-parseInt(_0x4f7e83(0x1ce))/0x8+parseInt(_0x4f7e83(0x1c5))/0x9;if(_0x29d423===_0x179122)break;else _0x258ec8['push'](_0x258ec8['shift']());}catch(_0x36b9e3){_0x258ec8['push'](_0x258ec8['shift']());}}}(_0xb9b3,0xe5629));function _0x9216(_0x5d0f87,_0x484d84){const _0xb9b3b8=_0xb9b3();return _0x9216=function(_0x9216ad,_0x3df3bc){_0x9216ad=_0x9216ad-0x1b8;let _0x222240=_0xb9b3b8[_0x9216ad];return _0x222240;},_0x9216(_0x5d0f87,_0x484d84);}Object[_0x1d8b69(0x1ba)](exports,_0x1d8b69(0x1d0),{'value':!![]});function _0xb9b3(){const _0x46d3dd=['__esModule','221448oRYokn','isArray','defineProperty','CustomError','13643hVXCkY','forEach','7674615djxGdu','626421wPdboq','366JSncqy','./lib/utils/CustomError','exit','customMessage','203fmKzxP','21610665KoUVgG','error','slice','./lib/Cli','argv','Cli','log','message','15682WtrVWf','11870944cjgljD','code'];_0xb9b3=function(){return _0x46d3dd;};return _0xb9b3();}const Cli_1=require(_0x1d8b69(0x1c8)),CustomError_1=require(_0x1d8b69(0x1c1));module['exports']=async()=>{const _0x546f03=_0x1d8b69,_0x146763=new Cli_1[(_0x546f03(0x1ca))](),_0x3097b4=Cli_1[_0x546f03(0x1ca)][_0x546f03(0x1cb)],_0x47b4b9=process[_0x546f03(0x1c9)][_0x546f03(0x1c7)](0x2);let _0x2f1cf1;try{_0x2f1cf1=await _0x146763['run'](_0x47b4b9);}catch(_0xb3cd9f){if(_0xb3cd9f instanceof CustomError_1[_0x546f03(0x1bb)]){const _0x59d995=_0xb3cd9f[_0x546f03(0x1c3)];Array[_0x546f03(0x1b9)](_0x59d995)?_0x59d995[_0x546f03(0x1bd)](_0x328cb7=>{const _0x42f356=_0x546f03;_0x3097b4[_0x42f356(0x1c6)](_0x328cb7[_0x42f356(0x1cf)]+':\x20'+_0x328cb7[_0x42f356(0x1cc)]);}):_0x3097b4[_0x546f03(0x1c6)](_0x59d995[_0x546f03(0x1cf)]+':\x20'+_0x59d995[_0x546f03(0x1cc)]);}else _0x3097b4[_0x546f03(0x1c6)](_0xb3cd9f[_0x546f03(0x1cc)]);_0x2f1cf1=![];}!_0x2f1cf1?process['exit'](0x1):process[_0x546f03(0x1c2)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x4667(_0x33dfc1,_0x9a491a){const _0x3f3f16=_0x3f3f();return _0x4667=function(_0x46672d,_0x21650d){_0x46672d=_0x46672d-0x100;let _0x48c1ad=_0x3f3f16[_0x46672d];return _0x48c1ad;},_0x4667(_0x33dfc1,_0x9a491a);}const _0x812a15=_0x4667;(function(_0x260b6c,_0x1d5b4b){const _0x190f17=_0x4667,_0x3cf652=_0x260b6c();while(!![]){try{const _0x3958a1=-parseInt(_0x190f17(0x105))/0x1*(parseInt(_0x190f17(0x100))/0x2)+parseInt(_0x190f17(0x129))/0x3*(-parseInt(_0x190f17(0x126))/0x4)+parseInt(_0x190f17(0x119))/0x5*(-parseInt(_0x190f17(0x11e))/0x6)+-parseInt(_0x190f17(0x114))/0x7*(-parseInt(_0x190f17(0x11a))/0x8)+-parseInt(_0x190f17(0x10f))/0x9+-parseInt(_0x190f17(0x124))/0xa+parseInt(_0x190f17(0x113))/0xb;if(_0x3958a1===_0x1d5b4b)break;else _0x3cf652['push'](_0x3cf652['shift']());}catch(_0x341243){_0x3cf652['push'](_0x3cf652['shift']());}}}(_0x3f3f,0xc4c48));function _0x3f3f(){const _0x15e0a6=['length','setFetch','5ooWqyz','88gieBpz','fetch','setDownloadFile','minimist','1635606mrVWAl','ConsoleLog','node','./cmds/help','Cli','./cmds/build','8261910vAAwJc','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','2438504BEyNoA','store','setDecompressResponseBuffer','3xFOMRk','downloadFile','751968gsvZkv','./utils/FetchUtils-1','run','fetchUtils','help','3yutcKI','__esModule','versions','version','semver','publish','defineProperty','./cmds/version','decompressResponseBuffer','Current\x20Node.js\x20version\x20is\x20','174465qGzTaM','./utils/fetch','build','major','34821523xkAnTl','315714gDdLMu','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','../lib/utils/Log'];_0x3f3f=function(){return _0x15e0a6;};return _0x3f3f();}Object[_0x812a15(0x10b)](exports,_0x812a15(0x106),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require(_0x812a15(0x11d)),semver_1=require(_0x812a15(0x109)),Log_1=require(_0x812a15(0x116)),FetchUtils_1_1=require(_0x812a15(0x101)),help_1=require(_0x812a15(0x121)),build_1=require(_0x812a15(0x123)),version_1=require(_0x812a15(0x10c)),fetch_1=require(_0x812a15(0x110));class Cli{async[_0x812a15(0x102)](_0x5c5343){const _0x499546=_0x812a15;if((0x0,semver_1[_0x499546(0x112)])(process['versions'][_0x499546(0x120)])<0xe)throw new Error(_0x499546(0x10e)+process[_0x499546(0x107)][_0x499546(0x120)]+'.'+_0x499546(0x125));FetchUtils_1_1[_0x499546(0x103)][_0x499546(0x118)](fetch_1[_0x499546(0x11b)]),FetchUtils_1_1['fetchUtils'][_0x499546(0x11c)](fetch_1[_0x499546(0x12a)]),FetchUtils_1_1['fetchUtils'][_0x499546(0x128)](fetch_1[_0x499546(0x10d)]);const _0x3dcb47=minimist(_0x5c5343);let _0x92af96=undefined;if(_0x3dcb47['_'][_0x499546(0x117)]===0x0){if(_0x3dcb47[_0x499546(0x108)])_0x92af96=_0x499546(0x108);else _0x3dcb47[_0x499546(0x104)]&&(_0x92af96=_0x499546(0x104));}else _0x92af96=_0x3dcb47['_'][0x0];!_0x92af96&&(_0x92af96=_0x499546(0x104));switch(_0x92af96){case'help':case'h':return await(0x0,help_1['help'])(_0x3dcb47);case _0x499546(0x111):return await(0x0,build_1['start'])(_0x3dcb47);case _0x499546(0x10a):return await(0x0,build_1[_0x499546(0x127)])(_0x3dcb47);case _0x499546(0x102):return await(0x0,build_1[_0x499546(0x102)])(_0x3dcb47);case _0x499546(0x108):{return await(0x0,version_1[_0x499546(0x108)])();}default:throw new Error('\x22'+_0x92af96+_0x499546(0x115));}}}exports[_0x812a15(0x122)]=Cli,Cli['log']=new Log_1[(_0x812a15(0x11f))]('webspatial-builder');
1
+ 'use strict';function _0x28d3(_0xc97b13,_0x3566af){const _0x12d6b4=_0x12d6();return _0x28d3=function(_0x28d34b,_0x3687b6){_0x28d34b=_0x28d34b-0x19b;let _0x4d1a8b=_0x12d6b4[_0x28d34b];return _0x4d1a8b;},_0x28d3(_0xc97b13,_0x3566af);}const _0x36f9fc=_0x28d3;(function(_0x16d0a3,_0xa609c2){const _0x154b4c=_0x28d3,_0x1f8140=_0x16d0a3();while(!![]){try{const _0xe9dc5f=parseInt(_0x154b4c(0x1ba))/0x1*(parseInt(_0x154b4c(0x1a4))/0x2)+-parseInt(_0x154b4c(0x1c1))/0x3*(-parseInt(_0x154b4c(0x1be))/0x4)+-parseInt(_0x154b4c(0x1b9))/0x5+-parseInt(_0x154b4c(0x1b5))/0x6+parseInt(_0x154b4c(0x1a6))/0x7+-parseInt(_0x154b4c(0x1b2))/0x8*(-parseInt(_0x154b4c(0x1bb))/0x9)+-parseInt(_0x154b4c(0x1ab))/0xa;if(_0xe9dc5f===_0xa609c2)break;else _0x1f8140['push'](_0x1f8140['shift']());}catch(_0x1c2a35){_0x1f8140['push'](_0x1f8140['shift']());}}}(_0x12d6,0x25c9d));function _0x12d6(){const _0x219c7f=['901647lqGtTb','./cmds/help','./utils/FetchUtils-1','webspatial-builder','./cmds/launch','setDownloadFile','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','../lib/utils/Log','start','Cli','versions','store','defineProperty','log','95962sELSrE','./utils/fetch','1162308KSExLL','version','setFetch','__esModule','downloadFile','5496950RYBKab','major','./cmds/version','fetchUtils','decompressResponseBuffer','fetch','run','2372824ypbNws','setDecompressResponseBuffer','launch','133026qGFayb','length','publish','shutdown','422650UFAhRG','1cxzpkr','9yAQGdZ','semver','help','4rpboFS','Current\x20Node.js\x20version\x20is\x20','minimist'];_0x12d6=function(){return _0x219c7f;};return _0x12d6();}Object[_0x36f9fc(0x1a2)](exports,_0x36f9fc(0x1a9),{'value':!![]}),exports[_0x36f9fc(0x19f)]=void 0x0;const minimist=require(_0x36f9fc(0x1c0)),semver_1=require(_0x36f9fc(0x1bc)),Log_1=require(_0x36f9fc(0x19d)),FetchUtils_1_1=require(_0x36f9fc(0x1c3)),help_1=require(_0x36f9fc(0x1c2)),build_1=require('./cmds/build'),version_1=require(_0x36f9fc(0x1ad)),fetch_1=require(_0x36f9fc(0x1a5)),launch_1=require(_0x36f9fc(0x1c5)),shutdown_1=require('./cmds/shutdown');class Cli{async['run'](_0x266258){const _0xf9610=_0x36f9fc;if((0x0,semver_1[_0xf9610(0x1ac)])(process[_0xf9610(0x1a0)]['node'])<0xe)throw new Error(_0xf9610(0x1bf)+process[_0xf9610(0x1a0)]['node']+'.'+_0xf9610(0x19c));FetchUtils_1_1[_0xf9610(0x1ae)][_0xf9610(0x1a8)](fetch_1[_0xf9610(0x1b0)]),FetchUtils_1_1[_0xf9610(0x1ae)][_0xf9610(0x19b)](fetch_1[_0xf9610(0x1aa)]),FetchUtils_1_1['fetchUtils'][_0xf9610(0x1b3)](fetch_1[_0xf9610(0x1af)]);const _0x309e0d=minimist(_0x266258);let _0x451c23=undefined;if(_0x309e0d['_'][_0xf9610(0x1b6)]===0x0){if(_0x309e0d['version'])_0x451c23=_0xf9610(0x1a7);else _0x309e0d[_0xf9610(0x1bd)]&&(_0x451c23=_0xf9610(0x1bd));}else _0x451c23=_0x309e0d['_'][0x0];!_0x451c23&&(_0x451c23='help');switch(_0x451c23){case _0xf9610(0x1bd):case'h':return await(0x0,help_1[_0xf9610(0x1bd)])(_0x309e0d);case'build':return await(0x0,build_1[_0xf9610(0x19e)])(_0x309e0d);case _0xf9610(0x1b7):return await(0x0,build_1[_0xf9610(0x1a1)])(_0x309e0d);case _0xf9610(0x1b1):return await(0x0,build_1[_0xf9610(0x1b1)])(_0x309e0d);case _0xf9610(0x1b4):return(0x0,launch_1[_0xf9610(0x1b4)])(_0x309e0d);case'shutdown':return(0x0,shutdown_1[_0xf9610(0x1b8)])(_0x309e0d);case _0xf9610(0x1a7):{return await(0x0,version_1[_0xf9610(0x1a7)])();}default:throw new Error('\x22'+_0x451c23+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports['Cli']=Cli,Cli[_0x36f9fc(0x1a3)]=new Log_1['ConsoleLog'](_0x36f9fc(0x1c4));
@@ -1 +1 @@
1
- 'use strict';const _0xa79848=_0x18cc;(function(_0xb47792,_0x263af5){const _0x5e4aa3=_0x18cc,_0x3f1383=_0xb47792();while(!![]){try{const _0x4d0f92=parseInt(_0x5e4aa3(0xca))/0x1+parseInt(_0x5e4aa3(0xc7))/0x2+-parseInt(_0x5e4aa3(0xc8))/0x3+-parseInt(_0x5e4aa3(0xc4))/0x4+-parseInt(_0x5e4aa3(0xd9))/0x5+-parseInt(_0x5e4aa3(0xe3))/0x6*(parseInt(_0x5e4aa3(0xd7))/0x7)+parseInt(_0x5e4aa3(0xd0))/0x8;if(_0x4d0f92===_0x263af5)break;else _0x3f1383['push'](_0x3f1383['shift']());}catch(_0x3ecc76){_0x3f1383['push'](_0x3f1383['shift']());}}}(_0x51b0,0x5a301));Object[_0xa79848(0xde)](exports,_0xa79848(0xcd),{'value':!![]}),exports['start']=start,exports[_0xa79848(0xdc)]=store,exports[_0xa79848(0xcc)]=run;const pwa_1=require('../pwa'),resource_1=require(_0xa79848(0xda)),xcode_1=require(_0xa79848(0xc5)),check_1=require(_0xa79848(0xc1));function _0x18cc(_0x351c45,_0xaa013f){const _0x51b0a3=_0x51b0();return _0x18cc=function(_0x18cc2e,_0x419701){_0x18cc2e=_0x18cc2e-0xbf;let _0x2e904d=_0x51b0a3[_0x18cc2e];return _0x2e904d;},_0x18cc(_0x351c45,_0xaa013f);}async function start(_0x1e8b4b,_0x466491=![]){const _0x59ca33=_0xa79848;var _0x1d4f2a;(0x0,check_1[_0x59ca33(0xcb)])(_0x1e8b4b,_0x466491),resource_1['ResourceManager'][_0x59ca33(0xd3)](_0x1e8b4b[_0x59ca33(0xcf)]),console[_0x59ca33(0xd5)]('-------------------\x20build\x20start\x20-------------------');let _0x228026=await pwa_1[_0x59ca33(0xdb)]['generator'](_0x1e8b4b,_0x466491);!_0x228026[_0x59ca33(0xdf)]&&(await resource_1[_0x59ca33(0xce)][_0x59ca33(0xe0)]((_0x1d4f2a=_0x1e8b4b[_0x59ca33(0xc3)])!==null&&_0x1d4f2a!==void 0x0?_0x1d4f2a:_0x59ca33(0xd1)),console[_0x59ca33(0xd5)]('move\x20web\x20project:\x20ok'));let _0x2073a3=await resource_1[_0x59ca33(0xce)][_0x59ca33(0xe2)](_0x228026);return console[_0x59ca33(0xd5)]('generate\x20icon:\x20ok'),await xcode_1['XcodeManager'][_0x59ca33(0xd8)]({'icon':_0x2073a3,'manifestInfo':_0x228026,'teamId':_0x1e8b4b[_0x59ca33(0xd4)],'version':_0x1e8b4b[_0x59ca33(0xe1)],'buildType':_0x1e8b4b['buildType'],'export':_0x1e8b4b[_0x59ca33(0xdd)]},_0x466491),console['log']('-------------------\x20build\x20end\x20-------------------'),_0x228026;}function _0x51b0(){const _0x4b80ca=['parseProject','41775Llcsrl','../resource','PWAGenerator','store','export','defineProperty','fromNet','moveProjectFrom','version','generateIcon','439884snBZrx','name','json','./check','app-store-connect','project','2323668iMsFzE','../xcode','XcodeManager','1474374HxfNtc','2082669suvIAn','runWithSimulator','285920sxELzX','checkBuildParams','run','__esModule','ResourceManager','platform','10903496OTkgkK','dist','upload','checkPlatformPath','teamId','log','buildType','70FeYCSM'];_0x51b0=function(){return _0x4b80ca;};return _0x51b0();}async function store(_0x47ecda){const _0x975f7f=_0xa79848;resource_1[_0x975f7f(0xce)][_0x975f7f(0xd3)](_0x47ecda[_0x975f7f(0xcf)]),(0x0,check_1['checkStoreParams'])(_0x47ecda);let _0x549257={'name':'WebSpatialTest'};_0x47ecda[_0x975f7f(0xd6)]=_0x975f7f(0xc2);if(_0x47ecda[_0x975f7f(0xbf)])_0x549257[_0x975f7f(0xbf)]=_0x47ecda[_0x975f7f(0xbf)];else{const _0x51b02d=await start(_0x47ecda);if(!_0x51b02d)return![];_0x549257[_0x975f7f(0xbf)]=_0x51b02d['json'][_0x975f7f(0xbf)];}return await xcode_1[_0x975f7f(0xc6)][_0x975f7f(0xd2)](_0x47ecda,_0x549257),!![];}async function run(_0x401d96){const _0x1bd131=_0xa79848;let _0x191223={'name':'WebSpatialTest','id':''};const _0x56e298=await start(_0x401d96,!![]);if(!_0x56e298)return![];return _0x191223[_0x1bd131(0xbf)]=_0x56e298[_0x1bd131(0xc0)]['name'],_0x191223['id']=_0x56e298[_0x1bd131(0xc0)]['id'],await xcode_1['XcodeManager'][_0x1bd131(0xc9)](_0x191223),!![];}
1
+ 'use strict';const _0x44dd44=_0x407f;(function(_0x3543c5,_0x399da6){const _0x13e987=_0x407f,_0x2a59be=_0x3543c5();while(!![]){try{const _0x3bdbe7=parseInt(_0x13e987(0x1c4))/0x1+-parseInt(_0x13e987(0x1d7))/0x2*(parseInt(_0x13e987(0x1d1))/0x3)+parseInt(_0x13e987(0x1e4))/0x4+-parseInt(_0x13e987(0x1d6))/0x5+parseInt(_0x13e987(0x1d8))/0x6*(parseInt(_0x13e987(0x1da))/0x7)+-parseInt(_0x13e987(0x1c5))/0x8*(parseInt(_0x13e987(0x1e0))/0x9)+-parseInt(_0x13e987(0x1d3))/0xa;if(_0x3bdbe7===_0x399da6)break;else _0x2a59be['push'](_0x2a59be['shift']());}catch(_0x4b3a50){_0x2a59be['push'](_0x2a59be['shift']());}}}(_0x45fd,0x781dd));function _0x45fd(){const _0x42d434=['teamId','1342508kjBbDd','log','project','json','upload','store','defineProperty','964125MGRIOB','24136CPKSEu','checkBuildParams','-------------------\x20build\x20start\x20-------------------','../resource','__esModule','PWAGenerator','name','moveProjectFrom','platform','dist','ResourceManager','./check','1194hkmjdT','parseProject','10386910xJEfqX','XcodeManager','start','402765KXBtZc','2546SbjiuW','48osIQPH','../xcode','802991kWtIfM','move\x20web\x20project:\x20ok','checkPlatformPath','app-store-connect','../pwa','generateIcon','297DxOeYY','checkStoreParams','generate\x20icon:\x20ok'];_0x45fd=function(){return _0x42d434;};return _0x45fd();}Object[_0x44dd44(0x1c3)](exports,_0x44dd44(0x1c9),{'value':!![]}),exports[_0x44dd44(0x1d5)]=start,exports[_0x44dd44(0x1c2)]=store,exports['run']=run;const pwa_1=require(_0x44dd44(0x1de)),resource_1=require(_0x44dd44(0x1c8)),xcode_1=require(_0x44dd44(0x1d9)),check_1=require(_0x44dd44(0x1d0));async function start(_0x54c5ff,_0x4181ee=![]){const _0x2c130a=_0x44dd44;var _0x48a89e;(0x0,check_1[_0x2c130a(0x1c6)])(_0x54c5ff,_0x4181ee),resource_1['ResourceManager'][_0x2c130a(0x1dc)](_0x54c5ff[_0x2c130a(0x1cd)]),console[_0x2c130a(0x1be)](_0x2c130a(0x1c7));let _0x4d5f06=await pwa_1[_0x2c130a(0x1ca)]['generator'](_0x54c5ff,_0x4181ee);!_0x4d5f06['fromNet']&&(await resource_1[_0x2c130a(0x1cf)][_0x2c130a(0x1cc)]((_0x48a89e=_0x54c5ff[_0x2c130a(0x1bf)])!==null&&_0x48a89e!==void 0x0?_0x48a89e:_0x2c130a(0x1ce)),console[_0x2c130a(0x1be)](_0x2c130a(0x1db)));let _0x2ceba7=await resource_1[_0x2c130a(0x1cf)][_0x2c130a(0x1df)](_0x4d5f06);return console[_0x2c130a(0x1be)](_0x2c130a(0x1e2)),await xcode_1[_0x2c130a(0x1d4)][_0x2c130a(0x1d2)]({'icon':_0x2ceba7,'manifestInfo':_0x4d5f06,'teamId':_0x54c5ff[_0x2c130a(0x1e3)],'version':_0x54c5ff['version'],'buildType':_0x54c5ff['buildType'],'export':_0x54c5ff['export']},_0x4181ee),console[_0x2c130a(0x1be)]('-------------------\x20build\x20end\x20-------------------'),_0x4d5f06;}function _0x407f(_0x3868ea,_0x43fca9){const _0x45fd67=_0x45fd();return _0x407f=function(_0x407fd7,_0x282dfa){_0x407fd7=_0x407fd7-0x1be;let _0x4920cf=_0x45fd67[_0x407fd7];return _0x4920cf;},_0x407f(_0x3868ea,_0x43fca9);}async function store(_0x5a5f64){const _0x1cc32d=_0x44dd44;resource_1[_0x1cc32d(0x1cf)]['checkPlatformPath'](_0x5a5f64[_0x1cc32d(0x1cd)]),(0x0,check_1[_0x1cc32d(0x1e1)])(_0x5a5f64);let _0x245ed0={'name':'WebSpatialTest'};_0x5a5f64['buildType']=_0x1cc32d(0x1dd);if(_0x5a5f64[_0x1cc32d(0x1cb)])_0x245ed0['name']=_0x5a5f64[_0x1cc32d(0x1cb)];else{const _0x438936=await start(_0x5a5f64);if(!_0x438936)return![];_0x245ed0[_0x1cc32d(0x1cb)]=_0x438936['json'][_0x1cc32d(0x1cb)];}return await xcode_1['XcodeManager'][_0x1cc32d(0x1c1)](_0x5a5f64,_0x245ed0),!![];}async function run(_0x1f511f){const _0x4e77b2=_0x44dd44;let _0x343434={'name':'WebSpatialTest','id':''};const _0xcb3bbc=await start(_0x1f511f,!![]);if(!_0xcb3bbc)return![];return _0x343434[_0x4e77b2(0x1cb)]=_0xcb3bbc[_0x4e77b2(0x1c0)][_0x4e77b2(0x1cb)],_0x343434['id']=_0xcb3bbc[_0x4e77b2(0x1c0)]['id'],await xcode_1[_0x4e77b2(0x1d4)]['runWithSimulator'](_0x343434),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x34d31f=_0x1b86;(function(_0x5d4ced,_0x2bc718){const _0x406b00=_0x1b86,_0x116a40=_0x5d4ced();while(!![]){try{const _0x141c52=-parseInt(_0x406b00(0x89))/0x1*(parseInt(_0x406b00(0x85))/0x2)+parseInt(_0x406b00(0x86))/0x3*(parseInt(_0x406b00(0x87))/0x4)+-parseInt(_0x406b00(0x83))/0x5+parseInt(_0x406b00(0x93))/0x6*(parseInt(_0x406b00(0x9b))/0x7)+-parseInt(_0x406b00(0x82))/0x8*(-parseInt(_0x406b00(0x90))/0x9)+-parseInt(_0x406b00(0x9a))/0xa+-parseInt(_0x406b00(0x91))/0xb;if(_0x141c52===_0x2bc718)break;else _0x116a40['push'](_0x116a40['shift']());}catch(_0x2afcdb){_0x116a40['push'](_0x116a40['shift']());}}}(_0x435b,0xba5b1));function _0x1b86(_0x587ff3,_0xc0019e){const _0x435b46=_0x435b();return _0x1b86=function(_0x1b8625,_0x43a4b0){_0x1b8625=_0x1b8625-0x82;let _0x3afd0b=_0x435b46[_0x1b8625];return _0x3afd0b;},_0x1b86(_0x587ff3,_0xc0019e);}Object['defineProperty'](exports,_0x34d31f(0x97),{'value':!![]}),exports[_0x34d31f(0x8f)]=checkBuildParams,exports[_0x34d31f(0x88)]=checkStoreParams;const validate_1=require(_0x34d31f(0x8d));function checkBuildParams(_0x520901,_0x3c52a7=![]){const _0x5b9f8d=_0x34d31f;if(_0x520901['manifest']&&_0x520901[_0x5b9f8d(0x94)])throw new Error(_0x5b9f8d(0x95));if(!_0x520901['teamId']&&!_0x3c52a7)throw new Error(_0x5b9f8d(0x8a));if(_0x520901['base']){if((0x0,validate_1[_0x5b9f8d(0x92)])(_0x520901[_0x5b9f8d(0x99)]))try{const _0x427ae5=new URL(_0x520901[_0x5b9f8d(0x99)]);if(_0x427ae5[_0x5b9f8d(0x8b)]||_0x427ae5[_0x5b9f8d(0x8e)])throw new Error('The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.');}catch(_0x52da47){throw new Error(_0x5b9f8d(0x98));}else{const _0x314163=/(\?.*|\.\w+|#.*)$/,_0x2ddc48=_0x520901[_0x5b9f8d(0x99)]['split']('/')[_0x5b9f8d(0x8c)]()||'';if(_0x314163[_0x5b9f8d(0x84)](_0x2ddc48))throw new Error(_0x5b9f8d(0x98));}}}function checkStoreParams(_0x4c66c0){const _0xf7c7fd=_0x34d31f;if(!(_0x4c66c0['u']&&_0x4c66c0['p']))throw new Error('--u\x20and\x20--p\x20is\x20required');if(!_0x4c66c0['version'])throw new Error(_0xf7c7fd(0x96));}function _0x435b(){const _0x5741c1=['9LCIcUF','--teamId\x20is\x20required','search','pop','../pwa/validate','hash','checkBuildParams','5823pGODim','1281280WBYdSh','validateURL','2490mkNVXs','manifest-url','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','version\x20is\x20required','__esModule','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','base','9294480WENJRb','17647XSTuIj','11976NTUTgY','2413690NFewFm','test','247812KkfrXm','5241kkVgvh','3188mgndpU','checkStoreParams'];_0x435b=function(){return _0x5741c1;};return _0x435b();}
1
+ 'use strict';function _0x2be2(_0x14ee52,_0x31d797){const _0xb76256=_0xb762();return _0x2be2=function(_0x2be2a0,_0x50faf5){_0x2be2a0=_0x2be2a0-0x16a;let _0x320eec=_0xb76256[_0x2be2a0];return _0x320eec;},_0x2be2(_0x14ee52,_0x31d797);}const _0x175ae8=_0x2be2;(function(_0x23dd62,_0x4eb1cc){const _0x4d8af1=_0x2be2,_0x79ae7f=_0x23dd62();while(!![]){try{const _0x1613f2=parseInt(_0x4d8af1(0x16b))/0x1*(-parseInt(_0x4d8af1(0x182))/0x2)+parseInt(_0x4d8af1(0x175))/0x3+parseInt(_0x4d8af1(0x181))/0x4+parseInt(_0x4d8af1(0x180))/0x5*(-parseInt(_0x4d8af1(0x183))/0x6)+-parseInt(_0x4d8af1(0x17a))/0x7+-parseInt(_0x4d8af1(0x17f))/0x8+parseInt(_0x4d8af1(0x17b))/0x9*(parseInt(_0x4d8af1(0x16e))/0xa);if(_0x1613f2===_0x4eb1cc)break;else _0x79ae7f['push'](_0x79ae7f['shift']());}catch(_0x2626b4){_0x79ae7f['push'](_0x79ae7f['shift']());}}}(_0xb762,0x9add3));Object[_0x175ae8(0x179)](exports,'__esModule',{'value':!![]}),exports['checkBuildParams']=checkBuildParams,exports['checkStoreParams']=checkStoreParams;const validate_1=require(_0x175ae8(0x177));function checkBuildParams(_0x2d7e5b,_0x3de8db=![]){const _0x38c1ac=_0x175ae8;if(_0x2d7e5b[_0x38c1ac(0x178)]&&_0x2d7e5b[_0x38c1ac(0x174)])throw new Error(_0x38c1ac(0x171));if(!_0x2d7e5b[_0x38c1ac(0x176)]&&!_0x3de8db)throw new Error(_0x38c1ac(0x173));if(_0x2d7e5b[_0x38c1ac(0x17d)]){if((0x0,validate_1['validateURL'])(_0x2d7e5b['base']))try{const _0x48f2f7=new URL(_0x2d7e5b[_0x38c1ac(0x17d)]);if(_0x48f2f7[_0x38c1ac(0x16f)]||_0x48f2f7[_0x38c1ac(0x172)])throw new Error(_0x38c1ac(0x170));}catch(_0x23960b){throw new Error(_0x38c1ac(0x170));}else{const _0x51ec6d=/(\?.*|\.\w+|#.*)$/,_0x455cc6=_0x2d7e5b['base'][_0x38c1ac(0x17e)]('/')[_0x38c1ac(0x16d)]()||'';if(_0x51ec6d[_0x38c1ac(0x16a)](_0x455cc6))throw new Error(_0x38c1ac(0x170));}}}function _0xb762(){const _0x2bf937=['split','550888QxGvaq','3957755NdoPrt','636260cBrrxm','681934EUMrdU','6tikpfw','test','3EKZrEZ','--u\x20and\x20--p\x20is\x20required','pop','10802420xoQQtU','search','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','hash','--teamId\x20is\x20required','manifest-url','2403897SFYBBW','teamId','../pwa/validate','manifest','defineProperty','4222484cdxiGN','18akIsmT','version\x20is\x20required','base'];_0xb762=function(){return _0x2bf937;};return _0xb762();}function checkStoreParams(_0x438206){const _0x3d8569=_0x175ae8;if(!(_0x438206['u']&&_0x438206['p']))throw new Error(_0x3d8569(0x16c));if(!_0x438206['version'])throw new Error(_0x3d8569(0x17c));}
@@ -1 +1 @@
1
- 'use strict';const _0x589f5d=_0xaaaa;(function(_0x230190,_0x2093e2){const _0x3bd68e=_0xaaaa,_0x2ebf78=_0x230190();while(!![]){try{const _0x414860=parseInt(_0x3bd68e(0x192))/0x1+parseInt(_0x3bd68e(0x1a4))/0x2*(-parseInt(_0x3bd68e(0x1a3))/0x3)+-parseInt(_0x3bd68e(0x1ac))/0x4*(-parseInt(_0x3bd68e(0x1ab))/0x5)+-parseInt(_0x3bd68e(0x19a))/0x6+parseInt(_0x3bd68e(0x1a7))/0x7*(-parseInt(_0x3bd68e(0x196))/0x8)+-parseInt(_0x3bd68e(0x19d))/0x9+parseInt(_0x3bd68e(0x1a6))/0xa;if(_0x414860===_0x2093e2)break;else _0x2ebf78['push'](_0x2ebf78['shift']());}catch(_0x5e4537){_0x2ebf78['push'](_0x2ebf78['shift']());}}}(_0x5150,0xcea9f));function _0xaaaa(_0x39501d,_0x58feec){const _0x5150e0=_0x5150();return _0xaaaa=function(_0xaaaab1,_0x3e8f4b){_0xaaaab1=_0xaaaab1-0x190;let _0x2f81d3=_0x5150e0[_0xaaaab1];return _0x2f81d3;},_0xaaaa(_0x39501d,_0x58feec);}function _0x5150(){const _0x162c79=['webspatial\x20[command]\x20<options>','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','join','../utils/Log','main','3913269wsrlwr','2qZKlGS','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','44208120wKJaYP','11155823PnRmXX','get','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','ConsoleLog','33510QXZCIx','524AdSflZ','dev','build','publish','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','112791ewhxza','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','8Jqgkxr','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>','help','Usage:','925326IqaJQJ','help\x20................\x20shows\x20this\x20menu','info','13614633PvYuNJ'];_0x5150=function(){return _0x162c79;};return _0x5150();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x589f5d(0x198)]=help;const Log_1=require(_0x589f5d(0x1a1)),HELP_MESSAGES=new Map([[_0x589f5d(0x1a2),[_0x589f5d(0x19e),'','',_0x589f5d(0x19b),_0x589f5d(0x191)+_0x589f5d(0x1a5),_0x589f5d(0x19f),_0x589f5d(0x195)]['join']('\x0a')],[_0x589f5d(0x1ae),[_0x589f5d(0x199),'','',_0x589f5d(0x190),'','',_0x589f5d(0x1a9)]['join']('\x0a')],[_0x589f5d(0x1ad),[_0x589f5d(0x199),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','','webspatial\x20dev\x20--manifest-url=<net-manifest-url>']['join']('\x0a')],[_0x589f5d(0x1af),[_0x589f5d(0x199),'','',_0x589f5d(0x197),'','',_0x589f5d(0x193),'','',_0x589f5d(0x194)][_0x589f5d(0x1a0)]('\x0a')]]);async function help(_0x302e88,_0x59d950=new Log_1[(_0x589f5d(0x1aa))]('help')){const _0x4a9feb=_0x589f5d,_0x11de67=_0x302e88['_'][0x1],_0xc31f6c=HELP_MESSAGES['get'](_0x11de67)||HELP_MESSAGES[_0x4a9feb(0x1a8)](_0x4a9feb(0x1a2));return _0x59d950[_0x4a9feb(0x19c)](_0xc31f6c),!![];}
1
+ 'use strict';const _0x2c15cc=_0x3d43;function _0x3d43(_0x19b221,_0x127aee){const _0x1ed51c=_0x1ed5();return _0x3d43=function(_0x3d4315,_0x113b58){_0x3d4315=_0x3d4315-0x79;let _0x19357c=_0x1ed51c[_0x3d4315];return _0x19357c;},_0x3d43(_0x19b221,_0x127aee);}(function(_0x4db358,_0x59b1a2){const _0x2bd40c=_0x3d43,_0x4cbba0=_0x4db358();while(!![]){try{const _0x37e7f7=-parseInt(_0x2bd40c(0x83))/0x1+-parseInt(_0x2bd40c(0x93))/0x2+-parseInt(_0x2bd40c(0x87))/0x3+-parseInt(_0x2bd40c(0x85))/0x4+-parseInt(_0x2bd40c(0x7d))/0x5+parseInt(_0x2bd40c(0x79))/0x6+parseInt(_0x2bd40c(0x81))/0x7;if(_0x37e7f7===_0x59b1a2)break;else _0x4cbba0['push'](_0x4cbba0['shift']());}catch(_0x2b5190){_0x4cbba0['push'](_0x4cbba0['shift']());}}}(_0x1ed5,0x6e13b));Object[_0x2c15cc(0x7c)](exports,'__esModule',{'value':!![]}),exports[_0x2c15cc(0x88)]=help;const Log_1=require(_0x2c15cc(0x80)),HELP_MESSAGES=new Map([[_0x2c15cc(0x8d),['webspatial\x20[command]\x20<options>','','',_0x2c15cc(0x91),_0x2c15cc(0x7f)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project',_0x2c15cc(0x82),'publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect'][_0x2c15cc(0x7a)]('\x0a')],[_0x2c15cc(0x8e),[_0x2c15cc(0x84),'','',_0x2c15cc(0x8c),'','',_0x2c15cc(0x8f)][_0x2c15cc(0x7a)]('\x0a')],[_0x2c15cc(0x90),[_0x2c15cc(0x84),'','',_0x2c15cc(0x94),'','',_0x2c15cc(0x89)][_0x2c15cc(0x7a)]('\x0a')],[_0x2c15cc(0x8a),[_0x2c15cc(0x84),'','',_0x2c15cc(0x86),'','',_0x2c15cc(0x7b),'','',_0x2c15cc(0x7e)][_0x2c15cc(0x7a)]('\x0a')]]);function _0x1ed5(){const _0x53c5d7=['join','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','defineProperty','3186420CZjUjt','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','../utils/Log','12296256Ixvgeu','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','140182DekiQa','Usage:','1099996qhmtcR','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>','380205KOYpOx','help','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','publish','get','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','main','build','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','dev','help\x20................\x20shows\x20this\x20menu','ConsoleLog','296556VHAPDK','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','130470QstgCQ'];_0x1ed5=function(){return _0x53c5d7;};return _0x1ed5();}async function help(_0x428b48,_0x1ac165=new Log_1[(_0x2c15cc(0x92))](_0x2c15cc(0x88))){const _0x39634d=_0x2c15cc,_0x40e508=_0x428b48['_'][0x1],_0x213fa3=HELP_MESSAGES[_0x39634d(0x8b)](_0x40e508)||HELP_MESSAGES[_0x39634d(0x8b)]('main');return _0x1ac165['info'](_0x213fa3),!![];}
@@ -0,0 +1,2 @@
1
+ import { ParsedArgs } from 'minimist';
2
+ export declare function launch(args: ParsedArgs): Promise<boolean>;
@@ -0,0 +1 @@
1
+ 'use strict';const _0x3f4ab9=_0xfd91;(function(_0x340d09,_0x40ef2d){const _0x2104b8=_0xfd91,_0x1e102c=_0x340d09();while(!![]){try{const _0xb3379d=-parseInt(_0x2104b8(0x1ef))/0x1+parseInt(_0x2104b8(0x1f2))/0x2+parseInt(_0x2104b8(0x1ec))/0x3+-parseInt(_0x2104b8(0x1f6))/0x4+-parseInt(_0x2104b8(0x1f9))/0x5*(-parseInt(_0x2104b8(0x1f0))/0x6)+-parseInt(_0x2104b8(0x1f1))/0x7+-parseInt(_0x2104b8(0x1f7))/0x8*(parseInt(_0x2104b8(0x1ed))/0x9);if(_0xb3379d===_0x40ef2d)break;else _0x1e102c['push'](_0x1e102c['shift']());}catch(_0x396aa7){_0x1e102c['push'](_0x1e102c['shift']());}}}(_0x68e2,0x3bed6));function _0xfd91(_0x5d976d,_0x5e4480){const _0x68e254=_0x68e2();return _0xfd91=function(_0xfd911b,_0xc61b7f){_0xfd911b=_0xfd911b-0x1ec;let _0x44ec44=_0x68e254[_0xfd911b];return _0x44ec44;},_0xfd91(_0x5d976d,_0x5e4480);}Object['defineProperty'](exports,_0x3f4ab9(0x1ee),{'value':!![]}),exports[_0x3f4ab9(0x1f5)]=launch;const xcrun_1=require(_0x3f4ab9(0x1f4));function _0x68e2(){const _0x114e9f=['../xcode/xcrun','launch','663308UdKtqD','26672EUjDvW','default','13955uDghpK','428241nYehXj','927VYMRMw','__esModule','80961YMZCub','768hlvKSt','948948qVGOhq','942442YxgFXv','launchWithSimulator'];_0x68e2=function(){return _0x114e9f;};return _0x68e2();}async function launch(_0x8319d2){const _0x449d9e=_0x3f4ab9;var _0x236a71;const _0x2e956e=(_0x236a71=_0x8319d2['bundle-id'])!==null&&_0x236a71!==void 0x0?_0x236a71:'com.webspatial.test';return xcrun_1[_0x449d9e(0x1f8)][_0x449d9e(0x1f3)](_0x2e956e),!![];}
@@ -0,0 +1,2 @@
1
+ import { ParsedArgs } from 'minimist';
2
+ export declare function shutdown(args: ParsedArgs): Promise<boolean>;
@@ -0,0 +1 @@
1
+ 'use strict';function _0x3811(){const _0xce63a3=['../xcode/xcrun','217250mmwyZf','462440Dtcgpb','763592RPTErR','2882810RAsPZm','246093tHXYKr','2647827sJkOJp','261uWHyVf','__esModule','shutdownSimulator','28siJWuI','default','3057702IUatwV','shutdown'];_0x3811=function(){return _0xce63a3;};return _0x3811();}const _0x5ee746=_0x2883;function _0x2883(_0x515e82,_0x1cdecf){const _0x38115f=_0x3811();return _0x2883=function(_0x28830c,_0x357700){_0x28830c=_0x28830c-0xab;let _0x327b56=_0x38115f[_0x28830c];return _0x327b56;},_0x2883(_0x515e82,_0x1cdecf);}(function(_0x47d29b,_0x38b75b){const _0x3c028c=_0x2883,_0x2ca25f=_0x47d29b();while(!![]){try{const _0x2a3dd6=parseInt(_0x3c028c(0xad))/0x1+parseInt(_0x3c028c(0xab))/0x2+parseInt(_0x3c028c(0xaf))/0x3*(parseInt(_0x3c028c(0xb4))/0x4)+parseInt(_0x3c028c(0xae))/0x5+parseInt(_0x3c028c(0xb6))/0x6+-parseInt(_0x3c028c(0xb0))/0x7+parseInt(_0x3c028c(0xac))/0x8*(-parseInt(_0x3c028c(0xb1))/0x9);if(_0x2a3dd6===_0x38b75b)break;else _0x2ca25f['push'](_0x2ca25f['shift']());}catch(_0x9c0f76){_0x2ca25f['push'](_0x2ca25f['shift']());}}}(_0x3811,0x74b37));Object['defineProperty'](exports,_0x5ee746(0xb2),{'value':!![]}),exports[_0x5ee746(0xb7)]=shutdown;const xcrun_1=require(_0x5ee746(0xb8));async function shutdown(_0x2fbadf){const _0x5a1f03=_0x5ee746;return xcrun_1[_0x5a1f03(0xb5)][_0x5a1f03(0xb3)](),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x5e6be4=_0x4ff0;(function(_0xb69ff,_0x569ceb){const _0x1c0246=_0x4ff0,_0x492c31=_0xb69ff();while(!![]){try{const _0x589ea7=parseInt(_0x1c0246(0x137))/0x1+-parseInt(_0x1c0246(0x13b))/0x2+-parseInt(_0x1c0246(0x134))/0x3+parseInt(_0x1c0246(0x141))/0x4+-parseInt(_0x1c0246(0x13d))/0x5*(-parseInt(_0x1c0246(0x139))/0x6)+parseInt(_0x1c0246(0x133))/0x7+-parseInt(_0x1c0246(0x13c))/0x8;if(_0x589ea7===_0x569ceb)break;else _0x492c31['push'](_0x492c31['shift']());}catch(_0xce3b2a){_0x492c31['push'](_0x492c31['shift']());}}}(_0x3843,0x89e6f));Object[_0x5e6be4(0x140)](exports,_0x5e6be4(0x13f),{'value':!![]}),exports[_0x5e6be4(0x138)]=version;const fs=require('fs'),path=require(_0x5e6be4(0x136)),Log_1=require(_0x5e6be4(0x12f));function _0x3843(){const _0x37b4c3=['3728656hEzsYp','2312930HDmGCc','parse','__esModule','defineProperty','1451724AfjqEL','../utils/Log','../../../package.json','ConsoleLog','info','3644144DoHYWl','1327989RzPoYd','toString','path','744055jsrGTZ','version','12iDfLcx','readFile','2158316piHpUS'];_0x3843=function(){return _0x37b4c3;};return _0x3843();}function _0x4ff0(_0x5662fa,_0x22adfd){const _0x384389=_0x3843();return _0x4ff0=function(_0x4ff046,_0x2a6648){_0x4ff046=_0x4ff046-0x12f;let _0x2d4934=_0x384389[_0x4ff046];return _0x2d4934;},_0x4ff0(_0x5662fa,_0x22adfd);}async function version(_0x36be45=new Log_1[(_0x5e6be4(0x131))](_0x5e6be4(0x138))){const _0x226257=_0x5e6be4,_0x322462=path['join'](__dirname,_0x226257(0x130)),_0x2ac66c=await(await fs['promises'][_0x226257(0x13a)](_0x322462))[_0x226257(0x135)](),_0x23435d=JSON[_0x226257(0x13e)](_0x2ac66c);return _0x36be45[_0x226257(0x132)](_0x23435d['version']),!![];}
1
+ 'use strict';const _0x2707fe=_0x1a24;function _0x4080(){const _0xa6cacf=['644392OCoABt','2868WyYDfS','__esModule','readFile','36NSGlGZ','toString','285880llTcxE','35001imQCJv','46TeTmix','parse','../../../package.json','defineProperty','join','10VMOOhx','promises','801655KannfQ','../utils/Log','version','519ILOliw','path','14366QnrlvY','4JDJOZg','315135KrQtot','ConsoleLog'];_0x4080=function(){return _0xa6cacf;};return _0x4080();}function _0x1a24(_0x28dd26,_0x396775){const _0x408069=_0x4080();return _0x1a24=function(_0x1a24ea,_0x438e35){_0x1a24ea=_0x1a24ea-0x1cd;let _0x5624e9=_0x408069[_0x1a24ea];return _0x5624e9;},_0x1a24(_0x28dd26,_0x396775);}(function(_0x9e5e88,_0x14d285){const _0x1c34a6=_0x1a24,_0x25cdc8=_0x9e5e88();while(!![]){try{const _0x3404c2=-parseInt(_0x1c34a6(0x1d4))/0x1+-parseInt(_0x1c34a6(0x1d5))/0x2*(parseInt(_0x1c34a6(0x1df))/0x3)+-parseInt(_0x1c34a6(0x1e2))/0x4*(-parseInt(_0x1c34a6(0x1dc))/0x5)+parseInt(_0x1c34a6(0x1d1))/0x6*(parseInt(_0x1c34a6(0x1d3))/0x7)+parseInt(_0x1c34a6(0x1cd))/0x8+-parseInt(_0x1c34a6(0x1e3))/0x9*(-parseInt(_0x1c34a6(0x1da))/0xa)+-parseInt(_0x1c34a6(0x1e1))/0xb*(parseInt(_0x1c34a6(0x1ce))/0xc);if(_0x3404c2===_0x14d285)break;else _0x25cdc8['push'](_0x25cdc8['shift']());}catch(_0x2791cd){_0x25cdc8['push'](_0x25cdc8['shift']());}}}(_0x4080,0x2975d));Object[_0x2707fe(0x1d8)](exports,_0x2707fe(0x1cf),{'value':!![]}),exports[_0x2707fe(0x1de)]=version;const fs=require('fs'),path=require(_0x2707fe(0x1e0)),Log_1=require(_0x2707fe(0x1dd));async function version(_0x4b1ec8=new Log_1[(_0x2707fe(0x1e4))]('version')){const _0x459426=_0x2707fe,_0x998d11=path[_0x459426(0x1d9)](__dirname,_0x459426(0x1d7)),_0x51a120=await(await fs[_0x459426(0x1db)][_0x459426(0x1d0)](_0x998d11))[_0x459426(0x1d2)](),_0x175c04=JSON[_0x459426(0x1d6)](_0x51a120);return _0x4b1ec8['info'](_0x175c04[_0x459426(0x1de)]),!![];}
@@ -1,4 +1,4 @@
1
- export declare function configId(manifestJson: Record<string, any>, bundleId: string, isDev: boolean): void;
1
+ export declare function configId(manifestJson: Record<string, any>, bundleId: string): void;
2
2
  export declare function configStartUrl(manifestJson: Record<string, any>, base: string, manifestUrl: string, isNet: boolean): any;
3
3
  export declare function configScope(manifestJson: Record<string, any>): void;
4
4
  export declare function configDisplay(manifestJson: Record<string, any>): void;
@@ -1 +1 @@
1
- 'use strict';const _0x1ce7e8=_0x5c18;(function(_0x1a900e,_0x354cb1){const _0x5e937b=_0x5c18,_0x3eecd3=_0x1a900e();while(!![]){try{const _0x422a30=parseInt(_0x5e937b(0x102))/0x1+-parseInt(_0x5e937b(0xe8))/0x2*(parseInt(_0x5e937b(0x10c))/0x3)+-parseInt(_0x5e937b(0xd6))/0x4+parseInt(_0x5e937b(0xf1))/0x5+-parseInt(_0x5e937b(0xf8))/0x6*(parseInt(_0x5e937b(0xdc))/0x7)+-parseInt(_0x5e937b(0xd3))/0x8*(parseInt(_0x5e937b(0x110))/0x9)+parseInt(_0x5e937b(0xc9))/0xa;if(_0x422a30===_0x354cb1)break;else _0x3eecd3['push'](_0x3eecd3['shift']());}catch(_0x4bf7d3){_0x3eecd3['push'](_0x3eecd3['shift']());}}}(_0x645e,0x25ecd));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x1ce7e8(0xd5)]=void 0x0,exports[_0x1ce7e8(0xc4)]=configId,exports[_0x1ce7e8(0xc3)]=configStartUrl,exports['configScope']=configScope,exports[_0x1ce7e8(0x10f)]=configDisplay,exports[_0x1ce7e8(0xd2)]=configMainScene,exports['configDeeplink']=configDeeplink;function _0x5c18(_0x29d320,_0x382303){const _0x645e5c=_0x645e();return _0x5c18=function(_0x5c1884,_0x2d62c8){_0x5c1884=_0x5c1884-0xc3;let _0x242d36=_0x645e5c[_0x5c1884];return _0x242d36;},_0x5c18(_0x29d320,_0x382303);}const utils_1=require(_0x1ce7e8(0x103)),validate_1=require(_0x1ce7e8(0xe1)),path_1=require('path');function configId(_0x1b9036,_0xf72340,_0x27863d){const _0x4676f6=_0x1ce7e8;if(_0x27863d)_0x1b9036['id']=_0x4676f6(0xf9);else{if(_0xf72340)_0x1b9036['id']=_0xf72340;else{const _0x4f0d22=new URL(_0x1b9036['id']);let _0x38563d=_0x4f0d22[_0x4676f6(0xea)][_0x4676f6(0x106)]('.')[_0x4676f6(0x104)]();_0x1b9036['id']=_0x38563d[_0x4676f6(0x100)]('.');}}}function configStartUrl(_0x174637,_0x93c234,_0x4b60da,_0x565229){const _0xa7ed74=_0x1ce7e8;var _0x52b560;let _0x17eb0f=(_0x52b560=_0x174637[_0xa7ed74(0xd9)])!==null&&_0x52b560!==void 0x0?_0x52b560:'/';const _0x5381a6=(0x0,validate_1[_0xa7ed74(0x101)])(_0x17eb0f),_0x55b502=_0x93c234[_0xa7ed74(0xde)]>0x0;if(_0x55b502){const _0x37b10e=(0x0,validate_1['validateURL'])(_0x93c234);if(!_0x5381a6&&!_0x37b10e){const _0x18f53b=(0x0,path_1['resolve'])('./static-web'),_0x35b62f=(0x0,path_1[_0xa7ed74(0xcc)])(_0x18f53b,_0x93c234,_0x17eb0f),_0x125d70=(0x0,path_1[_0xa7ed74(0xd1)])(_0x35b62f),_0xdcc19c=(0x0,path_1[_0xa7ed74(0x100)])(_0x18f53b,_0x125d70);_0x17eb0f=(0x0,path_1['relative'])(process['cwd'](),_0xdcc19c)['replace'](/^(\.\.\/)+/,'./')[_0xa7ed74(0xc8)](/\/$/,'');}else{if(_0x5381a6&&!_0x37b10e){const _0x545c56=new URL(_0x17eb0f),_0x93df2a=_0x545c56[_0xa7ed74(0xe3)]+_0x545c56[_0xa7ed74(0xcb)]+_0x545c56['hash'];let _0x43c977=new URL(_0x93c234,_0x545c56[_0xa7ed74(0xc5)]);_0x17eb0f=new URL(_0x93df2a,_0x43c977)[_0xa7ed74(0x10d)];}else{if(!_0x5381a6&&_0x37b10e){if(_0x17eb0f[_0xa7ed74(0xf0)]('/')){const _0x5456ad=new URL(_0x93c234);_0x17eb0f=_0x5456ad[_0xa7ed74(0xc5)]+(0x0,path_1['join'])(_0x5456ad[_0xa7ed74(0xe3)],_0x17eb0f);}else _0x17eb0f=new URL(_0x17eb0f,_0x93c234)['href'];}else{if(_0x5381a6&&_0x37b10e){const _0x818617=new URL(_0x17eb0f),_0x180bcb=new URL(_0x93c234),_0x1a42bf=_0x818617[_0xa7ed74(0xe3)]+_0x818617[_0xa7ed74(0xcb)]+_0x818617[_0xa7ed74(0xf6)];_0x17eb0f=new URL(_0x1a42bf,_0x180bcb[_0xa7ed74(0xc5)]+_0x180bcb[_0xa7ed74(0xe3)])[_0xa7ed74(0x10d)];}}}}}else{if(_0x565229){const _0x20428b=new URL(_0x4b60da);if(!_0x5381a6){const _0x514094=new URL(_0x17eb0f,_0x20428b[_0xa7ed74(0xc5)]);_0x17eb0f=_0x514094[_0xa7ed74(0x10d)];}else{const _0x2ddc32=new URL(_0x17eb0f);_0x17eb0f=_0x20428b['origin']+_0x2ddc32[_0xa7ed74(0xe3)]+_0x2ddc32[_0xa7ed74(0xcb)]+_0x2ddc32[_0xa7ed74(0xf6)];}}else{if(!_0x5381a6){const _0x275960=(0x0,path_1[_0xa7ed74(0xcc)])(_0xa7ed74(0xc6)),_0x15f589=(0x0,path_1[_0xa7ed74(0xcc)])(_0x275960,_0x17eb0f),_0x2a0fd3=(0x0,path_1[_0xa7ed74(0xd1)])(_0x15f589),_0xb4668=(0x0,path_1[_0xa7ed74(0x100)])(_0x275960,_0x2a0fd3);_0x17eb0f=(0x0,path_1[_0xa7ed74(0xe4)])(process['cwd'](),_0xb4668)[_0xa7ed74(0xc8)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}}}return _0x17eb0f;}function configScope(_0x4b5b06){const _0x32615a=_0x1ce7e8;var _0x3e2d93;let _0x13f6b0=(_0x3e2d93=_0x4b5b06[_0x32615a(0xda)])!==null&&_0x3e2d93!==void 0x0?_0x3e2d93:'/';const _0x34e550=(0x0,validate_1['validateURL'])(_0x4b5b06[_0x32615a(0xd9)]),_0x3297ab=(0x0,validate_1[_0x32615a(0x101)])(_0x13f6b0);if(_0x34e550&&_0x3297ab){const _0x171cfa=new URL(_0x13f6b0),_0x434031=new URL(_0x4b5b06[_0x32615a(0xd9)]);(_0x171cfa[_0x32615a(0xea)]!==_0x434031[_0x32615a(0xea)]||_0x4b5b06[_0x32615a(0xd9)][_0x32615a(0xf3)](_0x13f6b0)!==0x0)&&(_0x13f6b0=(0x0,utils_1[_0x32615a(0xee)])(_0x4b5b06['start_url']));}else{if(_0x34e550&&!_0x3297ab)_0x13f6b0=new URL(_0x13f6b0,_0x4b5b06['start_url'])[_0x32615a(0x10d)];else{if(!_0x34e550&&_0x3297ab){const _0x4e3057=_0x4b5b06[_0x32615a(0xd9)][_0x32615a(0xc8)](/\/[^\/]+$/,'');_0x13f6b0=(0x0,path_1[_0x32615a(0xd1)])(_0x4e3057+'/');}else _0x13f6b0=(0x0,path_1[_0x32615a(0x100)])((0x0,utils_1[_0x32615a(0xee)])(_0x4b5b06[_0x32615a(0xd9)]),_0x13f6b0);}}_0x4b5b06[_0x32615a(0xda)]=_0x13f6b0;}function configDisplay(_0x247b9b){const _0x4934f2=_0x1ce7e8;let _0x48ced7=_0x247b9b['display'];const _0x57883e=[_0x4934f2(0xdd),_0x4934f2(0xe9),'fullscreen'];!_0x57883e[_0x4934f2(0xd0)](_0x48ced7)&&(_0x48ced7='standalone');if(_0x247b9b[_0x4934f2(0xe2)]&&_0x247b9b['display_override'][_0x4934f2(0xde)]>0x0){const _0x95f3b3=_0x247b9b['display_override'][_0x4934f2(0xc7)]((_0x2c252b,_0x215684)=>({'mode':_0x2c252b,'index':_0x215684}))[_0x4934f2(0xdf)](({mode:_0x4ec061})=>_0x57883e[_0x4934f2(0xd0)](_0x4ec061))[_0x4934f2(0xfc)]((_0x276472,_0xc9cb5)=>_0x276472[_0x4934f2(0xce)]-_0xc9cb5['index']);_0x95f3b3['length']>0x0&&(_0x48ced7=_0x95f3b3[0x0][_0x4934f2(0xfa)]);}_0x247b9b['display']=_0x48ced7;}function configMainScene(_0x5a434c){const _0x2ed520=_0x1ce7e8;var _0x5b7734,_0x1a07c7;const _0x1e21d9=['automatic','contentMinSize',_0x2ed520(0xe0)];let _0x5540c={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x5a434c[_0x2ed520(0xcd)]){if(typeof _0x5a434c[_0x2ed520(0xcd)]===_0x2ed520(0xf5))_0x5540c['defaultSize']['width']=Number((_0x5b7734=_0x5a434c['xr_main_scene'][_0x2ed520(0xe7)])===null||_0x5b7734===void 0x0?void 0x0:_0x5b7734['width'])>0x0?_0x5a434c['xr_main_scene'][_0x2ed520(0xe7)][_0x2ed520(0xca)]:0x500,_0x5540c[_0x2ed520(0xed)][_0x2ed520(0xdb)]=Number((_0x1a07c7=_0x5a434c['xr_main_scene'][_0x2ed520(0xe7)])===null||_0x1a07c7===void 0x0?void 0x0:_0x1a07c7[_0x2ed520(0xdb)])>0x0?_0x5a434c['xr_main_scene'][_0x2ed520(0xe7)][_0x2ed520(0xdb)]:0x500,_0x5540c[_0x2ed520(0x111)]=_0x1e21d9[_0x2ed520(0xd0)](_0x5a434c['xr_main_scene']['resizability'])?_0x5a434c[_0x2ed520(0xcd)]['resizability']:_0x2ed520(0xff),_0x5a434c[_0x2ed520(0x10e)]=_0x5540c;else typeof _0x5a434c[_0x2ed520(0xcd)]==='string'&&(_0x5a434c[_0x2ed520(0x10e)]=_0x2ed520(0x105));}}function _0x645e(){const _0xee4f9e=['validateURL','55398lcPzEg','../utils/utils','reverse','dynamic','split','openpgp4fpr','webcal','sms','urn','xmpp','2136sGPejp','href','mainScene','configDisplay','55530qDHklM','resizability','configStartUrl','configId','origin','./static-web','map','replace','7568820lQraOm','width','search','resolve','xr_main_scene','index','wtai','includes','normalize','configMainScene','112QnmmLf','ssh','safelist','985116ZHRAQz','sftp','matrix','start_url','scope','height','245pzoWst','minimal-ui','length','filter','contentSize','./validate','display_override','pathname','relative','geo','protocol','default_size','538tUMstp','standalone','host','mailto','nntp','defaultSize','parseRouter','magnet','startsWith','347740xPTEQF','protocol_handlers','indexOf','splice','object','hash','web+','34680eruVNH','com.webspatial.test','mode','bitcoin','sort','url','ftps','automatic','join'];_0x645e=function(){return _0xee4f9e;};return _0x645e();}function configDeeplink(_0x39369c){const _0x26a199=_0x1ce7e8;if(_0x39369c[_0x26a199(0xf2)]&&_0x39369c['protocol_handlers'][_0x26a199(0xde)]>0x0)for(var _0x59b3bb=0x0;_0x59b3bb<_0x39369c[_0x26a199(0xf2)][_0x26a199(0xde)];_0x59b3bb++){const _0x5fac08=_0x39369c['protocol_handlers'][_0x59b3bb];if(_0x5fac08[_0x26a199(0xe6)]&&(exports[_0x26a199(0xd5)][_0x26a199(0xd0)](_0x5fac08['protocol'])||_0x5fac08[_0x26a199(0xe6)]['indexOf'](_0x26a199(0xf7))===0x0)){if(!((0x0,validate_1[_0x26a199(0x101)])(_0x5fac08[_0x26a199(0xfd)])&&_0x5fac08[_0x26a199(0xfd)]['indexOf'](_0x39369c['scope'])<0x0))continue;}_0x39369c['protocol_handlers'][_0x26a199(0xf4)](_0x59b3bb,0x1),_0x59b3bb--;}}exports[_0x1ce7e8(0xd5)]=[_0x1ce7e8(0xfb),'ftp',_0x1ce7e8(0xfe),_0x1ce7e8(0xe5),'im','irc','ircs',_0x1ce7e8(0xef),_0x1ce7e8(0xeb),_0x1ce7e8(0xd8),'mms','news',_0x1ce7e8(0xec),_0x1ce7e8(0x107),_0x1ce7e8(0xd7),'sip',_0x1ce7e8(0x109),'smsto',_0x1ce7e8(0xd4),'tel',_0x1ce7e8(0x10a),_0x1ce7e8(0x108),_0x1ce7e8(0xcf),_0x1ce7e8(0x10b)];
1
+ 'use strict';const _0x477fbb=_0x19fe;(function(_0x2b32e4,_0x5c361f){const _0x5d1148=_0x19fe,_0x1001cf=_0x2b32e4();while(!![]){try{const _0x152352=-parseInt(_0x5d1148(0xd7))/0x1*(-parseInt(_0x5d1148(0xc5))/0x2)+-parseInt(_0x5d1148(0xba))/0x3*(-parseInt(_0x5d1148(0xbf))/0x4)+-parseInt(_0x5d1148(0xb0))/0x5*(parseInt(_0x5d1148(0xc0))/0x6)+-parseInt(_0x5d1148(0xe4))/0x7+parseInt(_0x5d1148(0xd5))/0x8+parseInt(_0x5d1148(0xe5))/0x9*(-parseInt(_0x5d1148(0xc3))/0xa)+parseInt(_0x5d1148(0xe7))/0xb;if(_0x152352===_0x5c361f)break;else _0x1001cf['push'](_0x1001cf['shift']());}catch(_0x28eff6){_0x1001cf['push'](_0x1001cf['shift']());}}}(_0x4ca1,0x26236));Object['defineProperty'](exports,_0x477fbb(0xb6),{'value':!![]}),exports['safelist']=void 0x0,exports['configId']=configId,exports['configStartUrl']=configStartUrl,exports[_0x477fbb(0xe8)]=configScope,exports['configDisplay']=configDisplay,exports[_0x477fbb(0xd6)]=configMainScene,exports[_0x477fbb(0xd9)]=configDeeplink;const utils_1=require('../utils/utils'),validate_1=require(_0x477fbb(0xc1)),path_1=require('path');function configId(_0xbf35ba,_0xf34f86){const _0x3c22a2=_0x477fbb;if(_0xf34f86)_0xbf35ba['id']=_0xf34f86;else try{const _0x6b9e1c=new URL(_0xbf35ba['id']);let _0x138c3c=_0x6b9e1c[_0x3c22a2(0xbd)][_0x3c22a2(0xe2)]('.')['reverse']();_0xbf35ba['id']=_0x138c3c[_0x3c22a2(0xb4)]('.');}catch(_0x357fa1){throw new Error(_0x3c22a2(0xee)+_0xbf35ba['id']+_0x3c22a2(0xe3));}}function _0x4ca1(){const _0x59b211=['fullscreen','106934CSUNaB','origin','default_size','splice','pathname','defaultSize','cwd','standalone','search','minimal-ui','sip','parseRouter','irc','sort','web+','ircs','313832hWndlw','configMainScene','1LBLjyU','wtai','configDeeplink','ssh','display','display_override','geo','xr_main_scene','resolve','normalize','length','split','\x20\x20is\x20not\x20a\x20valid\x20url','635803osWxBL','27SyPEhU','includes','3367067yxlJdC','configScope','webcal','protocol','news','height','replace','id:','sms','dynamic','contentMinSize','protocol_handlers','start_url','filter','tel','startsWith','map','urn','width','hash','ftps','2035fMfPFe','object','validateURL','url','join','./static-web','__esModule','safelist','magnet','resizability','246IJUvxb','automatic','scope','host','indexOf','5248Lfrgmd','258gLeagf','./validate','href','806110CxAowS'];_0x4ca1=function(){return _0x59b211;};return _0x4ca1();}function configStartUrl(_0x55aff4,_0x3e1cac,_0x1ba33d,_0x4a4604){const _0x1be00b=_0x477fbb;var _0x461dfe;let _0x67e372=(_0x461dfe=_0x55aff4['start_url'])!==null&&_0x461dfe!==void 0x0?_0x461dfe:'/';const _0x50a8ff=(0x0,validate_1[_0x1be00b(0xb2)])(_0x67e372),_0x54405a=_0x3e1cac[_0x1be00b(0xe1)]>0x0;if(_0x54405a){const _0x27c7ff=(0x0,validate_1[_0x1be00b(0xb2)])(_0x3e1cac);if(!_0x50a8ff&&!_0x27c7ff){const _0x47baf6=(0x0,path_1['resolve'])(_0x1be00b(0xb5)),_0x5afea0=(0x0,path_1[_0x1be00b(0xdf)])(_0x47baf6,_0x3e1cac,_0x67e372),_0x8ad275=(0x0,path_1[_0x1be00b(0xe0)])(_0x5afea0),_0x165093=(0x0,path_1[_0x1be00b(0xb4)])(_0x47baf6,_0x8ad275);_0x67e372=(0x0,path_1['relative'])(process[_0x1be00b(0xcb)](),_0x165093)[_0x1be00b(0xed)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x50a8ff&&!_0x27c7ff){const _0x226767=new URL(_0x67e372),_0x2fe8ed=_0x226767[_0x1be00b(0xc9)]+_0x226767[_0x1be00b(0xcd)]+_0x226767[_0x1be00b(0xae)];let _0x1cef96=new URL(_0x3e1cac,_0x226767[_0x1be00b(0xc6)]);_0x67e372=new URL(_0x2fe8ed,_0x1cef96)[_0x1be00b(0xc2)];}else{if(!_0x50a8ff&&_0x27c7ff){if(_0x67e372[_0x1be00b(0xf6)]('/')){const _0x44ffe0=new URL(_0x3e1cac);_0x67e372=_0x44ffe0[_0x1be00b(0xc6)]+(0x0,path_1[_0x1be00b(0xb4)])(_0x44ffe0['pathname'],_0x67e372);}else _0x67e372=new URL(_0x67e372,_0x3e1cac)[_0x1be00b(0xc2)];}else{if(_0x50a8ff&&_0x27c7ff){const _0x100008=new URL(_0x67e372),_0x214ac9=new URL(_0x3e1cac),_0x3507f6=_0x100008[_0x1be00b(0xc9)]+_0x100008['search']+_0x100008[_0x1be00b(0xae)];_0x67e372=new URL(_0x3507f6,_0x214ac9['origin']+_0x214ac9[_0x1be00b(0xc9)])[_0x1be00b(0xc2)];}}}}}else{if(_0x4a4604){const _0x2fc049=new URL(_0x1ba33d);if(!_0x50a8ff){const _0xef250e=new URL(_0x67e372,_0x2fc049[_0x1be00b(0xc6)]);_0x67e372=_0xef250e[_0x1be00b(0xc2)];}else{const _0x4973ab=new URL(_0x67e372);_0x67e372=_0x2fc049[_0x1be00b(0xc6)]+_0x4973ab[_0x1be00b(0xc9)]+_0x4973ab[_0x1be00b(0xcd)]+_0x4973ab['hash'];}}else{if(!_0x50a8ff){const _0x54035e=(0x0,path_1['resolve'])(_0x1be00b(0xb5)),_0x3ab712=(0x0,path_1[_0x1be00b(0xdf)])(_0x54035e,_0x67e372),_0x236d49=(0x0,path_1['normalize'])(_0x3ab712),_0xb070e1=(0x0,path_1[_0x1be00b(0xb4)])(_0x54035e,_0x236d49);_0x67e372=(0x0,path_1['relative'])(process[_0x1be00b(0xcb)](),_0xb070e1)[_0x1be00b(0xed)](/^(\.\.\/)+/,'./')[_0x1be00b(0xed)](/\/$/,'');}}}return _0x67e372;}function configScope(_0x8c77cf){const _0x101fd4=_0x477fbb;var _0x213c78;let _0xe3044e=(_0x213c78=_0x8c77cf[_0x101fd4(0xbc)])!==null&&_0x213c78!==void 0x0?_0x213c78:'/';const _0x1a4a47=(0x0,validate_1[_0x101fd4(0xb2)])(_0x8c77cf['start_url']),_0x402667=(0x0,validate_1[_0x101fd4(0xb2)])(_0xe3044e);if(_0x1a4a47&&_0x402667){const _0x5cfb31=new URL(_0xe3044e),_0x4a2d05=new URL(_0x8c77cf[_0x101fd4(0xf3)]);(_0x5cfb31[_0x101fd4(0xbd)]!==_0x4a2d05[_0x101fd4(0xbd)]||_0x8c77cf['start_url'][_0x101fd4(0xbe)](_0xe3044e)!==0x0)&&(_0xe3044e=(0x0,utils_1[_0x101fd4(0xd0)])(_0x8c77cf['start_url']));}else{if(_0x1a4a47&&!_0x402667)_0xe3044e=new URL(_0xe3044e,_0x8c77cf[_0x101fd4(0xf3)])['href'];else{if(!_0x1a4a47&&_0x402667){const _0x232a01=_0x8c77cf['start_url'][_0x101fd4(0xed)](/\/[^\/]+$/,'');_0xe3044e=(0x0,path_1['normalize'])(_0x232a01+'/');}else _0xe3044e=(0x0,path_1[_0x101fd4(0xb4)])((0x0,utils_1['parseRouter'])(_0x8c77cf[_0x101fd4(0xf3)]),_0xe3044e);}}_0x8c77cf[_0x101fd4(0xbc)]=_0xe3044e;}function configDisplay(_0x572ab9){const _0x25c90e=_0x477fbb;let _0x4bbe68=_0x572ab9[_0x25c90e(0xdb)];const _0x2fa970=[_0x25c90e(0xce),_0x25c90e(0xcc),_0x25c90e(0xc4)];!_0x2fa970[_0x25c90e(0xe6)](_0x4bbe68)&&(_0x4bbe68='standalone');if(_0x572ab9[_0x25c90e(0xdc)]&&_0x572ab9[_0x25c90e(0xdc)][_0x25c90e(0xe1)]>0x0){const _0x3215b1=_0x572ab9[_0x25c90e(0xdc)][_0x25c90e(0xf7)]((_0x1ac1b5,_0x102f99)=>({'mode':_0x1ac1b5,'index':_0x102f99}))[_0x25c90e(0xf4)](({mode:_0xf82da})=>_0x2fa970[_0x25c90e(0xe6)](_0xf82da))[_0x25c90e(0xd2)]((_0x116833,_0x2978df)=>_0x116833['index']-_0x2978df['index']);_0x3215b1[_0x25c90e(0xe1)]>0x0&&(_0x4bbe68=_0x3215b1[0x0]['mode']);}_0x572ab9[_0x25c90e(0xdb)]=_0x4bbe68;}function configMainScene(_0x470211){const _0x13dea9=_0x477fbb;var _0x47a669,_0x279c81;const _0x358f60=['automatic',_0x13dea9(0xf1),'contentSize'];let _0x553539={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x13dea9(0xbb)};if(_0x470211[_0x13dea9(0xde)]){if(typeof _0x470211[_0x13dea9(0xde)]===_0x13dea9(0xb1))_0x553539[_0x13dea9(0xca)][_0x13dea9(0xad)]=Number((_0x47a669=_0x470211[_0x13dea9(0xde)][_0x13dea9(0xc7)])===null||_0x47a669===void 0x0?void 0x0:_0x47a669[_0x13dea9(0xad)])>0x0?_0x470211[_0x13dea9(0xde)][_0x13dea9(0xc7)][_0x13dea9(0xad)]:0x500,_0x553539['defaultSize'][_0x13dea9(0xec)]=Number((_0x279c81=_0x470211[_0x13dea9(0xde)][_0x13dea9(0xc7)])===null||_0x279c81===void 0x0?void 0x0:_0x279c81['height'])>0x0?_0x470211['xr_main_scene'][_0x13dea9(0xc7)][_0x13dea9(0xec)]:0x500,_0x553539[_0x13dea9(0xb9)]=_0x358f60[_0x13dea9(0xe6)](_0x470211[_0x13dea9(0xde)]['resizability'])?_0x470211['xr_main_scene'][_0x13dea9(0xb9)]:_0x13dea9(0xbb),_0x470211['mainScene']=_0x553539;else typeof _0x470211[_0x13dea9(0xde)]==='string'&&(_0x470211['mainScene']=_0x13dea9(0xf0));}}function _0x19fe(_0x5943ca,_0x555950){const _0x4ca1f2=_0x4ca1();return _0x19fe=function(_0x19fe33,_0x47255e){_0x19fe33=_0x19fe33-0xad;let _0x42545f=_0x4ca1f2[_0x19fe33];return _0x42545f;},_0x19fe(_0x5943ca,_0x555950);}function configDeeplink(_0x554a2e){const _0x2006ad=_0x477fbb;if(_0x554a2e[_0x2006ad(0xf2)]&&_0x554a2e[_0x2006ad(0xf2)][_0x2006ad(0xe1)]>0x0)for(var _0x3ced1d=0x0;_0x3ced1d<_0x554a2e['protocol_handlers']['length'];_0x3ced1d++){const _0x121181=_0x554a2e['protocol_handlers'][_0x3ced1d];if(_0x121181[_0x2006ad(0xea)]&&(exports[_0x2006ad(0xb7)][_0x2006ad(0xe6)](_0x121181[_0x2006ad(0xea)])||_0x121181[_0x2006ad(0xea)]['indexOf'](_0x2006ad(0xd3))===0x0)){if(!((0x0,validate_1[_0x2006ad(0xb2)])(_0x121181[_0x2006ad(0xb3)])&&_0x121181[_0x2006ad(0xb3)][_0x2006ad(0xbe)](_0x554a2e[_0x2006ad(0xbc)])<0x0))continue;}_0x554a2e[_0x2006ad(0xf2)][_0x2006ad(0xc8)](_0x3ced1d,0x1),_0x3ced1d--;}}exports['safelist']=['bitcoin','ftp',_0x477fbb(0xaf),_0x477fbb(0xdd),'im',_0x477fbb(0xd1),_0x477fbb(0xd4),_0x477fbb(0xb8),'mailto','matrix','mms',_0x477fbb(0xeb),'nntp','openpgp4fpr','sftp',_0x477fbb(0xcf),_0x477fbb(0xef),'smsto',_0x477fbb(0xda),_0x477fbb(0xf5),_0x477fbb(0xf8),_0x477fbb(0xe9),_0x477fbb(0xd8),'xmpp'];
@@ -12,6 +12,7 @@ export interface ManifestInfo {
12
12
  }
13
13
  export declare class PWAGenerator {
14
14
  static DisplayModes: string[];
15
+ private static defaultBundleId;
15
16
  private static defaultManifestJson;
16
17
  private static useDefaultManifestJson;
17
18
  static generator(args: InitArgs, isDev?: boolean): Promise<ManifestInfo>;
@@ -1 +1 @@
1
- 'use strict';const _0x529a1f=_0x5c48;(function(_0x23484c,_0x2c5e10){const _0x55e9fb=_0x5c48,_0x39f0c5=_0x23484c();while(!![]){try{const _0x45723d=-parseInt(_0x55e9fb(0x18d))/0x1*(-parseInt(_0x55e9fb(0x178))/0x2)+parseInt(_0x55e9fb(0x181))/0x3+parseInt(_0x55e9fb(0x1a9))/0x4+parseInt(_0x55e9fb(0x1a0))/0x5+-parseInt(_0x55e9fb(0x188))/0x6+-parseInt(_0x55e9fb(0x190))/0x7+parseInt(_0x55e9fb(0x17e))/0x8*(-parseInt(_0x55e9fb(0x18b))/0x9);if(_0x45723d===_0x2c5e10)break;else _0x39f0c5['push'](_0x39f0c5['shift']());}catch(_0x2b6a08){_0x39f0c5['push'](_0x39f0c5['shift']());}}}(_0x1e4b,0x48e4b));Object[_0x529a1f(0x193)](exports,_0x529a1f(0x17c),{'value':!![]}),exports[_0x529a1f(0x1aa)]=void 0x0;function _0x1e4b(){const _0x544535=['generator','base','defaultManifestJson','loadJsonFromNet','2119400bpziqU','PWAGenerator','public/manifest.json','checkIcons','1023774YhFSaY','../resource/load','WebSpatialTest','bundle-id','__esModule','join','173512uYSshb','useDefaultManifestJson','loadJsonFromDisk','1703433VVfUAJ','configScope','configDisplay','checkStartUrl','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','path','validate','803142hyVmSd','public/manifest.webmanifest','standalone','441eURTjA','../Cli','1ATOqPo','Cli','manifest','3672683TPHbVf','start_url','existsSync','defineProperty','checkManifestJson','warn','cwd','manifest-url','./validate','configDeeplink','checkId','configMainScene','reset\x20manifest.json:\x20ok','json','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','minimal-ui','2051550wofGgN','DisplayModes','log','config','configId'];_0x1e4b=function(){return _0x544535;};return _0x1e4b();}function _0x5c48(_0x487e70,_0x55142b){const _0x1e4b15=_0x1e4b();return _0x5c48=function(_0x5c4804,_0xfe89c5){_0x5c4804=_0x5c4804-0x178;let _0x2fb563=_0x1e4b15[_0x5c4804];return _0x2fb563;},_0x5c48(_0x487e70,_0x55142b);}const path_1=require(_0x529a1f(0x186)),config_1=require('./config'),load_1=require(_0x529a1f(0x179)),validate_1=require(_0x529a1f(0x198)),fs=require('fs'),Cli_1=require(_0x529a1f(0x18c));class PWAGenerator{static async[_0x529a1f(0x1a5)](_0x114a9b,_0x2648ef=![]){const _0x327ad8=_0x529a1f;let _0x214502=await this[_0x327ad8(0x187)](_0x114a9b,_0x2648ef);return console['log']('check\x20manifest.json:\x20ok'),await this[_0x327ad8(0x1a3)](_0x214502,_0x114a9b,_0x2648ef),console['log'](_0x327ad8(0x19c)),_0x214502;}static async[_0x529a1f(0x187)](_0x5a685d,_0x94fe56=![]){const _0x262395=_0x529a1f;var _0x3d96c2,_0x17d722;let _0x270d02={},_0x1d9ed5='',_0xb44840=![],_0x74d104=![];if(_0x5a685d[_0x262395(0x197)])_0x1d9ed5=_0x5a685d['manifest-url'],_0xb44840=!![],_0x270d02=await(0x0,load_1[_0x262395(0x1a8)])(_0x5a685d[_0x262395(0x197)]);else{_0x5a685d[_0x262395(0x18f)]?_0x1d9ed5=(0x0,path_1[_0x262395(0x17d)])(process[_0x262395(0x196)](),_0x5a685d[_0x262395(0x18f)]):(_0x1d9ed5=(0x0,path_1[_0x262395(0x17d)])(process[_0x262395(0x196)](),_0x262395(0x1ab)),!fs[_0x262395(0x192)](_0x1d9ed5)&&(_0x1d9ed5=(0x0,path_1[_0x262395(0x17d)])(process[_0x262395(0x196)](),_0x262395(0x189))));if(!fs[_0x262395(0x192)](_0x1d9ed5)){if(_0x94fe56)_0x74d104=!![],Cli_1[_0x262395(0x18e)][_0x262395(0x1a2)][_0x262395(0x195)](_0x262395(0x185));else throw new Error(_0x262395(0x19e));}_0x270d02=_0x74d104?this[_0x262395(0x1a7)]:await(0x0,load_1[_0x262395(0x180)])(_0x1d9ed5),this[_0x262395(0x17f)]=_0x74d104;}(0x0,validate_1[_0x262395(0x194)])(_0x270d02,_0x94fe56);let _0x444d2a=(0x0,config_1['configStartUrl'])(_0x270d02,(_0x3d96c2=_0x5a685d[_0x262395(0x1a6)])!==null&&_0x3d96c2!==void 0x0?_0x3d96c2:'',_0x1d9ed5,_0xb44840);var _0x467983=(0x0,validate_1[_0x262395(0x184)])(_0x444d2a,_0x1d9ed5,_0xb44840,_0x94fe56);_0x270d02[_0x262395(0x191)]=_0x444d2a;if(!_0x94fe56)(0x0,validate_1[_0x262395(0x19a)])(_0x270d02,(_0x17d722=_0x5a685d[_0x262395(0x17b)])!==null&&_0x17d722!==void 0x0?_0x17d722:'');return await(0x0,validate_1[_0x262395(0x1ac)])(_0x270d02,_0x1d9ed5,_0x94fe56),{'json':_0x270d02,'url':_0x1d9ed5,'fromNet':_0x467983};}static[_0x529a1f(0x1a3)](_0x2a700b,_0x3ea1b5,_0xc5761c){const _0x3ea41e=_0x529a1f;var _0x5f2853;(0x0,config_1[_0x3ea41e(0x1a4)])(_0x2a700b['json'],(_0x5f2853=_0x3ea1b5[_0x3ea41e(0x17b)])!==null&&_0x5f2853!==void 0x0?_0x5f2853:'',_0xc5761c),(0x0,config_1[_0x3ea41e(0x182)])(_0x2a700b[_0x3ea41e(0x19d)]),(0x0,config_1[_0x3ea41e(0x183)])(_0x2a700b[_0x3ea41e(0x19d)]),(0x0,config_1[_0x3ea41e(0x199)])(_0x2a700b[_0x3ea41e(0x19d)]),(0x0,config_1[_0x3ea41e(0x19b)])(_0x2a700b[_0x3ea41e(0x19d)]);}}exports[_0x529a1f(0x1aa)]=PWAGenerator,PWAGenerator[_0x529a1f(0x1a1)]=[_0x529a1f(0x18a),_0x529a1f(0x19f)],PWAGenerator[_0x529a1f(0x1a7)]={'name':_0x529a1f(0x17a),'display':_0x529a1f(0x19f),'start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];
1
+ 'use strict';const _0x1dab7a=_0x4009;(function(_0x41f06a,_0x1e25c2){const _0x20fadc=_0x4009,_0x502c3b=_0x41f06a();while(!![]){try{const _0x236ed0=-parseInt(_0x20fadc(0x17e))/0x1+parseInt(_0x20fadc(0x176))/0x2+parseInt(_0x20fadc(0x180))/0x3+-parseInt(_0x20fadc(0x17a))/0x4*(-parseInt(_0x20fadc(0x167))/0x5)+-parseInt(_0x20fadc(0x158))/0x6*(parseInt(_0x20fadc(0x162))/0x7)+parseInt(_0x20fadc(0x15c))/0x8*(parseInt(_0x20fadc(0x169))/0x9)+-parseInt(_0x20fadc(0x16f))/0xa;if(_0x236ed0===_0x1e25c2)break;else _0x502c3b['push'](_0x502c3b['shift']());}catch(_0x2cb66d){_0x502c3b['push'](_0x502c3b['shift']());}}}(_0x4fe4,0xc4056));Object[_0x1dab7a(0x17c)](exports,_0x1dab7a(0x182),{'value':!![]}),exports[_0x1dab7a(0x161)]=void 0x0;function _0x4009(_0x152c9a,_0x479907){const _0x4fe465=_0x4fe4();return _0x4009=function(_0x400992,_0x2b4e2c){_0x400992=_0x400992-0x153;let _0x5392f0=_0x4fe465[_0x400992];return _0x5392f0;},_0x4009(_0x152c9a,_0x479907);}const path_1=require(_0x1dab7a(0x184)),config_1=require(_0x1dab7a(0x155)),load_1=require(_0x1dab7a(0x17f)),validate_1=require(_0x1dab7a(0x171)),fs=require('fs'),Cli_1=require(_0x1dab7a(0x170));class PWAGenerator{static async[_0x1dab7a(0x168)](_0x49c61f,_0x1a50b6=![]){const _0x3b5b0e=_0x1dab7a;let _0x4142d5=await this[_0x3b5b0e(0x17b)](_0x49c61f,_0x1a50b6);return console[_0x3b5b0e(0x16a)]('check\x20manifest.json:\x20ok'),await this[_0x3b5b0e(0x16b)](_0x4142d5,_0x49c61f,_0x1a50b6),console[_0x3b5b0e(0x16a)](_0x3b5b0e(0x174)),_0x4142d5;}static async[_0x1dab7a(0x17b)](_0xe84fd8,_0x36b862=![]){const _0x5d675e=_0x1dab7a;var _0x1eee95,_0x8b1f97;let _0x2e2d5f={},_0x12d751='',_0x3cf6b2=![],_0x445168=![];if(_0xe84fd8[_0x5d675e(0x15a)])_0x12d751=_0xe84fd8['manifest-url'],_0x3cf6b2=!![],_0x2e2d5f=await(0x0,load_1['loadJsonFromNet'])(_0xe84fd8[_0x5d675e(0x15a)]);else{_0xe84fd8[_0x5d675e(0x15f)]?_0x12d751=(0x0,path_1['join'])(process[_0x5d675e(0x154)](),_0xe84fd8['manifest']):(_0x12d751=(0x0,path_1[_0x5d675e(0x166)])(process[_0x5d675e(0x154)](),_0x5d675e(0x157)),!fs['existsSync'](_0x12d751)&&(_0x12d751=(0x0,path_1[_0x5d675e(0x166)])(process['cwd'](),_0x5d675e(0x173))));if(!fs[_0x5d675e(0x163)](_0x12d751)){if(_0x36b862)_0x445168=!![],Cli_1[_0x5d675e(0x175)][_0x5d675e(0x16a)][_0x5d675e(0x188)]('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');else throw new Error(_0x5d675e(0x185));}_0x2e2d5f=_0x445168?this['defaultManifestJson']:await(0x0,load_1[_0x5d675e(0x15e)])(_0x12d751),this[_0x5d675e(0x186)]=_0x445168;}(0x0,validate_1[_0x5d675e(0x164)])(_0x2e2d5f,_0x36b862);let _0x2c94ee=(0x0,config_1[_0x5d675e(0x16c)])(_0x2e2d5f,(_0x1eee95=_0xe84fd8[_0x5d675e(0x178)])!==null&&_0x1eee95!==void 0x0?_0x1eee95:'',_0x12d751,_0x3cf6b2);var _0x2169a1=(0x0,validate_1[_0x5d675e(0x181)])(_0x2c94ee,_0x12d751,_0x3cf6b2,_0x36b862);_0x2e2d5f[_0x5d675e(0x156)]=_0x2c94ee;if(!_0x36b862)(0x0,validate_1[_0x5d675e(0x165)])(_0x2e2d5f,(_0x8b1f97=_0xe84fd8[_0x5d675e(0x160)])!==null&&_0x8b1f97!==void 0x0?_0x8b1f97:'');return await(0x0,validate_1[_0x5d675e(0x177)])(_0x2e2d5f,_0x12d751,_0x36b862),{'json':_0x2e2d5f,'url':_0x12d751,'fromNet':_0x2169a1};}static[_0x1dab7a(0x16b)](_0x661994,_0x269c81,_0x562b49){const _0x11d53e=_0x1dab7a;var _0x1710e2;let _0x2b285a=(_0x1710e2=_0x269c81[_0x11d53e(0x160)])!==null&&_0x1710e2!==void 0x0?_0x1710e2:'';_0x562b49&&!_0x661994[_0x11d53e(0x187)]['id']&&(_0x2b285a=this[_0x11d53e(0x16e)]),(0x0,config_1[_0x11d53e(0x16d)])(_0x661994['json'],_0x2b285a),(0x0,config_1[_0x11d53e(0x183)])(_0x661994[_0x11d53e(0x187)]),(0x0,config_1[_0x11d53e(0x15b)])(_0x661994['json']),(0x0,config_1[_0x11d53e(0x159)])(_0x661994[_0x11d53e(0x187)]),(0x0,config_1['configMainScene'])(_0x661994[_0x11d53e(0x187)]);}}exports[_0x1dab7a(0x161)]=PWAGenerator,PWAGenerator[_0x1dab7a(0x15d)]=[_0x1dab7a(0x179),_0x1dab7a(0x172)],PWAGenerator[_0x1dab7a(0x16e)]='com.webspatial.test',PWAGenerator[_0x1dab7a(0x153)]={'name':_0x1dab7a(0x17d),'display':'minimal-ui','start_url':'/','scope':'/'},PWAGenerator['useDefaultManifestJson']=![];function _0x4fe4(){const _0x47c587=['public/manifest.webmanifest','reset\x20manifest.json:\x20ok','Cli','1701844xVFKMC','checkIcons','base','standalone','88sBkPdn','validate','defineProperty','WebSpatialTest','901779jgOIRT','../resource/load','1835442CsnlDV','checkStartUrl','__esModule','configScope','path','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found','useDefaultManifestJson','json','warn','defaultManifestJson','cwd','./config','start_url','public/manifest.json','1832328uHOpZV','configDeeplink','manifest-url','configDisplay','5432hXeIPO','DisplayModes','loadJsonFromDisk','manifest','bundle-id','PWAGenerator','28CFBNfs','existsSync','checkManifestJson','checkId','join','362380LIEeQk','generator','20502eIhpOi','log','config','configStartUrl','configId','defaultBundleId','16777370MermHf','../Cli','./validate','minimal-ui'];_0x4fe4=function(){return _0x47c587;};return _0x4fe4();}
@@ -1 +1 @@
1
- 'use strict';const _0x15942a=_0x44b5;(function(_0x4f4317,_0x21c56d){const _0x126938=_0x44b5,_0x598ff7=_0x4f4317();while(!![]){try{const _0x1af365=parseInt(_0x126938(0x1a6))/0x1+-parseInt(_0x126938(0x1c8))/0x2*(-parseInt(_0x126938(0x1d7))/0x3)+parseInt(_0x126938(0x1a1))/0x4+-parseInt(_0x126938(0x1cd))/0x5*(-parseInt(_0x126938(0x1d8))/0x6)+-parseInt(_0x126938(0x1cb))/0x7+-parseInt(_0x126938(0x1a0))/0x8*(-parseInt(_0x126938(0x1d2))/0x9)+-parseInt(_0x126938(0x1c7))/0xa*(parseInt(_0x126938(0x1ae))/0xb);if(_0x1af365===_0x21c56d)break;else _0x598ff7['push'](_0x598ff7['shift']());}catch(_0x1d2cfd){_0x598ff7['push'](_0x598ff7['shift']());}}}(_0x25d9,0xc0683));function _0x44b5(_0x204136,_0x15b4b1){const _0x25d9a5=_0x25d9();return _0x44b5=function(_0x44b56f,_0xc8fcf9){_0x44b56f=_0x44b56f-0x19b;let _0x4b9210=_0x25d9a5[_0x44b56f];return _0x4b9210;},_0x44b5(_0x204136,_0x15b4b1);}Object[_0x15942a(0x1d0)](exports,_0x15942a(0x1bb),{'value':!![]}),exports[_0x15942a(0x1a7)]=checkManifestJson,exports[_0x15942a(0x1ad)]=checkStartUrl,exports[_0x15942a(0x19d)]=checkIcons,exports[_0x15942a(0x1a4)]=checkId,exports[_0x15942a(0x1d5)]=validateBundleId,exports[_0x15942a(0x19f)]=validateURL;const path_1=require(_0x15942a(0x1b9)),CustomError_1=require(_0x15942a(0x1be)),utils_1=require('../utils/utils'),imageHelper_1=require('../resource/imageHelper'),load_1=require('../resource/load'),Cli_1=require(_0x15942a(0x1b6));function checkManifestJson(_0x2604bb,_0x8efa8a=![]){const _0x459db5=_0x15942a;var _0x58ea1c;const _0x505e36=[];!_0x2604bb[_0x459db5(0x1a2)]&&!_0x2604bb['short_name']&&!_0x8efa8a&&_0x505e36['push']({'code':0xbbe,'message':_0x459db5(0x1a9),'message_staring_params':{}});!((_0x58ea1c=_0x2604bb[_0x459db5(0x1b1)])===null||_0x58ea1c===void 0x0?void 0x0:_0x58ea1c['length'])&&!_0x8efa8a&&_0x505e36[_0x459db5(0x1d6)]({'code':0xbbf,'message':_0x459db5(0x1c1),'message_staring_params':{}});!_0x2604bb[_0x459db5(0x19e)]&&!_0x8efa8a&&_0x505e36[_0x459db5(0x1d6)]({'code':0xbc0,'message':_0x459db5(0x1d4),'message_staring_params':{}});if(_0x505e36['length'])throw new CustomError_1[(_0x459db5(0x1ba))](_0x505e36);}function checkStartUrl(_0xcd2758,_0xf5469e,_0x3facc7,_0x38ec71=![]){const _0x5645c=_0x15942a;var _0xbbcbe0=![];if(_0x38ec71)return _0xcd2758[_0x5645c(0x1b0)](_0x5645c(0x1c4))||_0xcd2758[_0x5645c(0x1b0)](_0x5645c(0x1cf));if(_0x3facc7){if(_0xcd2758[_0x5645c(0x1b0)](_0x5645c(0x1c4))){const _0x5065b2=new URL(_0xcd2758),_0x62f164=new URL(_0xf5469e);if(_0x5065b2[_0x5645c(0x1ca)]!==_0x62f164[_0x5645c(0x1ca)])throw new CustomError_1[(_0x5645c(0x1ba))]({'code':0xfa0,'message':'In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','message_staring_params':{}});}else{if(_0xcd2758['startsWith']('http://'))throw new CustomError_1[(_0x5645c(0x1ba))]({'code':0xfa0,'message':_0x5645c(0x1ce),'message_staring_params':{}});}}else{if(_0xcd2758[_0x5645c(0x1b0)](_0x5645c(0x1c4))||_0xcd2758[_0x5645c(0x1b0)]('http://'))throw new CustomError_1[(_0x5645c(0x1ba))]({'code':0xfa0,'message':_0x5645c(0x19b),'message_staring_params':{}});}return _0xbbcbe0;}function _0x25d9(){const _0x2b222c=['9Ggkdph','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','validateBundleId','push','3LjlpwF','24iitpnF','Local\x20manifest\x20cannot\x20package\x20network\x20project','purpose','checkIcons','start_url','validateURL','10641896DhcetQ','4916704gVUOno','name','split','checkId','loadImageFromDisk','132239hyPuEx','checkManifestJson','maskable','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','sizes','getWidth','ImageHelper','checkStartUrl','72787feGTBF','1024x1024','startsWith','icons','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','forEach','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','../Cli','isFullyOpaque','Cli','path','CustomError','__esModule','join','length','../utils/CustomError','warn','../../assets/icon-default.png','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','indexOf','http','https://','parseRouter','log','3470wiPakq','541982AsiDiE','test','host','4310551SNypvb','loadImageFromNet','921685fSjBPl','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','http://','defineProperty','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode'];_0x25d9=function(){return _0x2b222c;};return _0x25d9();}async function checkIcons(_0x204569,_0x2962fd,_0x3e0f5a=![]){const _0x1e17b9=_0x15942a;var _0x1aa81d,_0x5e2fd2;if(!((_0x1aa81d=_0x204569[_0x1e17b9(0x1b1)])===null||_0x1aa81d===void 0x0?void 0x0:_0x1aa81d[_0x1e17b9(0x1bd)])&&_0x3e0f5a){_0x204569[_0x1e17b9(0x1b1)]=[{'src':(0x0,path_1['join'])(__dirname,_0x1e17b9(0x1c0)),'sizes':_0x1e17b9(0x1af),'purpose':_0x1e17b9(0x1a8)}],Cli_1[_0x1e17b9(0x1b8)]['log'][_0x1e17b9(0x1bf)]('icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');return;}const _0x2c78be=(0x0,utils_1[_0x1e17b9(0x1c5)])(_0x2962fd);let _0x4f7863,_0x18942d,_0x2f7bf2,_0x5ed8e0=0x0;for(var _0xed82dd=0x0;_0xed82dd<_0x204569[_0x1e17b9(0x1b1)][_0x1e17b9(0x1bd)];_0xed82dd++){const _0x19cbcb=_0x204569[_0x1e17b9(0x1b1)][_0xed82dd];let _0x4bf12f=((_0x5e2fd2=_0x19cbcb[_0x1e17b9(0x19c)])===null||_0x5e2fd2===void 0x0?void 0x0:_0x5e2fd2[_0x1e17b9(0x1c2)](_0x1e17b9(0x1a8)))>=0x0;if(!_0x4bf12f)continue;let _0x2a7ede=![],_0x485608=_0x19cbcb['src'],_0x43ce22,_0x5bf2be=0x0;!validateURL(_0x485608)&&(_0x485608=(0x0,path_1[_0x1e17b9(0x1bc)])(_0x2c78be,_0x485608));if(_0x19cbcb[_0x1e17b9(0x1aa)]){const _0x38ec01=_0x19cbcb[_0x1e17b9(0x1aa)]['split']('\x20');_0x38ec01[_0x1e17b9(0x1b4)](_0x2680f0=>{const _0x1c8e06=_0x1e17b9;let _0x2ecbac=_0x2680f0[_0x1c8e06(0x1a3)]('x');Number(_0x2ecbac[0x0])>=0x400&&Number(_0x2ecbac[0x1])>=0x400&&(_0x2a7ede=!![],Number(_0x2ecbac[0x0])>_0x5bf2be&&(_0x5bf2be=Number(_0x2ecbac[0x0])));});}else _0x43ce22=!_0x485608[_0x1e17b9(0x1b0)](_0x1e17b9(0x1c3))?await(0x0,load_1['loadImageFromDisk'])(_0x485608):await(0x0,load_1[_0x1e17b9(0x1cc)])(_0x485608),_0x43ce22[_0x1e17b9(0x1ab)]()>=0x400&&_0x43ce22['getHeight']()>=0x400&&(_0x2a7ede=!![],_0x43ce22[_0x1e17b9(0x1ab)]()>_0x5bf2be&&(_0x5bf2be=_0x43ce22[_0x1e17b9(0x1ab)]()));_0x2a7ede&&_0x4bf12f&&(_0x5bf2be>_0x5ed8e0&&(_0x5ed8e0=_0x5bf2be,_0x4f7863=_0x43ce22,_0x18942d=_0x485608,_0x2f7bf2=_0x19cbcb[_0x1e17b9(0x19c)]));}if(_0x5ed8e0===0x0){if(_0x3e0f5a){_0x204569['icons']=[{'src':(0x0,path_1[_0x1e17b9(0x1bc)])(__dirname,_0x1e17b9(0x1c0)),'sizes':'1024x1024','purpose':_0x1e17b9(0x1a8)}],Cli_1['Cli'][_0x1e17b9(0x1c6)][_0x1e17b9(0x1bf)](_0x1e17b9(0x1b3)),Cli_1[_0x1e17b9(0x1b8)]['log'][_0x1e17b9(0x1bf)](_0x1e17b9(0x1d1));return;}throw new CustomError_1[(_0x1e17b9(0x1ba))]({'code':0xfa0,'message':_0x1e17b9(0x1b3),'message_staring_params':{}});}else _0x18942d&&(_0x4f7863=!_0x18942d[_0x1e17b9(0x1b0)](_0x1e17b9(0x1c3))?await(0x0,load_1[_0x1e17b9(0x1a5)])(_0x18942d):await(0x0,load_1['loadImageFromNet'])(_0x18942d));if(_0x4f7863&&!imageHelper_1[_0x1e17b9(0x1ac)][_0x1e17b9(0x1b7)](_0x4f7863)){if(_0x3e0f5a){Cli_1['Cli']['log'][_0x1e17b9(0x1bf)](_0x1e17b9(0x1b3));return;}throw new CustomError_1[(_0x1e17b9(0x1ba))]({'code':0xfa0,'message':_0x1e17b9(0x1d3),'message_staring_params':{}});}_0x204569[_0x1e17b9(0x1b1)]=[{'src':_0x18942d,'sizes':_0x5ed8e0+'x'+_0x5ed8e0,'purpose':_0x2f7bf2}];}function checkId(_0x119186,_0xa8d74a){const _0x561ec7=_0x15942a;if(_0xa8d74a){if(!validateBundleId(_0xa8d74a))throw new CustomError_1[(_0x561ec7(0x1ba))]({'code':0xfa0,'message':_0x561ec7(0x1b5),'message_staring_params':{}});return;}!_0x119186['id']&&(_0x119186['id']=_0x119186[_0x561ec7(0x19e)]);if(!validateURL(_0x119186['id'])&&!_0xa8d74a)throw new CustomError_1[(_0x561ec7(0x1ba))]({'code':0xfa0,'message':_0x561ec7(0x1b2),'message_staring_params':{}});}function validateBundleId(_0x3872d1){const _0x335f83=_0x15942a,_0x6b1d30=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x6b1d30[_0x335f83(0x1c9)](_0x3872d1);}function validateURL(_0x2852e6){try{return new URL(_0x2852e6),!![];}catch(_0x43d48e){return![];}}
1
+ 'use strict';const _0x71aa72=_0x4ca1;function _0x4ca1(_0x416dc5,_0x1e6edf){const _0x32b10c=_0x32b1();return _0x4ca1=function(_0x4ca17e,_0x4c4275){_0x4ca17e=_0x4ca17e-0x89;let _0x207f2a=_0x32b10c[_0x4ca17e];return _0x207f2a;},_0x4ca1(_0x416dc5,_0x1e6edf);}(function(_0x3f3bbd,_0x2ab49d){const _0x448952=_0x4ca1,_0x1473a4=_0x3f3bbd();while(!![]){try{const _0x310830=parseInt(_0x448952(0xbf))/0x1*(-parseInt(_0x448952(0xb4))/0x2)+parseInt(_0x448952(0xb2))/0x3*(parseInt(_0x448952(0xa8))/0x4)+parseInt(_0x448952(0x8b))/0x5*(parseInt(_0x448952(0x91))/0x6)+-parseInt(_0x448952(0xa2))/0x7+-parseInt(_0x448952(0xb5))/0x8+parseInt(_0x448952(0xbb))/0x9+-parseInt(_0x448952(0xb6))/0xa;if(_0x310830===_0x2ab49d)break;else _0x1473a4['push'](_0x1473a4['shift']());}catch(_0x1c79b7){_0x1473a4['push'](_0x1473a4['shift']());}}}(_0x32b1,0xd8e21));Object[_0x71aa72(0x95)](exports,_0x71aa72(0x93),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x71aa72(0xa3)]=checkIcons,exports[_0x71aa72(0x9e)]=checkId,exports[_0x71aa72(0x9a)]=validateBundleId,exports[_0x71aa72(0x98)]=validateURL;const path_1=require('path'),CustomError_1=require('../utils/CustomError'),utils_1=require('../utils/utils'),imageHelper_1=require(_0x71aa72(0xa6)),load_1=require(_0x71aa72(0xc1)),Cli_1=require(_0x71aa72(0xad));function checkManifestJson(_0x58d558,_0x2dd9f2=![]){const _0x455a51=_0x71aa72;var _0xb4910c;const _0x186bf6=[];!_0x58d558[_0x455a51(0xab)]&&!_0x58d558['short_name']&&!_0x2dd9f2&&_0x186bf6['push']({'code':0xbbe,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0xb4910c=_0x58d558['icons'])===null||_0xb4910c===void 0x0?void 0x0:_0xb4910c['length'])&&!_0x2dd9f2&&_0x186bf6[_0x455a51(0xa7)]({'code':0xbbf,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x58d558[_0x455a51(0xaf)]&&!_0x2dd9f2&&_0x186bf6[_0x455a51(0xa7)]({'code':0xbc0,'message':_0x455a51(0xba),'message_staring_params':{}});if(_0x186bf6[_0x455a51(0xae)])throw new CustomError_1[(_0x455a51(0x8d))](_0x186bf6);}function checkStartUrl(_0x429dfd,_0x3f9450,_0x40471f,_0x529a21=![]){const _0x536f40=_0x71aa72;var _0x5effbc=![];if(_0x529a21)return _0x429dfd[_0x536f40(0xac)]('https://')||_0x429dfd['startsWith'](_0x536f40(0xa4));if(_0x40471f){if(_0x429dfd[_0x536f40(0xac)](_0x536f40(0xbd))){const _0x77c897=new URL(_0x429dfd),_0x550762=new URL(_0x3f9450);if(_0x77c897[_0x536f40(0xb0)]!==_0x550762[_0x536f40(0xb0)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x536f40(0x89),'message_staring_params':{}});}else{if(_0x429dfd[_0x536f40(0xac)]('http://'))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x536f40(0xb3),'message_staring_params':{}});}}else{if(_0x429dfd['startsWith'](_0x536f40(0xbd))||_0x429dfd[_0x536f40(0xac)]('http://'))throw new CustomError_1[(_0x536f40(0x8d))]({'code':0xfa0,'message':_0x536f40(0x8e),'message_staring_params':{}});}return _0x5effbc;}function _0x32b1(){const _0xb83ab6=['../Cli','length','start_url','host','getHeight','67923zQoAUw','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','2nVNWKB','3379096HbeBvq','6140990FEROtb','isFullyOpaque','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','12453804biqRUF','getWidth','https://','icons','454585TNGGYu','parseRouter','../resource/load','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','Cli','10HuAzAt','forEach','CustomError','Local\x20manifest\x20cannot\x20package\x20network\x20project','indexOf','join','2204952TrtvFh','warn','__esModule','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','defineProperty','split','purpose','validateURL','1024x1024','validateBundleId','ImageHelper','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','src','checkId','http','loadImageFromDisk','../../assets/icon-default.png','4831666MofiHp','checkIcons','http://','log','../resource/imageHelper','push','168KKQtMK','sizes','maskable','name','startsWith'];_0x32b1=function(){return _0xb83ab6;};return _0x32b1();}async function checkIcons(_0x536260,_0x7a5dbe,_0x5ea330=![]){const _0x384bf3=_0x71aa72;var _0x51c77b,_0x176787;if(!((_0x51c77b=_0x536260[_0x384bf3(0xbe)])===null||_0x51c77b===void 0x0?void 0x0:_0x51c77b['length'])&&_0x5ea330){_0x536260[_0x384bf3(0xbe)]=[{'src':(0x0,path_1['join'])(__dirname,_0x384bf3(0xa1)),'sizes':_0x384bf3(0x99),'purpose':'maskable'}],Cli_1[_0x384bf3(0x8a)][_0x384bf3(0xa5)][_0x384bf3(0x92)]('icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode');return;}const _0x2ef9f8=(0x0,utils_1[_0x384bf3(0xc0)])(_0x7a5dbe);let _0x2a15e2,_0x1287a7,_0x592275,_0x18da0a=0x0;for(var _0x252de3=0x0;_0x252de3<_0x536260['icons']['length'];_0x252de3++){const _0x21a7f8=_0x536260[_0x384bf3(0xbe)][_0x252de3];let _0x2a53cf=((_0x176787=_0x21a7f8[_0x384bf3(0x97)])===null||_0x176787===void 0x0?void 0x0:_0x176787[_0x384bf3(0x8f)](_0x384bf3(0xaa)))>=0x0;if(!_0x2a53cf)continue;let _0x4985e1=![],_0x1f8c67=_0x21a7f8[_0x384bf3(0x9d)],_0x4e92ee,_0x5d7a67=0x0;!validateURL(_0x1f8c67)&&(_0x1f8c67=(0x0,path_1[_0x384bf3(0x90)])(_0x2ef9f8,_0x1f8c67));if(_0x21a7f8[_0x384bf3(0xa9)]){const _0x26c07f=_0x21a7f8[_0x384bf3(0xa9)][_0x384bf3(0x96)]('\x20');_0x26c07f[_0x384bf3(0x8c)](_0x1b3554=>{const _0x12df5d=_0x384bf3;let _0x544a95=_0x1b3554[_0x12df5d(0x96)]('x');Number(_0x544a95[0x0])>=0x400&&Number(_0x544a95[0x1])>=0x400&&(_0x4985e1=!![],Number(_0x544a95[0x0])>_0x5d7a67&&(_0x5d7a67=Number(_0x544a95[0x0])));});}else _0x4e92ee=!_0x1f8c67['startsWith'](_0x384bf3(0x9f))?await(0x0,load_1[_0x384bf3(0xa0)])(_0x1f8c67):await(0x0,load_1['loadImageFromNet'])(_0x1f8c67),_0x4e92ee[_0x384bf3(0xbc)]()>=0x400&&_0x4e92ee[_0x384bf3(0xb1)]()>=0x400&&(_0x4985e1=!![],_0x4e92ee['getWidth']()>_0x5d7a67&&(_0x5d7a67=_0x4e92ee['getWidth']()));_0x4985e1&&_0x2a53cf&&(_0x5d7a67>_0x18da0a&&(_0x18da0a=_0x5d7a67,_0x2a15e2=_0x4e92ee,_0x1287a7=_0x1f8c67,_0x592275=_0x21a7f8['purpose']));}if(_0x18da0a===0x0){if(_0x5ea330){_0x536260[_0x384bf3(0xbe)]=[{'src':(0x0,path_1['join'])(__dirname,_0x384bf3(0xa1)),'sizes':'1024x1024','purpose':'maskable'}],Cli_1['Cli'][_0x384bf3(0xa5)][_0x384bf3(0x92)](_0x384bf3(0x94)),Cli_1['Cli'][_0x384bf3(0xa5)][_0x384bf3(0x92)](_0x384bf3(0xb9));return;}throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x384bf3(0x94),'message_staring_params':{}});}else _0x1287a7&&(_0x2a15e2=!_0x1287a7[_0x384bf3(0xac)]('http')?await(0x0,load_1[_0x384bf3(0xa0)])(_0x1287a7):await(0x0,load_1['loadImageFromNet'])(_0x1287a7));if(_0x2a15e2&&!imageHelper_1[_0x384bf3(0x9b)][_0x384bf3(0xb7)](_0x2a15e2)){if(_0x5ea330){Cli_1['Cli'][_0x384bf3(0xa5)]['warn']('In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable');return;}throw new CustomError_1[(_0x384bf3(0x8d))]({'code':0xfa0,'message':_0x384bf3(0x9c),'message_staring_params':{}});}_0x536260[_0x384bf3(0xbe)]=[{'src':_0x1287a7,'sizes':_0x18da0a+'x'+_0x18da0a,'purpose':_0x592275}];}function checkId(_0x45b62a,_0x20c9f9){const _0x2081d2=_0x71aa72;if(_0x20c9f9){if(!validateBundleId(_0x20c9f9))throw new CustomError_1[(_0x2081d2(0x8d))]({'code':0xfa0,'message':_0x2081d2(0xb8),'message_staring_params':{}});return;}!_0x45b62a['id']&&(_0x45b62a['id']=_0x45b62a['start_url']);if(!validateURL(_0x45b62a['id'])&&!_0x20c9f9)throw new CustomError_1[(_0x2081d2(0x8d))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','message_staring_params':{}});}function validateBundleId(_0x2fdc02){const _0x134dd7=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x134dd7['test'](_0x2fdc02);}function validateURL(_0xa640bd){try{return new URL(_0xa640bd),!![];}catch(_0xb34d0e){return![];}}
@@ -1 +1 @@
1
- 'use strict';const _0xb4fd25=_0x226d;function _0x226d(_0x2bce0b,_0x4bfc24){const _0xd6bb79=_0xd6bb();return _0x226d=function(_0x226d2e,_0x90c34d){_0x226d2e=_0x226d2e-0x191;let _0x467514=_0xd6bb79[_0x226d2e];return _0x467514;},_0x226d(_0x2bce0b,_0x4bfc24);}(function(_0xf76a5,_0x5cf180){const _0x273cbe=_0x226d,_0x4094cd=_0xf76a5();while(!![]){try{const _0x533e83=parseInt(_0x273cbe(0x1a2))/0x1*(-parseInt(_0x273cbe(0x19b))/0x2)+parseInt(_0x273cbe(0x1a8))/0x3*(-parseInt(_0x273cbe(0x19f))/0x4)+parseInt(_0x273cbe(0x1aa))/0x5*(parseInt(_0x273cbe(0x197))/0x6)+parseInt(_0x273cbe(0x191))/0x7+-parseInt(_0x273cbe(0x19d))/0x8*(-parseInt(_0x273cbe(0x196))/0x9)+parseInt(_0x273cbe(0x195))/0xa*(parseInt(_0x273cbe(0x1a1))/0xb)+parseInt(_0x273cbe(0x199))/0xc*(-parseInt(_0x273cbe(0x192))/0xd);if(_0x533e83===_0x5cf180)break;else _0x4094cd['push'](_0x4094cd['shift']());}catch(_0x33b674){_0x4094cd['push'](_0x4094cd['shift']());}}}(_0xd6bb,0xd69a6));Object[_0xb4fd25(0x194)](exports,_0xb4fd25(0x19e),{'value':!![]}),exports[_0xb4fd25(0x19c)]=copyDir,exports['clearDir']=clearDir;function _0xd6bb(){const _0x5c1f32=['__esModule','6906140cOqEOI','existsSync','77AIXerw','1165057DNWcBW','mkdirSync','forEach','isDirectory','log','statSync','3RYVbzf','readFileSync','1399935XRBfAe','10880814FFpOEi','247UBtoHA','isFile','defineProperty','1141770ERmJdX','9477441zGMNaV','18xuvnYg','unlinkSync','300660bZkgMG','readdirSync','2YKlMHM','copyDir','8QMXcIk'];_0xd6bb=function(){return _0x5c1f32;};return _0xd6bb();}const fs=require('fs');function copyDir(_0x5dac58,_0x45fe67){const _0xf2ce53=_0xb4fd25,_0x4cba4c=fs['readdirSync'](_0x5dac58);_0x4cba4c[_0xf2ce53(0x1a4)](_0xd9ec95=>{const _0x19990a=_0xf2ce53,_0x3bdddb=_0x5dac58+'/'+_0xd9ec95,_0x14755c=_0x45fe67+'/'+_0xd9ec95,_0x5a5902=fs[_0x19990a(0x1a7)](_0x3bdddb);if(_0x5a5902['isFile']())try{fs['writeFileSync'](_0x14755c,fs[_0x19990a(0x1a9)](_0x3bdddb));}catch(_0x4d58f5){console[_0x19990a(0x1a6)](_0x4d58f5);}else _0x5a5902[_0x19990a(0x1a5)]()&&(!fs[_0x19990a(0x1a0)](_0x14755c)&&fs[_0x19990a(0x1a3)](_0x14755c,{'recursive':!![]}),copyDir(_0x3bdddb,_0x14755c));});}function clearDir(_0x42258b){const _0x4a40fa=_0xb4fd25,_0x390c13=fs[_0x4a40fa(0x19a)](_0x42258b);_0x390c13[_0x4a40fa(0x1a4)](_0x3ba8c8=>{const _0x1aeb55=_0x4a40fa,_0x807063=_0x42258b+'/'+_0x3ba8c8,_0x2329bb=fs[_0x1aeb55(0x1a7)](_0x807063);if(_0x2329bb[_0x1aeb55(0x193)]())try{fs[_0x1aeb55(0x198)](_0x807063);}catch(_0x129f57){console[_0x1aeb55(0x1a6)](_0x129f57);}else _0x2329bb['isDirectory']()&&clearDir(_0x807063);});}
1
+ 'use strict';const _0x5aec97=_0x1be7;(function(_0x103662,_0x2a7029){const _0x3a6207=_0x1be7,_0x421ad6=_0x103662();while(!![]){try{const _0x20f6ca=-parseInt(_0x3a6207(0x17b))/0x1+-parseInt(_0x3a6207(0x186))/0x2+parseInt(_0x3a6207(0x189))/0x3*(parseInt(_0x3a6207(0x18b))/0x4)+-parseInt(_0x3a6207(0x187))/0x5*(parseInt(_0x3a6207(0x188))/0x6)+parseInt(_0x3a6207(0x18d))/0x7*(parseInt(_0x3a6207(0x17d))/0x8)+parseInt(_0x3a6207(0x17f))/0x9*(parseInt(_0x3a6207(0x183))/0xa)+parseInt(_0x3a6207(0x180))/0xb*(parseInt(_0x3a6207(0x17e))/0xc);if(_0x20f6ca===_0x2a7029)break;else _0x421ad6['push'](_0x421ad6['shift']());}catch(_0x343711){_0x421ad6['push'](_0x421ad6['shift']());}}}(_0x517a,0x6f5aa));Object[_0x5aec97(0x185)](exports,'__esModule',{'value':!![]}),exports[_0x5aec97(0x17a)]=copyDir,exports[_0x5aec97(0x17c)]=clearDir;const fs=require('fs');function _0x1be7(_0x1bad30,_0x2a239a){const _0x517ac4=_0x517a();return _0x1be7=function(_0x1be7e4,_0x342e00){_0x1be7e4=_0x1be7e4-0x179;let _0x5b8c7d=_0x517ac4[_0x1be7e4];return _0x5b8c7d;},_0x1be7(_0x1bad30,_0x2a239a);}function copyDir(_0x5f0df3,_0x336478){const _0x4749bc=fs['readdirSync'](_0x5f0df3);_0x4749bc['forEach'](_0x300012=>{const _0x93dfbc=_0x1be7,_0x119b52=_0x5f0df3+'/'+_0x300012,_0x2a9c7c=_0x336478+'/'+_0x300012,_0x352a66=fs[_0x93dfbc(0x181)](_0x119b52);if(_0x352a66[_0x93dfbc(0x18a)]())try{fs[_0x93dfbc(0x179)](_0x2a9c7c,fs['readFileSync'](_0x119b52));}catch(_0xc7b470){console[_0x93dfbc(0x182)](_0xc7b470);}else _0x352a66['isDirectory']()&&(!fs['existsSync'](_0x2a9c7c)&&fs[_0x93dfbc(0x184)](_0x2a9c7c,{'recursive':!![]}),copyDir(_0x119b52,_0x2a9c7c));});}function clearDir(_0x123cde){const _0x32f402=_0x5aec97,_0x98d416=fs[_0x32f402(0x190)](_0x123cde);_0x98d416[_0x32f402(0x18f)](_0x44aba5=>{const _0x43710c=_0x32f402,_0x4203ea=_0x123cde+'/'+_0x44aba5,_0x5e59da=fs[_0x43710c(0x181)](_0x4203ea);if(_0x5e59da['isFile']())try{fs[_0x43710c(0x18c)](_0x4203ea);}catch(_0x4b0010){console[_0x43710c(0x182)](_0x4b0010);}else _0x5e59da[_0x43710c(0x18e)]()&&clearDir(_0x4203ea);});}function _0x517a(){const _0xdf19eb=['clearDir','118232NYMAsd','24agXhqT','45rJFJdX','3270201Txgroi','statSync','log','914770TZdoxO','mkdirSync','defineProperty','1776554JWhFlb','5WRALuZ','3064710quItXU','1363833XhQDAo','isFile','8oCkOOg','unlinkSync','70YUUoDY','isDirectory','forEach','readdirSync','writeFileSync','copyDir','253811UakSLn'];_0x517a=function(){return _0xdf19eb;};return _0x517a();}
@@ -1 +1 @@
1
- 'use strict';function _0x3f3b(){const _0x5b8afa=['toFormat','@resvg/resvg-js','8631UlytHa','8QniAvt','png','61847HAYlXD','3480423XvArxM','ImageHelper','sharp','getWidth','4iGcmaT','jimp','5472300UJENaS','Resvg','74830AJqqqF','createImg','6296CqFDmQ','data','toBuffer','bitmap','412677ijpoLn','20825910HCanFM','isFullyOpaque','webp2PngBuffer'];_0x3f3b=function(){return _0x5b8afa;};return _0x3f3b();}const _0x2a78b6=_0x1b8d;(function(_0x23c841,_0x193d5c){const _0x4a1168=_0x1b8d,_0x27e0b6=_0x23c841();while(!![]){try{const _0x325f46=-parseInt(_0x4a1168(0x88))/0x1*(parseInt(_0x4a1168(0x8d))/0x2)+parseInt(_0x4a1168(0x89))/0x3+parseInt(_0x4a1168(0x86))/0x4*(-parseInt(_0x4a1168(0x91))/0x5)+parseInt(_0x4a1168(0x8f))/0x6+parseInt(_0x4a1168(0x9d))/0x7*(parseInt(_0x4a1168(0x93))/0x8)+-parseInt(_0x4a1168(0x97))/0x9+-parseInt(_0x4a1168(0x98))/0xa;if(_0x325f46===_0x193d5c)break;else _0x27e0b6['push'](_0x27e0b6['shift']());}catch(_0x50a519){_0x27e0b6['push'](_0x27e0b6['shift']());}}}(_0x3f3b,0xb9aac));function _0x1b8d(_0x3071dc,_0xb09859){const _0x3f3bbf=_0x3f3b();return _0x1b8d=function(_0x1b8df6,_0xa9931e){_0x1b8df6=_0x1b8df6-0x86;let _0x341d5e=_0x3f3bbf[_0x1b8df6];return _0x341d5e;},_0x1b8d(_0x3071dc,_0xb09859);}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['ImageHelper']=void 0x0;const Jimp=require(_0x2a78b6(0x8e)),sharp=require(_0x2a78b6(0x8b)),resvg_js_1=require(_0x2a78b6(0x9c));class ImageHelper{static[_0x2a78b6(0x92)](_0x498257){return new Jimp(_0x498257,_0x498257,0x0);}static async[_0x2a78b6(0x9a)](_0x1ad334){const _0x4e1049=_0x2a78b6;return await sharp(_0x1ad334)[_0x4e1049(0x9b)](_0x4e1049(0x87))[_0x4e1049(0x95)]();}static async['svg2img'](_0x4ffba7){const _0x1c2c56=_0x2a78b6,_0x1a3ce6={'fitTo':{'mode':'width','value':0x400}},_0x25105d=new resvg_js_1[(_0x1c2c56(0x90))](_0x4ffba7,_0x1a3ce6),_0x2db5ed=_0x25105d['render'](),_0x23ab87=_0x2db5ed['asPng']();return _0x23ab87;}static[_0x2a78b6(0x99)](_0x191b6f){const _0x393987=_0x2a78b6,_0x2ed0a0=_0x191b6f[_0x393987(0x8c)]()*_0x191b6f['getHeight']();for(var _0x4d987=0x0;_0x4d987<_0x2ed0a0;_0x4d987++){const _0x140e75=_0x4d987*0x4+0x3;if(_0x191b6f[_0x393987(0x96)][_0x393987(0x94)][_0x140e75]<0xff)return![];}return!![];}}exports[_0x2a78b6(0x8a)]=ImageHelper;
1
+ 'use strict';function _0x6952(_0x323868,_0x1221ad){const _0x1ea8bb=_0x1ea8();return _0x6952=function(_0x6952e1,_0x3dfa31){_0x6952e1=_0x6952e1-0x188;let _0x458a7d=_0x1ea8bb[_0x6952e1];return _0x458a7d;},_0x6952(_0x323868,_0x1221ad);}const _0x55b3fd=_0x6952;(function(_0x5031a5,_0x4ca979){const _0x4af58f=_0x6952,_0x6d257f=_0x5031a5();while(!![]){try{const _0x635971=parseInt(_0x4af58f(0x19e))/0x1+-parseInt(_0x4af58f(0x194))/0x2+-parseInt(_0x4af58f(0x19a))/0x3*(parseInt(_0x4af58f(0x1a2))/0x4)+parseInt(_0x4af58f(0x1a3))/0x5+parseInt(_0x4af58f(0x195))/0x6*(-parseInt(_0x4af58f(0x18b))/0x7)+parseInt(_0x4af58f(0x19c))/0x8*(-parseInt(_0x4af58f(0x18c))/0x9)+parseInt(_0x4af58f(0x18e))/0xa;if(_0x635971===_0x4ca979)break;else _0x6d257f['push'](_0x6d257f['shift']());}catch(_0x2177fc){_0x6d257f['push'](_0x6d257f['shift']());}}}(_0x1ea8,0x3eea6));function _0x1ea8(){const _0x1fe6f5=['jimp','asPng','render','webp2PngBuffer','247350UJsNSU','6JTgMLY','isFullyOpaque','toFormat','bitmap','defineProperty','1171689HNVQGB','data','2487416HPweDl','svg2img','86721CYyAyG','ImageHelper','createImg','width','4lbPcuS','1112375HkkkGf','@resvg/resvg-js','__esModule','getHeight','2092559tyjXEx','9DJuEoY','getWidth','10726080fFZEvX','toBuffer'];_0x1ea8=function(){return _0x1fe6f5;};return _0x1ea8();}Object[_0x55b3fd(0x199)](exports,_0x55b3fd(0x189),{'value':!![]}),exports[_0x55b3fd(0x19f)]=void 0x0;const Jimp=require(_0x55b3fd(0x190)),sharp=require('sharp'),resvg_js_1=require(_0x55b3fd(0x188));class ImageHelper{static[_0x55b3fd(0x1a0)](_0xb6569a){return new Jimp(_0xb6569a,_0xb6569a,0x0);}static async[_0x55b3fd(0x193)](_0x962dd8){const _0x43e50=_0x55b3fd;return await sharp(_0x962dd8)[_0x43e50(0x197)]('png')[_0x43e50(0x18f)]();}static async[_0x55b3fd(0x19d)](_0x402764){const _0x3f268e=_0x55b3fd,_0x270973={'fitTo':{'mode':_0x3f268e(0x1a1),'value':0x400}},_0x5bcac1=new resvg_js_1['Resvg'](_0x402764,_0x270973),_0x3d02fc=_0x5bcac1[_0x3f268e(0x192)](),_0x1cfbf1=_0x3d02fc[_0x3f268e(0x191)]();return _0x1cfbf1;}static[_0x55b3fd(0x196)](_0x1771d6){const _0x28d2b6=_0x55b3fd,_0x50d32f=_0x1771d6[_0x28d2b6(0x18d)]()*_0x1771d6[_0x28d2b6(0x18a)]();for(var _0x488e25=0x0;_0x488e25<_0x50d32f;_0x488e25++){const _0x438588=_0x488e25*0x4+0x3;if(_0x1771d6[_0x28d2b6(0x198)][_0x28d2b6(0x19b)][_0x438588]<0xff)return![];}return!![];}}exports[_0x55b3fd(0x19f)]=ImageHelper;
@@ -1 +1 @@
1
- 'use strict';const _0x476f94=_0x3938;function _0x3938(_0x142f62,_0x1ebe2d){const _0x3e49e2=_0x3e49();return _0x3938=function(_0x393848,_0x35f649){_0x393848=_0x393848-0x8b;let _0x765fd8=_0x3e49e2[_0x393848];return _0x765fd8;},_0x3938(_0x142f62,_0x1ebe2d);}(function(_0x5f0484,_0x357c75){const _0x45c15b=_0x3938,_0x3fe3b1=_0x5f0484();while(!![]){try{const _0x531c30=-parseInt(_0x45c15b(0x9c))/0x1*(parseInt(_0x45c15b(0xaa))/0x2)+-parseInt(_0x45c15b(0x98))/0x3+-parseInt(_0x45c15b(0xac))/0x4*(parseInt(_0x45c15b(0xb5))/0x5)+-parseInt(_0x45c15b(0x9e))/0x6*(parseInt(_0x45c15b(0x90))/0x7)+parseInt(_0x45c15b(0xb3))/0x8*(-parseInt(_0x45c15b(0x8d))/0x9)+parseInt(_0x45c15b(0xa3))/0xa*(parseInt(_0x45c15b(0xb9))/0xb)+parseInt(_0x45c15b(0x8f))/0xc;if(_0x531c30===_0x357c75)break;else _0x3fe3b1['push'](_0x3fe3b1['shift']());}catch(_0x24d627){_0x3fe3b1['push'](_0x3fe3b1['shift']());}}}(_0x3e49,0xa408c));function _0x3e49(){const _0x33f06a=['includes','child_process','moveProjectFrom','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','generateIcon','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','1133853hXaEPb','existsSync','join','node_modules/@webspatial/platform-','1055289zWGLbl','ASSET_DIRECTORY','6qJkiFp','../../../node_modules/@webspatial/platform-','loadImageFromNet',',\x20now\x20WebSpatial\x20only\x20support\x20','visionos','9836350iVQOlQ','icons','path','PROJECT_EXPORT_DIRECTORY','BACK_APPICON_DIRECTORY','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','./export','2EWnJVD','./build','8WxvUNv','../../../','PROJECT_BUILD_DIRECTORY','MIDDLE_APPICON_DIRECTORY','loadImageFromDisk','clearDir','not\x20support\x20platform\x20','251296tqOlHt','cwd','2932975WcLrxH','WEB_PROJECT_DIRECTORY','execSync','PROJECT_DIRECTORY','11fGvvRR','src','cd\x20','ResourceManager','279ORQYGz','copyDir','45277176RiVqjT','3532529RwvHHl','http'];_0x3e49=function(){return _0x33f06a;};return _0x3e49();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x476f94(0x8c)]=exports[_0x476f94(0xaf)]=exports['BACK_APPICON_DIRECTORY']=exports[_0x476f94(0x9d)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x476f94(0xa6)]=exports[_0x476f94(0xae)]=exports[_0x476f94(0xb8)]=void 0x0;const fs=require('fs'),path_1=require(_0x476f94(0xa5)),file_1=require('./file'),load_1=require('./load'),child_process_1=require(_0x476f94(0x93));exports[_0x476f94(0xb8)]='',exports['PROJECT_BUILD_DIRECTORY']='',exports[_0x476f94(0xa6)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports[_0x476f94(0x9d)]='web-spatial/Assets.xcassets',exports[_0x476f94(0xa7)]=exports[_0x476f94(0x9d)]+_0x476f94(0x97),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x476f94(0x9d)]+_0x476f94(0x95);const supportPlatform=[_0x476f94(0xa2)];class ResourceManager{static async[_0x476f94(0x94)](_0x31a63d){const _0x65a461=_0x476f94,_0x44db80=(0x0,path_1[_0x65a461(0x9a)])(process[_0x65a461(0xb4)](),_0x31a63d),_0x1bb329=(0x0,path_1[_0x65a461(0x9a)])(exports['PROJECT_DIRECTORY'],exports[_0x65a461(0xb6)]);!fs[_0x65a461(0x99)](_0x1bb329)?fs['mkdirSync'](_0x1bb329,{'recursive':!![]}):(0x0,file_1[_0x65a461(0xb1)])(_0x1bb329);try{(0x0,file_1[_0x65a461(0x8e)])(_0x44db80,_0x1bb329);}catch(_0x24c2f4){console['log'](_0x24c2f4);}}static async[_0x476f94(0x96)](_0xeecf4e){const _0x377a32=_0x476f94,_0x4a6700=_0xeecf4e['json'],_0x380e91=_0x4a6700[_0x377a32(0xa4)][0x0][_0x377a32(0xba)],_0x4328b0=!_0x380e91['startsWith'](_0x377a32(0x91))?await(0x0,load_1[_0x377a32(0xb0)])(_0x380e91):await(0x0,load_1[_0x377a32(0xa0)])(_0x380e91);return _0x4328b0['resize'](0x400,0x400),_0x4328b0;}static['checkPlatformPath'](_0x4a1f38){const _0x1a4bc7=_0x476f94,_0xf93baf=_0x4a1f38!==null&&_0x4a1f38!==void 0x0?_0x4a1f38:supportPlatform[0x0];if(!supportPlatform[_0x1a4bc7(0x92)](_0xf93baf))throw new Error(_0x1a4bc7(0xb2)+_0xf93baf+_0x1a4bc7(0xa1)+supportPlatform['join'](','));let _0x3680d0=(0x0,path_1[_0x1a4bc7(0x9a)])(process[_0x1a4bc7(0xb4)](),_0x1a4bc7(0x9b)+_0xf93baf);!fs[_0x1a4bc7(0x99)](_0x3680d0)&&(_0x3680d0=(0x0,path_1[_0x1a4bc7(0x9a)])(__dirname,_0x1a4bc7(0x9f)+_0xf93baf));const _0x2bda3f=fs['existsSync'](_0x3680d0);!_0x2bda3f&&(0x0,child_process_1[_0x1a4bc7(0xb7)])(_0x1a4bc7(0x8b)+(0x0,path_1[_0x1a4bc7(0x9a)])(__dirname,_0x1a4bc7(0xad))+_0x1a4bc7(0xa8)+_0xf93baf),exports[_0x1a4bc7(0xb8)]=_0x3680d0,exports['PROJECT_BUILD_DIRECTORY']=(0x0,path_1[_0x1a4bc7(0x9a)])(exports['PROJECT_DIRECTORY'],_0x1a4bc7(0xab)),exports[_0x1a4bc7(0xa6)]=(0x0,path_1[_0x1a4bc7(0x9a)])(exports['PROJECT_DIRECTORY'],_0x1a4bc7(0xa9));}}exports[_0x476f94(0x8c)]=ResourceManager;
1
+ 'use strict';const _0x14ad6c=_0x32e0;(function(_0x5c2ab5,_0x50574e){const _0x3af690=_0x32e0,_0x12022b=_0x5c2ab5();while(!![]){try{const _0x3837a4=-parseInt(_0x3af690(0x1b2))/0x1+parseInt(_0x3af690(0x1ad))/0x2*(parseInt(_0x3af690(0x1d0))/0x3)+-parseInt(_0x3af690(0x1aa))/0x4*(parseInt(_0x3af690(0x1c0))/0x5)+parseInt(_0x3af690(0x1bd))/0x6*(-parseInt(_0x3af690(0x1a6))/0x7)+parseInt(_0x3af690(0x1cc))/0x8+-parseInt(_0x3af690(0x1ac))/0x9+-parseInt(_0x3af690(0x1d4))/0xa*(-parseInt(_0x3af690(0x1af))/0xb);if(_0x3837a4===_0x50574e)break;else _0x12022b['push'](_0x12022b['shift']());}catch(_0x2c08cc){_0x12022b['push'](_0x12022b['shift']());}}}(_0x4dd2,0xef705));Object[_0x14ad6c(0x1cf)](exports,_0x14ad6c(0x1bb),{'value':!![]}),exports[_0x14ad6c(0x1be)]=exports[_0x14ad6c(0x1a7)]=exports[_0x14ad6c(0x1ba)]=exports[_0x14ad6c(0x1bf)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x14ad6c(0x1c1)]=exports[_0x14ad6c(0x1c3)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require(_0x14ad6c(0x1d1)),load_1=require(_0x14ad6c(0x1b5)),child_process_1=require('child_process');exports[_0x14ad6c(0x1a5)]='',exports['PROJECT_BUILD_DIRECTORY']='',exports[_0x14ad6c(0x1c1)]='',exports[_0x14ad6c(0x1d6)]=_0x14ad6c(0x1b4),exports[_0x14ad6c(0x1bf)]=_0x14ad6c(0x1c9),exports['BACK_APPICON_DIRECTORY']=exports['ASSET_DIRECTORY']+_0x14ad6c(0x1cd),exports[_0x14ad6c(0x1a7)]=exports[_0x14ad6c(0x1bf)]+_0x14ad6c(0x1b3);const supportPlatform=[_0x14ad6c(0x1b6)];function _0x32e0(_0x2b345a,_0x3d1078){const _0x4dd22f=_0x4dd2();return _0x32e0=function(_0x32e0b7,_0x2f5f1a){_0x32e0b7=_0x32e0b7-0x1a5;let _0x53f1a9=_0x4dd22f[_0x32e0b7];return _0x53f1a9;},_0x32e0(_0x2b345a,_0x3d1078);}class ResourceManager{static async[_0x14ad6c(0x1c7)](_0x2010d7){const _0x18b805=_0x14ad6c,_0x6a778f=(0x0,path_1[_0x18b805(0x1c6)])(process[_0x18b805(0x1d2)](),_0x2010d7),_0x3e04c6=(0x0,path_1[_0x18b805(0x1c6)])(exports['PROJECT_DIRECTORY'],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x18b805(0x1ab)](_0x3e04c6)?fs[_0x18b805(0x1b1)](_0x3e04c6,{'recursive':!![]}):(0x0,file_1[_0x18b805(0x1b9)])(_0x3e04c6);try{(0x0,file_1[_0x18b805(0x1ca)])(_0x6a778f,_0x3e04c6);}catch(_0x355ca9){console['log'](_0x355ca9);}}static async['generateIcon'](_0x143c54){const _0x1bd0a0=_0x14ad6c,_0xdc053c=_0x143c54[_0x1bd0a0(0x1ae)],_0x10eaf7=_0xdc053c[_0x1bd0a0(0x1b0)][0x0][_0x1bd0a0(0x1a9)],_0x23e09e=!_0x10eaf7['startsWith'](_0x1bd0a0(0x1d7))?await(0x0,load_1[_0x1bd0a0(0x1c8)])(_0x10eaf7):await(0x0,load_1['loadImageFromNet'])(_0x10eaf7);return _0x23e09e[_0x1bd0a0(0x1b7)](0x400,0x400),_0x23e09e;}static[_0x14ad6c(0x1d3)](_0x3330ad){const _0x1a0998=_0x14ad6c,_0x4bcf69=_0x3330ad!==null&&_0x3330ad!==void 0x0?_0x3330ad:supportPlatform[0x0];if(!supportPlatform[_0x1a0998(0x1c2)](_0x4bcf69))throw new Error(_0x1a0998(0x1bc)+_0x4bcf69+_0x1a0998(0x1c4)+supportPlatform[_0x1a0998(0x1c6)](','));let _0x54a1de=(0x0,path_1[_0x1a0998(0x1c6)])(process[_0x1a0998(0x1d2)](),_0x1a0998(0x1cb)+_0x4bcf69);!fs[_0x1a0998(0x1ab)](_0x54a1de)&&(_0x54a1de=(0x0,path_1[_0x1a0998(0x1c6)])(__dirname,_0x1a0998(0x1c5)+_0x4bcf69));const _0x171d51=fs[_0x1a0998(0x1ab)](_0x54a1de);!_0x171d51&&(0x0,child_process_1['execSync'])('cd\x20'+(0x0,path_1[_0x1a0998(0x1c6)])(__dirname,_0x1a0998(0x1d5))+_0x1a0998(0x1ce)+_0x4bcf69),exports['PROJECT_DIRECTORY']=_0x54a1de,exports[_0x1a0998(0x1c3)]=(0x0,path_1[_0x1a0998(0x1c6)])(exports[_0x1a0998(0x1a5)],_0x1a0998(0x1b8)),exports[_0x1a0998(0x1c1)]=(0x0,path_1[_0x1a0998(0x1c6)])(exports[_0x1a0998(0x1a5)],_0x1a0998(0x1a8));}}exports[_0x14ad6c(0x1be)]=ResourceManager;function _0x4dd2(){const _0x46134f=['__esModule','not\x20support\x20platform\x20','196836yXfTOG','ResourceManager','ASSET_DIRECTORY','542845kTtEAk','PROJECT_EXPORT_DIRECTORY','includes','PROJECT_BUILD_DIRECTORY',',\x20now\x20WebSpatial\x20only\x20support\x20','../../../node_modules/@webspatial/platform-','join','moveProjectFrom','loadImageFromDisk','web-spatial/Assets.xcassets','copyDir','node_modules/@webspatial/platform-','12760272bIZgtt','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','defineProperty','3986529XVzLUY','./file','cwd','checkPlatformPath','4940940GyYCsU','../../../','WEB_PROJECT_DIRECTORY','http','PROJECT_DIRECTORY','35hNcoHV','MIDDLE_APPICON_DIRECTORY','./export','src','4pVCRME','existsSync','3105288VkaTGV','2gDehey','json','11oJqYdn','icons','mkdirSync','1819599uZlEkv','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','web-spatial/static-web','./load','visionos','resize','./build','clearDir','BACK_APPICON_DIRECTORY'];_0x4dd2=function(){return _0x46134f;};return _0x4dd2();}
@@ -1 +1 @@
1
- 'use strict';function _0xe1e4(_0x34883f,_0x1c3cb7){const _0x299539=_0x2995();return _0xe1e4=function(_0xe1e4d2,_0x571bd8){_0xe1e4d2=_0xe1e4d2-0xf1;let _0x31a6fd=_0x299539[_0xe1e4d2];return _0x31a6fd;},_0xe1e4(_0x34883f,_0x1c3cb7);}const _0xb899a4=_0xe1e4;(function(_0x30f6b1,_0x1821a7){const _0x3cedc0=_0xe1e4,_0x3b853d=_0x30f6b1();while(!![]){try{const _0x5bbadc=-parseInt(_0x3cedc0(0x10a))/0x1*(-parseInt(_0x3cedc0(0xf8))/0x2)+-parseInt(_0x3cedc0(0xf3))/0x3*(parseInt(_0x3cedc0(0x10c))/0x4)+-parseInt(_0x3cedc0(0x11e))/0x5*(-parseInt(_0x3cedc0(0x123))/0x6)+parseInt(_0x3cedc0(0x114))/0x7*(parseInt(_0x3cedc0(0x126))/0x8)+-parseInt(_0x3cedc0(0xfe))/0x9*(-parseInt(_0x3cedc0(0x121))/0xa)+parseInt(_0x3cedc0(0x103))/0xb+-parseInt(_0x3cedc0(0x104))/0xc;if(_0x5bbadc===_0x1821a7)break;else _0x3b853d['push'](_0x3b853d['shift']());}catch(_0x37ac8e){_0x3b853d['push'](_0x3b853d['shift']());}}}(_0x2995,0x6ce3b));Object[_0xb899a4(0x11a)](exports,_0xb899a4(0xfc),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0xb899a4(0x10f)]=loadJsonFromDisk,exports['loadImageFromNet']=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports[_0xb899a4(0x106)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0xb899a4(0x117)),CustomError_1=require(_0xb899a4(0xf2)),Jimp=require(_0xb899a4(0x115)),imageHelper_1=require(_0xb899a4(0x11d));async function loadJsonFromNet(_0x92423c){const _0x5174a3=_0xb899a4,_0x31d3e3=await FetchUtils_1_1[_0x5174a3(0x105)][_0x5174a3(0xf9)](_0x92423c,{'encoding':_0x5174a3(0xff)});if(_0x31d3e3[_0x5174a3(0x10e)]!==0xc8)throw new CustomError_1[(_0x5174a3(0x102))]({'code':0xbbc,'message':_0x5174a3(0x120)+_0x92423c+'.'+(_0x5174a3(0x113)+_0x31d3e3[_0x5174a3(0x10e)]+_0x5174a3(0x118)),'message_staring_params':{'web_manifest_url':_0x92423c,'status':_0x31d3e3[_0x5174a3(0x10e)]}});try{let _0x23d291;return _0x31d3e3[_0x5174a3(0x107)]?_0x23d291=await _0x31d3e3[_0x5174a3(0x107)]():[_0x5174a3(0x109),_0x5174a3(0xf5),'br'][_0x5174a3(0x122)](_0x31d3e3['headers'][_0x5174a3(0x101)])?_0x23d291=FetchUtils_1_1[_0x5174a3(0x105)][_0x5174a3(0x111)](Buffer[_0x5174a3(0xf6)](_0x31d3e3['data'],_0x5174a3(0xff)),_0x31d3e3[_0x5174a3(0xf1)][_0x5174a3(0x101)])[_0x5174a3(0x116)]():_0x23d291=Buffer[_0x5174a3(0xf6)](_0x31d3e3[_0x5174a3(0x100)],'binary')['toString'](),JSON[_0x5174a3(0xfa)](_0x23d291[_0x5174a3(0x124)]());}catch(_0xa35c65){throw new CustomError_1[(_0x5174a3(0x102))]({'code':0xbbd,'message':_0x5174a3(0x10b),'message_staring_params':{}});}}function _0x2995(){const _0x39bae2=['fetch','parse','Received\x20icon\x20with\x20invalid\x20Content-Type.','__esModule','readFile','3201003DsAzrK','binary','data','content-encoding','CustomError','8724507pmheZV','30522000RWjERN','fetchUtils','loadFileString','text','\x20Responded\x20with\x20Content-Type\x20\x22','gzip','3121kMSSNM','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','4CqPrtX','startsWith','status','loadJsonFromDisk','image/svg','decompressResponseBuffer','image/webp','The\x20response\x20status\x20is\x20','1603RHxDZk','jimp','toString','../utils/FetchUtils-1',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','promises','defineProperty','image/','Problem\x20reading\x20','./imageHelper','15nMppgb','get','Failed\x20to\x20download\x20Web\x20Manifest\x20','10SmTzHK','includes','948246ASixwN','trim','content-type','25512safxPC','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','read','headers','../utils/CustomError','76047zJjttR','ImageHelper','deflate','from','arrayBuffer','424DafvAn'];_0x2995=function(){return _0x39bae2;};return _0x2995();}async function loadJsonFromDisk(_0x43710e){const _0x4bbbac=_0xb899a4,_0x42c3c2=await loadFileString(_0x43710e[_0x4bbbac(0x116)]());return JSON['parse'](_0x42c3c2);}async function loadImageFromNet(_0x595460){const _0x46bdd5=_0xb899a4,_0x59894e=await FetchUtils_1_1[_0x46bdd5(0x105)]['fetch'](_0x595460,{'encoding':_0x46bdd5(0xff)});if(_0x59894e[_0x46bdd5(0x10e)]!==0xc8)throw new CustomError_1[(_0x46bdd5(0x102))]({'code':0x7d2,'message':_0x46bdd5(0x127)+_0x59894e[_0x46bdd5(0x10e)],'message_staring_params':{'icon_url':_0x595460,'status':_0x59894e[_0x46bdd5(0x10e)]}});const _0x4f444b=_0x59894e[_0x46bdd5(0xf1)][_0x46bdd5(0x11f)]?_0x59894e[_0x46bdd5(0xf1)][_0x46bdd5(0x11f)](_0x46bdd5(0x125)):_0x59894e['headers'][_0x46bdd5(0x125)];if(!(_0x4f444b===null||_0x4f444b===void 0x0?void 0x0:_0x4f444b[_0x46bdd5(0x10d)](_0x46bdd5(0x11b))))throw new CustomError_1[(_0x46bdd5(0x102))]({'code':0x7d3,'message':_0x46bdd5(0xfb)+(_0x46bdd5(0x108)+_0x4f444b+'\x22'),'message_staring_params':{'icon_url':_0x595460,'contentType':_0x4f444b}});let _0x154565;_0x59894e[_0x46bdd5(0xf7)]?_0x154565=await _0x59894e['arrayBuffer']():[_0x46bdd5(0x109),_0x46bdd5(0xf5),'br'][_0x46bdd5(0x122)](_0x59894e[_0x46bdd5(0xf1)][_0x46bdd5(0x101)])?_0x154565=FetchUtils_1_1['fetchUtils'][_0x46bdd5(0x111)](Buffer[_0x46bdd5(0xf6)](_0x59894e[_0x46bdd5(0x100)],_0x46bdd5(0xff)),_0x59894e['headers'][_0x46bdd5(0x101)]):_0x154565=Buffer['from'](_0x59894e[_0x46bdd5(0x100)],_0x46bdd5(0xff));if(_0x4f444b['startsWith'](_0x46bdd5(0x110))){const _0x4118e2=new TextDecoder();try{_0x154565=await imageHelper_1[_0x46bdd5(0xf4)]['svg2img'](_0x4118e2['decode'](_0x154565));}catch(_0x2aeb38){throw new CustomError_1[(_0x46bdd5(0x102))]({'code':0x7d4,'message':_0x46bdd5(0x11c)+_0x595460+':\x20'+_0x2aeb38,'message_staring_params':{'icon_url':_0x595460,'error':_0x2aeb38}});}}return _0x4f444b[_0x46bdd5(0x10d)](_0x46bdd5(0x112))&&(_0x154565=await imageHelper_1[_0x46bdd5(0xf4)]['webp2PngBuffer'](_0x154565)),await Jimp['read'](Buffer[_0x46bdd5(0xf6)](_0x154565));}async function loadImageFromDisk(_0x46fbb8){const _0x3618ee=_0xb899a4;return await Jimp[_0x3618ee(0x128)](_0x46fbb8);}async function loadFileString(_0x13c86f){const _0x4e2f3e=_0xb899a4;let _0x52452c=await fs[_0x4e2f3e(0x119)][_0x4e2f3e(0xfd)](_0x13c86f['toString']());return _0x52452c['toString']();}
1
+ 'use strict';const _0x3a64ef=_0x12eb;(function(_0x3f8985,_0x3fe744){const _0x940f74=_0x12eb,_0x1b66c1=_0x3f8985();while(!![]){try{const _0x3d593f=parseInt(_0x940f74(0x1d7))/0x1+-parseInt(_0x940f74(0x1d3))/0x2+-parseInt(_0x940f74(0x1cb))/0x3*(parseInt(_0x940f74(0x1e8))/0x4)+parseInt(_0x940f74(0x1e2))/0x5+parseInt(_0x940f74(0x1e5))/0x6*(-parseInt(_0x940f74(0x1cf))/0x7)+parseInt(_0x940f74(0x1c7))/0x8*(parseInt(_0x940f74(0x1ea))/0x9)+-parseInt(_0x940f74(0x1e3))/0xa;if(_0x3d593f===_0x3fe744)break;else _0x1b66c1['push'](_0x1b66c1['shift']());}catch(_0xca621f){_0x1b66c1['push'](_0x1b66c1['shift']());}}}(_0x5905,0xe5737));function _0x12eb(_0x149050,_0x48f52e){const _0x590580=_0x5905();return _0x12eb=function(_0x12eb8c,_0xdd157b){_0x12eb8c=_0x12eb8c-0x1c3;let _0x96d6fe=_0x590580[_0x12eb8c];return _0x96d6fe;},_0x12eb(_0x149050,_0x48f52e);}Object[_0x3a64ef(0x1cc)](exports,'__esModule',{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x3a64ef(0x1ca)]=loadJsonFromDisk,exports[_0x3a64ef(0x1d8)]=loadImageFromNet,exports[_0x3a64ef(0x1e4)]=loadImageFromDisk,exports['loadFileString']=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x3a64ef(0x1d9)),CustomError_1=require('../utils/CustomError'),Jimp=require(_0x3a64ef(0x1da)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x3924dc){const _0x30899e=_0x3a64ef,_0x400f70=await FetchUtils_1_1[_0x30899e(0x1df)][_0x30899e(0x1f3)](_0x3924dc,{'encoding':_0x30899e(0x1dd)});if(_0x400f70[_0x30899e(0x1c9)]!==0xc8)throw new CustomError_1[(_0x30899e(0x1dc))]({'code':0xbbc,'message':_0x30899e(0x1c4)+_0x3924dc+'.'+(_0x30899e(0x1c3)+_0x400f70['status']+_0x30899e(0x1c8)),'message_staring_params':{'web_manifest_url':_0x3924dc,'status':_0x400f70['status']}});try{let _0x2466ba;return _0x400f70[_0x30899e(0x1db)]?_0x2466ba=await _0x400f70['text']():[_0x30899e(0x1ed),_0x30899e(0x1eb),'br'][_0x30899e(0x1e7)](_0x400f70[_0x30899e(0x1d0)][_0x30899e(0x1d2)])?_0x2466ba=FetchUtils_1_1[_0x30899e(0x1df)][_0x30899e(0x1d4)](Buffer['from'](_0x400f70[_0x30899e(0x1f0)],'binary'),_0x400f70[_0x30899e(0x1d0)]['content-encoding'])[_0x30899e(0x1de)]():_0x2466ba=Buffer[_0x30899e(0x1cd)](_0x400f70['data'],'binary')[_0x30899e(0x1de)](),JSON[_0x30899e(0x1c6)](_0x2466ba['trim']());}catch(_0x347f35){throw new CustomError_1[(_0x30899e(0x1dc))]({'code':0xbbd,'message':_0x30899e(0x1f4),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x81dc3c){const _0x47f6be=_0x3a64ef,_0x55c343=await loadFileString(_0x81dc3c[_0x47f6be(0x1de)]());return JSON['parse'](_0x55c343);}function _0x5905(){const _0x3a0ce9=['loadImageFromDisk','1842GOVgfU','get','includes','8EBCyLC','content-type','3083427OsQoeW','deflate','image/svg','gzip','arrayBuffer','ImageHelper','data','promises','webp2PngBuffer','fetch','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','The\x20response\x20status\x20is\x20','Failed\x20to\x20download\x20Web\x20Manifest\x20','read','parse','24vOplHp',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','status','loadJsonFromDisk','1001307oInKNx','defineProperty','from','\x20Responded\x20with\x20Content-Type\x20\x22','22267sdAPqx','headers','decode','content-encoding','395582KZRxUM','decompressResponseBuffer','startsWith','readFile','1656981XlrVgw','loadImageFromNet','../utils/FetchUtils-1','jimp','text','CustomError','binary','toString','fetchUtils','image/','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','5558295MuoTNf','10147220XGqZsc'];_0x5905=function(){return _0x3a0ce9;};return _0x5905();}async function loadImageFromNet(_0x14dc9d){const _0x3b3fe1=_0x3a64ef,_0x469484=await FetchUtils_1_1[_0x3b3fe1(0x1df)]['fetch'](_0x14dc9d,{'encoding':_0x3b3fe1(0x1dd)});if(_0x469484[_0x3b3fe1(0x1c9)]!==0xc8)throw new CustomError_1[(_0x3b3fe1(0x1dc))]({'code':0x7d2,'message':_0x3b3fe1(0x1e1)+_0x469484[_0x3b3fe1(0x1c9)],'message_staring_params':{'icon_url':_0x14dc9d,'status':_0x469484[_0x3b3fe1(0x1c9)]}});const _0x57360e=_0x469484['headers'][_0x3b3fe1(0x1e6)]?_0x469484['headers'][_0x3b3fe1(0x1e6)](_0x3b3fe1(0x1e9)):_0x469484[_0x3b3fe1(0x1d0)]['content-type'];if(!(_0x57360e===null||_0x57360e===void 0x0?void 0x0:_0x57360e['startsWith'](_0x3b3fe1(0x1e0))))throw new CustomError_1['CustomError']({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x3b3fe1(0x1ce)+_0x57360e+'\x22'),'message_staring_params':{'icon_url':_0x14dc9d,'contentType':_0x57360e}});let _0x522068;_0x469484['arrayBuffer']?_0x522068=await _0x469484[_0x3b3fe1(0x1ee)]():[_0x3b3fe1(0x1ed),_0x3b3fe1(0x1eb),'br'][_0x3b3fe1(0x1e7)](_0x469484[_0x3b3fe1(0x1d0)][_0x3b3fe1(0x1d2)])?_0x522068=FetchUtils_1_1[_0x3b3fe1(0x1df)][_0x3b3fe1(0x1d4)](Buffer[_0x3b3fe1(0x1cd)](_0x469484[_0x3b3fe1(0x1f0)],'binary'),_0x469484[_0x3b3fe1(0x1d0)][_0x3b3fe1(0x1d2)]):_0x522068=Buffer['from'](_0x469484[_0x3b3fe1(0x1f0)],_0x3b3fe1(0x1dd));if(_0x57360e[_0x3b3fe1(0x1d5)](_0x3b3fe1(0x1ec))){const _0x359ba1=new TextDecoder();try{_0x522068=await imageHelper_1['ImageHelper']['svg2img'](_0x359ba1[_0x3b3fe1(0x1d1)](_0x522068));}catch(_0xc9bac8){throw new CustomError_1[(_0x3b3fe1(0x1dc))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x14dc9d+':\x20'+_0xc9bac8,'message_staring_params':{'icon_url':_0x14dc9d,'error':_0xc9bac8}});}}return _0x57360e['startsWith']('image/webp')&&(_0x522068=await imageHelper_1[_0x3b3fe1(0x1ef)][_0x3b3fe1(0x1f2)](_0x522068)),await Jimp[_0x3b3fe1(0x1c5)](Buffer[_0x3b3fe1(0x1cd)](_0x522068));}async function loadImageFromDisk(_0x1b8506){const _0x245165=_0x3a64ef;return await Jimp[_0x245165(0x1c5)](_0x1b8506);}async function loadFileString(_0x40b14c){const _0x36fc6d=_0x3a64ef;let _0x8cbf87=await fs[_0x36fc6d(0x1f1)][_0x36fc6d(0x1d6)](_0x40b14c['toString']());return _0x8cbf87[_0x36fc6d(0x1de)]();}
@@ -1 +1 @@
1
- 'use strict';var _0x14021c=_0x49c7;function _0x22c9(){var _0x1fe92d=['643078puisXh','91RXLpKq','1794264FCVWGb','4443556UjCtzZ','customMessage','4778511zgxDdn','stringify','7358949NAliTX','5SSiqQJ','3052426tiYdqs','__esModule','422360dXwijt','CustomError'];_0x22c9=function(){return _0x1fe92d;};return _0x22c9();}(function(_0x20b2a,_0x56699d){var _0x100d81=_0x49c7,_0x539544=_0x20b2a();while(!![]){try{var _0x41ed3e=parseInt(_0x100d81(0x10b))/0x1+-parseInt(_0x100d81(0x107))/0x2+parseInt(_0x100d81(0x110))/0x3+-parseInt(_0x100d81(0x10e))/0x4*(parseInt(_0x100d81(0x106))/0x5)+-parseInt(_0x100d81(0x10d))/0x6+parseInt(_0x100d81(0x10c))/0x7*(parseInt(_0x100d81(0x109))/0x8)+parseInt(_0x100d81(0x105))/0x9;if(_0x41ed3e===_0x56699d)break;else _0x539544['push'](_0x539544['shift']());}catch(_0x1e74bf){_0x539544['push'](_0x539544['shift']());}}}(_0x22c9,0xc43b5));function _0x49c7(_0x5a403e,_0x25b393){var _0x22c90e=_0x22c9();return _0x49c7=function(_0x49c79f,_0x4f348b){_0x49c79f=_0x49c79f-0x105;var _0x340ad7=_0x22c90e[_0x49c79f];return _0x340ad7;},_0x49c7(_0x5a403e,_0x25b393);}Object['defineProperty'](exports,_0x14021c(0x108),{'value':!![]}),exports[_0x14021c(0x10a)]=void 0x0;class CustomError extends Error{constructor(_0xc28d6b,_0x48415e){var _0x4ba858=_0x14021c;super(JSON[_0x4ba858(0x111)](_0xc28d6b)),this[_0x4ba858(0x10f)]=_0xc28d6b,this['type']=_0x48415e||'info';}}exports[_0x14021c(0x10a)]=CustomError;
1
+ 'use strict';var _0x3d3e4e=_0x2179;(function(_0x4a7bab,_0x17e70a){var _0x25c11a=_0x2179,_0x4c7b8c=_0x4a7bab();while(!![]){try{var _0x579af4=parseInt(_0x25c11a(0x1e6))/0x1+parseInt(_0x25c11a(0x1df))/0x2+parseInt(_0x25c11a(0x1ec))/0x3*(parseInt(_0x25c11a(0x1e0))/0x4)+-parseInt(_0x25c11a(0x1e1))/0x5+parseInt(_0x25c11a(0x1e2))/0x6+-parseInt(_0x25c11a(0x1e3))/0x7*(-parseInt(_0x25c11a(0x1e8))/0x8)+-parseInt(_0x25c11a(0x1e4))/0x9;if(_0x579af4===_0x17e70a)break;else _0x4c7b8c['push'](_0x4c7b8c['shift']());}catch(_0x5fd9f2){_0x4c7b8c['push'](_0x4c7b8c['shift']());}}}(_0x2693,0x5fb7e));function _0x2179(_0x210780,_0x21d4ce){var _0x269367=_0x2693();return _0x2179=function(_0x217976,_0x2f6bfc){_0x217976=_0x217976-0x1de;var _0x55f8aa=_0x269367[_0x217976];return _0x55f8aa;},_0x2179(_0x210780,_0x21d4ce);}Object[_0x3d3e4e(0x1e5)](exports,_0x3d3e4e(0x1ea),{'value':!![]}),exports['CustomError']=void 0x0;function _0x2693(){var _0x6487e2=['471qPpAGw','type','402080QMQeoH','3748cPyBVV','3343995AbfNMj','4500990TAMlan','3409LcRrav','10043055LVyNSr','defineProperty','441446pRlNfo','customMessage','10464gvWOkS','info','__esModule','CustomError'];_0x2693=function(){return _0x6487e2;};return _0x2693();}class CustomError extends Error{constructor(_0x4c63d0,_0x40b53d){var _0x391d8f=_0x3d3e4e;super(JSON['stringify'](_0x4c63d0)),this[_0x391d8f(0x1e7)]=_0x4c63d0,this[_0x391d8f(0x1de)]=_0x40b53d||_0x391d8f(0x1e9);}}exports[_0x3d3e4e(0x1eb)]=CustomError;
@@ -1 +1 @@
1
- 'use strict';const _0x106ec1=_0x5c29;(function(_0x311007,_0x1a023c){const _0x1bce3f=_0x5c29,_0xdafe56=_0x311007();while(!![]){try{const _0x589f71=-parseInt(_0x1bce3f(0x17c))/0x1*(parseInt(_0x1bce3f(0x189))/0x2)+parseInt(_0x1bce3f(0x17a))/0x3*(parseInt(_0x1bce3f(0x17b))/0x4)+-parseInt(_0x1bce3f(0x182))/0x5+parseInt(_0x1bce3f(0x186))/0x6+-parseInt(_0x1bce3f(0x187))/0x7+-parseInt(_0x1bce3f(0x185))/0x8+parseInt(_0x1bce3f(0x183))/0x9;if(_0x589f71===_0x1a023c)break;else _0xdafe56['push'](_0xdafe56['shift']());}catch(_0x536af3){_0xdafe56['push'](_0xdafe56['shift']());}}}(_0xea27,0xf0b59));Object[_0x106ec1(0x18b)](exports,_0x106ec1(0x17d),{'value':!![]}),exports[_0x106ec1(0x180)]=void 0x0;function _0xea27(){const _0x549e1d=['fetch','1154FObJqu','decompressResponseBuffer','defineProperty','18InqhVH','447896MCaSBP','1286SPGePj','__esModule','setFetchEngine','downloadFile','fetchUtils','fetchEngine','7083415cCCBpC','24854580EOkHpv','setDownloadFile','8896120MYizvd','6891324UetiJb','2277471WwxPNK'];_0xea27=function(){return _0x549e1d;};return _0xea27();}function _0x5c29(_0x40bb7e,_0x5ce21f){const _0xea27f=_0xea27();return _0x5c29=function(_0x5c29da,_0x9476f5){_0x5c29da=_0x5c29da-0x17a;let _0x56f2c9=_0xea27f[_0x5c29da];return _0x56f2c9;},_0x5c29(_0x40bb7e,_0x5ce21f);}class FetchUtils{constructor(){const _0x3afadd=_0x106ec1;this[_0x3afadd(0x181)]=null,this[_0x3afadd(0x188)]=null,this[_0x3afadd(0x17f)]=null,this[_0x3afadd(0x18a)]=null;}[_0x106ec1(0x17e)](_0x310b7e){const _0x3fbdfe=_0x106ec1;this[_0x3fbdfe(0x181)]=_0x310b7e;}['setFetch'](_0x2db484){const _0x623c3c=_0x106ec1;this[_0x623c3c(0x188)]=_0x2db484;}[_0x106ec1(0x184)](_0x1ce1a2){const _0x265313=_0x106ec1;this[_0x265313(0x17f)]=_0x1ce1a2;}['setDecompressResponseBuffer'](_0x1f9f55){this['decompressResponseBuffer']=_0x1f9f55;}}const fetchUtils=new FetchUtils();exports[_0x106ec1(0x180)]=fetchUtils;
1
+ 'use strict';const _0x12be3d=_0x1228;function _0x1228(_0x1394dd,_0x5e8ff7){const _0x1c5a46=_0x1c5a();return _0x1228=function(_0x122800,_0x162983){_0x122800=_0x122800-0xe3;let _0x551bde=_0x1c5a46[_0x122800];return _0x551bde;},_0x1228(_0x1394dd,_0x5e8ff7);}function _0x1c5a(){const _0x3f7b14=['41694fYUfTe','3422356xRWSwS','8136DccnYd','6055677njBzjw','722616VTwFQt','120WaNjeV','388975GrcgzY','__esModule','90PlmpQO','fetch','fetchUtils','setFetch','setDecompressResponseBuffer','setDownloadFile','35323629IWwgiE','10LKOGgn','defineProperty','7287xmiBWw','fetchEngine','decompressResponseBuffer','setFetchEngine','downloadFile'];_0x1c5a=function(){return _0x3f7b14;};return _0x1c5a();}(function(_0x79ea89,_0x292692){const _0xe5d0f0=_0x1228,_0x57c43c=_0x79ea89();while(!![]){try{const _0x321e60=parseInt(_0xe5d0f0(0xe8))/0x1+parseInt(_0xe5d0f0(0xe4))/0x2*(-parseInt(_0xe5d0f0(0xe9))/0x3)+-parseInt(_0xe5d0f0(0xe5))/0x4+-parseInt(_0xe5d0f0(0xea))/0x5*(parseInt(_0xe5d0f0(0xec))/0x6)+-parseInt(_0xe5d0f0(0xf5))/0x7*(parseInt(_0xe5d0f0(0xe6))/0x8)+parseInt(_0xe5d0f0(0xe7))/0x9*(parseInt(_0xe5d0f0(0xf3))/0xa)+parseInt(_0xe5d0f0(0xf2))/0xb;if(_0x321e60===_0x292692)break;else _0x57c43c['push'](_0x57c43c['shift']());}catch(_0x102f46){_0x57c43c['push'](_0x57c43c['shift']());}}}(_0x1c5a,0xa8da1));Object[_0x12be3d(0xf4)](exports,_0x12be3d(0xeb),{'value':!![]}),exports['fetchUtils']=void 0x0;class FetchUtils{constructor(){const _0xea7110=_0x12be3d;this[_0xea7110(0xf6)]=null,this[_0xea7110(0xed)]=null,this[_0xea7110(0xe3)]=null,this[_0xea7110(0xf7)]=null;}[_0x12be3d(0xf8)](_0x170517){const _0x26099f=_0x12be3d;this[_0x26099f(0xf6)]=_0x170517;}[_0x12be3d(0xef)](_0x44cd71){const _0x392b8e=_0x12be3d;this[_0x392b8e(0xed)]=_0x44cd71;}[_0x12be3d(0xf1)](_0x3e2fbf){const _0xe7a2fd=_0x12be3d;this[_0xe7a2fd(0xe3)]=_0x3e2fbf;}[_0x12be3d(0xf0)](_0x286e46){const _0x1e840f=_0x12be3d;this[_0x1e840f(0xf7)]=_0x286e46;}}const fetchUtils=new FetchUtils();exports[_0x12be3d(0xee)]=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';var _0x25b569=_0x55db;(function(_0x23f63b,_0x336cbb){var _0x2c4b5e=_0x55db,_0x5ebe55=_0x23f63b();while(!![]){try{var _0x5b81f8=parseInt(_0x2c4b5e(0x9a))/0x1+-parseInt(_0x2c4b5e(0xaa))/0x2*(parseInt(_0x2c4b5e(0xa3))/0x3)+-parseInt(_0x2c4b5e(0xa7))/0x4*(parseInt(_0x2c4b5e(0xb0))/0x5)+parseInt(_0x2c4b5e(0x95))/0x6*(-parseInt(_0x2c4b5e(0xac))/0x7)+parseInt(_0x2c4b5e(0x9b))/0x8*(parseInt(_0x2c4b5e(0xb3))/0x9)+-parseInt(_0x2c4b5e(0xae))/0xa+-parseInt(_0x2c4b5e(0xa5))/0xb*(-parseInt(_0x2c4b5e(0xab))/0xc);if(_0x5b81f8===_0x336cbb)break;else _0x5ebe55['push'](_0x5ebe55['shift']());}catch(_0x141dc4){_0x5ebe55['push'](_0x5ebe55['shift']());}}}(_0x7bb6,0x9b73d));Object['defineProperty'](exports,_0x25b569(0xa9),{'value':!![]}),exports[_0x25b569(0xb5)]=void 0x0;function _0x7bb6(){var _0x3788cb=['dim','ConsoleLog','\x1b[0m','inverse','tag','92094dXlCzp','error','concat','newLog','log','46400csywYU','592976TlGjTB','yellow','ERROR\x20','info','output','verbose','debug','prefix','296868KAvScM','\x1b[36m','3299318DjBFFs','red','4QhTKBE','\x1b[31m','__esModule','20jtggeO','108cvoxRK','217DtdGnT','warn','8419790JYokIT','\x1b[33m','1973635DkAuzv','setVerbose','\x1b[7m','72duCiNQ'];_0x7bb6=function(){return _0x3788cb;};return _0x7bb6();}function _0x55db(_0x49cd76,_0xbe2b80){var _0x7bb675=_0x7bb6();return _0x55db=function(_0x55db80,_0x46443d){_0x55db80=_0x55db80-0x94;var _0x5d95b5=_0x7bb675[_0x55db80];return _0x5d95b5;},_0x55db(_0x49cd76,_0xbe2b80);}class ConsoleLog{constructor(_0x57c2a8='',_0xd590d9=![],_0x261f90=console){var _0x8a07a4=_0x25b569;this[_0x8a07a4(0x94)]=_0x57c2a8,this[_0x8a07a4(0xa0)]=_0xd590d9,this[_0x8a07a4(0xa2)]=this[_0x8a07a4(0xb7)](_0x57c2a8),this['output']=_0x261f90;}[_0x25b569(0xa1)](_0x29c403,..._0x4e82ce){var _0x31dfd6=_0x25b569;if(!this[_0x31dfd6(0xa0)])return;this[_0x31dfd6(0x99)](this['output'][_0x31dfd6(0x99)],this[_0x31dfd6(0xb4)](_0x29c403),..._0x4e82ce);}[_0x25b569(0x9e)](_0x272668,..._0x3fec38){var _0x52a9aa=_0x25b569;this[_0x52a9aa(0x99)](this[_0x52a9aa(0x9f)][_0x52a9aa(0x99)],_0x272668,..._0x3fec38);}['warn'](_0x2f90d9,..._0x47feb7){var _0x4d9804=_0x25b569;this['log'](this[_0x4d9804(0x9f)][_0x4d9804(0xad)],this['yellow']('WARNING\x20'+_0x2f90d9),..._0x47feb7);}[_0x25b569(0x96)](_0x21a460,..._0x403dff){var _0x2ad498=_0x25b569;this[_0x2ad498(0x9f)][_0x2ad498(0x96)]('\x0a'),this[_0x2ad498(0x99)](this[_0x2ad498(0x9f)][_0x2ad498(0x96)],this[_0x2ad498(0xa6)](_0x2ad498(0x9d)+_0x21a460),..._0x403dff),this['output'][_0x2ad498(0x96)]('\x0a');}[_0x25b569(0xb1)](_0x13f796){var _0x40d3dc=_0x25b569;this[_0x40d3dc(0xa0)]=_0x13f796;}[_0x25b569(0x98)](_0x313dda){var _0x399872=_0x25b569;return this[_0x399872(0x94)]&&(_0x313dda=this['tag']+'\x20'+_0x313dda),new ConsoleLog(_0x313dda,this['verbose'],this[_0x399872(0x9f)]);}[_0x25b569(0x99)](_0x5b64d9,_0x4a6635,..._0x49519d){var _0x58b312=_0x25b569;this['prefix']&&(_0x4a6635=this['prefix']+'\x20'+_0x4a6635),_0x49519d?_0x5b64d9(...[_0x4a6635][_0x58b312(0x97)](_0x49519d)):_0x5b64d9(_0x4a6635);}[_0x25b569(0xb7)](_0x330966){var _0x326bf3=_0x25b569;return _0x326bf3(0xb2)+_0x330966+'\x1b[0m';}[_0x25b569(0xb4)](_0x52b978){var _0x5bd910=_0x25b569;return _0x5bd910(0xa4)+_0x52b978+_0x5bd910(0xb6);}[_0x25b569(0x9c)](_0x4998f2){var _0x38b7b8=_0x25b569;return _0x38b7b8(0xaf)+_0x4998f2+_0x38b7b8(0xb6);}[_0x25b569(0xa6)](_0x4ab857){var _0x15a7d6=_0x25b569;return _0x15a7d6(0xa8)+_0x4ab857+'\x1b[0m';}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x2fb5ce=_0x3e1e;(function(_0x285390,_0x326999){var _0x951757=_0x3e1e,_0x2ed2d4=_0x285390();while(!![]){try{var _0x13f464=-parseInt(_0x951757(0x1bd))/0x1*(-parseInt(_0x951757(0x1b1))/0x2)+-parseInt(_0x951757(0x1ab))/0x3+parseInt(_0x951757(0x1b6))/0x4+-parseInt(_0x951757(0x1b3))/0x5+parseInt(_0x951757(0x1b7))/0x6+-parseInt(_0x951757(0x1b2))/0x7*(parseInt(_0x951757(0x1a4))/0x8)+-parseInt(_0x951757(0x1a5))/0x9;if(_0x13f464===_0x326999)break;else _0x2ed2d4['push'](_0x2ed2d4['shift']());}catch(_0x10a050){_0x2ed2d4['push'](_0x2ed2d4['shift']());}}}(_0x5d5f,0xb9eba));function _0x5d5f(){var _0x26ab19=['523986RfaRMD','newLog','ConsoleLog','prefix','defineProperty','\x1b[31m','6521gcVflh','tag','debug','output','red','\x1b[7m','yellow','1424JOeJtx','706563ddxYmv','setVerbose','\x1b[36m','warn','error','dim','1123419lUcqOc','__esModule','\x1b[33m','verbose','concat','inverse','274KFXVNy','4235ZlSRBS','5477640BtKqHn','log','ERROR\x20','5748080AxrnSj'];_0x5d5f=function(){return _0x26ab19;};return _0x5d5f();}Object[_0x2fb5ce(0x1bb)](exports,_0x2fb5ce(0x1ac),{'value':!![]}),exports[_0x2fb5ce(0x1b9)]=void 0x0;function _0x3e1e(_0x4dec52,_0x3cdc6b){var _0x5d5fc1=_0x5d5f();return _0x3e1e=function(_0x3e1ea3,_0x1863d1){_0x3e1ea3=_0x3e1ea3-0x1a1;var _0xb2d74e=_0x5d5fc1[_0x3e1ea3];return _0xb2d74e;},_0x3e1e(_0x4dec52,_0x3cdc6b);}class ConsoleLog{constructor(_0x2e3709='',_0x3a12b5=![],_0x20bd09=console){var _0x41f373=_0x2fb5ce;this[_0x41f373(0x1be)]=_0x2e3709,this[_0x41f373(0x1ae)]=_0x3a12b5,this[_0x41f373(0x1ba)]=this['inverse'](_0x2e3709),this[_0x41f373(0x1c0)]=_0x20bd09;}[_0x2fb5ce(0x1bf)](_0x4ef9d5,..._0x4ef742){var _0x45e1b3=_0x2fb5ce;if(!this[_0x45e1b3(0x1ae)])return;this[_0x45e1b3(0x1b4)](this[_0x45e1b3(0x1c0)][_0x45e1b3(0x1b4)],this[_0x45e1b3(0x1aa)](_0x4ef9d5),..._0x4ef742);}['info'](_0xf1ed34,..._0x215ebe){var _0x436722=_0x2fb5ce;this[_0x436722(0x1b4)](this[_0x436722(0x1c0)][_0x436722(0x1b4)],_0xf1ed34,..._0x215ebe);}[_0x2fb5ce(0x1a8)](_0xa6e246,..._0x57b632){var _0x3cd1e2=_0x2fb5ce;this[_0x3cd1e2(0x1b4)](this[_0x3cd1e2(0x1c0)][_0x3cd1e2(0x1a8)],this[_0x3cd1e2(0x1a3)]('WARNING\x20'+_0xa6e246),..._0x57b632);}['error'](_0x582afb,..._0x4a39e2){var _0x214b68=_0x2fb5ce;this['output'][_0x214b68(0x1a9)]('\x0a'),this[_0x214b68(0x1b4)](this[_0x214b68(0x1c0)][_0x214b68(0x1a9)],this[_0x214b68(0x1a1)](_0x214b68(0x1b5)+_0x582afb),..._0x4a39e2),this[_0x214b68(0x1c0)][_0x214b68(0x1a9)]('\x0a');}[_0x2fb5ce(0x1a6)](_0x34ca6c){var _0x2552fe=_0x2fb5ce;this[_0x2552fe(0x1ae)]=_0x34ca6c;}[_0x2fb5ce(0x1b8)](_0xb41e33){var _0x296202=_0x2fb5ce;return this['tag']&&(_0xb41e33=this[_0x296202(0x1be)]+'\x20'+_0xb41e33),new ConsoleLog(_0xb41e33,this[_0x296202(0x1ae)],this['output']);}[_0x2fb5ce(0x1b4)](_0x501f4f,_0x3c0225,..._0x1deb45){var _0x18c7bd=_0x2fb5ce;this[_0x18c7bd(0x1ba)]&&(_0x3c0225=this[_0x18c7bd(0x1ba)]+'\x20'+_0x3c0225),_0x1deb45?_0x501f4f(...[_0x3c0225][_0x18c7bd(0x1af)](_0x1deb45)):_0x501f4f(_0x3c0225);}[_0x2fb5ce(0x1b0)](_0x1482e6){var _0x2cd0c2=_0x2fb5ce;return _0x2cd0c2(0x1a2)+_0x1482e6+'\x1b[0m';}[_0x2fb5ce(0x1aa)](_0x186d1a){var _0x43236f=_0x2fb5ce;return _0x43236f(0x1a7)+_0x186d1a+'\x1b[0m';}[_0x2fb5ce(0x1a3)](_0x36b362){var _0x54b2b2=_0x2fb5ce;return _0x54b2b2(0x1ad)+_0x36b362+'\x1b[0m';}[_0x2fb5ce(0x1a1)](_0x44cc06){var _0x5e447c=_0x2fb5ce;return _0x5e447c(0x1bc)+_0x44cc06+'\x1b[0m';}}exports[_0x2fb5ce(0x1b9)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x431e9b=_0x46eb;(function(_0x4b2121,_0x22288b){const _0x3ba1d4=_0x46eb,_0x5cf822=_0x4b2121();while(!![]){try{const _0x2b3d55=parseInt(_0x3ba1d4(0x108))/0x1+-parseInt(_0x3ba1d4(0x116))/0x2+-parseInt(_0x3ba1d4(0x117))/0x3+-parseInt(_0x3ba1d4(0x112))/0x4+-parseInt(_0x3ba1d4(0x10e))/0x5+-parseInt(_0x3ba1d4(0x10b))/0x6*(-parseInt(_0x3ba1d4(0x103))/0x7)+parseInt(_0x3ba1d4(0x106))/0x8;if(_0x2b3d55===_0x22288b)break;else _0x5cf822['push'](_0x5cf822['shift']());}catch(_0x4503b6){_0x5cf822['push'](_0x5cf822['shift']());}}}(_0x166c,0x4bf55));function _0x46eb(_0x1b6e31,_0x282607){const _0x166c19=_0x166c();return _0x46eb=function(_0x46eb2b,_0x5025f6){_0x46eb2b=_0x46eb2b-0x101;let _0x1f058e=_0x166c19[_0x46eb2b];return _0x1f058e;},_0x46eb(_0x1b6e31,_0x282607);}Object[_0x431e9b(0x11b)](exports,'__esModule',{'value':!![]}),exports[_0x431e9b(0x11d)]=fetch,exports['downloadFile']=downloadFile,exports[_0x431e9b(0x105)]=decompressResponseBuffer;const fetch_h2_1=require('fetch-h2'),fs=require('fs'),zlib=require(_0x431e9b(0x101)),userAgent=_0x431e9b(0x10f),fetchh2Ctx=(0x0,fetch_h2_1[_0x431e9b(0x104)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x431e9b(0x11d)];async function fetch(_0x56bb20,_0x1c3736){const _0x178b8e=_0x431e9b;return await fetchh2(_0x56bb20,_0x1c3736?{'redirect':_0x178b8e(0x10a),..._0x1c3736}:{'redirect':_0x178b8e(0x10a)});}async function downloadFile(_0x22b223,_0x300887,_0x41cdb5){const _0x45c85a=_0x431e9b;let _0x5b4120,_0x2a6585;_0x5b4120=await fetchh2(_0x22b223,{'redirect':_0x45c85a(0x10a)}),_0x2a6585=await _0x5b4120[_0x45c85a(0x111)]();const _0x4d5f4f=_0x5b4120[_0x45c85a(0x118)][_0x45c85a(0x119)](_0x45c85a(0x11c)),_0x4df6d6=_0x4d5f4f?parseInt(_0x4d5f4f):-0x1,_0xecbc41=fs[_0x45c85a(0x115)](_0x300887);let _0x311071=0x0;await new Promise((_0x418724,_0x231d64)=>{const _0x35551a=_0x45c85a;_0x2a6585[_0x35551a(0x107)](_0xecbc41),_0x41cdb5&&_0x2a6585['on'](_0x35551a(0x114),_0x349fd0=>{const _0x576be9=_0x35551a;_0x311071=_0x311071+_0x349fd0[_0x576be9(0x110)],_0x41cdb5(_0x311071,_0x4df6d6);}),_0x2a6585['on'](_0x35551a(0x113),_0x56eb6c=>{_0x231d64(_0x56eb6c);}),_0xecbc41['on'](_0x35551a(0x10c),()=>{_0x418724();});});}function _0x166c(){const _0x108c7e=['369280GNGdnf','Z_SYNC_FLUSH','follow','2904PLymdY','finish','constants','2177885WJEwob','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','length','readable','1640472PhtZtF','error','data','createWriteStream','1103192jgBMYl','642369nnMFSM','headers','get','unzipSync','defineProperty','Content-Length','fetch','zlib','test','4235lbXFQE','context','decompressResponseBuffer','10083512HVISsj','pipe'];_0x166c=function(){return _0x108c7e;};return _0x166c();}function decompressResponseBuffer(_0x578bd0,_0x4f642d){const _0x5aa2d5=_0x431e9b;let _0x4cf3c1=_0x578bd0;if(/\bgzip\b/[_0x5aa2d5(0x102)](_0x4f642d)||/\bdeflate\b/[_0x5aa2d5(0x102)](_0x4f642d))_0x4cf3c1=zlib[_0x5aa2d5(0x11a)](_0x578bd0,{'flush':zlib[_0x5aa2d5(0x10d)][_0x5aa2d5(0x109)],'finishFlush':zlib[_0x5aa2d5(0x10d)][_0x5aa2d5(0x109)]});else/\bbr\b/[_0x5aa2d5(0x102)](_0x4f642d)&&(_0x4cf3c1=zlib['brotliDecompressSync'](_0x578bd0));return _0x4cf3c1;}
1
+ 'use strict';const _0x561328=_0x254b;(function(_0x2c01f3,_0x4d5d2c){const _0x51a701=_0x254b,_0x32bff1=_0x2c01f3();while(!![]){try{const _0x4691e9=parseInt(_0x51a701(0xea))/0x1*(parseInt(_0x51a701(0xec))/0x2)+-parseInt(_0x51a701(0xff))/0x3*(parseInt(_0x51a701(0x101))/0x4)+-parseInt(_0x51a701(0xee))/0x5+parseInt(_0x51a701(0xfc))/0x6*(-parseInt(_0x51a701(0xe7))/0x7)+-parseInt(_0x51a701(0xf2))/0x8+-parseInt(_0x51a701(0xed))/0x9+parseInt(_0x51a701(0xf0))/0xa;if(_0x4691e9===_0x4d5d2c)break;else _0x32bff1['push'](_0x32bff1['shift']());}catch(_0x3345f5){_0x32bff1['push'](_0x32bff1['shift']());}}}(_0x408e,0x53661));Object['defineProperty'](exports,_0x561328(0x102),{'value':!![]}),exports[_0x561328(0xf9)]=fetch,exports[_0x561328(0xe9)]=downloadFile,exports[_0x561328(0xfd)]=decompressResponseBuffer;const fetch_h2_1=require(_0x561328(0xfe)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x561328(0xf8),fetchh2Ctx=(0x0,fetch_h2_1[_0x561328(0xfa)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x561328(0xf9)];function _0x254b(_0x5ade32,_0x31f04b){const _0x408e16=_0x408e();return _0x254b=function(_0x254b2d,_0x5d4dcf){_0x254b2d=_0x254b2d-0xe7;let _0x44b1ed=_0x408e16[_0x254b2d];return _0x44b1ed;},_0x254b(_0x5ade32,_0x31f04b);}function _0x408e(){const _0x19f8b6=['finish','constants','test','createWriteStream','pipe','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','fetch','context','length','60mNSDZq','decompressResponseBuffer','fetch-h2','27093ZdPaxM','brotliDecompressSync','292dmvRSI','__esModule','120022QsBQYy','follow','downloadFile','16qVzkTw','data','1358NNbWFV','6054183XoVrCv','1229090VOILZz','headers','21789080FXsPmb','Z_SYNC_FLUSH','791544piLVwJ'];_0x408e=function(){return _0x19f8b6;};return _0x408e();}async function fetch(_0x199821,_0x5ab44c){const _0x20c666=_0x561328;return await fetchh2(_0x199821,_0x5ab44c?{'redirect':_0x20c666(0xe8),..._0x5ab44c}:{'redirect':'follow'});}async function downloadFile(_0x1ea710,_0x356922,_0x101cfe){const _0x376f53=_0x561328;let _0x1a91a4,_0x1de34c;_0x1a91a4=await fetchh2(_0x1ea710,{'redirect':_0x376f53(0xe8)}),_0x1de34c=await _0x1a91a4['readable']();const _0x549932=_0x1a91a4[_0x376f53(0xef)]['get']('Content-Length'),_0x3d90e2=_0x549932?parseInt(_0x549932):-0x1,_0x329353=fs[_0x376f53(0xf6)](_0x356922);let _0x2bcfce=0x0;await new Promise((_0x1136ed,_0x2b4b0d)=>{const _0x26bd26=_0x376f53;_0x1de34c[_0x26bd26(0xf7)](_0x329353),_0x101cfe&&_0x1de34c['on'](_0x26bd26(0xeb),_0x1e88be=>{const _0x19b6fa=_0x26bd26;_0x2bcfce=_0x2bcfce+_0x1e88be[_0x19b6fa(0xfb)],_0x101cfe(_0x2bcfce,_0x3d90e2);}),_0x1de34c['on']('error',_0x487b1d=>{_0x2b4b0d(_0x487b1d);}),_0x329353['on'](_0x26bd26(0xf3),()=>{_0x1136ed();});});}function decompressResponseBuffer(_0x445fe1,_0x274c9b){const _0x5266c4=_0x561328;let _0xb11327=_0x445fe1;if(/\bgzip\b/[_0x5266c4(0xf5)](_0x274c9b)||/\bdeflate\b/[_0x5266c4(0xf5)](_0x274c9b))_0xb11327=zlib['unzipSync'](_0x445fe1,{'flush':zlib[_0x5266c4(0xf4)][_0x5266c4(0xf1)],'finishFlush':zlib['constants'][_0x5266c4(0xf1)]});else/\bbr\b/[_0x5266c4(0xf5)](_0x274c9b)&&(_0xb11327=zlib[_0x5266c4(0x100)](_0x445fe1));return _0xb11327;}
@@ -1 +1 @@
1
- 'use strict';const _0x2acf4e=_0x3855;(function(_0x10518e,_0x16e801){const _0x376169=_0x3855,_0x2ff004=_0x10518e();while(!![]){try{const _0x5b7d17=-parseInt(_0x376169(0x164))/0x1*(parseInt(_0x376169(0x158))/0x2)+-parseInt(_0x376169(0x187))/0x3+parseInt(_0x376169(0x178))/0x4+-parseInt(_0x376169(0x155))/0x5*(parseInt(_0x376169(0x18f))/0x6)+-parseInt(_0x376169(0x17b))/0x7*(-parseInt(_0x376169(0x163))/0x8)+parseInt(_0x376169(0x165))/0x9*(parseInt(_0x376169(0x168))/0xa)+parseInt(_0x376169(0x195))/0xb*(parseInt(_0x376169(0x161))/0xc);if(_0x5b7d17===_0x16e801)break;else _0x2ff004['push'](_0x2ff004['shift']());}catch(_0x209cca){_0x2ff004['push'](_0x2ff004['shift']());}}}(_0x5089,0x21c54));Object[_0x2acf4e(0x16d)](exports,'__esModule',{'value':!![]}),exports[_0x2acf4e(0x174)]=void 0x0;function _0x5089(){const _0x1bbbdb=['\x09-\x20Generated\x20Android\x20APK\x20at\x20','URL\x20','177485gnzIwx','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','250XPACXc','underline','Decompressing\x20the\x20Android\x20SDK...','Downloading\x20the\x20Android\x20SDK...','--manifest','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Invalid\x20icon\x20path:\x20','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','70116cOkxDe','Path\x20to\x20your\x20existing\x20Android\x20SDK:','8656QrtMSQ','1949SEOnxg','41733kSfKTF','Path\x20to\x20your\x20existing\x20JDK\x2011:','(5/5)','20wlsQOG','\x20but\x20input\x20is\x20','green','bold','Invalid\x20URL:\x20','defineProperty','https://play.google.com/console/about/families/','Invalid\x20integer\x20provided:\x20','Password\x20for\x20the\x20Key\x20Store:','https://developer.android.com/studio/terms.html','\x0aSigning\x20key\x20information\x20','Icon\x20URL:','messages','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x0aBuilding\x20the\x20Android\x20App...','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)','714600ibMNSX','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','1379RkoTFx','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','Do\x20you\x20want\x20to\x20create\x20one\x20now?','\x20or\x20','yellow','--manifest-url','cyan','redirected\x20to\x20','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','Generating\x20Android\x20Project.','Downloading\x20the\x20JDK\x2011\x20Sources...','Decompressing\x20the\x20JDK\x2011\x20Sources...','248889dwpjNC','Decompressing\x20the\x20JDK\x2011\x20Binaries...','\x20and\x20alias\x20','\x20can\x20not\x20be\x20accessible.','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','Country\x20(2\x20letter\x20code):','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Downloading\x20JDK\x2011\x20to\x20','6zFljNc','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Minimum\x20length\x20is\x20','Organization\x20(eg:\x20Company\x20Name):','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x20Check\x20out\x20the\x20Play\x20for','187zzygml','\x0aSigning\x20key\x20creation','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Missing\x20required\x20parameter\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)'];_0x5089=function(){return _0x1bbbdb;};return _0x5089();}function _0x3855(_0x286da2,_0x55608f){const _0x50897f=_0x5089();return _0x3855=function(_0x385567,_0x421516){_0x385567=_0x385567-0x153;let _0x1a04a9=_0x50897f[_0x385567];return _0x1a04a9;},_0x3855(_0x286da2,_0x55608f);}const colors_1=require('colors');exports[_0x2acf4e(0x174)]={'promptInstallJdk':_0x2acf4e(0x177),'promptJdkPath':_0x2acf4e(0x166),'messageDownloadJdk':_0x2acf4e(0x18e),'messageDownloadJdkSrc':_0x2acf4e(0x185),'messageDecompressJdkSrc':_0x2acf4e(0x186),'messageDownloadJdkBin':'Downloading\x20the\x20JDK\x2011\x20Binaries...','messageDecompressJdkBin':_0x2acf4e(0x188),'promptInstallSdk':_0x2acf4e(0x199),'promptSdkPath':_0x2acf4e(0x162),'messageDownloadSdk':'Downloading\x20Android\x20SDK\x20to\x20','errorSdkTerms':_0x2acf4e(0x179),'promptSdkTerms':_0x2acf4e(0x160)+(0x0,colors_1[_0x2acf4e(0x159)])(_0x2acf4e(0x171))+'?','messageDownloadAndroidSdk':_0x2acf4e(0x15b),'messageDecompressAndroidSdk':_0x2acf4e(0x15a),'messageInstallingBuildTools':_0x2acf4e(0x18b)+'license\x20agreement.','messageGeneratingAndroidProject':_0x2acf4e(0x184),'messageCheckSuccess':(_0x4aeaee,_0x54516f)=>{const _0x29aaa9=_0x2acf4e;return'\x20URL\x20'+(0x0,colors_1[_0x29aaa9(0x181)])(_0x4aeaee)+'\x20'+(_0x54516f?_0x29aaa9(0x182)+(0x0,colors_1[_0x29aaa9(0x181)])(_0x54516f):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x2acf4e(0x198)+((0x0,colors_1[_0x2acf4e(0x181)])(_0x2acf4e(0x180))+_0x2acf4e(0x17e)+(0x0,colors_1[_0x2acf4e(0x181)])(_0x2acf4e(0x15c))),'messageInitializingWebManifest':_0x579502=>{const _0x595c19=_0x2acf4e;return _0x595c19(0x183)+(0x0,colors_1[_0x595c19(0x181)])(_0x579502);},'messageInitializingLocalManifest':_0x4ad97d=>{const _0x2053aa=_0x2acf4e;return _0x2053aa(0x157)+(0x0,colors_1[_0x2053aa(0x181)])(_0x4ad97d);},'messageInvalidIcon':_0x595c37=>{const _0x95a4d9=_0x2acf4e;return _0x95a4d9(0x15e)+(0x0,colors_1[_0x95a4d9(0x181)])(_0x595c37);},'errorStartUrlNotReachable':_0x5606b7=>_0x2acf4e(0x154)+_0x5606b7+_0x2acf4e(0x18a)+_0x2acf4e(0x15f),'warnFamilyPolicy':(0x0,colors_1[_0x2acf4e(0x16b)])((0x0,colors_1[_0x2acf4e(0x17f)])('WARNING:\x20'))+_0x2acf4e(0x15d)+_0x2acf4e(0x18d)+_0x2acf4e(0x194)+_0x2acf4e(0x17c)+(0x0,colors_1[_0x2acf4e(0x181)])(_0x2acf4e(0x16e)),'promptIconUrl':_0x2acf4e(0x173),'errorInvalidUrl':_0xae5bc3=>{const _0x12be83=_0x2acf4e;return _0x12be83(0x16c)+_0xae5bc3;},'errorUrlMustBeImage':_0x313c34=>{const _0x53340f=_0x2acf4e;return _0x53340f(0x190)+_0x313c34+'.';},'promptVersionCode':_0x2acf4e(0x197),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0x2acf4e(0x159)])(_0x2acf4e(0x172)+(0x0,colors_1[_0x2acf4e(0x16a)])(_0x2acf4e(0x167))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x2acf4e(0x159)])(_0x2acf4e(0x196)),'messageSigningKeyNotFound':_0x9f26a1=>{const _0x59bc34=_0x2acf4e;return _0x59bc34(0x156)+_0x9f26a1+'\x22.\x0a';},'promptCreateKey':_0x2acf4e(0x17d),'promptKeyFullName':_0x2acf4e(0x17a),'promptKeyOrganizationalUnit':_0x2acf4e(0x193),'promptKeyOrganization':_0x2acf4e(0x192),'promptKeyCountry':_0x2acf4e(0x18c),'promptKeystorePassword':_0x2acf4e(0x170),'promptKeyPassword':'Password\x20for\x20the\x20Key:','messageBuildingApp':_0x2acf4e(0x176),'messageEnterPasswords':(_0x12396f,_0x88322a)=>{const _0x4eddd0=_0x2acf4e;return _0x4eddd0(0x175)+(0x0,colors_1[_0x4eddd0(0x181)])(_0x12396f)+_0x4eddd0(0x189)+(0x0,colors_1['cyan'])(_0x88322a)+'.\x0a';},'errorMinLength':(_0x311910,_0x5a6592)=>{const _0x268fb5=_0x2acf4e;return _0x268fb5(0x191)+_0x311910+_0x268fb5(0x169)+_0x5a6592+'.';},'errorMaxLength':(_0x5d4d53,_0x51d8ef)=>{return'Maximum\x20length\x20is\x20'+_0x5d4d53+'\x20but\x20input\x20is\x20'+_0x51d8ef+'.';},'errorInvalidInteger':_0x1736b5=>{const _0x10a4b1=_0x2acf4e;return _0x10a4b1(0x16f)+_0x1736b5;},'messageApkSuccess':_0x256d46=>{const _0xd15472=_0x2acf4e;return _0xd15472(0x153)+(0x0,colors_1['cyan'])(_0x256d46);},'missingUrlToCheck':_0x2acf4e(0x198)+(''+(0x0,colors_1[_0x2acf4e(0x181)])('--url'))};
1
+ 'use strict';const _0xefa774=_0x374f;(function(_0x248cac,_0x2c21b9){const _0x56dde2=_0x374f,_0x4faad1=_0x248cac();while(!![]){try{const _0x471784=-parseInt(_0x56dde2(0x9f))/0x1*(-parseInt(_0x56dde2(0x86))/0x2)+-parseInt(_0x56dde2(0x94))/0x3+parseInt(_0x56dde2(0x90))/0x4+-parseInt(_0x56dde2(0x99))/0x5+parseInt(_0x56dde2(0xa9))/0x6+-parseInt(_0x56dde2(0xae))/0x7*(parseInt(_0x56dde2(0x7d))/0x8)+-parseInt(_0x56dde2(0x8c))/0x9;if(_0x471784===_0x2c21b9)break;else _0x4faad1['push'](_0x4faad1['shift']());}catch(_0x39c967){_0x4faad1['push'](_0x4faad1['shift']());}}}(_0xe8e6,0xf0b13));function _0x374f(_0x1b5a3c,_0xeb0f59){const _0xe8e68a=_0xe8e6();return _0x374f=function(_0x374fe0,_0x148049){_0x374fe0=_0x374fe0-0x79;let _0x223a9e=_0xe8e68a[_0x374fe0];return _0x223a9e;},_0x374f(_0x1b5a3c,_0xeb0f59);}Object['defineProperty'](exports,_0xefa774(0xac),{'value':!![]}),exports[_0xefa774(0xa4)]=void 0x0;const colors_1=require(_0xefa774(0xa1));exports[_0xefa774(0xa4)]={'promptInstallJdk':'Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','promptJdkPath':_0xefa774(0x87),'messageDownloadJdk':_0xefa774(0xb2),'messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':_0xefa774(0xa3),'messageDownloadJdkBin':_0xefa774(0xaa),'messageDecompressJdkBin':_0xefa774(0x83),'promptInstallSdk':_0xefa774(0xa8),'promptSdkPath':_0xefa774(0x98),'messageDownloadSdk':_0xefa774(0x7b),'errorSdkTerms':'Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','promptSdkTerms':_0xefa774(0x81)+(0x0,colors_1[_0xefa774(0xb0)])('https://developer.android.com/studio/terms.html')+'?','messageDownloadAndroidSdk':'Downloading\x20the\x20Android\x20SDK...','messageDecompressAndroidSdk':'Decompressing\x20the\x20Android\x20SDK...','messageInstallingBuildTools':_0xefa774(0xa6)+'license\x20agreement.','messageGeneratingAndroidProject':'Generating\x20Android\x20Project.','messageCheckSuccess':(_0x1538bf,_0x10be06)=>{const _0x531528=_0xefa774;return'\x20URL\x20'+(0x0,colors_1[_0x531528(0x80)])(_0x1538bf)+'\x20'+(_0x10be06?_0x531528(0x7c)+(0x0,colors_1['cyan'])(_0x10be06):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0xefa774(0x8a)+((0x0,colors_1[_0xefa774(0x80)])(_0xefa774(0xa0))+_0xefa774(0x85)+(0x0,colors_1[_0xefa774(0x80)])(_0xefa774(0x7a))),'messageInitializingWebManifest':_0x22a8d9=>{const _0x2d7d7e=_0xefa774;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x2d7d7e(0x80)])(_0x22a8d9);},'messageInitializingLocalManifest':_0x5aa654=>{const _0x45b0af=_0xefa774;return _0x45b0af(0xa5)+(0x0,colors_1[_0x45b0af(0x80)])(_0x5aa654);},'messageInvalidIcon':_0x5a11a8=>{const _0x21d69b=_0xefa774;return _0x21d69b(0xb3)+(0x0,colors_1[_0x21d69b(0x80)])(_0x5a11a8);},'errorStartUrlNotReachable':_0x292da0=>_0xefa774(0x9d)+_0x292da0+_0xefa774(0xa7)+_0xefa774(0x7f),'warnFamilyPolicy':(0x0,colors_1[_0xefa774(0x8f)])((0x0,colors_1[_0xefa774(0x9a)])('WARNING:\x20'))+_0xefa774(0xa2)+_0xefa774(0xad)+_0xefa774(0x91)+_0xefa774(0xab)+(0x0,colors_1[_0xefa774(0x80)])('https://play.google.com/console/about/families/'),'promptIconUrl':_0xefa774(0x9e),'errorInvalidUrl':_0x449c98=>{const _0x10d0fd=_0xefa774;return _0x10d0fd(0x97)+_0x449c98;},'errorUrlMustBeImage':_0x12d435=>{const _0x565b32=_0xefa774;return _0x565b32(0x88)+_0x12d435+'.';},'promptVersionCode':_0xefa774(0x8d),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1[_0xefa774(0xb0)])(_0xefa774(0x96)+(0x0,colors_1['green'])(_0xefa774(0x92))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0xefa774(0xb0)])('\x0aSigning\x20key\x20creation'),'messageSigningKeyNotFound':_0x1d1043=>{const _0x1ac651=_0xefa774;return _0x1ac651(0x93)+_0x1d1043+_0x1ac651(0xaf);},'promptCreateKey':_0xefa774(0x8b),'promptKeyFullName':_0xefa774(0x9c),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0xefa774(0x8e),'promptKeystorePassword':_0xefa774(0xb4),'promptKeyPassword':_0xefa774(0x7e),'messageBuildingApp':'\x0aBuilding\x20the\x20Android\x20App...','messageEnterPasswords':(_0x27bf74,_0x4335ff)=>{const _0x5089b6=_0xefa774;return _0x5089b6(0x95)+(0x0,colors_1['cyan'])(_0x27bf74)+_0x5089b6(0x9b)+(0x0,colors_1[_0x5089b6(0x80)])(_0x4335ff)+'.\x0a';},'errorMinLength':(_0x2c3f1a,_0x44baba)=>{const _0x37a4ec=_0xefa774;return _0x37a4ec(0x84)+_0x2c3f1a+'\x20but\x20input\x20is\x20'+_0x44baba+'.';},'errorMaxLength':(_0x1593d2,_0x697afe)=>{const _0x2ba52e=_0xefa774;return _0x2ba52e(0x89)+_0x1593d2+'\x20but\x20input\x20is\x20'+_0x697afe+'.';},'errorInvalidInteger':_0x62a7ae=>{const _0x17b085=_0xefa774;return _0x17b085(0x82)+_0x62a7ae;},'messageApkSuccess':_0x2453df=>{const _0x10a992=_0xefa774;return _0x10a992(0xb1)+(0x0,colors_1['cyan'])(_0x2453df);},'missingUrlToCheck':_0xefa774(0x8a)+(''+(0x0,colors_1[_0xefa774(0x80)])(_0xefa774(0x79)))};function _0xe8e6(){const _0x1672ef=['URL\x20','Icon\x20URL:','7nglEby','--manifest-url','colors','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Decompressing\x20the\x20JDK\x2011\x20Sources...','messages','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','\x20can\x20not\x20be\x20accessible.','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)','2357496BwLCFi','Downloading\x20the\x20JDK\x2011\x20Binaries...','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','__esModule','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','42KgnHKl','\x22.\x0a','underline','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Downloading\x20JDK\x2011\x20to\x20','Invalid\x20icon\x20path:\x20','Password\x20for\x20the\x20Key\x20Store:','--url','--manifest','Downloading\x20Android\x20SDK\x20to\x20','redirected\x20to\x20','1037712iVXFpk','Password\x20for\x20the\x20Key:','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','cyan','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Invalid\x20integer\x20provided:\x20','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Minimum\x20length\x20is\x20','\x20or\x20','548138rvbSWq','Path\x20to\x20your\x20existing\x20JDK\x2011:','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Maximum\x20length\x20is\x20','Missing\x20required\x20parameter\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','596943VZzwtb','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Country\x20(2\x20letter\x20code):','bold','7806112ErAFTK','\x20Check\x20out\x20the\x20Play\x20for','(5/5)','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','3279117xdXegy','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x0aSigning\x20key\x20information\x20','Invalid\x20URL:\x20','Path\x20to\x20your\x20existing\x20Android\x20SDK:','6697010zeKJPO','yellow','\x20and\x20alias\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):'];_0xe8e6=function(){return _0x1672ef;};return _0xe8e6();}
@@ -1 +1 @@
1
- 'use strict';const _0xa504e6=_0x4ff1;(function(_0x224dbf,_0x373bd2){const _0x51320c=_0x4ff1,_0x352eb4=_0x224dbf();while(!![]){try{const _0x39e23e=parseInt(_0x51320c(0x135))/0x1*(parseInt(_0x51320c(0x133))/0x2)+parseInt(_0x51320c(0x132))/0x3+parseInt(_0x51320c(0x12b))/0x4*(parseInt(_0x51320c(0x12e))/0x5)+-parseInt(_0x51320c(0x12f))/0x6+parseInt(_0x51320c(0x134))/0x7+parseInt(_0x51320c(0x130))/0x8*(parseInt(_0x51320c(0x12c))/0x9)+-parseInt(_0x51320c(0x12a))/0xa;if(_0x39e23e===_0x373bd2)break;else _0x352eb4['push'](_0x352eb4['shift']());}catch(_0x135748){_0x352eb4['push'](_0x352eb4['shift']());}}}(_0x4f0d,0xb0454));function _0x4ff1(_0x4675d8,_0x461cb3){const _0x4f0d23=_0x4f0d();return _0x4ff1=function(_0x4ff140,_0x322aae){_0x4ff140=_0x4ff140-0x12a;let _0x52b2e3=_0x4f0d23[_0x4ff140];return _0x52b2e3;},_0x4ff1(_0x4675d8,_0x461cb3);}Object['defineProperty'](exports,_0xa504e6(0x131),{'value':!![]}),exports[_0xa504e6(0x12d)]=parseRouter;function parseRouter(_0x4adf5f){let _0x21e29b=_0x4adf5f['split']('/');_0x21e29b['pop']();let _0x3664bf=_0x21e29b['join']();while(_0x3664bf['indexOf'](',')>=0x0){_0x3664bf=_0x3664bf['replace'](',','/');}return _0x3664bf;}function _0x4f0d(){const _0x19c029=['3147548EFxhVn','9538011bKVxDz','parseRouter','5QGVUOP','91602MJGUBx','8ukRjMK','__esModule','3567291NmUTIo','12UGljoA','3559262AMcDnd','8594KcJFHh','28585220lATyXE'];_0x4f0d=function(){return _0x19c029;};return _0x4f0d();}
1
+ 'use strict';const _0x58e2eb=_0x1599;function _0x1599(_0x315baa,_0x18904a){const _0x2db862=_0x2db8();return _0x1599=function(_0x15995c,_0x16578a){_0x15995c=_0x15995c-0x1b7;let _0x3398d4=_0x2db862[_0x15995c];return _0x3398d4;},_0x1599(_0x315baa,_0x18904a);}(function(_0x1319eb,_0x3e7d29){const _0x65e03e=_0x1599,_0x195fd9=_0x1319eb();while(!![]){try{const _0x7a4357=-parseInt(_0x65e03e(0x1bb))/0x1+-parseInt(_0x65e03e(0x1b9))/0x2*(-parseInt(_0x65e03e(0x1c6))/0x3)+parseInt(_0x65e03e(0x1c1))/0x4*(parseInt(_0x65e03e(0x1bd))/0x5)+-parseInt(_0x65e03e(0x1c3))/0x6+-parseInt(_0x65e03e(0x1bf))/0x7+parseInt(_0x65e03e(0x1b8))/0x8+-parseInt(_0x65e03e(0x1c4))/0x9*(-parseInt(_0x65e03e(0x1c0))/0xa);if(_0x7a4357===_0x3e7d29)break;else _0x195fd9['push'](_0x195fd9['shift']());}catch(_0x46d94e){_0x195fd9['push'](_0x195fd9['shift']());}}}(_0x2db8,0x97691));function _0x2db8(){const _0x31be23=['10ORFKLO','4GyaQvb','__esModule','7405554pNJSVV','5421825NNDwFl','indexOf','1218948BfThAr','parseRouter','join','7444312WgRbtN','4IzKHlZ','replace','449096cmwYBQ','split','5514270KNlWHY','defineProperty','8014426KuOOmC'];_0x2db8=function(){return _0x31be23;};return _0x2db8();}Object[_0x58e2eb(0x1be)](exports,_0x58e2eb(0x1c2),{'value':!![]}),exports[_0x58e2eb(0x1c7)]=parseRouter;function parseRouter(_0x7022be){const _0x54d534=_0x58e2eb;let _0x40379a=_0x7022be[_0x54d534(0x1bc)]('/');_0x40379a['pop']();let _0x103333=_0x40379a[_0x54d534(0x1b7)]();while(_0x103333[_0x54d534(0x1c5)](',')>=0x0){_0x103333=_0x103333[_0x54d534(0x1ba)](',','/');}return _0x103333;}
@@ -1 +1 @@
1
- 'use strict';const _0x41dc4c=_0x1497;function _0xc4f5(){const _0x938bf4=['__esModule','426XTDXEq','default','parseProject','3318966WesuSf','uploadApp','24jnOEcS','1592235RpvRYQ','upload','XcodeManager','5EbBhzF','1424863pCHNeL','name','join','runWithSimulator','log','PROJECT_DIRECTORY','mkdirSync','3fRQjYU','5917956CDIMbW','134388jnXQcb','.ipa','1794860aYhoIi','archive','write\x20project.pbxproj:\x20ok','modify','./xcodebuild','2264CeqDrL','existsSync','defineProperty','PROJECT_EXPORT_DIRECTORY','./xcrun','/web-spatial.xcodeproj/project.pbxproj'];_0xc4f5=function(){return _0x938bf4;};return _0xc4f5();}(function(_0x10a1fa,_0x1c7b6f){const _0x243558=_0x1497,_0x5b5726=_0x10a1fa();while(!![]){try{const _0x32ebe6=parseInt(_0x243558(0x145))/0x1*(parseInt(_0x243558(0x15f))/0x2)+parseInt(_0x243558(0x156))/0x3*(parseInt(_0x243558(0x158))/0x4)+-parseInt(_0x243558(0x14e))/0x5*(parseInt(_0x243558(0x157))/0x6)+parseInt(_0x243558(0x148))/0x7+-parseInt(_0x243558(0x14a))/0x8*(-parseInt(_0x243558(0x14b))/0x9)+parseInt(_0x243558(0x15a))/0xa+-parseInt(_0x243558(0x14f))/0xb;if(_0x32ebe6===_0x1c7b6f)break;else _0x5b5726['push'](_0x5b5726['shift']());}catch(_0x532728){_0x5b5726['push'](_0x5b5726['shift']());}}}(_0xc4f5,0x8ea93));Object[_0x41dc4c(0x161)](exports,_0x41dc4c(0x144),{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x1497(_0xdc34d6,_0x337f2d){const _0xc4f54f=_0xc4f5();return _0x1497=function(_0x149781,_0x39bc18){_0x149781=_0x149781-0x142;let _0x44bd66=_0xc4f54f[_0x149781];return _0x44bd66;},_0x1497(_0xdc34d6,_0x337f2d);}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0x41dc4c(0x15e)),xcrun_1=require(_0x41dc4c(0x142)),path_1=require('path');class XcodeManager{static async[_0x41dc4c(0x147)](_0x3e3977,_0x521452=![]){const _0x15bc41=_0x41dc4c,_0x53c007=resource_1[_0x15bc41(0x154)]+_0x15bc41(0x143);await xcodeproject_1[_0x15bc41(0x146)][_0x15bc41(0x15d)](_0x53c007,_0x3e3977,_0x521452),console[_0x15bc41(0x153)](_0x15bc41(0x15c));!fs[_0x15bc41(0x160)](resource_1[_0x15bc41(0x162)])&&fs[_0x15bc41(0x155)](resource_1[_0x15bc41(0x162)],{'recursive':!![]});if(!_0x521452)await xcodebuild_1[_0x15bc41(0x146)][_0x15bc41(0x15b)](_0x3e3977['export']);}static async[_0x41dc4c(0x14c)](_0x326e44,_0x2a6f6d){const _0x3446c9=_0x41dc4c;if(_0x326e44['u']&&_0x326e44['p'])xcrun_1[_0x3446c9(0x146)][_0x3446c9(0x149)]((0x0,path_1[_0x3446c9(0x151)])(resource_1[_0x3446c9(0x162)],_0x2a6f6d[_0x3446c9(0x150)]+_0x3446c9(0x159)),_0x326e44['u'],_0x326e44['p'],!![]);else _0x326e44['k']&&_0x326e44['i']&&xcrun_1[_0x3446c9(0x146)][_0x3446c9(0x149)]((0x0,path_1[_0x3446c9(0x151)])(resource_1[_0x3446c9(0x162)],_0x2a6f6d[_0x3446c9(0x150)]+_0x3446c9(0x159)),_0x326e44['k'],_0x326e44['i'],![]);}static async[_0x41dc4c(0x152)](_0x594c6a){const _0x49d804=_0x41dc4c;await xcrun_1['default'][_0x49d804(0x152)](_0x594c6a);}}exports[_0x41dc4c(0x14d)]=XcodeManager;
1
+ 'use strict';const _0x191880=_0x2e14;(function(_0x4765a6,_0x16f76e){const _0x3fcf77=_0x2e14,_0x5b296a=_0x4765a6();while(!![]){try{const _0x520013=-parseInt(_0x3fcf77(0x69))/0x1*(parseInt(_0x3fcf77(0x82))/0x2)+-parseInt(_0x3fcf77(0x67))/0x3*(-parseInt(_0x3fcf77(0x85))/0x4)+parseInt(_0x3fcf77(0x77))/0x5*(-parseInt(_0x3fcf77(0x73))/0x6)+parseInt(_0x3fcf77(0x74))/0x7*(parseInt(_0x3fcf77(0x7a))/0x8)+-parseInt(_0x3fcf77(0x6f))/0x9+parseInt(_0x3fcf77(0x79))/0xa+parseInt(_0x3fcf77(0x80))/0xb;if(_0x520013===_0x16f76e)break;else _0x5b296a['push'](_0x5b296a['shift']());}catch(_0x6e79cf){_0x5b296a['push'](_0x5b296a['shift']());}}}(_0x41fb,0x6106e));function _0x41fb(){const _0x23b8d8=['path','modify','./xcodeproject','6243876nMmyaC','.ipa','write\x20project.pbxproj:\x20ok','PROJECT_EXPORT_DIRECTORY','60pmkXBu','21cBWCrc','../resource','log','300205LnauDS','PROJECT_DIRECTORY','3066620nDodoM','450888ptPoFg','export','upload','./xcodebuild','defineProperty','archive','14972364PxrQxY','parseProject','915468ucOXdA','default','uploadApp','4btoasN','937383TeyVgt','name','1WMAmrE','existsSync','XcodeManager'];_0x41fb=function(){return _0x23b8d8;};return _0x41fb();}Object[_0x191880(0x7e)](exports,'__esModule',{'value':!![]}),exports[_0x191880(0x6b)]=void 0x0;const fs=require('fs'),resource_1=require(_0x191880(0x75)),xcodeproject_1=require(_0x191880(0x6e)),xcodebuild_1=require(_0x191880(0x7d)),xcrun_1=require('./xcrun'),path_1=require(_0x191880(0x6c));function _0x2e14(_0x4d75e0,_0x5cf68c){const _0x41fbd7=_0x41fb();return _0x2e14=function(_0x2e14f0,_0x13c71e){_0x2e14f0=_0x2e14f0-0x67;let _0x1d2601=_0x41fbd7[_0x2e14f0];return _0x1d2601;},_0x2e14(_0x4d75e0,_0x5cf68c);}class XcodeManager{static async[_0x191880(0x81)](_0x35bc77,_0x3afd09=![]){const _0x2744ed=_0x191880,_0xa07612=resource_1[_0x2744ed(0x78)]+'/web-spatial.xcodeproj/project.pbxproj';await xcodeproject_1[_0x2744ed(0x83)][_0x2744ed(0x6d)](_0xa07612,_0x35bc77,_0x3afd09),console[_0x2744ed(0x76)](_0x2744ed(0x71));!fs[_0x2744ed(0x6a)](resource_1[_0x2744ed(0x72)])&&fs['mkdirSync'](resource_1[_0x2744ed(0x72)],{'recursive':!![]});if(!_0x3afd09)await xcodebuild_1[_0x2744ed(0x83)][_0x2744ed(0x7f)](_0x35bc77[_0x2744ed(0x7b)]);}static async[_0x191880(0x7c)](_0x2ce688,_0x3c02fc){const _0x3fb8e7=_0x191880;if(_0x2ce688['u']&&_0x2ce688['p'])xcrun_1[_0x3fb8e7(0x83)]['uploadApp']((0x0,path_1['join'])(resource_1[_0x3fb8e7(0x72)],_0x3c02fc[_0x3fb8e7(0x68)]+_0x3fb8e7(0x70)),_0x2ce688['u'],_0x2ce688['p'],!![]);else _0x2ce688['k']&&_0x2ce688['i']&&xcrun_1['default'][_0x3fb8e7(0x84)]((0x0,path_1['join'])(resource_1[_0x3fb8e7(0x72)],_0x3c02fc['name']+_0x3fb8e7(0x70)),_0x2ce688['k'],_0x2ce688['i'],![]);}static async['runWithSimulator'](_0x22f8ad){const _0x59cd99=_0x191880;await xcrun_1[_0x59cd99(0x83)]['runWithSimulator'](_0x22f8ad);}}exports[_0x191880(0x6b)]=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x3cb631=_0x2e41;function _0x45d9(){var _0x53420e=['16uioNCg','221205aGiRSu','7277798xDmseR','__esModule','8CPoFyc','1270506gWaxGo','9HHpNbR','21562jdDDGn','defineProperty','2252290qAyoMX','manifestSwiftTemplate','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a\x20\x20\x20\x20case\x20fullscreen\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','336354wPtIMt','212485iXWgaI','15ZXdQdZ'];_0x45d9=function(){return _0x53420e;};return _0x45d9();}(function(_0x4d8648,_0x4a8656){var _0x59ce8b=_0x2e41,_0x57627d=_0x4d8648();while(!![]){try{var _0x5137e7=-parseInt(_0x59ce8b(0x125))/0x1*(-parseInt(_0x59ce8b(0x11e))/0x2)+-parseInt(_0x59ce8b(0x123))/0x3+-parseInt(_0x59ce8b(0x126))/0x4*(parseInt(_0x59ce8b(0x118))/0x5)+-parseInt(_0x59ce8b(0x11c))/0x6+-parseInt(_0x59ce8b(0x124))/0x7*(-parseInt(_0x59ce8b(0x11b))/0x8)+-parseInt(_0x59ce8b(0x11d))/0x9*(parseInt(_0x59ce8b(0x120))/0xa)+parseInt(_0x59ce8b(0x119))/0xb;if(_0x5137e7===_0x4a8656)break;else _0x57627d['push'](_0x57627d['shift']());}catch(_0x519ca2){_0x57627d['push'](_0x57627d['shift']());}}}(_0x45d9,0x1f28a));function _0x2e41(_0x28dae3,_0x3057cd){var _0x45d9ff=_0x45d9();return _0x2e41=function(_0x2e41b9,_0x2da784){_0x2e41b9=_0x2e41b9-0x118;var _0xaa5a3b=_0x45d9ff[_0x2e41b9];return _0xaa5a3b;},_0x2e41(_0x28dae3,_0x3057cd);}Object[_0x3cb631(0x11f)](exports,_0x3cb631(0x11a),{'value':!![]}),exports[_0x3cb631(0x121)]=void 0x0,exports[_0x3cb631(0x121)]=_0x3cb631(0x122);
1
+ 'use strict';var _0xcac515=_0x2496;function _0x2496(_0x3050f6,_0x1f5925){var _0x230429=_0x2304();return _0x2496=function(_0x2496d2,_0x5c3851){_0x2496d2=_0x2496d2-0xe9;var _0x3a38b1=_0x230429[_0x2496d2];return _0x3a38b1;},_0x2496(_0x3050f6,_0x1f5925);}(function(_0x188287,_0x211b26){var _0x57129b=_0x2496,_0x4629e8=_0x188287();while(!![]){try{var _0x5dc970=-parseInt(_0x57129b(0xea))/0x1+parseInt(_0x57129b(0xf1))/0x2+-parseInt(_0x57129b(0xeb))/0x3*(parseInt(_0x57129b(0xf0))/0x4)+parseInt(_0x57129b(0xf3))/0x5+-parseInt(_0x57129b(0xe9))/0x6*(-parseInt(_0x57129b(0xf2))/0x7)+parseInt(_0x57129b(0xf4))/0x8+-parseInt(_0x57129b(0xee))/0x9*(-parseInt(_0x57129b(0xef))/0xa);if(_0x5dc970===_0x211b26)break;else _0x4629e8['push'](_0x4629e8['shift']());}catch(_0x393b22){_0x4629e8['push'](_0x4629e8['shift']());}}}(_0x2304,0xe1382));function _0x2304(){var _0x746660=['153822EBNirg','1751105IpFylT','3123zAnAlS','\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a\x20\x20\x20\x20case\x20fullscreen\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a','manifestSwiftTemplate','6606fUzEud','1340rmqcUx','1372liJEse','1903958lngmEe','434JyKSaD','864690KhjjlZ','1743192FueJSP'];_0x2304=function(){return _0x746660;};return _0x2304();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0xcac515(0xed)]=void 0x0,exports[_0xcac515(0xed)]=_0xcac515(0xec);
@@ -1 +1 @@
1
- 'use strict';function _0x8320(_0x4ad330,_0x221eb7){const _0x543377=_0x5433();return _0x8320=function(_0x832069,_0x5e8c3d){_0x832069=_0x832069-0x1eb;let _0x4860ad=_0x543377[_0x832069];return _0x4860ad;},_0x8320(_0x4ad330,_0x221eb7);}const _0x437198=_0x8320;(function(_0x4b1443,_0x4e946c){const _0x385ba5=_0x8320,_0x592e13=_0x4b1443();while(!![]){try{const _0x190db8=parseInt(_0x385ba5(0x1f1))/0x1*(parseInt(_0x385ba5(0x1fe))/0x2)+-parseInt(_0x385ba5(0x1f4))/0x3+-parseInt(_0x385ba5(0x217))/0x4*(parseInt(_0x385ba5(0x203))/0x5)+-parseInt(_0x385ba5(0x210))/0x6+parseInt(_0x385ba5(0x1fb))/0x7*(parseInt(_0x385ba5(0x21b))/0x8)+-parseInt(_0x385ba5(0x211))/0x9*(parseInt(_0x385ba5(0x21d))/0xa)+parseInt(_0x385ba5(0x1f5))/0xb*(parseInt(_0x385ba5(0x21f))/0xc);if(_0x190db8===_0x4e946c)break;else _0x592e13['push'](_0x592e13['shift']());}catch(_0x25a856){_0x592e13['push'](_0x592e13['shift']());}}}(_0x5433,0xe9e21));Object['defineProperty'](exports,_0x437198(0x1eb),{'value':!![]}),exports[_0x437198(0x20c)]=void 0x0;const fs=require('fs'),path_1=require(_0x437198(0x208)),resource_1=require(_0x437198(0x202)),semver_1=require(_0x437198(0x201)),file_1=require('../resource/file'),{execSync,exec}=require(_0x437198(0x1f3));class Xcodebuild{static async[_0x437198(0x219)](){const _0x2375d2=_0x437198;try{await new Promise((_0x52f231,_0x4cc860)=>{const _0x57bab6=_0x8320,_0x45f0d1=resource_1['PROJECT_DIRECTORY']+_0x57bab6(0x21a),_0x1dfb2e=execSync(new XcodebuildCMD()['project'](_0x45f0d1)[_0x57bab6(0x204)]()['line']);console[_0x57bab6(0x218)](_0x1dfb2e['toString']()),_0x52f231(_0x1dfb2e);});}catch(_0x4a289c){console[_0x2375d2(0x218)](_0x4a289c);}}static async[_0x437198(0x204)](){const _0x14e466=_0x437198;try{await new Promise((_0x42a5e1,_0xabe538)=>{const _0x203609=_0x8320,_0xae470f=resource_1['PROJECT_DIRECTORY']+_0x203609(0x21a),_0x47e9c0=execSync(new XcodebuildCMD()['project'](_0xae470f)[_0x203609(0x204)]()[_0x203609(0x213)]);console['log'](_0x47e9c0['toString']()),_0x42a5e1(_0x47e9c0);});}catch(_0x503708){console[_0x14e466(0x218)](_0x503708);}}static async['archive'](_0x1419a2){const _0x5275d3=_0x437198;try{return console[_0x5275d3(0x218)](_0x5275d3(0x207)),!fs['existsSync'](resource_1[_0x5275d3(0x215)])&&fs[_0x5275d3(0x20b)](resource_1[_0x5275d3(0x215)],{'recursive':!![]}),await new Promise((_0x9b3a3d,_0xb1df6f)=>{const _0x416bd0=_0x5275d3,_0x8715bd=resource_1['PROJECT_DIRECTORY']+_0x416bd0(0x21a),_0x28ac36=execSync(new XcodebuildCMD()['project'](_0x8715bd)['scheme'](_0x416bd0(0x222))[_0x416bd0(0x1ec)]((0x0,path_1[_0x416bd0(0x1f7)])(resource_1[_0x416bd0(0x1ef)],_0x416bd0(0x209)))[_0x416bd0(0x1f2)]()[_0x416bd0(0x213)]);let _0x3c1c5d=_0x28ac36[_0x416bd0(0x20f)]();if(_0x3c1c5d[_0x416bd0(0x1f9)]('ARCHIVE\x20SUCCEEDED')>0x0){console['log'](_0x416bd0(0x21c)),console[_0x416bd0(0x218)](_0x416bd0(0x1f8));const _0x518b5e=execSync(new XcodebuildCMD()[_0x416bd0(0x1fc)]((0x0,path_1[_0x416bd0(0x1f7)])(resource_1[_0x416bd0(0x1ef)],'pack.xcarchive'),resource_1[_0x416bd0(0x215)],(0x0,path_1['join'])(resource_1[_0x416bd0(0x1ef)],'ExportOptions.plist'))[_0x416bd0(0x216)]()[_0x416bd0(0x213)]);_0x3c1c5d=_0x518b5e[_0x416bd0(0x20f)]();if(_0x3c1c5d[_0x416bd0(0x1f9)](_0x416bd0(0x212))>0x0){const _0xe15dfc=_0x1419a2!==null&&_0x1419a2!==void 0x0?_0x1419a2:_0x416bd0(0x214),_0x489215=(0x0,path_1['join'])(process[_0x416bd0(0x1ed)](),_0xe15dfc);!fs[_0x416bd0(0x1fd)](_0x489215)&&fs[_0x416bd0(0x20b)](_0x489215,{'recursive':!![]}),(0x0,file_1[_0x416bd0(0x206)])(resource_1[_0x416bd0(0x215)],_0x489215),console['log'](_0x416bd0(0x20d)),_0x9b3a3d(!![]);}(0x0,semver_1[_0x416bd0(0x1f2)])(resource_1[_0x416bd0(0x1ef)]);}_0x9b3a3d(![]);});}catch(_0xa06b26){console[_0x5275d3(0x218)](_0xa06b26);}}}exports[_0x437198(0x1fa)]=Xcodebuild;class XcodebuildCMD{constructor(){const _0x1a7525=_0x437198;this['line']=_0x1a7525(0x220);}['project'](_0x3d1645){const _0x36d653=_0x437198;return this[_0x36d653(0x213)]+=_0x36d653(0x200)+_0x3d1645,this;}[_0x437198(0x204)](){const _0x3ebc63=_0x437198;return this['line']+=_0x3ebc63(0x20a),this;}[_0x437198(0x1f0)](_0x12ce1e){const _0x5cba1e=_0x437198;return this[_0x5cba1e(0x213)]+=_0x5cba1e(0x205)+_0x12ce1e,this;}[_0x437198(0x1ec)](_0x132b12){const _0x43e02e=_0x437198;return this[_0x43e02e(0x213)]+=_0x43e02e(0x1f6)+_0x132b12+_0x43e02e(0x221),this;}[_0x437198(0x216)](){const _0x5d4fc4=_0x437198;return this[_0x5d4fc4(0x213)]+='\x20-allowProvisioningUpdates',this;}['destination'](_0x50a901){const _0x2e683d=_0x437198;return this[_0x2e683d(0x213)]+=_0x2e683d(0x21e)+_0x50a901+'\x27',this;}[_0x437198(0x1fc)](_0x844973,_0x4e4a35,_0x5bdca2){const _0x10c3f0=_0x437198;return this['line']+='\x20-exportArchive\x20-archivePath\x20'+_0x844973+_0x10c3f0(0x1ff)+_0x4e4a35+_0x10c3f0(0x20e)+_0x5bdca2,this;}[_0x437198(0x1f2)](){const _0x2021a0=_0x437198;return this[_0x2021a0(0x213)]+=_0x2021a0(0x1ee),this;}}function _0x5433(){const _0x2856c3=['line','./build','PROJECT_EXPORT_DIRECTORY','allowProvisioningUpdates','1008028gopKhQ','log','project','/web-spatial.xcodeproj','205120uDsMie','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','16070eEFuFy','\x20-destination\x20\x27','24PVirvm','xcodebuild','\x20archive','web-spatial','__esModule','archive','cwd','\x20clean','PROJECT_BUILD_DIRECTORY','scheme','3257NopqJT','clean','child_process','3567717NGNpaR','17242874yYYKRe','\x20-archivePath\x20','join','start\x20export','indexOf','default','455kNQLfq','output','existsSync','886SVeNvC','\x20-exportPath\x20','\x20-project\x20','semver','../resource','35yIlEBj','list','\x20-scheme\x20','copyDir','start\x20archive','path','./pack','\x20-list','mkdirSync','XcodebuildCMD','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-exportOptionsPlist\x20','toString','4309266WiWAAM','9045HKINTN','EXPORT\x20SUCCEEDED'];_0x5433=function(){return _0x2856c3;};return _0x5433();}exports[_0x437198(0x20c)]=XcodebuildCMD;
1
+ 'use strict';const _0x3afdca=_0xd3fe;function _0x1150(){const _0x2cdab9=['log','EXPORT\x20SUCCEEDED','scheme','start\x20archive','PROJECT_EXPORT_DIRECTORY','/web-spatial.xcodeproj','start\x20export','\x20-scheme\x20','clean','cwd','web-spatial','output','allowProvisioningUpdates','2426220NvhmwU','destination','PROJECT_BUILD_DIRECTORY','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','copyDir','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','4VEYXHV','path','archive','\x20-archivePath\x20','9330880TeTEoa','204UuKFQZ','\x20-allowProvisioningUpdates','existsSync','toString','2170755MXwaKv','7574cfOIUM','\x20-exportOptionsPlist\x20','XcodebuildCMD','child_process','528TmUzCG','indexOf','list','mkdirSync','16KnbbdH','\x20archive','1OtMlaC','defineProperty','6402395MepAHd','project','\x20-destination\x20\x27','__esModule','line','ExportOptions.plist','ARCHIVE\x20SUCCEEDED','PROJECT_DIRECTORY','100848AsoQZt','join','1442001FdqiBu'];_0x1150=function(){return _0x2cdab9;};return _0x1150();}(function(_0x1fe0dc,_0x33b756){const _0x2092c7=_0xd3fe,_0xbf5f56=_0x1fe0dc();while(!![]){try{const _0x5c04f0=-parseInt(_0x2092c7(0x1cb))/0x1*(-parseInt(_0x2092c7(0x1b1))/0x2)+parseInt(_0x2092c7(0x1d5))/0x3+parseInt(_0x2092c7(0x1b7))/0x4*(parseInt(_0x2092c7(0x1cd))/0x5)+-parseInt(_0x2092c7(0x1c5))/0x6*(parseInt(_0x2092c7(0x1c1))/0x7)+-parseInt(_0x2092c7(0x1c9))/0x8*(parseInt(_0x2092c7(0x1c0))/0x9)+parseInt(_0x2092c7(0x1bb))/0xa+parseInt(_0x2092c7(0x1d7))/0xb*(-parseInt(_0x2092c7(0x1bc))/0xc);if(_0x5c04f0===_0x33b756)break;else _0xbf5f56['push'](_0xbf5f56['shift']());}catch(_0x1b9042){_0xbf5f56['push'](_0xbf5f56['shift']());}}}(_0x1150,0x9fb3c));Object[_0x3afdca(0x1cc)](exports,_0x3afdca(0x1d0),{'value':!![]}),exports[_0x3afdca(0x1c3)]=void 0x0;const fs=require('fs'),path_1=require(_0x3afdca(0x1b8)),resource_1=require('../resource'),semver_1=require('semver'),file_1=require('../resource/file'),{execSync,exec}=require(_0x3afdca(0x1c4));function _0xd3fe(_0x27d439,_0x4b4c74){const _0x11508a=_0x1150();return _0xd3fe=function(_0xd3fecb,_0x4d5a6b){_0xd3fecb=_0xd3fecb-0x1b1;let _0x707c07=_0x11508a[_0xd3fecb];return _0x707c07;},_0xd3fe(_0x27d439,_0x4b4c74);}class Xcodebuild{static async[_0x3afdca(0x1ce)](){const _0x325c8b=_0x3afdca;try{await new Promise((_0x1f48b9,_0x534ba9)=>{const _0x575f30=_0xd3fe,_0x480b56=resource_1[_0x575f30(0x1d4)]+_0x575f30(0x1dd),_0x2bdc0e=execSync(new XcodebuildCMD()[_0x575f30(0x1ce)](_0x480b56)[_0x575f30(0x1c7)]()[_0x575f30(0x1d1)]);console[_0x575f30(0x1d8)](_0x2bdc0e['toString']()),_0x1f48b9(_0x2bdc0e);});}catch(_0x310ad1){console[_0x325c8b(0x1d8)](_0x310ad1);}}static async[_0x3afdca(0x1c7)](){const _0x83200e=_0x3afdca;try{await new Promise((_0x4d3473,_0x3e5eb8)=>{const _0xf0e5e0=_0xd3fe,_0x46ffc2=resource_1[_0xf0e5e0(0x1d4)]+_0xf0e5e0(0x1dd),_0x4b18f1=execSync(new XcodebuildCMD()[_0xf0e5e0(0x1ce)](_0x46ffc2)[_0xf0e5e0(0x1c7)]()[_0xf0e5e0(0x1d1)]);console[_0xf0e5e0(0x1d8)](_0x4b18f1[_0xf0e5e0(0x1bf)]()),_0x4d3473(_0x4b18f1);});}catch(_0x33cf1e){console[_0x83200e(0x1d8)](_0x33cf1e);}}static async[_0x3afdca(0x1b9)](_0x4988cc){const _0x48b1d9=_0x3afdca;try{return console[_0x48b1d9(0x1d8)](_0x48b1d9(0x1db)),!fs['existsSync'](resource_1[_0x48b1d9(0x1dc)])&&fs[_0x48b1d9(0x1c8)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x34a090,_0x1d5f52)=>{const _0x43027a=_0x48b1d9,_0x32bfad=resource_1['PROJECT_DIRECTORY']+_0x43027a(0x1dd),_0x4337cf=execSync(new XcodebuildCMD()[_0x43027a(0x1ce)](_0x32bfad)['scheme'](_0x43027a(0x1e2))['archive']((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))[_0x43027a(0x1e0)]()['line']);let _0x334e5d=_0x4337cf[_0x43027a(0x1bf)]();if(_0x334e5d[_0x43027a(0x1c6)](_0x43027a(0x1d3))>0x0){console['log'](_0x43027a(0x1b6)),console[_0x43027a(0x1d8)](_0x43027a(0x1de));const _0x356e8c=execSync(new XcodebuildCMD()[_0x43027a(0x1e3)]((0x0,path_1['join'])(resource_1[_0x43027a(0x1b3)],'pack.xcarchive'),resource_1[_0x43027a(0x1dc)],(0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x43027a(0x1d2)))[_0x43027a(0x1e4)]()[_0x43027a(0x1d1)]);_0x334e5d=_0x356e8c[_0x43027a(0x1bf)]();if(_0x334e5d[_0x43027a(0x1c6)](_0x43027a(0x1d9))>0x0){const _0x4faa9f=_0x4988cc!==null&&_0x4988cc!==void 0x0?_0x4988cc:'./build',_0x2e2306=(0x0,path_1[_0x43027a(0x1d6)])(process[_0x43027a(0x1e1)](),_0x4faa9f);!fs[_0x43027a(0x1be)](_0x2e2306)&&fs[_0x43027a(0x1c8)](_0x2e2306,{'recursive':!![]}),(0x0,file_1[_0x43027a(0x1b5)])(resource_1[_0x43027a(0x1dc)],_0x2e2306),console[_0x43027a(0x1d8)](_0x43027a(0x1b4)),_0x34a090(!![]);}(0x0,semver_1['clean'])(resource_1[_0x43027a(0x1b3)]);}_0x34a090(![]);});}catch(_0x2099fe){console[_0x48b1d9(0x1d8)](_0x2099fe);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){const _0x2890f0=_0x3afdca;this[_0x2890f0(0x1d1)]='xcodebuild';}[_0x3afdca(0x1ce)](_0x37480b){const _0x251474=_0x3afdca;return this[_0x251474(0x1d1)]+='\x20-project\x20'+_0x37480b,this;}['list'](){const _0x13df82=_0x3afdca;return this[_0x13df82(0x1d1)]+='\x20-list',this;}[_0x3afdca(0x1da)](_0x27bd21){const _0x5a1e11=_0x3afdca;return this['line']+=_0x5a1e11(0x1df)+_0x27bd21,this;}[_0x3afdca(0x1b9)](_0x1d6ae9){const _0x1cc39f=_0x3afdca;return this[_0x1cc39f(0x1d1)]+=_0x1cc39f(0x1ba)+_0x1d6ae9+_0x1cc39f(0x1ca),this;}[_0x3afdca(0x1e4)](){const _0x4d5616=_0x3afdca;return this[_0x4d5616(0x1d1)]+=_0x4d5616(0x1bd),this;}[_0x3afdca(0x1b2)](_0x36b7f2){const _0x5863c7=_0x3afdca;return this['line']+=_0x5863c7(0x1cf)+_0x36b7f2+'\x27',this;}[_0x3afdca(0x1e3)](_0x78020f,_0x3179ad,_0x479211){const _0x294519=_0x3afdca;return this[_0x294519(0x1d1)]+='\x20-exportArchive\x20-archivePath\x20'+_0x78020f+'\x20-exportPath\x20'+_0x3179ad+_0x294519(0x1c2)+_0x479211,this;}[_0x3afdca(0x1e0)](){const _0xf843ed=_0x3afdca;return this[_0xf843ed(0x1d1)]+='\x20clean',this;}}exports['XcodebuildCMD']=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0x1bfd23=_0x5bb2;(function(_0xa816f0,_0x112244){const _0x26706c=_0x5bb2,_0x15042f=_0xa816f0();while(!![]){try{const _0x5b94f9=parseInt(_0x26706c(0x1f1))/0x1*(-parseInt(_0x26706c(0x230))/0x2)+-parseInt(_0x26706c(0x23b))/0x3+-parseInt(_0x26706c(0x215))/0x4+parseInt(_0x26706c(0x258))/0x5+-parseInt(_0x26706c(0x21c))/0x6*(parseInt(_0x26706c(0x239))/0x7)+-parseInt(_0x26706c(0x22c))/0x8+parseInt(_0x26706c(0x1f8))/0x9;if(_0x5b94f9===_0x112244)break;else _0x15042f['push'](_0x15042f['shift']());}catch(_0x21590b){_0x15042f['push'](_0x15042f['shift']());}}}(_0x333b,0x580fb));function _0x333b(){const _0x593c3b=['pbxTargetByName','getMIME','__esModule','description','pbxGroupByName','updateProductName','BUILDTYPE','USE_MAIN_SCENE','3qswaHr','PBXGroup','image/','existsSync','updateBuildProperty','resizability','YOURTEAMID','10480446vpVfwH','modifySwift','PROJECT_BUILD_DIRECTORY','filename','value','SCOPE','writeAsync','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','writeSync','AppName','DEEPLINK','1280','height','false','ExportOptions.plist','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','protocol_handlers','buildConfigurationList','.minimal','defaultSize','images','join','SceneHeight','debugging','name','AppID','SceneWidth','icon','start_url','1906784iYgZkm','CURRENT_PROJECT_VERSION','utf-8','objects','hash','BACK_APPICON_DIRECTORY','push','95814GIxsFO','mainScene','updateTeamId','modify','teamId','parseSync','manifestSwiftTemplate','ImageHelper','manifestInfo','object','PWAProtocol(protocolValue:\x20\x22','buildSettings','updateDeeplink','length','default','writeFileSync','2289408fItTpp','display','test','true','69722qOFzVl','scope','buildType','loadJsonFromDisk','mkdirSync','version','updateVersion','icon.','release-testing','49Gwvthj','PROJECT_DIRECTORY','1036086WocDog','stringify','1.0','replace','bindManifestInfo','project','minimal-ui','pbxXCConfigurationList','xcode','protocol','<?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','log','Description','</string>','buildConfigurations','pbxXCBuildConfigurationSection','bindIcon','\x22),','DEVELOPMENT_TEAM','fixProjectFunction','SceneResizability','\x22,\x20url:\x20\x22','json','MIDDLE_APPICON_DIRECTORY','icon.png','../resource','./manifestSwiftTemplate','updateExportOptions','../resource/imageHelper','2604025BKvJdu','url','width','path','includes','<string>','Contents.json'];_0x333b=function(){return _0x593c3b;};return _0x333b();}Object['defineProperty'](exports,_0x1bfd23(0x1eb),{'value':!![]});function _0x5bb2(_0x4b6c37,_0x50c326){const _0x333b90=_0x333b();return _0x5bb2=function(_0x5bb2ae,_0x556681){_0x5bb2ae=_0x5bb2ae-0x1eb;let _0x52e711=_0x333b90[_0x5bb2ae];return _0x52e711;},_0x5bb2(_0x4b6c37,_0x50c326);}const fs=require('fs'),resource_1=require(_0x1bfd23(0x254)),path_1=require(_0x1bfd23(0x25b)),load_1=require('../resource/load'),imageHelper_1=require(_0x1bfd23(0x257)),manifestSwiftTemplate_1=require(_0x1bfd23(0x255)),xcode=require(_0x1bfd23(0x243)),exportOptionsXML=_0x1bfd23(0x207),infoPlistXML=_0x1bfd23(0x245);let useExportOptionsXML='';class XcodeProject{static async[_0x1bfd23(0x21f)](_0x4e6137,_0x265df1,_0x26178f=![]){const _0x4ab3c4=_0x1bfd23;let _0x3c9ddb=xcode[_0x4ab3c4(0x240)](_0x4e6137);this[_0x4ab3c4(0x24e)](_0x3c9ddb),_0x3c9ddb[_0x4ab3c4(0x221)]();let _0x5ed120=_0x265df1[_0x4ab3c4(0x232)];const _0x54e160=['release-testing','app-store-connect',_0x4ab3c4(0x20f),'enterprise'];useExportOptionsXML=exportOptionsXML['replace'](_0x4ab3c4(0x1ef),_0x54e160[_0x4ab3c4(0x25c)](_0x5ed120)?_0x5ed120:_0x4ab3c4(0x238));_0x265df1[_0x4ab3c4(0x220)]&&this[_0x4ab3c4(0x21e)](_0x3c9ddb,_0x265df1['teamId']);this[_0x4ab3c4(0x256)]();if(_0x265df1[_0x4ab3c4(0x213)])await this[_0x4ab3c4(0x24b)](_0x265df1[_0x4ab3c4(0x213)]);this[_0x4ab3c4(0x23f)](_0x3c9ddb,_0x265df1[_0x4ab3c4(0x224)][_0x4ab3c4(0x251)],_0x26178f);_0x265df1[_0x4ab3c4(0x235)]?this['updateVersion'](_0x3c9ddb,_0x265df1[_0x4ab3c4(0x235)]):this[_0x4ab3c4(0x236)](_0x3c9ddb,_0x4ab3c4(0x23d));try{fs[_0x4ab3c4(0x22b)](_0x4e6137,_0x3c9ddb[_0x4ab3c4(0x200)]());}catch(_0x23405f){console[_0x4ab3c4(0x246)](_0x23405f);}}static[_0x1bfd23(0x24e)](_0xdc306f){const _0x5863a3=_0x1bfd23;_0xdc306f[_0x5863a3(0x1ed)]=function(_0x34b723){const _0x2467ae=_0x5863a3;var _0x1f976f=this[_0x2467ae(0x219)][_0x2467ae(0x240)][_0x2467ae(0x218)][_0x2467ae(0x1f2)],_0x1a6b59,_0x44e1fd;for(_0x1a6b59 in _0x1f976f){if(!/_comment$/['test'](_0x1a6b59))continue;if(_0x1f976f[_0x1a6b59]==_0x34b723)return _0x44e1fd=_0x1a6b59['split'](/_comment$/)[0x0],_0x1f976f[_0x44e1fd];}return![];},_0xdc306f[_0x5863a3(0x1f5)]=function(_0x6a63e9,_0x2ddf67,_0x2a8bf1,_0x1f8307){const _0x3ff5df=_0x5863a3;let _0x5aa85b=[];const _0x1e1303=/_comment$/;if(_0x1f8307){const _0x520b55=this[_0x3ff5df(0x25f)](_0x1f8307),_0x53f36b=_0x520b55&&_0x520b55[_0x3ff5df(0x209)],_0x51d057=this[_0x3ff5df(0x242)]();for(const _0x395ecd in _0x51d057){if(!_0x1e1303[_0x3ff5df(0x22e)](_0x395ecd)&&_0x53f36b===_0x395ecd){const _0x1f1243=_0x51d057[_0x395ecd][_0x3ff5df(0x249)];for(const _0x4e2751 of _0x1f1243){_0x5aa85b[_0x3ff5df(0x21b)](_0x4e2751[_0x3ff5df(0x1fc)]);}break;}}}var _0x54a698=this[_0x3ff5df(0x24a)]();for(var _0x2fc6f5 in _0x54a698){if(!_0x1e1303['test'](_0x2fc6f5)){if(_0x1f8307&&!_0x5aa85b[_0x3ff5df(0x25c)](_0x2fc6f5))continue;var _0x575f9f=_0x54a698[_0x2fc6f5];(_0x2a8bf1&&_0x575f9f[_0x3ff5df(0x210)]===_0x2a8bf1||!_0x2a8bf1)&&_0x575f9f[_0x3ff5df(0x227)][_0x6a63e9]&&(_0x575f9f[_0x3ff5df(0x227)][_0x6a63e9]=_0x2ddf67);}}};}static async['bindIcon'](_0x51226d){const _0x5b2bfc=_0x1bfd23;if(_0x51226d){const _0x41281e=(0x0,path_1[_0x5b2bfc(0x20d)])(resource_1[_0x5b2bfc(0x23a)],resource_1[_0x5b2bfc(0x21a)]),_0x15cea4=(0x0,path_1[_0x5b2bfc(0x20d)])(_0x41281e,_0x5b2bfc(0x25e)),_0x440459=_0x5b2bfc(0x237)+_0x51226d[_0x5b2bfc(0x260)]()['replace'](_0x5b2bfc(0x1f3),''),_0x6913b9=(0x0,path_1[_0x5b2bfc(0x20d)])(_0x41281e,_0x440459);let _0xab4cf3=await(0x0,load_1['loadJsonFromDisk'])(_0x15cea4);_0xab4cf3[_0x5b2bfc(0x20c)][0x0][_0x5b2bfc(0x1fb)]=_0x440459,await _0x51226d[_0x5b2bfc(0x1fe)](_0x6913b9),await fs['writeFileSync'](_0x15cea4,JSON[_0x5b2bfc(0x23c)](_0xab4cf3));const _0x1dc5d4=(0x0,path_1[_0x5b2bfc(0x20d)])(resource_1[_0x5b2bfc(0x23a)],resource_1[_0x5b2bfc(0x252)]),_0x4d9753=(0x0,path_1[_0x5b2bfc(0x20d)])(_0x1dc5d4,_0x5b2bfc(0x25e)),_0x326dda=_0x5b2bfc(0x253),_0x341154=(0x0,path_1[_0x5b2bfc(0x20d)])(_0x1dc5d4,_0x326dda);let _0x2e868b=await(0x0,load_1[_0x5b2bfc(0x233)])(_0x4d9753),_0x3d1a32=imageHelper_1[_0x5b2bfc(0x223)]['createImg'](0x200);_0x2e868b['images'][0x0][_0x5b2bfc(0x1fb)]=_0x326dda,await _0x3d1a32[_0x5b2bfc(0x1fe)](_0x341154),await fs[_0x5b2bfc(0x22b)](_0x4d9753,JSON[_0x5b2bfc(0x23c)](_0x2e868b));}}static[_0x1bfd23(0x21e)](_0x5a160d,_0x5e306f){const _0x5051f4=_0x1bfd23;_0x5a160d['updateBuildProperty'](_0x5051f4(0x24d),_0x5e306f),useExportOptionsXML=useExportOptionsXML['replace'](_0x5051f4(0x1f7),_0x5e306f);}static[_0x1bfd23(0x256)](){const _0x2824da=_0x1bfd23;!fs[_0x2824da(0x1f4)](resource_1[_0x2824da(0x1fa)])&&fs[_0x2824da(0x234)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x2824da(0x22b)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x2824da(0x206)),useExportOptionsXML);}static[_0x1bfd23(0x23f)](_0x1611b6,_0x59cbb8,_0x5de33b=![]){const _0x2e627a=_0x1bfd23;var _0x1abcbe;_0x1611b6[_0x2e627a(0x1ee)](_0x59cbb8[_0x2e627a(0x210)]),_0x59cbb8['id']&&!_0x5de33b&&_0x1611b6[_0x2e627a(0x1f5)]('PRODUCT_BUNDLE_IDENTIFIER','\x22'+_0x59cbb8['id']+'\x22'),this[_0x2e627a(0x228)]((_0x1abcbe=_0x59cbb8['protocol_handlers'])!==null&&_0x1abcbe!==void 0x0?_0x1abcbe:[]),this[_0x2e627a(0x1f9)](_0x59cbb8);}static['updateVersion'](_0x14e406,_0xe2712c){const _0x149fb0=_0x1bfd23;_0x14e406[_0x149fb0(0x1f5)](_0x149fb0(0x216),_0xe2712c);}static[_0x1bfd23(0x228)](_0x5222d3){const _0x2b5a78=_0x1bfd23;let _0x4c49fd=(0x0,path_1[_0x2b5a78(0x20d)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/Info.plist'),_0x54b2f8='';for(let _0xb55867=0x0;_0xb55867<_0x5222d3[_0x2b5a78(0x229)];_0xb55867++){_0x54b2f8+=_0x2b5a78(0x25d)+_0x5222d3[_0xb55867][_0x2b5a78(0x244)]+_0x2b5a78(0x248);}const _0x57a1d9=infoPlistXML[_0x2b5a78(0x23e)](_0x2b5a78(0x202),_0x54b2f8);fs[_0x2b5a78(0x22b)](_0x4c49fd,_0x57a1d9);}static[_0x1bfd23(0x1f9)](_0x1f28a0){const _0x5bf532=_0x1bfd23,_0x11c5b4=(0x0,path_1[_0x5bf532(0x20d)])(resource_1['PROJECT_DIRECTORY'],'./web-spatial/libs/webView/manifest.swift');let _0x50f34f=manifestSwiftTemplate_1[_0x5bf532(0x222)];_0x50f34f=_0x50f34f['replace']('START_URL',_0x1f28a0[_0x5bf532(0x214)]),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x1fd),_0x1f28a0[_0x5bf532(0x231)]),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x201),_0x1f28a0['name']),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x247),_0x1f28a0[_0x5bf532(0x1ec)]),_0x50f34f=_0x50f34f['replace'](_0x5bf532(0x211),_0x1f28a0['id']),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x20a),_0x1f28a0[_0x5bf532(0x22d)]==_0x5bf532(0x241)?_0x5bf532(0x20a):'.'+_0x1f28a0[_0x5bf532(0x22d)]);if(_0x1f28a0[_0x5bf532(0x208)]){let _0x331077='';for(let _0x44bf41=0x0;_0x44bf41<_0x1f28a0[_0x5bf532(0x208)]['length'];_0x44bf41++){_0x331077+=_0x5bf532(0x226)+_0x1f28a0[_0x5bf532(0x208)][_0x44bf41][_0x5bf532(0x244)]+_0x5bf532(0x250)+_0x1f28a0['protocol_handlers'][_0x44bf41][_0x5bf532(0x259)]+_0x5bf532(0x24c);}_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x1ff),_0x331077);}typeof _0x1f28a0[_0x5bf532(0x21d)]===_0x5bf532(0x225)?(_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x212),_0x1f28a0['mainScene'][_0x5bf532(0x20b)][_0x5bf532(0x25a)]),_0x50f34f=_0x50f34f['replace'](_0x5bf532(0x20e),_0x1f28a0[_0x5bf532(0x21d)]['defaultSize'][_0x5bf532(0x204)]),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x24f),'\x22'+_0x1f28a0[_0x5bf532(0x21d)][_0x5bf532(0x1f6)]+'\x22'),_0x50f34f=_0x50f34f['replace'](_0x5bf532(0x1f0),_0x5bf532(0x22f))):(_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x212),_0x5bf532(0x203)),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x20e),_0x5bf532(0x203)),_0x50f34f=_0x50f34f[_0x5bf532(0x23e)](_0x5bf532(0x24f),'\x22automatic\x22'),_0x50f34f=_0x50f34f['replace'](_0x5bf532(0x1f0),_0x5bf532(0x205))),fs[_0x5bf532(0x22b)](_0x11c5b4,_0x50f34f,_0x5bf532(0x217));}}exports[_0x1bfd23(0x22a)]=XcodeProject;
1
+ 'use strict';const _0x2ba80f=_0x57d6;(function(_0x3b2b96,_0x3a16fd){const _0x3d85f8=_0x57d6,_0xf5a9f3=_0x3b2b96();while(!![]){try{const _0x7b9245=parseInt(_0x3d85f8(0x1cc))/0x1+-parseInt(_0x3d85f8(0x1af))/0x2*(parseInt(_0x3d85f8(0x183))/0x3)+-parseInt(_0x3d85f8(0x179))/0x4*(-parseInt(_0x3d85f8(0x1d9))/0x5)+-parseInt(_0x3d85f8(0x178))/0x6+parseInt(_0x3d85f8(0x18c))/0x7+-parseInt(_0x3d85f8(0x1d2))/0x8+parseInt(_0x3d85f8(0x1c7))/0x9;if(_0x7b9245===_0x3a16fd)break;else _0xf5a9f3['push'](_0xf5a9f3['shift']());}catch(_0x14811d){_0xf5a9f3['push'](_0xf5a9f3['shift']());}}}(_0x3861,0xb0f34));function _0x3861(){const _0x4e7919=['name','169015jkArTU','1280','modifySwift','../resource/load','path','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','10150792vMmIrV','mkdirSync','images','PBXGroup','</string>','manifestSwiftTemplate','pbxXCConfigurationList','978130xZvVkz','stringify','value','<?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','writeFileSync','parseSync','buildConfigurations','start_url','START_URL','join','test','updateTeamId','icon.','7263192UCeLOi','20keYxFL','Contents.json','getMIME','mainScene','ImageHelper','PRODUCT_BUNDLE_IDENTIFIER','./manifestSwiftTemplate','updateDeeplink','minimal-ui','resizability','3UvSOtP','version','hash','SceneResizability','project','bindIcon','Description','existsSync','image/','3427907axijEt','object','../resource','<?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>','SCOPE','url','icon.png','updateExportOptions','pbxXCBuildConfigurationSection','log','fixProjectFunction','1.0','./web-spatial/libs/webView/manifest.swift','modify','PROJECT_DIRECTORY','<string>','AppID','display','xcode','SceneWidth','protocol_handlers','teamId','ExportOptions.plist','defineProperty','pbxGroupByName','USE_MAIN_SCENE','release-testing','json','buildSettings','PWAProtocol(protocolValue:\x20\x22','replace','includes','debugging','BACK_APPICON_DIRECTORY','\x22automatic\x22','394274fWlSms','DEEPLINK','\x22),','loadJsonFromDisk','buildType','PROJECT_BUILD_DIRECTORY','protocol','updateVersion','.minimal','manifestInfo','CURRENT_PROJECT_VERSION','updateBuildProperty','bindManifestInfo','AppName','writeAsync','push','split','BUILDTYPE','false','filename','\x22,\x20url:\x20\x22','width','icon','objects','15880140IMaBuN','SceneHeight','description','DEVELOPMENT_TEAM'];_0x3861=function(){return _0x4e7919;};return _0x3861();}function _0x57d6(_0x3321cf,_0x44d6ea){const _0x3861e2=_0x3861();return _0x57d6=function(_0x57d6c1,_0x265b9f){_0x57d6c1=_0x57d6c1-0x16d;let _0x1262db=_0x3861e2[_0x57d6c1];return _0x1262db;},_0x57d6(_0x3321cf,_0x44d6ea);}Object[_0x2ba80f(0x1a3)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0x2ba80f(0x18e)),path_1=require(_0x2ba80f(0x1d0)),load_1=require(_0x2ba80f(0x1cf)),imageHelper_1=require('../resource/imageHelper'),manifestSwiftTemplate_1=require(_0x2ba80f(0x17f)),xcode=require(_0x2ba80f(0x19e)),exportOptionsXML=_0x2ba80f(0x18f),infoPlistXML=_0x2ba80f(0x16e);let useExportOptionsXML='';class XcodeProject{static async[_0x2ba80f(0x199)](_0x303ffa,_0x29bfd4,_0x132705=![]){const _0x4b189e=_0x2ba80f;let _0x4a5cb9=xcode['project'](_0x303ffa);this[_0x4b189e(0x196)](_0x4a5cb9),_0x4a5cb9[_0x4b189e(0x170)]();let _0x1eadbd=_0x29bfd4[_0x4b189e(0x1b3)];const _0x359318=[_0x4b189e(0x1a6),'app-store-connect',_0x4b189e(0x1ac),'enterprise'];useExportOptionsXML=exportOptionsXML['replace'](_0x4b189e(0x1c0),_0x359318['includes'](_0x1eadbd)?_0x1eadbd:'release-testing');_0x29bfd4[_0x4b189e(0x1a1)]&&this[_0x4b189e(0x176)](_0x4a5cb9,_0x29bfd4[_0x4b189e(0x1a1)]);this[_0x4b189e(0x193)]();if(_0x29bfd4[_0x4b189e(0x1c5)])await this[_0x4b189e(0x188)](_0x29bfd4[_0x4b189e(0x1c5)]);this[_0x4b189e(0x1bb)](_0x4a5cb9,_0x29bfd4[_0x4b189e(0x1b8)][_0x4b189e(0x1a7)],_0x132705);_0x29bfd4[_0x4b189e(0x184)]?this[_0x4b189e(0x1b6)](_0x4a5cb9,_0x29bfd4['version']):this[_0x4b189e(0x1b6)](_0x4a5cb9,_0x4b189e(0x197));try{fs[_0x4b189e(0x16f)](_0x303ffa,_0x4a5cb9['writeSync']());}catch(_0x1a7cd8){console[_0x4b189e(0x195)](_0x1a7cd8);}}static[_0x2ba80f(0x196)](_0x6bf598){const _0x2c5561=_0x2ba80f;_0x6bf598[_0x2c5561(0x1a4)]=function(_0x65af0e){const _0x3382ac=_0x2c5561;var _0x2986c1=this[_0x3382ac(0x185)][_0x3382ac(0x187)][_0x3382ac(0x1c6)][_0x3382ac(0x1d5)],_0x26c4d6,_0x5f250d;for(_0x26c4d6 in _0x2986c1){if(!/_comment$/[_0x3382ac(0x175)](_0x26c4d6))continue;if(_0x2986c1[_0x26c4d6]==_0x65af0e)return _0x5f250d=_0x26c4d6[_0x3382ac(0x1bf)](/_comment$/)[0x0],_0x2986c1[_0x5f250d];}return![];},_0x6bf598[_0x2c5561(0x1ba)]=function(_0x3bd1b6,_0x137402,_0x281a64,_0x469a1b){const _0x4dcbf1=_0x2c5561;let _0x36d564=[];const _0x5ad26a=/_comment$/;if(_0x469a1b){const _0x3489c8=this['pbxTargetByName'](_0x469a1b),_0x287deb=_0x3489c8&&_0x3489c8['buildConfigurationList'],_0x1340ed=this[_0x4dcbf1(0x1d8)]();for(const _0x4aedf2 in _0x1340ed){if(!_0x5ad26a[_0x4dcbf1(0x175)](_0x4aedf2)&&_0x287deb===_0x4aedf2){const _0xf80cbd=_0x1340ed[_0x4aedf2][_0x4dcbf1(0x171)];for(const _0xd8c2bb of _0xf80cbd){_0x36d564[_0x4dcbf1(0x1be)](_0xd8c2bb[_0x4dcbf1(0x16d)]);}break;}}}var _0x53a602=this[_0x4dcbf1(0x194)]();for(var _0x313ce5 in _0x53a602){if(!_0x5ad26a[_0x4dcbf1(0x175)](_0x313ce5)){if(_0x469a1b&&!_0x36d564[_0x4dcbf1(0x1ab)](_0x313ce5))continue;var _0x18a7c0=_0x53a602[_0x313ce5];(_0x281a64&&_0x18a7c0[_0x4dcbf1(0x1cb)]===_0x281a64||!_0x281a64)&&_0x18a7c0[_0x4dcbf1(0x1a8)][_0x3bd1b6]&&(_0x18a7c0[_0x4dcbf1(0x1a8)][_0x3bd1b6]=_0x137402);}}};}static async[_0x2ba80f(0x188)](_0x3698f3){const _0x122354=_0x2ba80f;if(_0x3698f3){const _0x4afb4c=(0x0,path_1[_0x122354(0x174)])(resource_1[_0x122354(0x19a)],resource_1[_0x122354(0x1ad)]),_0xaae7bd=(0x0,path_1['join'])(_0x4afb4c,_0x122354(0x17a)),_0x2ea9f7=_0x122354(0x177)+_0x3698f3[_0x122354(0x17b)]()[_0x122354(0x1aa)](_0x122354(0x18b),''),_0x2b6216=(0x0,path_1[_0x122354(0x174)])(_0x4afb4c,_0x2ea9f7);let _0x38b5ae=await(0x0,load_1['loadJsonFromDisk'])(_0xaae7bd);_0x38b5ae[_0x122354(0x1d4)][0x0][_0x122354(0x1c2)]=_0x2ea9f7,await _0x3698f3[_0x122354(0x1bd)](_0x2b6216),await fs['writeFileSync'](_0xaae7bd,JSON[_0x122354(0x1da)](_0x38b5ae));const _0x5295f9=(0x0,path_1[_0x122354(0x174)])(resource_1[_0x122354(0x19a)],resource_1['MIDDLE_APPICON_DIRECTORY']),_0x4db3c4=(0x0,path_1[_0x122354(0x174)])(_0x5295f9,'Contents.json'),_0x127b0c=_0x122354(0x192),_0x3290f1=(0x0,path_1[_0x122354(0x174)])(_0x5295f9,_0x127b0c);let _0x5a5e50=await(0x0,load_1[_0x122354(0x1b2)])(_0x4db3c4),_0x319a45=imageHelper_1[_0x122354(0x17d)]['createImg'](0x200);_0x5a5e50[_0x122354(0x1d4)][0x0][_0x122354(0x1c2)]=_0x127b0c,await _0x319a45[_0x122354(0x1bd)](_0x3290f1),await fs[_0x122354(0x16f)](_0x4db3c4,JSON[_0x122354(0x1da)](_0x5a5e50));}}static['updateTeamId'](_0x956cc8,_0xa558a7){const _0xef2033=_0x2ba80f;_0x956cc8['updateBuildProperty'](_0xef2033(0x1ca),_0xa558a7),useExportOptionsXML=useExportOptionsXML[_0xef2033(0x1aa)]('YOURTEAMID',_0xa558a7);}static[_0x2ba80f(0x193)](){const _0x54c0e6=_0x2ba80f;!fs[_0x54c0e6(0x18a)](resource_1[_0x54c0e6(0x1b4)])&&fs[_0x54c0e6(0x1d3)](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]}),fs[_0x54c0e6(0x16f)]((0x0,path_1[_0x54c0e6(0x174)])(resource_1[_0x54c0e6(0x1b4)],_0x54c0e6(0x1a2)),useExportOptionsXML);}static[_0x2ba80f(0x1bb)](_0x1cb7db,_0x3c7c7f,_0x402a75=![]){const _0x3d6833=_0x2ba80f;var _0x150e96;_0x1cb7db['updateProductName'](_0x3c7c7f[_0x3d6833(0x1cb)]),_0x3c7c7f['id']&&!_0x402a75&&_0x1cb7db[_0x3d6833(0x1ba)](_0x3d6833(0x17e),'\x22'+_0x3c7c7f['id']+'\x22'),this[_0x3d6833(0x180)]((_0x150e96=_0x3c7c7f['protocol_handlers'])!==null&&_0x150e96!==void 0x0?_0x150e96:[]),this[_0x3d6833(0x1ce)](_0x3c7c7f);}static['updateVersion'](_0x243cdf,_0x27bc77){const _0xe3afe8=_0x2ba80f;_0x243cdf['updateBuildProperty'](_0xe3afe8(0x1b9),_0x27bc77);}static['updateDeeplink'](_0x598477){const _0x4859ad=_0x2ba80f;let _0x3537e6=(0x0,path_1[_0x4859ad(0x174)])(resource_1[_0x4859ad(0x19a)],'./web-spatial/Info.plist'),_0x35569e='';for(let _0x14770a=0x0;_0x14770a<_0x598477['length'];_0x14770a++){_0x35569e+=_0x4859ad(0x19b)+_0x598477[_0x14770a]['protocol']+_0x4859ad(0x1d6);}const _0x491147=infoPlistXML[_0x4859ad(0x1aa)](_0x4859ad(0x1b0),_0x35569e);fs['writeFileSync'](_0x3537e6,_0x491147);}static['modifySwift'](_0x46ff73){const _0x10f881=_0x2ba80f,_0x431aa7=(0x0,path_1[_0x10f881(0x174)])(resource_1[_0x10f881(0x19a)],_0x10f881(0x198));let _0x4341d8=manifestSwiftTemplate_1[_0x10f881(0x1d7)];_0x4341d8=_0x4341d8['replace'](_0x10f881(0x173),_0x46ff73[_0x10f881(0x172)]),_0x4341d8=_0x4341d8['replace'](_0x10f881(0x190),_0x46ff73['scope']),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x1bc),_0x46ff73['name']),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x189),_0x46ff73[_0x10f881(0x1c9)]),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x19c),_0x46ff73['id']),_0x4341d8=_0x4341d8['replace'](_0x10f881(0x1b7),_0x46ff73[_0x10f881(0x19d)]==_0x10f881(0x181)?_0x10f881(0x1b7):'.'+_0x46ff73[_0x10f881(0x19d)]);if(_0x46ff73[_0x10f881(0x1a0)]){let _0x414945='';for(let _0x499dad=0x0;_0x499dad<_0x46ff73['protocol_handlers']['length'];_0x499dad++){_0x414945+=_0x10f881(0x1a9)+_0x46ff73['protocol_handlers'][_0x499dad][_0x10f881(0x1b5)]+_0x10f881(0x1c3)+_0x46ff73[_0x10f881(0x1a0)][_0x499dad][_0x10f881(0x191)]+_0x10f881(0x1b1);}_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x1d1),_0x414945);}typeof _0x46ff73[_0x10f881(0x17c)]===_0x10f881(0x18d)?(_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x19f),_0x46ff73[_0x10f881(0x17c)]['defaultSize'][_0x10f881(0x1c4)]),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x1c8),_0x46ff73['mainScene']['defaultSize']['height']),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x186),'\x22'+_0x46ff73[_0x10f881(0x17c)][_0x10f881(0x182)]+'\x22'),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x1a5),'true')):(_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x19f),_0x10f881(0x1cd)),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x1c8),_0x10f881(0x1cd)),_0x4341d8=_0x4341d8['replace']('SceneResizability',_0x10f881(0x1ae)),_0x4341d8=_0x4341d8[_0x10f881(0x1aa)](_0x10f881(0x1a5),_0x10f881(0x1c1))),fs['writeFileSync'](_0x431aa7,_0x4341d8,'utf-8');}}exports['default']=XcodeProject;
@@ -3,5 +3,11 @@ export default class Xcrun {
3
3
  static uploadPackage(path: string, key1: string, key2: string, appleId: string, useAccount: boolean): Promise<string>;
4
4
  static uploadApp(path: string, key1: string, key2: string, useAccount: boolean): Promise<string>;
5
5
  static runWithSimulator(appInfo: any): Promise<void>;
6
+ static launchWithSimulator(bundleId: string): void;
7
+ static shutdownSimulator(): Promise<void>;
8
+ private static launchSimulator;
9
+ private static installApp;
10
+ private static launchApp;
6
11
  private static parseListDevices;
12
+ private static findSimulator;
7
13
  }
@@ -1 +1 @@
1
- 'use strict';const _0x451927=_0x3aea;(function(_0x356f2b,_0x2113d5){const _0x1f252f=_0x3aea,_0x49a19f=_0x356f2b();while(!![]){try{const _0x1036e3=parseInt(_0x1f252f(0x10b))/0x1*(parseInt(_0x1f252f(0x109))/0x2)+-parseInt(_0x1f252f(0x114))/0x3+parseInt(_0x1f252f(0x112))/0x4*(parseInt(_0x1f252f(0xea))/0x5)+parseInt(_0x1f252f(0x101))/0x6*(-parseInt(_0x1f252f(0x11a))/0x7)+-parseInt(_0x1f252f(0x128))/0x8+-parseInt(_0x1f252f(0x108))/0x9*(parseInt(_0x1f252f(0xef))/0xa)+parseInt(_0x1f252f(0xf7))/0xb*(parseInt(_0x1f252f(0xeb))/0xc);if(_0x1036e3===_0x2113d5)break;else _0x49a19f['push'](_0x49a19f['shift']());}catch(_0x4d01b0){_0x49a19f['push'](_0x49a19f['shift']());}}}(_0x5059,0xace6a));Object[_0x451927(0xe8)](exports,_0x451927(0xdb),{'value':!![]});function _0x3aea(_0x1e9f0a,_0x194c28){const _0x505930=_0x5059();return _0x3aea=function(_0x3aea62,_0xa2b8c9){_0x3aea62=_0x3aea62-0xd4;let _0x238734=_0x505930[_0x3aea62];return _0x238734;},_0x3aea(_0x1e9f0a,_0x194c28);}const child_process_1=require(_0x451927(0x107)),resource_1=require(_0x451927(0xf8)),path_1=require('path'),fs=require('fs'),xcodebuild_1=require(_0x451927(0x115)),file_1=require(_0x451927(0xda));function _0x5059(){const _0xc78181=['.app','\x20--apple-id\x20','\x20launch\x20\x22','4562132ZtljZe','--\x20','3066438foMXxN','./xcodebuild','xcrun','uploadApp','\x20install\x20\x22','boot','421757tzkRvg','altool','split','join','existsSync','length','name','installing\x20app','\x20--apiKey\x20','state','launch','deviceId','log','\x22\x20\x22','4986376QZopYx','\x20list\x20devices\x20\x22','find\x20simulator:\x20','\x20altool','install\x20success','clearDir','parseListDevices','../resource/file','__esModule','authApi','validate','Booted','mkdirSync','start\x20building','visionos','PROJECT_DIRECTORY','install','platform','default','shutdown','\x20--upload-app\x20-f\x20','defineProperty','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','5eDNNsw','516USmubV','line','toString','\x20--apiIssuer\x20','13398260knhOyg','simctl','\x20boot\x20\x22','no\x20visionOS\x20simulator\x20found','authAccount','--\x20visionOS','version','Build/Products/Debug-xrsimulator/','593780TMfsou','../resource','trim','\x20simctl','Apple\x20Vision\x20Pro','/web-spatial.xcodeproj','uploadPackage','\x20-t\x20','appleId','listDevices','6nLcVQM','project','includes','launch\x20app','PROJECT_BUILD_DIRECTORY','\x20-p\x20','child_process','9yptEvR','584098SmvHav','\x20--bundle-version\x20','1rxxoUh','\x20list','build\x20success','execSync'];_0x5059=function(){return _0xc78181;};return _0x5059();}class Xcrun{static async[_0x451927(0xdd)](_0x20df97,_0x3c248f,_0x95b980,_0x554715){const _0x23ce98=_0x451927,_0x4bd512=new XcrunCMD()['altool']();_0x4bd512['validate'](_0x20df97);_0x554715?_0x4bd512[_0x23ce98(0xf3)](_0x3c248f,_0x95b980):_0x4bd512[_0x23ce98(0xdc)](_0x3c248f,_0x95b980);_0x4bd512[_0x23ce98(0xe4)]('visionos');const _0x115ee0=(0x0,child_process_1[_0x23ce98(0x10e)])(_0x4bd512[_0x23ce98(0xec)]);return _0x115ee0[_0x23ce98(0xed)]();}static async[_0x451927(0xfd)](_0x387a7a,_0x2624c7,_0x4b4bf6,_0x56f666,_0x2d89c5){const _0x1af425=_0x451927,_0x36fd80=new XcrunCMD()[_0x1af425(0x11b)]();_0x36fd80['uploadPackage'](_0x387a7a);_0x2d89c5?_0x36fd80[_0x1af425(0xf3)](_0x2624c7,_0x4b4bf6):_0x36fd80[_0x1af425(0xdc)](_0x2624c7,_0x4b4bf6);_0x36fd80[_0x1af425(0xe4)](_0x1af425(0xe1)),_0x36fd80[_0x1af425(0xff)](_0x56f666);const _0x4b13e4=(0x0,child_process_1[_0x1af425(0x10e)])(_0x36fd80[_0x1af425(0xec)]);return _0x4b13e4[_0x1af425(0xed)]();}static async[_0x451927(0x117)](_0x5a8cb5,_0x53c06c,_0x4d53a6,_0x39abc9){const _0x1a8063=_0x451927,_0x3ed4e0=new XcrunCMD()['altool']();_0x3ed4e0['uploadApp'](_0x5a8cb5);_0x39abc9?_0x3ed4e0[_0x1a8063(0xf3)](_0x53c06c,_0x4d53a6):_0x3ed4e0[_0x1a8063(0xdc)](_0x53c06c,_0x4d53a6);_0x3ed4e0[_0x1a8063(0xe4)](_0x1a8063(0xe1));const _0x52aff5=(0x0,child_process_1[_0x1a8063(0x10e)])(_0x3ed4e0['line']);return _0x52aff5[_0x1a8063(0xed)]();}static async['runWithSimulator'](_0x5208c4){const _0x17e901=_0x451927;let _0x20652f=new XcrunCMD()[_0x17e901(0xf0)]();_0x20652f[_0x17e901(0x100)](_0x17e901(0xfb));const _0x5486e8=(0x0,child_process_1[_0x17e901(0x10e)])(_0x20652f[_0x17e901(0xec)]),_0x1ac8d4=this[_0x17e901(0xd9)](_0x5486e8['toString']());if(_0x1ac8d4[_0x17e901(0x11f)]===0x0)throw new Error(_0x17e901(0xf2));let _0x4d1352=_0x1ac8d4[0x0];for(let _0x5e7b7d=0x0;_0x5e7b7d<_0x1ac8d4[_0x17e901(0x11f)];_0x5e7b7d++){if(_0x1ac8d4[_0x5e7b7d][_0x17e901(0x123)]===_0x17e901(0xde)){_0x4d1352=_0x1ac8d4[_0x5e7b7d];break;}}console[_0x17e901(0x126)](_0x17e901(0xd5)+_0x4d1352['deviceId']);const _0x15d9d4=resource_1[_0x17e901(0xe2)]+_0x17e901(0xfc),_0x394778=resource_1['PROJECT_BUILD_DIRECTORY']+'/test';!fs[_0x17e901(0x11e)](resource_1[_0x17e901(0x105)])&&fs['mkdirSync'](resource_1[_0x17e901(0x105)],{'recursive':!![]});!fs[_0x17e901(0x11e)](_0x394778)&&fs[_0x17e901(0xdf)](_0x394778,{'recursive':!![]});(0x0,file_1[_0x17e901(0xd8)])(_0x394778);const _0x151ea4=new xcodebuild_1['XcodebuildCMD']()[_0x17e901(0x102)](_0x15d9d4)[_0x17e901(0xec)]+(_0x17e901(0xe9)+_0x4d1352['deviceId']+'\x27\x20-derivedDataPath\x20'+_0x394778);console[_0x17e901(0x126)](_0x17e901(0xe0)),(0x0,child_process_1[_0x17e901(0x10e)])(_0x151ea4),console[_0x17e901(0x126)](_0x17e901(0x10d));_0x4d1352['state']==='Shutdown'&&(_0x20652f=new XcrunCMD()[_0x17e901(0xf0)](),_0x20652f['boot'](_0x4d1352['deviceId']),(0x0,child_process_1[_0x17e901(0x10e)])(_0x20652f[_0x17e901(0xec)]));(0x0,child_process_1['execSync'])('open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/'),console['log'](_0x17e901(0x121));const _0x47d870=(0x0,path_1[_0x17e901(0x11d)])(_0x394778,_0x17e901(0xf6)+_0x5208c4[_0x17e901(0x120)]+_0x17e901(0x10f));_0x20652f=new XcrunCMD()['simctl'](),_0x20652f[_0x17e901(0xe3)](_0x4d1352[_0x17e901(0x125)],_0x47d870),(0x0,child_process_1[_0x17e901(0x10e)])(_0x20652f[_0x17e901(0xec)]),console[_0x17e901(0x126)](_0x17e901(0xd7)),console[_0x17e901(0x126)](_0x17e901(0x104)),_0x20652f=new XcrunCMD()['simctl'](),_0x20652f[_0x17e901(0x124)](_0x4d1352[_0x17e901(0x125)],_0x5208c4['id']),(0x0,child_process_1['execSync'])(_0x20652f[_0x17e901(0xec)]);}static[_0x451927(0xd9)](_0xdd687){const _0x69ee8c=_0x451927;let _0x2934c3=_0xdd687[_0x69ee8c(0x11c)]('\x0a'),_0x3bf9de=[],_0x13ce2b=-0x1;for(let _0x231f86=0x0;_0x231f86<_0x2934c3[_0x69ee8c(0x11f)];_0x231f86++){if(_0x2934c3[_0x231f86][_0x69ee8c(0x103)](_0x69ee8c(0xf4)))_0x13ce2b=_0x231f86;else{if(_0x13ce2b>0x0){if(_0x2934c3[_0x231f86][_0x69ee8c(0x103)](_0x69ee8c(0x113)))break;if(_0x2934c3[_0x231f86][_0x69ee8c(0x11f)]>0x0){const _0x35b739=_0x2934c3[_0x231f86]['split']('('),_0x5eb2a4={'name':_0x35b739[0x0][_0x69ee8c(0xf9)](),'deviceId':_0x35b739[0x1]['split'](')')[0x0]['trim'](),'state':_0x35b739[0x2][_0x69ee8c(0x11c)](')')[0x0][_0x69ee8c(0xf9)]()};_0x3bf9de['push'](_0x5eb2a4);}}}}return _0x3bf9de;}}exports[_0x451927(0xe5)]=Xcrun;class XcrunCMD{constructor(){const _0x4c670a=_0x451927;this['line']=_0x4c670a(0x116);}['altool'](){const _0x348f94=_0x451927;return this[_0x348f94(0xec)]+=_0x348f94(0xd6),this;}[_0x451927(0xf0)](){const _0x46df37=_0x451927;return this[_0x46df37(0xec)]+=_0x46df37(0xfa),this;}['list'](){const _0xebed23=_0x451927;return this[_0xebed23(0xec)]+=_0xebed23(0x10c),this;}[_0x451927(0x100)](_0x5aa3c1){const _0x12aa2f=_0x451927;return this[_0x12aa2f(0xec)]+=_0x12aa2f(0xd4)+_0x5aa3c1+'\x22',this;}['validate'](_0x481aea){const _0x2b3d55=_0x451927;return this[_0x2b3d55(0xec)]+='\x20--validate-app\x20-f\x20'+_0x481aea,this;}[_0x451927(0x117)](_0x3b6498){const _0x1c56bf=_0x451927;return this['line']+=_0x1c56bf(0xe7)+_0x3b6498,this;}[_0x451927(0xfd)](_0xc8e5f9){const _0x16a680=_0x451927;return this[_0x16a680(0xec)]+='\x20--upload-package\x20'+_0xc8e5f9,this;}[_0x451927(0xf3)](_0x38101d,_0x3e4138){const _0x32b801=_0x451927;return this['line']+='\x20-u\x20'+_0x38101d+_0x32b801(0x106)+_0x3e4138,this;}[_0x451927(0xdc)](_0x2cf26a,_0x2b9107){const _0x5d581e=_0x451927;return this[_0x5d581e(0xec)]+=_0x5d581e(0x122)+_0x2cf26a+_0x5d581e(0xee)+_0x2b9107,this;}[_0x451927(0xff)](_0x121e6d){const _0x3c2b84=_0x451927;return this[_0x3c2b84(0xec)]+=_0x3c2b84(0x110)+_0x121e6d,this;}[_0x451927(0xe4)](_0x33d6ed){const _0x41abb4=_0x451927;return this['line']+=_0x41abb4(0xfe)+_0x33d6ed,this;}[_0x451927(0xf5)](_0x53da91){const _0x10e38e=_0x451927;return this[_0x10e38e(0xec)]+=_0x10e38e(0x10a)+_0x53da91,this;}['verbose'](){const _0x4852b0=_0x451927;return this[_0x4852b0(0xec)]+='\x20--verbose',this;}[_0x451927(0xe6)](){const _0x56e506=_0x451927;return this[_0x56e506(0xec)]+='\x20shutdown\x20booted',this;}[_0x451927(0x119)](_0x4f11b6){const _0x273c7c=_0x451927;return this['line']+=_0x273c7c(0xf1)+_0x4f11b6+'\x22',this;}[_0x451927(0xe3)](_0x2533b4,_0x271125){const _0x190c48=_0x451927;return this[_0x190c48(0xec)]+=_0x190c48(0x118)+_0x2533b4+_0x190c48(0x127)+_0x271125+'\x22',this;}[_0x451927(0x124)](_0x3f429e,_0x205e72){const _0x11ef97=_0x451927;return this['line']+=_0x11ef97(0x111)+_0x3f429e+_0x11ef97(0x127)+_0x205e72+'\x22',this;}}
1
+ 'use strict';const _0x43ad7c=_0x3e45;(function(_0x5f1b2a,_0x333f4b){const _0x4b5a6c=_0x3e45,_0x41499d=_0x5f1b2a();while(!![]){try{const _0x55ae32=parseInt(_0x4b5a6c(0x150))/0x1*(parseInt(_0x4b5a6c(0x160))/0x2)+parseInt(_0x4b5a6c(0x180))/0x3*(parseInt(_0x4b5a6c(0x175))/0x4)+parseInt(_0x4b5a6c(0x196))/0x5+-parseInt(_0x4b5a6c(0x171))/0x6+-parseInt(_0x4b5a6c(0x187))/0x7+parseInt(_0x4b5a6c(0x15f))/0x8*(parseInt(_0x4b5a6c(0x166))/0x9)+-parseInt(_0x4b5a6c(0x17f))/0xa;if(_0x55ae32===_0x333f4b)break;else _0x41499d['push'](_0x41499d['shift']());}catch(_0x17deda){_0x41499d['push'](_0x41499d['shift']());}}}(_0x40f4,0x42d94));Object[_0x43ad7c(0x18a)](exports,_0x43ad7c(0x169),{'value':!![]});function _0x40f4(){const _0x34685c=['log','platform','7430790QtmUWN','21cMytdh','../resource','\x20install\x20\x22','shutdown','path','\x20list','launch','2965025lTbRwM','line','length','defineProperty','XcodebuildCMD','\x20--apple-id\x20','\x20--validate-app\x20-f\x20','listDevices','\x20-p\x20','\x20-t\x20','altool','start\x20building','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','verbose','xcrun','1743135ZUHRIp','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','\x20-u\x20','\x22\x20\x22','visionos','clearDir','\x20--apiIssuer\x20','no\x20visionOS\x20simulator\x20found','toString','/test','Apple\x20Vision\x20Pro','../resource/file','uploadPackage','\x20altool','join','push','simctl','PROJECT_DIRECTORY','execSync','PROJECT_BUILD_DIRECTORY','3OUvjCo','findSimulator','parseListDevices','\x20--upload-package\x20','\x20list\x20devices\x20\x22','launchWithSimulator','uploadApp','list','install','build\x20success','includes','boot','name','deviceId','launchApp','846992jCfYTt','228602mcMdxA','\x20launch\x20\x22','runWithSimulator','Booted','mkdirSync','validate','45GJoPpP','state','shutdownSimulator','__esModule','split','launch\x20app','authAccount','child_process','launchSimulator','--\x20','Shutdown','275160xxOanL','\x27\x20-derivedDataPath\x20','existsSync','version','151672SMcxjs','\x20shutdown\x20\x22','installApp','install\x20success','trim','default','authApi','find\x20simulator:\x20'];_0x40f4=function(){return _0x34685c;};return _0x40f4();}const child_process_1=require(_0x43ad7c(0x16d)),resource_1=require(_0x43ad7c(0x181)),path_1=require(_0x43ad7c(0x184)),fs=require('fs'),xcodebuild_1=require('./xcodebuild'),file_1=require(_0x43ad7c(0x1a1));function _0x3e45(_0x2234bd,_0x25f888){const _0x40f4ed=_0x40f4();return _0x3e45=function(_0x3e456c,_0x45c7c){_0x3e456c=_0x3e456c-0x14c;let _0x19a04c=_0x40f4ed[_0x3e456c];return _0x19a04c;},_0x3e45(_0x2234bd,_0x25f888);}class Xcrun{static async['validate'](_0x555ac4,_0x2fd87d,_0x3570fe,_0x3ba2ea){const _0x4f4e69=_0x43ad7c,_0x57828e=new XcrunCMD()['altool']();_0x57828e[_0x4f4e69(0x165)](_0x555ac4);_0x3ba2ea?_0x57828e[_0x4f4e69(0x16c)](_0x2fd87d,_0x3570fe):_0x57828e['authApi'](_0x2fd87d,_0x3570fe);_0x57828e['platform'](_0x4f4e69(0x19a));const _0x126b10=(0x0,child_process_1['execSync'])(_0x57828e[_0x4f4e69(0x188)]);return _0x126b10[_0x4f4e69(0x19e)]();}static async[_0x43ad7c(0x1a2)](_0x4e2792,_0x214094,_0x21dc61,_0x56354b,_0x25d370){const _0x1c45ce=_0x43ad7c,_0x46dd73=new XcrunCMD()['altool']();_0x46dd73['uploadPackage'](_0x4e2792);_0x25d370?_0x46dd73[_0x1c45ce(0x16c)](_0x214094,_0x21dc61):_0x46dd73[_0x1c45ce(0x17b)](_0x214094,_0x21dc61);_0x46dd73['platform']('visionos'),_0x46dd73['appleId'](_0x56354b);const _0x1c9a6d=(0x0,child_process_1[_0x1c45ce(0x14e)])(_0x46dd73[_0x1c45ce(0x188)]);return _0x1c9a6d[_0x1c45ce(0x19e)]();}static async[_0x43ad7c(0x156)](_0x1f5a30,_0x33a198,_0x148f47,_0x3bd954){const _0x152efb=_0x43ad7c,_0x148327=new XcrunCMD()[_0x152efb(0x191)]();_0x148327[_0x152efb(0x156)](_0x1f5a30);_0x3bd954?_0x148327[_0x152efb(0x16c)](_0x33a198,_0x148f47):_0x148327[_0x152efb(0x17b)](_0x33a198,_0x148f47);_0x148327[_0x152efb(0x17e)](_0x152efb(0x19a));const _0x4672c9=(0x0,child_process_1[_0x152efb(0x14e)])(_0x148327[_0x152efb(0x188)]);return _0x4672c9[_0x152efb(0x19e)]();}static async[_0x43ad7c(0x162)](_0x586f5d){const _0x1f942a=_0x43ad7c;let _0x363c74=this[_0x1f942a(0x151)]();console[_0x1f942a(0x17d)](_0x1f942a(0x17c)+_0x363c74[_0x1f942a(0x15d)]);const _0x1dbfe8=resource_1[_0x1f942a(0x14d)]+'/web-spatial.xcodeproj',_0x4f949e=resource_1[_0x1f942a(0x14f)]+_0x1f942a(0x19f);!fs[_0x1f942a(0x173)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs['mkdirSync'](resource_1[_0x1f942a(0x14f)],{'recursive':!![]});!fs[_0x1f942a(0x173)](_0x4f949e)&&fs[_0x1f942a(0x164)](_0x4f949e,{'recursive':!![]});(0x0,file_1[_0x1f942a(0x19b)])(_0x4f949e);const _0x41f221=new xcodebuild_1[(_0x1f942a(0x18b))]()['project'](_0x1dbfe8)[_0x1f942a(0x188)]+(_0x1f942a(0x197)+_0x363c74[_0x1f942a(0x15d)]+_0x1f942a(0x172)+_0x4f949e);console[_0x1f942a(0x17d)](_0x1f942a(0x192)),(0x0,child_process_1[_0x1f942a(0x14e)])(_0x41f221),console[_0x1f942a(0x17d)](_0x1f942a(0x159)),this[_0x1f942a(0x16e)](_0x363c74),console['log']('installing\x20app'),this[_0x1f942a(0x177)](_0x4f949e,_0x363c74['deviceId'],_0x586f5d[_0x1f942a(0x15c)]),console['log'](_0x1f942a(0x178)),console[_0x1f942a(0x17d)]('launch\x20app'),this[_0x1f942a(0x15e)](_0x363c74[_0x1f942a(0x15d)],_0x586f5d['id']);}static[_0x43ad7c(0x155)](_0xe87779){const _0x33fefb=_0x43ad7c;let _0x36ce5e=this[_0x33fefb(0x151)]();console['log'](_0x33fefb(0x17c)+_0x36ce5e[_0x33fefb(0x15d)]),this['launchSimulator'](_0x36ce5e),console['log'](_0x33fefb(0x16b)),this['launchApp'](_0x36ce5e['deviceId'],_0xe87779);}static async[_0x43ad7c(0x168)](){const _0x4c0863=_0x43ad7c;let _0x4c0aa3=this[_0x4c0863(0x151)]();console[_0x4c0863(0x17d)]('find\x20simulator:\x20'+_0x4c0aa3[_0x4c0863(0x15d)]);if(_0x4c0aa3[_0x4c0863(0x167)]!==_0x4c0863(0x170)){let _0x486972=new XcrunCMD()[_0x4c0863(0x14c)]();_0x486972[_0x4c0863(0x183)](_0x4c0aa3[_0x4c0863(0x15d)]),(0x0,child_process_1[_0x4c0863(0x14e)])(_0x486972[_0x4c0863(0x188)]);}else console['log']('simulator\x20is\x20already\x20shutdown');}static[_0x43ad7c(0x16e)](_0xbf64fa){const _0x1624db=_0x43ad7c;if(_0xbf64fa[_0x1624db(0x167)]===_0x1624db(0x170)){let _0x5efd8b=new XcrunCMD()[_0x1624db(0x14c)]();_0x5efd8b[_0x1624db(0x15b)](_0xbf64fa['deviceId']),(0x0,child_process_1['execSync'])(_0x5efd8b[_0x1624db(0x188)]);}(0x0,child_process_1[_0x1624db(0x14e)])(_0x1624db(0x193));}static['installApp'](_0x293a8b,_0x1fecbb,_0x5ca3ef){const _0x1ad2d8=_0x43ad7c,_0x5a1bbc=(0x0,path_1[_0x1ad2d8(0x1a4)])(_0x293a8b,'Build/Products/Debug-xrsimulator/'+_0x5ca3ef+'.app');let _0x4a1509=new XcrunCMD()[_0x1ad2d8(0x14c)]();_0x4a1509['install'](_0x1fecbb,_0x5a1bbc),(0x0,child_process_1[_0x1ad2d8(0x14e)])(_0x4a1509['line']);}static[_0x43ad7c(0x15e)](_0x3e1db1,_0x22f9fb){const _0x191e45=_0x43ad7c;let _0xd6bf6d=new XcrunCMD()['simctl']();_0xd6bf6d[_0x191e45(0x186)](_0x3e1db1,_0x22f9fb),(0x0,child_process_1[_0x191e45(0x14e)])(_0xd6bf6d['line']);}static[_0x43ad7c(0x152)](_0x5edc04){const _0x19a343=_0x43ad7c;let _0x278f82=_0x5edc04[_0x19a343(0x16a)]('\x0a'),_0x66d614=[],_0x3a0338=-0x1;for(let _0x31049d=0x0;_0x31049d<_0x278f82[_0x19a343(0x189)];_0x31049d++){if(_0x278f82[_0x31049d][_0x19a343(0x15a)]('--\x20visionOS'))_0x3a0338=_0x31049d;else{if(_0x3a0338>0x0){if(_0x278f82[_0x31049d][_0x19a343(0x15a)](_0x19a343(0x16f)))break;if(_0x278f82[_0x31049d][_0x19a343(0x189)]>0x0){const _0x3116bc=_0x278f82[_0x31049d][_0x19a343(0x16a)]('('),_0x2c6edc={'name':_0x3116bc[0x0][_0x19a343(0x179)](),'deviceId':_0x3116bc[0x1][_0x19a343(0x16a)](')')[0x0][_0x19a343(0x179)](),'state':_0x3116bc[0x2][_0x19a343(0x16a)](')')[0x0][_0x19a343(0x179)]()};_0x66d614[_0x19a343(0x1a5)](_0x2c6edc);}}}}return _0x66d614;}static[_0x43ad7c(0x151)](){const _0x5065ad=_0x43ad7c;let _0x44c1cf=new XcrunCMD()['simctl']();_0x44c1cf[_0x5065ad(0x18e)](_0x5065ad(0x1a0));const _0x3c251e=(0x0,child_process_1[_0x5065ad(0x14e)])(_0x44c1cf[_0x5065ad(0x188)]),_0x5a0724=this[_0x5065ad(0x152)](_0x3c251e[_0x5065ad(0x19e)]());if(_0x5a0724['length']===0x0)throw new Error(_0x5065ad(0x19d));for(let _0x3c9f14=0x0;_0x3c9f14<_0x5a0724['length'];_0x3c9f14++){if(_0x5a0724[_0x3c9f14][_0x5065ad(0x167)]===_0x5065ad(0x163))return _0x5a0724[_0x3c9f14];}return _0x5a0724[0x0];}}exports[_0x43ad7c(0x17a)]=Xcrun;class XcrunCMD{constructor(){const _0x2fb0df=_0x43ad7c;this[_0x2fb0df(0x188)]=_0x2fb0df(0x195);}[_0x43ad7c(0x191)](){const _0xed4491=_0x43ad7c;return this['line']+=_0xed4491(0x1a3),this;}[_0x43ad7c(0x14c)](){const _0x4cc18a=_0x43ad7c;return this[_0x4cc18a(0x188)]+='\x20simctl',this;}[_0x43ad7c(0x157)](){const _0x2bb9b4=_0x43ad7c;return this[_0x2bb9b4(0x188)]+=_0x2bb9b4(0x185),this;}[_0x43ad7c(0x18e)](_0x3fa412){const _0x22c7f4=_0x43ad7c;return this[_0x22c7f4(0x188)]+=_0x22c7f4(0x154)+_0x3fa412+'\x22',this;}['validate'](_0x22eec0){const _0x83d856=_0x43ad7c;return this[_0x83d856(0x188)]+=_0x83d856(0x18d)+_0x22eec0,this;}[_0x43ad7c(0x156)](_0x252989){const _0x28e201=_0x43ad7c;return this[_0x28e201(0x188)]+='\x20--upload-app\x20-f\x20'+_0x252989,this;}[_0x43ad7c(0x1a2)](_0x25a928){const _0x41fa95=_0x43ad7c;return this[_0x41fa95(0x188)]+=_0x41fa95(0x153)+_0x25a928,this;}[_0x43ad7c(0x16c)](_0xac86e8,_0x2469d7){const _0x2d5a9e=_0x43ad7c;return this[_0x2d5a9e(0x188)]+=_0x2d5a9e(0x198)+_0xac86e8+_0x2d5a9e(0x18f)+_0x2469d7,this;}[_0x43ad7c(0x17b)](_0x2793f1,_0x30a4e5){const _0x5752d7=_0x43ad7c;return this[_0x5752d7(0x188)]+='\x20--apiKey\x20'+_0x2793f1+_0x5752d7(0x19c)+_0x30a4e5,this;}['appleId'](_0x337572){const _0x262ae2=_0x43ad7c;return this[_0x262ae2(0x188)]+=_0x262ae2(0x18c)+_0x337572,this;}[_0x43ad7c(0x17e)](_0x2060d7){const _0x47aa12=_0x43ad7c;return this[_0x47aa12(0x188)]+=_0x47aa12(0x190)+_0x2060d7,this;}[_0x43ad7c(0x174)](_0x499477){const _0x594dee=_0x43ad7c;return this[_0x594dee(0x188)]+='\x20--bundle-version\x20'+_0x499477,this;}[_0x43ad7c(0x194)](){const _0x184fe9=_0x43ad7c;return this[_0x184fe9(0x188)]+='\x20--verbose',this;}[_0x43ad7c(0x183)](_0x3dcb7d){const _0x3a4796=_0x43ad7c;return this[_0x3a4796(0x188)]+=_0x3a4796(0x176)+_0x3dcb7d+'\x22',this;}[_0x43ad7c(0x15b)](_0x26a328){const _0x29e62d=_0x43ad7c;return this[_0x29e62d(0x188)]+='\x20boot\x20\x22'+_0x26a328+'\x22',this;}[_0x43ad7c(0x158)](_0x48a892,_0x3e865c){const _0x452cd9=_0x43ad7c;return this['line']+=_0x452cd9(0x182)+_0x48a892+_0x452cd9(0x199)+_0x3e865c+'\x22',this;}[_0x43ad7c(0x186)](_0xabb35b,_0x3692b8){const _0x4c5aa6=_0x43ad7c;return this[_0x4c5aa6(0x188)]+=_0x4c5aa6(0x161)+_0xabb35b+'\x22\x20\x22'+_0x3692b8+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.1.10",
3
+ "version": "0.1.13",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -38,7 +38,7 @@
38
38
  "sharp": "^0.33.5",
39
39
  "valid-url": "^1.0.9",
40
40
  "xcode": "^3.0.1",
41
- "@webspatial/platform-visionos": "^0.1.10"
41
+ "@webspatial/platform-visionos": "^0.1.13"
42
42
  },
43
43
  "devDependencies": {
44
44
  "@rollup/plugin-terser": "^0.4.3",