@absolutejs/absolute 0.20.0-beta.130 → 0.20.0-beta.131

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 (229) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/changelog.json +41 -0
  3. package/dist/angular/browser.js +406 -396
  4. package/dist/angular/browser.js.map +4 -4
  5. package/dist/angular/components/core/streamingSlotRegistrar.js +1 -3
  6. package/dist/angular/components/core/streamingSlotRegistry.js +2 -4
  7. package/dist/angular/index.js +560 -701
  8. package/dist/angular/index.js.map +5 -5
  9. package/dist/angular/server.js +197 -338
  10. package/dist/angular/server.js.map +5 -5
  11. package/dist/build/buildWorker.js +27 -35
  12. package/dist/build.js +3833 -5876
  13. package/dist/build.js.map +4 -4
  14. package/dist/cli/{add-9sa7e3vd.js → add-hvqeg5sz.js} +23 -25
  15. package/dist/cli/{analyze-c1sep5y9.js → analyze-c2x2aym5.js} +6 -7
  16. package/dist/cli/androidEmulatorController-j73a1br6.js +22 -0
  17. package/dist/cli/{androidNativeWatcher-dnp95nk2.js → androidNativeWatcher-ctbnsr1v.js} +11 -14
  18. package/dist/cli/{api-2hd8cahp.js → api-rk13rfd9.js} +11 -13
  19. package/dist/cli/{build-857rc1ds.js → build-20y4b6rj.js} +8 -9
  20. package/dist/cli/{buildDepVendor-8akhr8n8.js → buildDepVendor-axqvbbm6.js} +5 -170
  21. package/dist/cli/{compile-9by2vxy5.js → compile-qygwqezx.js} +43 -48
  22. package/dist/cli/config/client.js +8 -8
  23. package/dist/cli/config/server.js +5615 -5595
  24. package/dist/cli/config-3te1fbry.js +7 -0
  25. package/dist/cli/{db-8wweexdp.js → db-p8pc325y.js} +5 -13
  26. package/dist/cli/{dev-qg7fr16s.js → dev-6f0gry3y.js} +75 -77
  27. package/dist/cli/{devCert-avr89zf3.js → devCert-n33ep8pg.js} +0 -3
  28. package/dist/cli/{doctor-mbh9bk05.js → doctor-8rm8p4dm.js} +13 -14
  29. package/dist/cli/emulatorDoctor-cwa70kgt.js +17 -0
  30. package/dist/cli/emulatorInstaller-dx3fmm2m.js +14 -0
  31. package/dist/cli/env-2107nff1.js +11 -0
  32. package/dist/cli/eslint-zz0t0kfp.js +17 -0
  33. package/dist/cli/eslintChunked-wg10jj9m.js +12 -0
  34. package/dist/cli/expoDevController-s70fj7vf.js +16 -0
  35. package/dist/cli/{expoNativeWatcher-rmc95bak.js → expoNativeWatcher-aakp7xvj.js} +1 -5
  36. package/dist/cli/expoProject-zy02tbfg.js +10 -0
  37. package/dist/cli/{generate-069p0dk3.js → generate-nz4w03yz.js} +19 -21
  38. package/dist/cli/{heapDiff-87v24x7p.js → heapDiff-2etr2r26.js} +5 -6
  39. package/dist/cli/{htmx-5wh1jh75.js → htmx-0xcaqrny.js} +12 -14
  40. package/dist/cli/{index-sjvydg2r.js → index-1ff9q1vx.js} +7 -7
  41. package/dist/cli/{index-rqbk0b30.js → index-1qewxkgy.js} +26 -26
  42. package/dist/cli/{index-prwyfnn3.js → index-1x1vah31.js} +2 -2
  43. package/dist/cli/{index-ddakkws4.js → index-31j3beht.js} +13 -13
  44. package/dist/cli/{index-j2nw3edf.js → index-3gtnqd57.js} +5 -5
  45. package/dist/cli/{index-54q7pxcx.js → index-434b7j4a.js} +2 -32
  46. package/dist/cli/{index-w5vswatm.js → index-43a1vvb7.js} +6 -10
  47. package/dist/cli/{index-nxcwg9ma.js → index-5sjk7daj.js} +31 -31
  48. package/dist/cli/{index-6j1xaheg.js → index-73sk1ney.js} +5 -5
  49. package/dist/cli/{index-3x5wpx5d.js → index-8kdmmgvc.js} +2 -2
  50. package/dist/cli/{index-1ys3dnrs.js → index-8w2wazrk.js} +34 -34
  51. package/dist/cli/{index-wtfnv3n2.js → index-92hmw204.js} +3 -3
  52. package/dist/cli/{index-vdbn8brx.js → index-9ehbfmeq.js} +38 -41
  53. package/dist/cli/{index-mywsk201.js → index-fde3c297.js} +1 -1
  54. package/dist/cli/{index-255xs63d.js → index-j57pgg5m.js} +10 -10
  55. package/dist/cli/{index-5cgsrv62.js → index-jcjwsdqt.js} +13 -182
  56. package/dist/cli/{index-00wfffav.js → index-k4t9k1xk.js} +5 -5
  57. package/dist/cli/{index-yxgaf8j0.js → index-m1vntzf1.js} +7 -5
  58. package/dist/cli/{index-9r7n9dqp.js → index-ma1dw7x2.js} +1 -1
  59. package/dist/cli/index-pch0v1z6.js +60 -0
  60. package/dist/cli/{index-8nym68py.js → index-ppxed116.js} +1 -1
  61. package/dist/cli/{index-9kwmb3c0.js → index-qyxd5n9a.js} +3 -3
  62. package/dist/cli/{index-tn4crd40.js → index-r62705dc.js} +12 -12
  63. package/dist/cli/{index-wctgx65x.js → index-r6k4xmdb.js} +21 -21
  64. package/dist/cli/{index-hty8111z.js → index-r915cvqp.js} +17 -17
  65. package/dist/cli/{index-exdd5k1g.js → index-rrxeqrbn.js} +2 -2
  66. package/dist/cli/{index-keg69zm1.js → index-snbzdwb9.js} +5 -5
  67. package/dist/cli/{index-v26ze17p.js → index-thqwfzy8.js} +3 -3
  68. package/dist/cli/{index-0hr7c4qe.js → index-vdnmqkt8.js} +14 -18
  69. package/dist/cli/{index-vkkqe08e.js → index-vj2v38sq.js} +29 -29
  70. package/dist/cli/{index-erngp7a9.js → index-wy0yh4jj.js} +16 -16
  71. package/dist/cli/{index-1cypb2zn.js → index-xcr3r6a1.js} +8 -8
  72. package/dist/cli/index.js +44 -48
  73. package/dist/cli/{info-d74dr585.js → info-kx5510rq.js} +7 -7
  74. package/dist/cli/{inspect-23chj4nc.js → inspect-5dj06x0m.js} +18 -20
  75. package/dist/cli/{iosNativeWatcher-kggp7j9a.js → iosNativeWatcher-zx49pzej.js} +12 -16
  76. package/dist/cli/iosSimulatorController-haa1cc3p.js +23 -0
  77. package/dist/cli/{islands-wpqgmwh0.js → islands-z4adh55n.js} +8 -9
  78. package/dist/cli/{lintProof-wx3b6dzy.js → lintProof-qcwdvzcz.js} +12 -17
  79. package/dist/cli/{logs-bx2n5ey6.js → logs-3p2vrq5h.js} +8 -10
  80. package/dist/cli/{ls-kvmcmd2j.js → ls-nkspq73y.js} +13 -14
  81. package/dist/cli/{mem-apbk7bx4.js → mem-h3f497cr.js} +10 -14
  82. package/dist/cli/{migrate-p4rp5r6b.js → migrate-52bqqp08.js} +7 -8
  83. package/dist/cli/{mobile-43q3zmjf.js → mobile-w295dx0t.js} +572 -575
  84. package/dist/cli/nativeAuth-ysv0x5dy.js +27 -0
  85. package/dist/cli/patchedBun-m7vj5sks.js +9 -0
  86. package/dist/cli/prerender-mfnwsvyt.js +7 -0
  87. package/dist/cli/{prettier-vtk5yaw4.js → prettier-c1624g36.js} +2 -6
  88. package/dist/cli/{ps-8y28kzmb.js → ps-0jedm91n.js} +12 -16
  89. package/dist/cli/{psTui-8e96mwgz.js → psTui-tpr5nbmc.js} +28 -30
  90. package/dist/cli/remoteMacProtocol-v3ax0y0f.js +41 -0
  91. package/dist/cli/{remove-3fd1z2hx.js → remove-z0brj5nd.js} +16 -18
  92. package/dist/cli/{rewriteImports-d1gmaa68.js → rewriteImports-k6rjjmg1.js} +2 -100
  93. package/dist/cli/{routes-0xpanj8z.js → routes-ey0sw1eq.js} +7 -9
  94. package/dist/cli/start-36w63t6h.js +20 -0
  95. package/dist/cli/telemetry-3wnc06wa.js +9 -0
  96. package/dist/cli/{tunnelRelay-5at2v8w6.js → tunnelRelay-19ay0fxn.js} +3 -4
  97. package/dist/cli/{typecheck-yj9s13eb.js → typecheck-nmf6e7k7.js} +147 -149
  98. package/dist/cli/{workspace-m56sgfkc.js → workspace-yetzedke.js} +32 -36
  99. package/dist/client/chunks/{index-dk743xs6.js → index-8m2qq61n.js} +12 -8
  100. package/dist/client/chunks/{index-dk743xs6.js.map → index-8m2qq61n.js.map} +4 -3
  101. package/dist/client/chunks/{index-m35nbkdp.js → islands-rc28k5sx.js} +104 -42
  102. package/dist/client/chunks/islands-rc28k5sx.js.map +15 -0
  103. package/dist/client/chunks/{react-yq4ss9y4.js → react-dcvkaba2.js} +5 -7
  104. package/dist/client/chunks/{react-yq4ss9y4.js.map → react-dcvkaba2.js.map} +2 -2
  105. package/dist/client/chunks/{svelte-s0c964kb.js → svelte-4yfa5bxa.js} +2 -4
  106. package/dist/client/chunks/{svelte-s0c964kb.js.map → svelte-4yfa5bxa.js.map} +2 -2
  107. package/dist/client/chunks/{vue-rdskrnyg.js → vue-a84fzp3v.js} +2 -4
  108. package/dist/client/chunks/{vue-rdskrnyg.js.map → vue-a84fzp3v.js.map} +2 -2
  109. package/dist/client/index.js +42 -15
  110. package/dist/client/index.js.map +2 -2
  111. package/dist/client/prefetch.js +1 -3
  112. package/dist/client/prefetch.js.map +2 -2
  113. package/dist/core/streamingSlotRegistrar.js +1 -64
  114. package/dist/core/streamingSlotRegistrar.js.map +2 -2
  115. package/dist/core/streamingSlotRegistry.js +1 -64
  116. package/dist/core/streamingSlotRegistry.js.map +2 -2
  117. package/dist/dev/serverBootstrap.js +1802 -2018
  118. package/dist/index.js +5247 -8794
  119. package/dist/index.js.map +9 -20
  120. package/dist/islands/browser.js +13 -3
  121. package/dist/islands/browser.js.map +2 -2
  122. package/dist/islands/index.js +26 -142
  123. package/dist/islands/index.js.map +2 -2
  124. package/dist/mobile/browser.js +13 -3
  125. package/dist/mobile/browser.js.map +2 -2
  126. package/dist/mobile/index.js +1067 -2182
  127. package/dist/mobile/index.js.map +2 -2
  128. package/dist/mobile/remoteMacAgentEntry.js +156 -156
  129. package/dist/mobile/shellAuth.js +0 -16
  130. package/dist/mobile/shellBootstrap.js +734 -724
  131. package/dist/mobile/shellExpoAuth.js +4 -18
  132. package/dist/mobile/shellExpoDevices.js +0 -16
  133. package/dist/mobile/shellExpoSync.js +0 -16
  134. package/dist/mobile/shellSync.js +3 -19
  135. package/dist/mobile/shellUpdate.js +5 -21
  136. package/dist/mobile/uiPrimitives.js +0 -16
  137. package/dist/react/browser.js +15 -5
  138. package/dist/react/browser.js.map +2 -2
  139. package/dist/react/components/index.js +68 -58
  140. package/dist/react/components/index.js.map +4 -4
  141. package/dist/react/hooks/index.js +1 -63
  142. package/dist/react/hooks/index.js.map +2 -2
  143. package/dist/react/index.js +56 -195
  144. package/dist/react/index.js.map +5 -5
  145. package/dist/react/jsxDevRuntimeCompat.js +1 -64
  146. package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
  147. package/dist/react/jsxRuntimeCompat.js +1 -64
  148. package/dist/react/jsxRuntimeCompat.js.map +2 -2
  149. package/dist/react/router/browser.js +1 -64
  150. package/dist/react/router/browser.js.map +2 -2
  151. package/dist/react/router/index.js +1 -64
  152. package/dist/react/router/index.js.map +2 -2
  153. package/dist/react/server.js +38 -51
  154. package/dist/react/server.js.map +5 -5
  155. package/dist/src/cli/config/server.d.ts +7 -129
  156. package/dist/src/cli/patchedBun.d.ts +14 -14
  157. package/dist/src/core/prepare.d.ts +149 -1805
  158. package/dist/src/core/requestContext.d.ts +1 -1
  159. package/dist/src/dev/requestInspector.d.ts +1 -1
  160. package/dist/src/mobile/associationFiles.d.ts +2 -2
  161. package/dist/src/mobile/compatibilityDispatcher.d.ts +1 -1
  162. package/dist/src/mobile/mobilePreview.d.ts +8 -130
  163. package/dist/src/mobile/updateServer.d.ts +2 -2
  164. package/dist/src/plugins/devtoolsJson.d.ts +2 -2
  165. package/dist/src/plugins/hmr.d.ts +2 -2
  166. package/dist/src/plugins/imageOptimizer.d.ts +2 -151
  167. package/dist/src/plugins/telemetryPlugin.d.ts +1 -19
  168. package/dist/svelte/browser.js +13 -3
  169. package/dist/svelte/browser.js.map +2 -2
  170. package/dist/svelte/index.js +66 -210
  171. package/dist/svelte/index.js.map +5 -5
  172. package/dist/svelte/server.js +51 -99
  173. package/dist/svelte/server.js.map +5 -5
  174. package/dist/types/globals.d.ts +0 -6
  175. package/dist/vue/browser.js +13 -3
  176. package/dist/vue/browser.js.map +2 -2
  177. package/dist/vue/components/Image.js +13 -3
  178. package/dist/vue/components/Image.js.map +2 -2
  179. package/dist/vue/components/index.js +62 -50
  180. package/dist/vue/components/index.js.map +4 -4
  181. package/dist/vue/index.js +1115 -1258
  182. package/dist/vue/index.js.map +10 -10
  183. package/dist/vue/server.js +42 -59
  184. package/dist/vue/server.js.map +5 -5
  185. package/package.json +9 -9
  186. package/dist/cli/androidEmulatorController-sj141e1c.js +0 -30
  187. package/dist/cli/config-rjeexvza.js +0 -8
  188. package/dist/cli/emulatorDoctor-gzarrsex.js +0 -18
  189. package/dist/cli/emulatorInstaller-pjw4ex6q.js +0 -15
  190. package/dist/cli/env-4f6f6z69.js +0 -14
  191. package/dist/cli/eslint-qfkxe89p.js +0 -20
  192. package/dist/cli/eslintChunked-7ef700pn.js +0 -21
  193. package/dist/cli/expoDevController-weywa74d.js +0 -26
  194. package/dist/cli/expoProject-w2pzjwnx.js +0 -11
  195. package/dist/cli/index-1rabqyq0.js +0 -7
  196. package/dist/cli/index-ar4gz15x.js +0 -60
  197. package/dist/cli/iosSimulatorController-xcxxfkzx.js +0 -34
  198. package/dist/cli/nativeAuth-zx4tsb1f.js +0 -38
  199. package/dist/cli/patchedBun-zjtrn2s4.js +0 -38
  200. package/dist/cli/prerender-yex2zwj3.js +0 -18
  201. package/dist/cli/remoteMacProtocol-r38jhg44.js +0 -69
  202. package/dist/cli/start-gzhrkhxe.js +0 -23
  203. package/dist/cli/telemetry-94rka1w2.js +0 -14
  204. package/dist/client/chunks/angularPatch-arh4sr68.js +0 -157
  205. package/dist/client/chunks/angularPatch-arh4sr68.js.map +0 -10
  206. package/dist/client/chunks/index-jrcwp722.js +0 -12
  207. package/dist/client/chunks/index-jrcwp722.js.map +0 -10
  208. package/dist/client/chunks/index-m35nbkdp.js.map +0 -12
  209. package/dist/client/chunks/index-qxjc7kc5.js +0 -12
  210. package/dist/client/chunks/index-qxjc7kc5.js.map +0 -9
  211. package/dist/client/chunks/islands-50dg63j9.js +0 -284
  212. package/dist/client/chunks/islands-50dg63j9.js.map +0 -14
  213. /package/dist/cli/{index-me8nczrw.js → index-039rh39e.js} +0 -0
  214. /package/dist/cli/{index-bw4ktfnz.js → index-1y5mmnwg.js} +0 -0
  215. /package/dist/cli/{index-5xfxd7xa.js → index-3wm8p7rg.js} +0 -0
  216. /package/dist/cli/{index-4rme31py.js → index-420h9hq7.js} +0 -0
  217. /package/dist/cli/{index-4rhxthsy.js → index-65kqn88a.js} +0 -0
  218. /package/dist/cli/{index-r8x3839e.js → index-71gchbzt.js} +0 -0
  219. /package/dist/cli/{index-s2tazax7.js → index-92g14j47.js} +0 -0
  220. /package/dist/cli/{index-j66p8hn5.js → index-bwsa6ax4.js} +0 -0
  221. /package/dist/cli/{index-bzs19w3r.js → index-e6ysp900.js} +0 -0
  222. /package/dist/cli/{index-06cmrcdq.js → index-h7qhz02e.js} +0 -0
  223. /package/dist/cli/{index-6h54jqdq.js → index-hg54jyts.js} +0 -0
  224. /package/dist/cli/{index-czwrxgdj.js → index-hxqprc80.js} +0 -0
  225. /package/dist/cli/{index-zh6hhrwy.js → index-jjfbjv1z.js} +0 -0
  226. /package/dist/cli/{index-fc9vxw56.js → index-prs14ys9.js} +0 -0
  227. /package/dist/cli/{index-v1k46q3x.js → index-tx0kx9zx.js} +0 -0
  228. /package/dist/cli/{index-fhaf3tdk.js → index-x8x0f3ha.js} +0 -0
  229. /package/dist/cli/{index-18q9qc7f.js → index-ypcqx24p.js} +0 -0
@@ -18,7 +18,7 @@ var __toESM = (mod, isNodeMode, target) => {
18
18
  return cached;
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
- const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
21
+ const to = isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
22
  if (mod && typeof mod === "object" || typeof mod === "function") {
23
23
  for (let key of __getOwnPropNames(mod))
24
24
  if (!__hasOwnProp.call(to, key))
@@ -59,7 +59,17 @@ var __legacyMetadataTS = (k, v) => {
59
59
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
60
60
  return Reflect.metadata(k, v);
61
61
  };
62
- var __esm = (fn, res) => () => (fn && (res = fn(fn = 0)), res);
62
+ var __esm = (fn, res, err) => () => {
63
+ if (fn)
64
+ try {
65
+ res = fn(fn = 0);
66
+ } catch (e) {
67
+ err = [e];
68
+ }
69
+ if (err)
70
+ throw err[0];
71
+ return res;
72
+ };
63
73
  var __require = import.meta.require;
64
74
 
65
75
  // src/build/resolvePackageImport.ts
@@ -262,26 +272,6 @@ var init_lowerAwaitSlotSyntax = __esm(() => {
262
272
  });
263
273
 
264
274
  // src/build/stylePreprocessor.ts
265
- var exports_stylePreprocessor = {};
266
- __export(exports_stylePreprocessor, {
267
- addStyleImporter: () => addStyleImporter,
268
- compileStyleFileIfNeeded: () => compileStyleFileIfNeeded,
269
- compileStyleFileIfNeededSync: () => compileStyleFileIfNeededSync,
270
- compileStyleSource: () => compileStyleSource,
271
- createStylePreprocessorPlugin: () => createStylePreprocessorPlugin,
272
- createStyleTransformConfig: () => createStyleTransformConfig,
273
- createSvelteStylePreprocessor: () => createSvelteStylePreprocessor,
274
- findStyleEntriesImporting: () => findStyleEntriesImporting,
275
- forgetStyleEntry: () => forgetStyleEntry,
276
- getCssOutputExtension: () => getCssOutputExtension,
277
- getStyleBaseName: () => getStyleBaseName,
278
- isPreprocessableStylePath: () => isPreprocessableStylePath,
279
- isStyleModulePath: () => isStyleModulePath,
280
- isStylePath: () => isStylePath,
281
- recordStyleOutput: () => recordStyleOutput,
282
- stylePreprocessorPlugin: () => stylePreprocessorPlugin
283
- });
284
- import { createHash } from "crypto";
285
275
  import { existsSync as existsSync2, readFileSync as readFileSync2 } from "fs";
286
276
  import { readFile } from "fs/promises";
287
277
  import { createRequire } from "module";
@@ -612,16 +602,6 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
612
602
  importers.push(entry);
613
603
  }
614
604
  return importers;
615
- }, recordStyleOutput = (entry, css) => {
616
- const key = resolve2(entry);
617
- const hash = createHash("sha1").update(css).digest("hex");
618
- const previous = styleOutputHashes.get(key);
619
- styleOutputHashes.set(key, hash);
620
- return previous !== hash;
621
- }, forgetStyleEntry = (entry) => {
622
- const key = resolve2(entry);
623
- styleDependencyGraph.delete(key);
624
- styleOutputHashes.delete(key);
625
605
  }, compileStyleSource = async (filePath, source, languageHint, config) => {
626
606
  const language = getStyleLanguage(languageHint ?? filePath);
627
607
  const rawContents = source ?? await readFile(filePath, "utf-8");
@@ -852,7 +832,7 @@ ${contents}` : contents, normalizePostcssModule = (mod) => {
852
832
  throw new Error(`Unable to compile ${filePath}: Stylus styleUrl preprocessing is async-only. Import the Stylus file from a bundled entrypoint or use SCSS/CSS for Angular styleUrl.`);
853
833
  }
854
834
  return resolveCssImportsSync(rawContents, dirname(filePath), new Set([filePath]));
855
- }, getCssOutputExtension = (filePath) => isPreprocessableStylePath(filePath) ? ".css" : extname(filePath);
835
+ };
856
836
  var init_stylePreprocessor = __esm(() => {
857
837
  CSS_EXTENSION_PATTERN = /\.css$/i;
858
838
  STYLE_EXTENSION_PATTERN = /\.(s[ac]ss|less|styl(?:us)?)$/i;
@@ -1251,13 +1231,6 @@ var BOOTSTRAP_MANIFEST_KEY = "BootstrapClient", ISLAND_MARKER = 'data-island="tr
1251
1231
  };
1252
1232
 
1253
1233
  // src/core/devRouteRegistrationCallsite.ts
1254
- var exports_devRouteRegistrationCallsite = {};
1255
- __export(exports_devRouteRegistrationCallsite, {
1256
- getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite,
1257
- getOriginalPageHandlerSource: () => getOriginalPageHandlerSource,
1258
- isPageHandler: () => isPageHandler,
1259
- patchElysiaRouteRegistrationCallsites: () => patchElysiaRouteRegistrationCallsites
1260
- });
1261
1234
  import { AsyncLocalStorage } from "async_hooks";
1262
1235
  import { Elysia } from "elysia";
1263
1236
  var ROUTE_CALLSITE_STORAGE_KEY, ROUTE_CALLSITE_PATCHED_KEY, NODE_ENV_KEY = "NODE_ENV", ROUTE_METHOD_NAMES, PAGE_HANDLER_NAMES, pageHandlerWrappers, isPageHandlerFunction = (value) => typeof value === "function", handlerSourceMentionsPageHelper = (handler) => {
@@ -1274,12 +1247,12 @@ var ROUTE_CALLSITE_STORAGE_KEY, ROUTE_CALLSITE_PATCHED_KEY, NODE_ENV_KEY = "NODE
1274
1247
  if (pageHandlerWrappers.has(handler))
1275
1248
  return true;
1276
1249
  return handlerSourceMentionsPageHelper(handler);
1277
- }, isObjectRecord3 = (value) => Boolean(value) && typeof value === "object", isAsyncLocalStorage2 = (value) => isObjectRecord3(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function", isRouteMethod = (value) => typeof value === "function", getRouteCallsiteStorage = () => {
1250
+ }, isObjectRecord = (value) => Boolean(value) && typeof value === "object", isAsyncLocalStorage = (value) => isObjectRecord(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function", isRouteMethod = (value) => typeof value === "function", getRouteCallsiteStorage = () => {
1278
1251
  const value = Reflect.get(globalThis, ROUTE_CALLSITE_STORAGE_KEY);
1279
1252
  if (value === null || typeof value === "undefined") {
1280
1253
  return;
1281
1254
  }
1282
- return isAsyncLocalStorage2(value) ? value : undefined;
1255
+ return isAsyncLocalStorage(value) ? value : undefined;
1283
1256
  }, ensureRouteCallsiteStorage = () => {
1284
1257
  const existing = getRouteCallsiteStorage();
1285
1258
  if (existing) {
@@ -1360,11 +1333,6 @@ var init_devRouteRegistrationCallsite = __esm(() => {
1360
1333
  });
1361
1334
 
1362
1335
  // src/utils/ssrErrorPage.ts
1363
- var exports_ssrErrorPage = {};
1364
- __export(exports_ssrErrorPage, {
1365
- buildErrorPage: () => buildErrorPage,
1366
- ssrErrorPage: () => ssrErrorPage
1367
- });
1368
1336
  var errorPageHtml = ({
1369
1337
  framework,
1370
1338
  hint,
@@ -1436,19 +1404,6 @@ ${error ?? "The dev-server terminal has the build output."}`,
1436
1404
  });
1437
1405
 
1438
1406
  // src/core/requestContext.ts
1439
- var exports_requestContext = {};
1440
- __export(exports_requestContext, {
1441
- absoluteRequestContext: () => absoluteRequestContext,
1442
- devBuildErrorResponse: () => devBuildErrorResponse,
1443
- getCurrentAbsoluteRequest: () => getCurrentAbsoluteRequest,
1444
- getDevPageWarmer: () => getDevPageWarmer,
1445
- getMissingAssets: () => getMissingAssets,
1446
- recordMissingAsset: () => recordMissingAsset,
1447
- resolveDeferredPageAssets: () => resolveDeferredPageAssets,
1448
- runWithAbsoluteRequest: () => runWithAbsoluteRequest,
1449
- setDevPageWarmer: () => setDevPageWarmer,
1450
- withDeferredStylesheets: () => withDeferredStylesheets
1451
- });
1452
1407
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
1453
1408
  import { Elysia as Elysia2 } from "elysia";
1454
1409
  var REQUEST_STORAGE_KEY, PAGE_WARMER_KEY, isAbsoluteRequestStorage = (value) => typeof value === "object" && value !== null && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function", getRequestStorage = () => {
@@ -1880,13 +1835,13 @@ var init_pageProtocol = __esm(() => {
1880
1835
  });
1881
1836
 
1882
1837
  // src/core/pageResponseCache.ts
1883
- import { createHash as createHash2 } from "crypto";
1838
+ import { createHash } from "crypto";
1884
1839
  var STREAMING_PAGE_HEADER = "x-absolute-stream", HTML_CONTENT_TYPE = "text/html", streamingPageHeaders = (extra) => {
1885
1840
  const headers = new Headers(extra);
1886
1841
  headers.set("content-type", HTML_CONTENT_TYPE);
1887
1842
  headers.set(STREAMING_PAGE_HEADER, "1");
1888
1843
  return headers;
1889
- }, computeEtag = (html) => `W/"${createHash2("sha1").update(html).digest("base64url")}"`, withPageCacheHeaders = async (response, request, options) => {
1844
+ }, computeEtag = (html) => `W/"${createHash("sha1").update(html).digest("base64url")}"`, withPageCacheHeaders = async (response, request, options) => {
1890
1845
  const contentType = response.headers.get("content-type") ?? "";
1891
1846
  if (!contentType.includes(HTML_CONTENT_TYPE))
1892
1847
  return response;
@@ -1927,26 +1882,26 @@ var streamSwapRuntime = () => {
1927
1882
  absoluteWindow.__ABS_SLOT_PENDING__ = absoluteWindow.__ABS_SLOT_PENDING__ ?? {};
1928
1883
  const consumers = absoluteWindow.__ABS_SLOT_CONSUMERS__;
1929
1884
  const pending = absoluteWindow.__ABS_SLOT_PENDING__;
1930
- const isObjectRecord4 = (value) => Boolean(value) && typeof value === "object";
1885
+ const isObjectRecord = (value) => Boolean(value) && typeof value === "object";
1931
1886
  const isPatchedPendingEntry = (value) => {
1932
- if (!isObjectRecord4(value))
1887
+ if (!isObjectRecord(value))
1933
1888
  return false;
1934
1889
  return value.domPatched === true && "payload" in value;
1935
1890
  };
1936
1891
  const unwrapPendingPayload = (value) => isPatchedPendingEntry(value) ? value.payload : value;
1937
1892
  const canApplyImmediately = () => absoluteWindow.__ABS_SLOT_HYDRATION_PENDING__ !== true;
1938
1893
  const isAngularDeferPayload = (payload) => {
1939
- if (!isObjectRecord4(payload))
1894
+ if (!isObjectRecord(payload))
1940
1895
  return false;
1941
1896
  return payload.kind === "angular-defer";
1942
1897
  };
1943
1898
  const isVueSuspensePayload = (payload) => {
1944
- if (!isObjectRecord4(payload))
1899
+ if (!isObjectRecord(payload))
1945
1900
  return false;
1946
1901
  return payload.kind === "vue-suspense";
1947
1902
  };
1948
1903
  const resolveHtml = (payload) => {
1949
- if (!isObjectRecord4(payload)) {
1904
+ if (!isObjectRecord(payload)) {
1950
1905
  return typeof payload === "string" ? payload : "";
1951
1906
  }
1952
1907
  if (typeof payload.html === "string") {
@@ -2679,12 +2634,12 @@ var init_startupBanner = __esm(() => {
2679
2634
  // src/utils/logger.ts
2680
2635
  var colors2, frameworkColors, formatPath = (filePath) => {
2681
2636
  const cwd = process.cwd();
2682
- let relative3 = filePath.startsWith(cwd) ? filePath.slice(cwd.length + 1) : filePath;
2683
- relative3 = relative3.replace(/\\/g, "/");
2684
- if (!relative3.startsWith("/")) {
2685
- relative3 = `/${relative3}`;
2637
+ let relative = filePath.startsWith(cwd) ? filePath.slice(cwd.length + 1) : filePath;
2638
+ relative = relative.replace(/\\/g, "/");
2639
+ if (!relative.startsWith("/")) {
2640
+ relative = `/${relative}`;
2686
2641
  }
2687
- return relative3;
2642
+ return relative;
2688
2643
  }, getFrameworkColor = (framework) => frameworkColors[framework] || colors2.white, log = (action, options) => {
2689
2644
  const timestamp = `${colors2.dim}${formatTimestamp()}${colors2.reset}`;
2690
2645
  const tag = `${colors2.cyan}[hmr]${colors2.reset}`;
@@ -2813,9 +2768,9 @@ var siblingCssCache, clearSiblingCssCache = () => {
2813
2768
  const cached = siblingCssCache.get(cssPath);
2814
2769
  if (cached !== undefined)
2815
2770
  return cached;
2816
- const { readFile: readFile2 } = await import("fs/promises");
2771
+ const { readFile } = await import("fs/promises");
2817
2772
  try {
2818
- const css = await readFile2(cssPath, "utf-8");
2773
+ const css = await readFile(cssPath, "utf-8");
2819
2774
  siblingCssCache.set(cssPath, css);
2820
2775
  return css;
2821
2776
  } catch {
@@ -3061,8 +3016,8 @@ var CONVENTIONS_KEY = "__absoluteConventions", isConventionsMap = (value) => Boo
3061
3016
  }
3062
3017
  return null;
3063
3018
  }, NOT_FOUND_PRIORITY, renderFirstNotFound = async () => {
3064
- const renderNext = async (frameworks2) => {
3065
- const [framework, ...remaining] = frameworks2;
3019
+ const renderNext = async (frameworks) => {
3020
+ const [framework, ...remaining] = frameworks;
3066
3021
  if (!framework) {
3067
3022
  return null;
3068
3023
  }
@@ -3199,11 +3154,6 @@ var init_browserTranslation = __esm(() => {
3199
3154
  });
3200
3155
 
3201
3156
  // src/svelte/renderToReadableStream.ts
3202
- var exports_renderToReadableStream = {};
3203
- __export(exports_renderToReadableStream, {
3204
- SVELTE_PAGE_ROOT_ID: () => SVELTE_PAGE_ROOT_ID,
3205
- renderToReadableStream: () => renderToReadableStream
3206
- });
3207
3157
  var SVELTE_PAGE_ROOT_ID = "__absolute_svelte_root__", renderToReadableStream = async (component, props, {
3208
3158
  bootstrapScriptContent,
3209
3159
  bootstrapScripts = [],
@@ -3299,10 +3249,6 @@ var init_resolveAngularPackage = () => {};
3299
3249
  var ENV_VAR = "NODE_ENV", isDevelopmentRuntime = () => process.env[ENV_VAR] === "development", isProductionRuntime = () => process.env[ENV_VAR] === "production";
3300
3250
 
3301
3251
  // src/angular/angularPatch.ts
3302
- var exports_angularPatch = {};
3303
- __export(exports_angularPatch, {
3304
- applyPatches: () => applyPatches
3305
- });
3306
3252
  var ensureHead = (doc) => {
3307
3253
  if (!doc || doc.head || !doc.documentElement) {
3308
3254
  return;
@@ -3458,8 +3404,8 @@ var initDominoAdapter = (platformServer) => {
3458
3404
  if (!isProductionRuntime()) {
3459
3405
  await import("@angular/compiler");
3460
3406
  }
3461
- const { applyPatches: applyPatches2 } = await Promise.resolve().then(() => (init_angularPatch(), exports_angularPatch));
3462
- await applyPatches2();
3407
+ await Promise.resolve().then(() => init_angularPatch());
3408
+ await applyPatches();
3463
3409
  const useBareSpecifiers = !isProductionRuntime();
3464
3410
  const [platformBrowser, platformServer, common, core] = await Promise.all([
3465
3411
  useBareSpecifiers ? import("@angular/platform-browser") : import(resolveAngularRuntimePath("@angular/platform-browser")),
@@ -3675,49 +3621,7 @@ var init_ssrRender = __esm(() => {
3675
3621
  });
3676
3622
 
3677
3623
  // src/angular/islands.ts
3678
- var exports_islands = {};
3679
- __export(exports_islands, {
3680
- getAngularIslandSelector: () => getAngularIslandSelector,
3681
- isAngularComponent: () => isAngularComponent,
3682
- mountAngularIsland: () => mountAngularIsland,
3683
- renderAngularIslandToHtml: () => renderAngularIslandToHtml
3684
- });
3685
- var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_islandId) => angularIslandSelector, isAngularComponent = (value) => typeof value === "function", getSelectorFromRenderedIsland = (rootElement) => {
3686
- const firstChild = rootElement.firstElementChild;
3687
- if (!(firstChild instanceof HTMLElement)) {
3688
- return null;
3689
- }
3690
- const selector = firstChild.tagName.toLowerCase();
3691
- return selector.length > 0 ? selector : null;
3692
- }, getClientAngularComponentSelector = (component) => {
3693
- const maybeDef = Reflect.get(component, "\u0275cmp");
3694
- if (typeof maybeDef !== "object" || maybeDef === null) {
3695
- return null;
3696
- }
3697
- const maybeSelectors = Reflect.get(maybeDef, "selectors");
3698
- if (!Array.isArray(maybeSelectors)) {
3699
- return null;
3700
- }
3701
- const [firstSelectorGroup] = maybeSelectors;
3702
- if (!Array.isArray(firstSelectorGroup)) {
3703
- return null;
3704
- }
3705
- const [selector] = firstSelectorGroup;
3706
- return typeof selector === "string" && selector.length > 0 ? selector : null;
3707
- }, createAngularIslandApp = async () => {
3708
- const { EnvironmentInjector, provideZonelessChangeDetection } = await import("@angular/core");
3709
- const { createApplication } = await import("@angular/platform-browser");
3710
- const app = await createApplication({
3711
- providers: [provideZonelessChangeDetection()]
3712
- });
3713
- const environmentInjector = app.injector.get(EnvironmentInjector);
3714
- return { app, environmentInjector };
3715
- }, angularIslandAppPromise = null, getAngularIslandApp = async () => {
3716
- if (!angularIslandAppPromise) {
3717
- angularIslandAppPromise = createAngularIslandApp();
3718
- }
3719
- return angularIslandAppPromise;
3720
- }, wrapperMetadataCache, requestRenderCache, getRequestRenderCache = () => {
3624
+ var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_islandId) => angularIslandSelector, wrapperMetadataCache, requestRenderCache, getRequestRenderCache = () => {
3721
3625
  const requestId = getSsrContextId();
3722
3626
  if (!requestId) {
3723
3627
  return null;
@@ -3779,36 +3683,6 @@ var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_i
3779
3683
  throw new Error(`Could not close Angular island root "${selector}".`);
3780
3684
  }
3781
3685
  return html.slice(start, end + endTag.length);
3782
- }, mountAngularIsland = async (component, element, props, islandId) => {
3783
- await import("@angular/compiler");
3784
- const { createComponent, inputBinding } = await import("@angular/core");
3785
- const selector = getAngularIslandSelector(islandId);
3786
- const { app, environmentInjector } = await getAngularIslandApp();
3787
- let rootElement = element.querySelector(selector);
3788
- if (!(rootElement instanceof HTMLElement)) {
3789
- element.innerHTML = `<${selector}></${selector}>`;
3790
- rootElement = element.querySelector(selector);
3791
- }
3792
- if (!(rootElement instanceof HTMLElement))
3793
- return app;
3794
- const componentSelector = getClientAngularComponentSelector(component) ?? getSelectorFromRenderedIsland(rootElement);
3795
- if (!componentSelector)
3796
- return app;
3797
- rootElement.innerHTML = `<${componentSelector}></${componentSelector}>`;
3798
- const hostElement = rootElement.querySelector(componentSelector);
3799
- if (!(hostElement instanceof HTMLElement))
3800
- return app;
3801
- const bindings = Object.entries(props).map(([key, value]) => inputBinding(key, () => value));
3802
- const componentRef = createComponent(component, {
3803
- bindings,
3804
- environmentInjector,
3805
- hostElement
3806
- });
3807
- app.attachView(componentRef.hostView);
3808
- componentRef.changeDetectorRef.detectChanges();
3809
- window.__ABS_ANGULAR_ISLAND_APPS__ ??= [];
3810
- window.__ABS_ANGULAR_ISLAND_APPS__.push(app);
3811
- return app;
3812
3686
  }, renderAngularIslandToHtml = async (component, props, islandId) => {
3813
3687
  const requestCache = getRequestRenderCache();
3814
3688
  const renderCacheKey = getIslandRenderCacheKey(component, props);
@@ -3843,8 +3717,8 @@ var init_islands = __esm(() => {
3843
3717
 
3844
3718
  // src/core/islandSsr.ts
3845
3719
  var renderAngularIslandToHtmlInternal = async (component, props, islandId) => {
3846
- const { renderAngularIslandToHtml: renderAngularIslandToHtml2 } = await Promise.resolve().then(() => (init_islands(), exports_islands));
3847
- return renderAngularIslandToHtml2(component, props, islandId);
3720
+ await Promise.resolve().then(() => init_islands());
3721
+ return renderAngularIslandToHtml(component, props, islandId);
3848
3722
  }, renderAngularIslandToHtml2, LEADING_HOISTED_RESOURCE_RE, stripLeadingHoistedResources = (html) => {
3849
3723
  let result = html;
3850
3724
  let match = LEADING_HOISTED_RESOURCE_RE.exec(result);
@@ -4183,25 +4057,9 @@ var init_specifierRewriter = __esm(() => {
4183
4057
  });
4184
4058
 
4185
4059
  // src/build/rewriteImportsPlugin.ts
4186
- var exports_rewriteImportsPlugin = {};
4187
- __export(exports_rewriteImportsPlugin, {
4188
- buildWithImportRewrite: () => buildWithImportRewrite,
4189
- fixMissingReExportNamespacesInContent: () => fixMissingReExportNamespacesInContent,
4190
- jsRewriteImports: () => jsRewriteImports,
4191
- rewriteBuildOutputs: () => rewriteBuildOutputs,
4192
- rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
4193
- rewriteImportsInContent: () => rewriteImportsInContent,
4194
- rewriteVendorDirectories: () => rewriteVendorDirectories
4195
- });
4196
4060
  import { readdir as readdir2 } from "fs/promises";
4197
4061
  import { join as join5 } from "path";
4198
- var REEXPORT_PATTERN, IMPORT_PATH_PATTERN, isMissingFile = (error) => error instanceof Error && ("code" in error) && error.code === "ENOENT", buildWithImportRewrite = async (pendingBuild, vendorPaths) => {
4199
- const result = await pendingBuild;
4200
- if (result.outputs.length > 0) {
4201
- await rewriteBuildOutputs(result.outputs, vendorPaths);
4202
- }
4203
- return result;
4204
- }, fixMissingReExportNamespacesInContent = (content) => {
4062
+ var REEXPORT_PATTERN, IMPORT_PATH_PATTERN, isMissingFile = (error) => error instanceof Error && ("code" in error) && error.code === "ENOENT", fixMissingReExportNamespacesInContent = (content) => {
4205
4063
  const missing = collectMissingNamespaceImports(content);
4206
4064
  if (missing.length === 0)
4207
4065
  return content;
@@ -4244,10 +4102,6 @@ ${content}`;
4244
4102
  missing.push({ ident, path: sourcePath });
4245
4103
  }
4246
4104
  return missing;
4247
- }, jsRewriteImports = (content, replacements) => rewriteSpecifiers(content, compileSpecifierRewriter(Object.fromEntries(replacements)), { sweep: false }), rewriteBuildOutputs = async (outputs, vendorPaths) => {
4248
- if (Object.keys(vendorPaths).length === 0)
4249
- return;
4250
- await Promise.all(outputs.filter(isReadableArtifact).map((artifact) => rewriteArtifact(artifact, vendorPaths)));
4251
4105
  }, isReadableArtifact = (artifact) => artifact.path.endsWith(".js"), readArtifactText = async (artifact) => {
4252
4106
  try {
4253
4107
  return await artifact.text();
@@ -4322,12 +4176,12 @@ var serverCacheRoot2, compiledModuleCache2, ANGULAR_SPECIFIER_RE, getCachedModul
4322
4176
  const relativeSourcePath = relative3(process.cwd(), sourcePath).replace(/\\/g, "/");
4323
4177
  const normalizedSourcePath = relativeSourcePath.startsWith("..") ? sourcePath.replace(/[:\\/]/g, "_") : relativeSourcePath;
4324
4178
  return join6(serverCacheRoot2, `${normalizedSourcePath}.server.js`);
4325
- }, collectVendorPaths = (code2) => {
4179
+ }, collectVendorPaths = (code) => {
4326
4180
  const vendorPaths = {};
4327
4181
  if (!isProductionRuntime()) {
4328
4182
  return vendorPaths;
4329
4183
  }
4330
- const specifiers = new Set([...code2.matchAll(ANGULAR_SPECIFIER_RE)].map((match) => match[1]));
4184
+ const specifiers = new Set([...code.matchAll(ANGULAR_SPECIFIER_RE)].map((match) => match[1]));
4331
4185
  specifiers.forEach((specifier) => {
4332
4186
  if (!specifier)
4333
4187
  return;
@@ -4347,13 +4201,13 @@ var serverCacheRoot2, compiledModuleCache2, ANGULAR_SPECIFIER_RE, getCachedModul
4347
4201
  });
4348
4202
  const entry = result.outputs.find((output) => output.kind === "entry-point");
4349
4203
  if (!result.success || !entry) {
4350
- const message = result.logs.map((log2) => String(log2)).join(`
4204
+ const message = result.logs.map((log) => String(log)).join(`
4351
4205
  `);
4352
4206
  throw new Error(`Failed to compile Angular island server module for "${sourcePath}":
4353
4207
  ${message}`);
4354
4208
  }
4355
- const code2 = await entry.text();
4356
- const rewritten = rewriteImportsInContent(code2, collectVendorPaths(code2));
4209
+ const code = await entry.text();
4210
+ const rewritten = rewriteImportsInContent(code, collectVendorPaths(code));
4357
4211
  const modulePath = getCachedModulePath2(sourcePath);
4358
4212
  await mkdir2(dirname3(modulePath), { recursive: true });
4359
4213
  await Bun.write(modulePath, rewritten);
@@ -4417,8 +4271,8 @@ var ISLAND_COMPONENT_ID_LENGTH = 8, serverCacheRoot3, compiledModuleCache3, tran
4417
4271
  return;
4418
4272
  }
4419
4273
  await Bun.write(path, content);
4420
- }, stripExports = (code2) => code2.replace(/export\s+default/, "const script ="), mergeVueImports = (code2) => {
4421
- const lines = code2.split(`
4274
+ }, stripExports = (code) => code.replace(/export\s+default/, "const script ="), mergeVueImports = (code) => {
4275
+ const lines = code.split(`
4422
4276
  `);
4423
4277
  const specifierSet = new Set;
4424
4278
  const vueImportRegex = /^import\s+{([^}]+)}\s+from\s+['"]vue['"];?$/;
@@ -4514,8 +4368,8 @@ var toIslandFrameworkSegment = (framework) => framework[0]?.toUpperCase() + fram
4514
4368
  return found ? entries : undefined;
4515
4369
  }, getIslandManifestEntries = (manifest) => {
4516
4370
  const islands = {};
4517
- const frameworks2 = ["react", "svelte", "vue", "angular"];
4518
- for (const framework of frameworks2) {
4371
+ const frameworks = ["react", "svelte", "vue", "angular"];
4372
+ for (const framework of frameworks) {
4519
4373
  const prefix = `Island${toIslandFrameworkSegment(framework)}`;
4520
4374
  const entries = collectFrameworkIslands(manifest, prefix);
4521
4375
  if (entries)
@@ -4726,6 +4580,17 @@ var requireCurrentIslandRegistry = () => {
4726
4580
  globalThis.__absoluteIslandRegistry = registry;
4727
4581
  };
4728
4582
 
4583
+ // src/svelte/pageHandler.ts
4584
+ init_svelteServerModule();
4585
+ init_devRouteRegistrationCallsite();
4586
+ init_requestContext();
4587
+ init_pageProtocol();
4588
+ init_pageResponseCache();
4589
+
4590
+ // src/core/responseEnhancers.ts
4591
+ init_streamingSlots();
4592
+ init_pageResponseCache();
4593
+
4729
4594
  // src/core/streamingSlotRegistrar.ts
4730
4595
  var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
4731
4596
  var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
@@ -4737,9 +4602,9 @@ var getRegisteredStreamingSlotRegistrar = () => {
4737
4602
  }
4738
4603
  return;
4739
4604
  };
4740
- var isObjectRecord = (value) => Boolean(value) && typeof value === "object";
4741
- var isStreamingSlotWarningController = (value) => isObjectRecord(value) && ("maybeWarn" in value) && typeof value.maybeWarn === "function";
4742
- var isStreamingSlotCollectionController = (value) => isObjectRecord(value) && ("isCollecting" in value) && typeof value.isCollecting === "function";
4605
+ var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
4606
+ var isStreamingSlotWarningController = (value) => isObjectRecord2(value) && ("maybeWarn" in value) && typeof value.maybeWarn === "function";
4607
+ var isStreamingSlotCollectionController = (value) => isObjectRecord2(value) && ("isCollecting" in value) && typeof value.isCollecting === "function";
4743
4608
  var getWarningController = () => {
4744
4609
  const value = Reflect.get(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY);
4745
4610
  if (value === null || typeof value === "undefined")
@@ -4775,14 +4640,14 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
4775
4640
 
4776
4641
  // src/core/streamingSlotRegistry.ts
4777
4642
  var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
4778
- var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
4779
- var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
4643
+ var isObjectRecord3 = (value) => Boolean(value) && typeof value === "object";
4644
+ var isAsyncLocalStorage2 = (value) => isObjectRecord3(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
4780
4645
  var getStorageGlobal = () => {
4781
4646
  const value = Reflect.get(globalThis, STREAMING_SLOT_STORAGE_KEY);
4782
4647
  if (value === null || typeof value === "undefined") {
4783
4648
  return value;
4784
4649
  }
4785
- return isAsyncLocalStorage(value) ? value : undefined;
4650
+ return isAsyncLocalStorage2(value) ? value : undefined;
4786
4651
  };
4787
4652
  var isServerRuntime = () => typeof process !== "undefined" && typeof process.versions?.node === "string";
4788
4653
  var ensureAsyncLocalStorage = async () => {
@@ -4834,16 +4699,7 @@ var runWithStreamingSlotRegistry = async (task) => {
4834
4699
  });
4835
4700
  };
4836
4701
 
4837
- // src/svelte/pageHandler.ts
4838
- init_svelteServerModule();
4839
- init_devRouteRegistrationCallsite();
4840
- init_requestContext();
4841
- init_pageProtocol();
4842
- init_pageResponseCache();
4843
-
4844
4702
  // src/core/responseEnhancers.ts
4845
- init_streamingSlots();
4846
- init_pageResponseCache();
4847
4703
  var toResponse = async (responseLike) => responseLike;
4848
4704
  var cloneHeaders = (response) => {
4849
4705
  const headers = new Headers(response.headers);
@@ -5074,12 +4930,12 @@ var handleSveltePageRequest = async (input) => {
5074
4930
  hasIslands: readHasIslands(importedPageModule)
5075
4931
  };
5076
4932
  };
5077
- const { renderToReadableStream: renderToReadableStream2 } = await Promise.resolve().then(() => (init_renderToReadableStream(), exports_renderToReadableStream));
4933
+ await Promise.resolve().then(() => init_renderToReadableStream());
5078
4934
  const resolvedPage = await resolvePageComponent();
5079
4935
  const siblingCss = await readSiblingCss(resolvedPagePath);
5080
4936
  const cssBlock = siblingCss ? `<style data-absolute-page-css>${siblingCss}</style>` : "";
5081
4937
  const composedHeadContent = `${cssBlock}${withDeferredStylesheets(resolvedOptions?.headContent ?? "", deferredAssets)}`;
5082
- const stream = await renderToReadableStream2(resolvedPage.component, resolvedProps, {
4938
+ const stream = await renderToReadableStream(resolvedPage.component, resolvedProps, {
5083
4939
  bodyContent: resolvedOptions?.bodyContent,
5084
4940
  bootstrapScriptContent: `${BROWSER_TRANSLATION_BASELINE_SCRIPT}window.__ABS_SLOT_HYDRATION_PENDING__=true;window.__INITIAL_PROPS__=${JSON.stringify(resolvedProps)};${resolvedIndexPath ? `import(${JSON.stringify(resolvedIndexPath)});` : ""}`,
5085
4941
  headContent: composedHeadContent
@@ -5237,5 +5093,5 @@ export {
5237
5093
  useIslandStore
5238
5094
  };
5239
5095
 
5240
- //# debugId=2EDE00DA0C38CFA264756E2164756E21
5096
+ //# debugId=FDAD37ADA06BD80864756E2164756E21
5241
5097
  //# sourceMappingURL=index.js.map