@webspatial/builder 0.0.9 → 0.0.11

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 (92) hide show
  1. package/dist/index.js +1 -1
  2. package/dist/lib/Cli.js +1 -1
  3. package/dist/lib/cmds/build.d.ts +1 -1
  4. package/dist/lib/cmds/build.js +1 -1
  5. package/dist/lib/cmds/check.js +1 -1
  6. package/dist/lib/cmds/help.js +1 -1
  7. package/dist/lib/cmds/version.js +1 -1
  8. package/dist/lib/pwa/config.js +1 -1
  9. package/dist/lib/pwa/index.js +1 -1
  10. package/dist/lib/pwa/validate.js +1 -1
  11. package/dist/lib/resource/file.js +1 -1
  12. package/dist/lib/resource/imageHelper.js +1 -1
  13. package/dist/lib/resource/index.d.ts +10 -3
  14. package/dist/lib/resource/index.js +1 -1
  15. package/dist/lib/resource/load.js +1 -1
  16. package/dist/lib/utils/CustomError.js +1 -1
  17. package/dist/lib/utils/FetchUtils-1.js +1 -1
  18. package/dist/lib/utils/Log.js +1 -1
  19. package/dist/lib/utils/fetch.js +1 -1
  20. package/dist/lib/utils/messages.js +1 -1
  21. package/dist/lib/utils/utils.d.ts +9 -0
  22. package/dist/lib/utils/utils.js +1 -1
  23. package/dist/lib/xcode/index.js +1 -1
  24. package/dist/lib/xcode/manifestSwiftTemplate.d.ts +1 -1
  25. package/dist/lib/xcode/manifestSwiftTemplate.js +1 -1
  26. package/dist/lib/xcode/xcodebuild.js +1 -1
  27. package/dist/lib/xcode/xcodeproject.js +1 -1
  28. package/dist/lib/xcode/xcrun.js +1 -1
  29. package/package.json +3 -2
  30. package/template/visionOSApp/Packages/RealityKitContent/.build/workspace-state.json +0 -7
  31. package/template/visionOSApp/Packages/RealityKitContent/.swiftpm/xcode/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  32. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json +0 -11
  33. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json +0 -112
  34. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata +0 -17
  35. package/template/visionOSApp/Packages/RealityKitContent/Package.swift +0 -27
  36. package/template/visionOSApp/Packages/RealityKitContent/README.md +0 -3
  37. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda +0 -50
  38. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda +0 -216
  39. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda +0 -59
  40. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift +0 -4
  41. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  42. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json +0 -6
  43. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Contents.json +0 -17
  44. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  45. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json +0 -6
  46. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  47. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json +0 -6
  48. package/template/visionOSApp/web-spatial/Assets.xcassets/Contents.json +0 -6
  49. package/template/visionOSApp/web-spatial/Info.plist +0 -33
  50. package/template/visionOSApp/web-spatial/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
  51. package/template/visionOSApp/web-spatial/libs/EventEmitter.swift +0 -32
  52. package/template/visionOSApp/web-spatial/libs/SpatialComponent.swift +0 -31
  53. package/template/visionOSApp/web-spatial/libs/SpatialEntity.swift +0 -179
  54. package/template/visionOSApp/web-spatial/libs/SpatialInputComponent.swift +0 -26
  55. package/template/visionOSApp/web-spatial/libs/SpatialMeshResource.swift +0 -19
  56. package/template/visionOSApp/web-spatial/libs/SpatialModel3DComponent.swift +0 -51
  57. package/template/visionOSApp/web-spatial/libs/SpatialModelComponent.swift +0 -32
  58. package/template/visionOSApp/web-spatial/libs/SpatialObject.swift +0 -144
  59. package/template/visionOSApp/web-spatial/libs/SpatialPhysicallyBasedMaterial.swift +0 -19
  60. package/template/visionOSApp/web-spatial/libs/SpatialViewComponent.swift +0 -15
  61. package/template/visionOSApp/web-spatial/libs/SpatialWindowComponent.swift +0 -420
  62. package/template/visionOSApp/web-spatial/libs/SpatialWindowContainer.swift +0 -149
  63. package/template/visionOSApp/web-spatial/libs/Utils/CommandManager.swift +0 -800
  64. package/template/visionOSApp/web-spatial/libs/Utils/Logger.swift +0 -36
  65. package/template/visionOSApp/web-spatial/libs/Utils/SceneManager.swift +0 -108
  66. package/template/visionOSApp/web-spatial/libs/Utils/WindowContainerMgr.swift +0 -113
  67. package/template/visionOSApp/web-spatial/libs/json/JsonParser.swift +0 -52
  68. package/template/visionOSApp/web-spatial/libs/uiKitDelegate/Window.swift +0 -34
  69. package/template/visionOSApp/web-spatial/libs/webView/UpdateSystem.swift +0 -33
  70. package/template/visionOSApp/web-spatial/libs/webView/backend/NativeWebView.swift +0 -319
  71. package/template/visionOSApp/web-spatial/libs/webView/manifest.swift +0 -92
  72. package/template/visionOSApp/web-spatial/static-web/index.html +0 -9
  73. package/template/visionOSApp/web-spatial/views/HideViewModifier.swift +0 -17
  74. package/template/visionOSApp/web-spatial/views/ImmersiveView.swift +0 -24
  75. package/template/visionOSApp/web-spatial/views/LoadingView.swift +0 -25
  76. package/template/visionOSApp/web-spatial/views/MaterialWithBorderCornerModifier.swift +0 -82
  77. package/template/visionOSApp/web-spatial/views/OpenDismissHandlerUI.swift +0 -52
  78. package/template/visionOSApp/web-spatial/views/PlainWindowContainerView.swift +0 -84
  79. package/template/visionOSApp/web-spatial/views/SpatialModel3DView.swift +0 -193
  80. package/template/visionOSApp/web-spatial/views/SpatialViewUI.swift +0 -168
  81. package/template/visionOSApp/web-spatial/views/SpatialWebViewUI.swift +0 -186
  82. package/template/visionOSApp/web-spatial/views/VolumetricWindowContainerView.swift +0 -38
  83. package/template/visionOSApp/web-spatial/views/ui/NavView.swift +0 -125
  84. package/template/visionOSApp/web-spatial/web_spatialApp.swift +0 -158
  85. package/template/visionOSApp/web-spatial.xcodeproj/project.pbxproj +0 -686
  86. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  87. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  88. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -5
  89. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcuserdata/bytedance.xcuserdatad/WorkspaceSettings.xcsettings +0 -14
  90. package/template/visionOSApp/web-spatial.xcodeproj/xcshareddata/xcschemes/web-spatial.xcscheme +0 -115
  91. package/template/visionOSApp/web-spatial.xcodeproj/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -27
  92. package/template/visionOSApp/web-spatialTests/web_spatialTests.swift +0 -34
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x33b9(_0x425cfd,_0x361aec){const _0x8b5479=_0x8b54();return _0x33b9=function(_0x33b931,_0x5469b1){_0x33b931=_0x33b931-0x141;let _0x50a421=_0x8b5479[_0x33b931];return _0x50a421;},_0x33b9(_0x425cfd,_0x361aec);}const _0x3667de=_0x33b9;(function(_0x3f54eb,_0x1a3937){const _0x1e2734=_0x33b9,_0x4aca30=_0x3f54eb();while(!![]){try{const _0x569959=-parseInt(_0x1e2734(0x156))/0x1+-parseInt(_0x1e2734(0x150))/0x2+parseInt(_0x1e2734(0x14f))/0x3*(parseInt(_0x1e2734(0x146))/0x4)+parseInt(_0x1e2734(0x151))/0x5*(-parseInt(_0x1e2734(0x15b))/0x6)+parseInt(_0x1e2734(0x157))/0x7+parseInt(_0x1e2734(0x155))/0x8*(parseInt(_0x1e2734(0x154))/0x9)+-parseInt(_0x1e2734(0x14a))/0xa*(-parseInt(_0x1e2734(0x14e))/0xb);if(_0x569959===_0x1a3937)break;else _0x4aca30['push'](_0x4aca30['shift']());}catch(_0x484e43){_0x4aca30['push'](_0x4aca30['shift']());}}}(_0x8b54,0xda409));Object['defineProperty'](exports,_0x3667de(0x148),{'value':!![]});function _0x8b54(){const _0x4c0e85=['__esModule','./lib/Cli','50Ufpwuu','forEach','cli','./lib/utils/Log','701107HrMHLM','6YKFHMG','190476dzGdSG','5MtOCqz','exports','./lib/utils/CustomError','34092IyNorY','1096YsAFDE','496335CgRoGn','1169938PKqfNo','CustomError','ConsoleLog','code','2052618ZISVIR','error','slice','exit','Cli','customMessage','message','1645724dqOXgr','isArray'];_0x8b54=function(){return _0x4c0e85;};return _0x8b54();}const Cli_1=require(_0x3667de(0x149)),Log_1=require(_0x3667de(0x14d)),CustomError_1=require(_0x3667de(0x153));module[_0x3667de(0x152)]=async()=>{const _0x140a20=_0x3667de,_0x298084=new Cli_1[(_0x140a20(0x143))](),_0x3d393f=new Log_1[(_0x140a20(0x159))](_0x140a20(0x14c)),_0x1fbabf=process['argv'][_0x140a20(0x141)](0x2);let _0x95b56d;try{_0x95b56d=await _0x298084['run'](_0x1fbabf);}catch(_0x4083bf){if(_0x4083bf instanceof CustomError_1[_0x140a20(0x158)]){const _0x219c94=_0x4083bf[_0x140a20(0x144)];Array[_0x140a20(0x147)](_0x219c94)?_0x219c94[_0x140a20(0x14b)](_0x2981c5=>{const _0xeb9977=_0x140a20;_0x3d393f[_0xeb9977(0x15c)](_0x2981c5['code']+':\x20'+_0x2981c5[_0xeb9977(0x145)]);}):_0x3d393f['error'](_0x219c94[_0x140a20(0x15a)]+':\x20'+_0x219c94[_0x140a20(0x145)]);}else _0x3d393f[_0x140a20(0x15c)](_0x4083bf[_0x140a20(0x145)]);_0x95b56d=![];}!_0x95b56d?process[_0x140a20(0x142)](0x1):process[_0x140a20(0x142)](0x0);};
1
+ 'use strict';const _0x46074b=_0x999d;function _0x999d(_0x1e75be,_0x2e0067){const _0x5f21eb=_0x5f21();return _0x999d=function(_0x999d4f,_0x190a8c){_0x999d4f=_0x999d4f-0x1ba;let _0x1f82cf=_0x5f21eb[_0x999d4f];return _0x1f82cf;},_0x999d(_0x1e75be,_0x2e0067);}function _0x5f21(){const _0x48b48b=['./lib/Cli','87374jIEruu','exit','ConsoleLog','error','1192270pzrqFE','./lib/utils/CustomError','Cli','isArray','303XAxhmC','432690NpBVFX','726640LSJJDc','570388fjRrIJ','message','forEach','224gOgAmB','code','17396fxoyBN','CustomError','9cdhQJm','customMessage','exports','argv','1582572mQOXql'];_0x5f21=function(){return _0x48b48b;};return _0x5f21();}(function(_0x4bb469,_0x3ca1fd){const _0x56c293=_0x999d,_0x45647f=_0x4bb469();while(!![]){try{const _0x782f65=-parseInt(_0x56c293(0x1cf))/0x1+-parseInt(_0x56c293(0x1d1))/0x2+parseInt(_0x56c293(0x1ce))/0x3*(parseInt(_0x56c293(0x1be))/0x4)+parseInt(_0x56c293(0x1d0))/0x5+parseInt(_0x56c293(0x1c4))/0x6+parseInt(_0x56c293(0x1c6))/0x7*(parseInt(_0x56c293(0x1bc))/0x8)+parseInt(_0x56c293(0x1c0))/0x9*(-parseInt(_0x56c293(0x1ca))/0xa);if(_0x782f65===_0x3ca1fd)break;else _0x45647f['push'](_0x45647f['shift']());}catch(_0x3e7cfb){_0x45647f['push'](_0x45647f['shift']());}}}(_0x5f21,0x58114));Object['defineProperty'](exports,'__esModule',{'value':!![]});const Cli_1=require(_0x46074b(0x1c5)),Log_1=require('./lib/utils/Log'),CustomError_1=require(_0x46074b(0x1cb));module[_0x46074b(0x1c2)]=async()=>{const _0x53a456=_0x46074b,_0x5979e4=new Cli_1[(_0x53a456(0x1cc))](),_0xe863cc=new Log_1[(_0x53a456(0x1c8))]('cli'),_0x3e2148=process[_0x53a456(0x1c3)]['slice'](0x2);let _0x8eafed;try{_0x8eafed=await _0x5979e4['run'](_0x3e2148);}catch(_0xe5b4ce){if(_0xe5b4ce instanceof CustomError_1[_0x53a456(0x1bf)]){const _0x4ee7b1=_0xe5b4ce[_0x53a456(0x1c1)];Array[_0x53a456(0x1cd)](_0x4ee7b1)?_0x4ee7b1[_0x53a456(0x1bb)](_0x5964de=>{const _0x1778cf=_0x53a456;_0xe863cc[_0x1778cf(0x1c9)](_0x5964de[_0x1778cf(0x1bd)]+':\x20'+_0x5964de[_0x1778cf(0x1ba)]);}):_0xe863cc[_0x53a456(0x1c9)](_0x4ee7b1[_0x53a456(0x1bd)]+':\x20'+_0x4ee7b1[_0x53a456(0x1ba)]);}else _0xe863cc[_0x53a456(0x1c9)](_0xe5b4ce[_0x53a456(0x1ba)]);_0x8eafed=![];}!_0x8eafed?process[_0x53a456(0x1c7)](0x1):process[_0x53a456(0x1c7)](0x0);};
package/dist/lib/Cli.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0xadf853=_0x219f;(function(_0x3b9017,_0x228bed){const _0x4b1f2a=_0x219f,_0x397af0=_0x3b9017();while(!![]){try{const _0x1fab01=parseInt(_0x4b1f2a(0xa7))/0x1*(parseInt(_0x4b1f2a(0xa2))/0x2)+-parseInt(_0x4b1f2a(0x95))/0x3*(-parseInt(_0x4b1f2a(0xa1))/0x4)+parseInt(_0x4b1f2a(0xa6))/0x5*(-parseInt(_0x4b1f2a(0xaa))/0x6)+-parseInt(_0x4b1f2a(0xa0))/0x7+parseInt(_0x4b1f2a(0x9c))/0x8*(-parseInt(_0x4b1f2a(0x9f))/0x9)+-parseInt(_0x4b1f2a(0xb2))/0xa+-parseInt(_0x4b1f2a(0x99))/0xb*(-parseInt(_0x4b1f2a(0xad))/0xc);if(_0x1fab01===_0x228bed)break;else _0x397af0['push'](_0x397af0['shift']());}catch(_0x5619d9){_0x397af0['push'](_0x397af0['shift']());}}}(_0x4743,0xe09f1));function _0x4743(){const _0x119ef0=['publish','versions','store','setFetch','dev','Current\x20Node.js\x20version\x20is\x20','./utils/fetch','7557XLFwdb','node','./cmds/version','./utils/FetchUtils-1','21775193kmDSES','decompressResponseBuffer','run','24zbDbSu','__esModule','Cli','2411973uQrZGA','9449440xYrEOD','2244cVhNlb','161258TFuOud','fetch','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','start','4635OfsoWm','2mXKzHS','setDownloadFile','major','8082tcNWRd','./cmds/build','version','24tViPJn','help','build','length','defineProperty','12109140eHklWB'];_0x4743=function(){return _0x119ef0;};return _0x4743();}Object[_0xadf853(0xb1)](exports,_0xadf853(0x9d),{'value':!![]}),exports[_0xadf853(0x9e)]=void 0x0;const minimist=require('minimist'),semver_1=require('semver'),FetchUtils_1_1=require(_0xadf853(0x98)),help_1=require('./cmds/help'),build_1=require(_0xadf853(0xab)),version_1=require(_0xadf853(0x97)),fetch_1=require(_0xadf853(0xb9));function _0x219f(_0x1dbe8e,_0x30b152){const _0x474385=_0x4743();return _0x219f=function(_0x219fea,_0x4cbd7e){_0x219fea=_0x219fea-0x95;let _0xe8ae59=_0x474385[_0x219fea];return _0xe8ae59;},_0x219f(_0x1dbe8e,_0x30b152);}class Cli{async[_0xadf853(0x9b)](_0x3b65eb){const _0x5eacb2=_0xadf853;if((0x0,semver_1[_0x5eacb2(0xa9)])(process[_0x5eacb2(0xb4)][_0x5eacb2(0x96)])<0xe)throw new Error(_0x5eacb2(0xb8)+process[_0x5eacb2(0xb4)][_0x5eacb2(0x96)]+'.'+_0x5eacb2(0xa4));FetchUtils_1_1['fetchUtils'][_0x5eacb2(0xb6)](fetch_1[_0x5eacb2(0xa3)]),FetchUtils_1_1['fetchUtils'][_0x5eacb2(0xa8)](fetch_1['downloadFile']),FetchUtils_1_1['fetchUtils']['setDecompressResponseBuffer'](fetch_1[_0x5eacb2(0x9a)]);const _0x4f2f25=minimist(_0x3b65eb);let _0x1af2b1=undefined;if(_0x4f2f25['_'][_0x5eacb2(0xb0)]===0x0){if(_0x4f2f25[_0x5eacb2(0xac)])_0x1af2b1=_0x5eacb2(0xac);else _0x4f2f25[_0x5eacb2(0xae)]&&(_0x1af2b1=_0x5eacb2(0xae));}else _0x1af2b1=_0x4f2f25['_'][0x0];!_0x1af2b1&&(_0x1af2b1=_0x5eacb2(0xae));switch(_0x1af2b1){case _0x5eacb2(0xae):case'h':return await(0x0,help_1[_0x5eacb2(0xae)])(_0x4f2f25);case _0x5eacb2(0xaf):return await(0x0,build_1[_0x5eacb2(0xa5)])(_0x4f2f25);case _0x5eacb2(0xb3):return await(0x0,build_1[_0x5eacb2(0xb5)])(_0x4f2f25);case _0x5eacb2(0xb7):return await(0x0,build_1[_0x5eacb2(0xb7)])(_0x4f2f25);case _0x5eacb2(0xac):{return await(0x0,version_1[_0x5eacb2(0xac)])();}default:throw new Error('\x22'+_0x1af2b1+'\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands');}}}exports['Cli']=Cli;
1
+ 'use strict';const _0x316aa5=_0x527e;function _0x527e(_0x1b263d,_0x483045){const _0x32d383=_0x32d3();return _0x527e=function(_0x527e9f,_0x7a0bd5){_0x527e9f=_0x527e9f-0xba;let _0x5e5e5a=_0x32d383[_0x527e9f];return _0x5e5e5a;},_0x527e(_0x1b263d,_0x483045);}(function(_0x1a7c46,_0x565316){const _0x1f17c6=_0x527e,_0x3693bd=_0x1a7c46();while(!![]){try{const _0x1a7368=parseInt(_0x1f17c6(0xbd))/0x1*(-parseInt(_0x1f17c6(0xd5))/0x2)+-parseInt(_0x1f17c6(0xbc))/0x3*(-parseInt(_0x1f17c6(0xbb))/0x4)+-parseInt(_0x1f17c6(0xd6))/0x5+parseInt(_0x1f17c6(0xce))/0x6*(parseInt(_0x1f17c6(0xc8))/0x7)+-parseInt(_0x1f17c6(0xd0))/0x8*(-parseInt(_0x1f17c6(0xc4))/0x9)+-parseInt(_0x1f17c6(0xc3))/0xa+parseInt(_0x1f17c6(0xc9))/0xb*(parseInt(_0x1f17c6(0xdb))/0xc);if(_0x1a7368===_0x565316)break;else _0x3693bd['push'](_0x3693bd['shift']());}catch(_0x483b01){_0x3693bd['push'](_0x3693bd['shift']());}}}(_0x32d3,0xdfaf1));Object[_0x316aa5(0xd7)](exports,_0x316aa5(0xc7),{'value':!![]}),exports['Cli']=void 0x0;const minimist=require('minimist'),semver_1=require(_0x316aa5(0xd8)),FetchUtils_1_1=require('./utils/FetchUtils-1'),help_1=require(_0x316aa5(0xbf)),build_1=require('./cmds/build'),version_1=require(_0x316aa5(0xba)),fetch_1=require(_0x316aa5(0xd2));class Cli{async[_0x316aa5(0xcd)](_0x52cf97){const _0x4d8270=_0x316aa5;if((0x0,semver_1[_0x4d8270(0xc2)])(process[_0x4d8270(0xd9)][_0x4d8270(0xc6)])<0xe)throw new Error(_0x4d8270(0xc1)+process['versions'][_0x4d8270(0xc6)]+'.'+_0x4d8270(0xcf));FetchUtils_1_1[_0x4d8270(0xc5)][_0x4d8270(0xd3)](fetch_1['fetch']),FetchUtils_1_1[_0x4d8270(0xc5)][_0x4d8270(0xca)](fetch_1['downloadFile']),FetchUtils_1_1['fetchUtils'][_0x4d8270(0xd1)](fetch_1['decompressResponseBuffer']);const _0x3e3803=minimist(_0x52cf97);let _0x49bf60=undefined;if(_0x3e3803['_']['length']===0x0){if(_0x3e3803[_0x4d8270(0xc0)])_0x49bf60=_0x4d8270(0xc0);else _0x3e3803[_0x4d8270(0xda)]&&(_0x49bf60=_0x4d8270(0xda));}else _0x49bf60=_0x3e3803['_'][0x0];!_0x49bf60&&(_0x49bf60='help');switch(_0x49bf60){case _0x4d8270(0xda):case'h':return await(0x0,help_1[_0x4d8270(0xda)])(_0x3e3803);case'build':return await(0x0,build_1[_0x4d8270(0xd4)])(_0x3e3803);case _0x4d8270(0xbe):return await(0x0,build_1[_0x4d8270(0xcc)])(_0x3e3803);case _0x4d8270(0xcd):return await(0x0,build_1['run'])(_0x3e3803);case'version':{return await(0x0,version_1[_0x4d8270(0xc0)])();}default:throw new Error('\x22'+_0x49bf60+_0x4d8270(0xcb));}}}exports['Cli']=Cli;function _0x32d3(){const _0x2f959f=['12fjuwiN','./cmds/version','1325892LqNMrB','3gsQRWv','16190tbGVkc','publish','./cmds/help','version','Current\x20Node.js\x20version\x20is\x20','major','744840GGRfRu','9IRGNwT','fetchUtils','node','__esModule','7833686IihmjM','8463334oVVXUZ','setDownloadFile','\x22\x20is\x20not\x20a\x20valid\x20command!\x20Use\x20\x27bubblewrap\x20help\x27\x20for\x20a\x20list\x20of\x20commands','store','run','6iispDy','\x20Node.js\x20version\x2014\x20or\x20above\x20is\x20required\x20to\x20run\x20XRAPP\x20BUILDER.','9338072MxJctg','setDecompressResponseBuffer','./utils/fetch','setFetch','start','82DMeyuJ','8663705kaoQAJ','defineProperty','semver','versions','help'];_0x32d3=function(){return _0x2f959f;};return _0x32d3();}
@@ -1,4 +1,4 @@
1
1
  import { ParsedArgs } from 'minimist';
2
2
  export declare function start(args: ParsedArgs, isDev?: boolean): Promise<any>;
3
3
  export declare function store(args: ParsedArgs): Promise<boolean>;
4
- export declare function dev(args: ParsedArgs): Promise<boolean>;
4
+ export declare function run(args: ParsedArgs): Promise<boolean>;
@@ -1 +1 @@
1
- 'use strict';function _0x1874(_0x1e54bf,_0x9e692c){const _0x16c153=_0x16c1();return _0x1874=function(_0x187422,_0x766848){_0x187422=_0x187422-0xd0;let _0xa3c3ad=_0x16c153[_0x187422];return _0xa3c3ad;},_0x1874(_0x1e54bf,_0x9e692c);}const _0x5e8823=_0x1874;(function(_0x268188,_0x3eaa68){const _0x8bc725=_0x1874,_0x5938fd=_0x268188();while(!![]){try{const _0x4cfa68=-parseInt(_0x8bc725(0xda))/0x1*(-parseInt(_0x8bc725(0xf1))/0x2)+parseInt(_0x8bc725(0xef))/0x3*(-parseInt(_0x8bc725(0xea))/0x4)+parseInt(_0x8bc725(0xe0))/0x5+-parseInt(_0x8bc725(0xe9))/0x6+parseInt(_0x8bc725(0xd6))/0x7*(-parseInt(_0x8bc725(0xe7))/0x8)+parseInt(_0x8bc725(0xe8))/0x9*(parseInt(_0x8bc725(0xf4))/0xa)+-parseInt(_0x8bc725(0xd5))/0xb*(parseInt(_0x8bc725(0xd0))/0xc);if(_0x4cfa68===_0x3eaa68)break;else _0x5938fd['push'](_0x5938fd['shift']());}catch(_0x4713d4){_0x5938fd['push'](_0x5938fd['shift']());}}}(_0x16c1,0x7957e));Object[_0x5e8823(0xe4)](exports,_0x5e8823(0xd3),{'value':!![]}),exports['start']=start,exports[_0x5e8823(0xe3)]=store,exports[_0x5e8823(0xd9)]=dev;const pwa_1=require(_0x5e8823(0xdc)),resource_1=require(_0x5e8823(0xde)),xcode_1=require('../xcode'),check_1=require('./check');function _0x16c1(){const _0x342f01=['name','-------------------\x20build\x20start\x20-------------------','project','24rebhjw','-------------------\x20build\x20end\x20-------------------','111126QfvPHA','version','fromNet','70170SvRnQE','buildType','270324kARstn','checkStoreParams','moveProjectFrom','__esModule','generate\x20icon:\x20ok','176tCBtIw','6139BahBsw','log','parseProject','dev','3XAFHRI','app-store-connect','../pwa','json','../resource','PWAGenerator','2740965HvcdWM','upload','XcodeManager','store','defineProperty','ResourceManager','export','1160brhrfM','747WBorUC','433836lMHbbJ','120184WAQajv','generateIcon'];_0x16c1=function(){return _0x342f01;};return _0x16c1();}async function start(_0x3a9c65,_0x304e5b=![]){const _0x35f139=_0x5e8823;(0x0,check_1['checkBuildParams'])(_0x3a9c65,_0x304e5b),console[_0x35f139(0xd7)](_0x35f139(0xed));let _0x21a0f6=await pwa_1[_0x35f139(0xdf)]['generator'](_0x3a9c65,_0x304e5b);!_0x21a0f6[_0x35f139(0xf3)]&&(await resource_1[_0x35f139(0xe5)][_0x35f139(0xd2)](_0x3a9c65[_0x35f139(0xee)]),console[_0x35f139(0xd7)]('move\x20web\x20project:\x20ok'));const _0x9b11b4=await resource_1['ResourceManager'][_0x35f139(0xeb)](_0x21a0f6);return console['log'](_0x35f139(0xd4)),await xcode_1['XcodeManager'][_0x35f139(0xd8)]({'icon':_0x9b11b4,'manifestInfo':_0x21a0f6,'teamId':_0x3a9c65['teamId'],'version':_0x3a9c65[_0x35f139(0xf2)],'buildType':_0x3a9c65['buildType'],'export':_0x3a9c65[_0x35f139(0xe6)]},_0x304e5b),console[_0x35f139(0xd7)](_0x35f139(0xf0)),_0x21a0f6;}async function store(_0x47797c){const _0x18b918=_0x5e8823;(0x0,check_1[_0x18b918(0xd1)])(_0x47797c);let _0x453e99={'name':'SpatialWebTest'};_0x47797c[_0x18b918(0xf5)]=_0x18b918(0xdb);if(_0x47797c[_0x18b918(0xec)])_0x453e99[_0x18b918(0xec)]=_0x47797c['name'];else{const _0x4d4493=await start(_0x47797c);if(!_0x4d4493)return![];_0x453e99['name']=_0x4d4493[_0x18b918(0xdd)][_0x18b918(0xec)];}return await xcode_1['XcodeManager'][_0x18b918(0xe1)](_0x47797c,_0x453e99),!![];}async function dev(_0x2c51f9){const _0x428339=_0x5e8823;let _0x2f92b2={'name':'SpatialWebTest','id':'com.SpatialWeb.test'};const _0x264c96=await start(_0x2c51f9,!![]);if(!_0x264c96)return![];return _0x2f92b2[_0x428339(0xec)]=_0x264c96[_0x428339(0xdd)][_0x428339(0xec)],_0x2f92b2['id']=_0x264c96['json']['id'],await xcode_1[_0x428339(0xe2)]['runWithSimulator'](_0x2f92b2),!![];}
1
+ 'use strict';const _0x3bfad=_0x5e80;function _0x37e5(){const _0x2f9512=['161602WVEEIC','runWithSimulator','upload','8961016TJGbMD','10NJKqbJ','PWAGenerator','11838PtLJdt','checkStoreParams','fromNet','./check','SpatialWebTest','__esModule','44mWXKGW','1830668dAkPYq','platform','generate\x20icon:\x20ok','move\x20web\x20project:\x20ok','generator','-------------------\x20build\x20end\x20-------------------','teamId','version','checkPlatformPath','4335DgMvkb','5373261OhVEww','start','generateIcon','938anXkPI','log','../resource','1375404YUiany','parseProject','-------------------\x20build\x20start\x20-------------------','ResourceManager','../pwa','../xcode','buildType','2359hQgiNO','store','XcodeManager','com.SpatialWeb.test','10CvCssU','moveProjectFrom','run','json','name'];_0x37e5=function(){return _0x2f9512;};return _0x37e5();}function _0x5e80(_0xcef394,_0x4619a9){const _0x37e533=_0x37e5();return _0x5e80=function(_0x5e804e,_0x522921){_0x5e804e=_0x5e804e-0x74;let _0xb9daae=_0x37e533[_0x5e804e];return _0xb9daae;},_0x5e80(_0xcef394,_0x4619a9);}(function(_0x19c478,_0x21dd5c){const _0x4ba03f=_0x5e80,_0x165149=_0x19c478();while(!![]){try{const _0x1d1c08=-parseInt(_0x4ba03f(0x9d))/0x1+-parseInt(_0x4ba03f(0x8a))/0x2*(parseInt(_0x4ba03f(0x86))/0x3)+parseInt(_0x4ba03f(0x7d))/0x4*(parseInt(_0x4ba03f(0x74))/0x5)+-parseInt(_0x4ba03f(0x76))/0x6*(-parseInt(_0x4ba03f(0x94))/0x7)+-parseInt(_0x4ba03f(0xa0))/0x8+-parseInt(_0x4ba03f(0x87))/0x9*(-parseInt(_0x4ba03f(0x98))/0xa)+parseInt(_0x4ba03f(0x7c))/0xb*(parseInt(_0x4ba03f(0x8d))/0xc);if(_0x1d1c08===_0x21dd5c)break;else _0x165149['push'](_0x165149['shift']());}catch(_0x293ffd){_0x165149['push'](_0x165149['shift']());}}}(_0x37e5,0xa51ca));Object['defineProperty'](exports,_0x3bfad(0x7b),{'value':!![]}),exports[_0x3bfad(0x88)]=start,exports[_0x3bfad(0x95)]=store,exports[_0x3bfad(0x9a)]=run;const pwa_1=require(_0x3bfad(0x91)),resource_1=require(_0x3bfad(0x8c)),xcode_1=require(_0x3bfad(0x92)),check_1=require(_0x3bfad(0x79));async function start(_0x33d1cc,_0x48e98f=![]){const _0x209342=_0x3bfad;resource_1[_0x209342(0x90)][_0x209342(0x85)](_0x33d1cc[_0x209342(0x7e)]),(0x0,check_1['checkBuildParams'])(_0x33d1cc,_0x48e98f),console[_0x209342(0x8b)](_0x209342(0x8f));let _0x287a84=await pwa_1[_0x209342(0x75)][_0x209342(0x81)](_0x33d1cc,_0x48e98f);!_0x287a84[_0x209342(0x78)]&&(await resource_1['ResourceManager'][_0x209342(0x99)](_0x33d1cc['project']),console[_0x209342(0x8b)](_0x209342(0x80)));const _0x3c4e3a=await resource_1[_0x209342(0x90)][_0x209342(0x89)](_0x287a84);return console[_0x209342(0x8b)](_0x209342(0x7f)),await xcode_1[_0x209342(0x96)][_0x209342(0x8e)]({'icon':_0x3c4e3a,'manifestInfo':_0x287a84,'teamId':_0x33d1cc[_0x209342(0x83)],'version':_0x33d1cc[_0x209342(0x84)],'buildType':_0x33d1cc[_0x209342(0x93)],'export':_0x33d1cc['export']},_0x48e98f),console[_0x209342(0x8b)](_0x209342(0x82)),_0x287a84;}async function store(_0x1ecaf1){const _0x3304bc=_0x3bfad;resource_1[_0x3304bc(0x90)][_0x3304bc(0x85)](_0x1ecaf1['platform']),(0x0,check_1[_0x3304bc(0x77)])(_0x1ecaf1);let _0x4fe1a7={'name':_0x3304bc(0x7a)};_0x1ecaf1[_0x3304bc(0x93)]='app-store-connect';if(_0x1ecaf1[_0x3304bc(0x9c)])_0x4fe1a7['name']=_0x1ecaf1[_0x3304bc(0x9c)];else{const _0x2f69a5=await start(_0x1ecaf1);if(!_0x2f69a5)return![];_0x4fe1a7[_0x3304bc(0x9c)]=_0x2f69a5['json'][_0x3304bc(0x9c)];}return await xcode_1[_0x3304bc(0x96)][_0x3304bc(0x9f)](_0x1ecaf1,_0x4fe1a7),!![];}async function run(_0x4c3fd8){const _0x17f5a8=_0x3bfad;resource_1[_0x17f5a8(0x90)]['checkPlatformPath'](_0x4c3fd8[_0x17f5a8(0x7e)]);let _0x2aa71c={'name':'SpatialWebTest','id':_0x17f5a8(0x97)};const _0x5480d1=await start(_0x4c3fd8,!![]);if(!_0x5480d1)return![];return _0x2aa71c[_0x17f5a8(0x9c)]=_0x5480d1['json'][_0x17f5a8(0x9c)],_0x2aa71c['id']=_0x5480d1[_0x17f5a8(0x9b)]['id'],await xcode_1[_0x17f5a8(0x96)][_0x17f5a8(0x9e)](_0x2aa71c),!![];}
@@ -1 +1 @@
1
- 'use strict';function _0x135c(){var _0x4e0929=['1rtpWDi','15273OydRoL','1477210rMTapN','__esModule','manifest','7696DQbnxn','checkBuildParams','4429030krmQrx','teamId','manifest-url','433850vqKODy','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','4246296qGYPmX','defineProperty','teamId\x20is\x20required','2302995vuvuIX','manifest\x20or\x20manifest-url\x20is\x20required','3492972pKFurt','checkStoreParams'];_0x135c=function(){return _0x4e0929;};return _0x135c();}var _0x3a47df=_0x45e2;(function(_0x4f6214,_0x59eb7e){var _0x3557e6=_0x45e2,_0x153381=_0x4f6214();while(!![]){try{var _0x3574ee=parseInt(_0x3557e6(0x8f))/0x1*(parseInt(_0x3557e6(0x99))/0x2)+-parseInt(_0x3557e6(0x8b))/0x3+-parseInt(_0x3557e6(0x88))/0x4+parseInt(_0x3557e6(0x96))/0x5+-parseInt(_0x3557e6(0x8d))/0x6+parseInt(_0x3557e6(0x91))/0x7+parseInt(_0x3557e6(0x94))/0x8*(parseInt(_0x3557e6(0x90))/0x9);if(_0x3574ee===_0x59eb7e)break;else _0x153381['push'](_0x153381['shift']());}catch(_0x942718){_0x153381['push'](_0x153381['shift']());}}}(_0x135c,0x8295a));function _0x45e2(_0x4ba657,_0xbd9646){var _0x135c0f=_0x135c();return _0x45e2=function(_0x45e21a,_0x1d42f6){_0x45e21a=_0x45e21a-0x87;var _0x1689be=_0x135c0f[_0x45e21a];return _0x1689be;},_0x45e2(_0x4ba657,_0xbd9646);}Object[_0x3a47df(0x89)](exports,_0x3a47df(0x92),{'value':!![]}),exports[_0x3a47df(0x95)]=checkBuildParams,exports[_0x3a47df(0x8e)]=checkStoreParams;function checkBuildParams(_0x4ebb12,_0x163492=![]){var _0x4202e5=_0x3a47df;if(!_0x4ebb12[_0x4202e5(0x93)]&&!_0x4ebb12[_0x4202e5(0x98)])throw new Error(_0x4202e5(0x8c));if(_0x4ebb12[_0x4202e5(0x93)]&&_0x4ebb12[_0x4202e5(0x98)])throw new Error(_0x4202e5(0x87));if(!_0x4ebb12[_0x4202e5(0x97)]&&!_0x163492)throw new Error(_0x4202e5(0x8a));}function checkStoreParams(_0x1ec98b){if(!(_0x1ec98b['u']&&_0x1ec98b['p'])&&!(_0x1ec98b['k']&&_0x1ec98b['i']))throw new Error('u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required');if(!_0x1ec98b['version'])throw new Error('version\x20is\x20required');}
1
+ 'use strict';var _0x2e1c5a=_0x3b25;function _0x5910(){var _0x24b9cb=['1018032BSnemN','935475xSVjQr','manifest\x20and\x20manifest-url\x20cannot\x20be\x20used\x20at\x20the\x20same\x20time','171136IuMsqZ','16wYmapD','teamId','225999cnTOHq','2144ADHpRR','teamId\x20is\x20required','version\x20is\x20required','u\x20and\x20p\x20or\x20k\x20and\x20i\x20is\x20required','manifest-url','checkBuildParams','597303CFxhGN','manifest\x20or\x20manifest-url\x20is\x20required','version','manifest','542808BToqqY'];_0x5910=function(){return _0x24b9cb;};return _0x5910();}(function(_0x457275,_0x1e04a1){var _0x3bcdd5=_0x3b25,_0xca78ba=_0x457275();while(!![]){try{var _0x2251ba=parseInt(_0x3bcdd5(0x16a))/0x1*(-parseInt(_0x3bcdd5(0x179))/0x2)+parseInt(_0x3bcdd5(0x17b))/0x3+parseInt(_0x3bcdd5(0x178))/0x4+parseInt(_0x3bcdd5(0x176))/0x5+-parseInt(_0x3bcdd5(0x174))/0x6+parseInt(_0x3bcdd5(0x170))/0x7+-parseInt(_0x3bcdd5(0x175))/0x8;if(_0x2251ba===_0x1e04a1)break;else _0xca78ba['push'](_0xca78ba['shift']());}catch(_0x2acf38){_0xca78ba['push'](_0xca78ba['shift']());}}}(_0x5910,0x26013));Object['defineProperty'](exports,'__esModule',{'value':!![]}),exports[_0x2e1c5a(0x16f)]=checkBuildParams,exports['checkStoreParams']=checkStoreParams;function _0x3b25(_0x31ff3d,_0x57dbca){var _0x591049=_0x5910();return _0x3b25=function(_0x3b258a,_0xe8248e){_0x3b258a=_0x3b258a-0x16a;var _0x40bd28=_0x591049[_0x3b258a];return _0x40bd28;},_0x3b25(_0x31ff3d,_0x57dbca);}function checkBuildParams(_0x215a64,_0x4b500d=![]){var _0x3c12c1=_0x2e1c5a;if(!_0x215a64['manifest']&&!_0x215a64[_0x3c12c1(0x16e)])throw new Error(_0x3c12c1(0x171));if(_0x215a64[_0x3c12c1(0x173)]&&_0x215a64[_0x3c12c1(0x16e)])throw new Error(_0x3c12c1(0x177));if(!_0x215a64[_0x3c12c1(0x17a)]&&!_0x4b500d)throw new Error(_0x3c12c1(0x16b));}function checkStoreParams(_0x518069){var _0x47ac9f=_0x2e1c5a;if(!(_0x518069['u']&&_0x518069['p'])&&!(_0x518069['k']&&_0x518069['i']))throw new Error(_0x47ac9f(0x16d));if(!_0x518069[_0x47ac9f(0x172)])throw new Error(_0x47ac9f(0x16c));}
@@ -1 +1 @@
1
- 'use strict';const _0x5c7fc7=_0x5644;function _0x5644(_0x1f8a2d,_0x46bfc6){const _0x337426=_0x3374();return _0x5644=function(_0x564483,_0xb5d3ac){_0x564483=_0x564483-0x172;let _0x3d3442=_0x337426[_0x564483];return _0x3d3442;},_0x5644(_0x1f8a2d,_0x46bfc6);}function _0x3374(){const _0x578721=['help\x20................\x20shows\x20this\x20menu','info','Usage:','webspatial\x20[command]\x20<options>','26449GMAzeq','\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','publish','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','1919115elhHWp','2vBmdWM','2418035wYuckX','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','defineProperty','help','dev','7052850zzRvnY','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','../utils/Log','ConsoleLog','join','build','main','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator','8263192SYyLqG','get','6364968Wulyum','36VvoOgd','262623vaToBO','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'];_0x3374=function(){return _0x578721;};return _0x3374();}(function(_0x14b59a,_0x4f4a5e){const _0x57fdd4=_0x5644,_0x51d3c0=_0x14b59a();while(!![]){try{const _0x34929d=parseInt(_0x57fdd4(0x17d))/0x1*(-parseInt(_0x57fdd4(0x182))/0x2)+-parseInt(_0x57fdd4(0x176))/0x3*(-parseInt(_0x57fdd4(0x175))/0x4)+parseInt(_0x57fdd4(0x183))/0x5+parseInt(_0x57fdd4(0x189))/0x6+-parseInt(_0x57fdd4(0x172))/0x7+-parseInt(_0x57fdd4(0x174))/0x8+parseInt(_0x57fdd4(0x181))/0x9;if(_0x34929d===_0x4f4a5e)break;else _0x51d3c0['push'](_0x51d3c0['shift']());}catch(_0x1e1329){_0x51d3c0['push'](_0x51d3c0['shift']());}}}(_0x3374,0xa08fc));Object[_0x5c7fc7(0x186)](exports,'__esModule',{'value':!![]}),exports[_0x5c7fc7(0x187)]=help;const Log_1=require(_0x5c7fc7(0x18b)),HELP_MESSAGES=new Map([[_0x5c7fc7(0x18f),[_0x5c7fc7(0x17c),'','',_0x5c7fc7(0x179),'build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project'+_0x5c7fc7(0x17e),_0x5c7fc7(0x190),_0x5c7fc7(0x177)][_0x5c7fc7(0x18d)]('\x0a')],[_0x5c7fc7(0x18e),[_0x5c7fc7(0x17b),'','',_0x5c7fc7(0x178),'','','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]'][_0x5c7fc7(0x18d)]('\x0a')],[_0x5c7fc7(0x188),[_0x5c7fc7(0x17b),'','',_0x5c7fc7(0x184),'','',_0x5c7fc7(0x180)][_0x5c7fc7(0x18d)]('\x0a')],[_0x5c7fc7(0x17f),[_0x5c7fc7(0x17b),'','','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x5c7fc7(0x185),'','',_0x5c7fc7(0x18a)][_0x5c7fc7(0x18d)]('\x0a')]]);async function help(_0x4d5658,_0x336581=new Log_1[(_0x5c7fc7(0x18c))](_0x5c7fc7(0x187))){const _0x3c3acd=_0x5c7fc7,_0x10e965=_0x4d5658['_'][0x1],_0x51a012=HELP_MESSAGES[_0x3c3acd(0x173)](_0x10e965)||HELP_MESSAGES['get'](_0x3c3acd(0x18f));return _0x336581[_0x3c3acd(0x17a)](_0x51a012),!![];}
1
+ 'use strict';const _0x528c18=_0x1971;function _0x212c(){const _0x155fab=['81biHkVy','publish..............\x20upload\x20WebSpatial\x20Project\x20to\x20App\x20Store\x20Connect','5vqLbyW','2972812omhkxu','webspatial\x20publish\x20--name=<app-name>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20publish\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','webspatial\x20dev\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>','publish','980690clnBTK','help','join','1649616xipzWs','webspatial\x20[command]\x20<options>','659404sEGICe','webspatial\x20dev\x20--manifest-url=<net-manifest-url>','246997MwQZir','210kxpjYN','Usage:','1290648pRNFgH','dev','build\x20................\x20initializes\x20a\x20new\x20WebSpatial\x20Project','main','webspatial\x20build\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','build','defineProperty','../utils/Log','ConsoleLog','55338UbXQfC'];_0x212c=function(){return _0x155fab;};return _0x212c();}function _0x1971(_0x1ff044,_0x19ce3f){const _0x212c3a=_0x212c();return _0x1971=function(_0x1971a8,_0xd29f1e){_0x1971a8=_0x1971a8-0x119;let _0x4b2999=_0x212c3a[_0x1971a8];return _0x4b2999;},_0x1971(_0x1ff044,_0x19ce3f);}(function(_0x3cd0dc,_0x1ede1b){const _0x39fb=_0x1971,_0x1fb563=_0x3cd0dc();while(!![]){try{const _0x24f9bc=parseInt(_0x39fb(0x125))/0x1+parseInt(_0x39fb(0x123))/0x2+parseInt(_0x39fb(0x128))/0x3+parseInt(_0x39fb(0x119))/0x4*(parseInt(_0x39fb(0x134))/0x5)+-parseInt(_0x39fb(0x131))/0x6*(parseInt(_0x39fb(0x126))/0x7)+-parseInt(_0x39fb(0x121))/0x8+parseInt(_0x39fb(0x132))/0x9*(-parseInt(_0x39fb(0x11e))/0xa);if(_0x24f9bc===_0x1ede1b)break;else _0x1fb563['push'](_0x1fb563['shift']());}catch(_0x1ce1ea){_0x1fb563['push'](_0x1fb563['shift']());}}}(_0x212c,0x5de5d));Object[_0x528c18(0x12e)](exports,'__esModule',{'value':!![]}),exports['help']=help;const Log_1=require(_0x528c18(0x12f)),HELP_MESSAGES=new Map([[_0x528c18(0x12b),[_0x528c18(0x122),'','','help\x20................\x20shows\x20this\x20menu',_0x528c18(0x12a)+'\x20and\x20generates\x20an\x20Apple\x20Vision\x20Pro\x20App\x20from\x20a\x20WebSpatial\x20Project','dev\x20................\x20build\x20and\x20run\x20WebSpatial\x20Project\x20on\x20Apple\x20Vision\x20Pro\x20simulator',_0x528c18(0x133)][_0x528c18(0x120)]('\x0a')],[_0x528c18(0x12d),[_0x528c18(0x127),'','','webspatial\x20build\x20--manifest=<local-manifest-path>\x20--project=<local-web-project-path>\x20--teamId=<teamId>\x20[--version=version]\x20[--buildType=release-testing]','','',_0x528c18(0x12c)][_0x528c18(0x120)]('\x0a')],[_0x528c18(0x129),[_0x528c18(0x127),'','',_0x528c18(0x11c),'','',_0x528c18(0x124)][_0x528c18(0x120)]('\x0a')],[_0x528c18(0x11d),[_0x528c18(0x127),'','',_0x528c18(0x11b),'','','webspatial\x20publish\x20--manifest-url=<net-manifest-url>\x20--teamId=<teamId>\x20--version=<version>\x20--u=<username>\x20--p=<password>','','',_0x528c18(0x11a)][_0x528c18(0x120)]('\x0a')]]);async function help(_0x51d2b1,_0x1a48a7=new Log_1[(_0x528c18(0x130))](_0x528c18(0x11f))){const _0x2f2110=_0x528c18,_0x234d7b=_0x51d2b1['_'][0x1],_0x20db68=HELP_MESSAGES['get'](_0x234d7b)||HELP_MESSAGES['get'](_0x2f2110(0x12b));return _0x1a48a7['info'](_0x20db68),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x536d78=_0x3a63;function _0x572a(){const _0x52c623=['6IeDcXt','readFile','3529752TIuPEQ','22ogXlfz','__esModule','8591510kUDXxk','10nuDEwc','parse','toString','5948685pZhKjK','8KBHoEa','732868fEUqTZ','promises','defineProperty','901154AZGgih','../utils/Log','join','version','3LpFWgT','4302718hBZkaX','1035062cifbJb','info'];_0x572a=function(){return _0x52c623;};return _0x572a();}function _0x3a63(_0x552c57,_0x1b13e7){const _0x572ade=_0x572a();return _0x3a63=function(_0x3a63a3,_0x128ade){_0x3a63a3=_0x3a63a3-0x14c;let _0x4da7bc=_0x572ade[_0x3a63a3];return _0x4da7bc;},_0x3a63(_0x552c57,_0x1b13e7);}(function(_0x304de5,_0x143b3b){const _0x3f36=_0x3a63,_0x10a9d2=_0x304de5();while(!![]){try{const _0x3c44c3=-parseInt(_0x3f36(0x156))/0x1+-parseInt(_0x3f36(0x15c))/0x2*(parseInt(_0x3f36(0x15a))/0x3)+parseInt(_0x3f36(0x153))/0x4*(-parseInt(_0x3f36(0x14e))/0x5)+-parseInt(_0x3f36(0x15e))/0x6*(-parseInt(_0x3f36(0x15b))/0x7)+-parseInt(_0x3f36(0x152))/0x8*(-parseInt(_0x3f36(0x151))/0x9)+parseInt(_0x3f36(0x14d))/0xa+parseInt(_0x3f36(0x161))/0xb*(parseInt(_0x3f36(0x160))/0xc);if(_0x3c44c3===_0x143b3b)break;else _0x10a9d2['push'](_0x10a9d2['shift']());}catch(_0x474ec4){_0x10a9d2['push'](_0x10a9d2['shift']());}}}(_0x572a,0xe4feb));Object[_0x536d78(0x155)](exports,_0x536d78(0x14c),{'value':!![]}),exports[_0x536d78(0x159)]=version;const fs=require('fs'),path=require('path'),Log_1=require(_0x536d78(0x157));async function version(_0x3d53fb=new Log_1['ConsoleLog'](_0x536d78(0x159))){const _0x504aaa=_0x536d78,_0x4aec6b=path[_0x504aaa(0x158)](__dirname,'../../../package.json'),_0xc03cee=await(await fs[_0x504aaa(0x154)][_0x504aaa(0x15f)](_0x4aec6b))[_0x504aaa(0x150)](),_0x54b199=JSON[_0x504aaa(0x14f)](_0xc03cee);return _0x3d53fb[_0x504aaa(0x15d)](_0x54b199[_0x504aaa(0x159)]),!![];}
1
+ 'use strict';function _0x13fd(_0x55a0ed,_0x17f30a){const _0xbf2783=_0xbf27();return _0x13fd=function(_0x13fd7e,_0x160aa3){_0x13fd7e=_0x13fd7e-0xf1;let _0x5d8523=_0xbf2783[_0x13fd7e];return _0x5d8523;},_0x13fd(_0x55a0ed,_0x17f30a);}function _0xbf27(){const _0x297e90=['__esModule','4712253kEZDfS','474128fJWnAM','6699650rWpwKT','toString','info','defineProperty','52fNekQN','3471978VyCAnn','220423FejRxZ','path','77397qcTMyR','version','243MfeLBl','2989584TTfHjq','../../../package.json','../utils/Log','ConsoleLog','join','promises'];_0xbf27=function(){return _0x297e90;};return _0xbf27();}const _0x5d1c71=_0x13fd;(function(_0x5d09f9,_0x15c832){const _0x49cfbb=_0x13fd,_0x378adb=_0x5d09f9();while(!![]){try{const _0x4c0b28=-parseInt(_0x49cfbb(0xf5))/0x1+parseInt(_0x49cfbb(0xf3))/0x2*(parseInt(_0x49cfbb(0xf7))/0x3)+-parseInt(_0x49cfbb(0xfa))/0x4+parseInt(_0x49cfbb(0x103))/0x5+parseInt(_0x49cfbb(0xf4))/0x6+parseInt(_0x49cfbb(0x101))/0x7+parseInt(_0x49cfbb(0x102))/0x8*(-parseInt(_0x49cfbb(0xf9))/0x9);if(_0x4c0b28===_0x15c832)break;else _0x378adb['push'](_0x378adb['shift']());}catch(_0x30afa2){_0x378adb['push'](_0x378adb['shift']());}}}(_0xbf27,0xa9911));Object[_0x5d1c71(0xf2)](exports,_0x5d1c71(0x100),{'value':!![]}),exports[_0x5d1c71(0xf8)]=version;const fs=require('fs'),path=require(_0x5d1c71(0xf6)),Log_1=require(_0x5d1c71(0xfc));async function version(_0x51cdd7=new Log_1[(_0x5d1c71(0xfd))](_0x5d1c71(0xf8))){const _0x2b8679=_0x5d1c71,_0x67a047=path[_0x2b8679(0xfe)](__dirname,_0x2b8679(0xfb)),_0x34e9eb=await(await fs[_0x2b8679(0xff)]['readFile'](_0x67a047))[_0x2b8679(0x104)](),_0x19ffb5=JSON['parse'](_0x34e9eb);return _0x51cdd7[_0x2b8679(0xf1)](_0x19ffb5[_0x2b8679(0xf8)]),!![];}
@@ -1 +1 @@
1
- 'use strict';const _0x1aaab2=_0x3772;(function(_0x435926,_0x2b7295){const _0x33dfc2=_0x3772,_0x5aa667=_0x435926();while(!![]){try{const _0x4e57cf=-parseInt(_0x33dfc2(0xb3))/0x1+parseInt(_0x33dfc2(0x9e))/0x2+-parseInt(_0x33dfc2(0xbc))/0x3*(parseInt(_0x33dfc2(0xa1))/0x4)+parseInt(_0x33dfc2(0x8f))/0x5*(-parseInt(_0x33dfc2(0xa8))/0x6)+parseInt(_0x33dfc2(0x97))/0x7+-parseInt(_0x33dfc2(0x90))/0x8*(-parseInt(_0x33dfc2(0x8e))/0x9)+-parseInt(_0x33dfc2(0xb1))/0xa*(-parseInt(_0x33dfc2(0x83))/0xb);if(_0x4e57cf===_0x2b7295)break;else _0x5aa667['push'](_0x5aa667['shift']());}catch(_0xa52eca){_0x5aa667['push'](_0x5aa667['shift']());}}}(_0x1735,0x9d47c));Object[_0x1aaab2(0x93)](exports,_0x1aaab2(0xb2),{'value':!![]}),exports[_0x1aaab2(0xa5)]=void 0x0,exports[_0x1aaab2(0xb8)]=configId,exports['configStartUrl']=configStartUrl,exports[_0x1aaab2(0xae)]=configScope,exports[_0x1aaab2(0xbd)]=configDisplay,exports[_0x1aaab2(0xc2)]=configMainScene,exports['configDeeplink']=configDeeplink;function _0x3772(_0x4a96e0,_0x295ca5){const _0x17357c=_0x1735();return _0x3772=function(_0x377212,_0x14ac06){_0x377212=_0x377212-0x80;let _0x1e3a09=_0x17357c[_0x377212];return _0x1e3a09;},_0x3772(_0x4a96e0,_0x295ca5);}const utils_1=require(_0x1aaab2(0x81)),validate_1=require(_0x1aaab2(0x82)),path_1=require('path');function configId(_0x58df32){const _0x15a280=_0x1aaab2,_0x41b5b1=new URL(_0x58df32['id']);let _0x5f1854=_0x41b5b1[_0x15a280(0xbb)][_0x15a280(0xac)]('.')[_0x15a280(0x9a)]();_0x58df32['id']=_0x5f1854[_0x15a280(0x9f)]('.');}function configStartUrl(_0x58111a,_0x2d5052,_0x23e107){const _0x26282f=_0x1aaab2,_0x5bd780=(0x0,validate_1[_0x26282f(0x96)])(_0x58111a[_0x26282f(0xc3)]);let _0x20ccd8=_0x58111a[_0x26282f(0xc3)];_0x23e107?!_0x5bd780&&(_0x20ccd8=(0x0,path_1['join'])((0x0,utils_1[_0x26282f(0x99)])(_0x2d5052),_0x58111a['start_url'])):!_0x5bd780&&(_0x20ccd8=(0x0,path_1[_0x26282f(0x9f)])(_0x26282f(0xa7),_0x58111a[_0x26282f(0xc3)])),_0x58111a[_0x26282f(0xc3)]=_0x20ccd8;}function configScope(_0x4397bb,_0x3afd29){const _0x163a14=_0x1aaab2;var _0xc82275,_0xe71116,_0x12a8f7;let _0x35537a='';const _0x4df703=(0x0,validate_1[_0x163a14(0x96)])(_0x4397bb[_0x163a14(0xb4)]);if(_0x3afd29&&_0x4df703){const _0x3103c1=new URL((_0xc82275=_0x4397bb[_0x163a14(0xb4)])!==null&&_0xc82275!==void 0x0?_0xc82275:''),_0x47df98=new URL(_0x4397bb[_0x163a14(0xc3)]);(_0x3103c1[_0x163a14(0xbb)]!==_0x47df98[_0x163a14(0xbb)]||_0x4397bb['start_url']['indexOf'](_0x35537a)!==0x0)&&(_0x35537a=(0x0,utils_1[_0x163a14(0x99)])(_0x4397bb[_0x163a14(0xc3)]));}else{if(_0x3afd29&&!_0x4df703){const _0x47eaf1=_0x4397bb['start_url'][_0x163a14(0x9d)](_0x163a14(0x9c))===0x0?_0x163a14(0x9c):'https://';_0x35537a=(0x0,path_1[_0x163a14(0x9f)])(_0x4397bb['start_url']['replace'](_0x47eaf1,''),(_0xe71116=_0x4397bb[_0x163a14(0xb4)])!==null&&_0xe71116!==void 0x0?_0xe71116:''),_0x35537a=_0x47eaf1+_0x35537a;}else _0x35537a=(0x0,path_1[_0x163a14(0x9f)])((0x0,utils_1[_0x163a14(0x99)])(_0x4397bb[_0x163a14(0xc3)]),(_0x12a8f7=_0x4397bb[_0x163a14(0xb4)])!==null&&_0x12a8f7!==void 0x0?_0x12a8f7:'');}_0x4397bb['scope']=_0x35537a;}function configDisplay(_0x4ff37c){const _0x47dd0b=_0x1aaab2;let _0x54f2d4=_0x4ff37c['display'];_0x54f2d4!=='minimal-ui'&&_0x54f2d4!==_0x47dd0b(0xb7)&&(_0x54f2d4=_0x47dd0b(0xb7));if(_0x4ff37c[_0x47dd0b(0x91)]&&_0x4ff37c[_0x47dd0b(0x91)][_0x47dd0b(0x94)]>0x0){const _0x1deb5b=_0x4ff37c[_0x47dd0b(0x91)][_0x47dd0b(0x9d)](_0x47dd0b(0x85)),_0x2800a7=_0x4ff37c[_0x47dd0b(0x91)][_0x47dd0b(0x9d)](_0x47dd0b(0xb7));if(_0x1deb5b>=0x0&&_0x2800a7>=0x0)_0x54f2d4=_0x2800a7>_0x1deb5b?'standalone':_0x47dd0b(0x85);else{if(_0x1deb5b>=0x0)_0x54f2d4='minimal-ui';else _0x2800a7>=0x0&&(_0x54f2d4='standalone');}}}function configMainScene(_0x2c3b09){const _0x134635=_0x1aaab2;var _0x234e8c,_0x136b2f;const _0x267b98=['automatic',_0x134635(0xa9),_0x134635(0xa2)];let _0x3d0b0e={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x134635(0xaf)};_0x2c3b09[_0x134635(0x8c)]&&(_0x3d0b0e[_0x134635(0x86)][_0x134635(0xa4)]=Number((_0x234e8c=_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)])===null||_0x234e8c===void 0x0?void 0x0:_0x234e8c['width'])>0x0?_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)][_0x134635(0xa4)]:0x500,_0x3d0b0e[_0x134635(0x86)][_0x134635(0x88)]=Number((_0x136b2f=_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)])===null||_0x136b2f===void 0x0?void 0x0:_0x136b2f[_0x134635(0x88)])>0x0?_0x2c3b09[_0x134635(0x8c)][_0x134635(0x92)][_0x134635(0x88)]:0x500,_0x3d0b0e[_0x134635(0xc1)]=_0x267b98[_0x134635(0xaa)](_0x2c3b09['xr_main_scene'][_0x134635(0xc1)])?_0x2c3b09['xr_main_scene'][_0x134635(0xc1)]:'automatic'),_0x2c3b09[_0x134635(0x8d)]=_0x3d0b0e;}function configDeeplink(_0x36c8e1){const _0x5f298a=_0x1aaab2;if(_0x36c8e1[_0x5f298a(0x89)]&&_0x36c8e1[_0x5f298a(0x89)][_0x5f298a(0x94)]>0x0)for(var _0x3cdae5=0x0;_0x3cdae5<_0x36c8e1[_0x5f298a(0x89)][_0x5f298a(0x94)];_0x3cdae5++){const _0x2db320=_0x36c8e1[_0x5f298a(0x89)][_0x3cdae5];if(_0x2db320[_0x5f298a(0x87)]&&(exports[_0x5f298a(0xa5)]['includes'](_0x2db320[_0x5f298a(0x87)])||_0x2db320[_0x5f298a(0x87)]['indexOf'](_0x5f298a(0x8b))===0x0)){if(!((0x0,validate_1[_0x5f298a(0x96)])(_0x2db320[_0x5f298a(0xa0)])&&_0x2db320[_0x5f298a(0xa0)][_0x5f298a(0x9d)](_0x36c8e1['scope'])<0x0))continue;}_0x36c8e1[_0x5f298a(0x89)][_0x5f298a(0xad)](_0x3cdae5,0x1),_0x3cdae5--;}}exports[_0x1aaab2(0xa5)]=[_0x1aaab2(0xb9),_0x1aaab2(0xa6),'ftps','geo','im','irc',_0x1aaab2(0x95),_0x1aaab2(0xb6),_0x1aaab2(0xbe),_0x1aaab2(0xb5),_0x1aaab2(0x9b),_0x1aaab2(0x8a),_0x1aaab2(0xba),_0x1aaab2(0x98),_0x1aaab2(0x84),_0x1aaab2(0xab),_0x1aaab2(0xa3),_0x1aaab2(0x80),_0x1aaab2(0xc0),'tel',_0x1aaab2(0xb0),'webcal','wtai',_0x1aaab2(0xbf)];function _0x1735(){const _0x3c6054=['configDisplay','mailto','xmpp','ssh','resizability','configMainScene','start_url','smsto','../utils/utils','./validate','77yLdfgf','sftp','minimal-ui','defaultSize','protocol','height','protocol_handlers','news','web+','xr_main_scene','mainScene','1256058oruyZJ','105oldTql','16wkPcnn','display_override','default_size','defineProperty','length','ircs','validateURL','2167109NRPgFg','openpgp4fpr','parseRouter','reverse','mms','http://','indexOf','524738hJbCcq','join','url','3866132BqheqI','contentSize','sms','width','safelist','ftp','./static-web','29322KmqQsR','contentMinSize','includes','sip','split','splice','configScope','automatic','urn','2134510lRFBQV','__esModule','631857cDbngi','scope','matrix','magnet','standalone','configId','bitcoin','nntp','host','3kiFVLY'];_0x1735=function(){return _0x3c6054;};return _0x1735();}
1
+ 'use strict';const _0x2040bb=_0x48ac;(function(_0x597ae7,_0x5683f4){const _0x1d49e6=_0x48ac,_0x4dd767=_0x597ae7();while(!![]){try{const _0x393ae1=-parseInt(_0x1d49e6(0x1ef))/0x1+-parseInt(_0x1d49e6(0x1f9))/0x2*(parseInt(_0x1d49e6(0x1e3))/0x3)+parseInt(_0x1d49e6(0x1f1))/0x4+-parseInt(_0x1d49e6(0x1c9))/0x5+parseInt(_0x1d49e6(0x1d3))/0x6+-parseInt(_0x1d49e6(0x1c7))/0x7+parseInt(_0x1d49e6(0x1d5))/0x8;if(_0x393ae1===_0x5683f4)break;else _0x4dd767['push'](_0x4dd767['shift']());}catch(_0x299af2){_0x4dd767['push'](_0x4dd767['shift']());}}}(_0x4d57,0x4f9a7));Object[_0x2040bb(0x1da)](exports,_0x2040bb(0x1c5),{'value':!![]}),exports[_0x2040bb(0x1c6)]=void 0x0,exports[_0x2040bb(0x1f2)]=configId,exports['configStartUrl']=configStartUrl,exports['configScope']=configScope,exports['configDisplay']=configDisplay,exports['configMainScene']=configMainScene,exports[_0x2040bb(0x1de)]=configDeeplink;const utils_1=require(_0x2040bb(0x1dc)),validate_1=require('./validate'),path_1=require(_0x2040bb(0x1d8));function configId(_0x157b3b){const _0x59d0ae=_0x2040bb,_0x26100b=new URL(_0x157b3b['id']);let _0x36b4db=_0x26100b[_0x59d0ae(0x1ee)][_0x59d0ae(0x207)]('.')[_0x59d0ae(0x1e6)]();_0x157b3b['id']=_0x36b4db[_0x59d0ae(0x1cd)]('.');}function configStartUrl(_0x2b201c,_0x448259,_0x33d587){const _0x4e9240=_0x2040bb,_0x3bfd90=(0x0,validate_1['validateURL'])(_0x2b201c[_0x4e9240(0x1d4)]);let _0x45bbeb=_0x2b201c[_0x4e9240(0x1d4)];_0x33d587?!_0x3bfd90&&(_0x45bbeb=(0x0,path_1[_0x4e9240(0x1cd)])((0x0,utils_1['parseRouter'])(_0x448259),_0x2b201c[_0x4e9240(0x1d4)])):!_0x3bfd90&&(_0x45bbeb=(0x0,path_1['join'])(_0x4e9240(0x1d7),_0x2b201c[_0x4e9240(0x1d4)])),_0x45bbeb=(0x0,utils_1['getAVPVersionUrl'])(_0x45bbeb),_0x2b201c[_0x4e9240(0x1d4)]=_0x45bbeb;}function _0x48ac(_0x1e3fb4,_0x4b344e){const _0x4d5794=_0x4d57();return _0x48ac=function(_0x48ac60,_0x5722d5){_0x48ac60=_0x48ac60-0x1c5;let _0x4bf43a=_0x4d5794[_0x48ac60];return _0x4bf43a;},_0x48ac(_0x1e3fb4,_0x4b344e);}function configScope(_0xf28db0,_0x20afe9){const _0x3695ba=_0x2040bb;var _0x2160f3,_0x1888d5,_0x4f15dd;let _0x4308d9='';const _0x2ea368=(0x0,validate_1['validateURL'])(_0xf28db0[_0x3695ba(0x1cc)]);if(_0x20afe9&&_0x2ea368){const _0x205be4=new URL((_0x2160f3=_0xf28db0[_0x3695ba(0x1cc)])!==null&&_0x2160f3!==void 0x0?_0x2160f3:''),_0x53c704=new URL(_0xf28db0[_0x3695ba(0x1d4)]);(_0x205be4['host']!==_0x53c704[_0x3695ba(0x1ee)]||_0xf28db0[_0x3695ba(0x1d4)]['indexOf'](_0x4308d9)!==0x0)&&(_0x4308d9=(0x0,utils_1[_0x3695ba(0x205)])(_0xf28db0[_0x3695ba(0x1d4)]));}else{if(_0x20afe9&&!_0x2ea368){const _0x34c83e=_0xf28db0[_0x3695ba(0x1d4)][_0x3695ba(0x1f7)](_0x3695ba(0x1e2))===0x0?_0x3695ba(0x1e2):_0x3695ba(0x1e5);_0x4308d9=(0x0,path_1[_0x3695ba(0x1cd)])(_0xf28db0[_0x3695ba(0x1d4)][_0x3695ba(0x204)](_0x34c83e,''),(_0x1888d5=_0xf28db0[_0x3695ba(0x1cc)])!==null&&_0x1888d5!==void 0x0?_0x1888d5:''),_0x4308d9=_0x34c83e+_0x4308d9;}else _0x4308d9=(0x0,path_1[_0x3695ba(0x1cd)])((0x0,utils_1[_0x3695ba(0x205)])(_0xf28db0[_0x3695ba(0x1d4)]),(_0x4f15dd=_0xf28db0[_0x3695ba(0x1cc)])!==null&&_0x4f15dd!==void 0x0?_0x4f15dd:'');}_0xf28db0[_0x3695ba(0x1cc)]=_0x4308d9;}function configDisplay(_0xfd40e4){const _0x20384c=_0x2040bb;let _0x28f588=_0xfd40e4['display'];_0x28f588!==_0x20384c(0x1e0)&&_0x28f588!==_0x20384c(0x1e8)&&(_0x28f588=_0x20384c(0x1e8));if(_0xfd40e4[_0x20384c(0x208)]&&_0xfd40e4[_0x20384c(0x208)][_0x20384c(0x1f8)]>0x0){const _0x294b88=_0xfd40e4['display_override'][_0x20384c(0x1f7)]('minimal-ui'),_0x186268=_0xfd40e4[_0x20384c(0x208)][_0x20384c(0x1f7)]('standalone');if(_0x294b88>=0x0&&_0x186268>=0x0)_0x28f588=_0x186268>_0x294b88?_0x20384c(0x1e8):_0x20384c(0x1e0);else{if(_0x294b88>=0x0)_0x28f588='minimal-ui';else _0x186268>=0x0&&(_0x28f588=_0x20384c(0x1e8));}}}function configMainScene(_0x35e080){const _0x3f6e14=_0x2040bb;var _0x4bf755,_0x4da810;const _0x37097e=[_0x3f6e14(0x1f4),'contentMinSize',_0x3f6e14(0x1f3)];let _0x4e6820={'defaultSize':{'width':0x500,'height':0x500},'resizability':_0x3f6e14(0x1f4)};if(_0x35e080[_0x3f6e14(0x203)]){if(typeof _0x35e080[_0x3f6e14(0x203)]===_0x3f6e14(0x1fb))_0x4e6820['defaultSize'][_0x3f6e14(0x1fd)]=Number((_0x4bf755=_0x35e080['xr_main_scene'][_0x3f6e14(0x1f5)])===null||_0x4bf755===void 0x0?void 0x0:_0x4bf755[_0x3f6e14(0x1fd)])>0x0?_0x35e080[_0x3f6e14(0x203)][_0x3f6e14(0x1f5)][_0x3f6e14(0x1fd)]:0x500,_0x4e6820[_0x3f6e14(0x1ff)][_0x3f6e14(0x1df)]=Number((_0x4da810=_0x35e080['xr_main_scene']['default_size'])===null||_0x4da810===void 0x0?void 0x0:_0x4da810['height'])>0x0?_0x35e080['xr_main_scene'][_0x3f6e14(0x1f5)][_0x3f6e14(0x1df)]:0x500,_0x4e6820['resizability']=_0x37097e[_0x3f6e14(0x1d9)](_0x35e080[_0x3f6e14(0x203)][_0x3f6e14(0x1c8)])?_0x35e080[_0x3f6e14(0x203)]['resizability']:_0x3f6e14(0x1f4),_0x35e080['mainScene']=_0x4e6820;else typeof _0x35e080[_0x3f6e14(0x203)]==='string'&&(_0x35e080[_0x3f6e14(0x1cb)]=_0x3f6e14(0x1e9));}}function configDeeplink(_0x2ca949){const _0x2e707a=_0x2040bb;if(_0x2ca949[_0x2e707a(0x1d0)]&&_0x2ca949[_0x2e707a(0x1d0)]['length']>0x0)for(var _0x4aeb40=0x0;_0x4aeb40<_0x2ca949[_0x2e707a(0x1d0)]['length'];_0x4aeb40++){const _0xd7113d=_0x2ca949[_0x2e707a(0x1d0)][_0x4aeb40];if(_0xd7113d['protocol']&&(exports[_0x2e707a(0x1c6)]['includes'](_0xd7113d[_0x2e707a(0x1d1)])||_0xd7113d[_0x2e707a(0x1d1)]['indexOf'](_0x2e707a(0x1e7))===0x0)){if(!((0x0,validate_1[_0x2e707a(0x1e1)])(_0xd7113d[_0x2e707a(0x206)])&&_0xd7113d[_0x2e707a(0x206)][_0x2e707a(0x1f7)](_0x2ca949['scope'])<0x0))continue;}_0x2ca949['protocol_handlers'][_0x2e707a(0x1db)](_0x4aeb40,0x1),_0x4aeb40--;}}function _0x4d57(){const _0x5758fe=['__esModule','safelist','1932273SmoRyr','resizability','80430OgOVgs','news','mainScene','scope','join','smsto','xmpp','protocol_handlers','protocol','nntp','2845932LTdbJR','start_url','5454912RaMpjG','matrix','./static-web','path','includes','defineProperty','splice','../utils/utils','bitcoin','configDeeplink','height','minimal-ui','validateURL','http://','4869RzJvRV','sms','https://','reverse','web+','standalone','dynamic','wtai','openpgp4fpr','irc','mms','host','624986CXwqRp','urn','977644gLkZfh','configId','contentSize','automatic','default_size','ftp','indexOf','length','194txKydn','ircs','object','geo','width','ssh','defaultSize','tel','sftp','webcal','xr_main_scene','replace','parseRouter','url','split','display_override'];_0x4d57=function(){return _0x5758fe;};return _0x4d57();}exports[_0x2040bb(0x1c6)]=[_0x2040bb(0x1dd),_0x2040bb(0x1f6),'ftps',_0x2040bb(0x1fc),'im',_0x2040bb(0x1ec),_0x2040bb(0x1fa),'magnet','mailto',_0x2040bb(0x1d6),_0x2040bb(0x1ed),_0x2040bb(0x1ca),_0x2040bb(0x1d2),_0x2040bb(0x1eb),_0x2040bb(0x201),'sip',_0x2040bb(0x1e4),_0x2040bb(0x1ce),_0x2040bb(0x1fe),_0x2040bb(0x200),_0x2040bb(0x1f0),_0x2040bb(0x202),_0x2040bb(0x1ea),_0x2040bb(0x1cf)];
@@ -1 +1 @@
1
- 'use strict';const _0x79d899=_0x186a;(function(_0x5b7cc7,_0x3f1de5){const _0x146fb0=_0x186a,_0x222c44=_0x5b7cc7();while(!![]){try{const _0x44095f=-parseInt(_0x146fb0(0x1f3))/0x1+-parseInt(_0x146fb0(0x1f1))/0x2*(parseInt(_0x146fb0(0x1f5))/0x3)+parseInt(_0x146fb0(0x202))/0x4*(-parseInt(_0x146fb0(0x20e))/0x5)+parseInt(_0x146fb0(0x1fc))/0x6*(parseInt(_0x146fb0(0x1fa))/0x7)+-parseInt(_0x146fb0(0x1f6))/0x8*(-parseInt(_0x146fb0(0x1ee))/0x9)+parseInt(_0x146fb0(0x20b))/0xa+-parseInt(_0x146fb0(0x206))/0xb;if(_0x44095f===_0x3f1de5)break;else _0x222c44['push'](_0x222c44['shift']());}catch(_0x4a1480){_0x222c44['push'](_0x222c44['shift']());}}}(_0x31fc,0x4aef9));function _0x31fc(){const _0x4e88ca=['log','loadJsonFromNet','checkIcons','__esModule','path','configMainScene','url','18hlxdZO','configStartUrl','standalone','2YgvCzt','./config','342382yHjoxq','loadJsonFromDisk','404223wBcaho','1111416IRoZXT','minimal-ui','defineProperty','configDeeplink','7sMEnoP','DisplayModes','3095430yeQrbp','checkManifestJson','join','fromNet','json','validate','1054376IDdtqD','reset\x20manifest.json:\x20ok','checkId','config','164065LpBeie','PWAGenerator','manifest-url','configId','manifest','2688100UEzgax','check\x20manifest.json:\x20ok','./validate','5sYUWjJ','cwd','generator','configScope'];_0x31fc=function(){return _0x4e88ca;};return _0x31fc();}function _0x186a(_0x2ab7a6,_0x20a808){const _0x31fca8=_0x31fc();return _0x186a=function(_0x186a9c,_0x55f882){_0x186a9c=_0x186a9c-0x1e7;let _0x5131b0=_0x31fca8[_0x186a9c];return _0x5131b0;},_0x186a(_0x2ab7a6,_0x20a808);}Object[_0x79d899(0x1f8)](exports,_0x79d899(0x1ea),{'value':!![]}),exports[_0x79d899(0x207)]=void 0x0;const path_1=require(_0x79d899(0x1eb)),config_1=require(_0x79d899(0x1f2)),load_1=require('../resource/load'),validate_1=require(_0x79d899(0x20d));class PWAGenerator{static async[_0x79d899(0x210)](_0x5292bf,_0x10302d=![]){const _0x270489=_0x79d899;let _0x1b5a4e=await this[_0x270489(0x201)](_0x5292bf,_0x10302d);return console['log'](_0x270489(0x20c)),await this['config'](_0x1b5a4e,_0x10302d),console[_0x270489(0x1e7)](_0x270489(0x203)),_0x1b5a4e;}static async['validate'](_0x39c2e2,_0x1eae9d=![]){const _0x5c664d=_0x79d899;let _0x52911d={},_0x31b260='',_0xda826e=![];if(_0x39c2e2[_0x5c664d(0x208)])_0x31b260=_0x39c2e2['manifest-url'],_0xda826e=!![],_0x52911d=await(0x0,load_1[_0x5c664d(0x1e8)])(_0x39c2e2[_0x5c664d(0x208)]);else _0x39c2e2[_0x5c664d(0x20a)]&&(_0x31b260=(0x0,path_1[_0x5c664d(0x1fe)])(process[_0x5c664d(0x20f)](),_0x39c2e2[_0x5c664d(0x20a)]),_0x52911d=await(0x0,load_1[_0x5c664d(0x1f4)])(_0x39c2e2[_0x5c664d(0x20a)]));(0x0,validate_1[_0x5c664d(0x1fd)])(_0x52911d);var _0x290436=(0x0,validate_1['checkStartUrl'])(_0x52911d,_0x31b260,_0xda826e,_0x1eae9d);if(!_0x1eae9d)(0x0,validate_1[_0x5c664d(0x204)])(_0x52911d);return await(0x0,validate_1[_0x5c664d(0x1e9)])(_0x52911d,_0x31b260),{'json':_0x52911d,'url':_0x31b260,'fromNet':_0x290436};}static[_0x79d899(0x205)](_0xfc30c4,_0x1920ee){const _0x4ff8ed=_0x79d899;(0x0,config_1[_0x4ff8ed(0x1ef)])(_0xfc30c4[_0x4ff8ed(0x200)],_0xfc30c4[_0x4ff8ed(0x1ed)],_0xfc30c4[_0x4ff8ed(0x1ff)]);if(!_0x1920ee)(0x0,config_1[_0x4ff8ed(0x209)])(_0xfc30c4[_0x4ff8ed(0x200)]);(0x0,config_1[_0x4ff8ed(0x211)])(_0xfc30c4[_0x4ff8ed(0x200)],_0xfc30c4[_0x4ff8ed(0x1ff)]),(0x0,config_1['configDisplay'])(_0xfc30c4[_0x4ff8ed(0x200)]),(0x0,config_1[_0x4ff8ed(0x1f9)])(_0xfc30c4[_0x4ff8ed(0x200)]),(0x0,config_1[_0x4ff8ed(0x1ec)])(_0xfc30c4['json']);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator[_0x79d899(0x1fb)]=[_0x79d899(0x1f0),_0x79d899(0x1f7)];
1
+ 'use strict';const _0x212496=_0x3277;(function(_0x3405ab,_0x1a3cae){const _0x335ad4=_0x3277,_0x1e4c52=_0x3405ab();while(!![]){try{const _0x49ed20=parseInt(_0x335ad4(0xf8))/0x1*(parseInt(_0x335ad4(0xed))/0x2)+-parseInt(_0x335ad4(0xe8))/0x3*(-parseInt(_0x335ad4(0xf4))/0x4)+parseInt(_0x335ad4(0xfb))/0x5+parseInt(_0x335ad4(0xda))/0x6*(-parseInt(_0x335ad4(0xe1))/0x7)+parseInt(_0x335ad4(0xf0))/0x8+-parseInt(_0x335ad4(0xdc))/0x9+-parseInt(_0x335ad4(0xe7))/0xa;if(_0x49ed20===_0x1a3cae)break;else _0x1e4c52['push'](_0x1e4c52['shift']());}catch(_0x22c068){_0x1e4c52['push'](_0x1e4c52['shift']());}}}(_0x4c8f,0xb1560));function _0x3277(_0x48e410,_0x37ba82){const _0x4c8f53=_0x4c8f();return _0x3277=function(_0x32773f,_0x3cd848){_0x32773f=_0x32773f-0xd7;let _0x1832fd=_0x4c8f53[_0x32773f];return _0x1832fd;},_0x3277(_0x48e410,_0x37ba82);}Object[_0x212496(0xd8)](exports,_0x212496(0xdf),{'value':!![]}),exports[_0x212496(0xfa)]=void 0x0;function _0x4c8f(){const _0x4b7e5f=['569310SsZGrM','configDisplay','12137049KhuQQu','fromNet','join','__esModule','minimal-ui','35OmcqYf','validate','generator','DisplayModes','configScope','standalone','15481880JyQbOy','92355Rficwm','configId','./config','configMainScene','json','335524GmjyvJ','checkIcons','path','5665056arcMaS','checkStartUrl','manifest-url','reset\x20manifest.json:\x20ok','184oePeAD','../resource/load','cwd','log','4YTSkxs','loadJsonFromNet','PWAGenerator','6511260LcNKJc','manifest','defineProperty','checkManifestJson'];_0x4c8f=function(){return _0x4b7e5f;};return _0x4c8f();}const path_1=require(_0x212496(0xef)),config_1=require(_0x212496(0xea)),load_1=require(_0x212496(0xf5)),validate_1=require('./validate');class PWAGenerator{static async[_0x212496(0xe3)](_0xec4cb7,_0x4dfe06=![]){const _0x370a7a=_0x212496;let _0x4719df=await this[_0x370a7a(0xe2)](_0xec4cb7,_0x4dfe06);return console[_0x370a7a(0xf7)]('check\x20manifest.json:\x20ok'),await this['config'](_0x4719df,_0x4dfe06),console['log'](_0x370a7a(0xf3)),_0x4719df;}static async[_0x212496(0xe2)](_0x475d74,_0x51e90f=![]){const _0xe533e6=_0x212496;let _0x3dd00f={},_0x29a899='',_0x4089b5=![];if(_0x475d74[_0xe533e6(0xf2)])_0x29a899=_0x475d74[_0xe533e6(0xf2)],_0x4089b5=!![],_0x3dd00f=await(0x0,load_1[_0xe533e6(0xf9)])(_0x475d74[_0xe533e6(0xf2)]);else _0x475d74[_0xe533e6(0xd7)]&&(_0x29a899=(0x0,path_1[_0xe533e6(0xde)])(process[_0xe533e6(0xf6)](),_0x475d74[_0xe533e6(0xd7)]),_0x3dd00f=await(0x0,load_1['loadJsonFromDisk'])(_0x475d74['manifest']));(0x0,validate_1[_0xe533e6(0xd9)])(_0x3dd00f);var _0x4d80a6=(0x0,validate_1[_0xe533e6(0xf1)])(_0x3dd00f,_0x29a899,_0x4089b5,_0x51e90f);if(!_0x51e90f)(0x0,validate_1['checkId'])(_0x3dd00f);return await(0x0,validate_1[_0xe533e6(0xee)])(_0x3dd00f,_0x29a899),{'json':_0x3dd00f,'url':_0x29a899,'fromNet':_0x4d80a6};}static['config'](_0x334553,_0x42b222){const _0x2f9325=_0x212496;(0x0,config_1['configStartUrl'])(_0x334553[_0x2f9325(0xec)],_0x334553['url'],_0x334553[_0x2f9325(0xdd)]);if(!_0x42b222)(0x0,config_1[_0x2f9325(0xe9)])(_0x334553[_0x2f9325(0xec)]);(0x0,config_1[_0x2f9325(0xe5)])(_0x334553[_0x2f9325(0xec)],_0x334553[_0x2f9325(0xdd)]),(0x0,config_1[_0x2f9325(0xdb)])(_0x334553[_0x2f9325(0xec)]),(0x0,config_1['configDeeplink'])(_0x334553[_0x2f9325(0xec)]),(0x0,config_1[_0x2f9325(0xeb)])(_0x334553[_0x2f9325(0xec)]);}}exports['PWAGenerator']=PWAGenerator,PWAGenerator[_0x212496(0xe4)]=[_0x212496(0xe6),_0x212496(0xe0)];
@@ -1 +1 @@
1
- 'use strict';const _0x2a4817=_0x317a;function _0x2c93(){const _0xb3f4eb=['349qtXdEh','__esModule','http','push','defineProperty','CustomError','host','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','loadImageFromNet','1159522uIQwoz','checkIcons','startsWith','display','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','932mLLhBp','4442905nLkBNK','http://','loadImageFromDisk','path','includes','Local\x20manifest\x20cannot\x20package\x20network\x20project','../utils/CustomError','46299SrxUtQ','src','../utils/utils','split','https://','parseRouter','595290NZsVaR','validateURL','DisplayModes','../resource/imageHelper','indexOf','start_url','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','ImageHelper','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.','getWidth','4585448uPCcZi','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','short_name','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','join','76kNblUL','purpose','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','1286847DPtQhc','icons'];_0x2c93=function(){return _0xb3f4eb;};return _0x2c93();}(function(_0x157cbb,_0x26cb3a){const _0x10500f=_0x317a,_0x1e5ff3=_0x157cbb();while(!![]){try{const _0x33b312=-parseInt(_0x10500f(0xd9))/0x1*(-parseInt(_0x10500f(0xb7))/0x2)+-parseInt(_0x10500f(0xbf))/0x3*(-parseInt(_0x10500f(0xd4))/0x4)+-parseInt(_0x10500f(0xb8))/0x5+parseInt(_0x10500f(0xc5))/0x6+parseInt(_0x10500f(0xb1))/0x7+parseInt(_0x10500f(0xcf))/0x8+parseInt(_0x10500f(0xd7))/0x9;if(_0x33b312===_0x26cb3a)break;else _0x1e5ff3['push'](_0x1e5ff3['shift']());}catch(_0x2c6098){_0x1e5ff3['push'](_0x1e5ff3['shift']());}}}(_0x2c93,0x85dd1));Object[_0x2a4817(0xac)](exports,_0x2a4817(0xda),{'value':!![]}),exports['checkManifestJson']=checkManifestJson,exports['checkStartUrl']=checkStartUrl,exports[_0x2a4817(0xb2)]=checkIcons,exports['checkId']=checkId,exports[_0x2a4817(0xc6)]=validateURL;const path_1=require(_0x2a4817(0xbb)),_1=require('.'),CustomError_1=require(_0x2a4817(0xbe)),utils_1=require(_0x2a4817(0xc1)),imageHelper_1=require(_0x2a4817(0xc8)),load_1=require('../resource/load');function checkManifestJson(_0x2544b5){const _0x16b4fe=_0x2a4817;var _0x3a8ca9;const _0x8060bd=[];!_0x2544b5['name']&&!_0x2544b5[_0x16b4fe(0xd1)]&&_0x8060bd[_0x16b4fe(0xdc)]({'code':0xbbe,'message':_0x16b4fe(0xd6),'message_staring_params':{}});!((_0x3a8ca9=_0x2544b5[_0x16b4fe(0xd8)])===null||_0x3a8ca9===void 0x0?void 0x0:_0x3a8ca9['length'])&&_0x8060bd['push']({'code':0xbbf,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','message_staring_params':{}});!_0x2544b5['start_url']&&_0x8060bd[_0x16b4fe(0xdc)]({'code':0xbc0,'message':_0x16b4fe(0xd2),'message_staring_params':{}});!_1['PWAGenerator'][_0x16b4fe(0xc7)][_0x16b4fe(0xbc)](_0x2544b5[_0x16b4fe(0xb4)])&&_0x8060bd['push']({'code':0xbc1,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value'+(_0x16b4fe(0xb6)+_0x2544b5['display']+')'),'message_staring_params':{'display':_0x2544b5['display']}});if(_0x8060bd['length'])throw new CustomError_1[(_0x16b4fe(0xad))](_0x8060bd);}function checkStartUrl(_0x2e1324,_0x54e51e,_0x45460f,_0x5a3729=![]){const _0x243b14=_0x2a4817;var _0x2a6f6e=![];if(_0x5a3729)return _0x2a6f6e=_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xc3))===0x0||_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xb9))===0x0,_0x2a6f6e;if(_0x45460f){if(_0x2e1324['start_url'][_0x243b14(0xc9)](_0x243b14(0xc3))==0x0){const _0x5b2e3=new URL(_0x2e1324[_0x243b14(0xca)]),_0x285733=new URL(_0x54e51e);if(_0x5b2e3[_0x243b14(0xae)]!==_0x285733[_0x243b14(0xae)])throw new CustomError_1[(_0x243b14(0xad))]({'code':0xfa0,'message':_0x243b14(0xcb),'message_staring_params':{}});}else{if(_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xb9))==0x0)throw new CustomError_1[(_0x243b14(0xad))]({'code':0xfa0,'message':_0x243b14(0xd0),'message_staring_params':{}});}}else{if(_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)](_0x243b14(0xc3))==0x0||_0x2e1324[_0x243b14(0xca)][_0x243b14(0xc9)]('http://')==0x0)throw new CustomError_1[(_0x243b14(0xad))]({'code':0xfa0,'message':_0x243b14(0xbd),'message_staring_params':{}});}return _0x2a6f6e;}function _0x317a(_0x4e0aef,_0x2fb2c6){const _0x2c9347=_0x2c93();return _0x317a=function(_0x317a9d,_0x20a6d0){_0x317a9d=_0x317a9d-0xac;let _0x465b69=_0x2c9347[_0x317a9d];return _0x465b69;},_0x317a(_0x4e0aef,_0x2fb2c6);}async function checkIcons(_0x120e56,_0x1b192e){const _0x1e4441=_0x2a4817;var _0x337977;const _0xb0abed=(0x0,utils_1[_0x1e4441(0xc4)])(_0x1b192e);let _0x5b7893,_0x43568f,_0x44df03,_0x1b6453=0x0;for(var _0x936e9c=0x0;_0x936e9c<_0x120e56[_0x1e4441(0xd8)]['length'];_0x936e9c++){const _0x4cbb85=_0x120e56['icons'][_0x936e9c];let _0x2f7aba=((_0x337977=_0x4cbb85[_0x1e4441(0xd5)])===null||_0x337977===void 0x0?void 0x0:_0x337977['indexOf']('maskable'))>=0x0;if(!_0x2f7aba)continue;let _0x1cf4ea=![],_0x5de6e3=_0x4cbb85[_0x1e4441(0xc0)],_0x484078,_0x2eaf6e=0x0;!validateURL(_0x5de6e3)&&(_0x5de6e3=(0x0,path_1[_0x1e4441(0xd3)])(_0xb0abed,_0x5de6e3));if(_0x4cbb85['sizes']){const _0x4e2115=_0x4cbb85['sizes'][_0x1e4441(0xc2)]('\x20');_0x4e2115['forEach'](_0x36c4da=>{const _0x448cbd=_0x1e4441;let _0x4545dd=_0x36c4da[_0x448cbd(0xc2)]('x');Number(_0x4545dd[0x0])>=0x400&&Number(_0x4545dd[0x1])>=0x400&&(_0x1cf4ea=!![],Number(_0x4545dd[0x0])>_0x2eaf6e&&(_0x2eaf6e=Number(_0x4545dd[0x0])));});}else _0x484078=!_0x5de6e3[_0x1e4441(0xb3)](_0x1e4441(0xdb))?await(0x0,load_1['loadImageFromDisk'])(_0x5de6e3):await(0x0,load_1[_0x1e4441(0xb0)])(_0x5de6e3),_0x484078[_0x1e4441(0xce)]()>=0x400&&_0x484078['getHeight']()>=0x400&&(_0x1cf4ea=!![],_0x484078[_0x1e4441(0xce)]()>_0x2eaf6e&&(_0x2eaf6e=_0x484078[_0x1e4441(0xce)]()));_0x1cf4ea&&_0x2f7aba&&(_0x2eaf6e>_0x1b6453&&(_0x1b6453=_0x2eaf6e,_0x5b7893=_0x484078,_0x43568f=_0x5de6e3,_0x44df03=_0x4cbb85[_0x1e4441(0xd5)]));}if(_0x1b6453===0x0)throw new CustomError_1[(_0x1e4441(0xad))]({'code':0xfa0,'message':_0x1e4441(0xb5),'message_staring_params':{}});else _0x43568f&&(_0x5b7893=!_0x43568f['startsWith'](_0x1e4441(0xdb))?await(0x0,load_1[_0x1e4441(0xba)])(_0x43568f):await(0x0,load_1[_0x1e4441(0xb0)])(_0x43568f));if(_0x5b7893&&!imageHelper_1[_0x1e4441(0xcc)]['isFullyOpaque'](_0x5b7893))throw new CustomError_1[(_0x1e4441(0xad))]({'code':0xfa0,'message':_0x1e4441(0xcd),'message_staring_params':{}});_0x120e56[_0x1e4441(0xd8)]=[{'src':_0x43568f,'sizes':_0x1b6453+'x'+_0x1b6453,'purpose':_0x44df03}];}function checkId(_0xfb7342){const _0x582aa1=_0x2a4817;!_0xfb7342['id']&&(_0xfb7342['id']=_0xfb7342['start_url']);if(!validateURL(_0xfb7342['id']))throw new CustomError_1[(_0x582aa1(0xad))]({'code':0xfa0,'message':_0x582aa1(0xaf),'message_staring_params':{}});}function validateURL(_0x17b8f2){try{return new URL(_0x17b8f2),!![];}catch(_0x314156){return![];}}
1
+ 'use strict';const _0x251cb7=_0x5a60;function _0x1638(){const _0x599f29=['\x20can\x20only\x20be\x20one\x20of\x20\x22minimal-ui\x22\x20or\x20\x22standalone\x22\x20(your\x20current\x20configuration\x20is\x20','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20use\x20https','Local\x20manifest\x20cannot\x20package\x20network\x20project','165252JmffkR','validateURL','short_name','display','ImageHelper','checkStartUrl','defineProperty','split','https://','http://','2OkPfoK','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20display\x20property\x20must\x20be\x20provided,\x20and\x20its\x20value','1492536YXIKjX','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20start_url\x20property\x20must\x20be\x20provided','getWidth','purpose','707763HgMFni','CustomError','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20the\x20icon\x20must\x20be\x20greater\x20than\x20or\x20equal\x20to\x201024x1024,\x20and\x20the\x20purpose\x20parameter\x20must\x20include\x20maskable','../utils/CustomError','length','3mZaDER','loadImageFromDisk','485710NYwhBK','name','loadImageFromNet','12PrWpqs','host','http','start_url','745768kGYRGa','startsWith','isFullyOpaque','maskable','../resource/load','src','__esModule','2663622uMhtzL','icons','getHeight','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20start_url\x20must\x20be\x20the\x20same\x20origin\x20with\x20manifest','push','sizes','checkId','../utils/utils','checkIcons','checkManifestJson','In\x20the\x20WebSpatial\x20App\x20Manifest,\x20the\x20id\x20or\x20start_url\x20must\x20be\x20a\x20valid\x20URL','../resource/imageHelper','10FaLfus','indexOf','DisplayModes','7939569JZghrN','In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20the\x20icons\x20property\x20must\x20be\x20provided\x20and\x20it\x20should\x20include\x20at\x20least\x20one\x20icon\x20object','path','parseRouter','In\x20the\x20Spatial\x20Web\x20App\x20on\x20VisionPro,\x20must\x20be\x20a\x20fully\x20opaque\x20bitmap.'];_0x1638=function(){return _0x599f29;};return _0x1638();}(function(_0x46b957,_0x3de4f8){const _0x30875a=_0x5a60,_0x2da992=_0x46b957();while(!![]){try{const _0x41c4ba=-parseInt(_0x30875a(0xb7))/0x1*(parseInt(_0x30875a(0x85))/0x2)+parseInt(_0x30875a(0x90))/0x3*(-parseInt(_0x30875a(0x99))/0x4)+-parseInt(_0x30875a(0x92))/0x5*(parseInt(_0x30875a(0x95))/0x6)+-parseInt(_0x30875a(0x8b))/0x7+-parseInt(_0x30875a(0x87))/0x8+-parseInt(_0x30875a(0xa0))/0x9*(-parseInt(_0x30875a(0xac))/0xa)+parseInt(_0x30875a(0xaf))/0xb;if(_0x41c4ba===_0x3de4f8)break;else _0x2da992['push'](_0x2da992['shift']());}catch(_0x2186bd){_0x2da992['push'](_0x2da992['shift']());}}}(_0x1638,0x2cf13));function _0x5a60(_0x43e2c5,_0x3b2c1c){const _0x163867=_0x1638();return _0x5a60=function(_0x5a60b9,_0x5704e9){_0x5a60b9=_0x5a60b9-0x7f;let _0x27c3a2=_0x163867[_0x5a60b9];return _0x27c3a2;},_0x5a60(_0x43e2c5,_0x3b2c1c);}Object[_0x251cb7(0x81)](exports,_0x251cb7(0x9f),{'value':!![]}),exports[_0x251cb7(0xa9)]=checkManifestJson,exports[_0x251cb7(0x80)]=checkStartUrl,exports[_0x251cb7(0xa8)]=checkIcons,exports[_0x251cb7(0xa6)]=checkId,exports[_0x251cb7(0xb8)]=validateURL;const path_1=require(_0x251cb7(0xb1)),_1=require('.'),CustomError_1=require(_0x251cb7(0x8e)),utils_1=require(_0x251cb7(0xa7)),imageHelper_1=require(_0x251cb7(0xab)),load_1=require(_0x251cb7(0x9d));function checkManifestJson(_0x5ba60a){const _0x58fd21=_0x251cb7;var _0x2f3f88;const _0x1fe5e3=[];!_0x5ba60a[_0x58fd21(0x93)]&&!_0x5ba60a[_0x58fd21(0xb9)]&&_0x1fe5e3['push']({'code':0xbbe,'message':'In\x20the\x20Spatial\x20Web\x20App\x20Manifest,\x20it\x20is\x20necessary\x20to\x20provide\x20the\x20name\x20property\x20or\x20short_name\x20property\x20(preferably\x20both)','message_staring_params':{}});!((_0x2f3f88=_0x5ba60a['icons'])===null||_0x2f3f88===void 0x0?void 0x0:_0x2f3f88[_0x58fd21(0x8f)])&&_0x1fe5e3[_0x58fd21(0xa4)]({'code':0xbbf,'message':_0x58fd21(0xb0),'message_staring_params':{}});!_0x5ba60a[_0x58fd21(0x98)]&&_0x1fe5e3[_0x58fd21(0xa4)]({'code':0xbc0,'message':_0x58fd21(0x88),'message_staring_params':{}});!_1['PWAGenerator'][_0x58fd21(0xae)]['includes'](_0x5ba60a[_0x58fd21(0xba)])&&_0x1fe5e3['push']({'code':0xbc1,'message':_0x58fd21(0x86)+(_0x58fd21(0xb4)+_0x5ba60a[_0x58fd21(0xba)]+')'),'message_staring_params':{'display':_0x5ba60a[_0x58fd21(0xba)]}});if(_0x1fe5e3[_0x58fd21(0x8f)])throw new CustomError_1['CustomError'](_0x1fe5e3);}function checkStartUrl(_0x322a99,_0x35f1df,_0x2e7241,_0x514e9f=![]){const _0x178710=_0x251cb7;var _0x1a7901=![];if(_0x514e9f)return _0x1a7901=_0x322a99[_0x178710(0x98)][_0x178710(0xad)]('https://')===0x0||_0x322a99[_0x178710(0x98)][_0x178710(0xad)](_0x178710(0x84))===0x0,_0x1a7901;if(_0x2e7241){if(_0x322a99[_0x178710(0x98)]['indexOf']('https://')==0x0){const _0x5d3c12=new URL(_0x322a99[_0x178710(0x98)]),_0x271118=new URL(_0x35f1df);if(_0x5d3c12[_0x178710(0x96)]!==_0x271118[_0x178710(0x96)])throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x178710(0xa3),'message_staring_params':{}});}else{if(_0x322a99[_0x178710(0x98)]['indexOf'](_0x178710(0x84))==0x0)throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x178710(0xb5),'message_staring_params':{}});}}else{if(_0x322a99['start_url'][_0x178710(0xad)](_0x178710(0x83))==0x0||_0x322a99['start_url']['indexOf'](_0x178710(0x84))==0x0)throw new CustomError_1[(_0x178710(0x8c))]({'code':0xfa0,'message':_0x178710(0xb6),'message_staring_params':{}});}return _0x1a7901;}async function checkIcons(_0x23bc2c,_0x1463ed){const _0x34ded2=_0x251cb7;var _0x173b10;const _0x235077=(0x0,utils_1[_0x34ded2(0xb2)])(_0x1463ed);let _0x547e88,_0x4834d0,_0x12005a,_0x13187a=0x0;for(var _0x1966b1=0x0;_0x1966b1<_0x23bc2c[_0x34ded2(0xa1)][_0x34ded2(0x8f)];_0x1966b1++){const _0x81226f=_0x23bc2c[_0x34ded2(0xa1)][_0x1966b1];let _0x28ca69=((_0x173b10=_0x81226f[_0x34ded2(0x8a)])===null||_0x173b10===void 0x0?void 0x0:_0x173b10[_0x34ded2(0xad)](_0x34ded2(0x9c)))>=0x0;if(!_0x28ca69)continue;let _0x7a872a=![],_0x35a16f=_0x81226f[_0x34ded2(0x9e)],_0x232693,_0xacab8=0x0;!validateURL(_0x35a16f)&&(_0x35a16f=(0x0,path_1['join'])(_0x235077,_0x35a16f));if(_0x81226f[_0x34ded2(0xa5)]){const _0x3d5cf1=_0x81226f[_0x34ded2(0xa5)][_0x34ded2(0x82)]('\x20');_0x3d5cf1['forEach'](_0x5c4c97=>{const _0x34dcac=_0x34ded2;let _0x31ef55=_0x5c4c97[_0x34dcac(0x82)]('x');Number(_0x31ef55[0x0])>=0x400&&Number(_0x31ef55[0x1])>=0x400&&(_0x7a872a=!![],Number(_0x31ef55[0x0])>_0xacab8&&(_0xacab8=Number(_0x31ef55[0x0])));});}else _0x232693=!_0x35a16f[_0x34ded2(0x9a)](_0x34ded2(0x97))?await(0x0,load_1[_0x34ded2(0x91)])(_0x35a16f):await(0x0,load_1[_0x34ded2(0x94)])(_0x35a16f),_0x232693['getWidth']()>=0x400&&_0x232693[_0x34ded2(0xa2)]()>=0x400&&(_0x7a872a=!![],_0x232693[_0x34ded2(0x89)]()>_0xacab8&&(_0xacab8=_0x232693[_0x34ded2(0x89)]()));_0x7a872a&&_0x28ca69&&(_0xacab8>_0x13187a&&(_0x13187a=_0xacab8,_0x547e88=_0x232693,_0x4834d0=_0x35a16f,_0x12005a=_0x81226f[_0x34ded2(0x8a)]));}if(_0x13187a===0x0)throw new CustomError_1[(_0x34ded2(0x8c))]({'code':0xfa0,'message':_0x34ded2(0x8d),'message_staring_params':{}});else _0x4834d0&&(_0x547e88=!_0x4834d0[_0x34ded2(0x9a)]('http')?await(0x0,load_1[_0x34ded2(0x91)])(_0x4834d0):await(0x0,load_1[_0x34ded2(0x94)])(_0x4834d0));if(_0x547e88&&!imageHelper_1[_0x34ded2(0x7f)][_0x34ded2(0x9b)](_0x547e88))throw new CustomError_1[(_0x34ded2(0x8c))]({'code':0xfa0,'message':_0x34ded2(0xb3),'message_staring_params':{}});_0x23bc2c[_0x34ded2(0xa1)]=[{'src':_0x4834d0,'sizes':_0x13187a+'x'+_0x13187a,'purpose':_0x12005a}];}function checkId(_0x198d48){const _0x5dd8c4=_0x251cb7;!_0x198d48['id']&&(_0x198d48['id']=_0x198d48['start_url']);if(!validateURL(_0x198d48['id']))throw new CustomError_1['CustomError']({'code':0xfa0,'message':_0x5dd8c4(0xaa),'message_staring_params':{}});}function validateURL(_0x1ee91c){try{return new URL(_0x1ee91c),!![];}catch(_0x1fc5e9){return![];}}
@@ -1 +1 @@
1
- 'use strict';function _0xd084(){const _0x5df8da=['isDirectory','2925688MnlTnj','3vHepuC','2777010vlTvtO','40469690LXWckj','9sxuiwg','147dSthoc','95538AuPMOT','readdirSync','log','466328fPfEXy','1317508GjBIgX','isFile','readFileSync','__esModule','5309384MKNFzY','copyDir','existsSync'];_0xd084=function(){return _0x5df8da;};return _0xd084();}const _0x275ac7=_0x1dd5;(function(_0x304784,_0x2b693c){const _0x1f45a3=_0x1dd5,_0x44dbae=_0x304784();while(!![]){try{const _0x5d5914=-parseInt(_0x1f45a3(0x152))/0x1+parseInt(_0x1f45a3(0x153))/0x2*(-parseInt(_0x1f45a3(0x14a))/0x3)+-parseInt(_0x1f45a3(0x15b))/0x4+-parseInt(_0x1f45a3(0x14b))/0x5+-parseInt(_0x1f45a3(0x14f))/0x6*(parseInt(_0x1f45a3(0x14e))/0x7)+-parseInt(_0x1f45a3(0x157))/0x8+parseInt(_0x1f45a3(0x14d))/0x9*(parseInt(_0x1f45a3(0x14c))/0xa);if(_0x5d5914===_0x2b693c)break;else _0x44dbae['push'](_0x44dbae['shift']());}catch(_0x20b60a){_0x44dbae['push'](_0x44dbae['shift']());}}}(_0xd084,0x9b84f));Object['defineProperty'](exports,_0x275ac7(0x156),{'value':!![]}),exports[_0x275ac7(0x158)]=copyDir,exports['clearDir']=clearDir;const fs=require('fs');function _0x1dd5(_0x572289,_0x3985eb){const _0xd0849f=_0xd084();return _0x1dd5=function(_0x1dd5f0,_0x12e410){_0x1dd5f0=_0x1dd5f0-0x14a;let _0xd33c1a=_0xd0849f[_0x1dd5f0];return _0xd33c1a;},_0x1dd5(_0x572289,_0x3985eb);}function copyDir(_0x3e2b71,_0x206a30){const _0x191e1c=fs['readdirSync'](_0x3e2b71);_0x191e1c['forEach'](_0x57a914=>{const _0x1ef46b=_0x1dd5,_0x1a52d0=_0x3e2b71+'/'+_0x57a914,_0x4faa5f=_0x206a30+'/'+_0x57a914,_0xbeab23=fs['statSync'](_0x1a52d0);if(_0xbeab23[_0x1ef46b(0x154)]())try{fs['writeFileSync'](_0x4faa5f,fs[_0x1ef46b(0x155)](_0x1a52d0));}catch(_0x5ebdb7){console[_0x1ef46b(0x151)](_0x5ebdb7);}else _0xbeab23[_0x1ef46b(0x15a)]()&&(!fs[_0x1ef46b(0x159)](_0x4faa5f)&&fs['mkdirSync'](_0x4faa5f,{'recursive':!![]}),copyDir(_0x1a52d0,_0x4faa5f));});}function clearDir(_0x11413d){const _0x1f1de2=_0x275ac7,_0xa07f22=fs[_0x1f1de2(0x150)](_0x11413d);_0xa07f22['forEach'](_0x1a90ad=>{const _0x6cea1f=_0x1f1de2,_0x59dae6=_0x11413d+'/'+_0x1a90ad,_0x1a35c3=fs['statSync'](_0x59dae6);if(_0x1a35c3[_0x6cea1f(0x154)]())try{fs['unlinkSync'](_0x59dae6);}catch(_0x2dab1f){console[_0x6cea1f(0x151)](_0x2dab1f);}else _0x1a35c3['isDirectory']()&&clearDir(_0x59dae6);});}
1
+ 'use strict';const _0x13b75d=_0x4375;(function(_0x1cb32c,_0x9a94e2){const _0x5e5222=_0x4375,_0x572cb2=_0x1cb32c();while(!![]){try{const _0x12a539=parseInt(_0x5e5222(0x11d))/0x1*(-parseInt(_0x5e5222(0x11b))/0x2)+-parseInt(_0x5e5222(0x122))/0x3*(-parseInt(_0x5e5222(0x123))/0x4)+parseInt(_0x5e5222(0x134))/0x5*(parseInt(_0x5e5222(0x135))/0x6)+parseInt(_0x5e5222(0x125))/0x7*(parseInt(_0x5e5222(0x11e))/0x8)+-parseInt(_0x5e5222(0x120))/0x9*(-parseInt(_0x5e5222(0x12f))/0xa)+parseInt(_0x5e5222(0x121))/0xb*(-parseInt(_0x5e5222(0x12a))/0xc)+parseInt(_0x5e5222(0x127))/0xd;if(_0x12a539===_0x9a94e2)break;else _0x572cb2['push'](_0x572cb2['shift']());}catch(_0x1147ea){_0x572cb2['push'](_0x572cb2['shift']());}}}(_0xa66e,0x1f5dd));Object[_0x13b75d(0x12d)](exports,_0x13b75d(0x132),{'value':!![]}),exports[_0x13b75d(0x128)]=copyDir,exports[_0x13b75d(0x11f)]=clearDir;const fs=require('fs');function _0xa66e(){const _0x3458b2=['readdirSync','1364129hShWSa','copyDir','readFileSync','12dgVtGt','unlinkSync','writeFileSync','defineProperty','forEach','8690ISemrl','existsSync','log','__esModule','mkdirSync','10FSpViS','101262vdstRV','statSync','365948Kdqatk','isFile','1rwobUU','1259952BsQXpP','clearDir','1449CDaVuh','2766643nMpckV','34602BTIIfg','44cZVBNo','isDirectory','7KlAuiS'];_0xa66e=function(){return _0x3458b2;};return _0xa66e();}function copyDir(_0x33b3d7,_0x2cbaf9){const _0x6698c0=_0x13b75d,_0x48aed2=fs['readdirSync'](_0x33b3d7);_0x48aed2[_0x6698c0(0x12e)](_0x5d471b=>{const _0x24dcd5=_0x6698c0,_0x13d15f=_0x33b3d7+'/'+_0x5d471b,_0x1ae1ca=_0x2cbaf9+'/'+_0x5d471b,_0xe65a0=fs[_0x24dcd5(0x136)](_0x13d15f);if(_0xe65a0[_0x24dcd5(0x11c)]())try{fs[_0x24dcd5(0x12c)](_0x1ae1ca,fs[_0x24dcd5(0x129)](_0x13d15f));}catch(_0x2dc82e){console['log'](_0x2dc82e);}else _0xe65a0[_0x24dcd5(0x124)]()&&(!fs[_0x24dcd5(0x130)](_0x1ae1ca)&&fs[_0x24dcd5(0x133)](_0x1ae1ca,{'recursive':!![]}),copyDir(_0x13d15f,_0x1ae1ca));});}function _0x4375(_0x1e0d2f,_0x1ceb89){const _0xa66e64=_0xa66e();return _0x4375=function(_0x437533,_0x93489c){_0x437533=_0x437533-0x11b;let _0x290962=_0xa66e64[_0x437533];return _0x290962;},_0x4375(_0x1e0d2f,_0x1ceb89);}function clearDir(_0x3700a1){const _0x9d67ba=_0x13b75d,_0x45eb39=fs[_0x9d67ba(0x126)](_0x3700a1);_0x45eb39[_0x9d67ba(0x12e)](_0x4aba9e=>{const _0x38a531=_0x9d67ba,_0xae0e32=_0x3700a1+'/'+_0x4aba9e,_0x25f8b8=fs[_0x38a531(0x136)](_0xae0e32);if(_0x25f8b8[_0x38a531(0x11c)]())try{fs[_0x38a531(0x12b)](_0xae0e32);}catch(_0x34b214){console[_0x38a531(0x131)](_0x34b214);}else _0x25f8b8['isDirectory']()&&clearDir(_0xae0e32);});}
@@ -1 +1 @@
1
- 'use strict';const _0x2d4162=_0x9ac7;(function(_0x36674f,_0x4f8085){const _0x50ac34=_0x9ac7,_0x4b49c2=_0x36674f();while(!![]){try{const _0x5d9824=-parseInt(_0x50ac34(0x1f4))/0x1*(parseInt(_0x50ac34(0x1f2))/0x2)+-parseInt(_0x50ac34(0x1e9))/0x3+parseInt(_0x50ac34(0x1ef))/0x4+-parseInt(_0x50ac34(0x1f0))/0x5*(parseInt(_0x50ac34(0x1ed))/0x6)+parseInt(_0x50ac34(0x1e2))/0x7+-parseInt(_0x50ac34(0x1ec))/0x8+parseInt(_0x50ac34(0x1ee))/0x9;if(_0x5d9824===_0x4f8085)break;else _0x4b49c2['push'](_0x4b49c2['shift']());}catch(_0x5b26a0){_0x4b49c2['push'](_0x4b49c2['shift']());}}}(_0x42a3,0x1e776));function _0x9ac7(_0x3a85cd,_0x36bba6){const _0x42a35c=_0x42a3();return _0x9ac7=function(_0x9ac71,_0x4c3845){_0x9ac71=_0x9ac71-0x1db;let _0x5f0141=_0x42a35c[_0x9ac71];return _0x5f0141;},_0x9ac7(_0x3a85cd,_0x36bba6);}Object[_0x2d4162(0x1e3)](exports,'__esModule',{'value':!![]}),exports[_0x2d4162(0x1f1)]=void 0x0;function _0x42a3(){const _0x46256a=['328944BYVIzM','225822eoCmXA','1330092tmrnoC','981316kdWnhp','10gSdDmC','ImageHelper','2370LQKvVH','png','179cLpoSw','@resvg/resvg-js','data','svg2img','jimp','isFullyOpaque','Resvg','webp2PngBuffer','509460mtlwLI','defineProperty','toFormat','getHeight','bitmap','getWidth','width','37800znMvFr','createImg','sharp'];_0x42a3=function(){return _0x46256a;};return _0x42a3();}const Jimp=require(_0x2d4162(0x1de)),sharp=require(_0x2d4162(0x1eb)),resvg_js_1=require(_0x2d4162(0x1db));class ImageHelper{static[_0x2d4162(0x1ea)](_0x3a6e42){return new Jimp(_0x3a6e42,_0x3a6e42,0x0);}static async[_0x2d4162(0x1e1)](_0x1e72c5){const _0x50cae2=_0x2d4162;return await sharp(_0x1e72c5)[_0x50cae2(0x1e4)](_0x50cae2(0x1f3))['toBuffer']();}static async[_0x2d4162(0x1dd)](_0x60b15d){const _0x1ffba4=_0x2d4162,_0x156e52={'fitTo':{'mode':_0x1ffba4(0x1e8),'value':0x400}},_0x163eff=new resvg_js_1[(_0x1ffba4(0x1e0))](_0x60b15d,_0x156e52),_0x32ee9d=_0x163eff['render'](),_0x492e4f=_0x32ee9d['asPng']();return _0x492e4f;}static[_0x2d4162(0x1df)](_0x1ce1c5){const _0x53ed64=_0x2d4162,_0x3cf084=_0x1ce1c5[_0x53ed64(0x1e7)]()*_0x1ce1c5[_0x53ed64(0x1e5)]();for(var _0x4bf65b=0x0;_0x4bf65b<_0x3cf084;_0x4bf65b++){const _0x222bd9=_0x4bf65b*0x4+0x3;if(_0x1ce1c5[_0x53ed64(0x1e6)][_0x53ed64(0x1dc)][_0x222bd9]<0xff)return![];}return!![];}}exports['ImageHelper']=ImageHelper;
1
+ 'use strict';const _0x5d3dbb=_0x49df;(function(_0x1763e3,_0x223593){const _0x5142fe=_0x49df,_0x5e46c3=_0x1763e3();while(!![]){try{const _0x3e1f50=parseInt(_0x5142fe(0x1ea))/0x1+-parseInt(_0x5142fe(0x1e9))/0x2*(parseInt(_0x5142fe(0x1ee))/0x3)+-parseInt(_0x5142fe(0x1e6))/0x4+-parseInt(_0x5142fe(0x1f6))/0x5+parseInt(_0x5142fe(0x1f3))/0x6+parseInt(_0x5142fe(0x1e5))/0x7+parseInt(_0x5142fe(0x1e7))/0x8*(parseInt(_0x5142fe(0x1e3))/0x9);if(_0x3e1f50===_0x223593)break;else _0x5e46c3['push'](_0x5e46c3['shift']());}catch(_0x30c305){_0x5e46c3['push'](_0x5e46c3['shift']());}}}(_0x514f,0x8f02f));Object[_0x5d3dbb(0x1eb)](exports,'__esModule',{'value':!![]}),exports[_0x5d3dbb(0x1f0)]=void 0x0;function _0x514f(){const _0x2bfdb6=['1894GuWAqK','924186rfXOtI','defineProperty','asPng','jimp','831dYQKnF','render','ImageHelper','createImg','getHeight','2118540wJTeZa','webp2PngBuffer','data','5090485egfExZ','Resvg','@resvg/resvg-js','sharp','getWidth','7299ILDNSz','bitmap','4914469YvjfVI','1043016HimJQP','1456JpAJmX','toBuffer'];_0x514f=function(){return _0x2bfdb6;};return _0x514f();}const Jimp=require(_0x5d3dbb(0x1ed)),sharp=require(_0x5d3dbb(0x1f9)),resvg_js_1=require(_0x5d3dbb(0x1f8));class ImageHelper{static[_0x5d3dbb(0x1f1)](_0x14fdbd){return new Jimp(_0x14fdbd,_0x14fdbd,0x0);}static async[_0x5d3dbb(0x1f4)](_0x454e5d){const _0x7c3662=_0x5d3dbb;return await sharp(_0x454e5d)['toFormat']('png')[_0x7c3662(0x1e8)]();}static async['svg2img'](_0x50e5f0){const _0x95adf7=_0x5d3dbb,_0x3d0a0a={'fitTo':{'mode':'width','value':0x400}},_0x167790=new resvg_js_1[(_0x95adf7(0x1f7))](_0x50e5f0,_0x3d0a0a),_0x10b285=_0x167790[_0x95adf7(0x1ef)](),_0x4f8826=_0x10b285[_0x95adf7(0x1ec)]();return _0x4f8826;}static['isFullyOpaque'](_0x32fc0f){const _0x2a91af=_0x5d3dbb,_0x3de63a=_0x32fc0f[_0x2a91af(0x1e2)]()*_0x32fc0f[_0x2a91af(0x1f2)]();for(var _0x3286d7=0x0;_0x3286d7<_0x3de63a;_0x3286d7++){const _0x411299=_0x3286d7*0x4+0x3;if(_0x32fc0f[_0x2a91af(0x1e4)][_0x2a91af(0x1f5)][_0x411299]<0xff)return![];}return!![];}}function _0x49df(_0x343bc0,_0x5692d3){const _0x514fd3=_0x514f();return _0x49df=function(_0x49dfc7,_0x1bfd2c){_0x49dfc7=_0x49dfc7-0x1e2;let _0x2d621f=_0x514fd3[_0x49dfc7];return _0x2d621f;},_0x49df(_0x343bc0,_0x5692d3);}exports[_0x5d3dbb(0x1f0)]=ImageHelper;
@@ -1,8 +1,8 @@
1
1
  import { ManifestInfo } from '../pwa';
2
2
  import * as Jimp from 'jimp';
3
- export declare const PROJECT_DIRECTORY: string;
4
- export declare const PROJECT_BUILD_DIRECTORY: string;
5
- export declare const PROJECT_EXPORT_DIRECTORY: string;
3
+ export declare let PROJECT_DIRECTORY: string;
4
+ export declare let PROJECT_BUILD_DIRECTORY: string;
5
+ export declare let PROJECT_EXPORT_DIRECTORY: string;
6
6
  export declare const WEB_PROJECT_DIRECTORY = "web-spatial/static-web";
7
7
  export declare const ASSET_DIRECTORY = "web-spatial/Assets.xcassets";
8
8
  export declare const BACK_APPICON_DIRECTORY: string;
@@ -10,4 +10,11 @@ export declare const MIDDLE_APPICON_DIRECTORY: string;
10
10
  export declare class ResourceManager {
11
11
  static moveProjectFrom(dir: string): Promise<void>;
12
12
  static generateIcon(info: ManifestInfo): Promise<Jimp>;
13
+ /**
14
+ * @description Check and set the platform path to ensure the existence of the specified platform module.
15
+ * If the module does not exist, it will be installed automatically.
16
+ * Also set the project directory, build directory, and export directory.
17
+ * @param platform The name of the platform to check, defaulting to 'avp'
18
+ */
19
+ static checkPlatformPath(platform: string): void;
13
20
  }
@@ -1 +1 @@
1
- 'use strict';const _0x155e6d=_0x197a;(function(_0x34db18,_0x549d8a){const _0x18cc6f=_0x197a,_0x22b25c=_0x34db18();while(!![]){try{const _0x4cd3f2=-parseInt(_0x18cc6f(0xfa))/0x1*(parseInt(_0x18cc6f(0xdc))/0x2)+parseInt(_0x18cc6f(0xf1))/0x3*(-parseInt(_0x18cc6f(0xdd))/0x4)+parseInt(_0x18cc6f(0xd8))/0x5*(parseInt(_0x18cc6f(0xf4))/0x6)+parseInt(_0x18cc6f(0xf3))/0x7*(-parseInt(_0x18cc6f(0xf8))/0x8)+parseInt(_0x18cc6f(0xec))/0x9+parseInt(_0x18cc6f(0xe3))/0xa*(-parseInt(_0x18cc6f(0xd6))/0xb)+parseInt(_0x18cc6f(0xe4))/0xc;if(_0x4cd3f2===_0x549d8a)break;else _0x22b25c['push'](_0x22b25c['shift']());}catch(_0x2e8bc8){_0x22b25c['push'](_0x22b25c['shift']());}}}(_0x5882,0xf1887));function _0x197a(_0x4cb10b,_0x571fe7){const _0x5882a6=_0x5882();return _0x197a=function(_0x197a2c,_0x468b9c){_0x197a2c=_0x197a2c-0xd3;let _0x579746=_0x5882a6[_0x197a2c];return _0x579746;},_0x197a(_0x4cb10b,_0x571fe7);}Object[_0x155e6d(0xe0)](exports,_0x155e6d(0xe8),{'value':!![]}),exports[_0x155e6d(0xf0)]=exports[_0x155e6d(0xe1)]=exports[_0x155e6d(0xe9)]=exports[_0x155e6d(0xe7)]=exports[_0x155e6d(0xde)]=exports[_0x155e6d(0xeb)]=exports[_0x155e6d(0xf7)]=exports['PROJECT_DIRECTORY']=void 0x0;const fs=require('fs'),path_1=require(_0x155e6d(0xd5)),file_1=require(_0x155e6d(0xf6)),load_1=require(_0x155e6d(0xd9));exports[_0x155e6d(0xdf)]=(0x0,path_1['join'])(__dirname,_0x155e6d(0xee)),exports[_0x155e6d(0xf7)]=(0x0,path_1[_0x155e6d(0xd3)])(exports[_0x155e6d(0xdf)],'./build'),exports[_0x155e6d(0xeb)]=(0x0,path_1[_0x155e6d(0xd3)])(exports[_0x155e6d(0xdf)],_0x155e6d(0xf9)),exports[_0x155e6d(0xde)]='web-spatial/static-web',exports[_0x155e6d(0xe7)]='web-spatial/Assets.xcassets',exports[_0x155e6d(0xe9)]=exports[_0x155e6d(0xe7)]+_0x155e6d(0xef),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x155e6d(0xe7)]+_0x155e6d(0xe2);class ResourceManager{static async[_0x155e6d(0xd4)](_0x15c659){const _0x1356d9=_0x155e6d,_0x1dca60=(0x0,path_1[_0x1356d9(0xd3)])(process[_0x1356d9(0xda)](),_0x15c659),_0x5939c9=(0x0,path_1['join'])(exports[_0x1356d9(0xdf)],exports['WEB_PROJECT_DIRECTORY']);!fs['existsSync'](_0x5939c9)?fs[_0x1356d9(0xe6)](_0x5939c9,{'recursive':!![]}):(0x0,file_1[_0x1356d9(0xea)])(_0x5939c9);try{(0x0,file_1[_0x1356d9(0xd7)])(_0x1dca60,_0x5939c9);}catch(_0x3a2abe){console[_0x1356d9(0xfb)](_0x3a2abe);}}static async['generateIcon'](_0x514a20){const _0x458cdb=_0x155e6d,_0x5bcc8a=_0x514a20[_0x458cdb(0xdb)],_0x3db84d=_0x5bcc8a['icons'][0x0][_0x458cdb(0xed)],_0x207d50=!_0x3db84d['startsWith'](_0x458cdb(0xe5))?await(0x0,load_1['loadImageFromDisk'])(_0x3db84d):await(0x0,load_1[_0x458cdb(0xf2)])(_0x3db84d);return _0x207d50[_0x458cdb(0xf5)](0x400,0x400),_0x207d50;}}exports[_0x155e6d(0xf0)]=ResourceManager;function _0x5882(){const _0x2695c5=['14127072NhBypE','http','mkdirSync','ASSET_DIRECTORY','__esModule','BACK_APPICON_DIRECTORY','clearDir','PROJECT_EXPORT_DIRECTORY','3868461FUKVXc','src','../../../template/visionOSApp','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','ResourceManager','3099KZDZeP','loadImageFromNet','370391hgMAxQ','6gzEQty','resize','./file','PROJECT_BUILD_DIRECTORY','24NgXCZW','./export','141JCGpIG','log','join','moveProjectFrom','path','92015hoNeMV','copyDir','3332785hbDpTS','./load','cwd','json','12646DQRuoy','388TugzsV','WEB_PROJECT_DIRECTORY','PROJECT_DIRECTORY','defineProperty','MIDDLE_APPICON_DIRECTORY','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','160vIGrrU'];_0x5882=function(){return _0x2695c5;};return _0x5882();}
1
+ 'use strict';function _0x35a9(){const _0x551237=['not\x20support\x20platform\x20','PROJECT_DIRECTORY','297ApWyEJ','http','8652LzYhvG','defineProperty','\x20&&\x20pnpm\x20add\x20@webspatial/platform-avp','9VKcfgN','resize','execSync','7CJOiKA','12msOqzo','25266lXeLJS','352602mmflWt','7898015DodaEf','existsSync',',\x20now\x20WebSpatial\x20only\x20support\x20','src','308130ojDmUL','./build','loadImageFromNet','BACK_APPICON_DIRECTORY','includes','/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset','WEB_PROJECT_DIRECTORY','cd\x20','copyDir','node_modules/@webspatial/platform-avp','__esModule','32097WVbexu','/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset','clearDir','PROJECT_EXPORT_DIRECTORY','ResourceManager','../../../','./load','icons','join','json','cwd','ASSET_DIRECTORY','427688rfbQJp','501072swmpQU','avp','startsWith','287YbRsjq','web-spatial/Assets.xcassets','log','checkPlatformPath','mkdirSync','moveProjectFrom','loadImageFromDisk','web-spatial/static-web','PROJECT_BUILD_DIRECTORY','../../../node_modules/@webspatial/platform-avp'];_0x35a9=function(){return _0x551237;};return _0x35a9();}const _0x2469d9=_0x4424;(function(_0x45e5fd,_0xfcdec5){const _0x318a9d=_0x4424,_0x420047=_0x45e5fd();while(!![]){try{const _0xfe7059=-parseInt(_0x318a9d(0x1f1))/0x1*(-parseInt(_0x318a9d(0x1f4))/0x2)+parseInt(_0x318a9d(0x211))/0x3*(parseInt(_0x318a9d(0x1f2))/0x4)+parseInt(_0x318a9d(0x1f5))/0x5+-parseInt(_0x318a9d(0x1f3))/0x6*(-parseInt(_0x318a9d(0x214))/0x7)+-parseInt(_0x318a9d(0x210))/0x8*(-parseInt(_0x318a9d(0x1ee))/0x9)+parseInt(_0x318a9d(0x1f9))/0xa*(-parseInt(_0x318a9d(0x1e9))/0xb)+-parseInt(_0x318a9d(0x1eb))/0xc*(parseInt(_0x318a9d(0x204))/0xd);if(_0xfe7059===_0xfcdec5)break;else _0x420047['push'](_0x420047['shift']());}catch(_0xd8c495){_0x420047['push'](_0x420047['shift']());}}}(_0x35a9,0xe2c1a));Object[_0x2469d9(0x1ec)](exports,_0x2469d9(0x203),{'value':!![]}),exports['ResourceManager']=exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x2469d9(0x1fc)]=exports[_0x2469d9(0x20f)]=exports[_0x2469d9(0x1ff)]=exports[_0x2469d9(0x207)]=exports[_0x2469d9(0x21c)]=exports[_0x2469d9(0x1e8)]=void 0x0;const fs=require('fs'),path_1=require('path'),file_1=require('./file'),load_1=require(_0x2469d9(0x20a)),child_process_1=require('child_process');exports['PROJECT_DIRECTORY']='',exports[_0x2469d9(0x21c)]='',exports[_0x2469d9(0x207)]='',exports[_0x2469d9(0x1ff)]=_0x2469d9(0x21b),exports[_0x2469d9(0x20f)]=_0x2469d9(0x215),exports[_0x2469d9(0x1fc)]=exports[_0x2469d9(0x20f)]+_0x2469d9(0x205),exports['MIDDLE_APPICON_DIRECTORY']=exports[_0x2469d9(0x20f)]+_0x2469d9(0x1fe);const supportPlatform=[_0x2469d9(0x212)];function _0x4424(_0x315efe,_0x4e6d4c){const _0x35a9d8=_0x35a9();return _0x4424=function(_0x442472,_0x34b967){_0x442472=_0x442472-0x1e8;let _0x31e3f3=_0x35a9d8[_0x442472];return _0x31e3f3;},_0x4424(_0x315efe,_0x4e6d4c);}class ResourceManager{static async[_0x2469d9(0x219)](_0x1a1046){const _0x359132=_0x2469d9,_0x3cb60b=(0x0,path_1['join'])(process[_0x359132(0x20e)](),_0x1a1046),_0x4d9755=(0x0,path_1[_0x359132(0x20c)])(exports['PROJECT_DIRECTORY'],exports[_0x359132(0x1ff)]);!fs[_0x359132(0x1f6)](_0x4d9755)?fs[_0x359132(0x218)](_0x4d9755,{'recursive':!![]}):(0x0,file_1[_0x359132(0x206)])(_0x4d9755);try{(0x0,file_1[_0x359132(0x201)])(_0x3cb60b,_0x4d9755);}catch(_0x1ccb2d){console[_0x359132(0x216)](_0x1ccb2d);}}static async['generateIcon'](_0x25f093){const _0x2052ba=_0x2469d9,_0x5777bb=_0x25f093[_0x2052ba(0x20d)],_0x22d8d0=_0x5777bb[_0x2052ba(0x20b)][0x0][_0x2052ba(0x1f8)],_0xbc2ecd=!_0x22d8d0[_0x2052ba(0x213)](_0x2052ba(0x1ea))?await(0x0,load_1[_0x2052ba(0x21a)])(_0x22d8d0):await(0x0,load_1[_0x2052ba(0x1fb)])(_0x22d8d0);return _0xbc2ecd[_0x2052ba(0x1ef)](0x400,0x400),_0xbc2ecd;}static[_0x2469d9(0x217)](_0x51f76f){const _0x5772cc=_0x2469d9;if(!_0x51f76f)_0x51f76f=_0x5772cc(0x212);if(!supportPlatform[_0x5772cc(0x1fd)](_0x51f76f))throw new Error(_0x5772cc(0x21e)+_0x51f76f+_0x5772cc(0x1f7)+supportPlatform[_0x5772cc(0x20c)](','));let _0xeb774d=(0x0,path_1[_0x5772cc(0x20c)])(process[_0x5772cc(0x20e)](),_0x5772cc(0x202));!fs[_0x5772cc(0x1f6)](_0xeb774d)&&(_0xeb774d=(0x0,path_1['join'])(__dirname,_0x5772cc(0x21d)));const _0x433a9d=fs['existsSync'](_0xeb774d);!_0x433a9d&&(0x0,child_process_1[_0x5772cc(0x1f0)])(_0x5772cc(0x200)+(0x0,path_1['join'])(__dirname,_0x5772cc(0x209))+_0x5772cc(0x1ed)),exports[_0x5772cc(0x1e8)]=_0xeb774d,exports[_0x5772cc(0x21c)]=(0x0,path_1['join'])(exports['PROJECT_DIRECTORY'],_0x5772cc(0x1fa)),exports[_0x5772cc(0x207)]=(0x0,path_1[_0x5772cc(0x20c)])(exports['PROJECT_DIRECTORY'],'./export');}}exports[_0x2469d9(0x208)]=ResourceManager;
@@ -1 +1 @@
1
- 'use strict';const _0x4f2bdb=_0x2fd0;(function(_0x5a604b,_0x588617){const _0x42ff47=_0x2fd0,_0x2375e6=_0x5a604b();while(!![]){try{const _0x2e3f0b=parseInt(_0x42ff47(0x1e6))/0x1*(-parseInt(_0x42ff47(0x1d4))/0x2)+parseInt(_0x42ff47(0x1bf))/0x3*(parseInt(_0x42ff47(0x1c3))/0x4)+parseInt(_0x42ff47(0x1b9))/0x5*(parseInt(_0x42ff47(0x1d8))/0x6)+parseInt(_0x42ff47(0x1dc))/0x7*(parseInt(_0x42ff47(0x1bc))/0x8)+parseInt(_0x42ff47(0x1d1))/0x9*(-parseInt(_0x42ff47(0x1b7))/0xa)+-parseInt(_0x42ff47(0x1c4))/0xb*(-parseInt(_0x42ff47(0x1b6))/0xc)+-parseInt(_0x42ff47(0x1ba))/0xd;if(_0x2e3f0b===_0x588617)break;else _0x2375e6['push'](_0x2375e6['shift']());}catch(_0x3384ed){_0x2375e6['push'](_0x2375e6['shift']());}}}(_0x58f5,0x44332));Object[_0x4f2bdb(0x1b4)](exports,'__esModule',{'value':!![]}),exports['loadJsonFromNet']=loadJsonFromNet,exports['loadJsonFromDisk']=loadJsonFromDisk,exports[_0x4f2bdb(0x1df)]=loadImageFromNet,exports[_0x4f2bdb(0x1e4)]=loadImageFromDisk,exports[_0x4f2bdb(0x1c2)]=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x4f2bdb(0x1bb)),CustomError_1=require(_0x4f2bdb(0x1c5)),Jimp=require(_0x4f2bdb(0x1ce)),imageHelper_1=require(_0x4f2bdb(0x1c8));function _0x2fd0(_0x513ef3,_0x1b6558){const _0x58f52c=_0x58f5();return _0x2fd0=function(_0x2fd0f2,_0x4b3bb7){_0x2fd0f2=_0x2fd0f2-0x1b3;let _0x47cbf0=_0x58f52c[_0x2fd0f2];return _0x47cbf0;},_0x2fd0(_0x513ef3,_0x1b6558);}function _0x58f5(){const _0x47315a=['webp2PngBuffer','content-encoding','loadImageFromDisk','deflate','29909WXMHpo','status','fetchUtils','data','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','defineProperty','binary','48QwVfAW','313890THRrGX','image/','4445CWIGKz','9829170mKVJri','../utils/FetchUtils-1','101496FdtNdR','from','Failed\x20to\x20download\x20Web\x20Manifest\x20','118323cDXEPp','content-type','The\x20response\x20status\x20is\x20','loadFileString','20pYIBvC','1245541jkjuWd','../utils/CustomError','decompressResponseBuffer','get','./imageHelper','image/svg','svg2img','CustomError','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','read','jimp','toString','\x20Responded\x20with\x20Content-Type\x20\x22','18TZbiho','text','fetch','4CLZhzD','parse','Problem\x20reading\x20','image/webp','1116uTbWCe','headers','ImageHelper','gzip','189qSQEPd',',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address','startsWith','loadImageFromNet','readFile','includes'];_0x58f5=function(){return _0x47315a;};return _0x58f5();}async function loadJsonFromNet(_0x4e1c37){const _0x567e4d=_0x4f2bdb,_0x14ef04=await FetchUtils_1_1[_0x567e4d(0x1e8)][_0x567e4d(0x1d3)](_0x4e1c37,{'encoding':'binary'});if(_0x14ef04[_0x567e4d(0x1e7)]!==0xc8)throw new CustomError_1[(_0x567e4d(0x1cb))]({'code':0xbbc,'message':_0x567e4d(0x1be)+_0x4e1c37+'.'+(_0x567e4d(0x1c1)+_0x14ef04['status']+_0x567e4d(0x1dd)),'message_staring_params':{'web_manifest_url':_0x4e1c37,'status':_0x14ef04[_0x567e4d(0x1e7)]}});try{let _0x3dcc8a;return _0x14ef04[_0x567e4d(0x1d2)]?_0x3dcc8a=await _0x14ef04[_0x567e4d(0x1d2)]():[_0x567e4d(0x1db),_0x567e4d(0x1e5),'br'][_0x567e4d(0x1e1)](_0x14ef04['headers'][_0x567e4d(0x1e3)])?_0x3dcc8a=FetchUtils_1_1['fetchUtils']['decompressResponseBuffer'](Buffer[_0x567e4d(0x1bd)](_0x14ef04['data'],'binary'),_0x14ef04['headers'][_0x567e4d(0x1e3)])[_0x567e4d(0x1cf)]():_0x3dcc8a=Buffer[_0x567e4d(0x1bd)](_0x14ef04[_0x567e4d(0x1e9)],'binary')[_0x567e4d(0x1cf)](),JSON[_0x567e4d(0x1d5)](_0x3dcc8a['trim']());}catch(_0x3d2c74){throw new CustomError_1[(_0x567e4d(0x1cb))]({'code':0xbbd,'message':_0x567e4d(0x1b3),'message_staring_params':{}});}}async function loadJsonFromDisk(_0x3d3588){const _0x26aeb6=_0x4f2bdb,_0x4d86cd=await loadFileString(_0x3d3588[_0x26aeb6(0x1cf)]());return JSON[_0x26aeb6(0x1d5)](_0x4d86cd);}async function loadImageFromNet(_0x3d7d3a){const _0x23f3e5=_0x4f2bdb,_0x10a8bb=await FetchUtils_1_1[_0x23f3e5(0x1e8)][_0x23f3e5(0x1d3)](_0x3d7d3a,{'encoding':_0x23f3e5(0x1b5)});if(_0x10a8bb[_0x23f3e5(0x1e7)]!==0xc8)throw new CustomError_1[(_0x23f3e5(0x1cb))]({'code':0x7d2,'message':_0x23f3e5(0x1cc)+_0x10a8bb[_0x23f3e5(0x1e7)],'message_staring_params':{'icon_url':_0x3d7d3a,'status':_0x10a8bb[_0x23f3e5(0x1e7)]}});const _0x3b515a=_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1c7)]?_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1c7)](_0x23f3e5(0x1c0)):_0x10a8bb['headers'][_0x23f3e5(0x1c0)];if(!(_0x3b515a===null||_0x3b515a===void 0x0?void 0x0:_0x3b515a[_0x23f3e5(0x1de)](_0x23f3e5(0x1b8))))throw new CustomError_1['CustomError']({'code':0x7d3,'message':'Received\x20icon\x20with\x20invalid\x20Content-Type.'+(_0x23f3e5(0x1d0)+_0x3b515a+'\x22'),'message_staring_params':{'icon_url':_0x3d7d3a,'contentType':_0x3b515a}});let _0x117111;_0x10a8bb['arrayBuffer']?_0x117111=await _0x10a8bb['arrayBuffer']():['gzip',_0x23f3e5(0x1e5),'br'][_0x23f3e5(0x1e1)](_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1e3)])?_0x117111=FetchUtils_1_1[_0x23f3e5(0x1e8)][_0x23f3e5(0x1c6)](Buffer[_0x23f3e5(0x1bd)](_0x10a8bb[_0x23f3e5(0x1e9)],_0x23f3e5(0x1b5)),_0x10a8bb[_0x23f3e5(0x1d9)][_0x23f3e5(0x1e3)]):_0x117111=Buffer[_0x23f3e5(0x1bd)](_0x10a8bb[_0x23f3e5(0x1e9)],_0x23f3e5(0x1b5));if(_0x3b515a['startsWith'](_0x23f3e5(0x1c9))){const _0x4f96fb=new TextDecoder();try{_0x117111=await imageHelper_1[_0x23f3e5(0x1da)][_0x23f3e5(0x1ca)](_0x4f96fb['decode'](_0x117111));}catch(_0x59f5a8){throw new CustomError_1[(_0x23f3e5(0x1cb))]({'code':0x7d4,'message':_0x23f3e5(0x1d6)+_0x3d7d3a+':\x20'+_0x59f5a8,'message_staring_params':{'icon_url':_0x3d7d3a,'error':_0x59f5a8}});}}return _0x3b515a['startsWith'](_0x23f3e5(0x1d7))&&(_0x117111=await imageHelper_1[_0x23f3e5(0x1da)][_0x23f3e5(0x1e2)](_0x117111)),await Jimp['read'](Buffer[_0x23f3e5(0x1bd)](_0x117111));}async function loadImageFromDisk(_0x4eb3b3){const _0x5e45d9=_0x4f2bdb;return await Jimp[_0x5e45d9(0x1cd)](_0x4eb3b3);}async function loadFileString(_0x236fb9){const _0x233726=_0x4f2bdb;let _0x4c5a6a=await fs['promises'][_0x233726(0x1e0)](_0x236fb9['toString']());return _0x4c5a6a[_0x233726(0x1cf)]();}
1
+ 'use strict';const _0x191ec9=_0x18d0;(function(_0x330de2,_0x44f408){const _0xbaee20=_0x18d0,_0xb88404=_0x330de2();while(!![]){try{const _0x1e5dc3=parseInt(_0xbaee20(0x1ef))/0x1+parseInt(_0xbaee20(0x1df))/0x2+-parseInt(_0xbaee20(0x1e9))/0x3+parseInt(_0xbaee20(0x1fc))/0x4*(parseInt(_0xbaee20(0x1da))/0x5)+parseInt(_0xbaee20(0x205))/0x6*(-parseInt(_0xbaee20(0x1fa))/0x7)+parseInt(_0xbaee20(0x1ed))/0x8+-parseInt(_0xbaee20(0x1f9))/0x9*(parseInt(_0xbaee20(0x1f1))/0xa);if(_0x1e5dc3===_0x44f408)break;else _0xb88404['push'](_0xb88404['shift']());}catch(_0x46312f){_0xb88404['push'](_0xb88404['shift']());}}}(_0x1952,0xdc7bf));Object[_0x191ec9(0x1ea)](exports,_0x191ec9(0x1de),{'value':!![]}),exports[_0x191ec9(0x1fb)]=loadJsonFromNet,exports[_0x191ec9(0x204)]=loadJsonFromDisk,exports[_0x191ec9(0x1ee)]=loadImageFromNet,exports['loadImageFromDisk']=loadImageFromDisk,exports['loadFileString']=loadFileString;const fs=require('fs'),FetchUtils_1_1=require(_0x191ec9(0x1e3)),CustomError_1=require(_0x191ec9(0x1f4)),Jimp=require(_0x191ec9(0x1d8)),imageHelper_1=require(_0x191ec9(0x1f7));function _0x18d0(_0x8414a5,_0x447cea){const _0x19522e=_0x1952();return _0x18d0=function(_0x18d0c1,_0x500f90){_0x18d0c1=_0x18d0c1-0x1d7;let _0x86882b=_0x19522e[_0x18d0c1];return _0x86882b;},_0x18d0(_0x8414a5,_0x447cea);}async function loadJsonFromNet(_0x32b859){const _0x4c5996=_0x191ec9,_0x1498b6=await FetchUtils_1_1[_0x4c5996(0x1fe)][_0x4c5996(0x1eb)](_0x32b859,{'encoding':_0x4c5996(0x1d9)});if(_0x1498b6['status']!==0xc8)throw new CustomError_1[(_0x4c5996(0x202))]({'code':0xbbc,'message':_0x4c5996(0x1e5)+_0x32b859+'.'+(_0x4c5996(0x208)+_0x1498b6[_0x4c5996(0x1fd)]+',\x20please\x20check\x20the\x20Web\x20Manifest\x20access\x20address'),'message_staring_params':{'web_manifest_url':_0x32b859,'status':_0x1498b6[_0x4c5996(0x1fd)]}});try{let _0x39f7ef;return _0x1498b6['text']?_0x39f7ef=await _0x1498b6[_0x4c5996(0x1d7)]():[_0x4c5996(0x1e2),_0x4c5996(0x1e7),'br']['includes'](_0x1498b6[_0x4c5996(0x1e8)][_0x4c5996(0x201)])?_0x39f7ef=FetchUtils_1_1[_0x4c5996(0x1fe)][_0x4c5996(0x1e1)](Buffer[_0x4c5996(0x1f3)](_0x1498b6[_0x4c5996(0x206)],_0x4c5996(0x1d9)),_0x1498b6[_0x4c5996(0x1e8)]['content-encoding'])['toString']():_0x39f7ef=Buffer['from'](_0x1498b6[_0x4c5996(0x206)],_0x4c5996(0x1d9))[_0x4c5996(0x20a)](),JSON[_0x4c5996(0x1f6)](_0x39f7ef[_0x4c5996(0x1db)]());}catch(_0x564f55){throw new CustomError_1[(_0x4c5996(0x202))]({'code':0xbbd,'message':_0x4c5996(0x1dc),'message_staring_params':{}});}}function _0x1952(){const _0x525ba3=['6198JewLxr','data','ImageHelper','The\x20response\x20status\x20is\x20','startsWith','toString','text','jimp','binary','2515210ZOZJMo','trim','Manifest\x20file\x20embedded\x20in\x20the\x20website\x20is\x20not\x20a\x20legal\x20JSON\x20file,\x20please\x20reconfigure','svg2img','__esModule','1786560qCwtTM','get','decompressResponseBuffer','gzip','../utils/FetchUtils-1','arrayBuffer','Failed\x20to\x20download\x20Web\x20Manifest\x20','content-type','deflate','headers','32832XiIuLf','defineProperty','fetch','Failed\x20to\x20download\x20icon.\x20Responded\x20with\x20status\x20','13452480IJODKT','loadImageFromNet','1530254UTeAas','readFile','23990tYmNVQ','image/','from','../utils/CustomError','Problem\x20reading\x20','parse','./imageHelper','Received\x20icon\x20with\x20invalid\x20Content-Type.','10053uOsfNJ','6874pKQWnj','loadJsonFromNet','4Gfgqdd','status','fetchUtils','decode','read','content-encoding','CustomError','includes','loadJsonFromDisk'];_0x1952=function(){return _0x525ba3;};return _0x1952();}async function loadJsonFromDisk(_0x4520d6){const _0x469ff8=_0x191ec9,_0x5601c1=await loadFileString(_0x4520d6[_0x469ff8(0x20a)]());return JSON[_0x469ff8(0x1f6)](_0x5601c1);}async function loadImageFromNet(_0x51417c){const _0x375460=_0x191ec9,_0x2096a7=await FetchUtils_1_1['fetchUtils'][_0x375460(0x1eb)](_0x51417c,{'encoding':_0x375460(0x1d9)});if(_0x2096a7[_0x375460(0x1fd)]!==0xc8)throw new CustomError_1[(_0x375460(0x202))]({'code':0x7d2,'message':_0x375460(0x1ec)+_0x2096a7[_0x375460(0x1fd)],'message_staring_params':{'icon_url':_0x51417c,'status':_0x2096a7[_0x375460(0x1fd)]}});const _0x2cca73=_0x2096a7['headers'][_0x375460(0x1e0)]?_0x2096a7[_0x375460(0x1e8)][_0x375460(0x1e0)](_0x375460(0x1e6)):_0x2096a7[_0x375460(0x1e8)][_0x375460(0x1e6)];if(!(_0x2cca73===null||_0x2cca73===void 0x0?void 0x0:_0x2cca73[_0x375460(0x209)](_0x375460(0x1f2))))throw new CustomError_1[(_0x375460(0x202))]({'code':0x7d3,'message':_0x375460(0x1f8)+('\x20Responded\x20with\x20Content-Type\x20\x22'+_0x2cca73+'\x22'),'message_staring_params':{'icon_url':_0x51417c,'contentType':_0x2cca73}});let _0x1d0bb1;_0x2096a7[_0x375460(0x1e4)]?_0x1d0bb1=await _0x2096a7['arrayBuffer']():[_0x375460(0x1e2),_0x375460(0x1e7),'br'][_0x375460(0x203)](_0x2096a7[_0x375460(0x1e8)]['content-encoding'])?_0x1d0bb1=FetchUtils_1_1[_0x375460(0x1fe)][_0x375460(0x1e1)](Buffer[_0x375460(0x1f3)](_0x2096a7[_0x375460(0x206)],_0x375460(0x1d9)),_0x2096a7[_0x375460(0x1e8)]['content-encoding']):_0x1d0bb1=Buffer[_0x375460(0x1f3)](_0x2096a7[_0x375460(0x206)],'binary');if(_0x2cca73['startsWith']('image/svg')){const _0x2760e0=new TextDecoder();try{_0x1d0bb1=await imageHelper_1[_0x375460(0x207)][_0x375460(0x1dd)](_0x2760e0[_0x375460(0x1ff)](_0x1d0bb1));}catch(_0x30c35f){throw new CustomError_1[(_0x375460(0x202))]({'code':0x7d4,'message':_0x375460(0x1f5)+_0x51417c+':\x20'+_0x30c35f,'message_staring_params':{'icon_url':_0x51417c,'error':_0x30c35f}});}}return _0x2cca73[_0x375460(0x209)]('image/webp')&&(_0x1d0bb1=await imageHelper_1[_0x375460(0x207)]['webp2PngBuffer'](_0x1d0bb1)),await Jimp[_0x375460(0x200)](Buffer[_0x375460(0x1f3)](_0x1d0bb1));}async function loadImageFromDisk(_0x1dcaa2){const _0x830d47=_0x191ec9;return await Jimp[_0x830d47(0x200)](_0x1dcaa2);}async function loadFileString(_0x333ec5){const _0x5b58e1=_0x191ec9;let _0x2ad1ea=await fs['promises'][_0x5b58e1(0x1f0)](_0x333ec5[_0x5b58e1(0x20a)]());return _0x2ad1ea[_0x5b58e1(0x20a)]();}
@@ -1 +1 @@
1
- 'use strict';function _0x5033(){var _0x4c3953=['2882460Mfawgl','__esModule','744921hKDcTk','9FpqVcg','9686880BwcYsZ','3687592aPKYOr','stringify','6soWEIA','2ORraLb','330557kNCZHM','306480pUcIWM','CustomError','info','953771iQIJQr','customMessage','type'];_0x5033=function(){return _0x4c3953;};return _0x5033();}var _0x24bdc5=_0x2fc3;function _0x2fc3(_0x3eca6c,_0x1ad6a3){var _0x5033c7=_0x5033();return _0x2fc3=function(_0x2fc35f,_0x2773c1){_0x2fc35f=_0x2fc35f-0xa3;var _0x31eb17=_0x5033c7[_0x2fc35f];return _0x31eb17;},_0x2fc3(_0x3eca6c,_0x1ad6a3);}(function(_0x2d9454,_0x52cfb1){var _0x11c231=_0x2fc3,_0x22dd77=_0x2d9454();while(!![]){try{var _0x54c3af=parseInt(_0x11c231(0xa7))/0x1*(parseInt(_0x11c231(0xa6))/0x2)+parseInt(_0x11c231(0xb0))/0x3+-parseInt(_0x11c231(0xa8))/0x4+-parseInt(_0x11c231(0xae))/0x5+-parseInt(_0x11c231(0xa5))/0x6*(parseInt(_0x11c231(0xab))/0x7)+-parseInt(_0x11c231(0xa3))/0x8*(parseInt(_0x11c231(0xb1))/0x9)+parseInt(_0x11c231(0xb2))/0xa;if(_0x54c3af===_0x52cfb1)break;else _0x22dd77['push'](_0x22dd77['shift']());}catch(_0x311500){_0x22dd77['push'](_0x22dd77['shift']());}}}(_0x5033,0x48916));Object['defineProperty'](exports,_0x24bdc5(0xaf),{'value':!![]}),exports[_0x24bdc5(0xa9)]=void 0x0;class CustomError extends Error{constructor(_0x4b32b0,_0x628535){var _0x44349b=_0x24bdc5;super(JSON[_0x44349b(0xa4)](_0x4b32b0)),this[_0x44349b(0xac)]=_0x4b32b0,this[_0x44349b(0xad)]=_0x628535||_0x44349b(0xaa);}}exports[_0x24bdc5(0xa9)]=CustomError;
1
+ 'use strict';var _0x50cf17=_0x4aa4;(function(_0x329503,_0x55e917){var _0x4132f6=_0x4aa4,_0xcc7430=_0x329503();while(!![]){try{var _0x524664=-parseInt(_0x4132f6(0x7a))/0x1+parseInt(_0x4132f6(0x7f))/0x2+-parseInt(_0x4132f6(0x85))/0x3*(-parseInt(_0x4132f6(0x87))/0x4)+parseInt(_0x4132f6(0x7c))/0x5+-parseInt(_0x4132f6(0x7e))/0x6*(-parseInt(_0x4132f6(0x7b))/0x7)+-parseInt(_0x4132f6(0x83))/0x8*(parseInt(_0x4132f6(0x80))/0x9)+parseInt(_0x4132f6(0x88))/0xa*(-parseInt(_0x4132f6(0x7d))/0xb);if(_0x524664===_0x55e917)break;else _0xcc7430['push'](_0xcc7430['shift']());}catch(_0x2db785){_0xcc7430['push'](_0xcc7430['shift']());}}}(_0x36c6,0xa1616));Object[_0x50cf17(0x82)](exports,_0x50cf17(0x89),{'value':!![]}),exports[_0x50cf17(0x86)]=void 0x0;function _0x4aa4(_0x5d7751,_0x90a2c8){var _0x36c6ac=_0x36c6();return _0x4aa4=function(_0x4aa455,_0x22ec4e){_0x4aa455=_0x4aa455-0x7a;var _0x2a573e=_0x36c6ac[_0x4aa455];return _0x2a573e;},_0x4aa4(_0x5d7751,_0x90a2c8);}class CustomError extends Error{constructor(_0x8b9d8e,_0x200dd9){var _0x4f3a64=_0x50cf17;super(JSON['stringify'](_0x8b9d8e)),this[_0x4f3a64(0x81)]=_0x8b9d8e,this['type']=_0x200dd9||_0x4f3a64(0x84);}}exports[_0x50cf17(0x86)]=CustomError;function _0x36c6(){var _0x269a1b=['2625791dxCeFi','6139990BbwazD','34166fGjFVH','18AHLzed','1722460NyQEzh','9hsNNQd','customMessage','defineProperty','4518384sCQQwE','info','390yuBxWd','CustomError','24604QCFjMA','8270YOvJJf','__esModule','219723OfITWS'];_0x36c6=function(){return _0x269a1b;};return _0x36c6();}
@@ -1 +1 @@
1
- 'use strict';const _0x184eca=_0x111a;function _0x21bd(){const _0x4203b1=['10178ayyjoH','552879xHRBFW','25678323LqvMYT','decompressResponseBuffer','setDecompressResponseBuffer','344HiGJmm','47855PqkADN','1310538JjLhsO','fetch','3784600vcaxEE','downloadFile','fetchEngine','12vvpRCG','435378sjskLG','49mNIIZM','8BnNexr','setDownloadFile','fetchUtils','setFetchEngine','137npYzIK','__esModule'];_0x21bd=function(){return _0x4203b1;};return _0x21bd();}(function(_0x18e6b0,_0x48b887){const _0x55914a=_0x111a,_0xeef4e6=_0x18e6b0();while(!![]){try{const _0x540c14=parseInt(_0x55914a(0x1ea))/0x1*(parseInt(_0x55914a(0x1ec))/0x2)+parseInt(_0x55914a(0x1de))/0x3+parseInt(_0x55914a(0x1f1))/0x4*(parseInt(_0x55914a(0x1dd))/0x5)+-parseInt(_0x55914a(0x1e4))/0x6*(-parseInt(_0x55914a(0x1e5))/0x7)+parseInt(_0x55914a(0x1e6))/0x8*(-parseInt(_0x55914a(0x1ed))/0x9)+parseInt(_0x55914a(0x1e0))/0xa+parseInt(_0x55914a(0x1ee))/0xb*(-parseInt(_0x55914a(0x1e3))/0xc);if(_0x540c14===_0x48b887)break;else _0xeef4e6['push'](_0xeef4e6['shift']());}catch(_0x537113){_0xeef4e6['push'](_0xeef4e6['shift']());}}}(_0x21bd,0x6d4ea));Object['defineProperty'](exports,_0x184eca(0x1eb),{'value':!![]}),exports[_0x184eca(0x1e8)]=void 0x0;class FetchUtils{constructor(){const _0x13ef2c=_0x184eca;this[_0x13ef2c(0x1e2)]=null,this[_0x13ef2c(0x1df)]=null,this['downloadFile']=null,this[_0x13ef2c(0x1ef)]=null;}[_0x184eca(0x1e9)](_0x1b6c7a){const _0x377484=_0x184eca;this[_0x377484(0x1e2)]=_0x1b6c7a;}['setFetch'](_0x98bf5e){const _0x5f0853=_0x184eca;this[_0x5f0853(0x1df)]=_0x98bf5e;}[_0x184eca(0x1e7)](_0x1132d1){const _0x9cfe21=_0x184eca;this[_0x9cfe21(0x1e1)]=_0x1132d1;}[_0x184eca(0x1f0)](_0x1e3890){const _0x5dc75e=_0x184eca;this[_0x5dc75e(0x1ef)]=_0x1e3890;}}const fetchUtils=new FetchUtils();function _0x111a(_0x315501,_0x57c66a){const _0x21bd35=_0x21bd();return _0x111a=function(_0x111aa0,_0x1a562f){_0x111aa0=_0x111aa0-0x1dd;let _0x5b08ae=_0x21bd35[_0x111aa0];return _0x5b08ae;},_0x111a(_0x315501,_0x57c66a);}exports[_0x184eca(0x1e8)]=fetchUtils;
1
+ 'use strict';const _0x5da192=_0x3512;(function(_0x2ae354,_0x1dbe86){const _0x43d266=_0x3512,_0x594ffb=_0x2ae354();while(!![]){try{const _0x144089=parseInt(_0x43d266(0x18e))/0x1+-parseInt(_0x43d266(0x18b))/0x2*(parseInt(_0x43d266(0x18c))/0x3)+-parseInt(_0x43d266(0x185))/0x4*(parseInt(_0x43d266(0x191))/0x5)+parseInt(_0x43d266(0x195))/0x6*(-parseInt(_0x43d266(0x186))/0x7)+-parseInt(_0x43d266(0x192))/0x8+-parseInt(_0x43d266(0x190))/0x9*(parseInt(_0x43d266(0x189))/0xa)+parseInt(_0x43d266(0x184))/0xb*(parseInt(_0x43d266(0x18f))/0xc);if(_0x144089===_0x1dbe86)break;else _0x594ffb['push'](_0x594ffb['shift']());}catch(_0x1bcb23){_0x594ffb['push'](_0x594ffb['shift']());}}}(_0x2332,0x3d645));function _0x3512(_0x3ce666,_0x25c39b){const _0x233203=_0x2332();return _0x3512=function(_0x3512de,_0x3c6e75){_0x3512de=_0x3512de-0x182;let _0x29056c=_0x233203[_0x3512de];return _0x29056c;},_0x3512(_0x3ce666,_0x25c39b);}function _0x2332(){const _0x4d810d=['downloadFile','setFetch','40HsqkJH','setFetchEngine','32szPqBW','26553MjkuqJ','__esModule','460987rofwhX','144LCBLGM','634869HzgThI','15bEgEYJ','2678968WRCrbo','fetchUtils','defineProperty','180060mBACtZ','fetch','fetchEngine','decompressResponseBuffer','663091KKauND','192316nWCWvv','7QqFCaP'];_0x2332=function(){return _0x4d810d;};return _0x2332();}Object[_0x5da192(0x194)](exports,_0x5da192(0x18d),{'value':!![]}),exports[_0x5da192(0x193)]=void 0x0;class FetchUtils{constructor(){const _0x7b38e8=_0x5da192;this[_0x7b38e8(0x182)]=null,this[_0x7b38e8(0x196)]=null,this[_0x7b38e8(0x187)]=null,this[_0x7b38e8(0x183)]=null;}[_0x5da192(0x18a)](_0x540387){this['fetchEngine']=_0x540387;}[_0x5da192(0x188)](_0x16687c){const _0x1b5d7b=_0x5da192;this[_0x1b5d7b(0x196)]=_0x16687c;}['setDownloadFile'](_0x4b62fd){const _0x316e28=_0x5da192;this[_0x316e28(0x187)]=_0x4b62fd;}['setDecompressResponseBuffer'](_0x4c1f23){this['decompressResponseBuffer']=_0x4c1f23;}}const fetchUtils=new FetchUtils();exports['fetchUtils']=fetchUtils;
@@ -1 +1 @@
1
- 'use strict';function _0x10eb(_0x2cca44,_0x4d9317){var _0x12acfa=_0x12ac();return _0x10eb=function(_0x10eb82,_0x397741){_0x10eb82=_0x10eb82-0x134;var _0x4cafdf=_0x12acfa[_0x10eb82];return _0x4cafdf;},_0x10eb(_0x2cca44,_0x4d9317);}function _0x12ac(){var _0x2e1b11=['278BHAhUQ','1338210SRaaug','prefix','2714607XYBEZT','log','WARNING\x20','red','486mlOPUT','setVerbose','128GyfWyB','tag','406904EBEkNk','2655vRuFdT','output','556031mXJNEN','verbose','yellow','\x1b[0m','9rRdSCw','\x1b[33m','inverse','__esModule','dim','error','warn','28352984ZIcIKB','\x1b[31m','ERROR\x20','\x1b[36m','defineProperty','debug','info','9590wWelve'];_0x12ac=function(){return _0x2e1b11;};return _0x12ac();}var _0x5398fb=_0x10eb;(function(_0x4e2ff4,_0x15645b){var _0x17718f=_0x10eb,_0x546aef=_0x4e2ff4();while(!![]){try{var _0x8a80d0=-parseInt(_0x17718f(0x13f))/0x1*(parseInt(_0x17718f(0x140))/0x2)+-parseInt(_0x17718f(0x152))/0x3*(-parseInt(_0x17718f(0x14b))/0x4)+-parseInt(_0x17718f(0x14c))/0x5*(parseInt(_0x17718f(0x147))/0x6)+parseInt(_0x17718f(0x14e))/0x7*(-parseInt(_0x17718f(0x149))/0x8)+parseInt(_0x17718f(0x143))/0x9+parseInt(_0x17718f(0x141))/0xa+parseInt(_0x17718f(0x138))/0xb;if(_0x8a80d0===_0x15645b)break;else _0x546aef['push'](_0x546aef['shift']());}catch(_0x1f2e11){_0x546aef['push'](_0x546aef['shift']());}}}(_0x12ac,0xa3df1));Object[_0x5398fb(0x13c)](exports,_0x5398fb(0x134),{'value':!![]}),exports['ConsoleLog']=void 0x0;class ConsoleLog{constructor(_0x465e46='',_0x3786f4=![],_0x51bd52=console){var _0x2ae09e=_0x5398fb;this['tag']=_0x465e46,this[_0x2ae09e(0x14f)]=_0x3786f4,this[_0x2ae09e(0x142)]=this[_0x2ae09e(0x154)](_0x465e46),this[_0x2ae09e(0x14d)]=_0x51bd52;}[_0x5398fb(0x13d)](_0x5ea115,..._0x39cbf9){var _0x3d83cb=_0x5398fb;if(!this['verbose'])return;this['log'](this['output']['log'],this[_0x3d83cb(0x135)](_0x5ea115),..._0x39cbf9);}[_0x5398fb(0x13e)](_0x93e80b,..._0x2e8092){var _0x545732=_0x5398fb;this[_0x545732(0x144)](this[_0x545732(0x14d)][_0x545732(0x144)],_0x93e80b,..._0x2e8092);}['warn'](_0x16af30,..._0x468059){var _0x13724e=_0x5398fb;this['log'](this[_0x13724e(0x14d)][_0x13724e(0x137)],this[_0x13724e(0x150)](_0x13724e(0x145)+_0x16af30),..._0x468059);}[_0x5398fb(0x136)](_0x144afe,..._0x101b87){var _0x2dbb24=_0x5398fb;this[_0x2dbb24(0x14d)]['error']('\x0a'),this[_0x2dbb24(0x144)](this[_0x2dbb24(0x14d)][_0x2dbb24(0x136)],this[_0x2dbb24(0x146)](_0x2dbb24(0x13a)+_0x144afe),..._0x101b87),this['output'][_0x2dbb24(0x136)]('\x0a');}[_0x5398fb(0x148)](_0x2a02b1){this['verbose']=_0x2a02b1;}['newLog'](_0x41bb50){var _0x4d4284=_0x5398fb;return this['tag']&&(_0x41bb50=this[_0x4d4284(0x14a)]+'\x20'+_0x41bb50),new ConsoleLog(_0x41bb50,this[_0x4d4284(0x14f)],this[_0x4d4284(0x14d)]);}[_0x5398fb(0x144)](_0x3db565,_0x4fdd6,..._0x49df62){var _0x48696e=_0x5398fb;this[_0x48696e(0x142)]&&(_0x4fdd6=this[_0x48696e(0x142)]+'\x20'+_0x4fdd6),_0x49df62?_0x3db565(...[_0x4fdd6]['concat'](_0x49df62)):_0x3db565(_0x4fdd6);}[_0x5398fb(0x154)](_0x5c0fc2){var _0x4c9aaa=_0x5398fb;return'\x1b[7m'+_0x5c0fc2+_0x4c9aaa(0x151);}[_0x5398fb(0x135)](_0x234ae3){var _0x35b553=_0x5398fb;return _0x35b553(0x13b)+_0x234ae3+_0x35b553(0x151);}['yellow'](_0x5786d2){var _0x10ec9e=_0x5398fb;return _0x10ec9e(0x153)+_0x5786d2+'\x1b[0m';}['red'](_0x90d50b){var _0xc3937=_0x5398fb;return _0xc3937(0x139)+_0x90d50b+_0xc3937(0x151);}}exports['ConsoleLog']=ConsoleLog;
1
+ 'use strict';var _0x978a62=_0x4df4;(function(_0x1d1d9d,_0x1e619a){var _0x4b18d1=_0x4df4,_0x1ebb1c=_0x1d1d9d();while(!![]){try{var _0xd90c15=parseInt(_0x4b18d1(0xee))/0x1*(-parseInt(_0x4b18d1(0x101))/0x2)+-parseInt(_0x4b18d1(0xeb))/0x3+-parseInt(_0x4b18d1(0xec))/0x4+parseInt(_0x4b18d1(0xe0))/0x5*(-parseInt(_0x4b18d1(0xff))/0x6)+parseInt(_0x4b18d1(0xed))/0x7*(parseInt(_0x4b18d1(0xe9))/0x8)+parseInt(_0x4b18d1(0xe6))/0x9+parseInt(_0x4b18d1(0x100))/0xa*(parseInt(_0x4b18d1(0xf5))/0xb);if(_0xd90c15===_0x1e619a)break;else _0x1ebb1c['push'](_0x1ebb1c['shift']());}catch(_0x3ceb1e){_0x1ebb1c['push'](_0x1ebb1c['shift']());}}}(_0x5712,0xcc45e));function _0x4df4(_0x41a45a,_0x40de17){var _0x5712a0=_0x5712();return _0x4df4=function(_0x4df45b,_0x1be16c){_0x4df45b=_0x4df45b-0xde;var _0x499c25=_0x5712a0[_0x4df45b];return _0x499c25;},_0x4df4(_0x41a45a,_0x40de17);}function _0x5712(){var _0x263705=['yellow','debug','dim','defineProperty','\x1b[31m','470745MQjclf','log','__esModule','tag','output','prefix','\x1b[7m','newLog','\x1b[33m','WARNING\x20','48504qOqJPW','670SxxAcO','652uYZsMH','info','ERROR\x20','365TQJEyS','inverse','warn','\x1b[36m','ConsoleLog','verbose','12297951oAqrFk','error','concat','8TVvvxL','red','4046544PsJwcs','6613364nueMLO','4783387oQhtQp','1497pnTkLf','\x1b[0m'];_0x5712=function(){return _0x263705;};return _0x5712();}Object[_0x978a62(0xf3)](exports,_0x978a62(0xf7),{'value':!![]}),exports[_0x978a62(0xe4)]=void 0x0;class ConsoleLog{constructor(_0x2b3e2c='',_0x4b10a2=![],_0x3635c7=console){var _0x50fea2=_0x978a62;this['tag']=_0x2b3e2c,this[_0x50fea2(0xe5)]=_0x4b10a2,this[_0x50fea2(0xfa)]=this['inverse'](_0x2b3e2c),this['output']=_0x3635c7;}[_0x978a62(0xf1)](_0x5824b8,..._0x5973bd){var _0x2f3e6e=_0x978a62;if(!this[_0x2f3e6e(0xe5)])return;this[_0x2f3e6e(0xf6)](this['output'][_0x2f3e6e(0xf6)],this[_0x2f3e6e(0xf2)](_0x5824b8),..._0x5973bd);}[_0x978a62(0xde)](_0x1c1a4e,..._0x473ab5){var _0x1a91da=_0x978a62;this[_0x1a91da(0xf6)](this[_0x1a91da(0xf9)][_0x1a91da(0xf6)],_0x1c1a4e,..._0x473ab5);}[_0x978a62(0xe2)](_0x47b00b,..._0x3f9b0d){var _0x58a584=_0x978a62;this[_0x58a584(0xf6)](this[_0x58a584(0xf9)]['warn'],this[_0x58a584(0xf0)](_0x58a584(0xfe)+_0x47b00b),..._0x3f9b0d);}[_0x978a62(0xe7)](_0x2e7211,..._0x4c6873){var _0x46c1bd=_0x978a62;this[_0x46c1bd(0xf9)]['error']('\x0a'),this[_0x46c1bd(0xf6)](this[_0x46c1bd(0xf9)][_0x46c1bd(0xe7)],this[_0x46c1bd(0xea)](_0x46c1bd(0xdf)+_0x2e7211),..._0x4c6873),this['output'][_0x46c1bd(0xe7)]('\x0a');}['setVerbose'](_0x56f106){var _0x34a50f=_0x978a62;this[_0x34a50f(0xe5)]=_0x56f106;}[_0x978a62(0xfc)](_0xb287f7){var _0x11878a=_0x978a62;return this[_0x11878a(0xf8)]&&(_0xb287f7=this['tag']+'\x20'+_0xb287f7),new ConsoleLog(_0xb287f7,this[_0x11878a(0xe5)],this[_0x11878a(0xf9)]);}[_0x978a62(0xf6)](_0x4bf3ed,_0x2472c7,..._0x3584c1){var _0x16449f=_0x978a62;this[_0x16449f(0xfa)]&&(_0x2472c7=this['prefix']+'\x20'+_0x2472c7),_0x3584c1?_0x4bf3ed(...[_0x2472c7][_0x16449f(0xe8)](_0x3584c1)):_0x4bf3ed(_0x2472c7);}[_0x978a62(0xe1)](_0x66ad62){var _0x12de97=_0x978a62;return _0x12de97(0xfb)+_0x66ad62+_0x12de97(0xef);}[_0x978a62(0xf2)](_0x3ca298){var _0x1eccf6=_0x978a62;return _0x1eccf6(0xe3)+_0x3ca298+_0x1eccf6(0xef);}[_0x978a62(0xf0)](_0x49ca58){var _0x4327b0=_0x978a62;return _0x4327b0(0xfd)+_0x49ca58+_0x4327b0(0xef);}['red'](_0x31848b){var _0x462cca=_0x978a62;return _0x462cca(0xf4)+_0x31848b+_0x462cca(0xef);}}exports[_0x978a62(0xe4)]=ConsoleLog;
@@ -1 +1 @@
1
- 'use strict';const _0x2713b3=_0x48a1;(function(_0x416300,_0x5227aa){const _0xb65c0=_0x48a1,_0x10904a=_0x416300();while(!![]){try{const _0x45f2a3=parseInt(_0xb65c0(0x1e3))/0x1*(-parseInt(_0xb65c0(0x1ea))/0x2)+parseInt(_0xb65c0(0x1f0))/0x3+parseInt(_0xb65c0(0x1e2))/0x4*(parseInt(_0xb65c0(0x1f8))/0x5)+-parseInt(_0xb65c0(0x1e1))/0x6*(parseInt(_0xb65c0(0x1dc))/0x7)+parseInt(_0xb65c0(0x1e7))/0x8+-parseInt(_0xb65c0(0x1f2))/0x9+parseInt(_0xb65c0(0x1e5))/0xa*(-parseInt(_0xb65c0(0x1ee))/0xb);if(_0x45f2a3===_0x5227aa)break;else _0x10904a['push'](_0x10904a['shift']());}catch(_0xd10c91){_0x10904a['push'](_0x10904a['shift']());}}}(_0x2b2b,0xb209a));Object[_0x2713b3(0x1f6)](exports,_0x2713b3(0x1e0),{'value':!![]}),exports['fetch']=fetch,exports[_0x2713b3(0x1f3)]=downloadFile,exports['decompressResponseBuffer']=decompressResponseBuffer;const fetch_h2_1=require(_0x2713b3(0x1f4)),fs=require('fs'),zlib=require(_0x2713b3(0x1f9)),userAgent=_0x2713b3(0x1ed),fetchh2Ctx=(0x0,fetch_h2_1[_0x2713b3(0x1f1)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x2713b3(0x1f7)];async function fetch(_0x1a1aba,_0x5158c3){const _0x2ea8ae=_0x2713b3;return await fetchh2(_0x1a1aba,_0x5158c3?{'redirect':_0x2ea8ae(0x1de),..._0x5158c3}:{'redirect':_0x2ea8ae(0x1de)});}async function downloadFile(_0x953ef6,_0xcdf71e,_0x1b263f){const _0x5a62a2=_0x2713b3;let _0x322766,_0x4049c4;_0x322766=await fetchh2(_0x953ef6,{'redirect':'follow'}),_0x4049c4=await _0x322766[_0x5a62a2(0x1fa)]();const _0x1ac7be=_0x322766[_0x5a62a2(0x1df)][_0x5a62a2(0x1e6)]('Content-Length'),_0x4ce8b2=_0x1ac7be?parseInt(_0x1ac7be):-0x1,_0x628822=fs['createWriteStream'](_0xcdf71e);let _0x49255a=0x0;await new Promise((_0x59fda5,_0x35671a)=>{const _0x1c1342=_0x5a62a2;_0x4049c4[_0x1c1342(0x1e4)](_0x628822),_0x1b263f&&_0x4049c4['on'](_0x1c1342(0x1e8),_0x11589f=>{const _0x55dd45=_0x1c1342;_0x49255a=_0x49255a+_0x11589f[_0x55dd45(0x1ec)],_0x1b263f(_0x49255a,_0x4ce8b2);}),_0x4049c4['on']('error',_0x49c110=>{_0x35671a(_0x49c110);}),_0x628822['on'](_0x1c1342(0x1eb),()=>{_0x59fda5();});});}function _0x48a1(_0x244048,_0x435d40){const _0x2b2b68=_0x2b2b();return _0x48a1=function(_0x48a1ae,_0xec314c){_0x48a1ae=_0x48a1ae-0x1dc;let _0x52c8c8=_0x2b2b68[_0x48a1ae];return _0x52c8c8;},_0x48a1(_0x244048,_0x435d40);}function decompressResponseBuffer(_0x9f3c9b,_0x559d7a){const _0x4d753a=_0x2713b3;let _0xbf6ea3=_0x9f3c9b;if(/\bgzip\b/[_0x4d753a(0x1dd)](_0x559d7a)||/\bdeflate\b/[_0x4d753a(0x1dd)](_0x559d7a))_0xbf6ea3=zlib[_0x4d753a(0x1f5)](_0x9f3c9b,{'flush':zlib['constants'][_0x4d753a(0x1e9)],'finishFlush':zlib[_0x4d753a(0x1ef)][_0x4d753a(0x1e9)]});else/\bbr\b/['test'](_0x559d7a)&&(_0xbf6ea3=zlib[_0x4d753a(0x1fb)](_0x9f3c9b));return _0xbf6ea3;}function _0x2b2b(){const _0x55eea7=['follow','headers','__esModule','1754934ifrgxf','1132828zXTQVR','5lMiqvf','pipe','1228410vjNwaW','get','11180736FlOHAv','data','Z_SYNC_FLUSH','187366GTYfJg','finish','length','Mozilla/5.0\x20(X11;\x20Linux\x20x86_64;\x20PICO\x204\x20OS5.5.0\x20like\x20Quest)\x20AppleWebKit/537.36\x20(KHTML,\x20like\x20Gecko)\x20PicoBrowser/3.3.24\x20Chrome/105.0.5195.68\x20VR\x20Safari/537.36\x20\x20OculusBrowser/7.0','99MqkvGC','constants','3997929esYFAr','context','8690193lpSUcu','downloadFile','fetch-h2','unzipSync','defineProperty','fetch','25ESvLHe','zlib','readable','brotliDecompressSync','21XkUKua','test'];_0x2b2b=function(){return _0x55eea7;};return _0x2b2b();}
1
+ 'use strict';const _0x2433af=_0x50de;(function(_0x1e17b4,_0x203aae){const _0x34fa21=_0x50de,_0x5b76e0=_0x1e17b4();while(!![]){try{const _0x7dbf8f=-parseInt(_0x34fa21(0x152))/0x1+-parseInt(_0x34fa21(0x155))/0x2*(parseInt(_0x34fa21(0x158))/0x3)+-parseInt(_0x34fa21(0x14b))/0x4+-parseInt(_0x34fa21(0x146))/0x5+parseInt(_0x34fa21(0x150))/0x6*(parseInt(_0x34fa21(0x159))/0x7)+-parseInt(_0x34fa21(0x140))/0x8+parseInt(_0x34fa21(0x14d))/0x9*(parseInt(_0x34fa21(0x13f))/0xa);if(_0x7dbf8f===_0x203aae)break;else _0x5b76e0['push'](_0x5b76e0['shift']());}catch(_0x2162ea){_0x5b76e0['push'](_0x5b76e0['shift']());}}}(_0x5252,0x34391));Object[_0x2433af(0x143)](exports,'__esModule',{'value':!![]}),exports[_0x2433af(0x151)]=fetch,exports[_0x2433af(0x144)]=downloadFile,exports[_0x2433af(0x145)]=decompressResponseBuffer;const fetch_h2_1=require(_0x2433af(0x15a)),fs=require('fs'),zlib=require('zlib'),userAgent=_0x2433af(0x148),fetchh2Ctx=(0x0,fetch_h2_1[_0x2433af(0x142)])({'userAgent':userAgent,'overwriteUserAgent':!![]}),fetchh2=fetchh2Ctx[_0x2433af(0x151)];function _0x50de(_0x5991b1,_0x250430){const _0x525219=_0x5252();return _0x50de=function(_0x50de23,_0x14bc3b){_0x50de23=_0x50de23-0x13f;let _0x5e9f64=_0x525219[_0x50de23];return _0x5e9f64;},_0x50de(_0x5991b1,_0x250430);}async function fetch(_0x52ed79,_0x3f353e){const _0x272018=_0x2433af;return await fetchh2(_0x52ed79,_0x3f353e?{'redirect':'follow',..._0x3f353e}:{'redirect':_0x272018(0x15b)});}async function downloadFile(_0x3faa6a,_0x49554b,_0x53b4fd){const _0x3e84f7=_0x2433af;let _0x4e72e4,_0x27d415;_0x4e72e4=await fetchh2(_0x3faa6a,{'redirect':_0x3e84f7(0x15b)}),_0x27d415=await _0x4e72e4[_0x3e84f7(0x14a)]();const _0x40308d=_0x4e72e4[_0x3e84f7(0x14e)]['get'](_0x3e84f7(0x14c)),_0x25403b=_0x40308d?parseInt(_0x40308d):-0x1,_0x397af4=fs['createWriteStream'](_0x49554b);let _0x40197c=0x0;await new Promise((_0x10fab9,_0x4a5688)=>{const _0x495112=_0x3e84f7;_0x27d415[_0x495112(0x157)](_0x397af4),_0x53b4fd&&_0x27d415['on'](_0x495112(0x141),_0x5b329f=>{const _0x4a7da9=_0x495112;_0x40197c=_0x40197c+_0x5b329f[_0x4a7da9(0x154)],_0x53b4fd(_0x40197c,_0x25403b);}),_0x27d415['on']('error',_0x24bcb9=>{_0x4a5688(_0x24bcb9);}),_0x397af4['on'](_0x495112(0x156),()=>{_0x10fab9();});});}function decompressResponseBuffer(_0x386166,_0x482be1){const _0x24a998=_0x2433af;let _0x42efca=_0x386166;if(/\bgzip\b/[_0x24a998(0x14f)](_0x482be1)||/\bdeflate\b/[_0x24a998(0x14f)](_0x482be1))_0x42efca=zlib[_0x24a998(0x149)](_0x386166,{'flush':zlib[_0x24a998(0x153)][_0x24a998(0x15c)],'finishFlush':zlib[_0x24a998(0x153)][_0x24a998(0x15c)]});else/\bbr\b/[_0x24a998(0x14f)](_0x482be1)&&(_0x42efca=zlib[_0x24a998(0x147)](_0x386166));return _0x42efca;}function _0x5252(){const _0x402169=['downloadFile','decompressResponseBuffer','43795HxyISL','brotliDecompressSync','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','unzipSync','readable','1091220zVWUEg','Content-Length','45iVcYDR','headers','test','30966JErHPd','fetch','394796WHyOtF','constants','length','82zwDkoQ','finish','pipe','765AeuAfi','420AgiNhD','fetch-h2','follow','Z_SYNC_FLUSH','1500410yFINSB','1273160UqzHOP','data','context','defineProperty'];_0x5252=function(){return _0x402169;};return _0x5252();}