peachsim 0.1.2299 → 0.1.2301

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 (109) hide show
  1. package/cli/commands/control.ts +1 -0
  2. package/cli/commands/serve.ts +12 -3
  3. package/cli/commands/shell-url.ts +5 -0
  4. package/dist-lib/agent-daemon-client.cjs +1 -1
  5. package/dist-lib/agent-events.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/bundle-channel.cjs +413 -100
  17. package/dist-lib/capture-contract.cjs +1 -1
  18. package/dist-lib/capture-contract.mjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/config.mjs +1 -1
  27. package/dist-lib/detox/index.cjs +3 -2
  28. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  29. package/dist-lib/expo-swift-bundle.cjs +385 -93
  30. package/dist-lib/expo-swift-metadata.cjs +1 -1
  31. package/dist-lib/expo-swift-metadata.mjs +1 -1
  32. package/dist-lib/home-paths.cjs +1 -1
  33. package/dist-lib/host/bridge-host.cjs +2608 -102
  34. package/dist-lib/host/fetch-proxy-handler.cjs +6 -10
  35. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  36. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  37. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  38. package/dist-lib/host/websocket-proxy.cjs +1 -1
  39. package/dist-lib/index.cjs +68 -33
  40. package/dist-lib/jump-to-source-babel.cjs +1 -1
  41. package/dist-lib/jump-to-source-native.cjs +1 -1
  42. package/dist-lib/kotlin-host.cjs +1 -1
  43. package/dist-lib/menu.cjs +1 -1
  44. package/dist-lib/menu.mjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  46. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  47. package/dist-lib/metro-production-bundle.cjs +1 -1
  48. package/dist-lib/metro-production-bundle.mjs +1 -1
  49. package/dist-lib/metro.cjs +66 -32
  50. package/dist-lib/native-app-identity-project.cjs +49 -24
  51. package/dist-lib/native-app-identity-project.mjs +49 -24
  52. package/dist-lib/native-app-identity.cjs +1 -1
  53. package/dist-lib/native-app-identity.mjs +1 -1
  54. package/dist-lib/native-firebase-metadata.cjs +1 -1
  55. package/dist-lib/native-firebase-metadata.mjs +1 -1
  56. package/dist-lib/pdfium-raster.cjs +1 -1
  57. package/dist-lib/pdfium-raster.mjs +1 -1
  58. package/dist-lib/plist.cjs +1 -1
  59. package/dist-lib/plist.mjs +1 -1
  60. package/dist-lib/profiles.cjs +1 -1
  61. package/dist-lib/public-brand.cjs +1 -1
  62. package/dist-lib/public-origins-lib-esm.json +24 -24
  63. package/dist-lib/public-origins-lib.json +56 -53
  64. package/dist-lib/react-native-host-modules.cjs +1 -1
  65. package/dist-lib/react-native-host-modules.mjs +1 -1
  66. package/dist-lib/reap-browser.cjs +1 -1
  67. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  68. package/dist-lib/sdk.cjs +2 -1
  69. package/dist-lib/sdk.mjs +2 -1
  70. package/dist-lib/skills.cjs +481 -125
  71. package/dist-lib/swift-compile.cjs +40 -8
  72. package/dist-lib/swift-compile.mjs +40 -8
  73. package/dist-lib/swift-package.cjs +1 -1
  74. package/dist-lib/swift-package.mjs +1 -1
  75. package/dist-lib/swift-submit.cjs +1 -1
  76. package/dist-lib/swift-submit.mjs +1 -1
  77. package/dist-lib/swift-toolchain.cjs +1 -1
  78. package/dist-lib/swift.cjs +1 -1
  79. package/dist-lib/vite-swift.cjs +94 -37
  80. package/dist-lib/vite.cjs +12 -11
  81. package/dist-lib/worklet-executable.cjs +1 -1
  82. package/dist-lib/worklet-executable.mjs +1 -1
  83. package/dist-types/packages/peach-compat/src/stubs/native-seams/react-native-gesture-handler.d.ts +3 -0
  84. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +1 -0
  85. package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +2 -0
  86. package/dist-types/packages/peach-engine/src/render-worker/activitykit-activityContract.d.ts +17 -0
  87. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +1 -0
  88. package/dist-types/packages/peach-engine/src/render-worker/gesture-arbitration-native.d.ts +124 -0
  89. package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +4 -0
  90. package/dist-types/packages/peach-engine/src/render-worker/native-widgetContract.d.ts +3 -1
  91. package/dist-types/packages/peach-kit/src/transitions/screen-transition-math.d.ts +2 -2
  92. package/package.json +1 -1
  93. package/runtime-companion.json +1 -1
  94. package/src/bundle-channel.mjs +4 -3
  95. package/src/cli-runtime.ts +6 -0
  96. package/src/expo-discovery-cache.ts +6 -6
  97. package/src/expo-swift-host.ts +19 -4
  98. package/src/host/bridge-host.ts +9 -0
  99. package/src/launchMetadataContract.ts +1 -0
  100. package/src/native-firebase-config.ts +14 -0
  101. package/src/swift-compile.ts +28 -1
  102. package/src/swift-guest-compile.ts +19 -3
  103. package/src/swift-guest-source-plan.ts +7 -2
  104. package/src/swiftContract.ts +3 -0
  105. package/src/turbo-compile.ts +60 -4
  106. package/src/turbo-source.ts +239 -35
  107. package/src/vite-plugin-one.ts +3 -3
  108. package/src/widget-extension-bundle.ts +48 -0
  109. package/src/xcode-project.ts +67 -25
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2299 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2301 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -14189,7 +14189,7 @@ var swiftCoverageProvenance;
14189
14189
  var init_provenance = __esm({
14190
14190
  "src/swift-coverage/provenance.ts"() {
14191
14191
  "use strict";
14192
- swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"b37f72dc848b4e2bc1ef1c875bd39c6085dc3e7038f03164102d3718c3dad217","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
14192
+ swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"f0e86caccf203fa58395cbac9fed64577bb98a061efdf24f85a289c4e5996db9","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
14193
14193
  }
14194
14194
  });
14195
14195
 
@@ -16843,6 +16843,2057 @@ var init_linux_browser_libs = __esm({
16843
16843
  }
16844
16844
  });
16845
16845
 
16846
+ // src/generated/swift-c-predefines.json
16847
+ var swift_c_predefines_default;
16848
+ var init_swift_c_predefines = __esm({
16849
+ "src/generated/swift-c-predefines.json"() {
16850
+ swift_c_predefines_default = {
16851
+ release: "swift-6.4.0-RELEASE-custom-81b2c791c27276bf",
16852
+ languages: {
16853
+ c: {
16854
+ TARGET_IPHONE_SIMULATOR: "1",
16855
+ TARGET_OS_DRIVERKIT: "0",
16856
+ TARGET_OS_EMBEDDED: "0",
16857
+ TARGET_OS_FIRMWARE: "0",
16858
+ TARGET_OS_IOS: "1",
16859
+ TARGET_OS_IPHONE: "1",
16860
+ TARGET_OS_LINUX: "0",
16861
+ TARGET_OS_MAC: "1",
16862
+ TARGET_OS_MACCATALYST: "0",
16863
+ TARGET_OS_NANO: "0",
16864
+ TARGET_OS_OSX: "0",
16865
+ TARGET_OS_SIMULATOR: "1",
16866
+ TARGET_OS_TV: "0",
16867
+ TARGET_OS_UEFI: "0",
16868
+ TARGET_OS_UIKITFORMAC: "0",
16869
+ TARGET_OS_UNIX: "0",
16870
+ TARGET_OS_VISION: "0",
16871
+ TARGET_OS_WATCH: "0",
16872
+ TARGET_OS_WIN32: "0",
16873
+ TARGET_OS_WINDOWS: "0",
16874
+ _LP64: "1",
16875
+ __AARCH64EL__: "1",
16876
+ __AARCH64_CMODEL_SMALL__: "1",
16877
+ __AARCH64_SIMD__: "1",
16878
+ __APPLE_CC__: "6000",
16879
+ __APPLE_EMBEDDED_SIMULATOR__: "1",
16880
+ __APPLE__: "1",
16881
+ __ARM64_ARCH_8__: "1",
16882
+ __ARM_64BIT_STATE: "1",
16883
+ __ARM_ACLE: "202420",
16884
+ __ARM_ACLE_VERSION: "(year,quarter,patch) (100 * (year) + 10 * (quarter) + (patch))",
16885
+ __ARM_ALIGN_MAX_STACK_PWR: "4",
16886
+ __ARM_ARCH: "8",
16887
+ __ARM_ARCH_ISA_A64: "1",
16888
+ __ARM_ARCH_PROFILE: "'A'",
16889
+ __ARM_FEATURE_AES: "1",
16890
+ __ARM_FEATURE_ATOMICS: "1",
16891
+ __ARM_FEATURE_CLZ: "1",
16892
+ __ARM_FEATURE_COMPLEX: "1",
16893
+ __ARM_FEATURE_CRC32: "1",
16894
+ __ARM_FEATURE_CRYPTO: "1",
16895
+ __ARM_FEATURE_DIRECTED_ROUNDING: "1",
16896
+ __ARM_FEATURE_DIV: "1",
16897
+ __ARM_FEATURE_DOTPROD: "1",
16898
+ __ARM_FEATURE_FMA: "1",
16899
+ __ARM_FEATURE_FP16_FML: "1",
16900
+ __ARM_FEATURE_FP16_SCALAR_ARITHMETIC: "1",
16901
+ __ARM_FEATURE_FP16_VECTOR_ARITHMETIC: "1",
16902
+ __ARM_FEATURE_IDIV: "1",
16903
+ __ARM_FEATURE_JCVT: "1",
16904
+ __ARM_FEATURE_LDREX: "0xF",
16905
+ __ARM_FEATURE_NUMERIC_MAXMIN: "1",
16906
+ __ARM_FEATURE_PAUTH: "1",
16907
+ __ARM_FEATURE_QRDMX: "1",
16908
+ __ARM_FEATURE_RCPC: "1",
16909
+ __ARM_FEATURE_SHA2: "1",
16910
+ __ARM_FEATURE_SHA3: "1",
16911
+ __ARM_FEATURE_SHA512: "1",
16912
+ __ARM_FEATURE_UNALIGNED: "1",
16913
+ __ARM_FP: "0xE",
16914
+ __ARM_FP16_ARGS: "1",
16915
+ __ARM_FP16_FORMAT_IEEE: "1",
16916
+ __ARM_NEON: "1",
16917
+ __ARM_NEON_FP: "0xE",
16918
+ __ARM_NEON_SVE_BRIDGE: "1",
16919
+ __ARM_NEON__: "1",
16920
+ __ARM_PCS_AAPCS64: "1",
16921
+ __ARM_SIZEOF_MINIMAL_ENUM: "4",
16922
+ __ARM_SIZEOF_WCHAR_T: "4",
16923
+ __ARM_STATE_ZA: "1",
16924
+ __ARM_STATE_ZT0: "1",
16925
+ __ATOMIC_ACQUIRE: "2",
16926
+ __ATOMIC_ACQ_REL: "4",
16927
+ __ATOMIC_CONSUME: "1",
16928
+ __ATOMIC_RELAXED: "0",
16929
+ __ATOMIC_RELEASE: "3",
16930
+ __ATOMIC_SEQ_CST: "5",
16931
+ __BIGGEST_ALIGNMENT__: "8",
16932
+ __BITINT_MAXWIDTH__: "128",
16933
+ __BLOCKS__: "1",
16934
+ __BOOL_WIDTH__: "1",
16935
+ __BYTE_ORDER__: "__ORDER_LITTLE_ENDIAN__",
16936
+ __CHAR16_TYPE__: "unsigned short",
16937
+ __CHAR32_TYPE__: "unsigned int",
16938
+ __CHAR_BIT__: "8",
16939
+ __CLANG_ATOMIC_BOOL_LOCK_FREE: "2",
16940
+ __CLANG_ATOMIC_CHAR16_T_LOCK_FREE: "2",
16941
+ __CLANG_ATOMIC_CHAR32_T_LOCK_FREE: "2",
16942
+ __CLANG_ATOMIC_CHAR_LOCK_FREE: "2",
16943
+ __CLANG_ATOMIC_INT_LOCK_FREE: "2",
16944
+ __CLANG_ATOMIC_LLONG_LOCK_FREE: "2",
16945
+ __CLANG_ATOMIC_LONG_LOCK_FREE: "2",
16946
+ __CLANG_ATOMIC_POINTER_LOCK_FREE: "2",
16947
+ __CLANG_ATOMIC_SHORT_LOCK_FREE: "2",
16948
+ __CLANG_ATOMIC_WCHAR_T_LOCK_FREE: "2",
16949
+ __CONSTANT_CFSTRINGS__: "1",
16950
+ __DBL_DECIMAL_DIG__: "17",
16951
+ __DBL_DENORM_MIN__: "4.9406564584124654e-324",
16952
+ __DBL_DIG__: "15",
16953
+ __DBL_EPSILON__: "2.2204460492503131e-16",
16954
+ __DBL_HAS_DENORM__: "1",
16955
+ __DBL_HAS_INFINITY__: "1",
16956
+ __DBL_HAS_QUIET_NAN__: "1",
16957
+ __DBL_MANT_DIG__: "53",
16958
+ __DBL_MAX_10_EXP__: "308",
16959
+ __DBL_MAX_EXP__: "1024",
16960
+ __DBL_MAX__: "1.7976931348623157e+308",
16961
+ __DBL_MIN_10_EXP__: "(-307)",
16962
+ __DBL_MIN_EXP__: "(-1021)",
16963
+ __DBL_MIN__: "2.2250738585072014e-308",
16964
+ __DBL_NORM_MAX__: "1.7976931348623157e+308",
16965
+ __DECIMAL_DIG__: "__LDBL_DECIMAL_DIG__",
16966
+ __DYNAMIC__: "1",
16967
+ __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__: "70000",
16968
+ __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__: "70000",
16969
+ __FINITE_MATH_ONLY__: "0",
16970
+ __FLT16_DECIMAL_DIG__: "5",
16971
+ __FLT16_DENORM_MIN__: "5.9604644775390625e-8F16",
16972
+ __FLT16_DIG__: "3",
16973
+ __FLT16_EPSILON__: "9.765625e-4F16",
16974
+ __FLT16_HAS_DENORM__: "1",
16975
+ __FLT16_HAS_INFINITY__: "1",
16976
+ __FLT16_HAS_QUIET_NAN__: "1",
16977
+ __FLT16_MANT_DIG__: "11",
16978
+ __FLT16_MAX_10_EXP__: "4",
16979
+ __FLT16_MAX_EXP__: "16",
16980
+ __FLT16_MAX__: "6.5504e+4F16",
16981
+ __FLT16_MIN_10_EXP__: "(-4)",
16982
+ __FLT16_MIN_EXP__: "(-13)",
16983
+ __FLT16_MIN__: "6.103515625e-5F16",
16984
+ __FLT16_NORM_MAX__: "6.5504e+4F16",
16985
+ __FLT_DECIMAL_DIG__: "9",
16986
+ __FLT_DENORM_MIN__: "1.40129846e-45F",
16987
+ __FLT_DIG__: "6",
16988
+ __FLT_EPSILON__: "1.19209290e-7F",
16989
+ __FLT_HAS_DENORM__: "1",
16990
+ __FLT_HAS_INFINITY__: "1",
16991
+ __FLT_HAS_QUIET_NAN__: "1",
16992
+ __FLT_MANT_DIG__: "24",
16993
+ __FLT_MAX_10_EXP__: "38",
16994
+ __FLT_MAX_EXP__: "128",
16995
+ __FLT_MAX__: "3.40282347e+38F",
16996
+ __FLT_MIN_10_EXP__: "(-37)",
16997
+ __FLT_MIN_EXP__: "(-125)",
16998
+ __FLT_MIN__: "1.17549435e-38F",
16999
+ __FLT_NORM_MAX__: "3.40282347e+38F",
17000
+ __FLT_RADIX__: "2",
17001
+ __FPCLASS_NEGINF: "0x0004",
17002
+ __FPCLASS_NEGNORMAL: "0x0008",
17003
+ __FPCLASS_NEGSUBNORMAL: "0x0010",
17004
+ __FPCLASS_NEGZERO: "0x0020",
17005
+ __FPCLASS_POSINF: "0x0200",
17006
+ __FPCLASS_POSNORMAL: "0x0100",
17007
+ __FPCLASS_POSSUBNORMAL: "0x0080",
17008
+ __FPCLASS_POSZERO: "0x0040",
17009
+ __FPCLASS_QNAN: "0x0002",
17010
+ __FPCLASS_SNAN: "0x0001",
17011
+ __FP_FAST_FMA: "1",
17012
+ __FP_FAST_FMAF: "1",
17013
+ __FUNCTION_MULTI_VERSIONING_SUPPORT_LEVEL: "202430",
17014
+ __GCC_ASM_FLAG_OUTPUTS__: "1",
17015
+ __GCC_ATOMIC_BOOL_LOCK_FREE: "2",
17016
+ __GCC_ATOMIC_CHAR16_T_LOCK_FREE: "2",
17017
+ __GCC_ATOMIC_CHAR32_T_LOCK_FREE: "2",
17018
+ __GCC_ATOMIC_CHAR_LOCK_FREE: "2",
17019
+ __GCC_ATOMIC_INT_LOCK_FREE: "2",
17020
+ __GCC_ATOMIC_LLONG_LOCK_FREE: "2",
17021
+ __GCC_ATOMIC_LONG_LOCK_FREE: "2",
17022
+ __GCC_ATOMIC_POINTER_LOCK_FREE: "2",
17023
+ __GCC_ATOMIC_SHORT_LOCK_FREE: "2",
17024
+ __GCC_ATOMIC_TEST_AND_SET_TRUEVAL: "1",
17025
+ __GCC_ATOMIC_WCHAR_T_LOCK_FREE: "2",
17026
+ __GCC_CONSTRUCTIVE_SIZE: "64",
17027
+ __GCC_DESTRUCTIVE_SIZE: "256",
17028
+ __GCC_HAVE_DWARF2_CFI_ASM: "1",
17029
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1: "1",
17030
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16: "1",
17031
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2: "1",
17032
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4: "1",
17033
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8: "1",
17034
+ __GNUC_MINOR__: "2",
17035
+ __GNUC_PATCHLEVEL__: "1",
17036
+ __GNUC_STDC_INLINE__: "1",
17037
+ __GNUC__: "4",
17038
+ __GXX_ABI_VERSION: "1002",
17039
+ __HAVE_FUNCTION_MULTI_VERSIONING: "1",
17040
+ __INT16_C: "(c) c",
17041
+ __INT16_C_SUFFIX__: null,
17042
+ __INT16_FMTd__: '"hd"',
17043
+ __INT16_FMTi__: '"hi"',
17044
+ __INT16_MAX__: "32767",
17045
+ __INT16_TYPE__: "short",
17046
+ __INT32_C: "(c) c",
17047
+ __INT32_C_SUFFIX__: null,
17048
+ __INT32_FMTd__: '"d"',
17049
+ __INT32_FMTi__: '"i"',
17050
+ __INT32_MAX__: "2147483647",
17051
+ __INT32_TYPE__: "int",
17052
+ __INT64_C: "(c) c##LL",
17053
+ __INT64_C_SUFFIX__: "LL",
17054
+ __INT64_FMTd__: '"lld"',
17055
+ __INT64_FMTi__: '"lli"',
17056
+ __INT64_MAX__: "9223372036854775807LL",
17057
+ __INT64_TYPE__: "long long int",
17058
+ __INT8_C: "(c) c",
17059
+ __INT8_C_SUFFIX__: null,
17060
+ __INT8_FMTd__: '"hhd"',
17061
+ __INT8_FMTi__: '"hhi"',
17062
+ __INT8_MAX__: "127",
17063
+ __INT8_TYPE__: "signed char",
17064
+ __INTMAX_C: "(c) c##L",
17065
+ __INTMAX_C_SUFFIX__: "L",
17066
+ __INTMAX_FMTd__: '"ld"',
17067
+ __INTMAX_FMTi__: '"li"',
17068
+ __INTMAX_MAX__: "9223372036854775807L",
17069
+ __INTMAX_TYPE__: "long int",
17070
+ __INTMAX_WIDTH__: "64",
17071
+ __INTPTR_FMTd__: '"ld"',
17072
+ __INTPTR_FMTi__: '"li"',
17073
+ __INTPTR_MAX__: "9223372036854775807L",
17074
+ __INTPTR_TYPE__: "long int",
17075
+ __INTPTR_WIDTH__: "64",
17076
+ __INT_FAST16_FMTd__: '"hd"',
17077
+ __INT_FAST16_FMTi__: '"hi"',
17078
+ __INT_FAST16_MAX__: "32767",
17079
+ __INT_FAST16_TYPE__: "short",
17080
+ __INT_FAST16_WIDTH__: "16",
17081
+ __INT_FAST32_FMTd__: '"d"',
17082
+ __INT_FAST32_FMTi__: '"i"',
17083
+ __INT_FAST32_MAX__: "2147483647",
17084
+ __INT_FAST32_TYPE__: "int",
17085
+ __INT_FAST32_WIDTH__: "32",
17086
+ __INT_FAST64_FMTd__: '"lld"',
17087
+ __INT_FAST64_FMTi__: '"lli"',
17088
+ __INT_FAST64_MAX__: "9223372036854775807LL",
17089
+ __INT_FAST64_TYPE__: "long long int",
17090
+ __INT_FAST64_WIDTH__: "64",
17091
+ __INT_FAST8_FMTd__: '"hhd"',
17092
+ __INT_FAST8_FMTi__: '"hhi"',
17093
+ __INT_FAST8_MAX__: "127",
17094
+ __INT_FAST8_TYPE__: "signed char",
17095
+ __INT_FAST8_WIDTH__: "8",
17096
+ __INT_LEAST16_FMTd__: '"hd"',
17097
+ __INT_LEAST16_FMTi__: '"hi"',
17098
+ __INT_LEAST16_MAX__: "32767",
17099
+ __INT_LEAST16_TYPE__: "short",
17100
+ __INT_LEAST16_WIDTH__: "16",
17101
+ __INT_LEAST32_FMTd__: '"d"',
17102
+ __INT_LEAST32_FMTi__: '"i"',
17103
+ __INT_LEAST32_MAX__: "2147483647",
17104
+ __INT_LEAST32_TYPE__: "int",
17105
+ __INT_LEAST32_WIDTH__: "32",
17106
+ __INT_LEAST64_FMTd__: '"lld"',
17107
+ __INT_LEAST64_FMTi__: '"lli"',
17108
+ __INT_LEAST64_MAX__: "9223372036854775807LL",
17109
+ __INT_LEAST64_TYPE__: "long long int",
17110
+ __INT_LEAST64_WIDTH__: "64",
17111
+ __INT_LEAST8_FMTd__: '"hhd"',
17112
+ __INT_LEAST8_FMTi__: '"hhi"',
17113
+ __INT_LEAST8_MAX__: "127",
17114
+ __INT_LEAST8_TYPE__: "signed char",
17115
+ __INT_LEAST8_WIDTH__: "8",
17116
+ __INT_MAX__: "2147483647",
17117
+ __INT_WIDTH__: "32",
17118
+ __LDBL_DECIMAL_DIG__: "17",
17119
+ __LDBL_DENORM_MIN__: "4.9406564584124654e-324L",
17120
+ __LDBL_DIG__: "15",
17121
+ __LDBL_EPSILON__: "2.2204460492503131e-16L",
17122
+ __LDBL_HAS_DENORM__: "1",
17123
+ __LDBL_HAS_INFINITY__: "1",
17124
+ __LDBL_HAS_QUIET_NAN__: "1",
17125
+ __LDBL_MANT_DIG__: "53",
17126
+ __LDBL_MAX_10_EXP__: "308",
17127
+ __LDBL_MAX_EXP__: "1024",
17128
+ __LDBL_MAX__: "1.7976931348623157e+308L",
17129
+ __LDBL_MIN_10_EXP__: "(-307)",
17130
+ __LDBL_MIN_EXP__: "(-1021)",
17131
+ __LDBL_MIN__: "2.2250738585072014e-308L",
17132
+ __LDBL_NORM_MAX__: "1.7976931348623157e+308L",
17133
+ __LITTLE_ENDIAN__: "1",
17134
+ __LLONG_WIDTH__: "64",
17135
+ __LONG_LONG_MAX__: "9223372036854775807LL",
17136
+ __LONG_MAX__: "9223372036854775807L",
17137
+ __LONG_WIDTH__: "64",
17138
+ __LP64__: "1",
17139
+ __MACH__: "1",
17140
+ __MEMORY_SCOPE_DEVICE: "1",
17141
+ __MEMORY_SCOPE_SINGLE: "4",
17142
+ __MEMORY_SCOPE_SYSTEM: "0",
17143
+ __MEMORY_SCOPE_WRKGRP: "2",
17144
+ __MEMORY_SCOPE_WVFRNT: "3",
17145
+ __NO_INLINE__: "1",
17146
+ __NO_MATH_ERRNO__: "1",
17147
+ __OBJC_BOOL_IS_BOOL: "1",
17148
+ __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES: "3",
17149
+ __OPENCL_MEMORY_SCOPE_DEVICE: "2",
17150
+ __OPENCL_MEMORY_SCOPE_SUB_GROUP: "4",
17151
+ __OPENCL_MEMORY_SCOPE_WORK_GROUP: "1",
17152
+ __OPENCL_MEMORY_SCOPE_WORK_ITEM: "0",
17153
+ __ORDER_BIG_ENDIAN__: "4321",
17154
+ __ORDER_LITTLE_ENDIAN__: "1234",
17155
+ __ORDER_PDP_ENDIAN__: "3412",
17156
+ __PIC__: "2",
17157
+ __POINTER_WIDTH__: "64",
17158
+ __PRAGMA_REDEFINE_EXTNAME: "1",
17159
+ __PTRDIFF_FMTd__: '"ld"',
17160
+ __PTRDIFF_FMTi__: '"li"',
17161
+ __PTRDIFF_MAX__: "9223372036854775807L",
17162
+ __PTRDIFF_TYPE__: "long int",
17163
+ __PTRDIFF_WIDTH__: "64",
17164
+ __REGISTER_PREFIX__: null,
17165
+ __SCHAR_MAX__: "127",
17166
+ __SHRT_MAX__: "32767",
17167
+ __SHRT_WIDTH__: "16",
17168
+ __SIG_ATOMIC_MAX__: "2147483647",
17169
+ __SIG_ATOMIC_WIDTH__: "32",
17170
+ __SIZEOF_DOUBLE__: "8",
17171
+ __SIZEOF_FLOAT__: "4",
17172
+ __SIZEOF_INT128__: "16",
17173
+ __SIZEOF_INT__: "4",
17174
+ __SIZEOF_LONG_DOUBLE__: "8",
17175
+ __SIZEOF_LONG_LONG__: "8",
17176
+ __SIZEOF_LONG__: "8",
17177
+ __SIZEOF_POINTER__: "8",
17178
+ __SIZEOF_PTRDIFF_T__: "8",
17179
+ __SIZEOF_SHORT__: "2",
17180
+ __SIZEOF_SIZE_T__: "8",
17181
+ __SIZEOF_WCHAR_T__: "4",
17182
+ __SIZEOF_WINT_T__: "4",
17183
+ __SIZE_FMTX__: '"lX"',
17184
+ __SIZE_FMTo__: '"lo"',
17185
+ __SIZE_FMTu__: '"lu"',
17186
+ __SIZE_FMTx__: '"lx"',
17187
+ __SIZE_MAX__: "18446744073709551615UL",
17188
+ __SIZE_TYPE__: "long unsigned int",
17189
+ __SIZE_WIDTH__: "64",
17190
+ __SSP__: "1",
17191
+ __STDC_EMBED_EMPTY__: "2",
17192
+ __STDC_EMBED_FOUND__: "1",
17193
+ __STDC_EMBED_NOT_FOUND__: "0",
17194
+ __STDC_HOSTED__: "1",
17195
+ __STDC_NO_THREADS__: "1",
17196
+ __STDC_UTF_16__: "1",
17197
+ __STDC_UTF_32__: "1",
17198
+ __STDC_VERSION__: "201710L",
17199
+ __STDC__: "1",
17200
+ __UINT16_C: "(c) c",
17201
+ __UINT16_C_SUFFIX__: null,
17202
+ __UINT16_FMTX__: '"hX"',
17203
+ __UINT16_FMTo__: '"ho"',
17204
+ __UINT16_FMTu__: '"hu"',
17205
+ __UINT16_FMTx__: '"hx"',
17206
+ __UINT16_MAX__: "65535",
17207
+ __UINT16_TYPE__: "unsigned short",
17208
+ __UINT32_C: "(c) c##U",
17209
+ __UINT32_C_SUFFIX__: "U",
17210
+ __UINT32_FMTX__: '"X"',
17211
+ __UINT32_FMTo__: '"o"',
17212
+ __UINT32_FMTu__: '"u"',
17213
+ __UINT32_FMTx__: '"x"',
17214
+ __UINT32_MAX__: "4294967295U",
17215
+ __UINT32_TYPE__: "unsigned int",
17216
+ __UINT64_C: "(c) c##ULL",
17217
+ __UINT64_C_SUFFIX__: "ULL",
17218
+ __UINT64_FMTX__: '"llX"',
17219
+ __UINT64_FMTo__: '"llo"',
17220
+ __UINT64_FMTu__: '"llu"',
17221
+ __UINT64_FMTx__: '"llx"',
17222
+ __UINT64_MAX__: "18446744073709551615ULL",
17223
+ __UINT64_TYPE__: "long long unsigned int",
17224
+ __UINT8_C: "(c) c",
17225
+ __UINT8_C_SUFFIX__: null,
17226
+ __UINT8_FMTX__: '"hhX"',
17227
+ __UINT8_FMTo__: '"hho"',
17228
+ __UINT8_FMTu__: '"hhu"',
17229
+ __UINT8_FMTx__: '"hhx"',
17230
+ __UINT8_MAX__: "255",
17231
+ __UINT8_TYPE__: "unsigned char",
17232
+ __UINTMAX_C: "(c) c##UL",
17233
+ __UINTMAX_C_SUFFIX__: "UL",
17234
+ __UINTMAX_FMTX__: '"lX"',
17235
+ __UINTMAX_FMTo__: '"lo"',
17236
+ __UINTMAX_FMTu__: '"lu"',
17237
+ __UINTMAX_FMTx__: '"lx"',
17238
+ __UINTMAX_MAX__: "18446744073709551615UL",
17239
+ __UINTMAX_TYPE__: "long unsigned int",
17240
+ __UINTMAX_WIDTH__: "64",
17241
+ __UINTPTR_FMTX__: '"lX"',
17242
+ __UINTPTR_FMTo__: '"lo"',
17243
+ __UINTPTR_FMTu__: '"lu"',
17244
+ __UINTPTR_FMTx__: '"lx"',
17245
+ __UINTPTR_MAX__: "18446744073709551615UL",
17246
+ __UINTPTR_TYPE__: "long unsigned int",
17247
+ __UINTPTR_WIDTH__: "64",
17248
+ __UINT_FAST16_FMTX__: '"hX"',
17249
+ __UINT_FAST16_FMTo__: '"ho"',
17250
+ __UINT_FAST16_FMTu__: '"hu"',
17251
+ __UINT_FAST16_FMTx__: '"hx"',
17252
+ __UINT_FAST16_MAX__: "65535",
17253
+ __UINT_FAST16_TYPE__: "unsigned short",
17254
+ __UINT_FAST32_FMTX__: '"X"',
17255
+ __UINT_FAST32_FMTo__: '"o"',
17256
+ __UINT_FAST32_FMTu__: '"u"',
17257
+ __UINT_FAST32_FMTx__: '"x"',
17258
+ __UINT_FAST32_MAX__: "4294967295U",
17259
+ __UINT_FAST32_TYPE__: "unsigned int",
17260
+ __UINT_FAST64_FMTX__: '"llX"',
17261
+ __UINT_FAST64_FMTo__: '"llo"',
17262
+ __UINT_FAST64_FMTu__: '"llu"',
17263
+ __UINT_FAST64_FMTx__: '"llx"',
17264
+ __UINT_FAST64_MAX__: "18446744073709551615ULL",
17265
+ __UINT_FAST64_TYPE__: "long long unsigned int",
17266
+ __UINT_FAST8_FMTX__: '"hhX"',
17267
+ __UINT_FAST8_FMTo__: '"hho"',
17268
+ __UINT_FAST8_FMTu__: '"hhu"',
17269
+ __UINT_FAST8_FMTx__: '"hhx"',
17270
+ __UINT_FAST8_MAX__: "255",
17271
+ __UINT_FAST8_TYPE__: "unsigned char",
17272
+ __UINT_LEAST16_FMTX__: '"hX"',
17273
+ __UINT_LEAST16_FMTo__: '"ho"',
17274
+ __UINT_LEAST16_FMTu__: '"hu"',
17275
+ __UINT_LEAST16_FMTx__: '"hx"',
17276
+ __UINT_LEAST16_MAX__: "65535",
17277
+ __UINT_LEAST16_TYPE__: "unsigned short",
17278
+ __UINT_LEAST32_FMTX__: '"X"',
17279
+ __UINT_LEAST32_FMTo__: '"o"',
17280
+ __UINT_LEAST32_FMTu__: '"u"',
17281
+ __UINT_LEAST32_FMTx__: '"x"',
17282
+ __UINT_LEAST32_MAX__: "4294967295U",
17283
+ __UINT_LEAST32_TYPE__: "unsigned int",
17284
+ __UINT_LEAST64_FMTX__: '"llX"',
17285
+ __UINT_LEAST64_FMTo__: '"llo"',
17286
+ __UINT_LEAST64_FMTu__: '"llu"',
17287
+ __UINT_LEAST64_FMTx__: '"llx"',
17288
+ __UINT_LEAST64_MAX__: "18446744073709551615ULL",
17289
+ __UINT_LEAST64_TYPE__: "long long unsigned int",
17290
+ __UINT_LEAST8_FMTX__: '"hhX"',
17291
+ __UINT_LEAST8_FMTo__: '"hho"',
17292
+ __UINT_LEAST8_FMTu__: '"hhu"',
17293
+ __UINT_LEAST8_FMTx__: '"hhx"',
17294
+ __UINT_LEAST8_MAX__: "255",
17295
+ __UINT_LEAST8_TYPE__: "unsigned char",
17296
+ __USER_LABEL_PREFIX__: "_",
17297
+ __VERSION__: '"Clang 21.0.0"',
17298
+ __WCHAR_MAX__: "2147483647",
17299
+ __WCHAR_TYPE__: "int",
17300
+ __WCHAR_WIDTH__: "32",
17301
+ __WINT_MAX__: "2147483647",
17302
+ __WINT_TYPE__: "int",
17303
+ __WINT_WIDTH__: "32",
17304
+ __aarch64__: "1",
17305
+ __arm64: "1",
17306
+ __arm64__: "1",
17307
+ __block: "__attribute__((__blocks__(byref)))",
17308
+ __clang__: "1",
17309
+ __clang_literal_encoding__: '"UTF-8"',
17310
+ __clang_major__: "21",
17311
+ __clang_minor__: "0",
17312
+ __clang_patchlevel__: "0",
17313
+ __clang_version__: '"21.0.0 "',
17314
+ __clang_wide_literal_encoding__: '"UTF-32"',
17315
+ __llvm__: "1",
17316
+ __nonnull: "_Nonnull",
17317
+ __null_unspecified: "_Null_unspecified",
17318
+ __nullable: "_Nullable",
17319
+ __pic__: "2",
17320
+ __strong: null,
17321
+ __unsafe_unretained: null,
17322
+ __weak: "__attribute__((objc_gc(weak)))"
17323
+ },
17324
+ "c++": {
17325
+ TARGET_IPHONE_SIMULATOR: "1",
17326
+ TARGET_OS_DRIVERKIT: "0",
17327
+ TARGET_OS_EMBEDDED: "0",
17328
+ TARGET_OS_FIRMWARE: "0",
17329
+ TARGET_OS_IOS: "1",
17330
+ TARGET_OS_IPHONE: "1",
17331
+ TARGET_OS_LINUX: "0",
17332
+ TARGET_OS_MAC: "1",
17333
+ TARGET_OS_MACCATALYST: "0",
17334
+ TARGET_OS_NANO: "0",
17335
+ TARGET_OS_OSX: "0",
17336
+ TARGET_OS_SIMULATOR: "1",
17337
+ TARGET_OS_TV: "0",
17338
+ TARGET_OS_UEFI: "0",
17339
+ TARGET_OS_UIKITFORMAC: "0",
17340
+ TARGET_OS_UNIX: "0",
17341
+ TARGET_OS_VISION: "0",
17342
+ TARGET_OS_WATCH: "0",
17343
+ TARGET_OS_WIN32: "0",
17344
+ TARGET_OS_WINDOWS: "0",
17345
+ _LP64: "1",
17346
+ __AARCH64EL__: "1",
17347
+ __AARCH64_CMODEL_SMALL__: "1",
17348
+ __AARCH64_SIMD__: "1",
17349
+ __APPLE_CC__: "6000",
17350
+ __APPLE_EMBEDDED_SIMULATOR__: "1",
17351
+ __APPLE__: "1",
17352
+ __ARM64_ARCH_8__: "1",
17353
+ __ARM_64BIT_STATE: "1",
17354
+ __ARM_ACLE: "202420",
17355
+ __ARM_ACLE_VERSION: "(year,quarter,patch) (100 * (year) + 10 * (quarter) + (patch))",
17356
+ __ARM_ALIGN_MAX_STACK_PWR: "4",
17357
+ __ARM_ARCH: "8",
17358
+ __ARM_ARCH_ISA_A64: "1",
17359
+ __ARM_ARCH_PROFILE: "'A'",
17360
+ __ARM_FEATURE_AES: "1",
17361
+ __ARM_FEATURE_ATOMICS: "1",
17362
+ __ARM_FEATURE_CLZ: "1",
17363
+ __ARM_FEATURE_COMPLEX: "1",
17364
+ __ARM_FEATURE_CRC32: "1",
17365
+ __ARM_FEATURE_CRYPTO: "1",
17366
+ __ARM_FEATURE_DIRECTED_ROUNDING: "1",
17367
+ __ARM_FEATURE_DIV: "1",
17368
+ __ARM_FEATURE_DOTPROD: "1",
17369
+ __ARM_FEATURE_FMA: "1",
17370
+ __ARM_FEATURE_FP16_FML: "1",
17371
+ __ARM_FEATURE_FP16_SCALAR_ARITHMETIC: "1",
17372
+ __ARM_FEATURE_FP16_VECTOR_ARITHMETIC: "1",
17373
+ __ARM_FEATURE_IDIV: "1",
17374
+ __ARM_FEATURE_JCVT: "1",
17375
+ __ARM_FEATURE_LDREX: "0xF",
17376
+ __ARM_FEATURE_NUMERIC_MAXMIN: "1",
17377
+ __ARM_FEATURE_PAUTH: "1",
17378
+ __ARM_FEATURE_QRDMX: "1",
17379
+ __ARM_FEATURE_RCPC: "1",
17380
+ __ARM_FEATURE_SHA2: "1",
17381
+ __ARM_FEATURE_SHA3: "1",
17382
+ __ARM_FEATURE_SHA512: "1",
17383
+ __ARM_FEATURE_UNALIGNED: "1",
17384
+ __ARM_FP: "0xE",
17385
+ __ARM_FP16_ARGS: "1",
17386
+ __ARM_FP16_FORMAT_IEEE: "1",
17387
+ __ARM_NEON: "1",
17388
+ __ARM_NEON_FP: "0xE",
17389
+ __ARM_NEON_SVE_BRIDGE: "1",
17390
+ __ARM_NEON__: "1",
17391
+ __ARM_PCS_AAPCS64: "1",
17392
+ __ARM_SIZEOF_MINIMAL_ENUM: "4",
17393
+ __ARM_SIZEOF_WCHAR_T: "4",
17394
+ __ARM_STATE_ZA: "1",
17395
+ __ARM_STATE_ZT0: "1",
17396
+ __ATOMIC_ACQUIRE: "2",
17397
+ __ATOMIC_ACQ_REL: "4",
17398
+ __ATOMIC_CONSUME: "1",
17399
+ __ATOMIC_RELAXED: "0",
17400
+ __ATOMIC_RELEASE: "3",
17401
+ __ATOMIC_SEQ_CST: "5",
17402
+ __BIGGEST_ALIGNMENT__: "8",
17403
+ __BITINT_MAXWIDTH__: "128",
17404
+ __BLOCKS__: "1",
17405
+ __BOOL_WIDTH__: "1",
17406
+ __BYTE_ORDER__: "__ORDER_LITTLE_ENDIAN__",
17407
+ __CHAR16_TYPE__: "unsigned short",
17408
+ __CHAR32_TYPE__: "unsigned int",
17409
+ __CHAR_BIT__: "8",
17410
+ __CLANG_ATOMIC_BOOL_LOCK_FREE: "2",
17411
+ __CLANG_ATOMIC_CHAR16_T_LOCK_FREE: "2",
17412
+ __CLANG_ATOMIC_CHAR32_T_LOCK_FREE: "2",
17413
+ __CLANG_ATOMIC_CHAR_LOCK_FREE: "2",
17414
+ __CLANG_ATOMIC_INT_LOCK_FREE: "2",
17415
+ __CLANG_ATOMIC_LLONG_LOCK_FREE: "2",
17416
+ __CLANG_ATOMIC_LONG_LOCK_FREE: "2",
17417
+ __CLANG_ATOMIC_POINTER_LOCK_FREE: "2",
17418
+ __CLANG_ATOMIC_SHORT_LOCK_FREE: "2",
17419
+ __CLANG_ATOMIC_WCHAR_T_LOCK_FREE: "2",
17420
+ __CONSTANT_CFSTRINGS__: "1",
17421
+ __DBL_DECIMAL_DIG__: "17",
17422
+ __DBL_DENORM_MIN__: "4.9406564584124654e-324",
17423
+ __DBL_DIG__: "15",
17424
+ __DBL_EPSILON__: "2.2204460492503131e-16",
17425
+ __DBL_HAS_DENORM__: "1",
17426
+ __DBL_HAS_INFINITY__: "1",
17427
+ __DBL_HAS_QUIET_NAN__: "1",
17428
+ __DBL_MANT_DIG__: "53",
17429
+ __DBL_MAX_10_EXP__: "308",
17430
+ __DBL_MAX_EXP__: "1024",
17431
+ __DBL_MAX__: "1.7976931348623157e+308",
17432
+ __DBL_MIN_10_EXP__: "(-307)",
17433
+ __DBL_MIN_EXP__: "(-1021)",
17434
+ __DBL_MIN__: "2.2250738585072014e-308",
17435
+ __DBL_NORM_MAX__: "1.7976931348623157e+308",
17436
+ __DECIMAL_DIG__: "__LDBL_DECIMAL_DIG__",
17437
+ __DEPRECATED: "1",
17438
+ __DYNAMIC__: "1",
17439
+ __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__: "70000",
17440
+ __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__: "70000",
17441
+ __EXCEPTIONS: "1",
17442
+ __FINITE_MATH_ONLY__: "0",
17443
+ __FLT16_DECIMAL_DIG__: "5",
17444
+ __FLT16_DENORM_MIN__: "5.9604644775390625e-8F16",
17445
+ __FLT16_DIG__: "3",
17446
+ __FLT16_EPSILON__: "9.765625e-4F16",
17447
+ __FLT16_HAS_DENORM__: "1",
17448
+ __FLT16_HAS_INFINITY__: "1",
17449
+ __FLT16_HAS_QUIET_NAN__: "1",
17450
+ __FLT16_MANT_DIG__: "11",
17451
+ __FLT16_MAX_10_EXP__: "4",
17452
+ __FLT16_MAX_EXP__: "16",
17453
+ __FLT16_MAX__: "6.5504e+4F16",
17454
+ __FLT16_MIN_10_EXP__: "(-4)",
17455
+ __FLT16_MIN_EXP__: "(-13)",
17456
+ __FLT16_MIN__: "6.103515625e-5F16",
17457
+ __FLT16_NORM_MAX__: "6.5504e+4F16",
17458
+ __FLT_DECIMAL_DIG__: "9",
17459
+ __FLT_DENORM_MIN__: "1.40129846e-45F",
17460
+ __FLT_DIG__: "6",
17461
+ __FLT_EPSILON__: "1.19209290e-7F",
17462
+ __FLT_HAS_DENORM__: "1",
17463
+ __FLT_HAS_INFINITY__: "1",
17464
+ __FLT_HAS_QUIET_NAN__: "1",
17465
+ __FLT_MANT_DIG__: "24",
17466
+ __FLT_MAX_10_EXP__: "38",
17467
+ __FLT_MAX_EXP__: "128",
17468
+ __FLT_MAX__: "3.40282347e+38F",
17469
+ __FLT_MIN_10_EXP__: "(-37)",
17470
+ __FLT_MIN_EXP__: "(-125)",
17471
+ __FLT_MIN__: "1.17549435e-38F",
17472
+ __FLT_NORM_MAX__: "3.40282347e+38F",
17473
+ __FLT_RADIX__: "2",
17474
+ __FPCLASS_NEGINF: "0x0004",
17475
+ __FPCLASS_NEGNORMAL: "0x0008",
17476
+ __FPCLASS_NEGSUBNORMAL: "0x0010",
17477
+ __FPCLASS_NEGZERO: "0x0020",
17478
+ __FPCLASS_POSINF: "0x0200",
17479
+ __FPCLASS_POSNORMAL: "0x0100",
17480
+ __FPCLASS_POSSUBNORMAL: "0x0080",
17481
+ __FPCLASS_POSZERO: "0x0040",
17482
+ __FPCLASS_QNAN: "0x0002",
17483
+ __FPCLASS_SNAN: "0x0001",
17484
+ __FP_FAST_FMA: "1",
17485
+ __FP_FAST_FMAF: "1",
17486
+ __FUNCTION_MULTI_VERSIONING_SUPPORT_LEVEL: "202430",
17487
+ __GCC_ASM_FLAG_OUTPUTS__: "1",
17488
+ __GCC_ATOMIC_BOOL_LOCK_FREE: "2",
17489
+ __GCC_ATOMIC_CHAR16_T_LOCK_FREE: "2",
17490
+ __GCC_ATOMIC_CHAR32_T_LOCK_FREE: "2",
17491
+ __GCC_ATOMIC_CHAR_LOCK_FREE: "2",
17492
+ __GCC_ATOMIC_INT_LOCK_FREE: "2",
17493
+ __GCC_ATOMIC_LLONG_LOCK_FREE: "2",
17494
+ __GCC_ATOMIC_LONG_LOCK_FREE: "2",
17495
+ __GCC_ATOMIC_POINTER_LOCK_FREE: "2",
17496
+ __GCC_ATOMIC_SHORT_LOCK_FREE: "2",
17497
+ __GCC_ATOMIC_TEST_AND_SET_TRUEVAL: "1",
17498
+ __GCC_ATOMIC_WCHAR_T_LOCK_FREE: "2",
17499
+ __GCC_CONSTRUCTIVE_SIZE: "64",
17500
+ __GCC_DESTRUCTIVE_SIZE: "256",
17501
+ __GCC_HAVE_DWARF2_CFI_ASM: "1",
17502
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1: "1",
17503
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16: "1",
17504
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2: "1",
17505
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4: "1",
17506
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8: "1",
17507
+ __GLIBCXX_BITSIZE_INT_N_0: "128",
17508
+ __GLIBCXX_TYPE_INT_N_0: "__int128",
17509
+ __GNUC_GNU_INLINE__: "1",
17510
+ __GNUC_MINOR__: "2",
17511
+ __GNUC_PATCHLEVEL__: "1",
17512
+ __GNUC__: "4",
17513
+ __GNUG__: "4",
17514
+ __GXX_ABI_VERSION: "1002",
17515
+ __GXX_EXPERIMENTAL_CXX0X__: "1",
17516
+ __GXX_RTTI: "1",
17517
+ __GXX_WEAK__: "1",
17518
+ __HAVE_FUNCTION_MULTI_VERSIONING: "1",
17519
+ __INT16_C: "(c) c",
17520
+ __INT16_C_SUFFIX__: null,
17521
+ __INT16_FMTd__: '"hd"',
17522
+ __INT16_FMTi__: '"hi"',
17523
+ __INT16_MAX__: "32767",
17524
+ __INT16_TYPE__: "short",
17525
+ __INT32_C: "(c) c",
17526
+ __INT32_C_SUFFIX__: null,
17527
+ __INT32_FMTd__: '"d"',
17528
+ __INT32_FMTi__: '"i"',
17529
+ __INT32_MAX__: "2147483647",
17530
+ __INT32_TYPE__: "int",
17531
+ __INT64_C: "(c) c##LL",
17532
+ __INT64_C_SUFFIX__: "LL",
17533
+ __INT64_FMTd__: '"lld"',
17534
+ __INT64_FMTi__: '"lli"',
17535
+ __INT64_MAX__: "9223372036854775807LL",
17536
+ __INT64_TYPE__: "long long int",
17537
+ __INT8_C: "(c) c",
17538
+ __INT8_C_SUFFIX__: null,
17539
+ __INT8_FMTd__: '"hhd"',
17540
+ __INT8_FMTi__: '"hhi"',
17541
+ __INT8_MAX__: "127",
17542
+ __INT8_TYPE__: "signed char",
17543
+ __INTMAX_C: "(c) c##L",
17544
+ __INTMAX_C_SUFFIX__: "L",
17545
+ __INTMAX_FMTd__: '"ld"',
17546
+ __INTMAX_FMTi__: '"li"',
17547
+ __INTMAX_MAX__: "9223372036854775807L",
17548
+ __INTMAX_TYPE__: "long int",
17549
+ __INTMAX_WIDTH__: "64",
17550
+ __INTPTR_FMTd__: '"ld"',
17551
+ __INTPTR_FMTi__: '"li"',
17552
+ __INTPTR_MAX__: "9223372036854775807L",
17553
+ __INTPTR_TYPE__: "long int",
17554
+ __INTPTR_WIDTH__: "64",
17555
+ __INT_FAST16_FMTd__: '"hd"',
17556
+ __INT_FAST16_FMTi__: '"hi"',
17557
+ __INT_FAST16_MAX__: "32767",
17558
+ __INT_FAST16_TYPE__: "short",
17559
+ __INT_FAST16_WIDTH__: "16",
17560
+ __INT_FAST32_FMTd__: '"d"',
17561
+ __INT_FAST32_FMTi__: '"i"',
17562
+ __INT_FAST32_MAX__: "2147483647",
17563
+ __INT_FAST32_TYPE__: "int",
17564
+ __INT_FAST32_WIDTH__: "32",
17565
+ __INT_FAST64_FMTd__: '"lld"',
17566
+ __INT_FAST64_FMTi__: '"lli"',
17567
+ __INT_FAST64_MAX__: "9223372036854775807LL",
17568
+ __INT_FAST64_TYPE__: "long long int",
17569
+ __INT_FAST64_WIDTH__: "64",
17570
+ __INT_FAST8_FMTd__: '"hhd"',
17571
+ __INT_FAST8_FMTi__: '"hhi"',
17572
+ __INT_FAST8_MAX__: "127",
17573
+ __INT_FAST8_TYPE__: "signed char",
17574
+ __INT_FAST8_WIDTH__: "8",
17575
+ __INT_LEAST16_FMTd__: '"hd"',
17576
+ __INT_LEAST16_FMTi__: '"hi"',
17577
+ __INT_LEAST16_MAX__: "32767",
17578
+ __INT_LEAST16_TYPE__: "short",
17579
+ __INT_LEAST16_WIDTH__: "16",
17580
+ __INT_LEAST32_FMTd__: '"d"',
17581
+ __INT_LEAST32_FMTi__: '"i"',
17582
+ __INT_LEAST32_MAX__: "2147483647",
17583
+ __INT_LEAST32_TYPE__: "int",
17584
+ __INT_LEAST32_WIDTH__: "32",
17585
+ __INT_LEAST64_FMTd__: '"lld"',
17586
+ __INT_LEAST64_FMTi__: '"lli"',
17587
+ __INT_LEAST64_MAX__: "9223372036854775807LL",
17588
+ __INT_LEAST64_TYPE__: "long long int",
17589
+ __INT_LEAST64_WIDTH__: "64",
17590
+ __INT_LEAST8_FMTd__: '"hhd"',
17591
+ __INT_LEAST8_FMTi__: '"hhi"',
17592
+ __INT_LEAST8_MAX__: "127",
17593
+ __INT_LEAST8_TYPE__: "signed char",
17594
+ __INT_LEAST8_WIDTH__: "8",
17595
+ __INT_MAX__: "2147483647",
17596
+ __INT_WIDTH__: "32",
17597
+ __LDBL_DECIMAL_DIG__: "17",
17598
+ __LDBL_DENORM_MIN__: "4.9406564584124654e-324L",
17599
+ __LDBL_DIG__: "15",
17600
+ __LDBL_EPSILON__: "2.2204460492503131e-16L",
17601
+ __LDBL_HAS_DENORM__: "1",
17602
+ __LDBL_HAS_INFINITY__: "1",
17603
+ __LDBL_HAS_QUIET_NAN__: "1",
17604
+ __LDBL_MANT_DIG__: "53",
17605
+ __LDBL_MAX_10_EXP__: "308",
17606
+ __LDBL_MAX_EXP__: "1024",
17607
+ __LDBL_MAX__: "1.7976931348623157e+308L",
17608
+ __LDBL_MIN_10_EXP__: "(-307)",
17609
+ __LDBL_MIN_EXP__: "(-1021)",
17610
+ __LDBL_MIN__: "2.2250738585072014e-308L",
17611
+ __LDBL_NORM_MAX__: "1.7976931348623157e+308L",
17612
+ __LITTLE_ENDIAN__: "1",
17613
+ __LLONG_WIDTH__: "64",
17614
+ __LONG_LONG_MAX__: "9223372036854775807LL",
17615
+ __LONG_MAX__: "9223372036854775807L",
17616
+ __LONG_WIDTH__: "64",
17617
+ __LP64__: "1",
17618
+ __MACH__: "1",
17619
+ __MEMORY_SCOPE_DEVICE: "1",
17620
+ __MEMORY_SCOPE_SINGLE: "4",
17621
+ __MEMORY_SCOPE_SYSTEM: "0",
17622
+ __MEMORY_SCOPE_WRKGRP: "2",
17623
+ __MEMORY_SCOPE_WVFRNT: "3",
17624
+ __NO_INLINE__: "1",
17625
+ __NO_MATH_ERRNO__: "1",
17626
+ __OBJC_BOOL_IS_BOOL: "1",
17627
+ __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES: "3",
17628
+ __OPENCL_MEMORY_SCOPE_DEVICE: "2",
17629
+ __OPENCL_MEMORY_SCOPE_SUB_GROUP: "4",
17630
+ __OPENCL_MEMORY_SCOPE_WORK_GROUP: "1",
17631
+ __OPENCL_MEMORY_SCOPE_WORK_ITEM: "0",
17632
+ __ORDER_BIG_ENDIAN__: "4321",
17633
+ __ORDER_LITTLE_ENDIAN__: "1234",
17634
+ __ORDER_PDP_ENDIAN__: "3412",
17635
+ __PIC__: "2",
17636
+ __POINTER_WIDTH__: "64",
17637
+ __PRAGMA_REDEFINE_EXTNAME: "1",
17638
+ __PTRDIFF_FMTd__: '"ld"',
17639
+ __PTRDIFF_FMTi__: '"li"',
17640
+ __PTRDIFF_MAX__: "9223372036854775807L",
17641
+ __PTRDIFF_TYPE__: "long int",
17642
+ __PTRDIFF_WIDTH__: "64",
17643
+ __REGISTER_PREFIX__: null,
17644
+ __SCHAR_MAX__: "127",
17645
+ __SHRT_MAX__: "32767",
17646
+ __SHRT_WIDTH__: "16",
17647
+ __SIG_ATOMIC_MAX__: "2147483647",
17648
+ __SIG_ATOMIC_WIDTH__: "32",
17649
+ __SIZEOF_DOUBLE__: "8",
17650
+ __SIZEOF_FLOAT__: "4",
17651
+ __SIZEOF_INT128__: "16",
17652
+ __SIZEOF_INT__: "4",
17653
+ __SIZEOF_LONG_DOUBLE__: "8",
17654
+ __SIZEOF_LONG_LONG__: "8",
17655
+ __SIZEOF_LONG__: "8",
17656
+ __SIZEOF_POINTER__: "8",
17657
+ __SIZEOF_PTRDIFF_T__: "8",
17658
+ __SIZEOF_SHORT__: "2",
17659
+ __SIZEOF_SIZE_T__: "8",
17660
+ __SIZEOF_WCHAR_T__: "4",
17661
+ __SIZEOF_WINT_T__: "4",
17662
+ __SIZE_FMTX__: '"lX"',
17663
+ __SIZE_FMTo__: '"lo"',
17664
+ __SIZE_FMTu__: '"lu"',
17665
+ __SIZE_FMTx__: '"lx"',
17666
+ __SIZE_MAX__: "18446744073709551615UL",
17667
+ __SIZE_TYPE__: "long unsigned int",
17668
+ __SIZE_WIDTH__: "64",
17669
+ __SSP__: "1",
17670
+ __STDCPP_DEFAULT_NEW_ALIGNMENT__: "16UL",
17671
+ __STDCPP_THREADS__: "1",
17672
+ __STDC_EMBED_EMPTY__: "2",
17673
+ __STDC_EMBED_FOUND__: "1",
17674
+ __STDC_EMBED_NOT_FOUND__: "0",
17675
+ __STDC_HOSTED__: "1",
17676
+ __STDC_NO_THREADS__: "1",
17677
+ __STDC_UTF_16__: "1",
17678
+ __STDC_UTF_32__: "1",
17679
+ __STDC__: "1",
17680
+ __UINT16_C: "(c) c",
17681
+ __UINT16_C_SUFFIX__: null,
17682
+ __UINT16_FMTX__: '"hX"',
17683
+ __UINT16_FMTo__: '"ho"',
17684
+ __UINT16_FMTu__: '"hu"',
17685
+ __UINT16_FMTx__: '"hx"',
17686
+ __UINT16_MAX__: "65535",
17687
+ __UINT16_TYPE__: "unsigned short",
17688
+ __UINT32_C: "(c) c##U",
17689
+ __UINT32_C_SUFFIX__: "U",
17690
+ __UINT32_FMTX__: '"X"',
17691
+ __UINT32_FMTo__: '"o"',
17692
+ __UINT32_FMTu__: '"u"',
17693
+ __UINT32_FMTx__: '"x"',
17694
+ __UINT32_MAX__: "4294967295U",
17695
+ __UINT32_TYPE__: "unsigned int",
17696
+ __UINT64_C: "(c) c##ULL",
17697
+ __UINT64_C_SUFFIX__: "ULL",
17698
+ __UINT64_FMTX__: '"llX"',
17699
+ __UINT64_FMTo__: '"llo"',
17700
+ __UINT64_FMTu__: '"llu"',
17701
+ __UINT64_FMTx__: '"llx"',
17702
+ __UINT64_MAX__: "18446744073709551615ULL",
17703
+ __UINT64_TYPE__: "long long unsigned int",
17704
+ __UINT8_C: "(c) c",
17705
+ __UINT8_C_SUFFIX__: null,
17706
+ __UINT8_FMTX__: '"hhX"',
17707
+ __UINT8_FMTo__: '"hho"',
17708
+ __UINT8_FMTu__: '"hhu"',
17709
+ __UINT8_FMTx__: '"hhx"',
17710
+ __UINT8_MAX__: "255",
17711
+ __UINT8_TYPE__: "unsigned char",
17712
+ __UINTMAX_C: "(c) c##UL",
17713
+ __UINTMAX_C_SUFFIX__: "UL",
17714
+ __UINTMAX_FMTX__: '"lX"',
17715
+ __UINTMAX_FMTo__: '"lo"',
17716
+ __UINTMAX_FMTu__: '"lu"',
17717
+ __UINTMAX_FMTx__: '"lx"',
17718
+ __UINTMAX_MAX__: "18446744073709551615UL",
17719
+ __UINTMAX_TYPE__: "long unsigned int",
17720
+ __UINTMAX_WIDTH__: "64",
17721
+ __UINTPTR_FMTX__: '"lX"',
17722
+ __UINTPTR_FMTo__: '"lo"',
17723
+ __UINTPTR_FMTu__: '"lu"',
17724
+ __UINTPTR_FMTx__: '"lx"',
17725
+ __UINTPTR_MAX__: "18446744073709551615UL",
17726
+ __UINTPTR_TYPE__: "long unsigned int",
17727
+ __UINTPTR_WIDTH__: "64",
17728
+ __UINT_FAST16_FMTX__: '"hX"',
17729
+ __UINT_FAST16_FMTo__: '"ho"',
17730
+ __UINT_FAST16_FMTu__: '"hu"',
17731
+ __UINT_FAST16_FMTx__: '"hx"',
17732
+ __UINT_FAST16_MAX__: "65535",
17733
+ __UINT_FAST16_TYPE__: "unsigned short",
17734
+ __UINT_FAST32_FMTX__: '"X"',
17735
+ __UINT_FAST32_FMTo__: '"o"',
17736
+ __UINT_FAST32_FMTu__: '"u"',
17737
+ __UINT_FAST32_FMTx__: '"x"',
17738
+ __UINT_FAST32_MAX__: "4294967295U",
17739
+ __UINT_FAST32_TYPE__: "unsigned int",
17740
+ __UINT_FAST64_FMTX__: '"llX"',
17741
+ __UINT_FAST64_FMTo__: '"llo"',
17742
+ __UINT_FAST64_FMTu__: '"llu"',
17743
+ __UINT_FAST64_FMTx__: '"llx"',
17744
+ __UINT_FAST64_MAX__: "18446744073709551615ULL",
17745
+ __UINT_FAST64_TYPE__: "long long unsigned int",
17746
+ __UINT_FAST8_FMTX__: '"hhX"',
17747
+ __UINT_FAST8_FMTo__: '"hho"',
17748
+ __UINT_FAST8_FMTu__: '"hhu"',
17749
+ __UINT_FAST8_FMTx__: '"hhx"',
17750
+ __UINT_FAST8_MAX__: "255",
17751
+ __UINT_FAST8_TYPE__: "unsigned char",
17752
+ __UINT_LEAST16_FMTX__: '"hX"',
17753
+ __UINT_LEAST16_FMTo__: '"ho"',
17754
+ __UINT_LEAST16_FMTu__: '"hu"',
17755
+ __UINT_LEAST16_FMTx__: '"hx"',
17756
+ __UINT_LEAST16_MAX__: "65535",
17757
+ __UINT_LEAST16_TYPE__: "unsigned short",
17758
+ __UINT_LEAST32_FMTX__: '"X"',
17759
+ __UINT_LEAST32_FMTo__: '"o"',
17760
+ __UINT_LEAST32_FMTu__: '"u"',
17761
+ __UINT_LEAST32_FMTx__: '"x"',
17762
+ __UINT_LEAST32_MAX__: "4294967295U",
17763
+ __UINT_LEAST32_TYPE__: "unsigned int",
17764
+ __UINT_LEAST64_FMTX__: '"llX"',
17765
+ __UINT_LEAST64_FMTo__: '"llo"',
17766
+ __UINT_LEAST64_FMTu__: '"llu"',
17767
+ __UINT_LEAST64_FMTx__: '"llx"',
17768
+ __UINT_LEAST64_MAX__: "18446744073709551615ULL",
17769
+ __UINT_LEAST64_TYPE__: "long long unsigned int",
17770
+ __UINT_LEAST8_FMTX__: '"hhX"',
17771
+ __UINT_LEAST8_FMTo__: '"hho"',
17772
+ __UINT_LEAST8_FMTu__: '"hhu"',
17773
+ __UINT_LEAST8_FMTx__: '"hhx"',
17774
+ __UINT_LEAST8_MAX__: "255",
17775
+ __UINT_LEAST8_TYPE__: "unsigned char",
17776
+ __USER_LABEL_PREFIX__: "_",
17777
+ __VERSION__: '"Clang 21.0.0"',
17778
+ __WCHAR_MAX__: "2147483647",
17779
+ __WCHAR_TYPE__: "int",
17780
+ __WCHAR_WIDTH__: "32",
17781
+ __WINT_MAX__: "2147483647",
17782
+ __WINT_TYPE__: "int",
17783
+ __WINT_WIDTH__: "32",
17784
+ __aarch64__: "1",
17785
+ __arm64: "1",
17786
+ __arm64__: "1",
17787
+ __block: "__attribute__((__blocks__(byref)))",
17788
+ __clang__: "1",
17789
+ __clang_literal_encoding__: '"UTF-8"',
17790
+ __clang_major__: "21",
17791
+ __clang_minor__: "0",
17792
+ __clang_patchlevel__: "0",
17793
+ __clang_version__: '"21.0.0 "',
17794
+ __clang_wide_literal_encoding__: '"UTF-32"',
17795
+ __cplusplus: "201703L",
17796
+ __cpp_aggregate_bases: "201603L",
17797
+ __cpp_aggregate_nsdmi: "201304L",
17798
+ __cpp_alias_templates: "200704L",
17799
+ __cpp_attributes: "200809L",
17800
+ __cpp_binary_literals: "201304L",
17801
+ __cpp_capture_star_this: "201603L",
17802
+ __cpp_constexpr: "201603L",
17803
+ __cpp_constexpr_in_decltype: "201711L",
17804
+ __cpp_decltype: "200707L",
17805
+ __cpp_decltype_auto: "201304L",
17806
+ __cpp_deduction_guides: "201703L",
17807
+ __cpp_delegating_constructors: "200604L",
17808
+ __cpp_deleted_function: "202403L",
17809
+ __cpp_digit_separators: "201309L",
17810
+ __cpp_enumerator_attributes: "201411L",
17811
+ __cpp_exceptions: "199711L",
17812
+ __cpp_fold_expressions: "201603L",
17813
+ __cpp_generic_lambdas: "201304L",
17814
+ __cpp_guaranteed_copy_elision: "201606L",
17815
+ __cpp_hex_float: "201603L",
17816
+ __cpp_if_constexpr: "201606L",
17817
+ __cpp_impl_destroying_delete: "201806L",
17818
+ __cpp_inheriting_constructors: "201511L",
17819
+ __cpp_init_captures: "201304L",
17820
+ __cpp_initializer_lists: "200806L",
17821
+ __cpp_inline_variables: "201606L",
17822
+ __cpp_lambdas: "200907L",
17823
+ __cpp_named_character_escapes: "202207L",
17824
+ __cpp_namespace_attributes: "201411L",
17825
+ __cpp_nested_namespace_definitions: "201411L",
17826
+ __cpp_noexcept_function_type: "201510L",
17827
+ __cpp_nontype_template_args: "201411L",
17828
+ __cpp_nontype_template_parameter_auto: "201606L",
17829
+ __cpp_nsdmi: "200809L",
17830
+ __cpp_pack_indexing: "202311L",
17831
+ __cpp_placeholder_variables: "202306L",
17832
+ __cpp_range_based_for: "201603L",
17833
+ __cpp_raw_strings: "200710L",
17834
+ __cpp_ref_qualifiers: "200710L",
17835
+ __cpp_return_type_deduction: "201304L",
17836
+ __cpp_rtti: "199711L",
17837
+ __cpp_rvalue_references: "200610L",
17838
+ __cpp_static_assert: "202306L",
17839
+ __cpp_static_call_operator: "202207L",
17840
+ __cpp_structured_bindings: "202411L",
17841
+ __cpp_template_auto: "201606L",
17842
+ __cpp_template_template_args: "201611L",
17843
+ __cpp_threadsafe_static_init: "200806L",
17844
+ __cpp_unicode_characters: "200704L",
17845
+ __cpp_unicode_literals: "200710L",
17846
+ __cpp_user_defined_literals: "200809L",
17847
+ __cpp_variable_templates: "201304L",
17848
+ __cpp_variadic_friend: "202403L",
17849
+ __cpp_variadic_templates: "200704L",
17850
+ __cpp_variadic_using: "201611L",
17851
+ __llvm__: "1",
17852
+ __nonnull: "_Nonnull",
17853
+ __null_unspecified: "_Null_unspecified",
17854
+ __nullable: "_Nullable",
17855
+ __pic__: "2",
17856
+ __private_extern__: "extern",
17857
+ __strong: null,
17858
+ __unsafe_unretained: null,
17859
+ __weak: "__attribute__((objc_gc(weak)))"
17860
+ },
17861
+ "objective-c": {
17862
+ IBAction: "void)__attribute__((ibaction)",
17863
+ IBInspectable: null,
17864
+ IBOutlet: "__attribute__((iboutlet))",
17865
+ IBOutletCollection: "(ClassName) __attribute__((iboutletcollection(ClassName)))",
17866
+ IB_DESIGNABLE: null,
17867
+ OBJC_NEW_PROPERTIES: "1",
17868
+ OBJC_ZEROCOST_EXCEPTIONS: "1",
17869
+ TARGET_IPHONE_SIMULATOR: "1",
17870
+ TARGET_OS_DRIVERKIT: "0",
17871
+ TARGET_OS_EMBEDDED: "0",
17872
+ TARGET_OS_FIRMWARE: "0",
17873
+ TARGET_OS_IOS: "1",
17874
+ TARGET_OS_IPHONE: "1",
17875
+ TARGET_OS_LINUX: "0",
17876
+ TARGET_OS_MAC: "1",
17877
+ TARGET_OS_MACCATALYST: "0",
17878
+ TARGET_OS_NANO: "0",
17879
+ TARGET_OS_OSX: "0",
17880
+ TARGET_OS_SIMULATOR: "1",
17881
+ TARGET_OS_TV: "0",
17882
+ TARGET_OS_UEFI: "0",
17883
+ TARGET_OS_UIKITFORMAC: "0",
17884
+ TARGET_OS_UNIX: "0",
17885
+ TARGET_OS_VISION: "0",
17886
+ TARGET_OS_WATCH: "0",
17887
+ TARGET_OS_WIN32: "0",
17888
+ TARGET_OS_WINDOWS: "0",
17889
+ _LP64: "1",
17890
+ __AARCH64EL__: "1",
17891
+ __AARCH64_CMODEL_SMALL__: "1",
17892
+ __AARCH64_SIMD__: "1",
17893
+ __APPLE_CC__: "6000",
17894
+ __APPLE_EMBEDDED_SIMULATOR__: "1",
17895
+ __APPLE__: "1",
17896
+ __ARM64_ARCH_8__: "1",
17897
+ __ARM_64BIT_STATE: "1",
17898
+ __ARM_ACLE: "202420",
17899
+ __ARM_ACLE_VERSION: "(year,quarter,patch) (100 * (year) + 10 * (quarter) + (patch))",
17900
+ __ARM_ALIGN_MAX_STACK_PWR: "4",
17901
+ __ARM_ARCH: "8",
17902
+ __ARM_ARCH_ISA_A64: "1",
17903
+ __ARM_ARCH_PROFILE: "'A'",
17904
+ __ARM_FEATURE_AES: "1",
17905
+ __ARM_FEATURE_ATOMICS: "1",
17906
+ __ARM_FEATURE_CLZ: "1",
17907
+ __ARM_FEATURE_COMPLEX: "1",
17908
+ __ARM_FEATURE_CRC32: "1",
17909
+ __ARM_FEATURE_CRYPTO: "1",
17910
+ __ARM_FEATURE_DIRECTED_ROUNDING: "1",
17911
+ __ARM_FEATURE_DIV: "1",
17912
+ __ARM_FEATURE_DOTPROD: "1",
17913
+ __ARM_FEATURE_FMA: "1",
17914
+ __ARM_FEATURE_FP16_FML: "1",
17915
+ __ARM_FEATURE_FP16_SCALAR_ARITHMETIC: "1",
17916
+ __ARM_FEATURE_FP16_VECTOR_ARITHMETIC: "1",
17917
+ __ARM_FEATURE_IDIV: "1",
17918
+ __ARM_FEATURE_JCVT: "1",
17919
+ __ARM_FEATURE_LDREX: "0xF",
17920
+ __ARM_FEATURE_NUMERIC_MAXMIN: "1",
17921
+ __ARM_FEATURE_PAUTH: "1",
17922
+ __ARM_FEATURE_QRDMX: "1",
17923
+ __ARM_FEATURE_RCPC: "1",
17924
+ __ARM_FEATURE_SHA2: "1",
17925
+ __ARM_FEATURE_SHA3: "1",
17926
+ __ARM_FEATURE_SHA512: "1",
17927
+ __ARM_FEATURE_UNALIGNED: "1",
17928
+ __ARM_FP: "0xE",
17929
+ __ARM_FP16_ARGS: "1",
17930
+ __ARM_FP16_FORMAT_IEEE: "1",
17931
+ __ARM_NEON: "1",
17932
+ __ARM_NEON_FP: "0xE",
17933
+ __ARM_NEON_SVE_BRIDGE: "1",
17934
+ __ARM_NEON__: "1",
17935
+ __ARM_PCS_AAPCS64: "1",
17936
+ __ARM_SIZEOF_MINIMAL_ENUM: "4",
17937
+ __ARM_SIZEOF_WCHAR_T: "4",
17938
+ __ARM_STATE_ZA: "1",
17939
+ __ARM_STATE_ZT0: "1",
17940
+ __ATOMIC_ACQUIRE: "2",
17941
+ __ATOMIC_ACQ_REL: "4",
17942
+ __ATOMIC_CONSUME: "1",
17943
+ __ATOMIC_RELAXED: "0",
17944
+ __ATOMIC_RELEASE: "3",
17945
+ __ATOMIC_SEQ_CST: "5",
17946
+ __BIGGEST_ALIGNMENT__: "8",
17947
+ __BITINT_MAXWIDTH__: "128",
17948
+ __BLOCKS__: "1",
17949
+ __BOOL_WIDTH__: "1",
17950
+ __BYTE_ORDER__: "__ORDER_LITTLE_ENDIAN__",
17951
+ __CHAR16_TYPE__: "unsigned short",
17952
+ __CHAR32_TYPE__: "unsigned int",
17953
+ __CHAR_BIT__: "8",
17954
+ __CLANG_ATOMIC_BOOL_LOCK_FREE: "2",
17955
+ __CLANG_ATOMIC_CHAR16_T_LOCK_FREE: "2",
17956
+ __CLANG_ATOMIC_CHAR32_T_LOCK_FREE: "2",
17957
+ __CLANG_ATOMIC_CHAR_LOCK_FREE: "2",
17958
+ __CLANG_ATOMIC_INT_LOCK_FREE: "2",
17959
+ __CLANG_ATOMIC_LLONG_LOCK_FREE: "2",
17960
+ __CLANG_ATOMIC_LONG_LOCK_FREE: "2",
17961
+ __CLANG_ATOMIC_POINTER_LOCK_FREE: "2",
17962
+ __CLANG_ATOMIC_SHORT_LOCK_FREE: "2",
17963
+ __CLANG_ATOMIC_WCHAR_T_LOCK_FREE: "2",
17964
+ __CONSTANT_CFSTRINGS__: "1",
17965
+ __DBL_DECIMAL_DIG__: "17",
17966
+ __DBL_DENORM_MIN__: "4.9406564584124654e-324",
17967
+ __DBL_DIG__: "15",
17968
+ __DBL_EPSILON__: "2.2204460492503131e-16",
17969
+ __DBL_HAS_DENORM__: "1",
17970
+ __DBL_HAS_INFINITY__: "1",
17971
+ __DBL_HAS_QUIET_NAN__: "1",
17972
+ __DBL_MANT_DIG__: "53",
17973
+ __DBL_MAX_10_EXP__: "308",
17974
+ __DBL_MAX_EXP__: "1024",
17975
+ __DBL_MAX__: "1.7976931348623157e+308",
17976
+ __DBL_MIN_10_EXP__: "(-307)",
17977
+ __DBL_MIN_EXP__: "(-1021)",
17978
+ __DBL_MIN__: "2.2250738585072014e-308",
17979
+ __DBL_NORM_MAX__: "1.7976931348623157e+308",
17980
+ __DECIMAL_DIG__: "__LDBL_DECIMAL_DIG__",
17981
+ __DYNAMIC__: "1",
17982
+ __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__: "70000",
17983
+ __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__: "70000",
17984
+ __EXCEPTIONS: "1",
17985
+ __FINITE_MATH_ONLY__: "0",
17986
+ __FLT16_DECIMAL_DIG__: "5",
17987
+ __FLT16_DENORM_MIN__: "5.9604644775390625e-8F16",
17988
+ __FLT16_DIG__: "3",
17989
+ __FLT16_EPSILON__: "9.765625e-4F16",
17990
+ __FLT16_HAS_DENORM__: "1",
17991
+ __FLT16_HAS_INFINITY__: "1",
17992
+ __FLT16_HAS_QUIET_NAN__: "1",
17993
+ __FLT16_MANT_DIG__: "11",
17994
+ __FLT16_MAX_10_EXP__: "4",
17995
+ __FLT16_MAX_EXP__: "16",
17996
+ __FLT16_MAX__: "6.5504e+4F16",
17997
+ __FLT16_MIN_10_EXP__: "(-4)",
17998
+ __FLT16_MIN_EXP__: "(-13)",
17999
+ __FLT16_MIN__: "6.103515625e-5F16",
18000
+ __FLT16_NORM_MAX__: "6.5504e+4F16",
18001
+ __FLT_DECIMAL_DIG__: "9",
18002
+ __FLT_DENORM_MIN__: "1.40129846e-45F",
18003
+ __FLT_DIG__: "6",
18004
+ __FLT_EPSILON__: "1.19209290e-7F",
18005
+ __FLT_HAS_DENORM__: "1",
18006
+ __FLT_HAS_INFINITY__: "1",
18007
+ __FLT_HAS_QUIET_NAN__: "1",
18008
+ __FLT_MANT_DIG__: "24",
18009
+ __FLT_MAX_10_EXP__: "38",
18010
+ __FLT_MAX_EXP__: "128",
18011
+ __FLT_MAX__: "3.40282347e+38F",
18012
+ __FLT_MIN_10_EXP__: "(-37)",
18013
+ __FLT_MIN_EXP__: "(-125)",
18014
+ __FLT_MIN__: "1.17549435e-38F",
18015
+ __FLT_NORM_MAX__: "3.40282347e+38F",
18016
+ __FLT_RADIX__: "2",
18017
+ __FPCLASS_NEGINF: "0x0004",
18018
+ __FPCLASS_NEGNORMAL: "0x0008",
18019
+ __FPCLASS_NEGSUBNORMAL: "0x0010",
18020
+ __FPCLASS_NEGZERO: "0x0020",
18021
+ __FPCLASS_POSINF: "0x0200",
18022
+ __FPCLASS_POSNORMAL: "0x0100",
18023
+ __FPCLASS_POSSUBNORMAL: "0x0080",
18024
+ __FPCLASS_POSZERO: "0x0040",
18025
+ __FPCLASS_QNAN: "0x0002",
18026
+ __FPCLASS_SNAN: "0x0001",
18027
+ __FP_FAST_FMA: "1",
18028
+ __FP_FAST_FMAF: "1",
18029
+ __FUNCTION_MULTI_VERSIONING_SUPPORT_LEVEL: "202430",
18030
+ __GCC_ASM_FLAG_OUTPUTS__: "1",
18031
+ __GCC_ATOMIC_BOOL_LOCK_FREE: "2",
18032
+ __GCC_ATOMIC_CHAR16_T_LOCK_FREE: "2",
18033
+ __GCC_ATOMIC_CHAR32_T_LOCK_FREE: "2",
18034
+ __GCC_ATOMIC_CHAR_LOCK_FREE: "2",
18035
+ __GCC_ATOMIC_INT_LOCK_FREE: "2",
18036
+ __GCC_ATOMIC_LLONG_LOCK_FREE: "2",
18037
+ __GCC_ATOMIC_LONG_LOCK_FREE: "2",
18038
+ __GCC_ATOMIC_POINTER_LOCK_FREE: "2",
18039
+ __GCC_ATOMIC_SHORT_LOCK_FREE: "2",
18040
+ __GCC_ATOMIC_TEST_AND_SET_TRUEVAL: "1",
18041
+ __GCC_ATOMIC_WCHAR_T_LOCK_FREE: "2",
18042
+ __GCC_CONSTRUCTIVE_SIZE: "64",
18043
+ __GCC_DESTRUCTIVE_SIZE: "256",
18044
+ __GCC_HAVE_DWARF2_CFI_ASM: "1",
18045
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1: "1",
18046
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16: "1",
18047
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2: "1",
18048
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4: "1",
18049
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8: "1",
18050
+ __GNUC_MINOR__: "2",
18051
+ __GNUC_PATCHLEVEL__: "1",
18052
+ __GNUC_STDC_INLINE__: "1",
18053
+ __GNUC__: "4",
18054
+ __GXX_ABI_VERSION: "1002",
18055
+ __HAVE_FUNCTION_MULTI_VERSIONING: "1",
18056
+ __INT16_C: "(c) c",
18057
+ __INT16_C_SUFFIX__: null,
18058
+ __INT16_FMTd__: '"hd"',
18059
+ __INT16_FMTi__: '"hi"',
18060
+ __INT16_MAX__: "32767",
18061
+ __INT16_TYPE__: "short",
18062
+ __INT32_C: "(c) c",
18063
+ __INT32_C_SUFFIX__: null,
18064
+ __INT32_FMTd__: '"d"',
18065
+ __INT32_FMTi__: '"i"',
18066
+ __INT32_MAX__: "2147483647",
18067
+ __INT32_TYPE__: "int",
18068
+ __INT64_C: "(c) c##LL",
18069
+ __INT64_C_SUFFIX__: "LL",
18070
+ __INT64_FMTd__: '"lld"',
18071
+ __INT64_FMTi__: '"lli"',
18072
+ __INT64_MAX__: "9223372036854775807LL",
18073
+ __INT64_TYPE__: "long long int",
18074
+ __INT8_C: "(c) c",
18075
+ __INT8_C_SUFFIX__: null,
18076
+ __INT8_FMTd__: '"hhd"',
18077
+ __INT8_FMTi__: '"hhi"',
18078
+ __INT8_MAX__: "127",
18079
+ __INT8_TYPE__: "signed char",
18080
+ __INTMAX_C: "(c) c##L",
18081
+ __INTMAX_C_SUFFIX__: "L",
18082
+ __INTMAX_FMTd__: '"ld"',
18083
+ __INTMAX_FMTi__: '"li"',
18084
+ __INTMAX_MAX__: "9223372036854775807L",
18085
+ __INTMAX_TYPE__: "long int",
18086
+ __INTMAX_WIDTH__: "64",
18087
+ __INTPTR_FMTd__: '"ld"',
18088
+ __INTPTR_FMTi__: '"li"',
18089
+ __INTPTR_MAX__: "9223372036854775807L",
18090
+ __INTPTR_TYPE__: "long int",
18091
+ __INTPTR_WIDTH__: "64",
18092
+ __INT_FAST16_FMTd__: '"hd"',
18093
+ __INT_FAST16_FMTi__: '"hi"',
18094
+ __INT_FAST16_MAX__: "32767",
18095
+ __INT_FAST16_TYPE__: "short",
18096
+ __INT_FAST16_WIDTH__: "16",
18097
+ __INT_FAST32_FMTd__: '"d"',
18098
+ __INT_FAST32_FMTi__: '"i"',
18099
+ __INT_FAST32_MAX__: "2147483647",
18100
+ __INT_FAST32_TYPE__: "int",
18101
+ __INT_FAST32_WIDTH__: "32",
18102
+ __INT_FAST64_FMTd__: '"lld"',
18103
+ __INT_FAST64_FMTi__: '"lli"',
18104
+ __INT_FAST64_MAX__: "9223372036854775807LL",
18105
+ __INT_FAST64_TYPE__: "long long int",
18106
+ __INT_FAST64_WIDTH__: "64",
18107
+ __INT_FAST8_FMTd__: '"hhd"',
18108
+ __INT_FAST8_FMTi__: '"hhi"',
18109
+ __INT_FAST8_MAX__: "127",
18110
+ __INT_FAST8_TYPE__: "signed char",
18111
+ __INT_FAST8_WIDTH__: "8",
18112
+ __INT_LEAST16_FMTd__: '"hd"',
18113
+ __INT_LEAST16_FMTi__: '"hi"',
18114
+ __INT_LEAST16_MAX__: "32767",
18115
+ __INT_LEAST16_TYPE__: "short",
18116
+ __INT_LEAST16_WIDTH__: "16",
18117
+ __INT_LEAST32_FMTd__: '"d"',
18118
+ __INT_LEAST32_FMTi__: '"i"',
18119
+ __INT_LEAST32_MAX__: "2147483647",
18120
+ __INT_LEAST32_TYPE__: "int",
18121
+ __INT_LEAST32_WIDTH__: "32",
18122
+ __INT_LEAST64_FMTd__: '"lld"',
18123
+ __INT_LEAST64_FMTi__: '"lli"',
18124
+ __INT_LEAST64_MAX__: "9223372036854775807LL",
18125
+ __INT_LEAST64_TYPE__: "long long int",
18126
+ __INT_LEAST64_WIDTH__: "64",
18127
+ __INT_LEAST8_FMTd__: '"hhd"',
18128
+ __INT_LEAST8_FMTi__: '"hhi"',
18129
+ __INT_LEAST8_MAX__: "127",
18130
+ __INT_LEAST8_TYPE__: "signed char",
18131
+ __INT_LEAST8_WIDTH__: "8",
18132
+ __INT_MAX__: "2147483647",
18133
+ __INT_WIDTH__: "32",
18134
+ __LDBL_DECIMAL_DIG__: "17",
18135
+ __LDBL_DENORM_MIN__: "4.9406564584124654e-324L",
18136
+ __LDBL_DIG__: "15",
18137
+ __LDBL_EPSILON__: "2.2204460492503131e-16L",
18138
+ __LDBL_HAS_DENORM__: "1",
18139
+ __LDBL_HAS_INFINITY__: "1",
18140
+ __LDBL_HAS_QUIET_NAN__: "1",
18141
+ __LDBL_MANT_DIG__: "53",
18142
+ __LDBL_MAX_10_EXP__: "308",
18143
+ __LDBL_MAX_EXP__: "1024",
18144
+ __LDBL_MAX__: "1.7976931348623157e+308L",
18145
+ __LDBL_MIN_10_EXP__: "(-307)",
18146
+ __LDBL_MIN_EXP__: "(-1021)",
18147
+ __LDBL_MIN__: "2.2250738585072014e-308L",
18148
+ __LDBL_NORM_MAX__: "1.7976931348623157e+308L",
18149
+ __LITTLE_ENDIAN__: "1",
18150
+ __LLONG_WIDTH__: "64",
18151
+ __LONG_LONG_MAX__: "9223372036854775807LL",
18152
+ __LONG_MAX__: "9223372036854775807L",
18153
+ __LONG_WIDTH__: "64",
18154
+ __LP64__: "1",
18155
+ __MACH__: "1",
18156
+ __MEMORY_SCOPE_DEVICE: "1",
18157
+ __MEMORY_SCOPE_SINGLE: "4",
18158
+ __MEMORY_SCOPE_SYSTEM: "0",
18159
+ __MEMORY_SCOPE_WRKGRP: "2",
18160
+ __MEMORY_SCOPE_WVFRNT: "3",
18161
+ __NEXT_RUNTIME__: "1",
18162
+ __NO_INLINE__: "1",
18163
+ __NO_MATH_ERRNO__: "1",
18164
+ __OBJC2__: "1",
18165
+ __OBJC_BOOL_IS_BOOL: "1",
18166
+ __OBJC__: "1",
18167
+ __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES: "3",
18168
+ __OPENCL_MEMORY_SCOPE_DEVICE: "2",
18169
+ __OPENCL_MEMORY_SCOPE_SUB_GROUP: "4",
18170
+ __OPENCL_MEMORY_SCOPE_WORK_GROUP: "1",
18171
+ __OPENCL_MEMORY_SCOPE_WORK_ITEM: "0",
18172
+ __ORDER_BIG_ENDIAN__: "4321",
18173
+ __ORDER_LITTLE_ENDIAN__: "1234",
18174
+ __ORDER_PDP_ENDIAN__: "3412",
18175
+ __PIC__: "2",
18176
+ __POINTER_WIDTH__: "64",
18177
+ __PRAGMA_REDEFINE_EXTNAME: "1",
18178
+ __PTRDIFF_FMTd__: '"ld"',
18179
+ __PTRDIFF_FMTi__: '"li"',
18180
+ __PTRDIFF_MAX__: "9223372036854775807L",
18181
+ __PTRDIFF_TYPE__: "long int",
18182
+ __PTRDIFF_WIDTH__: "64",
18183
+ __REGISTER_PREFIX__: null,
18184
+ __SCHAR_MAX__: "127",
18185
+ __SHRT_MAX__: "32767",
18186
+ __SHRT_WIDTH__: "16",
18187
+ __SIG_ATOMIC_MAX__: "2147483647",
18188
+ __SIG_ATOMIC_WIDTH__: "32",
18189
+ __SIZEOF_DOUBLE__: "8",
18190
+ __SIZEOF_FLOAT__: "4",
18191
+ __SIZEOF_INT128__: "16",
18192
+ __SIZEOF_INT__: "4",
18193
+ __SIZEOF_LONG_DOUBLE__: "8",
18194
+ __SIZEOF_LONG_LONG__: "8",
18195
+ __SIZEOF_LONG__: "8",
18196
+ __SIZEOF_POINTER__: "8",
18197
+ __SIZEOF_PTRDIFF_T__: "8",
18198
+ __SIZEOF_SHORT__: "2",
18199
+ __SIZEOF_SIZE_T__: "8",
18200
+ __SIZEOF_WCHAR_T__: "4",
18201
+ __SIZEOF_WINT_T__: "4",
18202
+ __SIZE_FMTX__: '"lX"',
18203
+ __SIZE_FMTo__: '"lo"',
18204
+ __SIZE_FMTu__: '"lu"',
18205
+ __SIZE_FMTx__: '"lx"',
18206
+ __SIZE_MAX__: "18446744073709551615UL",
18207
+ __SIZE_TYPE__: "long unsigned int",
18208
+ __SIZE_WIDTH__: "64",
18209
+ __SSP__: "1",
18210
+ __STDC_EMBED_EMPTY__: "2",
18211
+ __STDC_EMBED_FOUND__: "1",
18212
+ __STDC_EMBED_NOT_FOUND__: "0",
18213
+ __STDC_HOSTED__: "1",
18214
+ __STDC_NO_THREADS__: "1",
18215
+ __STDC_UTF_16__: "1",
18216
+ __STDC_UTF_32__: "1",
18217
+ __STDC_VERSION__: "201112L",
18218
+ __STDC__: "1",
18219
+ __UINT16_C: "(c) c",
18220
+ __UINT16_C_SUFFIX__: null,
18221
+ __UINT16_FMTX__: '"hX"',
18222
+ __UINT16_FMTo__: '"ho"',
18223
+ __UINT16_FMTu__: '"hu"',
18224
+ __UINT16_FMTx__: '"hx"',
18225
+ __UINT16_MAX__: "65535",
18226
+ __UINT16_TYPE__: "unsigned short",
18227
+ __UINT32_C: "(c) c##U",
18228
+ __UINT32_C_SUFFIX__: "U",
18229
+ __UINT32_FMTX__: '"X"',
18230
+ __UINT32_FMTo__: '"o"',
18231
+ __UINT32_FMTu__: '"u"',
18232
+ __UINT32_FMTx__: '"x"',
18233
+ __UINT32_MAX__: "4294967295U",
18234
+ __UINT32_TYPE__: "unsigned int",
18235
+ __UINT64_C: "(c) c##ULL",
18236
+ __UINT64_C_SUFFIX__: "ULL",
18237
+ __UINT64_FMTX__: '"llX"',
18238
+ __UINT64_FMTo__: '"llo"',
18239
+ __UINT64_FMTu__: '"llu"',
18240
+ __UINT64_FMTx__: '"llx"',
18241
+ __UINT64_MAX__: "18446744073709551615ULL",
18242
+ __UINT64_TYPE__: "long long unsigned int",
18243
+ __UINT8_C: "(c) c",
18244
+ __UINT8_C_SUFFIX__: null,
18245
+ __UINT8_FMTX__: '"hhX"',
18246
+ __UINT8_FMTo__: '"hho"',
18247
+ __UINT8_FMTu__: '"hhu"',
18248
+ __UINT8_FMTx__: '"hhx"',
18249
+ __UINT8_MAX__: "255",
18250
+ __UINT8_TYPE__: "unsigned char",
18251
+ __UINTMAX_C: "(c) c##UL",
18252
+ __UINTMAX_C_SUFFIX__: "UL",
18253
+ __UINTMAX_FMTX__: '"lX"',
18254
+ __UINTMAX_FMTo__: '"lo"',
18255
+ __UINTMAX_FMTu__: '"lu"',
18256
+ __UINTMAX_FMTx__: '"lx"',
18257
+ __UINTMAX_MAX__: "18446744073709551615UL",
18258
+ __UINTMAX_TYPE__: "long unsigned int",
18259
+ __UINTMAX_WIDTH__: "64",
18260
+ __UINTPTR_FMTX__: '"lX"',
18261
+ __UINTPTR_FMTo__: '"lo"',
18262
+ __UINTPTR_FMTu__: '"lu"',
18263
+ __UINTPTR_FMTx__: '"lx"',
18264
+ __UINTPTR_MAX__: "18446744073709551615UL",
18265
+ __UINTPTR_TYPE__: "long unsigned int",
18266
+ __UINTPTR_WIDTH__: "64",
18267
+ __UINT_FAST16_FMTX__: '"hX"',
18268
+ __UINT_FAST16_FMTo__: '"ho"',
18269
+ __UINT_FAST16_FMTu__: '"hu"',
18270
+ __UINT_FAST16_FMTx__: '"hx"',
18271
+ __UINT_FAST16_MAX__: "65535",
18272
+ __UINT_FAST16_TYPE__: "unsigned short",
18273
+ __UINT_FAST32_FMTX__: '"X"',
18274
+ __UINT_FAST32_FMTo__: '"o"',
18275
+ __UINT_FAST32_FMTu__: '"u"',
18276
+ __UINT_FAST32_FMTx__: '"x"',
18277
+ __UINT_FAST32_MAX__: "4294967295U",
18278
+ __UINT_FAST32_TYPE__: "unsigned int",
18279
+ __UINT_FAST64_FMTX__: '"llX"',
18280
+ __UINT_FAST64_FMTo__: '"llo"',
18281
+ __UINT_FAST64_FMTu__: '"llu"',
18282
+ __UINT_FAST64_FMTx__: '"llx"',
18283
+ __UINT_FAST64_MAX__: "18446744073709551615ULL",
18284
+ __UINT_FAST64_TYPE__: "long long unsigned int",
18285
+ __UINT_FAST8_FMTX__: '"hhX"',
18286
+ __UINT_FAST8_FMTo__: '"hho"',
18287
+ __UINT_FAST8_FMTu__: '"hhu"',
18288
+ __UINT_FAST8_FMTx__: '"hhx"',
18289
+ __UINT_FAST8_MAX__: "255",
18290
+ __UINT_FAST8_TYPE__: "unsigned char",
18291
+ __UINT_LEAST16_FMTX__: '"hX"',
18292
+ __UINT_LEAST16_FMTo__: '"ho"',
18293
+ __UINT_LEAST16_FMTu__: '"hu"',
18294
+ __UINT_LEAST16_FMTx__: '"hx"',
18295
+ __UINT_LEAST16_MAX__: "65535",
18296
+ __UINT_LEAST16_TYPE__: "unsigned short",
18297
+ __UINT_LEAST32_FMTX__: '"X"',
18298
+ __UINT_LEAST32_FMTo__: '"o"',
18299
+ __UINT_LEAST32_FMTu__: '"u"',
18300
+ __UINT_LEAST32_FMTx__: '"x"',
18301
+ __UINT_LEAST32_MAX__: "4294967295U",
18302
+ __UINT_LEAST32_TYPE__: "unsigned int",
18303
+ __UINT_LEAST64_FMTX__: '"llX"',
18304
+ __UINT_LEAST64_FMTo__: '"llo"',
18305
+ __UINT_LEAST64_FMTu__: '"llu"',
18306
+ __UINT_LEAST64_FMTx__: '"llx"',
18307
+ __UINT_LEAST64_MAX__: "18446744073709551615ULL",
18308
+ __UINT_LEAST64_TYPE__: "long long unsigned int",
18309
+ __UINT_LEAST8_FMTX__: '"hhX"',
18310
+ __UINT_LEAST8_FMTo__: '"hho"',
18311
+ __UINT_LEAST8_FMTu__: '"hhu"',
18312
+ __UINT_LEAST8_FMTx__: '"hhx"',
18313
+ __UINT_LEAST8_MAX__: "255",
18314
+ __UINT_LEAST8_TYPE__: "unsigned char",
18315
+ __USER_LABEL_PREFIX__: "_",
18316
+ __VERSION__: '"Clang 21.0.0"',
18317
+ __WCHAR_MAX__: "2147483647",
18318
+ __WCHAR_TYPE__: "int",
18319
+ __WCHAR_WIDTH__: "32",
18320
+ __WINT_MAX__: "2147483647",
18321
+ __WINT_TYPE__: "int",
18322
+ __WINT_WIDTH__: "32",
18323
+ __aarch64__: "1",
18324
+ __arm64: "1",
18325
+ __arm64__: "1",
18326
+ __autoreleasing: "__attribute__((objc_ownership(autoreleasing)))",
18327
+ __block: "__attribute__((__blocks__(byref)))",
18328
+ __clang__: "1",
18329
+ __clang_literal_encoding__: '"UTF-8"',
18330
+ __clang_major__: "21",
18331
+ __clang_minor__: "0",
18332
+ __clang_patchlevel__: "0",
18333
+ __clang_version__: '"21.0.0 "',
18334
+ __clang_wide_literal_encoding__: '"UTF-32"',
18335
+ __llvm__: "1",
18336
+ __nonnull: "_Nonnull",
18337
+ __null_unspecified: "_Null_unspecified",
18338
+ __nullable: "_Nullable",
18339
+ __pic__: "2",
18340
+ __strong: "__attribute__((objc_ownership(strong)))",
18341
+ __unsafe_unretained: "__attribute__((objc_ownership(none)))",
18342
+ __weak: "__attribute__((objc_ownership(weak)))"
18343
+ },
18344
+ "objective-c++": {
18345
+ IBAction: "void)__attribute__((ibaction)",
18346
+ IBInspectable: null,
18347
+ IBOutlet: "__attribute__((iboutlet))",
18348
+ IBOutletCollection: "(ClassName) __attribute__((iboutletcollection(ClassName)))",
18349
+ IB_DESIGNABLE: null,
18350
+ OBJC_NEW_PROPERTIES: "1",
18351
+ OBJC_ZEROCOST_EXCEPTIONS: "1",
18352
+ TARGET_IPHONE_SIMULATOR: "1",
18353
+ TARGET_OS_DRIVERKIT: "0",
18354
+ TARGET_OS_EMBEDDED: "0",
18355
+ TARGET_OS_FIRMWARE: "0",
18356
+ TARGET_OS_IOS: "1",
18357
+ TARGET_OS_IPHONE: "1",
18358
+ TARGET_OS_LINUX: "0",
18359
+ TARGET_OS_MAC: "1",
18360
+ TARGET_OS_MACCATALYST: "0",
18361
+ TARGET_OS_NANO: "0",
18362
+ TARGET_OS_OSX: "0",
18363
+ TARGET_OS_SIMULATOR: "1",
18364
+ TARGET_OS_TV: "0",
18365
+ TARGET_OS_UEFI: "0",
18366
+ TARGET_OS_UIKITFORMAC: "0",
18367
+ TARGET_OS_UNIX: "0",
18368
+ TARGET_OS_VISION: "0",
18369
+ TARGET_OS_WATCH: "0",
18370
+ TARGET_OS_WIN32: "0",
18371
+ TARGET_OS_WINDOWS: "0",
18372
+ _LP64: "1",
18373
+ __AARCH64EL__: "1",
18374
+ __AARCH64_CMODEL_SMALL__: "1",
18375
+ __AARCH64_SIMD__: "1",
18376
+ __APPLE_CC__: "6000",
18377
+ __APPLE_EMBEDDED_SIMULATOR__: "1",
18378
+ __APPLE__: "1",
18379
+ __ARM64_ARCH_8__: "1",
18380
+ __ARM_64BIT_STATE: "1",
18381
+ __ARM_ACLE: "202420",
18382
+ __ARM_ACLE_VERSION: "(year,quarter,patch) (100 * (year) + 10 * (quarter) + (patch))",
18383
+ __ARM_ALIGN_MAX_STACK_PWR: "4",
18384
+ __ARM_ARCH: "8",
18385
+ __ARM_ARCH_ISA_A64: "1",
18386
+ __ARM_ARCH_PROFILE: "'A'",
18387
+ __ARM_FEATURE_AES: "1",
18388
+ __ARM_FEATURE_ATOMICS: "1",
18389
+ __ARM_FEATURE_CLZ: "1",
18390
+ __ARM_FEATURE_COMPLEX: "1",
18391
+ __ARM_FEATURE_CRC32: "1",
18392
+ __ARM_FEATURE_CRYPTO: "1",
18393
+ __ARM_FEATURE_DIRECTED_ROUNDING: "1",
18394
+ __ARM_FEATURE_DIV: "1",
18395
+ __ARM_FEATURE_DOTPROD: "1",
18396
+ __ARM_FEATURE_FMA: "1",
18397
+ __ARM_FEATURE_FP16_FML: "1",
18398
+ __ARM_FEATURE_FP16_SCALAR_ARITHMETIC: "1",
18399
+ __ARM_FEATURE_FP16_VECTOR_ARITHMETIC: "1",
18400
+ __ARM_FEATURE_IDIV: "1",
18401
+ __ARM_FEATURE_JCVT: "1",
18402
+ __ARM_FEATURE_LDREX: "0xF",
18403
+ __ARM_FEATURE_NUMERIC_MAXMIN: "1",
18404
+ __ARM_FEATURE_PAUTH: "1",
18405
+ __ARM_FEATURE_QRDMX: "1",
18406
+ __ARM_FEATURE_RCPC: "1",
18407
+ __ARM_FEATURE_SHA2: "1",
18408
+ __ARM_FEATURE_SHA3: "1",
18409
+ __ARM_FEATURE_SHA512: "1",
18410
+ __ARM_FEATURE_UNALIGNED: "1",
18411
+ __ARM_FP: "0xE",
18412
+ __ARM_FP16_ARGS: "1",
18413
+ __ARM_FP16_FORMAT_IEEE: "1",
18414
+ __ARM_NEON: "1",
18415
+ __ARM_NEON_FP: "0xE",
18416
+ __ARM_NEON_SVE_BRIDGE: "1",
18417
+ __ARM_NEON__: "1",
18418
+ __ARM_PCS_AAPCS64: "1",
18419
+ __ARM_SIZEOF_MINIMAL_ENUM: "4",
18420
+ __ARM_SIZEOF_WCHAR_T: "4",
18421
+ __ARM_STATE_ZA: "1",
18422
+ __ARM_STATE_ZT0: "1",
18423
+ __ATOMIC_ACQUIRE: "2",
18424
+ __ATOMIC_ACQ_REL: "4",
18425
+ __ATOMIC_CONSUME: "1",
18426
+ __ATOMIC_RELAXED: "0",
18427
+ __ATOMIC_RELEASE: "3",
18428
+ __ATOMIC_SEQ_CST: "5",
18429
+ __BIGGEST_ALIGNMENT__: "8",
18430
+ __BITINT_MAXWIDTH__: "128",
18431
+ __BLOCKS__: "1",
18432
+ __BOOL_WIDTH__: "1",
18433
+ __BYTE_ORDER__: "__ORDER_LITTLE_ENDIAN__",
18434
+ __CHAR16_TYPE__: "unsigned short",
18435
+ __CHAR32_TYPE__: "unsigned int",
18436
+ __CHAR_BIT__: "8",
18437
+ __CLANG_ATOMIC_BOOL_LOCK_FREE: "2",
18438
+ __CLANG_ATOMIC_CHAR16_T_LOCK_FREE: "2",
18439
+ __CLANG_ATOMIC_CHAR32_T_LOCK_FREE: "2",
18440
+ __CLANG_ATOMIC_CHAR_LOCK_FREE: "2",
18441
+ __CLANG_ATOMIC_INT_LOCK_FREE: "2",
18442
+ __CLANG_ATOMIC_LLONG_LOCK_FREE: "2",
18443
+ __CLANG_ATOMIC_LONG_LOCK_FREE: "2",
18444
+ __CLANG_ATOMIC_POINTER_LOCK_FREE: "2",
18445
+ __CLANG_ATOMIC_SHORT_LOCK_FREE: "2",
18446
+ __CLANG_ATOMIC_WCHAR_T_LOCK_FREE: "2",
18447
+ __CONSTANT_CFSTRINGS__: "1",
18448
+ __DBL_DECIMAL_DIG__: "17",
18449
+ __DBL_DENORM_MIN__: "4.9406564584124654e-324",
18450
+ __DBL_DIG__: "15",
18451
+ __DBL_EPSILON__: "2.2204460492503131e-16",
18452
+ __DBL_HAS_DENORM__: "1",
18453
+ __DBL_HAS_INFINITY__: "1",
18454
+ __DBL_HAS_QUIET_NAN__: "1",
18455
+ __DBL_MANT_DIG__: "53",
18456
+ __DBL_MAX_10_EXP__: "308",
18457
+ __DBL_MAX_EXP__: "1024",
18458
+ __DBL_MAX__: "1.7976931348623157e+308",
18459
+ __DBL_MIN_10_EXP__: "(-307)",
18460
+ __DBL_MIN_EXP__: "(-1021)",
18461
+ __DBL_MIN__: "2.2250738585072014e-308",
18462
+ __DBL_NORM_MAX__: "1.7976931348623157e+308",
18463
+ __DECIMAL_DIG__: "__LDBL_DECIMAL_DIG__",
18464
+ __DEPRECATED: "1",
18465
+ __DYNAMIC__: "1",
18466
+ __ENVIRONMENT_IPHONE_OS_VERSION_MIN_REQUIRED__: "70000",
18467
+ __ENVIRONMENT_OS_VERSION_MIN_REQUIRED__: "70000",
18468
+ __EXCEPTIONS: "1",
18469
+ __FINITE_MATH_ONLY__: "0",
18470
+ __FLT16_DECIMAL_DIG__: "5",
18471
+ __FLT16_DENORM_MIN__: "5.9604644775390625e-8F16",
18472
+ __FLT16_DIG__: "3",
18473
+ __FLT16_EPSILON__: "9.765625e-4F16",
18474
+ __FLT16_HAS_DENORM__: "1",
18475
+ __FLT16_HAS_INFINITY__: "1",
18476
+ __FLT16_HAS_QUIET_NAN__: "1",
18477
+ __FLT16_MANT_DIG__: "11",
18478
+ __FLT16_MAX_10_EXP__: "4",
18479
+ __FLT16_MAX_EXP__: "16",
18480
+ __FLT16_MAX__: "6.5504e+4F16",
18481
+ __FLT16_MIN_10_EXP__: "(-4)",
18482
+ __FLT16_MIN_EXP__: "(-13)",
18483
+ __FLT16_MIN__: "6.103515625e-5F16",
18484
+ __FLT16_NORM_MAX__: "6.5504e+4F16",
18485
+ __FLT_DECIMAL_DIG__: "9",
18486
+ __FLT_DENORM_MIN__: "1.40129846e-45F",
18487
+ __FLT_DIG__: "6",
18488
+ __FLT_EPSILON__: "1.19209290e-7F",
18489
+ __FLT_HAS_DENORM__: "1",
18490
+ __FLT_HAS_INFINITY__: "1",
18491
+ __FLT_HAS_QUIET_NAN__: "1",
18492
+ __FLT_MANT_DIG__: "24",
18493
+ __FLT_MAX_10_EXP__: "38",
18494
+ __FLT_MAX_EXP__: "128",
18495
+ __FLT_MAX__: "3.40282347e+38F",
18496
+ __FLT_MIN_10_EXP__: "(-37)",
18497
+ __FLT_MIN_EXP__: "(-125)",
18498
+ __FLT_MIN__: "1.17549435e-38F",
18499
+ __FLT_NORM_MAX__: "3.40282347e+38F",
18500
+ __FLT_RADIX__: "2",
18501
+ __FPCLASS_NEGINF: "0x0004",
18502
+ __FPCLASS_NEGNORMAL: "0x0008",
18503
+ __FPCLASS_NEGSUBNORMAL: "0x0010",
18504
+ __FPCLASS_NEGZERO: "0x0020",
18505
+ __FPCLASS_POSINF: "0x0200",
18506
+ __FPCLASS_POSNORMAL: "0x0100",
18507
+ __FPCLASS_POSSUBNORMAL: "0x0080",
18508
+ __FPCLASS_POSZERO: "0x0040",
18509
+ __FPCLASS_QNAN: "0x0002",
18510
+ __FPCLASS_SNAN: "0x0001",
18511
+ __FP_FAST_FMA: "1",
18512
+ __FP_FAST_FMAF: "1",
18513
+ __FUNCTION_MULTI_VERSIONING_SUPPORT_LEVEL: "202430",
18514
+ __GCC_ASM_FLAG_OUTPUTS__: "1",
18515
+ __GCC_ATOMIC_BOOL_LOCK_FREE: "2",
18516
+ __GCC_ATOMIC_CHAR16_T_LOCK_FREE: "2",
18517
+ __GCC_ATOMIC_CHAR32_T_LOCK_FREE: "2",
18518
+ __GCC_ATOMIC_CHAR_LOCK_FREE: "2",
18519
+ __GCC_ATOMIC_INT_LOCK_FREE: "2",
18520
+ __GCC_ATOMIC_LLONG_LOCK_FREE: "2",
18521
+ __GCC_ATOMIC_LONG_LOCK_FREE: "2",
18522
+ __GCC_ATOMIC_POINTER_LOCK_FREE: "2",
18523
+ __GCC_ATOMIC_SHORT_LOCK_FREE: "2",
18524
+ __GCC_ATOMIC_TEST_AND_SET_TRUEVAL: "1",
18525
+ __GCC_ATOMIC_WCHAR_T_LOCK_FREE: "2",
18526
+ __GCC_CONSTRUCTIVE_SIZE: "64",
18527
+ __GCC_DESTRUCTIVE_SIZE: "256",
18528
+ __GCC_HAVE_DWARF2_CFI_ASM: "1",
18529
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1: "1",
18530
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16: "1",
18531
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2: "1",
18532
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4: "1",
18533
+ __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8: "1",
18534
+ __GLIBCXX_BITSIZE_INT_N_0: "128",
18535
+ __GLIBCXX_TYPE_INT_N_0: "__int128",
18536
+ __GNUC_GNU_INLINE__: "1",
18537
+ __GNUC_MINOR__: "2",
18538
+ __GNUC_PATCHLEVEL__: "1",
18539
+ __GNUC__: "4",
18540
+ __GNUG__: "4",
18541
+ __GXX_ABI_VERSION: "1002",
18542
+ __GXX_EXPERIMENTAL_CXX0X__: "1",
18543
+ __GXX_RTTI: "1",
18544
+ __GXX_WEAK__: "1",
18545
+ __HAVE_FUNCTION_MULTI_VERSIONING: "1",
18546
+ __INT16_C: "(c) c",
18547
+ __INT16_C_SUFFIX__: null,
18548
+ __INT16_FMTd__: '"hd"',
18549
+ __INT16_FMTi__: '"hi"',
18550
+ __INT16_MAX__: "32767",
18551
+ __INT16_TYPE__: "short",
18552
+ __INT32_C: "(c) c",
18553
+ __INT32_C_SUFFIX__: null,
18554
+ __INT32_FMTd__: '"d"',
18555
+ __INT32_FMTi__: '"i"',
18556
+ __INT32_MAX__: "2147483647",
18557
+ __INT32_TYPE__: "int",
18558
+ __INT64_C: "(c) c##LL",
18559
+ __INT64_C_SUFFIX__: "LL",
18560
+ __INT64_FMTd__: '"lld"',
18561
+ __INT64_FMTi__: '"lli"',
18562
+ __INT64_MAX__: "9223372036854775807LL",
18563
+ __INT64_TYPE__: "long long int",
18564
+ __INT8_C: "(c) c",
18565
+ __INT8_C_SUFFIX__: null,
18566
+ __INT8_FMTd__: '"hhd"',
18567
+ __INT8_FMTi__: '"hhi"',
18568
+ __INT8_MAX__: "127",
18569
+ __INT8_TYPE__: "signed char",
18570
+ __INTMAX_C: "(c) c##L",
18571
+ __INTMAX_C_SUFFIX__: "L",
18572
+ __INTMAX_FMTd__: '"ld"',
18573
+ __INTMAX_FMTi__: '"li"',
18574
+ __INTMAX_MAX__: "9223372036854775807L",
18575
+ __INTMAX_TYPE__: "long int",
18576
+ __INTMAX_WIDTH__: "64",
18577
+ __INTPTR_FMTd__: '"ld"',
18578
+ __INTPTR_FMTi__: '"li"',
18579
+ __INTPTR_MAX__: "9223372036854775807L",
18580
+ __INTPTR_TYPE__: "long int",
18581
+ __INTPTR_WIDTH__: "64",
18582
+ __INT_FAST16_FMTd__: '"hd"',
18583
+ __INT_FAST16_FMTi__: '"hi"',
18584
+ __INT_FAST16_MAX__: "32767",
18585
+ __INT_FAST16_TYPE__: "short",
18586
+ __INT_FAST16_WIDTH__: "16",
18587
+ __INT_FAST32_FMTd__: '"d"',
18588
+ __INT_FAST32_FMTi__: '"i"',
18589
+ __INT_FAST32_MAX__: "2147483647",
18590
+ __INT_FAST32_TYPE__: "int",
18591
+ __INT_FAST32_WIDTH__: "32",
18592
+ __INT_FAST64_FMTd__: '"lld"',
18593
+ __INT_FAST64_FMTi__: '"lli"',
18594
+ __INT_FAST64_MAX__: "9223372036854775807LL",
18595
+ __INT_FAST64_TYPE__: "long long int",
18596
+ __INT_FAST64_WIDTH__: "64",
18597
+ __INT_FAST8_FMTd__: '"hhd"',
18598
+ __INT_FAST8_FMTi__: '"hhi"',
18599
+ __INT_FAST8_MAX__: "127",
18600
+ __INT_FAST8_TYPE__: "signed char",
18601
+ __INT_FAST8_WIDTH__: "8",
18602
+ __INT_LEAST16_FMTd__: '"hd"',
18603
+ __INT_LEAST16_FMTi__: '"hi"',
18604
+ __INT_LEAST16_MAX__: "32767",
18605
+ __INT_LEAST16_TYPE__: "short",
18606
+ __INT_LEAST16_WIDTH__: "16",
18607
+ __INT_LEAST32_FMTd__: '"d"',
18608
+ __INT_LEAST32_FMTi__: '"i"',
18609
+ __INT_LEAST32_MAX__: "2147483647",
18610
+ __INT_LEAST32_TYPE__: "int",
18611
+ __INT_LEAST32_WIDTH__: "32",
18612
+ __INT_LEAST64_FMTd__: '"lld"',
18613
+ __INT_LEAST64_FMTi__: '"lli"',
18614
+ __INT_LEAST64_MAX__: "9223372036854775807LL",
18615
+ __INT_LEAST64_TYPE__: "long long int",
18616
+ __INT_LEAST64_WIDTH__: "64",
18617
+ __INT_LEAST8_FMTd__: '"hhd"',
18618
+ __INT_LEAST8_FMTi__: '"hhi"',
18619
+ __INT_LEAST8_MAX__: "127",
18620
+ __INT_LEAST8_TYPE__: "signed char",
18621
+ __INT_LEAST8_WIDTH__: "8",
18622
+ __INT_MAX__: "2147483647",
18623
+ __INT_WIDTH__: "32",
18624
+ __LDBL_DECIMAL_DIG__: "17",
18625
+ __LDBL_DENORM_MIN__: "4.9406564584124654e-324L",
18626
+ __LDBL_DIG__: "15",
18627
+ __LDBL_EPSILON__: "2.2204460492503131e-16L",
18628
+ __LDBL_HAS_DENORM__: "1",
18629
+ __LDBL_HAS_INFINITY__: "1",
18630
+ __LDBL_HAS_QUIET_NAN__: "1",
18631
+ __LDBL_MANT_DIG__: "53",
18632
+ __LDBL_MAX_10_EXP__: "308",
18633
+ __LDBL_MAX_EXP__: "1024",
18634
+ __LDBL_MAX__: "1.7976931348623157e+308L",
18635
+ __LDBL_MIN_10_EXP__: "(-307)",
18636
+ __LDBL_MIN_EXP__: "(-1021)",
18637
+ __LDBL_MIN__: "2.2250738585072014e-308L",
18638
+ __LDBL_NORM_MAX__: "1.7976931348623157e+308L",
18639
+ __LITTLE_ENDIAN__: "1",
18640
+ __LLONG_WIDTH__: "64",
18641
+ __LONG_LONG_MAX__: "9223372036854775807LL",
18642
+ __LONG_MAX__: "9223372036854775807L",
18643
+ __LONG_WIDTH__: "64",
18644
+ __LP64__: "1",
18645
+ __MACH__: "1",
18646
+ __MEMORY_SCOPE_DEVICE: "1",
18647
+ __MEMORY_SCOPE_SINGLE: "4",
18648
+ __MEMORY_SCOPE_SYSTEM: "0",
18649
+ __MEMORY_SCOPE_WRKGRP: "2",
18650
+ __MEMORY_SCOPE_WVFRNT: "3",
18651
+ __NEXT_RUNTIME__: "1",
18652
+ __NO_INLINE__: "1",
18653
+ __NO_MATH_ERRNO__: "1",
18654
+ __OBJC2__: "1",
18655
+ __OBJC_BOOL_IS_BOOL: "1",
18656
+ __OBJC__: "1",
18657
+ __OPENCL_MEMORY_SCOPE_ALL_SVM_DEVICES: "3",
18658
+ __OPENCL_MEMORY_SCOPE_DEVICE: "2",
18659
+ __OPENCL_MEMORY_SCOPE_SUB_GROUP: "4",
18660
+ __OPENCL_MEMORY_SCOPE_WORK_GROUP: "1",
18661
+ __OPENCL_MEMORY_SCOPE_WORK_ITEM: "0",
18662
+ __ORDER_BIG_ENDIAN__: "4321",
18663
+ __ORDER_LITTLE_ENDIAN__: "1234",
18664
+ __ORDER_PDP_ENDIAN__: "3412",
18665
+ __PIC__: "2",
18666
+ __POINTER_WIDTH__: "64",
18667
+ __PRAGMA_REDEFINE_EXTNAME: "1",
18668
+ __PTRDIFF_FMTd__: '"ld"',
18669
+ __PTRDIFF_FMTi__: '"li"',
18670
+ __PTRDIFF_MAX__: "9223372036854775807L",
18671
+ __PTRDIFF_TYPE__: "long int",
18672
+ __PTRDIFF_WIDTH__: "64",
18673
+ __REGISTER_PREFIX__: null,
18674
+ __SCHAR_MAX__: "127",
18675
+ __SHRT_MAX__: "32767",
18676
+ __SHRT_WIDTH__: "16",
18677
+ __SIG_ATOMIC_MAX__: "2147483647",
18678
+ __SIG_ATOMIC_WIDTH__: "32",
18679
+ __SIZEOF_DOUBLE__: "8",
18680
+ __SIZEOF_FLOAT__: "4",
18681
+ __SIZEOF_INT128__: "16",
18682
+ __SIZEOF_INT__: "4",
18683
+ __SIZEOF_LONG_DOUBLE__: "8",
18684
+ __SIZEOF_LONG_LONG__: "8",
18685
+ __SIZEOF_LONG__: "8",
18686
+ __SIZEOF_POINTER__: "8",
18687
+ __SIZEOF_PTRDIFF_T__: "8",
18688
+ __SIZEOF_SHORT__: "2",
18689
+ __SIZEOF_SIZE_T__: "8",
18690
+ __SIZEOF_WCHAR_T__: "4",
18691
+ __SIZEOF_WINT_T__: "4",
18692
+ __SIZE_FMTX__: '"lX"',
18693
+ __SIZE_FMTo__: '"lo"',
18694
+ __SIZE_FMTu__: '"lu"',
18695
+ __SIZE_FMTx__: '"lx"',
18696
+ __SIZE_MAX__: "18446744073709551615UL",
18697
+ __SIZE_TYPE__: "long unsigned int",
18698
+ __SIZE_WIDTH__: "64",
18699
+ __SSP__: "1",
18700
+ __STDCPP_DEFAULT_NEW_ALIGNMENT__: "16UL",
18701
+ __STDCPP_THREADS__: "1",
18702
+ __STDC_EMBED_EMPTY__: "2",
18703
+ __STDC_EMBED_FOUND__: "1",
18704
+ __STDC_EMBED_NOT_FOUND__: "0",
18705
+ __STDC_HOSTED__: "1",
18706
+ __STDC_NO_THREADS__: "1",
18707
+ __STDC_UTF_16__: "1",
18708
+ __STDC_UTF_32__: "1",
18709
+ __STDC__: "1",
18710
+ __UINT16_C: "(c) c",
18711
+ __UINT16_C_SUFFIX__: null,
18712
+ __UINT16_FMTX__: '"hX"',
18713
+ __UINT16_FMTo__: '"ho"',
18714
+ __UINT16_FMTu__: '"hu"',
18715
+ __UINT16_FMTx__: '"hx"',
18716
+ __UINT16_MAX__: "65535",
18717
+ __UINT16_TYPE__: "unsigned short",
18718
+ __UINT32_C: "(c) c##U",
18719
+ __UINT32_C_SUFFIX__: "U",
18720
+ __UINT32_FMTX__: '"X"',
18721
+ __UINT32_FMTo__: '"o"',
18722
+ __UINT32_FMTu__: '"u"',
18723
+ __UINT32_FMTx__: '"x"',
18724
+ __UINT32_MAX__: "4294967295U",
18725
+ __UINT32_TYPE__: "unsigned int",
18726
+ __UINT64_C: "(c) c##ULL",
18727
+ __UINT64_C_SUFFIX__: "ULL",
18728
+ __UINT64_FMTX__: '"llX"',
18729
+ __UINT64_FMTo__: '"llo"',
18730
+ __UINT64_FMTu__: '"llu"',
18731
+ __UINT64_FMTx__: '"llx"',
18732
+ __UINT64_MAX__: "18446744073709551615ULL",
18733
+ __UINT64_TYPE__: "long long unsigned int",
18734
+ __UINT8_C: "(c) c",
18735
+ __UINT8_C_SUFFIX__: null,
18736
+ __UINT8_FMTX__: '"hhX"',
18737
+ __UINT8_FMTo__: '"hho"',
18738
+ __UINT8_FMTu__: '"hhu"',
18739
+ __UINT8_FMTx__: '"hhx"',
18740
+ __UINT8_MAX__: "255",
18741
+ __UINT8_TYPE__: "unsigned char",
18742
+ __UINTMAX_C: "(c) c##UL",
18743
+ __UINTMAX_C_SUFFIX__: "UL",
18744
+ __UINTMAX_FMTX__: '"lX"',
18745
+ __UINTMAX_FMTo__: '"lo"',
18746
+ __UINTMAX_FMTu__: '"lu"',
18747
+ __UINTMAX_FMTx__: '"lx"',
18748
+ __UINTMAX_MAX__: "18446744073709551615UL",
18749
+ __UINTMAX_TYPE__: "long unsigned int",
18750
+ __UINTMAX_WIDTH__: "64",
18751
+ __UINTPTR_FMTX__: '"lX"',
18752
+ __UINTPTR_FMTo__: '"lo"',
18753
+ __UINTPTR_FMTu__: '"lu"',
18754
+ __UINTPTR_FMTx__: '"lx"',
18755
+ __UINTPTR_MAX__: "18446744073709551615UL",
18756
+ __UINTPTR_TYPE__: "long unsigned int",
18757
+ __UINTPTR_WIDTH__: "64",
18758
+ __UINT_FAST16_FMTX__: '"hX"',
18759
+ __UINT_FAST16_FMTo__: '"ho"',
18760
+ __UINT_FAST16_FMTu__: '"hu"',
18761
+ __UINT_FAST16_FMTx__: '"hx"',
18762
+ __UINT_FAST16_MAX__: "65535",
18763
+ __UINT_FAST16_TYPE__: "unsigned short",
18764
+ __UINT_FAST32_FMTX__: '"X"',
18765
+ __UINT_FAST32_FMTo__: '"o"',
18766
+ __UINT_FAST32_FMTu__: '"u"',
18767
+ __UINT_FAST32_FMTx__: '"x"',
18768
+ __UINT_FAST32_MAX__: "4294967295U",
18769
+ __UINT_FAST32_TYPE__: "unsigned int",
18770
+ __UINT_FAST64_FMTX__: '"llX"',
18771
+ __UINT_FAST64_FMTo__: '"llo"',
18772
+ __UINT_FAST64_FMTu__: '"llu"',
18773
+ __UINT_FAST64_FMTx__: '"llx"',
18774
+ __UINT_FAST64_MAX__: "18446744073709551615ULL",
18775
+ __UINT_FAST64_TYPE__: "long long unsigned int",
18776
+ __UINT_FAST8_FMTX__: '"hhX"',
18777
+ __UINT_FAST8_FMTo__: '"hho"',
18778
+ __UINT_FAST8_FMTu__: '"hhu"',
18779
+ __UINT_FAST8_FMTx__: '"hhx"',
18780
+ __UINT_FAST8_MAX__: "255",
18781
+ __UINT_FAST8_TYPE__: "unsigned char",
18782
+ __UINT_LEAST16_FMTX__: '"hX"',
18783
+ __UINT_LEAST16_FMTo__: '"ho"',
18784
+ __UINT_LEAST16_FMTu__: '"hu"',
18785
+ __UINT_LEAST16_FMTx__: '"hx"',
18786
+ __UINT_LEAST16_MAX__: "65535",
18787
+ __UINT_LEAST16_TYPE__: "unsigned short",
18788
+ __UINT_LEAST32_FMTX__: '"X"',
18789
+ __UINT_LEAST32_FMTo__: '"o"',
18790
+ __UINT_LEAST32_FMTu__: '"u"',
18791
+ __UINT_LEAST32_FMTx__: '"x"',
18792
+ __UINT_LEAST32_MAX__: "4294967295U",
18793
+ __UINT_LEAST32_TYPE__: "unsigned int",
18794
+ __UINT_LEAST64_FMTX__: '"llX"',
18795
+ __UINT_LEAST64_FMTo__: '"llo"',
18796
+ __UINT_LEAST64_FMTu__: '"llu"',
18797
+ __UINT_LEAST64_FMTx__: '"llx"',
18798
+ __UINT_LEAST64_MAX__: "18446744073709551615ULL",
18799
+ __UINT_LEAST64_TYPE__: "long long unsigned int",
18800
+ __UINT_LEAST8_FMTX__: '"hhX"',
18801
+ __UINT_LEAST8_FMTo__: '"hho"',
18802
+ __UINT_LEAST8_FMTu__: '"hhu"',
18803
+ __UINT_LEAST8_FMTx__: '"hhx"',
18804
+ __UINT_LEAST8_MAX__: "255",
18805
+ __UINT_LEAST8_TYPE__: "unsigned char",
18806
+ __USER_LABEL_PREFIX__: "_",
18807
+ __VERSION__: '"Clang 21.0.0"',
18808
+ __WCHAR_MAX__: "2147483647",
18809
+ __WCHAR_TYPE__: "int",
18810
+ __WCHAR_WIDTH__: "32",
18811
+ __WINT_MAX__: "2147483647",
18812
+ __WINT_TYPE__: "int",
18813
+ __WINT_WIDTH__: "32",
18814
+ __aarch64__: "1",
18815
+ __arm64: "1",
18816
+ __arm64__: "1",
18817
+ __autoreleasing: "__attribute__((objc_ownership(autoreleasing)))",
18818
+ __block: "__attribute__((__blocks__(byref)))",
18819
+ __clang__: "1",
18820
+ __clang_literal_encoding__: '"UTF-8"',
18821
+ __clang_major__: "21",
18822
+ __clang_minor__: "0",
18823
+ __clang_patchlevel__: "0",
18824
+ __clang_version__: '"21.0.0 "',
18825
+ __clang_wide_literal_encoding__: '"UTF-32"',
18826
+ __cplusplus: "201703L",
18827
+ __cpp_aggregate_bases: "201603L",
18828
+ __cpp_aggregate_nsdmi: "201304L",
18829
+ __cpp_alias_templates: "200704L",
18830
+ __cpp_attributes: "200809L",
18831
+ __cpp_binary_literals: "201304L",
18832
+ __cpp_capture_star_this: "201603L",
18833
+ __cpp_constexpr: "201603L",
18834
+ __cpp_constexpr_in_decltype: "201711L",
18835
+ __cpp_decltype: "200707L",
18836
+ __cpp_decltype_auto: "201304L",
18837
+ __cpp_deduction_guides: "201703L",
18838
+ __cpp_delegating_constructors: "200604L",
18839
+ __cpp_deleted_function: "202403L",
18840
+ __cpp_digit_separators: "201309L",
18841
+ __cpp_enumerator_attributes: "201411L",
18842
+ __cpp_exceptions: "199711L",
18843
+ __cpp_fold_expressions: "201603L",
18844
+ __cpp_generic_lambdas: "201304L",
18845
+ __cpp_guaranteed_copy_elision: "201606L",
18846
+ __cpp_hex_float: "201603L",
18847
+ __cpp_if_constexpr: "201606L",
18848
+ __cpp_impl_destroying_delete: "201806L",
18849
+ __cpp_inheriting_constructors: "201511L",
18850
+ __cpp_init_captures: "201304L",
18851
+ __cpp_initializer_lists: "200806L",
18852
+ __cpp_inline_variables: "201606L",
18853
+ __cpp_lambdas: "200907L",
18854
+ __cpp_named_character_escapes: "202207L",
18855
+ __cpp_namespace_attributes: "201411L",
18856
+ __cpp_nested_namespace_definitions: "201411L",
18857
+ __cpp_noexcept_function_type: "201510L",
18858
+ __cpp_nontype_template_args: "201411L",
18859
+ __cpp_nontype_template_parameter_auto: "201606L",
18860
+ __cpp_nsdmi: "200809L",
18861
+ __cpp_pack_indexing: "202311L",
18862
+ __cpp_placeholder_variables: "202306L",
18863
+ __cpp_range_based_for: "201603L",
18864
+ __cpp_raw_strings: "200710L",
18865
+ __cpp_ref_qualifiers: "200710L",
18866
+ __cpp_return_type_deduction: "201304L",
18867
+ __cpp_rtti: "199711L",
18868
+ __cpp_rvalue_references: "200610L",
18869
+ __cpp_static_assert: "202306L",
18870
+ __cpp_static_call_operator: "202207L",
18871
+ __cpp_structured_bindings: "202411L",
18872
+ __cpp_template_auto: "201606L",
18873
+ __cpp_template_template_args: "201611L",
18874
+ __cpp_threadsafe_static_init: "200806L",
18875
+ __cpp_unicode_characters: "200704L",
18876
+ __cpp_unicode_literals: "200710L",
18877
+ __cpp_user_defined_literals: "200809L",
18878
+ __cpp_variable_templates: "201304L",
18879
+ __cpp_variadic_friend: "202403L",
18880
+ __cpp_variadic_templates: "200704L",
18881
+ __cpp_variadic_using: "201611L",
18882
+ __llvm__: "1",
18883
+ __nonnull: "_Nonnull",
18884
+ __null_unspecified: "_Null_unspecified",
18885
+ __nullable: "_Nullable",
18886
+ __pic__: "2",
18887
+ __private_extern__: "extern",
18888
+ __strong: "__attribute__((objc_ownership(strong)))",
18889
+ __unsafe_unretained: "__attribute__((objc_ownership(none)))",
18890
+ __weak: "__attribute__((objc_ownership(weak)))"
18891
+ }
18892
+ }
18893
+ };
18894
+ }
18895
+ });
18896
+
16846
18897
  // src/process-liveness.ts
16847
18898
  function isProcessRunning(pid) {
16848
18899
  if (process.platform === "linux") {
@@ -19723,8 +21774,8 @@ function developerDirs() {
19723
21774
  }
19724
21775
  return found;
19725
21776
  }
19726
- function readNativeSdk(developerDir) {
19727
- const env = { ...process.env, DEVELOPER_DIR: developerDir };
21777
+ function readNativeSdk(developerDir2) {
21778
+ const env = { ...process.env, DEVELOPER_DIR: developerDir2 };
19728
21779
  const xcrun = (args) => (
19729
21780
  // runner-toolchain-platform: darwin
19730
21781
  (0, import_node_child_process16.execFileSync)("xcrun", args, {
@@ -19763,19 +21814,19 @@ function nativeGraphMismatches(read) {
19763
21814
  function pinnedNativeSdk() {
19764
21815
  if (resolvedPinnedSdk) return resolvedPinnedSdk;
19765
21816
  let mismatches;
19766
- for (const developerDir of developerDirs()) {
21817
+ for (const developerDir2 of developerDirs()) {
19767
21818
  let read;
19768
21819
  try {
19769
- read = readNativeSdk(developerDir);
21820
+ read = readNativeSdk(developerDir2);
19770
21821
  } catch {
19771
21822
  continue;
19772
21823
  }
19773
21824
  if (read.sdk !== NATIVE_GRAPH_SDK_VERSION) continue;
19774
21825
  const differ = nativeGraphMismatches(read);
19775
21826
  if (differ.length === 0) {
19776
- process.env.DEVELOPER_DIR = developerDir;
21827
+ process.env.DEVELOPER_DIR = developerDir2;
19777
21828
  resolvedPinnedSdk = {
19778
- developerDir,
21829
+ developerDir: developerDir2,
19779
21830
  sdkPath: read.sdkPath,
19780
21831
  compiler: read.compiler
19781
21832
  };
@@ -25537,8 +27588,8 @@ function swiftPackageLinkage(target) {
25537
27588
  function guestSourceImages(graph) {
25538
27589
  const targets = new Map(graph.targets.map((target) => [target.id, target]));
25539
27590
  const entry = targets.get(graph.entry);
25540
- if (!entry || entry.productType !== "com.apple.product-type.application")
25541
- throw new Error("source graph has no application entry");
27591
+ if (!entry || entry.productType !== "com.apple.product-type.application" && entry.productType !== "com.apple.product-type.app-extension")
27592
+ throw new Error("source graph has no application or app extension entry");
25542
27593
  const images = [
25543
27594
  { id: 0, owner: entry.id, members: [] }
25544
27595
  ];
@@ -28051,6 +30102,12 @@ async function compileGuestLink(options) {
28051
30102
  (target) => target.productName.endsWith(".framework") ? [target.productName.slice(0, -10)] : []
28052
30103
  )
28053
30104
  );
30105
+ const sourceLibraries = new Set(
30106
+ options.graph.targets.flatMap((target) => {
30107
+ const library = /^lib(.+)\.(?:a|dylib)$/.exec(target.productName);
30108
+ return library ? [library[1]] : [];
30109
+ })
30110
+ );
28054
30111
  const entry = targets.get(options.graph.entry);
28055
30112
  if (!entry) throw new Error("guest source graph has no entry");
28056
30113
  const imageBuildVersion = (value) => {
@@ -28220,10 +30277,12 @@ async function compileGuestLink(options) {
28220
30277
  images: sourceImages.map((image) => ({
28221
30278
  id: image.id,
28222
30279
  objects: selectedSource.filter((artifact) => artifact.image === image.id).map((artifact) => artifact.path),
28223
- // a `-framework Name` for a framework the source graph builds links
28224
- // that framework's own image, which the plan already depends on
30280
+ // a `-framework Name` or `-lname` for a product the source graph
30281
+ // builds links that product's own target, which the plan already holds
28225
30282
  linkerFlags: image.members.flatMap((id) => targets.get(id).linkerFlags).filter(
28226
- (flag, index, flags) => !sourceFrameworks.has(flags[index - 1] === "-framework" ? flag : "") && !(flag === "-framework" && sourceFrameworks.has(flags[index + 1] ?? ""))
30283
+ (flag, index, flags) => !sourceFrameworks.has(flags[index - 1] === "-framework" ? flag : "") && !(flag === "-framework" && sourceFrameworks.has(flags[index + 1] ?? "")) && !sourceLibraries.has(
30284
+ flag.startsWith("-l") && flag.length > 2 ? flag.slice(2) : flags[index - 1] === "-l" ? flag : ""
30285
+ ) && !(flag === "-l" && sourceLibraries.has(flags[index + 1] ?? ""))
28227
30286
  ),
28228
30287
  clangLinkOptions: selectedSource.filter((artifact) => artifact.image === image.id).map((artifact) => ({
28229
30288
  object: import_node_path42.default.resolve(rewritten.get(artifact.path) ?? artifact.path),
@@ -31274,6 +33333,24 @@ function swiftCTakesReturnAddress(source) {
31274
33333
  cActiveCode(stripCCode(source), wasmMacroEnvironment)
31275
33334
  );
31276
33335
  }
33336
+ function swiftCDefinedNames(sources) {
33337
+ const names = /* @__PURE__ */ new Set();
33338
+ for (const source of sources)
33339
+ for (const line of stripCCode(source).split("\n")) {
33340
+ const name3 = /^\s*#\s*define\s+([A-Za-z_]\w*)/.exec(line)?.[1];
33341
+ if (name3) names.add(name3);
33342
+ }
33343
+ return names;
33344
+ }
33345
+ function swiftCPredefines(language) {
33346
+ const cached3 = cPredefineCache.get(language);
33347
+ if (cached3) return cached3;
33348
+ const predefines = /* @__PURE__ */ new Map();
33349
+ for (const [name3, value] of Object.entries(cPredefineTable.languages[language]))
33350
+ predefines.set(name3, value ?? void 0);
33351
+ cPredefineCache.set(language, predefines);
33352
+ return predefines;
33353
+ }
31277
33354
  function swiftCMainEntry(file, source, env = emptyMacroEnvironment) {
31278
33355
  if (!isSwiftNativeTranslationUnit(file)) return false;
31279
33356
  const code = cActiveCode(stripCCode(source), env);
@@ -33845,6 +35922,28 @@ function compileSwiftProjectOnce(input, options) {
33845
35922
  (0, import_node_fs52.rmSync)(linked, { force: true });
33846
35923
  report("compiling and linking Swift modules");
33847
35924
  const frameworkInterfaces = /* @__PURE__ */ new Map();
35925
+ const nativeDeclarations = /* @__PURE__ */ new Map();
35926
+ for (const [file, contents] of Object.entries(input.files)) {
35927
+ if (!file.endsWith(".modulemap")) continue;
35928
+ const name3 = moduleMapName(contents);
35929
+ const umbrella = /\bumbrella\s+header\s+"([^"]+)"/.exec(contents)?.[1];
35930
+ if (!name3 || !umbrella) continue;
35931
+ const header = input.files[import_node_path50.default.posix.join(import_node_path50.default.posix.dirname(file), umbrella)];
35932
+ if (header === void 0) continue;
35933
+ const included = new Set(
35934
+ [
35935
+ ...header.matchAll(/^\s*#\s*(?:import|include)\s*[<"]([^">]+)[">]/gm)
35936
+ ].map((match) => import_node_path50.default.posix.basename(match[1]))
35937
+ );
35938
+ const declarations = nativeDeclarations.get(name3) ?? /* @__PURE__ */ new Set();
35939
+ for (const declaration of swiftInterfaceDeclarations(header))
35940
+ declarations.add(declaration);
35941
+ for (const [candidate, source] of Object.entries(input.files))
35942
+ if (included.has(import_node_path50.default.posix.basename(candidate)))
35943
+ for (const declaration of swiftInterfaceDeclarations(source))
35944
+ declarations.add(declaration);
35945
+ nativeDeclarations.set(name3, declarations);
35946
+ }
33848
35947
  const frameworkInterface = (name3) => {
33849
35948
  if (frameworkInterfaces.has(name3)) return frameworkInterfaces.get(name3);
33850
35949
  const source = distribution ? import_node_path50.default.join(frameworkRoot, "modules", `${name3}-Swift.h`) : import_node_path50.default.join(
@@ -33872,10 +35971,12 @@ function compileSwiftProjectOnce(input, options) {
33872
35971
  ))
33873
35972
  declared.add(name4);
33874
35973
  }
35974
+ for (const declaration of nativeDeclarations.get(name3) ?? [])
35975
+ declared.add(declaration);
33875
35976
  const own = withoutSwiftDeclarations(
33876
35977
  clangInterfaceHeader((0, import_node_fs52.readFileSync)(source, "utf8")),
33877
35978
  declared,
33878
- `#import <${name3}/${name3}.h>`
35979
+ nativeDeclarations.has(name3) ? `@import ${name3};` : `#import <${name3}/${name3}.h>`
33879
35980
  );
33880
35981
  const owners = sdkObjCDeclarationOwners(import_node_path50.default.dirname(import_node_path50.default.dirname(headers)));
33881
35982
  const foreign = /* @__PURE__ */ new Map();
@@ -34086,7 +36187,7 @@ function compileSwiftProjectOnce(input, options) {
34086
36187
  options.signal
34087
36188
  );
34088
36189
  }
34089
- var import_node_child_process29, import_node_crypto22, import_node_fs52, import_node_os10, import_node_path50, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
36190
+ var import_node_child_process29, import_node_crypto22, import_node_fs52, import_node_os10, import_node_path50, v5, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_BUILDER_TRANSPORT_MARGIN_MS, SWIFT_BUILDER_DEFAULT_COMPILE_MS, clangInterfaceHeader, objcEnumerations, sdkDeclarationOwners, swiftInterfaceDeclarations, linkedModuleDigests, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, SWIFT_IMPORT, kleeneNot, kleeneAnd, kleeneOr, sdkPaths, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, FOUNDATION_IMPLICIT_MODULES, PRECONCURRENCY_FOUNDATION_IMPORT, FOUNDATION_IMPLICIT_FLAGS, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, DIRECTIVE, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, FOUNDATION_NETWORKING_TYPES, FOUNDATION_OVERLAY_TYPES, FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_OVERLAY_GLOBALS, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, emptyMacroEnvironment, wasmMacroEnvironment, cPredefineTable, cPredefineCache, HIDDEN_UNITS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, SWIFT_LINK_STAMP, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN;
34090
36191
  var init_swift_compile = __esm({
34091
36192
  "src/swift-compile.ts"() {
34092
36193
  "use strict";
@@ -34097,6 +36198,7 @@ var init_swift_compile = __esm({
34097
36198
  import_node_path50 = __toESM(require("node:path"), 1);
34098
36199
  v5 = __toESM(require("valibot"), 1);
34099
36200
  init_admitted_mac_build();
36201
+ init_swift_c_predefines();
34100
36202
  init_process_group();
34101
36203
  init_retired_cache_directory();
34102
36204
  init_swift_compiler_digest();
@@ -34323,7 +36425,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
34323
36425
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
34324
36426
  MULTI_MANIFEST_VERSION = 68;
34325
36427
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
34326
- compilerSourceDigest = true ? "0dc8ec5771fbb3c2f4e287a53570e9f15b27a2c933eb41530f414a37408c01d5" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
36428
+ compilerSourceDigest = true ? "ad311d7f868d4920f32f2ed00502f49f84fb83ae19817180a70ef5f799334169" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
34327
36429
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
34328
36430
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
34329
36431
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -34857,6 +36959,8 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
34857
36959
  ["__wasi__", "1"]
34858
36960
  ])
34859
36961
  };
36962
+ cPredefineTable = swift_c_predefines_default;
36963
+ cPredefineCache = /* @__PURE__ */ new Map();
34860
36964
  HIDDEN_UNITS = "PeachHiddenUnits";
34861
36965
  LIBXML_REFERENCE = /(?:^|\n)[ \t]*#[ \t]*(?:include|import)[ \t]*["<][ \t]*libxml\/|@import[ \t]+libxml2[ \t]*;|(?:^|\n)[ \t]*import[ \t]+libxml2(?![\w.])/;
34862
36966
  LIBXML_SOURCE = /\.(?:c|m|mm|cc|cpp|cxx|h|hh|hpp|hxx|swift)$/;
@@ -36706,6 +38810,16 @@ function loadProject(xcodeproj) {
36706
38810
  loaded.set(projectFile, { digest: digest3, project: result });
36707
38811
  return result;
36708
38812
  }
38813
+ function selectedDeveloperDir() {
38814
+ developerDir ??= process.platform === "darwin" ? (
38815
+ // runner-toolchain-platform: darwin
38816
+ (0, import_node_child_process31.execFileSync)("xcode-select", ["-p"], {
38817
+ encoding: "utf8",
38818
+ stdio: ["ignore", "pipe", "pipe"]
38819
+ }).trim()
38820
+ ) : "";
38821
+ return developerDir;
38822
+ }
36709
38823
  function defaultConfiguration(project2) {
36710
38824
  const configList = project2.object(str(project2.project.buildConfigurationList));
36711
38825
  const names = list(configList?.buildConfigurations).flatMap(
@@ -36772,15 +38886,8 @@ function targetSettings(ref, configuration, builtins, options = {}, overrides =
36772
38886
  resolving2.delete(marker);
36773
38887
  return value;
36774
38888
  };
36775
- let developerDir;
36776
38889
  const derivedSettings = {
36777
- DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? (developerDir ??= process.platform === "darwin" ? (
36778
- // runner-toolchain-platform: darwin
36779
- (0, import_node_child_process31.execFileSync)("xcode-select", ["-p"], {
36780
- encoding: "utf8",
36781
- stdio: ["ignore", "pipe", "pipe"]
36782
- }).trim()
36783
- ) : ""),
38890
+ DEVELOPER_DIR: () => options.environment?.DEVELOPER_DIR ?? process.env.DEVELOPER_DIR ?? selectedDeveloperDir(),
36784
38891
  PRODUCT_NAME: () => get("TARGET_NAME"),
36785
38892
  PRODUCT_MODULE_NAME: () => applyOperator(get("PRODUCT_NAME"), "c99extidentifier"),
36786
38893
  EXECUTABLE_NAME: () => get("PRODUCT_NAME"),
@@ -37405,7 +39512,7 @@ function defaultXcodeAppTarget(xcodeproj) {
37405
39512
  function readXcodeExtensionTargets(input) {
37406
39513
  return workspaceProjects(import_node_fs56.default.realpathSync.native(input)).projects.flatMap(
37407
39514
  (project2) => projectTargets(project2).flatMap((ref) => {
37408
- if (ref.target.productType !== "com.apple.product-type.app-extension") return [];
39515
+ if (ref.target.productType !== APP_EXTENSION) return [];
37409
39516
  const name3 = str(ref.target.name) ?? ref.id;
37410
39517
  const { get, keys, xcconfigs } = targetSettings(
37411
39518
  ref,
@@ -37602,7 +39709,9 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37602
39709
  options.installedPods
37603
39710
  );
37604
39711
  const allTargets = projects2.flatMap(projectTargets);
37605
- const appTargets = allTargets.filter((ref) => isIosAppTarget(ref, options));
39712
+ const appTargets = allTargets.filter(
39713
+ (ref) => isIosAppTarget(ref, options) || targetName !== void 0 && ref.target.name === targetName && ref.target.productType === APP_EXTENSION
39714
+ );
37606
39715
  const appTargetNames = appTargets.map((ref) => str(ref.target.name) ?? ref.id);
37607
39716
  const container = import_node_path55.default.basename(xcodeprojOrWorkspace);
37608
39717
  const named = targetName ? appTargets.filter((ref) => ref.target.name === targetName) : appTargets;
@@ -37666,7 +39775,8 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37666
39775
  const words2 = settingList(flags);
37667
39776
  const linked = new Set(linkedTargets(ref).map((link) => link.target));
37668
39777
  return words2.flatMap((word, index) => {
37669
- const target = words2[index - 1] === "-framework" ? byProduct.get(`${word}.framework`) : void 0;
39778
+ const library = word.startsWith("-l") && word.length > 2 ? word.slice(2) : words2[index - 1] === "-l" ? word : void 0;
39779
+ const target = words2[index - 1] === "-framework" ? byProduct.get(`${word}.framework`) : library ? byProduct.get(`lib${library}.a`) ?? byProduct.get(`lib${library}.dylib`) : void 0;
37670
39780
  if (!target || target === ref || linked.has(target)) return [];
37671
39781
  linked.add(target);
37672
39782
  return [{ target, attributes: [] }];
@@ -37694,7 +39804,16 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37694
39804
  order.push(ref);
37695
39805
  };
37696
39806
  visit3(app);
37697
- const headerPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
39807
+ const headerPhases = /* @__PURE__ */ new Map();
39808
+ const headerPhase = (ref) => {
39809
+ const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
39810
+ const cached3 = headerPhases.get(key2);
39811
+ if (cached3) return cached3;
39812
+ const files2 = readHeaderPhase(ref);
39813
+ headerPhases.set(key2, files2);
39814
+ return files2;
39815
+ };
39816
+ const readHeaderPhase = (ref) => list(ref.target.buildPhases).flatMap((phaseId) => {
37698
39817
  const phase = ref.project.object(phaseId);
37699
39818
  if (phase?.isa !== "PBXHeadersBuildPhase") return [];
37700
39819
  return list(phase.files).flatMap((id) => {
@@ -37711,6 +39830,23 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37711
39830
  ];
37712
39831
  });
37713
39832
  });
39833
+ const projectNonFrameworkHeaders = /* @__PURE__ */ new Map();
39834
+ const nonFrameworkHeadersOf = (project2) => {
39835
+ const cached3 = projectNonFrameworkHeaders.get(project2);
39836
+ if (cached3) return cached3;
39837
+ const headers = /* @__PURE__ */ new Map();
39838
+ for (const other of projectTargets(project2)) {
39839
+ if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
39840
+ const otherProduct = productName(other);
39841
+ for (const { file, visibility } of headerPhase(other)) {
39842
+ if (visibility === "Project") continue;
39843
+ const key2 = `${otherProduct}/${import_node_path55.default.basename(file)}`;
39844
+ if (!headers.has(key2)) headers.set(key2, file);
39845
+ }
39846
+ }
39847
+ projectNonFrameworkHeaders.set(project2, headers);
39848
+ return headers;
39849
+ };
37714
39850
  const productNames = /* @__PURE__ */ new Map();
37715
39851
  const productName = (ref) => {
37716
39852
  const key2 = `${ref.project.xcodeproj}\0${ref.id}`;
@@ -37943,16 +40079,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
37943
40079
  const qualified3 = `${product}/${name4}`;
37944
40080
  if (!ownHeaders.has(qualified3)) ownHeaders.set(qualified3, file);
37945
40081
  }
37946
- const nonFrameworkHeaders = /* @__PURE__ */ new Map();
37947
- for (const other of projectTargets(ref.project)) {
37948
- if (FRAMEWORK_PRODUCTS.has(str(other.target.productType) ?? "")) continue;
37949
- const otherProduct = productName(other);
37950
- for (const { file, visibility } of headerPhase(other)) {
37951
- if (visibility === "Project") continue;
37952
- const key2 = `${otherProduct}/${import_node_path55.default.basename(file)}`;
37953
- if (!nonFrameworkHeaders.has(key2)) nonFrameworkHeaders.set(key2, file);
37954
- }
37955
- }
40082
+ const nonFrameworkHeaders = nonFrameworkHeadersOf(ref.project);
37956
40083
  const wrapper = import_node_path55.default.join(settings2("BUILT_PRODUCTS_DIR"), `${product}.framework`);
37957
40084
  const moduleMap = (settings2("DEFINES_MODULE") === "YES" || !framework) && settings2("MODULEMAP_FILE") ? absolute(settings2("MODULEMAP_FILE")) : null;
37958
40085
  const frameworkUmbrella = !compatibility && framework && members2.sources.length > 0 && moduleMap ? import_node_path55.default.join(import_node_path55.default.dirname(moduleMap), `${moduleName2}-umbrella.h`) : null;
@@ -38651,7 +40778,7 @@ function readXcodeAppTarget(input, targetName, configurationName, options = {})
38651
40778
  cocoapods
38652
40779
  };
38653
40780
  }
38654
- var import_node_child_process31, import_node_crypto25, import_node_fs56, import_node_path55, import_plist2, XCODE_DEFAULT_IOS_DEPLOYMENT_TARGET, runScriptTimeoutMs, CXX_STANDARD_ALIASES, PRE_CXX20_STANDARDS, APPLICATION, RESOURCE_BUNDLE, PRODUCT_MACH_O_TYPES, FRAMEWORK_PRODUCTS, HEADER_FILE, MODULE_PRODUCTS, CONDITIONS, isDirectory, loaded, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
40781
+ var import_node_child_process31, import_node_crypto25, import_node_fs56, import_node_path55, import_plist2, XCODE_DEFAULT_IOS_DEPLOYMENT_TARGET, runScriptTimeoutMs, CXX_STANDARD_ALIASES, PRE_CXX20_STANDARDS, APPLICATION, APP_EXTENSION, RESOURCE_BUNDLE, PRODUCT_MACH_O_TYPES, FRAMEWORK_PRODUCTS, HEADER_FILE, MODULE_PRODUCTS, CONDITIONS, isDirectory, loaded, developerDir, preparedSourcePhases, isPodsProject, targetRefs, NativeAppTargetSelectionError, workspaceResolvedFile, SwiftPackageResolutionRequired;
38655
40782
  var init_xcode_project = __esm({
38656
40783
  "src/xcode-project.ts"() {
38657
40784
  "use strict";
@@ -38690,6 +40817,7 @@ var init_xcode_project = __esm({
38690
40817
  "compiler-default"
38691
40818
  ]);
38692
40819
  APPLICATION = "com.apple.product-type.application";
40820
+ APP_EXTENSION = "com.apple.product-type.app-extension";
38693
40821
  RESOURCE_BUNDLE = "com.apple.product-type.bundle";
38694
40822
  PRODUCT_MACH_O_TYPES = {
38695
40823
  "com.apple.product-type.application": "mh_execute",
@@ -38844,7 +40972,7 @@ var init_swift_standin_digest = __esm({
38844
40972
  STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
38845
40973
  SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
38846
40974
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
38847
- STANDIN_SOURCE_DIGEST = true ? "318c5e93a7c7c8e4ce1dbf748ec63c84273728043e6bafd140c6563890d717d0" : standinSourceDigest();
40975
+ STANDIN_SOURCE_DIGEST = true ? "7dd2fef3ceef6be07d22cfa2f397bda7721d34bc2ef8764f78e05b9637849f09" : standinSourceDigest();
38848
40976
  }
38849
40977
  });
38850
40978
 
@@ -45500,6 +47628,23 @@ function enumerateBundleResources(paths, copiedBundle = false) {
45500
47628
  }
45501
47629
  return found;
45502
47630
  }
47631
+ function resolveSwiftImageResourceUrls(resources, origin) {
47632
+ if (origin === "") return resources;
47633
+ return Object.fromEntries(
47634
+ Object.entries(resources).map(([bundlePath, images]) => [
47635
+ bundlePath,
47636
+ Object.fromEntries(
47637
+ Object.entries(images).map(([name3, image]) => [
47638
+ name3,
47639
+ image.map((variant2) => ({
47640
+ ...variant2,
47641
+ uri: new URL(variant2.uri, origin).href
47642
+ }))
47643
+ ])
47644
+ )
47645
+ ])
47646
+ );
47647
+ }
45503
47648
  var import_svgpath, RASTER_EXTENSIONS, SYMBOL_CAP_HEIGHT_EM, SYMBOL_SCALE_IDS, SYMBOL_WEIGHT_IDS, COMPILED_EXTENSIONS;
45504
47649
  var init_bundleAssets = __esm({
45505
47650
  "../sootsim-swift/src/bundleAssets.ts"() {
@@ -50009,6 +52154,97 @@ function scopedArtifact(project2, entry, moduleRoot, signal) {
50009
52154
  project2.building = { stamp, promise: fresh, signal };
50010
52155
  return fresh;
50011
52156
  }
52157
+ async function swiftPackageMetadata(packagePath, packageName, moduleRoot, origin, hosted, signal) {
52158
+ packagePath = import_node_fs86.default.realpathSync(packagePath);
52159
+ const project2 = projectFor(packagePath, hosted, signal);
52160
+ const limits = inputLimits(Boolean(project2.hosted));
52161
+ const registered = xcodeProjects().get(packagePath);
52162
+ const app = registered ? readXcodeAppTargetPrepared(
52163
+ registered.xcodeproj,
52164
+ registered.target,
52165
+ registered.configuration,
52166
+ { prepareGeneratedSources: true, installedPods: true }
52167
+ ) : null;
52168
+ const candidates = app ? [...app.sources, ...app.allSources.filter(isSwiftNativeTranslationUnit)] : sourceFiles(packagePath).filter((file) => file.endsWith(".swift"));
52169
+ const cDefines = (file) => {
52170
+ const defines = /* @__PURE__ */ new Map();
52171
+ const cxx = /\.(?:cc|cpp|cxx)$/.test(file);
52172
+ for (const flag of [
52173
+ ...app?.objc?.flags ?? [],
52174
+ ...cxx ? app?.objc?.cxxFlags ?? [] : [],
52175
+ ...app?.objc?.fileFlags[file] ?? []
52176
+ ]) {
52177
+ const define = /^-D([^=]+)(?:=(.*))?$/.exec(flag);
52178
+ if (define) defines.set(define[1], define[2]);
52179
+ const undef = /^-U(.+)$/.exec(flag);
52180
+ if (undef) defines.delete(undef[1]);
52181
+ }
52182
+ return defines;
52183
+ };
52184
+ let targetDefined = null;
52185
+ const definedNames = () => {
52186
+ if (targetDefined) return targetDefined;
52187
+ const texts = [
52188
+ ...candidates.filter((file) => !file.endsWith(".swift")),
52189
+ ...app?.objc?.headers ?? [],
52190
+ ...app?.objc?.prefixHeader ? [app.objc.prefixHeader] : []
52191
+ ].map(
52192
+ (file) => readPackageFile2(packagePath, file, limits.sourceBytes).toString("utf8")
52193
+ );
52194
+ targetDefined = swiftCDefinedNames(texts);
52195
+ return targetDefined;
52196
+ };
52197
+ const cLanguage = (file) => file.endsWith(".mm") ? "objective-c++" : file.endsWith(".m") ? "objective-c" : /\.(?:cc|cpp|cxx)$/.test(file) ? "c++" : "c";
52198
+ const mains = candidates.filter((file) => {
52199
+ const contents = readPackageFile2(packagePath, file, limits.sourceBytes).toString(
52200
+ "utf8"
52201
+ );
52202
+ return file.endsWith(".swift") ? swiftApplicationEntry(file, contents) : swiftCMainEntry(file, contents, {
52203
+ defines: cDefines(file),
52204
+ predefines: swiftCPredefines(cLanguage(file)),
52205
+ targetDefined: definedNames()
52206
+ });
52207
+ });
52208
+ const native = nativeSourceDescriptor(packagePath);
52209
+ if (mains.length > 1 || mains.length === 0 && !native) {
52210
+ throw new Error(
52211
+ `swift package ${packageName} needs exactly one application entry source or generated native modules; found ${mains.length}`
52212
+ );
52213
+ }
52214
+ const entry = mains.length === 1 ? import_node_path84.default.relative(packagePath, mains[0]).split(import_node_path84.default.sep).join(import_node_path84.default.posix.sep) : Object.entries(native?.files ?? {}).find(
52215
+ ([_file, names]) => names.length > 0
52216
+ )?.[0];
52217
+ if (!entry) throw new Error(`swift package ${packageName} has no native module source`);
52218
+ const artifact = await artifactFor(project2, entry, moduleRoot);
52219
+ const resources = artifact.package.resources;
52220
+ const bundleFiles = artifact.package.bundleFiles;
52221
+ return {
52222
+ url: `${origin}${ARTIFACT_PATH}${artifact.hash}.wasm`,
52223
+ hash: artifact.hash,
52224
+ icuUrl: icuUrl(origin, artifact),
52225
+ rootId: `${packageName}/${entry}`,
52226
+ resources: resolveSwiftImageResourceUrls(resources.table, origin),
52227
+ bundleFiles: bundleFiles.files,
52228
+ ...Object.keys(resources.metalSources).length === 0 ? {} : {
52229
+ metalSources: Object.fromEntries(
52230
+ Object.entries(resources.metalSources).map(([file, source]) => [
52231
+ file,
52232
+ { ...source, url: `${origin}${source.url}` }
52233
+ ])
52234
+ )
52235
+ },
52236
+ colors: resources.colors,
52237
+ symbols: resources.symbols,
52238
+ designTimeValues: artifact.designTimeValues ?? {},
52239
+ native: artifact.package.native ? {
52240
+ packageId: artifact.package.native.packageId,
52241
+ contractHash: artifact.package.native.hash,
52242
+ modules: artifact.package.native.modules,
52243
+ views: Object.keys(artifact.package.native.views),
52244
+ defaultView: mains.length === 1
52245
+ } : void 0
52246
+ };
52247
+ }
50012
52248
  async function serveSwiftPackageAsset(pathname, res) {
50013
52249
  const acceptEncoding = res.req?.headers["accept-encoding"] ?? "";
50014
52250
  const acceptsBr = /\bbr\b/.test(
@@ -53217,7 +55453,8 @@ async function collectTurboSources(options) {
53217
55453
  reactNative,
53218
55454
  sources: [],
53219
55455
  externalPodSources: [],
53220
- rendererSwiftTargets: []
55456
+ rendererSwiftTargets: [],
55457
+ fabricComponents: []
53221
55458
  };
53222
55459
  const sharedLibrary = [...options.installedPods?.values() ?? []].find(
53223
55460
  (pod) => pod.sharedLibrary
@@ -53664,6 +55901,9 @@ async function collectTurboSources(options) {
53664
55901
  };
53665
55902
  let objc = Boolean(options.reactNativeProvider);
53666
55903
  let fabric = Boolean(options.reactNativeProvider);
55904
+ const fabricPackages = /* @__PURE__ */ new Set();
55905
+ const fabricViews = [];
55906
+ let fabricTarget = null;
53667
55907
  let legacyBridge = false;
53668
55908
  let hermesHeaders = null;
53669
55909
  const objcClasses = /* @__PURE__ */ new Set();
@@ -53687,7 +55927,11 @@ async function collectTurboSources(options) {
53687
55927
  { tool: "cxx", flags: pod.installed.preprocessorFlags.cxx }
53688
55928
  ];
53689
55929
  const root = pod.root;
53690
- fabric ||= fabricComponents(provider.root);
55930
+ if (fabricComponents(provider.root)) {
55931
+ fabric = true;
55932
+ fabricPackages.add(provider.name);
55933
+ fabricTarget ??= { targetName, label, root: provider.root };
55934
+ }
53691
55935
  if (pod.installed?.library) {
53692
55936
  result.libraries ??= {};
53693
55937
  result.libraries[targetName] = import_node_fs91.default.readFileSync(pod.installed.library).toString("base64");
@@ -53960,6 +56204,17 @@ async function collectTurboSources(options) {
53960
56204
  const owned = /* @__PURE__ */ new Set();
53961
56205
  walkFiles2(generated, "", owned);
53962
56206
  const spec = codegenConfig.name;
56207
+ let definedComponentNames;
56208
+ const getDefinedComponentNames = () => {
56209
+ if (definedComponentNames) return definedComponentNames;
56210
+ definedComponentNames = /* @__PURE__ */ new Set();
56211
+ const pattern = /\b(?:const\s+char|char\s+const)\s+(\w+ComponentName)\s*\[\s*\]\s*=/g;
56212
+ for (const sourceFile of sources) {
56213
+ const text6 = readPackageFile(root, import_node_path89.default.join(root, sourceFile), Infinity).toString("utf8").replace(/\/\/[^\n]*/g, "");
56214
+ for (const match of text6.matchAll(pattern)) definedComponentNames.add(match[1]);
56215
+ }
56216
+ return definedComponentNames;
56217
+ };
53963
56218
  for (const file of [...owned].sort()) {
53964
56219
  const base = import_node_path89.default.posix.basename(file);
53965
56220
  const objcSpec = providerObjC && file.startsWith(`${spec}/`);
@@ -53981,7 +56236,32 @@ async function collectTurboSources(options) {
53981
56236
  relative: file
53982
56237
  }
53983
56238
  );
53984
- else original(targetName, "ReactCodegen", generated, file);
56239
+ else {
56240
+ if (component && base === "ShadowNodes.cpp") {
56241
+ const defined = getDefinedComponentNames();
56242
+ if (defined.size) {
56243
+ const source = readPackageFile(
56244
+ generated,
56245
+ import_node_path89.default.join(generated, file),
56246
+ Infinity
56247
+ ).toString("utf8");
56248
+ const filtered = source.replace(
56249
+ /^[ \t]*(?:extern[ \t]+)?(?:const[ \t]+char|char[ \t]+const)[ \t]+(\w+ComponentName)[ \t]*\[[ \t]*\][ \t]*=[^;]*;[ \t]*\r?\n?/gm,
56250
+ (line, name3) => defined.has(name3) ? "" : line
56251
+ );
56252
+ if (filtered !== source) {
56253
+ if (!/\b(?:const\s+char|char\s+const)\s+\w+ComponentName\s*\[\s*\]\s*=/.test(
56254
+ filtered
56255
+ ))
56256
+ continue;
56257
+ const key2 = original(targetName, "ReactCodegen", generated, file);
56258
+ result.files[key2] = filtered;
56259
+ continue;
56260
+ }
56261
+ }
56262
+ }
56263
+ original(targetName, "ReactCodegen", generated, file);
56264
+ }
53985
56265
  }
53986
56266
  }
53987
56267
  for (const file of sources) original(targetName, label, root, file);
@@ -54042,7 +56322,7 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
54042
56322
  add(`${core}/include/PeachJsiRuntime.hpp`, TURBO_RUNTIME_HEADER);
54043
56323
  add(
54044
56324
  `${core}/${TURBO_CORE_PUBLIC_HEADERS}/${TURBO_ENTRY_HEADER}`,
54045
- '#pragma once\nextern "C" void peachTurboInitialize();\n'
56325
+ '#pragma once\nextern "C" void peachTurboInitialize();\n// the +1 Fabric component view a root of the process shows, in an app with one\nextern "C" void *peach_fabric_view_content(int tag);\n'
54046
56326
  );
54047
56327
  add(
54048
56328
  `${core}/${TURBO_CORE_PUBLIC_HEADERS}/module.modulemap`,
@@ -54168,6 +56448,21 @@ ${declared.map((symbol2) => `extern "C" void ${symbol2}();
54168
56448
  original(TURBO_CORE_TARGET, "ReactCodegen", generated, "RCTModuleProviders.h")
54169
56449
  );
54170
56450
  }
56451
+ const thirdParty = import_node_path89.default.join(generated, "RCTThirdPartyComponentsProvider.mm");
56452
+ if (fabricPackages.size > 0 && import_node_fs91.default.existsSync(thirdParty)) {
56453
+ for (const [, name3, className2, owner] of import_node_fs91.default.readFileSync(thirdParty, "utf8").matchAll(/@"([^"]+)": NSClassFromString\(@"([^"]+)"\), \/\/ (\S+)/g))
56454
+ if (fabricPackages.has(owner))
56455
+ fabricViews.push({ name: name3, className: className2 });
56456
+ }
56457
+ if (fabricViews.length > 0 && fabricTarget) {
56458
+ result.fabricComponents = fabricViews.map(({ name: name3 }) => name3);
56459
+ const unit2 = `${targetPath(fabricTarget.targetName)}/PeachFabricHost.mm`;
56460
+ add(unit2, fabricHostSource(fabricViews));
56461
+ scanText(
56462
+ { key: unit2, ...fabricTarget, relative: "PeachFabricHost.mm" },
56463
+ result.files[unit2]
56464
+ );
56465
+ }
54171
56466
  }
54172
56467
  if (fabric || legacyBridge) {
54173
56468
  if (legacyBridge) {
@@ -54511,38 +56806,6 @@ void dispatchToJSThread(dispatch_block_t block) {
54511
56806
  }
54512
56807
  } // namespace
54513
56808
 
54514
- static CGFloat peachScreenBrightness = 0.5;
54515
-
54516
- @implementation UIScreen (PeachTurboRuntime)
54517
- + (UIScreen *)mainScreen {
54518
- static UIScreen *screen = nil;
54519
- if (!screen) screen = [[UIScreen alloc] init];
54520
- return screen;
54521
- }
54522
- - (CGFloat)brightness {
54523
- return peachScreenBrightness;
54524
- }
54525
- - (void)setBrightness:(CGFloat)value {
54526
- peachScreenBrightness = value;
54527
- }
54528
- @end
54529
-
54530
- static BOOL peachIdleTimerDisabled = NO;
54531
-
54532
- @implementation UIApplication (PeachTurboRuntime)
54533
- + (UIApplication *)sharedApplication {
54534
- static UIApplication *app = nil;
54535
- if (!app) app = [[UIApplication alloc] init];
54536
- return app;
54537
- }
54538
- - (BOOL)isIdleTimerDisabled {
54539
- return peachIdleTimerDisabled;
54540
- }
54541
- - (void)setIdleTimerDisabled:(BOOL)disabled {
54542
- peachIdleTimerDisabled = disabled;
54543
- }
54544
- @end
54545
-
54546
56809
  // React Native's own modules register before any provider's, and RCTBridge.mm
54547
56810
  // creates the registry's queue in the first RCTRegisterModule. the engine
54548
56811
  // supplies those modules, so a process whose providers register none (codegen
@@ -54659,6 +56922,12 @@ ${moduleProviders ? `- (id<RCTModuleProvider>)getModuleProvider:(const char *)na
54659
56922
 
54660
56923
  @end
54661
56924
 
56925
+ // an app's Fabric component views, which its own Fabric host defines
56926
+ extern "C" void peachInstallFabricViews(facebook::jsi::Runtime &runtime) __attribute__((weak));
56927
+
56928
+ // UIKitCore: the key window and root view controller an app delegate makes at launch
56929
+ extern "C" void PeachLaunchReactNativeWindow(void);
56930
+
54662
56931
  extern "C" void peachTurboInitialize() {
54663
56932
  objc_create_block_classes_as_subclasses_of([NSObject class]);
54664
56933
  if (Class blockClass = NSClassFromString(@"_NSBlock")) {
@@ -54672,6 +56941,7 @@ extern "C" void peachTurboInitialize() {
54672
56941
  static_cast<uint32_t *>((__bridge void *)mainQueueClass)[4] &= ~2048u;
54673
56942
  *reinterpret_cast<void **>(&_dispatch_main_q) = (__bridge void *)mainQueueClass;
54674
56943
  }
56944
+ PeachLaunchReactNativeWindow();
54675
56945
  auto& runtime = peach::jsi_runtime::create(
54676
56946
  [] { invoker->drain(); },
54677
56947
  [] {
@@ -54732,6 +57002,7 @@ ${bridgeProxy ? ` // as RCTInstance does: the proxy modules reach as their brid
54732
57002
  }];
54733
57003
  [decorator.moduleRegistry setTurboModuleRegistry:manager];
54734
57004
  [manager installJSBindings:runtime];
57005
+ if (peachInstallFabricViews) peachInstallFabricViews(runtime);
54735
57006
  }
54736
57007
 
54737
57008
  // the screenshot the device took, as UIKit posts it to every observer in the
@@ -54777,7 +57048,129 @@ ${moduleProviders ? " [found addObjectsFromArray:RCTModuleProviders.moduleProvi
54777
57048
  }
54778
57049
  `;
54779
57050
  }
54780
- var import_node_child_process47, import_node_crypto46, import_node_fs91, import_node_path89, import_node_util15, execFileAsync3, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER3, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, DECLARED_MODULE_NAME, EXPORTED_MODULE, sha2564, versionParts, iosOf, JS_CALL_INVOKER;
57051
+ function fabricHostSource(views) {
57052
+ const entries = views.map(
57053
+ ({ name: name3, className: className2 }) => `@${JSON.stringify(name3)}: NSClassFromString(@${JSON.stringify(className2)})`
57054
+ ).join(", ");
57055
+ return `${FABRIC_HOST_INCLUDES}
57056
+ @interface PeachFabricComponents : NSObject <RCTComponentViewFactoryComponentProvider>
57057
+ @end
57058
+
57059
+ @implementation PeachFabricComponents
57060
+ - (NSDictionary<NSString *, Class<RCTComponentViewProtocol>> *)thirdPartyFabricComponents
57061
+ {
57062
+ return @{${entries}};
57063
+ }
57064
+ @end
57065
+
57066
+ namespace {
57067
+ struct PeachFabricView {
57068
+ react::ComponentHandle handle;
57069
+ const react::ComponentDescriptor *descriptor;
57070
+ react::Props::Shared props;
57071
+ react::LayoutMetrics layoutMetrics;
57072
+ };
57073
+ PeachFabricComponents *fabricComponents;
57074
+ RCTComponentViewRegistry *fabricRegistry;
57075
+ std::shared_ptr<const react::ContextContainer> fabricContext;
57076
+ react::ComponentDescriptorRegistry::Shared fabricDescriptors;
57077
+ std::unordered_map<int, PeachFabricView> fabricViews;
57078
+ int nextFabricView = 1;
57079
+ std::string fabricNames = ${JSON.stringify(views.map(({ name: name3 }) => name3).join("\n"))};
57080
+
57081
+ PeachFabricView &fabricView(int tag) {
57082
+ auto found = fabricViews.find(tag);
57083
+ if (found == fabricViews.end()) {
57084
+ std::fprintf(stderr, "no mounted Fabric view %d\\n", tag);
57085
+ std::abort();
57086
+ }
57087
+ return found->second;
57088
+ }
57089
+
57090
+ react::Props::Shared fabricCloneProps(jsi::Runtime &rt, const PeachFabricView &view, const jsi::Value &props) {
57091
+ react::PropsParserContext context{-1, *fabricContext};
57092
+ return view.descriptor->cloneProps(context, view.props, react::RawProps(rt, props));
57093
+ }
57094
+
57095
+ } // namespace
57096
+
57097
+ extern "C" void peachInstallFabricViews(jsi::Runtime &rt) {
57098
+ fabricComponents = [PeachFabricComponents new];
57099
+ RCTComponentViewFactory *factory = [RCTComponentViewFactory currentComponentViewFactory];
57100
+ factory.thirdPartyFabricComponentsProvider = fabricComponents;
57101
+ fabricRegistry = [RCTComponentViewRegistry new];
57102
+ fabricContext = std::make_shared<const react::ContextContainer>();
57103
+ react::ComponentDescriptorParameters parameters{{}, fabricContext, nullptr};
57104
+ fabricDescriptors = [factory createComponentDescriptorRegistryWithParameters:parameters];
57105
+ auto views = jsi::Object(rt);
57106
+ auto method = [&](const char *name, unsigned count, jsi::HostFunctionType body) {
57107
+ views.setProperty(rt, name, jsi::Function::createFromHostFunction(rt, jsi::PropNameID::forAscii(rt, name), count, std::move(body)));
57108
+ };
57109
+ // Create then Insert: the first props, no event emitter or state, and the
57110
+ // layout the view has before the engine measures it
57111
+ method("create", 2, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57112
+ const auto &descriptor = fabricDescriptors->at(args[0].asString(rt).utf8(rt));
57113
+ int tag = nextFabricView++;
57114
+ auto &view = fabricViews.emplace(tag, PeachFabricView{descriptor.getComponentHandle(), &descriptor, nullptr, {}}).first->second;
57115
+ view.props = fabricCloneProps(rt, view, args[1]);
57116
+ UIView<RCTComponentViewProtocol> *componentView =
57117
+ [fabricRegistry dequeueComponentViewWithComponentHandle:view.handle tag:tag].view;
57118
+ [componentView updateProps:view.props oldProps:nullptr];
57119
+ [componentView updateEventEmitter:nullptr];
57120
+ [componentView updateState:nullptr oldState:nullptr];
57121
+ [componentView updateLayoutMetrics:view.layoutMetrics oldLayoutMetrics:react::EmptyLayoutMetrics];
57122
+ [componentView finalizeUpdates:RNComponentViewUpdateMaskAll];
57123
+ return jsi::Value(tag);
57124
+ });
57125
+ // Update with the props React changed since the last commit
57126
+ method("update", 2, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57127
+ int tag = static_cast<int>(args[0].asNumber());
57128
+ auto &view = fabricView(tag);
57129
+ auto oldProps = view.props;
57130
+ view.props = fabricCloneProps(rt, view, args[1]);
57131
+ UIView<RCTComponentViewProtocol> *componentView = [fabricRegistry componentViewDescriptorWithTag:tag].view;
57132
+ [componentView updateProps:view.props oldProps:oldProps];
57133
+ [componentView finalizeUpdates:RNComponentViewUpdateMaskProps];
57134
+ return jsi::Value::undefined();
57135
+ });
57136
+ // Update with the size and scale the engine laid the view out at
57137
+ method("layout", 4, [](jsi::Runtime &, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57138
+ int tag = static_cast<int>(args[0].asNumber());
57139
+ auto &view = fabricView(tag);
57140
+ auto metrics = view.layoutMetrics;
57141
+ metrics.frame = react::Rect{{0, 0}, {static_cast<react::Float>(args[1].asNumber()), static_cast<react::Float>(args[2].asNumber())}};
57142
+ metrics.pointScaleFactor = static_cast<react::Float>(args[3].asNumber());
57143
+ if (metrics == view.layoutMetrics) return jsi::Value::undefined();
57144
+ UIView<RCTComponentViewProtocol> *componentView = [fabricRegistry componentViewDescriptorWithTag:tag].view;
57145
+ [componentView updateLayoutMetrics:metrics oldLayoutMetrics:view.layoutMetrics];
57146
+ view.layoutMetrics = metrics;
57147
+ [componentView finalizeUpdates:RNComponentViewUpdateMaskLayoutMetrics];
57148
+ return jsi::Value::undefined();
57149
+ });
57150
+ // Remove then Delete: the registry recycles the view
57151
+ method("drop", 1, [](jsi::Runtime &, const jsi::Value &, const jsi::Value *args, size_t) -> jsi::Value {
57152
+ int tag = static_cast<int>(args[0].asNumber());
57153
+ auto &view = fabricView(tag);
57154
+ RCTComponentViewDescriptor descriptor = [fabricRegistry componentViewDescriptorWithTag:tag];
57155
+ [descriptor.view removeFromSuperview];
57156
+ [fabricRegistry enqueueComponentViewWithComponentHandle:view.handle tag:tag componentViewDescriptor:descriptor];
57157
+ fabricViews.erase(tag);
57158
+ return jsi::Value::undefined();
57159
+ });
57160
+ rt.global().setProperty(rt, "peachFabricViews", std::move(views));
57161
+ }
57162
+
57163
+ extern "C" void *peach_fabric_view_content(int tag) {
57164
+ return (__bridge_retained void *)[fabricRegistry componentViewDescriptorWithTag:tag].view;
57165
+ }
57166
+
57167
+ // the component names the host registers as views, newline separated
57168
+ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const char *peachFabricComponentNames() {
57169
+ return fabricNames.c_str();
57170
+ }
57171
+ `;
57172
+ }
57173
+ var import_node_child_process47, import_node_crypto46, import_node_fs91, import_node_path89, import_node_util15, execFileAsync3, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER3, OBJC2, OBJC_TURBO, OBJC_BRIDGE, OBJC_REGISTERED, REACT_NATIVE_UNITS, REACT_NATIVE_INCLUDE_ROOTS, REACT_NATIVE_OBJC_UNITS, REACT_NATIVE_OBJC_VERSIONED_UNITS, REACT_NATIVE_HEADER_DIRS, REACT_NATIVE_BARE_HEADER_DIRS, DECLARED_MODULE_NAME, EXPORTED_MODULE, sha2564, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_HOST_INCLUDES;
54781
57174
  var init_turbo_source = __esm({
54782
57175
  "src/turbo-source.ts"() {
54783
57176
  "use strict";
@@ -54940,6 +57333,22 @@ class JsCallInvoker final : public react::CallInvoker {
54940
57333
  std::deque<react::CallFunc> pending;
54941
57334
  };
54942
57335
 
57336
+ `;
57337
+ FABRIC_HOST_INCLUDES = `#import <Foundation/Foundation.h>
57338
+ #import <React/RCTComponentViewFactory.h>
57339
+ #import <React/RCTComponentViewProtocol.h>
57340
+ #import <React/RCTComponentViewRegistry.h>
57341
+ #include <react/renderer/componentregistry/ComponentDescriptorRegistry.h>
57342
+ #include <react/renderer/core/LayoutMetrics.h>
57343
+ #include <react/renderer/core/PropsParserContext.h>
57344
+ #include <react/renderer/core/RawProps.h>
57345
+ #include <react/utils/ContextContainer.h>
57346
+ #include <cstdio>
57347
+ #include <cstdlib>
57348
+ #include <unordered_map>
57349
+ #include <jsi/jsi.h>
57350
+
57351
+ using namespace facebook;
54943
57352
  `;
54944
57353
  }
54945
57354
  });
@@ -54995,7 +57404,7 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
54995
57404
  dependencyTargets = dependencyTargets.filter(
54996
57405
  (_, index) => !providerNames.has(parsedTargets[index].name)
54997
57406
  );
54998
- const swift = Object.keys(files2).some((file) => file.endsWith(".swift"));
57407
+ const swift = collection.coreMode === "turbo" || Object.keys(files2).some((file) => file.endsWith(".swift"));
54999
57408
  const entry = `Sources/PeachTurboApp/main.${swift ? "swift" : "cpp"}`;
55000
57409
  const targetNames = targets.map(({ name: name3 }) => name3);
55001
57410
  const loadTargetNames = new Set(collection.loads.map(({ target }) => target));
@@ -55004,10 +57413,56 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
55004
57413
  (file) => file.startsWith(`${target.path}/`) && file.endsWith(".swift")
55005
57414
  )
55006
57415
  ).map(({ name: name3 }) => name3);
55007
- files2[entry] = swift ? "@_spi(Peach) import PeachFoundation\n" + swiftImportedTargetNames.map((target) => `import ${target}
55008
- `).join("") + `PeachHostDriver.installExecutor()
55009
- ${collection.loads.map(({ symbol: symbol2 }) => `${symbol2}()
55010
- `).join("")}${runtime ? "peachTurboInitialize()\n" : ""}` : [
57416
+ const initialize = [
57417
+ "_PeachReactNativeWindow.launch()",
57418
+ ...collection.loads.map(({ symbol: symbol2 }) => `${symbol2}()`),
57419
+ ...runtime ? ["peachTurboInitialize()"] : []
57420
+ ];
57421
+ const fabric = collection.fabricComponents.length > 0;
57422
+ files2[entry] = swift ? [
57423
+ "import SwiftUI",
57424
+ "import UIKit",
57425
+ "import PeachJSON",
57426
+ ...swiftImportedTargetNames.map((target) => `import ${target}`),
57427
+ "",
57428
+ "@main struct PeachTurboApp: PeachPackage {",
57429
+ ` init() { ${initialize.join("; ")} }`,
57430
+ ...fabric ? [
57431
+ " func view(props: JSON) -> PeachTurboRoot { PeachTurboRoot(props: props) }",
57432
+ "}",
57433
+ "",
57434
+ "struct PeachTurboRoot: View {",
57435
+ " let fabric: Int32?",
57436
+ "",
57437
+ " init(props: JSON) {",
57438
+ ' guard case .object(let fields) = props, let field = fields.first(where: { $0.0 == "fabric" }), case .number(let tag) = field.1 else {',
57439
+ " fabric = nil",
57440
+ " return",
57441
+ " }",
57442
+ " fabric = Int32(tag)",
57443
+ " }",
57444
+ "",
57445
+ " var body: some View {",
57446
+ " if let fabric { PeachFabricComponent(tag: fabric) } else { _PeachReactNativeWindow() }",
57447
+ " }",
57448
+ "}",
57449
+ "",
57450
+ "struct PeachFabricComponent: UIViewRepresentable {",
57451
+ " let tag: Int32",
57452
+ "",
57453
+ " func makeUIView(context: Context) -> UIView {",
57454
+ ' guard let view = peach_fabric_view_content(tag) else { fatalError("Fabric view \\(tag) is not mounted") }',
57455
+ " return Unmanaged<UIView>.fromOpaque(view).takeRetainedValue()",
57456
+ " }",
57457
+ "",
57458
+ " func updateUIView(_ view: UIView, context: Context) {}",
57459
+ "}"
57460
+ ] : [
57461
+ " func view(props: JSON) -> _PeachReactNativeWindow { _PeachReactNativeWindow() }",
57462
+ "}"
57463
+ ],
57464
+ ""
57465
+ ].join("\n") : [
55011
57466
  'extern "C" void peachTurboInitialize();',
55012
57467
  ...collection.loads.map(({ symbol: symbol2 }) => `extern "C" void ${symbol2}();`),
55013
57468
  "int main(int argc, char **argv) {",
@@ -55644,7 +58099,7 @@ var init_react_native_core = __esm({
55644
58099
  init_swift_distribution();
55645
58100
  init_swift_package();
55646
58101
  init_swiftContract();
55647
- recipe = true ? "f30840269a1f4be9434de5fb0adcd21490990ef2b55e4f3e6c159fcb6752a29d" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
58102
+ recipe = true ? "96416de7238919b274266f095ef4213211a2a26c133d0df7ab5e0459ded52ef1" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
55648
58103
  strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
55649
58104
  building = /* @__PURE__ */ new Map();
55650
58105
  }
@@ -55789,7 +58244,7 @@ var init_nitro_superset = __esm({
55789
58244
  init_nitroContract();
55790
58245
  init_swift_standin_digest();
55791
58246
  NITRO_SUPERSET_ENTRY_NAME = "superset";
55792
- NITRO_COMPILER_DIGEST = true ? "3ac8f9ccff4c474a3190ac4d02dc192452001e663ee487ba12ba8ace17bedb02" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
58247
+ NITRO_COMPILER_DIGEST = true ? "3f4226b3727dae50227ba7f4fd8d517c59939e4f4d2f56ef11e1dafd09705f5c" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
55793
58248
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
55794
58249
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
55795
58250
  published2 = /* @__PURE__ */ new Map();
@@ -55810,7 +58265,7 @@ var init_nitro_superset = __esm({
55810
58265
  var runtime_companion_default;
55811
58266
  var init_runtime_companion = __esm({
55812
58267
  "runtime-companion.json"() {
55813
- runtime_companion_default = { abi: 1, sha256: "2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6", file: "node/cli-2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6.cjs" };
58268
+ runtime_companion_default = { abi: 1, sha256: "60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2", file: "node/cli-60900a3af6e6213c855e6682baa0ebdb6a6865510e4e3a51a24d4c584b3fdec2.cjs" };
55814
58269
  }
55815
58270
  });
55816
58271
 
@@ -55821,6 +58276,7 @@ __export(cli_runtime_exports, {
55821
58276
  cliCompanionPath: () => cliCompanionPath,
55822
58277
  ensureCliCompanion: () => ensureCliCompanion,
55823
58278
  getCliRuntime: () => getCliRuntime,
58279
+ loadCliRuntime: () => loadCliRuntime,
55824
58280
  verifyCliCompanion: () => verifyCliCompanion
55825
58281
  });
55826
58282
  function cliCompanionPath() {
@@ -55868,6 +58324,10 @@ async function ensureCliCompanion(root) {
55868
58324
  (0, import_node_fs103.rmSync)(staged, { force: true });
55869
58325
  }
55870
58326
  }
58327
+ async function loadCliRuntime() {
58328
+ if (!loaded2) await ensureCliCompanion(peachRuntimeRoot());
58329
+ return getCliRuntime();
58330
+ }
55871
58331
  function getCliRuntime() {
55872
58332
  if (loaded2) return loaded2.runtime;
55873
58333
  const root = peachRuntimeRoot();
@@ -63989,6 +66449,15 @@ const result = JSON.stringify(getConfig(root, { skipSDKVersionRequirement: true
63989
66449
  if (Buffer.byteLength(result) > 1024 * 1024) throw new Error('Expo native configuration exceeds 1 MiB.');
63990
66450
  writeFileSync(process.argv[2], result, { mode: 0o600 });`;
63991
66451
  function hasExpoConfig(projectRoot) {
66452
+ const packagePath = import_node_path56.default.join(projectRoot, "package.json");
66453
+ const manifest = import_node_fs57.default.existsSync(packagePath) ? JSON.parse(import_node_fs57.default.readFileSync(packagePath, "utf8")) : null;
66454
+ if (isRecord(manifest)) {
66455
+ const dependencies = [manifest.dependencies, manifest.devDependencies].filter(
66456
+ isRecord
66457
+ );
66458
+ if (dependencies.some((deps) => "one" in deps) && !dependencies.some((deps) => "expo" in deps))
66459
+ return false;
66460
+ }
63992
66461
  const appJsonPath = import_node_path56.default.join(projectRoot, "app.json");
63993
66462
  const appJson = import_node_fs57.default.existsSync(appJsonPath) ? JSON.parse(import_node_fs57.default.readFileSync(appJsonPath, "utf8")) : null;
63994
66463
  const staticExpo = isRecord(appJson) && (isRecord(appJson.expo) || [appJson.ios, appJson.android].some(
@@ -65056,7 +67525,7 @@ async function expoDiscoveryKey(options) {
65056
67525
  const key2 = (0, import_node_crypto31.createHash)("sha256").update(`${peachPin()}\0${hash}\0`).update(`${stable2(JSON.parse(options.searchText))}\0`).update(`${stable2(options.configuration)}\0`).update(stable2(JSON.parse(options.resolveText))).digest("hex");
65057
67526
  return { key: key2, root };
65058
67527
  }
65059
- function sharedDir() {
67528
+ function expoDiscoveryCacheDir() {
65060
67529
  return import_node_path63.default.join(sharedCacheDir(import_node_path63.default.join(ambientHomeDir(), "cache")), "expo-discovery");
65061
67530
  }
65062
67531
  var EXPIRY_MS = 7 * 24 * 36e5;
@@ -65099,7 +67568,7 @@ function isStoredUnit(value) {
65099
67568
  }
65100
67569
  function readExpoDiscovery(key2) {
65101
67570
  let parsed;
65102
- const record4 = import_node_path63.default.join(sharedDir(), `${key2}.json`);
67571
+ const record4 = import_node_path63.default.join(expoDiscoveryCacheDir(), `${key2}.json`);
65103
67572
  try {
65104
67573
  parsed = JSON.parse(import_node_fs64.default.readFileSync(record4, "utf8"));
65105
67574
  } catch {
@@ -65128,7 +67597,7 @@ function readExpoDiscovery(key2) {
65128
67597
  const read = (digest3) => {
65129
67598
  const known = blobs.get(digest3);
65130
67599
  if (known !== void 0) return known;
65131
- const blob = import_node_path63.default.join(sharedDir(), "blobs", digest3);
67600
+ const blob = import_node_path63.default.join(expoDiscoveryCacheDir(), "blobs", digest3);
65132
67601
  const body = import_node_fs64.default.readFileSync(blob, "utf8");
65133
67602
  if ((0, import_node_crypto31.createHash)("sha256").update(body).digest("hex") !== digest3)
65134
67603
  throw new Error("discovery blob differs from its digest");
@@ -65176,7 +67645,7 @@ var fileHashes = /* @__PURE__ */ new Map();
65176
67645
  var fileHashesLoaded = false;
65177
67646
  var fileHashesChanged = false;
65178
67647
  function fileHashesPath() {
65179
- return import_node_path63.default.join(sharedDir(), "framework-file-hashes.json");
67648
+ return import_node_path63.default.join(expoDiscoveryCacheDir(), "framework-file-hashes.json");
65180
67649
  }
65181
67650
  function stampedFileHash(file) {
65182
67651
  if (!fileHashesLoaded) {
@@ -65355,7 +67824,7 @@ function rewritePreparedPaths(options) {
65355
67824
  frameworkDependencies[sourceDir] = sourceDigest;
65356
67825
  let portableDir = sourceDir;
65357
67826
  if (preparedDigest !== sourceDigest) {
65358
- const parent = import_node_path63.default.join(sharedDir(), "frameworks", preparedDigest);
67827
+ const parent = import_node_path63.default.join(expoDiscoveryCacheDir(), "frameworks", preparedDigest);
65359
67828
  portableDir = import_node_path63.default.join(parent, import_node_path63.default.basename(dir));
65360
67829
  if (!import_node_fs64.default.existsSync(portableDir)) {
65361
67830
  import_node_fs64.default.mkdirSync(parent, { recursive: true });
@@ -65386,7 +67855,7 @@ function rewritePreparedPaths(options) {
65386
67855
  }
65387
67856
  function writeExpoDiscovery(options) {
65388
67857
  try {
65389
- const dir = sharedDir();
67858
+ const dir = expoDiscoveryCacheDir();
65390
67859
  import_node_fs64.default.mkdirSync(dir, { recursive: true });
65391
67860
  const tmp = import_node_path63.default.join(dir, `.${options.key}.${process.pid}.${(0, import_node_crypto31.randomUUID)()}.tmp`);
65392
67861
  if (options.units === null) {
@@ -65524,7 +67993,7 @@ init_swift_native_pin();
65524
67993
  init_xcode_project();
65525
67994
  var EXPO_NATIVE_ENTRY_NAME = "ios";
65526
67995
  function expoNativeCompilerDigestValue() {
65527
- return true ? "3c8bd65a3c749594ba3fad51bc9caeee0a5bf0ac9e8c6e569e513ec366ee6554" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
67996
+ return true ? "064dc6aa590b7937e7499edee9ff07b0ef387a59a35ed48a2d820ab27209917a" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
65528
67997
  }
65529
67998
  var IDENTITY_SOURCE_SKIPS = 1 | 4 | 8 | 16 | 32 | 64 | 128 | 4096;
65530
67999
  function readSources(value) {
@@ -66479,7 +68948,9 @@ function installSwiftInputTrace() {
66479
68948
  import_node_path93.default.join(swiftCacheDir(), "swift-builds"),
66480
68949
  import_node_path93.default.join(swiftCacheDir(), "swift-sdk-views"),
66481
68950
  swiftRootLocksDir(),
66482
- import_node_path93.default.join(cacheDir(), "swift-tmp")
68951
+ import_node_path93.default.join(cacheDir(), "swift-tmp"),
68952
+ // content-addressed records whose reads renew their timestamps for expiry.
68953
+ expoDiscoveryCacheDir()
66483
68954
  ].filter((prefix, index, all) => all.indexOf(prefix) === index);
66484
68955
  ignoredRoots = prefixes.flatMap((root) => {
66485
68956
  try {
@@ -66585,11 +69056,13 @@ async function witnessMatches(witness) {
66585
69056
  return true;
66586
69057
  }
66587
69058
  async function discoveryKey(root, installedWorkspace, prepareNative, iosTarget, moduleRoot) {
66588
- const [config, expoConfig] = await Promise.all([
69059
+ const preparesWorkspace = prepareNative && !installedWorkspace && nativeWorkspaceAvailable();
69060
+ const [config, expoConfig, workspace] = await Promise.all([
66589
69061
  loadRNXAppConfig(resolveAppProject(root)),
66590
- readExpoConfigAsync(root)
69062
+ readExpoConfigAsync(root),
69063
+ preparesWorkspace ? traceStore.exit(() => hashExpoWorkspace(root)) : null
66591
69064
  ]);
66592
- return `${import_node_fs95.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${moduleRoot ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}`;
69065
+ return `${import_node_fs95.default.realpathSync(root)}\0${installedWorkspace ?? ""}\0${iosTarget ?? ""}\0${moduleRoot ?? ""}\0${prepareNative ? "1" : "0"}\0${JSON.stringify(config)}\0${JSON.stringify(expoConfig)}\0${workspace?.hash ?? ""}`;
66593
69066
  }
66594
69067
  function cloneNativeTarget(target) {
66595
69068
  return {
@@ -67872,7 +70345,11 @@ function expoEntry(units, oneSDK = false) {
67872
70345
  (unit2) => Object.keys(unit2.files).some((file) => file.startsWith(`Sources/${namespace}/`))
67873
70346
  )
67874
70347
  );
67875
- const bridgeModules = units.flatMap((unit2) => unit2.bridgeModules);
70348
+ const bridgeModules = units.flatMap(
70349
+ (unit2) => unit2.bridgeModules.map(
70350
+ (registration) => registration === `${unit2.namespace}.__peachReactModule_${unit2.namespace}()` ? registration.slice(unit2.namespace.length + 1) : registration
70351
+ )
70352
+ );
67876
70353
  const subscribers = units.flatMap((unit2) => unit2.appDelegateSubscribers);
67877
70354
  const handlers = units.flatMap((unit2) => unit2.reactDelegateHandlers);
67878
70355
  const delegates = subscribers.length + handlers.length > 0 ? `; PeachExpoRuntime.registerDelegates(subscribers: [${subscribers.join(", ")}], handlers: [${handlers.join(", ")}])` : "";
@@ -70530,6 +73007,35 @@ var handleTurboRequest = compiledModuleRequestHandler(
70530
73007
  (root, origin, iosTarget) => compileTurboApp(root, origin, void 0, iosTarget)
70531
73008
  );
70532
73009
 
73010
+ // src/widget-extension-bundle.ts
73011
+ init_swift_distribution();
73012
+ init_swift_host();
73013
+ init_xcode_project();
73014
+ var WIDGET_EXTENSION_ROUTE = "/__peach/widget-extension";
73015
+ async function compileWidgetExtension(appRoot, origin) {
73016
+ const projectRoot = await prepareNativeAppRoot(appRoot);
73017
+ const workspace = installedXcodeWorkspace(projectRoot);
73018
+ if (!workspace) return null;
73019
+ const extensions = readXcodeExtensionTargets(workspace).filter(({ infoPlist }) => {
73020
+ const extension = infoPlist.NSExtension;
73021
+ return typeof extension === "object" && extension !== null && "NSExtensionPointIdentifier" in extension && extension.NSExtensionPointIdentifier === "com.apple.widgetkit-extension";
73022
+ });
73023
+ if (extensions.length === 0) return null;
73024
+ if (extensions.length > 1)
73025
+ throw new Error(
73026
+ `${workspace}: more than one WidgetKit extension (${extensions.map(({ name: name4 }) => name4).join(", ")}) is unmeasured`
73027
+ );
73028
+ const { name: name3 } = extensions[0];
73029
+ const moduleRoot = await swiftDistributionRoot();
73030
+ await prepareXcodeSwiftPackages(workspace, name3, "Release");
73031
+ const root = openXcodeProject(workspace, name3, moduleRoot, "Release");
73032
+ return { metadata: await swiftPackageMetadata(root, name3, moduleRoot, origin) };
73033
+ }
73034
+ var handleWidgetExtensionRequest = compiledModuleRequestHandler(
73035
+ "Widget extension",
73036
+ (root, origin) => compileWidgetExtension(root, origin)
73037
+ );
73038
+
70533
73039
  // src/host/agent-host.ts
70534
73040
  var import_node_crypto58 = require("node:crypto");
70535
73041
  var import_node_fs109 = __toESM(require("node:fs"), 1);
@@ -75509,7 +78015,6 @@ var NATIVE_RUNTIME_PACKAGE_NAMES = [
75509
78015
 
75510
78016
  // ../peach-globals/src/guest-modules/lazy-stub-patterns.ts
75511
78017
  var LAZY_STUB_PATTERNS = [
75512
- "@10play/tentap-editor",
75513
78018
  "@adobe/react-native-aepcore",
75514
78019
  "@azesmway/react-native-unity",
75515
78020
  "@azzapp/react-native-skia-video",
@@ -75582,8 +78087,6 @@ var LAZY_STUB_PATTERNS = [
75582
78087
  "react-native-agora",
75583
78088
  "react-native-android-location-enabler",
75584
78089
  "react-native-animateable-text",
75585
- "react-native-app-clip",
75586
- "react-native-avoid-softinput",
75587
78090
  "react-native-azure-auth",
75588
78091
  "react-native-bare-kit",
75589
78092
  "react-native-bluetooth-classic",
@@ -75598,7 +78101,6 @@ var LAZY_STUB_PATTERNS = [
75598
78101
  "react-native-extra-dimensions-android",
75599
78102
  "react-native-fast-opencv",
75600
78103
  "react-native-fast-shadow",
75601
- "react-native-fast-squircle",
75602
78104
  "react-native-fast-tflite",
75603
78105
  "react-native-file-viewer-turbo",
75604
78106
  "react-native-floating-label-input",
@@ -80491,7 +82993,7 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
80491
82993
  return;
80492
82994
  }
80493
82995
  const route = req.url?.split("?")[0] ?? "";
80494
- if (route === EXPO_WIDGETS_ROUTE || route === NITRO_ROUTE || route === ONE_SDK_ROUTE || route === TURBO_ROUTE || /^\/__peach\/(?:expo-swift|swift|expo-kotlin|kotlin-artifact\/)/.test(route)) {
82996
+ if (route === EXPO_WIDGETS_ROUTE || route === WIDGET_EXTENSION_ROUTE || route === NITRO_ROUTE || route === ONE_SDK_ROUTE || route === TURBO_ROUTE || /^\/__peach\/(?:expo-swift|swift|expo-kotlin|kotlin-artifact\/)/.test(route)) {
80495
82997
  this.nativeWorkInFlight++;
80496
82998
  res.once("close", () => {
80497
82999
  this.nativeWorkInFlight--;
@@ -80502,6 +83004,10 @@ var SootSimBridgeHost = class _SootSimBridgeHost {
80502
83004
  void handleExpoWidgetsRequest(req, res);
80503
83005
  return;
80504
83006
  }
83007
+ if (route === WIDGET_EXTENSION_ROUTE) {
83008
+ void handleWidgetExtensionRequest(req, res);
83009
+ return;
83010
+ }
80505
83011
  if (route === ONE_SDK_ROUTE) {
80506
83012
  void handleOneSDKRequest(req, res);
80507
83013
  return;