@webspatial/builder 0.1.13 → 0.1.15

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.
Files changed (40) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/cmds/build.d.ts +4 -4
  3. package/dist/lib/cmds/build.js +1 -1
  4. package/dist/lib/cmds/check.d.ts +2 -3
  5. package/dist/lib/cmds/check.js +1 -1
  6. package/dist/lib/cmds/help.js +1 -1
  7. package/dist/lib/cmds/launch.js +1 -1
  8. package/dist/lib/cmds/shutdown.js +1 -1
  9. package/dist/lib/cmds/version.d.ts +1 -2
  10. package/dist/lib/cmds/version.js +1 -1
  11. package/dist/lib/pwa/config.js +1 -1
  12. package/dist/lib/pwa/index.d.ts +4 -15
  13. package/dist/lib/pwa/index.js +1 -1
  14. package/dist/lib/pwa/validate.js +1 -1
  15. package/dist/lib/resource/file.js +1 -1
  16. package/dist/lib/resource/imageHelper.js +1 -1
  17. package/dist/lib/resource/index.d.ts +2 -1
  18. package/dist/lib/resource/index.js +1 -1
  19. package/dist/lib/resource/load.js +1 -1
  20. package/dist/lib/types.d.ts +27 -0
  21. package/dist/lib/types.js +1 -0
  22. package/dist/lib/utils/CustomError.js +1 -1
  23. package/dist/lib/utils/FetchUtils-1.js +1 -1
  24. package/dist/lib/utils/Log.js +1 -1
  25. package/dist/lib/utils/fetch.js +1 -1
  26. package/dist/lib/utils/history.d.ts +15 -0
  27. package/dist/lib/utils/history.js +1 -0
  28. package/dist/lib/utils/messages.js +1 -1
  29. package/dist/lib/utils/utils.d.ts +2 -0
  30. package/dist/lib/utils/utils.js +1 -1
  31. package/dist/lib/xcode/index.d.ts +3 -1
  32. package/dist/lib/xcode/index.js +1 -1
  33. package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
  34. package/dist/lib/xcode/xcodebuild.js +1 -1
  35. package/dist/lib/xcode/xcodeproject.js +1 -1
  36. package/dist/lib/xcode/xcrun.d.ts +38 -3
  37. package/dist/lib/xcode/xcrun.js +1 -1
  38. package/package.json +4 -3
  39. package/dist/lib/Cli.d.ts +0 -5
  40. package/dist/lib/Cli.js +0 -1
@@ -0,0 +1,27 @@
1
+ export interface PWAInitArgs {
2
+ 'manifest-url'?: string;
3
+ manifest?: string;
4
+ project?: string;
5
+ base: string;
6
+ 'bundle-id'?: string;
7
+ }
8
+ export interface ManifestInfo {
9
+ json: Record<string, any>;
10
+ url: string;
11
+ fromNet: boolean;
12
+ }
13
+ export interface HistoryInfo {
14
+ cmd: string;
15
+ manifest: Record<string, any>;
16
+ appInfo: BasicAppInfo;
17
+ simulator: string;
18
+ }
19
+ export interface SimulatorInfo {
20
+ name: string;
21
+ deviceId: string;
22
+ state: string;
23
+ }
24
+ export interface BasicAppInfo {
25
+ name: string;
26
+ id: string;
27
+ }
@@ -0,0 +1 @@
1
+ 'use strict';function _0x1a61(_0x1bff02,_0x34859b){var _0x56b672=_0x56b6();return _0x1a61=function(_0x1a6166,_0x5e5502){_0x1a6166=_0x1a6166-0x116;var _0x140e5c=_0x56b672[_0x1a6166];return _0x140e5c;},_0x1a61(_0x1bff02,_0x34859b);}var _0x5afae7=_0x1a61;(function(_0x5b0a7e,_0x43f965){var _0xd8ad69=_0x1a61,_0x493ffa=_0x5b0a7e();while(!![]){try{var _0x3727c2=parseInt(_0xd8ad69(0x117))/0x1*(parseInt(_0xd8ad69(0x120))/0x2)+parseInt(_0xd8ad69(0x11e))/0x3*(-parseInt(_0xd8ad69(0x11c))/0x4)+-parseInt(_0xd8ad69(0x119))/0x5+parseInt(_0xd8ad69(0x11f))/0x6+parseInt(_0xd8ad69(0x118))/0x7*(-parseInt(_0xd8ad69(0x11d))/0x8)+-parseInt(_0xd8ad69(0x11b))/0x9*(-parseInt(_0xd8ad69(0x121))/0xa)+-parseInt(_0xd8ad69(0x122))/0xb;if(_0x3727c2===_0x43f965)break;else _0x493ffa['push'](_0x493ffa['shift']());}catch(_0x3dd899){_0x493ffa['push'](_0x493ffa['shift']());}}}(_0x56b6,0xb3852));Object[_0x5afae7(0x11a)](exports,_0x5afae7(0x116),{'value':!![]});function _0x56b6(){var _0x1545a7=['19467195rSPcAE','__esModule','646815TtDlhc','187558HLMdvW','310690EUxXRh','defineProperty','12013623UhYnXt','339548jHKGpE','136sXYVXg','9HXZlzj','7774164jAdtnx','2CBTutB','10ZjtcxM'];_0x56b6=function(){return _0x1545a7;};return _0x56b6();}
@@ -1 +1 @@
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
+ 'use strict';var _0x465331=_0x1316;(function(_0x5e4a2f,_0x21c326){var _0x22719f=_0x1316,_0x4b05af=_0x5e4a2f();while(!![]){try{var _0x486c55=-parseInt(_0x22719f(0x72))/0x1*(parseInt(_0x22719f(0x7a))/0x2)+-parseInt(_0x22719f(0x75))/0x3+parseInt(_0x22719f(0x71))/0x4+-parseInt(_0x22719f(0x74))/0x5*(-parseInt(_0x22719f(0x7b))/0x6)+-parseInt(_0x22719f(0x73))/0x7*(-parseInt(_0x22719f(0x7e))/0x8)+parseInt(_0x22719f(0x79))/0x9+-parseInt(_0x22719f(0x76))/0xa*(parseInt(_0x22719f(0x77))/0xb);if(_0x486c55===_0x21c326)break;else _0x4b05af['push'](_0x4b05af['shift']());}catch(_0x418129){_0x4b05af['push'](_0x4b05af['shift']());}}}(_0x1112,0x19931));function _0x1316(_0x317a1a,_0x52ea75){var _0x11127a=_0x1112();return _0x1316=function(_0x131687,_0x2f80a3){_0x131687=_0x131687-0x71;var _0xbbb44d=_0x11127a[_0x131687];return _0xbbb44d;},_0x1316(_0x317a1a,_0x52ea75);}Object[_0x465331(0x7c)](exports,'__esModule',{'value':!![]}),exports['CustomError']=void 0x0;class CustomError extends Error{constructor(_0x34b546,_0x42073a){var _0x268920=_0x465331;super(JSON['stringify'](_0x34b546)),this[_0x268920(0x78)]=_0x34b546,this[_0x268920(0x7f)]=_0x42073a||_0x268920(0x7d);}}function _0x1112(){var _0x408bfc=['10cEFTdw','66wPdYWZ','defineProperty','info','17160okCXrg','type','367468xIkxuR','34419ojBaCe','532aEUSPO','19385SMlJKm','98826OPdvTU','10NFtWVu','1214444fVDSnf','customMessage','1103940lNtsGj'];_0x1112=function(){return _0x408bfc;};return _0x1112();}exports['CustomError']=CustomError;
@@ -1 +1 @@
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
+ 'use strict';function _0xf659(_0x177ebc,_0x57be84){const _0x2d4d51=_0x2d4d();return _0xf659=function(_0xf6592a,_0x45a5b2){_0xf6592a=_0xf6592a-0xda;let _0x586768=_0x2d4d51[_0xf6592a];return _0x586768;},_0xf659(_0x177ebc,_0x57be84);}const _0x1e181f=_0xf659;(function(_0x46ad35,_0x2f536d){const _0x3986ce=_0xf659,_0x2697fa=_0x46ad35();while(!![]){try{const _0x25e875=parseInt(_0x3986ce(0xda))/0x1*(parseInt(_0x3986ce(0xee))/0x2)+parseInt(_0x3986ce(0xe3))/0x3*(-parseInt(_0x3986ce(0xea))/0x4)+-parseInt(_0x3986ce(0xed))/0x5*(parseInt(_0x3986ce(0xe7))/0x6)+parseInt(_0x3986ce(0xe2))/0x7*(parseInt(_0x3986ce(0xe9))/0x8)+-parseInt(_0x3986ce(0xdf))/0x9+-parseInt(_0x3986ce(0xec))/0xa*(parseInt(_0x3986ce(0xdc))/0xb)+parseInt(_0x3986ce(0xe8))/0xc*(parseInt(_0x3986ce(0xe6))/0xd);if(_0x25e875===_0x2f536d)break;else _0x2697fa['push'](_0x2697fa['shift']());}catch(_0x445449){_0x2697fa['push'](_0x2697fa['shift']());}}}(_0x2d4d,0x9eaa3));Object[_0x1e181f(0xe0)](exports,_0x1e181f(0xe5),{'value':!![]}),exports[_0x1e181f(0xdd)]=void 0x0;class FetchUtils{constructor(){const _0x3544e1=_0x1e181f;this['fetchEngine']=null,this['fetch']=null,this[_0x3544e1(0xef)]=null,this['decompressResponseBuffer']=null;}[_0x1e181f(0xe1)](_0x19c3a6){this['fetchEngine']=_0x19c3a6;}[_0x1e181f(0xf0)](_0x48390d){const _0x1d78ba=_0x1e181f;this[_0x1d78ba(0xdb)]=_0x48390d;}[_0x1e181f(0xeb)](_0x265be1){this['downloadFile']=_0x265be1;}[_0x1e181f(0xe4)](_0x5d6cbb){const _0x393a8e=_0x1e181f;this[_0x393a8e(0xde)]=_0x5d6cbb;}}const fetchUtils=new FetchUtils();exports[_0x1e181f(0xdd)]=fetchUtils;function _0x2d4d(){const _0x1d5f12=['__esModule','127309TXlNIx','12xQEAFE','2220duOOgk','40ebOCho','132SqCVLf','setDownloadFile','842360LHbTBd','1608645vAOJfS','2JXPwda','downloadFile','setFetch','714874zFjVYB','fetch','11ZBVNSu','fetchUtils','decompressResponseBuffer','7517484gwQsvk','defineProperty','setFetchEngine','825335BUbWxq','82113eTjQFJ','setDecompressResponseBuffer'];_0x2d4d=function(){return _0x1d5f12;};return _0x2d4d();}
@@ -1 +1 @@
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
+ 'use strict';var _0x266923=_0x3eaa;(function(_0x8c73e5,_0x428b31){var _0x17bc62=_0x3eaa,_0x32c5ef=_0x8c73e5();while(!![]){try{var _0x169f80=-parseInt(_0x17bc62(0x149))/0x1+-parseInt(_0x17bc62(0x14c))/0x2*(-parseInt(_0x17bc62(0x165))/0x3)+parseInt(_0x17bc62(0x15d))/0x4*(parseInt(_0x17bc62(0x167))/0x5)+parseInt(_0x17bc62(0x14f))/0x6+parseInt(_0x17bc62(0x154))/0x7+parseInt(_0x17bc62(0x157))/0x8+parseInt(_0x17bc62(0x159))/0x9;if(_0x169f80===_0x428b31)break;else _0x32c5ef['push'](_0x32c5ef['shift']());}catch(_0x3c7618){_0x32c5ef['push'](_0x32c5ef['shift']());}}}(_0x595f,0xc5c0b));function _0x595f(){var _0x5f212b=['log','430884rulcmS','__esModule','\x1b[0m','setVerbose','prefix','inverse','ERROR\x20','red','3PzcpmL','output','5VlwsCB','warn','700397qMUTRa','\x1b[36m','verbose','221474bABtnl','newLog','info','4357140pjKhlO','tag','WARNING\x20','ConsoleLog','yellow','1641276IjxxjQ','defineProperty','dim','289200hzIjqb','error','2656134sMObYy','concat','\x1b[31m'];_0x595f=function(){return _0x5f212b;};return _0x595f();}function _0x3eaa(_0x5e5ce0,_0x2bc479){var _0x595f23=_0x595f();return _0x3eaa=function(_0x3eaa9c,_0x4fc847){_0x3eaa9c=_0x3eaa9c-0x148;var _0xfa59bc=_0x595f23[_0x3eaa9c];return _0xfa59bc;},_0x3eaa(_0x5e5ce0,_0x2bc479);}Object[_0x266923(0x155)](exports,_0x266923(0x15e),{'value':!![]}),exports[_0x266923(0x152)]=void 0x0;class ConsoleLog{constructor(_0x4b1ef3='',_0x22be61=![],_0x3ee38c=console){var _0x2097ed=_0x266923;this[_0x2097ed(0x150)]=_0x4b1ef3,this['verbose']=_0x22be61,this['prefix']=this[_0x2097ed(0x162)](_0x4b1ef3),this[_0x2097ed(0x166)]=_0x3ee38c;}['debug'](_0x1346dd,..._0x382156){var _0x332823=_0x266923;if(!this[_0x332823(0x14b)])return;this[_0x332823(0x15c)](this[_0x332823(0x166)][_0x332823(0x15c)],this[_0x332823(0x156)](_0x1346dd),..._0x382156);}[_0x266923(0x14e)](_0xa0473c,..._0x132244){var _0x4c7d81=_0x266923;this['log'](this[_0x4c7d81(0x166)][_0x4c7d81(0x15c)],_0xa0473c,..._0x132244);}[_0x266923(0x148)](_0x11da2a,..._0x44c687){var _0x3b6b32=_0x266923;this['log'](this[_0x3b6b32(0x166)][_0x3b6b32(0x148)],this['yellow'](_0x3b6b32(0x151)+_0x11da2a),..._0x44c687);}[_0x266923(0x158)](_0x325bc5,..._0x101834){var _0x3768ac=_0x266923;this[_0x3768ac(0x166)]['error']('\x0a'),this['log'](this[_0x3768ac(0x166)][_0x3768ac(0x158)],this['red'](_0x3768ac(0x163)+_0x325bc5),..._0x101834),this[_0x3768ac(0x166)][_0x3768ac(0x158)]('\x0a');}[_0x266923(0x160)](_0x2084ce){var _0x57b4bf=_0x266923;this[_0x57b4bf(0x14b)]=_0x2084ce;}[_0x266923(0x14d)](_0xaf5348){var _0x57e7e0=_0x266923;return this[_0x57e7e0(0x150)]&&(_0xaf5348=this[_0x57e7e0(0x150)]+'\x20'+_0xaf5348),new ConsoleLog(_0xaf5348,this[_0x57e7e0(0x14b)],this['output']);}[_0x266923(0x15c)](_0x2ebedb,_0x308117,..._0x34452f){var _0x5814c4=_0x266923;this[_0x5814c4(0x161)]&&(_0x308117=this[_0x5814c4(0x161)]+'\x20'+_0x308117),_0x34452f?_0x2ebedb(...[_0x308117][_0x5814c4(0x15a)](_0x34452f)):_0x2ebedb(_0x308117);}[_0x266923(0x162)](_0x47ca6f){return'\x1b[7m'+_0x47ca6f+'\x1b[0m';}['dim'](_0x8c97c9){var _0x510fe0=_0x266923;return _0x510fe0(0x14a)+_0x8c97c9+'\x1b[0m';}[_0x266923(0x153)](_0x433cbe){return'\x1b[33m'+_0x433cbe+'\x1b[0m';}[_0x266923(0x164)](_0x5bb7d8){var _0x502f35=_0x266923;return _0x502f35(0x15b)+_0x5bb7d8+_0x502f35(0x15f);}}exports[_0x266923(0x152)]=ConsoleLog;
@@ -1 +1 @@
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
+ 'use strict';const _0x4a2536=_0xcc7f;(function(_0x19b3e5,_0x4eb197){const _0x2ed957=_0xcc7f,_0x50b293=_0x19b3e5();while(!![]){try{const _0x449019=-parseInt(_0x2ed957(0x1c9))/0x1*(parseInt(_0x2ed957(0x1b4))/0x2)+parseInt(_0x2ed957(0x1c1))/0x3+parseInt(_0x2ed957(0x1b2))/0x4*(-parseInt(_0x2ed957(0x1bb))/0x5)+parseInt(_0x2ed957(0x1b9))/0x6+parseInt(_0x2ed957(0x1ce))/0x7+parseInt(_0x2ed957(0x1b5))/0x8*(-parseInt(_0x2ed957(0x1b0))/0x9)+-parseInt(_0x2ed957(0x1b8))/0xa*(parseInt(_0x2ed957(0x1c4))/0xb);if(_0x449019===_0x4eb197)break;else _0x50b293['push'](_0x50b293['shift']());}catch(_0x39cdb0){_0x50b293['push'](_0x50b293['shift']());}}}(_0x3faa,0x7edbf));Object['defineProperty'](exports,_0x4a2536(0x1bc),{'value':!![]}),exports[_0x4a2536(0x1be)]=fetch,exports['downloadFile']=downloadFile,exports[_0x4a2536(0x1cc)]=decompressResponseBuffer;function _0x3faa(){const _0x1fc2cf=['Z_SYNC_FLUSH','388998kruSKL','Content-Length','186376aChSkJ','unzipSync','6NtlJmX','32qPrRlu','constants','length','6400jQwwls','4375116DLvWlU','finish','20ZTqbsu','__esModule','createWriteStream','fetch','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','test','2771625uhXAOa','headers','follow','14069kdXsKa','error','get','brotliDecompressSync','data','247519hmbKWW','pipe','fetch-h2','decompressResponseBuffer','readable','5508545tpeaLs'];_0x3faa=function(){return _0x1fc2cf;};return _0x3faa();}const fetch_h2_1=require(_0x4a2536(0x1cb)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x4a2536(0x1bf),fetchh2Ctx=(0x0,fetch_h2_1['context'])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx['fetch'];async function fetch(_0x5b6294,_0x1ea635){const _0x406741=_0x4a2536;return await fetchh2(_0x5b6294,_0x1ea635?{'redirect':_0x406741(0x1c3),..._0x1ea635}:{'redirect':_0x406741(0x1c3)});}async function downloadFile(_0x34f418,_0x50c06a,_0x1bd227){const _0x42fdfa=_0x4a2536;let _0x409aa0,_0x291725;_0x409aa0=await fetchh2(_0x34f418,{'redirect':_0x42fdfa(0x1c3)}),_0x291725=await _0x409aa0[_0x42fdfa(0x1cd)]();const _0x1ec1a7=_0x409aa0[_0x42fdfa(0x1c2)][_0x42fdfa(0x1c6)](_0x42fdfa(0x1b1)),_0x1c3d98=_0x1ec1a7?parseInt(_0x1ec1a7):-0x1,_0x4e1350=fs[_0x42fdfa(0x1bd)](_0x50c06a);let _0x312916=0x0;await new Promise((_0x223602,_0x4f25ae)=>{const _0x190c94=_0x42fdfa;_0x291725[_0x190c94(0x1ca)](_0x4e1350),_0x1bd227&&_0x291725['on'](_0x190c94(0x1c8),_0x275ab8=>{const _0x5bbe97=_0x190c94;_0x312916=_0x312916+_0x275ab8[_0x5bbe97(0x1b7)],_0x1bd227(_0x312916,_0x1c3d98);}),_0x291725['on'](_0x190c94(0x1c5),_0xae8774=>{_0x4f25ae(_0xae8774);}),_0x4e1350['on'](_0x190c94(0x1ba),()=>{_0x223602();});});}function _0xcc7f(_0x1d30fd,_0x13c78b){const _0x3faa26=_0x3faa();return _0xcc7f=function(_0xcc7f2f,_0x47f7c0){_0xcc7f2f=_0xcc7f2f-0x1b0;let _0x512143=_0x3faa26[_0xcc7f2f];return _0x512143;},_0xcc7f(_0x1d30fd,_0x13c78b);}function decompressResponseBuffer(_0x5e6c37,_0xb8a19a){const _0x1f412b=_0x4a2536;let _0xaf8482=_0x5e6c37;if(/\bgzip\b/[_0x1f412b(0x1c0)](_0xb8a19a)||/\bdeflate\b/[_0x1f412b(0x1c0)](_0xb8a19a))_0xaf8482=zlib[_0x1f412b(0x1b3)](_0x5e6c37,{'flush':zlib['constants'][_0x1f412b(0x1cf)],'finishFlush':zlib[_0x1f412b(0x1b6)][_0x1f412b(0x1cf)]});else/\bbr\b/[_0x1f412b(0x1c0)](_0xb8a19a)&&(_0xaf8482=zlib[_0x1f412b(0x1c7)](_0x5e6c37));return _0xaf8482;}
@@ -0,0 +1,15 @@
1
+ export default class CliHistory {
2
+ private static history;
3
+ private static defaultHistory;
4
+ private static record;
5
+ static init(cmd: string): void;
6
+ static getAppInfoRecord(): import("../types").BasicAppInfo;
7
+ static getSimulatorRecord(): string;
8
+ static getSimulatorHistory(): string;
9
+ static recordManifest(manifest: Record<string, any>): void;
10
+ static recordSimulator(simulator: string): void;
11
+ static checkManifest(manifest: Record<string, any>): boolean;
12
+ private static compareObjects;
13
+ static checkCommand(cmd: string): boolean;
14
+ static write(): void;
15
+ }
@@ -0,0 +1 @@
1
+ 'use strict';const _0x3ce0ad=_0x13ab;(function(_0x1f5c98,_0x161c20){const _0xd247c7=_0x13ab,_0x42c69b=_0x1f5c98();while(!![]){try{const _0x1c647e=-parseInt(_0xd247c7(0xc6))/0x1+-parseInt(_0xd247c7(0xbc))/0x2*(-parseInt(_0xd247c7(0xc3))/0x3)+parseInt(_0xd247c7(0xd7))/0x4*(-parseInt(_0xd247c7(0xb4))/0x5)+-parseInt(_0xd247c7(0xc4))/0x6*(-parseInt(_0xd247c7(0xcf))/0x7)+parseInt(_0xd247c7(0xbd))/0x8+parseInt(_0xd247c7(0xd1))/0x9*(-parseInt(_0xd247c7(0xca))/0xa)+parseInt(_0xd247c7(0xb5))/0xb;if(_0x1c647e===_0x161c20)break;else _0x42c69b['push'](_0x42c69b['shift']());}catch(_0x1d6ff7){_0x42c69b['push'](_0x42c69b['shift']());}}}(_0x79f8,0x28e82));Object[_0x3ce0ad(0xd0)](exports,_0x3ce0ad(0xae),{'value':!![]});const path_1=require(_0x3ce0ad(0xbe)),fs=require('fs'),utils_1=require(_0x3ce0ad(0xbb));function _0x79f8(){const _0x46f4d8=['237263vIAxIt','../../run_history.txt','recordSimulator','object','5860JuaGpD','recordManifest','getAppInfoRecord','cmd','default','333263myekUu','defineProperty','1089Vdsssy','keys','stringify','warn','writeFileSync','appInfo','300iKdIxu','init','history','checkCommand','Historical\x20records\x20found','__esModule','join','name','readFileSync','parse','record','18600reDYtN','5038242RKELiX','log','CliLog','getSimulatorHistory','Mismatch\x20found\x20at\x20key:\x20','simulator','./utils','482nEutrQ','1579088DPTnKT','path','getSimulatorRecord','write','defaultHistory','compareObjects','51naidJu','12BBjbtR','utf-8'];_0x79f8=function(){return _0x46f4d8;};return _0x79f8();}function _0x13ab(_0x1e9cdc,_0x40368a){const _0x79f882=_0x79f8();return _0x13ab=function(_0x13ab86,_0x50a4d2){_0x13ab86=_0x13ab86-0xae;let _0x134cb3=_0x79f882[_0x13ab86];return _0x134cb3;},_0x13ab(_0x1e9cdc,_0x40368a);}class CliHistory{static[_0x3ce0ad(0xd8)](_0x273447){const _0x1f5daf=_0x3ce0ad;let _0x21b311=(0x0,path_1[_0x1f5daf(0xaf)])(__dirname,_0x1f5daf(0xc7)),_0x395f58=this[_0x1f5daf(0xc1)];if(!fs['existsSync'](_0x21b311))fs[_0x1f5daf(0xd5)](_0x21b311,'');else try{_0x395f58=JSON[_0x1f5daf(0xb2)](fs[_0x1f5daf(0xb1)](_0x21b311,_0x1f5daf(0xc5))),console[_0x1f5daf(0xb6)](_0x1f5daf(0xdb));}catch(_0x273588){utils_1[_0x1f5daf(0xb7)][_0x1f5daf(0xd4)]('No\x20historical\x20records\x20found');}this[_0x1f5daf(0xd9)]=_0x395f58,this[_0x1f5daf(0xb3)][_0x1f5daf(0xcd)]=_0x273447;}static[_0x3ce0ad(0xcc)](){const _0x53ec7a=_0x3ce0ad;return this['record'][_0x53ec7a(0xd6)];}static[_0x3ce0ad(0xbf)](){const _0x1f121c=_0x3ce0ad;return this[_0x1f121c(0xb3)][_0x1f121c(0xba)];}static[_0x3ce0ad(0xb8)](){const _0x11ad50=_0x3ce0ad;return this[_0x11ad50(0xd9)][_0x11ad50(0xba)];}static[_0x3ce0ad(0xcb)](_0x47af1e){const _0xe9c64f=_0x3ce0ad;this['record']['manifest']=_0x47af1e,this[_0xe9c64f(0xb3)][_0xe9c64f(0xd6)][_0xe9c64f(0xb0)]=_0x47af1e[_0xe9c64f(0xb0)],this['record'][_0xe9c64f(0xd6)]['id']=_0x47af1e['id'];}static[_0x3ce0ad(0xc8)](_0x2240b3){this['record']['simulator']=_0x2240b3;}static['checkManifest'](_0x45a221){const _0x17a8d8=_0x3ce0ad;return this[_0x17a8d8(0xc2)](this[_0x17a8d8(0xd9)]['manifest'],_0x45a221);}static[_0x3ce0ad(0xc2)](_0x6d7139,_0x16354e){const _0x1ac80a=_0x3ce0ad,_0x414d07=Object['keys'](_0x6d7139),_0x513ea5=Object[_0x1ac80a(0xd2)](_0x16354e);if(_0x414d07['length']!==_0x513ea5['length'])return![];for(const _0x46ba00 of _0x414d07){const _0x385b89=_0x6d7139[_0x46ba00],_0x2ff231=_0x16354e[_0x46ba00];if(_0x385b89===undefined||_0x2ff231===undefined){if(_0x385b89!==_0x2ff231)return![];continue;}if(typeof _0x385b89===_0x1ac80a(0xc9)&&_0x385b89!==null){if(!this[_0x1ac80a(0xc2)](_0x385b89,_0x2ff231))return![];continue;}if(_0x385b89!==_0x2ff231)return console[_0x1ac80a(0xb6)](_0x1ac80a(0xb9)+_0x46ba00),![];}return!![];}static[_0x3ce0ad(0xda)](_0x34b64a){return this['history']['cmd']===_0x34b64a;}static[_0x3ce0ad(0xc0)](){const _0x88c7a9=_0x3ce0ad;let _0x453fac=(0x0,path_1[_0x88c7a9(0xaf)])(__dirname,_0x88c7a9(0xc7));fs['writeFileSync'](_0x453fac,JSON[_0x88c7a9(0xd3)](this[_0x88c7a9(0xb3)]));}}CliHistory[_0x3ce0ad(0xc1)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},CliHistory[_0x3ce0ad(0xb3)]={'cmd':'','manifest':{},'appInfo':{'name':'','id':''},'simulator':''},exports[_0x3ce0ad(0xce)]=CliHistory;
@@ -1 +1 @@
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
+ 'use strict';const _0x39450a=_0x4704;function _0x1bce(){const _0x417e4b=['Decompressing\x20the\x20JDK\x2011\x20Sources...','\x0aSigning\x20key\x20creation','--manifest','Path\x20to\x20your\x20existing\x20JDK\x2011:','Country\x20(2\x20letter\x20code):','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','6zULnno','--manifest-url','Downloading\x20JDK\x2011\x20to\x20','24TzPizp','Password\x20for\x20the\x20Key\x20Store:','Downloading\x20the\x20JDK\x2011\x20Binaries...','Path\x20to\x20your\x20existing\x20Android\x20SDK:','Icon\x20URL:','bold','\x20and\x20alias\x20','\x22.\x0a','8102016nIrPeE','Minimum\x20length\x20is\x20','https://developer.android.com/studio/terms.html','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Password\x20for\x20the\x20Key:','25243290ekNFjO','\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:','green','license\x20agreement.','Missing\x20required\x20parameter\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','1069050ddHUmx','Downloading\x20Android\x20SDK\x20to\x20','Decompressing\x20the\x20Android\x20SDK...','Downloading\x20the\x20JDK\x2011\x20Sources...','WARNING:\x20','759966YNmwMZ','__esModule','defineProperty','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','(5/5)','yellow','Decompressing\x20the\x20JDK\x2011\x20Binaries...','Generating\x20Android\x20Project.','Organization\x20(eg:\x20Company\x20Name):','messages','Downloading\x20the\x20Android\x20SDK...','96quLifN','\x0aBuilding\x20the\x20Android\x20App...','Invalid\x20icon\x20path:\x20','https://play.google.com/console/about/families/','\x20but\x20input\x20is\x20','5218344CgCaIe','51639HulXVa','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','underline','\x20can\x20not\x20be\x20accessible.','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','Invalid\x20integer\x20provided:\x20','Maximum\x20length\x20is\x20','cyan','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','\x20URL\x20','392707QJWsXW','URL\x20'];_0x1bce=function(){return _0x417e4b;};return _0x1bce();}(function(_0x14c41d,_0x5f025b){const _0x1094ed=_0x4704,_0x56e5e9=_0x14c41d();while(!![]){try{const _0x1fe24a=parseInt(_0x1094ed(0x1e6))/0x1+-parseInt(_0x1094ed(0x1c9))/0x2*(-parseInt(_0x1094ed(0x1b4))/0x3)+parseInt(_0x1094ed(0x1cc))/0x4*(-parseInt(_0x1094ed(0x1e1))/0x5)+-parseInt(_0x1094ed(0x1ae))/0x6*(parseInt(_0x1094ed(0x1c1))/0x7)+-parseInt(_0x1094ed(0x1d4))/0x8+parseInt(_0x1094ed(0x1b3))/0x9+parseInt(_0x1094ed(0x1db))/0xa;if(_0x1fe24a===_0x5f025b)break;else _0x56e5e9['push'](_0x56e5e9['shift']());}catch(_0x207c84){_0x56e5e9['push'](_0x56e5e9['shift']());}}}(_0x1bce,0xb065a));function _0x4704(_0x29e6b6,_0xf19bcc){const _0x1bce29=_0x1bce();return _0x4704=function(_0x470427,_0x4b9b1f){_0x470427=_0x470427-0x1a7;let _0x290f97=_0x1bce29[_0x470427];return _0x290f97;},_0x4704(_0x29e6b6,_0xf19bcc);}Object[_0x39450a(0x1e8)](exports,_0x39450a(0x1e7),{'value':!![]}),exports['messages']=void 0x0;const colors_1=require('colors');exports[_0x39450a(0x1ac)]={'promptInstallJdk':_0x39450a(0x1b8),'promptJdkPath':_0x39450a(0x1c6),'messageDownloadJdk':_0x39450a(0x1cb),'messageDownloadJdkSrc':_0x39450a(0x1e4),'messageDecompressJdkSrc':_0x39450a(0x1c3),'messageDownloadJdkBin':_0x39450a(0x1ce),'messageDecompressJdkBin':_0x39450a(0x1a9),'promptInstallSdk':_0x39450a(0x1c8),'promptSdkPath':_0x39450a(0x1cf),'messageDownloadSdk':_0x39450a(0x1e2),'errorSdkTerms':_0x39450a(0x1ba),'promptSdkTerms':_0x39450a(0x1d8)+(0x0,colors_1[_0x39450a(0x1b6)])(_0x39450a(0x1d6))+'?','messageDownloadAndroidSdk':_0x39450a(0x1ad),'messageDecompressAndroidSdk':_0x39450a(0x1e3),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x39450a(0x1de),'messageGeneratingAndroidProject':_0x39450a(0x1aa),'messageCheckSuccess':(_0x3f9fdd,_0x4fdb85)=>{const _0x144c71=_0x39450a;return _0x144c71(0x1c0)+(0x0,colors_1[_0x144c71(0x1bd)])(_0x3f9fdd)+'\x20'+(_0x4fdb85?'redirected\x20to\x20'+(0x0,colors_1[_0x144c71(0x1bd)])(_0x4fdb85):'')+_0x144c71(0x1dc);},'errorMissingManifestParameter':_0x39450a(0x1df)+((0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1ca))+'\x20or\x20'+(0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1c5))),'messageInitializingWebManifest':_0x32a38a=>{const _0x1466fd=_0x39450a;return _0x1466fd(0x1bf)+(0x0,colors_1[_0x1466fd(0x1bd)])(_0x32a38a);},'messageInitializingLocalManifest':_0x38e729=>{const _0x207c86=_0x39450a;return _0x207c86(0x1b9)+(0x0,colors_1[_0x207c86(0x1bd)])(_0x38e729);},'messageInvalidIcon':_0xec0f0b=>{const _0x3f4f3a=_0x39450a;return _0x3f4f3a(0x1b0)+(0x0,colors_1[_0x3f4f3a(0x1bd)])(_0xec0f0b);},'errorStartUrlNotReachable':_0x5a4c86=>_0x39450a(0x1c2)+_0x5a4c86+_0x39450a(0x1b7)+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x39450a(0x1d1)])((0x0,colors_1[_0x39450a(0x1a8)])(_0x39450a(0x1e5)))+_0x39450a(0x1e0)+'\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.'+'\x20Check\x20out\x20the\x20Play\x20for'+_0x39450a(0x1e9)+(0x0,colors_1[_0x39450a(0x1bd)])(_0x39450a(0x1b1)),'promptIconUrl':_0x39450a(0x1d0),'errorInvalidUrl':_0x351f04=>{return'Invalid\x20URL:\x20'+_0x351f04;},'errorUrlMustBeImage':_0xf8f292=>{return'URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20'+_0xf8f292+'.';},'promptVersionCode':_0x39450a(0x1be),'promptVersionName':'Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','messageSigningKeyInformation':(0x0,colors_1['underline'])('\x0aSigning\x20key\x20information\x20'+(0x0,colors_1[_0x39450a(0x1dd)])(_0x39450a(0x1a7))),'messageProjectGeneratedSuccess':'\x0aProject\x20generated\x20successfully.','messageSigningKeyCreation':(0x0,colors_1[_0x39450a(0x1b6)])(_0x39450a(0x1c4)),'messageSigningKeyNotFound':_0x4fd1d5=>{const _0x45e0ad=_0x39450a;return'\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22'+_0x4fd1d5+_0x45e0ad(0x1d3);},'promptCreateKey':_0x39450a(0x1d9),'promptKeyFullName':_0x39450a(0x1b5),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':_0x39450a(0x1ab),'promptKeyCountry':_0x39450a(0x1c7),'promptKeystorePassword':_0x39450a(0x1cd),'promptKeyPassword':_0x39450a(0x1da),'messageBuildingApp':_0x39450a(0x1af),'messageEnterPasswords':(_0x695770,_0x34ae10)=>{const _0x312b55=_0x39450a;return'Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20'+(0x0,colors_1[_0x312b55(0x1bd)])(_0x695770)+_0x312b55(0x1d2)+(0x0,colors_1[_0x312b55(0x1bd)])(_0x34ae10)+'.\x0a';},'errorMinLength':(_0x2d9a08,_0xdfecbd)=>{const _0x46236e=_0x39450a;return _0x46236e(0x1d5)+_0x2d9a08+_0x46236e(0x1b2)+_0xdfecbd+'.';},'errorMaxLength':(_0x4f7a37,_0x34ef61)=>{const _0x4c298a=_0x39450a;return _0x4c298a(0x1bc)+_0x4f7a37+_0x4c298a(0x1b2)+_0x34ef61+'.';},'errorInvalidInteger':_0xf0d94c=>{const _0x23b879=_0x39450a;return _0x23b879(0x1bb)+_0xf0d94c;},'messageApkSuccess':_0x4ee7d8=>{const _0x523cb8=_0x39450a;return _0x523cb8(0x1d7)+(0x0,colors_1[_0x523cb8(0x1bd)])(_0x4ee7d8);},'missingUrlToCheck':_0x39450a(0x1df)+(''+(0x0,colors_1[_0x39450a(0x1bd)])('--url'))};
@@ -1 +1,3 @@
1
+ import { ConsoleLog } from './Log';
1
2
  export declare function parseRouter(url: string): string;
3
+ export declare const CliLog: ConsoleLog;
@@ -1 +1 @@
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
+ 'use strict';function _0x43a7(_0x2661cb,_0x2ee675){const _0x957c4b=_0x957c();return _0x43a7=function(_0x43a78c,_0xfb11e8){_0x43a78c=_0x43a78c-0x8d;let _0x4020ce=_0x957c4b[_0x43a78c];return _0x4020ce;},_0x43a7(_0x2661cb,_0x2ee675);}const _0x361396=_0x43a7;(function(_0x61e6d,_0x2a0fc3){const _0x5325c4=_0x43a7,_0x4ad542=_0x61e6d();while(!![]){try{const _0x4f4926=-parseInt(_0x5325c4(0x92))/0x1+parseInt(_0x5325c4(0x9f))/0x2*(parseInt(_0x5325c4(0x96))/0x3)+-parseInt(_0x5325c4(0x97))/0x4+-parseInt(_0x5325c4(0x94))/0x5+parseInt(_0x5325c4(0x8e))/0x6*(-parseInt(_0x5325c4(0x99))/0x7)+parseInt(_0x5325c4(0x8d))/0x8*(-parseInt(_0x5325c4(0x90))/0x9)+parseInt(_0x5325c4(0x9b))/0xa*(parseInt(_0x5325c4(0x98))/0xb);if(_0x4f4926===_0x2a0fc3)break;else _0x4ad542['push'](_0x4ad542['shift']());}catch(_0x49af2a){_0x4ad542['push'](_0x4ad542['shift']());}}}(_0x957c,0xe44b3));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x361396(0x9a)]=void 0x0,exports['parseRouter']=parseRouter;const Log_1=require(_0x361396(0x8f));function _0x957c(){const _0x2e73f8=['22cKbCcU','7ahYTWp','CliLog','17739820HbIhdi','join','replace','webspatial-builder','17634xNoAYV','9779688sOOJPP','6742788LOuNMa','./Log','9PtDJHr','split','933874xrqRLx','ConsoleLog','938715FreknC','indexOf','429aIbQkj','1623312nQKpWf'];_0x957c=function(){return _0x2e73f8;};return _0x957c();}function parseRouter(_0x1d15c4){const _0x2d402d=_0x361396;let _0x4f9843=_0x1d15c4[_0x2d402d(0x91)]('/');_0x4f9843['pop']();let _0x1c8da1=_0x4f9843[_0x2d402d(0x9c)]();while(_0x1c8da1[_0x2d402d(0x95)](',')>=0x0){_0x1c8da1=_0x1c8da1[_0x2d402d(0x9d)](',','/');}return _0x1c8da1;}exports[_0x361396(0x9a)]=new Log_1[(_0x361396(0x93))](_0x361396(0x9e));
@@ -1,5 +1,7 @@
1
1
  export declare class XcodeManager {
2
2
  static parseProject(option: any, isDev?: boolean): Promise<void>;
3
+ static build(exportPath: string): Promise<void>;
3
4
  static upload(option: any, appInfo: any): Promise<void>;
4
- static runWithSimulator(appInfo: any): Promise<void>;
5
+ static runWithSimulator(): Promise<void>;
6
+ static runWithHistory(): Promise<void>;
5
7
  }
@@ -1 +1 @@
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
+ 'use strict';const _0x246b7e=_0x5449;(function(_0x1f806e,_0x55267b){const _0x42456e=_0x5449,_0x2f1164=_0x1f806e();while(!![]){try{const _0x354a85=-parseInt(_0x42456e(0x20c))/0x1+-parseInt(_0x42456e(0x1ff))/0x2*(-parseInt(_0x42456e(0x1f0))/0x3)+-parseInt(_0x42456e(0x203))/0x4*(parseInt(_0x42456e(0x20d))/0x5)+-parseInt(_0x42456e(0x206))/0x6*(parseInt(_0x42456e(0x1f5))/0x7)+parseInt(_0x42456e(0x204))/0x8+parseInt(_0x42456e(0x1f1))/0x9+-parseInt(_0x42456e(0x20a))/0xa;if(_0x354a85===_0x55267b)break;else _0x2f1164['push'](_0x2f1164['shift']());}catch(_0x353d40){_0x2f1164['push'](_0x2f1164['shift']());}}}(_0x1334,0xf0fc6));Object[_0x246b7e(0x1f3)](exports,_0x246b7e(0x207),{'value':!![]}),exports['XcodeManager']=void 0x0;const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require(_0x246b7e(0x202)),xcodebuild_1=require(_0x246b7e(0x1f2)),xcrun_1=require('./xcrun'),path_1=require('path');class XcodeManager{static async[_0x246b7e(0x205)](_0x1631f0,_0x1e70a6=![]){const _0x3e2959=_0x246b7e,_0x4746cf=resource_1[_0x3e2959(0x1f6)]+_0x3e2959(0x208);await xcodeproject_1['default'][_0x3e2959(0x20b)](_0x4746cf,_0x1631f0,_0x1e70a6),console['log'](_0x3e2959(0x1fd));!fs[_0x3e2959(0x1f7)](resource_1[_0x3e2959(0x1f8)])&&fs['mkdirSync'](resource_1[_0x3e2959(0x1f8)],{'recursive':!![]});if(!_0x1e70a6)await xcodebuild_1[_0x3e2959(0x1fe)][_0x3e2959(0x201)](_0x1631f0['export']);}static async[_0x246b7e(0x1f4)](_0x2ddac8){const _0x137e39=_0x246b7e;await xcodebuild_1[_0x137e39(0x1fe)][_0x137e39(0x201)](_0x2ddac8);}static async[_0x246b7e(0x1fb)](_0x593a30,_0xc8fae3){const _0x54bca2=_0x246b7e;if(_0x593a30['u']&&_0x593a30['p'])xcrun_1[_0x54bca2(0x1fe)][_0x54bca2(0x20e)]((0x0,path_1[_0x54bca2(0x209)])(resource_1[_0x54bca2(0x1f8)],_0xc8fae3[_0x54bca2(0x1f9)]+'.ipa'),_0x593a30['u'],_0x593a30['p'],!![]);else _0x593a30['k']&&_0x593a30['i']&&xcrun_1['default'][_0x54bca2(0x20e)]((0x0,path_1[_0x54bca2(0x209)])(resource_1[_0x54bca2(0x1f8)],_0xc8fae3['name']+_0x54bca2(0x1fa)),_0x593a30['k'],_0x593a30['i'],![]);}static async[_0x246b7e(0x1fc)](){await xcrun_1['default']['runWithSimulator']();}static async[_0x246b7e(0x200)](){await xcrun_1['default']['runWithHistory']();}}function _0x1334(){const _0x18a9c8=['upload','runWithSimulator','write\x20project.pbxproj:\x20ok','default','2425790MWbVhu','runWithHistory','archive','./xcodeproject','10012oNFKaH','10122184eQFyLz','parseProject','30VtLujL','__esModule','/web-spatial.xcodeproj/project.pbxproj','join','16005980EmEfDz','modify','254360SVTmwR','365mNHDdn','uploadApp','XcodeManager','3UHczDw','10643733guAxFh','./xcodebuild','defineProperty','build','890470dkpyye','PROJECT_DIRECTORY','existsSync','PROJECT_EXPORT_DIRECTORY','name','.ipa'];_0x1334=function(){return _0x18a9c8;};return _0x1334();}function _0x5449(_0x1c728e,_0x319c3d){const _0x133453=_0x1334();return _0x5449=function(_0x54492d,_0x5113ea){_0x54492d=_0x54492d-0x1f0;let _0x2cd706=_0x133453[_0x54492d];return _0x2cd706;},_0x5449(_0x1c728e,_0x319c3d);}exports[_0x246b7e(0x20f)]=XcodeManager;
@@ -1 +1 @@
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
+ 'use strict';var _0x40f5ec=_0x51ef;function _0x5464(){var _0x2d1efe=['__esModule','33181300FYesoF','15DGDevZ','1103271GOQApc','16164GSNSil','2656pXWebP','1077296TztZhz','178859YEIVeM','14uSQdHM','5003768FDedOo','defineProperty','3406038hSGidN','manifestSwiftTemplate'];_0x5464=function(){return _0x2d1efe;};return _0x5464();}(function(_0x598946,_0x5c28c9){var _0x53baaa=_0x51ef,_0x351b77=_0x598946();while(!![]){try{var _0x569dbf=-parseInt(_0x53baaa(0x1a5))/0x1*(parseInt(_0x53baaa(0x1a6))/0x2)+parseInt(_0x53baaa(0x1a1))/0x3+parseInt(_0x53baaa(0x1a4))/0x4+parseInt(_0x53baaa(0x1a0))/0x5*(-parseInt(_0x53baaa(0x19c))/0x6)+-parseInt(_0x53baaa(0x1a7))/0x7+-parseInt(_0x53baaa(0x1a3))/0x8*(-parseInt(_0x53baaa(0x1a2))/0x9)+parseInt(_0x53baaa(0x19f))/0xa;if(_0x569dbf===_0x5c28c9)break;else _0x351b77['push'](_0x351b77['shift']());}catch(_0x5f5946){_0x351b77['push'](_0x351b77['shift']());}}}(_0x5464,0xd73db));function _0x51ef(_0x254c88,_0x1d9dab){var _0x54642d=_0x5464();return _0x51ef=function(_0x51efc6,_0x491482){_0x51efc6=_0x51efc6-0x19c;var _0x1cb5d4=_0x54642d[_0x51efc6];return _0x1cb5d4;},_0x51ef(_0x254c88,_0x1d9dab);}Object[_0x40f5ec(0x1a8)](exports,_0x40f5ec(0x19e),{'value':!![]}),exports[_0x40f5ec(0x19d)]=void 0x0,exports[_0x40f5ec(0x19d)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20scope\x20==\x20\x22\x22\x20||\x20scope\x20==\x20\x22/\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22./\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20startUrl\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20startUrl!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20URL(string:\x20scope,\x20relativeTo:\x20startUrl)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20newUrl\x20=\x20URL(string:\x20url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20fileManager\x20=\x20FileManager.default\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20fileManager.fileExists(atPath:\x20newUrl!.path)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:\x20String\x20=\x20Bundle.main.url(forResource:\x20newUrl?.path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.query()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20(newUrl?.query())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20newUrl?.fragment()\x20!=\x20nil\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22#\x22\x20+\x20(newUrl?.fragment())!\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a\x20\x20\x20\x20case\x20fullscreen\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';
@@ -1 +1 @@
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
+ 'use strict';const _0x4171e0=_0x4907;(function(_0x187646,_0xe40f06){const _0x138bad=_0x4907,_0xfc8874=_0x187646();while(!![]){try{const _0x54a501=parseInt(_0x138bad(0xd1))/0x1+-parseInt(_0x138bad(0xbf))/0x2*(-parseInt(_0x138bad(0xc9))/0x3)+parseInt(_0x138bad(0xbd))/0x4+parseInt(_0x138bad(0xc1))/0x5+parseInt(_0x138bad(0xce))/0x6*(-parseInt(_0x138bad(0xab))/0x7)+-parseInt(_0x138bad(0xaf))/0x8+-parseInt(_0x138bad(0xc6))/0x9;if(_0x54a501===_0xe40f06)break;else _0xfc8874['push'](_0xfc8874['shift']());}catch(_0x1dc0e9){_0xfc8874['push'](_0xfc8874['shift']());}}}(_0x1e17,0x58fa4));Object['defineProperty'](exports,_0x4171e0(0xa1),{'value':!![]}),exports[_0x4171e0(0xca)]=void 0x0;const fs=require('fs'),path_1=require(_0x4171e0(0xb3)),resource_1=require(_0x4171e0(0xbc)),semver_1=require(_0x4171e0(0xc3)),file_1=require(_0x4171e0(0xcc)),{execSync,exec}=require(_0x4171e0(0xc8));class Xcodebuild{static async[_0x4171e0(0xa9)](){const _0x4dcc4a=_0x4171e0;try{await new Promise((_0x275869,_0x1e02b3)=>{const _0x29b6c6=_0x4907,_0x127fa3=resource_1['PROJECT_DIRECTORY']+_0x29b6c6(0xa2),_0x251523=execSync(new XcodebuildCMD()[_0x29b6c6(0xa9)](_0x127fa3)[_0x29b6c6(0xc2)]()[_0x29b6c6(0xb2)]);console[_0x29b6c6(0xa6)](_0x251523['toString']()),_0x275869(_0x251523);});}catch(_0x192105){console[_0x4dcc4a(0xa6)](_0x192105);}}static async['list'](){const _0x3a2120=_0x4171e0;try{await new Promise((_0x4463da,_0x3adab6)=>{const _0x37d0c4=_0x4907,_0x106125=resource_1[_0x37d0c4(0xaa)]+_0x37d0c4(0xa2),_0x2f99c2=execSync(new XcodebuildCMD()['project'](_0x106125)['list']()[_0x37d0c4(0xb2)]);console[_0x37d0c4(0xa6)](_0x2f99c2[_0x37d0c4(0xa7)]()),_0x4463da(_0x2f99c2);});}catch(_0x5464d5){console[_0x3a2120(0xa6)](_0x5464d5);}}static async[_0x4171e0(0xb8)](_0x3ab8c5){const _0xa8dd39=_0x4171e0;try{return console[_0xa8dd39(0xa6)](_0xa8dd39(0xd3)),!fs['existsSync'](resource_1[_0xa8dd39(0xd0)])&&fs[_0xa8dd39(0xc4)](resource_1[_0xa8dd39(0xd0)],{'recursive':!![]}),await new Promise((_0x755db3,_0xd31497)=>{const _0x59b4e8=_0xa8dd39,_0xd01fe3=resource_1[_0x59b4e8(0xaa)]+'/web-spatial.xcodeproj',_0x475ebb=execSync(new XcodebuildCMD()[_0x59b4e8(0xa9)](_0xd01fe3)['scheme']('web-spatial')['archive']((0x0,path_1[_0x59b4e8(0xcd)])(resource_1['PROJECT_BUILD_DIRECTORY'],'./pack'))['clean']()[_0x59b4e8(0xb2)]);let _0x175f37=_0x475ebb[_0x59b4e8(0xa7)]();if(_0x175f37[_0x59b4e8(0xb6)](_0x59b4e8(0xcf))>0x0){console[_0x59b4e8(0xa6)]('-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------'),console['log'](_0x59b4e8(0xbb));const _0x1fdae0=execSync(new XcodebuildCMD()[_0x59b4e8(0xcb)]((0x0,path_1['join'])(resource_1['PROJECT_BUILD_DIRECTORY'],_0x59b4e8(0xd2)),resource_1[_0x59b4e8(0xd0)],(0x0,path_1[_0x59b4e8(0xcd)])(resource_1[_0x59b4e8(0xa8)],_0x59b4e8(0xa5)))['allowProvisioningUpdates']()['line']);_0x175f37=_0x1fdae0[_0x59b4e8(0xa7)]();if(_0x175f37[_0x59b4e8(0xb6)](_0x59b4e8(0xba))>0x0){const _0x28277b=_0x3ab8c5!==null&&_0x3ab8c5!==void 0x0?_0x3ab8c5:'./build',_0x423c2c=(0x0,path_1['join'])(process['cwd'](),_0x28277b);!fs['existsSync'](_0x423c2c)&&fs['mkdirSync'](_0x423c2c,{'recursive':!![]}),(0x0,file_1[_0x59b4e8(0xc0)])(resource_1[_0x59b4e8(0xd0)],_0x423c2c),console['log'](_0x59b4e8(0xb0)),_0x755db3(!![]);}(0x0,semver_1[_0x59b4e8(0xb9)])(resource_1[_0x59b4e8(0xa8)]);}_0x755db3(![]);});}catch(_0x334b88){console[_0xa8dd39(0xa6)](_0x334b88);}}}exports['default']=Xcodebuild;function _0x1e17(){const _0x56362b=['XcodebuildCMD','output','../resource/file','join','12AHEBTv','ARCHIVE\x20SUCCEEDED','PROJECT_EXPORT_DIRECTORY','363237DtkXKZ','pack.xcarchive','start\x20archive','xcodebuild','__esModule','/web-spatial.xcodeproj','\x20-destination\x20\x27','\x20-scheme\x20','ExportOptions.plist','log','toString','PROJECT_BUILD_DIRECTORY','project','PROJECT_DIRECTORY','2083893AGSgMm','\x20-exportPath\x20','allowProvisioningUpdates','\x20-exportOptionsPlist\x20','763184KeoXxx','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','\x20-archivePath\x20','line','path','scheme','\x20-exportArchive\x20-archivePath\x20','indexOf','\x20-allowProvisioningUpdates','archive','clean','EXPORT\x20SUCCEEDED','start\x20export','../resource','725360kSJEkX','destination','16hUgyAq','copyDir','2675990nhSIgy','list','semver','mkdirSync','\x20archive','2447055EYOJjs','\x20clean','child_process','92763AZBIQg'];_0x1e17=function(){return _0x56362b;};return _0x1e17();}class XcodebuildCMD{constructor(){const _0x495041=_0x4171e0;this[_0x495041(0xb2)]=_0x495041(0xd4);}[_0x4171e0(0xa9)](_0x4b4776){const _0x141dbf=_0x4171e0;return this[_0x141dbf(0xb2)]+='\x20-project\x20'+_0x4b4776,this;}[_0x4171e0(0xc2)](){const _0x6a99dd=_0x4171e0;return this[_0x6a99dd(0xb2)]+='\x20-list',this;}[_0x4171e0(0xb4)](_0x424e90){const _0x53c24e=_0x4171e0;return this[_0x53c24e(0xb2)]+=_0x53c24e(0xa4)+_0x424e90,this;}[_0x4171e0(0xb8)](_0x92535f){const _0x199bdb=_0x4171e0;return this[_0x199bdb(0xb2)]+=_0x199bdb(0xb1)+_0x92535f+_0x199bdb(0xc5),this;}[_0x4171e0(0xad)](){const _0x9fbea=_0x4171e0;return this[_0x9fbea(0xb2)]+=_0x9fbea(0xb7),this;}[_0x4171e0(0xbe)](_0x217fb3){const _0x4c8d6c=_0x4171e0;return this[_0x4c8d6c(0xb2)]+=_0x4c8d6c(0xa3)+_0x217fb3+'\x27',this;}[_0x4171e0(0xcb)](_0x538de5,_0x592836,_0x342866){const _0x3eeecf=_0x4171e0;return this[_0x3eeecf(0xb2)]+=_0x3eeecf(0xb5)+_0x538de5+_0x3eeecf(0xac)+_0x592836+_0x3eeecf(0xae)+_0x342866,this;}['clean'](){const _0x54daf1=_0x4171e0;return this['line']+=_0x54daf1(0xc7),this;}}function _0x4907(_0x346b18,_0x561035){const _0x1e170f=_0x1e17();return _0x4907=function(_0x490707,_0x2d57b1){_0x490707=_0x490707-0xa1;let _0xae2ce1=_0x1e170f[_0x490707];return _0xae2ce1;},_0x4907(_0x346b18,_0x561035);}exports[_0x4171e0(0xca)]=XcodebuildCMD;
@@ -1 +1 @@
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;
1
+ 'use strict';function _0x1916(_0x18a5eb,_0x5e069c){const _0x198373=_0x1983();return _0x1916=function(_0x19167a,_0x400c65){_0x19167a=_0x19167a-0x10f;let _0x10d710=_0x198373[_0x19167a];return _0x10d710;},_0x1916(_0x18a5eb,_0x5e069c);}const _0x4ef98a=_0x1916;(function(_0x2d0c03,_0x421f5c){const _0x50de9f=_0x1916,_0x2aa97a=_0x2d0c03();while(!![]){try{const _0x4a792d=parseInt(_0x50de9f(0x13f))/0x1*(-parseInt(_0x50de9f(0x173))/0x2)+-parseInt(_0x50de9f(0x110))/0x3+parseInt(_0x50de9f(0x179))/0x4+-parseInt(_0x50de9f(0x153))/0x5*(parseInt(_0x50de9f(0x146))/0x6)+-parseInt(_0x50de9f(0x160))/0x7*(parseInt(_0x50de9f(0x13a))/0x8)+parseInt(_0x50de9f(0x158))/0x9+parseInt(_0x50de9f(0x119))/0xa;if(_0x4a792d===_0x421f5c)break;else _0x2aa97a['push'](_0x2aa97a['shift']());}catch(_0x528321){_0x2aa97a['push'](_0x2aa97a['shift']());}}}(_0x1983,0xd63a5));function _0x1983(){const _0x295b9b=['14mWTNSz','\x22,\x20url:\x20\x22','default','mainScene','../resource/load','split','updateBuildProperty','height','bindIcon','../resource','release-testing','MIDDLE_APPICON_DIRECTORY','PRODUCT_BUNDLE_IDENTIFIER','display','fixProjectFunction','version','SceneWidth','description','updateProductName','321228uRbUXq','minimal-ui','modify','PROJECT_BUILD_DIRECTORY','test','false','2403464tkUFAu','value','images','protocol_handlers','Description','loadJsonFromDisk','PROJECT_DIRECTORY','3709125aaawCC','image/','Contents.json','writeAsync','name','DEEPLINK','icon.','SceneHeight','app-store-connect','24412280bnwVQa','updateVersion','manifestSwiftTemplate','buildConfigurations','join','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','createImg','getMIME','debugging','./manifestSwiftTemplate','replace','path','pbxGroupByName','buildType','updateDeeplink','writeFileSync','stringify','pbxXCConfigurationList','../resource/imageHelper','width','1280','__esModule','project','./web-spatial/Info.plist','modifySwift','icon.png','true','updateExportOptions','ExportOptions.plist','BACK_APPICON_DIRECTORY','start_url','objects','\x22automatic\x22','1711664TUGoDe','.minimal','defaultSize','filename','PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)','1mXhhIE','ImageHelper','defineProperty','teamId','protocol','hash','enterprise','4092qFpuOD','DEVELOPMENT_TEAM','USE_MAIN_SCENE','BUILDTYPE','CURRENT_PROJECT_VERSION','SCOPE','1.0','scope','START_URL','existsSync','SceneResizability','AppName','updateTeamId','2955iFMAEB','\x22),','manifestInfo','YOURTEAMID','</string>','570150mZpbiR','xcode','mkdirSync','length','PBXGroup','buildSettings','includes','parseSync'];_0x1983=function(){return _0x295b9b;};return _0x1983();}Object[_0x4ef98a(0x141)](exports,_0x4ef98a(0x12e),{'value':!![]});const fs=require('fs'),resource_1=require(_0x4ef98a(0x169)),path_1=require(_0x4ef98a(0x124)),load_1=require(_0x4ef98a(0x164)),imageHelper_1=require(_0x4ef98a(0x12b)),manifestSwiftTemplate_1=require(_0x4ef98a(0x122)),xcode=require(_0x4ef98a(0x159)),exportOptionsXML=_0x4ef98a(0x11e),infoPlistXML='<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a';let useExportOptionsXML='';class XcodeProject{static async[_0x4ef98a(0x175)](_0x4b009c,_0x186d09,_0x35f587=![]){const _0xe98e72=_0x4ef98a;let _0x3c6cb3=xcode[_0xe98e72(0x12f)](_0x4b009c);this[_0xe98e72(0x16e)](_0x3c6cb3),_0x3c6cb3[_0xe98e72(0x15f)]();let _0x34227f=_0x186d09[_0xe98e72(0x126)];const _0x54f1da=[_0xe98e72(0x16a),_0xe98e72(0x118),_0xe98e72(0x121),_0xe98e72(0x145)];useExportOptionsXML=exportOptionsXML['replace'](_0xe98e72(0x149),_0x54f1da[_0xe98e72(0x15e)](_0x34227f)?_0x34227f:_0xe98e72(0x16a));_0x186d09[_0xe98e72(0x142)]&&this[_0xe98e72(0x152)](_0x3c6cb3,_0x186d09[_0xe98e72(0x142)]);this[_0xe98e72(0x134)]();if(_0x186d09['icon'])await this[_0xe98e72(0x168)](_0x186d09['icon']);this['bindManifestInfo'](_0x3c6cb3,_0x186d09[_0xe98e72(0x155)]['json'],_0x35f587);_0x186d09[_0xe98e72(0x16f)]?this[_0xe98e72(0x11a)](_0x3c6cb3,_0x186d09[_0xe98e72(0x16f)]):this[_0xe98e72(0x11a)](_0x3c6cb3,_0xe98e72(0x14c));try{fs[_0xe98e72(0x128)](_0x4b009c,_0x3c6cb3['writeSync']());}catch(_0x1b847f){console['log'](_0x1b847f);}}static[_0x4ef98a(0x16e)](_0xd1f8df){const _0x578029=_0x4ef98a;_0xd1f8df[_0x578029(0x125)]=function(_0x2066da){const _0x4c0bd5=_0x578029;var _0x3d5d19=this[_0x4c0bd5(0x144)][_0x4c0bd5(0x12f)][_0x4c0bd5(0x138)][_0x4c0bd5(0x15c)],_0x89bcab,_0x5073d7;for(_0x89bcab in _0x3d5d19){if(!/_comment$/[_0x4c0bd5(0x177)](_0x89bcab))continue;if(_0x3d5d19[_0x89bcab]==_0x2066da)return _0x5073d7=_0x89bcab[_0x4c0bd5(0x165)](/_comment$/)[0x0],_0x3d5d19[_0x5073d7];}return![];},_0xd1f8df['updateBuildProperty']=function(_0x1be9d9,_0x2f54c0,_0x1499b9,_0x2a6c87){const _0x32cf7b=_0x578029;let _0x49362c=[];const _0x42a34e=/_comment$/;if(_0x2a6c87){const _0x11b991=this['pbxTargetByName'](_0x2a6c87),_0x4eae1d=_0x11b991&&_0x11b991['buildConfigurationList'],_0x364303=this[_0x32cf7b(0x12a)]();for(const _0x26b091 in _0x364303){if(!_0x42a34e['test'](_0x26b091)&&_0x4eae1d===_0x26b091){const _0x4fe99d=_0x364303[_0x26b091][_0x32cf7b(0x11c)];for(const _0x43d9 of _0x4fe99d){_0x49362c['push'](_0x43d9[_0x32cf7b(0x17a)]);}break;}}}var _0x186539=this['pbxXCBuildConfigurationSection']();for(var _0x1dbe43 in _0x186539){if(!_0x42a34e[_0x32cf7b(0x177)](_0x1dbe43)){if(_0x2a6c87&&!_0x49362c[_0x32cf7b(0x15e)](_0x1dbe43))continue;var _0x49e4e5=_0x186539[_0x1dbe43];(_0x1499b9&&_0x49e4e5[_0x32cf7b(0x114)]===_0x1499b9||!_0x1499b9)&&_0x49e4e5[_0x32cf7b(0x15d)][_0x1be9d9]&&(_0x49e4e5[_0x32cf7b(0x15d)][_0x1be9d9]=_0x2f54c0);}}};}static async[_0x4ef98a(0x168)](_0x2bd54c){const _0x4b632d=_0x4ef98a;if(_0x2bd54c){const _0xa8621c=(0x0,path_1[_0x4b632d(0x11d)])(resource_1[_0x4b632d(0x10f)],resource_1[_0x4b632d(0x136)]),_0x3b3472=(0x0,path_1[_0x4b632d(0x11d)])(_0xa8621c,_0x4b632d(0x112)),_0xcac5d7=_0x4b632d(0x116)+_0x2bd54c[_0x4b632d(0x120)]()[_0x4b632d(0x123)](_0x4b632d(0x111),''),_0x3afe0e=(0x0,path_1[_0x4b632d(0x11d)])(_0xa8621c,_0xcac5d7);let _0x4e0b6e=await(0x0,load_1[_0x4b632d(0x17e)])(_0x3b3472);_0x4e0b6e[_0x4b632d(0x17b)][0x0]['filename']=_0xcac5d7,await _0x2bd54c['writeAsync'](_0x3afe0e),await fs[_0x4b632d(0x128)](_0x3b3472,JSON[_0x4b632d(0x129)](_0x4e0b6e));const _0x1d0f95=(0x0,path_1[_0x4b632d(0x11d)])(resource_1[_0x4b632d(0x10f)],resource_1[_0x4b632d(0x16b)]),_0x4704e6=(0x0,path_1[_0x4b632d(0x11d)])(_0x1d0f95,_0x4b632d(0x112)),_0x727afe=_0x4b632d(0x132),_0x13c5f0=(0x0,path_1['join'])(_0x1d0f95,_0x727afe);let _0xd9613a=await(0x0,load_1[_0x4b632d(0x17e)])(_0x4704e6),_0x425ab0=imageHelper_1[_0x4b632d(0x140)][_0x4b632d(0x11f)](0x200);_0xd9613a[_0x4b632d(0x17b)][0x0][_0x4b632d(0x13d)]=_0x727afe,await _0x425ab0[_0x4b632d(0x113)](_0x13c5f0),await fs[_0x4b632d(0x128)](_0x4704e6,JSON[_0x4b632d(0x129)](_0xd9613a));}}static['updateTeamId'](_0x475fe2,_0x45ebeb){const _0x6cd130=_0x4ef98a;_0x475fe2['updateBuildProperty'](_0x6cd130(0x147),_0x45ebeb),useExportOptionsXML=useExportOptionsXML[_0x6cd130(0x123)](_0x6cd130(0x156),_0x45ebeb);}static[_0x4ef98a(0x134)](){const _0x38cc09=_0x4ef98a;!fs[_0x38cc09(0x14f)](resource_1[_0x38cc09(0x176)])&&fs[_0x38cc09(0x15a)](resource_1[_0x38cc09(0x176)],{'recursive':!![]}),fs[_0x38cc09(0x128)]((0x0,path_1[_0x38cc09(0x11d)])(resource_1[_0x38cc09(0x176)],_0x38cc09(0x135)),useExportOptionsXML);}static['bindManifestInfo'](_0x172af3,_0x5dfb8f,_0x4c562e=![]){const _0x26c333=_0x4ef98a;var _0x4c73bd;_0x172af3[_0x26c333(0x172)](_0x5dfb8f[_0x26c333(0x114)]),_0x5dfb8f['id']&&!_0x4c562e&&_0x172af3[_0x26c333(0x166)](_0x26c333(0x16c),'\x22'+_0x5dfb8f['id']+'\x22'),this[_0x26c333(0x127)]((_0x4c73bd=_0x5dfb8f[_0x26c333(0x17c)])!==null&&_0x4c73bd!==void 0x0?_0x4c73bd:[]),this[_0x26c333(0x131)](_0x5dfb8f);}static['updateVersion'](_0x3b4beb,_0x53e4f9){const _0x3d8adb=_0x4ef98a;_0x3b4beb['updateBuildProperty'](_0x3d8adb(0x14a),_0x53e4f9);}static['updateDeeplink'](_0x144c3c){const _0x2c3e78=_0x4ef98a;let _0x3b21b7=(0x0,path_1['join'])(resource_1['PROJECT_DIRECTORY'],_0x2c3e78(0x130)),_0x3e8ad5='';for(let _0x10b713=0x0;_0x10b713<_0x144c3c[_0x2c3e78(0x15b)];_0x10b713++){_0x3e8ad5+='<string>'+_0x144c3c[_0x10b713][_0x2c3e78(0x143)]+_0x2c3e78(0x157);}const _0x45ccb5=infoPlistXML[_0x2c3e78(0x123)](_0x2c3e78(0x115),_0x3e8ad5);fs['writeFileSync'](_0x3b21b7,_0x45ccb5);}static[_0x4ef98a(0x131)](_0xbe4613){const _0x85c92f=_0x4ef98a,_0x189e2a=(0x0,path_1['join'])(resource_1[_0x85c92f(0x10f)],'./web-spatial/libs/webView/manifest.swift');let _0x37354a=manifestSwiftTemplate_1[_0x85c92f(0x11b)];_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x14e),_0xbe4613[_0x85c92f(0x137)]),_0x37354a=_0x37354a['replace'](_0x85c92f(0x14b),_0xbe4613[_0x85c92f(0x14d)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x151),_0xbe4613[_0x85c92f(0x114)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x17d),_0xbe4613[_0x85c92f(0x171)]),_0x37354a=_0x37354a[_0x85c92f(0x123)]('AppID',_0xbe4613['id']),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x13b),_0xbe4613[_0x85c92f(0x16d)]==_0x85c92f(0x174)?_0x85c92f(0x13b):'.'+_0xbe4613[_0x85c92f(0x16d)]);if(_0xbe4613['protocol_handlers']){let _0x1a580d='';for(let _0xd1d6b8=0x0;_0xd1d6b8<_0xbe4613[_0x85c92f(0x17c)]['length'];_0xd1d6b8++){_0x1a580d+='PWAProtocol(protocolValue:\x20\x22'+_0xbe4613[_0x85c92f(0x17c)][_0xd1d6b8][_0x85c92f(0x143)]+_0x85c92f(0x161)+_0xbe4613['protocol_handlers'][_0xd1d6b8]['url']+_0x85c92f(0x154);}_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x13e),_0x1a580d);}typeof _0xbe4613['mainScene']==='object'?(_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x170),_0xbe4613[_0x85c92f(0x163)]['defaultSize'][_0x85c92f(0x12c)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x117),_0xbe4613[_0x85c92f(0x163)][_0x85c92f(0x13c)][_0x85c92f(0x167)]),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x150),'\x22'+_0xbe4613['mainScene']['resizability']+'\x22'),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x148),_0x85c92f(0x133))):(_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x170),_0x85c92f(0x12d)),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x117),'1280'),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x150),_0x85c92f(0x139)),_0x37354a=_0x37354a[_0x85c92f(0x123)](_0x85c92f(0x148),_0x85c92f(0x178))),fs[_0x85c92f(0x128)](_0x189e2a,_0x37354a,'utf-8');}}exports[_0x4ef98a(0x162)]=XcodeProject;
@@ -1,13 +1,48 @@
1
+ import { BasicAppInfo, SimulatorInfo } from '../types';
1
2
  export default class Xcrun {
2
3
  static validate(path: string, key1: string, key2: string, useAccount: boolean): Promise<string>;
3
4
  static uploadPackage(path: string, key1: string, key2: string, appleId: string, useAccount: boolean): Promise<string>;
4
5
  static uploadApp(path: string, key1: string, key2: string, useAccount: boolean): Promise<string>;
5
- static runWithSimulator(appInfo: any): Promise<void>;
6
- static launchWithSimulator(bundleId: string): void;
6
+ /**
7
+ * @description
8
+ * Find suitable simulator device
9
+ * Attempt to build a testing app
10
+ * Try running the test app on the simulator
11
+ */
12
+ static runWithSimulator(): Promise<void>;
13
+ /**
14
+ * @description
15
+ * Attempt to launch the app using information from the history
16
+ */
17
+ static runWithHistory(): Promise<void>;
18
+ /**
19
+ * @description
20
+ * Find a simulator with the given deviceId
21
+ * If no deviceId is provided, find the first available simulator
22
+ * If no simulator is found, create a new simulator
23
+ * @param deviceId The deviceId of the simulator to find, defaulting to the first available simulator
24
+ * @param appInfo
25
+ * appInfo.name is used for installing applications
26
+ * appInfo.id is used to launch the application
27
+ * @returns The simulator device uuid
28
+ */
29
+ static launchWithSimulator(appInfo: BasicAppInfo, deviceId?: string, needInstall?: boolean, needFind?: boolean): string;
7
30
  static shutdownSimulator(): Promise<void>;
8
31
  private static launchSimulator;
32
+ private static buildTestApp;
9
33
  private static installApp;
10
34
  private static launchApp;
35
+ private static parseDestinationDevices;
36
+ private static parseSupportDevices;
37
+ private static parseSupportRuntimes;
11
38
  private static parseListDevices;
12
- private static findSimulator;
39
+ private static parseDeviceInfo;
40
+ static findSimulator(deviceId?: string): SimulatorInfo[];
41
+ private static searchSimulator;
42
+ static createSimulator(): {
43
+ name: string;
44
+ deviceId: string;
45
+ state: string;
46
+ };
47
+ private static listSimulator;
13
48
  }
@@ -1 +1 @@
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;}}
1
+ 'use strict';const _0xd61acb=_0x4e80;(function(_0x20be87,_0x1944a6){const _0x1f520e=_0x4e80,_0x510d57=_0x20be87();while(!![]){try{const _0x3265aa=-parseInt(_0x1f520e(0xf3))/0x1+parseInt(_0x1f520e(0xab))/0x2+parseInt(_0x1f520e(0x78))/0x3*(-parseInt(_0x1f520e(0x98))/0x4)+parseInt(_0x1f520e(0xce))/0x5*(-parseInt(_0x1f520e(0xbf))/0x6)+-parseInt(_0x1f520e(0x9a))/0x7+parseInt(_0x1f520e(0xbd))/0x8+parseInt(_0x1f520e(0x84))/0x9*(parseInt(_0x1f520e(0xea))/0xa);if(_0x3265aa===_0x1944a6)break;else _0x510d57['push'](_0x510d57['shift']());}catch(_0x30c26d){_0x510d57['push'](_0x510d57['shift']());}}}(_0x3f67,0xdfc7d));function _0x3f67(){const _0x2dc6c2=['\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','\x20--apple-id\x20','\x20shutdown\x20\x22','indexOf','log','\x20list','appleId','60210PKOZhS','uploadPackage','getSimulatorHistory','buildTestApp','\x20altool','\x20--upload-package\x20','error','\x20--apiIssuer\x20','authApi','301816cfSpdr','../resource','No\x20visionOS\x20rumtime\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','\x20list\x20devicetypes','mkdirSync','\x20--validate-app\x20-f\x20','--\x20visionOS','\x20--bundle-version\x20','\x20list\x20devices\x20\x22','/web-spatial.xcodeproj','getAppInfoRecord','try\x20create\x20a\x20visionOS\x20simulator','xcrun',',\x20name','3YWNOFl','\x20-t\x20','\x20|\x20grep\x20','path','test','length','slice','uploadApp','__esModule','parseDeviceInfo','\x20--apiKey\x20','PROJECT_DIRECTORY','4698TfwDlC','listDevices','cd\x20','PROJECT_BUILD_DIRECTORY','Build/Products/Debug-xrsimulator/','no\x20visionOS\x20simulator\x20found','\x20and\x20','launch','Apple\x20Vision\x20Pro','includes','\x20boot\x20\x22','version','parseDestinationDevices','\x22\x20\x22','\x20simctl','listSimulator','Shutdown','platform:visionOS\x20Simulator','simctl','create','350156RohOHE','existsSync','9605540rCWEDZ','runWithSimulator','No\x20Apple\x20Vision\x20Pro\x20simulator\x20found!\x20Please\x20go\x20to\x20Xcode\x20to\x20download\x20the\x20Apple\x20Vision\x20Pro\x20simulator','use\x20simulator:\x20','terminate','write','altool','\x20-u\x20','findSimulator','project','visionOS','child_process','push','launchSimulator','listDeviceTypes','execSync','installing\x20app','1248804iBPBuG','parseSupportDevices','com','id:','line','use\x20','.app','validate','\x27\x20-derivedDataPath\x20','./xcodebuild','simulator\x20is\x20already\x20shutdown','../utils/utils','parseSupportRuntimes','build\x20failed\x20on\x20','warn','launchApp','no\x20simulator\x20available','-------------------\x20build\x20end\x20-------------------','3632760iwCoYG','visionos','9259674ntDDqT','deviceId','createSimulator','find\x20simulators:',',\x20try\x20next\x20device','sort','trim','create\x20visionOS\x20simulator:\x20','join','install','\x20&&\x20xcodebuild\x20-showdestinations\x20-scheme\x20web-spatial','defineProperty','\x20list\x20runtimes','\x20----','listRuntimes','5SKAIEQ','boot','shutdownSimulator','find\x20destination\x20device:\x20','searchSimulator','recordSimulator','authAccount','default','runWithHistory','toString','\x20create\x20\x22WebSpatialSimulator\x22\x20\x22','launchWithSimulator','XcodebuildCMD','----\x20build\x20start\x20on\x20','replace','open\x20-a\x20Simulator\x20--args\x20-CurrentDeviceUDID\x20','split','\x20--verbose','platform','PROJECT_TEST_DIRECTORY','CliLog'];_0x3f67=function(){return _0x2dc6c2;};return _0x3f67();}function _0x4e80(_0x143f95,_0x3eae63){const _0x3f675a=_0x3f67();return _0x4e80=function(_0x4e8091,_0x28612f){_0x4e8091=_0x4e8091-0x6b;let _0x1a6a47=_0x3f675a[_0x4e8091];return _0x1a6a47;},_0x4e80(_0x143f95,_0x3eae63);}Object[_0xd61acb(0xca)](exports,_0xd61acb(0x80),{'value':!![]});const child_process_1=require(_0xd61acb(0xa5)),resource_1=require(_0xd61acb(0x6b)),path_1=require(_0xd61acb(0x7b)),fs=require('fs'),xcodebuild_1=require(_0xd61acb(0xb4)),file_1=require('../resource/file'),utils_1=require(_0xd61acb(0xb6)),history_1=require('../utils/history');class Xcrun{static async[_0xd61acb(0xb2)](_0x53bf46,_0x5038f2,_0x3a2ef2,_0x1ec471){const _0x15c93c=_0xd61acb,_0x506428=new XcrunCMD()[_0x15c93c(0xa0)]();_0x506428[_0x15c93c(0xb2)](_0x53bf46);_0x1ec471?_0x506428[_0x15c93c(0xd4)](_0x5038f2,_0x3a2ef2):_0x506428[_0x15c93c(0xf2)](_0x5038f2,_0x3a2ef2);_0x506428[_0x15c93c(0xe0)](_0x15c93c(0xbe));const _0x31423f=(0x0,child_process_1[_0x15c93c(0xa9)])(_0x506428[_0x15c93c(0xaf)]);return _0x31423f[_0x15c93c(0xd7)]();}static async[_0xd61acb(0xeb)](_0x245a47,_0x1e2d20,_0x4a4f74,_0x1b8378,_0x331cc0){const _0x411f9f=_0xd61acb,_0x519f0f=new XcrunCMD()['altool']();_0x519f0f[_0x411f9f(0xeb)](_0x245a47);_0x331cc0?_0x519f0f['authAccount'](_0x1e2d20,_0x4a4f74):_0x519f0f[_0x411f9f(0xf2)](_0x1e2d20,_0x4a4f74);_0x519f0f[_0x411f9f(0xe0)](_0x411f9f(0xbe)),_0x519f0f['appleId'](_0x1b8378);const _0x38f073=(0x0,child_process_1[_0x411f9f(0xa9)])(_0x519f0f[_0x411f9f(0xaf)]);return _0x38f073['toString']();}static async[_0xd61acb(0x7f)](_0x101a93,_0x5eaf62,_0x11ff47,_0x3fc336){const _0x39efa9=_0xd61acb,_0x59219a=new XcrunCMD()[_0x39efa9(0xa0)]();_0x59219a[_0x39efa9(0x7f)](_0x101a93);_0x3fc336?_0x59219a[_0x39efa9(0xd4)](_0x5eaf62,_0x11ff47):_0x59219a[_0x39efa9(0xf2)](_0x5eaf62,_0x11ff47);_0x59219a[_0x39efa9(0xe0)](_0x39efa9(0xbe));const _0x24e1ed=(0x0,child_process_1[_0x39efa9(0xa9)])(_0x59219a[_0x39efa9(0xaf)]);return _0x24e1ed[_0x39efa9(0xd7)]();}static async[_0xd61acb(0x9b)](){const _0x105530=_0xd61acb;let _0x1368c9=this['findSimulator']();!_0x1368c9[0x0]&&(_0x1368c9=[this[_0x105530(0xc1)]()]);const _0x10f53b=history_1[_0x105530(0xd5)]['getAppInfoRecord']();for(var _0x2b7c9e=0x0;_0x2b7c9e<_0x1368c9[_0x105530(0x7d)];_0x2b7c9e++){if(this['buildTestApp'](_0x1368c9[_0x2b7c9e][_0x105530(0xc0)])){const _0x30e1fd=this[_0x105530(0xd9)](_0x10f53b,_0x1368c9[_0x2b7c9e][_0x105530(0xc0)],!![],![]);history_1['default'][_0x105530(0xd3)](_0x30e1fd),history_1[_0x105530(0xd5)]['write']();return;}else utils_1[_0x105530(0xe2)][_0x105530(0xf0)](_0x105530(0xb8)+_0x1368c9[_0x2b7c9e][_0x105530(0xc0)]+_0x105530(0xc3));}utils_1[_0x105530(0xe2)]['error'](_0x105530(0xbb));}static async[_0xd61acb(0xd6)](){const _0x4190a9=_0xd61acb,_0x3d782e=history_1[_0x4190a9(0xd5)][_0x4190a9(0xec)](),_0x17f65c=history_1[_0x4190a9(0xd5)][_0x4190a9(0x74)](),_0x1e1099=this['launchWithSimulator'](_0x17f65c,_0x3d782e);history_1[_0x4190a9(0xd5)][_0x4190a9(0xd3)](_0x1e1099),history_1[_0x4190a9(0xd5)][_0x4190a9(0x9f)]();}static[_0xd61acb(0xd9)](_0x4ad7aa,_0x26803e='',_0x23e707=![],_0x225ea3=!![]){const _0x4ab596=_0xd61acb;let _0x393250,_0x17f586=![];return _0x225ea3?_0x393250=this[_0x4ab596(0xa2)](_0x26803e)[0x0]:_0x393250=this['searchSimulator'](_0x26803e),(!_0x393250||_0x393250['deviceId']==='')&&(_0x393250=this['createSimulator'](),_0x17f586=!![]),console[_0x4ab596(0xe7)](_0x4ab596(0x9d)+_0x393250['deviceId']),this[_0x4ab596(0xa7)](_0x393250),(_0x23e707||_0x17f586)&&(console[_0x4ab596(0xe7)](_0x4ab596(0xaa)),this['installApp'](resource_1['PROJECT_TEST_DIRECTORY'],_0x393250['deviceId'],_0x4ad7aa['name']),console[_0x4ab596(0xe7)]('install\x20success')),console[_0x4ab596(0xe7)]('launch\x20app'),this[_0x4ab596(0xba)](_0x393250['deviceId'],_0x4ad7aa['id']),_0x393250[_0x4ab596(0xc0)];}static async[_0xd61acb(0xd0)](){const _0x3bb944=_0xd61acb;let _0x3dab08=this[_0x3bb944(0xa2)]()[0x0];console[_0x3bb944(0xe7)]('find\x20simulator:\x20'+_0x3dab08['deviceId']);if(_0x3dab08['state']!=='Shutdown'){let _0x21c73e=new XcrunCMD()[_0x3bb944(0x96)]();_0x21c73e['shutdown'](_0x3dab08[_0x3bb944(0xc0)]),(0x0,child_process_1[_0x3bb944(0xa9)])(_0x21c73e['line']);}else console[_0x3bb944(0xe7)](_0x3bb944(0xb5));}static[_0xd61acb(0xa7)](_0x71f4d){const _0x2c28a0=_0xd61acb;if(_0x71f4d['state']===_0x2c28a0(0x94)){let _0x3d9d7c=new XcrunCMD()['simctl']();_0x3d9d7c[_0x2c28a0(0xcf)](_0x71f4d[_0x2c28a0(0xc0)]),(0x0,child_process_1['execSync'])(_0x3d9d7c[_0x2c28a0(0xaf)]),(0x0,child_process_1[_0x2c28a0(0xa9)])('sleep\x2010');}(0x0,child_process_1[_0x2c28a0(0xa9)])(_0x2c28a0(0xdd)+_0x71f4d['deviceId']);}static[_0xd61acb(0xed)](_0x5d2995){const _0x1dd82f=_0xd61acb,_0x52f627=resource_1[_0x1dd82f(0x83)]+_0x1dd82f(0x73);!fs[_0x1dd82f(0x99)](resource_1[_0x1dd82f(0x87)])&&fs[_0x1dd82f(0x6e)](resource_1[_0x1dd82f(0x87)],{'recursive':!![]});!fs[_0x1dd82f(0x99)](resource_1[_0x1dd82f(0xe1)])&&fs['mkdirSync'](resource_1[_0x1dd82f(0xe1)],{'recursive':!![]});(0x0,file_1['clearDir'])(resource_1[_0x1dd82f(0xe1)]);const _0x4ce3da=new xcodebuild_1[(_0x1dd82f(0xda))]()[_0x1dd82f(0xa3)](_0x52f627)['line']+(_0x1dd82f(0xe3)+_0x5d2995+_0x1dd82f(0xb3)+resource_1[_0x1dd82f(0xe1)]);console[_0x1dd82f(0xe7)](_0x1dd82f(0xdb)+_0x5d2995+_0x1dd82f(0xcc));try{const _0x27c50b=(0x0,child_process_1[_0x1dd82f(0xa9)])(_0x4ce3da);if(_0x27c50b[_0x1dd82f(0xd7)]()[_0x1dd82f(0x8d)]('**\x20BUILD\x20FAILED\x20**'))return![];}catch(_0x289946){}return console[_0x1dd82f(0xe7)](_0x1dd82f(0xbc)),!![];}static['installApp'](_0x2bfd93,_0x5cd157,_0x5834a8){const _0x4d7de4=_0xd61acb,_0x59610c=(0x0,path_1[_0x4d7de4(0xc7)])(_0x2bfd93,_0x4d7de4(0x88)+_0x5834a8+_0x4d7de4(0xb1));let _0x23449e=new XcrunCMD()[_0x4d7de4(0x96)]();_0x23449e['install'](_0x5cd157,_0x59610c),(0x0,child_process_1[_0x4d7de4(0xa9)])(_0x23449e[_0x4d7de4(0xaf)]);}static[_0xd61acb(0xba)](_0x50b6c3,_0xcc3f1a){const _0x17f830=_0xd61acb;try{(0x0,child_process_1[_0x17f830(0xa9)])(new XcrunCMD()[_0x17f830(0x96)]()['terminate'](_0x50b6c3,_0xcc3f1a)[_0x17f830(0xaf)]);}catch(_0x156c25){}(0x0,child_process_1[_0x17f830(0xa9)])(new XcrunCMD()[_0x17f830(0x96)]()[_0x17f830(0x8b)](_0x50b6c3,_0xcc3f1a)[_0x17f830(0xaf)]);}static[_0xd61acb(0x90)](_0xcbf254){const _0x2e9ebf=_0xd61acb;let _0x487b96=_0xcbf254[_0x2e9ebf(0xde)]('\x0a');const _0x2dc851=/^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$/;let _0x5a02a1=[];for(let _0x3bb9c3=0x0;_0x3bb9c3<_0x487b96[_0x2e9ebf(0x7d)];_0x3bb9c3++){if(_0x487b96[_0x3bb9c3][_0x2e9ebf(0x8d)](_0x2e9ebf(0x95))){const _0x373307=_0x487b96[_0x3bb9c3][_0x2e9ebf(0x7e)](_0x487b96[_0x3bb9c3][_0x2e9ebf(0xe6)](_0x2e9ebf(0xae))+0x3,_0x487b96[_0x3bb9c3][_0x2e9ebf(0xe6)](_0x2e9ebf(0x77)));_0x2dc851[_0x2e9ebf(0x7c)](_0x373307)&&(_0x5a02a1['push'](_0x373307),console['log'](_0x2e9ebf(0xd1)+_0x487b96[_0x3bb9c3]+')'));}}return _0x5a02a1;}static[_0xd61acb(0xac)](_0x579c01){const _0x2e6d9b=_0xd61acb;let _0x57b120=_0x579c01['split']('\x0a');for(let _0x685f00=0x0;_0x685f00<_0x57b120[_0x2e6d9b(0x7d)];_0x685f00++){if(_0x57b120[_0x685f00]['includes']('Apple\x20Vision\x20Pro'))return _0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)](_0x2e6d9b(0x8c),'')['trim'](),_0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)]('(',''),_0x57b120[_0x685f00]=_0x57b120[_0x685f00][_0x2e6d9b(0xdc)](')',''),_0x57b120[_0x685f00];}throw new Error(_0x2e6d9b(0x9c));}static[_0xd61acb(0xb7)](_0x14e2a4){const _0xf453f1=_0xd61acb;let _0x36864a=_0x14e2a4[_0xf453f1(0xde)]('\x0a');for(let _0x395cb6=0x0;_0x395cb6<_0x36864a[_0xf453f1(0x7d)];_0x395cb6++){if(_0x36864a[_0x395cb6][_0xf453f1(0x8d)](_0xf453f1(0xa4)))return _0x36864a[_0x395cb6][_0xf453f1(0x7e)](_0x36864a[_0x395cb6][_0xf453f1(0xe6)](_0xf453f1(0xad)))['trim']();}throw new Error(_0xf453f1(0x6c));}static['parseListDevices'](_0x20652f){const _0x47860b=_0xd61acb;let _0x4c4735=_0x20652f[_0x47860b(0xde)]('\x0a'),_0xd4f521=[],_0x1f315a=-0x1;for(let _0x197059=0x0;_0x197059<_0x4c4735['length'];_0x197059++){if(_0x4c4735[_0x197059][_0x47860b(0x8d)](_0x47860b(0x70)))_0x1f315a=_0x197059;else{if(_0x1f315a>0x0){if(_0x4c4735[_0x197059]['includes']('--\x20'))break;_0x4c4735[_0x197059][_0x47860b(0x7d)]>0x0&&_0xd4f521[_0x47860b(0xa6)](this[_0x47860b(0x81)](_0x4c4735[_0x197059]));}}}return _0xd4f521;}static[_0xd61acb(0x81)](_0x1092c){const _0x566781=_0xd61acb,_0xc3c966=_0x1092c[_0x566781(0xde)]('('),_0xfe9ba2={'name':_0xc3c966[0x0]['trim'](),'deviceId':_0xc3c966[0x1][_0x566781(0xde)](')')[0x0][_0x566781(0xc5)](),'state':_0xc3c966[0x2][_0x566781(0xde)](')')[0x0][_0x566781(0xc5)]()};return _0xfe9ba2;}static[_0xd61acb(0xa2)](_0x2d9d38){const _0xfcf48f=_0xd61acb;let _0x58802c=[_0x2d9d38!==null&&_0x2d9d38!==void 0x0?_0x2d9d38:''];const _0x5dafac=(0x0,child_process_1[_0xfcf48f(0xa9)])(_0xfcf48f(0x86)+resource_1['PROJECT_DIRECTORY']+_0xfcf48f(0xc9)),_0x1126f2=this['parseDestinationDevices'](_0x5dafac[_0xfcf48f(0xd7)]());_0x58802c=[..._0x58802c,..._0x1126f2];let _0x17b803=this[_0xfcf48f(0x93)]();return _0x17b803[_0xfcf48f(0xc4)]((_0x172a0e,_0x44510f)=>{const _0x4dadec=_0xfcf48f,_0x4452f8=_0x58802c[_0x4dadec(0xe6)](_0x172a0e[_0x4dadec(0xc0)]),_0x3125bd=_0x58802c[_0x4dadec(0xe6)](_0x44510f['deviceId']);if(_0x4452f8!==-0x1&&_0x3125bd!==-0x1)return _0x4452f8-_0x3125bd;else{if(_0x4452f8!==-0x1)return-0x1;else{if(_0x3125bd!==-0x1)return 0x1;}}return 0x0;}),console['log'](_0xfcf48f(0xc2)),console[_0xfcf48f(0xe7)](_0x17b803),_0x17b803;}static[_0xd61acb(0xd2)](_0x44c25d){const _0x410e28=_0xd61acb,_0x157702=new XcrunCMD()[_0x410e28(0x96)]()[_0x410e28(0x85)](_0x410e28(0x8c))['line']+(_0x410e28(0x7a)+_0x44c25d);console['log'](_0x157702);let _0x3af0bf=(0x0,child_process_1['execSync'])(_0x157702);return console[_0x410e28(0xe7)](_0x3af0bf[_0x410e28(0xd7)]()),this[_0x410e28(0x81)](_0x3af0bf['toString']());}static[_0xd61acb(0xc1)](){const _0x32b850=_0xd61acb;utils_1[_0x32b850(0xe2)][_0x32b850(0xb9)](_0x32b850(0x89)),utils_1[_0x32b850(0xe2)][_0x32b850(0xb9)](_0x32b850(0x75));let _0x540a51=(0x0,child_process_1[_0x32b850(0xa9)])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0xa8)]()['line']);const _0x25d365=this[_0x32b850(0xac)](_0x540a51[_0x32b850(0xd7)]());_0x540a51=(0x0,child_process_1['execSync'])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0xcd)]()['line']);const _0x4e0e9b=this['parseSupportRuntimes'](_0x540a51[_0x32b850(0xd7)]());utils_1[_0x32b850(0xe2)]['info'](_0x32b850(0xb0)+_0x25d365+_0x32b850(0x8a)+_0x4e0e9b+'\x20to\x20create\x20visionOS\x20simulator'),_0x540a51=(0x0,child_process_1[_0x32b850(0xa9)])(new XcrunCMD()[_0x32b850(0x96)]()[_0x32b850(0x97)](_0x25d365,_0x4e0e9b)[_0x32b850(0xaf)]);const _0x46f17a=_0x540a51[_0x32b850(0xd7)]()[_0x32b850(0xc5)]();return console['log'](_0x32b850(0xc6)+_0x46f17a),{'name':'WebSpatial\x20Simulator','deviceId':_0x46f17a,'state':_0x32b850(0x94)};}static['listSimulator'](){const _0x4b81c2=_0xd61acb;let _0x37ae0c=(0x0,child_process_1[_0x4b81c2(0xa9)])(new XcrunCMD()[_0x4b81c2(0x96)]()[_0x4b81c2(0x85)]('Apple\x20Vision\x20Pro')[_0x4b81c2(0xaf)]);return this['parseListDevices'](_0x37ae0c[_0x4b81c2(0xd7)]());}}exports[_0xd61acb(0xd5)]=Xcrun;class XcrunCMD{constructor(){const _0x56d6d5=_0xd61acb;this[_0x56d6d5(0xaf)]=_0x56d6d5(0x76);}['altool'](){const _0x463ba0=_0xd61acb;return this['line']+=_0x463ba0(0xee),this;}[_0xd61acb(0x96)](){const _0x2a8e46=_0xd61acb;return this[_0x2a8e46(0xaf)]+=_0x2a8e46(0x92),this;}['list'](){const _0x4eb5fe=_0xd61acb;return this['line']+=_0x4eb5fe(0xe8),this;}['listDevices'](_0x5a23be){const _0x50c17e=_0xd61acb;return this[_0x50c17e(0xaf)]+=_0x50c17e(0x72)+_0x5a23be+'\x22',this;}[_0xd61acb(0xa8)](){const _0x563b96=_0xd61acb;return this[_0x563b96(0xaf)]+=_0x563b96(0x6d),this;}['listRuntimes'](){const _0x406b06=_0xd61acb;return this[_0x406b06(0xaf)]+=_0x406b06(0xcb),this;}[_0xd61acb(0xb2)](_0x368fce){const _0x53e96c=_0xd61acb;return this['line']+=_0x53e96c(0x6f)+_0x368fce,this;}[_0xd61acb(0x7f)](_0x5b0c95){return this['line']+='\x20--upload-app\x20-f\x20'+_0x5b0c95,this;}[_0xd61acb(0xeb)](_0x96b5ee){const _0xbbb83=_0xd61acb;return this['line']+=_0xbbb83(0xef)+_0x96b5ee,this;}['authAccount'](_0x1299b6,_0x4e8072){const _0x120760=_0xd61acb;return this[_0x120760(0xaf)]+=_0x120760(0xa1)+_0x1299b6+'\x20-p\x20'+_0x4e8072,this;}[_0xd61acb(0xf2)](_0x3965d8,_0x3502a5){const _0x1a2567=_0xd61acb;return this['line']+=_0x1a2567(0x82)+_0x3965d8+_0x1a2567(0xf1)+_0x3502a5,this;}[_0xd61acb(0xe9)](_0x5588d1){const _0x3f5504=_0xd61acb;return this['line']+=_0x3f5504(0xe4)+_0x5588d1,this;}['platform'](_0x49c4cb){const _0x2e7c42=_0xd61acb;return this['line']+=_0x2e7c42(0x79)+_0x49c4cb,this;}[_0xd61acb(0x8f)](_0x46f80e){const _0x12da92=_0xd61acb;return this[_0x12da92(0xaf)]+=_0x12da92(0x71)+_0x46f80e,this;}['verbose'](){const _0x5f28a0=_0xd61acb;return this[_0x5f28a0(0xaf)]+=_0x5f28a0(0xdf),this;}['create'](_0x23f3d1,_0x57f228){const _0x4c76b3=_0xd61acb;return this[_0x4c76b3(0xaf)]+=_0x4c76b3(0xd8)+_0x23f3d1+_0x4c76b3(0x91)+_0x57f228+'\x22',this;}['shutdown'](_0xfddc45){const _0xa02873=_0xd61acb;return this[_0xa02873(0xaf)]+=_0xa02873(0xe5)+_0xfddc45+'\x22',this;}[_0xd61acb(0xcf)](_0x12df37){const _0x1002a8=_0xd61acb;return this[_0x1002a8(0xaf)]+=_0x1002a8(0x8e)+_0x12df37+'\x22',this;}[_0xd61acb(0xc8)](_0x2dd1c4,_0x396b45){const _0x5bc12a=_0xd61acb;return this[_0x5bc12a(0xaf)]+='\x20install\x20\x22'+_0x2dd1c4+_0x5bc12a(0x91)+_0x396b45+'\x22',this;}[_0xd61acb(0x8b)](_0xac48f5,_0x4583ac){const _0x3b5ecb=_0xd61acb;return this['line']+='\x20launch\x20\x22'+_0xac48f5+_0x3b5ecb(0x91)+_0x4583ac+'\x22',this;}[_0xd61acb(0x9e)](_0x566c6a,_0x1ec284){const _0x54c6d5=_0xd61acb;return this[_0x54c6d5(0xaf)]+='\x20terminate\x20\x22'+_0x566c6a+_0x54c6d5(0x91)+_0x1ec284+'\x22',this;}}