@seqyuan/annovibe 0.8.136 → 0.8.138
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 +11 -15
- package/.next/build-manifest.json +6 -6
- package/.next/diagnostics/framework.json +1 -1
- package/.next/prerender-manifest.json +33 -3
- package/.next/react-loadable-manifest.json +60 -60
- package/.next/required-server-files.js +45 -10
- package/.next/required-server-files.json +45 -10
- package/.next/routes-manifest.json +0 -30
- package/.next/server/app/_global-error/page.js +6 -3
- package/.next/server/app/_global-error/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.meta +24 -5
- package/.next/server/app/_global-error.rsc +19 -12
- package/.next/server/app/_global-error.segments/_full.segment.rsc +19 -12
- package/.next/server/app/_global-error.segments/_global-error/__PAGE__.segment.rsc +25 -4
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +3 -1
- package/.next/server/app/_not-found/page.js +5 -2
- 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.meta +24 -5
- package/.next/server/app/_not-found.rsc +24 -16
- package/.next/server/app/_not-found.segments/_full.segment.rsc +24 -16
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +30 -4
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/api/agent/[id]/events/route.js +2 -2
- package/.next/server/app/api/agent/[id]/prepare/route.js +1 -1
- package/.next/server/app/api/agent/[id]/route.js +1 -1
- package/.next/server/app/api/agent/new/route.js +2 -2
- package/.next/server/app/api/agent/running/events/route.js +2 -2
- package/.next/server/app/api/agent/running/route.js +1 -1
- package/.next/server/app/api/agent/runtime/route.js +1 -1
- package/.next/server/app/api/apps/[id]/[[...path]]/route.js +2 -2
- package/.next/server/app/api/apps/route.js +2 -2
- package/.next/server/app/api/auth/all-providers/route.js +1 -1
- package/.next/server/app/api/auth/api-key/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/login/[provider]/route.js +2 -2
- package/.next/server/app/api/auth/login/route.js +1 -1
- package/.next/server/app/api/auth/logout/[provider]/route.js +1 -1
- package/.next/server/app/api/auth/providers/route.js +1 -1
- package/.next/server/app/api/auth/status/route.js +1 -1
- package/.next/server/app/api/auth/totp/route.js +1 -1
- package/.next/server/app/api/debug-models/route.js +1 -1
- package/.next/server/app/api/default-cwd/route.js +1 -1
- package/.next/server/app/api/file-index/route.js +1 -1
- package/.next/server/app/api/file-tree/delete/route.js +1 -1
- package/.next/server/app/api/file-tree/mkdir/route.js +1 -1
- package/.next/server/app/api/file-tree/rename/route.js +1 -1
- package/.next/server/app/api/file-tree/reveal/route.js +1 -1
- package/.next/server/app/api/file-tree/write/route.js +1 -1
- package/.next/server/app/api/file-watch/route.js +3 -3
- package/.next/server/app/api/files/[...path]/route.js +1 -1
- package/.next/server/app/api/harness/route.js +1 -1
- package/.next/server/app/api/home/route.js +1 -1
- package/.next/server/app/api/im/cancel/route.js +1 -1
- package/.next/server/app/api/im/gateway-status/route.js +1 -1
- package/.next/server/app/api/im/project/route.js +1 -1
- package/.next/server/app/api/im/projects/route.js +1 -1
- package/.next/server/app/api/im/session-ids/route.js +1 -1
- package/.next/server/app/api/im/turn/route.js +3 -3
- package/.next/server/app/api/images/upload/route.js +1 -1
- package/.next/server/app/api/internal/runtime/route.js +1 -1
- package/.next/server/app/api/memory/dismiss/route.js +3 -3
- package/.next/server/app/api/memory/promote/route.js +3 -3
- package/.next/server/app/api/models/route.js +1 -1
- package/.next/server/app/api/models-config/discover/route.js +1 -1
- package/.next/server/app/api/models-config/route.js +1 -1
- package/.next/server/app/api/models-config/test/route.js +1 -1
- package/.next/server/app/api/plot-kernels/route.js +1 -1
- package/.next/server/app/api/plot-kernels/save/route.js +1 -1
- package/.next/server/app/api/plot-kernels/status/route.js +1 -1
- package/.next/server/app/api/plot-kernels/stop/route.js +1 -1
- package/.next/server/app/api/plugins/route.js +1 -1
- package/.next/server/app/api/project-trust/route.js +1 -1
- package/.next/server/app/api/projects/browse/route.js +1 -1
- package/.next/server/app/api/projects/route.js +1 -1
- package/.next/server/app/api/search/route.js +1 -1
- package/.next/server/app/api/session-index/events/route.js +2 -2
- package/.next/server/app/api/sessions/[id]/auto-name/route.js +7 -8
- package/.next/server/app/api/sessions/[id]/context/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/export/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/media/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/route.js +1 -1
- package/.next/server/app/api/sessions/[id]/shadowed/route.js +1 -1
- package/.next/server/app/api/sessions/new/route.js +1 -1
- package/.next/server/app/api/sessions/route.js +1 -1
- package/.next/server/app/api/settings/route.js +1 -1
- package/.next/server/app/api/skills/check/route.js +1 -1
- package/.next/server/app/api/skills/install/route.js +5 -5
- package/.next/server/app/api/skills/route.js +5 -5
- package/.next/server/app/api/skills/search/route.js +1 -1
- package/.next/server/app/api/skills/update/route.js +2 -2
- package/.next/server/app/api/smoke/prompt-admission/route.js +1 -1
- package/.next/server/app/api/soul/route.js +1 -1
- package/.next/server/app/api/subagents/status/route.js +1 -1
- package/.next/server/app/api/version/route.js +1 -1
- package/.next/server/app/favicon.ico/route.js +1 -1
- package/.next/server/app/favicon.ico.meta +1 -1
- package/.next/server/app/icon.svg/route.js +1 -1
- package/.next/server/app/icon.svg.meta +1 -1
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.meta +19 -4
- package/.next/server/app/index.rsc +33 -15
- package/.next/server/app/index.segments/__PAGE__.segment.rsc +38 -5
- package/.next/server/app/index.segments/_full.segment.rsc +33 -15
- package/.next/server/app/index.segments/_tree.segment.rsc +3 -2
- package/.next/server/app/login/page.js +5 -2
- package/.next/server/app/login/page_client-reference-manifest.js +1 -1
- package/.next/server/app/login.html +1 -1
- package/.next/server/app/login.meta +24 -5
- package/.next/server/app/login.rsc +29 -20
- package/.next/server/app/login.segments/_full.segment.rsc +29 -20
- package/.next/server/app/login.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/login.segments/login/__PAGE__.segment.rsc +35 -8
- package/.next/server/app/page.js +14 -37
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/smoke/page.js +5 -6
- package/.next/server/app/smoke/page_client-reference-manifest.js +1 -1
- package/.next/server/app/smoke/session-stream/page.js +1 -2
- package/.next/server/app/smoke/session-stream/page_client-reference-manifest.js +1 -1
- package/.next/server/app/smoke/session-stream.html +1 -1
- package/.next/server/app/smoke/session-stream.meta +29 -6
- package/.next/server/app/smoke/session-stream.rsc +36 -20
- package/.next/server/app/smoke/session-stream.segments/_full.segment.rsc +36 -20
- package/.next/server/app/smoke/session-stream.segments/_tree.segment.rsc +5 -2
- package/.next/server/app/smoke/session-stream.segments/smoke/session-stream/__PAGE__.segment.rsc +43 -8
- package/.next/server/app/smoke.html +2 -2
- package/.next/server/app/smoke.meta +24 -5
- package/.next/server/app/smoke.rsc +37 -20
- package/.next/server/app/smoke.segments/_full.segment.rsc +37 -20
- package/.next/server/app/smoke.segments/_tree.segment.rsc +4 -2
- package/.next/server/app/smoke.segments/smoke/__PAGE__.segment.rsc +43 -8
- package/.next/server/app-paths-manifest.json +11 -15
- package/.next/server/chunks/1367.js +1 -1
- package/.next/server/chunks/1681.js +1 -1
- package/.next/server/chunks/1688.js +3 -3
- package/.next/server/chunks/1761.js +1 -1
- package/.next/server/chunks/1813.js +23 -1
- package/.next/server/chunks/2242.js +1 -1
- package/.next/server/chunks/2325.js +28 -28
- package/.next/server/chunks/2671.js +2 -2
- package/.next/server/chunks/2970.js +46 -0
- package/.next/server/chunks/402.js +1 -1
- package/.next/server/chunks/42.js +44 -44
- package/.next/server/chunks/4367.js +1 -1
- package/.next/server/chunks/4406.js +1 -1
- package/.next/server/chunks/4779.js +1 -0
- package/.next/server/chunks/4980.js +1 -1
- package/.next/server/chunks/5193.js +3 -3
- package/.next/server/chunks/5715.js +1 -1
- package/.next/server/chunks/5851.js +1 -1
- package/.next/server/chunks/6346.js +1 -1
- package/.next/server/chunks/6429.js +15 -15
- package/.next/server/chunks/6644.js +108 -0
- package/.next/server/chunks/707.js +1 -1
- package/.next/server/chunks/716.js +1 -1
- package/.next/server/chunks/7307.js +1 -1
- package/.next/server/chunks/7365.js +1 -1
- package/.next/server/chunks/7603.js +1 -0
- package/.next/server/chunks/7765.js +1 -1
- package/.next/server/chunks/7890.js +1 -1
- package/.next/server/chunks/8305.js +264 -0
- package/.next/server/chunks/8363.js +1 -1
- package/.next/server/chunks/8797.js +1 -1
- package/.next/server/chunks/8973.js +1 -1
- package/.next/server/chunks/9868.js +1 -1
- package/.next/server/chunks/static/media/pdf.worker.min.94f8ceaf.mjs +6 -0
- package/.next/server/functions-config-manifest.json +1 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/middleware.js +54 -6
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/prefetch-hints.json +86 -1
- package/.next/server/preview-props.json +5 -0
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/static/chunks/{0b9a0da7-9075af772487e743.js → 0b9a0da7-373b544740862358.js} +1 -1
- package/.next/static/chunks/{1209.6d037cb2674eafa2.js → 1209.4f7491c863d512f0.js} +1 -1
- package/.next/static/chunks/2170a4aa.4301f7c49f3f0a6e.js +1 -0
- package/.next/static/chunks/2254-db22997b60e1dc27.js +1 -0
- package/.next/static/chunks/2619.8f686be8e2479c20.js +1 -0
- package/.next/static/chunks/{2623.d20fabd8e18197c6.js → 2623.a6bf38491c50cb6e.js} +2 -2
- package/.next/static/chunks/2693-421c2e9d9c92a666.js +173 -0
- package/.next/static/chunks/{2774.0811cda036dfeb94.js → 2774.ba50ba9e8b3ebf4a.js} +1 -1
- package/.next/static/chunks/2821.d15f14bd03d9d290.js +1 -0
- package/.next/static/chunks/{291-bfdfc8bcf5d0a962.js → 291-e0c3c616f67fe126.js} +1 -1
- package/.next/static/chunks/{3307.e638f7fa43f28bac.js → 3307.c87aab94f4464604.js} +1 -1
- package/.next/static/chunks/363642f4-a09fcaca7af039e5.js +1 -0
- package/.next/static/chunks/{3689.0336d97dde6c9084.js → 3689.93592a22c737d185.js} +1 -1
- package/.next/static/chunks/3794-fba3f76785a3c234.js +52 -0
- package/.next/static/chunks/{425.9a3434a28926566a.js → 425.8fe80c34648b01ec.js} +1 -1
- package/.next/static/chunks/{4453.91a357dc43c21745.js → 4453.ba05c4805425ceeb.js} +1 -1
- package/.next/static/chunks/4936-799f05324bb5c236.js +1 -0
- package/.next/static/chunks/4bd1b696-8cd12253b448cc13.js +1 -0
- package/.next/static/chunks/51fb665c.b01d5a04c27e9091.js +45 -0
- package/.next/static/chunks/{547.902a733488cfe3f7.js → 547.0f08d4931c0f04a2.js} +1 -1
- package/.next/static/chunks/{5567.540d7fc108ad6ee5.js → 5567.6674301d1337d738.js} +1 -1
- package/.next/static/chunks/5618-8aecfc54df369be5.js +22 -0
- package/.next/static/chunks/{58bb9007.1ccb6bba34b4c635.js → 58bb9007.3d4e7356b1e96b6a.js} +28 -28
- package/.next/static/chunks/6121.333d793734b9abf7.js +1 -0
- package/.next/static/chunks/6586.775a449050e0e9cc.js +138 -0
- package/.next/static/chunks/{6696.a41aec266e657d54.js → 6696.345b3cd62db13cb6.js} +1 -1
- package/.next/static/chunks/{7874.8db6929b94cdf697.js → 7874.7faccf8fab087120.js} +1 -1
- package/.next/static/chunks/8489.514938fd5e801cf7.js +36 -0
- package/.next/static/chunks/{8863.8b769013468d83d4.js → 8863.2ae457485a63aa22.js} +1 -1
- package/.next/static/chunks/90542734.6b9fbcabf095d1a0.js +1 -0
- package/.next/static/chunks/9867-1b73c62e8b604095.js +260 -0
- package/.next/static/chunks/app/_global-error/page-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/events/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/prepare/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/[id]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/new/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/running/events/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/running/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/agent/runtime/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/apps/[id]/[[...path]]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/apps/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/all-providers/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/login/[provider]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/login/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/providers/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/status/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/auth/totp/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/debug-models/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/default-cwd/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-index/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-tree/delete/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-tree/mkdir/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-tree/rename/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-tree/reveal/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-tree/write/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/file-watch/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/files/[...path]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/harness/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/home/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/im/cancel/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/im/gateway-status/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/im/project/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/im/projects/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/im/session-ids/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/im/turn/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/images/upload/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/internal/runtime/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/memory/dismiss/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/memory/promote/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/models/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/models-config/discover/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/models-config/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/models-config/test/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/plot-kernels/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/plot-kernels/save/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/plot-kernels/status/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/plot-kernels/stop/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/plugins/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/project-trust/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/projects/browse/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/projects/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/search/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/session-index/events/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/context/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/export/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/media/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/[id]/shadowed/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/new/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/sessions/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/settings/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/skills/check/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/skills/install/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/skills/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/skills/search/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/skills/update/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/smoke/prompt-admission/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/soul/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/subagents/status/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/api/version/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/error-6309e3e4cdf79d40.js +3 -0
- package/.next/static/chunks/app/favicon.ico/route-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/app/global-error-7595c826cec2c048.js +3 -0
- package/.next/static/chunks/app/layout-31265427e43f6876.js +1 -0
- package/.next/static/chunks/app/page-2e2760a4cdaff534.js +22 -0
- package/.next/static/chunks/app/smoke/{page-32674afc320aa48b.js → page-82db33b4fdd2e0b4.js} +3 -3
- package/.next/static/chunks/framework-461b899b66554474.js +1 -0
- package/.next/static/chunks/main-4c5c62a3f03fc745.js +5 -0
- package/.next/static/chunks/main-app-a8a207cb34d209aa.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-ebf7ae60150d40d4.js +1 -0
- package/.next/static/chunks/{webpack-0d1f7348ddb20bdc.js → webpack-36fa69ae1e15e7ce.js} +1 -1
- package/.next/static/css/{738b0b1c24aae500.css → d68ecb6695873888.css} +1 -1
- package/.next/static/media/pdf.worker.min.7a62f52c.mjs +6 -0
- package/.next/static/r3Awszl0kNf_sRFX-3vDi/_buildManifest.js +1 -0
- package/bin/annovibe-im-gateway.js +98 -21
- package/bin/pi-web.js +16 -9
- package/package.json +3 -3
- package/.next/server/app/_global-error.segments/_global-error.segment.rsc +0 -5
- package/.next/server/app/_global-error.segments/_head.segment.rsc +0 -5
- package/.next/server/app/_global-error.segments/_index.segment.rsc +0 -5
- package/.next/server/app/_not-found.segments/_head.segment.rsc +0 -6
- package/.next/server/app/_not-found.segments/_index.segment.rsc +0 -7
- package/.next/server/app/_not-found.segments/_not-found.segment.rsc +0 -5
- package/.next/server/app/api/im/gateway-token/route.js +0 -1
- package/.next/server/app/api/im/gateway-token/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/sessions/[id]/kernel-state/route.js +0 -1
- package/.next/server/app/api/sessions/[id]/kernel-state/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/sessions/[id]/workbench-artifact/route.js +0 -1
- package/.next/server/app/api/sessions/[id]/workbench-artifact/route_client-reference-manifest.js +0 -1
- package/.next/server/app/api/sessions/[id]/workbench-review/route.js +0 -1
- package/.next/server/app/api/sessions/[id]/workbench-review/route_client-reference-manifest.js +0 -1
- package/.next/server/app/index.segments/_head.segment.rsc +0 -6
- package/.next/server/app/index.segments/_index.segment.rsc +0 -7
- package/.next/server/app/login.segments/_head.segment.rsc +0 -6
- package/.next/server/app/login.segments/_index.segment.rsc +0 -7
- package/.next/server/app/login.segments/login.segment.rsc +0 -5
- package/.next/server/app/smoke/session-stream.segments/_head.segment.rsc +0 -6
- package/.next/server/app/smoke/session-stream.segments/_index.segment.rsc +0 -7
- package/.next/server/app/smoke/session-stream.segments/smoke/session-stream.segment.rsc +0 -5
- package/.next/server/app/smoke/session-stream.segments/smoke.segment.rsc +0 -5
- package/.next/server/app/smoke.segments/_head.segment.rsc +0 -6
- package/.next/server/app/smoke.segments/_index.segment.rsc +0 -7
- package/.next/server/app/smoke.segments/smoke.segment.rsc +0 -5
- package/.next/server/chunks/2562.js +0 -12
- package/.next/server/chunks/4741.js +0 -18
- package/.next/server/chunks/63.js +0 -45
- package/.next/server/chunks/7303.js +0 -260
- package/.next/server/chunks/8304.js +0 -1
- package/.next/server/chunks/static/media/pdf.worker.min.c476e1a0.mjs +0 -6
- package/.next/static/chunks/2170a4aa.4213bb2183c9cdf9.js +0 -1
- package/.next/static/chunks/2254-fa3fcc88564ee18d.js +0 -1
- package/.next/static/chunks/2619.9aac8983f30c7c8a.js +0 -1
- package/.next/static/chunks/2693-52c358cf5d84b069.js +0 -173
- package/.next/static/chunks/2821.934bcf60fbdc28c6.js +0 -1
- package/.next/static/chunks/363642f4-dc35a7a659350f8e.js +0 -1
- package/.next/static/chunks/3794-123fdf632563f469.js +0 -32
- package/.next/static/chunks/4936-9558484c46c3ecc8.js +0 -1
- package/.next/static/chunks/4bd1b696-e356ca5ba0218e27.js +0 -1
- package/.next/static/chunks/51fb665c.e2bfdae35ef4d790.js +0 -45
- package/.next/static/chunks/5618-5e2e47e6ed401a75.js +0 -22
- package/.next/static/chunks/6121.f3f43f1896ea0cd9.js +0 -1
- package/.next/static/chunks/6586.8c2a88c2a55300d2.js +0 -138
- package/.next/static/chunks/8489.45f22859734f514f.js +0 -36
- package/.next/static/chunks/90542734.ecc36ada79772529.js +0 -1
- package/.next/static/chunks/9867-b1d15d9354f100e7.js +0 -260
- package/.next/static/chunks/app/_global-error/page-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/events/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/prepare/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/[id]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/new/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/running/events/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/running/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/agent/runtime/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/apps/[id]/[[...path]]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/apps/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/all-providers/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/api-key/[provider]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/login/[provider]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/login/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/logout/[provider]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/providers/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/status/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/auth/totp/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/debug-models/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/default-cwd/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-index/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-tree/delete/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-tree/mkdir/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-tree/rename/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-tree/reveal/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-tree/write/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/file-watch/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/files/[...path]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/harness/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/home/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/cancel/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/gateway-status/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/gateway-token/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/project/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/projects/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/session-ids/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/im/turn/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/images/upload/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/internal/runtime/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/memory/dismiss/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/memory/promote/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/models/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/models-config/discover/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/models-config/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/models-config/test/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/plot-kernels/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/plot-kernels/save/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/plot-kernels/status/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/plot-kernels/stop/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/plugins/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/project-trust/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/projects/browse/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/projects/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/search/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/session-index/events/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/auto-name/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/context/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/export/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/kernel-state/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/media/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/shadowed/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/workbench-artifact/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/[id]/workbench-review/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/new/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/sessions/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/settings/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/skills/check/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/skills/install/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/skills/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/skills/search/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/skills/update/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/smoke/prompt-admission/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/soul/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/subagents/status/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/api/version/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/favicon.ico/route-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/app/layout-101c4ccdf12880f0.js +0 -1
- package/.next/static/chunks/app/page-703d91d8bff67f70.js +0 -44
- package/.next/static/chunks/framework-594babcea68f40f6.js +0 -1
- package/.next/static/chunks/main-0371fd3122de9512.js +0 -5
- package/.next/static/chunks/main-app-8d81a93b58bb990f.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/app-error-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/forbidden-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/global-error-a7f3f044c72f9137.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/not-found-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/chunks/next/dist/client/components/builtin/unauthorized-dcc4d4b28dc1e9eb.js +0 -1
- package/.next/static/media/pdf.worker.min.29aaf158.mjs +0 -6
- package/.next/static/zeWki1Z47rqBkR2ph5H6N/_buildManifest.js +0 -1
- /package/.next/static/{zeWki1Z47rqBkR2ph5H6N → r3Awszl0kNf_sRFX-3vDi}/_ssgManifest.js +0 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2693],{177:function(e,t,n){"use strict";var r,i=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(r=function(e){return(r=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=r(e),s=0;s<n.length;s++)"default"!==n[s]&&i(t,e,n[s]);return a(t,e),t}),o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{className:t,useClasses:n,children:r,linkify:i}=e;return h.createElement("code",{className:t},(function(e,t=!1){return e=(0,c.escapeCarriageReturn)(function(e){let t=e;do t=(e=t).replace(/[^\n]\x08/gm,"");while(t.length<e.length);return e}(e)),l.default.ansiToJson(e,{json:!0,remove_empty:!0,use_classes:t})})(null!=r?r:"",null!=n&&n).map(p.bind(null,null!=i&&i,null!=n&&n)))};let l=o(n(89315)),c=n(36088),u=o(n(60598)),h=s(n(12115));function p(e,t,n,r){let i,a=t?null:function(e){let t={};switch(e.bg&&(t.backgroundColor=`rgb(${e.bg})`),e.fg&&(t.color=`rgb(${e.fg})`),e.decoration){case"bold":t.fontWeight="bold";break;case"dim":t.opacity="0.5";break;case"italic":t.fontStyle="italic";break;case"hidden":t.visibility="hidden";break;case"strikethrough":t.textDecoration="line-through";break;case"underline":t.textDecoration="underline";break;case"blink":t.textDecoration="blink"}return t}(n),s=t?(i="",(n.bg&&(i+=`${n.bg}-bg `),n.fg&&(i+=`${n.fg}-fg `),n.decoration&&(i+=`ansi-${n.decoration} `),""===i)?null:i=i.substring(0,i.length-1)):null;return e?"fuzzy"===e?function(e,t,n,r){var i;let a=(0,u.default)({fuzzyEmail:!1}).tlds(["io"],!0);if(!a.pretest(e.content))return h.createElement("span",{style:n,key:t,className:r},e.content);let s=a.match(e.content);if(!s)return h.createElement("span",{style:n,key:t,className:r},e.content);let o=[e.content.substring(0,null==(i=s[0])?void 0:i.index)];return s.forEach((t,n)=>{var r;o.push(h.createElement("a",{href:t.url,target:"_blank",key:n},e.content.substring(t.index,t.lastIndex))),s[n+1]&&o.push(e.content.substring(s[n].lastIndex,null==(r=s[n+1])?void 0:r.index))}),s[s.length-1].lastIndex!==e.content.length&&o.push(e.content.substring(s[s.length-1].lastIndex,e.content.length)),h.createElement("span",{style:n,key:t,className:r},o)}(n,r,a,s):function(e,t,n,r){let i,a=[],s=/(\s|^)(https?:\/\/(?:www\.|(?!www))[^\s.]+\.[^\s]{2,}|www\.[^\s]+\.[^\s]{2,})/g,o=0;for(;null!==(i=s.exec(e.content));){let[,t,n]=i,r=i.index+t.length;r>o&&a.push(e.content.substring(o,r));let l=n.startsWith("www.")?`http://${n}`:n;a.push(h.createElement("a",{key:o,href:l,target:"_blank"},`${n}`)),o=s.lastIndex}return o<e.content.length&&a.push(e.content.substring(o)),h.createElement("span",{style:n,key:t,className:r},a)}(n,r,a,s):h.createElement("span",{style:a,key:r,className:s},n.content)}},2991:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(52326),i=n(68420);let a=(e,t)=>{let n=r.A.parse(e),a={};for(let e in t)t[e]&&(a[e]=n[e]+t[e]);return(0,i.A)(e,a)}},3628:(e,t,n)=>{"use strict";n.d(t,{XX:()=>h,q7:()=>p,sO:()=>u});var r=n(72475),i=n(63886),a=n(32563),s=n(97096),o=n(32165),l={common:s.Y2,getConfig:s.zj,insertCluster:i.U,insertEdge:r.Jo,insertEdgeLabel:r.jP,insertMarkers:r.g0,insertNode:i.on,interpolateToCurve:a.Ib,labelHelper:i.Zk,log:o.Rm,positionEdgeLabel:r.T_},c={},u=(0,o.K2)(e=>{for(let t of e)c[t.name]=t},"registerLayoutLoaders");(0,o.K2)(()=>{u([{name:"dagre",loader:(0,o.K2)(async()=>await Promise.all([n.e(2821),n.e(6121),n.e(1852)]).then(n.bind(n,91852)),"loader")},{name:"cose-bilkent",loader:(0,o.K2)(async()=>await Promise.all([n.e(8747),n.e(7874)]).then(n.bind(n,67874)),"loader")}])},"registerDefaultLayoutLoaders")();var h=(0,o.K2)(async(e,t)=>{if(!(e.layoutAlgorithm in c))throw Error(`Unknown layout algorithm: ${e.layoutAlgorithm}`);if(e.diagramId)for(let t of e.nodes){let n=t.domId||t.id;t.domId=`${e.diagramId}-${n}`}let n=c[e.layoutAlgorithm],r=await n.loader(),{theme:i,themeVariables:a}=e.config,{useGradient:s,gradientStart:o,gradientStop:u}=a,h=t.attr("id");if(t.append("defs").append("filter").attr("id",`${h}-drop-shadow`).attr("height","130%").attr("width","130%").append("feDropShadow").attr("dx","4").attr("dy","4").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${i?.includes("dark")?"#FFFFFF":"#000000"}`),t.append("defs").append("filter").attr("id",`${h}-drop-shadow-small`).attr("height","150%").attr("width","150%").append("feDropShadow").attr("dx","2").attr("dy","2").attr("stdDeviation",0).attr("flood-opacity","0.06").attr("flood-color",`${i?.includes("dark")?"#FFFFFF":"#000000"}`),s){let e=t.append("linearGradient").attr("id",t.attr("id")+"-gradient").attr("gradientUnits","objectBoundingBox").attr("x1","0%").attr("y1","0%").attr("x2","100%").attr("y2","0%");e.append("svg:stop").attr("offset","0%").attr("stop-color",o).attr("stop-opacity",1),e.append("svg:stop").attr("offset","100%").attr("stop-color",u).attr("stop-opacity",1)}return r.render(e,t,l,{algorithm:n.algorithm})},"render"),p=(0,o.K2)((e="",{fallback:t="dagre"}={})=>{if(e in c)return e;if(t in c)return o.Rm.warn(`Layout algorithm ${e} is not registered. Using ${t} as fallback.`),t;throw Error(`Both layout algorithms ${e} and ${t} are not registered.`)},"getRegisteredLayoutAlgorithm")},4294:(e,t,n)=>{"use strict";n.d(t,{BM:()=>o,CW:()=>r,Ee:()=>h,HP:()=>u,JQ:()=>s,Ny:()=>f,On:()=>p,cx:()=>a,es:()=>d,lV:()=>i,ok:()=>l,ol:()=>c});let r=m(/[A-Za-z]/),i=m(/[\dA-Za-z]/),a=m(/[#-'*+\--9=?A-Z^-~]/);function s(e){return null!==e&&(e<32||127===e)}let o=m(/\d/),l=m(/[\dA-Fa-f]/),c=m(/[!-/:-@[-`{-~]/);function u(e){return null!==e&&e<-2}function h(e){return null!==e&&(e<0||32===e)}function p(e){return -2===e||-1===e||32===e}let d=m(/\p{P}|\p{S}/u),f=m(/\s/);function m(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}},4800:(e,t,n)=>{"use strict";n.r(t),n.d(t,{boolean:()=>i,booleanish:()=>a,commaOrSpaceSeparated:()=>u,commaSeparated:()=>c,number:()=>o,overloadedBoolean:()=>s,spaceSeparated:()=>l});let r=0,i=h(),a=h(),s=h(),o=h(),l=h(),c=h(),u=h();function h(){return 2**++r}},4918:(e,t,n)=>{"use strict";n.d(t,{qy:()=>y,JW:()=>b});class r{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function i(e,t){let n={},i={};for(let t of e)Object.assign(n,t.property),Object.assign(i,t.normal);return new r(n,i,t)}r.prototype.normal={},r.prototype.property={},r.prototype.space=void 0;var a=n(68289),s=n(49339);function o(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let o=new s.E(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(o.mustUseProperty=!0),t[r]=o,n[(0,a.S)(r)]=r,n[(0,a.S)(o.attribute)]=r}return new r(t,n,e.space)}var l=n(4800);let c=o({properties:{ariaActiveDescendant:null,ariaAtomic:l.booleanish,ariaAutoComplete:null,ariaBusy:l.booleanish,ariaChecked:l.booleanish,ariaColCount:l.number,ariaColIndex:l.number,ariaColSpan:l.number,ariaControls:l.spaceSeparated,ariaCurrent:null,ariaDescribedBy:l.spaceSeparated,ariaDetails:null,ariaDisabled:l.booleanish,ariaDropEffect:l.spaceSeparated,ariaErrorMessage:null,ariaExpanded:l.booleanish,ariaFlowTo:l.spaceSeparated,ariaGrabbed:l.booleanish,ariaHasPopup:null,ariaHidden:l.booleanish,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l.spaceSeparated,ariaLevel:l.number,ariaLive:null,ariaModal:l.booleanish,ariaMultiLine:l.booleanish,ariaMultiSelectable:l.booleanish,ariaOrientation:null,ariaOwns:l.spaceSeparated,ariaPlaceholder:null,ariaPosInSet:l.number,ariaPressed:l.booleanish,ariaReadOnly:l.booleanish,ariaRelevant:null,ariaRequired:l.booleanish,ariaRoleDescription:l.spaceSeparated,ariaRowCount:l.number,ariaRowIndex:l.number,ariaRowSpan:l.number,ariaSelected:l.booleanish,ariaSetSize:l.number,ariaSort:null,ariaValueMax:l.number,ariaValueMin:l.number,ariaValueNow:l.number,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function u(e,t){return t in e?e[t]:t}function h(e,t){return u(e,t.toLowerCase())}let p=o({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:l.commaSeparated,acceptCharset:l.spaceSeparated,accessKey:l.spaceSeparated,action:null,allow:null,allowFullScreen:l.boolean,allowPaymentRequest:l.boolean,allowUserMedia:l.boolean,alpha:l.boolean,alt:null,as:null,async:l.boolean,autoCapitalize:null,autoComplete:l.spaceSeparated,autoFocus:l.boolean,autoPlay:l.boolean,blocking:l.spaceSeparated,capture:null,charSet:null,checked:l.boolean,cite:null,className:l.spaceSeparated,closedBy:null,colorSpace:null,cols:l.number,colSpan:l.number,command:null,commandFor:null,content:null,contentEditable:l.booleanish,controls:l.boolean,controlsList:l.spaceSeparated,coords:l.number|l.commaSeparated,crossOrigin:null,data:null,dateTime:null,decoding:null,default:l.boolean,defer:l.boolean,dir:null,dirName:null,disabled:l.boolean,download:l.overloadedBoolean,draggable:l.booleanish,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:l.boolean,formTarget:null,headers:l.spaceSeparated,height:l.number,hidden:l.overloadedBoolean,high:l.number,href:null,hrefLang:null,htmlFor:l.spaceSeparated,httpEquiv:l.spaceSeparated,id:null,imageSizes:null,imageSrcSet:null,inert:l.boolean,inputMode:null,integrity:null,is:null,isMap:l.boolean,itemId:null,itemProp:l.spaceSeparated,itemRef:l.spaceSeparated,itemScope:l.boolean,itemType:l.spaceSeparated,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:l.boolean,low:l.number,manifest:null,max:null,maxLength:l.number,media:null,method:null,min:null,minLength:l.number,multiple:l.boolean,muted:l.boolean,name:null,nonce:null,noModule:l.boolean,noValidate:l.boolean,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:l.boolean,optimum:l.number,pattern:null,ping:l.spaceSeparated,placeholder:null,playsInline:l.boolean,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:l.boolean,referrerPolicy:null,rel:l.spaceSeparated,required:l.boolean,reversed:l.boolean,rows:l.number,rowSpan:l.number,sandbox:l.spaceSeparated,scope:null,scoped:l.boolean,seamless:l.boolean,selected:l.boolean,shadowRootClonable:l.boolean,shadowRootCustomElementRegistry:l.boolean,shadowRootDelegatesFocus:l.boolean,shadowRootMode:null,shadowRootSerializable:l.boolean,shape:null,size:l.number,sizes:null,slot:null,span:l.number,spellCheck:l.booleanish,src:null,srcDoc:null,srcLang:null,srcSet:null,start:l.number,step:null,style:null,tabIndex:l.number,target:null,title:null,translate:null,type:null,typeMustMatch:l.boolean,useMap:null,value:l.booleanish,width:l.number,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:l.spaceSeparated,axis:null,background:null,bgColor:null,border:l.number,borderColor:null,bottomMargin:l.number,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:l.boolean,declare:l.boolean,event:null,face:null,frame:null,frameBorder:null,hSpace:l.number,leftMargin:l.number,link:null,longDesc:null,lowSrc:null,marginHeight:l.number,marginWidth:l.number,noResize:l.boolean,noHref:l.boolean,noShade:l.boolean,noWrap:l.boolean,object:null,profile:null,prompt:null,rev:null,rightMargin:l.number,rules:null,scheme:null,scrolling:l.booleanish,standby:null,summary:null,text:null,topMargin:l.number,valueType:null,version:null,vAlign:null,vLink:null,vSpace:l.number,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:l.boolean,disablePictureInPicture:l.boolean,disableRemotePlayback:l.boolean,exportParts:l.commaSeparated,part:l.spaceSeparated,prefix:null,property:null,results:l.number,security:null,unselectable:null},space:"html",transform:h}),d=o({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:l.commaOrSpaceSeparated,accentHeight:l.number,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:l.number,amplitude:l.number,arabicForm:null,ascent:l.number,attributeName:null,attributeType:null,azimuth:l.number,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:l.number,by:null,calcMode:null,capHeight:l.number,className:l.spaceSeparated,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:l.number,diffuseConstant:l.number,direction:null,display:null,dur:null,divisor:l.number,dominantBaseline:null,download:l.boolean,dx:null,dy:null,edgeMode:null,editable:null,elevation:l.number,enableBackground:null,end:null,event:null,exponent:l.number,externalResourcesRequired:null,fill:null,fillOpacity:l.number,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:l.commaSeparated,g2:l.commaSeparated,glyphName:l.commaSeparated,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:l.number,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:l.number,horizOriginX:l.number,horizOriginY:l.number,id:null,ideographic:l.number,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:l.number,k:l.number,k1:l.number,k2:l.number,k3:l.number,k4:l.number,kernelMatrix:l.commaOrSpaceSeparated,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:l.number,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:l.number,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:l.number,overlineThickness:l.number,paintOrder:null,panose1:null,path:null,pathLength:l.number,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:l.spaceSeparated,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:l.number,pointsAtY:l.number,pointsAtZ:l.number,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:l.commaOrSpaceSeparated,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:l.commaOrSpaceSeparated,rev:l.commaOrSpaceSeparated,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:l.commaOrSpaceSeparated,requiredFeatures:l.commaOrSpaceSeparated,requiredFonts:l.commaOrSpaceSeparated,requiredFormats:l.commaOrSpaceSeparated,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:l.number,specularExponent:l.number,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:l.number,strikethroughThickness:l.number,string:null,stroke:null,strokeDashArray:l.commaOrSpaceSeparated,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:l.number,strokeOpacity:l.number,strokeWidth:null,style:null,surfaceScale:l.number,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:l.commaOrSpaceSeparated,tabIndex:l.number,tableValues:null,target:null,targetX:l.number,targetY:l.number,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:l.commaOrSpaceSeparated,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:l.number,underlineThickness:l.number,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:l.number,values:null,vAlphabetic:l.number,vMathematical:l.number,vectorEffect:null,vHanging:l.number,vIdeographic:l.number,version:null,vertAdvY:l.number,vertOriginX:l.number,vertOriginY:l.number,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:l.number,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:u}),f=o({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),m=o({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:h}),g=o({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),y=i([c,p,f,m,g],"html"),b=i([c,d,f,m,g],"svg")},6424:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42112),i=n(52326);let a=e=>!((e=>{let{r:t,g:n,b:a}=i.A.parse(e),s=.2126*r.A.channel.toLinear(t)+.7152*r.A.channel.toLinear(n)+.0722*r.A.channel.toLinear(a);return r.A.lang.round(s)})(e)>=.5)},7370:(e,t,n)=>{"use strict";n.d(t,{G1:()=>s,PW:()=>i,Y:()=>r});let r=a("end"),i=a("start");function a(e){return function(t){let n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function s(e){let t=i(e),n=r(e);if(t&&n)return{start:t,end:n}}},7659:(e,t,n)=>{"use strict";function r(e,t){let n=String(e),r=n.indexOf(t),i=r,a=0,s=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==r;)r===i?++a>s&&(s=a):a=1,i=r+t.length,r=n.indexOf(t,i);return s}n.d(t,{D:()=>r})},8047:(e,t,n)=>{"use strict";e.exports=function(e){var t={};t.src_Any=n(13404).source,t.src_Cc=n(64463).source,t.src_Z=n(44673).source,t.src_P=n(23999).source,t.src_ZPCc=[t.src_Z,t.src_P,t.src_Cc].join("|"),t.src_ZCc=[t.src_Z,t.src_Cc].join("|");var r="[><|]";return t.src_pseudo_letter="(?:(?!"+r+"|"+t.src_ZPCc+")"+t.src_Any+")",t.src_ip4="(?:(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)",t.src_auth="(?:(?:(?!"+t.src_ZCc+"|[@/\\[\\]()]).)+@)?",t.src_port="(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?",t.src_host_terminator="(?=$|"+r+"|"+t.src_ZPCc+")(?!-|_|:\\d|\\.-|\\.(?!$|"+t.src_ZPCc+"))",t.src_path="(?:[/?#](?:(?!"+t.src_ZCc+"|"+r+"|[()[\\]{}.,\"'?!\\-;]).|\\[(?:(?!"+t.src_ZCc+"|\\]).)*\\]|\\((?:(?!"+t.src_ZCc+"|[)]).)*\\)|\\{(?:(?!"+t.src_ZCc+'|[}]).)*\\}|\\"(?:(?!'+t.src_ZCc+'|["]).)+\\"|\\\'(?:(?!'+t.src_ZCc+"|[']).)+\\'|\\'(?="+t.src_pseudo_letter+"|[-]).|\\.{2,}[a-zA-Z0-9%/&]|\\.(?!"+t.src_ZCc+"|[.]).|"+(e&&e["---"]?"\\-(?!--(?:[^-]|$))(?:-*)|":"\\-+|")+",(?!"+t.src_ZCc+").|;(?!"+t.src_ZCc+").|\\!+(?!"+t.src_ZCc+"|[!]).|\\?(?!"+t.src_ZCc+"|[?]).)+|\\/)?",t.src_email_name='[\\-;:&=\\+\\$,\\.a-zA-Z0-9_][\\-;:&=\\+\\$,\\"\\.a-zA-Z0-9_]*',t.src_xn="xn--[a-z0-9\\-]{1,59}",t.src_domain_root="(?:"+t.src_xn+"|"+t.src_pseudo_letter+"{1,63})",t.src_domain="(?:"+t.src_xn+"|(?:"+t.src_pseudo_letter+")|(?:"+t.src_pseudo_letter+"(?:-|"+t.src_pseudo_letter+"){0,61}"+t.src_pseudo_letter+"))",t.src_host="(?:(?:(?:(?:"+t.src_domain+")\\.)*"+t.src_domain+"))",t.tpl_host_fuzzy="(?:"+t.src_ip4+"|(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%)))",t.tpl_host_no_ip_fuzzy="(?:(?:(?:"+t.src_domain+")\\.)+(?:%TLDS%))",t.src_host_strict=t.src_host+t.src_host_terminator,t.tpl_host_fuzzy_strict=t.tpl_host_fuzzy+t.src_host_terminator,t.src_host_port_strict=t.src_host+t.src_port+t.src_host_terminator,t.tpl_host_port_fuzzy_strict=t.tpl_host_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_port_no_ip_fuzzy_strict=t.tpl_host_no_ip_fuzzy+t.src_port+t.src_host_terminator,t.tpl_host_fuzzy_test="localhost|www\\.|\\.\\d{1,3}\\.|(?:\\.(?:%TLDS%)(?:"+t.src_ZPCc+"|>|$))",t.tpl_email_fuzzy="(^|"+r+'|"|\\(|'+t.src_ZCc+")("+t.src_email_name+"@"+t.tpl_host_fuzzy_strict+")",t.tpl_link_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_fuzzy_strict+t.src_path+")",t.tpl_link_no_ip_fuzzy="(^|(?![.:/\\-_@])(?:[$+<=>^`||]|"+t.src_ZPCc+"))((?![$+<=>^`||])"+t.tpl_host_port_no_ip_fuzzy_strict+t.src_path+")",t}},9101:(e,t,n)=>{"use strict";function r(e){var t;return null!=e&&"function"!=typeof e&&Number.isSafeInteger(t=e.length)&&t>=0}n.d(t,{X:()=>r})},12503:(e,t,n)=>{"use strict";let r,i,a,s,o;n.d(t,{A:()=>oT,C:()=>oA,c:()=>at,f:()=>av,l:()=>ov});var l=n(12115),c=n(48250),u=n(20768);let h="indicator",p="text-only",d="remove";function f(e,t){if("string"!=typeof e)return null;try{return new URL(e)}catch{if(t)try{return new URL(e,t)}catch{return null}if(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"))try{return new URL(e,"http://example.com")}catch{}return null}}let m=new Set(["https:","http:","irc:","ircs:","mailto:","xmpp:","blob:"]),g=new Set(["javascript:","data:","file:","vbscript:"]);function y(e,t,n,r=!1,i=!1,a=[]){if(!e)return null;if("string"==typeof e&&e.startsWith("#")&&!i)try{if(new URL(e,"http://example.com").hash===e)return e}catch{}if("string"==typeof e&&e.startsWith("data:"))return i&&r&&e.startsWith("data:image/")?e:null;if("string"==typeof e&&e.startsWith("blob:")){try{let t=new URL(e);if("blob:"===t.protocol&&e.length>5){let t=e.substring(5);if(t&&t.length>0&&"invalid"!==t)return e}}catch{}return null}let s=f(e,n);if(!s||g.has(s.protocol)||!(m.has(s.protocol)||a.includes(s.protocol)||a.includes("*")))return null;if("mailto:"===s.protocol||!s.protocol.match(/^https?:$/))return s.href;let o="string"==typeof e&&(e.startsWith("/")||e.startsWith("./")||e.startsWith("../"));return s&&t.some(e=>{let t=f(e,n);return!!t&&t.origin===s.origin&&s.href.startsWith(t.href)})?o?s.pathname+s.search+s.hash:s.href:t.includes("*")?"https:"!==s.protocol&&"http:"!==s.protocol?null:o?s.pathname+s.search+s.hash:s.href:null}let b=Symbol("node-seen");var _=n(78750),k=n(23091),E=n(78115),T=n(4918),x=n(38609);function A(e,t){let n=e.indexOf("\r",t),r=e.indexOf("\n",t);return -1===r?n:-1===n||n+1===r?r:n<r?n:r}var w=n(84709);let v={}.hasOwnProperty,S=Object.prototype;function C(e,t){let n;switch(t.nodeName){case"#comment":return n={type:"comment",value:t.data},I(e,t,n),n;case"#document":case"#document-fragment":{let r="mode"in t&&("quirks"===t.mode||"limited-quirks"===t.mode);if(n={type:"root",children:N(e,t.childNodes),data:{quirksMode:r}},e.file&&e.location){let t,r,i=String(e.file),a=(t=String(i),r=[],{toOffset:function(e){if(e&&"number"==typeof e.line&&"number"==typeof e.column&&!Number.isNaN(e.line)&&!Number.isNaN(e.column)){for(;r.length<e.line;){let e=r[r.length-1],n=A(t,e),i=-1===n?t.length+1:n+1;if(e===i)break;r.push(i)}let n=(e.line>1?r[e.line-2]:0)+e.column-1;if(n<r[e.line-1])return n}},toPoint:function(e){if("number"==typeof e&&e>-1&&e<=t.length){let n=0;for(;;){let i=r[n];if(void 0===i){let e=A(t,r[n-1]);i=-1===e?t.length+1:e+1,r[n]=i}if(i>e)return{line:n+1,column:e-(n>0?r[n-1]:0)+1,offset:e};n++}}}}),s=a.toPoint(0),o=a.toPoint(i.length);(0,k.ok)(s,"expected `start`"),(0,k.ok)(o,"expected `end`"),n.position={start:s,end:o}}return n}case"#documentType":return I(e,t,n={type:"doctype"}),n;case"#text":return n={type:"text",value:t.value},I(e,t,n),n;default:return function(e,t){let n=e.schema;e.schema=t.namespaceURI===w.t.svg?T.JW:T.qy;let r=-1,i={};for(;++r<t.attrs.length;){let e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name;v.call(S,n)||(i[n]=e.value)}let a=("svg"===e.schema.space?E.s:E.h)(t.tagName,i,N(e,t.childNodes));if(I(e,t,a),"template"===a.tagName){let n=t.sourceCodeLocation,r=n&&n.startTag&&D(n.startTag),i=n&&n.endTag&&D(n.endTag),s=C(e,t.content);r&&i&&e.file&&(s.position={start:r.end,end:i.start}),a.content=s}return e.schema=n,a}(e,t)}}function N(e,t){let n=-1,r=[];for(;++n<t.length;){let i=C(e,t[n]);r.push(i)}return r}function I(e,t,n){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){let r=function(e,t,n){let r=D(n);if("element"===t.type){let i=t.children[t.children.length-1];if(r&&!n.endTag&&i&&i.position&&i.position.end&&(r.end=Object.assign({},i.position.end)),e.verbose){let r,i={};if(n.attrs)for(r in n.attrs)v.call(n.attrs,r)&&(i[(0,x.I)(e.schema,r).property]=D(n.attrs[r]));(0,k.ok)(n.startTag,"a start tag should exist");let a=D(n.startTag),s=n.endTag?D(n.endTag):void 0,o={opening:a};s&&(o.closing=s),o.properties=i,t.data={position:o}}}return r}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function D(e){let t=O({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=O({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n}:void 0}function O(e){return e.line&&e.column?e:void 0}var M=n(86994),L=n(51705),R=n(27629);let P={}.hasOwnProperty,F=(0,R.A)("type",{handlers:{root:function(e,t){let n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return n.childNodes=B(e.children,n,t),H(e,n),n},element:function(e,t){var n,r;let i,a,s=t;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===t.space&&(s=T.JW);let o=[];if(e.properties){for(i in e.properties)if("children"!==i&&P.call(e.properties,i)){let t=function(e,t,n){let r=(0,x.I)(e,t);if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return;Array.isArray(n)&&(n=r.commaSeparated?(0,M.A)(n):(0,L.A)(n));let i={name:r.attribute,value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){let e=i.name.indexOf(":");e<0?i.prefix="":(i.name=i.name.slice(e+1),i.prefix=r.attribute.slice(0,e)),i.namespace=w.t[r.space]}return i}(s,i,e.properties[i]);t&&o.push(t)}}let l=s.space;(0,k.ok)(l);let c={nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:w.t[l],childNodes:[],parentNode:null};return c.childNodes=B(e.children,c,s),H(e,c),"template"===e.tagName&&e.content&&(n=e.content,r=s,(a={nodeName:"#document-fragment",childNodes:[]}).childNodes=B(n.children,a,r),H(n,a),c.content=a),c},text:function(e){let t={nodeName:"#text",value:e.value,parentNode:null};return H(e,t),t},comment:function(e){let t={nodeName:"#comment",data:e.value,parentNode:null};return H(e,t),t},doctype:function(e){let t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return H(e,t),t}}});function B(e,t,n){let r=-1,i=[];if(e)for(;++r<e.length;){let a=F(e[r],n);a.parentNode=t,i.push(a)}return i}function H(e,t){let n=e.position;n&&n.start&&n.end&&((0,k.ok)("number"==typeof n.start.offset),(0,k.ok)("number"==typeof n.end.offset),t.sourceCodeLocation={startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}var U=n(51640);let j=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]);(sf=sI||(sI={}))[sf.EOF=-1]="EOF",sf[sf.NULL=0]="NULL",sf[sf.TABULATION=9]="TABULATION",sf[sf.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",sf[sf.LINE_FEED=10]="LINE_FEED",sf[sf.FORM_FEED=12]="FORM_FEED",sf[sf.SPACE=32]="SPACE",sf[sf.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",sf[sf.QUOTATION_MARK=34]="QUOTATION_MARK",sf[sf.AMPERSAND=38]="AMPERSAND",sf[sf.APOSTROPHE=39]="APOSTROPHE",sf[sf.HYPHEN_MINUS=45]="HYPHEN_MINUS",sf[sf.SOLIDUS=47]="SOLIDUS",sf[sf.DIGIT_0=48]="DIGIT_0",sf[sf.DIGIT_9=57]="DIGIT_9",sf[sf.SEMICOLON=59]="SEMICOLON",sf[sf.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",sf[sf.EQUALS_SIGN=61]="EQUALS_SIGN",sf[sf.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",sf[sf.QUESTION_MARK=63]="QUESTION_MARK",sf[sf.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",sf[sf.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",sf[sf.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",sf[sf.GRAVE_ACCENT=96]="GRAVE_ACCENT",sf[sf.LATIN_SMALL_A=97]="LATIN_SMALL_A",sf[sf.LATIN_SMALL_Z=122]="LATIN_SMALL_Z";let $="[CDATA[",z="doctype",G="script";function K(e){return e>=55296&&e<=57343}function Y(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function q(e){return e>=64976&&e<=65007||j.has(e)}(sm=sD||(sD={})).controlCharacterInInputStream="control-character-in-input-stream",sm.noncharacterInInputStream="noncharacter-in-input-stream",sm.surrogateInInputStream="surrogate-in-input-stream",sm.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",sm.endTagWithAttributes="end-tag-with-attributes",sm.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",sm.unexpectedSolidusInTag="unexpected-solidus-in-tag",sm.unexpectedNullCharacter="unexpected-null-character",sm.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",sm.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",sm.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",sm.missingEndTagName="missing-end-tag-name",sm.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",sm.unknownNamedCharacterReference="unknown-named-character-reference",sm.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",sm.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",sm.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",sm.eofBeforeTagName="eof-before-tag-name",sm.eofInTag="eof-in-tag",sm.missingAttributeValue="missing-attribute-value",sm.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",sm.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",sm.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",sm.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",sm.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",sm.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",sm.missingDoctypePublicIdentifier="missing-doctype-public-identifier",sm.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",sm.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",sm.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",sm.cdataInHtmlContent="cdata-in-html-content",sm.incorrectlyOpenedComment="incorrectly-opened-comment",sm.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",sm.eofInDoctype="eof-in-doctype",sm.nestedComment="nested-comment",sm.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",sm.eofInComment="eof-in-comment",sm.incorrectlyClosedComment="incorrectly-closed-comment",sm.eofInCdata="eof-in-cdata",sm.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",sm.nullCharacterReference="null-character-reference",sm.surrogateCharacterReference="surrogate-character-reference",sm.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",sm.controlCharacterReference="control-character-reference",sm.noncharacterCharacterReference="noncharacter-character-reference",sm.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",sm.missingDoctypeName="missing-doctype-name",sm.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",sm.duplicateAttribute="duplicate-attribute",sm.nonConformingDoctype="non-conforming-doctype",sm.missingDoctype="missing-doctype",sm.misplacedDoctype="misplaced-doctype",sm.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",sm.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",sm.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",sm.openElementsLeftAfterEof="open-elements-left-after-eof",sm.abandonedHeadElementChild="abandoned-head-element-child",sm.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",sm.nestedNoscriptInHead="nested-noscript-in-head",sm.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class W{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e,t){let{line:n,col:r,offset:i}=this,a=r+t,s=i+t;return{code:e,startLine:n,endLine:n,startCol:a,endCol:a,startOffset:s,endOffset:s}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){let t=this.html.charCodeAt(this.pos+1);if(t>=56320&&t<=57343)return this.pos++,this._addGap(),(e-55296)*1024+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,sI.EOF;return this._err(sD.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t<e.length;t++)if((32|this.html.charCodeAt(this.pos+t))!==e.charCodeAt(t))return!1;return!0}peek(e){let t=this.pos+e;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,sI.EOF;let n=this.html.charCodeAt(t);return n===sI.CARRIAGE_RETURN?sI.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,sI.EOF;let e=this.html.charCodeAt(this.pos);return e===sI.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,sI.LINE_FEED):e===sI.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,K(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===sI.LINE_FEED||e===sI.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){Y(e)?this._err(sD.controlCharacterInInputStream):q(e)&&this._err(sD.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}function V(e,t){for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(sg=sO||(sO={}))[sg.CHARACTER=0]="CHARACTER",sg[sg.NULL_CHARACTER=1]="NULL_CHARACTER",sg[sg.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",sg[sg.START_TAG=3]="START_TAG",sg[sg.END_TAG=4]="END_TAG",sg[sg.COMMENT=5]="COMMENT",sg[sg.DOCTYPE=6]="DOCTYPE",sg[sg.EOF=7]="EOF",sg[sg.HIBERNATION=8]="HIBERNATION";let X=new Uint16Array(('ᵁ<\xd5ıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms\x7f\x84\x8b\x90\x95\x98\xa6\xb3\xb9\xc8\xcflig耻\xc6䃆P耻&䀦cute耻\xc1䃁reve;䄂Āiyx}rc耻\xc2䃂;䐐r;쀀\uD835\uDD04rave耻\xc0䃀pha;䎑acr;䄀d;橓Āgp\x9d\xa1on;䄄f;쀀\uD835\uDD38plyFunction;恡ing耻\xc5䃅Ācs\xbe\xc3r;쀀\uD835\uDC9Cign;扔ilde耻\xc3䃃ml耻\xc4䃄Ѐaceforsu\xe5\xfb\xfeėĜĢħĪĀcr\xea\xf2kslash;或Ŷ\xf6\xf8;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀\uD835\uDD05pf;쀀\uD835\uDD39eve;䋘c\xf2ēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻\xa9䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻\xc7䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷\xf2ſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀\uD835\uDC9EpĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀\uD835\uDD07Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀\uD835\uDD3Bƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegra\xecȹoɴ\0\0ͻ\xbb͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔e\xe5ˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀\uD835\uDC9Frok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻\xd0䃐cute耻\xc9䃉ƀaiyӒӗӜron;䄚rc耻\xca䃊;䐭ot;䄖r;쀀\uD835\uDD08rave耻\xc8䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀\uD835\uDD3Csilon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻\xcb䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀\uD835\uDD09lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀\uD835\uDD3DAll;戀riertrf;愱c\xf2JTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀\uD835\uDD0A;拙pf;쀀\uD835\uDD3Eeater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀\uD835\uDCA2;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅ\xf2کrok;䄦mpńېۘownHum\xf0įqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻\xcd䃍Āiyܓܘrc耻\xce䃎;䐘ot;䄰r;愑rave耻\xcc䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lie\xf3ϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀\uD835\uDD40a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻\xcf䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀\uD835\uDD0Dpf;쀀\uD835\uDD41ǣ߇\0ߌr;쀀\uD835\uDCA5rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀\uD835\uDD0Epf;쀀\uD835\uDD42cr;쀀\uD835\uDCA6րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ight\xe1Μs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀\uD835\uDD0FĀ;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊight\xe1οight\xe1ϊf;쀀\uD835\uDD43erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂ\xf2ࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀\uD835\uDD10nusPlus;戓pf;쀀\uD835\uDD44c\xf2੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦\xeberyThi\xeetedĀGLଆreaterGreate\xf2ٳessLes\xf3ੈLine;䀊r;쀀\uD835\uDD11ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀\uD835\uDCA9ilde耻\xd1䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻\xd3䃓Āiyීrc耻\xd4䃔;䐞blac;䅐r;쀀\uD835\uDD12rave耻\xd2䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀\uD835\uDD46enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀\uD835\uDCAAash耻\xd8䃘iŬืde耻\xd5䃕es;樷ml耻\xd6䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀\uD835\uDD13i;䎦;䎠usMinus;䂱Āipຢອncareplan\xe5ڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀\uD835\uDCAB;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀\uD835\uDD14pf;愚cr;쀀\uD835\uDCACBEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻\xae䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r\xbbཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀\uD835\uDD16ortȀDLRUᄪᄴᄾᅉownArrow\xbbОeftArrow\xbb࢚ightArrow\xbbpArrow;憑gma;䎣allCircle;战pf;쀀\uD835\uDD4Aɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀\uD835\uDCAEar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Th\xe1ྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et\xbbሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻\xde䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀\uD835\uDD17ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀\uD835\uDD4BipleDot;惛Āctዖዛr;쀀\uD835\uDCAFrok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻\xda䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻\xdb䃛;䐣blac;䅰r;쀀\uD835\uDD18rave耻\xd9䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀\uD835\uDD4CЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥own\xe1ϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀\uD835\uDCB0ilde;䅨ml耻\xdc䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀\uD835\uDD19pf;쀀\uD835\uDD4Dcr;쀀\uD835\uDCB1dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀\uD835\uDD1Apf;쀀\uD835\uDD4Ecr;쀀\uD835\uDCB2Ȁfiosᓋᓐᓒᓘr;쀀\uD835\uDD1B;䎞pf;쀀\uD835\uDD4Fcr;쀀\uD835\uDCB3ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻\xdd䃝Āiyᔉᔍrc;䅶;䐫r;쀀\uD835\uDD1Cpf;쀀\uD835\uDD50cr;쀀\uD835\uDCB4ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidt\xe8a;䎖r;愨pf;愤cr;쀀\uD835\uDCB5ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻\xe1䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻\xe2䃢te肻\xb4̆;䐰lig耻\xe6䃦Ā;r\xb2ᖺ;쀀\uD835\uDD1Erave耻\xe0䃠ĀepᗊᗖĀfpᗏᗔsym;愵\xe8ᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e\xbbᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢\xbb\xb9arr;捼Āgpᙣᙧon;䄅f;쀀\uD835\uDD52;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒ\xf1ᚃing耻\xe5䃥ƀctyᚡᚦᚨr;쀀\uD835\uDCB6;䀪mpĀ;eᚯ\xf1ʈilde耻\xe3䃣ml耻\xe4䃤Āciᛂᛈonin\xf4ɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e\xbbᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰s\xe9ᜌno\xf5ēƀahwᝯᝳ;䎲;愶een;扬r;쀀\uD835\uDD1Fgcostuvwឍឝឳេ៕៛ƀaiuបពរ\xf0ݠrc;旯p\xbb፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄e\xe5ᑄ\xe5ᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀\uD835\uDD53Ā;tᏋᡣom\xbbᏌtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻\xa6䂦Ȁceioᥑᥖᥚᥠr;쀀\uD835\uDCB7mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t\xbbpƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁\xeeړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻\xe7䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻\xb8ƭptyv;榲t脀\xa2;eᨭᨮ䂢r\xe4Ʋr;쀀\uD835\uDD20ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark\xbbᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖\xbbཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it\xbb᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;q\xc7\xc6ɭ\0\0aĀ;t䀬;䁀ƀ;fl戁\xeeᅠeĀmxent\xbbe\xf3ɍǧ\0ᬇĀ;dኻᬂot;橭n\xf4Ɇƀfryᬐᬔᬗ;쀀\uD835\uDD54o\xe4ɔ脀\xa9;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀\uD835\uDCB8Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒre\xe3᭳u\xe3᭵ee;拎edge;拏en耻\xa4䂤earrowĀlrᯮ᯳eft\xbbᮀight\xbbᮽe\xe4ᯝĀciᰁᰇonin\xf4Ƿnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍r\xf2ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸\xf2ᄳhĀ;vᱚᱛ怐\xbbऊūᱡᱧarow;椏a\xe3̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻\xb0䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀\uD835\uDD21arĀlrᲳᲵ\xbbࣜ\xbbသʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀\xf7;o᳧ᳰntimes;拇n\xf8᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀\uD835\uDD55ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedg\xe5\xfanƀadhᄮᵝᵧownarrow\xf3ᲃarpoonĀlrᵲᵶef\xf4Ჴigh\xf4ᲶŢᵿᶅkaro\xf7གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀\uD835\uDCB9;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃r\xf2Щa\xf2ྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴo\xf4ĀcsḎḔute耻\xe9䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻\xea䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀\uD835\uDD22ƀ;rsṐṑṗ檚ave耻\xe8䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et\xbbẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀\uD835\uDD56ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on\xbbớ;䏵ȀcsuvỪỳἋἣĀioữḱrc\xbbḮɩỹ\0\0ỻ\xedՈantĀglἂἆtr\xbbṝess\xbbṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯o\xf4͒ĀahὉὋ;䎷耻\xf0䃰Āmrὓὗl耻\xeb䃫o;悬ƀcipὡὤὧl;䀡s\xf4ծĀeoὬὴctatio\xeeՙnential\xe5չৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotse\xf1Ṅy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀\uD835\uDD23lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀\uD835\uDD57ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻\xbd䂽;慓耻\xbc䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻\xbe䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀\uD835\uDCBBࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlan\xf4٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀\uD835\uDD24Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox\xbbℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀\uD835\uDD58Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0pro\xf8r;楸qĀlqؿ↖les\xf3₈i\xed٫Āen↣↭rtneqq;쀀≩︀\xc5↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽r\xf2ΠȀilmr⇐⇔⇗⇛rs\xf0ᒄf\xbb․il\xf4کĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it\xbb∊lip;怦con;抹r;쀀\uD835\uDD25sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀\uD835\uDD59bar;怕ƀclt≯≴≸r;쀀\uD835\uDCBDas\xe8⇴rok;䄧Ābp⊂⊇ull;恃hen\xbbᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻\xed䃭ƀ;iyݱ⊰⊵rc耻\xee䃮;䐸Ācx⊼⊿y;䐵cl耻\xa1䂡ĀfrΟ⋉;쀀\uD835\uDD26rave耻\xec䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓in\xe5ގar\xf4ܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝do\xf4⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙er\xf3ᕣ\xe3⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀\uD835\uDD5Aa;䎹uest耻\xbf䂿Āci⎊⎏r;쀀\uD835\uDCBEnʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻\xef䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀\uD835\uDD27ath;䈷pf;쀀\uD835\uDD5Bǣ⏬\0⏱r;쀀\uD835\uDCBFrcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀\uD835\uDD28reen;䄸cy;䑅cy;䑜pf;쀀\uD835\uDD5Ccr;쀀\uD835\uDCC0ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼r\xf2\xf2Εail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴ra\xeeࡌbda;䎻gƀ;dlࢎⓁⓃ;榑\xe5ࢎ;檅uo耻\xab䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝\xeb≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼\xecࢰ\xe2┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□a\xe9⓶arpoonĀdu▯▴own\xbbњp\xbb०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoon\xf3quigarro\xf7⇰hreetimes;拋ƀ;qs▋ও◺lan\xf4বʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋ppro\xf8Ⓠot;拖qĀgq♃♅\xf4উgt\xf2⒌\xf4ছi\xedলƀilr♕࣡♚sht;楼;쀀\uD835\uDD29Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖r\xf2◁orne\xf2ᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che\xbb⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox\xbb⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽r\xebࣁgƀlmr⛿✍✔eftĀar০✇ight\xe1৲apsto;柼ight\xe1৽parrowĀlr✥✩ef\xf4⓭ight;憬ƀafl✶✹✽r;榅;쀀\uD835\uDD5Dus;樭imes;樴š❋❏st;戗\xe1ፎƀ;ef❗❘᠀旊nge\xbb❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇r\xf2ࢨorne\xf2ᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀\uD835\uDCC1mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹re\xe5◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀\xc5⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻\xaf䂯Āet⡗⡙;時Ā;e⡞⡟朠se\xbb⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻ow\xeeҌef\xf4ए\xf0Ꮡker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle\xbbᘦr;쀀\uD835\uDD2Ao;愧ƀcdn⢯⢴⣉ro耻\xb5䂵Ȁ;acdᑤ⢽⣀⣄s\xf4ᚧir;櫰ot肻\xb7Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛\xf2−\xf0ઁĀdp⣩⣮els;抧f;쀀\uD835\uDD5EĀct⣸⣽r;쀀\uD835\uDCC2pos\xbbᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la\xbb˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉ro\xf8urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻\xa0ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸ui\xf6ୣĀei⩊⩎ar;椨\xedistĀ;sடr;쀀\uD835\uDD2BȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lan\xf4i\xed௪Ā;rஶ⪁\xbbஷƀAap⪊⪍⪑r\xf2⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹r\xf2⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro\xf7⫁ightarro\xf7⪐ƀ;qs⪺⫪lan\xf4ౕĀ;sౕ⫴\xbbశi\xedౝĀ;rవ⫾iĀ;eచథi\xe4ඐĀpt⬌⬑f;쀀\uD835\uDD5F膀\xac;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lle\xecl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳u\xe5ಥĀ;cಘ⭸Ā;eಒ⭽\xf1ಘȀAait⮈⮋⮝⮧r\xf2⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow\xbb⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉u\xe5;쀀\uD835\uDCC3ortɭ⬅\0\0⯖ar\xe1⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭\xe5\xe5ഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗ\xf1സȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇ\xecௗlde耻\xf1䃱\xe7ృiangleĀlrⱒⱜeftĀ;eచⱚ\xf1దightĀ;eೋⱥ\xf1Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻\xf3䃳ĀiyⴼⵅrĀ;cⵂ耻\xf4䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀\uD835\uDD2Cͯ\0\0\0ⶂn;䋛ave耻\xf2䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨr\xf2᪀Āirⶠr;榾oss;榻n\xe5๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀\uD835\uDD60ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨r\xf2᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f\xbbⷿ耻\xaa䂪耻\xba䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧\xf2⸁ash耻\xf8䃸l;折iŬⸯ⸴de耻\xf5䃵esĀ;aǛ⸺s;樶ml耻\xf6䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀\xb6;l䂶le\xecЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀\uD835\uDD2Dƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕ma\xf4੶ne;明ƀ;tv⺿⻀⻈䏀chfork\xbb´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎\xf6⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻\xb1ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀\uD835\uDD61nd耻\xa3䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷u\xe5໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾ppro\xf8⽃urlye\xf1໙\xf1໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨i\xedໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺\xf0⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴\xefrel;抰Āci⿀⿅r;쀀\uD835\uDCC5;䏈ncsp;怈̀fiopsu⋢⿱r;쀀\uD835\uDD2Epf;쀀\uD835\uDD62rime;恗cr;쀀\uD835\uDCC6ƀaeo⿸〉〓tĀei々rnion\xf3ڰnt;樖stĀ;e【】䀿\xf1Ἑ\xf4༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがr\xf2Ⴓ\xf2ϝail;検ar\xf2ᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕i\xe3ᅮmptyv;榳gȀ;del࿑らるろ;榒;榥\xe5࿑uo耻\xbb䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞\xeb≝\xf0✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶al\xf3༞ƀabrョリヮr\xf2៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗\xec\xe2ヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜn\xe5Ⴛar\xf4ྩt;断ƀilrㅩဣㅮsht;楽;쀀\uD835\uDD2FĀaoㅷㆆrĀduㅽㅿ\xbbѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭa\xe9トarpoonĀduㆻㆿow\xeeㅾp\xbb႒eftĀah㇊㇐rrow\xf3arpoon\xf3Ցightarrows;應quigarro\xf7ニhreetimes;拌g;䋚ingdotse\xf1ἲƀahm㈍㈐㈓r\xf2a\xf2Ց;怏oustĀ;a㈞掱che\xbbmid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾r\xebဃƀafl㉇㉊㉎r;榆;쀀\uD835\uDD63us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒ar\xf2㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀\uD835\uDCC7Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠re\xe5ㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛qu\xef➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡u\xe5ᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓i\xedሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒\xeb∨Ā;oਸ਼t耻\xa7䂧i;䀻war;椩mĀin㍩\xf0nu\xf3\xf1t;朶rĀ;o㍶⁕쀀\uD835\uDD30Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜i\xe4ᑤara\xec耻\xad䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲ar\xf2ᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetm\xe9㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀\uD835\uDD64aĀdr㑍ЂesĀ;u㑔㑕晠it\xbb㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍\xf1ᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝\xf1ᆮƀ;afᅻ㒦ְrť㒫ֱ\xbbᅼar\xf2ᅈȀcemt㒹㒾㓂㓅r;쀀\uD835\uDCC8tm\xee\xf1i\xec㐕ar\xe6ᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psilo\xeeỠh\xe9⺯s\xbb⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦ppro\xf8㋺urlye\xf1ᇾ\xf1ᇳƀaes㖂㖈㌛ppro\xf8㌚q\xf1㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻\xb9䂹耻\xb2䂲耻\xb3䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨\xeb∮Ā;oਫwar;椪lig耻\xdf䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄r\xebƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀\uD835\uDD31Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮ppro\xf8im\xbbኬs\xf0ኞĀas㚺㚮\xf0rn耻\xfe䃾Ǭ̟㛆⋧es膀\xd7;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀\xe1⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀\uD835\uDD65rk;櫚\xe1㍢rime;怴ƀaip㜏㜒㝤d\xe5ቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own\xbbᶻeftĀ;e⠀㜾\xf1म;扜ightĀ;e㊪㝋\xf1ၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀\uD835\uDCC9;䑆cy;䑛rok;䅧Āio㞋㞎x\xf4headĀlr㞗㞠eftarro\xf7ࡏightarrow\xbbཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶r\xf2ϭar;楣Ācr㟜㟢ute耻\xfa䃺\xf2ᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻\xfb䃻;䑃ƀabh㠃㠆㠋r\xf2Ꭽlac;䅱a\xf2ᏃĀir㠓㠘sht;楾;쀀\uD835\uDD32rave耻\xf9䃹š㠧㠱rĀlr㠬㠮\xbbॗ\xbbႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r\xbb㡆op;挏ri;旸Āal㡖㡚cr;䅫肻\xa8͉Āgp㡢㡦on;䅳f;쀀\uD835\uDD66̀adhlsuᅋ㡸㡽፲㢑㢠own\xe1ᎳarpoonĀlr㢈㢌ef\xf4㠭igh\xf4㠯iƀ;hl㢙㢚㢜䏅\xbbᏺon\xbb㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r\xbb㢽op;挎ng;䅯ri;旹cr;쀀\uD835\uDCCAƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨\xbb᠓Āam㣯㣲r\xf2㢨l耻\xfc䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠r\xf2ϷarĀ;v㤦㤧櫨;櫩as\xe8ϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖app\xe1␕othin\xe7ẖƀhir㓫⻈㥙op\xf4⾵Ā;hᎷ㥢\xefㆍĀiu㥩㥭gm\xe1㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟et\xe1㚜iangleĀlr㦪㦯eft\xbbथight\xbbၑy;䐲ash\xbbံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨa\xf2ᑩr;쀀\uD835\uDD33tr\xe9㦮suĀbp㧯㧱\xbbജ\xbb൙pf;쀀\uD835\uDD67ro\xf0tr\xe9㦴Ācu㨆㨋r;쀀\uD835\uDCCBĀbp㨐㨘nĀEe㦀㨖\xbb㥾nĀEe㦒㨞\xbb㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀\uD835\uDD34pf;쀀\uD835\uDD68Ā;eᑹ㩦at\xe8ᑹcr;쀀\uD835\uDCCCૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtr\xe9៑r;쀀\uD835\uDD35ĀAa㪔㪗r\xf2σr\xf2৶;䎾ĀAa㪡㪤r\xf2θr\xf2৫a\xf0✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀\uD835\uDD69im\xe5ឲĀAa㫇㫊r\xf2ώr\xf2ਁĀcq㫒ីr;쀀\uD835\uDCCDĀpt៖㫜r\xe9។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻\xfd䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻\xa5䂥r;쀀\uD835\uDD36cy;䑗pf;쀀\uD835\uDD6Acr;쀀\uD835\uDCCEĀcm㬦㬩y;䑎l耻\xff䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡tr\xe6ᕟa;䎶r;쀀\uD835\uDD37cy;䐶grarr;懝pf;쀀\uD835\uDD6Bcr;쀀\uD835\uDCCFĀjn㮅㮇;怍j;怌'.split("")).map(e=>e.charCodeAt(0))),Q=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Z(e){return e>=sM.ZERO&&e<=sM.NINE}(sy=sM||(sM={}))[sy.NUM=35]="NUM",sy[sy.SEMI=59]="SEMI",sy[sy.EQUALS=61]="EQUALS",sy[sy.ZERO=48]="ZERO",sy[sy.NINE=57]="NINE",sy[sy.LOWER_A=97]="LOWER_A",sy[sy.LOWER_F=102]="LOWER_F",sy[sy.LOWER_X=120]="LOWER_X",sy[sy.LOWER_Z=122]="LOWER_Z",sy[sy.UPPER_A=65]="UPPER_A",sy[sy.UPPER_F=70]="UPPER_F",sy[sy.UPPER_Z=90]="UPPER_Z",(sb=sL||(sL={}))[sb.VALUE_LENGTH=49152]="VALUE_LENGTH",sb[sb.BRANCH_LENGTH=16256]="BRANCH_LENGTH",sb[sb.JUMP_TABLE=127]="JUMP_TABLE",(s_=sR||(sR={}))[s_.EntityStart=0]="EntityStart",s_[s_.NumericStart=1]="NumericStart",s_[s_.NumericDecimal=2]="NumericDecimal",s_[s_.NumericHex=3]="NumericHex",s_[s_.NamedEntity=4]="NamedEntity",(sk=sP||(sP={}))[sk.Legacy=0]="Legacy",sk[sk.Strict=1]="Strict",sk[sk.Attribute=2]="Attribute";class J{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=sR.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=sP.Strict}startEntity(e){this.decodeMode=e,this.state=sR.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case sR.EntityStart:if(e.charCodeAt(t)===sM.NUM)return this.state=sR.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1);return this.state=sR.NamedEntity,this.stateNamedEntity(e,t);case sR.NumericStart:return this.stateNumericStart(e,t);case sR.NumericDecimal:return this.stateNumericDecimal(e,t);case sR.NumericHex:return this.stateNumericHex(e,t);case sR.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===sM.LOWER_X?(this.state=sR.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=sR.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){let i=n-t;this.result=this.result*Math.pow(r,i)+Number.parseInt(e.substr(t,i),r),this.consumed+=i}}stateNumericHex(e,t){let n=t;for(;t<e.length;){var r;let i=e.charCodeAt(t);if(!Z(i)&&(!((r=i)>=sM.UPPER_A)||!(r<=sM.UPPER_F))&&(!(r>=sM.LOWER_A)||!(r<=sM.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(i,3);t+=1}return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){let n=t;for(;t<e.length;){let r=e.charCodeAt(t);if(!Z(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2);t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n,r,i;if(this.consumed<=t)return null==(n=this.errors)||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(e===sM.SEMI)this.consumed+=1;else if(this.decodeMode===sP.Strict)return 0;return this.emitCodePoint((r=this.result)>=55296&&r<=57343||r>1114111?65533:null!=(i=Q.get(r))?i:r,this.consumed),this.errors&&(e!==sM.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){let{decodeTree:n}=this,r=n[this.treeIndex],i=(r&sL.VALUE_LENGTH)>>14;for(;t<e.length;t++,this.excess++){let a=e.charCodeAt(t);if(this.treeIndex=function(e,t,n,r){let i=(t&sL.BRANCH_LENGTH)>>7,a=t&sL.JUMP_TABLE;if(0===i)return 0!==a&&r===a?n:-1;if(a){let t=r-a;return t<0||t>=i?-1:e[n+t]-1}let s=n,o=s+i-1;for(;s<=o;){let t=s+o>>>1,n=e[t];if(n<r)s=t+1;else{if(!(n>r))return e[t+i];o=t-1}}return -1}(n,r,this.treeIndex+Math.max(1,i),a),this.treeIndex<0)return 0===this.result||this.decodeMode===sP.Attribute&&(0===i||function(e){var t;return e===sM.EQUALS||(t=e)>=sM.UPPER_A&&t<=sM.UPPER_Z||t>=sM.LOWER_A&&t<=sM.LOWER_Z||Z(t)}(a))?0:this.emitNotTerminatedNamedEntity();if(0!=(i=((r=n[this.treeIndex])&sL.VALUE_LENGTH)>>14)){if(a===sM.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==sP.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return -1}emitNotTerminatedNamedEntity(){var e;let{result:t,decodeTree:n}=this,r=(n[t]&sL.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null==(e=this.errors)||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){let{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~sL.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case sR.NamedEntity:return 0!==this.result&&(this.decodeMode!==sP.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case sR.NumericDecimal:return this.emitNumericEntity(0,2);case sR.NumericHex:return this.emitNumericEntity(0,3);case sR.NumericStart:return null==(e=this.errors)||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case sR.EntityStart:return 0}}}(sE=sF||(sF={})).HTML="http://www.w3.org/1999/xhtml",sE.MATHML="http://www.w3.org/1998/Math/MathML",sE.SVG="http://www.w3.org/2000/svg",sE.XLINK="http://www.w3.org/1999/xlink",sE.XML="http://www.w3.org/XML/1998/namespace",sE.XMLNS="http://www.w3.org/2000/xmlns/",(sT=sB||(sB={})).TYPE="type",sT.ACTION="action",sT.ENCODING="encoding",sT.PROMPT="prompt",sT.NAME="name",sT.COLOR="color",sT.FACE="face",sT.SIZE="size",(sx=sH||(sH={})).NO_QUIRKS="no-quirks",sx.QUIRKS="quirks",sx.LIMITED_QUIRKS="limited-quirks",(sA=sU||(sU={})).A="a",sA.ADDRESS="address",sA.ANNOTATION_XML="annotation-xml",sA.APPLET="applet",sA.AREA="area",sA.ARTICLE="article",sA.ASIDE="aside",sA.B="b",sA.BASE="base",sA.BASEFONT="basefont",sA.BGSOUND="bgsound",sA.BIG="big",sA.BLOCKQUOTE="blockquote",sA.BODY="body",sA.BR="br",sA.BUTTON="button",sA.CAPTION="caption",sA.CENTER="center",sA.CODE="code",sA.COL="col",sA.COLGROUP="colgroup",sA.DD="dd",sA.DESC="desc",sA.DETAILS="details",sA.DIALOG="dialog",sA.DIR="dir",sA.DIV="div",sA.DL="dl",sA.DT="dt",sA.EM="em",sA.EMBED="embed",sA.FIELDSET="fieldset",sA.FIGCAPTION="figcaption",sA.FIGURE="figure",sA.FONT="font",sA.FOOTER="footer",sA.FOREIGN_OBJECT="foreignObject",sA.FORM="form",sA.FRAME="frame",sA.FRAMESET="frameset",sA.H1="h1",sA.H2="h2",sA.H3="h3",sA.H4="h4",sA.H5="h5",sA.H6="h6",sA.HEAD="head",sA.HEADER="header",sA.HGROUP="hgroup",sA.HR="hr",sA.HTML="html",sA.I="i",sA.IMG="img",sA.IMAGE="image",sA.INPUT="input",sA.IFRAME="iframe",sA.KEYGEN="keygen",sA.LABEL="label",sA.LI="li",sA.LINK="link",sA.LISTING="listing",sA.MAIN="main",sA.MALIGNMARK="malignmark",sA.MARQUEE="marquee",sA.MATH="math",sA.MENU="menu",sA.META="meta",sA.MGLYPH="mglyph",sA.MI="mi",sA.MO="mo",sA.MN="mn",sA.MS="ms",sA.MTEXT="mtext",sA.NAV="nav",sA.NOBR="nobr",sA.NOFRAMES="noframes",sA.NOEMBED="noembed",sA.NOSCRIPT="noscript",sA.OBJECT="object",sA.OL="ol",sA.OPTGROUP="optgroup",sA.OPTION="option",sA.P="p",sA.PARAM="param",sA.PLAINTEXT="plaintext",sA.PRE="pre",sA.RB="rb",sA.RP="rp",sA.RT="rt",sA.RTC="rtc",sA.RUBY="ruby",sA.S="s",sA.SCRIPT="script",sA.SEARCH="search",sA.SECTION="section",sA.SELECT="select",sA.SOURCE="source",sA.SMALL="small",sA.SPAN="span",sA.STRIKE="strike",sA.STRONG="strong",sA.STYLE="style",sA.SUB="sub",sA.SUMMARY="summary",sA.SUP="sup",sA.TABLE="table",sA.TBODY="tbody",sA.TEMPLATE="template",sA.TEXTAREA="textarea",sA.TFOOT="tfoot",sA.TD="td",sA.TH="th",sA.THEAD="thead",sA.TITLE="title",sA.TR="tr",sA.TRACK="track",sA.TT="tt",sA.U="u",sA.UL="ul",sA.SVG="svg",sA.VAR="var",sA.WBR="wbr",sA.XMP="xmp",(sw=sj||(sj={}))[sw.UNKNOWN=0]="UNKNOWN",sw[sw.A=1]="A",sw[sw.ADDRESS=2]="ADDRESS",sw[sw.ANNOTATION_XML=3]="ANNOTATION_XML",sw[sw.APPLET=4]="APPLET",sw[sw.AREA=5]="AREA",sw[sw.ARTICLE=6]="ARTICLE",sw[sw.ASIDE=7]="ASIDE",sw[sw.B=8]="B",sw[sw.BASE=9]="BASE",sw[sw.BASEFONT=10]="BASEFONT",sw[sw.BGSOUND=11]="BGSOUND",sw[sw.BIG=12]="BIG",sw[sw.BLOCKQUOTE=13]="BLOCKQUOTE",sw[sw.BODY=14]="BODY",sw[sw.BR=15]="BR",sw[sw.BUTTON=16]="BUTTON",sw[sw.CAPTION=17]="CAPTION",sw[sw.CENTER=18]="CENTER",sw[sw.CODE=19]="CODE",sw[sw.COL=20]="COL",sw[sw.COLGROUP=21]="COLGROUP",sw[sw.DD=22]="DD",sw[sw.DESC=23]="DESC",sw[sw.DETAILS=24]="DETAILS",sw[sw.DIALOG=25]="DIALOG",sw[sw.DIR=26]="DIR",sw[sw.DIV=27]="DIV",sw[sw.DL=28]="DL",sw[sw.DT=29]="DT",sw[sw.EM=30]="EM",sw[sw.EMBED=31]="EMBED",sw[sw.FIELDSET=32]="FIELDSET",sw[sw.FIGCAPTION=33]="FIGCAPTION",sw[sw.FIGURE=34]="FIGURE",sw[sw.FONT=35]="FONT",sw[sw.FOOTER=36]="FOOTER",sw[sw.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",sw[sw.FORM=38]="FORM",sw[sw.FRAME=39]="FRAME",sw[sw.FRAMESET=40]="FRAMESET",sw[sw.H1=41]="H1",sw[sw.H2=42]="H2",sw[sw.H3=43]="H3",sw[sw.H4=44]="H4",sw[sw.H5=45]="H5",sw[sw.H6=46]="H6",sw[sw.HEAD=47]="HEAD",sw[sw.HEADER=48]="HEADER",sw[sw.HGROUP=49]="HGROUP",sw[sw.HR=50]="HR",sw[sw.HTML=51]="HTML",sw[sw.I=52]="I",sw[sw.IMG=53]="IMG",sw[sw.IMAGE=54]="IMAGE",sw[sw.INPUT=55]="INPUT",sw[sw.IFRAME=56]="IFRAME",sw[sw.KEYGEN=57]="KEYGEN",sw[sw.LABEL=58]="LABEL",sw[sw.LI=59]="LI",sw[sw.LINK=60]="LINK",sw[sw.LISTING=61]="LISTING",sw[sw.MAIN=62]="MAIN",sw[sw.MALIGNMARK=63]="MALIGNMARK",sw[sw.MARQUEE=64]="MARQUEE",sw[sw.MATH=65]="MATH",sw[sw.MENU=66]="MENU",sw[sw.META=67]="META",sw[sw.MGLYPH=68]="MGLYPH",sw[sw.MI=69]="MI",sw[sw.MO=70]="MO",sw[sw.MN=71]="MN",sw[sw.MS=72]="MS",sw[sw.MTEXT=73]="MTEXT",sw[sw.NAV=74]="NAV",sw[sw.NOBR=75]="NOBR",sw[sw.NOFRAMES=76]="NOFRAMES",sw[sw.NOEMBED=77]="NOEMBED",sw[sw.NOSCRIPT=78]="NOSCRIPT",sw[sw.OBJECT=79]="OBJECT",sw[sw.OL=80]="OL",sw[sw.OPTGROUP=81]="OPTGROUP",sw[sw.OPTION=82]="OPTION",sw[sw.P=83]="P",sw[sw.PARAM=84]="PARAM",sw[sw.PLAINTEXT=85]="PLAINTEXT",sw[sw.PRE=86]="PRE",sw[sw.RB=87]="RB",sw[sw.RP=88]="RP",sw[sw.RT=89]="RT",sw[sw.RTC=90]="RTC",sw[sw.RUBY=91]="RUBY",sw[sw.S=92]="S",sw[sw.SCRIPT=93]="SCRIPT",sw[sw.SEARCH=94]="SEARCH",sw[sw.SECTION=95]="SECTION",sw[sw.SELECT=96]="SELECT",sw[sw.SOURCE=97]="SOURCE",sw[sw.SMALL=98]="SMALL",sw[sw.SPAN=99]="SPAN",sw[sw.STRIKE=100]="STRIKE",sw[sw.STRONG=101]="STRONG",sw[sw.STYLE=102]="STYLE",sw[sw.SUB=103]="SUB",sw[sw.SUMMARY=104]="SUMMARY",sw[sw.SUP=105]="SUP",sw[sw.TABLE=106]="TABLE",sw[sw.TBODY=107]="TBODY",sw[sw.TEMPLATE=108]="TEMPLATE",sw[sw.TEXTAREA=109]="TEXTAREA",sw[sw.TFOOT=110]="TFOOT",sw[sw.TD=111]="TD",sw[sw.TH=112]="TH",sw[sw.THEAD=113]="THEAD",sw[sw.TITLE=114]="TITLE",sw[sw.TR=115]="TR",sw[sw.TRACK=116]="TRACK",sw[sw.TT=117]="TT",sw[sw.U=118]="U",sw[sw.UL=119]="UL",sw[sw.SVG=120]="SVG",sw[sw.VAR=121]="VAR",sw[sw.WBR=122]="WBR",sw[sw.XMP=123]="XMP";let ee=new Map([[sU.A,sj.A],[sU.ADDRESS,sj.ADDRESS],[sU.ANNOTATION_XML,sj.ANNOTATION_XML],[sU.APPLET,sj.APPLET],[sU.AREA,sj.AREA],[sU.ARTICLE,sj.ARTICLE],[sU.ASIDE,sj.ASIDE],[sU.B,sj.B],[sU.BASE,sj.BASE],[sU.BASEFONT,sj.BASEFONT],[sU.BGSOUND,sj.BGSOUND],[sU.BIG,sj.BIG],[sU.BLOCKQUOTE,sj.BLOCKQUOTE],[sU.BODY,sj.BODY],[sU.BR,sj.BR],[sU.BUTTON,sj.BUTTON],[sU.CAPTION,sj.CAPTION],[sU.CENTER,sj.CENTER],[sU.CODE,sj.CODE],[sU.COL,sj.COL],[sU.COLGROUP,sj.COLGROUP],[sU.DD,sj.DD],[sU.DESC,sj.DESC],[sU.DETAILS,sj.DETAILS],[sU.DIALOG,sj.DIALOG],[sU.DIR,sj.DIR],[sU.DIV,sj.DIV],[sU.DL,sj.DL],[sU.DT,sj.DT],[sU.EM,sj.EM],[sU.EMBED,sj.EMBED],[sU.FIELDSET,sj.FIELDSET],[sU.FIGCAPTION,sj.FIGCAPTION],[sU.FIGURE,sj.FIGURE],[sU.FONT,sj.FONT],[sU.FOOTER,sj.FOOTER],[sU.FOREIGN_OBJECT,sj.FOREIGN_OBJECT],[sU.FORM,sj.FORM],[sU.FRAME,sj.FRAME],[sU.FRAMESET,sj.FRAMESET],[sU.H1,sj.H1],[sU.H2,sj.H2],[sU.H3,sj.H3],[sU.H4,sj.H4],[sU.H5,sj.H5],[sU.H6,sj.H6],[sU.HEAD,sj.HEAD],[sU.HEADER,sj.HEADER],[sU.HGROUP,sj.HGROUP],[sU.HR,sj.HR],[sU.HTML,sj.HTML],[sU.I,sj.I],[sU.IMG,sj.IMG],[sU.IMAGE,sj.IMAGE],[sU.INPUT,sj.INPUT],[sU.IFRAME,sj.IFRAME],[sU.KEYGEN,sj.KEYGEN],[sU.LABEL,sj.LABEL],[sU.LI,sj.LI],[sU.LINK,sj.LINK],[sU.LISTING,sj.LISTING],[sU.MAIN,sj.MAIN],[sU.MALIGNMARK,sj.MALIGNMARK],[sU.MARQUEE,sj.MARQUEE],[sU.MATH,sj.MATH],[sU.MENU,sj.MENU],[sU.META,sj.META],[sU.MGLYPH,sj.MGLYPH],[sU.MI,sj.MI],[sU.MO,sj.MO],[sU.MN,sj.MN],[sU.MS,sj.MS],[sU.MTEXT,sj.MTEXT],[sU.NAV,sj.NAV],[sU.NOBR,sj.NOBR],[sU.NOFRAMES,sj.NOFRAMES],[sU.NOEMBED,sj.NOEMBED],[sU.NOSCRIPT,sj.NOSCRIPT],[sU.OBJECT,sj.OBJECT],[sU.OL,sj.OL],[sU.OPTGROUP,sj.OPTGROUP],[sU.OPTION,sj.OPTION],[sU.P,sj.P],[sU.PARAM,sj.PARAM],[sU.PLAINTEXT,sj.PLAINTEXT],[sU.PRE,sj.PRE],[sU.RB,sj.RB],[sU.RP,sj.RP],[sU.RT,sj.RT],[sU.RTC,sj.RTC],[sU.RUBY,sj.RUBY],[sU.S,sj.S],[sU.SCRIPT,sj.SCRIPT],[sU.SEARCH,sj.SEARCH],[sU.SECTION,sj.SECTION],[sU.SELECT,sj.SELECT],[sU.SOURCE,sj.SOURCE],[sU.SMALL,sj.SMALL],[sU.SPAN,sj.SPAN],[sU.STRIKE,sj.STRIKE],[sU.STRONG,sj.STRONG],[sU.STYLE,sj.STYLE],[sU.SUB,sj.SUB],[sU.SUMMARY,sj.SUMMARY],[sU.SUP,sj.SUP],[sU.TABLE,sj.TABLE],[sU.TBODY,sj.TBODY],[sU.TEMPLATE,sj.TEMPLATE],[sU.TEXTAREA,sj.TEXTAREA],[sU.TFOOT,sj.TFOOT],[sU.TD,sj.TD],[sU.TH,sj.TH],[sU.THEAD,sj.THEAD],[sU.TITLE,sj.TITLE],[sU.TR,sj.TR],[sU.TRACK,sj.TRACK],[sU.TT,sj.TT],[sU.U,sj.U],[sU.UL,sj.UL],[sU.SVG,sj.SVG],[sU.VAR,sj.VAR],[sU.WBR,sj.WBR],[sU.XMP,sj.XMP]]);function et(e){var t;return null!=(t=ee.get(e))?t:sj.UNKNOWN}let en=sj,er={[sF.HTML]:new Set([en.ADDRESS,en.APPLET,en.AREA,en.ARTICLE,en.ASIDE,en.BASE,en.BASEFONT,en.BGSOUND,en.BLOCKQUOTE,en.BODY,en.BR,en.BUTTON,en.CAPTION,en.CENTER,en.COL,en.COLGROUP,en.DD,en.DETAILS,en.DIR,en.DIV,en.DL,en.DT,en.EMBED,en.FIELDSET,en.FIGCAPTION,en.FIGURE,en.FOOTER,en.FORM,en.FRAME,en.FRAMESET,en.H1,en.H2,en.H3,en.H4,en.H5,en.H6,en.HEAD,en.HEADER,en.HGROUP,en.HR,en.HTML,en.IFRAME,en.IMG,en.INPUT,en.LI,en.LINK,en.LISTING,en.MAIN,en.MARQUEE,en.MENU,en.META,en.NAV,en.NOEMBED,en.NOFRAMES,en.NOSCRIPT,en.OBJECT,en.OL,en.P,en.PARAM,en.PLAINTEXT,en.PRE,en.SCRIPT,en.SECTION,en.SELECT,en.SOURCE,en.STYLE,en.SUMMARY,en.TABLE,en.TBODY,en.TD,en.TEMPLATE,en.TEXTAREA,en.TFOOT,en.TH,en.THEAD,en.TITLE,en.TR,en.TRACK,en.UL,en.WBR,en.XMP]),[sF.MATHML]:new Set([en.MI,en.MO,en.MN,en.MS,en.MTEXT,en.ANNOTATION_XML]),[sF.SVG]:new Set([en.TITLE,en.FOREIGN_OBJECT,en.DESC]),[sF.XLINK]:new Set,[sF.XML]:new Set,[sF.XMLNS]:new Set},ei=new Set([en.H1,en.H2,en.H3,en.H4,en.H5,en.H6]);sU.STYLE,sU.SCRIPT,sU.XMP,sU.IFRAME,sU.NOEMBED,sU.NOFRAMES,sU.PLAINTEXT,(sv=s$||(s$={}))[sv.DATA=0]="DATA",sv[sv.RCDATA=1]="RCDATA",sv[sv.RAWTEXT=2]="RAWTEXT",sv[sv.SCRIPT_DATA=3]="SCRIPT_DATA",sv[sv.PLAINTEXT=4]="PLAINTEXT",sv[sv.TAG_OPEN=5]="TAG_OPEN",sv[sv.END_TAG_OPEN=6]="END_TAG_OPEN",sv[sv.TAG_NAME=7]="TAG_NAME",sv[sv.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",sv[sv.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",sv[sv.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",sv[sv.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",sv[sv.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",sv[sv.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",sv[sv.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",sv[sv.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",sv[sv.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",sv[sv.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",sv[sv.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",sv[sv.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",sv[sv.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",sv[sv.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",sv[sv.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",sv[sv.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",sv[sv.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",sv[sv.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",sv[sv.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",sv[sv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",sv[sv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",sv[sv.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",sv[sv.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",sv[sv.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",sv[sv.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",sv[sv.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",sv[sv.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",sv[sv.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",sv[sv.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",sv[sv.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",sv[sv.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",sv[sv.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",sv[sv.BOGUS_COMMENT=40]="BOGUS_COMMENT",sv[sv.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",sv[sv.COMMENT_START=42]="COMMENT_START",sv[sv.COMMENT_START_DASH=43]="COMMENT_START_DASH",sv[sv.COMMENT=44]="COMMENT",sv[sv.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",sv[sv.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",sv[sv.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",sv[sv.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",sv[sv.COMMENT_END_DASH=49]="COMMENT_END_DASH",sv[sv.COMMENT_END=50]="COMMENT_END",sv[sv.COMMENT_END_BANG=51]="COMMENT_END_BANG",sv[sv.DOCTYPE=52]="DOCTYPE",sv[sv.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",sv[sv.DOCTYPE_NAME=54]="DOCTYPE_NAME",sv[sv.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",sv[sv.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",sv[sv.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",sv[sv.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",sv[sv.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",sv[sv.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",sv[sv.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",sv[sv.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",sv[sv.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",sv[sv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",sv[sv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",sv[sv.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",sv[sv.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",sv[sv.CDATA_SECTION=68]="CDATA_SECTION",sv[sv.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",sv[sv.CDATA_SECTION_END=70]="CDATA_SECTION_END",sv[sv.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",sv[sv.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND";let ea={DATA:s$.DATA,RCDATA:s$.RCDATA,RAWTEXT:s$.RAWTEXT,SCRIPT_DATA:s$.SCRIPT_DATA,PLAINTEXT:s$.PLAINTEXT,CDATA_SECTION:s$.CDATA_SECTION};function es(e){return e>=sI.LATIN_CAPITAL_A&&e<=sI.LATIN_CAPITAL_Z}function eo(e){return e>=sI.LATIN_SMALL_A&&e<=sI.LATIN_SMALL_Z||es(e)}function el(e){return eo(e)||e>=sI.DIGIT_0&&e<=sI.DIGIT_9}function ec(e){return e===sI.SPACE||e===sI.LINE_FEED||e===sI.TABULATION||e===sI.FORM_FEED}function eu(e){return ec(e)||e===sI.SOLIDUS||e===sI.GREATER_THAN_SIGN}class eh{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=s$.DATA,this.returnState=s$.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new W(t),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new J(X,(e,t)=>{this.preprocessor.pos=this.entityStartPos+t-1,this._flushCodePointConsumedAsCharacterReference(e)},t.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(sD.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:e=>{this._err(sD.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+e)},validateNumericCharacterReference:e=>{let t=function(e){if(e===sI.NULL)return sD.nullCharacterReference;if(e>1114111)return sD.characterReferenceOutsideUnicodeRange;if(K(e))return sD.surrogateCharacterReference;if(q(e))return sD.noncharacterCharacterReference;if(Y(e)||e===sI.CARRIAGE_RETURN)return sD.controlCharacterReference;return null}(e);t&&this._err(t,1)}}:void 0)}_err(e,t=0){var n,r;null==(r=(n=this.handler).onParseError)||r.call(n,this.preprocessor.getError(e,t))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;let e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t<e;t++)this.preprocessor.advance()}_consumeSequenceIfMatch(e,t){return!!this.preprocessor.startsWith(e,t)&&(this._advanceBy(e.length-1),!0)}_createStartTagToken(){this.currentToken={type:sO.START_TAG,tagName:"",tagID:sj.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:sO.END_TAG,tagName:"",tagID:sj.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){this.currentToken={type:sO.COMMENT,data:"",location:this.getCurrentLocation(e)}}_createDoctypeToken(e){this.currentToken={type:sO.DOCTYPE,name:e,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(e,t){this.currentCharacterToken={type:e,chars:t,location:this.currentLocation}}_createAttr(e){this.currentAttr={name:e,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var e,t;let n=this.currentToken;null===V(n,this.currentAttr.name)?(n.attrs.push(this.currentAttr),n.location&&this.currentLocation&&((null!=(e=(t=n.location).attrs)?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue())):this._err(sD.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(e){this._emitCurrentCharacterToken(e.location),this.currentToken=null,e.location&&(e.location.endLine=this.preprocessor.line,e.location.endCol=this.preprocessor.col+1,e.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){let e=this.currentToken;this.prepareToken(e),e.tagID=et(e.tagName),e.type===sO.START_TAG?(this.lastStartTagName=e.tagName,this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(sD.endTagWithAttributes),e.selfClosing&&this._err(sD.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case sO.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case sO.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case sO.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){let e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:sO.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken)if(this.currentCharacterToken.type===e){this.currentCharacterToken.chars+=t;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(e,t)}_emitCodePoint(e){let t=ec(e)?sO.WHITESPACE_CHARACTER:e===sI.NULL?sO.NULL_CHARACTER:sO.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(sO.CHARACTER,e)}_startCharacterReference(){this.returnState=this.state,this.state=s$.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?sP.Attribute:sP.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===s$.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===s$.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===s$.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case s$.DATA:this._stateData(e);break;case s$.RCDATA:this._stateRcdata(e);break;case s$.RAWTEXT:this._stateRawtext(e);break;case s$.SCRIPT_DATA:this._stateScriptData(e);break;case s$.PLAINTEXT:this._statePlaintext(e);break;case s$.TAG_OPEN:this._stateTagOpen(e);break;case s$.END_TAG_OPEN:this._stateEndTagOpen(e);break;case s$.TAG_NAME:this._stateTagName(e);break;case s$.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case s$.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case s$.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case s$.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case s$.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case s$.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case s$.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case s$.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case s$.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case s$.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case s$.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case s$.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case s$.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case s$.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case s$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case s$.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case s$.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case s$.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case s$.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case s$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case s$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case s$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case s$.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case s$.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case s$.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case s$.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case s$.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case s$.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case s$.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case s$.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case s$.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case s$.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case s$.BOGUS_COMMENT:this._stateBogusComment(e);break;case s$.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case s$.COMMENT_START:this._stateCommentStart(e);break;case s$.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case s$.COMMENT:this._stateComment(e);break;case s$.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case s$.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case s$.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case s$.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case s$.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case s$.COMMENT_END:this._stateCommentEnd(e);break;case s$.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case s$.DOCTYPE:this._stateDoctype(e);break;case s$.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case s$.DOCTYPE_NAME:this._stateDoctypeName(e);break;case s$.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case s$.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case s$.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case s$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case s$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case s$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case s$.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case s$.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case s$.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case s$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case s$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case s$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case s$.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case s$.CDATA_SECTION:this._stateCdataSection(e);break;case s$.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case s$.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case s$.CHARACTER_REFERENCE:this._stateCharacterReference();break;case s$.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;default:throw Error("Unknown state")}}_stateData(e){switch(e){case sI.LESS_THAN_SIGN:this.state=s$.TAG_OPEN;break;case sI.AMPERSAND:this._startCharacterReference();break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitCodePoint(e);break;case sI.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case sI.AMPERSAND:this._startCharacterReference();break;case sI.LESS_THAN_SIGN:this.state=s$.RCDATA_LESS_THAN_SIGN;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitChars("�");break;case sI.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case sI.LESS_THAN_SIGN:this.state=s$.RAWTEXT_LESS_THAN_SIGN;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitChars("�");break;case sI.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_LESS_THAN_SIGN;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitChars("�");break;case sI.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitChars("�");break;case sI.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(eo(e))this._createStartTagToken(),this.state=s$.TAG_NAME,this._stateTagName(e);else switch(e){case sI.EXCLAMATION_MARK:this.state=s$.MARKUP_DECLARATION_OPEN;break;case sI.SOLIDUS:this.state=s$.END_TAG_OPEN;break;case sI.QUESTION_MARK:this._err(sD.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=s$.BOGUS_COMMENT,this._stateBogusComment(e);break;case sI.EOF:this._err(sD.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(sD.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=s$.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(eo(e))this._createEndTagToken(),this.state=s$.TAG_NAME,this._stateTagName(e);else switch(e){case sI.GREATER_THAN_SIGN:this._err(sD.missingEndTagName),this.state=s$.DATA;break;case sI.EOF:this._err(sD.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break;default:this._err(sD.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=s$.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this.state=s$.BEFORE_ATTRIBUTE_NAME;break;case sI.SOLIDUS:this.state=s$.SELF_CLOSING_START_TAG;break;case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentTagToken();break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.tagName+="�";break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(es(e)?e+32:e)}}_stateRcdataLessThanSign(e){e===sI.SOLIDUS?this.state=s$.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=s$.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){eo(e)?(this.state=s$.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars("</"),this.state=s$.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=s$.BEFORE_ATTRIBUTE_NAME,!1;case sI.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=s$.SELF_CLOSING_START_TAG,!1;case sI.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=s$.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=s$.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===sI.SOLIDUS?this.state=s$.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=s$.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){eo(e)?(this.state=s$.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars("</"),this.state=s$.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=s$.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case sI.SOLIDUS:this.state=s$.SCRIPT_DATA_END_TAG_OPEN;break;case sI.EXCLAMATION_MARK:this.state=s$.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:this._emitChars("<"),this.state=s$.SCRIPT_DATA,this._stateScriptData(e)}}_stateScriptDataEndTagOpen(e){eo(e)?(this.state=s$.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),this.state=s$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=s$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStart(e){e===sI.HYPHEN_MINUS?(this.state=s$.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=s$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscapeStartDash(e){e===sI.HYPHEN_MINUS?(this.state=s$.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=s$.SCRIPT_DATA,this._stateScriptData(e))}_stateScriptDataEscaped(e){switch(e){case sI.HYPHEN_MINUS:this.state=s$.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break;case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitChars("�");break;case sI.EOF:this._err(sD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){case sI.HYPHEN_MINUS:this.state=s$.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break;case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.state=s$.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case sI.EOF:this._err(sD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=s$.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedDashDash(e){switch(e){case sI.HYPHEN_MINUS:this._emitChars("-");break;case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break;case sI.GREATER_THAN_SIGN:this.state=s$.SCRIPT_DATA,this._emitChars(">");break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.state=s$.SCRIPT_DATA_ESCAPED,this._emitChars("�");break;case sI.EOF:this._err(sD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=s$.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===sI.SOLIDUS?this.state=s$.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:eo(e)?(this._emitChars("<"),this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=s$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){eo(e)?(this.state=s$.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),this.state=s$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=s$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(G,!1)&&eu(this.preprocessor.peek(G.length))){this._emitCodePoint(e);for(let e=0;e<G.length;e++)this._emitCodePoint(this._consume());this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=s$.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case sI.HYPHEN_MINUS:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._emitChars("�");break;case sI.EOF:this._err(sD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case sI.HYPHEN_MINUS:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case sI.EOF:this._err(sD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case sI.HYPHEN_MINUS:this._emitChars("-");break;case sI.LESS_THAN_SIGN:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case sI.GREATER_THAN_SIGN:this.state=s$.SCRIPT_DATA,this._emitChars(">");break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars("�");break;case sI.EOF:this._err(sD.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===sI.SOLIDUS?(this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(G,!1)&&eu(this.preprocessor.peek(G.length))){this._emitCodePoint(e);for(let e=0;e<G.length;e++)this._emitCodePoint(this._consume());this.state=s$.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=s$.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.SOLIDUS:case sI.GREATER_THAN_SIGN:case sI.EOF:this.state=s$.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case sI.EQUALS_SIGN:this._err(sD.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=s$.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=s$.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:case sI.SOLIDUS:case sI.GREATER_THAN_SIGN:case sI.EOF:this._leaveAttrName(),this.state=s$.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case sI.EQUALS_SIGN:this._leaveAttrName(),this.state=s$.BEFORE_ATTRIBUTE_VALUE;break;case sI.QUOTATION_MARK:case sI.APOSTROPHE:case sI.LESS_THAN_SIGN:this._err(sD.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.currentAttr.name+="�";break;default:this.currentAttr.name+=String.fromCodePoint(es(e)?e+32:e)}}_stateAfterAttributeName(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.SOLIDUS:this.state=s$.SELF_CLOSING_START_TAG;break;case sI.EQUALS_SIGN:this.state=s$.BEFORE_ATTRIBUTE_VALUE;break;case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentTagToken();break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=s$.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.QUOTATION_MARK:this.state=s$.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case sI.APOSTROPHE:this.state=s$.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case sI.GREATER_THAN_SIGN:this._err(sD.missingAttributeValue),this.state=s$.DATA,this.emitCurrentTagToken();break;default:this.state=s$.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case sI.QUOTATION_MARK:this.state=s$.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case sI.AMPERSAND:this._startCharacterReference();break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.currentAttr.value+="�";break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case sI.APOSTROPHE:this.state=s$.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case sI.AMPERSAND:this._startCharacterReference();break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.currentAttr.value+="�";break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this._leaveAttrValue(),this.state=s$.BEFORE_ATTRIBUTE_NAME;break;case sI.AMPERSAND:this._startCharacterReference();break;case sI.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=s$.DATA,this.emitCurrentTagToken();break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this.currentAttr.value+="�";break;case sI.QUOTATION_MARK:case sI.APOSTROPHE:case sI.LESS_THAN_SIGN:case sI.EQUALS_SIGN:case sI.GRAVE_ACCENT:this._err(sD.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this._leaveAttrValue(),this.state=s$.BEFORE_ATTRIBUTE_NAME;break;case sI.SOLIDUS:this._leaveAttrValue(),this.state=s$.SELF_CLOSING_START_TAG;break;case sI.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=s$.DATA,this.emitCurrentTagToken();break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:this._err(sD.missingWhitespaceBetweenAttributes),this.state=s$.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case sI.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=s$.DATA,this.emitCurrentTagToken();break;case sI.EOF:this._err(sD.eofInTag),this._emitEOFToken();break;default:this._err(sD.unexpectedSolidusInTag),this.state=s$.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){let t=this.currentToken;switch(e){case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentComment(t);break;case sI.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.data+="�";break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=s$.COMMENT_START):this._consumeSequenceIfMatch(z,!1)?(this.currentLocation=this.getCurrentLocation(z.length+1),this.state=s$.DOCTYPE):this._consumeSequenceIfMatch($,!0)?this.inForeignNode?this.state=s$.CDATA_SECTION:(this._err(sD.cdataInHtmlContent),this._createCommentToken($.length+1),this.currentToken.data="[CDATA[",this.state=s$.BOGUS_COMMENT):this._ensureHibernation()||(this._err(sD.incorrectlyOpenedComment),this._createCommentToken(2),this.state=s$.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case sI.HYPHEN_MINUS:this.state=s$.COMMENT_START_DASH;break;case sI.GREATER_THAN_SIGN:{this._err(sD.abruptClosingOfEmptyComment),this.state=s$.DATA;let e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=s$.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){let t=this.currentToken;switch(e){case sI.HYPHEN_MINUS:this.state=s$.COMMENT_END;break;case sI.GREATER_THAN_SIGN:this._err(sD.abruptClosingOfEmptyComment),this.state=s$.DATA,this.emitCurrentComment(t);break;case sI.EOF:this._err(sD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=s$.COMMENT,this._stateComment(e)}}_stateComment(e){let t=this.currentToken;switch(e){case sI.HYPHEN_MINUS:this.state=s$.COMMENT_END_DASH;break;case sI.LESS_THAN_SIGN:t.data+="<",this.state=s$.COMMENT_LESS_THAN_SIGN;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.data+="�";break;case sI.EOF:this._err(sD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){let t=this.currentToken;switch(e){case sI.EXCLAMATION_MARK:t.data+="!",this.state=s$.COMMENT_LESS_THAN_SIGN_BANG;break;case sI.LESS_THAN_SIGN:t.data+="<";break;default:this.state=s$.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===sI.HYPHEN_MINUS?this.state=s$.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=s$.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===sI.HYPHEN_MINUS?this.state=s$.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=s$.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==sI.GREATER_THAN_SIGN&&e!==sI.EOF&&this._err(sD.nestedComment),this.state=s$.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){let t=this.currentToken;switch(e){case sI.HYPHEN_MINUS:this.state=s$.COMMENT_END;break;case sI.EOF:this._err(sD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=s$.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){let t=this.currentToken;switch(e){case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentComment(t);break;case sI.EXCLAMATION_MARK:this.state=s$.COMMENT_END_BANG;break;case sI.HYPHEN_MINUS:t.data+="-";break;case sI.EOF:this._err(sD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=s$.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){let t=this.currentToken;switch(e){case sI.HYPHEN_MINUS:t.data+="--!",this.state=s$.COMMENT_END_DASH;break;case sI.GREATER_THAN_SIGN:this._err(sD.incorrectlyClosedComment),this.state=s$.DATA,this.emitCurrentComment(t);break;case sI.EOF:this._err(sD.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=s$.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this.state=s$.BEFORE_DOCTYPE_NAME;break;case sI.GREATER_THAN_SIGN:this.state=s$.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case sI.EOF:{this._err(sD.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(sD.missingWhitespaceBeforeDoctypeName),this.state=s$.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(es(e))this._createDoctypeToken(String.fromCharCode(e+32)),this.state=s$.DOCTYPE_NAME;else switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.NULL:this._err(sD.unexpectedNullCharacter),this._createDoctypeToken("�"),this.state=s$.DOCTYPE_NAME;break;case sI.GREATER_THAN_SIGN:{this._err(sD.missingDoctypeName),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=s$.DATA;break}case sI.EOF:{this._err(sD.eofInDoctype),this._createDoctypeToken(null);let e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=s$.DOCTYPE_NAME}}_stateDoctypeName(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this.state=s$.AFTER_DOCTYPE_NAME;break;case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.name+="�";break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(es(e)?e+32:e)}}_stateAfterDoctypeName(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=s$.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=s$.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(sD.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this.state=s$.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case sI.QUOTATION_MARK:this._err(sD.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=s$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case sI.APOSTROPHE:this._err(sD.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=s$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case sI.GREATER_THAN_SIGN:this._err(sD.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.QUOTATION_MARK:t.publicId="",this.state=s$.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case sI.APOSTROPHE:t.publicId="",this.state=s$.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case sI.GREATER_THAN_SIGN:this._err(sD.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case sI.QUOTATION_MARK:this.state=s$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.publicId+="�";break;case sI.GREATER_THAN_SIGN:this._err(sD.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case sI.APOSTROPHE:this.state=s$.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.publicId+="�";break;case sI.GREATER_THAN_SIGN:this._err(sD.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this.state=s$.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case sI.GREATER_THAN_SIGN:this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.QUOTATION_MARK:this._err(sD.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case sI.APOSTROPHE:this._err(sD.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.QUOTATION_MARK:t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case sI.APOSTROPHE:t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:this.state=s$.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case sI.QUOTATION_MARK:this._err(sD.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case sI.APOSTROPHE:this._err(sD.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case sI.GREATER_THAN_SIGN:this._err(sD.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.QUOTATION_MARK:t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case sI.APOSTROPHE:t.systemId="",this.state=s$.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case sI.GREATER_THAN_SIGN:this._err(sD.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=s$.DATA,this.emitCurrentDoctype(t);break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){let t=this.currentToken;switch(e){case sI.QUOTATION_MARK:this.state=s$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.systemId+="�";break;case sI.GREATER_THAN_SIGN:this._err(sD.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){let t=this.currentToken;switch(e){case sI.APOSTROPHE:this.state=s$.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case sI.NULL:this._err(sD.unexpectedNullCharacter),t.systemId+="�";break;case sI.GREATER_THAN_SIGN:this._err(sD.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){let t=this.currentToken;switch(e){case sI.SPACE:case sI.LINE_FEED:case sI.TABULATION:case sI.FORM_FEED:break;case sI.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.EOF:this._err(sD.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(sD.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=s$.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){let t=this.currentToken;switch(e){case sI.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=s$.DATA;break;case sI.NULL:this._err(sD.unexpectedNullCharacter);break;case sI.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case sI.RIGHT_SQUARE_BRACKET:this.state=s$.CDATA_SECTION_BRACKET;break;case sI.EOF:this._err(sD.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===sI.RIGHT_SQUARE_BRACKET?this.state=s$.CDATA_SECTION_END:(this._emitChars("]"),this.state=s$.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case sI.GREATER_THAN_SIGN:this.state=s$.DATA;break;case sI.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=s$.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(){let e=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(e<0)if(this.preprocessor.lastChunkWritten)e=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}0===e?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(sI.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&el(this.preprocessor.peek(1))?s$.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(e){el(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===sI.SEMICOLON&&this._err(sD.unknownNamedCharacterReference),this.state=this.returnState,this._callState(e))}}let ep=new Set([sj.DD,sj.DT,sj.LI,sj.OPTGROUP,sj.OPTION,sj.P,sj.RB,sj.RP,sj.RT,sj.RTC]),ed=new Set([...ep,sj.CAPTION,sj.COLGROUP,sj.TBODY,sj.TD,sj.TFOOT,sj.TH,sj.THEAD,sj.TR]),ef=new Set([sj.APPLET,sj.CAPTION,sj.HTML,sj.MARQUEE,sj.OBJECT,sj.TABLE,sj.TD,sj.TEMPLATE,sj.TH]),em=new Set([...ef,sj.OL,sj.UL]),eg=new Set([...ef,sj.BUTTON]),ey=new Set([sj.ANNOTATION_XML,sj.MI,sj.MN,sj.MO,sj.MS,sj.MTEXT]),eb=new Set([sj.DESC,sj.FOREIGN_OBJECT,sj.TITLE]),e_=new Set([sj.TR,sj.TEMPLATE,sj.HTML]),ek=new Set([sj.TBODY,sj.TFOOT,sj.THEAD,sj.TEMPLATE,sj.HTML]),eE=new Set([sj.TABLE,sj.TEMPLATE,sj.HTML]),eT=new Set([sj.TD,sj.TH]);class ex{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=sj.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===sj.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===sF.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){let e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){let n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){let r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.current&&void 0!==this.currentTagId&&this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do t=this.tagIDs.lastIndexOf(e,t-1);while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==sF.HTML);this.shortenToLength(Math.max(t,0))}shortenToLength(e){for(;this.stackTop>=e;){let t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop<e)}}popUntilElementPopped(e){let t=this._indexOf(e);this.shortenToLength(Math.max(t,0))}popUntilPopped(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(ei,sF.HTML)}popUntilTableCellPopped(){this.popUntilPopped(eT,sF.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(e,t){for(let n=this.stackTop;n>=0;n--)if(e.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return -1}clearBackTo(e,t){let n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(eE,sF.HTML)}clearBackToTableBodyContext(){this.clearBackTo(ek,sF.HTML)}clearBackToTableRowContext(){this.clearBackTo(e_,sF.HTML)}remove(e){let t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===sj.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){let t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===sj.HTML}hasInDynamicScope(e,t){for(let n=this.stackTop;n>=0;n--){let r=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case sF.HTML:if(r===e)return!0;if(t.has(r))return!1;break;case sF.SVG:if(eb.has(r))return!1;break;case sF.MATHML:if(ey.has(r))return!1}}return!0}hasInScope(e){return this.hasInDynamicScope(e,ef)}hasInListItemScope(e){return this.hasInDynamicScope(e,em)}hasInButtonScope(e){return this.hasInDynamicScope(e,eg)}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){let t=this.tagIDs[e];switch(this.treeAdapter.getNamespaceURI(this.items[e])){case sF.HTML:if(ei.has(t))return!0;if(ef.has(t))return!1;break;case sF.SVG:if(eb.has(t))return!1;break;case sF.MATHML:if(ey.has(t))return!1}}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===sF.HTML)switch(this.tagIDs[t]){case e:return!0;case sj.TABLE:case sj.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--)if(this.treeAdapter.getNamespaceURI(this.items[e])===sF.HTML)switch(this.tagIDs[e]){case sj.TBODY:case sj.THEAD:case sj.TFOOT:return!0;case sj.TABLE:case sj.HTML:return!1}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===sF.HTML)switch(this.tagIDs[t]){case e:return!0;case sj.OPTION:case sj.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;void 0!==this.currentTagId&&ep.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;void 0!==this.currentTagId&&ed.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;void 0!==this.currentTagId&&this.currentTagId!==e&&ed.has(this.currentTagId);)this.pop()}}(sS=sz||(sz={}))[sS.Marker=0]="Marker",sS[sS.Element=1]="Element";let eA={type:sz.Marker};class ew{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){let n=[],r=t.length,i=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e);for(let e=0;e<this.entries.length;e++){let t=this.entries[e];if(t.type===sz.Marker)break;let{element:s}=t;if(this.treeAdapter.getTagName(s)===i&&this.treeAdapter.getNamespaceURI(s)===a){let t=this.treeAdapter.getAttrList(s);t.length===r&&n.push({idx:e,attrs:t})}}return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return;let t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t);if(n.length<3)return;let r=new Map(t.map(e=>[e.name,e.value])),i=0;for(let e=0;e<n.length;e++){let t=n[e];t.attrs.every(e=>r.get(e.name)===e.value)&&(i+=1)>=3&&this.entries.splice(t.idx,1)}}insertMarker(){this.entries.unshift(eA)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:sz.Element,element:e,token:t})}insertElementAfterBookmark(e,t){let n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:sz.Element,element:e,token:t})}removeEntry(e){let t=this.entries.indexOf(e);-1!==t&&this.entries.splice(t,1)}clearToLastMarker(){let e=this.entries.indexOf(eA);-1===e?this.entries.length=0:this.entries.splice(0,e+1)}getElementEntryInScopeWithTagName(e){let t=this.entries.find(t=>t.type===sz.Marker||this.treeAdapter.getTagName(t.element)===e);return t&&t.type===sz.Element?t:null}getElementEntry(e){return this.entries.find(t=>t.type===sz.Element&&t.element===e)}}let ev={createDocument:()=>({nodeName:"#document",mode:sH.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),createTextNode:e=>({nodeName:"#text",value:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){let r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){let i=e.childNodes.find(e=>"#documentType"===e.nodeName);i?(i.name=t,i.publicId=n,i.systemId=r):ev.appendChild(e,{nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null})},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){let t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){let n=e.childNodes[e.childNodes.length-1];if(ev.isTextNode(n)){n.value+=t;return}}ev.appendChild(e,ev.createTextNode(t))},insertTextBefore(e,t,n){let r=e.childNodes[e.childNodes.indexOf(n)-1];r&&ev.isTextNode(r)?r.value+=t:ev.insertBefore(e,ev.createTextNode(t),n)},adoptAttributes(e,t){let n=new Set(e.attrs.map(e=>e.name));for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},getFirstChild:e=>e.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},eS="html",eC=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],eN=[...eC,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],eI=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),eD=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],eO=[...eD,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function eM(e,t){return t.some(t=>e.startsWith(t))}let eL=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),eR=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:sF.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:sF.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:sF.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:sF.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:sF.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:sF.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:sF.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:sF.XML}],["xml:space",{prefix:"xml",name:"space",namespace:sF.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:sF.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:sF.XMLNS}]]),eP=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),eF=new Set([sj.B,sj.BIG,sj.BLOCKQUOTE,sj.BODY,sj.BR,sj.CENTER,sj.CODE,sj.DD,sj.DIV,sj.DL,sj.DT,sj.EM,sj.EMBED,sj.H1,sj.H2,sj.H3,sj.H4,sj.H5,sj.H6,sj.HEAD,sj.HR,sj.I,sj.IMG,sj.LI,sj.LISTING,sj.MENU,sj.META,sj.NOBR,sj.OL,sj.P,sj.PRE,sj.RUBY,sj.S,sj.SMALL,sj.SPAN,sj.STRONG,sj.STRIKE,sj.SUB,sj.SUP,sj.TABLE,sj.TT,sj.U,sj.UL,sj.VAR]);function eB(e){for(let t=0;t<e.attrs.length;t++)if("definitionurl"===e.attrs[t].name){e.attrs[t].name="definitionURL";break}}function eH(e){for(let t=0;t<e.attrs.length;t++){let n=eL.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function eU(e){for(let t=0;t<e.attrs.length;t++){let n=eR.get(e.attrs[t].name);n&&(e.attrs[t].prefix=n.prefix,e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}(sC=sG||(sG={}))[sC.INITIAL=0]="INITIAL",sC[sC.BEFORE_HTML=1]="BEFORE_HTML",sC[sC.BEFORE_HEAD=2]="BEFORE_HEAD",sC[sC.IN_HEAD=3]="IN_HEAD",sC[sC.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",sC[sC.AFTER_HEAD=5]="AFTER_HEAD",sC[sC.IN_BODY=6]="IN_BODY",sC[sC.TEXT=7]="TEXT",sC[sC.IN_TABLE=8]="IN_TABLE",sC[sC.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",sC[sC.IN_CAPTION=10]="IN_CAPTION",sC[sC.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",sC[sC.IN_TABLE_BODY=12]="IN_TABLE_BODY",sC[sC.IN_ROW=13]="IN_ROW",sC[sC.IN_CELL=14]="IN_CELL",sC[sC.IN_SELECT=15]="IN_SELECT",sC[sC.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",sC[sC.IN_TEMPLATE=17]="IN_TEMPLATE",sC[sC.AFTER_BODY=18]="AFTER_BODY",sC[sC.IN_FRAMESET=19]="IN_FRAMESET",sC[sC.AFTER_FRAMESET=20]="AFTER_FRAMESET",sC[sC.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",sC[sC.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";let ej={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},e$=new Set([sj.TABLE,sj.TBODY,sj.TFOOT,sj.THEAD,sj.TR]),ez={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:ev,onParseError:null};class eG{constructor(e,t,n=null,r=null){this.fragmentContext=n,this.scriptHandler=r,this.currentToken=null,this.stopped=!1,this.insertionMode=sG.INITIAL,this.originalInsertionMode=sG.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options={...ez,...e},this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=null!=t?t:this.treeAdapter.createDocument(),this.tokenizer=new eh(this.options,this),this.activeFormattingElements=new ew(this.treeAdapter),this.fragmentContextID=n?et(this.treeAdapter.getTagName(n)):sj.UNKNOWN,this._setContextModes(null!=n?n:this.document,this.fragmentContextID),this.openElements=new ex(this.document,this.treeAdapter,this)}static parse(e,t){let n=new this(t);return n.tokenizer.write(e,!0),n.document}static getFragmentParser(e,t){let n={...ez,...t};null!=e||(e=n.treeAdapter.createElement(sU.TEMPLATE,sF.HTML,[]));let r=n.treeAdapter.createElement("documentmock",sF.HTML,[]),i=new this(n,r,e);return i.fragmentContextID===sj.TEMPLATE&&i.tmplInsertionModeStack.unshift(sG.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){let e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment();return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return;let i=null!=(r=e.location)?r:ej,a={code:t,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(a)}onItemPush(e,t,n){var r,i;null==(i=(r=this.treeAdapter).onItemPush)||i.call(r,e),n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null==(r=(n=this.treeAdapter).onItemPop)||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):{current:e,currentTagId:t}=this.openElements,this._setContextModes(e,t)}}_setContextModes(e,t){let n=e===this.document||e&&this.treeAdapter.getNamespaceURI(e)===sF.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&void 0!==e&&void 0!==t&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,sF.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=sG.TEXT}switchToPlaintextParsing(){this.insertionMode=sG.TEXT,this.originalInsertionMode=sG.IN_BODY,this.tokenizer.state=ea.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===sU.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===sF.HTML)switch(this.fragmentContextID){case sj.TITLE:case sj.TEXTAREA:this.tokenizer.state=ea.RCDATA;break;case sj.STYLE:case sj.XMP:case sj.IFRAME:case sj.NOEMBED:case sj.NOFRAMES:case sj.NOSCRIPT:this.tokenizer.state=ea.RAWTEXT;break;case sj.SCRIPT:this.tokenizer.state=ea.SCRIPT_DATA;break;case sj.PLAINTEXT:this.tokenizer.state=ea.PLAINTEXT}}_setDocumentType(e){let t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){let t=this.treeAdapter.getChildNodes(this.document).find(e=>this.treeAdapter.isDocumentTypeNode(e));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){let n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{let t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(null!=t?t:this.document,e)}}_appendElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){let n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){let n=this.treeAdapter.createElement(e,sF.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){let t=this.treeAdapter.createElement(e.tagName,sF.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){let e=this.treeAdapter.createElement(sU.HTML,sF.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,sj.HTML)}_appendCommentNode(e,t){let n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?({parent:t,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;let r=this.treeAdapter.getChildNodes(t),i=n?r.lastIndexOf(n):r.length,a=r[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(a)){let{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){let n=t.location,r=this.treeAdapter.getTagName(e),i=t.type===sO.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,i)}}shouldProcessStartTagTokenInForeignContent(e){let t,n;return!!this.currentNotInHTML&&(0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):{current:t,currentTagId:n}=this.openElements,(e.tagID!==sj.SVG||this.treeAdapter.getTagName(t)!==sU.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==sF.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===sj.MGLYPH||e.tagID===sj.MALIGNMARK)&&void 0!==n&&!this._isIntegrationPoint(n,t,sF.HTML)))}_processToken(e){switch(e.type){case sO.CHARACTER:this.onCharacter(e);break;case sO.NULL_CHARACTER:this.onNullCharacter(e);break;case sO.COMMENT:this.onComment(e);break;case sO.DOCTYPE:this.onDoctype(e);break;case sO.START_TAG:this._processStartTag(e);break;case sO.END_TAG:this.onEndTag(e);break;case sO.EOF:this.onEof(e);break;case sO.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){let r=this.treeAdapter.getNamespaceURI(t),i=this.treeAdapter.getAttrList(t);return(!n||n===sF.HTML)&&function(e,t,n){if(t===sF.MATHML&&e===sj.ANNOTATION_XML){for(let e=0;e<n.length;e++)if(n[e].name===sB.ENCODING){let t=n[e].value.toLowerCase();return"text/html"===t||"application/xhtml+xml"===t}}return t===sF.SVG&&(e===sj.FOREIGN_OBJECT||e===sj.DESC||e===sj.TITLE)}(e,r,i)||(!n||n===sF.MATHML)&&r===sF.MATHML&&(e===sj.MI||e===sj.MO||e===sj.MN||e===sj.MS||e===sj.MTEXT)}_reconstructActiveFormattingElements(){let e=this.activeFormattingElements.entries.length;if(e){let t=this.activeFormattingElements.entries.findIndex(e=>e.type===sz.Marker||this.openElements.contains(e.element)),n=-1===t?e-1:t-1;for(let e=n;e>=0;e--){let t=this.activeFormattingElements.entries[e];this._insertElement(t.token,this.treeAdapter.getNamespaceURI(t.element)),t.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=sG.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(sj.P),this.openElements.popUntilTagNamePopped(sj.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case sj.TR:this.insertionMode=sG.IN_ROW;return;case sj.TBODY:case sj.THEAD:case sj.TFOOT:this.insertionMode=sG.IN_TABLE_BODY;return;case sj.CAPTION:this.insertionMode=sG.IN_CAPTION;return;case sj.COLGROUP:this.insertionMode=sG.IN_COLUMN_GROUP;return;case sj.TABLE:this.insertionMode=sG.IN_TABLE;return;case sj.BODY:this.insertionMode=sG.IN_BODY;return;case sj.FRAMESET:this.insertionMode=sG.IN_FRAMESET;return;case sj.SELECT:return void this._resetInsertionModeForSelect(e);case sj.TEMPLATE:this.insertionMode=this.tmplInsertionModeStack[0];return;case sj.HTML:this.insertionMode=this.headElement?sG.AFTER_HEAD:sG.BEFORE_HEAD;return;case sj.TD:case sj.TH:if(e>0){this.insertionMode=sG.IN_CELL;return}break;case sj.HEAD:if(e>0){this.insertionMode=sG.IN_HEAD;return}}this.insertionMode=sG.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){let e=this.openElements.tagIDs[t];if(e===sj.TEMPLATE)break;if(e===sj.TABLE){this.insertionMode=sG.IN_SELECT_IN_TABLE;return}}this.insertionMode=sG.IN_SELECT}_isElementCausesFosterParenting(e){return e$.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&void 0!==this.openElements.currentTagId&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){let t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case sj.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===sF.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case sj.TABLE:{let n=this.treeAdapter.getParentNode(t);if(n)return{parent:n,beforeElement:t};return{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){let t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){return er[this.treeAdapter.getNamespaceURI(e)].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,n=e,t._insertCharacters(n),t.framesetOk=!1)}switch(this.insertionMode){case sG.INITIAL:eW(this,e);break;case sG.BEFORE_HTML:eV(this,e);break;case sG.BEFORE_HEAD:eX(this,e);break;case sG.IN_HEAD:eJ(this,e);break;case sG.IN_HEAD_NO_SCRIPT:e0(this,e);break;case sG.AFTER_HEAD:e1(this,e);break;case sG.IN_BODY:case sG.IN_CAPTION:case sG.IN_CELL:case sG.IN_TEMPLATE:e5(this,e);break;case sG.TEXT:case sG.IN_SELECT:case sG.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case sG.IN_TABLE:case sG.IN_TABLE_BODY:case sG.IN_ROW:tr(this,e);break;case sG.IN_TABLE_TEXT:tl(this,e);break;case sG.IN_COLUMN_GROUP:tp(this,e);break;case sG.AFTER_BODY:tE(this,e);break;case sG.AFTER_AFTER_BODY:tT(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){var t,n;return void(t=this,(n=e).chars="�",t._insertCharacters(n))}switch(this.insertionMode){case sG.INITIAL:eW(this,e);break;case sG.BEFORE_HTML:eV(this,e);break;case sG.BEFORE_HEAD:eX(this,e);break;case sG.IN_HEAD:eJ(this,e);break;case sG.IN_HEAD_NO_SCRIPT:e0(this,e);break;case sG.AFTER_HEAD:e1(this,e);break;case sG.TEXT:this._insertCharacters(e);break;case sG.IN_TABLE:case sG.IN_TABLE_BODY:case sG.IN_ROW:tr(this,e);break;case sG.IN_COLUMN_GROUP:tp(this,e);break;case sG.AFTER_BODY:tE(this,e);break;case sG.AFTER_AFTER_BODY:tT(this,e)}}onComment(e){var t,n,r,i;if(this.skipNextNewLine=!1,this.currentNotInHTML)return void eY(this,e);switch(this.insertionMode){case sG.INITIAL:case sG.BEFORE_HTML:case sG.BEFORE_HEAD:case sG.IN_HEAD:case sG.IN_HEAD_NO_SCRIPT:case sG.AFTER_HEAD:case sG.IN_BODY:case sG.IN_TABLE:case sG.IN_CAPTION:case sG.IN_COLUMN_GROUP:case sG.IN_TABLE_BODY:case sG.IN_ROW:case sG.IN_CELL:case sG.IN_SELECT:case sG.IN_SELECT_IN_TABLE:case sG.IN_TEMPLATE:case sG.IN_FRAMESET:case sG.AFTER_FRAMESET:eY(this,e);break;case sG.IN_TABLE_TEXT:tc(this,e);break;case sG.AFTER_BODY:t=this,n=e,t._appendCommentNode(n,t.openElements.items[0]);break;case sG.AFTER_AFTER_BODY:case sG.AFTER_AFTER_FRAMESET:r=this,i=e,r._appendCommentNode(i,r.document)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case sG.INITIAL:!function(e,t){e._setDocumentType(t);let n=t.forceQuirks?sH.QUIRKS:function(e){if(e.name!==eS)return sH.QUIRKS;let{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return sH.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),eI.has(n))return sH.QUIRKS;let e=null===t?eN:eC;if(eM(n,e))return sH.QUIRKS;if(eM(n,e=null===t?eD:eO))return sH.LIMITED_QUIRKS}return sH.NO_QUIRKS}(t);(t.name!==eS||null!==t.publicId||null!==t.systemId&&"about:legacy-compat"!==t.systemId)&&e._err(t,sD.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=sG.BEFORE_HTML}(this,e);break;case sG.BEFORE_HEAD:case sG.IN_HEAD:case sG.IN_HEAD_NO_SCRIPT:case sG.AFTER_HEAD:this._err(e,sD.misplacedDoctype);break;case sG.IN_TABLE_TEXT:tc(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,sD.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){let n;if((n=t.tagID)===sj.FONT&&t.attrs.some(({name:e})=>e===sB.COLOR||e===sB.SIZE||e===sB.FACE)||eF.has(n))tx(e),e._startTagOutsideForeignContent(t);else{let n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);if(r===sF.MATHML)eB(t);else if(r===sF.SVG){let e;null!=(e=eP.get(t.tagName))&&(t.tagName=e,t.tagID=et(t.tagName)),eH(t)}eU(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case sG.INITIAL:eW(this,e);break;case sG.BEFORE_HTML:t=this,(n=e).tagID===sj.HTML?(t._insertElement(n,sF.HTML),t.insertionMode=sG.BEFORE_HEAD):eV(t,n);break;case sG.BEFORE_HEAD:var t,n,r,i,a,s,o,l,c,u,h,p,d=this,f=e;switch(f.tagID){case sj.HTML:e7(d,f);break;case sj.HEAD:d._insertElement(f,sF.HTML),d.headElement=d.openElements.current,d.insertionMode=sG.IN_HEAD;break;default:eX(d,f)}break;case sG.IN_HEAD:eQ(this,e);break;case sG.IN_HEAD_NO_SCRIPT:var m=this,g=e;switch(g.tagID){case sj.HTML:e7(m,g);break;case sj.BASEFONT:case sj.BGSOUND:case sj.HEAD:case sj.LINK:case sj.META:case sj.NOFRAMES:case sj.STYLE:eQ(m,g);break;case sj.NOSCRIPT:m._err(g,sD.nestedNoscriptInHead);break;default:e0(m,g)}break;case sG.AFTER_HEAD:var y=this,b=e;switch(b.tagID){case sj.HTML:e7(y,b);break;case sj.BODY:y._insertElement(b,sF.HTML),y.framesetOk=!1,y.insertionMode=sG.IN_BODY;break;case sj.FRAMESET:y._insertElement(b,sF.HTML),y.insertionMode=sG.IN_FRAMESET;break;case sj.BASE:case sj.BASEFONT:case sj.BGSOUND:case sj.LINK:case sj.META:case sj.NOFRAMES:case sj.SCRIPT:case sj.STYLE:case sj.TEMPLATE:case sj.TITLE:y._err(b,sD.abandonedHeadElementChild),y.openElements.push(y.headElement,sj.HEAD),eQ(y,b),y.openElements.remove(y.headElement);break;case sj.HEAD:y._err(b,sD.misplacedStartTagForHeadElement);break;default:e1(y,b)}break;case sG.IN_BODY:e7(this,e);break;case sG.IN_TABLE:ti(this,e);break;case sG.IN_TABLE_TEXT:tc(this,e);break;case sG.IN_CAPTION:let _;r=this,_=(i=e).tagID,tu.has(_)?r.openElements.hasInTableScope(sj.CAPTION)&&(r.openElements.generateImpliedEndTags(),r.openElements.popUntilTagNamePopped(sj.CAPTION),r.activeFormattingElements.clearToLastMarker(),r.insertionMode=sG.IN_TABLE,ti(r,i)):e7(r,i);break;case sG.IN_COLUMN_GROUP:th(this,e);break;case sG.IN_TABLE_BODY:td(this,e);break;case sG.IN_ROW:tm(this,e);break;case sG.IN_CELL:let k;a=this,k=(s=e).tagID,tu.has(k)?(a.openElements.hasInTableScope(sj.TD)||a.openElements.hasInTableScope(sj.TH))&&(a._closeTableCell(),tm(a,s)):e7(a,s);break;case sG.IN_SELECT:ty(this,e);break;case sG.IN_SELECT_IN_TABLE:let E;o=this,(E=(l=e).tagID)===sj.CAPTION||E===sj.TABLE||E===sj.TBODY||E===sj.TFOOT||E===sj.THEAD||E===sj.TR||E===sj.TD||E===sj.TH?(o.openElements.popUntilTagNamePopped(sj.SELECT),o._resetInsertionMode(),o._processStartTag(l)):ty(o,l);break;case sG.IN_TEMPLATE:var T=this,x=e;switch(x.tagID){case sj.BASE:case sj.BASEFONT:case sj.BGSOUND:case sj.LINK:case sj.META:case sj.NOFRAMES:case sj.SCRIPT:case sj.STYLE:case sj.TEMPLATE:case sj.TITLE:eQ(T,x);break;case sj.CAPTION:case sj.COLGROUP:case sj.TBODY:case sj.TFOOT:case sj.THEAD:T.tmplInsertionModeStack[0]=sG.IN_TABLE,T.insertionMode=sG.IN_TABLE,ti(T,x);break;case sj.COL:T.tmplInsertionModeStack[0]=sG.IN_COLUMN_GROUP,T.insertionMode=sG.IN_COLUMN_GROUP,th(T,x);break;case sj.TR:T.tmplInsertionModeStack[0]=sG.IN_TABLE_BODY,T.insertionMode=sG.IN_TABLE_BODY,td(T,x);break;case sj.TD:case sj.TH:T.tmplInsertionModeStack[0]=sG.IN_ROW,T.insertionMode=sG.IN_ROW,tm(T,x);break;default:T.tmplInsertionModeStack[0]=sG.IN_BODY,T.insertionMode=sG.IN_BODY,e7(T,x)}break;case sG.AFTER_BODY:c=this,(u=e).tagID===sj.HTML?e7(c,u):tE(c,u);break;case sG.IN_FRAMESET:var A=this,w=e;switch(w.tagID){case sj.HTML:e7(A,w);break;case sj.FRAMESET:A._insertElement(w,sF.HTML);break;case sj.FRAME:A._appendElement(w,sF.HTML),w.ackSelfClosing=!0;break;case sj.NOFRAMES:eQ(A,w)}break;case sG.AFTER_FRAMESET:var v=this,S=e;switch(S.tagID){case sj.HTML:e7(v,S);break;case sj.NOFRAMES:eQ(v,S)}break;case sG.AFTER_AFTER_BODY:h=this,(p=e).tagID===sj.HTML?e7(h,p):tT(h,p);break;case sG.AFTER_AFTER_FRAMESET:var C=this,N=e;switch(N.tagID){case sj.HTML:e7(C,N);break;case sj.NOFRAMES:eQ(C,N)}}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===sj.P||t.tagID===sj.BR){tx(e),e._endTagOutsideForeignContent(t);return}for(let n=e.openElements.stackTop;n>0;n--){let r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===sF.HTML){e._endTagOutsideForeignContent(t);break}let i=e.treeAdapter.getTagName(r);if(i.toLowerCase()===t.tagName){t.tagName=i,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case sG.INITIAL:eW(this,e);break;case sG.BEFORE_HTML:let t;r=this,((t=(i=e).tagID)===sj.HTML||t===sj.HEAD||t===sj.BODY||t===sj.BR)&&eV(r,i);break;case sG.BEFORE_HEAD:let n;a=this,(n=(s=e).tagID)===sj.HEAD||n===sj.BODY||n===sj.HTML||n===sj.BR?eX(a,s):a._err(s,sD.endTagWithoutMatchingOpenElement);break;case sG.IN_HEAD:var r,i,a,s,o,l,c,u,h,p,d,f,m=this,g=e;switch(g.tagID){case sj.HEAD:m.openElements.pop(),m.insertionMode=sG.AFTER_HEAD;break;case sj.BODY:case sj.BR:case sj.HTML:eJ(m,g);break;case sj.TEMPLATE:eZ(m,g);break;default:m._err(g,sD.endTagWithoutMatchingOpenElement)}break;case sG.IN_HEAD_NO_SCRIPT:var y=this,b=e;switch(b.tagID){case sj.NOSCRIPT:y.openElements.pop(),y.insertionMode=sG.IN_HEAD;break;case sj.BR:e0(y,b);break;default:y._err(b,sD.endTagWithoutMatchingOpenElement)}break;case sG.AFTER_HEAD:var _=this,k=e;switch(k.tagID){case sj.BODY:case sj.HTML:case sj.BR:e1(_,k);break;case sj.TEMPLATE:eZ(_,k);break;default:_._err(k,sD.endTagWithoutMatchingOpenElement)}break;case sG.IN_BODY:tt(this,e);break;case sG.TEXT:o=this,e.tagID===sj.SCRIPT&&(null==(l=o.scriptHandler)||l.call(o,o.openElements.current)),o.openElements.pop(),o.insertionMode=o.originalInsertionMode;break;case sG.IN_TABLE:ta(this,e);break;case sG.IN_TABLE_TEXT:tc(this,e);break;case sG.IN_CAPTION:var E=this,T=e;let x=T.tagID;switch(x){case sj.CAPTION:case sj.TABLE:E.openElements.hasInTableScope(sj.CAPTION)&&(E.openElements.generateImpliedEndTags(),E.openElements.popUntilTagNamePopped(sj.CAPTION),E.activeFormattingElements.clearToLastMarker(),E.insertionMode=sG.IN_TABLE,x===sj.TABLE&&ta(E,T));break;case sj.BODY:case sj.COL:case sj.COLGROUP:case sj.HTML:case sj.TBODY:case sj.TD:case sj.TFOOT:case sj.TH:case sj.THEAD:case sj.TR:break;default:tt(E,T)}break;case sG.IN_COLUMN_GROUP:var A=this,w=e;switch(w.tagID){case sj.COLGROUP:A.openElements.currentTagId===sj.COLGROUP&&(A.openElements.pop(),A.insertionMode=sG.IN_TABLE);break;case sj.TEMPLATE:eZ(A,w);break;case sj.COL:break;default:tp(A,w)}break;case sG.IN_TABLE_BODY:tf(this,e);break;case sG.IN_ROW:tg(this,e);break;case sG.IN_CELL:var v=this,S=e;let C=S.tagID;switch(C){case sj.TD:case sj.TH:v.openElements.hasInTableScope(C)&&(v.openElements.generateImpliedEndTags(),v.openElements.popUntilTagNamePopped(C),v.activeFormattingElements.clearToLastMarker(),v.insertionMode=sG.IN_ROW);break;case sj.TABLE:case sj.TBODY:case sj.TFOOT:case sj.THEAD:case sj.TR:v.openElements.hasInTableScope(C)&&(v._closeTableCell(),tg(v,S));break;case sj.BODY:case sj.CAPTION:case sj.COL:case sj.COLGROUP:case sj.HTML:break;default:tt(v,S)}break;case sG.IN_SELECT:tb(this,e);break;case sG.IN_SELECT_IN_TABLE:let N;c=this,(N=(u=e).tagID)===sj.CAPTION||N===sj.TABLE||N===sj.TBODY||N===sj.TFOOT||N===sj.THEAD||N===sj.TR||N===sj.TD||N===sj.TH?c.openElements.hasInTableScope(N)&&(c.openElements.popUntilTagNamePopped(sj.SELECT),c._resetInsertionMode(),c.onEndTag(u)):tb(c,u);break;case sG.IN_TEMPLATE:h=this,(p=e).tagID===sj.TEMPLATE&&eZ(h,p);break;case sG.AFTER_BODY:tk(this,e);break;case sG.IN_FRAMESET:d=this,e.tagID===sj.FRAMESET&&!d.openElements.isRootHtmlElementCurrent()&&(d.openElements.pop(),d.fragmentContext||d.openElements.currentTagId===sj.FRAMESET||(d.insertionMode=sG.AFTER_FRAMESET));break;case sG.AFTER_FRAMESET:f=this,e.tagID===sj.HTML&&(f.insertionMode=sG.AFTER_AFTER_FRAMESET);break;case sG.AFTER_AFTER_BODY:tT(this,e)}}onEof(e){switch(this.insertionMode){case sG.INITIAL:eW(this,e);break;case sG.BEFORE_HTML:eV(this,e);break;case sG.BEFORE_HEAD:eX(this,e);break;case sG.IN_HEAD:eJ(this,e);break;case sG.IN_HEAD_NO_SCRIPT:e0(this,e);break;case sG.AFTER_HEAD:e1(this,e);break;case sG.IN_BODY:case sG.IN_TABLE:case sG.IN_CAPTION:case sG.IN_COLUMN_GROUP:case sG.IN_TABLE_BODY:case sG.IN_ROW:case sG.IN_CELL:case sG.IN_SELECT:case sG.IN_SELECT_IN_TABLE:tn(this,e);break;case sG.TEXT:var t,n;t=this,n=e,t._err(n,sD.eofInElementThatCanContainOnlyText),t.openElements.pop(),t.insertionMode=t.originalInsertionMode,t.onEof(n);break;case sG.IN_TABLE_TEXT:tc(this,e);break;case sG.IN_TEMPLATE:t_(this,e);break;case sG.AFTER_BODY:case sG.IN_FRAMESET:case sG.AFTER_FRAMESET:case sG.AFTER_AFTER_BODY:case sG.AFTER_AFTER_FRAMESET:eq(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===sI.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)return void this._insertCharacters(e);switch(this.insertionMode){case sG.IN_HEAD:case sG.IN_HEAD_NO_SCRIPT:case sG.AFTER_HEAD:case sG.TEXT:case sG.IN_COLUMN_GROUP:case sG.IN_SELECT:case sG.IN_SELECT_IN_TABLE:case sG.IN_FRAMESET:case sG.AFTER_FRAMESET:this._insertCharacters(e);break;case sG.IN_BODY:case sG.IN_CAPTION:case sG.IN_CELL:case sG.IN_TEMPLATE:case sG.AFTER_BODY:case sG.AFTER_AFTER_BODY:case sG.AFTER_AFTER_FRAMESET:e3(this,e);break;case sG.IN_TABLE:case sG.IN_TABLE_BODY:case sG.IN_ROW:tr(this,e);break;case sG.IN_TABLE_TEXT:to(this,e)}}}function eK(e,t){for(let n=0;n<8;n++){let n=function(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):te(e,t),n}(e,t);if(!n)break;let r=function(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){let i=e.openElements.items[r];if(i===t.element)break;e._isSpecialElement(i,e.openElements.tagIDs[r])&&(n=i)}return n||(e.openElements.shortenToLength(Math.max(r,0)),e.activeFormattingElements.removeEntry(t)),n}(e,n);if(!r)break;e.activeFormattingElements.bookmark=n;let i=function(e,t,n){let r=t,i=e.openElements.getCommonAncestor(t);for(let a=0,s=i;s!==n;a++,s=i){i=e.openElements.getCommonAncestor(s);let n=e.activeFormattingElements.getElementEntry(s),o=n&&a>=3;!n||o?(o&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(s)):(s=function(e,t){let n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(s,r),r=s)}return r}(e,r,n.element),a=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),a&&function(e,t,n){let r=et(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{let i=e.treeAdapter.getNamespaceURI(t);r===sj.TEMPLATE&&i===sF.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}(e,a,i),function(e,t,n){let r=e.treeAdapter.getNamespaceURI(n.element),{token:i}=n,a=e.treeAdapter.createElement(i.tagName,r,i.attrs);e._adoptNodes(t,a),e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,i),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,a,i.tagID)}(e,r,n)}}function eY(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function eq(e,t){if(e.stopped=!0,t.location){let n=2*!e.fragmentContext;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){let n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){let n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function eW(e,t){e._err(t,sD.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,sH.QUIRKS),e.insertionMode=sG.BEFORE_HTML,e._processToken(t)}function eV(e,t){e._insertFakeRootElement(),e.insertionMode=sG.BEFORE_HEAD,e._processToken(t)}function eX(e,t){e._insertFakeElement(sU.HEAD,sj.HEAD),e.headElement=e.openElements.current,e.insertionMode=sG.IN_HEAD,e._processToken(t)}function eQ(e,t){switch(t.tagID){case sj.HTML:e7(e,t);break;case sj.BASE:case sj.BASEFONT:case sj.BGSOUND:case sj.LINK:case sj.META:e._appendElement(t,sF.HTML),t.ackSelfClosing=!0;break;case sj.TITLE:e._switchToTextParsing(t,ea.RCDATA);break;case sj.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,ea.RAWTEXT):(e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_HEAD_NO_SCRIPT);break;case sj.NOFRAMES:case sj.STYLE:e._switchToTextParsing(t,ea.RAWTEXT);break;case sj.SCRIPT:e._switchToTextParsing(t,ea.SCRIPT_DATA);break;case sj.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=sG.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(sG.IN_TEMPLATE);break;case sj.HEAD:e._err(t,sD.misplacedStartTagForHeadElement);break;default:eJ(e,t)}}function eZ(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==sj.TEMPLATE&&e._err(t,sD.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(sj.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,sD.endTagWithoutMatchingOpenElement)}function eJ(e,t){e.openElements.pop(),e.insertionMode=sG.AFTER_HEAD,e._processToken(t)}function e0(e,t){let n=t.type===sO.EOF?sD.openElementsLeftAfterEof:sD.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=sG.IN_HEAD,e._processToken(t)}function e1(e,t){e._insertFakeElement(sU.BODY,sj.BODY),e.insertionMode=sG.IN_BODY,e2(e,t)}function e2(e,t){switch(t.type){case sO.CHARACTER:e5(e,t);break;case sO.WHITESPACE_CHARACTER:e3(e,t);break;case sO.COMMENT:eY(e,t);break;case sO.START_TAG:e7(e,t);break;case sO.END_TAG:tt(e,t);break;case sO.EOF:tn(e,t)}}function e3(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function e5(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function e9(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,sF.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function e6(e){let t=V(e,sB.TYPE);return null!=t&&"hidden"===t.toLowerCase()}function e4(e,t){e._switchToTextParsing(t,ea.RAWTEXT)}function e8(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML)}function e7(e,t){switch(t.tagID){case sj.I:case sj.S:case sj.B:case sj.U:case sj.EM:case sj.TT:case sj.BIG:case sj.CODE:case sj.FONT:case sj.SMALL:case sj.STRIKE:case sj.STRONG:e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case sj.A:let n;(n=e.activeFormattingElements.getElementEntryInScopeWithTagName(sU.A))&&(eK(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case sj.H1:case sj.H2:case sj.H3:case sj.H4:case sj.H5:case sj.H6:e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),void 0!==e.openElements.currentTagId&&ei.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,sF.HTML);break;case sj.P:case sj.DL:case sj.OL:case sj.UL:case sj.DIV:case sj.DIR:case sj.NAV:case sj.MAIN:case sj.MENU:case sj.ASIDE:case sj.CENTER:case sj.FIGURE:case sj.FOOTER:case sj.HEADER:case sj.HGROUP:case sj.DIALOG:case sj.DETAILS:case sj.ADDRESS:case sj.ARTICLE:case sj.SEARCH:case sj.SECTION:case sj.SUMMARY:case sj.FIELDSET:case sj.BLOCKQUOTE:case sj.FIGCAPTION:e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._insertElement(t,sF.HTML);break;case sj.LI:case sj.DD:case sj.DT:e.framesetOk=!1;let r=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){let n=e.openElements.tagIDs[t];if(r===sj.LI&&n===sj.LI||(r===sj.DD||r===sj.DT)&&(n===sj.DD||n===sj.DT)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n);break}if(n!==sj.ADDRESS&&n!==sj.DIV&&n!==sj.P&&e._isSpecialElement(e.openElements.items[t],n))break}e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._insertElement(t,sF.HTML);break;case sj.BR:case sj.IMG:case sj.WBR:case sj.AREA:case sj.EMBED:case sj.KEYGEN:e9(e,t);break;case sj.HR:e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._appendElement(t,sF.HTML),e.framesetOk=!1,t.ackSelfClosing=!0;break;case sj.RB:case sj.RTC:e.openElements.hasInScope(sj.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,sF.HTML);break;case sj.RT:case sj.RP:e.openElements.hasInScope(sj.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(sj.RTC),e._insertElement(t,sF.HTML);break;case sj.PRE:case sj.LISTING:e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._insertElement(t,sF.HTML),e.skipNextNewLine=!0,e.framesetOk=!1;break;case sj.XMP:e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ea.RAWTEXT);break;case sj.SVG:e._reconstructActiveFormattingElements(),eH(t),eU(t),t.selfClosing?e._appendElement(t,sF.SVG):e._insertElement(t,sF.SVG),t.ackSelfClosing=!0;break;case sj.HTML:0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs);break;case sj.BASE:case sj.LINK:case sj.META:case sj.STYLE:case sj.TITLE:case sj.SCRIPT:case sj.BGSOUND:case sj.BASEFONT:case sj.TEMPLATE:eQ(e,t);break;case sj.BODY:let i;(i=e.openElements.tryPeekProperlyNestedBodyElement())&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(i,t.attrs));break;case sj.FORM:let a;a=e.openElements.tmplCount>0,(!e.formElement||a)&&(e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._insertElement(t,sF.HTML),a||(e.formElement=e.openElements.current));break;case sj.NOBR:e._reconstructActiveFormattingElements(),e.openElements.hasInScope(sj.NOBR)&&(eK(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,sF.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t);break;case sj.MATH:e._reconstructActiveFormattingElements(),eB(t),eU(t),t.selfClosing?e._appendElement(t,sF.MATHML):e._insertElement(t,sF.MATHML),t.ackSelfClosing=!0;break;case sj.TABLE:e.treeAdapter.getDocumentMode(e.document)!==sH.QUIRKS&&e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._insertElement(t,sF.HTML),e.framesetOk=!1,e.insertionMode=sG.IN_TABLE;break;case sj.INPUT:e._reconstructActiveFormattingElements(),e._appendElement(t,sF.HTML),e6(t)||(e.framesetOk=!1),t.ackSelfClosing=!0;break;case sj.PARAM:case sj.TRACK:case sj.SOURCE:e._appendElement(t,sF.HTML),t.ackSelfClosing=!0;break;case sj.IMAGE:t.tagName=sU.IMG,t.tagID=sj.IMG,e9(e,t);break;case sj.BUTTON:e.openElements.hasInScope(sj.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(sj.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML),e.framesetOk=!1;break;case sj.APPLET:case sj.OBJECT:case sj.MARQUEE:e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1;break;case sj.IFRAME:e.framesetOk=!1,e._switchToTextParsing(t,ea.RAWTEXT);break;case sj.SELECT:e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===sG.IN_TABLE||e.insertionMode===sG.IN_CAPTION||e.insertionMode===sG.IN_TABLE_BODY||e.insertionMode===sG.IN_ROW||e.insertionMode===sG.IN_CELL?sG.IN_SELECT_IN_TABLE:sG.IN_SELECT;break;case sj.OPTION:case sj.OPTGROUP:e.openElements.currentTagId===sj.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,sF.HTML);break;case sj.NOEMBED:case sj.NOFRAMES:e4(e,t);break;case sj.FRAMESET:let s;s=e.openElements.tryPeekProperlyNestedBodyElement(),e.framesetOk&&s&&(e.treeAdapter.detachNode(s),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_FRAMESET);break;case sj.TEXTAREA:e._insertElement(t,sF.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ea.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=sG.TEXT;break;case sj.NOSCRIPT:e.options.scriptingEnabled?e4(e,t):e8(e,t);break;case sj.PLAINTEXT:e.openElements.hasInButtonScope(sj.P)&&e._closePElement(),e._insertElement(t,sF.HTML),e.tokenizer.state=ea.PLAINTEXT;break;case sj.COL:case sj.TH:case sj.TD:case sj.TR:case sj.HEAD:case sj.FRAME:case sj.TBODY:case sj.TFOOT:case sj.THEAD:case sj.CAPTION:case sj.COLGROUP:break;default:e8(e,t)}}function te(e,t){let n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){let i=e.openElements.items[t],a=e.openElements.tagIDs[t];if(r===a&&(r!==sj.UNKNOWN||e.treeAdapter.getTagName(i)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(i,a))break}}function tt(e,t){switch(t.tagID){case sj.A:case sj.B:case sj.I:case sj.S:case sj.U:case sj.EM:case sj.TT:case sj.BIG:case sj.CODE:case sj.FONT:case sj.NOBR:case sj.SMALL:case sj.STRIKE:case sj.STRONG:eK(e,t);break;case sj.P:e.openElements.hasInButtonScope(sj.P)||e._insertFakeElement(sU.P,sj.P),e._closePElement();break;case sj.DL:case sj.UL:case sj.OL:case sj.DIR:case sj.DIV:case sj.NAV:case sj.PRE:case sj.MAIN:case sj.MENU:case sj.ASIDE:case sj.BUTTON:case sj.CENTER:case sj.FIGURE:case sj.FOOTER:case sj.HEADER:case sj.HGROUP:case sj.DIALOG:case sj.ADDRESS:case sj.ARTICLE:case sj.DETAILS:case sj.SEARCH:case sj.SECTION:case sj.SUMMARY:case sj.LISTING:case sj.FIELDSET:case sj.BLOCKQUOTE:case sj.FIGCAPTION:let n;n=t.tagID,e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n));break;case sj.LI:e.openElements.hasInListItemScope(sj.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(sj.LI),e.openElements.popUntilTagNamePopped(sj.LI));break;case sj.DD:case sj.DT:let r;r=t.tagID,e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r));break;case sj.H1:case sj.H2:case sj.H3:case sj.H4:case sj.H5:case sj.H6:e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped());break;case sj.BR:e._reconstructActiveFormattingElements(),e._insertFakeElement(sU.BR,sj.BR),e.openElements.pop(),e.framesetOk=!1;break;case sj.BODY:if(e.openElements.hasInScope(sj.BODY)&&(e.insertionMode=sG.AFTER_BODY,e.options.sourceCodeLocationInfo)){let n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}break;case sj.HTML:e.openElements.hasInScope(sj.BODY)&&(e.insertionMode=sG.AFTER_BODY,tk(e,t));break;case sj.FORM:!function(e){let t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(sj.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(sj.FORM):n&&e.openElements.remove(n))}(e);break;case sj.APPLET:case sj.OBJECT:case sj.MARQUEE:let i;i=t.tagID,e.openElements.hasInScope(i)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(i),e.activeFormattingElements.clearToLastMarker());break;case sj.TEMPLATE:eZ(e,t);break;default:te(e,t)}}function tn(e,t){e.tmplInsertionModeStack.length>0?t_(e,t):eq(e,t)}function tr(e,t){if(void 0!==e.openElements.currentTagId&&e$.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=sG.IN_TABLE_TEXT,t.type){case sO.CHARACTER:tl(e,t);break;case sO.WHITESPACE_CHARACTER:to(e,t)}else ts(e,t)}function ti(e,t){switch(t.tagID){case sj.TD:case sj.TH:case sj.TR:e.openElements.clearBackToTableContext(),e._insertFakeElement(sU.TBODY,sj.TBODY),e.insertionMode=sG.IN_TABLE_BODY,td(e,t);break;case sj.STYLE:case sj.SCRIPT:case sj.TEMPLATE:eQ(e,t);break;case sj.COL:e.openElements.clearBackToTableContext(),e._insertFakeElement(sU.COLGROUP,sj.COLGROUP),e.insertionMode=sG.IN_COLUMN_GROUP,th(e,t);break;case sj.FORM:e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,sF.HTML),e.formElement=e.openElements.current,e.openElements.pop());break;case sj.TABLE:e.openElements.hasInTableScope(sj.TABLE)&&(e.openElements.popUntilTagNamePopped(sj.TABLE),e._resetInsertionMode(),e._processStartTag(t));break;case sj.TBODY:case sj.TFOOT:case sj.THEAD:e.openElements.clearBackToTableContext(),e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_TABLE_BODY;break;case sj.INPUT:e6(t)?e._appendElement(t,sF.HTML):ts(e,t),t.ackSelfClosing=!0;break;case sj.CAPTION:e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_CAPTION;break;case sj.COLGROUP:e.openElements.clearBackToTableContext(),e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_COLUMN_GROUP;break;default:ts(e,t)}}function ta(e,t){switch(t.tagID){case sj.TABLE:e.openElements.hasInTableScope(sj.TABLE)&&(e.openElements.popUntilTagNamePopped(sj.TABLE),e._resetInsertionMode());break;case sj.TEMPLATE:eZ(e,t);break;case sj.BODY:case sj.CAPTION:case sj.COL:case sj.COLGROUP:case sj.HTML:case sj.TBODY:case sj.TD:case sj.TFOOT:case sj.TH:case sj.THEAD:case sj.TR:break;default:ts(e,t)}}function ts(e,t){let n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,e2(e,t),e.fosterParentingEnabled=n}function to(e,t){e.pendingCharacterTokens.push(t)}function tl(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function tc(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)ts(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}let tu=new Set([sj.CAPTION,sj.COL,sj.COLGROUP,sj.TBODY,sj.TD,sj.TFOOT,sj.TH,sj.THEAD,sj.TR]);function th(e,t){switch(t.tagID){case sj.HTML:e7(e,t);break;case sj.COL:e._appendElement(t,sF.HTML),t.ackSelfClosing=!0;break;case sj.TEMPLATE:eQ(e,t);break;default:tp(e,t)}}function tp(e,t){e.openElements.currentTagId===sj.COLGROUP&&(e.openElements.pop(),e.insertionMode=sG.IN_TABLE,e._processToken(t))}function td(e,t){switch(t.tagID){case sj.TR:e.openElements.clearBackToTableBodyContext(),e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_ROW;break;case sj.TH:case sj.TD:e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(sU.TR,sj.TR),e.insertionMode=sG.IN_ROW,tm(e,t);break;case sj.CAPTION:case sj.COL:case sj.COLGROUP:case sj.TBODY:case sj.TFOOT:case sj.THEAD:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE,ti(e,t));break;default:ti(e,t)}}function tf(e,t){let n=t.tagID;switch(t.tagID){case sj.TBODY:case sj.TFOOT:case sj.THEAD:e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE);break;case sj.TABLE:e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE,ta(e,t));break;case sj.BODY:case sj.CAPTION:case sj.COL:case sj.COLGROUP:case sj.HTML:case sj.TD:case sj.TH:case sj.TR:break;default:ta(e,t)}}function tm(e,t){switch(t.tagID){case sj.TH:case sj.TD:e.openElements.clearBackToTableRowContext(),e._insertElement(t,sF.HTML),e.insertionMode=sG.IN_CELL,e.activeFormattingElements.insertMarker();break;case sj.CAPTION:case sj.COL:case sj.COLGROUP:case sj.TBODY:case sj.TFOOT:case sj.THEAD:case sj.TR:e.openElements.hasInTableScope(sj.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE_BODY,td(e,t));break;default:ti(e,t)}}function tg(e,t){switch(t.tagID){case sj.TR:e.openElements.hasInTableScope(sj.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE_BODY);break;case sj.TABLE:e.openElements.hasInTableScope(sj.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE_BODY,tf(e,t));break;case sj.TBODY:case sj.TFOOT:case sj.THEAD:(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(sj.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=sG.IN_TABLE_BODY,tf(e,t));break;case sj.BODY:case sj.CAPTION:case sj.COL:case sj.COLGROUP:case sj.HTML:case sj.TD:case sj.TH:break;default:ta(e,t)}}function ty(e,t){switch(t.tagID){case sj.HTML:e7(e,t);break;case sj.OPTION:e.openElements.currentTagId===sj.OPTION&&e.openElements.pop(),e._insertElement(t,sF.HTML);break;case sj.OPTGROUP:e.openElements.currentTagId===sj.OPTION&&e.openElements.pop(),e.openElements.currentTagId===sj.OPTGROUP&&e.openElements.pop(),e._insertElement(t,sF.HTML);break;case sj.HR:e.openElements.currentTagId===sj.OPTION&&e.openElements.pop(),e.openElements.currentTagId===sj.OPTGROUP&&e.openElements.pop(),e._appendElement(t,sF.HTML),t.ackSelfClosing=!0;break;case sj.INPUT:case sj.KEYGEN:case sj.TEXTAREA:case sj.SELECT:e.openElements.hasInSelectScope(sj.SELECT)&&(e.openElements.popUntilTagNamePopped(sj.SELECT),e._resetInsertionMode(),t.tagID!==sj.SELECT&&e._processStartTag(t));break;case sj.SCRIPT:case sj.TEMPLATE:eQ(e,t)}}function tb(e,t){switch(t.tagID){case sj.OPTGROUP:e.openElements.stackTop>0&&e.openElements.currentTagId===sj.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===sj.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===sj.OPTGROUP&&e.openElements.pop();break;case sj.OPTION:e.openElements.currentTagId===sj.OPTION&&e.openElements.pop();break;case sj.SELECT:e.openElements.hasInSelectScope(sj.SELECT)&&(e.openElements.popUntilTagNamePopped(sj.SELECT),e._resetInsertionMode());break;case sj.TEMPLATE:eZ(e,t)}}function t_(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(sj.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):eq(e,t)}function tk(e,t){var n;if(t.tagID===sj.HTML){if(e.fragmentContext||(e.insertionMode=sG.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===sj.HTML){e._setEndLocation(e.openElements.items[0],t);let r=e.openElements.items[1];!r||(null==(n=e.treeAdapter.getNodeSourceCodeLocation(r))?void 0:n.endTag)||e._setEndLocation(r,t)}}else tE(e,t)}function tE(e,t){e.insertionMode=sG.IN_BODY,e2(e,t)}function tT(e,t){e.insertionMode=sG.IN_BODY,e2(e,t)}function tx(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==sF.HTML&&void 0!==e.openElements.currentTagId&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}String.prototype.codePointAt,sU.AREA,sU.BASE,sU.BASEFONT,sU.BGSOUND,sU.BR,sU.COL,sU.EMBED,sU.FRAME,sU.HR,sU.IMG,sU.INPUT,sU.KEYGEN,sU.LINK,sU.META,sU.PARAM,sU.SOURCE,sU.TRACK,sU.WBR;var tA=n(7370);let tw=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,tv=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tS={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function tC(e,t){var n,r;let i,a,s=!!((i="root"===(r=e).type?r.children[0]:r)&&("doctype"===i.type||"element"===i.type&&"html"===i.tagName.toLowerCase())),o=(0,R.A)("type",{handlers:{root:tI,element:tD,text:tO,comment:tL,doctype:tM,raw:tR},unknown:tP}),l={parser:s?new eG(tS):eG.getFragmentParser(void 0,tS),handle(e){o(e,l)},stitches:!1,options:t||{}};o(e,l),tF(l,(0,tA.PW)());let u=(n=s?l.parser.document:l.parser.getFragment(),C({file:(a={file:l.options.file}).file||void 0,location:!1,schema:"svg"===a.space?T.JW:T.qy,verbose:a.verbose||!1},n));return(l.stitches&&(0,c.YR)(u,"comment",function(e,t,n){if(e.value.stitch&&n&&void 0!==t)return n.children[t]=e.value.stitch,t}),"root"===u.type&&1===u.children.length&&u.children[0].type===e.type)?u.children[0]:u}function tN(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}function tI(e,t){tN(e.children,t)}function tD(e,t){(function(e,t){let n=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ea.PLAINTEXT)return;tF(t,(0,tA.PW)(e));let r=t.parser.openElements.current,i="namespaceURI"in r?r.namespaceURI:w.t.html;i===w.t.html&&"svg"===n&&(i=w.t.svg);let a=F({...e,children:[]},"svg"===({space:i===w.t.svg?"svg":"html"}).space?T.JW:T.qy),s={type:sO.START_TAG,tagName:n,tagID:et(n),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in a?a.attrs:[],location:tH(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=n})(e,t),tN(e.children,t),function(e,t){let n=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&U.b.includes(n)||t.parser.tokenizer.state===ea.PLAINTEXT)return;tF(t,(0,tA.Y)(e));let r={type:sO.END_TAG,tagName:n,tagID:et(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:tH(e)};t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),n===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ea.RCDATA||t.parser.tokenizer.state===ea.RAWTEXT||t.parser.tokenizer.state===ea.SCRIPT_DATA)&&(t.parser.tokenizer.state=ea.DATA)}(e,t)}function tO(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);let n={type:sO.CHARACTER,chars:e.value,location:tH(e)};tF(t,(0,tA.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tM(e,t){let n={type:sO.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:tH(e)};tF(t,(0,tA.PW)(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function tL(e,t){let n=e.value,r={type:sO.COMMENT,data:n,location:tH(e)};tF(t,(0,tA.PW)(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tR(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,tB(t,(0,tA.PW)(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(tw,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),72===t.parser.tokenizer.state||78===t.parser.tokenizer.state){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;let e=t.parser.tokenizer._consume();t.parser.tokenizer._callState(e)}}function tP(e,t){if(t.options.passThrough&&t.options.passThrough.includes(e.type)){var n;let r;t.stitches=!0,r="children"in(n=e)?(0,_.Ay)({...n,children:[]}):(0,_.Ay)(n),"children"in e&&"children"in r&&(r.children=tC({type:"root",children:e.children},t.options).children),tL({type:"comment",value:{stitch:r}},t)}else{let t="";throw tv.has(e.type)&&(t=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),Error("Cannot compile `"+e.type+"` node"+t)}}function tF(e,t){tB(e,t);let n=e.parser.tokenizer.currentCharacterToken;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,n.location.endCol=e.parser.tokenizer.preprocessor.col+1,n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=n,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ea.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function tB(e,t){if(t&&void 0!==t.offset){let n={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=n}}function tH(e){let t=(0,tA.PW)(e)||{line:void 0,column:void 0,offset:void 0},n=(0,tA.Y)(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,endOffset:n.offset}}function tU(e){return function(t,n){return tC(t,{...e,file:n})}}let tj=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],t$={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...tj,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...tj],h2:[["className","sr-only"]],img:[...tj,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...tj,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...tj],table:[...tj],ul:[...tj,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},tz={}.hasOwnProperty;function tG(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var n,r,i=e,a=t;if(i.schema.allowComments){let e="string"==typeof a.value?a.value:"",t=e.indexOf("--\x3e"),n={type:"comment",value:t<0?e:e.slice(0,t)};return tW(n,a),n}return;case"doctype":var s=e,o=t;if(s.schema.allowDoctypes){let e={type:"doctype"};return tW(e,o),e}return;case"element":return function(e,t){let n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n);let r=tK(e,t.children),i=function(e,t){let n,r=e.stack[e.stack.length-1],i=e.schema.attributes,a=e.schema.required,s=i&&tz.call(i,r)?i[r]:void 0,o=i&&tz.call(i,"*")?i["*"]:void 0,l=t&&"object"==typeof t?t:{},c={};for(n in l)if(tz.call(l,n)){let t=l[n],r=tY(e,tV(s,n),n,t);null==r&&(r=tY(e,tV(o,n),n,t)),null!=r&&(c[n]=r)}if(a&&tz.call(a,r)){let e=a[r];for(n in e)tz.call(e,n)&&!tz.call(c,n)&&(c[n]=e[n])}return c}(e,t.properties);e.stack.pop();let a=!1;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,e.schema.ancestors&&tz.call(e.schema.ancestors,n))){let t=e.schema.ancestors[n],r=-1;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;let s={type:"element",tagName:n,properties:i,children:r};return tW(s,t),s}(e,t);case"root":let l;return tW(l={type:"root",children:tK(e,(n=t).children)},n),l;case"text":let c;return tW(c={type:"text",value:"string"==typeof(r=t).value?r.value:""},r),c}}function tK(e,t){let n=[];if(Array.isArray(t)){let r=-1;for(;++r<t.length;){let i=tG(e,t[r]);i&&(Array.isArray(i)?n.push(...i):n.push(i))}}return n}function tY(e,t,n,r){return t?Array.isArray(r)?function(e,t,n,r){let i=-1,a=[];for(;++i<r.length;){let s=tq(e,t,n,r[i]);("number"==typeof s||"string"==typeof s)&&a.push(s)}return a}(e,t,n,r):tq(e,t,n,r):void 0}function tq(e,t,n,r){if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){let r=e.schema.protocols&&tz.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!r||0===r.length)return!0;let i=String(n),a=i.indexOf(":"),s=i.indexOf("?"),o=i.indexOf("#"),l=i.indexOf("/");if(a<0||l>-1&&a>l||s>-1&&a>s||o>-1&&a>o)return!0;let c=-1;for(;++c<r.length;){let e=r[c];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){let i=t[n];if(i&&"object"==typeof i&&"flags"in i){if(i.test(String(r))){e=!0;break}}else if(i===r){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r}}function tW(e,t){let n=(0,tA.G1)(t);t.data&&(e.data=(0,_.Ay)(t.data)),n&&(e.position=n)}function tV(e,t){let n,r=-1;if(e)for(;++r<e.length;){let i=e[r],a="string"==typeof i?i:i[0];if(a===t)return i;"data*"===a&&(n=i)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function tX(e){return function(t){let n,r;return n={type:"root",children:[]},(r=tG({schema:e?{...t$,...e}:t$,stack:[]},t))&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}}var tQ=n(79204),tZ=Object.defineProperty,tJ=Object.defineProperties,t0=Object.getOwnPropertyDescriptors,t1=Object.getOwnPropertySymbols,t2=Object.prototype.hasOwnProperty,t3=Object.prototype.propertyIsEnumerable,t5=(e,t,n)=>t in e?tZ(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,t9=(e,t)=>{for(var n in t||(t={}))t2.call(t,n)&&t5(e,n,t[n]);if(t1)for(var n of t1(t))t3.call(t,n)&&t5(e,n,t[n]);return e},t6=(e,t)=>{let n=!1,r=!1;for(let i=0;i<t;i+=1){if("\\"===e[i]&&i+1<e.length&&"`"===e[i+1]){i+=1;continue}if("```"===e.substring(i,i+3)){r=!r,i+=2;continue}r||"`"!==e[i]||(n=!n)}return n||r},t4=(e,t)=>{let n="```"===e.substring(t,t+3),r=t>0&&"```"===e.substring(t-1,t+2),i=t>1&&"```"===e.substring(t-2,t+1);return n||r||i},t8=(e,t)=>{let n=!1,r=!1,i=-1;for(let a=0;a<e.length;a+=1){if("\\"===e[a]&&a+1<e.length&&"`"===e[a+1]){a+=1;continue}if("```"===e.substring(a,a+3)){r=!r,a+=2;continue}if(!r&&"`"===e[a])if(n){if(i<t&&t<a)return!0;n=!1,i=-1}else n=!0,i=a}return!1},t7=/^(\s*(?:[-*+]|\d+[.)]) +)>(=?\s*[$]?\d)/gm,ne=/(\*\*)([^*]*\*?)$/,nt=/(__)([^_]*?)$/,nn=/(\*\*\*)([^*]*?)$/,nr=/(\*)([^*]*?)$/,ni=/(_)([^_]*?)$/,na=/(`)([^`]*?)$/,ns=/(~~)([^~]*?)$/,no=/^[\s_~*`]*$/,nl=/^[\s]*[-*+][\s]+$/,nc=/[\p{L}\p{N}_]/u,nu=/^```[^`\n]*```?$/,nh=/^\*{4,}$/,np=/(__)([^_]+)_$/,nd=/(~~)([^~]+)~$/,nf=/~~/g,nm=e=>{if(!e)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||95===t||nc.test(e)},ng=(e,t)=>{let n=1;for(let r=t+1;r<e.length;r+=1)if("["===e[r])n+=1;else if("]"===e[r]&&0==(n-=1))return r;return -1},ny=(e,t)=>{let n=!1,r=!1;for(let i=0;i<e.length&&i<t;i+=1){if("\\"===e[i]&&"$"===e[i+1]){i+=1;continue}"$"===e[i]&&("$"===e[i+1]?(r=!r,i+=1,n=!1):r||(n=!n))}return n||r},nb=(e,t)=>{for(let n=t;n<e.length;n+=1){if(")"===e[n])return!0;if(e[n]===`
|
|
2
|
+
`)break}return!1},n_=(e,t)=>{for(let n=t-1;n>=0&&")"!==e[n];n-=1){if("("===e[n])return n>0&&"]"===e[n-1]&&nb(e,t);if(e[n]===`
|
|
3
|
+
`)break}return!1},nk=(e,t,n)=>{let r=0;for(let n=t-1;n>=0;n-=1)if(e[n]===`
|
|
4
|
+
`){r=n+1;break}let i=e.length;for(let n=t;n<e.length;n+=1)if(e[n]===`
|
|
5
|
+
`){i=n;break}let a=e.substring(r,i),s=0,o=!1;for(let e of a)if(e===n)s+=1;else if(" "!==e&&" "!==e){o=!0;break}return s>=3&&!o},nE=(e,t,n,r)=>!!("\\"===n||e.includes("$")&&ny(e,t))||("*"!==n&&"*"===r?(t<e.length-2?e[t+2]:"")!=="*":!!("*"===n||n&&r&&nm(n)&&nm(r)||(!n||" "===n||" "===n||n===`
|
|
6
|
+
`)&&(!r||" "===r||" "===r||r===`
|
|
7
|
+
`))),nT=e=>{let t=0,n=!1,r=e.length;for(let i=0;i<r;i+=1){if("`"===e[i]&&i+2<r&&"`"===e[i+1]&&"`"===e[i+2]){n=!n,i+=2;continue}if(n||"*"!==e[i])continue;let a=i>0?e[i-1]:"",s=i<r-1?e[i+1]:"";nE(e,i,a,s)||(t+=1)}return t},nx=(e,t,n,r)=>!!("\\"===n||e.includes("$")&&ny(e,t)||n_(e,t)||((e,t)=>{for(let n=t-1;n>=0&&">"!==e[n];n-=1){if("<"===e[n]){let t=n+1<e.length?e[n+1]:"";return t>="a"&&t<="z"||t>="A"&&t<="Z"||"/"===t}if(e[n]===`
|
|
8
|
+
`)break}return!1})(e,t)||"_"===n||"_"===r||n&&r&&nm(n)&&nm(r)),nA=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if("`"===e[r]&&r+2<e.length&&"`"===e[r+1]&&"`"===e[r+2]){n=!n,r+=2;continue}n||"*"===e[r]&&r+1<e.length&&"*"===e[r+1]&&(t+=1,r+=1)}return t},nw=e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if("`"===e[r]&&r+2<e.length&&"`"===e[r+1]&&"`"===e[r+2]){n=!n,r+=2;continue}n||"_"===e[r]&&r+1<e.length&&"_"===e[r+1]&&(t+=1,r+=1)}return t},nv=e=>{let t=!1;for(let n=0;n<e.length;n+=1){if("`"===e[n]&&n+2<e.length&&"`"===e[n+1]&&"`"===e[n+2]){t=!t,n+=2;continue}if(!t&&"_"===e[n]&&"_"!==e[n-1]&&"_"!==e[n+1]&&"\\"!==e[n-1]&&!ny(e,n)&&!n_(e,n)){let t=n>0?e[n-1]:"",r=n<e.length-1?e[n+1]:"";if(t&&r&&nm(t)&&nm(r))continue;return n}}return -1},nS=/<[a-zA-Z/][^>]*$/,nC=(e,t)=>t>=2&&"```"===e.substring(t-2,t+1)||t>=1&&"```"===e.substring(t-1,t+2)||t<=e.length-3&&"```"===e.substring(t,t+3),nN=(e,t,n)=>{let r=t>0&&"!"===e[t-1],i=r?t-1:t;if(!e.substring(t+1).includes("]")||-1===ng(e,t)){let a=e.substring(0,i);if(r)return a;if("text-only"===n){let n=((e,t)=>{for(let n=0;n<t;n++)if("["===e[n]&&!t6(e,n)){if(n>0&&"!"===e[n-1])continue;let t=ng(e,n);if(-1===t)return n;if(t+1<e.length&&"("===e[t+1]){let r=e.indexOf(")",t+2);-1!==r&&(n=r)}}return t})(e,t);return e.substring(0,n)+e.substring(n+1)}return`${e}](streamdown:incomplete-link)`}return null},nI=(e,t="protocol")=>{let n=e.lastIndexOf("](");if(-1!==n&&!t6(e,n)){let r=((e,t,n)=>{if(e.substring(t+2).includes(")"))return null;let r=((e,t)=>{let n=1;for(let r=t-1;r>=0;r-=1)if("]"===e[r])n+=1;else if("["===e[r]&&0==(n-=1))return r;return -1})(e,t);if(-1===r||t6(e,r))return null;let i=r>0&&"!"===e[r-1],a=e.substring(0,i?r-1:r);if(i)return a;let s=e.substring(r+1,t);return"text-only"===n?`${a}${s}`:`${a}[${s}](streamdown:incomplete-link)`})(e,n,t);if(null!==r)return r}for(let n=e.length-1;n>=0;n-=1)if("["===e[n]&&!t6(e,n)){let r=nN(e,n,t);if(null!==r)return r}return e},nD=/^-{1,2}$/,nO=/^[\s]*-{1,2}[\s]+$/,nM=/^={1,2}$/,nL=/^[\s]*={1,2}[\s]+$/,nR=RegExp("(?<=[\\p{L}\\p{N}_])~(?!~)(?=[\\p{L}\\p{N}_])","gu"),nP=[{handler:{name:"singleTilde",handle:e=>e&&"string"==typeof e&&e.includes("~")?e.replace(nR,(t,n)=>t6(e,n)?t:"\\~"):e,priority:0},optionKey:"singleTilde"},{handler:{name:"comparisonOperators",handle:e=>e&&"string"==typeof e&&e.includes(">")?e.replace(t7,(t,n,r,i)=>t6(e,i)?t:`${n}\\>${r}`):e,priority:5},optionKey:"comparisonOperators"},{handler:{name:"htmlTags",handle:e=>{let t=e.match(nS);return!t||void 0===t.index||t6(e,t.index)?e:e.substring(0,t.index).trimEnd()},priority:10},optionKey:"htmlTags"},{handler:{name:"setextHeadings",handle:e=>{if(!e||"string"!=typeof e)return e;let t=e.lastIndexOf(`
|
|
9
|
+
`);if(-1===t)return e;let n=e.substring(t+1),r=e.substring(0,t),i=n.trim();if(nD.test(i)&&!n.match(nO)){let t=r.split(`
|
|
10
|
+
`).at(-1);if(t&&t.trim().length>0)return`${e}`}if(nM.test(i)&&!n.match(nL)){let t=r.split(`
|
|
11
|
+
`).at(-1);if(t&&t.trim().length>0)return`${e}`}return e},priority:15},optionKey:"setextHeadings"},{handler:{name:"links",handle:nI,priority:20},optionKey:"links",earlyReturn:e=>e.endsWith("](streamdown:incomplete-link)")},{handler:{name:"boldItalic",handle:e=>{let t,n;if(nh.test(e))return e;let r=e.match(nn);if(!r)return e;let i=r[2],a=e.lastIndexOf(r[1]);return!i||no.test(i)||t6(e,a)||t8(e,a)||nk(e,a,"*")?e:(e=>{let t=0,n=0,r=!1;for(let i=0;i<e.length;i+=1){if("`"===e[i]&&i+2<e.length&&"`"===e[i+1]&&"`"===e[i+2]){n>=3&&(t+=Math.floor(n/3)),n=0,r=!r,i+=2;continue}r||("*"===e[i]?n+=1:(n>=3&&(t+=Math.floor(n/3)),n=0))}return n>=3&&(t+=Math.floor(n/3)),t})(e)%2==1?(t=nA(e),n=nT(e),t%2==0&&n%2==0)?e:`${e}***`:e},priority:30},optionKey:"boldItalic"},{handler:{name:"bold",handle:e=>{let t=e.match(ne);if(!t)return e;let n=t[2],r=e.lastIndexOf(t[1]);return t6(e,r)||t8(e,r)||((e,t,n)=>{if(!t||no.test(t))return!0;let r=e.substring(0,n).lastIndexOf(`
|
|
12
|
+
`),i=e.substring(-1===r?0:r+1,n);return!!(nl.test(i)&&t.includes(`
|
|
13
|
+
`))||nk(e,n,"*")})(e,n,r)?e:nA(e)%2==1?n.endsWith("*")?`${e}*`:`${e}**`:e},priority:35},optionKey:"bold"},{handler:{name:"italicDoubleUnderscore",handle:e=>{let t=e.match(nt);if(!t){let t=e.match(np);if(t){let n=e.lastIndexOf(t[1]);if(!(t6(e,n)||t8(e,n))&&nw(e)%2==1)return`${e}_`}return e}let n=t[2],r=e.lastIndexOf(t[1]);return t6(e,r)||t8(e,r)||((e,t,n)=>{if(!t||no.test(t))return!0;let r=e.substring(0,n).lastIndexOf(`
|
|
14
|
+
`),i=e.substring(-1===r?0:r+1,n);return!!(nl.test(i)&&t.includes(`
|
|
15
|
+
`))||nk(e,n,"_")})(e,n,r)?e:nw(e)%2==1?`${e}__`:e},priority:40},optionKey:"italic"},{handler:{name:"italicSingleAsterisk",handle:e=>{if(!e.match(nr))return e;let t=(e=>{let t=!1;for(let n=0;n<e.length;n+=1){if("`"===e[n]&&n+2<e.length&&"`"===e[n+1]&&"`"===e[n+2]){t=!t,n+=2;continue}if(!t&&"*"===e[n]&&"*"!==e[n-1]&&"*"!==e[n+1]&&"\\"!==e[n-1]&&!ny(e,n)){let t=n>0?e[n-1]:"",r=n<e.length-1?e[n+1]:"";if((!t||" "===t||" "===t||t===`
|
|
16
|
+
`)&&(!r||" "===r||" "===r||r===`
|
|
17
|
+
`)||t&&r&&nm(t)&&nm(r))continue;return n}}return -1})(e);if(-1===t||t6(e,t)||t8(e,t))return e;let n=e.substring(t+1);return!n||no.test(n)?e:nT(e)%2==1?`${e}*`:e},priority:41},optionKey:"italic"},{handler:{name:"italicSingleUnderscore",handle:e=>{if(!e.match(ni))return e;let t=nv(e);if(-1===t)return e;let n=e.substring(t+1);if(!n||no.test(n)||t6(e,t)||t8(e,t))return e;if((e=>{let t=0,n=!1,r=e.length;for(let i=0;i<r;i+=1){if("`"===e[i]&&i+2<r&&"`"===e[i+1]&&"`"===e[i+2]){n=!n,i+=2;continue}if(n||"_"!==e[i])continue;let a=i>0?e[i-1]:"",s=i<r-1?e[i+1]:"";nx(e,i,a,s)||(t+=1)}return t})(e)%2==1){let t=(e=>{if(!e.endsWith("**"))return null;let t=e.slice(0,-2);if(nA(t)%2!=1)return null;let n=t.indexOf("**"),r=nv(t);return -1!==n&&-1!==r&&n<r?`${t}_**`:null})(e);return null!==t?t:(e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
18
|
+
`;)t-=1;if(t<e.length){let n=e.slice(0,t),r=e.slice(t);return`${n}_${r}`}return`${e}_`})(e)}return e},priority:42},optionKey:"italic"},{handler:{name:"inlineCode",handle:e=>{let t=!e.match(nu)||e.includes(`
|
|
19
|
+
`)?null:e.endsWith("``")&&!e.endsWith("```")?`${e}\``:e;if(null!==t)return t;let n=e.match(na);if(n&&(e.match(/```/g)||[]).length%2!=1){let t=n[2];if(!t||no.test(t))return e;if((e=>{let t=0;for(let n=0;n<e.length;n+=1){if("\\"===e[n]&&n+1<e.length&&"`"===e[n+1]){n+=1;continue}"`"!==e[n]||t4(e,n)||(t+=1)}return t})(e)%2==1)return`${e}\``}return e},priority:50},optionKey:"inlineCode"},{handler:{name:"strikethrough",handle:e=>{var t,n;let r=e.match(ns);if(r){let n=r[2];if(!n||no.test(n))return e;let i=e.lastIndexOf(r[1]);if(t6(e,i)||t8(e,i))return e;if((null==(t=e.match(nf))?void 0:t.length)%2==1)return`${e}~~`}else{let t=e.match(nd);if(t){let r=e.lastIndexOf(t[0].slice(0,2));if(t6(e,r)||t8(e,r))return e;if((null==(n=e.match(nf))?void 0:n.length)%2==1)return`${e}~`}}return e},priority:60},optionKey:"strikethrough"},{handler:{name:"katex",handle:e=>(e=>{let t=0,n=!1;for(let r=0;r<e.length-1;r+=1)"`"!==e[r]||nC(e,r)||(n=!n),n||"$"!==e[r]||"$"!==e[r+1]||(t+=1,r+=1);return t})(e)%2==0?e:(e=>{if(e.endsWith("$")&&!e.endsWith("$$"))return`${e}$`;let t=e.indexOf("$$");return -1===t||-1===e.indexOf(`
|
|
20
|
+
`,t)||e.endsWith(`
|
|
21
|
+
`)?`${e}$$`:`${e}
|
|
22
|
+
$$`})(e),priority:70},optionKey:"katex"},{handler:{name:"inlineKatex",handle:e=>(e=>{let t=0,n=!1;for(let r=0;r<e.length;r+=1){if("\\"===e[r]){r+=1;continue}if("`"===e[r]&&!nC(e,r)){n=!n;continue}n||"$"!==e[r]||(r+1<e.length&&"$"===e[r+1]?r+=1:t+=1)}return t})(e)%2==1?`${e}$`:e,priority:75},optionKey:"inlineKatex"}];function nF(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=function e(t){var n,r,i="";if("string"==typeof t||"number"==typeof t)i+=t;else if("object"==typeof t)if(Array.isArray(t)){var a=t.length;for(n=0;n<a;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r)}else for(r in t)t[r]&&(i&&(i+=" "),i+=r);return i}(e))&&(r&&(r+=" "),r+=t);return r}let nB=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),nH=[],nU=(e,t,n)=>{if(0==e.length-t)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=nU(e,t+1,i);if(n)return n}let a=n.validators;if(null===a)return;let s=0===t?e.join("-"):e.slice(t).join("-"),o=a.length;for(let e=0;e<o;e++){let t=a[e];if(t.validator(s))return t.classGroupId}},nj=(e,t)=>{let n=nB();for(let r in e)n$(e[r],n,r,t);return n},n$=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++)nz(e[a],t,n,r)},nz=(e,t,n,r)=>{"string"==typeof e?nG(e,t,n):"function"==typeof e?nK(e,t,n,r):nY(e,t,n,r)},nG=(e,t,n)=>{(""===e?t:nq(t,e)).classGroupId=n},nK=(e,t,n,r)=>{nW(e)?n$(e(r),t,n,r):(null===t.validators&&(t.validators=[]),t.validators.push({classGroupId:n,validator:e}))},nY=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,s]=i[e];n$(s,nq(t,a),n,r)}},nq=(e,t)=>{let n=e,r=t.split("-"),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=nB(),n.nextPart.set(t,i)),n=i}return n},nW=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,nV=[],nX=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),nQ=/\s+/,nZ=e=>{let t;if("string"==typeof e)return e;let n="";for(let r=0;r<e.length;r++)e[r]&&(t=nZ(e[r]))&&(n&&(n+=" "),n+=t);return n},nJ=[],n0=e=>{let t=t=>t[e]||nJ;return t.isThemeGetter=!0,t},n1=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,n2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,n3=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,n5=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,n9=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,n6=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,n4=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,n8=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,n7=e=>n3.test(e),re=e=>!!e&&!Number.isNaN(Number(e)),rt=e=>!!e&&Number.isInteger(Number(e)),rn=e=>e.endsWith("%")&&re(e.slice(0,-1)),rr=e=>n5.test(e),ri=()=>!0,ra=e=>n9.test(e)&&!n6.test(e),rs=()=>!1,ro=e=>n4.test(e),rl=e=>n8.test(e),rc=e=>!rp(e)&&!rk(e),ru=e=>e.startsWith("@container")&&("/"===e[10]&&void 0!==e[11]||"s"===e[11]&&void 0!==e[16]&&e.startsWith("-size/",10)||"n"===e[11]&&void 0!==e[18]&&e.startsWith("-normal/",10)),rh=e=>rC(e,rO,rs),rp=e=>n1.test(e),rd=e=>rC(e,rM,ra),rf=e=>rC(e,rL,re),rm=e=>rC(e,rP,ri),rg=e=>rC(e,rR,rs),ry=e=>rC(e,rI,rs),rb=e=>rC(e,rD,rl),r_=e=>rC(e,rF,ro),rk=e=>n2.test(e),rE=e=>rN(e,rM),rT=e=>rN(e,rR),rx=e=>rN(e,rI),rA=e=>rN(e,rO),rw=e=>rN(e,rD),rv=e=>rN(e,rF,!0),rS=e=>rN(e,rP,!0),rC=(e,t,n)=>{let r=n1.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},rN=(e,t,n=!1)=>{let r=n2.exec(e);return!!r&&(r[1]?t(r[1]):n)},rI=e=>"position"===e||"percentage"===e,rD=e=>"image"===e||"url"===e,rO=e=>"length"===e||"size"===e||"bg-size"===e,rM=e=>"length"===e,rL=e=>"number"===e,rR=e=>"family-name"===e,rP=e=>"number"===e||"weight"===e,rF=e=>"shadow"===e,rB=(sN=()=>{let e=n0("color"),t=n0("font"),n=n0("text"),r=n0("font-weight"),i=n0("tracking"),a=n0("leading"),s=n0("breakpoint"),o=n0("container"),l=n0("spacing"),c=n0("radius"),u=n0("shadow"),h=n0("inset-shadow"),p=n0("text-shadow"),d=n0("drop-shadow"),f=n0("blur"),m=n0("perspective"),g=n0("aspect"),y=n0("ease"),b=n0("animate"),_=()=>["auto","avoid","all","avoid-page","page","left","right","column"],k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...k(),rk,rp],T=()=>["auto","hidden","clip","visible","scroll"],x=()=>["auto","contain","none"],A=()=>[rk,rp,l],w=()=>[n7,"full","auto",...A()],v=()=>[rt,"none","subgrid",rk,rp],S=()=>["auto",{span:["full",rt,rk,rp]},rt,rk,rp],C=()=>[rt,"auto",rk,rp],N=()=>["auto","min","max","fr",rk,rp],I=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],D=()=>["start","end","center","stretch","center-safe","end-safe"],O=()=>["auto",...A()],M=()=>[n7,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],L=()=>[n7,"screen","full","dvw","lvw","svw","min","max","fit",...A()],R=()=>[n7,"screen","full","lh","dvh","lvh","svh","min","max","fit",...A()],P=()=>[e,rk,rp],F=()=>[...k(),rx,ry,{position:[rk,rp]}],B=()=>["no-repeat",{repeat:["","x","y","space","round"]}],H=()=>["auto","cover","contain",rA,rh,{size:[rk,rp]}],U=()=>[rn,rE,rd],j=()=>["","none","full",c,rk,rp],$=()=>["",re,rE,rd],z=()=>["solid","dashed","dotted","double"],G=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],K=()=>[re,rn,rx,ry],Y=()=>["","none",f,rk,rp],q=()=>["none",re,rk,rp],W=()=>["none",re,rk,rp],V=()=>[re,rk,rp],X=()=>[n7,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[rr],breakpoint:[rr],color:[ri],container:[rr],"drop-shadow":[rr],ease:["in","out","in-out"],font:[rc],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[rr],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[rr],shadow:[rr],spacing:["px",re],text:[rr],"text-shadow":[rr],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",n7,rp,rk,g]}],container:["container"],"container-type":[{"@container":["","normal","size",rk,rp]}],"container-named":[ru],columns:[{columns:[re,rp,rk,o]}],"break-after":[{"break-after":_()}],"break-before":[{"break-before":_()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:T()}],"overflow-x":[{"overflow-x":T()}],"overflow-y":[{"overflow-y":T()}],overscroll:[{overscroll:x()}],"overscroll-x":[{"overscroll-x":x()}],"overscroll-y":[{"overscroll-y":x()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[rt,"auto",rk,rp]}],basis:[{basis:[n7,"full","auto",o,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[re,n7,"auto","initial","none",rp]}],grow:[{grow:["",re,rk,rp]}],shrink:[{shrink:["",re,rk,rp]}],order:[{order:[rt,"first","last","none",rk,rp]}],"grid-cols":[{"grid-cols":v()}],"col-start-end":[{col:S()}],"col-start":[{"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":v()}],"row-start-end":[{row:S()}],"row-start":[{"row-start":C()}],"row-end":[{"row-end":C()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...I(),"normal"]}],"justify-items":[{"justify-items":[...D(),"normal"]}],"justify-self":[{"justify-self":["auto",...D()]}],"align-content":[{content:["normal",...I()]}],"align-items":[{items:[...D(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...D(),{baseline:["","last"]}]}],"place-content":[{"place-content":I()}],"place-items":[{"place-items":[...D(),"baseline"]}],"place-self":[{"place-self":["auto",...D()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pbs:[{pbs:A()}],pbe:[{pbe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mbs:[{mbs:O()}],mbe:[{mbe:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],"inline-size":[{inline:["auto",...L()]}],"min-inline-size":[{"min-inline":["auto",...L()]}],"max-inline-size":[{"max-inline":["none",...L()]}],"block-size":[{block:["auto",...R()]}],"min-block-size":[{"min-block":["auto",...R()]}],"max-block-size":[{"max-block":["none",...R()]}],w:[{w:[o,"screen",...M()]}],"min-w":[{"min-w":[o,"screen","none",...M()]}],"max-w":[{"max-w":[o,"screen","none","prose",{screen:[s]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",n,rE,rd]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,rS,rm]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",rn,rp]}],"font-family":[{font:[rT,rg,t]}],"font-features":[{"font-features":[rp]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,rk,rp]}],"line-clamp":[{"line-clamp":[re,"none",rk,rf]}],leading:[{leading:[a,...A()]}],"list-image":[{"list-image":["none",rk,rp]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",rk,rp]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:[re,"from-font","auto",rk,rd]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[re,"auto",rk,rp]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"tab-size":[{tab:[rt,rk,rp]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",rk,rp]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",rk,rp]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:B()}],"bg-size":[{bg:H()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},rt,rk,rp],radial:["",rk,rp],conic:[rt,rk,rp]},rw,rb]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:U()}],"gradient-via-pos":[{via:U()}],"gradient-to-pos":[{to:U()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-bs":[{"border-bs":$()}],"border-w-be":[{"border-be":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...z(),"hidden","none"]}],"divide-style":[{divide:[...z(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[re,rk,rp]}],"outline-w":[{outline:["",re,rE,rd]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,rv,r_]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",h,rv,r_]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[re,rd]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",p,rv,r_]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[re,rk,rp]}],"mix-blend":[{"mix-blend":[...G(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":G()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[re]}],"mask-image-linear-from-pos":[{"mask-linear-from":K()}],"mask-image-linear-to-pos":[{"mask-linear-to":K()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":K()}],"mask-image-t-to-pos":[{"mask-t-to":K()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":K()}],"mask-image-r-to-pos":[{"mask-r-to":K()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":K()}],"mask-image-b-to-pos":[{"mask-b-to":K()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":K()}],"mask-image-l-to-pos":[{"mask-l-to":K()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":K()}],"mask-image-x-to-pos":[{"mask-x-to":K()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":K()}],"mask-image-y-to-pos":[{"mask-y-to":K()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[rk,rp]}],"mask-image-radial-from-pos":[{"mask-radial-from":K()}],"mask-image-radial-to-pos":[{"mask-radial-to":K()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":k()}],"mask-image-conic-pos":[{"mask-conic":[re]}],"mask-image-conic-from-pos":[{"mask-conic-from":K()}],"mask-image-conic-to-pos":[{"mask-conic-to":K()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:B()}],"mask-size":[{mask:H()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",rk,rp]}],filter:[{filter:["","none",rk,rp]}],blur:[{blur:Y()}],brightness:[{brightness:[re,rk,rp]}],contrast:[{contrast:[re,rk,rp]}],"drop-shadow":[{"drop-shadow":["","none",d,rv,r_]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",re,rk,rp]}],"hue-rotate":[{"hue-rotate":[re,rk,rp]}],invert:[{invert:["",re,rk,rp]}],saturate:[{saturate:[re,rk,rp]}],sepia:[{sepia:["",re,rk,rp]}],"backdrop-filter":[{"backdrop-filter":["","none",rk,rp]}],"backdrop-blur":[{"backdrop-blur":Y()}],"backdrop-brightness":[{"backdrop-brightness":[re,rk,rp]}],"backdrop-contrast":[{"backdrop-contrast":[re,rk,rp]}],"backdrop-grayscale":[{"backdrop-grayscale":["",re,rk,rp]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[re,rk,rp]}],"backdrop-invert":[{"backdrop-invert":["",re,rk,rp]}],"backdrop-opacity":[{"backdrop-opacity":[re,rk,rp]}],"backdrop-saturate":[{"backdrop-saturate":[re,rk,rp]}],"backdrop-sepia":[{"backdrop-sepia":["",re,rk,rp]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",rk,rp]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[re,"initial",rk,rp]}],ease:[{ease:["linear","initial",y,rk,rp]}],delay:[{delay:[re,rk,rp]}],animate:[{animate:["none",b,rk,rp]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,rk,rp]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:q()}],"rotate-x":[{"rotate-x":q()}],"rotate-y":[{"rotate-y":q()}],"rotate-z":[{"rotate-z":q()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:V()}],"skew-x":[{"skew-x":V()}],"skew-y":[{"skew-y":V()}],transform:[{transform:[rk,rp,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:X()}],"translate-x":[{"translate-x":X()}],"translate-y":[{"translate-y":X()}],"translate-z":[{"translate-z":X()}],"translate-none":["translate-none"],zoom:[{zoom:[rt,rk,rp]}],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",rk,rp]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":P()}],"scrollbar-track-color":[{"scrollbar-track":P()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mbs":[{"scroll-mbs":A()}],"scroll-mbe":[{"scroll-mbe":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pbs":[{"scroll-pbs":A()}],"scroll-pbe":[{"scroll-pbe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",rk,rp]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[re,rE,rd,rf]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},o=e=>{let t=i(e);if(t)return t;let n=((e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:s}=t,o=[],l=e.trim().split(nQ),c="";for(let e=l.length-1;e>=0;e-=1){let t,u=l[e],{isExternal:h,modifiers:p,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:m}=n(u);if(h){c=u+(c.length>0?" "+c:c);continue}let g=!!m;if(g){let e=(t=r(f.substring(0,m)))&&s[t]?r(f):void 0;e&&e!==t&&(t=e,g=!1)}else t=r(f);if(!t){if(!g||!(t=r(f))){c=u+(c.length>0?" "+c:c);continue}g=!1}let y=0===p.length?"":1===p.length?p[0]:a(p).join(":"),b=d?y+"!":y,_=b+t;if(o.indexOf(_)>-1)continue;o.push(_);let k=i(t,g);for(let e=0;e<k.length;++e){let t=k[e];o.push(b+t)}c=u+(c.length>0?" "+c:c)}return c})(e,r);return a(e,n),n},s=e=>{var t;let n;return i=(r={cache:(e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,++t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];return void 0!==t?t:void 0!==(t=r[e])?(i(e,t),t):void 0},set(e,t){e in n?n[e]=t:i(e,t)}}})((t=[].reduce((e,t)=>t(e),sN())).cacheSize),parseClassName:(e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t,n=[],r=0,i=0,a=0,s=e.length;for(let o=0;o<s;o++){let s=e[o];if(0===r&&0===i){if(":"===s){n.push(e.slice(a,o)),a=o+1;continue}if("/"===s){t=o;continue}}"["===s?r++:"]"===s?r--:"("===s?i++:")"===s&&i--}let o=0===n.length?e:e.slice(a),l=o,c=!1;return o.endsWith("!")?(l=o.slice(0,-1),c=!0):o.startsWith("!")&&(l=o.slice(1),c=!0),nX(n,c,l,t&&t>a?t-a:void 0)};if(t){let e=t+":",n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):nX(nV,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r})(t),sortModifiers:(n=new Map,t.orderSensitiveModifiers.forEach((e,t)=>{n.set(e,1e6+t)}),e=>{let t=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],s="["===a[0],o=n.has(a);s||o?(r.length>0&&(r.sort(),t.push(...r),r=[]),t.push(a)):r.push(a)}return r.length>0&&(r.sort(),t.push(...r)),t}),postfixLookupClassGroupIds:(e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t})(t),...(e=>{let t=(e=>{let{theme:t,classGroups:n}=e;return nj(n,t)})(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]")){var n;let t,r,i;return -1===(n=e).slice(1,-1).indexOf(":")?void 0:(r=(t=n.slice(1,-1)).indexOf(":"),(i=t.slice(0,r))?"arbitrary.."+i:void 0)}let r=e.split("-"),i=+(""===r[0]&&r.length>1);return nU(r,i,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];if(t){if(i){let e=Array(i.length+t.length);for(let t=0;t<i.length;t++)e[t]=i[t];for(let n=0;n<t.length;n++)e[i.length+n]=t[n];return e}return t}return i||nH}return n[e]||nH}}})(t)}).cache.get,a=r.cache.set,s=o,o(e)},(...e)=>s(((...e)=>{let t,n,r=0,i="";for(;r<e.length;)(t=e[r++])&&(n=nZ(t))&&(i&&(i+=" "),i+=n);return i})(...e)));var rH=n(95155),rU=n(47650),rj=n(78140),r$=n(99007),rz=n(82948),rG=n(54615),rK=n(96674);function rY(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var rq=rY(),rW={exec:()=>null};function rV(e,t=""){let n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(rQ.caret,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var rX=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),rQ={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}>`)},rZ=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,rJ=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,r0=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,r1=rV(r0).replace(/bull/g,rJ).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),r2=rV(r0).replace(/bull/g,rJ).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),r3=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,r5=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,r9=rV(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",r5).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),r6=rV(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,rJ).getRegex(),r4="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",r8=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,r7=rV("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",r8).replace("tag",r4).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),ie=rV(r3).replace("hr",rZ).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",r4).getRegex(),it={blockquote:rV(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",ie).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:r9,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:rZ,html:r7,lheading:r1,list:r6,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:ie,table:rW,text:/^[^\n]+/},ir=rV("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",rZ).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",r4).getRegex(),ii={...it,lheading:r2,table:ir,paragraph:rV(r3).replace("hr",rZ).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",ir).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",r4).getRegex()},ia={...it,html:rV("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",r8).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:rW,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:rV(r3).replace("hr",rZ).replace("heading",` *#{1,6} *[^
|
|
23
|
+
]`).replace("lheading",r1).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},is=/^( {2,}|\\)\n(?!\s*$)/,io=/[\p{P}\p{S}]/u,il=/[\s\p{P}\p{S}]/u,ic=/[^\s\p{P}\p{S}]/u,iu=rV(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,il).getRegex(),ih=/(?!~)[\p{P}\p{S}]/u,ip=rV(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",rX?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),id=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,im=rV(id,"u").replace(/punct/g,io).getRegex(),ig=rV(id,"u").replace(/punct/g,ih).getRegex(),iy="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ib=rV(iy,"gu").replace(/notPunctSpace/g,ic).replace(/punctSpace/g,il).replace(/punct/g,io).getRegex(),i_=rV(iy,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,ih).getRegex(),ik=rV("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,ic).replace(/punctSpace/g,il).replace(/punct/g,io).getRegex(),iE=rV(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,io).getRegex(),iT=rV("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,ic).replace(/punctSpace/g,il).replace(/punct/g,io).getRegex(),ix=rV(/\\(punct)/,"gu").replace(/punct/g,io).getRegex(),iA=rV(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),iw=rV(r8).replace("(?:--\x3e|$)","--\x3e").getRegex(),iv=rV("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",iw).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),iS=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,iC=rV(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",iS).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),iN=rV(/^!?\[(label)\]\[(ref)\]/).replace("label",iS).replace("ref",r5).getRegex(),iI=rV(/^!?\[(ref)\](?:\[\])?/).replace("ref",r5).getRegex(),iD=rV("reflink|nolink(?!\\()","g").replace("reflink",iN).replace("nolink",iI).getRegex(),iO=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,iM={_backpedal:rW,anyPunctuation:ix,autolink:iA,blockSkip:ip,br:is,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:rW,delLDelim:rW,delRDelim:rW,emStrongLDelim:im,emStrongRDelimAst:ib,emStrongRDelimUnd:ik,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:iC,nolink:iI,punctuation:iu,reflink:iN,reflinkSearch:iD,tag:iv,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:rW},iL={...iM,link:rV(/^!?\[(label)\]\((.*?)\)/).replace("label",iS).getRegex(),reflink:rV(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",iS).getRegex()},iR={...iM,emStrongRDelimAst:i_,emStrongLDelim:ig,delLDelim:iE,delRDelim:iT,url:rV(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",iO).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:rV(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",iO).getRegex()},iP={...iR,br:rV(is).replace("{2,}","*").getRegex(),text:rV(iR.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},iF={normal:it,gfm:ii,pedantic:ia},iB={normal:iM,gfm:iR,breaks:iP,pedantic:iL},iH={"&":"&","<":"<",">":">",'"':""","'":"'"},iU=e=>iH[e];function ij(e,t){if(t){if(rQ.escapeTest.test(e))return e.replace(rQ.escapeReplace,iU)}else if(rQ.escapeTestNoEncode.test(e))return e.replace(rQ.escapeReplaceNoEncode,iU);return e}function i$(e){try{e=encodeURI(e).replace(rQ.percentDecode,"%")}catch{return null}return e}function iz(e,t){let n=e.replace(rQ.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(rQ.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(rQ.slashPipe,"|");return n}function iG(e,t,n){let r=e.length;if(0===r)return"";let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a!==t||n)if(a!==t&&n)i++;else break;else i++}return e.slice(0,r-i)}function iK(e,t,n,r,i){let a=t.href,s=t.title||null,o=e[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:a,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,l}var iY=class{options;rules;lexer;constructor(e){this.options=e||rq}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:iG(e,`
|
|
24
|
+
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let i=r[1];return t.split(`
|
|
25
|
+
`).map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
26
|
+
`)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=iG(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:iG(t[0],`
|
|
27
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=iG(t[0],`
|
|
28
|
+
`).split(`
|
|
29
|
+
`),n="",r="",i=[];for(;e.length>0;){let t=!1,a=[],s;for(s=0;s<e.length;s++)if(this.rules.other.blockquoteStart.test(e[s]))a.push(e[s]),t=!0;else if(t)break;else a.push(e[s]);e=e.slice(s);let o=a.join(`
|
|
30
|
+
`),l=o.replace(this.rules.other.blockquoteSetextReplace,`
|
|
31
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
|
|
32
|
+
${o}`:o,r=r?`${r}
|
|
33
|
+
${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,0===e.length)break;let u=i.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let t=u.raw+`
|
|
34
|
+
`+e.join(`
|
|
35
|
+
`),a=this.blockquote(t);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-u.text.length)+a.text;break}if(u?.type==="list"){let t=u.raw+`
|
|
36
|
+
`+e.join(`
|
|
37
|
+
`),a=this.list(t);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-u.raw.length)+a.raw,e=t.substring(i.at(-1).raw.length).split(`
|
|
38
|
+
`);continue}}return{type:"blockquote",raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let a=this.rules.other.listItemRegex(n),s=!1;for(;e;){let n=!1,r="",o="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=function(e,t=0){let n=t,r="";for(let t of e)if(" "===t){let e=4-n%4;r+=" ".repeat(e),n+=e}else r+=t,n++;return r}(t[2].split(`
|
|
39
|
+
`,1)[0],t[1].length),c=e.split(`
|
|
40
|
+
`,1)[0],u=!l.trim(),h=0;if(this.options.pedantic?(h=2,o=l.trimStart()):u?h=t[1].length+1:(h=(h=l.search(this.rules.other.nonSpaceChar))>4?1:h,o=l.slice(h),h+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+`
|
|
41
|
+
`,e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),i=this.rules.other.fencesBeginRegex(h),a=this.rules.other.headingBeginRegex(h),s=this.rules.other.htmlBeginRegex(h),p=this.rules.other.blockquoteBeginRegex(h);for(;e;){let d=e.split(`
|
|
42
|
+
`,1)[0],f;if(c=d,f=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),i.test(c)||a.test(c)||s.test(c)||p.test(c)||t.test(c)||n.test(c))break;if(f.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=`
|
|
43
|
+
`+f.slice(h);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||a.test(l)||n.test(l))break;o+=`
|
|
44
|
+
`+c}u=!c.trim(),r+=d+`
|
|
45
|
+
`,e=e.substring(d.length+1),l=f.slice(h)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(s=!0)),i.items.push({type:"list_item",raw:r,task:!!this.options.gfm&&this.rules.other.listIsTask.test(o),loose:!1,text:o,tokens:[]}),i.raw+=r}let o=i.items.at(-1);if(!o)return;for(let e of(o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),i.raw=i.raw.trimEnd(),i.items)){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),e.tokens[0]?.type==="text"||e.tokens[0]?.type==="paragraph"){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let n={type:"checkbox",raw:t[0]+" ",checked:"[ ]"!==t[0]};e.checked=n.checked,i.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=n.raw+e.tokens[0].raw,e.tokens[0].text=n.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(n)):e.tokens.unshift({type:"paragraph",raw:n.raw,text:n.raw,tokens:[n]}):e.tokens.unshift(n)}}if(!i.loose){let t=e.tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}}if(i.loose)for(let e of i.items)for(let t of(e.loose=!0,e.tokens))"text"===t.type&&(t.type="paragraph");return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=iz(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
46
|
+
`):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(iz(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t){let e=t[1].trim();return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:e,tokens:this.lexer.inline(e)}}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
|
|
47
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=iG(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e){if(-1===e.indexOf(")"))return -1;let t=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])t++;else if(")"===e[n]&&--t<0)return n;return t>0?-2:-1}(t[2]);if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),iK(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return iK(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||!r[1]&&!r[2]&&!r[3]&&!r[4]||r[4]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[3])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=l.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(a=[...i].length,r[3]||r[4]){s+=a;continue}if((r[5]||r[6])&&n%3&&!((n+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,n=""){let r=this.rules.inline.delLDelim.exec(e);if(r&&(!r[1]||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=this.rules.inline.delRDelim;for(o.lastIndex=0,t=t.slice(-1*e.length+n);null!==(r=o.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6])||(a=[...i].length)!==n)continue;if(r[3]||r[4]){s+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s);let t=[...r[0]][0].length,o=e.slice(0,n+r.index+t+a),l=o.slice(n,-n);return{type:"del",raw:o,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])n="mailto:"+(e=t[0]);else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0]);e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},iq=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||rq,this.options.tokenizer=this.options.tokenizer||new iY,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:rQ,block:iF.normal,inline:iB.normal};this.options.pedantic?(t.block=iF.pedantic,t.inline=iB.pedantic):this.options.gfm&&(t.block=iF.gfm,this.options.breaks?t.inline=iB.breaks:t.inline=iB.gfm),this.tokenizer.rules=t}static get rules(){return{block:iF,inline:iB}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(rQ.carriageReturn,`
|
|
48
|
+
`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.tokenizer.lexer=this,this.options.pedantic&&(e=e.replace(rQ.tabCharGlobal," ").replace(rQ.spaceLine,""));e;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);1===r.raw.length&&void 0!==n?n.raw+=`
|
|
49
|
+
`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(`
|
|
50
|
+
`)?"":`
|
|
51
|
+
`)+r.raw,n.text+=`
|
|
52
|
+
`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(`
|
|
53
|
+
`)?"":`
|
|
54
|
+
`)+r.raw,n.text+=`
|
|
55
|
+
`+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(`
|
|
56
|
+
`)?"":`
|
|
57
|
+
`)+r.raw,a.text+=`
|
|
58
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="text"?(n.raw+=(n.raw.endsWith(`
|
|
59
|
+
`)?"":`
|
|
60
|
+
`)+r.raw,n.text+=`
|
|
61
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n;this.tokenizer.lexer=this;let r=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!==(i=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!==(i=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!==(i=this.tokenizer.rules.inline.blockSkip.exec(r));)n=i[2]?i[2].length:0,r=r.slice(0,i.index+n)+"["+"a".repeat(i[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let a=!1,s="";for(;e;){let n;if(a||(s=""),a=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if((n=this.tokenizer.escape(e))||(n=this.tokenizer.tag(e))||(n=this.tokenizer.link(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length);let r=t.at(-1);"text"===n.type&&r?.type==="text"?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,r,s))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e,r,s))||(n=this.tokenizer.autolink(e))||!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0;let r=t.at(-1);r?.type==="text"?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},iW=class{options;parser;constructor(e){this.options=e||rq}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(rQ.notSpaceStart)?.[0],i=e.replace(rQ.endingNewline,"")+`
|
|
62
|
+
`;return r?'<pre><code class="language-'+ij(r)+'">'+(n?i:ij(i,!0))+`</code></pre>
|
|
63
|
+
`:"<pre><code>"+(n?i:ij(i,!0))+`</code></pre>
|
|
64
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
65
|
+
${this.parser.parse(e)}</blockquote>
|
|
66
|
+
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
67
|
+
`}hr(e){return`<hr>
|
|
68
|
+
`}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+`>
|
|
69
|
+
`+r+"</"+i+`>
|
|
70
|
+
`}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>
|
|
71
|
+
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
72
|
+
`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n="";for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),`<table>
|
|
73
|
+
<thead>
|
|
74
|
+
`+t+`</thead>
|
|
75
|
+
`+r+`</table>
|
|
76
|
+
`}tablerow({text:e}){return`<tr>
|
|
77
|
+
${e}</tr>
|
|
78
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
79
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${ij(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=i$(e);if(null===i)return r;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+ij(t)+'"'),a+=">"+r+"</a>"}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=i$(e);if(null===i)return ij(n);e=i;let a=`<img src="${e}" alt="${ij(n)}"`;return t&&(a+=` title="${ij(t)}"`),a+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:ij(e.text)}},iV=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},iX=class e{options;renderer;textRenderer;constructor(e){this.options=e||rq,this.options.renderer=this.options.renderer||new iW,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new iV}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e){this.renderer.parser=this;let t="";for(let n=0;n<e.length;n++){let r=e[n];if(this.options.extensions?.renderers?.[r.type]){let e=this.options.extensions.renderers[r.type].call({parser:this},r);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(r.type)){t+=e||"";continue}}switch(r.type){case"space":t+=this.renderer.space(r);break;case"hr":t+=this.renderer.hr(r);break;case"heading":t+=this.renderer.heading(r);break;case"code":t+=this.renderer.code(r);break;case"table":t+=this.renderer.table(r);break;case"blockquote":t+=this.renderer.blockquote(r);break;case"list":t+=this.renderer.list(r);break;case"checkbox":t+=this.renderer.checkbox(r);break;case"html":t+=this.renderer.html(r);break;case"def":t+=this.renderer.def(r);break;case"paragraph":t+=this.renderer.paragraph(r);break;case"text":t+=this.renderer.text(r);break;default:{let e='Token with "'+r.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return t}parseInline(e,t=this.renderer){this.renderer.parser=this;let n="";for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"checkbox":n+=t.checkbox(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}},iQ=class{options;block;constructor(e){this.options=e||rq}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(e=this.block){return e?iq.lex:iq.lexInline}provideParser(e=this.block){return e?iX.parse:iX.parseInline}},iZ=new class{defaults=rY();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=iX;Renderer=iW;TextRenderer=iV;Lexer=iq;Tokenizer=iY;Hooks=iQ;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":for(let e of r.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of r.rows)for(let r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(r.items,t));break;default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new iW(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=e.renderer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new iY(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=e.tokenizer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new iQ;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=e.hooks[n],i=t[n];iQ.passThroughHooks.has(n)?t[n]=e=>{if(this.defaults.async&&iQ.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(t,e);return i.call(t,n)})();let a=r.call(t,e);return i.call(t,a)}:t[n]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(t,e);return!1===n&&(n=await i.apply(t,e)),n})();let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return iq.lex(e,t??this.defaults)}parser(e,t){return iX.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===r.async)return a(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await (i.hooks?await i.hooks.provideLexer(e):e?iq.lex:iq.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let s=await (i.hooks?await i.hooks.provideParser(e):e?iX.parse:iX.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(s):s})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer(e):e?iq.lex:iq.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser(e):e?iX.parse:iX.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
80
|
+
Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+ij(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function iJ(e,t){return iZ.parse(e,t)}iJ.options=iJ.setOptions=function(e){return iZ.setOptions(e),iJ.defaults=iZ.defaults,rq=iJ.defaults,iJ},iJ.getDefaults=rY,iJ.defaults=rq,iJ.use=function(...e){return iZ.use(...e),iJ.defaults=iZ.defaults,rq=iJ.defaults,iJ},iJ.walkTokens=function(e,t){return iZ.walkTokens(e,t)},iJ.parseInline=iZ.parseInline,iJ.Parser=iX,iJ.parser=iX.parse,iJ.Renderer=iW,iJ.TextRenderer=iV,iJ.Lexer=iq,iJ.lexer=iq.lex,iJ.Tokenizer=iY,iJ.Hooks=iQ,iJ.parse=iJ,iJ.options,iJ.setOptions,iJ.use,iJ.walkTokens,iJ.parseInline,iX.parse,iq.lex;var i0=/\s/,i1=/^\s+$/,i2=new Set(["code","pre","svg","math","annotation"]),i3=0;function i5(e){var t,n,r,i,a;let s={animation:null!=(t=null==e?void 0:e.animation)?t:"fadeIn",duration:null!=(n=null==e?void 0:e.duration)?n:150,easing:null!=(r=null==e?void 0:e.easing)?r:"ease",sep:null!=(i=null==e?void 0:e.sep)?i:"word",stagger:null!=(a=null==e?void 0:e.stagger)?a:40},o={prevContentLength:0,lastRenderCharCount:0},l=i3++,c=()=>e=>{let t={count:0,newIndex:0};(0,u.VG)(e,"text",(e,n)=>((e,t,n,r,i)=>{let a=t.at(-1);if(!(a&&"children"in a))return;if(t.some(e=>"object"==typeof e&&null!==e&&"type"in e&&"element"===e.type&&i2.has(e.tagName)))return u._Z;let s=a.children.indexOf(e);if(-1===s)return;let o=e.value;if(!o.trim()){i.count+=o.length;return}let l="char"===n.sep?(e=>{let t=[],n="";for(let r of e)i0.test(r)?n+=r:(n&&(t.push(n),n=""),t.push(r));return n&&t.push(n),t})(o):(e=>{let t=[],n="",r=!1;for(let i of e){let e=i0.test(i);e!==r&&n&&(t.push(n),n=""),n+=i,r=e}return n&&t.push(n),t})(o),c=r.prevContentLength,h=l.map(e=>{var t,r,a;let s,o=i.count;if(i.count+=e.length,i1.test(e))return{type:"text",value:e};let l=c>0&&o<c,u=l?0:i.newIndex++*n.stagger;return t=n.animation,r=n.duration,a=n.easing,s=`--sd-animation:sd-${t};--sd-duration:${l?0:r}ms;--sd-easing:${a}`,u&&(s+=`;--sd-delay:${u}ms`),{type:"element",tagName:"span",properties:{"data-sd-animate":!0,style:s},children:[{type:"text",value:e}]}});return a.children.splice(s,1,...h),s+h.length})(e,n,s,o,t)),o.lastRenderCharCount=t.count,o.prevContentLength=0};return Object.defineProperty(c,"name",{value:`rehypeAnimate$${l}`}),{name:"animate",type:"animate",rehypePlugin:c,setPrevContentLength(e){o.prevContentLength=e},getLastRenderCharCount(){let e=o.lastRenderCharCount;return o.lastRenderCharCount=0,e}}}i5();var i9=(0,l.createContext)(!1),i6=(...e)=>rB(nF(e)),i4=(e,t,n)=>{let r="string"==typeof t&&n.startsWith("text/csv")?"\uFEFF":"",i="string"==typeof t?new Blob([r+t],{type:n}):t,a=URL.createObjectURL(i),s=document.createElement("a");s.href=a,s.download=e,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(a)},i8=(0,l.createContext)(i6),i7=()=>(0,l.useContext)(i8),ae=i6("block","before:content-[counter(line)]","before:inline-block","before:[counter-increment:line]","before:w-6","before:mr-4","before:text-[13px]","before:text-right","before:text-muted-foreground/50","before:font-mono","before:select-none"),at=(0,l.memo)(({children:e,result:t,language:n,className:r,startLine:i,lineNumbers:a=!0,...s})=>{let o=i7(),c=(0,l.useMemo)(()=>o(ae),[o]),u=(0,l.useMemo)(()=>{let e={};return t.bg&&(e["--sdm-bg"]=t.bg),t.fg&&(e["--sdm-fg"]=t.fg),t.rootStyle&&Object.assign(e,(e=>{let t={};for(let n of e.split(";")){let e=n.indexOf(":");if(e>0){let r=n.slice(0,e).trim(),i=n.slice(e+1).trim();r&&i&&(t[r]=i)}}return t})(t.rootStyle)),e},[t.bg,t.fg,t.rootStyle]);return(0,rH.jsx)("div",{className:o(r,"overflow-x-auto rounded-md border border-border bg-background p-4 text-sm"),"data-language":n,"data-streamdown":"code-block-body",...s,children:(0,rH.jsx)("pre",{className:o(r,"bg-[var(--sdm-bg,inherit]","dark:bg-[var(--shiki-dark-bg,var(--sdm-bg,inherit)]"),style:u,children:(0,rH.jsx)("code",{className:a?o("[counter-increment:line_0] [counter-reset:line]"):void 0,style:a&&i&&i>1?{counterReset:`line ${i-1}`}:void 0,children:t.tokens.map((e,t)=>(0,rH.jsx)("span",{className:a?c:void 0,children:0===e.length||1===e.length&&""===e[0].content?`
|
|
81
|
+
`:e.map((e,t)=>{let n={},r=!!e.bgColor;if(e.color&&(n["--sdm-c"]=e.color),e.bgColor&&(n["--sdm-tbg"]=e.bgColor),e.htmlStyle)for(let[t,i]of Object.entries(e.htmlStyle))"color"===t?n["--sdm-c"]=i:"background-color"===t?(n["--sdm-tbg"]=i,r=!0):n[t]=i;return(0,rH.jsx)("span",{className:o("text-[var(--sdm-c,inherit)]","dark:text-[var(--shiki-dark,var(--sdm-c,inherit))]",r&&"bg-[var(--sdm-tbg)]",r&&"dark:bg-[var(--shiki-dark-bg,var(--sdm-tbg))]"),style:n,...e.htmlAttrs,children:e.content},t)})},t))})})})},(e,t)=>e.result===t.result&&e.language===t.language&&e.className===t.className&&e.startLine===t.startLine&&e.lineNumbers===t.lineNumbers),an=({className:e,language:t,style:n,isIncomplete:r,...i})=>{let a=i7();return(0,rH.jsx)("div",{className:a("my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",e),"data-incomplete":r||void 0,"data-language":t,"data-streamdown":"code-block",style:{contentVisibility:"auto",containIntrinsicSize:"auto 200px",...n},...i})},ar=(0,l.createContext)({code:""}),ai=()=>(0,l.useContext)(ar),aa=({language:e})=>{let t=i7();return(0,rH.jsx)("div",{className:t("flex h-8 items-center text-muted-foreground text-xs"),"data-language":e,"data-streamdown":"code-block-header",children:(0,rH.jsx)("span",{className:t("ml-1 font-mono lowercase"),children:e})})},as=(0,l.lazy)(()=>n.e(1319).then(n.bind(n,1319)).then(e=>({default:e.HighlightedCodeBlockBody}))),ao=({code:e,language:t,className:n,children:r,isIncomplete:i=!1,startLine:a,lineNumbers:s,...o})=>{let c=i7(),u=(0,l.useMemo)(()=>(e=>{let t=e.length;for(;t>0&&e[t-1]===`
|
|
82
|
+
`;)t--;return e.slice(0,t)})(e),[e]),h=(0,l.useMemo)(()=>({bg:"transparent",fg:"inherit",tokens:u.split(`
|
|
83
|
+
`).map(e=>[{content:e,color:"inherit",bgColor:"transparent",htmlStyle:{},offset:0}])}),[u]);return(0,rH.jsx)(ar.Provider,{value:{code:e},children:(0,rH.jsxs)(an,{isIncomplete:i,language:t,children:[(0,rH.jsx)(aa,{language:t}),r?(0,rH.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,rH.jsx)("div",{className:c("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"code-block-actions",children:r})}):null,(0,rH.jsx)(l.Suspense,{fallback:(0,rH.jsx)(at,{className:n,language:t,lineNumbers:s,result:h,startLine:a,...o}),children:(0,rH.jsx)(as,{className:n,code:u,language:t,lineNumbers:s,raw:h,startLine:a,...o})})]})})},al={CheckIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M15.5607 3.99999L15.0303 4.53032L6.23744 13.3232C5.55403 14.0066 4.44599 14.0066 3.76257 13.3232L4.2929 12.7929L3.76257 13.3232L0.969676 10.5303L0.439346 9.99999L1.50001 8.93933L2.03034 9.46966L4.82323 12.2626C4.92086 12.3602 5.07915 12.3602 5.17678 12.2626L13.9697 3.46966L14.5 2.93933L15.5607 3.99999Z",fill:"currentColor",fillRule:"evenodd"})}),CopyIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M2.75 0.5C1.7835 0.5 1 1.2835 1 2.25V9.75C1 10.7165 1.7835 11.5 2.75 11.5H3.75H4.5V10H3.75H2.75C2.61193 10 2.5 9.88807 2.5 9.75V2.25C2.5 2.11193 2.61193 2 2.75 2H8.25C8.38807 2 8.5 2.11193 8.5 2.25V3H10V2.25C10 1.2835 9.2165 0.5 8.25 0.5H2.75ZM7.75 4.5C6.7835 4.5 6 5.2835 6 6.25V13.75C6 14.7165 6.7835 15.5 7.75 15.5H13.25C14.2165 15.5 15 14.7165 15 13.75V6.25C15 5.2835 14.2165 4.5 13.25 4.5H7.75ZM7.5 6.25C7.5 6.11193 7.61193 6 7.75 6H13.25C13.3881 6 13.5 6.11193 13.5 6.25V13.75C13.5 13.8881 13.3881 14 13.25 14H7.75C7.61193 14 7.5 13.8881 7.5 13.75V6.25Z",fill:"currentColor",fillRule:"evenodd"})}),DownloadIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M8.75 1V1.75V8.68934L10.7197 6.71967L11.25 6.18934L12.3107 7.25L11.7803 7.78033L8.70711 10.8536C8.31658 11.2441 7.68342 11.2441 7.29289 10.8536L4.21967 7.78033L3.68934 7.25L4.75 6.18934L5.28033 6.71967L7.25 8.68934V1.75V1H8.75ZM13.5 9.25V13.5H2.5V9.25V8.5H1V9.25V14C1 14.5523 1.44771 15 2 15H14C14.5523 15 15 14.5523 15 14V9.25V8.5H13.5V9.25Z",fill:"currentColor",fillRule:"evenodd"})}),ExternalLinkIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M13.5 10.25V13.25C13.5 13.3881 13.3881 13.5 13.25 13.5H2.75C2.61193 13.5 2.5 13.3881 2.5 13.25L2.5 2.75C2.5 2.61193 2.61193 2.5 2.75 2.5H5.75H6.5V1H5.75H2.75C1.7835 1 1 1.7835 1 2.75V13.25C1 14.2165 1.7835 15 2.75 15H13.25C14.2165 15 15 14.2165 15 13.25V10.25V9.5H13.5V10.25ZM9 1H9.75H14.2495C14.6637 1 14.9995 1.33579 14.9995 1.75V6.25V7H13.4995V6.25V3.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L12.4388 2.5H9.75H9V1Z",fill:"currentColor",fillRule:"evenodd"})}),Loader2Icon:e=>(0,rH.jsxs)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:[(0,rH.jsx)("path",{d:"M8 0V4",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M8 16V12",opacity:"0.5",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M3.29773 1.52783L5.64887 4.7639",opacity:"0.9",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M12.7023 1.52783L10.3511 4.7639",opacity:"0.1",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M12.7023 14.472L10.3511 11.236",opacity:"0.4",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M3.29773 14.472L5.64887 11.236",opacity:"0.6",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M15.6085 5.52783L11.8043 6.7639",opacity:"0.2",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M0.391602 10.472L4.19583 9.23598",opacity:"0.7",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M15.6085 10.4722L11.8043 9.2361",opacity:"0.3",stroke:"currentColor",strokeWidth:"1.5"}),(0,rH.jsx)("path",{d:"M0.391602 5.52783L4.19583 6.7639",opacity:"0.8",stroke:"currentColor",strokeWidth:"1.5"})]}),Maximize2Icon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M1 5.25V6H2.5V5.25V2.5H5.25H6V1H5.25H2C1.44772 1 1 1.44772 1 2V5.25ZM5.25 14.9994H6V13.4994H5.25H2.5V10.7494V9.99939H1V10.7494V13.9994C1 14.5517 1.44772 14.9994 2 14.9994H5.25ZM15 10V10.75V14C15 14.5523 14.5523 15 14 15H10.75H10V13.5H10.75H13.5V10.75V10H15ZM10.75 1H10V2.5H10.75H13.5V5.25V6H15V5.25V2C15 1.44772 14.5523 1 14 1H10.75Z",fill:"currentColor",fillRule:"evenodd"})}),RotateCcwIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M13.5 8C13.5 4.96643 11.0257 2.5 7.96452 2.5C5.42843 2.5 3.29365 4.19393 2.63724 6.5H5.25H6V8H5.25H0.75C0.335787 8 0 7.66421 0 7.25V2.75V2H1.5V2.75V5.23347C2.57851 2.74164 5.06835 1 7.96452 1C11.8461 1 15 4.13001 15 8C15 11.87 11.8461 15 7.96452 15C5.62368 15 3.54872 13.8617 2.27046 12.1122L1.828 11.5066L3.03915 10.6217L3.48161 11.2273C4.48831 12.6051 6.12055 13.5 7.96452 13.5C11.0257 13.5 13.5 11.0336 13.5 8Z",fill:"currentColor",fillRule:"evenodd"})}),XIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomInIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H5.875V4.75V4.125H7.125V4.75V5.875H8.25H8.875V7.125H8.25H7.125V8.25V8.875H5.875V8.25V7.125H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})}),ZoomOutIcon:e=>(0,rH.jsx)("svg",{color:"currentColor",height:16,strokeLinejoin:"round",viewBox:"0 0 16 16",width:16,...e,children:(0,rH.jsx)("path",{clipRule:"evenodd",d:"M1.5 6.5C1.5 3.73858 3.73858 1.5 6.5 1.5C9.26142 1.5 11.5 3.73858 11.5 6.5C11.5 9.26142 9.26142 11.5 6.5 11.5C3.73858 11.5 1.5 9.26142 1.5 6.5ZM6.5 0C2.91015 0 0 2.91015 0 6.5C0 10.0899 2.91015 13 6.5 13C8.02469 13 9.42677 12.475 10.5353 11.596L13.9697 15.0303L14.5 15.5607L15.5607 14.5L15.0303 13.9697L11.596 10.5353C12.475 9.42677 13 8.02469 13 6.5C13 2.91015 10.0899 0 6.5 0ZM4.125 5.875H4.75H8.25H8.875V7.125H8.25H4.75H4.125V5.875Z",fill:"currentColor",fillRule:"evenodd"})})},ac=(0,l.createContext)(al),au=({icons:e,children:t})=>{let n=(0,l.useRef)(e),r=(0,l.useRef)(e?{...al,...e}:al);((e,t)=>{if(e===t)return!0;if(!(e&&t))return e===t;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>e[n]===t[n])})(n.current,e)||(n.current=e,r.current=e?{...al,...e}:al);let i=r.current;return(0,rH.jsx)(ac.Provider,{value:i,children:t})},ah=()=>(0,l.useContext)(ac),ap={copyCode:"Copy Code",downloadFile:"Download file",downloadDiagram:"Download diagram",downloadDiagramAsSvg:"Download diagram as SVG",downloadDiagramAsPng:"Download diagram as PNG",downloadDiagramAsMmd:"Download diagram as MMD",viewFullscreen:"View fullscreen",exitFullscreen:"Exit fullscreen",mermaidFormatSvg:"SVG",mermaidFormatPng:"PNG",mermaidFormatMmd:"MMD",copyTable:"Copy table",copyTableAsMarkdown:"Copy table as Markdown",copyTableAsCsv:"Copy table as CSV",copyTableAsTsv:"Copy table as TSV",downloadTable:"Download table",downloadTableAsCsv:"Download table as CSV",downloadTableAsMarkdown:"Download table as Markdown",tableFormatMarkdown:"Markdown",tableFormatCsv:"CSV",tableFormatTsv:"TSV",imageNotAvailable:"Image not available",downloadImage:"Download image",openExternalLink:"Open external link?",externalLinkWarning:"You're about to visit an external website.",close:"Close",copyLink:"Copy link",copied:"Copied",openLink:"Open link"},ad=(0,l.createContext)(ap),af=()=>(0,l.useContext)(ad),am=({onCopy:e,onError:t,timeout:n=2e3,children:r,className:i,code:a,...s})=>{let o=i7(),[c,u]=(0,l.useState)(!1),h=(0,l.useRef)(0),{code:p}=ai(),{isAnimating:d}=(0,l.useContext)(oT),f=af(),m=null!=a?a:p,g=async()=>{var r;if("u"<typeof window||!(null!=(r=null==navigator?void 0:navigator.clipboard)&&r.writeText)){null==t||t(Error("Clipboard API not available"));return}try{c||(await navigator.clipboard.writeText(m),u(!0),null==e||e(),h.current=window.setTimeout(()=>u(!1),n))}catch(e){null==t||t(e)}};(0,l.useEffect)(()=>()=>{window.clearTimeout(h.current)},[]);let y=ah(),b=c?y.CheckIcon:y.CopyIcon;return(0,rH.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),"data-streamdown":"code-block-copy-button",disabled:d,onClick:g,title:f.copyCode,type:"button",...s,children:null!=r?r:(0,rH.jsx)(b,{size:14})})},ag={"1c":"1c","1c-query":"1cq",abap:"abap","actionscript-3":"as",ada:"ada",adoc:"adoc","angular-html":"html","angular-ts":"ts",apache:"conf",apex:"cls",apl:"apl",applescript:"applescript",ara:"ara",asciidoc:"adoc",asm:"asm",astro:"astro",awk:"awk",ballerina:"bal",bash:"sh",bat:"bat",batch:"bat",be:"be",beancount:"beancount",berry:"berry",bibtex:"bib",bicep:"bicep",blade:"blade.php",bsl:"bsl",c:"c","c#":"cs","c++":"cpp",cadence:"cdc",cairo:"cairo",cdc:"cdc",clarity:"clar",clj:"clj",clojure:"clj","closure-templates":"soy",cmake:"cmake",cmd:"cmd",cobol:"cob",codeowners:"CODEOWNERS",codeql:"ql",coffee:"coffee",coffeescript:"coffee","common-lisp":"lisp",console:"sh",coq:"v",cpp:"cpp",cql:"cql",crystal:"cr",cs:"cs",csharp:"cs",css:"css",csv:"csv",cue:"cue",cypher:"cql",d:"d",dart:"dart",dax:"dax",desktop:"desktop",diff:"diff",docker:"dockerfile",dockerfile:"dockerfile",dotenv:"env","dream-maker":"dm",edge:"edge",elisp:"el",elixir:"ex",elm:"elm","emacs-lisp":"el",erb:"erb",erl:"erl",erlang:"erl",f:"f","f#":"fs",f03:"f03",f08:"f08",f18:"f18",f77:"f77",f90:"f90",f95:"f95",fennel:"fnl",fish:"fish",fluent:"ftl",for:"for","fortran-fixed-form":"f","fortran-free-form":"f90",fs:"fs",fsharp:"fs",fsl:"fsl",ftl:"ftl",gdresource:"tres",gdscript:"gd",gdshader:"gdshader",genie:"gs",gherkin:"feature","git-commit":"gitcommit","git-rebase":"gitrebase",gjs:"js",gleam:"gleam","glimmer-js":"js","glimmer-ts":"ts",glsl:"glsl",gnuplot:"plt",go:"go",gql:"gql",graphql:"graphql",groovy:"groovy",gts:"gts",hack:"hack",haml:"haml",handlebars:"hbs",haskell:"hs",haxe:"hx",hbs:"hbs",hcl:"hcl",hjson:"hjson",hlsl:"hlsl",hs:"hs",html:"html","html-derivative":"html",http:"http",hxml:"hxml",hy:"hy",imba:"imba",ini:"ini",jade:"jade",java:"java",javascript:"js",jinja:"jinja",jison:"jison",jl:"jl",js:"js",json:"json",json5:"json5",jsonc:"jsonc",jsonl:"jsonl",jsonnet:"jsonnet",jssm:"jssm",jsx:"jsx",julia:"jl",kotlin:"kt",kql:"kql",kt:"kt",kts:"kts",kusto:"kql",latex:"tex",lean:"lean",lean4:"lean",less:"less",liquid:"liquid",lisp:"lisp",lit:"lit",llvm:"ll",log:"log",logo:"logo",lua:"lua",luau:"luau",make:"mak",makefile:"mak",markdown:"md",marko:"marko",matlab:"m",md:"md",mdc:"mdc",mdx:"mdx",mediawiki:"wiki",mermaid:"mmd",mips:"s",mipsasm:"s",mmd:"mmd",mojo:"mojo",move:"move",nar:"nar",narrat:"narrat",nextflow:"nf",nf:"nf",nginx:"conf",nim:"nim",nix:"nix",nu:"nu",nushell:"nu",objc:"m","objective-c":"m","objective-cpp":"mm",ocaml:"ml",pascal:"pas",perl:"pl",perl6:"p6",php:"php",plsql:"pls",po:"po",polar:"polar",postcss:"pcss",pot:"pot",potx:"potx",powerquery:"pq",powershell:"ps1",prisma:"prisma",prolog:"pl",properties:"properties",proto:"proto",protobuf:"proto",ps:"ps",ps1:"ps1",pug:"pug",puppet:"pp",purescript:"purs",py:"py",python:"py",ql:"ql",qml:"qml",qmldir:"qmldir",qss:"qss",r:"r",racket:"rkt",raku:"raku",razor:"cshtml",rb:"rb",reg:"reg",regex:"regex",regexp:"regexp",rel:"rel",riscv:"s",rs:"rs",rst:"rst",ruby:"rb",rust:"rs",sas:"sas",sass:"sass",scala:"scala",scheme:"scm",scss:"scss",sdbl:"sdbl",sh:"sh",shader:"shader",shaderlab:"shader",shell:"sh",shellscript:"sh",shellsession:"sh",smalltalk:"st",solidity:"sol",soy:"soy",sparql:"rq",spl:"spl",splunk:"spl",sql:"sql","ssh-config":"config",stata:"do",styl:"styl",stylus:"styl",svelte:"svelte",swift:"swift","system-verilog":"sv",systemd:"service",talon:"talon",talonscript:"talon",tasl:"tasl",tcl:"tcl",templ:"templ",terraform:"tf",tex:"tex",tf:"tf",tfvars:"tfvars",toml:"toml",ts:"ts","ts-tags":"ts",tsp:"tsp",tsv:"tsv",tsx:"tsx",turtle:"ttl",twig:"twig",typ:"typ",typescript:"ts",typespec:"tsp",typst:"typ",v:"v",vala:"vala",vb:"vb",verilog:"v",vhdl:"vhdl",vim:"vim",viml:"vim",vimscript:"vim",vue:"vue","vue-html":"html","vue-vine":"vine",vy:"vy",vyper:"vy",wasm:"wasm",wenyan:"wy",wgsl:"wgsl",wiki:"wiki",wikitext:"wiki",wit:"wit",wl:"wl",wolfram:"wl",xml:"xml",xsl:"xsl",yaml:"yaml",yml:"yml",zenscript:"zs",zig:"zig",zsh:"zsh",文言:"wy"},ay=({onDownload:e,onError:t,language:n,children:r,className:i,code:a,...s})=>{let o=i7(),{code:c}=ai(),{isAnimating:u}=(0,l.useContext)(oT),h=af(),p=ah(),d=null!=a?a:c,f=`file.${n&&n in ag?ag[n]:"txt"}`;return(0,rH.jsx)("button",{className:o("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),"data-streamdown":"code-block-download-button",disabled:u,onClick:()=>{try{i4(f,d,"text/plain"),null==e||e()}catch(e){null==t||t(e)}},title:h.downloadFile,type:"button",...s,children:null!=r?r:(0,rH.jsx)(p.DownloadIcon,{size:14})})},ab=()=>{let{Loader2Icon:e}=ah(),t=i7();return(0,rH.jsxs)("div",{className:t("w-full divide-y divide-border overflow-hidden rounded-xl border border-border"),children:[(0,rH.jsx)("div",{className:t("h-[46px] w-full bg-muted/80")}),(0,rH.jsx)("div",{className:t("flex w-full items-center justify-center p-4"),children:(0,rH.jsx)(e,{className:t("size-4 animate-spin")})})]})},a_=/\.[^/.]+$/,ak=0,aE=()=>{1===(ak+=1)&&(document.body.style.overflow="hidden")},aT=()=>{0===(ak=Math.max(0,ak-1))&&(document.body.style.overflow="")},ax=({url:e,isOpen:t,onClose:n,onConfirm:r})=>{let{CheckIcon:i,CopyIcon:a,ExternalLinkIcon:s,XIcon:o}=ah(),c=i7(),[u,h]=(0,l.useState)(!1),p=af(),d=(0,l.useCallback)(async()=>{try{await navigator.clipboard.writeText(e),h(!0),setTimeout(()=>h(!1),2e3)}catch(e){}},[e]),f=(0,l.useCallback)(()=>{r(),n()},[r,n]);return(0,l.useEffect)(()=>{if(t){aE();let e=e=>{"Escape"===e.key&&n()};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),aT()}}},[t,n]),t?(0,rH.jsx)("div",{className:c("fixed inset-0 z-50 flex items-center justify-center bg-background/50 backdrop-blur-sm"),"data-streamdown":"link-safety-modal",onClick:n,onKeyDown:e=>{"Escape"===e.key&&n()},role:"button",tabIndex:0,children:(0,rH.jsxs)("div",{className:c("relative mx-4 flex w-full max-w-md flex-col gap-4 rounded-xl border bg-background p-6 shadow-lg"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,rH.jsx)("button",{className:c("absolute top-4 right-4 rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:n,title:p.close,type:"button",children:(0,rH.jsx)(o,{size:16})}),(0,rH.jsxs)("div",{className:c("flex flex-col gap-2"),children:[(0,rH.jsxs)("div",{className:c("flex items-center gap-2 font-semibold text-lg"),children:[(0,rH.jsx)(s,{size:20}),(0,rH.jsx)("span",{children:p.openExternalLink})]}),(0,rH.jsx)("p",{className:c("text-muted-foreground text-sm"),children:p.externalLinkWarning})]}),(0,rH.jsx)("div",{className:c("break-all rounded-md bg-muted p-3 font-mono text-sm",e.length>100&&"max-h-32 overflow-y-auto"),children:e}),(0,rH.jsxs)("div",{className:c("flex gap-2"),children:[(0,rH.jsx)("button",{className:c("flex flex-1 items-center justify-center gap-2 rounded-md border bg-background px-4 py-2 font-medium text-sm transition-all hover:bg-muted"),onClick:d,type:"button",children:u?(0,rH.jsxs)(rH.Fragment,{children:[(0,rH.jsx)(i,{size:14}),(0,rH.jsx)("span",{children:p.copied})]}):(0,rH.jsxs)(rH.Fragment,{children:[(0,rH.jsx)(a,{size:14}),(0,rH.jsx)("span",{children:p.copyLink})]})}),(0,rH.jsxs)("button",{className:c("flex flex-1 items-center justify-center gap-2 rounded-md bg-primary px-4 py-2 font-medium text-primary-foreground text-sm transition-all hover:bg-primary/90"),onClick:f,type:"button",children:[(0,rH.jsx)(s,{size:14}),(0,rH.jsx)("span",{children:p.openLink})]})]})]})}):null},aA=(0,l.createContext)(null),aw=()=>(0,l.useContext)(aA),av=()=>{var e;let t=aw();return null!=(e=null==t?void 0:t.code)?e:null},aS=()=>{var e;let t=aw();return null!=(e=null==t?void 0:t.mermaid)?e:null},aC=({chart:e,children:t,className:n,onDownload:r,config:i,onError:a})=>{let s=i7(),[o,c]=(0,l.useState)(!1),u=(0,l.useRef)(null),{isAnimating:h}=(0,l.useContext)(oT),p=ah(),d=aS(),f=af(),m=async t=>{try{if("mmd"===t){i4("diagram.mmd",e,"text/plain"),c(!1),null==r||r(t);return}if(!d){null==a||a(Error("Mermaid plugin not available"));return}let s=d.getMermaid(i),o=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),l=`mermaid-${Math.abs(o)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:u}=await s.render(l,e);if(!u){null==a||a(Error("SVG not found. Please wait for the diagram to render."));return}if("svg"===t){i4("diagram.svg",u,"image/svg+xml"),c(!1),null==r||r(t);return}if("png"===t){var n;let e=await (n=u,new Promise((e,t)=>{let r="data:image/svg+xml;base64,"+btoa(unescape(encodeURIComponent(n))),i=new Image;i.crossOrigin="anonymous",i.onload=()=>{let n=document.createElement("canvas"),r=5*i.width,a=5*i.height;n.width=r,n.height=a;let s=n.getContext("2d");s?(s.drawImage(i,0,0,r,a),n.toBlob(n=>{n?e(n):t(Error("Failed to create PNG blob"))},"image/png")):t(Error("Failed to create 2D canvas context for PNG export"))},i.onerror=()=>t(Error("Failed to load SVG image")),i.src=r}));i4("diagram.png",e,"image/png"),null==r||r(t),c(!1);return}}catch(e){null==a||a(e)}};return(0,l.useEffect)(()=>{let e=e=>{let t=e.composedPath();u.current&&!t.includes(u.current)&&c(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,rH.jsxs)("div",{className:s("relative"),ref:u,children:[(0,rH.jsx)("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",n),disabled:h,onClick:()=>c(!o),title:f.downloadDiagram,type:"button",children:null!=t?t:(0,rH.jsx)(p.DownloadIcon,{size:14})}),o?(0,rH.jsxs)("div",{className:s("absolute top-full right-0 z-10 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,rH.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("svg"),title:f.downloadDiagramAsSvg,type:"button",children:f.mermaidFormatSvg}),(0,rH.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("png"),title:f.downloadDiagramAsPng,type:"button",children:f.mermaidFormatPng}),(0,rH.jsx)("button",{className:s("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("mmd"),title:f.downloadDiagramAsMmd,type:"button",children:f.mermaidFormatMmd})]}):null]})},aN=({chart:e,config:t,onFullscreen:n,onExit:r,className:i,...a})=>{let{Maximize2Icon:s,XIcon:o}=ah(),c=i7(),[u,h]=(0,l.useState)(!1),{isAnimating:p,controls:d}=(0,l.useContext)(oT),f=af(),m=(()=>{if("boolean"==typeof d)return d;let e=d.mermaid;return!1!==e&&(!0===e||void 0===e||!1!==e.panZoom)})(),g=()=>{h(!u)};return(0,l.useEffect)(()=>{if(u){aE();let e=e=>{"Escape"===e.key&&h(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),aT()}}},[u]),(0,l.useEffect)(()=>{u?null==n||n():r&&r()},[u,n,r]),(0,rH.jsxs)(rH.Fragment,{children:[(0,rH.jsx)("button",{className:c("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",i),disabled:p,onClick:g,title:f.viewFullscreen,type:"button",...a,children:(0,rH.jsx)(s,{size:14})}),u?(0,rU.createPortal)((0,rH.jsxs)("div",{className:c("fixed inset-0 z-50 flex items-center justify-center bg-background/95 backdrop-blur-sm"),onClick:g,onKeyDown:e=>{"Escape"===e.key&&g()},role:"button",tabIndex:0,children:[(0,rH.jsx)("button",{className:c("absolute top-4 right-4 z-10 rounded-md p-2 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:g,title:f.exitFullscreen,type:"button",children:(0,rH.jsx)(o,{size:20})}),(0,rH.jsx)("div",{className:c("flex size-full items-center justify-center p-4"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:(0,rH.jsx)(ov,{chart:e,className:c("size-full [&_svg]:h-auto [&_svg]:w-auto"),config:t,fullscreen:!0,showControls:m})})]}),document.body):null]})},aI=e=>{var t,n;let r=[],i=[];for(let n of e.querySelectorAll("thead th"))r.push((null==(t=n.textContent)?void 0:t.trim())||"");for(let t of e.querySelectorAll("tbody tr")){let e=[];for(let r of t.querySelectorAll("td"))e.push((null==(n=r.textContent)?void 0:n.trim())||"");i.push(e)}return{headers:r,rows:i}},aD=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1,n=!1;for(let r of e){if('"'===r){t=!0,n=!0;break}(","===r||r===`
|
|
84
|
+
`)&&(t=!0)}return t?n?`"${e.replace(/"/g,'""')}"`:`"${e}"`:e},i=Array(t.length>0?n.length+1:n.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(r).join(","),a+=1),n))i[a]=e.map(r).join(","),a+=1;return i.join(`
|
|
85
|
+
`)},aO=e=>{let{headers:t,rows:n}=e,r=e=>{let t=!1;for(let n of e)if(" "===n||n===`
|
|
86
|
+
`||"\r"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)" "===t?n.push("\\t"):t===`
|
|
87
|
+
`?n.push("\\n"):"\r"===t?n.push("\\r"):n.push(t);return n.join("")},i=Array(t.length>0?n.length+1:n.length),a=0;for(let e of(t.length>0&&(i[a]=t.map(r).join(" "),a+=1),n))i[a]=e.map(r).join(" "),a+=1;return i.join(`
|
|
88
|
+
`)},aM=e=>{let t=!1;for(let n of e)if("\\"===n||"|"===n){t=!0;break}if(!t)return e;let n=[];for(let t of e)"\\"===t?n.push("\\\\"):"|"===t?n.push("\\|"):n.push(t);return n.join("")},aL=e=>{let{headers:t,rows:n}=e;if(0===t.length)return"";let r=Array(n.length+2),i=0,a=t.map(e=>aM(e));r[i]=`| ${a.join(" | ")} |`,i+=1;let s=Array(t.length);for(let e=0;e<t.length;e+=1)s[e]="---";for(let e of(r[i]=`| ${s.join(" | ")} |`,i+=1,n))if(e.length<t.length){let n=Array(t.length);for(let r=0;r<t.length;r+=1)n[r]=r<e.length?aM(e[r]):"";r[i]=`| ${n.join(" | ")} |`,i+=1}else{let t=e.map(e=>aM(e));r[i]=`| ${t.join(" | ")} |`,i+=1}return r.join(`
|
|
89
|
+
`)},aR=({children:e,className:t,onCopy:n,onError:r,timeout:i=2e3})=>{let a=i7(),[s,o]=(0,l.useState)(!1),[c,u]=(0,l.useState)(!1),h=(0,l.useRef)(null),p=(0,l.useRef)(0),{isAnimating:d}=(0,l.useContext)(oT),f=af(),m=async e=>{var t,a;if("u"<typeof window||!(null!=(t=null==navigator?void 0:navigator.clipboard)&&t.write)){null==r||r(Error("Clipboard API not available"));return}try{let t=null==(a=h.current)?void 0:a.closest('[data-streamdown="table-wrapper"]'),s=null==t?void 0:t.querySelector("table");if(!s){null==r||r(Error("Table not found"));return}let l=aI(s),c=(({csv:aD,tsv:aO,md:aL})[e]||aL)(l),d=new ClipboardItem({"text/plain":new Blob([c],{type:"text/plain"}),"text/html":new Blob([s.outerHTML],{type:"text/html"})});await navigator.clipboard.write([d]),u(!0),o(!1),null==n||n(e),p.current=window.setTimeout(()=>u(!1),i)}catch(e){null==r||r(e)}};(0,l.useEffect)(()=>{let e=e=>{let t=e.composedPath();h.current&&!t.includes(h.current)&&o(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e),window.clearTimeout(p.current)}},[]);let g=ah(),y=c?g.CheckIcon:g.CopyIcon;return(0,rH.jsxs)("div",{className:a("relative"),ref:h,children:[(0,rH.jsx)("button",{className:a("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:d,onClick:()=>o(!s),title:f.copyTable,type:"button",children:null!=e?e:(0,rH.jsx)(y,{height:14,width:14})}),s?(0,rH.jsxs)("div",{className:a("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,rH.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("md"),title:f.copyTableAsMarkdown,type:"button",children:f.tableFormatMarkdown}),(0,rH.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("csv"),title:f.copyTableAsCsv,type:"button",children:f.tableFormatCsv}),(0,rH.jsx)("button",{className:a("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>m("tsv"),title:f.copyTableAsTsv,type:"button",children:f.tableFormatTsv})]}):null]})},aP=({children:e,className:t,onDownload:n,onError:r})=>{let i=i7(),[a,s]=(0,l.useState)(!1),o=(0,l.useRef)(null),{isAnimating:c}=(0,l.useContext)(oT),u=af(),h=ah(),p=e=>{var t;try{let i=null==(t=o.current)?void 0:t.closest('[data-streamdown="table-wrapper"]'),a=null==i?void 0:i.querySelector("table");if(!a){null==r||r(Error("Table not found"));return}let l=aI(a),c="csv"===e?aD(l):aL(l);i4(`table.${"csv"===e?"csv":"md"}`,c,"csv"===e?"text/csv":"text/markdown"),s(!1),null==n||n(e)}catch(e){null==r||r(e)}};return(0,l.useEffect)(()=>{let e=e=>{let t=e.composedPath();o.current&&!t.includes(o.current)&&s(!1)};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,rH.jsxs)("div",{className:i("relative"),ref:o,children:[(0,rH.jsx)("button",{className:i("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:c,onClick:()=>s(!a),title:u.downloadTable,type:"button",children:null!=e?e:(0,rH.jsx)(h.DownloadIcon,{size:14})}),a?(0,rH.jsxs)("div",{className:i("absolute top-full right-0 z-20 mt-1 min-w-[120px] overflow-hidden rounded-md border border-border bg-background shadow-lg"),children:[(0,rH.jsx)("button",{className:i("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>p("csv"),title:u.downloadTableAsCsv,type:"button",children:u.tableFormatCsv}),(0,rH.jsx)("button",{className:i("w-full px-3 py-2 text-left text-sm transition-colors hover:bg-muted/40"),onClick:()=>p("markdown"),title:u.downloadTableAsMarkdown,type:"button",children:u.tableFormatMarkdown})]}):null]})},aF=({children:e,className:t,showCopy:n=!0,showDownload:r=!0})=>{let{Maximize2Icon:i,XIcon:a}=ah(),s=i7(),[o,c]=(0,l.useState)(!1),{isAnimating:u}=(0,l.useContext)(oT),h=af(),p=()=>{c(!1)};return(0,l.useEffect)(()=>{if(o){aE();let e=e=>{"Escape"===e.key&&c(!1)};return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e),aT()}}},[o]),(0,rH.jsxs)(rH.Fragment,{children:[(0,rH.jsx)("button",{className:s("cursor-pointer p-1 text-muted-foreground transition-all hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50",t),disabled:u,onClick:()=>{c(!0)},title:h.viewFullscreen,type:"button",children:(0,rH.jsx)(i,{size:14})}),o?(0,rU.createPortal)((0,rH.jsx)("div",{"aria-label":h.viewFullscreen,"aria-modal":"true",className:s("fixed inset-0 z-50 flex flex-col bg-background"),"data-streamdown":"table-fullscreen",onClick:p,onKeyDown:e=>{"Escape"===e.key&&p()},role:"dialog",children:(0,rH.jsxs)("div",{className:s("flex h-full flex-col"),onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),role:"presentation",children:[(0,rH.jsxs)("div",{className:s("flex items-center justify-end gap-1 p-4"),children:[n?(0,rH.jsx)(aR,{}):null,r?(0,rH.jsx)(aP,{}):null,(0,rH.jsx)("button",{className:s("rounded-md p-1 text-muted-foreground transition-all hover:bg-muted hover:text-foreground"),onClick:p,title:h.exitFullscreen,type:"button",children:(0,rH.jsx)(a,{size:20})})]}),(0,rH.jsx)("div",{className:s("flex-1 overflow-auto p-4 pt-0 [&_thead]:sticky [&_thead]:top-0 [&_thead]:z-10"),children:(0,rH.jsx)("table",{className:s("w-full border-collapse border border-border"),"data-streamdown":"table",children:e})})]})}),document.body):null]})},aB=({children:e,className:t,showControls:n,showCopy:r=!0,showDownload:i=!0,showFullscreen:a=!0,...s})=>{let o=i7(),l=n&&r,c=n&&i,u=n&&a,h=l||c||u;return(0,rH.jsxs)("div",{className:o("my-4 flex flex-col gap-2 rounded-lg border border-border bg-sidebar p-2"),"data-streamdown":"table-wrapper",children:[h?(0,rH.jsxs)("div",{className:o("flex items-center justify-end gap-1"),children:[l?(0,rH.jsx)(aR,{}):null,c?(0,rH.jsx)(aP,{}):null,u?(0,rH.jsx)(aF,{showCopy:l,showDownload:c,children:e}):null]}):null,(0,rH.jsx)("div",{className:o("border-collapse overflow-x-auto overflow-y-auto rounded-md border border-border bg-background"),children:(0,rH.jsx)("table",{className:o("w-full divide-y divide-border",t),"data-streamdown":"table",...s,children:e})})]})},aH=/startLine=(\d+)/,aU=/\bnoLineNumbers\b/,aj=(0,l.lazy)(()=>n.e(7656).then(n.bind(n,57656)).then(e=>({default:e.Mermaid}))),a$=/language-([^\s]+)/;function az(e,t){if(!(null!=e&&e.position||null!=t&&t.position))return!0;if(!(null!=e&&e.position&&null!=t&&t.position))return!1;let n=e.position.start,r=t.position.start,i=e.position.end,a=t.position.end;return(null==n?void 0:n.line)===(null==r?void 0:r.line)&&(null==n?void 0:n.column)===(null==r?void 0:r.column)&&(null==i?void 0:i.line)===(null==a?void 0:a.line)&&(null==i?void 0:i.column)===(null==a?void 0:a.column)}function aG(e,t){return e.className===t.className&&az(e.node,t.node)}var aK=(e,t)=>"boolean"==typeof e?e:!1!==e[t],aY=(e,t)=>{if("boolean"==typeof e)return e;let n=e.table;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},aq=(e,t)=>{if("boolean"==typeof e)return e;let n=e.code;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},aW=(e,t)=>{if("boolean"==typeof e)return e;let n=e.mermaid;return!1!==n&&(!0===n||void 0===n||!1!==n[t])},aV=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("ol",{className:i("list-inside list-decimal whitespace-normal [li_&]:pl-6",t),"data-streamdown":"ordered-list",...r,children:e})},(e,t)=>aG(e,t));aV.displayName="MarkdownOl";var aX=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("li",{className:i("py-1 [&>p]:inline",t),"data-streamdown":"list-item",...r,children:e})},(e,t)=>e.className===t.className&&az(e.node,t.node));aX.displayName="MarkdownLi";var aQ=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("ul",{className:i("list-inside list-disc whitespace-normal [li_&]:pl-6",t),"data-streamdown":"unordered-list",...r,children:e})},(e,t)=>aG(e,t));aQ.displayName="MarkdownUl";var aZ=(0,l.memo)(({className:e,node:t,...n})=>{let r=i7();return(0,rH.jsx)("hr",{className:r("my-6 border-border",e),"data-streamdown":"horizontal-rule",...n})},(e,t)=>aG(e,t));aZ.displayName="MarkdownHr";var aJ=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("span",{className:i("font-semibold",t),"data-streamdown":"strong",...r,children:e})},(e,t)=>aG(e,t));aJ.displayName="MarkdownStrong";var a0=(0,l.memo)(({children:e,className:t,href:n,node:r,...i})=>{let a=i7(),{linkSafety:s}=(0,l.useContext)(oT),[o,c]=(0,l.useState)(!1),u="streamdown:incomplete-link"===n,h=(0,l.useCallback)(async e=>{if(!(!(null!=s&&s.enabled&&n)||u)){if(e.preventDefault(),s.onLinkCheck&&await s.onLinkCheck(n))return void window.open(n,"_blank","noreferrer");c(!0)}},[s,n,u]),p=(0,l.useCallback)(()=>{n&&window.open(n,"_blank","noreferrer")},[n]),d={url:null!=n?n:"",isOpen:o,onClose:(0,l.useCallback)(()=>{c(!1)},[]),onConfirm:p};return null!=s&&s.enabled&&n?(0,rH.jsxs)(rH.Fragment,{children:[(0,rH.jsx)("button",{className:a("wrap-anywhere appearance-none text-left font-medium text-primary underline",t),"data-incomplete":u,"data-streamdown":"link",onClick:h,type:"button",children:e}),s.renderModal?s.renderModal(d):(0,rH.jsx)(ax,{...d})]}):(0,rH.jsx)("a",{className:a("wrap-anywhere font-medium text-primary underline",t),"data-incomplete":u,"data-streamdown":"link",href:n,rel:"noreferrer",target:"_blank",...i,children:e})},(e,t)=>aG(e,t)&&e.href===t.href);a0.displayName="MarkdownA";var a1=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("h1",{className:i("mt-6 mb-2 font-semibold text-3xl",t),"data-streamdown":"heading-1",...r,children:e})},(e,t)=>aG(e,t));a1.displayName="MarkdownH1";var a2=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("h2",{className:i("mt-6 mb-2 font-semibold text-2xl",t),"data-streamdown":"heading-2",...r,children:e})},(e,t)=>aG(e,t));a2.displayName="MarkdownH2";var a3=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("h3",{className:i("mt-6 mb-2 font-semibold text-xl",t),"data-streamdown":"heading-3",...r,children:e})},(e,t)=>aG(e,t));a3.displayName="MarkdownH3";var a5=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("h4",{className:i("mt-6 mb-2 font-semibold text-lg",t),"data-streamdown":"heading-4",...r,children:e})},(e,t)=>aG(e,t));a5.displayName="MarkdownH4";var a9=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("h5",{className:i("mt-6 mb-2 font-semibold text-base",t),"data-streamdown":"heading-5",...r,children:e})},(e,t)=>aG(e,t));a9.displayName="MarkdownH5";var a6=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("h6",{className:i("mt-6 mb-2 font-semibold text-sm",t),"data-streamdown":"heading-6",...r,children:e})},(e,t)=>aG(e,t));a6.displayName="MarkdownH6";var a4=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let{controls:i}=(0,l.useContext)(oT),a=aK(i,"table"),s=aY(i,"copy"),o=aY(i,"download"),c=aY(i,"fullscreen");return(0,rH.jsx)(aB,{className:t,showControls:a,showCopy:s,showDownload:o,showFullscreen:c,...r,children:e})},(e,t)=>aG(e,t));a4.displayName="MarkdownTable";var a8=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("thead",{className:i("bg-muted/80",t),"data-streamdown":"table-header",...r,children:e})},(e,t)=>aG(e,t));a8.displayName="MarkdownThead";var a7=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("tbody",{className:i("divide-y divide-border",t),"data-streamdown":"table-body",...r,children:e})},(e,t)=>aG(e,t));a7.displayName="MarkdownTbody";var se=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("tr",{className:i("border-border",t),"data-streamdown":"table-row",...r,children:e})},(e,t)=>aG(e,t));se.displayName="MarkdownTr";var st=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("th",{className:i("whitespace-nowrap px-4 py-2 text-left font-semibold text-sm",t),"data-streamdown":"table-header-cell",...r,children:e})},(e,t)=>aG(e,t));st.displayName="MarkdownTh";var sn=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("td",{className:i("px-4 py-2 text-sm",t),"data-streamdown":"table-cell",...r,children:e})},(e,t)=>aG(e,t));sn.displayName="MarkdownTd";var sr=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("blockquote",{className:i("my-4 border-muted-foreground/30 border-l-4 pl-4 text-muted-foreground italic",t),"data-streamdown":"blockquote",...r,children:e})},(e,t)=>aG(e,t));sr.displayName="MarkdownBlockquote";var si=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("sup",{className:i("text-sm",t),"data-streamdown":"superscript",...r,children:e})},(e,t)=>aG(e,t));si.displayName="MarkdownSup";var sa=(0,l.memo)(({children:e,className:t,node:n,...r})=>{let i=i7();return(0,rH.jsx)("sub",{className:i("text-sm",t),"data-streamdown":"subscript",...r,children:e})},(e,t)=>aG(e,t));sa.displayName="MarkdownSub";var ss=(0,l.memo)(({children:e,className:t,node:n,...r})=>{if("data-footnotes"in r){let n=Array.isArray(e)?e.map(e=>{if(!(0,l.isValidElement)(e))return e;if(e.type===aV){let t=(Array.isArray(e.props.children)?e.props.children:[e.props.children]).filter(e=>!(e=>{var t,n;if(!(0,l.isValidElement)(e))return!1;let r=Array.isArray(e.props.children)?e.props.children:[e.props.children],i=!1,a=!1;for(let e of r)if(e){if("string"==typeof e)""!==e.trim()&&(i=!0);else if((0,l.isValidElement)(e)){if((null==(t=e.props)?void 0:t["data-footnote-backref"])!==void 0)a=!0;else for(let t of Array.isArray(e.props.children)?e.props.children:[e.props.children])if("string"==typeof t&&""!==t.trim()||(0,l.isValidElement)(t)&&(null==(n=t.props)?void 0:n["data-footnote-backref"])===void 0){i=!0;break}}}return a&&!i})(e));return 0===t.length?null:{...e,props:{...e.props,children:t}}}return e}):e;return(Array.isArray(n)?n.some(e=>null!==e):null!==n)?(0,rH.jsx)("section",{className:t,...r,children:n}):null}return(0,rH.jsx)("section",{className:t,...r,children:e})},(e,t)=>aG(e,t));ss.displayName="MarkdownSection";var so=(0,l.memo)(({node:e,className:t,children:n,...r})=>{var i,a,s;let o,c=i7(),u=!("data-block"in r),{mermaid:h,controls:p,lineNumbers:d}=(0,l.useContext)(oT),f=aS(),m=(0,l.useContext)(i9),g=null==t?void 0:t.match(a$),y=null!=(i=null==g?void 0:g.at(1))?i:"",b=null!=(o=aw())&&o.renderers&&y&&null!=(s=o.renderers.find(e=>Array.isArray(e.language)?e.language.includes(y):e.language===y))?s:null;if(u)return(0,rH.jsx)("code",{className:c("rounded bg-muted px-1.5 py-0.5 font-mono text-sm",t),"data-streamdown":"inline-code",...r,children:n});let _=null==(a=null==e?void 0:e.properties)?void 0:a.metastring,k=null==_?void 0:_.match(aH),E=k?Number.parseInt(k[1],10):void 0,T=!(_&&aU.test(_))&&!1!==d,x="";if((0,l.isValidElement)(n)&&n.props&&"object"==typeof n.props&&"children"in n.props&&"string"==typeof n.props.children?x=n.props.children:"string"==typeof n&&(x=n),b){let e=b.component;return(0,rH.jsx)(l.Suspense,{fallback:(0,rH.jsx)(ab,{}),children:(0,rH.jsx)(e,{code:x,isIncomplete:m,language:y,meta:_})})}if("mermaid"===y&&f){let e=aK(p,"mermaid"),n=aW(p,"download"),r=aW(p,"copy"),i=aW(p,"fullscreen"),a=aW(p,"panZoom");return(0,rH.jsx)(l.Suspense,{fallback:(0,rH.jsx)(ab,{}),children:(0,rH.jsxs)("div",{className:c("group relative my-4 flex w-full flex-col gap-2 rounded-xl border border-border bg-sidebar p-2",t),"data-streamdown":"mermaid-block",children:[(0,rH.jsx)("div",{className:c("flex h-8 items-center text-muted-foreground text-xs"),children:(0,rH.jsx)("span",{className:c("ml-1 font-mono lowercase"),children:"mermaid"})}),e&&(n||r||i)?(0,rH.jsx)("div",{className:c("pointer-events-none sticky top-2 z-10 -mt-10 flex h-8 items-center justify-end"),children:(0,rH.jsxs)("div",{className:c("pointer-events-auto flex shrink-0 items-center gap-2 rounded-md border border-sidebar bg-sidebar/80 px-1.5 py-1 supports-[backdrop-filter]:bg-sidebar/70 supports-[backdrop-filter]:backdrop-blur"),"data-streamdown":"mermaid-block-actions",children:[n?(0,rH.jsx)(aC,{chart:x,config:null==h?void 0:h.config}):null,r?(0,rH.jsx)(am,{code:x}):null,i?(0,rH.jsx)(aN,{chart:x,config:null==h?void 0:h.config}):null]})}):null,(0,rH.jsx)("div",{className:c("rounded-md border border-border bg-background"),children:(0,rH.jsx)(aj,{chart:x,config:null==h?void 0:h.config,showControls:a})})]})})}let A=aK(p,"code"),w=aq(p,"download"),v=aq(p,"copy");return(0,rH.jsx)(ao,{className:t,code:x,isIncomplete:m,language:y,lineNumbers:T,startLine:void 0!==E&&E>=1?E:void 0,children:A?(0,rH.jsxs)(rH.Fragment,{children:[w?(0,rH.jsx)(ay,{code:x,language:y}):null,v?(0,rH.jsx)(am,{}):null]}):null})},(e,t)=>e.className===t.className&&az(e.node,t.node));so.displayName="MarkdownCode";var sl=(0,l.memo)(({node:e,className:t,src:n,alt:r,onLoad:i,onError:a,...s})=>{let{DownloadIcon:o}=ah(),c=i7(),u=(0,l.useRef)(null),[h,p]=(0,l.useState)(!1),[d,f]=(0,l.useState)(!1),m=af(),g=null!=s.width||null!=s.height,y=(h||g)&&!d,b=d&&!g;(0,l.useEffect)(()=>{let e=u.current;if(null!=e&&e.complete){let t=e.naturalWidth>0;p(t),f(!t)}},[]);let _=(0,l.useCallback)(e=>{p(!0),f(!1),null==i||i(e)},[i]),k=(0,l.useCallback)(e=>{p(!1),f(!0),null==a||a(e)},[a]),E=async()=>{if(n)try{let e=await (await fetch(n)).blob(),t=new URL(n,window.location.origin).pathname.split("/").pop()||"",i=t.split(".").pop(),a=t.includes(".")&&void 0!==i&&i.length<=4,s="";if(a)s=t;else{let n=e.type,i="png";n.includes("jpeg")||n.includes("jpg")?i="jpg":n.includes("png")?i="png":n.includes("svg")?i="svg":n.includes("gif")?i="gif":n.includes("webp")&&(i="webp"),s=`${(r||t||"image").replace(a_,"")}.${i}`}i4(s,e,e.type)}catch(e){window.open(n,"_blank")}};return n?(0,rH.jsxs)("div",{className:c("group relative my-4 inline-block"),"data-streamdown":"image-wrapper",children:[(0,rH.jsx)("img",{alt:r,className:c("max-w-full rounded-lg",b&&"hidden",t),"data-streamdown":"image",onError:k,onLoad:_,ref:u,src:n,...s}),b&&(0,rH.jsx)("span",{className:c("text-muted-foreground text-xs italic"),"data-streamdown":"image-fallback",children:m.imageNotAvailable}),(0,rH.jsx)("div",{className:c("pointer-events-none absolute inset-0 hidden rounded-lg bg-black/10 group-hover:block")}),y&&(0,rH.jsx)("button",{className:c("absolute right-2 bottom-2 flex h-8 w-8 cursor-pointer items-center justify-center rounded-md border border-border bg-background/90 shadow-sm backdrop-blur-sm transition-all duration-200 hover:bg-background","opacity-0 group-hover:opacity-100"),onClick:E,title:m.downloadImage,type:"button",children:(0,rH.jsx)(o,{size:14})})]}):null},(e,t)=>e.className===t.className&&az(e.node,t.node));sl.displayName="MarkdownImg";var sc=(0,l.memo)(({children:e,node:t,...n})=>{let r=(Array.isArray(e)?e:[e]).filter(e=>null!=e&&""!==e);if(1===r.length&&(0,l.isValidElement)(r[0])){let t=r[0].props.node,n=null==t?void 0:t.tagName;if("img"===n||"code"===n&&"data-block"in r[0].props)return(0,rH.jsx)(rH.Fragment,{children:e})}return(0,rH.jsx)("p",{...n,children:e})},(e,t)=>aG(e,t));sc.displayName="MarkdownParagraph";var su={ol:aV,li:aX,ul:aQ,hr:aZ,strong:aJ,a:a0,h1:a1,h2:a2,h3:a3,h4:a5,h5:a9,h6:a6,table:a4,thead:a8,tbody:a7,tr:se,th:st,td:sn,blockquote:sr,code:so,img:sl,pre:({children:e})=>(0,l.isValidElement)(e)?(0,l.cloneElement)(e,{"data-block":"true"}):e,sup:si,sub:sa,p:sc,section:ss},sh=/[\u0590-\u08FF\uFB1D-\uFDFF\uFE70-\uFEFF]/,sp=/\p{L}/u;function sd(e){for(let t of e.replace(/^#{1,6}\s+/gm,"").replace(/(\*{1,3}|_{1,3})/g,"").replace(/`[^`]*`/g,"").replace(/\[([^\]]*)\]\([^)]*\)/g,"$1").replace(/^[\s>*\-+\d.]+/gm,"")){if(sh.test(t))return"rtl";if(sp.test(t))break}return"ltr"}var sf,sm,sg,sy,sb,s_,sk,sE,sT,sx,sA,sw,sv,sS,sC,sN,sI,sD,sO,sM,sL,sR,sP,sF,sB,sH,sU,sj,s$,sz,sG,sK,sY,sq,sW,sV=/^[ \t]{0,3}(`{3,}|~{3,})/,sX=/^\|?[ \t]*:?-{1,}:?[ \t]*(\|[ \t]*:?-{1,}:?[ \t]*)*\|?$/,sQ=e=>{let t=e.split(`
|
|
90
|
+
`),n=null,r=0;for(let e of t){let t=sV.exec(e);if(null===n){if(t){let e=t[1];n=e[0],r=e.length}}else if(t){let e=t[1],i=e[0],a=e.length;i===n&&a>=r&&(n=null,r=0)}}return null!==n},sZ=()=>e=>{(0,c.YR)(e,"html",(e,t,n)=>{n&&"number"==typeof t&&(n.children[t]={type:"text",value:e.value})})},sJ=[],s0={allowDangerousHtml:!0},s1=new WeakMap,s2=new class{constructor(){this.cache=new Map,this.keyCache=new WeakMap,this.maxSize=100}generateCacheKey(e){let t=this.keyCache.get(e);if(t)return t;let n=e.rehypePlugins,r=e.remarkPlugins,i=e.remarkRehypeOptions;if(!(n||r||i)){let t="default";return this.keyCache.set(e,t),t}let a=e=>{if(!e||0===e.length)return"";let t="";for(let n=0;n<e.length;n+=1){let r=e[n];if(n>0&&(t+=","),Array.isArray(r)){let[e,n]=r;if("function"==typeof e){let n=s1.get(e);n||(n=e.name,s1.set(e,n)),t+=n}else t+=String(e);t+=":",t+=JSON.stringify(n)}else if("function"==typeof r){let e=s1.get(r);e||(e=r.name,s1.set(r,e)),t+=e}else t+=String(r)}return t},s=a(n),o=a(r),l=i?JSON.stringify(i):"",c=`${o}::${s}::${l}`;return this.keyCache.set(e,c),c}get(e){let t=this.generateCacheKey(e),n=this.cache.get(t);return n&&(this.cache.delete(t),this.cache.set(t,n)),n}set(e,t){let n=this.generateCacheKey(e);if(this.cache.size>=this.maxSize){let e=this.cache.keys().next().value;e&&this.cache.delete(e)}this.cache.set(n,t)}clear(){this.cache.clear()}},s3=e=>{let t=s5(e),n=e.children||"";return s4(t.runSync(t.parse(n),n),e)},s5=e=>{let t=s2.get(e);if(t)return t;let n=s9(e);return s2.set(e,n),n},s9=e=>{let t=e.rehypePlugins||sJ,n=e.remarkPlugins||sJ,r=t.some(e=>Array.isArray(e)?e[0]===tU:e===tU)?n:[...n,sZ],i=e.remarkRehypeOptions?{...s0,...e.remarkRehypeOptions}:s0;return(0,rK.l)().use(rz.A).use(r).use(rG.A,i).use(t)},s6=e=>e,s4=(e,t)=>{let{allowElement:n,allowedElements:r,disallowedElements:i,skipHtml:a,unwrapDisallowed:s,urlTransform:o}=t;if(n||r||i||a||o){let t=o||s6;(0,c.YR)(e,(e,o,l)=>{var c;let u;return"raw"===e.type&&l&&"number"==typeof o?(c=e.value,a?l.children.splice(o,1):l.children[o]={type:"text",value:c},o):"element"===e.type&&(((e,t)=>{var n;for(let r in r$.$)if(Object.hasOwn(r$.$,r)&&Object.hasOwn(e.properties,r)){let i=e.properties[r],a=r$.$[r];(null===a||a.includes(e.tagName))&&(e.properties[r]=null!=(n=t(String(i||""),r,e))?n:void 0)}})(e,t),u=!1,r?u=!r.includes(e.tagName):i&&(u=i.includes(e.tagName)),!u&&n&&"number"==typeof o&&(u=!n(e,o,l)),u&&l&&"number"==typeof o)?(s&&e.children?l.children.splice(o,1,...e.children):l.children.splice(o,1),o):void 0})}return(0,rj.H)(e,{Fragment:rH.Fragment,components:t.components,ignoreInvalidStyle:!0,jsx:rH.jsx,jsxs:rH.jsxs,passKeys:!0,passNode:!0})},s8=/\[\^[\w-]{1,200}\](?!:)/,s7=/\[\^[\w-]{1,200}\]:/,oe=/<(\w+)[\s>]/,ot=new Set(["area","base","br","col","embed","hr","img","input","link","meta","param","source","track","wbr"]),on=new Map,or=new Map,oi=(e,t)=>{if(ot.has(t.toLowerCase()))return 0;let n=e.match((e=>{let t=e.toLowerCase(),n=on.get(t);if(n)return n;let r=RegExp(`<${t}(?=[\\s>/])[^>]*>`,"gi");return on.set(t,r),r})(t));if(!n)return 0;let r=0;for(let e of n)e.trimEnd().endsWith("/>")||(r+=1);return r},oa=(e,t)=>{let n=e.match((e=>{let t=e.toLowerCase(),n=or.get(t);if(n)return n;let r=RegExp(`</${t}(?=[\\s>])[^>]*>`,"gi");return or.set(t,r),r})(t));return n?n.length:0},os=e=>{let t=0;for(let n=0;n<e.length-1;n+=1)"$"===e[n]&&"$"===e[n+1]&&(t+=1,n+=1);return t},oo=e=>{let t=s8.test(e),n=s7.test(e);if(t||n)return[e];let r=iq.lex(e,{gfm:!0}),i=[],a=[],s=!1;for(let e of r){let t=e.raw,n=i.length;if(a.length>0){i[n-1]+=t;let e=a.at(-1),r=oi(t,e),s=oa(t,e);for(let t=0;t<r;t+=1)a.push(e);for(let t=0;t<s;t+=1)a.length>0&&a.at(-1)===e&&a.pop();continue}if("html"===e.type&&e.block){let e=t.match(oe);if(e){let n=e[1];oi(t,n)>oa(t,n)&&a.push(n)}}if(n>0&&!s){let e=i[n-1];if(os(e)%2==1){i[n-1]=e+t;continue}}i.push(t),"space"!==e.type&&(s="code"===e.type)}return i},ol=/([\\`*_~[\]|])/g,oc=e=>e.replace(ol,"\\$1"),ou=e=>"text"===e.type?e.value:"children"in e&&Array.isArray(e.children)?e.children.map(ou).join(""):"",oh=e=>t=>{if(!e||0===e.length)return;let n=new Set(e.map(e=>e.toLowerCase()));(0,c.YR)(t,"element",e=>{if(n.has(e.tagName.toLowerCase())){let t=ou(e);e.children=t?[{type:"text",value:t}]:[]}})},op=/^[ \t]*<[\w!/?-]/,od=/(^|\n)[ \t]{4,}(?=<[\w!/?-])/g,of={...t$,protocols:{...t$.protocols,href:[...null!=(sY=null==(sK=t$.protocols)?void 0:sK.href)?sY:[],"tel"]},attributes:{...t$.attributes,code:[...null!=(sW=null==(sq=t$.attributes)?void 0:sq.code)?sW:[],"metastring"]}},om={raw:tU,sanitize:[tX,of],harden:[function({defaultOrigin:e="",allowedLinkPrefixes:t=[],allowedImagePrefixes:n=[],allowDataImages:r=!1,allowedProtocols:i=[],blockedImageClass:a="inline-block bg-gray-200 dark:bg-gray-700 text-gray-600 dark:text-gray-400 px-3 py-1 rounded text-sm",blockedLinkClass:s="text-gray-500",linkBlockPolicy:o=h,imageBlockPolicy:l=h}){let f=t.length&&!t.every(e=>"*"===e),m=n.length&&!n.every(e=>"*"===e);if(!e&&(f||m))throw Error("defaultOrigin is required when allowedLinkPrefixes or allowedImagePrefixes are provided");return h=>{var f,m,g,_,k,E,T,x,A;let w,v=(f=e,m=t,g=n,_=r,k=i,E=a,T=s,x=o,A=l,w=(e,t,n)=>{if("element"!==e.type||e[b])return u.IN;if("a"===e.tagName){let r=y(e.properties.href,m,f,!1,!1,k);if(null!==r)return e.properties.href=r,e.properties.target="_blank",e.properties.rel="noopener noreferrer",u.IN;if(e[b]=!0,(0,c.YR)(e,w),n&&"number"==typeof t){let r=x===d?{type:"remove"}:x===p?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[...e.children]}}:{type:"replace",element:{type:"element",tagName:"span",properties:{title:"Blocked URL: "+String(e.properties.href),class:T},children:[...e.children,{type:"text",value:" [blocked]"}]}};if("remove"===r.type)return n.children.splice(t,1),[u._Z,t];n.children[t]=r.element}return u._Z}if("img"===e.tagName){let r=y(e.properties.src,g,f,_,!0,k);if(null===r){if(e[b]=!0,(0,c.YR)(e,w),n&&"number"==typeof t){let r=function(e,t,n){if(t===d)return{type:"remove"};if(t===p){let t=String(e.properties.alt||"");return t?{type:"replace",element:{type:"element",tagName:"span",properties:{},children:[{type:"text",value:t}]}}:{type:"remove"}}return{type:"replace",element:{type:"element",tagName:"span",properties:{class:n},children:[{type:"text",value:"[Image blocked: "+String(e.properties.alt||"No description")+"]"}]}}}(e,A,E);if("remove"===r.type)return n.children.splice(t,1),[u._Z,t];n.children[t]=r.element}return u._Z}e.properties.src=r}return u.IN});(function e(t){if("children"in t&&Array.isArray(t.children))for(let n of(t.children=t.children.filter(e=>null!=e),t.children))e(n)})(h),(0,c.YR)(h,v)}},{allowedImagePrefixes:["*"],allowedLinkPrefixes:["*"],allowedProtocols:["*"],defaultOrigin:void 0,allowDataImages:!0}]},og={gfm:[tQ.A,{}],codeMeta:()=>e=>{(0,c.YR)(e,"code",e=>{var t,n;e.meta&&(e.data=null!=(t=e.data)?t:{},e.data.hProperties={...null!=(n=e.data.hProperties)?n:{},metastring:e.meta})})}},oy=Object.values(om),ob=Object.values(og),o_={block:" ▋",circle:" ●"},ok=["github-light","github-dark"],oE={enabled:!0},oT=(0,l.createContext)({shikiTheme:ok,controls:!0,isAnimating:!1,lineNumbers:!0,mode:"streaming",mermaid:void 0,linkSafety:oE}),ox=(0,l.memo)(({content:e,shouldParseIncompleteMarkdown:t,shouldNormalizeHtmlIndentation:n,index:r,isIncomplete:i,dir:a,animatePlugin:s,...o})=>{if(s){let e=s.getLastRenderCharCount();s.setPrevContentLength(e)}let l="string"==typeof e&&n&&"string"==typeof e&&0!==e.length&&op.test(e)?e.replace(od,"$1"):e,c=(0,rH.jsx)(s3,{...o,children:l});return(0,rH.jsx)(i9.Provider,{value:i,children:a?(0,rH.jsx)("div",{dir:a,style:{display:"contents"},children:c}):c})},(e,t)=>{if(e.content!==t.content||e.shouldNormalizeHtmlIndentation!==t.shouldNormalizeHtmlIndentation||e.index!==t.index||e.isIncomplete!==t.isIncomplete||e.dir!==t.dir)return!1;if(e.components!==t.components){let n=Object.keys(e.components||{}),r=Object.keys(t.components||{});if(n.length!==r.length||n.some(n=>{var r,i;return(null==(r=e.components)?void 0:r[n])!==(null==(i=t.components)?void 0:i[n])}))return!1}return e.rehypePlugins===t.rehypePlugins&&e.remarkPlugins===t.remarkPlugins});ox.displayName="Block";var oA=(0,l.memo)(({children:e,mode:t="streaming",dir:n,parseIncompleteMarkdown:r=!0,normalizeHtmlIndentation:i=!1,components:a,rehypePlugins:s=oy,remarkPlugins:o=ob,className:c,shikiTheme:u=ok,mermaid:h,controls:p=!0,isAnimating:d=!1,animated:f,BlockComponent:m=ox,parseMarkdownIntoBlocksFn:g=oo,caret:y,plugins:b,remend:_,linkSafety:k=oE,lineNumbers:E=!0,allowedTags:T,literalTagContent:x,translations:A,icons:w,prefix:v,onAnimationStart:S,onAnimationEnd:C,...N})=>{let I=(0,l.useId)(),[D,O]=(0,l.useTransition)(),M=(0,l.useMemo)(()=>v?(...e)=>((e,t)=>{if(!e||!t)return t;let n=`${e}:`;return t.split(/\s+/).filter(Boolean).map(t=>t.startsWith(n)?t:`${e}:${t}`).join(" ")})(v,rB(nF(e))):i6,[v]),L=(0,l.useRef)(null),R=(0,l.useRef)(S),P=(0,l.useRef)(C);R.current=S,P.current=C,(0,l.useEffect)(()=>{var e,n,r;if("static"===t)return;let i=L.current;if(L.current=d,null===i){d&&(null==(e=R.current)||e.call(R));return}d&&!i?null==(n=R.current)||n.call(R):!d&&i&&(null==(r=P.current)||r.call(P))},[d,t]);let F=(0,l.useMemo)(()=>T?Object.keys(T):[],[T]),B=(0,l.useMemo)(()=>{if("string"!=typeof e)return"";let n="streaming"===t&&r?((e,t)=>{var n,r;let i;if(!e||"string"!=typeof e)return e;let a=e.endsWith(" ")&&!e.endsWith(" ")?e.slice(0,-1):e;for(let{handler:e,earlyReturn:s}of[...(i=null!=(r=null==t?void 0:t.linkMode)?r:"protocol",nP.filter(({handler:e,optionKey:n})=>"links"===e.name?!1!==(null==t?void 0:t.links)||!1!==(null==t?void 0:t.images):"inlineKatex"===e.name?!0===(null==t?void 0:t.inlineKatex):!1!==(null==t?void 0:t[n])).map(({handler:e,earlyReturn:t})=>"links"===e.name?{handler:tJ(t9({},e),t0({handle:e=>nI(e,i)})),earlyReturn:"protocol"===i?t:void 0}:{handler:e,earlyReturn:t})),...(null!=(n=null==t?void 0:t.handlers)?n:[]).map(e=>{var t;return{handler:tJ(t9({},e),t0({priority:null!=(t=e.priority)?t:100})),earlyReturn:void 0}})].sort((e,t)=>{var n,r;return(null!=(n=e.handler.priority)?n:0)-(null!=(r=t.handler.priority)?r:0)}))if(a=e.handle(a),null!=s&&s(a))break;return a})(e,_):e;return x&&x.length>0&&(n=((e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,"gi");n=n.replace(t,(e,t,n,r)=>t+oc(n).replace(/\n\n/g," ")+r)}return n})(n,x)),F.length>0&&(n=((e,t)=>{if(!t.length)return e;let n=e;for(let e of t){let t=RegExp(`(<${e}(?=[\\s>/])[^>]*>)([\\s\\S]*?)(</${e}\\s*>)`,"gi");n=n.replace(t,(e,t,n,r)=>{if(!n.includes(`
|
|
91
|
+
|
|
92
|
+
`))return t+n+r;let i=n.replace(/\n\n/g,`
|
|
93
|
+
\x3c!----\x3e
|
|
94
|
+
`),a=(i.startsWith(`
|
|
95
|
+
`)?"":`
|
|
96
|
+
`)+i+(i.endsWith(`
|
|
97
|
+
`)?"":`
|
|
98
|
+
`);return`${t}${a}${r}
|
|
99
|
+
|
|
100
|
+
`})}return n})(n,F)),n},[e,t,r,_,F,x]),H=(0,l.useMemo)(()=>g(B),[B,g]),[U,j]=(0,l.useState)(H);(0,l.useEffect)(()=>{"streaming"!==t||Y?j(H):O(()=>{j(H)})},[H,t]);let $="streaming"===t?U:H,z=(0,l.useMemo)(()=>"auto"===n?$.map(sd):void 0,[$,n]),G=(0,l.useMemo)(()=>$.map((e,t)=>`${I}-${t}`),[$.length,I]),K=(0,l.useMemo)(()=>!0===f?"true":f?JSON.stringify(f):"",[f]),Y=(0,l.useMemo)(()=>K?"true"===K?i5():i5(f):null,[K]),q=(0,l.useMemo)(()=>{var e,n;return{shikiTheme:null!=(n=null==(e=null==b?void 0:b.code)?void 0:e.getThemes())?n:u,controls:p,isAnimating:d,lineNumbers:E,mode:t,mermaid:h,linkSafety:k}},[u,p,d,E,t,h,k,null==b?void 0:b.code]),W=(0,l.useMemo)(()=>A?JSON.stringify(A):"",[A]),V=(0,l.useMemo)(()=>({...ap,...A}),[W]),X=(0,l.useMemo)(()=>{let{inlineCode:e,...t}=null!=a?a:{},n={...su,...t};if(e){let t=n.code;n.code=n=>"data-block"in n?t?(0,l.createElement)(t,n):null:(0,l.createElement)(e,n)}return n},[a]),Q=(0,l.useMemo)(()=>{let e=[];return null!=b&&b.cjk&&(e=[...e,...b.cjk.remarkPluginsBefore]),e=[...e,...o],null!=b&&b.cjk&&(e=[...e,...b.cjk.remarkPluginsAfter]),null!=b&&b.math&&(e=[...e,b.math.remarkPlugin]),e},[o,null==b?void 0:b.math,null==b?void 0:b.cjk]),Z=(0,l.useMemo)(()=>{var e;let t=s;if(T&&Object.keys(T).length>0&&s===oy){let n={...of,tagNames:[...null!=(e=of.tagNames)?e:[],...Object.keys(T)],attributes:{...of.attributes,...T}};t=[om.raw,[tX,n],om.harden]}return x&&x.length>0&&(t=[...t,[oh,x]]),null!=b&&b.math&&(t=[...t,b.math.rehypePlugin]),Y&&d&&(t=[...t,Y.rehypePlugin]),t},[s,null==b?void 0:b.math,Y,d,T,x]),J=(0,l.useMemo)(()=>{if(!d||0===$.length)return!1;let e=$.at(-1);return sQ(e)||(e=>{for(let t of e.split(`
|
|
101
|
+
`)){let e=t.trim();if(e.length>0&&e.includes("|")&&sX.test(e))return!0}return!1})(e)},[d,$]),ee=(0,l.useMemo)(()=>y&&d&&!J?{"--streamdown-caret":`"${o_[y]}"`}:void 0,[y,d,J]);return"static"===t?(0,rH.jsx)(ad.Provider,{value:V,children:(0,rH.jsx)(aA.Provider,{value:null!=b?b:null,children:(0,rH.jsx)(oT.Provider,{value:q,children:(0,rH.jsx)(au,{icons:w,children:(0,rH.jsx)(i8.Provider,{value:M,children:(0,rH.jsx)("div",{className:M("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",c),dir:"auto"===n?sd(B):n,children:(0,rH.jsx)(s3,{components:X,rehypePlugins:Z,remarkPlugins:Q,...N,children:B})})})})})})}):(0,rH.jsx)(ad.Provider,{value:V,children:(0,rH.jsx)(aA.Provider,{value:null!=b?b:null,children:(0,rH.jsx)(oT.Provider,{value:q,children:(0,rH.jsx)(au,{icons:w,children:(0,rH.jsx)(i8.Provider,{value:M,children:(0,rH.jsxs)("div",{className:M("space-y-4 whitespace-normal [&>*:first-child]:mt-0 [&>*:last-child]:mb-0",y&&!J?"[&>*:last-child]:after:inline [&>*:last-child]:after:align-baseline [&>*:last-child]:after:content-[var(--streamdown-caret)]":null,c),style:ee,children:[0===$.length&&y&&d&&(0,rH.jsx)("span",{}),$.map((e,t)=>{var a;let s=t===$.length-1,o=d&&s&&sQ(e);return(0,rH.jsx)(m,{animatePlugin:Y,components:X,content:e,dir:null!=(a=null==z?void 0:z[t])?a:"auto"!==n?n:void 0,index:t,isIncomplete:o,rehypePlugins:Z,remarkPlugins:Q,shouldNormalizeHtmlIndentation:i,shouldParseIncompleteMarkdown:r,...N},G[t])})]})})})})})})},(e,t)=>e.children===t.children&&e.shikiTheme===t.shikiTheme&&e.isAnimating===t.isAnimating&&e.animated===t.animated&&e.mode===t.mode&&e.plugins===t.plugins&&e.className===t.className&&e.linkSafety===t.linkSafety&&e.lineNumbers===t.lineNumbers&&e.normalizeHtmlIndentation===t.normalizeHtmlIndentation&&e.literalTagContent===t.literalTagContent&&JSON.stringify(e.translations)===JSON.stringify(t.translations)&&e.prefix===t.prefix&&e.dir===t.dir);oA.displayName="Streamdown";var ow=({children:e,className:t,minZoom:n=.5,maxZoom:r=3,zoomStep:i=.1,showControls:a=!0,initialZoom:s=1,fullscreen:o=!1})=>{let{RotateCcwIcon:c,ZoomInIcon:u,ZoomOutIcon:h}=ah(),p=i7(),d=(0,l.useRef)(null),f=(0,l.useRef)(null),[m,g]=(0,l.useState)(s),[y,b]=(0,l.useState)({x:0,y:0}),[_,k]=(0,l.useState)(!1),[E,T]=(0,l.useState)({x:0,y:0}),[x,A]=(0,l.useState)({x:0,y:0}),w=(0,l.useCallback)(e=>{g(t=>Math.max(n,Math.min(r,t+e)))},[n,r]),v=(0,l.useCallback)(()=>{w(i)},[w,i]),S=(0,l.useCallback)(()=>{w(-i)},[w,i]),C=(0,l.useCallback)(()=>{g(s),b({x:0,y:0})},[s]),N=(0,l.useCallback)(e=>{e.preventDefault(),w(e.deltaY>0?-i:i)},[w,i]),I=(0,l.useCallback)(e=>{if(0!==e.button||!1===e.isPrimary)return;k(!0),T({x:e.clientX,y:e.clientY}),A(y);let t=e.currentTarget;t instanceof HTMLElement&&t.setPointerCapture(e.pointerId)},[y]),D=(0,l.useCallback)(e=>{if(!_)return;e.preventDefault();let t=e.clientX-E.x,n=e.clientY-E.y;b({x:x.x+t,y:x.y+n})},[_,E,x]),O=(0,l.useCallback)(e=>{k(!1);let t=e.currentTarget;t instanceof HTMLElement&&t.releasePointerCapture(e.pointerId)},[]);return(0,l.useEffect)(()=>{let e=d.current;if(e)return e.addEventListener("wheel",N,{passive:!1}),()=>{e.removeEventListener("wheel",N)}},[N]),(0,l.useEffect)(()=>{let e=f.current;if(e&&_)return document.body.style.userSelect="none",e.addEventListener("pointermove",D,{passive:!1}),e.addEventListener("pointerup",O),e.addEventListener("pointercancel",O),()=>{document.body.style.userSelect="",e.removeEventListener("pointermove",D),e.removeEventListener("pointerup",O),e.removeEventListener("pointercancel",O)}},[_,D,O]),(0,rH.jsxs)("div",{className:p("relative flex flex-col",o?"h-full w-full":"min-h-28 w-full",t),ref:d,style:{cursor:_?"grabbing":"grab"},children:[a?(0,rH.jsxs)("div",{className:p("absolute z-10 flex flex-col gap-1 rounded-md border border-border bg-background/80 p-1 supports-[backdrop-filter]:bg-background/70 supports-[backdrop-filter]:backdrop-blur-sm",o?"bottom-4 left-4":"bottom-2 left-2"),children:[(0,rH.jsx)("button",{className:p("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:m>=r,onClick:v,title:"Zoom in",type:"button",children:(0,rH.jsx)(u,{size:16})}),(0,rH.jsx)("button",{className:p("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50"),disabled:m<=n,onClick:S,title:"Zoom out",type:"button",children:(0,rH.jsx)(h,{size:16})}),(0,rH.jsx)("button",{className:p("flex items-center justify-center rounded p-1.5 text-muted-foreground transition-colors hover:bg-muted hover:text-foreground"),onClick:C,title:"Reset zoom and pan",type:"button",children:(0,rH.jsx)(c,{size:16})})]}):null,(0,rH.jsx)("div",{className:p("flex-1 origin-center transition-transform duration-150 ease-out",o?"flex h-full w-full items-center justify-center":"flex w-full items-center justify-center"),onPointerDown:I,ref:f,role:"application",style:{transform:`translate(${y.x}px, ${y.y}px) scale(${m})`,transformOrigin:"center center",touchAction:"none",willChange:"transform"},children:e})]})},ov=({chart:e,className:t,config:n,fullscreen:r=!1,showControls:i=!0})=>{let a=i7(),[s,o]=(0,l.useState)(null),[c,u]=(0,l.useState)(!1),[h,p]=(0,l.useState)(""),[d,f]=(0,l.useState)(""),[m,g]=(0,l.useState)(0),{mermaid:y}=(0,l.useContext)(oT),b=aS(),_=null==y?void 0:y.errorComponent,{shouldRender:k,containerRef:E}=function(e={}){let{immediate:t=!1,debounceDelay:n=300,rootMargin:r="300px",idleTimeout:i=500}=e,[a,s]=(0,l.useState)(!1),o=(0,l.useRef)(null),c=(0,l.useRef)(null),u=(0,l.useRef)(null),h=(0,l.useMemo)(()=>e=>{let t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))})},1)},[]),p=(0,l.useMemo)(()=>"u">typeof window&&window.requestIdleCallback?(e,t)=>window.requestIdleCallback(e,t):h,[h]),d=(0,l.useMemo)(()=>"u">typeof window&&window.cancelIdleCallback?e=>window.cancelIdleCallback(e):e=>{clearTimeout(e)},[]);return(0,l.useEffect)(()=>{if(t)return void s(!0);let e=o.current;if(!e)return;c.current&&(clearTimeout(c.current),c.current=null),u.current&&(d(u.current),u.current=null);let a=()=>{c.current&&(clearTimeout(c.current),c.current=null),u.current&&(d(u.current),u.current=null)},l=(e,t)=>{e.isIntersecting?(a(),c.current=window.setTimeout(()=>{var e,n;let r=t.takeRecords();(0===r.length||null!=(n=null==(e=r.at(-1))?void 0:e.isIntersecting)&&n)&&(u.current=p(e=>{e.timeRemaining()>0||e.didTimeout?(s(!0),t.disconnect()):u.current=p(()=>{s(!0),t.disconnect()},{timeout:i/2})},{timeout:i}))},n)):a()},h=new IntersectionObserver(e=>{for(let t of e)l(t,h)},{rootMargin:r,threshold:0});return h.observe(e),()=>{c.current&&clearTimeout(c.current),u.current&&d(u.current),h.disconnect()}},[t,n,r,i,d,p]),{shouldRender:a,containerRef:o}}({immediate:r});return((0,l.useEffect)(()=>{if(k){if(!b)return void o("Mermaid plugin not available. Please add the mermaid plugin to enable diagram rendering.");(async()=>{try{o(null),u(!0);let t=b.getMermaid(n),r=e.split("").reduce((e,t)=>(e<<5)-e+t.charCodeAt(0)|0,0),i=`mermaid-${Math.abs(r)}-${Date.now()}-${Math.random().toString(36).substring(2,9)}`,{svg:a}=await t.render(i,e);p(a),f(a)}catch(e){if(!(d||h)){let t=e instanceof Error?e.message:"Failed to render Mermaid chart";o(t)}}finally{u(!1)}})()}},[e,n,m,k,b]),k||h||d)?!c||h||d?!s||h||d?(0,rH.jsx)("div",{className:a("size-full",t),"data-streamdown":"mermaid",ref:E,children:(0,rH.jsx)(ow,{className:a(r?"size-full overflow-hidden":"overflow-hidden",t),fullscreen:r,maxZoom:3,minZoom:.5,showControls:i,zoomStep:.1,children:(0,rH.jsx)("div",{"aria-label":"Mermaid chart",className:a("flex justify-center",r?"size-full items-center":null),dangerouslySetInnerHTML:{__html:h||d},role:"img"})})}):_?(0,rH.jsx)("div",{ref:E,children:(0,rH.jsx)(_,{chart:e,error:s,retry:()=>g(e=>e+1)})}):(0,rH.jsxs)("div",{className:a("rounded-md bg-red-50 p-4",t),ref:E,children:[(0,rH.jsxs)("p",{className:a("font-mono text-red-700 text-sm"),children:["Mermaid Error: ",s]}),(0,rH.jsxs)("details",{className:a("mt-2"),children:[(0,rH.jsx)("summary",{className:a("cursor-pointer text-red-600 text-xs"),children:"Show Code"}),(0,rH.jsx)("pre",{className:a("mt-2 overflow-x-auto rounded bg-red-100 p-2 text-red-800 text-xs"),children:e})]})]}):(0,rH.jsx)("div",{className:a("my-4 flex justify-center p-4",t),ref:E,children:(0,rH.jsxs)("div",{className:a("flex items-center space-x-2 text-muted-foreground"),children:[(0,rH.jsx)("div",{className:a("h-4 w-4 animate-spin rounded-full border-current border-b-2")}),(0,rH.jsx)("span",{className:a("text-sm"),children:"Loading diagram..."})]})}):(0,rH.jsx)("div",{className:a("my-4 min-h-[200px]",t),ref:E})}},13222:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(42112),i=n(68448),a=n(52326),s=n(68420);let o=(e,t,n=0,o=1)=>{if("number"!=typeof e)return(0,s.A)(e,{a:t});let l=i.A.set({r:r.A.channel.clamp.r(e),g:r.A.channel.clamp.g(t),b:r.A.channel.clamp.b(n),a:r.A.channel.clamp.a(o)});return a.A.stringify(l)}},13404:e=>{e.exports=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/},14759:(e,t,n)=>{"use strict";n.d(t,{H:()=>tF,r:()=>tP});var r,i=n(32165);function a(e){return null==e}function s(e){return"object"==typeof e&&null!==e}function o(e,t){var n,r="";for(n=0;n<t;n+=1)r+=e;return r}function l(e){return 0===e&&-1/0==1/e}(0,i.K2)(a,"isNothing"),(0,i.K2)(s,"isObject"),(0,i.K2)(function(e){return Array.isArray(e)?e:a(e)?[]:[e]},"toArray"),(0,i.K2)(function(e,t){var n,r,i,a;if(t)for(n=0,r=(a=Object.keys(t)).length;n<r;n+=1)e[i=a[n]]=t[i];return e},"extend"),(0,i.K2)(o,"repeat"),(0,i.K2)(l,"isNegativeZero");function c(e,t){var n="",r=e.reason||"(unknown reason)";return e.mark?(e.mark.name&&(n+='in "'+e.mark.name+'" '),n+="("+(e.mark.line+1)+":"+(e.mark.column+1)+")",!t&&e.mark.snippet&&(n+="\n\n"+e.mark.snippet),r+" "+n):r}function u(e,t){Error.call(this),this.name="YAMLException",this.reason=e,this.mark=t,this.message=c(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=Error().stack||""}function h(e,t,n,r,i){var a="",s="",o=Math.floor(i/2)-1;return r-t>o&&(t=r-o+(a=" ... ").length),n-r>o&&(n=r+o-(s=" ...").length),{str:a+e.slice(t,n).replace(/\t/g,"→")+s,pos:r-t+a.length}}function p(e,t){return o(" ",t-e.length)+e}function d(e,t){if(t=Object.create(t||null),!e.buffer)return null;t.maxLength||(t.maxLength=79),"number"!=typeof t.indent&&(t.indent=1),"number"!=typeof t.linesBefore&&(t.linesBefore=3),"number"!=typeof t.linesAfter&&(t.linesAfter=2);for(var n=/\r?\n|\r|\0/g,r=[0],i=[],a=-1;s=n.exec(e.buffer);)i.push(s.index),r.push(s.index+s[0].length),e.position<=s.index&&a<0&&(a=r.length-2);a<0&&(a=r.length-1);var s,l,c,u="",d=Math.min(e.line+t.linesAfter,i.length).toString().length,f=t.maxLength-(t.indent+d+3);for(l=1;l<=t.linesBefore&&!(a-l<0);l++)c=h(e.buffer,r[a-l],i[a-l],e.position-(r[a]-r[a-l]),f),u=o(" ",t.indent)+p((e.line-l+1).toString(),d)+" | "+c.str+"\n"+u;for(c=h(e.buffer,r[a],i[a],e.position,f),u+=o(" ",t.indent)+p((e.line+1).toString(),d)+" | "+c.str+"\n"+o("-",t.indent+d+3+c.pos)+"^\n",l=1;l<=t.linesAfter&&!(a+l>=i.length);l++)c=h(e.buffer,r[a+l],i[a+l],e.position-(r[a]-r[a+l]),f),u+=o(" ",t.indent)+p((e.line+l+1).toString(),d)+" | "+c.str+"\n";return u.replace(/\n$/,"")}(0,i.K2)(c,"formatError"),(0,i.K2)(u,"YAMLException$1"),u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u.prototype.toString=(0,i.K2)(function(e){return this.name+": "+c(this,e)},"toString"),(0,i.K2)(h,"getLine"),(0,i.K2)(p,"padStart"),(0,i.K2)(d,"makeSnippet");var f=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],m=["scalar","sequence","mapping"];function g(e){var t={};return null!==e&&Object.keys(e).forEach(function(n){e[n].forEach(function(e){t[String(e)]=n})}),t}function y(e,t){if(Object.keys(t=t||{}).forEach(function(t){if(-1===f.indexOf(t))throw new u('Unknown option "'+t+'" is met in definition of "'+e+'" YAML type.')}),this.options=t,this.tag=e,this.kind=t.kind||null,this.resolve=t.resolve||function(){return!0},this.construct=t.construct||function(e){return e},this.instanceOf=t.instanceOf||null,this.predicate=t.predicate||null,this.represent=t.represent||null,this.representName=t.representName||null,this.defaultStyle=t.defaultStyle||null,this.multi=t.multi||!1,this.styleAliases=g(t.styleAliases||null),-1===m.indexOf(this.kind))throw new u('Unknown kind "'+this.kind+'" is specified for "'+e+'" YAML type.')}function b(e,t){var n=[];return e[t].forEach(function(e){var t=n.length;n.forEach(function(n,r){n.tag===e.tag&&n.kind===e.kind&&n.multi===e.multi&&(t=r)}),n[t]=e}),n}function _(){var e,t,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function r(e){e.multi?(n.multi[e.kind].push(e),n.multi.fallback.push(e)):n[e.kind][e.tag]=n.fallback[e.tag]=e}for((0,i.K2)(r,"collectType"),e=0,t=arguments.length;e<t;e+=1)arguments[e].forEach(r);return n}function k(e){return this.extend(e)}(0,i.K2)(g,"compileStyleAliases"),(0,i.K2)(y,"Type$1"),(0,i.K2)(b,"compileList"),(0,i.K2)(_,"compileMap"),(0,i.K2)(k,"Schema$1"),k.prototype.extend=(0,i.K2)(function(e){var t=[],n=[];if(e instanceof y)n.push(e);else if(Array.isArray(e))n=n.concat(e);else if(e&&(Array.isArray(e.implicit)||Array.isArray(e.explicit)))e.implicit&&(t=t.concat(e.implicit)),e.explicit&&(n=n.concat(e.explicit));else throw new u("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.forEach(function(e){if(!(e instanceof y))throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(e.loadKind&&"scalar"!==e.loadKind)throw new u("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(e.multi)throw new u("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),n.forEach(function(e){if(!(e instanceof y))throw new u("Specified list of YAML types (or a single Type object) contains a non-Type object.")});var r=Object.create(k.prototype);return r.implicit=(this.implicit||[]).concat(t),r.explicit=(this.explicit||[]).concat(n),r.compiledImplicit=b(r,"implicit"),r.compiledExplicit=b(r,"explicit"),r.compiledTypeMap=_(r.compiledImplicit,r.compiledExplicit),r},"extend");var E=new k({explicit:[new y("tag:yaml.org,2002:str",{kind:"scalar",construct:(0,i.K2)(function(e){return null!==e?e:""},"construct")}),new y("tag:yaml.org,2002:seq",{kind:"sequence",construct:(0,i.K2)(function(e){return null!==e?e:[]},"construct")}),new y("tag:yaml.org,2002:map",{kind:"mapping",construct:(0,i.K2)(function(e){return null!==e?e:{}},"construct")})]});function T(e){if(null===e)return!0;var t=e.length;return 1===t&&"~"===e||4===t&&("null"===e||"Null"===e||"NULL"===e)}function x(){return null}function A(e){return null===e}(0,i.K2)(T,"resolveYamlNull"),(0,i.K2)(x,"constructYamlNull"),(0,i.K2)(A,"isNull");var w=new y("tag:yaml.org,2002:null",{kind:"scalar",resolve:T,construct:x,predicate:A,represent:{canonical:(0,i.K2)(function(){return"~"},"canonical"),lowercase:(0,i.K2)(function(){return"null"},"lowercase"),uppercase:(0,i.K2)(function(){return"NULL"},"uppercase"),camelcase:(0,i.K2)(function(){return"Null"},"camelcase"),empty:(0,i.K2)(function(){return""},"empty")},defaultStyle:"lowercase"});function v(e){if(null===e)return!1;var t=e.length;return 4===t&&("true"===e||"True"===e||"TRUE"===e)||5===t&&("false"===e||"False"===e||"FALSE"===e)}function S(e){return"true"===e||"True"===e||"TRUE"===e}function C(e){return"[object Boolean]"===Object.prototype.toString.call(e)}(0,i.K2)(v,"resolveYamlBoolean"),(0,i.K2)(S,"constructYamlBoolean"),(0,i.K2)(C,"isBoolean");var N=new y("tag:yaml.org,2002:bool",{kind:"scalar",resolve:v,construct:S,predicate:C,represent:{lowercase:(0,i.K2)(function(e){return e?"true":"false"},"lowercase"),uppercase:(0,i.K2)(function(e){return e?"TRUE":"FALSE"},"uppercase"),camelcase:(0,i.K2)(function(e){return e?"True":"False"},"camelcase")},defaultStyle:"lowercase"});function I(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function D(e){return 48<=e&&e<=55}function O(e){return 48<=e&&e<=57}function M(e){if(null===e)return!1;var t,n=e.length,r=0,i=!1;if(!n)return!1;if(("-"===(t=e[r])||"+"===t)&&(t=e[++r]),"0"===t){if(r+1===n)return!0;if("b"===(t=e[++r])){for(r++;r<n;r++)if("_"!==(t=e[r])){if("0"!==t&&"1"!==t)return!1;i=!0}return i&&"_"!==t}if("x"===t){for(r++;r<n;r++)if("_"!==(t=e[r])){if(!I(e.charCodeAt(r)))return!1;i=!0}return i&&"_"!==t}if("o"===t){for(r++;r<n;r++)if("_"!==(t=e[r])){if(!D(e.charCodeAt(r)))return!1;i=!0}return i&&"_"!==t}}if("_"===t)return!1;for(;r<n;r++)if("_"!==(t=e[r])){if(!O(e.charCodeAt(r)))return!1;i=!0}return!!i&&"_"!==t}function L(e){var t,n=e,r=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),("-"===(t=n[0])||"+"===t)&&("-"===t&&(r=-1),t=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===t){if("b"===n[1])return r*parseInt(n.slice(2),2);if("x"===n[1])return r*parseInt(n.slice(2),16);if("o"===n[1])return r*parseInt(n.slice(2),8)}return r*parseInt(n,10)}function R(e){return"[object Number]"===Object.prototype.toString.call(e)&&e%1==0&&!l(e)}(0,i.K2)(I,"isHexCode"),(0,i.K2)(D,"isOctCode"),(0,i.K2)(O,"isDecCode"),(0,i.K2)(M,"resolveYamlInteger"),(0,i.K2)(L,"constructYamlInteger"),(0,i.K2)(R,"isInteger");var P=new y("tag:yaml.org,2002:int",{kind:"scalar",resolve:M,construct:L,predicate:R,represent:{binary:(0,i.K2)(function(e){return e>=0?"0b"+e.toString(2):"-0b"+e.toString(2).slice(1)},"binary"),octal:(0,i.K2)(function(e){return e>=0?"0o"+e.toString(8):"-0o"+e.toString(8).slice(1)},"octal"),decimal:(0,i.K2)(function(e){return e.toString(10)},"decimal"),hexadecimal:(0,i.K2)(function(e){return e>=0?"0x"+e.toString(16).toUpperCase():"-0x"+e.toString(16).toUpperCase().slice(1)},"hexadecimal")},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),F=RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function B(e){return null!==e&&!!F.test(e)&&"_"!==e[e.length-1]}function H(e){var t,n;return(n="-"===(t=e.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(t[0])>=0&&(t=t.slice(1)),".inf"===t)?1===n?1/0:-1/0:".nan"===t?0/0:n*parseFloat(t,10)}(0,i.K2)(B,"resolveYamlFloat"),(0,i.K2)(H,"constructYamlFloat");var U=/^[-+]?[0-9]+e/;function j(e,t){var n;if(isNaN(e))switch(t){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(1/0===e)switch(t){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(-1/0===e)switch(t){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(l(e))return"-0.0";return n=e.toString(10),U.test(n)?n.replace("e",".e"):n}function $(e){return"[object Number]"===Object.prototype.toString.call(e)&&(e%1!=0||l(e))}(0,i.K2)(j,"representYamlFloat"),(0,i.K2)($,"isFloat");var z=new y("tag:yaml.org,2002:float",{kind:"scalar",resolve:B,construct:H,predicate:$,represent:j,defaultStyle:"lowercase"}),G=E.extend({implicit:[w,N,P,z]}),K=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Y=RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function q(e){return null!==e&&(null!==K.exec(e)||null!==Y.exec(e))}function W(e){var t,n,r,i,a,s,o,l,c=0,u=null;if(null===(t=K.exec(e))&&(t=Y.exec(e)),null===t)throw Error("Date resolve error");if(n=+t[1],r=t[2]-1,i=+t[3],!t[4])return new Date(Date.UTC(n,r,i));if(a=+t[4],s=+t[5],o=+t[6],t[7]){for(c=t[7].slice(0,3);c.length<3;)c+="0";c*=1}return t[9]&&(u=(60*t[10]+ +(t[11]||0))*6e4,"-"===t[9]&&(u=-u)),l=new Date(Date.UTC(n,r,i,a,s,o,c)),u&&l.setTime(l.getTime()-u),l}function V(e){return e.toISOString()}(0,i.K2)(q,"resolveYamlTimestamp"),(0,i.K2)(W,"constructYamlTimestamp"),(0,i.K2)(V,"representYamlTimestamp");var X=new y("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:q,construct:W,instanceOf:Date,represent:V});function Q(e){return"<<"===e||null===e}(0,i.K2)(Q,"resolveYamlMerge");var Z=new y("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Q}),J="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function ee(e){if(null===e)return!1;var t,n,r=0,i=e.length;for(n=0;n<i;n++)if(!((t=J.indexOf(e.charAt(n)))>64)){if(t<0)return!1;r+=6}return r%8==0}function et(e){var t,n,r=e.replace(/[\r\n=]/g,""),i=r.length,a=0,s=[];for(t=0;t<i;t++)t%4==0&&t&&(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)),a=a<<6|J.indexOf(r.charAt(t));return 0==(n=i%4*6)?(s.push(a>>16&255),s.push(a>>8&255),s.push(255&a)):18===n?(s.push(a>>10&255),s.push(a>>2&255)):12===n&&s.push(a>>4&255),new Uint8Array(s)}function en(e){var t,n,r="",i=0,a=e.length;for(t=0;t<a;t++)t%3==0&&t&&(r+=J[i>>18&63],r+=J[i>>12&63],r+=J[i>>6&63],r+=J[63&i]),i=(i<<8)+e[t];return 0==(n=a%3)?(r+=J[i>>18&63],r+=J[i>>12&63],r+=J[i>>6&63],r+=J[63&i]):2===n?(r+=J[i>>10&63],r+=J[i>>4&63],r+=J[i<<2&63],r+=J[64]):1===n&&(r+=J[i>>2&63],r+=J[i<<4&63],r+=J[64],r+=J[64]),r}function er(e){return"[object Uint8Array]"===Object.prototype.toString.call(e)}(0,i.K2)(ee,"resolveYamlBinary"),(0,i.K2)(et,"constructYamlBinary"),(0,i.K2)(en,"representYamlBinary"),(0,i.K2)(er,"isBinary");var ei=new y("tag:yaml.org,2002:binary",{kind:"scalar",resolve:ee,construct:et,predicate:er,represent:en}),ea=Object.prototype.hasOwnProperty,es=Object.prototype.toString;function eo(e){if(null===e)return!0;var t,n,r,i,a,s=[];for(t=0,n=e.length;t<n;t+=1){if(r=e[t],a=!1,"[object Object]"!==es.call(r))return!1;for(i in r)if(ea.call(r,i))if(a)return!1;else a=!0;if(!a||-1!==s.indexOf(i))return!1;s.push(i)}return!0}function el(e){return null!==e?e:[]}(0,i.K2)(eo,"resolveYamlOmap"),(0,i.K2)(el,"constructYamlOmap");var ec=new y("tag:yaml.org,2002:omap",{kind:"sequence",resolve:eo,construct:el}),eu=Object.prototype.toString;function eh(e){var t,n,r,i,a;if(null===e)return!0;for(a=Array(e.length),t=0,n=e.length;t<n;t+=1){if(r=e[t],"[object Object]"!==eu.call(r)||1!==(i=Object.keys(r)).length)return!1;a[t]=[i[0],r[i[0]]]}return!0}function ep(e){var t,n,r,i,a;if(null===e)return[];for(a=Array(e.length),t=0,n=e.length;t<n;t+=1)i=Object.keys(r=e[t]),a[t]=[i[0],r[i[0]]];return a}(0,i.K2)(eh,"resolveYamlPairs"),(0,i.K2)(ep,"constructYamlPairs");var ed=new y("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:eh,construct:ep}),ef=Object.prototype.hasOwnProperty;function em(e){var t;if(null===e)return!0;for(t in e)if(ef.call(e,t)&&null!==e[t])return!1;return!0}function eg(e){return null!==e?e:{}}(0,i.K2)(em,"resolveYamlSet"),(0,i.K2)(eg,"constructYamlSet");var ey=new y("tag:yaml.org,2002:set",{kind:"mapping",resolve:em,construct:eg}),eb=G.extend({implicit:[X,Z],explicit:[ei,ec,ed,ey]}),e_=Object.prototype.hasOwnProperty,ek=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,eE=/[\x85\u2028\u2029]/,eT=/[,\[\]\{\}]/,ex=/^(?:!|!!|![a-z\-]+!)$/i,eA=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function ew(e){return Object.prototype.toString.call(e)}function ev(e){return 10===e||13===e}function eS(e){return 9===e||32===e}function eC(e){return 9===e||32===e||10===e||13===e}function eN(e){return 44===e||91===e||93===e||123===e||125===e}function eI(e){var t;return 48<=e&&e<=57?e-48:97<=(t=32|e)&&t<=102?t-97+10:-1}function eD(e){return 120===e?2:117===e?4:8*(85===e)}function eO(e){return 48<=e&&e<=57?e-48:-1}function eM(e){return 48===e?"\0":97===e?"\x07":98===e?"\b":116===e||9===e?" ":110===e?"\n":118===e?"\v":102===e?"\f":114===e?"\r":101===e?"\x1b":32===e?" ":34===e?'"':47===e?"/":92===e?"\\":78===e?"\x85":95===e?"\xa0":76===e?"\u2028":80===e?"\u2029":""}function eL(e){return e<=65535?String.fromCharCode(e):String.fromCharCode((e-65536>>10)+55296,(e-65536&1023)+56320)}function eR(e,t,n){"__proto__"===t?Object.defineProperty(e,t,{configurable:!0,enumerable:!0,writable:!0,value:n}):e[t]=n}(0,i.K2)(ew,"_class"),(0,i.K2)(ev,"is_EOL"),(0,i.K2)(eS,"is_WHITE_SPACE"),(0,i.K2)(eC,"is_WS_OR_EOL"),(0,i.K2)(eN,"is_FLOW_INDICATOR"),(0,i.K2)(eI,"fromHexCode"),(0,i.K2)(eD,"escapedHexLen"),(0,i.K2)(eO,"fromDecimalCode"),(0,i.K2)(eM,"simpleEscapeSequence"),(0,i.K2)(eL,"charFromCodepoint"),(0,i.K2)(eR,"setProperty");var eP=Array(256),eF=Array(256);for(r=0;r<256;r++)eP[r]=+!!eM(r),eF[r]=eM(r);function eB(e,t){this.input=e,this.filename=t.filename||null,this.schema=t.schema||eb,this.onWarning=t.onWarning||null,this.legacy=t.legacy||!1,this.json=t.json||!1,this.listener=t.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=e.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function eH(e,t){var n={name:e.filename,buffer:e.input.slice(0,-1),position:e.position,line:e.line,column:e.position-e.lineStart};return n.snippet=d(n),new u(t,n)}function eU(e,t){throw eH(e,t)}function ej(e,t){e.onWarning&&e.onWarning.call(null,eH(e,t))}(0,i.K2)(eB,"State$1"),(0,i.K2)(eH,"generateError"),(0,i.K2)(eU,"throwError"),(0,i.K2)(ej,"throwWarning");var e$={YAML:(0,i.K2)(function(e,t,n){var r,i,a;null!==e.version&&eU(e,"duplication of %YAML directive"),1!==n.length&&eU(e,"YAML directive accepts exactly one argument"),null===(r=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&eU(e,"ill-formed argument of the YAML directive"),i=parseInt(r[1],10),a=parseInt(r[2],10),1!==i&&eU(e,"unacceptable YAML version of the document"),e.version=n[0],e.checkLineBreaks=a<2,1!==a&&2!==a&&ej(e,"unsupported YAML version of the document")},"handleYamlDirective"),TAG:(0,i.K2)(function(e,t,n){var r,i;2!==n.length&&eU(e,"TAG directive accepts exactly two arguments"),r=n[0],i=n[1],ex.test(r)||eU(e,"ill-formed tag handle (first argument) of the TAG directive"),e_.call(e.tagMap,r)&&eU(e,'there is a previously declared suffix for "'+r+'" tag handle'),eA.test(i)||eU(e,"ill-formed tag prefix (second argument) of the TAG directive");try{i=decodeURIComponent(i)}catch(t){eU(e,"tag prefix is malformed: "+i)}e.tagMap[r]=i},"handleTagDirective")};function ez(e,t,n,r){var i,a,s,o;if(t<n){if(o=e.input.slice(t,n),r)for(i=0,a=o.length;i<a;i+=1)9===(s=o.charCodeAt(i))||32<=s&&s<=1114111||eU(e,"expected valid JSON character");else ek.test(o)&&eU(e,"the stream contains non-printable characters");e.result+=o}}function eG(e,t,n,r){var i,a,o,l;for(s(n)||eU(e,"cannot merge mappings; the provided source object is unacceptable"),o=0,l=(i=Object.keys(n)).length;o<l;o+=1)a=i[o],e_.call(t,a)||(eR(t,a,n[a]),r[a]=!0)}function eK(e,t,n,r,i,a,s,o,l){var c,u;if(Array.isArray(i))for(c=0,u=(i=Array.prototype.slice.call(i)).length;c<u;c+=1)Array.isArray(i[c])&&eU(e,"nested arrays are not supported inside keys"),"object"==typeof i&&"[object Object]"===ew(i[c])&&(i[c]="[object Object]");if("object"==typeof i&&"[object Object]"===ew(i)&&(i="[object Object]"),i=String(i),null===t&&(t={}),"tag:yaml.org,2002:merge"===r)if(Array.isArray(a))for(c=0,u=a.length;c<u;c+=1)eG(e,t,a[c],n);else eG(e,t,a,n);else!e.json&&!e_.call(n,i)&&e_.call(t,i)&&(e.line=s||e.line,e.lineStart=o||e.lineStart,e.position=l||e.position,eU(e,"duplicated mapping key")),eR(t,i,a),delete n[i];return t}function eY(e){var t;10===(t=e.input.charCodeAt(e.position))?e.position++:13===t?(e.position++,10===e.input.charCodeAt(e.position)&&e.position++):eU(e,"a line break is expected"),e.line+=1,e.lineStart=e.position,e.firstTabInLine=-1}function eq(e,t,n){for(var r=0,i=e.input.charCodeAt(e.position);0!==i;){for(;eS(i);)9===i&&-1===e.firstTabInLine&&(e.firstTabInLine=e.position),i=e.input.charCodeAt(++e.position);if(t&&35===i)do i=e.input.charCodeAt(++e.position);while(10!==i&&13!==i&&0!==i);if(ev(i))for(eY(e),i=e.input.charCodeAt(e.position),r++,e.lineIndent=0;32===i;)e.lineIndent++,i=e.input.charCodeAt(++e.position);else break}return -1!==n&&0!==r&&e.lineIndent<n&&ej(e,"deficient indentation"),r}function eW(e){var t,n=e.position;return!!((45===(t=e.input.charCodeAt(n))||46===t)&&t===e.input.charCodeAt(n+1)&&t===e.input.charCodeAt(n+2)&&(n+=3,0===(t=e.input.charCodeAt(n))||eC(t)))||!1}function eV(e,t){1===t?e.result+=" ":t>1&&(e.result+=o("\n",t-1))}function eX(e,t,n){var r,i,a,s,o,l,c,u,h=e.kind,p=e.result;if(eC(u=e.input.charCodeAt(e.position))||eN(u)||35===u||38===u||42===u||33===u||124===u||62===u||39===u||34===u||37===u||64===u||96===u||(63===u||45===u)&&(eC(r=e.input.charCodeAt(e.position+1))||n&&eN(r)))return!1;for(e.kind="scalar",e.result="",i=a=e.position,s=!1;0!==u;){if(58===u){if(eC(r=e.input.charCodeAt(e.position+1))||n&&eN(r))break}else if(35===u){if(eC(e.input.charCodeAt(e.position-1)))break}else if(e.position===e.lineStart&&eW(e)||n&&eN(u))break;else if(ev(u)){if(o=e.line,l=e.lineStart,c=e.lineIndent,eq(e,!1,-1),e.lineIndent>=t){s=!0,u=e.input.charCodeAt(e.position);continue}e.position=a,e.line=o,e.lineStart=l,e.lineIndent=c;break}s&&(ez(e,i,a,!1),eV(e,e.line-o),i=a=e.position,s=!1),eS(u)||(a=e.position+1),u=e.input.charCodeAt(++e.position)}return ez(e,i,a,!1),!!e.result||(e.kind=h,e.result=p,!1)}function eQ(e,t){var n,r,i;if(39!==(n=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,r=i=e.position;0!==(n=e.input.charCodeAt(e.position));)if(39===n){if(ez(e,r,e.position,!0),39!==(n=e.input.charCodeAt(++e.position)))return!0;r=e.position,e.position++,i=e.position}else ev(n)?(ez(e,r,i,!0),eV(e,eq(e,!1,t)),r=i=e.position):e.position===e.lineStart&&eW(e)?eU(e,"unexpected end of the document within a single quoted scalar"):(e.position++,i=e.position);eU(e,"unexpected end of the stream within a single quoted scalar")}function eZ(e,t){var n,r,i,a,s,o;if(34!==(o=e.input.charCodeAt(e.position)))return!1;for(e.kind="scalar",e.result="",e.position++,n=r=e.position;0!==(o=e.input.charCodeAt(e.position));)if(34===o)return ez(e,n,e.position,!0),e.position++,!0;else if(92===o){if(ez(e,n,e.position,!0),ev(o=e.input.charCodeAt(++e.position)))eq(e,!1,t);else if(o<256&&eP[o])e.result+=eF[o],e.position++;else if((s=eD(o))>0){for(i=s,a=0;i>0;i--)(s=eI(o=e.input.charCodeAt(++e.position)))>=0?a=(a<<4)+s:eU(e,"expected hexadecimal character");e.result+=eL(a),e.position++}else eU(e,"unknown escape sequence");n=r=e.position}else ev(o)?(ez(e,n,r,!0),eV(e,eq(e,!1,t)),n=r=e.position):e.position===e.lineStart&&eW(e)?eU(e,"unexpected end of the document within a double quoted scalar"):(e.position++,r=e.position);eU(e,"unexpected end of the stream within a double quoted scalar")}function eJ(e,t){var n,r,i,a,s,o,l,c,u,h,p,d,f=!0,m=e.tag,g=e.anchor,y=Object.create(null);if(91===(d=e.input.charCodeAt(e.position)))s=93,c=!1,a=[];else{if(123!==d)return!1;s=125,c=!0,a={}}for(null!==e.anchor&&(e.anchorMap[e.anchor]=a),d=e.input.charCodeAt(++e.position);0!==d;){if(eq(e,!0,t),(d=e.input.charCodeAt(e.position))===s)return e.position++,e.tag=m,e.anchor=g,e.kind=c?"mapping":"sequence",e.result=a,!0;f?44===d&&eU(e,"expected the node content, but found ','"):eU(e,"missed comma between flow collection entries"),h=u=p=null,o=l=!1,63===d&&eC(e.input.charCodeAt(e.position+1))&&(o=l=!0,e.position++,eq(e,!0,t)),n=e.line,r=e.lineStart,i=e.position,e6(e,t,1,!1,!0),h=e.tag,u=e.result,eq(e,!0,t),d=e.input.charCodeAt(e.position),(l||e.line===n)&&58===d&&(o=!0,d=e.input.charCodeAt(++e.position),eq(e,!0,t),e6(e,t,1,!1,!0),p=e.result),c?eK(e,a,y,h,u,p,n,r,i):o?a.push(eK(e,null,y,h,u,p,n,r,i)):a.push(u),eq(e,!0,t),44===(d=e.input.charCodeAt(e.position))?(f=!0,d=e.input.charCodeAt(++e.position)):f=!1}eU(e,"unexpected end of the stream within a flow collection")}function e0(e,t){var n,r,i,a,s=1,l=!1,c=!1,u=t,h=0,p=!1;if(124===(a=e.input.charCodeAt(e.position)))r=!1;else{if(62!==a)return!1;r=!0}for(e.kind="scalar",e.result="";0!==a;)if(43===(a=e.input.charCodeAt(++e.position))||45===a)1===s?s=43===a?3:2:eU(e,"repeat of a chomping mode identifier");else if((i=eO(a))>=0)0===i?eU(e,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?eU(e,"repeat of an indentation width identifier"):(u=t+i-1,c=!0);else break;if(eS(a)){do a=e.input.charCodeAt(++e.position);while(eS(a));if(35===a)do a=e.input.charCodeAt(++e.position);while(!ev(a)&&0!==a)}for(;0!==a;){for(eY(e),e.lineIndent=0,a=e.input.charCodeAt(e.position);(!c||e.lineIndent<u)&&32===a;)e.lineIndent++,a=e.input.charCodeAt(++e.position);if(!c&&e.lineIndent>u&&(u=e.lineIndent),ev(a)){h++;continue}if(e.lineIndent<u){3===s?e.result+=o("\n",l?1+h:h):1===s&&l&&(e.result+="\n");break}for(r?eS(a)?(p=!0,e.result+=o("\n",l?1+h:h)):p?(p=!1,e.result+=o("\n",h+1)):0===h?l&&(e.result+=" "):e.result+=o("\n",h):e.result+=o("\n",l?1+h:h),l=!0,c=!0,h=0,n=e.position;!ev(a)&&0!==a;)a=e.input.charCodeAt(++e.position);ez(e,n,e.position,!1)}return!0}function e1(e,t){var n,r,i=e.tag,a=e.anchor,s=[],o=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=s),r=e.input.charCodeAt(e.position);0!==r&&(-1!==e.firstTabInLine&&(e.position=e.firstTabInLine,eU(e,"tab characters must not be used in indentation")),45===r&&eC(e.input.charCodeAt(e.position+1)));){if(o=!0,e.position++,eq(e,!0,-1)&&e.lineIndent<=t){s.push(null),r=e.input.charCodeAt(e.position);continue}if(n=e.line,e6(e,t,3,!1,!0),s.push(e.result),eq(e,!0,-1),r=e.input.charCodeAt(e.position),(e.line===n||e.lineIndent>t)&&0!==r)eU(e,"bad indentation of a sequence entry");else if(e.lineIndent<t)break}return!!o&&(e.tag=i,e.anchor=a,e.kind="sequence",e.result=s,!0)}function e2(e,t,n){var r,i,a,s,o,l,c,u=e.tag,h=e.anchor,p={},d=Object.create(null),f=null,m=null,g=null,y=!1,b=!1;if(-1!==e.firstTabInLine)return!1;for(null!==e.anchor&&(e.anchorMap[e.anchor]=p),c=e.input.charCodeAt(e.position);0!==c;){if(y||-1===e.firstTabInLine||(e.position=e.firstTabInLine,eU(e,"tab characters must not be used in indentation")),r=e.input.charCodeAt(e.position+1),a=e.line,(63===c||58===c)&&eC(r))63===c?(y&&(eK(e,p,d,f,m,null,s,o,l),f=m=g=null),b=!0,y=!0,i=!0):y?(y=!1,i=!0):eU(e,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),e.position+=1,c=r;else{if(s=e.line,o=e.lineStart,l=e.position,!e6(e,n,2,!1,!0))break;if(e.line===a){for(c=e.input.charCodeAt(e.position);eS(c);)c=e.input.charCodeAt(++e.position);if(58===c)eC(c=e.input.charCodeAt(++e.position))||eU(e,"a whitespace character is expected after the key-value separator within a block mapping"),y&&(eK(e,p,d,f,m,null,s,o,l),f=m=g=null),b=!0,y=!1,i=!1,f=e.tag,m=e.result;else{if(!b)return e.tag=u,e.anchor=h,!0;eU(e,"can not read an implicit mapping pair; a colon is missed")}}else{if(!b)return e.tag=u,e.anchor=h,!0;eU(e,"can not read a block mapping entry; a multiline key may not be an implicit key")}}if((e.line===a||e.lineIndent>t)&&(y&&(s=e.line,o=e.lineStart,l=e.position),e6(e,t,4,!0,i)&&(y?m=e.result:g=e.result),y||(eK(e,p,d,f,m,g,s,o,l),f=m=g=null),eq(e,!0,-1),c=e.input.charCodeAt(e.position)),(e.line===a||e.lineIndent>t)&&0!==c)eU(e,"bad indentation of a mapping entry");else if(e.lineIndent<t)break}return y&&eK(e,p,d,f,m,null,s,o,l),b&&(e.tag=u,e.anchor=h,e.kind="mapping",e.result=p),b}function e3(e){var t,n,r,i,a=!1,s=!1;if(33!==(i=e.input.charCodeAt(e.position)))return!1;if(null!==e.tag&&eU(e,"duplication of a tag property"),60===(i=e.input.charCodeAt(++e.position))?(a=!0,i=e.input.charCodeAt(++e.position)):33===i?(s=!0,n="!!",i=e.input.charCodeAt(++e.position)):n="!",t=e.position,a){do i=e.input.charCodeAt(++e.position);while(0!==i&&62!==i);e.position<e.length?(r=e.input.slice(t,e.position),i=e.input.charCodeAt(++e.position)):eU(e,"unexpected end of the stream within a verbatim tag")}else{for(;0!==i&&!eC(i);)33===i&&(s?eU(e,"tag suffix cannot contain exclamation marks"):(n=e.input.slice(t-1,e.position+1),ex.test(n)||eU(e,"named tag handle cannot contain such characters"),s=!0,t=e.position+1)),i=e.input.charCodeAt(++e.position);r=e.input.slice(t,e.position),eT.test(r)&&eU(e,"tag suffix cannot contain flow indicator characters")}r&&!eA.test(r)&&eU(e,"tag name cannot contain such characters: "+r);try{r=decodeURIComponent(r)}catch(t){eU(e,"tag name is malformed: "+r)}return a?e.tag=r:e_.call(e.tagMap,n)?e.tag=e.tagMap[n]+r:"!"===n?e.tag="!"+r:"!!"===n?e.tag="tag:yaml.org,2002:"+r:eU(e,'undeclared tag handle "'+n+'"'),!0}function e5(e){var t,n;if(38!==(n=e.input.charCodeAt(e.position)))return!1;for(null!==e.anchor&&eU(e,"duplication of an anchor property"),n=e.input.charCodeAt(++e.position),t=e.position;0!==n&&!eC(n)&&!eN(n);)n=e.input.charCodeAt(++e.position);return e.position===t&&eU(e,"name of an anchor node must contain at least one character"),e.anchor=e.input.slice(t,e.position),!0}function e9(e){var t,n,r;if(42!==(r=e.input.charCodeAt(e.position)))return!1;for(r=e.input.charCodeAt(++e.position),t=e.position;0!==r&&!eC(r)&&!eN(r);)r=e.input.charCodeAt(++e.position);return e.position===t&&eU(e,"name of an alias node must contain at least one character"),n=e.input.slice(t,e.position),e_.call(e.anchorMap,n)||eU(e,'unidentified alias "'+n+'"'),e.result=e.anchorMap[n],eq(e,!0,-1),!0}function e6(e,t,n,r,i){var a,s,o,l,c,u,h,p,d,f=1,m=!1,g=!1;if(null!==e.listener&&e.listener("open",e),e.tag=null,e.anchor=null,e.kind=null,e.result=null,a=s=o=4===n||3===n,r&&eq(e,!0,-1)&&(m=!0,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)),1===f)for(;e3(e)||e5(e);)eq(e,!0,-1)?(m=!0,o=a,e.lineIndent>t?f=1:e.lineIndent===t?f=0:e.lineIndent<t&&(f=-1)):o=!1;if(o&&(o=m||i),(1===f||4===n)&&(p=1===n||2===n?t:t+1,d=e.position-e.lineStart,1===f?o&&(e1(e,d)||e2(e,d,p))||eJ(e,p)?g=!0:(s&&e0(e,p)||eQ(e,p)||eZ(e,p)?g=!0:e9(e)?(g=!0,(null!==e.tag||null!==e.anchor)&&eU(e,"alias node should not have any properties")):eX(e,p,1===n)&&(g=!0,null===e.tag&&(e.tag="?")),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):0===f&&(g=o&&e1(e,d))),null===e.tag)null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);else if("?"===e.tag){for(null!==e.result&&"scalar"!==e.kind&&eU(e,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+e.kind+'"'),l=0,c=e.implicitTypes.length;l<c;l+=1)if((h=e.implicitTypes[l]).resolve(e.result)){e.result=h.construct(e.result),e.tag=h.tag,null!==e.anchor&&(e.anchorMap[e.anchor]=e.result);break}}else if("!"!==e.tag){if(e_.call(e.typeMap[e.kind||"fallback"],e.tag))h=e.typeMap[e.kind||"fallback"][e.tag];else for(l=0,h=null,c=(u=e.typeMap.multi[e.kind||"fallback"]).length;l<c;l+=1)if(e.tag.slice(0,u[l].tag.length)===u[l].tag){h=u[l];break}h||eU(e,"unknown tag !<"+e.tag+">"),null!==e.result&&h.kind!==e.kind&&eU(e,"unacceptable node kind for !<"+e.tag+'> tag; it should be "'+h.kind+'", not "'+e.kind+'"'),h.resolve(e.result,e.tag)?(e.result=h.construct(e.result,e.tag),null!==e.anchor&&(e.anchorMap[e.anchor]=e.result)):eU(e,"cannot resolve a node with !<"+e.tag+"> explicit tag")}return null!==e.listener&&e.listener("close",e),null!==e.tag||null!==e.anchor||g}function e4(e){var t,n,r,i,a=e.position,s=!1;for(e.version=null,e.checkLineBreaks=e.legacy,e.tagMap=Object.create(null),e.anchorMap=Object.create(null);0!==(i=e.input.charCodeAt(e.position))&&(eq(e,!0,-1),i=e.input.charCodeAt(e.position),!(e.lineIndent>0)&&37===i);){for(s=!0,i=e.input.charCodeAt(++e.position),t=e.position;0!==i&&!eC(i);)i=e.input.charCodeAt(++e.position);for(n=e.input.slice(t,e.position),r=[],n.length<1&&eU(e,"directive name must not be less than one character in length");0!==i;){for(;eS(i);)i=e.input.charCodeAt(++e.position);if(35===i){do i=e.input.charCodeAt(++e.position);while(0!==i&&!ev(i));break}if(ev(i))break;for(t=e.position;0!==i&&!eC(i);)i=e.input.charCodeAt(++e.position);r.push(e.input.slice(t,e.position))}0!==i&&eY(e),e_.call(e$,n)?e$[n](e,n,r):ej(e,'unknown document directive "'+n+'"')}if(eq(e,!0,-1),0===e.lineIndent&&45===e.input.charCodeAt(e.position)&&45===e.input.charCodeAt(e.position+1)&&45===e.input.charCodeAt(e.position+2)?(e.position+=3,eq(e,!0,-1)):s&&eU(e,"directives end mark is expected"),e6(e,e.lineIndent-1,4,!1,!0),eq(e,!0,-1),e.checkLineBreaks&&eE.test(e.input.slice(a,e.position))&&ej(e,"non-ASCII line breaks are interpreted as content"),e.documents.push(e.result),e.position===e.lineStart&&eW(e)){46===e.input.charCodeAt(e.position)&&(e.position+=3,eq(e,!0,-1));return}e.position<e.length-1&&eU(e,"end of the stream or a document separator is expected")}function e8(e,t){e=String(e),t=t||{},0!==e.length&&(10!==e.charCodeAt(e.length-1)&&13!==e.charCodeAt(e.length-1)&&(e+="\n"),65279===e.charCodeAt(0)&&(e=e.slice(1)));var n=new eB(e,t),r=e.indexOf("\0");for(-1!==r&&(n.position=r,eU(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)e4(n);return n.documents}function e7(e,t,n){null!==t&&"object"==typeof t&&void 0===n&&(n=t,t=null);var r=e8(e,n);if("function"!=typeof t)return r;for(var i=0,a=r.length;i<a;i+=1)t(r[i])}function te(e,t){var n=e8(e,t);if(0!==n.length){if(1===n.length)return n[0];throw new u("expected a single document in the stream, but found more")}}(0,i.K2)(ez,"captureSegment"),(0,i.K2)(eG,"mergeMappings"),(0,i.K2)(eK,"storeMappingPair"),(0,i.K2)(eY,"readLineBreak"),(0,i.K2)(eq,"skipSeparationSpace"),(0,i.K2)(eW,"testDocumentSeparator"),(0,i.K2)(eV,"writeFoldedLines"),(0,i.K2)(eX,"readPlainScalar"),(0,i.K2)(eQ,"readSingleQuotedScalar"),(0,i.K2)(eZ,"readDoubleQuotedScalar"),(0,i.K2)(eJ,"readFlowCollection"),(0,i.K2)(e0,"readBlockScalar"),(0,i.K2)(e1,"readBlockSequence"),(0,i.K2)(e2,"readBlockMapping"),(0,i.K2)(e3,"readTagProperty"),(0,i.K2)(e5,"readAnchorProperty"),(0,i.K2)(e9,"readAlias"),(0,i.K2)(e6,"composeNode"),(0,i.K2)(e4,"readDocument"),(0,i.K2)(e8,"loadDocuments"),(0,i.K2)(e7,"loadAll$1"),(0,i.K2)(te,"load$1");var tt=Object.prototype.toString,tn=Object.prototype.hasOwnProperty,tr={};tr[0]="\\0",tr[7]="\\a",tr[8]="\\b",tr[9]="\\t",tr[10]="\\n",tr[11]="\\v",tr[12]="\\f",tr[13]="\\r",tr[27]="\\e",tr[34]='\\"',tr[92]="\\\\",tr[133]="\\N",tr[160]="\\_",tr[8232]="\\L",tr[8233]="\\P";var ti=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],ta=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ts(e,t){var n,r,i,a,s,o,l;if(null===t)return{};for(i=0,n={},a=(r=Object.keys(t)).length;i<a;i+=1)o=String(t[s=r[i]]),"!!"===s.slice(0,2)&&(s="tag:yaml.org,2002:"+s.slice(2)),(l=e.compiledTypeMap.fallback[s])&&tn.call(l.styleAliases,o)&&(o=l.styleAliases[o]),n[s]=o;return n}function to(e){var t,n,r;if(t=e.toString(16).toUpperCase(),e<=255)n="x",r=2;else if(e<=65535)n="u",r=4;else if(e<=0xffffffff)n="U",r=8;else throw new u("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+n+o("0",r-t.length)+t}function tl(e){this.schema=e.schema||eb,this.indent=Math.max(1,e.indent||2),this.noArrayIndent=e.noArrayIndent||!1,this.skipInvalid=e.skipInvalid||!1,this.flowLevel=a(e.flowLevel)?-1:e.flowLevel,this.styleMap=ts(this.schema,e.styles||null),this.sortKeys=e.sortKeys||!1,this.lineWidth=e.lineWidth||80,this.noRefs=e.noRefs||!1,this.noCompatMode=e.noCompatMode||!1,this.condenseFlow=e.condenseFlow||!1,this.quotingType='"'===e.quotingType?2:1,this.forceQuotes=e.forceQuotes||!1,this.replacer="function"==typeof e.replacer?e.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function tc(e,t){for(var n,r=o(" ",t),i=0,a=-1,s="",l=e.length;i<l;)-1===(a=e.indexOf("\n",i))?(n=e.slice(i),i=l):(n=e.slice(i,a+1),i=a+1),n.length&&"\n"!==n&&(s+=r),s+=n;return s}function tu(e,t){return"\n"+o(" ",e.indent*t)}function th(e,t){var n,r;for(n=0,r=e.implicitTypes.length;n<r;n+=1)if(e.implicitTypes[n].resolve(t))return!0;return!1}function tp(e){return 32===e||9===e}function td(e){return 32<=e&&e<=126||161<=e&&e<=55295&&8232!==e&&8233!==e||57344<=e&&e<=65533&&65279!==e||65536<=e&&e<=1114111}function tf(e){return td(e)&&65279!==e&&13!==e&&10!==e}function tm(e,t,n){var r=tf(e),i=r&&!tp(e);return(n?r:r&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e)&&35!==e&&!(58===t&&!i)||tf(t)&&!tp(t)&&35===e||58===t&&i}function tg(e){return td(e)&&65279!==e&&!tp(e)&&45!==e&&63!==e&&58!==e&&44!==e&&91!==e&&93!==e&&123!==e&&125!==e&&35!==e&&38!==e&&42!==e&&33!==e&&124!==e&&61!==e&&62!==e&&39!==e&&34!==e&&37!==e&&64!==e&&96!==e}function ty(e){return!tp(e)&&58!==e}function tb(e,t){var n,r=e.charCodeAt(t);return r>=55296&&r<=56319&&t+1<e.length&&(n=e.charCodeAt(t+1))>=56320&&n<=57343?(r-55296)*1024+n-56320+65536:r}function t_(e){return/^\n* /.test(e)}function tk(e,t,n,r,i,a,s,o){var l,c=0,u=null,h=!1,p=!1,d=-1!==r,f=-1,m=tg(tb(e,0))&&ty(tb(e,e.length-1));if(t||s)for(l=0;l<e.length;c>=65536?l+=2:l++){if(!td(c=tb(e,l)))return 5;m=m&&tm(c,u,o),u=c}else{for(l=0;l<e.length;c>=65536?l+=2:l++){if(10===(c=tb(e,l)))h=!0,d&&(p=p||l-f-1>r&&" "!==e[f+1],f=l);else if(!td(c))return 5;m=m&&tm(c,u,o),u=c}p=p||d&&l-f-1>r&&" "!==e[f+1]}return h||p?n>9&&t_(e)?5:s?2===a?5:2:p?4:3:!m||s||i(e)?2===a?5:2:1}function tE(e,t,n,r,a){e.dump=function(){if(0===t.length)return 2===e.quotingType?'""':"''";if(!e.noCompatMode&&(-1!==ti.indexOf(t)||ta.test(t)))return 2===e.quotingType?'"'+t+'"':"'"+t+"'";var s=e.indent*Math.max(1,n),o=-1===e.lineWidth?-1:Math.max(Math.min(e.lineWidth,40),e.lineWidth-s),l=r||e.flowLevel>-1&&n>=e.flowLevel;function c(t){return th(e,t)}switch((0,i.K2)(c,"testAmbiguity"),tk(t,l,e.indent,o,c,e.quotingType,e.forceQuotes&&!r,a)){case 1:return t;case 2:return"'"+t.replace(/'/g,"''")+"'";case 3:return"|"+tT(t,e.indent)+tx(tc(t,s));case 4:return">"+tT(t,e.indent)+tx(tc(tA(t,o),s));case 5:return'"'+tv(t)+'"';default:throw new u("impossible error: invalid scalar style")}}()}function tT(e,t){var n=t_(e)?String(t):"",r="\n"===e[e.length-1];return n+(r&&("\n"===e[e.length-2]||"\n"===e)?"+":r?"":"-")+"\n"}function tx(e){return"\n"===e[e.length-1]?e.slice(0,-1):e}function tA(e,t){for(var n,r,i,a=/(\n+)([^\n]*)/g,s=(a.lastIndex=n=-1!==(n=e.indexOf("\n"))?n:e.length,tw(e.slice(0,n),t)),o="\n"===e[0]||" "===e[0];i=a.exec(e);){var l=i[1],c=i[2];r=" "===c[0],s+=l+(o||r||""===c?"":"\n")+tw(c,t),o=r}return s}function tw(e,t){if(""===e||" "===e[0])return e;for(var n,r,i=/ [^ ]/g,a=0,s=0,o=0,l="";n=i.exec(e);)(o=n.index)-a>t&&(r=s>a?s:o,l+="\n"+e.slice(a,r),a=r+1),s=o;return l+="\n",e.length-a>t&&s>a?l+=e.slice(a,s)+"\n"+e.slice(s+1):l+=e.slice(a),l.slice(1)}function tv(e){for(var t,n="",r=0,i=0;i<e.length;r>=65536?i+=2:i++)!(t=tr[r=tb(e,i)])&&td(r)?(n+=e[i],r>=65536&&(n+=e[i+1])):n+=t||to(r);return n}function tS(e,t,n){var r,i,a,s="",o=e.tag;for(r=0,i=n.length;r<i;r+=1)a=n[r],e.replacer&&(a=e.replacer.call(n,String(r),a)),(tO(e,t,a,!1,!1)||void 0===a&&tO(e,t,null,!1,!1))&&(""!==s&&(s+=","+(e.condenseFlow?"":" ")),s+=e.dump);e.tag=o,e.dump="["+s+"]"}function tC(e,t,n,r){var i,a,s,o="",l=e.tag;for(i=0,a=n.length;i<a;i+=1)s=n[i],e.replacer&&(s=e.replacer.call(n,String(i),s)),(tO(e,t+1,s,!0,!0,!1,!0)||void 0===s&&tO(e,t+1,null,!0,!0,!1,!0))&&(r&&""===o||(o+=tu(e,t)),e.dump&&10===e.dump.charCodeAt(0)?o+="-":o+="- ",o+=e.dump);e.tag=l,e.dump=o||"[]"}function tN(e,t,n){var r,i,a,s,o,l="",c=e.tag,u=Object.keys(n);for(r=0,i=u.length;r<i;r+=1)o="",""!==l&&(o+=", "),e.condenseFlow&&(o+='"'),s=n[a=u[r]],e.replacer&&(s=e.replacer.call(n,a,s)),tO(e,t,a,!1,!1)&&(e.dump.length>1024&&(o+="? "),o+=e.dump+(e.condenseFlow?'"':"")+":"+(e.condenseFlow?"":" "),tO(e,t,s,!1,!1)&&(o+=e.dump,l+=o));e.tag=c,e.dump="{"+l+"}"}function tI(e,t,n,r){var i,a,s,o,l,c,h="",p=e.tag,d=Object.keys(n);if(!0===e.sortKeys)d.sort();else if("function"==typeof e.sortKeys)d.sort(e.sortKeys);else if(e.sortKeys)throw new u("sortKeys must be a boolean or a function");for(i=0,a=d.length;i<a;i+=1)c="",r&&""===h||(c+=tu(e,t)),o=n[s=d[i]],e.replacer&&(o=e.replacer.call(n,s,o)),tO(e,t+1,s,!0,!0,!0)&&((l=null!==e.tag&&"?"!==e.tag||e.dump&&e.dump.length>1024)&&(e.dump&&10===e.dump.charCodeAt(0)?c+="?":c+="? "),c+=e.dump,l&&(c+=tu(e,t)),tO(e,t+1,o,!0,l)&&(e.dump&&10===e.dump.charCodeAt(0)?c+=":":c+=": ",c+=e.dump,h+=c));e.tag=p,e.dump=h||"{}"}function tD(e,t,n){var r,i,a,s,o,l;for(a=0,s=(i=n?e.explicitTypes:e.implicitTypes).length;a<s;a+=1)if(((o=i[a]).instanceOf||o.predicate)&&(!o.instanceOf||"object"==typeof t&&t instanceof o.instanceOf)&&(!o.predicate||o.predicate(t))){if(n?o.multi&&o.representName?e.tag=o.representName(t):e.tag=o.tag:e.tag="?",o.represent){if(l=e.styleMap[o.tag]||o.defaultStyle,"[object Function]"===tt.call(o.represent))r=o.represent(t,l);else if(tn.call(o.represent,l))r=o.represent[l](t,l);else throw new u("!<"+o.tag+'> tag resolver accepts not "'+l+'" style');e.dump=r}return!0}return!1}function tO(e,t,n,r,i,a,s){e.tag=null,e.dump=n,tD(e,n,!1)||tD(e,n,!0);var o=tt.call(e.dump),l=r;r&&(r=e.flowLevel<0||e.flowLevel>t);var c,h,p,d="[object Object]"===o||"[object Array]"===o;if(d&&(p=-1!==(h=e.duplicates.indexOf(n))),(null!==e.tag&&"?"!==e.tag||p||2!==e.indent&&t>0)&&(i=!1),p&&e.usedDuplicates[h])e.dump="*ref_"+h;else{if(d&&p&&!e.usedDuplicates[h]&&(e.usedDuplicates[h]=!0),"[object Object]"===o)r&&0!==Object.keys(e.dump).length?(tI(e,t,e.dump,i),p&&(e.dump="&ref_"+h+e.dump)):(tN(e,t,e.dump),p&&(e.dump="&ref_"+h+" "+e.dump));else if("[object Array]"===o)r&&0!==e.dump.length?(e.noArrayIndent&&!s&&t>0?tC(e,t-1,e.dump,i):tC(e,t,e.dump,i),p&&(e.dump="&ref_"+h+e.dump)):(tS(e,t,e.dump),p&&(e.dump="&ref_"+h+" "+e.dump));else if("[object String]"===o)"?"!==e.tag&&tE(e,e.dump,t,a,l);else{if("[object Undefined]"===o||e.skipInvalid)return!1;throw new u("unacceptable kind of an object to dump "+o)}null!==e.tag&&"?"!==e.tag&&(c=encodeURI("!"===e.tag[0]?e.tag.slice(1):e.tag).replace(/!/g,"%21"),c="!"===e.tag[0]?"!"+c:"tag:yaml.org,2002:"===c.slice(0,18)?"!!"+c.slice(18):"!<"+c+">",e.dump=c+" "+e.dump)}return!0}function tM(e,t){var n,r,i=[],a=[];for(tL(e,i,a),n=0,r=a.length;n<r;n+=1)t.duplicates.push(i[a[n]]);t.usedDuplicates=Array(r)}function tL(e,t,n){var r,i,a;if(null!==e&&"object"==typeof e)if(-1!==(i=t.indexOf(e)))-1===n.indexOf(i)&&n.push(i);else if(t.push(e),Array.isArray(e))for(i=0,a=e.length;i<a;i+=1)tL(e[i],t,n);else for(i=0,a=(r=Object.keys(e)).length;i<a;i+=1)tL(e[r[i]],t,n)}(0,i.K2)(ts,"compileStyleMap"),(0,i.K2)(to,"encodeHex"),(0,i.K2)(tl,"State"),(0,i.K2)(tc,"indentString"),(0,i.K2)(tu,"generateNextLine"),(0,i.K2)(th,"testImplicitResolving"),(0,i.K2)(tp,"isWhitespace"),(0,i.K2)(td,"isPrintable"),(0,i.K2)(tf,"isNsCharOrWhitespace"),(0,i.K2)(tm,"isPlainSafe"),(0,i.K2)(tg,"isPlainSafeFirst"),(0,i.K2)(ty,"isPlainSafeLast"),(0,i.K2)(tb,"codePointAt"),(0,i.K2)(t_,"needIndentIndicator");function tR(e,t){return function(){throw Error("Function yaml."+e+" is removed in js-yaml 4. Use yaml."+t+" instead, which is now safe by default.")}}(0,i.K2)(tk,"chooseScalarStyle"),(0,i.K2)(tE,"writeScalar"),(0,i.K2)(tT,"blockHeader"),(0,i.K2)(tx,"dropEndingNewline"),(0,i.K2)(tA,"foldString"),(0,i.K2)(tw,"foldLine"),(0,i.K2)(tv,"escapeString"),(0,i.K2)(tS,"writeFlowSequence"),(0,i.K2)(tC,"writeBlockSequence"),(0,i.K2)(tN,"writeFlowMapping"),(0,i.K2)(tI,"writeBlockMapping"),(0,i.K2)(tD,"detectType"),(0,i.K2)(tO,"writeNode"),(0,i.K2)(tM,"getDuplicateReferences"),(0,i.K2)(tL,"inspectNode"),(0,i.K2)(function(e,t){var n=new tl(t=t||{});n.noRefs||tM(e,n);var r=e;return(n.replacer&&(r=n.replacer.call({"":r},"",r)),tO(n,0,r,!0,!0))?n.dump+"\n":""},"dump$1"),(0,i.K2)(tR,"renamed");var tP=G,tF=te;tR("safeLoad","load"),tR("safeLoadAll","loadAll"),tR("safeDump","dump")},14988:(e,t,n)=>{"use strict";let r,i,a,s;n.d(t,{h:()=>ev});let o="emphasisSequence",l="strongSequence";var c,u=n(23091);function h(e){return!!(e&&e>=55296&&e<=56319)}function p(e){return!!(e&&e>=56320&&e<=57343)}function d(e,t,n){if(t._bufferIndex<2)return e;let r=n({start:{...t,_bufferIndex:t._bufferIndex-2},end:t}).codePointAt(0);return r&&r>=65536?r:e}var f=class{cachedValue=void 0;constructor(e,t,n){this.previousCode=e,this.nowPoint=t,this.sliceSerialize=n}value(){return void 0===this.cachedValue&&(this.cachedValue=function(e,t,n){let r=e>=65536?2:1;if(t._bufferIndex<1+r)return null;let i=t._bufferIndex-r-2,a=n({start:{...t,_bufferIndex:i>=0?i:0},end:{...t,_bufferIndex:t._bufferIndex-r}}),s=a.charCodeAt(a.length-1);if(Number.isNaN(s))return null;if(a.length<2||s<56320||57343<s)return s;let o=a.codePointAt(0);return o&&o>=65536?o:s}(this.previousCode,this.nowPoint,this.sliceSerialize)),this.cachedValue}};function m(e,t,n){let r=n({start:t,end:{...t,_bufferIndex:t._bufferIndex+2}}).codePointAt(0);return r&&r>=65536?r:e}let g=[161,161,164,164,167,168,170,170,173,174,176,180,182,186,188,191,198,198,208,208,215,216,222,225,230,230,232,234,236,237,240,240,242,243,247,250,252,252,254,254,257,257,273,273,275,275,283,283,294,295,299,299,305,307,312,312,319,322,324,324,328,331,333,333,338,339,358,359,363,363,462,462,464,464,466,466,468,468,470,470,472,472,474,474,476,476,593,593,609,609,708,708,711,711,713,715,717,717,720,720,728,731,733,733,735,735,768,879,913,929,931,937,945,961,963,969,1025,1025,1040,1103,1105,1105,8208,8208,8211,8214,8216,8217,8220,8221,8224,8226,8228,8231,8240,8240,8242,8243,8245,8245,8251,8251,8254,8254,8308,8308,8319,8319,8321,8324,8364,8364,8451,8451,8453,8453,8457,8457,8467,8467,8470,8470,8481,8482,8486,8486,8491,8491,8531,8532,8539,8542,8544,8555,8560,8569,8585,8585,8592,8601,8632,8633,8658,8658,8660,8660,8679,8679,8704,8704,8706,8707,8711,8712,8715,8715,8719,8719,8721,8721,8725,8725,8730,8730,8733,8736,8739,8739,8741,8741,8743,8748,8750,8750,8756,8759,8764,8765,8776,8776,8780,8780,8786,8786,8800,8801,8804,8807,8810,8811,8814,8815,8834,8835,8838,8839,8853,8853,8857,8857,8869,8869,8895,8895,8978,8978,9312,9449,9451,9547,9552,9587,9600,9615,9618,9621,9632,9633,9635,9641,9650,9651,9654,9655,9660,9661,9664,9665,9670,9672,9675,9675,9678,9681,9698,9701,9711,9711,9733,9734,9737,9737,9742,9743,9756,9756,9758,9758,9792,9792,9794,9794,9824,9825,9827,9829,9831,9834,9836,9837,9839,9839,9886,9887,9919,9919,9926,9933,9935,9939,9941,9953,9955,9955,9960,9961,9963,9969,9972,9972,9974,9977,9979,9980,9982,9983,10045,10045,10102,10111,11094,11097,12872,12879,57344,63743,65024,65039,65533,65533,127232,127242,127248,127277,127280,127337,127344,127373,127375,127376,127387,127404,917760,917999,983040,1048573,1048576,1114109],y=[12288,12288,65281,65376,65504,65510],b=[8361,8361,65377,65470,65474,65479,65482,65487,65490,65495,65498,65500,65512,65518],_=[32,126,162,163,165,166,172,172,175,175,10214,10221,10629,10630],k=[4352,4447,8986,8987,9001,9002,9193,9196,9200,9200,9203,9203,9725,9726,9748,9749,9776,9783,9800,9811,9855,9855,9866,9871,9875,9875,9889,9889,9898,9899,9917,9918,9924,9925,9934,9934,9940,9940,9962,9962,9970,9971,9973,9973,9978,9978,9981,9981,9989,9989,9994,9995,10024,10024,10060,10060,10062,10062,10067,10069,10071,10071,10133,10135,10160,10160,10175,10175,11035,11036,11088,11088,11093,11093,11904,11929,11931,12019,12032,12245,12272,12287,12289,12350,12353,12438,12441,12543,12549,12591,12593,12686,12688,12773,12783,12830,12832,12871,12880,42124,42128,42182,43360,43388,44032,55203,63744,64255,65040,65049,65072,65106,65108,65126,65128,65131,94176,94180,94192,94198,94208,101589,101631,101662,101760,101874,110576,110579,110581,110587,110589,110590,110592,110882,110898,110898,110928,110930,110933,110933,110948,110951,110960,111355,119552,119638,119648,119670,126980,126980,127183,127183,127374,127374,127377,127386,127488,127490,127504,127547,127552,127560,127568,127569,127584,127589,127744,127776,127789,127797,127799,127868,127870,127891,127904,127946,127951,127955,127968,127984,127988,127988,127992,128062,128064,128064,128066,128252,128255,128317,128331,128334,128336,128359,128378,128378,128405,128406,128420,128420,128507,128591,128640,128709,128716,128716,128720,128722,128725,128728,128732,128735,128747,128748,128756,128764,128992,129003,129008,129008,129292,129338,129340,129349,129351,129535,129648,129660,129664,129674,129678,129734,129736,129736,129741,129756,129759,129770,129775,129784,131072,196605,196608,262141],E=(e,t)=>{let n=0,r=Math.floor(e.length/2)-1;for(;n<=r;){let i=Math.floor((n+r)/2),a=2*i;if(t<e[a])r=i-1;else{if(!(t>e[a+1]))return!0;n=i+1}}return!1},[T,x]=function(e){let t=e[0],n=e[1];for(let r=0;r<e.length;r+=2){let i=e[r],a=e[r+1];if(19968>=i&&19968<=a)return[i,a];a-i>n-t&&(t=i,n=a)}return[t,n]}(k),A=v(/\p{P}|\p{S}/u),w=v(/\s/);function v(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCodePoint(t))}}function S(e){return!!(1&e)}function C(e){return(e&r.cjkPunctuation)==2}function N(e){return!!(e&r.cjk)}function I(e){return!!(e&r.cjkOrIvs)}function D(e){return e===r.nonEmojiGeneralUseVS}function O(e){return!!(e&r.spaceOrPunctuation)}var M=n(4294);function L(e){if(null===e||(0,M.Ee)(e)||w(e))return 1;let t=0;if(e>=4352){if(null!==e&&e>=65024&&e<=65038)return r.nonEmojiGeneralUseVS;switch(function(e){if(!e||e<4352)return!1;switch(function(e){if(!Number.isSafeInteger(e))throw TypeError(`Expected a code point, got \`${typeof e}\`.`);return function(e){return!(e<161)&&!(e>1114109)&&E(g,e)?"ambiguous":!(e<12288)&&!(e>65510)&&E(y,e)?"fullwidth":!(e<8361)&&!(e>65518)&&E(b,e)?"halfwidth":!(e<32)&&!(e>10630)&&E(_,e)?"narrow":e>=T&&e<=x||!(e<4352)&&!(e>262141)&&E(k,e)?"wide":"neutral"}(e)}(e)){case"fullwidth":case"halfwidth":return!0;case"wide":return!/^\p{Emoji_Presentation}/u.test(String.fromCodePoint(e));case"narrow":return!1;case"ambiguous":return 917760<=e&&e<=917999&&null;case"neutral":return/^\p{sc=Hangul}/u.test(String.fromCodePoint(e))}}(e)){case null:return r.ivs;case!0:t|=r.cjk}}return A(e)&&(t|=2),t}function R(e,t,n){if(!D(e))return e;let i=t(),a=L(i);return!i||S(a)?e:65025===n&&i&&!(i<8216)&&(8216===i||8217===i||8220===i||8221===i)?r.cjkPunctuation:a&~r.ivs}(c=r||(r={})).spaceOrPunctuation=3,c.cjk=4096,c.cjkPunctuation=4098,c.ivs=8192,c.cjkOrIvs=12288,c.nonEmojiGeneralUseVS=16384,c.variationSelector=24576,c.ivsToCjkRightShift=1;var P=n(41161),F=n(49359);let B={name:"attention",resolveAll:function(e,t){let n,r,i,a,s,c,h,p,d=-1;for(;++d<e.length;)if("enter"===e[d][0]&&"attentionSequence"===e[d][1].type&&e[d][1]._close){for(n=d;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[d][1]).charCodeAt(0)){if((e[n][1]._close||e[d][1]._open)&&(e[d][1].end.offset-e[d][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[d][1].end.offset-e[d][1].start.offset)%3))continue;c=e[n][1].end.offset-e[n][1].start.offset>1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;let f={...e[n][1].end},m={...e[d][1].start};H(f,-c),H(m,c),a={type:c>1?l:o,start:f,end:{...e[n][1].end}},s={type:c>1?l:o,start:{...e[d][1].start},end:m},i={type:c>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[d][1].start}},r={type:c>1?"strong":"emphasis",start:{...a.start},end:{...s.end}},e[n][1].end={...a.start},e[d][1].start={...s.end},h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=(0,P.V)(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=(0,P.V)(h,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",i,t]]),(0,u.ok)(t.parser.constructs.insideSpan.null,"expected `insideSpan` to be populated"),h=(0,P.V)(h,(0,F.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),h=(0,P.V)(h,[["exit",i,t],["enter",s,t],["exit",s,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(p=2,h=(0,P.V)(h,[["enter",e[d][1],t],["exit",e[d][1],t]])):p=0,(0,P.m)(e,n-1,d-n+3,h),d=n+h.length-p-2;break}}for(d=-1;++d<e.length;)"attentionSequence"===e[d][1].type&&(e[d][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,{now:i,sliceSerialize:a,previous:s}=this,o=p(s)?d(s,i(),a):s,l=L(o),c=new f(o,i(),a),g=R(l,c.value.bind(c),o);return function(s){return(0,u.ok)(42===s||95===s,"expected asterisk or underscore"),n=s,e.enter("attentionSequence"),function s(l){if(l===n)return e.consume(l),s;let c=e.exit("attentionSequence"),p=L(h(l)?m(l,i(),a):l);(0,u.ok)(r,"expected `attentionMarkers` to be populated");let d=C(g),f=d||S(g),y=C(p),b=y||S(p),_=I(g),k=!b||y&&(f||_)||r.includes(l),E=!f||d&&(b||N(p))||r.includes(o);return c._open=!!(42===n?k:k&&(O(g)||!E)),c._close=!!(42===n?E:E&&(O(p)||!k)),t(l)}(s)}}};function H(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}function U(){let e=this.data();(e.micromarkExtensions||(e.micromarkExtensions=[])).push({text:{42:B,95:B},insideSpan:{null:[B]}})}function j(e,t,n,r){return K(e,t,n,r,z(e,t,n),1)}function $(e,t,n,r){return K(e,t,n,r,G(e,t,n),2)}function z(e,t,n){return n.options.emphasis||"*"}function G(e,t,n){return n.options.strong||"*"}function K(e,t,n,r,i,a){let s,o,l=i.repeat(a),c=n.enter(1===a?"emphasis":"strong"),u=n.createTracker(r),h=u.move(l),p=u.move(n.containerPhrasing(e,{after:i,before:h,...u.current()})),d=function(e,t,n,r){var i,a,s;let o=en(r),l=ee(r);if(null!==(i=o)&&56320<=i&&i<=57343||(a=o,s=l,D(L(a))&&(null===s||null===s))){let r=Z(e,t,n,-1);r&&(o=en(r),l=ee(r))}return{current:o,previous:l}}(e,t,n,r.before),f=function(e,t,n,r){var i;let a=et(r);if(!(null!==(i=a)&&55296<=i&&i<=56319))return a;let s=Z(e,t,n,1);return s?et(s):a}(e,t,n,r.after),m=q(d,et(p),i,"open");m.inside&&p&&(p=function(e){let[t=""]=[...e];return J(t.codePointAt(0)??null)+e.slice(t.length)}(p));let g=q({current:en(p),previous:ee(p)},f,i,"close");g.inside&&p&&(o=(s=[...p]).pop(),p=`${s.join("")}${J(o?.codePointAt(0)??null)}`);let y=u.move(l);c();let b=g.outside&&function(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if("number"!=typeof n)return!1;let r=e.children[n+1];return r?.type==="text"&&(et(r.value)??0)>65535}(t,n);return n.attentionEncodeSurroundingInfo={after:g.outside&&!b,before:m.outside},n.cjkFriendlyEncodeAfterSupplementaryText=b,h+p+y}function Y(e,t,n,r){if(!n.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);n.cjkFriendlyEncodeAfterSupplementaryText=!1;let[i=""]=[...e.value],a=e.value.slice(i.length);return`${J(i.codePointAt(0)??null)}${n.safe(a,{...r,before:";"})}`}function q(e,t,n,r){let i=Q(e),a=L(t);if(!I(i)&&!I(a))return"open"===r?W(i,a,n):W(a,i,n);let s={inside:!0,outside:!0};for(let i of[{inside:!1,outside:!1},{inside:!0,outside:!1},{inside:!1,outside:!0},s]){let a="open"===r?i.outside?er:e:i.inside?er:e,s="open"===r?i.inside?ei:t:i.outside?ei:t;if("open"===r?function(e,t,n){let r=Q(t),{close:i,open:a}=V(r,L(n));return"_"===e?a&&(O(r)||!i):a}(n,a,s):function(e,t,n){let r=L(n),{close:i,open:a}=V(Q(t),r);return"_"===e?i&&(O(r)||!a):i}(n,a,s))return i}return s}function W(e,t,n){return X(e)?X(t)?"_"===n?{inside:!0,outside:!0}:{inside:!1,outside:!1}:S(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:S(e)?X(t)?{inside:!1,outside:!1}:S(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:S(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function V(e,t){let n=C(e),r=n||S(e),i=C(t),a=i||S(t);return{open:!a||i&&(r||I(e)),close:!r||n&&(a||N(t))}}function X(e){return!S(e)&&!C(e)}function Q(e){let t=L(e.current);return null!==e.current&&D(t)?R(t,()=>e.previous,e.current):t}function Z(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,s="number"==typeof i?i:a.indexOf(e);if(!(s<0))return function e(t){return t&&"object"==typeof t?"value"in t&&"string"==typeof t.value?t.value:"alt"in t&&"string"==typeof t.alt?t.alt:"children"in t&&Array.isArray(t.children)?t.children.map(e).join(""):"":""}(a[s+r])||void 0}j.peek=z,$.peek=G;function J(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function ee(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??null}function et(e){return e.codePointAt(0)??null}function en(e){return[...e].at(-1)?.codePointAt(0)??null}let er={current:59,previous:null},ei=38;function ea(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push({handlers:{emphasis:j,strong:$,text:Y}})}function es(e){let t,n,i=this.data();(i.micromarkExtensions||(i.micromarkExtensions=[])).push((t=(e||{}).singleTilde,n={name:"strikethrough",tokenize:function(e,n,i){let{now:a,sliceSerialize:s,previous:o}=this,l=p(o)?d(o,a(),s):o,c=L(l),g=new f(l,a(),s),y=R(c,g.value.bind(g),l),b=this.events,_=0;return function(o){return((0,u.ok)(126===o,"expected `~`"),126===l&&"characterEscape"!==b[b.length-1][1].type)?i(o):(e.enter("strikethroughSequenceTemporary"),function o(c){let u=L(l);if(126===c)return _>1?i(c):(e.consume(c),_++,o);if(_<2&&!t)return i(c);let p=e.exit("strikethroughSequenceTemporary"),d=L(h(c)?m(c,a(),s):c),f=C(y)||S(y),g=C(d)||S(d),b=N(y)||u===r.ivs;return p._open=!g||2===d&&(f||b),p._close=!f||2===u&&(g||N(d)),n(c)}(o))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],o=t.parser.constructs.insideSpan.null;o&&(0,P.m)(s,s.length,0,(0,F.W)(o,e.slice(r+1,n),t)),(0,P.m)(s,s.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,P.m)(e,r-1,n-r+3,s),n=r+s.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}}))}let eo=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function el(e,t,n,r){let i,a,s=n.enter("strikethrough"),o=n.createTracker(r),l=o.move("~~"),c=o.move(n.containerPhrasing(e,{after:"~",before:l,...o.current()})),u=function(e,t,n,r){var i,a,s;let o=e_(r),l=ey(r);if(null!==(i=o)&&56320<=i&&i<=57343||(a=o,s=l,D(L(a))&&(null===s||null===s))){let r=em(e,t,n,-1);r&&(o=e_(r),l=ey(r))}return{current:o,previous:l}}(e,t,n,r.before),h=function(e,t,n,r){var i;let a=eb(r);if(!(null!==(i=a)&&55296<=i&&i<=56319))return a;let s=em(e,t,n,1);return s?eb(s):a}(e,t,n,r.after),p=eu(u,eb(c),"open");p.inside&&c&&(c=function(e){let[t=""]=[...e];return eg(t.codePointAt(0)??null)+e.slice(t.length)}(c));let d=eu({current:e_(c),previous:ey(c)},h,"close");d.inside&&c&&(a=(i=[...c]).pop(),c=`${i.join("")}${eg(a?.codePointAt(0)??null)}`);let f=o.move("~~");s();let m=d.outside&&function(e,t){if(!e)return!1;let n=t.indexStack.at(-1);if("number"!=typeof n)return!1;let r=e.children[n+1];return r?.type==="text"&&(eb(r.value)??0)>65535}(t,n);return n.attentionEncodeSurroundingInfo={after:d.outside&&!m,before:p.outside},n.cjkFriendlyEncodeAfterSupplementaryText=m,l+c+f}function ec(e,t,n,r){if(!n.cjkFriendlyEncodeAfterSupplementaryText)return n.safe(e.value,r);n.cjkFriendlyEncodeAfterSupplementaryText=!1;let[i=""]=[...e.value],a=e.value.slice(i.length);return`${eg(i.codePointAt(0)??null)}${n.safe(a,{...r,before:";"})}`}function eu(e,t,n){let r=ef(e),i=L(t);if(!I(r)&&!I(i))return"open"===n?eh(r,i):eh(i,r);let a={inside:!0,outside:!0};for(let r of[{inside:!1,outside:!1},{inside:!0,outside:!1},{inside:!1,outside:!0},a]){let i="open"===n?r.outside?ek:e:r.inside?ek:e,a="open"===n?r.inside?eE:t:r.outside?eE:t;if("open"===n?function(e,t){let{open:n}=ep(ef(e),L(t));return n}(i,a):function(e,t){let n=L(t),{close:r}=ep(ef(e),n);return r}(i,a))return r}return a}function eh(e,t){return ed(e)?ed(t)?{inside:!1,outside:!1}:S(t)?{inside:!0,outside:!0}:{inside:!1,outside:!0}:S(e)?ed(t)?{inside:!1,outside:!1}:S(t)?{inside:!0,outside:!0}:{inside:!1,outside:!1}:S(t)?{inside:!0,outside:!1}:{inside:!1,outside:!1}}function ep(e,t){let n=C(e),r=n||S(e),i=C(t),a=i||S(t);return{open:!a||i&&(r||I(e)),close:!r||n&&(a||N(t))}}function ed(e){return!S(e)&&!C(e)}function ef(e){let t=L(e.current);return null!==e.current&&D(t)?R(t,()=>e.previous,e.current):t}function em(e,t,n,r){if(!t)return;let i=n.indexStack.at(-1),a=t.children,s="number"==typeof i?i:a.indexOf(e);if(!(s<0))return function e(t){return t&&"object"==typeof t?"value"in t&&"string"==typeof t.value?t.value:"alt"in t&&"string"==typeof t.alt?t.alt:"children"in t&&Array.isArray(t.children)?t.children.map(e).join(""):"":""}(a[s+r])||void 0}el.peek=function(){return"~"};function eg(e){return`&#x${(e??0).toString(16).toUpperCase()};`}function ey(e){let t=[...e];return t.pop(),t.at(-1)?.codePointAt(0)??null}function eb(e){return e.codePointAt(0)??null}function e_(e){return[...e].at(-1)?.codePointAt(0)??null}let ek={current:59,previous:null},eE=38;function eT(){let e=this.data();(e.toMarkdownExtensions||(e.toMarkdownExtensions=[])).push({unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:eo}],handlers:{delete:el,text:ec}})}var ex=n(48250),eA=new Set(["。",".",",","、","?","!",":",";","(",")","【","】","「","」","『","』","〈","〉","《","》"]),ew=/^(https?:\/\/|mailto:|www\.)/i,ev=(s=[...i=[function(){U.call(this),ea.call(this)}],...a=[()=>e=>{(0,ex.YR)(e,"link",(e,t,n)=>{if(!n||"number"!=typeof t||!(e=>{if(1!==e.children.length)return!1;let t=e.children[0];return"text"===t.type&&t.value===e.url})(e)||!ew.test(e.url))return;let r=(e=>{let t=0;for(let n of e){if(eA.has(n))return t;t+=n.length}return null})(e.url);if(null===r||0===r)return;let i=e.url.slice(0,r),a=e.url.slice(r),s={...e,url:i,children:[{type:"text",value:i}]};return n.children.splice(t,1,s,{type:"text",value:a}),t+1})},function(e){es.call(this,e),eT.call(this)}]],{name:"cjk",type:"cjk",remarkPluginsBefore:i,remarkPluginsAfter:a,remarkPlugins:s})},17541:(e,t,n)=>{"use strict";n.d(t,{Fr:()=>u,GX:()=>c,KX:()=>l,WW:()=>s,ue:()=>a});var r=n(97096),i=n(32165),a=(0,i.K2)(e=>{let{handDrawnSeed:t}=(0,r.D7)();return{fill:e,hachureAngle:120,hachureGap:4,fillWeight:2,roughness:.7,stroke:e,seed:t}},"solidStateFill"),s=(0,i.K2)(e=>{let t=o([...e.cssCompiledStyles||[],...e.cssStyles||[],...e.labelStyle||[]]);return{stylesMap:t,stylesArray:[...t]}},"compileStyles"),o=(0,i.K2)(e=>{let t=new Map;return e.forEach(e=>{let[n,r]=e.split(":");t.set(n.trim(),r?.trim())}),t},"styles2Map"),l=(0,i.K2)(e=>"color"===e||"font-size"===e||"font-family"===e||"font-weight"===e||"font-style"===e||"text-decoration"===e||"text-align"===e||"text-transform"===e||"line-height"===e||"letter-spacing"===e||"word-spacing"===e||"text-shadow"===e||"text-overflow"===e||"white-space"===e||"word-wrap"===e||"word-break"===e||"overflow-wrap"===e||"hyphens"===e,"isLabelStyle"),c=(0,i.K2)(e=>{let{stylesArray:t}=s(e),n=[],r=[],i=[],a=[];return t.forEach(e=>{let t=e[0];l(t)?n.push(e.join(":")+" !important"):(r.push(e.join(":")+" !important"),t.includes("stroke")&&i.push(e.join(":")+" !important"),"fill"===t&&a.push(e.join(":")+" !important"))}),{labelStyles:n.join(";"),nodeStyles:r.join(";"),stylesArray:t,borderStyles:i,backgroundStyles:a}},"styles2String"),u=(0,i.K2)((e,t)=>{let{themeVariables:n,handDrawnSeed:i}=(0,r.D7)(),{nodeBorder:a,mainBkg:o}=n,{stylesMap:l}=s(e);return Object.assign({roughness:.7,fill:l.get("fill")||o,fillStyle:"hachure",fillWeight:4,hachureGap:5.2,stroke:l.get("stroke")||a,seed:i,strokeWidth:l.get("stroke-width")?.replace("px","")||1.3,fillLineDash:[0,0],strokeLineDash:h(l.get("stroke-dasharray"))},t)},"userNodeOverrides"),h=(0,i.K2)(e=>{if(!e)return[0,0];let t=e.trim().split(/\s+/).map(Number);if(1===t.length){let e=isNaN(t[0])?0:t[0];return[e,e]}return[isNaN(t[0])?0:t[0],isNaN(t[1])?0:t[1]]},"getStrokeDashArray")},18931:(e,t,n)=>{"use strict";n.d(t,{oz:()=>g});var r=n(23091),i=n(78140),a=n(99007),s=n(95155);n(12115);var o=n(82948),l=n(54615),c=n(96674),u=n(48250),h=n(72148);let p=[],d={allowDangerousHtml:!0},f=/^(https?|ircs?|mailto|xmpp)$/i,m=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function g(e){var t;let n,f,g,b,_,k=(n=(t=e).rehypePlugins||p,f=t.remarkPlugins||p,g=t.remarkRehypeOptions?{...t.remarkRehypeOptions,...d}:d,(0,c.l)().use(o.A).use(f).use(l.A,g).use(n)),E=(b=e.children||"",_=new h.T,"string"==typeof b?_.value=b:(0,r.HB)("Unexpected value `"+b+"` for `children` prop, expected `string`"),_);return function(e,t){let n=t.allowedElements,o=t.allowElement,l=t.components,c=t.disallowedElements,h=t.skipHtml,p=t.unwrapDisallowed,d=t.urlTransform||y;for(let e of m)Object.hasOwn(t,e.from)&&(0,r.HB)("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return n&&c&&(0,r.HB)("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),(0,u.YR)(e,function(e,t,r){if("raw"===e.type&&r&&"number"==typeof t)return h?r.children.splice(t,1):r.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in a.$)if(Object.hasOwn(a.$,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=a.$[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=d(String(n||""),t,e))}}if("element"===e.type){let i=n?!n.includes(e.tagName):!!c&&c.includes(e.tagName);if(!i&&o&&"number"==typeof t&&(i=!o(e,t,r)),i&&r&&"number"==typeof t)return p&&e.children?r.children.splice(t,1,...e.children):r.children.splice(t,1),t}}),(0,i.H)(e,{Fragment:s.Fragment,components:l,ignoreInvalidStyle:!0,jsx:s.jsx,jsxs:s.jsxs,passKeys:!0,passNode:!0})}(k.runSync(k.parse(E),E),e)}function y(e){let t=e.indexOf(":"),n=e.indexOf("?"),r=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==n&&t>n||-1!==r&&t>r||f.test(e.slice(0,t))?e:""}},20768:(e,t,n)=>{"use strict";n.d(t,{IN:()=>a,dc:()=>s,_Z:()=>o,VG:()=>l});var r=n(73129);let i=[],a=!0,s=!1,o="skip";function l(e,t,n,l){let c;"function"==typeof t&&"function"!=typeof n?(l=n,n=t):c=t;let u=(0,r.C)(c),h=l?-1:1;(function e(r,c,p){let d=r&&"object"==typeof r?r:{};if("string"==typeof d.type){let e="string"==typeof d.tagName?d.tagName:"string"==typeof d.name?d.name:void 0;Object.defineProperty(f,"name",{value:"node ("+r.type+(e?"<"+e+">":"")+")"})}return f;function f(){var d;let f,m,g,y=i;if((!t||u(r,c,p[p.length-1]||void 0))&&(y=Array.isArray(d=n(r,p))?d:"number"==typeof d?[a,d]:null==d?i:[d])[0]===s)return y;if("children"in r&&r.children&&r.children&&y[0]!==o)for(m=(l?r.children.length:-1)+h,g=p.concat(r);m>-1&&m<r.children.length;){if((f=e(r.children[m],m,g)())[0]===s)return f;m="number"==typeof f[1]?f[1]:m+h}return y}})(e,void 0,[])()}},21090:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,o=/^[;\s]*/,l=/^\s+|\s+$/g;function c(e){return e?e.replace(l,""):""}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var u=1,h=1;function p(e){var t=e.match(n);t&&(u+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function d(){var e={line:u,column:h};return function(t){return t.position=new f(e),g(r),t}}function f(e){this.start=e,this.end={line:u,column:h},this.source=l.source}function m(t){var n=Error(l.source+":"+u+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=u,n.column=h,n.source=e,l.silent);else throw n}function g(t){var n=t.exec(e);if(n){var r=n[0];return p(r),e=e.slice(r.length),n}}function y(e){var t;for(e=e||[];t=b();)!1!==t&&e.push(t);return e}function b(){var t=d();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return m("End of comment missing");var r=e.slice(2,n-2);return h+=2,p(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}f.prototype.content=e,g(r);var _,k=[];for(y(k);_=function(){var e=d(),n=g(i);if(n){if(b(),!g(a))return m("property missing ':'");var r=g(s),l=e({type:"declaration",property:c(n[0].replace(t,"")),value:r?c(r[0].replace(t,"")):""});return g(o),l}}();)!1!==_&&(k.push(_),y(k));return k}},21354:(e,t,n)=>{"use strict";n.d(t,{D:()=>s});var r=n(97096),i=n(32165),a=n(33948),s=(0,i.K2)(e=>{let{securityLevel:t}=(0,r.D7)(),n=(0,a.Ltv)("body");if("sandbox"===t){let t=(0,a.Ltv)(`#i${e}`),r=t.node()?.contentDocument??document;n=(0,a.Ltv)(r.body)}return n.select(`#${e}`)},"selectSvgElement")},23091:(e,t,n)=>{"use strict";function r(){}function i(){}n.d(t,{HB:()=>i,ok:()=>r})},23999:e=>{e.exports=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4E\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDF55-\uDF59]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9]|\uD805[\uDC4B-\uDC4F\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDF3C-\uDF3E]|\uD806[\uDC3B\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8]|\uD809[\uDC70-\uDC74]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDE97-\uDE9A]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD83A[\uDD5E\uDD5F]/},24662:(e,t,n)=>{"use strict";n.d(t,{$V:()=>s,Av:()=>r,GX:()=>f,ML:()=>A,NA:()=>h,OG:()=>i,Qb:()=>g,R_:()=>o,Uw:()=>p,VP:()=>l,XZ:()=>k,ZR:()=>_,_u:()=>T,cT:()=>d,i1:()=>E,iq:()=>m,kj:()=>a,pj:()=>u,q:()=>y,ri:()=>x,vC:()=>c,x6:()=>b});let r="[object RegExp]",i="[object String]",a="[object Number]",s="[object Boolean]",o="[object Arguments]",l="[object Symbol]",c="[object Date]",u="[object Map]",h="[object Set]",p="[object Array]",d="[object ArrayBuffer]",f="[object Object]",m="[object DataView]",g="[object Uint8Array]",y="[object Uint8ClampedArray]",b="[object Uint16Array]",_="[object Uint32Array]",k="[object Int8Array]",E="[object Int16Array]",T="[object Int32Array]",x="[object Float32Array]",A="[object Float64Array]"},25208:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BLANK_URL=t.relativeFirstCharacters=t.whitespaceEscapeCharsRegex=t.urlSchemeRegex=t.ctrlCharactersRegex=t.htmlCtrlEntityRegex=t.htmlEntitiesRegex=t.invalidProtocolRegex=void 0,t.invalidProtocolRegex=/^([^\w]*)(javascript|data|vbscript)/im,t.htmlEntitiesRegex=/&#(\w+)(^\w|;)?/g,t.htmlCtrlEntityRegex=/&(newline|tab);/gi,t.ctrlCharactersRegex=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,t.urlSchemeRegex=/^.+(:|:)/gim,t.whitespaceEscapeCharsRegex=/(\\|%5[cC])((%(6[eE]|72|74))|[nrt])/g,t.relativeFirstCharacters=[".","/"],t.BLANK_URL="about:blank"},27629:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={}.hasOwnProperty;function i(e,t){let n=t||{};function i(t,...n){let a=i.invalid,s=i.handlers;if(t&&r.call(t,e)){let n=String(t[e]);a=r.call(s,n)?s[n]:i.unknown}if(a)return a.call(this,t,...n)}return i.handlers=n.handlers||{},i.invalid=n.invalid,i.unknown=n.unknown,i}},27866:function(e){e.exports=function(){"use strict";var e="millisecond",t="second",n="minute",r="hour",i="week",a="month",s="quarter",o="year",l="date",c="Invalid Date",u=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,h=/\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p=function(e,t,n){var r=String(e);return!r||r.length>=t?e:""+Array(t+1-r.length).join(n)+e},d="en",f={};f[d]={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(e){var t=["th","st","nd","rd"],n=e%100;return"["+e+(t[(n-20)%10]||t[n]||t[0])+"]"}};var m="$isDayjsObject",g=function(e){return e instanceof k||!(!e||!e[m])},y=function e(t,n,r){var i;if(!t)return d;if("string"==typeof t){var a=t.toLowerCase();f[a]&&(i=a),n&&(f[a]=n,i=a);var s=t.split("-");if(!i&&s.length>1)return e(s[0])}else{var o=t.name;f[o]=t,i=o}return!r&&i&&(d=i),i||!r&&d},b=function(e,t){if(g(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new k(n)},_={s:p,z:function(e){var t=-e.utcOffset(),n=Math.abs(t);return(t<=0?"+":"-")+p(Math.floor(n/60),2,"0")+":"+p(n%60,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var r=12*(n.year()-t.year())+(n.month()-t.month()),i=t.clone().add(r,a),s=n-i<0,o=t.clone().add(r+(s?-1:1),a);return+(-(r+(n-i)/(s?i-o:o-i))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(c){return({M:a,y:o,w:i,d:"day",D:l,h:r,m:n,s:t,ms:e,Q:s})[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}};_.l=y,_.i=g,_.w=function(e,t){return b(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var k=function(){function p(e){this.$L=y(e.locale,null,!0),this.parse(e),this.$x=this.$x||e.x||{},this[m]=!0}var d=p.prototype;return d.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(0/0);if(_.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var r=t.match(u);if(r){var i=r[2]-1||0,a=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,a)}}return new Date(t)}(e),this.init()},d.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},d.$utils=function(){return _},d.isValid=function(){return this.$d.toString()!==c},d.isSame=function(e,t){var n=b(e);return this.startOf(t)<=n&&n<=this.endOf(t)},d.isAfter=function(e,t){return b(e)<this.startOf(t)},d.isBefore=function(e,t){return this.endOf(t)<b(e)},d.$g=function(e,t,n){return _.u(e)?this[t]:this.set(n,e)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(e,s){var c=this,u=!!_.u(s)||s,h=_.p(e),p=function(e,t){var n=_.w(c.$u?Date.UTC(c.$y,t,e):new Date(c.$y,t,e),c);return u?n:n.endOf("day")},d=function(e,t){return _.w(c.toDate()[e].apply(c.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(t)),c)},f=this.$W,m=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(h){case o:return u?p(1,0):p(31,11);case a:return u?p(1,m):p(0,m+1);case i:var b=this.$locale().weekStart||0,k=(f<b?f+7:f)-b;return p(u?g-k:g+(6-k),m);case"day":case l:return d(y+"Hours",0);case r:return d(y+"Minutes",1);case n:return d(y+"Seconds",2);case t:return d(y+"Milliseconds",3);default:return this.clone()}},d.endOf=function(e){return this.startOf(e,!1)},d.$set=function(i,s){var c,u=_.p(i),h="set"+(this.$u?"UTC":""),p=((c={}).day=h+"Date",c[l]=h+"Date",c[a]=h+"Month",c[o]=h+"FullYear",c[r]=h+"Hours",c[n]=h+"Minutes",c[t]=h+"Seconds",c[e]=h+"Milliseconds",c)[u],d="day"===u?this.$D+(s-this.$W):s;if(u===a||u===o){var f=this.clone().set(l,1);f.$d[p](d),f.init(),this.$d=f.set(l,Math.min(this.$D,f.daysInMonth())).$d}else p&&this.$d[p](d);return this.init(),this},d.set=function(e,t){return this.clone().$set(e,t)},d.get=function(e){return this[_.p(e)]()},d.add=function(e,s){var l,c=this;e=Number(e);var u=_.p(s),h=function(t){var n=b(c);return _.w(n.date(n.date()+Math.round(t*e)),c)};if(u===a)return this.set(a,this.$M+e);if(u===o)return this.set(o,this.$y+e);if("day"===u)return h(1);if(u===i)return h(7);var p=((l={})[n]=6e4,l[r]=36e5,l[t]=1e3,l)[u]||1,d=this.$d.getTime()+e*p;return _.w(d,this)},d.subtract=function(e,t){return this.add(-1*e,t)},d.format=function(e){var t=this,n=this.$locale();if(!this.isValid())return n.invalidDate||c;var r=e||"YYYY-MM-DDTHH:mm:ssZ",i=_.z(this),a=this.$H,s=this.$m,o=this.$M,l=n.weekdays,u=n.months,p=n.meridiem,d=function(e,n,i,a){return e&&(e[n]||e(t,r))||i[n].slice(0,a)},f=function(e){return _.s(a%12||12,e,"0")},m=p||function(e,t,n){var r=e<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(h,function(e,r){return r||function(e){switch(e){case"YY":return String(t.$y).slice(-2);case"YYYY":return _.s(t.$y,4,"0");case"M":return o+1;case"MM":return _.s(o+1,2,"0");case"MMM":return d(n.monthsShort,o,u,3);case"MMMM":return d(u,o);case"D":return t.$D;case"DD":return _.s(t.$D,2,"0");case"d":return String(t.$W);case"dd":return d(n.weekdaysMin,t.$W,l,2);case"ddd":return d(n.weekdaysShort,t.$W,l,3);case"dddd":return l[t.$W];case"H":return String(a);case"HH":return _.s(a,2,"0");case"h":return f(1);case"hh":return f(2);case"a":return m(a,s,!0);case"A":return m(a,s,!1);case"m":return String(s);case"mm":return _.s(s,2,"0");case"s":return String(t.$s);case"ss":return _.s(t.$s,2,"0");case"SSS":return _.s(t.$ms,3,"0");case"Z":return i}return null}(e)||i.replace(":","")})},d.utcOffset=function(){return-(15*Math.round(this.$d.getTimezoneOffset()/15))},d.diff=function(e,l,c){var u,h=this,p=_.p(l),d=b(e),f=(d.utcOffset()-this.utcOffset())*6e4,m=this-d,g=function(){return _.m(h,d)};switch(p){case o:u=g()/12;break;case a:u=g();break;case s:u=g()/3;break;case i:u=(m-f)/6048e5;break;case"day":u=(m-f)/864e5;break;case r:u=m/36e5;break;case n:u=m/6e4;break;case t:u=m/1e3;break;default:u=m}return c?u:_.a(u)},d.daysInMonth=function(){return this.endOf(a).$D},d.$locale=function(){return f[this.$L]},d.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),r=y(e,t,!0);return r&&(n.$L=r),n},d.clone=function(){return _.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},p}(),E=k.prototype;return b.prototype=E,[["$ms",e],["$s",t],["$m",n],["$H",r],["$W","day"],["$M",a],["$y",o],["$D",l]].forEach(function(e){E[e[1]]=function(t){return this.$g(t,e[0],e[1])}}),b.extend=function(e,t){return e.$i||(e(t,k,b),e.$i=!0),b},b.locale=y,b.isDayjs=g,b.unix=function(e){return b(1e3*e)},b.en=f[d],b.Ls=f,b.p={},b}()},28830:(e,t,n)=>{"use strict";function r(e){return e&&"object"==typeof e?"position"in e||"type"in e?a(e.position):"start"in e||"end"in e?a(e):"line"in e||"column"in e?i(e):"":""}function i(e){return s(e&&e.line)+":"+s(e&&e.column)}function a(e){return i(e&&e.start)+"-"+i(e&&e.end)}function s(e){return e&&"number"==typeof e?e:1}n.d(t,{L:()=>r})},32165:(e,t,n)=>{"use strict";n.d(t,{He:()=>c,K2:()=>a,Rm:()=>l,VA:()=>s});var r=n(27866),i=Object.defineProperty,a=(e,t)=>i(e,"name",{value:t,configurable:!0}),s=(e,t)=>{for(var n in t)i(e,n,{get:t[n],enumerable:!0})},o={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:a((...e)=>{},"trace"),debug:a((...e)=>{},"debug"),info:a((...e)=>{},"info"),warn:a((...e)=>{},"warn"),error:a((...e)=>{},"error"),fatal:a((...e)=>{},"fatal")},c=a(function(e="fatal"){let t=o.fatal;"string"==typeof e?e.toLowerCase()in o&&(t=o[e]):"number"==typeof e&&(t=e),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},t<=o.fatal&&(l.fatal=console.error?console.error.bind(console,u("FATAL"),"color: orange"):console.log.bind(console,"\x1b[35m",u("FATAL"))),t<=o.error&&(l.error=console.error?console.error.bind(console,u("ERROR"),"color: orange"):console.log.bind(console,"\x1b[31m",u("ERROR"))),t<=o.warn&&(l.warn=console.warn?console.warn.bind(console,u("WARN"),"color: orange"):console.log.bind(console,"\x1b[33m",u("WARN"))),t<=o.info&&(l.info=console.info?console.info.bind(console,u("INFO"),"color: lightblue"):console.log.bind(console,"\x1b[34m",u("INFO"))),t<=o.debug&&(l.debug=console.debug?console.debug.bind(console,u("DEBUG"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",u("DEBUG"))),t<=o.trace&&(l.trace=console.debug?console.debug.bind(console,u("TRACE"),"color: lightgreen"):console.log.bind(console,"\x1b[32m",u("TRACE")))},"setLogLevel"),u=a(e=>{let t=r().format("ss.SSS");return`%c${t} : ${e} : `},"format")},32174:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(78437);function i(e){return null!==e&&"object"==typeof e&&"[object Arguments]"===(0,r.b)(e)}},32563:(e,t,n)=>{"use strict";n.d(t,{pe:()=>A,PX:()=>Z,ru:()=>X,Un:()=>Q,$t:()=>ei,Sm:()=>eo,C4:()=>es,$C:()=>z,rY:()=>el,sM:()=>j,KL:()=>ec,Ib:()=>D,dq:()=>et,I5:()=>er,yT:()=>K,vU:()=>N,_K:()=>ea,bH:()=>W});var r,i=n(97096),a=n(32165),s=n(84485),o=n(33948);function l(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");let n=function(...r){let i=t?t.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);let s=e.apply(this,r);return n.cache=a.set(i,s)||a,s};return n.cache=new(l.Cache||Map),n}function c(){}l.Cache=Map;var u=n(83438),h=n(52618);function p(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}var d=n(87789);function f(e){if("object"!=typeof e||null==e)return!1;if(null===Object.getPrototypeOf(e))return!0;if("[object Object]"!==Object.prototype.toString.call(e)){let t=e[Symbol.toStringTag];return null!=t&&!!Object.getOwnPropertyDescriptor(e,Symbol.toStringTag)?.writable&&e.toString()===`[object ${t}]`}let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}var m=n(78437),g=n(24662);function y(e,t,n,r=new Map,i){let a=i?.(e,t,n,r);if(void 0!==a)return a;if((0,u.s)(e))return e;if(r.has(e))return r.get(e);if(Array.isArray(e)){let t=Array(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=y(e[a],a,n,r,i);return Object.hasOwn(e,"index")&&(t.index=e.index),Object.hasOwn(e,"input")&&(t.input=e.input),t}if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){let t=new RegExp(e.source,e.flags);return t.lastIndex=e.lastIndex,t}if(e instanceof Map){let t=new Map;for(let[a,s]of(r.set(e,t),e))t.set(a,y(s,a,n,r,i));return t}if(e instanceof Set){let t=new Set;for(let a of(r.set(e,t),e))t.add(y(a,void 0,n,r,i));return t}if((0,d.P)(e))return e.subarray();if((0,h.i)(e)){let t=new(Object.getPrototypeOf(e)).constructor(e.length);r.set(e,t);for(let a=0;a<e.length;a++)t[a]=y(e[a],a,n,r,i);return t}if(e instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);if(e instanceof DataView){let t=new DataView(e.buffer.slice(0),e.byteOffset,e.byteLength);return r.set(e,t),b(t,e,n,r,i),t}if("u">typeof File&&e instanceof File){let t=new File([e],e.name,{type:e.type});return r.set(e,t),b(t,e,n,r,i),t}if("u">typeof Blob&&e instanceof Blob){let t=new Blob([e],{type:e.type});return r.set(e,t),b(t,e,n,r,i),t}if(e instanceof Error){let t=structuredClone(e);return r.set(e,t),t.message=e.message,t.name=e.name,t.stack=e.stack,t.cause=e.cause,t.constructor=e.constructor,b(t,e,n,r,i),t}if(e instanceof Boolean){let t=new Boolean(e.valueOf());return r.set(e,t),b(t,e,n,r,i),t}if(e instanceof Number){let t=new Number(e.valueOf());return r.set(e,t),b(t,e,n,r,i),t}if(e instanceof String){let t=new String(e.valueOf());return r.set(e,t),b(t,e,n,r,i),t}if("object"==typeof e&&function(e){switch((0,m.b)(e)){case g.R_:case g.Uw:case g.cT:case g.iq:case g.$V:case g.vC:case g.ri:case g.ML:case g.XZ:case g.i1:case g._u:case g.pj:case g.kj:case g.GX:case g.Av:case g.NA:case g.OG:case g.VP:case g.Qb:case g.q:case g.x6:case g.ZR:return!0;default:return!1}}(e)){let t=Object.create(Object.getPrototypeOf(e));return r.set(e,t),b(t,e,n,r,i),t}return e}function b(e,t,n=e,r,i){let a=[...Object.keys(t),...p(t)];for(let s=0;s<a.length;s++){let o=a[s],l=Object.getOwnPropertyDescriptor(e,o);(null==l||l.writable)&&(e[o]=y(t[o],o,n,r,i))}}function _(e){var t;return t=(t,n,r,i)=>{let a;if(void 0!==a)return a;if("object"==typeof e){if("[object Object]"===(0,m.b)(e)&&"function"!=typeof e.constructor){let t={};return i.set(e,t),b(t,e,r,i),t}switch(Object.prototype.toString.call(e)){case g.kj:case g.OG:case g.$V:{let t=new e.constructor(e?.valueOf());return b(t,e),t}case g.R_:{let t={};return b(t,e),t.length=e.length,t[Symbol.iterator]=e[Symbol.iterator],t}default:return}}},y(e,void 0,e,new Map,t)}var k=n(32174);function E(e){return"object"==typeof e&&null!==e}var T=n(9101),x=n(95683),A="",w={curveBasis:o.qrM,curveBasisClosed:o.Yu4,curveBasisOpen:o.IA3,curveBumpX:o.Wi0,curveBumpY:o.PGM,curveBundle:o.OEq,curveCardinalClosed:o.olC,curveCardinalOpen:o.IrU,curveCardinal:o.y8u,curveCatmullRomClosed:o.Q7f,curveCatmullRomOpen:o.cVp,curveCatmullRom:o.oDi,curveLinear:o.lUB,curveLinearClosed:o.Lx9,curveMonotoneX:o.nVG,curveMonotoneY:o.uxU,curveNatural:o.Xf2,curveStep:o.GZz,curveStepAfter:o.UPb,curveStepBefore:o.dyv},v=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,S=(0,a.K2)(function(e,t){let n=C(e,/(?:init\b)|(?:initialize\b)/),r={};if(Array.isArray(n)){let e=n.map(e=>e.args);(0,i.$i)(e),r=(0,i.hH)(r,[...e])}else r=n.args;if(!r)return;let a=(0,i.Ch)(e,t),s="config";return void 0!==r[s]&&("flowchart-v2"===a&&(a="flowchart"),r[a]=r[s],delete r[s]),r},"detectInit"),C=(0,a.K2)(function(e,t=null){try{let n,r=RegExp(`[%]{2}(?![{]${v.source})(?=[}][%]{2}).*
|
|
102
|
+
`,"ig");e=e.trim().replace(r,"").replace(/'/gm,'"'),a.Rm.debug(`Detecting diagram directive${null!==t?" type:"+t:""} based on the text:${e}`);let s=[];for(;null!==(n=i.DB.exec(e));)if(n.index===i.DB.lastIndex&&i.DB.lastIndex++,n&&!t||t&&n[1]?.match(t)||t&&n[2]?.match(t)){let e=n[1]?n[1]:n[2],t=n[3]?n[3].trim():n[4]?JSON.parse(n[4].trim()):null;s.push({type:e,args:t})}if(0===s.length)return{type:e,args:null};return 1===s.length?s[0]:s}catch(n){return a.Rm.error(`ERROR: ${n.message} - Unable to parse directive type: '${t}' based on the text: '${e}'`),{type:void 0,args:null}}},"detectDirective"),N=(0,a.K2)(function(e){return e.replace(i.DB,"")},"removeDirectives"),I=(0,a.K2)(function(e,t){for(let[n,r]of t.entries())if(r.match(e))return n;return -1},"isSubstringInArray");function D(e,t){return e?w[`curve${e.charAt(0).toUpperCase()+e.slice(1)}`]??t:t}function O(e,t){let n=e.trim();if(n)return"loose"!==t.securityLevel?(0,s.J)(n):n}(0,a.K2)(D,"interpolateToCurve"),(0,a.K2)(O,"formatUrl");var M=(0,a.K2)((e,...t)=>{let n=e.split("."),r=n.length-1,i=n[r],s=window;for(let t=0;t<r;t++)if(!(s=s[n[t]]))return void a.Rm.error(`Function name: ${e} not found in window`);s[i](...t)},"runFunc");function L(e,t){return e&&t?Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2)):0}function R(e){let t,n=0;return e.forEach(e=>{n+=L(e,t),t=e}),B(e,n/2)}function P(e){return 1===e.length?e[0]:R(e)}(0,a.K2)(L,"distance"),(0,a.K2)(R,"traverseEdge"),(0,a.K2)(P,"calcLabelPosition");var F=(0,a.K2)((e,t=2)=>{let n=Math.pow(10,t);return Math.round(e*n)/n},"roundNumber"),B=(0,a.K2)((e,t)=>{let n,r=t;for(let t of e){if(n){let e=L(t,n);if(0===e)return n;if(e<r)r-=e;else{let i=r/e;if(i<=0)return n;if(i>=1)return{x:t.x,y:t.y};if(i>0&&i<1)return{x:F((1-i)*n.x+i*t.x,5),y:F((1-i)*n.y+i*t.y,5)}}}n=t}throw Error("Could not find a suitable point for the given distance")},"calculatePoint"),H=(0,a.K2)((e,t,n)=>{a.Rm.info(`our points ${JSON.stringify(t)}`),t[0]!==n&&(t=t.reverse());let r=B(t,25),i=e?10:5,s=Math.atan2(t[0].y-r.y,t[0].x-r.x),o={x:0,y:0};return o.x=Math.sin(s)*i+(t[0].x+r.x)/2,o.y=-Math.cos(s)*i+(t[0].y+r.y)/2,o},"calcCardinalityPosition");function U(e,t,n){let r=structuredClone(n);a.Rm.info("our points",r),"start_left"!==t&&"start_right"!==t&&r.reverse();let i=B(r,25+e),s=10+.5*e,o=Math.atan2(r[0].y-i.y,r[0].x-i.x),l={x:0,y:0};return"start_left"===t?(l.x=Math.sin(o+Math.PI)*s+(r[0].x+i.x)/2,l.y=-Math.cos(o+Math.PI)*s+(r[0].y+i.y)/2):"end_right"===t?(l.x=Math.sin(o-Math.PI)*s+(r[0].x+i.x)/2-5,l.y=-Math.cos(o-Math.PI)*s+(r[0].y+i.y)/2-5):"end_left"===t?(l.x=Math.sin(o)*s+(r[0].x+i.x)/2-5,l.y=-Math.cos(o)*s+(r[0].y+i.y)/2-5):(l.x=Math.sin(o)*s+(r[0].x+i.x)/2,l.y=-Math.cos(o)*s+(r[0].y+i.y)/2),l}function j(e){let t="",n="";for(let r of e)void 0!==r&&(r.startsWith("color:")||r.startsWith("text-align:")?n=n+r+";":t=t+r+";");return{style:t,labelStyle:n}}(0,a.K2)(U,"calcTerminalLabelPosition"),(0,a.K2)(j,"getStylesFromArray");var $=0,z=(0,a.K2)(()=>($++,"id-"+Math.random().toString(36).substr(2,12)+"-"+$),"generateId");function G(e){let t="",n="0123456789abcdef",r=n.length;for(let i=0;i<e;i++)t+=n.charAt(Math.floor(Math.random()*r));return t}(0,a.K2)(G,"makeRandomHex");var K=(0,a.K2)(e=>G(e.length),"random"),Y=(0,a.K2)(function(){return{x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""}},"getTextObj"),q=(0,a.K2)(function(e,t){let n=t.text.replace(i.Y2.lineBreakRegex," "),[,r]=er(t.fontSize),a=e.append("text");a.attr("x",t.x),a.attr("y",t.y),a.style("text-anchor",t.anchor),a.style("font-family",t.fontFamily),a.style("font-size",r),a.style("font-weight",t.fontWeight),a.attr("fill",t.fill),void 0!==t.class&&a.attr("class",t.class);let s=a.append("tspan");return s.attr("x",t.x+2*t.textMargin),s.attr("fill",t.fill),s.text(n),a},"drawSimpleText"),W=l((e,t,n)=>{if(!e||(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),i.Y2.lineBreakRegex.test(e)))return e;let r=e.split(" ").filter(Boolean),a=[],s="";return r.forEach((e,i)=>{let o=Q(`${e} `,n),l=Q(s,n);if(o>t){let{hyphenatedStrings:r,remainingWord:i}=V(e,t,"-",n);a.push(s,...r),s=i}else l+o>=t?(a.push(s),s=e):s=[s,e].filter(Boolean).join(" ");i+1===r.length&&a.push(s)}),a.filter(e=>""!==e).join(n.joinWith)},(e,t,n)=>`${e}${t}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`),V=l((e,t,n="-",r)=>{r=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},r);let i=[...e],a=[],s="";return i.forEach((e,o)=>{let l=`${s}${e}`;if(Q(l,r)>=t){let e=i.length===o+1,t=`${l}${n}`;a.push(e?l:t),s=""}else s=l}),{hyphenatedStrings:a,remainingWord:s}},(e,t,n="-",r)=>`${e}${t}${n}${r.fontSize}${r.fontWeight}${r.fontFamily}`);function X(e,t){return Z(e,t).height}function Q(e,t){return Z(e,t).width}(0,a.K2)(X,"calculateTextHeight"),(0,a.K2)(Q,"calculateTextWidth");var Z=l((e,t)=>{let{fontSize:n=12,fontFamily:r="Arial",fontWeight:a=400}=t;if(!e)return{width:0,height:0};let[,s]=er(n),l=e.split(i.Y2.lineBreakRegex),c=[],u=(0,o.Ltv)("body");if(!u.remove)return{width:0,height:0,lineHeight:0};let h=u.append("svg");for(let e of["sans-serif",r]){let t=0,n={width:0,height:0,lineHeight:0};for(let r of l){let i=Y();i.text=r||A;let o=q(h,i).style("font-size",s).style("font-weight",a).style("font-family",e),l=(o._groups||o)[0][0].getBBox();if(0===l.width&&0===l.height)throw Error("svg element not in render tree");n.width=Math.round(Math.max(n.width,l.width)),t=Math.round(l.height),n.height+=t,n.lineHeight=Math.round(Math.max(n.lineHeight,t))}c.push(n)}h.remove();let p=isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1;return c[p]},(e,t)=>`${e}${t.fontSize}${t.fontWeight}${t.fontFamily}`),J=class{constructor(e=!1,t){this.count=0,this.count=t?t.length:0,this.next=e?()=>this.count++:()=>Date.now()}static{(0,a.K2)(this,"InitIDGenerator")}},ee=(0,a.K2)(function(e){return r=r||document.createElement("div"),e=escape(e).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),r.innerHTML=e,unescape(r.textContent)},"entityDecode");function et(e){return"str"in e}(0,a.K2)(et,"isDetailedError");var en=(0,a.K2)((e,t,n,r)=>{if(!r)return;let i=e.node()?.getBBox();i&&e.append("text").text(r).attr("text-anchor","middle").attr("x",i.x+i.width/2).attr("y",-n).attr("class",t)},"insertTitle"),er=(0,a.K2)(e=>{if("number"==typeof e)return[e,e+"px"];let t=parseInt(e??"",10);return Number.isNaN(t)?[void 0,void 0]:e===String(t)?[t,e+"px"]:[t,e]},"parseFontSize");function ei(e,t){return function(e,...t){return function(e,...t){let n=t.slice(0,-1),r=t[t.length-1],i=e;for(let e=0;e<n.length;e++)i=function e(t,n,r,i){if((0,u.s)(t)&&(t=Object(t)),null==n||"object"!=typeof n)return t;if(i.has(n))return function(e){if((0,u.s)(e))return e;if(Array.isArray(e)||(0,h.i)(e)||e instanceof ArrayBuffer||"u">typeof SharedArrayBuffer&&e instanceof SharedArrayBuffer)return e.slice(0);let t=Object.getPrototypeOf(e);if(null==t)return Object.assign(Object.create(t),e);let n=t.constructor;if(e instanceof Date||e instanceof Map||e instanceof Set)return new n(e);if(e instanceof RegExp){let t=new n(e);return t.lastIndex=e.lastIndex,t}if(e instanceof DataView)return new n(e.buffer.slice(0));if(e instanceof Error){let t;return(t=e instanceof AggregateError?new n(e.errors,e.message,{cause:e.cause}):new n(e.message,{cause:e.cause})).stack=e.stack,Object.assign(t,e),t}return"u">typeof File&&e instanceof File?new n([e],e.name,{type:e.type,lastModified:e.lastModified}):"object"==typeof e?Object.assign(Object.create(t),e):e}(i.get(n));if(i.set(n,t),Array.isArray(n)){n=n.slice();for(let e=0;e<n.length;e++)n[e]=n[e]??void 0}let a=[...Object.keys(n),...p(n)];for(let o=0;o<a.length;o++){let l=a[o];if("__proto__"===l)continue;let c=n[l],u=t[l];if((0,k.N)(c)&&(c={...c}),(0,k.N)(u)&&(u={...u}),(0,d.P)(c)&&(c=_(c)),Array.isArray(c))if(Array.isArray(u)){let e=[],t=Reflect.ownKeys(u);for(let n=0;n<t.length;n++){let r=t[n];e[r]=u[r]}u=e}else{var s;if(E(s=u)&&(0,T.X)(s)){let e=[];for(let t=0;t<u.length;t++)e[t]=u[t];u=e}else u=[]}let h=r(u,c,l,t,n,i);void 0!==h?t[l]=h:Array.isArray(c)||E(u)&&E(c)&&(f(u)||f(c)||(0,x.i)(u)||(0,x.i)(c))?t[l]=e(u,c,r,i):null==u&&f(c)?t[l]=e({},c,r,i):null==u&&(0,x.i)(c)?t[l]=_(c):(void 0===u||void 0!==c)&&(t[l]=c)}return t}(i,n[e],r,new Map);return i}(e,...t,c)}({},e,t)}(0,a.K2)(ei,"cleanAndMerge");var ea={assignWithDepth:i.hH,wrapLabel:W,calculateTextHeight:X,calculateTextWidth:Q,calculateTextDimensions:Z,cleanAndMerge:ei,detectInit:S,detectDirective:C,isSubstringInArray:I,interpolateToCurve:D,calcLabelPosition:P,calcCardinalityPosition:H,calcTerminalLabelPosition:U,formatUrl:O,getStylesFromArray:j,generateId:z,random:K,runFunc:M,entityDecode:ee,insertTitle:en,isLabelCoordinateInPath:eu,parseFontSize:er,InitIDGenerator:J},es=(0,a.K2)(function(e){let t=e;return(t=(t=t.replace(/style.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)})).replace(/classDef.*:\S*#.*;/g,function(e){return e.substring(0,e.length-1)})).replace(/#\w+;/g,function(e){let t=e.substring(1,e.length-1);return/^\+?\d+$/.test(t)?"fl\xb0\xb0"+t+"\xb6\xdf":"fl\xb0"+t+"\xb6\xdf"})},"encodeEntities"),eo=(0,a.K2)(function(e){return e.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},"decodeEntities"),el=(0,a.K2)((e,t,{counter:n=0,prefix:r,suffix:i},a)=>a||`${r?`${r}_`:""}${e}_${t}_${n}${i?`_${i}`:""}`,"getEdgeId");function ec(e){return e??null}function eu(e,t){let n=Math.round(e.x),r=Math.round(e.y),i=t.replace(/(\d+\.\d+)/g,e=>Math.round(parseFloat(e)).toString());return i.includes(n.toString())||i.includes(r.toString())}(0,a.K2)(ec,"handleUndefinedAttr"),(0,a.K2)(eu,"isLabelCoordinateInPath")},32682:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(99634)),i=n(52634);function a(e,t){var n={};return e&&"string"==typeof e&&(0,r.default)(e,function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)}),n}a.default=a,e.exports=a},33948:(e,t,n)=>{"use strict";function r(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function i(e,t){let n;if(void 0===t)for(let t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);else{let r=-1;for(let i of e)null!=(i=t(i,++r,e))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function a(e){return e}function s(e){return"translate("+e+",0)"}function o(e){return"translate(0,"+e+")"}function l(){return!this.__axis}function c(e,t){var n=[],r=null,i=null,c=6,u=6,h=3,p="u">typeof window&&window.devicePixelRatio>1?0:.5,d=1===e||4===e?-1:1,f=4===e||2===e?"x":"y",m=1===e||3===e?s:o;function g(s){var o=null==r?t.ticks?t.ticks.apply(t,n):t.domain():r,g=null==i?t.tickFormat?t.tickFormat.apply(t,n):a:i,y=Math.max(c,0)+h,b=t.range(),_=+b[0]+p,k=+b[b.length-1]+p,E=(t.bandwidth?function(e,t){return t=Math.max(0,e.bandwidth()-2*t)/2,e.round()&&(t=Math.round(t)),n=>+e(n)+t}:function(e){return t=>+e(t)})(t.copy(),p),T=s.selection?s.selection():s,x=T.selectAll(".domain").data([null]),A=T.selectAll(".tick").data(o,t).order(),w=A.exit(),v=A.enter().append("g").attr("class","tick"),S=A.select("line"),C=A.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),A=A.merge(v),S=S.merge(v.append("line").attr("stroke","currentColor").attr(f+"2",d*c)),C=C.merge(v.append("text").attr("fill","currentColor").attr(f,d*y).attr("dy",1===e?"0em":3===e?"0.71em":"0.32em")),s!==T&&(x=x.transition(s),A=A.transition(s),S=S.transition(s),C=C.transition(s),w=w.transition(s).attr("opacity",1e-6).attr("transform",function(e){return isFinite(e=E(e))?m(e+p):this.getAttribute("transform")}),v.attr("opacity",1e-6).attr("transform",function(e){var t=this.parentNode.__axis;return m((t&&isFinite(t=t(e))?t:E(e))+p)})),w.remove(),x.attr("d",4===e||2===e?u?"M"+d*u+","+_+"H"+p+"V"+k+"H"+d*u:"M"+p+","+_+"V"+k:u?"M"+_+","+d*u+"V"+p+"H"+k+"V"+d*u:"M"+_+","+p+"H"+k),A.attr("opacity",1).attr("transform",function(e){return m(E(e)+p)}),S.attr(f+"2",d*c),C.attr(f,d*y).text(g),T.filter(l).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===e?"start":4===e?"end":"middle"),T.each(function(){this.__axis=E})}return g.scale=function(e){return arguments.length?(t=e,g):t},g.ticks=function(){return n=Array.from(arguments),g},g.tickArguments=function(e){return arguments.length?(n=null==e?[]:Array.from(e),g):n.slice()},g.tickValues=function(e){return arguments.length?(r=null==e?null:Array.from(e),g):r&&r.slice()},g.tickFormat=function(e){return arguments.length?(i=e,g):i},g.tickSize=function(e){return arguments.length?(c=u=+e,g):c},g.tickSizeInner=function(e){return arguments.length?(c=+e,g):c},g.tickSizeOuter=function(e){return arguments.length?(u=+e,g):u},g.tickPadding=function(e){return arguments.length?(h=+e,g):h},g.offset=function(e){return arguments.length?(p=+e,g):p},g}function u(e){return c(1,e)}function h(e){return c(3,e)}function p(){}function d(e){return null==e?p:function(){return this.querySelector(e)}}function f(){return[]}function m(e){return null==e?f:function(){return this.querySelectorAll(e)}}function g(e){return function(){return this.matches(e)}}function y(e){return function(t){return t.matches(e)}}n.d(t,{JLW:()=>iW,l78:()=>h,tlR:()=>u,qrM:()=>i4,Yu4:()=>i7,IA3:()=>at,Wi0:()=>ar,PGM:()=>ai,OEq:()=>as,y8u:()=>ac,olC:()=>ah,IrU:()=>ad,oDi:()=>ag,Q7f:()=>ab,cVp:()=>ak,lUB:()=>iQ,Lx9:()=>aT,nVG:()=>aN,uxU:()=>aI,Xf2:()=>aM,GZz:()=>aR,UPb:()=>aF,dyv:()=>aP,GPZ:()=>es,Sk5:()=>tz,bEH:()=>ns,n8j:()=>i0,T9B:()=>r,jkA:()=>i,rLf:()=>i3,WH:()=>function e(){var t,n,r=np().unknown(void 0),i=r.domain,a=r.range,s=0,o=1,l=!1,c=0,u=0,h=.5;function p(){var e=i().length,r=o<s,p=r?o:s,d=r?s:o;t=(d-p)/Math.max(1,e-c+2*u),l&&(t=Math.floor(t)),p+=(d-p-t*(e-c))*h,n=t*(1-c),l&&(p=Math.round(p),n=Math.round(n));var f=(function(e,t,n){e*=1,t*=1,n=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((t-e)/n)),a=Array(i);++r<i;)a[r]=e+r*n;return a})(e).map(function(e){return p+t*e});return a(r?f.reverse():f)}return delete r.unknown,r.domain=function(e){return arguments.length?(i(e),p()):i()},r.range=function(e){return arguments.length?([s,o]=e,s*=1,o*=1,p()):[s,o]},r.rangeRound=function(e){return[s,o]=e,s*=1,o*=1,l=!0,p()},r.bandwidth=function(){return n},r.step=function(){return t},r.round=function(e){return arguments.length?(l=!!e,p()):l},r.padding=function(e){return arguments.length?(c=Math.min(1,u=+e),p()):c},r.paddingInner=function(e){return arguments.length?(c=Math.min(1,e),p()):c},r.paddingOuter=function(e){return arguments.length?(u=+e,p()):u},r.align=function(e){return arguments.length?(h=Math.max(0,Math.min(1,e)),p()):h},r.copy=function(){return e(i(),[s,o]).round(l).paddingInner(c).paddingOuter(u).align(h)},no.apply(p(),arguments)},m4Y:()=>function e(){var t,n=nM();return n.copy=function(){return nO(n,e())},no.apply(n,arguments),t=n.domain,n.ticks=function(e){var n=t();return function(e,t,n){if(t*=1,e*=1,!((n*=1)>0))return[];if(e===t)return[e];let r=t<e,[i,a,s]=r?ng(t,e,n):ng(e,t,n);if(!(a>=i))return[];let o=a-i+1,l=Array(o);if(r)if(s<0)for(let e=0;e<o;++e)l[e]=-((a-e)/s);else for(let e=0;e<o;++e)l[e]=(a-e)*s;else if(s<0)for(let e=0;e<o;++e)l[e]=-((i+e)/s);else for(let e=0;e<o;++e)l[e]=(i+e)*s;return l}(n[0],n[n.length-1],null==e?10:e)},n.tickFormat=function(e,n){var r=t();return function(e,t,n,r){var i,a,s=nb(e,t,n);switch((r=tR(null==r?",f":r)).type){case"s":var o=Math.max(Math.abs(e),Math.abs(t));return null!=r.precision||isNaN(a=Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(tM(o)/3)))-tM(Math.abs(s))))||(r.precision=a),eo(r,o);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(a=Math.max(0,tM(Math.abs(Math.max(Math.abs(e),Math.abs(t)))-(i=Math.abs(i=s)))-tM(i))+1)||(r.precision=a-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(a=Math.max(0,-tM(Math.abs(s))))||(r.precision=a-("%"===r.type)*2)}return es(r)}(r[0],r[r.length-1],null==e?10:e,n)},n.nice=function(e){null==e&&(e=10);var r,i,a=t(),s=0,o=a.length-1,l=a[s],c=a[o],u=10;for(c<l&&(i=l,l=c,c=i,i=s,s=o,o=i);u-- >0;){if((i=ny(l,c,e))===r)return a[s]=l,a[o]=c,t(a);if(i>0)l=Math.floor(l/i)*i,c=Math.ceil(c/i)*i;else if(i<0)l=Math.ceil(l*i)/i,c=Math.floor(c*i)/i;else break;r=i}return n},n},UMr:()=>np,w7C:()=>iE,zt:()=>iT,Ltv:()=>ix,UAC:()=>nz,DCK:()=>ec,TUC:()=>nZ,Agd:()=>nj,t6C:()=>nF,wXd:()=>nH,ABi:()=>nW,Ui6:()=>n8,rGn:()=>nJ,ucG:()=>nB,YPH:()=>nq,Mol:()=>nQ,PGu:()=>nV,GuW:()=>nX,hkb:()=>tJ});var b=Array.prototype.find;function _(){return this.firstElementChild}var k=Array.prototype.filter;function E(){return Array.from(this.children)}function T(e){return Array(e.length)}function x(e,t){this.ownerDocument=e.ownerDocument,this.namespaceURI=e.namespaceURI,this._next=null,this._parent=e,this.__data__=t}function A(e,t,n,r,i,a){for(var s,o=0,l=t.length,c=a.length;o<c;++o)(s=t[o])?(s.__data__=a[o],r[o]=s):n[o]=new x(e,a[o]);for(;o<l;++o)(s=t[o])&&(i[o]=s)}function w(e,t,n,r,i,a,s){var o,l,c,u=new Map,h=t.length,p=a.length,d=Array(h);for(o=0;o<h;++o)(l=t[o])&&(d[o]=c=s.call(l,l.__data__,o,t)+"",u.has(c)?i[o]=l:u.set(c,l));for(o=0;o<p;++o)c=s.call(e,a[o],o,a)+"",(l=u.get(c))?(r[o]=l,l.__data__=a[o],u.delete(c)):n[o]=new x(e,a[o]);for(o=0;o<h;++o)(l=t[o])&&u.get(d[o])===l&&(i[o]=l)}function v(e){return e.__data__}function S(e,t){return e<t?-1:e>t?1:e>=t?0:0/0}x.prototype={constructor:x,appendChild:function(e){return this._parent.insertBefore(e,this._next)},insertBefore:function(e,t){return this._parent.insertBefore(e,t)},querySelector:function(e){return this._parent.querySelector(e)},querySelectorAll:function(e){return this._parent.querySelectorAll(e)}};var C="http://www.w3.org/1999/xhtml";let N={svg:"http://www.w3.org/2000/svg",xhtml:C,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function I(e){var t=e+="",n=t.indexOf(":");return n>=0&&"xmlns"!==(t=e.slice(0,n))&&(e=e.slice(n+1)),N.hasOwnProperty(t)?{space:N[t],local:e}:e}function D(e){return e.ownerDocument&&e.ownerDocument.defaultView||e.document&&e||e.defaultView}function O(e,t){return e.style.getPropertyValue(t)||D(e).getComputedStyle(e,null).getPropertyValue(t)}function M(e){return e.trim().split(/^|\s+/)}function L(e){return e.classList||new R(e)}function R(e){this._node=e,this._names=M(e.getAttribute("class")||"")}function P(e,t){for(var n=L(e),r=-1,i=t.length;++r<i;)n.add(t[r])}function F(e,t){for(var n=L(e),r=-1,i=t.length;++r<i;)n.remove(t[r])}function B(){this.textContent=""}function H(){this.innerHTML=""}function U(){this.nextSibling&&this.parentNode.appendChild(this)}function j(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function $(e){var t=I(e);return(t.local?function(e){return function(){return this.ownerDocument.createElementNS(e.space,e.local)}}:function(e){return function(){var t=this.ownerDocument,n=this.namespaceURI;return n===C&&t.documentElement.namespaceURI===C?t.createElement(e):t.createElementNS(n,e)}})(t)}function z(){return null}function G(){var e=this.parentNode;e&&e.removeChild(this)}function K(){var e=this.cloneNode(!1),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function Y(){var e=this.cloneNode(!0),t=this.parentNode;return t?t.insertBefore(e,this.nextSibling):e}function q(e){return function(){var t=this.__on;if(t){for(var n,r=0,i=-1,a=t.length;r<a;++r)(n=t[r],e.type&&n.type!==e.type||n.name!==e.name)?t[++i]=n:this.removeEventListener(n.type,n.listener,n.options);++i?t.length=i:delete this.__on}}}function W(e,t,n){return function(){var r,i=this.__on,a=function(e){t.call(this,e,this.__data__)};if(i){for(var s=0,o=i.length;s<o;++s)if((r=i[s]).type===e.type&&r.name===e.name){this.removeEventListener(r.type,r.listener,r.options),this.addEventListener(r.type,r.listener=a,r.options=n),r.value=t;return}}this.addEventListener(e.type,a,n),r={type:e.type,name:e.name,value:t,listener:a,options:n},i?i.push(r):this.__on=[r]}}function V(e,t,n){var r=D(e),i=r.CustomEvent;"function"==typeof i?i=new i(t,n):(i=r.document.createEvent("Event"),n?(i.initEvent(t,n.bubbles,n.cancelable),i.detail=n.detail):i.initEvent(t,!1,!1)),e.dispatchEvent(i)}R.prototype={add:function(e){0>this._names.indexOf(e)&&(this._names.push(e),this._node.setAttribute("class",this._names.join(" ")))},remove:function(e){var t=this._names.indexOf(e);t>=0&&(this._names.splice(t,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(e){return this._names.indexOf(e)>=0}};var X=[null];function Q(e,t){this._groups=e,this._parents=t}function Z(){return new Q([[document.documentElement]],X)}Q.prototype=Z.prototype={constructor:Q,select:function(e){"function"!=typeof e&&(e=d(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a,s,o=t[i],l=o.length,c=r[i]=Array(l),u=0;u<l;++u)(a=o[u])&&(s=e.call(a,a.__data__,u,o))&&("__data__"in a&&(s.__data__=a.__data__),c[u]=s);return new Q(r,this._parents)},selectAll:function(e){if("function"==typeof e){var t;t=e,e=function(){var e;return e=t.apply(this,arguments),null==e?[]:Array.isArray(e)?e:Array.from(e)}}else e=m(e);for(var n=this._groups,r=n.length,i=[],a=[],s=0;s<r;++s)for(var o,l=n[s],c=l.length,u=0;u<c;++u)(o=l[u])&&(i.push(e.call(o,o.__data__,u,l)),a.push(o));return new Q(i,a)},selectChild:function(e){var t;return this.select(null==e?_:(t="function"==typeof e?e:y(e),function(){return b.call(this.children,t)}))},selectChildren:function(e){var t;return this.selectAll(null==e?E:(t="function"==typeof e?e:y(e),function(){return k.call(this.children,t)}))},filter:function(e){"function"!=typeof e&&(e=g(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a,s=t[i],o=s.length,l=r[i]=[],c=0;c<o;++c)(a=s[c])&&e.call(a,a.__data__,c,s)&&l.push(a);return new Q(r,this._parents)},data:function(e,t){if(!arguments.length)return Array.from(this,v);var n=t?w:A,r=this._parents,i=this._groups;"function"!=typeof e&&(b=e,e=function(){return b});for(var a=i.length,s=Array(a),o=Array(a),l=Array(a),c=0;c<a;++c){var u=r[c],h=i[c],p=h.length,d="object"==typeof(y=e.call(u,u&&u.__data__,c,r))&&"length"in y?y:Array.from(y),f=d.length,m=o[c]=Array(f),g=s[c]=Array(f);n(u,h,m,g,l[c]=Array(p),d,t);for(var y,b,_,k,E=0,T=0;E<f;++E)if(_=m[E]){for(E>=T&&(T=E+1);!(k=g[T])&&++T<f;);_._next=k||null}}return(s=new Q(s,r))._enter=o,s._exit=l,s},enter:function(){return new Q(this._enter||this._groups.map(T),this._parents)},exit:function(){return new Q(this._exit||this._groups.map(T),this._parents)},join:function(e,t,n){var r=this.enter(),i=this,a=this.exit();return"function"==typeof e?(r=e(r))&&(r=r.selection()):r=r.append(e+""),null!=t&&(i=t(i))&&(i=i.selection()),null==n?a.remove():n(a),r&&i?r.merge(i).order():i},merge:function(e){for(var t=e.selection?e.selection():e,n=this._groups,r=t._groups,i=n.length,a=r.length,s=Math.min(i,a),o=Array(i),l=0;l<s;++l)for(var c,u=n[l],h=r[l],p=u.length,d=o[l]=Array(p),f=0;f<p;++f)(c=u[f]||h[f])&&(d[f]=c);for(;l<i;++l)o[l]=n[l];return new Q(o,this._parents)},selection:function(){return this},order:function(){for(var e=this._groups,t=-1,n=e.length;++t<n;)for(var r,i=e[t],a=i.length-1,s=i[a];--a>=0;)(r=i[a])&&(s&&4^r.compareDocumentPosition(s)&&s.parentNode.insertBefore(r,s),s=r);return this},sort:function(e){function t(t,n){return t&&n?e(t.__data__,n.__data__):!t-!n}e||(e=S);for(var n=this._groups,r=n.length,i=Array(r),a=0;a<r;++a){for(var s,o=n[a],l=o.length,c=i[a]=Array(l),u=0;u<l;++u)(s=o[u])&&(c[u]=s);c.sort(t)}return new Q(i,this._parents).order()},call:function(){var e=arguments[0];return arguments[0]=this,e.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r=e[t],i=0,a=r.length;i<a;++i){var s=r[i];if(s)return s}return null},size:function(){let e=0;for(let t of this)++e;return e},empty:function(){return!this.node()},each:function(e){for(var t=this._groups,n=0,r=t.length;n<r;++n)for(var i,a=t[n],s=0,o=a.length;s<o;++s)(i=a[s])&&e.call(i,i.__data__,s,a);return this},attr:function(e,t){var n=I(e);if(arguments.length<2){var r=this.node();return n.local?r.getAttributeNS(n.space,n.local):r.getAttribute(n)}return this.each((null==t?n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}}:"function"==typeof t?n.local?function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttributeNS(e.space,e.local):this.setAttributeNS(e.space,e.local,n)}}:function(e,t){return function(){var n=t.apply(this,arguments);null==n?this.removeAttribute(e):this.setAttribute(e,n)}}:n.local?function(e,t){return function(){this.setAttributeNS(e.space,e.local,t)}}:function(e,t){return function(){this.setAttribute(e,t)}})(n,t))},style:function(e,t,n){return arguments.length>1?this.each((null==t?function(e){return function(){this.style.removeProperty(e)}}:"function"==typeof t?function(e,t,n){return function(){var r=t.apply(this,arguments);null==r?this.style.removeProperty(e):this.style.setProperty(e,r,n)}}:function(e,t,n){return function(){this.style.setProperty(e,t,n)}})(e,t,null==n?"":n)):O(this.node(),e)},property:function(e,t){return arguments.length>1?this.each((null==t?function(e){return function(){delete this[e]}}:"function"==typeof t?function(e,t){return function(){var n=t.apply(this,arguments);null==n?delete this[e]:this[e]=n}}:function(e,t){return function(){this[e]=t}})(e,t)):this.node()[e]},classed:function(e,t){var n=M(e+"");if(arguments.length<2){for(var r=L(this.node()),i=-1,a=n.length;++i<a;)if(!r.contains(n[i]))return!1;return!0}return this.each(("function"==typeof t?function(e,t){return function(){(t.apply(this,arguments)?P:F)(this,e)}}:t?function(e){return function(){P(this,e)}}:function(e){return function(){F(this,e)}})(n,t))},text:function(e){return arguments.length?this.each(null==e?B:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.textContent=null==t?"":t}}:function(e){return function(){this.textContent=e}})(e)):this.node().textContent},html:function(e){return arguments.length?this.each(null==e?H:("function"==typeof e?function(e){return function(){var t=e.apply(this,arguments);this.innerHTML=null==t?"":t}}:function(e){return function(){this.innerHTML=e}})(e)):this.node().innerHTML},raise:function(){return this.each(U)},lower:function(){return this.each(j)},append:function(e){var t="function"==typeof e?e:$(e);return this.select(function(){return this.appendChild(t.apply(this,arguments))})},insert:function(e,t){var n="function"==typeof e?e:$(e),r=null==t?z:"function"==typeof t?t:d(t);return this.select(function(){return this.insertBefore(n.apply(this,arguments),r.apply(this,arguments)||null)})},remove:function(){return this.each(G)},clone:function(e){return this.select(e?Y:K)},datum:function(e){return arguments.length?this.property("__data__",e):this.node().__data__},on:function(e,t,n){var r,i,a=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");return n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),{type:e,name:t}}),s=a.length;if(arguments.length<2){var o=this.node().__on;if(o){for(var l,c=0,u=o.length;c<u;++c)for(r=0,l=o[c];r<s;++r)if((i=a[r]).type===l.type&&i.name===l.name)return l.value}return}for(o=t?W:q,r=0;r<s;++r)this.each(o(a[r],t,n));return this},dispatch:function(e,t){return this.each(("function"==typeof t?function(e,t){return function(){return V(this,e,t.apply(this,arguments))}}:function(e,t){return function(){return V(this,e,t)}})(e,t))},[Symbol.iterator]:function*(){for(var e=this._groups,t=0,n=e.length;t<n;++t)for(var r,i=e[t],a=0,s=i.length;a<s;++a)(r=i[a])&&(yield r)}};var J={value:()=>{}};function ee(){for(var e,t=0,n=arguments.length,r={};t<n;++t){if(!(e=arguments[t]+"")||e in r||/[\s.]/.test(e))throw Error("illegal type: "+e);r[e]=[]}return new et(r)}function et(e){this._=e}function en(e,t,n){for(var r=0,i=e.length;r<i;++r)if(e[r].name===t){e[r]=J,e=e.slice(0,r).concat(e.slice(r+1));break}return null!=n&&e.push({name:t,value:n}),e}et.prototype=ee.prototype={constructor:et,on:function(e,t){var n,r=this._,i=(e+"").trim().split(/^|\s+/).map(function(e){var t="",n=e.indexOf(".");if(n>=0&&(t=e.slice(n+1),e=e.slice(0,n)),e&&!r.hasOwnProperty(e))throw Error("unknown type: "+e);return{type:e,name:t}}),a=-1,s=i.length;if(arguments.length<2){for(;++a<s;)if((n=(e=i[a]).type)&&(n=function(e,t){for(var n,r=0,i=e.length;r<i;++r)if((n=e[r]).name===t)return n.value}(r[n],e.name)))return n;return}if(null!=t&&"function"!=typeof t)throw Error("invalid callback: "+t);for(;++a<s;)if(n=(e=i[a]).type)r[n]=en(r[n],e.name,t);else if(null==t)for(n in r)r[n]=en(r[n],e.name,null);return this},copy:function(){var e={},t=this._;for(var n in t)e[n]=t[n].slice();return new et(e)},call:function(e,t){if((n=arguments.length-2)>0)for(var n,r,i=Array(n),a=0;a<n;++a)i[a]=arguments[a+2];if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(r=this._[e],a=0,n=r.length;a<n;++a)r[a].value.apply(t,i)},apply:function(e,t,n){if(!this._.hasOwnProperty(e))throw Error("unknown type: "+e);for(var r=this._[e],i=0,a=r.length;i<a;++i)r[i].value.apply(t,n)}};var er,ei,ea,es,eo,el,ec,eu,eh,ep=0,ed=0,ef=0,em=0,eg=0,ey=0,eb="object"==typeof performance&&performance.now?performance:Date,e_="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(e){setTimeout(e,17)};function ek(){return eg||(e_(eE),eg=eb.now()+ey)}function eE(){eg=0}function eT(){this._call=this._time=this._next=null}function ex(e,t,n){var r=new eT;return r.restart(e,t,n),r}function eA(){eg=(em=eb.now())+ey,ep=ed=0;try{ek(),++ep;for(var e,t=eu;t;)(e=eg-t._time)>=0&&t._call.call(void 0,e),t=t._next;--ep}finally{ep=0,function(){for(var e,t,n=eu,r=1/0;n;)n._call?(r>n._time&&(r=n._time),e=n,n=n._next):(t=n._next,n._next=null,n=e?e._next=t:eu=t);eh=e,ev(r)}(),eg=0}}function ew(){var e=eb.now(),t=e-em;t>1e3&&(ey-=t,em=e)}function ev(e){!ep&&(ed&&(ed=clearTimeout(ed)),e-eg>24?(e<1/0&&(ed=setTimeout(eA,e-eb.now()-ey)),ef&&(ef=clearInterval(ef))):(ef||(em=eb.now(),ef=setInterval(ew,1e3)),ep=1,e_(eA)))}function eS(e,t,n){var r=new eT;return t=null==t?0:+t,r.restart(n=>{r.stop(),e(n+t)},t,n),r}eT.prototype=ex.prototype={constructor:eT,restart:function(e,t,n){if("function"!=typeof e)throw TypeError("callback is not a function");n=(null==n?ek():+n)+(null==t?0:+t),this._next||eh===this||(eh?eh._next=this:eu=this,eh=this),this._call=e,this._time=n,ev()},stop:function(){this._call&&(this._call=null,this._time=1/0,ev())}};var eC=ee("start","end","cancel","interrupt"),eN=[];function eI(e,t,n,r,i,a){var s=e.__transition;if(s){if(n in s)return}else e.__transition={};!function(e,t,n){var r,i=e.__transition;function a(l){var c,u,h,p;if(1!==n.state)return o();for(c in i)if((p=i[c]).name===n.name){if(3===p.state)return eS(a);4===p.state?(p.state=6,p.timer.stop(),p.on.call("interrupt",e,e.__data__,p.index,p.group),delete i[c]):+c<t&&(p.state=6,p.timer.stop(),p.on.call("cancel",e,e.__data__,p.index,p.group),delete i[c])}if(eS(function(){3===n.state&&(n.state=4,n.timer.restart(s,n.delay,n.time),s(l))}),n.state=2,n.on.call("start",e,e.__data__,n.index,n.group),2===n.state){for(n.state=3,r=Array(h=n.tween.length),c=0,u=-1;c<h;++c)(p=n.tween[c].value.call(e,e.__data__,n.index,n.group))&&(r[++u]=p);r.length=u+1}}function s(t){for(var i=t<n.duration?n.ease.call(null,t/n.duration):(n.timer.restart(o),n.state=5,1),a=-1,s=r.length;++a<s;)r[a].call(e,i);5===n.state&&(n.on.call("end",e,e.__data__,n.index,n.group),o())}function o(){for(var r in n.state=6,n.timer.stop(),delete i[t],i)return;delete e.__transition}i[t]=n,n.timer=ex(function(e){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=e&&a(e-n.delay)},0,n.time)}(e,n,{name:t,index:r,group:i,on:eC,tween:eN,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:0})}function eD(e,t){var n=eM(e,t);if(n.state>0)throw Error("too late; already scheduled");return n}function eO(e,t){var n=eM(e,t);if(n.state>3)throw Error("too late; already running");return n}function eM(e,t){var n=e.__transition;if(!n||!(n=n[t]))throw Error("transition not found");return n}function eL(e,t){return e*=1,t*=1,function(n){return e*(1-n)+t*n}}var eR=180/Math.PI,eP={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function eF(e,t,n,r,i,a){var s,o,l;return(s=Math.sqrt(e*e+t*t))&&(e/=s,t/=s),(l=e*n+t*r)&&(n-=e*l,r-=t*l),(o=Math.sqrt(n*n+r*r))&&(n/=o,r/=o,l/=o),e*r<t*n&&(e=-e,t=-t,l=-l,s=-s),{translateX:i,translateY:a,rotate:Math.atan2(t,e)*eR,skewX:Math.atan(l)*eR,scaleX:s,scaleY:o}}function eB(e,t,n,r){function i(e){return e.length?e.pop()+" ":""}return function(a,s){var o,l,c,u,h=[],p=[];return a=e(a),s=e(s),!function(e,r,i,a,s,o){if(e!==i||r!==a){var l=s.push("translate(",null,t,null,n);o.push({i:l-4,x:eL(e,i)},{i:l-2,x:eL(r,a)})}else(i||a)&&s.push("translate("+i+t+a+n)}(a.translateX,a.translateY,s.translateX,s.translateY,h,p),o=a.rotate,l=s.rotate,o!==l?(o-l>180?l+=360:l-o>180&&(o+=360),p.push({i:h.push(i(h)+"rotate(",null,r)-2,x:eL(o,l)})):l&&h.push(i(h)+"rotate("+l+r),c=a.skewX,u=s.skewX,c!==u?p.push({i:h.push(i(h)+"skewX(",null,r)-2,x:eL(c,u)}):u&&h.push(i(h)+"skewX("+u+r),!function(e,t,n,r,a,s){if(e!==n||t!==r){var o=a.push(i(a)+"scale(",null,",",null,")");s.push({i:o-4,x:eL(e,n)},{i:o-2,x:eL(t,r)})}else(1!==n||1!==r)&&a.push(i(a)+"scale("+n+","+r+")")}(a.scaleX,a.scaleY,s.scaleX,s.scaleY,h,p),a=s=null,function(e){for(var t,n=-1,r=p.length;++n<r;)h[(t=p[n]).i]=t.x(e);return h.join("")}}}var eH=eB(function(e){let t=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(e+"");return t.isIdentity?eP:eF(t.a,t.b,t.c,t.d,t.e,t.f)},"px, ","px)","deg)"),eU=eB(function(e){return null==e?eP:(er||(er=document.createElementNS("http://www.w3.org/2000/svg","g")),er.setAttribute("transform",e),e=er.transform.baseVal.consolidate())?eF((e=e.matrix).a,e.b,e.c,e.d,e.e,e.f):eP},", ",")",")");function ej(e,t,n){var r=e._id;return e.each(function(){var e=eO(this,r);(e.value||(e.value={}))[t]=n.apply(this,arguments)}),function(e){return eM(e,r).value[t]}}function e$(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function ez(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function eG(){}var eK=1/.7,eY="\\s*([+-]?\\d+)\\s*",eq="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",eW="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",eV=/^#([0-9a-f]{3,8})$/,eX=RegExp(`^rgb\\(${eY},${eY},${eY}\\)$`),eQ=RegExp(`^rgb\\(${eW},${eW},${eW}\\)$`),eZ=RegExp(`^rgba\\(${eY},${eY},${eY},${eq}\\)$`),eJ=RegExp(`^rgba\\(${eW},${eW},${eW},${eq}\\)$`),e0=RegExp(`^hsl\\(${eq},${eW},${eW}\\)$`),e1=RegExp(`^hsla\\(${eq},${eW},${eW},${eq}\\)$`),e2={aliceblue:0xf0f8ff,antiquewhite:0xfaebd7,aqua:65535,aquamarine:8388564,azure:0xf0ffff,beige:0xf5f5dc,bisque:0xffe4c4,black:0,blanchedalmond:0xffebcd,blue:255,blueviolet:9055202,brown:0xa52a2a,burlywood:0xdeb887,cadetblue:6266528,chartreuse:8388352,chocolate:0xd2691e,coral:0xff7f50,cornflowerblue:6591981,cornsilk:0xfff8dc,crimson:0xdc143c,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:0xb8860b,darkgray:0xa9a9a9,darkgreen:25600,darkgrey:0xa9a9a9,darkkhaki:0xbdb76b,darkmagenta:9109643,darkolivegreen:5597999,darkorange:0xff8c00,darkorchid:0x9932cc,darkred:9109504,darksalmon:0xe9967a,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:0xff1493,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:0xb22222,floralwhite:0xfffaf0,forestgreen:2263842,fuchsia:0xff00ff,gainsboro:0xdcdcdc,ghostwhite:0xf8f8ff,gold:0xffd700,goldenrod:0xdaa520,gray:8421504,green:32768,greenyellow:0xadff2f,grey:8421504,honeydew:0xf0fff0,hotpink:0xff69b4,indianred:0xcd5c5c,indigo:4915330,ivory:0xfffff0,khaki:0xf0e68c,lavender:0xe6e6fa,lavenderblush:0xfff0f5,lawngreen:8190976,lemonchiffon:0xfffacd,lightblue:0xadd8e6,lightcoral:0xf08080,lightcyan:0xe0ffff,lightgoldenrodyellow:0xfafad2,lightgray:0xd3d3d3,lightgreen:9498256,lightgrey:0xd3d3d3,lightpink:0xffb6c1,lightsalmon:0xffa07a,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:0xb0c4de,lightyellow:0xffffe0,lime:65280,limegreen:3329330,linen:0xfaf0e6,magenta:0xff00ff,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:0xba55d3,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:0xc71585,midnightblue:1644912,mintcream:0xf5fffa,mistyrose:0xffe4e1,moccasin:0xffe4b5,navajowhite:0xffdead,navy:128,oldlace:0xfdf5e6,olive:8421376,olivedrab:7048739,orange:0xffa500,orangered:0xff4500,orchid:0xda70d6,palegoldenrod:0xeee8aa,palegreen:0x98fb98,paleturquoise:0xafeeee,palevioletred:0xdb7093,papayawhip:0xffefd5,peachpuff:0xffdab9,peru:0xcd853f,pink:0xffc0cb,plum:0xdda0dd,powderblue:0xb0e0e6,purple:8388736,rebeccapurple:6697881,red:0xff0000,rosybrown:0xbc8f8f,royalblue:4286945,saddlebrown:9127187,salmon:0xfa8072,sandybrown:0xf4a460,seagreen:3050327,seashell:0xfff5ee,sienna:0xa0522d,silver:0xc0c0c0,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:0xfffafa,springgreen:65407,steelblue:4620980,tan:0xd2b48c,teal:32896,thistle:0xd8bfd8,tomato:0xff6347,turquoise:4251856,violet:0xee82ee,wheat:0xf5deb3,white:0xffffff,whitesmoke:0xf5f5f5,yellow:0xffff00,yellowgreen:0x9acd32};function e3(){return this.rgb().formatHex()}function e5(){return this.rgb().formatRgb()}function e9(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=eV.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?e6(t):3===n?new te(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?e4(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?e4(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=eX.exec(e))?new te(t[1],t[2],t[3],1):(t=eQ.exec(e))?new te(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=eZ.exec(e))?e4(t[1],t[2],t[3],t[4]):(t=eJ.exec(e))?e4(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=e0.exec(e))?ts(t[1],t[2]/100,t[3]/100,1):(t=e1.exec(e))?ts(t[1],t[2]/100,t[3]/100,t[4]):e2.hasOwnProperty(e)?e6(e2[e]):"transparent"===e?new te(0/0,0/0,0/0,0):null}function e6(e){return new te(e>>16&255,e>>8&255,255&e,1)}function e4(e,t,n,r){return r<=0&&(e=t=n=0/0),new te(e,t,n,r)}function e8(e){return(e instanceof eG||(e=e9(e)),e)?new te((e=e.rgb()).r,e.g,e.b,e.opacity):new te}function e7(e,t,n,r){return 1==arguments.length?e8(e):new te(e,t,n,null==r?1:r)}function te(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function tt(){return`#${ta(this.r)}${ta(this.g)}${ta(this.b)}`}function tn(){let e=tr(this.opacity);return`${1===e?"rgb(":"rgba("}${ti(this.r)}, ${ti(this.g)}, ${ti(this.b)}${1===e?")":`, ${e})`}`}function tr(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function ti(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function ta(e){return((e=ti(e))<16?"0":"")+e.toString(16)}function ts(e,t,n,r){return r<=0?e=t=n=0/0:n<=0||n>=1?e=t=0/0:t<=0&&(e=0/0),new tl(e,t,n,r)}function to(e){if(e instanceof tl)return new tl(e.h,e.s,e.l,e.opacity);if(e instanceof eG||(e=e9(e)),!e)return new tl;if(e instanceof tl)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,i=Math.min(t,n,r),a=Math.max(t,n,r),s=0/0,o=a-i,l=(a+i)/2;return o?(s=t===a?(n-r)/o+(n<r)*6:n===a?(r-t)/o+2:(t-n)/o+4,o/=l<.5?a+i:2-a-i,s*=60):o=l>0&&l<1?0:s,new tl(s,o,l,e.opacity)}function tl(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function tc(e){return(e=(e||0)%360)<0?e+360:e}function tu(e){return Math.max(0,Math.min(1,e||0))}function th(e,t,n){return(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)*255}function tp(e,t,n,r,i){var a=e*e,s=a*e;return((1-3*e+3*a-s)*t+(4-6*a+3*s)*n+(1+3*e+3*a-3*s)*r+s*i)/6}e$(eG,e9,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:e3,formatHex:e3,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return to(this).formatHsl()},formatRgb:e5,toString:e5}),e$(te,e7,ez(eG,{brighter(e){return e=null==e?eK:Math.pow(eK,e),new te(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new te(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new te(ti(this.r),ti(this.g),ti(this.b),tr(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:tt,formatHex:tt,formatHex8:function(){return`#${ta(this.r)}${ta(this.g)}${ta(this.b)}${ta((isNaN(this.opacity)?1:this.opacity)*255)}`},formatRgb:tn,toString:tn})),e$(tl,function(e,t,n,r){return 1==arguments.length?to(e):new tl(e,t,n,null==r?1:r)},ez(eG,{brighter(e){return e=null==e?eK:Math.pow(eK,e),new tl(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?.7:Math.pow(.7,e),new tl(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+(this.h<0)*360,t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,i=2*n-r;return new te(th(e>=240?e-240:e+120,i,r),th(e,i,r),th(e<120?e+240:e-120,i,r),this.opacity)},clamp(){return new tl(tc(this.h),tu(this.s),tu(this.l),tr(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){let e=tr(this.opacity);return`${1===e?"hsl(":"hsla("}${tc(this.h)}, ${100*tu(this.s)}%, ${100*tu(this.l)}%${1===e?")":`, ${e})`}`}}));let td=e=>()=>e;function tf(e,t){return function(n){return e+n*t}}function tm(e,t){var n=t-e;return n?tf(e,n):td(isNaN(e)?t:e)}let tg=function e(t){var n,r=1==(n=+t)?tm:function(e,t){var r,i,a;return t-e?(r=e,i=t,r=Math.pow(r,a=n),i=Math.pow(i,a)-r,a=1/a,function(e){return Math.pow(r+e*i,a)}):td(isNaN(e)?t:e)};function i(e,t){var n=r((e=e7(e)).r,(t=e7(t)).r),i=r(e.g,t.g),a=r(e.b,t.b),s=tm(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=a(t),e.opacity=s(t),e+""}}return i.gamma=e,i}(1);function ty(e){return function(t){var n,r,i=t.length,a=Array(i),s=Array(i),o=Array(i);for(n=0;n<i;++n)r=e7(t[n]),a[n]=r.r||0,s[n]=r.g||0,o[n]=r.b||0;return a=e(a),s=e(s),o=e(o),r.opacity=1,function(e){return r.r=a(e),r.g=s(e),r.b=o(e),r+""}}}ty(function(e){var t=e.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,t-1):Math.floor(n*t),i=e[r],a=e[r+1],s=r>0?e[r-1]:2*i-a,o=r<t-1?e[r+2]:2*a-i;return tp((n-r/t)*t,s,i,a,o)}}),ty(function(e){var t=e.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*t),i=e[(r+t-1)%t],a=e[r%t],s=e[(r+1)%t],o=e[(r+2)%t];return tp((n-r/t)*t,i,a,s,o)}});var tb=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,t_=RegExp(tb.source,"g");function tk(e,t){var n,r,i,a,s,o=tb.lastIndex=t_.lastIndex=0,l=-1,c=[],u=[];for(e+="",t+="";(i=tb.exec(e))&&(a=t_.exec(t));)(s=a.index)>o&&(s=t.slice(o,s),c[l]?c[l]+=s:c[++l]=s),(i=i[0])===(a=a[0])?c[l]?c[l]+=a:c[++l]=a:(c[++l]=null,u.push({i:l,x:eL(i,a)})),o=t_.lastIndex;return o<t.length&&(s=t.slice(o),c[l]?c[l]+=s:c[++l]=s),c.length<2?u[0]?(n=u[0].x,function(e){return n(e)+""}):(r=t,function(){return r}):(t=u.length,function(e){for(var n,r=0;r<t;++r)c[(n=u[r]).i]=n.x(e);return c.join("")})}function tE(e,t){var n;return("number"==typeof t?eL:t instanceof e9?tg:(n=e9(t))?(t=n,tg):tk)(e,t)}var tT=Z.prototype.constructor;function tx(e){return function(){this.style.removeProperty(e)}}var tA=0;function tw(e,t,n,r){this._groups=e,this._parents=t,this._name=n,this._id=r}var tv=Z.prototype;tw.prototype=(function(e){return Z().transition(e)}).prototype={constructor:tw,select:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=d(e));for(var r=this._groups,i=r.length,a=Array(i),s=0;s<i;++s)for(var o,l,c=r[s],u=c.length,h=a[s]=Array(u),p=0;p<u;++p)(o=c[p])&&(l=e.call(o,o.__data__,p,c))&&("__data__"in o&&(l.__data__=o.__data__),h[p]=l,eI(h[p],t,n,p,h,eM(o,n)));return new tw(a,this._parents,t,n)},selectAll:function(e){var t=this._name,n=this._id;"function"!=typeof e&&(e=m(e));for(var r=this._groups,i=r.length,a=[],s=[],o=0;o<i;++o)for(var l,c=r[o],u=c.length,h=0;h<u;++h)if(l=c[h]){for(var p,d=e.call(l,l.__data__,h,c),f=eM(l,n),g=0,y=d.length;g<y;++g)(p=d[g])&&eI(p,t,n,g,d,f);a.push(d),s.push(l)}return new tw(a,s,t,n)},selectChild:tv.selectChild,selectChildren:tv.selectChildren,filter:function(e){"function"!=typeof e&&(e=g(e));for(var t=this._groups,n=t.length,r=Array(n),i=0;i<n;++i)for(var a,s=t[i],o=s.length,l=r[i]=[],c=0;c<o;++c)(a=s[c])&&e.call(a,a.__data__,c,s)&&l.push(a);return new tw(r,this._parents,this._name,this._id)},merge:function(e){if(e._id!==this._id)throw Error();for(var t=this._groups,n=e._groups,r=t.length,i=n.length,a=Math.min(r,i),s=Array(r),o=0;o<a;++o)for(var l,c=t[o],u=n[o],h=c.length,p=s[o]=Array(h),d=0;d<h;++d)(l=c[d]||u[d])&&(p[d]=l);for(;o<r;++o)s[o]=t[o];return new tw(s,this._parents,this._name,this._id)},selection:function(){return new tT(this._groups,this._parents)},transition:function(){for(var e=this._name,t=this._id,n=++tA,r=this._groups,i=r.length,a=0;a<i;++a)for(var s,o=r[a],l=o.length,c=0;c<l;++c)if(s=o[c]){var u=eM(s,t);eI(s,e,n,c,o,{time:u.time+u.delay+u.duration,delay:0,duration:u.duration,ease:u.ease})}return new tw(r,this._parents,e,n)},call:tv.call,nodes:tv.nodes,node:tv.node,size:tv.size,empty:tv.empty,each:tv.each,on:function(e,t){var n,r,i,a,s,o,l=this._id;return arguments.length<2?eM(this.node(),l).on.on(e):this.each((n=l,r=e,i=t,o=(r+"").trim().split(/^|\s+/).every(function(e){var t=e.indexOf(".");return t>=0&&(e=e.slice(0,t)),!e||"start"===e})?eD:eO,function(){var e=o(this,n),t=e.on;t!==a&&(s=(a=t).copy()).on(r,i),e.on=s}))},attr:function(e,t){var n=I(e),r="transform"===n?eU:tE;return this.attrTween(e,"function"==typeof t?(n.local?function(e,t,n){var r,i,a;return function(){var s,o,l=n(this);return null==l?void this.removeAttributeNS(e.space,e.local):(s=this.getAttributeNS(e.space,e.local))===(o=l+"")?null:s===r&&o===i?a:(i=o,a=t(r=s,l))}}:function(e,t,n){var r,i,a;return function(){var s,o,l=n(this);return null==l?void this.removeAttribute(e):(s=this.getAttribute(e))===(o=l+"")?null:s===r&&o===i?a:(i=o,a=t(r=s,l))}})(n,r,ej(this,"attr."+e,t)):null==t?(n.local?function(e){return function(){this.removeAttributeNS(e.space,e.local)}}:function(e){return function(){this.removeAttribute(e)}})(n):(n.local?function(e,t,n){var r,i,a=n+"";return function(){var s=this.getAttributeNS(e.space,e.local);return s===a?null:s===r?i:i=t(r=s,n)}}:function(e,t,n){var r,i,a=n+"";return function(){var s=this.getAttribute(e);return s===a?null:s===r?i:i=t(r=s,n)}})(n,r,t))},attrTween:function(e,t){var n="attr."+e;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==t)return this.tween(n,null);if("function"!=typeof t)throw Error();var r=I(e);return this.tween(n,(r.local?function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t){this.setAttributeNS(e.space,e.local,i.call(this,t))}),n}return i._value=t,i}:function(e,t){var n,r;function i(){var i=t.apply(this,arguments);return i!==r&&(n=(r=i)&&function(t){this.setAttribute(e,i.call(this,t))}),n}return i._value=t,i})(r,t))},style:function(e,t,n){var r,i,a,s,o,l,c,u,h,p,d,f,m,g,y,b,_,k,E,T,x,A="transform"==(e+="")?eH:tE;return null==t?this.styleTween(e,(r=e,function(){var e=O(this,r),t=(this.style.removeProperty(r),O(this,r));return e===t?null:e===i&&t===a?s:s=A(i=e,a=t)})).on("end.style."+e,tx(e)):"function"==typeof t?this.styleTween(e,(o=e,l=ej(this,"style."+e,t),function(){var e=O(this,o),t=l(this),n=t+"";return null==t&&(this.style.removeProperty(o),n=t=O(this,o)),e===n?null:e===c&&n===u?h:(u=n,h=A(c=e,t))})).each((p=this._id,_="end."+(b="style."+(d=e)),function(){var e=eO(this,p),t=e.on,n=null==e.value[b]?y||(y=tx(d)):void 0;(t!==f||g!==n)&&(m=(f=t).copy()).on(_,g=n),e.on=m})):this.styleTween(e,(k=e,x=t+"",function(){var e=O(this,k);return e===x?null:e===E?T:T=A(E=e,t)}),n).on("end.style."+e,null)},styleTween:function(e,t,n){var r="style."+(e+="");if(arguments.length<2)return(r=this.tween(r))&&r._value;if(null==t)return this.tween(r,null);if("function"!=typeof t)throw Error();return this.tween(r,function(e,t,n){var r,i;function a(){var a=t.apply(this,arguments);return a!==i&&(r=(i=a)&&function(t){this.style.setProperty(e,a.call(this,t),n)}),r}return a._value=t,a}(e,t,null==n?"":n))},text:function(e){var t,n;return this.tween("text","function"==typeof e?(t=ej(this,"text",e),function(){var e=t(this);this.textContent=null==e?"":e}):(n=null==e?"":e+"",function(){this.textContent=n}))},textTween:function(e){var t="text";if(arguments.length<1)return(t=this.tween(t))&&t._value;if(null==e)return this.tween(t,null);if("function"!=typeof e)throw Error();return this.tween(t,function(e){var t,n;function r(){var r=e.apply(this,arguments);return r!==n&&(t=(n=r)&&function(e){this.textContent=r.call(this,e)}),t}return r._value=e,r}(e))},remove:function(){var e;return this.on("end.remove",(e=this._id,function(){var t=this.parentNode;for(var n in this.__transition)if(+n!==e)return;t&&t.removeChild(this)}))},tween:function(e,t){var n=this._id;if(e+="",arguments.length<2){for(var r,i=eM(this.node(),n).tween,a=0,s=i.length;a<s;++a)if((r=i[a]).name===e)return r.value;return null}return this.each((null==t?function(e,t){var n,r;return function(){var i=eO(this,e),a=i.tween;if(a!==n){r=n=a;for(var s=0,o=r.length;s<o;++s)if(r[s].name===t){(r=r.slice()).splice(s,1);break}}i.tween=r}}:function(e,t,n){var r,i;if("function"!=typeof n)throw Error();return function(){var a=eO(this,e),s=a.tween;if(s!==r){i=(r=s).slice();for(var o={name:t,value:n},l=0,c=i.length;l<c;++l)if(i[l].name===t){i[l]=o;break}l===c&&i.push(o)}a.tween=i}})(n,e,t))},delay:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){eD(this,e).delay=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){eD(this,e).delay=t}})(t,e)):eM(this.node(),t).delay},duration:function(e){var t=this._id;return arguments.length?this.each(("function"==typeof e?function(e,t){return function(){eO(this,e).duration=+t.apply(this,arguments)}}:function(e,t){return t*=1,function(){eO(this,e).duration=t}})(t,e)):eM(this.node(),t).duration},ease:function(e){var t=this._id;return arguments.length?this.each(function(e,t){if("function"!=typeof t)throw Error();return function(){eO(this,e).ease=t}}(t,e)):eM(this.node(),t).ease},easeVarying:function(e){var t;if("function"!=typeof e)throw Error();return this.each((t=this._id,function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw Error();eO(this,t).ease=n}))},end:function(){var e,t,n=this,r=n._id,i=n.size();return new Promise(function(a,s){var o={value:s},l={value:function(){0==--i&&a()}};n.each(function(){var n=eO(this,r),i=n.on;i!==e&&((t=(e=i).copy())._.cancel.push(o),t._.interrupt.push(o),t._.end.push(l)),n.on=t}),0===i&&a()})},[Symbol.iterator]:tv[Symbol.iterator]};var tS={time:null,delay:0,duration:250,ease:function(e){return((e*=2)<=1?e*e*e:(e-=2)*e*e+2)/2}};Z.prototype.interrupt=function(e){return this.each(function(){!function(e,t){var n,r,i,a=e.__transition,s=!0;if(a){for(i in t=null==t?null:t+"",a){if((n=a[i]).name!==t){s=!1;continue}r=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(r?"interrupt":"cancel",e,e.__data__,n.index,n.group),delete a[i]}s&&delete e.__transition}}(this,e)})},Z.prototype.transition=function(e){var t,n;e instanceof tw?(t=e._id,e=e._name):(t=++tA,(n=tS).time=ek(),e=null==e?null:e+"");for(var r=this._groups,i=r.length,a=0;a<i;++a)for(var s,o=r[a],l=o.length,c=0;c<l;++c)(s=o[c])&&eI(s,e,t,c,o,n||function(e,t){for(var n;!(n=e.__transition)||!(n=n[t]);)if(!(e=e.parentNode))throw Error(`transition ${t} not found`);return n}(s,t));return new tw(r,this._parents,e,t)};let{abs:tC,max:tN,min:tI}=Math;function tD(e){return{type:e}}function tO(e,t){if(!isFinite(e)||0===e)return null;var n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"),r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function tM(e){return(e=tO(Math.abs(e)))?e[1]:0/0}["w","e"].map(tD),["n","s"].map(tD),["n","w","e","s","nw","ne","sw","se"].map(tD);var tL=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function tR(e){var t;if(!(t=tL.exec(e)))throw Error("invalid format: "+e);return new tP({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function tP(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function tF(e,t){var n=tO(e,t);if(!n)return e+"";var r=n[0],i=n[1];return i<0?"0."+Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+Array(i-r.length+2).join("0")}tR.prototype=tP.prototype,tP.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};let tB={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>tF(100*e,t),r:tF,s:function(e,t){var n=tO(e,t);if(!n)return ei=void 0,e.toPrecision(t);var r=n[0],i=n[1],a=i-(ei=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,s=r.length;return a===s?r:a>s?r+Array(a-s+1).join("0"):a>0?r.slice(0,a)+"."+r.slice(a):"0."+Array(1-a).join("0")+tO(e,Math.max(0,t+a-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function tH(e){return e}var tU=Array.prototype.map,tj=["y","z","a","f","p","n","\xb5","m","","k","M","G","T","P","E","Z","Y"];function t$(e){var t=0,n=e.children,r=n&&n.length;if(r)for(;--r>=0;)t+=n[r].value;else t=1;e.value=t}function tz(e,t){e instanceof Map?(e=[void 0,e],void 0===t&&(t=tK)):void 0===t&&(t=tG);for(var n,r,i,a,s,o=new tW(e),l=[o];n=l.pop();)if((i=t(n.data))&&(s=(i=Array.from(i)).length))for(n.children=i,a=s-1;a>=0;--a)l.push(r=i[a]=new tW(i[a])),r.parent=n,r.depth=n.depth+1;return o.eachBefore(tq)}function tG(e){return e.children}function tK(e){return Array.isArray(e)?e[1]:null}function tY(e){void 0!==e.data.value&&(e.value=e.data.value),e.data=e.data.data}function tq(e){var t=0;do e.height=t;while((e=e.parent)&&e.height<++t)}function tW(e){this.data=e,this.depth=this.height=0,this.parent=null}function tV(e){e.x0=Math.round(e.x0),e.y0=Math.round(e.y0),e.x1=Math.round(e.x1),e.y1=Math.round(e.y1)}es=(ea=function(e){var t,n,r,i=void 0===e.grouping||void 0===e.thousands?tH:(t=tU.call(e.grouping,Number),n=e.thousands+"",function(e,r){for(var i=e.length,a=[],s=0,o=t[0],l=0;i>0&&o>0&&(l+o+1>r&&(o=Math.max(1,r-l)),a.push(e.substring(i-=o,i+o)),!((l+=o+1)>r));)o=t[s=(s+1)%t.length];return a.reverse().join(n)}),a=void 0===e.currency?"":e.currency[0]+"",s=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",l=void 0===e.numerals?tH:(r=tU.call(e.numerals,String),function(e){return e.replace(/[0-9]/g,function(e){return r[+e]})}),c=void 0===e.percent?"%":e.percent+"",u=void 0===e.minus?"−":e.minus+"",h=void 0===e.nan?"NaN":e.nan+"";function p(e,t){var n=(e=tR(e)).fill,r=e.align,p=e.sign,d=e.symbol,f=e.zero,m=e.width,g=e.comma,y=e.precision,b=e.trim,_=e.type;"n"===_?(g=!0,_="g"):tB[_]||(void 0===y&&(y=12),b=!0,_="g"),(f||"0"===n&&"="===r)&&(f=!0,n="0",r="=");var k=(t&&void 0!==t.prefix?t.prefix:"")+("$"===d?a:"#"===d&&/[boxX]/.test(_)?"0"+_.toLowerCase():""),E=("$"===d?s:/[%p]/.test(_)?c:"")+(t&&void 0!==t.suffix?t.suffix:""),T=tB[_],x=/[defgprs%]/.test(_);function A(e){var t,a,s,c=k,d=E;if("c"===_)d=T(e)+d,e="";else{var A=(e*=1)<0||1/e<0;if(e=isNaN(e)?h:T(Math.abs(e),y),b&&(e=function(e){e:for(var t,n=e.length,r=1,i=-1;r<n;++r)switch(e[r]){case".":i=t=r;break;case"0":0===i&&(i=r),t=r;break;default:if(!+e[r])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),A&&0==+e&&"+"!==p&&(A=!1),c=(A?"("===p?p:u:"-"===p||"("===p?"":p)+c,d=("s"!==_||isNaN(e)||void 0===ei?"":tj[8+ei/3])+d+(A&&"("===p?")":""),x){for(t=-1,a=e.length;++t<a;)if(48>(s=e.charCodeAt(t))||s>57){d=(46===s?o+e.slice(t+1):e.slice(t))+d,e=e.slice(0,t);break}}}g&&!f&&(e=i(e,1/0));var w=c.length+e.length+d.length,v=w<m?Array(m-w+1).join(n):"";switch(g&&f&&(e=i(v+e,v.length?m-d.length:1/0),v=""),r){case"<":e=c+e+d+v;break;case"=":e=c+v+e+d;break;case"^":e=v.slice(0,w=v.length>>1)+c+e+d+v.slice(w);break;default:e=v+c+e+d}return l(e)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),A.toString=function(){return e+""},A}return{format:p,formatPrefix:function(e,t){var n=3*Math.max(-8,Math.min(8,Math.floor(tM(t)/3))),r=Math.pow(10,-n),i=p(((e=tR(e)).type="f",e),{suffix:tj[8+n/3]});return function(e){return i(r*e)}}}}({thousands:",",grouping:[3],currency:["$",""]})).format,eo=ea.formatPrefix,tW.prototype=tz.prototype={constructor:tW,count:function(){return this.eachAfter(t$)},each:function(e,t){let n=-1;for(let r of this)e.call(t,r,++n,this);return this},eachAfter:function(e,t){for(var n,r,i,a=this,s=[a],o=[],l=-1;a=s.pop();)if(o.push(a),n=a.children)for(r=0,i=n.length;r<i;++r)s.push(n[r]);for(;a=o.pop();)e.call(t,a,++l,this);return this},eachBefore:function(e,t){for(var n,r,i=this,a=[i],s=-1;i=a.pop();)if(e.call(t,i,++s,this),n=i.children)for(r=n.length-1;r>=0;--r)a.push(n[r]);return this},find:function(e,t){let n=-1;for(let r of this)if(e.call(t,r,++n,this))return r},sum:function(e){return this.eachAfter(function(t){for(var n=+e(t.data)||0,r=t.children,i=r&&r.length;--i>=0;)n+=r[i].value;t.value=n})},sort:function(e){return this.eachBefore(function(t){t.children&&t.children.sort(e)})},path:function(e){for(var t=this,n=function(e,t){if(e===t)return e;var n=e.ancestors(),r=t.ancestors(),i=null;for(e=n.pop(),t=r.pop();e===t;)i=e,e=n.pop(),t=r.pop();return i}(t,e),r=[t];t!==n;)r.push(t=t.parent);for(var i=r.length;e!==n;)r.splice(i,0,e),e=e.parent;return r},ancestors:function(){for(var e=this,t=[e];e=e.parent;)t.push(e);return t},descendants:function(){return Array.from(this)},leaves:function(){var e=[];return this.eachBefore(function(t){t.children||e.push(t)}),e},links:function(){var e=this,t=[];return e.each(function(n){n!==e&&t.push({source:n.parent,target:n})}),t},copy:function(){return tz(this).eachBefore(tY)},[Symbol.iterator]:function*(){var e,t,n,r,i=this,a=[i];do for(e=a.reverse(),a=[];i=e.pop();)if(yield i,t=i.children)for(n=0,r=t.length;n<r;++n)a.push(t[n]);while(a.length)}};let tX=function e(t){function n(e,n,r,i,a){!function(e,t,n,r,i,a){for(var s,o,l,c,u,h,p,d,f,m,g,y=[],b=t.children,_=0,k=0,E=b.length,T=t.value;_<E;){l=i-n,c=a-r;do u=b[k++].value;while(!u&&k<E);for(h=p=u,f=Math.max(p/(g=u*u*(m=Math.max(c/l,l/c)/(T*e))),g/h);k<E;++k){if(u+=o=b[k].value,o<h&&(h=o),o>p&&(p=o),(d=Math.max(p/(g=u*u*m),g/h))>f){u-=o;break}f=d}y.push(s={value:u,dice:l<c,children:b.slice(_,k)}),s.dice?function(e,t,n,r,i){for(var a,s=e.children,o=-1,l=s.length,c=e.value&&(r-t)/e.value;++o<l;)(a=s[o]).y0=n,a.y1=i,a.x0=t,a.x1=t+=a.value*c}(s,n,r,i,T?r+=c*u/T:a):function(e,t,n,r,i){for(var a,s=e.children,o=-1,l=s.length,c=e.value&&(i-n)/e.value;++o<l;)(a=s[o]).x0=t,a.x1=r,a.y0=n,a.y1=n+=a.value*c}(s,n,r,T?n+=l*u/T:i,a),T-=u,_=k}}(t,e,n,r,i,a)}return n.ratio=function(t){return e((t*=1)>1?t:1)},n}((1+Math.sqrt(5))/2);function tQ(){return 0}function tZ(e){return function(){return e}}function tJ(){var e=tX,t=!1,n=1,r=1,i=[0],a=tQ,s=tQ,o=tQ,l=tQ,c=tQ;function u(e){return e.x0=e.y0=0,e.x1=n,e.y1=r,e.eachBefore(h),i=[0],t&&e.eachBefore(tV),e}function h(t){var n=i[t.depth],r=t.x0+n,u=t.y0+n,h=t.x1-n,p=t.y1-n;h<r&&(r=h=(r+h)/2),p<u&&(u=p=(u+p)/2),t.x0=r,t.y0=u,t.x1=h,t.y1=p,t.children&&(n=i[t.depth+1]=a(t)/2,r+=c(t)-n,u+=s(t)-n,h-=o(t)-n,p-=l(t)-n,h<r&&(r=h=(r+h)/2),p<u&&(u=p=(u+p)/2),e(t,r,u,h,p))}return u.round=function(e){return arguments.length?(t=!!e,u):t},u.size=function(e){return arguments.length?(n=+e[0],r=+e[1],u):[n,r]},u.tile=function(t){return arguments.length?(e=function(e){if("function"!=typeof e)throw Error();return e}(t),u):e},u.padding=function(e){return arguments.length?u.paddingInner(e).paddingOuter(e):u.paddingInner()},u.paddingInner=function(e){return arguments.length?(a="function"==typeof e?e:tZ(+e),u):a},u.paddingOuter=function(e){return arguments.length?u.paddingTop(e).paddingRight(e).paddingBottom(e).paddingLeft(e):u.paddingTop()},u.paddingTop=function(e){return arguments.length?(s="function"==typeof e?e:tZ(+e),u):s},u.paddingRight=function(e){return arguments.length?(o="function"==typeof e?e:tZ(+e),u):o},u.paddingBottom=function(e){return arguments.length?(l="function"==typeof e?e:tZ(+e),u):l},u.paddingLeft=function(e){return arguments.length?(c="function"==typeof e?e:tZ(+e),u):c},u}let t0=Math.PI/180,t1=180/Math.PI,t2=4/29,t3=6/29,t5=6/29*3*(6/29),t9=6/29*(6/29)*(6/29);function t6(e){if(e instanceof t4)return new t4(e.l,e.a,e.b,e.opacity);if(e instanceof nr)return ni(e);e instanceof te||(e=e8(e));var t,n,r=nt(e.r),i=nt(e.g),a=nt(e.b),s=t8((.2225045*r+.7168786*i+.0606169*a)/1);return r===i&&i===a?t=n=s:(t=t8((.4360747*r+.3850649*i+.1430804*a)/.96422),n=t8((.0139322*r+.0971045*i+.7141733*a)/.82521)),new t4(116*s-16,500*(t-s),200*(s-n),e.opacity)}function t4(e,t,n,r){this.l=+e,this.a=+t,this.b=+n,this.opacity=+r}function t8(e){return e>t9?Math.pow(e,1/3):e/t5+t2}function t7(e){return e>t3?e*e*e:t5*(e-t2)}function ne(e){return 255*(e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055)}function nt(e){return(e/=255)<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)}function nn(e,t,n,r){return 1==arguments.length?function(e){if(e instanceof nr)return new nr(e.h,e.c,e.l,e.opacity);if(e instanceof t4||(e=t6(e)),0===e.a&&0===e.b)return new nr(0/0,0<e.l&&e.l<100?0:0/0,e.l,e.opacity);var t=Math.atan2(e.b,e.a)*t1;return new nr(t<0?t+360:t,Math.sqrt(e.a*e.a+e.b*e.b),e.l,e.opacity)}(e):new nr(e,t,n,null==r?1:r)}function nr(e,t,n,r){this.h=+e,this.c=+t,this.l=+n,this.opacity=+r}function ni(e){if(isNaN(e.h))return new t4(e.l,0,0,e.opacity);var t=e.h*t0;return new t4(e.l,Math.cos(t)*e.c,Math.sin(t)*e.c,e.opacity)}function na(e){return function(t,n){var r=e((t=nn(t)).h,(n=nn(n)).h),i=tm(t.c,n.c),a=tm(t.l,n.l),s=tm(t.opacity,n.opacity);return function(e){return t.h=r(e),t.c=i(e),t.l=a(e),t.opacity=s(e),t+""}}}e$(t4,function(e,t,n,r){return 1==arguments.length?t6(e):new t4(e,t,n,null==r?1:r)},ez(eG,{brighter(e){return new t4(this.l+18*(null==e?1:e),this.a,this.b,this.opacity)},darker(e){return new t4(this.l-18*(null==e?1:e),this.a,this.b,this.opacity)},rgb(){var e=(this.l+16)/116,t=isNaN(this.a)?e:e+this.a/500,n=isNaN(this.b)?e:e-this.b/200;return t=.96422*t7(t),new te(ne(3.1338561*t-1.6168667*(e=+t7(e))-.4906146*(n=.82521*t7(n))),ne(-.9787684*t+1.9161415*e+.033454*n),ne(.0719453*t-.2289914*e+1.4052427*n),this.opacity)}})),e$(nr,nn,ez(eG,{brighter(e){return new nr(this.h,this.c,this.l+18*(null==e?1:e),this.opacity)},darker(e){return new nr(this.h,this.c,this.l-18*(null==e?1:e),this.opacity)},rgb(){return ni(this).rgb()}}));let ns=na(function(e,t){var n=t-e;return n?tf(e,n>180||n<-180?n-360*Math.round(n/360):n):td(isNaN(e)?t:e)});function no(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}na(tm);class nl extends Map{constructor(e,t=nu){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(let[t,n]of e)this.set(t,n)}get(e){return super.get(nc(this,e))}has(e){return super.has(nc(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){let r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function nc({_intern:e,_key:t},n){let r=t(n);return e.has(r)?e.get(r):n}function nu(e){return null!==e&&"object"==typeof e?e.valueOf():e}let nh=Symbol("implicit");function np(){var e=new nl,t=[],n=[],r=nh;function i(i){let a=e.get(i);if(void 0===a){if(r!==nh)return r;e.set(i,a=t.push(i)-1)}return n[a%n.length]}return i.domain=function(n){if(!arguments.length)return t.slice();for(let r of(t=[],e=new nl,n))e.has(r)||e.set(r,t.push(r)-1);return i},i.range=function(e){return arguments.length?(n=Array.from(e),i):n.slice()},i.unknown=function(e){return arguments.length?(r=e,i):r},i.copy=function(){return np(t,n).unknown(r)},no.apply(i,arguments),i}let nd=Math.sqrt(50),nf=Math.sqrt(10),nm=Math.sqrt(2);function ng(e,t,n){let r,i,a,s=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(s)),l=s/Math.pow(10,o),c=l>=nd?10:l>=nf?5:l>=nm?2:1;return(o<0?(r=Math.round(e*(a=Math.pow(10,-o)/c)),i=Math.round(t*a),r/a<e&&++r,i/a>t&&--i,a=-a):(r=Math.round(e/(a=Math.pow(10,o)*c)),i=Math.round(t/a),r*a<e&&++r,i*a>t&&--i),i<r&&.5<=n&&n<2)?ng(e,t,2*n):[r,i,a]}function ny(e,t,n){return ng(e*=1,t*=1,n*=1)[2]}function nb(e,t,n){t*=1,e*=1,n*=1;let r=t<e,i=r?ny(t,e,n):ny(e,t,n);return(r?-1:1)*(i<0?-(1/i):i)}function n_(e,t){return null==e||null==t?0/0:e<t?-1:e>t?1:e>=t?0:0/0}function nk(e,t){return null==e||null==t?0/0:t<e?-1:t>e?1:t>=e?0:0/0}function nE(e){let t,n,r;function i(e,r,a=0,s=e.length){if(a<s){if(0!==t(r,r))return s;do{let t=a+s>>>1;0>n(e[t],r)?a=t+1:s=t}while(a<s)}return a}return 2!==e.length?(t=n_,n=(t,n)=>n_(e(t),n),r=(t,n)=>e(t)-n):(t=e===n_||e===nk?e:nT,n=e,r=e),{left:i,center:function(e,t,n=0,a=e.length){let s=i(e,t,n,a-1);return s>n&&r(e[s-1],t)>-r(e[s],t)?s-1:s},right:function(e,r,i=0,a=e.length){if(i<a){if(0!==t(r,r))return a;do{let t=i+a>>>1;0>=n(e[t],r)?i=t+1:a=t}while(i<a)}return i}}}function nT(){return 0}let nx=nE(n_),nA=nx.right;nx.left,nE(function(e){return null===e?0/0:+e}).center;function nw(e,t){return e*=1,t*=1,function(n){return Math.round(e*(1-n)+t*n)}}function nv(e){return+e}var nS=[0,1];function nC(e){return e}function nN(e,t){var n;return(t-=e*=1)?function(n){return(n-e)/t}:(n=isNaN(t)?0/0:.5,function(){return n})}function nI(e,t,n){var r=e[0],i=e[1],a=t[0],s=t[1];return i<r?(r=nN(i,r),a=n(s,a)):(r=nN(r,i),a=n(a,s)),function(e){return a(r(e))}}function nD(e,t,n){var r=Math.min(e.length,t.length)-1,i=Array(r),a=Array(r),s=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++s<r;)i[s]=nN(e[s],e[s+1]),a[s]=n(t[s],t[s+1]);return function(t){var n=nA(e,t,1,r)-1;return a[n](i[n](t))}}function nO(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function nM(){return(function(){var e,t,n,r,i,a,s=nS,o=nS,l=function e(t,n){var r,i,a=typeof n;return null==n||"boolean"===a?td(n):("number"===a?eL:"string"===a?(i=e9(n))?(n=i,tg):tk:n instanceof e9?tg:n instanceof Date?function(e,t){var n=new Date;return e*=1,t*=1,function(r){return n.setTime(e*(1-r)+t*r),n}}:!ArrayBuffer.isView(r=n)||r instanceof DataView?Array.isArray(n)?function(t,n){var r,i=n?n.length:0,a=t?Math.min(i,t.length):0,s=Array(a),o=Array(i);for(r=0;r<a;++r)s[r]=e(t[r],n[r]);for(;r<i;++r)o[r]=n[r];return function(e){for(r=0;r<a;++r)o[r]=s[r](e);return o}}:"function"!=typeof n.valueOf&&"function"!=typeof n.toString||isNaN(n)?function(t,n){var r,i={},a={};for(r in(null===t||"object"!=typeof t)&&(t={}),(null===n||"object"!=typeof n)&&(n={}),n)r in t?i[r]=e(t[r],n[r]):a[r]=n[r];return function(e){for(r in i)a[r]=i[r](e);return a}}:eL:function(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,i=t.slice();return function(a){for(n=0;n<r;++n)i[n]=e[n]*(1-a)+t[n]*a;return i}})(t,n)},c=nC;function u(){var e,t,n,l=Math.min(s.length,o.length);return c!==nC&&(e=s[0],t=s[l-1],e>t&&(n=e,e=t,t=n),c=function(n){return Math.max(e,Math.min(t,n))}),r=l>2?nD:nI,i=a=null,h}function h(t){return null==t||isNaN(t*=1)?n:(i||(i=r(s.map(e),o,l)))(e(c(t)))}return h.invert=function(n){return c(t((a||(a=r(o,s.map(e),eL)))(n)))},h.domain=function(e){return arguments.length?(s=Array.from(e,nv),u()):s.slice()},h.range=function(e){return arguments.length?(o=Array.from(e),u()):o.slice()},h.rangeRound=function(e){return o=Array.from(e),l=nw,u()},h.clamp=function(e){return arguments.length?(c=!!e||nC,u()):c!==nC},h.interpolate=function(e){return arguments.length?(l=e,u()):l},h.unknown=function(e){return arguments.length?(n=e,h):n},function(n,r){return e=n,t=r,u()}})()(nC,nC)}let nL=new Date,nR=new Date;function nP(e,t,n,r){function i(t){return e(t=0==arguments.length?new Date:new Date(+t)),t}return i.floor=t=>(e(t=new Date(+t)),t),i.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),i.round=e=>{let t=i(e),n=i.ceil(e);return e-t<n-e?t:n},i.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),i.range=(n,r,a)=>{let s,o=[];if(n=i.ceil(n),a=null==a?1:Math.floor(a),!(n<r)||!(a>0))return o;do o.push(s=new Date(+n)),t(n,a),e(n);while(s<n&&n<r);return o},i.filter=n=>nP(t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)},(e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););}),n&&(i.count=(t,r)=>(nL.setTime(+t),nR.setTime(+r),e(nL),e(nR),Math.floor(n(nL,nR))),i.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?i.filter(r?t=>r(t)%e==0:t=>i.count(0,t)%e==0):i:null),i}let nF=nP(()=>{},(e,t)=>{e.setTime(+e+t)},(e,t)=>t-e);nF.every=e=>isFinite(e=Math.floor(e))&&e>0?e>1?nP(t=>{t.setTime(Math.floor(t/e)*e)},(t,n)=>{t.setTime(+t+n*e)},(t,n)=>(n-t)/e):nF:null,nF.range;let nB=nP(e=>{e.setTime(e-e.getMilliseconds())},(e,t)=>{e.setTime(+e+1e3*t)},(e,t)=>(t-e)/1e3,e=>e.getUTCSeconds());nB.range;let nH=nP(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds())},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getMinutes());nH.range;let nU=nP(e=>{e.setUTCSeconds(0,0)},(e,t)=>{e.setTime(+e+6e4*t)},(e,t)=>(t-e)/6e4,e=>e.getUTCMinutes());nU.range;let nj=nP(e=>{e.setTime(e-e.getMilliseconds()-1e3*e.getSeconds()-6e4*e.getMinutes())},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getHours());nj.range;let n$=nP(e=>{e.setUTCMinutes(0,0,0)},(e,t)=>{e.setTime(+e+36e5*t)},(e,t)=>(t-e)/36e5,e=>e.getUTCHours());n$.range;let nz=nP(e=>e.setHours(0,0,0,0),(e,t)=>e.setDate(e.getDate()+t),(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/864e5,e=>e.getDate()-1);nz.range;let nG=nP(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>e.getUTCDate()-1);nG.range;let nK=nP(e=>{e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+t)},(e,t)=>(t-e)/864e5,e=>Math.floor(e/864e5));function nY(e){return nP(t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)},(e,t)=>{e.setDate(e.getDate()+7*t)},(e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*6e4)/6048e5)}nK.range;let nq=nY(0),nW=nY(1),nV=nY(2),nX=nY(3),nQ=nY(4),nZ=nY(5),nJ=nY(6);function n0(e){return nP(t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)},(e,t)=>(t-e)/6048e5)}nq.range,nW.range,nV.range,nX.range,nQ.range,nZ.range,nJ.range;let n1=n0(0),n2=n0(1),n3=n0(2),n5=n0(3),n9=n0(4),n6=n0(5),n4=n0(6);n1.range,n2.range,n3.range,n5.range,n9.range,n6.range,n4.range;let n8=nP(e=>{e.setDate(1),e.setHours(0,0,0,0)},(e,t)=>{e.setMonth(e.getMonth()+t)},(e,t)=>t.getMonth()-e.getMonth()+(t.getFullYear()-e.getFullYear())*12,e=>e.getMonth());n8.range;let n7=nP(e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)},(e,t)=>t.getUTCMonth()-e.getUTCMonth()+(t.getUTCFullYear()-e.getUTCFullYear())*12,e=>e.getUTCMonth());n7.range;let re=nP(e=>{e.setMonth(0,1),e.setHours(0,0,0,0)},(e,t)=>{e.setFullYear(e.getFullYear()+t)},(e,t)=>t.getFullYear()-e.getFullYear(),e=>e.getFullYear());re.every=e=>isFinite(e=Math.floor(e))&&e>0?nP(t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)},(t,n)=>{t.setFullYear(t.getFullYear()+n*e)}):null,re.range;let rt=nP(e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)},(e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)},(e,t)=>t.getUTCFullYear()-e.getUTCFullYear(),e=>e.getUTCFullYear());function rn(e,t,n,r,i,a){let s=[[nB,1,1e3],[nB,5,5e3],[nB,15,15e3],[nB,30,3e4],[a,1,6e4],[a,5,3e5],[a,15,9e5],[a,30,18e5],[i,1,36e5],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,864e5],[r,2,1728e5],[n,1,6048e5],[t,1,2592e6],[t,3,7776e6],[e,1,31536e6]];function o(t,n,r){let i=Math.abs(n-t)/r,a=nE(([,,e])=>e).right(s,i);if(a===s.length)return e.every(nb(t/31536e6,n/31536e6,r));if(0===a)return nF.every(Math.max(nb(t,n,r),1));let[o,l]=s[i/s[a-1][2]<s[a][2]/i?a-1:a];return o.every(l)}return[function(e,t,n){let r=t<e;r&&([e,t]=[t,e]);let i=n&&"function"==typeof n.range?n:o(e,t,n),a=i?i.range(e,+t+1):[];return r?a.reverse():a},o]}rt.every=e=>isFinite(e=Math.floor(e))&&e>0?nP(t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)},(t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)}):null,rt.range;let[rr,ri]=rn(rt,n7,n1,nK,n$,nU),[ra,rs]=rn(re,n8,nq,nz,nj,nH);function ro(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function rl(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function rc(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var ru={"-":"",_:" ",0:"0"},rh=/^\s*\d+/,rp=/^%/,rd=/[\\^$*+?|[\]().{}]/g;function rf(e,t,n){var r=e<0?"-":"",i=(r?-e:e)+"",a=i.length;return r+(a<n?Array(n-a+1).join(t)+i:i)}function rm(e){return e.replace(rd,"\\$&")}function rg(e){return RegExp("^(?:"+e.map(rm).join("|")+")","i")}function ry(e){return new Map(e.map((e,t)=>[e.toLowerCase(),t]))}function rb(e,t,n){var r=rh.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function r_(e,t,n){var r=rh.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function rk(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function rE(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function rT(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function rx(e,t,n){var r=rh.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function rA(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function rw(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function rv(e,t,n){var r=rh.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function rS(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function rC(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function rN(e,t,n){var r=rh.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function rI(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function rD(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function rO(e,t,n){var r=rh.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function rM(e,t,n){var r=rh.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function rL(e,t,n){var r=rh.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function rR(e,t,n){var r=rp.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function rP(e,t,n){var r=rh.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function rF(e,t,n){var r=rh.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function rB(e,t){return rf(e.getDate(),t,2)}function rH(e,t){return rf(e.getHours(),t,2)}function rU(e,t){return rf(e.getHours()%12||12,t,2)}function rj(e,t){return rf(1+nz.count(re(e),e),t,3)}function r$(e,t){return rf(e.getMilliseconds(),t,3)}function rz(e,t){return r$(e,t)+"000"}function rG(e,t){return rf(e.getMonth()+1,t,2)}function rK(e,t){return rf(e.getMinutes(),t,2)}function rY(e,t){return rf(e.getSeconds(),t,2)}function rq(e){var t=e.getDay();return 0===t?7:t}function rW(e,t){return rf(nq.count(re(e)-1,e),t,2)}function rV(e){var t=e.getDay();return t>=4||0===t?nQ(e):nQ.ceil(e)}function rX(e,t){return e=rV(e),rf(nQ.count(re(e),e)+(4===re(e).getDay()),t,2)}function rQ(e){return e.getDay()}function rZ(e,t){return rf(nW.count(re(e)-1,e),t,2)}function rJ(e,t){return rf(e.getFullYear()%100,t,2)}function r0(e,t){return rf((e=rV(e)).getFullYear()%100,t,2)}function r1(e,t){return rf(e.getFullYear()%1e4,t,4)}function r2(e,t){var n=e.getDay();return rf((e=n>=4||0===n?nQ(e):nQ.ceil(e)).getFullYear()%1e4,t,4)}function r3(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+rf(t/60|0,"0",2)+rf(t%60,"0",2)}function r5(e,t){return rf(e.getUTCDate(),t,2)}function r9(e,t){return rf(e.getUTCHours(),t,2)}function r6(e,t){return rf(e.getUTCHours()%12||12,t,2)}function r4(e,t){return rf(1+nG.count(rt(e),e),t,3)}function r8(e,t){return rf(e.getUTCMilliseconds(),t,3)}function r7(e,t){return r8(e,t)+"000"}function ie(e,t){return rf(e.getUTCMonth()+1,t,2)}function it(e,t){return rf(e.getUTCMinutes(),t,2)}function ir(e,t){return rf(e.getUTCSeconds(),t,2)}function ii(e){var t=e.getUTCDay();return 0===t?7:t}function ia(e,t){return rf(n1.count(rt(e)-1,e),t,2)}function is(e){var t=e.getUTCDay();return t>=4||0===t?n9(e):n9.ceil(e)}function io(e,t){return e=is(e),rf(n9.count(rt(e),e)+(4===rt(e).getUTCDay()),t,2)}function il(e){return e.getUTCDay()}function ic(e,t){return rf(n2.count(rt(e)-1,e),t,2)}function iu(e,t){return rf(e.getUTCFullYear()%100,t,2)}function ih(e,t){return rf((e=is(e)).getUTCFullYear()%100,t,2)}function ip(e,t){return rf(e.getUTCFullYear()%1e4,t,4)}function id(e,t){var n=e.getUTCDay();return rf((e=n>=4||0===n?n9(e):n9.ceil(e)).getUTCFullYear()%1e4,t,4)}function im(){return"+0000"}function ig(){return"%"}function iy(e){return+e}function ib(e){return Math.floor(e/1e3)}function i_(e){return new Date(e)}function ik(e){return e instanceof Date?+e:+new Date(+e)}function iE(){return no.apply((function e(t,n,r,i,a,s,o,l,c,u){var h=nM(),p=h.invert,d=h.domain,f=u(".%L"),m=u(":%S"),g=u("%I:%M"),y=u("%I %p"),b=u("%a %d"),_=u("%b %d"),k=u("%B"),E=u("%Y");function T(e){return(c(e)<e?f:l(e)<e?m:o(e)<e?g:s(e)<e?y:i(e)<e?a(e)<e?b:_:r(e)<e?k:E)(e)}return h.invert=function(e){return new Date(p(e))},h.domain=function(e){return arguments.length?d(Array.from(e,ik)):d().map(i_)},h.ticks=function(e){var n=d();return t(n[0],n[n.length-1],null==e?10:e)},h.tickFormat=function(e,t){return null==t?T:u(t)},h.nice=function(e){var t,r,i,a,s,o,l,c=d();return e&&"function"==typeof e.range||(e=n(c[0],c[c.length-1],null==e?10:e)),e?d((t=c,r=e,t=t.slice(),a=0,s=t.length-1,o=t[a],(l=t[s])<o&&(i=a,a=s,s=i,i=o,o=l,l=i),t[a]=r.floor(o),t[s]=r.ceil(l),t)):h},h.copy=function(){return nO(h,e(t,n,r,i,a,s,o,l,c,u))},h})(ra,rs,re,n8,nq,nz,nj,nH,nB,ec).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}ec=(el=function(e){var t=e.dateTime,n=e.date,r=e.time,i=e.periods,a=e.days,s=e.shortDays,o=e.months,l=e.shortMonths,c=rg(i),u=ry(i),h=rg(a),p=ry(a),d=rg(s),f=ry(s),m=rg(o),g=ry(o),y=rg(l),b=ry(l),_={a:function(e){return s[e.getDay()]},A:function(e){return a[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return o[e.getMonth()]},c:null,d:rB,e:rB,f:rz,g:r0,G:r2,H:rH,I:rU,j:rj,L:r$,m:rG,M:rK,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:iy,s:ib,S:rY,u:rq,U:rW,V:rX,w:rQ,W:rZ,x:null,X:null,y:rJ,Y:r1,Z:r3,"%":ig},k={a:function(e){return s[e.getUTCDay()]},A:function(e){return a[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return o[e.getUTCMonth()]},c:null,d:r5,e:r5,f:r7,g:ih,G:id,H:r9,I:r6,j:r4,L:r8,m:ie,M:it,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:iy,s:ib,S:ir,u:ii,U:ia,V:io,w:il,W:ic,x:null,X:null,y:iu,Y:ip,Z:im,"%":ig},E={a:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=b.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return A(e,t,n,r)},d:rC,e:rC,f:rL,g:rA,G:rx,H:rI,I:rI,j:rN,L:rM,m:rS,M:rD,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:rv,Q:rP,s:rF,S:rO,u:r_,U:rk,V:rE,w:rb,W:rT,x:function(e,t,r){return A(e,n,t,r)},X:function(e,t,n){return A(e,r,t,n)},y:rA,Y:rx,Z:rw,"%":rR};function T(e,t){return function(n){var r,i,a,s=[],o=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++o<c;)37===e.charCodeAt(o)&&(s.push(e.slice(l,o)),null!=(i=ru[r=e.charAt(++o)])?r=e.charAt(++o):i="e"===r?" ":"0",(a=t[r])&&(r=a(n,i)),s.push(r),l=o+1);return s.push(e.slice(l,o)),s.join("")}}function x(e,t){return function(n){var r,i,a=rc(1900,void 0,1);if(A(a,e,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(!t||"Z"in a||(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=(r=rl(rc(a.y,0,1))).getUTCDay())>4||0===i?n2.ceil(r):n2(r),r=nG.offset(r,(a.V-1)*7),a.y=r.getUTCFullYear(),a.m=r.getUTCMonth(),a.d=r.getUTCDate()+(a.w+6)%7):(r=(i=(r=ro(rc(a.y,0,1))).getDay())>4||0===i?nW.ceil(r):nW(r),r=nz.offset(r,(a.V-1)*7),a.y=r.getFullYear(),a.m=r.getMonth(),a.d=r.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:+("W"in a)),i="Z"in a?rl(rc(a.y,0,1)).getUTCDay():ro(rc(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(i+5)%7:a.w+7*a.U-(i+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,rl(a)):ro(a)}}function A(e,t,n,r){for(var i,a,s=0,o=t.length,l=n.length;s<o;){if(r>=l)return -1;if(37===(i=t.charCodeAt(s++))){if(!(a=E[(i=t.charAt(s++))in ru?t.charAt(s++):i])||(r=a(e,n,r))<0)return -1}else if(i!=n.charCodeAt(r++))return -1}return r}return _.x=T(n,_),_.X=T(r,_),_.c=T(t,_),k.x=T(n,k),k.X=T(r,k),k.c=T(t,k),{format:function(e){var t=T(e+="",_);return t.toString=function(){return e},t},parse:function(e){var t=x(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=T(e+="",k);return t.toString=function(){return e},t},utcParse:function(e){var t=x(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]})).format,el.parse,el.utcFormat,el.utcParse;let iT=function(e){for(var t=e.length/6|0,n=Array(t),r=0;r<t;)n[r]="#"+e.slice(6*r,6*++r);return n}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function ix(e){return"string"==typeof e?new Q([[document.querySelector(e)]],[document.documentElement]):new Q([[e]],X)}function iA(e){return function(){return e}}let iw=Math.abs,iv=Math.atan2,iS=Math.cos,iC=Math.max,iN=Math.min,iI=Math.sin,iD=Math.sqrt,iO=Math.PI,iM=iO/2,iL=2*iO;function iR(e){return e>=1?iM:e<=-1?-iM:Math.asin(e)}let iP=Math.PI,iF=2*iP,iB=iF-1e-6;function iH(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class iU{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?iH:function(e){let t=Math.floor(e);if(!(t>=0))throw Error(`invalid digits: ${e}`);if(t>15)return iH;let n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,i,a){this._append`C${+e},${+t},${+n},${+r},${this._x1=+i},${this._y1=+a}`}arcTo(e,t,n,r,i){if(e*=1,t*=1,n*=1,r*=1,(i*=1)<0)throw Error(`negative radius: ${i}`);let a=this._x1,s=this._y1,o=n-e,l=r-t,c=a-e,u=s-t,h=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(h>1e-6)if(Math.abs(u*o-l*c)>1e-6&&i){let p=n-a,d=r-s,f=o*o+l*l,m=Math.sqrt(f),g=Math.sqrt(h),y=i*Math.tan((iP-Math.acos((f+h-(p*p+d*d))/(2*m*g)))/2),b=y/g,_=y/m;Math.abs(b-1)>1e-6&&this._append`L${e+b*c},${t+b*u}`,this._append`A${i},${i},0,0,${+(u*p>c*d)},${this._x1=e+_*o},${this._y1=t+_*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,i,a){if(e*=1,t*=1,n*=1,a=!!a,n<0)throw Error(`negative radius: ${n}`);let s=n*Math.cos(r),o=n*Math.sin(r),l=e+s,c=t+o,u=1^a,h=a?r-i:i-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>1e-6||Math.abs(this._y1-c)>1e-6)&&this._append`L${l},${c}`,n&&(h<0&&(h=h%iF+iF),h>iB?this._append`A${n},${n},0,1,${u},${e-s},${t-o}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:h>1e-6&&this._append`A${n},${n},0,${+(h>=iP)},${u},${this._x1=e+n*Math.cos(i)},${this._y1=t+n*Math.sin(i)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n*=1}v${+r}h${-n}Z`}toString(){return this._}}function ij(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{let e=Math.floor(n);if(!(e>=0))throw RangeError(`invalid digits: ${n}`);t=e}return e},()=>new iU(t)}function i$(e){return e.innerRadius}function iz(e){return e.outerRadius}function iG(e){return e.startAngle}function iK(e){return e.endAngle}function iY(e){return e&&e.padAngle}function iq(e,t,n,r,i,a,s){var o=e-n,l=t-r,c=(s?a:-a)/iD(o*o+l*l),u=c*l,h=-c*o,p=e+u,d=t+h,f=n+u,m=r+h,g=(p+f)/2,y=(d+m)/2,b=f-p,_=m-d,k=b*b+_*_,E=i-a,T=p*m-f*d,x=(_<0?-1:1)*iD(iC(0,E*E*k-T*T)),A=(T*_-b*x)/k,w=(-T*b-_*x)/k,v=(T*_+b*x)/k,S=(-T*b+_*x)/k,C=A-g,N=w-y,I=v-g,D=S-y;return C*C+N*N>I*I+D*D&&(A=v,w=S),{cx:A,cy:w,x01:-u,y01:-h,x11:A*(i/E-1),y11:w*(i/E-1)}}function iW(){var e=i$,t=iz,n=iA(0),r=null,i=iG,a=iK,s=iY,o=null,l=ij(c);function c(){var c,u,h=+e.apply(this,arguments),p=+t.apply(this,arguments),d=i.apply(this,arguments)-iM,f=a.apply(this,arguments)-iM,m=iw(f-d),g=f>d;if(o||(o=c=l()),p<h&&(u=p,p=h,h=u),p>1e-12)if(m>iL-1e-12)o.moveTo(p*iS(d),p*iI(d)),o.arc(0,0,p,d,f,!g),h>1e-12&&(o.moveTo(h*iS(f),h*iI(f)),o.arc(0,0,h,f,d,g));else{var y,b,_=d,k=f,E=d,T=f,x=m,A=m,w=s.apply(this,arguments)/2,v=w>1e-12&&(r?+r.apply(this,arguments):iD(h*h+p*p)),S=iN(iw(p-h)/2,+n.apply(this,arguments)),C=S,N=S;if(v>1e-12){var I=iR(v/h*iI(w)),D=iR(v/p*iI(w));(x-=2*I)>1e-12?(I*=g?1:-1,E+=I,T-=I):(x=0,E=T=(d+f)/2),(A-=2*D)>1e-12?(D*=g?1:-1,_+=D,k-=D):(A=0,_=k=(d+f)/2)}var O=p*iS(_),M=p*iI(_),L=h*iS(T),R=h*iI(T);if(S>1e-12){var P,F=p*iS(k),B=p*iI(k),H=h*iS(E),U=h*iI(E);if(m<iO)if(P=function(e,t,n,r,i,a,s,o){var l=n-e,c=r-t,u=s-i,h=o-a,p=h*l-u*c;if(!(p*p<1e-12))return p=(u*(t-a)-h*(e-i))/p,[e+p*l,t+p*c]}(O,M,H,U,F,B,L,R)){var j,$=O-P[0],z=M-P[1],G=F-P[0],K=B-P[1],Y=1/iI(((j=($*G+z*K)/(iD($*$+z*z)*iD(G*G+K*K)))>1?0:j<-1?iO:Math.acos(j))/2),q=iD(P[0]*P[0]+P[1]*P[1]);C=iN(S,(h-q)/(Y-1)),N=iN(S,(p-q)/(Y+1))}else C=N=0}A>1e-12?N>1e-12?(y=iq(H,U,O,M,p,N,g),b=iq(F,B,L,R,p,N,g),o.moveTo(y.cx+y.x01,y.cy+y.y01),N<S?o.arc(y.cx,y.cy,N,iv(y.y01,y.x01),iv(b.y01,b.x01),!g):(o.arc(y.cx,y.cy,N,iv(y.y01,y.x01),iv(y.y11,y.x11),!g),o.arc(0,0,p,iv(y.cy+y.y11,y.cx+y.x11),iv(b.cy+b.y11,b.cx+b.x11),!g),o.arc(b.cx,b.cy,N,iv(b.y11,b.x11),iv(b.y01,b.x01),!g))):(o.moveTo(O,M),o.arc(0,0,p,_,k,!g)):o.moveTo(O,M),h>1e-12&&x>1e-12?C>1e-12?(y=iq(L,R,F,B,h,-C,g),b=iq(O,M,H,U,h,-C,g),o.lineTo(y.cx+y.x01,y.cy+y.y01),C<S?o.arc(y.cx,y.cy,C,iv(y.y01,y.x01),iv(b.y01,b.x01),!g):(o.arc(y.cx,y.cy,C,iv(y.y01,y.x01),iv(y.y11,y.x11),!g),o.arc(0,0,h,iv(y.cy+y.y11,y.cx+y.x11),iv(b.cy+b.y11,b.cx+b.x11),g),o.arc(b.cx,b.cy,C,iv(b.y11,b.x11),iv(b.y01,b.x01),!g))):o.arc(0,0,h,T,E,g):o.lineTo(L,R)}else o.moveTo(0,0);if(o.closePath(),c)return o=null,c+""||null}return c.centroid=function(){var n=(+e.apply(this,arguments)+ +t.apply(this,arguments))/2,r=(+i.apply(this,arguments)+ +a.apply(this,arguments))/2-iO/2;return[iS(r)*n,iI(r)*n]},c.innerRadius=function(t){return arguments.length?(e="function"==typeof t?t:iA(+t),c):e},c.outerRadius=function(e){return arguments.length?(t="function"==typeof e?e:iA(+e),c):t},c.cornerRadius=function(e){return arguments.length?(n="function"==typeof e?e:iA(+e),c):n},c.padRadius=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:iA(+e),c):r},c.startAngle=function(e){return arguments.length?(i="function"==typeof e?e:iA(+e),c):i},c.endAngle=function(e){return arguments.length?(a="function"==typeof e?e:iA(+e),c):a},c.padAngle=function(e){return arguments.length?(s="function"==typeof e?e:iA(+e),c):s},c.context=function(e){return arguments.length?(o=null==e?null:e,c):o},c}function iV(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function iX(e){this._context=e}function iQ(e){return new iX(e)}function iZ(e){return e[0]}function iJ(e){return e[1]}function i0(e,t){var n=iA(!0),r=null,i=iQ,a=null,s=ij(o);function o(o){var l,c,u,h=(o=iV(o)).length,p=!1;for(null==r&&(a=i(u=s())),l=0;l<=h;++l)!(l<h&&n(c=o[l],l,o))===p&&((p=!p)?a.lineStart():a.lineEnd()),p&&a.point(+e(c,l,o),+t(c,l,o));if(u)return a=null,u+""||null}return e="function"==typeof e?e:void 0===e?iZ:iA(e),t="function"==typeof t?t:void 0===t?iJ:iA(t),o.x=function(t){return arguments.length?(e="function"==typeof t?t:iA(+t),o):e},o.y=function(e){return arguments.length?(t="function"==typeof e?e:iA(+e),o):t},o.defined=function(e){return arguments.length?(n="function"==typeof e?e:iA(!!e),o):n},o.curve=function(e){return arguments.length?(i=e,null!=r&&(a=i(r)),o):i},o.context=function(e){return arguments.length?(null==e?r=a=null:a=i(r=e),o):r},o}function i1(e,t){return t<e?-1:t>e?1:t>=e?0:0/0}function i2(e){return e}function i3(){var e=i2,t=i1,n=null,r=iA(0),i=iA(iL),a=iA(0);function s(s){var o,l,c,u,h,p=(s=iV(s)).length,d=0,f=Array(p),m=Array(p),g=+r.apply(this,arguments),y=Math.min(iL,Math.max(-iL,i.apply(this,arguments)-g)),b=Math.min(Math.abs(y)/p,a.apply(this,arguments)),_=b*(y<0?-1:1);for(o=0;o<p;++o)(h=m[f[o]=o]=+e(s[o],o,s))>0&&(d+=h);for(null!=t?f.sort(function(e,n){return t(m[e],m[n])}):null!=n&&f.sort(function(e,t){return n(s[e],s[t])}),o=0,c=d?(y-p*_)/d:0;o<p;++o,g=u)u=g+((h=m[l=f[o]])>0?h*c:0)+_,m[l]={data:s[l],index:o,value:h,startAngle:g,endAngle:u,padAngle:b};return m}return s.value=function(t){return arguments.length?(e="function"==typeof t?t:iA(+t),s):e},s.sortValues=function(e){return arguments.length?(t=e,n=null,s):t},s.sort=function(e){return arguments.length?(n=e,t=null,s):n},s.startAngle=function(e){return arguments.length?(r="function"==typeof e?e:iA(+e),s):r},s.endAngle=function(e){return arguments.length?(i="function"==typeof e?e:iA(+e),s):i},s.padAngle=function(e){return arguments.length?(a="function"==typeof e?e:iA(+e),s):a},s}function i5(){}function i9(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function i6(e){this._context=e}function i4(e){return new i6(e)}function i8(e){this._context=e}function i7(e){return new i8(e)}function ae(e){this._context=e}function at(e){return new ae(e)}iU.prototype,Array.prototype.slice,iX.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},i6.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._y0=this._y1=0/0,this._point=0},lineEnd:function(){switch(this._point){case 3:i9(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:i9(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},i8.prototype={areaStart:i5,areaEnd:i5,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=0/0,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:i9(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ae.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._y0=this._y1=0/0,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:i9(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}};class an{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=0/0}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}function ar(e){return new an(e,!0)}function ai(e){return new an(e,!1)}function aa(e,t){this._basis=new i6(e),this._beta=t}aa.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var e=this._x,t=this._y,n=e.length-1;if(n>0)for(var r,i=e[0],a=t[0],s=e[n]-i,o=t[n]-a,l=-1;++l<=n;)r=l/n,this._basis.point(this._beta*e[l]+(1-this._beta)*(i+r*s),this._beta*t[l]+(1-this._beta)*(a+r*o));this._x=this._y=null,this._basis.lineEnd()},point:function(e,t){this._x.push(+e),this._y.push(+t)}};let as=function e(t){function n(e){return 1===t?new i6(e):new aa(e,t)}return n.beta=function(t){return e(+t)},n}(.85);function ao(e,t,n){e._context.bezierCurveTo(e._x1+e._k*(e._x2-e._x0),e._y1+e._k*(e._y2-e._y0),e._x2+e._k*(e._x1-t),e._y2+e._k*(e._y1-n),e._x2,e._y2)}function al(e,t){this._context=e,this._k=(1-t)/6}al.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=0/0,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:ao(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2,this._x1=e,this._y1=t;break;case 2:this._point=3;default:ao(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ac=function e(t){function n(e){return new al(e,t)}return n.tension=function(t){return e(+t)},n}(0);function au(e,t){this._context=e,this._k=(1-t)/6}au.prototype={areaStart:i5,areaEnd:i5,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=0/0,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:ao(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ah=function e(t){function n(e){return new au(e,t)}return n.tension=function(t){return e(+t)},n}(0);function ap(e,t){this._context=e,this._k=(1-t)/6}ap.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=0/0,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:ao(this,e,t)}this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ad=function e(t){function n(e){return new ap(e,t)}return n.tension=function(t){return e(+t)},n}(0);function af(e,t,n){var r=e._x1,i=e._y1,a=e._x2,s=e._y2;if(e._l01_a>1e-12){var o=2*e._l01_2a+3*e._l01_a*e._l12_a+e._l12_2a,l=3*e._l01_a*(e._l01_a+e._l12_a);r=(r*o-e._x0*e._l12_2a+e._x2*e._l01_2a)/l,i=(i*o-e._y0*e._l12_2a+e._y2*e._l01_2a)/l}if(e._l23_a>1e-12){var c=2*e._l23_2a+3*e._l23_a*e._l12_a+e._l12_2a,u=3*e._l23_a*(e._l23_a+e._l12_a);a=(a*c+e._x1*e._l23_2a-t*e._l12_2a)/u,s=(s*c+e._y1*e._l23_2a-n*e._l12_2a)/u}e._context.bezierCurveTo(r,i,a,s,e._x2,e._y2)}function am(e,t){this._context=e,this._alpha=t}am.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=0/0,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3;default:af(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ag=function e(t){function n(e){return t?new am(e,t):new al(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function ay(e,t){this._context=e,this._alpha=t}ay.prototype={areaStart:i5,areaEnd:i5,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=0/0,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=e,this._y3=t;break;case 1:this._point=2,this._context.moveTo(this._x4=e,this._y4=t);break;case 2:this._point=3,this._x5=e,this._y5=t;break;default:af(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ab=function e(t){function n(e){return t?new ay(e,t):new au(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function a_(e,t){this._context=e,this._alpha=t}a_.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=0/0,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){if(e*=1,t*=1,this._point){var n=this._x2-e,r=this._y2-t;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+r*r,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:af(this,e,t)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=e,this._y0=this._y1,this._y1=this._y2,this._y2=t}};let ak=function e(t){function n(e){return t?new a_(e,t):new ap(e,0)}return n.alpha=function(t){return e(+t)},n}(.5);function aE(e){this._context=e}function aT(e){return new aE(e)}function ax(e,t,n){var r=e._x1-e._x0,i=t-e._x1,a=(e._y1-e._y0)/(r||i<0&&-0),s=(n-e._y1)/(i||r<0&&-0);return((a<0?-1:1)+(s<0?-1:1))*Math.min(Math.abs(a),Math.abs(s),.5*Math.abs((a*i+s*r)/(r+i)))||0}function aA(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function aw(e,t,n){var r=e._x0,i=e._y0,a=e._x1,s=e._y1,o=(a-r)/3;e._context.bezierCurveTo(r+o,i+o*t,a-o,s-o*n,a,s)}function av(e){this._context=e}function aS(e){this._context=new aC(e)}function aC(e){this._context=e}function aN(e){return new av(e)}function aI(e){return new aS(e)}function aD(e){this._context=e}function aO(e){var t,n,r=e.length-1,i=Array(r),a=Array(r),s=Array(r);for(i[0]=0,a[0]=2,s[0]=e[0]+2*e[1],t=1;t<r-1;++t)i[t]=1,a[t]=4,s[t]=4*e[t]+2*e[t+1];for(i[r-1]=2,a[r-1]=7,s[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=i[t]/a[t-1],a[t]-=n,s[t]-=n*s[t-1];for(i[r-1]=s[r-1]/a[r-1],t=r-2;t>=0;--t)i[t]=(s[t]-i[t+1])/a[t];for(a[r-1]=(e[r]+i[r-1])/2,t=0;t<r-1;++t)a[t]=2*e[t+1]-i[t+1];return[i,a]}function aM(e){return new aD(e)}function aL(e,t){this._context=e,this._t=t}function aR(e){return new aL(e,.5)}function aP(e){return new aL(e,0)}function aF(e){return new aL(e,1)}function aB(e,t,n){this.k=e,this.x=t,this.y=n}aE.prototype={areaStart:i5,areaEnd:i5,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e*=1,t*=1,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},av.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=0/0,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:aw(this,this._t0,aA(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=0/0;if(t*=1,(e*=1)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,aw(this,aA(this,n=ax(this,e,t)),n);break;default:aw(this,this._t0,n=ax(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(aS.prototype=Object.create(av.prototype)).point=function(e,t){av.prototype.point.call(this,t,e)},aC.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,i,a){this._context.bezierCurveTo(t,e,r,n,a,i)}},aD.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=aO(e),i=aO(t),a=0,s=1;s<n;++a,++s)this._context.bezierCurveTo(r[0][a],i[0][a],r[1][a],i[1][a],e[s],t[s]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},aL.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=0/0},lineStart:function(){this._x=this._y=0/0,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e*=1,t*=1,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}},aB.prototype={constructor:aB,scale:function(e){return 1===e?this:new aB(this.k*e,this.x,this.y)},translate:function(e,t){return 0===e&0===t?this:new aB(this.k,this.x+this.k*e,this.y+this.k*t)},apply:function(e){return[e[0]*this.k+this.x,e[1]*this.k+this.y]},applyX:function(e){return e*this.k+this.x},applyY:function(e){return e*this.k+this.y},invert:function(e){return[(e[0]-this.x)/this.k,(e[1]-this.y)/this.k]},invertX:function(e){return(e-this.x)/this.k},invertY:function(e){return(e-this.y)/this.k},rescaleX:function(e){return e.copy().domain(e.range().map(this.invertX,this).map(e.invert,e))},rescaleY:function(e){return e.copy().domain(e.range().map(this.invertY,this).map(e.invert,e))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}};new aB(1,0,0);aB.prototype},36088:e=>{function t(e){if(!e)return"";if(!/\r/.test(e))return e;for(e=e.replace(/\r+\n/gm,"\n");/\r./.test(e);)e=e.replace(/^([^\r\n]*)\r+([^\r\n]+)/gm,function(e,t,n){return n+t.slice(n.length)});return e}function n(e){if(!/\r/.test(e))return e;for(var t=e.split("\r"),n=[];t.length>0;){var r=function(e){for(var t=0,n=0;n<e.length;n++)e[t].length<=e[n].length&&(t=n);return t}(t);n.push(t[r]),t=t.slice(r+1)}return n.join("\r")}e.exports=t,e.exports.escapeCarriageReturn=t,e.exports.escapeCarriageReturnSafe=function(e){if(!e)return"";if(!/\r/.test(e))return e;if(!/\n/.test(e))return n(e);var r=(e=e.replace(/\r+\n/gm,"\n")).lastIndexOf("\n");return t(e.slice(0,r))+"\n"+n(e.slice(r+1))}},36887:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});let r=/[ \t\n\f\r]/g;function i(e){return"object"==typeof e?"text"===e.type&&a(e.value):a(e)}function a(e){return""===e.replace(r,"")}},38033:(e,t,n)=>{"use strict";n.d(t,{O:()=>s,X:()=>o});var r=n(32563),i=n(97096),a=n(32165),s=(0,a.K2)(({flowchart:e})=>{let t=e?.subGraphTitleMargin?.top??0,n=e?.subGraphTitleMargin?.bottom??0;return{subGraphTitleTopMargin:t,subGraphTitleBottomMargin:n,subGraphTitleTotalMargin:t+n}},"getSubGraphTitleMargins");async function o(e,t){let n=e.getElementsByTagName("img");if(!n||0===n.length)return;let s=""===t.replace(/<img[^>]*>/g,"").trim();await Promise.all([...n].map(e=>new Promise(t=>{function n(){if(e.style.display="flex",e.style.flexDirection="column",s){let t=(0,i.D7)().fontSize?(0,i.D7)().fontSize:window.getComputedStyle(document.body).fontSize,[n=i.UI.fontSize]=(0,r.I5)(t),a=5*n+"px";e.style.minWidth=a,e.style.maxWidth=a}else e.style.width="100%";t(e)}(0,a.K2)(n,"setupImage"),setTimeout(()=>{e.complete&&n()}),e.addEventListener("error",n),e.addEventListener("load",n)})))}(0,a.K2)(o,"configureLabelImages")},38609:(e,t,n)=>{"use strict";n.d(t,{I:()=>c});var r=n(49339),i=n(38635),a=n(68289);let s=/[A-Z]/g,o=/-[a-z]/g,l=/^data[-\w.:]+$/i;function c(e,t){let n=(0,a.S)(t),c=t,p=i.R;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&l.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(o,h);c="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!o.test(e)){let n=e.replace(s,u);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}p=r.E}return new p(c,t)}function u(e){return"-"+e.toLowerCase()}function h(e){return e.charAt(1).toUpperCase()}},38635:(e,t,n)=>{"use strict";n.d(t,{R:()=>r});class r{constructor(e,t){this.attribute=t,this.property=e}}r.prototype.attribute="",r.prototype.booleanish=!1,r.prototype.boolean=!1,r.prototype.commaOrSpaceSeparated=!1,r.prototype.commaSeparated=!1,r.prototype.defined=!1,r.prototype.mustUseProperty=!1,r.prototype.number=!1,r.prototype.overloadedBoolean=!1,r.prototype.property="",r.prototype.spaceSeparated=!1,r.prototype.space=void 0},39326:e=>{"use strict";var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===n.call(e)},s=function(e){if(!e||"[object Object]"!==n.call(e))return!1;var r,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(r in e);return void 0===r||t.call(e,r)},o=function(e,t){r&&"__proto__"===t.name?r(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,n){if("__proto__"===n){if(!t.call(e,n))return;else if(i)return i(e,n).value}return e[n]};e.exports=function e(){var t,n,r,i,c,u,h=arguments[0],p=1,d=arguments.length,f=!1;for("boolean"==typeof h&&(f=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p<d;++p)if(t=arguments[p],null!=t)for(n in t)r=l(h,n),h!==(i=l(t,n))&&(f&&i&&(s(i)||(c=a(i)))?(c?(c=!1,u=r&&a(r)?r:[]):u=r&&s(r)?r:{},o(h,{name:n,newValue:e(f,u,i)})):void 0!==i&&o(h,{name:n,newValue:i}));return h}},41161:(e,t,n)=>{"use strict";function r(e,t,n,r){let i,a=e.length,s=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)(i=Array.from(r)).unshift(t,n),e.splice(...i);else for(n&&e.splice(t,n);s<r.length;)(i=r.slice(s,s+1e4)).unshift(t,0),e.splice(...i),s+=1e4,t+=1e4}function i(e,t){return e.length>0?(r(e,e.length,0,t),e):t}n.d(t,{V:()=>i,m:()=>r})},42112:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});let r={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:e=>e>=255?255:e<0?0:e,g:e=>e>=255?255:e<0?0:e,b:e=>e>=255?255:e<0?0:e,h:e=>e%360,s:e=>e>=100?100:e<0?0:e,l:e=>e>=100?100:e<0?0:e,a:e=>e>=1?1:e<0?0:e},toLinear:e=>{let t=e/255;return e>.03928?Math.pow((t+.055)/1.055,2.4):t/12.92},hue2rgb:(e,t,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6)?e+(t-e)*6*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e,hsl2rgb:({h:e,s:t,l:n},i)=>{if(!t)return 2.55*n;e/=360,t/=100;let a=(n/=100)<.5?n*(1+t):n+t-n*t,s=2*n-a;switch(i){case"r":return 255*r.hue2rgb(s,a,e+1/3);case"g":return 255*r.hue2rgb(s,a,e);case"b":return 255*r.hue2rgb(s,a,e-1/3)}},rgb2hsl:({r:e,g:t,b:n},r)=>{let i=Math.max(e/=255,t/=255,n/=255),a=Math.min(e,t,n),s=(i+a)/2;if("l"===r)return 100*s;if(i===a)return 0;let o=i-a;if("s"===r)return 100*(s>.5?o/(2-i-a):o/(i+a));switch(i){case e:return((t-n)/o+6*(t<n))*60;case t:return((n-e)/o+2)*60;case n:return((e-t)/o+4)*60;default:return -1}}},i={channel:r,lang:{clamp:(e,t,n)=>t>n?Math.min(t,Math.max(n,e)):Math.min(n,Math.max(t,e)),round:e=>Math.round(1e10*e)/1e10},unit:{dec2hex:e=>{let t=Math.round(e).toString(16);return t.length>1?t:`0${t}`}}}},43328:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>nO});var r=n(21354),i=n(14759),a=n(3628);n(72475),n(85774),n(63886),n(38033),n(17541);var s=n(88774),o=n(32563),l=n(97096),c=n(32165),u=n(90676),h=n(33948),p="comm",d="rule",f="decl",m="@keyframes",g="@layer",y=Math.abs,b=String.fromCharCode;function _(e,t,n){return e.replace(t,n)}function k(e,t){return 0|e.charCodeAt(t)}function E(e,t,n){return e.slice(t,n)}function T(e){return e.length}function x(e,t){return t.push(e),e}function A(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function w(e,t,n,r){switch(e.type){case g:if(e.children.length)break;case"@import":case"@namespace":case f:return e.return=e.return||e.value;case p:return"";case m:return e.return=e.value+"{"+A(e.children,r)+"}";case d:if(!T(e.value=e.props.join(",")))return""}return T(n=A(e.children,r))?e.return=e.value+"{"+n+"}":""}var v=1,S=1,C=0,N=0,I=0,D="";function O(e,t,n,r,i,a,s,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:v,column:S,length:s,return:"",siblings:o}}function M(){return I=N<C?k(D,N++):0,S++,10===I&&(S=1,v++),I}function L(){return k(D,N)}function R(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function P(e){var t,n;return(t=N-1,n=function e(t){for(;M();)switch(I){case t:return N;case 34:case 39:34!==t&&39!==t&&e(I);break;case 40:41===t&&e(t);break;case 92:M()}return N}(91===e?e+2:40===e?e+1:e),E(D,t,n)).trim()}function F(e,t,n,r,i,a,s,o,l,c,u,h){for(var p=i-1,f=0===i?a:[""],m=f.length,g=0,b=0,k=0;g<r;++g)for(var T=0,x=E(e,p+1,p=y(b=s[g])),A=e;T<m;++T)(A=(b>0?f[T]+" "+x:_(x,/&\f/g,f[T])).trim())&&(l[k++]=A);return O(e,t,n,0===i?d:o,l,c,u,h)}function B(e,t,n,r,i){return O(e,t,n,f,E(e,0,r),E(e,r+1,-1),r,i)}var H=n(91992),U=n(87789),j=n(9101),$=n(32174),z=n(95683);function G(e){if(null==e)return!0;if((0,j.X)(e))return("function"==typeof e.splice||"string"==typeof e||!!(0,U.P)(e)||!!(0,z.i)(e)||!!(0,$.N)(e))&&0===e.length;if("object"==typeof e||"function"==typeof e){let t;if(e instanceof Map||e instanceof Set)return 0===e.size;let n=Object.keys(e);return(t=e?.constructor,e===("function"==typeof t?t.prototype:Object.prototype))?0===n.filter(e=>"constructor"!==e).length:0===n.length}return!0}var K={id:"c4",detector:(0,c.K2)(e=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(e),"detector"),loader:(0,c.K2)(async()=>{let{diagram:e}=await n.e(3837).then(n.bind(n,83837));return{id:"c4",diagram:e}},"loader")},Y="flowchart",q=(0,c.K2)((e,t)=>t?.flowchart?.defaultRenderer!=="dagre-wrapper"&&t?.flowchart?.defaultRenderer!=="elk"&&/^\s*graph/.test(e),"detector"),W=(0,c.K2)(async()=>{let{diagram:e}=await n.e(2419).then(n.bind(n,82419));return{id:Y,diagram:e}},"loader"),V={id:Y,detector:q,loader:W},X="flowchart-v2",Q=(0,c.K2)((e,t)=>t?.flowchart?.defaultRenderer!=="dagre-d3"&&(t?.flowchart?.defaultRenderer==="elk"&&(t.layout="elk"),!!/^\s*graph/.test(e)&&t?.flowchart?.defaultRenderer==="dagre-wrapper"||/^\s*flowchart/.test(e)),"detector"),Z=(0,c.K2)(async()=>{let{diagram:e}=await n.e(2419).then(n.bind(n,82419));return{id:X,diagram:e}},"loader"),J={id:X,detector:Q,loader:Z},ee={id:"er",detector:(0,c.K2)(e=>/^\s*erDiagram/.test(e),"detector"),loader:(0,c.K2)(async()=>{let{diagram:e}=await n.e(3325).then(n.bind(n,23325));return{id:"er",diagram:e}},"loader")},et="gitGraph",en=(0,c.K2)(e=>/^\s*gitGraph/.test(e),"detector"),er=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(7959)]).then(n.bind(n,77959));return{id:et,diagram:e}},"loader"),ei={id:et,detector:en,loader:er},ea="gantt",es=(0,c.K2)(e=>/^\s*gantt/.test(e),"detector"),eo=(0,c.K2)(async()=>{let{diagram:e}=await n.e(2623).then(n.bind(n,52623));return{id:ea,diagram:e}},"loader"),el={id:ea,detector:es,loader:eo},ec="info",eu=(0,c.K2)(e=>/^\s*info/.test(e),"detector"),eh=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(498)]).then(n.bind(n,70498));return{id:ec,diagram:e}},"loader"),ep={id:ec,detector:eu,loader:eh},ed={id:"pie",detector:(0,c.K2)(e=>/^\s*pie/.test(e),"detector"),loader:(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(83)]).then(n.bind(n,70083));return{id:"pie",diagram:e}},"loader")},ef="quadrantChart",em=(0,c.K2)(e=>/^\s*quadrantChart/.test(e),"detector"),eg=(0,c.K2)(async()=>{let{diagram:e}=await n.e(6922).then(n.bind(n,36922));return{id:ef,diagram:e}},"loader"),ey={id:ef,detector:em,loader:eg},eb="xychart",e_=(0,c.K2)(e=>/^\s*xychart(-beta)?/.test(e),"detector"),ek=(0,c.K2)(async()=>{let{diagram:e}=await n.e(8013).then(n.bind(n,20394));return{id:eb,diagram:e}},"loader"),eE={id:eb,detector:e_,loader:ek},eT="requirement",ex=(0,c.K2)(e=>/^\s*requirement(Diagram)?/.test(e),"detector"),eA=(0,c.K2)(async()=>{let{diagram:e}=await n.e(3079).then(n.bind(n,73079));return{id:eT,diagram:e}},"loader"),ew={id:eT,detector:ex,loader:eA},ev="sequence",eS=(0,c.K2)(e=>/^\s*sequenceDiagram/.test(e),"detector"),eC=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(4954),n.e(7198)]).then(n.bind(n,36346));return{id:ev,diagram:e}},"loader"),eN={id:ev,detector:eS,loader:eC},eI="class",eD=(0,c.K2)((e,t)=>t?.class?.defaultRenderer!=="dagre-wrapper"&&/^\s*classDiagram/.test(e),"detector"),eO=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(5567),n.e(5074)]).then(n.bind(n,85074));return{id:eI,diagram:e}},"loader"),eM={id:eI,detector:eD,loader:eO},eL="classDiagram",eR=(0,c.K2)((e,t)=>!!/^\s*classDiagram/.test(e)&&t?.class?.defaultRenderer==="dagre-wrapper"||/^\s*classDiagram-v2/.test(e),"detector"),eP=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(5567),n.e(5034)]).then(n.bind(n,75034));return{id:eL,diagram:e}},"loader"),eF={id:eL,detector:eR,loader:eP},eB="state",eH=(0,c.K2)((e,t)=>t?.state?.defaultRenderer!=="dagre-wrapper"&&/^\s*stateDiagram/.test(e),"detector"),eU=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(2821),n.e(6121),n.e(5749),n.e(3997)]).then(n.bind(n,53997));return{id:eB,diagram:e}},"loader"),ej={id:eB,detector:eH,loader:eU},e$="stateDiagram",ez=(0,c.K2)((e,t)=>!!(/^\s*stateDiagram-v2/.test(e)||/^\s*stateDiagram/.test(e)&&t?.state?.defaultRenderer==="dagre-wrapper"),"detector"),eG=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(5749),n.e(7343)]).then(n.bind(n,27343));return{id:e$,diagram:e}},"loader"),eK={id:e$,detector:ez,loader:eG},eY="journey",eq=(0,c.K2)(e=>/^\s*journey/.test(e),"detector"),eW=(0,c.K2)(async()=>{let{diagram:e}=await n.e(3274).then(n.bind(n,43274));return{id:eY,diagram:e}},"loader"),eV={id:eY,detector:eq,loader:eW},eX={draw:(0,c.K2)((e,t,n)=>{c.Rm.debug("rendering svg for syntax error\n");let i=(0,r.D)(t),a=i.append("g");i.attr("viewBox","0 0 2412 512"),(0,l.a$)(i,100,512,!0),a.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),a.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),a.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),a.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),a.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),a.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),a.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),a.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${n}`)},"draw")},eQ={db:{},renderer:eX,parser:{parse:(0,c.K2)(()=>{},"parse")}},eZ="flowchart-elk",eJ=(0,c.K2)((e,t={})=>!!(/^\s*flowchart-elk/.test(e)||/^\s*(flowchart|graph)/.test(e)&&t?.flowchart?.defaultRenderer==="elk")&&(t.layout="elk",!0),"detector"),e0=(0,c.K2)(async()=>{let{diagram:e}=await n.e(2419).then(n.bind(n,82419));return{id:eZ,diagram:e}},"loader"),e1={id:eZ,detector:eJ,loader:e0},e2="timeline",e3=(0,c.K2)(e=>/^\s*timeline/.test(e),"detector"),e5=(0,c.K2)(async()=>{let{diagram:e}=await n.e(1413).then(n.bind(n,21413));return{id:e2,diagram:e}},"loader"),e9={id:e2,detector:e3,loader:e5},e6="mindmap",e4=(0,c.K2)(e=>/^\s*mindmap/.test(e),"detector"),e8=(0,c.K2)(async()=>{let{diagram:e}=await n.e(3506).then(n.bind(n,3506));return{id:e6,diagram:e}},"loader"),e7={id:e6,detector:e4,loader:e8},te="kanban",tt=(0,c.K2)(e=>/^\s*kanban/.test(e),"detector"),tn=(0,c.K2)(async()=>{let{diagram:e}=await n.e(7547).then(n.bind(n,67547));return{id:te,diagram:e}},"loader"),tr={id:te,detector:tt,loader:tn},ti="sankey",ta=(0,c.K2)(e=>/^\s*sankey(-beta)?/.test(e),"detector"),ts=(0,c.K2)(async()=>{let{diagram:e}=await n.e(2729).then(n.bind(n,22729));return{id:ti,diagram:e}},"loader"),to={id:ti,detector:ta,loader:ts},tl="packet",tc=(0,c.K2)(e=>/^\s*packet(-beta)?/.test(e),"detector"),tu=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(4491)]).then(n.bind(n,14491));return{id:tl,diagram:e}},"loader"),th={id:tl,detector:tc,loader:tu},tp="radar",td=(0,c.K2)(e=>/^\s*radar-beta/.test(e),"detector"),tf=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(7006)]).then(n.bind(n,77006));return{id:tp,diagram:e}},"loader"),tm={id:tp,detector:td,loader:tf},tg="block",ty=(0,c.K2)(e=>/^\s*block(-beta)?/.test(e),"detector"),tb=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(2821),n.e(6696)]).then(n.bind(n,26696));return{id:tg,diagram:e}},"loader"),t_={id:tg,detector:ty,loader:tb},tk="treeView",tE=(0,c.K2)(e=>/^\s*treeView-beta/.test(e),"detector"),tT=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(532)]).then(n.bind(n,90532));return{id:tk,diagram:e}},"loader"),tx={id:tk,detector:tE,loader:tT},tA="architecture",tw=(0,c.K2)(e=>/^\s*architecture/.test(e),"detector"),tv=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8747),n.e(8863),n.e(8489)]).then(n.bind(n,18489));return{id:tA,diagram:e}},"loader"),tS={id:tA,detector:tw,loader:tv},tC="eventmodeling",tN=(0,c.K2)(e=>/^\s*eventmodeling/.test(e),"detector"),tI=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(7648)]).then(n.bind(n,77648));return{id:tC,diagram:e}},"loader"),tD={id:tC,detector:tN,loader:tI},tO="ishikawa",tM=(0,c.K2)(e=>/^\s*ishikawa(-beta)?\b/i.test(e),"detector"),tL=(0,c.K2)(async()=>{let{diagram:e}=await n.e(5403).then(n.bind(n,25403));return{id:tO,diagram:e}},"loader"),tR={id:tO,detector:tM,loader:tL},tP="venn",tF=(0,c.K2)(e=>/^\s*venn-beta/.test(e),"detector"),tB=(0,c.K2)(async()=>{let{diagram:e}=await n.e(2947).then(n.bind(n,22947));return{id:tP,diagram:e}},"loader"),tH={id:tP,detector:tF,loader:tB},tU="treemap",tj=(0,c.K2)(e=>/^\s*treemap/.test(e),"detector"),t$=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(1643)]).then(n.bind(n,91643));return{id:tU,diagram:e}},"loader"),tz={id:tU,detector:tj,loader:t$},tG="wardley-beta",tK=(0,c.K2)(e=>/^\s*wardley-beta/i.test(e),"detector"),tY=(0,c.K2)(async()=>{let{diagram:e}=await Promise.all([n.e(8184),n.e(8863),n.e(547)]).then(n.bind(n,40547));return{id:tG,diagram:e}},"loader"),tq={id:tG,detector:tK,loader:tY},tW=!1,tV=(0,c.K2)(()=>{tW||(tW=!0,(0,l.Js)("error",eQ,e=>"error"===e.toLowerCase().trim()),(0,l.Js)("---",{db:{clear:(0,c.K2)(()=>{},"clear")},styles:{},renderer:{draw:(0,c.K2)(()=>{},"draw")},parser:{parse:(0,c.K2)(()=>{throw Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")},"parse")},init:(0,c.K2)(()=>null,"init")},e=>e.toLowerCase().trimStart().startsWith("---")),(0,l.Xd)(e1,e7,tS),(0,l.Xd)(K,tr,eF,eM,ee,el,ep,ed,ew,eN,J,V,e9,ei,eK,ej,eV,ey,to,th,eE,t_,tD,tx,tm,tR,tz,tH,tq))},"addDiagrams"),tX=(0,c.K2)(async()=>{c.Rm.debug("Loading registered diagrams");let e=(await Promise.allSettled(Object.entries(l.mW).map(async([e,{detector:t,loader:n}])=>{if(n)try{(0,l.Gs)(e)}catch{try{let{diagram:e,id:r}=await n();(0,l.Js)(r,e,t)}catch(t){throw c.Rm.error(`Failed to load external diagram with key ${e}. Removing from detectors.`),delete l.mW[e],t}}}))).filter(e=>"rejected"===e.status);if(e.length>0){for(let t of(c.Rm.error(`Failed to load ${e.length} external diagrams`),e))c.Rm.error(t);throw Error(`Failed to load ${e.length} external diagrams`)}},"loadRegisteredDiagrams");function tQ(e,t){e.attr("role","graphics-document document"),""!==t&&e.attr("aria-roledescription",t)}function tZ(e,t,n,r){if(void 0!==e.insert){if(n){let t=`chart-desc-${r}`;e.attr("aria-describedby",t),e.insert("desc",":first-child").attr("id",t).text(n)}if(t){let n=`chart-title-${r}`;e.attr("aria-labelledby",n),e.insert("title",":first-child").attr("id",n).text(t)}}}(0,c.K2)(tQ,"setA11yDiagramInfo"),(0,c.K2)(tZ,"addSVGa11yTitleDescription");var tJ=class e{constructor(e,t,n,r,i){this.type=e,this.text=t,this.db=n,this.parser=r,this.renderer=i}static{(0,c.K2)(this,"Diagram")}static async fromText(t,n={}){let r=(0,l.zj)(),i=(0,l.Ch)(t,r);t=(0,o.C4)(t)+"\n";try{(0,l.Gs)(i)}catch{let e=(0,l.J$)(i);if(!e)throw new l.C0(`Diagram ${i} not found.`);let{id:t,diagram:n}=await e();(0,l.Js)(t,n)}let{db:a,parser:s,renderer:c,init:u}=(0,l.Gs)(i);return s.parser&&(s.parser.yy=a),a.clear?.(),u?.(r),n.title&&a.setDiagramTitle?.(n.title),await s.parse(t),new e(i,t,a,s,c)}async render(e,t){await this.renderer.draw(this.text,e,t,this)}getParser(){return this.parser}getType(){return this.type}},t0=[],t1=(0,c.K2)(()=>{t0.forEach(e=>{e()}),t0=[]},"attachFunctions"),t2=(0,c.K2)(e=>e.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart(),"cleanupComments");function t3(e){let t=e.match(l.EJ);if(!t)return{text:e,metadata:{}};let n=(0,i.H)(t[1],{schema:i.r})??{};n="object"!=typeof n||Array.isArray(n)?{}:n;let r={};return n.displayMode&&(r.displayMode=n.displayMode.toString()),n.title&&(r.title=n.title.toString()),n.config&&(r.config=n.config),{text:e.slice(t[0].length),metadata:r}}(0,c.K2)(t3,"extractFrontMatter");var t5=(0,c.K2)(e=>e.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,(e,t,n)=>"<"+t+n.replace(/="([^"]*)"/g,"='$1'")+">"),"cleanupText"),t9=(0,c.K2)(e=>{let{text:t,metadata:n}=t3(e),{displayMode:r,title:i,config:a={}}=n;return r&&(a.gantt||(a.gantt={}),a.gantt.displayMode=r),{title:i,config:a,text:t}},"processFrontmatter"),t6=(0,c.K2)(e=>{let t=o._K.detectInit(e)??{},n=o._K.detectDirective(e,"wrap");return Array.isArray(n)?t.wrap=n.some(({type:e})=>"wrap"===e):n?.type==="wrap"&&(t.wrap=!0),{text:(0,o.vU)(e),directive:t}},"processDirectives");function t4(e){let t=t9(t5(e)),n=t6(t.text),r=(0,o.$t)(t.config,n.directive);return{code:e=t2(n.text),title:t.title,config:r}}function t8(e){return btoa(Array.from(new TextEncoder().encode(e),e=>String.fromCodePoint(e)).join(""))}(0,c.K2)(t4,"preprocessDiagram"),(0,c.K2)(t8,"toBase64");var t7=["foreignobject"],ne=["dominant-baseline"];function nt(e){let t=t4(e);return(0,l.cL)(),(0,l.xA)(t.config??{}),t}async function nn(e,t){tV();try{let{code:t,config:n}=nt(e);return{diagramType:(await nf(t)).type,config:n}}catch(e){if(t?.suppressErrors)return!1;throw e}}(0,c.K2)(nt,"processAndSetConfigs"),(0,c.K2)(nn,"parse");var nr=(0,c.K2)((e,t,n=[])=>{let r=(0,l.Df)(`{ ${n.join(" !important; ")} !important; }`);return`.${e} ${t} ${r}`},"cssImportantStyles"),ni=(0,c.K2)((e,t=new Map)=>{let n=new CSSStyleSheet;if(void 0!==e.fontFamily&&n.insertRule(`:root { --mermaid-font-family: ${e.fontFamily}}`,n.cssRules.length),void 0!==e.altFontFamily&&n.insertRule(`:root { --mermaid-alt-font-family: ${e.altFontFamily}}`,n.cssRules.length),t instanceof Map){let r=(0,l.E)(e)?["> *","span"]:["rect","polygon","ellipse","circle","path"];t.forEach(e=>{G(e.styles)||r.forEach(t=>{n.insertRule(nr(e.id,t,e.styles),n.cssRules.length)}),G(e.textStyles)||n.insertRule(nr(e.id,"tspan",(e?.textStyles||[]).map(e=>e.replace("color","fill"))),n.cssRules.length)})}let r="";if(void 0!==e.themeCSS)if("function"==typeof n.replaceSync){let t=new CSSStyleSheet;t.replaceSync(e.themeCSS),r=(0,l.KG)(t)+"\n"}else r+=`${e.themeCSS}
|
|
103
|
+
`;return r+(0,l.KG)(n)},"createCssStyles"),na=(0,c.K2)((e,t)=>{var n,r,i,a,s;return A((i=function e(t,n,r,i,a,s,o,l,c){for(var u,h,d,f,m=0,g=0,y=o,A=0,w=0,C=0,H=1,U=1,j=1,$=0,z=0,G="",K=a,Y=s,q=i,W=G;U;)switch(C=z,z=M()){case 40:108!=C&&58==k(W,y-1)?($++,W+="("):W+=P(z);break;case 41:$--,W+=")";break;case 34:case 39:case 91:W+=P(z);break;case 9:case 10:case 13:case 32:if($>0){W+=b(z);break}W+=function(e){for(;I=L();)if(I<33)M();else break;return R(e)>2||R(I)>3?"":" "}(C);break;case 92:W+=function(e,t){for(var n;--t&&M()&&!(I<48)&&!(I>102)&&(!(I>57)||!(I<65))&&(!(I>70)||!(I<97)););return n=N+(t<6&&32==L()&&32==M()),E(D,e,n)}(N-1,7);continue;case 47:switch(L()){case 42:case 47:x((u=function(e,t){for(;M();)if(e+I===57)break;else if(e+I===84&&47===L())break;return"/*"+E(D,t,N-1)+"*"+b(47===e?e:M())}(M(),N),h=n,d=r,f=c,O(u,h,d,p,b(I),E(u,2,-2),0,f)),c),(5==R(C||1)||5==R(L()||1))&&T(W)&&" "!==E(W,-1,void 0)&&(W+=" ");break;default:W+="/"}break;case 123*H:l[m++]=T(W)*j;case 125*H:case 59:case 0:if($>0&&z){W+=b(z);break}switch(z){case 0:case 125:U=0;case 59+g:-1==j&&(W=_(W,/\f/g,"")),w>0&&(T(W)-y||0===H)&&x(w>32?B(W+";",i,r,y-1,c):B(_(W," ","")+";",i,r,y-2,c),c);break;case 59:W+=";";default:if(x(q=F(W,n,r,m,g,a,l,G,K=[],Y=[],y,s),s),123===z)if(0===g)e(W,n,q,q,K,s,y,l,Y);else{switch(A){case 99:if(110===k(W,3))break;case 108:if(97===k(W,2))break;default:g=0;case 100:case 109:case 115:}g?e(t,q,q,i&&x(F(t,q,q,0,0,a,l,G,a,K=[],y,Y),Y),a,Y,y,l,i?K:Y):e(W,q,q,q,[""],Y,0,l,Y)}}m=g=w=0,H=j=1,G=W="",y=o;break;case 58:y=1+T(W),w=C;default:if(H<1){if(123==z)--H;else if(125==z&&0==H++&&125==(I=N>0?k(D,--N):0,S--,10===I&&(S=1,v--),I))continue}switch(W+=b(z),z*H){case 38:j=g>0?1:(W+="\f",-1);break;case 44:if($>0)break;l[m++]=(T(W)-1)*j,j=1;break;case 64:45===L()&&(W+=P(M())),A=L(),g=y=T(G=W+=function(e){for(;!R(L());)M();return E(D,e,N)}(N)),z++;break;case 45:45===C&&2==T(W)&&(H=0)}}return s}("",null,null,null,[""],(r=n=`${e}{${t}}`,v=S=1,C=T(D=r),N=0,n=[]),0,[0],n),D="",i),(s=(a=[(0,c.K2)(function(t,n,r,i){"rule"===t.type&&Array.isArray(t.props)?t.parent&&t.parent.type===m||(t.props=t.props.map(t=>t.startsWith(e)?t:`${e} ${t}`)):t.type.startsWith("@")&&(["@media","@supports",g,"@scope","@container","@starting-style",m].includes(t.type)||(c.Rm.warn(`Removing unsupported at-rule ${t.type} from CSS`),t.type=p))},"addNamespace"),w]).length,function(e,t,n,r){for(var i="",o=0;o<s;o++)i+=a[o](e,t,n,r)||"";return i}))},"compileCSS"),ns=(0,c.K2)((e,t,n,r)=>{let i=ni(e,n),a=(0,l.tM)(t,i,{...e.themeVariables,theme:e.theme,look:e.look},r);return na(r,a)},"createUserStyles"),no=(0,c.K2)((e="",t,n)=>{let r=e;return n||t||(r=r.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),r=(r=(0,o.Sm)(r)).replace(/<br>/g,"<br/>")},"cleanUpSvgCode"),nl=(0,c.K2)((e="",t)=>{let n=t?.viewBox?.baseVal?.height?t.viewBox.baseVal.height+"px":"100%",r=t8(`<body style="margin:0">${e}</body>`);return`<iframe style="width:100%;height:${n};border:0;margin:0;" src="data:text/html;charset=UTF-8;base64,${r}" sandbox="allow-top-navigation-by-user-activation allow-popups">
|
|
104
|
+
The "iframe" tag is not supported by your browser.
|
|
105
|
+
</iframe>`},"putIntoIFrame"),nc=(0,c.K2)((e,t,n,r,i)=>{let a=e.append("div");a.attr("id",n),r&&a.attr("style",r);let s=a.append("svg").attr("id",t).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return i&&s.attr("xmlns:xlink",i),s.append("g"),e},"appendDivSvgG");function nu(e,t){return e.append("iframe").attr("id",t).attr("style","width: 100%; height: 100%;").attr("sandbox","")}(0,c.K2)(nu,"sandboxedIframe");var nh=(0,c.K2)((e,t,n,r)=>{e.getElementById(t)?.remove(),e.getElementById(n)?.remove(),e.getElementById(r)?.remove()},"removeExistingElements"),np=(0,c.K2)(async function(e,t,n){let r,i;tV();let a=nt(t);t=a.code;let s=(0,l.zj)();c.Rm.debug(s),t.length>(s?.maxTextSize??5e4)&&(t="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");let o=`#${e}`,u="i"+e,p="#"+u,d="d"+e,f="#"+d,m=(0,c.K2)(()=>{let e=y?p:f,t=(0,h.Ltv)(e).node();t&&"remove"in t&&t.remove()},"removeTempElements"),g=(0,h.Ltv)(document.body),y="sandbox"===s.securityLevel,b="loose"===s.securityLevel,_=s.fontFamily;if(void 0!==n){if(n&&(n.innerHTML=""),y){let e=nu((0,h.Ltv)(n),u);(g=(0,h.Ltv)(e.nodes()[0].contentDocument.body)).node().style.margin="0"}else g=(0,h.Ltv)(n);nc(g,e,d,`font-family: ${_}`,"http://www.w3.org/1999/xlink")}else{if(nh(document,e,d,u),y){let e=nu((0,h.Ltv)(document.body),u);(g=(0,h.Ltv)(e.nodes()[0].contentDocument.body)).node().style.margin="0"}else g=(0,h.Ltv)("body");nc(g,e,d)}try{r=await tJ.fromText(t,{title:a.title})}catch(e){if(s.suppressErrorRendering)throw m(),e;r=await tJ.fromText("error"),i=e}let k=g.select(f).node(),E=r.type,T=k.firstChild,x=T.firstChild,A=ns(s,E,r.renderer.getClasses?.(t,r),o),w=document.createElement("style");w.innerHTML=A,T.insertBefore(w,x);try{await r.renderer.draw(t,e,"11.15.0",r)}catch(n){throw s.suppressErrorRendering?m():eX.draw(t,e,"11.15.0"),n}nm(E,g.select(`${f} svg`),r.db.getAccTitle?.(),r.db.getAccDescription?.()),g.select(`[id="${e}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let v=g.select(f).node().innerHTML;if(c.Rm.debug("config.arrowMarkerAbsolute",s.arrowMarkerAbsolute),v=no(v,y,(0,l._3)(s.arrowMarkerAbsolute)),y?v=nl(v,g.select(f+" svg").node()):b||(v=H.A.sanitize(v,{ADD_TAGS:t7,ADD_ATTR:ne,HTML_INTEGRATION_POINTS:{foreignobject:!0}})),t1(),i)throw i;return m(),{diagramType:E,svg:v,bindFunctions:r.db.bindFunctions}},"render");function nd(e={}){let t=(0,l.hH)({},e);t?.fontFamily&&!t.themeVariables?.fontFamily&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),(0,l.wZ)(t),t?.theme&&t.theme in l.H$?t.themeVariables=l.H$[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=l.H$.default.getThemeVariables(t.themeVariables));let n="object"==typeof t?(0,l.UU)(t):(0,l.Q2)();(0,c.He)(n.logLevel),tV()}(0,c.K2)(nd,"initialize");var nf=(0,c.K2)((e,t={})=>{let{code:n}=t4(e);return tJ.fromText(n,t)},"getDiagramFromText");function nm(e,t,n,r){tQ(t,e),tZ(t,n,r,t.attr("id"))}(0,c.K2)(nm,"addA11yInfo");var ng=Object.freeze({render:np,parse:nn,getDiagramFromText:nf,initialize:nd,getConfig:l.zj,setConfig:l.Nk,getSiteConfig:l.Q2,updateSiteConfig:l.B6,reset:(0,c.K2)(()=>{(0,l.cL)()},"reset"),globalReset:(0,c.K2)(()=>{(0,l.cL)(l.sb)},"globalReset"),defaultConfig:l.sb});(0,c.He)((0,l.zj)().logLevel),(0,l.cL)((0,l.zj)());var ny=(0,c.K2)((e,t,n)=>{c.Rm.warn(e),(0,o.dq)(e)?(n&&n(e.str,e.hash),t.push({...e,message:e.str,error:e})):(n&&n(e),e instanceof Error&&t.push({str:e.message,message:e.message,hash:e.name,error:e}))},"handleError"),nb=(0,c.K2)(async function(e={querySelector:".mermaid"}){try{await n_(e)}catch(t){if((0,o.dq)(t)&&c.Rm.error(t.str),nD.parseError&&nD.parseError(t),!e.suppressErrors)throw c.Rm.error("Use the suppressErrors option to suppress these errors"),t}},"run"),n_=(0,c.K2)(async function({postRenderCallback:e,querySelector:t,nodes:n}={querySelector:".mermaid"}){let r,i,a=ng.getConfig();if(c.Rm.debug(`${!e?"No ":""}Callback function found`),n)r=n;else if(t)r=document.querySelectorAll(t);else throw Error("Nodes and querySelector are both undefined");c.Rm.debug(`Found ${r.length} diagrams`),a?.startOnLoad!==void 0&&(c.Rm.debug("Start On Load: "+a?.startOnLoad),ng.updateSiteConfig({startOnLoad:a?.startOnLoad}));let s=new o._K.InitIDGenerator(a.deterministicIds,a.deterministicIDSeed),l=[];for(let t of Array.from(r)){if(c.Rm.info("Rendering diagram: "+t.id),t.getAttribute("data-processed"))continue;t.setAttribute("data-processed","true");let n=`mermaid-${s.next()}`;i=t.innerHTML,i=(0,u.T)(o._K.entityDecode(i)).trim().replace(/<br\s*\/?>/gi,"<br/>");let r=o._K.detectInit(i);r&&c.Rm.debug("Detected early reinit: ",r);try{let{svg:r,bindFunctions:a}=await nN(n,i,t);t.innerHTML=r,e&&await e(n),a&&a(t)}catch(e){ny(e,l,nD.parseError)}}if(l.length>0)throw l[0]},"runThrowsErrors"),nk=(0,c.K2)(function(e){ng.initialize(e)},"initialize"),nE=(0,c.K2)(async function(e,t,n){c.Rm.warn("mermaid.init is deprecated. Please use run instead."),e&&nk(e);let r={postRenderCallback:n,querySelector:".mermaid"};"string"==typeof t?r.querySelector=t:t&&(t instanceof HTMLElement?r.nodes=[t]:r.nodes=t),await nb(r)},"init"),nT=(0,c.K2)(async(e,{lazyLoad:t=!0}={})=>{tV(),(0,l.Xd)(...e),!1===t&&await tX()},"registerExternalDiagrams"),nx=(0,c.K2)(function(){if(nD.startOnLoad){let{startOnLoad:e}=ng.getConfig();e&&nD.run().catch(e=>c.Rm.error("Mermaid failed to initialize",e))}},"contentLoaded");"u">typeof document&&window.addEventListener("load",nx,!1);var nA=(0,c.K2)(function(e){nD.parseError=e},"setParseErrorHandler"),nw=[],nv=!1,nS=(0,c.K2)(async()=>{if(!nv){for(nv=!0;nw.length>0;){let e=nw.shift();if(e)try{await e()}catch(e){c.Rm.error("Error executing queue",e)}}nv=!1}},"executeQueue"),nC=(0,c.K2)(async(e,t)=>new Promise((n,r)=>{let i=(0,c.K2)(()=>new Promise((i,a)=>{ng.parse(e,t).then(e=>{i(e),n(e)},e=>{c.Rm.error("Error parsing",e),nD.parseError?.(e),a(e),r(e)})}),"performCall");nw.push(i),nS().catch(r)}),"parse"),nN=(0,c.K2)((e,t,n)=>new Promise((r,i)=>{let a=(0,c.K2)(()=>new Promise((a,s)=>{ng.render(e,t,n).then(e=>{a(e),r(e)},e=>{c.Rm.error("Error parsing",e),nD.parseError?.(e),s(e),i(e)})}),"performCall");nw.push(a),nS().catch(i)}),"render"),nI=(0,c.K2)(()=>Object.keys(l.mW).map(e=>({id:e})),"getRegisteredDiagramsMetadata"),nD={startOnLoad:!0,mermaidAPI:ng,parse:nC,render:nN,init:nE,run:nb,registerExternalDiagrams:nT,registerLayoutLoaders:a.sO,initialize:nk,parseError:void 0,contentLoaded:nx,setParseErrorHandler:nA,detectType:l.Ch,registerIconPacks:s.pC,getRegisteredDiagramsMetadata:nI},nO=nD},44673:e=>{e.exports=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/},48006:(e,t,n)=>{"use strict";n.d(t,{d:()=>i});let r={};function i(e,t){let n=t||r;return a(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)}function a(e,t,n){var r;if((r=e)&&"object"==typeof r){if("value"in e)return"html"!==e.type||n?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return s(e.children,t,n)}return Array.isArray(e)?s(e,t,n):""}function s(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=a(e[i],t,n);return r.join("")}},48250:(e,t,n)=>{"use strict";n.d(t,{YR:()=>i});var r=n(20768);function i(e,t,n,i){let a,s,o;"function"==typeof t&&"function"!=typeof n?(s=void 0,o=t,a=n):(s=t,o=n,a=i),(0,r.VG)(e,s,function(e,t){let n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return o(e,r,n)},a)}},49339:(e,t,n)=>{"use strict";n.d(t,{E:()=>s});var r=n(38635),i=n(4800);let a=Object.keys(i);class s extends r.R{constructor(e,t,n,r){var s,o,l,c,u;let h=-1;if(super(e,t),s=this,(o=r)&&(s.space=o),"number"==typeof n)for(;++h<a.length;){let e=a[h];l=this,c=a[h],(u=(n&i[e])===i[e])&&(l[c]=u)}}}s.prototype.defined=!0},49359:(e,t,n)=>{"use strict";function r(e,t,n){let r=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}n.d(t,{W:()=>r})},49884:(e,t,n)=>{"use strict";function r(e,t){let n=String(e);if("string"!=typeof t)throw TypeError("Expected character");let r=0,i=n.indexOf(t);for(;-1!==i;)r++,i=n.indexOf(t,i+t.length);return r}n.d(t,{D:()=>r})},50055:(e,t,n)=>{"use strict";n.d(t,{B:()=>a});var r=n(62835),i=n(4294);let a={partial:!0,tokenize:function(e,t,n){return function(t){return(0,i.On)(t)?(0,r.N)(e,a,"linePrefix")(t):a(t)};function a(e){return null===e||(0,i.HP)(e)?t(e):n(e)}}}},50643:(e,t,n)=>{"use strict";n.d(t,{jH:()=>r.C});var r=n(12503)},50783:(e,t,n)=>{"use strict";n.d(t,{y:()=>a});var r=n(41161);let i={}.hasOwnProperty;function a(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let a,s=(i.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];if(o)for(a in o){i.call(s,a)||(s[a]=[]);let e=o[a];!function(e,t){let n=-1,i=[];for(;++n<t.length;)("after"===t[n].add?e:i).push(t[n]);(0,r.m)(e,0,0,i)}(s[a],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}},51640:(e,t,n)=>{"use strict";n.d(t,{b:()=>r});let r=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"]},51705:(e,t,n)=>{"use strict";function r(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function i(e){return e.join(" ").trim()}n.d(t,{A:()=>i,q:()=>r})},52326:(e,t,n)=>{"use strict";n.d(t,{A:()=>u});var r=n(68448),i=n(64720);let a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:e=>{if(35!==e.charCodeAt(0))return;let t=e.match(a.re);if(!t)return;let n=t[1],i=parseInt(n,16),s=n.length,o=s%4==0,l=s>4,c=l?1:17,u=l?8:4,h=o?0:-1,p=l?255:15;return r.A.set({r:(i>>u*(h+3)&p)*c,g:(i>>u*(h+2)&p)*c,b:(i>>u*(h+1)&p)*c,a:o?(i&p)*c/255:1},e)},stringify:e=>{let{r:t,g:n,b:r,a}=e;return a<1?`#${i.Y[Math.round(t)]}${i.Y[Math.round(n)]}${i.Y[Math.round(r)]}${i.Y[Math.round(255*a)]}`:`#${i.Y[Math.round(t)]}${i.Y[Math.round(n)]}${i.Y[Math.round(r)]}`}};var s=n(42112);let o={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:e=>{let t=e.match(o.hueRe);if(t){let[,e,n]=t;switch(n){case"grad":return s.A.channel.clamp.h(.9*parseFloat(e));case"rad":return s.A.channel.clamp.h(180*parseFloat(e)/Math.PI);case"turn":return s.A.channel.clamp.h(360*parseFloat(e))}}return s.A.channel.clamp.h(parseFloat(e))},parse:e=>{let t=e.charCodeAt(0);if(104!==t&&72!==t)return;let n=e.match(o.re);if(!n)return;let[,i,a,l,c,u]=n;return r.A.set({h:o._hue2deg(i),s:s.A.channel.clamp.s(parseFloat(a)),l:s.A.channel.clamp.l(parseFloat(l)),a:c?s.A.channel.clamp.a(u?parseFloat(c)/100:parseFloat(c)):1},e)},stringify:e=>{let{h:t,s:n,l:r,a:i}=e;return i<1?`hsla(${s.A.lang.round(t)}, ${s.A.lang.round(n)}%, ${s.A.lang.round(r)}%, ${i})`:`hsl(${s.A.lang.round(t)}, ${s.A.lang.round(n)}%, ${s.A.lang.round(r)}%)`}},l={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:e=>{e=e.toLowerCase();let t=l.colors[e];if(t)return a.parse(t)},stringify:e=>{let t=a.stringify(e);for(let e in l.colors)if(l.colors[e]===t)return e}},c={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:e=>{let t=e.charCodeAt(0);if(114!==t&&82!==t)return;let n=e.match(c.re);if(!n)return;let[,i,a,o,l,u,h,p,d]=n;return r.A.set({r:s.A.channel.clamp.r(a?2.55*parseFloat(i):parseFloat(i)),g:s.A.channel.clamp.g(l?2.55*parseFloat(o):parseFloat(o)),b:s.A.channel.clamp.b(h?2.55*parseFloat(u):parseFloat(u)),a:p?s.A.channel.clamp.a(d?parseFloat(p)/100:parseFloat(p)):1},e)},stringify:e=>{let{r:t,g:n,b:r,a:i}=e;return i<1?`rgba(${s.A.lang.round(t)}, ${s.A.lang.round(n)}, ${s.A.lang.round(r)}, ${s.A.lang.round(i)})`:`rgb(${s.A.lang.round(t)}, ${s.A.lang.round(n)}, ${s.A.lang.round(r)})`}},u={format:{keyword:l,hex:a,rgb:c,rgba:c,hsl:o,hsla:o},parse:e=>{if("string"!=typeof e)return e;let t=a.parse(e)||c.parse(e)||o.parse(e)||l.parse(e);if(t)return t;throw Error(`Unsupported color format: "${e}"`)},stringify:e=>!e.changed&&e.color?e.color:e.type.is(i.Z.HSL)||void 0===e.data.r?o.stringify(e):!(e.a<1)&&Number.isInteger(e.r)&&Number.isInteger(e.g)&&Number.isInteger(e.b)?a.stringify(e):c.stringify(e)}},52618:(e,t,n)=>{"use strict";function r(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}n.d(t,{i:()=>r})},52634:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,o=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){var c;return(void 0===t&&(t={}),!(c=e)||i.test(c)||n.test(c))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(a,l)).replace(r,o))}},54615:(e,t,n)=>{"use strict";n.d(t,{A:()=>x});var r=n(23091),i=n(78750),a=n(4294);function s(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let s=e.charCodeAt(n),o="";if(37===s&&(0,a.lV)(e.charCodeAt(n+1))&&(0,a.lV)(e.charCodeAt(n+2)))i=2;else if(s<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(s))||(o=String.fromCharCode(s));else if(s>55295&&s<57344){let t=e.charCodeAt(n+1);s<56320&&t>56319&&t<57344?(o=String.fromCharCode(s,t),i=1):o="�"}else o=String.fromCharCode(s);o&&(t.push(e.slice(r,n),encodeURIComponent(o)),r=n+i+1,o=""),i&&(n+=i,i=0)}return t.join("")+e.slice(r)}function o(e,t){let n=[{type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function l(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}var c=n(48250),u=n(7370);function h(e,t){let n=t.referenceType,r="]";if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let s=i[i.length-1];return s&&"text"===s.type?s.value+=r:i.push({type:"text",value:r}),i}function p(e){let t=e.spread;return null==t?e.children.length>1:t}function d(e,t,n){let r=0,i=e.length;if(t){let t=e.codePointAt(r);for(;9===t||32===t;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>r?e.slice(r,i):""}let f={blockquote:function(e,t){let n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){let n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){let n=t.value?t.value+"\n":"",r={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(r.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){let n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){let n,r="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=s(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,l+=1,e.footnoteCounts.set(i,l);let c={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,c);let u={type:"element",tagName:"sup",properties:{},children:[c]};return e.patch(t,u),e.applyData(t,u)},heading:function(e,t){let n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){let n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return h(e,t);let i={src:s(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let n={src:s(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){let n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);let r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){let n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return h(e,t);let i={href:s(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let n={href:s(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);let r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){let r=e.all(t),i=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let n=e.children,r=-1;for(;!t&&++r<n.length;)t=p(n[r])}return t}(n):p(t),a={},s=[];if("boolean"==typeof t.checked){let e,n=r[0];n&&"element"===n.type&&"p"===n.tagName?e=n:(e={type:"element",tagName:"p",properties:{},children:[]},r.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let o=-1;for(;++o<r.length;){let e=r[o];(i||0!==o||"element"!==e.type||"p"!==e.tagName)&&s.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?s.push(e):s.push(...e.children)}let l=r[r.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&s.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:s};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let n={},r=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++i<r.length;){let e=r[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){n.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let n={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},root:function(e,t){let n={type:"root",children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},strong:function(e,t){let n={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){let n=e.all(t),r=n.shift(),i=[];if(r){let n={type:"element",tagName:"thead",properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),i.push(n)}if(n.length>0){let r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},a=(0,u.PW)(t.children[1]),s=(0,u.Y)(t.children[t.children.length-1]);a&&s&&(r.position={start:a,end:s}),i.push(r)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){let r=n?n.children:void 0,i=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,s=a?a.length:t.children.length,o=-1,l=[];for(;++o<s;){let n=t.children[o],r={},s=a?a[o]:void 0;s&&(r.align=s);let c={type:"element",tagName:i,properties:r,children:[]};n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let n={type:"text",value:function(e){let t=String(e),n=/\r?\n|\r/g,r=n.exec(t),i=0,a=[];for(;r;)a.push(d(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return a.push(d(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,n),e.applyData(t,n)},thematicBreak:function(e,t){let n={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,n),e.applyData(t,n)},toml:m,yaml:m,definition:m,footnoteDefinition:m};function m(){}let g={}.hasOwnProperty,y={};function b(e,t){e.position&&(t.position=(0,u.G1)(e))}function _(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&a&&Object.assign(n.properties,(0,i.Ay)(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function k(e,t){let n=[],r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",value:"\n"}),n}function E(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function T(e,t){let n,a,u,h,p=(n=t||y,a=new Map,u=new Map,h={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=h.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=E(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=E(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:_,definitionById:a,footnoteById:u,footnoteCounts:new Map,footnoteOrder:[],handlers:{...f,...n.handlers},one:function(e,t){let n=e.type,r=h.handlers[n];if(g.call(h.handlers,n)&&r)return r(h,e,t);if(h.options.passThrough&&h.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=(0,i.Ay)(n);return r.children=h.all(e),r}return(0,i.Ay)(e)}return(h.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(g.call(n,"hProperties")||g.call(n,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)})(h,e,t)},options:n,patch:b,wrap:k},(0,c.YR)(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?a:u,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),h),d=p.one(e,void 0),m=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||o,r=e.options.footnoteBackLabel||l,a=e.options.footnoteLabel||"Footnotes",c=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},h=[],p=-1;for(;++p<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[p]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),l=s(o.toLowerCase()),c=0,u=[],d=e.footnoteCounts.get(o);for(;void 0!==d&&++c<=d;){u.length>0&&u.push({type:"text",value:" "});let e="string"==typeof n?n:n(p,c);"string"==typeof e&&(e={type:"text",value:e}),u.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+l+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(p,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=a[a.length-1];if(f&&"element"===f.type&&"p"===f.tagName){let e=f.children[f.children.length-1];e&&"text"===e.type?e.value+=" ":f.children.push({type:"text",value:" "}),f.children.push(...u)}else a.push(...u);let m={type:"element",tagName:"li",properties:{id:t+"fn-"+l},children:e.wrap(a,!0)};e.patch(i,m),h.push(m)}if(0!==h.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:c,properties:{...(0,i.Ay)(u),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(h,!0)},{type:"text",value:"\n"}]}}(p),T=Array.isArray(d)?{type:"root",children:d}:d||{type:"root",children:[]};return m&&((0,r.ok)("children"in T),T.children.push({type:"text",value:"\n"},m)),T}function x(e,t){return e&&"run"in e?async function(n,r){let i=T(n,{file:r,...t});await e.run(i,r)}:function(n,r){return T(n,{file:r,...e||t})}}},56424:(e,t,n)=>{"use strict";n.d(t,{o:()=>i});var r=n(28830);class i extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let i="",a={},s=!1;if(t&&(a="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?i=e:!a.cause&&e&&(s=!0,i=e.message,a.cause=e),!a.ruleId&&!a.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?a.ruleId=n:(a.source=n.slice(0,e),a.ruleId=n.slice(e+1))}if(!a.place&&a.ancestors&&a.ancestors){let e=a.ancestors[a.ancestors.length-1];e&&(a.place=e.position)}let o=a.place&&"start"in a.place?a.place.start:a.place;this.ancestors=a.ancestors||void 0,this.cause=a.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=i,this.line=o?o.line:void 0,this.name=(0,r.L)(a.place)||"1:1",this.place=a.place||void 0,this.reason=this.message,this.ruleId=a.ruleId||void 0,this.source=a.source||void 0,this.stack=s&&a.cause&&"string"==typeof a.cause.stack?a.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}i.prototype.file="",i.prototype.name="",i.prototype.reason="",i.prototype.message="",i.prototype.stack="",i.prototype.column=void 0,i.prototype.line=void 0,i.prototype.ancestors=void 0,i.prototype.cause=void 0,i.prototype.fatal=void 0,i.prototype.place=void 0,i.prototype.ruleId=void 0,i.prototype.source=void 0},60598:(e,t,n)=>{"use strict";function r(e){var t=Array.prototype.slice.call(arguments,1);return t.forEach(function(t){t&&Object.keys(t).forEach(function(n){e[n]=t[n]})}),e}function i(e){return Object.prototype.toString.call(e)}function a(e){return"[object Function]"===i(e)}function s(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}var o={fuzzyLink:!0,fuzzyEmail:!0,fuzzyIP:!1},l={"http:":{validate:function(e,t,n){var r=e.slice(t);return(n.re.http||(n.re.http=RegExp("^\\/\\/"+n.re.src_auth+n.re.src_host_port_strict+n.re.src_path,"i")),n.re.http.test(r))?r.match(n.re.http)[0].length:0}},"https:":"http:","ftp:":"http:","//":{validate:function(e,t,n){var r=e.slice(t);return(n.re.no_http||(n.re.no_http=RegExp("^"+n.re.src_auth+"(?:localhost|(?:(?:"+n.re.src_domain+")\\.)+"+n.re.src_domain_root+")"+n.re.src_port+n.re.src_host_terminator+n.re.src_path,"i")),n.re.no_http.test(r))?t>=3&&":"===e[t-3]||t>=3&&"/"===e[t-3]?0:r.match(n.re.no_http)[0].length:0}},"mailto:":{validate:function(e,t,n){var r=e.slice(t);return(n.re.mailto||(n.re.mailto=RegExp("^"+n.re.src_email_name+"@"+n.re.src_host_strict,"i")),n.re.mailto.test(r))?r.match(n.re.mailto)[0].length:0}}},c="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|рф".split("|");function u(){return function(e,t){t.normalize(e)}}function h(e){var t=e.re=n(8047)(e.__opts__),r=e.__tlds__.slice();function o(e){return e.replace("%TLDS%",t.src_tlds)}e.onCompile(),e.__tlds_replaced__||r.push("a[cdefgilmnoqrstuwxz]|b[abdefghijmnorstvwyz]|c[acdfghiklmnoruvwxyz]|d[ejkmoz]|e[cegrstu]|f[ijkmor]|g[abdefghilmnpqrstuwy]|h[kmnrtu]|i[delmnoqrst]|j[emop]|k[eghimnprwyz]|l[abcikrstuvy]|m[acdeghklmnopqrstuvwxyz]|n[acefgilopruz]|om|p[aefghklmnrstwy]|qa|r[eosuw]|s[abcdeghijklmnortuvxyz]|t[cdfghjklmnortvwz]|u[agksyz]|v[aceginu]|w[fs]|y[et]|z[amw]"),r.push(t.src_xn),t.src_tlds=r.join("|"),t.email_fuzzy=RegExp(o(t.tpl_email_fuzzy),"i"),t.link_fuzzy=RegExp(o(t.tpl_link_fuzzy),"i"),t.link_no_ip_fuzzy=RegExp(o(t.tpl_link_no_ip_fuzzy),"i"),t.host_fuzzy_test=RegExp(o(t.tpl_host_fuzzy_test),"i");var l=[];function c(e,t){throw Error('(LinkifyIt) Invalid schema "'+e+'": '+t)}e.__compiled__={},Object.keys(e.__schemas__).forEach(function(t){var n=e.__schemas__[t];if(null!==n){var r,s={validate:null,link:null};if(e.__compiled__[t]=s,"[object Object]"===i(n)){"[object RegExp]"===i(n.validate)?(r=n.validate,s.validate=function(e,t){var n=e.slice(t);return r.test(n)?n.match(r)[0].length:0}):a(n.validate)?s.validate=n.validate:c(t,n),a(n.normalize)?s.normalize=n.normalize:n.normalize?c(t,n):s.normalize=u();return}if("[object String]"===i(n))return void l.push(t);c(t,n)}}),l.forEach(function(t){e.__compiled__[e.__schemas__[t]]&&(e.__compiled__[t].validate=e.__compiled__[e.__schemas__[t]].validate,e.__compiled__[t].normalize=e.__compiled__[e.__schemas__[t]].normalize)}),e.__compiled__[""]={validate:null,normalize:u()};var h=Object.keys(e.__compiled__).filter(function(t){return t.length>0&&e.__compiled__[t]}).map(s).join("|");e.re.schema_test=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+h+")","i"),e.re.schema_search=RegExp("(^|(?!_)(?:[><|]|"+t.src_ZPCc+"))("+h+")","ig"),e.re.pretest=RegExp("("+e.re.schema_test.source+")|("+e.re.host_fuzzy_test.source+")|@","i"),e.__index__=-1,e.__text_cache__=""}function p(e,t){var n=e.__index__,r=e.__last_index__,i=e.__text_cache__.slice(n,r);this.schema=e.__schema__.toLowerCase(),this.index=n+t,this.lastIndex=r+t,this.raw=i,this.text=i,this.url=i}function d(e,t){var n=new p(e,t);return e.__compiled__[n.schema].normalize(n,e),n}function f(e,t){if(!(this instanceof f))return new f(e,t);!t&&Object.keys(e||{}).reduce(function(e,t){return e||o.hasOwnProperty(t)},!1)&&(t=e,e={}),this.__opts__=r({},o,t),this.__index__=-1,this.__last_index__=-1,this.__schema__="",this.__text_cache__="",this.__schemas__=r({},l,e),this.__compiled__={},this.__tlds__=c,this.__tlds_replaced__=!1,this.re={},h(this)}f.prototype.add=function(e,t){return this.__schemas__[e]=t,h(this),this},f.prototype.set=function(e){return this.__opts__=r(this.__opts__,e),this},f.prototype.test=function(e){var t,n,r,i,a,s,o,l;if(this.__text_cache__=e,this.__index__=-1,!e.length)return!1;if(this.re.schema_test.test(e)){for((o=this.re.schema_search).lastIndex=0;null!==(t=o.exec(e));)if(i=this.testSchemaAt(e,t[2],o.lastIndex)){this.__schema__=t[2],this.__index__=t.index+t[1].length,this.__last_index__=t.index+t[0].length+i;break}}return this.__opts__.fuzzyLink&&this.__compiled__["http:"]&&(l=e.search(this.re.host_fuzzy_test))>=0&&(this.__index__<0||l<this.__index__)&&null!==(n=e.match(this.__opts__.fuzzyIP?this.re.link_fuzzy:this.re.link_no_ip_fuzzy))&&(a=n.index+n[1].length,(this.__index__<0||a<this.__index__)&&(this.__schema__="",this.__index__=a,this.__last_index__=n.index+n[0].length)),this.__opts__.fuzzyEmail&&this.__compiled__["mailto:"]&&e.indexOf("@")>=0&&null!==(r=e.match(this.re.email_fuzzy))&&(a=r.index+r[1].length,s=r.index+r[0].length,(this.__index__<0||a<this.__index__||a===this.__index__&&s>this.__last_index__)&&(this.__schema__="mailto:",this.__index__=a,this.__last_index__=s)),this.__index__>=0},f.prototype.pretest=function(e){return this.re.pretest.test(e)},f.prototype.testSchemaAt=function(e,t,n){return this.__compiled__[t.toLowerCase()]?this.__compiled__[t.toLowerCase()].validate(e,n,this):0},f.prototype.match=function(e){var t=0,n=[];this.__index__>=0&&this.__text_cache__===e&&(n.push(d(this,t)),t=this.__last_index__);for(var r=t?e.slice(t):e;this.test(r);)n.push(d(this,t)),r=r.slice(this.__last_index__),t+=this.__last_index__;return n.length?n:null},f.prototype.tlds=function(e,t){return(e=Array.isArray(e)?e:[e],t)?this.__tlds__=this.__tlds__.concat(e).sort().filter(function(e,t,n){return e!==n[t-1]}).reverse():(this.__tlds__=e.slice(),this.__tlds_replaced__=!0),h(this),this},f.prototype.normalize=function(e){e.schema||(e.url="http://"+e.url),"mailto:"!==e.schema||/^mailto:/i.test(e.url)||(e.url="mailto:"+e.url)},f.prototype.onCompile=function(){},e.exports=f},62835:(e,t,n)=>{"use strict";n.d(t,{N:()=>i});var r=n(4294);function i(e,t,n,i){let a=i?i-1:1/0,s=0;return function(i){return(0,r.On)(i)?(e.enter(n),function i(o){return(0,r.On)(o)&&s++<a?(e.consume(o),i):(e.exit(n),t(o))}(i)):t(i)}}},64463:e=>{e.exports=/[\0-\x1F\x7F-\x9F]/},64720:(e,t,n)=>{"use strict";n.d(t,{Y:()=>i,Z:()=>a});var r=n(42112);let i={};for(let e=0;e<=255;e++)i[e]=r.A.unit.dec2hex(e);let a={ALL:0,RGB:1,HSL:2}},64907:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42112),i=n(52326);let a=(e,t,n)=>{let a=i.A.parse(e),s=a[t],o=r.A.channel.clamp[t](s+n);return s!==o&&(a[t]=o),i.A.stringify(a)}},68195:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(64907);let i=(e,t)=>(0,r.A)(e,"l",-t)},68289:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{S:()=>r})},68420:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(42112),i=n(52326);let a=(e,t)=>{let n=i.A.parse(e);for(let e in t)n[e]=r.A.channel.clamp[e](t[e]);return i.A.stringify(n)}},68448:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(42112),i=n(64720);class a{constructor(){this.type=i.Z.ALL}get(){return this.type}set(e){if(this.type&&this.type!==e)throw Error("Cannot change both RGB and HSL channels at the same time");this.type=e}reset(){this.type=i.Z.ALL}is(e){return this.type===e}}class s{constructor(e,t){this.color=t,this.changed=!1,this.data=e,this.type=new a}set(e,t){return this.color=t,this.changed=!1,this.data=e,this.type.type=i.Z.ALL,this}_ensureHSL(){let e=this.data,{h:t,s:n,l:i}=e;void 0===t&&(e.h=r.A.channel.rgb2hsl(e,"h")),void 0===n&&(e.s=r.A.channel.rgb2hsl(e,"s")),void 0===i&&(e.l=r.A.channel.rgb2hsl(e,"l"))}_ensureRGB(){let e=this.data,{r:t,g:n,b:i}=e;void 0===t&&(e.r=r.A.channel.hsl2rgb(e,"r")),void 0===n&&(e.g=r.A.channel.hsl2rgb(e,"g")),void 0===i&&(e.b=r.A.channel.hsl2rgb(e,"b"))}get r(){let e=this.data,t=e.r;return this.type.is(i.Z.HSL)||void 0===t?(this._ensureHSL(),r.A.channel.hsl2rgb(e,"r")):t}get g(){let e=this.data,t=e.g;return this.type.is(i.Z.HSL)||void 0===t?(this._ensureHSL(),r.A.channel.hsl2rgb(e,"g")):t}get b(){let e=this.data,t=e.b;return this.type.is(i.Z.HSL)||void 0===t?(this._ensureHSL(),r.A.channel.hsl2rgb(e,"b")):t}get h(){let e=this.data,t=e.h;return this.type.is(i.Z.RGB)||void 0===t?(this._ensureRGB(),r.A.channel.rgb2hsl(e,"h")):t}get s(){let e=this.data,t=e.s;return this.type.is(i.Z.RGB)||void 0===t?(this._ensureRGB(),r.A.channel.rgb2hsl(e,"s")):t}get l(){let e=this.data,t=e.l;return this.type.is(i.Z.RGB)||void 0===t?(this._ensureRGB(),r.A.channel.rgb2hsl(e,"l")):t}get a(){return this.data.a}set r(e){this.type.set(i.Z.RGB),this.changed=!0,this.data.r=e}set g(e){this.type.set(i.Z.RGB),this.changed=!0,this.data.g=e}set b(e){this.type.set(i.Z.RGB),this.changed=!0,this.data.b=e}set h(e){this.type.set(i.Z.HSL),this.changed=!0,this.data.h=e}set s(e){this.type.set(i.Z.HSL),this.changed=!0,this.data.s=e}set l(e){this.type.set(i.Z.HSL),this.changed=!0,this.data.l=e}set a(e){this.changed=!0,this.data.a=e}}let o=new s({r:0,g:0,b:0,a:0},"transparent")},72148:(e,t,n)=>{"use strict";n.d(t,{T:()=>h});var r=n(56424);let i=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');l(e);let r=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else i<0&&(n=!0,i=a+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else s<0&&(n=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(i=a):(o=-1,i=s));return r===i?i=s:i<0&&(i=e.length),e.slice(r,i)},a=function(e){let t;if(l(e),0===e.length)return".";let n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},s=function(e){let t;l(e);let n=e.length,r=-1,i=0,a=-1,s=0;for(;n--;){let o=e.codePointAt(n);if(47===o){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===o?a<0?a=n:1!==s&&(s=1):a>-1&&(s=-1)}return a<0||r<0||0===s||1===s&&a===r-1&&a===i+1?"":e.slice(a,r)},o=function(...e){var t;let n,r,i,a=-1;for(;++a<e.length;)l(e[a]),e[a]&&(i=void 0===i?e[a]:i+"/"+e[a]);return void 0===i?".":(l(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",a=0,s=-1,o=0,l=-1;for(;++l<=e.length;){if(l<e.length)n=e.codePointAt(l);else if(47===n)break;else n=47;if(47===n){if(s===l-1||1===o);else if(s!==l-1&&2===o){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((r=i.lastIndexOf("/"))!==i.length-1){r<0?(i="",a=0):a=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),s=l,o=0;continue}}else if(i.length>0){i="",a=0,s=l,o=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(s+1,l):i=e.slice(s+1,l),a=l-s-1;s=l,o=0}else 46===n&&o>-1?o++:o=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function l(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function c(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let u=["history","path","basename","stem","extname","dirname"];class h{constructor(e){var t;let n,r;n=e?c(e)?{path:e}:"string"==typeof e||(t=e)&&"object"==typeof t&&"byteLength"in t&&"byteOffset"in t?{value:e}:e:{},this.cwd="cwd"in n?"":"/",this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let i=-1;for(;++i<u.length;){let e=u[i];e in n&&void 0!==n[e]&&null!==n[e]&&(this[e]="history"===e?[...n[e]]:n[e])}for(r in n)u.includes(r)||(this[r]=n[r])}get basename(){return"string"==typeof this.path?i(this.path):void 0}set basename(e){d(e,"basename"),p(e,"basename"),this.path=o(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?a(this.path):void 0}set dirname(e){f(this.basename,"dirname"),this.path=o(e||"",this.basename)}get extname(){return"string"==typeof this.path?s(this.path):void 0}set extname(e){if(p(e,"extname"),f(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=o(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){c(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!c(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,n=-1;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){let e=t.codePointAt(n+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),d(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?i(this.path,this.extname):void 0}set stem(e){d(e,"stem"),p(e,"stem"),this.path=o(this.dirname||"",e+(this.extname||""))}fail(e,t,n){let r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){let r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){let i=new r.o(e,t,n);return this.path&&(i.name=this.path+":"+i.name,i.file=this.path),i.fatal=!1,this.messages.push(i),i}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function p(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function d(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function f(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}},72152:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(52326),i=n(13222);let a=(e,t=100)=>{let n=r.A.parse(e);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,((e,t,n=50)=>{let{r:a,g:s,b:o,a:l}=r.A.parse(e),{r:c,g:u,b:h,a:p}=r.A.parse(t),d=n/100,f=2*d-1,m=l-p,g=((f*m==-1?f:(f+m)/(1+f*m))+1)/2,y=1-g;return(0,i.A)(a*g+c*y,s*g+u*y,o*g+h*y,l*d+p*(1-d))})(n,e,t)}},72475:(e,t,n)=>{"use strict";n.d(t,{IU:()=>k,Jo:()=>O,T_:()=>A,g0:()=>ei,jP:()=>T});var r=n(85774),i=n(63886),a=n(38033),s=n(17541),o=n(88774),l=n(32563),c=n(97096),u=n(32165),h=n(33948),p=n(94529),d=(0,u.K2)((e,t,n,r,i,a=!1,s)=>{t.arrowTypeStart&&g(e,"start",t.arrowTypeStart,n,r,i,a,s),t.arrowTypeEnd&&g(e,"end",t.arrowTypeEnd,n,r,i,a,s)},"addEdgeMarkers"),f={arrow_cross:{type:"cross",fill:!1},arrow_point:{type:"point",fill:!0},arrow_barb:{type:"barb",fill:!0},arrow_barb_neo:{type:"barb",fill:!0},arrow_circle:{type:"circle",fill:!1},aggregation:{type:"aggregation",fill:!1},extension:{type:"extension",fill:!1},composition:{type:"composition",fill:!0},dependency:{type:"dependency",fill:!0},lollipop:{type:"lollipop",fill:!1},only_one:{type:"onlyOne",fill:!1},zero_or_one:{type:"zeroOrOne",fill:!1},one_or_more:{type:"oneOrMore",fill:!1},zero_or_more:{type:"zeroOrMore",fill:!1},requirement_arrow:{type:"requirement_arrow",fill:!1},requirement_contains:{type:"requirement_contains",fill:!1}},m=["cross","point","circle","lollipop","aggregation","extension","composition","dependency","barb"],g=(0,u.K2)((e,t,n,r,i,a,s=!1,o)=>{let l=f[n],c=l&&m.includes(l.type);if(!l)return void u.Rm.warn(`Unknown arrow type: ${n}`);let h=l.type,p=`${i}_${a}-${h}${"start"===t?"Start":"End"}${s&&c?"-margin":""}`;if(o&&""!==o.trim()){let n=o.replace(/[^\dA-Za-z]/g,"_"),i=`${p}_${n}`;if(!document.getElementById(i)){let e=document.getElementById(p);if(e){let t=e.cloneNode(!0);t.id=i,t.querySelectorAll("path, circle, line").forEach(e=>{e.setAttribute("stroke",o),l.fill&&e.setAttribute("fill",o)}),e.parentNode?.appendChild(t)}}e.attr(`marker-${t}`,`url(${r}#${i})`)}else e.attr(`marker-${t}`,`url(${r}#${p})`)},"addEdgeMarker"),y=(0,u.K2)(e=>"string"==typeof e?e:(0,c.D7)()?.flowchart?.curve,"resolveEdgeCurveType"),b=new Map,_=new Map,k=(0,u.K2)(()=>{b.clear(),_.clear()},"clear"),E=(0,u.K2)(e=>e?"string"==typeof e?e:e.reduce((e,t)=>e+";"+t,""):"","getLabelStyles"),T=(0,u.K2)(async(e,t)=>{let n,a=(0,c.D7)(),l=(0,c.E)(a),{labelStyles:p}=(0,s.GX)(t);t.labelStyle=p;let d=e.insert("g").attr("class","edgeLabel"),f=d.insert("g").attr("class","label").attr("data-id",t.id),m="markdown"===t.labelType,g=await (0,o.GZ)(e,t.label,{style:E(t.labelStyle),useHtmlLabels:l,addSvgBackground:!0,isNode:!1,markdown:m,width:void 0},a);f.node().appendChild(g),u.Rm.info("abc82",t,t.labelType);let y=g.getBBox(),k=y;if(l){let e=g.children[0],t=(0,h.Ltv)(g);k=y=e.getBoundingClientRect(),t.attr("width",y.width),t.attr("height",y.height)}else{let e=(0,h.Ltv)(g).select("text").node();e&&"function"==typeof e.getBBox&&(k=e.getBBox())}if(f.attr("transform",(0,r.Wg)(k,l)),b.set(t.id,d),t.width=y.width,t.height=y.height,t.startLabelLeft){let a=e.insert("g").attr("class","edgeTerminals"),s=a.insert("g").attr("class","inner"),o=await (0,i.DA)(s,t.startLabelLeft,E(t.labelStyle)||"",!1,!1);n=o;let c=o.getBBox();if(l){let e=o.children[0],t=(0,h.Ltv)(o);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}s.attr("transform",(0,r.Wg)(c,l)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startLeft=a,x(n,t.startLabelLeft)}if(t.startLabelRight){let a=e.insert("g").attr("class","edgeTerminals"),s=a.insert("g").attr("class","inner"),o=await (0,i.DA)(s,t.startLabelRight,E(t.labelStyle)||"",!1,!1);n=o;let c=o.getBBox();if(l){let e=o.children[0],t=(0,h.Ltv)(o);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}s.attr("transform",(0,r.Wg)(c,l)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).startRight=a,x(n,t.startLabelRight)}if(t.endLabelLeft){let a=e.insert("g").attr("class","edgeTerminals"),s=a.insert("g").attr("class","inner"),o=await (0,i.DA)(a,t.endLabelLeft,E(t.labelStyle)||"",!1,!1);n=o;let c=o.getBBox();if(l){let e=o.children[0],t=(0,h.Ltv)(o);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}s.attr("transform",(0,r.Wg)(c,l)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endLeft=a,x(n,t.endLabelLeft)}if(t.endLabelRight){let a=e.insert("g").attr("class","edgeTerminals"),s=a.insert("g").attr("class","inner"),o=await (0,i.DA)(a,t.endLabelRight,E(t.labelStyle)||"",!1,!1);n=o;let c=o.getBBox();if(l){let e=o.children[0],t=(0,h.Ltv)(o);c=e.getBoundingClientRect(),t.attr("width",c.width),t.attr("height",c.height)}s.attr("transform",(0,r.Wg)(c,l)),_.get(t.id)||_.set(t.id,{}),_.get(t.id).endRight=a,x(n,t.endLabelRight)}return g},"insertEdgeLabel");function x(e,t){(0,c.E)((0,c.D7)())&&e&&(e.style.width=9*t.length+"px",e.style.height="12px")}(0,u.K2)(x,"setTerminalWidth");var A=(0,u.K2)((e,t)=>{u.Rm.debug("Moving label abc88 ",e.id,e.label,b.get(e.id),t);let n=t.updatedPath?t.updatedPath:t.originalPath,r=(0,c.D7)(),{subGraphTitleTotalMargin:i}=(0,a.O)(r);if(e.label){let r=b.get(e.id),a=e.x,s=e.y;if(n){let r=l._K.calcLabelPosition(n);u.Rm.debug("Moving label "+e.label+" from (",a,",",s,") to (",r.x,",",r.y,") abc88"),t.updatedPath&&(a=r.x,s=r.y)}r.attr("transform",`translate(${a}, ${s+i/2})`)}if(e.startLabelLeft){let t=_.get(e.id).startLeft,r=e.x,i=e.y;if(n){let t=l._K.calcTerminalLabelPosition(10*!!e.arrowTypeStart,"start_left",n);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}if(e.startLabelRight){let t=_.get(e.id).startRight,r=e.x,i=e.y;if(n){let t=l._K.calcTerminalLabelPosition(10*!!e.arrowTypeStart,"start_right",n);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}if(e.endLabelLeft){let t=_.get(e.id).endLeft,r=e.x,i=e.y;if(n){let t=l._K.calcTerminalLabelPosition(10*!!e.arrowTypeEnd,"end_left",n);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}if(e.endLabelRight){let t=_.get(e.id).endRight,r=e.x,i=e.y;if(n){let t=l._K.calcTerminalLabelPosition(10*!!e.arrowTypeEnd,"end_right",n);r=t.x,i=t.y}t.attr("transform",`translate(${r}, ${i})`)}},"positionEdgeLabel"),w=(0,u.K2)((e,t)=>{let n=e.x,r=e.y,i=Math.abs(t.x-n),a=Math.abs(t.y-r),s=e.width/2,o=e.height/2;return i>=s||a>=o},"outsideNode"),v=(0,u.K2)((e,t,n)=>{u.Rm.debug(`intersection calc abc89:
|
|
106
|
+
outsidePoint: ${JSON.stringify(t)}
|
|
107
|
+
insidePoint : ${JSON.stringify(n)}
|
|
108
|
+
node : x:${e.x} y:${e.y} w:${e.width} h:${e.height}`);let r=e.x,i=e.y,a=Math.abs(r-n.x),s=e.width/2,o=n.x<t.x?s-a:s+a,l=e.height/2,c=Math.abs(t.y-n.y),h=Math.abs(t.x-n.x);if(Math.abs(i-t.y)*s>Math.abs(r-t.x)*l){let e=n.y<t.y?t.y-l-i:i-l-t.y;o=h*e/c;let r={x:n.x<t.x?n.x+o:n.x-h+o,y:n.y<t.y?n.y+c-e:n.y-c+e};return 0===o&&(r.x=t.x,r.y=t.y),0===h&&(r.x=t.x),0===c&&(r.y=t.y),u.Rm.debug(`abc89 top/bottom calc, Q ${c}, q ${e}, R ${h}, r ${o}`,r),r}{let e=c*(o=n.x<t.x?t.x-s-r:r-s-t.x)/h,i=n.x<t.x?n.x+h-o:n.x-h+o,a=n.y<t.y?n.y+e:n.y-e;return u.Rm.debug(`sides calc abc89, Q ${c}, q ${e}, R ${h}, r ${o}`,{_x:i,_y:a}),0===o&&(i=t.x,a=t.y),0===h&&(i=t.x),0===c&&(a=t.y),{x:i,y:a}}},"intersection"),S=(0,u.K2)((e,t)=>{u.Rm.warn("abc88 cutPathAtIntersect",e,t);let n=[],r=e[0],i=!1;return e.forEach(e=>{if(u.Rm.info("abc88 checking point",e,t),w(t,e)||i)u.Rm.warn("abc88 outside",e,r),r=e,i||n.push(e);else{let a=v(t,r,e);u.Rm.debug("abc88 inside",e,r,a),u.Rm.debug("abc88 intersection",a,t);let s=!1;n.forEach(e=>{s=s||e.x===a.x&&e.y===a.y}),n.some(e=>e.x===a.x&&e.y===a.y)?u.Rm.warn("abc88 no intersect",a,n):n.push(a),i=!0}}),u.Rm.debug("returning points",n),n},"cutPathAtIntersect");function C(e){let t=[],n=[];for(let r=1;r<e.length-1;r++){let i=e[r-1],a=e[r],s=e[r+1];i.x===a.x&&a.y===s.y&&Math.abs(a.x-s.x)>5&&Math.abs(a.y-i.y)>5?(t.push(a),n.push(r)):i.y===a.y&&a.x===s.x&&Math.abs(a.x-i.x)>5&&Math.abs(a.y-s.y)>5&&(t.push(a),n.push(r))}return{cornerPoints:t,cornerPointPositions:n}}(0,u.K2)(C,"extractCornerPoints");var N=(0,u.K2)(function(e,t,n){let r=t.x-e.x,i=t.y-e.y,a=n/Math.sqrt(r*r+i*i);return{x:t.x-a*r,y:t.y-a*i}},"findAdjacentPoint"),I=(0,u.K2)(function(e){let{cornerPointPositions:t}=C(e),n=[];for(let r=0;r<e.length;r++)if(t.includes(r)){let t=e[r-1],i=e[r+1],a=e[r],s=N(t,a,5),o=N(i,a,5),l=o.x-s.x,c=o.y-s.y;n.push(s);let h=2*Math.sqrt(2),p={x:a.x,y:a.y};Math.abs(i.x-t.x)>10&&Math.abs(i.y-t.y)>=10?(u.Rm.debug("Corner point fixing",Math.abs(i.x-t.x),Math.abs(i.y-t.y)),p=a.x===s.x?{x:l<0?s.x-5+h:s.x+5-h,y:c<0?s.y-h:s.y+h}:{x:l<0?s.x-h:s.x+h,y:c<0?s.y-5+h:s.y+5-h}):u.Rm.debug("Corner point skipping fixing",Math.abs(i.x-t.x),Math.abs(i.y-t.y)),n.push(p,o)}else n.push(e[r]);return n},"fixCorners"),D=(0,u.K2)((e,t,n)=>{let r=Array(Math.floor((e-t-n)/4)).fill("2 2").join(" ");return`0 ${t} ${r} ${n}`},"generateDashArray"),O=(0,u.K2)(function(e,t,n,i,a,o,f,m=!1){let g,b;if(!f)throw Error(`insertEdge: missing diagramId for edge "${t.id}" — edge IDs require a diagram prefix for uniqueness`);let{handDrawnSeed:_}=(0,c.D7)(),k=t.points,E=!1,T=[];for(let e in t.cssCompiledStyles)(0,s.KX)(e)||T.push(t.cssCompiledStyles[e]);u.Rm.debug("UIO intersect check",t.points,o.x,a.x),o.intersect&&a.intersect&&!m&&((k=k.slice(1,t.points.length-1)).unshift(a.intersect(k[0])),u.Rm.debug("Last point UIO",t.start,"--\x3e",t.end,k[k.length-1],o,o.intersect(k[k.length-1])),k.push(o.intersect(k[k.length-1])));let x=btoa(JSON.stringify(k));t.toCluster&&(u.Rm.info("to cluster abc88",n.get(t.toCluster)),k=S(t.points,n.get(t.toCluster).node),E=!0),t.fromCluster&&(u.Rm.debug("from cluster abc88",n.get(t.fromCluster),JSON.stringify(k,null,2)),k=S(k.reverse(),n.get(t.fromCluster).node).reverse(),E=!0);let A=k.filter(e=>!Number.isNaN(e.y)),w=y(t.curve);"rounded"!==w&&(A=I(A));let v=h.lUB;switch(w){case"linear":case"rounded":v=h.lUB;break;case"basis":default:v=h.qrM;break;case"cardinal":v=h.y8u;break;case"bumpX":v=h.Wi0;break;case"bumpY":v=h.PGM;break;case"catmullRom":v=h.oDi;break;case"monotoneX":v=h.nVG;break;case"monotoneY":v=h.uxU;break;case"natural":v=h.Xf2;break;case"step":v=h.GZz;break;case"stepAfter":v=h.UPb;break;case"stepBefore":v=h.dyv}let{x:C,y:N}=(0,r.RI)(t),O=(0,h.n8j)().x(C).y(N).curve(v);switch(t.thickness){case"normal":default:g="edge-thickness-normal";break;case"thick":g="edge-thickness-thick";break;case"invisible":g="edge-thickness-invisible"}switch(t.pattern){case"solid":default:g+=" edge-pattern-solid";break;case"dotted":g+=" edge-pattern-dotted";break;case"dashed":g+=" edge-pattern-dashed"}let L="rounded"===w?M(R(A,t),5):O(A),P=Array.isArray(t.style)?t.style:[t.style],F=P.find(e=>e?.startsWith("stroke:")),B="";t.animate&&(B="edge-animation-fast"),t.animation&&(B="edge-animation-"+t.animation);let H=!1;if("handDrawn"===t.look){let n=p.A.svg(e);Object.assign([],A);let r=n.path(L,{roughness:.3,seed:_});g+=" transition";let i=(b=(0,h.Ltv)(r).select("path").attr("id",`${f}-${t.id}`).attr("class"," "+g+(t.classes?" "+t.classes:"")+(B?" "+B:"")).attr("style",P?P.reduce((e,t)=>e+";"+t,""):"")).attr("d");b.attr("d",i),e.node().appendChild(b.node())}else{let n=T.join(";"),i=P?P.reduce((e,t)=>e+t+";",""):"",a=(n?n+";"+i+";":i)+";"+(P?P.reduce((e,t)=>e+";"+t,""):"");b=e.append("path").attr("d",L).attr("id",`${f}-${t.id}`).attr("class"," "+g+(t.classes?" "+t.classes:"")+(B?" "+B:"")).attr("style",a),F=a.match(/stroke:([^;]+)/)?.[1],H=!0===t.animate||!!t.animation||n.includes("animation");let s=b.node(),o="function"==typeof s.getTotalLength?s.getTotalLength():0,l=r.Nq[t.arrowTypeStart]||0,c=r.Nq[t.arrowTypeEnd]||0;if("neo"===t.look&&!H){let e="dotted"===t.pattern||"dashed"===t.pattern?D(o,l,c):`0 ${l} ${o-l-c} ${c}`,n=`stroke-dasharray: ${e}; stroke-dashoffset: 0;`;b.attr("style",n+b.attr("style"))}}b.attr("data-edge",!0),b.attr("data-et","edge"),b.attr("data-id",t.id),b.attr("data-points",x),b.attr("data-look",(0,l.KL)(t.look)),t.showPoints&&A.forEach(t=>{e.append("circle").style("stroke","red").style("fill","red").attr("r",1).attr("cx",t.x).attr("cy",t.y)});let U="";((0,c.D7)().flowchart.arrowMarkerAbsolute||(0,c.D7)().state.arrowMarkerAbsolute)&&(U=(U=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search).replace(/\(/g,"\\(").replace(/\)/g,"\\)")),u.Rm.info("arrowTypeStart",t.arrowTypeStart),u.Rm.info("arrowTypeEnd",t.arrowTypeEnd);let j=!H&&t?.look==="neo";d(b,t,U,f,i,j,F);let $=Math.floor(k.length/2),z=k[$];l._K.isLabelCoordinateInPath(z,b.attr("d"))||(E=!0);let G={};return E&&(G.updatedPath=k),G.originalPath=t.points,G},"insertEdge");function M(e,t){if(e.length<2)return"";let n="",r=e.length;for(let i=0;i<r;i++){let a=e[i],s=e[i-1],o=e[i+1];if(0===i)n+=`M${a.x},${a.y}`;else if(i===r-1)n+=`L${a.x},${a.y}`;else{let e=a.x-s.x,r=a.y-s.y,i=o.x-a.x,l=o.y-a.y,c=Math.hypot(e,r),u=Math.hypot(i,l);if(c<1e-5||u<1e-5){n+=`L${a.x},${a.y}`;continue}let h=e/c,p=r/c,d=i/u,f=l/u,m=Math.acos(Math.max(-1,Math.min(1,h*d+p*f)));if(m<1e-5||1e-5>Math.abs(Math.PI-m)){n+=`L${a.x},${a.y}`;continue}let g=Math.min(t/Math.sin(m/2),c/2,u/2),y=a.x-h*g,b=a.y-p*g,_=a.x+d*g,k=a.y+f*g;n+=`L${y},${b}Q${a.x},${a.y} ${_},${k}`}}return n}function L(e,t){if(!e||!t)return{angle:0,deltaX:0,deltaY:0};let n=t.x-e.x,r=t.y-e.y;return{angle:Math.atan2(r,n),deltaX:n,deltaY:r}}function R(e,t){let n=e.map(e=>({...e}));if(e.length>=2&&r.hq[t.arrowTypeStart]){let i=r.hq[t.arrowTypeStart],a=e[0],{angle:s}=L(a,e[1]),o=i*Math.cos(s),l=i*Math.sin(s);n[0].x=a.x+o,n[0].y=a.y+l}let i=e.length;if(i>=2&&r.hq[t.arrowTypeEnd]){let a=r.hq[t.arrowTypeEnd],s=e[i-1],{angle:o}=L(e[i-2],s),l=a*Math.cos(o),c=a*Math.sin(o);n[i-1].x=s.x-l,n[i-1].y=s.y-c}return n}(0,u.K2)(M,"generateRoundedPath"),(0,u.K2)(L,"calculateDeltaAndAngle"),(0,u.K2)(R,"applyMarkerOffsetsToPoints");var P=(0,u.K2)((e,t,n,r)=>{t.forEach(t=>{er[t](e,n,r)})},"insertMarkers"),F=(0,u.K2)((e,t,n)=>{u.Rm.trace("Making markers for ",n),e.append("defs").append("marker").attr("id",n+"_"+t+"-extensionStart").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M 1,7 L18,13 V 1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-extensionEnd").attr("class","marker extension "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),e.append("marker").attr("id",n+"_"+t+"-extensionStart-margin").attr("class","marker extension "+t).attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,7 18,13 18,1").style("stroke-width",2).style("stroke-dasharray","0"),e.append("defs").append("marker").attr("id",n+"_"+t+"-extensionEnd-margin").attr("class","marker extension "+t).attr("refX",9).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("viewBox","0 0 20 14").append("polygon").attr("points","10,1 10,13 18,7").style("stroke-width",2).style("stroke-dasharray","0")},"extension"),B=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-compositionStart").attr("class","marker composition "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-compositionEnd").attr("class","marker composition "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-compositionStart-margin").attr("class","marker composition "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("viewBox","0 0 15 15").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-compositionEnd-margin").attr("class","marker composition "+t).attr("refX",3.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"composition"),H=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-aggregationStart").attr("class","marker aggregation "+t).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-aggregationEnd").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-aggregationStart-margin").attr("class","marker aggregation "+t).attr("refX",15).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-aggregationEnd-margin").attr("class","marker aggregation "+t).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",2).attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},"aggregation"),U=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-dependencyStart").attr("class","marker dependency "+t).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-dependencyEnd").attr("class","marker dependency "+t).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-dependencyStart-margin").attr("class","marker dependency "+t).attr("refX",4).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-dependencyEnd-margin").attr("class","marker dependency "+t).attr("refX",16).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").style("stroke-width",0).attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},"dependency"),j=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-lollipopStart").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",n+"_"+t+"-lollipopEnd").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),e.append("defs").append("marker").attr("id",n+"_"+t+"-lollipopStart-margin").attr("class","marker lollipop "+t).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2),e.append("defs").append("marker").attr("id",n+"_"+t+"-lollipopEnd-margin").attr("class","marker lollipop "+t).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("circle").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6).attr("stroke-width",2)},"lollipop"),$=(0,u.K2)((e,t,n)=>{e.append("marker").attr("id",n+"_"+t+"-pointEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-pointStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",8).attr("markerHeight",8).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-pointEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",11.5).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",10.5).attr("markerHeight",14).attr("orient","auto").append("path").attr("d","M 0 0 L 11.5 7 L 0 14 z").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-pointStart-margin").attr("class","marker "+t).attr("viewBox","0 0 11.5 14").attr("refX",1).attr("refY",7).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11.5).attr("markerHeight",14).attr("orient","auto").append("polygon").attr("points","0,7 11.5,14 11.5,0").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"point"),z=(0,u.K2)((e,t,n)=>{e.append("marker").attr("id",n+"_"+t+"-circleEnd").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-circleStart").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-circleEnd-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refY",5).attr("refX",12.25).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-circleStart-margin").attr("class","marker "+t).attr("viewBox","0 0 10 10").attr("refX",-2).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",14).attr("markerHeight",14).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",0).style("stroke-dasharray","1,0")},"circle"),G=(0,u.K2)((e,t,n)=>{e.append("marker").attr("id",n+"_"+t+"-crossEnd").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-crossStart").attr("class","marker cross "+t).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),e.append("marker").attr("id",n+"_"+t+"-crossEnd-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",17.7).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5),e.append("marker").attr("id",n+"_"+t+"-crossStart-margin").attr("class","marker cross "+t).attr("viewBox","0 0 15 15").attr("refX",-3.5).attr("refY",7.5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 1,1 L 14,14 M 1,14 L 14,1").attr("class","arrowMarkerPath").style("stroke-width",2.5).style("stroke-dasharray","1,0")},"cross"),K=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")},"barb"),Y=(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{transitionColor:i}=r;e.append("defs").append("marker").attr("id",n+"_"+t+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z"),e.append("defs").append("marker").attr("id",n+"_"+t+"-barbEnd-margin").attr("refX",17).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M 19,7 L11,14 L13,7 L11,0 Z").attr("fill",`${i}`)},"barbNeo"),q=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M9,0 L9,18 M15,0 L15,18"),e.append("defs").append("marker").attr("id",n+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("d","M3,0 L3,18 M9,0 L9,18")},"only_one"),W=(0,u.K2)((e,t,n)=>{let r=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");r.append("circle").attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),r.append("path").attr("d","M9,0 L9,18");let i=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),i.append("path").attr("d","M21,0 L21,18")},"zero_or_one"),V=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),e.append("defs").append("marker").attr("id",n+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18")},"one_or_more"),X=(0,u.K2)((e,t,n)=>{let r=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");r.append("circle").attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),r.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18");let i=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto");i.append("circle").attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),i.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")},"zero_or_more"),Q=(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{strokeWidth:i}=r;e.append("defs").append("marker").attr("id",n+"_"+t+"-onlyOneStart").attr("class","marker onlyOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M9,0 L9,18 M15,0 L15,18").attr("stroke-width",`${i}`),e.append("defs").append("marker").attr("id",n+"_"+t+"-onlyOneEnd").attr("class","marker onlyOne "+t).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M3,0 L3,18 M9,0 L9,18").attr("stroke-width",`${i}`)},"only_one_neo"),Z=(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{strokeWidth:i,mainBkg:a}=r,s=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrOneStart").attr("class","marker zeroOrOne "+t).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto").attr("markerUnits","userSpaceOnUse");s.append("circle").attr("fill",a??"white").attr("cx",21).attr("cy",9).attr("stroke-width",`${i}`).attr("r",6),s.append("path").attr("d","M9,0 L9,18").attr("stroke-width",`${i}`);let o=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrOneEnd").attr("class","marker zeroOrOne "+t).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("markerUnits","userSpaceOnUse").attr("orient","auto");o.append("circle").attr("fill",a??"white").attr("cx",9).attr("cy",9).attr("stroke-width",`${i}`).attr("r",6),o.append("path").attr("d","M21,0 L21,18").attr("stroke-width",`${i}`)},"zero_or_one_neo"),J=(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{strokeWidth:i}=r;e.append("defs").append("marker").attr("id",n+"_"+t+"-oneOrMoreStart").attr("class","marker oneOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("path").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27").attr("stroke-width",`${i}`),e.append("defs").append("marker").attr("id",n+"_"+t+"-oneOrMoreEnd").attr("class","marker oneOrMore "+t).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto").append("path").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18").attr("stroke-width",`${i}`)},"one_or_more_neo"),ee=(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{strokeWidth:i,mainBkg:a}=r,s=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrMoreStart").attr("class","marker zeroOrMore "+t).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("markerUnits","userSpaceOnUse").attr("orient","auto");s.append("circle").attr("fill",a??"white").attr("cx",45.5).attr("cy",18).attr("r",6).attr("stroke-width",`${i}`),s.append("path").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18").attr("stroke-width",`${i}`);let o=e.append("defs").append("marker").attr("id",n+"_"+t+"-zeroOrMoreEnd").attr("class","marker zeroOrMore "+t).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto").attr("markerUnits","userSpaceOnUse");o.append("circle").attr("fill",a??"white").attr("cx",11).attr("cy",18).attr("r",6).attr("stroke-width",`${i}`),o.append("path").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18").attr("stroke-width",`${i}`)},"zero_or_more_neo"),et=(0,u.K2)((e,t,n)=>{e.append("defs").append("marker").attr("id",n+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("path").attr("d",`M0,0
|
|
109
|
+
L20,10
|
|
110
|
+
M20,10
|
|
111
|
+
L0,20`)},"requirement_arrow"),en=(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{strokeWidth:i}=r;e.append("defs").append("marker").attr("id",n+"_"+t+"-requirement_arrowEnd").attr("refX",20).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").attr("stroke-width",`${i}`).attr("viewBox","0 0 25 20").append("path").attr("d",`M0,0
|
|
112
|
+
L20,10
|
|
113
|
+
M20,10
|
|
114
|
+
L0,20`).attr("stroke-linejoin","miter")},"requirement_arrow_neo"),er={extension:F,composition:B,aggregation:H,dependency:U,lollipop:j,point:$,circle:z,cross:G,barb:K,barbNeo:Y,only_one:q,zero_or_one:W,one_or_more:V,zero_or_more:X,only_one_neo:Q,zero_or_one_neo:Z,one_or_more_neo:J,zero_or_more_neo:ee,requirement_arrow:et,requirement_contains:(0,u.K2)((e,t,n)=>{let r=e.append("defs").append("marker").attr("id",n+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").append("g");r.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),r.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),r.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10)},"requirement_contains"),requirement_arrow_neo:en,requirement_contains_neo:(0,u.K2)((e,t,n)=>{let{themeVariables:r}=(0,c.zj)(),{strokeWidth:i}=r,a=e.append("defs").append("marker").attr("id",n+"_"+t+"-requirement_containsStart").attr("refX",0).attr("refY",10).attr("markerWidth",20).attr("markerHeight",20).attr("orient","auto").attr("markerUnits","userSpaceOnUse").append("g");a.append("circle").attr("cx",10).attr("cy",10).attr("r",9).attr("fill","none"),a.append("line").attr("x1",1).attr("x2",19).attr("y1",10).attr("y2",10),a.append("line").attr("y1",1).attr("y2",19).attr("x1",10).attr("x2",10),a.selectAll("*").attr("stroke-width",`${i}`)},"requirement_contains_neo")},ei=P},73129:(e,t,n)=>{"use strict";n.d(t,{C:()=>r});let r=function(e){var t,n;if(null==e)return a;if("function"==typeof e)return i(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=r(e[n]);return i(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,i(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,i(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function i(e){return function(t,n,r){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function a(){return!0}},76548:(e,t,n)=>{"use strict";function r(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}n.d(t,{B:()=>r})},77322:(e,t,n)=>{"use strict";n.d(t,{D:()=>B});var r=n(78115),i=n(84709);function a(e,t){let n=function(e,t){switch(e.nodeType){case 1:return function(e,t){let n=e.namespaceURI,a=n===i.t.svg?r.s:r.h,o=n===i.t.html?e.tagName.toLowerCase():e.tagName,l=n===i.t.html&&"template"===o?e.content:e,c=e.getAttributeNames(),u={},h=-1;for(;++h<c.length;)u[c[h]]=e.getAttribute(c[h])||"";return a(o,u,s(l,t))}(e,t);case 3:return{type:"text",value:e.nodeValue||""};case 8:return{type:"comment",value:e.nodeValue||""};case 9:case 11:return function(e,t){return{type:"root",children:s(e,t)}}(e,t);case 10:return{type:"doctype"};default:return}}(e,t);return n&&t.afterTransform&&t.afterTransform(e,n),n}function s(e,t){let n=e.childNodes,r=[],i=-1;for(;++i<n.length;){let e=a(n[i],t);void 0!==e&&r.push(e)}return r}let o=new DOMParser;var l=n(73129);let c=function(e,t,n){let r=(0,l.C)(n);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||1/0===t)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(r(e.children[t],t,e))return e.children[t]},u=function(e){if(null==e)return p;if("string"==typeof e){var t;return t=e,h(function(e){return e.tagName===t})}if("object"==typeof e){var n=e;let t=[],r=-1;for(;++r<n.length;)t[r]=u(n[r]);return h(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}if("function"==typeof e)return h(e);throw Error("Expected function, string, or array as `test`")};function h(e){return function(t,n,r){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&"tagName"in i&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function p(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}let d=/\n/g,f=/[\t ]+/g,m=u("br"),g=u(function(e){return"td"===e.tagName||"th"===e.tagName}),y=u("p"),b=u("tr"),_=u(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),k=u(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function E(e,t){let n,r=String(e.value),i=[],a=[],s=0;for(;s<=r.length;){d.lastIndex=s;let e=d.exec(r),n=e&&"index"in e?e.index:r.length;i.push(function(e,t,n){let r,i=[],a=0;for(;a<e.length;){f.lastIndex=a;let n=f.exec(e);r=n?n.index:e.length,a||r||!n||t||i.push(""),a!==r&&i.push(e.slice(a,r)),a=n?r+n[0].length:r}return a===r||n||i.push(""),i.join(" ")}(r.slice(s,n).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==s||t.breakBefore,n!==r.length||t.breakAfter)),s=n+1}let o=-1;for(;++o<i.length;)8203===i[o].charCodeAt(i[o].length-1)||o<i.length-1&&8203===i[o+1].charCodeAt(0)?(a.push(i[o]),n=void 0):i[o]?("number"==typeof n&&a.push(n),a.push(i[o]),n=0):(0===o||o===i.length-1)&&a.push(0);return a}function T(e,t){if("element"===e.type){let n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return n.wrap?"pre-wrap":"pre";case"td":case"th":return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}var x=n(71876),A=n(20768);let w={},v=[];function S(e){let t=e||w;return function(e,n){(0,A.VG)(e,"element",function(e,r){var i,s,l;let u,h,p=Array.isArray(e.properties.className)?e.properties.className:v,d=p.includes("language-math"),f=p.includes("math-display"),w=p.includes("math-inline"),S=f;if(!d&&!f&&!w)return;let C=r[r.length-1],N=e;if("code"===e.tagName&&d&&C&&"element"===C.type&&"pre"===C.tagName&&(N=C,C=r[r.length-2],S=!0),!C)return;let I=function(e,t){let n,r="children"in e?e.children:[],i=k(e),a=T(e,{whitespace:(t||{}).whitespace||"normal",breakBefore:!1,breakAfter:!1}),s=[];("text"===e.type||"comment"===e.type)&&s.push(...E(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<r.length;)s.push(...function e(t,n,r){return"element"===t.type?function(t,n,r){let i,a,s=T(t,r),o=t.children||[],l=-1,u=[];if(_(t))return u;for(m(t)||b(t)&&c(n,t,b)?a="\n":y(t)?(i=2,a=2):k(t)&&(i=1,a=1);++l<o.length;)u=u.concat(e(o[l],t,{whitespace:s,breakBefore:l?void 0:i,breakAfter:l<o.length-1?m(o[l+1]):a}));return g(t)&&c(n,t,g)&&u.push(" "),i&&u.unshift(i),a&&u.push(a),u}(t,n,r):"text"===t.type?"normal"===r.whitespace?E(t,r):[String(t.value)]:[]}(r[o],e,{whitespace:a,breakBefore:o?void 0:i,breakAfter:o<r.length-1?m(r[o+1]):i}));let l=[];for(o=-1;++o<s.length;){let e=s[o];"number"==typeof e?void 0!==n&&e>n&&(n=e):e&&(void 0!==n&&n>-1&&l.push("\n".repeat(n)||" "),n=-1,l.push(e))}return l.join("")}(N,{whitespace:"pre"});try{h=x.default.renderToString(I,{...t,displayMode:S,throwOnError:!0})}catch(a){let i=a.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...r,e],cause:a,place:e.position,ruleId:i,source:"rehype-katex"});try{h=x.default.renderToString(I,{...t,displayMode:S,strict:"ignore",throwOnError:!1})}catch{h=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(a)},children:[{type:"text",value:I}]}]}}"string"==typeof h&&(h=(i=h,s={fragment:!0},a(s?.fragment?(l=i,(u=document.createElement("template")).innerHTML=l,u.content):o.parseFromString(i,"text/html"),{})||{type:"root",children:[]}).children);let D=C.children.indexOf(N);return C.children.splice(D,1,...h),A._Z})}}var C=n(23091),N=n(7659),I=n(62835),D=n(4294);let O={tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(e.consume(r),s++,t):s<2?n(r):(e.exit("mathFlowFenceSequence"),(0,I.N)(e,o,"whitespace")(r))}(t)};function o(t){return null===t||(0,D.HP)(t)?l(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(r){return null===r||(0,D.HP)(r)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),l(r)):36===r?n(r):(e.consume(r),t)}(t))}function l(n){return(e.exit("mathFlowFence"),r.interrupt)?t(n):e.attempt(M,c,p)(n)}function c(t){return e.attempt({tokenize:d,partial:!0},p,u)(t)}function u(t){return(a?(0,I.N)(e,h,"linePrefix",a+1):h)(t)}function h(t){return null===t?p(t):(0,D.HP)(t)?e.attempt(M,c,p)(t):(e.enter("mathFlowValue"),function t(n){return null===n||(0,D.HP)(n)?(e.exit("mathFlowValue"),h(n)):(e.consume(n),t)}(t))}function p(n){return e.exit("mathFlow"),t(n)}function d(e,t,n){let i=0;return(0,I.N)(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(r){return 36===r?(i++,e.consume(r),t):i<s?n(r):(e.exit("mathFlowFenceSequence"),(0,I.N)(e,a,"whitespace")(r))}(t)},"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(r){return null===r||(0,D.HP)(r)?(e.exit("mathFlowFence"),t(r)):n(r)}}},concrete:!0,name:"mathFlow"},M={tokenize:function(e,t,n){let r=this;return function(n){return null===n?t(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0};function L(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("mathTextData"===e[t][1].type){e[r][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="mathTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e}function R(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}let P={};function F(e){let t,n=e||P,r=this.data(),i=r.micromarkExtensions||(r.micromarkExtensions=[]),a=r.fromMarkdownExtensions||(r.fromMarkdownExtensions=[]),s=r.toMarkdownExtensions||(r.toMarkdownExtensions=[]);i.push({flow:{36:O},text:{36:(null==(t=(n||{}).singleDollarTextMath)&&(t=!0),{tokenize:function(e,n,r){let i,a,s=0;return function(n){return e.enter("mathText"),e.enter("mathTextSequence"),function n(i){return 36===i?(e.consume(i),s++,n):s<2&&!t?r(i):(e.exit("mathTextSequence"),o(i))}(n)};function o(t){return null===t?r(t):36===t?(a=e.enter("mathTextSequence"),i=0,function t(r){return 36===r?(e.consume(r),i++,t):i===s?(e.exit("mathTextSequence"),e.exit("mathText"),n(r)):(a.type="mathTextData",l(r))}(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),o):(0,D.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o):(e.enter("mathTextData"),l(t))}function l(t){return null===t||32===t||36===t||(0,D.HP)(t)?(e.exit("mathTextData"),o(t)):(e.consume(t),l)}},resolve:L,previous:R,name:"mathText"})}}),a.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),n=this.stack[this.stack.length-1];(0,C.ok)("math"===n.type),this.exit(e),n.value=t;let r=n.data.hChildren[0];(0,C.ok)("element"===r.type),(0,C.ok)("code"===r.tagName),r.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];(0,C.ok)("math"===t.type),t.meta=e},mathFlowValue:e,mathText:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,C.ok)("inlineMath"===n.type),this.exit(e),n.value=t,n.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),s.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),n.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,n,r){let i=e.value||"",a=n.createTracker(r),s="$".repeat(Math.max((0,N.D)(i,"$")+1,2)),o=n.enter("mathFlow"),l=a.move(s);if(e.meta){let t=n.enter("mathFlowMeta");l+=a.move(n.safe(e.meta,{after:"\n",before:l,encode:["$"],...a.current()})),t()}return l+=a.move("\n"),i&&(l+=a.move(i+"\n")),l+=a.move(s),o(),l},inlineMath:n}};function n(e,n,r){let i=e.value||"",a=1;for(!t&&a++;RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(i);)a++;let s="$".repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let o=-1;for(;++o<r.unsafe.length;){let e,t=r.unsafe[o];if(!t.atBreak)continue;let n=r.compilePattern(t);for(;e=n.exec(i);){let t=e.index;10===i.codePointAt(t)&&13===i.codePointAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(e.index+1)}}return s+i+s}}(n))}var B=function(e={}){var t,n;return{name:"katex",type:"math",remarkPlugin:[F,{singleDollarTextMath:null!=(t=e.singleDollarTextMath)&&t}],rehypePlugin:[S,{errorColor:null!=(n=e.errorColor)?n:"var(--color-muted-foreground)"}],getStyles:()=>"katex/dist/katex.min.css"}}()},78115:(e,t,n)=>{"use strict";n.d(t,{h:()=>h,s:()=>p});var r=n(4918),i=n(86994);let a=/[#.]/g;var s=n(38609),o=n(68289),l=n(51705);function c(e,t,n){let r=n?function(e){let t=new Map;for(let n of e)t.set(n.toLowerCase(),n);return t}(n):void 0;return function(n,o,...c){let h;if(null==n)h={type:"root",children:[]},c.unshift(o);else{let p=(h=function(e,t){let n,r,i=e||"",s={},o=0;for(;o<i.length;){a.lastIndex=o;let e=a.exec(i),t=i.slice(o,e?e.index:i.length);t&&(n?"#"===n?s.id=t:Array.isArray(s.className)?s.className.push(t):s.className=[t]:r=t,o+=t.length),e&&(n=e[0],o++)}return{type:"element",tagName:r||t||"div",properties:s,children:[]}}(n,t)).tagName.toLowerCase(),d=r?r.get(p):void 0;if(h.tagName=d||p,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let n=e[t];if(n&&"object"==typeof n){if(!Array.isArray(n))return!0;for(let e of n)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(o))c.unshift(o);else for(let[t,n]of Object.entries(o))!function(e,t,n,r){let a,o=(0,s.I)(e,n);if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r}else a="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?(0,l.q)(r):o.commaSeparated?(0,i.q)(r):o.commaOrSpaceSeparated?(0,l.q)((0,i.q)(r).join(" ")):u(o,o.property,r):Array.isArray(r)?[...r]:"style"===o.property?function(e){let t=[];for(let[n,r]of Object.entries(e))t.push([n,r].join(": "));return t.join("; ")}(r):String(r);if(Array.isArray(a)){let e=[];for(let t of a)e.push(u(o,o.property,t));a=e}"className"===o.property&&Array.isArray(t.className)&&(a=t.className.concat(a)),t[o.property]=a}}(e,h.properties,t,n)}for(let e of c)!function e(t,n){if(null==n);else if("number"==typeof n||"string"==typeof n)t.push({type:"text",value:String(n)});else if(Array.isArray(n))for(let r of n)e(t,r);else if("object"==typeof n&&"type"in n)"root"===n.type?e(t,n.children):t.push(n);else throw Error("Expected node, nodes, or string, got `"+n+"`")}(h.children,e);return"element"===h.type&&"template"===h.tagName&&(h.content={type:"root",children:h.children},h.children=[]),h}}function u(e,t,n){if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n);if((e.boolean||e.overloadedBoolean)&&(""===n||(0,o.S)(n)===(0,o.S)(t)))return!0}return n}let h=c(r.qy,"div"),p=c(r.JW,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"])},78140:(e,t,n)=>{"use strict";n.d(t,{H:()=>x});var r=n(86994),i=n(23091);let a=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,s=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o={};function l(e,t){return((t||o).jsx?s:a).test(e)}var c=n(36887),u=n(4918),h=n(38609);let p={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};var d=n(51705),f=n(32682),m=n(7370),g=n(56424);let y={}.hasOwnProperty,b=new Map,_=/[A-Z]/g,k=new Set(["table","tbody","thead","tfoot","tr"]),E=new Set(["td","th"]),T="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function x(e,t){var n,r,i,a;let s;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let o=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=o,r=t.jsxDEV,s=function(e,t,i,a){let s=Array.isArray(i.children),o=(0,m.PW)(e);return r(t,i,a,s,{columnNumber:o?o.column-1:void 0,fileName:n,lineNumber:o?o.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,s=function(e,t,n,r){let s=Array.isArray(n.children)?a:i;return r?s(t,n,r):s(t,n)}}let l={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:s,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:o,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?u.JW:u.qy,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=A(l,e,void 0);return c&&"string"!=typeof c?c:l.create(e,l.Fragment,{children:c||void 0},void 0)}function A(e,t,n){var a,s,o,l,m,b,x,A,D;let O,M,L,R,P,F,B,H,U,j,$;return"element"===t.type?(a=e,s=t,o=n,M=O=a.schema,"svg"===s.tagName.toLowerCase()&&"html"===O.space&&(a.schema=u.JW),a.ancestors.push(s),L=C(a,s.tagName,!1),R=function(e,t){let n,i,a={};for(i in t.properties)if("children"!==i&&y.call(t.properties,i)){let s=function(e,t,n){let i=(0,h.I)(e.schema,t);if(!(null==n||"number"==typeof n&&Number.isNaN(n))){if(Array.isArray(n)&&(n=i.commaSeparated?(0,r.A)(n):(0,d.A)(n)),"style"===i.property){let t="object"==typeof n?n:function(e,t){try{return f(t,{reactCompat:!0})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new g.o("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=T+"#cannot-parse-style-attribute",t}}(e,String(n));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,n={};for(t in e)y.call(e,t)&&(n[function(e){let t=e.replace(_,I);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&i.space?p[i.property]||i.property:i.attribute,n]}}(e,i,t.properties[i]);if(s){let[r,i]=s;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof i&&E.has(t.tagName)?n=i:a[r]=i}}return n&&((a.style||(a.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),a}(a,s),P=S(a,s),k.has(s.tagName)&&(P=P.filter(function(e){return"string"!=typeof e||!(0,c.m)(e)})),w(a,R,L,s),v(R,P),a.ancestors.pop(),a.schema=O,a.create(s,L,R,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let n=t.data.estree.body[0];return(0,i.ok)("ExpressionStatement"===n.type),e.evaluater.evaluateExpression(n.expression)}N(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(l=e,m=t,b=n,B=F=l.schema,"svg"===m.name&&"html"===F.space&&(l.schema=u.JW),l.ancestors.push(m),H=null===m.name?l.Fragment:C(l,m.name,!0),U=function(e,t){let n={};for(let r of t.attributes)if("mdxJsxExpressionAttribute"===r.type)if(r.data&&r.data.estree&&e.evaluater){let t=r.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type);let a=t.expression;(0,i.ok)("ObjectExpression"===a.type);let s=a.properties[0];(0,i.ok)("SpreadElement"===s.type),Object.assign(n,e.evaluater.evaluateExpression(s.argument))}else N(e,t.position);else{let a,s=r.name;if(r.value&&"object"==typeof r.value)if(r.value.data&&r.value.data.estree&&e.evaluater){let t=r.value.data.estree.body[0];(0,i.ok)("ExpressionStatement"===t.type),a=e.evaluater.evaluateExpression(t.expression)}else N(e,t.position);else a=null===r.value||r.value;n[s]=a}return n}(l,m),j=S(l,m),w(l,U,H,m),v(U,j),l.ancestors.pop(),l.schema=F,l.create(m,H,U,b)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);N(e,t.position)}(e,t):"root"===t.type?(x=e,A=t,D=n,v($={},S(x,A)),x.create(A,x.Fragment,$,D)):"text"===t.type?t.value:void 0}function w(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function v(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function S(e,t){let n=[],r=-1,i=e.passKeys?new Map:b;for(;++r<t.children.length;){let a,s=t.children[r];if(e.passKeys){let e="element"===s.type?s.tagName:"mdxJsxFlowElement"===s.type||"mdxJsxTextElement"===s.type?s.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let o=A(e,s,a);void 0!==o&&n.push(o)}return n}function C(e,t,n){let r;if(n)if(t.includes(".")){let e,n=t.split("."),a=-1;for(;++a<n.length;){let t=l(n[a])?{type:"Identifier",name:n[a]}:{type:"Literal",value:n[a]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(a&&"Literal"===t.type),optional:!1}:t}(0,i.ok)(e,"always a result"),r=e}else r=l(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else r={type:"Literal",value:t};if("Literal"===r.type){let t=r.value;return y.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(r);N(e)}function N(e,t){let n=new g.o("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw n.file=e.filePath||void 0,n.url=T+"#cannot-handle-mdx-estrees-without-createevaluater",n}function I(e){return"-"+e.toLowerCase()}},78437:(e,t,n)=>{"use strict";function r(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}n.d(t,{b:()=>r})},78750:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>h});let r="object"==typeof self?self:globalThis,i=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new r[e](t)},a=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=a=>{if(t.has(a))return t.get(a);let[s,o]=e[a];switch(s){case 0:case -1:return n(o,a);case 1:{let e=n([],a);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},a);for(let[t,n]of o)e[r(t)]=r(n);return e}case 3:return n(new Date(o),a);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),a)}case 5:{let e=n(new Map,a);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,a);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n(i(e,t),a)}case 8:return n(BigInt(o),a);case"BigInt":return n(Object(BigInt(o)),a);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}}return n(i(s,o),a)})(0)},{toString:s}={},{keys:o}=Object,l=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=s.call(e).slice(8,-1);switch(n){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,n]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},c=([e,t])=>0===e&&("function"===t||"symbol"===t),u=(e,{json:t,lossy:n}={})=>{var r,i,a;let s,u,h=[];return(r=!(t||n),i=!!t,a=new Map,s=(e,t)=>{let n=h.push(e)-1;return a.set(t,n),n},u=e=>{if(a.has(e))return a.get(e);let[t,n]=l(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return s([-1],e)}return s([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),s([n,[...t]],e)}let r=[],i=s([t,r],e);for(let t of e)r.push(u(t));return i}case 2:{if(n)switch(n){case"BigInt":return s([n,e.toString()],e);case"Boolean":case"Number":case"String":return s([n,e.valueOf()],e)}if(i&&"toJSON"in e)return u(e.toJSON());let a=[],h=s([t,a],e);for(let t of o(e))(r||!c(l(e[t])))&&a.push([u(t),u(e[t])]);return h}case 3:return s([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return s([t,{source:n,flags:r}],e)}case 5:{let n=[],i=s([t,n],e);for(let[t,i]of e)(r||!(c(l(t))||c(l(i))))&&n.push([u(t),u(i)]);return i}case 6:{let n=[],i=s([t,n],e);for(let t of e)(r||!c(l(t)))&&n.push(u(t));return i}}let{message:h}=e;return s([t,{name:n,message:h}],e)})(e),h},h="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?a(u(e,t)):structuredClone(e):(e,t)=>a(u(e,t))},79204:(e,t,n)=>{"use strict";n.d(t,{A:()=>eM});var r=n(49884),i=n(23091),a=n(4294),s=n(20768),o=n(73129);let l="phrasing",c=["autolink","link","image","label"];function u(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function h(e){this.config.enter.autolinkProtocol.call(this,e)}function p(e){this.config.exit.autolinkProtocol.call(this,e)}function d(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];(0,i.ok)("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function f(e){this.config.exit.autolinkEmail.call(this,e)}function m(e){this.exit(e)}function g(e){!function(e,t,n){let r=(0,o.C)((n||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let n=!e[0]||Array.isArray(e[0])?e:[e],r=-1;for(;++r<n.length;){var i;let e=n[r];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),a=-1;for(;++a<i.length;)(0,s.VG)(e,"text",l);function l(e,t){let n,s=-1;for(;++s<t.length;){let e=t[s],i=n?n.children:void 0;if(r(e,i?i.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){let n=t[t.length-1],r=i[a][0],s=i[a][1],o=0,l=n.children.indexOf(e),c=!1,u=[];r.lastIndex=0;let h=r.exec(e.value);for(;h;){let n=h.index,i={index:h.index,input:h.input,stack:[...t,e]},a=s(...h,i);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?r.lastIndex=n+1:(o!==n&&u.push({type:"text",value:e.value.slice(o,n)}),Array.isArray(a)?u.push(...a):a&&u.push(a),o=n+h[0].length,c=!0),!r.global)break;h=r.exec(e.value)}return c?(o<e.value.length&&u.push({type:"text",value:e.value.slice(o)}),n.children.splice(l,1,...u)):u=[e],l+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,y],[/(?<=^|\s|\p{P}|\p{S})([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/gu,b]],{ignore:["link","linkReference"]})}function y(e,t,n,i,a){let s,o="";if(!_(a))return!1;if(/^w/i.test(t)&&(n=t+n,t="",o="http://"),(s=n.split(".")).length<2||s[s.length-1]&&(/_/.test(s[s.length-1])||!/[a-zA-Z\d]/.test(s[s.length-1]))||s[s.length-2]&&(/_/.test(s[s.length-2])||!/[a-zA-Z\d]/.test(s[s.length-2])))return!1;let l=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],i=n.indexOf(")"),a=(0,r.D)(e,"("),s=(0,r.D)(e,")");for(;-1!==i&&a>s;)e+=n.slice(0,i+1),i=(n=n.slice(i+1)).indexOf(")"),s++;return[e,n]}(n+i);if(!l[0])return!1;let c={type:"link",title:null,url:o+t+l[0],children:[{type:"text",value:t+l[0]}]};return l[1]?[c,{type:"text",value:l[1]}]:c}function b(e,t,n,r){return!(!_(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function _(e,t){let n=e.input.charCodeAt(e.index-1);return(0===e.index||(0,a.Ny)(n)||(0,a.es)(n))&&(!t||47!==n)}var k=n(76548);function E(){this.buffer()}function T(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function x(){this.buffer()}function A(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function w(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteReference"===n.type),n.identifier=(0,k.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function v(e){this.exit(e)}function S(e){let t=this.resume(),n=this.stack[this.stack.length-1];(0,i.ok)("footnoteDefinition"===n.type),n.identifier=(0,k.B)(this.sliceSerialize(e)).toLowerCase(),n.label=t}function C(e){this.exit(e)}function N(e,t,n,r){let i=n.createTracker(r),a=i.move("[^"),s=n.enter("footnoteReference"),o=n.enter("reference");return a+=i.move(n.safe(n.associationId(e),{after:"]",before:a})),o(),s(),a+=i.move("]")}function I(e,t,n){return 0===t?e:D(e,t,n)}function D(e,t,n){return(n?"":" ")+e}N.peek=function(){return"["};let O=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function M(e){this.enter({type:"delete",children:[]},e)}function L(e){this.exit(e)}function R(e,t,n,r){let i=n.createTracker(r),a=n.enter("strikethrough"),s=i.move("~~");return s+=n.containerPhrasing(e,{...i.current(),before:s,after:"~"}),s+=i.move("~~"),a(),s}function P(e){return e.length}function F(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}R.peek=function(){return"~"};n(7659);var B=n(84693);n(48250);n(48006);function H(e,t,n){let r=e.value||"",i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(r);)i+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){let e,t=n.unsafe[a],i=n.compilePattern(t);if(t.atBreak)for(;e=i.exec(r);){let t=e.index;10===r.charCodeAt(t)&&13===r.charCodeAt(t-1)&&t--,r=r.slice(0,t)+" "+r.slice(e.index+1)}}return i+r+i}H.peek=function(){return"`"};(0,o.C)(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let U=function(e,t,n,r){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(n),a=n.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(n);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a);let s=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(s=4*Math.ceil(s/4));let o=n.createTracker(r);o.move(a+" ".repeat(s-a.length)),o.shift(s);let l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,o.current()),function(e,t,n){return t?(n?"":" ".repeat(s))+e:(n?a:a+" ".repeat(s-a.length))+e});return l(),c};function j(e){let t=e._align;(0,i.ok)(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function $(e){this.exit(e),this.data.inTable=void 0}function z(e){this.enter({type:"tableRow",children:[]},e)}function G(e){this.exit(e)}function K(e){this.enter({type:"tableCell",children:[]},e)}function Y(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,q));let n=this.stack[this.stack.length-1];(0,i.ok)("inlineCode"===n.type),n.value=t,this.exit(e)}function q(e,t){return"|"===t?t:e}function W(e){let t=this.stack[this.stack.length-2];(0,i.ok)("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function V(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];(0,i.ok)("paragraph"===e.type);let n=e.children[0];if(n&&"text"===n.type){let r,i=t.children,a=-1;for(;++a<i.length;){let e=i[a];if("paragraph"===e.type){r=e;break}}r===e&&(n.value=n.value.slice(1),0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function X(e,t,n,r){let i=e.children[0],a="boolean"==typeof e.checked&&i&&"paragraph"===i.type,s="["+(e.checked?"x":" ")+"] ",o=n.createTracker(r);a&&o.move(s);let l=U(e,t,n,{...r,...o.current()});return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+s})),l}var Q=n(50783);let Z={tokenize:function(e,t,n){let r=0;return function t(a){return(87===a||119===a)&&r<3?(r++,e.consume(a),t):46===a&&3===r?(e.consume(a),i):n(a)};function i(e){return null===e?n(e):t(e)}},partial:!0},J={tokenize:function(e,t,n){let r,i,s;return o;function o(t){return 46===t||95===t?e.check(et,c,l)(t):null===t||(0,a.Ee)(t)||(0,a.Ny)(t)||45!==t&&(0,a.es)(t)?c(t):(s=!0,e.consume(t),o)}function l(t){return 95===t?r=!0:(i=r,r=void 0),e.consume(t),o}function c(e){return i||r||!s?n(e):t(e)}},partial:!0},ee={tokenize:function(e,t){let n=0,r=0;return i;function i(o){return 40===o?(n++,e.consume(o),i):41===o&&r<n?s(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(et,t,s)(o):null===o||(0,a.Ee)(o)||(0,a.Ny)(o)?t(o):(e.consume(o),i)}function s(t){return 41===t&&r++,e.consume(t),i}},partial:!0},et={tokenize:function(e,t,n){return r;function r(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),r):38===o?(e.consume(o),s):93===o?(e.consume(o),i):60===o||null===o||(0,a.Ee)(o)||(0,a.Ny)(o)?t(o):n(o)}function i(e){return null===e||40===e||91===e||(0,a.Ee)(e)||(0,a.Ny)(e)?t(e):r(e)}function s(t){return(0,a.CW)(t)?function t(i){return 59===i?(e.consume(i),r):(0,a.CW)(i)?(e.consume(i),t):n(i)}(t):n(t)}},partial:!0},en={tokenize:function(e,t,n){return function(t){return e.consume(t),r};function r(e){return(0,a.lV)(e)?n(e):t(e)}},partial:!0},er={name:"wwwAutolink",tokenize:function(e,t,n){let r=this;return function(t){return 87!==t&&119!==t||!el.call(r,r.previous)||ep(r.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Z,e.attempt(J,e.attempt(ee,i),n),n)(t))};function i(n){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:el},ei={name:"protocolAutolink",tokenize:function(e,t,n){let r=this,i="",s=!1;return function(t){return(72===t||104===t)&&ec.call(r,r.previous)&&!ep(r.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),o):n(t)};function o(t){if((0,a.CW)(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),o;if(58===t){let n=i.toLowerCase();if("http"===n||"https"===n)return e.consume(t),l}return n(t)}function l(t){return 47===t?(e.consume(t),s)?c:(s=!0,l):n(t)}function c(t){return null===t||(0,a.JQ)(t)||(0,a.Ee)(t)||(0,a.Ny)(t)||(0,a.es)(t)?n(t):e.attempt(J,e.attempt(ee,u),n)(t)}function u(n){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},previous:ec},ea={name:"emailAutolink",tokenize:function(e,t,n){let r,i,s=this;return function(t){return!eh(t)||!eu.call(s,s.previous)||ep(s.events)?n(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(r){return eh(r)?(e.consume(r),t):64===r?(e.consume(r),o):n(r)}(t))};function o(t){return 46===t?e.check(en,c,l)(t):45===t||95===t||(0,a.lV)(t)?(i=!0,e.consume(t),o):c(t)}function l(t){return e.consume(t),r=!0,o}function c(o){return i&&r&&(0,a.CW)(s.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):n(o)}},previous:eu},es={},eo=48;for(;eo<123;)es[eo]=ea,58==++eo?eo=65:91===eo&&(eo=97);function el(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||(0,a.Ee)(e)}function ec(e){return!(0,a.CW)(e)}function eu(e){return!(47===e||eh(e))}function eh(e){return 43===e||45===e||46===e||95===e||(0,a.lV)(e)}function ep(e){let t=e.length,n=!1;for(;t--;){let r=e[t][1];if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}es[43]=ea,es[45]=ea,es[46]=ea,es[95]=ea,es[72]=[ea,ei],es[104]=[ea,ei],es[87]=[ea,er],es[119]=[ea,er];var ed=n(50055),ef=n(62835);let em={tokenize:function(e,t,n){let r=this;return(0,ef.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):n(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function eg(e,t,n){let r,i=this,a=i.events.length,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){r=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!r||!r._balanced)return n(a);let o=(0,k.B)(i.sliceSerialize({start:r.end,end:i.now()}));return 94===o.codePointAt(0)&&s.includes(o.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function ey(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";let r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},o=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",s,t],["exit",s,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...o),e}function eb(e,t,n){let r,i=this,s=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",c)}function c(l){if(o>999||93===l&&!r||null===l||91===l||(0,a.Ee)(l))return n(l);if(93===l){e.exit("chunkString");let r=e.exit("gfmFootnoteCallString");return s.includes((0,k.B)(i.sliceSerialize(r)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(l)}return(0,a.Ee)(l)||(r=!0),o++,e.consume(l),92===l?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),o++,c):c(t)}}function e_(e,t,n){let r,i,s=this,o=s.parser.gfmFootnotes||(s.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),c};function c(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",u):n(t)}function u(t){if(l>999||93===t&&!i||null===t||91===t||(0,a.Ee)(t))return n(t);if(93===t){e.exit("chunkString");let n=e.exit("gfmFootnoteDefinitionLabelString");return r=(0,k.B)(s.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return(0,a.Ee)(t)||(i=!0),l++,e.consume(t),92===t?h:u}function h(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}function p(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(r)||o.push(r),(0,ef.N)(e,d,"gfmFootnoteDefinitionWhitespace")):n(t)}function d(e){return t(e)}}function ek(e,t,n){return e.check(ed.B,t,e.attempt(em,t,n))}function eE(e){e.exit("gfmFootnoteDefinition")}var eT=n(41161),ex=n(49359);class eA{constructor(){this.map=[]}add(e,t,n){!function(e,t,n,r){let i=0;if(0!==n||0!==r.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=n,e.map[i][2].push(...r);return}i+=1}e.map.push([t,n,r])}}(this,e,t,n)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,n=[];for(;t>0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push(e.slice()),e.length=0;let r=n.pop();for(;r;){for(let t of r)e.push(t);r=n.pop()}this.map.length=0}}function ew(e,t,n){let r,i=this,s=0,o=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let r=t>-1?i.events[t][1].type:null,a="tableHead"===r||"tableRow"===r?_:l;return a===_&&i.parser.lazy[i.now().line]?n(e):a(e)};function l(t){var n;return e.enter("tableHead"),e.enter("tableRow"),124===(n=t)||(r=!0,o+=1),c(n)}function c(t){return null===t?n(t):(0,a.HP)(t)?o>1?(o=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p):n(t):(0,a.On)(t)?(0,ef.N)(e,c,"whitespace")(t):(o+=1,r&&(r=!1,s+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),r=!0,c):(e.enter("data"),u(t))}function u(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),c(t)):(e.consume(t),92===t?h:u)}function h(t){return 92===t||124===t?(e.consume(t),u):u(t)}function p(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?n(t):(e.enter("tableDelimiterRow"),r=!1,(0,a.On)(t))?(0,ef.N)(e,d,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):d(t)}function d(t){return 45===t||58===t?m(t):124===t?(r=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),f):n(t)}function f(t){return(0,a.On)(t)?(0,ef.N)(e,m,"whitespace")(t):m(t)}function m(t){return 58===t?(o+=1,r=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),g):45===t?(o+=1,g(t)):null===t||(0,a.HP)(t)?b(t):n(t)}function g(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(n){return 45===n?(e.consume(n),t):58===n?(r=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(n),e.exit("tableDelimiterMarker"),y):(e.exit("tableDelimiterFiller"),y(n))}(t)):n(t)}function y(t){return(0,a.On)(t)?(0,ef.N)(e,b,"whitespace")(t):b(t)}function b(i){if(124===i)return d(i);if(null===i||(0,a.HP)(i))return r&&s===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):n(i);return n(i)}function _(t){return e.enter("tableRow"),k(t)}function k(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),k):null===n||(0,a.HP)(n)?(e.exit("tableRow"),t(n)):(0,a.On)(n)?(0,ef.N)(e,k,"whitespace")(n):(e.enter("data"),E(n))}function E(t){return null===t||124===t||(0,a.Ee)(t)?(e.exit("data"),k(t)):(e.consume(t),92===t?T:E)}function T(t){return 92===t||124===t?(e.consume(t),E):E(t)}}function ev(e,t){let n,r,i,a=-1,s=!0,o=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,h=0,p=new eA;for(;++a<e.length;){let d=e[a],f=d[1];"enter"===d[0]?"tableHead"===f.type?(u=!1,0!==h&&(eC(p,t,h,n,r),r=void 0,h=0),n={type:"table",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(a,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(s=!0,i=void 0,l=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",start:Object.assign({},f.start),end:Object.assign({},f.end)},p.add(a,0,[["enter",r,t]])),o="tableDelimiterRow"===f.type?2:r?3:1):o&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)?(s=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],i=eS(p,t,l,o,void 0,i),l=[0,0,0,0]),c[2]=a)):"tableCellDivider"===f.type&&(s?s=!1:(0!==l[1]&&(c[0]=c[1],i=eS(p,t,l,o,void 0,i)),c=[(l=c)[1],a,0,0])):"tableHead"===f.type?(u=!0,h=a):"tableRow"===f.type||"tableDelimiterRow"===f.type?(h=a,0!==l[1]?(c[0]=c[1],i=eS(p,t,l,o,a,i)):0!==c[1]&&(i=eS(p,t,c,o,a,i)),o=0):o&&("data"===f.type||"tableDelimiterMarker"===f.type||"tableDelimiterFiller"===f.type)&&(c[3]=a)}for(0!==h&&eC(p,t,h,n,r),p.consume(t.events),a=-1;++a<t.events.length;){let e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let n=!1,r=[];for(;t<e.length;){let i=e[t];if(n){if("enter"===i[0])"tableContent"===i[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=r.length-1;r[e]="left"===r[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(n=!0);t+=1}return r}(t.events,a))}return e}function eS(e,t,n,r,i,a){0!==n[0]&&(a.end=Object.assign({},eN(t.events,n[0])),e.add(n[0],0,[["exit",a,t]]));let s=eN(t.events,n[1]);if(a={type:1===r?"tableHeader":2===r?"tableDelimiter":"tableData",start:Object.assign({},s),end:Object.assign({},s)},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){let i=eN(t.events,n[2]),a=eN(t.events,n[3]),s={type:"tableContent",start:Object.assign({},i),end:Object.assign({},a)};if(e.add(n[2],0,[["enter",s,t]]),2!==r){let r=t.events[n[2]],i=t.events[n[3]];if(r[1].end=Object.assign({},i[1].end),r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){let t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",s,t]])}return void 0!==i&&(a.end=Object.assign({},eN(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function eC(e,t,n,r,i){let a=[],s=eN(t.events,n);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),r.end=Object.assign({},s),a.push(["exit",r,t]),e.add(n+1,0,a)}function eN(e,t){let n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}let eI={name:"tasklistCheck",tokenize:function(e,t,n){let r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):n(t)};function i(t){return(0,a.Ee)(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),s):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),s):n(t)}function s(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):n(t)}function o(r){return(0,a.HP)(r)?t(r):(0,a.On)(r)?e.check({tokenize:eD},t,n)(r):n(r)}}};function eD(e,t,n){return(0,ef.N)(e,function(e){return null===e?n(e):t(e)},"whitespace")}let eO={};function eM(e){var t;let n,r,i,a=e||eO,s=this.data(),o=s.micromarkExtensions||(s.micromarkExtensions=[]),y=s.fromMarkdownExtensions||(s.fromMarkdownExtensions=[]),b=s.toMarkdownExtensions||(s.toMarkdownExtensions=[]);o.push((t=a,(0,Q.y)([{text:es},{document:{91:{name:"gfmFootnoteDefinition",tokenize:e_,continuation:{tokenize:ek},exit:eE}},text:{91:{name:"gfmFootnoteCall",tokenize:eb},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:eg,resolveTo:ey}}},(n=(t||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,t,r){let i=this.previous,a=this.events,s=0;return function(o){return 126===i&&"characterEscape"!==a[a.length-1][1].type?r(o):(e.enter("strikethroughSequenceTemporary"),function a(o){let l=(0,B.S)(i);if(126===o)return s>1?r(o):(e.consume(o),s++,a);if(s<2&&!n)return r(o);let c=e.exit("strikethroughSequenceTemporary"),u=(0,B.S)(o);return c._open=!u||2===u&&!!l,c._close=!l||2===l&&!!u,t(o)}(o))}},resolveAll:function(e,t){let n=-1;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){let r=n;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[r][1].start),end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)},s=[["enter",i,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],o=t.parser.constructs.insideSpan.null;o&&(0,eT.m)(s,s.length,0,(0,ex.W)(o,e.slice(r+1,n),t)),(0,eT.m)(s,s.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",i,t]]),(0,eT.m)(e,r-1,n-r+3,s),n=r+s.length-2;break}}for(n=-1;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data");return e}},null==n&&(n=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}),{flow:{null:{name:"table",tokenize:ew,resolveAll:ev}}},{text:{91:eI}}]))),y.push([{transforms:[g],enter:{literalAutolink:u,literalAutolinkEmail:h,literalAutolinkHttp:h,literalAutolinkWww:h},exit:{literalAutolink:m,literalAutolinkEmail:f,literalAutolinkHttp:p,literalAutolinkWww:d}},{enter:{gfmFootnoteCallString:E,gfmFootnoteCall:T,gfmFootnoteDefinitionLabelString:x,gfmFootnoteDefinition:A},exit:{gfmFootnoteCallString:w,gfmFootnoteCall:v,gfmFootnoteDefinitionLabelString:S,gfmFootnoteDefinition:C}},{canContainEols:["delete"],enter:{strikethrough:M},exit:{strikethrough:L}},{enter:{table:j,tableData:K,tableHeader:K,tableRow:z},exit:{codeText:Y,table:$,tableData:G,tableHeader:G,tableRow:G}},{exit:{taskListCheckValueChecked:W,taskListCheckValueUnchecked:W,paragraph:V}}]),b.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:c},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:l,notInConstruct:c},{character:":",before:"[ps]",after:"\\/",inConstruct:l,notInConstruct:c}]},(i=!1,a&&a.firstLineBlank&&(i=!0),{handlers:{footnoteDefinition:function(e,t,n,r){let a=n.createTracker(r),s=a.move("[^"),o=n.enter("footnoteDefinition"),l=n.enter("label");return s+=a.move(n.safe(n.associationId(e),{before:s,after:"]"})),l(),s+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),s+=a.move((i?"\n":" ")+n.indentLines(n.containerFlow(e,a.current()),i?D:I))),o(),s},footnoteReference:N},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:O}],handlers:{delete:R}},function(e){let t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,i=t.stringLength,a=n?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,n){let r=H(e,t,n);return n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&")),r},table:function(e,t,n,r){return o(function(e,t,n){let r=e.children,i=-1,a=[],s=t.enter("table");for(;++i<r.length;)a[i]=l(r[i],t,n);return s(),a}(e,n,r),e.align)},tableCell:s,tableRow:function(e,t,n,r){let i=o([l(e,n,r)]);return i.slice(0,i.indexOf("\n"))}}};function s(e,t,n,r){let i=n.enter("tableCell"),s=n.enter("phrasing"),o=n.containerPhrasing(e,{...r,before:a,after:a});return s(),i(),o}function o(e,t){return function(e,t){let n=t||{},r=(n.align||[]).concat(),i=n.stringLength||P,a=[],s=[],o=[],l=[],c=0,u=-1;for(;++u<e.length;){let t=[],r=[],a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){var h;let s=null==(h=e[u][a])?"":String(h);if(!1!==n.alignDelimiters){let e=i(s);r[a]=e,(void 0===l[a]||e>l[a])&&(l[a]=e)}t.push(s)}s[u]=t,o[u]=r}let p=-1;if("object"==typeof r&&"length"in r)for(;++p<c;)a[p]=F(r[p]);else{let e=F(r);for(;++p<c;)a[p]=e}p=-1;let d=[],f=[];for(;++p<c;){let e=a[p],t="",r="";99===e?(t=":",r=":"):108===e?t=":":114===e&&(r=":");let i=!1===n.alignDelimiters?1:Math.max(1,l[p]-t.length-r.length),s=t+"-".repeat(i)+r;!1!==n.alignDelimiters&&((i=t.length+i+r.length)>l[p]&&(l[p]=i),f[p]=i),d[p]=s}s.splice(1,0,d),o.splice(1,0,f),u=-1;let m=[];for(;++u<s.length;){let e=s[u],t=o[u];p=-1;let r=[];for(;++p<c;){let i=e[p]||"",s="",o="";if(!1!==n.alignDelimiters){let e=l[p]-(t[p]||0),n=a[p];114===n?s=" ".repeat(e):99===n?e%2?(s=" ".repeat(e/2+.5),o=" ".repeat(e/2-.5)):o=s=" ".repeat(e/2):o=" ".repeat(e)}!1===n.delimiterStart||p||r.push("|"),!1!==n.padding&&(!1!==n.alignDelimiters||""!==i)&&(!1!==n.delimiterStart||p)&&r.push(" "),!1!==n.alignDelimiters&&r.push(s),r.push(i),!1!==n.alignDelimiters&&r.push(o),!1!==n.padding&&r.push(" "),(!1!==n.delimiterEnd||p!==c-1)&&r.push("|")}m.push(!1===n.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}return m.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:i})}function l(e,t,n){let r=e.children,i=-1,a=[],o=t.enter("tableRow");for(;++i<r.length;)a[i]=s(r[i],e,t,n);return o(),a}}(a),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:X}}]})}},82948:(e,t,n)=>{"use strict";n.d(t,{A:()=>ex});var r={};n.r(r),n.d(r,{attentionMarkers:()=>ed,contentInitial:()=>eo,disable:()=>ef,document:()=>es,flow:()=>ec,flowInitial:()=>el,insideSpan:()=>ep,string:()=>eu,text:()=>eh});var i=n(48006),a=n(41161);class s{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let n=null==t?1/0:t;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){this.setCursor(Math.trunc(e));let r=this.right.splice(this.right.length-(t||0),1/0);return n&&o(this.left,n),r.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),o(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),o(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);o(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);o(this.left,t.reverse())}}}function o(e,t){let n=0;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),n+=1e4}function l(e){let t,n,r,i,o,l,c,u={},h=-1,p=new s(e);for(;++h<p.length;){for(;h in u;)h=u[h];if(t=p.get(h),h&&"chunkFlow"===t[1].type&&"listItemPrefix"===p.get(h-1)[1].type&&((r=0)<(l=t[1]._tokenizer.events).length&&"lineEndingBlank"===l[r][1].type&&(r+=2),r<l.length&&"content"===l[r][1].type))for(;++r<l.length&&"content"!==l[r][1].type;)"chunkText"===l[r][1].type&&(l[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(u,function(e,t){let n,r,i=e.get(t)[1],a=e.get(t)[2],s=t-1,o=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],h={},p=-1,d=i,f=0,m=0,g=[0];for(;d;){for(;e.get(++s)[1]!==d;);o.push(s),!d._tokenizer&&(n=a.sliceStream(d),d.next||n.push(null),r&&l.defineSkip(d.start),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(n),d._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),r=d,d=d.next}for(d=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(m=p+1,g.push(m),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(l.events=[],d?(d._tokenizer=void 0,d.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),n=o.pop();u.push([n,n+t.length-1]),e.splice(n,2,t)}for(u.reverse(),p=-1;++p<u.length;)h[f+u[p][0]]=f+u[p][1],f+=u[p][1]-u[p][0]-1;return h}(p,h)),h=u[h],c=!0);else if(t[1]._container){for(r=h,n=void 0;r--;)if("lineEnding"===(i=p.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(p.get(n)[1].type="lineEndingBlank"),i[1].type="lineEnding",n=r);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;n&&(t[1].end={...p.get(n)[1].start},(o=p.slice(n,h)).unshift(t),p.splice(n,h-n+1,o))}}return(0,a.m)(e,0,1/0,p.slice(0)),!c}var c=n(50783),u=n(62835),h=n(4294);let p={tokenize:function(e){let t,n=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,u.N)(e,n,"linePrefix"))},function(n){return e.enter("paragraph"),function n(r){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(r){if(null===r){e.exit("chunkText"),e.exit("paragraph"),e.consume(r);return}return(0,h.HP)(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}},d={tokenize:function(e){let t,n,r,i=this,s=[],o=0;return l;function l(t){if(o<s.length){let n=s[o];return i.containerState=n[1],e.attempt(n[0].continuation,c,u)(t)}return u(t)}function c(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&k();let r=i.events.length,s=r;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){n=i.events[s][1].end;break}_(o);let l=r;for(;l<i.events.length;)i.events[l][1].end={...n},l++;return(0,a.m)(i.events,s+1,0,i.events.slice(r)),i.events.length=l,u(e)}return l(e)}function u(n){if(o===s.length){if(!t)return m(n);if(t.currentConstruct&&t.currentConstruct.concrete)return y(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(f,p,d)(n)}function p(e){return t&&k(),_(o),m(e)}function d(e){return i.parser.lazy[i.now().line]=o!==s.length,r=i.now().offset,y(e)}function m(t){return i.containerState={},e.attempt(f,g,y)(t)}function g(e){return o++,s.push([i.currentConstruct,i.containerState]),m(e)}function y(r){if(null===r){t&&k(),_(0),e.consume(r);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:n}),function t(n){if(null===n){b(e.exit("chunkFlow"),!0),_(0),e.consume(n);return}return(0,h.HP)(n)?(e.consume(n),b(e.exit("chunkFlow")),o=0,i.interrupt=void 0,l):(e.consume(n),t)}(r)}function b(e,s){let l=i.sliceStream(e);if(s&&l.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,n,s=t.events.length;for(;s--;)if(t.events[s][1].start.offset<r&&(!t.events[s][1].end||t.events[s][1].end.offset>r))return;let l=i.events.length,c=l;for(;c--;)if("exit"===i.events[c][0]&&"chunkFlow"===i.events[c][1].type){if(e){n=i.events[c][1].end;break}e=!0}for(_(o),s=l;s<i.events.length;)i.events[s][1].end={...n},s++;(0,a.m)(i.events,c+1,0,i.events.slice(l)),i.events.length=s}}function _(t){let n=s.length;for(;n-- >t;){let t=s[n];i.containerState=t[1],t[0].exit.call(i,e)}s.length=t}function k(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},f={tokenize:function(e,t,n){return(0,u.N)(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};var m=n(50055);let g={resolve:function(e){return l(e),e},tokenize:function(e,t){let n;return function(t){return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)};function r(t){return null===t?i(t):(0,h.HP)(t)?e.check(y,a,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function a(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},y={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,u.N)(e,i,"linePrefix")};function i(i){if(null===i||(0,h.HP)(i))return n(i);let a=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},b={tokenize:function(e){let t=this,n=e.attempt(m.B,function(r){return null===r?void e.consume(r):(e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n)},e.attempt(this.parser.constructs.flowInitial,r,(0,u.N)(e,e.attempt(this.parser.constructs.flow,r,e.attempt(g,r)),"linePrefix")));return n;function r(r){return null===r?void e.consume(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n)}}},_={resolveAll:x()},k=T("string"),E=T("text");function T(e){return{resolveAll:x("text"===e?A:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,a,s);return a;function a(e){return l(e)?i(e):s(e)}function s(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),o)}function o(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),o)}function l(e){if(null===e)return!0;let t=r[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}}}}function x(e){return function(t,n){let r,i=-1;for(;++i<=t.length;)void 0===r?t[i]&&"data"===t[i][1].type&&(r=i,i++):t[i]&&"data"===t[i][1].type||(i!==r+2&&(t[r][1].end=t[i-1][1].end,t.splice(r+2,i-r-2),i=r+2),r=void 0);return e?e(t,n):t}}function A(e,t){let n=0;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){let r,i=e[n-1][1],a=t.sliceStream(i),s=a.length,o=-1,l=0;for(;s--;){let e=a[s];if("string"==typeof e){for(o=e.length;32===e.charCodeAt(o-1);)l++,o--;if(o)break;o=-1}else if(-2===e)r=!0,l++;else if(-1===e);else{s++;break}}if(t._contentTypeTextTrailing&&n===e.length&&(l=0),l){let a={type:n===e.length||r||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:s?o:i.start._bufferIndex+o,_index:i.start._index+s,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(n,0,["enter",a,t],["exit",a,t]),n+=2)}n++}return e}let w={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(a){var s;return e.enter("thematicBreak"),r=s=a,function a(s){return s===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),(0,h.On)(n)?(0,u.N)(e,a,"whitespace")(n):a(n))}(s)):i>=3&&(null===s||(0,h.HP)(s))?(e.exit("thematicBreak"),t(s)):n(s)}(s)}}},v={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(m.B,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,(0,u.N)(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!(0,h.On)(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,i(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(C,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,(0,u.N)(e,e.attempt(v,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,n){let r=this,i=r.events[r.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,s=0;return function(t){let i=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!r.containerState.marker||t===r.containerState.marker:(0,h.BM)(t)){if(r.containerState.type||(r.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(w,n,o)(t):o(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return(0,h.BM)(i)&&++s<10?(e.consume(i),t):(!r.interrupt||s<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),o(i)):n(i)}(t)}return n(t)};function o(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(m.B,r.interrupt?n:l,e.attempt(S,u,c))}function l(e){return r.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return(0,h.On)(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},S={partial:!0,tokenize:function(e,t,n){let r=this;return(0,u.N)(e,function(e){let i=r.events[r.events.length-1];return!(0,h.On)(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},C={partial:!0,tokenize:function(e,t,n){let r=this;return(0,u.N)(e,function(e){let i=r.events[r.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===r.containerState.size?t(e):n(e)},"listItemIndent",r.containerState.size+1)}},N={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return(0,h.On)(t)?(0,u.N)(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(N,t,n)(r)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,n){let r=this;return function(t){if(62===t){let n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0}),n.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return n(t)};function i(n){return(0,h.On)(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}};function I(e,t,n,r,i,a,s,o,l){let c=l||1/0,u=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(a),e.consume(t),e.exit(a),p):null===t||32===t||41===t||(0,h.JQ)(t)?n(t):(e.enter(r),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),m(t))};function p(n){return 62===n?(e.enter(a),e.consume(n),e.exit(a),e.exit(i),e.exit(r),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return 62===t?(e.exit("chunkString"),e.exit(o),p(t)):null===t||60===t||(0,h.HP)(t)?n(t):(e.consume(t),92===t?f:d)}function f(t){return 60===t||62===t||92===t?(e.consume(t),d):d(t)}function m(i){return!u&&(null===i||41===i||(0,h.Ee)(i))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(r),t(i)):u<c&&40===i?(e.consume(i),u++,m):41===i?(e.consume(i),u--,m):null===i||32===i||40===i||(0,h.JQ)(i)?n(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function D(e,t,n,r,i,a){let s,o=this,l=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(p){return l>999||null===p||91===p||93===p&&!s||94===p&&!l&&"_hiddenFootnoteSupport"in o.parser.constructs?n(p):93===p?(e.exit(a),e.enter(i),e.consume(p),e.exit(i),e.exit(r),t):(0,h.HP)(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(p))}function u(t){return null===t||91===t||93===t||(0,h.HP)(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!(0,h.On)(t)),92===t?p:u)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}function O(e,t,n,r,i,a){let s;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),s=40===t?41:t,o):n(t)};function o(n){return n===s?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(a),l(n))}function l(t){return t===s?(e.exit(a),o(s)):null===t?n(t):(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),(0,u.N)(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===s||null===t||(0,h.HP)(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?p:c)}function p(t){return t===s||92===t?(e.consume(t),c):c(t)}}function M(e,t){let n;return function r(i){return(0,h.HP)(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):(0,h.On)(i)?(0,u.N)(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}var L=n(76548);let R={partial:!0,tokenize:function(e,t,n){return function(t){return(0,h.Ee)(t)?M(e,r)(t):n(t)};function r(t){return O(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return(0,h.On)(t)?(0,u.N)(e,a,"whitespace")(t):a(t)}function a(e){return null===e||(0,h.HP)(e)?t(e):n(e)}}},P={name:"codeIndented",tokenize:function(e,t,n){let r=this;return function(t){return e.enter("codeIndented"),(0,u.N)(e,i,"linePrefix",5)(t)};function i(t){let i=r.events[r.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(n){return null===n?a(n):(0,h.HP)(n)?e.attempt(F,t,a)(n):(e.enter("codeFlowValue"),function n(r){return null===r||(0,h.HP)(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))}(t):n(t)}function a(n){return e.exit("codeIndented"),t(n)}}},F={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(t){return r.parser.lazy[r.now().line]?n(t):(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):(0,u.N)(e,a,"linePrefix",5)(t)}function a(e){let a=r.events[r.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):(0,h.HP)(e)?i(e):n(e)}}},B={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let s={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(e.splice(r,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end={...e[i][1].end}):e[n][1]=s,e.push(["exit",s,t]),e},tokenize:function(e,t,n){let r,i=this;return function(t){var s;let o,l=i.events.length;for(;l--;)if("lineEnding"!==i.events[l][1].type&&"linePrefix"!==i.events[l][1].type&&"content"!==i.events[l][1].type){o="paragraph"===i.events[l][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||o)?(e.enter("setextHeadingLine"),r=t,s=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),(0,h.On)(n)?(0,u.N)(e,a,"lineSuffix")(n):a(n))}(s)):n(t)};function a(r){return null===r||(0,h.HP)(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}},H=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],U=["pre","script","style","textarea"],j={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(m.B,t,n)}}},$={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return(0,h.HP)(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):n(t)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},z={partial:!0,tokenize:function(e,t,n){let r=this;return function(t){return null===t?n(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return r.parser.lazy[r.now().line]?n(e):t(e)}}},G={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,a={partial:!0,tokenize:function(e,t,n){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s};function s(t){return e.enter("codeFencedFence"),(0,h.On)(t)?(0,u.N)(e,l,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):l(t)}function l(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a>=o?(e.exit("codeFencedFenceSequence"),(0,h.On)(i)?(0,u.N)(e,c,"whitespace")(i):c(i)):n(i)}(t)):n(t)}function c(r){return null===r||(0,h.HP)(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},s=0,o=0;return function(t){var a;let c;return a=t,s=(c=i.events[i.events.length-1])&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,r=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(o++,e.consume(i),t):o<3?n(i):(e.exit("codeFencedFenceSequence"),(0,h.On)(i)?(0,u.N)(e,l,"whitespace")(i):l(i))}(a)};function l(a){return null===a||(0,h.HP)(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(z,p,g)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,h.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),l(i)):(0,h.On)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),(0,u.N)(e,c,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(a))}function c(t){return null===t||(0,h.HP)(t)?l(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||(0,h.HP)(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),l(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function p(t){return e.attempt(a,g,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),f}function f(t){return s>0&&(0,h.On)(t)?(0,u.N)(e,m,"linePrefix",s+1)(t):m(t)}function m(t){return null===t||(0,h.HP)(t)?e.check(z,p,g)(t):(e.enter("codeFlowValue"),function t(n){return null===n||(0,h.HP)(n)?(e.exit("codeFlowValue"),m(n)):(e.consume(n),t)}(t))}function g(n){return e.exit("codeFenced"),t(n)}}},K=document.createElement("i");function Y(e){let t="&"+e+";";K.innerHTML=t;let n=K.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let q={name:"characterReference",tokenize:function(e,t,n){let r,i,a=this,s=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),o};function o(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),r=31,i=h.lV,c(t))}function l(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=h.ok,c):(e.enter("characterReferenceValue"),r=7,i=h.BM,c(t))}function c(o){if(59===o&&s){let r=e.exit("characterReferenceValue");return i!==h.lV||Y(a.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(o),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(o)}return i(o)&&s++<r?(e.consume(o),c):n(o)}}},W={name:"characterEscape",tokenize:function(e,t,n){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),r};function r(r){return(0,h.ol)(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},V={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),(0,u.N)(e,t,"linePrefix")}}};var X=n(49359);let Q={name:"labelEnd",resolveAll:function(e){let t=-1,n=[];for(;++t<e.length;){let r=e[t][1];if(n.push(e[t]),"labelImage"===r.type||"labelLink"===r.type||"labelEnd"===r.type){let e="labelImage"===r.type?4:2;r.type="data",t+=e}}return e.length!==n.length&&(0,a.m)(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,s,o=e.length,l=0;for(;o--;)if(n=e[o][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=o,"labelLink"!==n.type)){l=2;break}}else"labelEnd"===n.type&&(i=o);let c={type:"labelLink"===e[r][1].type?"link":"image",start:{...e[r][1].start},end:{...e[e.length-1][1].end}},u={type:"label",start:{...e[r][1].start},end:{...e[i][1].end}},h={type:"labelText",start:{...e[r+l+2][1].end},end:{...e[i-2][1].start}};return s=[["enter",c,t],["enter",u,t]],s=(0,a.V)(s,e.slice(r+1,r+l+3)),s=(0,a.V)(s,[["enter",h,t]]),s=(0,a.V)(s,(0,X.W)(t.parser.constructs.insideSpan.null,e.slice(r+l+4,i-3),t)),s=(0,a.V)(s,[["exit",h,t],e[i-2],e[i-1],["exit",u,t]]),s=(0,a.V)(s,e.slice(i+1)),s=(0,a.V)(s,[["exit",c,t]]),(0,a.m)(e,r,e.length,s),e},tokenize:function(e,t,n){let r,i,a=this,s=a.events.length;for(;s--;)if(("labelImage"===a.events[s][1].type||"labelLink"===a.events[s][1].type)&&!a.events[s][1]._balanced){r=a.events[s][1];break}return function(t){return r?r._inactive?u(t):(i=a.parser.defined.includes((0,L.B)(a.sliceSerialize({start:r.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),o):n(t)};function o(t){return 40===t?e.attempt(Z,c,i?c:u)(t):91===t?e.attempt(J,c,i?l:u)(t):i?c(t):u(t)}function l(t){return e.attempt(ee,c,u)(t)}function c(e){return t(e)}function u(e){return r._balanced=!0,n(e)}}},Z={tokenize:function(e,t,n){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r};function r(t){return(0,h.Ee)(t)?M(e,i)(t):i(t)}function i(t){return 41===t?c(t):I(e,a,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return(0,h.Ee)(t)?M(e,o)(t):c(t)}function s(e){return n(e)}function o(t){return 34===t||39===t||40===t?O(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function l(t){return(0,h.Ee)(t)?M(e,c)(t):c(t)}function c(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},J={tokenize:function(e,t,n){let r=this;return function(t){return D.call(r,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes((0,L.B)(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function a(e){return n(e)}}},ee={tokenize:function(e,t,n){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r};function r(r){return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),e.exit("reference"),t):n(r)}}},et={name:"labelStartImage",resolveAll:Q.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):n(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}};var en=n(84693);let er={name:"attention",resolveAll:function(e,t){let n,r,i,s,o,l,c,u,h=-1;for(;++h<e.length;)if("enter"===e[h][0]&&"attentionSequence"===e[h][1].type&&e[h][1]._close){for(n=h;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[h][1]).charCodeAt(0)){if((e[n][1]._close||e[h][1]._open)&&(e[h][1].end.offset-e[h][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[h][1].end.offset-e[h][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[h][1].end.offset-e[h][1].start.offset>1?2:1;let p={...e[n][1].end},d={...e[h][1].start};ei(p,-l),ei(d,l),s={type:l>1?"strongSequence":"emphasisSequence",start:p,end:{...e[n][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[h][1].start},end:d},i={type:l>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[h][1].start}},r={type:l>1?"strong":"emphasis",start:{...s.start},end:{...o.end}},e[n][1].end={...s.start},e[h][1].start={...o.end},c=[],e[n][1].end.offset-e[n][1].start.offset&&(c=(0,a.V)(c,[["enter",e[n][1],t],["exit",e[n][1],t]])),c=(0,a.V)(c,[["enter",r,t],["enter",s,t],["exit",s,t],["enter",i,t]]),c=(0,a.V)(c,(0,X.W)(t.parser.constructs.insideSpan.null,e.slice(n+1,h),t)),c=(0,a.V)(c,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",r,t]]),e[h][1].end.offset-e[h][1].start.offset?(u=2,c=(0,a.V)(c,[["enter",e[h][1],t],["exit",e[h][1],t]])):u=0,(0,a.m)(e,n-1,h-n+3,c),h=n+c.length-u-2;break}}for(h=-1;++h<e.length;)"attentionSequence"===e[h][1].type&&(e[h][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,a=(0,en.S)(i);return function(s){return n=s,e.enter("attentionSequence"),function s(o){if(o===n)return e.consume(o),s;let l=e.exit("attentionSequence"),c=(0,en.S)(o),u=!c||2===c&&a||r.includes(o),h=!a||2===a&&c||r.includes(i);return l._open=!!(42===n?u:u&&(a||!h)),l._close=!!(42===n?h:h&&(c||!u)),t(o)}(s)}}};function ei(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let ea={name:"labelStartLink",resolveAll:Q.resolveAll,tokenize:function(e,t,n){let r=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}}},es={42:v,43:v,45:v,48:v,49:v,50:v,51:v,52:v,53:v,54:v,55:v,56:v,57:v,62:N},eo={91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,D.call(i,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function a(t){return(r=(0,L.B)(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),s):n(t)}function s(t){return(0,h.Ee)(t)?M(e,o)(t):o(t)}function o(t){return I(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(R,c,c)(t)}function c(t){return(0,h.On)(t)?(0,u.N)(e,p,"whitespace")(t):p(t)}function p(a){return null===a||(0,h.HP)(a)?(e.exit("definition"),i.parser.defined.push(r),t(a)):n(a)}}}},el={[-2]:P,[-1]:P,32:P},ec={35:{name:"headingAtx",resolve:function(e,t){let n,r,i=e.length-2,s=3;return"whitespace"===e[3][1].type&&(s+=2),i-2>s&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(s===i-1||i-4>s&&"whitespace"===e[i-2][1].type)&&(i-=s+1===i?2:4),i>s&&(n={type:"atxHeadingText",start:e[s][1].start,end:e[i][1].end},r={type:"chunkText",start:e[s][1].start,end:e[i][1].end,contentType:"text"},(0,a.m)(e,s,i-s+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e},tokenize:function(e,t,n){let r=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&r++<6?(e.consume(a),i):null===a||(0,h.Ee)(a)?(e.exit("atxHeadingSequence"),function n(r){return 35===r?(e.enter("atxHeadingSequence"),function t(r){return 35===r?(e.consume(r),t):(e.exit("atxHeadingSequence"),n(r))}(r)):null===r||(0,h.HP)(r)?(e.exit("atxHeading"),t(r)):(0,h.On)(r)?(0,u.N)(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||(0,h.Ee)(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(a)):n(a)}(a)}}},42:w,45:[B,w],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,n){let r,i,a,s,o,l=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),c};function c(s){return 33===s?(e.consume(s),u):47===s?(e.consume(s),i=!0,f):63===s?(e.consume(s),r=3,l.interrupt?t:M):(0,h.CW)(s)?(e.consume(s),a=String.fromCharCode(s),m):n(s)}function u(i){return 45===i?(e.consume(i),r=2,p):91===i?(e.consume(i),r=5,s=0,d):(0,h.CW)(i)?(e.consume(i),r=4,l.interrupt?t:M):n(i)}function p(r){return 45===r?(e.consume(r),l.interrupt?t:M):n(r)}function d(r){let i="CDATA[";return r===i.charCodeAt(s++)?(e.consume(r),s===i.length)?l.interrupt?t:w:d:n(r)}function f(t){return(0,h.CW)(t)?(e.consume(t),a=String.fromCharCode(t),m):n(t)}function m(s){if(null===s||47===s||62===s||(0,h.Ee)(s)){let o=47===s,c=a.toLowerCase();return!o&&!i&&U.includes(c)?(r=1,l.interrupt?t(s):w(s)):H.includes(a.toLowerCase())?(r=6,o)?(e.consume(s),g):l.interrupt?t(s):w(s):(r=7,l.interrupt&&!l.parser.lazy[l.now().line]?n(s):i?function t(n){return(0,h.On)(n)?(e.consume(n),t):x(n)}(s):y(s))}return 45===s||(0,h.lV)(s)?(e.consume(s),a+=String.fromCharCode(s),m):n(s)}function g(r){return 62===r?(e.consume(r),l.interrupt?t:w):n(r)}function y(t){return 47===t?(e.consume(t),x):58===t||95===t||(0,h.CW)(t)?(e.consume(t),b):(0,h.On)(t)?(e.consume(t),y):x(t)}function b(t){return 45===t||46===t||58===t||95===t||(0,h.lV)(t)?(e.consume(t),b):_(t)}function _(t){return 61===t?(e.consume(t),k):(0,h.On)(t)?(e.consume(t),_):y(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),o=t,E):(0,h.On)(t)?(e.consume(t),k):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||(0,h.Ee)(n)?_(n):(e.consume(n),t)}(t)}function E(t){return t===o?(e.consume(t),o=null,T):null===t||(0,h.HP)(t)?n(t):(e.consume(t),E)}function T(e){return 47===e||62===e||(0,h.On)(e)?y(e):n(e)}function x(t){return 62===t?(e.consume(t),A):n(t)}function A(t){return null===t||(0,h.HP)(t)?w(t):(0,h.On)(t)?(e.consume(t),A):n(t)}function w(t){return 45===t&&2===r?(e.consume(t),N):60===t&&1===r?(e.consume(t),I):62===t&&4===r?(e.consume(t),L):63===t&&3===r?(e.consume(t),M):93===t&&5===r?(e.consume(t),O):(0,h.HP)(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(j,R,v)(t)):null===t||(0,h.HP)(t)?(e.exit("htmlFlowData"),v(t)):(e.consume(t),w)}function v(t){return e.check($,S,R)(t)}function S(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),C}function C(t){return null===t||(0,h.HP)(t)?v(t):(e.enter("htmlFlowData"),w(t))}function N(t){return 45===t?(e.consume(t),M):w(t)}function I(t){return 47===t?(e.consume(t),a="",D):w(t)}function D(t){if(62===t){let n=a.toLowerCase();return U.includes(n)?(e.consume(t),L):w(t)}return(0,h.CW)(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),D):w(t)}function O(t){return 93===t?(e.consume(t),M):w(t)}function M(t){return 62===t?(e.consume(t),L):45===t&&2===r?(e.consume(t),M):w(t)}function L(t){return null===t||(0,h.HP)(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),L)}function R(n){return e.exit("htmlFlow"),t(n)}}},61:B,95:w,96:G,126:G},eu={38:q,92:W},eh={[-5]:V,[-4]:V,[-3]:V,33:et,38:q,42:er,60:[{name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return(0,h.CW)(t)?(e.consume(t),a):64===t?n(t):o(t)}function a(t){return 43===t||45===t||46===t||(0,h.lV)(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,s):(43===n||45===n||46===n||(0,h.lV)(n))&&r++<32?(e.consume(n),t):(r=0,o(n))}(t)):o(t)}function s(r){return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||(0,h.JQ)(r)?n(r):(e.consume(r),s)}function o(t){return 64===t?(e.consume(t),l):(0,h.cx)(t)?(e.consume(t),o):n(t)}function l(i){return(0,h.lV)(i)?function i(a){return 46===a?(e.consume(a),r=0,l):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||(0,h.lV)(a))&&r++<63){let n=45===a?t:i;return e.consume(a),n}return n(a)}(a)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,a,s=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),o};function o(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),T):63===t?(e.consume(t),k):(0,h.CW)(t)?(e.consume(t),A):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,m):(0,h.CW)(t)?(e.consume(t),_):n(t)}function c(t){return 45===t?(e.consume(t),f):n(t)}function p(t){return null===t?n(t):45===t?(e.consume(t),d):(0,h.HP)(t)?(a=p,O(t)):(e.consume(t),p)}function d(t){return 45===t?(e.consume(t),f):p(t)}function f(e){return 62===e?D(e):45===e?d(e):p(e)}function m(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?g:m):n(t)}function g(t){return null===t?n(t):93===t?(e.consume(t),y):(0,h.HP)(t)?(a=g,O(t)):(e.consume(t),g)}function y(t){return 93===t?(e.consume(t),b):g(t)}function b(t){return 62===t?D(t):93===t?(e.consume(t),b):g(t)}function _(t){return null===t||62===t?D(t):(0,h.HP)(t)?(a=_,O(t)):(e.consume(t),_)}function k(t){return null===t?n(t):63===t?(e.consume(t),E):(0,h.HP)(t)?(a=k,O(t)):(e.consume(t),k)}function E(e){return 62===e?D(e):k(e)}function T(t){return(0,h.CW)(t)?(e.consume(t),x):n(t)}function x(t){return 45===t||(0,h.lV)(t)?(e.consume(t),x):function t(n){return(0,h.HP)(n)?(a=t,O(n)):(0,h.On)(n)?(e.consume(n),t):D(n)}(t)}function A(t){return 45===t||(0,h.lV)(t)?(e.consume(t),A):47===t||62===t||(0,h.Ee)(t)?w(t):n(t)}function w(t){return 47===t?(e.consume(t),D):58===t||95===t||(0,h.CW)(t)?(e.consume(t),v):(0,h.HP)(t)?(a=w,O(t)):(0,h.On)(t)?(e.consume(t),w):D(t)}function v(t){return 45===t||46===t||58===t||95===t||(0,h.lV)(t)?(e.consume(t),v):function t(n){return 61===n?(e.consume(n),S):(0,h.HP)(n)?(a=t,O(n)):(0,h.On)(n)?(e.consume(n),t):w(n)}(t)}function S(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,C):(0,h.HP)(t)?(a=S,O(t)):(0,h.On)(t)?(e.consume(t),S):(e.consume(t),N)}function C(t){return t===r?(e.consume(t),r=void 0,I):null===t?n(t):(0,h.HP)(t)?(a=C,O(t)):(e.consume(t),C)}function N(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||(0,h.Ee)(t)?w(t):(e.consume(t),N)}function I(e){return 47===e||62===e||(0,h.Ee)(e)?w(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function O(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),M}function M(t){return(0,h.On)(t)?(0,u.N)(e,L,"linePrefix",s.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):L(t)}function L(t){return e.enter("htmlTextData"),a(t)}}}],91:ea,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return(0,h.HP)(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},W],93:Q,95:er,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,n,r=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[r][1].type||"space"===e[r][1].type)){for(t=i;++t<r;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[r][1].type="codeTextPadding",i+=2,r-=2;break}}for(t=i-1,r++;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):(t===r||"lineEnding"===e[t][1].type)&&(e[n][1].type="codeTextData",t!==n+2&&(e[n][1].end=e[t-1][1].end,e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},tokenize:function(e,t,n){let r,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),a++,t):(e.exit("codeTextSequence"),s(n))}(t)};function s(l){return null===l?n(l):32===l?(e.enter("space"),e.consume(l),e.exit("space"),s):96===l?(i=e.enter("codeTextSequence"),r=0,function n(s){return 96===s?(e.consume(s),r++,n):r===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(s)):(i.type="codeTextData",o(s))}(l)):(0,h.HP)(l)?(e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),s):(e.enter("codeTextData"),o(l))}function o(t){return null===t||32===t||96===t||(0,h.HP)(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),o)}}}},ep={null:[er,_]},ed={null:[42,95]},ef={null:[]},em=/[\0\t\n\r]/g;function eg(e,t){let n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||(65535&n)==65535||(65535&n)==65534||n>1114111?"�":String.fromCodePoint(n)}let ey=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function eb(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return eg(n.slice(t?2:1),t?16:10)}return Y(n)||e}var e_=n(28830);let ek={}.hasOwnProperty;function eE(e){return{line:e.line,column:e.column,offset:e.offset}}function eT(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+(0,e_.L)({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+(0,e_.L)({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+(0,e_.L)({start:t.start,end:t.end})+") is still open")}function ex(e){let t=this;t.parser=function(n){var s,o;let u,f,m,g;return"object"==typeof(s={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(o=s,s=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:r(b),autolinkProtocol:u,autolinkEmail:u,atxHeading:r(m),blockQuote:r(function(){return{type:"blockquote",children:[]}}),characterEscape:u,characterReference:u,codeFenced:r(f),codeFencedFenceInfo:a,codeFencedFenceMeta:a,codeIndented:r(f,a),codeText:r(function(){return{type:"inlineCode",value:""}},a),codeTextData:u,data:u,codeFlowValue:u,definition:r(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:a,definitionLabelString:a,definitionTitleString:a,emphasis:r(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:r(g),hardBreakTrailing:r(g),htmlFlow:r(y,a),htmlFlowData:u,htmlText:r(y,a),htmlTextData:u,image:r(function(){return{type:"image",title:null,url:"",alt:null}}),label:a,link:r(b),listItem:r(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:r(_,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:r(_),paragraph:r(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:a,resourceDestinationString:a,resourceTitleString:a,setextHeading:r(m),strong:r(function(){return{type:"strong",children:[]}}),thematicBreak:r(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){h.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){h.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:h,characterReferenceMarkerHexadecimal:d,characterReferenceMarkerNumeric:d,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=eg(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=Y(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=eE(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:h,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:h,data:h,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,L.B)(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(p),hardBreakTrailing:o(p),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:h,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:h,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===n.type?n.children=e.children:n.alt=t},labelText:function(e){let t=this.sliceSerialize(e),n=this.stack[this.stack.length-2];n.label=t.replace(ey,eb),n.identifier=(0,L.B)(t).toLowerCase()},lineEnding:function(e){let n=this.stack[this.stack.length-1];if(this.data.atHardBreak){n.children[n.children.length-1].position.end=eE(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(u.call(this,e),h.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=(0,L.B)(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,n){let r=-1;for(;++r<n.length;){let i=n[r];Array.isArray(i)?e(t,i):function(e,t){let n;for(n in t)if(ek.call(t,n))switch(n){case"canContainEols":{let r=t[n];r&&e[n].push(...r);break}case"transforms":{let r=t[n];r&&e[n].push(...r);break}case"enter":case"exit":{let r=t[n];r&&Object.assign(e[n],r)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let n={};return function(e){let r={type:"root",children:[]},i={stack:[r],tokenStack:[],config:t,enter:s,exit:l,buffer:a,resume:c,data:n},o=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?o.push(u):u=function(e,t,n){let r,i,a,s,o=t-1,l=-1,c=!1;for(;++o<=n;){let t=e[o];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,s=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!r||s||l||a||(a=o),s=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:s=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(r){let s=o;for(i=void 0;s--;){let t=e[s];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=s}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(r._spread=!0),r.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||o,0,["exit",r,t[2]]),o++,n++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};r=i,e.splice(o,0,["enter",i,t[2]]),o++,n++,a=void 0,s=!0}}}return e[t][1]._spread=c,n}(e,o.pop(),u));for(u=-1;++u<e.length;){let n=t[e[u][0]];ek.call(n,e[u][1].type)&&n[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},i),e[u][1])}if(i.tokenStack.length>0){let e=i.tokenStack[i.tokenStack.length-1];(e[1]||eT).call(i,void 0,e[0])}for(r.position={start:eE(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:eE(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)r=t.transforms[u](r)||r;return r};function r(e,t){return function(n){s.call(this,e(n),n),t&&t.call(this,n)}}function a(){this.stack.push({type:"fragment",children:[]})}function s(e,t,n){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,n||void 0]),e.position={start:eE(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(r)r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||eT).call(this,e,r[0]));else throw Error("Cannot close `"+e.type+"` ("+(0,e_.L)({start:e.start,end:e.end})+"): it’s not open");n.position.end=eE(e.end)}function c(){return(0,i.d)(this.stack.pop())}function u(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:""}).position={start:eE(e.start),end:void 0},t.push(n)),this.stack.push(n)}function h(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=eE(e.end)}function p(){this.data.atHardBreak=!0}function d(e){this.data.characterReferenceType=e.type}function f(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:0,children:[]}}function g(){return{type:"break"}}function y(){return{type:"html",value:""}}function b(){return{type:"link",title:null,url:"",children:[]}}function _(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(o)(function(e){for(;!l(e););return e}((function(e){let t={constructs:(0,c.y)([r,...(e||{}).extensions||[]]),content:n(p),defined:[],document:n(d),flow:n(b),lazy:{},string:n(k),text:n(E)};return t;function n(e){return function(n){return function(e,t,n){let r={_bufferIndex:-1,_index:0,line:n&&n.line||1,column:n&&n.column||1,offset:n&&n.offset||0},i={},s=[],o=[],l=[],c={attempt:g(function(e,t){y(e,t.from)}),check:g(m),consume:function(e){(0,h.HP)(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++),r._bufferIndex<0?r._index++:(r._bufferIndex++,r._bufferIndex===o[r._index].length&&(r._bufferIndex=-1,r._index++)),u.previous=e},enter:function(e,t){let n=t||{};return n.type=e,n.start=f(),u.events.push(["enter",n,u]),l.push(n),n},exit:function(e){let t=l.pop();return t.end=f(),u.events.push(["exit",t,u]),t},interrupt:g(m,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,b()},events:[],now:f,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let a,s=e[r];if("string"==typeof s)a=s;else switch(s){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&n)continue;a=" ";break;default:a=String.fromCharCode(s)}n=-2===s,i.push(a)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=(0,a.V)(o,e),function(){let e;for(;r._index<o.length;){let n=o[r._index];if("string"==typeof n)for(e=r._index,r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<n.length;){var t;t=n.charCodeAt(r._bufferIndex),p=p(t)}else p=p(n)}}(),null!==o[o.length-1])?[]:(y(t,0),u.events=(0,X.W)(s,u.events,u),u.events)}},p=t.tokenize.call(u,c);return t.resolveAll&&s.push(t),u;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,a=t.end._index,s=t.end._bufferIndex;if(r===a)n=[e[r].slice(i,s)];else{if(n=e.slice(r,a),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}s>0&&n.push(e[a].slice(0,s))}return n}(o,e)}function f(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:a}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:a}}function m(e,t){t.restore()}function g(e,t){return function(n,i,a){var s;let o,h,p,d;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(s=n,function(e){let t=null!==e&&s[e],n=null!==e&&s.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(o=e,h=0,0===e.length)?a:g(e[h])}function g(e){return function(n){let i,a,s,o,h;return(i=f(),a=u.previous,s=u.currentConstruct,o=u.events.length,h=Array.from(l),d={from:o,restore:function(){r=i,u.previous=a,u.currentConstruct=s,u.events.length=o,l=h,b()}},p=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?_(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,c,y,_)(n)}}function y(t){return e(p,d),i}function _(e){return(d.restore(),++h<o.length)?g(o[h]):a}}}function y(e,t){e.resolveAll&&!s.includes(e)&&s.push(e),e.resolve&&(0,a.m)(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function b(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(o).document().write((f=1,m="",g=!0,function(e,t,n){let r,i,a,s,o,l=[];for(e=m+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),a=0,m="",g&&(65279===e.charCodeAt(0)&&a++,g=void 0);a<e.length;){if(em.lastIndex=a,s=(r=em.exec(e))&&void 0!==r.index?r.index:e.length,o=e.charCodeAt(s),!r){m=e.slice(a);break}if(10===o&&a===s&&u)l.push(-3),u=void 0;else switch(u&&(l.push(-5),u=void 0),a<s&&(l.push(e.slice(a,s)),f+=s-a),o){case 0:l.push(65533),f++;break;case 9:for(i=4*Math.ceil(f/4),l.push(-2);f++<i;)l.push(-1);break;case 10:l.push(-4),f=1;break;default:u=!0,f=1}a=s+1}return n&&(u&&l.push(-5),m&&l.push(m),l.push(null)),l})(n,s,!0))))}}},83438:(e,t,n)=>{"use strict";function r(e){return null==e||"object"!=typeof e&&"function"!=typeof e}n.d(t,{s:()=>r})},84485:(e,t,n)=>{"use strict";t.J=function(e){if(!e)return r.BLANK_URL;var t,n=i(e.trim());do t=(n=i(n=n.replace(r.ctrlCharactersRegex,"").replace(r.htmlEntitiesRegex,function(e,t){return String.fromCharCode(t)}).replace(r.htmlCtrlEntityRegex,"").replace(r.ctrlCharactersRegex,"").replace(r.whitespaceEscapeCharsRegex,"").trim())).match(r.ctrlCharactersRegex)||n.match(r.htmlEntitiesRegex)||n.match(r.htmlCtrlEntityRegex)||n.match(r.whitespaceEscapeCharsRegex);while(t&&t.length>0);var a=n;if(!a)return r.BLANK_URL;if(r.relativeFirstCharacters.indexOf(a[0])>-1)return a;var s=a.trimStart(),o=s.match(r.urlSchemeRegex);if(!o)return a;var l=o[0].toLowerCase().trim();if(r.invalidProtocolRegex.test(l))return r.BLANK_URL;var c=s.replace(/\\/g,"/");if("mailto:"===l||l.includes("://"))return c;if("http:"===l||"https:"===l){if(!URL.canParse(c))return r.BLANK_URL;var u=new URL(c);return u.protocol=u.protocol.toLowerCase(),u.hostname=u.hostname.toLowerCase(),u.toString()}return c};var r=n(25208);function i(e){try{return decodeURIComponent(e)}catch(t){return e}}},84693:(e,t,n)=>{"use strict";n.d(t,{S:()=>i});var r=n(4294);function i(e){return null===e||(0,r.Ee)(e)||(0,r.Ny)(e)?1:(0,r.es)(e)?2:void 0}},84709:(e,t,n)=>{"use strict";n.d(t,{t:()=>r});let r={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"}},85774:(e,t,n)=>{"use strict";n.d(t,{Nq:()=>s,RI:()=>c,Wg:()=>i,hq:()=>a});var r=n(32165),i=(0,r.K2)((e,t)=>{if(t)return"translate("+-e.width/2+", "+-e.height/2+")";let n=e.x??0,r=e.y??0;return"translate("+-(n+e.width/2)+", "+-(r+e.height/2)+")"},"computeLabelTransform"),a={aggregation:17.25,extension:17.25,composition:17.25,dependency:6,lollipop:13.5,arrow_point:4,arrow_barb:0,arrow_barb_neo:5.5},s={arrow_point:4,arrow_cross:12.5,arrow_circle:12.5};function o(e,t){if(void 0===e||void 0===t)return{angle:0,deltaX:0,deltaY:0};e=l(e),t=l(t);let[n,r]=[e.x,e.y],[i,a]=[t.x,t.y],s=i-n,o=a-r;return{angle:Math.atan(o/s),deltaX:s,deltaY:o}}(0,r.K2)(o,"calculateDeltaAndAngle");var l=(0,r.K2)(e=>Array.isArray(e)?{x:e[0],y:e[1]}:e,"pointTransformer"),c=(0,r.K2)(e=>({x:(0,r.K2)(function(t,n,r){let i=0,s=l(r[0]).x<l(r[r.length-1]).x?"left":"right";if(0===n&&Object.hasOwn(a,e.arrowTypeStart)){let{angle:t,deltaX:n}=o(r[0],r[1]);i=a[e.arrowTypeStart]*Math.cos(t)*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(a,e.arrowTypeEnd)){let{angle:t,deltaX:n}=o(r[r.length-1],r[r.length-2]);i=a[e.arrowTypeEnd]*Math.cos(t)*(n>=0?1:-1)}let c=Math.abs(l(t).x-l(r[r.length-1]).x),u=Math.abs(l(t).y-l(r[r.length-1]).y),h=Math.abs(l(t).x-l(r[0]).x),p=Math.abs(l(t).y-l(r[0]).y),d=a[e.arrowTypeStart],f=a[e.arrowTypeEnd];if(c<f&&c>0&&u<f){let e=f+1-c;e*="right"===s?-1:1,i-=e}if(h<d&&h>0&&p<d){let e=d+1-h;e*="right"===s?-1:1,i+=e}return l(t).x+i},"x"),y:(0,r.K2)(function(t,n,r){let i=0,s=l(r[0]).y<l(r[r.length-1]).y?"down":"up";if(0===n&&Object.hasOwn(a,e.arrowTypeStart)){let{angle:t,deltaY:n}=o(r[0],r[1]);i=a[e.arrowTypeStart]*Math.abs(Math.sin(t))*(n>=0?1:-1)}else if(n===r.length-1&&Object.hasOwn(a,e.arrowTypeEnd)){let{angle:t,deltaY:n}=o(r[r.length-1],r[r.length-2]);i=a[e.arrowTypeEnd]*Math.abs(Math.sin(t))*(n>=0?1:-1)}let c=Math.abs(l(t).y-l(r[r.length-1]).y),u=Math.abs(l(t).x-l(r[r.length-1]).x),h=Math.abs(l(t).y-l(r[0]).y),p=Math.abs(l(t).x-l(r[0]).x),d=a[e.arrowTypeStart],f=a[e.arrowTypeEnd];if(c<f&&c>0&&u<f){let e=f+1-c;e*="up"===s?-1:1,i-=e}if(h<d&&h>0&&p<d){let e=d+1-h;e*="up"===s?-1:1,i+=e}return l(t).y+i},"y")}),"getLineFunctionsWithOffset")},86994:(e,t,n)=>{"use strict";function r(e){let t=[],n=String(e||""),r=n.indexOf(","),i=0,a=!1;for(;!a;){-1===r&&(r=n.length,a=!0);let e=n.slice(i,r).trim();(e||!a)&&t.push(e),i=r+1,r=n.indexOf(",",i)}return t}function i(e,t){let n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}n.d(t,{A:()=>i,q:()=>r})},87789:(e,t,n)=>{"use strict";n.d(t,{P:()=>i});let r="object"==typeof globalThis&&globalThis||"object"==typeof window&&window||"object"==typeof self&&self||"object"==typeof global&&global||function(){return this}();function i(e){return void 0!==r.Buffer&&r.Buffer.isBuffer(e)}},88774:(e,t,n)=>{"use strict";n.d(t,{W6:()=>e2,GZ:()=>e4,WY:()=>ej,pC:()=>eB,Gc:()=>eR});var r=n(32563),i=n(97096),a=n(32165);let s=(e,t)=>!!e&&!!((t&&""===e.prefix||e.prefix)&&e.name),o=Object.freeze({left:0,top:0,width:16,height:16}),l=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),c=Object.freeze({...o,...l}),u=Object.freeze({...c,body:"",hidden:!1});function h(e,t){let n,r,i=(n={},!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0),(r=((e.rotate||0)+(t.rotate||0))%4)&&(n.rotate=r),n);for(let n in u)n in l?n in e&&!(n in i)&&(i[n]=l[n]):n in t?i[n]=t[n]:n in e&&(i[n]=e[n]);return i}function p(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function s(e){a=h(r[e]||i[e],a)}return s(t),n.forEach(s),h(e,a)}let d=Object.freeze({...Object.freeze({width:null,height:null}),...l}),f=/(-?[0-9.]*[0-9]+[0-9.]*)/g,m=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function g(e,t,n){if(1===t)return e;if(n=n||100,"number"==typeof e)return Math.ceil(e*t*n)/n;if("string"!=typeof e)return e;let r=e.split(f);if(null===r||!r.length)return e;let i=[],a=r.shift(),s=m.test(a);for(;;){if(s){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(void 0===(a=r.shift()))return i.join("");s=!s}}let y=/\sid="(\S+)"/g,b=new Map;var _=n(33948);function k(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var E=k(),T={exec:()=>null};function x(e,t=""){let n="string"==typeof e?e:e.source,r={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(w.caret,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}var A=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch{return!1}})(),w={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i")},v=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,S=/(?:[*+-]|\d{1,9}[.)])/,C=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,N=x(C).replace(/bull/g,S).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),I=x(C).replace(/bull/g,S).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),D=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,O=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,M=x(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",O).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),L=x(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,S).getRegex(),R="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",P=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,F=x("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",P).replace("tag",R).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),B=x(D).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",R).getRegex(),H={blockquote:x(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",B).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:M,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:v,html:F,lheading:N,list:L,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:B,table:T,text:/^[^\n]+/},U=x("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",R).getRegex(),j={...H,lheading:I,table:U,paragraph:x(D).replace("hr",v).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",U).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",R).getRegex()},$={...H,html:x("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",P).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:T,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:x(D).replace("hr",v).replace("heading",` *#{1,6} *[^
|
|
115
|
+
]`).replace("lheading",N).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},z=/^( {2,}|\\)\n(?!\s*$)/,G=/[\p{P}\p{S}]/u,K=/[\s\p{P}\p{S}]/u,Y=/[^\s\p{P}\p{S}]/u,q=x(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,K).getRegex(),W=/(?!~)[\p{P}\p{S}]/u,V=x(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",A?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),X=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Q=x(X,"u").replace(/punct/g,G).getRegex(),Z=x(X,"u").replace(/punct/g,W).getRegex(),J="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",ee=x(J,"gu").replace(/notPunctSpace/g,Y).replace(/punctSpace/g,K).replace(/punct/g,G).getRegex(),et=x(J,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,W).getRegex(),en=x("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Y).replace(/punctSpace/g,K).replace(/punct/g,G).getRegex(),er=x(/\\(punct)/,"gu").replace(/punct/g,G).getRegex(),ei=x(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ea=x(P).replace("(?:--\x3e|$)","--\x3e").getRegex(),es=x("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ea).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),eo=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,el=x(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",eo).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),ec=x(/^!?\[(label)\]\[(ref)\]/).replace("label",eo).replace("ref",O).getRegex(),eu=x(/^!?\[(ref)\](?:\[\])?/).replace("ref",O).getRegex(),eh=x("reflink|nolink(?!\\()","g").replace("reflink",ec).replace("nolink",eu).getRegex(),ep=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ed={_backpedal:T,anyPunctuation:er,autolink:ei,blockSkip:V,br:z,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:T,emStrongLDelim:Q,emStrongRDelimAst:ee,emStrongRDelimUnd:en,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:el,nolink:eu,punctuation:q,reflink:ec,reflinkSearch:eh,tag:es,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:T},ef={...ed,link:x(/^!?\[(label)\]\((.*?)\)/).replace("label",eo).getRegex(),reflink:x(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",eo).getRegex()},em={...ed,emStrongRDelimAst:et,emStrongLDelim:Z,url:x(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",ep).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:x(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",ep).getRegex()},eg={...em,br:x(z).replace("{2,}","*").getRegex(),text:x(em.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},ey={normal:H,gfm:j,pedantic:$},eb={normal:ed,gfm:em,breaks:eg,pedantic:ef},e_={"&":"&","<":"<",">":">",'"':""","'":"'"},ek=e=>e_[e];function eE(e,t){if(t){if(w.escapeTest.test(e))return e.replace(w.escapeReplace,ek)}else if(w.escapeTestNoEncode.test(e))return e.replace(w.escapeReplaceNoEncode,ek);return e}function eT(e){try{e=encodeURI(e).replace(w.percentDecode,"%")}catch{return null}return e}function ex(e,t){let n=e.replace(w.findPipe,(e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"}).split(w.splitPipe),r=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(w.slashPipe,"|");return n}function eA(e,t,n){let r=e.length;if(0===r)return"";let i=0;for(;i<r;){let a=e.charAt(r-i-1);if(a!==t||n)if(a!==t&&n)i++;else break;else i++}return e.slice(0,r-i)}function ew(e,t,n,r,i){let a=t.href,s=t.title||null,o=e[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:n,href:a,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,l}var ev=class{options;rules;lexer;constructor(e){this.options=e||E}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:eA(e,`
|
|
116
|
+
`)}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],n=function(e,t,n){let r=e.match(n.other.indentCodeCompensation);if(null===r)return t;let i=r[1];return t.split(`
|
|
117
|
+
`).map(e=>{let t=e.match(n.other.beginningSpace);if(null===t)return e;let[r]=t;return r.length>=i.length?e.slice(i.length):e}).join(`
|
|
118
|
+
`)}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=eA(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:eA(t[0],`
|
|
119
|
+
`)}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=eA(t[0],`
|
|
120
|
+
`).split(`
|
|
121
|
+
`),n="",r="",i=[];for(;e.length>0;){let t=!1,a=[],s;for(s=0;s<e.length;s++)if(this.rules.other.blockquoteStart.test(e[s]))a.push(e[s]),t=!0;else if(t)break;else a.push(e[s]);e=e.slice(s);let o=a.join(`
|
|
122
|
+
`),l=o.replace(this.rules.other.blockquoteSetextReplace,`
|
|
123
|
+
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");n=n?`${n}
|
|
124
|
+
${o}`:o,r=r?`${r}
|
|
125
|
+
${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=c,0===e.length)break;let u=i.at(-1);if(u?.type==="code")break;if(u?.type==="blockquote"){let t=u.raw+`
|
|
126
|
+
`+e.join(`
|
|
127
|
+
`),a=this.blockquote(t);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-u.text.length)+a.text;break}if(u?.type==="list"){let t=u.raw+`
|
|
128
|
+
`+e.join(`
|
|
129
|
+
`),a=this.list(t);i[i.length-1]=a,n=n.substring(0,n.length-u.raw.length)+a.raw,r=r.substring(0,r.length-u.raw.length)+a.raw,e=t.substring(i.at(-1).raw.length).split(`
|
|
130
|
+
`);continue}}return{type:"blockquote",raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim(),r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=r?n:"[*+-]");let a=this.rules.other.listItemRegex(n),s=!1;for(;e;){let n=!1,r="",o="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=t[2].split(`
|
|
131
|
+
`,1)[0].replace(this.rules.other.listReplaceTabs,e=>" ".repeat(3*e.length)),c=e.split(`
|
|
132
|
+
`,1)[0],u=!l.trim(),h=0;if(this.options.pedantic?(h=2,o=l.trimStart()):u?h=t[1].length+1:(h=(h=t[2].search(this.rules.other.nonSpaceChar))>4?1:h,o=l.slice(h),h+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(r+=c+`
|
|
133
|
+
`,e=e.substring(c.length+1),n=!0),!n){let t=this.rules.other.nextBulletRegex(h),n=this.rules.other.hrRegex(h),i=this.rules.other.fencesBeginRegex(h),a=this.rules.other.headingBeginRegex(h),s=this.rules.other.htmlBeginRegex(h);for(;e;){let p=e.split(`
|
|
134
|
+
`,1)[0],d;if(c=p,d=this.options.pedantic?c=c.replace(this.rules.other.listReplaceNesting," "):c.replace(this.rules.other.tabCharGlobal," "),i.test(c)||a.test(c)||s.test(c)||t.test(c)||n.test(c))break;if(d.search(this.rules.other.nonSpaceChar)>=h||!c.trim())o+=`
|
|
135
|
+
`+d.slice(h);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||i.test(l)||a.test(l)||n.test(l))break;o+=`
|
|
136
|
+
`+c}u||c.trim()||(u=!0),r+=p+`
|
|
137
|
+
`,e=e.substring(p.length+1),l=d.slice(h)}}i.loose||(s?i.loose=!0:this.rules.other.doubleBlankLine.test(r)&&(s=!0));let p=null,d;this.options.gfm&&(p=this.rules.other.listIsTask.exec(o))&&(d="[ ] "!==p[0],o=o.replace(this.rules.other.listReplaceTask,"")),i.items.push({type:"list_item",raw:r,task:!!p,checked:d,loose:!1,text:o,tokens:[]}),i.raw+=r}let o=i.items.at(-1);if(!o)return;o.raw=o.raw.trimEnd(),o.text=o.text.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){let t=i.items[e].tokens.filter(e=>"space"===e.type);i.loose=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw))}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),n=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let n=ex(t[1]),r=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),i=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
138
|
+
`):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(let e of r)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<n.length;e++)a.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:a.align[e]});for(let e of i)a.rows.push(ex(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e=t[1].charAt(t[1].length-1)===`
|
|
139
|
+
`?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=eA(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e){if(-1===e.indexOf(")"))return -1;let t=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if("("===e[n])t++;else if(")"===e[n]&&--t<0)return n;return t>0?-2:-1}(t[2]);if(-2===e)return;if(e>-1){let n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),this.rules.other.startAngleBracket.test(n)&&(n=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?n.slice(1):n.slice(1,-1)),ew(t,{href:n&&n.replace(this.rules.inline.anyPunctuation,"$1"),title:r&&r.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){let e=t[(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return ew(n,e,n[0],this.lexer,this.rules)}}emStrong(e,t,n=""){let r=this.rules.inline.emStrongLDelim.exec(e);if(!(!r||r[3]&&n.match(this.rules.other.unicodeAlphaNumeric))&&(!(r[1]||r[2])||!n||this.rules.inline.punctuation.exec(n))){let n=[...r[0]].length-1,i,a,s=n,o=0,l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(!(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6]))continue;if(a=[...i].length,r[3]||r[4]){s+=a;continue}if((r[5]||r[6])&&n%3&&!((n+a)%3)){o+=a;continue}if((s-=a)>0)continue;a=Math.min(a,a+s+o);let t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+a);if(Math.min(n,a)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),n=this.rules.other.nonSpaceChar.test(e),r=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return n&&r&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,n;return n="@"===t[2]?"mailto:"+(e=t[1]):e=t[1],{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,n;if("@"===t[2])n="mailto:"+(e=t[0]);else{let r;do r=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(r!==t[0]);e=t[0],n="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},eS=class e{tokens;options;state;tokenizer;inlineQueue;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||E,this.options.tokenizer=this.options.tokenizer||new ev,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:w,block:ey.normal,inline:eb.normal};this.options.pedantic?(t.block=ey.pedantic,t.inline=eb.pedantic):this.options.gfm&&(t.block=ey.gfm,this.options.breaks?t.inline=eb.breaks:t.inline=eb.gfm),this.tokenizer.rules=t}static get rules(){return{block:ey,inline:eb}}static lex(t,n){return new e(n).lex(t)}static lexInline(t,n){return new e(n).inlineTokens(t)}lex(e){e=e.replace(w.carriageReturn,`
|
|
140
|
+
`),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],n=!1){for(this.options.pedantic&&(e=e.replace(w.tabCharGlobal," ").replace(w.spaceLine,""));e;){let r;if(this.options.extensions?.block?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length);let n=t.at(-1);1===r.raw.length&&void 0!==n?n.raw+=`
|
|
141
|
+
`:t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(`
|
|
142
|
+
`)?"":`
|
|
143
|
+
`)+r.raw,n.text+=`
|
|
144
|
+
`+r.text,this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="paragraph"||n?.type==="text"?(n.raw+=(n.raw.endsWith(`
|
|
145
|
+
`)?"":`
|
|
146
|
+
`)+r.raw,n.text+=`
|
|
147
|
+
`+r.raw,this.inlineQueue.at(-1).src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title},t.push(r));continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}let i=e;if(this.options.extensions?.startBlock){let t=1/0,n=e.slice(1),r;this.options.extensions.startBlock.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){let a=t.at(-1);n&&a?.type==="paragraph"?(a.raw+=(a.raw.endsWith(`
|
|
148
|
+
`)?"":`
|
|
149
|
+
`)+r.raw,a.text+=`
|
|
150
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(r),n=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length);let n=t.at(-1);n?.type==="text"?(n.raw+=(n.raw.endsWith(`
|
|
151
|
+
`)?"":`
|
|
152
|
+
`)+r.raw,n.text+=`
|
|
153
|
+
`+r.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let n,r=e,i=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(r));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(r=r.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+r.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(r));)r=r.slice(0,i.index)+"++"+r.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(r));)n=i[2]?i[2].length:0,r=r.slice(0,i.index+n)+"["+"a".repeat(i[0].length-n-2)+"]"+r.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);r=this.options.hooks?.emStrongMask?.call({lexer:this},r)??r;let a=!1,s="";for(;e;){let n;if(a||(s=""),a=!1,this.options.extensions?.inline?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if((n=this.tokenizer.escape(e))||(n=this.tokenizer.tag(e))||(n=this.tokenizer.link(e))){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(n.raw.length);let r=t.at(-1);"text"===n.type&&r?.type==="text"?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if((n=this.tokenizer.emStrong(e,r,s))||(n=this.tokenizer.codespan(e))||(n=this.tokenizer.br(e))||(n=this.tokenizer.del(e))||(n=this.tokenizer.autolink(e))||!this.state.inLink&&(n=this.tokenizer.url(e))){e=e.substring(n.raw.length),t.push(n);continue}let i=e;if(this.options.extensions?.startInline){let t=1/0,n=e.slice(1),r;this.options.extensions.startInline.forEach(e=>{"number"==typeof(r=e.call({lexer:this},n))&&r>=0&&(t=Math.min(t,r))}),t<1/0&&t>=0&&(i=e.substring(0,t+1))}if(n=this.tokenizer.inlineText(i)){e=e.substring(n.raw.length),"_"!==n.raw.slice(-1)&&(s=n.raw.slice(-1)),a=!0;let r=t.at(-1);r?.type==="text"?(r.raw+=n.raw,r.text+=n.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}},eC=class{options;parser;constructor(e){this.options=e||E}space(e){return""}code({text:e,lang:t,escaped:n}){let r=(t||"").match(w.notSpaceStart)?.[0],i=e.replace(w.endingNewline,"")+`
|
|
154
|
+
`;return r?'<pre><code class="language-'+eE(r)+'">'+(n?i:eE(i,!0))+`</code></pre>
|
|
155
|
+
`:"<pre><code>"+(n?i:eE(i,!0))+`</code></pre>
|
|
156
|
+
`}blockquote({tokens:e}){return`<blockquote>
|
|
157
|
+
${this.parser.parse(e)}</blockquote>
|
|
158
|
+
`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>
|
|
159
|
+
`}hr(e){return`<hr>
|
|
160
|
+
`}list(e){let t=e.ordered,n=e.start,r="";for(let t=0;t<e.items.length;t++){let n=e.items[t];r+=this.listitem(n)}let i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+`>
|
|
161
|
+
`+r+"</"+i+`>
|
|
162
|
+
`}listitem(e){let t="";if(e.task){let n=this.checkbox({checked:!!e.checked});e.loose?e.tokens[0]?.type==="paragraph"?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+eE(e.tokens[0].tokens[0].text),e.tokens[0].tokens[0].escaped=!0)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" ",escaped:!0}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),`<li>${t}</li>
|
|
163
|
+
`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>
|
|
164
|
+
`}table(e){let t="",n="";for(let t=0;t<e.header.length;t++)n+=this.tablecell(e.header[t]);t+=this.tablerow({text:n});let r="";for(let t=0;t<e.rows.length;t++){let i=e.rows[t];n="";for(let e=0;e<i.length;e++)n+=this.tablecell(i[e]);r+=this.tablerow({text:n})}return r&&(r=`<tbody>${r}</tbody>`),`<table>
|
|
165
|
+
<thead>
|
|
166
|
+
`+t+`</thead>
|
|
167
|
+
`+r+`</table>
|
|
168
|
+
`}tablerow({text:e}){return`<tr>
|
|
169
|
+
${e}</tr>
|
|
170
|
+
`}tablecell(e){let t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?`<${n} align="${e.align}">`:`<${n}>`)+t+`</${n}>
|
|
171
|
+
`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${eE(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:n}){let r=this.parser.parseInline(n),i=eT(e);if(null===i)return r;let a='<a href="'+(e=i)+'"';return t&&(a+=' title="'+eE(t)+'"'),a+=">"+r+"</a>"}image({href:e,title:t,text:n,tokens:r}){r&&(n=this.parser.parseInline(r,this.parser.textRenderer));let i=eT(e);if(null===i)return eE(n);e=i;let a=`<img src="${e}" alt="${n}"`;return t&&(a+=` title="${eE(t)}"`),a+=">"}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:eE(e.text)}},eN=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}},eI=class e{options;renderer;textRenderer;constructor(e){this.options=e||E,this.options.renderer=this.options.renderer||new eC,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new eN}static parse(t,n){return new e(n).parse(t)}static parseInline(t,n){return new e(n).parseInline(t)}parse(e,t=!0){let n="";for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"def":n+=this.renderer.def(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let a=i,s=this.renderer.text(a);for(;r+1<e.length&&"text"===e[r+1].type;)a=e[++r],s+=`
|
|
172
|
+
`+this.renderer.text(a);t?n+=this.renderer.paragraph({type:"paragraph",raw:s,text:s,tokens:[{type:"text",raw:s,text:s,escaped:!0}]}):n+=s;continue}default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}parseInline(e,t=this.renderer){let n="";for(let r=0;r<e.length;r++){let i=e[r];if(this.options.extensions?.renderers?.[i.type]){let e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{let e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw Error(e)}}}return n}},eD=class{options;block;constructor(e){this.options=e||E}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?eS.lex:eS.lexInline}provideParser(){return this.block?eI.parse:eI.parseInline}},eO=new class{defaults=k();options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=eI;Renderer=eC;TextRenderer=eN;Lexer=eS;Tokenizer=ev;Hooks=eD;constructor(...e){this.use(...e)}walkTokens(e,t){let n=[];for(let r of e)switch(n=n.concat(t.call(this,r)),r.type){case"table":for(let e of r.header)n=n.concat(this.walkTokens(e.tokens,t));for(let e of r.rows)for(let r of e)n=n.concat(this.walkTokens(r.tokens,t));break;case"list":n=n.concat(this.walkTokens(r.items,t));break;default:{let e=r;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(r=>{let i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))}):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let n={...e};if(n.async=this.defaults.async||n.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let n=t.renderers[e.name];n?t.renderers[e.name]=function(...t){let r=e.renderer.apply(this,t);return!1===r&&(r=n.apply(this,t)),r}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let n=t[e.level];n?n.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),n.extensions=t),e.renderer){let t=this.defaults.renderer||new eC(this.defaults);for(let n in e.renderer){if(!(n in t))throw Error(`renderer '${n}' does not exist`);if(["options","parser"].includes(n))continue;let r=e.renderer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n||""}}n.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new ev(this.defaults);for(let n in e.tokenizer){if(!(n in t))throw Error(`tokenizer '${n}' does not exist`);if(["options","rules","lexer"].includes(n))continue;let r=e.tokenizer[n],i=t[n];t[n]=(...e)=>{let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new eD;for(let n in e.hooks){if(!(n in t))throw Error(`hook '${n}' does not exist`);if(["options","block"].includes(n))continue;let r=e.hooks[n],i=t[n];eD.passThroughHooks.has(n)?t[n]=e=>{if(this.defaults.async&&eD.passThroughHooksRespectAsync.has(n))return(async()=>{let n=await r.call(t,e);return i.call(t,n)})();let a=r.call(t,e);return i.call(t,a)}:t[n]=(...e)=>{if(this.defaults.async)return(async()=>{let n=await r.apply(t,e);return!1===n&&(n=await i.apply(t,e)),n})();let n=r.apply(t,e);return!1===n&&(n=i.apply(t,e)),n}}n.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,r=e.walkTokens;n.walkTokens=function(e){let n=[];return n.push(r.call(this,e)),t&&(n=n.concat(t.call(this,e))),n}}this.defaults={...this.defaults,...n}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return eS.lex(e,t??this.defaults)}parser(e,t){return eI.parse(e,t??this.defaults)}parseMarkdown(e){return(t,n)=>{let r={...n},i={...this.defaults,...r},a=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===r.async)return a(Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(i.hooks&&(i.hooks.options=i,i.hooks.block=e),i.async)return(async()=>{let n=i.hooks?await i.hooks.preprocess(t):t,r=await (i.hooks?await i.hooks.provideLexer():e?eS.lex:eS.lexInline)(n,i),a=i.hooks?await i.hooks.processAllTokens(r):r;i.walkTokens&&await Promise.all(this.walkTokens(a,i.walkTokens));let s=await (i.hooks?await i.hooks.provideParser():e?eI.parse:eI.parseInline)(a,i);return i.hooks?await i.hooks.postprocess(s):s})().catch(a);try{i.hooks&&(t=i.hooks.preprocess(t));let n=(i.hooks?i.hooks.provideLexer():e?eS.lex:eS.lexInline)(t,i);i.hooks&&(n=i.hooks.processAllTokens(n)),i.walkTokens&&this.walkTokens(n,i.walkTokens);let r=(i.hooks?i.hooks.provideParser():e?eI.parse:eI.parseInline)(n,i);return i.hooks&&(r=i.hooks.postprocess(r)),r}catch(e){return a(e)}}}onError(e,t){return n=>{if(n.message+=`
|
|
173
|
+
Please report this to https://github.com/markedjs/marked.`,e){let e="<p>An error occurred:</p><pre>"+eE(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function eM(e,t){return eO.parse(e,t)}eM.options=eM.setOptions=function(e){return eO.setOptions(e),eM.defaults=eO.defaults,E=eM.defaults,eM},eM.getDefaults=k,eM.defaults=E,eM.use=function(...e){return eO.use(...e),eM.defaults=eO.defaults,E=eM.defaults,eM},eM.walkTokens=function(e,t){return eO.walkTokens(e,t)},eM.parseInline=eO.parseInline,eM.Parser=eI,eM.parser=eI.parse,eM.Renderer=eC,eM.TextRenderer=eN,eM.Lexer=eS,eM.lexer=eS.lex,eM.Tokenizer=ev,eM.Hooks=eD,eM.parse=eM,eM.options,eM.setOptions,eM.use,eM.walkTokens,eM.parseInline,eI.parse,eS.lex;var eL=n(90676),eR={body:'<g><rect width="80" height="80" style="fill: #087ebf; stroke-width: 0px;"/><text transform="translate(21.16 64.67)" style="fill: #fff; font-family: ArialMT, Arial; font-size: 67.75px;"><tspan x="0" y="0">?</tspan></text></g>',height:80,width:80},eP=new Map,eF=new Map,eB=(0,a.K2)(e=>{for(let t of e){if(!t.name)throw Error('Invalid icon loader. Must have a "name" property with non-empty string value.');if(a.Rm.debug("Registering icon pack:",t.name),"loader"in t)eF.set(t.name,t.loader);else if("icons"in t)eP.set(t.name,t.icons);else throw a.Rm.error("Invalid icon loader:",t),Error('Invalid icon loader. Must have either "icons" or "loader" property.')}},"registerIconPacks"),eH=(0,a.K2)(async(e,t)=>{let n=((e,t,n,r="")=>{let i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;r=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){let e=i.pop(),n=i.pop(),a={provider:i.length>0?i[0]:r,prefix:n,name:e};return t&&!s(a)?null:a}let a=i[0],o=a.split("-");if(o.length>1){let e={provider:r,prefix:o.shift(),name:o.join("-")};return t&&!s(e)?null:e}if(n&&""===r){let e={provider:r,prefix:"",name:a};return t&&!s(e,n)?null:e}return null})(e,!0,void 0!==t);if(!n)throw Error(`Invalid icon name: ${e}`);let r=n.prefix||t;if(!r)throw Error(`Icon name must contain a prefix: ${e}`);let i=eP.get(r);if(!i){let e=eF.get(r);if(!e)throw Error(`Icon set not found: ${n.prefix}`);try{i={...await e(),prefix:r},eP.set(r,i)}catch(e){throw a.Rm.error(e),Error(`Failed to load icon set: ${n.prefix}`)}}let o=function(e,t){var n;let r,i,a;if(e.icons[t])return p(e,t,[]);let s=(n=[t],r=e.icons,i=e.aliases||Object.create(null),a=Object.create(null),(n||Object.keys(r).concat(Object.keys(i))).forEach(function e(t){if(r[t])return a[t]=[];if(!(t in a)){a[t]=null;let n=i[t]&&i[t].parent,r=n&&e(n);r&&(a[t]=[n].concat(r))}return a[t]}),a)[t];return s?p(e,t,s):null}(i,n.name);if(!o)throw Error(`Icon not found: ${e}`);return o},"getRegisteredIconData"),eU=(0,a.K2)(async e=>{try{return await eH(e),!0}catch{return!1}},"isIconAvailable"),ej=(0,a.K2)(async(e,t,n)=>{var r;let s,o,l,u,h,p,f,m,_,k,E,T,x,A;try{s=await eH(e,t?.fallbackPrefix)}catch(e){a.Rm.error(e),s=eR}let w=(r=s,u={...c,...r},h={...d,...t},p={left:u.left,top:u.top,width:u.width,height:u.height},f=u.body,[u,h].forEach(e=>{var t,n,r,i;let a,s,o=[],l=e.hFlip,c=e.vFlip,u=e.rotate;switch(l?c?u+=2:(o.push("translate("+(p.width+p.left).toString()+" "+(0-p.top).toString()+")"),o.push("scale(-1 1)"),p.top=p.left=0):c&&(o.push("translate("+(0-p.left).toString()+" "+(p.height+p.top).toString()+")"),o.push("scale(1 -1)"),p.top=p.left=0),u<0&&(u-=4*Math.floor(u/4)),u%=4){case 1:a=p.height/2+p.top,o.unshift("rotate(90 "+a.toString()+" "+a.toString()+")");break;case 2:o.unshift("rotate(180 "+(p.width/2+p.left).toString()+" "+(p.height/2+p.top).toString()+")");break;case 3:a=p.width/2+p.left,o.unshift("rotate(-90 "+a.toString()+" "+a.toString()+")")}u%2==1&&(p.left!==p.top&&(a=p.left,p.left=p.top,p.top=a),p.width!==p.height&&(a=p.width,p.width=p.height,p.height=a)),o.length&&(t=f,n='<g transform="'+o.join(" ")+'">',r=(s=function(e,t="defs"){let n="",r=e.indexOf("<"+t);for(;r>=0;){let i=e.indexOf(">",r),a=e.indexOf("</"+t);if(-1===i||-1===a)break;let s=e.indexOf(">",a);if(-1===s)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(s+1)}return{defs:n,content:e}}(t)).defs,i=n+s.content+"</g>",f=r?"<defs>"+r+"</defs>"+i:i)}),m=h.width,_=h.height,k=p.width,E=p.height,null===m?o=g(l=null===_?"1em":"auto"===_?E:_,k/E):(o="auto"===m?k:m,l=null===_?g(o,E/k):"auto"===_?E:_),T={},(x=(e,t)=>{"unset"!==t&&"undefined"!==t&&"none"!==t&&(T[e]=t.toString())})("width",o),x("height",l),T.viewBox=(A=[p.left,p.top,k,E]).join(" "),{attributes:T,viewBox:A,body:f}),v=function(e,t){let n=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(let e in t)n+=" "+e+'="'+t[e]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}(function(e){let t,n=[];for(;t=y.exec(e);)n.push(t[1]);if(!n.length)return e;let r="suffix"+(0x1000000*Math.random()|Date.now()).toString(16);return n.forEach(t=>{var n;let i,a=(n=(n=t).replace(/[0-9]+$/,"")||"a",i=b.get(n)||0,b.set(n,i+1),i?`${n}${i}`:n),s=t.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(RegExp('([#;"])('+s+')([")]|\\.[a-z])',"g"),"$1"+a+r+"$3")}),e=e.replace(RegExp(r,"g"),"")}(w.body),{...w.attributes,...n});return(0,i.jZ)(v,(0,i.zj)())},"getIconSVG");function e$(e,{markdownAutoWrap:t}){let n=e.replace(/<br\/>/g,"\n").replace(/\n{2,}/g,"\n");return(0,eL.T)(n)}function ez(e){return e.split(/\\n|\n|<br\s*\/?>/gi).map(e=>e.trim().match(/<[^>]+>|[^\s<>]+/g)?.map(e=>({content:e,type:"normal"}))??[])}function eG(e,t={}){let n=e$(e,t),r=eM.lexer(n),i=[[]],s=0;function o(e,t="normal"){"text"===e.type?e.text.split("\n").forEach((e,n)=>{0!==n&&(s++,i.push([])),e.split(" ").forEach(e=>{(e=e.replace(/'/g,"'"))&&i[s].push({content:e,type:t})})}):"strong"===e.type||"em"===e.type?e.tokens.forEach(t=>{o(t,e.type)}):"html"===e.type&&i[s].push({content:e.text,type:"normal"})}return(0,a.K2)(o,"processNode"),r.forEach(e=>{"paragraph"===e.type?e.tokens?.forEach(e=>{o(e)}):"html"===e.type?i[s].push({content:e.text,type:"normal"}):i[s].push({content:e.raw,type:"normal"})}),i}function eK(e){return e?`<p>${e.replace(/\\n|\n/g,"<br />")}</p>`:""}function eY(e,{markdownAutoWrap:t}={}){let n=eM.lexer(e);function r(e){if("text"===e.type)return!1===t?e.text.replace(/\n */g,"<br/>").replace(/ /g," "):e.text.replace(/\n */g,"<br/>");if("strong"===e.type)return`<strong>${e.tokens?.map(r).join("")}</strong>`;if("em"===e.type)return`<em>${e.tokens?.map(r).join("")}</em>`;if("paragraph"===e.type)return`<p>${e.tokens?.map(r).join("")}</p>`;if("space"===e.type)return"";else if("html"===e.type)return`${e.text}`;else if("escape"===e.type)return e.text;return a.Rm.warn(`Unsupported markdown: ${e.type}`),e.raw}return(0,a.K2)(r,"output"),n.map(r).join("")}function eq(e){return Intl.Segmenter?[...new Intl.Segmenter().segment(e)].map(e=>e.segment):[...e]}function eW(e,t){return eV(e,[],eq(t.content),t.type)}function eV(e,t,n,r){if(0===n.length)return[{content:t.join(""),type:r},{content:"",type:r}];let[i,...a]=n,s=[...t,i];return e([{content:s.join(""),type:r}])?eV(e,s,a,r):(0===t.length&&i&&(t.push(i),n.shift()),[{content:t.join(""),type:r},{content:n.join(""),type:r}])}function eX(e,t){if(e.some(({content:e})=>e.includes("\n")))throw Error("splitLineToFitWidth does not support newlines in the line");return eQ(e,t)}function eQ(e,t,n=[],r=[]){if(0===e.length)return r.length>0&&n.push(r),n.length>0?n:[];let i="";" "===e[0].content&&(i=" ",e.shift());let a=e.shift()??{content:" ",type:"normal"},s=[...r];if(""!==i&&s.push({content:i,type:"normal"}),s.push(a),t(s))return eQ(e,t,n,s);if(r.length>0)n.push(r),e.unshift(a);else if(a.content){let[r,i]=eW(t,a);n.push([r]),i.content&&e.unshift(i)}return eQ(e,t,n)}function eZ(e,t){t&&e.attr("style",t)}async function eJ(e,t,n,r,a=!1,s=(0,i.zj)()){let o=e.append("foreignObject");o.attr("width",`${Math.min(10*n,16384)}px`),o.attr("height",`${Math.min(10*n,16384)}px`);let l=o.append("xhtml:div"),c=(0,i.Wi)(t.label)?await (0,i.dj)(t.label.replace(i.Y2.lineBreakRegex,"\n"),s):(0,i.jZ)(t.label,s),u=t.isNode?"nodeLabel":"edgeLabel",h=l.append("span");h.html(c),eZ(h,t.labelStyle),h.attr("class",`${u} ${r}`),eZ(l,t.labelStyle),l.style("display","table-cell"),l.style("white-space","nowrap"),l.style("line-height","1.5"),1/0!==n&&(l.style("max-width",n+"px"),l.style("text-align","center")),l.attr("xmlns","http://www.w3.org/1999/xhtml"),a&&l.attr("class","labelBkg");let p=l.node().getBoundingClientRect();return p.width===n&&(l.style("display","table"),l.style("white-space","break-spaces"),l.style("width",n+"px"),p=l.node().getBoundingClientRect()),o.node()}function e0(e,t,n,r=!1){let i=e.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",t*n-.1+"em").attr("dy",n+"em");return r&&i.attr("text-anchor","middle"),i}function e1(e,t,n){let r=e.append("text"),i=e0(r,1,t);e9(i,n);let a=i.node().getComputedTextLength();return r.remove(),a}function e2(e,t,n){let r=e.append("text"),i=e0(r,1,t);e9(i,[{content:n,type:"normal"}]);let a=i.node()?.getBoundingClientRect();return a&&r.remove(),a}function e3(e,t,n,r=!1,i=!1){let s=t.append("g"),o=s.insert("rect").attr("class","background").attr("style","stroke: none"),l=s.append("text").attr("y","-10.1");i&&l.attr("text-anchor","middle");let c=0;for(let t of n){let n=(0,a.K2)(t=>e1(s,1.1,t)<=e,"checkWidth");for(let e of n(t)?[t]:eX(t,n))e9(e0(l,c,1.1,i),e),c++}if(!r)return l.node();{let e=l.node().getBBox();return o.attr("x",e.x-2).attr("y",e.y-2).attr("width",e.width+4).attr("height",e.height+4),s.node()}}function e5(e){return e.replace(/&(amp|lt|gt);/g,(e,t)=>{switch(t){case"amp":return"&";case"lt":return"<";case"gt":return">";default:return e}})}function e9(e,t){e.text(""),t.forEach((t,n)=>{let r=e.append("tspan").attr("font-style","em"===t.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===t.type?"bold":"normal");0===n?r.text(e5(t.content)):r.text(" "+e5(t.content))})}async function e6(e,t={}){let n=[];e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,(e,r,a)=>(n.push((async()=>{let n=`${r}:${a}`;return await eU(n)?await ej(n,void 0,{class:"label-icon"}):`<i class='${(0,i.jZ)(e,t).replace(":"," ")}'></i>`})()),e));let r=await Promise.all(n);return e.replace(/(fa[bklrs]?):fa-([\w-]+)/g,()=>r.shift()??"")}(0,a.K2)(e$,"preprocessMarkdown"),(0,a.K2)(ez,"nonMarkdownToLines"),(0,a.K2)(eG,"markdownToLines"),(0,a.K2)(eK,"nonMarkdownToHTML"),(0,a.K2)(eY,"markdownToHTML"),(0,a.K2)(eq,"splitTextToChars"),(0,a.K2)(eW,"splitWordToFitWidth"),(0,a.K2)(eV,"splitWordToFitWidthRecursion"),(0,a.K2)(eX,"splitLineToFitWidth"),(0,a.K2)(eQ,"splitLineToFitWidthRecursion"),(0,a.K2)(eZ,"applyStyle"),(0,a.K2)(eJ,"addHtmlSpan"),(0,a.K2)(e0,"createTspan"),(0,a.K2)(e1,"computeWidthOfText"),(0,a.K2)(e2,"computeDimensionOfText"),(0,a.K2)(e3,"createFormattedText"),(0,a.K2)(e5,"decodeHTMLEntities"),(0,a.K2)(e9,"updateTextContentAndStyles"),(0,a.K2)(e6,"replaceIconSubstring");var e4=(0,a.K2)(async(e,t="",{style:n="",isTitle:s=!1,classes:o="",useHtmlLabels:l=!0,markdown:c=!0,isNode:u=!0,width:h=200,addSvgBackground:p=!1}={},d)=>{if(a.Rm.debug("XYZ createText",t,n,s,o,l,u,"addSvgBackground: ",p),l){let a=c?eY(t,d):eK(t),s=await e6((0,r.Sm)(a),d),l=t.replace(/\\\\/g,"\\"),f={isNode:u,label:(0,i.Wi)(t)?l:s,labelStyle:n.replace("fill:","color:")};return await eJ(e,f,h,o,p,d)}{let i=(0,r.Sm)(t.replace(/<br\s*\/?>/g,"<br/>")),a=e3(h,e,c?eG(i.replace("<br>","<br/>"),d):ez(i),!!t&&p,!u);if(u){/stroke:/.exec(n)&&(n=n.replace("stroke:","lineColor:"));let e=n.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,_.Ltv)(a).attr("style",e)}else{let e=n.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/background:/g,"fill:");(0,_.Ltv)(a).select("rect").attr("style",e.replace(/background:/g,"fill:"));let t=n.replace(/stroke:[^;]+;?/g,"").replace(/stroke-width:[^;]+;?/g,"").replace(/fill:[^;]+;?/g,"").replace(/color:/g,"fill:");(0,_.Ltv)(a).select("text").attr("style",t)}return s?(0,_.Ltv)(a).selectAll("tspan.text-outer-tspan").classed("title-row",!0):(0,_.Ltv)(a).selectAll("tspan.text-outer-tspan").classed("row",!0),a}},"createText")},89315:e=>{"use strict";let t=[[{color:"0, 0, 0",class:"ansi-black"},{color:"187, 0, 0",class:"ansi-red"},{color:"0, 187, 0",class:"ansi-green"},{color:"187, 187, 0",class:"ansi-yellow"},{color:"0, 0, 187",class:"ansi-blue"},{color:"187, 0, 187",class:"ansi-magenta"},{color:"0, 187, 187",class:"ansi-cyan"},{color:"255,255,255",class:"ansi-white"}],[{color:"85, 85, 85",class:"ansi-bright-black"},{color:"255, 85, 85",class:"ansi-bright-red"},{color:"0, 255, 0",class:"ansi-bright-green"},{color:"255, 255, 85",class:"ansi-bright-yellow"},{color:"85, 85, 255",class:"ansi-bright-blue"},{color:"255, 85, 255",class:"ansi-bright-magenta"},{color:"85, 255, 255",class:"ansi-bright-cyan"},{color:"255, 255, 255",class:"ansi-bright-white"}]],n=/(https?:\/\/(?:[A-Za-z0-9#;/?:@=+$',_.!~*()[\]-]|&|%[A-Fa-f0-9]{2})+)/gm;class r{static escapeForHtml(e){return new r().escapeForHtml(e)}static linkify(e){return new r().linkify(e)}static ansiToHtml(e,t){return new r().ansiToHtml(e,t)}static ansiToJson(e,t){return new r().ansiToJson(e,t)}static ansiToText(e){return new r().ansiToText(e)}constructor(){this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null,this.bright=0,this.decorations=[]}setupPalette(){this.PALETTE_COLORS=[];for(let e=0;e<2;++e)for(let n=0;n<8;++n)this.PALETTE_COLORS.push(t[e][n].color);let e=[0,95,135,175,215,255],n=(t,n,r)=>e[t]+", "+e[n]+", "+e[r];for(let e=0;e<6;++e)for(let t=0;t<6;++t)for(let r=0;r<6;++r)this.PALETTE_COLORS.push(n(e,t,r));let r=8;for(let e=0;e<24;++e,r+=10)this.PALETTE_COLORS.push(r+", "+r+", "+r)}escapeForHtml(e){return e.replace(/[&<>\"]/gm,e=>"&"==e?"&":'"'==e?""":"<"==e?"<":">"==e?">":"")}linkify(e){return e.replace(n,e=>`<a href="${e}">${e}</a>`)}ansiToHtml(e,t){return this.process(e,t,!0)}ansiToJson(e,t){return(t=t||{}).json=!0,t.clearLine=!1,this.process(e,t,!0)}ansiToText(e){return this.process(e,{},!1)}process(e,t,n){let r=e.split(/\033\[/),i=r.shift();null==t&&(t={}),t.clearLine=/\r/.test(e);let a=r.map(e=>this.processChunk(e,t,n));if(t&&t.json){let e=this.processChunkJson("");return e.content=i,e.clearLine=t.clearLine,a.unshift(e),t.remove_empty&&(a=a.filter(e=>!e.isEmpty())),a}return a.unshift(i),a.join("")}processChunkJson(e,n,r){let i=(n=void 0===n?{}:n).use_classes=void 0!==n.use_classes&&n.use_classes,a=n.key=i?"class":"color",s={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,isInverted:!1,clearLine:n.clearLine,decoration:null,decorations:[],was_processed:!1,isEmpty:()=>!s.content},o=e.match(/^([!\x3c-\x3f]*)([\d;]*)([\x20-\x2c]*[\x40-\x7e])([\s\S]*)/m);if(!o)return s;s.content=o[4];let l=o[2].split(";");if(""!==o[1]||"m"!==o[3]||!r)return s;for(;l.length>0;){let e=parseInt(l.shift());if(isNaN(e)||0===e)this.fg=this.bg=null,this.decorations=[];else if(1===e)this.decorations.push("bold");else if(2===e)this.decorations.push("dim");else if(3===e)this.decorations.push("italic");else if(4===e)this.decorations.push("underline");else if(5===e)this.decorations.push("blink");else if(7===e)this.decorations.push("reverse");else if(8===e)this.decorations.push("hidden");else if(9===e)this.decorations.push("strikethrough");else if(21===e)this.removeDecoration("bold");else if(22===e)this.removeDecoration("bold"),this.removeDecoration("dim");else if(23===e)this.removeDecoration("italic");else if(24===e)this.removeDecoration("underline");else if(25===e)this.removeDecoration("blink");else if(27===e)this.removeDecoration("reverse");else if(28===e)this.removeDecoration("hidden");else if(29===e)this.removeDecoration("strikethrough");else if(39===e)this.fg=null;else if(49===e)this.bg=null;else if(e>=30&&e<38)this.fg=t[0][e%10][a];else if(e>=90&&e<98)this.fg=t[1][e%10][a];else if(e>=40&&e<48)this.bg=t[0][e%10][a];else if(e>=100&&e<108)this.bg=t[1][e%10][a];else if(38===e||48===e){let n=38===e;if(l.length>=1){let e=l.shift();if("5"===e&&l.length>=1){let e=parseInt(l.shift());if(e>=0&&e<=255)if(i){let r=e>=16?"ansi-palette-"+e:t[+(e>7)][e%8].class;n?this.fg=r:this.bg=r}else this.PALETTE_COLORS||this.setupPalette(),n?this.fg=this.PALETTE_COLORS[e]:this.bg=this.PALETTE_COLORS[e]}else if("2"===e&&l.length>=3){let e=parseInt(l.shift()),t=parseInt(l.shift()),r=parseInt(l.shift());if(e>=0&&e<=255&&t>=0&&t<=255&&r>=0&&r<=255){let a=e+", "+t+", "+r;i?n?(this.fg="ansi-truecolor",this.fg_truecolor=a):(this.bg="ansi-truecolor",this.bg_truecolor=a):n?this.fg=a:this.bg=a}}}}}return null===this.fg&&null===this.bg&&0===this.decorations.length||(s.fg=this.fg,s.bg=this.bg,s.fg_truecolor=this.fg_truecolor,s.bg_truecolor=this.bg_truecolor,s.decorations=this.decorations,s.decoration=this.decorations.slice(-1).pop()||null,s.was_processed=!0),s}processChunk(e,n,r){n=n||{};let i=this.processChunkJson(e,n,r),a=n.use_classes;if(i.decorations=i.decorations.filter(e=>{if("reverse"===e){i.fg||(i.fg=t[0][7][a?"class":"color"]),i.bg||(i.bg=t[0][0][a?"class":"color"]);let e=i.fg;i.fg=i.bg,i.bg=e;let n=i.fg_truecolor;return i.fg_truecolor=i.bg_truecolor,i.bg_truecolor=n,i.isInverted=!0,!1}return!0}),n.json)return i;if(i.isEmpty())return"";if(!i.was_processed)return i.content;let s=[],o=[],l=[],c={},u=e=>{let t,n=[];for(t in e)e.hasOwnProperty(t)&&n.push("data-"+t+'="'+this.escapeForHtml(e[t])+'"');return n.length>0?" "+n.join(" "):""};return(i.isInverted&&(c["ansi-is-inverted"]="true"),i.fg&&(a?(s.push(i.fg+"-fg"),null!==i.fg_truecolor&&(c["ansi-truecolor-fg"]=i.fg_truecolor,i.fg_truecolor=null)):s.push("color:rgb("+i.fg+")")),i.bg&&(a?(s.push(i.bg+"-bg"),null!==i.bg_truecolor&&(c["ansi-truecolor-bg"]=i.bg_truecolor,i.bg_truecolor=null)):s.push("background-color:rgb("+i.bg+")")),i.decorations.forEach(e=>{a?o.push("ansi-"+e):"bold"===e?o.push("font-weight:bold"):"dim"===e?o.push("opacity:0.5"):"italic"===e?o.push("font-style:italic"):"hidden"===e?o.push("visibility:hidden"):"strikethrough"===e?l.push("line-through"):l.push(e)}),l.length&&o.push("text-decoration:"+l.join(" ")),a)?'<span class="'+s.concat(o).join(" ")+'"'+u(c)+">"+i.content+"</span>":'<span style="'+s.concat(o).join(";")+'"'+u(c)+">"+i.content+"</span>"}removeDecoration(e){let t=this.decorations.indexOf(e);t>=0&&this.decorations.splice(t,1)}}e.exports=r},90676:(e,t,n)=>{"use strict";function r(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=Array.from("string"==typeof e?[e]:e);r[r.length-1]=r[r.length-1].replace(/\r?\n([\t ]*)$/,"");var i=r.reduce(function(e,t){var n=t.match(/\n([\t ]+|(?!\s).)/g);return n?e.concat(n.map(function(e){var t,n;return null!=(n=null==(t=e.match(/[\t ]/g))?void 0:t.length)?n:0})):e},[]);if(i.length){var a=RegExp("\n[ ]{".concat(Math.min.apply(Math,i),"}"),"g");r=r.map(function(e){return e.replace(a,"\n")})}r[0]=r[0].replace(/^\r?\n/,"");var s=r[0];return t.forEach(function(e,t){var n=s.match(/(?:^|\n)( *)$/),i=n?n[1]:"",a=e;"string"==typeof e&&e.includes("\n")&&(a=String(e).split("\n").map(function(e,t){return 0===t?e:"".concat(i).concat(e)}).join("\n")),s+=a+r[t+1]}),s}n.d(t,{T:()=>r})},91992:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>ef});let i=Object.entries,a=Object.setPrototypeOf,s=Object.isFrozen,o=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,c=Object.freeze,u=Object.seal,h=Object.create,p="u">typeof Reflect&&Reflect,d=p.apply,f=p.construct;c||(c=function(e){return e}),u||(u=function(e){return e}),d||(d=function(e,t){for(var n=arguments.length,r=Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),f||(f=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});let m=R(Array.prototype.forEach),g=R(Array.prototype.lastIndexOf),y=R(Array.prototype.pop),b=R(Array.prototype.push),_=R(Array.prototype.splice),k=Array.isArray,E=R(String.prototype.toLowerCase),T=R(String.prototype.toString),x=R(String.prototype.match),A=R(String.prototype.replace),w=R(String.prototype.indexOf),v=R(String.prototype.trim),S=R(Number.prototype.toString),C=R(Boolean.prototype.toString),N="u"<typeof BigInt?null:R(BigInt.prototype.toString),I="u"<typeof Symbol?null:R(Symbol.prototype.toString),D=R(Object.prototype.hasOwnProperty),O=R(Object.prototype.toString),M=R(RegExp.prototype.test),L=(ed=TypeError,function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return f(ed,t)});function R(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return d(e,t,r)}}function P(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:E;if(a&&a(e,null),!k(t))return e;let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){let e=n(i);e!==i&&(s(t)||(t[r]=e),i=e)}e[i]=!0}return e}function F(e){let t=h(null);for(let a of i(e)){var n=function(e){if(Array.isArray(e))return e}(a)||function(e){var t=null==e?null:"u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,r,i,a,s=[],o=!0,l=!1;try{i=(t=t.call(e)).next,!1;for(;!(o=(n=i.call(t)).done)&&(s.push(n.value),2!==s.length);o=!0);}catch(e){l=!0,r=e}finally{try{if(!o&&null!=t.return&&(a=t.return(),Object(a)!==a))return}finally{if(l)throw r}}return s}}(a)||function(e){if(e){if("string"==typeof e)return r(e,2);var t=({}).toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?r(e,2):void 0}}(a)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}();let i=n[0],s=n[1];D(e,i)&&(k(s)?t[i]=function(e){for(let t=0;t<e.length;t++)D(e,t)||(e[t]=null);return e}(s):s&&"object"==typeof s&&s.constructor===Object?t[i]=F(s):t[i]=s)}return t}function B(e,t){for(;null!==e;){let n=l(e,t);if(n){if(n.get)return R(n.get);if("function"==typeof n.value)return R(n.value)}e=o(e)}return function(){return null}}let H=c(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),U=c(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),j=c(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),$=c(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),z=c(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),G=c(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),K=c(["#text"]),Y=c(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),q=c(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),W=c(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),V=c(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),X=u(/{{[\w\W]*|^[\w\W]*}}/g),Q=u(/<%[\w\W]*|^[\w\W]*%>/g),Z=u(/\${[\w\W]*/g),J=u(/^data-[\-\w.\u00B7-\uFFFF]+$/),ee=u(/^aria-[\-\w]+$/),et=u(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),en=u(/^(?:\w+script|data):/i),er=u(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ei=u(/^html$/i),ea=u(/^[a-z][.\w]*(-[.\w]+)+$/i),es=u(/<[/\w!]/g),eo=u(/<[/\w]/g),el=u(/<\/no(script|embed|frames)/i),ec=u(/\/>/i),eu=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null,r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));let i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}},eh=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},ep=function(e,t,n,r){return D(e,t)&&k(e[t])?P(r.base?F(r.base):{},e[t],r.transform):n};var ed,ef=function e(){let t,n,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"u"<typeof window?null:window,a=t=>e(t);if(a.version="3.4.11",a.removed=[],!r||!r.document||9!==r.document.nodeType||!r.Element)return a.isSupported=!1,a;let s=r.document,o=s,l=o.currentScript;r.DocumentFragment;let p=r.HTMLTemplateElement,d=r.Node,f=r.Element,R=r.NodeFilter;void 0===r.NamedNodeMap&&(r.NamedNodeMap||r.MozNamedAttrMap),r.HTMLFormElement;let ed=r.DOMParser,ef=r.trustedTypes,em=f.prototype,eg=B(em,"cloneNode"),ey=B(em,"remove"),eb=B(em,"nextSibling"),e_=B(em,"childNodes"),ek=B(em,"parentNode"),eE=B(em,"shadowRoot"),eT=B(em,"attributes"),ex=d&&d.prototype?B(d.prototype,"nodeType"):null,eA=d&&d.prototype?B(d.prototype,"nodeName"):null;if("function"==typeof p){let e=s.createElement("template");e.content&&e.content.ownerDocument&&(s=e.content.ownerDocument)}let ew="",ev=!1,eS=0,eC=function(){if(eS>0)throw L('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},eN=function(e){eC(),eS++;try{return t.createHTML(e)}finally{eS--}},eI=function(e){eC(),eS++;try{return t.createScriptURL(e)}finally{eS--}},eD=s,eO=eD.implementation,eM=eD.createNodeIterator,eL=eD.createDocumentFragment,eR=eD.getElementsByTagName,eP=o.importNode,eF=eh();a.isSupported="function"==typeof i&&"function"==typeof ek&&eO&&void 0!==eO.createHTMLDocument;let eB=et,eH=null,eU=P({},[...H,...U,...j,...z,...K]),ej=null,e$=P({},[...Y,...q,...W,...V]),ez=Object.seal(h(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),eG=null,eK=null,eY=Object.seal(h(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),eq=!0,eW=!0,eV=!1,eX=!0,eQ=!1,eZ=!0,eJ=!1,e0=!1,e1=null,e2=null,e3=!1,e5=!1,e9=!1,e6=!1,e4=!0,e8=!1,e7="user-content-",te=!0,tt=!1,tn={},tr=null,ti=P({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]),ta=null,ts=P({},["audio","video","img","source","image","track"]),to=null,tl=P({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),tc="http://www.w3.org/1998/Math/MathML",tu="http://www.w3.org/2000/svg",th="http://www.w3.org/1999/xhtml",tp=th,td=!1,tf=null,tm=P({},[tc,tu,th],T),tg=c(["mi","mo","mn","ms","mtext"]),ty=P({},tg),tb=c(["annotation-xml"]),t_=P({},tb),tk=P({},["title","style","font","a","script"]),tE=null,tT=["application/xhtml+xml","text/html"],tx=null,tA=null,tw=s.createElement("form"),tv=function(e){return e instanceof RegExp||e instanceof Function},tS=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(tA&&tA===e)return;e&&"object"==typeof e||(e={}),e=F(e),tx="application/xhtml+xml"===(tE=-1===tT.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?T:E,eH=ep(e,"ALLOWED_TAGS",eU,{transform:tx}),ej=ep(e,"ALLOWED_ATTR",e$,{transform:tx}),tf=ep(e,"ALLOWED_NAMESPACES",tm,{transform:T}),to=ep(e,"ADD_URI_SAFE_ATTR",tl,{transform:tx,base:tl}),ta=ep(e,"ADD_DATA_URI_TAGS",ts,{transform:tx,base:ts}),tr=ep(e,"FORBID_CONTENTS",ti,{transform:tx}),eG=ep(e,"FORBID_TAGS",F({}),{transform:tx}),eK=ep(e,"FORBID_ATTR",F({}),{transform:tx}),tn=!!D(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?F(e.USE_PROFILES):e.USE_PROFILES),eq=!1!==e.ALLOW_ARIA_ATTR,eW=!1!==e.ALLOW_DATA_ATTR,eV=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eX=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,eQ=e.SAFE_FOR_TEMPLATES||!1,eZ=!1!==e.SAFE_FOR_XML,eJ=e.WHOLE_DOCUMENT||!1,e5=e.RETURN_DOM||!1,e9=e.RETURN_DOM_FRAGMENT||!1,e6=e.RETURN_TRUSTED_TYPE||!1,e3=e.FORCE_BODY||!1,e4=!1!==e.SANITIZE_DOM,e8=e.SANITIZE_NAMED_PROPS||!1,te=!1!==e.KEEP_CONTENT,tt=e.IN_PLACE||!1,eB=!function(e){try{return M(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?et:e.ALLOWED_URI_REGEXP,tp="string"==typeof e.NAMESPACE?e.NAMESPACE:th,ty=D(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?F(e.MATHML_TEXT_INTEGRATION_POINTS):P({},tg),t_=D(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?F(e.HTML_INTEGRATION_POINTS):P({},tb);let r=D(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?F(e.CUSTOM_ELEMENT_HANDLING):h(null);if(ez=h(null),D(r,"tagNameCheck")&&tv(r.tagNameCheck)&&(ez.tagNameCheck=r.tagNameCheck),D(r,"attributeNameCheck")&&tv(r.attributeNameCheck)&&(ez.attributeNameCheck=r.attributeNameCheck),D(r,"allowCustomizedBuiltInElements")&&"boolean"==typeof r.allowCustomizedBuiltInElements&&(ez.allowCustomizedBuiltInElements=r.allowCustomizedBuiltInElements),u(ez),eQ&&(eW=!1),e9&&(e5=!0),tn&&(eH=P({},K),ej=h(null),!0===tn.html&&(P(eH,H),P(ej,Y)),!0===tn.svg&&(P(eH,U),P(ej,q),P(ej,V)),!0===tn.svgFilters&&(P(eH,j),P(ej,q),P(ej,V)),!0===tn.mathMl&&(P(eH,z),P(ej,W),P(ej,V))),eY.tagCheck=null,eY.attributeCheck=null,D(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?eY.tagCheck=e.ADD_TAGS:k(e.ADD_TAGS)&&(eH===eU&&(eH=F(eH)),P(eH,e.ADD_TAGS,tx))),D(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?eY.attributeCheck=e.ADD_ATTR:k(e.ADD_ATTR)&&(ej===e$&&(ej=F(ej)),P(ej,e.ADD_ATTR,tx))),D(e,"ADD_URI_SAFE_ATTR")&&k(e.ADD_URI_SAFE_ATTR)&&P(to,e.ADD_URI_SAFE_ATTR,tx),D(e,"FORBID_CONTENTS")&&k(e.FORBID_CONTENTS)&&(tr===ti&&(tr=F(tr)),P(tr,e.FORBID_CONTENTS,tx)),D(e,"ADD_FORBID_CONTENTS")&&k(e.ADD_FORBID_CONTENTS)&&(tr===ti&&(tr=F(tr)),P(tr,e.ADD_FORBID_CONTENTS,tx)),te&&(eH["#text"]=!0),eJ&&P(eH,["html","head","body"]),eH.table&&(P(eH,["tbody"]),delete eG.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');let n=t;t=e.TRUSTED_TYPES_POLICY;try{ew=eN("")}catch(e){throw t=n,e}}else null===e.TRUSTED_TYPES_POLICY?(t=void 0,ew=""):(void 0===t&&(ev||(n=eu(ef,l),ev=!0),t=n),t&&"string"==typeof ew&&(ew=eN("")));c&&c(e),tA=e},tC=P({},[...U,...j,...$]),tN=P({},[...z,...G]),tI=function(e){var t,n,r;let i=ek(e);i&&i.tagName||(i={namespaceURI:tp,tagName:"template"});let a=E(e.tagName),s=E(i.tagName);return!!tf[e.namespaceURI]&&(e.namespaceURI===tu?(t=i).namespaceURI===th?"svg"===a:t.namespaceURI===tc?"svg"===a&&("annotation-xml"===s||ty[s]):!!tC[a]:e.namespaceURI===tc?(n=i).namespaceURI===th?"math"===a:n.namespaceURI===tu?"math"===a&&t_[s]:!!tN[a]:e.namespaceURI===th?((r=i).namespaceURI!==tu||!!t_[s])&&(r.namespaceURI!==tc||!!ty[s])&&!tN[a]&&(tk[a]||!tC[a]):"application/xhtml+xml"===tE&&!!tf[e.namespaceURI])},tD=function(e){b(a.removed,{element:e});try{ek(e).removeChild(e)}catch(t){if(ey(e),!ek(e))throw L("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},tO=function(e){let t=e_(e);if(t){let e=[];m(t,t=>{b(e,t)}),m(e,e=>{try{ey(e)}catch(e){}})}let n=eT(e);if(n)for(let t=n.length-1;t>=0;--t){let r=n[t],i=r&&r.name;if("string"==typeof i)try{e.removeAttribute(i)}catch(e){}}},tM=function(e,t){try{b(a.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){b(a.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(e5||e9)try{tD(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},tL=function(e){let t=eT(e);if(t)for(let n=t.length-1;n>=0;--n){let r=t[n],i=r&&r.name;if("string"==typeof i&&!ej[tx(i)])try{e.removeAttribute(i)}catch(e){}}},tR=function(e){let t=[e];for(;t.length>0;){let e=t.pop();(ex?ex(e):e.nodeType)===1&&tL(e);let n=e_(e);if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}},tP=function(e){let n=null,r=null;if(e3)e="<remove></remove>"+e;else{let t=x(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===tE&&tp===th&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");let i=t?eN(e):e;if(tp===th)try{n=new ed().parseFromString(i,tE)}catch(e){}if(!n||!n.documentElement){n=eO.createDocument(tp,"template",null);try{n.documentElement.innerHTML=td?ew:i}catch(e){}}let a=n.body||n.documentElement;return(e&&r&&a.insertBefore(s.createTextNode(r),a.childNodes[0]||null),tp===th)?eR.call(n,eJ?"html":"body")[0]:eJ?n.documentElement:a},tF=function(e){return eM.call(e.ownerDocument||e,e,R.SHOW_ELEMENT|R.SHOW_COMMENT|R.SHOW_TEXT|R.SHOW_PROCESSING_INSTRUCTION|R.SHOW_CDATA_SECTION,null)},tB=function(e){return e=A(e,X," "),e=A(e,Q," "),e=A(e,Z," ")},tH=function(e){var t;e.normalize();let n=eM.call(e.ownerDocument||e,e,R.SHOW_TEXT|R.SHOW_COMMENT|R.SHOW_CDATA_SECTION|R.SHOW_PROCESSING_INSTRUCTION,null),r=n.nextNode();for(;r;)r.data=tB(r.data),r=n.nextNode();let i=null==(t=e.querySelectorAll)?void 0:t.call(e,"template");i&&m(i,e=>{tj(e.content)&&tH(e.content)})},tU=function(e){let t=eA?eA(e):null;return"string"==typeof t&&"form"===tx(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==eT(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==ex(e)||e.childNodes!==e_(e))},tj=function(e){if(!ex||"object"!=typeof e||null===e)return!1;try{return 11===ex(e)}catch(e){return!1}},t$=function(e){if(!ex||"object"!=typeof e||null===e)return!1;try{return"number"==typeof ex(e)}catch(e){return!1}};function tz(e,t,n){0!==e.length&&m(e,e=>{e.call(a,t,n,tA)})}let tG=function(e,t){if(!eG[t]&&tW(t)&&(ez.tagNameCheck instanceof RegExp&&M(ez.tagNameCheck,t)||ez.tagNameCheck instanceof Function&&ez.tagNameCheck(t)))return!1;if(te&&!tr[t]){let t=ek(e),n=e_(e);if(n&&t){let r=n.length;for(let i=r-1;i>=0;--i){let r=tt?n[i]:eg(n[i],!0);t.insertBefore(r,eb(e))}}}return tD(e),!0},tK=function(e){if(tz(eF.beforeSanitizeElements,e,null),tU(e))return tD(e),!0;let t=tx(eA?eA(e):e.nodeName);if(tz(eF.uponSanitizeElement,e,{tagName:t,allowedTags:eH}),eZ&&e.hasChildNodes()&&!t$(e.firstElementChild)&&M(es,e.textContent)&&M(es,e.innerHTML)||eZ&&e.namespaceURI===th&&"style"===t&&t$(e.firstElementChild)||7===e.nodeType||eZ&&8===e.nodeType&&M(eo,e.data)||0)return tD(e),!0;if(eG[t]||!(eY.tagCheck instanceof Function&&eY.tagCheck(t))&&!eH[t])return tG(e,t);if((ex?ex(e):e.nodeType)===1&&!tI(e)||("noscript"===t||"noembed"===t||"noframes"===t)&&M(el,e.innerHTML))return tD(e),!0;if(eQ&&3===e.nodeType){let t=tB(e.textContent);e.textContent!==t&&(b(a.removed,{element:e.cloneNode()}),e.textContent=t)}return tz(eF.afterSanitizeElements,e,null),!1},tY=function(e,t,n){if(eK[t]||e4&&("id"===t||"name"===t)&&(n in s||n in tw))return!1;let r=ej[t]||eY.attributeCheck instanceof Function&&eY.attributeCheck(t,e);if(eW&&M(J,t));else if(eq&&M(ee,t));else if(r){if(to[t]);else if(M(eB,A(n,er,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===w(n,"data:")&&ta[e]);else if(eV&&!M(en,A(n,er,"")));else if(n)return!1}else if(!(tW(e)&&(ez.tagNameCheck instanceof RegExp&&M(ez.tagNameCheck,e)||ez.tagNameCheck instanceof Function&&ez.tagNameCheck(e))&&(ez.attributeNameCheck instanceof RegExp&&M(ez.attributeNameCheck,t)||ez.attributeNameCheck instanceof Function&&ez.attributeNameCheck(t,e))||"is"===t&&ez.allowCustomizedBuiltInElements&&(ez.tagNameCheck instanceof RegExp&&M(ez.tagNameCheck,n)||ez.tagNameCheck instanceof Function&&ez.tagNameCheck(n))))return!1;return!0},tq=P({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),tW=function(e){return!tq[E(e)]&&M(ea,e)},tV=function(e,n,r,i){if(t&&"object"==typeof ef&&"function"==typeof ef.getAttributeType&&!r)switch(ef.getAttributeType(e,n)){case"TrustedHTML":return eN(i);case"TrustedScriptURL":return eI(i)}return i},tX=function(e,t,n,r){try{n?e.setAttributeNS(n,t,r):e.setAttribute(t,r),tU(e)?tD(e):y(a.removed)}catch(n){tM(t,e)}},tQ=function(e){tz(eF.beforeSanitizeAttributes,e,null);let t=e.attributes;if(!t||tU(e))return;let n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ej,forceKeepAttr:void 0},r=t.length,i=tx(e.nodeName);for(;r--;){let a=t[r],s=a.name,o=a.namespaceURI,l=a.value,c=tx(s),u="value"===s?l:v(l);if(n.attrName=c,n.attrValue=u,n.keepAttr=!0,n.forceKeepAttr=void 0,tz(eF.uponSanitizeAttribute,e,n),u=n.attrValue,e8&&("id"===c||"name"===c)&&0!==w(u,e7)&&(tM(s,e),u=e7+u),eZ&&M(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,u)||"attributename"===c&&x(u,"href")){tM(s,e);continue}if(!n.forceKeepAttr){if(!n.keepAttr||!eX&&M(ec,u)||(eQ&&(u=tB(u)),!tY(i,c,u))){tM(s,e);continue}(u=tV(i,c,o,u))!==l&&tX(e,s,o,u)}}tz(eF.afterSanitizeAttributes,e,null)},tZ=function(e){let t=null,n=tF(e);for(tz(eF.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(tz(eF.uponSanitizeShadowNode,t,null),tK(t),tQ(t),tj(t.content)&&tZ(t.content),(ex?ex(t):t.nodeType)===1){let e=eE(t);tj(e)&&(tJ(e),tZ(e))}tz(eF.afterSanitizeShadowDOM,e,null)},tJ=function(e){let t=[{node:e,shadow:null}];for(;t.length>0;){let e=t.pop();if(e.shadow){tZ(e.shadow);continue}let n=e.node,r=(ex?ex(n):n.nodeType)===1,i=e_(n);if(i)for(let e=i.length-1;e>=0;--e)t.push({node:i[e],shadow:null});if(r){let e=eA?eA(n):null;if("string"==typeof e&&"template"===tx(e)){let e=n.content;tj(e)&&t.push({node:e,shadow:null})}}if(r){let e=eE(n);tj(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return a.sanitize=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,l=null;if((td=!e)&&(e="\x3c!--\x3e"),"string"!=typeof e&&!t$(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return S(e);case"boolean":return C(e);case"bigint":return N?N(e):"0";case"symbol":return I?I(e):"Symbol()";case"undefined":default:return O(e);case"function":case"object":{if(null===e)return O(e);let t=B(e,"toString");if("function"==typeof t){let n=t(e);return"string"==typeof n?n:O(n)}return O(e)}}}(e)))throw L("dirty is not a string, aborting");if(!a.isSupported)return e;e0?(eH=e1,ej=e2):tS(n),(eF.uponSanitizeElement.length>0||eF.uponSanitizeAttribute.length>0)&&(eH=F(eH)),eF.uponSanitizeAttribute.length>0&&(ej=F(ej)),a.removed=[];let c=tt&&"string"!=typeof e&&t$(e);if(c){let t=eA?eA(e):e.nodeName;if("string"==typeof t){let e=tx(t);if(!eH[e]||eG[e])throw L("root node is forbidden and cannot be sanitized in-place")}if(tU(e))throw L("root node is clobbered and cannot be sanitized in-place");try{tJ(e)}catch(t){throw tO(e),t}}else if(t$(e))1===(i=(r=tP("\x3c!----\x3e")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i),tJ(i);else{if(!e5&&!eQ&&!eJ&&-1===e.indexOf("<"))return t&&e6?eN(e):e;if(!(r=tP(e)))return e5?null:e6?ew:""}r&&e3&&tD(r.firstChild);let u=tF(c?e:r);try{for(;s=u.nextNode();)tK(s),tQ(s),tj(s.content)&&tZ(s.content)}catch(t){throw c&&tO(e),t}if(c)return m(a.removed,e=>{e.element&&tR(e.element)}),eQ&&tH(e),e;if(e5){if(eQ&&tH(r),e9)for(l=eL.call(r.ownerDocument);r.firstChild;)l.appendChild(r.firstChild);else l=r;return(ej.shadowroot||ej.shadowrootmode)&&(l=eP.call(o,l,!0)),l}let h=eJ?r.outerHTML:r.innerHTML;return eJ&&eH["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&M(ei,r.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+h),eQ&&(h=tB(h)),t&&e6?eN(h):h},a.setConfig=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};tS(e),e0=!0,e1=eH,e2=ej},a.clearConfig=function(){tA=null,e0=!1,e1=null,e2=null,t=n,ew=""},a.isValidAttribute=function(e,t,n){return tA||tS({}),tY(tx(e),tx(t),n)},a.addHook=function(e,t){"function"!=typeof t||D(eF,e)&&b(eF[e],t)},a.removeHook=function(e,t){if(D(eF,e)){if(void 0!==t){let n=g(eF[e],t);return -1===n?void 0:_(eF[e],n,1)[0]}return y(eF[e])}},a.removeHooks=function(e){D(eF,e)&&(eF[e]=[])},a.removeAllHooks=function(){eF=eh()},a}()},92509:(e,t,n)=>{"use strict";n.d(t,{a:()=>a});var r=n(43328),i={startOnLoad:!1,theme:"default",securityLevel:"strict",fontFamily:"monospace",suppressErrorRendering:!0},a=function(e={}){let t=!1,n={...i,...e.config},a={initialize(a){n={...i,...e.config,...a},r.default.initialize(n),t=!0},render:async(e,i)=>(t||(r.default.initialize(n),t=!0),await r.default.render(e,i))};return{name:"mermaid",type:"diagram",language:"mermaid",getMermaid:e=>(e&&a.initialize(e),a)}}()},94529:(e,t,n)=>{"use strict";function r(e,t,n){if(e&&e.length){let[r,i]=t,a=Math.PI/180*n,s=Math.cos(a),o=Math.sin(a);for(let t of e){let[e,n]=t;t[0]=(e-r)*s-(n-i)*o+r,t[1]=(e-r)*o+(n-i)*s+i}}}function i(e,t){var n;let i=t.hachureAngle+90,a=t.hachureGap;a<0&&(a=4*t.strokeWidth),a=Math.round(Math.max(a,.1));let s=1;return t.roughness>=1&&((null==(n=t.randomizer)?void 0:n.next())||Math.random())>.7&&(s=a),function(e,t,n,i=1){let a=Math.max(t,.1),s=e[0]&&e[0][0]&&"number"==typeof e[0][0]?[e]:e,o=[0,0];if(n)for(let e of s)r(e,o,n);let l=function(e,t,n){let r=[];for(let t of e){var i,a;let e=[...t];i=e[0],a=e[e.length-1],i[0]===a[0]&&i[1]===a[1]||e.push([e[0][0],e[0][1]]),e.length>2&&r.push(e)}let s=[];t=Math.max(t,.1);let o=[];for(let e of r)for(let t=0;t<e.length-1;t++){let n=e[t],r=e[t+1];if(n[1]!==r[1]){let e=Math.min(n[1],r[1]);o.push({ymin:e,ymax:Math.max(n[1],r[1]),x:e===n[1]?n[0]:r[0],islope:(r[0]-n[0])/(r[1]-n[1])})}}if(o.sort((e,t)=>e.ymin<t.ymin?-1:e.ymin>t.ymin?1:e.x<t.x?-1:e.x>t.x?1:e.ymax===t.ymax?0:(e.ymax-t.ymax)/Math.abs(e.ymax-t.ymax)),!o.length)return s;let l=[],c=o[0].ymin,u=0;for(;l.length||o.length;){if(o.length){let e=-1;for(let t=0;t<o.length&&!(o[t].ymin>c);t++)e=t;o.splice(0,e+1).forEach(e=>{l.push({s:c,edge:e})})}if((l=l.filter(e=>!(e.edge.ymax<=c))).sort((e,t)=>e.edge.x===t.edge.x?0:(e.edge.x-t.edge.x)/Math.abs(e.edge.x-t.edge.x)),(1!==n||u%t==0)&&l.length>1)for(let e=0;e<l.length;e+=2){let t=e+1;if(t>=l.length)break;let n=l[e].edge,r=l[t].edge;s.push([[Math.round(n.x),c],[Math.round(r.x),c]])}c+=n,l.forEach(e=>{e.edge.x=e.edge.x+n*e.edge.islope}),u++}return s}(s,a,i);if(n){let e;for(let e of s)r(e,o,-n);e=[],l.forEach(t=>e.push(...t)),r(e,o,-n)}return l}(e,a,i,s||1)}n.d(t,{A:()=>V});class a{constructor(e){this.helper=e}fillPolygons(e,t){return this._fillPolygons(e,t)}_fillPolygons(e,t){let n=i(e,t);return{type:"fillSketch",ops:this.renderLines(n,t)}}renderLines(e,t){let n=[];for(let r of e)n.push(...this.helper.doubleLineOps(r[0][0],r[0][1],r[1][0],r[1][1],t));return n}}function s(e){let t=e[0],n=e[1];return Math.sqrt(Math.pow(t[0]-n[0],2)+Math.pow(t[1]-n[1],2))}class o extends a{fillPolygons(e,t){let n=t.hachureGap;n<0&&(n=4*t.strokeWidth);let r=i(e,Object.assign({},t,{hachureGap:n=Math.max(n,.1)})),a=Math.PI/180*t.hachureAngle,o=[],l=.5*n*Math.cos(a),c=.5*n*Math.sin(a);for(let[e,t]of r)s([e,t])&&o.push([[e[0]-l,e[1]+c],[...t]],[[e[0]+l,e[1]-c],[...t]]);return{type:"fillSketch",ops:this.renderLines(o,t)}}}class l extends a{fillPolygons(e,t){let n=this._fillPolygons(e,t),r=Object.assign({},t,{hachureAngle:t.hachureAngle+90}),i=this._fillPolygons(e,r);return n.ops=n.ops.concat(i.ops),n}}class c{constructor(e){this.helper=e}fillPolygons(e,t){let n=i(e,t=Object.assign({},t,{hachureAngle:0}));return this.dotsOnLines(n,t)}dotsOnLines(e,t){let n=[],r=t.hachureGap;r<0&&(r=4*t.strokeWidth),r=Math.max(r,.1);let i=t.fillWeight;i<0&&(i=t.strokeWidth/2);let a=r/4;for(let o of e){let e=s(o),l=Math.ceil(e/r)-1,c=e-l*r,u=(o[0][0]+o[1][0])/2-r/4,h=Math.min(o[0][1],o[1][1]);for(let e=0;e<l;e++){let s=u-a+2*Math.random()*a,o=h+c+e*r-a+2*Math.random()*a,l=this.helper.ellipse(s,o,i,i,t);n.push(...l.ops)}}return{type:"fillSketch",ops:n}}}class u{constructor(e){this.helper=e}fillPolygons(e,t){let n=i(e,t);return{type:"fillSketch",ops:this.dashedLine(n,t)}}dashedLine(e,t){let n=t.dashOffset<0?t.hachureGap<0?4*t.strokeWidth:t.hachureGap:t.dashOffset,r=t.dashGap<0?t.hachureGap<0?4*t.strokeWidth:t.hachureGap:t.dashGap,i=[];return e.forEach(e=>{let a=s(e),o=Math.floor(a/(n+r)),l=(a+r-o*(n+r))/2,c=e[0],u=e[1];c[0]>u[0]&&(c=e[1],u=e[0]);let h=Math.atan((u[1]-c[1])/(u[0]-c[0]));for(let e=0;e<o;e++){let a=e*(n+r),s=a+n,o=[c[0]+a*Math.cos(h)+l*Math.cos(h),c[1]+a*Math.sin(h)+l*Math.sin(h)],u=[c[0]+s*Math.cos(h)+l*Math.cos(h),c[1]+s*Math.sin(h)+l*Math.sin(h)];i.push(...this.helper.doubleLineOps(o[0],o[1],u[0],u[1],t))}}),i}}class h{constructor(e){this.helper=e}fillPolygons(e,t){let n=t.hachureGap<0?4*t.strokeWidth:t.hachureGap,r=t.zigzagOffset<0?n:t.zigzagOffset,a=i(e,t=Object.assign({},t,{hachureGap:n+r}));return{type:"fillSketch",ops:this.zigzagLines(a,r,t)}}zigzagLines(e,t,n){let r=[];return e.forEach(e=>{let i=Math.round(s(e)/(2*t)),a=e[0],o=e[1];a[0]>o[0]&&(a=e[1],o=e[0]);let l=Math.atan((o[1]-a[1])/(o[0]-a[0]));for(let e=0;e<i;e++){let i=2*e*t,s=2*(e+1)*t,o=Math.sqrt(2*Math.pow(t,2)),c=[a[0]+i*Math.cos(l),a[1]+i*Math.sin(l)],u=[a[0]+s*Math.cos(l),a[1]+s*Math.sin(l)],h=[c[0]+o*Math.cos(l+Math.PI/4),c[1]+o*Math.sin(l+Math.PI/4)];r.push(...this.helper.doubleLineOps(c[0],c[1],h[0],h[1],n),...this.helper.doubleLineOps(h[0],h[1],u[0],u[1],n))}}),r}}let p={};class d{constructor(e){this.seed=e}next(){return this.seed?(0x7fffffff&(this.seed=Math.imul(48271,this.seed)))/0x80000000:Math.random()}}let f={A:7,a:7,C:6,c:6,H:1,h:1,L:2,l:2,M:2,m:2,Q:4,q:4,S:4,s:4,T:2,t:2,V:1,v:1,Z:0,z:0};function m(e){let t=[],n=function(e){let t=[];for(;""!==e;)if(e.match(/^([ \t\r\n,]+)/))e=e.substr(RegExp.$1.length);else if(e.match(/^([aAcChHlLmMqQsStTvVzZ])/))t[t.length]={type:0,text:RegExp.$1},e=e.substr(RegExp.$1.length);else{if(!e.match(/^(([-+]?[0-9]+(\.[0-9]*)?|[-+]?\.[0-9]+)([eE][-+]?[0-9]+)?)/))return[];t[t.length]={type:1,text:`${parseFloat(RegExp.$1)}`},e=e.substr(RegExp.$1.length)}return t[t.length]={type:2,text:""},t}(e),r="BOD",i=0,a=n[0];for(;2!==a.type;){let s=0,o=[];if("BOD"===r){if("M"!==a.text&&"m"!==a.text)return m("M0,0"+e);i++,s=f[a.text],r=a.text}else 1===a.type?s=f[r]:(i++,s=f[a.text],r=a.text);if(!(i+s<n.length))throw Error("Path data ended short");for(let e=i;e<i+s;e++){let t=n[e];if(1!==t.type)throw Error("Param not a number: "+r+","+t.text);o[o.length]=+t.text}if("number"!=typeof f[r])throw Error("Bad segment: "+r);{let e={key:r,data:o};t.push(e),i+=s,a=n[i],"M"===r&&(r="L"),"m"===r&&(r="l")}}return t}function g(e){let t=0,n=0,r=0,i=0,a=[];for(let{key:s,data:o}of e)switch(s){case"M":a.push({key:"M",data:[...o]}),[t,n]=o,[r,i]=o;break;case"m":t+=o[0],n+=o[1],a.push({key:"M",data:[t,n]}),r=t,i=n;break;case"L":a.push({key:"L",data:[...o]}),[t,n]=o;break;case"l":t+=o[0],n+=o[1],a.push({key:"L",data:[t,n]});break;case"C":a.push({key:"C",data:[...o]}),t=o[4],n=o[5];break;case"c":{let e=o.map((e,r)=>r%2?e+n:e+t);a.push({key:"C",data:e}),t=e[4],n=e[5];break}case"Q":a.push({key:"Q",data:[...o]}),t=o[2],n=o[3];break;case"q":{let e=o.map((e,r)=>r%2?e+n:e+t);a.push({key:"Q",data:e}),t=e[2],n=e[3];break}case"A":a.push({key:"A",data:[...o]}),t=o[5],n=o[6];break;case"a":t+=o[5],n+=o[6],a.push({key:"A",data:[o[0],o[1],o[2],o[3],o[4],t,n]});break;case"H":a.push({key:"H",data:[...o]}),t=o[0];break;case"h":t+=o[0],a.push({key:"H",data:[t]});break;case"V":a.push({key:"V",data:[...o]}),n=o[0];break;case"v":n+=o[0],a.push({key:"V",data:[n]});break;case"S":a.push({key:"S",data:[...o]}),t=o[2],n=o[3];break;case"s":{let e=o.map((e,r)=>r%2?e+n:e+t);a.push({key:"S",data:e}),t=e[2],n=e[3];break}case"T":a.push({key:"T",data:[...o]}),t=o[0],n=o[1];break;case"t":t+=o[0],n+=o[1],a.push({key:"T",data:[t,n]});break;case"Z":case"z":a.push({key:"Z",data:[]}),t=r,n=i}return a}function y(e){let t=[],n="",r=0,i=0,a=0,s=0,o=0,l=0;for(let{key:c,data:u}of e){switch(c){case"M":t.push({key:"M",data:[...u]}),[r,i]=u,[a,s]=u;break;case"C":t.push({key:"C",data:[...u]}),r=u[4],i=u[5],o=u[2],l=u[3];break;case"L":t.push({key:"L",data:[...u]}),[r,i]=u;break;case"H":r=u[0],t.push({key:"L",data:[r,i]});break;case"V":i=u[0],t.push({key:"L",data:[r,i]});break;case"S":{let e=0,a=0;"C"===n||"S"===n?(e=r+(r-o),a=i+(i-l)):(e=r,a=i),t.push({key:"C",data:[e,a,...u]}),o=u[0],l=u[1],r=u[2],i=u[3];break}case"T":{let[e,a]=u,s=0,c=0;"Q"===n||"T"===n?(s=r+(r-o),c=i+(i-l)):(s=r,c=i);let h=r+2*(s-r)/3,p=i+2*(c-i)/3,d=e+2*(s-e)/3,f=a+2*(c-a)/3;t.push({key:"C",data:[h,p,d,f,e,a]}),o=s,l=c,r=e,i=a;break}case"Q":{let[e,n,a,s]=u,c=r+2*(e-r)/3,h=i+2*(n-i)/3,p=a+2*(e-a)/3,d=s+2*(n-s)/3;t.push({key:"C",data:[c,h,p,d,a,s]}),o=e,l=n,r=a,i=s;break}case"A":{let e=Math.abs(u[0]),n=Math.abs(u[1]),a=u[2],s=u[3],o=u[4],l=u[5],c=u[6];0===e||0===n?(t.push({key:"C",data:[r,i,l,c,l,c]}),r=l,i=c):(r!==l||i!==c)&&((function e(t,n,r,i,a,s,o,l,c,u){let h=Math.PI*o/180,p=[],d=0,f=0,m=0,g=0;if(u)[d,f,m,g]=u;else{[t,n]=b(t,n,-h),[r,i]=b(r,i,-h);let e=(t-r)/2,o=(n-i)/2,u=e*e/(a*a)+o*o/(s*s);u>1&&(a*=u=Math.sqrt(u),s*=u);let p=a*a,y=s*s,_=(l===c?-1:1)*Math.sqrt(Math.abs((p*y-p*o*o-y*e*e)/(p*o*o+y*e*e)));m=_*a*o/s+(t+r)/2,g=-(_*s)*e/a+(n+i)/2,d=Math.asin(parseFloat(((n-g)/s).toFixed(9))),f=Math.asin(parseFloat(((i-g)/s).toFixed(9))),t<m&&(d=Math.PI-d),r<m&&(f=Math.PI-f),d<0&&(d=2*Math.PI+d),f<0&&(f=2*Math.PI+f),c&&d>f&&(d-=2*Math.PI),!c&&f>d&&(f-=2*Math.PI)}let y=f-d;if(Math.abs(y)>120*Math.PI/180){let t=f,n=r,l=i;p=e(r=m+a*Math.cos(f=c&&f>d?d+120*Math.PI/180*1:d+-(120*Math.PI/180*1)),i=g+s*Math.sin(f),n,l,a,s,o,0,c,[f,t,m,g])}y=f-d;let _=Math.cos(d),k=Math.cos(f),E=Math.tan(y/4),T=4/3*a*E,x=4/3*s*E,A=[t,n],w=[t+T*Math.sin(d),n-x*_],v=[r+T*Math.sin(f),i-x*k],S=[r,i];if(w[0]=2*A[0]-w[0],w[1]=2*A[1]-w[1],u)return[w,v,S].concat(p);{p=[w,v,S].concat(p);let e=[];for(let t=0;t<p.length;t+=3){let n=b(p[t][0],p[t][1],h),r=b(p[t+1][0],p[t+1][1],h),i=b(p[t+2][0],p[t+2][1],h);e.push([n[0],n[1],r[0],r[1],i[0],i[1]])}return e}})(r,i,l,c,e,n,a,s,o).forEach(function(e){t.push({key:"C",data:e})}),r=l,i=c);break}case"Z":t.push({key:"Z",data:[]}),r=a,i=s}n=c}return t}function b(e,t,n){return[e*Math.cos(n)-t*Math.sin(n),e*Math.sin(n)+t*Math.cos(n)]}let _={randOffset:function(e,t){return O(e,t)},randOffsetWithRange:function(e,t,n){return D(e,t,n)},ellipse:function(e,t,n,r,i){let a=x(n,r,i);return A(e,t,i,a).opset},doubleLineOps:function(e,t,n,r,i){return M(e,t,n,r,i,!0)}};function k(e,t,n,r,i){return{type:"path",ops:M(e,t,n,r,i)}}function E(e,t,n){let r=(e||[]).length;if(r>2){let i=[];for(let t=0;t<r-1;t++)i.push(...M(e[t][0],e[t][1],e[t+1][0],e[t+1][1],n));return t&&i.push(...M(e[r-1][0],e[r-1][1],e[0][0],e[0][1],n)),{type:"path",ops:i}}return 2===r?k(e[0][0],e[0][1],e[1][0],e[1][1],n):{type:"path",ops:[]}}function T(e,t){if(e.length){let n="number"==typeof e[0][0]?[e]:e,r=R(n[0],+(1+.2*t.roughness),t),i=t.disableMultiStroke?[]:R(n[0],1.5*(1+.22*t.roughness),N(t));for(let e=1;e<n.length;e++){let a=n[e];if(a.length){let e=R(a,+(1+.2*t.roughness),t),n=t.disableMultiStroke?[]:R(a,1.5*(1+.22*t.roughness),N(t));for(let t of e)"move"!==t.op&&r.push(t);for(let e of n)"move"!==e.op&&i.push(e)}}return{type:"path",ops:r.concat(i)}}return{type:"path",ops:[]}}function x(e,t,n){let r=Math.sqrt(2*Math.PI*Math.sqrt((Math.pow(e/2,2)+Math.pow(t/2,2))/2)),i=2*Math.PI/Math.ceil(Math.max(n.curveStepCount,n.curveStepCount/Math.sqrt(200)*r)),a=Math.abs(e/2),s=Math.abs(t/2),o=1-n.curveFitting;return a+=O(a*o,n),s+=O(s*o,n),{increment:i,rx:a,ry:s}}function A(e,t,n,r){let[i,a]=F(r.increment,e,t,r.rx,r.ry,1,r.increment*D(.1,D(.4,1,n),n),n),s=P(i,null,n);if(!n.disableMultiStroke&&0!==n.roughness){let[i]=F(r.increment,e,t,r.rx,r.ry,1.5,0,n),a=P(i,null,n);s=s.concat(a)}return{estimatedPoints:a,opset:{type:"path",ops:s}}}function w(e,t,n,r,i,a,s,o,l){let c=Math.abs(n/2),u=Math.abs(r/2);c+=O(.01*c,l),u+=O(.01*u,l);let h=i,p=a;for(;h<0;)h+=2*Math.PI,p+=2*Math.PI;p-h>2*Math.PI&&(h=0,p=2*Math.PI);let d=Math.min(2*Math.PI/l.curveStepCount/2,(p-h)/2),f=B(d,e,t,c,u,h,p,1,l);if(!l.disableMultiStroke){let n=B(d,e,t,c,u,h,p,1.5,l);f.push(...n)}return s&&(o?f.push(...M(e,t,e+c*Math.cos(h),t+u*Math.sin(h),l),...M(e,t,e+c*Math.cos(p),t+u*Math.sin(p),l)):f.push({op:"lineTo",data:[e,t]},{op:"lineTo",data:[e+c*Math.cos(h),t+u*Math.sin(h)]})),{type:"path",ops:f}}function v(e,t){let n=y(g(m(e))),r=[],i=[0,0],a=[0,0];for(let{key:e,data:s}of n)switch(e){case"M":a=[s[0],s[1]],i=[s[0],s[1]];break;case"L":r.push(...M(a[0],a[1],s[0],s[1],t)),a=[s[0],s[1]];break;case"C":{let[e,n,i,o,l,c]=s;r.push(...function(e,t,n,r,i,a,s,o){let l=[],c=[o.maxRandomnessOffset||1,(o.maxRandomnessOffset||1)+.3],u=[0,0],h=o.disableMultiStroke?1:2,p=o.preserveVertices;for(let d=0;d<h;d++)0===d?l.push({op:"move",data:[s[0],s[1]]}):l.push({op:"move",data:[s[0]+(p?0:O(c[0],o)),s[1]+(p?0:O(c[0],o))]}),u=p?[i,a]:[i+O(c[d],o),a+O(c[d],o)],l.push({op:"bcurveTo",data:[e+O(c[d],o),t+O(c[d],o),n+O(c[d],o),r+O(c[d],o),u[0],u[1]]});return l}(e,n,i,o,l,c,a,t)),a=[l,c];break}case"Z":r.push(...M(a[0],a[1],i[0],i[1],t)),a=[i[0],i[1]]}return{type:"path",ops:r}}function S(e,t){let n=[];for(let r of e)if(r.length){let e=t.maxRandomnessOffset||0,i=r.length;if(i>2){n.push({op:"move",data:[r[0][0]+O(e,t),r[0][1]+O(e,t)]});for(let a=1;a<i;a++)n.push({op:"lineTo",data:[r[a][0]+O(e,t),r[a][1]+O(e,t)]})}}return{type:"fillPath",ops:n}}function C(e,t){return(function(e,t){let n=e.fillStyle||"hachure";if(!p[n])switch(n){case"zigzag":p[n]||(p[n]=new o(t));break;case"cross-hatch":p[n]||(p[n]=new l(t));break;case"dots":p[n]||(p[n]=new c(t));break;case"dashed":p[n]||(p[n]=new u(t));break;case"zigzag-line":p[n]||(p[n]=new h(t));break;default:p[n="hachure"]||(p[n]=new a(t))}return p[n]})(t,_).fillPolygons(e,t)}function N(e){let t=Object.assign({},e);return t.randomizer=void 0,e.seed&&(t.seed=e.seed+1),t}function I(e){return e.randomizer||(e.randomizer=new d(e.seed||0)),e.randomizer.next()}function D(e,t,n,r=1){return n.roughness*r*(I(n)*(t-e)+e)}function O(e,t,n=1){return D(-e,e,t,n)}function M(e,t,n,r,i,a=!1){let s=a?i.disableMultiStrokeFill:i.disableMultiStroke,o=L(e,t,n,r,i,!0,!1);if(s)return o;let l=L(e,t,n,r,i,!0,!0);return o.concat(l)}function L(e,t,n,r,i,a,s){let o=Math.pow(e-n,2)+Math.pow(t-r,2),l=Math.sqrt(o),c=1;c=l<200?1:l>500?.4:-.0016668*l+1.233334;let u=i.maxRandomnessOffset||0;u*u*100>o&&(u=l/10);let h=u/2,p=.2+.2*I(i),d=i.bowing*i.maxRandomnessOffset*(r-t)/200,f=i.bowing*i.maxRandomnessOffset*(e-n)/200;d=O(d,i,c),f=O(f,i,c);let m=[],g=i.preserveVertices;return a&&(s?m.push({op:"move",data:[e+(g?0:O(h,i,c)),t+(g?0:O(h,i,c))]}):m.push({op:"move",data:[e+(g?0:O(u,i,c)),t+(g?0:O(u,i,c))]})),s?m.push({op:"bcurveTo",data:[d+e+(n-e)*p+O(h,i,c),f+t+(r-t)*p+O(h,i,c),d+e+2*(n-e)*p+O(h,i,c),f+t+2*(r-t)*p+O(h,i,c),n+(g?0:O(h,i,c)),r+(g?0:O(h,i,c))]}):m.push({op:"bcurveTo",data:[d+e+(n-e)*p+O(u,i,c),f+t+(r-t)*p+O(u,i,c),d+e+2*(n-e)*p+O(u,i,c),f+t+2*(r-t)*p+O(u,i,c),n+(g?0:O(u,i,c)),r+(g?0:O(u,i,c))]}),m}function R(e,t,n){if(!e.length)return[];let r=[];r.push([e[0][0]+O(t,n),e[0][1]+O(t,n)]),r.push([e[0][0]+O(t,n),e[0][1]+O(t,n)]);for(let i=1;i<e.length;i++)r.push([e[i][0]+O(t,n),e[i][1]+O(t,n)]),i===e.length-1&&r.push([e[i][0]+O(t,n),e[i][1]+O(t,n)]);return P(r,null,n)}function P(e,t,n){let r=e.length,i=[];if(r>3){let a=[],s=1-n.curveTightness;i.push({op:"move",data:[e[1][0],e[1][1]]});for(let t=1;t+2<r;t++){let n=e[t];a[0]=[n[0],n[1]],a[1]=[n[0]+(s*e[t+1][0]-s*e[t-1][0])/6,n[1]+(s*e[t+1][1]-s*e[t-1][1])/6],a[2]=[e[t+1][0]+(s*e[t][0]-s*e[t+2][0])/6,e[t+1][1]+(s*e[t][1]-s*e[t+2][1])/6],a[3]=[e[t+1][0],e[t+1][1]],i.push({op:"bcurveTo",data:[a[1][0],a[1][1],a[2][0],a[2][1],a[3][0],a[3][1]]})}if(t&&2===t.length){let e=n.maxRandomnessOffset;i.push({op:"lineTo",data:[t[0]+O(e,n),t[1]+O(e,n)]})}}else 3===r?(i.push({op:"move",data:[e[1][0],e[1][1]]}),i.push({op:"bcurveTo",data:[e[1][0],e[1][1],e[2][0],e[2][1],e[2][0],e[2][1]]})):2===r&&i.push(...L(e[0][0],e[0][1],e[1][0],e[1][1],n,!0,!0));return i}function F(e,t,n,r,i,a,s,o){let l=[],c=[];if(0===o.roughness){e/=4,c.push([t+r*Math.cos(-e),n+i*Math.sin(-e)]);for(let a=0;a<=2*Math.PI;a+=e){let e=[t+r*Math.cos(a),n+i*Math.sin(a)];l.push(e),c.push(e)}c.push([t+ +r,n+0*i]),c.push([t+r*Math.cos(e),n+i*Math.sin(e)])}else{let u=O(.5,o)-Math.PI/2;c.push([O(a,o)+t+.9*r*Math.cos(u-e),O(a,o)+n+.9*i*Math.sin(u-e)]);let h=2*Math.PI+u-.01;for(let s=u;s<h;s+=e){let e=[O(a,o)+t+r*Math.cos(s),O(a,o)+n+i*Math.sin(s)];l.push(e),c.push(e)}c.push([O(a,o)+t+r*Math.cos(u+2*Math.PI+.5*s),O(a,o)+n+i*Math.sin(u+2*Math.PI+.5*s)]),c.push([O(a,o)+t+.98*r*Math.cos(u+s),O(a,o)+n+.98*i*Math.sin(u+s)]),c.push([O(a,o)+t+.9*r*Math.cos(u+.5*s),O(a,o)+n+.9*i*Math.sin(u+.5*s)])}return[c,l]}function B(e,t,n,r,i,a,s,o,l){let c=a+O(.1,l),u=[];u.push([O(o,l)+t+.9*r*Math.cos(c-e),O(o,l)+n+.9*i*Math.sin(c-e)]);for(let a=c;a<=s;a+=e)u.push([O(o,l)+t+r*Math.cos(a),O(o,l)+n+i*Math.sin(a)]);return u.push([t+r*Math.cos(s),n+i*Math.sin(s)]),u.push([t+r*Math.cos(s),n+i*Math.sin(s)]),P(u,null,l)}function H(e,t=0){let n=e.length;if(n<3)throw Error("A curve must have at least three points.");let r=[];if(3===n)r.push([...e[0]],[...e[1]],[...e[2]],[...e[2]]);else{let n=[];n.push(e[0],e[0]);for(let t=1;t<e.length;t++)n.push(e[t]),t===e.length-1&&n.push(e[t]);let i=[],a=1-t;r.push([...n[0]]);for(let e=1;e+2<n.length;e++){let t=n[e];i[0]=[t[0],t[1]],i[1]=[t[0]+(a*n[e+1][0]-a*n[e-1][0])/6,t[1]+(a*n[e+1][1]-a*n[e-1][1])/6],i[2]=[n[e+1][0]+(a*n[e][0]-a*n[e+2][0])/6,n[e+1][1]+(a*n[e][1]-a*n[e+2][1])/6],i[3]=[n[e+1][0],n[e+1][1]],r.push(i[1],i[2],i[3])}}return r}function U(e,t){return Math.pow(e[0]-t[0],2)+Math.pow(e[1]-t[1],2)}function j(e,t,n){return[e[0]+(t[0]-e[0])*n,e[1]+(t[1]-e[1])*n]}function $(e,t,n,r,i){let a=i||[],s=e[t],o=e[n-1],l=0,c=1;for(let r=t+1;r<n-1;++r){let t=function(e,t,n){let r=U(t,n);if(0===r)return U(e,t);let i=((e[0]-t[0])*(n[0]-t[0])+(e[1]-t[1])*(n[1]-t[1]))/r;return U(e,j(t,n,i=Math.max(0,Math.min(1,i))))}(e[r],s,o);t>l&&(l=t,c=r)}return Math.sqrt(l)>r?($(e,t,c+1,r,a),$(e,c,n,r,a)):(a.length||a.push(s),a.push(o)),a}function z(e,t=.15,n){let r=[],i=(e.length-1)/3;for(let n=0;n<i;n++)!function e(t,n,r,i){let a,s,o,l,c,u,h,p,d=i||[];if(a=t[n+0],s=t[n+1],o=t[n+2],l=t[n+3],c=3*s[0]-2*a[0]-l[0],c*=c,u=3*s[1]-2*a[1]-l[1],u*=u,h=3*o[0]-2*l[0]-a[0],h*=h,p=3*o[1]-2*l[1]-a[1],p*=p,c<h&&(c=h),u<p&&(u=p),c+u<r){let e=t[n+0];d.length?Math.sqrt(U(d[d.length-1],e))>1&&d.push(e):d.push(e),d.push(t[n+3])}else{let i=t[n+0],a=t[n+1],s=t[n+2],o=t[n+3],l=j(i,a,.5),c=j(a,s,.5),u=j(s,o,.5),h=j(l,c,.5),p=j(c,u,.5),f=j(h,p,.5);e([i,l,h,f],0,r,d),e([f,p,u,o],0,r,d)}return d}(e,3*n,t,r);return n&&n>0?$(r,0,r.length,n):r}let G="none";class K{constructor(e){this.defaultOptions={maxRandomnessOffset:2,roughness:1,bowing:1,stroke:"#000",strokeWidth:1,curveTightness:0,curveFitting:.95,curveStepCount:9,fillStyle:"hachure",fillWeight:-1,hachureAngle:-41,hachureGap:-1,dashOffset:-1,dashGap:-1,zigzagOffset:-1,seed:0,disableMultiStroke:!1,disableMultiStrokeFill:!1,preserveVertices:!1,fillShapeRoughnessGain:.8},this.config=e||{},this.config.options&&(this.defaultOptions=this._o(this.config.options))}static newSeed(){return Math.floor(0x80000000*Math.random())}_o(e){return e?Object.assign({},this.defaultOptions,e):this.defaultOptions}_d(e,t,n){return{shape:e,sets:t||[],options:n||this.defaultOptions}}line(e,t,n,r,i){let a=this._o(i);return this._d("line",[k(e,t,n,r,a)],a)}rectangle(e,t,n,r,i){var a,s,o,l;let c=this._o(i),u=[],h=E([[a=e,s=t],[a+(o=n),s],[a+o,s+(l=r)],[a,s+l]],!0,c);if(c.fill){let i=[[e,t],[e+n,t],[e+n,t+r],[e,t+r]];"solid"===c.fillStyle?u.push(S([i],c)):u.push(C([i],c))}return c.stroke!==G&&u.push(h),this._d("rectangle",u,c)}ellipse(e,t,n,r,i){let a=this._o(i),s=[],o=x(n,r,a),l=A(e,t,a,o);if(a.fill)if("solid"===a.fillStyle){let n=A(e,t,a,o).opset;n.type="fillPath",s.push(n)}else s.push(C([l.estimatedPoints],a));return a.stroke!==G&&s.push(l.opset),this._d("ellipse",s,a)}circle(e,t,n,r){let i=this.ellipse(e,t,n,n,r);return i.shape="circle",i}linearPath(e,t){let n=this._o(t);return this._d("linearPath",[E(e,!1,n)],n)}arc(e,t,n,r,i,a,s=!1,o){let l=this._o(o),c=[],u=w(e,t,n,r,i,a,s,!0,l);if(s&&l.fill)if("solid"===l.fillStyle){let s=Object.assign({},l);s.disableMultiStroke=!0;let o=w(e,t,n,r,i,a,!0,!1,s);o.type="fillPath",c.push(o)}else c.push(function(e,t,n,r,i,a,s){let o=Math.abs(n/2),l=Math.abs(r/2);o+=O(.01*o,s),l+=O(.01*l,s);let c=i,u=a;for(;c<0;)c+=2*Math.PI,u+=2*Math.PI;u-c>2*Math.PI&&(c=0,u=2*Math.PI);let h=(u-c)/s.curveStepCount,p=[];for(let n=c;n<=u;n+=h)p.push([e+o*Math.cos(n),t+l*Math.sin(n)]);return p.push([e+o*Math.cos(u),t+l*Math.sin(u)]),p.push([e,t]),C([p],s)}(e,t,n,r,i,a,l));return l.stroke!==G&&c.push(u),this._d("arc",c,l)}curve(e,t){let n=this._o(t),r=[],i=T(e,n);if(n.fill&&n.fill!==G)if("solid"===n.fillStyle){let t=T(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(t.ops)})}else{let t=[];if(e.length)for(let r of"number"==typeof e[0][0]?[e]:e)r.length<3?t.push(...r):3===r.length?t.push(...z(H([r[0],r[0],r[1],r[2]]),10,(1+n.roughness)/2)):t.push(...z(H(r),10,(1+n.roughness)/2));t.length&&r.push(C([t],n))}return n.stroke!==G&&r.push(i),this._d("curve",r,n)}polygon(e,t){let n=this._o(t),r=[],i=E(e,!0,n);return n.fill&&("solid"===n.fillStyle?r.push(S([e],n)):r.push(C([e],n))),n.stroke!==G&&r.push(i),this._d("polygon",r,n)}path(e,t){let n=this._o(t),r=[];if(!e)return this._d("path",r,n);e=(e||"").replace(/\n/g," ").replace(/(-\s)/g,"-").replace("/(ss)/g"," ");let i=n.fill&&"transparent"!==n.fill&&n.fill!==G,a=n.stroke!==G,s=!!(n.simplification&&n.simplification<1),o=function(e,t){let n=y(g(m(e))),r=[],i=[],a=[0,0],s=[],o=()=>{s.length>=4&&i.push(...z(s,1)),s=[]},l=()=>{o(),i.length&&(r.push(i),i=[])};for(let{key:e,data:t}of n)switch(e){case"M":l(),a=[t[0],t[1]],i.push(a);break;case"L":o(),i.push([t[0],t[1]]);break;case"C":if(!s.length){let e=i.length?i[i.length-1]:a;s.push([e[0],e[1]])}s.push([t[0],t[1]]),s.push([t[2],t[3]]),s.push([t[4],t[5]]);break;case"Z":o(),i.push([a[0],a[1]])}if(l(),!t)return r;let c=[];for(let e of r){let n=$(e,0,e.length,t);n.length&&c.push(n)}return c}(e,s?4-4*(n.simplification||1):(1+n.roughness)/2),l=v(e,n);if(i)if("solid"===n.fillStyle)if(1===o.length){let t=v(e,Object.assign(Object.assign({},n),{disableMultiStroke:!0,roughness:n.roughness?n.roughness+n.fillShapeRoughnessGain:0}));r.push({type:"fillPath",ops:this._mergedShape(t.ops)})}else r.push(S(o,n));else r.push(C(o,n));return a&&(s?o.forEach(e=>{r.push(E(e,!1,n))}):r.push(l)),this._d("path",r,n)}opsToPath(e,t){let n="";for(let r of e.ops){let e="number"==typeof t&&t>=0?r.data.map(e=>+e.toFixed(t)):r.data;switch(r.op){case"move":n+=`M${e[0]} ${e[1]} `;break;case"bcurveTo":n+=`C${e[0]} ${e[1]}, ${e[2]} ${e[3]}, ${e[4]} ${e[5]} `;break;case"lineTo":n+=`L${e[0]} ${e[1]} `}}return n.trim()}toPaths(e){let t=e.sets||[],n=e.options||this.defaultOptions,r=[];for(let e of t){let t=null;switch(e.type){case"path":t={d:this.opsToPath(e),stroke:n.stroke,strokeWidth:n.strokeWidth,fill:G};break;case"fillPath":t={d:this.opsToPath(e),stroke:G,strokeWidth:0,fill:n.fill||G};break;case"fillSketch":t=this.fillSketch(e,n)}t&&r.push(t)}return r}fillSketch(e,t){let n=t.fillWeight;return n<0&&(n=t.strokeWidth/2),{d:this.opsToPath(e),stroke:t.fill||G,strokeWidth:n,fill:G}}_mergedShape(e){return e.filter((e,t)=>0===t||"move"!==e.op)}}class Y{constructor(e,t){this.canvas=e,this.ctx=this.canvas.getContext("2d"),this.gen=new K(t)}draw(e){let t=e.sets||[],n=e.options||this.getDefaultOptions(),r=this.ctx,i=e.options.fixedDecimalPlaceDigits;for(let a of t)switch(a.type){case"path":r.save(),r.strokeStyle="none"===n.stroke?"transparent":n.stroke,r.lineWidth=n.strokeWidth,n.strokeLineDash&&r.setLineDash(n.strokeLineDash),n.strokeLineDashOffset&&(r.lineDashOffset=n.strokeLineDashOffset),this._drawToContext(r,a,i),r.restore();break;case"fillPath":{r.save(),r.fillStyle=n.fill||"";let t="curve"===e.shape||"polygon"===e.shape||"path"===e.shape?"evenodd":"nonzero";this._drawToContext(r,a,i,t),r.restore();break}case"fillSketch":this.fillSketch(r,a,n)}}fillSketch(e,t,n){let r=n.fillWeight;r<0&&(r=n.strokeWidth/2),e.save(),n.fillLineDash&&e.setLineDash(n.fillLineDash),n.fillLineDashOffset&&(e.lineDashOffset=n.fillLineDashOffset),e.strokeStyle=n.fill||"",e.lineWidth=r,this._drawToContext(e,t,n.fixedDecimalPlaceDigits),e.restore()}_drawToContext(e,t,n,r="nonzero"){for(let r of(e.beginPath(),t.ops)){let t="number"==typeof n&&n>=0?r.data.map(e=>+e.toFixed(n)):r.data;switch(r.op){case"move":e.moveTo(t[0],t[1]);break;case"bcurveTo":e.bezierCurveTo(t[0],t[1],t[2],t[3],t[4],t[5]);break;case"lineTo":e.lineTo(t[0],t[1])}}"fillPath"===t.type?e.fill(r):e.stroke()}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}line(e,t,n,r,i){let a=this.gen.line(e,t,n,r,i);return this.draw(a),a}rectangle(e,t,n,r,i){let a=this.gen.rectangle(e,t,n,r,i);return this.draw(a),a}ellipse(e,t,n,r,i){let a=this.gen.ellipse(e,t,n,r,i);return this.draw(a),a}circle(e,t,n,r){let i=this.gen.circle(e,t,n,r);return this.draw(i),i}linearPath(e,t){let n=this.gen.linearPath(e,t);return this.draw(n),n}polygon(e,t){let n=this.gen.polygon(e,t);return this.draw(n),n}arc(e,t,n,r,i,a,s=!1,o){let l=this.gen.arc(e,t,n,r,i,a,s,o);return this.draw(l),l}curve(e,t){let n=this.gen.curve(e,t);return this.draw(n),n}path(e,t){let n=this.gen.path(e,t);return this.draw(n),n}}let q="http://www.w3.org/2000/svg";class W{constructor(e,t){this.svg=e,this.gen=new K(t)}draw(e){let t=e.sets||[],n=e.options||this.getDefaultOptions(),r=this.svg.ownerDocument||window.document,i=r.createElementNS(q,"g"),a=e.options.fixedDecimalPlaceDigits;for(let s of t){let t=null;switch(s.type){case"path":(t=r.createElementNS(q,"path")).setAttribute("d",this.opsToPath(s,a)),t.setAttribute("stroke",n.stroke),t.setAttribute("stroke-width",n.strokeWidth+""),t.setAttribute("fill","none"),n.strokeLineDash&&t.setAttribute("stroke-dasharray",n.strokeLineDash.join(" ").trim()),n.strokeLineDashOffset&&t.setAttribute("stroke-dashoffset",`${n.strokeLineDashOffset}`);break;case"fillPath":(t=r.createElementNS(q,"path")).setAttribute("d",this.opsToPath(s,a)),t.setAttribute("stroke","none"),t.setAttribute("stroke-width","0"),t.setAttribute("fill",n.fill||""),"curve"!==e.shape&&"polygon"!==e.shape||t.setAttribute("fill-rule","evenodd");break;case"fillSketch":t=this.fillSketch(r,s,n)}t&&i.appendChild(t)}return i}fillSketch(e,t,n){let r=n.fillWeight;r<0&&(r=n.strokeWidth/2);let i=e.createElementNS(q,"path");return i.setAttribute("d",this.opsToPath(t,n.fixedDecimalPlaceDigits)),i.setAttribute("stroke",n.fill||""),i.setAttribute("stroke-width",r+""),i.setAttribute("fill","none"),n.fillLineDash&&i.setAttribute("stroke-dasharray",n.fillLineDash.join(" ").trim()),n.fillLineDashOffset&&i.setAttribute("stroke-dashoffset",`${n.fillLineDashOffset}`),i}get generator(){return this.gen}getDefaultOptions(){return this.gen.defaultOptions}opsToPath(e,t){return this.gen.opsToPath(e,t)}line(e,t,n,r,i){let a=this.gen.line(e,t,n,r,i);return this.draw(a)}rectangle(e,t,n,r,i){let a=this.gen.rectangle(e,t,n,r,i);return this.draw(a)}ellipse(e,t,n,r,i){let a=this.gen.ellipse(e,t,n,r,i);return this.draw(a)}circle(e,t,n,r){let i=this.gen.circle(e,t,n,r);return this.draw(i)}linearPath(e,t){let n=this.gen.linearPath(e,t);return this.draw(n)}polygon(e,t){let n=this.gen.polygon(e,t);return this.draw(n)}arc(e,t,n,r,i,a,s=!1,o){let l=this.gen.arc(e,t,n,r,i,a,s,o);return this.draw(l)}curve(e,t){let n=this.gen.curve(e,t);return this.draw(n)}path(e,t){let n=this.gen.path(e,t);return this.draw(n)}}var V={canvas:(e,t)=>new Y(e,t),svg:(e,t)=>new W(e,t),generator:e=>new K(e),newSeed:()=>K.newSeed()}},95683:(e,t,n)=>{"use strict";n.d(t,{i:()=>i});var r=n(52618);function i(e){return(0,r.i)(e)}},96674:(e,t,n)=>{"use strict";function r(e){if(e)throw e}n.d(t,{l:()=>h});var i=n(39326),a=n(23091);function s(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}var o=n(72148);let l=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},c={}.hasOwnProperty;class u extends l{constructor(){let e,t;super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=(e=[],t={run:function(...t){let n=-1,r=t.pop();if("function"!=typeof r)throw TypeError("Expected function as last argument, not "+r);!function i(a,...s){let o=e[++n],l=-1;if(a)return void r(a);for(;++l<t.length;)(null===s[l]||void 0===s[l])&&(s[l]=t[l]);t=s,o?(function(e,t){let n;return function(...t){let a,s=e.length>t.length;s&&t.push(r);try{a=e.apply(this,t)}catch(e){if(s&&n)throw e;return r(e)}s||(a&&a.then&&"function"==typeof a.then?a.then(i,r):a instanceof Error?r(a):i(a))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(o,i)(...s):r(null,...s)}(null,...t)},use:function(n){if("function"!=typeof n)throw TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}})}copy(){let e=new u,t=-1;for(;++t<this.attachers.length;){let n=this.attachers[t];e.use(...n)}return e.data(i(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(f("data",this.frozen),this.namespace[e]=t,this):c.call(this.namespace,e)&&this.namespace[e]||void 0:e?(f("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let n=e.call(this,...t);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=y(e),n=this.parser||this.Parser;return p("parse",n),n(String(t),t)}process(e,t){let n=this;return this.freeze(),p("process",this.parser||this.Parser),d("process",this.compiler||this.Compiler),t?r(void 0,t):new Promise(r);function r(r,i){let s=y(e),o=n.parse(s);function l(e,n){e||!n?i(e):r?r(n):((0,a.ok)(t,"`done` is defined if `resolve` is not"),t(void 0,n))}n.run(o,s,function(e,t,r){var i,a;if(e||!t||!r)return l(e);let s=n.stringify(t,r);"string"==typeof(i=s)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?r.value=s:r.result=s,l(e,r)})}}processSync(e){let t,n=!1;return this.freeze(),p("processSync",this.parser||this.Parser),d("processSync",this.compiler||this.Compiler),this.process(e,function(e,i){n=!0,r(e),t=i}),g("processSync","process",n),(0,a.ok)(t,"we either bailed on an error or have a tree"),t}run(e,t,n){m(e),this.freeze();let r=this.transformers;return n||"function"!=typeof t||(n=t,t=void 0),n?i(void 0,n):new Promise(i);function i(i,s){(0,a.ok)("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=y(t);r.run(e,o,function(t,r,o){let l=r||e;t?s(t):i?i(l):((0,a.ok)(n,"`done` is defined if `resolve` is not"),n(void 0,l,o))})}}runSync(e,t){let n,i=!1;return this.run(e,t,function(e,t){r(e),n=t,i=!0}),g("runSync","run",i),(0,a.ok)(n,"we either bailed on an error or have a tree"),n}stringify(e,t){this.freeze();let n=y(t),r=this.compiler||this.Compiler;return d("stringify",r),m(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(f("use",this.frozen),null==e);else if("function"==typeof e)l(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(r.settings=i(!0,r.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)l(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;l(t,n)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function l(e,t){let r=-1,a=-1;for(;++r<n.length;)if(n[r][0]===e){a=r;break}if(-1===a)n.push([e,...t]);else if(t.length>0){let[r,...o]=t,l=n[a][1];s(l)&&s(r)&&(r=i(!0,l,r)),n[a]=[e,r,...o]}}}}let h=new u().freeze();function p(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function d(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function f(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function m(e){if(!s(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function g(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function y(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new o.T(e)}},99007:(e,t,n)=>{"use strict";n.d(t,{$:()=>r});let r={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]}},99507:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(64907);let i=(e,t)=>(0,r.A)(e,"l",t)},99634:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;let r=(0,i.default)(e),a="function"==typeof t;return r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:i}=e;a?t(r,i,e):i&&((n=n||{})[r]=i)}),n};let i=r(n(21090))}}]);
|