@aeolus-fleet/gateway 0.37.0 → 0.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/prisma/changes.d.ts +8 -3
- package/dist/adapters/prisma/changes.js +18 -2
- package/dist/adapters/prisma/changes.js.map +1 -1
- package/dist/app.js +19 -11
- package/dist/app.js.map +1 -1
- package/dist/core/people/held-deliveries.d.ts +30 -0
- package/dist/core/people/held-deliveries.js +42 -0
- package/dist/core/people/held-deliveries.js.map +1 -0
- package/dist/core/people/opened-of.d.ts +2 -0
- package/dist/core/people/opened-of.js.map +1 -1
- package/dist/core/people/ports.d.ts +8 -0
- package/dist/core/people/read-basket.d.ts +2 -0
- package/dist/core/people/read-basket.js.map +1 -1
- package/dist/core/people/read-bridge-home.d.ts +2 -0
- package/dist/core/people/read-bridge-home.js.map +1 -1
- package/dist/core/people/read-inbox.d.ts +16 -8
- package/dist/core/people/read-inbox.js +21 -10
- package/dist/core/people/read-inbox.js.map +1 -1
- package/dist/core/people/send-stored-answers.d.ts +2 -0
- package/dist/core/people/send-stored-answers.js +1 -1
- package/dist/core/people/send-stored-answers.js.map +1 -1
- package/package.json +1 -1
- package/web/.next/BUILD_ID +1 -1
- package/web/.next/build-manifest.json +3 -3
- package/web/.next/diagnostics/route-bundle-stats.json +84 -84
- package/web/.next/fallback-build-manifest.json +3 -3
- package/web/.next/prerender-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/basket/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(bridge)/bridge/basket/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/basket/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/done/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/bridge/done/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/done/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/fleet/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/fleet/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/fleet/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(bridge)/bridge/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(bridge)/bridge/settings/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/requests/[requestId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page/server-reference-manifest.json +7 -7
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/settings/routing/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page/server-reference-manifest.json +9 -9
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/bridge/stay-aware/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page/server-reference-manifest.json +19 -19
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/change/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page/server-reference-manifest.json +10 -10
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page/server-reference-manifest.json +19 -19
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/[name]/retire/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add/page/server-reference-manifest.json +12 -12
- package/web/.next/server/app/(bridge)/outside-parties/add/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-agent/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/add-a2a-client/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/page/server-reference-manifest.json +4 -4
- package/web/.next/server/app/(bridge)/outside-parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(bridge)/outside-parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/gateway-off/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/gateway-off/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/gateway-off/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page/server-reference-manifest.json +3 -3
- package/web/.next/server/app/(console)/meetings/[meetingId]/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/meetings/[meetingId]/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/parties/page/server-reference-manifest.json +8 -8
- package/web/.next/server/app/(console)/parties/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/parties/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/sign-in/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/disconnect/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/disconnect/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/disconnect/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/expose/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/expose/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/expose/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/(console)/slack/remove/page/server-reference-manifest.json +11 -11
- package/web/.next/server/app/(console)/slack/remove/page.js.nft.json +1 -1
- package/web/.next/server/app/(console)/slack/remove/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/_global-error.html +1 -1
- package/web/.next/server/app/_global-error.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/web/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/web/.next/server/app/_not-found/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/web/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/failed/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/failed/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/failed/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/pick/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/pick/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/pick/page_client-reference-manifest.js +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page/server-reference-manifest.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page.js.nft.json +1 -1
- package/web/.next/server/app/authorize/waiting/approval/page_client-reference-manifest.js +1 -1
- package/web/.next/server/chunks/ssr/01fr_app_(bridge)_bridge_settings_requests_[requestId]_page_actions_0o8g7_xshtmem.js +1 -1
- package/web/.next/server/chunks/ssr/01fr_app_(bridge)_bridge_settings_requests_[requestId]_page_actions_0o8g7_xshtmem.js.map +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_settings_page_actions_0_te6h-2xxp7l.js +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_settings_page_actions_0_te6h-2xxp7l.js.map +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_stay-aware_page_actions_1u0xo0v3y9c34.js +1 -1
- package/web/.next/server/chunks/ssr/0b9d__next-internal_server_app_(bridge)_bridge_stay-aware_page_actions_1u0xo0v3y9c34.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_bridge_settings_routing_page_actions_06_j7s24dy5ee.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_bridge_settings_routing_page_actions_06_j7s24dy5ee.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_change_page_actions_1is-kjq5bubl4.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_change_page_actions_1is-kjq5bubl4.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_page_actions_1mctxtlzsa7xi.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_page_actions_1mctxtlzsa7xi.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_retire_page_actions_0xh6ok1un7s9k.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_[name]_retire_page_actions_0xh6ok1un7s9k.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add-a2a-agent_page_actions_1w1q5eavo_loo.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add-a2a-agent_page_actions_1w1q5eavo_loo.js.map +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add_page_actions_0urcbg_r0lo7j.js +1 -1
- package/web/.next/server/chunks/ssr/0vkm_server_app_(bridge)_outside-parties_add_page_actions_0urcbg_r0lo7j.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ipo8r1s1ntds._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n9oaiyov05ns._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0n9oaiyov05ns._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ovcg5tg3nh49._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ovcg5tg3nh49._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ro-majrw7piv._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ro-majrw7piv._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ulpe7l4c8o3v._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0ulpe7l4c8o3v._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0xurmpdv5uqfl._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0zz6fx0keti4r._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__0zz6fx0keti4r._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__18-8taiduk1jn._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__19p4g16n2nh0b._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__19p4g16n2nh0b._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1ncn4wx-1i09m._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1ncn4wx-1i09m._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1vaoz_d15csmy._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1vaoz_d15csmy._.js.map +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1xzg4_wllzynw._.js +1 -1
- package/web/.next/server/chunks/ssr/[root-of-the-server]__1xzg4_wllzynw._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_067ku63fy5cvr._.js → _0-9rlwz3ujd0r._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0p9agk_zk_t2w._.js.map → _0-9rlwz3ujd0r._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js +1 -1
- package/web/.next/server/chunks/ssr/_00hfzlqn1og18._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0_nfv33ug5g31._.js +1 -1
- package/web/.next/server/chunks/ssr/_0_nfv33ug5g31._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js +1 -1
- package/web/.next/server/chunks/ssr/_0ka_9elusb800._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js +1 -1
- package/web/.next/server/chunks/ssr/_0pyd1_y7w8ngp._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js +1 -1
- package/web/.next/server/chunks/ssr/_0xickgbbju_9-._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_0p9agk_zk_t2w._.js → _15yv_08kq3cgn._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_067ku63fy5cvr._.js.map → _15yv_08kq3cgn._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/{_0amcq922zroon._.js → _1ag569itedbet._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0w9zexwc8g87x._.js.map → _1ag569itedbet._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1cs_0d0h7mhw0._.js +1 -1
- package/web/.next/server/chunks/ssr/_1cs_0d0h7mhw0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{_0w9zexwc8g87x._.js → _1m4bmxzmjr-8s._.js} +2 -2
- package/web/.next/server/chunks/ssr/{_0amcq922zroon._.js.map → _1m4bmxzmjr-8s._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js +1 -1
- package/web/.next/server/chunks/ssr/_1pjtire7rqla0._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js +1 -1
- package/web/.next/server/chunks/ssr/_1qbsmlji34yph._.js.map +1 -1
- package/web/.next/server/chunks/ssr/_1x3tv4gu7i2sy._.js +57 -0
- package/web/.next/server/chunks/ssr/_1x3tv4gu7i2sy._.js.map +1 -0
- package/web/.next/server/chunks/ssr/_1zcbk6s3j_jfy._.js +57 -0
- package/web/.next/server/chunks/ssr/_1zcbk6s3j_jfy._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_0a9n7acgjrk5c._.js +1 -1
- package/web/.next/server/chunks/ssr/web_0a9n7acgjrk5c._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_1vvrekkq5mirt._.js +1 -1
- package/web/.next/server/chunks/ssr/web_1vvrekkq5mirt._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_basket_page_actions_0g7q_rc5nma1e.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_basket_page_actions_0g7q_rc5nma1e.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_done_page_actions_0kjm34arntdzv.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_done_page_actions_0kjm34arntdzv.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_fleet_page_actions_19wmo6phgvqfk.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_fleet_page_actions_19wmo6phgvqfk.js.map +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_page_actions_1ok64rg3edm_u.js +1 -1
- package/web/.next/server/chunks/ssr/web__next-internal_server_app_(bridge)_bridge_page_actions_1ok64rg3edm_u.js.map +1 -1
- package/web/.next/server/chunks/ssr/{web_features_1d-wq10_n8ex0._.js → web_features_16z82ve7t15n5._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_1d-wq10_n8ex0._.js.map → web_features_16z82ve7t15n5._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_1e7_lwq7351pm._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_1e7_lwq7351pm._.js.map +1 -0
- package/web/.next/server/chunks/ssr/web_features_1fzx-ctm4ru39._.js +3 -0
- package/web/.next/server/chunks/ssr/web_features_1fzx-ctm4ru39._.js.map +1 -0
- package/web/.next/server/chunks/ssr/{web_features_1t4lu06v7y3i8._.js → web_features_1wo7gr7bxvsi-._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_1t4lu06v7y3i8._.js.map → web_features_1wo7gr7bxvsi-._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-agent_ui_a2a-agent-form_tsx_0z8t1aalwzyl7._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-a2a-client_ui_a2a-client-form_tsx_1anv88g385nwe._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_add-server_ui_add-server_tsx_1jnmar5xju49k._.js.map +1 -1
- package/web/.next/server/chunks/ssr/{web_features_bridge_125bfazmc4opj._.js → web_features_bridge_0qdb9pmm6338t._.js} +2 -2
- package/web/.next/server/chunks/ssr/{web_features_bridge_125bfazmc4opj._.js.map → web_features_bridge_0qdb9pmm6338t._.js.map} +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_hooks_bridge-actions_ts_0h-_xm2rcb-ij._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_basket-panel_tsx_1qi_kzld0rfgs._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_basket-panel_tsx_1qi_kzld0rfgs._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_decision-panel_tsx_1mzsixgc8zuxc._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_decision-panel_tsx_1mzsixgc8zuxc._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_done-panel_tsx_1m844-qb1z9p_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_bridge_state_done-panel_tsx_1m844-qb1z9p_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_meeting_state_meeting-controls_tsx_12g4kzk2mbvvz._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-parties_ui_switch-card_tsx_1_xnu9bm4tc-_._.js.map +1 -1
- package/web/.next/server/chunks/ssr/web_features_outside-party_actions_ts_102ar5pdowf8s._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_parties_actions_ts_0r-tbfsig2ty-._.js +1 -1
- package/web/.next/server/chunks/ssr/web_features_slack_actions_ts_1l3yg9vl20_vu._.js +1 -1
- package/web/.next/server/middleware-build-manifest.js +3 -3
- package/web/.next/server/pages/500.html +1 -1
- package/web/.next/server/preview-props.json +3 -3
- package/web/.next/server/server-reference-manifest.js +1 -1
- package/web/.next/server/server-reference-manifest.json +52 -52
- package/web/.next/static/chunks/{1k_0f6ohdds08.js → 07km754q38z4c.js} +1 -1
- package/web/.next/static/chunks/{0vk3ns89lm5lx.js → 0ev65_p1z_ll0.js} +1 -1
- package/web/.next/static/chunks/{065sdkxibhue_.js → 17akrnci0j_nn.js} +1 -1
- package/web/.next/static/chunks/{031q7t7ho1l3f.js → 1_f6w3i1t1svg.js} +1 -1
- package/web/.next/static/chunks/{05z1sfsxiycwu.js → 1e5_kej4hnnf_.js} +1 -1
- package/web/.next/static/chunks/{1i-1b5d6sk_k2.js → 1edk_zyv9lbyy.js} +1 -1
- package/web/.next/static/chunks/{08swfedutkq-h.js → 1lq70vpqz6u1c.js} +1 -1
- package/web/.next/static/chunks/1uw3g2r3xlxci.js +1 -0
- package/web/.next/static/chunks/{04-n1o8q7gzm7.js → 1zqkns-nn-wz0.js} +1 -1
- package/web/.next/static/chunks/{0wbsan4j92uen.js → 2490rbe6dmnwe.js} +1 -1
- package/web/.next/static/chunks/{0a-m82cyt3poo.js → 27tnlhw9cxgul.js} +1 -1
- package/web/.next/static/chunks/{3sh-qd-9_kuhx.js → 2_ayfyj3csc8m.js} +1 -1
- package/web/.next/static/chunks/{3noelndd-mym9.js → 2v-0k1odkn9cu.js} +1 -1
- package/web/.next/static/chunks/2v4z6cjtqu95k.js +1 -0
- package/web/.next/static/chunks/{1rowdcnwlync0.js → 3ban8s8z3ah0y.js} +1 -1
- package/web/.next/static/chunks/{318xblsv_bj3w.js → 3ik7w8wf5u23q.js} +1 -1
- package/web/.next/trace +1 -1
- package/web/.next/trace-build +1 -1
- package/web/.next/server/chunks/ssr/_15fbhl5d8_z_x._.js +0 -57
- package/web/.next/server/chunks/ssr/_15fbhl5d8_z_x._.js.map +0 -1
- package/web/.next/server/chunks/ssr/_1rw8_q3zywmrm._.js +0 -57
- package/web/.next/server/chunks/ssr/_1rw8_q3zywmrm._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_0aw-c2l0y5v0n._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0aw-c2l0y5v0n._.js.map +0 -1
- package/web/.next/server/chunks/ssr/web_features_0pg79seak4cnb._.js +0 -3
- package/web/.next/server/chunks/ssr/web_features_0pg79seak4cnb._.js.map +0 -1
- package/web/.next/static/chunks/04vjjcln7-au4.js +0 -1
- package/web/.next/static/chunks/43uxu94e3-gvj.js +0 -1
- /package/web/.next/static/{HzOMe97w-YsgkVELi3P_f → yJHYTb3NO7GRc3o3RS0f0}/_buildManifest.js +0 -0
- /package/web/.next/static/{HzOMe97w-YsgkVELi3P_f → yJHYTb3NO7GRc3o3RS0f0}/_clientMiddlewareManifest.js +0 -0
- /package/web/.next/static/{HzOMe97w-YsgkVELi3P_f → yJHYTb3NO7GRc3o3RS0f0}/_ssgManifest.js +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(()=>{"use strict";(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,4100,(e,t,n)=>{var r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,l=Object.defineProperty,o=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},s=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,n=r.call(e,"constructor"),l=e.constructor&&e.constructor.prototype&&r.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!l)return!1;for(t in e);return void 0===t||r.call(e,t)},u=function(e,t){l&&"__proto__"===t.name?l(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},c=function(e,t){if("__proto__"===t){if(!r.call(e,t))return;else if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,n,r,i,l,o,d=arguments[0],p=1,f=arguments.length,h=!1;for("boolean"==typeof d&&(h=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<f;++p)if(t=arguments[p],null!=t)for(n in t)r=c(d,n),d!==(i=c(t,n))&&(h&&i&&(s(i)||(l=a(i)))?(l?(l=!1,o=r&&a(r)?r:[]):o=r&&s(r)?r:{},u(d,{name:n,newValue:e(h,o,i)})):void 0!==i&&u(d,{name:n,newValue:i}));return d}},47211,32645,e=>{var t=e.i(56420);let n={name:"ban",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],47211);let i={name:"replace",size:24,node:[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]]};i.node;let l=(0,t.f)(i);e.s(["f",0,l],32645)},16984,e=>{var t=e.i(56420);let n={name:"circle-x",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],aliases:["x-circle"]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],16984)},82022,e=>{var t=e.i(56420);let n={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],82022)},72382,e=>{var t=e.i(56420);let n={name:"eye",size:24,node:[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],72382)},47130,e=>{var t=e.i(56420);let n={name:"shopping-basket",size:24,node:[["path",{d:"m15 11-1 9",key:"5wnq3a"}],["path",{d:"m19 11-4-7",key:"cnml18"}],["path",{d:"M2 11h20",key:"3eubbj"}],["path",{d:"m3.5 11 1.6 7.4a2 2 0 0 0 2 1.6h9.8a2 2 0 0 0 2-1.6l1.7-7.4",key:"yiazzp"}],["path",{d:"M4.5 15.5h15",key:"13mye1"}],["path",{d:"m5 11 4-7",key:"116ra9"}],["path",{d:"m9 11 1 9",key:"1ojof7"}]]};n.node;let r=(0,t.f)(n);e.s(["f",0,r],47130)},29247,e=>{var t,n,r=e.i(22219),r=r,i=r,l=r,o=r,a=e.i(54105),s=r,u=e.i(11382),c=r,d=r,p=r,f=r,h=r,m=r;let g={fleet:"flt",ship:"shp",message:"msg",delivery:"dlv",event:"evt",lease:"lse",credential:"crd",operator:"opr",consoleSession:"ses",label:"lbl",labelValue:"lbv",reachRefusal:"rfs",request:"req",meeting:"mtg",schedule:"sch",dataKey:"dky",alert:"alt"},y=Object.keys(g).filter(function(e){return e in g}),x=/^[0-7][0-9a-hjkmnp-tv-z]{25}$/;function v(e){let t=`${e} id (${g[e]}_...)`;return m.templateLiteral([g[e],"_",a.z.string().regex(x)],{error:`must be a ${t}`}).meta({description:`A ${t}`})}new Map(y.map(e=>[g[e],e]));let b=new TextEncoder;function k(e){return b.encode(e).byteLength}var l=r,w=r,S=r,j=r,C=r,o=r,s=r,i=r,l=r,r=r;let z=r.enum(["working","blocked","idle"]),E=`A note is one line of at most ${String(200)} characters`;new TextEncoder;let N=S.record(a.z.string(),j.json()),T=u.z.object({kind:a.z.string()}).catchall(j.json()),A=u.z.object({at:C.number(),of:C.number()});u.z.object({state:z,note:a.z.string().trim().max(200,E).refine(function(e){return!/[\r\n]/.test(e)},E).optional(),details:N.nullable().optional(),detailsPatch:N.nullable().optional(),task:T.nullable().optional(),step:A.nullable().optional()}).refine(e=>void 0===e.details||void 0===e.detailsPatch,{message:"Give details or detailsPatch, not both",path:["detailsPatch"]}),o.strictObject({});let P=u.z.object({state:z,note:a.z.string().nullable(),task:T.nullable(),taskView:u.z.object({canOpen:s.boolean(),fleetName:a.z.string().nullable()}).optional(),step:A.nullable(),reportedAt:i.iso.datetime(),reportChangedAt:i.iso.datetime(),detailsVersion:l.int().min(0)}).extend({details:N.nullable()});u.z.object({report:P.nullable(),previousCrew:P.nullable()});let I=r.enum(["crew-request-unassigned","delivery-unacknowledged","delivery-overdue","ping-unanswered","report-unchanged","task-not-done"]),D=i.iso.datetime({offset:!0}),L=l.int().min(1),M=o.strictObject({settingsVersion:l.int().min(1),minutes:L,reason:a.z.string().nullable()}),O=o.strictObject({deliveryId:v("delivery"),messageId:v("message"),state:r.enum(["pending","received","handed"]),awaitingCrew:s.boolean(),minutes:L}),R=o.strictObject({deliveryId:v("delivery"),messageId:v("message"),overdueEventId:v("event")}),F=o.strictObject({deliveryId:v("delivery"),messageId:v("message"),minutes:L}),_=o.strictObject({reportChangedAt:D,state:r.enum(["working","blocked"]),minutes:L,setBy:v("ship")}),$=o.strictObject({task:T,doneBy:D,setBy:v("ship")}),B=[u.z.object({signal:c.literal("crew-request-unassigned"),facts:M}),u.z.object({signal:c.literal("delivery-unacknowledged"),facts:O}),u.z.object({signal:c.literal("delivery-overdue"),facts:R}),u.z.object({signal:c.literal("ping-unanswered"),facts:F}),u.z.object({signal:c.literal("report-unchanged"),facts:_}),u.z.object({signal:c.literal("task-not-done"),facts:$})],U=d.discriminatedUnion("signal",B);p.intersection(u.z.object({alertId:v("alert"),headline:a.z.string().min(1).max(80),body:a.z.string().refine(e=>2048>=k(e),`A body is at most ${String(2048)} bytes`),ship:u.z.object({id:v("ship"),name:a.z.string()}),fleetId:v("fleet"),toldAs:r.enum(["owner","setter"]),since:D,raisedAt:D}),U).refine(e=>8192>=k(JSON.stringify(e)),`An alert message is at most ${String(8192)} bytes`),u.z.object({shipId:v("ship"),signal:I,facts:f.union([M,O,R,F,_,$]),occurrenceKey:a.z.string().min(1).max(200),since:D}).transform(({shipId:e,signal:t,facts:n,occurrenceKey:r,since:i},l)=>{let o=U.safeParse({signal:t,facts:n});return o.success?{shipId:e,occurrenceKey:r,since:i,...o.data}:(l.addIssue({code:"custom",message:"The facts are not the signal's",path:["facts"]}),h.NEVER)}),u.z.object({alertId:v("alert")});let q=r.enum(["cleared","retired"]),H=p.intersection(u.z.object({id:v("alert"),ship:u.z.object({id:v("ship"),name:a.z.string()}),occurrenceKey:a.z.string(),ownerShipId:v("ship").nullable(),since:i.iso.datetime(),raisedAt:i.iso.datetime(),cleared:u.z.object({at:i.iso.datetime(),why:q}).nullable()}),U);(t=v("alert"),u.z.object({cursor:t.optional(),limit:l.int().min(1).max(500).optional()})).optional(),n=v("alert"),u.z.object({items:w.array(H),nextCursor:n.nullable()});var l=r,V=r,w=r,f=r,i=r;function W(e){let[t=""]=e.split(";");return t.trim().toLowerCase()}let K=l.int().min(1),Q=a.z.string().min(1),J=u.z.object({key:K,label:Q,detail:a.z.string().default("")}),Z=u.z.object({id:V.uuid(),title:Q,context:a.z.string(),options:w.array(J).min(1),pick:u.z.object({option:K,why:Q})}).refine(({options:e})=>new Set(e.map(({key:e})=>e)).size===e.length,{message:"Every option has its own number",path:["options"]}).refine(({options:e,pick:t})=>e.some(({key:e})=>e===t.option),{message:"The pick names one of the options",path:["pick","option"]}),X=u.z.object({questionId:V.uuid()}),Y=u.z.object({questionId:V.uuid(),question:Z}).refine(({questionId:e,question:t})=>t.id!==e,{message:"The new question has a uuid of its own",path:["question","id"]});f.union([u.z.object({option:K,note:Q.optional()}),u.z.object({note:Q})]),f.union([u.z.object({questionId:V.uuid(),option:K,note:Q.optional()}),u.z.object({questionId:V.uuid(),note:Q})]);let G=u.z.object({messageId:v("message"),sentAt:i.iso.datetime(),option:K.nullable(),note:a.z.string().nullable()});function ee(e){try{return JSON.parse(e)}catch{return}}u.z.object({id:V.uuid(),title:a.z.string(),context:a.z.string(),options:w.array(J),pick:u.z.object({option:K,why:a.z.string()}),answer:G.nullable()});var et=r;function en(e){return`${new Date(e).toISOString().slice(11,16)} UTC`}let er=u.z.object({title:a.z.string().min(1),why:a.z.string(),link:et.url({protocol:/^https?$/}).optional()}),ei=new Map([["application/vnd.aeolus.step+json",er],["application/vnd.aeolus.step-replacement+json",u.z.object({step:er}).transform(({step:e})=>e)]]),el=new Set(["application/vnd.aeolus.alert+json","application/vnd.aeolus.notice+json"]),eo=u.z.object({body:a.z.string()});e.s(["Y",0,function(e){let[t=""]=e.contentType.split(";");if(!el.has(t.trim().toLowerCase()))return e.payload;try{return eo.safeParse(JSON.parse(e.payload)).data?.body??e.payload}catch{return e.payload}},"N",0,function(e){if("application/vnd.aeolus.question+json"!==W(e.contentType))return function({contentType:e,payload:t}){if("application/vnd.aeolus.question-withdrawal+json"===W(e)){let e=X.safeParse(ee(t));return e.success?{questionId:e.data.questionId,replacement:null}:null}if("application/vnd.aeolus.question-replacement+json"===W(e)){let e=Y.safeParse(ee(t));return e.success?{questionId:e.data.questionId,replacement:e.data.question}:null}return null}(e)?.replacement??void 0;try{let t=Z.safeParse(JSON.parse(e.payload));return t.success?t.data:void 0}catch{return}},"f",0,function(e,{from:t,clockOf:n=en}){let r=`${"withdrawn"===e.kind?"Withdrawn":"Replaced"} by ${t} at ${n(e.at)}`;return null===e.replacementTitle?r:`${r} with “${e.replacementTitle}”`},"R",0,function(e,t){let[n=""]=e.contentType.split(";"),r=ei.get(n.trim().toLowerCase());if(void 0!==r)try{let n,i=r.safeParse(JSON.parse(e.payload));if(!i.success)return;let{title:l,why:o,link:a}=i.data;return{title:l,why:o,link:void 0===a?void 0:(n=new URL(a),{href:a,address:`${n.host}${n.pathname.replace(/\/$/,"")}`,isOutside:n.host!==t})}}catch{return}}],29247)},12497,e=>{let t={decide:"Decide",do:"Do","stay-aware":"Stay aware","everything-else":"Message"},n={bridge:"in Bridge",chat:"in a chat",slack:"in Slack",gateway:"by the gateway"};function r(e,t){let r=null===e.option?"":`: option ${String(e.option)}`;switch(e.kind){case"seen":return`Seen ${n[e.place]}`;case"answered":return`Answered ${n[e.place]}${r}`;case"done":return"gateway"===e.place?"Done: the gateway saw it complete":`Done ${n[e.place]}`;case"cannot":return`Cannot, ${n[e.place]}`;case"withdrawn":return`Withdrawn by ${t}`;case"replaced":return`Replaced by ${t}`;case"notSent":return`Not sent, removed ${n[e.place]}${r}`}}function i(e){switch(e){case"seen":case"answered":case"done":return!0;case"cannot":case"withdrawn":case"replaced":case"notSent":return!1}}function l(e){return null===e.optionLabel?"":`, ${e.optionLabel}`}let o={slack:"Slack's post",chat:"the chat"},a={seen:"Seen",answered:"Answered",done:"Done",cannot:"Cannot",withdrawn:"Withdrawn",replaced:"Replaced",notSent:"Not sent"},s={bridge:"Bridge",slack:"Slack",chat:"a chat","web-push":"web push",email:"email"};function u(e,t){let[n=0,r=1,i=1]=new Intl.DateTimeFormat("en-CA",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:t}).format(e).split("-").map(Number);return Date.UTC(n,r-1,i)/864e5}function c(e,t){return new Intl.DateTimeFormat("en-GB",{hour:"2-digit",minute:"2-digit",hourCycle:"h23",timeZone:t}).format(new Date(e))}e.s(["V",0,function(e,t){let n=Math.floor((t.getTime()-new Date(e).getTime())/6e4);if(n<1)return"now";if(n<60)return`${String(n)} min`;let r=Math.floor(n/60);if(r<24)return`${String(r)} h`;let i=Math.floor(r/24);return 1===i?"yesterday":`${String(i)} d`},"Z",0,c,"Y",0,function(e,{now:t,timeZone:n}){let r=u(t,n)-u(new Date(e),n);return 0===r?"Today":1===r?"Yesterday":new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"short",timeZone:n}).format(new Date(e))},"o",0,function(e){let{outcome:t}=e;if(null===t)return{text:"Done",isOk:!0};let n=r(t,e.from),o=null===t.note?"":`“${t.note}”`;return{text:(()=>{switch(t.kind){case"answered":return`${n}${l(t)}${""===o?"":`${null===t.option?"":","} with the note ${o}`}`;case"notSent":return`${n}${l(t)}`;case"done":case"cannot":return""===o||"gateway"===t.place?n:`${n}: ${o}`;case"replaced":return null===t.replacementTitle?n:`Withdrawn by ${e.from}, replaced by “${t.replacementTitle}”`;case"seen":case"withdrawn":return n}})(),isOk:i(t.kind)}},"d",0,function(e,t){let{outcome:n}=e;if(null===n)return;let a=` at ${c(n.at,t)}`,s=r({...n,option:null},e.from),u=null===n.option?"":`: option ${String(n.option)}${l(n)}`,d="done"===n.kind&&"gateway"===n.place?`Done by the gateway${a}: it saw it complete`:`${s}${a}${u}`,p=null===n.note?"":`“${n.note}” `,f="answered"===n.kind?function(e){let t=e.flatMap(e=>o[e]??[]);if(0===t.length)return"";let n=1===t.length?`${t.join("")} shows`:`${t.slice(0,-1).join(", ")} and ${t.at(-1)??""} show`;return` ${n.charAt(0).toUpperCase()}${n.slice(1)} the same answer.`}(e.places):"";return{isOk:i(n.kind),text:d,sent:"gateway"!==n.place&&("answered"===n.kind||"done"===n.kind||"cannot"===n.kind)?`${p}Sent to ${e.from} as you.${f}`:void 0}},"c",0,function(e){return null===e.outcome?"Done":a[e.outcome.kind]},"h",0,function({job:e}){switch(e){case"decide":return"question from";case"do":return"step from";case"stay-aware":case"everything-else":return"from"}},"L",0,function(e,t){let i={at:c(e.sentAt,t),text:`Arrived from ${e.from}`,detail:`shown in ${["bridge",...e.places].map(e=>s[e]).join(", ")}`,isEnd:!1},{outcome:l}=e;if(null===l)return[i];let{seen:o}=l;return[i,...null===o||"seen"===l.kind?[]:[{at:c(o.at,t),text:`Seen ${n[o.place]}`,detail:void 0,isEnd:!1}],{at:c(l.at,t),text:r(l,e.from),detail:"done",isEnd:!0}]},"z",0,function({job:e,isAlert:n}){return"stay-aware"===e?n?"Alert":"Notice":t[e]},"U",0,function(e){switch(e.job){case"decide":return"Question";case"do":return"Step";case"stay-aware":return e.isAlert?"Alert":"Notice";case"everything-else":return"Message"}},"M",0,function(e){return null===e?"Seen":`Seen ${n[e]}`},"P",0,function({wasNew:e,isDoneOnSeeing:t}){return t?e?"Seen now, so done":"Seen, so done":e?"Seen just now":void 0}])},35159,e=>{e.s(["b",0,function(e){let t="report-unchanged"===e.signal?`The alert clears when ${e.ship.name} reports again`:"The alert clears by itself once what it tells of moves";return`Aeolus only tells you. ${t}; nothing is sent on clear, so this stays here as it was.`},"c",0,function({consoleUrl:e,shipId:t}){return`${e.replace(/\/$/,"")}/ships/${t}`},"E",0,function(e){return`${String(e)} unseen`}])},84238,e=>{var t=e.i(43476),n=e.i(56420);let r={name:"refresh-cw",size:24,node:[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]};r.node;let i=(0,n.f)(r);var l=e.i(18566),o=e.i(71645);let a={name:"cloud-off",size:24,node:[["path",{d:"M10.94 5.274A7 7 0 0 1 15.71 10h1.79a4.5 4.5 0 0 1 4.222 6.057",key:"1uxyv8"}],["path",{d:"M18.796 18.81A4.5 4.5 0 0 1 17.5 19H9A7 7 0 0 1 5.79 5.78",key:"99tcn7"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]};a.node;let s=(0,n.f)(a);function u({whoDidNotAnswer:e,tryNow:n}){return(0,t.jsxs)("section",{role:"alert","data-testid":"bridge-unreadable",className:"flex items-start gap-2.5 rounded-md border border-tone-attention-border bg-tone-attention-bg px-3 py-2.5",children:[(0,t.jsx)(s,{"aria-hidden":"true",className:"mt-0.5 size-4 shrink-0 text-tone-attention-fg"}),(0,t.jsxs)("span",{className:"flex min-w-0 flex-1 flex-col",children:[(0,t.jsx)("span",{className:"font-medium",children:"The record cannot be read now"}),(0,t.jsxs)("span",{"data-testid":"bridge-unreadable-why",className:"text-meta text-muted-foreground max-sm:hidden",children:["The ",e," did not answer. Nothing was opened or answered, so nothing is lost; Bridge tries again in 10 s."]}),(0,t.jsx)("span",{"data-testid":"bridge-unreadable-why-phone",className:"text-meta text-muted-foreground sm:hidden",children:"Nothing is lost. Trying again in 10 s."})]}),(0,t.jsx)("span",{className:"shrink-0 max-sm:hidden",children:n})]})}e.s(["RecordUnreadable",0,function({whoDidNotAnswer:e}){let n=(0,l.useRouter)();(0,o.useEffect)(()=>{let e=setInterval(()=>{n.refresh()},1e4);return()=>{clearInterval(e)}},[n]);let r=(0,t.jsxs)("button",{type:"button","data-testid":"bridge-try-now",onClick:()=>{n.refresh()},className:"inline-flex h-8 items-center gap-1.5 rounded-md border border-border bg-card px-3 text-sm font-medium text-card-foreground hover:bg-accent",children:[(0,t.jsx)(i,{"aria-hidden":"true",className:"size-3.5"}),"Try now"]});return(0,t.jsx)(u,{whoDidNotAnswer:e,tryNow:r})}],84238)},55174,e=>{var t=e.i(43476),n=e.i(22768),r=e.i(10818),i=e.i(56420);let l={name:"square-arrow-out-up-right",size:24,node:[["path",{d:"M21 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6",key:"y09zxi"}],["path",{d:"m21 3-9 9",key:"mpx6sq"}],["path",{d:"M15 3h6v6",key:"1q9fwt"}]],aliases:["arrow-up-right-from-square"]};l.node;let o=(0,i.f)(l);var a=e.i(35159);e.s(["f",0,function({alert:e,healthHref:i,send:l}){let{name:s}=e.ship;return(0,t.jsxs)("div",{className:"grid gap-3",children:[(0,t.jsxs)("div",{"data-testid":"bridge-alert-tile",className:"grid h-18 w-34 content-between rounded-md border border-tone-attention-border bg-tone-attention-bg px-2.5 py-2 text-tone-attention-fg",children:[(0,t.jsx)("span",{className:"truncate text-caption font-semibold text-card-foreground",children:s}),(0,t.jsxs)("span",{className:"flex items-center gap-1 text-caption font-medium",children:[(0,t.jsx)(n.f,{"aria-hidden":"true",className:"size-3 shrink-0"}),"Alert"]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap items-center gap-2",children:[void 0===i?null:(0,t.jsxs)("a",{"data-testid":"bridge-ship-health",href:i,target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-8 items-center gap-2 justify-self-start rounded-md border border-border bg-card px-3 text-caption font-medium hover:bg-accent",children:[(0,t.jsx)(o,{"aria-hidden":"true",className:"size-3.5 shrink-0"}),`Open ${s}’s Health`]}),l]}),(0,t.jsxs)("p",{"data-testid":"bridge-alert-clears",className:"flex items-start gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)(r.f,{"aria-hidden":"true",className:"mt-0.5 size-3.5 shrink-0"}),(0,t.jsx)("span",{children:(0,a.b)(e)})]})]})}],55174)},54235,62579,e=>{var t=e.i(43476),n=e.i(89664),r=e.i(24071),i=e.i(85595),l=e.i(16984),o=e.i(82022),a=e.i(72382),s=e.i(10818),u=e.i(30274),c=e.i(47130),d=e.i(71645),p=e.i(29247),f=e.i(31785),h=e.i(12497),m=e.i(55070),g=e.i(91604),y=e.i(92407),x=e.i(35159),v=e.i(55174),b=e.i(63132),k=e.i(779);let w="max-md:[&_p+p]:hidden";function S({chosen:e,inBasket:t,note:n}){return void 0===e||null!==t&&t.option===e?null:null===e?{label:"Put the note alone in the basket",isReady:""!==n.trim()}:{label:`Put option ${String(e)} in the basket`,isReady:!0}}function j({inBasket:e,basketHref:n,isRemoving:r,isWorking:i,onRemove:l}){return(0,t.jsxs)("div",{"data-testid":"bridge-in-basket",className:"flex items-start gap-3 rounded-md border border-tone-active-border bg-tone-active-bg p-3",children:[(0,t.jsx)(c.f,{"aria-hidden":!0,className:"mt-0.5 size-4 shrink-0 text-tone-active-fg"}),(0,t.jsxs)("div",{className:"grid flex-1 gap-2",children:[(0,t.jsxs)("span",{className:"grid gap-0.5",children:[(0,t.jsxs)("span",{className:"font-medium",children:["In the basket: ",null===e.option?"the note alone":`option ${String(e.option)}`,", not sent"]}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground",children:[null===e.note?"":`"${e.note}" `,"Pick another option to change it."]})]}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)("a",{"data-testid":"bridge-basket-open",href:n,className:"inline-flex h-9 items-center rounded-md border border-border bg-card px-4 text-card-foreground hover:bg-accent",children:"Open the basket"}),(0,t.jsx)(m.i,{"data-testid":"bridge-basket-remove",variant:"ghost",isPending:r,pendingLabel:"Removing...",disabled:i,onClick:l,children:"Remove"})]})]})]})}function C({children:e}){return(0,t.jsxs)("p",{className:"flex items-start gap-1.5 text-caption text-muted-foreground",children:[(0,t.jsx)(s.f,{"aria-hidden":!0,className:"mt-0.5 size-3.5 shrink-0"}),(0,t.jsx)("span",{children:e})]})}function z({question:e,chosen:n,isStale:r,onChoose:i}){return(0,t.jsxs)("fieldset",{className:`grid gap-2 ${r?"opacity-60":""}`,disabled:r,children:[(0,t.jsx)("legend",{className:"sr-only",children:"Options"}),e.options.map(l=>(0,t.jsxs)("label",{className:`flex items-start gap-3 rounded-md border p-3 ${l.key===n&&!r?"border-ring bg-accent":"border-border"}`,children:[(0,t.jsx)("input",{type:"radio",name:"option",value:l.key,checked:l.key===n&&!r,onChange:()=>{i(l.key)},className:"mt-1"}),(0,t.jsxs)("span",{className:"grid flex-1 gap-0.5",children:[(0,t.jsxs)("span",{className:"font-medium",children:[l.key,". ",l.label]}),""===l.detail?null:(0,t.jsx)("span",{className:"text-caption text-muted-foreground max-md:hidden",children:l.detail})]}),l.key===e.pick.option?(0,t.jsx)("span",{className:"rounded-sm border border-border px-1.5 text-caption",children:"Their pick"}):null]},l.key)),(0,t.jsxs)("label",{className:`flex items-start gap-3 rounded-md border p-3 ${null===n&&!r?"border-ring bg-accent":"border-border"}`,children:[(0,t.jsx)("input",{type:"radio",name:"option",value:"",checked:null===n&&!r,onChange:()=>{i(null)},className:"mt-1"}),(0,t.jsxs)("span",{className:"grid flex-1 gap-0.5",children:[(0,t.jsx)("span",{className:"font-medium",children:"No option, only the note"}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground max-md:hidden",children:"Answer with your note alone."})]})]})]})}let E={question:{withdrawn:"Nothing to answer: it is done.",replaced:"Answer the new question.",open:"Open the new question"},step:{withdrawn:"Nothing to do: it is done.",replaced:"Do the new step.",open:"Open the new step"}};function N({stale:e,from:n,isStep:r,timeZone:i,onOpen:l}){let{replacementId:o}=e,a=E[r?"step":"question"];return(0,t.jsxs)("div",{"data-testid":"bridge-stale",className:"grid gap-2",children:[(0,t.jsxs)("span",{className:"flex items-center gap-1.5",children:[(0,t.jsx)(k.f,{kind:e.kind}),`${(0,p.f)(e,{from:n,clockOf:e=>(0,h.Z)(e,i)})}. ${"withdrawn"===e.kind?a.withdrawn:a.replaced}`]}),null===o?null:(0,t.jsx)(m.i,{"data-testid":"bridge-replacement",className:"justify-self-start",isPending:!1,pendingLabel:"Opening...",onClick:()=>{l(o)},children:a.open})]})}function T({step:e,isStale:n,isFinished:r}){let{link:i}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:w,children:(0,t.jsx)(y.f,{text:e.why})}),void 0===i||n?null:(0,t.jsxs)("div",{className:"flex items-center gap-3 rounded-md border border-border p-3",children:[(0,t.jsx)(o.f,{"aria-hidden":!0,className:"size-4 shrink-0 text-muted-foreground"}),(0,t.jsxs)("span",{className:"grid flex-1",children:[(0,t.jsx)("span",{className:"font-medium",children:"Where it is done"}),(0,t.jsx)("span",{className:"font-mono text-caption text-muted-foreground",children:i.isOutside?`${i.address} \xb7 opens outside Aeolus`:i.address})]}),r?null:(0,t.jsx)("a",{"data-testid":"bridge-step-link",href:i.href,target:"_blank",rel:"noopener noreferrer",className:"inline-flex h-8 items-center rounded-md border border-border px-3 hover:bg-accent",children:"Open"})]})]})}function A({from:e,finished:n,timeZone:r}){let o="done"===n.outcome,a=o?i.f:l.f;return(0,t.jsxs)("div",{"data-testid":"bridge-step-outcome",role:"status",className:`flex items-start gap-3 rounded-md border p-3 ${o?"border-tone-ok-border bg-tone-ok-bg":"border-tone-ended-border bg-tone-ended-bg"}`,children:[(0,t.jsx)(a,{"aria-hidden":!0,className:`mt-0.5 size-4 shrink-0 ${o?"text-tone-ok-fg":"text-tone-ended-fg"}`}),(0,t.jsxs)("span",{className:"grid gap-0.5",children:[(0,t.jsx)("span",{className:"font-medium",children:`${o?"Done in Bridge":"Cannot, in Bridge"} at ${(0,h.Z)(n.at,r)}`}),(0,t.jsxs)("span",{className:"text-caption text-muted-foreground",children:[""===n.note?"":`“${n.note}” `,`Sent to ${e} as you, with the outcome ${n.outcome}.`]})]})]})}function P({from:e,note:r,working:i,failure:l,onNoteChange:o,onFinish:a}){let s=void 0!==i;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("label",{className:"grid max-w-2xl gap-1",children:[(0,t.jsx)("span",{children:"Note (optional)"}),(0,t.jsx)("textarea",{"data-testid":"bridge-note",rows:2,value:r,onChange:e=>{o(e.target.value)},placeholder:`Add a note for ${e}: what you did, or why you cannot`,className:"field-sizing-content min-h-16 rounded-md border border-input bg-background p-2"}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:"Sent with Done or Cannot, whichever you press."})]}),void 0===l?null:(0,t.jsx)(b.f,{message:l,isFailure:!0}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsxs)(m.i,{"data-testid":"bridge-step-done",variant:"primary",isPending:i?.kind==="done",pendingLabel:"Sending...",disabled:s,onClick:()=>{a("done")},children:[(0,t.jsx)(n.f,{"aria-hidden":!0,className:"size-4"}),"Done"]}),(0,t.jsx)(m.i,{"data-testid":"bridge-step-cannot",isPending:i?.kind==="cannot",pendingLabel:"Sending...",disabled:s,onClick:()=>{a("cannot")},children:"Cannot"})]}),(0,t.jsxs)(C,{children:["Done tells ",e," you did it, Cannot that you could not; the note goes with either. Whether it worked is theirs to check."]})]})}function I({from:e,put:n,isNothingSentSaid:r,note:i,isPutting:l,isWorking:o,failure:a,onNoteChange:s,onPut:u}){return null===n?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("label",{className:"grid gap-1",children:[(0,t.jsx)("span",{children:"Note (optional)"}),(0,t.jsx)("textarea",{"data-testid":"bridge-note",rows:2,value:i,onChange:e=>{s(e.target.value)},className:"field-sizing-content min-h-16 resize-none rounded-md border border-input bg-background p-2"}),(0,t.jsx)("span",{className:"text-caption text-muted-foreground",children:"Goes with the answer."})]}),void 0===a?null:(0,t.jsx)(b.f,{message:a,isFailure:!0}),(0,t.jsxs)(m.i,{"data-testid":"bridge-put-in-basket",variant:"primary",className:"w-full justify-center sm:w-auto sm:justify-self-start",isPending:l,pendingLabel:"Putting in the basket...",disabled:o||!n.isReady,onClick:u,children:[(0,t.jsx)(c.f,{"aria-hidden":!0,className:"size-4"}),n.label]}),r?(0,t.jsxs)(C,{children:["Nothing is sent yet. ",e," receives this answer when you send the basket."]}):null]})}function D({ship:e,onSendMessage:n}){return(0,t.jsxs)("button",{type:"button","data-testid":"bridge-send-alert-ship",onClick:()=>{n(e)},className:"inline-flex h-11 w-full items-center justify-center gap-2 rounded-md px-3 font-semibold hover:bg-accent sm:h-9 sm:w-auto sm:justify-self-start",children:[(0,t.jsx)(u.f,{"aria-hidden":"true",className:"size-4"}),"Send ",e," a message"]})}function L({delivery:e,opened:n,timeZone:r}){let i=(0,g.f)(n),l=i.icon,o=(0,h.P)({wasNew:n.wasNew,isDoneOnSeeing:"stay-aware"===n.job});return(0,t.jsxs)("p",{"data-testid":"bridge-item-heading",className:"flex flex-wrap items-center gap-x-2 gap-y-0.5 text-caption text-muted-foreground",children:[(0,t.jsxs)("span",{className:`inline-flex items-center gap-1 font-medium ${i.tone}`,children:[(0,t.jsx)(l,{"aria-hidden":"true",className:"size-3.5"}),(0,h.z)(n)]}),(0,t.jsx)(M,{}),(0,t.jsxs)("span",{children:[(0,h.h)(n)," ",(0,t.jsx)("strong",{className:"font-semibold text-foreground",children:e.from})]}),(0,t.jsx)(M,{}),(0,t.jsx)("time",{dateTime:e.sentAt,children:(0,h.Z)(e.sentAt,r)}),void 0===o?null:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(M,{}),(0,t.jsx)("span",{children:o})]})]})}function M(){return(0,t.jsx)("span",{"aria-hidden":"true",className:"text-border",children:"·"})}function O({opened:e,title:n=(0,h.U)(e),isWorking:i,onBack:l}){return(0,t.jsxs)("div",{"data-testid":"bridge-item-screen-bar",className:"-mx-1 flex items-center gap-1 md:hidden",children:[(0,t.jsx)("button",{type:"button","data-testid":"bridge-back","aria-label":"Back to the list",onClick:l,disabled:i,className:"inline-flex size-9 items-center justify-center rounded-md hover:bg-accent disabled:opacity-70",children:(0,t.jsx)(r.f,{"aria-hidden":"true",className:"size-5"})}),(0,t.jsx)("span",{className:"text-section font-semibold",children:n})]})}e.s(["u",0,function({delivery:e,opened:n,timeZone:r,meetingHref:i,consoleUrl:l,basketHref:o,inBasket:s,finished:u,places:c,note:p,working:h,failure:g,onNoteChange:k,onAnswer:E,onPut:M,onRemove:R,onDone:F,onFinishStep:_,onOpen:$,onSendMessage:B,onBack:U}){let{question:q,step:H,stale:V}=e,[W,K]=(0,d.useState)(null===s?q?.pick.option:s.option),Q=void 0!==h,J=void 0===q?void 0:function({chosen:e,pick:t,inBasket:n,isStale:r}){if(r)return{isPickSaid:!0,isNothingSentSaid:!1};let i=null===n&&e===t;return{isPickSaid:i,isNothingSentSaid:!i&&null!==S({chosen:e,inBasket:n,note:""})}}({chosen:W,pick:q.pick.option,inBasket:s,isStale:null!==V}),Z="stay-aware"===n.job,X=void 0!==e.alertShip&&void 0!==B?(0,t.jsx)(D,{ship:e.alertShip,onSendMessage:B}):null;return(0,t.jsxs)("section",{"data-testid":"bridge-delivery",className:"grid min-w-0 content-start gap-3 text-card-foreground md:p-5",children:[(0,t.jsx)(O,{opened:n,isWorking:Q,onBack:U}),(0,t.jsx)(L,{delivery:e,opened:n,timeZone:r}),(0,t.jsx)("h2",{className:"text-heading font-semibold",children:null===V?q?.title??e.title:(0,t.jsx)("s",{className:"decoration-muted-foreground",children:q?.title??e.title})}),void 0===i?null:(0,t.jsx)("a",{"data-testid":"bridge-meeting",href:i,className:"inline-flex h-9 items-center justify-self-start rounded-md bg-primary px-4 text-primary-foreground hover:bg-primary-hover",children:"Go to the meeting"}),void 0!==H?(0,t.jsx)(T,{step:H,isStale:null!==V,isFinished:null!==u}):void 0===q?(0,t.jsx)(y.f,{text:e.body}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:w,children:(0,t.jsx)(y.f,{text:q.context})}),(0,t.jsx)(z,{question:q,chosen:W,isStale:null!==V,onChoose:K}),J?.isPickSaid===!0?(0,t.jsxs)(C,{children:[e.from," picks ",q.pick.option,": ",q.pick.why]}):null]}),null===V?null:(0,t.jsx)(N,{stale:V,from:e.from,isStep:void 0!==H,timeZone:r,onOpen:$}),null===s||null!==V?null:(0,t.jsx)(j,{inBasket:s,basketHref:o,isRemoving:h?.kind==="remove",isWorking:Q,onRemove:R}),Z&&void 0!==e.alert?(0,t.jsx)(v.f,{alert:e.alert,healthHref:void 0===l?void 0:(0,x.c)({consoleUrl:l,shipId:e.alert.ship.id}),send:X}):Z?X:null,Z||null!==V?null:void 0!==H?null===u?(0,t.jsx)(P,{from:e.from,note:p,working:h,failure:g,onNoteChange:k,onFinish:_}):(0,t.jsx)(A,{from:e.from,finished:u,timeZone:r}):void 0===q?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("label",{className:"grid gap-1",children:[(0,t.jsx)("span",{children:"Your answer"}),(0,t.jsx)("textarea",{"data-testid":"bridge-note",rows:2,value:p,onChange:e=>{k(e.target.value)},className:"rounded-md border border-input bg-background p-2"})]}),void 0===g?null:(0,t.jsx)(b.f,{message:g,isFailure:!0}),(0,t.jsxs)("div",{className:"flex flex-wrap gap-2",children:[(0,t.jsx)(m.i,{"data-testid":"bridge-answer",variant:"primary",isPending:h?.kind==="note",pendingLabel:"Sending...",disabled:Q,onClick:()=>{E(void 0)},children:"Answer"}),(0,t.jsx)(m.i,{"data-testid":"bridge-done",isPending:h?.kind==="done",pendingLabel:"Marking done...",disabled:Q,onClick:F,children:"Done"})]})]}):(0,t.jsx)(I,{from:e.from,put:S({chosen:W,inBasket:s,note:p}),isNothingSentSaid:J?.isNothingSentSaid===!0,note:p,isPutting:h?.kind===(null===W?"note":"option"),isWorking:Q,failure:g,onNoteChange:k,onPut:()=>{void 0!==W&&M(W)}}),void 0===q||null!==V||void 0===c?null:(0,t.jsxs)("footer",{"data-testid":"bridge-shown-in",className:"grid gap-1 border-t border-border pt-3 text-caption text-muted-foreground",children:[(0,t.jsx)(a.f,{"aria-hidden":!0,className:"size-4"}),(0,t.jsx)("span",{children:(0,f.r)(c)})]})]})},"$",0,L,"R",0,w,"g",0,O,"l",0,T],54235),e.s(["f",0,function({list:e,item:n}){return void 0===n?(0,t.jsx)("div",{className:"grid gap-4",children:e}):(0,t.jsxs)("div",{"data-testid":"bridge-split",className:"grid min-w-0 md:-mx-6 md:-my-5 md:min-h-[calc(100dvh-3.5rem)] md:grid-cols-[340px_minmax(0,1fr)]",children:[(0,t.jsx)("div",{"data-testid":"bridge-split-list",className:"hidden min-w-0 border-r border-border md:block",children:e}),n]})}],62579)},91604,e=>{var t=e.i(51481),n=e.i(59381),r=e.i(56420);let i={name:"megaphone",size:24,node:[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]};i.node;let l=(0,r.f)(i),o={name:"message-square",size:24,node:[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]]};o.node;let a=(0,r.f)(o),s={name:"triangle-alert",size:24,node:[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],aliases:["alert-triangle"]};s.node;let u=(0,r.f)(s),c={decide:{icon:t.f,tone:"text-tone-active-fg"},do:{icon:n.f,tone:"text-tone-waiting-fg"},alert:{icon:u,tone:"text-tone-attention-fg"},"stay-aware":{icon:l,tone:"text-muted-foreground"},"everything-else":{icon:a,tone:"text-muted-foreground"}};e.s(["f",0,function({job:e,isAlert:t}){return c[t?"alert":e]}],91604)},92407,e=>{var t=e.i(43476);function n(){}function r(){}let i=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,l=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,o={};function a(e,t){return((t||o).jsx?l:i).test(e)}let s=/[ \t\n\f\r]/g;function u(e){return""===e.replace(s,"")}class c{constructor(e,t){this.attribute=t,this.property=e}}c.prototype.attribute="",c.prototype.booleanish=!1,c.prototype.boolean=!1,c.prototype.commaOrSpaceSeparated=!1,c.prototype.commaSeparated=!1,c.prototype.defined=!1,c.prototype.mustUseProperty=!1,c.prototype.number=!1,c.prototype.overloadedBoolean=!1,c.prototype.property="",c.prototype.spaceSeparated=!1,c.prototype.space=void 0;let d=0,p=v(),f=v(),h=v(),m=v(),g=v(),y=v(),x=v();function v(){return 2**++d}e.s(["boolean",0,p,"booleanish",0,f,"commaOrSpaceSeparated",0,x,"commaSeparated",0,y,"number",0,m,"overloadedBoolean",0,h,"spaceSeparated",0,g],744);var b=e.i(744);let k=Object.keys(b);class w extends c{constructor(e,t,n,r){var i,l,o,a,s;let u=-1;if(super(e,t),i=this,(l=r)&&(i.space=l),"number"==typeof n)for(;++u<k.length;){let e=k[u];o=this,a=k[u],(s=(n&b[e])===b[e])&&(o[a]=s)}}}function S(e){return e.toLowerCase()}w.prototype.defined=!0;let j=/[A-Z]/g,C=/-[a-z]/g,z=/^data[-\w.:]+$/i;function E(e){return"-"+e.toLowerCase()}function N(e){return e.charAt(1).toUpperCase()}let T={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"};class A{constructor(e,t,n){this.normal=t,this.property=e,n&&(this.space=n)}}function P(e,t){let n={},r={};for(let t of e)Object.assign(n,t.property),Object.assign(r,t.normal);return new A(n,r,t)}function I(e){let t={},n={};for(let[r,i]of Object.entries(e.properties)){let l=new w(r,e.transform(e.attributes||{},r),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(l.mustUseProperty=!0),t[r]=l,n[S(r)]=r,n[S(l.attribute)]=r}return new A(t,n,e.space)}A.prototype.normal={},A.prototype.property={},A.prototype.space=void 0;let D=I({properties:{ariaActiveDescendant:null,ariaAtomic:f,ariaAutoComplete:null,ariaBusy:f,ariaChecked:f,ariaColCount:m,ariaColIndex:m,ariaColSpan:m,ariaControls:g,ariaCurrent:null,ariaDescribedBy:g,ariaDetails:null,ariaDisabled:f,ariaDropEffect:g,ariaErrorMessage:null,ariaExpanded:f,ariaFlowTo:g,ariaGrabbed:f,ariaHasPopup:null,ariaHidden:f,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:g,ariaLevel:m,ariaLive:null,ariaModal:f,ariaMultiLine:f,ariaMultiSelectable:f,ariaOrientation:null,ariaOwns:g,ariaPlaceholder:null,ariaPosInSet:m,ariaPressed:f,ariaReadOnly:f,ariaRelevant:null,ariaRequired:f,ariaRoleDescription:g,ariaRowCount:m,ariaRowIndex:m,ariaRowSpan:m,ariaSelected:f,ariaSetSize:m,ariaSort:null,ariaValueMax:m,ariaValueMin:m,ariaValueNow:m,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function L(e,t){return t in e?e[t]:t}function M(e,t){return L(e,t.toLowerCase())}let O=I({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:y,acceptCharset:g,accessKey:g,action:null,allow:null,allowFullScreen:p,allowPaymentRequest:p,allowUserMedia:p,alpha:p,alt:null,as:null,async:p,autoCapitalize:null,autoComplete:g,autoFocus:p,autoPlay:p,blocking:g,capture:null,charSet:null,checked:p,cite:null,className:g,closedBy:null,colorSpace:null,cols:m,colSpan:m,command:null,commandFor:null,content:null,contentEditable:f,controls:p,controlsList:g,coords:m|y,crossOrigin:null,data:null,dateTime:null,decoding:null,default:p,defer:p,dir:null,dirName:null,disabled:p,download:h,draggable:f,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:p,formTarget:null,headers:g,height:m,hidden:h,high:m,href:null,hrefLang:null,htmlFor:g,httpEquiv:g,id:null,imageSizes:null,imageSrcSet:null,inert:p,inputMode:null,integrity:null,is:null,isMap:p,itemId:null,itemProp:g,itemRef:g,itemScope:p,itemType:g,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:p,low:m,manifest:null,max:null,maxLength:m,media:null,method:null,min:null,minLength:m,multiple:p,muted:p,name:null,nonce:null,noModule:p,noValidate:p,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:p,optimum:m,pattern:null,ping:g,placeholder:null,playsInline:p,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:p,referrerPolicy:null,rel:g,required:p,reversed:p,rows:m,rowSpan:m,sandbox:g,scope:null,scoped:p,seamless:p,selected:p,shadowRootClonable:p,shadowRootCustomElementRegistry:p,shadowRootDelegatesFocus:p,shadowRootMode:null,shadowRootSerializable:p,shape:null,size:m,sizes:null,slot:null,span:m,spellCheck:f,src:null,srcDoc:null,srcLang:null,srcSet:null,start:m,step:null,style:null,tabIndex:m,target:null,title:null,translate:null,type:null,typeMustMatch:p,useMap:null,value:f,width:m,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:g,axis:null,background:null,bgColor:null,border:m,borderColor:null,bottomMargin:m,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:p,declare:p,event:null,face:null,frame:null,frameBorder:null,hSpace:m,leftMargin:m,link:null,longDesc:null,lowSrc:null,marginHeight:m,marginWidth:m,noResize:p,noHref:p,noShade:p,noWrap:p,object:null,profile:null,prompt:null,rev:null,rightMargin:m,rules:null,scheme:null,scrolling:f,standby:null,summary:null,text:null,topMargin:m,valueType:null,version:null,vAlign:null,vLink:null,vSpace:m,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:p,disablePictureInPicture:p,disableRemotePlayback:p,exportParts:y,part:g,prefix:null,property:null,results:m,security:null,unselectable:null},space:"html",transform:M}),R=I({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:x,accentHeight:m,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:m,amplitude:m,arabicForm:null,ascent:m,attributeName:null,attributeType:null,azimuth:m,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:m,by:null,calcMode:null,capHeight:m,className:g,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:m,diffuseConstant:m,direction:null,display:null,dur:null,divisor:m,dominantBaseline:null,download:p,dx:null,dy:null,edgeMode:null,editable:null,elevation:m,enableBackground:null,end:null,event:null,exponent:m,externalResourcesRequired:null,fill:null,fillOpacity:m,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:y,g2:y,glyphName:y,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:m,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:m,horizOriginX:m,horizOriginY:m,id:null,ideographic:m,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:m,k:m,k1:m,k2:m,k3:m,k4:m,kernelMatrix:x,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:m,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:m,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:m,overlineThickness:m,paintOrder:null,panose1:null,path:null,pathLength:m,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:g,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:m,pointsAtY:m,pointsAtZ:m,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:x,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:x,rev:x,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:x,requiredFeatures:x,requiredFonts:x,requiredFormats:x,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:m,specularExponent:m,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:m,strikethroughThickness:m,string:null,stroke:null,strokeDashArray:x,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:m,strokeOpacity:m,strokeWidth:null,style:null,surfaceScale:m,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:x,tabIndex:m,tableValues:null,target:null,targetX:m,targetY:m,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:x,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:m,underlineThickness:m,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:m,values:null,vAlphabetic:m,vMathematical:m,vectorEffect:null,vHanging:m,vIdeographic:m,version:null,vertAdvY:m,vertOriginX:m,vertOriginY:m,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:m,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:L}),F=I({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()}),_=I({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:M}),$=I({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),B=P([D,O,F,_,$],"html"),U=P([D,R,F,_,$],"svg");var q=/\/\*(?:[^*]|\*(?!\/))*\*\//g,H=/\n/g,V=/^\s*/,W=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,K=/^:\s*/,Q=/^((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|url\((?:'(?:\\.|[^'\\])*'|"(?:\\.|[^"\\])*"|[^)]*)\)|[^};])+)/,J=/^[;\s]*/;let Z=Y("end"),X=Y("start");function Y(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 G(e){return e&&"object"==typeof e?"position"in e||"type"in e?et(e.position):"start"in e||"end"in e?et(e):"line"in e||"column"in e?ee(e):"":""}function ee(e){return en(e&&e.line)+":"+en(e&&e.column)}function et(e){return ee(e&&e.start)+"-"+ee(e&&e.end)}function en(e){return e&&"number"==typeof e?e:1}class er extends Error{constructor(e,t,n){super(),"string"==typeof t&&(n=t,t=void 0);let r="",i={},l=!1;if(t&&(i="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?r=e:!i.cause&&e&&(l=!0,r=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof n){let e=n.indexOf(":");-1===e?i.ruleId=n:(i.source=n.slice(0,e),i.ruleId=n.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=r,this.line=o?o.line:void 0,this.name=G(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=l&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}er.prototype.file="",er.prototype.name="",er.prototype.reason="",er.prototype.message="",er.prototype.stack="",er.prototype.column=void 0,er.prototype.line=void 0,er.prototype.ancestors=void 0,er.prototype.cause=void 0,er.prototype.fatal=void 0,er.prototype.place=void 0,er.prototype.ruleId=void 0,er.prototype.source=void 0;let ei={}.hasOwnProperty,el=new Map,eo=/[A-Z]/g,ea=/-([a-z])/g,es=new Set(["table","tbody","thead","tfoot","tr"]),eu=new Set(["td","th"]),ec="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function ed(e,t,r){var i,l,o,a,s,d,p,f,h;let m,g,y,x,v,b,k,A,P,I,D;return"element"===t.type?(i=e,l=t,o=r,g=m=i.schema,"svg"===l.tagName.toLowerCase()&&"html"===m.space&&(i.schema=U),i.ancestors.push(l),y=em(i,l.tagName,!1),x=function(e,t){let n,r,i={};for(r in t.properties)if("children"!==r&&ei.call(t.properties,r)){let l=function(e,t,n){var r;let i;if(null==n||"number"==typeof n&&Number.isNaN(n))return;let l=function(e,t){let n=S(t),r=t,i=c;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&z.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(C,N);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!C.test(e)){let n=e.replace(j,E);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}i=w}return new i(r,t)}(e.schema,t);return(Array.isArray(n)&&(n=l.commaSeparated?(i={},(""===(r=n)[r.length-1]?[...r,""]:r).join((i.padRight?" ":"")+","+(!1===i.padLeft?"":" ")).trim()):n.join(" ").trim()),"style"===l.property)?["style","object"==typeof n?"dom"===e.stylePropertyNameCase?n:function(e){let t,n={};for(t in e)ei.call(e,t)&&(n[function(e){if("--"===e.slice(0,2))return e;let t=e.replace(eo,ey);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return n}(n):function(e,t){let n={};try{!function(e,t){let n=null;if(!e||"string"!=typeof e)return;let r=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(e){var t=e.match(H);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function l(){var e={line:n,column:r};return function(t){return t.position=new o(e),s(V),t}}function o(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function a(i){var l=Error(t.source+":"+n+":"+r+": "+i);if(l.reason=i,l.filename=t.source,l.line=n,l.column=r,l.source=e,t.silent);else throw l}function s(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function u(e){for(var t;t=c();)e.push(t);return e}function c(){var t=l();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 a("End of comment missing");var o=e.slice(2,n-2);return r+=2,i(o),e=e.slice(n),r+=2,t({type:"comment",comment:o})}}o.prototype.content=e,s(V);var d,p=[];for(u(p);d=function(){var e=l(),t=s(W);if(t){if(c(),!s(K))return a("property missing ':'");var n=s(Q),r=e({type:"declaration",property:t[0].replace(q,"").trim(),value:n?n[0].replace(q,"").trim():""});return s(J),r}}();)p.push(d),u(p);return p}(e),i="function"==typeof t;r.forEach(e=>{if("declaration"!==e.type)return;let{property:r,value:l}=e;i?t(r,l,e):l&&((n=n??{})[r]=l)})}(t,function(t,r){if(t&&r){let i=t;"--"!==i.slice(0,2)&&(i=i.toLowerCase(),"dom"===e.stylePropertyNameCase&&("-ms-"===i.slice(0,4)&&(i=i.slice(1)),i=i.replace(ea,ex))),n[i]=r}})}catch(n){if(e.ignoreInvalidStyle)return{};let t=new er("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=ec+"#cannot-parse-style-attribute",t}return n}(e,String(n))]:["react"===e.elementAttributeNameCase&&l.space?T[l.property]||l.property:l.attribute,n]}(e,r,t.properties[r]);if(l){let[r,o]=l;e.tableCellAlignToStyle&&"align"===r&&"string"==typeof o&&eu.has(t.tagName)?n=o:i[r]=o}}return n&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=n),i}(i,l),v=eh(i,l),es.has(l.tagName)&&(v=v.filter(function(e){return"string"!=typeof e||!("object"==typeof e?"text"===e.type&&u(e.value):u(e))})),ep(i,x,y,l),ef(x,v),i.ancestors.pop(),i.schema=m,i.create(l,y,x,o)):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return n(r.type),e.evaluater.evaluateExpression(r.expression)}eg(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?(a=e,s=t,d=r,k=b=a.schema,"svg"===s.name&&"html"===b.space&&(a.schema=U),a.ancestors.push(s),A=null===s.name?a.Fragment:em(a,s.name,!0),P=function(e,t){let r={};for(let i of t.attributes)if("mdxJsxExpressionAttribute"===i.type)if(i.data&&i.data.estree&&e.evaluater){let t=i.data.estree.body[0];n(t.type);let l=t.expression;n(l.type);let o=l.properties[0];n(o.type),Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else eg(e,t.position);else{let l,{name:o}=i;if(i.value&&"object"==typeof i.value)if(i.value.data&&i.value.data.estree&&e.evaluater){let t=i.value.data.estree.body[0];n(t.type),l=e.evaluater.evaluateExpression(t.expression)}else eg(e,t.position);else l=null===i.value||i.value;r[o]=l}return r}(a,s),I=eh(a,s),ep(a,P,A,s),ef(P,I),a.ancestors.pop(),a.schema=b,a.create(s,A,P,d)):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eg(e,t.position)}(e,t):"root"===t.type?(p=e,f=t,h=r,ef(D={},eh(p,f)),p.create(f,p.Fragment,D,h)):"text"===t.type?t.value:void 0}function ep(e,t,n,r){"string"!=typeof n&&n!==e.Fragment&&e.passNode&&(t.node=r)}function ef(e,t){if(t.length>0){let n=t.length>1?t:t[0];n&&(e.children=n)}}function eh(e,t){let n=[],r=-1,i=e.passKeys?new Map:el;for(;++r<t.children.length;){let l,o=t.children[r];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;l=e+"-"+t,i.set(e,t+1)}}let a=ed(e,o,l);void 0!==a&&n.push(a)}return n}function em(e,t,r){let i;if(r)if(t.includes(".")){let e,r=t.split("."),l=-1;for(;++l<r.length;){let t=a(r[l])?{type:"Identifier",name:r[l]}:{type:"Literal",value:r[l]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(l&&"Literal"===t.type),optional:!1}:t}n(),i=e}else i=a(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else i={type:"Literal",value:t};if("Literal"===i.type){let t=i.value;return ei.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(i);eg(e)}function eg(e,t){let n=new er("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=ec+"#cannot-handle-mdx-estrees-without-createevaluater",n}function ey(e){return"-"+e.toLowerCase()}function ex(e,t){return t.toUpperCase()}let ev={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"]};e.i(71645);let eb={};function ek(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 ew(e.children,t,n)}return Array.isArray(e)?ew(e,t,n):""}function ew(e,t,n){let r=[],i=-1;for(;++i<e.length;)r[i]=ek(e[i],t,n);return r.join("")}function eS(e,t,n,r){let i,l=e.length,o=0;if(t=t<0?-t>l?0:l+t:t>l?l: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);o<r.length;)(i=r.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function ej(e,t){return e.length>0?(eS(e,e.length,0,t),e):t}let eC={}.hasOwnProperty,ez=eF(/[A-Za-z]/),eE=eF(/[\dA-Za-z]/),eN=eF(/[#-'*+\--9=?A-Z^-~]/);function eT(e){return null!==e&&(e<32||127===e)}let eA=eF(/\d/),eP=eF(/[\dA-Fa-f]/),eI=eF(/[!-/:-@[-`{-~]/);function eD(e){return null!==e&&e<-2}function eL(e){return null!==e&&(e<0||32===e)}function eM(e){return -2===e||-1===e||32===e}let eO=eF(/\p{P}|\p{S}/u),eR=eF(/\s/);function eF(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function e_(e,t,n,r){let i=r?r-1:1/0,l=0;return function(r){return eM(r)?(e.enter(n),function r(o){return eM(o)&&l++<i?(e.consume(o),r):(e.exit(n),t(o))}(r)):t(r)}}function e$(e,t,n,r,i,l){let o=0;return function(t){return l>0&&eM(t)?(e.enter(r),function t(n){return eM(n)&&o<l?(e.consume(n),o++,t):(e.exit(r),a(n))}(t)):a(t)};function a(e){return o>=i?t(e):n(e)}}let eB={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"),e_(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 eD(r)?(e.consume(r),e.exit("chunkText"),n):(e.consume(r),t)}(r)}(n)});return n}};class eU{constructor(){this.index=new Map,this.map=[]}add(e,t,n){eq(this,e,t,n,!1)}addBefore(e,t,n){eq(this,e,t,n,!0)}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,this.index.clear()}}function eq(e,t,n,r,i){if(0===n&&0===r.length)return;let l=e.index.get(t);if(l){l[1]+=n,i?(r.push(...l[2]),l[2]=r):l[2].push(...r);return}let o=[t,n,r];e.map.push(o),e.index.set(t,o)}let eH={tokenize:function(e){let t,n,r,i=this,l=[],o=0;return a;function a(t){if(o<l.length){let n=l[o];return i.containerState=n[1],e.attempt(n[0].continuation,s,u)(t)}return u(t)}function s(e){if(o++,i.containerState._closeFlow){let n;i.containerState._closeFlow=void 0,t&&y();let r=i.events.length,l=r;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){n=i.events[l][1].end;break}g(o);let a=r;for(;a<i.events.length;)i.events[a][1].end={...n},a++;let s=new eU;return s.add(l+1,0,i.events.slice(r)),s.add(r,a-r,[]),s.consume(i.events),u(e)}return a(e)}function u(n){if(o===l.length){if(!t)return p(n);if(t.currentConstruct&&t.currentConstruct.concrete)return h(n);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(eV,c,d)(n)}function c(e){return t&&y(),g(o),p(e)}function d(e){return i.parser.lazy[i.now().line]=o!==l.length,r=i.now().offset,h(e)}function p(t){return i.containerState={},e.attempt(eV,f,h)(t)}function f(e){return o++,l.push([i.currentConstruct,i.containerState]),p(e)}function h(r){if(null===r){t&&y(),g(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){m(e.exit("chunkFlow"),!0),g(0),e.consume(n);return}return eD(n)?(e.consume(n),m(e.exit("chunkFlow")),o=0,i.interrupt=void 0,a):(e.consume(n),t)}(r)}function m(e,l){let a=i.sliceStream(e);if(l&&a.push(null),e.previous=n,n&&(n.next=e),n=e,t.defineSkip(e.start),t.write(a),i.parser.lazy[e.start.line]){let e,n,l=t.events.length;for(;l--;)if(t.events[l][1].start.offset<r&&(!t.events[l][1].end||t.events[l][1].end.offset>r))return;let a=i.events.length,s=a;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){n=i.events[s][1].end;break}e=!0}for(g(o),l=a;l<i.events.length;)i.events[l][1].end={...n},l++;let u=new eU;u.add(s+1,0,i.events.slice(a)),u.add(a,l-a,[]),u.consume(i.events)}}function g(t){let n=l.length;for(;n-- >t;){let t=l[n];i.containerState=t[1],t[0].exit.call(i,e)}l.length=t}function y(){t.write([null]),n=void 0,t=void 0,i.containerState._closeFlow=void 0}}},eV={tokenize:function(e,t,n){return e_(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},eW={partial:!0,tokenize:function(e,t,n){return function(t){return eM(t)?e_(e,r,"linePrefix")(t):r(t)};function r(e){return null===e||eD(e)?t(e):n(e)}}};class eK{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&&eQ(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),eQ(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),eQ(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);eQ(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);eQ(this.left,t.reverse())}}}function eQ(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 eJ(e){let t,n,r,i,l,o,a,s={},u=-1,c=new eK(e);for(;++u<c.length;){for(;u in s;)u=s[u];if(t=c.get(u),u&&"chunkFlow"===t[1].type&&"listItemPrefix"===c.get(u-1)[1].type&&((r=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[r][1].type&&(r+=2),r<o.length&&"content"===o[r][1].type))for(;++r<o.length&&"content"!==o[r][1].type;)"chunkText"===o[r][1].type&&(o[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let n,r,i=e.get(t)[1],l=e.get(t)[2],o=t-1,a=[],s=i._tokenizer;!s&&(s=l.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let u=s.events,c=[],d={},p=-1,f=i,h=0,m=0,g=[0];for(;f;){for(;e.get(++o)[1]!==f;);a.push(o),!f._tokenizer&&(n=l.sliceStream(f),f.next||n.push(null),r&&s.defineSkip(f.start),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(n),f._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),r=f,f=f.next}for(f=i;++p<u.length;)"exit"===u[p][0]&&"enter"===u[p-1][0]&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(m=p+1,g.push(m),f._tokenizer=void 0,f.previous=void 0,f=f.next);for(s.events=[],f?(f._tokenizer=void 0,f.previous=void 0):g.pop(),p=g.length;p--;){let t=u.slice(g[p],g[p+1]),n=a.pop();c.push([n,n+t.length-1]),e.splice(n,2,t)}for(c.reverse(),p=-1;++p<c.length;)d[h+c[p][0]]=h+c[p][1],h+=c[p][1]-c[p][0]-1;return d}(c,u)),u=s[u],a=!0);else if(t[1]._container){for(r=u,n=void 0;r--;)if("lineEnding"===(i=c.get(r))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(n&&(c.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={...c.get(n)[1].start},(l=c.slice(n,u)).unshift(t),c.splice(n,u-n+1,l))}}return eS(e,0,1/0,c.slice(0)),!a}let eZ={resolve:function(e){return eJ(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):eD(t)?e.check(eX,l,i)(t):(e.consume(t),r)}function i(n){return e.exit("chunkContent"),e.exit("content"),t(n)}function l(t){return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,r}}},eX={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"),e_(e,i,"linePrefix")};function i(i){if(null===i||eD(i))return n(i);let l=r.events[r.events.length-1];return!r.parser.constructs.disable.null.includes("codeIndented")&&l&&"linePrefix"===l[1].type&&l[2].sliceSerialize(l[1],!0).length>=4?t(i):e.interrupt(r.parser.constructs.flow,n,t)(i)}}},eY={tokenize:function(e){let t=this,n=e.attempt(eW,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,e_(e,e.attempt(this.parser.constructs.flow,r,e.attempt(eZ,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)}}},eG={resolveAll:e4()},e0=e2("string"),e1=e2("text");function e2(e){return{resolveAll:e4("text"===e?e5:void 0),tokenize:function(t){let n=this,r=this.parser.constructs[e],i=t.attempt(r,l,o);return l;function l(e){return s(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),a)}function a(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),a)}function s(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 e4(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 e5(e,t){let n=new eU,r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let i,l=e[r-1][1],o=t.sliceStream(l),a=o.length,s=-1,u=0;for(;a--;){let e=o[a];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)u++,s--;if(s)break;s=-1}else if(-2===e)i=!0,u++;else if(-1===e);else{a++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){let o={type:r===e.length||i||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:a?s:l.start._bufferIndex+s,_index:l.start._index+a,line:l.end.line,column:l.end.column-u,offset:l.end.offset-u},end:{...l.end}};l.end={...o.start},l.start.offset===l.end.offset?Object.assign(l,o):n.add(r,0,[["enter",o,t],["exit",o,t]])}r++}return n.consume(e),e}function e3(e){return null===e||eL(e)||eR(e)?1:eO(e)?2:void 0}function e6(e,t,n){let r=[],i=-1;for(;++i<e.length;){let l=e[i].resolveAll;l&&!r.includes(l)&&(t=l(t,n),r.push(l))}return t}let e9={name:"attention",resolveAll:function(e,t){let n,r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._close){let i=r;for(;i--;)if("exit"===e[i][0]&&"attentionSequence"===e[i][1].type&&e[i][1]._open&&t.sliceSerialize(e[i][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[i][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[i][1].end.offset-e[i][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;let l=e[i][1].end.offset-e[i][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1,o={...e[i][1].end},a={...e[r][1].start};e7(o,-l),e7(a,l);let s={type:l>1?"strongSequence":"emphasisSequence",start:o,end:{...e[i][1].end}},u={type:l>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:a},c={type:l>1?"strongText":"emphasisText",start:{...e[i][1].end},end:{...e[r][1].start}},d={type:l>1?"strong":"emphasis",start:{...s.start},end:{...u.end}};e[i][1].end={...s.start},e[r][1].start={...u.end},n=[],e[i][1].end.offset-e[i][1].start.offset&&(n=ej(n,[["enter",e[i][1],t],["exit",e[i][1],t]])),n=ej(n,[["enter",d,t],["enter",s,t],["exit",s,t],["enter",c,t]]),n=ej(n,e6(t.parser.constructs.insideSpan.null,e.slice(i+1,r),t)),n=ej(n,[["exit",c,t],["enter",u,t],["exit",u,t],["exit",d,t]]);let p=0;e[r][1].end.offset-e[r][1].start.offset&&(p=2,n=ej(n,[["enter",e[r][1],t],["exit",e[r][1],t]])),eS(e,i-1,r-i+3,n),r=i+n.length-p-2;break}}for(r=-1;++r<e.length;)"attentionSequence"===e[r][1].type&&(e[r][1].type="data");return e},tokenize:function(e,t){let n,r=this.parser.constructs.attentionMarkers.null,i=this.previous,l=e3(i);return function(o){return n=o,e.enter("attentionSequence"),function o(a){if(a===n)return e.consume(a),o;let s=e.exit("attentionSequence"),u=e3(a),c=!u||2===u&&l||r.includes(a)&&42!==a&&95!==a,d=!l||2===l&&u||r.includes(i)&&42!==i&&95!==i;return s._open=!!(42===n?c:c&&(l||!d)),s._close=!!(42===n?d:d&&(u||!c)),t(a)}(o)}}};function e7(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let e8={continuation:{tokenize:function(e,t,n){let r=this;return function(t){return eM(t)?e_(e,i,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(r){return e.attempt(e8,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 eM(n)?(e.enter("blockQuotePrefixWhitespace"),e.consume(n),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}}},te={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 eI(r)?(e.enter("characterEscapeValue"),e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}},tt=document.createElement("i");function tn(e){let t="&"+e+";";tt.innerHTML=t;let n=tt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}let tr={name:"characterReference",tokenize:function(e,t,n){let r,i,l=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),a};function a(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),r=31,i=eE,u(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),r=6,i=eP,u):(e.enter("characterReferenceValue"),r=7,i=eA,u(t))}function u(a){if(59===a&&o){let r=e.exit("characterReferenceValue");return i!==eE||tn(l.sliceSerialize(r))?(e.enter("characterReferenceMarker"),e.consume(a),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(a)}return i(a)&&o++<r?(e.consume(a),u):n(a)}}},ti={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)}}},tl={concrete:!0,name:"codeFenced",tokenize:function(e,t,n){let r,i=this,l={partial:!0,tokenize:function(e,t,n){let l=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),eM(t)?e_(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===r?(e.enter("codeFencedFenceSequence"),function t(i){return i===r?(l++,e.consume(i),t):l>=a?(e.exit("codeFencedFenceSequence"),eM(i)?e_(e,u,"whitespace")(i):u(i)):n(i)}(t)):n(t)}function u(r){return null===r||eD(r)?(e.exit("codeFencedFence"),t(r)):n(r)}}},o=0,a=0;return function(t){var l;let u;return l=t,o=(u=i.events[i.events.length-1])&&"linePrefix"===u[1].type?u[2].sliceSerialize(u[1],!0).length:0,r=l,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===r?(a++,e.consume(i),t):a<3?n(i):(e.exit("codeFencedFenceSequence"),eM(i)?e_(e,s,"whitespace")(i):s(i))}(l)};function s(l){return null===l||eD(l)?(e.exit("codeFencedFence"),i.interrupt?t(l):e.check(ti,c,h)(l)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eD(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):eM(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),e_(e,u,"whitespace")(i)):96===i&&i===r?n(i):(e.consume(i),t)}(l))}function u(t){return null===t||eD(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||eD(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===r?n(i):(e.consume(i),t)}(t))}function c(t){return e.attempt(l,h,d)(t)}function d(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&eM(t)?e_(e,f,"linePrefix",o+1)(t):f(t)}function f(t){return null===t||eD(t)?e.check(ti,c,h)(t):(e.enter("codeFlowValue"),function t(n){return null===n||eD(n)?(e.exit("codeFlowValue"),f(n)):(e.consume(n),t)}(t))}function h(n){return e.exit("codeFenced"),t(n)}}},to={name:"codeIndented",tokenize:function(e,t,n){return function(t){return e.enter("codeIndented"),e$(e,function t(n){return null===n?r(n):eD(n)?e.attempt(ta,t,r)(n):(e.enter("codeFlowValue"),function n(r){return null===r||eD(r)?(e.exit("codeFlowValue"),t(r)):(e.consume(r),n)}(n))},n,"linePrefix",4,4)(t)};function r(n){return e.exit("codeIndented"),t(n)}}},ta={partial:!0,tokenize:function(e,t,n){let r=this;return i;function i(o){return r.parser.lazy[r.now().line]?n(o):eD(o)?(e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),i):e$(e,t,l,"linePrefix",4,4)(o)}function l(e){return eD(e)?i(e):n(e)}}};function ts(e,t,n,r,i,l,o,a,s){let u=s||1/0,c=0;return function(t){return 60===t?(e.enter(r),e.enter(i),e.enter(l),e.consume(t),e.exit(l),d):null===t||32===t||41===t||eT(t)?n(t):(e.enter(r),e.enter(o),e.enter(a),e.enter("chunkString",{contentType:"string"}),h(t))};function d(n){return 62===n?(e.enter(l),e.consume(n),e.exit(l),e.exit(i),e.exit(r),t):(e.enter(a),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(a),d(t)):null===t||60===t||eD(t)?n(t):(e.consume(t),92===t?f:p)}function f(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function h(i){return!c&&(null===i||41===i||eL(i))?(e.exit("chunkString"),e.exit(a),e.exit(o),e.exit(r),t(i)):c<u&&40===i?(e.consume(i),c++,h):41===i?(e.consume(i),c--,h):null===i||32===i||40===i||eT(i)?n(i):(e.consume(i),92===i?m:h)}function m(t){return 40===t||41===t||92===t?(e.consume(t),h):h(t)}}function tu(e,t,n,r,i,l){let o,a=this,s=0;return function(t){return e.enter(r),e.enter(i),e.consume(t),e.exit(i),e.enter(l),u};function u(d){return s>999||null===d||91===d||93===d&&!o||94===d&&!s&&"_hiddenFootnoteSupport"in a.parser.constructs?n(d):93===d?(e.exit(l),e.enter(i),e.consume(d),e.exit(i),e.exit(r),t):eD(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),c(d))}function c(t){return null===t||91===t||93===t||eD(t)||s++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!eM(t)),92===t?d:c)}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}}function tc(e,t,n,r,i,l){let o;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,a):n(t)};function a(n){return n===o?(e.enter(i),e.consume(n),e.exit(i),e.exit(r),t):(e.enter(l),s(n))}function s(t){return t===o?(e.exit(l),a(o)):null===t?n(t):eD(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e_(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||eD(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?c:u)}function c(t){return t===o||92===t?(e.consume(t),u):u(t)}}function td(e,t){let n;return function r(i){return eD(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),n=!0,r):eM(i)?e_(e,r,n?"linePrefix":"lineSuffix")(i):t(i)}}function tp(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let tf={partial:!0,tokenize:function(e,t,n){return function(t){return eL(t)?td(e,r)(t):n(t)};function r(t){return tc(e,i,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return eM(t)?e_(e,l,"whitespace")(t):l(t)}function l(e){return null===e||eD(e)?t(e):n(e)}}},th=["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"],tm=["pre","script","style","textarea"],tg={partial:!0,tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(eW,t,n)}}},ty={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&&eS(e,0,e.length,n),e},resolveTo:function(e,t){let n,r,i,l=e.length,o=0;for(;l--;){let t=e[l][1];if(n){if("link"===t.type||"labelLink"===t.type&&t._inactive)break;"enter"===e[l][0]&&"labelLink"===t.type&&(t._inactive=!0)}else if(r){if("enter"===e[l][0]&&("labelImage"===t.type||"labelLink"===t.type)&&!t._balanced&&(n=l,"labelLink"!==t.type)){o=2;break}}else"labelEnd"===t.type&&(r=l)}let a={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},s={type:"label",start:{...e[n][1].start},end:{...e[r][1].end}},u={type:"labelText",start:{...e[n+o+2][1].end},end:{...e[r-2][1].start}};return i=ej(i=[["enter",a,t],["enter",s,t]],e.slice(n+1,n+o+3)),i=ej(i,[["enter",u,t]]),i=ej(i,e6(t.parser.constructs.insideSpan.null,e.slice(n+o+4,r-3),t)),i=ej(i,[["exit",u,t],e[r-2],e[r-1],["exit",s,t]]),i=ej(i,e.slice(r+1)),i=ej(i,[["exit",a,t]]),eS(e,n,e.length,i),e},tokenize:function(e,t,n){let r,i,l=this,o=l._labelStarts;if(o){for(;o.length>0&&o[o.length-1]._balanced;)o.pop();r=o[o.length-1]}return function(t){return r?r._inactive?c(t):(i=l.parser.defined.includes(tp(l.sliceSerialize({start:r.end,end:l.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),a):n(t)};function a(t){return 40===t?e.attempt(tx,u,i?u:c)(t):91===t?e.attempt(tv,u,i?s:c)(t):i?u(t):c(t)}function s(t){return e.attempt(tb,u,c)(t)}function u(e){return o.pop(),t(e)}function c(e){return r._balanced=!0,n(e)}}},tx={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 eL(t)?td(e,i)(t):i(t)}function i(t){return 41===t?u(t):ts(e,l,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function l(t){return eL(t)?td(e,a)(t):u(t)}function o(e){return n(e)}function a(t){return 34===t||39===t||40===t?tc(e,s,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function s(t){return eL(t)?td(e,u)(t):u(t)}function u(r){return 41===r?(e.enter("resourceMarker"),e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},tv={tokenize:function(e,t,n){let r=this;return function(t){return tu.call(r,e,i,l,"reference","referenceMarker","referenceString")(t)};function i(e){return r.parser.defined.includes(tp(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)}function l(e){return n(e)}}},tb={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)}}},tk={name:"labelStartImage",resolveAll:ty.resolveAll,tokenize:function(e,t,n){let r,i=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),l};function l(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),r=e.exit("labelImage"),o):n(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):(i._labelStarts=i._labelStarts||[],i._labelStarts.push(r),t(e))}}},tw={name:"labelStartLink",resolveAll:ty.resolveAll,tokenize:function(e,t,n){let r,i=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),r=e.exit("labelLink"),l};function l(e){return 94===e&&"_hiddenFootnoteSupport"in i.parser.constructs?n(e):(i._labelStarts=i._labelStarts||[],i._labelStarts.push(r),t(e))}}},tS={name:"lineEnding",tokenize:function(e,t){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e_(e,t,"linePrefix")}}},tj={name:"thematicBreak",tokenize:function(e,t,n){let r,i=0;return function(l){var o;return e.enter("thematicBreak"),r=o=l,function l(o){return o===r?(e.enter("thematicBreakSequence"),function t(n){return n===r?(e.consume(n),i++,t):(e.exit("thematicBreakSequence"),eM(n)?e_(e,l,"whitespace")(n):l(n))}(o)):i>=3&&(null===o||eD(o))?(e.exit("thematicBreak"),t(o)):n(o)}(o)}}},tC={continuation:{tokenize:function(e,t,n){let r=this;return r.containerState._closeFlow=void 0,e.check(eW,function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,e_(e,t,"listItemIndent",r.containerState.size+1)(n)},function(n){return r.containerState.furtherBlankLines||!eM(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(tE,t,i)(n))});function i(i){return r.containerState._closeFlow=!0,r.interrupt=void 0,e_(e,e.attempt(tC,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],l=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=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:eA(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(tj,n,a)(t):a(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return eA(i)&&++o<10?(e.consume(i),t):(!r.interrupt||o<2)&&(r.containerState.marker?i===r.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),a(i)):n(i)}(t)}return n(t)};function a(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(eW,r.interrupt?n:s,e.attempt(tz,c,u))}function s(e){return r.containerState.initialBlankLine=!0,l++,c(e)}function u(t){return eM(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),c):n(t)}function c(n){return r.containerState.size=l+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}}},tz={partial:!0,tokenize:function(e,t,n){let r=this;return e_(e,function(e){let i=r.events[r.events.length-1];return!eM(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):n(e)},"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},tE={partial:!0,tokenize:function(e,t,n){let r=this;return e_(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)}},tN={name:"setextUnderline",resolveTo:function(e,t){let n,r,i,l=new eU,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&l.add(o,1,[]),i||"definition"!==e[o][1].type||(i=o);let a={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[r][1].type="setextHeadingText",i?(l.add(r,0,[["enter",a,t]]),l.add(i+1,0,[["exit",e[n][1],t]]),e[n][1].end={...e[i][1].end}):e[n][1]=a,l.add(e.length,0,[["exit",a,t]]),l.consume(e),e},tokenize:function(e,t,n){let r,i=this;return function(t){var o;let a,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){a="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),r=t,o=t,e.enter("setextHeadingLineSequence"),function t(n){return n===r?(e.consume(n),t):(e.exit("setextHeadingLineSequence"),eM(n)?e_(e,l,"lineSuffix")(n):l(n))}(o)):n(t)};function l(r){return null===r||eD(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}}};e.s(["attentionMarkers",0,{null:[42,95]},"contentInitial",0,{91:{name:"definition",tokenize:function(e,t,n){let r,i=this;return function(t){var r;return e.enter("definition"),r=t,tu.call(i,e,l,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(r)};function l(t){return(r=tp(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):n(t)}function o(t){return eL(t)?td(e,a)(t):a(t)}function a(t){return ts(e,s,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(tf,u,u)(t)}function u(t){return eM(t)?e_(e,c,"whitespace")(t):c(t)}function c(l){return null===l||eD(l)?(e.exit("definition"),i.parser.defined.push(r),t(l)):n(l)}}}},"disable",0,{null:[]},"document",0,{42:tC,43:tC,45:tC,48:tC,49:tC,50:tC,51:tC,52:tC,53:tC,54:tC,55:tC,56:tC,57:tC,62:e8},"flow",0,{35:{name:"headingAtx",resolve:function(e,t){let n=e.length-2,r=3;if("whitespace"===e[3][1].type&&(r+=2),n-2>r&&"whitespace"===e[n][1].type&&(n-=2),"atxHeadingSequence"===e[n][1].type&&(r===n-1||n-4>r&&"whitespace"===e[n-2][1].type)&&(n-=r+1===n?2:4),n>r){let i={type:"atxHeadingText",start:e[r][1].start,end:e[n][1].end},l={type:"chunkText",start:e[r][1].start,end:e[n][1].end,contentType:"text"};eS(e,r,n-r+1,[["enter",i,t],["enter",l,t],["exit",l,t],["exit",i,t]])}return e},tokenize:function(e,t,n){let r=0;return function(i){var l;return e.enter("atxHeading"),l=i,e.enter("atxHeadingSequence"),function i(l){return 35===l&&r++<6?(e.consume(l),i):null===l||eL(l)?(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||eD(r)?(e.exit("atxHeading"),t(r)):eM(r)?e_(e,n,"whitespace")(r):(e.enter("atxHeadingText"),function t(r){return null===r||35===r||eL(r)?(e.exit("atxHeadingText"),n(r)):(e.consume(r),t)}(r))}(l)):n(l)}(l)}}},42:tj,45:[tN,tj],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,l,o,a,s=this;return function(t){var n;return n=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(n),u};function u(o){return 33===o?(e.consume(o),c):47===o?(e.consume(o),i=!0,f):63===o?(e.consume(o),r=3,s.interrupt?t:I):ez(o)?(e.consume(o),l=String.fromCharCode(o),h):n(o)}function c(i){return 45===i?(e.consume(i),r=2,d):91===i?(e.consume(i),r=5,o=0,p):ez(i)?(e.consume(i),r=4,s.interrupt?t:I):n(i)}function d(r){return 45===r?(e.consume(r),s.interrupt?t:I):n(r)}function p(r){let i="CDATA[";return r===i.charCodeAt(o++)?(e.consume(r),o===i.length)?s.interrupt?t:j:p:n(r)}function f(t){return ez(t)?(e.consume(t),l=String.fromCharCode(t),h):n(t)}function h(o){if(null===o||47===o||62===o||eL(o)){let a=47===o,u=l.toLowerCase();return!a&&!i&&tm.includes(u)?(r=1,s.interrupt?t(o):j(o)):th.includes(l.toLowerCase())?(r=6,a)?(e.consume(o),m):s.interrupt?t(o):j(o):(r=7,s.interrupt&&!s.parser.lazy[s.now().line]?n(o):i?function t(n){return eM(n)?(e.consume(n),t):w(n)}(o):g(o))}return 45===o||eE(o)?(e.consume(o),l+=String.fromCharCode(o),h):n(o)}function m(r){return 62===r?(e.consume(r),s.interrupt?t:j):n(r)}function g(t){return 47===t?(e.consume(t),w):58===t||95===t||ez(t)?(e.consume(t),y):eM(t)?(e.consume(t),g):w(t)}function y(t){return 45===t||46===t||58===t||95===t||eE(t)?(e.consume(t),y):x(t)}function x(t){return 61===t?(e.consume(t),v):eM(t)?(e.consume(t),x):g(t)}function v(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,b):eM(t)?(e.consume(t),v):function t(n){return null===n||34===n||39===n||47===n||60===n||61===n||62===n||96===n||eL(n)?x(n):(e.consume(n),t)}(t)}function b(t){return t===a?(e.consume(t),a=null,k):null===t||eD(t)?n(t):(e.consume(t),b)}function k(e){return 47===e||62===e||eM(e)?g(e):n(e)}function w(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||eD(t)?j(t):eM(t)?(e.consume(t),S):n(t)}function j(t){return 45===t&&2===r?(e.consume(t),N):60===t&&1===r?(e.consume(t),T):62===t&&4===r?(e.consume(t),D):63===t&&3===r?(e.consume(t),I):93===t&&5===r?(e.consume(t),P):eD(t)&&(6===r||7===r)?(e.exit("htmlFlowData"),e.check(tg,L,C)(t)):null===t||eD(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),j)}function C(t){return e.check(ti,z,L)(t)}function z(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),E}function E(t){return null===t||eD(t)?C(t):(e.enter("htmlFlowData"),j(t))}function N(t){return 45===t?(e.consume(t),I):j(t)}function T(t){return 47===t?(e.consume(t),l="",A):j(t)}function A(t){if(62===t){let n=l.toLowerCase();return tm.includes(n)?(e.consume(t),D):j(t)}return ez(t)&&l.length<8?(e.consume(t),l+=String.fromCharCode(t),A):j(t)}function P(t){return 93===t?(e.consume(t),I):j(t)}function I(t){return 62===t?(e.consume(t),D):45===t&&2===r?(e.consume(t),I):j(t)}function D(t){return null===t||eD(t)?(e.exit("htmlFlowData"),L(t)):(e.consume(t),D)}function L(n){return e.exit("htmlFlow"),t(n)}}},61:tN,95:tj,96:tl,126:tl},"flowInitial",0,{[-2]:to,[-1]:to,32:to},"insideSpan",0,{null:[e9,eG]},"string",0,{38:tr,92:te},"text",0,{[-5]:tS,[-4]:tS,[-3]:tS,33:tk,38:tr,42:e9,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 ez(t)?(e.consume(t),l):64===t?n(t):a(t)}function l(t){return 43===t||45===t||46===t||eE(t)?(r=1,function t(n){return 58===n?(e.consume(n),r=0,o):(43===n||45===n||46===n||eE(n))&&r++<32?(e.consume(n),t):(r=0,a(n))}(t)):a(t)}function o(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||eT(r)?n(r):(e.consume(r),o)}function a(t){return 64===t?(e.consume(t),s):eN(t)?(e.consume(t),a):n(t)}function s(i){return eE(i)?function i(l){return 46===l?(e.consume(l),r=0,s):62===l?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(l),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(l){if((45===l||eE(l))&&r++<63){let n=45===l?t:i;return e.consume(l),n}return n(l)}(l)}(i):n(i)}}},{name:"htmlText",tokenize:function(e,t,n){let r,i,l,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),a};function a(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),b):63===t?(e.consume(t),x):ez(t)?(e.consume(t),w):n(t)}function s(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,f):ez(t)?(e.consume(t),y):n(t)}function u(t){return 45===t?(e.consume(t),p):n(t)}function c(t){return null===t?n(t):45===t?(e.consume(t),d):eD(t)?(l=c,A(t)):(e.consume(t),c)}function d(t){return 45===t?(e.consume(t),p):c(t)}function p(e){return 62===e?T(e):45===e?d(e):c(e)}function f(t){let r="CDATA[";return t===r.charCodeAt(i++)?(e.consume(t),i===r.length?h:f):n(t)}function h(t){return null===t?n(t):93===t?(e.consume(t),m):eD(t)?(l=h,A(t)):(e.consume(t),h)}function m(t){return 93===t?(e.consume(t),g):h(t)}function g(t){return 62===t?T(t):93===t?(e.consume(t),g):h(t)}function y(t){return null===t||62===t?T(t):eD(t)?(l=y,A(t)):(e.consume(t),y)}function x(t){return null===t?n(t):63===t?(e.consume(t),v):eD(t)?(l=x,A(t)):(e.consume(t),x)}function v(e){return 62===e?T(e):x(e)}function b(t){return ez(t)?(e.consume(t),k):n(t)}function k(t){return 45===t||eE(t)?(e.consume(t),k):function t(n){return eD(n)?(l=t,A(n)):eM(n)?(e.consume(n),t):T(n)}(t)}function w(t){return 45===t||eE(t)?(e.consume(t),w):47===t||62===t||eL(t)?S(t):n(t)}function S(t){return 47===t?(e.consume(t),T):58===t||95===t||ez(t)?(e.consume(t),j):eD(t)?(l=S,A(t)):eM(t)?(e.consume(t),S):T(t)}function j(t){return 45===t||46===t||58===t||95===t||eE(t)?(e.consume(t),j):function t(n){return 61===n?(e.consume(n),C):eD(n)?(l=t,A(n)):eM(n)?(e.consume(n),t):S(n)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),r=t,z):eD(t)?(l=C,A(t)):eM(t)?(e.consume(t),C):(e.consume(t),E)}function z(t){return t===r?(e.consume(t),r=void 0,N):null===t?n(t):eD(t)?(l=z,A(t)):(e.consume(t),z)}function E(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||eL(t)?S(t):(e.consume(t),E)}function N(e){return 47===e||62===e||eL(e)?S(e):n(e)}function T(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function A(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),P}function P(t){return eM(t)?e_(e,I,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),l(t)}}}],91:tw,92:[{name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return eD(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},te],93:ty,95:e9,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,l=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(n){return 96===n?(e.consume(n),l++,t):(e.exit("codeTextSequence"),o(n))}(t)};function o(s){return null===s?n(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),o):96===s?(i=e.enter("codeTextSequence"),r=0,function n(o){return 96===o?(e.consume(o),r++,n):r===l?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",a(o))}(s)):eD(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):(e.enter("codeTextData"),a(s))}function a(t){return null===t||32===t||96===t||eD(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),a)}}}}],4127);var tT=e.i(4127);let tA=/[\0\t\n\r]/g;function tP(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 tI=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function tD(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){let e=n.charCodeAt(1),t=120===e||88===e;return tP(n.slice(t?2:1),t?16:10)}return tn(n)||e}let tL={}.hasOwnProperty;function tM(e){return{line:e.line,column:e.column,offset:e.offset}}function tO(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+G({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+G({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+G({start:t.start,end:t.end})+") is still open")}function tR(e){let t=this;t.parser=function(n){var r,i;let l,o,a,s;return"object"==typeof(r={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=r,r=void 0),(function(e){let t={afterExit:[],beforeEnter:[],transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(x),autolinkProtocol:c,autolinkEmail:c,atxHeading:i(m),blockQuote:i(function(){return{type:"blockquote",children:[],position:void 0}}),characterEscape:c,characterReference:c,codeFenced:i(h),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:i(h,l),codeText:i(function(){return{type:"inlineCode",value:"",position:void 0}},l),codeTextData:c,data:c,codeFlowValue:c,definition:i(function(){return{type:"definition",identifier:"",label:null,title:null,url:"",position:void 0}}),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:i(function(){return{type:"emphasis",children:[],position:void 0}}),hardBreakEscape:i(g),hardBreakTrailing:i(g),htmlFlow:i(y,l),htmlFlowData:c,htmlText:i(y,l),htmlTextData:c,image:i(function(){return{type:"image",title:null,url:"",alt:null,position:void 0}}),label:l,link:i(x),listItem:i(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[],position:void 0}}),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:i(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:i(v),paragraph:i(function(){return{type:"paragraph",children:[],position:void 0}}),reference:function(){this.data.referenceType="collapsed"},referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:i(m),strong:i(function(){return{type:"strong",children:[],position:void 0}}),thematicBreak:i(function(){return{type:"thematicBreak",position:void 0}})},exit:{atxHeading:a(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:a(),autolinkEmail:function(e){d.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){d.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:a(),characterEscapeValue:d,characterReferenceMarkerHexadecimal:f,characterReferenceMarkerNumeric:f,characterReferenceValue:function(e){let t,n=this.sliceSerialize(e),r=this.data.characterReferenceType;r?(t=tP(n,"characterReferenceMarkerNumeric"===r?10:16),this.data.characterReferenceType=void 0):t=tn(n);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=tM(e.end)},codeFenced:a(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:d,codeIndented:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:d,data:d,definition:a(),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=tp(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:a(),hardBreakEscape:a(p),hardBreakTrailing:a(p),htmlFlow:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:d,htmlText:a(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:d,image:a(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(tI,tD),n.identifier=tp(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=tM(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(c.call(this,e),d.call(this,e))},link:a(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:a(),listOrdered:a(),listUnordered:a(),paragraph:a(),referenceString:function(e){let t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,n.identifier=tp(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:a(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:a(),thematicBreak:a()}};!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(tL.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"afterExit":case"beforeEnter":{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 i={type:"root",children:[],position:void 0},a={stack:[i],tokenStack:[],config:t,enter:o,exit:s,buffer:l,resume:u,data:n},c=[],d=[],p=-1;for(;++p<e.length;)d.push(e[p]),("listOrdered"===e[p][1].type||"listUnordered"===e[p][1].type)&&("enter"===e[p][0]?c.push(d.length-1):function(e,t){let n,r,i,l,o=e.length-1,a=t-1,s=-1,u=!1,c=[];for(;++a<=o;){let t=e[a];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,l=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||l||s||i||(i=a),l=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:l=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let l=a;for(r=void 0;l--;){let t=e[l];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;r&&(e[r][1].type="lineEndingBlank",u=!0),t[1].type="lineEnding",r=l}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}i&&(!r||i<r)&&(n._spread=!0),n.end=Object.assign({},r?e[r][1].start:t[1].end),c.push({at:r||a,event:["exit",n,t[2]]})}if("listItemPrefix"===t[1].type){let e={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=e,c.push({at:a,event:["enter",e,t[2]]}),i=void 0,l=!0}}}let d=e.splice(t),p=0;for(a=-1;++a<d.length;){for(;p<c.length&&c[p].at===t+a;)e.push(c[p++].event);e.push(d[a])}e[t][1]._spread=u}(d,c.pop()));for(e=d,p=-1;++p<e.length;){let n=t[e[p][0]];"enter"===e[p][0]&&t.beforeEnter.length>0&&r(t.beforeEnter,{...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1]),tL.call(n,e[p][1].type)&&n[e[p][1].type].call({...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1]),"exit"===e[p][0]&&t.afterExit.length>0&&r(t.afterExit,{...a,sliceSerialize:e[p][2].sliceSerialize},e[p][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||tO).call(a,void 0,e[0])}for(i.position={start:tM(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:tM(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},p=-1;++p<t.transforms.length;)i=t.transforms[p](i)||i;return i};function r(e,t,n){let r=-1;for(;++r<e.length;)e[r].call(t,n)}function i(e,t){return function(n){o.call(this,e(n),n),t&&t.call(this,n)}}function l(){this.stack.push({type:"fragment",children:[]})}function o(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:tM(t.start),end:void 0}}function a(e){return function(t){e&&e.call(this,t),s.call(this,t)}}function s(e,t){let n=this.stack.pop(),r=this.tokenStack.pop();if(!r)throw Error("Cannot close `"+e.type+"` ("+G({start:e.start,end:e.end})+"): it’s not open");r[0].type!==e.type&&(t?t.call(this,e,r[0]):(r[1]||tO).call(this,e,r[0])),n.position.end=tM(e.end)}function u(){var e;return e=this.stack.pop(),ek(e,"boolean"!=typeof eb.includeImageAlt||eb.includeImageAlt,"boolean"!=typeof eb.includeHtml||eb.includeHtml)}function c(e){let t=this.stack[this.stack.length-1].children,n=t[t.length-1];n&&"text"===n.type||((n={type:"text",value:"",position:void 0}).position={start:tM(e.start),end:void 0},t.push(n)),this.stack.push(n)}function d(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=tM(e.end)}function p(){this.data.atHardBreak=!0}function f(e){this.data.characterReferenceType=e.type}function h(){return{type:"code",lang:null,meta:null,value:"",position:void 0}}function m(){return{type:"heading",depth:0,children:[],position:void 0}}function g(){return{type:"break",position:void 0}}function y(){return{type:"html",value:"",position:void 0}}function x(){return{type:"link",title:null,url:"",children:[],position:void 0}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[],position:void 0}}})(i)(function(e){for(;!eJ(e););return e}((function(e){let t={constructs:function(e){let t={},n=-1;for(;++n<e.length;)!function(e,t){let n;for(n in t){let r,i=(eC.call(e,n)?e[n]:void 0)||(e[n]={}),l=t[n];if(l)for(r in l){eC.call(i,r)||(i[r]=[]);let e=l[r];!function(e,t){let n=-1,r=[];for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);eS(e,0,0,r)}(i[r],Array.isArray(e)?e:e?[e]:[])}}}(t,e[n]);return t}([tT,...(e||{}).extensions||[]]),content:n(eB),defined:[],document:n(eH),flow:n(eY),lazy:{},string:n(e0),text:n(e1)};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={},l=[],o=[],a=[],s={attempt:h(function(e,t){m(e,t.from)}),check:h(f),consume:function(e){eD(e)?(r.line++,r.column=1,r.offset+=-3===e?2:1,g()):-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=p(),u.events.push(["enter",n,u]),a.push(n),n},exit:function(e){let t=a.pop();return t.end=p(),u.events.push(["exit",t,u]),t},interrupt:h(f,{interrupt:!0})},u={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let n,r=-1,i=[];for(;++r<e.length;){let l,o=e[r];if("string"==typeof o)l=o;else switch(o){case -5:l="\r";break;case -4:l="\n";break;case -3:l="\r\n";break;case -2:l=t?" ":" ";break;case -1:if(!t&&n)continue;l=" ";break;default:l=String.fromCharCode(o)}n=-2===o,i.push(l)}return i.join("")}(d(e),t)},sliceStream:d,write:function(e){return(o=ej(o,e),function(){for(;r._index<o.length;){let t=o[r._index];if("string"==typeof t){let n=r._index;for(r._bufferIndex<0&&(r._bufferIndex=0);r._index===n&&r._bufferIndex<t.length;){var e;e=t.charCodeAt(r._bufferIndex),c=c(e)}}else c=c(t)}}(),null!==o[o.length-1])?[]:(m(t,0),u.events=e6(l,u.events,u),u.events)}},c=t.tokenize.call(u,s);return t.resolveAll&&l.push(t),u;function d(e){return function(e,t){let n,r=t.start._index,i=t.start._bufferIndex,l=t.end._index,o=t.end._bufferIndex;if(r===l)n=[e[r].slice(i,o)];else{if(n=e.slice(r,l),i>-1){let e=n[0];"string"==typeof e?n[0]=e.slice(i):n.shift()}o>0&&n.push(e[l].slice(0,o))}return n}(o,e)}function p(){let{_bufferIndex:e,_index:t,line:n,column:i,offset:l}=r;return{_bufferIndex:e,_index:t,line:n,column:i,offset:l}}function f(e,t){t.restore()}function h(e,t){return function(n,i,l){var o;let c,d,f,h;return Array.isArray(n)?m(n):"tokenize"in n?m([n]):(o=n,function(e){let t=null!==e&&o[e],n=null!==e&&o.null;return m([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(n)?n:n?[n]:[]])(e)});function m(e){return(c=e,d=0,0===e.length)?l:y(e[d])}function y(e){return function(n){let i,l,o,c,d;return(i=p(),l=u.previous,o=u.currentConstruct,c=u.events.length,d=Array.from(a),h={from:c,restore:function(){r=i,u.previous=l,u.currentConstruct=o,u.events.length=c,a=d,g()}},f=e,e.partial||(u.currentConstruct=e),e.name&&u.parser.constructs.disable.null.includes(e.name))?v(n):e.tokenize.call(t?Object.assign(Object.create(u),t):u,s,x,v)(n)}}function x(t){return e(f,h),i}function v(e){return(h.restore(),++d<c.length)?y(c[d]):l}}}function m(e,t){e.resolveAll&&!l.includes(e)&&l.push(e),e.resolve&&eS(u.events,t,u.events.length-t,e.resolve(u.events.slice(t),u)),e.resolveTo&&(u.events=e.resolveTo(u.events,u))}function g(){r.line in i&&r.column<2&&(r.column=i[r.line],r.offset+=i[r.line]-1)}}(t,e,n)}}})(i).document().write((o=1,a="",s=!0,function(e,t,n){e=a+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e));let r=[],i=0;for(a="",s&&(65279===e.charCodeAt(0)&&i++,s=void 0);i<e.length;){tA.lastIndex=i;let t=tA.exec(e),n=t&&void 0!==t.index?t.index:e.length,s=e.charCodeAt(n);if(!t){a=e.slice(i);break}if(10===s&&i===n&&l)r.push(-3),l=void 0;else switch(l&&(r.push(-5),l=void 0),i<n&&(r.push(e.slice(i,n)),o+=n-i),s){case 0:r.push(65533),o++;break;case 9:{let e=4*Math.ceil(o/4);for(r.push(-2);o++<e;)r.push(-1);break}case 10:r.push(-4),o=1;break;default:l=!0,o=1}i=n+1}return n&&(l&&r.push(-5),a&&r.push(a),r.push(null)),r})(n,r,!0))))}}let{defineProperty:tF}=Object,t_="object"==typeof self?self:globalThis,t$=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new t_[e](t)},tB=e=>{var t;let n,r;return(t=new Map,n=(e,n)=>(t.set(n,e),e),r=i=>{if(t.has(i))return t.get(i);let[l,o]=e[i];switch(l){case 0:case -1:return n(o,i);case 1:{let e=n([],i);for(let t of o)e.push(r(t));return e}case 2:{let e=n({},i);for(let[t,n]of o){let i=r(t),l=r(n);"__proto__"===i?tF(e,i,{value:l,configurable:!0,enumerable:!0,writable:!0}):e[i]=l}return e}case 3:return n(new Date(o),i);case 4:{let{source:e,flags:t}=o;return n(new RegExp(e,t),i)}case 5:{let e=n(new Map,i);for(let[t,n]of o)e.set(r(t),r(n));return e}case 6:{let e=n(new Set,i);for(let t of o)e.add(r(t));return e}case 7:{let{name:e,message:t}=o;return n("function"==typeof t_[e]?t$(e,t):Error(t),i)}case 8:return n(BigInt(o),i);case"BigInt":return n(Object(BigInt(o)),i);case"ArrayBuffer":return n(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return n(new DataView(e),o)}case"-0":return -0}return n(t$(l,o),i)})(0)},{toString:tU}={},{keys:tq,is:tH}=Object,tV=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let n=tU.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]:e instanceof Error?[7,e.name||"Error"]:[2,n]},tW=([e,t])=>0===e&&("function"===t||"symbol"===t),tK=(e,{json:t,lossy:n}={})=>{var r,i,l;let o,a,s=[];return(r=!(t||n),i=!!t,l=new Map,o=(e,t)=>{let n=s.push(e)-1;return l.set(t,n),n},a=e=>{if(l.has(e))return l.get(e);let[t,n]=tV(e);switch(t){case 0:{let i=e;switch(n){case"bigint":t=8,i=e.toString();break;case"number":if(!e&&tH(e,-0))return s.push(["-0"])-1;break;case"function":case"symbol":if(r)throw TypeError("unable to serialize "+n);i=null;break;case"undefined":return o([-1],e)}return o([t,i],e)}case 1:{if(n){let t=e;return"DataView"===n?t=new Uint8Array(e.buffer):"ArrayBuffer"===n&&(t=new Uint8Array(e)),o([n,[...t]],e)}let r=[],i=o([t,r],e);for(let t of e)r.push(a(t));return i}case 2:{if(n)switch(n){case"BigInt":return o([n,e.toString()],e);case"Boolean":case"Number":case"String":return o([n,e.valueOf()],e)}if(i&&"toJSON"in e)return a(e.toJSON());let l=[],s=o([t,l],e);for(let t of tq(e))(r||!tW(tV(e[t])))&&l.push([a(t),a(e[t])]);return s}case 3:return o([t,isNaN(e.getTime())?"":e.toISOString()],e);case 4:{let{source:n,flags:r}=e;return o([t,{source:n,flags:r}],e)}case 5:{let n=[],i=o([t,n],e);for(let[t,i]of e)(r||!(tW(tV(t))||tW(tV(i))))&&n.push([a(t),a(i)]);return i}case 6:{let n=[],i=o([t,n],e);for(let t of e)(r||!tW(tV(t)))&&n.push(a(t));return i}}let{message:u}=e;return o([t,{name:n,message:u}],e)})(e),s},tQ="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?tB(tK(e,t)):structuredClone(e):(e,t)=>tB(tK(e,t));function tJ(e){let t=[],n=-1,r=0,i=0;for(;++n<e.length;){let l=e.charCodeAt(n),o="";if(37===l&&eE(e.charCodeAt(n+1))&&eE(e.charCodeAt(n+2)))i=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(o=String.fromCharCode(l));else if(l>55295&&l<57344){let t=e.charCodeAt(n+1);l<56320&&t>56319&&t<57344?(o=String.fromCharCode(l,t),i=1):o="�"}else o=String.fromCharCode(l);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 tZ(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 tX(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let tY=function(e){var t,n;if(null==e)return t0;if("function"==typeof e)return tG(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],n=-1;for(;++n<e.length;)t[n]=tY(e[n]);return tG(function(...e){let n=-1;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1})}(e):(t=e,tG(function(e){let n;for(n in t)if(e[n]!==t[n])return!1;return!0}))}if("string"==typeof e){return n=e,tG(function(e){return e&&e.type===n})}throw Error("Expected function, string, or object as test")};function tG(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 t0(){return!0}let t1=[],t2="skip";function t4(e,t,n,r){let i,l,o,a;if(!e||"object"!=typeof e)throw Error("Unexpected value `"+e+"` for `tree`, expected node");let s=!0;if("function"==typeof n||n&&"object"==typeof n?(i=t,l=n,r&&(s=!1)):(l=t,n&&(s=!1)),"function"==typeof l)o=l;else if(l&&"object"==typeof l){if(null===l.enter||void 0===l.enter);else if("function"==typeof l.enter)o=l.enter;else throw Error("Unexpected value `"+l.enter+"` for `visitors.enter`, expected optional visitor");if("function"==typeof l.exit)a=l.exit;else throw Error("Unexpected value `"+l.exit+"` for `visitors.exit`, expected visitor (pass a visitor directly if you only want an enter visitor)")}else throw Error("Unexpected value `"+l+"` for `enter` or `visitors`, expected visitor or object with visitors");let u=tY(i),c=s?1:-1;(function e(t,n,r){let l=t&&"object"==typeof t?t:{};if("string"==typeof l.type){let e="string"==typeof l.tagName?l.tagName:"string"==typeof l.name?l.name:void 0;Object.defineProperty(d,"name",{value:"node ("+t.type+(e?"<"+e+">":"")+")"})}return d;function d(){let l=!i||u(t,n,r[r.length-1]||void 0),d=t1;if(o&&l&&!1===(d=t5(o(t,r,n)))[0])return d;if("children"in t&&t.children&&t.children&&d[0]!==t2){let n=(s?-1:t.children.length)+c,i=[...r,t];for(;n>-1&&n<t.children.length;){let r=e(t.children[n],n,i)();if(!1===r[0])return r;n="number"==typeof r[1]?r[1]:n+c}}if(a&&l){let e=t5(a(t,r,n));if(e[0]===t2)throw Error("Unexpected value `"+e[0]+"` from `exit`, expected `CONTINUE`, `EXIT`, index, or nothing");if(!1===e[0]||"number"==typeof e[1])return e}return d}})(e,void 0,[])()}function t5(e){return Array.isArray(e)?e:"number"==typeof e?[!0,e]:null==e?t1:[e]}function t3(e,t,n,r){var i;let l,o,a;"function"==typeof n||n&&"object"==typeof n?(l=t,o=n,a=r):(o=t,a=n),"function"==typeof o?t4(e,l,t6(o),a):t4(e,l,(i=o)&&"object"==typeof i?{enter:"function"==typeof i.enter?t6(i.enter):i.enter,exit:"function"==typeof i.exit?t6(i.exit):i.exit}:i,a)}function t6(e){return function(t,n,r){return e(t,r,n[n.length-1])}}function t9(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),l=i[0];l&&"text"===l.type?l.value="["+l.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=r:i.push({type:"text",value:r}),i}function t7(e){let t=e.spread;return null==t?e.children.length>1:t}function t8(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 ne={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 l={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(l.data={meta:t.meta}),e.patch(t,l),l={type:"element",tagName:"pre",properties:{},children:[l=e.applyData(t,l)]},e.patch(t,l),l},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(),l=tJ(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),a=e.footnoteCounts.get(i);void 0===a?(a=0,e.footnoteOrder.push(i),n=e.footnoteOrder.length):n=o+1,a+=1,e.footnoteCounts.set(i,a);let s={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+l,id:r+"fnref-"+l+(a>1?"-"+a:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(n)}]};e.patch(t,s);let u={type:"element",tagName:"sup",properties:{},children:[s]};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 t9(e,t);let i={src:tJ(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,l),e.applyData(t,l)},image:function(e,t){let n={src:tJ(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 t9(e,t);let i={href:tJ(r.url||"")};null!==r.title&&void 0!==r.title&&(i.title=r.title);let l={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)},link:function(e,t){let n={href:tJ(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=t7(n[r])}return t}(n):t7(t),l={},o=[];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:[]}),l.className=["task-list-item"]}let a=-1;for(;++a<r.length;){let e=r[a];(i||0!==a||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let s=r[r.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&o.push({type:"text",value:"\n"});let u={type:"element",tagName:"li",properties:l,children:o};return e.patch(t,u),e.applyData(t,u)},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 l={type:"element",tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)};return e.patch(t,l),e.applyData(t,l)},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)},l=X(t.children[1]),o=Z(t.children[t.children.length-1]);l&&o&&(r.position={start:l,end:o}),i.push(r)}let l={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,l),e.applyData(t,l)},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",l=n&&"table"===n.type?n.align:void 0,o=l?l.length:t.children.length,a=-1,s=[];for(;++a<o;){let n=t.children[a],r={},o=l?l[a]:void 0;o&&(r.align=o);let u={type:"element",tagName:i,properties:r,children:[]};n&&(u.children=e.all(n),e.patch(n,u),u=e.applyData(n,u)),s.push(u)}let u={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,u),e.applyData(t,u)},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,l=[];for(;r;)l.push(t8(t.slice(i,r.index),i>0,!0),r[0]),i=r.index+r[0].length,r=n.exec(t);return l.push(t8(t.slice(i),i>0,!1)),l.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:nt,yaml:nt,definition:nt,footnoteDefinition:nt};function nt(){}let nn={}.hasOwnProperty,nr={};function ni(e,t){e.position&&(t.position=function(e){let t=X(e),n=Z(e);if(t&&n)return{start:t,end:n}}(e))}function nl(e,t){let n=t;if(e&&e.data){let t=e.data.hName,r=e.data.hChildren,i=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&&i&&Object.assign(n.properties,tQ(i)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function no(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 na(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function ns(e,t){let r,i,l,o,a=(r=t||nr,i=new Map,l=new Map,o={all:function(e){let t=[];if("children"in e){let n=e.children,r=-1;for(;++r<n.length;){let i=o.one(n[r],e);if(i){if(r&&"break"===n[r-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=na(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=na(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:nl,definitionById:i,footnoteById:l,footnoteCounts:new Map,footnoteOrder:[],handlers:{...ne,...r.handlers},one:function(e,t){let n=e.type,r=o.handlers[n];if(nn.call(o.handlers,n)&&r)return r(o,e,t);if(o.options.passThrough&&o.options.passThrough.includes(n)){if("children"in e){let{children:t,...n}=e,r=tQ(n);return r.children=o.all(e),r}return tQ(e)}return(o.options.unknownHandler||function(e,t){let n=t.data||{},r="value"in t&&!(nn.call(n,"hProperties")||nn.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)})(o,e,t)},options:r,patch:ni,wrap:no},t3(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?i:l,n=String(e.identifier).toUpperCase();t.has(n)||t.set(n,e)}}),o),s=a.one(e,void 0),u=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||tZ,r=e.options.footnoteBackLabel||tX,i=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},a=[],s=-1;for(;++s<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[s]);if(!i)continue;let l=e.all(i),o=String(i.identifier).toUpperCase(),u=tJ(o.toLowerCase()),c=0,d=[],p=e.footnoteCounts.get(o);for(;void 0!==p&&++c<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof n?n:n(s,c);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+u+(c>1?"-"+c:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(s,c),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let f=l[l.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(...d)}else l.push(...d);let h={type:"element",tagName:"li",properties:{id:t+"fn-"+u},children:e.wrap(l,!0)};e.patch(i,h),a.push(h)}if(0!==a.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...tQ(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(a,!0)},{type:"text",value:"\n"}]}}(a),c=Array.isArray(s)?{type:"root",children:s}:s||{type:"root",children:[]};return u&&(n(),c.children.push({type:"text",value:"\n"},u)),c}function nu(e,t){return e&&"run"in e?async function(n,r){let i=ns(n,{file:r,...t});await e.run(i,r)}:function(n,r){return ns(n,{file:r,...e||t})}}function nc(e){if(e)throw e}var nd=e.i(4100);function np(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)}let nf=function(e,t){let n;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');ny(e);let r=0,i=-1,l=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else i<0&&(n=!0,i=l+1);return i<0?"":e.slice(r,i)}if(t===e)return"";let o=-1,a=t.length-1;for(;l--;)if(47===e.codePointAt(l)){if(n){r=l+1;break}}else o<0&&(n=!0,o=l+1),a>-1&&(e.codePointAt(l)===t.codePointAt(a--)?a<0&&(i=l):(a=-1,i=o));return r===i?i=o:i<0&&(i=e.length),e.slice(r,i)},nh=function(e){let t;if(ny(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)},nm=function(e){let t;ny(e);let n=e.length,r=-1,i=0,l=-1,o=0;for(;n--;){let a=e.codePointAt(n);if(47===a){if(t){i=n+1;break}continue}r<0&&(t=!0,r=n+1),46===a?l<0?l=n:1!==o&&(o=1):l>-1&&(o=-1)}return l<0||r<0||0===o||1===o&&l===r-1&&l===i+1?"":e.slice(l,r)},ng=function(...e){var t;let n,r,i,l=-1;for(;++l<e.length;)ny(e[l]),e[l]&&(i=void 0===i?e[l]:i+"/"+e[l]);return void 0===i?".":(ny(t=i),n=47===t.codePointAt(0),0!==(r=function(e,t){let n,r,i="",l=0,o=-1,a=0,s=-1;for(;++s<=e.length;){if(s<e.length)n=e.codePointAt(s);else if(47===n)break;else n=47;if(47===n){if(o===s-1||1===a);else if(o!==s-1&&2===a){if(i.length<2||2!==l||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="",l=0):l=(i=i.slice(0,r)).length-1-i.lastIndexOf("/"),o=s,a=0;continue}}else if(i.length>0){i="",l=0,o=s,a=0;continue}}t&&(i=i.length>0?i+"/..":"..",l=2)}else i.length>0?i+="/"+e.slice(o+1,s):i=e.slice(o+1,s),l=s-o-1;o=s,a=0}else 46===n&&a>-1?a++:a=-1}return i}(t,!n)).length||n||(r="."),r.length>0&&47===t.codePointAt(t.length-1)&&(r+="/"),n?"/"+r:r)};function ny(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function nx(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let nv=["history","path","basename","stem","extname","dirname"];class nb{constructor(e){var t;let n,r;n=e?nx(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<nv.length;){let e=nv[i];e in n&&void 0!==n[e]&&null!==n[e]&&(this[e]="history"===e?[...n[e]]:n[e])}for(r in n)nv.includes(r)||(this[r]=n[r])}get basename(){return"string"==typeof this.path?nf(this.path):void 0}set basename(e){nw(e,"basename"),nk(e,"basename"),this.path=ng(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?nh(this.path):void 0}set dirname(e){nS(this.basename,"dirname"),this.path=ng(e||"",this.basename)}get extname(){return"string"==typeof this.path?nm(this.path):void 0}set extname(e){if(nk(e,"extname"),nS(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=ng(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){nx(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!nx(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)),nw(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?nf(this.path,this.extname):void 0}set stem(e){nw(e,"stem"),nk(e,"stem"),this.path=ng(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 r=new er(e,t,n);return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),r.fatal=!1,this.messages.push(r),r}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function nk(e,t){if(e&&e.includes("/"))throw Error("`"+t+"` cannot be a path: did not expect `/`")}function nw(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function nS(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let nj=function(e){let t=this.constructor.prototype,n=t[e],r=function(){return n.apply(r,arguments)};return Object.setPrototypeOf(r,t),r},nC={}.hasOwnProperty,nz=new class e extends nj{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(l,...o){let a=e[++n],s=-1;if(l)return void r(l);for(;++s<t.length;)(null===o[s]||void 0===o[s])&&(o[s]=t[s]);t=o,a?(function(e,t){let n;return function(...t){let l,o=e.length>t.length;o&&t.push(r);try{l=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(l&&l.then&&"function"==typeof l.then?l.then(i,r):l instanceof Error?r(l):i(l))};function r(e,...i){n||(n=!0,t(e,...i))}function i(e){r(null,e)}})(a,i)(...o):r(null,...o)}(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 t=new e,n=-1;for(;++n<this.attachers.length;){let e=this.attachers[n];t.use(...e)}return t.data((0,nd.default)(!0,{},this.namespace)),t}data(e,t){return"string"==typeof e?2==arguments.length?(nT("data",this.frozen),this.namespace[e]=t,this):nC.call(this.namespace,e)&&this.namespace[e]||void 0:e?(nT("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=nI(e),n=this.parser||this.Parser;return nE("parse",n),n(String(t),t)}process(e,t){let r=this;return this.freeze(),nE("process",this.parser||this.Parser),nN("process",this.compiler||this.Compiler),t?i(void 0,t):new Promise(i);function i(i,l){let o=nI(e),a=r.parse(o);function s(e,r){e||!r?l(e):i?i(r):(n(),t(void 0,r))}r.run(a,o,function(e,t,n){var i,l;if(e||!t||!n)return s(e);let o=r.stringify(t,n);"string"==typeof(i=o)||(l=i)&&"object"==typeof l&&"byteLength"in l&&"byteOffset"in l?n.value=o:n.result=o,s(e,n)})}}processSync(e){let t,r=!1;return this.freeze(),nE("processSync",this.parser||this.Parser),nN("processSync",this.compiler||this.Compiler),this.process(e,function(e,n){r=!0,nc(e),t=n}),nP("processSync","process",r),n(),t}run(e,t,r){nA(e),this.freeze();let i=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?l(void 0,r):new Promise(l);function l(l,o){n();let a=nI(t);i.run(e,a,function(t,i,a){let s=i||e;t?o(t):l?l(s):(n(),r(void 0,s,a))})}}runSync(e,t){let r,i=!1;return this.run(e,t,function(e,t){nc(e),r=t,i=!0}),nP("runSync","run",i),n(),r}stringify(e,t){this.freeze();let n=nI(t),r=this.compiler||this.Compiler;return nN("stringify",r),nA(e),r(e,n)}use(e,...t){let n=this.attachers,r=this.namespace;if(nT("use",this.frozen),null==e);else if("function"==typeof e)o(e,t);else if("object"==typeof e)Array.isArray(e)?l(e):i(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(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");l(e.plugins),e.settings&&(r.settings=(0,nd.default)(!0,r.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)!function(e){if("function"==typeof e)o(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...n]=e;o(t,n)}else i(e);else throw TypeError("Expected usable value, not `"+e+"`")}(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function o(e,t){let r=-1,i=-1;for(;++r<n.length;)if(n[r][0]===e){i=r;break}if(-1===i)n.push([e,...t]);else if(t.length>0){let[r,...l]=t,o=n[i][1];np(o)&&np(r)&&(r=(0,nd.default)(!0,o,r)),n[i]=[e,r,...l]}}}}().freeze();function nE(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function nN(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function nT(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 nA(e){if(!np(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function nP(e,t,n){if(!n)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function nI(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new nb(e)}let nD=[],nL={allowDangerousHtml:!0},nM=/^(https?|ircs?|mailto|xmpp)$/i,nO=[{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 nR(e){var n;let i,l,o,a,s,u=(i=(n=e).rehypePlugins||nD,l=n.remarkPlugins||nD,o=n.remarkRehypeOptions?{...n.remarkRehypeOptions,...nL}:nL,nz().use(tR).use(l).use(nu,o).use(i)),c=(a=e.children||"",s=new nb,"string"==typeof a?s.value=a:r(),s);return function(e,n){let i=n.allowedElements,l=n.allowElement,o=n.components,a=n.disallowedElements,s=n.skipHtml,u=n.unwrapDisallowed,c=n.urlTransform||nF;for(let e of nO)Object.hasOwn(n,e.from)&&r((e.from,e.to&&e.to,e.id));return i&&a&&r(),t3(e,function(e,t,n){if("raw"===e.type&&n&&"number"==typeof t)return s?n.children.splice(t,1):n.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in ev)if(Object.hasOwn(ev,t)&&Object.hasOwn(e.properties,t)){let n=e.properties[t],r=ev[t];(null===r||r.includes(e.tagName))&&(e.properties[t]=c(String(n||""),t,e))}}if("element"===e.type){let r=i?!i.includes(e.tagName):!!a&&a.includes(e.tagName);if(!r&&l&&"number"==typeof t&&(r=!l(e,t,n)),r&&n&&"number"==typeof t)return u&&e.children?n.children.splice(t,1,...e.children):n.children.splice(t,1),t}}),function(e,t){var n,r,i,l;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let a=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");n=a,r=t.jsxDEV,o=function(e,t,i,l){let o=Array.isArray(i.children),a=X(e);return r(t,i,l,o,{columnNumber:a?a.column-1:void 0,fileName:n,lineNumber:a?a.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,l=t.jsxs,o=function(e,t,n,r){let o=Array.isArray(n.children)?l:i;return r?o(t,n,r):o(t,n)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:a,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?U:B,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},u=ed(s,e,void 0);return u&&"string"!=typeof u?u:s.create(e,s.Fragment,{children:u||void 0},void 0)}(e,{Fragment:t.Fragment,components:o,ignoreInvalidStyle:!0,jsx:t.jsx,jsxs:t.jsxs,passKeys:!0,passNode:!0})}(u.runSync(u.parse(c),c),e)}function nF(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||nM.test(e.slice(0,t))?e:""}let n_={p:({children:e})=>(0,t.jsx)("p",{className:"break-words",children:e}),code:({children:e})=>(0,t.jsx)("code",{className:"rounded-sm bg-muted px-1 py-px font-mono text-[0.9em]",children:e}),pre:({children:e})=>(0,t.jsx)("pre",{className:"overflow-x-auto rounded-md bg-muted p-3 font-mono text-caption [&_code]:bg-transparent [&_code]:p-0",children:e}),a:({href:e,children:n})=>(0,t.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:"underline underline-offset-2 hover:text-primary",children:n}),ul:({children:e})=>(0,t.jsx)("ul",{className:"list-disc pl-5",children:e}),ol:({children:e})=>(0,t.jsx)("ol",{className:"list-decimal pl-5",children:e})};e.s(["f",0,function({text:e}){return(0,t.jsx)("div",{className:"grid gap-2",children:(0,t.jsx)(nR,{components:n_,children:e})})}],92407)},779,e=>{var t=e.i(43476),n=e.i(47211),r=e.i(32645);e.s(["f",0,function({kind:e}){let i="withdrawn"===e?n.f:r.f;return(0,t.jsx)(i,{role:"img","aria-label":"withdrawn"===e?"Withdrawn":"Replaced",className:"size-3.5 shrink-0 text-muted-foreground"})}])}])})();
|
|
File without changes
|
|
File without changes
|
|
File without changes
|