vibedoc 1.0.5 → 1.2.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/.next/BUILD_ID +1 -1
- package/.next/app-path-routes-manifest.json +2 -0
- package/.next/build-manifest.json +6 -6
- package/.next/prerender-manifest.json +27 -3
- package/.next/routes-manifest.json +12 -0
- package/.next/server/app/(app)/activity/page/build-manifest.json +4 -4
- package/.next/server/app/(app)/activity/page.js +1 -1
- package/.next/server/app/(app)/activity/page.js.nft.json +1 -1
- package/.next/server/app/(app)/activity/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/board/page/build-manifest.json +4 -4
- package/.next/server/app/(app)/board/page.js +1 -1
- package/.next/server/app/(app)/board/page.js.nft.json +1 -1
- package/.next/server/app/(app)/board/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/docs/page/build-manifest.json +4 -4
- package/.next/server/app/(app)/docs/page.js +1 -1
- package/.next/server/app/(app)/docs/page.js.nft.json +1 -1
- package/.next/server/app/(app)/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/explorer/page/app-paths-manifest.json +3 -0
- package/.next/server/app/(app)/explorer/page/build-manifest.json +17 -0
- package/.next/server/app/(app)/explorer/page/next-font-manifest.json +6 -0
- package/.next/server/app/(app)/explorer/page/react-loadable-manifest.json +9 -0
- package/.next/server/app/(app)/explorer/page/server-reference-manifest.json +4 -0
- package/.next/server/app/(app)/explorer/page.js +16 -0
- package/.next/server/app/(app)/explorer/page.js.map +5 -0
- package/.next/server/app/(app)/explorer/page.js.nft.json +1 -0
- package/.next/server/app/(app)/explorer/page_client-reference-manifest.js +2 -0
- package/.next/server/app/(app)/memory/page/build-manifest.json +4 -4
- package/.next/server/app/(app)/memory/page.js +1 -1
- package/.next/server/app/(app)/memory/page.js.nft.json +1 -1
- package/.next/server/app/(app)/memory/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/settings/page/build-manifest.json +4 -4
- package/.next/server/app/(app)/settings/page.js +1 -1
- package/.next/server/app/(app)/settings/page.js.nft.json +1 -1
- package/.next/server/app/(app)/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/(app)/setup/page/build-manifest.json +4 -4
- package/.next/server/app/(app)/setup/page.js +1 -1
- package/.next/server/app/(app)/setup/page.js.nft.json +1 -1
- package/.next/server/app/(app)/setup/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error/page/build-manifest.json +4 -4
- package/.next/server/app/_global-error/page.js +1 -1
- package/.next/server/app/_global-error/page.js.nft.json +1 -1
- package/.next/server/app/_global-error.html +2 -2
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_index.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found/page/build-manifest.json +4 -4
- package/.next/server/app/_not-found/page.js +1 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +2 -2
- package/.next/server/app/_not-found.segments/_full.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_head.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_index.segment.rsc +2 -2
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/activity.html +1 -1
- package/.next/server/app/activity.rsc +4 -4
- package/.next/server/app/activity.segments/!KGFwcCk/activity/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/activity.segments/!KGFwcCk/activity.segment.rsc +1 -1
- package/.next/server/app/activity.segments/!KGFwcCk.segment.rsc +2 -2
- package/.next/server/app/activity.segments/_full.segment.rsc +4 -4
- package/.next/server/app/activity.segments/_head.segment.rsc +1 -1
- package/.next/server/app/activity.segments/_index.segment.rsc +2 -2
- package/.next/server/app/activity.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/api/activity/route.js +1 -1
- package/.next/server/app/api/activity/route.js.nft.json +1 -1
- package/.next/server/app/api/backlinks/route.js +1 -1
- package/.next/server/app/api/backlinks/route.js.nft.json +1 -1
- package/.next/server/app/api/context/route.js +1 -1
- package/.next/server/app/api/context/route.js.nft.json +1 -1
- package/.next/server/app/api/decisions/route.js +1 -1
- package/.next/server/app/api/decisions/route.js.nft.json +1 -1
- package/.next/server/app/api/docs/route.js +1 -1
- package/.next/server/app/api/docs/route.js.nft.json +1 -1
- package/.next/server/app/api/explorer/route/app-paths-manifest.json +3 -0
- package/.next/server/app/api/explorer/route/build-manifest.json +11 -0
- package/.next/server/app/api/explorer/route/server-reference-manifest.json +4 -0
- package/.next/server/app/api/explorer/route.js +7 -0
- package/.next/server/app/api/explorer/route.js.map +5 -0
- package/.next/server/app/api/explorer/route.js.nft.json +1 -0
- package/.next/server/app/api/explorer/route_client-reference-manifest.js +2 -0
- package/.next/server/app/api/mcp/route.js +1 -1
- package/.next/server/app/api/mcp/route.js.nft.json +1 -1
- package/.next/server/app/api/memory/route.js +1 -1
- package/.next/server/app/api/memory/route.js.nft.json +1 -1
- package/.next/server/app/api/projects/route.js +1 -1
- package/.next/server/app/api/projects/route.js.nft.json +1 -1
- package/.next/server/app/api/settings/route.js +1 -1
- package/.next/server/app/api/settings/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/generate/route.js +1 -1
- package/.next/server/app/api/setup/generate/route.js.nft.json +1 -1
- package/.next/server/app/api/setup/write/route.js +1 -1
- package/.next/server/app/api/setup/write/route.js.nft.json +1 -1
- package/.next/server/app/api/summary/route.js +1 -1
- package/.next/server/app/api/summary/route.js.nft.json +1 -1
- package/.next/server/app/api/tasks/route.js +1 -1
- package/.next/server/app/api/tasks/route.js.nft.json +1 -1
- package/.next/server/app/board.html +1 -1
- package/.next/server/app/board.rsc +4 -4
- package/.next/server/app/board.segments/!KGFwcCk/board/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/board.segments/!KGFwcCk/board.segment.rsc +1 -1
- package/.next/server/app/board.segments/!KGFwcCk.segment.rsc +2 -2
- package/.next/server/app/board.segments/_full.segment.rsc +4 -4
- package/.next/server/app/board.segments/_head.segment.rsc +1 -1
- package/.next/server/app/board.segments/_index.segment.rsc +2 -2
- package/.next/server/app/board.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.rsc +4 -4
- package/.next/server/app/docs.segments/!KGFwcCk/docs/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/docs.segments/!KGFwcCk/docs.segment.rsc +1 -1
- package/.next/server/app/docs.segments/!KGFwcCk.segment.rsc +2 -2
- package/.next/server/app/docs.segments/_full.segment.rsc +4 -4
- package/.next/server/app/docs.segments/_head.segment.rsc +1 -1
- package/.next/server/app/docs.segments/_index.segment.rsc +2 -2
- package/.next/server/app/docs.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/explorer.html +1 -0
- package/.next/server/app/explorer.meta +16 -0
- package/.next/server/app/explorer.rsc +20 -0
- package/.next/server/app/explorer.segments/!KGFwcCk/explorer/__PAGE__.segment.rsc +9 -0
- package/.next/server/app/explorer.segments/!KGFwcCk/explorer.segment.rsc +4 -0
- package/.next/server/app/explorer.segments/!KGFwcCk.segment.rsc +7 -0
- package/.next/server/app/explorer.segments/_full.segment.rsc +20 -0
- package/.next/server/app/explorer.segments/_head.segment.rsc +5 -0
- package/.next/server/app/explorer.segments/_index.segment.rsc +5 -0
- package/.next/server/app/explorer.segments/_tree.segment.rsc +2 -0
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.rsc +2 -2
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/index.segments/_full.segment.rsc +2 -2
- package/.next/server/app/index.segments/_head.segment.rsc +1 -1
- package/.next/server/app/index.segments/_index.segment.rsc +2 -2
- package/.next/server/app/index.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/memory.html +1 -1
- package/.next/server/app/memory.rsc +4 -4
- package/.next/server/app/memory.segments/!KGFwcCk/memory/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/memory.segments/!KGFwcCk/memory.segment.rsc +1 -1
- package/.next/server/app/memory.segments/!KGFwcCk.segment.rsc +2 -2
- package/.next/server/app/memory.segments/_full.segment.rsc +4 -4
- package/.next/server/app/memory.segments/_head.segment.rsc +1 -1
- package/.next/server/app/memory.segments/_index.segment.rsc +2 -2
- package/.next/server/app/memory.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/page/build-manifest.json +4 -4
- package/.next/server/app/page.js +1 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.rsc +4 -4
- package/.next/server/app/settings.segments/!KGFwcCk/settings/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/settings.segments/!KGFwcCk/settings.segment.rsc +1 -1
- package/.next/server/app/settings.segments/!KGFwcCk.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_full.segment.rsc +4 -4
- package/.next/server/app/settings.segments/_head.segment.rsc +1 -1
- package/.next/server/app/settings.segments/_index.segment.rsc +2 -2
- package/.next/server/app/settings.segments/_tree.segment.rsc +2 -2
- package/.next/server/app/setup.html +1 -1
- package/.next/server/app/setup.rsc +4 -4
- package/.next/server/app/setup.segments/!KGFwcCk/setup/__PAGE__.segment.rsc +2 -2
- package/.next/server/app/setup.segments/!KGFwcCk/setup.segment.rsc +1 -1
- package/.next/server/app/setup.segments/!KGFwcCk.segment.rsc +2 -2
- package/.next/server/app/setup.segments/_full.segment.rsc +4 -4
- package/.next/server/app/setup.segments/_head.segment.rsc +1 -1
- package/.next/server/app/setup.segments/_index.segment.rsc +2 -2
- package/.next/server/app/setup.segments/_tree.segment.rsc +2 -2
- package/.next/server/app-paths-manifest.json +2 -0
- package/.next/server/chunks/39977_@anthropic-ai_sdk_index_mjs_b0ee562f._.js +30 -0
- package/.next/server/chunks/39977_@anthropic-ai_sdk_index_mjs_b0ee562f._.js.map +1 -0
- package/.next/server/chunks/[root-of-the-server]__0e51ee32._.js +2 -2
- package/.next/server/chunks/{[root-of-the-server]__4c3dfb3f._.js → [root-of-the-server]__1453b4c1._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__4c3dfb3f._.js.map → [root-of-the-server]__1453b4c1._.js.map} +1 -1
- package/.next/server/chunks/[root-of-the-server]__2bbe3bdc._.js +1 -1
- package/.next/server/chunks/[root-of-the-server]__2d66d57b._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__2d66d57b._.js.map +1 -0
- package/.next/server/chunks/{[root-of-the-server]__6e3e5106._.js → [root-of-the-server]__54666fd5._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__6e3e5106._.js.map → [root-of-the-server]__54666fd5._.js.map} +1 -1
- package/.next/server/chunks/[root-of-the-server]__73d016a0._.js +10 -8
- package/.next/server/chunks/[root-of-the-server]__73d016a0._.js.map +1 -1
- package/.next/server/chunks/{[root-of-the-server]__e613d0e1._.js → [root-of-the-server]__7a7e1eb1._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__e613d0e1._.js.map → [root-of-the-server]__7a7e1eb1._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__8bc3c77f._.js → [root-of-the-server]__8e790c7b._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__8bc3c77f._.js.map → [root-of-the-server]__8e790c7b._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__87ac3243._.js → [root-of-the-server]__9d1f6722._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__87ac3243._.js.map → [root-of-the-server]__9d1f6722._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__4a7ee700._.js → [root-of-the-server]__a0a8fb65._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__4a7ee700._.js.map → [root-of-the-server]__a0a8fb65._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__296062eb._.js → [root-of-the-server]__a7d932af._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__296062eb._.js.map → [root-of-the-server]__a7d932af._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__0e70f066._.js → [root-of-the-server]__a9dbcc03._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__0e70f066._.js.map → [root-of-the-server]__a9dbcc03._.js.map} +1 -1
- package/.next/server/chunks/[root-of-the-server]__aa7a40ec._.js +3 -0
- package/.next/server/chunks/[root-of-the-server]__aa7a40ec._.js.map +1 -0
- package/.next/server/chunks/{[root-of-the-server]__50ed178b._.js → [root-of-the-server]__bacbf09e._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__50ed178b._.js.map → [root-of-the-server]__bacbf09e._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__1bb30fa4._.js → [root-of-the-server]__bd44b8e4._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__1bb30fa4._.js.map → [root-of-the-server]__bd44b8e4._.js.map} +1 -1
- package/.next/server/chunks/{[root-of-the-server]__2127a831._.js → [root-of-the-server]__dfd36dc0._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__d35c92a2._.js → [root-of-the-server]__e27393ea._.js} +2 -2
- package/.next/server/chunks/{[root-of-the-server]__d35c92a2._.js.map → [root-of-the-server]__e27393ea._.js.map} +1 -1
- package/.next/server/chunks/_75927d0c._.js +2 -2
- package/.next/server/chunks/_75927d0c._.js.map +1 -1
- package/.next/server/chunks/_next-internal_server_app_api_explorer_route_actions_bca0ca55.js +3 -0
- package/.next/server/chunks/ssr/1ce3b_dagre-d3-es_src_dagre_index_f9cad90b.js +1 -1
- package/.next/server/chunks/ssr/4bd2e_mermaid_dist_chunks_mermaid_core_chunk-S3R3BYOJ_mjs_dfc77fcf._.js +1 -1
- package/.next/server/chunks/ssr/78921_y-codemirror_next_src_index_7664c743.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__eccfba1b._.js → [root-of-the-server]__0310d64d._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__992608ee._.js → [root-of-the-server]__599128b8._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__7ccd69b2._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__7ccd69b2._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__7de63c62._.js +3 -0
- package/.next/server/chunks/ssr/{[root-of-the-server]__68227521._.js → [root-of-the-server]__85b679c6._.js} +2 -2
- package/.next/server/chunks/ssr/{[root-of-the-server]__76f6d4b1._.js → [root-of-the-server]__8bc686d2._.js} +2 -2
- package/.next/server/chunks/ssr/[root-of-the-server]__93c50d95._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__93c50d95._.js.map +1 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__93f88b5d._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__c441b191._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__cb200ebe._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__95e9adf4._.js → [root-of-the-server]__e44bed76._.js} +2 -2
- package/.next/server/chunks/ssr/_0324be5b._.js +1 -1
- package/.next/server/chunks/ssr/_04bd0614._.js +1 -1
- package/.next/server/chunks/ssr/_07ff42fd._.js +1 -1
- package/.next/server/chunks/ssr/_0ee1f47f._.js +3 -0
- package/.next/server/chunks/ssr/_0ee1f47f._.js.map +1 -0
- package/.next/server/chunks/ssr/{_bd5a319c._.js → _102fd465._.js} +2 -2
- package/.next/server/chunks/ssr/_189227ea._.js +3 -0
- package/.next/server/chunks/ssr/_189227ea._.js.map +1 -0
- package/.next/server/chunks/ssr/_39d9968d._.js +1 -1
- package/.next/server/chunks/ssr/{_ae7d00da._.js → _42809286._.js} +2 -2
- package/.next/server/chunks/ssr/_42809286._.js.map +1 -0
- package/.next/server/chunks/ssr/_692c5bbf._.js +3 -0
- package/.next/server/chunks/ssr/_692c5bbf._.js.map +1 -0
- package/.next/server/chunks/ssr/_7b129868._.js +4 -0
- package/.next/server/chunks/ssr/_7b129868._.js.map +1 -0
- package/.next/server/chunks/ssr/_83c6a2ff._.js +1 -1
- package/.next/server/chunks/ssr/_85e5ab03._.js +1 -1
- package/.next/server/chunks/ssr/{_76a7817e._.js → _9f1b4c51._.js} +2 -2
- package/.next/server/chunks/ssr/_b4c946f7._.js +7 -0
- package/.next/server/chunks/ssr/_b4c946f7._.js.map +1 -0
- package/.next/server/chunks/ssr/_c4b742c5._.js +1 -1
- package/.next/server/chunks/ssr/_d411515a._.js +1 -1
- package/.next/server/chunks/ssr/_d411515a._.js.map +1 -1
- package/.next/server/chunks/ssr/_next-internal_server_app_(app)_explorer_page_actions_ab677b48.js +3 -0
- package/.next/server/chunks/ssr/a41dc_lucide-react_dist_esm_icons_folder_de463b3c.js +3 -0
- package/.next/server/chunks/ssr/a41dc_lucide-react_dist_esm_icons_folder_de463b3c.js.map +1 -0
- package/.next/server/chunks/ssr/a5dda_next_dist_bc8c0e5f._.js +1 -1
- package/.next/server/chunks/ssr/a5dda_next_dist_c6de1535._.js +1 -1
- package/.next/server/chunks/ssr/a5dda_next_dist_esm_build_templates_app-page_d9140d2d.js +1 -1
- package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_3288b441._.js → ec1cc_katex_dist_katex_mjs_9f7bcf4a._.js} +1 -1
- package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_425a6061._.js → ec1cc_katex_dist_katex_mjs_a9aca746._.js} +1 -1
- package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_4ad1d407._.js → ec1cc_katex_dist_katex_mjs_e7b66387._.js} +1 -1
- package/.next/server/chunks/ssr/ec1cc_katex_dist_katex_mjs_e7b66387._.js.map +1 -0
- package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_a5decdbd._.js → ec1cc_katex_dist_katex_mjs_e93914b8._.js} +1 -1
- package/.next/server/chunks/ssr/ec1cc_katex_dist_katex_mjs_e93914b8._.js.map +1 -0
- package/.next/server/chunks/ssr/fe4dd_lodash-es_092245b0._.js +1 -1
- package/.next/server/chunks/ssr/fe4dd_lodash-es_1a0ea541._.js +1 -1
- package/.next/server/chunks/ssr/fe4dd_lodash-es_2f02253e._.js +1 -1
- package/.next/server/chunks/ssr/fe4dd_lodash-es_59ba66ec._.js +1 -1
- package/.next/server/chunks/ssr/fe4dd_lodash-es_6dfac36d._.js +1 -1
- package/.next/server/chunks/ssr/fe4dd_lodash-es_dba464ad._.js +1 -1
- package/.next/server/chunks/ssr/fe4dd_lodash-es_fe91028b._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_36589973._.js → node_modules__pnpm_00962046._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_18a6956f._.js → node_modules__pnpm_016e62a5._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_1f5ea152._.js → node_modules__pnpm_0322e068._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_64d93795._.js → node_modules__pnpm_05da39c7._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_0824d495._.js → node_modules__pnpm_0631ec86._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_53deb29a._.js → node_modules__pnpm_06db4ba2._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_ed02d5fd._.js → node_modules__pnpm_076b3258._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_26ef6e45._.js → node_modules__pnpm_07f377f7._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_35bad3db._.js → node_modules__pnpm_08922392._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_92e09662._.js → node_modules__pnpm_08cf1858._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_91229d13._.js → node_modules__pnpm_0c377643._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_7236b70e._.js → node_modules__pnpm_0d80282c._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_8f54a47b._.js → node_modules__pnpm_135db8bc._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_6401925d._.js → node_modules__pnpm_140ed2b5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_654e9f55._.js → node_modules__pnpm_1790069e._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_7776e75c._.js → node_modules__pnpm_19e8c8a7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_00d5d273._.js → node_modules__pnpm_1c623592._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_65f639a6._.js → node_modules__pnpm_1dce0d3b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_9fc73610._.js → node_modules__pnpm_227802dc._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_69ce79eb._.js → node_modules__pnpm_240c58bb._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_56f72f59._.js → node_modules__pnpm_2871fff4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_49266b7a._.js → node_modules__pnpm_2b6ac74b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_b3313177._.js → node_modules__pnpm_2e011da0._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_f51396ca._.js → node_modules__pnpm_33344533._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_2cb73c16._.js → node_modules__pnpm_337eaf96._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_ce246e92._.js → node_modules__pnpm_3394b2c5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_5d0fe991._.js → node_modules__pnpm_3601c997._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_2843ef27._.js → node_modules__pnpm_36b5c2af._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_74b18e05._.js → node_modules__pnpm_39f460e8._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_e3ff2006._.js → node_modules__pnpm_3d378674._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_ddf26095._.js → node_modules__pnpm_3dd8e608._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_9a0807cb._.js → node_modules__pnpm_3f2cce74._.js} +1 -1
- package/.next/server/chunks/ssr/node_modules__pnpm_3f505455._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_f07d4655._.js → node_modules__pnpm_423baddc._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_783da796._.js → node_modules__pnpm_42d2c2d2._.js} +2 -2
- package/.next/server/chunks/ssr/node_modules__pnpm_44b70609._.js +3 -0
- package/.next/server/chunks/ssr/node_modules__pnpm_44b70609._.js.map +1 -0
- package/.next/server/chunks/ssr/{node_modules__pnpm_a1c07e23._.js → node_modules__pnpm_45bf67c8._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_9475a5cd._.js → node_modules__pnpm_474a3a70._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_fe5653a5._.js → node_modules__pnpm_4cc41a2c._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_46929561._.js → node_modules__pnpm_4d03e476._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_8a892ffe._.js → node_modules__pnpm_4edcc2cf._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_1ee22148._.js → node_modules__pnpm_55b7a1cf._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_80943308._.js → node_modules__pnpm_5768848c._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_e935c4b3._.js → node_modules__pnpm_5c59b1ad._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_9809673a._.js → node_modules__pnpm_60fef38e._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_63673d29._.js → node_modules__pnpm_63a4a328._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_73162680._.js → node_modules__pnpm_67f40799._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_04663715._.js → node_modules__pnpm_688ab9b4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_f3ce4f57._.js → node_modules__pnpm_6947736b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_ba4c8074._.js → node_modules__pnpm_6a7ed592._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_fc5a6422._.js → node_modules__pnpm_6c9a5a96._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_fb007933._.js → node_modules__pnpm_70a08cdf._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_f443637f._.js → node_modules__pnpm_72235a6a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_3bca6321._.js → node_modules__pnpm_754137d0._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_590ecf69._.js → node_modules__pnpm_75690281._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_b91727a9._.js → node_modules__pnpm_75846ac9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_178f3e64._.js → node_modules__pnpm_76204895._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_36cec4c0._.js → node_modules__pnpm_790c3b2e._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_c7820c3e._.js → node_modules__pnpm_7a101d07._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_e7e5a8a1._.js → node_modules__pnpm_7ca85e0d._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_80210e53._.js → node_modules__pnpm_7de47ba7._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_1d5914b6._.js → node_modules__pnpm_7e98d14b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_e174e2e8._.js → node_modules__pnpm_8036c25f._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_4ca42aad._.js → node_modules__pnpm_85de6da6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_91da4efe._.js → node_modules__pnpm_87d282d9._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_f36ad4ee._.js → node_modules__pnpm_8a0f76d5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_acf470f2._.js → node_modules__pnpm_8b3ed63a._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_1ee08ad7._.js → node_modules__pnpm_8ba721df._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_2997113c._.js → node_modules__pnpm_8c13bdb7._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_f9f710c6._.js → node_modules__pnpm_8f8943af._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_293bea2a._.js → node_modules__pnpm_91a9fe44._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_6f25e5fd._.js → node_modules__pnpm_928932b1._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_12d18ed0._.js → node_modules__pnpm_93144bce._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_c6c36138._.js → node_modules__pnpm_96c7344a._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_aeaaa130._.js → node_modules__pnpm_9927b752._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_2003b884._.js → node_modules__pnpm_9cdea683._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_d0000990._.js → node_modules__pnpm_9ce450a4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_83e28ce4._.js → node_modules__pnpm_9e807a6c._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_8ab73142._.js → node_modules__pnpm_a23a1417._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_ab058528._.js → node_modules__pnpm_a4a74805._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_9a0d7b74._.js → node_modules__pnpm_a714825b._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_845c2200._.js → node_modules__pnpm_aec9b3d2._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_060aaf47._.js → node_modules__pnpm_b18e7d84._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_3e3b1d5c._.js → node_modules__pnpm_b2c6ca72._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_e1568f72._.js → node_modules__pnpm_b50ae8f6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_daf0ef2f._.js → node_modules__pnpm_b6b9de46._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_f67832c7._.js → node_modules__pnpm_ba838a36._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_6ee95c66._.js → node_modules__pnpm_c278eaac._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_c82324ae._.js → node_modules__pnpm_c39c9496._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_cce8cd76._.js → node_modules__pnpm_c402a901._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_37e82b68._.js → node_modules__pnpm_c7ca55c9._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_e8b810b3._.js → node_modules__pnpm_cd59b8c6._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_37c400e7._.js → node_modules__pnpm_d1c050d4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_390f259c._.js → node_modules__pnpm_d6cd0cb1._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_3c2d8fca._.js → node_modules__pnpm_d75e5d41._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_3f847f2e._.js → node_modules__pnpm_db2dceff._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_546559ff._.js → node_modules__pnpm_df7dcb26._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_f3196af3._.js → node_modules__pnpm_e70a06f1._.js} +2 -2
- package/.next/server/chunks/ssr/{node_modules__pnpm_dc31ca88._.js → node_modules__pnpm_ebfee6f4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_1cc7c453._.js → node_modules__pnpm_f505d304._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_589ffaf2._.js → node_modules__pnpm_f6f51e7a._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_7774ae26._.js → node_modules__pnpm_f77bb209._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules__pnpm_2a8998cb._.js → node_modules__pnpm_fa1f464c._.js} +2 -2
- package/.next/server/middleware-build-manifest.js +4 -4
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +2 -2
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/0b640fa39aac2219.js +1 -0
- package/.next/static/chunks/0ef3e14dc942367c.js +1 -0
- package/.next/static/chunks/13bdd4e22dd90816.js +1 -0
- package/.next/static/chunks/{1ed5d145167d8eb4.js → 1ef8bf79adc2568f.js} +5 -5
- package/.next/static/chunks/{12a5f59c97d227db.js → 25d2e746e06b38ba.js} +1 -1
- package/.next/static/chunks/{811bb9b4cd1b0f6c.js → 316cd4755f253783.js} +1 -1
- package/.next/static/chunks/31fae4c58073753b.js +1 -0
- package/.next/static/chunks/351fac2d373f6f38.js +1 -0
- package/.next/static/chunks/429961c8e82cfbcb.css +1 -0
- package/.next/static/chunks/{f4c865657080088e.js → 452e1bb12e7f0b85.js} +3 -3
- package/.next/static/chunks/4a40b1a0e0d1d36e.js +29 -0
- package/.next/static/chunks/{b0aaf0c52bbe6d4b.js → 5066c1dec89e3cb6.js} +1 -1
- package/.next/static/chunks/{70d2c49686d63e40.js → 519aa8080f20453e.js} +1 -1
- package/.next/static/chunks/{02e429858f990849.js → 55ab99ffa8724197.js} +1 -1
- package/.next/static/chunks/55fe2639abb9cd1a.js +2 -0
- package/.next/static/chunks/63e6313e09a72507.js +43 -0
- package/.next/static/chunks/6f01f5fee0eb2f66.js +1 -0
- package/.next/static/chunks/6fc607e12ff4f9cc.js +215 -0
- package/.next/static/chunks/752c6435ac86719d.js +2 -0
- package/.next/static/chunks/8034834601bf13d7.js +1 -0
- package/.next/static/chunks/825ae09010d35407.js +5 -0
- package/.next/static/chunks/8b98ae3ee4dbcfd1.js +2 -0
- package/.next/static/chunks/a8d5f5dc2688fe30.js +1 -0
- package/.next/static/chunks/aad224af68aad5fb.js +4 -0
- package/.next/static/chunks/b32c8cafb0f99121.js +24 -0
- package/.next/static/chunks/c224fce458bb43f9.js +1 -0
- package/.next/static/chunks/c6c6b3aa4797a144.js +1 -0
- package/.next/static/chunks/c7596c95b8f7f059.js +1 -0
- package/.next/static/chunks/cf9345359d04d2e9.js +63 -0
- package/.next/static/chunks/{ceda9387e8da4ba3.js → db20ec18c9fde107.js} +4 -4
- package/.next/static/chunks/e6164bb2a2fa9b00.js +1 -0
- package/.next/static/chunks/e7aa622fd3384345.js +2 -0
- package/.next/static/chunks/ed565e62e468fa30.js +24 -0
- package/.next/static/chunks/{0bbe3dc32a2a7822.js → fcc2b1530d73e61e.js} +1 -1
- package/.next/static/chunks/{turbopack-525ea573490deca2.js → turbopack-2835ad6e71df73d8.js} +1 -1
- package/package.json +4 -1
- package/.next/server/chunks/[root-of-the-server]__bab47fec._.js +0 -3
- package/.next/server/chunks/[root-of-the-server]__bab47fec._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__868f1e91._.js +0 -3
- package/.next/server/chunks/ssr/[root-of-the-server]__868f1e91._.js.map +0 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__ac9646b5._.js +0 -3
- package/.next/server/chunks/ssr/_ae7d00da._.js.map +0 -1
- package/.next/server/chunks/ssr/_c022dd84._.js +0 -7
- package/.next/server/chunks/ssr/_c022dd84._.js.map +0 -1
- package/.next/server/chunks/ssr/_e18b7893._.js +0 -3
- package/.next/server/chunks/ssr/_e18b7893._.js.map +0 -1
- package/.next/server/chunks/ssr/node_modules__pnpm_b1ee847f._.js +0 -3
- package/.next/server/chunks/ssr/node_modules__pnpm_b1ee847f._.js.map +0 -1
- package/.next/static/chunks/06f9a2970e917f08.css +0 -1
- package/.next/static/chunks/0bf088d94c6c3d7f.js +0 -1
- package/.next/static/chunks/12cf98019a766d56.js +0 -2
- package/.next/static/chunks/37bedd3bd7f576a5.js +0 -1
- package/.next/static/chunks/5051111686a30794.js +0 -24
- package/.next/static/chunks/575ff595808bef08.js +0 -29
- package/.next/static/chunks/57eb6d643a88d201.js +0 -1
- package/.next/static/chunks/70a4b574c7f36373.js +0 -1
- package/.next/static/chunks/733b3612e3f34157.js +0 -5
- package/.next/static/chunks/73ecac2771f5a28f.js +0 -2
- package/.next/static/chunks/7cdf6785100b30b4.js +0 -1
- package/.next/static/chunks/962586ff4bc6af4f.js +0 -1
- package/.next/static/chunks/aaa492e282370bc6.js +0 -43
- package/.next/static/chunks/b07c7aa5dcbca335.js +0 -2
- package/.next/static/chunks/b43b33637f3f9958.js +0 -215
- package/.next/static/chunks/c1ea939eac9e0ef7.js +0 -2
- package/.next/static/chunks/c855ae74bfce8619.js +0 -63
- package/.next/static/chunks/d449b90c60422759.js +0 -1
- package/.next/static/chunks/d4eb6ab4605bef88.js +0 -4
- package/.next/static/chunks/d6bceca87929c840.js +0 -24
- package/.next/static/chunks/eeb1ca1094488ae7.js +0 -1
- /package/.next/server/chunks/{[root-of-the-server]__2127a831._.js.map → [root-of-the-server]__dfd36dc0._.js.map} +0 -0
- /package/.next/server/chunks/{ssr/ec1cc_katex_dist_katex_mjs_3288b441._.js.map → _next-internal_server_app_api_explorer_route_actions_bca0ca55.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__68227521._.js.map → [root-of-the-server]__0310d64d._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__992608ee._.js.map → [root-of-the-server]__599128b8._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__ac9646b5._.js.map → [root-of-the-server]__7de63c62._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__76f6d4b1._.js.map → [root-of-the-server]__85b679c6._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__95e9adf4._.js.map → [root-of-the-server]__8bc686d2._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{[root-of-the-server]__eccfba1b._.js.map → [root-of-the-server]__e44bed76._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{_bd5a319c._.js.map → _102fd465._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{_76a7817e._.js.map → _9f1b4c51._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_425a6061._.js.map → _next-internal_server_app_(app)_explorer_page_actions_ab677b48.js.map} +0 -0
- /package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_4ad1d407._.js.map → ec1cc_katex_dist_katex_mjs_9f7bcf4a._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{ec1cc_katex_dist_katex_mjs_a5decdbd._.js.map → ec1cc_katex_dist_katex_mjs_a9aca746._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_2a8998cb._.js.map → node_modules__pnpm_00962046._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_18a6956f._.js.map → node_modules__pnpm_016e62a5._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_1f5ea152._.js.map → node_modules__pnpm_0322e068._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_3c2d8fca._.js.map → node_modules__pnpm_05da39c7._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_0824d495._.js.map → node_modules__pnpm_0631ec86._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_53deb29a._.js.map → node_modules__pnpm_06db4ba2._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_46929561._.js.map → node_modules__pnpm_076b3258._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_26ef6e45._.js.map → node_modules__pnpm_07f377f7._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_35bad3db._.js.map → node_modules__pnpm_08922392._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_1d5914b6._.js.map → node_modules__pnpm_08cf1858._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_060aaf47._.js.map → node_modules__pnpm_0c377643._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_590ecf69._.js.map → node_modules__pnpm_0d80282c._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_8f54a47b._.js.map → node_modules__pnpm_135db8bc._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_3f847f2e._.js.map → node_modules__pnpm_140ed2b5._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_12d18ed0._.js.map → node_modules__pnpm_1790069e._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_7776e75c._.js.map → node_modules__pnpm_19e8c8a7._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_00d5d273._.js.map → node_modules__pnpm_1c623592._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_1cc7c453._.js.map → node_modules__pnpm_1dce0d3b._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_589ffaf2._.js.map → node_modules__pnpm_227802dc._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_64d93795._.js.map → node_modules__pnpm_240c58bb._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_56f72f59._.js.map → node_modules__pnpm_2871fff4._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_2997113c._.js.map → node_modules__pnpm_2b6ac74b._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_b3313177._.js.map → node_modules__pnpm_2e011da0._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_69ce79eb._.js.map → node_modules__pnpm_33344533._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_2cb73c16._.js.map → node_modules__pnpm_337eaf96._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_ce246e92._.js.map → node_modules__pnpm_3394b2c5._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_546559ff._.js.map → node_modules__pnpm_3601c997._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_04663715._.js.map → node_modules__pnpm_36b5c2af._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_2003b884._.js.map → node_modules__pnpm_39f460e8._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_e3ff2006._.js.map → node_modules__pnpm_3d378674._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_74b18e05._.js.map → node_modules__pnpm_3dd8e608._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_65f639a6._.js.map → node_modules__pnpm_3f2cce74._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_3bca6321._.js.map → node_modules__pnpm_423baddc._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_1ee08ad7._.js.map → node_modules__pnpm_42d2c2d2._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_783da796._.js.map → node_modules__pnpm_45bf67c8._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_390f259c._.js.map → node_modules__pnpm_474a3a70._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_fe5653a5._.js.map → node_modules__pnpm_4cc41a2c._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_7236b70e._.js.map → node_modules__pnpm_4d03e476._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_178f3e64._.js.map → node_modules__pnpm_4edcc2cf._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_1ee22148._.js.map → node_modules__pnpm_55b7a1cf._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_293bea2a._.js.map → node_modules__pnpm_5768848c._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_3e3b1d5c._.js.map → node_modules__pnpm_5c59b1ad._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_9809673a._.js.map → node_modules__pnpm_60fef38e._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_37e82b68._.js.map → node_modules__pnpm_63a4a328._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_2843ef27._.js.map → node_modules__pnpm_67f40799._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_73162680._.js.map → node_modules__pnpm_688ab9b4._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f3ce4f57._.js.map → node_modules__pnpm_6947736b._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_63673d29._.js.map → node_modules__pnpm_6a7ed592._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_fc5a6422._.js.map → node_modules__pnpm_6c9a5a96._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_ba4c8074._.js.map → node_modules__pnpm_70a08cdf._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_e935c4b3._.js.map → node_modules__pnpm_72235a6a._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_aeaaa130._.js.map → node_modules__pnpm_754137d0._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_ed02d5fd._.js.map → node_modules__pnpm_75690281._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_654e9f55._.js.map → node_modules__pnpm_75846ac9._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_4ca42aad._.js.map → node_modules__pnpm_76204895._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_36cec4c0._.js.map → node_modules__pnpm_790c3b2e._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_7774ae26._.js.map → node_modules__pnpm_7a101d07._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_e7e5a8a1._.js.map → node_modules__pnpm_7ca85e0d._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_5d0fe991._.js.map → node_modules__pnpm_7de47ba7._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_92e09662._.js.map → node_modules__pnpm_7e98d14b._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_8ab73142._.js.map → node_modules__pnpm_8036c25f._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_8a892ffe._.js.map → node_modules__pnpm_85de6da6._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_91da4efe._.js.map → node_modules__pnpm_87d282d9._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_b91727a9._.js.map → node_modules__pnpm_8a0f76d5._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_acf470f2._.js.map → node_modules__pnpm_8b3ed63a._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_a1c07e23._.js.map → node_modules__pnpm_8ba721df._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_37c400e7._.js.map → node_modules__pnpm_8c13bdb7._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f9f710c6._.js.map → node_modules__pnpm_8f8943af._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_80943308._.js.map → node_modules__pnpm_91a9fe44._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_36589973._.js.map → node_modules__pnpm_928932b1._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f36ad4ee._.js.map → node_modules__pnpm_93144bce._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_c6c36138._.js.map → node_modules__pnpm_96c7344a._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f07d4655._.js.map → node_modules__pnpm_9927b752._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_ddf26095._.js.map → node_modules__pnpm_9cdea683._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_91229d13._.js.map → node_modules__pnpm_9ce450a4._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_83e28ce4._.js.map → node_modules__pnpm_9e807a6c._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_e174e2e8._.js.map → node_modules__pnpm_a23a1417._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_ab058528._.js.map → node_modules__pnpm_a4a74805._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_9a0d7b74._.js.map → node_modules__pnpm_a714825b._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_845c2200._.js.map → node_modules__pnpm_aec9b3d2._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_d0000990._.js.map → node_modules__pnpm_b18e7d84._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f443637f._.js.map → node_modules__pnpm_b2c6ca72._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_c7820c3e._.js.map → node_modules__pnpm_b50ae8f6._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_49266b7a._.js.map → node_modules__pnpm_b6b9de46._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f67832c7._.js.map → node_modules__pnpm_ba838a36._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_6ee95c66._.js.map → node_modules__pnpm_c278eaac._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_6401925d._.js.map → node_modules__pnpm_c39c9496._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_9a0807cb._.js.map → node_modules__pnpm_c402a901._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_fb007933._.js.map → node_modules__pnpm_c7ca55c9._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_e8b810b3._.js.map → node_modules__pnpm_cd59b8c6._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_daf0ef2f._.js.map → node_modules__pnpm_d1c050d4._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_9475a5cd._.js.map → node_modules__pnpm_d6cd0cb1._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f51396ca._.js.map → node_modules__pnpm_d75e5d41._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_c82324ae._.js.map → node_modules__pnpm_db2dceff._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_80210e53._.js.map → node_modules__pnpm_df7dcb26._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_f3196af3._.js.map → node_modules__pnpm_e70a06f1._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_dc31ca88._.js.map → node_modules__pnpm_ebfee6f4._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_cce8cd76._.js.map → node_modules__pnpm_f505d304._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_9fc73610._.js.map → node_modules__pnpm_f6f51e7a._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_e1568f72._.js.map → node_modules__pnpm_f77bb209._.js.map} +0 -0
- /package/.next/server/chunks/ssr/{node_modules__pnpm_6f25e5fd._.js.map → node_modules__pnpm_fa1f464c._.js.map} +0 -0
- /package/.next/static/{byIy1XPPF_OGj4sBayLnJ → T1s0QXbWFmXxNEuUL4myK}/_buildManifest.js +0 -0
- /package/.next/static/{byIy1XPPF_OGj4sBayLnJ → T1s0QXbWFmXxNEuUL4myK}/_clientMiddlewareManifest.json +0 -0
- /package/.next/static/{byIy1XPPF_OGj4sBayLnJ → T1s0QXbWFmXxNEuUL4myK}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,77123,t=>{"use strict";var e=t.i(13759);t.s(["forEach",()=>e.default])},85898,9235,t=>{"use strict";var e=t.i(17242);let i=function(t){return(null==t?0:t.length)?(0,e.default)(t,1):[]};t.s(["default",0,i],9235),t.s(["flatten",0,i],85898)},80792,86587,34197,93776,t=>{"use strict";var e=t.i(1912),i=t.i(75811),s=t.i(32505),r=t.i(42125);let n=function(t,e){var i=-1,n=(0,r.default)(t)?Array(t.length):[];return(0,s.default)(t,function(t,s,r){n[++i]=e(t,s,r)}),n};t.s(["default",0,n],86587);var a=t.i(94878);let o=function(t,s){return((0,a.default)(t)?e.default:n)(t,(0,i.default)(s,3))};t.s(["default",0,o],34197),t.s(["map",0,o],80792);var l=/\s/;let d=function(t){for(var e=t.length;e--&&l.test(t.charAt(e)););return e};var c=/^\s+/,h=t.i(91947),u=t.i(85647),g=0/0,p=/^[-+]0x[0-9a-f]+$/i,f=/^0b[01]+$/i,_=/^0o[0-7]+$/i,y=parseInt;let m=function(t){if("number"==typeof t)return t;if((0,u.default)(t))return g;if((0,h.default)(t)){var e,i="function"==typeof t.valueOf?t.valueOf():t;t=(0,h.default)(i)?i+"":i}if("string"!=typeof t)return 0===t?t:+t;t=(e=t)?e.slice(0,d(e)+1).replace(c,""):e;var s=f.test(t);return s||_.test(t)?y(t.slice(2),s?2:8):p.test(t)?g:+t};var S=1/0;t.s(["default",0,function(t){return t?(t=m(t))===S||t===-S?(t<0?-1:1)*17976931348623157e292:t==t?t:0:0===t?t:0}],93776)},95790,t=>{"use strict";var e=t.i(88098),i=t.i(22523),s=t.i(43768),r=t.i(98546),n=t.i(91947),a=t.i(23925);let o=function(t,e,o,l){if(!(0,n.default)(t))return t;e=(0,s.default)(e,t);for(var d=-1,c=e.length,h=c-1,u=t;null!=u&&++d<c;){var g=(0,a.default)(e[d]),p=o;if("__proto__"===g||"constructor"===g||"prototype"===g)break;if(d!=h){var f=u[g];void 0===(p=l?l(f,g,u):void 0)&&(p=(0,n.default)(f)?f:(0,r.default)(e[d+1])?[]:{})}(0,i.default)(u,g,p),u=u[g]}return t};t.s(["default",0,function(t,i,r){for(var n=-1,a=i.length,l={};++n<a;){var d=i[n],c=(0,e.default)(t,d);r(c,d)&&o(l,(0,s.default)(d,t),c)}return l}],95790)},83511,t=>{"use strict";var e=t.i(68464),i=t.i(7693),s=t.i(52056),r=t.i(65218),n=Object.prototype,a=n.hasOwnProperty,o=(0,e.default)(function(t,e){t=Object(t);var o=-1,l=e.length,d=l>2?e[2]:void 0;for(d&&(0,s.default)(e[0],e[1],d)&&(l=1);++o<l;)for(var c=e[o],h=(0,r.default)(c),u=-1,g=h.length;++u<g;){var p=h[u],f=t[p];(void 0===f||(0,i.default)(f,n[p])&&!a.call(t,p))&&(t[p]=c[p])}return t});t.s(["defaults",0,o],83511)},22279,t=>{"use strict";var e=t.i(85647);t.s(["default",0,function(t,i,s){for(var r=-1,n=t.length;++r<n;){var a=t[r],o=i(a);if(null!=o&&(void 0===l?o==o&&!(0,e.default)(o):s(o,l)))var l=o,d=a}return d}])},31490,t=>{"use strict";t.s(["last",0,function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}],31490)},99517,85639,t=>{"use strict";var e=t.i(22279);let i=function(t,e){return t<e};t.s(["default",0,i],85639);var s=t.i(16481);t.s(["default",0,function(t){return t&&t.length?(0,e.default)(t,s.default,i):void 0}],99517)},7263,t=>{"use strict";var e=Object.prototype.hasOwnProperty;let i=function(t,i){return null!=t&&e.call(t,i)};var s=t.i(40160);t.s(["has",0,function(t,e){return null!=t&&(0,s.default)(t,e,i)}],7263)},83375,t=>{"use strict";var e=t.i(75811),i=t.i(42125),s=t.i(26054);t.s(["default",0,function(t){return function(r,n,a){var o=Object(r);if(!(0,i.default)(r)){var l=(0,e.default)(n,3);r=(0,s.default)(r),n=function(t){return l(o[t],t,o)}}var d=t(r,n,a);return d>-1?o[l?r[d]:d]:void 0}}])},40439,t=>{"use strict";var e=t.i(93776);t.s(["default",0,function(t){var i=(0,e.default)(t),s=i%1;return i==i?s?i-s:i:0}])},18573,t=>{"use strict";var e=t.i(83375),i=t.i(78562),s=t.i(75811),r=t.i(40439),n=Math.max,a=(0,e.default)(function(t,e,a){var o=null==t?0:t.length;if(!o)return -1;var l=null==a?0:(0,r.default)(a);return l<0&&(l=n(o+l,0)),(0,i.default)(t,(0,s.default)(e,3),l)});t.s(["find",0,a],18573)},28709,t=>{"use strict";var e=t.i(24277),i=t.i(94878),s=t.i(24904);t.s(["default",0,function(t){return"string"==typeof t||!(0,i.default)(t)&&(0,s.default)(t)&&"[object String]"==(0,e.default)(t)}])},41929,t=>{"use strict";var e=t.i(94878);t.s(["isArray",()=>e.default])},55057,t=>{"use strict";var e=t.i(39467),i=t.i(31195),s=(0,i.__name)((t,s,a,o)=>{t.attr("class",a);let{width:l,height:d,x:c,y:h}=r(t,s);(0,e.configureSvgSize)(t,d,l,o);let u=n(c,h,l,d,s);t.attr("viewBox",u),i.log.debug(`viewBox configured: ${u} with padding: ${s}`)},"setupViewPortForSVG"),r=(0,i.__name)((t,e)=>{let i=t.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:i.width+2*e,height:i.height+2*e,x:i.x,y:i.y}},"calculateDimensionsWithPadding"),n=(0,i.__name)((t,e,i,s,r)=>`${t-r} ${e-r} ${i} ${s}`,"createViewBox");t.s(["setupViewPortForSVG",()=>s])},111,t=>{"use strict";var e=t.i(31195);t.i(91577);var i=t.i(92423),s=(0,e.__name)((t,e)=>{let s;return"sandbox"===e&&(s=(0,i.select)("#i"+t)),("sandbox"===e?(0,i.select)(s.nodes()[0].contentDocument.body):(0,i.select)("body")).select(`[id="${t}"]`)},"getDiagramElement");t.s(["getDiagramElement",()=>s])},52483,53282,45365,61210,t=>{"use strict";var e=t.i(62511);t.s(["constant",()=>e.default],53282);var e=e,i=t.i(26152),s=t.i(83757),r=t.i(70473),n=t.i(93182),a=t.i(13759);t.s(["each",()=>a.default],45365);var a=a,o=t.i(57030),l=t.i(17242),d=t.i(68464),c=t.i(85435),h=t.i(29536),u=(0,d.default)(function(t){return(0,c.default)((0,l.default)(t,1,h.default,!0))}),g=t.i(57623),p=t.i(78031);class f{constructor(t={}){this._isDirected=!Object.prototype.hasOwnProperty.call(t,"directed")||t.directed,this._isMultigraph=!!Object.prototype.hasOwnProperty.call(t,"multigraph")&&t.multigraph,this._isCompound=!!Object.prototype.hasOwnProperty.call(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=e.default(void 0),this._defaultEdgeLabelFn=e.default(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children["\0"]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return i.isFunction(t)||(t=e.default(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return s.keys(this._nodes)}sources(){var t=this;return r.filter(this.nodes(),function(e){return n.isEmpty(t._in[e])})}sinks(){var t=this;return r.filter(this.nodes(),function(e){return n.isEmpty(t._out[e])})}setNodes(t,e){var i=arguments,s=this;return a.default(t,function(t){i.length>1?s.setNode(t,e):s.setNode(t)}),this}setNode(t,e){return Object.prototype.hasOwnProperty.call(this._nodes,t)?arguments.length>1&&(this._nodes[t]=e):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]="\0",this._children[t]={},this._children["\0"][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount),this}node(t){return this._nodes[t]}hasNode(t){return Object.prototype.hasOwnProperty.call(this._nodes,t)}removeNode(t){if(Object.prototype.hasOwnProperty.call(this._nodes,t)){var e=t=>this.removeEdge(this._edgeObjs[t]);delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],a.default(this.children(t),t=>{this.setParent(t)}),delete this._children[t]),a.default(s.keys(this._in[t]),e),delete this._in[t],delete this._preds[t],a.default(s.keys(this._out[t]),e),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw Error("Cannot set parent in a non-compound graph");if(o.isUndefined(e))e="\0";else{e+="";for(var i=e;!o.isUndefined(i);i=this.parent(i))if(i===t)throw Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if("\0"!==e)return e}}children(t){if(o.isUndefined(t)&&(t="\0"),this._isCompound){var e=this._children[t];if(e)return s.keys(e)}else if("\0"===t)return this.nodes();else if(this.hasNode(t))return[]}predecessors(t){var e=this._preds[t];if(e)return s.keys(e)}successors(t){var e=this._sucs[t];if(e)return s.keys(e)}neighbors(t){var e=this.predecessors(t);if(e)return u(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var i=this;a.default(this._nodes,function(i,s){t(s)&&e.setNode(s,i)}),a.default(this._edgeObjs,function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,i.edge(t))});var s={};return this._isCompound&&a.default(e.nodes(),function(t){e.setParent(t,function t(r){var n=i.parent(r);return void 0===n||e.hasNode(n)?(s[r]=n,n):n in s?s[n]:t(n)}(t))}),e}setDefaultEdgeLabel(t){return i.isFunction(t)||(t=e.default(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return g.values(this._edgeObjs)}setPath(t,e){var i=this,s=arguments;return p.reduce(t,function(t,r){return s.length>1?i.setEdge(t,r,e):i.setEdge(t,r),r}),this}setEdge(){var t,e,i,s,r=!1,n=arguments[0];"object"==typeof n&&null!==n&&"v"in n?(t=n.v,e=n.w,i=n.name,2==arguments.length&&(s=arguments[1],r=!0)):(t=n,e=arguments[1],i=arguments[3],arguments.length>2&&(s=arguments[2],r=!0)),t=""+t,e=""+e,o.isUndefined(i)||(i=""+i);var a=m(this._isDirected,t,e,i);if(Object.prototype.hasOwnProperty.call(this._edgeLabels,a))return r&&(this._edgeLabels[a]=s),this;if(!o.isUndefined(i)&&!this._isMultigraph)throw Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[a]=r?s:this._defaultEdgeLabelFn(t,e,i);var l=function(t,e,i,s){var r=""+e,n=""+i;if(!t&&r>n){var a=r;r=n,n=a}var o={v:r,w:n};return s&&(o.name=s),o}(this._isDirected,t,e,i);return t=l.v,e=l.w,Object.freeze(l),this._edgeObjs[a]=l,_(this._preds[e],t),_(this._sucs[t],e),this._in[e][a]=l,this._out[t][a]=l,this._edgeCount++,this}edge(t,e,i){var s=1==arguments.length?S(this._isDirected,arguments[0]):m(this._isDirected,t,e,i);return this._edgeLabels[s]}hasEdge(t,e,i){var s=1==arguments.length?S(this._isDirected,arguments[0]):m(this._isDirected,t,e,i);return Object.prototype.hasOwnProperty.call(this._edgeLabels,s)}removeEdge(t,e,i){var s=1==arguments.length?S(this._isDirected,arguments[0]):m(this._isDirected,t,e,i),r=this._edgeObjs[s];return r&&(t=r.v,e=r.w,delete this._edgeLabels[s],delete this._edgeObjs[s],y(this._preds[e],t),y(this._sucs[t],e),delete this._in[e][s],delete this._out[t][s],this._edgeCount--),this}inEdges(t,e){var i=this._in[t];if(i){var s=g.values(i);return e?r.filter(s,function(t){return t.v===e}):s}}outEdges(t,e){var i=this._out[t];if(i){var s=g.values(i);return e?r.filter(s,function(t){return t.w===e}):s}}nodeEdges(t,e){var i=this.inEdges(t,e);if(i)return i.concat(this.outEdges(t,e))}}function _(t,e){t[e]?t[e]++:t[e]=1}function y(t,e){--t[e]||delete t[e]}function m(t,e,i,s){var r=""+e,n=""+i;if(!t&&r>n){var a=r;r=n,n=a}return r+"\x01"+n+"\x01"+(o.isUndefined(s)?"\0":s)}function S(t,e){return m(t,e.v,e.w,e.name)}f.prototype._nodeCount=0,f.prototype._edgeCount=0,t.s(["Graph",()=>f],61210),t.s([],52483)},71450,t=>{"use strict";var e=t.i(111),i=t.i(55057),s=t.i(15258),r=t.i(285),n=t.i(39467),a=t.i(31195),o=function(){var t=(0,a.__name)(function(t,e,i,s){for(i=i||{},s=t.length;s--;i[t[s]]=e);return i},"o"),e=[1,2],i=[1,3],s=[1,4],r=[2,4],n=[1,9],o=[1,11],l=[1,16],d=[1,17],c=[1,18],h=[1,19],u=[1,33],g=[1,20],p=[1,21],f=[1,22],_=[1,23],y=[1,24],m=[1,26],S=[1,27],b=[1,28],C=[1,29],v=[1,30],x=[1,31],k=[1,32],E=[1,35],T=[1,36],D=[1,37],w=[1,38],$=[1,34],L=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],A=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,39,40,41,45,48,51,52,53,54,57],I=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],N={trace:(0,a.__name)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,styleStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"-->":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,CLICK:38,STRING:39,HREF:40,classDef:41,CLASSDEF_ID:42,CLASSDEF_STYLEOPTS:43,DEFAULT:44,style:45,STYLE_IDS:46,STYLEDEF_STYLEOPTS:47,class:48,CLASSENTITY_IDS:49,STYLECLASS:50,direction_tb:51,direction_bt:52,direction_rl:53,direction_lr:54,eol:55,";":56,EDGE_STATE:57,STYLE_SEPARATOR:58,left_of:59,right_of:60,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",14:"DESCR",15:"-->",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"CLICK",39:"STRING",40:"HREF",41:"classDef",42:"CLASSDEF_ID",43:"CLASSDEF_STYLEOPTS",44:"DEFAULT",45:"style",46:"STYLE_IDS",47:"STYLEDEF_STYLEOPTS",48:"class",49:"CLASSENTITY_IDS",50:"STYLECLASS",51:"direction_tb",52:"direction_bt",53:"direction_rl",54:"direction_lr",56:";",57:"EDGE_STATE",58:"STYLE_SEPARATOR",59:"left_of",60:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[9,5],[9,5],[10,3],[10,3],[11,3],[12,3],[32,1],[32,1],[32,1],[32,1],[55,1],[55,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1]],performAction:(0,a.__name)(function(t,e,i,s,r,n,a){var o=n.length-1;switch(r){case 3:return s.setRootDoc(n[o]),n[o];case 4:this.$=[];break;case 5:"nl"!=n[o]&&(n[o-1].push(n[o]),this.$=n[o-1]);break;case 6:case 7:case 12:this.$=n[o];break;case 8:this.$="nl";break;case 13:let l=n[o-1];l.description=s.trimColon(n[o]),this.$=l;break;case 14:this.$={stmt:"relation",state1:n[o-2],state2:n[o]};break;case 15:let d=s.trimColon(n[o]);this.$={stmt:"relation",state1:n[o-3],state2:n[o-1],description:d};break;case 19:this.$={stmt:"state",id:n[o-3],type:"default",description:"",doc:n[o-1]};break;case 20:var c=n[o],h=n[o-2].trim();if(n[o].match(":")){var u=n[o].split(":");c=u[0],h=[h,u[1]]}this.$={stmt:"state",id:c,type:"default",description:h};break;case 21:this.$={stmt:"state",id:n[o-3],type:"default",description:n[o-5],doc:n[o-1]};break;case 22:this.$={stmt:"state",id:n[o],type:"fork"};break;case 23:this.$={stmt:"state",id:n[o],type:"join"};break;case 24:this.$={stmt:"state",id:n[o],type:"choice"};break;case 25:this.$={stmt:"state",id:s.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:n[o-1].trim(),note:{position:n[o-2].trim(),text:n[o].trim()}};break;case 29:this.$=n[o].trim(),s.setAccTitle(this.$);break;case 30:case 31:this.$=n[o].trim(),s.setAccDescription(this.$);break;case 32:this.$={stmt:"click",id:n[o-3],url:n[o-2],tooltip:n[o-1]};break;case 33:this.$={stmt:"click",id:n[o-3],url:n[o-1],tooltip:""};break;case 34:case 35:this.$={stmt:"classDef",id:n[o-1].trim(),classes:n[o].trim()};break;case 36:this.$={stmt:"style",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 37:this.$={stmt:"applyClass",id:n[o-1].trim(),styleClass:n[o].trim()};break;case 38:s.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:s.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:s.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:s.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:n[o].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:n[o-2].trim(),classes:[n[o].trim()],type:"default",description:""}}},"anonymous"),table:[{3:1,4:e,5:i,6:s},{1:[3]},{3:5,4:e,5:i,6:s},{3:6,4:e,5:i,6:s},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,41,45,48,51,52,53,54,57],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:d,19:c,22:h,24:u,25:g,26:p,27:f,28:_,29:y,32:25,33:m,35:S,37:b,38:C,41:v,45:x,48:k,51:E,52:T,53:D,54:w,57:$},t(L,[2,5]),{9:39,10:12,11:13,12:14,13:15,16:l,17:d,19:c,22:h,24:u,25:g,26:p,27:f,28:_,29:y,32:25,33:m,35:S,37:b,38:C,41:v,45:x,48:k,51:E,52:T,53:D,54:w,57:$},t(L,[2,7]),t(L,[2,8]),t(L,[2,9]),t(L,[2,10]),t(L,[2,11]),t(L,[2,12],{14:[1,40],15:[1,41]}),t(L,[2,16]),{18:[1,42]},t(L,[2,18],{20:[1,43]}),{23:[1,44]},t(L,[2,22]),t(L,[2,23]),t(L,[2,24]),t(L,[2,25]),{30:45,31:[1,46],59:[1,47],60:[1,48]},t(L,[2,28]),{34:[1,49]},{36:[1,50]},t(L,[2,31]),{13:51,24:u,57:$},{42:[1,52],44:[1,53]},{46:[1,54]},{49:[1,55]},t(A,[2,44],{58:[1,56]}),t(A,[2,45],{58:[1,57]}),t(L,[2,38]),t(L,[2,39]),t(L,[2,40]),t(L,[2,41]),t(L,[2,6]),t(L,[2,13]),{13:58,24:u,57:$},t(L,[2,17]),t(I,r,{7:59}),{24:[1,60]},{24:[1,61]},{23:[1,62]},{24:[2,48]},{24:[2,49]},t(L,[2,29]),t(L,[2,30]),{39:[1,63],40:[1,64]},{43:[1,65]},{43:[1,66]},{47:[1,67]},{50:[1,68]},{24:[1,69]},{24:[1,70]},t(L,[2,14],{14:[1,71]}),{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:d,19:c,21:[1,72],22:h,24:u,25:g,26:p,27:f,28:_,29:y,32:25,33:m,35:S,37:b,38:C,41:v,45:x,48:k,51:E,52:T,53:D,54:w,57:$},t(L,[2,20],{20:[1,73]}),{31:[1,74]},{24:[1,75]},{39:[1,76]},{39:[1,77]},t(L,[2,34]),t(L,[2,35]),t(L,[2,36]),t(L,[2,37]),t(A,[2,46]),t(A,[2,47]),t(L,[2,15]),t(L,[2,19]),t(I,r,{7:78}),t(L,[2,26]),t(L,[2,27]),{5:[1,79]},{5:[1,80]},{4:n,5:o,8:8,9:10,10:12,11:13,12:14,13:15,16:l,17:d,19:c,21:[1,81],22:h,24:u,25:g,26:p,27:f,28:_,29:y,32:25,33:m,35:S,37:b,38:C,41:v,45:x,48:k,51:E,52:T,53:D,54:w,57:$},t(L,[2,32]),t(L,[2,33]),t(L,[2,21])],defaultActions:{5:[2,1],6:[2,2],47:[2,48],48:[2,49]},parseError:(0,a.__name)(function(t,e){if(e.recoverable)this.trace(t);else{var i=Error(t);throw i.hash=e,i}},"parseError"),parse:(0,a.__name)(function(t){var e=this,i=[0],s=[],r=[null],n=[],o=this.table,l="",d=0,c=0,h=0,u=n.slice.call(arguments,1),g=Object.create(this.lexer),p={};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(p[f]=this.yy[f]);g.setInput(t,p),p.lexer=g,p.parser=this,void 0===g.yylloc&&(g.yylloc={});var _=g.yylloc;n.push(_);var y=g.options&&g.options.ranges;function m(){var t;return"number"!=typeof(t=s.pop()||g.lex()||1)&&(t instanceof Array&&(t=(s=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof p.parseError?this.parseError=p.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,a.__name)(function(t){i.length=i.length-2*t,r.length=r.length-t,n.length=n.length-t},"popStack"),(0,a.__name)(m,"lex");for(var S,b,C,v,x,k,E,T,D,w={};;){if(C=i[i.length-1],this.defaultActions[C]?v=this.defaultActions[C]:(null==S&&(S=m()),v=o[C]&&o[C][S]),void 0===v||!v.length||!v[0]){var $="";for(k in D=[],o[C])this.terminals_[k]&&k>2&&D.push("'"+this.terminals_[k]+"'");$=g.showPosition?"Parse error on line "+(d+1)+":\n"+g.showPosition()+"\nExpecting "+D.join(", ")+", got '"+(this.terminals_[S]||S)+"'":"Parse error on line "+(d+1)+": Unexpected "+(1==S?"end of input":"'"+(this.terminals_[S]||S)+"'"),this.parseError($,{text:g.match,token:this.terminals_[S]||S,line:g.yylineno,loc:_,expected:D})}if(v[0]instanceof Array&&v.length>1)throw Error("Parse Error: multiple actions possible at state: "+C+", token: "+S);switch(v[0]){case 1:i.push(S),r.push(g.yytext),n.push(g.yylloc),i.push(v[1]),S=null,b?(S=b,b=null):(c=g.yyleng,l=g.yytext,d=g.yylineno,_=g.yylloc,h>0&&h--);break;case 2:if(E=this.productions_[v[1]][1],w.$=r[r.length-E],w._$={first_line:n[n.length-(E||1)].first_line,last_line:n[n.length-1].last_line,first_column:n[n.length-(E||1)].first_column,last_column:n[n.length-1].last_column},y&&(w._$.range=[n[n.length-(E||1)].range[0],n[n.length-1].range[1]]),void 0!==(x=this.performAction.apply(w,[l,c,d,p,v[1],r,n].concat(u))))return x;E&&(i=i.slice(0,-1*E*2),r=r.slice(0,-1*E),n=n.slice(0,-1*E)),i.push(this.productions_[v[1]][0]),r.push(w.$),n.push(w._$),T=o[i[i.length-2]][i[i.length-1]],i.push(T);break;case 3:return!0}}return!0},"parse")};function O(){this.yy={}}return N.lexer={EOF:1,parseError:(0,a.__name)(function(t,e){if(this.yy.parser)this.yy.parser.parseError(t,e);else throw Error(t)},"parseError"),setInput:(0,a.__name)(function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,a.__name)(function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},"input"),unput:(0,a.__name)(function(t){var e=t.length,i=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var s=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),i.length-1&&(this.yylineno-=i.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:i?(i.length===s.length?this.yylloc.first_column:0)+s[s.length-i.length].length-i[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},"unput"),more:(0,a.__name)(function(){return this._more=!0,this},"more"),reject:(0,a.__name)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,a.__name)(function(t){this.unput(this.match.slice(t))},"less"),pastInput:(0,a.__name)(function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,a.__name)(function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,a.__name)(function(){var t=this.pastInput(),e=Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},"showPosition"),test_match:(0,a.__name)(function(t,e){var i,s,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(s=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=s.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:s?s[s.length-1].length-s[s.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],i=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i)return i;if(this._backtrack)for(var n in r)this[n]=r[n];return!1},"test_match"),next:(0,a.__name)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var t,e,i,s,r=this._currentRules(),n=0;n<r.length;n++)if((i=this._input.match(this.rules[r[n]]))&&(!e||i[0].length>e[0].length)){if(e=i,s=n,this.options.backtrack_lexer){if(!1!==(t=this.test_match(i,r[n])))return t;if(!this._backtrack)return!1;e=!1;continue}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[s]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,a.__name)(function(){var t=this.next();return t||this.lex()},"lex"),begin:(0,a.__name)(function(t){this.conditionStack.push(t)},"begin"),popState:(0,a.__name)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,a.__name)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,a.__name)(function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},"topState"),pushState:(0,a.__name)(function(t){this.begin(t)},"pushState"),stateStackSize:(0,a.__name)(function(){return this.conditionStack.length},"stateStackSize"),options:{"case-insensitive":!0},performAction:(0,a.__name)(function(t,e,i,s){switch(i){case 0:return 38;case 1:return 40;case 2:return 39;case 3:return 44;case 4:case 45:return 51;case 5:case 46:return 52;case 6:case 47:return 53;case 7:case 48:return 54;case 8:case 9:case 11:case 12:case 13:case 14:case 57:case 59:case 65:break;case 10:case 80:return 5;case 15:case 35:return this.pushState("SCALE"),17;case 16:case 36:return 18;case 17:case 23:case 37:case 52:case 55:this.popState();break;case 18:return this.begin("acc_title"),33;case 19:return this.popState(),"acc_title_value";case 20:return this.begin("acc_descr"),35;case 21:return this.popState(),"acc_descr_value";case 22:this.begin("acc_descr_multiline");break;case 24:return"acc_descr_multiline_value";case 25:return this.pushState("CLASSDEF"),41;case 26:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 27:return this.popState(),this.pushState("CLASSDEFID"),42;case 28:return this.popState(),43;case 29:return this.pushState("CLASS"),48;case 30:return this.popState(),this.pushState("CLASS_STYLE"),49;case 31:return this.popState(),50;case 32:return this.pushState("STYLE"),45;case 33:return this.popState(),this.pushState("STYLEDEF_STYLES"),46;case 34:return this.popState(),47;case 38:this.pushState("STATE");break;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 41:case 44:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 49:this.pushState("STATE_STRING");break;case 50:return this.pushState("STATE_ID"),"AS";case 51:case 67:return this.popState(),"ID";case 53:return"STATE_DESCR";case 54:return 19;case 56:return this.popState(),this.pushState("struct"),20;case 58:return this.popState(),21;case 60:return this.begin("NOTE"),29;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:return this.popState(),this.pushState("NOTE_ID"),60;case 63:this.popState(),this.pushState("FLOATING_NOTE");break;case 64:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 66:return"NOTE_TEXT";case 68:return this.popState(),this.pushState("NOTE_TEXT"),24;case 69:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 70:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 71:case 72:return 6;case 73:return 16;case 74:return 57;case 75:return 24;case 76:return e.yytext=e.yytext.trim(),14;case 77:return 15;case 78:return 28;case 79:return 58;case 81:return"INVALID"}},"anonymous"),rules:[/^(?:click\b)/i,/^(?:href\b)/i,/^(?:"[^"]*")/i,/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:style\s+)/i,/^(?:[\w,]+\s+)/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[12,13],inclusive:!1},struct:{rules:[12,13,25,29,32,38,45,46,47,48,57,58,59,60,74,75,76,77,78],inclusive:!1},FLOATING_NOTE_ID:{rules:[67],inclusive:!1},FLOATING_NOTE:{rules:[64,65,66],inclusive:!1},NOTE_TEXT:{rules:[69,70],inclusive:!1},NOTE_ID:{rules:[68],inclusive:!1},NOTE:{rules:[61,62,63],inclusive:!1},STYLEDEF_STYLEOPTS:{rules:[],inclusive:!1},STYLEDEF_STYLES:{rules:[34],inclusive:!1},STYLE_IDS:{rules:[],inclusive:!1},STYLE:{rules:[33],inclusive:!1},CLASS_STYLE:{rules:[31],inclusive:!1},CLASS:{rules:[30],inclusive:!1},CLASSDEFID:{rules:[28],inclusive:!1},CLASSDEF:{rules:[26,27],inclusive:!1},acc_descr_multiline:{rules:[23,24],inclusive:!1},acc_descr:{rules:[21],inclusive:!1},acc_title:{rules:[19],inclusive:!1},SCALE:{rules:[16,17,36,37],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[51],inclusive:!1},STATE_STRING:{rules:[52,53],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[12,13,39,40,41,42,43,44,49,50,54,55,56],inclusive:!1},ID:{rules:[12,13],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,13,14,15,18,20,22,25,29,32,35,38,56,60,71,72,73,74,75,76,77,79,80,81],inclusive:!0}}},(0,a.__name)(O,"Parser"),O.prototype=N,N.Parser=O,new O}();o.parser=o;var l="TB",d="state",c="root",h="relation",u="default",g="divider",p="fill:none",f="fill: #333",_="text",y="normal",m="rect",S="rectWithTitle",b="divider",C="roundedWithTitle",v="statediagram",x=`${v}-state`,k="transition",E=`${k} note-edge`,T=`${v}-note`,D=`${v}-cluster`,w=`${v}-cluster-alt`,$="parent",L="note",A="----",I=`${A}${L}`,N=`${A}${$}`,O=(0,a.__name)((t,e=l)=>{if(!t.doc)return e;let i=e;for(let e of t.doc)"dir"===e.stmt&&(i=e.value);return i},"getDir"),B={getClasses:(0,a.__name)(function(t,e){return e.db.getClasses()},"getClasses"),draw:(0,a.__name)(async function(t,o,l,d){a.log.info("REF0:"),a.log.info("Drawing state diagram (v2)",o);let{securityLevel:c,state:h,layout:u}=(0,n.getConfig2)();d.db.extract(d.db.getRootDocV2());let g=d.db.getData(),p=(0,e.getDiagramElement)(o,c);g.type=d.type,g.layoutAlgorithm=u,g.nodeSpacing=h?.nodeSpacing||50,g.rankSpacing=h?.rankSpacing||50,g.markers=["barb"],g.diagramId=o,await (0,s.render)(g,p);try{("function"==typeof d.db.getLinks?d.db.getLinks():new Map).forEach((t,e)=>{let i,s="string"==typeof e?e:"string"==typeof e?.id?e.id:"";if(!s)return void a.log.warn("⚠️ Invalid or missing stateId from key:",JSON.stringify(e));let r=p.node()?.querySelectorAll("g");if(r?.forEach(t=>{t.textContent?.trim()===s&&(i=t)}),!i)return void a.log.warn("⚠️ Could not find node matching text:",s);let n=i.parentNode;if(!n)return void a.log.warn("⚠️ Node has no parent, cannot wrap:",s);let o=document.createElementNS("http://www.w3.org/2000/svg","a"),l=t.url.replace(/^"+|"+$/g,"");if(o.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",l),o.setAttribute("target","_blank"),t.tooltip){let e=t.tooltip.replace(/^"+|"+$/g,"");o.setAttribute("title",e)}n.replaceChild(o,i),o.appendChild(i),a.log.info("🔗 Wrapped node in <a> tag for:",s,t.url)})}catch(t){a.log.error("❌ Error injecting clickable links:",t)}r.utils_default.insertTitle(p,"statediagramTitleText",h?.titleTopMargin??25,d.db.getDiagramTitle()),(0,i.setupViewPortForSVG)(p,8,v,h?.useMaxWidth??!0)},"draw"),getDir:O},R=new Map,P=0;function F(t="",e=0,i="",s=A){let r=null!==i&&i.length>0?`${s}${i}`:"";return`state-${t}${r}-${e}`}(0,a.__name)(F,"stateDomId");var j=(0,a.__name)((t,e,i,s,r,o,l,c)=>{a.log.trace("items",e),e.forEach(e=>{switch(e.stmt){case d:case u:U(t,e,i,s,r,o,l,c);break;case h:{U(t,e.state1,i,s,r,o,l,c),U(t,e.state2,i,s,r,o,l,c);let a={id:"edge"+P,start:e.state1.id,end:e.state2.id,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:p,labelStyle:"",label:n.common_default.sanitizeText(e.description??"",(0,n.getConfig2)()),arrowheadStyle:f,labelpos:"c",labelType:_,thickness:y,classes:k,look:l};r.push(a),P++}}})},"setupDoc"),G=(0,a.__name)((t,e=l)=>{let i=e;if(t.doc)for(let e of t.doc)"dir"===e.stmt&&(i=e.value);return i},"getDir");function M(t,e,i){if(!e.id||"</join></fork>"===e.id||"</choice>"===e.id)return;e.cssClasses&&(Array.isArray(e.cssCompiledStyles)||(e.cssCompiledStyles=[]),e.cssClasses.split(" ").forEach(t=>{let s=i.get(t);s&&(e.cssCompiledStyles=[...e.cssCompiledStyles??[],...s.styles])}));let s=t.find(t=>t.id===e.id);s?Object.assign(s,e):t.push(e)}function z(t){return t?.classes?.join(" ")??""}function Y(t){return t?.styles??[]}(0,a.__name)(M,"insertOrUpdateNode"),(0,a.__name)(z,"getClassesFromDbInfo"),(0,a.__name)(Y,"getStylesFromDbInfo");var U=(0,a.__name)((t,e,i,s,r,o,l,d)=>{let c=e.id,h=i.get(c),v=z(h),k=Y(h),A=(0,n.getConfig2)();if(a.log.info("dataFetcher parsedItem",e,h,k),"root"!==c){let i=m;!0===e.start?i="stateStart":!1===e.start&&(i="stateEnd"),e.type!==u&&(i=e.type),R.get(c)||R.set(c,{id:c,shape:i,description:n.common_default.sanitizeText(c,A),cssClasses:`${v} ${x}`,cssStyles:k});let h=R.get(c);e.description&&(Array.isArray(h.description)?(h.shape=S,h.description.push(e.description)):h.description?.length&&h.description.length>0?(h.shape=S,h.description===c?h.description=[e.description]:h.description=[h.description,e.description]):(h.shape=m,h.description=e.description),h.description=n.common_default.sanitizeTextOrArray(h.description,A)),h.description?.length===1&&h.shape===S&&("group"===h.type?h.shape=C:h.shape=m),!h.type&&e.doc&&(a.log.info("Setting cluster for XCX",c,G(e)),h.type="group",h.isGroup=!0,h.dir=G(e),h.shape=e.type===g?b:C,h.cssClasses=`${h.cssClasses} ${D} ${o?w:""}`);let O={labelStyle:"",shape:h.shape,label:h.description,cssClasses:h.cssClasses,cssCompiledStyles:[],cssStyles:h.cssStyles,id:c,dir:h.dir,domId:F(c,P),type:h.type,isGroup:"group"===h.type,padding:8,rx:10,ry:10,look:l};if(O.shape===b&&(O.label=""),t&&"root"!==t.id&&(a.log.trace("Setting node ",c," to be child of its parent ",t.id),O.parentId=t.id),O.centerLabel=!0,e.note){let t={labelStyle:"",shape:"note",label:e.note.text,cssClasses:T,cssStyles:[],cssCompiledStyles:[],id:c+I+"-"+P,domId:F(c,P,L),type:h.type,isGroup:"group"===h.type,padding:A.flowchart?.padding,look:l,position:e.note.position},i=c+N,n={labelStyle:"",shape:"noteGroup",label:e.note.text,cssClasses:h.cssClasses,cssStyles:[],id:c+N,domId:F(c,P,$),type:"group",isGroup:!0,padding:16,look:l,position:e.note.position};P++,n.id=i,t.parentId=i,M(s,n,d),M(s,t,d),M(s,O,d);let a=c,o=t.id;"left of"===e.note.position&&(a=t.id,o=c),r.push({id:a+"-"+o,start:a,end:o,arrowhead:"none",arrowTypeEnd:"",style:p,labelStyle:"",classes:E,arrowheadStyle:f,labelpos:"c",labelType:_,thickness:y,look:l})}else M(s,O,d)}e.doc&&(a.log.trace("Adding nodes children "),j(e,e.doc,i,s,r,!o,l,d))},"dataFetcher"),H=(0,a.__name)(()=>{R.clear(),P=0},"reset"),W="start",V="color",X="fill",J=(0,a.__name)(()=>new Map,"newClassesList"),K=(0,a.__name)(()=>({relations:[],states:new Map,documents:{}}),"newDoc"),q=(0,a.__name)(t=>JSON.parse(JSON.stringify(t)),"clone"),Z=class{constructor(t){this.version=t,this.nodes=[],this.edges=[],this.rootDoc=[],this.classes=J(),this.documents={root:K()},this.currentDocument=this.documents.root,this.startEndCount=0,this.dividerCnt=0,this.links=new Map,this.getAccTitle=n.getAccTitle,this.setAccTitle=n.setAccTitle,this.getAccDescription=n.getAccDescription,this.setAccDescription=n.setAccDescription,this.setDiagramTitle=n.setDiagramTitle,this.getDiagramTitle=n.getDiagramTitle,this.clear(),this.setRootDoc=this.setRootDoc.bind(this),this.getDividerId=this.getDividerId.bind(this),this.setDirection=this.setDirection.bind(this),this.trimColon=this.trimColon.bind(this)}static{(0,a.__name)(this,"StateDB")}static{this.relationType={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3}}extract(t){for(let e of(this.clear(!0),Array.isArray(t)?t:t.doc))switch(e.stmt){case d:this.addState(e.id.trim(),e.type,e.doc,e.description,e.note);break;case h:this.addRelation(e.state1,e.state2,e.description);break;case"classDef":this.addStyleClass(e.id.trim(),e.classes);break;case"style":this.handleStyleDef(e);break;case"applyClass":this.setCssClass(e.id.trim(),e.styleClass);break;case"click":this.addLink(e.id,e.url,e.tooltip)}let e=this.getStates(),i=(0,n.getConfig2)();for(let t of(H(),U(void 0,this.getRootDocV2(),e,this.nodes,this.edges,!0,i.look,this.classes),this.nodes))if(Array.isArray(t.label)){if(t.description=t.label.slice(1),t.isGroup&&t.description.length>0)throw Error(`Group nodes can only have label. Remove the additional description for node [${t.id}]`);t.label=t.label[0]}}handleStyleDef(t){let e=t.id.trim().split(","),i=t.styleClass.split(",");for(let t of e){let e=this.getState(t);if(!e){let i=t.trim();this.addState(i),e=this.getState(i)}e&&(e.styles=i.map(t=>t.replace(/;/g,"")?.trim()))}}setRootDoc(t){a.log.info("Setting root doc",t),this.rootDoc=t,1===this.version?this.extract(t):this.extract(this.getRootDocV2())}docTranslator(t,e,i){if(e.stmt===h){this.docTranslator(t,e.state1,!0),this.docTranslator(t,e.state2,!1);return}if(e.stmt===d&&("[*]"===e.id?(e.id=t.id+(i?"_start":"_end"),e.start=i):e.id=e.id.trim()),e.stmt!==c&&e.stmt!==d||!e.doc)return;let s=[],n=[];for(let t of e.doc)if(t.type===g){let e=q(t);e.doc=q(n),s.push(e),n=[]}else n.push(t);if(s.length>0&&n.length>0){let t={stmt:d,id:(0,r.generateId)(),type:"divider",doc:q(n)};s.push(q(t)),e.doc=s}e.doc.forEach(t=>this.docTranslator(e,t,!0))}getRootDocV2(){return this.docTranslator({id:c,stmt:c},{id:c,stmt:c,doc:this.rootDoc},!0),{id:c,doc:this.rootDoc}}addState(t,e=u,i,s,r,o,l,c){let h=t?.trim();if(this.currentDocument.states.has(h)){let t=this.currentDocument.states.get(h);if(!t)throw Error(`State not found: ${h}`);t.doc||(t.doc=i),t.type||(t.type=e)}else a.log.info("Adding state ",h,s),this.currentDocument.states.set(h,{stmt:d,id:h,descriptions:[],type:e,doc:i,note:r,classes:[],styles:[],textStyles:[]});if(s&&(a.log.info("Setting state description",h,s),(Array.isArray(s)?s:[s]).forEach(t=>this.addDescription(h,t.trim()))),r){let t=this.currentDocument.states.get(h);if(!t)throw Error(`State not found: ${h}`);t.note=r,t.note.text=n.common_default.sanitizeText(t.note.text,(0,n.getConfig2)())}o&&(a.log.info("Setting state classes",h,o),(Array.isArray(o)?o:[o]).forEach(t=>this.setCssClass(h,t.trim()))),l&&(a.log.info("Setting state styles",h,l),(Array.isArray(l)?l:[l]).forEach(t=>this.setStyle(h,t.trim()))),c&&(a.log.info("Setting state styles",h,l),(Array.isArray(c)?c:[c]).forEach(t=>this.setTextStyle(h,t.trim())))}clear(t){this.nodes=[],this.edges=[],this.documents={root:K()},this.currentDocument=this.documents.root,this.startEndCount=0,this.classes=J(),t||(this.links=new Map,(0,n.clear)())}getState(t){return this.currentDocument.states.get(t)}getStates(){return this.currentDocument.states}logDocuments(){a.log.info("Documents = ",this.documents)}getRelations(){return this.currentDocument.relations}addLink(t,e,i){this.links.set(t,{url:e,tooltip:i}),a.log.warn("Adding link",t,e,i)}getLinks(){return this.links}startIdIfNeeded(t=""){return"[*]"===t?(this.startEndCount++,`${W}${this.startEndCount}`):t}startTypeIfNeeded(t="",e=u){return"[*]"===t?W:e}endIdIfNeeded(t=""){return"[*]"===t?(this.startEndCount++,`end${this.startEndCount}`):t}endTypeIfNeeded(t="",e=u){return"[*]"===t?"end":e}addRelationObjs(t,e,i=""){let s=this.startIdIfNeeded(t.id.trim()),r=this.startTypeIfNeeded(t.id.trim(),t.type),a=this.startIdIfNeeded(e.id.trim()),o=this.startTypeIfNeeded(e.id.trim(),e.type);this.addState(s,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),this.addState(a,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),this.currentDocument.relations.push({id1:s,id2:a,relationTitle:n.common_default.sanitizeText(i,(0,n.getConfig2)())})}addRelation(t,e,i){if("object"==typeof t&&"object"==typeof e)this.addRelationObjs(t,e,i);else if("string"==typeof t&&"string"==typeof e){let s=this.startIdIfNeeded(t.trim()),r=this.startTypeIfNeeded(t),a=this.endIdIfNeeded(e.trim()),o=this.endTypeIfNeeded(e);this.addState(s,r),this.addState(a,o),this.currentDocument.relations.push({id1:s,id2:a,relationTitle:i?n.common_default.sanitizeText(i,(0,n.getConfig2)()):void 0})}}addDescription(t,e){let i=this.currentDocument.states.get(t),s=e.startsWith(":")?e.replace(":","").trim():e;i?.descriptions?.push(n.common_default.sanitizeText(s,(0,n.getConfig2)()))}cleanupLabel(t){return t.startsWith(":")?t.slice(2).trim():t.trim()}getDividerId(){return this.dividerCnt++,`divider-id-${this.dividerCnt}`}addStyleClass(t,e=""){this.classes.has(t)||this.classes.set(t,{id:t,styles:[],textStyles:[]});let i=this.classes.get(t);e&&i&&e.split(",").forEach(t=>{let e=t.replace(/([^;]*);/,"$1").trim();if(RegExp(V).exec(t)){let t=e.replace(X,"bgFill").replace(V,X);i.textStyles.push(t)}i.styles.push(e)})}getClasses(){return this.classes}setCssClass(t,e){t.split(",").forEach(t=>{let i=this.getState(t);if(!i){let e=t.trim();this.addState(e),i=this.getState(e)}i?.classes?.push(e)})}setStyle(t,e){this.getState(t)?.styles?.push(e)}setTextStyle(t,e){this.getState(t)?.textStyles?.push(e)}getDirectionStatement(){return this.rootDoc.find(t=>"dir"===t.stmt)}getDirection(){return this.getDirectionStatement()?.value??"TB"}setDirection(t){let e=this.getDirectionStatement();e?e.value=t:this.rootDoc.unshift({stmt:"dir",value:t})}trimColon(t){return t.startsWith(":")?t.slice(1).trim():t.trim()}getData(){let t=(0,n.getConfig2)();return{nodes:this.nodes,edges:this.edges,other:{},config:t,direction:O(this.getRootDocV2())}}getConfig(){return(0,n.getConfig2)().state}},Q=(0,a.__name)(t=>`
|
|
2
|
+
defs #statediagram-barbEnd {
|
|
3
|
+
fill: ${t.transitionColor};
|
|
4
|
+
stroke: ${t.transitionColor};
|
|
5
|
+
}
|
|
6
|
+
g.stateGroup text {
|
|
7
|
+
fill: ${t.nodeBorder};
|
|
8
|
+
stroke: none;
|
|
9
|
+
font-size: 10px;
|
|
10
|
+
}
|
|
11
|
+
g.stateGroup text {
|
|
12
|
+
fill: ${t.textColor};
|
|
13
|
+
stroke: none;
|
|
14
|
+
font-size: 10px;
|
|
15
|
+
|
|
16
|
+
}
|
|
17
|
+
g.stateGroup .state-title {
|
|
18
|
+
font-weight: bolder;
|
|
19
|
+
fill: ${t.stateLabelColor};
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
g.stateGroup rect {
|
|
23
|
+
fill: ${t.mainBkg};
|
|
24
|
+
stroke: ${t.nodeBorder};
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
g.stateGroup line {
|
|
28
|
+
stroke: ${t.lineColor};
|
|
29
|
+
stroke-width: 1;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.transition {
|
|
33
|
+
stroke: ${t.transitionColor};
|
|
34
|
+
stroke-width: 1;
|
|
35
|
+
fill: none;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.stateGroup .composit {
|
|
39
|
+
fill: ${t.background};
|
|
40
|
+
border-bottom: 1px
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.stateGroup .alt-composit {
|
|
44
|
+
fill: #e0e0e0;
|
|
45
|
+
border-bottom: 1px
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.state-note {
|
|
49
|
+
stroke: ${t.noteBorderColor};
|
|
50
|
+
fill: ${t.noteBkgColor};
|
|
51
|
+
|
|
52
|
+
text {
|
|
53
|
+
fill: ${t.noteTextColor};
|
|
54
|
+
stroke: none;
|
|
55
|
+
font-size: 10px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.stateLabel .box {
|
|
60
|
+
stroke: none;
|
|
61
|
+
stroke-width: 0;
|
|
62
|
+
fill: ${t.mainBkg};
|
|
63
|
+
opacity: 0.5;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.edgeLabel .label rect {
|
|
67
|
+
fill: ${t.labelBackgroundColor};
|
|
68
|
+
opacity: 0.5;
|
|
69
|
+
}
|
|
70
|
+
.edgeLabel {
|
|
71
|
+
background-color: ${t.edgeLabelBackground};
|
|
72
|
+
p {
|
|
73
|
+
background-color: ${t.edgeLabelBackground};
|
|
74
|
+
}
|
|
75
|
+
rect {
|
|
76
|
+
opacity: 0.5;
|
|
77
|
+
background-color: ${t.edgeLabelBackground};
|
|
78
|
+
fill: ${t.edgeLabelBackground};
|
|
79
|
+
}
|
|
80
|
+
text-align: center;
|
|
81
|
+
}
|
|
82
|
+
.edgeLabel .label text {
|
|
83
|
+
fill: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
84
|
+
}
|
|
85
|
+
.label div .edgeLabel {
|
|
86
|
+
color: ${t.transitionLabelColor||t.tertiaryTextColor};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.stateLabel text {
|
|
90
|
+
fill: ${t.stateLabelColor};
|
|
91
|
+
font-size: 10px;
|
|
92
|
+
font-weight: bold;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.node circle.state-start {
|
|
96
|
+
fill: ${t.specialStateColor};
|
|
97
|
+
stroke: ${t.specialStateColor};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.node .fork-join {
|
|
101
|
+
fill: ${t.specialStateColor};
|
|
102
|
+
stroke: ${t.specialStateColor};
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.node circle.state-end {
|
|
106
|
+
fill: ${t.innerEndBackground};
|
|
107
|
+
stroke: ${t.background};
|
|
108
|
+
stroke-width: 1.5
|
|
109
|
+
}
|
|
110
|
+
.end-state-inner {
|
|
111
|
+
fill: ${t.compositeBackground||t.background};
|
|
112
|
+
// stroke: ${t.background};
|
|
113
|
+
stroke-width: 1.5
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.node rect {
|
|
117
|
+
fill: ${t.stateBkg||t.mainBkg};
|
|
118
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
119
|
+
stroke-width: 1px;
|
|
120
|
+
}
|
|
121
|
+
.node polygon {
|
|
122
|
+
fill: ${t.mainBkg};
|
|
123
|
+
stroke: ${t.stateBorder||t.nodeBorder};;
|
|
124
|
+
stroke-width: 1px;
|
|
125
|
+
}
|
|
126
|
+
#statediagram-barbEnd {
|
|
127
|
+
fill: ${t.lineColor};
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.statediagram-cluster rect {
|
|
131
|
+
fill: ${t.compositeTitleBackground};
|
|
132
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
133
|
+
stroke-width: 1px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.cluster-label, .nodeLabel {
|
|
137
|
+
color: ${t.stateLabelColor};
|
|
138
|
+
// line-height: 1;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.statediagram-cluster rect.outer {
|
|
142
|
+
rx: 5px;
|
|
143
|
+
ry: 5px;
|
|
144
|
+
}
|
|
145
|
+
.statediagram-state .divider {
|
|
146
|
+
stroke: ${t.stateBorder||t.nodeBorder};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.statediagram-state .title-state {
|
|
150
|
+
rx: 5px;
|
|
151
|
+
ry: 5px;
|
|
152
|
+
}
|
|
153
|
+
.statediagram-cluster.statediagram-cluster .inner {
|
|
154
|
+
fill: ${t.compositeBackground||t.background};
|
|
155
|
+
}
|
|
156
|
+
.statediagram-cluster.statediagram-cluster-alt .inner {
|
|
157
|
+
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.statediagram-cluster .inner {
|
|
161
|
+
rx:0;
|
|
162
|
+
ry:0;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.statediagram-state rect.basic {
|
|
166
|
+
rx: 5px;
|
|
167
|
+
ry: 5px;
|
|
168
|
+
}
|
|
169
|
+
.statediagram-state rect.divider {
|
|
170
|
+
stroke-dasharray: 10,10;
|
|
171
|
+
fill: ${t.altBackground?t.altBackground:"#efefef"};
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.note-edge {
|
|
175
|
+
stroke-dasharray: 5;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.statediagram-note rect {
|
|
179
|
+
fill: ${t.noteBkgColor};
|
|
180
|
+
stroke: ${t.noteBorderColor};
|
|
181
|
+
stroke-width: 1px;
|
|
182
|
+
rx: 0;
|
|
183
|
+
ry: 0;
|
|
184
|
+
}
|
|
185
|
+
.statediagram-note rect {
|
|
186
|
+
fill: ${t.noteBkgColor};
|
|
187
|
+
stroke: ${t.noteBorderColor};
|
|
188
|
+
stroke-width: 1px;
|
|
189
|
+
rx: 0;
|
|
190
|
+
ry: 0;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.statediagram-note text {
|
|
194
|
+
fill: ${t.noteTextColor};
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.statediagram-note .nodeLabel {
|
|
198
|
+
color: ${t.noteTextColor};
|
|
199
|
+
}
|
|
200
|
+
.statediagram .edgeLabel {
|
|
201
|
+
color: red; // ${t.noteTextColor};
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
#dependencyStart, #dependencyEnd {
|
|
205
|
+
fill: ${t.lineColor};
|
|
206
|
+
stroke: ${t.lineColor};
|
|
207
|
+
stroke-width: 1;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
.statediagramTitleText {
|
|
211
|
+
text-anchor: middle;
|
|
212
|
+
font-size: 18px;
|
|
213
|
+
fill: ${t.textColor};
|
|
214
|
+
}
|
|
215
|
+
`,"getStyles");t.s(["StateDB",()=>Z,"stateDiagram_default",()=>o,"stateRenderer_v3_unified_default",()=>B,"styles_default",()=>Q])},13326,t=>{"use strict";var e,i=t.i(71450);t.i(111),t.i(55057),t.i(15258),t.i(9436),t.i(21463),t.i(57631),t.i(4855),t.i(59654),t.i(88073);var s=t.i(285),r=t.i(39467),n=t.i(31195);t.i(91577);var a=t.i(92423);t.i(49292);var o=t.i(92078);t.i(52483);var l=t.i(61210),d=t.i(58424),c=t.i(52195),h=(0,n.__name)(t=>t.append("circle").attr("class","start-state").attr("r",(0,r.getConfig2)().state.sizeUnit).attr("cx",(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.sizeUnit).attr("cy",(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.sizeUnit),"drawStartState"),u=(0,n.__name)(t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,r.getConfig2)().state.textHeight).attr("class","divider").attr("x2",2*(0,r.getConfig2)().state.textHeight).attr("y1",0).attr("y2",0),"drawDivider"),g=(0,n.__name)((t,e)=>{let i=t.append("text").attr("x",2*(0,r.getConfig2)().state.padding).attr("y",(0,r.getConfig2)().state.textHeight+2*(0,r.getConfig2)().state.padding).attr("font-size",(0,r.getConfig2)().state.fontSize).attr("class","state-title").text(e.id),s=i.node().getBBox();return t.insert("rect",":first-child").attr("x",(0,r.getConfig2)().state.padding).attr("y",(0,r.getConfig2)().state.padding).attr("width",s.width+2*(0,r.getConfig2)().state.padding).attr("height",s.height+2*(0,r.getConfig2)().state.padding).attr("rx",(0,r.getConfig2)().state.radius),i},"drawSimpleState"),p=(0,n.__name)((t,e)=>{let i=(0,n.__name)(function(t,e,i){let s=t.append("tspan").attr("x",2*(0,r.getConfig2)().state.padding).text(e);i||s.attr("dy",(0,r.getConfig2)().state.textHeight)},"addTspan"),s=t.append("text").attr("x",2*(0,r.getConfig2)().state.padding).attr("y",(0,r.getConfig2)().state.textHeight+1.3*(0,r.getConfig2)().state.padding).attr("font-size",(0,r.getConfig2)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),a=s.height,o=t.append("text").attr("x",(0,r.getConfig2)().state.padding).attr("y",a+.4*(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.dividerMargin+(0,r.getConfig2)().state.textHeight).attr("class","state-description"),l=!0,d=!0;e.descriptions.forEach(function(t){l||(i(o,t,d),d=!1),l=!1});let c=t.append("line").attr("x1",(0,r.getConfig2)().state.padding).attr("y1",(0,r.getConfig2)().state.padding+a+(0,r.getConfig2)().state.dividerMargin/2).attr("y2",(0,r.getConfig2)().state.padding+a+(0,r.getConfig2)().state.dividerMargin/2).attr("class","descr-divider"),h=o.node().getBBox(),u=Math.max(h.width,s.width);return c.attr("x2",u+3*(0,r.getConfig2)().state.padding),t.insert("rect",":first-child").attr("x",(0,r.getConfig2)().state.padding).attr("y",(0,r.getConfig2)().state.padding).attr("width",u+2*(0,r.getConfig2)().state.padding).attr("height",h.height+a+2*(0,r.getConfig2)().state.padding).attr("rx",(0,r.getConfig2)().state.radius),t},"drawDescrState"),f=(0,n.__name)((t,e,i)=>{let s,n=(0,r.getConfig2)().state.padding,a=2*(0,r.getConfig2)().state.padding,o=t.node().getBBox(),l=o.width,d=o.x,c=t.append("text").attr("x",0).attr("y",(0,r.getConfig2)().state.titleShift).attr("font-size",(0,r.getConfig2)().state.fontSize).attr("class","state-title").text(e.id),h=c.node().getBBox().width+a,u=Math.max(h,l);u===l&&(u+=a);let g=t.node().getBBox();e.doc,s=d-n,h>l&&(s=(l-u)/2+n),Math.abs(d-g.x)<n&&h>l&&(s=d-(h-l)/2);let p=1-(0,r.getConfig2)().state.textHeight;return t.insert("rect",":first-child").attr("x",s).attr("y",p).attr("class",i?"alt-composit":"composit").attr("width",u).attr("height",g.height+(0,r.getConfig2)().state.textHeight+(0,r.getConfig2)().state.titleShift+1).attr("rx","0"),c.attr("x",s+n),h<=l&&c.attr("x",d+(u-a)/2-h/2+n),t.insert("rect",":first-child").attr("x",s).attr("y",(0,r.getConfig2)().state.titleShift-(0,r.getConfig2)().state.textHeight-(0,r.getConfig2)().state.padding).attr("width",u).attr("height",3*(0,r.getConfig2)().state.textHeight).attr("rx",(0,r.getConfig2)().state.radius),t.insert("rect",":first-child").attr("x",s).attr("y",(0,r.getConfig2)().state.titleShift-(0,r.getConfig2)().state.textHeight-(0,r.getConfig2)().state.padding).attr("width",u).attr("height",g.height+3+2*(0,r.getConfig2)().state.textHeight).attr("rx",(0,r.getConfig2)().state.radius),t},"addTitleAndBox"),_=(0,n.__name)(t=>(t.append("circle").attr("class","end-state-outer").attr("r",(0,r.getConfig2)().state.sizeUnit+(0,r.getConfig2)().state.miniPadding).attr("cx",(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.sizeUnit+(0,r.getConfig2)().state.miniPadding).attr("cy",(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.sizeUnit+(0,r.getConfig2)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,r.getConfig2)().state.sizeUnit).attr("cx",(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.sizeUnit+2).attr("cy",(0,r.getConfig2)().state.padding+(0,r.getConfig2)().state.sizeUnit+2)),"drawEndState"),y=(0,n.__name)((t,e)=>{let i=(0,r.getConfig2)().state.forkWidth,s=(0,r.getConfig2)().state.forkHeight;if(e.parentId){let t=i;i=s,s=t}return t.append("rect").style("stroke","black").style("fill","black").attr("width",i).attr("height",s).attr("x",(0,r.getConfig2)().state.padding).attr("y",(0,r.getConfig2)().state.padding)},"drawForkJoinState"),m=(0,n.__name)((t,e,i,s)=>{let n=0,a=s.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=t.replace(/\r\n/g,"<br/>"),l=(o=o.replace(/\n/g,"<br/>")).split(r.common_default.lineBreakRegex),d=1.25*(0,r.getConfig2)().state.noteMargin;for(let t of l){let s=t.trim();if(s.length>0){let t=a.append("tspan");t.text(s),0===d&&(d+=t.node().getBBox().height),n+=d,t.attr("x",e+(0,r.getConfig2)().state.noteMargin),t.attr("y",i+n+1.25*(0,r.getConfig2)().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:n}},"_drawLongText"),S=(0,n.__name)((t,e)=>{e.attr("class","state-note");let i=e.append("rect").attr("x",0).attr("y",(0,r.getConfig2)().state.padding),{textWidth:s,textHeight:n}=m(t,0,0,e.append("g"));return i.attr("height",n+2*(0,r.getConfig2)().state.noteMargin),i.attr("width",s+2*(0,r.getConfig2)().state.noteMargin),i},"drawNote"),b=(0,n.__name)(function(t,e){let i=e.id,s={id:i,label:e.id,width:0,height:0},n=t.append("g").attr("id",i).attr("class","stateGroup");"start"===e.type&&h(n),"end"===e.type&&_(n),("fork"===e.type||"join"===e.type)&&y(n,e),"note"===e.type&&S(e.note.text,n),"divider"===e.type&&u(n),"default"===e.type&&0===e.descriptions.length&&g(n,e),"default"===e.type&&e.descriptions.length>0&&p(n,e);let a=n.node().getBBox();return s.width=a.width+2*(0,r.getConfig2)().state.padding,s.height=a.height+2*(0,r.getConfig2)().state.padding,s},"drawState"),C=0,v=(0,n.__name)(function(t,e,a){let o=(0,n.__name)(function(t){switch(t){case i.StateDB.relationType.AGGREGATION:return"aggregation";case i.StateDB.relationType.EXTENSION:return"extension";case i.StateDB.relationType.COMPOSITION:return"composition";case i.StateDB.relationType.DEPENDENCY:return"dependency"}},"getRelationType");e.points=e.points.filter(t=>!Number.isNaN(t.y));let l=e.points,h=(0,d.line)().x(function(t){return t.x}).y(function(t){return t.y}).curve(c.curveBasis),u=t.append("path").attr("d",h(l)).attr("id","edge"+C).attr("class","transition"),g="";if((0,r.getConfig2)().state.arrowMarkerAbsolute&&(g=(0,r.getUrl)(!0)),u.attr("marker-end","url("+g+"#"+o(i.StateDB.relationType.DEPENDENCY)+"End)"),void 0!==a.title){let i=t.append("g").attr("class","stateLabel"),{x:o,y:l}=s.utils_default.calcLabelPosition(e.points),d=r.common_default.getRows(a.title),c=0,h=[],u=0,g=0;for(let t=0;t<=d.length;t++){let e=i.append("text").attr("text-anchor","middle").text(d[t]).attr("x",o).attr("y",l+c),s=e.node().getBBox();u=Math.max(u,s.width),g=Math.min(g,s.x),n.log.info(s.x,o,l+c),0===c&&(c=e.node().getBBox().height,n.log.info("Title height",c,l)),h.push(e)}let p=c*d.length;if(d.length>1){let t=(d.length-1)*c*.5;h.forEach((e,i)=>e.attr("y",l+i*c-t)),p=c*d.length}let f=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",o-u/2-(0,r.getConfig2)().state.padding/2).attr("y",l-p/2-(0,r.getConfig2)().state.padding/2-3.5).attr("width",u+(0,r.getConfig2)().state.padding).attr("height",p+(0,r.getConfig2)().state.padding),n.log.info(f)}C++},"drawEdge"),x={},k=(0,n.__name)(function(){},"setConf"),E=(0,n.__name)(function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"insertMarkers"),T=(0,n.__name)(function(t,i,s,o){let l;e=(0,r.getConfig2)().state;let d=(0,r.getConfig2)().securityLevel;"sandbox"===d&&(l=(0,a.select)("#i"+i));let c="sandbox"===d?(0,a.select)(l.nodes()[0].contentDocument.body):(0,a.select)("body"),h="sandbox"===d?l.nodes()[0].contentDocument:document;n.log.debug("Rendering diagram "+t);let u=c.select(`[id='${i}']`);E(u),w(o.db.getRootDoc(),u,void 0,!1,c,h,o);let g=e.padding,p=u.node().getBBox(),f=p.width+2*g,_=p.height+2*g;(0,r.configureSvgSize)(u,_,1.75*f,e.useMaxWidth),u.attr("viewBox",`${p.x-e.padding} ${p.y-e.padding} `+f+" "+_)},"draw"),D=(0,n.__name)(t=>t?t.length*e.fontSizeFactor:1,"getLabelWidth"),w=(0,n.__name)((t,i,s,a,d,c,h)=>{let u,g=new l.Graph({compound:!0,multigraph:!0}),p=!0;for(u=0;u<t.length;u++)if("relation"===t[u].stmt){p=!1;break}s?g.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:p?1:e.edgeLengthFactor,nodeSep:p?1:50,isMultiGraph:!0}):g.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:p?1:e.edgeLengthFactor,nodeSep:p?1:50,ranker:"tight-tree",isMultiGraph:!0}),g.setDefaultEdgeLabel(function(){return{}});let _=h.db.getStates(),y=h.db.getRelations();for(let t of Object.keys(_)){let r,n=_[t];if(s&&(n.parentId=s),n.doc){let t=i.append("g").attr("id",n.id).attr("class","stateGroup");r=w(n.doc,t,n.id,!a,d,c,h);{let i=(t=f(t,n,a)).node().getBBox();r.width=i.width,r.height=i.height+e.padding/2,x[n.id]={y:e.compositTitleSize}}}else r=b(i,n,g);if(n.note){let t=b(i,{descriptions:[],id:n.id+"-note",note:n.note,type:"note"},g);"left of"===n.note.position?(g.setNode(r.id+"-note",t),g.setNode(r.id,r)):(g.setNode(r.id,r),g.setNode(r.id+"-note",t)),g.setParent(r.id,r.id+"-group"),g.setParent(r.id+"-note",r.id+"-group")}else g.setNode(r.id,r)}n.log.debug("Count=",g.nodeCount(),g);let m=0;y.forEach(function(t){m++,n.log.debug("Setting edge",t),g.setEdge(t.id1,t.id2,{relation:t,width:D(t.title),height:e.labelHeight*r.common_default.getRows(t.title).length,labelpos:"c"},"id"+m)}),(0,o.layout)(g),n.log.debug("Graph after layout",g.nodes());let S=i.node();g.nodes().forEach(function(t){void 0!==t&&void 0!==g.node(t)?(n.log.warn("Node "+t+": "+JSON.stringify(g.node(t))),d.select("#"+S.id+" #"+t).attr("transform","translate("+(g.node(t).x-g.node(t).width/2)+","+(g.node(t).y+(x[t]?x[t].y:0)-g.node(t).height/2)+" )"),d.select("#"+S.id+" #"+t).attr("data-x-shift",g.node(t).x-g.node(t).width/2),c.querySelectorAll("#"+S.id+" #"+t+" .divider").forEach(t=>{let e=t.parentElement,i=0,s=0;e&&(e.parentElement&&(i=e.parentElement.getBBox().width),Number.isNaN(s=parseInt(e.getAttribute("data-x-shift"),10))&&(s=0)),t.setAttribute("x1",0-s+8),t.setAttribute("x2",i-s-8)})):n.log.debug("No Node "+t+": "+JSON.stringify(g.node(t)))});let C=S.getBBox();g.edges().forEach(function(t){void 0!==t&&void 0!==g.edge(t)&&(n.log.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(g.edge(t))),v(i,g.edge(t),g.edge(t).relation))});let k={id:s||"root",label:s||"root",width:0,height:0};return k.width=(C=S.getBBox()).width+2*e.padding,k.height=C.height+2*e.padding,n.log.debug("Doc rendered",k,g),k},"renderDoc"),$={parser:i.stateDiagram_default,get db(){return new i.StateDB(1)},renderer:{setConf:k,draw:T},styles:i.styles_default,init:(0,n.__name)(t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute},"init")};t.s(["diagram",()=>$])}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52491,(t,e,r)=>{var n={675:function(t,e){"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,o=f(t),s=o[0],a=o[1],h=new i((s+a)*3/4-a),u=0,c=a>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],h[u++]=e>>16&255,h[u++]=e>>8&255,h[u++]=255&e;return 2===a&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,h[u++]=255&e),1===a&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,h[u++]=e>>8&255,h[u++]=255&e),h},e.fromByteArray=function(t){for(var e,n=t.length,i=n%3,o=[],s=0,a=n-i;s<a;s+=16383)o.push(function(t,e,n){for(var i,o=[],s=e;s<n;s+=3)i=(t[s]<<16&0xff0000)+(t[s+1]<<8&65280)+(255&t[s+2]),o.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}(t,s,s+16383>a?a:s+16383));return 1===i?o.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===i&&o.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),o.join("")};for(var r=[],n=[],i="u">typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s<a;++s)r[s]=o[s],n[o.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),i=r(783),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return u(t)}return f(t,e,r)}function f(t,e,r){if("string"==typeof t){var n=t,i=e;if(("string"!=typeof i||""===i)&&(i="utf8"),!a.isEncoding(i))throw TypeError("Unknown encoding: "+i);var o=0|p(n,i),f=s(o),h=f.write(n,i);return h!==o&&(f=f.slice(0,h)),f}if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(T(t,ArrayBuffer)||t&&T(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(T(t,SharedArrayBuffer)||t&&T(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),a.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var u=t.valueOf&&t.valueOf();if(null!=u&&u!==t)return a.from(u,e,r);var d=function(t){if(a.isBuffer(t)){var e=0|l(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?s(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(d)return d;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function h(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function u(t){return h(t),s(t<0?0:0|l(t))}function c(t){for(var e=t.length<0?0:0|l(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!a.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,r){return f(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(h(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return u(t)},a.allocUnsafeSlow=function(t){return u(t)};function l(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||T(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return I(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return x(t).length;default:if(i)return n?-1:I(t).length;e=(""+e).toLowerCase(),i=!0}}function d(t,e,r){var i,o,s,a=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=e;o<r;++o)i+=L[t[o]];return i}(this,e,r);case"utf8":case"utf-8":return m(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(127&t[i]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;i<r;++i)n+=String.fromCharCode(t[i]);return n}(this,e,r);case"base64":return i=this,o=e,s=r,0===o&&s===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(o,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}(this,e,r);default:if(a)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function y(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,i){var o;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(o=r*=1)!=o&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(i)return -1;else r=t.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:w(t,e,r,n,i);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return w(t,[e],r,n,i)}throw TypeError("val must be string, number or Buffer")}function w(t,e,r,n,i){var o,s=1,a=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,a/=2,f/=2,r/=2}function h(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var u=-1;for(o=r;o<a;o++)if(h(t,o)===h(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===f)return u*s}else -1!==u&&(o-=o-u),u=-1}else for(r+f>a&&(r=a-f),o=r;o>=0;o--){for(var c=!0,l=0;l<f;l++)if(h(t,o+l)!==h(e,l)){c=!1;break}if(c)return o}return -1}a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(T(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),T(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,i=0,o=Math.min(r,n);i<o;++i)if(t[i]!==e[i]){r=t[i],n=e[i];break}return r<n?-1:+(n<r)},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=a.allocUnsafe(e),i=0;for(r=0;r<t.length;++r){var o=t[r];if(T(o,Uint8Array)&&(o=a.from(o)),!a.isBuffer(o))throw TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)y(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)y(this,e,e+3),y(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)y(this,e,e+7),y(this,e+1,e+6),y(this,e+2,e+5),y(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?m(this,0,t):d.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(t,e,r,n,i){if(T(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,i>>>=0,this===t)return 0;for(var o=i-n,s=r-e,f=Math.min(o,s),h=this.slice(n,i),u=t.slice(e,r),c=0;c<f;++c)if(h[c]!==u[c]){o=h[c],s=u[c];break}return o<s?-1:+(s<o)},a.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function m(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i<r;){var o,s,a,f,h=t[i],u=null,c=h>239?4:h>223?3:h>191?2:1;if(i+c<=r)switch(c){case 1:h<128&&(u=h);break;case 2:(192&(o=t[i+1]))==128&&(f=(31&h)<<6|63&o)>127&&(u=f);break;case 3:o=t[i+1],s=t[i+2],(192&o)==128&&(192&s)==128&&(f=(15&h)<<12|(63&o)<<6|63&s)>2047&&(f<55296||f>57343)&&(u=f);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],(192&o)==128&&(192&s)==128&&(192&a)==128&&(f=(15&h)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&f<1114112&&(u=f)}null===u?(u=65533,c=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=c}var l=n,p=l.length;if(p<=4096)return String.fromCharCode.apply(String,l);for(var d="",y=0;y<p;)d+=String.fromCharCode.apply(String,l.slice(y,y+=4096));return d}function v(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function b(t,e,r,n,i,o){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function U(t,e,r,n,i,o){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function A(t,e,r,n,o){return e*=1,r>>>=0,o||U(t,e,r,4,34028234663852886e22,-34028234663852886e22),i.write(t,e,r,n,23,4),r+4}function E(t,e,r,n,o){return e*=1,r>>>=0,o||U(t,e,r,8,17976931348623157e292,-17976931348623157e292),i.write(t,e,r,n,52,8),r+8}a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,o,s,a,f,h,u,c,l=this.length-e;if((void 0===r||r>l)&&(r=l),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var i=t.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=e.length;n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a,f=parseInt(e.substr(2*s,2),16);if((a=f)!=a)break;t[r+s]=f}return s}(this,t,e,r);case"utf8":case"utf-8":return i=e,o=r,C(I(t,this.length-i),this,i,o);case"ascii":return s=e,a=r,C(S(t),this,s,a);case"latin1":case"binary":return function(t,e,r,n){return C(S(e),t,r,n)}(this,t,e,r);case"base64":return f=e,h=r,C(x(t),this,f,h);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=e,c=r,C(function(t,e){for(var r,n,i=[],o=0;o<t.length&&!((e-=2)<0);++o)n=(r=t.charCodeAt(o))>>8,i.push(r%256),i.push(n);return i}(t,this.length-u),this,u,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t+--e],i=1;e>0&&(i*=256);)n+=this[t+--e]*i;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||v(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],i=1,o=0;++o<e&&(i*=256);)n+=this[t+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=e,i=1,o=this[t+--n];n>0&&(i*=256);)o+=this[t+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},a.prototype.readInt8=function(t,e){return(t>>>=0,e||v(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||v(t,4,this.length),i.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||v(t,8,this.length),i.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,t,e,r,i,0)}var o=1,s=0;for(this[e]=255&t;++s<r&&(o*=256);)this[e+s]=t/o&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;b(this,t,e,r,i,0)}var o=r-1,s=1;for(this[e+o]=255&t;--o>=0&&(s*=256);)this[e+o]=t/s&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,t,e,r,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<r&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var i=Math.pow(2,8*r-1);b(this,t,e,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s|0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||b(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return A(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return A(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return E(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return E(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var i=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var o=i-1;o>=0;--o)t[o+e]=this[o+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return i},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var i,o=t.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(t=o)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(i=e;i<r;++i)this[i]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),f=s.length;if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(i=0;i<r-e;++i)this[i+e]=s[i%f]}return this};var B=/[^+/0-9A-Za-z-_]/g;function I(t,e){e=e||1/0;for(var r,n=t.length,i=null,o=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319||s+1===n){(e-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return o}function S(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function x(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(B,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function C(t,e,r,n){for(var i=0;i<n&&!(i+r>=e.length)&&!(i>=t.length);++i)e[i+r]=t[i];return i}function T(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var L=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)e[n+i]=t[r]+t[i];return e}()},783:function(t,e){e.read=function(t,e,r,n,i){var o,s,a=8*i-n-1,f=(1<<a)-1,h=f>>1,u=-7,c=r?i-1:0,l=r?-1:1,p=t[e+c];for(c+=l,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+t[e+c],c+=l,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+t[e+c],c+=l,u-=8);if(0===o)o=1-h;else{if(o===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=h}return(p?-1:1)*s*Math.pow(2,o-n)},e.write=function(t,e,r,n,i,o){var s,a,f,h=8*o-i-1,u=(1<<h)-1,c=u>>1,l=5960464477539062e-23*(23===i),p=n?0:o-1,d=n?1:-1,y=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(a=+!!isNaN(e),s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+c>=1?e+=l/f:e+=l*Math.pow(2,1-c),e*f>=2&&(s++,f/=2),s+c>=u?(a=0,s=u):s+c>=1?(a=(e*f-1)*Math.pow(2,i),s+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,i),s=0));i>=8;t[r+p]=255&a,p+=d,a/=256,i-=8);for(s=s<<i|a,h+=i;h>0;t[r+p]=255&s,p+=d,s/=256,h-=8);t[r+p-d]|=128*y}}},i={};function o(t){var e=i[t];if(void 0!==e)return e.exports;var r=i[t]={exports:{}},s=!0;try{n[t](r,r.exports,o),s=!1}finally{s&&delete i[t]}return r.exports}o.ab="/ROOT/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/buffer/",e.exports=o(72)},50834,t=>{"use strict";var e=t.i(73891),r=t.i(96790),n=t.i(57735),i=t.i(81589),o=t.i(26184);let s=new Map,a="u"<typeof BroadcastChannel?class{constructor(t){this.room=t,this.onmessage=null,this._onChange=e=>e.key===t&&null!==this.onmessage&&this.onmessage({data:i.fromBase64(e.newValue||"")}),o.onChange(this._onChange)}postMessage(t){o.varStorage.setItem(this.room,i.toBase64(i.createUint8ArrayFromArrayBuffer(t)))}close(){o.offChange(this._onChange)}}:BroadcastChannel,f=t=>r.setIfUndefined(s,t,()=>{let e=n.create(),r=new a(t);return r.onmessage=t=>e.forEach(e=>e(t.data,"broadcastchannel")),{bc:r,subs:e}}),h=(t,e,r=null)=>{let n=f(t);n.bc.postMessage(e),n.subs.forEach(t=>t(e,r))};var u=t.i(43292),c=t.i(50070),l=t.i(39982),p=t.i(74894);let d=(t,e)=>{c.writeVarUint(t,0);let r=p.encodeStateVector(e);c.writeVarUint8Array(t,r)},y=(t,e,r)=>{c.writeVarUint(t,1),c.writeVarUint8Array(t,p.encodeStateAsUpdate(e,r))};var g=t.i(58627),w=t.i(93677),m=t.i(14531);class v extends w.Observable{constructor(t){super(),this.doc=t,this.clientID=t.clientID,this.states=new Map,this.meta=new Map,this._checkInterval=setInterval(()=>{let t=u.getUnixTime();null!==this.getLocalState()&&15e3<=t-this.meta.get(this.clientID).lastUpdated&&this.setLocalState(this.getLocalState());let e=[];this.meta.forEach((r,n)=>{n!==this.clientID&&3e4<=t-r.lastUpdated&&this.states.has(n)&&e.push(n)}),e.length>0&&b(this,e,"timeout")},g.floor(3e3)),t.on("destroy",()=>{this.destroy()}),this.setLocalState({})}destroy(){this.emit("destroy",[this]),this.setLocalState(null),super.destroy(),clearInterval(this._checkInterval)}getLocalState(){return this.states.get(this.clientID)||null}setLocalState(t){let e=this.clientID,r=this.meta.get(e),n=void 0===r?0:r.clock+1,i=this.states.get(e);null===t?this.states.delete(e):this.states.set(e,t),this.meta.set(e,{clock:n,lastUpdated:u.getUnixTime()});let o=[],s=[],a=[],f=[];null===t?f.push(e):null==i?null!=t&&o.push(e):(s.push(e),m.equalityDeep(i,t)||a.push(e)),(o.length>0||a.length>0||f.length>0)&&this.emit("change",[{added:o,updated:a,removed:f},"local"]),this.emit("update",[{added:o,updated:s,removed:f},"local"])}setLocalStateField(t,e){let r=this.getLocalState();null!==r&&this.setLocalState({...r,[t]:e})}getStates(){return this.states}}let b=(t,e,r)=>{let n=[];for(let r=0;r<e.length;r++){let i=e[r];if(t.states.has(i)){if(t.states.delete(i),i===t.clientID){let e=t.meta.get(i);t.meta.set(i,{clock:e.clock+1,lastUpdated:u.getUnixTime()})}n.push(i)}}n.length>0&&(t.emit("change",[{added:[],updated:[],removed:n},r]),t.emit("update",[{added:[],updated:[],removed:n},r]))},U=(t,e,r=t.states)=>{let n=e.length,i=c.createEncoder();c.writeVarUint(i,n);for(let o=0;o<n;o++){let n=e[o],s=r.get(n)||null,a=t.meta.get(n).clock;c.writeVarUint(i,n),c.writeVarUint(i,a),c.writeVarString(i,JSON.stringify(s))}return c.toUint8Array(i)};var A=w,E=t.i(42977),B=t.i(80541);let I=[];I[0]=(t,e,r,n,i)=>{c.writeVarUint(t,0);let o=((t,e,r,n,i)=>{let o=l.readVarUint(t);switch(o){case 0:y(e,r,l.readVarUint8Array(t));break;case 1:case 2:var s=t,a=r,f=n,h=i;try{p.applyUpdate(a,l.readVarUint8Array(s),f)}catch(t){null!=h&&h(t),console.error("Caught error while handling a Yjs update",t)}break;default:throw Error("Unknown message type")}return o})(e,t,r.doc,r);n&&1===o&&!r.synced&&(r.synced=!0)},I[3]=(t,e,r,n,i)=>{c.writeVarUint(t,1),c.writeVarUint8Array(t,U(r.awareness,Array.from(r.awareness.getStates().keys())))},I[1]=(t,e,r,n,i)=>{((t,e,r)=>{let n=l.createDecoder(e),i=u.getUnixTime(),o=[],s=[],a=[],f=[],h=l.readVarUint(n);for(let e=0;e<h;e++){let e=l.readVarUint(n),r=l.readVarUint(n),h=JSON.parse(l.readVarString(n)),u=t.meta.get(e),c=t.states.get(e),p=void 0===u?0:u.clock;(p<r||p===r&&null===h&&t.states.has(e))&&(null===h?e===t.clientID&&null!=t.getLocalState()?r++:t.states.delete(e):t.states.set(e,h),t.meta.set(e,{clock:r,lastUpdated:i}),void 0===u&&null!==h?o.push(e):void 0!==u&&null===h?f.push(e):null!==h&&(m.equalityDeep(h,c)||a.push(e),s.push(e)))}(o.length>0||a.length>0||f.length>0)&&t.emit("change",[{added:o,updated:a,removed:f},r]),(o.length>0||s.length>0||f.length>0)&&t.emit("update",[{added:o,updated:s,removed:f},r])})(r.awareness,l.readVarUint8Array(e),r)},I[2]=(t,e,r,n,i)=>{var o;o=r.doc,0===l.readVarUint(e)&&((t,e)=>S(r,e))(o,l.readVarString(e))};let S=(t,e)=>console.warn(`Permission denied to access ${t.url}.
|
|
2
|
+
${e}`),x=(t,e,r)=>{let n=l.createDecoder(e),i=c.createEncoder(),o=l.readVarUint(n),s=t.messageHandlers[o];return s?s(i,n,t,r,o):console.error("Unable to compute message"),i},C=(t,e,r)=>{e===t.ws&&(t.emit("connection-close",[r,t]),t.ws=null,e.close(),t.wsconnecting=!1,t.wsconnected?(t.wsconnected=!1,t.synced=!1,b(t.awareness,Array.from(t.awareness.getStates().keys()).filter(e=>e!==t.doc.clientID),t),t.emit("status",[{status:"disconnected"}])):t.wsUnsuccessfulReconnects++,setTimeout(T,g.min(100*g.pow(2,t.wsUnsuccessfulReconnects),t.maxBackoffTime),t))},T=t=>{if(t.shouldConnect&&null===t.ws){let e=new t._WS(t.url,t.protocols);e.binaryType="arraybuffer",t.ws=e,t.wsconnecting=!0,t.wsconnected=!1,t.synced=!1,e.onmessage=r=>{t.wsLastMessageReceived=u.getUnixTime();let n=x(t,new Uint8Array(r.data),!0);c.length(n)>1&&e.send(c.toUint8Array(n))},e.onerror=e=>{t.emit("connection-error",[e,t])},e.onclose=r=>{C(t,e,r)},e.onopen=()=>{t.wsLastMessageReceived=u.getUnixTime(),t.wsconnecting=!1,t.wsconnected=!0,t.wsUnsuccessfulReconnects=0,t.emit("status",[{status:"connected"}]);let r=c.createEncoder();if(c.writeVarUint(r,0),d(r,t.doc),e.send(c.toUint8Array(r)),null!==t.awareness.getLocalState()){let r=c.createEncoder();c.writeVarUint(r,1),c.writeVarUint8Array(r,U(t.awareness,[t.doc.clientID])),e.send(c.toUint8Array(r))}},t.emit("status",[{status:"connecting"}])}},L=(t,e)=>{let r=t.ws;t.wsconnected&&r&&r.readyState===r.OPEN&&r.send(e),t.bcconnected&&h(t.bcChannel,e,t)};class _ extends A.ObservableV2{constructor(t,r,n,{connect:i=!0,awareness:o=new v(n),params:s={},protocols:a=[],WebSocketPolyfill:f=WebSocket,resyncInterval:l=-1,maxBackoffTime:p=2500,disableBc:y=!1}={}){for(super();"/"===t[t.length-1];)t=t.slice(0,t.length-1);this.serverUrl=t,this.bcChannel=t+"/"+r,this.maxBackoffTime=p,this.params=s,this.protocols=a,this.roomname=r,this.doc=n,this._WS=f,this.awareness=o,this.wsconnected=!1,this.wsconnecting=!1,this.bcconnected=!1,this.disableBc=y,this.wsUnsuccessfulReconnects=0,this.messageHandlers=I.slice(),this._synced=!1,this.ws=null,this.wsLastMessageReceived=0,this.shouldConnect=i,this._resyncInterval=0,l>0&&(this._resyncInterval=setInterval(()=>{if(this.ws&&this.ws.readyState===WebSocket.OPEN){let t=c.createEncoder();c.writeVarUint(t,0),d(t,n),this.ws.send(c.toUint8Array(t))}},l)),this._bcSubscriber=(t,e)=>{if(e!==this){let e=x(this,new Uint8Array(t),!1);c.length(e)>1&&h(this.bcChannel,c.toUint8Array(e),this)}},this._updateHandler=(t,e)=>{if(e!==this){let e=c.createEncoder();c.writeVarUint(e,0),c.writeVarUint(e,2),c.writeVarUint8Array(e,t),L(this,c.toUint8Array(e))}},this.doc.on("update",this._updateHandler),this._awarenessUpdateHandler=({added:t,updated:e,removed:r},n)=>{let i=t.concat(e).concat(r),s=c.createEncoder();c.writeVarUint(s,1),c.writeVarUint8Array(s,U(o,i)),L(this,c.toUint8Array(s))},this._exitHandler=()=>{b(this.awareness,[n.clientID],"app closed")},B.isNode&&void 0!==e.default&&e.default.on("exit",this._exitHandler),o.on("update",this._awarenessUpdateHandler),this._checkInterval=setInterval(()=>{this.wsconnected&&3e4<u.getUnixTime()-this.wsLastMessageReceived&&C(this,this.ws,null)},3e3),i&&this.connect()}get url(){let t,e=(t=this.params,E.map(t,(t,e)=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`).join("&"));return this.serverUrl+"/"+this.roomname+(0===e.length?"":"?"+e)}get synced(){return this._synced}set synced(t){this._synced!==t&&(this._synced=t,this.emit("synced",[t]),this.emit("sync",[t]))}destroy(){0!==this._resyncInterval&&clearInterval(this._resyncInterval),clearInterval(this._checkInterval),this.disconnect(),B.isNode&&void 0!==e.default&&e.default.off("exit",this._exitHandler),this.awareness.off("update",this._awarenessUpdateHandler),this.doc.off("update",this._updateHandler),super.destroy()}connectBc(){if(this.disableBc)return;if(!this.bcconnected){var t,e;t=this.bcChannel,e=this._bcSubscriber,f(t).subs.add(e),this.bcconnected=!0}let r=c.createEncoder();c.writeVarUint(r,0),d(r,this.doc),h(this.bcChannel,c.toUint8Array(r),this);let n=c.createEncoder();c.writeVarUint(n,0),y(n,this.doc),h(this.bcChannel,c.toUint8Array(n),this);let i=c.createEncoder();c.writeVarUint(i,3),h(this.bcChannel,c.toUint8Array(i),this);let o=c.createEncoder();c.writeVarUint(o,1),c.writeVarUint8Array(o,U(this.awareness,[this.doc.clientID])),h(this.bcChannel,c.toUint8Array(o),this)}disconnectBc(){let t=c.createEncoder();if(c.writeVarUint(t,1),c.writeVarUint8Array(t,U(this.awareness,[this.doc.clientID],new Map)),L(this,c.toUint8Array(t)),this.bcconnected){var e,r;let t;e=this.bcChannel,r=this._bcSubscriber,(t=f(e)).subs.delete(r)&&0===t.subs.size&&(t.bc.close(),s.delete(e)),this.bcconnected=!1}}disconnect(){this.shouldConnect=!1,this.disconnectBc(),null!==this.ws&&C(this,this.ws,null)}connect(){this.shouldConnect=!0,this.wsconnected||null!==this.ws||(T(this),this.connectBc())}}t.s(["WebsocketProvider",()=>_,"messageAuth",0,2,"messageAwareness",0,1,"messageQueryAwareness",0,3,"messageSync",0,0],50834)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,52491,(t,e,r)=>{var n={675:function(t,e){"use strict";e.byteLength=function(t){var e=f(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=f(t),s=i[0],a=i[1],u=new o((s+a)*3/4-a),h=0,c=a>0?s-4:s;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[h++]=e>>16&255,u[h++]=e>>8&255,u[h++]=255&e;return 2===a&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[h++]=255&e),1===a&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[h++]=e>>8&255,u[h++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],s=0,a=n-o;s<a;s+=16383)i.push(function(t,e,n){for(var o,i=[],s=e;s<n;s+=3)o=(t[s]<<16&0xff0000)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,s,s+16383>a?a:s+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=i.length;s<a;++s)r[s]=i[s],n[i.charCodeAt(s)]=s;function f(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(t,e,r){"use strict";var n=r(675),o=r(783),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,a.prototype),e}function a(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return h(t)}return f(t,e,r)}function f(t,e,r){if("string"==typeof t){var n=t,o=e;if(("string"!=typeof o||""===o)&&(o="utf8"),!a.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),f=s(i),u=f.write(n,o);return u!==i&&(f=f.slice(0,u)),f}if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(I(t,ArrayBuffer)||t&&I(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(I(t,SharedArrayBuffer)||t&&I(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),a.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var h=t.valueOf&&t.valueOf();if(null!=h&&h!==t)return a.from(h,e,r);var y=function(t){if(a.isBuffer(t)){var e=0|l(t.length),r=s(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?s(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(y)return y;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return a.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function h(t){return u(t),s(t<0?0:0|l(t))}function c(t){for(var e=t.length<0?0:0|l(t.length),r=s(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=a,e.SlowBuffer=function(t){return+t!=t&&(t=0),a.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,a.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!a.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(t,e,r){return f(t,e,r)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(t,e,r){return(u(t),t<=0)?s(t):void 0!==e?"string"==typeof r?s(t).fill(e,r):s(t).fill(e):s(t)},a.allocUnsafe=function(t){return h(t)},a.allocUnsafeSlow=function(t){return h(t)};function l(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(a.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||I(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(t).length;default:if(o)return n?-1:B(t).length;e=(""+e).toLowerCase(),o=!0}}function y(t,e,r){var o,i,s,a=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=O[t[i]];return o}(this,e,r);case"utf8":case"utf-8":return v(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return o=this,i=e,s=r,0===i&&s===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,s));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(a)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),a=!0}}function d(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,o){var i;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(o)return -1;else r=t.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof e&&(e=a.from(e,n)),a.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return m(t,[e],r,n,o)}throw TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){var i,s=1,a=t.length,f=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;s=2,a/=2,f/=2,r/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(o){var h=-1;for(i=r;i<a;i++)if(u(t,i)===u(e,-1===h?0:i-h)){if(-1===h&&(h=i),i-h+1===f)return h*s}else -1!==h&&(i-=i-h),h=-1}else for(r+f>a&&(r=a-f),i=r;i>=0;i--){for(var c=!0,l=0;l<f;l++)if(u(t,i+l)!==u(e,l)){c=!1;break}if(c)return i}return -1}a.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==a.prototype},a.compare=function(t,e){if(I(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),I(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(t)||!a.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:+(n<r)},a.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},a.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return a.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=a.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(I(i,Uint8Array)&&(i=a.from(i)),!a.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)d(this,e,e+1);return this},a.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)d(this,e,e+3),d(this,e+1,e+2);return this},a.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)d(this,e,e+7),d(this,e+1,e+6),d(this,e+2,e+5),d(this,e+3,e+4);return this},a.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?v(this,0,t):y.apply(this,arguments)},a.prototype.toLocaleString=a.prototype.toString,a.prototype.equals=function(t){if(!a.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===a.compare(this,t)},a.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(a.prototype[i]=a.prototype.inspect),a.prototype.compare=function(t,e,r,n,o){if(I(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,s=r-e,f=Math.min(i,s),u=this.slice(n,o),h=t.slice(e,r),c=0;c<f;++c)if(u[c]!==h[c]){i=u[c],s=h[c];break}return i<s?-1:+(s<i)},a.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},a.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},a.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)};function v(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,s,a,f,u=t[o],h=null,c=u>239?4:u>223?3:u>191?2:1;if(o+c<=r)switch(c){case 1:u<128&&(h=u);break;case 2:(192&(i=t[o+1]))==128&&(f=(31&u)<<6|63&i)>127&&(h=f);break;case 3:i=t[o+1],s=t[o+2],(192&i)==128&&(192&s)==128&&(f=(15&u)<<12|(63&i)<<6|63&s)>2047&&(f<55296||f>57343)&&(h=f);break;case 4:i=t[o+1],s=t[o+2],a=t[o+3],(192&i)==128&&(192&s)==128&&(192&a)==128&&(f=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&f<1114112&&(h=f)}null===h?(h=65533,c=1):h>65535&&(h-=65536,n.push(h>>>10&1023|55296),h=56320|1023&h),n.push(h),o+=c}var l=n,p=l.length;if(p<=4096)return String.fromCharCode.apply(String,l);for(var y="",d=0;d<p;)y+=String.fromCharCode.apply(String,l.slice(d,d+=4096));return y}function b(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function w(t,e,r,n,o,i){if(!a.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function x(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function S(t,e,r,n,i){return e*=1,r>>>=0,i||x(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function E(t,e,r,n,i){return e*=1,r>>>=0,i||x(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}a.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,s,a,f,u,h,c,l=this.length-e;if((void 0===r||r>l)&&(r=l),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var s=0;s<n;++s){var a,f=parseInt(e.substr(2*s,2),16);if((a=f)!=a)break;t[r+s]=f}return s}(this,t,e,r);case"utf8":case"utf-8":return o=e,i=r,R(B(t,this.length-o),this,o,i);case"ascii":return s=e,a=r,R(T(t),this,s,a);case"latin1":case"binary":return function(t,e,r,n){return R(T(e),t,r,n)}(this,t,e,r);case"base64":return f=e,u=r,R(C(t),this,f,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return h=e,c=r,R(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(t,this.length-h),this,h,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,a.prototype),n},a.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},a.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},a.prototype.readUInt8=function(t,e){return t>>>=0,e||b(t,1,this.length),this[t]},a.prototype.readUInt16LE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]|this[t+1]<<8},a.prototype.readUInt16BE=function(t,e){return t>>>=0,e||b(t,2,this.length),this[t]<<8|this[t+1]},a.prototype.readUInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},a.prototype.readUInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},a.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},a.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||b(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},a.prototype.readInt8=function(t,e){return(t>>>=0,e||b(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},a.prototype.readInt16LE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt16BE=function(t,e){t>>>=0,e||b(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},a.prototype.readInt32LE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},a.prototype.readInt32BE=function(t,e){return t>>>=0,e||b(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},a.prototype.readFloatLE=function(t,e){return t>>>=0,e||b(t,4,this.length),o.read(this,t,!0,23,4)},a.prototype.readFloatBE=function(t,e){return t>>>=0,e||b(t,4,this.length),o.read(this,t,!1,23,4)},a.prototype.readDoubleLE=function(t,e){return t>>>=0,e||b(t,8,this.length),o.read(this,t,!0,52,8)},a.prototype.readDoubleBE=function(t,e){return t>>>=0,e||b(t,8,this.length),o.read(this,t,!1,52,8)},a.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,t,e,r,o,0)}var i=1,s=0;for(this[e]=255&t;++s<r&&(i*=256);)this[e+s]=t/i&255;return e+r},a.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;w(this,t,e,r,o,0)}var i=r-1,s=1;for(this[e+i]=255&t;--i>=0&&(s*=256);)this[e+i]=t/s&255;return e+r},a.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,255,0),this[e]=255&t,e+1},a.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},a.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,t,e,r,o-1,-o)}var i=0,s=1,a=0;for(this[e]=255&t;++i<r&&(s*=256);)t<0&&0===a&&0!==this[e+i-1]&&(a=1),this[e+i]=(t/s|0)-a&255;return e+r},a.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);w(this,t,e,r,o-1,-o)}var i=r-1,s=1,a=0;for(this[e+i]=255&t;--i>=0&&(s*=256);)t<0&&0===a&&0!==this[e+i+1]&&(a=1),this[e+i]=(t/s|0)-a&255;return e+r},a.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},a.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},a.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},a.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},a.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||w(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},a.prototype.writeFloatLE=function(t,e,r){return S(this,t,e,!0,r)},a.prototype.writeFloatBE=function(t,e,r){return S(this,t,e,!1,r)},a.prototype.writeDoubleLE=function(t,e,r){return E(this,t,e,!0,r)},a.prototype.writeDoubleBE=function(t,e,r){return E(this,t,e,!1,r)},a.prototype.copy=function(t,e,r,n){if(!a.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},a.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!a.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var s=a.isBuffer(t)?t:a.from(t,n),f=s.length;if(0===f)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=s[o%f]}return this};var A=/[^+/0-9A-Za-z-_]/g;function B(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],s=0;s<n;++s){if((r=t.charCodeAt(s))>55295&&r<57344){if(!o){if(r>56319||s+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function T(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function C(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(A,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function R(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function I(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var O=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},783:function(t,e){e.read=function(t,e,r,n,o){var i,s,a=8*o-n-1,f=(1<<a)-1,u=f>>1,h=-7,c=r?o-1:0,l=r?-1:1,p=t[e+c];for(c+=l,i=p&(1<<-h)-1,p>>=-h,h+=a;h>0;i=256*i+t[e+c],c+=l,h-=8);for(s=i&(1<<-h)-1,i>>=-h,h+=n;h>0;s=256*s+t[e+c],c+=l,h-=8);if(0===i)i=1-u;else{if(i===f)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),i-=u}return(p?-1:1)*s*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var s,a,f,u=8*i-o-1,h=(1<<u)-1,c=h>>1,l=5960464477539062e-23*(23===o),p=n?0:i-1,y=n?1:-1,d=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(a=+!!isNaN(e),s=h):(s=Math.floor(Math.log(e)/Math.LN2),e*(f=Math.pow(2,-s))<1&&(s--,f*=2),s+c>=1?e+=l/f:e+=l*Math.pow(2,1-c),e*f>=2&&(s++,f/=2),s+c>=h?(a=0,s=h):s+c>=1?(a=(e*f-1)*Math.pow(2,o),s+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,o),s=0));o>=8;t[r+p]=255&a,p+=y,a/=256,o-=8);for(s=s<<o|a,u+=o;u>0;t[r+p]=255&s,p+=y,s/=256,u-=8);t[r+p-y]|=128*d}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}},s=!0;try{n[t](r,r.exports,i),s=!1}finally{s&&delete o[t]}return r.exports}i.ab="/ROOT/node_modules/.pnpm/next@16.1.6_@babel+core@7.29.0_react-dom@19.2.4_react@19.2.4__react@19.2.4/node_modules/next/dist/compiled/buffer/",e.exports=i(72)},85092,t=>{"use strict";var e=t.i(74894),r=t.i(49381);class n{constructor(t,e){this.yanchor=t,this.yhead=e}toJSON(){return{yanchor:e.relativePositionToJSON(this.yanchor),yhead:e.relativePositionToJSON(this.yhead)}}static fromJSON(t){return new n(e.createRelativePositionFromJSON(t.yanchor),e.createRelativePositionFromJSON(t.yhead))}}var o=t.i(84510);class i{constructor(t,r){this.ytext=t,this.awareness=r,this.undoManager=new e.UndoManager(t)}toYPos(t,r=0){return e.createRelativePositionFromTypeIndex(this.ytext,t,r)}fromYPos(t){let r=e.createAbsolutePositionFromRelativePosition(e.createRelativePositionFromJSON(t),this.ytext.doc);if(null==r||r.type!==this.ytext)throw Error("[y-codemirror] The position you want to retrieve was created by a different document");return{pos:r.index,assoc:r.assoc}}toYRange(t){let e=t.assoc;return new n(this.toYPos(t.anchor,e),this.toYPos(t.head,e))}fromYRange(t){let e=this.fromYPos(t.yanchor),r=this.fromYPos(t.yhead);return e.pos===r.pos?o.EditorSelection.cursor(r.pos,r.assoc):o.EditorSelection.range(e.pos,r.pos)}}let s=o.Facet.define({combine:t=>t[t.length-1]}),a=o.Annotation.define(),f=r.ViewPlugin.fromClass(class{constructor(t){this.view=t,this.conf=t.state.facet(s),this._observer=(e,r)=>{if(r.origin!==this.conf){let r=e.delta,n=[],o=0;for(let t=0;t<r.length;t++){let e=r[t];null!=e.insert?n.push({from:o,to:o,insert:e.insert}):null!=e.delete?(n.push({from:o,to:o+e.delete,insert:""}),o+=e.delete):o+=e.retain}t.dispatch({changes:n,annotations:[a.of(this.conf)]})}},this._ytext=this.conf.ytext,this._ytext.observe(this._observer)}update(t){if(!t.docChanged||t.transactions.length>0&&t.transactions[0].annotation(a)===this.conf)return;let e=this.conf.ytext;e.doc.transact(()=>{let r=0;t.changes.iterChanges((t,n,o,i,s)=>{let a=s.sliceString(0,s.length,"\n");t!==n&&e.delete(t+r,n-t),a.length>0&&e.insert(t+r,a),r+=a.length-(n-t)})},this.conf)}destroy(){this._ytext.unobserve(this._observer)}});var u=r,h=t.i(31051),c=t.i(54975),l=t.i(58627);let p=u.EditorView.baseTheme({".cm-ySelection":{},".cm-yLineSelection":{padding:0,margin:"0px 2px 0px 4px"},".cm-ySelectionCaret":{position:"relative",borderLeft:"1px solid black",borderRight:"1px solid black",marginLeft:"-1px",marginRight:"-1px",boxSizing:"border-box",display:"inline"},".cm-ySelectionCaretDot":{borderRadius:"50%",position:"absolute",width:".4em",height:".4em",top:"-.2em",left:"-.2em",backgroundColor:"inherit",transition:"transform .3s ease-in-out",boxSizing:"border-box"},".cm-ySelectionCaret:hover > .cm-ySelectionCaretDot":{transformOrigin:"bottom center",transform:"scale(0)"},".cm-ySelectionInfo":{position:"absolute",top:"-1.05em",left:"-1px",fontSize:".75em",fontFamily:"serif",fontStyle:"normal",fontWeight:"normal",lineHeight:"normal",userSelect:"none",color:"white",paddingLeft:"2px",paddingRight:"2px",zIndex:101,transition:"opacity .3s ease-in-out",backgroundColor:"inherit",opacity:0,transitionDelay:"0s",whiteSpace:"nowrap"},".cm-ySelectionCaret:hover > .cm-ySelectionInfo":{opacity:1,transitionDelay:"0s"}}),y=o.Annotation.define();class d extends u.WidgetType{constructor(t,e){super(),this.color=t,this.name=e}toDOM(){return h.element("span",[c.create("class","cm-ySelectionCaret"),c.create("style",`background-color: ${this.color}; border-color: ${this.color}`)],[h.text(""),h.element("div",[c.create("class","cm-ySelectionCaretDot")]),h.text(""),h.element("div",[c.create("class","cm-ySelectionInfo")],[h.text(this.name)]),h.text("")])}eq(t){return t.color===this.color}compare(t){return t.color===this.color}updateDOM(){return!1}get estimatedHeight(){return -1}ignoreEvent(){return!0}}let g=u.ViewPlugin.fromClass(class{constructor(t){this.conf=t.state.facet(s),this._listener=({added:e,updated:r,removed:n},o,i)=>{e.concat(r).concat(n).findIndex(t=>t!==this.conf.awareness.doc.clientID)>=0&&t.dispatch({annotations:[y.of([])]})},this._awareness=this.conf.awareness,this._awareness.on("change",this._listener),this.decorations=o.RangeSet.of([])}destroy(){this._awareness.off("change",this._listener)}update(t){let r=this.conf.ytext,n=r.doc,o=this.conf.awareness,i=[],s=this.conf.awareness.getLocalState();if(null!=s){let n=t.view.hasFocus&&t.view.dom.ownerDocument.hasFocus(),i=n?t.state.selection.main:null,a=null==s.cursor?null:e.createRelativePositionFromJSON(s.cursor.anchor),f=null==s.cursor?null:e.createRelativePositionFromJSON(s.cursor.head);if(null!=i){let t=e.createRelativePositionFromTypeIndex(r,i.anchor),n=e.createRelativePositionFromTypeIndex(r,i.head);null!=s.cursor&&e.compareRelativePositions(a,t)&&e.compareRelativePositions(f,n)||o.setLocalStateField("cursor",{anchor:t,head:n})}else null!=s.cursor&&n&&o.setLocalStateField("cursor",null)}o.getStates().forEach((s,a)=>{if(a===o.doc.clientID)return;let f=s.cursor;if(null==f||null==f.anchor||null==f.head)return;let h=e.createAbsolutePositionFromRelativePosition(f.anchor,n),c=e.createAbsolutePositionFromRelativePosition(f.head,n);if(null==h||null==c||h.type!==r||c.type!==r)return;let{color:p="#30bced",name:y="Anonymous"}=s.user||{},g=s.user&&s.user.colorLight||p+"33",m=l.min(h.index,c.index),v=l.max(h.index,c.index),b=t.view.state.doc.lineAt(m),w=t.view.state.doc.lineAt(v);if(b.number===w.number)i.push({from:m,to:v,value:u.Decoration.mark({attributes:{style:`background-color: ${g}`},class:"cm-ySelection"})});else{i.push({from:m,to:b.from+b.length,value:u.Decoration.mark({attributes:{style:`background-color: ${g}`},class:"cm-ySelection"})}),i.push({from:w.from,to:v,value:u.Decoration.mark({attributes:{style:`background-color: ${g}`},class:"cm-ySelection"})});for(let e=b.number+1;e<w.number;e++){let r=t.view.state.doc.line(e).from;i.push({from:r,to:r,value:u.Decoration.line({attributes:{style:`background-color: ${g}`,class:"cm-yLineSelection"}})})}}i.push({from:c.index,to:c.index,value:u.Decoration.widget({side:c.index-h.index>0?-1:1,block:!1,widget:new d(p,y)})})}),this.decorations=u.Decoration.set(i,!0)}},{decorations:t=>t.decorations});class m{constructor(t){this.undoManager=t}addTrackedOrigin(t){this.undoManager.addTrackedOrigin(t)}removeTrackedOrigin(t){this.undoManager.removeTrackedOrigin(t)}undo(){return null!=this.undoManager.undo()}redo(){return null!=this.undoManager.redo()}}let v=o.Facet.define({combine:t=>t[t.length-1]});o.Annotation.define();let b=r.ViewPlugin.fromClass(class{constructor(t){this.view=t,this.conf=t.state.facet(v),this._undoManager=this.conf.undoManager,this.syncConf=t.state.facet(s),this._beforeChangeSelection=null,this._mux=(()=>{let t=!0;return(e,r)=>{if(t){t=!1;try{e()}finally{t=!0}}else void 0!==r&&r()}})(),this._onStackItemAdded=({stackItem:t,changedParentTypes:e})=>{e.has(this.syncConf.ytext)&&this._beforeChangeSelection&&!t.meta.has(this)&&t.meta.set(this,this._beforeChangeSelection)},this._onStackItemPopped=({stackItem:e})=>{let n=e.meta.get(this);if(n){let e=this.syncConf.fromYRange(n);t.dispatch(t.state.update({selection:e,effects:[r.EditorView.scrollIntoView(e)]})),this._storeSelection()}},this._storeSelection=()=>{this._beforeChangeSelection=this.syncConf.toYRange(this.view.state.selection.main)},this._undoManager.on("stack-item-added",this._onStackItemAdded),this._undoManager.on("stack-item-popped",this._onStackItemPopped),this._undoManager.addTrackedOrigin(this.syncConf)}update(t){t.selectionSet&&(0===t.transactions.length||t.transactions[0].annotation(a)!==this.syncConf)&&this._storeSelection()}destroy(){this._undoManager.off("stack-item-added",this._onStackItemAdded),this._undoManager.off("stack-item-popped",this._onStackItemPopped),this._undoManager.removeTrackedOrigin(this.syncConf)}}),w=({state:t,dispatch:e})=>t.facet(v).undo()||!0,x=({state:t,dispatch:e})=>t.facet(v).redo()||!0,S=(t,n,{undoManager:o=new e.UndoManager(t)}={})=>{let a=new i(t,n),u=[s.of(a),f];return n&&u.push(p,g),!1!==o&&u.push(v.of(new m(o)),b,r.EditorView.domEventHandlers({beforeinput:(t,e)=>"historyUndo"===t.inputType?w(e):"historyRedo"===t.inputType&&x(e)})),u};t.s(["yCollab",0,S],95584),t.i(95584),t.s(["YRange",()=>n,"YSyncConfig",()=>i,"yCollab",0,S,"yRemoteSelections",0,g,"yRemoteSelectionsTheme",0,p,"ySync",0,f,"ySyncFacet",0,s,"yUndoManagerKeymap",0,[{key:"Mod-z",run:w,preventDefault:!0},{key:"Mod-y",mac:"Mod-Shift-z",run:x,preventDefault:!0},{key:"Mod-Shift-z",run:x,preventDefault:!0}]],85092)}]);
|