dorkos 0.119.0 → 0.121.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin/cli.js +3332 -2835
- package/dist/browser/native/package-manifest.json +1 -1
- package/dist/browser/source-manifest.json +1 -1
- package/dist/client/assets/{AboutPage-DPEGtCwv.js → AboutPage-CtI8gbER.js} +1 -1
- package/dist/client/assets/{ActivityErrorState-ENqFKw2l.js → ActivityErrorState-CHTXfBS7.js} +1 -1
- package/dist/client/assets/{ActivityPage-Bh3Fhkkr.js → ActivityPage-B8p4yYJL.js} +1 -1
- package/dist/client/assets/{ActivityRow-Mj9YGZo2.js → ActivityRow-CSuSz-92.js} +1 -1
- package/dist/client/assets/{AdapterIcon-BcejWkC-.js → AdapterIcon-Qnxn0cE5.js} +1 -1
- package/dist/client/assets/{AdapterSetupWizard-CEnUjD84.js → AdapterSetupWizard-BG8H-Lld.js} +1 -1
- package/dist/client/assets/{AgentOptionRow-DcKMOkUs.js → AgentOptionRow-BWFQFynn.js} +1 -1
- package/dist/client/assets/{AgentPicker-W6XeKjz9.js → AgentPicker-CL93SET3.js} +1 -1
- package/dist/client/assets/{AgentRequestCard-C8xPf4Ij.js → AgentRequestCard-CamX7Tvr.js} +3 -3
- package/dist/client/assets/{AppearancePage-uoWRNL1C.js → AppearancePage-rN70_7ih.js} +1 -1
- package/dist/client/assets/{ApplyToOverridesDialog-C5Nf8pjH.js → ApplyToOverridesDialog-DeWaXbgm.js} +1 -1
- package/dist/client/assets/{AttentionSignalRow-BI-uQ-ay.js → AttentionSignalRow-CKcSWExi.js} +1 -1
- package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-Cpi-0c7y.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-BwYaLf2P.js} +1 -1
- package/dist/client/assets/{BindingDialog-B3vCYvfL.js → BindingDialog-DqPDLYbF.js} +1 -1
- package/dist/client/assets/BlintzCanvas-DoAZs5bz.js +1231 -0
- package/dist/client/assets/{BlintzCanvas-GgiCXV7C.css → BlintzCanvas-xZ3u3nk7.css} +1 -1
- package/dist/client/assets/{CanvasCsvContent-DtZuAo03.js → CanvasCsvContent-ViqRJuhW.js} +1 -1
- package/dist/client/assets/CanvasFileContent-ClcHZ_l-.js +2 -0
- package/dist/client/assets/{CanvasModel3dContent-BlYcTOLd.js → CanvasModel3dContent-Cm3msNdQ.js} +2 -2
- package/dist/client/assets/{ChatAppsOff-B996C06C.js → ChatAppsOff-D0PbHYqF.js} +1 -1
- package/dist/client/assets/{CodeMirrorDiff-UfNeO6Wa.js → CodeMirrorDiff-DFNSXeuV.js} +1 -1
- package/dist/client/assets/{CodeMirrorEditor-BMSnTJnS.js → CodeMirrorEditor-AgkgsSqN.js} +1 -1
- package/dist/client/assets/{CommitmentList-LBnn140g.js → CommitmentList-0V6QivXH.js} +1 -1
- package/dist/client/assets/{CommitmentsPage-BNEP939u.js → CommitmentsPage-i3XoHwBj.js} +1 -1
- package/dist/client/assets/{ComputerResourceView-C97PoLhs.js → ComputerResourceView-RPoBc-km.js} +1 -1
- package/dist/client/assets/{ComputerViewer-DVaP4S-x.js → ComputerViewer-2ugaCd0H.js} +1 -1
- package/dist/client/assets/{ConnectionAccessLists-COotkMKW.js → ConnectionAccessLists-DaPP4U96.js} +1 -1
- package/dist/client/assets/{ConnectionsPage-DMqldmCl.js → ConnectionsPage-BVqYvfk5.js} +2 -2
- package/dist/client/assets/{ConventionPage-DXcAUNjb.js → ConventionPage-BoqncrFd.js} +1 -1
- package/dist/client/assets/{ExtensionPageRoute-Cx-zCEnS.js → ExtensionPageRoute-BrOEeNX3.js} +2 -2
- package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-U9QmMzNM.js → FloatingTanStackRouterDevtools-CqogiFob-DLwix3K7.js} +1 -1
- package/dist/client/assets/HandlePage-B_5GLHsp.js +1 -0
- package/dist/client/assets/{HeartbeatPage-lS53N7qR.js → HeartbeatPage-DgXhbaBJ.js} +1 -1
- package/dist/client/assets/KeyEntry-CRr32Ae5.js +1 -0
- package/dist/client/assets/{LexicalField-NpV0yrX5.js → LexicalField-DeAoA6yr.js} +1 -1
- package/dist/client/assets/{ManagesPage-Dvjt_Ql0.js → ManagesPage-ZBWYLTZx.js} +1 -1
- package/dist/client/assets/{Marketplace-BXrL6XrG.js → Marketplace-iL5p8Omt.js} +4 -4
- package/dist/client/assets/{MarketplaceSourcesView-Xm9UboIG.js → MarketplaceSourcesView-CsNLVOdP.js} +1 -1
- package/dist/client/assets/{McpAppFrame-BOhSmDHb.js → McpAppFrame-B1WPswgk.js} +1 -1
- package/dist/client/assets/McpSigninBody-CJ28yu0o.js +1 -0
- package/dist/client/assets/{Model3dViewer-B0efG9VW.js → Model3dViewer-BIZWdK8g.js} +1 -1
- package/dist/client/assets/NamePage-0nr288eM.js +1 -0
- package/dist/client/assets/{NewDirectMessageMenu-BOwmahin.js → NewDirectMessageMenu-DRx9e9kM.js} +1 -1
- package/dist/client/assets/{NotificationsPage-pQg9DtG3.js → NotificationsPage-cfqgSuVy.js} +1 -1
- package/dist/client/assets/{OpenMeshSwitch-C5dCRdqs.js → OpenMeshSwitch-BIIuKDku.js} +1 -1
- package/dist/client/assets/{OperatorIdentityForm-CgSvpX-s.js → OperatorIdentityForm-BKUSGrs6.js} +1 -1
- package/dist/client/assets/{PermissionHistory-ChEe8iYR.js → PermissionHistory-Ctdqhib6.js} +1 -1
- package/dist/client/assets/{PermissionsPage-C8gICIw9.js → PermissionsPage-CYA_zdrV.js} +1 -1
- package/dist/client/assets/{PersonalityPopover-DcuHjnIT.js → PersonalityPopover-BR4Cpr2C.js} +1 -1
- package/dist/client/assets/PhotoPage-C3Ir3wlA.js +1 -0
- package/dist/client/assets/{PresetPicker-C-HcfktA.js → PresetPicker-zGvDOqTf.js} +2 -2
- package/dist/client/assets/{PreviewRefusedNotice-CgJeWKad.js → PreviewRefusedNotice-D1Tl265t.js} +1 -1
- package/dist/client/assets/{ProfileFields-Bpe71duM.js → ProfileFields-T3vVbHRC.js} +1 -1
- package/dist/client/assets/{ProfilePanelContainer-r2T2nLuy.js → ProfilePanelContainer-CParzTPA.js} +1 -1
- package/dist/client/assets/{ProfileRolePicker-B9as28eL.js → ProfileRolePicker-BU4eiMKn.js} +1 -1
- package/dist/client/assets/{PromptSuggestionChips-BjyRYcZH.js → PromptSuggestionChips-CGNQc2Tf.js} +1 -1
- package/dist/client/assets/{ReportsToPopover-Bs59IbmP.js → ReportsToPopover-Dj5U_Ppi.js} +1 -1
- package/dist/client/assets/{RoomSurface-CcxCucEt.js → RoomSurface-BIyjtxKD.js} +7 -7
- package/dist/client/assets/{RoomsPage-gAEppmDN.js → RoomsPage-Cvs3h6f0.js} +1 -1
- package/dist/client/assets/{RunsOnPopover-BYqbPh-k.js → RunsOnPopover-BUlYwRW4.js} +1 -1
- package/dist/client/assets/{RuntimeConnectFlow-BmMBE_ki.js → RuntimeConnectFlow-ChrvjC84.js} +1 -1
- package/dist/client/assets/{RuntimeSetupDialog-DsDi5RBn.js → RuntimeSetupDialog-BK9yo7YF.js} +1 -1
- package/dist/client/assets/{SessionsPage-Cid8fhdk.js → SessionsPage-CWUwU3US.js} +1 -1
- package/dist/client/assets/SettingsDialog-BApzy0J8.js +12 -0
- package/dist/client/assets/{SkillsPage-YiAaBf5n.js → SkillsPage-z3XnApNX.js} +1 -1
- package/dist/client/assets/{TaskDialogWrapper-BZ19n03x.js → TaskDialogWrapper-BEWUpAlk.js} +1 -1
- package/dist/client/assets/{TasksEmptyState-RqhzTXZs.js → TasksEmptyState-CLwpLnIO.js} +2 -2
- package/dist/client/assets/{TasksPage-CkaqOq26.js → TasksPage-CyHjr9OZ.js} +1 -1
- package/dist/client/assets/{TeamComputerEntry-BFwHEcxT.js → TeamComputerEntry-BHHIofx3.js} +1 -1
- package/dist/client/assets/{ToolsPage-BnCLKQr8.js → ToolsPage-CckCco8x.js} +2 -2
- package/dist/client/assets/TopologyGraph-Dox7aWP3.js +30 -0
- package/dist/client/assets/{TourHost-D6Lclw6P.js → TourHost-CTBewD-a.js} +1 -1
- package/dist/client/assets/{UnlinkDialog-DqKrNRIZ.js → UnlinkDialog-CFRgExId.js} +1 -1
- package/dist/client/assets/{WidgetErrorCard-YpoGnbGt.js → WidgetErrorCard-Dx5oPMlF.js} +3 -3
- package/dist/client/assets/_commonjs-dynamic-modules-TDtrdbi3.js +1 -0
- package/dist/client/assets/_shell-BHUZq_8C.js +80 -0
- package/dist/client/assets/{_shell._home-BcVOIprN.js → _shell._home-DnBkgWs4.js} +1 -1
- package/dist/client/assets/{_shell._home.activity-B-5keh6v.js → _shell._home.activity-CVCC-EEI.js} +1 -1
- package/dist/client/assets/{_shell._home.index-CeUO_fiS.js → _shell._home.index-Ck6jxwIx.js} +1 -1
- package/dist/client/assets/{_shell._home.tasks-DrghkSwu.js → _shell._home.tasks-B7QQAZnA.js} +1 -1
- package/dist/client/assets/{_shell._home.workspaces-ClpXSXb7.js → _shell._home.workspaces-DlrRd9tv.js} +1 -1
- package/dist/client/assets/_shell.channels-CiWehoyl.js +10 -0
- package/dist/client/assets/{_shell.connections-BAyaKCu0.js → _shell.connections-CGP5hZHq.js} +1 -1
- package/dist/client/assets/{_shell.feedback-requests-C_0Cb9ew.js → _shell.feedback-requests-BxxNvw6j.js} +1 -1
- package/dist/client/assets/_shell.marketplace-BoAmyvPt.js +1 -0
- package/dist/client/assets/_shell.marketplace_.sources-BpqWjkGL.js +1 -0
- package/dist/client/assets/{_shell.session-DAOicD3_.js → _shell.session-KyPj3OxK.js} +17 -17
- package/dist/client/assets/{_shell.team-C9JBEYch.js → _shell.team-CsXH3NkS.js} +6 -6
- package/dist/client/assets/_shell.x._extensionId-CfiAgtoq.js +1 -0
- package/dist/client/assets/_shell.x._extensionId_._-CfiAgtoq.js +1 -0
- package/dist/client/assets/abnfDiagram-WEYOIA3C-CMdkyiQ3.js +1 -0
- package/dist/client/assets/{access-copy-DBchOVu9.js → access-copy-CW-z1oMH.js} +1 -1
- package/dist/client/assets/arc-Bw7tftQk.js +1 -0
- package/dist/client/assets/architectureDiagram-ZHVYKT53-BhpXALtX.js +36 -0
- package/dist/client/assets/{banner-DyAc42ob.js → banner-EomQNDOH.js} +1 -1
- package/dist/client/assets/blockDiagram-RJAE7QA3-Bxk_BuZv.js +140 -0
- package/dist/client/assets/c4Diagram-XDPPPE54-CYN0FwR8.js +38 -0
- package/dist/client/assets/{card-B1UFbnvJ.js → card-ww4ebz8h.js} +1 -1
- package/dist/client/assets/channel-DZpRF3QJ.js +1 -0
- package/dist/client/assets/chunk-2E7WHVMD-IPDvYcPa.js +88 -0
- package/dist/client/assets/chunk-2Q5K7J3B-DZ5bU5Ax.js +1 -0
- package/dist/client/assets/chunk-4EMNKR2T-DrsWxa6Y.js +1 -0
- package/dist/client/assets/chunk-55XCU76K-CiBbKG0b.js +1 -0
- package/dist/client/assets/chunk-5VM5RSS4-B3K3MUav.js +15 -0
- package/dist/client/assets/chunk-JWPE2WC7-CjV5RcIh.js +1 -0
- package/dist/client/assets/chunk-VQ5W62QI-CWoRr0H2.js +1 -0
- package/dist/client/assets/chunk-XXDRQBXY-E0nvzXiG.js +1 -0
- package/dist/client/assets/chunk-ZCHMQSOR-DFop6Lvt.js +2 -0
- package/dist/client/assets/classDiagram-v2-4MYWR3UA-B7JJfc9z.js +217 -0
- package/dist/client/assets/{command-EveETx4P.js → command-D4fLpJxA.js} +1 -1
- package/dist/client/assets/cose-bilkent-JH36ORCC-BjNppl29.js +1 -0
- package/dist/client/assets/{cpu-6HIzSTBv.js → cpu-DCe0Yyml.js} +1 -1
- package/dist/client/assets/cynefin-EF2NZ3EQ-PmRntJwW.js +141 -0
- package/dist/client/assets/cynefinDiagram-WF24UDRP-Ctdbp_Vg.js +62 -0
- package/dist/client/assets/cytoscape.esm-BLAcgzS2.js +331 -0
- package/dist/client/assets/dagre-NK4GIZVX-5tvLY2ZW.js +4 -0
- package/dist/client/assets/defaultLocale-DX6XiGOO.js +1 -0
- package/dist/client/assets/diagram-CBK3MWTC-DZO-XBOO.js +24 -0
- package/dist/client/assets/diagram-I5XIIV2D-CWBbA1Pv.js +24 -0
- package/dist/client/assets/diagram-ODIL2UCW-hP5A1tGl.js +30 -0
- package/dist/client/assets/diagram-PFBEJUXE-EI_-RoN7.js +3 -0
- package/dist/client/assets/diagram-RJA3I4VV-TrYq9A4Z.js +41 -0
- package/dist/client/assets/diagram-TYUNFSNR-BAQq2OM5.js +200 -0
- package/dist/client/assets/ebnfDiagram-V4P3TTPT-cKbeW9dQ.js +1 -0
- package/dist/client/assets/elk-QONTBCTQ-wpfNPp0q.js +27 -0
- package/dist/client/assets/{empty-state-DK2Wg9m3.js → empty-state-DXWQsHMf.js} +1 -1
- package/dist/client/assets/erDiagram-KYQIGQAA-Dk0OrvjE.js +99 -0
- package/dist/client/assets/{execution-config-e5c_6oSg.js → execution-config-CAyT2Qoo.js} +1 -1
- package/dist/client/assets/{file-CxdN5JO4.js → file-Bf7D_47y.js} +1 -1
- package/dist/client/assets/{file-exclamation-point-ID9vXo0l.js → file-exclamation-point-DZXE9_8o.js} +1 -1
- package/dist/client/assets/{file-text-DtcloCeg.js → file-text-C1ougnBY.js} +1 -1
- package/dist/client/assets/{find-latest-widget-fence-BGZDFnjV.js → find-latest-widget-fence-B1_-pC-Z.js} +1 -1
- package/dist/client/assets/flowDiagram-IUGLLWBU-CdlOoRZV.js +213 -0
- package/dist/client/assets/{form-Bs1x_gSI.js → form-D7kF-U0d.js} +1 -1
- package/dist/client/assets/{format-cron-i_Bh2HP3.js → format-cron-ZtliseYi.js} +1 -1
- package/dist/client/assets/ganttDiagram-R7GPNTJY-x0MJLv5d.js +292 -0
- package/dist/client/assets/{git-branch-B3IXXOlG.js → git-branch-B2k77X3Q.js} +1 -1
- package/dist/client/assets/gitGraphDiagram-PDYL7XHY-CruCvk7w.js +106 -0
- package/dist/client/assets/graph-5PBe05F8.js +1 -0
- package/dist/client/assets/{heart-BKVGdKg5.js → heart-CmqGJPDc.js} +1 -1
- package/dist/client/assets/{highlighted-body-KPVGNVTW-2S9TnGZL.js → highlighted-body-KPVGNVTW-Bqu2cQDj.js} +1 -1
- package/dist/client/assets/{image-lightbox-D28E719A.js → image-lightbox-BBbz-ThL.js} +1 -1
- package/dist/client/assets/{image-off-BuNZtQ_w.js → image-off-BCtWIY4q.js} +1 -1
- package/dist/client/assets/{index-LPr-pCZr.js → index-1ShgR_xt.js} +1 -1
- package/dist/client/assets/{index-V5Rn9SxH.js → index-8IAr9b71.js} +1 -1
- package/dist/client/assets/{index-rROsmUvj.js → index-8TfzCkKR.js} +1 -1
- package/dist/client/assets/{index-CsUyZMaJ.js → index-B5rRtvWx.js} +1 -1
- package/dist/client/assets/index-B6dEbNhI.js +1 -0
- package/dist/client/assets/{index-7cQQSs20.js → index-BCk4wW-T.js} +1 -1
- package/dist/client/assets/{index-CfpVrvtk.js → index-BIIH5CXj.js} +1 -1
- package/dist/client/assets/{index-DP_WiQNC.js → index-BXMxoWrk.js} +1 -1
- package/dist/client/assets/index-BXZlDqvy.js +74 -0
- package/dist/client/assets/{index-5081rTdO.js → index-BfRW2WTx.js} +1 -1
- package/dist/client/assets/{index-DVpRV8UX.js → index-BpmmNapD.js} +1 -1
- package/dist/client/assets/{index-CQ_s1Luo.js → index-BrQGZ6iF.js} +1 -1
- package/dist/client/assets/{index-KONo3kU0.js → index-BuGQxHrf.js} +1 -1
- package/dist/client/assets/{index-BM9n-UZ_.js → index-BzPgsdPn.js} +1 -1
- package/dist/client/assets/{index-ByUBGmdN.js → index-C11Ssk2u.js} +3 -3
- package/dist/client/assets/{index-Ce9sdGIU.js → index-CJ5v2_Cz.js} +1 -1
- package/dist/client/assets/{index-CIxwv14l.js → index-CMNc_OrC.js} +1 -1
- package/dist/client/assets/{index-ClxqCDE6.js → index-CQ0VLZf-.js} +1 -1
- package/dist/client/assets/{index-CHZfO-eM.js → index-ChwNEkM8.js} +1 -1
- package/dist/client/assets/index-Cl8trmnL.js +1 -0
- package/dist/client/assets/{index-CDBp2azY.js → index-ClBIPuLA.js} +1 -1
- package/dist/client/assets/{index-CtRknSis.js → index-Cml5572f.js} +1 -1
- package/dist/client/assets/{index-DIpkbx_g.js → index-Cp3yShS8.js} +7 -7
- package/dist/client/assets/index-CrflCTqO.css +1 -0
- package/dist/client/assets/{index-CJllc1_e.js → index-CtycM8wY.js} +1 -1
- package/dist/client/assets/{index-DVUGIueq.js → index-Cv0GsC4n.js} +1 -1
- package/dist/client/assets/{index-CqcPXANi.js → index-DAdo_yIq.js} +1 -1
- package/dist/client/assets/{index-DwKOsAwH.js → index-DIxzqCwG.js} +1 -1
- package/dist/client/assets/index-DKDK-3KH.js +17 -0
- package/dist/client/assets/index-DPNBHwcQ.js +1 -0
- package/dist/client/assets/{index-B-wVtE7g.js → index-DbDI5BAA.js} +1 -1
- package/dist/client/assets/index-DcZPWi_I.js +1023 -0
- package/dist/client/assets/{index-Pcm0P4su.js → index-Dmn03xST.js} +1 -1
- package/dist/client/assets/{index-BUAYrK-t.js → index-Do6eeFps.js} +2 -2
- package/dist/client/assets/{index-CAB4SfyK.js → index-DrA03bMq.js} +1 -1
- package/dist/client/assets/{index-5BVp-usS.js → index-DsJWzmWw.js} +1 -1
- package/dist/client/assets/{index-Cc5UdmnD.js → index-EdJm7ZN-.js} +1 -1
- package/dist/client/assets/{index-CxYD3BRB.js → index-JxeBJIuE.js} +1 -1
- package/dist/client/assets/{index-Dr3MaxIU.js → index-mFOJXyAE.js} +3 -3
- package/dist/client/assets/{index-uukEE2As.js → index-rWZWP3Wh.js} +1 -1
- package/dist/client/assets/{index-CFo8WKHw.js → index-t4Ud6YTX.js} +1 -1
- package/dist/client/assets/{index-DaFf8fyv.js → index-xaMF1mrN.js} +1 -1
- package/dist/client/assets/{index-DrBU917j.js → index-xmk9Ohv9.js} +1 -1
- package/dist/client/assets/{index-OTmqX-Xu.js → index-yI1r4pSP.js} +1 -1
- package/dist/client/assets/{index.esm-C1I5Nd91.js → index.esm-CZZtbPRj.js} +1 -1
- package/dist/client/assets/infoDiagram-MVDRKAX5-Bj9DD77n.js +2 -0
- package/dist/client/assets/init-Gi6I4Gst.js +1 -0
- package/dist/client/assets/{inline-code-BxjIkZsu.js → inline-code-g9PVHZI2.js} +1 -1
- package/dist/client/assets/ishikawaDiagram-HPEHV2GE-DckI6dhS.js +70 -0
- package/dist/client/assets/journeyDiagram-BOSHW7O7-Ce1GAVa0.js +139 -0
- package/dist/client/assets/kanban-definition-FNSA4HC5-Kq5O9rZa.js +89 -0
- package/dist/client/assets/katex-DLorvT8M.js +257 -0
- package/dist/client/assets/{layers-CIuBDynf.js → layers-D3lEdRF0.js} +1 -1
- package/dist/client/assets/{lightbulb-C75cqB7d.js → lightbulb-BFE-KkFU.js} +1 -1
- package/dist/client/assets/linear-BT-xgETh.js +1 -0
- package/dist/client/assets/{link-2-g7crG37S.js → link-2-Dvb6g-2Q.js} +1 -1
- package/dist/client/assets/{list-runtime-types-GVPyyQUh.js → list-runtime-types-8YGEK3Al.js} +1 -1
- package/dist/client/assets/{markdown-content-siVxwwSU.js → markdown-content-Cqq_QMXA.js} +1 -1
- package/dist/client/assets/{mention-pill-CjxBxD6M.js → mention-pill-Bnzt4u2l.js} +1 -1
- package/dist/client/assets/mermaid.core-dpp59v7L.js +312 -0
- package/dist/client/assets/{message-square-off-BxuvD1QP.js → message-square-off-BX2XnEDx.js} +1 -1
- package/dist/client/assets/mindmap-definition-6OY57UG3-CFdfJO6g.js +98 -0
- package/dist/client/assets/{more-details-DN_gIeya.js → more-details-B4lBMpKi.js} +1 -1
- package/dist/client/assets/ordinal-Cboi1Yqb.js +1 -0
- package/dist/client/assets/{owner-notice-DnYrX3mh.js → owner-notice-ByjrIRmX.js} +1 -1
- package/dist/client/assets/{package-b8MxCYZr.js → package-6Rbxg35g.js} +1 -1
- package/dist/client/assets/{page-container-bbfE5uTV.js → page-container-DoZzad36.js} +1 -1
- package/dist/client/assets/{paperclip-BNBU7WUb.js → paperclip-B-jDXtxw.js} +1 -1
- package/dist/client/assets/{path-input-BhzVuKWq.js → path-input-DpqUD8hN.js} +1 -1
- package/dist/client/assets/pegDiagram-ECIUJNBX-eVnSw2Ma.js +1 -0
- package/dist/client/assets/pieDiagram-GNMPY74T-BYG7LY5Q.js +39 -0
- package/dist/client/assets/plug-DnaAhcy4.js +11 -0
- package/dist/client/assets/{primer-trigger-DHPWwwZl.js → primer-trigger-Da5ECjY8.js} +2 -2
- package/dist/client/assets/{profile-errors-DDvyjpcQ.js → profile-errors-GbTNc2-M.js} +1 -1
- package/dist/client/assets/{progress-DUKHwOZJ.js → progress-DlIRjXIA.js} +1 -1
- package/dist/client/assets/quadrantDiagram-D57K4MC3-CRgNKuHR.js +7 -0
- package/dist/client/assets/{query-error-state-DOJRiizQ.js → query-error-state-DB-Jby7_.js} +1 -1
- package/dist/client/assets/{radio-kbMW2w1m.js → radio-CaaE60ws.js} +1 -1
- package/dist/client/assets/railroadDiagram-Y72NRBL7-DGL-Hqz9.js +1 -0
- package/dist/client/assets/registry-DS1Ghdft.js +1 -0
- package/dist/client/assets/{relay-trace-schemas-3XV1_WMC.js → relay-trace-schemas-CcCqyOrA.js} +2 -2
- package/dist/client/assets/requirementDiagram-EQYSW5RA-DKsFpU3l.js +84 -0
- package/dist/client/assets/{room-files-source-CDA5V_Mw.js → room-files-source-CbbVpvSW.js} +1 -1
- package/dist/client/assets/{rotate-ccw-clock-BGYqHuYK.js → rotate-ccw-clock-CeY00nlZ.js} +1 -1
- package/dist/client/assets/{rotate-cw-BdJrGLyp.js → rotate-cw-Djl5J_x9.js} +1 -1
- package/dist/client/assets/sankeyDiagram-SY24JHO5-BFRkDxic.js +40 -0
- package/dist/client/assets/{scroll-area-D-CWiQov.js → scroll-area-BOqrziJf.js} +1 -1
- package/dist/client/assets/{search-x-DNIPyXe6.js → search-x-B_mHjnlo.js} +1 -1
- package/dist/client/assets/sequenceDiagram-BLEHNHQU-fHea3KOI.js +169 -0
- package/dist/client/assets/{shield-check-zWzf9nt2.js → shield-check-Csnr5rFy.js} +1 -1
- package/dist/client/assets/{shield-x-Bu5-LOse.js → shield-x-Dhl4YvvW.js} +1 -1
- package/dist/client/assets/signed-in-BMqAss8c.js +1 -0
- package/dist/client/assets/sizeCapture-INFHLROL-CztsD3qF.js +1 -0
- package/dist/client/assets/{soul-file-CoSSajv6.js → soul-file-DOfamgB5.js} +1 -1
- package/dist/client/assets/stateDiagram-v2-A6IESKWZ-CWyOqZ9S.js +291 -0
- package/dist/client/assets/swimlanes-B3ENRKFQ-0EfOxSAX.js +1 -0
- package/dist/client/assets/swimlanesDiagram-AYQRV4AK-C7fkUKrq.js +8 -0
- package/dist/client/assets/{table-Bt_aJtoi.js → table-L7FvN6Or.js} +1 -1
- package/dist/client/assets/{terminal-ub-ExeTA.js → terminal-C9M5a_PS.js} +1 -1
- package/dist/client/assets/timeline-definition-JXYKGLGB-sFyYvZ20.js +120 -0
- package/dist/client/assets/transform-BqqRT-Iy.js +1 -0
- package/dist/client/assets/{trust-posture-CWt3tUjL.js → trust-posture-dl6qwDtI.js} +1 -1
- package/dist/client/assets/{unplug-BCqRQfhH.js → unplug-CFUEVRbc.js} +1 -1
- package/dist/client/assets/{unverified-catalog-notice-CgvUEO5t.js → unverified-catalog-notice-CdYU3WEJ.js} +1 -1
- package/dist/client/assets/{use-adapter-catalog-ClW3m3Yz.js → use-adapter-catalog-YTofdqDJ.js} +1 -1
- package/dist/client/assets/{use-bindings-CFiTPDOx.js → use-bindings-CpyT6kNu.js} +1 -1
- package/dist/client/assets/{use-composer-prefs-B70wbKdU.js → use-composer-prefs-CK_EK_QJ.js} +1 -1
- package/dist/client/assets/{use-connector-management-B_mb2h8I.js → use-connector-management-DwoK8kon.js} +1 -1
- package/dist/client/assets/{use-deep-link-scroll-DuJW3UA9.js → use-deep-link-scroll-CgRjt48R.js} +1 -1
- package/dist/client/assets/{use-delete-binding-DWXownno.js → use-delete-binding-CfsnMXrL.js} +1 -1
- package/dist/client/assets/{use-dev-links-UPIkbIjA.js → use-dev-links-B3I-ZK34.js} +1 -1
- package/dist/client/assets/{use-external-adapter-catalog-x7pDUqmo.js → use-external-adapter-catalog-aGlZNRrp.js} +1 -1
- package/dist/client/assets/{use-full-activity-feed-l9UhDUNU.js → use-full-activity-feed-B61Olhdw.js} +1 -1
- package/dist/client/assets/use-is-below-desktop-Qwyg-mFb.js +1 -0
- package/dist/client/assets/use-is-hub-CSz6NDaP.js +1 -0
- package/dist/client/assets/{use-jump-back-in-CKA3z2by.js → use-jump-back-in-C39GOTHa.js} +3 -3
- package/dist/client/assets/{use-local-browser-DL5b5JIK.js → use-local-browser-DCwzB4D8.js} +1 -1
- package/dist/client/assets/{use-mesh-topology-BYGYArKq.js → use-mesh-topology-LRYxFuZp.js} +1 -1
- package/dist/client/assets/{use-mounted-ref-D_xUn22L.js → use-mounted-ref-CZaegwTr.js} +1 -1
- package/dist/client/assets/{use-notification-prefs-42ajom2z.js → use-notification-prefs-FtOiUS5H.js} +1 -1
- package/dist/client/assets/{use-panel-tab-placements-CLIDc7_z.js → use-panel-tab-placements-Dv2OPvKh.js} +1 -1
- package/dist/client/assets/use-pending-read-DBOl1ee_.js +1 -0
- package/dist/client/assets/{use-personality-commit-D7jyGUrF.js → use-personality-commit-BB5aeh6p.js} +1 -1
- package/dist/client/assets/use-promo-activation-BW0u7n7m.js +11 -0
- package/dist/client/assets/{use-promo-dismissals-CsJELZ1_.js → use-promo-dismissals-BOXzW4kD.js} +1 -1
- package/dist/client/assets/{use-pulse-freshness-TqSBTrFT.js → use-pulse-freshness-ClW-MLMo.js} +1 -1
- package/dist/client/assets/{use-relay-config-CLeVWrpV.js → use-relay-config-hItHtkSr.js} +1 -1
- package/dist/client/assets/{use-room-follow-claim-C-zlw4nh.js → use-room-follow-claim-wotzxUWc.js} +1 -1
- package/dist/client/assets/{use-roving-tab-list-H2EzOl9b.js → use-roving-tab-list-DkbO6xSs.js} +1 -1
- package/dist/client/assets/use-session-canvas-C_fuAgW_.js +24 -0
- package/dist/client/assets/{use-session-diagnostics-CDmiMYHx.js → use-session-diagnostics-DmxvD-wy.js} +3 -3
- package/dist/client/assets/{use-unclaimed-chats-Bd93jy-J.js → use-unclaimed-chats-DKpexDm3.js} +1 -1
- package/dist/client/assets/use-update-config-CSYwg557.js +1 -0
- package/dist/client/assets/{useMutationState-BZZ5TO4d.js → useMutationState-Btf2Hp1a.js} +1 -1
- package/dist/client/assets/usecaseDiagram-WPOLBNNX-DRngjDUq.js +370 -0
- package/dist/client/assets/value-wA6veExk.js +1 -0
- package/dist/client/assets/vennDiagram-Q3Y3IDCW-iK-dlS1-.js +34 -0
- package/dist/client/assets/wardleyDiagram-IVAIDKWA-sOS67Cks.js +78 -0
- package/dist/client/assets/xychartDiagram-4URNHDU4-EgnLiIao.js +7 -0
- package/dist/client/index.html +2 -2
- package/dist/drizzle/20261017113300_session_public_computer.sql +1 -0
- package/dist/drizzle/meta/20261017113300_snapshot.json +14020 -0
- package/dist/drizzle/meta/_journal.json +7 -0
- package/dist/server/index.js +24307 -20763
- package/dist/server/index.js.map +2 -2
- package/package.json +7 -7
- package/dist/client/assets/BlintzCanvas-D_HlpfZu.js +0 -1141
- package/dist/client/assets/CanvasFileContent-g5wQR7yt.js +0 -2
- package/dist/client/assets/HandlePage-DUFrvuVy.js +0 -1
- package/dist/client/assets/KeyEntry-tKXV9D24.js +0 -6
- package/dist/client/assets/McpSigninBody-CRj8tXsh.js +0 -1
- package/dist/client/assets/NamePage-fiIXQig_.js +0 -1
- package/dist/client/assets/PhotoPage-BnxmY5mq.js +0 -1
- package/dist/client/assets/SettingsDialog-BZkPlifY.js +0 -12
- package/dist/client/assets/TopologyGraph-CAkARLa1.js +0 -30
- package/dist/client/assets/_shell-BQ7hvFsP.js +0 -90
- package/dist/client/assets/_shell.channels-DYNK-rbr.js +0 -10
- package/dist/client/assets/_shell.marketplace-B1CT9Y3y.js +0 -1
- package/dist/client/assets/_shell.marketplace_.sources-DVHJ2s7a.js +0 -1
- package/dist/client/assets/_shell.x._extensionId-B6Ccjrvp.js +0 -1
- package/dist/client/assets/_shell.x._extensionId_._-B6Ccjrvp.js +0 -1
- package/dist/client/assets/index-BONR--d7.css +0 -1
- package/dist/client/assets/index-BULRe04c.js +0 -1018
- package/dist/client/assets/index-C8NfFfij.js +0 -17
- package/dist/client/assets/index-CRMbYKMh.js +0 -1
- package/dist/client/assets/index-CidWt_HE.js +0 -1
- package/dist/client/assets/index-CoMMwnLj.js +0 -74
- package/dist/client/assets/registry-BisJE2TH.js +0 -1
- package/dist/client/assets/use-is-below-desktop-ByiGZk3p.js +0 -1
- package/dist/client/assets/use-pending-read-Cy9OB3jX.js +0 -1
- package/dist/client/assets/use-promo-activation-Dw1KvykA.js +0 -11
- package/dist/client/assets/use-session-canvas-Bm_AzSm7.js +0 -24
- package/dist/client/assets/use-update-config-DjF61lwf.js +0 -1
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/arduino-BI0Wlt2c.js","assets/cpp-C11qDRMm.js","assets/c-XQKAasRE.js","assets/clike-BF_vhPOR.js","assets/csharp-BSdrTNSA.js","assets/go-xWYv4r-F.js","assets/java-CUQYWvAL.js","assets/javascript-CEvf9hWA.js","assets/kotlin-DlLEZihb.js","assets/less-DRLW25Ni.js","assets/css-B-uKvPiS.js","assets/markdown-DidFTSvt.js","assets/markup-BHKKUsMC.js","assets/markup-templating-C-XwH7hP.js","assets/objectivec-C86xFqEx.js","assets/php-D30FZ8S0.js","assets/ruby-Bwg0ofHw.js","assets/sass-B4vMtMwp.js","assets/scss-B7E2Cygf.js","assets/typescript-DsefBs7O.js","assets/vbnet-DfXcBIcZ.js","assets/basic-Dv_zySWb.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
var yr=Object.defineProperty;var wr=(e,n,t)=>n in e?yr(e,n,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[n]=t;var Z=(e,n,t)=>wr(e,typeof n!="symbol"?n+"":n,t);import{em as xr,aX as J,j as O,md as _t,me as br,r as Te}from"./index-BULRe04c.js";var Pn={exports:{}};/*!
|
|
3
|
-
Copyright (c) 2018 Jed Watson.
|
|
4
|
-
Licensed under the MIT License (MIT), see
|
|
5
|
-
http://jedwatson.github.io/classnames
|
|
6
|
-
*/var Rt;function vr(){return Rt||(Rt=1,(function(e){(function(){var n={}.hasOwnProperty;function t(){for(var l="",s=0;s<arguments.length;s++){var a=arguments[s];a&&(l=o(l,r(a)))}return l}function r(l){if(typeof l=="string"||typeof l=="number")return l;if(typeof l!="object")return"";if(Array.isArray(l))return t.apply(null,l);if(l.toString!==Object.prototype.toString&&!l.toString.toString().includes("[native code]"))return l.toString();var s="";for(var a in l)n.call(l,a)&&l[a]&&(s=o(s,a));return s}function o(l,s){return s?l?l+" "+s:l+s:l}e.exports?(t.default=t,e.exports=t):window.classNames=t})()})(Pn)),Pn.exports}var Ar=vr();const we=xr(Ar);var Lt=Number.isNaN||function(n){return typeof n=="number"&&n!==n};function Er(e,n){return!!(e===n||Lt(e)&&Lt(n))}function Cr(e,n){if(e.length!==n.length)return!1;for(var t=0;t<e.length;t++)if(!Er(e[t],n[t]))return!1;return!0}function Tr(e,n){n===void 0&&(n=Cr);var t=null;function r(){for(var o=[],l=0;l<arguments.length;l++)o[l]=arguments[l];if(t&&t.lastThis===this&&n(o,t.lastArgs))return t.lastResult;var s=e.apply(this,o);return t={lastResult:s,lastArgs:o,lastThis:this},s}return r.clear=function(){t=null},r}function Sr(e,n,t){let r=0,o;const l={},s=[];return e.forEach((a,f)=>{const u=n.some(d=>d>=f-t&&d<=f+t);!u&&o===void 0?(o={index:r,startLine:f,endLine:f,lines:1},s.push(o),l[f]=o.index,r++):!u&&o?(o.endLine=f,o.lines++,l[f]=o.index):o=void 0}),{lineBlocks:l,blocks:s}}class Ne{diff(n,t,r={}){let o;typeof r=="function"?(o=r,r={}):"callback"in r&&(o=r.callback);const l=this.castInput(n,r),s=this.castInput(t,r),a=this.removeEmpty(this.tokenize(l,r)),f=this.removeEmpty(this.tokenize(s,r));return this.diffWithOptionsObj(a,f,r,o)}diffWithOptionsObj(n,t,r,o){var l;const s=w=>{if(w=this.postProcess(w,r),o){setTimeout(function(){o(w)},0);return}else return w},a=t.length,f=n.length;let u=1,d=a+f;r.maxEditLength!=null&&(d=Math.min(d,r.maxEditLength));const h=(l=r.timeout)!==null&&l!==void 0?l:1/0,x=Date.now()+h,T=[{oldPos:-1,lastComponent:void 0}];let m=this.extractCommon(T[0],t,n,0,r);if(T[0].oldPos+1>=f&&m+1>=a)return s(this.buildValues(T[0].lastComponent,t,n));let p=-1/0,y=1/0;const A=()=>{for(let w=Math.max(p,-u);w<=Math.min(y,u);w+=2){let v;const S=T[w-1],R=T[w+1];S&&(T[w-1]=void 0);let W=!1;if(R){const P=R.oldPos-w;W=R&&0<=P&&P<a}const M=S&&S.oldPos+1<f;if(!W&&!M){T[w]=void 0;continue}if(!M||W&&S.oldPos<R.oldPos?v=this.addToPath(R,!0,!1,0,r):v=this.addToPath(S,!1,!0,1,r),m=this.extractCommon(v,t,n,w,r),v.oldPos+1>=f&&m+1>=a)return s(this.buildValues(v.lastComponent,t,n))||!0;T[w]=v,v.oldPos+1>=f&&(y=Math.min(y,w-1)),m+1>=a&&(p=Math.max(p,w+1))}u++};if(o)(function w(){setTimeout(function(){if(u>d||Date.now()>x)return o(void 0);A()||w()},0)})();else for(;u<=d&&Date.now()<=x;){const w=A();if(w)return w}}addToPath(n,t,r,o,l){const s=n.lastComponent;return s&&!l.oneChangePerToken&&s.added===t&&s.removed===r?{oldPos:n.oldPos+o,lastComponent:{count:s.count+1,added:t,removed:r,previousComponent:s.previousComponent}}:{oldPos:n.oldPos+o,lastComponent:{count:1,added:t,removed:r,previousComponent:s}}}extractCommon(n,t,r,o,l){const s=t.length,a=r.length;let f=n.oldPos,u=f-o,d=0;for(;u+1<s&&f+1<a&&this.equals(r[f+1],t[u+1],l);)u++,f++,d++,l.oneChangePerToken&&(n.lastComponent={count:1,previousComponent:n.lastComponent,added:!1,removed:!1});return d&&!l.oneChangePerToken&&(n.lastComponent={count:d,previousComponent:n.lastComponent,added:!1,removed:!1}),n.oldPos=f,u}equals(n,t,r){return r.comparator?r.comparator(n,t):n===t||!!r.ignoreCase&&n.toLowerCase()===t.toLowerCase()}removeEmpty(n){const t=[];for(let r=0;r<n.length;r++)n[r]&&t.push(n[r]);return t}castInput(n,t){return n}tokenize(n,t){return Array.from(n)}join(n){return n.join("")}postProcess(n,t){return n}get useLongestToken(){return!1}buildValues(n,t,r){const o=[];let l;for(;n;)o.push(n),l=n.previousComponent,delete n.previousComponent,n=l;o.reverse();const s=o.length;let a=0,f=0,u=0;for(;a<s;a++){const d=o[a];if(d.removed)d.value=this.join(r.slice(u,u+d.count)),u+=d.count;else{if(!d.added&&this.useLongestToken){let h=t.slice(f,f+d.count);h=h.map(function(x,T){const m=r[u+T];return m.length>x.length?m:x}),d.value=this.join(h)}else d.value=this.join(t.slice(f,f+d.count));f+=d.count,d.added||(u+=d.count)}}return o}}class kr extends Ne{}const Ci=new kr;function _r(e,n,t){return Ci.diff(e,n,t)}function Ot(e,n){let t;for(t=0;t<e.length&&t<n.length;t++)if(e[t]!=n[t])return e.slice(0,t);return e.slice(0,t)}function Nt(e,n){let t;if(!e||!n||e[e.length-1]!=n[n.length-1])return"";for(t=0;t<e.length&&t<n.length;t++)if(e[e.length-(t+1)]!=n[n.length-(t+1)])return e.slice(-t);return e.slice(-t)}function dt(e,n,t){if(e.slice(0,n.length)!=n)throw Error(`string ${JSON.stringify(e)} doesn't start with prefix ${JSON.stringify(n)}; this is a bug`);return t+e.slice(n.length)}function ht(e,n,t){if(!n)return e+t;if(e.slice(-n.length)!=n)throw Error(`string ${JSON.stringify(e)} doesn't end with suffix ${JSON.stringify(n)}; this is a bug`);return e.slice(0,-n.length)+t}function nn(e,n){return dt(e,n,"")}function xn(e,n){return ht(e,n,"")}function It(e,n){return n.slice(0,Rr(e,n))}function Rr(e,n){let t=0;e.length>n.length&&(t=e.length-n.length);let r=n.length;e.length<n.length&&(r=e.length);const o=Array(r);let l=0;o[0]=0;for(let s=1;s<r;s++){for(n[s]==n[l]?o[s]=o[l]:o[s]=l;l>0&&n[s]!=n[l];)l=o[l];n[s]==n[l]&&l++}l=0;for(let s=t;s<e.length;s++){for(;l>0&&e[s]!=n[l];)l=o[l];e[s]==n[l]&&l++}return l}function Lr(e){return e.includes(`\r
|
|
7
|
-
`)&&!e.startsWith(`
|
|
8
|
-
`)&&!e.match(/[^\r]\n/)}function Or(e){return!e.includes(`\r
|
|
9
|
-
`)&&e.includes(`
|
|
10
|
-
`)}function Ti(e,n){const t=[];for(const r of Array.from(n.segment(e))){const o=r.segment;t.length&&/\s/.test(t[t.length-1])&&/\s/.test(o)?t[t.length-1]+=o:t.push(o)}return t}function pt(e,n){if(n)return on(e,n)[1];let t;for(t=e.length-1;t>=0&&e[t].match(/\s/);t--);return e.substring(t+1)}function qe(e,n){if(n)return on(e,n)[0];const t=e.match(/^\s*/);return t?t[0]:""}function on(e,n){if(!n)return[qe(e),pt(e)];if(n.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');const t=Ti(e,n),r=t[0],o=t[t.length-1],l=/\s/.test(r)?r:"",s=/\s/.test(o)?o:"";return[l,s]}const kn="a-zA-Z0-9_\\u{AD}\\u{C0}-\\u{D6}\\u{D8}-\\u{F6}\\u{F8}-\\u{2C6}\\u{2C8}-\\u{2D7}\\u{2DE}-\\u{2FF}\\u{1E00}-\\u{1EFF}",Nr=new RegExp(`[${kn}]+|\\s+|[^${kn}]`,"ug");class Ir extends Ne{equals(n,t,r){return r.ignoreCase&&(n=n.toLowerCase(),t=t.toLowerCase()),n.trim()===t.trim()}tokenize(n,t={}){let r;if(t.intlSegmenter){const s=t.intlSegmenter;if(s.resolvedOptions().granularity!="word")throw new Error('The segmenter passed must have a granularity of "word"');r=Ti(n,s)}else r=n.match(Nr)||[];const o=[];let l=null;return r.forEach(s=>{/\s/.test(s)?l==null?o.push(s):o.push(o.pop()+s):l!=null&&/\s/.test(l)?o[o.length-1]==l?o.push(o.pop()+s):o.push(l+s):o.push(s),l=s}),o}join(n){return n.map((t,r)=>r==0?t:t.replace(/^\s+/,"")).join("")}postProcess(n,t){if(!n||t.oneChangePerToken)return n;let r=null,o=null,l=null;return n.forEach(s=>{s.added?o=s:s.removed?l=s:((o||l)&&Dt(r,l,o,s,t.intlSegmenter),r=s,o=null,l=null)}),(o||l)&&Dt(r,l,o,null,t.intlSegmenter),n}}const Si=new Ir;function Dr(e,n,t){return(t==null?void 0:t.ignoreWhitespace)!=null&&!t.ignoreWhitespace?_i(e,n,t):Si.diff(e,n,t)}function Dt(e,n,t,r,o){if(n&&t){const[l,s]=on(n.value,o),[a,f]=on(t.value,o);if(e){const u=Ot(l,a);e.value=ht(e.value,a,u),n.value=nn(n.value,u),t.value=nn(t.value,u)}if(r){const u=Nt(s,f);r.value=dt(r.value,f,u),n.value=xn(n.value,u),t.value=xn(t.value,u)}}else if(t){if(e){const l=qe(t.value,o);t.value=t.value.substring(l.length)}if(r){const l=qe(r.value,o);r.value=r.value.substring(l.length)}}else if(e&&r){const l=qe(r.value,o),[s,a]=on(n.value,o),f=Ot(l,s);n.value=nn(n.value,f);const u=Nt(nn(l,f),a);n.value=xn(n.value,u),r.value=dt(r.value,l,u),e.value=ht(e.value,l,l.slice(0,l.length-u.length))}else if(r){const l=qe(r.value,o),s=pt(n.value,o),a=It(s,l);n.value=xn(n.value,a)}else if(e){const l=pt(e.value,o),s=qe(n.value,o),a=It(l,s);n.value=nn(n.value,a)}}class Mr extends Ne{tokenize(n){const t=new RegExp(`(\\r?\\n)|[${kn}]+|[^\\S\\n\\r]+|[^${kn}]`,"ug");return n.match(t)||[]}}const ki=new Mr;function _i(e,n,t){return ki.diff(e,n,t)}function Fr(e,n){if(typeof e=="function")n.callback=e;else if(e)for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=e[t]);return n}class jr extends Ne{constructor(){super(...arguments),this.tokenize=Ri}equals(n,t,r){return r.ignoreWhitespace?((!r.newlineIsToken||!n.includes(`
|
|
11
|
-
`))&&(n=n.trim()),(!r.newlineIsToken||!t.includes(`
|
|
12
|
-
`))&&(t=t.trim())):r.ignoreNewlineAtEof&&!r.newlineIsToken&&(n.endsWith(`
|
|
13
|
-
`)&&(n=n.slice(0,-1)),t.endsWith(`
|
|
14
|
-
`)&&(t=t.slice(0,-1))),super.equals(n,t,r)}}const vt=new jr;function Oe(e,n,t){return vt.diff(e,n,t)}function Hr(e,n,t){return t=Fr(t,{ignoreWhitespace:!0}),vt.diff(e,n,t)}function Ri(e,n){n.stripTrailingCr&&(e=e.replace(/\r\n/g,`
|
|
15
|
-
`));const t=[],r=e.split(/(\n|\r\n)/);r[r.length-1]||r.pop();for(let o=0;o<r.length;o++){const l=r[o];o%2&&!n.newlineIsToken?t[t.length-1]+=l:t.push(l)}return t}function Pr(e){return e=="."||e=="!"||e=="?"}class Wr extends Ne{tokenize(n){var t;const r=[];let o=0;for(let l=0;l<n.length;l++){if(l==n.length-1){r.push(n.slice(o));break}if(Pr(n[l])&&n[l+1].match(/\s/)){for(r.push(n.slice(o,l+1)),l=o=l+1;!((t=n[l+1])===null||t===void 0)&&t.match(/\s/);)l++;r.push(n.slice(o,l+1)),o=l+1}}return r}}const Li=new Wr;function Br(e,n,t){return Li.diff(e,n,t)}class Vr extends Ne{tokenize(n){return n.split(/([{}:;,]|\s+)/)}}const Oi=new Vr;function Gr(e,n,t){return Oi.diff(e,n,t)}class $r extends Ne{constructor(){super(...arguments),this.tokenize=Ri}get useLongestToken(){return!0}castInput(n,t){const{undefinedReplacement:r,stringifyReplacer:o=(l,s)=>typeof s>"u"?r:s}=t;return typeof n=="string"?n:JSON.stringify(_n(n,null,null,o),null," ")}equals(n,t,r){return super.equals(n.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"),r)}}const Ni=new $r;function qr(e,n,t){return Ni.diff(e,n,t)}function _n(e,n,t,r,o){n=n||[],t=t||[],r&&(e=r(o===void 0?"":o,e));let l;for(l=0;l<n.length;l+=1)if(n[l]===e)return t[l];let s;if(Object.prototype.toString.call(e)==="[object Array]"){for(n.push(e),s=new Array(e.length),t.push(s),l=0;l<e.length;l+=1)s[l]=_n(e[l],n,t,r,String(l));return n.pop(),t.pop(),s}if(e&&e.toJSON&&(e=e.toJSON()),typeof e=="object"&&e!==null){n.push(e),s={},t.push(s);const a=[];let f;for(f in e)Object.prototype.hasOwnProperty.call(e,f)&&a.push(f);for(a.sort(),l=0;l<a.length;l+=1)f=a[l],s[f]=_n(e[f],n,t,r,f);n.pop(),t.pop()}else s=e;return s}class Ur extends Ne{tokenize(n){return n.slice()}join(n){return n}removeEmpty(n){return n}}const Ii=new Ur;function Yr(e,n,t){return Ii.diff(e,n,t)}function Di(e){return Array.isArray(e)?e.map(n=>Di(n)):Object.assign(Object.assign({},e),{hunks:e.hunks.map(n=>Object.assign(Object.assign({},n),{lines:n.lines.map((t,r)=>{var o;return t.startsWith("\\")||t.endsWith("\r")||!((o=n.lines[r+1])===null||o===void 0)&&o.startsWith("\\")?t:t+"\r"})}))})}function Mi(e){return Array.isArray(e)?e.map(n=>Mi(n)):Object.assign(Object.assign({},e),{hunks:e.hunks.map(n=>Object.assign(Object.assign({},n),{lines:n.lines.map(t=>t.endsWith("\r")?t.substring(0,t.length-1):t)}))})}function zr(e){return Array.isArray(e)||(e=[e]),!e.some(n=>n.hunks.some(t=>t.lines.some(r=>!r.startsWith("\\")&&r.endsWith("\r"))))}function Kr(e){return Array.isArray(e)||(e=[e]),e.some(n=>n.hunks.some(t=>t.lines.some(r=>r.endsWith("\r"))))&&e.every(n=>n.hunks.every(t=>t.lines.every((r,o)=>{var l;return r.startsWith("\\")||r.endsWith("\r")||((l=t.lines[o+1])===null||l===void 0?void 0:l.startsWith("\\"))})))}function At(e){const n=e.split(/\n/),t=[];let r=0;function o(m){return/^diff --git /.test(m)}function l(m){return o(m)||/^Index:\s/.test(m)||/^diff(?: -r \w+)+\s/.test(m)}function s(m){return/^(---|\+\+\+)\s/.test(m)}function a(m){return/^@@\s/.test(m)}function f(){var m;const p={};p.hunks=[],t.push(p);let y=!1;for(;r<n.length;){const A=n[r];if(s(A)||a(A))break;if(o(A)){if(y)return;y=!0,p.isGit=!0;const w=u(A);for(w&&(p.oldFileName=w.oldFileName,p.newFileName=w.newFileName),r++;r<n.length;){const v=n[r];if(s(v)||a(v)||l(v))break;const S=/^rename from (.*)/.exec(v);S&&(p.oldFileName="a/"+d(S[1]),p.isRename=!0);const R=/^rename to (.*)/.exec(v);R&&(p.newFileName="b/"+d(R[1]),p.isRename=!0);const W=/^copy from (.*)/.exec(v);W&&(p.oldFileName="a/"+d(W[1]),p.isCopy=!0);const M=/^copy to (.*)/.exec(v);M&&(p.newFileName="b/"+d(M[1]),p.isCopy=!0);const P=/^new file mode (\d+)/.exec(v);P&&(p.isCreate=!0,p.newMode=P[1]);const q=/^deleted file mode (\d+)/.exec(v);q&&(p.isDelete=!0,p.oldMode=q[1]);const z=/^old mode (\d+)/.exec(v);z&&(p.oldMode=z[1]);const K=/^new mode (\d+)/.exec(v);K&&(p.newMode=K[1]),/^Binary files /.test(v)&&(p.isBinary=!0),r++}continue}else if(l(A)){if(y)return;y=!0;const w=/^(?:Index:|diff(?: -r \w+)+)\s+/.exec(A);w&&(p.index=A.substring(w[0].length).trim())}r++}if(x(p),x(p),p.oldFileName===void 0!=(p.newFileName===void 0))throw new Error("Missing "+(p.oldFileName!==void 0?'"+++ ..."':'"--- ..."')+" file header for "+((m=p.oldFileName)!==null&&m!==void 0?m:p.newFileName));for(;r<n.length;){const A=n[r];if(l(A)||s(A)||/^===================================================================/.test(A))break;a(A)?p.hunks.push(T()):r++}}function u(m){const p=m.substring(11);if(p.startsWith('"')){const A=h(p);if(A===null)return null;const w=p.substring(A.rawLength+1);let v;if(w.startsWith('"')){const S=h(w);if(S===null)return null;v=S.fileName}else v=w;return{oldFileName:A.fileName,newFileName:v}}const y=p.indexOf('"');if(y>0){const A=p.substring(0,y-1),w=h(p.substring(y));return w===null?null:{oldFileName:A,newFileName:w.fileName}}if(p.startsWith("a/")){const A=[];let w=0;for(;w=p.indexOf(" b/",w+1),w!==-1;)A.push(w);if(A.length>0){const v=A[Math.floor(A.length/2)];return{oldFileName:p.substring(0,v),newFileName:p.substring(v+1)}}}return null}function d(m){if(m.startsWith('"')){const p=h(m);if(p)return p.fileName}return m}function h(m){if(!m.startsWith('"'))return null;let p="",y=1;for(;y<m.length;){if(m[y]==='"')return{fileName:p,rawLength:y+1};if(m[y]==="\\"&&y+1<m.length)switch(y++,m[y]){case"a":p+="\x07";break;case"b":p+="\b";break;case"f":p+="\f";break;case"n":p+=`
|
|
16
|
-
`;break;case"r":p+="\r";break;case"t":p+=" ";break;case"v":p+="\v";break;case"\\":p+="\\";break;case'"':p+='"';break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":{if(y+2>=m.length||m[y+1]<"0"||m[y+1]>"7"||m[y+2]<"0"||m[y+2]>"7")return null;const A=[parseInt(m.substring(y,y+3),8)];for(y+=3;m[y]==="\\"&&m[y+1]>="0"&&m[y+1]<="7";){if(y+3>=m.length||m[y+2]<"0"||m[y+2]>"7"||m[y+3]<"0"||m[y+3]>"7")return null;A.push(parseInt(m.substring(y+1,y+4),8)),y+=4}p+=new TextDecoder("utf-8").decode(new Uint8Array(A));continue}default:return null}else p+=m[y];y++}return null}function x(m){const p=/^(---|\+\+\+)\s+/.exec(n[r]);if(p){const y=p[1],A=n[r].substring(3).trim().split(" ",2),w=(A[1]||"").trim();let v=A[0];v.startsWith('"')?v=d(v):v=v.replace(/\\\\/g,"\\"),y==="---"?(m.oldFileName=v,m.oldHeader=w):(m.newFileName=v,m.newHeader=w),r++}}function T(){var m;const p=r,y=n[r++],A=y.split(/@@ -(\d+)(?:,(\d+))? \+(\d+)(?:,(\d+))? @@/),w={oldStart:+A[1],oldLines:typeof A[2]>"u"?1:+A[2],newStart:+A[3],newLines:typeof A[4]>"u"?1:+A[4],lines:[]};w.oldLines===0&&(w.oldStart+=1),w.newLines===0&&(w.newStart+=1);let v=0,S=0;for(;r<n.length&&(S<w.oldLines||v<w.newLines||!((m=n[r])===null||m===void 0)&&m.startsWith("\\"));r++){const R=n[r].length==0&&r!=n.length-1?" ":n[r][0];if(R==="+"||R==="-"||R===" "||R==="\\")w.lines.push(n[r]),R==="+"?v++:R==="-"?S++:R===" "&&(v++,S++);else throw new Error(`Hunk at line ${p+1} contained invalid line ${n[r]}`)}if(!v&&w.newLines===1&&(w.newLines=0),!S&&w.oldLines===1&&(w.oldLines=0),v!==w.newLines)throw new Error("Added line count did not match for hunk at line "+(p+1));if(S!==w.oldLines)throw new Error("Removed line count did not match for hunk at line "+(p+1));if(r<n.length&&n[r]&&/^[+ -]/.test(n[r])&&!s(n[r]))throw new Error("Hunk at line "+(p+1)+" has more lines than expected (expected "+w.oldLines+" old lines and "+w.newLines+" new lines)");return w}for(;r<n.length;)f();return t}function Jr(e,n,t){let r=!0,o=!1,l=!1,s=1;return function a(){if(r&&!l){if(o?s++:r=!1,e+s<=t)return e+s;l=!0}if(!o)return l||(r=!0),n<=e-s?e-s++:(o=!0,a())}}function Fi(e,n,t={}){let r;if(typeof n=="string"?r=At(n):Array.isArray(n)?r=n:r=[n],r.length>1)throw new Error("applyPatch only works with a single input.");return Zr(e,r[0],t)}function Zr(e,n,t={}){(t.autoConvertLineEndings||t.autoConvertLineEndings==null)&&(Lr(e)&&zr(n)?n=Di(n):Or(e)&&Kr(n)&&(n=Mi(n)));const r=e.split(`
|
|
17
|
-
`),o=n.hunks,l=t.compareLine||((m,p,y,A)=>p===A),s=t.fuzzFactor||0;let a=0;if(s<0||!Number.isInteger(s))throw new Error("fuzzFactor must be a non-negative integer");if(!o.length)return e;let f="",u=!1,d=!1;for(let m=0;m<o[o.length-1].lines.length;m++){const p=o[o.length-1].lines[m];p[0]=="\\"&&(f[0]=="+"?u=!0:f[0]=="-"&&(d=!0)),f=p}if(u){if(d){if(!s&&r[r.length-1]=="")return!1}else if(r[r.length-1]=="")r.pop();else if(!s)return!1}else if(d){if(r[r.length-1]!="")r.push("");else if(!s)return!1}function h(m,p,y,A=0,w=!0,v=[],S=0){let R=0,W=!1;for(;A<m.length;A++){const M=m[A],P=M.length>0?M[0]:" ",q=M.length>0?M.substr(1):M;if(P==="-")if(l(p+1,r[p],P,q))p++,R=0;else return!y||r[p]==null?null:(v[S]=r[p],h(m,p+1,y-1,A,!1,v,S+1));if(P==="+"){if(!w)return null;v[S]=q,S++,R=0,W=!0}if(P===" ")if(R++,v[S]=r[p],l(p+1,r[p],P,q))S++,w=!0,W=!1,p++;else return W||!y?null:r[p]&&(h(m,p+1,y-1,A+1,!1,v,S+1)||h(m,p+1,y-1,A,!1,v,S+1))||h(m,p,y-1,A+1,!1,v,S)}return S-=R,p-=R,v.length=S,{patchedLines:v,oldLineLastI:p-1}}const x=[];let T=0;for(let m=0;m<o.length;m++){const p=o[m];let y;const A=r.length-p.oldLines+s;let w;for(let v=0;v<=s;v++){w=p.oldStart+T-1;const S=Jr(w,a,A);for(;w!==void 0&&(y=h(p.lines,w,v),!y);w=S());if(y)break}if(!y)return!1;for(let v=a;v<w;v++)x.push(r[v]);for(let v=0;v<y.patchedLines.length;v++){const S=y.patchedLines[v];x.push(S)}a=y.oldLineLastI+1,T=w+1-p.oldStart}for(let m=a;m<r.length;m++)x.push(r[m]);return x.join(`
|
|
18
|
-
`)}function Qr(e,n){const t=typeof e=="string"?At(e):e;let r=0;function o(){const l=t[r++];if(!l)return n.complete();n.loadFile(l,function(s,a){if(s)return n.complete(s);const f=Fi(a,l,n);n.patched(l,f,function(u){if(u)return n.complete(u);o()})})}o()}function Mt(e){return e===void 0||e==="/dev/null"?e:e.startsWith("a/")?"b/"+e.slice(2):e.startsWith("b/")?"a/"+e.slice(2):e}function ji(e){if(Array.isArray(e))return e.map(t=>ji(t)).reverse();const n=Object.assign(Object.assign({},e),{oldFileName:e.isGit?Mt(e.newFileName):e.newFileName,oldHeader:e.newHeader,newFileName:e.isGit?Mt(e.oldFileName):e.oldFileName,newHeader:e.oldHeader,oldMode:e.newMode,newMode:e.oldMode,isCreate:e.isDelete,isDelete:e.isCreate,hunks:e.hunks.map(t=>({oldLines:t.newLines,oldStart:t.newStart,newLines:t.oldLines,newStart:t.oldStart,lines:t.lines.map(r=>r.startsWith("-")?`+${r.slice(1)}`:r.startsWith("+")?`-${r.slice(1)}`:r)}))});return e.isCopy&&(n.newFileName="/dev/null",n.newHeader=void 0,n.isDelete=!0,delete n.isCreate,delete n.isCopy,delete n.isRename,n.hunks=[]),n}function Xr(e){for(let n=0;n<e.length;n++)if(e[n]<" "||e[n]>"~"||e[n]==='"'||e[n]==="\\")return!0;return!1}function He(e){if(!Xr(e))return e;let n='"';const t=new TextEncoder().encode(e);let r=0;for(;r<t.length;){const o=t[r];o===7?n+="\\a":o===8?n+="\\b":o===9?n+="\\t":o===10?n+="\\n":o===11?n+="\\v":o===12?n+="\\f":o===13?n+="\\r":o===34?n+='\\"':o===92?n+="\\\\":o>=32&&o<=126?n+=String.fromCharCode(o):n+="\\"+o.toString(8).padStart(3,"0"),r++}return n+='"',n}const gt={includeIndex:!0,includeUnderline:!0,includeFileHeaders:!0},eo={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!0},no={includeIndex:!1,includeUnderline:!1,includeFileHeaders:!1};function mt(e,n,t,r,o,l,s){let a;s?typeof s=="function"?a={callback:s}:a=s:a={},typeof a.context>"u"&&(a.context=4);const f=a.context;if(a.newlineIsToken)throw new Error("newlineIsToken may not be used with patch-generation functions, only with diffing functions");if(a.callback){const{callback:d}=a;Oe(t,r,Object.assign(Object.assign({},a),{callback:h=>{const x=u(h);d(x)}}))}else return u(Oe(t,r,a));function u(d){if(!d)return;d.push({value:"",lines:[]});function h(w){return w.map(function(v){return" "+v})}const x=[];let T=0,m=0,p=[],y=1,A=1;for(let w=0;w<d.length;w++){const v=d[w],S=v.lines||io(v.value);if(v.lines=S,v.added||v.removed){if(!T){const R=d[w-1];T=y,m=A,R&&(p=f>0?h(R.lines.slice(-f)):[],T-=p.length,m-=p.length)}for(const R of S)p.push((v.added?"+":"-")+R);v.added?A+=S.length:y+=S.length}else{if(T)if(S.length<=f*2&&w<d.length-2)for(const R of h(S))p.push(R);else{const R=Math.min(S.length,f);for(const M of h(S.slice(0,R)))p.push(M);const W={oldStart:T,oldLines:y-T+R,newStart:m,newLines:A-m+R,lines:p};x.push(W),T=0,m=0,p=[]}y+=S.length,A+=S.length}}for(const w of x)for(let v=0;v<w.lines.length;v++)w.lines[v].endsWith(`
|
|
19
|
-
`)?w.lines[v]=w.lines[v].slice(0,-1):(w.lines.splice(v+1,0,"\"),v++);return{oldFileName:e,newFileName:n,oldHeader:o,newHeader:l,hunks:x}}}function Rn(e,n){var t,r,o,l,s,a;if(n||(n=gt),Array.isArray(e)){if(e.length>1&&!n.includeFileHeaders&&!e.every(d=>d.isGit))throw new Error("Cannot omit file headers on a multi-file patch. (The result would be unparseable; how would a tool trying to apply the patch know which changes are to which file?)");return e.map(d=>Rn(d,n)).join(`
|
|
20
|
-
`)}const f=[];if(e.isGit){if(n=gt,!e.oldFileName)throw new Error("oldFileName must be specified for Git patches");if(!e.newFileName)throw new Error("newFileName must be specified for Git patches");let d=e.oldFileName,h=e.newFileName;e.isCreate&&d==="/dev/null"?d=h.replace(/^b\//,"a/"):e.isDelete&&h==="/dev/null"&&(h=d.replace(/^a\//,"b/")),f.push("diff --git "+He(d)+" "+He(h)),e.isDelete&&f.push("deleted file mode "+((t=e.oldMode)!==null&&t!==void 0?t:"100644")),e.isCreate&&f.push("new file mode "+((r=e.newMode)!==null&&r!==void 0?r:"100644")),e.oldMode&&e.newMode&&!e.isDelete&&!e.isCreate&&(f.push("old mode "+e.oldMode),f.push("new mode "+e.newMode)),e.isRename&&(f.push("rename from "+He(((o=e.oldFileName)!==null&&o!==void 0?o:"").replace(/^a\//,""))),f.push("rename to "+He(((l=e.newFileName)!==null&&l!==void 0?l:"").replace(/^b\//,"")))),e.isCopy&&(f.push("copy from "+He(((s=e.oldFileName)!==null&&s!==void 0?s:"").replace(/^a\//,""))),f.push("copy to "+He(((a=e.newFileName)!==null&&a!==void 0?a:"").replace(/^b\//,""))))}else n.includeIndex&&e.oldFileName==e.newFileName&&e.oldFileName!==void 0&&f.push("Index: "+e.oldFileName),n.includeUnderline&&f.push("===================================================================");const u=e.hunks.length>0;n.includeFileHeaders&&e.oldFileName!==void 0&&e.newFileName!==void 0&&(!e.isGit||u)&&(f.push("--- "+He(e.oldFileName)+(e.oldHeader?" "+e.oldHeader:"")),f.push("+++ "+He(e.newFileName)+(e.newHeader?" "+e.newHeader:"")));for(let d=0;d<e.hunks.length;d++){const h=e.hunks[d],x=h.oldLines===0?h.oldStart-1:h.oldStart,T=h.newLines===0?h.newStart-1:h.newStart;f.push("@@ -"+x+","+h.oldLines+" +"+T+","+h.newLines+" @@");for(const m of h.lines)f.push(m)}return f.join(`
|
|
21
|
-
`)+`
|
|
22
|
-
`}function Hi(e,n,t,r,o,l,s){if(typeof s=="function"&&(s={callback:s}),s!=null&&s.callback){const{callback:a}=s;mt(e,n,t,r,o,l,Object.assign(Object.assign({},s),{callback:f=>{a(f?Rn(f,s.headerOptions):void 0)}}))}else{const a=mt(e,n,t,r,o,l,s);return a?Rn(a,s==null?void 0:s.headerOptions):void 0}}function to(e,n,t,r,o,l){return Hi(e,e,n,t,r,o,l)}function io(e){const n=e.endsWith(`
|
|
23
|
-
`),t=e.split(`
|
|
24
|
-
`).map(r=>r+`
|
|
25
|
-
`);return n?t.pop():t.push(t.pop().slice(0,-1)),t}function ro(e){const n=[];let t,r;for(let o=0;o<e.length;o++)t=e[o],t.added?r=1:t.removed?r=-1:r=0,n.push([r,t.value]);return n}function oo(e){const n=[];for(let t=0;t<e.length;t++){const r=e[t];r.added?n.push("<ins>"):r.removed&&n.push("<del>"),n.push(lo(r.value)),r.added?n.push("</ins>"):r.removed&&n.push("</del>")}return n.join("")}function lo(e){let n=e;return n=n.replace(/&/g,"&"),n=n.replace(/</g,"<"),n=n.replace(/>/g,">"),n=n.replace(/"/g,"""),n}const so=Object.freeze(Object.defineProperty({__proto__:null,Diff:Ne,FILE_HEADERS_ONLY:eo,INCLUDE_HEADERS:gt,OMIT_HEADERS:no,applyPatch:Fi,applyPatches:Qr,arrayDiff:Ii,canonicalize:_n,characterDiff:Ci,convertChangesToDMP:ro,convertChangesToXML:oo,createPatch:to,createTwoFilesPatch:Hi,cssDiff:Oi,diffArrays:Yr,diffChars:_r,diffCss:Gr,diffJson:qr,diffLines:Oe,diffSentences:Br,diffTrimmedLines:Hr,diffWords:Dr,diffWordsWithSpace:_i,formatPatch:Rn,jsonDiff:Ni,lineDiff:vt,parsePatch:At,reversePatch:ji,sentenceDiff:Li,structuredPatch:mt,wordDiff:Si,wordsWithSpaceDiff:ki},Symbol.toStringTag,{value:"Module"}));function co(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var ue={},bn={},Pe={},Ft;function an(){if(Ft)return Pe;Ft=1;function e(s){return typeof s>"u"||s===null}function n(s){return typeof s=="object"&&s!==null}function t(s){return Array.isArray(s)?s:e(s)?[]:[s]}function r(s,a){if(a){const f=Object.keys(a);for(let u=0,d=f.length;u<d;u+=1){const h=f[u];s[h]=a[h]}}return s}function o(s,a){let f="";for(let u=0;u<a;u+=1)f+=s;return f}function l(s){return s===0&&Number.NEGATIVE_INFINITY===1/s}return Pe.isNothing=e,Pe.isObject=n,Pe.toArray=t,Pe.repeat=o,Pe.isNegativeZero=l,Pe.extend=r,Pe}var Wn,jt;function un(){if(jt)return Wn;jt=1;function e(t,r){let o="";const l=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(o+='in "'+t.mark.name+'" '),o+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!r&&t.mark.snippet&&(o+=`
|
|
26
|
-
|
|
27
|
-
`+t.mark.snippet),l+" "+o):l}function n(t,r){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=r,this.message=e(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack||""}return n.prototype=Object.create(Error.prototype),n.prototype.constructor=n,n.prototype.toString=function(r){return this.name+": "+e(this,r)},Wn=n,Wn}var Bn,Ht;function ao(){if(Ht)return Bn;Ht=1;const e=an();function n(o,l,s,a,f){let u="",d="";const h=Math.floor(f/2)-1;return a-l>h&&(u=" ... ",l=a-h+u.length),s-a>h&&(d=" ...",s=a+h-d.length),{str:u+o.slice(l,s).replace(/\t/g,"→")+d,pos:a-l+u.length}}function t(o,l){return e.repeat(" ",l-o.length)+o}function r(o,l){if(l=Object.create(l||null),!o.buffer)return null;l.maxLength||(l.maxLength=79),typeof l.indent!="number"&&(l.indent=1),typeof l.linesBefore!="number"&&(l.linesBefore=3),typeof l.linesAfter!="number"&&(l.linesAfter=2);const s=/\r?\n|\r|\0/g,a=[0],f=[];let u,d=-1;for(;u=s.exec(o.buffer);)f.push(u.index),a.push(u.index+u[0].length),o.position<=u.index&&d<0&&(d=a.length-2);d<0&&(d=a.length-1);let h="";const x=Math.min(o.line+l.linesAfter,f.length).toString().length,T=l.maxLength-(l.indent+x+3);for(let p=1;p<=l.linesBefore&&!(d-p<0);p++){const y=n(o.buffer,a[d-p],f[d-p],o.position-(a[d]-a[d-p]),T);h=e.repeat(" ",l.indent)+t((o.line-p+1).toString(),x)+" | "+y.str+`
|
|
28
|
-
`+h}const m=n(o.buffer,a[d],f[d],o.position,T);h+=e.repeat(" ",l.indent)+t((o.line+1).toString(),x)+" | "+m.str+`
|
|
29
|
-
`,h+=e.repeat("-",l.indent+x+3+m.pos)+`^
|
|
30
|
-
`;for(let p=1;p<=l.linesAfter&&!(d+p>=f.length);p++){const y=n(o.buffer,a[d+p],f[d+p],o.position-(a[d]-a[d+p]),T);h+=e.repeat(" ",l.indent)+t((o.line+p+1).toString(),x)+" | "+y.str+`
|
|
31
|
-
`}return h.replace(/\n$/,"")}return Bn=r,Bn}var Vn,Pt;function pe(){if(Pt)return Vn;Pt=1;const e=un(),n=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],t=["scalar","sequence","mapping"];function r(l){const s={};return l!==null&&Object.keys(l).forEach(function(a){l[a].forEach(function(f){s[String(f)]=a})}),s}function o(l,s){if(s=s||{},Object.keys(s).forEach(function(a){if(n.indexOf(a)===-1)throw new e('Unknown option "'+a+'" is met in definition of "'+l+'" YAML type.')}),this.options=s,this.tag=l,this.kind=s.kind||null,this.resolve=s.resolve||function(){return!0},this.construct=s.construct||function(a){return a},this.instanceOf=s.instanceOf||null,this.predicate=s.predicate||null,this.represent=s.represent||null,this.representName=s.representName||null,this.defaultStyle=s.defaultStyle||null,this.multi=s.multi||!1,this.styleAliases=r(s.styleAliases||null),t.indexOf(this.kind)===-1)throw new e('Unknown kind "'+this.kind+'" is specified for "'+l+'" YAML type.')}return Vn=o,Vn}var Gn,Wt;function Pi(){if(Wt)return Gn;Wt=1;const e=un(),n=pe();function t(l,s){const a=[];return l[s].forEach(function(f){let u=a.length;a.forEach(function(d,h){d.tag===f.tag&&d.kind===f.kind&&d.multi===f.multi&&(u=h)}),a[u]=f}),a}function r(){const l={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function s(a){a.multi?(l.multi[a.kind].push(a),l.multi.fallback.push(a)):l[a.kind][a.tag]=l.fallback[a.tag]=a}for(let a=0,f=arguments.length;a<f;a+=1)arguments[a].forEach(s);return l}function o(l){return this.extend(l)}return o.prototype.extend=function(s){let a=[],f=[];if(s instanceof n)f.push(s);else if(Array.isArray(s))f=f.concat(s);else if(s&&(Array.isArray(s.implicit)||Array.isArray(s.explicit)))s.implicit&&(a=a.concat(s.implicit)),s.explicit&&(f=f.concat(s.explicit));else throw new e("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");a.forEach(function(d){if(!(d instanceof n))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(d.loadKind&&d.loadKind!=="scalar")throw new e("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(d.multi)throw new e("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")}),f.forEach(function(d){if(!(d instanceof n))throw new e("Specified list of YAML types (or a single Type object) contains a non-Type object.")});const u=Object.create(o.prototype);return u.implicit=(this.implicit||[]).concat(a),u.explicit=(this.explicit||[]).concat(f),u.compiledImplicit=t(u,"implicit"),u.compiledExplicit=t(u,"explicit"),u.compiledTypeMap=r(u.compiledImplicit,u.compiledExplicit),u},Gn=o,Gn}var $n,Bt;function Wi(){if(Bt)return $n;Bt=1;const e=pe();return $n=new e("tag:yaml.org,2002:str",{kind:"scalar",construct:function(n){return n!==null?n:""}}),$n}var qn,Vt;function Bi(){if(Vt)return qn;Vt=1;const e=pe();return qn=new e("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(n){return n!==null?n:[]}}),qn}var Un,Gt;function Vi(){if(Gt)return Un;Gt=1;const e=pe();return Un=new e("tag:yaml.org,2002:map",{kind:"mapping",construct:function(n){return n!==null?n:{}}}),Un}var Yn,$t;function Gi(){if($t)return Yn;$t=1;const e=Pi();return Yn=new e({explicit:[Wi(),Bi(),Vi()]}),Yn}var zn,qt;function $i(){if(qt)return zn;qt=1;const e=pe();function n(o){if(o===null)return!0;const l=o.length;return l===1&&o==="~"||l===4&&(o==="null"||o==="Null"||o==="NULL")}function t(){return null}function r(o){return o===null}return zn=new e("tag:yaml.org,2002:null",{kind:"scalar",resolve:n,construct:t,predicate:r,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),zn}var Kn,Ut;function qi(){if(Ut)return Kn;Ut=1;const e=pe();function n(o){if(o===null)return!1;const l=o.length;return l===4&&(o==="true"||o==="True"||o==="TRUE")||l===5&&(o==="false"||o==="False"||o==="FALSE")}function t(o){return o==="true"||o==="True"||o==="TRUE"}function r(o){return Object.prototype.toString.call(o)==="[object Boolean]"}return Kn=new e("tag:yaml.org,2002:bool",{kind:"scalar",resolve:n,construct:t,predicate:r,represent:{lowercase:function(o){return o?"true":"false"},uppercase:function(o){return o?"TRUE":"FALSE"},camelcase:function(o){return o?"True":"False"}},defaultStyle:"lowercase"}),Kn}var Jn,Yt;function Ui(){if(Yt)return Jn;Yt=1;const e=an(),n=pe();function t(u){return u>=48&&u<=57||u>=65&&u<=70||u>=97&&u<=102}function r(u){return u>=48&&u<=55}function o(u){return u>=48&&u<=57}function l(u){if(u===null)return!1;const d=u.length;let h=0,x=!1;if(!d)return!1;let T=u[h];if((T==="-"||T==="+")&&(T=u[++h]),T==="0"){if(h+1===d)return!0;if(T=u[++h],T==="b"){for(h++;h<d;h++){if(T=u[h],T!=="0"&&T!=="1")return!1;x=!0}return x&&isFinite(s(u))}if(T==="x"){for(h++;h<d;h++){if(!t(u.charCodeAt(h)))return!1;x=!0}return x&&isFinite(s(u))}if(T==="o"){for(h++;h<d;h++){if(!r(u.charCodeAt(h)))return!1;x=!0}return x&&isFinite(s(u))}}for(;h<d;h++){if(!o(u.charCodeAt(h)))return!1;x=!0}return x?isFinite(s(u)):!1}function s(u){let d=u,h=1,x=d[0];if((x==="-"||x==="+")&&(x==="-"&&(h=-1),d=d.slice(1),x=d[0]),d==="0")return 0;if(x==="0"){if(d[1]==="b")return h*parseInt(d.slice(2),2);if(d[1]==="x")return h*parseInt(d.slice(2),16);if(d[1]==="o")return h*parseInt(d.slice(2),8)}return h*parseInt(d,10)}function a(u){return s(u)}function f(u){return Object.prototype.toString.call(u)==="[object Number]"&&u%1===0&&!e.isNegativeZero(u)}return Jn=new n("tag:yaml.org,2002:int",{kind:"scalar",resolve:l,construct:a,predicate:f,represent:{binary:function(u){return u>=0?"0b"+u.toString(2):"-0b"+u.toString(2).slice(1)},octal:function(u){return u>=0?"0o"+u.toString(8):"-0o"+u.toString(8).slice(1)},decimal:function(u){return u.toString(10)},hexadecimal:function(u){return u>=0?"0x"+u.toString(16).toUpperCase():"-0x"+u.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Jn}var Zn,zt;function Yi(){if(zt)return Zn;zt=1;const e=an(),n=pe(),t=new RegExp("^(?:[-+]?(?:[0-9]+)(?:\\.[0-9]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),r=new RegExp("^(?:[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function o(u){return u===null||!t.test(u)?!1:isFinite(parseFloat(u,10))?!0:r.test(u)}function l(u){let d=u.toLowerCase();const h=d[0]==="-"?-1:1;return"+-".indexOf(d[0])>=0&&(d=d.slice(1)),d===".inf"?h===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:d===".nan"?NaN:h*parseFloat(d,10)}const s=/^[-+]?[0-9]+e/;function a(u,d){if(isNaN(u))switch(d){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===u)switch(d){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===u)switch(d){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(e.isNegativeZero(u))return"-0.0";const h=u.toString(10);return s.test(h)?h.replace("e",".e"):h}function f(u){return Object.prototype.toString.call(u)==="[object Number]"&&(u%1!==0||e.isNegativeZero(u))}return Zn=new n("tag:yaml.org,2002:float",{kind:"scalar",resolve:o,construct:l,predicate:f,represent:a,defaultStyle:"lowercase"}),Zn}var Qn,Kt;function zi(){return Kt||(Kt=1,Qn=Gi().extend({implicit:[$i(),qi(),Ui(),Yi()]})),Qn}var Xn,Jt;function Ki(){return Jt||(Jt=1,Xn=zi()),Xn}var et,Zt;function Ji(){if(Zt)return et;Zt=1;const e=pe(),n=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),t=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function r(s){return s===null?!1:n.exec(s)!==null||t.exec(s)!==null}function o(s){let a=0,f=null,u=n.exec(s);if(u===null&&(u=t.exec(s)),u===null)throw new Error("Date resolve error");const d=+u[1],h=+u[2]-1,x=+u[3];if(!u[4])return new Date(Date.UTC(d,h,x));const T=+u[4],m=+u[5],p=+u[6];if(u[7]){for(a=u[7].slice(0,3);a.length<3;)a+="0";a=+a}if(u[9]){const A=+u[10],w=+(u[11]||0);f=(A*60+w)*6e4,u[9]==="-"&&(f=-f)}const y=new Date(Date.UTC(d,h,x,T,m,p,a));return f&&y.setTime(y.getTime()-f),y}function l(s){return s.toISOString()}return et=new e("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:r,construct:o,instanceOf:Date,represent:l}),et}var nt,Qt;function Zi(){if(Qt)return nt;Qt=1;const e=pe();function n(t){return t==="<<"||t===null}return nt=new e("tag:yaml.org,2002:merge",{kind:"scalar",resolve:n}),nt}var tt,Xt;function Qi(){if(Xt)return tt;Xt=1;const e=pe(),n=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
32
|
-
\r`;function t(s){if(s===null)return!1;let a=0;const f=s.length,u=n;for(let d=0;d<f;d++){const h=u.indexOf(s.charAt(d));if(!(h>64)){if(h<0)return!1;a+=6}}return a%8===0}function r(s){const a=s.replace(/[\r\n=]/g,""),f=a.length,u=n;let d=0;const h=[];for(let T=0;T<f;T++)T%4===0&&T&&(h.push(d>>16&255),h.push(d>>8&255),h.push(d&255)),d=d<<6|u.indexOf(a.charAt(T));const x=f%4*6;return x===0?(h.push(d>>16&255),h.push(d>>8&255),h.push(d&255)):x===18?(h.push(d>>10&255),h.push(d>>2&255)):x===12&&h.push(d>>4&255),new Uint8Array(h)}function o(s){let a="",f=0;const u=s.length,d=n;for(let x=0;x<u;x++)x%3===0&&x&&(a+=d[f>>18&63],a+=d[f>>12&63],a+=d[f>>6&63],a+=d[f&63]),f=(f<<8)+s[x];const h=u%3;return h===0?(a+=d[f>>18&63],a+=d[f>>12&63],a+=d[f>>6&63],a+=d[f&63]):h===2?(a+=d[f>>10&63],a+=d[f>>4&63],a+=d[f<<2&63],a+=d[64]):h===1&&(a+=d[f>>2&63],a+=d[f<<4&63],a+=d[64],a+=d[64]),a}function l(s){return Object.prototype.toString.call(s)==="[object Uint8Array]"}return tt=new e("tag:yaml.org,2002:binary",{kind:"scalar",resolve:t,construct:r,predicate:l,represent:o}),tt}var it,ei;function Xi(){if(ei)return it;ei=1;const e=pe(),n=Object.prototype.hasOwnProperty,t=Object.prototype.toString;function r(l){if(l===null)return!0;const s={},a=l;for(let f=0,u=a.length;f<u;f+=1){const d=a[f];let h=!1;if(t.call(d)!=="[object Object]")return!1;let x;for(x in d)if(n.call(d,x))if(!h)h=!0;else return!1;if(!h||n.call(s,x))return!1;Object.defineProperty(s,x,{value:!0})}return!0}function o(l){return l!==null?l:[]}return it=new e("tag:yaml.org,2002:omap",{kind:"sequence",resolve:r,construct:o}),it}var rt,ni;function er(){if(ni)return rt;ni=1;const e=pe(),n=Object.prototype.toString;function t(o){if(o===null)return!0;const l=o,s=new Array(l.length);for(let a=0,f=l.length;a<f;a+=1){const u=l[a];if(n.call(u)!=="[object Object]")return!1;const d=Object.keys(u);if(d.length!==1)return!1;s[a]=[d[0],u[d[0]]]}return!0}function r(o){if(o===null)return[];const l=o,s=new Array(l.length);for(let a=0,f=l.length;a<f;a+=1){const u=l[a],d=Object.keys(u);s[a]=[d[0],u[d[0]]]}return s}return rt=new e("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:t,construct:r}),rt}var ot,ti;function nr(){if(ti)return ot;ti=1;const e=pe(),n=Object.prototype.hasOwnProperty;function t(o){if(o===null)return!0;const l=o;for(const s in l)if(n.call(l,s)&&l[s]!==null)return!1;return!0}function r(o){return o!==null?o:{}}return ot=new e("tag:yaml.org,2002:set",{kind:"mapping",resolve:t,construct:r}),ot}var lt,ii;function Et(){return ii||(ii=1,lt=Ki().extend({implicit:[Ji(),Zi()],explicit:[Qi(),Xi(),er(),nr()]})),lt}var ri;function uo(){if(ri)return bn;ri=1;const e=an(),n=un(),t=ao(),r=Et(),o=Object.prototype.hasOwnProperty,l=1,s=2,a=3,f=4,u=1,d=2,h=3,x=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,T=/[\x85\u2028\u2029]/,m=/[,\[\]{}]/,p=/^(?:!|!!|![0-9A-Za-z-]+!)$/,y=/^(?:!|[^,\[\]{}])(?:%[0-9a-f]{2}|[0-9a-z\-#;/?:@&=+$,_.!~*'()\[\]])*$/i;function A(i){return Object.prototype.toString.call(i)}function w(i){return i===10||i===13}function v(i){return i===9||i===32}function S(i){return i===9||i===32||i===10||i===13}function R(i){return i===44||i===91||i===93||i===123||i===125}function W(i){if(i>=48&&i<=57)return i-48;const g=i|32;return g>=97&&g<=102?g-97+10:-1}function M(i){return i===120?2:i===117?4:i===85?8:0}function P(i){return i>=48&&i<=57?i-48:-1}function q(i){switch(i){case 48:return"\0";case 97:return"\x07";case 98:return"\b";case 116:return" ";case 9:return" ";case 110:return`
|
|
33
|
-
`;case 118:return"\v";case 102:return"\f";case 114:return"\r";case 101:return"\x1B";case 32:return" ";case 34:return'"';case 47:return"/";case 92:return"\\";case 78:return"
";case 95:return" ";case 76:return"\u2028";case 80:return"\u2029";default:return""}}function z(i){return i<=65535?String.fromCharCode(i):String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}function K(i,g,_){g==="__proto__"?Object.defineProperty(i,g,{configurable:!0,enumerable:!0,writable:!0,value:_}):i[g]=_}const ne=new Array(256),H=new Array(256);for(let i=0;i<256;i++)ne[i]=q(i)?1:0,H[i]=q(i);function V(i,g){this.input=i,this.filename=g.filename||null,this.schema=g.schema||r,this.onWarning=g.onWarning||null,this.legacy=g.legacy||!1,this.json=g.json||!1,this.listener=g.listener||null,this.maxDepth=typeof g.maxDepth=="number"?g.maxDepth:100,this.maxTotalMergeKeys=typeof g.maxTotalMergeKeys=="number"?g.maxTotalMergeKeys:1e4,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=i.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.depth=0,this.totalMergeKeys=0,this.firstTabInLine=-1,this.documents=[],this.anchorMapTransactions=[]}function te(i,g){const _={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};return _.snippet=t(_),new n(g,_)}function F(i,g){throw te(i,g)}function ge(i,g){i.onWarning&&i.onWarning.call(null,te(i,g))}function ae(i,g,_){const L=i.anchorMapTransactions;if(L.length!==0){const C=L[L.length-1];o.call(C,g)||(C[g]={existed:o.call(i.anchorMap,g),value:i.anchorMap[g]})}i.anchorMap[g]=_}function Je(i){i.anchorMapTransactions.push(Object.create(null))}function _e(i){const g=i.anchorMapTransactions.pop(),_=i.anchorMapTransactions;if(_.length===0)return;const L=_[_.length-1],C=Object.keys(g);for(let c=0,b=C.length;c<b;c+=1){const E=C[c];o.call(L,E)||(L[E]=g[E])}}function Ze(i){const g=i.anchorMapTransactions.pop(),_=Object.keys(g);for(let L=_.length-1;L>=0;L-=1){const C=g[_[L]];C.existed?i.anchorMap[_[L]]=C.value:delete i.anchorMap[_[L]]}}function Be(i){return{position:i.position,line:i.line,lineStart:i.lineStart,lineIndent:i.lineIndent,firstTabInLine:i.firstTabInLine,tag:i.tag,anchor:i.anchor,kind:i.kind,result:i.result}}function Ie(i,g){i.position=g.position,i.line=g.line,i.lineStart=g.lineStart,i.lineIndent=g.lineIndent,i.firstTabInLine=g.firstTabInLine,i.tag=g.tag,i.anchor=g.anchor,i.kind=g.kind,i.result=g.result}const $e={YAML:function(g,_,L){g.version!==null&&F(g,"duplication of %YAML directive"),L.length!==1&&F(g,"YAML directive accepts exactly one argument");const C=/^([0-9]+)\.([0-9]+)$/.exec(L[0]);C===null&&F(g,"ill-formed argument of the YAML directive");const c=parseInt(C[1],10),b=parseInt(C[2],10);c!==1&&F(g,"unacceptable YAML version of the document"),g.version=L[0],g.checkLineBreaks=b<2,b!==1&&b!==2&&ge(g,"unsupported YAML version of the document")},TAG:function(g,_,L){let C;L.length!==2&&F(g,"TAG directive accepts exactly two arguments");const c=L[0];C=L[1],p.test(c)||F(g,"ill-formed tag handle (first argument) of the TAG directive"),o.call(g.tagMap,c)&&F(g,'there is a previously declared suffix for "'+c+'" tag handle'),y.test(C)||F(g,"ill-formed tag prefix (second argument) of the TAG directive");try{C=decodeURIComponent(C)}catch{F(g,"tag prefix is malformed: "+C)}g.tagMap[c]=C}};function he(i,g,_,L){if(g<_){const C=i.input.slice(g,_);if(L)for(let c=0,b=C.length;c<b;c+=1){const E=C.charCodeAt(c);E===9||E>=32&&E<=1114111||F(i,"expected valid JSON character")}else x.test(C)&&F(i,"the stream contains non-printable characters");i.result+=C}}function Ee(i){i.totalMergeKeys++,i.maxTotalMergeKeys!==-1&&i.totalMergeKeys>i.maxTotalMergeKeys&&F(i,"merge keys exceeded maxTotalMergeKeys ("+i.maxTotalMergeKeys+")")}function Ve(i,g,_,L){e.isObject(_)||F(i,"cannot merge mappings; the provided source object is unacceptable"),Ee(i);const C=Object.keys(_);for(let c=0,b=C.length;c<b;c+=1){const E=C[c];Ee(i),o.call(g,E)||(K(g,E,_[E]),L[E]=!0)}}function Ce(i,g,_,L,C,c,b,E,N){if(Array.isArray(C)){C=Array.prototype.slice.call(C);for(let I=0,D=C.length;I<D;I+=1)Array.isArray(C[I])&&F(i,"nested arrays are not supported inside keys"),typeof C=="object"&&A(C[I])==="[object Object]"&&(C[I]="[object Object]")}if(typeof C=="object"&&A(C)==="[object Object]"&&(C="[object Object]"),C=String(C),g===null&&(g={}),L==="tag:yaml.org,2002:merge")if(Array.isArray(c)){c.length>100&&F(i,"abnormal merge sequence size");for(let I=0,D=c.length;I<D;I+=1)Ve(i,g,c[I],_)}else Ve(i,g,c,_);else!i.json&&!o.call(_,C)&&o.call(g,C)&&(i.line=b||i.line,i.lineStart=E||i.lineStart,i.position=N||i.position,F(i,"duplicated mapping key")),K(g,C,c),delete _[C];return g}function Ge(i){const g=i.input.charCodeAt(i.position);g===10?i.position++:g===13?(i.position++,i.input.charCodeAt(i.position)===10&&i.position++):F(i,"a line break is expected"),i.line+=1,i.lineStart=i.position,i.firstTabInLine=-1}function ie(i,g,_){let L=0,C=i.input.charCodeAt(i.position);for(;C!==0;){for(;v(C);)C===9&&i.firstTabInLine===-1&&(i.firstTabInLine=i.position),C=i.input.charCodeAt(++i.position);if(g&&C===35)do C=i.input.charCodeAt(++i.position);while(C!==10&&C!==13&&C!==0);if(w(C))for(Ge(i),C=i.input.charCodeAt(i.position),L++,i.lineIndent=0;C===32;)i.lineIndent++,C=i.input.charCodeAt(++i.position);else break}return _!==-1&&L!==0&&i.lineIndent<_&&ge(i,"deficient indentation"),L}function me(i){let g=i.position,_=i.input.charCodeAt(g);return!!((_===45||_===46)&&_===i.input.charCodeAt(g+1)&&_===i.input.charCodeAt(g+2)&&(g+=3,_=i.input.charCodeAt(g),_===0||S(_)))}function Re(i,g){g===1?i.result+=" ":g>1&&(i.result+=e.repeat(`
|
|
34
|
-
`,g-1))}function De(i,g,_){let L,C,c,b,E,N;const I=i.kind,D=i.result;let k=i.input.charCodeAt(i.position);if(S(k)||R(k)||k===35||k===38||k===42||k===33||k===124||k===62||k===39||k===34||k===37||k===64||k===96)return!1;if(k===63||k===45){const j=i.input.charCodeAt(i.position+1);if(S(j)||_&&R(j))return!1}for(i.kind="scalar",i.result="",L=C=i.position,c=!1;k!==0;){if(k===58){const j=i.input.charCodeAt(i.position+1);if(S(j)||_&&R(j))break}else if(k===35){const j=i.input.charCodeAt(i.position-1);if(S(j))break}else{if(i.position===i.lineStart&&me(i)||_&&R(k))break;if(w(k))if(b=i.line,E=i.lineStart,N=i.lineIndent,ie(i,!1,-1),i.lineIndent>=g){c=!0,k=i.input.charCodeAt(i.position);continue}else{i.position=C,i.line=b,i.lineStart=E,i.lineIndent=N;break}}c&&(he(i,L,C,!1),Re(i,i.line-b),L=C=i.position,c=!1),v(k)||(C=i.position+1),k=i.input.charCodeAt(++i.position)}return he(i,L,C,!1),i.result?!0:(i.kind=I,i.result=D,!1)}function ye(i,g){let _,L,C=i.input.charCodeAt(i.position);if(C!==39)return!1;for(i.kind="scalar",i.result="",i.position++,_=L=i.position;(C=i.input.charCodeAt(i.position))!==0;)if(C===39)if(he(i,_,i.position,!0),C=i.input.charCodeAt(++i.position),C===39)_=i.position,i.position++,L=i.position;else return!0;else w(C)?(he(i,_,L,!0),Re(i,ie(i,!1,g)),_=L=i.position):i.position===i.lineStart&&me(i)?F(i,"unexpected end of the document within a single quoted scalar"):(i.position++,v(C)||(L=i.position));F(i,"unexpected end of the stream within a single quoted scalar")}function dn(i,g){let _,L,C,c=i.input.charCodeAt(i.position);if(c!==34)return!1;for(i.kind="scalar",i.result="",i.position++,_=L=i.position;(c=i.input.charCodeAt(i.position))!==0;){if(c===34)return he(i,_,i.position,!0),i.position++,!0;if(c===92){if(he(i,_,i.position,!0),c=i.input.charCodeAt(++i.position),w(c))ie(i,!1,g);else if(c<256&&ne[c])i.result+=H[c],i.position++;else if((C=M(c))>0){let b=C,E=0;for(;b>0;b--)c=i.input.charCodeAt(++i.position),(C=W(c))>=0?E=(E<<4)+C:F(i,"expected hexadecimal character");i.result+=z(E),i.position++}else F(i,"unknown escape sequence");_=L=i.position}else w(c)?(he(i,_,L,!0),Re(i,ie(i,!1,g)),_=L=i.position):i.position===i.lineStart&&me(i)?F(i,"unexpected end of the document within a double quoted scalar"):(i.position++,v(c)||(L=i.position))}F(i,"unexpected end of the stream within a double quoted scalar")}function hn(i,g){let _=!0,L,C,c;const b=i.tag;let E;const N=i.anchor;let I,D,k,j;const B=Object.create(null);let G,$,U,Y=i.input.charCodeAt(i.position);if(Y===91)I=93,j=!1,E=[];else if(Y===123)I=125,j=!0,E={};else return!1;for(i.anchor!==null&&ae(i,i.anchor,E),Y=i.input.charCodeAt(++i.position);Y!==0;){if(ie(i,!0,g),Y=i.input.charCodeAt(i.position),Y===I)return i.position++,i.tag=b,i.anchor=N,i.kind=j?"mapping":"sequence",i.result=E,!0;if(_?Y===44&&F(i,"expected the node content, but found ','"):F(i,"missed comma between flow collection entries"),$=G=U=null,D=k=!1,Y===63){const je=i.input.charCodeAt(i.position+1);S(je)&&(D=k=!0,i.position++,ie(i,!0,g))}L=i.line,C=i.lineStart,c=i.position,Fe(i,g,l,!1,!0),$=i.tag,G=i.result,ie(i,!0,g),Y=i.input.charCodeAt(i.position),(k||i.line===L)&&Y===58&&(D=!0,Y=i.input.charCodeAt(++i.position),ie(i,!0,g),Fe(i,g,l,!1,!0),U=i.result),j?Ce(i,E,B,$,G,U,L,C,c):D?E.push(Ce(i,null,B,$,G,U,L,C,c)):E.push(G),ie(i,!0,g),Y=i.input.charCodeAt(i.position),Y===44?(_=!0,Y=i.input.charCodeAt(++i.position)):_=!1}F(i,"unexpected end of the stream within a flow collection")}function Me(i,g){let _,L=u,C=!1,c=!1,b=g,E=0,N=!1,I,D=i.input.charCodeAt(i.position);if(D===124)_=!1;else if(D===62)_=!0;else return!1;for(i.kind="scalar",i.result="";D!==0;)if(D=i.input.charCodeAt(++i.position),D===43||D===45)u===L?L=D===43?h:d:F(i,"repeat of a chomping mode identifier");else if((I=P(D))>=0)I===0?F(i,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?F(i,"repeat of an indentation width identifier"):(b=g+I-1,c=!0);else break;if(v(D)){do D=i.input.charCodeAt(++i.position);while(v(D));if(D===35)do D=i.input.charCodeAt(++i.position);while(!w(D)&&D!==0)}for(;D!==0;){for(Ge(i),i.lineIndent=0,D=i.input.charCodeAt(i.position);(!c||i.lineIndent<b)&&D===32;)i.lineIndent++,D=i.input.charCodeAt(++i.position);if(!c&&i.lineIndent>b&&(b=i.lineIndent),w(D)){E++;continue}if(!c&&b===0&&F(i,"missing indentation for block scalar"),i.lineIndent<b){L===h?i.result+=e.repeat(`
|
|
35
|
-
`,C?1+E:E):L===u&&C&&(i.result+=`
|
|
36
|
-
`);break}_?v(D)?(N=!0,i.result+=e.repeat(`
|
|
37
|
-
`,C?1+E:E)):N?(N=!1,i.result+=e.repeat(`
|
|
38
|
-
`,E+1)):E===0?C&&(i.result+=" "):i.result+=e.repeat(`
|
|
39
|
-
`,E):i.result+=e.repeat(`
|
|
40
|
-
`,C?1+E:E),C=!0,c=!0,E=0;const k=i.position;for(;!w(D)&&D!==0;)D=i.input.charCodeAt(++i.position);he(i,k,i.position,!1)}return!0}function pn(i,g){const _=i.tag,L=i.anchor,C=[];let c=!1;if(i.firstTabInLine!==-1)return!1;i.anchor!==null&&ae(i,i.anchor,C);let b=i.input.charCodeAt(i.position);for(;b!==0&&(i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,F(i,"tab characters must not be used in indentation")),b===45);){const E=i.input.charCodeAt(i.position+1);if(!S(E))break;if(c=!0,i.position++,ie(i,!0,-1)&&i.lineIndent<=g){C.push(null),b=i.input.charCodeAt(i.position);continue}const N=i.line;if(Fe(i,g,a,!1,!0),C.push(i.result),ie(i,!0,-1),b=i.input.charCodeAt(i.position),(i.line===N||i.lineIndent>g)&&b!==0)F(i,"bad indentation of a sequence entry");else if(i.lineIndent<g)break}return c?(i.tag=_,i.anchor=L,i.kind="sequence",i.result=C,!0):!1}function gn(i,g,_){let L,C,c,b;const E=i.tag,N=i.anchor,I={},D=Object.create(null);let k=null,j=null,B=null,G=!1,$=!1;if(i.firstTabInLine!==-1)return!1;i.anchor!==null&&ae(i,i.anchor,I);let U=i.input.charCodeAt(i.position);for(;U!==0;){!G&&i.firstTabInLine!==-1&&(i.position=i.firstTabInLine,F(i,"tab characters must not be used in indentation"));const Y=i.input.charCodeAt(i.position+1),je=i.line;if((U===63||U===58)&&S(Y))U===63?(G&&(Ce(i,I,D,k,j,null,C,c,b),k=j=B=null),$=!0,G=!0,L=!0):G?(G=!1,L=!0):F(i,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),i.position+=1,U=Y;else{if(C=i.line,c=i.lineStart,b=i.position,!Fe(i,_,s,!1,!0))break;if(i.line===je){for(U=i.input.charCodeAt(i.position);v(U);)U=i.input.charCodeAt(++i.position);if(U===58)U=i.input.charCodeAt(++i.position),S(U)||F(i,"a whitespace character is expected after the key-value separator within a block mapping"),G&&(Ce(i,I,D,k,j,null,C,c,b),k=j=B=null),$=!0,G=!1,L=!1,k=i.tag,j=i.result;else if($)F(i,"can not read an implicit mapping pair; a colon is missed");else return i.tag=E,i.anchor=N,!0}else if($)F(i,"can not read a block mapping entry; a multiline key may not be an implicit key");else return i.tag=E,i.anchor=N,!0}if((i.line===je||i.lineIndent>g)&&(G&&(C=i.line,c=i.lineStart,b=i.position),Fe(i,g,f,!0,L)&&(G?j=i.result:B=i.result),G||(Ce(i,I,D,k,j,B,C,c,b),k=j=B=null),ie(i,!0,-1),U=i.input.charCodeAt(i.position)),(i.line===je||i.lineIndent>g)&&U!==0)F(i,"bad indentation of a mapping entry");else if(i.lineIndent<g)break}return G&&Ce(i,I,D,k,j,null,C,c,b),$&&(i.tag=E,i.anchor=N,i.kind="mapping",i.result=I),$}function mn(i){let g=!1,_=!1,L,C,c=i.input.charCodeAt(i.position);if(c!==33)return!1;i.tag!==null&&F(i,"duplication of a tag property"),c=i.input.charCodeAt(++i.position),c===60?(g=!0,c=i.input.charCodeAt(++i.position)):c===33?(_=!0,L="!!",c=i.input.charCodeAt(++i.position)):L="!";let b=i.position;if(g){do c=i.input.charCodeAt(++i.position);while(c!==0&&c!==62);i.position<i.length?(C=i.input.slice(b,i.position),c=i.input.charCodeAt(++i.position)):F(i,"unexpected end of the stream within a verbatim tag")}else{for(;c!==0&&!S(c);)c===33&&(_?F(i,"tag suffix cannot contain exclamation marks"):(L=i.input.slice(b-1,i.position+1),p.test(L)||F(i,"named tag handle cannot contain such characters"),_=!0,b=i.position+1)),c=i.input.charCodeAt(++i.position);C=i.input.slice(b,i.position),m.test(C)&&F(i,"tag suffix cannot contain flow indicator characters")}C&&!y.test(C)&&F(i,"tag name cannot contain such characters: "+C);try{C=decodeURIComponent(C)}catch{F(i,"tag name is malformed: "+C)}return g?i.tag=C:o.call(i.tagMap,L)?i.tag=i.tagMap[L]+C:L==="!"?i.tag="!"+C:L==="!!"?i.tag="tag:yaml.org,2002:"+C:F(i,'undeclared tag handle "'+L+'"'),!0}function yn(i){let g=i.input.charCodeAt(i.position);if(g!==38)return!1;i.anchor!==null&&F(i,"duplication of an anchor property"),g=i.input.charCodeAt(++i.position);const _=i.position;for(;g!==0&&!S(g)&&!R(g);)g=i.input.charCodeAt(++i.position);return i.position===_&&F(i,"name of an anchor node must contain at least one character"),i.anchor=i.input.slice(_,i.position),!0}function Mn(i){let g=i.input.charCodeAt(i.position);if(g!==42)return!1;g=i.input.charCodeAt(++i.position);const _=i.position;for(;g!==0&&!S(g)&&!R(g);)g=i.input.charCodeAt(++i.position);i.position===_&&F(i,"name of an alias node must contain at least one character");const L=i.input.slice(_,i.position);return o.call(i.anchorMap,L)||F(i,'unidentified alias "'+L+'"'),i.result=i.anchorMap[L],ie(i,!0,-1),!0}function wn(i,g,_,L){const C=Be(i);return Je(i),Ie(i,g),i.tag=null,i.anchor=null,i.kind=null,i.result=null,gn(i,_,L)&&i.kind==="mapping"?(_e(i),!0):(Ze(i),Ie(i,C),!1)}function Fe(i,g,_,L,C){let c,b,E=1,N=!1,I=!1,D=null,k,j,B;i.depth>=i.maxDepth&&F(i,"nesting exceeded maxDepth ("+i.maxDepth+")"),i.depth+=1,i.listener!==null&&i.listener("open",i),i.tag=null,i.anchor=null,i.kind=null,i.result=null;const G=c=b=f===_||a===_;if(L&&ie(i,!0,-1)&&(N=!0,i.lineIndent>g?E=1:i.lineIndent===g?E=0:i.lineIndent<g&&(E=-1)),E===1)for(;;){const $=i.input.charCodeAt(i.position),U=Be(i);if(N&&($===33&&i.tag!==null||$===38&&i.anchor!==null)||!mn(i)&&!yn(i))break;D===null&&(D=U),ie(i,!0,-1)?(N=!0,b=G,i.lineIndent>g?E=1:i.lineIndent===g?E=0:i.lineIndent<g&&(E=-1)):b=!1}if(b&&(b=N||C),E===1||f===_)if(l===_||s===_?j=g:j=g+1,B=i.position-i.lineStart,E===1)if(b&&(pn(i,B)||gn(i,B,j))||hn(i,j))I=!0;else{const $=i.input.charCodeAt(i.position);D!==null&&G&&!b&&$!==124&&$!==62&&wn(i,D,D.position-D.lineStart,j)||c&&Me(i,j)||ye(i,j)||dn(i,j)?I=!0:Mn(i)?(I=!0,(i.tag!==null||i.anchor!==null)&&F(i,"alias node should not have any properties")):De(i,j,l===_)&&(I=!0,i.tag===null&&(i.tag="?")),i.anchor!==null&&ae(i,i.anchor,i.result)}else E===0&&(I=b&&pn(i,B));if(i.tag===null)i.anchor!==null&&ae(i,i.anchor,i.result);else if(i.tag==="?"){i.result!==null&&i.kind!=="scalar"&&F(i,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+i.kind+'"');for(let $=0,U=i.implicitTypes.length;$<U;$+=1)if(k=i.implicitTypes[$],k.resolve(i.result)){i.result=k.construct(i.result),i.tag=k.tag,i.anchor!==null&&ae(i,i.anchor,i.result);break}}else if(i.tag!=="!"){if(o.call(i.typeMap[i.kind||"fallback"],i.tag))k=i.typeMap[i.kind||"fallback"][i.tag];else{k=null;const $=i.typeMap.multi[i.kind||"fallback"];for(let U=0,Y=$.length;U<Y;U+=1)if(i.tag.slice(0,$[U].tag.length)===$[U].tag){k=$[U];break}}k||F(i,"unknown tag !<"+i.tag+">"),i.result!==null&&k.kind!==i.kind&&F(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+k.kind+'", not "'+i.kind+'"'),k.resolve(i.result,i.tag)?(i.result=k.construct(i.result,i.tag),i.anchor!==null&&ae(i,i.anchor,i.result)):F(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}return i.listener!==null&&i.listener("close",i),i.depth-=1,i.tag!==null||i.anchor!==null||I}function Fn(i){const g=i.position;let _=!1,L;for(i.version=null,i.checkLineBreaks=i.legacy,i.tagMap=Object.create(null),i.anchorMap=Object.create(null);(L=i.input.charCodeAt(i.position))!==0&&(ie(i,!0,-1),L=i.input.charCodeAt(i.position),!(i.lineIndent>0||L!==37));){_=!0,L=i.input.charCodeAt(++i.position);let C=i.position;for(;L!==0&&!S(L);)L=i.input.charCodeAt(++i.position);const c=i.input.slice(C,i.position),b=[];for(c.length<1&&F(i,"directive name must not be less than one character in length");L!==0;){for(;v(L);)L=i.input.charCodeAt(++i.position);if(L===35){do L=i.input.charCodeAt(++i.position);while(L!==0&&!w(L));break}if(w(L))break;for(C=i.position;L!==0&&!S(L);)L=i.input.charCodeAt(++i.position);b.push(i.input.slice(C,i.position))}L!==0&&Ge(i),o.call($e,c)?$e[c](i,c,b):ge(i,'unknown document directive "'+c+'"')}if(ie(i,!0,-1),i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45?(i.position+=3,ie(i,!0,-1)):_&&F(i,"directives end mark is expected"),Fe(i,i.lineIndent-1,f,!1,!0),ie(i,!0,-1),i.checkLineBreaks&&T.test(i.input.slice(g,i.position))&&ge(i,"non-ASCII line breaks are interpreted as content"),i.documents.push(i.result),i.position===i.lineStart&&me(i)){i.input.charCodeAt(i.position)===46&&(i.position+=3,ie(i,!0,-1));return}i.position<i.length-1&&F(i,"end of the stream or a document separator is expected")}function Qe(i,g){i=String(i),g=g||{},i.length!==0&&(i.charCodeAt(i.length-1)!==10&&i.charCodeAt(i.length-1)!==13&&(i+=`
|
|
41
|
-
`),i.charCodeAt(0)===65279&&(i=i.slice(1)));const _=new V(i,g),L=i.indexOf("\0");for(L!==-1&&(_.position=L,F(_,"null byte is not allowed in input")),_.input+="\0";_.input.charCodeAt(_.position)===32;)_.lineIndent+=1,_.position+=1;for(;_.position<_.length-1;)Fn(_);return _.documents}function jn(i,g,_){g!==null&&typeof g=="object"&&typeof _>"u"&&(_=g,g=null);const L=Qe(i,_);if(typeof g!="function")return L;for(let C=0,c=L.length;C<c;C+=1)g(L[C])}function Hn(i,g){const _=Qe(i,g);if(_.length!==0){if(_.length===1)return _[0];throw new n("expected a single document in the stream, but found more")}}return bn.loadAll=jn,bn.load=Hn,bn}var st={},oi;function fo(){if(oi)return st;oi=1;const e=an(),n=un(),t=Et(),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty,l=65279,s=9,a=10,f=13,u=32,d=33,h=34,x=35,T=37,m=38,p=39,y=42,A=44,w=45,v=58,S=61,R=62,W=63,M=64,P=91,q=93,z=96,K=123,ne=124,H=125,V={};V[0]="\\0",V[7]="\\a",V[8]="\\b",V[9]="\\t",V[10]="\\n",V[11]="\\v",V[12]="\\f",V[13]="\\r",V[27]="\\e",V[34]='\\"',V[92]="\\\\",V[133]="\\N",V[160]="\\_",V[8232]="\\L",V[8233]="\\P";const te=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"],F=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function ge(c,b){if(b===null)return{};const E={},N=Object.keys(b);for(let I=0,D=N.length;I<D;I+=1){let k=N[I],j=String(b[k]);k.slice(0,2)==="!!"&&(k="tag:yaml.org,2002:"+k.slice(2));const B=c.compiledTypeMap.fallback[k];B&&o.call(B.styleAliases,j)&&(j=B.styleAliases[j]),E[k]=j}return E}function ae(c){let b,E;const N=c.toString(16).toUpperCase();if(c<=255)b="x",E=2;else if(c<=65535)b="u",E=4;else if(c<=4294967295)b="U",E=8;else throw new n("code point within a string may not be greater than 0xFFFFFFFF");return"\\"+b+e.repeat("0",E-N.length)+N}const Je=1,_e=2;function Ze(c){this.schema=c.schema||t,this.indent=Math.max(1,c.indent||2),this.noArrayIndent=c.noArrayIndent||!1,this.skipInvalid=c.skipInvalid||!1,this.flowLevel=e.isNothing(c.flowLevel)?-1:c.flowLevel,this.styleMap=ge(this.schema,c.styles||null),this.sortKeys=c.sortKeys||!1,this.lineWidth=c.lineWidth||80,this.noRefs=c.noRefs||!1,this.noCompatMode=c.noCompatMode||!1,this.condenseFlow=c.condenseFlow||!1,this.quotingType=c.quotingType==='"'?_e:Je,this.forceQuotes=c.forceQuotes||!1,this.replacer=typeof c.replacer=="function"?c.replacer:null,this.implicitTypes=this.schema.compiledImplicit,this.explicitTypes=this.schema.compiledExplicit,this.tag=null,this.result="",this.duplicates=[],this.usedDuplicates=null}function Be(c,b){const E=e.repeat(" ",b);let N=0,I="";const D=c.length;for(;N<D;){let k;const j=c.indexOf(`
|
|
42
|
-
`,N);j===-1?(k=c.slice(N),N=D):(k=c.slice(N,j+1),N=j+1),k.length&&k!==`
|
|
43
|
-
`&&(I+=E),I+=k}return I}function Ie(c,b){return`
|
|
44
|
-
`+e.repeat(" ",c.indent*b)}function $e(c,b){for(let E=0,N=c.implicitTypes.length;E<N;E+=1)if(c.implicitTypes[E].resolve(b))return!0;return!1}function he(c){return c===u||c===s}function Ee(c){return c>=32&&c<=126||c>=161&&c<=55295&&c!==8232&&c!==8233||c>=57344&&c<=65533&&c!==l||c>=65536&&c<=1114111}function Ve(c){return Ee(c)&&c!==l&&c!==f&&c!==a}function Ce(c,b,E){const N=Ve(c),I=N&&!he(c);return(E?N:N&&c!==A&&c!==P&&c!==q&&c!==K&&c!==H)&&c!==x&&!(b===v&&!I)||Ve(b)&&!he(b)&&c===x||b===v&&I}function Ge(c){return Ee(c)&&c!==l&&!he(c)&&c!==w&&c!==W&&c!==v&&c!==A&&c!==P&&c!==q&&c!==K&&c!==H&&c!==x&&c!==m&&c!==y&&c!==d&&c!==ne&&c!==S&&c!==R&&c!==p&&c!==h&&c!==T&&c!==M&&c!==z}function ie(c){return!he(c)&&c!==v}function me(c,b){const E=c.charCodeAt(b);let N;return E>=55296&&E<=56319&&b+1<c.length&&(N=c.charCodeAt(b+1),N>=56320&&N<=57343)?(E-55296)*1024+N-56320+65536:E}function Re(c){return/^\n* /.test(c)}const De=1,ye=2,dn=3,hn=4,Me=5;function pn(c,b,E,N,I,D,k,j){let B,G=0,$=null,U=!1,Y=!1;const je=N!==-1;let Xe=-1,en=Ge(me(c,0))&&ie(me(c,c.length-1));if(b||k)for(B=0;B<c.length;G>=65536?B+=2:B++){if(G=me(c,B),!Ee(G))return Me;en=en&&Ce(G,$,j),$=G}else{for(B=0;B<c.length;G>=65536?B+=2:B++){if(G=me(c,B),G===a)U=!0,je&&(Y=Y||B-Xe-1>N&&c[Xe+1]!==" ",Xe=B);else if(!Ee(G))return Me;en=en&&Ce(G,$,j),$=G}Y=Y||je&&B-Xe-1>N&&c[Xe+1]!==" "}return!U&&!Y?en&&!k&&!I(c)?De:D===_e?Me:ye:E>9&&Re(c)?Me:k?D===_e?Me:ye:Y?hn:dn}function gn(c,b,E,N,I){c.dump=(function(){if(b.length===0)return c.quotingType===_e?'""':"''";if(!c.noCompatMode&&(te.indexOf(b)!==-1||F.test(b)))return c.quotingType===_e?'"'+b+'"':"'"+b+"'";const D=c.indent*Math.max(1,E),k=c.lineWidth===-1?-1:Math.max(Math.min(c.lineWidth,40),c.lineWidth-D),j=N||c.flowLevel>-1&&E>=c.flowLevel;function B(G){return $e(c,G)}switch(pn(b,j,c.indent,k,B,c.quotingType,c.forceQuotes&&!N,I)){case De:return b;case ye:return"'"+b.replace(/'/g,"''")+"'";case dn:return"|"+mn(b,c.indent)+yn(Be(b,D));case hn:return">"+mn(b,c.indent)+yn(Be(Mn(b,k),D));case Me:return'"'+Fe(b)+'"';default:throw new n("impossible error: invalid scalar style")}})()}function mn(c,b){const E=Re(c)?String(b):"",N=c[c.length-1]===`
|
|
45
|
-
`,D=N&&(c[c.length-2]===`
|
|
46
|
-
`||c===`
|
|
47
|
-
`)?"+":N?"":"-";return E+D+`
|
|
48
|
-
`}function yn(c){return c[c.length-1]===`
|
|
49
|
-
`?c.slice(0,-1):c}function Mn(c,b){const E=/(\n+)([^\n]*)/g;let N=(function(){let j=c.indexOf(`
|
|
50
|
-
`);return j=j!==-1?j:c.length,E.lastIndex=j,wn(c.slice(0,j),b)})(),I=c[0]===`
|
|
51
|
-
`||c[0]===" ",D,k;for(;k=E.exec(c);){const j=k[1],B=k[2];D=B[0]===" ",N+=j+(!I&&!D&&B!==""?`
|
|
52
|
-
`:"")+wn(B,b),I=D}return N}function wn(c,b){if(c===""||c[0]===" ")return c;const E=/ [^ ]/g;let N,I=0,D,k=0,j=0,B="";for(;N=E.exec(c);)j=N.index,j-I>b&&(D=k>I?k:j,B+=`
|
|
53
|
-
`+c.slice(I,D),I=D+1),k=j;return B+=`
|
|
54
|
-
`,c.length-I>b&&k>I?B+=c.slice(I,k)+`
|
|
55
|
-
`+c.slice(k+1):B+=c.slice(I),B.slice(1)}function Fe(c){let b="",E=0;for(let N=0;N<c.length;E>=65536?N+=2:N++){E=me(c,N);const I=V[E];!I&&Ee(E)?(b+=c[N],E>=65536&&(b+=c[N+1])):b+=I||ae(E)}return b}function Fn(c,b,E){let N="";const I=c.tag;for(let D=0,k=E.length;D<k;D+=1){let j=E[D];c.replacer&&(j=c.replacer.call(E,String(D),j)),(g(c,b,j,!1,!1)||typeof j>"u"&&g(c,b,null,!1,!1))&&(N!==""&&(N+=","+(c.condenseFlow?"":" ")),N+=c.dump)}c.tag=I,c.dump="["+N+"]"}function Qe(c,b,E,N){let I="";const D=c.tag;for(let k=0,j=E.length;k<j;k+=1){let B=E[k];c.replacer&&(B=c.replacer.call(E,String(k),B)),(g(c,b+1,B,!0,!0,!1,!0)||typeof B>"u"&&g(c,b+1,null,!0,!0,!1,!0))&&((!N||I!=="")&&(I+=Ie(c,b)),c.dump&&a===c.dump.charCodeAt(0)?I+="-":I+="- ",I+=c.dump)}c.tag=D,c.dump=I||"[]"}function jn(c,b,E){let N="";const I=c.tag,D=Object.keys(E);for(let k=0,j=D.length;k<j;k+=1){let B="";N!==""&&(B+=", "),c.condenseFlow&&(B+='"');const G=D[k];let $=E[G];c.replacer&&($=c.replacer.call(E,G,$)),g(c,b,G,!1,!1)&&(c.dump.length>1024&&(B+="? "),B+=c.dump+(c.condenseFlow?'"':"")+":"+(c.condenseFlow?"":" "),g(c,b,$,!1,!1)&&(B+=c.dump,N+=B))}c.tag=I,c.dump="{"+N+"}"}function Hn(c,b,E,N){let I="";const D=c.tag,k=Object.keys(E);if(c.sortKeys===!0)k.sort();else if(typeof c.sortKeys=="function")k.sort(c.sortKeys);else if(c.sortKeys)throw new n("sortKeys must be a boolean or a function");for(let j=0,B=k.length;j<B;j+=1){let G="";(!N||I!=="")&&(G+=Ie(c,b));const $=k[j];let U=E[$];if(c.replacer&&(U=c.replacer.call(E,$,U)),!g(c,b+1,$,!0,!0,!0))continue;const Y=c.tag!==null&&c.tag!=="?"||c.dump&&c.dump.length>1024;Y&&(c.dump&&a===c.dump.charCodeAt(0)?G+="?":G+="? "),G+=c.dump,Y&&(G+=Ie(c,b)),g(c,b+1,U,!0,Y)&&(c.dump&&a===c.dump.charCodeAt(0)?G+=":":G+=": ",G+=c.dump,I+=G)}c.tag=D,c.dump=I||"{}"}function i(c,b,E){const N=E?c.explicitTypes:c.implicitTypes;for(let I=0,D=N.length;I<D;I+=1){const k=N[I];if((k.instanceOf||k.predicate)&&(!k.instanceOf||typeof b=="object"&&b instanceof k.instanceOf)&&(!k.predicate||k.predicate(b))){if(E?k.multi&&k.representName?c.tag=k.representName(b):c.tag=k.tag:c.tag="?",k.represent){const j=c.styleMap[k.tag]||k.defaultStyle;let B;if(r.call(k.represent)==="[object Function]")B=k.represent(b,j);else if(o.call(k.represent,j))B=k.represent[j](b,j);else throw new n("!<"+k.tag+'> tag resolver accepts not "'+j+'" style');c.dump=B}return!0}}return!1}function g(c,b,E,N,I,D,k){c.tag=null,c.dump=E,i(c,E,!1)||i(c,E,!0);const j=r.call(c.dump),B=N;N&&(N=c.flowLevel<0||c.flowLevel>b);const G=j==="[object Object]"||j==="[object Array]";let $,U;if(G&&($=c.duplicates.indexOf(E),U=$!==-1),(c.tag!==null&&c.tag!=="?"||U||c.indent!==2&&b>0)&&(I=!1),U&&c.usedDuplicates[$])c.dump="*ref_"+$;else{if(G&&U&&!c.usedDuplicates[$]&&(c.usedDuplicates[$]=!0),j==="[object Object]")N&&Object.keys(c.dump).length!==0?(Hn(c,b,c.dump,I),U&&(c.dump="&ref_"+$+c.dump)):(jn(c,b,c.dump),U&&(c.dump="&ref_"+$+" "+c.dump));else if(j==="[object Array]")N&&c.dump.length!==0?(c.noArrayIndent&&!k&&b>0?Qe(c,b-1,c.dump,I):Qe(c,b,c.dump,I),U&&(c.dump="&ref_"+$+c.dump)):(Fn(c,b,c.dump),U&&(c.dump="&ref_"+$+" "+c.dump));else if(j==="[object String]")c.tag!=="?"&&gn(c,c.dump,b,D,B);else{if(j==="[object Undefined]")return!1;if(c.skipInvalid)return!1;throw new n("unacceptable kind of an object to dump "+j)}if(c.tag!==null&&c.tag!=="?"){let Y=encodeURI(c.tag[0]==="!"?c.tag.slice(1):c.tag).replace(/!/g,"%21");c.tag[0]==="!"?Y="!"+Y:Y.slice(0,18)==="tag:yaml.org,2002:"?Y="!!"+Y.slice(18):Y="!<"+Y+">",c.dump=Y+" "+c.dump}}return!0}function _(c,b){const E=[],N=[];L(c,E,N);const I=N.length;for(let D=0;D<I;D+=1)b.duplicates.push(E[N[D]]);b.usedDuplicates=new Array(I)}function L(c,b,E){if(c!==null&&typeof c=="object"){const N=b.indexOf(c);if(N!==-1)E.indexOf(N)===-1&&E.push(N);else if(b.push(c),Array.isArray(c))for(let I=0,D=c.length;I<D;I+=1)L(c[I],b,E);else{const I=Object.keys(c);for(let D=0,k=I.length;D<k;D+=1)L(c[I[D]],b,E)}}}function C(c,b){b=b||{};const E=new Ze(b);E.noRefs||_(c,E);let N=c;return E.replacer&&(N=E.replacer.call({"":N},"",N)),g(E,0,N,!0,!0)?E.dump+`
|
|
56
|
-
`:""}return st.dump=C,st}var li;function ho(){if(li)return ue;li=1;const e=uo(),n=fo();function t(r,o){return function(){throw new Error("Function yaml."+r+" is removed in js-yaml 4. Use yaml."+o+" instead, which is now safe by default.")}}return ue.Type=pe(),ue.Schema=Pi(),ue.FAILSAFE_SCHEMA=Gi(),ue.JSON_SCHEMA=zi(),ue.CORE_SCHEMA=Ki(),ue.DEFAULT_SCHEMA=Et(),ue.load=e.load,ue.loadAll=e.loadAll,ue.dump=n.dump,ue.YAMLException=un(),ue.types={binary:Qi(),float:Yi(),map:Vi(),null:$i(),pairs:er(),set:nr(),timestamp:Ji(),bool:qi(),int:Ui(),merge:Zi(),omap:Xi(),seq:Bi(),str:Wi()},ue.safeLoad=t("safeLoad","load"),ue.safeLoadAll=t("safeLoadAll","loadAll"),ue.safeDump=t("safeDump","dump"),ue}var po=ho();const go=co(po),{Type:Jl,Schema:Zl,FAILSAFE_SCHEMA:Ql,JSON_SCHEMA:Xl,CORE_SCHEMA:es,DEFAULT_SCHEMA:ns,load:si,loadAll:ts,dump:yt,YAMLException:is,types:rs,safeLoad:os,safeLoadAll:ls,safeDump:ss}=go,mo=so;var ee;(function(e){e[e.DEFAULT=0]="DEFAULT",e[e.ADDED=1]="ADDED",e[e.REMOVED=2]="REMOVED",e[e.CHANGED=3]="CHANGED"})(ee||(ee={}));function Ae(e,n){return n==="yaml"?yt(e,{indent:2,lineWidth:-1,noRefs:!0}).trimEnd():JSON.stringify(e,null,2)}function yo(e,n,t="json"){const r=Ae(e,t),o=Ae(n,t);return r===o?[{value:r}]:Ct(e,n,0,t)}function wo(e,n){return yo(e,n,"json")}function xo(e,n){try{const t=JSON.parse(e),r=JSON.parse(n),o=JSON.stringify(t),l=JSON.stringify(r);return o===l?[{value:e}]:Oe(e,n,{newlineIsToken:!1})}catch{return Oe(e,n,{newlineIsToken:!1})}}function bo(e,n){const t=si(e),r=si(n),o=yt(t,{indent:2,lineWidth:-1,noRefs:!0}),l=yt(r,{indent:2,lineWidth:-1,noRefs:!0});return o===l?[{value:e}]:Oe(e,n,{newlineIsToken:!1})}function Ct(e,n,t,r="json"){const o=Ae(e,r),l=Ae(n,r);return o===l?[{value:Le(o,t,r)}]:typeof e=="object"&&e!==null&&typeof n=="object"&&n!==null&&!Array.isArray(e)&&!Array.isArray(n)?vo(e,n,t,r):Array.isArray(e)&&Array.isArray(n)?Ao(e,n,t,r):Eo(o,l,t,r)}function vo(e,n,t,r="json"){const o=[],l=" ".repeat(t),s=" ".repeat(t+1),a=new Set(Object.keys(e)),f=Object.keys(n),u=[...a].filter(h=>!(h in n)),d=[...f,...u];o.push({value:`{
|
|
57
|
-
`});for(let h=0;h<d.length;h++){const x=d[h],m=h===d.length-1?"":",",p=x in e,y=x in n;if(p&&y){const A=Ae(e[x],r),w=Ae(n[x],r);if(A===w){const v=Le(A,t+1);o.push({value:s+JSON.stringify(x)+": "+v+m+`
|
|
58
|
-
`})}else{const v=s+JSON.stringify(x)+": ",S=Ct(e[x],n[x],t+1,r);if(S.length>0)if(!S[0].removed&&!S[0].added)S[0].value=v+S[0].value;else{const R=S.find(M=>M.removed),W=S.find(M=>M.added);R&&(R.value=v+R.value),W&&(W.value=v+W.value)}if(m&&S.length>0){const R=S[S.length-1];R.value=R.value.replace(/\n$/,m+`
|
|
59
|
-
`)}o.push(...S)}}else if(p){const A=Le(Ae(e[x],r),t+1);o.push({removed:!0,value:s+JSON.stringify(x)+": "+A+m+`
|
|
60
|
-
`})}else{const A=Le(Ae(n[x],r),t+1);o.push({added:!0,value:s+JSON.stringify(x)+": "+A+m+`
|
|
61
|
-
`})}}return o.push({value:l+`}
|
|
62
|
-
`}),o}function Ao(e,n,t,r="json"){const o=[],l=" ".repeat(t),s=" ".repeat(t+1);o.push({value:`[
|
|
63
|
-
`});const a=Math.max(e.length,n.length);for(let f=0;f<a;f++){const d=f===a-1?"":",";if(f>=e.length){const h=Le(Ae(n[f],r),t+1);o.push({added:!0,value:s+h+d+`
|
|
64
|
-
`})}else if(f>=n.length){const h=Le(Ae(e[f],r),t+1);o.push({removed:!0,value:s+h+d+`
|
|
65
|
-
`})}else{const h=Ae(e[f],r),x=Ae(n[f],r);if(h===x){const T=Le(h,t+1);o.push({value:s+T+d+`
|
|
66
|
-
`})}else{const T=Ct(e[f],n[f],t+1,r);if(T.length>0&&(T[0].value=s+T[0].value),d&&T.length>0){const m=T[T.length-1];m.value=m.value.replace(/\n$/,d+`
|
|
67
|
-
`)}o.push(...T)}}}return o.push({value:l+`]
|
|
68
|
-
`}),o}function Eo(e,n,t,r="json"){const o=Le(e,t),l=Le(n,t);return Oe(o,l).map(a=>({value:a.value,added:a.added,removed:a.removed}))}function Le(e,n,t="json"){if(n===0)return e;const r=" ".repeat(n);return e.split(`
|
|
69
|
-
`).map((o,l)=>l===0?o:r+o).join(`
|
|
70
|
-
`)}var se;(function(e){e.CHARS="diffChars",e.WORDS="diffWords",e.WORDS_WITH_SPACE="diffWordsWithSpace",e.LINES="diffLines",e.TRIMMED_LINES="diffTrimmedLines",e.SENTENCES="diffSentences",e.CSS="diffCss",e.JSON="diffJson",e.YAML="diffYaml"})(se||(se={}));const ci=e=>e===""?[]:e.replace(/\n$/,"").split(`
|
|
71
|
-
`),tr=(e,n,t=se.CHARS)=>{const o=(typeof t=="string"?mo[t]:t)(e,n),l={left:[],right:[]};return o.forEach(({added:s,removed:a,value:f})=>{if(s)l.right.push({type:ee.ADDED,value:f});else if(a)l.left.push({type:ee.REMOVED,value:f});else{const u={type:ee.DEFAULT,value:f};l.right.push(u),l.left.push(u)}}),l},Co=(e,n,t=!1,r=se.CHARS,o=0,l=[],s=!1)=>{let a=[];if(typeof e=="string"&&typeof n=="string")if(r===se.JSON)a=xo(e,n);else if(r===se.YAML)try{a=bo(e,n)}catch{a=Oe(e,n,{newlineIsToken:!1})}else a=Oe(e,n,{newlineIsToken:!1});else a=wo(e,n);let f=o,u=o,d=[],h=0;const x=[],T=[],m=(p,y,A,w,v)=>ci(p).map((R,W)=>{const M={},P={};if(!(T.includes(`${y}-${W}`)||v&&W!==0)){if(A||w){let q=!0;if(w){u+=1,M.lineNumber=u,M.type=ee.REMOVED,M.value=R||" ";const z=a[y+1];if(z!=null&&z.added){const K=ci(z.value)[W];if(K){const ne=m(K,y,!0,!1,!0),{value:H,lineNumber:V,type:te}=ne[0].right;if(T.push(`${y+1}-${W}`),P.lineNumber=V,M.value===H)q=!1,P.type=0,M.type=0,P.value=H;else{P.type=te;const F=500,ge=R.length>F||H.length>F;if(t||ge)P.value=H;else if(s)M.rawValue=R,M.value=R,P.rawValue=H,P.value=H;else{const ae=tr(R,H,r);P.value=ae.right,M.value=ae.left}}}}}else f+=1,P.lineNumber=f,P.type=ee.ADDED,P.value=R;q&&!v&&(x.includes(h)||x.push(h))}else u+=1,f+=1,M.lineNumber=u,M.type=ee.DEFAULT,M.value=R,P.lineNumber=f,P.type=ee.DEFAULT,P.value=R;return(l!=null&&l.includes(`L-${M.lineNumber}`)||l!=null&&l.includes(`R-${P.lineNumber}`)&&!x.includes(h))&&x.push(h),v||(h+=1),{right:P,left:M}}}).filter(R=>R!=null);return a.forEach(({added:p,removed:y,value:A},w)=>{d=[...d,...m(A,w,p,y)]}),{lineInformation:d,diffLines:x}};let tn=null,Ue=null;const To=async()=>{if(tn!==null)return tn;if(Ue===!1)return null;if(typeof Worker>"u"||typeof Blob>"u"||typeof URL>"u")return Ue=!1,null;try{const{WORKER_CODE:e}=await J(async()=>{const{WORKER_CODE:t}=await import("./workerBundle-DmFacrdf.js");return{WORKER_CODE:t}},[]),n=new Blob([e],{type:"application/javascript"});tn=URL.createObjectURL(n),Ue=!0}catch{Ue=!1,tn=null}return tn},So=async(e,n,t=!1,r=se.CHARS,o=0,l=[],s=!1,a=!1)=>{const f=()=>Co(e,n,t,r,o,l,s);if(a)return Promise.resolve(f());const u=await To();return u?new Promise(d=>{let h;try{h=new Worker(u)}catch{Ue=!1,d(f());return}h.onmessage=x=>{d(x.data),h.terminate()},h.onerror=()=>{Ue=!1,h.terminate(),d(f())},h.postMessage({oldString:e,newString:n,disableWordDiff:t,lineCompareMethod:r,linesOffset:o,showLines:l,deferWordDiff:s})}):Promise.resolve(f())};function ai(){return O.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",children:[O.jsx("title",{children:"expand"}),O.jsx("path",{d:"m8.177.677 2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25a.75.75 0 0 1-1.5 0V4H5.104a.25.25 0 0 1-.177-.427L7.823.677a.25.25 0 0 1 .354 0ZM7.25 10.75a.75.75 0 0 1 1.5 0V12h2.146a.25.25 0 0 1 .177.427l-2.896 2.896a.25.25 0 0 1-.354 0l-2.896-2.896A.25.25 0 0 1 5.104 12H7.25v-1.25Zm-5-2a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"})]})}function ko(e){if(e.sheet)return e.sheet;for(var n=0;n<document.styleSheets.length;n++)if(document.styleSheets[n].ownerNode===e)return document.styleSheets[n]}function _o(e){var n=document.createElement("style");return n.setAttribute("data-emotion",e.key),e.nonce!==void 0&&n.setAttribute("nonce",e.nonce),n.appendChild(document.createTextNode("")),n.setAttribute("data-s",""),n}var Ro=(function(){function e(t){var r=this;this._insertTag=function(o){var l;r.tags.length===0?r.insertionPoint?l=r.insertionPoint.nextSibling:r.prepend?l=r.container.firstChild:l=r.before:l=r.tags[r.tags.length-1].nextSibling,r.container.insertBefore(o,l),r.tags.push(o)},this.isSpeedy=t.speedy===void 0?!0:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var n=e.prototype;return n.hydrate=function(r){r.forEach(this._insertTag)},n.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(_o(this));var o=this.tags[this.tags.length-1];if(this.isSpeedy){var l=ko(o);try{l.insertRule(r,l.cssRules.length)}catch{}}else o.appendChild(document.createTextNode(r));this.ctr++},n.flush=function(){this.tags.forEach(function(r){var o;return(o=r.parentNode)==null?void 0:o.removeChild(r)}),this.tags=[],this.ctr=0},e})(),fe="-ms-",Ln="-moz-",Q="-webkit-",ir="comm",Tt="rule",St="decl",Lo="@import",rr="@keyframes",Oo="@layer",No=Math.abs,Nn=String.fromCharCode,Io=Object.assign;function Do(e,n){return ce(e,0)^45?(((n<<2^ce(e,0))<<2^ce(e,1))<<2^ce(e,2))<<2^ce(e,3):0}function or(e){return e.trim()}function Mo(e,n){return(e=n.exec(e))?e[0]:e}function X(e,n,t){return e.replace(n,t)}function wt(e,n){return e.indexOf(n)}function ce(e,n){return e.charCodeAt(n)|0}function sn(e,n,t){return e.slice(n,t)}function Se(e){return e.length}function kt(e){return e.length}function vn(e,n){return n.push(e),e}function Fo(e,n){return e.map(n).join("")}var In=1,ze=1,lr=0,xe=0,re=0,Ke="";function Dn(e,n,t,r,o,l,s){return{value:e,root:n,parent:t,type:r,props:o,children:l,line:In,column:ze,length:s,return:""}}function rn(e,n){return Io(Dn("",null,null,"",null,null,0),e,{length:-e.length},n)}function jo(){return re}function Ho(){return re=xe>0?ce(Ke,--xe):0,ze--,re===10&&(ze=1,In--),re}function ve(){return re=xe<lr?ce(Ke,xe++):0,ze++,re===10&&(ze=1,In++),re}function ke(){return ce(Ke,xe)}function En(){return xe}function fn(e,n){return sn(Ke,e,n)}function cn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function sr(e){return In=ze=1,lr=Se(Ke=e),xe=0,[]}function cr(e){return Ke="",e}function Cn(e){return or(fn(xe-1,xt(e===91?e+2:e===40?e+1:e)))}function Po(e){for(;(re=ke())&&re<33;)ve();return cn(e)>2||cn(re)>3?"":" "}function Wo(e,n){for(;--n&&ve()&&!(re<48||re>102||re>57&&re<65||re>70&&re<97););return fn(e,En()+(n<6&&ke()==32&&ve()==32))}function xt(e){for(;ve();)switch(re){case e:return xe;case 34:case 39:e!==34&&e!==39&&xt(re);break;case 40:e===41&&xt(e);break;case 92:ve();break}return xe}function Bo(e,n){for(;ve()&&e+re!==57;)if(e+re===84&&ke()===47)break;return"/*"+fn(n,xe-1)+"*"+Nn(e===47?e:ve())}function Vo(e){for(;!cn(ke());)ve();return fn(e,xe)}function Go(e){return cr(Tn("",null,null,null,[""],e=sr(e),0,[0],e))}function Tn(e,n,t,r,o,l,s,a,f){for(var u=0,d=0,h=s,x=0,T=0,m=0,p=1,y=1,A=1,w=0,v="",S=o,R=l,W=r,M=v;y;)switch(m=w,w=ve()){case 40:if(m!=108&&ce(M,h-1)==58){wt(M+=X(Cn(w),"&","&\f"),"&\f")!=-1&&(A=-1);break}case 34:case 39:case 91:M+=Cn(w);break;case 9:case 10:case 13:case 32:M+=Po(m);break;case 92:M+=Wo(En()-1,7);continue;case 47:switch(ke()){case 42:case 47:vn($o(Bo(ve(),En()),n,t),f);break;default:M+="/"}break;case 123*p:a[u++]=Se(M)*A;case 125*p:case 59:case 0:switch(w){case 0:case 125:y=0;case 59+d:A==-1&&(M=X(M,/\f/g,"")),T>0&&Se(M)-h&&vn(T>32?fi(M+";",r,t,h-1):fi(X(M," ","")+";",r,t,h-2),f);break;case 59:M+=";";default:if(vn(W=ui(M,n,t,u,d,o,a,v,S=[],R=[],h),l),w===123)if(d===0)Tn(M,n,W,W,S,l,h,a,R);else switch(x===99&&ce(M,3)===110?100:x){case 100:case 108:case 109:case 115:Tn(e,W,W,r&&vn(ui(e,W,W,0,0,o,a,v,o,S=[],h),R),o,R,h,a,r?S:R);break;default:Tn(M,W,W,W,[""],R,0,a,R)}}u=d=T=0,p=A=1,v=M="",h=s;break;case 58:h=1+Se(M),T=m;default:if(p<1){if(w==123)--p;else if(w==125&&p++==0&&Ho()==125)continue}switch(M+=Nn(w),w*p){case 38:A=d>0?1:(M+="\f",-1);break;case 44:a[u++]=(Se(M)-1)*A,A=1;break;case 64:ke()===45&&(M+=Cn(ve())),x=ke(),d=h=Se(v=M+=Vo(En())),w++;break;case 45:m===45&&Se(M)==2&&(p=0)}}return l}function ui(e,n,t,r,o,l,s,a,f,u,d){for(var h=o-1,x=o===0?l:[""],T=kt(x),m=0,p=0,y=0;m<r;++m)for(var A=0,w=sn(e,h+1,h=No(p=s[m])),v=e;A<T;++A)(v=or(p>0?x[A]+" "+w:X(w,/&\f/g,x[A])))&&(f[y++]=v);return Dn(e,n,t,o===0?Tt:a,f,u,d)}function $o(e,n,t){return Dn(e,n,t,ir,Nn(jo()),sn(e,2,-2),0)}function fi(e,n,t,r){return Dn(e,n,t,St,sn(e,0,r),sn(e,r+1,-1),r)}function Ye(e,n){for(var t="",r=kt(e),o=0;o<r;o++)t+=n(e[o],o,e,n)||"";return t}function qo(e,n,t,r){switch(e.type){case Oo:if(e.children.length)break;case Lo:case St:return e.return=e.return||e.value;case ir:return"";case rr:return e.return=e.value+"{"+Ye(e.children,r)+"}";case Tt:e.value=e.props.join(",")}return Se(t=Ye(e.children,r))?e.return=e.value+"{"+t+"}":""}function Uo(e){var n=kt(e);return function(t,r,o,l){for(var s="",a=0;a<n;a++)s+=e[a](t,r,o,l)||"";return s}}function Yo(e){return function(n){n.root||(n=n.return)&&e(n)}}function zo(e){var n=Object.create(null);return function(t){return n[t]===void 0&&(n[t]=e(t)),n[t]}}var Ko=function(n,t,r){for(var o=0,l=0;o=l,l=ke(),o===38&&l===12&&(t[r]=1),!cn(l);)ve();return fn(n,xe)},Jo=function(n,t){var r=-1,o=44;do switch(cn(o)){case 0:o===38&&ke()===12&&(t[r]=1),n[r]+=Ko(xe-1,t,r);break;case 2:n[r]+=Cn(o);break;case 4:if(o===44){n[++r]=ke()===58?"&\f":"",t[r]=n[r].length;break}default:n[r]+=Nn(o)}while(o=ve());return n},Zo=function(n,t){return cr(Jo(sr(n),t))},di=new WeakMap,Qo=function(n){if(!(n.type!=="rule"||!n.parent||n.length<1)){for(var t=n.value,r=n.parent,o=n.column===r.column&&n.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(n.props.length===1&&t.charCodeAt(0)!==58&&!di.get(r))&&!o){di.set(n,!0);for(var l=[],s=Zo(t,l),a=r.props,f=0,u=0;f<s.length;f++)for(var d=0;d<a.length;d++,u++)n.props[u]=l[f]?s[f].replace(/&\f/g,a[d]):a[d]+" "+s[f]}}},Xo=function(n){if(n.type==="decl"){var t=n.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(n.return="",n.value="")}};function ar(e,n){switch(Do(e,n)){case 5103:return Q+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return Q+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Q+e+Ln+e+fe+e+e;case 6828:case 4268:return Q+e+fe+e+e;case 6165:return Q+e+fe+"flex-"+e+e;case 5187:return Q+e+X(e,/(\w+).+(:[^]+)/,Q+"box-$1$2"+fe+"flex-$1$2")+e;case 5443:return Q+e+fe+"flex-item-"+X(e,/flex-|-self/,"")+e;case 4675:return Q+e+fe+"flex-line-pack"+X(e,/align-content|flex-|-self/,"")+e;case 5548:return Q+e+fe+X(e,"shrink","negative")+e;case 5292:return Q+e+fe+X(e,"basis","preferred-size")+e;case 6060:return Q+"box-"+X(e,"-grow","")+Q+e+fe+X(e,"grow","positive")+e;case 4554:return Q+X(e,/([^-])(transform)/g,"$1"+Q+"$2")+e;case 6187:return X(X(X(e,/(zoom-|grab)/,Q+"$1"),/(image-set)/,Q+"$1"),e,"")+e;case 5495:case 3959:return X(e,/(image-set\([^]*)/,Q+"$1$`$1");case 4968:return X(X(e,/(.+:)(flex-)?(.*)/,Q+"box-pack:$3"+fe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Q+e+e;case 4095:case 3583:case 4068:case 2532:return X(e,/(.+)-inline(.+)/,Q+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Se(e)-1-n>6)switch(ce(e,n+1)){case 109:if(ce(e,n+4)!==45)break;case 102:return X(e,/(.+:)(.+)-([^]+)/,"$1"+Q+"$2-$3$1"+Ln+(ce(e,n+3)==108?"$3":"$2-$3"))+e;case 115:return~wt(e,"stretch")?ar(X(e,"stretch","fill-available"),n)+e:e}break;case 4949:if(ce(e,n+1)!==115)break;case 6444:switch(ce(e,Se(e)-3-(~wt(e,"!important")&&10))){case 107:return X(e,":",":"+Q)+e;case 101:return X(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Q+(ce(e,14)===45?"inline-":"")+"box$3$1"+Q+"$2$3$1"+fe+"$2box$3")+e}break;case 5936:switch(ce(e,n+11)){case 114:return Q+e+fe+X(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Q+e+fe+X(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Q+e+fe+X(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Q+e+fe+e+e}return e}var el=function(n,t,r,o){if(n.length>-1&&!n.return)switch(n.type){case St:n.return=ar(n.value,n.length);break;case rr:return Ye([rn(n,{value:X(n.value,"@","@"+Q)})],o);case Tt:if(n.length)return Fo(n.props,function(l){switch(Mo(l,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Ye([rn(n,{props:[X(l,/:(read-\w+)/,":"+Ln+"$1")]})],o);case"::placeholder":return Ye([rn(n,{props:[X(l,/:(plac\w+)/,":"+Q+"input-$1")]}),rn(n,{props:[X(l,/:(plac\w+)/,":"+Ln+"$1")]}),rn(n,{props:[X(l,/:(plac\w+)/,fe+"input-$1")]})],o)}return""})}},nl=[el],tl=function(n){var t=n.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var y=p.getAttribute("data-emotion");y.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=n.stylisPlugins||nl,l={},s,a=[];s=n.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(p){for(var y=p.getAttribute("data-emotion").split(" "),A=1;A<y.length;A++)l[y[A]]=!0;a.push(p)});var f,u=[Qo,Xo];{var d,h=[qo,Yo(function(p){d.insert(p)})],x=Uo(u.concat(o,h)),T=function(y){return Ye(Go(y),x)};f=function(y,A,w,v){d=w,T(y?y+"{"+A.styles+"}":A.styles),v&&(m.inserted[A.name]=!0)}}var m={key:t,sheet:new Ro({key:t,container:s,nonce:n.nonce,speedy:n.speedy,prepend:n.prepend,insertionPoint:n.insertionPoint}),nonce:n.nonce,inserted:l,registered:{},insert:f};return m.sheet.hydrate(a),m};function il(e){for(var n=0,t,r=0,o=e.length;o>=4;++r,o-=4)t=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(t&65535)*1540483477+((t>>>16)*59797<<16)^(n&65535)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(e.charCodeAt(r+2)&255)<<16;case 2:n^=(e.charCodeAt(r+1)&255)<<8;case 1:n^=e.charCodeAt(r)&255,n=(n&65535)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,n=(n&65535)*1540483477+((n>>>16)*59797<<16),((n^n>>>15)>>>0).toString(36)}var rl={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ol=/[A-Z]|^ms/g,ll=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ur=function(n){return n.charCodeAt(1)===45},hi=function(n){return n!=null&&typeof n!="boolean"},ct=zo(function(e){return ur(e)?e:e.replace(ol,"-$&").toLowerCase()}),pi=function(n,t){switch(n){case"animation":case"animationName":if(typeof t=="string")return t.replace(ll,function(r,o,l){return We={name:o,styles:l,next:We},o})}return rl[n]!==1&&!ur(n)&&typeof t=="number"&&t!==0?t+"px":t};function On(e,n,t){if(t==null)return"";var r=t;if(r.__emotion_styles!==void 0)return r;switch(typeof t){case"boolean":return"";case"object":{var o=t;if(o.anim===1)return We={name:o.name,styles:o.styles,next:We},o.name;var l=t;if(l.styles!==void 0){var s=l.next;if(s!==void 0)for(;s!==void 0;)We={name:s.name,styles:s.styles,next:We},s=s.next;var a=l.styles+";";return a}return sl(e,n,t)}}var f=t;if(n==null)return f;var u=n[f];return u!==void 0?u:f}function sl(e,n,t){var r="";if(Array.isArray(t))for(var o=0;o<t.length;o++)r+=On(e,n,t[o])+";";else for(var l in t){var s=t[l];if(typeof s!="object"){var a=s;n!=null&&n[a]!==void 0?r+=l+"{"+n[a]+"}":hi(a)&&(r+=ct(l)+":"+pi(l,a)+";")}else if(Array.isArray(s)&&typeof s[0]=="string"&&(n==null||n[s[0]]===void 0))for(var f=0;f<s.length;f++)hi(s[f])&&(r+=ct(l)+":"+pi(l,s[f])+";");else{var u=On(e,n,s);switch(l){case"animation":case"animationName":{r+=ct(l)+":"+u+";";break}default:r+=l+"{"+u+"}"}}}return r}var gi=/label:\s*([^\s;{]+)\s*(;|$)/g,We;function at(e,n,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var r=!0,o="";We=void 0;var l=e[0];if(l==null||l.raw===void 0)r=!1,o+=On(t,n,l);else{var s=l;o+=s[0]}for(var a=1;a<e.length;a++)if(o+=On(t,n,e[a]),r){var f=l;o+=f[a]}gi.lastIndex=0;for(var u="",d;(d=gi.exec(o))!==null;)u+="-"+d[1];var h=il(o)+u;return{name:h,styles:o,next:We}}function fr(e,n,t){var r="";return t.split(" ").forEach(function(o){e[o]!==void 0?n.push(e[o]+";"):o&&(r+=o+" ")}),r}var cl=function(n,t,r){var o=n.key+"-"+t.name;n.registered[o]===void 0&&(n.registered[o]=t.styles)},al=function(n,t,r){cl(n,t);var o=n.key+"-"+t.name;if(n.inserted[t.name]===void 0){var l=t;do n.insert(t===l?"."+o:"",l,n.sheet,!0),l=l.next;while(l!==void 0)}};function mi(e,n){if(e.inserted[n.name]===void 0)return e.insert("",n,e.sheet,!0)}function yi(e,n,t){var r=[],o=fr(e,r,t);return r.length<2?t:o+n(r)}var ul=function(n){var t=tl(n);t.sheet.speedy=function(a){this.isSpeedy=a},t.compat=!0;var r=function(){for(var f=arguments.length,u=new Array(f),d=0;d<f;d++)u[d]=arguments[d];var h=at(u,t.registered,void 0);return al(t,h),t.key+"-"+h.name},o=function(){for(var f=arguments.length,u=new Array(f),d=0;d<f;d++)u[d]=arguments[d];var h=at(u,t.registered),x="animation-"+h.name;return mi(t,{name:h.name,styles:"@keyframes "+x+"{"+h.styles+"}"}),x},l=function(){for(var f=arguments.length,u=new Array(f),d=0;d<f;d++)u[d]=arguments[d];var h=at(u,t.registered);mi(t,h)},s=function(){for(var f=arguments.length,u=new Array(f),d=0;d<f;d++)u[d]=arguments[d];return yi(t.registered,r,fl(u))};return{css:r,cx:s,injectGlobal:l,keyframes:o,hydrate:function(f){f.forEach(function(u){t.inserted[u]=!0})},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:fr.bind(null,t.registered),merge:yi.bind(null,t.registered,r)}},fl=function e(n){for(var t="",r=0;r<n.length;r++){var o=n[r];if(o!=null){var l=void 0;switch(typeof o){case"boolean":break;case"object":{if(Array.isArray(o))l=e(o);else{l="";for(var s in o)o[s]&&s&&(l&&(l+=" "),l+=s)}break}default:l=o}l&&(t&&(t+=" "),t+=l)}}return t};const dl=Object.freeze({diffViewerBackground:"#fff",diffViewerColor:"#212529",addedBackground:"#e6ffed",addedColor:"#24292e",removedBackground:"#ffeef0",removedColor:"#24292e",changedBackground:"#fffbdd",wordAddedBackground:"#acf2bd",wordRemovedBackground:"#fdb8c0",addedGutterBackground:"#cdffd8",removedGutterBackground:"#ffdce0",gutterBackground:"#f7f7f7",gutterBackgroundDark:"#f3f1f1",highlightBackground:"#fffbdd",highlightGutterBackground:"#fff5b1",codeFoldGutterBackground:"#dbedff",codeFoldBackground:"#f1f8ff",emptyLineBackground:"#fafbfc",gutterColor:"#212529",addedGutterColor:"#212529",removedGutterColor:"#212529",codeFoldContentColor:"#212529",diffViewerTitleBackground:"#fafbfc",diffViewerTitleColor:"#212529",diffViewerTitleBorderColor:"#eee"}),hl=Object.freeze({diffViewerBackground:"#2e303c",diffViewerColor:"#FFF",addedBackground:"#2ea04326",addedColor:"white",removedBackground:"#f851491a",removedColor:"white",changedBackground:"#3e302c",wordAddedBackground:"#2ea04366",wordRemovedBackground:"#f8514966",addedGutterBackground:"#3fb9504d",removedGutterBackground:"#f851494d",gutterBackground:"#2c2f3a",gutterBackgroundDark:"#262933",highlightBackground:"#2a3967",highlightGutterBackground:"#2d4077",codeFoldGutterBackground:"#262831",codeFoldBackground:"#262831",emptyLineBackground:"#363946",gutterColor:"#f0f6fc",addedGutterColor:"#f0f6fc",removedGutterColor:"#f0f6fc",codeFoldContentColor:"#9198a1",diffViewerTitleBackground:"#2f323e",diffViewerTitleColor:"#f0f6fc",diffViewerTitleBorderColor:"#353846"}),pl=(e,n=!1,t="")=>{const{variables:r={},...o}=e,l={light:{...dl,...r.light||{}},dark:{...hl,...r.dark||{}}},s=n?l.dark:l.light,{css:a,cx:f}=ul({key:"react-diff",nonce:t}),u=a({width:"auto",overflow:"hidden",padding:0,label:"content"}),d=a({label:"split-view"}),h=a({position:"sticky",top:0,zIndex:2,label:"sticky-header"}),x=a({background:s.diffViewerTitleBackground,color:s.diffViewerTitleColor,padding:"0.5em 1em",display:"flex",alignItems:"center",gap:"0.5em",fontFamily:"monospace",fontSize:12,fill:s.diffViewerTitleColor}),T=a({display:"flex",label:"column-headers"}),m=a({width:"100%",minWidth:"1000px",overflowX:"auto",tableLayout:"fixed",fontSize:12,background:s.diffViewerBackground,pre:{margin:0,whiteSpace:"pre-wrap",lineHeight:"1.6em",width:"fit-content"},label:"diff-container",borderCollapse:"collapse",borderRadius:0,"& td, & th":{border:0,verticalAlign:"baseline"},"@media (max-width: 768px)":{minWidth:"unset"}}),p=a({overflow:"hidden",width:"100%"}),y=a({color:s.diffViewerColor,whiteSpace:"pre-wrap",fontFamily:"monospace",lineBreak:"anywhere",textDecoration:"none",label:"content-text"}),A=a({display:"flex",alignItems:"baseline",label:"content-flex"}),w=a({whiteSpace:"pre",wordBreak:"keep-all",flex:"0 0 auto",label:"line-indent"}),v=a({flex:"1 1 auto",minWidth:0,label:"line-body"}),S=a({userSelect:"none",label:"unselectable"}),R=a({label:"no-wrap",pre:{whiteSpace:"pre"},[`.${y}`]:{whiteSpace:"pre",lineBreak:"auto"}}),W=a({background:"transparent",border:"none",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",margin:0,label:"all-expand-button",":hover":{fill:s.addedGutterColor},":focus":{outline:`1px ${s.addedGutterColor} solid`}}),M=a({background:s.diffViewerTitleBackground,padding:"0.5em",lineHeight:"1.4em",height:"2.4em",overflow:"hidden",width:"50%",borderBottom:`1px solid ${s.diffViewerTitleBorderColor}`,boxSizing:"border-box",fontSize:12,label:"title-block",":only-child":{width:"100%"},":last-child:not(:only-child)":{borderLeft:`1px solid ${s.diffViewerTitleBorderColor}`},[`.${y}`]:{color:s.diffViewerTitleColor}}),P=a({color:s.gutterColor,label:"line-number"}),q=a({background:s.removedBackground,color:s.removedColor,pre:{color:s.removedColor},[`.${P}`]:{color:s.removedGutterColor},label:"diff-removed"}),z=a({background:s.addedBackground,color:s.addedColor,pre:{color:s.addedColor},[`.${P}`]:{color:s.addedGutterColor},label:"diff-added"}),K=a({background:s.changedBackground,[`.${P}`]:{color:s.gutterColor},label:"diff-changed"}),ne=a({display:"inline",textDecoration:"none",label:"word-diff"}),H=a({background:s.wordAddedBackground,label:"word-added"}),V=a({background:s.wordRemovedBackground,label:"word-removed"}),te=a({backgroundColor:s.codeFoldGutterBackground,label:"code-fold-gutter",minWidth:"50px",width:"50px",padding:0,textAlign:"center",fill:s.codeFoldContentColor}),F=a({padding:0,overflow:"hidden","&&&":{verticalAlign:"middle"},label:"code-fold-content-container"}),ge=a({background:s.codeFoldBackground,cursor:"pointer",display:"block",margin:0,padding:0,border:"none",font:"inherit",lineHeight:"inherit",textAlign:"left",fill:s.codeFoldContentColor,label:"code-fold-expand-button"}),ae=a({color:s.codeFoldContentColor,fontFamily:"monospace",label:"code-fold-content"}),Je=a({display:"block",width:"10px",height:"10px",backgroundColor:"#ddd",borderWidth:"1px",borderStyle:"solid",borderColor:s.diffViewerTitleBorderColor}),_e=a({backgroundColor:s.wordAddedBackground}),Ze=a({backgroundColor:s.wordRemovedBackground}),Be=a({backgroundColor:s.codeFoldBackground,fontSize:12,alignItems:"center",userSelect:"none",fontWeight:700,cursor:"pointer",label:"code-fold","& td":{paddingTop:0,paddingBottom:0},"&:hover":{color:s.diffViewerColor,fill:s.diffViewerColor,"& *":{color:s.diffViewerColor,fill:s.diffViewerColor}},a:{textDecoration:"underline !important",cursor:"pointer",pre:{display:"inline"}}}),Ie=a({backgroundColor:s.emptyLineBackground,label:"empty-line"}),$e=a({width:28,paddingLeft:10,paddingRight:10,paddingTop:0,paddingBottom:0,userSelect:"none",label:"marker",[`&.${z}`]:{pre:{color:s.addedColor}},[`&.${q}`]:{pre:{color:s.removedColor}}}),he=a({background:s.highlightBackground,label:"highlighted-line",[`.${H}, .${V}`]:{backgroundColor:"initial"}}),Ee=a({label:"highlighted-gutter"}),Ve=a({userSelect:"none",minWidth:50,width:"50px",padding:"0 10px",whiteSpace:"nowrap",label:"gutter",textAlign:"center",color:s.gutterColor,background:s.gutterBackground,"&:hover":{cursor:"pointer",background:s.gutterBackgroundDark,pre:{opacity:1}},pre:{opacity:.5,textAlign:"center",width:"100%"},[`&.${z}`]:{background:s.addedGutterBackground},[`&.${q}`]:{background:s.removedGutterBackground},[`&.${Ee}`]:{background:s.highlightGutterBackground,"&:hover":{background:s.highlightGutterBackground}}}),Ce=a({"&:hover":{background:s.gutterBackground,cursor:"initial"},label:"empty-gutter"}),Ge=a({verticalAlign:"baseline",label:"line",textDecoration:"none",backgroundColor:"transparent",fontSize:12}),ie=a({}),me={diffContainer:m,diffRemoved:q,diffAdded:z,diffChanged:K,splitView:d,marker:$e,highlightedGutter:Ee,highlightedLine:he,gutter:Ve,line:Ge,lineContent:p,wordDiff:ne,wordAdded:H,summary:x,block:Je,blockAddition:_e,blockDeletion:Ze,wordRemoved:V,noSelect:S,noWrap:R,codeFoldGutter:te,codeFoldExpandButton:ge,codeFoldContentContainer:F,codeFold:Be,emptyGutter:Ce,emptyLine:Ie,lineNumber:P,contentText:y,contentFlex:A,lineIndent:w,lineBody:v,content:u,column:ie,codeFoldContent:ae,stickyHeader:h,columnHeaders:T,titleBlock:M,allExpandButton:W},Re=Object.keys(o).reduce((De,ye)=>({...De,[ye]:a(o[ye])}),{});return Object.keys(me).reduce((De,ye)=>({...De,[ye]:Re[ye]?f(me[ye],Re[ye]):me[ye]}),{})};function gl(){return O.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"16",height:"16",children:[O.jsx("title",{children:"fold"}),O.jsx("path",{d:"M10.896 2H8.75V.75a.75.75 0 0 0-1.5 0V2H5.104a.25.25 0 0 0-.177.427l2.896 2.896a.25.25 0 0 0 .354 0l2.896-2.896A.25.25 0 0 0 10.896 2ZM8.75 15.25a.75.75 0 0 1-1.5 0V14H5.104a.25.25 0 0 1-.177-.427l2.896-2.896a.25.25 0 0 1 .354 0l2.896 2.896a.25.25 0 0 1-.177.427H8.75v1.25Zm-6.5-6.5a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM6 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 6 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5ZM12 8a.75.75 0 0 1-.75.75h-.5a.75.75 0 0 1 0-1.5h.5A.75.75 0 0 1 12 8Zm2.25.75a.75.75 0 0 0 0-1.5h-.5a.75.75 0 0 0 0 1.5h.5Z"})]})}const ml=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],wi={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};function dr(e){const n=typeof e=="string"?e.charCodeAt(0):e;return n>=48&&n<=57}function yl(e){const n=typeof e=="string"?e.charCodeAt(0):e;return n>=97&&n<=102||n>=65&&n<=70||n>=48&&n<=57}function wl(e){const n=typeof e=="string"?e.charCodeAt(0):e;return n>=97&&n<=122||n>=65&&n<=90}function xi(e){return wl(e)||dr(e)}const xl=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function bl(e,n){const t={},r=typeof t.additional=="string"?t.additional.charCodeAt(0):t.additional,o=[];let l=0,s=-1,a="",f,u;t.position&&("start"in t.position||"indent"in t.position?(u=t.position.indent,f=t.position.start):f=t.position);let d=(f?f.line:0)||1,h=(f?f.column:0)||1,x=m(),T;for(l--;++l<=e.length;)if(T===10&&(h=(u?u[s]:0)||1),T=e.charCodeAt(l),T===38){const A=e.charCodeAt(l+1);if(A===9||A===10||A===12||A===32||A===38||A===60||Number.isNaN(A)||r&&A===r){a+=String.fromCharCode(T),h++;continue}const w=l+1;let v=w,S=w,R;if(A===35){S=++v;const H=e.charCodeAt(S);H===88||H===120?(R="hexadecimal",S=++v):R="decimal"}else R="named";let W="",M="",P="";const q=R==="named"?xi:R==="decimal"?dr:yl;for(S--;++S<=e.length;){const H=e.charCodeAt(S);if(!q(H))break;P+=String.fromCharCode(H),R==="named"&&ml.includes(P)&&(W=P,M=_t(P))}let z=e.charCodeAt(S)===59;if(z){S++;const H=R==="named"?_t(P):!1;H&&(W=P,M=H)}let K=1+S-w,ne="";if(!(!z&&t.nonTerminated===!1))if(!P)R!=="named"&&p(4,K);else if(R==="named"){if(z&&!M)p(5,1);else if(W!==P&&(S=v+W.length,K=1+S-v,z=!1),!z){const H=W?1:3;if(t.attribute){const V=e.charCodeAt(S);V===61?(p(H,K),M=""):xi(V)?M="":p(H,K)}else p(H,K)}ne=M}else{z||p(2,K);let H=Number.parseInt(P,R==="hexadecimal"?16:10);if(vl(H))p(7,K),ne="�";else if(H in wi)p(6,K),ne=wi[H];else{let V="";Al(H)&&p(6,K),H>65535&&(H-=65536,V+=String.fromCharCode(H>>>10|55296),H=56320|H&1023),ne=V+String.fromCharCode(H)}}if(ne){y(),x=m(),l=S-1,h+=S-w+1,o.push(ne);const H=m();H.offset++,t.reference&&t.reference.call(t.referenceContext||void 0,ne,{start:x,end:H},e.slice(w-1,S)),x=H}else P=e.slice(w-1,S),a+=P,h+=P.length,l=S-1}else T===10&&(d++,s++,h=0),Number.isNaN(T)?y():(a+=String.fromCharCode(T),h++);return o.join("");function m(){return{line:d,column:h,offset:l+((f?f.offset:0)||0)}}function p(A,w){let v;t.warning&&(v=m(),v.column+=w,v.offset+=w,t.warning.call(t.warningContext||void 0,xl[A],v,A))}function y(){a&&(o.push(a),t.text&&t.text.call(t.textContext||void 0,a,{start:x,end:m()}),a="")}}function vl(e){return e>=55296&&e<=57343||e>1114111}function Al(e){return e>=1&&e<=8||e===11||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534}var El=0,An={},le={util:{type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++El}),e.__id},clone:function e(n,t){t=t||{};var r,o;switch(le.util.type(n)){case"Object":if(o=le.util.objId(n),t[o])return t[o];r={},t[o]=r;for(var l in n)n.hasOwnProperty(l)&&(r[l]=e(n[l],t));return r;case"Array":return o=le.util.objId(n),t[o]?t[o]:(r=[],t[o]=r,n.forEach(function(s,a){r[a]=e(s,t)}),r);default:return n}}},languages:{plain:An,plaintext:An,text:An,txt:An,extend:function(e,n){var t=le.util.clone(le.languages[e]);for(var r in n)t[r]=n[r];return t},insertBefore:function(e,n,t,r){r=r||le.languages;var o=r[e],l={};for(var s in o)if(o.hasOwnProperty(s)){if(s==n)for(var a in t)t.hasOwnProperty(a)&&(l[a]=t[a]);t.hasOwnProperty(s)||(l[s]=o[s])}var f=r[e];return r[e]=l,le.languages.DFS(le.languages,function(u,d){d===f&&u!=e&&(this[u]=l)}),l},DFS:function e(n,t,r,o){o=o||{};var l=le.util.objId;for(var s in n)if(n.hasOwnProperty(s)){t.call(n,s,n[s],r||s);var a=n[s],f=le.util.type(a);f==="Object"&&!o[l(a)]?(o[l(a)]=!0,e(a,t,null,o)):f==="Array"&&!o[l(a)]&&(o[l(a)]=!0,e(a,t,s,o))}}},plugins:{},highlight:function(e,n,t){var r={code:e,grammar:n,language:t};if(le.hooks.run("before-tokenize",r),!r.grammar)throw new Error('The language "'+r.language+'" has no grammar.');return r.tokens=le.tokenize(r.code,r.grammar),le.hooks.run("after-tokenize",r),ln.stringify(le.util.encode(r.tokens),r.language)},tokenize:function(e,n){var t=n.rest;if(t){for(var r in t)n[r]=t[r];delete n.rest}var o=new Cl;return Sn(o,o.head,e),hr(e,o,n,o.head,0),Sl(o)},hooks:{all:{},add:function(e,n){var t=le.hooks.all;t[e]=t[e]||[],t[e].push(n)},run:function(e,n){var t=le.hooks.all[e];if(!(!t||!t.length))for(var r=0,o;o=t[r++];)o(n)}},Token:ln};function ln(e,n,t,r){this.type=e,this.content=n,this.alias=t,this.length=(r||"").length|0}function bi(e,n,t,r){e.lastIndex=n;var o=e.exec(t);if(o&&r&&o[1]){var l=o[1].length;o.index+=l,o[0]=o[0].slice(l)}return o}function hr(e,n,t,r,o,l){for(var s in t)if(!(!t.hasOwnProperty(s)||!t[s])){var a=t[s];a=Array.isArray(a)?a:[a];for(var f=0;f<a.length;++f){if(l&&l.cause==s+","+f)return;var u=a[f],d=u.inside,h=!!u.lookbehind,x=!!u.greedy,T=u.alias;if(x&&!u.pattern.global){var m=u.pattern.toString().match(/[imsuy]*$/)[0];u.pattern=RegExp(u.pattern.source,m+"g")}for(var p=u.pattern||u,y=r.next,A=o;y!==n.tail&&!(l&&A>=l.reach);A+=y.value.length,y=y.next){var w=y.value;if(n.length>e.length)return;if(!(w instanceof ln)){var v=1,S;if(x){if(S=bi(p,A,e,h),!S||S.index>=e.length)break;var P=S.index,R=S.index+S[0].length,W=A;for(W+=y.value.length;P>=W;)y=y.next,W+=y.value.length;if(W-=y.value.length,A=W,y.value instanceof ln)continue;for(var M=y;M!==n.tail&&(W<R||typeof M.value=="string");M=M.next)v++,W+=M.value.length;v--,w=e.slice(A,W),S.index-=A}else if(S=bi(p,0,w,h),!S)continue;var P=S.index,q=S[0],z=w.slice(0,P),K=w.slice(P+q.length),ne=A+w.length;l&&ne>l.reach&&(l.reach=ne);var H=y.prev;z&&(H=Sn(n,H,z),A+=z.length),Tl(n,H,v);var V=new ln(s,d?le.tokenize(q,d):q,T,q);if(y=Sn(n,H,V),K&&Sn(n,y,K),v>1){var te={cause:s+","+f,reach:ne};hr(e,n,t,y.prev,A,te),l&&te.reach>l.reach&&(l.reach=te.reach)}}}}}}function Cl(){var e={value:null,prev:null,next:null},n={value:null,prev:e,next:null};e.next=n,this.head=e,this.tail=n,this.length=0}function Sn(e,n,t){var r=n.next,o={value:t,prev:n,next:r};return n.next=o,r.prev=o,e.length++,o}function Tl(e,n,t){for(var r=n.next,o=0;o<t&&r!==e.tail;o++)r=r.next;n.next=r,r.prev=n,e.length-=o}function Sl(e){for(var n=[],t=e.head.next;t!==e.tail;)n.push(t.value),t=t.next;return n}const pr=le;function gr(){}gr.prototype=pr;const oe=new gr;oe.highlight=kl;oe.register=_l;oe.alias=Rl;oe.registered=Ll;oe.listLanguages=Ol;oe.util.encode=Nl;oe.Token.stringify=bt;function kl(e,n){if(typeof e!="string")throw new TypeError("Expected `string` for `value`, got `"+e+"`");let t,r;if(n&&typeof n=="object")t=n;else{if(r=n,typeof r!="string")throw new TypeError("Expected `string` for `name`, got `"+r+"`");if(Object.hasOwn(oe.languages,r))t=oe.languages[r];else throw new Error("Unknown language: `"+r+"` is not registered")}return{type:"root",children:pr.highlight.call(oe,e,t,r)}}function _l(e){if(typeof e!="function"||!e.displayName)throw new Error("Expected `function` for `syntax`, got `"+e+"`");Object.hasOwn(oe.languages,e.displayName)||e(oe)}function Rl(e,n){const t=oe.languages;let r={};typeof e=="string"?n&&(r[e]=n):r=e;let o;for(o in r)if(Object.hasOwn(r,o)){const l=r[o],s=typeof l=="string"?[l]:l;let a=-1;for(;++a<s.length;)t[s[a]]=t[o]}}function Ll(e){if(typeof e!="string")throw new TypeError("Expected `string` for `aliasOrLanguage`, got `"+e+"`");return Object.hasOwn(oe.languages,e)}function Ol(){const e=oe.languages,n=[];let t;for(t in e)Object.hasOwn(e,t)&&typeof e[t]=="object"&&n.push(t);return n}function bt(e,n){if(typeof e=="string")return{type:"text",value:e};if(Array.isArray(e)){const r=[];let o=-1;for(;++o<e.length;)e[o]!==null&&e[o]!==void 0&&e[o]!==""&&r.push(bt(e[o],n));return r}const t={attributes:{},classes:["token",e.type],content:bt(e.content,n),language:n,tag:"span",type:e.type};return e.alias&&t.classes.push(...typeof e.alias=="string"?[e.alias]:e.alias),oe.hooks.run("wrap",t),br(t.tag+"."+t.classes.join("."),Il(t.attributes),t.content)}function Nl(e){return e}function Il(e){let n;for(n in e)Object.hasOwn(e,n)&&(e[n]=bl(e[n]));return e}const Dl={default:"#24292e",comment:"#6a737d",prolog:"#6a737d",doctype:"#6a737d",cdata:"#6a737d",punctuation:"#24292e",property:"#005cc5",tag:"#22863a",boolean:"#005cc5",number:"#005cc5",constant:"#005cc5",symbol:"#005cc5",deleted:"#b31d28",selector:"#6f42c1","attr-name":"#6f42c1",string:"#032f62",char:"#032f62",builtin:"#005cc5",inserted:"#22863a",operator:"#d73a49",entity:"#22863a",url:"#032f62","attr-value":"#032f62",keyword:"#d73a49",atrule:"#d73a49","class-name":"#6f42c1",function:"#6f42c1",regex:"#032f62",important:"#e36209",variable:"#e36209"},Ml={default:"#f8f8f2",comment:"#6272a4",prolog:"#6272a4",doctype:"#6272a4",cdata:"#6272a4",punctuation:"#f8f8f2",property:"#8be9fd",tag:"#ff79c6",boolean:"#bd93f9",number:"#bd93f9",constant:"#bd93f9",symbol:"#bd93f9",deleted:"#ff5555",selector:"#50fa7b","attr-name":"#50fa7b",string:"#f1fa8c",char:"#f1fa8c",builtin:"#8be9fd",inserted:"#50fa7b",operator:"#f8f8f2",entity:"#ff79c6",url:"#f1fa8c","attr-value":"#f1fa8c",keyword:"#ff79c6",atrule:"#ff79c6","class-name":"#8be9fd",function:"#50fa7b",regex:"#ffb86c",important:"#ffb86c",variable:"#f8f8f2"},Fl=(e,n)=>{for(let t=n.length-1;t>=0;t--){const r=n[t];if(r!=="token"&&e[r])return e[r]}return e.default},jl={arduino:()=>J(()=>import("./arduino-BI0Wlt2c.js"),__vite__mapDeps([0,1,2,3])),bash:()=>J(()=>import("./bash-CG6S6Dwl.js"),[]),basic:()=>J(()=>import("./basic-Dv_zySWb.js"),[]),c:()=>J(()=>import("./c-XQKAasRE.js"),__vite__mapDeps([2,3])),clike:()=>J(()=>import("./clike-BF_vhPOR.js"),[]),cpp:()=>J(()=>import("./cpp-C11qDRMm.js"),__vite__mapDeps([1,2,3])),csharp:()=>J(()=>import("./csharp-BSdrTNSA.js"),__vite__mapDeps([4,3])),css:()=>J(()=>import("./css-B-uKvPiS.js"),[]),diff:()=>J(()=>import("./diff-DU2I1BEy.js"),[]),go:()=>J(()=>import("./go-xWYv4r-F.js"),__vite__mapDeps([5,3])),ini:()=>J(()=>import("./ini-DeUbYg71.js"),[]),java:()=>J(()=>import("./java-CUQYWvAL.js"),__vite__mapDeps([6,3])),javascript:()=>J(()=>import("./javascript-CEvf9hWA.js"),__vite__mapDeps([7,3])),json:()=>J(()=>import("./json-unC8z3UW.js"),[]),kotlin:()=>J(()=>import("./kotlin-DlLEZihb.js"),__vite__mapDeps([8,3])),less:()=>J(()=>import("./less-DRLW25Ni.js"),__vite__mapDeps([9,10])),lua:()=>J(()=>import("./lua-DkSH5e9Z.js"),[]),makefile:()=>J(()=>import("./makefile-BQ0VlwQL.js"),[]),markdown:()=>J(()=>import("./markdown-DidFTSvt.js"),__vite__mapDeps([11,12])),markup:()=>J(()=>import("./markup-BHKKUsMC.js"),[]),"markup-templating":()=>J(()=>import("./markup-templating-C-XwH7hP.js"),__vite__mapDeps([13,12])),objectivec:()=>J(()=>import("./objectivec-C86xFqEx.js"),__vite__mapDeps([14,2,3])),perl:()=>J(()=>import("./perl-bCxz9luI.js"),[]),php:()=>J(()=>import("./php-D30FZ8S0.js"),__vite__mapDeps([15,13,12])),python:()=>J(()=>import("./python-3xaErVbm.js"),[]),r:()=>J(()=>import("./r-C3cUB5Zv.js"),[]),regex:()=>J(()=>import("./regex-DfYL9OeF.js"),[]),ruby:()=>J(()=>import("./ruby-Bwg0ofHw.js"),__vite__mapDeps([16,3])),rust:()=>J(()=>import("./rust-Dc-T0lHc.js"),[]),sass:()=>J(()=>import("./sass-B4vMtMwp.js"),__vite__mapDeps([17,10])),scss:()=>J(()=>import("./scss-B7E2Cygf.js"),__vite__mapDeps([18,10])),sql:()=>J(()=>import("./sql-KgLHHO9i.js"),[]),swift:()=>J(()=>import("./swift-CbdPJeH2.js"),[]),typescript:()=>J(()=>import("./typescript-DsefBs7O.js"),__vite__mapDeps([19,7,3])),vbnet:()=>J(()=>import("./vbnet-DfXcBIcZ.js"),__vite__mapDeps([20,21])),yaml:()=>J(()=>import("./yaml-JfT7KDqq.js"),[])},Hl={html:"markup",xml:"markup",svg:"markup",mathml:"markup",ssml:"markup",atom:"markup",rss:"markup",js:"javascript",jsx:"javascript",node:"javascript",ts:"typescript",tsx:"typescript",py:"python",rb:"ruby",yml:"yaml",md:"markdown",sh:"bash",shell:"bash",zsh:"bash","c++":"cpp",objc:"objectivec",cs:"csharp",dotnet:"csharp",kt:"kotlin",rs:"rust",golang:"go"},ut=new Set,ft=new Map,Pl=e=>{const n=e.toLowerCase();return Hl[n]??n},Wl=async e=>{const n=Pl(e);if(oe.registered(n))return n;if(ut.has(n))return null;const t=jl[n];if(!t)return ut.add(n),null;let r=ft.get(n);return r||(r=t().then(o=>{oe.register(o.default)}).catch(()=>{ut.add(n)}).finally(()=>{ft.delete(n)}),ft.set(n,r)),await r,oe.registered(n)?n:null},mr=(e,n,t,r,o)=>{var s;let l=r;for(const a of e)if(a.type==="text"){const f=a.value??"";f.length>0&&(o.push({start:l,end:l+f.length,color:t,text:f}),l+=f.length)}else if(a.children){const f=(s=a.properties)==null?void 0:s.className,u=Array.isArray(f)?Fl(n,f):t;l=mr(a.children,n,u,l,o)}return l},Bl=(e,n)=>{const t=Array.from({length:n},()=>[]);let r=0,o=0;for(const l of e){let s=l.start;for(let a=0;a<l.text.length;a++)if(l.text[a]===`
|
|
72
|
-
`){const f=l.start+a;f>s&&t[r]&&t[r].push({start:s-o,end:f-o,color:l.color}),r+=1,o=l.start+a+1,s=o}l.end>s&&t[r]&&t[r].push({start:s-o,end:l.end-o,color:l.color})}return t},Vl=(e,n,t)=>{if(e.length===0)return[];let r;try{r=oe.highlight(e,n)}catch{return null}const o=[];mr(r.children??[],t,t.default,0,o);const l=e.split(`
|
|
73
|
-
`).length;return Bl(o,l)},Gl=(e,n)=>{if(n<=0)return e;const t=[];for(const r of e)r.end<=n||t.push({start:Math.max(r.start,n)-n,end:r.end-n,color:r.color});return t},$l=(e,n,t,{styles:r,showHighlight:o},l)=>{const s=n?{color:n}:void 0;return t===ee.ADDED?O.jsx("ins",{className:we(r.wordDiff,{[r.wordAdded]:o}),style:s,children:e},l):t===ee.REMOVED?O.jsx("del",{className:we(r.wordDiff,{[r.wordRemoved]:o}),style:s,children:e},l):O.jsx("span",{className:r.wordDiff,style:s,children:e},l)},ql=(e,n,t,r)=>{const o=[];let l=0;for(const x of t){const T=typeof x.value=="string"?x.value:"";T.length>0&&(o.push({start:l,end:l+T.length,type:x.type??ee.DEFAULT}),l+=T.length)}const s=e.length,a=[];let f=0,u=0,d=0,h=0;for(;d<s;){const x=n[f],T=o[u],m=x?x.end:s,p=T?T.end:s,y=Math.min(m,p,s);if(y<=d){if(m<=d)f+=1;else if(p<=d)u+=1;else break;continue}a.push($l(e.slice(d,y),x==null?void 0:x.color,T?T.type:ee.DEFAULT,r,h++)),d=y,m<=d&&(f+=1),p<=d&&(u+=1)}return a},vi=(e,n)=>n.length===0?[O.jsx("span",{children:e},0)]:n.map((t,r)=>O.jsx("span",{style:{color:t.color},children:e.slice(t.start,t.end)},r)),Ai=/^[ \t]+/;function Ul(e){if(typeof e=="string"){const n=e.match(Ai);return n?{indent:n[0],rest:e.slice(n[0].length)}:{indent:"",rest:e}}if(Array.isArray(e)){const n=e.map(o=>({...o}));let t="",r=0;for(;r<n.length;r++){const o=typeof n[r].value=="string"?n[r].value:null;if(o===null)break;const l=o.match(Ai);if(!l)break;if(l[0].length===o.length){t+=o;continue}t+=l[0],n[r]={...n[r],value:o.slice(l[0].length)};break}return t?{indent:t,rest:n.slice(r)}:{indent:"",rest:e}}return{indent:"",rest:e}}function Yl(e,n,t){const r=[];let o=0;for(const h of n){const x=typeof h.value=="string"?h.value:"";x.length>0&&(r.push({start:o,end:o+x.length,type:h.type??ee.DEFAULT}),o+=x.length)}const l=[];let s=0;for(;s<e.length;)if(e[s]==="<"){const h=e.indexOf(">",s);if(h===-1){l.push({type:"text",content:e.slice(s)});break}l.push({type:"tag",content:e.slice(s,h+1)}),s=h+1}else{let h=e.indexOf("<",s);h===-1&&(h=e.length),l.push({type:"text",content:e.slice(s,h)}),s=h}function a(h){return h.replace(/</g,"<").replace(/>/g,">").replace(/&/g,"&").replace(/"/g,'"').replace(/'/g,"'").replace(/'/g,"'").replace(/ /g," ")}function f(h){return h===ee.ADDED?{open:`<ins class="${t.wordDiff} ${t.wordAdded}">`,close:"</ins>"}:h===ee.REMOVED?{open:`<del class="${t.wordDiff} ${t.wordRemoved}">`,close:"</del>"}:{open:`<span class="${t.wordDiff}">`,close:"</span>"}}let u=0,d="";for(const h of l)if(h.type==="tag")d+=h.content;else{const x=h.content,T=a(x);let m=0,p=0;for(;m<T.length;){const y=u+m,A=r.find(q=>y>=q.start&&y<q.end);if(!A){const q=x[p];d+=q,p++,m++;continue}const w=A.end-y,v=T.length-m,S=Math.min(w,v);let R=p,W=0;for(;W<S&&R<x.length;){if(x[R]==="&"){const q=x.indexOf(";",R);q!==-1&&q-R<10?R=q+1:R++}else R++;W++}const M=x.slice(p,R),P=f(A.type);P?d+=P.open+M+P.close:d+=M,p=R,m+=S}u+=T.length}return d}var de;(function(e){e.LEFT="L",e.RIGHT="R"})(de||(de={}));const be=class be extends Te.Component{constructor(t){super(t);Z(this,"styles");Z(this,"wordDiffCache",new Map);Z(this,"highlightPrecedenceWarned",!1);Z(this,"contentColumnRef",Te.createRef());Z(this,"charMeasureRef",Te.createRef());Z(this,"stickyHeaderRef",Te.createRef());Z(this,"resizeObserver",null);Z(this,"scrollDebounceTimer",null);Z(this,"lastRenderedRange",{start:0,end:1/0});Z(this,"getWordDiffValues",(t,r,o)=>{if(!t||!r)return{leftValue:t==null?void 0:t.value,rightValue:r==null?void 0:r.value};if(t.rawValue===void 0||r.rawValue===void 0)return{leftValue:t.value,rightValue:r.value};const l=`${o}-${t.rawValue}-${r.rawValue}`;let s=this.wordDiffCache.get(l);if(!s){const a=this.props.compareMethod===se.JSON||this.props.compareMethod===se.YAML?se.CHARS:this.props.compareMethod,f=tr(t.rawValue,r.rawValue,a);s={left:f.left??[],right:f.right??[]},this.wordDiffCache.set(l,s)}return{leftValue:s.left,rightValue:s.right}});Z(this,"resetCodeBlocks",()=>this.state.expandedBlocks.length>0?(this.setState({expandedBlocks:[]}),!0):!1);Z(this,"onBlockExpand",t=>{const r=this.state.expandedBlocks.slice();r.push(t),this.setState({expandedBlocks:r},()=>this.recalculateOffsets())});Z(this,"recalculateOffsets",()=>{if(!this.props.infiniteLoading)return;const t=this.measureContentColumnWidth(),r=this.measureCharWidth();if(!t)return;const o=this.getMemoisedKey(),{lineInformation:l,lineBlocks:s,blocks:a}=this.state.computedDiffResult[o]??{};if(!l)return;const f=this.buildCumulativeOffsets(l,s,a,this.state.expandedBlocks,this.props.showDiffOnly??!0,r,t,this.props.splitView??!0);this.setState({cumulativeOffsets:f,contentColumnWidth:t,charWidth:r},()=>{this.onScroll()})});Z(this,"computeStyles",Tr(pl));Z(this,"onLineNumberClickProxy",t=>this.props.onLineNumberClick?r=>this.props.onLineNumberClick(t,r):()=>{});Z(this,"shouldHighlightWordDiff",()=>{const{compareMethod:t}=this.props;return t===se.CHARS||t===se.WORDS||t===se.WORDS_WITH_SPACE||t===se.JSON||t===se.YAML});Z(this,"renderWordDiff",(t,r)=>{var a,f;const o=this.shouldHighlightWordDiff(),l=t.map(u=>typeof u.value=="string"?u.value:"").join("");if(l.length>500)return[O.jsx("span",{children:l},"long-line")];if(r){const u=r(l),d=(f=(a=u==null?void 0:u.props)==null?void 0:a.dangerouslySetInnerHTML)==null?void 0:f.__html;if(typeof d=="string"){const h=Yl(d,t,{wordDiff:this.styles.wordDiff,wordAdded:o?this.styles.wordAdded:"",wordRemoved:o?this.styles.wordRemoved:""});return[Te.cloneElement(u,{key:"highlighted-diff",dangerouslySetInnerHTML:{__html:h}})]}}return t.map((u,d)=>{let h;return typeof u.value=="string"?h=u.value:h=void 0,u.type===ee.ADDED?O.jsx("ins",{className:we(this.styles.wordDiff,{[this.styles.wordAdded]:o}),children:h},d):u.type===ee.REMOVED?O.jsx("del",{className:we(this.styles.wordDiff,{[this.styles.wordRemoved]:o}),children:h},d):O.jsx("span",{className:we(this.styles.wordDiff),children:h},d)})});Z(this,"renderLine",(t,r,o,l,s,a)=>{const f=`${o}-${t}`,u=`${a}-${s}`,d=this.props.highlightLines??[],h=d.includes(f)||d.includes(u),x=r===ee.ADDED,T=r===ee.REMOVED,m=r===ee.CHANGED,{indent:p,rest:y}=Ul(l),A=Array.isArray(y),w=this.state.highlightResult?o===de.LEFT?this.state.highlightResult.left:this.state.highlightResult.right:null,v=t??s??void 0,S=w&&v!=null?w.get(v):void 0,R=S?Gl(S,p.length):void 0,W=500;let M;if(R)if(A){const z=y.map(K=>typeof K.value=="string"?K.value:"").join("");M=z.length>W?vi(z,R):ql(z,R,y,{styles:{wordDiff:this.styles.wordDiff,wordAdded:this.styles.wordAdded,wordRemoved:this.styles.wordRemoved},showHighlight:this.shouldHighlightWordDiff()})}else typeof y=="string"?M=vi(y,R):M=y;else A?M=this.renderWordDiff(y,this.props.renderContent):this.props.renderContent&&typeof y=="string"?M=this.props.renderContent(y):M=y;let P="div";x&&!A?P="ins":T&&!A&&(P="del");const q=!M&&!p;return O.jsxs(O.Fragment,{children:[!this.props.hideLineNumbers&&O.jsx("td",{onClick:t&&this.onLineNumberClickProxy(f),className:we(this.styles.gutter,{[this.styles.emptyGutter]:!t,[this.styles.diffAdded]:x,[this.styles.diffRemoved]:T,[this.styles.diffChanged]:m,[this.styles.highlightedGutter]:h}),children:O.jsx("pre",{className:this.styles.lineNumber,children:t})}),!this.props.splitView&&!this.props.hideLineNumbers&&O.jsx("td",{onClick:s&&this.onLineNumberClickProxy(u),className:we(this.styles.gutter,{[this.styles.emptyGutter]:!s,[this.styles.diffAdded]:x,[this.styles.diffRemoved]:T,[this.styles.diffChanged]:m,[this.styles.highlightedGutter]:h}),children:O.jsx("pre",{className:this.styles.lineNumber,children:s})}),this.props.renderGutter?this.props.renderGutter({lineNumber:t??0,type:r??ee.DEFAULT,prefix:o,value:l??"",additionalLineNumber:s??void 0,additionalPrefix:a,styles:this.styles}):null,O.jsx("td",{className:we(this.styles.marker,{[this.styles.emptyLine]:q,[this.styles.diffAdded]:x,[this.styles.diffRemoved]:T,[this.styles.diffChanged]:m,[this.styles.highlightedLine]:h}),children:O.jsxs("pre",{children:[x&&"+",T&&"-"]})}),O.jsx("td",{ref:o===de.LEFT&&!this.state.cumulativeOffsets?this.contentColumnRef:void 0,className:we(this.styles.content,{[this.styles.emptyLine]:q,[this.styles.diffAdded]:x,[this.styles.diffRemoved]:T,[this.styles.diffChanged]:m,[this.styles.highlightedLine]:h,left:o===de.LEFT,right:o===de.RIGHT}),onMouseDown:()=>{var H,V,te;const z=document.getElementsByClassName("right");for(let F=0;F<z.length;F++)(H=z[F])==null||H.classList.remove(this.styles.noSelect);const K=document.getElementsByClassName("left");for(let F=0;F<K.length;F++)(V=K[F])==null||V.classList.remove(this.styles.noSelect);const ne=document.getElementsByClassName(o===de.LEFT?"right":"left");for(let F=0;F<ne.length;F++)(te=ne[F])==null||te.classList.add(this.styles.noSelect)},title:x&&!A?"Added line":T&&!A?"Removed line":void 0,children:O.jsxs(P,{className:we(this.styles.contentText,this.styles.contentFlex),children:[p?O.jsx("span",{className:this.styles.lineIndent,children:p}):null,O.jsx("span",{className:this.styles.lineBody,children:M})]})})]})});Z(this,"renderSplitView",({left:t,right:r},o)=>{const{leftValue:l,rightValue:s}=this.getWordDiffValues(t,r,o);return O.jsxs("tr",{className:this.styles.line,children:[this.renderLine(t.lineNumber,t.type,de.LEFT,l),this.renderLine(r.lineNumber,r.type,de.RIGHT,s)]},o)});Z(this,"renderInlineView",({left:t,right:r},o)=>{const{leftValue:l,rightValue:s}=this.getWordDiffValues(t,r,o);let a;return t.type===ee.REMOVED&&r.type===ee.ADDED?O.jsxs(Te.Fragment,{children:[O.jsx("tr",{className:this.styles.line,children:this.renderLine(t.lineNumber,t.type,de.LEFT,l,null)}),O.jsx("tr",{className:this.styles.line,children:this.renderLine(null,r.type,de.RIGHT,s,r.lineNumber,de.RIGHT)})]},o):(t.type===ee.REMOVED&&(a=this.renderLine(t.lineNumber,t.type,de.LEFT,l,null)),t.type===ee.DEFAULT&&(a=this.renderLine(t.lineNumber,t.type,de.LEFT,l,r.lineNumber,de.RIGHT)),r.type===ee.ADDED&&(a=this.renderLine(null,r.type,de.RIGHT,s,r.lineNumber)),O.jsx("tr",{className:this.styles.line,children:a},o))});Z(this,"onBlockClickProxy",t=>()=>this.onBlockExpand(t));Z(this,"renderSkippedLineIndicator",(t,r,o,l)=>{const{hideLineNumbers:s,splitView:a}=this.props,f=this.props.codeFoldMessageRenderer?this.props.codeFoldMessageRenderer(t,o,l):O.jsxs("span",{className:this.styles.codeFoldContent,children:["@@ -",o-t,",",t," +",l-t,",",t," @@"]}),u=O.jsx("td",{className:this.styles.codeFoldContentContainer,children:O.jsx("button",{type:"button",className:this.styles.codeFoldExpandButton,onClick:this.onBlockClickProxy(r),tabIndex:0,children:f})}),d=!a&&!s,h=O.jsx("td",{className:this.styles.codeFoldGutter,children:O.jsx(ai,{})});return O.jsxs("tr",{className:this.styles.codeFold,onClick:this.onBlockClickProxy(r),role:"button",tabIndex:0,children:[!s&&h,this.props.renderGutter?O.jsx("td",{className:this.styles.codeFoldGutter}):null,O.jsx("td",{className:we({[this.styles.codeFoldGutter]:d})}),d?O.jsxs(Te.Fragment,{children:[O.jsx("td",{}),u]}):O.jsxs(Te.Fragment,{children:[u,this.props.renderGutter?O.jsx("td",{}):null,O.jsx("td",{}),O.jsx("td",{}),s?null:O.jsx("td",{})]})]},`${o}-${l}`)});Z(this,"getMemoisedKey",()=>{const{oldValue:t,newValue:r,disableWordDiff:o,compareMethod:l,linesOffset:s,alwaysShowLines:a,extraLinesSurroundingDiff:f}=this.props;return JSON.stringify({oldValue:t,newValue:r,disableWordDiff:o,compareMethod:l,linesOffset:s,alwaysShowLines:a,extraLinesSurroundingDiff:f})});Z(this,"memoisedCompute",async()=>{var A;const{oldValue:t,newValue:r,disableWordDiff:o,compareMethod:l,linesOffset:s}=this.props,a=this.getMemoisedKey();if(this.state.computedDiffResult[a]){this.setState(w=>({...w,isLoading:!1})),this.updateHighlight();return}const f=(A=this.props.infiniteLoading)==null?void 0:A.containerHeight,u=f?typeof f=="number"?f:parseInt(f,10)||0:0,d=!o&&!!this.props.infiniteLoading&&u>0&&u<2e3,{lineInformation:h,diffLines:x}=await So(t,r,o,l,s,this.props.alwaysShowLines,d,this.props.disableWorker),T=this.props.extraLinesSurroundingDiff??3,m=T<0?0:Math.round(T),{lineBlocks:p,blocks:y}=Sr(h,x,m);this.state.computedDiffResult[a]={lineInformation:h,lineBlocks:p,blocks:y},this.setState(w=>({...w,computedDiffResult:this.state.computedDiffResult,isLoading:!1}),()=>{this.updateHighlight(),this.props.infiniteLoading&&requestAnimationFrame(()=>this.recalculateOffsets())})});Z(this,"lineToText",t=>typeof t.rawValue=="string"?t.rawValue:typeof t.value=="string"?t.value:Array.isArray(t.value)?t.value.map(r=>typeof r.value=="string"?r.value:"").join(""):"");Z(this,"buildSideTokens",(t,r,o,l)=>{const s=[];for(const u of t){const d=u[r];!d||d.lineNumber==null||s.push({lineNumber:d.lineNumber,text:this.lineToText(d)})}s.sort((u,d)=>u.lineNumber-d.lineNumber);const a=new Map;if(s.length===0)return a;const f=Vl(s.map(u=>u.text).join(`
|
|
74
|
-
`),o,l);if(!f)return a;for(let u=0;u<s.length;u++)a.set(s[u].lineNumber,f[u]??[]);return a});Z(this,"resolveHighlightTheme",()=>{const t=this.props.useDarkTheme?Ml:Dl;return this.props.highlightTheme?{...t,...this.props.highlightTheme}:t});Z(this,"updateHighlight",async()=>{var h;const{highlightLanguage:t}=this.props;if(!t){this.state.highlightResult&&this.setState({highlightResult:null});return}const r=this.getMemoisedKey(),o=this.state.computedDiffResult[r];if(!o)return;const l=this.props.useDarkTheme??!1,s=`${r}::${t}::${l}::${JSON.stringify(this.props.highlightTheme??null)}`;if(((h=this.state.highlightResult)==null?void 0:h.key)===s)return;const a=await Wl(t);if(this.props.highlightLanguage!==t||this.getMemoisedKey()!==r)return;if(!a){this.state.highlightResult&&this.setState({highlightResult:null});return}!this.highlightPrecedenceWarned&&this.props.renderContent&&typeof process<"u";const f=this.resolveHighlightTheme(),u=this.buildSideTokens(o.lineInformation,"left",a,f),d=this.buildSideTokens(o.lineInformation,"right",a,f);this.setState({highlightResult:{key:s,left:u,right:d}})});Z(this,"onScroll",()=>{const t=this.state.scrollableContainerRef.current;if(!t||!this.props.infiniteLoading)return;const r=this.getStickyHeaderHeight(),o=Math.max(0,t.scrollTop-r),{cumulativeOffsets:l}=this.state,s=l?this.findLineAtOffset(o,l):Math.floor(o/be.ESTIMATED_ROW_HEIGHT),a=Math.ceil(t.clientHeight/be.ESTIMATED_ROW_HEIGHT),f=s+a,u=s<this.lastRenderedRange.start||f>this.lastRenderedRange.end;this.scrollDebounceTimer&&clearTimeout(this.scrollDebounceTimer);const d={};s!==this.state.visibleStartRow&&(d.visibleStartRow=s),u&&!this.state.isScrolling&&(d.isScrolling=!0),Object.keys(d).length>0&&this.setState(d),(this.state.isScrolling||u)&&(this.scrollDebounceTimer=setTimeout(()=>{this.setState({isScrolling:!1})},150))});Z(this,"renderDiff",()=>{var K,ne;const{splitView:t,infiniteLoading:r,showDiffOnly:o}=this.props,{computedDiffResult:l,expandedBlocks:s,visibleStartRow:a,scrollableContainerRef:f,cumulativeOffsets:u}=this.state,d=this.getMemoisedKey(),{lineInformation:h=[],lineBlocks:x=[],blocks:T=[]}=l[d]??{};let m=0,p=1/0;const y=(r==null?void 0:r.overscan)??20;if(r&&f.current){const H=f.current,V=this.getStickyHeaderHeight(),te=Math.max(0,H.scrollTop-V);if(u){const F=u[u.length-1]||0,ge=u.length-2;m=Math.max(0,this.findLineAtOffset(te,u)-y),p=this.findLineAtOffset(te+H.clientHeight,u)+y;const ae=Math.ceil(H.clientHeight/be.ESTIMATED_ROW_HEIGHT);p=Math.max(p,m+ae+y),te+H.clientHeight>=F-y*be.ESTIMATED_ROW_HEIGHT&&(p=ge+y)}else{const F=Math.ceil(H.clientHeight/be.ESTIMATED_ROW_HEIGHT);m=Math.max(0,a-y),p=a+F+y}}const A=new Map,w=new Set;let v=0;for(let H=0;H<h.length;H++){const V=x[H];if(o&&V!==void 0)if(s.includes(V))A.set(H,v),v++;else{const te=T[V].endLine===H;!w.has(V)&&te&&(w.add(V),A.set(H,v),v++)}else A.set(H,v),v++}const S=v,R=[];let W=0,M=!1,P=-1;w.clear();for(let H=0;H<h.length;H++){const V=h[H],te=A.get(H);if(te!==void 0&&!(te<m)){if(te>p)break;if(M||(W=u?u[te]||0:te*be.ESTIMATED_ROW_HEIGHT,M=!0),P=te,o){const F=x[H];if(F!==void 0){const ge=T[F].endLine===H;if(!s.includes(F)&&ge){R.push(O.jsx(Te.Fragment,{children:this.renderSkippedLineIndicator(T[F].lines,F,V.left.lineNumber??0,V.right.lineNumber??0)},H));continue}if(!s.includes(F))continue}}R.push(t?this.renderSplitView(V,H):this.renderInlineView(V,H))}}const q=u?u[u.length-1]||0:S*be.ESTIMATED_ROW_HEIGHT,z=u&&P>=0?q-(u[P+1]||q):0;return this.lastRenderedRange={start:m,end:p},{diffNodes:R,blocks:T,lineInformation:h,totalRenderedRows:S,topPadding:W,bottomPadding:z,totalContentHeight:q,renderedCount:R.length,debug:{visibleRowStart:m,visibleRowEnd:p,totalRows:S,offsetsLength:(u==null?void 0:u.length)??0,renderedCount:R.length,scrollTop:((K=f.current)==null?void 0:K.scrollTop)??0,headerHeight:this.getStickyHeaderHeight(),contentScrollTop:f.current?Math.max(0,f.current.scrollTop-this.getStickyHeaderHeight()):0,clientHeight:((ne=f.current)==null?void 0:ne.clientHeight)??0}}});Z(this,"render",()=>{var M,P,q,z,K,ne,H;const{oldValue:t,newValue:r,useDarkTheme:o,leftTitle:l,rightTitle:s,splitView:a,compareMethod:f,hideLineNumbers:u,nonce:d}=this.props;if(typeof f=="string"&&f!==se.JSON&&(typeof t!="string"||typeof r!="string"))throw Error('"oldValue" and "newValue" should be strings');this.styles=this.computeStyles(this.props.styles??{},o??!1,d??"");const h=this.renderDiff();this.props.renderGutter;let x=0,T=0;for(const V of h.lineInformation)V.left.type===ee.ADDED&&T++,V.right.type===ee.ADDED&&T++,V.left.type===ee.REMOVED&&x++,V.right.type===ee.REMOVED&&x++;const m=x+T,p=Math.round(T/m*100),y=[];for(let V=0;V<5;V++)p>V*20?y.push(O.jsx("span",{className:we(this.styles.block,this.styles.blockAddition)},V)):y.push(O.jsx("span",{className:we(this.styles.block,this.styles.blockDeletion)},V));const A=this.state.expandedBlocks.length===h.blocks.length,w=this.props.loadingElement,v=this.props.infiniteLoading?{overflowY:"scroll",overflowX:"hidden",height:this.props.infiniteLoading.containerHeight}:{},S=!!this.props.infiniteLoading&&!this.state.cumulativeOffsets,R=O.jsxs("table",{className:we(this.styles.diffContainer,{[this.styles.splitView]:a,[this.styles.noWrap]:S}),onMouseUp:()=>{},children:[O.jsxs("colgroup",{children:[!this.props.hideLineNumbers&&O.jsx("col",{width:"50px"}),!a&&!this.props.hideLineNumbers&&O.jsx("col",{width:"50px"}),this.props.renderGutter&&O.jsx("col",{width:"50px"}),O.jsx("col",{width:"28px"}),O.jsx("col",{width:"auto"}),a&&O.jsxs(O.Fragment,{children:[!this.props.hideLineNumbers&&O.jsx("col",{width:"50px"}),this.props.renderGutter&&O.jsx("col",{width:"50px"}),O.jsx("col",{width:"28px"}),O.jsx("col",{width:"auto"})]})]}),O.jsx("tbody",{children:h.diffNodes})]}),W=(this.state.isLoading||this.state.isScrolling)&&!!w;return O.jsxs("div",{style:{position:"relative"},children:[W&&O.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,bottom:0,zIndex:3},children:O.jsx(w,{})}),O.jsxs("div",{style:{...v,position:"relative"},onScroll:this.onScroll,ref:this.state.scrollableContainerRef,children:[(!this.props.hideSummary||l||s)&&O.jsxs("div",{ref:this.stickyHeaderRef,className:this.styles.stickyHeader,children:[!this.props.hideSummary&&O.jsxs("div",{className:this.styles.summary,role:"banner",children:[O.jsx("button",{type:"button",className:this.styles.allExpandButton,onClick:()=>{this.setState({expandedBlocks:A?[]:h.blocks.map(V=>V.index)},()=>this.recalculateOffsets())},children:A?O.jsx(gl,{}):O.jsx(ai,{})})," ",m,O.jsx("div",{style:{display:"flex",gap:"1px"},children:y}),this.props.summary?O.jsx("span",{children:this.props.summary}):null]}),(l||s)&&O.jsxs("div",{className:this.styles.columnHeaders,children:[O.jsx("div",{className:this.styles.titleBlock,children:l?O.jsx("pre",{className:this.styles.contentText,children:l}):null}),a&&O.jsx("div",{className:this.styles.titleBlock,children:s?O.jsx("pre",{className:this.styles.contentText,children:s}):null})]})]}),this.props.infiniteLoading?O.jsx("div",{style:{height:h.totalContentHeight,position:"relative"},children:O.jsx("div",{style:{position:"absolute",top:h.topPadding,left:0,right:0,visibility:this.state.isScrolling?"hidden":"visible"},children:R})}):R,O.jsx("span",{ref:this.charMeasureRef,style:{position:"absolute",top:0,left:"-9999px",visibility:"hidden",whiteSpace:"pre",fontFamily:"monospace",fontSize:12},"aria-hidden":"true",children:"M"}),this.props.infiniteLoading&&this.props.showDebugInfo&&O.jsxs("div",{style:{position:"fixed",top:10,right:10,background:"rgba(0,0,0,0.85)",color:"#0f0",padding:"10px",fontFamily:"monospace",fontSize:"11px",zIndex:9999,borderRadius:"4px",maxWidth:"300px",lineHeight:1.4},children:[O.jsx("div",{style:{fontWeight:"bold",marginBottom:"5px",color:"#fff"},children:"Debug Info"}),O.jsxs("div",{children:["scrollTop: ",h.debug.scrollTop]}),O.jsxs("div",{children:["headerHeight: ",h.debug.headerHeight]}),O.jsxs("div",{children:["contentScrollTop: ",h.debug.contentScrollTop]}),O.jsxs("div",{children:["clientHeight: ",h.debug.clientHeight]}),O.jsxs("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px"},children:[O.jsxs("div",{children:["visibleRowStart: ",h.debug.visibleRowStart]}),O.jsxs("div",{children:["visibleRowEnd: ",h.debug.visibleRowEnd]})]}),O.jsxs("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px"},children:[O.jsxs("div",{children:["totalRows: ",h.debug.totalRows]}),O.jsxs("div",{children:["offsetsLength: ",h.debug.offsetsLength]}),O.jsxs("div",{children:["renderedCount: ",h.debug.renderedCount]})]}),O.jsxs("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px"},children:[O.jsxs("div",{children:["topPadding: ",h.topPadding.toFixed(0)]}),O.jsxs("div",{children:["bottomPadding: ",h.bottomPadding.toFixed(0)]}),O.jsxs("div",{children:["totalContentHeight: ",h.totalContentHeight.toFixed(0)]})]}),O.jsxs("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px",color:"#ff0"},children:[O.jsxs("div",{children:["cumulativeOffsets: ",this.state.cumulativeOffsets?"SET":"NULL"]}),O.jsxs("div",{children:["columnWidth: ",((M=this.state.contentColumnWidth)==null?void 0:M.toFixed(0))??"N/A","px"]}),O.jsxs("div",{children:["charWidth: ",((P=this.state.charWidth)==null?void 0:P.toFixed(2))??"N/A","px"]}),O.jsxs("div",{children:["charsPerRow: ",this.state.contentColumnWidth&&this.state.charWidth?Math.floor(this.state.contentColumnWidth/this.state.charWidth):"N/A"]})]}),this.state.cumulativeOffsets&&O.jsxs("div",{style:{marginTop:"5px",borderTop:"1px solid #444",paddingTop:"5px",color:"#0ff",fontSize:"10px"},children:[O.jsxs("div",{children:["offsets[",h.debug.visibleRowEnd,"]: ",((q=this.state.cumulativeOffsets[h.debug.visibleRowEnd])==null?void 0:q.toFixed(0))??"N/A"]}),O.jsxs("div",{children:["offsets[",h.debug.totalRows-1,"]: ",((z=this.state.cumulativeOffsets[h.debug.totalRows-1])==null?void 0:z.toFixed(0))??"N/A"]}),O.jsxs("div",{children:["offsets[",h.debug.totalRows,"]: ",((K=this.state.cumulativeOffsets[h.debug.totalRows])==null?void 0:K.toFixed(0))??"N/A"]}),O.jsxs("div",{style:{marginTop:"3px"},children:["viewportEnd: ",(h.debug.contentScrollTop+h.debug.clientHeight).toFixed(0)]}),O.jsxs("div",{style:{marginTop:"3px",color:"#f0f"},children:["scrollHeight: ",((ne=this.state.scrollableContainerRef.current)==null?void 0:ne.scrollHeight)??"N/A"]}),O.jsxs("div",{children:["maxScrollTop: ",(((H=this.state.scrollableContainerRef.current)==null?void 0:H.scrollHeight)??0)-h.debug.clientHeight]})]})]})]})]})});this.state={expandedBlocks:[],noSelect:void 0,scrollableContainerRef:Te.createRef(),computedDiffResult:{},isLoading:!1,visibleStartRow:0,contentColumnWidth:null,charWidth:null,cumulativeOffsets:null,isScrolling:!1,highlightResult:null}}getStickyHeaderHeight(){var t;return((t=this.stickyHeaderRef.current)==null?void 0:t.offsetHeight)||0}measureCharWidth(){const t=this.charMeasureRef.current;return t&&t.getBoundingClientRect().width||7.2}measureContentColumnWidth(){const t=this.contentColumnRef.current;if(t&&t.clientWidth>0){const x=window.getComputedStyle(t),T=parseFloat(x.paddingLeft)+parseFloat(x.paddingRight),m=t.clientWidth-T;if(m>0)return m}const r=this.state.scrollableContainerRef.current;if(!r||r.clientWidth<=0)return null;const o=r.clientWidth,l=this.props.hideLineNumbers?0:50,s=28,a=(this.props.splitView,2),f=this.props.splitView?2:1,u=this.props.splitView?2:1,d=a*l+f*s,h=o-d;return Math.max(100,h/u)}getTextLength(t){return t?typeof t=="string"?t.length:t.reduce((r,o)=>r+(typeof o.value=="string"?o.value.length:0),0):0}buildCumulativeOffsets(t,r,o,l,s,a,f,u){var x,T;const d=[0],h=new Set;for(let m=0;m<t.length;m++){const p=t[m];if(s){const R=r[m];if(R!==void 0&&!l.includes(R)){const W=o[R].endLine===m;!h.has(R)&&W&&(h.add(R),d.push(d[d.length-1]+be.ESTIMATED_ROW_HEIGHT));continue}}const y=(x=p.left)!=null&&x.value?this.getTextLength(p.left.value):0,A=(T=p.right)!=null&&T.value?this.getTextLength(p.right.value):0,w=u?Math.max(y,A):y||A,v=Math.floor(f/a),S=v>0?Math.max(1,Math.ceil(w/v)):1;d.push(d[d.length-1]+S*be.ESTIMATED_ROW_HEIGHT)}return d}findLineAtOffset(t,r){let o=0,l=r.length-2;for(;o<l;){const s=Math.floor((o+l+1)/2);r[s]<=t?o=s:l=s-1}return o}componentDidUpdate(t){if(t.oldValue!==this.props.oldValue||t.newValue!==this.props.newValue||t.compareMethod!==this.props.compareMethod||t.disableWordDiff!==this.props.disableWordDiff||t.linesOffset!==this.props.linesOffset){this.wordDiffCache.clear();const r=this.state.scrollableContainerRef.current;r&&(r.scrollTop=0),this.setState(o=>({...o,isLoading:!0,visibleStartRow:0,cumulativeOffsets:null})),this.memoisedCompute()}else(t.highlightLanguage!==this.props.highlightLanguage||t.highlightTheme!==this.props.highlightTheme||t.useDarkTheme!==this.props.useDarkTheme)&&this.updateHighlight()}componentDidMount(){if(this.setState(t=>({...t,isLoading:!0})),this.memoisedCompute(),typeof ResizeObserver<"u"&&this.props.infiniteLoading){this.resizeObserver=new ResizeObserver(()=>{requestAnimationFrame(()=>this.recalculateOffsets())});const t=this.state.scrollableContainerRef.current;t&&this.resizeObserver.observe(t)}}componentWillUnmount(){var t;(t=this.resizeObserver)==null||t.disconnect(),this.scrollDebounceTimer&&clearTimeout(this.scrollDebounceTimer)}};Z(be,"defaultProps",{oldValue:"",newValue:"",splitView:!0,highlightLines:[],disableWordDiff:!1,compareMethod:se.CHARS,styles:{},hideLineNumbers:!1,extraLinesSurroundingDiff:3,showDiffOnly:!0,useDarkTheme:!1,linesOffset:0,nonce:""}),Z(be,"ESTIMATED_ROW_HEIGHT",19);let Ei=be;export{se as DiffMethod,de as LineNumberPrefix,pl as computeStyles,Ei as default,Ml as defaultDarkHighlightTheme,hl as defaultDarkThemeVariables,Dl as defaultLightHighlightTheme,dl as defaultLightThemeVariables};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aN as a,aO as s}from"./index-BULRe04c.js";const t={tasks:s,moment:a};export{t as i};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{aw as e}from"./index-BULRe04c.js";const o=1024;function t(){return e(`(max-width: ${o-1}px)`)}export{t as u};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{ac as n}from"./index-BULRe04c.js";function r(s){const e=n();return s||e}export{r as u};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import{W as f,j as t,G as m,B as y,gg as C,hD as A,aO as v,fq as k,aY as N,b7 as R,c4 as T,cc as E,n as b,l as M,hE as L,aW as U,r as d,bd as z,hF as O,ct as P,hG as _,aZ as F,as as I,d5 as q,cw as G,cx as B,cy as Y,cz as W,cA as $,cB as H,dw as Z,eY as J}from"./index-BULRe04c.js";import{R as K}from"./use-jump-back-in-CKA3z2by.js";import{u as V}from"./use-relay-config-CLeVWrpV.js";/**
|
|
2
|
-
* @license lucide-react v1.48.0 - ISC
|
|
3
|
-
*
|
|
4
|
-
* This source code is licensed under the ISC license.
|
|
5
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const w={name:"moon",size:24,node:[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]};w.node;const S=f(w);/**
|
|
7
|
-
* @license lucide-react v1.48.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/const D={name:"network",size:24,node:[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]]};D.node;const Q=f(D);function X(){return!0}const ee={indigo:{box:"bg-indigo-500/10",icon:"text-indigo-500"},purple:{box:"bg-purple-500/10",icon:"text-purple-500"},emerald:{box:"bg-emerald-500/10",icon:"text-emerald-500"}};function h({icon:e,tint:n,title:s,subtitle:o,highlights:a,primaryAction:i,secondaryAction:r}){const l=ee[n];return t.jsxs("div",{className:"space-y-4",children:[t.jsxs("div",{className:"flex items-center gap-3",children:[t.jsx("div",{className:m("flex size-10 items-center justify-center rounded-lg",l.box),children:t.jsx(e,{className:m("size-5",l.icon),"aria-hidden":!0})}),t.jsxs("div",{children:[t.jsx("h3",{className:"text-sm font-medium",children:s}),t.jsx("p",{className:"text-muted-foreground text-xs",children:o})]})]}),t.jsx("div",{className:"bg-muted/50 space-y-3 rounded-lg p-4",children:a.map(({icon:c,title:u,description:p})=>t.jsxs("div",{className:"flex items-start gap-3",children:[t.jsx(c,{className:"text-muted-foreground mt-0.5 size-4","aria-hidden":!0}),t.jsxs("div",{children:[t.jsx("p",{className:"text-xs font-medium",children:u}),t.jsx("p",{className:"text-muted-foreground text-xs",children:p})]})]},u))}),t.jsxs("div",{className:"flex justify-end gap-2",children:[t.jsx(y,{variant:"ghost",size:"sm",onClick:r.onClick,children:r.label}),t.jsx(y,{size:"sm",onClick:i.onClick,children:i.label})]})]})}function te({onClose:e}){const n=C(),s=()=>{e(),n()};return t.jsx(h,{icon:k,tint:"purple",title:"Get notified where you already are",subtitle:"Slack, Telegram, and more",highlights:[{icon:A,title:"Notifications",description:"Hear when agents finish or need you"},{icon:v,title:"Reply from chat",description:"Answer agents from Telegram or Slack"}],primaryAction:{label:"Connect Telegram & Slack",onClick:s},secondaryAction:{label:"Not now",onClick:e}})}function se({onClose:e}){const{open:n}=N(),s=()=>{e(),n()};return t.jsx(h,{icon:S,tint:"indigo",title:"Agents that work on a schedule",subtitle:"Put any skill on a timer",highlights:[{icon:R,title:"Any schedule",description:"Daily, hourly, or your own timing"},{icon:K,title:"Come back to results",description:"Agents start the work for you"}],primaryAction:{label:"Create a schedule",onClick:s},secondaryAction:{label:"Not now",onClick:e}})}function ne({onClose:e}){const n=T(),s=()=>{e(),n({...M.team()})};return t.jsx(h,{icon:b,tint:"emerald",title:"Let your agents work together",subtitle:"Agents can message each other",highlights:[{icon:E,title:"Shared work",description:"Agents hand tasks to each other"},{icon:Q,title:"Topology view",description:"See which agents talk to each other"}],primaryAction:{label:"Open Team",onClick:s},secondaryAction:{label:"Not now",onClick:e}})}const pe=[{id:"remote-access",placements:["dashboard-sidebar"],priority:90,shouldShow:e=>!e.isDesktopApp&&!e.remoteAccessConfigured,content:{icon:L,title:"Use DorkOS on the go",shortDescription:"Access your agents from anywhere",ctaLabel:"Learn more"},action:{type:"action",handler:()=>U.getState().setRemoteAccessOpen(!0)}},{id:"relay-adapters",placements:["dashboard-sidebar"],priority:80,shouldShow:e=>e.isRelayEnabled&&!e.hasAdapter("slack")&&!e.hasAdapter("telegram"),content:{icon:k,title:"Connect to Slack & Telegram",shortDescription:"Get notifications where you already are",ctaLabel:"Learn more"},action:{type:"dialog",component:te}},{id:"schedules",placements:["dashboard-sidebar"],priority:70,shouldShow:e=>e.isTasksEnabled&&e.sessionCount>0&&e.taskCount===0,content:{icon:S,title:"Run agents on a schedule",shortDescription:"Come back to finished work",ctaLabel:"Set up",suggestion:{question:"Want agents working while you’re away?",action:"Set up a schedule"}},action:{type:"dialog",component:se}},{id:"agent-chat",placements:[],priority:60,shouldShow:e=>e.isMeshEnabled&&e.agentCount>=2,content:{icon:b,title:"Agents working together",shortDescription:"Let your agents collaborate",ctaLabel:"Learn more",suggestion:{question:"Want two agents to split a job?",action:"Show me"}},action:{type:"dialog",component:ne}}];function ge(e,n,s,o){return e.filter(a=>!s.includes(a.id)).filter(a=>a.shouldShow(n)).sort((a,i)=>i.priority-a.priority).slice(0,o)}function ae(){return X()}const x="dorkos-first-use-date",oe=1e3*60*60*24;function ie(){try{const e=localStorage.getItem(x);if(e){const s=new Date(e);if(!isNaN(s.getTime()))return s}const n=new Date;return localStorage.setItem(x,n.toISOString()),n}catch{return new Date}}function re(){const e=ie();return Math.floor((Date.now()-e.getTime())/oe)}function ce(){const[e]=d.useState(re);return e}function me(){const e=z(),n=ae(),s=V(),{sessions:o}=O(),{data:a}=P(),i=ce(),{data:r}=_(s),{data:l}=F(e),{data:c}=I(),u=((c==null?void 0:c.tunnel.enabled)??!1)||((c==null?void 0:c.tunnel.tokenConfigured)??!1);return{hasAdapter:d.useCallback(j=>r?r.some(g=>g.config.type===j&&g.status.state==="connected"):!1,[r]),isTasksEnabled:e,isMeshEnabled:n,isRelayEnabled:s,sessionCount:o.length,agentCount:(a==null?void 0:a.agents.length)??0,taskCount:(l==null?void 0:l.length)??0,daysSinceFirstUse:i,isDesktopApp:q(),remoteAccessConfigured:u}}function le({promo:e,open:n,onOpenChange:s}){const o=d.useCallback(()=>{s(!1)},[s]);if(e.action.type!=="dialog")return null;const a=e.action.component;return t.jsx(G,{open:n,onOpenChange:s,children:t.jsxs(B,{className:"max-h-[85vh] max-w-lg gap-0 p-0",children:[t.jsx(Y,{}),t.jsxs(W,{className:"p-4 pb-0",children:[t.jsx($,{className:"text-sm font-medium",children:e.content.title}),t.jsx(H,{className:"sr-only",children:e.content.shortDescription})]}),t.jsx(Z,{className:"p-4",children:t.jsx(a,{onClose:o})})]})})}function ye(e){const[n,s]=d.useState(!1),{action:o}=e,a=d.useCallback(()=>{switch(o.type){case"dialog":s(!0);return;case"navigate":J(o.to);return;case"action":o.handler();return;default:{const r=o;throw new Error(`Unhandled promo action: ${JSON.stringify(r)}`)}}},[o]),i=o.type==="dialog"?t.jsx(le,{promo:e,open:n,onOpenChange:s}):null;return{activate:a,dialog:i}}export{S as M,pe as P,ye as a,ge as s,me as u};
|