clawcrib 0.1.0
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/README.md +27 -0
- package/bin/clawcrib.mjs +149 -0
- package/dist/.next/BUILD_ID +1 -0
- package/dist/.next/app-path-routes-manifest.json +28 -0
- package/dist/.next/build-manifest.json +21 -0
- package/dist/.next/package.json +1 -0
- package/dist/.next/prerender-manifest.json +354 -0
- package/dist/.next/required-server-files.json +331 -0
- package/dist/.next/routes-manifest.json +244 -0
- package/dist/.next/server/app/_global-error/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/_global-error/page/build-manifest.json +18 -0
- package/dist/.next/server/app/_global-error/page/next-font-manifest.json +6 -0
- package/dist/.next/server/app/_global-error/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/_global-error/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/_global-error/page.js +10 -0
- package/dist/.next/server/app/_global-error/page.js.map +5 -0
- package/dist/.next/server/app/_global-error/page.js.nft.json +1 -0
- package/dist/.next/server/app/_global-error/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/_global-error.html +2 -0
- package/dist/.next/server/app/_global-error.meta +15 -0
- package/dist/.next/server/app/_global-error.rsc +12 -0
- package/dist/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +5 -0
- package/dist/.next/server/app/_global-error.segments/_full.segment.rsc +12 -0
- package/dist/.next/server/app/_global-error.segments/_head.segment.rsc +5 -0
- package/dist/.next/server/app/_global-error.segments/_index.segment.rsc +4 -0
- package/dist/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -0
- package/dist/.next/server/app/_not-found/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/_not-found/page/build-manifest.json +18 -0
- package/dist/.next/server/app/_not-found/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/_not-found/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/_not-found/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/_not-found/page.js +16 -0
- package/dist/.next/server/app/_not-found/page.js.map +5 -0
- package/dist/.next/server/app/_not-found/page.js.nft.json +1 -0
- package/dist/.next/server/app/_not-found/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/_not-found.html +7 -0
- package/dist/.next/server/app/_not-found.meta +16 -0
- package/dist/.next/server/app/_not-found.rsc +25 -0
- package/dist/.next/server/app/_not-found.segments/_full.segment.rsc +25 -0
- package/dist/.next/server/app/_not-found.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/_not-found.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +6 -0
- package/dist/.next/server/app/_not-found.segments/_not-found.segment.rsc +4 -0
- package/dist/.next/server/app/_not-found.segments/_tree.segment.rsc +3 -0
- package/dist/.next/server/app/agent/[name]/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/agent/[name]/page/build-manifest.json +18 -0
- package/dist/.next/server/app/agent/[name]/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/agent/[name]/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/agent/[name]/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/agent/[name]/page.js +18 -0
- package/dist/.next/server/app/agent/[name]/page.js.map +5 -0
- package/dist/.next/server/app/agent/[name]/page.js.nft.json +1 -0
- package/dist/.next/server/app/agent/[name]/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/chat/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/chat/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/chat/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/chat/route.js +7 -0
- package/dist/.next/server/app/api/chat/route.js.map +5 -0
- package/dist/.next/server/app/api/chat/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/chat/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/crib/profiles/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/crib/profiles/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/crib/profiles/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/crib/profiles/route.js +7 -0
- package/dist/.next/server/app/api/crib/profiles/route.js.map +5 -0
- package/dist/.next/server/app/api/crib/profiles/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/crib/profiles/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/crib/stream/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/crib/stream/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/crib/stream/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/crib/stream/route.js +7 -0
- package/dist/.next/server/app/api/crib/stream/route.js.map +5 -0
- package/dist/.next/server/app/api/crib/stream/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/crib/stream/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/seed-learn/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/seed-learn/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/seed-learn/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/seed-learn/route.js +9 -0
- package/dist/.next/server/app/api/seed-learn/route.js.map +5 -0
- package/dist/.next/server/app/api/seed-learn/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/seed-learn/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route.js +8 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route.js.map +5 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/v1/agents/[handle]/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/v1/agents/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/v1/agents/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/v1/agents/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/v1/agents/route.js +8 -0
- package/dist/.next/server/app/api/v1/agents/route.js.map +5 -0
- package/dist/.next/server/app/api/v1/agents/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/v1/agents/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route.js +8 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route.js.map +5 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/v1/cribs/[slug]/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/v1/cribs/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/v1/cribs/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/v1/cribs/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/v1/cribs/route.js +8 -0
- package/dist/.next/server/app/api/v1/cribs/route.js.map +5 -0
- package/dist/.next/server/app/api/v1/cribs/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/v1/cribs/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/v1/heartbeat/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/v1/heartbeat/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/v1/heartbeat/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/v1/heartbeat/route.js +8 -0
- package/dist/.next/server/app/api/v1/heartbeat/route.js.map +5 -0
- package/dist/.next/server/app/api/v1/heartbeat/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/v1/heartbeat/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/api/v1/stats/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/api/v1/stats/route/build-manifest.json +11 -0
- package/dist/.next/server/app/api/v1/stats/route/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/api/v1/stats/route.js +8 -0
- package/dist/.next/server/app/api/v1/stats/route.js.map +5 -0
- package/dist/.next/server/app/api/v1/stats/route.js.nft.json +1 -0
- package/dist/.next/server/app/api/v1/stats/route_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/browse/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/browse/page/build-manifest.json +18 -0
- package/dist/.next/server/app/browse/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/browse/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/browse/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/browse/page.js +18 -0
- package/dist/.next/server/app/browse/page.js.map +5 -0
- package/dist/.next/server/app/browse/page.js.nft.json +1 -0
- package/dist/.next/server/app/browse/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/browse.html +7 -0
- package/dist/.next/server/app/browse.meta +15 -0
- package/dist/.next/server/app/browse.rsc +26 -0
- package/dist/.next/server/app/browse.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/browse.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/browse.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/browse.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/browse.segments/browse/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/browse.segments/browse.segment.rsc +4 -0
- package/dist/.next/server/app/builder/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/builder/page/build-manifest.json +18 -0
- package/dist/.next/server/app/builder/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/builder/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/builder/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/builder/page.js +19 -0
- package/dist/.next/server/app/builder/page.js.map +5 -0
- package/dist/.next/server/app/builder/page.js.nft.json +1 -0
- package/dist/.next/server/app/builder/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/builder.html +7 -0
- package/dist/.next/server/app/builder.meta +15 -0
- package/dist/.next/server/app/builder.rsc +28 -0
- package/dist/.next/server/app/builder.segments/_full.segment.rsc +28 -0
- package/dist/.next/server/app/builder.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/builder.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/builder.segments/_tree.segment.rsc +6 -0
- package/dist/.next/server/app/builder.segments/builder/__PAGE__.segment.rsc +10 -0
- package/dist/.next/server/app/builder.segments/builder.segment.rsc +4 -0
- package/dist/.next/server/app/crib/[slug]/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/crib/[slug]/page/build-manifest.json +18 -0
- package/dist/.next/server/app/crib/[slug]/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/crib/[slug]/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/crib/[slug]/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/crib/[slug]/page.js +19 -0
- package/dist/.next/server/app/crib/[slug]/page.js.map +5 -0
- package/dist/.next/server/app/crib/[slug]/page.js.nft.json +1 -0
- package/dist/.next/server/app/crib/[slug]/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/crib/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/crib/page/build-manifest.json +18 -0
- package/dist/.next/server/app/crib/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/crib/page/react-loadable-manifest.json +17 -0
- package/dist/.next/server/app/crib/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/crib/page.js +18 -0
- package/dist/.next/server/app/crib/page.js.map +5 -0
- package/dist/.next/server/app/crib/page.js.nft.json +1 -0
- package/dist/.next/server/app/crib/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/crib.html +1 -0
- package/dist/.next/server/app/crib.meta +15 -0
- package/dist/.next/server/app/crib.rsc +26 -0
- package/dist/.next/server/app/crib.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/crib.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/crib.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/crib.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/crib.segments/crib/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/crib.segments/crib.segment.rsc +4 -0
- package/dist/.next/server/app/demo/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/demo/page/build-manifest.json +18 -0
- package/dist/.next/server/app/demo/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/demo/page/react-loadable-manifest.json +17 -0
- package/dist/.next/server/app/demo/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/demo/page.js +18 -0
- package/dist/.next/server/app/demo/page.js.map +5 -0
- package/dist/.next/server/app/demo/page.js.nft.json +1 -0
- package/dist/.next/server/app/demo/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/demo.html +1 -0
- package/dist/.next/server/app/demo.meta +15 -0
- package/dist/.next/server/app/demo.rsc +26 -0
- package/dist/.next/server/app/demo.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/demo.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/demo.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/demo.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/demo.segments/demo/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/demo.segments/demo.segment.rsc +4 -0
- package/dist/.next/server/app/feedback/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/feedback/page/build-manifest.json +18 -0
- package/dist/.next/server/app/feedback/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/feedback/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/feedback/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/feedback/page.js +18 -0
- package/dist/.next/server/app/feedback/page.js.map +5 -0
- package/dist/.next/server/app/feedback/page.js.nft.json +1 -0
- package/dist/.next/server/app/feedback/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/feedback.html +7 -0
- package/dist/.next/server/app/feedback.meta +15 -0
- package/dist/.next/server/app/feedback.rsc +26 -0
- package/dist/.next/server/app/feedback.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/feedback.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/feedback.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/feedback.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/feedback.segments/feedback/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/feedback.segments/feedback.segment.rsc +4 -0
- package/dist/.next/server/app/gltest/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/gltest/page/build-manifest.json +18 -0
- package/dist/.next/server/app/gltest/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/gltest/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/gltest/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/gltest/page.js +18 -0
- package/dist/.next/server/app/gltest/page.js.map +5 -0
- package/dist/.next/server/app/gltest/page.js.nft.json +1 -0
- package/dist/.next/server/app/gltest/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/gltest.html +1 -0
- package/dist/.next/server/app/gltest.meta +16 -0
- package/dist/.next/server/app/gltest.rsc +26 -0
- package/dist/.next/server/app/gltest.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/gltest.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/gltest.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/gltest.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/gltest.segments/gltest/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/gltest.segments/gltest.segment.rsc +4 -0
- package/dist/.next/server/app/help/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/help/page/build-manifest.json +18 -0
- package/dist/.next/server/app/help/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/help/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/help/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/help/page.js +19 -0
- package/dist/.next/server/app/help/page.js.map +5 -0
- package/dist/.next/server/app/help/page.js.nft.json +1 -0
- package/dist/.next/server/app/help/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/help.html +7 -0
- package/dist/.next/server/app/help.meta +15 -0
- package/dist/.next/server/app/help.rsc +26 -0
- package/dist/.next/server/app/help.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/help.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/help.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/help.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/help.segments/help/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/help.segments/help.segment.rsc +4 -0
- package/dist/.next/server/app/icon.svg/route/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/icon.svg/route/build-manifest.json +11 -0
- package/dist/.next/server/app/icon.svg/route.js +7 -0
- package/dist/.next/server/app/icon.svg/route.js.map +5 -0
- package/dist/.next/server/app/icon.svg/route.js.nft.json +1 -0
- package/dist/.next/server/app/icon.svg.body +69 -0
- package/dist/.next/server/app/icon.svg.meta +1 -0
- package/dist/.next/server/app/index.html +1 -0
- package/dist/.next/server/app/index.meta +14 -0
- package/dist/.next/server/app/index.rsc +26 -0
- package/dist/.next/server/app/index.segments/__PAGE__.segment.rsc +9 -0
- package/dist/.next/server/app/index.segments/_full.segment.rsc +26 -0
- package/dist/.next/server/app/index.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/index.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/index.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/learn/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/learn/page/build-manifest.json +18 -0
- package/dist/.next/server/app/learn/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/learn/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/learn/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/learn/page.js +18 -0
- package/dist/.next/server/app/learn/page.js.map +5 -0
- package/dist/.next/server/app/learn/page.js.nft.json +1 -0
- package/dist/.next/server/app/learn/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/learn.html +7 -0
- package/dist/.next/server/app/learn.meta +15 -0
- package/dist/.next/server/app/learn.rsc +24 -0
- package/dist/.next/server/app/learn.segments/_full.segment.rsc +24 -0
- package/dist/.next/server/app/learn.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/learn.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/learn.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/learn.segments/learn/__PAGE__.segment.rsc +6 -0
- package/dist/.next/server/app/learn.segments/learn.segment.rsc +4 -0
- package/dist/.next/server/app/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/page/build-manifest.json +18 -0
- package/dist/.next/server/app/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/page.js +18 -0
- package/dist/.next/server/app/page.js.map +5 -0
- package/dist/.next/server/app/page.js.nft.json +1 -0
- package/dist/.next/server/app/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/privacy/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/privacy/page/build-manifest.json +18 -0
- package/dist/.next/server/app/privacy/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/privacy/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/privacy/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/privacy/page.js +18 -0
- package/dist/.next/server/app/privacy/page.js.map +5 -0
- package/dist/.next/server/app/privacy/page.js.nft.json +1 -0
- package/dist/.next/server/app/privacy/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/privacy.html +7 -0
- package/dist/.next/server/app/privacy.meta +15 -0
- package/dist/.next/server/app/privacy.rsc +49 -0
- package/dist/.next/server/app/privacy.segments/_full.segment.rsc +49 -0
- package/dist/.next/server/app/privacy.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/privacy.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/privacy.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/privacy.segments/privacy/__PAGE__.segment.rsc +26 -0
- package/dist/.next/server/app/privacy.segments/privacy.segment.rsc +4 -0
- package/dist/.next/server/app/terms/page/app-paths-manifest.json +3 -0
- package/dist/.next/server/app/terms/page/build-manifest.json +18 -0
- package/dist/.next/server/app/terms/page/next-font-manifest.json +11 -0
- package/dist/.next/server/app/terms/page/react-loadable-manifest.json +1 -0
- package/dist/.next/server/app/terms/page/server-reference-manifest.json +4 -0
- package/dist/.next/server/app/terms/page.js +18 -0
- package/dist/.next/server/app/terms/page.js.map +5 -0
- package/dist/.next/server/app/terms/page.js.nft.json +1 -0
- package/dist/.next/server/app/terms/page_client-reference-manifest.js +2 -0
- package/dist/.next/server/app/terms.html +7 -0
- package/dist/.next/server/app/terms.meta +15 -0
- package/dist/.next/server/app/terms.rsc +46 -0
- package/dist/.next/server/app/terms.segments/_full.segment.rsc +46 -0
- package/dist/.next/server/app/terms.segments/_head.segment.rsc +6 -0
- package/dist/.next/server/app/terms.segments/_index.segment.rsc +11 -0
- package/dist/.next/server/app/terms.segments/_tree.segment.rsc +5 -0
- package/dist/.next/server/app/terms.segments/terms/__PAGE__.segment.rsc +22 -0
- package/dist/.next/server/app/terms.segments/terms.segment.rsc +4 -0
- package/dist/.next/server/app-paths-manifest.json +28 -0
- package/dist/.next/server/chunks/[externals]__26f7eb63._.js +3 -0
- package/dist/.next/server/chunks/[externals]__94ec4388._.js +3 -0
- package/dist/.next/server/chunks/[externals]_next_dist_5e1fe3b2._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__0b3464ad._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__44bc039f._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__63d66305._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__664944da._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__8f5ebbc3._.js +7 -0
- package/dist/.next/server/chunks/[root-of-the-server]__b922dae0._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__c60a61a1._.js +8 -0
- package/dist/.next/server/chunks/[root-of-the-server]__e4ef116e._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__ec9868a8._.js +3 -0
- package/dist/.next/server/chunks/[root-of-the-server]__ecc70079._.js +3 -0
- package/dist/.next/server/chunks/[turbopack]_runtime.js +795 -0
- package/dist/.next/server/chunks/_a7270702._.js +5 -0
- package/dist/.next/server/chunks/_bf13447d._.js +5 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_chat_route_actions_ac0c75e3.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_crib_profiles_route_actions_308de254.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_crib_stream_route_actions_bbf9b7bc.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_seed-learn_route_actions_0699fef4.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_v1_agents_[handle]_route_actions_0c549019.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_v1_agents_route_actions_721a8d91.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_v1_cribs_[slug]_route_actions_7da88aef.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_v1_cribs_route_actions_3e0e4f62.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_v1_heartbeat_route_actions_68e6be72.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_api_v1_stats_route_actions_6eecb829.js +3 -0
- package/dist/.next/server/chunks/_next-internal_server_app_icon_svg_route_actions_d76bbd00.js +3 -0
- package/dist/.next/server/chunks/node_modules_next_1402a1da._.js +17 -0
- package/dist/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_1cb6f5ec.js +138 -0
- package/dist/.next/server/chunks/node_modules_next_dist_esm_build_templates_app-route_b0bc0442.js +4 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__0d14f48b._.js +11 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__1eed2761._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__2734027d._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__2e88568e._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__303358d0._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__30f2aed4._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__4158500d._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__5d87b943._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__6c6c4815._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__72d10e7e._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__76b71b25._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__7bce49e2._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__83594e65._.js +5 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__89e1cc69._.js +11 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__89f9832c._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__9e78ee63._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__a457c799._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__a83a39ca._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__b704ba4a._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__c5a73a50._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__cb11b5eb._.js +4 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__ccfb3607._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__d62d6ecd._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__e43a75f6._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__e79298db._.js +3 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__fc6e09e6._.js +51 -0
- package/dist/.next/server/chunks/ssr/[root-of-the-server]__feca0381._.js +3 -0
- package/dist/.next/server/chunks/ssr/[turbopack]_runtime.js +795 -0
- package/dist/.next/server/chunks/ssr/_1436224b._.js +3 -0
- package/dist/.next/server/chunks/ssr/_1fad76ec._.js +4 -0
- package/dist/.next/server/chunks/ssr/_22adca49._.js +4 -0
- package/dist/.next/server/chunks/ssr/_305fab72._.js +3 -0
- package/dist/.next/server/chunks/ssr/_326fa6da._.js +4 -0
- package/dist/.next/server/chunks/ssr/_32e7f94c._.js +4 -0
- package/dist/.next/server/chunks/ssr/_3449c279._.js +9 -0
- package/dist/.next/server/chunks/ssr/_50a446b6._.js +4 -0
- package/dist/.next/server/chunks/ssr/_537b36f0._.js +3 -0
- package/dist/.next/server/chunks/ssr/_5a1c26a3._.js +3 -0
- package/dist/.next/server/chunks/ssr/_5b825777._.js +3 -0
- package/dist/.next/server/chunks/ssr/_6034e2f0._.js +3 -0
- package/dist/.next/server/chunks/ssr/_6e1cb0fc._.js +4 -0
- package/dist/.next/server/chunks/ssr/_7db9aade._.js +4 -0
- package/dist/.next/server/chunks/ssr/_84cdd45e._.js +4 -0
- package/dist/.next/server/chunks/ssr/_8d6b2d48._.js +3 -0
- package/dist/.next/server/chunks/ssr/_8e49afb6._.js +11 -0
- package/dist/.next/server/chunks/ssr/_978d53ef._.js +3 -0
- package/dist/.next/server/chunks/ssr/_a46dee72._.js +3 -0
- package/dist/.next/server/chunks/ssr/_a4ec9584._.js +3 -0
- package/dist/.next/server/chunks/ssr/_a523705e._.js +3 -0
- package/dist/.next/server/chunks/ssr/_a8f5ed56._.js +473 -0
- package/dist/.next/server/chunks/ssr/_af002283._.js +4 -0
- package/dist/.next/server/chunks/ssr/_b0f0f24f._.js +3 -0
- package/dist/.next/server/chunks/ssr/_b1786cf5._.js +4 -0
- package/dist/.next/server/chunks/ssr/_bce53e9d._.js +3 -0
- package/dist/.next/server/chunks/ssr/_bdd93ed8._.js +4 -0
- package/dist/.next/server/chunks/ssr/_be519242._.js +3 -0
- package/dist/.next/server/chunks/ssr/_bff3a5c8._.js +4 -0
- package/dist/.next/server/chunks/ssr/_cfc98e1a._.js +3 -0
- package/dist/.next/server/chunks/ssr/_dc6d9d10._.js +4 -0
- package/dist/.next/server/chunks/ssr/_e01a61c0._.js +3 -0
- package/dist/.next/server/chunks/ssr/_e078e27a._.js +3 -0
- package/dist/.next/server/chunks/ssr/_e23aa0ff._.js +4 -0
- package/dist/.next/server/chunks/ssr/_ea501b94._.js +4 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app__global-error_page_actions_75761787.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app__not-found_page_actions_554ec2bf.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_agent_[name]_page_actions_6440b611.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_browse_page_actions_8ceec5b3.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_builder_page_actions_e20876c5.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_crib_[slug]_page_actions_7c32236c.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_crib_page_actions_378e2f5e.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_demo_page_actions_0903ddc0.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_feedback_page_actions_ad090f73.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_gltest_page_actions_349b4191.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_help_page_actions_0e668f4d.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_learn_page_actions_365b1268.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_page_actions_39d4fc33.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_privacy_page_actions_78bfea85.js +3 -0
- package/dist/.next/server/chunks/ssr/_next-internal_server_app_terms_page_actions_3b82705a.js +3 -0
- package/dist/.next/server/chunks/ssr/convex__generated_api_883e6779.js +4 -0
- package/dist/.next/server/chunks/ssr/node_modules_04a97984._.js +395 -0
- package/dist/.next/server/chunks/ssr/node_modules_3cf9a583._.js +11 -0
- package/dist/.next/server/chunks/ssr/node_modules_@convex-dev_auth_dist_react_index_c572ed70.js +4 -0
- package/dist/.next/server/chunks/ssr/node_modules_a18674a0._.js +395 -0
- package/dist/.next/server/chunks/ssr/node_modules_d6c03641._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_framer-motion_dist_es_render_components_motion_proxy_mjs_b72b0714._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_920e7746._.js +6 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_08570d7f._.js +4 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_174ae28d._.js +10 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_61a87db9._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_65e60196._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_6e285db9._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_2fffaa3a._.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_global-error_ece394eb.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_client_components_builtin_unauthorized_15817684.js +3 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_build_templates_app-page_92969d11.js +4 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_esm_eedfc1fd._.js +6 -0
- package/dist/.next/server/chunks/ssr/node_modules_next_dist_f9713a08._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_app_0db9afea._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_app_builder_layout_tsx_1bea4aaa._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_app_crib_[slug]_error_tsx_50c1779a._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_app_error_tsx_ef715cc8._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_app_feedback_page_tsx_d44f95de._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_app_gltest_page_tsx_8e1c7fda._.js +183 -0
- package/dist/.next/server/chunks/ssr/src_app_help_layout_tsx_4a130e98._.js +3 -0
- package/dist/.next/server/chunks/ssr/src_components_ConvexClientProvider_tsx_df965ff3._.js +4 -0
- package/dist/.next/server/chunks/ssr/src_lib_63f56dbd._.js +7 -0
- package/dist/.next/server/chunks/ssr/src_lib_data_ts_10e26668._.js +714 -0
- package/dist/.next/server/chunks/ssr/src_lib_e61a13e2._.js +7 -0
- package/dist/.next/server/chunks/ssr/src_lib_org-templates_ts_5900b973._.js +3 -0
- package/dist/.next/server/edge/chunks/[root-of-the-server]__25fe7590._.js +15 -0
- package/dist/.next/server/edge/chunks/node_modules_next_dist_esm_build_templates_edge-wrapper_78fa9d6a.js +3 -0
- package/dist/.next/server/edge/chunks/turbopack-node_modules_next_dist_esm_build_templates_edge-wrapper_99e3e1b8.js +6 -0
- package/dist/.next/server/functions-config-manifest.json +7 -0
- package/dist/.next/server/middleware-build-manifest.js +22 -0
- package/dist/.next/server/middleware-manifest.json +33 -0
- package/dist/.next/server/next-font-manifest.js +1 -0
- package/dist/.next/server/next-font-manifest.json +63 -0
- package/dist/.next/server/pages/404.html +7 -0
- package/dist/.next/server/pages/500.html +2 -0
- package/dist/.next/server/pages-manifest.json +4 -0
- package/dist/.next/server/server-reference-manifest.js +1 -0
- package/dist/.next/server/server-reference-manifest.json +5 -0
- package/dist/.next/static/LDs2QlURjFsxe6doQgQaH/_buildManifest.js +11 -0
- package/dist/.next/static/LDs2QlURjFsxe6doQgQaH/_clientMiddlewareManifest.json +6 -0
- package/dist/.next/static/LDs2QlURjFsxe6doQgQaH/_ssgManifest.js +1 -0
- package/dist/.next/static/chunks/045c83caa4d15373.js +1 -0
- package/dist/.next/static/chunks/04696d7c5884aa95.js +5 -0
- package/dist/.next/static/chunks/0841814a9bcfce10.js +1 -0
- package/dist/.next/static/chunks/0bd6498bda341889.js +1 -0
- package/dist/.next/static/chunks/108e0ffb63379a48.js +1 -0
- package/dist/.next/static/chunks/11ce1c153def8992.js +1 -0
- package/dist/.next/static/chunks/123ff9bd00156eb9.css +1 -0
- package/dist/.next/static/chunks/169b21b9dab86074.js +1 -0
- package/dist/.next/static/chunks/251e16428085edaf.js +1 -0
- package/dist/.next/static/chunks/33483ea0d00e5c1c.js +393 -0
- package/dist/.next/static/chunks/3cb5ccf4d1eaa633.js +7 -0
- package/dist/.next/static/chunks/46b6f1723e3c2623.js +1 -0
- package/dist/.next/static/chunks/4fa33c2b3825a6a7.js +38 -0
- package/dist/.next/static/chunks/52242a935b4dd54c.js +1 -0
- package/dist/.next/static/chunks/52d3163ddaacab21.js +3 -0
- package/dist/.next/static/chunks/5e108d2a5086dd3c.js +1 -0
- package/dist/.next/static/chunks/619d93506b5beb32.js +2 -0
- package/dist/.next/static/chunks/69a6c697ffcdb2dc.js +1 -0
- package/dist/.next/static/chunks/6b3aa1f3b4ac9239.js +1 -0
- package/dist/.next/static/chunks/792fa1e02f287bb2.js +38 -0
- package/dist/.next/static/chunks/8023316021b59dc8.js +2 -0
- package/dist/.next/static/chunks/82abf2d65f5428ae.js +4 -0
- package/dist/.next/static/chunks/87c6fa7148018b34.css +2 -0
- package/dist/.next/static/chunks/8a5bd6fe3abc8091.css +1 -0
- package/dist/.next/static/chunks/8ba9a4146e696c8b.js +1 -0
- package/dist/.next/static/chunks/909f8c33ddb338d5.js +5 -0
- package/dist/.next/static/chunks/94371ab8e9f84fa1.js +181 -0
- package/dist/.next/static/chunks/a5babc3f7ef11b25.js +9 -0
- package/dist/.next/static/chunks/a6dad97d9634a72d.js +1 -0
- package/dist/.next/static/chunks/a6dad97d9634a72d.js.map +1 -0
- package/dist/.next/static/chunks/a9b5a3c7d494490d.js +393 -0
- package/dist/.next/static/chunks/ab7596543940b500.js +2 -0
- package/dist/.next/static/chunks/c4fa140911cde35c.js +1 -0
- package/dist/.next/static/chunks/d4bd47435d743ec6.js +13 -0
- package/dist/.next/static/chunks/d91ff7ede64e0c7f.js +434 -0
- package/dist/.next/static/chunks/da5ac7a908f78d62.js +1 -0
- package/dist/.next/static/chunks/e140284ead06b77a.js +712 -0
- package/dist/.next/static/chunks/e3207aa0613573c2.js +9 -0
- package/dist/.next/static/chunks/eb5f77ae3460c46e.js +1 -0
- package/dist/.next/static/chunks/edfa7bbc21dc3450.js +1 -0
- package/dist/.next/static/chunks/f188e57e58a39d0f.js +1 -0
- package/dist/.next/static/chunks/f4e68e70f75d360a.js +1707 -0
- package/dist/.next/static/chunks/fcf47bfad683b072.js +9 -0
- package/dist/.next/static/chunks/fd7c6cd7808e9045.js +49 -0
- package/dist/.next/static/chunks/ff1a16fafef87110.js +1 -0
- package/dist/.next/static/chunks/turbopack-aadb2fcebd6885bc.js +4 -0
- package/dist/.next/static/media/04c5164763c40239-s.690580e8.woff2 +0 -0
- package/dist/.next/static/media/051742360c26797e-s.p.102b7f24.woff2 +0 -0
- package/dist/.next/static/media/1bffadaabf893a1e-s.7cd81963.woff2 +0 -0
- package/dist/.next/static/media/26f284dcc38c84c0-s.303a03d6.woff2 +0 -0
- package/dist/.next/static/media/2bbe8d2671613f1f-s.76dcb0b2.woff2 +0 -0
- package/dist/.next/static/media/2c55a0e60120577a-s.2a48534a.woff2 +0 -0
- package/dist/.next/static/media/5476f68d60460930-s.c995e352.woff2 +0 -0
- package/dist/.next/static/media/6a5386fd6038edbe-s.719084df.woff2 +0 -0
- package/dist/.next/static/media/7e7f32a39836f228-s.0b4edfe7.woff2 +0 -0
- package/dist/.next/static/media/83afe278b6a6bb3c-s.p.3a6ba036.woff2 +0 -0
- package/dist/.next/static/media/9c72aa0f40e4eef8-s.18a48cbc.woff2 +0 -0
- package/dist/.next/static/media/ad66f9afd8947f86-s.7a40eb73.woff2 +0 -0
- package/dist/.next/static/media/fa39153a3fc630ba-s.bff0868b.woff2 +0 -0
- package/dist/.next/static/media/icon.b0846afb.svg +69 -0
- package/dist/node_modules/@img/colour/color.cjs +1594 -0
- package/dist/node_modules/@img/colour/index.cjs +1 -0
- package/dist/node_modules/@img/colour/package.json +45 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/lib/sharp-darwin-arm64.node +0 -0
- package/dist/node_modules/@img/sharp-darwin-arm64/package.json +40 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/README.md +46 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/glib-2.0/include/glibconfig.h +220 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/index.js +1 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/lib/libvips-cpp.8.17.3.dylib +0 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/package.json +36 -0
- package/dist/node_modules/@img/sharp-libvips-darwin-arm64/versions.json +30 -0
- package/dist/node_modules/@next/env/dist/index.js +1 -0
- package/dist/node_modules/@next/env/package.json +36 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_default.cjs +6 -0
- package/dist/node_modules/@swc/helpers/cjs/_interop_require_wildcard.cjs +38 -0
- package/dist/node_modules/@swc/helpers/package.json +471 -0
- package/dist/node_modules/client-only/index.js +0 -0
- package/dist/node_modules/client-only/package.json +19 -0
- package/dist/node_modules/convex/dist/esm/browser/http_client.js +463 -0
- package/dist/node_modules/convex/dist/esm/browser/index-node.js +5 -0
- package/dist/node_modules/convex/dist/esm/browser/index.js +5 -0
- package/dist/node_modules/convex/dist/esm/browser/logging.js +122 -0
- package/dist/node_modules/convex/dist/esm/browser/query_options.js +5 -0
- package/dist/node_modules/convex/dist/esm/browser/simple_client-node.js +3867 -0
- package/dist/node_modules/convex/dist/esm/browser/simple_client.js +403 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/authentication_manager.js +322 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/client.js +739 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/function_result.js +2 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/local_state.js +296 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/metrics.js +31 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/optimistic_updates.js +2 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/optimistic_updates_impl.js +167 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/paginated_query_client.js +365 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/pagination.js +14 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/protocol.js +72 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/remote_query_set.js +78 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/request_manager.js +209 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/session.js +11 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/udf_path_utils.js +38 -0
- package/dist/node_modules/convex/dist/esm/browser/sync/web_socket_manager.js +651 -0
- package/dist/node_modules/detect-libc/lib/detect-libc.js +313 -0
- package/dist/node_modules/detect-libc/lib/elf.js +39 -0
- package/dist/node_modules/detect-libc/lib/filesystem.js +51 -0
- package/dist/node_modules/detect-libc/lib/process.js +24 -0
- package/dist/node_modules/detect-libc/package.json +44 -0
- package/dist/node_modules/next/dist/build/adapter/build-complete.js +993 -0
- package/dist/node_modules/next/dist/build/after-production-compile.js +95 -0
- package/dist/node_modules/next/dist/build/analysis/extract-const-value.js +205 -0
- package/dist/node_modules/next/dist/build/analysis/get-page-static-info.js +601 -0
- package/dist/node_modules/next/dist/build/analysis/parse-module.js +20 -0
- package/dist/node_modules/next/dist/build/analyze/index.js +242 -0
- package/dist/node_modules/next/dist/build/babel/loader/get-config.js +429 -0
- package/dist/node_modules/next/dist/build/babel/loader/index.js +56 -0
- package/dist/node_modules/next/dist/build/babel/loader/transform.js +103 -0
- package/dist/node_modules/next/dist/build/babel/loader/util.js +20 -0
- package/dist/node_modules/next/dist/build/babel/plugins/commonjs.js +42 -0
- package/dist/node_modules/next/dist/build/babel/plugins/jsx-pragma.js +74 -0
- package/dist/node_modules/next/dist/build/babel/plugins/next-font-unsupported.js +36 -0
- package/dist/node_modules/next/dist/build/babel/plugins/next-page-config.js +104 -0
- package/dist/node_modules/next/dist/build/babel/plugins/next-page-disallow-re-export-all-exports.js +29 -0
- package/dist/node_modules/next/dist/build/babel/plugins/next-ssg-transform.js +345 -0
- package/dist/node_modules/next/dist/build/babel/plugins/optimize-hook-destructuring.js +60 -0
- package/dist/node_modules/next/dist/build/babel/plugins/react-loadable-plugin.js +145 -0
- package/dist/node_modules/next/dist/build/babel/preset.js +250 -0
- package/dist/node_modules/next/dist/build/build-context.js +58 -0
- package/dist/node_modules/next/dist/build/collect-build-traces.js +536 -0
- package/dist/node_modules/next/dist/build/compiler.js +88 -0
- package/dist/node_modules/next/dist/build/create-compiler-aliases.js +436 -0
- package/dist/node_modules/next/dist/build/define-env.js +237 -0
- package/dist/node_modules/next/dist/build/duration-to-string.js +99 -0
- package/dist/node_modules/next/dist/build/entries.js +798 -0
- package/dist/node_modules/next/dist/build/generate-build-id.js +31 -0
- package/dist/node_modules/next/dist/build/generate-routes-manifest.js +91 -0
- package/dist/node_modules/next/dist/build/get-babel-config-file.js +35 -0
- package/dist/node_modules/next/dist/build/get-babel-loader-config.js +109 -0
- package/dist/node_modules/next/dist/build/get-static-info-including-layouts.js +81 -0
- package/dist/node_modules/next/dist/build/handle-entrypoints.js +176 -0
- package/dist/node_modules/next/dist/build/handle-externals.js +290 -0
- package/dist/node_modules/next/dist/build/index.js +2683 -0
- package/dist/node_modules/next/dist/build/is-writeable.js +26 -0
- package/dist/node_modules/next/dist/build/jest/__mocks__/empty.js +10 -0
- package/dist/node_modules/next/dist/build/jest/__mocks__/fileMock.js +15 -0
- package/dist/node_modules/next/dist/build/jest/__mocks__/nextFontMock.js +20 -0
- package/dist/node_modules/next/dist/build/jest/__mocks__/styleMock.js +10 -0
- package/dist/node_modules/next/dist/build/jest/jest.js +227 -0
- package/dist/node_modules/next/dist/build/jest/object-proxy.js +50 -0
- package/dist/node_modules/next/dist/build/load-entrypoint.js +30 -0
- package/dist/node_modules/next/dist/build/load-jsconfig.js +162 -0
- package/dist/node_modules/next/dist/build/lockfile.js +160 -0
- package/dist/node_modules/next/dist/build/manifests/formatter/format-manifest.js +19 -0
- package/dist/node_modules/next/dist/build/next-config-ts/require-hook.js +85 -0
- package/dist/node_modules/next/dist/build/next-config-ts/transpile-config.js +172 -0
- package/dist/node_modules/next/dist/build/next-dir-paths.js +37 -0
- package/dist/node_modules/next/dist/build/normalize-catchall-routes.js +76 -0
- package/dist/node_modules/next/dist/build/output/format.js +84 -0
- package/dist/node_modules/next/dist/build/output/index.js +186 -0
- package/dist/node_modules/next/dist/build/output/log.js +135 -0
- package/dist/node_modules/next/dist/build/output/store.js +204 -0
- package/dist/node_modules/next/dist/build/page-extensions-type.js +6 -0
- package/dist/node_modules/next/dist/build/polyfills/fetch/index.js +6 -0
- package/dist/node_modules/next/dist/build/polyfills/fetch/whatwg-fetch.js +7 -0
- package/dist/node_modules/next/dist/build/polyfills/object-assign.js +6 -0
- package/dist/node_modules/next/dist/build/polyfills/object.assign/auto.js +4 -0
- package/dist/node_modules/next/dist/build/polyfills/object.assign/implementation.js +4 -0
- package/dist/node_modules/next/dist/build/polyfills/object.assign/index.js +19 -0
- package/dist/node_modules/next/dist/build/polyfills/object.assign/polyfill.js +6 -0
- package/dist/node_modules/next/dist/build/polyfills/object.assign/shim.js +6 -0
- package/dist/node_modules/next/dist/build/polyfills/polyfill-module.js +1 -0
- package/dist/node_modules/next/dist/build/polyfills/polyfill-nomodule.js +1 -0
- package/dist/node_modules/next/dist/build/polyfills/process.js +5 -0
- package/dist/node_modules/next/dist/build/preview-key-utils.js +91 -0
- package/dist/node_modules/next/dist/build/progress.js +151 -0
- package/dist/node_modules/next/dist/build/rendering-mode.js +26 -0
- package/dist/node_modules/next/dist/build/segment-config/app/app-segment-config.js +145 -0
- package/dist/node_modules/next/dist/build/segment-config/app/app-segments.js +137 -0
- package/dist/node_modules/next/dist/build/segment-config/app/collect-root-param-keys.js +52 -0
- package/dist/node_modules/next/dist/build/segment-config/middleware/middleware-config.js +121 -0
- package/dist/node_modules/next/dist/build/segment-config/pages/pages-segment-config.js +62 -0
- package/dist/node_modules/next/dist/build/sort-by-page-exts.js +30 -0
- package/dist/node_modules/next/dist/build/spinner.js +138 -0
- package/dist/node_modules/next/dist/build/static-paths/app/extract-pathname-route-param-segments-from-loader-tree.js +137 -0
- package/dist/node_modules/next/dist/build/static-paths/app.js +682 -0
- package/dist/node_modules/next/dist/build/static-paths/pages.js +169 -0
- package/dist/node_modules/next/dist/build/static-paths/types.js +6 -0
- package/dist/node_modules/next/dist/build/static-paths/utils.js +119 -0
- package/dist/node_modules/next/dist/build/swc/helpers.js +15 -0
- package/dist/node_modules/next/dist/build/swc/index.js +1271 -0
- package/dist/node_modules/next/dist/build/swc/install-bindings.js +30 -0
- package/dist/node_modules/next/dist/build/swc/jest-transformer.js +75 -0
- package/dist/node_modules/next/dist/build/swc/options.js +386 -0
- package/dist/node_modules/next/dist/build/swc/types.js +6 -0
- package/dist/node_modules/next/dist/build/templates/app-page.js +1073 -0
- package/dist/node_modules/next/dist/build/templates/app-route.js +420 -0
- package/dist/node_modules/next/dist/build/templates/edge-app-route.js +85 -0
- package/dist/node_modules/next/dist/build/templates/edge-ssr-app.js +311 -0
- package/dist/node_modules/next/dist/build/templates/edge-ssr.js +335 -0
- package/dist/node_modules/next/dist/build/templates/edge-wrapper.js +24 -0
- package/dist/node_modules/next/dist/build/templates/helpers.js +36 -0
- package/dist/node_modules/next/dist/build/templates/middleware.js +115 -0
- package/dist/node_modules/next/dist/build/templates/pages-api.js +194 -0
- package/dist/node_modules/next/dist/build/templates/pages-edge-api.js +39 -0
- package/dist/node_modules/next/dist/build/templates/pages.js +155 -0
- package/dist/node_modules/next/dist/build/turbopack-analyze/index.js +116 -0
- package/dist/node_modules/next/dist/build/turbopack-build/impl.js +244 -0
- package/dist/node_modules/next/dist/build/turbopack-build/index.js +85 -0
- package/dist/node_modules/next/dist/build/turborepo-access-trace/env.js +29 -0
- package/dist/node_modules/next/dist/build/turborepo-access-trace/helpers.js +104 -0
- package/dist/node_modules/next/dist/build/turborepo-access-trace/index.js +30 -0
- package/dist/node_modules/next/dist/build/turborepo-access-trace/result.js +51 -0
- package/dist/node_modules/next/dist/build/turborepo-access-trace/tcp.js +41 -0
- package/dist/node_modules/next/dist/build/turborepo-access-trace/types.js +8 -0
- package/dist/node_modules/next/dist/build/type-check.js +151 -0
- package/dist/node_modules/next/dist/build/utils.js +1261 -0
- package/dist/node_modules/next/dist/build/validate-app-paths.js +242 -0
- package/dist/node_modules/next/dist/build/webpack/alias/react-dom-server-experimental.js +32 -0
- package/dist/node_modules/next/dist/build/webpack/alias/react-dom-server.js +32 -0
- package/dist/node_modules/next/dist/build/webpack/cache-invalidation.js +91 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/base.js +82 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/index.js +562 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/client.js +49 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/file-resolve.js +21 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/getCssModuleLocalIdent.js +37 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/global.js +65 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/index.js +22 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/modules.js +86 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/loaders/next-font.js +62 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/messages.js +45 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/css/plugins.js +190 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/images/index.js +42 -0
- package/dist/node_modules/next/dist/build/webpack/config/blocks/images/messages.js +16 -0
- package/dist/node_modules/next/dist/build/webpack/config/helpers.js +78 -0
- package/dist/node_modules/next/dist/build/webpack/config/index.js +46 -0
- package/dist/node_modules/next/dist/build/webpack/config/utils.js +13 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/CssSyntaxError.js +32 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/camelcase.js +93 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js +287 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/index.js +36 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-icss-parser.js +105 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-import-parser.js +220 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/plugins/postcss-url-parser.js +307 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/api.js +83 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/runtime/getUrl.js +23 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/css-loader/src/utils.js +459 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/devtool/devtool-style-inject.js +129 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/empty-loader.js +14 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/error-loader.js +36 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/get-module-build-info.js +15 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/codegen.js +156 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/index.js +27 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/interface.js +17 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/loader.js +429 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/minify.js +94 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/lightningcss-loader/src/utils.js +58 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/metadata/discover.js +122 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/metadata/resolve-route-data.js +171 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/metadata/types.js +7 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/modularize-import-loader.js +39 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-app-loader/create-app-route-code.js +65 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-app-loader/index.js +765 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-barrel-loader.js +268 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-client-pages-loader.js +37 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-edge-app-route-loader/index.js +51 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-edge-function-loader.js +52 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-edge-ssr-loader/index.js +93 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-error-browser-binary-loader.js +21 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-action-entry-loader.js +32 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js +45 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-client-module-loader.js +49 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-css-loader.js +56 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-client-wrapper.js +33 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/action-validate.js +27 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/cache-wrapper.js +13 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/index.js +211 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/module-proxy.js +14 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/server-reference.js +13 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-loader/track-dynamic-import.js +13 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-flight-server-reference-proxy-loader.js +29 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js +133 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-font-loader/postcss-next-font.js +169 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-image-loader/blur.js +73 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-image-loader/index.js +80 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-invalid-import-error-loader.js +28 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-metadata-image-loader.js +158 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-metadata-route-loader.js +342 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-middleware-asset-loader.js +46 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-middleware-loader.js +59 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-middleware-wasm-loader.js +46 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-root-params-loader.js +164 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-route-loader/index.js +141 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-style-loader/index.js +220 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoLinkTag.js +61 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/injectStylesIntoStyleTag.js +221 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-style-loader/runtime/isEqualLocals.js +27 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/next-swc-loader.js +241 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Error.js +40 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/Warning.js +35 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js +125 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/utils.js +86 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/index.js +101 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/file-protocol.js +78 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/join-function.js +190 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/postcss.js +92 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/resolve-url-loader/lib/value-processor.js +97 -0
- package/dist/node_modules/next/dist/build/webpack/loaders/utils.js +100 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin-utils.js +79 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/build-manifest-plugin.js +183 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/copy-file-plugin.js +67 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/css-chunking-plugin.js +277 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/css-minimizer-plugin.js +92 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/devtools-ignore-list-plugin.js +78 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/eval-source-map-dev-tool-plugin.js +191 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/flight-client-entry-plugin.js +793 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/flight-manifest-plugin.js +420 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/force-complete-runtime.js +42 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/jsconfig-paths-plugin.js +219 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/memory-with-gc-cache-plugin.js +114 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/middleware-plugin.js +614 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/mini-css-extract-plugin.js +24 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/minify-webpack-plugin/src/index.js +188 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/next-font-manifest-plugin.js +120 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/next-trace-entrypoints-plugin.js +542 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/next-types-plugin/index.js +428 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/next-types-plugin/shared.js +14 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/nextjs-require-cache-hot-reloader.js +57 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/optional-peer-dependency-resolve-plugin.js +45 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/pages-manifest-plugin.js +146 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/profiling-plugin.js +282 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/react-loadable-plugin.js +169 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/rspack-flight-client-entry-plugin.js +97 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/rspack-profiling-plugin.js +62 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/slow-module-detection-plugin.js +190 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/subresource-integrity-plugin.js +62 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/telemetry-plugin.js +188 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/update-telemetry-loader-context-from-swc.js +28 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/telemetry-plugin/use-cache-tracker-utils.js +43 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/getModuleTrace.js +89 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/index.js +43 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parse-dynamic-code-evaluation-error.js +19 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseBabel.js +29 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseCss.js +29 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextAppLoaderError.js +26 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextFontError.js +33 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNextInvalidImportError.js +26 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseNotFoundError.js +166 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/parseScss.js +42 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/simpleWebpackError.js +18 -0
- package/dist/node_modules/next/dist/build/webpack/plugins/wellknown-errors-plugin/webpackModuleError.js +138 -0
- package/dist/node_modules/next/dist/build/webpack/stringify-request.js +15 -0
- package/dist/node_modules/next/dist/build/webpack/utils.js +109 -0
- package/dist/node_modules/next/dist/build/webpack-build/impl.js +381 -0
- package/dist/node_modules/next/dist/build/webpack-build/index.js +179 -0
- package/dist/node_modules/next/dist/build/webpack-config-rules/resolve.js +55 -0
- package/dist/node_modules/next/dist/build/webpack-config.js +2343 -0
- package/dist/node_modules/next/dist/build/worker.js +35 -0
- package/dist/node_modules/next/dist/build/write-build-id.js +19 -0
- package/dist/node_modules/next/dist/cli/next-test.js +169 -0
- package/dist/node_modules/next/dist/client/add-base-path.js +24 -0
- package/dist/node_modules/next/dist/client/app-build-id.js +49 -0
- package/dist/node_modules/next/dist/client/app-call-server.js +34 -0
- package/dist/node_modules/next/dist/client/app-find-source-map-url.js +38 -0
- package/dist/node_modules/next/dist/client/assign-location.js +29 -0
- package/dist/node_modules/next/dist/client/components/app-router-announcer.js +78 -0
- package/dist/node_modules/next/dist/client/components/app-router-headers.js +128 -0
- package/dist/node_modules/next/dist/client/components/app-router-instance.js +319 -0
- package/dist/node_modules/next/dist/client/components/app-router-utils.js +62 -0
- package/dist/node_modules/next/dist/client/components/app-router.js +495 -0
- package/dist/node_modules/next/dist/client/components/builtin/default.js +35 -0
- package/dist/node_modules/next/dist/client/components/builtin/global-error.js +82 -0
- package/dist/node_modules/next/dist/client/components/dev-root-http-access-fallback-boundary.js +52 -0
- package/dist/node_modules/next/dist/client/components/error-boundary.js +134 -0
- package/dist/node_modules/next/dist/client/components/errors/graceful-degrade-boundary.js +86 -0
- package/dist/node_modules/next/dist/client/components/errors/root-error-boundary.js +41 -0
- package/dist/node_modules/next/dist/client/components/forbidden.js +48 -0
- package/dist/node_modules/next/dist/client/components/handle-isr-error.js +31 -0
- package/dist/node_modules/next/dist/client/components/hooks-server-context.js +42 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/error-boundary.js +125 -0
- package/dist/node_modules/next/dist/client/components/http-access-fallback/http-access-fallback.js +72 -0
- package/dist/node_modules/next/dist/client/components/is-next-router-error.js +23 -0
- package/dist/node_modules/next/dist/client/components/links.js +292 -0
- package/dist/node_modules/next/dist/client/components/match-segments.js +32 -0
- package/dist/node_modules/next/dist/client/components/nav-failure-handler.js +61 -0
- package/dist/node_modules/next/dist/client/components/navigation-devtools.js +126 -0
- package/dist/node_modules/next/dist/client/components/navigation-untracked.js +65 -0
- package/dist/node_modules/next/dist/client/components/navigation.js +198 -0
- package/dist/node_modules/next/dist/client/components/navigation.react-server.js +72 -0
- package/dist/node_modules/next/dist/client/components/not-found.js +42 -0
- package/dist/node_modules/next/dist/client/components/readonly-url-search-params.js +41 -0
- package/dist/node_modules/next/dist/client/components/redirect-boundary.js +107 -0
- package/dist/node_modules/next/dist/client/components/redirect-error.js +52 -0
- package/dist/node_modules/next/dist/client/components/redirect-status-code.js +24 -0
- package/dist/node_modules/next/dist/client/components/redirect.js +91 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/compute-changed-path.js +128 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/create-href-from-url.js +21 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/create-initial-router-state.js +59 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/create-router-cache-key.js +32 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/fetch-server-response.js +340 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/handle-mutable.js +66 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/is-navigating-to-new-root-layout.js +51 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/ppr-navigations.js +1129 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/find-head-in-cache.js +64 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/has-interception-route-in-current-tree.js +38 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/hmr-refresh-reducer.js +23 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/navigate-reducer.js +168 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/refresh-reducer.js +68 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/restore-reducer.js +78 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/server-action-reducer.js +292 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/reducers/server-patch-reducer.js +56 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/router-reducer-types.js +61 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/router-reducer.js +66 -0
- package/dist/node_modules/next/dist/client/components/router-reducer/set-cache-busting-search-param.js +60 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/cache-key.js +28 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/cache-map.js +305 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/cache.js +1432 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/lru.js +145 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/navigation.js +459 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/prefetch.js +31 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/scheduler.js +1150 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/types.js +69 -0
- package/dist/node_modules/next/dist/client/components/segment-cache/vary-path.js +216 -0
- package/dist/node_modules/next/dist/client/components/static-generation-bailout.js +42 -0
- package/dist/node_modules/next/dist/client/components/unauthorized.js +49 -0
- package/dist/node_modules/next/dist/client/components/unrecognized-action-error.js +39 -0
- package/dist/node_modules/next/dist/client/components/unresolved-thenable.js +23 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.browser.js +28 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.js +25 -0
- package/dist/node_modules/next/dist/client/components/unstable-rethrow.server.js +32 -0
- package/dist/node_modules/next/dist/client/components/use-action-queue.js +102 -0
- package/dist/node_modules/next/dist/client/dev/debug-channel.js +72 -0
- package/dist/node_modules/next/dist/client/flight-data-helpers.js +219 -0
- package/dist/node_modules/next/dist/client/has-base-path.js +23 -0
- package/dist/node_modules/next/dist/client/lib/console.js +177 -0
- package/dist/node_modules/next/dist/client/normalize-trailing-slash.js +36 -0
- package/dist/node_modules/next/dist/client/remove-base-path.js +32 -0
- package/dist/node_modules/next/dist/client/route-params.js +230 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/index.js +339 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/cookies/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/ponyfill/index.js +46 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/ponyfill/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/abort-controller.js.text.js +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/console.js.text.js +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/events.js.text.js +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/index.js +5 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/load.js +18713 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/stream.js +44 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/timers.js.text.js +1 -0
- package/dist/node_modules/next/dist/compiled/@edge-runtime/primitives/url.js.text.js +1 -0
- package/dist/node_modules/next/dist/compiled/@hapi/accept/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/@hapi/accept/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/@mswjs/interceptors/ClientRequest/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/@napi-rs/triples/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/@napi-rs/triples/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/@opentelemetry/api/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/@opentelemetry/api/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/async-retry/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/async-retry/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/async-sema/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/async-sema/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/babel/code-frame.js +1 -0
- package/dist/node_modules/next/dist/compiled/babel/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/babel-code-frame/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/babel-code-frame/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/busboy/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/busboy/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/bytes/index.js +8 -0
- package/dist/node_modules/next/dist/compiled/bytes/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/ci-info/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/ci-info/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/commander/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/commander/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/comment-json/index.js +7 -0
- package/dist/node_modules/next/dist/compiled/comment-json/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/compression/index.js +58 -0
- package/dist/node_modules/next/dist/compiled/compression/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/conf/index.js +15 -0
- package/dist/node_modules/next/dist/compiled/conf/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/content-disposition/index.js +6 -0
- package/dist/node_modules/next/dist/compiled/content-disposition/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/cookie/index.js +7 -0
- package/dist/node_modules/next/dist/compiled/cookie/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/cross-spawn/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/cross-spawn/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/debug/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/debug/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/edge-runtime/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/edge-runtime/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/find-up/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/find-up/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/fresh/index.js +8 -0
- package/dist/node_modules/next/dist/compiled/fresh/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/http-proxy/index.js +34 -0
- package/dist/node_modules/next/dist/compiled/http-proxy/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/image-detector/detector.js +1 -0
- package/dist/node_modules/next/dist/compiled/image-size/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/image-size/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/ipaddr.js/ipaddr.js +1 -0
- package/dist/node_modules/next/dist/compiled/ipaddr.js/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/is-animated/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/is-animated/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/is-docker/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/is-docker/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/is-wsl/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/is-wsl/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/jsonwebtoken/index.js +11 -0
- package/dist/node_modules/next/dist/compiled/jsonwebtoken/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/nanoid/index.cjs +1 -0
- package/dist/node_modules/next/dist/compiled/nanoid/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo-experimental.runtime.prod.js +24 -0
- package/dist/node_modules/next/dist/compiled/next-server/app-page-turbo.runtime.prod.js +24 -0
- package/dist/node_modules/next/dist/compiled/next-server/app-route-turbo.runtime.prod.js +6 -0
- package/dist/node_modules/next/dist/compiled/next-server/pages-turbo.runtime.prod.js +20 -0
- package/dist/node_modules/next/dist/compiled/p-limit/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/p-limit/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/p-queue/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/p-queue/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/path-browserify/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/path-browserify/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/path-to-regexp/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/path-to-regexp/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/picomatch/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/picomatch/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.development.js +133 -0
- package/dist/node_modules/next/dist/compiled/react-is/cjs/react-is.production.js +130 -0
- package/dist/node_modules/next/dist/compiled/react-is/index.js +7 -0
- package/dist/node_modules/next/dist/compiled/react-is/package.json +26 -0
- package/dist/node_modules/next/dist/compiled/regenerator-runtime/package.json +19 -0
- package/dist/node_modules/next/dist/compiled/regenerator-runtime/runtime.js +729 -0
- package/dist/node_modules/next/dist/compiled/semver/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/semver/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/send/index.js +70 -0
- package/dist/node_modules/next/dist/compiled/send/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/source-map/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/source-map/source-map.js +1 -0
- package/dist/node_modules/next/dist/compiled/stacktrace-parser/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js +1 -0
- package/dist/node_modules/next/dist/compiled/string-hash/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/string-hash/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/strip-ansi/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/strip-ansi/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/superstruct/index.cjs +1 -0
- package/dist/node_modules/next/dist/compiled/superstruct/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/tar/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/tar/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/text-table/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/text-table/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/watchpack/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/watchpack/watchpack.js +1 -0
- package/dist/node_modules/next/dist/compiled/ws/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/ws/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/zod/index.cjs +1 -0
- package/dist/node_modules/next/dist/compiled/zod/package.json +1 -0
- package/dist/node_modules/next/dist/compiled/zod-validation-error/index.js +1 -0
- package/dist/node_modules/next/dist/compiled/zod-validation-error/package.json +1 -0
- package/dist/node_modules/next/dist/experimental/testmode/context.js +57 -0
- package/dist/node_modules/next/dist/experimental/testmode/fetch.js +142 -0
- package/dist/node_modules/next/dist/experimental/testmode/httpget.js +26 -0
- package/dist/node_modules/next/dist/experimental/testmode/server-edge.js +32 -0
- package/dist/node_modules/next/dist/experimental/testmode/server.js +62 -0
- package/dist/node_modules/next/dist/export/helpers/create-incremental-cache.js +61 -0
- package/dist/node_modules/next/dist/lib/batcher.js +65 -0
- package/dist/node_modules/next/dist/lib/build-custom-route.js +46 -0
- package/dist/node_modules/next/dist/lib/bundler.js +97 -0
- package/dist/node_modules/next/dist/lib/client-and-server-references.js +54 -0
- package/dist/node_modules/next/dist/lib/coalesced-function.js +39 -0
- package/dist/node_modules/next/dist/lib/compile-error.js +14 -0
- package/dist/node_modules/next/dist/lib/constants.js +405 -0
- package/dist/node_modules/next/dist/lib/create-client-router-filter.js +67 -0
- package/dist/node_modules/next/dist/lib/default-transpiled-packages.json +1 -0
- package/dist/node_modules/next/dist/lib/detached-promise.js +32 -0
- package/dist/node_modules/next/dist/lib/detect-typo.js +51 -0
- package/dist/node_modules/next/dist/lib/download-swc.js +183 -0
- package/dist/node_modules/next/dist/lib/error-telemetry-utils.js +42 -0
- package/dist/node_modules/next/dist/lib/fallback.js +100 -0
- package/dist/node_modules/next/dist/lib/fatal-error.js +14 -0
- package/dist/node_modules/next/dist/lib/file-exists.js +53 -0
- package/dist/node_modules/next/dist/lib/find-config.js +102 -0
- package/dist/node_modules/next/dist/lib/find-pages-dir.js +65 -0
- package/dist/node_modules/next/dist/lib/find-root.js +122 -0
- package/dist/node_modules/next/dist/lib/format-cli-help-output.js +84 -0
- package/dist/node_modules/next/dist/lib/format-dynamic-import-path.js +24 -0
- package/dist/node_modules/next/dist/lib/format-server-error.js +74 -0
- package/dist/node_modules/next/dist/lib/framework/boundary-components.js +62 -0
- package/dist/node_modules/next/dist/lib/framework/boundary-constants.js +36 -0
- package/dist/node_modules/next/dist/lib/fs/rename.js +87 -0
- package/dist/node_modules/next/dist/lib/fs/write-atomic.js +28 -0
- package/dist/node_modules/next/dist/lib/generate-interception-routes-rewrites.js +69 -0
- package/dist/node_modules/next/dist/lib/get-files-in-dir.js +33 -0
- package/dist/node_modules/next/dist/lib/get-network-host.js +44 -0
- package/dist/node_modules/next/dist/lib/get-package-version.js +118 -0
- package/dist/node_modules/next/dist/lib/get-project-dir.js +51 -0
- package/dist/node_modules/next/dist/lib/has-necessary-dependencies.js +49 -0
- package/dist/node_modules/next/dist/lib/helpers/get-cache-directory.js +66 -0
- package/dist/node_modules/next/dist/lib/helpers/get-npx-command.js +29 -0
- package/dist/node_modules/next/dist/lib/helpers/get-online.js +50 -0
- package/dist/node_modules/next/dist/lib/helpers/get-pkg-manager.js +63 -0
- package/dist/node_modules/next/dist/lib/helpers/get-registry.js +45 -0
- package/dist/node_modules/next/dist/lib/helpers/get-reserved-port.js +116 -0
- package/dist/node_modules/next/dist/lib/helpers/install.js +83 -0
- package/dist/node_modules/next/dist/lib/import-next-warning.js +50 -0
- package/dist/node_modules/next/dist/lib/inline-static-env.js +112 -0
- package/dist/node_modules/next/dist/lib/install-dependencies.js +40 -0
- package/dist/node_modules/next/dist/lib/interop-default.js +15 -0
- package/dist/node_modules/next/dist/lib/is-api-route.js +15 -0
- package/dist/node_modules/next/dist/lib/is-app-page-route.js +15 -0
- package/dist/node_modules/next/dist/lib/is-app-route-route.js +15 -0
- package/dist/node_modules/next/dist/lib/is-edge-runtime.js +16 -0
- package/dist/node_modules/next/dist/lib/is-error.js +78 -0
- package/dist/node_modules/next/dist/lib/is-internal-component.js +36 -0
- package/dist/node_modules/next/dist/lib/is-serializable-props.js +106 -0
- package/dist/node_modules/next/dist/lib/known-edge-safe-packages.json +1 -0
- package/dist/node_modules/next/dist/lib/load-custom-routes.js +550 -0
- package/dist/node_modules/next/dist/lib/memory/gc-observer.js +53 -0
- package/dist/node_modules/next/dist/lib/memory/shutdown.js +29 -0
- package/dist/node_modules/next/dist/lib/memory/startup.js +47 -0
- package/dist/node_modules/next/dist/lib/memory/trace.js +109 -0
- package/dist/node_modules/next/dist/lib/metadata/constants.js +40 -0
- package/dist/node_modules/next/dist/lib/metadata/default-metadata.js +82 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/alternate.js +55 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/basic.js +307 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/icon-mark.js +22 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/icons.js +64 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/meta.js +123 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/opengraph.js +478 -0
- package/dist/node_modules/next/dist/lib/metadata/generate/utils.js +52 -0
- package/dist/node_modules/next/dist/lib/metadata/get-metadata-route.js +114 -0
- package/dist/node_modules/next/dist/lib/metadata/is-metadata-route.js +221 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata-context.js +18 -0
- package/dist/node_modules/next/dist/lib/metadata/metadata.js +243 -0
- package/dist/node_modules/next/dist/lib/metadata/resolve-metadata.js +859 -0
- package/dist/node_modules/next/dist/lib/metadata/resolvers/resolve-basics.js +232 -0
- package/dist/node_modules/next/dist/lib/metadata/resolvers/resolve-icons.js +56 -0
- package/dist/node_modules/next/dist/lib/metadata/resolvers/resolve-opengraph.js +199 -0
- package/dist/node_modules/next/dist/lib/metadata/resolvers/resolve-title.js +40 -0
- package/dist/node_modules/next/dist/lib/metadata/resolvers/resolve-url.js +135 -0
- package/dist/node_modules/next/dist/lib/metadata/types/alternative-urls-types.js +7 -0
- package/dist/node_modules/next/dist/lib/metadata/types/extra-types.js +9 -0
- package/dist/node_modules/next/dist/lib/metadata/types/icons.js +6 -0
- package/dist/node_modules/next/dist/lib/metadata/types/manifest-types.js +6 -0
- package/dist/node_modules/next/dist/lib/metadata/types/metadata-interface.js +18 -0
- package/dist/node_modules/next/dist/lib/metadata/types/metadata-types.js +10 -0
- package/dist/node_modules/next/dist/lib/metadata/types/opengraph-types.js +6 -0
- package/dist/node_modules/next/dist/lib/metadata/types/resolvers.js +6 -0
- package/dist/node_modules/next/dist/lib/metadata/types/twitter-types.js +7 -0
- package/dist/node_modules/next/dist/lib/mime-type.js +20 -0
- package/dist/node_modules/next/dist/lib/mkcert.js +204 -0
- package/dist/node_modules/next/dist/lib/multi-file-writer.js +75 -0
- package/dist/node_modules/next/dist/lib/needs-experimental-react.js +16 -0
- package/dist/node_modules/next/dist/lib/non-nullable.js +15 -0
- package/dist/node_modules/next/dist/lib/normalize-path.js +21 -0
- package/dist/node_modules/next/dist/lib/oxford-comma-list.js +15 -0
- package/dist/node_modules/next/dist/lib/page-types.js +18 -0
- package/dist/node_modules/next/dist/lib/patch-incorrect-lockfile.js +185 -0
- package/dist/node_modules/next/dist/lib/pick.js +19 -0
- package/dist/node_modules/next/dist/lib/picocolors.js +177 -0
- package/dist/node_modules/next/dist/lib/pretty-bytes.js +74 -0
- package/dist/node_modules/next/dist/lib/realpath.js +20 -0
- package/dist/node_modules/next/dist/lib/recursive-copy.js +76 -0
- package/dist/node_modules/next/dist/lib/recursive-delete.js +137 -0
- package/dist/node_modules/next/dist/lib/recursive-readdir.js +124 -0
- package/dist/node_modules/next/dist/lib/redirect-status.js +46 -0
- package/dist/node_modules/next/dist/lib/require-instrumentation-client.js +26 -0
- package/dist/node_modules/next/dist/lib/resolve-build-paths.js +149 -0
- package/dist/node_modules/next/dist/lib/resolve-from.js +65 -0
- package/dist/node_modules/next/dist/lib/route-pattern-normalizer.js +107 -0
- package/dist/node_modules/next/dist/lib/scheduler.js +64 -0
- package/dist/node_modules/next/dist/lib/semver-noop.js +18 -0
- package/dist/node_modules/next/dist/lib/server-external-packages.jsonc +103 -0
- package/dist/node_modules/next/dist/lib/setup-exception-listeners.js +11 -0
- package/dist/node_modules/next/dist/lib/static-env.js +92 -0
- package/dist/node_modules/next/dist/lib/try-to-parse-path.js +68 -0
- package/dist/node_modules/next/dist/lib/turbopack-warning.js +186 -0
- package/dist/node_modules/next/dist/lib/typescript/diagnosticFormatter.js +240 -0
- package/dist/node_modules/next/dist/lib/typescript/getTypeScriptConfiguration.js +73 -0
- package/dist/node_modules/next/dist/lib/typescript/getTypeScriptIntent.js +52 -0
- package/dist/node_modules/next/dist/lib/typescript/missingDependencyError.js +27 -0
- package/dist/node_modules/next/dist/lib/typescript/runTypeCheck.js +151 -0
- package/dist/node_modules/next/dist/lib/typescript/type-paths.js +56 -0
- package/dist/node_modules/next/dist/lib/typescript/writeAppTypeDeclarations.js +65 -0
- package/dist/node_modules/next/dist/lib/typescript/writeConfigurationDefaults.js +394 -0
- package/dist/node_modules/next/dist/lib/url.js +75 -0
- package/dist/node_modules/next/dist/lib/verify-partytown-setup.js +115 -0
- package/dist/node_modules/next/dist/lib/verify-root-layout.js +165 -0
- package/dist/node_modules/next/dist/lib/verify-typescript-setup.js +178 -0
- package/dist/node_modules/next/dist/lib/wait.js +19 -0
- package/dist/node_modules/next/dist/lib/with-promise-cache.js +24 -0
- package/dist/node_modules/next/dist/lib/worker.js +223 -0
- package/dist/node_modules/next/dist/next-devtools/server/shared.js +61 -0
- package/dist/node_modules/next/dist/server/ReactDOMServerPages.js +16 -0
- package/dist/node_modules/next/dist/server/accept-header.js +132 -0
- package/dist/node_modules/next/dist/server/after/after-context.js +140 -0
- package/dist/node_modules/next/dist/server/after/after.js +26 -0
- package/dist/node_modules/next/dist/server/after/awaiter.js +74 -0
- package/dist/node_modules/next/dist/server/after/builtin-request-context.js +38 -0
- package/dist/node_modules/next/dist/server/after/index.js +21 -0
- package/dist/node_modules/next/dist/server/after/run-with-after.js +35 -0
- package/dist/node_modules/next/dist/server/api-utils/get-cookie-parser.js +22 -0
- package/dist/node_modules/next/dist/server/api-utils/index.js +201 -0
- package/dist/node_modules/next/dist/server/api-utils/node/api-resolver.js +395 -0
- package/dist/node_modules/next/dist/server/api-utils/node/parse-body.js +79 -0
- package/dist/node_modules/next/dist/server/api-utils/node/try-get-preview-data.js +86 -0
- package/dist/node_modules/next/dist/server/api-utils/web.js +17 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage-instance.js +14 -0
- package/dist/node_modules/next/dist/server/app-render/action-async-storage.external.js +13 -0
- package/dist/node_modules/next/dist/server/app-render/action-handler.js +952 -0
- package/dist/node_modules/next/dist/server/app-render/after-task-async-storage-instance.js +14 -0
- package/dist/node_modules/next/dist/server/app-render/after-task-async-storage.external.js +13 -0
- package/dist/node_modules/next/dist/server/app-render/app-render-prerender-utils.js +249 -0
- package/dist/node_modules/next/dist/server/app-render/app-render-render-utils.js +112 -0
- package/dist/node_modules/next/dist/server/app-render/app-render-scheduling.js +188 -0
- package/dist/node_modules/next/dist/server/app-render/app-render.js +3526 -0
- package/dist/node_modules/next/dist/server/app-render/async-local-storage.js +76 -0
- package/dist/node_modules/next/dist/server/app-render/cache-signal.js +181 -0
- package/dist/node_modules/next/dist/server/app-render/collect-segment-data.js +276 -0
- package/dist/node_modules/next/dist/server/app-render/console-async-storage-instance.js +14 -0
- package/dist/node_modules/next/dist/server/app-render/console-async-storage.external.js +13 -0
- package/dist/node_modules/next/dist/server/app-render/create-component-styles-and-scripts.js +33 -0
- package/dist/node_modules/next/dist/server/app-render/create-component-tree.js +754 -0
- package/dist/node_modules/next/dist/server/app-render/create-error-handler.js +187 -0
- package/dist/node_modules/next/dist/server/app-render/create-flight-router-state-from-loader-tree.js +76 -0
- package/dist/node_modules/next/dist/server/app-render/csrf-protection.js +75 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-access-async-storage-instance.js +14 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-access-async-storage.external.js +13 -0
- package/dist/node_modules/next/dist/server/app-render/dynamic-rendering.js +828 -0
- package/dist/node_modules/next/dist/server/app-render/encryption-utils-server.js +114 -0
- package/dist/node_modules/next/dist/server/app-render/encryption-utils.js +93 -0
- package/dist/node_modules/next/dist/server/app-render/encryption.js +238 -0
- package/dist/node_modules/next/dist/server/app-render/entry-base.js +237 -0
- package/dist/node_modules/next/dist/server/app-render/flight-render-result.js +28 -0
- package/dist/node_modules/next/dist/server/app-render/get-asset-query-string.js +29 -0
- package/dist/node_modules/next/dist/server/app-render/get-css-inlined-link-tags.js +49 -0
- package/dist/node_modules/next/dist/server/app-render/get-layer-assets.js +65 -0
- package/dist/node_modules/next/dist/server/app-render/get-preloadable-fonts.js +39 -0
- package/dist/node_modules/next/dist/server/app-render/get-script-nonce-from-header.js +44 -0
- package/dist/node_modules/next/dist/server/app-render/get-short-dynamic-param-type.js +25 -0
- package/dist/node_modules/next/dist/server/app-render/has-loading-component-in-tree.js +19 -0
- package/dist/node_modules/next/dist/server/app-render/interop-default.js +17 -0
- package/dist/node_modules/next/dist/server/app-render/make-get-server-inserted-html.js +92 -0
- package/dist/node_modules/next/dist/server/app-render/manifests-singleton.js +257 -0
- package/dist/node_modules/next/dist/server/app-render/metadata-insertion/create-server-inserted-metadata.js +28 -0
- package/dist/node_modules/next/dist/server/app-render/module-loading/track-dynamic-import.js +57 -0
- package/dist/node_modules/next/dist/server/app-render/module-loading/track-module-loading.external.js +32 -0
- package/dist/node_modules/next/dist/server/app-render/module-loading/track-module-loading.instance.js +66 -0
- package/dist/node_modules/next/dist/server/app-render/parse-and-validate-flight-router-state.js +49 -0
- package/dist/node_modules/next/dist/server/app-render/postponed-state.js +156 -0
- package/dist/node_modules/next/dist/server/app-render/prospective-render-utils.js +73 -0
- package/dist/node_modules/next/dist/server/app-render/react-large-shell-error.js +17 -0
- package/dist/node_modules/next/dist/server/app-render/react-server.node.js +39 -0
- package/dist/node_modules/next/dist/server/app-render/render-css-resource.js +52 -0
- package/dist/node_modules/next/dist/server/app-render/required-scripts.js +76 -0
- package/dist/node_modules/next/dist/server/app-render/rsc/postpone.js +18 -0
- package/dist/node_modules/next/dist/server/app-render/rsc/preloads.js +74 -0
- package/dist/node_modules/next/dist/server/app-render/rsc/taint.js +79 -0
- package/dist/node_modules/next/dist/server/app-render/segment-explorer-path.js +103 -0
- package/dist/node_modules/next/dist/server/app-render/server-inserted-html.js +77 -0
- package/dist/node_modules/next/dist/server/app-render/staged-rendering.js +273 -0
- package/dist/node_modules/next/dist/server/app-render/staged-validation.js +32 -0
- package/dist/node_modules/next/dist/server/app-render/strip-flight-headers.js +18 -0
- package/dist/node_modules/next/dist/server/app-render/types.js +59 -0
- package/dist/node_modules/next/dist/server/app-render/use-flight-response.js +212 -0
- package/dist/node_modules/next/dist/server/app-render/walk-tree-with-flight-router-state.js +185 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage-instance.js +14 -0
- package/dist/node_modules/next/dist/server/app-render/work-async-storage.external.js +13 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage-instance.js +14 -0
- package/dist/node_modules/next/dist/server/app-render/work-unit-async-storage.external.js +252 -0
- package/dist/node_modules/next/dist/server/async-storage/draft-mode-provider.js +62 -0
- package/dist/node_modules/next/dist/server/async-storage/request-store.js +144 -0
- package/dist/node_modules/next/dist/server/async-storage/with-store.js +6 -0
- package/dist/node_modules/next/dist/server/async-storage/work-store.js +94 -0
- package/dist/node_modules/next/dist/server/base-http/helpers.js +36 -0
- package/dist/node_modules/next/dist/server/base-http/index.js +54 -0
- package/dist/node_modules/next/dist/server/base-http/node.js +147 -0
- package/dist/node_modules/next/dist/server/base-http/web.js +124 -0
- package/dist/node_modules/next/dist/server/base-server.js +1862 -0
- package/dist/node_modules/next/dist/server/body-streams.js +114 -0
- package/dist/node_modules/next/dist/server/cache-dir.js +26 -0
- package/dist/node_modules/next/dist/server/capsize-font-metrics.json +181516 -0
- package/dist/node_modules/next/dist/server/ci-info.js +41 -0
- package/dist/node_modules/next/dist/server/client-component-renderer-logger.js +70 -0
- package/dist/node_modules/next/dist/server/config-schema.js +632 -0
- package/dist/node_modules/next/dist/server/config-shared.js +319 -0
- package/dist/node_modules/next/dist/server/config-utils.js +185 -0
- package/dist/node_modules/next/dist/server/config.js +1474 -0
- package/dist/node_modules/next/dist/server/create-deduped-by-callsite-server-error-logger.js +96 -0
- package/dist/node_modules/next/dist/server/crypto-utils.js +70 -0
- package/dist/node_modules/next/dist/server/dev/browser-logs/file-logger.js +183 -0
- package/dist/node_modules/next/dist/server/dev/browser-logs/receive-logs.js +512 -0
- package/dist/node_modules/next/dist/server/dev/browser-logs/source-map.js +225 -0
- package/dist/node_modules/next/dist/server/dev/debug-channel.js +87 -0
- package/dist/node_modules/next/dist/server/dev/dev-indicator-server-state.js +15 -0
- package/dist/node_modules/next/dist/server/dev/get-source-map-from-file.js +100 -0
- package/dist/node_modules/next/dist/server/dev/hot-middleware.js +274 -0
- package/dist/node_modules/next/dist/server/dev/hot-reloader-rspack.js +171 -0
- package/dist/node_modules/next/dist/server/dev/hot-reloader-shared-utils.js +56 -0
- package/dist/node_modules/next/dist/server/dev/hot-reloader-turbopack.js +1247 -0
- package/dist/node_modules/next/dist/server/dev/hot-reloader-types.js +58 -0
- package/dist/node_modules/next/dist/server/dev/hot-reloader-webpack.js +1382 -0
- package/dist/node_modules/next/dist/server/dev/log-requests.js +141 -0
- package/dist/node_modules/next/dist/server/dev/messages.js +74 -0
- package/dist/node_modules/next/dist/server/dev/middleware-turbopack.js +393 -0
- package/dist/node_modules/next/dist/server/dev/middleware-webpack.js +473 -0
- package/dist/node_modules/next/dist/server/dev/node-stack-frames.js +72 -0
- package/dist/node_modules/next/dist/server/dev/on-demand-entry-handler.js +704 -0
- package/dist/node_modules/next/dist/server/dev/parse-version-info.js +108 -0
- package/dist/node_modules/next/dist/server/dev/require-cache.js +49 -0
- package/dist/node_modules/next/dist/server/dev/serialized-errors.js +67 -0
- package/dist/node_modules/next/dist/server/dev/static-paths-worker.js +103 -0
- package/dist/node_modules/next/dist/server/dev/turbopack-utils.js +696 -0
- package/dist/node_modules/next/dist/server/dynamic-rendering-utils.js +86 -0
- package/dist/node_modules/next/dist/server/font-utils.js +43 -0
- package/dist/node_modules/next/dist/server/get-app-route-from-entrypoint.js +30 -0
- package/dist/node_modules/next/dist/server/get-page-files.js +23 -0
- package/dist/node_modules/next/dist/server/get-route-from-entrypoint.js +35 -0
- package/dist/node_modules/next/dist/server/htmlescape.js +37 -0
- package/dist/node_modules/next/dist/server/image-optimizer.js +1090 -0
- package/dist/node_modules/next/dist/server/instrumentation/types.js +6 -0
- package/dist/node_modules/next/dist/server/instrumentation/utils.js +21 -0
- package/dist/node_modules/next/dist/server/internal-utils.js +39 -0
- package/dist/node_modules/next/dist/server/is-private-ip.js +36 -0
- package/dist/node_modules/next/dist/server/lib/app-dir-module.js +59 -0
- package/dist/node_modules/next/dist/server/lib/app-info-log.js +154 -0
- package/dist/node_modules/next/dist/server/lib/async-callback-set.js +29 -0
- package/dist/node_modules/next/dist/server/lib/cache-control.js +22 -0
- package/dist/node_modules/next/dist/server/lib/cache-handlers/default.external.js +18 -0
- package/dist/node_modules/next/dist/server/lib/cache-handlers/default.js +160 -0
- package/dist/node_modules/next/dist/server/lib/cache-handlers/types.js +8 -0
- package/dist/node_modules/next/dist/server/lib/chrome-devtools-workspace.js +116 -0
- package/dist/node_modules/next/dist/server/lib/clone-response.js +77 -0
- package/dist/node_modules/next/dist/server/lib/cpu-profile.js +28 -0
- package/dist/node_modules/next/dist/server/lib/decode-query-path-parameter.js +26 -0
- package/dist/node_modules/next/dist/server/lib/dedupe-fetch.js +163 -0
- package/dist/node_modules/next/dist/server/lib/dev-bundler-service.js +95 -0
- package/dist/node_modules/next/dist/server/lib/etag.js +56 -0
- package/dist/node_modules/next/dist/server/lib/experimental/create-env-definitions.js +48 -0
- package/dist/node_modules/next/dist/server/lib/experimental/ppr.js +47 -0
- package/dist/node_modules/next/dist/server/lib/find-page-file.js +127 -0
- package/dist/node_modules/next/dist/server/lib/fix-mojibake.js +25 -0
- package/dist/node_modules/next/dist/server/lib/format-hostname.js +16 -0
- package/dist/node_modules/next/dist/server/lib/i18n-provider.js +129 -0
- package/dist/node_modules/next/dist/server/lib/implicit-tags.js +77 -0
- package/dist/node_modules/next/dist/server/lib/incremental-cache/file-system-cache.js +333 -0
- package/dist/node_modules/next/dist/server/lib/incremental-cache/index.js +479 -0
- package/dist/node_modules/next/dist/server/lib/incremental-cache/memory-cache.external.js +40 -0
- package/dist/node_modules/next/dist/server/lib/incremental-cache/shared-cache-controls.external.js +73 -0
- package/dist/node_modules/next/dist/server/lib/incremental-cache/tags-manifest.external.js +55 -0
- package/dist/node_modules/next/dist/server/lib/is-ipv6.js +41 -0
- package/dist/node_modules/next/dist/server/lib/lazy-result.js +46 -0
- package/dist/node_modules/next/dist/server/lib/lru-cache.js +183 -0
- package/dist/node_modules/next/dist/server/lib/match-next-data-pathname.js +18 -0
- package/dist/node_modules/next/dist/server/lib/mock-request.js +416 -0
- package/dist/node_modules/next/dist/server/lib/module-loader/module-loader.js +8 -0
- package/dist/node_modules/next/dist/server/lib/module-loader/node-module-loader.js +25 -0
- package/dist/node_modules/next/dist/server/lib/module-loader/route-module-loader.js +26 -0
- package/dist/node_modules/next/dist/server/lib/node-fs-methods.js +28 -0
- package/dist/node_modules/next/dist/server/lib/parse-stack.js +46 -0
- package/dist/node_modules/next/dist/server/lib/patch-fetch.js +945 -0
- package/dist/node_modules/next/dist/server/lib/patch-set-header.js +38 -0
- package/dist/node_modules/next/dist/server/lib/render-server.js +152 -0
- package/dist/node_modules/next/dist/server/lib/router-server.js +672 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/block-cross-site.js +76 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/build-data-route.js +48 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/build-prefetch-segment-data-route.js +50 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/cache-life-type-utils.js +211 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/decode-path-params.js +42 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/filesystem.js +590 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/instrumentation-globals.external.js +89 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/instrumentation-node-extensions.js +96 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/is-postpone.js +16 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/proxy-request.js +118 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/resolve-routes.js +608 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/route-types-utils.js +286 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/router-server-context.js +26 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/typegen.js +613 -0
- package/dist/node_modules/next/dist/server/lib/router-utils/types.js +6 -0
- package/dist/node_modules/next/dist/server/lib/server-action-request-meta.js +53 -0
- package/dist/node_modules/next/dist/server/lib/server-ipc/utils.js +80 -0
- package/dist/node_modules/next/dist/server/lib/source-maps.js +196 -0
- package/dist/node_modules/next/dist/server/lib/start-server.js +460 -0
- package/dist/node_modules/next/dist/server/lib/streaming-metadata.js +38 -0
- package/dist/node_modules/next/dist/server/lib/to-route.js +37 -0
- package/dist/node_modules/next/dist/server/lib/trace/constants.js +203 -0
- package/dist/node_modules/next/dist/server/lib/trace/tracer.js +270 -0
- package/dist/node_modules/next/dist/server/lib/trace/utils.js +16 -0
- package/dist/node_modules/next/dist/server/lib/types.js +6 -0
- package/dist/node_modules/next/dist/server/lib/utils.js +249 -0
- package/dist/node_modules/next/dist/server/lib/worker-utils.js +36 -0
- package/dist/node_modules/next/dist/server/load-components.js +177 -0
- package/dist/node_modules/next/dist/server/load-default-error-components.js +41 -0
- package/dist/node_modules/next/dist/server/load-manifest.external.js +97 -0
- package/dist/node_modules/next/dist/server/match-bundle.js +25 -0
- package/dist/node_modules/next/dist/server/mcp/get-mcp-middleware.js +49 -0
- package/dist/node_modules/next/dist/server/mcp/get-or-create-mcp-server.js +41 -0
- package/dist/node_modules/next/dist/server/mcp/mcp-telemetry-tracker.js +82 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-errors.js +107 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-logs.js +61 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-page-metadata.js +180 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-project-metadata.js +55 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-routes.js +171 -0
- package/dist/node_modules/next/dist/server/mcp/tools/get-server-action-by-id.js +113 -0
- package/dist/node_modules/next/dist/server/mcp/tools/next-instance-error-state.js +31 -0
- package/dist/node_modules/next/dist/server/mcp/tools/utils/browser-communication.js +90 -0
- package/dist/node_modules/next/dist/server/mcp/tools/utils/format-errors.js +147 -0
- package/dist/node_modules/next/dist/server/next-server.js +1459 -0
- package/dist/node_modules/next/dist/server/next-typescript.js +13 -0
- package/dist/node_modules/next/dist/server/next.js +452 -0
- package/dist/node_modules/next/dist/server/node-environment-baseline.js +25 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/console-dim.external.js +246 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/console-exit.js +49 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/console-file.js +56 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/date.js +52 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/error-inspect.js +8 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/fast-set-immediate.external.js +570 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/global-behaviors.js +33 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/node-crypto.js +103 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/random.js +28 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/unhandled-rejection.js +489 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/utils.js +186 -0
- package/dist/node_modules/next/dist/server/node-environment-extensions/web-crypto.js +45 -0
- package/dist/node_modules/next/dist/server/node-environment.js +19 -0
- package/dist/node_modules/next/dist/server/node-polyfill-crypto.js +21 -0
- package/dist/node_modules/next/dist/server/normalizers/absolute-filename-normalizer.js +33 -0
- package/dist/node_modules/next/dist/server/normalizers/built/app/app-bundle-path-normalizer.js +54 -0
- package/dist/node_modules/next/dist/server/normalizers/built/app/app-filename-normalizer.js +22 -0
- package/dist/node_modules/next/dist/server/normalizers/built/app/app-page-normalizer.js +40 -0
- package/dist/node_modules/next/dist/server/normalizers/built/app/app-pathname-normalizer.js +55 -0
- package/dist/node_modules/next/dist/server/normalizers/built/app/index.js +42 -0
- package/dist/node_modules/next/dist/server/normalizers/built/pages/index.js +44 -0
- package/dist/node_modules/next/dist/server/normalizers/built/pages/pages-bundle-path-normalizer.js +55 -0
- package/dist/node_modules/next/dist/server/normalizers/built/pages/pages-filename-normalizer.js +22 -0
- package/dist/node_modules/next/dist/server/normalizers/built/pages/pages-page-normalizer.js +19 -0
- package/dist/node_modules/next/dist/server/normalizers/built/pages/pages-pathname-normalizer.js +19 -0
- package/dist/node_modules/next/dist/server/normalizers/locale-route-normalizer.js +26 -0
- package/dist/node_modules/next/dist/server/normalizers/normalizer.js +6 -0
- package/dist/node_modules/next/dist/server/normalizers/normalizers.js +23 -0
- package/dist/node_modules/next/dist/server/normalizers/prefixing-normalizer.js +26 -0
- package/dist/node_modules/next/dist/server/normalizers/request/base-path.js +25 -0
- package/dist/node_modules/next/dist/server/normalizers/request/next-data.js +38 -0
- package/dist/node_modules/next/dist/server/normalizers/request/pathname-normalizer.js +6 -0
- package/dist/node_modules/next/dist/server/normalizers/request/prefix.js +39 -0
- package/dist/node_modules/next/dist/server/normalizers/request/rsc.js +19 -0
- package/dist/node_modules/next/dist/server/normalizers/request/segment-prefix-rsc.js +32 -0
- package/dist/node_modules/next/dist/server/normalizers/request/suffix.js +27 -0
- package/dist/node_modules/next/dist/server/normalizers/underscore-normalizer.js +17 -0
- package/dist/node_modules/next/dist/server/normalizers/wrap-normalizer-fn.js +17 -0
- package/dist/node_modules/next/dist/server/og/image-response.js +53 -0
- package/dist/node_modules/next/dist/server/patch-error-inspect.js +436 -0
- package/dist/node_modules/next/dist/server/pipe-readable.js +140 -0
- package/dist/node_modules/next/dist/server/post-process.js +39 -0
- package/dist/node_modules/next/dist/server/render-result.js +195 -0
- package/dist/node_modules/next/dist/server/render.js +1138 -0
- package/dist/node_modules/next/dist/server/request/connection.js +111 -0
- package/dist/node_modules/next/dist/server/request/cookies.js +220 -0
- package/dist/node_modules/next/dist/server/request/draft-mode.js +207 -0
- package/dist/node_modules/next/dist/server/request/fallback-params.js +69 -0
- package/dist/node_modules/next/dist/server/request/headers.js +219 -0
- package/dist/node_modules/next/dist/server/request/params.js +415 -0
- package/dist/node_modules/next/dist/server/request/pathname.js +104 -0
- package/dist/node_modules/next/dist/server/request/root-params.js +157 -0
- package/dist/node_modules/next/dist/server/request/search-params.js +432 -0
- package/dist/node_modules/next/dist/server/request/utils.js +51 -0
- package/dist/node_modules/next/dist/server/request-meta.js +55 -0
- package/dist/node_modules/next/dist/server/require-hook.js +71 -0
- package/dist/node_modules/next/dist/server/require.js +109 -0
- package/dist/node_modules/next/dist/server/response-cache/index.js +311 -0
- package/dist/node_modules/next/dist/server/response-cache/types.js +41 -0
- package/dist/node_modules/next/dist/server/response-cache/utils.js +103 -0
- package/dist/node_modules/next/dist/server/response-cache/web.js +101 -0
- package/dist/node_modules/next/dist/server/resume-data-cache/cache-store.js +84 -0
- package/dist/node_modules/next/dist/server/resume-data-cache/resume-data-cache.js +115 -0
- package/dist/node_modules/next/dist/server/revalidation-utils.js +152 -0
- package/dist/node_modules/next/dist/server/route-definitions/app-page-route-definition.js +16 -0
- package/dist/node_modules/next/dist/server/route-definitions/app-route-route-definition.js +6 -0
- package/dist/node_modules/next/dist/server/route-definitions/locale-route-definition.js +6 -0
- package/dist/node_modules/next/dist/server/route-definitions/pages-api-route-definition.js +6 -0
- package/dist/node_modules/next/dist/server/route-definitions/pages-route-definition.js +6 -0
- package/dist/node_modules/next/dist/server/route-definitions/route-definition.js +6 -0
- package/dist/node_modules/next/dist/server/route-kind.js +32 -0
- package/dist/node_modules/next/dist/server/route-matcher-managers/default-route-matcher-manager.js +239 -0
- package/dist/node_modules/next/dist/server/route-matcher-managers/dev-route-matcher-manager.js +120 -0
- package/dist/node_modules/next/dist/server/route-matcher-managers/route-matcher-manager.js +6 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/app-page-route-matcher-provider.js +55 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/app-route-route-matcher-provider.js +43 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-page-route-matcher-provider.js +90 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/dev-app-route-route-matcher-provider.js +112 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-api-route-matcher-provider.js +77 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/dev-pages-route-matcher-provider.js +77 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/file-cache-route-matcher-provider.js +28 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/batched-file-reader.js +106 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/default-file-reader.js +42 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/dev/helpers/file-reader/file-reader.js +6 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/helpers/cached-route-matcher-provider.js +30 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/manifest-loader.js +6 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/node-manifest-loader.js +34 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/helpers/manifest-loaders/server-manifest-loader.js +20 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/manifest-route-matcher-provider.js +21 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/pages-api-route-matcher-provider.js +55 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/pages-route-matcher-provider.js +64 -0
- package/dist/node_modules/next/dist/server/route-matcher-providers/route-matcher-provider.js +6 -0
- package/dist/node_modules/next/dist/server/route-matchers/app-page-route-matcher.js +18 -0
- package/dist/node_modules/next/dist/server/route-matchers/app-route-route-matcher.js +15 -0
- package/dist/node_modules/next/dist/server/route-matchers/locale-route-matcher.js +68 -0
- package/dist/node_modules/next/dist/server/route-matchers/pages-api-route-matcher.js +30 -0
- package/dist/node_modules/next/dist/server/route-matchers/pages-route-matcher.js +30 -0
- package/dist/node_modules/next/dist/server/route-matchers/route-matcher.js +54 -0
- package/dist/node_modules/next/dist/server/route-matches/app-page-route-match.js +6 -0
- package/dist/node_modules/next/dist/server/route-matches/app-route-route-match.js +6 -0
- package/dist/node_modules/next/dist/server/route-matches/locale-route-match.js +6 -0
- package/dist/node_modules/next/dist/server/route-matches/pages-api-route-match.js +16 -0
- package/dist/node_modules/next/dist/server/route-matches/pages-route-match.js +6 -0
- package/dist/node_modules/next/dist/server/route-matches/route-match.js +6 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/helpers/prerender-manifest-matcher.js +48 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/module.compiled.js +36 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/module.js +132 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/module.render.js +24 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/app-router-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/entrypoints.js +87 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/head-manager-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/hooks-client-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/image-config-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/router-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/contexts/server-inserted-html.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/entrypoints.js +140 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-compiler-runtime.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-dom.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-dev-runtime.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-jsx-runtime.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-server.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-turbopack-static.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-server.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react-server-dom-webpack-static.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/rsc/react.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/entrypoints.js +125 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-compiler-runtime.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom-server.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-dom.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-dev-runtime.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-jsx-runtime.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-turbopack-client.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react-server-dom-webpack-client.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-page/vendored/ssr/react.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/helpers/auto-implement-methods.js +85 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/helpers/clean-url.js +24 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/helpers/get-pathname-from-absolute-path.js +29 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/helpers/is-static-gen-enabled.js +15 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/helpers/parsed-url-query-to-params.js +20 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/module.compiled.js +36 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/module.js +889 -0
- package/dist/node_modules/next/dist/server/route-modules/app-route/shared-modules.js +56 -0
- package/dist/node_modules/next/dist/server/route-modules/checks.js +45 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/builtin/_error.js +100 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/module.compiled.js +20 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/module.js +92 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/module.render.js +24 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/pages-handler.js +522 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/app-router-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/entrypoints.js +102 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/head-manager-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/hooks-client-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/html-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/image-config-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/loadable.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/router-context.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages/vendored/contexts/server-inserted-html.js +4 -0
- package/dist/node_modules/next/dist/server/route-modules/pages-api/module.compiled.js +20 -0
- package/dist/node_modules/next/dist/server/route-modules/pages-api/module.js +58 -0
- package/dist/node_modules/next/dist/server/route-modules/route-module.js +597 -0
- package/dist/node_modules/next/dist/server/runtime-reacts.external.js +46 -0
- package/dist/node_modules/next/dist/server/send-payload.js +88 -0
- package/dist/node_modules/next/dist/server/send-response.js +70 -0
- package/dist/node_modules/next/dist/server/serve-static.js +66 -0
- package/dist/node_modules/next/dist/server/server-route-utils.js +30 -0
- package/dist/node_modules/next/dist/server/server-utils.js +323 -0
- package/dist/node_modules/next/dist/server/setup-http-agent-env.js +31 -0
- package/dist/node_modules/next/dist/server/stream-utils/encoded-tags.js +114 -0
- package/dist/node_modules/next/dist/server/stream-utils/node-web-streams-helper.js +737 -0
- package/dist/node_modules/next/dist/server/stream-utils/uint8array-helpers.js +69 -0
- package/dist/node_modules/next/dist/server/typescript/constant.js +97 -0
- package/dist/node_modules/next/dist/server/typescript/index.js +199 -0
- package/dist/node_modules/next/dist/server/typescript/rules/client-boundary.js +97 -0
- package/dist/node_modules/next/dist/server/typescript/rules/config.js +501 -0
- package/dist/node_modules/next/dist/server/typescript/rules/entry.js +149 -0
- package/dist/node_modules/next/dist/server/typescript/rules/error.js +38 -0
- package/dist/node_modules/next/dist/server/typescript/rules/metadata.js +234 -0
- package/dist/node_modules/next/dist/server/typescript/rules/server-boundary.js +115 -0
- package/dist/node_modules/next/dist/server/typescript/rules/server.js +79 -0
- package/dist/node_modules/next/dist/server/typescript/utils.js +212 -0
- package/dist/node_modules/next/dist/server/use-cache/cache-life.js +161 -0
- package/dist/node_modules/next/dist/server/use-cache/cache-tag.js +50 -0
- package/dist/node_modules/next/dist/server/use-cache/constants.js +28 -0
- package/dist/node_modules/next/dist/server/use-cache/handlers.js +121 -0
- package/dist/node_modules/next/dist/server/use-cache/use-cache-errors.js +36 -0
- package/dist/node_modules/next/dist/server/use-cache/use-cache-wrapper.js +1336 -0
- package/dist/node_modules/next/dist/server/utils.js +73 -0
- package/dist/node_modules/next/dist/server/web/adapter.js +388 -0
- package/dist/node_modules/next/dist/server/web/edge-route-module-wrapper.js +122 -0
- package/dist/node_modules/next/dist/server/web/error.js +54 -0
- package/dist/node_modules/next/dist/server/web/exports/index.js +56 -0
- package/dist/node_modules/next/dist/server/web/get-edge-preview-props.js +23 -0
- package/dist/node_modules/next/dist/server/web/globals.js +128 -0
- package/dist/node_modules/next/dist/server/web/http.js +39 -0
- package/dist/node_modules/next/dist/server/web/internal-edge-wait-until.js +64 -0
- package/dist/node_modules/next/dist/server/web/next-url.js +195 -0
- package/dist/node_modules/next/dist/server/web/sandbox/context.js +462 -0
- package/dist/node_modules/next/dist/server/web/sandbox/fetch-inline-assets.js +35 -0
- package/dist/node_modules/next/dist/server/web/sandbox/index.js +28 -0
- package/dist/node_modules/next/dist/server/web/sandbox/resource-managers.js +88 -0
- package/dist/node_modules/next/dist/server/web/sandbox/sandbox.js +134 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/headers.js +192 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/next-request.js +142 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/reflect.js +30 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/adapters/request-cookies.js +211 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/cookies.js +29 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/fetch-event.js +98 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/image-response.js +22 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/request.js +99 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/response.js +136 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/revalidate.js +206 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-cache.js +284 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/unstable-no-store.js +49 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/url-pattern.js +14 -0
- package/dist/node_modules/next/dist/server/web/spec-extension/user-agent.js +46 -0
- package/dist/node_modules/next/dist/server/web/types.js +6 -0
- package/dist/node_modules/next/dist/server/web/utils.js +151 -0
- package/dist/node_modules/next/dist/server/web/web-on-close.js +87 -0
- package/dist/node_modules/next/dist/shared/lib/action-revalidation-kind.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-context.shared-runtime.js +50 -0
- package/dist/node_modules/next/dist/shared/lib/app-router-types.js +27 -0
- package/dist/node_modules/next/dist/shared/lib/constants.js +448 -0
- package/dist/node_modules/next/dist/shared/lib/deep-freeze.js +30 -0
- package/dist/node_modules/next/dist/shared/lib/deployment-id.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/dset.js +34 -0
- package/dist/node_modules/next/dist/shared/lib/encode-uri-path.js +15 -0
- package/dist/node_modules/next/dist/shared/lib/entry-constants.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/error-source.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/errors/canary-only-config-error.js +39 -0
- package/dist/node_modules/next/dist/shared/lib/errors/constants.js +19 -0
- package/dist/node_modules/next/dist/shared/lib/errors/empty-generate-static-params-error.js +24 -0
- package/dist/node_modules/next/dist/shared/lib/errors/hard-deprecated-config-error.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/escape-regexp.js +22 -0
- package/dist/node_modules/next/dist/shared/lib/get-hostname.js +23 -0
- package/dist/node_modules/next/dist/shared/lib/hash.js +42 -0
- package/dist/node_modules/next/dist/shared/lib/head-manager-context.shared-runtime.js +18 -0
- package/dist/node_modules/next/dist/shared/lib/head.js +163 -0
- package/dist/node_modules/next/dist/shared/lib/hooks-client-context.shared-runtime.js +60 -0
- package/dist/node_modules/next/dist/shared/lib/html-context.shared-runtime.js +40 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/detect-domain-locale.js +25 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/get-locale-redirect.js +59 -0
- package/dist/node_modules/next/dist/shared/lib/i18n/normalize-locale-path.js +54 -0
- package/dist/node_modules/next/dist/shared/lib/image-blur-svg.js +22 -0
- package/dist/node_modules/next/dist/shared/lib/image-config-context.shared-runtime.js +19 -0
- package/dist/node_modules/next/dist/shared/lib/image-config.js +75 -0
- package/dist/node_modules/next/dist/shared/lib/invariant-error.js +18 -0
- package/dist/node_modules/next/dist/shared/lib/is-internal.js +39 -0
- package/dist/node_modules/next/dist/shared/lib/is-plain-object.js +42 -0
- package/dist/node_modules/next/dist/shared/lib/is-thenable.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/isomorphic/path.js +14 -0
- package/dist/node_modules/next/dist/shared/lib/lazy-dynamic/bailout-to-csr.js +37 -0
- package/dist/node_modules/next/dist/shared/lib/loadable-context.shared-runtime.js +19 -0
- package/dist/node_modules/next/dist/shared/lib/loadable.shared-runtime.js +246 -0
- package/dist/node_modules/next/dist/shared/lib/magic-identifier.js +218 -0
- package/dist/node_modules/next/dist/shared/lib/match-local-pattern.js +46 -0
- package/dist/node_modules/next/dist/shared/lib/match-remote-pattern.js +63 -0
- package/dist/node_modules/next/dist/shared/lib/modern-browserslist-target.js +15 -0
- package/dist/node_modules/next/dist/shared/lib/no-fallback-error.external.js +18 -0
- package/dist/node_modules/next/dist/shared/lib/normalized-asset-prefix.js +28 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/absolute-path-to-page.js +26 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/denormalize-page-path.js +18 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/ensure-leading-slash.js +18 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/get-page-paths.js +40 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-data-path.js +23 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-page-path.js +26 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/normalize-path-sep.js +19 -0
- package/dist/node_modules/next/dist/shared/lib/page-path/remove-page-path-tail.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/promise-with-resolvers.js +26 -0
- package/dist/node_modules/next/dist/shared/lib/router/adapters.js +136 -0
- package/dist/node_modules/next/dist/shared/lib/router/routes/app.js +122 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-locale.js +28 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-prefix.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/add-path-suffix.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/app-paths.js +51 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/as-path-to-search-params.js +17 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/cache-busting-search-param.js +24 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/escape-path-delimiters.js +16 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-next-pathname-info.js +27 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/format-url.js +111 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-dynamic-param.js +167 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-next-pathname-info.js +52 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-route-from-asset-path.js +25 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/get-segment-param.js +90 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/html-bots.js +17 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/index.js +30 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-prefix-from-param-type.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/interception-routes.js +108 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-bot.js +57 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/is-dynamic.js +26 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/middleware-route-matcher.js +31 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-loader-tree.js +29 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-path.js +33 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-relative-url.js +36 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/parse-url.js +32 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-has-prefix.js +20 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/path-match.js +49 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/prepare-destination.js +292 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/querystring.js +79 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/relativize-url.js +40 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-path-prefix.js +39 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/remove-trailing-slash.js +21 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/resolve-param-value.js +116 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-match-utils.js +113 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-matcher.js +45 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/route-regex.js +256 -0
- package/dist/node_modules/next/dist/shared/lib/router/utils/sorted-routes.js +244 -0
- package/dist/node_modules/next/dist/shared/lib/router-context.shared-runtime.js +18 -0
- package/dist/node_modules/next/dist/shared/lib/segment-cache/output-export-prefetch-encoding.js +52 -0
- package/dist/node_modules/next/dist/shared/lib/segment-cache/segment-value-encoding.js +99 -0
- package/dist/node_modules/next/dist/shared/lib/segment.js +102 -0
- package/dist/node_modules/next/dist/shared/lib/server-inserted-html.shared-runtime.js +35 -0
- package/dist/node_modules/next/dist/shared/lib/server-reference-info.js +52 -0
- package/dist/node_modules/next/dist/shared/lib/side-effect.js +63 -0
- package/dist/node_modules/next/dist/shared/lib/size-limit.js +35 -0
- package/dist/node_modules/next/dist/shared/lib/turbopack/internal-error.js +53 -0
- package/dist/node_modules/next/dist/shared/lib/turbopack/utils.js +279 -0
- package/dist/node_modules/next/dist/shared/lib/utils/warn-once.js +22 -0
- package/dist/node_modules/next/dist/shared/lib/utils.js +207 -0
- package/dist/node_modules/next/dist/shared/lib/zod.js +101 -0
- package/dist/node_modules/next/dist/telemetry/anonymous-meta.js +89 -0
- package/dist/node_modules/next/dist/telemetry/detached-flush.js +56 -0
- package/dist/node_modules/next/dist/telemetry/events/build.js +174 -0
- package/dist/node_modules/next/dist/telemetry/events/index.js +41 -0
- package/dist/node_modules/next/dist/telemetry/events/plugins.js +51 -0
- package/dist/node_modules/next/dist/telemetry/events/swc-load-failure.js +55 -0
- package/dist/node_modules/next/dist/telemetry/events/version.js +66 -0
- package/dist/node_modules/next/dist/telemetry/flush-telemetry.js +19 -0
- package/dist/node_modules/next/dist/telemetry/post-telemetry-payload.js +48 -0
- package/dist/node_modules/next/dist/telemetry/project-id.js +48 -0
- package/dist/node_modules/next/dist/telemetry/storage.js +301 -0
- package/dist/node_modules/next/dist/trace/index.js +54 -0
- package/dist/node_modules/next/dist/trace/report/index.js +37 -0
- package/dist/node_modules/next/dist/trace/report/to-json-build.js +137 -0
- package/dist/node_modules/next/dist/trace/report/to-json.js +151 -0
- package/dist/node_modules/next/dist/trace/report/to-telemetry.js +36 -0
- package/dist/node_modules/next/dist/trace/shared.js +39 -0
- package/dist/node_modules/next/dist/trace/trace.js +197 -0
- package/dist/node_modules/next/package.json +380 -0
- package/dist/node_modules/react/cjs/react-compiler-runtime.production.js +16 -0
- package/dist/node_modules/react/cjs/react-jsx-dev-runtime.production.js +14 -0
- package/dist/node_modules/react/cjs/react-jsx-runtime.production.js +34 -0
- package/dist/node_modules/react/cjs/react.production.js +542 -0
- package/dist/node_modules/react/compiler-runtime.js +14 -0
- package/dist/node_modules/react/index.js +7 -0
- package/dist/node_modules/react/jsx-dev-runtime.js +7 -0
- package/dist/node_modules/react/jsx-runtime.js +7 -0
- package/dist/node_modules/react/package.json +51 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.browser.production.js +6603 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server-legacy.node.production.js +6692 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.browser.production.js +7410 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.edge.production.js +7512 -0
- package/dist/node_modules/react-dom/cjs/react-dom-server.node.production.js +7707 -0
- package/dist/node_modules/react-dom/cjs/react-dom.production.js +210 -0
- package/dist/node_modules/react-dom/index.js +38 -0
- package/dist/node_modules/react-dom/package.json +117 -0
- package/dist/node_modules/react-dom/server.browser.js +16 -0
- package/dist/node_modules/react-dom/server.edge.js +17 -0
- package/dist/node_modules/react-dom/server.node.js +18 -0
- package/dist/node_modules/react-dom/static.node.js +14 -0
- package/dist/node_modules/sharp/lib/channel.js +177 -0
- package/dist/node_modules/sharp/lib/colour.js +195 -0
- package/dist/node_modules/sharp/lib/composite.js +212 -0
- package/dist/node_modules/sharp/lib/constructor.js +499 -0
- package/dist/node_modules/sharp/lib/index.js +16 -0
- package/dist/node_modules/sharp/lib/input.js +809 -0
- package/dist/node_modules/sharp/lib/is.js +143 -0
- package/dist/node_modules/sharp/lib/libvips.js +207 -0
- package/dist/node_modules/sharp/lib/operation.js +1016 -0
- package/dist/node_modules/sharp/lib/output.js +1666 -0
- package/dist/node_modules/sharp/lib/resize.js +595 -0
- package/dist/node_modules/sharp/lib/sharp.js +121 -0
- package/dist/node_modules/sharp/lib/utility.js +291 -0
- package/dist/node_modules/sharp/node_modules/semver/classes/comparator.js +143 -0
- package/dist/node_modules/sharp/node_modules/semver/classes/range.js +557 -0
- package/dist/node_modules/sharp/node_modules/semver/classes/semver.js +333 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/cmp.js +54 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/coerce.js +62 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/compare.js +7 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/eq.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/gt.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/gte.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/lt.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/lte.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/neq.js +5 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/parse.js +18 -0
- package/dist/node_modules/sharp/node_modules/semver/functions/satisfies.js +12 -0
- package/dist/node_modules/sharp/node_modules/semver/internal/constants.js +37 -0
- package/dist/node_modules/sharp/node_modules/semver/internal/debug.js +11 -0
- package/dist/node_modules/sharp/node_modules/semver/internal/identifiers.js +29 -0
- package/dist/node_modules/sharp/node_modules/semver/internal/lrucache.js +42 -0
- package/dist/node_modules/sharp/node_modules/semver/internal/parse-options.js +17 -0
- package/dist/node_modules/sharp/node_modules/semver/internal/re.js +223 -0
- package/dist/node_modules/sharp/node_modules/semver/package.json +78 -0
- package/dist/node_modules/sharp/package.json +202 -0
- package/dist/node_modules/styled-jsx/dist/index/index.js +499 -0
- package/dist/node_modules/styled-jsx/index.js +1 -0
- package/dist/node_modules/styled-jsx/package.json +132 -0
- package/dist/node_modules/styled-jsx/style.js +1 -0
- package/dist/package.json +50 -0
- package/dist/public/brand-v2-preview.html +778 -0
- package/dist/public/clawcrib_logo.png +0 -0
- package/dist/public/colors.css +134 -0
- package/dist/public/demo-icons.html +351 -0
- package/dist/public/favicon.svg +69 -0
- package/dist/public/file.svg +1 -0
- package/dist/public/globe.svg +1 -0
- package/dist/public/landing-blueprint.jpg +0 -0
- package/dist/public/landing-crib-3d.jpg +0 -0
- package/dist/public/logo-bracket-claw.svg +69 -0
- package/dist/public/logo-icon.svg +31 -0
- package/dist/public/logo-minimal.svg +24 -0
- package/dist/public/logo-monogram.svg +41 -0
- package/dist/public/logo-primary.svg +34 -0
- package/dist/public/next.svg +1 -0
- package/dist/public/openclaw_logo.jpeg +0 -0
- package/dist/public/robots.txt +7 -0
- package/dist/public/sitemap.xml +63 -0
- package/dist/public/textures/Carpet004/Carpet004_1K-JPG_Color.jpg +0 -0
- package/dist/public/textures/Carpet004/Carpet004_1K-JPG_NormalGL.jpg +0 -0
- package/dist/public/textures/Carpet004/Carpet004_1K-JPG_Roughness.jpg +0 -0
- package/dist/public/textures/Fabric030/Fabric030_1K-JPG_Color.jpg +0 -0
- package/dist/public/textures/Fabric030/Fabric030_1K-JPG_NormalGL.jpg +0 -0
- package/dist/public/textures/Fabric030/Fabric030_1K-JPG_Roughness.jpg +0 -0
- package/dist/public/textures/Plaster001/Plaster001_1K-JPG_Color.jpg +0 -0
- package/dist/public/textures/Plaster001/Plaster001_1K-JPG_NormalGL.jpg +0 -0
- package/dist/public/textures/Plaster001/Plaster001_1K-JPG_Roughness.jpg +0 -0
- package/dist/public/textures/WoodFloor051/WoodFloor051_1K-JPG_Color.jpg +0 -0
- package/dist/public/textures/WoodFloor051/WoodFloor051_1K-JPG_NormalGL.jpg +0 -0
- package/dist/public/textures/WoodFloor051/WoodFloor051_1K-JPG_Roughness.jpg +0 -0
- package/dist/public/vercel.svg +1 -0
- package/dist/public/window.svg +1 -0
- package/dist/server.js +38 -0
- package/package.json +29 -0
|
@@ -0,0 +1,739 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
|
+
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
5
|
+
import { version } from "../../index.js";
|
|
6
|
+
import { convexToJson } from "../../values/index.js";
|
|
7
|
+
import {
|
|
8
|
+
createHybridErrorStacktrace,
|
|
9
|
+
forwardData,
|
|
10
|
+
instantiateDefaultLogger,
|
|
11
|
+
instantiateNoopLogger,
|
|
12
|
+
logFatalError
|
|
13
|
+
} from "../logging.js";
|
|
14
|
+
import { LocalSyncState } from "./local_state.js";
|
|
15
|
+
import { RequestManager } from "./request_manager.js";
|
|
16
|
+
import {
|
|
17
|
+
OptimisticQueryResults
|
|
18
|
+
} from "./optimistic_updates_impl.js";
|
|
19
|
+
import { RemoteQuerySet } from "./remote_query_set.js";
|
|
20
|
+
import { serializePathAndArgs } from "./udf_path_utils.js";
|
|
21
|
+
import { WebSocketManager } from "./web_socket_manager.js";
|
|
22
|
+
import { newSessionId } from "./session.js";
|
|
23
|
+
import {
|
|
24
|
+
AuthenticationManager
|
|
25
|
+
} from "./authentication_manager.js";
|
|
26
|
+
import { getMarksReport, mark } from "./metrics.js";
|
|
27
|
+
import { parseArgs, validateDeploymentUrl } from "../../common/index.js";
|
|
28
|
+
import { ConvexError } from "../../values/errors.js";
|
|
29
|
+
import { jwtDecode } from "../../vendor/jwt-decode/index.js";
|
|
30
|
+
export class BaseConvexClient {
|
|
31
|
+
/**
|
|
32
|
+
* @param address - The url of your Convex deployment, often provided
|
|
33
|
+
* by an environment variable. E.g. `https://small-mouse-123.convex.cloud`.
|
|
34
|
+
* @param onTransition - A callback receiving an array of query tokens
|
|
35
|
+
* corresponding to query results that have changed -- additional handlers
|
|
36
|
+
* can be added via `addOnTransitionHandler`.
|
|
37
|
+
* @param options - See {@link BaseConvexClientOptions} for a full description.
|
|
38
|
+
*/
|
|
39
|
+
constructor(address, onTransition, options) {
|
|
40
|
+
__publicField(this, "address");
|
|
41
|
+
__publicField(this, "state");
|
|
42
|
+
__publicField(this, "requestManager");
|
|
43
|
+
__publicField(this, "webSocketManager");
|
|
44
|
+
__publicField(this, "authenticationManager");
|
|
45
|
+
__publicField(this, "remoteQuerySet");
|
|
46
|
+
__publicField(this, "optimisticQueryResults");
|
|
47
|
+
__publicField(this, "_transitionHandlerCounter", 0);
|
|
48
|
+
__publicField(this, "_nextRequestId");
|
|
49
|
+
__publicField(this, "_onTransitionFns", /* @__PURE__ */ new Map());
|
|
50
|
+
__publicField(this, "_sessionId");
|
|
51
|
+
__publicField(this, "firstMessageReceived", false);
|
|
52
|
+
__publicField(this, "debug");
|
|
53
|
+
__publicField(this, "logger");
|
|
54
|
+
__publicField(this, "maxObservedTimestamp");
|
|
55
|
+
__publicField(this, "connectionStateSubscribers", /* @__PURE__ */ new Map());
|
|
56
|
+
__publicField(this, "nextConnectionStateSubscriberId", 0);
|
|
57
|
+
__publicField(this, "_lastPublishedConnectionState");
|
|
58
|
+
/**
|
|
59
|
+
* Call this whenever the connection state may have changed in a way that could
|
|
60
|
+
* require publishing it. Schedules a possibly update.
|
|
61
|
+
*/
|
|
62
|
+
__publicField(this, "markConnectionStateDirty", () => {
|
|
63
|
+
void Promise.resolve().then(() => {
|
|
64
|
+
const curConnectionState = this.connectionState();
|
|
65
|
+
if (JSON.stringify(curConnectionState) !== JSON.stringify(this._lastPublishedConnectionState)) {
|
|
66
|
+
this._lastPublishedConnectionState = curConnectionState;
|
|
67
|
+
for (const cb of this.connectionStateSubscribers.values()) {
|
|
68
|
+
cb(curConnectionState);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
});
|
|
72
|
+
});
|
|
73
|
+
// Instance property so that `mark()` doesn't need to be called as a method.
|
|
74
|
+
__publicField(this, "mark", (name) => {
|
|
75
|
+
if (this.debug) {
|
|
76
|
+
mark(name, this.sessionId);
|
|
77
|
+
}
|
|
78
|
+
});
|
|
79
|
+
if (typeof address === "object") {
|
|
80
|
+
throw new Error(
|
|
81
|
+
"Passing a ClientConfig object is no longer supported. Pass the URL of the Convex deployment as a string directly."
|
|
82
|
+
);
|
|
83
|
+
}
|
|
84
|
+
if (options?.skipConvexDeploymentUrlCheck !== true) {
|
|
85
|
+
validateDeploymentUrl(address);
|
|
86
|
+
}
|
|
87
|
+
options = { ...options };
|
|
88
|
+
const authRefreshTokenLeewaySeconds = options.authRefreshTokenLeewaySeconds ?? 2;
|
|
89
|
+
let webSocketConstructor = options.webSocketConstructor;
|
|
90
|
+
if (!webSocketConstructor && typeof WebSocket === "undefined") {
|
|
91
|
+
throw new Error(
|
|
92
|
+
"No WebSocket global variable defined! To use Convex in an environment without WebSocket try the HTTP client: https://docs.convex.dev/api/classes/browser.ConvexHttpClient"
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
webSocketConstructor = webSocketConstructor || WebSocket;
|
|
96
|
+
this.debug = options.reportDebugInfoToConvex ?? false;
|
|
97
|
+
this.address = address;
|
|
98
|
+
this.logger = options.logger === false ? instantiateNoopLogger({ verbose: options.verbose ?? false }) : options.logger !== true && options.logger ? options.logger : instantiateDefaultLogger({ verbose: options.verbose ?? false });
|
|
99
|
+
const i = address.search("://");
|
|
100
|
+
if (i === -1) {
|
|
101
|
+
throw new Error("Provided address was not an absolute URL.");
|
|
102
|
+
}
|
|
103
|
+
const origin = address.substring(i + 3);
|
|
104
|
+
const protocol = address.substring(0, i);
|
|
105
|
+
let wsProtocol;
|
|
106
|
+
if (protocol === "http") {
|
|
107
|
+
wsProtocol = "ws";
|
|
108
|
+
} else if (protocol === "https") {
|
|
109
|
+
wsProtocol = "wss";
|
|
110
|
+
} else {
|
|
111
|
+
throw new Error(`Unknown parent protocol ${protocol}`);
|
|
112
|
+
}
|
|
113
|
+
const wsUri = `${wsProtocol}://${origin}/api/${version}/sync`;
|
|
114
|
+
this.state = new LocalSyncState();
|
|
115
|
+
this.remoteQuerySet = new RemoteQuerySet(
|
|
116
|
+
(queryId) => this.state.queryPath(queryId),
|
|
117
|
+
this.logger
|
|
118
|
+
);
|
|
119
|
+
this.requestManager = new RequestManager(
|
|
120
|
+
this.logger,
|
|
121
|
+
this.markConnectionStateDirty
|
|
122
|
+
);
|
|
123
|
+
const pauseSocket = () => {
|
|
124
|
+
this.webSocketManager.pause();
|
|
125
|
+
this.state.pause();
|
|
126
|
+
};
|
|
127
|
+
this.authenticationManager = new AuthenticationManager(
|
|
128
|
+
this.state,
|
|
129
|
+
{
|
|
130
|
+
authenticate: (token) => {
|
|
131
|
+
const message = this.state.setAuth(token);
|
|
132
|
+
this.webSocketManager.sendMessage(message);
|
|
133
|
+
return message.baseVersion;
|
|
134
|
+
},
|
|
135
|
+
stopSocket: () => this.webSocketManager.stop(),
|
|
136
|
+
tryRestartSocket: () => this.webSocketManager.tryRestart(),
|
|
137
|
+
pauseSocket,
|
|
138
|
+
resumeSocket: () => this.webSocketManager.resume(),
|
|
139
|
+
clearAuth: () => {
|
|
140
|
+
this.clearAuth();
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
logger: this.logger,
|
|
145
|
+
refreshTokenLeewaySeconds: authRefreshTokenLeewaySeconds
|
|
146
|
+
}
|
|
147
|
+
);
|
|
148
|
+
this.optimisticQueryResults = new OptimisticQueryResults();
|
|
149
|
+
this.addOnTransitionHandler((transition) => {
|
|
150
|
+
onTransition(transition.queries.map((q) => q.token));
|
|
151
|
+
});
|
|
152
|
+
this._nextRequestId = 0;
|
|
153
|
+
this._sessionId = newSessionId();
|
|
154
|
+
const { unsavedChangesWarning } = options;
|
|
155
|
+
if (typeof window === "undefined" || typeof window.addEventListener === "undefined") {
|
|
156
|
+
if (unsavedChangesWarning === true) {
|
|
157
|
+
throw new Error(
|
|
158
|
+
"unsavedChangesWarning requested, but window.addEventListener not found! Remove {unsavedChangesWarning: true} from Convex client options."
|
|
159
|
+
);
|
|
160
|
+
}
|
|
161
|
+
} else if (unsavedChangesWarning !== false) {
|
|
162
|
+
window.addEventListener("beforeunload", (e) => {
|
|
163
|
+
if (this.requestManager.hasIncompleteRequests()) {
|
|
164
|
+
e.preventDefault();
|
|
165
|
+
const confirmationMessage = "Are you sure you want to leave? Your changes may not be saved.";
|
|
166
|
+
(e || window.event).returnValue = confirmationMessage;
|
|
167
|
+
return confirmationMessage;
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
}
|
|
171
|
+
this.webSocketManager = new WebSocketManager(
|
|
172
|
+
wsUri,
|
|
173
|
+
{
|
|
174
|
+
onOpen: (reconnectMetadata) => {
|
|
175
|
+
this.mark("convexWebSocketOpen");
|
|
176
|
+
this.webSocketManager.sendMessage({
|
|
177
|
+
...reconnectMetadata,
|
|
178
|
+
type: "Connect",
|
|
179
|
+
sessionId: this._sessionId,
|
|
180
|
+
maxObservedTimestamp: this.maxObservedTimestamp
|
|
181
|
+
});
|
|
182
|
+
const oldRemoteQueryResults = new Set(
|
|
183
|
+
this.remoteQuerySet.remoteQueryResults().keys()
|
|
184
|
+
);
|
|
185
|
+
this.remoteQuerySet = new RemoteQuerySet(
|
|
186
|
+
(queryId) => this.state.queryPath(queryId),
|
|
187
|
+
this.logger
|
|
188
|
+
);
|
|
189
|
+
const [querySetModification, authModification] = this.state.restart(
|
|
190
|
+
oldRemoteQueryResults
|
|
191
|
+
);
|
|
192
|
+
if (authModification) {
|
|
193
|
+
this.webSocketManager.sendMessage(authModification);
|
|
194
|
+
}
|
|
195
|
+
this.webSocketManager.sendMessage(querySetModification);
|
|
196
|
+
for (const message of this.requestManager.restart()) {
|
|
197
|
+
this.webSocketManager.sendMessage(message);
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
onResume: () => {
|
|
201
|
+
const [querySetModification, authModification] = this.state.resume();
|
|
202
|
+
if (authModification) {
|
|
203
|
+
this.webSocketManager.sendMessage(authModification);
|
|
204
|
+
}
|
|
205
|
+
if (querySetModification) {
|
|
206
|
+
this.webSocketManager.sendMessage(querySetModification);
|
|
207
|
+
}
|
|
208
|
+
for (const message of this.requestManager.resume()) {
|
|
209
|
+
this.webSocketManager.sendMessage(message);
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
onMessage: (serverMessage) => {
|
|
213
|
+
if (!this.firstMessageReceived) {
|
|
214
|
+
this.firstMessageReceived = true;
|
|
215
|
+
this.mark("convexFirstMessageReceived");
|
|
216
|
+
this.reportMarks();
|
|
217
|
+
}
|
|
218
|
+
switch (serverMessage.type) {
|
|
219
|
+
case "Transition": {
|
|
220
|
+
this.observedTimestamp(serverMessage.endVersion.ts);
|
|
221
|
+
this.authenticationManager.onTransition(serverMessage);
|
|
222
|
+
this.remoteQuerySet.transition(serverMessage);
|
|
223
|
+
this.state.transition(serverMessage);
|
|
224
|
+
const completedRequests = this.requestManager.removeCompleted(
|
|
225
|
+
this.remoteQuerySet.timestamp()
|
|
226
|
+
);
|
|
227
|
+
this.notifyOnQueryResultChanges(completedRequests);
|
|
228
|
+
break;
|
|
229
|
+
}
|
|
230
|
+
case "MutationResponse": {
|
|
231
|
+
if (serverMessage.success) {
|
|
232
|
+
this.observedTimestamp(serverMessage.ts);
|
|
233
|
+
}
|
|
234
|
+
const completedMutationInfo = this.requestManager.onResponse(serverMessage);
|
|
235
|
+
if (completedMutationInfo !== null) {
|
|
236
|
+
this.notifyOnQueryResultChanges(
|
|
237
|
+
/* @__PURE__ */ new Map([
|
|
238
|
+
[
|
|
239
|
+
completedMutationInfo.requestId,
|
|
240
|
+
completedMutationInfo.result
|
|
241
|
+
]
|
|
242
|
+
])
|
|
243
|
+
);
|
|
244
|
+
}
|
|
245
|
+
break;
|
|
246
|
+
}
|
|
247
|
+
case "ActionResponse": {
|
|
248
|
+
this.requestManager.onResponse(serverMessage);
|
|
249
|
+
break;
|
|
250
|
+
}
|
|
251
|
+
case "AuthError": {
|
|
252
|
+
this.authenticationManager.onAuthError(serverMessage);
|
|
253
|
+
break;
|
|
254
|
+
}
|
|
255
|
+
case "FatalError": {
|
|
256
|
+
const error = logFatalError(this.logger, serverMessage.error);
|
|
257
|
+
void this.webSocketManager.terminate();
|
|
258
|
+
throw error;
|
|
259
|
+
}
|
|
260
|
+
default: {
|
|
261
|
+
serverMessage;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
return {
|
|
265
|
+
hasSyncedPastLastReconnect: this.hasSyncedPastLastReconnect()
|
|
266
|
+
};
|
|
267
|
+
},
|
|
268
|
+
onServerDisconnectError: options.onServerDisconnectError
|
|
269
|
+
},
|
|
270
|
+
webSocketConstructor,
|
|
271
|
+
this.logger,
|
|
272
|
+
this.markConnectionStateDirty,
|
|
273
|
+
this.debug
|
|
274
|
+
);
|
|
275
|
+
this.mark("convexClientConstructed");
|
|
276
|
+
if (options.expectAuth) {
|
|
277
|
+
pauseSocket();
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
/**
|
|
281
|
+
* Return true if there is outstanding work from prior to the time of the most recent restart.
|
|
282
|
+
* This indicates that the client has not proven itself to have gotten past the issue that
|
|
283
|
+
* potentially led to the restart. Use this to influence when to reset backoff after a failure.
|
|
284
|
+
*/
|
|
285
|
+
hasSyncedPastLastReconnect() {
|
|
286
|
+
const hasSyncedPastLastReconnect = this.requestManager.hasSyncedPastLastReconnect() || this.state.hasSyncedPastLastReconnect();
|
|
287
|
+
return hasSyncedPastLastReconnect;
|
|
288
|
+
}
|
|
289
|
+
observedTimestamp(observedTs) {
|
|
290
|
+
if (this.maxObservedTimestamp === void 0 || this.maxObservedTimestamp.lessThanOrEqual(observedTs)) {
|
|
291
|
+
this.maxObservedTimestamp = observedTs;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
getMaxObservedTimestamp() {
|
|
295
|
+
return this.maxObservedTimestamp;
|
|
296
|
+
}
|
|
297
|
+
/**
|
|
298
|
+
* Compute the current query results based on the remoteQuerySet and the
|
|
299
|
+
* current optimistic updates and call `onTransition` for all the changed
|
|
300
|
+
* queries.
|
|
301
|
+
*
|
|
302
|
+
* @param completedMutations - A set of mutation IDs whose optimistic updates
|
|
303
|
+
* are no longer needed.
|
|
304
|
+
*/
|
|
305
|
+
notifyOnQueryResultChanges(completedRequests) {
|
|
306
|
+
const remoteQueryResults = this.remoteQuerySet.remoteQueryResults();
|
|
307
|
+
const queryTokenToValue = /* @__PURE__ */ new Map();
|
|
308
|
+
for (const [queryId, result] of remoteQueryResults) {
|
|
309
|
+
const queryToken = this.state.queryToken(queryId);
|
|
310
|
+
if (queryToken !== null) {
|
|
311
|
+
const query = {
|
|
312
|
+
result,
|
|
313
|
+
udfPath: this.state.queryPath(queryId),
|
|
314
|
+
args: this.state.queryArgs(queryId)
|
|
315
|
+
};
|
|
316
|
+
queryTokenToValue.set(queryToken, query);
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
const changedQueryTokens = this.optimisticQueryResults.ingestQueryResultsFromServer(
|
|
320
|
+
queryTokenToValue,
|
|
321
|
+
new Set(completedRequests.keys())
|
|
322
|
+
);
|
|
323
|
+
this.handleTransition({
|
|
324
|
+
queries: changedQueryTokens.map((token) => {
|
|
325
|
+
const optimisticResult = this.optimisticQueryResults.rawQueryResult(token);
|
|
326
|
+
return {
|
|
327
|
+
token,
|
|
328
|
+
modification: {
|
|
329
|
+
kind: "Updated",
|
|
330
|
+
result: optimisticResult
|
|
331
|
+
}
|
|
332
|
+
};
|
|
333
|
+
}),
|
|
334
|
+
reflectedMutations: Array.from(completedRequests).map(
|
|
335
|
+
([requestId, result]) => ({
|
|
336
|
+
requestId,
|
|
337
|
+
result
|
|
338
|
+
})
|
|
339
|
+
),
|
|
340
|
+
timestamp: this.remoteQuerySet.timestamp()
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
handleTransition(transition) {
|
|
344
|
+
for (const fn of this._onTransitionFns.values()) {
|
|
345
|
+
fn(transition);
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
/**
|
|
349
|
+
* Add a handler that will be called on a transition.
|
|
350
|
+
*
|
|
351
|
+
* Any external side effects (e.g. setting React state) should be handled here.
|
|
352
|
+
*
|
|
353
|
+
* @param fn
|
|
354
|
+
*
|
|
355
|
+
* @returns
|
|
356
|
+
*/
|
|
357
|
+
addOnTransitionHandler(fn) {
|
|
358
|
+
const id = this._transitionHandlerCounter++;
|
|
359
|
+
this._onTransitionFns.set(id, fn);
|
|
360
|
+
return () => this._onTransitionFns.delete(id);
|
|
361
|
+
}
|
|
362
|
+
/**
|
|
363
|
+
* Get the current JWT auth token and decoded claims.
|
|
364
|
+
*/
|
|
365
|
+
getCurrentAuthClaims() {
|
|
366
|
+
const authToken = this.state.getAuth();
|
|
367
|
+
let decoded = {};
|
|
368
|
+
if (authToken && authToken.tokenType === "User") {
|
|
369
|
+
try {
|
|
370
|
+
decoded = authToken ? jwtDecode(authToken.value) : {};
|
|
371
|
+
} catch {
|
|
372
|
+
decoded = {};
|
|
373
|
+
}
|
|
374
|
+
} else {
|
|
375
|
+
return void 0;
|
|
376
|
+
}
|
|
377
|
+
return { token: authToken.value, decoded };
|
|
378
|
+
}
|
|
379
|
+
/**
|
|
380
|
+
* Set the authentication token to be used for subsequent queries and mutations.
|
|
381
|
+
* `fetchToken` will be called automatically again if a token expires.
|
|
382
|
+
* `fetchToken` should return `null` if the token cannot be retrieved, for example
|
|
383
|
+
* when the user's rights were permanently revoked.
|
|
384
|
+
* @param fetchToken - an async function returning the JWT-encoded OpenID Connect Identity Token
|
|
385
|
+
* @param onChange - a callback that will be called when the authentication status changes
|
|
386
|
+
*/
|
|
387
|
+
setAuth(fetchToken, onChange) {
|
|
388
|
+
void this.authenticationManager.setConfig(fetchToken, onChange);
|
|
389
|
+
}
|
|
390
|
+
hasAuth() {
|
|
391
|
+
return this.state.hasAuth();
|
|
392
|
+
}
|
|
393
|
+
/** @internal */
|
|
394
|
+
setAdminAuth(value, fakeUserIdentity) {
|
|
395
|
+
const message = this.state.setAdminAuth(value, fakeUserIdentity);
|
|
396
|
+
this.webSocketManager.sendMessage(message);
|
|
397
|
+
}
|
|
398
|
+
clearAuth() {
|
|
399
|
+
const message = this.state.clearAuth();
|
|
400
|
+
this.webSocketManager.sendMessage(message);
|
|
401
|
+
}
|
|
402
|
+
/**
|
|
403
|
+
* Subscribe to a query function.
|
|
404
|
+
*
|
|
405
|
+
* Whenever this query's result changes, the `onTransition` callback
|
|
406
|
+
* passed into the constructor will be called.
|
|
407
|
+
*
|
|
408
|
+
* @param name - The name of the query.
|
|
409
|
+
* @param args - An arguments object for the query. If this is omitted, the
|
|
410
|
+
* arguments will be `{}`.
|
|
411
|
+
* @param options - A {@link SubscribeOptions} options object for this query.
|
|
412
|
+
|
|
413
|
+
* @returns An object containing a {@link QueryToken} corresponding to this
|
|
414
|
+
* query and an `unsubscribe` callback.
|
|
415
|
+
*/
|
|
416
|
+
subscribe(name, args, options) {
|
|
417
|
+
const argsObject = parseArgs(args);
|
|
418
|
+
const { modification, queryToken, unsubscribe } = this.state.subscribe(
|
|
419
|
+
name,
|
|
420
|
+
argsObject,
|
|
421
|
+
options?.journal,
|
|
422
|
+
options?.componentPath
|
|
423
|
+
);
|
|
424
|
+
if (modification !== null) {
|
|
425
|
+
this.webSocketManager.sendMessage(modification);
|
|
426
|
+
}
|
|
427
|
+
return {
|
|
428
|
+
queryToken,
|
|
429
|
+
unsubscribe: () => {
|
|
430
|
+
const modification2 = unsubscribe();
|
|
431
|
+
if (modification2) {
|
|
432
|
+
this.webSocketManager.sendMessage(modification2);
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* A query result based only on the current, local state.
|
|
439
|
+
*
|
|
440
|
+
* The only way this will return a value is if we're already subscribed to the
|
|
441
|
+
* query or its value has been set optimistically.
|
|
442
|
+
*/
|
|
443
|
+
localQueryResult(udfPath, args) {
|
|
444
|
+
const argsObject = parseArgs(args);
|
|
445
|
+
const queryToken = serializePathAndArgs(udfPath, argsObject);
|
|
446
|
+
return this.optimisticQueryResults.queryResult(queryToken);
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* Get query result by query token based on current, local state
|
|
450
|
+
*
|
|
451
|
+
* The only way this will return a value is if we're already subscribed to the
|
|
452
|
+
* query or its value has been set optimistically.
|
|
453
|
+
*
|
|
454
|
+
* @internal
|
|
455
|
+
*/
|
|
456
|
+
localQueryResultByToken(queryToken) {
|
|
457
|
+
return this.optimisticQueryResults.queryResult(queryToken);
|
|
458
|
+
}
|
|
459
|
+
/**
|
|
460
|
+
* Whether local query result is available for a token.
|
|
461
|
+
*
|
|
462
|
+
* This method does not throw if the result is an error.
|
|
463
|
+
*
|
|
464
|
+
* @internal
|
|
465
|
+
*/
|
|
466
|
+
hasLocalQueryResultByToken(queryToken) {
|
|
467
|
+
return this.optimisticQueryResults.hasQueryResult(queryToken);
|
|
468
|
+
}
|
|
469
|
+
/**
|
|
470
|
+
* @internal
|
|
471
|
+
*/
|
|
472
|
+
localQueryLogs(udfPath, args) {
|
|
473
|
+
const argsObject = parseArgs(args);
|
|
474
|
+
const queryToken = serializePathAndArgs(udfPath, argsObject);
|
|
475
|
+
return this.optimisticQueryResults.queryLogs(queryToken);
|
|
476
|
+
}
|
|
477
|
+
/**
|
|
478
|
+
* Retrieve the current {@link QueryJournal} for this query function.
|
|
479
|
+
*
|
|
480
|
+
* If we have not yet received a result for this query, this will be `undefined`.
|
|
481
|
+
*
|
|
482
|
+
* @param name - The name of the query.
|
|
483
|
+
* @param args - The arguments object for this query.
|
|
484
|
+
* @returns The query's {@link QueryJournal} or `undefined`.
|
|
485
|
+
*/
|
|
486
|
+
queryJournal(name, args) {
|
|
487
|
+
const argsObject = parseArgs(args);
|
|
488
|
+
const queryToken = serializePathAndArgs(name, argsObject);
|
|
489
|
+
return this.state.queryJournal(queryToken);
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* Get the current {@link ConnectionState} between the client and the Convex
|
|
493
|
+
* backend.
|
|
494
|
+
*
|
|
495
|
+
* @returns The {@link ConnectionState} with the Convex backend.
|
|
496
|
+
*/
|
|
497
|
+
connectionState() {
|
|
498
|
+
const wsConnectionState = this.webSocketManager.connectionState();
|
|
499
|
+
return {
|
|
500
|
+
hasInflightRequests: this.requestManager.hasInflightRequests(),
|
|
501
|
+
isWebSocketConnected: wsConnectionState.isConnected,
|
|
502
|
+
hasEverConnected: wsConnectionState.hasEverConnected,
|
|
503
|
+
connectionCount: wsConnectionState.connectionCount,
|
|
504
|
+
connectionRetries: wsConnectionState.connectionRetries,
|
|
505
|
+
timeOfOldestInflightRequest: this.requestManager.timeOfOldestInflightRequest(),
|
|
506
|
+
inflightMutations: this.requestManager.inflightMutations(),
|
|
507
|
+
inflightActions: this.requestManager.inflightActions()
|
|
508
|
+
};
|
|
509
|
+
}
|
|
510
|
+
/**
|
|
511
|
+
* Subscribe to the {@link ConnectionState} between the client and the Convex
|
|
512
|
+
* backend, calling a callback each time it changes.
|
|
513
|
+
*
|
|
514
|
+
* Subscribed callbacks will be called when any part of ConnectionState changes.
|
|
515
|
+
* ConnectionState may grow in future versions (e.g. to provide a array of
|
|
516
|
+
* inflight requests) in which case callbacks would be called more frequently.
|
|
517
|
+
*
|
|
518
|
+
* @returns An unsubscribe function to stop listening.
|
|
519
|
+
*/
|
|
520
|
+
subscribeToConnectionState(cb) {
|
|
521
|
+
const id = this.nextConnectionStateSubscriberId++;
|
|
522
|
+
this.connectionStateSubscribers.set(id, cb);
|
|
523
|
+
return () => {
|
|
524
|
+
this.connectionStateSubscribers.delete(id);
|
|
525
|
+
};
|
|
526
|
+
}
|
|
527
|
+
/**
|
|
528
|
+
* Execute a mutation function.
|
|
529
|
+
*
|
|
530
|
+
* @param name - The name of the mutation.
|
|
531
|
+
* @param args - An arguments object for the mutation. If this is omitted,
|
|
532
|
+
* the arguments will be `{}`.
|
|
533
|
+
* @param options - A {@link MutationOptions} options object for this mutation.
|
|
534
|
+
|
|
535
|
+
* @returns - A promise of the mutation's result.
|
|
536
|
+
*/
|
|
537
|
+
async mutation(name, args, options) {
|
|
538
|
+
const result = await this.mutationInternal(name, args, options);
|
|
539
|
+
if (!result.success) {
|
|
540
|
+
if (result.errorData !== void 0) {
|
|
541
|
+
throw forwardData(
|
|
542
|
+
result,
|
|
543
|
+
new ConvexError(
|
|
544
|
+
createHybridErrorStacktrace("mutation", name, result)
|
|
545
|
+
)
|
|
546
|
+
);
|
|
547
|
+
}
|
|
548
|
+
throw new Error(createHybridErrorStacktrace("mutation", name, result));
|
|
549
|
+
}
|
|
550
|
+
return result.value;
|
|
551
|
+
}
|
|
552
|
+
/**
|
|
553
|
+
* @internal
|
|
554
|
+
*/
|
|
555
|
+
async mutationInternal(udfPath, args, options, componentPath) {
|
|
556
|
+
const { mutationPromise } = this.enqueueMutation(
|
|
557
|
+
udfPath,
|
|
558
|
+
args,
|
|
559
|
+
options,
|
|
560
|
+
componentPath
|
|
561
|
+
);
|
|
562
|
+
return mutationPromise;
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* @internal
|
|
566
|
+
*/
|
|
567
|
+
enqueueMutation(udfPath, args, options, componentPath) {
|
|
568
|
+
const mutationArgs = parseArgs(args);
|
|
569
|
+
this.tryReportLongDisconnect();
|
|
570
|
+
const requestId = this.nextRequestId;
|
|
571
|
+
this._nextRequestId++;
|
|
572
|
+
if (options !== void 0) {
|
|
573
|
+
const optimisticUpdate = options.optimisticUpdate;
|
|
574
|
+
if (optimisticUpdate !== void 0) {
|
|
575
|
+
const wrappedUpdate = (localQueryStore) => {
|
|
576
|
+
const result = optimisticUpdate(
|
|
577
|
+
localQueryStore,
|
|
578
|
+
mutationArgs
|
|
579
|
+
);
|
|
580
|
+
if (result instanceof Promise) {
|
|
581
|
+
this.logger.warn(
|
|
582
|
+
"Optimistic update handler returned a Promise. Optimistic updates should be synchronous."
|
|
583
|
+
);
|
|
584
|
+
}
|
|
585
|
+
};
|
|
586
|
+
const changedQueryTokens = this.optimisticQueryResults.applyOptimisticUpdate(
|
|
587
|
+
wrappedUpdate,
|
|
588
|
+
requestId
|
|
589
|
+
);
|
|
590
|
+
const changedQueries = changedQueryTokens.map((token) => {
|
|
591
|
+
const localResult = this.localQueryResultByToken(token);
|
|
592
|
+
return {
|
|
593
|
+
token,
|
|
594
|
+
modification: {
|
|
595
|
+
kind: "Updated",
|
|
596
|
+
result: localResult === void 0 ? void 0 : {
|
|
597
|
+
success: true,
|
|
598
|
+
value: localResult,
|
|
599
|
+
logLines: []
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
};
|
|
603
|
+
});
|
|
604
|
+
this.handleTransition({
|
|
605
|
+
queries: changedQueries,
|
|
606
|
+
reflectedMutations: [],
|
|
607
|
+
timestamp: this.remoteQuerySet.timestamp()
|
|
608
|
+
});
|
|
609
|
+
}
|
|
610
|
+
}
|
|
611
|
+
const message = {
|
|
612
|
+
type: "Mutation",
|
|
613
|
+
requestId,
|
|
614
|
+
udfPath,
|
|
615
|
+
componentPath,
|
|
616
|
+
args: [convexToJson(mutationArgs)]
|
|
617
|
+
};
|
|
618
|
+
const mightBeSent = this.webSocketManager.sendMessage(message);
|
|
619
|
+
const mutationPromise = this.requestManager.request(message, mightBeSent);
|
|
620
|
+
return {
|
|
621
|
+
requestId,
|
|
622
|
+
mutationPromise
|
|
623
|
+
};
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* Execute an action function.
|
|
627
|
+
*
|
|
628
|
+
* @param name - The name of the action.
|
|
629
|
+
* @param args - An arguments object for the action. If this is omitted,
|
|
630
|
+
* the arguments will be `{}`.
|
|
631
|
+
* @returns A promise of the action's result.
|
|
632
|
+
*/
|
|
633
|
+
async action(name, args) {
|
|
634
|
+
const result = await this.actionInternal(name, args);
|
|
635
|
+
if (!result.success) {
|
|
636
|
+
if (result.errorData !== void 0) {
|
|
637
|
+
throw forwardData(
|
|
638
|
+
result,
|
|
639
|
+
new ConvexError(createHybridErrorStacktrace("action", name, result))
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
throw new Error(createHybridErrorStacktrace("action", name, result));
|
|
643
|
+
}
|
|
644
|
+
return result.value;
|
|
645
|
+
}
|
|
646
|
+
/**
|
|
647
|
+
* @internal
|
|
648
|
+
*/
|
|
649
|
+
async actionInternal(udfPath, args, componentPath) {
|
|
650
|
+
const actionArgs = parseArgs(args);
|
|
651
|
+
const requestId = this.nextRequestId;
|
|
652
|
+
this._nextRequestId++;
|
|
653
|
+
this.tryReportLongDisconnect();
|
|
654
|
+
const message = {
|
|
655
|
+
type: "Action",
|
|
656
|
+
requestId,
|
|
657
|
+
udfPath,
|
|
658
|
+
componentPath,
|
|
659
|
+
args: [convexToJson(actionArgs)]
|
|
660
|
+
};
|
|
661
|
+
const mightBeSent = this.webSocketManager.sendMessage(message);
|
|
662
|
+
return this.requestManager.request(message, mightBeSent);
|
|
663
|
+
}
|
|
664
|
+
/**
|
|
665
|
+
* Close any network handles associated with this client and stop all subscriptions.
|
|
666
|
+
*
|
|
667
|
+
* Call this method when you're done with an {@link BaseConvexClient} to
|
|
668
|
+
* dispose of its sockets and resources.
|
|
669
|
+
*
|
|
670
|
+
* @returns A `Promise` fulfilled when the connection has been completely closed.
|
|
671
|
+
*/
|
|
672
|
+
async close() {
|
|
673
|
+
this.authenticationManager.stop();
|
|
674
|
+
return this.webSocketManager.terminate();
|
|
675
|
+
}
|
|
676
|
+
/**
|
|
677
|
+
* Return the address for this client, useful for creating a new client.
|
|
678
|
+
*
|
|
679
|
+
* Not guaranteed to match the address with which this client was constructed:
|
|
680
|
+
* it may be canonicalized.
|
|
681
|
+
*/
|
|
682
|
+
get url() {
|
|
683
|
+
return this.address;
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* @internal
|
|
687
|
+
*/
|
|
688
|
+
get nextRequestId() {
|
|
689
|
+
return this._nextRequestId;
|
|
690
|
+
}
|
|
691
|
+
/**
|
|
692
|
+
* @internal
|
|
693
|
+
*/
|
|
694
|
+
get sessionId() {
|
|
695
|
+
return this._sessionId;
|
|
696
|
+
}
|
|
697
|
+
/**
|
|
698
|
+
* Reports performance marks to the server. This should only be called when
|
|
699
|
+
* we have a functional websocket.
|
|
700
|
+
*/
|
|
701
|
+
reportMarks() {
|
|
702
|
+
if (this.debug) {
|
|
703
|
+
const report = getMarksReport(this.sessionId);
|
|
704
|
+
this.webSocketManager.sendMessage({
|
|
705
|
+
type: "Event",
|
|
706
|
+
eventType: "ClientConnect",
|
|
707
|
+
event: report
|
|
708
|
+
});
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
tryReportLongDisconnect() {
|
|
712
|
+
if (!this.debug) {
|
|
713
|
+
return;
|
|
714
|
+
}
|
|
715
|
+
const timeOfOldestRequest = this.connectionState().timeOfOldestInflightRequest;
|
|
716
|
+
if (timeOfOldestRequest === null || Date.now() - timeOfOldestRequest.getTime() <= 60 * 1e3) {
|
|
717
|
+
return;
|
|
718
|
+
}
|
|
719
|
+
const endpoint = `${this.address}/api/debug_event`;
|
|
720
|
+
fetch(endpoint, {
|
|
721
|
+
method: "POST",
|
|
722
|
+
headers: {
|
|
723
|
+
"Content-Type": "application/json",
|
|
724
|
+
"Convex-Client": `npm-${version}`
|
|
725
|
+
},
|
|
726
|
+
body: JSON.stringify({ event: "LongWebsocketDisconnect" })
|
|
727
|
+
}).then((response) => {
|
|
728
|
+
if (!response.ok) {
|
|
729
|
+
this.logger.warn(
|
|
730
|
+
"Analytics request failed with response:",
|
|
731
|
+
response.body
|
|
732
|
+
);
|
|
733
|
+
}
|
|
734
|
+
}).catch((error) => {
|
|
735
|
+
this.logger.warn("Analytics response failed with error:", error);
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
}
|
|
739
|
+
//# sourceMappingURL=client.js.map
|