@farm.js/core 0.1.75 → 0.1.76

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 (213) hide show
  1. package/dist/{agent-mcp.d-Djvao5eV.d.ts → agent-mcp.d-Cftp2kFv.d.ts} +1 -1
  2. package/dist/{agent-mcp.d-wA13pwmS.d.mts → agent-mcp.d-D0FMmqi0.d.mts} +1 -1
  3. package/dist/agent-runtime.cjs +2 -2
  4. package/dist/agent-runtime.d.mts +7 -5
  5. package/dist/agent-runtime.d.ts +7 -5
  6. package/dist/agent-runtime.mjs +1 -1
  7. package/dist/analyzer-KFJGYJS7.cjs +16 -0
  8. package/dist/{analyzer-LJHMFCDW.mjs → analyzer-NLQKPN74.mjs} +2 -2
  9. package/dist/api/node.d.mts +9 -7
  10. package/dist/api/node.d.ts +9 -7
  11. package/dist/api/route-manager.d.mts +9 -7
  12. package/dist/api/route-manager.d.ts +9 -7
  13. package/dist/api/runtime.d.mts +8 -6
  14. package/dist/api/runtime.d.ts +8 -6
  15. package/dist/api.d.mts +10 -8
  16. package/dist/api.d.ts +10 -8
  17. package/dist/{app-manifest.d-BukcP_EV.d.ts → app-manifest.d-7PmA_9hm.d.ts} +1 -1
  18. package/dist/{app-manifest.d-DIuqSi9k.d.mts → app-manifest.d-cpOw_sV5.d.mts} +1 -1
  19. package/dist/app-markdown.d.mts +8 -6
  20. package/dist/app-markdown.d.ts +8 -6
  21. package/dist/{app.d-YVuFb10p.d.mts → app.d-DUZvwnFF.d.mts} +5 -4
  22. package/dist/{app.d-BQqmM6Gy.d.ts → app.d-wOkxXre8.d.ts} +5 -4
  23. package/dist/{chunk-A5F55ZFA.mjs → chunk-2GZZVIXY.mjs} +1 -1
  24. package/dist/{chunk-4BS3HSY7.cjs → chunk-2JEXQAIR.cjs} +2 -2
  25. package/dist/{chunk-OZARLCYQ.cjs → chunk-2WKGQCAV.cjs} +162 -162
  26. package/dist/{chunk-B4CWYGCG.mjs → chunk-3OYFMOBY.mjs} +1 -1
  27. package/dist/{chunk-GNY7BO7R.mjs → chunk-5EEQNZLU.mjs} +2 -2
  28. package/dist/{chunk-XGDI4OUB.cjs → chunk-6ZFGWB75.cjs} +13 -1
  29. package/dist/{chunk-6MATGOEF.mjs → chunk-A2VFKOQL.mjs} +1 -1
  30. package/dist/{chunk-YL7BKHYE.cjs → chunk-BBRSPKFI.cjs} +277 -265
  31. package/dist/{chunk-BNTRXJL4.cjs → chunk-BYJPBJ4E.cjs} +3 -3
  32. package/dist/{chunk-4ZSZI6XL.cjs → chunk-CCQZDOQR.cjs} +8 -8
  33. package/dist/{chunk-OFIFRB62.mjs → chunk-CKBBKRBO.mjs} +34 -18
  34. package/dist/{chunk-IK33N2AN.cjs → chunk-DTNWLRRF.cjs} +144 -128
  35. package/dist/{chunk-BUC3FDYC.cjs → chunk-DVW6SKHA.cjs} +2 -2
  36. package/dist/{chunk-MFU7SXAB.mjs → chunk-E77ZKNPN.mjs} +1 -1
  37. package/dist/{chunk-YCNKS6SD.mjs → chunk-GP5BWTO7.mjs} +2 -2
  38. package/dist/{chunk-HT2SZKXG.mjs → chunk-H76C5AOU.mjs} +12 -0
  39. package/dist/{chunk-ZV76IQG7.cjs → chunk-HKGU2X4I.cjs} +2 -2
  40. package/dist/{chunk-4T2RB4JA.mjs → chunk-JL6XHQZF.mjs} +3 -3
  41. package/dist/{chunk-HV2WZFUW.mjs → chunk-MOS2N377.mjs} +1 -1
  42. package/dist/{chunk-IDOUCM2X.mjs → chunk-O225GNEU.mjs} +53 -41
  43. package/dist/{chunk-NPGXX7HN.cjs → chunk-PSNYVBWC.cjs} +3 -3
  44. package/dist/{chunk-WHCNJVYU.cjs → chunk-PXXG5BID.cjs} +3 -3
  45. package/dist/{chunk-TJVUTGED.mjs → chunk-Q4X3MX4J.mjs} +201 -3
  46. package/dist/{chunk-TFEODQLG.mjs → chunk-Q7JMHO5U.mjs} +2 -2
  47. package/dist/{chunk-JNZDTE75.cjs → chunk-QP4GYVRR.cjs} +6 -6
  48. package/dist/{chunk-HVJ7IACB.cjs → chunk-QTDIOZV6.cjs} +2 -2
  49. package/dist/{chunk-YSTKSZD2.mjs → chunk-SGQXJVFX.mjs} +1 -1
  50. package/dist/{chunk-KPYQ32BA.cjs → chunk-TMVVBK5S.cjs} +2 -2
  51. package/dist/{chunk-JMYXO572.cjs → chunk-UBXNTZCY.cjs} +205 -7
  52. package/dist/{chunk-2NQ3S2SJ.mjs → chunk-VDJ3CLBR.mjs} +1 -1
  53. package/dist/{chunk-WJ5CCQBM.cjs → chunk-WILPJVQE.cjs} +4 -4
  54. package/dist/{chunk-PBQGIA27.cjs → chunk-WJDMH3E7.cjs} +4 -4
  55. package/dist/{chunk-ZPCZWEU3.cjs → chunk-WMJQNVKX.cjs} +2 -2
  56. package/dist/{chunk-H7QY7ZE4.mjs → chunk-X3HUT4JU.mjs} +1 -1
  57. package/dist/{chunk-IVBDRAOR.cjs → chunk-XLOORES5.cjs} +1 -1
  58. package/dist/{chunk-QGYHE6VJ.mjs → chunk-YHE7HH2I.mjs} +19 -19
  59. package/dist/{chunk-4MU4QCX4.mjs → chunk-YONTMPZ6.mjs} +1 -1
  60. package/dist/{chunk-GLF44JKY.mjs → chunk-YQXJY7E7.mjs} +1 -1
  61. package/dist/cli-runtime.d-D84CwyPI.d.ts +535 -0
  62. package/dist/cli-runtime.d-OQY2pgwK.d.mts +535 -0
  63. package/dist/client/lifecycle.d.mts +1 -1
  64. package/dist/client/lifecycle.d.ts +1 -1
  65. package/dist/{client-component.d-CZ1NpHAY.d.ts → client-component.d-Bf8jZqW7.d.ts} +2 -137
  66. package/dist/{client-component.d-BeqVuqy2.d.mts → client-component.d-Bh6CfC5z.d.mts} +2 -137
  67. package/dist/{client-plugins.d-D9kWC0QB.d.ts → client-plugins.d-DuujrC8d.d.ts} +4 -4
  68. package/dist/{client-plugins.d-ChceYO9t.d.mts → client-plugins.d-r3K2oQ6w.d.mts} +4 -4
  69. package/dist/client-plugins.d.mts +7 -5
  70. package/dist/client-plugins.d.ts +7 -5
  71. package/dist/client.d.mts +12 -10
  72. package/dist/client.d.ts +12 -10
  73. package/dist/config.d.mts +7 -5
  74. package/dist/config.d.ts +7 -5
  75. package/dist/desktop.d.mts +8 -6
  76. package/dist/desktop.d.ts +8 -6
  77. package/dist/{devtools-T5I2WHRX.cjs → devtools-3WZIZ7KK.cjs} +3 -3
  78. package/dist/{devtools-B3W3DLPG.mjs → devtools-MBZPUH3U.mjs} +2 -2
  79. package/dist/docs.cjs +4 -4
  80. package/dist/docs.d.mts +10 -65
  81. package/dist/docs.d.ts +10 -65
  82. package/dist/docs.mjs +3 -3
  83. package/dist/environment/vite.cjs +3 -3
  84. package/dist/environment/vite.mjs +2 -2
  85. package/dist/handler.d-Bd5lRSvb.d.ts +62 -0
  86. package/dist/handler.d-SRH-AKzf.d.mts +62 -0
  87. package/dist/{headers.d-BawakaPv.d.mts → headers.d-CHHvyaIG.d.mts} +1 -1
  88. package/dist/{headers.d-Aux4JVnm.d.ts → headers.d-D-OvGikv.d.ts} +1 -1
  89. package/dist/index.cjs +22 -20
  90. package/dist/index.d-BOPsgMlI.d.mts +16 -0
  91. package/dist/index.d-BiUtYJUG.d.ts +16 -0
  92. package/dist/index.d.mts +39 -556
  93. package/dist/index.d.ts +39 -556
  94. package/dist/index.mjs +21 -19
  95. package/dist/integrations/orm.cjs +3 -3
  96. package/dist/integrations/orm.d.mts +6 -4
  97. package/dist/integrations/orm.d.ts +6 -4
  98. package/dist/integrations/orm.mjs +2 -2
  99. package/dist/integrations.cjs +2 -2
  100. package/dist/integrations.d.mts +7 -5
  101. package/dist/integrations.d.ts +7 -5
  102. package/dist/integrations.mjs +1 -1
  103. package/dist/internal/app-markdown-runtime.d.mts +8 -6
  104. package/dist/internal/app-markdown-runtime.d.ts +8 -6
  105. package/dist/internal/build-runtime.cjs +19 -19
  106. package/dist/internal/build-runtime.d.mts +10 -7
  107. package/dist/internal/build-runtime.d.ts +10 -7
  108. package/dist/internal/build-runtime.mjs +18 -18
  109. package/dist/internal/cli-runtime.cjs +11 -6
  110. package/dist/internal/cli-runtime.d.mts +45 -0
  111. package/dist/internal/cli-runtime.d.ts +45 -0
  112. package/dist/internal/cli-runtime.mjs +10 -5
  113. package/dist/internal/client-error-overlay.cjs +4 -4
  114. package/dist/internal/client-error-overlay.mjs +1 -1
  115. package/dist/internal/client-runtime.d.mts +11 -9
  116. package/dist/internal/client-runtime.d.ts +11 -9
  117. package/dist/internal/compression-runtime.d.mts +7 -5
  118. package/dist/internal/compression-runtime.d.ts +7 -5
  119. package/dist/internal/config-runtime.cjs +4 -4
  120. package/dist/internal/config-runtime.d.mts +9 -7
  121. package/dist/internal/config-runtime.d.ts +9 -7
  122. package/dist/internal/config-runtime.mjs +3 -3
  123. package/dist/internal/infra-analytics-runtime.cjs +6 -6
  124. package/dist/internal/infra-analytics-runtime.mjs +4 -4
  125. package/dist/internal/native-server-fns.cjs +4 -4
  126. package/dist/internal/native-server-fns.mjs +3 -3
  127. package/dist/internal/product-telemetry-runtime.cjs +3 -3
  128. package/dist/internal/product-telemetry-runtime.mjs +2 -2
  129. package/dist/internal/production-runtime.cjs +7 -7
  130. package/dist/internal/production-runtime.d.mts +16 -14
  131. package/dist/internal/production-runtime.d.ts +16 -14
  132. package/dist/internal/production-runtime.mjs +6 -6
  133. package/dist/internal/start-manifest.d.mts +7 -5
  134. package/dist/internal/start-manifest.d.ts +7 -5
  135. package/dist/{lifecycle.d-OtGWAvJT.d.mts → lifecycle.d-VzcXyEyn.d.mts} +1 -1
  136. package/dist/{lifecycle.d-OtGWAvJT.d.ts → lifecycle.d-VzcXyEyn.d.ts} +1 -1
  137. package/dist/markdown.d.mts +7 -5
  138. package/dist/markdown.d.ts +7 -5
  139. package/dist/middleware.d.mts +7 -5
  140. package/dist/middleware.d.ts +7 -5
  141. package/dist/{mount.d-Ca8eb9GB.d.ts → mount.d-C2yq0Zzz.d.ts} +1 -1
  142. package/dist/{mount.d-BomEt2kV.d.mts → mount.d-vq1HTq5u.d.mts} +1 -1
  143. package/dist/{navigation-delegate.d-DJCC2jXF.d.ts → navigation-delegate.d-D7xIin3i.d.ts} +1 -1
  144. package/dist/{navigation-delegate.d-B1ujRkYo.d.mts → navigation-delegate.d-DS2Sqm7E.d.mts} +1 -1
  145. package/dist/navigation.d.mts +10 -8
  146. package/dist/navigation.d.ts +10 -8
  147. package/dist/{plugin-FD4S2QEJ.mjs → plugin-6CHZBFJD.mjs} +1 -1
  148. package/dist/{plugin-5BNPYCER.cjs → plugin-YXPIS3XX.cjs} +2 -2
  149. package/dist/plugin.cjs +12 -12
  150. package/dist/plugin.d.mts +11 -8
  151. package/dist/plugin.d.ts +11 -8
  152. package/dist/plugin.mjs +11 -11
  153. package/dist/{render-plan.d-BxRbaxYA.d.ts → render-plan.d-BCq0nfdw.d.ts} +1 -1
  154. package/dist/{render-plan.d-CFod_Zf-.d.mts → render-plan.d-X6KqerAM.d.mts} +1 -1
  155. package/dist/renderer-client.d.mts +10 -8
  156. package/dist/renderer-client.d.ts +10 -8
  157. package/dist/{request.d-DG4TeXMM.d.mts → request.d-Be9rWboC.d.mts} +1 -1
  158. package/dist/{request.d-DRQgaXGG.d.ts → request.d-CPdq2_kC.d.ts} +1 -1
  159. package/dist/request.d.mts +8 -6
  160. package/dist/request.d.ts +8 -6
  161. package/dist/{route-rendering.d-BXtZKgqu.d.mts → route-rendering.d-CIPli7Ve.d.mts} +1 -1
  162. package/dist/{route-rendering.d-Db07UNVG.d.ts → route-rendering.d-CKB5GhQr.d.ts} +1 -1
  163. package/dist/{router.d-BC3hyjf0.d.ts → router.d-CvrbOXzF.d.ts} +1 -1
  164. package/dist/{router.d-B61kXqxJ.d.mts → router.d-VxTgLGxN.d.mts} +1 -1
  165. package/dist/routes.d.mts +7 -5
  166. package/dist/routes.d.ts +7 -5
  167. package/dist/{rsc-pipeline-LJ7YCGY6.mjs → rsc-pipeline-FPE4OL57.mjs} +4 -4
  168. package/dist/{rsc-pipeline-VENBFYXW.cjs → rsc-pipeline-TPHK74VE.cjs} +5 -5
  169. package/dist/{runtime-4DWUXZHS.mjs → runtime-45BD33OJ.mjs} +3 -3
  170. package/dist/{runtime-UNDTYGQS.cjs → runtime-UBG657UC.cjs} +5 -5
  171. package/dist/{runtime.d-Cl6EBGmC.d.mts → runtime.d-Cn1jiDNI.d.mts} +1 -1
  172. package/dist/{runtime.d-SC95yDzr.d.ts → runtime.d-Ps54JWpo.d.ts} +1 -1
  173. package/dist/{schema.d-Dny9pnrm.d.mts → schema.d-BM-uVGpx.d.mts} +1 -1
  174. package/dist/{schema.d-Dny9pnrm.d.ts → schema.d-BM-uVGpx.d.ts} +1 -1
  175. package/dist/schema.d.mts +1 -1
  176. package/dist/schema.d.ts +1 -1
  177. package/dist/{index.d-r1MLpgeE.d.ts → server-components-status.d-Dhtbs5lC.d.ts} +2 -15
  178. package/dist/{index.d-Ccq42CPU.d.mts → server-components-status.d-DnmipSb3.d.mts} +2 -15
  179. package/dist/server-plugins.d.mts +9 -7
  180. package/dist/server-plugins.d.ts +9 -7
  181. package/dist/server.cjs +37 -35
  182. package/dist/server.d.mts +17 -14
  183. package/dist/server.d.ts +17 -14
  184. package/dist/server.mjs +16 -14
  185. package/dist/session-ACVUJ5XV.cjs +23 -0
  186. package/dist/{session-QZXZOPR2.mjs → session-ASQTJNBK.mjs} +2 -2
  187. package/dist/{spa-router.d-DrlXgDqY.d.mts → spa-router.d-DXm5J9rM.d.mts} +4 -4
  188. package/dist/{spa-router.d-DwM02Mwd.d.ts → spa-router.d-cppVufl2.d.ts} +4 -4
  189. package/dist/ssg.d-CI5OFl8H.d.ts +138 -0
  190. package/dist/ssg.d-Duzy1wQc.d.mts +138 -0
  191. package/dist/storage.cjs +4 -2
  192. package/dist/storage.d.mts +14 -4
  193. package/dist/storage.d.ts +14 -4
  194. package/dist/storage.mjs +3 -1
  195. package/dist/testing.d.mts +7 -5
  196. package/dist/testing.d.ts +7 -5
  197. package/dist/{types.d-BnIqOn9w.d.mts → types.d-D5cY6XjK.d.mts} +43 -2
  198. package/dist/{types.d-BnIqOn9w.d.ts → types.d-D5cY6XjK.d.ts} +43 -2
  199. package/dist/{utils.d-CHzxAshz.d.mts → utils.d-CNI-I8ZV.d.mts} +1 -1
  200. package/dist/{utils.d-C6KXz3uB.d.ts → utils.d-D3dfy8zh.d.ts} +1 -1
  201. package/dist/version.cjs +2 -2
  202. package/dist/version.mjs +1 -1
  203. package/dist/vite.cjs +12 -12
  204. package/dist/vite.d.mts +12 -9
  205. package/dist/vite.d.ts +12 -9
  206. package/dist/vite.mjs +11 -11
  207. package/package.json +10 -3
  208. package/dist/analyzer-23GCBYFI.cjs +0 -16
  209. package/dist/session-2Q72D4QV.cjs +0 -23
  210. /package/dist/{chunk-PMU4U2W2.cjs → chunk-22T75EML.cjs} +0 -0
  211. /package/dist/{chunk-5O3SK3ZC.mjs → chunk-6MNDFNZW.mjs} +0 -0
  212. /package/dist/{chunk-Z5ZZAGIH.mjs → chunk-LSHUCNIF.mjs} +0 -0
  213. /package/dist/{chunk-6DBBMQWT.cjs → chunk-OWO7KDZ3.cjs} +0 -0
@@ -1,7 +1,7 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } async function _asyncNullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return await rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; } async function _asyncOptionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = await fn(value); } else if (op === 'call' || op === 'optionalCall') { value = await fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
2
2
 
3
3
 
4
- var _chunkHVJ7IACBcjs = require('./chunk-HVJ7IACB.cjs');
4
+ var _chunkQTDIOZV6cjs = require('./chunk-QTDIOZV6.cjs');
5
5
 
6
6
 
7
7
  var _chunkAQLHD6HZcjs = require('./chunk-AQLHD6HZ.cjs');
@@ -44,10 +44,11 @@ var _chunk7564NP5Zcjs = require('./chunk-7564NP5Z.cjs');
44
44
 
45
45
 
46
46
 
47
- var _chunkXGDI4OUBcjs = require('./chunk-XGDI4OUB.cjs');
48
47
 
48
+ var _chunk6ZFGWB75cjs = require('./chunk-6ZFGWB75.cjs');
49
49
 
50
- var _chunkWJ5CCQBMcjs = require('./chunk-WJ5CCQBM.cjs');
50
+
51
+ var _chunkWILPJVQEcjs = require('./chunk-WILPJVQE.cjs');
51
52
 
52
53
 
53
54
 
@@ -94,7 +95,7 @@ var _chunk52LTENREcjs = require('./chunk-52LTENRE.cjs');
94
95
 
95
96
 
96
97
 
97
- var _chunkJNZDTE75cjs = require('./chunk-JNZDTE75.cjs');
98
+ var _chunkQP4GYVRRcjs = require('./chunk-QP4GYVRR.cjs');
98
99
 
99
100
 
100
101
  var _chunk7KJJ4SBScjs = require('./chunk-7KJJ4SBS.cjs');
@@ -199,10 +200,10 @@ var _chunkWT6RAN2Icjs = require('./chunk-WT6RAN2I.cjs');
199
200
 
200
201
 
201
202
 
202
- var _chunk6DBBMQWTcjs = require('./chunk-6DBBMQWT.cjs');
203
+ var _chunkOWO7KDZ3cjs = require('./chunk-OWO7KDZ3.cjs');
203
204
 
204
205
 
205
- var _chunkJMYXO572cjs = require('./chunk-JMYXO572.cjs');
206
+ var _chunkUBXNTZCYcjs = require('./chunk-UBXNTZCY.cjs');
206
207
 
207
208
 
208
209
 
@@ -297,7 +298,7 @@ var _chunkSUCDVKUBcjs = require('./chunk-SUCDVKUB.cjs');
297
298
  var _chunkEVIWKPJVcjs = require('./chunk-EVIWKPJV.cjs');
298
299
 
299
300
 
300
- var _chunkIVBDRAORcjs = require('./chunk-IVBDRAOR.cjs');
301
+ var _chunkXLOORES5cjs = require('./chunk-XLOORES5.cjs');
301
302
 
302
303
 
303
304
  var _chunkWKVYF2B5cjs = require('./chunk-WKVYF2B5.cjs');
@@ -498,7 +499,7 @@ var RouteManager = class _RouteManager {
498
499
  this.redirects = /* @__PURE__ */ new Map();
499
500
  this.programmaticPages = /* @__PURE__ */ new Map();
500
501
  this.programmaticLayouts = /* @__PURE__ */ new Map();
501
- this.programmaticClientRoutes = _chunkJNZDTE75cjs.mergeProgrammaticClientRoutes.call(void 0, []);
502
+ this.programmaticClientRoutes = _chunkQP4GYVRRcjs.mergeProgrammaticClientRoutes.call(void 0, []);
502
503
  this.discovery = Promise.resolve();
503
504
  this.reportedIslandsErrors = /* @__PURE__ */ new Set();
504
505
  // Each route module's hydration plan from the last plan, with the source files it read, so a dev
@@ -560,7 +561,7 @@ var RouteManager = class _RouteManager {
560
561
  await this.discoverFileRoutes(source);
561
562
  await this.discoverProgrammaticRoutes(source, programmaticClientRoutes);
562
563
  }
563
- this.programmaticClientRoutes = _chunkJNZDTE75cjs.mergeProgrammaticClientRoutes.call(void 0, programmaticClientRoutes);
564
+ this.programmaticClientRoutes = _chunkQP4GYVRRcjs.mergeProgrammaticClientRoutes.call(void 0, programmaticClientRoutes);
564
565
  for (const slot of this.routeSlots.values()) {
565
566
  if (slot.interception && !this.pageRouteShapes.has(_chunkML4TOUZPcjs.getRoutePatternShape.call(void 0, slot.pattern))) {
566
567
  throw new (0, _chunkML4TOUZPcjs.AmbiguousRouteError)(
@@ -579,8 +580,8 @@ var RouteManager = class _RouteManager {
579
580
  )
580
581
  );
581
582
  this.orderedLayouts = Array.from(this.layouts.values()).sort(
582
- (left, right) => _chunkXGDI4OUBcjs.getRouteDirectoryDepth.call(void 0, left.pattern) - _chunkXGDI4OUBcjs.getRouteDirectoryDepth.call(void 0, right.pattern)
583
- ).map((entry) => ({ entry, groupScope: _chunkXGDI4OUBcjs.getRouteGroupScope.call(void 0, entry.pattern) }));
583
+ (left, right) => _chunk6ZFGWB75cjs.getRouteDirectoryDepth.call(void 0, left.pattern) - _chunk6ZFGWB75cjs.getRouteDirectoryDepth.call(void 0, right.pattern)
584
+ ).map((entry) => ({ entry, groupScope: _chunk6ZFGWB75cjs.getRouteGroupScope.call(void 0, entry.pattern) }));
584
585
  for (const slot of this.routeSlots.values()) {
585
586
  if (!this.routeSlotOwnerSegments.has(slot.ownerPattern)) {
586
587
  this.routeSlotOwnerSegments.set(
@@ -853,11 +854,11 @@ var RouteManager = class _RouteManager {
853
854
  return this.clientManifestCache.manifest;
854
855
  }
855
856
  const cacheFile = this.packageClientBoundaryCacheFile;
856
- const compute = () => _chunkJNZDTE75cjs.withFarmSourceSnapshot.call(void 0,
857
+ const compute = () => _chunkQP4GYVRRcjs.withFarmSourceSnapshot.call(void 0,
857
858
  () => this.computeClientManifest(normalizedProjectRoot),
858
859
  this.sourceSnapshot
859
860
  );
860
- return cacheFile ? _chunkJNZDTE75cjs.runWithPackageClientBoundaryCacheFile.call(void 0, cacheFile, compute) : compute();
861
+ return cacheFile ? _chunkQP4GYVRRcjs.runWithPackageClientBoundaryCacheFile.call(void 0, cacheFile, compute) : compute();
861
862
  }
862
863
  /**
863
864
  * @internal The dev server reports every watched change (`noteSourceChange`), so a replan can
@@ -866,7 +867,7 @@ var RouteManager = class _RouteManager {
866
867
  */
867
868
  trackSourceChanges() {
868
869
  this.sourceChangeTracking = true;
869
- _nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0, _chunkJNZDTE75cjs.FarmSourceSnapshotStore)())));
870
+ _nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0, _chunkQP4GYVRRcjs.FarmSourceSnapshotStore)())));
870
871
  }
871
872
  /**
872
873
  * @internal A production build edits no source while it runs, so what the plan reads, parses and
@@ -875,7 +876,7 @@ var RouteManager = class _RouteManager {
875
876
  */
876
877
  keepBuildSourceSnapshot() {
877
878
  if (this.sourceChangeTracking) return;
878
- _nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0, _chunkJNZDTE75cjs.FarmSourceSnapshotStore)(false))));
879
+ _nullishCoalesce(this.sourceSnapshot, () => ( (this.sourceSnapshot = new (0, _chunkQP4GYVRRcjs.FarmSourceSnapshotStore)(false))));
879
880
  }
880
881
  /**
881
882
  * @internal Hands the snapshot keepBuildSourceSnapshot kept to the build, which clears it once
@@ -918,7 +919,7 @@ var RouteManager = class _RouteManager {
918
919
  return false;
919
920
  }
920
921
  const previous = _optionalChain([this, 'access', _18 => _18.sourceSnapshot, 'optionalAccess', _19 => _19.peekSource, 'call', _20 => _20(path4.default.resolve(file))]);
921
- return previous !== void 0 && _chunkJNZDTE75cjs.isFarmClientModulePlanUnchanged.call(void 0, file, previous);
922
+ return previous !== void 0 && _chunkQP4GYVRRcjs.isFarmClientModulePlanUnchanged.call(void 0, file, previous);
922
923
  }
923
924
  /**
924
925
  * A route module's plan: the last one when it read none of `edited`, recomputed otherwise.
@@ -929,7 +930,7 @@ var RouteManager = class _RouteManager {
929
930
  if (previous && edited && ![...edited].some((file) => previous.files.has(file))) {
930
931
  return { ...previous.plan };
931
932
  }
932
- const { result, files } = _chunkJNZDTE75cjs.traceFarmSourceReads.call(void 0, compute);
933
+ const { result, files } = _chunkQP4GYVRRcjs.traceFarmSourceReads.call(void 0, compute);
933
934
  const sources = /* @__PURE__ */ new Set();
934
935
  for (const file of files) {
935
936
  const source = this.planSourcePath(file);
@@ -937,7 +938,7 @@ var RouteManager = class _RouteManager {
937
938
  }
938
939
  if (!this.sourceChangeTracking) {
939
940
  for (const source of sources) {
940
- if (!this.planStamps.has(source)) this.planStamps.set(source, _chunkJNZDTE75cjs.getFarmSourceStamp.call(void 0, source));
941
+ if (!this.planStamps.has(source)) this.planStamps.set(source, _chunkQP4GYVRRcjs.getFarmSourceStamp.call(void 0, source));
941
942
  }
942
943
  }
943
944
  this.ownerPlans.set(key, { plan: result, files: sources, planKey });
@@ -957,7 +958,7 @@ var RouteManager = class _RouteManager {
957
958
  const isUnchanged = (file) => {
958
959
  let result = unchanged.get(file);
959
960
  if (result === void 0) {
960
- result = this.planStamps.get(file) === _chunkJNZDTE75cjs.getFarmSourceStamp.call(void 0, file);
961
+ result = this.planStamps.get(file) === _chunkQP4GYVRRcjs.getFarmSourceStamp.call(void 0, file);
961
962
  unchanged.set(file, result);
962
963
  }
963
964
  return result;
@@ -1004,7 +1005,7 @@ var RouteManager = class _RouteManager {
1004
1005
  */
1005
1006
  inspectPackages(operation) {
1006
1007
  const file = this.packageClientBoundaryCacheFile;
1007
- return file ? _chunkJNZDTE75cjs.runWithLatestPackageClientBoundaryCache.call(void 0, file, operation) : operation();
1008
+ return file ? _chunkQP4GYVRRcjs.runWithLatestPackageClientBoundaryCache.call(void 0, file, operation) : operation();
1008
1009
  }
1009
1010
  computeClientManifest(normalizedProjectRoot) {
1010
1011
  const toUrlPath = (absolutePath) => {
@@ -1016,7 +1017,7 @@ var RouteManager = class _RouteManager {
1016
1017
  }
1017
1018
  return absolutePath;
1018
1019
  };
1019
- const integrationProviders = _chunk6DBBMQWTcjs.getIntegrationProviders.call(void 0, this.config.integrations).filter(
1020
+ const integrationProviders = _chunkOWO7KDZ3cjs.getIntegrationProviders.call(void 0, this.config.integrations).filter(
1020
1021
  (provider) => provider.component || provider.type === "clerk"
1021
1022
  );
1022
1023
  const unsupportedIntegrationProvider = integrationProviders.find(
@@ -1027,14 +1028,14 @@ var RouteManager = class _RouteManager {
1027
1028
  `[Farm.js] isolated hydration kept route-wide because integration provider "${unsupportedIntegrationProvider.name}" does not declare supportsIsolatedHydration: true.`
1028
1029
  );
1029
1030
  }
1030
- const isolatedMode = _chunkJNZDTE75cjs.resolveFarmIsolatedClientHydrationMode.call(void 0,
1031
+ const isolatedMode = _chunkQP4GYVRRcjs.resolveFarmIsolatedClientHydrationMode.call(void 0,
1031
1032
  _optionalChain([this, 'access', _27 => _27.config, 'access', _28 => _28.experimental, 'optionalAccess', _29 => _29.isolatedClientHydration]),
1032
1033
  {
1033
1034
  serverComponents: _chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([this, 'access', _30 => _30.config, 'access', _31 => _31.experimental, 'optionalAccess', _32 => _32.serverComponents])) === "rsc",
1034
1035
  hasUnsupportedIntegrationProvider: Boolean(unsupportedIntegrationProvider)
1035
1036
  }
1036
1037
  );
1037
- const planOptions = _chunkJNZDTE75cjs.getFarmClientHydrationPlanOptions.call(void 0,
1038
+ const planOptions = _chunkQP4GYVRRcjs.getFarmClientHydrationPlanOptions.call(void 0,
1038
1039
  this.config.renderer,
1039
1040
  Boolean(unsupportedIntegrationProvider)
1040
1041
  );
@@ -1044,7 +1045,7 @@ var RouteManager = class _RouteManager {
1044
1045
  if (this.sourceChangeTracking && this.editedSources && this.ownerPlans.size > 0) {
1045
1046
  edited = /* @__PURE__ */ new Set();
1046
1047
  for (const [file, previous] of _nullishCoalesce(changed, () => ( []))) {
1047
- if (_chunkJNZDTE75cjs.isFarmClientModulePlanUnchanged.call(void 0, file, previous)) continue;
1048
+ if (_chunkQP4GYVRRcjs.isFarmClientModulePlanUnchanged.call(void 0, file, previous)) continue;
1048
1049
  const source = this.planSourcePath(file);
1049
1050
  if (source) edited.add(source);
1050
1051
  }
@@ -1059,13 +1060,13 @@ var RouteManager = class _RouteManager {
1059
1060
  metadata: this.planRouteModule(
1060
1061
  `layout:${entry.modulePath}`,
1061
1062
  edited,
1062
- () => _chunkJNZDTE75cjs.getClientModuleHydrationPlan.call(void 0,
1063
+ () => _chunkQP4GYVRRcjs.getClientModuleHydrationPlan.call(void 0,
1063
1064
  entry.modulePath,
1064
1065
  normalizedProjectRoot,
1065
1066
  isolatedMode,
1066
1067
  layoutPlanOptions
1067
1068
  ),
1068
- _chunkJNZDTE75cjs.getClientModuleHydrationPlanKey.call(void 0,
1069
+ _chunkQP4GYVRRcjs.getClientModuleHydrationPlanKey.call(void 0,
1069
1070
  entry.modulePath,
1070
1071
  normalizedProjectRoot,
1071
1072
  isolatedMode,
@@ -1073,7 +1074,7 @@ var RouteManager = class _RouteManager {
1073
1074
  )
1074
1075
  )
1075
1076
  }));
1076
- const markdownComponentsPlan = _chunkJNZDTE75cjs.createMarkdownPageHydrationPlanner.call(void 0,
1077
+ const markdownComponentsPlan = _chunkQP4GYVRRcjs.createMarkdownPageHydrationPlanner.call(void 0,
1077
1078
  _chunk2HW5LWAHcjs.resolveFarmMdxComponentsModulePath.call(void 0, _chunk2HW5LWAHcjs.resolveMdxConfig.call(void 0, this.config.mdx), normalizedProjectRoot),
1078
1079
  normalizedProjectRoot,
1079
1080
  isolatedMode,
@@ -1089,13 +1090,13 @@ var RouteManager = class _RouteManager {
1089
1090
  metadata: _chunkPG7J7XYTcjs.isFarmMarkdownPageFile.call(void 0, entry.modulePath) ? markdownPagePlan() : this.planRouteModule(
1090
1091
  `page:${entry.modulePath}`,
1091
1092
  edited,
1092
- () => _chunkJNZDTE75cjs.getClientModuleHydrationPlan.call(void 0,
1093
+ () => _chunkQP4GYVRRcjs.getClientModuleHydrationPlan.call(void 0,
1093
1094
  entry.modulePath,
1094
1095
  normalizedProjectRoot,
1095
1096
  isolatedMode,
1096
1097
  pagePlanOptions
1097
1098
  ),
1098
- _chunkJNZDTE75cjs.getClientModuleHydrationPlanKey.call(void 0,
1099
+ _chunkQP4GYVRRcjs.getClientModuleHydrationPlanKey.call(void 0,
1099
1100
  entry.modulePath,
1100
1101
  normalizedProjectRoot,
1101
1102
  isolatedMode,
@@ -1125,18 +1126,18 @@ var RouteManager = class _RouteManager {
1125
1126
  `[Farm.js] ${entry.pattern} renders client components from ${metadata.staticPackageBoundaries.join(", ")} as static HTML: package client components cannot be isolated yet.`
1126
1127
  );
1127
1128
  }
1128
- _chunkJNZDTE75cjs.enforceFarmIsolatedHydrationRouteBudget.call(void 0,
1129
+ _chunkQP4GYVRRcjs.enforceFarmIsolatedHydrationRouteBudget.call(void 0,
1129
1130
  layoutEntries.map(({ entry, metadata }) => ({
1130
1131
  pattern: entry.pattern,
1131
- depth: _chunkXGDI4OUBcjs.getRouteDirectoryDepth.call(void 0, entry.pattern),
1132
+ depth: _chunk6ZFGWB75cjs.getRouteDirectoryDepth.call(void 0, entry.pattern),
1132
1133
  metadata
1133
1134
  })),
1134
1135
  routeEntries.map(({ entry, metadata }) => ({
1135
1136
  pattern: getRouteEntryDirectory(entry),
1136
- depth: _chunkXGDI4OUBcjs.getRouteDirectoryDepth.call(void 0, getRouteEntryDirectory(entry)),
1137
+ depth: _chunk6ZFGWB75cjs.getRouteDirectoryDepth.call(void 0, getRouteEntryDirectory(entry)),
1137
1138
  metadata
1138
1139
  })),
1139
- _chunkXGDI4OUBcjs.routeBoundaryCoversDirectory,
1140
+ _chunk6ZFGWB75cjs.routeBoundaryCoversDirectory,
1140
1141
  { serverOwners: islandsMode }
1141
1142
  );
1142
1143
  for (const { entry, metadata } of [...layoutEntries, ...routeEntries]) {
@@ -1156,7 +1157,7 @@ var RouteManager = class _RouteManager {
1156
1157
  const routes = routeEntries.map(({ entry, metadata }) => {
1157
1158
  const programmaticPage = this.programmaticPages.get(entry.modulePath);
1158
1159
  const layoutShouldHydrate = layoutEntries.some(
1159
- ({ entry: layout, metadata: layoutMetadata }) => layoutMetadata.shouldHydrate && _chunkXGDI4OUBcjs.routeBoundaryCoversDirectory.call(void 0, layout.pattern, getRouteEntryDirectory(entry))
1160
+ ({ entry: layout, metadata: layoutMetadata }) => layoutMetadata.shouldHydrate && _chunk6ZFGWB75cjs.routeBoundaryCoversDirectory.call(void 0, layout.pattern, getRouteEntryDirectory(entry))
1160
1161
  );
1161
1162
  return {
1162
1163
  pattern: entry.pattern,
@@ -1172,8 +1173,8 @@ var RouteManager = class _RouteManager {
1172
1173
  modulePath: toUrlPath(boundary.modulePath)
1173
1174
  }))
1174
1175
  } : {},
1175
- ..._chunkJNZDTE75cjs.usesFarmServerTree.call(void 0, metadata) ? { serverTree: true } : {},
1176
- renderPlan: _chunkXGDI4OUBcjs.createFarmRouteRenderPlan.call(void 0, {
1176
+ ..._chunkQP4GYVRRcjs.usesFarmServerTree.call(void 0, metadata) ? { serverTree: true } : {},
1177
+ renderPlan: _chunk6ZFGWB75cjs.createFarmRouteRenderPlan.call(void 0, {
1177
1178
  pageShouldHydrate: metadata.shouldHydrate,
1178
1179
  layoutShouldHydrate,
1179
1180
  islandStrategy: metadata.islandStrategy
@@ -1189,7 +1190,7 @@ var RouteManager = class _RouteManager {
1189
1190
  }))
1190
1191
  };
1191
1192
  });
1192
- const treeLayoutPatterns = islandsMode ? _chunkXGDI4OUBcjs.getFarmServerTreeLayoutPatterns.call(void 0,
1193
+ const treeLayoutPatterns = islandsMode ? _chunk6ZFGWB75cjs.getFarmServerTreeLayoutPatterns.call(void 0,
1193
1194
  layoutEntries.map(({ entry, metadata }) => ({
1194
1195
  pattern: entry.pattern,
1195
1196
  shouldHydrate: metadata.shouldHydrate,
@@ -1214,7 +1215,7 @@ var RouteManager = class _RouteManager {
1214
1215
  ...metadata.suppressedAsyncHydration && metadata.fallbackReason ? { suppressedAsyncHydrationReason: metadata.fallbackReason } : {}
1215
1216
  }));
1216
1217
  const slots = Array.from(this.routeSlots.values()).map((entry) => {
1217
- const metadata = _chunkJNZDTE75cjs.getClientModuleMetadata.call(void 0, entry.modulePath, normalizedProjectRoot);
1218
+ const metadata = _chunkQP4GYVRRcjs.getClientModuleMetadata.call(void 0, entry.modulePath, normalizedProjectRoot);
1218
1219
  return {
1219
1220
  name: entry.name,
1220
1221
  ownerPattern: entry.ownerPattern,
@@ -1230,7 +1231,7 @@ var RouteManager = class _RouteManager {
1230
1231
  };
1231
1232
  });
1232
1233
  const slotPlans = islandsMode ? Array.from(this.routeSlots.values()).map((entry) => ({
1233
- metadata: _chunkJNZDTE75cjs.getClientModuleHydrationPlan.call(void 0,
1234
+ metadata: _chunkQP4GYVRRcjs.getClientModuleHydrationPlan.call(void 0,
1234
1235
  entry.modulePath,
1235
1236
  normalizedProjectRoot,
1236
1237
  isolatedMode,
@@ -1379,7 +1380,7 @@ var RouteManager = class _RouteManager {
1379
1380
  */
1380
1381
  createRoutePattern(route) {
1381
1382
  if (route.segments.length === 0) return "/";
1382
- return "/" + route.segments.map(_chunkXGDI4OUBcjs.formatRouteSegment).join("/");
1383
+ return "/" + route.segments.map(_chunk6ZFGWB75cjs.formatRouteSegment).join("/");
1383
1384
  }
1384
1385
  registerPageRoute(entry) {
1385
1386
  _chunkML4TOUZPcjs.assertUniqueRouteParameters.call(void 0, entry.pattern);
@@ -1473,7 +1474,7 @@ var RouteManager = class _RouteManager {
1473
1474
  for (const file of files) {
1474
1475
  const route = _chunkGC5ROI3Acjs.parseRoutePath.call(void 0, file);
1475
1476
  const modulePath = path4.default.join(appDir, file);
1476
- const pattern = _chunkXGDI4OUBcjs.createRouteDirectoryPattern.call(void 0, route);
1477
+ const pattern = _chunk6ZFGWB75cjs.createRouteDirectoryPattern.call(void 0, route);
1477
1478
  const existing = target.get(pattern);
1478
1479
  if (_optionalChain([existing, 'optionalAccess', _49 => _49.sourceRoot]) === source.root) {
1479
1480
  throw new Error(
@@ -1495,7 +1496,7 @@ var RouteManager = class _RouteManager {
1495
1496
  const modulePath = path4.default.join(appDir, file);
1496
1497
  const pattern = this.createRoutePattern(slot.route);
1497
1498
  const ownerPattern = this.createRoutePattern(slot.ownerRoute);
1498
- const ownerDirectory = _chunkXGDI4OUBcjs.createRouteDirectoryPattern.call(void 0, slot.ownerRoute);
1499
+ const ownerDirectory = _chunk6ZFGWB75cjs.createRouteDirectoryPattern.call(void 0, slot.ownerRoute);
1499
1500
  const key = `${ownerPattern}:${slot.name}:${slot.interception ? "intercept" : "slot"}:${slot.fallback ? "default" : pattern}`;
1500
1501
  const existing = this.routeSlots.get(key);
1501
1502
  if (_optionalChain([existing, 'optionalAccess', _50 => _50.sourceRoot]) === source.root) {
@@ -1577,11 +1578,11 @@ var RouteManager = class _RouteManager {
1577
1578
  srcDir: source.srcDir,
1578
1579
  loadModule: (filePath) => this.loadProgrammaticRoutesModule(filePath)
1579
1580
  });
1580
- const graph = this.viteServer ? _chunkJNZDTE75cjs.createEvaluatedRouteGraph.call(void 0, this.viteServer) : void 0;
1581
+ const graph = this.viteServer ? _chunkQP4GYVRRcjs.createEvaluatedRouteGraph.call(void 0, this.viteServer) : void 0;
1581
1582
  for (const { filePath, manifest } of manifests) {
1582
1583
  if (graph) {
1583
1584
  clientRoutes.push(
1584
- _chunkJNZDTE75cjs.resolveProgrammaticClientRoutes.call(void 0, {
1585
+ _chunkQP4GYVRRcjs.resolveProgrammaticClientRoutes.call(void 0, {
1585
1586
  graph,
1586
1587
  routesFile: toRealPath(filePath),
1587
1588
  routes: manifest.routes,
@@ -1612,7 +1613,7 @@ var RouteManager = class _RouteManager {
1612
1613
  }
1613
1614
  if (definition.kind === "layout") {
1614
1615
  const route = _chunkYUCU6XB4cjs.parseProgrammaticRoutePath.call(void 0, definition.path, "layout");
1615
- const pattern = _chunkXGDI4OUBcjs.createRouteDirectoryPattern.call(void 0, route);
1616
+ const pattern = _chunk6ZFGWB75cjs.createRouteDirectoryPattern.call(void 0, route);
1616
1617
  const existing = this.layouts.get(pattern);
1617
1618
  if (_optionalChain([existing, 'optionalAccess', _54 => _54.sourceRoot]) === source.root) {
1618
1619
  throw new Error(
@@ -1659,7 +1660,7 @@ var RouteManager = class _RouteManager {
1659
1660
  const matchingLayouts = [];
1660
1661
  for (const { entry, groupScope } of this.orderedLayouts) {
1661
1662
  if (!_chunkGC5ROI3Acjs.matchRoutePrefixParts.call(void 0, pathnameParts, entry.route.segments)) continue;
1662
- if (groupScope !== null && !_chunkXGDI4OUBcjs.isInRouteGroupScope.call(void 0, route && getRouteEntryDirectory(route), groupScope)) {
1663
+ if (groupScope !== null && !_chunk6ZFGWB75cjs.isInRouteGroupScope.call(void 0, route && getRouteEntryDirectory(route), groupScope)) {
1663
1664
  continue;
1664
1665
  }
1665
1666
  matchingLayouts.push(entry);
@@ -1740,14 +1741,14 @@ var RouteManager = class _RouteManager {
1740
1741
  let page = route;
1741
1742
  for (const boundaryEntry of boundaries.values()) {
1742
1743
  if (!_chunkGC5ROI3Acjs.matchRoutePrefix.call(void 0, normalizedPath, boundaryEntry.route.segments)) continue;
1743
- const groupScope = _chunkXGDI4OUBcjs.getRouteGroupScope.call(void 0, boundaryEntry.pattern);
1744
+ const groupScope = _chunk6ZFGWB75cjs.getRouteGroupScope.call(void 0, boundaryEntry.pattern);
1744
1745
  if (groupScope !== null) {
1745
1746
  if (page === void 0) page = this.matchPageRoute(_chunkGC5ROI3Acjs.splitRoutePath.call(void 0, normalizedPath));
1746
- if (!_chunkXGDI4OUBcjs.isInRouteGroupScope.call(void 0, page && getRouteEntryDirectory(page), groupScope)) continue;
1747
+ if (!_chunk6ZFGWB75cjs.isInRouteGroupScope.call(void 0, page && getRouteEntryDirectory(page), groupScope)) continue;
1747
1748
  }
1748
1749
  const depth = boundaryEntry.route.segments.length;
1749
1750
  const bestDepth = _nullishCoalesce(_optionalChain([bestMatch, 'optionalAccess', _58 => _58.route, 'access', _59 => _59.segments, 'access', _60 => _60.length]), () => ( -1));
1750
- if (!bestMatch || depth > bestDepth || depth === bestDepth && _chunkXGDI4OUBcjs.getRouteDirectoryDepth.call(void 0, boundaryEntry.pattern) > _chunkXGDI4OUBcjs.getRouteDirectoryDepth.call(void 0, bestMatch.pattern)) {
1751
+ if (!bestMatch || depth > bestDepth || depth === bestDepth && _chunk6ZFGWB75cjs.getRouteDirectoryDepth.call(void 0, boundaryEntry.pattern) > _chunk6ZFGWB75cjs.getRouteDirectoryDepth.call(void 0, bestMatch.pattern)) {
1751
1752
  bestMatch = boundaryEntry;
1752
1753
  }
1753
1754
  }
@@ -1876,7 +1877,7 @@ var RouteManager = class _RouteManager {
1876
1877
  }
1877
1878
  };
1878
1879
  function getPageDirectoryField(route, pattern) {
1879
- const directory = _chunkXGDI4OUBcjs.createRouteDirectoryPattern.call(void 0, route);
1880
+ const directory = _chunk6ZFGWB75cjs.createRouteDirectoryPattern.call(void 0, route);
1880
1881
  return directory === pattern ? {} : { directory };
1881
1882
  }
1882
1883
  function interpolateRedirectDestination(destination, params, catchAllSegments = {}) {
@@ -2000,11 +2001,11 @@ function createFarmDevClientManifest(manifest, options) {
2000
2001
  }
2001
2002
  for (const layout of manifest.layouts) {
2002
2003
  if (layoutPatterns && !layoutPatterns.has(layout.pattern)) continue;
2003
- const groupScope = _chunkXGDI4OUBcjs.getRouteGroupScope.call(void 0, layout.pattern);
2004
+ const groupScope = _chunk6ZFGWB75cjs.getRouteGroupScope.call(void 0, layout.pattern);
2004
2005
  clientManifest.layouts[layout.pattern] = {
2005
2006
  modulePath: layout.modulePath,
2006
2007
  pattern: layout.pattern,
2007
- ...groupScope ? { urlPattern: _chunkXGDI4OUBcjs.stripRouteGroups.call(void 0, layout.pattern), groupScope } : {},
2008
+ ...groupScope ? { urlPattern: _chunk6ZFGWB75cjs.stripRouteGroups.call(void 0, layout.pattern), groupScope } : {},
2008
2009
  shouldHydrate: layout.shouldHydrate,
2009
2010
  islandStrategy: layout.islandStrategy,
2010
2011
  // Islands mode: rebuilt from its server tree, so its module is never preloaded.
@@ -3079,7 +3080,7 @@ function generateFarmIntegrationProviderClientCode(providers, root, rendererComp
3079
3080
  let hasClerkProvider = false;
3080
3081
  renderedProviders.forEach((provider, index) => {
3081
3082
  let componentExpression = "null";
3082
- if (_chunk6DBBMQWTcjs.isFarmIntegrationProviderComponentReference.call(void 0, provider.component)) {
3083
+ if (_chunkOWO7KDZ3cjs.isFarmIntegrationProviderComponentReference.call(void 0, provider.component)) {
3083
3084
  const namespace = `FarmIntegrationProviderModule${index}`;
3084
3085
  imports.push(
3085
3086
  `import * as ${namespace} from ${JSON.stringify(resolveProviderModule(provider.component.module, root))};`
@@ -3136,7 +3137,7 @@ function generateFarmIntegrationProviderServerModules(providers, root, rendererC
3136
3137
  const entries = [];
3137
3138
  let needsMarkHelper = false;
3138
3139
  providers.forEach((provider, index) => {
3139
- if (!_chunk6DBBMQWTcjs.isFarmIntegrationProviderComponentReference.call(void 0, provider.component)) return;
3140
+ if (!_chunkOWO7KDZ3cjs.isFarmIntegrationProviderComponentReference.call(void 0, provider.component)) return;
3140
3141
  const namespace = `FarmServerIntegrationProviderModule${index}`;
3141
3142
  imports.push(
3142
3143
  `import * as ${namespace} from ${JSON.stringify(resolveProviderModule(provider.component.module, root))};`
@@ -3204,7 +3205,7 @@ function inferFarmIslandStrategy(filePath, root) {
3204
3205
  const result = _compiler.inferStrategy.call(void 0, file, code, {
3205
3206
  parse: parseFarmIslandSource,
3206
3207
  resolve: (specifier, importer) => {
3207
- const resolved = _chunkJNZDTE75cjs.resolveImportedModule.call(void 0, importer, specifier, root);
3208
+ const resolved = _chunkQP4GYVRRcjs.resolveImportedModule.call(void 0, importer, specifier, root);
3208
3209
  return resolved.local ? resolved.path : null;
3209
3210
  }
3210
3211
  });
@@ -3224,7 +3225,7 @@ function inferFarmRouteRootStrategy(owners, root) {
3224
3225
  if (cached && cached.stamps.every(([read2, stamp]) => modifiedAt(read2) === stamp)) {
3225
3226
  return cached.result;
3226
3227
  }
3227
- const { result, files } = _chunkJNZDTE75cjs.traceFarmSourceReads.call(void 0, () => inferRouteRoot(owners, root));
3228
+ const { result, files } = _chunkQP4GYVRRcjs.traceFarmSourceReads.call(void 0, () => inferRouteRoot(owners, root));
3228
3229
  const read = new Set([...files, ...result.files].filter((file) => !isInstalledPackageFile(file)));
3229
3230
  routeRootInferences.set(key, {
3230
3231
  stamps: [...read].map((file) => [file, modifiedAt(file)]),
@@ -3241,7 +3242,7 @@ function inferRouteRoot(owners, root) {
3241
3242
  const files = [];
3242
3243
  const modules = [];
3243
3244
  for (const owner of owners) {
3244
- const rendered = _chunkJNZDTE75cjs.collectFarmRenderedClientModules.call(void 0, owner, root);
3245
+ const rendered = _chunkQP4GYVRRcjs.collectFarmRenderedClientModules.call(void 0, owner, root);
3245
3246
  if (!rendered) {
3246
3247
  return {
3247
3248
  strategy: null,
@@ -3257,7 +3258,7 @@ function inferRouteRoot(owners, root) {
3257
3258
  source = fs2.default.readFileSync(module, "utf8");
3258
3259
  } catch (e11) {
3259
3260
  }
3260
- if (_chunkJNZDTE75cjs.getIslandStrategyExport.call(void 0, source) !== null) return { strategy: null, files, declared: true };
3261
+ if (_chunkQP4GYVRRcjs.getIslandStrategyExport.call(void 0, source) !== null) return { strategy: null, files, declared: true };
3261
3262
  }
3262
3263
  for (const module of modules) {
3263
3264
  const result = inferFarmIslandStrategy(module, root);
@@ -3269,7 +3270,7 @@ function inferRouteRoot(owners, root) {
3269
3270
  function resolveFarmRouteRootStrategy(route, page, layouts, root, islandsMode) {
3270
3271
  const directory = _nullishCoalesce(route.directory, () => ( route.pattern));
3271
3272
  const onRoute = layouts.filter(
3272
- (layout) => _chunkXGDI4OUBcjs.routeBoundaryCoversDirectory.call(void 0, layout.pattern, directory)
3273
+ (layout) => _chunk6ZFGWB75cjs.routeBoundaryCoversDirectory.call(void 0, layout.pattern, directory)
3273
3274
  );
3274
3275
  const declared = [
3275
3276
  ...page.islandStrategy ? [page.islandStrategy] : [],
@@ -3340,11 +3341,11 @@ function getFarmLayoutKey(pattern, params) {
3340
3341
  );
3341
3342
  }
3342
3343
  function countFarmKeptLayouts(layoutsHeader, layouts, params) {
3343
- const chain = _chunkXGDI4OUBcjs.parseFarmLayoutChainHeader.call(void 0, _nullishCoalesce(layoutsHeader, () => ( null)));
3344
+ const chain = _chunk6ZFGWB75cjs.parseFarmLayoutChainHeader.call(void 0, _nullishCoalesce(layoutsHeader, () => ( null)));
3344
3345
  if (chain.length === 0) return 0;
3345
3346
  const keys = layouts.map((layout) => getFarmLayoutKey(layout.pattern, params));
3346
- if (chain[0] === keys[0]) return _chunkXGDI4OUBcjs.getSharedLayoutPrefixLength.call(void 0, chain, keys);
3347
- return keys.length > 1 ? 1 + _chunkXGDI4OUBcjs.getSharedLayoutPrefixLength.call(void 0, chain, keys.slice(1)) : 0;
3347
+ if (chain[0] === keys[0]) return _chunk6ZFGWB75cjs.getSharedLayoutPrefixLength.call(void 0, chain, keys);
3348
+ return keys.length > 1 ? 1 + _chunk6ZFGWB75cjs.getSharedLayoutPrefixLength.call(void 0, chain, keys.slice(1)) : 0;
3348
3349
  }
3349
3350
  function createFarmFlushToken() {
3350
3351
  const bytes = new Uint8Array(16);
@@ -3599,7 +3600,7 @@ function createDefaultErrorDiagnostics(error, root) {
3599
3600
  function canBootFarmIslandsClient(config) {
3600
3601
  const docs = config.docs;
3601
3602
  const docsEnabled = docs === true || typeof docs === "object" && docs !== null && docs.enabled !== false;
3602
- return _chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _70 => _70.experimental, 'optionalAccess', _71 => _71.serverComponents])) === "islands" && !docsEnabled && _chunkHVJ7IACBcjs.resolveFarmClientPlugins.call(void 0, config.plugins, config.root).length === 0 && !_chunkHVJ7IACBcjs.resolveFarmAppClientEntry.call(void 0, config.root, config.srcDir || "src");
3603
+ return _chunkRE5E2G5Scjs.resolveFarmServerComponentsMode.call(void 0, _optionalChain([config, 'access', _70 => _70.experimental, 'optionalAccess', _71 => _71.serverComponents])) === "islands" && !docsEnabled && _chunkQTDIOZV6cjs.resolveFarmClientPlugins.call(void 0, config.plugins, config.root).length === 0 && !_chunkQTDIOZV6cjs.resolveFarmAppClientEntry.call(void 0, config.root, config.srcDir || "src");
3603
3604
  }
3604
3605
 
3605
3606
  // src/islands-kept-layouts.ts
@@ -3647,7 +3648,7 @@ var DECLARATION_STATEMENTS = /* @__PURE__ */ new Set([
3647
3648
  function parse(code, file) {
3648
3649
  const extension = path4.default.extname(file).slice(1);
3649
3650
  const lang = extension === "ts" || extension === "mts" || extension === "cts" ? "ts" : extension === "js" || extension === "mjs" || extension === "cjs" || extension === "jsx" ? "jsx" : "tsx";
3650
- return _chunkJNZDTE75cjs.memoizeInFarmSourceSnapshot.call(void 0, `ast:${lang}`, code, () => {
3651
+ return _chunkQP4GYVRRcjs.memoizeInFarmSourceSnapshot.call(void 0, `ast:${lang}`, code, () => {
3651
3652
  try {
3652
3653
  return _parseAst.parseAst.call(void 0, code, { lang });
3653
3654
  } catch (e14) {
@@ -3782,14 +3783,14 @@ function isReference(node, parent, key) {
3782
3783
  }
3783
3784
  function readSource(file) {
3784
3785
  try {
3785
- _chunkJNZDTE75cjs.noteFarmSourceRead.call(void 0, file);
3786
+ _chunkQP4GYVRRcjs.noteFarmSourceRead.call(void 0, file);
3786
3787
  return fs2.default.readFileSync(file, "utf8");
3787
3788
  } catch (e15) {
3788
3789
  return null;
3789
3790
  }
3790
3791
  }
3791
3792
  function explainFarmKeptLayoutRender(modulePath, root) {
3792
- const entry = _chunkJNZDTE75cjs.resolveModuleSourcePath.call(void 0, modulePath, root);
3793
+ const entry = _chunkQP4GYVRRcjs.resolveModuleSourcePath.call(void 0, modulePath, root);
3793
3794
  if (!entry) return `${modulePath} does not resolve`;
3794
3795
  const visited = /* @__PURE__ */ new Set();
3795
3796
  const check = (file) => {
@@ -3799,7 +3800,7 @@ function explainFarmKeptLayoutRender(modulePath, root) {
3799
3800
  if (!SCRIPT_SOURCE.test(file)) return `${path4.default.relative(root, file)} is not a script`;
3800
3801
  const code = readSource(file);
3801
3802
  if (code === null) return `${path4.default.relative(root, file)} cannot be read`;
3802
- const { reason, imports } = _chunkJNZDTE75cjs.memoizeInFarmSourceSnapshot.call(void 0,
3803
+ const { reason, imports } = _chunkQP4GYVRRcjs.memoizeInFarmSourceSnapshot.call(void 0,
3803
3804
  "kept-layout-module",
3804
3805
  code,
3805
3806
  () => findFarmRequestDecidingConstruct(code, file)
@@ -3812,7 +3813,7 @@ function explainFarmKeptLayoutRender(modulePath, root) {
3812
3813
  return `${path4.default.relative(root, file)} imports ${imported.names.join(", ")} from ${imported.source}`;
3813
3814
  }
3814
3815
  if (ASSET_SOURCE.test(imported.source.split("?")[0])) continue;
3815
- const resolved = _chunkJNZDTE75cjs.resolveImportedModule.call(void 0, file, imported.source, root);
3816
+ const resolved = _chunkQP4GYVRRcjs.resolveImportedModule.call(void 0, file, imported.source, root);
3816
3817
  if (!resolved.path || !resolved.local) {
3817
3818
  return `${path4.default.relative(root, file)} imports ${imported.source}`;
3818
3819
  }
@@ -3827,15 +3828,15 @@ var answers = /* @__PURE__ */ new Map();
3827
3828
  function canFarmSkipKeptLayoutRender(modulePath, root) {
3828
3829
  const key = `${root}\0${modulePath}`;
3829
3830
  const known = answers.get(key);
3830
- if (known && known.stamps.every(([file, stamp]) => _chunkJNZDTE75cjs.getFarmSourceStamp.call(void 0, file) === stamp)) {
3831
+ if (known && known.stamps.every(([file, stamp]) => _chunkQP4GYVRRcjs.getFarmSourceStamp.call(void 0, file) === stamp)) {
3831
3832
  return known.skip;
3832
3833
  }
3833
- const { result, files } = _chunkJNZDTE75cjs.traceFarmSourceReads.call(void 0,
3834
+ const { result, files } = _chunkQP4GYVRRcjs.traceFarmSourceReads.call(void 0,
3834
3835
  () => explainFarmKeptLayoutRender(modulePath, root) === null
3835
3836
  );
3836
3837
  answers.set(key, {
3837
3838
  skip: result,
3838
- stamps: files.map((file) => [file, _chunkJNZDTE75cjs.getFarmSourceStamp.call(void 0, file)])
3839
+ stamps: files.map((file) => [file, _chunkQP4GYVRRcjs.getFarmSourceStamp.call(void 0, file)])
3839
3840
  });
3840
3841
  return result;
3841
3842
  }
@@ -3916,7 +3917,7 @@ var warnedSuppressedAsyncHydrationModules = /* @__PURE__ */ new Set();
3916
3917
  function warnSuppressedAsyncHydrationOnce(modulePath, reason) {
3917
3918
  if (warnedSuppressedAsyncHydrationModules.has(modulePath)) return;
3918
3919
  warnedSuppressedAsyncHydrationModules.add(modulePath);
3919
- _chunkGC5ROI3Acjs.logger.warn(_chunkJNZDTE75cjs.describeSuppressedAsyncHydration.call(void 0, modulePath, reason));
3920
+ _chunkGC5ROI3Acjs.logger.warn(_chunkQP4GYVRRcjs.describeSuppressedAsyncHydration.call(void 0, modulePath, reason));
3920
3921
  }
3921
3922
  var fullDocumentRoutes = /* @__PURE__ */ new Set();
3922
3923
  var documentLayouts = /* @__PURE__ */ new WeakMap();
@@ -3967,7 +3968,7 @@ function appendResponseVary(res, value) {
3967
3968
  function renderI18nAlternateLinks(requestPath, snapshot, options) {
3968
3969
  if (snapshot.routing === "none") return "";
3969
3970
  const url = new URL(requestPath, "http://farm.local");
3970
- return _chunkXGDI4OUBcjs.renderFarmLocaleAlternateLinks.call(void 0, url.pathname, snapshot, options);
3971
+ return _chunk6ZFGWB75cjs.renderFarmLocaleAlternateLinks.call(void 0, url.pathname, snapshot, options);
3971
3972
  }
3972
3973
  var PPR_REFRESH_MAX_ATTEMPTS = 3;
3973
3974
  function createPPRRefreshScript() {
@@ -4356,7 +4357,7 @@ var ServerRenderer = class {
4356
4357
  );
4357
4358
  return { html: rendered.html, head: rendered.head || "" };
4358
4359
  }
4359
- const { head, body } = _chunkXGDI4OUBcjs.takeFarmHoistedHead.call(void 0,
4360
+ const { head, body } = _chunk6ZFGWB75cjs.takeFarmHoistedHead.call(void 0,
4360
4361
  await this.renderElementToCompleteHTML(element, options),
4361
4362
  true
4362
4363
  );
@@ -4400,11 +4401,17 @@ var ServerRenderer = class {
4400
4401
  layoutShouldHydrate: input.layoutShouldHydrate,
4401
4402
  islandStrategy: input.islandStrategy
4402
4403
  });
4403
- const layoutStartIndex = Math.max(
4404
- 0,
4405
- Math.min(_nullishCoalesce(input.layoutStartIndex, () => ( 0)), input.layouts.length)
4404
+ const sharedCount = Math.max(0, Math.min(_nullishCoalesce(input.layoutStartIndex, () => ( 0)), input.layouts.length));
4405
+ const dynamicTreeIndex = input.layouts.findIndex(
4406
+ (layout, index) => index < sharedCount && layout.serverTree && layout.pattern.includes("[")
4406
4407
  );
4407
- for (let index = input.layouts.length - 1; index >= layoutStartIndex; index--) {
4408
+ const layoutStartIndex = dynamicTreeIndex === -1 ? sharedCount : dynamicTreeIndex;
4409
+ const fragmentTag = this.reactRenderer && layoutStartIndex > 0 ? "farm-fragment-" + createFarmFlushToken() : null;
4410
+ const renderFrom = this.reactRenderer ? 0 : sharedCount;
4411
+ for (let index = input.layouts.length - 1; index >= renderFrom; index--) {
4412
+ if (fragmentTag && index === layoutStartIndex - 1) {
4413
+ element = this.rendererRuntime.createElement(fragmentTag, null, element);
4414
+ }
4408
4415
  const layout = input.layouts[index];
4409
4416
  const LayoutComponent = layout.module.default;
4410
4417
  if (!LayoutComponent) continue;
@@ -4425,10 +4432,15 @@ var ServerRenderer = class {
4425
4432
  slotElement
4426
4433
  );
4427
4434
  }
4428
- element = this.rendererRuntime.createElement(LayoutComponent, {
4429
- children: element,
4435
+ const outlets = { children: element, ...slotProps };
4436
+ element = index >= layoutStartIndex && input.layoutShouldHydrate && layout.serverTree && islands && this.islandValues() ? await islands.renderFarmServerTreeLayout(
4437
+ LayoutComponent,
4438
+ { params: input.params },
4439
+ outlets,
4440
+ layout.pattern
4441
+ ) : this.rendererRuntime.createElement(LayoutComponent, {
4430
4442
  params: input.params,
4431
- ...slotProps
4443
+ ...outlets
4432
4444
  });
4433
4445
  element = this.createLayoutBoundary(layout.pattern, element);
4434
4446
  }
@@ -4438,9 +4450,13 @@ var ServerRenderer = class {
4438
4450
  if (input.layoutShouldHydrate) {
4439
4451
  element = this.wrapClientGraph(element);
4440
4452
  }
4441
- return this.renderElementToCompleteHTML(await this.wrapWithIntegrationProviders(element), {
4442
- rejectLateRedirects: true
4443
- });
4453
+ const html = await this.renderElementToCompleteHTML(
4454
+ await this.wrapWithIntegrationProviders(element),
4455
+ {
4456
+ rejectLateRedirects: true
4457
+ }
4458
+ );
4459
+ return fragmentTag ? _chunk6ZFGWB75cjs.takeFarmNavigationOutlet.call(void 0, html, fragmentTag) : html;
4444
4460
  }
4445
4461
  /**
4446
4462
  * A built-in docs runtime page (`docs.entry`, no adapter) under layouts that hydrate, or whose
@@ -4472,7 +4488,7 @@ var ServerRenderer = class {
4472
4488
  islands: _optionalChain([entry, 'optionalAccess', _111 => _111.hasIsolatedClientBoundaries]) === true
4473
4489
  };
4474
4490
  });
4475
- if (!_chunkXGDI4OUBcjs.farmDocsLayoutsWrapPage.call(void 0, layouts)) return response;
4491
+ if (!_chunk6ZFGWB75cjs.farmDocsLayoutsWrapPage.call(void 0, layouts)) return response;
4476
4492
  const shouldHydrateLayout = layouts.some((layout) => layout.shouldHydrate);
4477
4493
  const hasIsolatedClientBoundaries = layouts.some(
4478
4494
  (layout) => layout.hasIsolatedClientBoundaries
@@ -4493,8 +4509,8 @@ var ServerRenderer = class {
4493
4509
  ...layout,
4494
4510
  Component: _optionalChain([modules, 'access', _112 => _112[index], 'optionalAccess', _113 => _113.default])
4495
4511
  }));
4496
- const islandStrategy = _chunkXGDI4OUBcjs.resolveFarmDocsLayoutIslandStrategy.call(void 0, treeLayouts);
4497
- const tree = await _chunkXGDI4OUBcjs.createFarmDocsLayoutTree.call(void 0, this.rendererRuntime, {
4512
+ const islandStrategy = _chunk6ZFGWB75cjs.resolveFarmDocsLayoutIslandStrategy.call(void 0, treeLayouts);
4513
+ const tree = await _chunk6ZFGWB75cjs.createFarmDocsLayoutTree.call(void 0, this.rendererRuntime, {
4498
4514
  pageHtml: bodyMatch[2],
4499
4515
  layouts: treeLayouts,
4500
4516
  params: matched.params,
@@ -4515,7 +4531,7 @@ var ServerRenderer = class {
4515
4531
  )
4516
4532
  )
4517
4533
  );
4518
- const rootMarkup = _chunkXGDI4OUBcjs.placeFarmDocsLayoutRoot.call(void 0, rendered.html);
4534
+ const rootMarkup = _chunk6ZFGWB75cjs.placeFarmDocsLayoutRoot.call(void 0, rendered.html);
4519
4535
  const clientLayouts = layouts.map((layout) => ({
4520
4536
  pattern: layout.pattern,
4521
4537
  modulePath: _chunkGC5ROI3Acjs.toViteModuleId.call(void 0, layout.modulePath, root),
@@ -4551,7 +4567,7 @@ window.__FARM_ISLAND_STRATEGY__ = ${serializeInlineValue(islandStrategy)};
4551
4567
  window.__FARM_PAGE_MODULE__ = "";
4552
4568
  window.__FARM_LOADING_MODULE__ = null;
4553
4569
  window.__FARM_MANIFEST__ = ${serializeInlineValue(clientManifest)};
4554
- window.__FARM_INTEGRATION_API_MANIFEST__ = ${serializeInlineValue(_chunk6DBBMQWTcjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
4570
+ window.__FARM_INTEGRATION_API_MANIFEST__ = ${serializeInlineValue(_chunkOWO7KDZ3cjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
4555
4571
  window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "null"};
4556
4572
  </script>`;
4557
4573
  const head = [
@@ -5205,7 +5221,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5205
5221
  const routeManifestEntry = routeManifest.routes.find(
5206
5222
  (entry) => entry.pattern === route.pattern
5207
5223
  );
5208
- const moduleMetadata = routeManifestEntry || _chunkJNZDTE75cjs.getClientModuleMetadata.call(void 0, route.modulePath, this.config.root);
5224
+ const moduleMetadata = routeManifestEntry || _chunkQP4GYVRRcjs.getClientModuleMetadata.call(void 0, route.modulePath, this.config.root);
5209
5225
  const isClientComponent = moduleMetadata.isClientComponent;
5210
5226
  const renderedRouteSlots = await Promise.all(
5211
5227
  routeSlots.map(async (slot) => {
@@ -5629,7 +5645,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5629
5645
  }
5630
5646
  }
5631
5647
  emitFarmRenderError(req, pathname, error);
5632
- const errorStatus = _chunkXGDI4OUBcjs.resolveDefaultErrorStatus.call(void 0, error);
5648
+ const errorStatus = _chunk6ZFGWB75cjs.resolveDefaultErrorStatus.call(void 0, error);
5633
5649
  if (pprRefreshRoute) {
5634
5650
  _chunkEVIWKPJVcjs.emitFarmEvent.call(void 0, {
5635
5651
  type: "ppr.refresh.error",
@@ -5668,7 +5684,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5668
5684
  }
5669
5685
  }
5670
5686
  async wrapWithIntegrationProviders(element) {
5671
- const providers = _chunk6DBBMQWTcjs.getIntegrationProviders.call(void 0, this.config.integrations);
5687
+ const providers = _chunkOWO7KDZ3cjs.getIntegrationProviders.call(void 0, this.config.integrations);
5672
5688
  let wrapped = element;
5673
5689
  for (let i = providers.length - 1; i >= 0; i--) {
5674
5690
  const provider = providers[i];
@@ -5686,7 +5702,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5686
5702
  }
5687
5703
  let ProviderComponent;
5688
5704
  let providerSourceModule;
5689
- if (_chunk6DBBMQWTcjs.isFarmIntegrationProviderComponentReference.call(void 0, provider.component)) {
5705
+ if (_chunkOWO7KDZ3cjs.isFarmIntegrationProviderComponentReference.call(void 0, provider.component)) {
5690
5706
  providerSourceModule = provider.component.module;
5691
5707
  const providerModuleId = provider.component.module.startsWith(".") ? _chunkGC5ROI3Acjs.toViteModuleId.call(void 0,
5692
5708
  path10.resolve(this.config.root, provider.component.module),
@@ -5862,7 +5878,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5862
5878
  origin: await this.getAgentOrigin(request2),
5863
5879
  readMarkdown: llmsContext.markdown
5864
5880
  }) : value;
5865
- const response = _chunkXGDI4OUBcjs.createFarmMetadataRouteResponse.call(void 0, match.metadata.kind, body, routeModule, {
5881
+ const response = _chunk6ZFGWB75cjs.createFarmMetadataRouteResponse.call(void 0, match.metadata.kind, body, routeModule, {
5866
5882
  method,
5867
5883
  request: request2
5868
5884
  });
@@ -5898,7 +5914,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5898
5914
  }) : context.defaults;
5899
5915
  await _chunkJRGR5Z4Kcjs.sendWebResponse.call(void 0,
5900
5916
  res,
5901
- _chunkXGDI4OUBcjs.createFarmMetadataRouteResponse.call(void 0,
5917
+ _chunk6ZFGWB75cjs.createFarmMetadataRouteResponse.call(void 0,
5902
5918
  kind,
5903
5919
  body,
5904
5920
  { revalidate: config.revalidate },
@@ -5933,7 +5949,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5933
5949
  });
5934
5950
  await _chunkJRGR5Z4Kcjs.sendWebResponse.call(void 0,
5935
5951
  res,
5936
- _chunkXGDI4OUBcjs.createFarmMetadataRouteResponse.call(void 0, "robots", robots, {}, { method: req.method })
5952
+ _chunk6ZFGWB75cjs.createFarmMetadataRouteResponse.call(void 0, "robots", robots, {}, { method: req.method })
5937
5953
  );
5938
5954
  } catch (error) {
5939
5955
  _chunkGC5ROI3Acjs.logger.error(`Generated robots.txt failed: ${error}`);
@@ -5983,7 +5999,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
5983
5999
  );
5984
6000
  await _chunkJRGR5Z4Kcjs.sendWebResponse.call(void 0,
5985
6001
  res,
5986
- _chunkXGDI4OUBcjs.createFarmMetadataRouteResponse.call(void 0, "sitemap", sitemap, {}, { method: req.method })
6002
+ _chunk6ZFGWB75cjs.createFarmMetadataRouteResponse.call(void 0, "sitemap", sitemap, {}, { method: req.method })
5987
6003
  );
5988
6004
  } catch (error) {
5989
6005
  _chunkGC5ROI3Acjs.logger.error(`Generated sitemap.xml failed: ${error}`);
@@ -6012,7 +6028,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
6012
6028
  getAgentListedRoutes() {
6013
6029
  const guards = { config: this.config, middlewareRoutes: _nullishCoalesce(_optionalChain([this, 'access', _210 => _210.middlewareRoutes, 'optionalCall', _211 => _211()]), () => ( [])) };
6014
6030
  return [...this.routeManager.getRoutes()].filter(
6015
- ([pattern]) => !pattern.includes("[") && !_chunkXGDI4OUBcjs.farmPathGuardCoversPage.call(void 0, guards, pattern)
6031
+ ([pattern]) => !pattern.includes("[") && !_chunk6ZFGWB75cjs.farmPathGuardCoversPage.call(void 0, guards, pattern)
6016
6032
  );
6017
6033
  }
6018
6034
  /**
@@ -6041,7 +6057,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
6041
6057
  if (this.routeManager.matchRoute(_chunkYRXPDKMMcjs.FARM_DEFAULT_MCP_PATH).route) return void 0;
6042
6058
  _nullishCoalesce(this.defaultMCPServer, () => ( (this.defaultMCPServer = _chunkYRXPDKMMcjs.createFarmDefaultMCPServer.call(void 0,
6043
6059
  readAppPackageIdentity(this.config.root),
6044
- _chunkIVBDRAORcjs.FARM_VERSION
6060
+ _chunkXLOORES5cjs.FARM_VERSION
6045
6061
  ))));
6046
6062
  return _chunkYRXPDKMMcjs.resolveFarmDefaultMCPServer.call(void 0, this.defaultMCPServer);
6047
6063
  }
@@ -6135,7 +6151,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
6135
6151
  pages,
6136
6152
  config,
6137
6153
  rootMetadata,
6138
- mcp: _optionalChain([this, 'access', _227 => _227.config, 'access', _228 => _228.agent, 'optionalAccess', _229 => _229.aiCatalog]) === false ? [] : _chunkWJ5CCQBMcjs.listFarmMCPLlmsTxtLinks.call(void 0, origin, {
6154
+ mcp: _optionalChain([this, 'access', _227 => _227.config, 'access', _228 => _228.agent, 'optionalAccess', _229 => _229.aiCatalog]) === false ? [] : _chunkWILPJVQEcjs.listFarmMCPLlmsTxtLinks.call(void 0, origin, {
6139
6155
  basePath: this.config.basePath,
6140
6156
  apiServerBasePath: _chunk2OF5RPVUcjs.resolveFarmAPIServerBasePath.call(void 0,
6141
6157
  _chunkPMJSG4JScjs.normalizeFarmAPIConfig.call(void 0,
@@ -6295,7 +6311,7 @@ window.__FARM_I18N__ = ${i18nSnapshot ? serializeInlineValue(i18nSnapshot) : "nu
6295
6311
  });
6296
6312
  let wrapped = errorElement;
6297
6313
  const boundaryLayouts = options.errorPattern === void 0 ? options.layouts : options.layouts.filter(
6298
- (layout) => !("pattern" in layout) || _chunkXGDI4OUBcjs.routeBoundaryCoversDirectory.call(void 0,
6314
+ (layout) => !("pattern" in layout) || _chunk6ZFGWB75cjs.routeBoundaryCoversDirectory.call(void 0,
6299
6315
  layout.pattern,
6300
6316
  options.errorPattern
6301
6317
  )
@@ -6379,7 +6395,7 @@ window.__FARM_ISLAND_STRATEGY__ = ${JSON.stringify(req.__FARM_ISLAND_STRATEGY__
6379
6395
  window.__FARM_PAGE_MODULE__ = ${JSON.stringify(relativePath)};
6380
6396
  window.__FARM_LOADING_MODULE__ = ${JSON.stringify(req.__FARM_LOADING_MODULE_PATH__ || null)};
6381
6397
  window.__FARM_MANIFEST__ = ${JSON.stringify(clientManifest)};
6382
- window.__FARM_INTEGRATION_API_MANIFEST__ = ${JSON.stringify(_chunk6DBBMQWTcjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
6398
+ window.__FARM_INTEGRATION_API_MANIFEST__ = ${JSON.stringify(_chunkOWO7KDZ3cjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
6383
6399
  window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0, ) ? serializeInlineValue(_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0, )) : "null"};
6384
6400
  </script>`);
6385
6401
  const deferredScript = farmScripts(createDeferredHydrationScript(deferredProps.records));
@@ -6416,19 +6432,19 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
6416
6432
  i18nSnapshot,
6417
6433
  this.getI18nAlternateOptions(req, req.__FARM_METADATA__)
6418
6434
  ) : "";
6419
- const themeDocument = _chunkXGDI4OUBcjs.createFarmThemeDocumentParts.call(void 0,
6435
+ const themeDocument = _chunk6ZFGWB75cjs.createFarmThemeDocumentParts.call(void 0,
6420
6436
  this.config.theme,
6421
6437
  this.config.basePath,
6422
6438
  _chunk5AMH6AFAcjs.getTheme.call(void 0, )
6423
6439
  );
6424
6440
  themeDocument.head = farmScripts(themeDocument.head);
6425
- const fullDocument = _chunkXGDI4OUBcjs.extractFarmFullDocument.call(void 0, _chunkXGDI4OUBcjs.markFarmDocumentLayouts.call(void 0, content));
6441
+ const fullDocument = _chunk6ZFGWB75cjs.extractFarmFullDocument.call(void 0, _chunk6ZFGWB75cjs.markFarmDocumentLayouts.call(void 0, content));
6426
6442
  let html;
6427
6443
  if (fullDocument) {
6428
6444
  const shouldReplaceLayoutTitle = hasExplicitTitle || rendererHasTitle;
6429
- const documentHtml = shouldReplaceLayoutTitle ? _chunkXGDI4OUBcjs.removeFarmDocumentTitles.call(void 0, fullDocument) : fullDocument;
6430
- const effectiveRendererHead = hasExplicitTitle ? _chunkXGDI4OUBcjs.removeFarmDocumentTitles.call(void 0, rendererHead) : rendererHead;
6431
- html = _chunkXGDI4OUBcjs.composeFarmFullDocument.call(void 0, documentHtml, {
6445
+ const documentHtml = shouldReplaceLayoutTitle ? _chunk6ZFGWB75cjs.removeFarmDocumentTitles.call(void 0, fullDocument) : fullDocument;
6446
+ const effectiveRendererHead = hasExplicitTitle ? _chunk6ZFGWB75cjs.removeFarmDocumentTitles.call(void 0, rendererHead) : rendererHead;
6447
+ html = _chunk6ZFGWB75cjs.composeFarmFullDocument.call(void 0, documentHtml, {
6432
6448
  fallbackIcon: !hasFavicon,
6433
6449
  viewport: viewportTags,
6434
6450
  htmlAttributes: `${i18nSnapshot ? ` lang="${escapeHtmlAttribute2(i18nSnapshot.locale)}" dir="${escapeHtmlAttribute2(i18nSnapshot.direction)}"` : ""}${themeDocument.attributes}`,
@@ -6604,7 +6620,7 @@ window.__FARM_LOADING_MODULE__ = ${JSON.stringify(
6604
6620
  req.__FARM_LOADING_MODULE_PATH__ || null
6605
6621
  )};
6606
6622
  window.__FARM_MANIFEST__ = ${JSON.stringify(clientManifest)};
6607
- window.__FARM_INTEGRATION_API_MANIFEST__ = ${JSON.stringify(_chunk6DBBMQWTcjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
6623
+ window.__FARM_INTEGRATION_API_MANIFEST__ = ${JSON.stringify(_chunkOWO7KDZ3cjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
6608
6624
  window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0, ) ? serializeInlineValue(_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0, )) : "null"};
6609
6625
  </script>${_chunkPBJ7MEOVcjs.renderFarmFormStateScript.call(void 0, )}`;
6610
6626
  const islandsOnlyPage = this.islandValues() && req.__FARM_PAGE_SHOULD_HYDRATE__ !== true && req.__FARM_LAYOUT_SHOULD_HYDRATE__ !== true && req.__FARM_HAS_HYDRATABLE_ROUTE_SLOTS__ !== true;
@@ -6629,7 +6645,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
6629
6645
  this.getI18nAlternateOptions(req, req.__FARM_METADATA__)
6630
6646
  ) : "";
6631
6647
  const fontHead = renderFarmFontDevHead(this.config.root || process.cwd());
6632
- const themeDocument = _chunkXGDI4OUBcjs.createFarmThemeDocumentParts.call(void 0,
6648
+ const themeDocument = _chunk6ZFGWB75cjs.createFarmThemeDocumentParts.call(void 0,
6633
6649
  this.config.theme,
6634
6650
  this.config.basePath,
6635
6651
  _chunk5AMH6AFAcjs.getTheme.call(void 0, )
@@ -6687,10 +6703,10 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
6687
6703
  let pendingShell = streamDocument ? "" : stampDocumentHTML(shell);
6688
6704
  let heldHead = "";
6689
6705
  const releaseShell = (complete) => {
6690
- const split = _chunkXGDI4OUBcjs.takeFarmHoistedHead.call(void 0, heldHead, complete);
6706
+ const split = _chunk6ZFGWB75cjs.takeFarmHoistedHead.call(void 0, heldHead, complete);
6691
6707
  if (!split) return null;
6692
- const shellHead = !hasExplicitTitle && /<title[\s>]/i.test(split.head) ? _chunkXGDI4OUBcjs.removeFarmDocumentTitles.call(void 0, pendingShell) : pendingShell;
6693
- const opened = _chunkXGDI4OUBcjs.appendFarmHead.call(void 0, shellHead, split.head);
6708
+ const shellHead = !hasExplicitTitle && /<title[\s>]/i.test(split.head) ? _chunk6ZFGWB75cjs.removeFarmDocumentTitles.call(void 0, pendingShell) : pendingShell;
6709
+ const opened = _chunk6ZFGWB75cjs.appendFarmHead.call(void 0, shellHead, split.head);
6694
6710
  pendingShell = "";
6695
6711
  heldHead = "";
6696
6712
  htmlParts.push(opened);
@@ -6706,11 +6722,11 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
6706
6722
  ${stampDocumentHTML(earlyClientScript)}`
6707
6723
  )
6708
6724
  } : document;
6709
- const documentTransform = streamDocument ? _chunkXGDI4OUBcjs.createFarmStreamedDocumentTransform.call(void 0,
6725
+ const documentTransform = streamDocument ? _chunk6ZFGWB75cjs.createFarmStreamedDocumentTransform.call(void 0,
6710
6726
  (opening) => withEarlyClient(
6711
- _chunkXGDI4OUBcjs.openFarmStreamedDocument.call(void 0,
6712
- _chunkXGDI4OUBcjs.markFarmDocumentLayouts.call(void 0,
6713
- hasExplicitTitle ? _chunkXGDI4OUBcjs.removeFarmDocumentTitles.call(void 0, opening) : opening
6727
+ _chunk6ZFGWB75cjs.openFarmStreamedDocument.call(void 0,
6728
+ _chunk6ZFGWB75cjs.markFarmDocumentLayouts.call(void 0,
6729
+ hasExplicitTitle ? _chunk6ZFGWB75cjs.removeFarmDocumentTitles.call(void 0, opening) : opening
6714
6730
  ),
6715
6731
  {
6716
6732
  fallbackIcon: !hasFavicon,
@@ -6750,7 +6766,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
6750
6766
  const recordRenderedChunk = (chunkText, renderedText = chunkText) => {
6751
6767
  if (!checkedFullDocument && renderedText) {
6752
6768
  documentPrefix += renderedText;
6753
- const prefix = _chunkXGDI4OUBcjs.classifyFarmDocumentPrefix.call(void 0, documentPrefix);
6769
+ const prefix = _chunk6ZFGWB75cjs.classifyFarmDocumentPrefix.call(void 0, documentPrefix);
6754
6770
  if (prefix !== "pending") {
6755
6771
  checkedFullDocument = true;
6756
6772
  documentPrefix = "";
@@ -7000,7 +7016,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
7000
7016
  */
7001
7017
  async createLateNavigationRecoveryHTML(req, error) {
7002
7018
  if (_chunk7JUIK547cjs.isFarmRedirectError.call(void 0, error)) {
7003
- return _chunkXGDI4OUBcjs.createLateRedirectRecovery.call(void 0,
7019
+ return _chunk6ZFGWB75cjs.createLateRedirectRecovery.call(void 0,
7004
7020
  this.localizeRedirectUrl(_chunk7JUIK547cjs.getFarmRedirectError.call(void 0, error).url),
7005
7021
  this.getCspNonce(req) || ""
7006
7022
  );
@@ -7021,7 +7037,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
7021
7037
  _chunkGC5ROI3Acjs.logger.warn(`not-found page could not render outside its layout, using Farm's: ${error2}`);
7022
7038
  }
7023
7039
  }
7024
- return _chunkXGDI4OUBcjs.createLateNotFoundRecovery.call(void 0, content, this.getCspNonce(req) || "");
7040
+ return _chunk6ZFGWB75cjs.createLateNotFoundRecovery.call(void 0, content, this.getCspNonce(req) || "");
7025
7041
  }
7026
7042
  async render404(req, res) {
7027
7043
  res.statusCode = 404;
@@ -7109,10 +7125,10 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
7109
7125
  trustProxy: _optionalChain([this, 'access', _287 => _287.config, 'access', _288 => _288.server, 'optionalAccess', _289 => _289.trustProxy])
7110
7126
  });
7111
7127
  const diagnostics = isDev ? createDefaultErrorDiagnostics(error, this.config.root || process.cwd()) : void 0;
7112
- const statusText = _chunkXGDI4OUBcjs.getDefaultErrorStatusText.call(void 0, statusCode);
7128
+ const statusText = _chunk6ZFGWB75cjs.getDefaultErrorStatusText.call(void 0, statusCode);
7113
7129
  const content = this.stampFarmScripts(
7114
7130
  req,
7115
- _chunkXGDI4OUBcjs.createDefaultErrorMarkup.call(void 0, {
7131
+ _chunk6ZFGWB75cjs.createDefaultErrorMarkup.call(void 0, {
7116
7132
  statusCode,
7117
7133
  statusText,
7118
7134
  requestPath: requestUrl.pathname,
@@ -7122,7 +7138,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
7122
7138
  stack: _optionalChain([diagnostics, 'optionalAccess', _292 => _292.stack]),
7123
7139
  sourceFrame: _optionalChain([diagnostics, 'optionalAccess', _293 => _293.sourceFrame]),
7124
7140
  development: isDev,
7125
- farmVersion: _chunkIVBDRAORcjs.FARM_VERSION,
7141
+ farmVersion: _chunkXLOORES5cjs.FARM_VERSION,
7126
7142
  nodeVersion: process.version,
7127
7143
  mode: isDev ? "development" : "production"
7128
7144
  })
@@ -7160,7 +7176,7 @@ window.__FARM_I18N__ = ${_chunkSXXSQVKKcjs.getFarmI18nClientSnapshot.call(void 0
7160
7176
  const viteClientScript = farmScripts(`<script type="module" src="/@vite/client"></script>`);
7161
7177
  const integrationManifestScript = farmScripts(`<script>
7162
7178
  window.__FARM_DEPLOYMENT_ID__ = ${serializeInlineValue(this.getDeploymentId())};
7163
- window.__FARM_INTEGRATION_API_MANIFEST__ = ${JSON.stringify(_chunk6DBBMQWTcjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
7179
+ window.__FARM_INTEGRATION_API_MANIFEST__ = ${JSON.stringify(_chunkOWO7KDZ3cjs.getRegisteredIntegrationAPIManifest.call(void 0, ))};
7164
7180
  ${i18nSnapshot ? `window.__FARM_I18N__ = ${serializeInlineValue(i18nSnapshot)};` : ""}
7165
7181
  </script>`);
7166
7182
  const alternateLinks = i18nSnapshot ? renderI18nAlternateLinks(
@@ -7169,7 +7185,7 @@ ${i18nSnapshot ? `window.__FARM_I18N__ = ${serializeInlineValue(i18nSnapshot)};`
7169
7185
  this.getI18nAlternateOptions(alternates.req, alternates.metadata)
7170
7186
  ) : "";
7171
7187
  const fontHead = renderFarmFontDevHead(this.config.root || process.cwd());
7172
- const themeDocument = _chunkXGDI4OUBcjs.createFarmThemeDocumentParts.call(void 0,
7188
+ const themeDocument = _chunk6ZFGWB75cjs.createFarmThemeDocumentParts.call(void 0,
7173
7189
  this.config.theme,
7174
7190
  this.config.basePath,
7175
7191
  _chunk5AMH6AFAcjs.getTheme.call(void 0, )
@@ -7179,10 +7195,10 @@ ${i18nSnapshot ? `window.__FARM_I18N__ = ${serializeInlineValue(i18nSnapshot)};`
7179
7195
  _optionalChain([this, 'access', _300 => _300.rendererRuntime, 'access', _301 => _301.generateHydrationScript, 'optionalCall', _302 => _302()]) || ""
7180
7196
  );
7181
7197
  const viewportTags = _chunkY3DO7BIJcjs.renderViewportHead.call(void 0, _optionalChain([alternates, 'access', _303 => _303.metadata, 'optionalAccess', _304 => _304.viewport]));
7182
- const fullDocument = _chunkXGDI4OUBcjs.extractFarmFullDocument.call(void 0, _chunkXGDI4OUBcjs.markFarmDocumentLayouts.call(void 0, content));
7198
+ const fullDocument = _chunk6ZFGWB75cjs.extractFarmFullDocument.call(void 0, _chunk6ZFGWB75cjs.markFarmDocumentLayouts.call(void 0, content));
7183
7199
  if (fullDocument) {
7184
- return _chunkXGDI4OUBcjs.composeFarmFullDocument.call(void 0,
7185
- metadataHead ? _chunkXGDI4OUBcjs.removeFarmDocumentTitles.call(void 0, fullDocument) : fullDocument,
7200
+ return _chunk6ZFGWB75cjs.composeFarmFullDocument.call(void 0,
7201
+ metadataHead ? _chunk6ZFGWB75cjs.removeFarmDocumentTitles.call(void 0, fullDocument) : fullDocument,
7186
7202
  {
7187
7203
  fallbackIcon: !metadataHead,
7188
7204
  viewport: viewportTags,
@@ -7306,7 +7322,7 @@ var FarmApp = class {
7306
7322
  if (process.env.FARM_VERBOSE) {
7307
7323
  _chunkGC5ROI3Acjs.logger.info("Initializing Farm.js application...");
7308
7324
  }
7309
- await _chunkJMYXO572cjs.initStorage.call(void 0, this.config.storage);
7325
+ await _chunkUBXNTZCYcjs.initStorage.call(void 0, this.config.storage);
7310
7326
  await _chunkBNCKXPCUcjs.configureFarmCache.call(void 0, this.config.cache);
7311
7327
  await this.i18nRuntime.initialize();
7312
7328
  await this.serverRenderer.initialize();