@webspatial/builder 0.0.10 → 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 (91) 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.js +1 -1
  25. package/dist/lib/xcode/xcodebuild.js +1 -1
  26. package/dist/lib/xcode/xcodeproject.js +1 -1
  27. package/dist/lib/xcode/xcrun.js +1 -1
  28. package/package.json +3 -2
  29. package/template/visionOSApp/Packages/RealityKitContent/.build/workspace-state.json +0 -7
  30. package/template/visionOSApp/Packages/RealityKitContent/.swiftpm/xcode/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
  31. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/ProjectData/main.json +0 -11
  32. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/SceneMetadataList.json +0 -112
  33. package/template/visionOSApp/Packages/RealityKitContent/Package.realitycomposerpro/WorkspaceData/Settings.rcprojectdata +0 -17
  34. package/template/visionOSApp/Packages/RealityKitContent/Package.swift +0 -27
  35. package/template/visionOSApp/Packages/RealityKitContent/README.md +0 -3
  36. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda +0 -50
  37. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Materials/GridMaterial.usda +0 -216
  38. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda +0 -59
  39. package/template/visionOSApp/Packages/RealityKitContent/Sources/RealityKitContent/RealityKitContent.swift +0 -4
  40. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  41. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Back.solidimagestacklayer/Contents.json +0 -6
  42. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Contents.json +0 -17
  43. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  44. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Front.solidimagestacklayer/Contents.json +0 -6
  45. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Content.imageset/Contents.json +0 -12
  46. package/template/visionOSApp/web-spatial/Assets.xcassets/AppIcon.solidimagestack/Middle.solidimagestacklayer/Contents.json +0 -6
  47. package/template/visionOSApp/web-spatial/Assets.xcassets/Contents.json +0 -6
  48. package/template/visionOSApp/web-spatial/Info.plist +0 -33
  49. package/template/visionOSApp/web-spatial/Preview Content/Preview Assets.xcassets/Contents.json +0 -6
  50. package/template/visionOSApp/web-spatial/libs/EventEmitter.swift +0 -32
  51. package/template/visionOSApp/web-spatial/libs/SpatialComponent.swift +0 -31
  52. package/template/visionOSApp/web-spatial/libs/SpatialEntity.swift +0 -179
  53. package/template/visionOSApp/web-spatial/libs/SpatialInputComponent.swift +0 -26
  54. package/template/visionOSApp/web-spatial/libs/SpatialMeshResource.swift +0 -19
  55. package/template/visionOSApp/web-spatial/libs/SpatialModel3DComponent.swift +0 -51
  56. package/template/visionOSApp/web-spatial/libs/SpatialModelComponent.swift +0 -32
  57. package/template/visionOSApp/web-spatial/libs/SpatialObject.swift +0 -144
  58. package/template/visionOSApp/web-spatial/libs/SpatialPhysicallyBasedMaterial.swift +0 -19
  59. package/template/visionOSApp/web-spatial/libs/SpatialViewComponent.swift +0 -15
  60. package/template/visionOSApp/web-spatial/libs/SpatialWindowComponent.swift +0 -420
  61. package/template/visionOSApp/web-spatial/libs/SpatialWindowContainer.swift +0 -149
  62. package/template/visionOSApp/web-spatial/libs/Utils/CommandManager.swift +0 -800
  63. package/template/visionOSApp/web-spatial/libs/Utils/Logger.swift +0 -36
  64. package/template/visionOSApp/web-spatial/libs/Utils/SceneManager.swift +0 -108
  65. package/template/visionOSApp/web-spatial/libs/Utils/WindowContainerMgr.swift +0 -117
  66. package/template/visionOSApp/web-spatial/libs/json/JsonParser.swift +0 -52
  67. package/template/visionOSApp/web-spatial/libs/uiKitDelegate/Window.swift +0 -34
  68. package/template/visionOSApp/web-spatial/libs/webView/UpdateSystem.swift +0 -33
  69. package/template/visionOSApp/web-spatial/libs/webView/backend/NativeWebView.swift +0 -319
  70. package/template/visionOSApp/web-spatial/libs/webView/manifest.swift +0 -92
  71. package/template/visionOSApp/web-spatial/static-web/index.html +0 -9
  72. package/template/visionOSApp/web-spatial/views/HideViewModifier.swift +0 -17
  73. package/template/visionOSApp/web-spatial/views/ImmersiveView.swift +0 -24
  74. package/template/visionOSApp/web-spatial/views/LoadingView.swift +0 -29
  75. package/template/visionOSApp/web-spatial/views/MaterialWithBorderCornerModifier.swift +0 -82
  76. package/template/visionOSApp/web-spatial/views/OpenDismissHandlerUI.swift +0 -52
  77. package/template/visionOSApp/web-spatial/views/PlainWindowContainerView.swift +0 -84
  78. package/template/visionOSApp/web-spatial/views/SpatialModel3DView.swift +0 -193
  79. package/template/visionOSApp/web-spatial/views/SpatialViewUI.swift +0 -168
  80. package/template/visionOSApp/web-spatial/views/SpatialWebViewUI.swift +0 -186
  81. package/template/visionOSApp/web-spatial/views/VolumetricWindowContainerView.swift +0 -38
  82. package/template/visionOSApp/web-spatial/views/ui/NavView.swift +0 -125
  83. package/template/visionOSApp/web-spatial/web_spatialApp.swift +0 -158
  84. package/template/visionOSApp/web-spatial.xcodeproj/project.pbxproj +0 -686
  85. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -7
  86. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
  87. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +0 -5
  88. package/template/visionOSApp/web-spatial.xcodeproj/project.xcworkspace/xcuserdata/bytedance.xcuserdatad/WorkspaceSettings.xcsettings +0 -14
  89. package/template/visionOSApp/web-spatial.xcodeproj/xcshareddata/xcschemes/web-spatial.xcscheme +0 -115
  90. package/template/visionOSApp/web-spatial.xcodeproj/xcuserdata/bytedance.xcuserdatad/xcschemes/xcschememanagement.plist +0 -27
  91. package/template/visionOSApp/web-spatialTests/web_spatialTests.swift +0 -34
@@ -1 +1 @@
1
- 'use strict';const _0x4e08e8=_0x1df4;(function(_0x42760f,_0x32089f){const _0x49887c=_0x1df4,_0x1c85a9=_0x42760f();while(!![]){try{const _0x3e3c7d=-parseInt(_0x49887c(0x1af))/0x1*(parseInt(_0x49887c(0x1a0))/0x2)+parseInt(_0x49887c(0x1ab))/0x3+-parseInt(_0x49887c(0x195))/0x4*(-parseInt(_0x49887c(0x1b4))/0x5)+-parseInt(_0x49887c(0x1a4))/0x6+parseInt(_0x49887c(0x1c5))/0x7+parseInt(_0x49887c(0x1b6))/0x8*(-parseInt(_0x49887c(0x1a6))/0x9)+parseInt(_0x49887c(0x1bd))/0xa;if(_0x3e3c7d===_0x32089f)break;else _0x1c85a9['push'](_0x1c85a9['shift']());}catch(_0x4333bb){_0x1c85a9['push'](_0x1c85a9['shift']());}}}(_0xd365,0xc3c28));Object[_0x4e08e8(0x1a9)](exports,'__esModule',{'value':!![]}),exports[_0x4e08e8(0x19a)]=void 0x0;const colors_1=require(_0x4e08e8(0x1b5));exports[_0x4e08e8(0x19a)]={'promptInstallJdk':_0x4e08e8(0x1b8),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':'Downloading\x20JDK\x2011\x20to\x20','messageDownloadJdkSrc':'Downloading\x20the\x20JDK\x2011\x20Sources...','messageDecompressJdkSrc':'Decompressing\x20the\x20JDK\x2011\x20Sources...','messageDownloadJdkBin':_0x4e08e8(0x198),'messageDecompressJdkBin':'Decompressing\x20the\x20JDK\x2011\x20Binaries...','promptInstallSdk':_0x4e08e8(0x1b2),'promptSdkPath':_0x4e08e8(0x1bc),'messageDownloadSdk':_0x4e08e8(0x1bf),'errorSdkTerms':_0x4e08e8(0x1c0),'promptSdkTerms':'Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20'+(0x0,colors_1[_0x4e08e8(0x1cc)])(_0x4e08e8(0x197))+'?','messageDownloadAndroidSdk':_0x4e08e8(0x192),'messageDecompressAndroidSdk':_0x4e08e8(0x199),'messageInstallingBuildTools':'Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20'+_0x4e08e8(0x1c4),'messageGeneratingAndroidProject':_0x4e08e8(0x1c3),'messageCheckSuccess':(_0x1f0bf3,_0x3fa3dc)=>{const _0x534d5d=_0x4e08e8;return'\x20URL\x20'+(0x0,colors_1['cyan'])(_0x1f0bf3)+'\x20'+(_0x3fa3dc?_0x534d5d(0x1a7)+(0x0,colors_1['cyan'])(_0x3fa3dc):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x4e08e8(0x1a1)+((0x0,colors_1[_0x4e08e8(0x1be)])('--manifest-url')+_0x4e08e8(0x1b9)+(0x0,colors_1[_0x4e08e8(0x1be)])('--manifest')),'messageInitializingWebManifest':_0xcdb6c2=>{const _0x341ae8=_0x4e08e8;return _0x341ae8(0x1ca)+(0x0,colors_1['cyan'])(_0xcdb6c2);},'messageInitializingLocalManifest':_0x316d5b=>{const _0x343c99=_0x4e08e8;return _0x343c99(0x19b)+(0x0,colors_1['cyan'])(_0x316d5b);},'messageInvalidIcon':_0x199b18=>{const _0x16eacf=_0x4e08e8;return'Invalid\x20icon\x20path:\x20'+(0x0,colors_1[_0x16eacf(0x1be)])(_0x199b18);},'errorStartUrlNotReachable':_0x25d908=>_0x4e08e8(0x1c1)+_0x25d908+'\x20can\x20not\x20be\x20accessible.'+'Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','warnFamilyPolicy':(0x0,colors_1[_0x4e08e8(0x1c6)])((0x0,colors_1[_0x4e08e8(0x19c)])(_0x4e08e8(0x1cb)))+_0x4e08e8(0x1b0)+_0x4e08e8(0x1ad)+'\x20Check\x20out\x20the\x20Play\x20for'+_0x4e08e8(0x1a8)+(0x0,colors_1['cyan'])(_0x4e08e8(0x19f)),'promptIconUrl':_0x4e08e8(0x1a5),'errorInvalidUrl':_0x2778f7=>{return'Invalid\x20URL:\x20'+_0x2778f7;},'errorUrlMustBeImage':_0x1ac040=>{const _0x5439ab=_0x4e08e8;return _0x5439ab(0x1c8)+_0x1ac040+'.';},'promptVersionCode':'Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','promptVersionName':_0x4e08e8(0x194),'messageSigningKeyInformation':(0x0,colors_1['underline'])(_0x4e08e8(0x1a3)+(0x0,colors_1[_0x4e08e8(0x196)])(_0x4e08e8(0x1aa))),'messageProjectGeneratedSuccess':_0x4e08e8(0x1ac),'messageSigningKeyCreation':(0x0,colors_1[_0x4e08e8(0x1cc)])(_0x4e08e8(0x1b3)),'messageSigningKeyNotFound':_0x1f94a0=>{const _0xbb4789=_0x4e08e8;return _0xbb4789(0x1b1)+_0x1f94a0+_0xbb4789(0x1ba);},'promptCreateKey':_0x4e08e8(0x1c9),'promptKeyFullName':_0x4e08e8(0x19d),'promptKeyOrganizationalUnit':_0x4e08e8(0x1a2),'promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x4e08e8(0x1ae),'promptKeystorePassword':'Password\x20for\x20the\x20Key\x20Store:','promptKeyPassword':_0x4e08e8(0x1bb),'messageBuildingApp':_0x4e08e8(0x1c2),'messageEnterPasswords':(_0x3f2f30,_0x88a920)=>{const _0xc61560=_0x4e08e8;return _0xc61560(0x19e)+(0x0,colors_1[_0xc61560(0x1be)])(_0x3f2f30)+_0xc61560(0x1c7)+(0x0,colors_1[_0xc61560(0x1be)])(_0x88a920)+'.\x0a';},'errorMinLength':(_0x492c82,_0x15a5a6)=>{const _0x16a73d=_0x4e08e8;return _0x16a73d(0x1b7)+_0x492c82+'\x20but\x20input\x20is\x20'+_0x15a5a6+'.';},'errorMaxLength':(_0x2bb519,_0x406257)=>{return'Maximum\x20length\x20is\x20'+_0x2bb519+'\x20but\x20input\x20is\x20'+_0x406257+'.';},'errorInvalidInteger':_0x4b8281=>{const _0x3a6625=_0x4e08e8;return _0x3a6625(0x193)+_0x4b8281;},'messageApkSuccess':_0x153e86=>{const _0xdbdc63=_0x4e08e8;return'\x09-\x20Generated\x20Android\x20APK\x20at\x20'+(0x0,colors_1[_0xdbdc63(0x1be)])(_0x153e86);},'missingUrlToCheck':_0x4e08e8(0x1a1)+(''+(0x0,colors_1[_0x4e08e8(0x1be)])('--url'))};function _0x1df4(_0x4ff7a1,_0x468a34){const _0xd365f0=_0xd365();return _0x1df4=function(_0x1df42b,_0x4bff4a){_0x1df42b=_0x1df42b-0x192;let _0x34863b=_0xd365f0[_0x1df42b];return _0x34863b;},_0x1df4(_0x4ff7a1,_0x468a34);}function _0xd365(){const _0x21ccbe=['bold','\x20and\x20alias\x20','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Do\x20you\x20want\x20to\x20create\x20one\x20now?','Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20','WARNING:\x20','underline','Downloading\x20the\x20Android\x20SDK...','Invalid\x20integer\x20provided:\x20','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','9420WvDohb','green','https://developer.android.com/studio/terms.html','Downloading\x20the\x20JDK\x2011\x20Binaries...','Decompressing\x20the\x20Android\x20SDK...','messages','Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20','yellow','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','https://play.google.com/console/about/families/','946874wfiQfK','Missing\x20required\x20parameter\x20','Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','\x0aSigning\x20key\x20information\x20','2861766sqSggD','Icon\x20URL:','36bDbBPu','redirected\x20to\x20','\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a','defineProperty','(5/5)','2443080mFBGfX','\x0aProject\x20generated\x20successfully.','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','Country\x20(2\x20letter\x20code):','2QeskCu','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','\x0aSigning\x20key\x20creation','305wsdFNJ','colors','2362256YdyLKk','Minimum\x20length\x20is\x20','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','\x20or\x20','\x22.\x0a','Password\x20for\x20the\x20Key:','Path\x20to\x20your\x20existing\x20Android\x20SDK:','8967620oIAFfh','cyan','Downloading\x20Android\x20SDK\x20to\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','URL\x20','\x0aBuilding\x20the\x20Android\x20App...','Generating\x20Android\x20Project.','license\x20agreement.','10864126wxHoPK'];_0xd365=function(){return _0x21ccbe;};return _0xd365();}
1
+ 'use strict';function _0x1f89(){const _0x27590d=['Downloading\x20JDK\x2011\x20to\x20','275678eBEADg','2934008SOBVHl','3RXnPhQ','Icon\x20URL:','Starting\x20version\x20name\x20for\x20the\x20new\x20app\x20version:','Path\x20to\x20your\x20existing\x20Android\x20SDK:','6EZzanJ','Downloading\x20Android\x20SDK\x20to\x20','WARNING:\x20','Decompressing\x20the\x20JDK\x2011\x20Binaries...','(5/5)','\x22.\x0a','defineProperty','1431864JEImlz','Minimum\x20length\x20is\x20','\x0aSigning\x20key\x20information\x20','\x20with\x20applications\x0atargeting\x20children\x20under\x20the\x20age\x20of\x2013.','URL\x20must\x20resolve\x20to\x20an\x20image/*\x20mime-type,\x20but\x20resolved\x20to\x20','Downloading\x20the\x20JDK\x2011\x20Binaries...','Missing\x20required\x20parameter\x20','Password\x20for\x20the\x20Key:','Country\x20(2\x20letter\x20code):','https://developer.android.com/studio/terms.html','Decompressing\x20the\x20JDK\x2011\x20Sources...','Do\x20you\x20want\x20to\x20create\x20one\x20now?','colors','Invalid\x20icon\x20path:\x20','Trusted\x20Web\x20Activities\x20are\x20currently\x20incompatible','Please,\x20enter\x20passwords\x20for\x20the\x20keystore\x20','\x20but\x20input\x20is\x20','Downloading\x20Android\x20SDK\x20failed\x20because\x20Terms\x20and\x20Conditions\x20was\x20not\x20signed.','bold','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20Android\x20SDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20Android\x20SDK\x20installation)','Do\x20you\x20want\x20picoxr-web\x20to\x20install\x20the\x20JDK\x20(recommended)?\x0a\x20\x20(Enter\x20\x22No\x22\x20to\x20use\x20your\x20own\x20JDK\x2011\x20installation)','underline','Downloading\x20the\x20JDK\x2011\x20Sources...','URL\x20','First\x20and\x20Last\x20names\x20(eg:\x20PICO):','Installing\x20Android\x20Build\x20Tools.\x20Please,\x20read\x20and\x20accept\x20the\x20','https://play.google.com/console/about/families/','green','Downloading\x20the\x20Android\x20SDK...','Starting\x20version\x20code\x20for\x20the\x20new\x20app\x20version:','Password\x20for\x20the\x20Key\x20Store:','\x20and\x20alias\x20','--manifest','\x0aBuilding\x20the\x20Android\x20App...','355684WhpazB','Please\x20check\x20your\x20internet\x20connection\x20or\x20start_url\x20in\x20manifest\x20file.','Do\x20you\x20agree\x20to\x20the\x20Android\x20SDK\x20terms\x20and\x20conditions\x20at\x20','cyan','\x20can\x20not\x20be\x20accessible.','582755NXiDEG','Invalid\x20URL:\x20','Maximum\x20length\x20is\x20','\x20or\x20','Decompressing\x20the\x20Android\x20SDK...','757388QIVbBO','\x20Check\x20out\x20the\x20Play\x20for','56510pzvxqT','\x0aAn\x20existing\x20key\x20store\x20could\x20not\x20be\x20found\x20at\x20\x22','messages','\x09-\x20Generated\x20Android\x20APK\x20at\x20','Generating\x20Android\x20Project.','927CzCtkn','\x0aProject\x20generated\x20successfully.','Invalid\x20integer\x20provided:\x20','\x0aSigning\x20key\x20creation'];_0x1f89=function(){return _0x27590d;};return _0x1f89();}const _0x50d904=_0x35bf;(function(_0xfdf6cd,_0x1928ab){const _0x303a08=_0x35bf,_0x496e10=_0xfdf6cd();while(!![]){try{const _0x363c9f=parseInt(_0x303a08(0xf9))/0x1+parseInt(_0x303a08(0x10f))/0x2+parseInt(_0x303a08(0xcc))/0x3*(parseInt(_0x303a08(0x103))/0x4)+parseInt(_0x303a08(0xfe))/0x5*(-parseInt(_0x303a08(0xd0))/0x6)+parseInt(_0x303a08(0xcb))/0x7+-parseInt(_0x303a08(0xd7))/0x8+-parseInt(_0x303a08(0x10a))/0x9*(parseInt(_0x303a08(0x105))/0xa);if(_0x363c9f===_0x1928ab)break;else _0x496e10['push'](_0x496e10['shift']());}catch(_0x1d1267){_0x496e10['push'](_0x496e10['shift']());}}}(_0x1f89,0x36cab));Object[_0x50d904(0xd6)](exports,'__esModule',{'value':!![]}),exports[_0x50d904(0x107)]=void 0x0;function _0x35bf(_0x3f6321,_0x33b9a2){const _0x1f890c=_0x1f89();return _0x35bf=function(_0x35bf6f,_0x375756){_0x35bf6f=_0x35bf6f-0xcb;let _0x54bc2f=_0x1f890c[_0x35bf6f];return _0x54bc2f;},_0x35bf(_0x3f6321,_0x33b9a2);}const colors_1=require(_0x50d904(0xe3));exports['messages']={'promptInstallJdk':_0x50d904(0xeb),'promptJdkPath':'Path\x20to\x20your\x20existing\x20JDK\x2011:','messageDownloadJdk':_0x50d904(0x10e),'messageDownloadJdkSrc':_0x50d904(0xed),'messageDecompressJdkSrc':_0x50d904(0xe1),'messageDownloadJdkBin':_0x50d904(0xdc),'messageDecompressJdkBin':_0x50d904(0xd3),'promptInstallSdk':_0x50d904(0xea),'promptSdkPath':_0x50d904(0xcf),'messageDownloadSdk':_0x50d904(0xd1),'errorSdkTerms':_0x50d904(0xe8),'promptSdkTerms':_0x50d904(0xfb)+(0x0,colors_1[_0x50d904(0xec)])(_0x50d904(0xe0))+'?','messageDownloadAndroidSdk':_0x50d904(0xf3),'messageDecompressAndroidSdk':_0x50d904(0x102),'messageInstallingBuildTools':_0x50d904(0xf0)+'license\x20agreement.','messageGeneratingAndroidProject':_0x50d904(0x109),'messageCheckSuccess':(_0x5363e6,_0x263252)=>{const _0x52cfdc=_0x50d904;return'\x20URL\x20'+(0x0,colors_1[_0x52cfdc(0xfc)])(_0x5363e6)+'\x20'+(_0x263252?'redirected\x20to\x20'+(0x0,colors_1['cyan'])(_0x263252):'')+'\x20validation\x20successful.Here\x20is\x20the\x20relevant\x20information:';},'errorMissingManifestParameter':_0x50d904(0xdd)+((0x0,colors_1[_0x50d904(0xfc)])('--manifest-url')+_0x50d904(0x101)+(0x0,colors_1['cyan'])(_0x50d904(0xf7))),'messageInitializingWebManifest':_0x2fdeb4=>{const _0x28fcd5=_0x50d904;return'Initializing\x20application\x20from\x20Web\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x28fcd5(0xfc)])(_0x2fdeb4);},'messageInitializingLocalManifest':_0x3d4e24=>{const _0x9b9ec7=_0x50d904;return'Initializing\x20application\x20from\x20Local\x20Manifest:\x0a\x09-\x20\x20'+(0x0,colors_1[_0x9b9ec7(0xfc)])(_0x3d4e24);},'messageInvalidIcon':_0xd3c8c1=>{const _0x1a38b2=_0x50d904;return _0x1a38b2(0xe4)+(0x0,colors_1[_0x1a38b2(0xfc)])(_0xd3c8c1);},'errorStartUrlNotReachable':_0x5d1664=>_0x50d904(0xee)+_0x5d1664+_0x50d904(0xfd)+_0x50d904(0xfa),'warnFamilyPolicy':(0x0,colors_1[_0x50d904(0xe9)])((0x0,colors_1['yellow'])(_0x50d904(0xd2)))+_0x50d904(0xe5)+_0x50d904(0xda)+_0x50d904(0x104)+'\x20Families\x0apolicies\x20to\x20learn\x20more.\x0a'+(0x0,colors_1[_0x50d904(0xfc)])(_0x50d904(0xf1)),'promptIconUrl':_0x50d904(0xcd),'errorInvalidUrl':_0x469308=>{const _0x1b871b=_0x50d904;return _0x1b871b(0xff)+_0x469308;},'errorUrlMustBeImage':_0x168b59=>{const _0x206ff4=_0x50d904;return _0x206ff4(0xdb)+_0x168b59+'.';},'promptVersionCode':_0x50d904(0xf4),'promptVersionName':_0x50d904(0xce),'messageSigningKeyInformation':(0x0,colors_1[_0x50d904(0xec)])(_0x50d904(0xd9)+(0x0,colors_1[_0x50d904(0xf2)])(_0x50d904(0xd4))),'messageProjectGeneratedSuccess':_0x50d904(0x10b),'messageSigningKeyCreation':(0x0,colors_1[_0x50d904(0xec)])(_0x50d904(0x10d)),'messageSigningKeyNotFound':_0x34985b=>{const _0x4fabeb=_0x50d904;return _0x4fabeb(0x106)+_0x34985b+_0x4fabeb(0xd5);},'promptCreateKey':_0x50d904(0xe2),'promptKeyFullName':_0x50d904(0xef),'promptKeyOrganizationalUnit':'Organizational\x20Unit\x20(eg:\x20PICO\x20Dept):','promptKeyOrganization':'Organization\x20(eg:\x20Company\x20Name):','promptKeyCountry':_0x50d904(0xdf),'promptKeystorePassword':_0x50d904(0xf5),'promptKeyPassword':_0x50d904(0xde),'messageBuildingApp':_0x50d904(0xf8),'messageEnterPasswords':(_0x86f437,_0x118e65)=>{const _0x4fbe47=_0x50d904;return _0x4fbe47(0xe6)+(0x0,colors_1[_0x4fbe47(0xfc)])(_0x86f437)+_0x4fbe47(0xf6)+(0x0,colors_1[_0x4fbe47(0xfc)])(_0x118e65)+'.\x0a';},'errorMinLength':(_0x172ab1,_0x3fd92c)=>{const _0x16e3b0=_0x50d904;return _0x16e3b0(0xd8)+_0x172ab1+'\x20but\x20input\x20is\x20'+_0x3fd92c+'.';},'errorMaxLength':(_0x4893b7,_0x135b84)=>{const _0x30c1cf=_0x50d904;return _0x30c1cf(0x100)+_0x4893b7+_0x30c1cf(0xe7)+_0x135b84+'.';},'errorInvalidInteger':_0x2d20ed=>{const _0x45f4e8=_0x50d904;return _0x45f4e8(0x10c)+_0x2d20ed;},'messageApkSuccess':_0xa995b0=>{const _0x54843d=_0x50d904;return _0x54843d(0x108)+(0x0,colors_1['cyan'])(_0xa995b0);},'missingUrlToCheck':_0x50d904(0xdd)+(''+(0x0,colors_1['cyan'])('--url'))};
@@ -1 +1,10 @@
1
1
  export declare function parseRouter(url: string): string;
2
+ /**
3
+ * get webspatial avp url
4
+ *
5
+ *
6
+ * @export
7
+ * @param {string} url
8
+ * @return {*} {string}
9
+ */
10
+ export declare function getAVPVersionUrl(url: string): string;
@@ -1 +1 @@
1
- 'use strict';const _0x398b3d=_0x5668;(function(_0x384f94,_0x388874){const _0xacef36=_0x5668,_0x29358c=_0x384f94();while(!![]){try{const _0x4adef4=parseInt(_0xacef36(0x16b))/0x1+parseInt(_0xacef36(0x168))/0x2+parseInt(_0xacef36(0x166))/0x3*(-parseInt(_0xacef36(0x167))/0x4)+parseInt(_0xacef36(0x16c))/0x5+-parseInt(_0xacef36(0x16f))/0x6*(parseInt(_0xacef36(0x164))/0x7)+parseInt(_0xacef36(0x16d))/0x8+-parseInt(_0xacef36(0x165))/0x9;if(_0x4adef4===_0x388874)break;else _0x29358c['push'](_0x29358c['shift']());}catch(_0x4f7709){_0x29358c['push'](_0x29358c['shift']());}}}(_0x4745,0x1a220));function _0x4745(){const _0x30e4e0=['split','35680nezKaF','593730sXmmQV','1258240XwcYUF','pop','38424VuEaRU','parseRouter','7CYphQR','639855BotOXm','146427VRKNxg','12YIrXiN','38520ncoMfN','defineProperty'];_0x4745=function(){return _0x30e4e0;};return _0x4745();}Object[_0x398b3d(0x169)](exports,'__esModule',{'value':!![]}),exports[_0x398b3d(0x170)]=parseRouter;function _0x5668(_0x2678aa,_0x19e966){const _0x474587=_0x4745();return _0x5668=function(_0x5668ab,_0xd65243){_0x5668ab=_0x5668ab-0x164;let _0x218692=_0x474587[_0x5668ab];return _0x218692;},_0x5668(_0x2678aa,_0x19e966);}function parseRouter(_0x31b1a4){const _0x473f2c=_0x398b3d;let _0x4e1788=_0x31b1a4[_0x473f2c(0x16a)]('/');_0x4e1788[_0x473f2c(0x16e)]();let _0x597a8e=_0x4e1788['join']();while(_0x597a8e['indexOf'](',')>=0x0){_0x597a8e=_0x597a8e['replace'](',','/');}return _0x597a8e;}
1
+ 'use strict';const _0x43bc65=_0x947d;function _0x947d(_0x546e1a,_0xc2b88d){const _0x3ffca5=_0x3ffc();return _0x947d=function(_0x947d7f,_0x46df55){_0x947d7f=_0x947d7f-0x15a;let _0x1bcf3a=_0x3ffca5[_0x947d7f];return _0x1bcf3a;},_0x947d(_0x546e1a,_0xc2b88d);}(function(_0x45f3ea,_0x22112e){const _0xe30fec=_0x947d,_0x2bc952=_0x45f3ea();while(!![]){try{const _0x40b620=-parseInt(_0xe30fec(0x16a))/0x1+-parseInt(_0xe30fec(0x167))/0x2*(-parseInt(_0xe30fec(0x164))/0x3)+parseInt(_0xe30fec(0x15d))/0x4*(-parseInt(_0xe30fec(0x168))/0x5)+parseInt(_0xe30fec(0x169))/0x6+parseInt(_0xe30fec(0x15a))/0x7*(parseInt(_0xe30fec(0x166))/0x8)+-parseInt(_0xe30fec(0x16d))/0x9*(parseInt(_0xe30fec(0x161))/0xa)+parseInt(_0xe30fec(0x15f))/0xb*(parseInt(_0xe30fec(0x160))/0xc);if(_0x40b620===_0x22112e)break;else _0x2bc952['push'](_0x2bc952['shift']());}catch(_0x2ef3){_0x2bc952['push'](_0x2bc952['shift']());}}}(_0x3ffc,0x67816));function _0x3ffc(){const _0x13a46d=['348XgHZqU','3060ZpFXZu','getAVPVersionUrl','split','3FfHtXq','slice','8fzonHp','542188cOBjVy','115YzUMlF','995250uNVeMy','324035JAZiUE','webspatial/avp/','indexOf','12546QQiYVz','4296733KmHNYj','defineProperty','__esModule','12468ktjsDC','pop','74140QZWoZr'];_0x3ffc=function(){return _0x13a46d;};return _0x3ffc();}Object[_0x43bc65(0x15b)](exports,_0x43bc65(0x15c),{'value':!![]}),exports['parseRouter']=parseRouter,exports[_0x43bc65(0x162)]=getAVPVersionUrl;function parseRouter(_0x446e3b){const _0x3f00e9=_0x43bc65;let _0x276d33=_0x446e3b[_0x3f00e9(0x163)]('/');_0x276d33[_0x3f00e9(0x15e)]();let _0x573394=_0x276d33['join']();while(_0x573394[_0x3f00e9(0x16c)](',')>=0x0){_0x573394=_0x573394['replace'](',','/');}return _0x573394;}function getAVPVersionUrl(_0xba9c0){const _0x543997=_0x43bc65,_0x3d5514=_0xba9c0['endsWith']('/'),_0x284945=_0x3d5514?_0xba9c0[_0x543997(0x165)](0x0,-0x1):_0xba9c0;if(_0x284945['endsWith']('/webspatial/avp'))return _0xba9c0;const _0x5bca02=_0x3d5514?'':'/';return''+_0xba9c0+_0x5bca02+_0x543997(0x16b);}
@@ -1 +1 @@
1
- 'use strict';const _0xf591ed=_0x15ab;(function(_0x4d60b8,_0x54ce68){const _0x2317d8=_0x15ab,_0x56f225=_0x4d60b8();while(!![]){try{const _0x3fcd94=parseInt(_0x2317d8(0x138))/0x1*(-parseInt(_0x2317d8(0x131))/0x2)+parseInt(_0x2317d8(0x136))/0x3*(-parseInt(_0x2317d8(0x129))/0x4)+parseInt(_0x2317d8(0x12b))/0x5+-parseInt(_0x2317d8(0x142))/0x6*(-parseInt(_0x2317d8(0x13d))/0x7)+-parseInt(_0x2317d8(0x134))/0x8*(-parseInt(_0x2317d8(0x12f))/0x9)+parseInt(_0x2317d8(0x13b))/0xa*(parseInt(_0x2317d8(0x126))/0xb)+-parseInt(_0x2317d8(0x137))/0xc;if(_0x3fcd94===_0x54ce68)break;else _0x56f225['push'](_0x56f225['shift']());}catch(_0x3073d2){_0x56f225['push'](_0x56f225['shift']());}}}(_0x1e73,0x793a4));Object[_0xf591ed(0x140)](exports,'__esModule',{'value':!![]}),exports['XcodeManager']=void 0x0;function _0x15ab(_0x2729f8,_0x56c389){const _0x1e7338=_0x1e73();return _0x15ab=function(_0x15aba2,_0x52c851){_0x15aba2=_0x15aba2-0x126;let _0x31e237=_0x1e7338[_0x15aba2];return _0x31e237;},_0x15ab(_0x2729f8,_0x56c389);}function _0x1e73(){const _0x1e71ce=['56084MmfPtp','./xcodebuild','uploadApp','defineProperty','log','30SyLPyi','PROJECT_DIRECTORY','PROJECT_EXPORT_DIRECTORY','428615tsIjbL','/web-spatial.xcodeproj/project.pbxproj','upload','8AuhTyV','.ipa','3271350LGNbAr','export','mkdirSync','join','9EsjmCL','name','107952DultUY','default','./xcrun','4254920LihVke','XcodeManager','19119pwkksT','11695740gQlUeK','1zpffPF','runWithSimulator','path','80TDJqmq','archive'];_0x1e73=function(){return _0x1e71ce;};return _0x1e73();}const fs=require('fs'),resource_1=require('../resource'),xcodeproject_1=require('./xcodeproject'),xcodebuild_1=require(_0xf591ed(0x13e)),xcrun_1=require(_0xf591ed(0x133)),path_1=require(_0xf591ed(0x13a));class XcodeManager{static async['parseProject'](_0x2be710,_0x17af50=![]){const _0x4b981a=_0xf591ed,_0x2a2ba7=resource_1[_0x4b981a(0x143)]+_0x4b981a(0x127);await xcodeproject_1['default']['modify'](_0x2a2ba7,_0x2be710),console[_0x4b981a(0x141)]('write\x20project.pbxproj:\x20ok');!fs['existsSync'](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x4b981a(0x12d)](resource_1[_0x4b981a(0x144)],{'recursive':!![]});if(!_0x17af50)await xcodebuild_1[_0x4b981a(0x132)][_0x4b981a(0x13c)](_0x2be710[_0x4b981a(0x12c)]);}static async[_0xf591ed(0x128)](_0x246cbe,_0x54eb16){const _0x58dc54=_0xf591ed;if(_0x246cbe['u']&&_0x246cbe['p'])xcrun_1[_0x58dc54(0x132)][_0x58dc54(0x13f)]((0x0,path_1[_0x58dc54(0x12e)])(resource_1[_0x58dc54(0x144)],_0x54eb16[_0x58dc54(0x130)]+_0x58dc54(0x12a)),_0x246cbe['u'],_0x246cbe['p'],!![]);else _0x246cbe['k']&&_0x246cbe['i']&&xcrun_1[_0x58dc54(0x132)][_0x58dc54(0x13f)]((0x0,path_1[_0x58dc54(0x12e)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x54eb16[_0x58dc54(0x130)]+_0x58dc54(0x12a)),_0x246cbe['k'],_0x246cbe['i'],![]);}static async['runWithSimulator'](_0x523662){const _0x3f1539=_0xf591ed;await xcrun_1['default'][_0x3f1539(0x139)](_0x523662);}}exports[_0xf591ed(0x135)]=XcodeManager;
1
+ 'use strict';const _0x214b83=_0x3380;(function(_0x2e0bbb,_0x274cf2){const _0x1240dd=_0x3380,_0x449348=_0x2e0bbb();while(!![]){try{const _0x30382b=-parseInt(_0x1240dd(0xca))/0x1+-parseInt(_0x1240dd(0xe9))/0x2*(-parseInt(_0x1240dd(0xe2))/0x3)+parseInt(_0x1240dd(0xcb))/0x4+-parseInt(_0x1240dd(0xd0))/0x5*(-parseInt(_0x1240dd(0xe5))/0x6)+-parseInt(_0x1240dd(0xcd))/0x7+parseInt(_0x1240dd(0xdf))/0x8*(parseInt(_0x1240dd(0xcf))/0x9)+parseInt(_0x1240dd(0xe4))/0xa*(-parseInt(_0x1240dd(0xdd))/0xb);if(_0x30382b===_0x274cf2)break;else _0x449348['push'](_0x449348['shift']());}catch(_0x398661){_0x449348['push'](_0x449348['shift']());}}}(_0x155f,0xe40d6));function _0x155f(){const _0xce6fb6=['PROJECT_DIRECTORY','./xcodeproject','/web-spatial.xcodeproj/project.pbxproj','PROJECT_EXPORT_DIRECTORY','../resource','11ZoMJmB','name','232COdXwK','join','modify','2817GHBCzn','upload','15015370EBrVFz','1101882OkBNdI','existsSync','uploadApp','.ipa','950FgijId','424740SuMedo','1747984KLRHpc','write\x20project.pbxproj:\x20ok','95592jbWpQr','archive','560907WjdJQI','5twBwCr','defineProperty','log','default','export','./xcrun','XcodeManager','path'];_0x155f=function(){return _0xce6fb6;};return _0x155f();}Object[_0x214b83(0xd1)](exports,'__esModule',{'value':!![]}),exports[_0x214b83(0xd6)]=void 0x0;function _0x3380(_0x3a5bc6,_0x4ebecd){const _0x155fc8=_0x155f();return _0x3380=function(_0x3380b8,_0x54a4b0){_0x3380b8=_0x3380b8-0xca;let _0x1feb78=_0x155fc8[_0x3380b8];return _0x1feb78;},_0x3380(_0x3a5bc6,_0x4ebecd);}const fs=require('fs'),resource_1=require(_0x214b83(0xdc)),xcodeproject_1=require(_0x214b83(0xd9)),xcodebuild_1=require('./xcodebuild'),xcrun_1=require(_0x214b83(0xd5)),path_1=require(_0x214b83(0xd7));class XcodeManager{static async['parseProject'](_0x595eef,_0x420b73=![]){const _0x593f5a=_0x214b83,_0x54ca6f=resource_1[_0x593f5a(0xd8)]+_0x593f5a(0xda);await xcodeproject_1['default'][_0x593f5a(0xe1)](_0x54ca6f,_0x595eef),console[_0x593f5a(0xd2)](_0x593f5a(0xcc));!fs[_0x593f5a(0xe6)](resource_1[_0x593f5a(0xdb)])&&fs['mkdirSync'](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]});if(!_0x420b73)await xcodebuild_1[_0x593f5a(0xd3)][_0x593f5a(0xce)](_0x595eef[_0x593f5a(0xd4)]);}static async[_0x214b83(0xe3)](_0x825742,_0x4c69e4){const _0x54fba4=_0x214b83;if(_0x825742['u']&&_0x825742['p'])xcrun_1[_0x54fba4(0xd3)]['uploadApp']((0x0,path_1[_0x54fba4(0xe0)])(resource_1[_0x54fba4(0xdb)],_0x4c69e4[_0x54fba4(0xde)]+'.ipa'),_0x825742['u'],_0x825742['p'],!![]);else _0x825742['k']&&_0x825742['i']&&xcrun_1[_0x54fba4(0xd3)][_0x54fba4(0xe7)]((0x0,path_1[_0x54fba4(0xe0)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x4c69e4[_0x54fba4(0xde)]+_0x54fba4(0xe8)),_0x825742['k'],_0x825742['i'],![]);}static async['runWithSimulator'](_0x35e44d){const _0x105553=_0x214b83;await xcrun_1[_0x105553(0xd3)]['runWithSimulator'](_0x35e44d);}}exports['XcodeManager']=XcodeManager;
@@ -1 +1 @@
1
- 'use strict';var _0x1775f0=_0x2d0e;(function(_0x437e8c,_0x5081e6){var _0x530d19=_0x2d0e,_0x5272f9=_0x437e8c();while(!![]){try{var _0x23b0b1=-parseInt(_0x530d19(0xe5))/0x1*(-parseInt(_0x530d19(0xe9))/0x2)+-parseInt(_0x530d19(0xeb))/0x3*(parseInt(_0x530d19(0xee))/0x4)+parseInt(_0x530d19(0xf1))/0x5+-parseInt(_0x530d19(0xf2))/0x6*(-parseInt(_0x530d19(0xe8))/0x7)+-parseInt(_0x530d19(0xf0))/0x8+-parseInt(_0x530d19(0xe6))/0x9*(parseInt(_0x530d19(0xec))/0xa)+parseInt(_0x530d19(0xea))/0xb;if(_0x23b0b1===_0x5081e6)break;else _0x5272f9['push'](_0x5272f9['shift']());}catch(_0x2c12d9){_0x5272f9['push'](_0x5272f9['shift']());}}}(_0xe11d,0xb1106));function _0x2d0e(_0x3b9f29,_0x38cb1a){var _0xe11d10=_0xe11d();return _0x2d0e=function(_0x2d0e90,_0x2a352a){_0x2d0e90=_0x2d0e90-0xe5;var _0x2e17d6=_0xe11d10[_0x2d0e90];return _0x2e17d6;},_0x2d0e(_0x3b9f29,_0x38cb1a);}Object[_0x1775f0(0xe7)](exports,_0x1775f0(0xed),{'value':!![]}),exports[_0x1775f0(0xef)]=void 0x0,exports[_0x1775f0(0xef)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0xe11d(){var _0x36dfcf=['1889190CkPqtB','5748beiQmG','6VOKOOW','18ZxvKAJ','defineProperty','3619iuiqhb','266486MSjjEP','26856687HiCfga','543JCTnJu','6603630uLcLMd','__esModule','14648tyYNCK','manifestSwiftTemplate','11242376WJKUMJ'];_0xe11d=function(){return _0x36dfcf;};return _0xe11d();}
1
+ 'use strict';var _0x284a49=_0x2d1a;(function(_0x4fe391,_0xf535c4){var _0x3c381c=_0x2d1a,_0x380353=_0x4fe391();while(!![]){try{var _0x23733d=-parseInt(_0x3c381c(0x1d2))/0x1+-parseInt(_0x3c381c(0x1cf))/0x2*(-parseInt(_0x3c381c(0x1d6))/0x3)+parseInt(_0x3c381c(0x1cd))/0x4*(-parseInt(_0x3c381c(0x1ce))/0x5)+-parseInt(_0x3c381c(0x1d7))/0x6+-parseInt(_0x3c381c(0x1d0))/0x7+parseInt(_0x3c381c(0x1d3))/0x8*(-parseInt(_0x3c381c(0x1d5))/0x9)+-parseInt(_0x3c381c(0x1d4))/0xa*(-parseInt(_0x3c381c(0x1d9))/0xb);if(_0x23733d===_0xf535c4)break;else _0x380353['push'](_0x380353['shift']());}catch(_0xd7d9ca){_0x380353['push'](_0x380353['shift']());}}}(_0x1a50,0x437fd));Object[_0x284a49(0x1d1)](exports,'__esModule',{'value':!![]}),exports['manifestSwiftTemplate']=void 0x0,exports[_0x284a49(0x1d8)]='\x0aimport\x20Foundation\x0a\x0avar\x20pwaManager\x20=\x20PWAManager()\x0a\x0astruct\x20PWAManager:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20isLocal:\x20Bool\x20=\x20false\x0a\x20\x20\x20\x20var\x20start_url:\x20String\x20=\x20\x22START_URL\x22\x0a\x20\x20\x20\x20var\x20scope:\x20String\x20=\x20\x22SCOPE\x22\x0a\x20\x20\x20\x20var\x20id:\x20String\x20=\x20\x22AppID\x22\x0a\x0a\x20\x20\x20\x20var\x20name:\x20String\x20=\x20\x22AppName\x22\x0a\x20\x20\x20\x20var\x20short_name:\x20String\x20=\x20\x22name\x22\x0a\x20\x20\x20\x20var\x20description:\x20String\x20=\x20\x22Description\x22\x0a\x0a\x20\x20\x20\x20var\x20display:\x20PWADisplayMode\x20=\x20.minimal\x0a\x20\x20\x20\x20var\x20display_override:\x20[PWADisplayMode]\x20=\x20[]\x0a\x20\x20\x20\x20var\x20protocol_handlers:\x20[PWAProtocol]\x20=\x20[PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)]\x0a\x20\x20\x20\x20var\x20mainScene:\x20WindowContainerOptions\x20=\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20defaultSize:\x20.init(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20width:\x20SceneWidth,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20height:\x20SceneHeight\x0a\x20\x20\x20\x20\x20\x20\x20\x20),\x0a\x20\x20\x20\x20\x20\x20\x20\x20resizability:\x20SceneResizability\x0a\x20\x20\x20\x20)\x0a\x20\x20\x20\x20var\x20useMainScene:\x20Bool\x20=\x20USE_MAIN_SCENE\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20_init()\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20urlType\x20=\x20start_url.split(separator:\x20\x22://\x22).first\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20!(urlType\x20==\x20\x22http\x22\x20||\x20urlType\x20==\x20\x22https\x22)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20start_url\x20=\x20Bundle.main.url(forResource:\x20start_url,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)!.absoluteString\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20\x22file://\x22\x20+\x20Bundle.main.bundlePath\x20+\x20\x22/\x22\x20+\x20scope\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20scope\x20=\x20scope.replacingOccurrences(of:\x20\x22\x20\x22,\x20with:\x20\x22%20\x22)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20isLocal\x20=\x20true\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20display_override.count\x20>\x200\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20display\x20=\x20display_override[0]\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20i\x20in\x200\x20...\x20protocol_handlers.count\x20-\x201\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20item\x20=\x20protocol_handlers[i]\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20protocol_handlers[i].updateUrl(scope\x20+\x20item.url)\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20func\x20checkInScope(url:\x20String)\x20->\x20Bool\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20url.starts(with:\x20scope)\x0a\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20//\x20web+spatial://test\x0a\x20\x20\x20\x20func\x20checkInDeeplink(url:\x20String)\x20->\x20String\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20linkUrl:\x20String\x20=\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20for\x20item\x20in\x20protocol_handlers\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20linkUrl.starts(with:\x20item.protocolValue)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20let\x20queryString:\x20String\x20=\x20linkUrl.replacingOccurrences(of:\x20item.protocolValue,\x20with:\x20\x22\x22).addingPercentEncoding(withAllowedCharacters:\x20.urlQueryAllowed)!\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20linkUrl\x20=\x20item.url.replacingOccurrences(of:\x20\x22%s\x22,\x20with:\x20item.protocolValue\x20+\x20queryString)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20logger.debug(linkUrl)\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20linkUrl\x0a\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x0a\x20\x20\x20\x20func\x20getLocalResourceURL(url:\x20String)\x20->\x20String{\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20path:String\x20=\x20String(url.split(separator:\x20\x22file://\x22).first!.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20root:String\x20=\x20String(url.split(separator:\x20\x22?\x22).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20let\x20params\x20=\x20String(url.split(separator:\x20\x22file://\x22\x20+\x20root).first!)\x0a\x20\x20\x20\x20\x20\x20\x20\x20var\x20resource:String\x20=\x20Bundle.main.url(forResource:\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20resource\x20=\x20Bundle.main.url(forResource:\x20\x22static-web\x22\x20+\x20path,\x20withExtension:\x20\x22\x22,\x20subdirectory:\x20\x22\x22)?.absoluteString\x20??\x20\x22\x22\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20resource\x20==\x20\x22\x22\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20url\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20resource\x20+=\x20\x22?\x22\x20+\x20params\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20resource\x0a\x20\x20\x20\x20}\x0a}\x0a\x0aenum\x20PWADisplayMode:\x20Codable\x20{\x0a\x20\x20\x20\x20case\x20minimal\x0a\x20\x20\x20\x20case\x20standalone\x0a}\x0a\x0astruct\x20PWAProtocol:\x20Codable\x20{\x0a\x20\x20\x20\x20var\x20protocolValue:\x20String\x20=\x20\x22\x22\x0a\x20\x20\x20\x20var\x20url:\x20String\x20=\x20\x22\x22\x0a\x0a\x20\x20\x20\x20mutating\x20func\x20updateUrl(_\x20str:\x20String)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20url\x20=\x20str\x0a\x20\x20\x20\x20}\x0a}\x0a\x0a';function _0x2d1a(_0x42d8aa,_0x383434){var _0x1a50bf=_0x1a50();return _0x2d1a=function(_0x2d1a5c,_0x836217){_0x2d1a5c=_0x2d1a5c-0x1cd;var _0x3a5c35=_0x1a50bf[_0x2d1a5c];return _0x3a5c35;},_0x2d1a(_0x42d8aa,_0x383434);}function _0x1a50(){var _0x4e9da4=['240qoXqbv','1803429GOpRdS','147999MkRMnh','1630860ysZfpY','manifestSwiftTemplate','473121qtPanf','4wVvdCM','1753595KserEK','6TrxTil','370335LQNSJJ','defineProperty','27971HgqcFk','8IltUsn'];_0x1a50=function(){return _0x4e9da4;};return _0x1a50();}
@@ -1 +1 @@
1
- 'use strict';const _0x47435c=_0x142d;function _0x142d(_0x12028a,_0x4da3df){const _0x4c0e8c=_0x4c0e();return _0x142d=function(_0x142dda,_0x2a4485){_0x142dda=_0x142dda-0x9b;let _0x324789=_0x4c0e8c[_0x142dda];return _0x324789;},_0x142d(_0x12028a,_0x4da3df);}(function(_0x478193,_0x2989e6){const _0x1781bb=_0x142d,_0x5eb279=_0x478193();while(!![]){try{const _0x1d41a6=-parseInt(_0x1781bb(0xbb))/0x1*(parseInt(_0x1781bb(0xaa))/0x2)+parseInt(_0x1781bb(0xa8))/0x3*(-parseInt(_0x1781bb(0x9d))/0x4)+-parseInt(_0x1781bb(0xb7))/0x5+-parseInt(_0x1781bb(0xb3))/0x6+parseInt(_0x1781bb(0xca))/0x7+parseInt(_0x1781bb(0xb1))/0x8*(-parseInt(_0x1781bb(0xa4))/0x9)+parseInt(_0x1781bb(0xbd))/0xa;if(_0x1d41a6===_0x2989e6)break;else _0x5eb279['push'](_0x5eb279['shift']());}catch(_0x38b6d3){_0x5eb279['push'](_0x5eb279['shift']());}}}(_0x4c0e,0x22c5a));function _0x4c0e(){const _0x44635d=['mkdirSync','pack.xcarchive','\x20-destination\x20\x27','171206UzVdQz','line','8457530gztzha','../resource/file','web-spatial','PROJECT_EXPORT_DIRECTORY','__esModule','existsSync','copyDir','\x20-scheme\x20','path','\x20archive','cwd','toString','ExportOptions.plist','831740PQIWTt','\x20clean','PROJECT_DIRECTORY','list','\x20-exportOptionsPlist\x20','ARCHIVE\x20SUCCEEDED','/web-spatial.xcodeproj','1908WDLHsk','./pack','PROJECT_BUILD_DIRECTORY','output','log','scheme','semver','14283vQxVqV','archive','destination','clean','138vQImXP','project','2FRSMyJ','indexOf','../resource','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','\x20-archivePath\x20','\x20-allowProvisioningUpdates','start\x20archive','1232XGwPNB','join','1289532OebAgS','defineProperty','allowProvisioningUpdates','XcodebuildCMD','848395UuYClW'];_0x4c0e=function(){return _0x44635d;};return _0x4c0e();}Object[_0x47435c(0xb4)](exports,_0x47435c(0xc1),{'value':!![]}),exports[_0x47435c(0xb6)]=void 0x0;const fs=require('fs'),path_1=require(_0x47435c(0xc5)),resource_1=require(_0x47435c(0xac)),semver_1=require(_0x47435c(0xa3)),file_1=require(_0x47435c(0xbe)),{execSync,exec}=require('child_process');class Xcodebuild{static async['project'](){const _0x16ad31=_0x47435c;try{await new Promise((_0x471fa7,_0x583e74)=>{const _0x33cb6b=_0x142d,_0x3d6682=resource_1[_0x33cb6b(0xcc)]+'/web-spatial.xcodeproj',_0x58d19c=execSync(new XcodebuildCMD()[_0x33cb6b(0xa9)](_0x3d6682)[_0x33cb6b(0xcd)]()[_0x33cb6b(0xbc)]);console[_0x33cb6b(0xa1)](_0x58d19c[_0x33cb6b(0xc8)]()),_0x471fa7(_0x58d19c);});}catch(_0x10b877){console[_0x16ad31(0xa1)](_0x10b877);}}static async[_0x47435c(0xcd)](){const _0x4d4af3=_0x47435c;try{await new Promise((_0x404f38,_0x3d836a)=>{const _0x22ba31=_0x142d,_0x3ede48=resource_1[_0x22ba31(0xcc)]+_0x22ba31(0x9c),_0x32a1fc=execSync(new XcodebuildCMD()[_0x22ba31(0xa9)](_0x3ede48)[_0x22ba31(0xcd)]()[_0x22ba31(0xbc)]);console[_0x22ba31(0xa1)](_0x32a1fc[_0x22ba31(0xc8)]()),_0x404f38(_0x32a1fc);});}catch(_0x34a347){console[_0x4d4af3(0xa1)](_0x34a347);}}static async['archive'](_0x4ced9c){const _0x36ab86=_0x47435c;try{return console['log'](_0x36ab86(0xb0)),!fs[_0x36ab86(0xc2)](resource_1['PROJECT_EXPORT_DIRECTORY'])&&fs[_0x36ab86(0xb8)](resource_1[_0x36ab86(0xc0)],{'recursive':!![]}),await new Promise((_0x2cdbcd,_0x10f86d)=>{const _0x59e4cc=_0x36ab86,_0x45dc5d=resource_1['PROJECT_DIRECTORY']+_0x59e4cc(0x9c),_0x5891f8=execSync(new XcodebuildCMD()[_0x59e4cc(0xa9)](_0x45dc5d)[_0x59e4cc(0xa2)](_0x59e4cc(0xbf))['archive']((0x0,path_1['join'])(resource_1[_0x59e4cc(0x9f)],_0x59e4cc(0x9e)))[_0x59e4cc(0xa7)]()['line']);let _0xa71d3c=_0x5891f8[_0x59e4cc(0xc8)]();if(_0xa71d3c[_0x59e4cc(0xab)](_0x59e4cc(0x9b))>0x0){console[_0x59e4cc(0xa1)](_0x59e4cc(0xad)),console[_0x59e4cc(0xa1)]('start\x20export');const _0x83626=execSync(new XcodebuildCMD()[_0x59e4cc(0xa0)]((0x0,path_1[_0x59e4cc(0xb2)])(resource_1[_0x59e4cc(0x9f)],_0x59e4cc(0xb9)),resource_1[_0x59e4cc(0xc0)],(0x0,path_1['join'])(resource_1[_0x59e4cc(0x9f)],_0x59e4cc(0xc9)))['allowProvisioningUpdates']()['line']);_0xa71d3c=_0x83626[_0x59e4cc(0xc8)]();if(_0xa71d3c['indexOf']('EXPORT\x20SUCCEEDED')>0x0){if(_0x4ced9c){const _0x32b289=(0x0,path_1[_0x59e4cc(0xb2)])(process[_0x59e4cc(0xc7)](),_0x4ced9c);!fs[_0x59e4cc(0xc2)](_0x32b289)&&fs[_0x59e4cc(0xb8)](_0x32b289,{'recursive':!![]}),(0x0,file_1[_0x59e4cc(0xc3)])(resource_1['PROJECT_EXPORT_DIRECTORY'],_0x32b289);}console[_0x59e4cc(0xa1)]('-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------'),_0x2cdbcd(!![]);}(0x0,semver_1[_0x59e4cc(0xa7)])(resource_1[_0x59e4cc(0x9f)]);}_0x2cdbcd(![]);});}catch(_0x2a67c8){console[_0x36ab86(0xa1)](_0x2a67c8);}}}exports['default']=Xcodebuild;class XcodebuildCMD{constructor(){this['line']='xcodebuild';}[_0x47435c(0xa9)](_0x5ceeb0){const _0x152938=_0x47435c;return this[_0x152938(0xbc)]+='\x20-project\x20'+_0x5ceeb0,this;}[_0x47435c(0xcd)](){const _0x2be521=_0x47435c;return this[_0x2be521(0xbc)]+='\x20-list',this;}['scheme'](_0x1bb356){const _0x34daa9=_0x47435c;return this[_0x34daa9(0xbc)]+=_0x34daa9(0xc4)+_0x1bb356,this;}[_0x47435c(0xa5)](_0x3fdbbf){const _0x3d1571=_0x47435c;return this['line']+=_0x3d1571(0xae)+_0x3fdbbf+_0x3d1571(0xc6),this;}[_0x47435c(0xb5)](){const _0x47f6ee=_0x47435c;return this[_0x47f6ee(0xbc)]+=_0x47f6ee(0xaf),this;}[_0x47435c(0xa6)](_0x1b4562){const _0x2f0160=_0x47435c;return this['line']+=_0x2f0160(0xba)+_0x1b4562+'\x27',this;}[_0x47435c(0xa0)](_0x44b866,_0xae9cdd,_0x30c437){const _0x5485c3=_0x47435c;return this[_0x5485c3(0xbc)]+='\x20-exportArchive\x20-archivePath\x20'+_0x44b866+'\x20-exportPath\x20'+_0xae9cdd+_0x5485c3(0xce)+_0x30c437,this;}[_0x47435c(0xa7)](){const _0x3f2b49=_0x47435c;return this[_0x3f2b49(0xbc)]+=_0x3f2b49(0xcb),this;}}exports[_0x47435c(0xb6)]=XcodebuildCMD;
1
+ 'use strict';const _0x206dec=_0xaf45;(function(_0x1f6240,_0x7295db){const _0x5a1aac=_0xaf45,_0x557bd4=_0x1f6240();while(!![]){try{const _0xdad1c2=-parseInt(_0x5a1aac(0xf6))/0x1+-parseInt(_0x5a1aac(0x108))/0x2+-parseInt(_0x5a1aac(0xe6))/0x3*(parseInt(_0x5a1aac(0xe0))/0x4)+-parseInt(_0x5a1aac(0x10b))/0x5*(-parseInt(_0x5a1aac(0xdf))/0x6)+-parseInt(_0x5a1aac(0x10a))/0x7+parseInt(_0x5a1aac(0xfe))/0x8+parseInt(_0x5a1aac(0xff))/0x9*(parseInt(_0x5a1aac(0x10c))/0xa);if(_0xdad1c2===_0x7295db)break;else _0x557bd4['push'](_0x557bd4['shift']());}catch(_0x3c5564){_0x557bd4['push'](_0x557bd4['shift']());}}}(_0x2aa5,0xd3370));function _0x2aa5(){const _0x54d4ff=['\x20-exportOptionsPlist\x20','2963456vJUZYP','279bNPpKO','project','\x20-project\x20','__esModule','archive','defineProperty','log','PROJECT_BUILD_DIRECTORY','start\x20export','777086tgxYsp','output','1652350aQHNrl','2605EJTnsb','204950KBjdoj','mkdirSync','web-spatial','toString','list','16866iXnJqs','1484kjaBZo','existsSync','cwd','PROJECT_DIRECTORY','ARCHIVE\x20SUCCEEDED','-------------------\x20EXPORT\x20SUCCEEDED\x20-------------------','6759GXCBXV','copyDir','semver','indexOf','../resource','allowProvisioningUpdates','clean','line','PROJECT_EXPORT_DIRECTORY','\x20-scheme\x20','default','start\x20archive','/web-spatial.xcodeproj','\x20-exportPath\x20','scheme','\x20clean','144716oAJNNh','child_process','./pack','-------------------\x20ARCHIVE\x20SUCCEEDED\x20-------------------','ExportOptions.plist','XcodebuildCMD','join'];_0x2aa5=function(){return _0x54d4ff;};return _0x2aa5();}Object[_0x206dec(0x104)](exports,_0x206dec(0x102),{'value':!![]}),exports[_0x206dec(0xfb)]=void 0x0;const fs=require('fs'),path_1=require('path'),resource_1=require(_0x206dec(0xea)),semver_1=require(_0x206dec(0xe8)),file_1=require('../resource/file'),{execSync,exec}=require(_0x206dec(0xf7));class Xcodebuild{static async['project'](){const _0x13cf9e=_0x206dec;try{await new Promise((_0x2aa1cf,_0x21fd5f)=>{const _0x1033d5=_0xaf45,_0x4a90a2=resource_1[_0x1033d5(0xe3)]+_0x1033d5(0xf2),_0x4e3ad2=execSync(new XcodebuildCMD()[_0x1033d5(0x100)](_0x4a90a2)[_0x1033d5(0xde)]()[_0x1033d5(0xed)]);console[_0x1033d5(0x105)](_0x4e3ad2[_0x1033d5(0xdd)]()),_0x2aa1cf(_0x4e3ad2);});}catch(_0x2ec05a){console[_0x13cf9e(0x105)](_0x2ec05a);}}static async[_0x206dec(0xde)](){const _0x274db6=_0x206dec;try{await new Promise((_0x2f54a3,_0x5970a3)=>{const _0x174265=_0xaf45,_0x57446c=resource_1[_0x174265(0xe3)]+'/web-spatial.xcodeproj',_0x34c069=execSync(new XcodebuildCMD()[_0x174265(0x100)](_0x57446c)[_0x174265(0xde)]()['line']);console[_0x174265(0x105)](_0x34c069[_0x174265(0xdd)]()),_0x2f54a3(_0x34c069);});}catch(_0xc241c4){console[_0x274db6(0x105)](_0xc241c4);}}static async[_0x206dec(0x103)](_0xc61d09){const _0x30ba12=_0x206dec;try{return console[_0x30ba12(0x105)](_0x30ba12(0xf1)),!fs[_0x30ba12(0xe1)](resource_1[_0x30ba12(0xee)])&&fs[_0x30ba12(0xdb)](resource_1['PROJECT_EXPORT_DIRECTORY'],{'recursive':!![]}),await new Promise((_0x17e984,_0x23ac27)=>{const _0x1fce01=_0x30ba12,_0x4acd1c=resource_1[_0x1fce01(0xe3)]+_0x1fce01(0xf2),_0x469245=execSync(new XcodebuildCMD()[_0x1fce01(0x100)](_0x4acd1c)[_0x1fce01(0xf4)](_0x1fce01(0xdc))['archive']((0x0,path_1[_0x1fce01(0xfc)])(resource_1[_0x1fce01(0x106)],_0x1fce01(0xf8)))[_0x1fce01(0xec)]()['line']);let _0xbc8608=_0x469245['toString']();if(_0xbc8608[_0x1fce01(0xe9)](_0x1fce01(0xe4))>0x0){console[_0x1fce01(0x105)](_0x1fce01(0xf9)),console[_0x1fce01(0x105)](_0x1fce01(0x107));const _0x587be4=execSync(new XcodebuildCMD()[_0x1fce01(0x109)]((0x0,path_1[_0x1fce01(0xfc)])(resource_1[_0x1fce01(0x106)],'pack.xcarchive'),resource_1['PROJECT_EXPORT_DIRECTORY'],(0x0,path_1['join'])(resource_1[_0x1fce01(0x106)],_0x1fce01(0xfa)))['allowProvisioningUpdates']()['line']);_0xbc8608=_0x587be4[_0x1fce01(0xdd)]();if(_0xbc8608[_0x1fce01(0xe9)]('EXPORT\x20SUCCEEDED')>0x0){if(_0xc61d09){const _0x8ce001=(0x0,path_1[_0x1fce01(0xfc)])(process[_0x1fce01(0xe2)](),_0xc61d09);!fs[_0x1fce01(0xe1)](_0x8ce001)&&fs[_0x1fce01(0xdb)](_0x8ce001,{'recursive':!![]}),(0x0,file_1[_0x1fce01(0xe7)])(resource_1[_0x1fce01(0xee)],_0x8ce001);}console['log'](_0x1fce01(0xe5)),_0x17e984(!![]);}(0x0,semver_1['clean'])(resource_1[_0x1fce01(0x106)]);}_0x17e984(![]);});}catch(_0x46929d){console[_0x30ba12(0x105)](_0x46929d);}}}exports[_0x206dec(0xf0)]=Xcodebuild;function _0xaf45(_0x130760,_0x3869da){const _0x2aa5ad=_0x2aa5();return _0xaf45=function(_0xaf45c5,_0x2b02fa){_0xaf45c5=_0xaf45c5-0xdb;let _0x3b66e3=_0x2aa5ad[_0xaf45c5];return _0x3b66e3;},_0xaf45(_0x130760,_0x3869da);}class XcodebuildCMD{constructor(){const _0x590981=_0x206dec;this[_0x590981(0xed)]='xcodebuild';}[_0x206dec(0x100)](_0x51d0ed){const _0x5b732e=_0x206dec;return this['line']+=_0x5b732e(0x101)+_0x51d0ed,this;}[_0x206dec(0xde)](){const _0x464e68=_0x206dec;return this[_0x464e68(0xed)]+='\x20-list',this;}[_0x206dec(0xf4)](_0x305fe8){const _0x28df03=_0x206dec;return this[_0x28df03(0xed)]+=_0x28df03(0xef)+_0x305fe8,this;}[_0x206dec(0x103)](_0x5941fe){const _0x716c07=_0x206dec;return this[_0x716c07(0xed)]+='\x20-archivePath\x20'+_0x5941fe+'\x20archive',this;}[_0x206dec(0xeb)](){const _0x4c864c=_0x206dec;return this[_0x4c864c(0xed)]+='\x20-allowProvisioningUpdates',this;}['destination'](_0x268fab){const _0x3a2cc7=_0x206dec;return this[_0x3a2cc7(0xed)]+='\x20-destination\x20\x27'+_0x268fab+'\x27',this;}['output'](_0x28c797,_0x331eb3,_0x1013e8){const _0x12b23d=_0x206dec;return this['line']+='\x20-exportArchive\x20-archivePath\x20'+_0x28c797+_0x12b23d(0xf3)+_0x331eb3+_0x12b23d(0xfd)+_0x1013e8,this;}[_0x206dec(0xec)](){const _0x189c86=_0x206dec;return this[_0x189c86(0xed)]+=_0x189c86(0xf5),this;}}exports[_0x206dec(0xfb)]=XcodebuildCMD;
@@ -1 +1 @@
1
- 'use strict';const _0xe17257=_0x5ec2;function _0xc745(){const _0x3bd75e=['pbxTargetByName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','manifestSwiftTemplate','bindIcon','mkdirSync','PROJECT_DIRECTORY','resizability','SceneResizability','updateDeeplink','Contents.json','json','../resource/imageHelper','3696324nMOtaH','existsSync','join','.standalone','updateTeamId','stringify','length','defaultSize','project','BACK_APPICON_DIRECTORY','./web-spatial/libs/webView/manifest.swift','9OCLPjZ','writeFileSync','writeSync','.minimal','path','modifySwift','modify','ExportOptions.plist','xcode','log','url','2943316qvrcbh','pbxXCBuildConfigurationSection','buildType','icon.','loadJsonFromDisk','protocol','Description','../resource','PRODUCT_BUNDLE_IDENTIFIER','ImageHelper','MIDDLE_APPICON_DIRECTORY','getMIME','fixProjectFunction','test','hash','3026807WZoeEE','13358504vWTRZP','PBXGroup','debugging','\x22automatic\x22','PWAProtocol(protocolValue:\x20\x22','buildSettings','icon.png','./web-spatial/Info.plist','updateVersion','icon','updateBuildProperty','\x22,\x20url:\x20\x22','protocol_handlers','object','1280','AppID','mainScene','1.0','CURRENT_PROJECT_VERSION','scope','../resource/load','1153646xYvJVW','enterprise','writeAsync','BUILDTYPE','AppName','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','buildConfigurations','DEVELOPMENT_TEAM','version','PROJECT_BUILD_DIRECTORY','updateProductName','1717710dEBmYt','teamId','start_url','height','3667620qvfQes','SceneWidth','includes','release-testing','parseSync','DEEPLINK','updateExportOptions','pbxGroupByName','pbxXCConfigurationList','name','1hlgZvd','manifestInfo','buildConfigurationList','images','display','default','replace','SceneHeight','bindManifestInfo','./manifestSwiftTemplate','defineProperty'];_0xc745=function(){return _0x3bd75e;};return _0xc745();}function _0x5ec2(_0xbe8f1f,_0x2469f1){const _0xc745e8=_0xc745();return _0x5ec2=function(_0x5ec219,_0x1320ef){_0x5ec219=_0x5ec219-0x156;let _0x1641b7=_0xc745e8[_0x5ec219];return _0x1641b7;},_0x5ec2(_0xbe8f1f,_0x2469f1);}(function(_0x36dfcd,_0x13f4d5){const _0x321d7c=_0x5ec2,_0x568413=_0x36dfcd();while(!![]){try{const _0xfa5a2a=-parseInt(_0x321d7c(0x162))/0x1*(parseInt(_0x321d7c(0x1b4))/0x2)+parseInt(_0x321d7c(0x1bf))/0x3+-parseInt(_0x321d7c(0x18f))/0x4+parseInt(_0x321d7c(0x158))/0x5+-parseInt(_0x321d7c(0x179))/0x6+-parseInt(_0x321d7c(0x19e))/0x7+-parseInt(_0x321d7c(0x19f))/0x8*(-parseInt(_0x321d7c(0x184))/0x9);if(_0xfa5a2a===_0x13f4d5)break;else _0x568413['push'](_0x568413['shift']());}catch(_0x5e6f69){_0x568413['push'](_0x568413['shift']());}}}(_0xc745,0x96190));Object[_0xe17257(0x16c)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require(_0xe17257(0x196)),path_1=require(_0xe17257(0x188)),load_1=require(_0xe17257(0x1b3)),imageHelper_1=require(_0xe17257(0x178)),manifestSwiftTemplate_1=require(_0xe17257(0x16b)),xcode=require(_0xe17257(0x18c)),exportOptionsXML=_0xe17257(0x1b9),infoPlistXML=_0xe17257(0x16e);let useExportOptionsXML='';class XcodeProject{static async[_0xe17257(0x18a)](_0x347a2,_0x21a68f){const _0x3b3366=_0xe17257;let _0x310614=xcode[_0x3b3366(0x181)](_0x347a2);this[_0x3b3366(0x19b)](_0x310614),_0x310614[_0x3b3366(0x15c)]();let _0x209928=_0x21a68f[_0x3b3366(0x191)];const _0x1ca37c=[_0x3b3366(0x15b),'app-store-connect',_0x3b3366(0x1a1),_0x3b3366(0x1b5)];useExportOptionsXML=exportOptionsXML[_0x3b3366(0x168)](_0x3b3366(0x1b7),_0x1ca37c[_0x3b3366(0x15a)](_0x209928)?_0x209928:_0x3b3366(0x15b));_0x21a68f[_0x3b3366(0x1c0)]&&this[_0x3b3366(0x17d)](_0x310614,_0x21a68f[_0x3b3366(0x1c0)]);this[_0x3b3366(0x15e)](),await this[_0x3b3366(0x170)](_0x21a68f[_0x3b3366(0x1a8)]),this[_0x3b3366(0x16a)](_0x310614,_0x21a68f[_0x3b3366(0x163)][_0x3b3366(0x177)]);_0x21a68f[_0x3b3366(0x1bc)]?this[_0x3b3366(0x1a7)](_0x310614,_0x21a68f[_0x3b3366(0x1bc)]):this[_0x3b3366(0x1a7)](_0x310614,_0x3b3366(0x1b0));try{fs[_0x3b3366(0x185)](_0x347a2,_0x310614[_0x3b3366(0x186)]());}catch(_0x3c9079){console[_0x3b3366(0x18d)](_0x3c9079);}}static[_0xe17257(0x19b)](_0x30bfb1){const _0x4c09e8=_0xe17257;_0x30bfb1[_0x4c09e8(0x15f)]=function(_0x4a4f68){const _0x960169=_0x4c09e8;var _0x41df9d=this[_0x960169(0x19d)]['project']['objects'][_0x960169(0x1a0)],_0x3dba54,_0x53ca2a;for(_0x3dba54 in _0x41df9d){if(!/_comment$/[_0x960169(0x19c)](_0x3dba54))continue;if(_0x41df9d[_0x3dba54]==_0x4a4f68)return _0x53ca2a=_0x3dba54['split'](/_comment$/)[0x0],_0x41df9d[_0x53ca2a];}return![];},_0x30bfb1[_0x4c09e8(0x1a9)]=function(_0x5135df,_0x5475a1,_0x4fcd3c,_0x17d647){const _0x2934fe=_0x4c09e8;let _0x212610=[];const _0x158231=/_comment$/;if(_0x17d647){const _0x5e7015=this[_0x2934fe(0x16d)](_0x17d647),_0x50dcba=_0x5e7015&&_0x5e7015[_0x2934fe(0x164)],_0x352760=this[_0x2934fe(0x160)]();for(const _0x46e54b in _0x352760){if(!_0x158231['test'](_0x46e54b)&&_0x50dcba===_0x46e54b){const _0xc8c811=_0x352760[_0x46e54b][_0x2934fe(0x1ba)];for(const _0x3690da of _0xc8c811){_0x212610['push'](_0x3690da['value']);}break;}}}var _0x3fe5c8=this[_0x2934fe(0x190)]();for(var _0x20df39 in _0x3fe5c8){if(!_0x158231[_0x2934fe(0x19c)](_0x20df39)){if(_0x17d647&&!_0x212610[_0x2934fe(0x15a)](_0x20df39))continue;var _0x16dea1=_0x3fe5c8[_0x20df39];(_0x4fcd3c&&_0x16dea1[_0x2934fe(0x161)]===_0x4fcd3c||!_0x4fcd3c)&&_0x16dea1[_0x2934fe(0x1a4)][_0x5135df]&&(_0x16dea1[_0x2934fe(0x1a4)][_0x5135df]=_0x5475a1);}}};}static async['bindIcon'](_0x3666fc){const _0x3dc8a0=_0xe17257;if(_0x3666fc){const _0x3e50d8=(0x0,path_1[_0x3dc8a0(0x17b)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3dc8a0(0x182)]),_0x57da72=(0x0,path_1['join'])(_0x3e50d8,_0x3dc8a0(0x176)),_0x3c3e11=_0x3dc8a0(0x192)+_0x3666fc[_0x3dc8a0(0x19a)]()[_0x3dc8a0(0x168)]('image/',''),_0x4f74f4=(0x0,path_1[_0x3dc8a0(0x17b)])(_0x3e50d8,_0x3c3e11);let _0xada4a2=await(0x0,load_1[_0x3dc8a0(0x193)])(_0x57da72);_0xada4a2[_0x3dc8a0(0x165)][0x0]['filename']=_0x3c3e11,await _0x3666fc[_0x3dc8a0(0x1b6)](_0x4f74f4),await fs[_0x3dc8a0(0x185)](_0x57da72,JSON[_0x3dc8a0(0x17e)](_0xada4a2));const _0xa90163=(0x0,path_1[_0x3dc8a0(0x17b)])(resource_1[_0x3dc8a0(0x172)],resource_1[_0x3dc8a0(0x199)]),_0x2a6351=(0x0,path_1[_0x3dc8a0(0x17b)])(_0xa90163,_0x3dc8a0(0x176)),_0x2cd38d=_0x3dc8a0(0x1a5),_0xa8046=(0x0,path_1['join'])(_0xa90163,_0x2cd38d);let _0x5f3d58=await(0x0,load_1[_0x3dc8a0(0x193)])(_0x2a6351),_0x363aa6=imageHelper_1[_0x3dc8a0(0x198)]['createImg'](0x200);_0x5f3d58[_0x3dc8a0(0x165)][0x0]['filename']=_0x2cd38d,await _0x363aa6[_0x3dc8a0(0x1b6)](_0xa8046),await fs[_0x3dc8a0(0x185)](_0x2a6351,JSON[_0x3dc8a0(0x17e)](_0x5f3d58));}}static[_0xe17257(0x17d)](_0x3955aa,_0x4ef898){const _0xb39f1=_0xe17257;_0x3955aa['updateBuildProperty'](_0xb39f1(0x1bb),_0x4ef898),useExportOptionsXML=useExportOptionsXML[_0xb39f1(0x168)]('YOURTEAMID',_0x4ef898);}static['updateExportOptions'](){const _0x38faf0=_0xe17257;!fs[_0x38faf0(0x17a)](resource_1[_0x38faf0(0x1bd)])&&fs[_0x38faf0(0x171)](resource_1[_0x38faf0(0x1bd)],{'recursive':!![]}),fs['writeFileSync']((0x0,path_1['join'])(resource_1[_0x38faf0(0x1bd)],_0x38faf0(0x18b)),useExportOptionsXML);}static['bindManifestInfo'](_0x3f0bff,_0x39b168){const _0xb156a=_0xe17257;var _0x3a9571;_0x3f0bff[_0xb156a(0x1be)](_0x39b168[_0xb156a(0x161)]),_0x3f0bff[_0xb156a(0x1a9)](_0xb156a(0x197),'\x22'+_0x39b168['id']+'\x22'),this[_0xb156a(0x175)]((_0x3a9571=_0x39b168['protocol_handlers'])!==null&&_0x3a9571!==void 0x0?_0x3a9571:[]),this[_0xb156a(0x189)](_0x39b168);}static[_0xe17257(0x1a7)](_0x538a29,_0x54423c){const _0x4839c7=_0xe17257;_0x538a29[_0x4839c7(0x1a9)](_0x4839c7(0x1b1),_0x54423c);}static['updateDeeplink'](_0x347854){const _0x54ede9=_0xe17257;let _0x26233a=(0x0,path_1['join'])(resource_1[_0x54ede9(0x172)],_0x54ede9(0x1a6)),_0x1bbd92='';for(let _0x1f1027=0x0;_0x1f1027<_0x347854[_0x54ede9(0x17f)];_0x1f1027++){_0x1bbd92+='<string>'+_0x347854[_0x1f1027][_0x54ede9(0x194)]+'</string>';}const _0x36c845=infoPlistXML[_0x54ede9(0x168)](_0x54ede9(0x15d),_0x1bbd92);fs[_0x54ede9(0x185)](_0x26233a,_0x36c845);}static['modifySwift'](_0x5ada69){const _0x42239e=_0xe17257,_0x437c37=(0x0,path_1['join'])(resource_1[_0x42239e(0x172)],_0x42239e(0x183));let _0x44df6d=manifestSwiftTemplate_1[_0x42239e(0x16f)];_0x44df6d=_0x44df6d[_0x42239e(0x168)]('START_URL',_0x5ada69[_0x42239e(0x156)]),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('SCOPE',_0x5ada69[_0x42239e(0x1b2)]),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x1b8),_0x5ada69['name']),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x195),_0x5ada69['description']),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x1ae),_0x5ada69['id']),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x187),_0x5ada69[_0x42239e(0x166)]=='minimal-ui'?_0x42239e(0x187):_0x42239e(0x17c));if(_0x5ada69['protocol_handlers']){let _0x2378d8='';for(let _0x221ccb=0x0;_0x221ccb<_0x5ada69[_0x42239e(0x1ab)][_0x42239e(0x17f)];_0x221ccb++){_0x2378d8+=_0x42239e(0x1a3)+_0x5ada69['protocol_handlers'][_0x221ccb]['protocol']+_0x42239e(0x1aa)+_0x5ada69[_0x42239e(0x1ab)][_0x221ccb][_0x42239e(0x18e)]+'\x22),';}_0x44df6d=_0x44df6d[_0x42239e(0x168)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x2378d8);}typeof _0x5ada69[_0x42239e(0x1af)]===_0x42239e(0x1ac)?(_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x159),_0x5ada69['mainScene'][_0x42239e(0x180)]['width']),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('SceneHeight',_0x5ada69[_0x42239e(0x1af)][_0x42239e(0x180)][_0x42239e(0x157)]),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x174),'\x22'+_0x5ada69['mainScene'][_0x42239e(0x173)]+'\x22'),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('USE_MAIN_SCENE','true')):(_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x159),_0x42239e(0x1ad)),_0x44df6d=_0x44df6d[_0x42239e(0x168)](_0x42239e(0x169),_0x42239e(0x1ad)),_0x44df6d=_0x44df6d['replace'](_0x42239e(0x174),_0x42239e(0x1a2)),_0x44df6d=_0x44df6d[_0x42239e(0x168)]('USE_MAIN_SCENE','false')),fs[_0x42239e(0x185)](_0x437c37,_0x44df6d,'utf-8');}}exports[_0xe17257(0x167)]=XcodeProject;
1
+ 'use strict';function _0x2735(){const _0x2455a2=['<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>destination</key>\x0a\x09<string>export</string>\x0a\x09<key>method</key>\x0a\x09<string>BUILDTYPE</string>\x0a\x09<key>signingStyle</key>\x0a\x09<string>automatic</string>\x0a\x09<key>stripSwiftSymbols</key>\x0a\x09<true/>\x0a\x09<key>teamID</key>\x0a\x09<string>YOURTEAMID</string>\x0a\x09<key>thinning</key>\x0a\x09<string>&lt;none&gt;</string>\x0a</dict>\x0a</plist>','updateBuildProperty','MIDDLE_APPICON_DIRECTORY','hash','507669lNGOWX','YOURTEAMID','.standalone','writeFileSync','SceneWidth','createImg','true','name','loadJsonFromDisk','AppID','includes','updateTeamId','PROJECT_BUILD_DIRECTORY','images','parseSync','xcode','USE_MAIN_SCENE','PBXGroup','1122054nleHHl','modifySwift','updateVersion','updateExportOptions','\x22,\x20url:\x20\x22','Description','updateProductName','resizability','push','join','PROJECT_DIRECTORY','pbxGroupByName','mainScene','SceneHeight','image/','buildSettings','AppName','buildConfigurationList','BACK_APPICON_DIRECTORY','value','stringify','2030409GLRXKi','Contents.json','updateDeeplink','debugging','log','project','CURRENT_PROJECT_VERSION','display','false','buildType','\x22automatic\x22','498480OWNQmS','path','icon.png','replace','pbxXCConfigurationList','scope','minimal-ui','width','enterprise','defaultSize','writeAsync','teamId','protocol','writeSync','DEEPLINK','5dwZuZh','description','29403ScakRS','<?xml\x20version=\x221.0\x22\x20encoding=\x22UTF-8\x22?>\x0a<!DOCTYPE\x20plist\x20PUBLIC\x20\x22-//Apple//DTD\x20PLIST\x201.0//EN\x22\x20\x22http://www.apple.com/DTDs/PropertyList-1.0.dtd\x22>\x0a<plist\x20version=\x221.0\x22>\x0a<dict>\x0a\x09<key>ITSAppUsesNonExemptEncryption</key>\x0a\x09<false/>\x0a\x09<key>CFBundleURLTypes</key>\x0a\x09<array>\x0a\x09\x09<dict>\x0a\x09\x09\x09<key>CFBundleURLName</key>\x0a\x09\x09\x09<string>web-spatial</string>\x0a\x09\x09\x09<key>CFBundleURLSchemes</key>\x0a\x09\x09\x09<array>\x0a\x09\x09\x09\x09DEEPLINK\x0a\x09\x09\x09</array>\x0a\x09\x09</dict>\x0a\x09</array>\x0a\x09<key>NSAppTransportSecurity</key>\x0a\x09<dict>\x0a\x09\x09<key>NSAllowsArbitraryLoads</key>\x0a\x09\x09<true/>\x0a\x09</dict>\x0a\x09<key>UIApplicationSceneManifest</key>\x0a\x09<dict>\x0a\x09\x09<key>UIApplicationPreferredDefaultSceneSessionRole</key>\x0a\x09\x09<string>UIWindowSceneSessionRoleApplication</string>\x0a\x09\x09<key>UIApplicationSupportsMultipleScenes</key>\x0a\x09\x09<true/>\x0a\x09\x09<key>UISceneConfigurations</key>\x0a\x09\x09<dict/>\x0a\x09</dict>\x0a</dict>\x0a</plist>\x0a','PWAProtocol(protocolValue:\x20\x22','test','DEVELOPMENT_TEAM','manifestInfo','PRODUCT_BUNDLE_IDENTIFIER','20Sqvcwh','existsSync','BUILDTYPE','pbxXCBuildConfigurationSection','protocol_handlers','bindManifestInfo','length','filename','SceneResizability','fixProjectFunction','default','icon','mkdirSync','getMIME','4bhHhnA','<string>','310614XiZLuW','281939vrkzkY','../resource/imageHelper','defineProperty','release-testing','manifestSwiftTemplate','bindIcon','./web-spatial/libs/webView/manifest.swift'];_0x2735=function(){return _0x2455a2;};return _0x2735();}const _0x5de2f3=_0x26f5;(function(_0x4344f4,_0x52fe02){const _0x44ce61=_0x26f5,_0x39198c=_0x4344f4();while(!![]){try{const _0x5b1ca7=parseInt(_0x44ce61(0x1fe))/0x1+parseInt(_0x44ce61(0x215))/0x2+-parseInt(_0x44ce61(0x221))/0x3*(-parseInt(_0x44ce61(0x213))/0x4)+parseInt(_0x44ce61(0x1fc))/0x5*(parseInt(_0x44ce61(0x1cd))/0x6)+-parseInt(_0x44ce61(0x216))/0x7+parseInt(_0x44ce61(0x1ed))/0x8+-parseInt(_0x44ce61(0x1e2))/0x9*(parseInt(_0x44ce61(0x205))/0xa);if(_0x5b1ca7===_0x52fe02)break;else _0x39198c['push'](_0x39198c['shift']());}catch(_0x1602fb){_0x39198c['push'](_0x39198c['shift']());}}}(_0x2735,0x1b49d));Object[_0x5de2f3(0x218)](exports,'__esModule',{'value':!![]});const fs=require('fs'),resource_1=require('../resource'),path_1=require(_0x5de2f3(0x1ee)),load_1=require('../resource/load'),imageHelper_1=require(_0x5de2f3(0x217)),manifestSwiftTemplate_1=require('./manifestSwiftTemplate'),xcode=require(_0x5de2f3(0x230)),exportOptionsXML=_0x5de2f3(0x21d),infoPlistXML=_0x5de2f3(0x1ff);let useExportOptionsXML='';function _0x26f5(_0x8f2dee,_0xc7bde6){const _0x2735aa=_0x2735();return _0x26f5=function(_0x26f539,_0x9c3904){_0x26f539=_0x26f539-0x1cd;let _0x32a18c=_0x2735aa[_0x26f539];return _0x32a18c;},_0x26f5(_0x8f2dee,_0xc7bde6);}class XcodeProject{static async['modify'](_0x5d6917,_0x4e9768){const _0x1048ed=_0x5de2f3;let _0x4f70b3=xcode[_0x1048ed(0x1e7)](_0x5d6917);this[_0x1048ed(0x20e)](_0x4f70b3),_0x4f70b3[_0x1048ed(0x22f)]();let _0x1dc3be=_0x4e9768[_0x1048ed(0x1eb)];const _0x40be81=[_0x1048ed(0x219),'app-store-connect',_0x1048ed(0x1e5),_0x1048ed(0x1f5)];useExportOptionsXML=exportOptionsXML['replace'](_0x1048ed(0x207),_0x40be81[_0x1048ed(0x22b)](_0x1dc3be)?_0x1dc3be:'release-testing');_0x4e9768[_0x1048ed(0x1f8)]&&this[_0x1048ed(0x22c)](_0x4f70b3,_0x4e9768[_0x1048ed(0x1f8)]);this[_0x1048ed(0x1d0)](),await this[_0x1048ed(0x21b)](_0x4e9768[_0x1048ed(0x210)]),this['bindManifestInfo'](_0x4f70b3,_0x4e9768[_0x1048ed(0x203)]['json']);_0x4e9768['version']?this['updateVersion'](_0x4f70b3,_0x4e9768['version']):this[_0x1048ed(0x1cf)](_0x4f70b3,'1.0');try{fs[_0x1048ed(0x224)](_0x5d6917,_0x4f70b3[_0x1048ed(0x1fa)]());}catch(_0x5db888){console[_0x1048ed(0x1e6)](_0x5db888);}}static[_0x5de2f3(0x20e)](_0x17379e){const _0x41bcd7=_0x5de2f3;_0x17379e[_0x41bcd7(0x1d8)]=function(_0x3e2cd8){const _0x1a163c=_0x41bcd7;var _0x10ae86=this[_0x1a163c(0x220)][_0x1a163c(0x1e7)]['objects'][_0x1a163c(0x232)],_0x15f4cc,_0x1de164;for(_0x15f4cc in _0x10ae86){if(!/_comment$/[_0x1a163c(0x201)](_0x15f4cc))continue;if(_0x10ae86[_0x15f4cc]==_0x3e2cd8)return _0x1de164=_0x15f4cc['split'](/_comment$/)[0x0],_0x10ae86[_0x1de164];}return![];},_0x17379e['updateBuildProperty']=function(_0x1c4e6c,_0x4ccc47,_0x3b11f1,_0x35d5a6){const _0x2c80af=_0x41bcd7;let _0x3237e4=[];const _0x1cd86d=/_comment$/;if(_0x35d5a6){const _0x4a1159=this['pbxTargetByName'](_0x35d5a6),_0x1bc186=_0x4a1159&&_0x4a1159[_0x2c80af(0x1de)],_0x4f6578=this[_0x2c80af(0x1f1)]();for(const _0x4be2bf in _0x4f6578){if(!_0x1cd86d[_0x2c80af(0x201)](_0x4be2bf)&&_0x1bc186===_0x4be2bf){const _0x3d728a=_0x4f6578[_0x4be2bf]['buildConfigurations'];for(const _0x587ede of _0x3d728a){_0x3237e4[_0x2c80af(0x1d5)](_0x587ede[_0x2c80af(0x1e0)]);}break;}}}var _0x3d1e26=this[_0x2c80af(0x208)]();for(var _0x402ff5 in _0x3d1e26){if(!_0x1cd86d[_0x2c80af(0x201)](_0x402ff5)){if(_0x35d5a6&&!_0x3237e4[_0x2c80af(0x22b)](_0x402ff5))continue;var _0x106955=_0x3d1e26[_0x402ff5];(_0x3b11f1&&_0x106955[_0x2c80af(0x228)]===_0x3b11f1||!_0x3b11f1)&&_0x106955[_0x2c80af(0x1dc)][_0x1c4e6c]&&(_0x106955[_0x2c80af(0x1dc)][_0x1c4e6c]=_0x4ccc47);}}};}static async[_0x5de2f3(0x21b)](_0x1873f9){const _0x3a2d1b=_0x5de2f3;if(_0x1873f9){const _0x2e2d30=(0x0,path_1[_0x3a2d1b(0x1d6)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3a2d1b(0x1df)]),_0x226750=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2e2d30,_0x3a2d1b(0x1e3)),_0xb464c0='icon.'+_0x1873f9[_0x3a2d1b(0x212)]()[_0x3a2d1b(0x1f0)](_0x3a2d1b(0x1db),''),_0x56c605=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2e2d30,_0xb464c0);let _0x41ae13=await(0x0,load_1[_0x3a2d1b(0x229)])(_0x226750);_0x41ae13['images'][0x0]['filename']=_0xb464c0,await _0x1873f9['writeAsync'](_0x56c605),await fs[_0x3a2d1b(0x224)](_0x226750,JSON[_0x3a2d1b(0x1e1)](_0x41ae13));const _0x2abeff=(0x0,path_1[_0x3a2d1b(0x1d6)])(resource_1['PROJECT_DIRECTORY'],resource_1[_0x3a2d1b(0x21f)]),_0x30a52f=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2abeff,_0x3a2d1b(0x1e3)),_0x59a042=_0x3a2d1b(0x1ef),_0x427a8e=(0x0,path_1[_0x3a2d1b(0x1d6)])(_0x2abeff,_0x59a042);let _0x57663d=await(0x0,load_1[_0x3a2d1b(0x229)])(_0x30a52f),_0x38b3a9=imageHelper_1['ImageHelper'][_0x3a2d1b(0x226)](0x200);_0x57663d[_0x3a2d1b(0x22e)][0x0][_0x3a2d1b(0x20c)]=_0x59a042,await _0x38b3a9[_0x3a2d1b(0x1f7)](_0x427a8e),await fs[_0x3a2d1b(0x224)](_0x30a52f,JSON[_0x3a2d1b(0x1e1)](_0x57663d));}}static[_0x5de2f3(0x22c)](_0x3ecd65,_0x591710){const _0x551037=_0x5de2f3;_0x3ecd65[_0x551037(0x21e)](_0x551037(0x202),_0x591710),useExportOptionsXML=useExportOptionsXML[_0x551037(0x1f0)](_0x551037(0x222),_0x591710);}static[_0x5de2f3(0x1d0)](){const _0x5ba722=_0x5de2f3;!fs[_0x5ba722(0x206)](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x5ba722(0x211)](resource_1[_0x5ba722(0x22d)],{'recursive':!![]}),fs[_0x5ba722(0x224)]((0x0,path_1[_0x5ba722(0x1d6)])(resource_1[_0x5ba722(0x22d)],'ExportOptions.plist'),useExportOptionsXML);}static[_0x5de2f3(0x20a)](_0x366d4a,_0x2b9bc7){const _0x3e5825=_0x5de2f3;var _0xa8f574;_0x366d4a[_0x3e5825(0x1d3)](_0x2b9bc7[_0x3e5825(0x228)]),_0x366d4a[_0x3e5825(0x21e)](_0x3e5825(0x204),'\x22'+_0x2b9bc7['id']+'\x22'),this[_0x3e5825(0x1e4)]((_0xa8f574=_0x2b9bc7[_0x3e5825(0x209)])!==null&&_0xa8f574!==void 0x0?_0xa8f574:[]),this['modifySwift'](_0x2b9bc7);}static['updateVersion'](_0x27ab89,_0x37fd0e){const _0x21405f=_0x5de2f3;_0x27ab89[_0x21405f(0x21e)](_0x21405f(0x1e8),_0x37fd0e);}static[_0x5de2f3(0x1e4)](_0x2da026){const _0x295342=_0x5de2f3;let _0x2e9c1b=(0x0,path_1[_0x295342(0x1d6)])(resource_1[_0x295342(0x1d7)],'./web-spatial/Info.plist'),_0x2bec8a='';for(let _0xde9f34=0x0;_0xde9f34<_0x2da026[_0x295342(0x20b)];_0xde9f34++){_0x2bec8a+=_0x295342(0x214)+_0x2da026[_0xde9f34]['protocol']+'</string>';}const _0x4a15fe=infoPlistXML[_0x295342(0x1f0)](_0x295342(0x1fb),_0x2bec8a);fs[_0x295342(0x224)](_0x2e9c1b,_0x4a15fe);}static[_0x5de2f3(0x1ce)](_0x2a22df){const _0x4f03a7=_0x5de2f3,_0x53d2f5=(0x0,path_1[_0x4f03a7(0x1d6)])(resource_1['PROJECT_DIRECTORY'],_0x4f03a7(0x21c));let _0x530b83=manifestSwiftTemplate_1[_0x4f03a7(0x21a)];_0x530b83=_0x530b83['replace']('START_URL',_0x2a22df['start_url']),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)]('SCOPE',_0x2a22df[_0x4f03a7(0x1f2)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x1dd),_0x2a22df[_0x4f03a7(0x228)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x1d2),_0x2a22df[_0x4f03a7(0x1fd)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x22a),_0x2a22df['id']),_0x530b83=_0x530b83['replace']('.minimal',_0x2a22df[_0x4f03a7(0x1e9)]==_0x4f03a7(0x1f3)?'.minimal':_0x4f03a7(0x223));if(_0x2a22df[_0x4f03a7(0x209)]){let _0x1a71d3='';for(let _0x2624fe=0x0;_0x2624fe<_0x2a22df[_0x4f03a7(0x209)][_0x4f03a7(0x20b)];_0x2624fe++){_0x1a71d3+=_0x4f03a7(0x200)+_0x2a22df['protocol_handlers'][_0x2624fe][_0x4f03a7(0x1f9)]+_0x4f03a7(0x1d1)+_0x2a22df[_0x4f03a7(0x209)][_0x2624fe]['url']+'\x22),';}_0x530b83=_0x530b83[_0x4f03a7(0x1f0)]('PWAProtocol(protocolValue:\x20\x22\x22,\x20url:\x20\x22\x22)',_0x1a71d3);}typeof _0x2a22df['mainScene']==='object'?(_0x530b83=_0x530b83['replace']('SceneWidth',_0x2a22df[_0x4f03a7(0x1d9)][_0x4f03a7(0x1f6)][_0x4f03a7(0x1f4)]),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x1da),_0x2a22df[_0x4f03a7(0x1d9)][_0x4f03a7(0x1f6)]['height']),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x20d),'\x22'+_0x2a22df['mainScene'][_0x4f03a7(0x1d4)]+'\x22'),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x231),_0x4f03a7(0x227))):(_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x225),'1280'),_0x530b83=_0x530b83['replace'](_0x4f03a7(0x1da),'1280'),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)](_0x4f03a7(0x20d),_0x4f03a7(0x1ec)),_0x530b83=_0x530b83[_0x4f03a7(0x1f0)]('USE_MAIN_SCENE',_0x4f03a7(0x1ea))),fs[_0x4f03a7(0x224)](_0x53d2f5,_0x530b83,'utf-8');}}exports[_0x5de2f3(0x20f)]=XcodeProject;
@@ -1 +1 @@
1
- 'use strict';const _0x280bfa=_0x3477;(function(_0x28c0df,_0x1d3209){const _0x2a0141=_0x3477,_0x454b1a=_0x28c0df();while(!![]){try{const _0x221ea0=parseInt(_0x2a0141(0x192))/0x1+parseInt(_0x2a0141(0x198))/0x2+-parseInt(_0x2a0141(0x1a1))/0x3*(-parseInt(_0x2a0141(0x1d3))/0x4)+-parseInt(_0x2a0141(0x190))/0x5+parseInt(_0x2a0141(0x1c4))/0x6+parseInt(_0x2a0141(0x1c2))/0x7+-parseInt(_0x2a0141(0x19c))/0x8*(parseInt(_0x2a0141(0x1ce))/0x9);if(_0x221ea0===_0x1d3209)break;else _0x454b1a['push'](_0x454b1a['shift']());}catch(_0x1ba51b){_0x454b1a['push'](_0x454b1a['shift']());}}}(_0x197c,0x193c8));Object['defineProperty'](exports,_0x280bfa(0x1a7),{'value':!![]});const child_process_1=require(_0x280bfa(0x19b)),resource_1=require('../resource'),path_1=require(_0x280bfa(0x1d8)),fs=require('fs'),xcodebuild_1=require(_0x280bfa(0x1ca));function _0x197c(){const _0x58e5ca=['appleId','.app','authApi','xcrun','runWithSimulator','install','launch\x20app','listDevices','length','\x20--bundle-version\x20','\x20--apple-id\x20','\x20list\x20devices\x20\x22','log','1282134cNewTT','platform','99066ySsEKs','\x20--verbose','push','default','execSync','state','./xcodebuild','--\x20visionOS','\x27\x20-derivedDataPath\x20','install\x20success','502011vrpGZa','project','existsSync','\x20-t\x20','uploadApp','163836jnrEmx','visionos','deviceId','\x20list','altool','path','open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/','mkdirSync','576410SDpyqU','includes','162332ZMUlzt','split','find\x20simulator:\x20','shutdown','\x20boot\x20\x22','build\x20success','84606sgbXoK','authAccount','\x20install\x20\x22','child_process','56xRwfsY','PROJECT_DIRECTORY','\x20--upload-app\x20-f\x20','line','\x20--apiKey\x20','15pRWVtO','/test','start\x20building','simctl','\x20simctl','\x22\x20\x22','__esModule','\x20--validate-app\x20-f\x20','Booted','trim','name','PROJECT_BUILD_DIRECTORY','\x20--upload-package\x20','uploadPackage','launch','boot','validate','join','\x20launch\x20\x22','toString'];_0x197c=function(){return _0x58e5ca;};return _0x197c();}class Xcrun{static async[_0x280bfa(0x1b1)](_0x1c5d51,_0x389598,_0x4dd368,_0x16b66c){const _0x438871=_0x280bfa,_0x50aa1d=new XcrunCMD()[_0x438871(0x1d7)]();_0x50aa1d[_0x438871(0x1b1)](_0x1c5d51);_0x16b66c?_0x50aa1d[_0x438871(0x199)](_0x389598,_0x4dd368):_0x50aa1d[_0x438871(0x1b7)](_0x389598,_0x4dd368);_0x50aa1d[_0x438871(0x1c3)](_0x438871(0x1d4));const _0x12ef92=(0x0,child_process_1[_0x438871(0x1c8)])(_0x50aa1d['line']);return _0x12ef92[_0x438871(0x1b4)]();}static async['uploadPackage'](_0x414955,_0x1e0c7d,_0x2aae0a,_0x896bc1,_0x52eac8){const _0x4c15a7=_0x280bfa,_0x3a3269=new XcrunCMD()[_0x4c15a7(0x1d7)]();_0x3a3269[_0x4c15a7(0x1ae)](_0x414955);_0x52eac8?_0x3a3269[_0x4c15a7(0x199)](_0x1e0c7d,_0x2aae0a):_0x3a3269[_0x4c15a7(0x1b7)](_0x1e0c7d,_0x2aae0a);_0x3a3269[_0x4c15a7(0x1c3)](_0x4c15a7(0x1d4)),_0x3a3269['appleId'](_0x896bc1);const _0x19166c=(0x0,child_process_1[_0x4c15a7(0x1c8)])(_0x3a3269[_0x4c15a7(0x19f)]);return _0x19166c['toString']();}static async['uploadApp'](_0x38bc1f,_0x1cb1e8,_0x262111,_0x1a3390){const _0x1c565a=_0x280bfa,_0x55ad67=new XcrunCMD()[_0x1c565a(0x1d7)]();_0x55ad67[_0x1c565a(0x1d2)](_0x38bc1f);_0x1a3390?_0x55ad67[_0x1c565a(0x199)](_0x1cb1e8,_0x262111):_0x55ad67[_0x1c565a(0x1b7)](_0x1cb1e8,_0x262111);_0x55ad67[_0x1c565a(0x1c3)]('visionos');const _0x55e35b=(0x0,child_process_1[_0x1c565a(0x1c8)])(_0x55ad67[_0x1c565a(0x19f)]);return _0x55e35b[_0x1c565a(0x1b4)]();}static async[_0x280bfa(0x1b9)](_0x3b56e5){const _0x5e3b5b=_0x280bfa;let _0x393118=new XcrunCMD()[_0x5e3b5b(0x1a4)]();_0x393118[_0x5e3b5b(0x1bc)]('Apple\x20Vision\x20Pro');const _0x1f14ea=(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x393118['line']),_0x17d448=this['parseListDevices'](_0x1f14ea[_0x5e3b5b(0x1b4)]());if(_0x17d448[_0x5e3b5b(0x1bd)]===0x0)throw new Error('no\x20visionOS\x20simulator\x20found');let _0x37a2c6=_0x17d448[0x0];for(let _0x18e153=0x0;_0x18e153<_0x17d448[_0x5e3b5b(0x1bd)];_0x18e153++){if(_0x17d448[_0x18e153][_0x5e3b5b(0x1c9)]===_0x5e3b5b(0x1a9)){_0x37a2c6=_0x17d448[_0x18e153];break;}}console[_0x5e3b5b(0x1c1)](_0x5e3b5b(0x194)+_0x37a2c6[_0x5e3b5b(0x1d5)]);const _0x5db37f=resource_1[_0x5e3b5b(0x19d)]+'/web-spatial.xcodeproj',_0x3eae4c=resource_1[_0x5e3b5b(0x1ac)]+_0x5e3b5b(0x1a2);!fs[_0x5e3b5b(0x1d0)](resource_1[_0x5e3b5b(0x1ac)])&&fs['mkdirSync'](resource_1['PROJECT_BUILD_DIRECTORY'],{'recursive':!![]});!fs[_0x5e3b5b(0x1d0)](_0x3eae4c)&&fs[_0x5e3b5b(0x1da)](_0x3eae4c,{'recursive':!![]});const _0x2936d6=new xcodebuild_1['XcodebuildCMD']()[_0x5e3b5b(0x1cf)](_0x5db37f)[_0x5e3b5b(0x19f)]+('\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id='+_0x37a2c6[_0x5e3b5b(0x1d5)]+_0x5e3b5b(0x1cc)+_0x3eae4c);console[_0x5e3b5b(0x1c1)](_0x5e3b5b(0x1a3)),(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x2936d6),console[_0x5e3b5b(0x1c1)](_0x5e3b5b(0x197));_0x37a2c6['state']==='Shutdown'&&(_0x393118=new XcrunCMD()[_0x5e3b5b(0x1a4)](),_0x393118[_0x5e3b5b(0x1b0)](_0x37a2c6['deviceId']),(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x393118[_0x5e3b5b(0x19f)]));(0x0,child_process_1['execSync'])(_0x5e3b5b(0x1d9)),console[_0x5e3b5b(0x1c1)]('installing\x20app');const _0x33cb53=(0x0,path_1[_0x5e3b5b(0x1b2)])(_0x3eae4c,'Build/Products/Debug-xrsimulator/'+_0x3b56e5[_0x5e3b5b(0x1ab)]+_0x5e3b5b(0x1b6));_0x393118=new XcrunCMD()[_0x5e3b5b(0x1a4)](),_0x393118[_0x5e3b5b(0x1ba)](_0x37a2c6['deviceId'],_0x33cb53),(0x0,child_process_1['execSync'])(_0x393118[_0x5e3b5b(0x19f)]),console['log'](_0x5e3b5b(0x1cd)),console['log'](_0x5e3b5b(0x1bb)),_0x393118=new XcrunCMD()['simctl'](),_0x393118[_0x5e3b5b(0x1af)](_0x37a2c6['deviceId'],_0x3b56e5['id']),(0x0,child_process_1[_0x5e3b5b(0x1c8)])(_0x393118[_0x5e3b5b(0x19f)]);}static['parseListDevices'](_0x47642d){const _0x55a64c=_0x280bfa;let _0x1d3aaa=_0x47642d[_0x55a64c(0x193)]('\x0a'),_0x39efbc=[],_0x57e6e8=-0x1;for(let _0x2baffb=0x0;_0x2baffb<_0x1d3aaa['length'];_0x2baffb++){if(_0x1d3aaa[_0x2baffb][_0x55a64c(0x191)](_0x55a64c(0x1cb)))_0x57e6e8=_0x2baffb;else{if(_0x57e6e8>0x0){if(_0x1d3aaa[_0x2baffb][_0x55a64c(0x191)]('--\x20'))break;if(_0x1d3aaa[_0x2baffb][_0x55a64c(0x1bd)]>0x0){const _0x3a742f=_0x1d3aaa[_0x2baffb][_0x55a64c(0x193)]('('),_0x59f198={'name':_0x3a742f[0x0]['trim'](),'deviceId':_0x3a742f[0x1][_0x55a64c(0x193)](')')[0x0][_0x55a64c(0x1aa)](),'state':_0x3a742f[0x2][_0x55a64c(0x193)](')')[0x0][_0x55a64c(0x1aa)]()};_0x39efbc[_0x55a64c(0x1c6)](_0x59f198);}}}}return _0x39efbc;}}function _0x3477(_0x5cbcd7,_0x28f808){const _0x197c6a=_0x197c();return _0x3477=function(_0x34778b,_0x180e23){_0x34778b=_0x34778b-0x190;let _0x5d03b5=_0x197c6a[_0x34778b];return _0x5d03b5;},_0x3477(_0x5cbcd7,_0x28f808);}exports[_0x280bfa(0x1c7)]=Xcrun;class XcrunCMD{constructor(){const _0x10c9bf=_0x280bfa;this[_0x10c9bf(0x19f)]=_0x10c9bf(0x1b8);}[_0x280bfa(0x1d7)](){return this['line']+='\x20altool',this;}[_0x280bfa(0x1a4)](){const _0xd585c4=_0x280bfa;return this[_0xd585c4(0x19f)]+=_0xd585c4(0x1a5),this;}['list'](){const _0x2afc3a=_0x280bfa;return this[_0x2afc3a(0x19f)]+=_0x2afc3a(0x1d6),this;}['listDevices'](_0x5e98d3){const _0x38de4b=_0x280bfa;return this[_0x38de4b(0x19f)]+=_0x38de4b(0x1c0)+_0x5e98d3+'\x22',this;}['validate'](_0x3c6ad2){const _0x3a8f81=_0x280bfa;return this[_0x3a8f81(0x19f)]+=_0x3a8f81(0x1a8)+_0x3c6ad2,this;}[_0x280bfa(0x1d2)](_0x5321d2){const _0x23116b=_0x280bfa;return this[_0x23116b(0x19f)]+=_0x23116b(0x19e)+_0x5321d2,this;}[_0x280bfa(0x1ae)](_0x7bcc37){const _0x1ba6b2=_0x280bfa;return this['line']+=_0x1ba6b2(0x1ad)+_0x7bcc37,this;}['authAccount'](_0x46f71f,_0xdc7410){const _0x57f59a=_0x280bfa;return this[_0x57f59a(0x19f)]+='\x20-u\x20'+_0x46f71f+'\x20-p\x20'+_0xdc7410,this;}['authApi'](_0x184218,_0x1e7398){const _0x1cb2f9=_0x280bfa;return this[_0x1cb2f9(0x19f)]+=_0x1cb2f9(0x1a0)+_0x184218+'\x20--apiIssuer\x20'+_0x1e7398,this;}[_0x280bfa(0x1b5)](_0x3b66e2){const _0x3d30f5=_0x280bfa;return this[_0x3d30f5(0x19f)]+=_0x3d30f5(0x1bf)+_0x3b66e2,this;}[_0x280bfa(0x1c3)](_0x2ae41e){const _0x2c96c5=_0x280bfa;return this[_0x2c96c5(0x19f)]+=_0x2c96c5(0x1d1)+_0x2ae41e,this;}['version'](_0x53f7cb){const _0x3edb88=_0x280bfa;return this['line']+=_0x3edb88(0x1be)+_0x53f7cb,this;}['verbose'](){const _0x337070=_0x280bfa;return this[_0x337070(0x19f)]+=_0x337070(0x1c5),this;}[_0x280bfa(0x195)](){return this['line']+='\x20shutdown\x20booted',this;}[_0x280bfa(0x1b0)](_0x2295f5){const _0x5e8ce0=_0x280bfa;return this[_0x5e8ce0(0x19f)]+=_0x5e8ce0(0x196)+_0x2295f5+'\x22',this;}[_0x280bfa(0x1ba)](_0x2d3a19,_0x409c5){const _0x28764c=_0x280bfa;return this['line']+=_0x28764c(0x19a)+_0x2d3a19+'\x22\x20\x22'+_0x409c5+'\x22',this;}['launch'](_0x328f3f,_0x3d9291){const _0x4e1a7e=_0x280bfa;return this[_0x4e1a7e(0x19f)]+=_0x4e1a7e(0x1b3)+_0x328f3f+_0x4e1a7e(0x1a6)+_0x3d9291+'\x22',this;}}
1
+ 'use strict';const _0x5a702b=_0x529d;function _0x529d(_0x2a6ec6,_0x456501){const _0xe2840c=_0xe284();return _0x529d=function(_0x529d72,_0x32af63){_0x529d72=_0x529d72-0x14f;let _0xaf25ec=_0xe2840c[_0x529d72];return _0xaf25ec;},_0x529d(_0x2a6ec6,_0x456501);}(function(_0xe11b92,_0x37be6e){const _0x169b2d=_0x529d,_0x4a215c=_0xe11b92();while(!![]){try{const _0x11e6c6=parseInt(_0x169b2d(0x16e))/0x1+-parseInt(_0x169b2d(0x183))/0x2*(parseInt(_0x169b2d(0x175))/0x3)+-parseInt(_0x169b2d(0x156))/0x4+-parseInt(_0x169b2d(0x195))/0x5*(-parseInt(_0x169b2d(0x15a))/0x6)+parseInt(_0x169b2d(0x199))/0x7*(-parseInt(_0x169b2d(0x16b))/0x8)+-parseInt(_0x169b2d(0x185))/0x9*(-parseInt(_0x169b2d(0x177))/0xa)+parseInt(_0x169b2d(0x15b))/0xb;if(_0x11e6c6===_0x37be6e)break;else _0x4a215c['push'](_0x4a215c['shift']());}catch(_0x27b648){_0x4a215c['push'](_0x4a215c['shift']());}}}(_0xe284,0x7fdb8));Object['defineProperty'](exports,_0x5a702b(0x170),{'value':!![]});const child_process_1=require(_0x5a702b(0x17c)),resource_1=require('../resource'),path_1=require('path'),fs=require('fs'),xcodebuild_1=require(_0x5a702b(0x18f));function _0xe284(){const _0x48f7c8=['1586200VBInKG','launch\x20app','split','PROJECT_DIRECTORY','6bDhpJr','3184687LVqFWJ','\x20altool','boot','parseListDevices','simctl','push','Build/Products/Debug-xrsimulator/','log','length','validate','listDevices','\x20list','--\x20','/test','\x20--apple-id\x20','name','3502632iWOinX','\x20shutdown\x20booted','Shutdown','456835lDvNVt','\x20--upload-package\x20','__esModule','list','toString','xcrun','Booted','695901oRVGzk','project','9830hNPBuX','platform','\x20list\x20devices\x20\x22','\x20build\x20-scheme\x20web-spatial\x20-destination\x20\x27platform=visionOS\x20Simulator,id=','runWithSimulator','child_process','Apple\x20Vision\x20Pro','\x20simctl','deviceId','authApi','launch','no\x20visionOS\x20simulator\x20found','4pMjtwA','\x20-p\x20','7353uYisQu','install\x20success','\x20-u\x20','includes','install','installing\x20app','build\x20success','existsSync','\x20--apiIssuer\x20','state','./xcodebuild','\x20-t\x20','/web-spatial.xcodeproj','line','appleId','--\x20visionOS','1362770NWAgRJ','\x20--verbose','execSync','visionos','7EmegHw','trim','version','mkdirSync','verbose','join','start\x20building','\x27\x20-derivedDataPath\x20','find\x20simulator:\x20','uploadPackage','uploadApp','altool','\x20launch\x20\x22','authAccount','PROJECT_BUILD_DIRECTORY','shutdown','\x22\x20\x22'];_0xe284=function(){return _0x48f7c8;};return _0xe284();}class Xcrun{static async[_0x5a702b(0x164)](_0x6bca26,_0x3a28e2,_0x40b021,_0x292826){const _0x32ae7c=_0x5a702b,_0x3ef1d9=new XcrunCMD()['altool']();_0x3ef1d9['validate'](_0x6bca26);_0x292826?_0x3ef1d9[_0x32ae7c(0x152)](_0x3a28e2,_0x40b021):_0x3ef1d9[_0x32ae7c(0x180)](_0x3a28e2,_0x40b021);_0x3ef1d9[_0x32ae7c(0x178)](_0x32ae7c(0x198));const _0x58a025=(0x0,child_process_1[_0x32ae7c(0x197)])(_0x3ef1d9['line']);return _0x58a025[_0x32ae7c(0x172)]();}static async[_0x5a702b(0x1a2)](_0xd7d3c9,_0x114a7c,_0xc5494c,_0x2542dc,_0x3e164f){const _0x5f5121=_0x5a702b,_0xff4567=new XcrunCMD()['altool']();_0xff4567['uploadPackage'](_0xd7d3c9);_0x3e164f?_0xff4567['authAccount'](_0x114a7c,_0xc5494c):_0xff4567[_0x5f5121(0x180)](_0x114a7c,_0xc5494c);_0xff4567['platform']('visionos'),_0xff4567[_0x5f5121(0x193)](_0x2542dc);const _0x42e913=(0x0,child_process_1['execSync'])(_0xff4567[_0x5f5121(0x192)]);return _0x42e913[_0x5f5121(0x172)]();}static async['uploadApp'](_0x231a52,_0x3570dc,_0x53b153,_0x3e3a1c){const _0x4e5370=_0x5a702b,_0x4564d0=new XcrunCMD()['altool']();_0x4564d0[_0x4e5370(0x14f)](_0x231a52);_0x3e3a1c?_0x4564d0[_0x4e5370(0x152)](_0x3570dc,_0x53b153):_0x4564d0[_0x4e5370(0x180)](_0x3570dc,_0x53b153);_0x4564d0[_0x4e5370(0x178)]('visionos');const _0x5008de=(0x0,child_process_1[_0x4e5370(0x197)])(_0x4564d0[_0x4e5370(0x192)]);return _0x5008de[_0x4e5370(0x172)]();}static async[_0x5a702b(0x17b)](_0x4fe71b){const _0x988552=_0x5a702b;let _0x1273aa=new XcrunCMD()[_0x988552(0x15f)]();_0x1273aa['listDevices'](_0x988552(0x17d));const _0x131fcb=(0x0,child_process_1[_0x988552(0x197)])(_0x1273aa[_0x988552(0x192)]),_0x51118c=this['parseListDevices'](_0x131fcb[_0x988552(0x172)]());if(_0x51118c[_0x988552(0x163)]===0x0)throw new Error(_0x988552(0x182));let _0x22c2c1=_0x51118c[0x0];for(let _0x230392=0x0;_0x230392<_0x51118c[_0x988552(0x163)];_0x230392++){if(_0x51118c[_0x230392]['state']===_0x988552(0x174)){_0x22c2c1=_0x51118c[_0x230392];break;}}console['log'](_0x988552(0x1a1)+_0x22c2c1[_0x988552(0x17f)]);const _0x16dc56=resource_1[_0x988552(0x159)]+_0x988552(0x191),_0x1144c9=resource_1[_0x988552(0x153)]+_0x988552(0x168);!fs['existsSync'](resource_1['PROJECT_BUILD_DIRECTORY'])&&fs[_0x988552(0x19c)](resource_1[_0x988552(0x153)],{'recursive':!![]});!fs[_0x988552(0x18c)](_0x1144c9)&&fs[_0x988552(0x19c)](_0x1144c9,{'recursive':!![]});const _0x2679c3=new xcodebuild_1['XcodebuildCMD']()[_0x988552(0x176)](_0x16dc56)['line']+(_0x988552(0x17a)+_0x22c2c1['deviceId']+_0x988552(0x1a0)+_0x1144c9);console[_0x988552(0x162)](_0x988552(0x19f)),(0x0,child_process_1[_0x988552(0x197)])(_0x2679c3),console[_0x988552(0x162)](_0x988552(0x18b));_0x22c2c1[_0x988552(0x18e)]===_0x988552(0x16d)&&(_0x1273aa=new XcrunCMD()['simctl'](),_0x1273aa[_0x988552(0x15d)](_0x22c2c1[_0x988552(0x17f)]),(0x0,child_process_1['execSync'])(_0x1273aa['line']));(0x0,child_process_1['execSync'])('open\x20/Applications/Xcode.app/Contents/Developer/Applications/Simulator.app/'),console[_0x988552(0x162)](_0x988552(0x18a));const _0x367aa3=(0x0,path_1[_0x988552(0x19e)])(_0x1144c9,_0x988552(0x161)+_0x4fe71b[_0x988552(0x16a)]+'.app');_0x1273aa=new XcrunCMD()['simctl'](),_0x1273aa[_0x988552(0x189)](_0x22c2c1[_0x988552(0x17f)],_0x367aa3),(0x0,child_process_1[_0x988552(0x197)])(_0x1273aa['line']),console[_0x988552(0x162)](_0x988552(0x186)),console[_0x988552(0x162)](_0x988552(0x157)),_0x1273aa=new XcrunCMD()[_0x988552(0x15f)](),_0x1273aa[_0x988552(0x181)](_0x22c2c1['deviceId'],_0x4fe71b['id']),(0x0,child_process_1[_0x988552(0x197)])(_0x1273aa[_0x988552(0x192)]);}static[_0x5a702b(0x15e)](_0x1175a6){const _0x122a22=_0x5a702b;let _0x5ed060=_0x1175a6[_0x122a22(0x158)]('\x0a'),_0x10dfb3=[],_0x4bc006=-0x1;for(let _0x38b832=0x0;_0x38b832<_0x5ed060['length'];_0x38b832++){if(_0x5ed060[_0x38b832][_0x122a22(0x188)](_0x122a22(0x194)))_0x4bc006=_0x38b832;else{if(_0x4bc006>0x0){if(_0x5ed060[_0x38b832][_0x122a22(0x188)](_0x122a22(0x167)))break;if(_0x5ed060[_0x38b832]['length']>0x0){const _0x2dcbf0=_0x5ed060[_0x38b832][_0x122a22(0x158)]('('),_0x4ea510={'name':_0x2dcbf0[0x0]['trim'](),'deviceId':_0x2dcbf0[0x1]['split'](')')[0x0][_0x122a22(0x19a)](),'state':_0x2dcbf0[0x2]['split'](')')[0x0][_0x122a22(0x19a)]()};_0x10dfb3[_0x122a22(0x160)](_0x4ea510);}}}}return _0x10dfb3;}}exports['default']=Xcrun;class XcrunCMD{constructor(){const _0x5ac0a7=_0x5a702b;this[_0x5ac0a7(0x192)]=_0x5ac0a7(0x173);}[_0x5a702b(0x150)](){const _0x40c12e=_0x5a702b;return this[_0x40c12e(0x192)]+=_0x40c12e(0x15c),this;}[_0x5a702b(0x15f)](){const _0x44220c=_0x5a702b;return this[_0x44220c(0x192)]+=_0x44220c(0x17e),this;}[_0x5a702b(0x171)](){const _0x5e6b6f=_0x5a702b;return this[_0x5e6b6f(0x192)]+=_0x5e6b6f(0x166),this;}[_0x5a702b(0x165)](_0x20c1af){const _0x50cc3f=_0x5a702b;return this[_0x50cc3f(0x192)]+=_0x50cc3f(0x179)+_0x20c1af+'\x22',this;}[_0x5a702b(0x164)](_0x542eb3){const _0x482404=_0x5a702b;return this[_0x482404(0x192)]+='\x20--validate-app\x20-f\x20'+_0x542eb3,this;}[_0x5a702b(0x14f)](_0x2099f1){const _0x4e4a4a=_0x5a702b;return this[_0x4e4a4a(0x192)]+='\x20--upload-app\x20-f\x20'+_0x2099f1,this;}[_0x5a702b(0x1a2)](_0x28f1a1){const _0x566645=_0x5a702b;return this[_0x566645(0x192)]+=_0x566645(0x16f)+_0x28f1a1,this;}[_0x5a702b(0x152)](_0x5c65e5,_0x2b1491){const _0x6e0bba=_0x5a702b;return this['line']+=_0x6e0bba(0x187)+_0x5c65e5+_0x6e0bba(0x184)+_0x2b1491,this;}[_0x5a702b(0x180)](_0x5b23fd,_0x543067){const _0x702094=_0x5a702b;return this['line']+='\x20--apiKey\x20'+_0x5b23fd+_0x702094(0x18d)+_0x543067,this;}[_0x5a702b(0x193)](_0x191a5a){const _0x2f65b5=_0x5a702b;return this[_0x2f65b5(0x192)]+=_0x2f65b5(0x169)+_0x191a5a,this;}[_0x5a702b(0x178)](_0x35b3e4){const _0x4d5534=_0x5a702b;return this[_0x4d5534(0x192)]+=_0x4d5534(0x190)+_0x35b3e4,this;}[_0x5a702b(0x19b)](_0x4de909){return this['line']+='\x20--bundle-version\x20'+_0x4de909,this;}[_0x5a702b(0x19d)](){const _0x3b4801=_0x5a702b;return this['line']+=_0x3b4801(0x196),this;}[_0x5a702b(0x154)](){const _0xb7c4f4=_0x5a702b;return this[_0xb7c4f4(0x192)]+=_0xb7c4f4(0x16c),this;}[_0x5a702b(0x15d)](_0x55f6d0){return this['line']+='\x20boot\x20\x22'+_0x55f6d0+'\x22',this;}[_0x5a702b(0x189)](_0x3df05b,_0x5e36a6){const _0x3c331f=_0x5a702b;return this[_0x3c331f(0x192)]+='\x20install\x20\x22'+_0x3df05b+_0x3c331f(0x155)+_0x5e36a6+'\x22',this;}[_0x5a702b(0x181)](_0x3d500a,_0x59cd15){const _0x34ce83=_0x5a702b;return this['line']+=_0x34ce83(0x151)+_0x3d500a+_0x34ce83(0x155)+_0x59cd15+'\x22',this;}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webspatial/builder",
3
- "version": "0.0.10",
3
+ "version": "0.0.11",
4
4
  "description": "Client CLI tool to Generate XRApp project for Apple Vision Pro",
5
5
  "type": "commonjs",
6
6
  "engines": {
@@ -60,10 +60,11 @@
60
60
  "registry": "https://registry.npmjs.org"
61
61
  },
62
62
  "scripts": {
63
+ "start": "tsc -w",
63
64
  "test1": "npm run build && bin/bundlepwa.js build --manifest=../testLocal/manifest.json --project=../testLocal --export=./export --version=1.0 --teamId=teamId",
64
65
  "test2": "npm run build && bin/bundlepwa.js publish --manifest=../pack-test/pwa_test.json --project=../pack-test --version=1.0 --teamId=teamId --u=username --p=password",
65
66
  "test3": "npm run build && bin/bundlepwa.js publish --name=webspatial --version=1.0 --u=username --p=password",
66
- "test4": "npm run build && bin/bundlepwa.js dev --manifest=../pack-test/pwa_test.json --project=../pack-test --teamId=teamId",
67
+ "test4": "npm run build && bin/bundlepwa.js run --manifest=../pack-test/pwa_test.json --project=../pack-test",
67
68
  "obfuscate": "node obfuscate.js",
68
69
  "build": "tsc && npm run obfuscate",
69
70
  "build1": "rollup -c ./rollup.config.js",
@@ -1,7 +0,0 @@
1
- {
2
- "object": {
3
- "artifacts": [],
4
- "dependencies": []
5
- },
6
- "version": 6
7
- }
@@ -1,14 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3
- <plist version="1.0">
4
- <dict>
5
- <key>SchemeUserState</key>
6
- <dict>
7
- <key>RealityKitContent.xcscheme_^#shared#^_</key>
8
- <dict>
9
- <key>orderHint</key>
10
- <integer>1</integer>
11
- </dict>
12
- </dict>
13
- </dict>
14
- </plist>
@@ -1,11 +0,0 @@
1
- {
2
- "pathsToIds": {
3
- "/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/GridMaterial.usda": "CB766F92-EE55-4A63-9401-E7B8C009764D",
4
- "/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda": "65F6F990-A780-4474-B78B-572E0E4E273D",
5
- "/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda": "0A9B4653-B11E-4D6A-850E-C6FCB621626C",
6
- "/RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Untitled Scene.usda": "D560BB77-AAF3-4BDE-B7C4-989332A4688B",
7
- "RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/GridMaterial.usda": "66168B71-AB05-424E-8B6C-D33D6E61B08F",
8
- "RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Immersive.usda": "AF09ED6F-1707-48FD-8720-65B998362C09",
9
- "RealityKitContent/Sources/RealityKitContent/RealityKitContent.rkassets/Scene.usda": "D66134B1-3681-4A8E-AFE5-29F257229F3B"
10
- }
11
- }
@@ -1,112 +0,0 @@
1
- {
2
- "0A9B4653-B11E-4D6A-850E-C6FCB621626C": {
3
- "cameraTransform": [
4
- 1, 0, 0, 0, 0, 0.86602545, -0.49999994, 0, 0, 0.49999994, 0.86602545, 0,
5
- 0.0035969093, 0.35542378, 0.62919164, 1
6
- ],
7
- "objectMetadataList": [
8
- ["0A9B4653-B11E-4D6A-850E-C6FCB621626C", "Root"],
9
- {
10
- "isExpanded": true,
11
- "isLocked": false
12
- }
13
- ]
14
- },
15
- "65F6F990-A780-4474-B78B-572E0E4E273D": {
16
- "cameraTransform": [
17
- 1, 0, -0, 0, -0, 0.86602545, -0.49999988, 0, 0, 0.49999988, 0.86602545, 0,
18
- 1.1972517e-8, 2.6179132, 0.43191218, 1
19
- ],
20
- "objectMetadataList": [
21
- ["65F6F990-A780-4474-B78B-572E0E4E273D", "Root"],
22
- {
23
- "isExpanded": true,
24
- "isLocked": false
25
- }
26
- ]
27
- },
28
- "66168B71-AB05-424E-8B6C-D33D6E61B08F": {
29
- "cameraTransform": [
30
- 1, 0, -0, 0, -0, 0.8660254, -0.5, 0, 0, 0.5, 0.8660254, 0, 0, 0.23875366,
31
- 0.4135335, 1
32
- ],
33
- "objectMetadataList": [
34
- ["66168B71-AB05-424E-8B6C-D33D6E61B08F", "Root"],
35
- {
36
- "isExpanded": true,
37
- "isLocked": false
38
- }
39
- ]
40
- },
41
- "AF09ED6F-1707-48FD-8720-65B998362C09": {
42
- "cameraTransform": [
43
- 1, 0, -0, 0, -0, 0.7071069, -0.7071067, 0, 0, 0.7071067, 0.7071069, 0, 0,
44
- 2.8836339, -0.107588194, 1
45
- ],
46
- "objectMetadataList": [
47
- ["AF09ED6F-1707-48FD-8720-65B998362C09", "Root"],
48
- {
49
- "isExpanded": true,
50
- "isLocked": false
51
- },
52
- ["AF09ED6F-1707-48FD-8720-65B998362C09", "Root", "Sphere_Left"],
53
- {
54
- "isExpanded": true,
55
- "isLocked": false
56
- },
57
- ["AF09ED6F-1707-48FD-8720-65B998362C09", "Root", "Sphere_Right"],
58
- {
59
- "isExpanded": true,
60
- "isLocked": false
61
- }
62
- ]
63
- },
64
- "CB766F92-EE55-4A63-9401-E7B8C009764D": {
65
- "cameraTransform": [
66
- 1, 0, -0, 0, -0, 0.8660253, -0.5000001, 0, 0, 0.5000001, 0.8660253, 0, 0,
67
- 0.27093494, 0.4692731, 1
68
- ],
69
- "objectMetadataList": [
70
- ["CB766F92-EE55-4A63-9401-E7B8C009764D", "Root", "GridMaterial"],
71
- {
72
- "isExpanded": true,
73
- "isLocked": false
74
- },
75
- ["CB766F92-EE55-4A63-9401-E7B8C009764D", "Root"],
76
- {
77
- "isExpanded": true,
78
- "isLocked": false
79
- }
80
- ]
81
- },
82
- "D560BB77-AAF3-4BDE-B7C4-989332A4688B": {
83
- "cameraTransform": [
84
- 1, 0, -0, 0, -0, 0.8660253, -0.5000001, 0, 0, 0.5000001, 0.8660253, 0, 0,
85
- 0.27093494, 0.4692731, 1
86
- ],
87
- "objectMetadataList": []
88
- },
89
- "D66134B1-3681-4A8E-AFE5-29F257229F3B": {
90
- "cameraTransform": [
91
- 1, 0, -0, 0, -0, 0.7071069, -0.7071067, 0, 0, 0.7071067, 0.7071069, 0, 0,
92
- 0.26894823, 0.26934713, 1
93
- ],
94
- "objectMetadataList": [
95
- [
96
- "D66134B1-3681-4A8E-AFE5-29F257229F3B",
97
- "Root",
98
- "GridMaterial",
99
- "GridMaterial"
100
- ],
101
- {
102
- "isExpanded": true,
103
- "isLocked": false
104
- },
105
- ["D66134B1-3681-4A8E-AFE5-29F257229F3B", "Root"],
106
- {
107
- "isExpanded": true,
108
- "isLocked": false
109
- }
110
- ]
111
- }
112
- }
@@ -1,17 +0,0 @@
1
- {
2
- "cameraPresets" : {
3
-
4
- },
5
- "secondaryToolbarData" : {
6
- "isGridVisible" : true,
7
- "sceneReverbPreset" : -1
8
- },
9
- "unitDefaults" : {
10
- "°" : "°",
11
- "kg" : "g",
12
- "m" : "cm",
13
- "m\/s" : "m\/s",
14
- "m\/s²" : "m\/s²",
15
- "s" : "s"
16
- }
17
- }
@@ -1,27 +0,0 @@
1
- // swift-tools-version:5.9
2
- // The swift-tools-version declares the minimum version of Swift required to build this package.
3
-
4
- import PackageDescription
5
-
6
- let package = Package(
7
- name: "RealityKitContent",
8
- products: [
9
- // Products define the executables and libraries a package produces, and make them visible to other packages.
10
- .library(
11
- name: "RealityKitContent",
12
- targets: ["RealityKitContent"]
13
- ),
14
- ],
15
- dependencies: [
16
- // Dependencies declare other packages that this package depends on.
17
- // .package(url: /* package url */, from: "1.0.0"),
18
- ],
19
- targets: [
20
- // Targets are the basic building blocks of a package. A target can define a module or a test suite.
21
- // Targets can depend on other targets in this package, and on products in packages this package depends on.
22
- .target(
23
- name: "RealityKitContent",
24
- dependencies: []
25
- ),
26
- ]
27
- )
@@ -1,3 +0,0 @@
1
- # RealityKitContent
2
-
3
- A description of this package.