@farm.js/core 0.1.81 → 0.1.83
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.
- package/dist/{agent-mcp.d-Cxi3214_.d.ts → agent-mcp.d-7uKdOttc.d.ts} +1 -1
- package/dist/{agent-mcp.d-DMqOqnOA.d.mts → agent-mcp.d-LChlR2au.d.mts} +1 -1
- package/dist/agent-runtime.cjs +4 -3
- package/dist/agent-runtime.d.mts +2 -1
- package/dist/agent-runtime.d.ts +2 -1
- package/dist/agent-runtime.mjs +3 -2
- package/dist/analyzer-WGH6J2HN.cjs +17 -0
- package/dist/{analyzer-IC66UJCU.mjs → analyzer-Y6IY26HI.mjs} +2 -2
- package/dist/api/node.cjs +5 -4
- package/dist/api/node.d.mts +4 -3
- package/dist/api/node.d.ts +4 -3
- package/dist/api/node.mjs +4 -3
- package/dist/api/route-manager.cjs +5 -4
- package/dist/api/route-manager.d.mts +4 -3
- package/dist/api/route-manager.d.ts +4 -3
- package/dist/api/route-manager.mjs +4 -3
- package/dist/api/runtime.cjs +4 -3
- package/dist/api/runtime.d.mts +3 -2
- package/dist/api/runtime.d.ts +3 -2
- package/dist/api/runtime.mjs +3 -2
- package/dist/api.cjs +7 -6
- package/dist/api.d.mts +5 -4
- package/dist/api.d.ts +5 -4
- package/dist/api.mjs +6 -5
- package/dist/{app-manifest.d-C8Cswd31.d.ts → app-manifest.d-CRp21oAz.d.ts} +1 -1
- package/dist/{app-manifest.d-Bbxp5kes.d.mts → app-manifest.d-QMdmqqCr.d.mts} +1 -1
- package/dist/app-markdown.d.mts +3 -2
- package/dist/app-markdown.d.ts +3 -2
- package/dist/{app.d-DGIoFt5D.d.ts → app.d-CVPu_hoD.d.ts} +51 -4
- package/dist/{app.d-BJuSurgy.d.mts → app.d-eSm7jgoc.d.mts} +51 -4
- package/dist/{chunk-NSLRK5DK.cjs → chunk-3CZ4MJHW.cjs} +1 -1
- package/dist/{chunk-CPZZBCPO.cjs → chunk-3DAJXBSL.cjs} +2 -2
- package/dist/chunk-3DE6RK7K.cjs +36 -0
- package/dist/{chunk-XMHERKSE.mjs → chunk-42IBGQTN.mjs} +5 -12
- package/dist/{chunk-GY63XD6K.mjs → chunk-43N3X6OO.mjs} +1 -1
- package/dist/{chunk-MOGRRZMW.cjs → chunk-55UJGUBP.cjs} +35 -30
- package/dist/{chunk-BPWTSPK6.mjs → chunk-5AL2GXAU.mjs} +1 -1
- package/dist/{chunk-GAWSWJJ2.cjs → chunk-5GFTMTX3.cjs} +2 -2
- package/dist/{chunk-LKIG5SM6.cjs → chunk-5P65LXGU.cjs} +9 -9
- package/dist/{chunk-TPA2PV5J.mjs → chunk-5V6HSJFG.mjs} +24 -1
- package/dist/chunk-5X5GJU5A.cjs +426 -0
- package/dist/{chunk-UF4BNKKJ.mjs → chunk-6QYPP5KC.mjs} +2 -2
- package/dist/{chunk-ATISIC6G.mjs → chunk-7VJXYB6S.mjs} +7 -1
- package/dist/{chunk-OIWDEDUO.cjs → chunk-7X2CYE66.cjs} +419 -357
- package/dist/{chunk-XOGCNKB7.cjs → chunk-A5BHJHDF.cjs} +3 -3
- package/dist/{chunk-WGWWRV2M.cjs → chunk-B3HQTGXS.cjs} +6 -4
- package/dist/{chunk-HTNJ7A4D.mjs → chunk-B5SJYXJK.mjs} +177 -67
- package/dist/chunk-BUQR7KKO.mjs +17 -0
- package/dist/{chunk-OO4GVGM3.mjs → chunk-CA2HBLXP.mjs} +11 -1
- package/dist/{chunk-724WT3NI.mjs → chunk-CRE642TW.mjs} +1 -1
- package/dist/{chunk-Z5BANEQD.cjs → chunk-DMSXZNQR.cjs} +2 -2
- package/dist/{chunk-IPG6B25T.mjs → chunk-DPUZVGXH.mjs} +203 -54
- package/dist/{chunk-ZIYJWJV2.cjs → chunk-DZTWUEBB.cjs} +8 -8
- package/dist/{chunk-4OFWG4IK.cjs → chunk-EACD6ND7.cjs} +8 -2
- package/dist/{chunk-46UV2E7I.cjs → chunk-EFI6QWBQ.cjs} +200 -90
- package/dist/chunk-ELNRKD4V.mjs +426 -0
- package/dist/{chunk-XOXCQGAF.mjs → chunk-FFWSER54.mjs} +1 -1
- package/dist/chunk-FZ7OUN5M.cjs +30 -0
- package/dist/{chunk-5MMKNW7Q.cjs → chunk-H7REG7OX.cjs} +15 -8
- package/dist/{chunk-5ZHC6QGD.cjs → chunk-HQKCSJEH.cjs} +8 -2
- package/dist/{chunk-OUDNUFVR.cjs → chunk-HRH7OKBQ.cjs} +6 -4
- package/dist/{chunk-RHI67C2V.cjs → chunk-HUGPJFOC.cjs} +1 -35
- package/dist/{chunk-ADQ2LATR.cjs → chunk-IABI62FH.cjs} +2 -2
- package/dist/{chunk-TLSGRK7E.mjs → chunk-IAIRQAHA.mjs} +3 -1
- package/dist/{chunk-C2OLXVUC.mjs → chunk-IVP5Q4BX.mjs} +10 -3
- package/dist/{chunk-EX6ZSN5P.cjs → chunk-IZYFP7IN.cjs} +17 -24
- package/dist/chunk-J6RFB324.cjs +17 -0
- package/dist/{chunk-CL7BUGVB.cjs → chunk-JHRJ5V2F.cjs} +509 -360
- package/dist/{chunk-WIZRYFB2.cjs → chunk-JYQ6DGPW.cjs} +8 -6
- package/dist/{chunk-POL5RCVU.mjs → chunk-K3GHY7GY.mjs} +14 -9
- package/dist/{chunk-TYHWZOA2.mjs → chunk-KWI3SQFX.mjs} +4 -2
- package/dist/{chunk-UVV3I5QA.cjs → chunk-L2GUEYHR.cjs} +29 -6
- package/dist/{chunk-POVHO46S.mjs → chunk-L3RDECA5.mjs} +1 -1
- package/dist/{chunk-E3HBD2K3.cjs → chunk-LN6FAYNB.cjs} +36 -31
- package/dist/chunk-M6AJZ4XR.mjs +30 -0
- package/dist/{chunk-RPA45OQS.mjs → chunk-MO4UTDQ6.mjs} +1 -1
- package/dist/{chunk-6WVRVGKC.mjs → chunk-NAHDG6UX.mjs} +1 -1
- package/dist/{chunk-NOYKBGUK.mjs → chunk-NDWI6FDH.mjs} +558 -212
- package/dist/{chunk-OFVCWV2D.cjs → chunk-NEKO3HM2.cjs} +11 -1
- package/dist/{chunk-M6DAIE4T.cjs → chunk-NGTZHWBG.cjs} +78 -9
- package/dist/{chunk-D77OGI6X.mjs → chunk-NKVBWPXR.mjs} +1 -1
- package/dist/{chunk-SLEHAGGV.mjs → chunk-NQ3Y6E2T.mjs} +7 -1
- package/dist/{chunk-W6C3LEXX.cjs → chunk-OM6JIIJU.cjs} +155 -20
- package/dist/{chunk-S3IWDDQ3.mjs → chunk-ORBBAA7B.mjs} +1 -1
- package/dist/{chunk-7VCLTNED.mjs → chunk-PNMAD3OS.mjs} +1 -35
- package/dist/{chunk-BJWJP5A4.mjs → chunk-R3VLM2MW.mjs} +3 -3
- package/dist/{chunk-I4WZRG73.mjs → chunk-RB5IGN3N.mjs} +13 -6
- package/dist/{chunk-2HMSSPCZ.mjs → chunk-RGTZAM6Y.mjs} +71 -2
- package/dist/{chunk-IM3UINTZ.mjs → chunk-RNJX3MD6.mjs} +151 -16
- package/dist/{chunk-EJCVG25Z.mjs → chunk-S3R4JDRO.mjs} +17 -9
- package/dist/{chunk-2Y2HRZQY.cjs → chunk-SLIXHUMS.cjs} +931 -585
- package/dist/{chunk-WFVSAT7Y.cjs → chunk-T7HGXF7D.cjs} +3 -3
- package/dist/{chunk-ZKNXCRUQ.cjs → chunk-U54REWMJ.cjs} +23 -23
- package/dist/{chunk-YH7ENV3K.mjs → chunk-U56Z3755.mjs} +13 -8
- package/dist/chunk-U6XYBTUT.mjs +36 -0
- package/dist/{chunk-TCMRLW3K.cjs → chunk-VACYUMXW.cjs} +10 -3
- package/dist/{chunk-RZ6XUEQS.mjs → chunk-VQ6IXALL.mjs} +2 -2
- package/dist/{chunk-UGLTOLTJ.cjs → chunk-W76C7TCW.cjs} +2 -2
- package/dist/{chunk-FYZD7DUS.cjs → chunk-WCSBYQOT.cjs} +4 -4
- package/dist/{chunk-5N526T7Q.mjs → chunk-WZV2G2A6.mjs} +95 -33
- package/dist/{chunk-SM2SYWAR.cjs → chunk-XJDB564A.cjs} +18 -10
- package/dist/{chunk-6JWXHPVR.mjs → chunk-XRSNW4IU.mjs} +4 -2
- package/dist/{cli-runtime.d-D8O1v2_X.d.mts → cli-runtime.d-C7aMfoTq.d.mts} +8 -6
- package/dist/{cli-runtime.d-hf4L1MNP.d.ts → cli-runtime.d-DaElKjaL.d.ts} +8 -6
- package/dist/{client-component.d-DFwUHlOz.d.mts → client-component.d-DLMCzmUx.d.mts} +1 -1
- package/dist/{client-component.d-CX8UCQh-.d.ts → client-component.d-DLknFP8l.d.ts} +1 -1
- package/dist/{client-plugins.d-qWp8hNwd.d.ts → client-plugins.d-BVXjyIkY.d.ts} +20 -1
- package/dist/{client-plugins.d-BflSNO-b.d.mts → client-plugins.d-BwKwuO_0.d.mts} +20 -1
- package/dist/client-plugins.d.mts +2 -1
- package/dist/client-plugins.d.ts +2 -1
- package/dist/client.cjs +4 -3
- package/dist/client.d.mts +10 -9
- package/dist/client.d.ts +10 -9
- package/dist/client.mjs +3 -2
- package/dist/config.d.mts +2 -1
- package/dist/config.d.ts +2 -1
- package/dist/cron.cjs +2 -2
- package/dist/cron.mjs +1 -1
- package/dist/desktop.d.mts +3 -2
- package/dist/desktop.d.ts +3 -2
- package/dist/{devtools-XJHODO5H.mjs → devtools-OI52TCSD.mjs} +8 -7
- package/dist/{devtools-EI5N366Z.cjs → devtools-ZM2AR36W.cjs} +11 -10
- package/dist/docs.cjs +13 -11
- package/dist/docs.d.mts +15 -6
- package/dist/docs.d.ts +15 -6
- package/dist/docs.mjs +12 -10
- package/dist/environment/vite.cjs +4 -4
- package/dist/environment/vite.d.mts +1 -0
- package/dist/environment/vite.d.ts +1 -0
- package/dist/environment/vite.mjs +3 -3
- package/dist/{generate-route-types.d-CaGMIaNI.d.mts → generate-route-types.d-BFOMM8Ef.d.mts} +3 -0
- package/dist/{generate-route-types.d-B76M5R11.d.ts → generate-route-types.d-C2m8myHb.d.ts} +3 -0
- package/dist/{handler.d-DoH5Krkq.d.mts → handler.d-BKTWzzNA.d.mts} +1 -1
- package/dist/{handler.d-C2oRihfa.d.ts → handler.d-Dzpyg3-N.d.ts} +1 -1
- package/dist/{headers.d-BrX53wFQ.d.mts → headers.d-5opjyhXw.d.mts} +1 -1
- package/dist/{headers.d-Dj0mfYpb.d.ts → headers.d-PZyXcDAH.d.ts} +1 -1
- package/dist/index.cjs +38 -35
- package/dist/{index.d-DzDHOttz.d.mts → index.d-C0Mie66f.d.mts} +1 -1
- package/dist/{index.d-Dhc2scRl.d.ts → index.d-DV2q-0mE.d.ts} +1 -1
- package/dist/index.d.mts +26 -25
- package/dist/index.d.ts +26 -25
- package/dist/index.mjs +38 -35
- package/dist/integrations/orm.d.mts +2 -1
- package/dist/integrations/orm.d.ts +2 -1
- package/dist/integrations.cjs +4 -3
- package/dist/integrations.d.mts +2 -1
- package/dist/integrations.d.ts +2 -1
- package/dist/integrations.mjs +3 -2
- package/dist/internal/app-markdown-runtime.d.mts +3 -2
- package/dist/internal/app-markdown-runtime.d.ts +3 -2
- package/dist/internal/build-runtime.cjs +31 -30
- package/dist/internal/build-runtime.d.mts +5 -4
- package/dist/internal/build-runtime.d.ts +5 -4
- package/dist/internal/build-runtime.mjs +30 -29
- package/dist/internal/cli-runtime.cjs +12 -11
- package/dist/internal/cli-runtime.d.mts +8 -7
- package/dist/internal/cli-runtime.d.ts +8 -7
- package/dist/internal/cli-runtime.mjs +11 -10
- package/dist/internal/client-error-overlay.cjs +4 -4
- package/dist/internal/client-error-overlay.mjs +1 -1
- package/dist/internal/client-runtime.d.mts +5 -5
- package/dist/internal/client-runtime.d.ts +5 -5
- package/dist/internal/compression-runtime.d.mts +2 -1
- package/dist/internal/compression-runtime.d.ts +2 -1
- package/dist/internal/config-runtime.cjs +10 -9
- package/dist/internal/config-runtime.d.mts +6 -5
- package/dist/internal/config-runtime.d.ts +6 -5
- package/dist/internal/config-runtime.mjs +9 -8
- package/dist/internal/infra-analytics-runtime.cjs +8 -6
- package/dist/internal/infra-analytics-runtime.d.mts +8 -2
- package/dist/internal/infra-analytics-runtime.d.ts +8 -2
- package/dist/internal/infra-analytics-runtime.mjs +8 -6
- package/dist/internal/islands-action-client.cjs +18 -0
- package/dist/internal/islands-action-client.d.mts +18 -0
- package/dist/internal/islands-action-client.d.ts +18 -0
- package/dist/internal/islands-action-client.mjs +18 -0
- package/dist/internal/islands-boot.cjs +54 -20
- package/dist/internal/islands-boot.d.mts +5 -3
- package/dist/internal/islands-boot.d.ts +5 -3
- package/dist/internal/islands-boot.mjs +49 -15
- package/dist/internal/islands-runtime.cjs +3 -8
- package/dist/internal/islands-runtime.mjs +4 -9
- package/dist/internal/islx-actions-client.cjs +4 -3
- package/dist/internal/islx-actions-client.mjs +3 -2
- package/dist/internal/islx-actions-server.d.mts +0 -2
- package/dist/internal/islx-actions-server.d.ts +0 -2
- package/dist/internal/islx-client.cjs +13 -1
- package/dist/internal/islx-client.d.mts +11 -0
- package/dist/internal/islx-client.d.ts +11 -0
- package/dist/internal/islx-client.mjs +14 -0
- package/dist/internal/metadata-image-runtime.d.mts +1 -0
- package/dist/internal/metadata-image-runtime.d.ts +1 -0
- package/dist/internal/native-server-fns.cjs +4 -4
- package/dist/internal/native-server-fns.mjs +3 -3
- package/dist/internal/product-telemetry-runtime.cjs +3 -3
- package/dist/internal/product-telemetry-runtime.mjs +2 -2
- package/dist/internal/production-runtime.cjs +12 -7
- package/dist/internal/production-runtime.d.mts +14 -12
- package/dist/internal/production-runtime.d.ts +14 -12
- package/dist/internal/production-runtime.mjs +11 -6
- package/dist/internal/spa-router.d.mts +3 -3
- package/dist/internal/spa-router.d.ts +3 -3
- package/dist/internal/start-manifest.d.mts +2 -1
- package/dist/internal/start-manifest.d.ts +2 -1
- package/dist/markdown.d.mts +2 -1
- package/dist/markdown.d.ts +2 -1
- package/dist/middleware.d.mts +2 -1
- package/dist/middleware.d.ts +2 -1
- package/dist/mobile.d.mts +6 -3
- package/dist/mobile.d.ts +6 -3
- package/dist/{mount.d-DOaeUoWq.d.mts → mount.d-CZ_qL1iS.d.mts} +1 -1
- package/dist/{mount.d-DwXjaOHY.d.ts → mount.d-gWul1GA1.d.ts} +1 -1
- package/dist/{navigation-delegate.d-BElGUMgt.d.mts → navigation-delegate.d-BBTzhJLj.d.mts} +1 -1
- package/dist/{navigation-delegate.d-o3pPd9VI.d.ts → navigation-delegate.d-BZsYEAet.d.ts} +1 -1
- package/dist/navigation.d.mts +5 -5
- package/dist/navigation.d.ts +5 -5
- package/dist/{nitro-YLTGVGK4.mjs → nitro-FK3SZM4H.mjs} +1 -1
- package/dist/{nitro-XGIO6EQN.cjs → nitro-YDFMH5PY.cjs} +4 -4
- package/dist/{plugin-LN3JBZRR.cjs → plugin-3PT7I26P.cjs} +2 -2
- package/dist/{plugin-33I3V42N.mjs → plugin-QOTAPTVV.mjs} +1 -1
- package/dist/plugin.cjs +25 -23
- package/dist/plugin.d.mts +6 -6
- package/dist/plugin.d.ts +6 -6
- package/dist/plugin.mjs +24 -22
- package/dist/{render-plan.d-BD06tqFA.d.ts → render-plan.d-AaJsYPX-.d.ts} +1 -1
- package/dist/{render-plan.d-xWCRAJeR.d.mts → render-plan.d-bnWxS12w.d.mts} +1 -1
- package/dist/renderer-client.cjs +54 -10
- package/dist/renderer-client.d.mts +8 -7
- package/dist/renderer-client.d.ts +8 -7
- package/dist/renderer-client.mjs +50 -6
- package/dist/renderer.cjs +6 -2
- package/dist/renderer.d.mts +97 -4
- package/dist/renderer.d.ts +97 -4
- package/dist/renderer.mjs +5 -1
- package/dist/{request.d-Dx82V8bz.d.mts → request.d-C2HOn3Hi.d.mts} +1 -1
- package/dist/{request.d-DUMuWxSN.d.ts → request.d-CAeitOG1.d.ts} +1 -1
- package/dist/request.d.mts +3 -2
- package/dist/request.d.ts +3 -2
- package/dist/{route-rendering.d-BwBVpLtD.d.ts → route-rendering.d-A1dIkUK5.d.ts} +1 -1
- package/dist/{route-rendering.d-DJh6GauM.d.mts → route-rendering.d-CYA-ulnX.d.mts} +1 -1
- package/dist/{router.d-BtkKDxUB.d.mts → router.d-8lxnzlkr.d.mts} +1 -1
- package/dist/{router.d-CJBSG5jr.d.ts → router.d-A_Yt6jYz.d.ts} +1 -1
- package/dist/{routes.d-CCccJRrp.d.mts → routes.d-BWvpUoYu.d.mts} +1 -1
- package/dist/{routes.d-b7khoRoU.d.ts → routes.d-D7RWvfqL.d.ts} +1 -1
- package/dist/routes.d.mts +2 -1
- package/dist/routes.d.ts +2 -1
- package/dist/{rsc-pipeline-H5AXQA7A.cjs → rsc-pipeline-MFJZGDPE.cjs} +11 -10
- package/dist/{rsc-pipeline-GD6KLOIG.mjs → rsc-pipeline-TRZVFCBX.mjs} +10 -9
- package/dist/{runtime-YWQVBC3V.cjs → runtime-MJUG2HGR.cjs} +15 -13
- package/dist/{runtime-OJ7FXFUI.mjs → runtime-O4Y3Z6V3.mjs} +11 -9
- package/dist/{runtime.d-BQnD0cfC.d.ts → runtime.d-BPyvWrgQ.d.ts} +1 -1
- package/dist/{runtime.d-C4SuZXf6.d.mts → runtime.d-C_rZ9_DD.d.mts} +1 -1
- package/dist/{server-components-status.d-9rH7ZoEq.d.mts → server-components-status.d-BpxiEMQE.d.mts} +1 -1
- package/dist/{server-components-status.d-rfKOcE0N.d.ts → server-components-status.d-C2UEKJn7.d.ts} +1 -1
- package/dist/server-plugins.d.mts +4 -3
- package/dist/server-plugins.d.ts +4 -3
- package/dist/server-query-call.d-rVM_lsYk.d.mts +15 -0
- package/dist/server-query-call.d-rVM_lsYk.d.ts +15 -0
- package/dist/server-query-client.cjs +5 -3
- package/dist/server-query-client.d.mts +3 -2
- package/dist/server-query-client.d.ts +3 -2
- package/dist/server-query-client.mjs +5 -3
- package/dist/{server-query-runtime.d-DXRNhX_3.d.ts → server-query-runtime.d-BlHd90D0.d.ts} +2 -8
- package/dist/{server-query-runtime.d-aP52iuL5.d.mts → server-query-runtime.d-CCLGkQtE.d.mts} +2 -8
- package/dist/server.cjs +58 -52
- package/dist/server.d.mts +12 -12
- package/dist/server.d.ts +12 -12
- package/dist/server.mjs +34 -28
- package/dist/{spa-router.d-V6XLSTCy.d.mts → spa-router.d-BD-6WX1R.d.mts} +2 -2
- package/dist/{spa-router.d-DMKiBsHH.d.ts → spa-router.d-Cw5i_15e.d.ts} +2 -2
- package/dist/{ssg.d-MNedvvMB.d.ts → ssg.d-Bifiq0EL.d.ts} +2 -2
- package/dist/{ssg.d-BnCKPQL0.d.mts → ssg.d-CCE9aob5.d.mts} +2 -2
- package/dist/{store-core.d-Ad5biajo.d.ts → store-core.d-5tVn5vi1.d.ts} +12 -4
- package/dist/{store-core.d-BqJI1-ix.d.mts → store-core.d-BN2MxSG9.d.mts} +12 -4
- package/dist/testing.cjs +5 -4
- package/dist/testing.d.mts +2 -1
- package/dist/testing.d.ts +2 -1
- package/dist/testing.mjs +4 -3
- package/dist/{utils.d-BdjHKDuT.d.ts → utils.d-BUjpSNIO.d.ts} +1 -1
- package/dist/{utils.d-BEKLWa0Z.d.mts → utils.d-wGPLeVbq.d.mts} +1 -1
- package/dist/version.cjs +2 -2
- package/dist/version.mjs +1 -1
- package/dist/vite.cjs +25 -23
- package/dist/vite.d.mts +6 -6
- package/dist/vite.d.ts +6 -6
- package/dist/vite.mjs +24 -22
- package/package.json +7 -2
- package/dist/analyzer-435DCIQ6.cjs +0 -17
- package/dist/chunk-AHVF5GI2.cjs +0 -229
- package/dist/chunk-ONSZP5JK.mjs +0 -229
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { J as ResolvedFarmConfig, x as FarmUserConfig } from '../client-plugins.d-
|
|
2
|
-
export { bu as FarmDesktopDevSession, bv as FarmDesktopSetupOptions, bw as createFarmDesktopContext, bx as getFarmDesktopOutputDirs, by as installFarmDesktopSetup, K as loadConfig, N as resolveConfig, O as resolveDeployConfig, bz as resolveFarmDesktopBlock, bA as resolveFarmDesktopConfig, bB as setFarmDesktopDevSession, bC as validateFarmDesktopConfig } from '../client-plugins.d-
|
|
3
|
-
import { P as PlatformRouteFiles } from '../generate-route-types.d-
|
|
1
|
+
import { J as ResolvedFarmConfig, x as FarmUserConfig } from '../client-plugins.d-BVXjyIkY.js';
|
|
2
|
+
export { bu as FarmDesktopDevSession, bv as FarmDesktopSetupOptions, bw as createFarmDesktopContext, bx as getFarmDesktopOutputDirs, by as installFarmDesktopSetup, K as loadConfig, N as resolveConfig, O as resolveDeployConfig, bz as resolveFarmDesktopBlock, bA as resolveFarmDesktopConfig, bB as setFarmDesktopDevSession, bC as validateFarmDesktopConfig } from '../client-plugins.d-BVXjyIkY.js';
|
|
3
|
+
import { P as PlatformRouteFiles } from '../generate-route-types.d-C2m8myHb.js';
|
|
4
4
|
import { F as FarmMobileOS, i as FarmMobileNativeEngine, g as FarmMobileNativeAuto, o as FarmMobileRouteScreen, p as FarmMobileScreen, e as FarmMobileContext, R as ResolvedFarmMobileConfig, a as FarmMobileAppModules, x as FarmMobileBlockCache, c as FarmMobileBudgets, d as FarmMobileConfigInput, y as FarmMobileContextOptions, h as FarmMobileNativeConfig, j as FarmMobileNativeRouteConfig, k as FarmMobilePageConfig, l as FarmMobilePrefetch, m as FarmMobilePresentation, z as FarmMobileResolveOptions, n as FarmMobileRouteConfig, q as FarmMobileTab, r as FarmMobileUserConfig, A as ResolvedFarmMobileNativeConfig, B as createFarmMobileContext, C as resolveFarmMobileBlock, D as resolveFarmMobileConfig, E as resolveFarmMobileServer, G as validateFarmMobileConfig, H as validateFarmMobilePageConfig } from '../config.d-BKIhJtmr.js';
|
|
5
|
-
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-
|
|
5
|
+
import { c as FarmMobileTier, d as FarmMobileScreenSource, e as FarmMobileRouteAnalysis, f as FarmMobileScreenDecision, g as FarmMobileAnalyzerStats, b as FarmMobileShellManifest, F as FarmMobileRouteManifest, h as FarmMobileBlocker, i as FarmMobileBlockerRule, j as FarmMobilePageExport, k as FarmMobileRouteManifestOptions, a as FarmMobileRouteRule, l as FarmMobileScreens, m as FarmMobileScreensOptions, n as FarmUiNode, o as createFarmMobileModuleId, p as createFarmMobileRouteManifest, q as createFarmMobileRoutePattern, r as readFarmMobilePageExport, s as resolveFarmMobileScreens } from '../routes.d-D7RWvfqL.js';
|
|
6
6
|
import { F as FARM_SHELL_PARAM_SEGMENT, a as FARM_SHELL_RENDER_HEADER, b as FARM_SHELL_ROUTE_HEADER, c as createFarmMobileShellRenderPath } from '../shell-render.d-CG6bPiiA.js';
|
|
7
7
|
export { F as FarmProductionViteRuntime, l as loadFarmProductionVite } from '../production-vite.d-BQFAlG7n.js';
|
|
8
|
-
export { l as logger } from '../utils.d-
|
|
8
|
+
export { l as logger } from '../utils.d-BUjpSNIO.js';
|
|
9
9
|
import '../lifecycle.d-OtGWAvJT.js';
|
|
10
10
|
import '../route.d-Cd4Fi6BA.js';
|
|
11
11
|
import '../endpoint.d-Dx_1k6Du.js';
|
|
12
12
|
import '../cache.js';
|
|
13
13
|
import '../renderer.js';
|
|
14
14
|
import '../deployment.js';
|
|
15
|
+
import '../island.d-CfGru1MO.js';
|
|
15
16
|
import 'http';
|
|
16
17
|
import '../routing.d-BhPgtN_S.js';
|
|
17
18
|
import '../types.d-euATAbE4.js';
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
loadConfig,
|
|
6
6
|
resolveConfig,
|
|
7
7
|
resolveDeployConfig
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-U56Z3755.mjs";
|
|
9
9
|
import "../chunk-VISQDC6W.mjs";
|
|
10
10
|
import {
|
|
11
11
|
createFarmDesktopContext,
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
validateFarmDesktopConfig
|
|
18
18
|
} from "../chunk-SMUW7UST.mjs";
|
|
19
19
|
import "../chunk-UB7RVEMX.mjs";
|
|
20
|
-
import "../chunk-
|
|
20
|
+
import "../chunk-5V6HSJFG.mjs";
|
|
21
21
|
import "../chunk-YVVY276M.mjs";
|
|
22
22
|
import "../chunk-XR2ZIBQK.mjs";
|
|
23
23
|
import "../chunk-CU5SYTJG.mjs";
|
|
24
|
-
import "../chunk-
|
|
24
|
+
import "../chunk-NQ3Y6E2T.mjs";
|
|
25
25
|
import "../chunk-22W4FNTG.mjs";
|
|
26
26
|
import "../chunk-SQ5O7I3L.mjs";
|
|
27
27
|
import "../chunk-XGL42MQ7.mjs";
|
|
28
28
|
import "../chunk-4QENVMG7.mjs";
|
|
29
29
|
import "../chunk-Z3RM3VA2.mjs";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-RGTZAM6Y.mjs";
|
|
31
31
|
import "../chunk-AOIUYHPH.mjs";
|
|
32
|
-
import "../chunk-
|
|
32
|
+
import "../chunk-7VJXYB6S.mjs";
|
|
33
33
|
import "../chunk-NLATR3T3.mjs";
|
|
34
34
|
import "../chunk-N33DLJBC.mjs";
|
|
35
35
|
import "../chunk-UIJOLBUL.mjs";
|
|
@@ -39,7 +39,7 @@ import "../chunk-LTOT5KVJ.mjs";
|
|
|
39
39
|
import "../chunk-WXFY5JIY.mjs";
|
|
40
40
|
import "../chunk-YP7YO3S3.mjs";
|
|
41
41
|
import "../chunk-YWPNIYUP.mjs";
|
|
42
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-XRSNW4IU.mjs";
|
|
43
43
|
import "../chunk-H4WUWLQR.mjs";
|
|
44
44
|
import "../chunk-CZOXZ6WQ.mjs";
|
|
45
45
|
import "../chunk-VZBAW44S.mjs";
|
|
@@ -47,7 +47,8 @@ import "../chunk-K63OWRY2.mjs";
|
|
|
47
47
|
import "../chunk-DS2KZ5BT.mjs";
|
|
48
48
|
import "../chunk-EDPENAVO.mjs";
|
|
49
49
|
import "../chunk-F7MJWW6A.mjs";
|
|
50
|
-
import "../chunk-
|
|
50
|
+
import "../chunk-U6XYBTUT.mjs";
|
|
51
|
+
import "../chunk-PNMAD3OS.mjs";
|
|
51
52
|
import "../chunk-UJWRXBVP.mjs";
|
|
52
53
|
import "../chunk-PKMUQ7LM.mjs";
|
|
53
54
|
import "../chunk-O5QUJEWT.mjs";
|
|
@@ -80,7 +81,7 @@ import "../chunk-TIZJYHB7.mjs";
|
|
|
80
81
|
|
|
81
82
|
// src/config-runtime.ts
|
|
82
83
|
function loadFarmMobileRuntime() {
|
|
83
|
-
return import("../runtime-
|
|
84
|
+
return import("../runtime-O4Y3Z6V3.mjs");
|
|
84
85
|
}
|
|
85
86
|
export {
|
|
86
87
|
createFarmDesktopContext,
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var _chunkOM6JIIJUcjs = require('../chunk-OM6JIIJU.cjs');
|
|
5
|
+
require('../chunk-WCSBYQOT.cjs');
|
|
6
6
|
require('../chunk-W53Z4WDI.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-IABI62FH.cjs');
|
|
8
8
|
require('../chunk-BTVDYS4B.cjs');
|
|
9
9
|
require('../chunk-OLKYHTLN.cjs');
|
|
10
10
|
require('../chunk-2NOHVIJ3.cjs');
|
|
11
11
|
require('../chunk-2KMIJDY6.cjs');
|
|
12
12
|
require('../chunk-RKQOMG2X.cjs');
|
|
13
|
+
require('../chunk-HUGPJFOC.cjs');
|
|
14
|
+
require('../chunk-CEVXKJKF.cjs');
|
|
13
15
|
require('../chunk-2OF5RPVU.cjs');
|
|
14
16
|
require('../chunk-7Q7UB4TL.cjs');
|
|
15
17
|
require('../chunk-JYT7AN37.cjs');
|
|
16
18
|
require('../chunk-PLJMEUAN.cjs');
|
|
17
|
-
require('../chunk-
|
|
19
|
+
require('../chunk-3CZ4MJHW.cjs');
|
|
18
20
|
require('../chunk-L6E5BSNU.cjs');
|
|
19
21
|
require('../chunk-PMJSG4JS.cjs');
|
|
20
22
|
require('../chunk-NLBHLPEO.cjs');
|
|
@@ -28,8 +30,8 @@ require('../chunk-3BIASUGR.cjs');
|
|
|
28
30
|
require('../chunk-UZM3PDKK.cjs');
|
|
29
31
|
|
|
30
32
|
// src/infra-analytics-runtime.ts
|
|
31
|
-
var createFarmInfraAnalyticsPlugin2 =
|
|
32
|
-
var createFarmInfraAnalyticsRecorder2 =
|
|
33
|
+
var createFarmInfraAnalyticsPlugin2 = (options) => _chunkOM6JIIJUcjs.createFarmInfraAnalyticsPlugin.call(void 0, void 0, void 0, options);
|
|
34
|
+
var createFarmInfraAnalyticsRecorder2 = (options) => _chunkOM6JIIJUcjs.createFarmInfraAnalyticsRecorder.call(void 0, void 0, void 0, options);
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
/** Accepting the WebMCP tool calls the app's pages report; see FarmInfraAnalyticsWebMCPOptions. */
|
|
2
|
+
interface RuntimeOptions {
|
|
3
|
+
webmcp?: {
|
|
4
|
+
route?(pathname: string): object | null | undefined;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
1
7
|
/** Farm's analytics plugin when the environment links the app to Farm Infra, else null. */
|
|
2
|
-
declare const createFarmInfraAnalyticsPlugin: () => {
|
|
8
|
+
declare const createFarmInfraAnalyticsPlugin: (options?: RuntimeOptions) => {
|
|
3
9
|
name: string;
|
|
4
10
|
} | null;
|
|
5
11
|
/** The same reporting for a server without a plugin runtime, else null. */
|
|
6
|
-
declare const createFarmInfraAnalyticsRecorder: () => {
|
|
12
|
+
declare const createFarmInfraAnalyticsRecorder: (options?: RuntimeOptions) => {
|
|
7
13
|
record(request: Request, options: {
|
|
8
14
|
kind?: string;
|
|
9
15
|
route?: {
|
|
@@ -1,9 +1,15 @@
|
|
|
1
|
+
/** Accepting the WebMCP tool calls the app's pages report; see FarmInfraAnalyticsWebMCPOptions. */
|
|
2
|
+
interface RuntimeOptions {
|
|
3
|
+
webmcp?: {
|
|
4
|
+
route?(pathname: string): object | null | undefined;
|
|
5
|
+
};
|
|
6
|
+
}
|
|
1
7
|
/** Farm's analytics plugin when the environment links the app to Farm Infra, else null. */
|
|
2
|
-
declare const createFarmInfraAnalyticsPlugin: () => {
|
|
8
|
+
declare const createFarmInfraAnalyticsPlugin: (options?: RuntimeOptions) => {
|
|
3
9
|
name: string;
|
|
4
10
|
} | null;
|
|
5
11
|
/** The same reporting for a server without a plugin runtime, else null. */
|
|
6
|
-
declare const createFarmInfraAnalyticsRecorder: () => {
|
|
12
|
+
declare const createFarmInfraAnalyticsRecorder: (options?: RuntimeOptions) => {
|
|
7
13
|
record(request: Request, options: {
|
|
8
14
|
kind?: string;
|
|
9
15
|
route?: {
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createFarmInfraAnalyticsPlugin,
|
|
3
3
|
createFarmInfraAnalyticsRecorder
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-RNJX3MD6.mjs";
|
|
5
|
+
import "../chunk-VQ6IXALL.mjs";
|
|
6
6
|
import "../chunk-HR4N2K4V.mjs";
|
|
7
|
-
import "../chunk-
|
|
7
|
+
import "../chunk-43N3X6OO.mjs";
|
|
8
8
|
import "../chunk-SQ5O7I3L.mjs";
|
|
9
9
|
import "../chunk-XGL42MQ7.mjs";
|
|
10
10
|
import "../chunk-YU2MNIIY.mjs";
|
|
11
11
|
import "../chunk-WXFY5JIY.mjs";
|
|
12
12
|
import "../chunk-F7MJWW6A.mjs";
|
|
13
|
+
import "../chunk-PNMAD3OS.mjs";
|
|
14
|
+
import "../chunk-UJWRXBVP.mjs";
|
|
13
15
|
import "../chunk-2I6PUKWJ.mjs";
|
|
14
16
|
import "../chunk-YT2ZMLXK.mjs";
|
|
15
17
|
import "../chunk-D2LCAV6L.mjs";
|
|
16
18
|
import "../chunk-EILUVBKS.mjs";
|
|
17
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-NKVBWPXR.mjs";
|
|
18
20
|
import "../chunk-GLVDXRG2.mjs";
|
|
19
21
|
import "../chunk-W6QLRQ3V.mjs";
|
|
20
22
|
import "../chunk-IWJONXPF.mjs";
|
|
@@ -28,8 +30,8 @@ import "../chunk-VIXTAVEA.mjs";
|
|
|
28
30
|
import "../chunk-TIZJYHB7.mjs";
|
|
29
31
|
|
|
30
32
|
// src/infra-analytics-runtime.ts
|
|
31
|
-
var createFarmInfraAnalyticsPlugin2 = createFarmInfraAnalyticsPlugin;
|
|
32
|
-
var createFarmInfraAnalyticsRecorder2 = createFarmInfraAnalyticsRecorder;
|
|
33
|
+
var createFarmInfraAnalyticsPlugin2 = (options) => createFarmInfraAnalyticsPlugin(void 0, void 0, options);
|
|
34
|
+
var createFarmInfraAnalyticsRecorder2 = (options) => createFarmInfraAnalyticsRecorder(void 0, void 0, options);
|
|
33
35
|
export {
|
|
34
36
|
createFarmInfraAnalyticsPlugin2 as createFarmInfraAnalyticsPlugin,
|
|
35
37
|
createFarmInfraAnalyticsRecorder2 as createFarmInfraAnalyticsRecorder
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
var _chunkH7REG7OXcjs = require('../chunk-H7REG7OX.cjs');
|
|
6
|
+
require('../chunk-IZYFP7IN.cjs');
|
|
7
|
+
require('../chunk-J6RFB324.cjs');
|
|
8
|
+
require('../chunk-I2BYNELA.cjs');
|
|
9
|
+
require('../chunk-MPU5DOXX.cjs');
|
|
10
|
+
require('../chunk-CKPTIEDX.cjs');
|
|
11
|
+
require('../chunk-DXUXQP2T.cjs');
|
|
12
|
+
require('../chunk-UZCMMJJT.cjs');
|
|
13
|
+
require('../chunk-UZM3PDKK.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
exports.completeFarmIslandsAction = _chunkH7REG7OXcjs.completeFarmIslandsAction; exports.createFarmServerFnTransportError = _chunkH7REG7OXcjs.createFarmServerFnTransportError; exports.farmIslandsActionInterceptor = _chunkH7REG7OXcjs.farmIslandsActionInterceptor;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActionInterceptor } from '@farm.js/islx/client';
|
|
2
|
+
import { F as FarmServerQueryActionInvocation } from '../server-query-call.d-rVM_lsYk.mjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @internal The browser end of islands mode's server actions (RFC 0003): what the RSC engine's call
|
|
6
|
+
* transport does around a call, on islx's calls. A server query's result fills the cache under
|
|
7
|
+
* its key, the keys an action invalidated are dropped, and a declared failure is thrown as the
|
|
8
|
+
* `ServerFnFailure` it was on the server. Islands mode imports it on the first call, or when the
|
|
9
|
+
* page holds a reference (RFC 0013); see `islands-action-call.ts`.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/** The error a failed server function call throws in the browser, as the RSC engine builds it. */
|
|
13
|
+
declare function createFarmServerFnTransportError(value: unknown): Error;
|
|
14
|
+
/** The value a call made by `invocation` returns, from the islx `response` it got. */
|
|
15
|
+
declare function completeFarmIslandsAction(invocation: FarmServerQueryActionInvocation, response: Promise<unknown>): Promise<unknown>;
|
|
16
|
+
declare const farmIslandsActionInterceptor: ActionInterceptor;
|
|
17
|
+
|
|
18
|
+
export { completeFarmIslandsAction, createFarmServerFnTransportError, farmIslandsActionInterceptor };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ActionInterceptor } from '@farm.js/islx/client';
|
|
2
|
+
import { F as FarmServerQueryActionInvocation } from '../server-query-call.d-rVM_lsYk.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* @internal The browser end of islands mode's server actions (RFC 0003): what the RSC engine's call
|
|
6
|
+
* transport does around a call, on islx's calls. A server query's result fills the cache under
|
|
7
|
+
* its key, the keys an action invalidated are dropped, and a declared failure is thrown as the
|
|
8
|
+
* `ServerFnFailure` it was on the server. Islands mode imports it on the first call, or when the
|
|
9
|
+
* page holds a reference (RFC 0013); see `islands-action-call.ts`.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/** The error a failed server function call throws in the browser, as the RSC engine builds it. */
|
|
13
|
+
declare function createFarmServerFnTransportError(value: unknown): Error;
|
|
14
|
+
/** The value a call made by `invocation` returns, from the islx `response` it got. */
|
|
15
|
+
declare function completeFarmIslandsAction(invocation: FarmServerQueryActionInvocation, response: Promise<unknown>): Promise<unknown>;
|
|
16
|
+
declare const farmIslandsActionInterceptor: ActionInterceptor;
|
|
17
|
+
|
|
18
|
+
export { completeFarmIslandsAction, createFarmServerFnTransportError, farmIslandsActionInterceptor };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
completeFarmIslandsAction,
|
|
3
|
+
createFarmServerFnTransportError,
|
|
4
|
+
farmIslandsActionInterceptor
|
|
5
|
+
} from "../chunk-RB5IGN3N.mjs";
|
|
6
|
+
import "../chunk-42IBGQTN.mjs";
|
|
7
|
+
import "../chunk-BUQR7KKO.mjs";
|
|
8
|
+
import "../chunk-C64XOPBZ.mjs";
|
|
9
|
+
import "../chunk-N7XWC6BN.mjs";
|
|
10
|
+
import "../chunk-X3EFRVXY.mjs";
|
|
11
|
+
import "../chunk-GLOICKDO.mjs";
|
|
12
|
+
import "../chunk-AZQXXXDX.mjs";
|
|
13
|
+
import "../chunk-TIZJYHB7.mjs";
|
|
14
|
+
export {
|
|
15
|
+
completeFarmIslandsAction,
|
|
16
|
+
createFarmServerFnTransportError,
|
|
17
|
+
farmIslandsActionInterceptor
|
|
18
|
+
};
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
var FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR = 'button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"]';
|
|
5
5
|
var FARM_ISLANDS_BOOT_VISIBLE_MARGIN = "200px";
|
|
6
6
|
var FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER = "x-farm-deployment-id";
|
|
7
|
+
var FARM_ISLANDS_BOOT_PREFETCHING_LINK = 'a[data-farm-link]:not([data-farm-prefetch="none"])';
|
|
7
8
|
var ISLAND = "f-island";
|
|
8
9
|
var HYDRATED_ISLAND = '[data-farm-island-hydrated="true"]';
|
|
9
10
|
function submitsForm(target, kind) {
|
|
@@ -60,18 +61,19 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
60
61
|
const rootId = _optionalChain([script, 'optionalAccess', _11 => _11.dataset, 'access', _12 => _12.farmRoot]);
|
|
61
62
|
const root = rootId ? document.getElementById(rootId) : null;
|
|
62
63
|
const preloaded = /* @__PURE__ */ new Set();
|
|
64
|
+
const runtime = new URL(_nullishCoalesce(_optionalChain([script, 'optionalAccess', _13 => _13.dataset, 'access', _14 => _14.farmRuntime]), () => ( "")), document.baseURI);
|
|
65
|
+
const modulepreload = (file) => {
|
|
66
|
+
const link = document.createElement("link");
|
|
67
|
+
link.rel = "modulepreload";
|
|
68
|
+
link.href = new URL(file, runtime).href;
|
|
69
|
+
if (_optionalChain([script, 'optionalAccess', _15 => _15.nonce])) link.nonce = script.nonce;
|
|
70
|
+
document.head.append(link);
|
|
71
|
+
};
|
|
63
72
|
const preload = (group) => {
|
|
64
|
-
const files = _optionalChain([script, 'optionalAccess',
|
|
73
|
+
const files = _optionalChain([script, 'optionalAccess', _16 => _16.dataset, 'access', _17 => _17[group]]);
|
|
65
74
|
if (!script || !files || preloaded.has(group)) return;
|
|
66
75
|
preloaded.add(group);
|
|
67
|
-
const
|
|
68
|
-
for (const file of files.split(" ")) {
|
|
69
|
-
const link = document.createElement("link");
|
|
70
|
-
link.rel = "modulepreload";
|
|
71
|
-
link.href = new URL(file, base).href;
|
|
72
|
-
if (script.nonce) link.nonce = script.nonce;
|
|
73
|
-
document.head.append(link);
|
|
74
|
-
}
|
|
76
|
+
for (const file of files.split(" ")) modulepreload(file);
|
|
75
77
|
};
|
|
76
78
|
const release = () => {
|
|
77
79
|
for (const cleanup of cleanups.splice(0)) cleanup();
|
|
@@ -144,6 +146,10 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
144
146
|
};
|
|
145
147
|
for (const type of ["pointerdown", "focusin", "mouseover"]) listen(type, observe, true);
|
|
146
148
|
const requestPage = (href) => {
|
|
149
|
+
const scope = window;
|
|
150
|
+
const early = scope.__FARM_EARLY_NAVIGATION__;
|
|
151
|
+
if (_optionalChain([early, 'optionalAccess', _18 => _18.url]) === href && Date.now() - early.at <= 3e4) return;
|
|
152
|
+
_optionalChain([early, 'optionalAccess', _19 => _19.controller, 'access', _20 => _20.abort, 'call', _21 => _21()]);
|
|
147
153
|
const headers = { accept: "text/html" };
|
|
148
154
|
const content = _nullishCoalesce(document.getElementById("root"), () => ( document.body));
|
|
149
155
|
const held = new Set(
|
|
@@ -159,7 +165,6 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
159
165
|
).filter(Boolean);
|
|
160
166
|
if (layouts.length) headers["f-layouts"] = JSON.stringify(layouts);
|
|
161
167
|
if (rootId !== "root") headers["f-stream"] = "flush";
|
|
162
|
-
const scope = window;
|
|
163
168
|
if (scope.__FARM_DEPLOYMENT_ID__) {
|
|
164
169
|
headers[FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER] = scope.__FARM_DEPLOYMENT_ID__;
|
|
165
170
|
}
|
|
@@ -169,6 +174,18 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
169
174
|
});
|
|
170
175
|
scope.__FARM_EARLY_NAVIGATION__ = { url: href, headers, response, at: Date.now(), controller };
|
|
171
176
|
};
|
|
177
|
+
listen(
|
|
178
|
+
"pointerdown",
|
|
179
|
+
(event) => {
|
|
180
|
+
const press = event;
|
|
181
|
+
const anchor = routedLink(press.target);
|
|
182
|
+
if (press.button || isModified(press) || !_optionalChain([anchor, 'optionalAccess', _22 => _22.matches, 'call', _23 => _23(FARM_ISLANDS_BOOT_PREFETCHING_LINK)])) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
requestPage(anchor.href);
|
|
186
|
+
},
|
|
187
|
+
true
|
|
188
|
+
);
|
|
172
189
|
listen(
|
|
173
190
|
"click",
|
|
174
191
|
(event) => {
|
|
@@ -197,19 +214,22 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
197
214
|
{ rootMargin: FARM_ISLANDS_BOOT_VISIBLE_MARGIN }
|
|
198
215
|
) : null;
|
|
199
216
|
if (visibility) cleanups.push(() => visibility.disconnect());
|
|
200
|
-
|
|
201
|
-
const startWhenIdle = () => {
|
|
202
|
-
if (idle) return;
|
|
203
|
-
idle = true;
|
|
217
|
+
const whenIdle = (callback) => {
|
|
204
218
|
const idleWindow = window;
|
|
205
219
|
if (typeof idleWindow.requestIdleCallback === "function") {
|
|
206
|
-
const handle = idleWindow.requestIdleCallback(
|
|
207
|
-
cleanups.push(() => _optionalChain([idleWindow, 'access',
|
|
220
|
+
const handle = idleWindow.requestIdleCallback(callback, { timeout: 2e3 });
|
|
221
|
+
cleanups.push(() => _optionalChain([idleWindow, 'access', _24 => _24.cancelIdleCallback, 'optionalCall', _25 => _25(handle)]));
|
|
208
222
|
} else {
|
|
209
|
-
const handle = window.setTimeout(
|
|
223
|
+
const handle = window.setTimeout(callback, 1);
|
|
210
224
|
cleanups.push(() => window.clearTimeout(handle));
|
|
211
225
|
}
|
|
212
226
|
};
|
|
227
|
+
let idle = false;
|
|
228
|
+
const startWhenIdle = () => {
|
|
229
|
+
if (idle) return;
|
|
230
|
+
idle = true;
|
|
231
|
+
whenIdle(() => void start());
|
|
232
|
+
};
|
|
213
233
|
const parsedVisible = [];
|
|
214
234
|
const observeVisible = (island) => {
|
|
215
235
|
const targets = island.getClientRects().length > 0 ? [island] : Array.from(island.children);
|
|
@@ -217,7 +237,7 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
217
237
|
else for (const target of targets) visibility.observe(target);
|
|
218
238
|
};
|
|
219
239
|
const considerIsland = (island) => {
|
|
220
|
-
if (_optionalChain([island, 'access',
|
|
240
|
+
if (_optionalChain([island, 'access', _26 => _26.parentElement, 'optionalAccess', _27 => _27.closest, 'call', _28 => _28(ISLAND)])) return;
|
|
221
241
|
const strategy = island.getAttribute("strategy");
|
|
222
242
|
if (strategy === "interaction") return;
|
|
223
243
|
if (strategy === "idle") startWhenIdle();
|
|
@@ -240,7 +260,7 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
240
260
|
consider(document.documentElement);
|
|
241
261
|
if (rootId && !root) void start();
|
|
242
262
|
else if (root && !loading) {
|
|
243
|
-
const strategy = _optionalChain([script, 'optionalAccess',
|
|
263
|
+
const strategy = _optionalChain([script, 'optionalAccess', _29 => _29.dataset, 'access', _30 => _30.farmRootStrategy]);
|
|
244
264
|
if (strategy === "idle") startWhenIdle();
|
|
245
265
|
else if (strategy === "visible") observeVisible(root);
|
|
246
266
|
else if (strategy !== "interaction") void start();
|
|
@@ -262,10 +282,24 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
262
282
|
document.removeEventListener("DOMContentLoaded", parsed);
|
|
263
283
|
});
|
|
264
284
|
}
|
|
285
|
+
const prefetch = () => {
|
|
286
|
+
const connection = navigator.connection;
|
|
287
|
+
if (loading || !_optionalChain([script, 'optionalAccess', _31 => _31.dataset, 'access', _32 => _32.farmRuntime]) || _optionalChain([connection, 'optionalAccess', _33 => _33.saveData])) return;
|
|
288
|
+
modulepreload(runtime.href);
|
|
289
|
+
preload("farmPreload");
|
|
290
|
+
preload("farmPreloadRouter");
|
|
291
|
+
};
|
|
292
|
+
const prefetchWhenIdle = () => whenIdle(prefetch);
|
|
293
|
+
if (document.readyState === "complete") prefetchWhenIdle();
|
|
294
|
+
else {
|
|
295
|
+
window.addEventListener("load", prefetchWhenIdle, { once: true });
|
|
296
|
+
cleanups.push(() => window.removeEventListener("load", prefetchWhenIdle));
|
|
297
|
+
}
|
|
265
298
|
}
|
|
266
299
|
|
|
267
300
|
|
|
268
301
|
|
|
269
302
|
|
|
270
303
|
|
|
271
|
-
|
|
304
|
+
|
|
305
|
+
exports.FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER = FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER; exports.FARM_ISLANDS_BOOT_PREFETCHING_LINK = FARM_ISLANDS_BOOT_PREFETCHING_LINK; exports.FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR = FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR; exports.FARM_ISLANDS_BOOT_VISIBLE_MARGIN = FARM_ISLANDS_BOOT_VISIBLE_MARGIN; exports.startFarmIslandsBoot = startFarmIslandsBoot;
|
|
@@ -3,8 +3,8 @@ declare const FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR = "button,[role=\"button\"],
|
|
|
3
3
|
/** Kept equal to the island scheduler's visibility margin (island-triggers.ts). */
|
|
4
4
|
declare const FARM_ISLANDS_BOOT_VISIBLE_MARGIN = "200px";
|
|
5
5
|
/**
|
|
6
|
-
* @internal The request for a link clicked before the runtime ran, which the boot sends
|
|
7
|
-
*
|
|
6
|
+
* @internal The request for a link pressed or clicked before the runtime ran, which the boot sends
|
|
7
|
+
* then (`window.__FARM_EARLY_NAVIGATION__`). The router's next navigation request takes the
|
|
8
8
|
* response when it would send the same request, and drops it otherwise.
|
|
9
9
|
*/
|
|
10
10
|
interface FarmEarlyNavigation {
|
|
@@ -20,7 +20,9 @@ interface FarmEarlyNavigation {
|
|
|
20
20
|
}
|
|
21
21
|
/** Kept equal to the routers' deployment header (FARM_DEPLOYMENT_ID_HEADER); a test compares them. */
|
|
22
22
|
declare const FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER = "x-farm-deployment-id";
|
|
23
|
+
/** A `Link` that prefetches, as its attributes say (resolveLinkAttributes); a test compares them. */
|
|
24
|
+
declare const FARM_ISLANDS_BOOT_PREFETCHING_LINK = "a[data-farm-link]:not([data-farm-prefetch=\"none\"])";
|
|
23
25
|
/** Starts the runtime when the page first needs it. `load` runs it; it starts as it runs. */
|
|
24
26
|
declare function startFarmIslandsBoot(load?: () => Promise<unknown>): void;
|
|
25
27
|
|
|
26
|
-
export { FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER, FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR, FARM_ISLANDS_BOOT_VISIBLE_MARGIN, type FarmEarlyNavigation, startFarmIslandsBoot };
|
|
28
|
+
export { FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER, FARM_ISLANDS_BOOT_PREFETCHING_LINK, FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR, FARM_ISLANDS_BOOT_VISIBLE_MARGIN, type FarmEarlyNavigation, startFarmIslandsBoot };
|
|
@@ -3,8 +3,8 @@ declare const FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR = "button,[role=\"button\"],
|
|
|
3
3
|
/** Kept equal to the island scheduler's visibility margin (island-triggers.ts). */
|
|
4
4
|
declare const FARM_ISLANDS_BOOT_VISIBLE_MARGIN = "200px";
|
|
5
5
|
/**
|
|
6
|
-
* @internal The request for a link clicked before the runtime ran, which the boot sends
|
|
7
|
-
*
|
|
6
|
+
* @internal The request for a link pressed or clicked before the runtime ran, which the boot sends
|
|
7
|
+
* then (`window.__FARM_EARLY_NAVIGATION__`). The router's next navigation request takes the
|
|
8
8
|
* response when it would send the same request, and drops it otherwise.
|
|
9
9
|
*/
|
|
10
10
|
interface FarmEarlyNavigation {
|
|
@@ -20,7 +20,9 @@ interface FarmEarlyNavigation {
|
|
|
20
20
|
}
|
|
21
21
|
/** Kept equal to the routers' deployment header (FARM_DEPLOYMENT_ID_HEADER); a test compares them. */
|
|
22
22
|
declare const FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER = "x-farm-deployment-id";
|
|
23
|
+
/** A `Link` that prefetches, as its attributes say (resolveLinkAttributes); a test compares them. */
|
|
24
|
+
declare const FARM_ISLANDS_BOOT_PREFETCHING_LINK = "a[data-farm-link]:not([data-farm-prefetch=\"none\"])";
|
|
23
25
|
/** Starts the runtime when the page first needs it. `load` runs it; it starts as it runs. */
|
|
24
26
|
declare function startFarmIslandsBoot(load?: () => Promise<unknown>): void;
|
|
25
27
|
|
|
26
|
-
export { FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER, FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR, FARM_ISLANDS_BOOT_VISIBLE_MARGIN, type FarmEarlyNavigation, startFarmIslandsBoot };
|
|
28
|
+
export { FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER, FARM_ISLANDS_BOOT_PREFETCHING_LINK, FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR, FARM_ISLANDS_BOOT_VISIBLE_MARGIN, type FarmEarlyNavigation, startFarmIslandsBoot };
|
|
@@ -4,6 +4,7 @@ import "../chunk-TIZJYHB7.mjs";
|
|
|
4
4
|
var FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR = 'button,[role="button"],input[type="button"],input[type="submit"],input[type="reset"]';
|
|
5
5
|
var FARM_ISLANDS_BOOT_VISIBLE_MARGIN = "200px";
|
|
6
6
|
var FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER = "x-farm-deployment-id";
|
|
7
|
+
var FARM_ISLANDS_BOOT_PREFETCHING_LINK = 'a[data-farm-link]:not([data-farm-prefetch="none"])';
|
|
7
8
|
var ISLAND = "f-island";
|
|
8
9
|
var HYDRATED_ISLAND = '[data-farm-island-hydrated="true"]';
|
|
9
10
|
function submitsForm(target, kind) {
|
|
@@ -60,18 +61,19 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
60
61
|
const rootId = script?.dataset.farmRoot;
|
|
61
62
|
const root = rootId ? document.getElementById(rootId) : null;
|
|
62
63
|
const preloaded = /* @__PURE__ */ new Set();
|
|
64
|
+
const runtime = new URL(script?.dataset.farmRuntime ?? "", document.baseURI);
|
|
65
|
+
const modulepreload = (file) => {
|
|
66
|
+
const link = document.createElement("link");
|
|
67
|
+
link.rel = "modulepreload";
|
|
68
|
+
link.href = new URL(file, runtime).href;
|
|
69
|
+
if (script?.nonce) link.nonce = script.nonce;
|
|
70
|
+
document.head.append(link);
|
|
71
|
+
};
|
|
63
72
|
const preload = (group) => {
|
|
64
73
|
const files = script?.dataset[group];
|
|
65
74
|
if (!script || !files || preloaded.has(group)) return;
|
|
66
75
|
preloaded.add(group);
|
|
67
|
-
const
|
|
68
|
-
for (const file of files.split(" ")) {
|
|
69
|
-
const link = document.createElement("link");
|
|
70
|
-
link.rel = "modulepreload";
|
|
71
|
-
link.href = new URL(file, base).href;
|
|
72
|
-
if (script.nonce) link.nonce = script.nonce;
|
|
73
|
-
document.head.append(link);
|
|
74
|
-
}
|
|
76
|
+
for (const file of files.split(" ")) modulepreload(file);
|
|
75
77
|
};
|
|
76
78
|
const release = () => {
|
|
77
79
|
for (const cleanup of cleanups.splice(0)) cleanup();
|
|
@@ -144,6 +146,10 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
144
146
|
};
|
|
145
147
|
for (const type of ["pointerdown", "focusin", "mouseover"]) listen(type, observe, true);
|
|
146
148
|
const requestPage = (href) => {
|
|
149
|
+
const scope = window;
|
|
150
|
+
const early = scope.__FARM_EARLY_NAVIGATION__;
|
|
151
|
+
if (early?.url === href && Date.now() - early.at <= 3e4) return;
|
|
152
|
+
early?.controller.abort();
|
|
147
153
|
const headers = { accept: "text/html" };
|
|
148
154
|
const content = document.getElementById("root") ?? document.body;
|
|
149
155
|
const held = new Set(
|
|
@@ -159,7 +165,6 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
159
165
|
).filter(Boolean);
|
|
160
166
|
if (layouts.length) headers["f-layouts"] = JSON.stringify(layouts);
|
|
161
167
|
if (rootId !== "root") headers["f-stream"] = "flush";
|
|
162
|
-
const scope = window;
|
|
163
168
|
if (scope.__FARM_DEPLOYMENT_ID__) {
|
|
164
169
|
headers[FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER] = scope.__FARM_DEPLOYMENT_ID__;
|
|
165
170
|
}
|
|
@@ -169,6 +174,18 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
169
174
|
});
|
|
170
175
|
scope.__FARM_EARLY_NAVIGATION__ = { url: href, headers, response, at: Date.now(), controller };
|
|
171
176
|
};
|
|
177
|
+
listen(
|
|
178
|
+
"pointerdown",
|
|
179
|
+
(event) => {
|
|
180
|
+
const press = event;
|
|
181
|
+
const anchor = routedLink(press.target);
|
|
182
|
+
if (press.button || isModified(press) || !anchor?.matches(FARM_ISLANDS_BOOT_PREFETCHING_LINK)) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
requestPage(anchor.href);
|
|
186
|
+
},
|
|
187
|
+
true
|
|
188
|
+
);
|
|
172
189
|
listen(
|
|
173
190
|
"click",
|
|
174
191
|
(event) => {
|
|
@@ -197,19 +214,22 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
197
214
|
{ rootMargin: FARM_ISLANDS_BOOT_VISIBLE_MARGIN }
|
|
198
215
|
) : null;
|
|
199
216
|
if (visibility) cleanups.push(() => visibility.disconnect());
|
|
200
|
-
|
|
201
|
-
const startWhenIdle = () => {
|
|
202
|
-
if (idle) return;
|
|
203
|
-
idle = true;
|
|
217
|
+
const whenIdle = (callback) => {
|
|
204
218
|
const idleWindow = window;
|
|
205
219
|
if (typeof idleWindow.requestIdleCallback === "function") {
|
|
206
|
-
const handle = idleWindow.requestIdleCallback(
|
|
220
|
+
const handle = idleWindow.requestIdleCallback(callback, { timeout: 2e3 });
|
|
207
221
|
cleanups.push(() => idleWindow.cancelIdleCallback?.(handle));
|
|
208
222
|
} else {
|
|
209
|
-
const handle = window.setTimeout(
|
|
223
|
+
const handle = window.setTimeout(callback, 1);
|
|
210
224
|
cleanups.push(() => window.clearTimeout(handle));
|
|
211
225
|
}
|
|
212
226
|
};
|
|
227
|
+
let idle = false;
|
|
228
|
+
const startWhenIdle = () => {
|
|
229
|
+
if (idle) return;
|
|
230
|
+
idle = true;
|
|
231
|
+
whenIdle(() => void start());
|
|
232
|
+
};
|
|
213
233
|
const parsedVisible = [];
|
|
214
234
|
const observeVisible = (island) => {
|
|
215
235
|
const targets = island.getClientRects().length > 0 ? [island] : Array.from(island.children);
|
|
@@ -262,9 +282,23 @@ function startFarmIslandsBoot(load = loadFarmClientEntry) {
|
|
|
262
282
|
document.removeEventListener("DOMContentLoaded", parsed);
|
|
263
283
|
});
|
|
264
284
|
}
|
|
285
|
+
const prefetch = () => {
|
|
286
|
+
const connection = navigator.connection;
|
|
287
|
+
if (loading || !script?.dataset.farmRuntime || connection?.saveData) return;
|
|
288
|
+
modulepreload(runtime.href);
|
|
289
|
+
preload("farmPreload");
|
|
290
|
+
preload("farmPreloadRouter");
|
|
291
|
+
};
|
|
292
|
+
const prefetchWhenIdle = () => whenIdle(prefetch);
|
|
293
|
+
if (document.readyState === "complete") prefetchWhenIdle();
|
|
294
|
+
else {
|
|
295
|
+
window.addEventListener("load", prefetchWhenIdle, { once: true });
|
|
296
|
+
cleanups.push(() => window.removeEventListener("load", prefetchWhenIdle));
|
|
297
|
+
}
|
|
265
298
|
}
|
|
266
299
|
export {
|
|
267
300
|
FARM_ISLANDS_BOOT_DEPLOYMENT_HEADER,
|
|
301
|
+
FARM_ISLANDS_BOOT_PREFETCHING_LINK,
|
|
268
302
|
FARM_ISLANDS_BOOT_REPLAYABLE_SELECTOR,
|
|
269
303
|
FARM_ISLANDS_BOOT_VISIBLE_MARGIN,
|
|
270
304
|
startFarmIslandsBoot
|
|
@@ -1,16 +1,11 @@
|
|
|
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(); } } 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; }
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-I2BYNELA.cjs');
|
|
6
|
-
require('../chunk-MPU5DOXX.cjs');
|
|
7
|
-
require('../chunk-CKPTIEDX.cjs');
|
|
3
|
+
var _chunkFZ7OUN5Mcjs = require('../chunk-FZ7OUN5M.cjs');
|
|
4
|
+
require('../chunk-J6RFB324.cjs');
|
|
8
5
|
|
|
9
6
|
|
|
10
7
|
|
|
11
8
|
var _chunkC5QHZ626cjs = require('../chunk-C5QHZ626.cjs');
|
|
12
|
-
require('../chunk-DXUXQP2T.cjs');
|
|
13
|
-
require('../chunk-UZCMMJJT.cjs');
|
|
14
9
|
require('../chunk-UZM3PDKK.cjs');
|
|
15
10
|
|
|
16
11
|
// src/client/islands-runtime.ts
|
|
@@ -45,7 +40,7 @@ function createFarmIsolatedHydrationRuntime(options) {
|
|
|
45
40
|
report: options.report
|
|
46
41
|
});
|
|
47
42
|
const router = () => window.__FARM_SPA_ROUTER__;
|
|
48
|
-
_client.setActionInterceptor.call(void 0,
|
|
43
|
+
_client.setActionInterceptor.call(void 0, _chunkFZ7OUN5Mcjs.farmIslandsLazyActionInterceptor);
|
|
49
44
|
_client.setActionNavigator.call(void 0, {
|
|
50
45
|
refresh: () => _optionalChain([router, 'call', _ => _(), 'optionalAccess', _2 => _2.refresh, 'optionalCall', _3 => _3({ scroll: false })]),
|
|
51
46
|
navigate: (href) => {
|