peachsim 0.1.2624 → 0.1.2625

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 (126) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +2 -2
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +5 -5
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +3 -3
  13. package/dist-lib/bundle-channel.cjs +339 -324
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +3 -3
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +3 -3
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +2 -2
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +7 -7
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +5 -5
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/esm-chunks/{acorn-DH6VFUJ3.mjs → acorn-SHZZDBSI.mjs} +3 -3
  27. package/dist-lib/esm-chunks/{chunk-CM2NU5MS.mjs → chunk-2LDG7OD4.mjs} +5 -5
  28. package/dist-lib/esm-chunks/{chunk-UJORQHAE.mjs → chunk-3XZGWT62.mjs} +1 -1
  29. package/dist-lib/esm-chunks/{chunk-JHMD4G4V.mjs → chunk-6PZI7TYE.mjs} +1 -1
  30. package/dist-lib/esm-chunks/{chunk-265THLTP.mjs → chunk-7Z7YJ4FU.mjs} +1 -1
  31. package/dist-lib/esm-chunks/{chunk-IMI2NE4A.mjs → chunk-A4R4YGFJ.mjs} +1 -1
  32. package/dist-lib/esm-chunks/{chunk-QNXV766K.mjs → chunk-A66VNSO6.mjs} +15 -15
  33. package/dist-lib/esm-chunks/{chunk-3XA5HYI5.mjs → chunk-DVMKYLDN.mjs} +9 -8
  34. package/dist-lib/esm-chunks/{chunk-LOQBWIPM.mjs → chunk-F4YHL4UM.mjs} +1 -1
  35. package/dist-lib/esm-chunks/{chunk-LCO2EXKF.mjs → chunk-JRU2VXUU.mjs} +1 -1
  36. package/dist-lib/esm-chunks/{chunk-YOD53JTM.mjs → chunk-JVEJLPJC.mjs} +2 -2
  37. package/dist-lib/esm-chunks/{chunk-AV7G5PTE.mjs → chunk-KA4AQDVF.mjs} +1 -1
  38. package/dist-lib/esm-chunks/{chunk-HKPKCJI5.mjs → chunk-LJYNZ5HM.mjs} +1 -1
  39. package/dist-lib/esm-chunks/{chunk-LMWSFXYN.mjs → chunk-M2FEKSK3.mjs} +1 -1
  40. package/dist-lib/esm-chunks/{chunk-N4ZJZUCO.mjs → chunk-OCCZJOSA.mjs} +1 -1
  41. package/dist-lib/esm-chunks/{chunk-LD7Z3NDO.mjs → chunk-P542MMIN.mjs} +1 -1
  42. package/dist-lib/esm-chunks/{chunk-OLAYY7SG.mjs → chunk-Q5NI4L3Z.mjs} +1 -1
  43. package/dist-lib/esm-chunks/{chunk-QZ5HTMWV.mjs → chunk-R4FFTWPL.mjs} +1 -1
  44. package/dist-lib/esm-chunks/{chunk-A2WMBGJO.mjs → chunk-RJWEWNAJ.mjs} +3 -3
  45. package/dist-lib/esm-chunks/{chunk-T7C6Z5UH.mjs → chunk-RXXCTHJG.mjs} +1 -1
  46. package/dist-lib/esm-chunks/{chunk-LT533AHJ.mjs → chunk-SRIRVPNX.mjs} +1 -1
  47. package/dist-lib/esm-chunks/{chunk-XONCLAVA.mjs → chunk-ULHG6CND.mjs} +21 -13
  48. package/dist-lib/esm-chunks/{chunk-2YHIYKY2.mjs → chunk-W4HQINQ6.mjs} +4 -4
  49. package/dist-lib/esm-chunks/{chunk-EFQFJ7M6.mjs → chunk-XQBHCWS4.mjs} +1 -1
  50. package/dist-lib/esm-chunks/{chunk-VH4BJS5V.mjs → chunk-Z6AH6AQC.mjs} +1 -1
  51. package/dist-lib/esm-chunks/{metro-layout-parser-MDVTDJ65.mjs → metro-layout-parser-GJHR7FCR.mjs} +3 -3
  52. package/dist-lib/esm-chunks/{swift-package-prebuilt-ZN7I4FYC.mjs → swift-package-prebuilt-UVRGKTD4.mjs} +12 -12
  53. package/dist-lib/esm-chunks/{swift-sdk-app-module-DUVE2OXH.mjs → swift-sdk-app-module-U3MUJ7QD.mjs} +16 -16
  54. package/dist-lib/esm-chunks/{swift-sdk-image-YSWQBCYV.mjs → swift-sdk-image-U4W7QMAT.mjs} +16 -18
  55. package/dist-lib/esm-chunks/{swift-sdk-image-producer-MZ235WSK.mjs → swift-sdk-image-producer-TFFZDNRK.mjs} +5 -5
  56. package/dist-lib/expo-swift-bundle.cjs +240 -225
  57. package/dist-lib/expo-swift-metadata.cjs +1 -1
  58. package/dist-lib/expo-swift-metadata.mjs +7 -7
  59. package/dist-lib/home-paths.cjs +1 -1
  60. package/dist-lib/host/bridge-host.cjs +343 -328
  61. package/dist-lib/host/fetch-proxy-handler.cjs +7 -6
  62. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  63. package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
  64. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  65. package/dist-lib/host/websocket-proxy.cjs +1 -1
  66. package/dist-lib/index.cjs +1 -1
  67. package/dist-lib/kotlin-host.cjs +1 -1
  68. package/dist-lib/menu.cjs +1 -1
  69. package/dist-lib/menu.mjs +3 -3
  70. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  71. package/dist-lib/metro-fingerprint-registry.mjs +3 -3
  72. package/dist-lib/metro-production-bundle.cjs +1 -1
  73. package/dist-lib/metro-production-bundle.mjs +4 -4
  74. package/dist-lib/native-app-identity-project.cjs +4 -3
  75. package/dist-lib/native-app-identity-project.mjs +15 -15
  76. package/dist-lib/native-app-identity.cjs +1 -1
  77. package/dist-lib/native-app-identity.mjs +6 -6
  78. package/dist-lib/native-firebase-metadata.cjs +1 -1
  79. package/dist-lib/native-firebase-metadata.mjs +3 -3
  80. package/dist-lib/pdfium-raster.cjs +1 -1
  81. package/dist-lib/pdfium-raster.mjs +2 -2
  82. package/dist-lib/plist.cjs +1 -1
  83. package/dist-lib/plist.mjs +3 -3
  84. package/dist-lib/profiles.cjs +1 -1
  85. package/dist-lib/public-brand.cjs +1 -1
  86. package/dist-lib/public-origins-lib-esm.json +87 -86
  87. package/dist-lib/public-origins-lib.json +69 -64
  88. package/dist-lib/react-native-host-modules.cjs +1 -1
  89. package/dist-lib/react-native-host-modules.mjs +2 -2
  90. package/dist-lib/reap-browser.cjs +1 -1
  91. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  92. package/dist-lib/sdk.cjs +1 -1
  93. package/dist-lib/sdk.mjs +8 -8
  94. package/dist-lib/skills.cjs +380 -365
  95. package/dist-lib/swift-compile.cjs +75 -61
  96. package/dist-lib/swift-compile.mjs +12 -12
  97. package/dist-lib/swift-package.cjs +1 -1
  98. package/dist-lib/swift-package.mjs +3 -3
  99. package/dist-lib/swift-submit.cjs +1 -1
  100. package/dist-lib/swift-submit.mjs +6 -6
  101. package/dist-lib/swift-svg-raster.cjs +1 -1
  102. package/dist-lib/swift-svg-raster.mjs +2 -2
  103. package/dist-lib/swift-toolchain.cjs +1 -1
  104. package/dist-lib/swift.cjs +1 -1
  105. package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
  106. package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
  107. package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
  108. package/dist-lib/vendor/acorn.cjs +1 -1
  109. package/dist-lib/vendor/magic-string.cjs +1 -1
  110. package/dist-lib/vendor/stream-json.cjs +1 -1
  111. package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
  112. package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
  113. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
  114. package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
  115. package/dist-lib/vendor/sucrase.cjs +1 -1
  116. package/dist-lib/vendor/terser.cjs +1 -1
  117. package/dist-lib/vendor/valibot.cjs +1 -1
  118. package/dist-lib/vendor/ws.cjs +1 -1
  119. package/dist-lib/vendor/zod.cjs +1 -1
  120. package/dist-lib/worklet-executable.cjs +1 -1
  121. package/dist-lib/worklet-executable.mjs +3 -3
  122. package/package.json +1 -1
  123. package/src/swift-distribution-contract.ts +6 -1
  124. package/src/swift-distribution.lock.json +4 -2
  125. package/src/swift-sdk-image-recipe.ts +20 -0
  126. package/src/swift-sdk-image.ts +2 -4
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2624 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2625 | (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;
@@ -17999,13 +17999,13 @@ var init_swift_standin_digest = __esm({
17999
17999
  ];
18000
18000
  RUNTIME_IMPORT = /(?:^|[;\n])[ \t]*(?:import|export)\s+(?!type(?:\s|\{))([\s\S]*?)\s+from\s*['"]([^'"]+)['"]|(?:^|[;\n])[ \t]*import\s+['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
18001
18001
  standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS, STANDIN_DIGEST_EXCLUDED_FILES);
18002
- STANDIN_SOURCE_DIGEST = true ? "7f9a1a548c5ea58c56b73bfc2a755a05031acbd1b10c1c79dc32b1d6c9bea9e4" : standinSourceDigest();
18002
+ STANDIN_SOURCE_DIGEST = true ? "c87e0b7f1ae69b2a4e76611266612d6218f81a3244e592800c02f78c4f8e48f6" : standinSourceDigest();
18003
18003
  }
18004
18004
  });
18005
18005
 
18006
18006
  // src/expo-native-compiler-digest.ts
18007
18007
  function expoNativeCompilerDigestValue() {
18008
- return true ? "ee97927d0c41fd6dd7d1290da2bbe36d7c9ec0fe81e3d5a7aa101cd4d446e5ab" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
18008
+ return true ? "a46618eade53d31c53a3c6377fc86635c03dbcfedd5e131d38b77d9fcc366623" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
18009
18009
  }
18010
18010
  var import_node_crypto17;
18011
18011
  var init_expo_native_compiler_digest = __esm({
@@ -22205,12 +22205,13 @@ function parseSwiftDistributionLock(value) {
22205
22205
  if (runtime === void 0) return void 0;
22206
22206
  if (!isRecord(runtime) || typeof runtime.source !== "string" || !/^[a-f0-9]{64}$/.test(runtime.source) || typeof runtime.url !== "string" || !/^https:\/\/[a-z0-9.-]+(?::\d+)?\/compile\/asset\/[a-f0-9]{64}$/.test(
22207
22207
  runtime.url
22208
- ) || runtime.dataPlan !== void 0 && (typeof runtime.dataPlan !== "string" || !/^[a-f0-9]{64}$/.test(runtime.dataPlan)))
22208
+ ) || runtime.dataPlan !== void 0 && (typeof runtime.dataPlan !== "string" || !/^[a-f0-9]{64}$/.test(runtime.dataPlan)) || runtime.recipe !== void 0 && (typeof runtime.recipe !== "string" || !/^[a-f0-9]{16}$/.test(runtime.recipe)))
22209
22209
  throw new Error("invalid shared SDK runtime publication in Swift distribution lock");
22210
22210
  return {
22211
22211
  source: runtime.source,
22212
22212
  url: runtime.url,
22213
- ...runtime.dataPlan && { dataPlan: runtime.dataPlan }
22213
+ ...runtime.dataPlan && { dataPlan: runtime.dataPlan },
22214
+ ...runtime.recipe && { recipe: runtime.recipe }
22214
22215
  };
22215
22216
  };
22216
22217
  const sdkRuntime = publication(value.sdkRuntime);
@@ -37996,6 +37997,21 @@ var init_swift_root_lock = __esm({
37996
37997
  }
37997
37998
  });
37998
37999
 
38000
+ // src/swift-sdk-image-recipe.ts
38001
+ var import_node_crypto37, SWIFT_SDK_IMAGE_VERSION, swiftSdkImageScope, SWIFT_SDK_IMAGE_RECIPE;
38002
+ var init_swift_sdk_image_recipe = __esm({
38003
+ "src/swift-sdk-image-recipe.ts"() {
38004
+ "use strict";
38005
+ import_node_crypto37 = require("node:crypto");
38006
+ init_wasm_optimize();
38007
+ SWIFT_SDK_IMAGE_VERSION = 13;
38008
+ swiftSdkImageScope = (scopedLookups) => scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n";
38009
+ SWIFT_SDK_IMAGE_RECIPE = (0, import_node_crypto37.createHash)("sha256").update(`swift-sdk-image
38010
+ ${SWIFT_SDK_IMAGE_VERSION}
38011
+ `).update(WASM_LOWER_IDENTITY).update(swiftSdkImageScope(false)).update(swiftSdkImageScope(true)).digest("hex").slice(0, 16);
38012
+ }
38013
+ });
38014
+
37999
38015
  // src/swift-sdk-image-producer.ts
38000
38016
  var swift_sdk_image_producer_exports = {};
38001
38017
  __export(swift_sdk_image_producer_exports, {
@@ -38036,7 +38052,7 @@ function applySwiftSdkProducerEnvironment(environment) {
38036
38052
  }
38037
38053
  }
38038
38054
  function writeSwiftSdkProducerResult(file, launchId, error) {
38039
- const temporary = `${file}.${(0, import_node_crypto37.randomUUID)()}`;
38055
+ const temporary = `${file}.${(0, import_node_crypto38.randomUUID)()}`;
38040
38056
  (0, import_node_fs59.writeFileSync)(temporary, JSON.stringify({ launchId, error: error ?? null }));
38041
38057
  (0, import_node_fs59.renameSync)(temporary, file);
38042
38058
  }
@@ -38148,7 +38164,7 @@ async function produceSwiftSdkImage(input) {
38148
38164
  }
38149
38165
  }
38150
38166
  const repo = import_node_path57.default.resolve(input.moduleRoot, "../..");
38151
- const launchId = (0, import_node_crypto37.randomUUID)();
38167
+ const launchId = (0, import_node_crypto38.randomUUID)();
38152
38168
  const directory3 = import_node_path57.default.join(root, launchId);
38153
38169
  const requestFile = import_node_path57.default.join(directory3, "request.json");
38154
38170
  const sessionFile2 = import_node_path57.default.join(directory3, "session");
@@ -38246,12 +38262,12 @@ async function produceSwiftSdkImage(input) {
38246
38262
  await (0, import_promises6.setTimeout)(2e3, void 0, { signal: input.signal });
38247
38263
  }
38248
38264
  }
38249
- var import_node_child_process33, import_node_crypto37, import_node_fs59, import_node_path57, import_promises6, import_node_util9, run3, environmentNames, launcher;
38265
+ var import_node_child_process33, import_node_crypto38, import_node_fs59, import_node_path57, import_promises6, import_node_util9, run3, environmentNames, launcher;
38250
38266
  var init_swift_sdk_image_producer = __esm({
38251
38267
  "src/swift-sdk-image-producer.ts"() {
38252
38268
  "use strict";
38253
38269
  import_node_child_process33 = require("node:child_process");
38254
- import_node_crypto37 = require("node:crypto");
38270
+ import_node_crypto38 = require("node:crypto");
38255
38271
  import_node_fs59 = require("node:fs");
38256
38272
  import_node_path57 = __toESM(require("node:path"), 1);
38257
38273
  import_promises6 = require("node:timers/promises");
@@ -38291,7 +38307,6 @@ __export(swift_sdk_image_exports, {
38291
38307
  SWIFT_SDK_APP_TABLE_BASE: () => SWIFT_SDK_APP_TABLE_BASE,
38292
38308
  SWIFT_SDK_IMAGE_BUNDLE: () => SWIFT_SDK_IMAGE_BUNDLE,
38293
38309
  SWIFT_SDK_IMAGE_FILES: () => SWIFT_SDK_IMAGE_FILES,
38294
- SWIFT_SDK_IMAGE_VERSION: () => SWIFT_SDK_IMAGE_VERSION,
38295
38310
  SWIFT_SDK_MEMORY_BASE: () => SWIFT_SDK_MEMORY_BASE,
38296
38311
  SWIFT_SDK_PIECE_FIELDS: () => SWIFT_SDK_PIECE_FIELDS,
38297
38312
  buildSwiftSdkImage: () => buildSwiftSdkImage,
@@ -38326,9 +38341,9 @@ function swiftSdkImageProducts(moduleRoot, frameworkImports2) {
38326
38341
  function swiftSdkImageKey(moduleRoot, scopedLookups = false, products = []) {
38327
38342
  const distribution = swiftDistributionAt(moduleRoot);
38328
38343
  const inputs2 = distribution ? swiftSdkDistributionInputs(distribution) : swiftModuleDigest(moduleRoot);
38329
- return (0, import_node_crypto38.createHash)("sha256").update(`swift-sdk-image
38344
+ return (0, import_node_crypto39.createHash)("sha256").update(`swift-sdk-image
38330
38345
  ${SWIFT_SDK_IMAGE_VERSION}
38331
- `).update(WASM_LOWER_IDENTITY).update(KEEP_WASM_NAMES ? "\nnames\n" : "\n").update(scopedLookups ? "guest image scopes 9\n" : "unscoped constructor order 1\n").update(inputs2).update(products.length === 0 ? "" : `
38346
+ `).update(WASM_LOWER_IDENTITY).update(KEEP_WASM_NAMES ? "\nnames\n" : "\n").update(swiftSdkImageScope(scopedLookups)).update(inputs2).update(products.length === 0 ? "" : `
38332
38347
  products ${products.join(" ")}`).digest("hex").slice(0, 32);
38333
38348
  }
38334
38349
  function swiftSdkImageEntry(key2, scopedLookups) {
@@ -38417,7 +38432,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
38417
38432
  stage
38418
38433
  ]);
38419
38434
  const image = cached(stage, key2);
38420
- if (!image || (0, import_node_crypto38.createHash)("sha256").update((0, import_node_fs60.readFileSync)(image.image)).digest("hex") !== image.sha256)
38435
+ if (!image || (0, import_node_crypto39.createHash)("sha256").update((0, import_node_fs60.readFileSync)(image.image)).digest("hex") !== image.sha256)
38421
38436
  throw new Error(`invalid published Swift SDK image ${key2}`);
38422
38437
  (0, import_node_fs60.rmSync)(directory2, { recursive: true, force: true });
38423
38438
  (0, import_node_fs60.renameSync)(stage, directory2);
@@ -38687,7 +38702,7 @@ async function linkSwiftSdkImage(moduleRoot, key2, directory2, work, scopedLooku
38687
38702
  (0, import_node_fs60.writeFileSync)(import_node_path58.default.join(work, INTERFACE_FILE), JSON.stringify(sdkInterface));
38688
38703
  (0, import_node_fs60.writeFileSync)(
38689
38704
  import_node_path58.default.join(work, IMAGE_DIGEST),
38690
- typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(image).digest("hex") : (0, import_node_crypto38.createHash)("sha256").update(image).digest("hex")
38705
+ typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(image).digest("hex") : (0, import_node_crypto39.createHash)("sha256").update(image).digest("hex")
38691
38706
  );
38692
38707
  if (swiftSdkImageKey(
38693
38708
  moduleRoot,
@@ -38956,12 +38971,12 @@ function readSwiftSdkManifest(image) {
38956
38971
  }));
38957
38972
  return setBoundedCache(cachedSdkManifests, cacheKey, { manifest, block: block2, segments });
38958
38973
  }
38959
- var import_node_child_process34, import_node_crypto38, import_node_fs60, import_node_path58, import_node_util10, run4, SWIFT_SDK_IMAGE_VERSION, SWIFT_SDK_APP_MEMORY_BASE, SWIFT_SDK_MEMORY_BASE, SWIFT_SDK_APP_TABLE_BASE, EMPTY_APP, IMAGE_TABLES, IMAGE_ENTRY, imageApp, IMAGE_FILE, IMAGE_DIGEST, swiftSdkImageFile, INTERFACE_FILE, MANIFEST_FILE, MANIFEST_DATA_FILE, SWIFT_SDK_IMAGE_FILES, SWIFT_SDK_IMAGE_BUNDLE, MAX_CACHED_SDK_IMAGES, cachedSdkInterfaces, cachedSdkManifestIndices, cachedSdkManifests, SWIFT_SDK_PIECE_FIELDS, MANIFEST_BLOCKS, isManifestBlock;
38974
+ var import_node_child_process34, import_node_crypto39, import_node_fs60, import_node_path58, import_node_util10, run4, SWIFT_SDK_APP_MEMORY_BASE, SWIFT_SDK_MEMORY_BASE, SWIFT_SDK_APP_TABLE_BASE, EMPTY_APP, IMAGE_TABLES, IMAGE_ENTRY, imageApp, IMAGE_FILE, IMAGE_DIGEST, swiftSdkImageFile, INTERFACE_FILE, MANIFEST_FILE, MANIFEST_DATA_FILE, SWIFT_SDK_IMAGE_FILES, SWIFT_SDK_IMAGE_BUNDLE, MAX_CACHED_SDK_IMAGES, cachedSdkInterfaces, cachedSdkManifestIndices, cachedSdkManifests, SWIFT_SDK_PIECE_FIELDS, MANIFEST_BLOCKS, isManifestBlock;
38960
38975
  var init_swift_sdk_image = __esm({
38961
38976
  "src/swift-sdk-image.ts"() {
38962
38977
  "use strict";
38963
38978
  import_node_child_process34 = require("node:child_process");
38964
- import_node_crypto38 = require("node:crypto");
38979
+ import_node_crypto39 = require("node:crypto");
38965
38980
  import_node_fs60 = require("node:fs");
38966
38981
  import_node_path58 = __toESM(require("node:path"), 1);
38967
38982
  import_node_util10 = require("node:util");
@@ -38973,13 +38988,13 @@ var init_swift_sdk_image = __esm({
38973
38988
  init_swift_root_lock();
38974
38989
  init_swift_sdk_guest_lookups();
38975
38990
  init_swift_sdk_image_map();
38991
+ init_swift_sdk_image_recipe();
38976
38992
  init_swift_sdk_image_wasm();
38977
38993
  init_swift_toolchain();
38978
38994
  init_swift_wasm_prune();
38979
38995
  init_swiftTargetContract();
38980
38996
  init_wasm_optimize();
38981
38997
  run4 = (0, import_node_util10.promisify)(import_node_child_process34.execFile);
38982
- SWIFT_SDK_IMAGE_VERSION = 13;
38983
38998
  SWIFT_SDK_APP_MEMORY_BASE = 8372224;
38984
38999
  SWIFT_SDK_MEMORY_BASE = 128 * 1024 * 1024;
38985
39000
  SWIFT_SDK_APP_TABLE_BASE = 524288;
@@ -39505,7 +39520,7 @@ async function linkSwiftAppModule(options2) {
39505
39520
  lazy,
39506
39521
  KEEP_WASM_NAMES
39507
39522
  ])
39508
- ).update(bytes).digest("hex") : (0, import_node_crypto39.createHash)("sha256").update(
39523
+ ).update(bytes).digest("hex") : (0, import_node_crypto40.createHash)("sha256").update(
39509
39524
  JSON.stringify([
39510
39525
  loweringCache.compilerDigest,
39511
39526
  optimize,
@@ -40124,7 +40139,7 @@ function createSwiftSdkBinding(linkage, sdk2, usage, projection) {
40124
40139
  bindSwiftAppModule(linkage, sdk2),
40125
40140
  selectSwiftSdkData(sdk2, usage, linkage, projection)
40126
40141
  ]);
40127
- const sha2565 = typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(bytes).digest("hex") : (0, import_node_crypto39.createHash)("sha256").update(bytes).digest("hex");
40142
+ const sha2565 = typeof Bun !== "undefined" ? new Bun.CryptoHasher("sha256").update(bytes).digest("hex") : (0, import_node_crypto40.createHash)("sha256").update(bytes).digest("hex");
40128
40143
  return { bytes, sha256: sha2565 };
40129
40144
  }
40130
40145
  function readSwiftSdkUsage(mapFile, linkedFile, sdkObjects) {
@@ -40671,12 +40686,12 @@ function partitionParent(section2) {
40671
40686
  "__objc_class_refs"
40672
40687
  ].find((name3) => section2 === name3 || section2.startsWith(`${name3}.`));
40673
40688
  }
40674
- var import_node_child_process35, import_node_crypto39, import_node_fs61, import_node_path59, import_node_util11, import_node_zlib4, run5, RELOCATION_WIDTHS, GLOBAL_INDEX, TLS_SLEB64, SDK_TLS_HELPER, SDK_TLS_DELTA, OBJC_SECTION_BOUNDARY, uleb4, sleb2, encodedName2, SCANNED, RUN_GAP;
40689
+ var import_node_child_process35, import_node_crypto40, import_node_fs61, import_node_path59, import_node_util11, import_node_zlib4, run5, RELOCATION_WIDTHS, GLOBAL_INDEX, TLS_SLEB64, SDK_TLS_HELPER, SDK_TLS_DELTA, OBJC_SECTION_BOUNDARY, uleb4, sleb2, encodedName2, SCANNED, RUN_GAP;
40675
40690
  var init_swift_sdk_app_module = __esm({
40676
40691
  "src/swift-sdk-app-module.ts"() {
40677
40692
  "use strict";
40678
40693
  import_node_child_process35 = require("node:child_process");
40679
- import_node_crypto39 = require("node:crypto");
40694
+ import_node_crypto40 = require("node:crypto");
40680
40695
  import_node_fs61 = require("node:fs");
40681
40696
  import_node_path59 = __toESM(require("node:path"), 1);
40682
40697
  import_node_util11 = require("node:util");
@@ -41382,7 +41397,7 @@ function compilerCheckpoint(root, recipe2, args, header) {
41382
41397
  }
41383
41398
  if (!objects.length) return;
41384
41399
  const outputs = [module2, header, map2[""].dependencies, ...objects];
41385
- const digest2 = (0, import_node_crypto40.createHash)("sha256").update(recipe2).update(JSON.stringify(args)).update(mapText);
41400
+ const digest2 = (0, import_node_crypto41.createHash)("sha256").update(recipe2).update(JSON.stringify(args)).update(mapText);
41386
41401
  for (const flag of args) {
41387
41402
  if (!flag.startsWith("@")) continue;
41388
41403
  const response = flag.slice(1);
@@ -41476,11 +41491,11 @@ async function withSwiftHeaderCompiler(root, toolchainBin, recipe2, producers, b
41476
41491
  (0, import_node_fs63.rmSync)(directory2, { recursive: true, force: true });
41477
41492
  }
41478
41493
  }
41479
- var import_node_crypto40, import_node_fs63, import_node_http, import_node_path61, SWIFT_HEADER_COMPILER_WRAPPER, argument, client;
41494
+ var import_node_crypto41, import_node_fs63, import_node_http, import_node_path61, SWIFT_HEADER_COMPILER_WRAPPER, argument, client;
41480
41495
  var init_swift_header_compiler = __esm({
41481
41496
  "src/swift-header-compiler.ts"() {
41482
41497
  "use strict";
41483
- import_node_crypto40 = require("node:crypto");
41498
+ import_node_crypto41 = require("node:crypto");
41484
41499
  import_node_fs63 = require("node:fs");
41485
41500
  import_node_http = require("node:http");
41486
41501
  import_node_path61 = __toESM(require("node:path"), 1);
@@ -41763,7 +41778,7 @@ function swiftIcuAsset(toolchainBin, sdk2) {
41763
41778
  JSON.stringify([toolchainBin, sdk2, swiftSdkOptions()]),
41764
41779
  async () => {
41765
41780
  const zipped = await deflate(await swiftIcuData(toolchainBin, sdk2));
41766
- return { sha256: (0, import_node_crypto41.createHash)("sha256").update(zipped).digest("hex"), gzip: zipped };
41781
+ return { sha256: (0, import_node_crypto42.createHash)("sha256").update(zipped).digest("hex"), gzip: zipped };
41767
41782
  }
41768
41783
  );
41769
41784
  }
@@ -41865,7 +41880,7 @@ function swiftIcuPacked(icu) {
41865
41880
  )
41866
41881
  );
41867
41882
  await (0, import_promises7.mkdir)(import_node_path63.default.dirname(file), { recursive: true });
41868
- const tmp = `${file}.${(0, import_node_crypto41.randomUUID)()}.tmp`;
41883
+ const tmp = `${file}.${(0, import_node_crypto42.randomUUID)()}.tmp`;
41869
41884
  await (0, import_promises7.writeFile)(tmp, packed);
41870
41885
  await (0, import_promises7.rename)(tmp, file);
41871
41886
  return packed;
@@ -41878,12 +41893,12 @@ async function swiftIcuBundleAsset(icu) {
41878
41893
  contentType: "application/octet-stream"
41879
41894
  };
41880
41895
  }
41881
- var import_node_child_process37, import_node_crypto41, import_node_fs64, import_promises7, import_node_os14, import_node_path63, import_node_util12, import_node_zlib5, run6, deflate, compressBrotli, inflateGzip, ARCHIVE, MEMBER, raw, assets, packedFiles;
41896
+ var import_node_child_process37, import_node_crypto42, import_node_fs64, import_promises7, import_node_os14, import_node_path63, import_node_util12, import_node_zlib5, run6, deflate, compressBrotli, inflateGzip, ARCHIVE, MEMBER, raw, assets, packedFiles;
41882
41897
  var init_swift_icu = __esm({
41883
41898
  "src/swift-icu.ts"() {
41884
41899
  "use strict";
41885
41900
  import_node_child_process37 = require("node:child_process");
41886
- import_node_crypto41 = require("node:crypto");
41901
+ import_node_crypto42 = require("node:crypto");
41887
41902
  import_node_fs64 = require("node:fs");
41888
41903
  import_promises7 = require("node:fs/promises");
41889
41904
  import_node_os14 = __toESM(require("node:os"), 1);
@@ -42135,7 +42150,7 @@ function swiftObjCPrebuiltCompiler(clang, root, sysroot, distribution, targets,
42135
42150
  );
42136
42151
  if (!modules.length) return [];
42137
42152
  const { executable, prefixArgs } = rnxSelfInvocation();
42138
- const compiler = (0, import_node_crypto42.createHash)("sha256").update(import_node_fs66.default.readFileSync(clang)).digest("hex");
42153
+ const compiler = (0, import_node_crypto43.createHash)("sha256").update(import_node_fs66.default.readFileSync(clang)).digest("hex");
42139
42154
  return [
42140
42155
  'case "$module" in',
42141
42156
  ` ${modules.join("|")}) exec ${[
@@ -42153,12 +42168,12 @@ function swiftObjCPrebuiltCompiler(clang, root, sysroot, distribution, targets,
42153
42168
  "esac"
42154
42169
  ];
42155
42170
  }
42156
- var import_node_child_process39, import_node_crypto42, import_node_fs66, import_node_path65, quote2;
42171
+ var import_node_child_process39, import_node_crypto43, import_node_fs66, import_node_path65, quote2;
42157
42172
  var init_swift_objc_prebuilt = __esm({
42158
42173
  "src/swift-objc-prebuilt.ts"() {
42159
42174
  "use strict";
42160
42175
  import_node_child_process39 = require("node:child_process");
42161
- import_node_crypto42 = require("node:crypto");
42176
+ import_node_crypto43 = require("node:crypto");
42162
42177
  import_node_fs66 = __toESM(require("node:fs"), 1);
42163
42178
  import_node_path65 = __toESM(require("node:path"), 1);
42164
42179
  init_internal_child_contract();
@@ -42511,7 +42526,7 @@ function swiftPackagePrebuiltEntries(input, moduleRoot, toolchainBin) {
42511
42526
  ([file, source]) => !/\.(?:swift|c|h|inc|modulemap)$/.test(file) || file.endsWith(".swift") && swiftImportNames(source, available2).some((name4) => !available2.has(name4))
42512
42527
  ))
42513
42528
  return [];
42514
- const hash = (0, import_node_crypto43.createHash)("sha256");
42529
+ const hash = (0, import_node_crypto44.createHash)("sha256");
42515
42530
  for (const entry of files2.sort(
42516
42531
  ([left], [right]) => left < right ? -1 : left > right ? 1 : 0
42517
42532
  ))
@@ -42578,11 +42593,11 @@ function useSwiftPackagePrebuilts(input, moduleRoot, toolchainBin) {
42578
42593
  }
42579
42594
  return resolved;
42580
42595
  }
42581
- var import_node_crypto43, import_node_fs69, import_node_path69, PACKAGE_RECIPE;
42596
+ var import_node_crypto44, import_node_fs69, import_node_path69, PACKAGE_RECIPE;
42582
42597
  var init_swift_package_prebuilt = __esm({
42583
42598
  "src/swift-package-prebuilt.ts"() {
42584
42599
  "use strict";
42585
- import_node_crypto43 = require("node:crypto");
42600
+ import_node_crypto44 = require("node:crypto");
42586
42601
  import_node_fs69 = __toESM(require("node:fs"), 1);
42587
42602
  import_node_path69 = __toESM(require("node:path"), 1);
42588
42603
  init_native_prebuilt();
@@ -42742,7 +42757,7 @@ function swiftObjCSelectorOptions(moduleRoot) {
42742
42757
  `;
42743
42758
  if (!(0, import_node_fs70.existsSync)(map2) || (0, import_node_fs70.readFileSync)(map2, "utf8") !== content) {
42744
42759
  (0, import_node_fs70.mkdirSync)(import_node_path70.default.dirname(map2), { recursive: true });
42745
- const partial = `${map2}.${(0, import_node_crypto44.randomUUID)()}`;
42760
+ const partial = `${map2}.${(0, import_node_crypto45.randomUUID)()}`;
42746
42761
  (0, import_node_fs70.writeFileSync)(partial, content);
42747
42762
  (0, import_node_fs70.renameSync)(partial, map2);
42748
42763
  }
@@ -42770,7 +42785,7 @@ async function ensureMacroPlugins(moduleRoot, toolchainBin, release, signal, lea
42770
42785
  return { libraries, executables };
42771
42786
  }
42772
42787
  function swiftProjectBuildKey(moduleRoot, release) {
42773
- return (0, import_node_crypto44.createHash)("sha256").update(`swift-framework/v2\0${release}\0${swiftModuleSdk(moduleRoot).wasmSdkId}`).update(swiftModuleDigest(moduleRoot)).digest("hex").slice(0, 32);
42788
+ return (0, import_node_crypto45.createHash)("sha256").update(`swift-framework/v2\0${release}\0${swiftModuleSdk(moduleRoot).wasmSdkId}`).update(swiftModuleDigest(moduleRoot)).digest("hex").slice(0, 32);
42774
42789
  }
42775
42790
  function sameStringList(left, right) {
42776
42791
  if (left === right) return true;
@@ -43018,7 +43033,7 @@ function distributionClangModuleOptions(root, modules) {
43018
43033
  function providedModulesPath(root, modules, excluded) {
43019
43034
  if (!excluded || excluded.size === 0) return modules;
43020
43035
  const entries2 = (0, import_node_fs70.readdirSync)(modules).filter((entry) => !excluded.has(entry.replace(/\..*$/, ""))).sort();
43021
- const key2 = (0, import_node_crypto44.createHash)("sha256").update(JSON.stringify([modules, entries2])).update([...excluded].sort().join("\0")).digest("hex").slice(0, 16);
43036
+ const key2 = (0, import_node_crypto45.createHash)("sha256").update(JSON.stringify([modules, entries2])).update([...excluded].sort().join("\0")).digest("hex").slice(0, 16);
43022
43037
  const directory2 = import_node_path70.default.join(root, `.peach-modules-${key2}`);
43023
43038
  const complete = import_node_path70.default.join(directory2, ".complete");
43024
43039
  if (!(0, import_node_fs70.existsSync)(complete)) {
@@ -43100,10 +43115,10 @@ function swiftTargetDependencies(files2, targets, frameworks = OPTIONAL_FRAMEWOR
43100
43115
  function sha256Digest(value) {
43101
43116
  if (typeof Bun !== "undefined")
43102
43117
  return new Bun.CryptoHasher("sha256").update(value).digest();
43103
- return (0, import_node_crypto44.createHash)("sha256").update(value).digest();
43118
+ return (0, import_node_crypto45.createHash)("sha256").update(value).digest();
43104
43119
  }
43105
43120
  function swiftCompileInputHash(input, release) {
43106
- const hash = (0, import_node_crypto44.createHash)("sha256");
43121
+ const hash = (0, import_node_crypto45.createHash)("sha256");
43107
43122
  hash.update(`swift-compile
43108
43123
  ${release}
43109
43124
  `);
@@ -43310,7 +43325,7 @@ function emitSwiftPackageManifest(args) {
43310
43325
  ].join("\n") + "\n";
43311
43326
  distributionLinkPath = distributionLink.path.replace(
43312
43327
  /\.rsp$/,
43313
- `-${(0, import_node_crypto44.createHash)("sha256").update(list2).digest("hex").slice(0, 12)}.rsp`
43328
+ `-${(0, import_node_crypto45.createHash)("sha256").update(list2).digest("hex").slice(0, 12)}.rsp`
43314
43329
  );
43315
43330
  distributionLink.files.set(distributionLinkPath, list2);
43316
43331
  }
@@ -43331,7 +43346,7 @@ function emitSwiftPackageManifest(args) {
43331
43346
  const endRun = () => {
43332
43347
  if (run12.length >= MODULE_MAP_RESPONSE_FILE_RUN) {
43333
43348
  const lines = run12.map((flag) => JSON.stringify(flag)).join("\n") + "\n";
43334
- const digest3 = (0, import_node_crypto44.createHash)("sha256").update(lines).digest("hex");
43349
+ const digest3 = (0, import_node_crypto45.createHash)("sha256").update(lines).digest("hex");
43335
43350
  const file2 = import_node_path70.default.join(args.root, ".peach-clang-arguments", `${digest3}.rsp`);
43336
43351
  args.files.set(file2, lines);
43337
43352
  flags.push(`@${file2}`);
@@ -43355,7 +43370,7 @@ function emitSwiftPackageManifest(args) {
43355
43370
  }
43356
43371
  endRun();
43357
43372
  const content = JSON.stringify(flags);
43358
- const digest2 = (0, import_node_crypto44.createHash)("sha256").update(content).digest("hex");
43373
+ const digest2 = (0, import_node_crypto45.createHash)("sha256").update(content).digest("hex");
43359
43374
  const file = import_node_path70.default.join(args.root, ".peach-manifest-arguments", `${digest2}.json`);
43360
43375
  args.files.set(file, content);
43361
43376
  return `peachCompilerArguments(${JSON.stringify(file)})`;
@@ -43367,7 +43382,7 @@ function emitSwiftPackageManifest(args) {
43367
43382
  const macros = compactSwiftClangDefines(swiftClangSearchArguments(flags));
43368
43383
  const compact = args.coalescibleOverlays ? compactSwiftClangOverlays(macros, args.coalescibleOverlays) : macros;
43369
43384
  const content = compact.map((flag) => JSON.stringify(flag)).join("\n") + "\n";
43370
- const digest2 = (0, import_node_crypto44.createHash)("sha256").update(content).digest("hex");
43385
+ const digest2 = (0, import_node_crypto45.createHash)("sha256").update(content).digest("hex");
43371
43386
  const file = import_node_path70.default.join(args.root, ".peach-swift-arguments", `${digest2}.rsp`);
43372
43387
  args.files.set(file, content);
43373
43388
  return JSON.stringify([`@${file}`]);
@@ -44956,7 +44971,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
44956
44971
  )
44957
44972
  ];
44958
44973
  const moduleFlag = perFile.some((flag) => flag.startsWith("-fmodule-name=")) ? [] : [`-fmodule-name=${swiftTargetModuleName(target.name)}`];
44959
- const identity2 = (0, import_node_crypto44.createHash)("sha256").update(
44974
+ const identity2 = (0, import_node_crypto45.createHash)("sha256").update(
44960
44975
  JSON.stringify([
44961
44976
  cxx,
44962
44977
  quoteDirs,
@@ -45319,7 +45334,7 @@ module ${moduleName}.Swift {
45319
45334
  ])
45320
45335
  (0, import_node_fs70.rmSync)(cache, { recursive: true, force: true });
45321
45336
  files2.set(frameworkSearchRecord, frameworkSearch);
45322
- const modulePlan = (0, import_node_crypto44.createHash)("sha256").update(
45337
+ const modulePlan = (0, import_node_crypto45.createHash)("sha256").update(
45323
45338
  swiftModuleInputFiles(moduleRoot).join("\n")
45324
45339
  );
45325
45340
  if (!distribution) {
@@ -45328,7 +45343,7 @@ module ${moduleName}.Swift {
45328
45343
  modulePlan.update(
45329
45344
  Object.keys(input.files).filter((file) => file.endsWith(".swift")).sort().join("\n")
45330
45345
  );
45331
- const resourcePlan = (0, import_node_crypto44.createHash)("sha256").update(
45346
+ const resourcePlan = (0, import_node_crypto45.createHash)("sha256").update(
45332
45347
  JSON.stringify(
45333
45348
  resourceTargets.filter((target) => target.resources).map((target) => [
45334
45349
  target.name,
@@ -45636,7 +45651,7 @@ ${entry}`);
45636
45651
  );
45637
45652
  for (const [target, data] of Object.entries(input.libraries ?? {})) {
45638
45653
  const bytes = Buffer.from(data, "base64");
45639
- const digest2 = (0, import_node_crypto44.createHash)("sha256").update(bytes).digest("hex");
45654
+ const digest2 = (0, import_node_crypto45.createHash)("sha256").update(bytes).digest("hex");
45640
45655
  if (input.binaryModules?.[target] && packageTargets.has(target)) {
45641
45656
  const objects = import_node_path70.default.join(
45642
45657
  layout2.root,
@@ -46288,7 +46303,7 @@ function readCompiledArtifact(directory2, hash) {
46288
46303
  return null;
46289
46304
  const bytes = (0, import_node_fs70.readFileSync)(import_node_path70.default.join(directory2, "app.wasm"));
46290
46305
  const gzip2 = (0, import_node_fs70.readFileSync)(import_node_path70.default.join(directory2, "icu.gz"));
46291
- if ((0, import_node_crypto44.createHash)("sha256").update(bytes).digest("hex") !== receipt.wasm || (0, import_node_crypto44.createHash)("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
46306
+ if ((0, import_node_crypto45.createHash)("sha256").update(bytes).digest("hex") !== receipt.wasm || (0, import_node_crypto45.createHash)("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
46292
46307
  return null;
46293
46308
  let sdk2;
46294
46309
  if ("sdk" in receipt) {
@@ -46296,7 +46311,7 @@ function readCompiledArtifact(directory2, hash) {
46296
46311
  if (!isRecord(image) || typeof image.key !== "string" || typeof image.sha256 !== "string" || typeof image.binding !== "string")
46297
46312
  return null;
46298
46313
  const binding = (0, import_node_fs70.readFileSync)(import_node_path70.default.join(directory2, "sdk-binding.bin"));
46299
- if ((0, import_node_crypto44.createHash)("sha256").update(binding).digest("hex") !== image.binding)
46314
+ if ((0, import_node_crypto45.createHash)("sha256").update(binding).digest("hex") !== image.binding)
46300
46315
  return null;
46301
46316
  sdk2 = {
46302
46317
  key: image.key,
@@ -46324,7 +46339,7 @@ function saveCompiledArtifact(root, artifact) {
46324
46339
  import_node_path70.default.join(pending, "artifact.json"),
46325
46340
  JSON.stringify({
46326
46341
  hash: artifact.hash,
46327
- wasm: (0, import_node_crypto44.createHash)("sha256").update(artifact.bytes).digest("hex"),
46342
+ wasm: (0, import_node_crypto45.createHash)("sha256").update(artifact.bytes).digest("hex"),
46328
46343
  icu: artifact.icu.sha256,
46329
46344
  sdk: artifact.sdk && {
46330
46345
  key: artifact.sdk.key,
@@ -46673,7 +46688,7 @@ async function buildFrameworkProducts(scratch2, args) {
46673
46688
  const unoptimized = args.input.unoptimized === true;
46674
46689
  const sdkOptions = swiftCompileSdkOptions(args.moduleRoot, args.toolchainBin);
46675
46690
  const selectorOptions = swiftObjCSelectorOptions(args.moduleRoot);
46676
- const receiptKey = (0, import_node_crypto44.createHash)("sha256").update(
46691
+ const receiptKey = (0, import_node_crypto45.createHash)("sha256").update(
46677
46692
  JSON.stringify([
46678
46693
  "framework-products/v2",
46679
46694
  args.frameworkKey,
@@ -46840,7 +46855,7 @@ async function buildFrameworkProducts(scratch2, args) {
46840
46855
  const archiveBase = import_node_path70.default.join(scratch2, "products-lib");
46841
46856
  (0, import_node_fs70.mkdirSync)(archiveBase, { recursive: true });
46842
46857
  const archiveRoot = import_node_path70.default.join(archiveBase, receiptKey);
46843
- const stagedArchiveRoot = `${archiveRoot}.tmp-${process.pid}-${(0, import_node_crypto44.randomUUID)()}`;
46858
+ const stagedArchiveRoot = `${archiveRoot}.tmp-${process.pid}-${(0, import_node_crypto45.randomUUID)()}`;
46844
46859
  const stagedArchive = import_node_path70.default.join(stagedArchiveRoot, "lib");
46845
46860
  (0, import_node_fs70.mkdirSync)(stagedArchive, { recursive: true });
46846
46861
  const archived = /* @__PURE__ */ new Map();
@@ -46883,7 +46898,7 @@ ${args.frameworkKey}`,
46883
46898
  const receiptsDir = import_node_path70.default.join(scratch2, "products-ready");
46884
46899
  (0, import_node_fs70.mkdirSync)(receiptsDir, { recursive: true });
46885
46900
  const receiptFile2 = import_node_path70.default.join(receiptsDir, `${receiptKey}.json`);
46886
- const partialReceipt = `${receiptFile2}.${process.pid}.${(0, import_node_crypto44.randomUUID)()}`;
46901
+ const partialReceipt = `${receiptFile2}.${process.pid}.${(0, import_node_crypto45.randomUUID)()}`;
46887
46902
  (0, import_node_fs70.writeFileSync)(
46888
46903
  partialReceipt,
46889
46904
  JSON.stringify({
@@ -47055,7 +47070,7 @@ function mirrorTree2(source, target, skip) {
47055
47070
  if (existing?.isFile() && existing.size === stat.size && (existing.mtimeMs === stat.mtimeMs || (0, import_node_fs70.readFileSync)(from).equals((0, import_node_fs70.readFileSync)(to))))
47056
47071
  continue;
47057
47072
  if (existing) (0, import_node_fs70.rmSync)(to, { recursive: true, force: true });
47058
- const partial = `${to}.${(0, import_node_crypto44.randomUUID)()}`;
47073
+ const partial = `${to}.${(0, import_node_crypto45.randomUUID)()}`;
47059
47074
  (0, import_node_fs70.copyFileSync)(from, partial);
47060
47075
  if (stat.mtimeMs > Date.now()) (0, import_node_fs70.utimesSync)(partial, stat.atime, stat.mtime);
47061
47076
  (0, import_node_fs70.renameSync)(partial, to);
@@ -47115,7 +47130,7 @@ function stageFrameworkSource(moduleRoot, slot, frameworkKey, release) {
47115
47130
  return stagedModule;
47116
47131
  }
47117
47132
  function swiftLinkStamp(args) {
47118
- const hash = (0, import_node_crypto44.createHash)("sha256");
47133
+ const hash = (0, import_node_crypto45.createHash)("sha256");
47119
47134
  hash.update(`swift-link/v1
47120
47135
  ${args.frameworkKey}
47121
47136
  `);
@@ -47243,7 +47258,7 @@ async function compileSwiftProjectOnce(sources, options2) {
47243
47258
  const inputHash = swiftCompileInputHash(input, options2.release);
47244
47259
  const moduleDigest = swiftModuleDigest(moduleRoot);
47245
47260
  const sourceHash = inputHash.copy().update(moduleDigest).digest("hex");
47246
- const hash = sdkImage ? (0, import_node_crypto44.createHash)("sha256").update(`${sourceHash}
47261
+ const hash = sdkImage ? (0, import_node_crypto45.createHash)("sha256").update(`${sourceHash}
47247
47262
  sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
47248
47263
  const frameworkKey = swiftProjectBuildKey(moduleRoot, options2.release);
47249
47264
  const sharedRoot = import_node_path70.default.join(swiftCacheDir(), "swift-projects", hash);
@@ -47340,7 +47355,7 @@ ${cap}` : "";
47340
47355
  }
47341
47356
  const baseRoot = root;
47342
47357
  const canPoolBuildRoot = !options2.intermediates && !options2.project && !options2.linkOnly && import_node_path70.default.basename(import_node_path70.default.dirname(baseRoot)) === "swift-builds";
47343
- const buildShape = canPoolBuildRoot ? (0, import_node_crypto44.createHash)("sha256").update(
47358
+ const buildShape = canPoolBuildRoot ? (0, import_node_crypto45.createHash)("sha256").update(
47344
47359
  JSON.stringify([
47345
47360
  frameworkKey,
47346
47361
  Boolean(sdkImage),
@@ -47829,17 +47844,17 @@ ${cap}` : "";
47829
47844
  }
47830
47845
  const receipt = import_node_path70.default.join(
47831
47846
  checkpoints,
47832
- (0, import_node_crypto44.createHash)("sha256").update(target).digest("hex")
47847
+ (0, import_node_crypto45.createHash)("sha256").update(target).digest("hex")
47833
47848
  );
47834
47849
  const headers = producers.map(headerPaths);
47835
47850
  for (const header of headers)
47836
47851
  if ((0, import_node_fs70.existsSync)(header.original)) publishHeader(header);
47837
47852
  const fingerprint = () => {
47838
- const digest2 = (0, import_node_crypto44.createHash)("sha256").update(recipe2);
47853
+ const digest2 = (0, import_node_crypto45.createHash)("sha256").update(recipe2);
47839
47854
  for (const { original, emitted } of headers) {
47840
47855
  if (!(0, import_node_fs70.existsSync)(original) || !(0, import_node_fs70.existsSync)(emitted)) return;
47841
47856
  digest2.update(
47842
- (0, import_node_crypto44.createHash)("sha256").update((0, import_node_fs70.readFileSync)(emitted)).digest()
47857
+ (0, import_node_crypto45.createHash)("sha256").update((0, import_node_fs70.readFileSync)(emitted)).digest()
47843
47858
  );
47844
47859
  }
47845
47860
  return digest2.digest("hex");
@@ -48052,12 +48067,12 @@ ${cap}` : "";
48052
48067
  options2.signal
48053
48068
  );
48054
48069
  }
48055
- var import_node_child_process41, import_node_crypto44, import_node_fs70, import_node_os16, import_node_path70, v6, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_COMPILER_ENV_KEYS, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, lastPartition, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, CLANG_DISTRIBUTION_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, MODULE_MAP_RESPONSE_FILE_RUN, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, cPredefineTable, cPredefineCache, HIDDEN_UNITS, FIRST_WINS_PAIRS, LAST_WINS_PAIRS, VALUE_FLAGS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, frameworkProductsReceiptSchema, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN, SWIFT_FRAMEWORK_SLOT_RELEASE, SWIFT_BUILD_ROOT_SLOTS, SWIFT_BUILD_ROOT_SHAPE;
48070
+ var import_node_child_process41, import_node_crypto45, import_node_fs70, import_node_os16, import_node_path70, v6, WASM_TRIPLE, SWIFTPM_PROGRESS, SWIFTPM_NOISE, SWIFT_COMPILER_ENV_KEYS, SYSTEM_MODULE_LIBRARIES, SYSTEM_MODULE_IMPORT, lastPartition, OPTIONAL_FRAMEWORK_DEPENDENCIES, OPTIONAL_FRAMEWORKS, availableModules, sdkOverlayFrameworks, DISTRIBUTION_CLANG_MODULES, CLANG_DISTRIBUTION_MODULES, ONE_PRODUCT, GAME_FAMILY, gameProducts, gameProduct, GAME_REACH, ONE_IMPLICIT_FLAGS, executableLinkFlags, darwinRecordsRegion, REACTOR_FLAG, MULTI_MANIFEST_VERSION, SWIFT_HEADER_PRODUCTS_TARGET, compilerSourceDigest, nativeCxxCompilerFlags, MODULE_MAP_RESPONSE_FILE_RUN, cFlagArray, cxxFlagArray, SWIFTPM_DEFAULT_IOS_DEPLOYMENT_TARGET, OS_IOS, ARCH_ARM64, NOT_ON_IOS, DELEGATE_CLASS, ARM64_MACRO, WASM_MACRO, ARCH_WASM32, C_WORDS, archEnvironments, CORE_FOUNDATION_GEOMETRY_TYPES, CORE_FOUNDATION_GRAPHICS_TYPES, CORE_FOUNDATION_HANDLE_IMPORTS, cPredefineTable, cPredefineCache, HIDDEN_UNITS, FIRST_WINS_PAIRS, LAST_WINS_PAIRS, VALUE_FLAGS, LIBXML_REFERENCE, LIBXML_SOURCE, ROOT_LOCKS, host, rootLocks, SHARED_ARTIFACT_BUDGET_BYTES, SHARED_ARTIFACT_GRACE_MS, RETIRED_PREFIX, retainedArtifacts, FRAMEWORK_LINK_TARGET, frameworkProductsReceiptSchema, SWIFT_LINK_STAMP, SWIFT_HOST_COMPILER_WRAPPER, SWIFT_FRAMEWORK_SLOTS, SWIFT_FRAMEWORK_UNOPTIMIZED_SLOTS, SWIFT_FRAMEWORK_SLOT_KEY, SWIFT_FRAMEWORK_SLOT_ORIGIN, SWIFT_FRAMEWORK_SLOT_RELEASE, SWIFT_BUILD_ROOT_SLOTS, SWIFT_BUILD_ROOT_SHAPE;
48056
48071
  var init_swift_compile = __esm({
48057
48072
  "src/swift-compile.ts"() {
48058
48073
  "use strict";
48059
48074
  import_node_child_process41 = require("node:child_process");
48060
- import_node_crypto44 = require("node:crypto");
48075
+ import_node_crypto45 = require("node:crypto");
48061
48076
  import_node_fs70 = require("node:fs");
48062
48077
  import_node_os16 = __toESM(require("node:os"), 1);
48063
48078
  import_node_path70 = __toESM(require("node:path"), 1);
@@ -48285,7 +48300,7 @@ ${wasmThreadLinkFlags.map((flag) => ` "-Xlinker", ${JSON.stringify(flag
48285
48300
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
48286
48301
  MULTI_MANIFEST_VERSION = 76;
48287
48302
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
48288
- compilerSourceDigest = true ? "ab7e385f5b9ca10737de11d59802a2b57ee084a172b96aa971acb4c26a58a573" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
48303
+ compilerSourceDigest = true ? "169122685e250113f128b79efc78f9868f581da36ab083c174056ab99b87b629" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
48289
48304
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
48290
48305
  MODULE_MAP_RESPONSE_FILE_RUN = 16;
48291
48306
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
@@ -48401,7 +48416,7 @@ async function podPrepareEnvironment(base) {
48401
48416
  if (process.platform !== "linux") return base;
48402
48417
  const { root, toolchainBin } = await resolveSwiftModule();
48403
48418
  const { sysroot, resources } = swiftSdkPaths(root, toolchainBin);
48404
- const key2 = (0, import_node_crypto45.createHash)("sha256").update(XCRUN).update(CLANG).digest("hex").slice(0, 16);
48419
+ const key2 = (0, import_node_crypto46.createHash)("sha256").update(XCRUN).update(CLANG).digest("hex").slice(0, 16);
48405
48420
  const directory2 = import_node_path71.default.join(cacheDir(), "pod-tools", key2);
48406
48421
  if (!import_node_fs71.default.existsSync(directory2)) {
48407
48422
  import_node_fs71.default.mkdirSync(import_node_path71.default.dirname(directory2), { recursive: true });
@@ -48442,11 +48457,11 @@ async function podPrepareEnvironment(base) {
48442
48457
  PEACH_POD_RESOURCES: resources
48443
48458
  };
48444
48459
  }
48445
- var import_node_crypto45, import_node_fs71, import_node_path71, XCRUN, CLANG;
48460
+ var import_node_crypto46, import_node_fs71, import_node_path71, XCRUN, CLANG;
48446
48461
  var init_pod_prepare_toolchain = __esm({
48447
48462
  "src/pod-prepare-toolchain.ts"() {
48448
48463
  "use strict";
48449
- import_node_crypto45 = require("node:crypto");
48464
+ import_node_crypto46 = require("node:crypto");
48450
48465
  import_node_fs71 = __toESM(require("node:fs"), 1);
48451
48466
  import_node_path71 = __toESM(require("node:path"), 1);
48452
48467
  init_home_paths();
@@ -48532,10 +48547,10 @@ async function podSourceRoot(spec, prepareEnv) {
48532
48547
  `${name3}: unrecognized ${strategy} source options ${unrecognized.join(", ")}`
48533
48548
  );
48534
48549
  const base = import_node_path72.default.join(rnxHomeDir(), "pod-sources");
48535
- const digest2 = (0, import_node_crypto46.createHash)("sha256").update(canonicalJson(source)).digest("hex").slice(0, 16);
48550
+ const digest2 = (0, import_node_crypto47.createHash)("sha256").update(canonicalJson(source)).digest("hex").slice(0, 16);
48536
48551
  const root = import_node_path72.default.join(base, name3, `${String(spec.version)}-${digest2}`);
48537
48552
  if (import_node_fs72.default.existsSync(root)) return root;
48538
- const stage = import_node_path72.default.join(base, ".staging", (0, import_node_crypto46.randomUUID)());
48553
+ const stage = import_node_path72.default.join(base, ".staging", (0, import_node_crypto47.randomUUID)());
48539
48554
  import_node_fs72.default.mkdirSync(stage, { recursive: true });
48540
48555
  try {
48541
48556
  if (strategy === "git") await downloadGit(name3, url, options2, stage);
@@ -48710,7 +48725,7 @@ async function downloadFile(pod, url, headers, file, algorithm) {
48710
48725
  }
48711
48726
  if (!response?.ok || !response.body)
48712
48727
  throw new Error(`${pod}: GET ${url} failed with HTTP ${response?.status ?? "error"}`);
48713
- const hash = algorithm ? (0, import_node_crypto46.createHash)(algorithm) : null;
48728
+ const hash = algorithm ? (0, import_node_crypto47.createHash)(algorithm) : null;
48714
48729
  const handle = await import_node_fs72.default.promises.open(file, "w");
48715
48730
  try {
48716
48731
  const reader = response.body.getReader();
@@ -48967,12 +48982,12 @@ function cleanInstalledPod(spec, root, used) {
48967
48982
  (node) => used.filter((entry) => entry.specs.includes(node.name)).map((entry) => entry.platform)
48968
48983
  );
48969
48984
  }
48970
- var import_node_child_process42, import_node_crypto46, import_node_fs72, import_node_os17, import_node_path72, COCOAPODS_VERSION, USER_AGENT, PLATFORMS, HEADER_EXTENSIONS, SOURCE_EXTENSIONS2, SOURCE_FILES_PATTERN, STRATEGIES, OPTIONS, ARCHIVE_TYPES, object5, RETRY_STATUSES, chomp, stringList, bracketEnd, escapeRegex;
48985
+ var import_node_child_process42, import_node_crypto47, import_node_fs72, import_node_os17, import_node_path72, COCOAPODS_VERSION, USER_AGENT, PLATFORMS, HEADER_EXTENSIONS, SOURCE_EXTENSIONS2, SOURCE_FILES_PATTERN, STRATEGIES, OPTIONS, ARCHIVE_TYPES, object5, RETRY_STATUSES, chomp, stringList, bracketEnd, escapeRegex;
48971
48986
  var init_pod_sources = __esm({
48972
48987
  "src/pod-sources.ts"() {
48973
48988
  "use strict";
48974
48989
  import_node_child_process42 = require("node:child_process");
48975
- import_node_crypto46 = require("node:crypto");
48990
+ import_node_crypto47 = require("node:crypto");
48976
48991
  import_node_fs72 = __toESM(require("node:fs"), 1);
48977
48992
  import_node_os17 = __toESM(require("node:os"), 1);
48978
48993
  import_node_path72 = __toESM(require("node:path"), 1);
@@ -56226,7 +56241,7 @@ function specRepo(url, refresh) {
56226
56241
  const dir = import_node_path73.default.join(
56227
56242
  cacheDir(),
56228
56243
  "cocoapods-repos",
56229
- (0, import_node_crypto47.createHash)("sha256").update(url).digest("hex").slice(0, 16)
56244
+ (0, import_node_crypto48.createHash)("sha256").update(url).digest("hex").slice(0, 16)
56230
56245
  );
56231
56246
  if (!import_node_fs73.default.existsSync(import_node_path73.default.join(dir, ".git"))) {
56232
56247
  const staged = `${dir}.${process.pid}`;
@@ -56256,7 +56271,7 @@ function podDir(repo, name3) {
56256
56271
  const specs = import_node_fs73.default.existsSync(import_node_path73.default.join(repo, "Specs")) ? import_node_path73.default.join(repo, "Specs") : repo;
56257
56272
  const metadata = import_node_path73.default.join(repo, "CocoaPods-version.yml");
56258
56273
  const lengths = import_node_fs73.default.existsSync(metadata) ? browser_default.parse(import_node_fs73.default.readFileSync(metadata, "utf8"))?.prefix_lengths : void 0;
56259
- const hash = (0, import_node_crypto47.createHash)("md5").update(name3).digest("hex");
56274
+ const hash = (0, import_node_crypto48.createHash)("md5").update(name3).digest("hex");
56260
56275
  let at = 0;
56261
56276
  const shards2 = (Array.isArray(lengths) ? lengths : []).map((length) => {
56262
56277
  if (typeof length !== "number")
@@ -56289,17 +56304,17 @@ async function sourceSpecificationFile(source, name3, version2) {
56289
56304
  if (!file) throw new Error(`${source} lists ${name3} ${version2} without a podspec`);
56290
56305
  return file;
56291
56306
  }
56292
- var import_node_child_process43, import_node_crypto47, import_node_fs73, import_node_path73, shard, shards, TRUNK_SOURCES, refreshed, specRepoKey;
56307
+ var import_node_child_process43, import_node_crypto48, import_node_fs73, import_node_path73, shard, shards, TRUNK_SOURCES, refreshed, specRepoKey;
56293
56308
  var init_cocoapods_trunk = __esm({
56294
56309
  "src/cocoapods-trunk.ts"() {
56295
56310
  "use strict";
56296
56311
  import_node_child_process43 = require("node:child_process");
56297
- import_node_crypto47 = require("node:crypto");
56312
+ import_node_crypto48 = require("node:crypto");
56298
56313
  import_node_fs73 = __toESM(require("node:fs"), 1);
56299
56314
  import_node_path73 = __toESM(require("node:path"), 1);
56300
56315
  init_browser();
56301
56316
  init_home_paths();
56302
- shard = (name3) => (0, import_node_crypto47.createHash)("md5").update(name3).digest("hex").slice(0, 3).split("");
56317
+ shard = (name3) => (0, import_node_crypto48.createHash)("md5").update(name3).digest("hex").slice(0, 3).split("");
56303
56318
  shards = /* @__PURE__ */ new Map();
56304
56319
  TRUNK_SOURCES = /* @__PURE__ */ new Set([
56305
56320
  "trunk",
@@ -66249,7 +66264,7 @@ end
66249
66264
  function sha256Hex4(bytes) {
66250
66265
  if (typeof Bun !== "undefined")
66251
66266
  return new Bun.CryptoHasher("sha256").update(bytes).digest("hex");
66252
- return (0, import_node_crypto48.createHash)("sha256").update(bytes).digest("hex");
66267
+ return (0, import_node_crypto49.createHash)("sha256").update(bytes).digest("hex");
66253
66268
  }
66254
66269
  function isBazelPackage(input) {
66255
66270
  return /^BUILD(?:\.bazel)?$/.test(import_node_path83.default.basename(input)) && import_node_fs82.default.statSync(input).isFile();
@@ -66280,7 +66295,7 @@ function bazelBinary(root) {
66280
66295
  const expected = (0, import_node_child_process44.execFileSync)("curl", ["-fsSL", `${url}.sha256`], {
66281
66296
  encoding: "utf8"
66282
66297
  }).split(/\s/)[0];
66283
- const actual = (0, import_node_crypto48.createHash)("sha256").update(import_node_fs82.default.readFileSync(partial)).digest("hex");
66298
+ const actual = (0, import_node_crypto49.createHash)("sha256").update(import_node_fs82.default.readFileSync(partial)).digest("hex");
66284
66299
  if (actual !== expected) {
66285
66300
  import_node_fs82.default.rmSync(partial, { force: true });
66286
66301
  throw new Error(`${url} digest ${actual} differs from its release ${expected}`);
@@ -66310,7 +66325,7 @@ function parseRule(raw2) {
66310
66325
  };
66311
66326
  }
66312
66327
  function graphInputsDigest(root) {
66313
- const hash = (0, import_node_crypto48.createHash)("sha256");
66328
+ const hash = (0, import_node_crypto49.createHash)("sha256");
66314
66329
  const visit3 = (dir) => {
66315
66330
  for (const entry of import_node_fs82.default.readdirSync(dir, { withFileTypes: true }).sort((a, b) => a.name.localeCompare(b.name))) {
66316
66331
  if (entry.name.startsWith(".") || entry.name.startsWith("bazel-")) continue;
@@ -66343,7 +66358,7 @@ function bazelGraph(root, label, configuration) {
66343
66358
  const cached2 = graphs.get(key2);
66344
66359
  if (cached2) return cached2;
66345
66360
  const flags = configurationFlags(configuration);
66346
- const digest2 = (0, import_node_crypto48.createHash)("sha256").update(JSON.stringify([GRAPH_FORMAT, label, flags, QUERIED_RULES])).update(graphInputsDigest(root)).digest("hex").slice(0, 24);
66361
+ const digest2 = (0, import_node_crypto49.createHash)("sha256").update(JSON.stringify([GRAPH_FORMAT, label, flags, QUERIED_RULES])).update(graphInputsDigest(root)).digest("hex").slice(0, 24);
66347
66362
  const file = import_node_path83.default.join(root, ".build", "peach-bazel", `graph-${digest2}.json`);
66348
66363
  const bazel = bazelBinary(root);
66349
66364
  const run12 = (args) => (0, import_node_child_process44.execFileSync)(bazel, args, {
@@ -67167,12 +67182,12 @@ function shellTokens(options2) {
67167
67182
  return words2;
67168
67183
  });
67169
67184
  }
67170
- var import_node_child_process44, import_node_crypto48, import_node_fs82, import_node_os18, import_node_path83, LIBRARY_RULES, QUERIED_RULES, NATIVE_SOURCE, HEADER4, PRODUCTS, graphs, CLANG_CONFIGURATION_FLAGS, GRAPH_FORMAT, BazelFiles, CXX_STANDARD;
67185
+ var import_node_child_process44, import_node_crypto49, import_node_fs82, import_node_os18, import_node_path83, LIBRARY_RULES, QUERIED_RULES, NATIVE_SOURCE, HEADER4, PRODUCTS, graphs, CLANG_CONFIGURATION_FLAGS, GRAPH_FORMAT, BazelFiles, CXX_STANDARD;
67171
67186
  var init_bazel_project = __esm({
67172
67187
  "src/bazel-project.ts"() {
67173
67188
  "use strict";
67174
67189
  import_node_child_process44 = require("node:child_process");
67175
- import_node_crypto48 = require("node:crypto");
67190
+ import_node_crypto49 = require("node:crypto");
67176
67191
  import_node_fs82 = __toESM(require("node:fs"), 1);
67177
67192
  import_node_os18 = __toESM(require("node:os"), 1);
67178
67193
  import_node_path83 = __toESM(require("node:path"), 1);
@@ -68067,7 +68082,7 @@ async function swiftBinaryModules(binary2) {
68067
68082
  if (!binary2.url) return localSwiftBinaryModules(binary2.dir);
68068
68083
  const cached2 = import_node_path84.default.join(
68069
68084
  cacheDir3,
68070
- `${(0, import_node_crypto49.createHash)("sha256").update(`${binary2.url}\0${binary2.checksum ?? ""}`).digest("hex").slice(0, 32)}.json`
68085
+ `${(0, import_node_crypto50.createHash)("sha256").update(`${binary2.url}\0${binary2.checksum ?? ""}`).digest("hex").slice(0, 32)}.json`
68071
68086
  );
68072
68087
  if (import_node_fs83.default.existsSync(cached2)) {
68073
68088
  const value = JSON.parse(import_node_fs83.default.readFileSync(cached2, "utf8"));
@@ -68079,11 +68094,11 @@ async function swiftBinaryModules(binary2) {
68079
68094
  import_node_fs83.default.writeFileSync(cached2, JSON.stringify(modules));
68080
68095
  return modules;
68081
68096
  }
68082
- var import_node_crypto49, import_node_fs83, import_node_path84, cacheDir3;
68097
+ var import_node_crypto50, import_node_fs83, import_node_path84, cacheDir3;
68083
68098
  var init_swift_binary_modules = __esm({
68084
68099
  "src/swift-binary-modules.ts"() {
68085
68100
  "use strict";
68086
- import_node_crypto49 = require("node:crypto");
68101
+ import_node_crypto50 = require("node:crypto");
68087
68102
  import_node_fs83 = __toESM(require("node:fs"), 1);
68088
68103
  import_node_path84 = __toESM(require("node:path"), 1);
68089
68104
  init_home_paths();
@@ -68093,11 +68108,11 @@ var init_swift_binary_modules = __esm({
68093
68108
  });
68094
68109
 
68095
68110
  // src/swift-coverage/provenance.ts
68096
- var import_node_crypto50, import_node_fs84, import_node_path85, swiftCoverageProvenance;
68111
+ var import_node_crypto51, import_node_fs84, import_node_path85, swiftCoverageProvenance;
68097
68112
  var init_provenance = __esm({
68098
68113
  "src/swift-coverage/provenance.ts"() {
68099
68114
  "use strict";
68100
- import_node_crypto50 = require("node:crypto");
68115
+ import_node_crypto51 = require("node:crypto");
68101
68116
  import_node_fs84 = require("node:fs");
68102
68117
  import_node_path85 = require("node:path");
68103
68118
  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":"d6a3228567a46c6d5280895383093889d9b868958a117881061bdd74729a225f","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":"facdbeb9de6bb12da4ab4954553edfaadd0e486f1181443138be70c3d8396236","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"523fdfffc0cff95c8df7beeca437622a07d4fd666f0bb22b0ff67d14c42a7b10","swift-package.ts":"05c6cf101fbc944f6684a70db0a9c5aede846b2f0482a6b4a5a0abed737d4658","swift-source-file.ts":"8becce5e73b76a61d9d202c1ecfb39b1238e9bbf0e77841f1c51c98fa9ac7bd3","swift-toolchain.ts":"32bf10d6f3396dd1a20ff6d415499a5990ec2550c63306fd9ef071bdf4a58f1e","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"c72b724fc497e4cf603c355f86eb3c07c929ad299758cffbc6ff88ed241654c6","xcode-project.ts":"e30510099ee19d34de62d8ae859df53f77594a4ab105fdb5bcd7e005ec9689ca","xcode-target-members.ts":"96f6a9f5567a4fbd9806252229b35b9a451a112b20f70f8c20189ffd428815fd","xcode-json-project.ts":"df6d6db28e0c8cfdf1f480e1e32d35f12c9cf1936642d5dda923889fb18a8fd6","openstep-plist.ts":"da11f86885ef1e25979ad989f332195c113c4b7a43f108e8d36646973430b81b"}') : swiftCoverageSourceDigests((0, import_node_path85.join)(__sootsim_import_meta_dirname, ".."));
@@ -69194,16 +69209,16 @@ function assetSymbolText(plan, root) {
69194
69209
  if (source.status === "unknown") throw new Error(source.reason);
69195
69210
  return source.text;
69196
69211
  }
69197
- var import_node_crypto51, import_node_fs86, import_node_path87, sha2562, unprovenAssetSettings, assetSymbolSettingKeys, provenOtherAssetFlags, symbolTexts;
69212
+ var import_node_crypto52, import_node_fs86, import_node_path87, sha2562, unprovenAssetSettings, assetSymbolSettingKeys, provenOtherAssetFlags, symbolTexts;
69198
69213
  var init_xcode_assets = __esm({
69199
69214
  "src/swift-coverage/xcode-assets.ts"() {
69200
69215
  "use strict";
69201
- import_node_crypto51 = require("node:crypto");
69216
+ import_node_crypto52 = require("node:crypto");
69202
69217
  import_node_fs86 = require("node:fs");
69203
69218
  import_node_path87 = require("node:path");
69204
69219
  init_provenance();
69205
69220
  init_xcode_asset_symbols();
69206
- sha2562 = (bytes) => (0, import_node_crypto51.createHash)("sha256").update(bytes).digest("hex");
69221
+ sha2562 = (bytes) => (0, import_node_crypto52.createHash)("sha256").update(bytes).digest("hex");
69207
69222
  unprovenAssetSettings = [
69208
69223
  "ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOL_FRAMEWORKS",
69209
69224
  "ASSETCATALOG_COMPILER_GENERATE_ASSET_SYMBOL_WARNINGS",
@@ -69799,7 +69814,7 @@ function normalizedEnums(input) {
69799
69814
  }
69800
69815
  function localizationIdentifier(field, key2) {
69801
69816
  const alphabet = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
69802
- const digest2 = (0, import_node_crypto52.createHash)("sha256").update(JSON.stringify([...field, key2])).digest();
69817
+ const digest2 = (0, import_node_crypto53.createHash)("sha256").update(JSON.stringify([...field, key2])).digest();
69803
69818
  return Array.from(
69804
69819
  digest2.subarray(0, 6),
69805
69820
  (byte) => alphabet[byte % alphabet.length]
@@ -70124,12 +70139,12 @@ function writeIntentDefinition(input, prefix) {
70124
70139
  lines.push("</plist>", "");
70125
70140
  return lines.join("\n");
70126
70141
  }
70127
- var import_strict4, import_node_crypto52, typeMetadata, initializeMetadata, widgetArraySizes, defaultReasonMessages;
70142
+ var import_strict4, import_node_crypto53, typeMetadata, initializeMetadata, widgetArraySizes, defaultReasonMessages;
70128
70143
  var init_metadata = __esm({
70129
70144
  "src/intent-definition/metadata.ts"() {
70130
70145
  "use strict";
70131
70146
  import_strict4 = __toESM(require("node:assert/strict"), 1);
70132
- import_node_crypto52 = require("node:crypto");
70147
+ import_node_crypto53 = require("node:crypto");
70133
70148
  init_fields();
70134
70149
  init_hash_input();
70135
70150
  init_siphash();
@@ -70838,7 +70853,7 @@ function preparePortableIntent(definition2, derivedDirectory, prefix, language,
70838
70853
  if (prefix) identifier(prefix);
70839
70854
  if (module2) identifier(module2);
70840
70855
  const source = import_node_fs87.default.readFileSync(definition2);
70841
- const key2 = (0, import_node_crypto53.createHash)("sha256").update(
70856
+ const key2 = (0, import_node_crypto54.createHash)("sha256").update(
70842
70857
  JSON.stringify([intentCompilerRevision, definition2, prefix, language, module2])
70843
70858
  ).update("\0").update(source).digest("hex");
70844
70859
  const cache = import_node_path88.default.join(derivedDirectory, "IntentDefinitions");
@@ -70878,11 +70893,11 @@ function preparePortableIntent(definition2, derivedDirectory, prefix, language,
70878
70893
  import_node_fs87.default.rmSync(stage, { recursive: true, force: true });
70879
70894
  }
70880
70895
  }
70881
- var import_node_crypto53, import_node_fs87, import_node_path88, intentCompilerRevision;
70896
+ var import_node_crypto54, import_node_fs87, import_node_path88, intentCompilerRevision;
70882
70897
  var init_xcode_intents = __esm({
70883
70898
  "src/xcode-intents.ts"() {
70884
70899
  "use strict";
70885
- import_node_crypto53 = require("node:crypto");
70900
+ import_node_crypto54 = require("node:crypto");
70886
70901
  import_node_fs87 = __toESM(require("node:fs"), 1);
70887
70902
  import_node_path88 = __toESM(require("node:path"), 1);
70888
70903
  init_fields();
@@ -71576,7 +71591,7 @@ function loadProject(xcodeproj) {
71576
71591
  if (!projectFile)
71577
71592
  throw new Error(`${xcodeproj} has no project.pbxproj or project.xcproj`);
71578
71593
  const source = import_node_fs88.default.readFileSync(projectFile, "utf8");
71579
- const digest2 = (0, import_node_crypto54.createHash)("sha256").update(source).digest("hex");
71594
+ const digest2 = (0, import_node_crypto55.createHash)("sha256").update(source).digest("hex");
71580
71595
  const cached2 = loaded2.get(projectFile);
71581
71596
  if (cached2?.digest === digest2) return cached2.project;
71582
71597
  const root = projectFile.endsWith(".xcproj") ? readXcodeJsonProject(xcodeproj, source) : parseOpenStepPlist(source);
@@ -71628,7 +71643,7 @@ function xcodeInstallationIdentity() {
71628
71643
  if (!selected) return null;
71629
71644
  const directory2 = import_node_path90.default.extname(selected) === ".app" ? import_node_path90.default.join(selected, "Contents", "Developer") : selected;
71630
71645
  const versionFile = `${directory2}/../version.plist`;
71631
- const version2 = import_node_fs88.default.existsSync(versionFile) ? (0, import_node_crypto54.createHash)("sha256").update(import_node_fs88.default.readFileSync(versionFile)).digest("hex") : null;
71646
+ const version2 = import_node_fs88.default.existsSync(versionFile) ? (0, import_node_crypto55.createHash)("sha256").update(import_node_fs88.default.readFileSync(versionFile)).digest("hex") : null;
71632
71647
  return { directory: directory2, version: version2 };
71633
71648
  }
71634
71649
  function defaultConfiguration(project) {
@@ -72096,7 +72111,7 @@ function targetMembers(ref, settings, options2, settingKeys, projectInputs) {
72096
72111
  );
72097
72112
  });
72098
72113
  }
72099
- const signature2 = (0, import_node_crypto54.createHash)("sha256").update(
72114
+ const signature2 = (0, import_node_crypto55.createHash)("sha256").update(
72100
72115
  JSON.stringify([phase, [...settingKeys].map((key3) => [key3, settings(key3)])])
72101
72116
  );
72102
72117
  for (const file of inputFiles) {
@@ -72251,7 +72266,7 @@ ${output}`
72251
72266
  const inputs2 = JSON.stringify([
72252
72267
  1,
72253
72268
  args,
72254
- (0, import_node_crypto54.createHash)("sha256").update(import_node_fs88.default.readFileSync(file)).digest("hex")
72269
+ (0, import_node_crypto55.createHash)("sha256").update(import_node_fs88.default.readFileSync(file)).digest("hex")
72255
72270
  ]);
72256
72271
  const developer = settings("DEVELOPER_DIR");
72257
72272
  const cached2 = import_node_fs88.default.existsSync(output) && import_node_fs88.default.existsSync(stamp) ? import_node_fs88.default.readFileSync(stamp, "utf8").split("\n") : [];
@@ -73571,12 +73586,12 @@ function readXcodeAppTarget(input, targetName, configurationName, options2 = {})
73571
73586
  cocoapods
73572
73587
  };
73573
73588
  }
73574
- var import_node_child_process45, import_node_crypto54, import_node_fs88, import_node_module8, import_node_path90, 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, isDirectory3, loaded2, developerDir, preparedSourcePhases, isPodsProject, targetRefs, workspaceResolvedFile, SwiftPackageResolutionRequired;
73589
+ var import_node_child_process45, import_node_crypto55, import_node_fs88, import_node_module8, import_node_path90, 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, isDirectory3, loaded2, developerDir, preparedSourcePhases, isPodsProject, targetRefs, workspaceResolvedFile, SwiftPackageResolutionRequired;
73575
73590
  var init_xcode_project = __esm({
73576
73591
  "src/xcode-project.ts"() {
73577
73592
  "use strict";
73578
73593
  import_node_child_process45 = require("node:child_process");
73579
- import_node_crypto54 = require("node:crypto");
73594
+ import_node_crypto55 = require("node:crypto");
73580
73595
  import_node_fs88 = __toESM(require("node:fs"), 1);
73581
73596
  import_node_module8 = require("node:module");
73582
73597
  import_node_path90 = __toESM(require("node:path"), 1);
@@ -73766,8 +73781,8 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
73766
73781
  );
73767
73782
  const appRelative = import_node_path91.default.relative(root, app);
73768
73783
  const manifest = JSON.parse(import_node_fs89.default.readFileSync(import_node_path91.default.join(root, "package.json"), "utf8"));
73769
- const hash = (0, import_node_crypto55.createHash)("sha256");
73770
- const native = (0, import_node_crypto55.createHash)("sha256");
73784
+ const hash = (0, import_node_crypto56.createHash)("sha256");
73785
+ const native = (0, import_node_crypto56.createHash)("sha256");
73771
73786
  const nativeDirectories = localPackageDirectories(root, app);
73772
73787
  const versionFree = new Set(
73773
73788
  nativeDirectories.filter((directory2) => directory2 !== appRelative && directory2 !== "").filter(
@@ -73851,7 +73866,7 @@ async function walkWorkspaceInputs(app, everyByte, sourceOnly, podsEnvironment)
73851
73866
  unread.slice(start, start + 32).map(async ({ file, content }) => {
73852
73867
  const bytes = await import_node_fs89.default.promises.readFile(file);
73853
73868
  content.size = bytes.length;
73854
- content.digest = (0, import_node_crypto55.createHash)("sha256").update(bytes).digest("hex");
73869
+ content.digest = (0, import_node_crypto56.createHash)("sha256").update(bytes).digest("hex");
73855
73870
  fileDigests.set(file, content);
73856
73871
  })
73857
73872
  );
@@ -74398,7 +74413,7 @@ function stageCachedQuickCryptoOpenSsl(app) {
74398
74413
  const sha2565 = /openssl_sha256\s*=\s*"([0-9a-f]{64})"/.exec(podspec)?.[1];
74399
74414
  if (!sha2565) return;
74400
74415
  const archive = import_node_path91.default.join(cacheDir(), "pod-archives", `${sha2565}.zip`);
74401
- if (!import_node_fs89.default.existsSync(archive) || (0, import_node_crypto55.createHash)("sha256").update(import_node_fs89.default.readFileSync(archive)).digest("hex") !== sha2565)
74416
+ if (!import_node_fs89.default.existsSync(archive) || (0, import_node_crypto56.createHash)("sha256").update(import_node_fs89.default.readFileSync(archive)).digest("hex") !== sha2565)
74402
74417
  return;
74403
74418
  import_node_fs89.default.rmSync(opensslDir, { recursive: true, force: true });
74404
74419
  import_node_fs89.default.mkdirSync(opensslDir, { recursive: true });
@@ -74436,12 +74451,12 @@ ${failedOutputLine(command, cwd, bytes)}`
74436
74451
  });
74437
74452
  });
74438
74453
  }
74439
- var import_node_child_process46, import_node_crypto55, import_node_fs89, import_node_module9, import_node_os19, import_node_path91, import_node_util13, isolatedGitEnv, NATIVE_CONFIG_FILE, NATIVE_SOURCE_FILE2, fileDigests, NATIVE_PACKAGE_ENTRY, hashing, KEPT_WORKSPACES, WORKSPACE_GRACE_MS, ABANDONED_WORKSPACE_MS, RETIRED_PREFIX2, preparing, watches, current, CLONE_ENTRIES;
74454
+ var import_node_child_process46, import_node_crypto56, import_node_fs89, import_node_module9, import_node_os19, import_node_path91, import_node_util13, isolatedGitEnv, NATIVE_CONFIG_FILE, NATIVE_SOURCE_FILE2, fileDigests, NATIVE_PACKAGE_ENTRY, hashing, KEPT_WORKSPACES, WORKSPACE_GRACE_MS, ABANDONED_WORKSPACE_MS, RETIRED_PREFIX2, preparing, watches, current, CLONE_ENTRIES;
74440
74455
  var init_expo_native_workspace = __esm({
74441
74456
  "src/expo-native-workspace.ts"() {
74442
74457
  "use strict";
74443
74458
  import_node_child_process46 = require("node:child_process");
74444
- import_node_crypto55 = require("node:crypto");
74459
+ import_node_crypto56 = require("node:crypto");
74445
74460
  import_node_fs89 = __toESM(require("node:fs"), 1);
74446
74461
  import_node_module9 = require("node:module");
74447
74462
  import_node_os19 = __toESM(require("node:os"), 1);
@@ -74514,7 +74529,7 @@ function run() {
74514
74529
 
74515
74530
  // src/expo-discovery-cache.ts
74516
74531
  function peachPin() {
74517
- return (0, import_node_crypto56.createHash)("sha256").update(
74532
+ return (0, import_node_crypto57.createHash)("sha256").update(
74518
74533
  `${FORMAT}\0${expoNativeCompilerDigestValue()}\0${swiftNativePin().distribution.id}\0`
74519
74534
  ).update(JSON.stringify([...EXPO_EAGER_NATIVE_VIEWS])).update(JSON.stringify([...peachAnsweredNativePackages()].sort())).digest("hex");
74520
74535
  }
@@ -74528,7 +74543,7 @@ function stable(value) {
74528
74543
  }
74529
74544
  async function expoDiscoveryKey(options2) {
74530
74545
  const { root, hash } = await hashExpoWorkspace(options2.appRoot, options2.signal);
74531
- const key2 = (0, import_node_crypto56.createHash)("sha256").update(`${peachPin()}\0${hash}\0`).update(`${stable(JSON.parse(options2.searchText))}\0`).update(`${stable(options2.configuration)}\0`).update(stable(JSON.parse(options2.resolveText))).digest("hex");
74546
+ const key2 = (0, import_node_crypto57.createHash)("sha256").update(`${peachPin()}\0${hash}\0`).update(`${stable(JSON.parse(options2.searchText))}\0`).update(`${stable(options2.configuration)}\0`).update(stable(JSON.parse(options2.resolveText))).digest("hex");
74532
74547
  return { key: key2, root };
74533
74548
  }
74534
74549
  function expoDiscoveryCacheDir() {
@@ -74599,7 +74614,7 @@ function readExpoDiscovery(key2) {
74599
74614
  if (typeof parsed2.archive !== "string" || !isDigest(parsed2.archive)) return void 0;
74600
74615
  const archive = import_node_path92.default.join(expoDiscoveryCacheDir(), "blobs", `${parsed2.archive}.zst`);
74601
74616
  const bytes = import_node_fs90.default.readFileSync(archive);
74602
- if ((0, import_node_crypto56.createHash)("sha256").update(bytes).digest("hex") !== parsed2.archive)
74617
+ if ((0, import_node_crypto57.createHash)("sha256").update(bytes).digest("hex") !== parsed2.archive)
74603
74618
  return void 0;
74604
74619
  const bodies = (0, import_node_zlib6.zstdDecompressSync)(bytes);
74605
74620
  const decoded = /* @__PURE__ */ new Map();
@@ -74673,7 +74688,7 @@ function stampedFileHash(file) {
74673
74688
  const stamp = [stat.dev, stat.ino, stat.size, stat.mtimeNs, stat.ctimeNs].join(":");
74674
74689
  const cached2 = fileHashes.get(file);
74675
74690
  if (cached2?.stamp === stamp) return cached2.checksum;
74676
- const checksum = (0, import_node_crypto56.createHash)("sha256").update(import_node_fs90.default.readFileSync(file)).digest("hex");
74691
+ const checksum = (0, import_node_crypto57.createHash)("sha256").update(import_node_fs90.default.readFileSync(file)).digest("hex");
74677
74692
  fileHashes.set(file, { stamp, checksum });
74678
74693
  fileHashesChanged = true;
74679
74694
  return checksum;
@@ -74682,7 +74697,7 @@ function saveFileHashes() {
74682
74697
  if (!fileHashesChanged) return;
74683
74698
  fileHashesChanged = false;
74684
74699
  const target = fileHashesPath();
74685
- const temporary = `${target}.${process.pid}.${(0, import_node_crypto56.randomUUID)()}.tmp`;
74700
+ const temporary = `${target}.${process.pid}.${(0, import_node_crypto57.randomUUID)()}.tmp`;
74686
74701
  try {
74687
74702
  import_node_fs90.default.mkdirSync(import_node_path92.default.dirname(target), { recursive: true });
74688
74703
  import_node_fs90.default.writeFileSync(
@@ -74737,7 +74752,7 @@ function frameworkDigest(directory2, signal) {
74737
74752
  if (target !== root && !target.startsWith(`${root}${import_node_path92.default.sep}`))
74738
74753
  throw new Error(`framework link escapes its tree: ${relative3}`);
74739
74754
  }
74740
- return (0, import_node_crypto56.createHash)("sha256").update(JSON.stringify([...entries2])).digest("hex");
74755
+ return (0, import_node_crypto57.createHash)("sha256").update(JSON.stringify([...entries2])).digest("hex");
74741
74756
  }
74742
74757
  function rewritePreparedPaths(options2) {
74743
74758
  const { units, sourceRoot, preparedRoot, signal } = options2;
@@ -74758,7 +74773,7 @@ function rewritePreparedPaths(options2) {
74758
74773
  return null;
74759
74774
  }
74760
74775
  if (!preparedBytes.equals(sourceBytes)) return null;
74761
- dependencies[sourceFile] = (0, import_node_crypto56.createHash)("sha256").update(sourceBytes).digest("hex");
74776
+ dependencies[sourceFile] = (0, import_node_crypto57.createHash)("sha256").update(sourceBytes).digest("hex");
74762
74777
  verifiedFiles.set(preparedFile, sourceFile);
74763
74778
  return sourceFile;
74764
74779
  };
@@ -74835,7 +74850,7 @@ function rewritePreparedPaths(options2) {
74835
74850
  portableDir = import_node_path92.default.join(parent, import_node_path92.default.basename(dir));
74836
74851
  if (!import_node_fs90.default.existsSync(portableDir)) {
74837
74852
  import_node_fs90.default.mkdirSync(parent, { recursive: true });
74838
- const tmp = import_node_path92.default.join(parent, `.${process.pid}.${(0, import_node_crypto56.randomUUID)()}.tmp`);
74853
+ const tmp = import_node_path92.default.join(parent, `.${process.pid}.${(0, import_node_crypto57.randomUUID)()}.tmp`);
74839
74854
  try {
74840
74855
  import_node_fs90.default.cpSync(dir, tmp, { recursive: true, verbatimSymlinks: true });
74841
74856
  if (frameworkDigest(tmp, signal) !== preparedDigest)
@@ -74864,7 +74879,7 @@ function writeExpoDiscovery(options2) {
74864
74879
  try {
74865
74880
  const dir = expoDiscoveryCacheDir();
74866
74881
  import_node_fs90.default.mkdirSync(dir, { recursive: true });
74867
- const tmp = import_node_path92.default.join(dir, `.${options2.key}.${process.pid}.${(0, import_node_crypto56.randomUUID)()}.tmp`);
74882
+ const tmp = import_node_path92.default.join(dir, `.${options2.key}.${process.pid}.${(0, import_node_crypto57.randomUUID)()}.tmp`);
74868
74883
  if (options2.units === null) {
74869
74884
  import_node_fs90.default.writeFileSync(
74870
74885
  tmp,
@@ -74927,8 +74942,8 @@ function writeExpoDiscovery(options2) {
74927
74942
  }
74928
74943
  );
74929
74944
  const contents2 = (0, import_node_zlib6.zstdCompressSync)(Buffer.concat(chunks, size2));
74930
- const archive = (0, import_node_crypto56.createHash)("sha256").update(contents2).digest("hex");
74931
- const temporary = import_node_path92.default.join(blobDir, "." + (0, import_node_crypto56.randomUUID)() + ".tmp");
74945
+ const archive = (0, import_node_crypto57.createHash)("sha256").update(contents2).digest("hex");
74946
+ const temporary = import_node_path92.default.join(blobDir, "." + (0, import_node_crypto57.randomUUID)() + ".tmp");
74932
74947
  try {
74933
74948
  import_node_fs90.default.writeFileSync(temporary, contents2);
74934
74949
  import_node_fs90.default.renameSync(temporary, import_node_path92.default.join(blobDir, `${archive}.zst`));
@@ -74955,11 +74970,11 @@ function writeExpoDiscovery(options2) {
74955
74970
  return error instanceof Error ? error.message : String(error);
74956
74971
  }
74957
74972
  }
74958
- var import_node_crypto56, import_node_fs90, import_node_path92, import_node_zlib6, FORMAT, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings2, stringRecord, isDigest, digestRecord, isBodyOffset, isBodyOffsets, sourceLocationLine, fileHashes, fileHashesLoaded, fileHashesChanged, MISSING_TREE;
74973
+ var import_node_crypto57, import_node_fs90, import_node_path92, import_node_zlib6, FORMAT, EXPIRY_MS, ORPHAN_TEMPORARY_MS, strings2, stringRecord, isDigest, digestRecord, isBodyOffset, isBodyOffsets, sourceLocationLine, fileHashes, fileHashesLoaded, fileHashesChanged, MISSING_TREE;
74959
74974
  var init_expo_discovery_cache = __esm({
74960
74975
  "src/expo-discovery-cache.ts"() {
74961
74976
  "use strict";
74962
- import_node_crypto56 = require("node:crypto");
74977
+ import_node_crypto57 = require("node:crypto");
74963
74978
  import_node_fs90 = __toESM(require("node:fs"), 1);
74964
74979
  import_node_path92 = __toESM(require("node:path"), 1);
74965
74980
  import_node_zlib6 = require("node:zlib");
@@ -75380,7 +75395,7 @@ function hashPackageTree(root, options2) {
75380
75395
  }
75381
75396
  };
75382
75397
  walk4(root, "");
75383
- const hash = (0, import_node_crypto57.createHash)("sha256");
75398
+ const hash = (0, import_node_crypto58.createHash)("sha256");
75384
75399
  return (async () => {
75385
75400
  for (let start = 0; start < files2.length; start += READ_AHEAD) {
75386
75401
  const batch = files2.slice(start, start + READ_AHEAD);
@@ -75395,11 +75410,11 @@ function packageTreeDigest(root) {
75395
75410
  compareNames: (left, right) => left.localeCompare(right)
75396
75411
  });
75397
75412
  }
75398
- var import_node_crypto57, import_node_fs93, import_promises8, import_node_path95, READ_AHEAD;
75413
+ var import_node_crypto58, import_node_fs93, import_promises8, import_node_path95, READ_AHEAD;
75399
75414
  var init_package_tree_digest = __esm({
75400
75415
  "src/package-tree-digest.ts"() {
75401
75416
  "use strict";
75402
- import_node_crypto57 = require("node:crypto");
75417
+ import_node_crypto58 = require("node:crypto");
75403
75418
  import_node_fs93 = require("node:fs");
75404
75419
  import_promises8 = require("node:fs/promises");
75405
75420
  import_node_path95 = require("node:path");
@@ -75479,7 +75494,7 @@ async function expoNativeInputs(appRoot) {
75479
75494
  "swift-pin": JSON.stringify(swiftNativePin()),
75480
75495
  answered: JSON.stringify([...peachAnsweredNativePackages()].sort()),
75481
75496
  "pods-environment": JSON.stringify(reactNativePodsEnvironment()),
75482
- fingerprint: (0, import_node_crypto58.createHash)("sha256").update(lines.sort().join("\n")).digest("hex")
75497
+ fingerprint: (0, import_node_crypto59.createHash)("sha256").update(lines.sort().join("\n")).digest("hex")
75483
75498
  },
75484
75499
  packages
75485
75500
  };
@@ -75585,7 +75600,7 @@ async function prebuiltAppTarget(appRoot, signal, dependencies = "lockfile") {
75585
75600
  }
75586
75601
  function servedExpoSwift(appRoot, entry, app) {
75587
75602
  if (!entry.expoSwift) return null;
75588
- const rootId = `${(0, import_node_crypto58.createHash)("sha256").update(import_node_fs94.default.realpathSync(appRoot)).digest("hex")}/Expo`;
75603
+ const rootId = `${(0, import_node_crypto59.createHash)("sha256").update(import_node_fs94.default.realpathSync(appRoot)).digest("hex")}/Expo`;
75589
75604
  if (app.infoPlist === null) throw new Error("the prebuilt app target has no Info.plist");
75590
75605
  const installed = installedInfoPlist(app.infoPlist, entry.infoPlist);
75591
75606
  const infoPlist2 = Buffer.from(installed).toString("base64");
@@ -75613,11 +75628,11 @@ async function prebuiltExpoSwiftResult(appRoot, entry, signal) {
75613
75628
  await prebuiltAppTarget(appRoot, signal, "installed")
75614
75629
  );
75615
75630
  }
75616
- var import_node_crypto58, import_node_fs94, import_node_module12, import_node_path96, import_node_util14, EXPO_NATIVE_ENTRY_NAME, IDENTITY_SOURCE_SKIPS, expoNativeEntryUrl, isStringRecord, isPlistArray, published, lookups, answers;
75631
+ var import_node_crypto59, import_node_fs94, import_node_module12, import_node_path96, import_node_util14, EXPO_NATIVE_ENTRY_NAME, IDENTITY_SOURCE_SKIPS, expoNativeEntryUrl, isStringRecord, isPlistArray, published, lookups, answers;
75617
75632
  var init_expo_native_prebuilt = __esm({
75618
75633
  "src/expo-native-prebuilt.ts"() {
75619
75634
  "use strict";
75620
- import_node_crypto58 = require("node:crypto");
75635
+ import_node_crypto59 = require("node:crypto");
75621
75636
  import_node_fs94 = __toESM(require("node:fs"), 1);
75622
75637
  import_node_module12 = require("node:module");
75623
75638
  import_node_path96 = __toESM(require("node:path"), 1);
@@ -75679,7 +75694,7 @@ function watchNativeInputs(root) {
75679
75694
  (0, import_node_timers.clearTimeout)(expiry);
75680
75695
  for (const watcher of watchers) watcher.close();
75681
75696
  }
75682
- const inputs2 = { expiry, revision: (0, import_node_crypto59.randomUUID)() };
75697
+ const inputs2 = { expiry, revision: (0, import_node_crypto60.randomUUID)() };
75683
75698
  const watch = (directory2, recursive, name3) => {
75684
75699
  const watcher = import_node_fs95.default.watch(
75685
75700
  directory2,
@@ -75720,11 +75735,11 @@ function watchNativeInputs(root) {
75720
75735
  watchedInputs.set(workspace, inputs2);
75721
75736
  return inputs2;
75722
75737
  }
75723
- var import_node_crypto59, import_node_fs95, import_node_path97, import_node_timers, setTimeoutNode, RETENTION_MS, watchedInputs, NativePreparation;
75738
+ var import_node_crypto60, import_node_fs95, import_node_path97, import_node_timers, setTimeoutNode, RETENTION_MS, watchedInputs, NativePreparation;
75724
75739
  var init_native_preparation = __esm({
75725
75740
  "src/native-preparation.ts"() {
75726
75741
  "use strict";
75727
- import_node_crypto59 = require("node:crypto");
75742
+ import_node_crypto60 = require("node:crypto");
75728
75743
  import_node_fs95 = __toESM(require("node:fs"), 1);
75729
75744
  import_node_path97 = __toESM(require("node:path"), 1);
75730
75745
  import_node_timers = require("node:timers");
@@ -75904,7 +75919,7 @@ function nativeStaticLibraryEntry(recipe2, compiler, sdk2, distribution) {
75904
75919
  return { name: recipe2.name, inputs: inputs2, key: nativeEntryKey(inputs2) };
75905
75920
  }
75906
75921
  function nativeStaticLibraryRecipe(bytes) {
75907
- const digest2 = (0, import_node_crypto60.createHash)("sha256").update(bytes).digest("hex");
75922
+ const digest2 = (0, import_node_crypto61.createHash)("sha256").update(bytes).digest("hex");
75908
75923
  return NATIVE_STATIC_LIBRARY_RECIPES.find((item) => item.nativeSha256 === digest2);
75909
75924
  }
75910
75925
  function nativeStaticLibrary(file, recipe2, moduleRoot) {
@@ -75947,7 +75962,7 @@ function isRustSymbol(name3, demangled) {
75947
75962
  function rustStaticLibrary(file, moduleRoot) {
75948
75963
  const toolchain = swiftModuleToolchain(moduleRoot);
75949
75964
  const bytes = import_node_fs97.default.readFileSync(file);
75950
- const key2 = (0, import_node_crypto60.createHash)("sha256").update("rust-c-abi-v4\0").update(toolchain.release).update("\0").update(bytes).digest("hex");
75965
+ const key2 = (0, import_node_crypto61.createHash)("sha256").update("rust-c-abi-v4\0").update(toolchain.release).update("\0").update(bytes).digest("hex");
75951
75966
  const directory2 = import_node_path99.default.join(cacheDir(), "native-archives", key2);
75952
75967
  const archive = import_node_path99.default.join(directory2, "library.a");
75953
75968
  if (import_node_fs97.default.existsSync(archive)) return archive;
@@ -75976,7 +75991,7 @@ function rustStaticLibrary(file, moduleRoot) {
75976
75991
  const members2 = readArMembers(bytes, true);
75977
75992
  const seen = /* @__PURE__ */ new Set();
75978
75993
  const unique2 = members2.filter(({ name: name3, bytes: bytes2 }) => {
75979
- const identity2 = name3 + "\0" + (0, import_node_crypto60.createHash)("sha256").update(bytes2).digest("hex");
75994
+ const identity2 = name3 + "\0" + (0, import_node_crypto61.createHash)("sha256").update(bytes2).digest("hex");
75980
75995
  if (seen.has(identity2)) return false;
75981
75996
  seen.add(identity2);
75982
75997
  return true;
@@ -76023,14 +76038,14 @@ function rustStaticLibrary(file, moduleRoot) {
76023
76038
  function combineNativeStaticLibraries(files2, moduleRoot) {
76024
76039
  if (files2.length === 1) return files2[0];
76025
76040
  const toolchain = swiftModuleToolchain(moduleRoot);
76026
- const hash = (0, import_node_crypto60.createHash)("sha256").update(toolchain.release);
76041
+ const hash = (0, import_node_crypto61.createHash)("sha256").update(toolchain.release);
76027
76042
  for (const file of files2)
76028
76043
  hash.update("\0").update(import_node_path99.default.basename(file)).update("\0").update(import_node_fs97.default.readFileSync(file));
76029
76044
  const directory2 = import_node_path99.default.join(cacheDir(), "native-archives", hash.digest("hex"));
76030
76045
  const archive = import_node_path99.default.join(directory2, "combined.a");
76031
76046
  if (import_node_fs97.default.existsSync(archive)) return archive;
76032
76047
  import_node_fs97.default.mkdirSync(directory2, { recursive: true });
76033
- const temporary = import_node_path99.default.join(directory2, `combined-${(0, import_node_crypto60.randomUUID)()}.a`);
76048
+ const temporary = import_node_path99.default.join(directory2, `combined-${(0, import_node_crypto61.randomUUID)()}.a`);
76034
76049
  try {
76035
76050
  (0, import_node_child_process48.execFileSync)(import_node_path99.default.join(toolchain.toolchainBin, "llvm-ar"), [
76036
76051
  "qcsDL",
@@ -76043,12 +76058,12 @@ function combineNativeStaticLibraries(files2, moduleRoot) {
76043
76058
  }
76044
76059
  return archive;
76045
76060
  }
76046
- var import_node_child_process48, import_node_crypto60, import_node_fs97, import_node_path99, WEBRTC_NATIVE_FRAMEWORK, SIGNAL_WEBRTC_NATIVE_FRAMEWORK, WEBRTC_NATIVE_FRAMEWORK_RECIPES, NATIVE_STATIC_LIBRARY_RECIPES;
76061
+ var import_node_child_process48, import_node_crypto61, import_node_fs97, import_node_path99, WEBRTC_NATIVE_FRAMEWORK, SIGNAL_WEBRTC_NATIVE_FRAMEWORK, WEBRTC_NATIVE_FRAMEWORK_RECIPES, NATIVE_STATIC_LIBRARY_RECIPES;
76047
76062
  var init_native_static_libraries = __esm({
76048
76063
  "src/native-static-libraries.ts"() {
76049
76064
  "use strict";
76050
76065
  import_node_child_process48 = require("node:child_process");
76051
- import_node_crypto60 = require("node:crypto");
76066
+ import_node_crypto61 = require("node:crypto");
76052
76067
  import_node_fs97 = __toESM(require("node:fs"), 1);
76053
76068
  import_node_path99 = __toESM(require("node:path"), 1);
76054
76069
  init_home_paths();
@@ -76653,13 +76668,13 @@ var init_swift_wasm64_wamr = __esm({
76653
76668
 
76654
76669
  // src/swift-wasm64-native-source.ts
76655
76670
  function deriveSource(file, bytes, backport) {
76656
- if (!backport || (0, import_node_crypto61.createHash)("sha256").update(bytes).digest("hex") !== backport.originalSha256)
76671
+ if (!backport || (0, import_node_crypto62.createHash)("sha256").update(bytes).digest("hex") !== backport.originalSha256)
76657
76672
  return null;
76658
76673
  const source = bytes.toString("utf8");
76659
76674
  const derived = Buffer.from(
76660
76675
  "rewrite" in backport ? backport.rewrite(source) : source.replace(backport.before, backport.after)
76661
76676
  );
76662
- if ((0, import_node_crypto61.createHash)("sha256").update(derived).digest("hex") !== backport.derivedSha256)
76677
+ if ((0, import_node_crypto62.createHash)("sha256").update(derived).digest("hex") !== backport.derivedSha256)
76663
76678
  throw new Error(`Native source derivation differs: ${file}`);
76664
76679
  return {
76665
76680
  bytes: derived,
@@ -76678,11 +76693,11 @@ function deriveWasm64NativeSource(file, bytes) {
76678
76693
  sourceDerivations.get(name3) ?? headerDerivations.get(name3)
76679
76694
  );
76680
76695
  }
76681
- var import_node_crypto61, import_node_path101, webrtcUnknownArchitecture, boringsslWordSize2, wamrCommit, headerDerivations, sourceDerivations;
76696
+ var import_node_crypto62, import_node_path101, webrtcUnknownArchitecture, boringsslWordSize2, wamrCommit, headerDerivations, sourceDerivations;
76682
76697
  var init_swift_wasm64_native_source = __esm({
76683
76698
  "src/swift-wasm64-native-source.ts"() {
76684
76699
  "use strict";
76685
- import_node_crypto61 = require("node:crypto");
76700
+ import_node_crypto62 = require("node:crypto");
76686
76701
  import_node_path101 = __toESM(require("node:path"), 1);
76687
76702
  init_swift_wasm64_wamr();
76688
76703
  init_swiftWasm64ConfigContract();
@@ -77142,7 +77157,7 @@ var init_genrule_library_builds = __esm({
77142
77157
  function nativeFrameworkCompiler(moduleRoot, toolchainBin, directory2) {
77143
77158
  const distribution = swiftDistributionAt(moduleRoot);
77144
77159
  const sdk2 = swiftSdkPaths(moduleRoot, toolchainBin);
77145
- const identity2 = (0, import_node_crypto62.createHash)("sha256").update(
77160
+ const identity2 = (0, import_node_crypto63.createHash)("sha256").update(
77146
77161
  JSON.stringify([
77147
77162
  distribution?.id,
77148
77163
  distribution?.link,
@@ -77168,7 +77183,7 @@ function nativeFrameworkCompiler(moduleRoot, toolchainBin, directory2) {
77168
77183
  for (const alias of product.frameworkAliases) {
77169
77184
  if (alias.wasmSdkId !== distribution.wasmSdkId || alias.wasmSdkChecksum !== distribution.wasmSdkChecksum)
77170
77185
  throw new Error(`framework SDK identity differs for ${alias.name}`);
77171
- if ((0, import_node_crypto62.createHash)("sha256").update(import_node_fs100.default.readFileSync(import_node_path103.default.join(moduleRoot, alias.moduleMap))).digest("hex") !== alias.moduleMapSha256)
77186
+ if ((0, import_node_crypto63.createHash)("sha256").update(import_node_fs100.default.readFileSync(import_node_path103.default.join(moduleRoot, alias.moduleMap))).digest("hex") !== alias.moduleMapSha256)
77172
77187
  throw new Error(`framework module map changed ${alias.moduleMap}`);
77173
77188
  const selected = /* @__PURE__ */ new Set();
77174
77189
  const reach = (name3) => {
@@ -77209,7 +77224,7 @@ function nativeFrameworkCompiler(moduleRoot, toolchainBin, directory2) {
77209
77224
  for (const alias of owner.frameworkAliases) {
77210
77225
  if (frameworkResponses[alias.name])
77211
77226
  throw new Error(`ambiguous declared framework ${alias.name}`);
77212
- if ((0, import_node_crypto62.createHash)("sha256").update(import_node_fs100.default.readFileSync(import_node_path103.default.join(sdkRoot, alias.moduleMap))).digest("hex") !== alias.moduleMapSha256)
77227
+ if ((0, import_node_crypto63.createHash)("sha256").update(import_node_fs100.default.readFileSync(import_node_path103.default.join(sdkRoot, alias.moduleMap))).digest("hex") !== alias.moduleMapSha256)
77213
77228
  throw new Error(`framework module map changed ${alias.moduleMap}`);
77214
77229
  const file = import_node_path103.default.join(root, `${alias.name}.rsp`);
77215
77230
  import_node_fs100.default.writeFileSync(file, aliasArtifacts.map(quote3).join("\n") + "\n");
@@ -77303,11 +77318,11 @@ exec ${shellQuote(configuration.compiler)} "$@"
77303
77318
  };
77304
77319
  return { cc: compiler("clang"), cxx: compiler("clang++"), identity: identity2 };
77305
77320
  }
77306
- var import_node_crypto62, import_node_fs100, import_node_path103, v7;
77321
+ var import_node_crypto63, import_node_fs100, import_node_path103, v7;
77307
77322
  var init_native_framework_compiler = __esm({
77308
77323
  "src/native-framework-compiler.ts"() {
77309
77324
  "use strict";
77310
- import_node_crypto62 = require("node:crypto");
77325
+ import_node_crypto63 = require("node:crypto");
77311
77326
  import_node_fs100 = __toESM(require("node:fs"), 1);
77312
77327
  import_node_path103 = __toESM(require("node:path"), 1);
77313
77328
  v7 = __toESM(require("peachsim/vendor/valibot"), 1);
@@ -77328,7 +77343,7 @@ function processAlive(pid) {
77328
77343
  }
77329
77344
  function tryAcquireNumberedLock(directory2, detail = "") {
77330
77345
  (0, import_node_fs101.mkdirSync)(directory2, { recursive: true });
77331
- const claim = (0, import_node_path104.join)(directory2, `claim-${process.pid}-${(0, import_node_crypto63.randomUUID)()}`);
77346
+ const claim = (0, import_node_path104.join)(directory2, `claim-${process.pid}-${(0, import_node_crypto64.randomUUID)()}`);
77332
77347
  for (; ; ) {
77333
77348
  const numbers = (0, import_node_fs101.readdirSync)(directory2).filter((name3) => /^\d+$/.test(name3)).map(Number);
77334
77349
  const top = Math.max(-1, ...numbers);
@@ -77367,11 +77382,11 @@ ${detail}` : ""}`);
77367
77382
  };
77368
77383
  }
77369
77384
  }
77370
- var import_node_crypto63, import_node_fs101, import_node_path104, errorCode2;
77385
+ var import_node_crypto64, import_node_fs101, import_node_path104, errorCode2;
77371
77386
  var init_numbered_lock = __esm({
77372
77387
  "src/numbered-lock.ts"() {
77373
77388
  "use strict";
77374
- import_node_crypto63 = require("node:crypto");
77389
+ import_node_crypto64 = require("node:crypto");
77375
77390
  import_node_fs101 = require("node:fs");
77376
77391
  import_node_path104 = require("node:path");
77377
77392
  errorCode2 = (error) => error instanceof Error && "code" in error ? error.code : void 0;
@@ -77398,7 +77413,7 @@ function llvmIdentity(toolchainBin, release) {
77398
77413
  ] : ["clang", "wasm-ld", "llvm-ar", "llvm-nm", "llvm-strip"].map(
77399
77414
  (name3) => swiftFileChecksum(import_node_path105.default.join(toolchainBin, name3))
77400
77415
  );
77401
- const identity2 = (0, import_node_crypto64.createHash)("sha256").update(JSON.stringify(components)).digest("hex");
77416
+ const identity2 = (0, import_node_crypto65.createHash)("sha256").update(JSON.stringify(components)).digest("hex");
77402
77417
  toolIdentities.set(toolchainBin, identity2);
77403
77418
  return identity2;
77404
77419
  }
@@ -77406,7 +77421,7 @@ function cSdkIdentity(sysroot, resourceDir, frameworks) {
77406
77421
  const key2 = JSON.stringify([sysroot, resourceDir, frameworks]);
77407
77422
  const cached2 = sysrootIdentities.get(key2);
77408
77423
  if (cached2) return cached2;
77409
- const hash = (0, import_node_crypto64.createHash)("sha256");
77424
+ const hash = (0, import_node_crypto65.createHash)("sha256");
77410
77425
  const add = (root, relative3) => {
77411
77426
  const file = import_node_path105.default.join(root, relative3);
77412
77427
  const stat = import_node_fs102.default.statSync(file, { throwIfNoEntry: false });
@@ -77441,7 +77456,7 @@ function frameworkProbeIdentity(moduleRoot, toolchainBin) {
77441
77456
  import_node_fs102.default.readFileSync(import_node_path105.default.join(moduleRoot, SWIFT_FRAMEWORK_PRODUCT_FILE), "utf8")
77442
77457
  )
77443
77458
  );
77444
- const hash = (0, import_node_crypto64.createHash)("sha256").update(
77459
+ const hash = (0, import_node_crypto65.createHash)("sha256").update(
77445
77460
  JSON.stringify([
77446
77461
  headers,
77447
77462
  distribution.link,
@@ -77451,7 +77466,7 @@ function frameworkProbeIdentity(moduleRoot, toolchainBin) {
77451
77466
  ])
77452
77467
  );
77453
77468
  const objects = distribution.objects.map((file) => [file, distribution.files[file]]);
77454
- const objectKey = (0, import_node_crypto64.createHash)("sha256").update(JSON.stringify(objects)).digest("hex");
77469
+ const objectKey = (0, import_node_crypto65.createHash)("sha256").update(JSON.stringify(objects)).digest("hex");
77455
77470
  const cache = import_node_path105.default.join(cacheDir4, "framework-symbols-by-object", objectKey);
77456
77471
  if (!import_node_fs102.default.existsSync(cache)) {
77457
77472
  import_node_fs102.default.mkdirSync(import_node_path105.default.dirname(cache), { recursive: true });
@@ -77486,7 +77501,7 @@ function frameworkProbeIdentity(moduleRoot, toolchainBin) {
77486
77501
  const digest2 = import_node_path105.default.join(temporary, "digest");
77487
77502
  import_node_fs102.default.writeFileSync(
77488
77503
  digest2,
77489
- (0, import_node_crypto64.createHash)("sha256").update(symbols.sort().join("\n")).digest("hex")
77504
+ (0, import_node_crypto65.createHash)("sha256").update(symbols.sort().join("\n")).digest("hex")
77490
77505
  );
77491
77506
  import_node_fs102.default.renameSync(digest2, cache);
77492
77507
  } finally {
@@ -77541,7 +77556,7 @@ function buildable(declaration) {
77541
77556
  return builderOf(declaration) !== null && declaration.dependencies.every(buildable);
77542
77557
  }
77543
77558
  function declarationInputs(declaration, builder, toolchain, dependencyKeys) {
77544
- const hash = (0, import_node_crypto64.createHash)("sha256");
77559
+ const hash = (0, import_node_crypto65.createHash)("sha256");
77545
77560
  const files2 = declaration.sources.filter(
77546
77561
  (source) => !source.generator && !source.file.split(import_node_path105.default.sep).includes(".git")
77547
77562
  ).map((source) => import_node_path105.default.relative(declaration.packageDir, source.file));
@@ -77675,12 +77690,12 @@ function genruleArchive(declaration, library, moduleRoot) {
77675
77690
  }
77676
77691
  return combined;
77677
77692
  }
77678
- var import_node_child_process51, import_node_crypto64, import_node_fs102, import_node_os21, import_node_path105, v8, BUILDERS, cacheDir4, toolIdentities, sysrootIdentities, GENRULE_RECIPE, GENRULE_BUNDLE;
77693
+ var import_node_child_process51, import_node_crypto65, import_node_fs102, import_node_os21, import_node_path105, v8, BUILDERS, cacheDir4, toolIdentities, sysrootIdentities, GENRULE_RECIPE, GENRULE_BUNDLE;
77679
77694
  var init_genrule_archives = __esm({
77680
77695
  "src/genrule-archives.ts"() {
77681
77696
  "use strict";
77682
77697
  import_node_child_process51 = require("node:child_process");
77683
- import_node_crypto64 = require("node:crypto");
77698
+ import_node_crypto65 = require("node:crypto");
77684
77699
  import_node_fs102 = __toESM(require("node:fs"), 1);
77685
77700
  import_node_os21 = __toESM(require("node:os"), 1);
77686
77701
  import_node_path105 = __toESM(require("node:path"), 1);
@@ -77788,7 +77803,7 @@ function privateSentrySlice(entry, moduleRoot) {
77788
77803
  function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact) {
77789
77804
  if (standin.module !== SENTRY_SWIFT_SLICE.name) return standin;
77790
77805
  const native = simulatorNativeLibrary(artifact());
77791
- if (!native || (0, import_node_crypto65.createHash)("sha256").update(import_node_fs103.default.readFileSync(native.file)).digest("hex") !== SENTRY_SWIFT_SLICE.nativeSha256)
77806
+ if (!native || (0, import_node_crypto66.createHash)("sha256").update(import_node_fs103.default.readFileSync(native.file)).digest("hex") !== SENTRY_SWIFT_SLICE.nativeSha256)
77792
77807
  return standin;
77793
77808
  if (configured)
77794
77809
  throw new Error(
@@ -77846,12 +77861,12 @@ function nativeSwiftSlice(standin, moduleRoot, generator, configured, artifact)
77846
77861
  }
77847
77862
  };
77848
77863
  }
77849
- var import_node_child_process52, import_node_crypto65, import_node_fs103, import_node_os22, import_node_path106, SENTRY_SWIFT_SLICE;
77864
+ var import_node_child_process52, import_node_crypto66, import_node_fs103, import_node_os22, import_node_path106, SENTRY_SWIFT_SLICE;
77850
77865
  var init_native_swift_slices = __esm({
77851
77866
  "src/native-swift-slices.ts"() {
77852
77867
  "use strict";
77853
77868
  import_node_child_process52 = require("node:child_process");
77854
- import_node_crypto65 = require("node:crypto");
77869
+ import_node_crypto66 = require("node:crypto");
77855
77870
  import_node_fs103 = __toESM(require("node:fs"), 1);
77856
77871
  import_node_os22 = __toESM(require("node:os"), 1);
77857
77872
  import_node_path106 = __toESM(require("node:path"), 1);
@@ -78659,7 +78674,7 @@ function treeDigest2(root) {
78659
78674
  }).join("\n");
78660
78675
  const memo2 = digests.get(`tree\0${root}`);
78661
78676
  if (memo2?.stamp === stamp) return memo2.digest;
78662
- const hash = (0, import_node_crypto66.createHash)("sha256");
78677
+ const hash = (0, import_node_crypto67.createHash)("sha256");
78663
78678
  for (const name3 of names) {
78664
78679
  hash.update(`${name3}\0`);
78665
78680
  hash.update(import_node_fs107.default.readFileSync(import_node_path109.default.join(root, name3)));
@@ -78706,7 +78721,7 @@ function swiftBinaryFramework(binary2) {
78706
78721
  const found3 = locateXcframework(import_node_path109.default.join(dir, "tree"));
78707
78722
  if (found3) return { dir: found3, digest: stored.sha };
78708
78723
  }
78709
- const sha2 = (0, import_node_crypto66.createHash)("sha256").update(import_node_fs107.default.readFileSync(binary2.dir)).digest("hex");
78724
+ const sha2 = (0, import_node_crypto67.createHash)("sha256").update(import_node_fs107.default.readFileSync(binary2.dir)).digest("hex");
78710
78725
  if (sha2 !== stored?.sha || !locateXcframework(import_node_path109.default.join(dir, "tree"))) {
78711
78726
  import_node_fs107.default.rmSync(dir, { recursive: true, force: true });
78712
78727
  import_node_fs107.default.mkdirSync(import_node_path109.default.join(dir, "tree"), { recursive: true });
@@ -78718,7 +78733,7 @@ function swiftBinaryFramework(binary2) {
78718
78733
  return { dir: found2, digest: sha2 };
78719
78734
  }
78720
78735
  if (stored && import_node_fs107.default.existsSync(archive)) {
78721
- const sha2 = (0, import_node_crypto66.createHash)("sha256").update(import_node_fs107.default.readFileSync(archive)).digest("hex");
78736
+ const sha2 = (0, import_node_crypto67.createHash)("sha256").update(import_node_fs107.default.readFileSync(archive)).digest("hex");
78722
78737
  if (sha2 !== expected)
78723
78738
  throw new Error(`archive checksum ${sha2} is not the declared checksum ${expected}`);
78724
78739
  const found2 = locateXcframework(import_node_path109.default.join(dir, "tree"));
@@ -78727,7 +78742,7 @@ function swiftBinaryFramework(binary2) {
78727
78742
  import_node_fs107.default.rmSync(dir, { recursive: true, force: true });
78728
78743
  import_node_fs107.default.mkdirSync(import_node_path109.default.join(dir, "tree"), { recursive: true });
78729
78744
  exec("curl", ["-fsSL", "--retry", "2", "-o", archive, binary2.url]);
78730
- const sha = (0, import_node_crypto66.createHash)("sha256").update(import_node_fs107.default.readFileSync(archive)).digest("hex");
78745
+ const sha = (0, import_node_crypto67.createHash)("sha256").update(import_node_fs107.default.readFileSync(archive)).digest("hex");
78731
78746
  if (sha !== expected) {
78732
78747
  import_node_fs107.default.rmSync(dir, { recursive: true, force: true });
78733
78748
  throw new Error(`archive checksum ${sha} is not the declared checksum ${expected}`);
@@ -78852,7 +78867,7 @@ function binaryHeaderSearchPaths(binary2, root, workspaceRoot2, declaredFramewor
78852
78867
  });
78853
78868
  }
78854
78869
  }
78855
- const declaredDigest = (0, import_node_crypto66.createHash)("sha256");
78870
+ const declaredDigest = (0, import_node_crypto67.createHash)("sha256");
78856
78871
  for (const framework of providedFrameworks)
78857
78872
  declaredDigest.update(`provided/${import_node_path109.default.relative(artifact.dir, framework)}\0`);
78858
78873
  for (const [framework, { declared: names, imports: imports2, sdkHeader }] of declared)
@@ -78922,7 +78937,7 @@ function binaryHeaderSearchPaths(binary2, root, workspaceRoot2, declaredFramewor
78922
78937
  import_node_fs107.default.copyFileSync(surface.modulemap, modulemap);
78923
78938
  }
78924
78939
  }
78925
- const contents2 = (0, import_node_crypto66.createHash)("sha256");
78940
+ const contents2 = (0, import_node_crypto67.createHash)("sha256");
78926
78941
  for (const framework of providedFrameworks.filter((item) => !declared.has(item))) {
78927
78942
  const modulemap = import_node_path109.default.join(
78928
78943
  pending,
@@ -80337,7 +80352,7 @@ function crateSourceRoots(manifest, searchRoot) {
80337
80352
  return roots;
80338
80353
  }
80339
80354
  function crateSourceDigest(manifest, searchRoot) {
80340
- const hash = (0, import_node_crypto66.createHash)("sha256");
80355
+ const hash = (0, import_node_crypto67.createHash)("sha256");
80341
80356
  const walk4 = (dir, root) => {
80342
80357
  for (const entry of import_node_fs107.default.readdirSync(dir, { withFileTypes: true }).sort((left, right) => left.name < right.name ? -1 : 1)) {
80343
80358
  const full = import_node_path109.default.join(dir, entry.name);
@@ -80784,7 +80799,7 @@ function standinGenerationInputs(binaries, toolchain, configuredBehavior = {}, s
80784
80799
  ...swiftSources.flags,
80785
80800
  ...swiftSources.sources.flatMap((source) => [
80786
80801
  source,
80787
- (0, import_node_crypto66.createHash)("sha256").update(import_node_fs107.default.readFileSync(import_node_path109.default.join(binary2.dir, source))).digest("hex")
80802
+ (0, import_node_crypto67.createHash)("sha256").update(import_node_fs107.default.readFileSync(import_node_path109.default.join(binary2.dir, source))).digest("hex")
80788
80803
  ])
80789
80804
  );
80790
80805
  continue;
@@ -80820,7 +80835,7 @@ function standinGenerationInputs(binaries, toolchain, configuredBehavior = {}, s
80820
80835
  );
80821
80836
  }
80822
80837
  }
80823
- return (0, import_node_crypto66.createHash)("sha256").update(parts.join("\0")).digest("hex");
80838
+ return (0, import_node_crypto67.createHash)("sha256").update(parts.join("\0")).digest("hex");
80824
80839
  }
80825
80840
  function missingArtifactGap(binary2) {
80826
80841
  if (swiftBinaryOnDisk(binary2)) return null;
@@ -80902,7 +80917,7 @@ ${roots.map((file) => ` header "${file}"`).join("\n")}
80902
80917
  return NO_IMPORTABLE_SURFACE;
80903
80918
  }
80904
80919
  const configured = new Map(Object.entries(behavior));
80905
- const hash = (0, import_node_crypto66.createHash)("sha256").update(
80920
+ const hash = (0, import_node_crypto67.createHash)("sha256").update(
80906
80921
  standinGenerationInputs([binary2], toolchain, behavior)
80907
80922
  );
80908
80923
  hash.update(digest2);
@@ -81142,7 +81157,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
81142
81157
  );
81143
81158
  if (binary2.moduleSources !== void 0)
81144
81159
  frameworkInputs.push(
81145
- `${binary2.target}\0${(0, import_node_crypto66.createHash)("sha256").update(
81160
+ `${binary2.target}\0${(0, import_node_crypto67.createHash)("sha256").update(
81146
81161
  [iosSdkId(), ...swiftSources.flags, ...swiftSources.sources, ...texts].join(
81147
81162
  "\0"
81148
81163
  )
@@ -81183,7 +81198,7 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
81183
81198
  import_node_fs107.default.mkdirSync(sourceFrameworks);
81184
81199
  const frameworks = {
81185
81200
  dirs: [...frameworkDirs, sourceFrameworks].sort(),
81186
- digest: (0, import_node_crypto66.createHash)("sha256").update(frameworkInputs.sort().join("\0")).digest("hex"),
81201
+ digest: (0, import_node_crypto67.createHash)("sha256").update(frameworkInputs.sort().join("\0")).digest("hex"),
81187
81202
  surfaces: frameworkSurfaces
81188
81203
  };
81189
81204
  const siblings = new Map(
@@ -81302,12 +81317,12 @@ async function buildStandins(binaries, toolchain, provided, behavior) {
81302
81317
  import_node_fs107.default.rmSync(modules, { recursive: true, force: true });
81303
81318
  }
81304
81319
  }
81305
- var import_node_child_process54, import_node_crypto66, import_node_fs107, import_node_path109, TRIPLE, cacheDir5, key, digests, isBinaryLibraryFile, OBJC_IMPORT, files, OBJC, NO_IMPORTABLE_SURFACE, OBJC_ATTRIBUTE, TYPE_DECLARATION, OPTIONAL_REQUIREMENT, WASM_EH_FLAGS, OBJC_UNREPRESENTABLE, INERT_VALUE, identChar, RUST_TARGET, UNSEARCHED, RUST_TOOLCHAIN, built;
81320
+ var import_node_child_process54, import_node_crypto67, import_node_fs107, import_node_path109, TRIPLE, cacheDir5, key, digests, isBinaryLibraryFile, OBJC_IMPORT, files, OBJC, NO_IMPORTABLE_SURFACE, OBJC_ATTRIBUTE, TYPE_DECLARATION, OPTIONAL_REQUIREMENT, WASM_EH_FLAGS, OBJC_UNREPRESENTABLE, INERT_VALUE, identChar, RUST_TARGET, UNSEARCHED, RUST_TOOLCHAIN, built;
81306
81321
  var init_swift_standins = __esm({
81307
81322
  "src/swift-standins.ts"() {
81308
81323
  "use strict";
81309
81324
  import_node_child_process54 = require("node:child_process");
81310
- import_node_crypto66 = require("node:crypto");
81325
+ import_node_crypto67 = require("node:crypto");
81311
81326
  import_node_fs107 = __toESM(require("node:fs"), 1);
81312
81327
  import_node_path109 = __toESM(require("node:path"), 1);
81313
81328
  init_forked_script_contract();
@@ -81337,7 +81352,7 @@ var init_swift_standins = __esm({
81337
81352
  init_swiftTargetContract();
81338
81353
  TRIPLE = SWIFT_WASM_TRIPLE;
81339
81354
  cacheDir5 = import_node_path109.default.join(cacheDir(), "swift-standins");
81340
- key = (...parts) => (0, import_node_crypto66.createHash)("sha256").update(parts.join("\0")).digest("hex").slice(0, 32);
81355
+ key = (...parts) => (0, import_node_crypto67.createHash)("sha256").update(parts.join("\0")).digest("hex").slice(0, 32);
81341
81356
  digests = /* @__PURE__ */ new Map();
81342
81357
  isBinaryLibraryFile = (file) => /\.(?:a|dylib|o|tbd)$/i.test(file);
81343
81358
  OBJC_IMPORT = /#\s*(?:import|include)\s*[<"](?:[\w+-]+\/)?([\w+.-]+\.h)[>"]/g;
@@ -81500,7 +81515,7 @@ function compiledFrameworkImports(app, products) {
81500
81515
  function sha256Hex5(bytes) {
81501
81516
  if (typeof Bun !== "undefined")
81502
81517
  return new Bun.CryptoHasher("sha256").update(bytes).digest("hex");
81503
- return (0, import_node_crypto67.createHash)("sha256").update(bytes).digest("hex");
81518
+ return (0, import_node_crypto68.createHash)("sha256").update(bytes).digest("hex");
81504
81519
  }
81505
81520
  function regularFileStamp(file) {
81506
81521
  const stat = import_node_fs108.default.lstatSync(file, { bigint: true, throwIfNoEntry: false });
@@ -81543,7 +81558,7 @@ function cachedBinaryFileDigest(file) {
81543
81558
  const digest2 = sha256Hex5(import_node_fs108.default.readFileSync(real));
81544
81559
  binaryFileDigests.set(real, { stamp, digest: digest2 });
81545
81560
  import_node_fs108.default.mkdirSync(dir, { recursive: true });
81546
- const partial = `${record4}.${process.pid}.${(0, import_node_crypto67.randomUUID)()}`;
81561
+ const partial = `${record4}.${process.pid}.${(0, import_node_crypto68.randomUUID)()}`;
81547
81562
  import_node_fs108.default.writeFileSync(partial, JSON.stringify({ stamp, digest: digest2 }));
81548
81563
  import_node_fs108.default.renameSync(partial, record4);
81549
81564
  return digest2;
@@ -82813,12 +82828,12 @@ ${reported.trimEnd() || `Clang exited with status ${result.status}`}`;
82813
82828
  import_node_fs108.default.closeSync(descriptor);
82814
82829
  }
82815
82830
  }
82816
- var import_node_child_process55, import_node_crypto67, import_node_fs108, import_node_path110, SwiftObjCCompilationError, isDirectory4, isSdkInclude, FRAMEWORK_IMPORT, OWN_IMPORT, binaryFileDigests, objcInputSnapshots;
82831
+ var import_node_child_process55, import_node_crypto68, import_node_fs108, import_node_path110, SwiftObjCCompilationError, isDirectory4, isSdkInclude, FRAMEWORK_IMPORT, OWN_IMPORT, binaryFileDigests, objcInputSnapshots;
82817
82832
  var init_swift_objc_compile = __esm({
82818
82833
  "src/swift-objc-compile.ts"() {
82819
82834
  "use strict";
82820
82835
  import_node_child_process55 = require("node:child_process");
82821
- import_node_crypto67 = require("node:crypto");
82836
+ import_node_crypto68 = require("node:crypto");
82822
82837
  import_node_fs108 = __toESM(require("node:fs"), 1);
82823
82838
  import_node_path110 = __toESM(require("node:path"), 1);
82824
82839
  init_mapLimit();
@@ -86856,11 +86871,11 @@ function coreDataModelDirectories(files2) {
86856
86871
  }
86857
86872
  return [...models].sort();
86858
86873
  }
86859
- var import_node_crypto68, import_node_fs112, import_node_path114, attributeTypes, deleteRules, EXTERNAL_BINARY, PRESERVE_AFTER_DELETION, yes, common, uid, NULL, classChains, KeyedArchive, sha2563;
86874
+ var import_node_crypto69, import_node_fs112, import_node_path114, attributeTypes, deleteRules, EXTERNAL_BINARY, PRESERVE_AFTER_DELETION, yes, common, uid, NULL, classChains, KeyedArchive, sha2563;
86860
86875
  var init_core_data_model = __esm({
86861
86876
  "src/core-data-model.ts"() {
86862
86877
  "use strict";
86863
- import_node_crypto68 = require("node:crypto");
86878
+ import_node_crypto69 = require("node:crypto");
86864
86879
  import_node_fs112 = require("node:fs");
86865
86880
  import_node_path114 = __toESM(require("node:path"), 1);
86866
86881
  init_core_data_entity_classes();
@@ -86979,7 +86994,7 @@ var init_core_data_model = __esm({
86979
86994
  });
86980
86995
  }
86981
86996
  };
86982
- sha2563 = (...parts) => (0, import_node_crypto68.createHash)("sha256").update(
86997
+ sha2563 = (...parts) => (0, import_node_crypto69.createHash)("sha256").update(
86983
86998
  Buffer.concat(
86984
86999
  parts.map(
86985
87000
  (part) => Array.isArray(part) ? Buffer.from(part) : Buffer.from(part)
@@ -89171,7 +89186,7 @@ async function buildRiveRuntimeDependencies(checkout, moduleRoot) {
89171
89186
  ];
89172
89187
  const objc = [...swiftObjCRuntimeFlags, "-fobjc-exceptions"];
89173
89188
  const xcode = (0, import_node_child_process57.execFileSync)("xcodebuild", ["-version"], { encoding: "utf8" });
89174
- const key2 = (0, import_node_crypto69.createHash)("sha256").update(
89189
+ const key2 = (0, import_node_crypto70.createHash)("sha256").update(
89175
89190
  JSON.stringify([
89176
89191
  RECIPE,
89177
89192
  (0, import_node_child_process57.execFileSync)("git", ["-C", runtime, "rev-parse", "HEAD"], {
@@ -89382,12 +89397,12 @@ exec ${quote3(import_node_path115.default.join(toolchainBin, "llvm-ar"))} rcs "$
89382
89397
  );
89383
89398
  return directory2;
89384
89399
  }
89385
- var import_node_child_process57, import_node_crypto69, import_node_fs113, import_node_os23, import_node_path115, import_promises10, RECIPE, CONFIG, RUNTIME_LIBRARIES;
89400
+ var import_node_child_process57, import_node_crypto70, import_node_fs113, import_node_os23, import_node_path115, import_promises10, RECIPE, CONFIG, RUNTIME_LIBRARIES;
89386
89401
  var init_rive_runtime_dependencies = __esm({
89387
89402
  "src/rive-runtime-dependencies.ts"() {
89388
89403
  "use strict";
89389
89404
  import_node_child_process57 = require("node:child_process");
89390
- import_node_crypto69 = require("node:crypto");
89405
+ import_node_crypto70 = require("node:crypto");
89391
89406
  import_node_fs113 = __toESM(require("node:fs"), 1);
89392
89407
  import_node_os23 = __toESM(require("node:os"), 1);
89393
89408
  import_node_path115 = __toESM(require("node:path"), 1);
@@ -90244,7 +90259,7 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
90244
90259
  (binary2) => binary2.publicHeaders === void 0 && binary2.placeholder === void 0 && swiftBinaryOnDisk(binary2) && binaryHeaderSearchPaths(binary2, staged, app.rootDir).headers.length === 1
90245
90260
  ))
90246
90261
  return [...binaries];
90247
- const hash = (0, import_node_crypto70.createHash)("sha256");
90262
+ const hash = (0, import_node_crypto71.createHash)("sha256");
90248
90263
  hash.update(
90249
90264
  JSON.stringify([
90250
90265
  inputs2.targets,
@@ -90453,12 +90468,12 @@ async function xcodeCxxReachable(app, binaries, moduleRoot, clang) {
90453
90468
  );
90454
90469
  return result;
90455
90470
  }
90456
- var import_node_child_process59, import_node_crypto70, import_node_fs115, import_node_path117, cachedInputs;
90471
+ var import_node_child_process59, import_node_crypto71, import_node_fs115, import_node_path117, cachedInputs;
90457
90472
  var init_swift_cxx_reachable = __esm({
90458
90473
  "src/swift-cxx-reachable.ts"() {
90459
90474
  "use strict";
90460
90475
  import_node_child_process59 = require("node:child_process");
90461
- import_node_crypto70 = require("node:crypto");
90476
+ import_node_crypto71 = require("node:crypto");
90462
90477
  import_node_fs115 = __toESM(require("node:fs"), 1);
90463
90478
  import_node_path117 = __toESM(require("node:path"), 1);
90464
90479
  init_is_record();
@@ -90656,7 +90671,7 @@ function nativeSourceDescriptor(packagePath) {
90656
90671
  function swiftArtifactContentDigest(bytes) {
90657
90672
  let digest2 = swiftArtifactDigests.get(bytes);
90658
90673
  if (!digest2) {
90659
- digest2 = (0, import_node_crypto71.createHash)("sha256").update(bytes).digest("hex");
90674
+ digest2 = (0, import_node_crypto72.createHash)("sha256").update(bytes).digest("hex");
90660
90675
  swiftArtifactDigests.set(bytes, digest2);
90661
90676
  }
90662
90677
  return digest2;
@@ -90784,7 +90799,7 @@ async function wasmPortableAssembly(binaries, toolchainBin, moduleRoot) {
90784
90799
  const clang = import_node_path119.default.join(toolchainBin, "clang");
90785
90800
  const empty = (binary2, file) => {
90786
90801
  const source = import_node_path119.default.join(binary2.dir, file);
90787
- const key2 = (0, import_node_crypto71.createHash)("sha256").update(
90802
+ const key2 = (0, import_node_crypto72.createHash)("sha256").update(
90788
90803
  JSON.stringify([
90789
90804
  clang,
90790
90805
  sdk2.sysroot,
@@ -90829,7 +90844,7 @@ async function wasmPortableAssembly(binaries, toolchainBin, moduleRoot) {
90829
90844
  return new Set(portable.flat());
90830
90845
  }
90831
90846
  async function swiftPackages(entry, app) {
90832
- const stamp = (file) => import_node_fs117.default.existsSync(file) ? (0, import_node_crypto71.createHash)("sha256").update(import_node_fs117.default.readFileSync(file)).digest("hex") : null;
90847
+ const stamp = (file) => import_node_fs117.default.existsSync(file) ? (0, import_node_crypto72.createHash)("sha256").update(import_node_fs117.default.readFileSync(file)).digest("hex") : null;
90833
90848
  const owners = [...app.frameworks, app].map((target) => ({
90834
90849
  module: target.moduleName,
90835
90850
  products: target.packageProducts ?? []
@@ -91993,7 +92008,7 @@ async function buildSwiftResourceTable(project, baseUrl, inputs2) {
91993
92008
  const source = new TextDecoder("utf-8", { fatal: true, ignoreBOM: true }).decode(
91994
92009
  bytes
91995
92010
  );
91996
- const sha2565 = (0, import_node_crypto71.createHash)("sha256").update(bytes).digest("hex");
92011
+ const sha2565 = (0, import_node_crypto72.createHash)("sha256").update(bytes).digest("hex");
91997
92012
  const bundle = swiftResourceBundleForFile(bundles, key2);
91998
92013
  if (!bundle && inputs2["Package.swift"])
91999
92014
  throw new Error(`metal source ${key2} has no resource target bundle`);
@@ -92016,7 +92031,7 @@ async function buildSwiftResourceTable(project, baseUrl, inputs2) {
92016
92031
  const bytes = readPackageFile2(project.packagePath, disk, limits.imageBytes);
92017
92032
  pdfs.set(file, {
92018
92033
  file: disk,
92019
- sha256: (0, import_node_crypto71.createHash)("sha256").update(bytes).digest("hex")
92034
+ sha256: (0, import_node_crypto72.createHash)("sha256").update(bytes).digest("hex")
92020
92035
  });
92021
92036
  }
92022
92037
  const pdfRasters = rasterizePdfFiles([...pdfs.values()], limits);
@@ -92062,7 +92077,7 @@ async function buildSwiftResourceTable(project, baseUrl, inputs2) {
92062
92077
  throw new Error("swift image pack exceeds the compile service caps");
92063
92078
  }
92064
92079
  imageBytes += bytes.length;
92065
- const hash = (0, import_node_crypto71.createHash)("sha256").update(bytes).digest("hex").slice(0, 16);
92080
+ const hash = (0, import_node_crypto72.createHash)("sha256").update(bytes).digest("hex").slice(0, 16);
92066
92081
  const bundle = table[bundlePath] ?? /* @__PURE__ */ Object.create(null);
92067
92082
  const pixelSize = ext === ".png" ? readPngDimensions(bytes) : null;
92068
92083
  const variant2 = {
@@ -92369,7 +92384,7 @@ function updateSwiftConfigStamp(hash, packagePath) {
92369
92384
  hash.update(JSON.stringify(gates.map((name3) => swiftWasm64PlatformGates[name3])));
92370
92385
  }
92371
92386
  function sourceStamp(packagePath, moduleRootOverride, hosted = false) {
92372
- const hash = (0, import_node_crypto71.createHash)("sha256");
92387
+ const hash = (0, import_node_crypto72.createHash)("sha256");
92373
92388
  hash.update(packagePath);
92374
92389
  updateSwiftConfigStamp(hash, packagePath);
92375
92390
  const libraries = projects().get(packagePath)?.libraries;
@@ -92398,7 +92413,7 @@ function sourceStamp(packagePath, moduleRootOverride, hosted = false) {
92398
92413
  return hash.digest("hex").slice(0, 16);
92399
92414
  }
92400
92415
  function sourceContentStamp(packagePath, moduleRootOverride) {
92401
- const hash = (0, import_node_crypto71.createHash)("sha256");
92416
+ const hash = (0, import_node_crypto72.createHash)("sha256");
92402
92417
  hash.update(compilerSourceDigest);
92403
92418
  updateSwiftConfigStamp(hash, packagePath);
92404
92419
  const libraries = projects().get(packagePath)?.libraries;
@@ -92430,7 +92445,7 @@ function moduleStamp(packagePath, moduleRootOverride, hosted) {
92430
92445
  (root) => import_node_fs117.default.existsSync(import_node_path119.default.join(root, "toolchain.json"))
92431
92446
  );
92432
92447
  if (!moduleRoot) return "";
92433
- const hash = (0, import_node_crypto71.createHash)("sha256");
92448
+ const hash = (0, import_node_crypto72.createHash)("sha256");
92434
92449
  hash.update(moduleRoot);
92435
92450
  for (const relative3 of swiftModuleInputFiles(moduleRoot)) {
92436
92451
  hash.update(relative3);
@@ -92440,7 +92455,7 @@ function moduleStamp(packagePath, moduleRootOverride, hosted) {
92440
92455
  }
92441
92456
  function otherInputs(input, standalone) {
92442
92457
  const { files: _files, ...rest } = input;
92443
- return (0, import_node_crypto71.createHash)("sha256").update(JSON.stringify({ ...rest, standalone })).digest("hex");
92458
+ return (0, import_node_crypto72.createHash)("sha256").update(JSON.stringify({ ...rest, standalone })).digest("hex");
92444
92459
  }
92445
92460
  function icuUrl(origin, artifact) {
92446
92461
  return "url" in artifact.icu ? artifact.icu.url : `${origin}${ICU_PATH}${swiftIcuAddress(artifact.icu)}`;
@@ -92455,7 +92470,7 @@ function standinLibraries(binaries, standins, rootDir, toolchain, rustWasm64) {
92455
92470
  for (const standin of standins) {
92456
92471
  if (!standin.prebuilt) continue;
92457
92472
  const bytes = Buffer.from(standin.prebuilt.library, "base64");
92458
- const digest2 = (0, import_node_crypto71.createHash)("sha256").update(bytes).digest("hex");
92473
+ const digest2 = (0, import_node_crypto72.createHash)("sha256").update(bytes).digest("hex");
92459
92474
  const dir = import_node_path119.default.join(swiftCacheDir(), "native-archives", digest2);
92460
92475
  import_node_fs117.default.mkdirSync(dir, { recursive: true });
92461
92476
  const library = import_node_path119.default.join(dir, `lib${standin.module}.a`);
@@ -92797,7 +92812,7 @@ function swiftBuildRoot(packagePath, moduleRoot) {
92797
92812
  return import_node_path119.default.join(
92798
92813
  swiftCacheDir(),
92799
92814
  "swift-builds",
92800
- (0, import_node_crypto71.createHash)("sha256").update(`${compilerKey}\0${buildKeyPath}`).digest("hex").slice(0, 16)
92815
+ (0, import_node_crypto72.createHash)("sha256").update(`${compilerKey}\0${buildKeyPath}`).digest("hex").slice(0, 16)
92801
92816
  );
92802
92817
  }
92803
92818
  function installedWorkspaceInput(packagePath, entry, moduleRoot) {
@@ -93098,7 +93113,7 @@ async function fetchSwiftDyldTable(moduleUrl, module2, signal) {
93098
93113
  const response = await fetch(url, { signal });
93099
93114
  if (!response.ok) throw new Error(`swift compile: ${url} answered ${response.status}`);
93100
93115
  const bytes = Buffer.from(await response.arrayBuffer());
93101
- if (bytes.length !== byteLength || (0, import_node_crypto71.createHash)("sha256").update(bytes).digest("hex") !== sha2565)
93116
+ if (bytes.length !== byteLength || (0, import_node_crypto72.createHash)("sha256").update(bytes).digest("hex") !== sha2565)
93102
93117
  throw new Error(`swift compile: ${url} does not match its module's index`);
93103
93118
  return { dyldTable: { sha256: sha2565, bytes } };
93104
93119
  }
@@ -93177,13 +93192,13 @@ function swiftArtifactIsAvailable(origin, url, hash) {
93177
93192
  (project) => project.artifacts.some((artifact) => artifact.hash === hash)
93178
93193
  );
93179
93194
  }
93180
- var import_node_async_hooks2, import_node_child_process61, import_node_crypto71, import_node_fs117, import_node_os25, import_node_path119, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, swiftArtifactDigests, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
93195
+ var import_node_async_hooks2, import_node_child_process61, import_node_crypto72, import_node_fs117, import_node_os25, import_node_path119, ARTIFACT_PATH, RESOURCE_PATH, ICU_PATH, SKIP_ROOT_DIRS, NATIVE_DESCRIPTOR, NATIVE_GLUE, SwiftMissingModulesError, swiftArtifactDigests, sharedProjects, projectScope, projects, sharedSourceEntries, sourceEntries, sharedXcodeProjects, xcodeProjects, preparedScriptInputs, emptyWasmAssembly, XCODE_APP_DIR, XCODE_FRAMEWORKS_DIR, XCODE_PACKAGES_DIR, layoutScope, HOSTED_LIMITS, LOCAL_LIMITS, inputLimits, RESOURCE_CONTENT_TYPES, API_GAP_PATTERNS, IOS_SDK_FRAMEWORKS;
93181
93196
  var init_swift_host = __esm({
93182
93197
  "src/swift-host.ts"() {
93183
93198
  "use strict";
93184
93199
  import_node_async_hooks2 = require("node:async_hooks");
93185
93200
  import_node_child_process61 = require("node:child_process");
93186
- import_node_crypto71 = require("node:crypto");
93201
+ import_node_crypto72 = require("node:crypto");
93187
93202
  import_node_fs117 = __toESM(require("node:fs"), 1);
93188
93203
  import_node_os25 = __toESM(require("node:os"), 1);
93189
93204
  import_node_path119 = __toESM(require("node:path"), 1);
@@ -93413,7 +93428,7 @@ function hashTree(root) {
93413
93428
  for (const entry of import_node_fs120.default.readdirSync(root, { recursive: true, withFileTypes: true })) {
93414
93429
  if (!entry.isFile()) continue;
93415
93430
  const file = import_node_path122.default.join(entry.parentPath, entry.name);
93416
- hashes[import_node_path122.default.relative(root, file).split(import_node_path122.default.sep).join("/")] = (0, import_node_crypto72.createHash)("sha256").update(import_node_fs120.default.readFileSync(file)).digest("hex");
93431
+ hashes[import_node_path122.default.relative(root, file).split(import_node_path122.default.sep).join("/")] = (0, import_node_crypto73.createHash)("sha256").update(import_node_fs120.default.readFileSync(file)).digest("hex");
93417
93432
  }
93418
93433
  return Object.fromEntries(Object.entries(hashes).sort(([a], [b]) => a < b ? -1 : 1));
93419
93434
  }
@@ -93463,12 +93478,12 @@ async function runInstalledTurboCodegen(appRoot, outDir, signal) {
93463
93478
  files: hashTree(generatedRoot)
93464
93479
  };
93465
93480
  }
93466
- var import_node_child_process62, import_node_crypto72, import_node_fs120, import_node_module15, import_node_path122, import_node_util16, run10, RENDERER_PODS, RENDERER_PODS_VERSIONED, COMPILED_SOURCE, LEGACY_BRIDGE_DEV_SUPPORT, LEGACY_BRIDGE_PODS, LEGACY_BRIDGE_PODS_VERSIONED;
93481
+ var import_node_child_process62, import_node_crypto73, import_node_fs120, import_node_module15, import_node_path122, import_node_util16, run10, RENDERER_PODS, RENDERER_PODS_VERSIONED, COMPILED_SOURCE, LEGACY_BRIDGE_DEV_SUPPORT, LEGACY_BRIDGE_PODS, LEGACY_BRIDGE_PODS_VERSIONED;
93467
93482
  var init_turbo_codegen_intake = __esm({
93468
93483
  "src/turbo-codegen-intake.ts"() {
93469
93484
  "use strict";
93470
93485
  import_node_child_process62 = require("node:child_process");
93471
- import_node_crypto72 = require("node:crypto");
93486
+ import_node_crypto73 = require("node:crypto");
93472
93487
  import_node_fs120 = __toESM(require("node:fs"), 1);
93473
93488
  import_node_module15 = require("node:module");
93474
93489
  import_node_path122 = __toESM(require("node:path"), 1);
@@ -97347,11 +97362,11 @@ extern "C" __attribute__((export_name("peach_fabric_component_names"))) const ch
97347
97362
  }
97348
97363
  `;
97349
97364
  }
97350
- var import_node_crypto73, import_node_fs121, import_node_path123, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, 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, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
97365
+ var import_node_crypto74, import_node_fs121, import_node_path123, TURBO_CORE_TARGET, TURBO_FMT_TARGET, TURBO_ENTRY_HEADER, TURBO_CORE_PUBLIC_HEADERS, REGISTRATION, CODEGEN_OBJC, UNIT, HEADER5, 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, sha2564, podspecList, versionParts, iosOf, JS_CALL_INVOKER, FABRIC_HOST_INCLUDES, FABRIC_HOST_PAPER_INCLUDES, PAPER_UIKIT_BRIDGE_SWIFT;
97351
97366
  var init_turbo_source = __esm({
97352
97367
  "src/turbo-source.ts"() {
97353
97368
  "use strict";
97354
- import_node_crypto73 = require("node:crypto");
97369
+ import_node_crypto74 = require("node:crypto");
97355
97370
  import_node_fs121 = __toESM(require("node:fs"), 1);
97356
97371
  import_node_path123 = __toESM(require("node:path"), 1);
97357
97372
  init_cocoapods_trunk();
@@ -97477,7 +97492,7 @@ var init_turbo_source = __esm({
97477
97492
  REACT_NATIVE_BARE_HEADER_DIRS = [
97478
97493
  "ReactCommon/react/renderer/imagemanager/platform/ios/react/renderer/imagemanager"
97479
97494
  ];
97480
- sha2564 = (data) => (0, import_node_crypto73.createHash)("sha256").update(data).digest("hex");
97495
+ sha2564 = (data) => (0, import_node_crypto74.createHash)("sha256").update(data).digest("hex");
97481
97496
  podspecList = podspecAttribute;
97482
97497
  versionParts = (version2) => version2.split(/[.-]/).map((p) => Number(p) || 0);
97483
97498
  iosOf = (member) => object7(member.ios) ? member.ios : null;
@@ -98238,11 +98253,11 @@ function collectTurboCompileInput(collection, runtime, iosDeploymentTarget, depe
98238
98253
  resources: { ...dependencies?.resources, ...collection.resources }
98239
98254
  };
98240
98255
  }
98241
- var import_node_crypto74, import_node_fs122, import_node_module16, import_node_os26, import_node_path124;
98256
+ var import_node_crypto75, import_node_fs122, import_node_module16, import_node_os26, import_node_path124;
98242
98257
  var init_turbo_compile = __esm({
98243
98258
  "src/turbo-compile.ts"() {
98244
98259
  "use strict";
98245
- import_node_crypto74 = require("node:crypto");
98260
+ import_node_crypto75 = require("node:crypto");
98246
98261
  import_node_fs122 = __toESM(require("node:fs"), 1);
98247
98262
  import_node_module16 = require("node:module");
98248
98263
  import_node_os26 = __toESM(require("node:os"), 1);
@@ -98459,8 +98474,8 @@ function reactNativeCoreEntry(reactNativeRoot, moduleRoot, mode) {
98459
98474
  );
98460
98475
  if (!isRecord(manifest) || typeof manifest.version !== "string")
98461
98476
  throw new Error(`${reactNativeRoot}: react-native has no version`);
98462
- const headers = (0, import_node_crypto75.createHash)("sha256");
98463
- const sources = (0, import_node_crypto75.createHash)("sha256");
98477
+ const headers = (0, import_node_crypto76.createHash)("sha256");
98478
+ const sources = (0, import_node_crypto76.createHash)("sha256");
98464
98479
  const walk4 = (relative3) => {
98465
98480
  for (const file of import_node_fs124.default.readdirSync(import_node_path126.default.join(reactNativeRoot, relative3), { withFileTypes: true }).sort((a, b) => a.name < b.name ? -1 : a.name > b.name ? 1 : 0)) {
98466
98481
  if (file.name === "node_modules" || file.name.startsWith(".")) continue;
@@ -98527,11 +98542,11 @@ async function prebuiltReactNativeCore(project, reactNativeRoot, moduleRoot, mod
98527
98542
  throw new Error(`React Native core ${entry.key} does not match its descriptor`);
98528
98543
  return readReactNativeCore(JSON.parse(import_node_fs124.default.readFileSync(file, "utf8")));
98529
98544
  }
98530
- var import_node_crypto75, import_node_fs124, import_node_module17, import_node_path126, import_node_util17, recipe, strings4, building;
98545
+ var import_node_crypto76, import_node_fs124, import_node_module17, import_node_path126, import_node_util17, recipe, strings4, building;
98531
98546
  var init_react_native_core = __esm({
98532
98547
  "src/react-native-core.ts"() {
98533
98548
  "use strict";
98534
- import_node_crypto75 = require("node:crypto");
98549
+ import_node_crypto76 = require("node:crypto");
98535
98550
  import_node_fs124 = __toESM(require("node:fs"), 1);
98536
98551
  import_node_module17 = require("node:module");
98537
98552
  import_node_path126 = __toESM(require("node:path"), 1);
@@ -98556,7 +98571,7 @@ function exportedNames(moduleRoot, name3) {
98556
98571
  const modules = import_node_path127.default.join(moduleRoot, "modules");
98557
98572
  const module2 = import_node_path127.default.join(modules, `${name3}.swiftmodule`);
98558
98573
  if (!import_node_fs125.default.existsSync(module2)) return /* @__PURE__ */ new Set();
98559
- const key2 = (0, import_node_crypto76.createHash)("sha256").update(import_node_fs125.default.readFileSync(module2)).digest("hex");
98574
+ const key2 = (0, import_node_crypto77.createHash)("sha256").update(import_node_fs125.default.readFileSync(module2)).digest("hex");
98560
98575
  const directory2 = import_node_path127.default.join(swiftCacheDir(), "swift-public-names");
98561
98576
  const receipt = import_node_path127.default.join(directory2, `${key2}.json`);
98562
98577
  if (import_node_fs125.default.existsSync(receipt)) {
@@ -98639,12 +98654,12 @@ function clangTypeOwnership(moduleRoot, module2) {
98639
98654
  }
98640
98655
  );
98641
98656
  }
98642
- var import_node_child_process64, import_node_crypto76, import_node_fs125, import_node_path127, blockTypedef, enumTypedef, enumConstant, swiftPrivate;
98657
+ var import_node_child_process64, import_node_crypto77, import_node_fs125, import_node_path127, blockTypedef, enumTypedef, enumConstant, swiftPrivate;
98643
98658
  var init_swift_clang_type_ownership = __esm({
98644
98659
  "src/swift-clang-type-ownership.ts"() {
98645
98660
  "use strict";
98646
98661
  import_node_child_process64 = require("node:child_process");
98647
- import_node_crypto76 = require("node:crypto");
98662
+ import_node_crypto77 = require("node:crypto");
98648
98663
  import_node_fs125 = __toESM(require("node:fs"), 1);
98649
98664
  import_node_path127 = __toESM(require("node:path"), 1);
98650
98665
  init_is_record();
@@ -100287,7 +100302,7 @@ function targetSettings2(units) {
100287
100302
  }
100288
100303
  function oneSDKStamp(oneSDK) {
100289
100304
  if (!oneSDK) return "";
100290
- const hash = (0, import_node_crypto77.createHash)("sha256");
100305
+ const hash = (0, import_node_crypto78.createHash)("sha256");
100291
100306
  for (const files2 of [oneSDK.targets, oneSDK.entry])
100292
100307
  for (const [name3, source] of [...files2].sort(([a], [b]) => a.localeCompare(b)))
100293
100308
  hash.update(`${name3}\0${source}\0`);
@@ -100338,7 +100353,7 @@ ${bridgeModules.length ? "import React\n" : ""}${oneSDK ? "import One\nimport On
100338
100353
  `;
100339
100354
  }
100340
100355
  function expoSwiftPreparedKey(base, units, reactProviderStamp) {
100341
- const hash = (0, import_node_crypto77.createHash)("sha256");
100356
+ const hash = (0, import_node_crypto78.createHash)("sha256");
100342
100357
  hash.update(base);
100343
100358
  hash.update(reactProviderStamp);
100344
100359
  for (const unit2 of units) {
@@ -100712,8 +100727,8 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
100712
100727
  }
100713
100728
  return provider;
100714
100729
  })() : void 0;
100715
- const reactProviderStamp = reactProvider ? (0, import_node_crypto77.createHash)("sha256").update(JSON.stringify(reactProvider)).digest("hex") : "";
100716
- const key2 = (0, import_node_crypto77.createHash)("sha256").update(import_node_fs126.default.realpathSync(root)).digest("hex");
100730
+ const reactProviderStamp = reactProvider ? (0, import_node_crypto78.createHash)("sha256").update(JSON.stringify(reactProvider)).digest("hex") : "";
100731
+ const key2 = (0, import_node_crypto78.createHash)("sha256").update(import_node_fs126.default.realpathSync(root)).digest("hex");
100717
100732
  const unitContentStamp = (unit2) => sourceContentStamp(expoSwiftPackage(key2, unit2.moduleId), module2.root) + (unit2.reactNativeProvider ? `:${reactProviderStamp}` : "");
100718
100733
  const failures = /* @__PURE__ */ new Map();
100719
100734
  const failureRecords = /* @__PURE__ */ new Map();
@@ -101055,13 +101070,13 @@ async function compileExpoSwiftModulesTraced(root, base, publishArtifact, option
101055
101070
  throw failure2;
101056
101071
  }
101057
101072
  }
101058
- var import_node_async_hooks3, import_node_child_process65, import_node_crypto77, import_node_fs126, import_node_module18, import_node_os27, import_node_path128, import_node_url4, import_node_util18, run11, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
101073
+ var import_node_async_hooks3, import_node_child_process65, import_node_crypto78, import_node_fs126, import_node_module18, import_node_os27, import_node_path128, import_node_url4, import_node_util18, run11, scriptEnv, EXPO_SWIFT_ENTRY, WITNESS_BATCH, traceStore, discoveryCache, preparedCache, savedFs, ignoredRoots, ownTemporaryRoots, EXPO_MODULE_SCAN_TIMEOUT_MS, preparedExpoSwift, openPreparations, ExpoSwiftLinkRefusal;
101059
101074
  var init_expo_swift_host = __esm({
101060
101075
  "src/expo-swift-host.ts"() {
101061
101076
  "use strict";
101062
101077
  import_node_async_hooks3 = require("node:async_hooks");
101063
101078
  import_node_child_process65 = require("node:child_process");
101064
- import_node_crypto77 = require("node:crypto");
101079
+ import_node_crypto78 = require("node:crypto");
101065
101080
  import_node_fs126 = __toESM(require("node:fs"), 1);
101066
101081
  import_node_module18 = require("node:module");
101067
101082
  import_node_os27 = __toESM(require("node:os"), 1);