@webspatial/builder 0.1.13 → 0.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/lib/cmds/build.d.ts +4 -4
- package/dist/lib/cmds/build.js +1 -1
- package/dist/lib/cmds/check.d.ts +2 -3
- package/dist/lib/cmds/check.js +1 -1
- package/dist/lib/cmds/help.js +1 -1
- package/dist/lib/cmds/launch.js +1 -1
- package/dist/lib/cmds/shutdown.js +1 -1
- package/dist/lib/cmds/version.d.ts +1 -2
- package/dist/lib/cmds/version.js +1 -1
- package/dist/lib/pwa/config.js +1 -1
- package/dist/lib/pwa/index.d.ts +4 -15
- package/dist/lib/pwa/index.js +1 -1
- package/dist/lib/pwa/validate.js +1 -1
- package/dist/lib/resource/file.js +1 -1
- package/dist/lib/resource/imageHelper.js +1 -1
- package/dist/lib/resource/index.d.ts +2 -1
- package/dist/lib/resource/index.js +1 -1
- package/dist/lib/resource/load.js +1 -1
- package/dist/lib/types.d.ts +27 -0
- package/dist/lib/types.js +1 -0
- package/dist/lib/utils/CustomError.js +1 -1
- package/dist/lib/utils/FetchUtils-1.js +1 -1
- package/dist/lib/utils/Log.js +1 -1
- package/dist/lib/utils/fetch.js +1 -1
- package/dist/lib/utils/history.d.ts +15 -0
- package/dist/lib/utils/history.js +1 -0
- package/dist/lib/utils/messages.js +1 -1
- package/dist/lib/utils/utils.d.ts +2 -0
- package/dist/lib/utils/utils.js +1 -1
- package/dist/lib/xcode/index.d.ts +3 -1
- package/dist/lib/xcode/index.js +1 -1
- package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
- package/dist/lib/xcode/xcodebuild.js +1 -1
- package/dist/lib/xcode/xcodeproject.js +1 -1
- package/dist/lib/xcode/xcrun.d.ts +38 -3
- package/dist/lib/xcode/xcrun.js +1 -1
- package/package.json +4 -3
- package/dist/lib/Cli.d.ts +0 -5
- package/dist/lib/Cli.js +0 -1
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x263fe5=_0x4ad4;(function(_0x59abef,_0x2eb92b){const _0x22859d=_0x4ad4,_0x299b2f=_0x59abef();while(!![]){try{const _0x3a7c84=-parseInt(_0x22859d(0x1c4))/0x1*(parseInt(_0x22859d(0x1fd))/0x2)+parseInt(_0x22859d(0x1b6))/0x3+parseInt(_0x22859d(0x1bf))/0x4+parseInt(_0x22859d(0x1f2))/0x5+parseInt(_0x22859d(0x1c1))/0x6*(-parseInt(_0x22859d(0x1f4))/0x7)+-parseInt(_0x22859d(0x1ce))/0x8+-parseInt(_0x22859d(0x1f6))/0x9*(-parseInt(_0x22859d(0x1e2))/0xa);if(_0x3a7c84===_0x2eb92b)break;else _0x299b2f['push'](_0x299b2f['shift']());}catch(_0x36b0f6){_0x299b2f['push'](_0x299b2f['shift']());}}}(_0x2f05,0xa85f3));Object[_0x263fe5(0x1d5)](exports,_0x263fe5(0x1ca),{'value':!![]});const commander_1=require(_0x263fe5(0x1c0)),semver_1=require(_0x263fe5(0x1e6)),FetchUtils_1_1=require(_0x263fe5(0x1eb)),build_1=require(_0x263fe5(0x1e4)),version_1=require(_0x263fe5(0x1de)),fetch_1=require('./lib/utils/fetch'),launch_1=require('./lib/cmds/launch'),shutdown_1=require('./lib/cmds/shutdown');function _0x2f05(){const _0x3fee88=['./lib/cmds/version','bundle\x20id','getVersion','--manifest\x20<manifest>','243850DfSdVV','manifest\x20url','./lib/cmds/build','Shutdown\x20Simulator','semver','node','username','--project\x20<project>','--bundle-id\x20<bundleId>','./lib/utils/FetchUtils-1','argv','name','Command','app\x20build\x20type','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','--manifest-url\x20<manifest-url>','2786475sVQYJI','webspatial-builder','7ONHbEv','--export\x20<export>','459aIIOWq','exports','--buildType\x20<buildType>','log','option','fetchUtils','run\x20without\x20build','2tRAZkx','2004600hozmBp','setDecompressResponseBuffer','Launch\x20WebSpatial\x20App','team\x20id','--teamId\x20<teamId>','requiredOption','--u\x20<username>','action','--tryWithoutBuild\x20<tryWithoutBuild>','1102156wydgdl','commander','5975418ExHCOi','build','run','599759WLBtYM','project\x20path','description','parseAsync','--base\x20<base>','--platform\x20<platform>','__esModule','configureHelp','setDownloadFile','fetch','3674848FSQjDA','base\x20path','command','Publish\x20WebSpatial\x20App','app\x20version','--manifest-url\x20<manifestUrl>','export\x20path','defineProperty','version','xr\x20platform','store','manifest\x20path','versions','--version\x20<version>','shutdown','launch'];_0x2f05=function(){return _0x3fee88;};return _0x2f05();}module[_0x263fe5(0x1f7)]=async()=>{const _0x3d385b=_0x263fe5;if((0x0,semver_1['major'])(process[_0x3d385b(0x1da)]['node'])<0xe)throw new Error('Current\x20Node.js\x20version\x20is\x20'+process['versions'][_0x3d385b(0x1e7)]+'.'+_0x3d385b(0x1f0));const _0x5afc67=new commander_1[(_0x3d385b(0x1ee))]();FetchUtils_1_1[_0x3d385b(0x1fb)]['setFetch'](fetch_1[_0x3d385b(0x1cd)]),FetchUtils_1_1[_0x3d385b(0x1fb)][_0x3d385b(0x1cc)](fetch_1['downloadFile']),FetchUtils_1_1['fetchUtils'][_0x3d385b(0x1b7)](fetch_1['decompressResponseBuffer']),await setupCommands(_0x5afc67),await _0x5afc67[_0x3d385b(0x1c7)](process[_0x3d385b(0x1ec)]);};function _0x4ad4(_0x96da52,_0x3d1227){const _0x2f0585=_0x2f05();return _0x4ad4=function(_0x4ad43a,_0x12e14b){_0x4ad43a=_0x4ad43a-0x1b6;let _0x4c1ef7=_0x2f0585[_0x4ad43a];return _0x4c1ef7;},_0x4ad4(_0x96da52,_0x3d1227);}async function setupCommands(_0x530af2){const _0x3def37=_0x263fe5,_0x24a66f=await(0x0,version_1[_0x3def37(0x1e0)])();_0x530af2[_0x3def37(0x1ed)](_0x3def37(0x1f3))[_0x3def37(0x1c6)]('WebSpatial\x20Builder\x20is\x20a\x20client-side\x20CLI\x20tool\x20used\x20to\x20generate\x20cross\x20platform\x20XRApp\x20projects.')[_0x3def37(0x1d6)](_0x24a66f,'-v,\x20--version')[_0x3def37(0x1cb)]({'showGlobalOptions':!![]}),_0x530af2[_0x3def37(0x1d0)](_0x3def37(0x1c3))[_0x3def37(0x1c6)]('By\x20compiling\x20or\x20running\x20directly\x20on\x20the\x20simulator\x20the\x20WebSpatial\x20App')['option'](_0x3def37(0x1e1),_0x3def37(0x1d9))[_0x3def37(0x1fa)](_0x3def37(0x1e9),'project\x20path')[_0x3def37(0x1fa)](_0x3def37(0x1d3),_0x3def37(0x1e3))[_0x3def37(0x1fa)](_0x3def37(0x1c9),'xr\x20platform')[_0x3def37(0x1fa)](_0x3def37(0x1c8),_0x3def37(0x1cf))['option'](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1fa)](_0x3def37(0x1be),_0x3def37(0x1fc))['action'](async _0x1f7db8=>{const _0x513b79=_0x3def37;await(0x0,build_1[_0x513b79(0x1c3)])(_0x1f7db8);}),_0x530af2[_0x3def37(0x1d0)]('build')[_0x3def37(0x1c6)]('Build\x20WebSpatial\x20App')[_0x3def37(0x1fa)](_0x3def37(0x1e1),_0x3def37(0x1d9))[_0x3def37(0x1fa)]('--project\x20<project>',_0x3def37(0x1c5))[_0x3def37(0x1fa)](_0x3def37(0x1f1),_0x3def37(0x1e3))[_0x3def37(0x1fa)](_0x3def37(0x1c9),_0x3def37(0x1d7))[_0x3def37(0x1fa)](_0x3def37(0x1db),'app\x20version')['option'](_0x3def37(0x1f8),_0x3def37(0x1ef))[_0x3def37(0x1fa)]('--export\x20<export>',_0x3def37(0x1d4))[_0x3def37(0x1fa)](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1bb)]('--base\x20<base>',_0x3def37(0x1cf))['requiredOption'](_0x3def37(0x1ba),_0x3def37(0x1b9))[_0x3def37(0x1bd)](async _0x2a560a=>{const _0x2e16a2=_0x3def37;console[_0x2e16a2(0x1f9)](_0x2a560a),await(0x0,build_1[_0x2e16a2(0x1c2)])(_0x2a560a);}),_0x530af2[_0x3def37(0x1d0)]('publish')[_0x3def37(0x1c6)](_0x3def37(0x1d1))['option'](_0x3def37(0x1e1),'manifest\x20path')[_0x3def37(0x1fa)](_0x3def37(0x1e9),'project\x20path')[_0x3def37(0x1fa)]('--manifest-url\x20<manifestUrl>',_0x3def37(0x1e3))['option'](_0x3def37(0x1c9),_0x3def37(0x1d7))['option'](_0x3def37(0x1f8),'app\x20build\x20type')[_0x3def37(0x1fa)](_0x3def37(0x1f5),_0x3def37(0x1d4))[_0x3def37(0x1fa)](_0x3def37(0x1ea),_0x3def37(0x1df))[_0x3def37(0x1bb)](_0x3def37(0x1c8),_0x3def37(0x1cf))[_0x3def37(0x1bb)](_0x3def37(0x1ba),_0x3def37(0x1b9))[_0x3def37(0x1bb)]('--version\x20<version>',_0x3def37(0x1d2))[_0x3def37(0x1bb)](_0x3def37(0x1bc),_0x3def37(0x1e8))[_0x3def37(0x1bb)]('--p\x20<password>','password')[_0x3def37(0x1bd)](async _0x5d2d74=>{const _0x5eb10c=_0x3def37;console[_0x5eb10c(0x1f9)](_0x5d2d74),await(0x0,build_1[_0x5eb10c(0x1d8)])(_0x5d2d74);}),_0x530af2[_0x3def37(0x1d0)]('launch')[_0x3def37(0x1c6)](_0x3def37(0x1b8))[_0x3def37(0x1fa)](_0x3def37(0x1ea),'bundle\x20id')[_0x3def37(0x1bd)](async _0x549555=>{const _0x452354=_0x3def37;console[_0x452354(0x1f9)](_0x549555),await(0x0,launch_1[_0x452354(0x1dd)])(_0x549555);}),_0x530af2[_0x3def37(0x1d0)](_0x3def37(0x1dc))['description'](_0x3def37(0x1e5))[_0x3def37(0x1bd)](async _0xc6432d=>{const _0x30381e=_0x3def37;console[_0x30381e(0x1f9)](_0xc6432d),await(0x0,shutdown_1[_0x30381e(0x1dc)])(_0xc6432d);});}
|
package/dist/lib/cmds/build.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function store(args:
|
|
4
|
-
export declare function run(args:
|
|
1
|
+
import { ManifestInfo } from '../types';
|
|
2
|
+
export declare function build(args: any): Promise<ManifestInfo>;
|
|
3
|
+
export declare function store(args: any): Promise<void>;
|
|
4
|
+
export declare function run(args: any): Promise<void>;
|
package/dist/lib/cmds/build.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0x2629(){const _0x210f6a=['1012602NLtHgL','json','111464WSEidw','checkStoreParams','__esModule','stringify','./check','640450HyVQuX','35uYnEGh','export','fromNet','buildType','-------------------\x20parse\x20start\x20-------------------','checkManifest','XcodeManager','3950710iROcHW','platform','ResourceManager','-------------------\x20parse\x20end\x20-------------------','generator','parseProject','project','6546276RoQLyz','1464876rUpPrJ','../pwa','recordManifest','../utils/history','runWithHistory','dist','store','runWithSimulator','upload','../xcode','true','WebSpatialTest','name','default','teamId','22UztAVM','build','285HoaFDG','log','1GmRWXk','7602DFcDhH','PWAGenerator','checkPlatformPath'];_0x2629=function(){return _0x210f6a;};return _0x2629();}const _0x359a3f=_0x5afc;function _0x5afc(_0x473287,_0x1de42f){const _0x262978=_0x2629();return _0x5afc=function(_0x5afc02,_0x4ebb62){_0x5afc02=_0x5afc02-0x75;let _0x2c8d7a=_0x262978[_0x5afc02];return _0x2c8d7a;},_0x5afc(_0x473287,_0x1de42f);}(function(_0x294e08,_0x59bd14){const _0x103963=_0x5afc,_0x5abf8b=_0x294e08();while(!![]){try{const _0x2f2518=-parseInt(_0x103963(0x7b))/0x1*(-parseInt(_0x103963(0x86))/0x2)+-parseInt(_0x103963(0x7f))/0x3+parseInt(_0x103963(0x96))/0x4+-parseInt(_0x103963(0x79))/0x5*(-parseInt(_0x103963(0x7c))/0x6)+parseInt(_0x103963(0x87))/0x7*(parseInt(_0x103963(0x81))/0x8)+parseInt(_0x103963(0x95))/0x9+parseInt(_0x103963(0x8e))/0xa*(-parseInt(_0x103963(0x77))/0xb);if(_0x2f2518===_0x59bd14)break;else _0x5abf8b['push'](_0x5abf8b['shift']());}catch(_0x5d19bc){_0x5abf8b['push'](_0x5abf8b['shift']());}}}(_0x2629,0x687f0));Object['defineProperty'](exports,_0x359a3f(0x83),{'value':!![]}),exports[_0x359a3f(0x78)]=build,exports[_0x359a3f(0x9c)]=store,exports['run']=run;const pwa_1=require(_0x359a3f(0x97)),resource_1=require('../resource'),xcode_1=require(_0x359a3f(0x9f)),check_1=require(_0x359a3f(0x85)),history_1=require(_0x359a3f(0x99));async function build(_0x2604a7){const _0x4275c6=_0x359a3f;var _0x492850;console[_0x4275c6(0x7a)]('-------------------\x20parse\x20start\x20-------------------'),resource_1['ResourceManager']['checkPlatformPath'](_0x2604a7[_0x4275c6(0x8f)]);const _0x164989=await doPwa(_0x2604a7),_0x59998c=await doReadyProject((_0x492850=_0x2604a7[_0x4275c6(0x94)])!==null&&_0x492850!==void 0x0?_0x492850:_0x4275c6(0x9b),_0x164989);return await doXcode(_0x2604a7,_0x59998c,_0x164989),console[_0x4275c6(0x7a)](_0x4275c6(0x91)),await xcode_1[_0x4275c6(0x8d)]['build'](_0x2604a7[_0x4275c6(0x88)]),_0x164989;}async function store(_0x227eb1){const _0x13a689=_0x359a3f;resource_1[_0x13a689(0x90)]['checkPlatformPath'](_0x227eb1[_0x13a689(0x8f)]),(0x0,check_1[_0x13a689(0x82)])(_0x227eb1);let _0x5f067c={'name':_0x13a689(0xa1)};_0x227eb1['buildType']='app-store-connect';if(_0x227eb1[_0x13a689(0xa2)])_0x5f067c[_0x13a689(0xa2)]=_0x227eb1['name'];else{const _0x5b9003=await build(_0x227eb1);_0x5f067c[_0x13a689(0xa2)]=_0x5b9003[_0x13a689(0x80)][_0x13a689(0xa2)];}await xcode_1[_0x13a689(0x8d)][_0x13a689(0x9e)](_0x227eb1,_0x5f067c);}async function run(_0x364ebf){const _0x2440cc=_0x359a3f;var _0x3cddcf;const _0x407334=JSON[_0x2440cc(0x84)](_0x364ebf);history_1[_0x2440cc(0x75)]['init'](_0x407334),console[_0x2440cc(0x7a)](_0x2440cc(0x8b)),resource_1[_0x2440cc(0x90)][_0x2440cc(0x7e)](_0x364ebf[_0x2440cc(0x8f)]);const _0x17fb5d=await doPwa(_0x364ebf,!![]);history_1['default'][_0x2440cc(0x98)](_0x17fb5d[_0x2440cc(0x80)]);if(_0x17fb5d[_0x2440cc(0x89)]||_0x364ebf['tryWithoutBuild']===_0x2440cc(0xa0)){if(history_1['default'][_0x2440cc(0x8c)](_0x17fb5d[_0x2440cc(0x80)])){console[_0x2440cc(0x7a)]('Same\x20as\x20the\x20previous\x20record'),await xcode_1[_0x2440cc(0x8d)][_0x2440cc(0x9a)]();return;}}const _0xccabe1=await doReadyProject((_0x3cddcf=_0x364ebf[_0x2440cc(0x94)])!==null&&_0x3cddcf!==void 0x0?_0x3cddcf:_0x2440cc(0x9b),_0x17fb5d);await doXcode(_0x364ebf,_0xccabe1,_0x17fb5d,!![]),console['log'](_0x2440cc(0x91)),await xcode_1[_0x2440cc(0x8d)][_0x2440cc(0x9d)]();}async function doPwa(_0x23f4fd,_0x2122c1=![]){const _0x3851a3=_0x359a3f;return(0x0,check_1['checkBuildParams'])(_0x23f4fd,_0x2122c1),await pwa_1[_0x3851a3(0x7d)][_0x3851a3(0x92)](_0x23f4fd,_0x2122c1);}async function doReadyProject(_0x55d9a4,_0x8e232f){const _0x3d6c4d=_0x359a3f;return!_0x8e232f[_0x3d6c4d(0x89)]&&(await resource_1[_0x3d6c4d(0x90)]['moveProjectFrom'](_0x55d9a4),console[_0x3d6c4d(0x7a)]('move\x20web\x20project:\x20ok')),await resource_1['ResourceManager']['generateIcon'](_0x8e232f);}async function doXcode(_0x3ff0e9,_0x11b71e,_0x5111a6,_0x57063b=![]){const _0x73fb9=_0x359a3f;await xcode_1['XcodeManager'][_0x73fb9(0x93)]({'icon':_0x11b71e,'manifestInfo':_0x5111a6,'teamId':_0x3ff0e9[_0x73fb9(0x76)],'version':_0x3ff0e9['version'],'buildType':_0x3ff0e9[_0x73fb9(0x8a)],'export':_0x3ff0e9[_0x73fb9(0x88)]},_0x57063b);}
|
package/dist/lib/cmds/check.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function
|
|
3
|
-
export declare function checkStoreParams(args: ParsedArgs): void;
|
|
1
|
+
export declare function checkBuildParams(args: any, isDev?: boolean): void;
|
|
2
|
+
export declare function checkStoreParams(args: any): void;
|
package/dist/lib/cmds/check.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x3bb6a6=_0x22a8;(function(_0x3a1af6,_0x1fa67f){const _0x544f8c=_0x22a8,_0x5ad900=_0x3a1af6();while(!![]){try{const _0x5cebb8=-parseInt(_0x544f8c(0xd8))/0x1+-parseInt(_0x544f8c(0xe0))/0x2*(parseInt(_0x544f8c(0xe4))/0x3)+-parseInt(_0x544f8c(0xd2))/0x4*(-parseInt(_0x544f8c(0xe9))/0x5)+-parseInt(_0x544f8c(0xdb))/0x6*(parseInt(_0x544f8c(0xeb))/0x7)+-parseInt(_0x544f8c(0xe5))/0x8*(-parseInt(_0x544f8c(0xd6))/0x9)+parseInt(_0x544f8c(0xec))/0xa*(parseInt(_0x544f8c(0xdf))/0xb)+parseInt(_0x544f8c(0xe1))/0xc*(parseInt(_0x544f8c(0xe6))/0xd);if(_0x5cebb8===_0x1fa67f)break;else _0x5ad900['push'](_0x5ad900['shift']());}catch(_0x26f1e2){_0x5ad900['push'](_0x5ad900['shift']());}}}(_0x5301,0x57eb4));function _0x5301(){const _0x55f21a=['--teamId\x20is\x20required','228126wpPhok','version\x20is\x20required','--u\x20and\x20--p\x20is\x20required','51762bvCuFU','defineProperty','pop','base','55xwMrwH','10nUIZLX','48VBaJCH','teamId','../pwa/validate','370725nzHVLi','8naLpLN','198146wcyzjC','version','The\x20base\x20parameter\x20must\x20be\x20a\x20path\x20or\x20url\x20and\x20cannot\x20contain\x20parameters\x20or\x20suffixes.','899785aeDBzE','manifest','42Cntgab','922270MjwWqt','test','--manifest\x20and\x20--manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','checkStoreParams','16UkurEl','checkBuildParams','search','manifest-url','143532SDxAIc'];_0x5301=function(){return _0x55f21a;};return _0x5301();}function _0x22a8(_0x1b4771,_0x54dab2){const _0x530159=_0x5301();return _0x22a8=function(_0x22a831,_0x1fa1d9){_0x22a831=_0x22a831-0xcf;let _0xbe6f94=_0x530159[_0x22a831];return _0xbe6f94;},_0x22a8(_0x1b4771,_0x54dab2);}Object[_0x3bb6a6(0xdc)](exports,'__esModule',{'value':!![]}),exports[_0x3bb6a6(0xd3)]=checkBuildParams,exports[_0x3bb6a6(0xd1)]=checkStoreParams;const validate_1=require(_0x3bb6a6(0xe3));function checkBuildParams(_0x51b951,_0x4b74fd=![]){const _0x12753a=_0x3bb6a6;if(_0x51b951[_0x12753a(0xea)]&&_0x51b951[_0x12753a(0xd5)])throw new Error(_0x12753a(0xd0));if(!_0x51b951[_0x12753a(0xe2)]&&!_0x4b74fd)throw new Error(_0x12753a(0xd7));if(_0x51b951[_0x12753a(0xde)]){if((0x0,validate_1['validateURL'])(_0x51b951[_0x12753a(0xde)]))try{const _0x2b18c3=new URL(_0x51b951[_0x12753a(0xde)]);if(_0x2b18c3[_0x12753a(0xd4)]||_0x2b18c3['hash'])throw new Error(_0x12753a(0xe8));}catch(_0x28fe0){throw new Error(_0x12753a(0xe8));}else{const _0x3e2f2a=/(\?.*|\.\w+|#.*)$/,_0x5919ab=_0x51b951[_0x12753a(0xde)]['split']('/')[_0x12753a(0xdd)]()||'';if(_0x3e2f2a[_0x12753a(0xcf)](_0x5919ab))throw new Error(_0x12753a(0xe8));}}}function checkStoreParams(_0x1443e1){const _0x3dcaa6=_0x3bb6a6;if(!(_0x1443e1['u']&&_0x1443e1['p']))throw new Error(_0x3dcaa6(0xda));if(!_0x1443e1[_0x3dcaa6(0xe7)])throw new Error(_0x3dcaa6(0xd9));}
|
package/dist/lib/cmds/help.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0xd377(){const _0x3d0687=['ConsoleLog','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','9RJxoEC','dev','help','1943416BIOUsw','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','429736YVziiX','help\x20................\x20shows\x20this\x20menu','build','info','join','1330235TSUXfK','1227484KZCFep','9187724RGgsqs','../utils/Log','1133ZRozFR','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','publish','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','1RXCSAT','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','__esModule','webspatial\x20[command]\x20<options>','main','Usage:','run\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','175gEblJw','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','18zFoddm','defineProperty','6EdwQwM','112260LvdAGY','11542460MbyAqw','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'];_0xd377=function(){return _0x3d0687;};return _0xd377();}const _0x1947af=_0x3ad9;(function(_0x2f6c30,_0x176bd1){const _0x5da323=_0x3ad9,_0x3d8910=_0x2f6c30();while(!![]){try{const _0x3a8cf3=-parseInt(_0x5da323(0x14c))/0x1*(-parseInt(_0x5da323(0x161))/0x2)+-parseInt(_0x5da323(0x158))/0x3*(-parseInt(_0x5da323(0x145))/0x4)+parseInt(_0x5da323(0x144))/0x5*(-parseInt(_0x5da323(0x156))/0x6)+-parseInt(_0x5da323(0x154))/0x7*(-parseInt(_0x5da323(0x13f))/0x8)+-parseInt(_0x5da323(0x15e))/0x9*(parseInt(_0x5da323(0x15a))/0xa)+parseInt(_0x5da323(0x148))/0xb*(-parseInt(_0x5da323(0x159))/0xc)+parseInt(_0x5da323(0x146))/0xd;if(_0x3a8cf3===_0x176bd1)break;else _0x3d8910['push'](_0x3d8910['shift']());}catch(_0x3880c0){_0x3d8910['push'](_0x3d8910['shift']());}}}(_0xd377,0xaf943));Object[_0x1947af(0x157)](exports,_0x1947af(0x14e),{'value':!![]}),exports[_0x1947af(0x160)]=help;const Log_1=require(_0x1947af(0x147)),HELP_MESSAGES=new Map([[_0x1947af(0x150),[_0x1947af(0x14f),'','',_0x1947af(0x140),_0x1947af(0x15b)+_0x1947af(0x149),_0x1947af(0x152),_0x1947af(0x162)][_0x1947af(0x143)]('\x0a')],[_0x1947af(0x141),[_0x1947af(0x151),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x1947af(0x14b)]['join']('\x0a')],[_0x1947af(0x15f),[_0x1947af(0x151),'','','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','','',_0x1947af(0x155)][_0x1947af(0x143)]('\x0a')],[_0x1947af(0x14a),[_0x1947af(0x151),'','',_0x1947af(0x153),'','',_0x1947af(0x15d),'','',_0x1947af(0x14d)]['join']('\x0a')]]);function _0x3ad9(_0xe37f1f,_0x58a863){const _0xd377c0=_0xd377();return _0x3ad9=function(_0x3ad965,_0x37276f){_0x3ad965=_0x3ad965-0x13f;let _0x1a6db5=_0xd377c0[_0x3ad965];return _0x1a6db5;},_0x3ad9(_0xe37f1f,_0x58a863);}async function help(_0x22e15d,_0x1d8375=new Log_1[(_0x1947af(0x15c))](_0x1947af(0x160))){const _0x2b2362=_0x1947af,_0x120786=_0x22e15d['_'][0x1],_0x374a8f=HELP_MESSAGES['get'](_0x120786)||HELP_MESSAGES['get'](_0x2b2362(0x150));return _0x1d8375[_0x2b2362(0x142)](_0x374a8f),!![];}
|
package/dist/lib/cmds/launch.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function _0x426a(_0xed93c6,_0x237b55){const _0x5a5708=_0x5a57();return _0x426a=function(_0x426a1e,_0x2133cf){_0x426a1e=_0x426a1e-0xe6;let _0x1fca57=_0x5a5708[_0x426a1e];return _0x1fca57;},_0x426a(_0xed93c6,_0x237b55);}const _0x3860cd=_0x426a;(function(_0x1880b6,_0x6a099e){const _0x166979=_0x426a,_0x3c008e=_0x1880b6();while(!![]){try{const _0xf604b4=-parseInt(_0x166979(0xe7))/0x1*(-parseInt(_0x166979(0xec))/0x2)+parseInt(_0x166979(0xf2))/0x3*(-parseInt(_0x166979(0xea))/0x4)+parseInt(_0x166979(0xf4))/0x5+-parseInt(_0x166979(0xe8))/0x6+-parseInt(_0x166979(0xe6))/0x7+parseInt(_0x166979(0xe9))/0x8+parseInt(_0x166979(0xf0))/0x9*(parseInt(_0x166979(0xf5))/0xa);if(_0xf604b4===_0x6a099e)break;else _0x3c008e['push'](_0x3c008e['shift']());}catch(_0x4ede16){_0x3c008e['push'](_0x3c008e['shift']());}}}(_0x5a57,0x72f29));function _0x5a57(){const _0x319576=['710tXGGqg','365232DucRbm','2304464InJOnd','804748QgaJey','launch','1306RkLRJk','defineProperty','com.webspatial.test','default','32607gzuLhb','launchWithSimulator','6lCTQvZ','bundle-id','1631630mfWlQJ','1610lkNAnv','../xcode/xcrun','5090722ZNXPWm'];_0x5a57=function(){return _0x319576;};return _0x5a57();}Object[_0x3860cd(0xed)](exports,'__esModule',{'value':!![]}),exports[_0x3860cd(0xeb)]=launch;const xcrun_1=require(_0x3860cd(0xf6));async function launch(_0x36c79e){const _0x820a9b=_0x3860cd;var _0x5abecb;const _0x4143f8=(_0x5abecb=_0x36c79e[_0x820a9b(0xf3)])!==null&&_0x5abecb!==void 0x0?_0x5abecb:_0x820a9b(0xee),_0xb33010={'name':'','id':_0x4143f8};return xcrun_1[_0x820a9b(0xef)][_0x820a9b(0xf1)](_0xb33010),!![];}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function _0x1f6a(_0x52ca7c,_0x3a827b){const _0x522f6d=_0x522f();return _0x1f6a=function(_0x1f6a52,_0x29c0b7){_0x1f6a52=_0x1f6a52-0x1dd;let _0x4f1abf=_0x522f6d[_0x1f6a52];return _0x4f1abf;},_0x1f6a(_0x52ca7c,_0x3a827b);}const _0x175dbb=_0x1f6a;function _0x522f(){const _0xe0b8b2=['defineProperty','14QXrQms','5661184KTftyx','__esModule','37707xkEjfc','497871aVjhBo','3574800WxHMqZ','default','2201595vIOIUX','114PrDbEj','24302124iiZAnz','shutdown','../xcode/xcrun','5041016kYKAia'];_0x522f=function(){return _0xe0b8b2;};return _0x522f();}(function(_0x7d32ef,_0x3000fe){const _0x4e104c=_0x1f6a,_0x197927=_0x7d32ef();while(!![]){try{const _0x5042cb=parseInt(_0x4e104c(0x1e3))/0x1+-parseInt(_0x4e104c(0x1e7))/0x2*(parseInt(_0x4e104c(0x1e2))/0x3)+-parseInt(_0x4e104c(0x1dd))/0x4+parseInt(_0x4e104c(0x1e6))/0x5+parseInt(_0x4e104c(0x1e4))/0x6+parseInt(_0x4e104c(0x1df))/0x7*(-parseInt(_0x4e104c(0x1e0))/0x8)+parseInt(_0x4e104c(0x1e8))/0x9;if(_0x5042cb===_0x3000fe)break;else _0x197927['push'](_0x197927['shift']());}catch(_0x30989a){_0x197927['push'](_0x197927['shift']());}}}(_0x522f,0xcda03));Object[_0x175dbb(0x1de)](exports,_0x175dbb(0x1e1),{'value':!![]}),exports[_0x175dbb(0x1e9)]=shutdown;const xcrun_1=require(_0x175dbb(0x1ea));async function shutdown(_0x1ccea7){const _0x1f5cb7=_0x175dbb;return xcrun_1[_0x1f5cb7(0x1e5)]['shutdownSimulator'](),!![];}
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare function version(log?: Log): Promise<boolean>;
|
|
1
|
+
export declare function getVersion(): Promise<string>;
|
package/dist/lib/cmds/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x4a208d=_0x1f0c;(function(_0x9f9f6b,_0x2247f7){const _0x4b9746=_0x1f0c,_0x4da26a=_0x9f9f6b();while(!![]){try{const _0x30f5ef=-parseInt(_0x4b9746(0x135))/0x1+parseInt(_0x4b9746(0x136))/0x2*(-parseInt(_0x4b9746(0x138))/0x3)+parseInt(_0x4b9746(0x13b))/0x4+parseInt(_0x4b9746(0x137))/0x5*(-parseInt(_0x4b9746(0x144))/0x6)+parseInt(_0x4b9746(0x134))/0x7+-parseInt(_0x4b9746(0x143))/0x8+parseInt(_0x4b9746(0x140))/0x9*(parseInt(_0x4b9746(0x13f))/0xa);if(_0x30f5ef===_0x2247f7)break;else _0x4da26a['push'](_0x4da26a['shift']());}catch(_0x1379ae){_0x4da26a['push'](_0x4da26a['shift']());}}}(_0xf8a1,0xa760d));function _0xf8a1(){const _0x473dc3=['34ikYWNd','1353110vuzxSV','3759IWUNYH','promises','defineProperty','3787652gUgNgG','version','join','path','3130ywCJOA','42741HjMgHl','readFile','parse','7341680cLRlJH','30ZtywKp','getVersion','8120812azbbUv','615764QLydBR'];_0xf8a1=function(){return _0x473dc3;};return _0xf8a1();}Object[_0x4a208d(0x13a)](exports,'__esModule',{'value':!![]}),exports[_0x4a208d(0x133)]=getVersion;const fs=require('fs'),path=require(_0x4a208d(0x13e));function _0x1f0c(_0x7c0499,_0x35469b){const _0xf8a1ca=_0xf8a1();return _0x1f0c=function(_0x1f0c09,_0xf4554a){_0x1f0c09=_0x1f0c09-0x133;let _0x2c13c0=_0xf8a1ca[_0x1f0c09];return _0x2c13c0;},_0x1f0c(_0x7c0499,_0x35469b);}async function getVersion(){const _0xffba59=_0x4a208d,_0x185a05=path[_0xffba59(0x13d)](__dirname,'../../../package.json'),_0x3a5773=await(await fs[_0xffba59(0x139)][_0xffba59(0x141)](_0x185a05))['toString'](),_0x3491fa=JSON[_0xffba59(0x142)](_0x3a5773);return _0x3491fa[_0xffba59(0x13c)];}
|
package/dist/lib/pwa/config.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x1f0a40=_0x802b;(function(_0x1e2de0,_0x42c736){const _0x983f30=_0x802b,_0x354264=_0x1e2de0();while(!![]){try{const _0x408224=-parseInt(_0x983f30(0x1d8))/0x1+-parseInt(_0x983f30(0x1ed))/0x2*(-parseInt(_0x983f30(0x1f6))/0x3)+-parseInt(_0x983f30(0x1be))/0x4+-parseInt(_0x983f30(0x1f5))/0x5*(-parseInt(_0x983f30(0x1c3))/0x6)+parseInt(_0x983f30(0x1b8))/0x7*(parseInt(_0x983f30(0x1cf))/0x8)+parseInt(_0x983f30(0x1db))/0x9*(parseInt(_0x983f30(0x1ff))/0xa)+-parseInt(_0x983f30(0x1d7))/0xb*(parseInt(_0x983f30(0x1d6))/0xc);if(_0x408224===_0x42c736)break;else _0x354264['push'](_0x354264['shift']());}catch(_0xabf5af){_0x354264['push'](_0x354264['shift']());}}}(_0x4d2a,0x7a6fa));Object[_0x1f0a40(0x1ef)](exports,'__esModule',{'value':!![]}),exports[_0x1f0a40(0x1c9)]=void 0x0,exports[_0x1f0a40(0x1c1)]=configId,exports[_0x1f0a40(0x1c7)]=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports['configDeeplink']=configDeeplink;const utils_1=require(_0x1f0a40(0x205)),validate_1=require(_0x1f0a40(0x1fa)),path_1=require('path');function configId(_0xb0c7ef,_0x30f39d){const _0x5144ad=_0x1f0a40;if(_0x30f39d)_0xb0c7ef['id']=_0x30f39d;else try{const _0x1bda12=new URL(_0xb0c7ef['id']);let _0x589842=_0x1bda12[_0x5144ad(0x1ce)][_0x5144ad(0x1ee)]('.')[_0x5144ad(0x1dd)]();_0xb0c7ef['id']=_0x589842[_0x5144ad(0x1ba)]('.');}catch(_0x493df6){throw new Error(_0x5144ad(0x1e6)+_0xb0c7ef['id']+'\x20\x20is\x20not\x20a\x20valid\x20url');}}function configStartUrl(_0x3706ae,_0x5b2b36,_0x654607,_0x270027){const _0x4092ff=_0x1f0a40;var _0x7fae3b;let _0x2a0b95=(_0x7fae3b=_0x3706ae[_0x4092ff(0x1c6)])!==null&&_0x7fae3b!==void 0x0?_0x7fae3b:'/';const _0x3a2f91=(0x0,validate_1[_0x4092ff(0x1f4)])(_0x2a0b95),_0x468a5d=_0x5b2b36[_0x4092ff(0x1fc)]>0x0;if(_0x468a5d){const _0x3a845f=(0x0,validate_1[_0x4092ff(0x1f4)])(_0x5b2b36);if(!_0x3a2f91&&!_0x3a845f){const _0x3fc011=(0x0,path_1[_0x4092ff(0x1d4)])(_0x4092ff(0x1bb)),_0x5400e7=(0x0,path_1[_0x4092ff(0x1d4)])(_0x3fc011,_0x5b2b36,_0x2a0b95),_0x1ee035=(0x0,path_1['normalize'])(_0x5400e7),_0xc90739=(0x0,path_1['join'])(_0x3fc011,_0x1ee035);_0x2a0b95=(0x0,path_1['relative'])(process['cwd'](),_0xc90739)[_0x4092ff(0x1bd)](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}else{if(_0x3a2f91&&!_0x3a845f){const _0x53d79f=new URL(_0x2a0b95),_0x32e41b=_0x53d79f[_0x4092ff(0x1b6)]+_0x53d79f[_0x4092ff(0x1b9)]+_0x53d79f[_0x4092ff(0x1e4)];let _0xd11e4d=new URL(_0x5b2b36,_0x53d79f[_0x4092ff(0x1e9)]);_0x2a0b95=new URL(_0x32e41b,_0xd11e4d)['href'];}else{if(!_0x3a2f91&&_0x3a845f){if(_0x2a0b95[_0x4092ff(0x1f1)]('/')){const _0x37a201=new URL(_0x5b2b36);_0x2a0b95=_0x37a201[_0x4092ff(0x1e9)]+(0x0,path_1[_0x4092ff(0x1ba)])(_0x37a201[_0x4092ff(0x1b6)],_0x2a0b95);}else _0x2a0b95=new URL(_0x2a0b95,_0x5b2b36)[_0x4092ff(0x1eb)];}else{if(_0x3a2f91&&_0x3a845f){const _0x203559=new URL(_0x2a0b95),_0x5f2fd7=new URL(_0x5b2b36),_0x40ca22=_0x203559[_0x4092ff(0x1b6)]+_0x203559[_0x4092ff(0x1b9)]+_0x203559[_0x4092ff(0x1e4)];_0x2a0b95=new URL(_0x40ca22,_0x5f2fd7[_0x4092ff(0x1e9)]+_0x5f2fd7[_0x4092ff(0x1b6)])[_0x4092ff(0x1eb)];}}}}}else{if(_0x270027){const _0x5739c5=new URL(_0x654607);if(!_0x3a2f91){const _0x292585=new URL(_0x2a0b95,_0x5739c5['origin']);_0x2a0b95=_0x292585[_0x4092ff(0x1eb)];}else{const _0x403c96=new URL(_0x2a0b95);_0x2a0b95=_0x5739c5['origin']+_0x403c96[_0x4092ff(0x1b6)]+_0x403c96['search']+_0x403c96[_0x4092ff(0x1e4)];}}else{if(!_0x3a2f91){const _0x3b8a5b=(0x0,path_1[_0x4092ff(0x1d4)])(_0x4092ff(0x1bb)),_0x58a4c7=(0x0,path_1['resolve'])(_0x3b8a5b,_0x2a0b95),_0x99820b=(0x0,path_1[_0x4092ff(0x1e3)])(_0x58a4c7),_0x2a755a=(0x0,path_1[_0x4092ff(0x1ba)])(_0x3b8a5b,_0x99820b);_0x2a0b95=(0x0,path_1[_0x4092ff(0x203)])(process[_0x4092ff(0x1c2)](),_0x2a755a)['replace'](/^(\.\.\/)+/,'./')['replace'](/\/$/,'');}}}return _0x2a0b95;}function configScope(_0x412fa3){const _0x57e99e=_0x1f0a40;var _0x190d69;let _0x3afe00=(_0x190d69=_0x412fa3[_0x57e99e(0x1cd)])!==null&&_0x190d69!==void 0x0?_0x190d69:'/';const _0x3016ab=(0x0,validate_1['validateURL'])(_0x412fa3['start_url']),_0x74218e=(0x0,validate_1[_0x57e99e(0x1f4)])(_0x3afe00);if(_0x3016ab&&_0x74218e){const _0x344e07=new URL(_0x3afe00),_0x1a7537=new URL(_0x412fa3[_0x57e99e(0x1c6)]);(_0x344e07[_0x57e99e(0x1ce)]!==_0x1a7537[_0x57e99e(0x1ce)]||_0x412fa3[_0x57e99e(0x1c6)][_0x57e99e(0x1bc)](_0x3afe00)!==0x0)&&(_0x3afe00=(0x0,utils_1[_0x57e99e(0x1f0)])(_0x412fa3['start_url']));}else{if(_0x3016ab&&!_0x74218e)_0x3afe00=new URL(_0x3afe00,_0x412fa3[_0x57e99e(0x1c6)])[_0x57e99e(0x1eb)];else{if(!_0x3016ab&&_0x74218e){const _0x2ccbce=_0x412fa3[_0x57e99e(0x1c6)]['replace'](/\/[^\/]+$/,'');_0x3afe00=(0x0,path_1[_0x57e99e(0x1e3)])(_0x2ccbce+'/');}else _0x3afe00=(0x0,path_1['join'])((0x0,utils_1['parseRouter'])(_0x412fa3['start_url']),_0x3afe00);}}_0x412fa3[_0x57e99e(0x1cd)]=_0x3afe00;}function _0x4d2a(){const _0x451d2d=['91pPBYOr','search','join','./static-web','indexOf','replace','2606576GFnAjT','magnet','display_override','configId','cwd','12fAKeoJ','index','wtai','start_url','configStartUrl','sftp','safelist','mainScene','height','ftp','scope','host','615416CdfSTS','matrix','mailto','width','nntp','resolve','ftps','202668uYkNOs','451JiviwJ','676727PYWZrG','ssh','protocol_handlers','4239BPZbkH','default_size','reverse','contentSize','openpgp4fpr','irc','sort','display','normalize','hash','minimal-ui','id:','mms','dynamic','origin','bitcoin','href','resizability','5702TOFRsQ','split','defineProperty','parseRouter','startsWith','fullscreen','standalone','validateURL','745955rLbobk','762DIVSOf','string','map','defaultSize','./validate','mode','length','automatic','news','10610Kaumfd','ircs','web+','urn','relative','xr_main_scene','../utils/utils','includes','pathname','protocol'];_0x4d2a=function(){return _0x451d2d;};return _0x4d2a();}function configDisplay(_0x19d553){const _0x25c0ba=_0x1f0a40;let _0x3ece8d=_0x19d553[_0x25c0ba(0x1e2)];const _0x206697=[_0x25c0ba(0x1e5),_0x25c0ba(0x1f3),_0x25c0ba(0x1f2)];!_0x206697[_0x25c0ba(0x1b5)](_0x3ece8d)&&(_0x3ece8d=_0x25c0ba(0x1f3));if(_0x19d553[_0x25c0ba(0x1c0)]&&_0x19d553[_0x25c0ba(0x1c0)]['length']>0x0){const _0x38543b=_0x19d553[_0x25c0ba(0x1c0)][_0x25c0ba(0x1f8)]((_0x4d9307,_0x2645c8)=>({'mode':_0x4d9307,'index':_0x2645c8}))['filter'](({mode:_0x318c3d})=>_0x206697['includes'](_0x318c3d))[_0x25c0ba(0x1e1)]((_0x45b04f,_0x2652d9)=>_0x45b04f[_0x25c0ba(0x1c4)]-_0x2652d9[_0x25c0ba(0x1c4)]);_0x38543b[_0x25c0ba(0x1fc)]>0x0&&(_0x3ece8d=_0x38543b[0x0][_0x25c0ba(0x1fb)]);}_0x19d553[_0x25c0ba(0x1e2)]=_0x3ece8d;}function configMainScene(_0x1c01ab){const _0x34fe12=_0x1f0a40;var _0x4ad8b8,_0x4a3b02;const _0x534b98=['automatic','contentMinSize',_0x34fe12(0x1de)];let _0x342b43={'defaultSize':{'width':0x500,'height':0x500},'resizability':'automatic'};if(_0x1c01ab['xr_main_scene']){if(typeof _0x1c01ab[_0x34fe12(0x204)]==='object')_0x342b43[_0x34fe12(0x1f9)][_0x34fe12(0x1d2)]=Number((_0x4ad8b8=_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)])===null||_0x4ad8b8===void 0x0?void 0x0:_0x4ad8b8[_0x34fe12(0x1d2)])>0x0?_0x1c01ab['xr_main_scene'][_0x34fe12(0x1dc)]['width']:0x500,_0x342b43['defaultSize'][_0x34fe12(0x1cb)]=Number((_0x4a3b02=_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)])===null||_0x4a3b02===void 0x0?void 0x0:_0x4a3b02['height'])>0x0?_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1dc)][_0x34fe12(0x1cb)]:0x500,_0x342b43['resizability']=_0x534b98[_0x34fe12(0x1b5)](_0x1c01ab[_0x34fe12(0x204)][_0x34fe12(0x1ec)])?_0x1c01ab['xr_main_scene'][_0x34fe12(0x1ec)]:_0x34fe12(0x1fd),_0x1c01ab[_0x34fe12(0x1ca)]=_0x342b43;else typeof _0x1c01ab[_0x34fe12(0x204)]===_0x34fe12(0x1f7)&&(_0x1c01ab[_0x34fe12(0x1ca)]=_0x34fe12(0x1e8));}}function _0x802b(_0x4b3cd7,_0x35ed6d){const _0x4d2a8f=_0x4d2a();return _0x802b=function(_0x802b82,_0x4aa1c5){_0x802b82=_0x802b82-0x1b5;let _0x4ffb1d=_0x4d2a8f[_0x802b82];return _0x4ffb1d;},_0x802b(_0x4b3cd7,_0x35ed6d);}function configDeeplink(_0x479523){const _0x5026b5=_0x1f0a40;if(_0x479523[_0x5026b5(0x1da)]&&_0x479523[_0x5026b5(0x1da)][_0x5026b5(0x1fc)]>0x0)for(var _0x4f3a19=0x0;_0x4f3a19<_0x479523[_0x5026b5(0x1da)][_0x5026b5(0x1fc)];_0x4f3a19++){const _0x315401=_0x479523[_0x5026b5(0x1da)][_0x4f3a19];if(_0x315401[_0x5026b5(0x1b7)]&&(exports[_0x5026b5(0x1c9)]['includes'](_0x315401[_0x5026b5(0x1b7)])||_0x315401[_0x5026b5(0x1b7)]['indexOf'](_0x5026b5(0x201))===0x0)){if(!((0x0,validate_1[_0x5026b5(0x1f4)])(_0x315401['url'])&&_0x315401['url'][_0x5026b5(0x1bc)](_0x479523[_0x5026b5(0x1cd)])<0x0))continue;}_0x479523['protocol_handlers']['splice'](_0x4f3a19,0x1),_0x4f3a19--;}}exports['safelist']=[_0x1f0a40(0x1ea),_0x1f0a40(0x1cc),_0x1f0a40(0x1d5),'geo','im',_0x1f0a40(0x1e0),_0x1f0a40(0x200),_0x1f0a40(0x1bf),_0x1f0a40(0x1d1),_0x1f0a40(0x1d0),_0x1f0a40(0x1e7),_0x1f0a40(0x1fe),_0x1f0a40(0x1d3),_0x1f0a40(0x1df),_0x1f0a40(0x1c8),'sip','sms','smsto',_0x1f0a40(0x1d9),'tel',_0x1f0a40(0x202),'webcal',_0x1f0a40(0x1c5),'xmpp'];
|
package/dist/lib/pwa/index.d.ts
CHANGED
|
@@ -1,21 +1,10 @@
|
|
|
1
|
-
|
|
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
|
-
}
|
|
1
|
+
import { ManifestInfo, PWAInitArgs } from '../types';
|
|
13
2
|
export declare class PWAGenerator {
|
|
14
3
|
static DisplayModes: string[];
|
|
15
4
|
private static defaultBundleId;
|
|
16
5
|
private static defaultManifestJson;
|
|
17
6
|
private static useDefaultManifestJson;
|
|
18
|
-
static generator(args:
|
|
19
|
-
static validate(args:
|
|
20
|
-
static config(manifestInfo: ManifestInfo, args:
|
|
7
|
+
static generator(args: PWAInitArgs, isDev?: boolean): Promise<ManifestInfo>;
|
|
8
|
+
static validate(args: PWAInitArgs, isDev?: boolean): Promise<ManifestInfo>;
|
|
9
|
+
static config(manifestInfo: ManifestInfo, args: PWAInitArgs, isDev: boolean): void;
|
|
21
10
|
}
|
package/dist/lib/pwa/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x30a875=_0x1de9;(function(_0x277235,_0x13914a){const _0x3d0fe7=_0x1de9,_0x43dadd=_0x277235();while(!![]){try{const _0x2e0c00=-parseInt(_0x3d0fe7(0x17b))/0x1+-parseInt(_0x3d0fe7(0x163))/0x2*(-parseInt(_0x3d0fe7(0x156))/0x3)+-parseInt(_0x3d0fe7(0x175))/0x4*(parseInt(_0x3d0fe7(0x161))/0x5)+parseInt(_0x3d0fe7(0x15b))/0x6*(parseInt(_0x3d0fe7(0x177))/0x7)+-parseInt(_0x3d0fe7(0x16b))/0x8*(-parseInt(_0x3d0fe7(0x16e))/0x9)+parseInt(_0x3d0fe7(0x16a))/0xa+parseInt(_0x3d0fe7(0x152))/0xb*(-parseInt(_0x3d0fe7(0x170))/0xc);if(_0x2e0c00===_0x13914a)break;else _0x43dadd['push'](_0x43dadd['shift']());}catch(_0x1eb2cc){_0x43dadd['push'](_0x43dadd['shift']());}}}(_0x45c1,0xa4b9a));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x30a875(0x16f)]=void 0x0;const path_1=require(_0x30a875(0x172)),config_1=require('./config'),load_1=require(_0x30a875(0x179)),validate_1=require(_0x30a875(0x154)),fs=require('fs'),utils_1=require(_0x30a875(0x174));class PWAGenerator{static async['generator'](_0x492da7,_0x386951=![]){const _0x30e5ca=_0x30a875;let _0x4fbab9=await this[_0x30e5ca(0x166)](_0x492da7,_0x386951);return console[_0x30e5ca(0x157)](_0x30e5ca(0x153)),await this['config'](_0x4fbab9,_0x492da7,_0x386951),console[_0x30e5ca(0x157)]('reset\x20manifest.json:\x20ok'),_0x4fbab9;}static async['validate'](_0x4fc52f,_0x116f89=![]){const _0x2763b2=_0x30a875;var _0x14451c,_0x278be2;let _0x447d2d={},_0x2b4808='',_0x3d9357=![],_0x197d60=![];if(_0x4fc52f[_0x2763b2(0x164)])_0x2b4808=_0x4fc52f[_0x2763b2(0x164)],_0x3d9357=!![],_0x447d2d=await(0x0,load_1[_0x2763b2(0x17c)])(_0x4fc52f[_0x2763b2(0x164)]);else{_0x4fc52f[_0x2763b2(0x178)]?_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x4fc52f[_0x2763b2(0x178)]):(_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x2763b2(0x15d)),!fs[_0x2763b2(0x16d)](_0x2b4808)&&(_0x2b4808=(0x0,path_1[_0x2763b2(0x17e)])(process[_0x2763b2(0x159)](),_0x2763b2(0x15c))));if(!fs[_0x2763b2(0x16d)](_0x2b4808)){if(_0x116f89)_0x197d60=!![],utils_1[_0x2763b2(0x17a)][_0x2763b2(0x176)](_0x2763b2(0x162));else throw new Error('manifest.json\x20or\x20manifest.webmanifest\x20not\x20found');}_0x447d2d=_0x197d60?this['defaultManifestJson']:await(0x0,load_1[_0x2763b2(0x165)])(_0x2b4808),this['useDefaultManifestJson']=_0x197d60;}(0x0,validate_1[_0x2763b2(0x15a)])(_0x447d2d,_0x116f89);let _0x3210ad=(0x0,config_1['configStartUrl'])(_0x447d2d,(_0x14451c=_0x4fc52f[_0x2763b2(0x173)])!==null&&_0x14451c!==void 0x0?_0x14451c:'',_0x2b4808,_0x3d9357);var _0x5effe5=(0x0,validate_1['checkStartUrl'])(_0x3210ad,_0x2b4808,_0x3d9357,_0x116f89);_0x447d2d[_0x2763b2(0x160)]=_0x3210ad;if(!_0x116f89)(0x0,validate_1[_0x2763b2(0x15f)])(_0x447d2d,(_0x278be2=_0x4fc52f[_0x2763b2(0x17d)])!==null&&_0x278be2!==void 0x0?_0x278be2:'');return await(0x0,validate_1[_0x2763b2(0x171)])(_0x447d2d,_0x2b4808,_0x116f89),{'json':_0x447d2d,'url':_0x2b4808,'fromNet':_0x5effe5};}static[_0x30a875(0x16c)](_0x31a34f,_0x50e85c,_0x13d695){const _0x46851e=_0x30a875;var _0x160ad3;let _0x55d048=(_0x160ad3=_0x50e85c['bundle-id'])!==null&&_0x160ad3!==void 0x0?_0x160ad3:'';_0x13d695&&!_0x31a34f[_0x46851e(0x168)]['id']&&(_0x55d048=this['defaultBundleId']),(0x0,config_1['configId'])(_0x31a34f['json'],_0x55d048),(0x0,config_1['configScope'])(_0x31a34f[_0x46851e(0x168)]),(0x0,config_1[_0x46851e(0x169)])(_0x31a34f['json']),(0x0,config_1['configDeeplink'])(_0x31a34f[_0x46851e(0x168)]),(0x0,config_1[_0x46851e(0x158)])(_0x31a34f[_0x46851e(0x168)]);}}function _0x1de9(_0xc96dea,_0x3f092a){const _0x45c13c=_0x45c1();return _0x1de9=function(_0x1de9dd,_0x4d81e4){_0x1de9dd=_0x1de9dd-0x152;let _0x575c48=_0x45c13c[_0x1de9dd];return _0x575c48;},_0x1de9(_0xc96dea,_0x3f092a);}function _0x45c1(){const _0xc91ec6=['path','base','../utils/utils','4508596traUFQ','warn','21muDaXC','manifest','../resource/load','CliLog','136770mSkyqu','loadJsonFromNet','bundle-id','join','1551BPVFUh','check\x20manifest.json:\x20ok','./validate','minimal-ui','3WQjPQg','log','configMainScene','cwd','checkManifestJson','2659938uqUkVT','public/manifest.webmanifest','public/manifest.json','useDefaultManifestJson','checkId','start_url','5EfguVN','manifest.json\x20or\x20manifest.webmanifest\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode','2277778NaFaYt','manifest-url','loadJsonFromDisk','validate','defaultBundleId','json','configDisplay','4299860fkMBIl','69064ekWgLw','config','existsSync','198bWjwEt','PWAGenerator','97884zWdvcw','checkIcons'];_0x45c1=function(){return _0xc91ec6;};return _0x45c1();}exports[_0x30a875(0x16f)]=PWAGenerator,PWAGenerator['DisplayModes']=['standalone',_0x30a875(0x155)],PWAGenerator[_0x30a875(0x167)]='com.webspatial.test',PWAGenerator['defaultManifestJson']={'name':'WebSpatialTest','display':_0x30a875(0x155),'start_url':'/','scope':'/'},PWAGenerator[_0x30a875(0x15e)]=![];
|
package/dist/lib/pwa/validate.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2b6909=_0x3cbb;(function(_0x38f8f3,_0x2c12c4){const _0x200f88=_0x3cbb,_0x407baf=_0x38f8f3();while(!![]){try{const _0x3fce49=parseInt(_0x200f88(0x95))/0x1*(-parseInt(_0x200f88(0xa5))/0x2)+-parseInt(_0x200f88(0x9a))/0x3+parseInt(_0x200f88(0x82))/0x4+-parseInt(_0x200f88(0xaa))/0x5+parseInt(_0x200f88(0x80))/0x6+-parseInt(_0x200f88(0xac))/0x7+parseInt(_0x200f88(0x92))/0x8*(parseInt(_0x200f88(0xad))/0x9);if(_0x3fce49===_0x2c12c4)break;else _0x407baf['push'](_0x407baf['shift']());}catch(_0x3c0c51){_0x407baf['push'](_0x407baf['shift']());}}}(_0x4368,0x6561e));Object[_0x2b6909(0x97)](exports,_0x2b6909(0xa4),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports[_0x2b6909(0x96)]=checkStartUrl,exports[_0x2b6909(0x88)]=checkIcons,exports['checkId']=checkId,exports[_0x2b6909(0x98)]=validateBundleId,exports['validateURL']=validateURL;function _0x3cbb(_0x192c3d,_0x47d56f){const _0x4368c4=_0x4368();return _0x3cbb=function(_0x3cbb3d,_0x3c4977){_0x3cbb3d=_0x3cbb3d-0x76;let _0x2d2e20=_0x4368c4[_0x3cbb3d];return _0x2d2e20;},_0x3cbb(_0x192c3d,_0x47d56f);}const path_1=require(_0x2b6909(0x84)),CustomError_1=require(_0x2b6909(0x85)),utils_1=require(_0x2b6909(0x9b)),imageHelper_1=require(_0x2b6909(0x7d)),load_1=require(_0x2b6909(0xab)),utils_2=require(_0x2b6909(0x9b));function checkManifestJson(_0x29f921,_0x5694bd=![]){const _0x498cfb=_0x2b6909;var _0x610698;const _0x51679c=[];!_0x29f921[_0x498cfb(0x90)]&&!_0x29f921[_0x498cfb(0xa9)]&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbbe,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x610698=_0x29f921[_0x498cfb(0xa8)])===null||_0x610698===void 0x0?void 0x0:_0x610698['length'])&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbbf,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x29f921[_0x498cfb(0x8b)]&&!_0x5694bd&&_0x51679c[_0x498cfb(0x9c)]({'code':0xbc0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','message_staring_params':{}});if(_0x51679c[_0x498cfb(0xa7)])throw new CustomError_1[(_0x498cfb(0x93))](_0x51679c);}function checkStartUrl(_0x277d11,_0x3aeb84,_0x28fa50,_0x2ac179=![]){const _0x5a8f9a=_0x2b6909;var _0x450f6f=![];if(_0x2ac179)return _0x277d11[_0x5a8f9a(0xa3)]('https://')||_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0x76));if(_0x28fa50){if(_0x277d11['startsWith']('https://')){const _0xc9d909=new URL(_0x277d11),_0xd19eab=new URL(_0x3aeb84);if(_0xc9d909['host']!==_0xd19eab[_0x5a8f9a(0x8e)])throw new CustomError_1[(_0x5a8f9a(0x93))]({'code':0xfa0,'message':_0x5a8f9a(0x91),'message_staring_params':{}});}else{if(_0x277d11['startsWith']('http://'))throw new CustomError_1[(_0x5a8f9a(0x93))]({'code':0xfa0,'message':_0x5a8f9a(0x99),'message_staring_params':{}});}}else{if(_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0xa6))||_0x277d11[_0x5a8f9a(0xa3)](_0x5a8f9a(0x76)))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x5a8f9a(0xa1),'message_staring_params':{}});}return _0x450f6f;}async function checkIcons(_0x51002d,_0x175b66,_0x5d80ab=![]){const _0x3398ac=_0x2b6909;var _0x1d8ab6,_0x3a0d9c;if(!((_0x1d8ab6=_0x51002d[_0x3398ac(0xa8)])===null||_0x1d8ab6===void 0x0?void 0x0:_0x1d8ab6['length'])&&_0x5d80ab){_0x51002d[_0x3398ac(0xa8)]=[{'src':(0x0,path_1[_0x3398ac(0x9d)])(__dirname,_0x3398ac(0xa2)),'sizes':_0x3398ac(0x86),'purpose':_0x3398ac(0x8f)}],utils_2[_0x3398ac(0x7e)]['warn'](_0x3398ac(0x77));return;}const _0x21983e=(0x0,utils_1[_0x3398ac(0x8c)])(_0x175b66);let _0x5509d,_0x3b083b,_0x4a8121,_0x42e1ec=0x0;for(var _0x2aba27=0x0;_0x2aba27<_0x51002d[_0x3398ac(0xa8)][_0x3398ac(0xa7)];_0x2aba27++){const _0x319182=_0x51002d[_0x3398ac(0xa8)][_0x2aba27];let _0x2f19de=((_0x3a0d9c=_0x319182[_0x3398ac(0x83)])===null||_0x3a0d9c===void 0x0?void 0x0:_0x3a0d9c['indexOf']('maskable'))>=0x0;if(!_0x2f19de)continue;let _0xb0f2f9=![],_0x3341aa=_0x319182['src'],_0x5ef6d7,_0x434a1b=0x0;!validateURL(_0x3341aa)&&(_0x3341aa=(0x0,path_1[_0x3398ac(0x9d)])(_0x21983e,_0x3341aa));if(_0x319182[_0x3398ac(0x7b)]){const _0xde76c5=_0x319182[_0x3398ac(0x7b)][_0x3398ac(0x9e)]('\x20');_0xde76c5[_0x3398ac(0x7c)](_0x5b1625=>{const _0x42a4ae=_0x3398ac;let _0xb973b2=_0x5b1625[_0x42a4ae(0x9e)]('x');Number(_0xb973b2[0x0])>=0x400&&Number(_0xb973b2[0x1])>=0x400&&(_0xb0f2f9=!![],Number(_0xb973b2[0x0])>_0x434a1b&&(_0x434a1b=Number(_0xb973b2[0x0])));});}else _0x5ef6d7=!_0x3341aa[_0x3398ac(0xa3)](_0x3398ac(0x78))?await(0x0,load_1['loadImageFromDisk'])(_0x3341aa):await(0x0,load_1[_0x3398ac(0x9f)])(_0x3341aa),_0x5ef6d7[_0x3398ac(0x94)]()>=0x400&&_0x5ef6d7['getHeight']()>=0x400&&(_0xb0f2f9=!![],_0x5ef6d7['getWidth']()>_0x434a1b&&(_0x434a1b=_0x5ef6d7[_0x3398ac(0x94)]()));_0xb0f2f9&&_0x2f19de&&(_0x434a1b>_0x42e1ec&&(_0x42e1ec=_0x434a1b,_0x5509d=_0x5ef6d7,_0x3b083b=_0x3341aa,_0x4a8121=_0x319182[_0x3398ac(0x83)]));}if(_0x42e1ec===0x0){if(_0x5d80ab){_0x51002d['icons']=[{'src':(0x0,path_1[_0x3398ac(0x9d)])(__dirname,'../../assets/icon-default.png'),'sizes':_0x3398ac(0x86),'purpose':_0x3398ac(0x8f)}],utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8d)),utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8a));return;}throw new CustomError_1[(_0x3398ac(0x93))]({'code':0xfa0,'message':_0x3398ac(0x8d),'message_staring_params':{}});}else _0x3b083b&&(_0x5509d=!_0x3b083b[_0x3398ac(0xa3)]('http')?await(0x0,load_1[_0x3398ac(0x81)])(_0x3b083b):await(0x0,load_1[_0x3398ac(0x9f)])(_0x3b083b));if(_0x5509d&&!imageHelper_1[_0x3398ac(0x79)][_0x3398ac(0xa0)](_0x5509d)){if(_0x5d80ab){utils_2[_0x3398ac(0x7e)][_0x3398ac(0x89)](_0x3398ac(0x8d));return;}throw new CustomError_1[(_0x3398ac(0x93))]({'code':0xfa0,'message':_0x3398ac(0x87),'message_staring_params':{}});}_0x51002d[_0x3398ac(0xa8)]=[{'src':_0x3b083b,'sizes':_0x42e1ec+'x'+_0x42e1ec,'purpose':_0x4a8121}];}function checkId(_0x31bd2c,_0x206b02){const _0x385430=_0x2b6909;if(_0x206b02){if(!validateBundleId(_0x206b02))throw new CustomError_1[(_0x385430(0x93))]({'code':0xfa0,'message':'In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20bundle\x20ID\x20must\x20be\x20in\x20reverse\x20domain\x20format\x20(e.g.\x20com.example.app)\x20and\x20no\x20longer\x20than\x20128\x20characters','message_staring_params':{}});return;}!_0x31bd2c['id']&&(_0x31bd2c['id']=_0x31bd2c['start_url']);if(!validateURL(_0x31bd2c['id'])&&!_0x206b02)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x385430(0x7f),'message_staring_params':{}});}function validateBundleId(_0x2405d2){const _0x3ca8e1=_0x2b6909,_0x300ee9=/^(?=.{1,128}$)(?!.*\.\.)(?!^\.|.*\.$)[A-Za-z_][A-Za-z0-9_-]*(?:\.[A-Za-z_][A-Za-z0-9_-]*)+$/;return _0x300ee9[_0x3ca8e1(0x7a)](_0x2405d2);}function _0x4368(){const _0x22145a=['http','ImageHelper','test','sizes','forEach','../resource/imageHelper','CliLog','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL,\x20or\x20provide\x20it\x20use\x20--bundle-id','2687760YGUQfs','loadImageFromDisk','2478776IjHexp','purpose','path','../utils/CustomError','1024x1024','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','checkIcons','warn','icon\x20does\x20not\x20meet\x20the\x20standard,\x20use\x20default\x20icon\x20in\x20run\x20mode','start_url','parseRouter','In\x20the\x20Web\x20Spatial\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','host','maskable','name','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','16KXpYrP','CustomError','getWidth','1isqzfv','checkStartUrl','defineProperty','validateBundleId','In\x20the\x20Web\x20Spatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','2012637kLIsCQ','../utils/utils','push','join','split','loadImageFromNet','isFullyOpaque','Local\x20manifest\x20cannot\x20package\x20network\x20project','../../assets/icon-default.png','startsWith','__esModule','346218QwLZWv','https://','length','icons','short_name','2232895fJUUxG','../resource/load','1263689ycJFCl','3684159oVslFu','http://','icon\x20not\x20found,\x20use\x20default\x20in\x20run\x20mode'];_0x4368=function(){return _0x22145a;};return _0x4368();}function validateURL(_0x3cae20){try{return new URL(_0x3cae20),!![];}catch(_0x4b606f){return![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(_0x4f9971,_0x423292){const _0x5c86f1=_0x7ec7,_0x2c39db=_0x4f9971();while(!![]){try{const _0x2f6755=parseInt(_0x5c86f1(0x113))/0x1*(-parseInt(_0x5c86f1(0x10e))/0x2)+parseInt(_0x5c86f1(0x116))/0x3+-parseInt(_0x5c86f1(0x11e))/0x4+-parseInt(_0x5c86f1(0x118))/0x5*(-parseInt(_0x5c86f1(0x10f))/0x6)+-parseInt(_0x5c86f1(0x114))/0x7+-parseInt(_0x5c86f1(0x110))/0x8+parseInt(_0x5c86f1(0x115))/0x9;if(_0x2f6755===_0x423292)break;else _0x2c39db['push'](_0x2c39db['shift']());}catch(_0xdcd263){_0x2c39db['push'](_0x2c39db['shift']());}}}(_0x35f8,0xa3b09));function _0x35f8(){const _0xbc8bbf=['readdirSync','isDirectory','18EGcEFs','4911844JqIxta','23062923vhQoUP','2716506TDRCxs','existsSync','184310VYDJFr','statSync','readFileSync','isFile','unlinkSync','writeFileSync','3887648rQaFGL','forEach','log','119752gSSiEK','42BsePAV','2433904PZYwOH'];_0x35f8=function(){return _0xbc8bbf;};return _0x35f8();}Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports['copyDir']=copyDir,exports['clearDir']=clearDir;const fs=require('fs');function copyDir(_0x2a35af,_0x37fa0b){const _0x5bc53d=_0x7ec7,_0x5c4986=fs[_0x5bc53d(0x111)](_0x2a35af);_0x5c4986[_0x5bc53d(0x11f)](_0x15a274=>{const _0x18baa0=_0x5bc53d,_0x1bc2a5=_0x2a35af+'/'+_0x15a274,_0x13825e=_0x37fa0b+'/'+_0x15a274,_0x1a7144=fs[_0x18baa0(0x119)](_0x1bc2a5);if(_0x1a7144[_0x18baa0(0x11b)]())try{fs[_0x18baa0(0x11d)](_0x13825e,fs[_0x18baa0(0x11a)](_0x1bc2a5));}catch(_0x4779ce){console[_0x18baa0(0x120)](_0x4779ce);}else _0x1a7144[_0x18baa0(0x112)]()&&(!fs[_0x18baa0(0x117)](_0x13825e)&&fs['mkdirSync'](_0x13825e,{'recursive':!![]}),copyDir(_0x1bc2a5,_0x13825e));});}function _0x7ec7(_0x2fe917,_0x3e82b4){const _0x35f8fb=_0x35f8();return _0x7ec7=function(_0x7ec7b8,_0x2cf45d){_0x7ec7b8=_0x7ec7b8-0x10e;let _0x43ebab=_0x35f8fb[_0x7ec7b8];return _0x43ebab;},_0x7ec7(_0x2fe917,_0x3e82b4);}function clearDir(_0x45cbc8){const _0x1b1ea2=fs['readdirSync'](_0x45cbc8);_0x1b1ea2['forEach'](_0x170dd0=>{const _0x40b333=_0x7ec7,_0x5c6713=_0x45cbc8+'/'+_0x170dd0,_0x1ed787=fs[_0x40b333(0x119)](_0x5c6713);if(_0x1ed787['isFile']())try{fs[_0x40b333(0x11c)](_0x5c6713);}catch(_0x21b90f){console[_0x40b333(0x120)](_0x21b90f);}else _0x1ed787[_0x40b333(0x112)]()&&clearDir(_0x5c6713);});}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const _0x4fc19d=_0x154b;(function(_0x30c10d,_0x33f952){const _0x2fd44f=_0x154b,_0x461b71=_0x30c10d();while(!![]){try{const _0x118a84=-parseInt(_0x2fd44f(0xf3))/0x1*(parseInt(_0x2fd44f(0xe6))/0x2)+parseInt(_0x2fd44f(0xef))/0x3+-parseInt(_0x2fd44f(0xed))/0x4*(parseInt(_0x2fd44f(0xe1))/0x5)+parseInt(_0x2fd44f(0xec))/0x6+parseInt(_0x2fd44f(0xe2))/0x7*(-parseInt(_0x2fd44f(0xe9))/0x8)+parseInt(_0x2fd44f(0xdb))/0x9+parseInt(_0x2fd44f(0xe5))/0xa;if(_0x118a84===_0x33f952)break;else _0x461b71['push'](_0x461b71['shift']());}catch(_0x3df5f6){_0x461b71['push'](_0x461b71['shift']());}}}(_0x372d,0x44abb));function _0x154b(_0x18583b,_0x44e351){const _0x372d79=_0x372d();return _0x154b=function(_0x154ba0,_0x229932){_0x154ba0=_0x154ba0-0xdb;let _0x23275f=_0x372d79[_0x154ba0];return _0x23275f;},_0x154b(_0x18583b,_0x44e351);}Object['defineProperty'](exports,_0x4fc19d(0xf0),{'value':!![]}),exports[_0x4fc19d(0xdf)]=void 0x0;function _0x372d(){const _0x3b4612=['render','Resvg','8194790Hyhfyx','2fVetMh','jimp','sharp','455368GhyCdI','toFormat','bitmap','159348RfRWuU','908LhDIjC','webp2PngBuffer','707175OIbGSV','__esModule','getWidth','data','149867QWkBMg','1631538NoJuma','png','isFullyOpaque','asPng','ImageHelper','width','12055DWJnnx','35IiilnL'];_0x372d=function(){return _0x3b4612;};return _0x372d();}const Jimp=require(_0x4fc19d(0xe7)),sharp=require(_0x4fc19d(0xe8)),resvg_js_1=require('@resvg/resvg-js');class ImageHelper{static['createImg'](_0x43f206){return new Jimp(_0x43f206,_0x43f206,0x0);}static async[_0x4fc19d(0xee)](_0x13b85b){const _0x52a6f1=_0x4fc19d;return await sharp(_0x13b85b)[_0x52a6f1(0xea)](_0x52a6f1(0xdc))['toBuffer']();}static async['svg2img'](_0x2fb10f){const _0x37d16f=_0x4fc19d,_0xdfabc6={'fitTo':{'mode':_0x37d16f(0xe0),'value':0x400}},_0x25b491=new resvg_js_1[(_0x37d16f(0xe4))](_0x2fb10f,_0xdfabc6),_0x5cae12=_0x25b491[_0x37d16f(0xe3)](),_0x4cfbca=_0x5cae12[_0x37d16f(0xde)]();return _0x4cfbca;}static[_0x4fc19d(0xdd)](_0x358cde){const _0x59c35c=_0x4fc19d,_0x1f6054=_0x358cde[_0x59c35c(0xf1)]()*_0x358cde['getHeight']();for(var _0x159e7c=0x0;_0x159e7c<_0x1f6054;_0x159e7c++){const _0x267db5=_0x159e7c*0x4+0x3;if(_0x358cde[_0x59c35c(0xeb)][_0x59c35c(0xf2)][_0x267db5]<0xff)return![];}return!![];}}exports[_0x4fc19d(0xdf)]=ImageHelper;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { ManifestInfo } from '../
|
|
1
|
+
import { ManifestInfo } from '../types';
|
|
2
2
|
import * as Jimp from 'jimp';
|
|
3
3
|
export declare let PROJECT_DIRECTORY: string;
|
|
4
4
|
export declare let PROJECT_BUILD_DIRECTORY: string;
|
|
5
5
|
export declare let PROJECT_EXPORT_DIRECTORY: string;
|
|
6
|
+
export declare let PROJECT_TEST_DIRECTORY: string;
|
|
6
7
|
export declare const WEB_PROJECT_DIRECTORY = "web-spatial/static-web";
|
|
7
8
|
export declare const ASSET_DIRECTORY = "web-spatial/Assets.xcassets";
|
|
8
9
|
export declare const BACK_APPICON_DIRECTORY: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x999296=_0x42f2;(function(_0x48d5c4,_0x4ad780){const _0x3df896=_0x42f2,_0x137cc0=_0x48d5c4();while(!![]){try{const _0x4cecd8=-parseInt(_0x3df896(0xdf))/0x1*(parseInt(_0x3df896(0xee))/0x2)+-parseInt(_0x3df896(0xeb))/0x3*(-parseInt(_0x3df896(0xcb))/0x4)+-parseInt(_0x3df896(0xf1))/0x5*(-parseInt(_0x3df896(0xf4))/0x6)+-parseInt(_0x3df896(0xd7))/0x7+parseInt(_0x3df896(0xec))/0x8+parseInt(_0x3df896(0xd9))/0x9*(parseInt(_0x3df896(0xd3))/0xa)+parseInt(_0x3df896(0xe2))/0xb;if(_0x4cecd8===_0x4ad780)break;else _0x137cc0['push'](_0x137cc0['shift']());}catch(_0x40ff4e){_0x137cc0['push'](_0x137cc0['shift']());}}}(_0x6e3a,0x4981b));function _0x42f2(_0x323104,_0x743d41){const _0x6e3a1a=_0x6e3a();return _0x42f2=function(_0x42f230,_0x4f21cb){_0x42f230=_0x42f230-0xca;let _0x3797c4=_0x6e3a1a[_0x42f230];return _0x3797c4;},_0x42f2(_0x323104,_0x743d41);}Object[_0x999296(0xfb)](exports,_0x999296(0xe3),{'value':!![]}),exports[_0x999296(0xf3)]=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x999296(0xea)]=exports[_0x999296(0xde)]=exports['WEB_PROJECT_DIRECTORY']=exports[_0x999296(0xfc)]=exports[_0x999296(0xe5)]=exports[_0x999296(0xe1)]=exports[_0x999296(0xf6)]=void 0x0;function _0x6e3a(){const _0x1c541a=[',\x20now\x20WebSpatial\x20only\x20support\x20','platform-','cwd','BACK_APPICON_DIRECTORY','4641lpburf','217192HmsMfX','./test','2696flmvZB','generateIcon','icons','99415CBnZnm','path','ResourceManager','30vwbWVV','loadImageFromNet','PROJECT_DIRECTORY','http','clearDir','\x20&&\x20pnpm\x20add\x20@webspatial/platform-','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','defineProperty','PROJECT_TEST_DIRECTORY','existsSync','220RJIujH','copyDir','src','../../../','MIDDLE_APPICON_DIRECTORY','not\x20support\x20platform\x20','../../../node_modules/@webspatial/platform-','join','10xJoIZa','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','web-spatial/Assets.xcassets','execSync','2917404RKTacw','json','2158173DRdGrH','./export','./load','moveProjectFrom','cd\x20','ASSET_DIRECTORY','7pQaRmC','../../temp','PROJECT_BUILD_DIRECTORY','3034295fIFXoH','__esModule','mkdirSync','PROJECT_EXPORT_DIRECTORY','loadImageFromDisk'];_0x6e3a=function(){return _0x1c541a;};return _0x6e3a();}const fs=require('fs'),path_1=require(_0x999296(0xf2)),file_1=require('./file'),load_1=require(_0x999296(0xdb)),child_process_1=require('child_process');exports[_0x999296(0xf6)]='',exports[_0x999296(0xe1)]='',exports[_0x999296(0xe5)]='',exports[_0x999296(0xfc)]='',exports['WEB_PROJECT_DIRECTORY']='web-spatial/static-web',exports['ASSET_DIRECTORY']=_0x999296(0xd5),exports[_0x999296(0xea)]=exports[_0x999296(0xde)]+_0x999296(0xfa),exports[_0x999296(0xcf)]=exports[_0x999296(0xde)]+_0x999296(0xd4);const supportPlatform=['visionos'];class ResourceManager{static async[_0x999296(0xdc)](_0x9be8bc){const _0x1fe033=_0x999296,_0x4c340b=(0x0,path_1[_0x1fe033(0xd2)])(process[_0x1fe033(0xe9)](),_0x9be8bc),_0x5d2044=(0x0,path_1[_0x1fe033(0xd2)])(exports[_0x1fe033(0xf6)],exports['WEB_PROJECT_DIRECTORY']);!fs[_0x1fe033(0xca)](_0x5d2044)?fs[_0x1fe033(0xe4)](_0x5d2044,{'recursive':!![]}):(0x0,file_1[_0x1fe033(0xf8)])(_0x5d2044);try{(0x0,file_1[_0x1fe033(0xcc)])(_0x4c340b,_0x5d2044);}catch(_0x2c18c2){console['log'](_0x2c18c2);}}static async[_0x999296(0xef)](_0x250b10){const _0xf0816b=_0x999296,_0x4b4a65=_0x250b10[_0xf0816b(0xd8)],_0x1660cb=_0x4b4a65[_0xf0816b(0xf0)][0x0][_0xf0816b(0xcd)],_0xecc99d=!_0x1660cb['startsWith'](_0xf0816b(0xf7))?await(0x0,load_1[_0xf0816b(0xe6)])(_0x1660cb):await(0x0,load_1[_0xf0816b(0xf5)])(_0x1660cb);return _0xecc99d['resize'](0x400,0x400),_0xecc99d;}static['checkPlatformPath'](_0x2b632f){const _0x2316bc=_0x999296,_0x57f717=_0x2b632f!==null&&_0x2b632f!==void 0x0?_0x2b632f:supportPlatform[0x0];if(!supportPlatform['includes'](_0x57f717))throw new Error(_0x2316bc(0xd0)+_0x57f717+_0x2316bc(0xe7)+supportPlatform[_0x2316bc(0xd2)](','));let _0x3f3957=(0x0,path_1['join'])(process[_0x2316bc(0xe9)](),'node_modules/@webspatial/platform-'+_0x57f717);!fs[_0x2316bc(0xca)](_0x3f3957)&&(_0x3f3957=(0x0,path_1['join'])(__dirname,_0x2316bc(0xd1)+_0x57f717));const _0x374ede=fs['existsSync'](_0x3f3957);!_0x374ede&&(0x0,child_process_1[_0x2316bc(0xd6)])(_0x2316bc(0xdd)+(0x0,path_1[_0x2316bc(0xd2)])(__dirname,_0x2316bc(0xce))+_0x2316bc(0xf9)+_0x57f717);let _0x5470cf=(0x0,path_1['join'])(__dirname,_0x2316bc(0xe0)),_0x313902=(0x0,path_1['join'])(_0x5470cf,_0x2316bc(0xe8)+_0x57f717);fs[_0x2316bc(0xca)](_0x5470cf)&&(0x0,child_process_1[_0x2316bc(0xd6)])('rm\x20-rf\x20'+_0x5470cf),fs['mkdirSync'](_0x5470cf),fs[_0x2316bc(0xe4)](_0x313902),(0x0,file_1[_0x2316bc(0xcc)])(_0x3f3957,_0x313902),exports[_0x2316bc(0xf6)]=_0x313902,exports[_0x2316bc(0xe1)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xf6)],'./build'),exports[_0x2316bc(0xe5)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x2316bc(0xda)),exports[_0x2316bc(0xfc)]=(0x0,path_1[_0x2316bc(0xd2)])(exports[_0x2316bc(0xe1)],_0x2316bc(0xed));}}exports[_0x999296(0xf3)]=ResourceManager;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x130637=_0x52f5;(function(_0x3659df,_0x4758fb){const _0x12a098=_0x52f5,_0x55b445=_0x3659df();while(!![]){try{const _0x5269a4=-parseInt(_0x12a098(0x112))/0x1*(-parseInt(_0x12a098(0xf0))/0x2)+-parseInt(_0x12a098(0xfd))/0x3*(-parseInt(_0x12a098(0xfe))/0x4)+-parseInt(_0x12a098(0x10e))/0x5*(-parseInt(_0x12a098(0x107))/0x6)+-parseInt(_0x12a098(0xf5))/0x7*(parseInt(_0x12a098(0x10a))/0x8)+-parseInt(_0x12a098(0xfb))/0x9+parseInt(_0x12a098(0x105))/0xa+-parseInt(_0x12a098(0x106))/0xb;if(_0x5269a4===_0x4758fb)break;else _0x55b445['push'](_0x55b445['shift']());}catch(_0x1959a5){_0x55b445['push'](_0x55b445['shift']());}}}(_0x2071,0xe776a));Object['defineProperty'](exports,_0x130637(0xf8),{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports[_0x130637(0xed)]=loadJsonFromDisk,exports[_0x130637(0x109)]=loadImageFromNet,exports[_0x130637(0x114)]=loadImageFromDisk,exports[_0x130637(0xe8)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require('../utils/FetchUtils-1'),CustomError_1=require(_0x130637(0xf7)),Jimp=require(_0x130637(0xf3)),imageHelper_1=require('./imageHelper');async function loadJsonFromNet(_0x1308b0){const _0x5a14a7=_0x130637,_0x282947=await FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xee)](_0x1308b0,{'encoding':_0x5a14a7(0x115)});if(_0x282947[_0x5a14a7(0xfa)]!==0xc8)throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbc,'message':_0x5a14a7(0xf4)+_0x1308b0+'.'+('The\x20response\x20status\x20is\x20'+_0x282947[_0x5a14a7(0xfa)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x1308b0,'status':_0x282947[_0x5a14a7(0xfa)]}});try{let _0xc09815;return _0x282947['text']?_0xc09815=await _0x282947['text']():['gzip',_0x5a14a7(0xf9),'br'][_0x5a14a7(0x10d)](_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])?_0xc09815=FetchUtils_1_1[_0x5a14a7(0xf6)][_0x5a14a7(0xf2)](Buffer['from'](_0x282947[_0x5a14a7(0x116)],'binary'),_0x282947[_0x5a14a7(0x101)][_0x5a14a7(0x10f)])[_0x5a14a7(0x103)]():_0xc09815=Buffer[_0x5a14a7(0xe9)](_0x282947[_0x5a14a7(0x116)],_0x5a14a7(0x115))['toString'](),JSON[_0x5a14a7(0x100)](_0xc09815[_0x5a14a7(0x113)]());}catch(_0x3f752b){throw new CustomError_1[(_0x5a14a7(0xeb))]({'code':0xbbd,'message':_0x5a14a7(0xec),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x39b74a){const _0x124e87=_0x130637,_0x51e461=await loadFileString(_0x39b74a['toString']());return JSON[_0x124e87(0x100)](_0x51e461);}async function loadImageFromNet(_0x57274e){const _0x2f0c85=_0x130637,_0x193551=await FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xee)](_0x57274e,{'encoding':_0x2f0c85(0x115)});if(_0x193551['status']!==0xc8)throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d2,'message':'Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20'+_0x193551[_0x2f0c85(0xfa)],'message_staring_params':{'icon_url':_0x57274e,'status':_0x193551[_0x2f0c85(0xfa)]}});const _0x53019d=_0x193551['headers'][_0x2f0c85(0x104)]?_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x104)](_0x2f0c85(0xff)):_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0xff)];if(!(_0x53019d===null||_0x53019d===void 0x0?void 0x0:_0x53019d[_0x2f0c85(0x10c)]('image/')))throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d3,'message':_0x2f0c85(0x108)+(_0x2f0c85(0xfc)+_0x53019d+'\x22'),'message_staring_params':{'icon_url':_0x57274e,'contentType':_0x53019d}});let _0x5ed984;_0x193551[_0x2f0c85(0x110)]?_0x5ed984=await _0x193551['arrayBuffer']():[_0x2f0c85(0xea),_0x2f0c85(0xf9),'br'][_0x2f0c85(0x10d)](_0x193551[_0x2f0c85(0x101)]['content-encoding'])?_0x5ed984=FetchUtils_1_1[_0x2f0c85(0xf6)][_0x2f0c85(0xf2)](Buffer[_0x2f0c85(0xe9)](_0x193551[_0x2f0c85(0x116)],_0x2f0c85(0x115)),_0x193551[_0x2f0c85(0x101)][_0x2f0c85(0x10f)]):_0x5ed984=Buffer[_0x2f0c85(0xe9)](_0x193551['data'],_0x2f0c85(0x115));if(_0x53019d['startsWith'](_0x2f0c85(0xf1))){const _0x313f29=new TextDecoder();try{_0x5ed984=await imageHelper_1[_0x2f0c85(0xef)]['svg2img'](_0x313f29['decode'](_0x5ed984));}catch(_0x36d485){throw new CustomError_1[(_0x2f0c85(0xeb))]({'code':0x7d4,'message':'Problem\x20reading\x20'+_0x57274e+':\x20'+_0x36d485,'message_staring_params':{'icon_url':_0x57274e,'error':_0x36d485}});}}return _0x53019d[_0x2f0c85(0x10c)](_0x2f0c85(0x102))&&(_0x5ed984=await imageHelper_1['ImageHelper'][_0x2f0c85(0x10b)](_0x5ed984)),await Jimp[_0x2f0c85(0x111)](Buffer['from'](_0x5ed984));}function _0x2071(){const _0x495669=['loadImageFromNet','376oAMFhp','webp2PngBuffer','startsWith','includes','365xSUiCx','content-encoding','arrayBuffer','read','53VtjPUL','trim','loadImageFromDisk','binary','data','loadFileString','from','gzip','CustomError','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','loadJsonFromDisk','fetch','ImageHelper','7788CYQvkh','image/svg','decompressResponseBuffer','jimp','Failed\x20to\x20download\x20Web\x20Manifest\x20','169960yYHxoM','fetchUtils','../utils/CustomError','__esModule','deflate','status','1450737UlbBlQ','\x20Responded\x20with\x20Content-Type\x20\x22','909eWTKIE','24660XWIuvP','content-type','parse','headers','image/webp','toString','get','16841830CMkqGx','21464476uAGuhF','36426WmIBTn','Received\x20icon\x20with\x20invalid\x20Content-Type.'];_0x2071=function(){return _0x495669;};return _0x2071();}async function loadImageFromDisk(_0x1210c7){const _0x284b08=_0x130637;return await Jimp[_0x284b08(0x111)](_0x1210c7);}function _0x52f5(_0xf334df,_0x3ae905){const _0x2071dd=_0x2071();return _0x52f5=function(_0x52f515,_0x1cb1c2){_0x52f515=_0x52f515-0xe8;let _0x2e5d20=_0x2071dd[_0x52f515];return _0x2e5d20;},_0x52f5(_0xf334df,_0x3ae905);}async function loadFileString(_0x104b97){const _0xfb5a16=_0x130637;let _0x572601=await fs['promises']['readFile'](_0x104b97[_0xfb5a16(0x103)]());return _0x572601[_0xfb5a16(0x103)]();}
|