termdock 1.4.374 → 1.4.375
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/client/assets/AndroidMirrorView-B0Hw8vBw.js +3 -0
- package/dist/client/assets/AndroidMirrorView-B0Hw8vBw.js.br +0 -0
- package/dist/client/assets/AndroidMirrorView-B0Hw8vBw.js.gz +0 -0
- package/dist/client/assets/App-DkP7RyRM.js +188 -0
- package/dist/client/assets/App-DkP7RyRM.js.br +0 -0
- package/dist/client/assets/App-DkP7RyRM.js.gz +0 -0
- package/dist/client/assets/ArchitecturePanel-CIlGwqp0.js +9 -0
- package/dist/client/assets/ArchitecturePanel-CIlGwqp0.js.br +0 -0
- package/dist/client/assets/ArchitecturePanel-CIlGwqp0.js.gz +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BI7Ftf2M.js +2 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BI7Ftf2M.js.br +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BI7Ftf2M.js.gz +0 -0
- package/dist/client/assets/ChatChartReference-Y2ZRKqz0.js +284 -0
- package/dist/client/assets/ChatChartReference-Y2ZRKqz0.js.br +0 -0
- package/dist/client/assets/ChatChartReference-Y2ZRKqz0.js.gz +0 -0
- package/dist/client/assets/ChatContextPreview-BopNrAfx.js +1 -0
- package/dist/client/assets/ChatContextPreview-BopNrAfx.js.br +0 -0
- package/dist/client/assets/ChatContextPreview-BopNrAfx.js.gz +0 -0
- package/dist/client/assets/ChatFullContent-B3LN4QNb.js +67 -0
- package/dist/client/assets/ChatFullContent-B3LN4QNb.js.br +0 -0
- package/dist/client/assets/ChatFullContent-B3LN4QNb.js.gz +0 -0
- package/dist/client/assets/ChatRichContent-C0rgTM6j.js +2 -0
- package/dist/client/assets/ChatRichContent-C0rgTM6j.js.br +0 -0
- package/dist/client/assets/ChatRichContent-C0rgTM6j.js.gz +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-Cwxx1BOM.js +1 -0
- package/dist/client/assets/ChatVideoPreviewDialog-Cwxx1BOM.js.br +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-Cwxx1BOM.js.gz +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-IOHs2OUa.js +1 -0
- package/dist/client/assets/CollaborationMainWorkspace-IOHs2OUa.js.br +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-IOHs2OUa.js.gz +0 -0
- package/dist/client/assets/CollaborationTaskContent-DbPQoriz.js +1 -0
- package/dist/client/assets/ComputerControlView-BXuNQUF2.js +6 -0
- package/dist/client/assets/ComputerControlView-BXuNQUF2.js.br +0 -0
- package/dist/client/assets/ComputerControlView-BXuNQUF2.js.gz +0 -0
- package/dist/client/assets/DagPlayground-Dd5Vgqa4.js +1 -0
- package/dist/client/assets/DagPlayground-Dd5Vgqa4.js.br +0 -0
- package/dist/client/assets/DagPlayground-Dd5Vgqa4.js.gz +0 -0
- package/dist/client/assets/DiffLab-BAVVXLOS.js +455 -0
- package/dist/client/assets/DiffLab-BAVVXLOS.js.br +0 -0
- package/dist/client/assets/DiffLab-BAVVXLOS.js.gz +0 -0
- package/dist/client/assets/DiffReview-BOTaz5gZ.js +1 -0
- package/dist/client/assets/DiffReview-BOTaz5gZ.js.br +0 -0
- package/dist/client/assets/DiffReview-BOTaz5gZ.js.gz +0 -0
- package/dist/client/assets/DiffReviewLab-CWJb4OGL.js +2 -0
- package/dist/client/assets/DiffReviewLab-CWJb4OGL.js.br +0 -0
- package/dist/client/assets/DiffReviewLab-CWJb4OGL.js.gz +0 -0
- package/dist/client/assets/DiffViewer-Beo85Ou6.js +34 -0
- package/dist/client/assets/DiffViewer-Beo85Ou6.js.br +0 -0
- package/dist/client/assets/DiffViewer-Beo85Ou6.js.gz +0 -0
- package/dist/client/assets/GitLoadingSkeleton-DHSkruhR.js +1 -0
- package/dist/client/assets/GitLoadingSkeleton-DHSkruhR.js.br +0 -0
- package/dist/client/assets/GitLoadingSkeleton-DHSkruhR.js.gz +0 -0
- package/dist/client/assets/Markdown-CoYnDmB-.js +23 -0
- package/dist/client/assets/Markdown-CoYnDmB-.js.br +0 -0
- package/dist/client/assets/Markdown-CoYnDmB-.js.gz +0 -0
- package/dist/client/assets/MarkdownPreview-COxwQyqc.js +1 -0
- package/dist/client/assets/MarkdownPreview-COxwQyqc.js.br +0 -0
- package/dist/client/assets/MarkdownPreview-COxwQyqc.js.gz +0 -0
- package/dist/client/assets/ModelPreview-JqWADsgm.js +4112 -0
- package/dist/client/assets/ModelPreview-JqWADsgm.js.br +0 -0
- package/dist/client/assets/ModelPreview-JqWADsgm.js.gz +0 -0
- package/dist/client/assets/RecordingSaveDialog-cvqqrTqB.js +1 -0
- package/dist/client/assets/RecordingSaveDialog-cvqqrTqB.js.br +0 -0
- package/dist/client/assets/RecordingSaveDialog-cvqqrTqB.js.gz +0 -0
- package/dist/client/assets/RightSidebar-Ce1XCRqq.js +1729 -0
- package/dist/client/assets/RightSidebar-Ce1XCRqq.js.br +0 -0
- package/dist/client/assets/RightSidebar-Ce1XCRqq.js.gz +0 -0
- package/dist/client/assets/SessionChatView-cJA6rkOk.js +38 -0
- package/dist/client/assets/SessionChatView-cJA6rkOk.js.br +0 -0
- package/dist/client/assets/SessionChatView-cJA6rkOk.js.gz +0 -0
- package/dist/client/assets/SessionResourceSidebar-B_gGudIu.js +2 -0
- package/dist/client/assets/SessionResourceSidebar-B_gGudIu.js.br +0 -0
- package/dist/client/assets/SessionResourceSidebar-B_gGudIu.js.gz +0 -0
- package/dist/client/assets/TodoWorkspace-DY8rk2sf.js +1 -0
- package/dist/client/assets/TodoWorkspace-DY8rk2sf.js.br +0 -0
- package/dist/client/assets/TodoWorkspace-DY8rk2sf.js.gz +0 -0
- package/dist/client/assets/VideoPreviewPlayer-CXBOaNi_.js +1 -0
- package/dist/client/assets/VideoPreviewPlayer-CXBOaNi_.js.br +0 -0
- package/dist/client/assets/VideoPreviewPlayer-CXBOaNi_.js.gz +0 -0
- package/dist/client/assets/a-arrow-down-XgQ9uFvO.js +1 -0
- package/dist/client/assets/a-arrow-up-Dknr87gM.js +1 -0
- package/dist/client/assets/a-large-small-DPsFTSYM.js +1 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-ChpjjbX7.js +1 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-ChpjjbX7.js.br +0 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-ChpjjbX7.js.gz +0 -0
- package/dist/client/assets/accessibility-D3kwjnQG.js +1 -0
- package/dist/client/assets/activity-BT52tNHN.js +1 -0
- package/dist/client/assets/air-vent-BwarjSpT.js +1 -0
- package/dist/client/assets/airplay-B9xxO6Or.js +1 -0
- package/dist/client/assets/alarm-clock-XiDt0Fwm.js +1 -0
- package/dist/client/assets/alarm-clock-check-CXPBktw5.js +1 -0
- package/dist/client/assets/alarm-clock-minus-Dkmbjcnl.js +1 -0
- package/dist/client/assets/alarm-clock-off-DtZxYtC2.js +1 -0
- package/dist/client/assets/alarm-clock-plus-Bpm4KkHQ.js +1 -0
- package/dist/client/assets/alarm-smoke-DRVqGuKs.js +1 -0
- package/dist/client/assets/album-DG0MnK9T.js +1 -0
- package/dist/client/assets/align-center-horizontal-Do9_rngR.js +1 -0
- package/dist/client/assets/align-center-vertical-VsuEqpE1.js +1 -0
- package/dist/client/assets/align-end-horizontal-CsIUylvI.js +1 -0
- package/dist/client/assets/align-end-vertical-CIjM4axw.js +1 -0
- package/dist/client/assets/align-horizontal-distribute-center-q-yDjrP0.js +1 -0
- package/dist/client/assets/align-horizontal-distribute-end-RunDX1sT.js +1 -0
- package/dist/client/assets/align-horizontal-distribute-start-Ci23dKMN.js +1 -0
- package/dist/client/assets/align-horizontal-justify-center-BNu8jfB3.js +1 -0
- package/dist/client/assets/align-horizontal-justify-end-ByGNCmzD.js +1 -0
- package/dist/client/assets/align-horizontal-justify-start-Dexxv4Rw.js +1 -0
- package/dist/client/assets/align-horizontal-space-around-BAv9Z1Ts.js +1 -0
- package/dist/client/assets/align-horizontal-space-between-CCHNAfV-.js +1 -0
- package/dist/client/assets/align-start-horizontal-Dx2AdWyO.js +1 -0
- package/dist/client/assets/align-start-vertical-Cz_TVa5F.js +1 -0
- package/dist/client/assets/align-vertical-distribute-center-CWX6V8EV.js +1 -0
- package/dist/client/assets/align-vertical-distribute-end-BTCVBfoh.js +1 -0
- package/dist/client/assets/align-vertical-distribute-start-DsncEpYA.js +1 -0
- package/dist/client/assets/align-vertical-justify-center-BopFok-b.js +1 -0
- package/dist/client/assets/align-vertical-justify-end-DgYftQq2.js +1 -0
- package/dist/client/assets/align-vertical-justify-start-Cf4z0q1H.js +1 -0
- package/dist/client/assets/align-vertical-space-around-DBP5LWtq.js +1 -0
- package/dist/client/assets/align-vertical-space-between-Cfw-dA_o.js +1 -0
- package/dist/client/assets/ambulance-DeyKDsIH.js +1 -0
- package/dist/client/assets/ampersand-Df1t8sYC.js +1 -0
- package/dist/client/assets/ampersands-CkEd7iXo.js +1 -0
- package/dist/client/assets/amphora-BU96vE9a.js +1 -0
- package/dist/client/assets/anchor-Dz6PP7PC.js +1 -0
- package/dist/client/assets/angry-YN5-C1YT.js +1 -0
- package/dist/client/assets/annoyed-CTmZ0Ngz.js +1 -0
- package/dist/client/assets/antenna-1nlMWPYS.js +1 -0
- package/dist/client/assets/anvil-PwJZKUr6.js +1 -0
- package/dist/client/assets/aperture-91G2b9e7.js +1 -0
- package/dist/client/assets/app-window-C5uAHEFz.js +1 -0
- package/dist/client/assets/app-window-mac-BRdzXuuc.js +1 -0
- package/dist/client/assets/app-x3GyQcok.js +37 -0
- package/dist/client/assets/app-x3GyQcok.js.br +0 -0
- package/dist/client/assets/app-x3GyQcok.js.gz +0 -0
- package/dist/client/assets/apple-DKoGAlvV.js +1 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-8Xekac2v.js +36 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-8Xekac2v.js.br +0 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-8Xekac2v.js.gz +0 -0
- package/dist/client/assets/archive-PbhwntiN.js +1 -0
- package/dist/client/assets/archive-restore-DOWQ34qY.js +1 -0
- package/dist/client/assets/archive-x-BQaOooOI.js +1 -0
- package/dist/client/assets/armchair-DBMnuwrQ.js +1 -0
- package/dist/client/assets/arrow-big-down-CmwQscLx.js +1 -0
- package/dist/client/assets/arrow-big-down-dash-C2wjfOc3.js +1 -0
- package/dist/client/assets/arrow-big-left-DNjQGeCf.js +1 -0
- package/dist/client/assets/arrow-big-left-dash-CZQTeeGo.js +1 -0
- package/dist/client/assets/arrow-big-right-BeWe8H98.js +1 -0
- package/dist/client/assets/arrow-big-right-dash-Cpo74x7t.js +1 -0
- package/dist/client/assets/arrow-big-up-BCWHnFQd.js +1 -0
- package/dist/client/assets/arrow-big-up-dash-CszEeFN4.js +1 -0
- package/dist/client/assets/arrow-down-0-1-BkJOFc6o.js +1 -0
- package/dist/client/assets/arrow-down-1-0-DejNiLs8.js +1 -0
- package/dist/client/assets/arrow-down-CDEtdEWy.js +1 -0
- package/dist/client/assets/arrow-down-from-line-y5DGPmbO.js +1 -0
- package/dist/client/assets/arrow-down-left-CE3XpXnr.js +1 -0
- package/dist/client/assets/arrow-down-narrow-wide-CGFsp4yN.js +1 -0
- package/dist/client/assets/arrow-down-right-Ci2B4MQ_.js +1 -0
- package/dist/client/assets/arrow-down-to-dot-D7tBnxWi.js +1 -0
- package/dist/client/assets/arrow-down-to-line-BFSxgAUU.js +1 -0
- package/dist/client/assets/arrow-down-up-aw5OTDLv.js +1 -0
- package/dist/client/assets/arrow-down-wide-narrow-DCuqiSW1.js +1 -0
- package/dist/client/assets/arrow-down-z-a-D2SryReD.js +1 -0
- package/dist/client/assets/arrow-left-from-line-BAUgMY9V.js +1 -0
- package/dist/client/assets/arrow-left-right-CCyy0FrC.js +1 -0
- package/dist/client/assets/arrow-left-to-line-P14XNRPG.js +1 -0
- package/dist/client/assets/arrow-right-from-line-DPewreaK.js +1 -0
- package/dist/client/assets/arrow-right-left-CrPBKE8c.js +1 -0
- package/dist/client/assets/arrow-right-to-line-BgNCCQS5.js +1 -0
- package/dist/client/assets/arrow-up-0-1-qBNt2uW0.js +1 -0
- package/dist/client/assets/arrow-up-1-0-DZuvmpRw.js +1 -0
- package/dist/client/assets/arrow-up-a-z-CkYzSCxl.js +1 -0
- package/dist/client/assets/arrow-up-down-DGGnhxLs.js +1 -0
- package/dist/client/assets/arrow-up-from-dot-CE0bkrDi.js +1 -0
- package/dist/client/assets/arrow-up-from-line-BJor9MsW.js +1 -0
- package/dist/client/assets/arrow-up-left-Bm857_lU.js +1 -0
- package/dist/client/assets/arrow-up-narrow-wide-BsNGUE3E.js +1 -0
- package/dist/client/assets/arrow-up-to-line-mV-8IupI.js +1 -0
- package/dist/client/assets/arrow-up-wide-narrow-BKdR7Cnm.js +1 -0
- package/dist/client/assets/arrow-up-z-a-BUFfMJ1p.js +1 -0
- package/dist/client/assets/arrows-up-from-line-D9zH0N0O.js +1 -0
- package/dist/client/assets/asterisk-DkxdrPNu.js +1 -0
- package/dist/client/assets/astroid-YwZtITD7.js +1 -0
- package/dist/client/assets/atom-CIgBlCEf.js +1 -0
- package/dist/client/assets/audio-lines-CE5Fq0hQ.js +1 -0
- package/dist/client/assets/audio-waveform-Hjryn8d5.js +1 -0
- package/dist/client/assets/award-6a8LJnEi.js +1 -0
- package/dist/client/assets/axe-CGe2Mijm.js +1 -0
- package/dist/client/assets/axis-3d-CVMkl-m-.js +1 -0
- package/dist/client/assets/baby-BvpgZEaQ.js +1 -0
- package/dist/client/assets/backpack-C3g6b8oH.js +1 -0
- package/dist/client/assets/badge-DFJufIWj.js +1 -0
- package/dist/client/assets/badge-alert-U3XN96Al.js +1 -0
- package/dist/client/assets/badge-cent-CCi44nGO.js +1 -0
- package/dist/client/assets/badge-check-BjKBC9a7.js +1 -0
- package/dist/client/assets/badge-dollar-sign-DSVxuRrv.js +1 -0
- package/dist/client/assets/badge-euro-Db2Vzgb2.js +1 -0
- package/dist/client/assets/badge-indian-rupee-BCYzch3j.js +1 -0
- package/dist/client/assets/badge-info-D8nV2ZaZ.js +1 -0
- package/dist/client/assets/badge-japanese-yen-Cxl6akiT.js +1 -0
- package/dist/client/assets/badge-minus-DQLn33ov.js +1 -0
- package/dist/client/assets/badge-percent-ia197CW_.js +1 -0
- package/dist/client/assets/badge-plus-Bl7i6GzJ.js +1 -0
- package/dist/client/assets/badge-pound-sterling-CHj61hQd.js +1 -0
- package/dist/client/assets/badge-question-mark-DuOZhaoU.js +1 -0
- package/dist/client/assets/badge-russian-ruble-BaAlrg13.js +1 -0
- package/dist/client/assets/badge-swiss-franc-CyVNpmP0.js +1 -0
- package/dist/client/assets/badge-turkish-lira-BWNgg5Up.js +1 -0
- package/dist/client/assets/badge-x-Bmeci0-T.js +1 -0
- package/dist/client/assets/baggage-claim-Cjj3OWob.js +1 -0
- package/dist/client/assets/balloon-i5qPGBgS.js +1 -0
- package/dist/client/assets/ban-YTuH_fDS.js +1 -0
- package/dist/client/assets/banana-Cv74B8yC.js +1 -0
- package/dist/client/assets/bandage-C8EdkCX0.js +1 -0
- package/dist/client/assets/banknote-CD0yyL1e.js +1 -0
- package/dist/client/assets/banknote-arrow-down-DH6lKfjT.js +1 -0
- package/dist/client/assets/banknote-arrow-up-B2z-x8lW.js +1 -0
- package/dist/client/assets/banknote-x-DAaIJSu7.js +1 -0
- package/dist/client/assets/barcode-CnW5FK0F.js +1 -0
- package/dist/client/assets/barrel-gOSWt2Bu.js +1 -0
- package/dist/client/assets/baseline-CjSlQqn7.js +1 -0
- package/dist/client/assets/bath-em-x7HWN.js +1 -0
- package/dist/client/assets/battery-BWrR12hf.js +1 -0
- package/dist/client/assets/battery-charging-tNbPhfgQ.js +1 -0
- package/dist/client/assets/battery-full-DFt1hBZl.js +1 -0
- package/dist/client/assets/battery-low-DG53LcHm.js +1 -0
- package/dist/client/assets/battery-medium-C18Mr3sT.js +1 -0
- package/dist/client/assets/battery-plus-Bnb7wHJe.js +1 -0
- package/dist/client/assets/battery-warning--9a8bhxx.js +1 -0
- package/dist/client/assets/beaker-Dz-E83uX.js +1 -0
- package/dist/client/assets/bean-DU0aJqHH.js +1 -0
- package/dist/client/assets/bean-off-CgM5zBGX.js +1 -0
- package/dist/client/assets/bed-B34T2dql.js +1 -0
- package/dist/client/assets/bed-double-D4pjHOZ9.js +1 -0
- package/dist/client/assets/bed-single-D8LNZv5x.js +1 -0
- package/dist/client/assets/beef-CLIjxrL2.js +1 -0
- package/dist/client/assets/beef-off-CJrMeqVq.js +1 -0
- package/dist/client/assets/beer-BQXjKDQY.js +1 -0
- package/dist/client/assets/beer-off-CaiHNf6t.js +1 -0
- package/dist/client/assets/bell-CQHNQDrd.js +1 -0
- package/dist/client/assets/bell-check-6iZmPbbb.js +1 -0
- package/dist/client/assets/bell-electric-C35cBmG0.js +1 -0
- package/dist/client/assets/bell-minus-zz0eO5r8.js +1 -0
- package/dist/client/assets/bell-off-CgTGMv56.js +1 -0
- package/dist/client/assets/bell-plus-HS9FUb2b.js +1 -0
- package/dist/client/assets/bell-ring-V3kgAnpD.js +1 -0
- package/dist/client/assets/between-horizontal-end-CsgcW_wR.js +1 -0
- package/dist/client/assets/between-horizontal-start-BJbV6xwD.js +1 -0
- package/dist/client/assets/between-vertical-end-CUa_4j0H.js +1 -0
- package/dist/client/assets/between-vertical-start-BOP3oCJ9.js +1 -0
- package/dist/client/assets/biceps-flexed-D3cTtLqS.js +1 -0
- package/dist/client/assets/bike-D5e1eGUS.js +1 -0
- package/dist/client/assets/binary-D5OaCzmf.js +1 -0
- package/dist/client/assets/binoculars-DQZfChs0.js +1 -0
- package/dist/client/assets/biohazard-DhP_dLXD.js +1 -0
- package/dist/client/assets/bird-BRMEkWFL.js +1 -0
- package/dist/client/assets/birdhouse-Dn3TPZ4K.js +1 -0
- package/dist/client/assets/bitcoin-CBKOKrFr.js +1 -0
- package/dist/client/assets/blend-DZuAwKqL.js +1 -0
- package/dist/client/assets/blender-DMsN_tpg.js +1 -0
- package/dist/client/assets/blinds-BJ8CM96J.js +1 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-BC3Qtitu.js +129 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-BC3Qtitu.js.br +0 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-BC3Qtitu.js.gz +0 -0
- package/dist/client/assets/blocks-BHUThDby.js +1 -0
- package/dist/client/assets/bluetooth-BPYnKvZe.js +1 -0
- package/dist/client/assets/bluetooth-connected-Dbly3v7w.js +1 -0
- package/dist/client/assets/bluetooth-off-CFk4RZRA.js +1 -0
- package/dist/client/assets/bluetooth-searching-I5-zTqKY.js +1 -0
- package/dist/client/assets/bold-SlTpqmau.js +1 -0
- package/dist/client/assets/bolt-B2QvCXyB.js +1 -0
- package/dist/client/assets/bomb-1vSY5xR4.js +1 -0
- package/dist/client/assets/bone-CKnO4q6t.js +1 -0
- package/dist/client/assets/book-CDNFISHi.js +1 -0
- package/dist/client/assets/book-a-XAmuM0Be.js +1 -0
- package/dist/client/assets/book-alert-B6kEWt6V.js +1 -0
- package/dist/client/assets/book-audio-frpkUqzT.js +1 -0
- package/dist/client/assets/book-check-DfWbA2kT.js +1 -0
- package/dist/client/assets/book-copy-L5YNNO4B.js +1 -0
- package/dist/client/assets/book-dashed-CdeiPMr9.js +1 -0
- package/dist/client/assets/book-down-BZGqYlNJ.js +1 -0
- package/dist/client/assets/book-headphones-BKg0TZzv.js +1 -0
- package/dist/client/assets/book-heart-7e48OOYP.js +1 -0
- package/dist/client/assets/book-image-Cs0tq3zd.js +1 -0
- package/dist/client/assets/book-key-FdLMt7JI.js +1 -0
- package/dist/client/assets/book-lock-BfLfy-0k.js +1 -0
- package/dist/client/assets/book-marked-EVGmHjCc.js +1 -0
- package/dist/client/assets/book-minus-rHYi7CPV.js +1 -0
- package/dist/client/assets/book-open-check-CQLxXf-u.js +1 -0
- package/dist/client/assets/book-open-phJ8F6Xm.js +1 -0
- package/dist/client/assets/book-open-text-D9Nzgctt.js +1 -0
- package/dist/client/assets/book-plus-BeUp_nyO.js +1 -0
- package/dist/client/assets/book-search-rwX59ylf.js +1 -0
- package/dist/client/assets/book-text-BykkwtLx.js +1 -0
- package/dist/client/assets/book-type-CKHKkt8k.js +1 -0
- package/dist/client/assets/book-up-2-Cx02N-Zl.js +1 -0
- package/dist/client/assets/book-up-DgnkT7nx.js +1 -0
- package/dist/client/assets/book-user-BMNEr8Tk.js +1 -0
- package/dist/client/assets/book-x-CqER94AK.js +1 -0
- package/dist/client/assets/bookmark-OfWnPk9Q.js +1 -0
- package/dist/client/assets/bookmark-check-o9EKO9SQ.js +1 -0
- package/dist/client/assets/bookmark-minus-D0kfHS0B.js +1 -0
- package/dist/client/assets/bookmark-off-DgK3EZWt.js +1 -0
- package/dist/client/assets/bookmark-plus-Cmz8O0gQ.js +1 -0
- package/dist/client/assets/bookmark-x-Bl31Gf1G.js +1 -0
- package/dist/client/assets/boom-box-BkwLKdsS.js +1 -0
- package/dist/client/assets/bot-message-square-DQSENKAv.js +1 -0
- package/dist/client/assets/bot-off-Brye8bsn.js +1 -0
- package/dist/client/assets/bottle-wine-7KoFTUTU.js +1 -0
- package/dist/client/assets/bow-arrow-B4aYBVWQ.js +1 -0
- package/dist/client/assets/boxes-B6vUZvp2.js +1 -0
- package/dist/client/assets/braces-BjLJ3H0J.js +1 -0
- package/dist/client/assets/brackets-hIHsTj32.js +1 -0
- package/dist/client/assets/brain-CfHHLRbb.js +1 -0
- package/dist/client/assets/brain-circuit-DP_MW3Q4.js +1 -0
- package/dist/client/assets/brain-cog-A8413U46.js +1 -0
- package/dist/client/assets/brain-cog-A8413U46.js.br +0 -0
- package/dist/client/assets/brain-cog-A8413U46.js.gz +0 -0
- package/dist/client/assets/brick-wall-D14s9EoF.js +1 -0
- package/dist/client/assets/brick-wall-fire-B5AyWoPQ.js +1 -0
- package/dist/client/assets/brick-wall-shield-HP-93dvf.js +1 -0
- package/dist/client/assets/briefcase-business-CjHIXs73.js +1 -0
- package/dist/client/assets/briefcase-conveyor-belt-BbtuSpji.js +1 -0
- package/dist/client/assets/briefcase-medical-CufNPExC.js +1 -0
- package/dist/client/assets/bring-to-front-Dl3BJk1b.js +1 -0
- package/dist/client/assets/broccoli-BArR-YmO.js +1 -0
- package/dist/client/assets/brush-BzE_8ER7.js +1 -0
- package/dist/client/assets/brush-cleaning-DH9Lweyp.js +1 -0
- package/dist/client/assets/bubbles-Dp8bVlm1.js +1 -0
- package/dist/client/assets/bug-DS3FkyjK.js +1 -0
- package/dist/client/assets/bug-off-BJ1_bgeL.js +1 -0
- package/dist/client/assets/bug-play-DjheBA2C.js +1 -0
- package/dist/client/assets/building-2-BemXN0wI.js +1 -0
- package/dist/client/assets/building-nOpNDlSe.js +1 -0
- package/dist/client/assets/bus-DYHroTL2.js +1 -0
- package/dist/client/assets/bus-front-DIeat9XB.js +1 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-BwZ5DlPu.js +38 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-BwZ5DlPu.js.br +0 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-BwZ5DlPu.js.gz +0 -0
- package/dist/client/assets/cable-CRR37yVI.js +1 -0
- package/dist/client/assets/cable-car-B0c2bvy9.js +1 -0
- package/dist/client/assets/cake-f56PK9Ld.js +1 -0
- package/dist/client/assets/cake-slice-DdBmHu-U.js +1 -0
- package/dist/client/assets/calculator-D3cjNffB.js +1 -0
- package/dist/client/assets/calendar-1-DzOsmHOQ.js +1 -0
- package/dist/client/assets/calendar-KAaNu5d3.js +1 -0
- package/dist/client/assets/calendar-arrow-down-Dg8W7Oks.js +1 -0
- package/dist/client/assets/calendar-arrow-up-CChhcQ0r.js +1 -0
- package/dist/client/assets/calendar-check-2-1vm_eoag.js +1 -0
- package/dist/client/assets/calendar-check-CJUPdpRk.js +1 -0
- package/dist/client/assets/calendar-clock-CdYGi3vx.js +1 -0
- package/dist/client/assets/calendar-cog-C-TzML8X.js +1 -0
- package/dist/client/assets/calendar-days-BYq1-JsE.js +1 -0
- package/dist/client/assets/calendar-fold-EXttAr9e.js +1 -0
- package/dist/client/assets/calendar-heart-yxAjM2K7.js +1 -0
- package/dist/client/assets/calendar-minus-2-HJtwEHu_.js +1 -0
- package/dist/client/assets/calendar-minus-BoIiYqA3.js +1 -0
- package/dist/client/assets/calendar-off-BXOap5-0.js +1 -0
- package/dist/client/assets/calendar-plus-2-Z39U_Smz.js +1 -0
- package/dist/client/assets/calendar-plus-TUSEaZXb.js +1 -0
- package/dist/client/assets/calendar-range-Jjx2QRVh.js +1 -0
- package/dist/client/assets/calendar-search-BL4sUHe5.js +1 -0
- package/dist/client/assets/calendar-sync-Br2TInD3.js +1 -0
- package/dist/client/assets/calendar-x-2-BGdEp8c9.js +1 -0
- package/dist/client/assets/calendar-x-Bq8775_K.js +1 -0
- package/dist/client/assets/calendars-BQaWZhsG.js +1 -0
- package/dist/client/assets/camera-Bxzjhlyy.js +1 -0
- package/dist/client/assets/camera-off-3XrLH_6a.js +1 -0
- package/dist/client/assets/candy-DXJcI_XB.js +1 -0
- package/dist/client/assets/candy-cane-CzkM4Kel.js +1 -0
- package/dist/client/assets/candy-off-CydX_MC6.js +1 -0
- package/dist/client/assets/cannabis-Dee79g4C.js +1 -0
- package/dist/client/assets/cannabis-off-Bk43CJlq.js +1 -0
- package/dist/client/assets/captions-CtaKVxfq.js +1 -0
- package/dist/client/assets/captions-off-9mKgd_H_.js +1 -0
- package/dist/client/assets/car-front-CzSDGgzE.js +1 -0
- package/dist/client/assets/car-jeqT8MX3.js +1 -0
- package/dist/client/assets/car-taxi-front-D2Y3KUEq.js +1 -0
- package/dist/client/assets/caravan-BEyG4cXZ.js +1 -0
- package/dist/client/assets/card-sim-92u0LrmC.js +1 -0
- package/dist/client/assets/carrot-_aZH6dpD.js +1 -0
- package/dist/client/assets/case-lower-fQDUTfRv.js +1 -0
- package/dist/client/assets/case-sensitive--cER3KyS.js +1 -0
- package/dist/client/assets/case-upper-BGfZCp4C.js +1 -0
- package/dist/client/assets/cassette-tape-DZXPdO_a.js +1 -0
- package/dist/client/assets/cast-nYgcJDeb.js +1 -0
- package/dist/client/assets/castle-gdB9kTzY.js +1 -0
- package/dist/client/assets/cat-4pg-4n1T.js +1 -0
- package/dist/client/assets/cctv-BR2i98Du.js +1 -0
- package/dist/client/assets/cctv-off-DBUnsZi6.js +1 -0
- package/dist/client/assets/channel-DBtU3GqF.js +1 -0
- package/dist/client/assets/chart-area-Dhbl1iHh.js +1 -0
- package/dist/client/assets/chart-bar-EcJZJcP4.js +1 -0
- package/dist/client/assets/chart-bar-big-BYV1-zpe.js +1 -0
- package/dist/client/assets/chart-bar-decreasing-CeNpxYUg.js +1 -0
- package/dist/client/assets/chart-bar-increasing-ugaTrltM.js +1 -0
- package/dist/client/assets/chart-bar-stacked-g6dEAbEO.js +1 -0
- package/dist/client/assets/chart-candlestick-D9KCT2da.js +1 -0
- package/dist/client/assets/chart-column-CoB25wby.js +1 -0
- package/dist/client/assets/chart-column-big-CYNLA_tZ.js +1 -0
- package/dist/client/assets/chart-column-decreasing-BaAEwnpw.js +1 -0
- package/dist/client/assets/chart-column-increasing-B6B8pkMq.js +1 -0
- package/dist/client/assets/chart-column-stacked-B8I6NI6T.js +1 -0
- package/dist/client/assets/chart-gantt-B1GS5V3C.js +1 -0
- package/dist/client/assets/chart-line-D3xzzQy8.js +1 -0
- package/dist/client/assets/chart-network-Bjag_hPK.js +1 -0
- package/dist/client/assets/chart-no-axes-column-Cho4s_DO.js +1 -0
- package/dist/client/assets/chart-no-axes-column-decreasing-81_ORRCG.js +1 -0
- package/dist/client/assets/chart-no-axes-column-increasing-DOLcBcqs.js +1 -0
- package/dist/client/assets/chart-no-axes-combined-1-rIbZs7.js +1 -0
- package/dist/client/assets/chart-no-axes-gantt-Bv-2glsD.js +1 -0
- package/dist/client/assets/chart-pie-CTkuBniK.js +1 -0
- package/dist/client/assets/chart-scatter-D0kVQJrp.js +1 -0
- package/dist/client/assets/chart-spline-BxGyi1QN.js +1 -0
- package/dist/client/assets/check-check-BNVCHVlY.js +1 -0
- package/dist/client/assets/check-line-0onAK0Fi.js +1 -0
- package/dist/client/assets/chef-hat-DEoodV63.js +1 -0
- package/dist/client/assets/cherry-C4eD4ZMo.js +1 -0
- package/dist/client/assets/chess-bishop-JrJmkb-a.js +1 -0
- package/dist/client/assets/chess-king-nzk_39lb.js +1 -0
- package/dist/client/assets/chess-knight-BSwhlibT.js +1 -0
- package/dist/client/assets/chess-pawn-D0JQc1qn.js +1 -0
- package/dist/client/assets/chess-queen-B1elDR_4.js +1 -0
- package/dist/client/assets/chess-rook-Bjm_McVb.js +1 -0
- package/dist/client/assets/chevron-first-a7hJygee.js +1 -0
- package/dist/client/assets/chevron-last-W3Foqs6n.js +1 -0
- package/dist/client/assets/chevron-left-T59bhjJp.js +1 -0
- package/dist/client/assets/chevrons-down-DjGQbOHO.js +1 -0
- package/dist/client/assets/chevrons-down-up-kgpnFL1P.js +1 -0
- package/dist/client/assets/chevrons-left-D63rk3xW.js +1 -0
- package/dist/client/assets/chevrons-left-right-7Tu-rXeD.js +1 -0
- package/dist/client/assets/chevrons-left-right-ellipsis-X7vz4GzY.js +1 -0
- package/dist/client/assets/chevrons-right-BHTNnx8u.js +1 -0
- package/dist/client/assets/chevrons-right-left-b0AOS-WL.js +1 -0
- package/dist/client/assets/chevrons-up-BNR_yaPq.js +1 -0
- package/dist/client/assets/chevrons-up-down-BJUlqV7V.js +1 -0
- package/dist/client/assets/chunk-2Q5K7J3B-1xdic9C_.js +1 -0
- package/dist/client/assets/chunk-5VM5RSS4-D0j29IE6.js +15 -0
- package/dist/client/assets/chunk-F27PBJKO-CEE6F4iF.js +1 -0
- package/dist/client/assets/chunk-F27PBJKO-CEE6F4iF.js.br +0 -0
- package/dist/client/assets/chunk-F27PBJKO-CEE6F4iF.js.gz +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-Cj28GqWY.js +231 -0
- package/dist/client/assets/chunk-IMKFNOWR-Cj28GqWY.js.br +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-Cj28GqWY.js.gz +0 -0
- package/dist/client/assets/chunk-JWPE2WC7-cY-UEXBd.js +1 -0
- package/dist/client/assets/chunk-POPQ4Y6H-D1woUCuU.js +1 -0
- package/dist/client/assets/chunk-SVP7TREG-BM-sgDpG.js +88 -0
- package/dist/client/assets/chunk-SVP7TREG-BM-sgDpG.js.br +0 -0
- package/dist/client/assets/chunk-SVP7TREG-BM-sgDpG.js.gz +0 -0
- package/dist/client/assets/chunk-TICWLB2K-sOMH-g7h.js +206 -0
- package/dist/client/assets/chunk-TICWLB2K-sOMH-g7h.js.br +0 -0
- package/dist/client/assets/chunk-TICWLB2K-sOMH-g7h.js.gz +0 -0
- package/dist/client/assets/chunk-XXDRQBXY-CkKSEWgg.js +1 -0
- package/dist/client/assets/church-BkmV_oMm.js +1 -0
- package/dist/client/assets/cigarette-TSzxzn_S.js +1 -0
- package/dist/client/assets/cigarette-off-DEQfmuJk.js +1 -0
- package/dist/client/assets/circle-BZgtRXHQ.js +1 -0
- package/dist/client/assets/circle-arrow-down-CLp0g_WH.js +1 -0
- package/dist/client/assets/circle-arrow-left-yPoEDfvK.js +1 -0
- package/dist/client/assets/circle-arrow-out-down-left-Bx4LF0SY.js +1 -0
- package/dist/client/assets/circle-arrow-out-down-right-COD-nYbp.js +1 -0
- package/dist/client/assets/circle-arrow-out-up-left-y4YPDfIR.js +1 -0
- package/dist/client/assets/circle-arrow-out-up-right-BxjFycqf.js +1 -0
- package/dist/client/assets/circle-arrow-right-Cfk2BRFt.js +1 -0
- package/dist/client/assets/circle-arrow-up-Du0im-Q1.js +1 -0
- package/dist/client/assets/circle-check-big-WfwtaQj4.js +1 -0
- package/dist/client/assets/circle-chevron-down-DLjWifM_.js +1 -0
- package/dist/client/assets/circle-chevron-left-BEDlmJTO.js +1 -0
- package/dist/client/assets/circle-chevron-right-DmnvIwDt.js +1 -0
- package/dist/client/assets/circle-chevron-up-B5981_U_.js +1 -0
- package/dist/client/assets/circle-dashed-BCL8axnc.js +1 -0
- package/dist/client/assets/circle-divide-PqjjIU8T.js +1 -0
- package/dist/client/assets/circle-dollar-sign-BPU9Xfkd.js +1 -0
- package/dist/client/assets/circle-dot-HSo9_QJM.js +1 -0
- package/dist/client/assets/circle-dot-dashed-W1FUrkHy.js +1 -0
- package/dist/client/assets/circle-ellipsis-CxgoBKa4.js +1 -0
- package/dist/client/assets/circle-equal-DIfAvY4R.js +1 -0
- package/dist/client/assets/circle-fading-arrow-up-C-q_mVNL.js +1 -0
- package/dist/client/assets/circle-fading-plus-DQQgudDq.js +1 -0
- package/dist/client/assets/circle-gauge-CpjmUqys.js +1 -0
- package/dist/client/assets/circle-minus-_6L8Brua.js +1 -0
- package/dist/client/assets/circle-off-CxsPyvHS.js +1 -0
- package/dist/client/assets/circle-parking-DPxwZyJ-.js +1 -0
- package/dist/client/assets/circle-parking-off-DX-Eid1H.js +1 -0
- package/dist/client/assets/circle-pause-BJVXb9CR.js +1 -0
- package/dist/client/assets/circle-percent-2pCxdsQ-.js +1 -0
- package/dist/client/assets/circle-pile-DdyWpPn4.js +1 -0
- package/dist/client/assets/circle-play-DdwVmxmd.js +1 -0
- package/dist/client/assets/circle-plus-DgYmGVY_.js +1 -0
- package/dist/client/assets/circle-pound-sterling-CtTDjh6U.js +1 -0
- package/dist/client/assets/circle-power-CeDD5Ude.js +1 -0
- package/dist/client/assets/circle-question-mark-ZKl8A6d4.js +1 -0
- package/dist/client/assets/circle-slash-2-BR_dFVtU.js +1 -0
- package/dist/client/assets/circle-slash-DiVFz_N8.js +1 -0
- package/dist/client/assets/circle-small-BkWON7Tp.js +1 -0
- package/dist/client/assets/circle-star-ByrKCKKs.js +1 -0
- package/dist/client/assets/circle-stop-DC99DjXT.js +1 -0
- package/dist/client/assets/circle-user-DNByOhk6.js +1 -0
- package/dist/client/assets/circle-user-round-DT4E9umA.js +1 -0
- package/dist/client/assets/circle-x-DQr55d0g.js +1 -0
- package/dist/client/assets/circuit-board-DhO1JMW_.js +1 -0
- package/dist/client/assets/citrus-CzpFwpYS.js +1 -0
- package/dist/client/assets/clapperboard-DuPfUhDw.js +1 -0
- package/dist/client/assets/classDiagram-ZZMXUADV-CTCOEL9r.js +1 -0
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-CTCOEL9r.js +1 -0
- package/dist/client/assets/clipboard-C82gVIqO.js +1 -0
- package/dist/client/assets/clipboard-check-Ddk68rz4.js +1 -0
- package/dist/client/assets/clipboard-clock-BaBBUrRx.js +1 -0
- package/dist/client/assets/clipboard-copy-DEma0qEJ.js +1 -0
- package/dist/client/assets/clipboard-list-71Tdu7zB.js +1 -0
- package/dist/client/assets/clipboard-minus-BYl6ZNvc.js +1 -0
- package/dist/client/assets/clipboard-paste-DbFlbG5s.js +1 -0
- package/dist/client/assets/clipboard-pen-C371ver-.js +1 -0
- package/dist/client/assets/clipboard-pen-line-DayMwcxY.js +1 -0
- package/dist/client/assets/clipboard-plus-8Bcjhdj2.js +1 -0
- package/dist/client/assets/clipboard-type-CmFk-7L0.js +1 -0
- package/dist/client/assets/clipboard-x-CnYc7B8U.js +1 -0
- package/dist/client/assets/clock-1-C3TnzANf.js +1 -0
- package/dist/client/assets/clock-10-JA7fvIkN.js +1 -0
- package/dist/client/assets/clock-11-xgPSmHKU.js +1 -0
- package/dist/client/assets/clock-12-BUuKiy-f.js +1 -0
- package/dist/client/assets/clock-2-FES_p0lS.js +1 -0
- package/dist/client/assets/clock-4-InMqBFr4.js +1 -0
- package/dist/client/assets/clock-5-D35EoGy2.js +1 -0
- package/dist/client/assets/clock-6-DxBCJHbl.js +1 -0
- package/dist/client/assets/clock-7-B0Ithl2D.js +1 -0
- package/dist/client/assets/clock-8-BoxF_pPc.js +1 -0
- package/dist/client/assets/clock-9-CGVkZFcN.js +1 -0
- package/dist/client/assets/clock-Bx3H2Gg6.js +1 -0
- package/dist/client/assets/clock-alert-DlrTfOxD.js +1 -0
- package/dist/client/assets/clock-arrow-down-Bb0kOCYc.js +1 -0
- package/dist/client/assets/clock-arrow-up-CX7YHvHt.js +1 -0
- package/dist/client/assets/clock-check-B47GakVC.js +1 -0
- package/dist/client/assets/clock-fading-BERY7VPL.js +1 -0
- package/dist/client/assets/clock-plus-BpQdhYvx.js +1 -0
- package/dist/client/assets/closed-caption-CFihttQ3.js +1 -0
- package/dist/client/assets/cloud-D9p9Iz_b.js +1 -0
- package/dist/client/assets/cloud-alert-NfxgVpUG.js +1 -0
- package/dist/client/assets/cloud-backup-De09Q-nf.js +1 -0
- package/dist/client/assets/cloud-check-B4wloYGZ.js +1 -0
- package/dist/client/assets/cloud-cog-CY7KpL4p.js +1 -0
- package/dist/client/assets/cloud-download-Cn-zZmQj.js +1 -0
- package/dist/client/assets/cloud-drizzle-B8rxHyQ-.js +1 -0
- package/dist/client/assets/cloud-fog-DwWiem2_.js +1 -0
- package/dist/client/assets/cloud-hail-Bs82Fzic.js +1 -0
- package/dist/client/assets/cloud-lightning-D3hSEjcU.js +1 -0
- package/dist/client/assets/cloud-moon-DjZhbvD6.js +1 -0
- package/dist/client/assets/cloud-moon-rain-DI7WYt2G.js +1 -0
- package/dist/client/assets/cloud-off-TaJQjk8g.js +1 -0
- package/dist/client/assets/cloud-rain-VSzrogIi.js +1 -0
- package/dist/client/assets/cloud-rain-wind-CEQ3Do5-.js +1 -0
- package/dist/client/assets/cloud-snow-BODXB-eW.js +1 -0
- package/dist/client/assets/cloud-sun-BeyqXaki.js +1 -0
- package/dist/client/assets/cloud-sun-rain-B4FJExkX.js +1 -0
- package/dist/client/assets/cloud-sync-DTS1j_D7.js +1 -0
- package/dist/client/assets/cloud-upload-CxmijXnn.js +1 -0
- package/dist/client/assets/cloudy-DL5DmKVz.js +1 -0
- package/dist/client/assets/clover-DHFOb1Wu.js +1 -0
- package/dist/client/assets/club-DSfeHrBo.js +1 -0
- package/dist/client/assets/code-DLmhB0rK.js +1 -0
- package/dist/client/assets/coffee-CPTuWEvY.js +1 -0
- package/dist/client/assets/cog-BpIgyP6Y.js +1 -0
- package/dist/client/assets/coins-BNft5SX9.js +1 -0
- package/dist/client/assets/columns-3-Bfov-ufa.js +1 -0
- package/dist/client/assets/columns-3-cog-D5ABFABp.js +1 -0
- package/dist/client/assets/columns-4-C65KFIyx.js +1 -0
- package/dist/client/assets/combine-DaX3EZ7a.js +1 -0
- package/dist/client/assets/command-4YEXeRpj.js +1 -0
- package/dist/client/assets/compass-duy4_idL.js +1 -0
- package/dist/client/assets/component-BHbuc9Rv.js +1 -0
- package/dist/client/assets/computer-kRRevyFu.js +1 -0
- package/dist/client/assets/concierge-bell-CoSemaL2.js +1 -0
- package/dist/client/assets/cone-BmPCCMc-.js +1 -0
- package/dist/client/assets/construction-B1szh8OV.js +1 -0
- package/dist/client/assets/contact-g7f8X6aN.js +1 -0
- package/dist/client/assets/contact-round-CuiddmAP.js +1 -0
- package/dist/client/assets/container-DlBfZLp-.js +1 -0
- package/dist/client/assets/contrast-CxbKs6Ui.js +1 -0
- package/dist/client/assets/cookie-i-oDK8Vl.js +1 -0
- package/dist/client/assets/cooking-pot-erSKfQgK.js +1 -0
- package/dist/client/assets/copy-check-DsKvy-9e.js +1 -0
- package/dist/client/assets/copy-minus-D1SV7rZs.js +1 -0
- package/dist/client/assets/copy-plus-CObfk794.js +1 -0
- package/dist/client/assets/copy-slash-lNVablm2.js +1 -0
- package/dist/client/assets/copy-x-DwpmA6de.js +1 -0
- package/dist/client/assets/copyleft-xyQU-pGu.js +1 -0
- package/dist/client/assets/copyright-C5qwuAvB.js +1 -0
- package/dist/client/assets/corner-down-left-FlSZHn-A.js +1 -0
- package/dist/client/assets/corner-left-down--QthO9wH.js +1 -0
- package/dist/client/assets/corner-left-up-Xo006GDi.js +1 -0
- package/dist/client/assets/corner-right-down-C6ZH2tX3.js +1 -0
- package/dist/client/assets/corner-right-up-CU2GeVIb.js +1 -0
- package/dist/client/assets/corner-up-right-5h6wXaZU.js +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-vsxpbF5P.js +1 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-vsxpbF5P.js.br +0 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-vsxpbF5P.js.gz +0 -0
- package/dist/client/assets/cpu-CJ9efEwd.js +1 -0
- package/dist/client/assets/creative-commons-DjlsxDZd.js +1 -0
- package/dist/client/assets/credit-card-BWbn0W_0.js +1 -0
- package/dist/client/assets/croissant-C7Sx7MV1.js +1 -0
- package/dist/client/assets/crop-CG09kS15.js +1 -0
- package/dist/client/assets/cross-CdySrX0T.js +1 -0
- package/dist/client/assets/crosshair-BrTJ5Pe9.js +1 -0
- package/dist/client/assets/crown-CiCvhbqH.js +1 -0
- package/dist/client/assets/cuboid-NFnjTMCV.js +1 -0
- package/dist/client/assets/cup-soda-MCPjAjI4.js +1 -0
- package/dist/client/assets/currency-X6NStGwl.js +1 -0
- package/dist/client/assets/cylinder-oV6cTkch.js +1 -0
- package/dist/client/assets/cynefin-OW5HDTMX-C-Hqbx1M.js +166 -0
- package/dist/client/assets/cynefin-OW5HDTMX-C-Hqbx1M.js.br +0 -0
- package/dist/client/assets/cynefin-OW5HDTMX-C-Hqbx1M.js.gz +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-CYsDIdIt.js +62 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-CYsDIdIt.js.br +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-CYsDIdIt.js.gz +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-Bi26AE4_.js +4 -0
- package/dist/client/assets/dagre-GXQ25YYZ-Bi26AE4_.js.br +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-Bi26AE4_.js.gz +0 -0
- package/dist/client/assets/dam-bEKnisJL.js +1 -0
- package/dist/client/assets/database-DfcZkMIk.js +1 -0
- package/dist/client/assets/database-backup-B0_YHBUO.js +1 -0
- package/dist/client/assets/database-search-C6OW3vN_.js +1 -0
- package/dist/client/assets/database-zap-D1Ohos4d.js +1 -0
- package/dist/client/assets/decimals-arrow-left-Cpz5LRDo.js +1 -0
- package/dist/client/assets/decimals-arrow-right-RVmPBg4G.js +1 -0
- package/dist/client/assets/delete-Ctlx2wl4.js +1 -0
- package/dist/client/assets/dessert-Cxs2o56r.js +1 -0
- package/dist/client/assets/diagram-S7CK7UJ4-vw3p0CV-.js +30 -0
- package/dist/client/assets/diagram-S7CK7UJ4-vw3p0CV-.js.br +0 -0
- package/dist/client/assets/diagram-S7CK7UJ4-vw3p0CV-.js.gz +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-DQ2n03Wv.js +41 -0
- package/dist/client/assets/diagram-UQ7AKVKN-DQ2n03Wv.js.br +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-DQ2n03Wv.js.gz +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-DNtlcW-9.js +3 -0
- package/dist/client/assets/diagram-VSXAHHWV-DNtlcW-9.js.br +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-DNtlcW-9.js.gz +0 -0
- package/dist/client/assets/diagram-VX7I27RA-Bs87mODY.js +24 -0
- package/dist/client/assets/diagram-VX7I27RA-Bs87mODY.js.br +0 -0
- package/dist/client/assets/diagram-VX7I27RA-Bs87mODY.js.gz +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-0m-RVYys.js +24 -0
- package/dist/client/assets/diagram-Z3DM3KII-0m-RVYys.js.br +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-0m-RVYys.js.gz +0 -0
- package/dist/client/assets/diameter-CfALbstt.js +1 -0
- package/dist/client/assets/diamond-DIAIjFLs.js +1 -0
- package/dist/client/assets/diamond-minus-lG3tHPmT.js +1 -0
- package/dist/client/assets/diamond-percent-DoiWNhBw.js +1 -0
- package/dist/client/assets/diamond-plus-DWuecz46.js +1 -0
- package/dist/client/assets/dice-1-J7KBh3Ps.js +1 -0
- package/dist/client/assets/dice-2-CtBTZ-Of.js +1 -0
- package/dist/client/assets/dice-3-DMuazLUb.js +1 -0
- package/dist/client/assets/dice-4-B1dbpedD.js +1 -0
- package/dist/client/assets/dice-5-C2pLI4Ca.js +1 -0
- package/dist/client/assets/dice-6-DGP7-S2C.js +1 -0
- package/dist/client/assets/dices-DTmL8zpk.js +1 -0
- package/dist/client/assets/diff-b94Y4WA0.js +1 -0
- package/dist/client/assets/disc-2-CsHlkgWf.js +1 -0
- package/dist/client/assets/disc-3-Ci2qXs_V.js +1 -0
- package/dist/client/assets/disc-DuwSycqw.js +1 -0
- package/dist/client/assets/disc-album-Btp1E6Kl.js +1 -0
- package/dist/client/assets/divide-DF-wRTlM.js +1 -0
- package/dist/client/assets/dna-CKm4qodt.js +1 -0
- package/dist/client/assets/dna-off-C0nIGU75.js +1 -0
- package/dist/client/assets/dock-Yd0dA6lJ.js +1 -0
- package/dist/client/assets/dog-BC1qZbTw.js +1 -0
- package/dist/client/assets/dollar-sign-poLKDhqm.js +1 -0
- package/dist/client/assets/donut-Cymy6Gw1.js +1 -0
- package/dist/client/assets/door-closed-CgP4_9OA.js +1 -0
- package/dist/client/assets/door-closed-locked-kHCpYkSO.js +1 -0
- package/dist/client/assets/door-open-Dwn3wFzd.js +1 -0
- package/dist/client/assets/dot-i1c8a65F.js +1 -0
- package/dist/client/assets/drafting-compass-D7bbDjJS.js +1 -0
- package/dist/client/assets/drama-yEne8Yec.js +1 -0
- package/dist/client/assets/drill-BjCotXFm.js +1 -0
- package/dist/client/assets/drone-Co_CEZlP.js +1 -0
- package/dist/client/assets/droplet-B3BAVovw.js +1 -0
- package/dist/client/assets/droplet-off-BI7QnTX9.js +1 -0
- package/dist/client/assets/droplets-DQ72Voga.js +1 -0
- package/dist/client/assets/drum-B7yG6fqj.js +1 -0
- package/dist/client/assets/drumstick-XHcuM3lv.js +1 -0
- package/dist/client/assets/dumbbell-CULeSpO5.js +1 -0
- package/dist/client/assets/ear-Dl1seojM.js +1 -0
- package/dist/client/assets/ear-off-DMlZ9RC8.js +1 -0
- package/dist/client/assets/earth-DiF3fbcw.js +1 -0
- package/dist/client/assets/earth-lock-CVPZgsCk.js +1 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-BlPwQ0im.js +1 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-BlPwQ0im.js.br +0 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-BlPwQ0im.js.gz +0 -0
- package/dist/client/assets/eclipse-BlYrgi4M.js +1 -0
- package/dist/client/assets/egg-D9INPCkm.js +1 -0
- package/dist/client/assets/egg-fried-C_UYLJ1Y.js +1 -0
- package/dist/client/assets/egg-off-1Fpd_iu_.js +1 -0
- package/dist/client/assets/ellipse-WdbAbo9y.js +1 -0
- package/dist/client/assets/ellipsis-vertical-BHqDzM7D.js +1 -0
- package/dist/client/assets/equal-DqhZASX-.js +1 -0
- package/dist/client/assets/equal-approximately-D40mzqcp.js +1 -0
- package/dist/client/assets/equal-not-chFnQ1No.js +1 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-BzwrDm1z.js +99 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-BzwrDm1z.js.br +0 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-BzwrDm1z.js.gz +0 -0
- package/dist/client/assets/eraser-Ch3x0lUj.js +1 -0
- package/dist/client/assets/ethernet-port-BhR7lBYG.js +1 -0
- package/dist/client/assets/euro-1RquyD1c.js +1 -0
- package/dist/client/assets/ev-charger-D6jdCbcJ.js +1 -0
- package/dist/client/assets/expand-qGPkA-lB.js +1 -0
- package/dist/client/assets/external-link-BEZLXLDB.js +1 -0
- package/dist/client/assets/eye-BXb4uX3p.js +1 -0
- package/dist/client/assets/eye-closed-B1Gzds7q.js +1 -0
- package/dist/client/assets/eye-off-FevxaI5W.js +1 -0
- package/dist/client/assets/factory-DNlN02jt.js +1 -0
- package/dist/client/assets/fan-D2ZKvVer.js +1 -0
- package/dist/client/assets/fast-forward-BjJJvlnU.js +1 -0
- package/dist/client/assets/feather-CyNd94bj.js +1 -0
- package/dist/client/assets/fence-BAgRGLZh.js +1 -0
- package/dist/client/assets/ferris-wheel--3yA0CIP.js +1 -0
- package/dist/client/assets/file-archive-BMfVN8n6.js +1 -0
- package/dist/client/assets/file-axis-3d-DyIcW599.js +1 -0
- package/dist/client/assets/file-badge-DBgCsc4F.js +1 -0
- package/dist/client/assets/file-box-Cl7pgnEl.js +1 -0
- package/dist/client/assets/file-braces-BSyoIwDm.js +1 -0
- package/dist/client/assets/file-braces-corner-Bww0sw9W.js +1 -0
- package/dist/client/assets/file-chart-column-BvhhLuXv.js +1 -0
- package/dist/client/assets/file-chart-column-increasing-C0EfTxxr.js +1 -0
- package/dist/client/assets/file-chart-line-ZnTdODSE.js +1 -0
- package/dist/client/assets/file-chart-pie-sTfTLREI.js +1 -0
- package/dist/client/assets/file-check-BnxbP8IL.js +1 -0
- package/dist/client/assets/file-check-corner-CUU1iSSy.js +1 -0
- package/dist/client/assets/file-clock-DOkXBU5o.js +1 -0
- package/dist/client/assets/file-code-corner-B9wJoH45.js +1 -0
- package/dist/client/assets/file-cog-D34TVwph.js +1 -0
- package/dist/client/assets/file-diff-kcuI_MKf.js +1 -0
- package/dist/client/assets/file-digit-CQYQTnWh.js +1 -0
- package/dist/client/assets/file-down-Llsf1rKN.js +1 -0
- package/dist/client/assets/file-exclamation-point-CBrPXaET.js +1 -0
- package/dist/client/assets/file-headphone-DudfmDT1.js +1 -0
- package/dist/client/assets/file-heart-Dx-xcpuu.js +1 -0
- package/dist/client/assets/file-image-CswNiamU.js +1 -0
- package/dist/client/assets/file-input-BdsQ5Pgf.js +1 -0
- package/dist/client/assets/file-key-CqWtTPbx.js +1 -0
- package/dist/client/assets/file-lock-CeaiMb5Z.js +1 -0
- package/dist/client/assets/file-minus-DSvaYpvu.js +1 -0
- package/dist/client/assets/file-minus-corner-Dm37mZvk.js +1 -0
- package/dist/client/assets/file-music-BVMvQpC_.js +1 -0
- package/dist/client/assets/file-output-DAq3z-Bv.js +1 -0
- package/dist/client/assets/file-pen-CB_GhkZx.js +1 -0
- package/dist/client/assets/file-pen-line-C6yDZvc7.js +1 -0
- package/dist/client/assets/file-play-C87cbYs6.js +1 -0
- package/dist/client/assets/file-plus-BjIrjAlx.js +1 -0
- package/dist/client/assets/file-plus-corner-DgTiSu95.js +1 -0
- package/dist/client/assets/file-question-mark-CAFdEJMV.js +1 -0
- package/dist/client/assets/file-scan-C9oDGiA3.js +1 -0
- package/dist/client/assets/file-search-BD20SoOF.js +1 -0
- package/dist/client/assets/file-search-corner-yVghu06Q.js +1 -0
- package/dist/client/assets/file-signal-mTqKStfS.js +1 -0
- package/dist/client/assets/file-sliders-DSrYd7Jv.js +1 -0
- package/dist/client/assets/file-spreadsheet-ByQxqiBe.js +1 -0
- package/dist/client/assets/file-stack-DpTEKIOK.js +1 -0
- package/dist/client/assets/file-symlink-DMyyJ2RK.js +1 -0
- package/dist/client/assets/file-terminal-DXYBq6Ui.js +1 -0
- package/dist/client/assets/file-type-D3ul8pDV.js +1 -0
- package/dist/client/assets/file-type-corner-Dtm_yflH.js +1 -0
- package/dist/client/assets/file-up-BkMAF9c4.js +1 -0
- package/dist/client/assets/file-user-sOJcsXSd.js +1 -0
- package/dist/client/assets/file-video-camera-DYUrhqaJ.js +1 -0
- package/dist/client/assets/file-volume-DPgHbvym.js +1 -0
- package/dist/client/assets/file-x-DalblcSz.js +1 -0
- package/dist/client/assets/file-x-corner-f6DkP9RQ.js +1 -0
- package/dist/client/assets/files-19NMLuKM.js +1 -0
- package/dist/client/assets/film-CYNKGTlo.js +1 -0
- package/dist/client/assets/fingerprint-pattern-BzQNHzrg.js +1 -0
- package/dist/client/assets/fire-extinguisher-DjP3xYQd.js +1 -0
- package/dist/client/assets/fish-DHTJF5KS.js +1 -0
- package/dist/client/assets/fish-off-M3SjHq11.js +1 -0
- package/dist/client/assets/fish-symbol-Cr4JfFUv.js +1 -0
- package/dist/client/assets/fishing-hook-D0cAWf_K.js +1 -0
- package/dist/client/assets/fishing-rod-kcIIHDiY.js +1 -0
- package/dist/client/assets/flag-Bg0XEUBe.js +1 -0
- package/dist/client/assets/flag-off-dhBAbfRM.js +1 -0
- package/dist/client/assets/flag-triangle-left-Bq9aOR-D.js +1 -0
- package/dist/client/assets/flag-triangle-right-DCoBqPFy.js +1 -0
- package/dist/client/assets/flame-D30ZrsMv.js +1 -0
- package/dist/client/assets/flame-kindling-J8ktCWCu.js +1 -0
- package/dist/client/assets/flashlight-DcCSLQaH.js +1 -0
- package/dist/client/assets/flashlight-off-BLmR5UIy.js +1 -0
- package/dist/client/assets/flask-conical-BB8GSC44.js +1 -0
- package/dist/client/assets/flask-conical-off--LfPDeBX.js +1 -0
- package/dist/client/assets/flask-round-Bl72uRS_.js +1 -0
- package/dist/client/assets/flip-horizontal-2-C5Aa7MiY.js +1 -0
- package/dist/client/assets/flip-vertical-2-pxSTAunO.js +1 -0
- package/dist/client/assets/flowDiagram-HODETNUW-k_5kvWoK.js +168 -0
- package/dist/client/assets/flowDiagram-HODETNUW-k_5kvWoK.js.br +0 -0
- package/dist/client/assets/flowDiagram-HODETNUW-k_5kvWoK.js.gz +0 -0
- package/dist/client/assets/flower-2-BsVak-IE.js +1 -0
- package/dist/client/assets/flower-Bgs1oWyH.js +1 -0
- package/dist/client/assets/focus-OfJ6ldzt.js +1 -0
- package/dist/client/assets/fold-horizontal-Dq6EjGfX.js +1 -0
- package/dist/client/assets/fold-vertical-D1bluQUO.js +1 -0
- package/dist/client/assets/folder-archive-CS1JOcwb.js +1 -0
- package/dist/client/assets/folder-bookmark-CBDEygV9.js +1 -0
- package/dist/client/assets/folder-check-iZLBW-aT.js +1 -0
- package/dist/client/assets/folder-clock-B4DfoJXl.js +1 -0
- package/dist/client/assets/folder-closed-BChVJObi.js +1 -0
- package/dist/client/assets/folder-code-CwbFFi2f.js +1 -0
- package/dist/client/assets/folder-cog-AH0RPQZs.js +1 -0
- package/dist/client/assets/folder-dot-DlQnGWs7.js +1 -0
- package/dist/client/assets/folder-down-n3l2j8UC.js +1 -0
- package/dist/client/assets/folder-git-2-D303LXQt.js +1 -0
- package/dist/client/assets/folder-git-B02_srri.js +1 -0
- package/dist/client/assets/folder-heart-D5eEdDLL.js +1 -0
- package/dist/client/assets/folder-input-0jPqyUZU.js +1 -0
- package/dist/client/assets/folder-kanban-DNVA9K66.js +1 -0
- package/dist/client/assets/folder-key-D3OWHsJw.js +1 -0
- package/dist/client/assets/folder-lock-3ZoZex3R.js +1 -0
- package/dist/client/assets/folder-minus-DHoW8YQN.js +1 -0
- package/dist/client/assets/folder-open-dot-CQn5Hqlo.js +1 -0
- package/dist/client/assets/folder-output-CJbAOiAV.js +1 -0
- package/dist/client/assets/folder-pen-Ccd4mw3c.js +1 -0
- package/dist/client/assets/folder-plus-vbSnUZSg.js +1 -0
- package/dist/client/assets/folder-root-4Pcv8amT.js +1 -0
- package/dist/client/assets/folder-search-2-CGOTZO8E.js +1 -0
- package/dist/client/assets/folder-symlink-DpOvGQUm.js +1 -0
- package/dist/client/assets/folder-sync-L_7oT5Ro.js +1 -0
- package/dist/client/assets/folder-tree-DyWRt73x.js +1 -0
- package/dist/client/assets/folder-up-CRNrWKzg.js +1 -0
- package/dist/client/assets/folder-x-CDA0dLze.js +1 -0
- package/dist/client/assets/folders-DCRNWb66.js +1 -0
- package/dist/client/assets/footprints-ByjXouFJ.js +1 -0
- package/dist/client/assets/forklift-OdPuruOj.js +1 -0
- package/dist/client/assets/form-DlQVNf9c.js +1 -0
- package/dist/client/assets/forward-DfY9SqqQ.js +1 -0
- package/dist/client/assets/frame-Bd2SjFuz.js +1 -0
- package/dist/client/assets/frown-DbC5TX_5.js +1 -0
- package/dist/client/assets/fuel-C4EQIdWC.js +1 -0
- package/dist/client/assets/fullscreen-D6iLUOz0.js +1 -0
- package/dist/client/assets/funnel-Clh5WtBo.js +1 -0
- package/dist/client/assets/funnel-plus-pcEFgv3J.js +1 -0
- package/dist/client/assets/funnel-x-BD2LXHsU.js +1 -0
- package/dist/client/assets/gallery-horizontal-CkV1ogmg.js +1 -0
- package/dist/client/assets/gallery-horizontal-end-BMUwzoRv.js +1 -0
- package/dist/client/assets/gallery-thumbnails-m5Kzs2LS.js +1 -0
- package/dist/client/assets/gallery-vertical-D1fM2Vwv.js +1 -0
- package/dist/client/assets/gallery-vertical-end-B85tNZtS.js +1 -0
- package/dist/client/assets/gamepad-2-j4jGAcBk.js +1 -0
- package/dist/client/assets/gamepad-DHICJ4iw.js +1 -0
- package/dist/client/assets/gamepad-directional-CR12Qhpo.js +1 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-DCn36-OM.js +292 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-DCn36-OM.js.br +0 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-DCn36-OM.js.gz +0 -0
- package/dist/client/assets/gauge-pL7Sq01z.js +1 -0
- package/dist/client/assets/gavel-B35Rw9f4.js +1 -0
- package/dist/client/assets/gem-CTssB6fw.js +1 -0
- package/dist/client/assets/georgian-lari-Ckh6zUwR.js +1 -0
- package/dist/client/assets/ghost-DnzFdXgK.js +1 -0
- package/dist/client/assets/gift-BikBc2hj.js +1 -0
- package/dist/client/assets/git-branch-CGSo-alO.js +1 -0
- package/dist/client/assets/git-branch-minus-Bn7vvkC9.js +1 -0
- package/dist/client/assets/git-branch-plus-BxD2zC-0.js +1 -0
- package/dist/client/assets/git-commit-horizontal-DdsP2wqf.js +1 -0
- package/dist/client/assets/git-commit-vertical-DIvXGwhV.js +1 -0
- package/dist/client/assets/git-compare-XTS-0bEf.js +1 -0
- package/dist/client/assets/git-compare-arrows-BM4qXSqJ.js +1 -0
- package/dist/client/assets/git-fork-cXFHGQHE.js +1 -0
- package/dist/client/assets/git-graph-wPdPAp_y.js +1 -0
- package/dist/client/assets/git-merge-BI56FRuH.js +1 -0
- package/dist/client/assets/git-merge-conflict-CitSJeMt.js +1 -0
- package/dist/client/assets/git-pull-request-BJD9UxDn.js +1 -0
- package/dist/client/assets/git-pull-request-arrow-u8DKu2r1.js +1 -0
- package/dist/client/assets/git-pull-request-closed-Bh949ja6.js +1 -0
- package/dist/client/assets/git-pull-request-create-BWw4dhzB.js +1 -0
- package/dist/client/assets/git-pull-request-create-arrow-DwI4hecA.js +1 -0
- package/dist/client/assets/git-pull-request-draft-CsuqmPnc.js +1 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-CwXG9EZj.js +106 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-CwXG9EZj.js.br +0 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-CwXG9EZj.js.gz +0 -0
- package/dist/client/assets/glass-water-DSrE-lMo.js +1 -0
- package/dist/client/assets/glasses-B-8wJCWe.js +1 -0
- package/dist/client/assets/globe-DNjGDBUP.js +1 -0
- package/dist/client/assets/globe-check-KvAgCnZq.js +1 -0
- package/dist/client/assets/globe-lock-BQSQXDH6.js +1 -0
- package/dist/client/assets/globe-off-Lk1rTFYV.js +1 -0
- package/dist/client/assets/globe-x-qGQmaSol.js +1 -0
- package/dist/client/assets/goal-Cpu5giSJ.js +1 -0
- package/dist/client/assets/gpu-BQZbkZtd.js +1 -0
- package/dist/client/assets/graduation-cap-BG1zD3tL.js +1 -0
- package/dist/client/assets/grape-CHHvcmm5.js +1 -0
- package/dist/client/assets/grid-2x2-DMER6_BY.js +1 -0
- package/dist/client/assets/grid-2x2-check-hjgDA7KT.js +1 -0
- package/dist/client/assets/grid-2x2-plus-CDYd62fC.js +1 -0
- package/dist/client/assets/grid-2x2-x-DRP5ADRr.js +1 -0
- package/dist/client/assets/grid-3x2-9Ob6Druh.js +1 -0
- package/dist/client/assets/grid-3x3-CUQYXM3y.js +1 -0
- package/dist/client/assets/grip-CvXrUjbC.js +1 -0
- package/dist/client/assets/grip-horizontal-_fAbEOMm.js +1 -0
- package/dist/client/assets/grip-vertical-BTR1rjo6.js +1 -0
- package/dist/client/assets/group-DUj_URHg.js +1 -0
- package/dist/client/assets/guitar-BgGGFChl.js +1 -0
- package/dist/client/assets/ham-BX2cCJ5Z.js +1 -0
- package/dist/client/assets/hamburger-BmEeXm1s.js +1 -0
- package/dist/client/assets/hammer-DS0an8Qo.js +1 -0
- package/dist/client/assets/hand-C_5vZJtm.js +1 -0
- package/dist/client/assets/hand-coins-DWdraijB.js +1 -0
- package/dist/client/assets/hand-fist-BesOt-aa.js +1 -0
- package/dist/client/assets/hand-grab-rADDuaTN.js +1 -0
- package/dist/client/assets/hand-heart-BLGhafcB.js +1 -0
- package/dist/client/assets/hand-helping-CVs_csi3.js +1 -0
- package/dist/client/assets/hand-metal-Bz83Ni_a.js +1 -0
- package/dist/client/assets/hand-platter-CVO0HDAd.js +1 -0
- package/dist/client/assets/handbag-BLHseA0N.js +1 -0
- package/dist/client/assets/handshake-BPN0d9oI.js +1 -0
- package/dist/client/assets/hard-drive-D_2hfCBl.js +1 -0
- package/dist/client/assets/hard-drive-download-DihvNi4J.js +1 -0
- package/dist/client/assets/hard-drive-upload-EeORzvQs.js +1 -0
- package/dist/client/assets/hard-hat-BxF490d-.js +1 -0
- package/dist/client/assets/hash-DXpxtK5b.js +1 -0
- package/dist/client/assets/hat-glasses-Dlj3eReO.js +1 -0
- package/dist/client/assets/haze-DKX2pEE1.js +1 -0
- package/dist/client/assets/hd-DYyjUu4Z.js +1 -0
- package/dist/client/assets/hdmi-port-CwZ0O94x.js +1 -0
- package/dist/client/assets/heading-1-Bfckkf6S.js +1 -0
- package/dist/client/assets/heading-2-DWWU7viU.js +1 -0
- package/dist/client/assets/heading-3-DaJRtpab.js +1 -0
- package/dist/client/assets/heading-4-CkgUabcZ.js +1 -0
- package/dist/client/assets/heading-5-a5AUdJr-.js +1 -0
- package/dist/client/assets/heading-6-CQxCLL0c.js +1 -0
- package/dist/client/assets/heading-HYYQ_iPA.js +1 -0
- package/dist/client/assets/headphone-off-e5xq1BUf.js +1 -0
- package/dist/client/assets/headphones-DrAfoAqK.js +1 -0
- package/dist/client/assets/headset-BlA-IR5N.js +1 -0
- package/dist/client/assets/heart-crack-D7oeWA9i.js +1 -0
- package/dist/client/assets/heart-dnxkGwue.js +1 -0
- package/dist/client/assets/heart-handshake-B0a5Un3G.js +1 -0
- package/dist/client/assets/heart-minus-0_AhY01W.js +1 -0
- package/dist/client/assets/heart-off-N5R4u4am.js +1 -0
- package/dist/client/assets/heart-plus-3lSEs7MQ.js +1 -0
- package/dist/client/assets/heart-pulse-MzsX03nt.js +1 -0
- package/dist/client/assets/heart-x-9iT6BfGn.js +1 -0
- package/dist/client/assets/heater-CgYINMFq.js +1 -0
- package/dist/client/assets/helicopter-DmmyXtRg.js +1 -0
- package/dist/client/assets/hexagon-DXf25s19.js +1 -0
- package/dist/client/assets/highlighter-BdVgb44a.js +1 -0
- package/dist/client/assets/history-BBkBtqKJ.js +1 -0
- package/dist/client/assets/hop-MVIFbTWF.js +1 -0
- package/dist/client/assets/hop-MVIFbTWF.js.br +0 -0
- package/dist/client/assets/hop-MVIFbTWF.js.gz +0 -0
- package/dist/client/assets/hop-off-Cs83ENvn.js +1 -0
- package/dist/client/assets/hop-off-Cs83ENvn.js.br +0 -0
- package/dist/client/assets/hop-off-Cs83ENvn.js.gz +0 -0
- package/dist/client/assets/hospital-CWBiXcIX.js +1 -0
- package/dist/client/assets/hotel-CsUCEC5e.js +1 -0
- package/dist/client/assets/hourglass-B4MOA51c.js +1 -0
- package/dist/client/assets/house-DoOvaDGW.js +1 -0
- package/dist/client/assets/house-heart-BUhC9dU6.js +1 -0
- package/dist/client/assets/house-plug-NbiSGueN.js +1 -0
- package/dist/client/assets/house-plus-4fGg8HYx.js +1 -0
- package/dist/client/assets/house-wifi-BHvowkP2.js +1 -0
- package/dist/client/assets/ice-cream-bowl-B8e0nfN6.js +1 -0
- package/dist/client/assets/ice-cream-cone-Cl6e_0il.js +1 -0
- package/dist/client/assets/id-card-D6xM86Xf.js +1 -0
- package/dist/client/assets/id-card-lanyard-BnigQZFM.js +1 -0
- package/dist/client/assets/image-down-D08cP3oY.js +1 -0
- package/dist/client/assets/image-minus-CA9-5d46.js +1 -0
- package/dist/client/assets/image-off-Ccpgl49B.js +1 -0
- package/dist/client/assets/image-play-DU8_8Mb7.js +1 -0
- package/dist/client/assets/image-plus-B4LL6cG4.js +1 -0
- package/dist/client/assets/image-up-Cxm7Ziof.js +1 -0
- package/dist/client/assets/image-upscale-DcyNGEtO.js +1 -0
- package/dist/client/assets/images-zAveQAev.js +1 -0
- package/dist/client/assets/import-CQsdfxOZ.js +1 -0
- package/dist/client/assets/inbox-DK_GTp6x.js +1 -0
- package/dist/client/assets/index-CBb0xNS1.css +1 -0
- package/dist/client/assets/index-CBb0xNS1.css.br +0 -0
- package/dist/client/assets/index-CBb0xNS1.css.gz +0 -0
- package/dist/client/assets/index-RUWYr_nY.js +259 -0
- package/dist/client/assets/index-RUWYr_nY.js.br +0 -0
- package/dist/client/assets/index-RUWYr_nY.js.gz +0 -0
- package/dist/client/assets/indian-rupee-C7mWBRBE.js +1 -0
- package/dist/client/assets/infinity-dtAcNtGK.js +1 -0
- package/dist/client/assets/info-BsWeApaA.js +1 -0
- package/dist/client/assets/infoDiagram-27XIBGKW-BPdIviTi.js +2 -0
- package/dist/client/assets/inspection-panel-BuCYWi0l.js +1 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-CHliAZ_u.js +70 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-CHliAZ_u.js.br +0 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-CHliAZ_u.js.gz +0 -0
- package/dist/client/assets/italic-BTMbtGT8.js +1 -0
- package/dist/client/assets/iteration-ccw-CiKrCG_I.js +1 -0
- package/dist/client/assets/iteration-cw-ChO5Zx2Z.js +1 -0
- package/dist/client/assets/japanese-yen-zKL4lFJp.js +1 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-KLzhRp1z.js +139 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-KLzhRp1z.js.br +0 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-KLzhRp1z.js.gz +0 -0
- package/dist/client/assets/joystick-B3Mdt8uk.js +1 -0
- package/dist/client/assets/kanban-DVW0mVt7.js +1 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-BtseX9Jk.js +89 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-BtseX9Jk.js.br +0 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-BtseX9Jk.js.gz +0 -0
- package/dist/client/assets/kayak-DL6Ez2P5.js +1 -0
- package/dist/client/assets/key-CDHtnsRx.js +1 -0
- package/dist/client/assets/key-round-BZn9Gv12.js +1 -0
- package/dist/client/assets/key-square-DBSX47_b.js +1 -0
- package/dist/client/assets/keyboard-B3AsNCG6.js +1 -0
- package/dist/client/assets/keyboard-music-CBwcpqX_.js +1 -0
- package/dist/client/assets/keyboard-off-wYD-7caw.js +1 -0
- package/dist/client/assets/lamp-DMelE-BE.js +1 -0
- package/dist/client/assets/lamp-ceiling-D6arPLiL.js +1 -0
- package/dist/client/assets/lamp-desk-CFvVcP15.js +1 -0
- package/dist/client/assets/lamp-floor-C5JIoEmh.js +1 -0
- package/dist/client/assets/lamp-wall-down-CUK3Jwcl.js +1 -0
- package/dist/client/assets/lamp-wall-up-Dzc5KC4w.js +1 -0
- package/dist/client/assets/land-plot-glnIrFfm.js +1 -0
- package/dist/client/assets/landmark-CfEGtBVl.js +1 -0
- package/dist/client/assets/languages-A74rdZ7y.js +1 -0
- package/dist/client/assets/laptop-C3zAibvS.js +1 -0
- package/dist/client/assets/laptop-minimal-BlUyUpR3.js +1 -0
- package/dist/client/assets/laptop-minimal-check-BR5VsWEQ.js +1 -0
- package/dist/client/assets/lasso-70dFiWUv.js +1 -0
- package/dist/client/assets/lasso-select-mxw1S0oi.js +1 -0
- package/dist/client/assets/laugh-BpGm9Aaq.js +1 -0
- package/dist/client/assets/layers-2-CefcMGSK.js +1 -0
- package/dist/client/assets/layers-ZzYwAvrT.js +1 -0
- package/dist/client/assets/layers-minus-D77WOmgG.js +1 -0
- package/dist/client/assets/layers-plus-C9E8doNw.js +1 -0
- package/dist/client/assets/layout-CmK05lkq.js +1 -0
- package/dist/client/assets/layout-CmK05lkq.js.br +0 -0
- package/dist/client/assets/layout-CmK05lkq.js.gz +0 -0
- package/dist/client/assets/layout-dashboard-CoPyJEEO.js +1 -0
- package/dist/client/assets/layout-grid-C1QXHva2.js +1 -0
- package/dist/client/assets/layout-list-DnM8Py6y.js +1 -0
- package/dist/client/assets/layout-panel-left-s9u-5usU.js +1 -0
- package/dist/client/assets/layout-panel-top-Be-bfgp0.js +1 -0
- package/dist/client/assets/layout-template-DeJfxfaM.js +1 -0
- package/dist/client/assets/leaf-B48OV3Dj.js +1 -0
- package/dist/client/assets/leafy-green-C4v3-YXu.js +1 -0
- package/dist/client/assets/lectern-BwWlJxuG.js +1 -0
- package/dist/client/assets/lens-concave-BRIL8d_n.js +1 -0
- package/dist/client/assets/lens-convex-DeUkOBCg.js +1 -0
- package/dist/client/assets/library-big-C_6ufmSJ.js +1 -0
- package/dist/client/assets/library-dDqYwK4J.js +1 -0
- package/dist/client/assets/life-buoy-iioPOmnW.js +1 -0
- package/dist/client/assets/ligature-B8FCydmC.js +1 -0
- package/dist/client/assets/lightbulb-off-BGpjKOXS.js +1 -0
- package/dist/client/assets/line-dot-right-horizontal-C65Qe5rd.js +1 -0
- package/dist/client/assets/line-squiggle-CS4YxLFw.js +1 -0
- package/dist/client/assets/line-style-D75NGS7j.js +1 -0
- package/dist/client/assets/link-8mSEoJar.js +1 -0
- package/dist/client/assets/list-CyAB3Dj2.js +1 -0
- package/dist/client/assets/list-check-DVMVSWVb.js +1 -0
- package/dist/client/assets/list-checks-Cj5Dfm4z.js +1 -0
- package/dist/client/assets/list-chevrons-down-up-CIMc8S_g.js +1 -0
- package/dist/client/assets/list-chevrons-up-down-BLcyE19K.js +1 -0
- package/dist/client/assets/list-collapse-Da0fxJwj.js +1 -0
- package/dist/client/assets/list-end-Yw1Iz4Mx.js +1 -0
- package/dist/client/assets/list-filter-BQGopLDW.js +1 -0
- package/dist/client/assets/list-filter-plus-DineR213.js +1 -0
- package/dist/client/assets/list-indent-decrease-DoeVn-Ua.js +1 -0
- package/dist/client/assets/list-indent-increase-BayD-0Ej.js +1 -0
- package/dist/client/assets/list-minus-DInykg5e.js +1 -0
- package/dist/client/assets/list-music-B5Ep3YL6.js +1 -0
- package/dist/client/assets/list-ordered-BFrQPWqm.js +1 -0
- package/dist/client/assets/list-plus-CE3Nsgdt.js +1 -0
- package/dist/client/assets/list-restart-DTfGhwHk.js +1 -0
- package/dist/client/assets/list-start-BWH21ddT.js +1 -0
- package/dist/client/assets/list-tree-C2XK8Y65.js +1 -0
- package/dist/client/assets/list-video-ADR2O8oS.js +1 -0
- package/dist/client/assets/list-x-0BGf_75U.js +1 -0
- package/dist/client/assets/loader-pinwheel-BkLMAflQ.js +1 -0
- package/dist/client/assets/loader-wuih-qDg.js +1 -0
- package/dist/client/assets/locate-BaXYg1fM.js +1 -0
- package/dist/client/assets/locate-fixed-D9NoYPAO.js +1 -0
- package/dist/client/assets/locate-off-o7OQQmz6.js +1 -0
- package/dist/client/assets/lock-CvZzuDQz.js +1 -0
- package/dist/client/assets/lock-keyhole-C4V07HjE.js +1 -0
- package/dist/client/assets/lock-keyhole-open-DrDT_oY8.js +1 -0
- package/dist/client/assets/lock-open-LA7wlhjP.js +1 -0
- package/dist/client/assets/log-in-BUniNv3R.js +1 -0
- package/dist/client/assets/log-out-BqR1vOWa.js +1 -0
- package/dist/client/assets/logs-BLfDzOuF.js +1 -0
- package/dist/client/assets/lollipop-C89bdYWc.js +1 -0
- package/dist/client/assets/luggage-zrFOALTj.js +1 -0
- package/dist/client/assets/magnet-CRy0GGI5.js +1 -0
- package/dist/client/assets/mail-ClT3QP9I.js +1 -0
- package/dist/client/assets/mail-check-BpO0SDj2.js +1 -0
- package/dist/client/assets/mail-minus-DFyR6gcv.js +1 -0
- package/dist/client/assets/mail-open-BwpaSUiW.js +1 -0
- package/dist/client/assets/mail-plus-D1UA40g9.js +1 -0
- package/dist/client/assets/mail-question-mark-CFDvW07g.js +1 -0
- package/dist/client/assets/mail-search-CpGz0OSr.js +1 -0
- package/dist/client/assets/mail-warning-B2JOd7as.js +1 -0
- package/dist/client/assets/mail-x-QxY2TcFb.js +1 -0
- package/dist/client/assets/mailbox-BVzgPa9v.js +1 -0
- package/dist/client/assets/mails-C4AKxoYv.js +1 -0
- package/dist/client/assets/map-AJSI0dhz.js +1 -0
- package/dist/client/assets/map-minus-B2LP_moR.js +1 -0
- package/dist/client/assets/map-pin-B-2BJheY.js +1 -0
- package/dist/client/assets/map-pin-check-inside-Dc2KL_tH.js +1 -0
- package/dist/client/assets/map-pin-check-k2zPx7Gr.js +1 -0
- package/dist/client/assets/map-pin-house-n-5pWQYi.js +1 -0
- package/dist/client/assets/map-pin-minus-DzE0jlFB.js +1 -0
- package/dist/client/assets/map-pin-minus-inside-DsG8xlUN.js +1 -0
- package/dist/client/assets/map-pin-off-B-ko7QkE.js +1 -0
- package/dist/client/assets/map-pin-pen-D50TfIJK.js +1 -0
- package/dist/client/assets/map-pin-plus-BtufmzZu.js +1 -0
- package/dist/client/assets/map-pin-plus-inside-B8vlFy4e.js +1 -0
- package/dist/client/assets/map-pin-search-DJPSmbtJ.js +1 -0
- package/dist/client/assets/map-pin-x-CeW1p4OX.js +1 -0
- package/dist/client/assets/map-pin-x-inside-DBUOwgMQ.js +1 -0
- package/dist/client/assets/map-pinned-CNMD_ttx.js +1 -0
- package/dist/client/assets/map-plus-DGYwqomd.js +1 -0
- package/dist/client/assets/mars-D39Cmh0L.js +1 -0
- package/dist/client/assets/mars-stroke-BkGJ3qt7.js +1 -0
- package/dist/client/assets/martini-De5bgjAk.js +1 -0
- package/dist/client/assets/maximize-2-BsT0V4WT.js +1 -0
- package/dist/client/assets/maximize-BDXGdAUY.js +1 -0
- package/dist/client/assets/medal-Cq_rCor2.js +1 -0
- package/dist/client/assets/megaphone-BAHG4Vd7.js +1 -0
- package/dist/client/assets/megaphone-off-DWwzo1f4.js +1 -0
- package/dist/client/assets/meh-CeWmwmDW.js +1 -0
- package/dist/client/assets/memory-stick-B2-k59mA.js +1 -0
- package/dist/client/assets/menu-J4mawkVg.js +1 -0
- package/dist/client/assets/merge-6Ga7DHlq.js +1 -0
- package/dist/client/assets/mermaid.core-B5i7z4aH.js +308 -0
- package/dist/client/assets/mermaid.core-B5i7z4aH.js.br +0 -0
- package/dist/client/assets/mermaid.core-B5i7z4aH.js.gz +0 -0
- package/dist/client/assets/message-circle-check-DhS4_9Sd.js +1 -0
- package/dist/client/assets/message-circle-code-DirX6VhV.js +1 -0
- package/dist/client/assets/message-circle-dashed-381TQl9B.js +1 -0
- package/dist/client/assets/message-circle-heart-C6l2b2lS.js +1 -0
- package/dist/client/assets/message-circle-more-DMzyGxzO.js +1 -0
- package/dist/client/assets/message-circle-off-CgPuagHw.js +1 -0
- package/dist/client/assets/message-circle-plus-CZ7LU4zK.js +1 -0
- package/dist/client/assets/message-circle-question-mark-m-C1fNbq.js +1 -0
- package/dist/client/assets/message-circle-reply-sEUGDDGq.js +1 -0
- package/dist/client/assets/message-circle-warning-DY9-YDDR.js +1 -0
- package/dist/client/assets/message-circle-x-sRVVlUGR.js +1 -0
- package/dist/client/assets/message-square-CJ0PGPfe.js +1 -0
- package/dist/client/assets/message-square-check-CTXyYyV6.js +1 -0
- package/dist/client/assets/message-square-code-BUmX-YDI.js +1 -0
- package/dist/client/assets/message-square-dashed-IyzkbOZ7.js +1 -0
- package/dist/client/assets/message-square-diff-DrfLUvUX.js +1 -0
- package/dist/client/assets/message-square-dot-C9jjyd28.js +1 -0
- package/dist/client/assets/message-square-heart-CeliXVaD.js +1 -0
- package/dist/client/assets/message-square-lock-Ds2FoGGM.js +1 -0
- package/dist/client/assets/message-square-more-BTklgTnM.js +1 -0
- package/dist/client/assets/message-square-off-Bn_0IEqE.js +1 -0
- package/dist/client/assets/message-square-plus-DxCg0zuG.js +1 -0
- package/dist/client/assets/message-square-quote-Ywot1uGZ.js +1 -0
- package/dist/client/assets/message-square-reply-C1ioG5IH.js +1 -0
- package/dist/client/assets/message-square-share-PtF79Jsh.js +1 -0
- package/dist/client/assets/message-square-text-BLXWjM7q.js +1 -0
- package/dist/client/assets/message-square-warning-6mh6PdaN.js +1 -0
- package/dist/client/assets/message-square-x-CVWuXpPE.js +1 -0
- package/dist/client/assets/messages-square-BSls4GJF.js +1 -0
- package/dist/client/assets/metronome-DXXhdChu.js +1 -0
- package/dist/client/assets/mic-BSmKt91c.js +1 -0
- package/dist/client/assets/mic-off-BOAnbPMW.js +1 -0
- package/dist/client/assets/mic-vocal-C0sRGX2z.js +1 -0
- package/dist/client/assets/microchip-25RQ6Hmt.js +1 -0
- package/dist/client/assets/microscope-BXAJ-Lqj.js +1 -0
- package/dist/client/assets/microwave-BIlAe0P7.js +1 -0
- package/dist/client/assets/milestone-CuqsjqFx.js +1 -0
- package/dist/client/assets/milk-DDMUdTCt.js +1 -0
- package/dist/client/assets/milk-off-CO_UuVzF.js +1 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-D2El9SeV.js +96 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-D2El9SeV.js.br +0 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-D2El9SeV.js.gz +0 -0
- package/dist/client/assets/minimize-2-Ct0mHv0k.js +1 -0
- package/dist/client/assets/minimize-CqzwPXkJ.js +1 -0
- package/dist/client/assets/minus-fKI9JRJz.js +1 -0
- package/dist/client/assets/mirror-rectangular-CrnxPDa7.js +1 -0
- package/dist/client/assets/mirror-round-Dg3HktnH.js +1 -0
- package/dist/client/assets/monitor-check-DhDVy7Uq.js +1 -0
- package/dist/client/assets/monitor-cloud-CNj4ghcl.js +1 -0
- package/dist/client/assets/monitor-cog-BvZcIcZb.js +1 -0
- package/dist/client/assets/monitor-dot-J4fxBZqT.js +1 -0
- package/dist/client/assets/monitor-down-CqSl0KB7.js +1 -0
- package/dist/client/assets/monitor-off-CuCw0pY_.js +1 -0
- package/dist/client/assets/monitor-pause-CmVCEB47.js +1 -0
- package/dist/client/assets/monitor-play-nwN325--.js +1 -0
- package/dist/client/assets/monitor-smartphone-PZkxDvAk.js +1 -0
- package/dist/client/assets/monitor-speaker-CP6DcqUk.js +1 -0
- package/dist/client/assets/monitor-stop-lNYq53oP.js +1 -0
- package/dist/client/assets/monitor-up-p_LXeFA6.js +1 -0
- package/dist/client/assets/monitor-x-B_QOv3iv.js +1 -0
- package/dist/client/assets/moon-CepJ4VEe.js +1 -0
- package/dist/client/assets/moon-star-_Cfe1JgD.js +1 -0
- package/dist/client/assets/motorbike-HoAjnzi9.js +1 -0
- package/dist/client/assets/mountain-D63lg3Wp.js +1 -0
- package/dist/client/assets/mountain-snow-du--YEVT.js +1 -0
- package/dist/client/assets/mouse-C-ke0dRy.js +1 -0
- package/dist/client/assets/mouse-left-DPp-atwm.js +1 -0
- package/dist/client/assets/mouse-off-BLuiQysh.js +1 -0
- package/dist/client/assets/mouse-pointer-2-C4BoL6DM.js +1 -0
- package/dist/client/assets/mouse-pointer-2-off-DOt14YmV.js +1 -0
- package/dist/client/assets/mouse-pointer-2znZXSgT.js +1 -0
- package/dist/client/assets/mouse-pointer-ban-BQEWARz6.js +1 -0
- package/dist/client/assets/mouse-pointer-click-BmKaJezf.js +1 -0
- package/dist/client/assets/mouse-right-BwTluxbn.js +1 -0
- package/dist/client/assets/move-3d-3NQW6zO3.js +1 -0
- package/dist/client/assets/move-DEVaDNyU.js +1 -0
- package/dist/client/assets/move-diagonal-2-BBwnfXYW.js +1 -0
- package/dist/client/assets/move-diagonal-lhsw_oii.js +1 -0
- package/dist/client/assets/move-down-Bu0jAz_q.js +1 -0
- package/dist/client/assets/move-down-left-eZh-AIba.js +1 -0
- package/dist/client/assets/move-down-right-DsG1iTKp.js +1 -0
- package/dist/client/assets/move-horizontal-DFpZ-dvH.js +1 -0
- package/dist/client/assets/move-left-C1NDrrMw.js +1 -0
- package/dist/client/assets/move-right-DhVS4sy9.js +1 -0
- package/dist/client/assets/move-up-BN4ZPg-c.js +1 -0
- package/dist/client/assets/move-up-left-C7GKcGU8.js +1 -0
- package/dist/client/assets/move-up-right-DWiTCKzY.js +1 -0
- package/dist/client/assets/move-vertical-DCeY01CD.js +1 -0
- package/dist/client/assets/music-2-r6dbvMOc.js +1 -0
- package/dist/client/assets/music-3-BLbdWfSg.js +1 -0
- package/dist/client/assets/music-4-gMpfF6xm.js +1 -0
- package/dist/client/assets/music-CTGLkSYi.js +1 -0
- package/dist/client/assets/navigation-2-AgsGebt4.js +1 -0
- package/dist/client/assets/navigation-2-off-C2O5bhTp.js +1 -0
- package/dist/client/assets/navigation-CVmVUfEk.js +1 -0
- package/dist/client/assets/navigation-off-CSE2LubQ.js +1 -0
- package/dist/client/assets/network-Clkw1Lte.js +1 -0
- package/dist/client/assets/newspaper-CP8wvQKL.js +1 -0
- package/dist/client/assets/nfc-BN30MB1t.js +1 -0
- package/dist/client/assets/non-binary-CrZGQ9gN.js +1 -0
- package/dist/client/assets/notebook-igk9jmLA.js +1 -0
- package/dist/client/assets/notebook-pen-DDr7Sodk.js +1 -0
- package/dist/client/assets/notebook-tabs-BM3mSxN_.js +1 -0
- package/dist/client/assets/notebook-text-Ncl9JsI8.js +1 -0
- package/dist/client/assets/notepad-text-DB29-ZBG.js +1 -0
- package/dist/client/assets/notepad-text-dashed-BN_Al7fX.js +1 -0
- package/dist/client/assets/nut-ezM0-FLh.js +1 -0
- package/dist/client/assets/nut-off-zCJa_EKu.js +1 -0
- package/dist/client/assets/octagon-DzScEOtt.js +1 -0
- package/dist/client/assets/octagon-alert-GWsmB26-.js +1 -0
- package/dist/client/assets/octagon-minus-BEj9ImFG.js +1 -0
- package/dist/client/assets/octagon-pause-Cnu4ahDF.js +1 -0
- package/dist/client/assets/octagon-x-C4YGt1gY.js +1 -0
- package/dist/client/assets/omega-4BCoiwwt.js +1 -0
- package/dist/client/assets/option-vmKeSJrx.js +1 -0
- package/dist/client/assets/orbit-BCC_P06U.js +1 -0
- package/dist/client/assets/origami-9kNYa5i5.js +1 -0
- package/dist/client/assets/package-2-DLy6y0hw.js +1 -0
- package/dist/client/assets/package-CC0G5CYy.js +1 -0
- package/dist/client/assets/package-check-ScYRbY7Q.js +1 -0
- package/dist/client/assets/package-minus-CbjC5qqa.js +1 -0
- package/dist/client/assets/package-open-COayo4Kb.js +1 -0
- package/dist/client/assets/package-plus-3lfjUwMx.js +1 -0
- package/dist/client/assets/package-search-DIu4A42E.js +1 -0
- package/dist/client/assets/package-x-CQ6zMHz9.js +1 -0
- package/dist/client/assets/paint-bucket-C0xzgBqJ.js +1 -0
- package/dist/client/assets/paint-roller-Dv4g9dLO.js +1 -0
- package/dist/client/assets/paintbrush-sm8pdGLS.js +1 -0
- package/dist/client/assets/paintbrush-vertical-zwdcooV1.js +1 -0
- package/dist/client/assets/palette-B6XiNDwH.js +1 -0
- package/dist/client/assets/panda-IFVPcgpQ.js +1 -0
- package/dist/client/assets/panel-bottom-BPgo4HVF.js +1 -0
- package/dist/client/assets/panel-bottom-close-B0ISC7i6.js +1 -0
- package/dist/client/assets/panel-bottom-dashed-N_zrSmNN.js +1 -0
- package/dist/client/assets/panel-bottom-open-B3cC4ljS.js +1 -0
- package/dist/client/assets/panel-left-CiWVzHmJ.js +1 -0
- package/dist/client/assets/panel-left-close-BYMSCt4D.js +1 -0
- package/dist/client/assets/panel-left-dashed-DjDNOPaL.js +1 -0
- package/dist/client/assets/panel-left-open-D9BnbI1F.js +1 -0
- package/dist/client/assets/panel-left-right-dashed-C7QE2omR.js +1 -0
- package/dist/client/assets/panel-right-close-90OxPbN6.js +1 -0
- package/dist/client/assets/panel-right-dashed-CFEGGJa2.js +1 -0
- package/dist/client/assets/panel-right-open-b4zu3R7s.js +1 -0
- package/dist/client/assets/panel-top-bottom-dashed-Dsg1-WUu.js +1 -0
- package/dist/client/assets/panel-top-close-BMlAFp5P.js +1 -0
- package/dist/client/assets/panel-top-dashed-CjIeHYJJ.js +1 -0
- package/dist/client/assets/panel-top-open-v2AkMRUo.js +1 -0
- package/dist/client/assets/panel-top-pLnr6DxT.js +1 -0
- package/dist/client/assets/panels-left-bottom-BwlXbBQJ.js +1 -0
- package/dist/client/assets/panels-right-bottom-Oy0GtnhM.js +1 -0
- package/dist/client/assets/panels-top-left-Cc2nSdjw.js +1 -0
- package/dist/client/assets/parasol-ufVKongX.js +1 -0
- package/dist/client/assets/parentheses-B46a-ppZ.js +1 -0
- package/dist/client/assets/parking-meter-BE1gzY-h.js +1 -0
- package/dist/client/assets/party-popper-CJYvxESw.js +1 -0
- package/dist/client/assets/passwordBootstrap-BF8HKmXV.js +2 -0
- package/dist/client/assets/passwordBootstrap-BF8HKmXV.js.br +0 -0
- package/dist/client/assets/passwordBootstrap-BF8HKmXV.js.gz +0 -0
- package/dist/client/assets/pause-BkUQYJ6y.js +1 -0
- package/dist/client/assets/paw-print-CCJ0QdY2.js +1 -0
- package/dist/client/assets/pc-case-DD1isIs9.js +1 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-DVAaQM1v.js +1 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-DVAaQM1v.js.br +0 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-DVAaQM1v.js.gz +0 -0
- package/dist/client/assets/pen-CrEkikQR.js +1 -0
- package/dist/client/assets/pen-line-CcJN1sNL.js +1 -0
- package/dist/client/assets/pen-off-DjfHTFLB.js +1 -0
- package/dist/client/assets/pen-tool-BZtaY220.js +1 -0
- package/dist/client/assets/pencil-line-CJ7qfd8P.js +1 -0
- package/dist/client/assets/pencil-off-DPgrXGM5.js +1 -0
- package/dist/client/assets/pencil-ruler-Cz6tDDeC.js +1 -0
- package/dist/client/assets/pentagon-CFAOC0Jq.js +1 -0
- package/dist/client/assets/percent-e22p5HO2.js +1 -0
- package/dist/client/assets/person-standing-DyesuHYj.js +1 -0
- package/dist/client/assets/philippine-peso-CxUk52bW.js +1 -0
- package/dist/client/assets/phone-Brvs0Zp6.js +1 -0
- package/dist/client/assets/phone-call-DIYzW_fk.js +1 -0
- package/dist/client/assets/phone-forwarded-CR9Ntu8-.js +1 -0
- package/dist/client/assets/phone-incoming-CQa4UbYI.js +1 -0
- package/dist/client/assets/phone-missed-BUqkN8y9.js +1 -0
- package/dist/client/assets/phone-off-CnWctJPz.js +1 -0
- package/dist/client/assets/phone-outgoing-Dy54vSi-.js +1 -0
- package/dist/client/assets/pi-DHwPG5IB.js +1 -0
- package/dist/client/assets/piano-D21aYUyr.js +1 -0
- package/dist/client/assets/pickaxe-DPAiVCcB.js +1 -0
- package/dist/client/assets/picture-in-picture-2-DQDeyP0o.js +1 -0
- package/dist/client/assets/picture-in-picture-C3epgVEv.js +1 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-DKJ3-Y5O.js +39 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-DKJ3-Y5O.js.br +0 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-DKJ3-Y5O.js.gz +0 -0
- package/dist/client/assets/piggy-bank-CTpeEMgW.js +1 -0
- package/dist/client/assets/pilcrow-BX-GG-N9.js +1 -0
- package/dist/client/assets/pilcrow-left-7LrvsCx6.js +1 -0
- package/dist/client/assets/pilcrow-right-Ctl4A3gG.js +1 -0
- package/dist/client/assets/pill-Zk1e9Rkg.js +1 -0
- package/dist/client/assets/pill-bottle-qQ1Og87K.js +1 -0
- package/dist/client/assets/pipette-CikMKX7t.js +1 -0
- package/dist/client/assets/pizza-B2PTi4Dm.js +1 -0
- package/dist/client/assets/plane-Bcp0Yovu.js +1 -0
- package/dist/client/assets/plane-landing-CDKquQ0f.js +1 -0
- package/dist/client/assets/plane-takeoff-DmWghake.js +1 -0
- package/dist/client/assets/play-Bu19BhWe.js +1 -0
- package/dist/client/assets/plug-19-W7McZ.js +1 -0
- package/dist/client/assets/plug-2-BbFa260B.js +1 -0
- package/dist/client/assets/plug-zap-CWGTNp3M.js +1 -0
- package/dist/client/assets/pocket-knife-Cu6wKyU2.js +1 -0
- package/dist/client/assets/podcast-BlTGYFjY.js +1 -0
- package/dist/client/assets/pointer-Cd_sgQRS.js +1 -0
- package/dist/client/assets/pointer-off-COU7D-uv.js +1 -0
- package/dist/client/assets/popcorn-Bn2BTShA.js +1 -0
- package/dist/client/assets/popsicle-Bijmgyey.js +1 -0
- package/dist/client/assets/pound-sterling-BzkBCxr8.js +1 -0
- package/dist/client/assets/power-Dtifx8Tt.js +1 -0
- package/dist/client/assets/power-off-CRRj-Et7.js +1 -0
- package/dist/client/assets/presentation-D_t9xYFl.js +1 -0
- package/dist/client/assets/printer-FLWexPu0.js +1 -0
- package/dist/client/assets/printer-check-BQRJN8S7.js +1 -0
- package/dist/client/assets/printer-x-BFsxhPS0.js +1 -0
- package/dist/client/assets/projector-CF2ZXzMm.js +1 -0
- package/dist/client/assets/proportions-Jx94Qaze.js +1 -0
- package/dist/client/assets/puzzle-BZWiXM0m.js +1 -0
- package/dist/client/assets/pyramid-DuHhW4qT.js +1 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-D7BojI35.js +7 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-D7BojI35.js.br +0 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-D7BojI35.js.gz +0 -0
- package/dist/client/assets/quote-Dl99G_Qx.js +1 -0
- package/dist/client/assets/rabbit-BMDKbw_S.js +1 -0
- package/dist/client/assets/radar-CIfiYNuC.js +1 -0
- package/dist/client/assets/radiation-Aa2zte1g.js +1 -0
- package/dist/client/assets/radical-CBfqRAp2.js +1 -0
- package/dist/client/assets/radio-BDWv6awj.js +1 -0
- package/dist/client/assets/radio-off-Bqio9pJH.js +1 -0
- package/dist/client/assets/radio-receiver-Bxl6xFpd.js +1 -0
- package/dist/client/assets/radio-tower-BpyD6h9X.js +1 -0
- package/dist/client/assets/radius-H9bhlmpI.js +1 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-Bm-cgtsH.js +1 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-Bm-cgtsH.js.br +0 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-Bm-cgtsH.js.gz +0 -0
- package/dist/client/assets/rainbow-B-jOb0vd.js +1 -0
- package/dist/client/assets/rat-Bjwb16Ke.js +1 -0
- package/dist/client/assets/ratio-CFdK_4u-.js +1 -0
- package/dist/client/assets/rdpSession-ipoLaN_F.js +1 -0
- package/dist/client/assets/rdpSession-ipoLaN_F.js.br +0 -0
- package/dist/client/assets/rdpSession-ipoLaN_F.js.gz +0 -0
- package/dist/client/assets/receipt-DnBnyN5G.js +1 -0
- package/dist/client/assets/receipt-cent-DDbpJzU3.js +1 -0
- package/dist/client/assets/receipt-euro-CJOSUxza.js +1 -0
- package/dist/client/assets/receipt-indian-rupee-CsK6zsQt.js +1 -0
- package/dist/client/assets/receipt-japanese-yen-B-M_7EEt.js +1 -0
- package/dist/client/assets/receipt-pound-sterling-DZCgmdRt.js +1 -0
- package/dist/client/assets/receipt-russian-ruble-kaNo6ig7.js +1 -0
- package/dist/client/assets/receipt-swiss-franc-Cv-xGLY_.js +1 -0
- package/dist/client/assets/receipt-text-CoEluHOb.js +1 -0
- package/dist/client/assets/receipt-turkish-lira-CTz0LxWZ.js +1 -0
- package/dist/client/assets/rectangle-circle-BBV37yi5.js +1 -0
- package/dist/client/assets/rectangle-ellipsis-BQRmga5m.js +1 -0
- package/dist/client/assets/rectangle-goggles-C3Ys-0E-.js +1 -0
- package/dist/client/assets/rectangle-horizontal-Cbr7lgk4.js +1 -0
- package/dist/client/assets/rectangle-vertical-D6GVVExV.js +1 -0
- package/dist/client/assets/recycle-xJTvttlc.js +1 -0
- package/dist/client/assets/redo-2-DKDjsMz9.js +1 -0
- package/dist/client/assets/redo-B3N9HsyR.js +1 -0
- package/dist/client/assets/redo-dot-XGlU-j-9.js +1 -0
- package/dist/client/assets/referenceSelection-CGMa_B2n.js +4 -0
- package/dist/client/assets/referenceSelection-CGMa_B2n.js.br +0 -0
- package/dist/client/assets/referenceSelection-CGMa_B2n.js.gz +0 -0
- package/dist/client/assets/refresh-ccw-CYMjO5xR.js +1 -0
- package/dist/client/assets/refresh-ccw-dot-owTAvrK6.js +1 -0
- package/dist/client/assets/refresh-cw-off-ivF1Bqvw.js +1 -0
- package/dist/client/assets/refrigerator-BSHyMcAQ.js +1 -0
- package/dist/client/assets/regex-VcfA42uY.js +1 -0
- package/dist/client/assets/remove-formatting-CrCBdT4L.js +1 -0
- package/dist/client/assets/repeat-1-ByR92NoX.js +1 -0
- package/dist/client/assets/repeat-2-DZ1lH02c.js +1 -0
- package/dist/client/assets/repeat-BopWqUvN.js +1 -0
- package/dist/client/assets/repeat-off-gTapwQpQ.js +1 -0
- package/dist/client/assets/replace-ER-4FVAS.js +1 -0
- package/dist/client/assets/replace-all-CYozlGHx.js +1 -0
- package/dist/client/assets/reply-CTIB01Pn.js +1 -0
- package/dist/client/assets/reply-all-CTi3k45r.js +1 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-eSEOE1vg.js +84 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-eSEOE1vg.js.br +0 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-eSEOE1vg.js.gz +0 -0
- package/dist/client/assets/rewind-BJXuosVR.js +1 -0
- package/dist/client/assets/ribbon-CZlDsjuD.js +1 -0
- package/dist/client/assets/road-Bad6WGkM.js +1 -0
- package/dist/client/assets/rocking-chair-iW92U40e.js +1 -0
- package/dist/client/assets/roller-coaster-CrCQOtH2.js +1 -0
- package/dist/client/assets/rose-CXa4CcNM.js +1 -0
- package/dist/client/assets/rotate-3d-BQrY8x4r.js +1 -0
- package/dist/client/assets/rotate-ccw-key-B45JBdja.js +1 -0
- package/dist/client/assets/rotate-ccw-square-B5DlmCVw.js +1 -0
- package/dist/client/assets/rotate-cw-YKjB4Z-7.js +1 -0
- package/dist/client/assets/rotate-cw-square-DHqMvUTR.js +1 -0
- package/dist/client/assets/route-BpNvQG3o.js +1 -0
- package/dist/client/assets/route-off-DLzLSjie.js +1 -0
- package/dist/client/assets/router-DIKAmJkO.js +1 -0
- package/dist/client/assets/rows-2-D0r48UAt.js +1 -0
- package/dist/client/assets/rows-3-B4AIT5oN.js +1 -0
- package/dist/client/assets/rows-4-DTdoVC6C.js +1 -0
- package/dist/client/assets/rss-DpLpRGe5.js +1 -0
- package/dist/client/assets/ruler-MpXWgsE2.js +1 -0
- package/dist/client/assets/ruler-dimension-line-BXb4MMZK.js +1 -0
- package/dist/client/assets/russian-ruble-Bdjo_2He.js +1 -0
- package/dist/client/assets/sailboat-Bqw4QVBI.js +1 -0
- package/dist/client/assets/salad-DyFBY7nn.js +1 -0
- package/dist/client/assets/sandwich-H-IFI6Tz.js +1 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-x-ydic-0.js +40 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-x-ydic-0.js.br +0 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-x-ydic-0.js.gz +0 -0
- package/dist/client/assets/satellite-UsyY6lBg.js +1 -0
- package/dist/client/assets/satellite-dish-Ah876uZA.js +1 -0
- package/dist/client/assets/saudi-riyal-C4hExuKu.js +1 -0
- package/dist/client/assets/save-DK17PlmM.js +1 -0
- package/dist/client/assets/save-all-Bu7RRrlW.js +1 -0
- package/dist/client/assets/save-off-DSqsQS5L.js +1 -0
- package/dist/client/assets/scale-3d-Dm_97wgs.js +1 -0
- package/dist/client/assets/scale-CboJVl89.js +1 -0
- package/dist/client/assets/scaling-DawBFpkg.js +1 -0
- package/dist/client/assets/scan-DnmziHEQ.js +1 -0
- package/dist/client/assets/scan-barcode-D-QPZ1Po.js +1 -0
- package/dist/client/assets/scan-eye-B_A5Iavq.js +1 -0
- package/dist/client/assets/scan-face-DF61vi4j.js +1 -0
- package/dist/client/assets/scan-heart-CyM8lI5M.js +1 -0
- package/dist/client/assets/scan-line-CgSQwwmC.js +1 -0
- package/dist/client/assets/scan-qr-code-BeWIKkQ-.js +1 -0
- package/dist/client/assets/scan-search-DrkvUW53.js +1 -0
- package/dist/client/assets/scan-text-BTm0aG2q.js +1 -0
- package/dist/client/assets/school-LAfW__2u.js +1 -0
- package/dist/client/assets/scissors-CbFYLICY.js +1 -0
- package/dist/client/assets/scissors-line-dashed-BN9HtXPu.js +1 -0
- package/dist/client/assets/scooter-C3Bqnrq6.js +1 -0
- package/dist/client/assets/screen-share-KvXfHUVG.js +1 -0
- package/dist/client/assets/screen-share-off-2EsdrInE.js +1 -0
- package/dist/client/assets/scroll-CksZQsEu.js +1 -0
- package/dist/client/assets/scroll-text-C4X1QQos.js +1 -0
- package/dist/client/assets/search-DO7TweDR.js +1 -0
- package/dist/client/assets/search-alert-CtErxfI6.js +1 -0
- package/dist/client/assets/search-check-BXk4FN1e.js +1 -0
- package/dist/client/assets/search-code-BrrO4DjL.js +1 -0
- package/dist/client/assets/search-slash-DW0kmild.js +1 -0
- package/dist/client/assets/search-x-C_GRxp06.js +1 -0
- package/dist/client/assets/section-B2b_Jqek.js +1 -0
- package/dist/client/assets/send-Cwq3J-bb.js +1 -0
- package/dist/client/assets/send-horizontal-WkyKxINF.js +1 -0
- package/dist/client/assets/send-to-back-BJqTvjFM.js +1 -0
- package/dist/client/assets/separator-horizontal-D2aVlfi5.js +1 -0
- package/dist/client/assets/separator-vertical-DaOWEZFF.js +1 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-B1YzXxjJ.js +162 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-B1YzXxjJ.js.br +0 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-B1YzXxjJ.js.gz +0 -0
- package/dist/client/assets/server-cog-B-u_FT9r.js +1 -0
- package/dist/client/assets/server-crash-D5hgPwqS.js +1 -0
- package/dist/client/assets/server-off-DNOQ45BQ.js +1 -0
- package/dist/client/assets/sessionChatStartup-5U_Wktvd.js +1 -0
- package/dist/client/assets/sessionChatStartup-5U_Wktvd.js.br +0 -0
- package/dist/client/assets/sessionChatStartup-5U_Wktvd.js.gz +0 -0
- package/dist/client/assets/settings-2-mpSuxAGL.js +1 -0
- package/dist/client/assets/settings-D7R8yWqs.js +1 -0
- package/dist/client/assets/shapes-CdkeCQyy.js +1 -0
- package/dist/client/assets/share-CXirOlwW.js +1 -0
- package/dist/client/assets/sheet-h1Ec_obz.js +1 -0
- package/dist/client/assets/shell-C1XTKVhR.js +1 -0
- package/dist/client/assets/shelving-unit-CbRYeMKd.js +1 -0
- package/dist/client/assets/shield-DX961WIO.js +1 -0
- package/dist/client/assets/shield-alert-8T6sylNd.js +1 -0
- package/dist/client/assets/shield-ban-DEQxlGnq.js +1 -0
- package/dist/client/assets/shield-check-Czav1itR.js +1 -0
- package/dist/client/assets/shield-cog-B_eMrG2P.js +1 -0
- package/dist/client/assets/shield-cog-corner-CUEB43iO.js +1 -0
- package/dist/client/assets/shield-ellipsis-Df7ts056.js +1 -0
- package/dist/client/assets/shield-half-CKVxKMML.js +1 -0
- package/dist/client/assets/shield-minus-BcXfS-da.js +1 -0
- package/dist/client/assets/shield-off-VaKkQxps.js +1 -0
- package/dist/client/assets/shield-plus-DbJigF71.js +1 -0
- package/dist/client/assets/shield-question-mark-BgMlTrzk.js +1 -0
- package/dist/client/assets/shield-user-CqapApet.js +1 -0
- package/dist/client/assets/shield-x-BnFWHDaj.js +1 -0
- package/dist/client/assets/ship-BuxiQY6_.js +1 -0
- package/dist/client/assets/ship-wheel--c6D48z8.js +1 -0
- package/dist/client/assets/shirt-zkUaUgC9.js +1 -0
- package/dist/client/assets/shopping-bag-hinyl1-v.js +1 -0
- package/dist/client/assets/shopping-basket-hweRXRll.js +1 -0
- package/dist/client/assets/shopping-cart-DDNHX9gp.js +1 -0
- package/dist/client/assets/shovel-DI33jXkP.js +1 -0
- package/dist/client/assets/shower-head-CJCOw1HD.js +1 -0
- package/dist/client/assets/shredder-B0_cN8V9.js +1 -0
- package/dist/client/assets/shrimp-DM3e0cyl.js +1 -0
- package/dist/client/assets/shrink-9h6knURW.js +1 -0
- package/dist/client/assets/shrub-BPdEkz1o.js +1 -0
- package/dist/client/assets/shuffle-DrhobO4W.js +1 -0
- package/dist/client/assets/sigma-BdHWI_P8.js +1 -0
- package/dist/client/assets/signal-WbvpjHUv.js +1 -0
- package/dist/client/assets/signal-high-Dwvd29LZ.js +1 -0
- package/dist/client/assets/signal-low-BKC8HGkM.js +1 -0
- package/dist/client/assets/signal-medium-BPXHmoRo.js +1 -0
- package/dist/client/assets/signal-zero-X96AgtxH.js +1 -0
- package/dist/client/assets/signature-i8kh1Zi_.js +1 -0
- package/dist/client/assets/signpost-C-RNhYaj.js +1 -0
- package/dist/client/assets/signpost-big-DQrYrXtc.js +1 -0
- package/dist/client/assets/siren-CEYD_PY_.js +1 -0
- package/dist/client/assets/sizeCapture-INFHLROL-B8O-MKp4.js +1 -0
- package/dist/client/assets/sizeCapture-INFHLROL-B8O-MKp4.js.br +0 -0
- package/dist/client/assets/sizeCapture-INFHLROL-B8O-MKp4.js.gz +0 -0
- package/dist/client/assets/skip-back-CUYgskSO.js +1 -0
- package/dist/client/assets/skip-forward-COIvpvJE.js +1 -0
- package/dist/client/assets/skull-jnoQSXc_.js +1 -0
- package/dist/client/assets/slash-D2QTyd-7.js +1 -0
- package/dist/client/assets/slice-C-XIrcC2.js +1 -0
- package/dist/client/assets/sliders-horizontal-pWhs9tf8.js +1 -0
- package/dist/client/assets/sliders-vertical-FzCMgz2f.js +1 -0
- package/dist/client/assets/smartphone-charging-qqX7vsXq.js +1 -0
- package/dist/client/assets/smartphone-nfc-DUfgSOMJ.js +1 -0
- package/dist/client/assets/smile--DaqpTP2.js +1 -0
- package/dist/client/assets/smile-plus-BwNugHpF.js +1 -0
- package/dist/client/assets/snail-CJ5klIS2.js +1 -0
- package/dist/client/assets/snowflake-CICGWLew.js +1 -0
- package/dist/client/assets/soap-dispenser-droplet-z0s9eNtF.js +1 -0
- package/dist/client/assets/sofa-C1PqECnS.js +1 -0
- package/dist/client/assets/solar-panel-Bz28fHqF.js +1 -0
- package/dist/client/assets/soup-Bqmwe0N6.js +1 -0
- package/dist/client/assets/space-oROypLTm.js +1 -0
- package/dist/client/assets/spade-BLEFXdK2.js +1 -0
- package/dist/client/assets/sparkle-DGgjpo6U.js +1 -0
- package/dist/client/assets/speaker-BafLcriT.js +1 -0
- package/dist/client/assets/speech-chR6VBBo.js +1 -0
- package/dist/client/assets/spell-check-2-Bx_FnEgT.js +1 -0
- package/dist/client/assets/spell-check-Bp5YFC5S.js +1 -0
- package/dist/client/assets/spline-c--YKvx8.js +1 -0
- package/dist/client/assets/spline-pointer-Cr70MUjs.js +1 -0
- package/dist/client/assets/split-BlQG958a.js +1 -0
- package/dist/client/assets/spool-BLyem9NO.js +1 -0
- package/dist/client/assets/sport-shoe-CqzROyUU.js +1 -0
- package/dist/client/assets/spotlight-D33Ktld2.js +1 -0
- package/dist/client/assets/spray-can-DcbjEao0.js +1 -0
- package/dist/client/assets/sprout-D3LbLFPD.js +1 -0
- package/dist/client/assets/square-activity-CX7Cgx_S.js +1 -0
- package/dist/client/assets/square-arrow-down-BeQ6mJpU.js +1 -0
- package/dist/client/assets/square-arrow-down-left-CrS5iW2K.js +1 -0
- package/dist/client/assets/square-arrow-down-right-D2byst8P.js +1 -0
- package/dist/client/assets/square-arrow-left-Bljaals3.js +1 -0
- package/dist/client/assets/square-arrow-out-down-left-CNjNEIfG.js +1 -0
- package/dist/client/assets/square-arrow-out-down-right-VljH1ivZ.js +1 -0
- package/dist/client/assets/square-arrow-out-up-left-CO1c1PCG.js +1 -0
- package/dist/client/assets/square-arrow-right-ColJn7Hm.js +1 -0
- package/dist/client/assets/square-arrow-right-enter-BHJpMJ41.js +1 -0
- package/dist/client/assets/square-arrow-right-exit-Bo5s7hGL.js +1 -0
- package/dist/client/assets/square-arrow-up-B3Ne6G7Y.js +1 -0
- package/dist/client/assets/square-arrow-up-left-iqBVJA_L.js +1 -0
- package/dist/client/assets/square-arrow-up-right-B3tTFbPQ.js +1 -0
- package/dist/client/assets/square-asterisk-DqVaLWe1.js +1 -0
- package/dist/client/assets/square-bottom-dashed-scissors-BV3vyfRK.js +1 -0
- package/dist/client/assets/square-centerline-dashed-horizontal-1ghlM4gA.js +1 -0
- package/dist/client/assets/square-centerline-dashed-vertical--boW3vQV.js +1 -0
- package/dist/client/assets/square-chart-gantt-Kp77pL0S.js +1 -0
- package/dist/client/assets/square-check-BUHh9nBC.js +1 -0
- package/dist/client/assets/square-check-big-BqVEeWps.js +1 -0
- package/dist/client/assets/square-chevron-down-DQtB_s0Y.js +1 -0
- package/dist/client/assets/square-chevron-left-1wruv14y.js +1 -0
- package/dist/client/assets/square-chevron-right-C0LLEU6Q.js +1 -0
- package/dist/client/assets/square-chevron-up-C0Mbz0Z7.js +1 -0
- package/dist/client/assets/square-code-Df4mwcLc.js +1 -0
- package/dist/client/assets/square-dashed-BSeGVAkr.js +1 -0
- package/dist/client/assets/square-dashed-bottom-BBAe1gCD.js +1 -0
- package/dist/client/assets/square-dashed-bottom-code-BndSYlEI.js +1 -0
- package/dist/client/assets/square-dashed-kanban-DlsiEX0R.js +1 -0
- package/dist/client/assets/square-dashed-mouse-pointer-6H9Aj07e.js +1 -0
- package/dist/client/assets/square-dashed-text-CwsH8Wu1.js +1 -0
- package/dist/client/assets/square-dashed-top-solid-c2YcBZEU.js +1 -0
- package/dist/client/assets/square-divide-BM9txBHm.js +1 -0
- package/dist/client/assets/square-dot-CJEh2W_k.js +1 -0
- package/dist/client/assets/square-equal-CjILvpan.js +1 -0
- package/dist/client/assets/square-function-DSLM5Uwz.js +1 -0
- package/dist/client/assets/square-kanban-B4DzG_Ct.js +1 -0
- package/dist/client/assets/square-library-CoOdXFxe.js +1 -0
- package/dist/client/assets/square-m-BTYQ0c-v.js +1 -0
- package/dist/client/assets/square-menu-BtWEpo44.js +1 -0
- package/dist/client/assets/square-minus-DttRpSa_.js +1 -0
- package/dist/client/assets/square-mouse-pointer-C5trwtku.js +1 -0
- package/dist/client/assets/square-parking-off-BluVIPxM.js +1 -0
- package/dist/client/assets/square-parking-yoTMOThM.js +1 -0
- package/dist/client/assets/square-pause-Cc6Dkx6a.js +1 -0
- package/dist/client/assets/square-pen-B9DCzI7v.js +1 -0
- package/dist/client/assets/square-percent-BCCYk8KO.js +1 -0
- package/dist/client/assets/square-pi-_07g6wwi.js +1 -0
- package/dist/client/assets/square-pilcrow-BOL2Wkwl.js +1 -0
- package/dist/client/assets/square-play-BMd-nlRt.js +1 -0
- package/dist/client/assets/square-plus-seDNcGXS.js +1 -0
- package/dist/client/assets/square-power-CornoZ7m.js +1 -0
- package/dist/client/assets/square-radical-rK2KlPPP.js +1 -0
- package/dist/client/assets/square-round-corner-Bi7NfGNP.js +1 -0
- package/dist/client/assets/square-s2QWD8aH.js +1 -0
- package/dist/client/assets/square-scissors-DwH1B4Oz.js +1 -0
- package/dist/client/assets/square-sigma-DSMgeDWe.js +1 -0
- package/dist/client/assets/square-slash-ELcSS_0l.js +1 -0
- package/dist/client/assets/square-split-horizontal-BQZYpiAR.js +1 -0
- package/dist/client/assets/square-split-vertical-DKRdW3ux.js +1 -0
- package/dist/client/assets/square-square-eZnS_hLW.js +1 -0
- package/dist/client/assets/square-stack-CAGfOUOf.js +1 -0
- package/dist/client/assets/square-star-CVNDrW75.js +1 -0
- package/dist/client/assets/square-stop-rzfb01Gq.js +1 -0
- package/dist/client/assets/square-user-DTlGKcPq.js +1 -0
- package/dist/client/assets/square-user-round-BR-0wB2O.js +1 -0
- package/dist/client/assets/square-x-UOooUQLK.js +1 -0
- package/dist/client/assets/squares-exclude-DonwE4FR.js +1 -0
- package/dist/client/assets/squares-intersect-DbcDLdTm.js +1 -0
- package/dist/client/assets/squares-subtract-ChuIwpMQ.js +1 -0
- package/dist/client/assets/squares-unite-B8Qdxe-O.js +1 -0
- package/dist/client/assets/squircle-DYmz4LtC.js +1 -0
- package/dist/client/assets/squircle-dashed-CjgmSJ-O.js +1 -0
- package/dist/client/assets/squirrel-DWhW7LL_.js +1 -0
- package/dist/client/assets/stamp-Cy3fBrgs.js +1 -0
- package/dist/client/assets/star-DVFb3ryo.js +1 -0
- package/dist/client/assets/star-half-CjhbGNPv.js +1 -0
- package/dist/client/assets/star-off-DA0tr_AF.js +1 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-D_H49R6x.js +1 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-D_H49R6x.js.br +0 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-D_H49R6x.js.gz +0 -0
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-BMcbfylv.js +1 -0
- package/dist/client/assets/step-back-eNWbIQRS.js +1 -0
- package/dist/client/assets/step-forward-WvUrwHMP.js +1 -0
- package/dist/client/assets/stethoscope-DofGt2A3.js +1 -0
- package/dist/client/assets/sticker-BcTlxfXb.js +1 -0
- package/dist/client/assets/sticky-note-5wUG6Jy_.js +1 -0
- package/dist/client/assets/sticky-note-check-gm2p1lcO.js +1 -0
- package/dist/client/assets/sticky-note-minus-Cf-q228U.js +1 -0
- package/dist/client/assets/sticky-note-off-HMDBfxWl.js +1 -0
- package/dist/client/assets/sticky-note-plus-C9mcRqQC.js +1 -0
- package/dist/client/assets/sticky-note-x-6VyRGCZg.js +1 -0
- package/dist/client/assets/sticky-notes-Cu8qWMCP.js +1 -0
- package/dist/client/assets/stone-BKlujj8D.js +1 -0
- package/dist/client/assets/store-B__6GsFl.js +1 -0
- package/dist/client/assets/stretch-horizontal-CRTSnYXP.js +1 -0
- package/dist/client/assets/stretch-vertical-A1eTlAbg.js +1 -0
- package/dist/client/assets/strikethrough-8cXHHVox.js +1 -0
- package/dist/client/assets/subscript-C3YYTT8C.js +1 -0
- package/dist/client/assets/sun-CEmVZgH5.js +1 -0
- package/dist/client/assets/sun-dim-nX8yDXiS.js +1 -0
- package/dist/client/assets/sun-medium-DrmFQyVC.js +1 -0
- package/dist/client/assets/sun-moon-Bkm8WrPR.js +1 -0
- package/dist/client/assets/sun-snow-CEa5JZFx.js +1 -0
- package/dist/client/assets/sunrise-CDZ8Ku0t.js +1 -0
- package/dist/client/assets/sunset-CfwocNg8.js +1 -0
- package/dist/client/assets/superscript-yTK5cf6O.js +1 -0
- package/dist/client/assets/swatch-book-BC0uv2mw.js +1 -0
- package/dist/client/assets/swimlanes-42K2YHIH-BeFk0ZOE.js +1 -0
- package/dist/client/assets/swimlanes-42K2YHIH-BeFk0ZOE.js.br +0 -0
- package/dist/client/assets/swimlanes-42K2YHIH-BeFk0ZOE.js.gz +0 -0
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-CVsL7WKt.js +8 -0
- package/dist/client/assets/swiper-HQML44_F.js +1 -0
- package/dist/client/assets/swiper-HQML44_F.js.br +0 -0
- package/dist/client/assets/swiper-HQML44_F.js.gz +0 -0
- package/dist/client/assets/swiss-franc-CXm3IvQY.js +1 -0
- package/dist/client/assets/switch-camera-DjpGCMR9.js +1 -0
- package/dist/client/assets/sword--hY5-teL.js +1 -0
- package/dist/client/assets/swords-CW3bNU0z.js +1 -0
- package/dist/client/assets/syringe-CM-j37cM.js +1 -0
- package/dist/client/assets/table-2-DW-Uk5u7.js +1 -0
- package/dist/client/assets/table-CSLeTp9S.js +1 -0
- package/dist/client/assets/table-cells-merge-kDXD_z-s.js +1 -0
- package/dist/client/assets/table-cells-split-BHSj3eoD.js +1 -0
- package/dist/client/assets/table-columns-split-CdTzWU5X.js +1 -0
- package/dist/client/assets/table-of-contents-DysEAClu.js +1 -0
- package/dist/client/assets/table-properties-Bw5q_Ufl.js +1 -0
- package/dist/client/assets/table-rows-split-DdotEC0P.js +1 -0
- package/dist/client/assets/tablet-BKGd3piG.js +1 -0
- package/dist/client/assets/tablet-smartphone-DKAkp7nM.js +1 -0
- package/dist/client/assets/tablets-Bvg0AJaf.js +1 -0
- package/dist/client/assets/tag-Ddi2qSa8.js +1 -0
- package/dist/client/assets/tags-BZrvGEyg.js +1 -0
- package/dist/client/assets/tally-1-BKbX6ZPm.js +1 -0
- package/dist/client/assets/tally-2-BDw-8289.js +1 -0
- package/dist/client/assets/tally-3-Br5DSGpF.js +1 -0
- package/dist/client/assets/tally-4-CXgU7-iB.js +1 -0
- package/dist/client/assets/tally-5-Ldnio3Hw.js +1 -0
- package/dist/client/assets/tangent-DdOs6Z-l.js +1 -0
- package/dist/client/assets/target-Bnn0eSJD.js +1 -0
- package/dist/client/assets/telescope-Btj8EiCO.js +1 -0
- package/dist/client/assets/tent-BNcA0Ckr.js +1 -0
- package/dist/client/assets/tent-tree-BswT9NEl.js +1 -0
- package/dist/client/assets/test-tube-TDqGnIL1.js +1 -0
- package/dist/client/assets/test-tube-diagonal-Dxj2bGXk.js +1 -0
- package/dist/client/assets/test-tubes-DB5SGEBB.js +1 -0
- package/dist/client/assets/text-align-center-Mu3izzJ-.js +1 -0
- package/dist/client/assets/text-align-end-F3vE-OTU.js +1 -0
- package/dist/client/assets/text-align-justify-BYeQ3XNv.js +1 -0
- package/dist/client/assets/text-align-start-CX-Q9wji.js +1 -0
- package/dist/client/assets/text-cursor-JwFSsayG.js +1 -0
- package/dist/client/assets/text-cursor-input-CQD59fKB.js +1 -0
- package/dist/client/assets/text-initial-B_y-Wnq_.js +1 -0
- package/dist/client/assets/text-quote-Cjmpcasq.js +1 -0
- package/dist/client/assets/text-search-BbKX4NeB.js +1 -0
- package/dist/client/assets/text-wrap-DDEsqE9F.js +1 -0
- package/dist/client/assets/theater-Upq5FczA.js +1 -0
- package/dist/client/assets/thermometer-CSa9Xfix.js +1 -0
- package/dist/client/assets/thermometer-snowflake-Dt-wvDpF.js +1 -0
- package/dist/client/assets/thermometer-sun-BrH-UAel.js +1 -0
- package/dist/client/assets/thumbs-down-DJFqEHlr.js +1 -0
- package/dist/client/assets/thumbs-up-1WneQhim.js +1 -0
- package/dist/client/assets/ticket-check-CyJHgFaW.js +1 -0
- package/dist/client/assets/ticket-minus-D91QkYEu.js +1 -0
- package/dist/client/assets/ticket-percent-DgvFZiah.js +1 -0
- package/dist/client/assets/ticket-plus-DANoGU1a.js +1 -0
- package/dist/client/assets/ticket-slash-CAVLgytA.js +1 -0
- package/dist/client/assets/ticket-vCUEP7QT.js +1 -0
- package/dist/client/assets/ticket-x-sq3-HkoN.js +1 -0
- package/dist/client/assets/tickets-C-6Mx8_t.js +1 -0
- package/dist/client/assets/tickets-plane-KW31WAwn.js +1 -0
- package/dist/client/assets/timeline-DAYSA-7K.js +1 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-D230Qlos.js +120 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-D230Qlos.js.br +0 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-D230Qlos.js.gz +0 -0
- package/dist/client/assets/timer-BYfkGLGL.js +1 -0
- package/dist/client/assets/timer-off-C1SsfUQ5.js +1 -0
- package/dist/client/assets/timer-reset-DuTVPtvO.js +1 -0
- package/dist/client/assets/toggle-left-C9D_UTKk.js +1 -0
- package/dist/client/assets/toggle-right-Zw5ACBTf.js +1 -0
- package/dist/client/assets/toilet-Dl9jVpuW.js +1 -0
- package/dist/client/assets/tool-case-Bib4EsP1.js +1 -0
- package/dist/client/assets/toolbox-e56UyL4S.js +1 -0
- package/dist/client/assets/tornado-jprywTko.js +1 -0
- package/dist/client/assets/torus-BI4GtzUw.js +1 -0
- package/dist/client/assets/touchpad-B6Aev-0u.js +1 -0
- package/dist/client/assets/touchpad-off-pLPX2PnG.js +1 -0
- package/dist/client/assets/towel-rack-EWvgG_mr.js +1 -0
- package/dist/client/assets/tower-control-DGyldro_.js +1 -0
- package/dist/client/assets/toy-brick-B0kGHefL.js +1 -0
- package/dist/client/assets/tractor-DIbuEF7d.js +1 -0
- package/dist/client/assets/traffic-cone-DwZ95KKG.js +1 -0
- package/dist/client/assets/train-front-B_7HTQVV.js +1 -0
- package/dist/client/assets/train-front-tunnel-BE0eN7hi.js +1 -0
- package/dist/client/assets/train-track-ia5VMFid.js +1 -0
- package/dist/client/assets/tram-front-DbgsifPV.js +1 -0
- package/dist/client/assets/transgender-5Jl7sqJ8.js +1 -0
- package/dist/client/assets/trash-BgWibxrO.js +1 -0
- package/dist/client/assets/tree-deciduous-Ca_aH4pq.js +1 -0
- package/dist/client/assets/tree-palm-DVbyPCHV.js +1 -0
- package/dist/client/assets/tree-pine-BgWJjk_a.js +1 -0
- package/dist/client/assets/trees-B-Jfk2cf.js +1 -0
- package/dist/client/assets/trending-down-BSZGqf9a.js +1 -0
- package/dist/client/assets/trending-up-BVrGdGpm.js +1 -0
- package/dist/client/assets/trending-up-down-CH6yEFHI.js +1 -0
- package/dist/client/assets/triangle-BcW24yDu.js +1 -0
- package/dist/client/assets/triangle-alert-Bo7zdybT.js +1 -0
- package/dist/client/assets/triangle-dashed-CO1zChSH.js +1 -0
- package/dist/client/assets/triangle-right-BPFYHGCP.js +1 -0
- package/dist/client/assets/trophy-B7tbPL97.js +1 -0
- package/dist/client/assets/truck-BYJTHXJx.js +1 -0
- package/dist/client/assets/truck-electric-DBc5HrJ7.js +1 -0
- package/dist/client/assets/turkish-lira-BmWE3JyH.js +1 -0
- package/dist/client/assets/turntable-BvoHmhsM.js +1 -0
- package/dist/client/assets/turtle-iECjQFeW.js +1 -0
- package/dist/client/assets/tv-Db-jUJf-.js +1 -0
- package/dist/client/assets/tv-minimal-play-C9AQJq2k.js +1 -0
- package/dist/client/assets/tv-minimal-rZ28A7ZR.js +1 -0
- package/dist/client/assets/type-DrcvARhn.js +1 -0
- package/dist/client/assets/type-outline-CCGLhIjB.js +1 -0
- package/dist/client/assets/umbrella-DcmTmKDd.js +1 -0
- package/dist/client/assets/umbrella-off-quUGutbj.js +1 -0
- package/dist/client/assets/underline-BAklurbo.js +1 -0
- package/dist/client/assets/undo-2-um_j5RD-.js +1 -0
- package/dist/client/assets/undo-C0mye3o8.js +1 -0
- package/dist/client/assets/undo-dot-HkSHho0_.js +1 -0
- package/dist/client/assets/unfold-horizontal-DLU8Pnrd.js +1 -0
- package/dist/client/assets/unfold-vertical-5H0DR3O-.js +1 -0
- package/dist/client/assets/ungroup-nNAlCiK_.js +1 -0
- package/dist/client/assets/university-CydGPeKz.js +1 -0
- package/dist/client/assets/unlink-2-B65jbEen.js +1 -0
- package/dist/client/assets/unlink-BnSlLrEp.js +1 -0
- package/dist/client/assets/unplug-CIs9h9Fn.js +1 -0
- package/dist/client/assets/upload-Bq8VkxNP.js +1 -0
- package/dist/client/assets/usb-Clcr23Qy.js +1 -0
- package/dist/client/assets/use-gesture-react.esm-BoHm6IWK.js +1 -0
- package/dist/client/assets/use-gesture-react.esm-BoHm6IWK.js.br +0 -0
- package/dist/client/assets/use-gesture-react.esm-BoHm6IWK.js.gz +0 -0
- package/dist/client/assets/user-DYPThpQt.js +1 -0
- package/dist/client/assets/user-check-D3zaQH6Z.js +1 -0
- package/dist/client/assets/user-cog-CU5PVWYG.js +1 -0
- package/dist/client/assets/user-key-Dw_60Y94.js +1 -0
- package/dist/client/assets/user-lock-XimY1Ruo.js +1 -0
- package/dist/client/assets/user-minus-BghKx4Cr.js +1 -0
- package/dist/client/assets/user-pen-Rp3r3iLh.js +1 -0
- package/dist/client/assets/user-plus-DdbN6NAn.js +1 -0
- package/dist/client/assets/user-round-BG8Jh8nb.js +1 -0
- package/dist/client/assets/user-round-check-Di5fp_NP.js +1 -0
- package/dist/client/assets/user-round-cog-BXaHf12p.js +1 -0
- package/dist/client/assets/user-round-key-CJHj-IpF.js +1 -0
- package/dist/client/assets/user-round-minus-C8Jjlx38.js +1 -0
- package/dist/client/assets/user-round-pen-BXpf-52W.js +1 -0
- package/dist/client/assets/user-round-plus-CBeKxocZ.js +1 -0
- package/dist/client/assets/user-round-search-DCegXsnF.js +1 -0
- package/dist/client/assets/user-round-x-CDQotbV2.js +1 -0
- package/dist/client/assets/user-search-CMd6RJ2K.js +1 -0
- package/dist/client/assets/user-star-H7sSwFWS.js +1 -0
- package/dist/client/assets/user-x-DuWfLQRK.js +1 -0
- package/dist/client/assets/users-DYKLsjP_.js +1 -0
- package/dist/client/assets/users-round-B5OSvEw1.js +1 -0
- package/dist/client/assets/utensils-CUfS1VIl.js +1 -0
- package/dist/client/assets/utensils-crossed-CW-19CQa.js +1 -0
- package/dist/client/assets/utility-pole-DSZR_T42.js +1 -0
- package/dist/client/assets/van-nDY0m1dL.js +1 -0
- package/dist/client/assets/variable-CJEGjT85.js +1 -0
- package/dist/client/assets/vault-D7EtsKzF.js +1 -0
- package/dist/client/assets/vector-square-DFqwDpgU.js +1 -0
- package/dist/client/assets/vegan-Dkfjtshg.js +1 -0
- package/dist/client/assets/venetian-mask-BPhVLVdp.js +1 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-DHIwZyjP.js +34 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-DHIwZyjP.js.br +0 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-DHIwZyjP.js.gz +0 -0
- package/dist/client/assets/venus-and-mars-DuhRK8vv.js +1 -0
- package/dist/client/assets/venus-nNgjNWj8.js +1 -0
- package/dist/client/assets/vibrate-CoAXqj9f.js +1 -0
- package/dist/client/assets/vibrate-off-DqM2LJV1.js +1 -0
- package/dist/client/assets/video-off-DC3efLu1.js +1 -0
- package/dist/client/assets/videoCompression-zwKxMCNz.js +3 -0
- package/dist/client/assets/videoCompression-zwKxMCNz.js.br +0 -0
- package/dist/client/assets/videoCompression-zwKxMCNz.js.gz +0 -0
- package/dist/client/assets/videotape-D2tAY2Ch.js +1 -0
- package/dist/client/assets/view-CgrZPoKF.js +1 -0
- package/dist/client/assets/voicemail-C_2mxDF6.js +1 -0
- package/dist/client/assets/volleyball-C2voEcRj.js +1 -0
- package/dist/client/assets/volume-1-BnnH38xp.js +1 -0
- package/dist/client/assets/volume-2-DyNqOgau.js +1 -0
- package/dist/client/assets/volume-DziZYx83.js +1 -0
- package/dist/client/assets/volume-off-BZFB1IbQ.js +1 -0
- package/dist/client/assets/volume-x-CsySthcK.js +1 -0
- package/dist/client/assets/vote-ZTWQdw0-.js +1 -0
- package/dist/client/assets/wallet-0Eb6Viwz.js +1 -0
- package/dist/client/assets/wallet-cards-Dt7zAJqM.js +1 -0
- package/dist/client/assets/wallet-minimal-BZetuuwH.js +1 -0
- package/dist/client/assets/wallpaper-BsG6Obzk.js +1 -0
- package/dist/client/assets/wand-DGwngPKr.js +1 -0
- package/dist/client/assets/wand-sparkles-BTokHl9r.js +1 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-CGY9_Btg.js +78 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-CGY9_Btg.js.br +0 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-CGY9_Btg.js.gz +0 -0
- package/dist/client/assets/warehouse-LAv0WNB_.js +1 -0
- package/dist/client/assets/washing-machine-hVh3INt0.js +1 -0
- package/dist/client/assets/watch-DXwng4ty.js +1 -0
- package/dist/client/assets/waves-arrow-down-Bi0o0xXT.js +1 -0
- package/dist/client/assets/waves-arrow-up-BeL02Qx1.js +1 -0
- package/dist/client/assets/waves-horizontal-Bur3YUu6.js +1 -0
- package/dist/client/assets/waves-ladder-CK6OpcXj.js +1 -0
- package/dist/client/assets/waves-vertical-DJz3D03m.js +1 -0
- package/dist/client/assets/waypoints-C3iS1SJw.js +1 -0
- package/dist/client/assets/webcam-DoyQK7Bi.js +1 -0
- package/dist/client/assets/webhook-DziMma4Z.js +1 -0
- package/dist/client/assets/webhook-off-Bao4YwCa.js +1 -0
- package/dist/client/assets/weight-CpAEuAyb.js +1 -0
- package/dist/client/assets/weight-tilde-BUrZjNID.js +1 -0
- package/dist/client/assets/wheat-B6hyBFx8.js +1 -0
- package/dist/client/assets/wheat-off-OsGywhp7.js +1 -0
- package/dist/client/assets/whole-word-DY2l5M3I.js +1 -0
- package/dist/client/assets/wifi-CQCWpCTy.js +1 -0
- package/dist/client/assets/wifi-cog-CsX1TRAG.js +1 -0
- package/dist/client/assets/wifi-high-C7_RmhBB.js +1 -0
- package/dist/client/assets/wifi-low-D2WeKDF9.js +1 -0
- package/dist/client/assets/wifi-pen-DWHLnK43.js +1 -0
- package/dist/client/assets/wifi-sync-zaq5oCqv.js +1 -0
- package/dist/client/assets/wifi-zero-1zp2XIdy.js +1 -0
- package/dist/client/assets/wind-Clsu1a5Q.js +1 -0
- package/dist/client/assets/wind-arrow-down-Cqn5KTqA.js +1 -0
- package/dist/client/assets/wine-BluUAHJn.js +1 -0
- package/dist/client/assets/wine-off-PZL6H24n.js +1 -0
- package/dist/client/assets/workflow-Og0paNZz.js +1 -0
- package/dist/client/assets/worm-TnNQC8Cg.js +1 -0
- package/dist/client/assets/wrench-KNHrg-Cq.js +1 -0
- package/dist/client/assets/x-line-top-C1rFugR7.js +1 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-BU7dQO52.js +7 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-BU7dQO52.js.br +0 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-BU7dQO52.js.gz +0 -0
- package/dist/client/assets/zap-BLTkrLJk.js +1 -0
- package/dist/client/assets/zap-off-BOAql0We.js +1 -0
- package/dist/client/assets/zodiac-aquarius-BmY0PJIO.js +1 -0
- package/dist/client/assets/zodiac-aries-C5I0IpGZ.js +1 -0
- package/dist/client/assets/zodiac-cancer-2erMaZGP.js +1 -0
- package/dist/client/assets/zodiac-capricorn-qrR1Ok6O.js +1 -0
- package/dist/client/assets/zodiac-gemini-CgW2PjDb.js +1 -0
- package/dist/client/assets/zodiac-leo-B7pl8r0l.js +1 -0
- package/dist/client/assets/zodiac-libra-IifWQZwK.js +1 -0
- package/dist/client/assets/zodiac-ophiuchus-DBxh8auv.js +1 -0
- package/dist/client/assets/zodiac-pisces-CexJSJfy.js +1 -0
- package/dist/client/assets/zodiac-sagittarius-DFgvXsx8.js +1 -0
- package/dist/client/assets/zodiac-scorpio-BnnvS-Kg.js +1 -0
- package/dist/client/assets/zodiac-taurus-BgAtMn84.js +1 -0
- package/dist/client/assets/zodiac-virgo-pPRC6PRm.js +1 -0
- package/dist/client/assets/zoom-in-CWyqDBIX.js +1 -0
- package/dist/client/assets/zoom-out-CoWglUc-.js +1 -0
- package/dist/client/index.html +2 -2
- package/dist/client/index.html.br +0 -0
- package/dist/client/index.html.gz +0 -0
- package/dist/client/sw.js +1 -1
- package/dist/client/sw.js.br +0 -0
- package/dist/client/sw.js.gz +0 -0
- package/dist/server/agent/collaborationDeliveryWorker.js +4 -0
- package/dist/server/agent/sessionChatRoutes.js +6 -2
- package/dist/server/agent/sharedChatTarget.js +10 -0
- package/dist/server/entry.js +5 -3
- package/dist/server/federation/accessPolicy.js +14 -8
- package/dist/server/federation/authorization.js +31 -9
- package/dist/server/federation/invitations.js +40 -19
- package/dist/server/federation/requestContext.js +5 -1
- package/dist/server/federation/routeInvitations.js +43 -14
- package/dist/server/federation/runtime.js +30 -13
- package/dist/server/federation/sessionAttachmentAccess.js +1 -1
- package/dist/server/routes/terminal.js +21 -6
- package/package.json +1 -1
- package/runtime-manifest.json +3 -3
- package/dist/client/assets/AndroidMirrorView-uLXVeTB_.js +0 -3
- package/dist/client/assets/AndroidMirrorView-uLXVeTB_.js.br +0 -0
- package/dist/client/assets/AndroidMirrorView-uLXVeTB_.js.gz +0 -0
- package/dist/client/assets/App-Bd9XpX-B.js +0 -188
- package/dist/client/assets/App-Bd9XpX-B.js.br +0 -0
- package/dist/client/assets/App-Bd9XpX-B.js.gz +0 -0
- package/dist/client/assets/ArchitecturePanel-DCUnsg2X.js +0 -9
- package/dist/client/assets/ArchitecturePanel-DCUnsg2X.js.br +0 -0
- package/dist/client/assets/ArchitecturePanel-DCUnsg2X.js.gz +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BtuBFg-T.js +0 -2
- package/dist/client/assets/ChangeWalkthroughPanel-BtuBFg-T.js.br +0 -0
- package/dist/client/assets/ChangeWalkthroughPanel-BtuBFg-T.js.gz +0 -0
- package/dist/client/assets/ChatChartReference-CgqjAeZc.js +0 -284
- package/dist/client/assets/ChatChartReference-CgqjAeZc.js.br +0 -0
- package/dist/client/assets/ChatChartReference-CgqjAeZc.js.gz +0 -0
- package/dist/client/assets/ChatContextPreview-K3ZfEkLs.js +0 -1
- package/dist/client/assets/ChatContextPreview-K3ZfEkLs.js.br +0 -0
- package/dist/client/assets/ChatContextPreview-K3ZfEkLs.js.gz +0 -0
- package/dist/client/assets/ChatFullContent-BVUQwCo3.js +0 -67
- package/dist/client/assets/ChatFullContent-BVUQwCo3.js.br +0 -0
- package/dist/client/assets/ChatFullContent-BVUQwCo3.js.gz +0 -0
- package/dist/client/assets/ChatRichContent-CV-KwXxD.js +0 -2
- package/dist/client/assets/ChatRichContent-CV-KwXxD.js.br +0 -0
- package/dist/client/assets/ChatRichContent-CV-KwXxD.js.gz +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-CV8izL1M.js +0 -1
- package/dist/client/assets/ChatVideoPreviewDialog-CV8izL1M.js.br +0 -0
- package/dist/client/assets/ChatVideoPreviewDialog-CV8izL1M.js.gz +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-Dmpk78q4.js +0 -1
- package/dist/client/assets/CollaborationMainWorkspace-Dmpk78q4.js.br +0 -0
- package/dist/client/assets/CollaborationMainWorkspace-Dmpk78q4.js.gz +0 -0
- package/dist/client/assets/CollaborationTaskContent-BQ1iupNb.js +0 -1
- package/dist/client/assets/ComputerControlView-BkSnnHUj.js +0 -6
- package/dist/client/assets/ComputerControlView-BkSnnHUj.js.br +0 -0
- package/dist/client/assets/ComputerControlView-BkSnnHUj.js.gz +0 -0
- package/dist/client/assets/DagPlayground-6i1MrDv4.js +0 -1
- package/dist/client/assets/DagPlayground-6i1MrDv4.js.br +0 -0
- package/dist/client/assets/DagPlayground-6i1MrDv4.js.gz +0 -0
- package/dist/client/assets/DiffLab-CnzqYaW7.js +0 -455
- package/dist/client/assets/DiffLab-CnzqYaW7.js.br +0 -0
- package/dist/client/assets/DiffLab-CnzqYaW7.js.gz +0 -0
- package/dist/client/assets/DiffReview-ZuBlDYd9.js +0 -1
- package/dist/client/assets/DiffReview-ZuBlDYd9.js.br +0 -0
- package/dist/client/assets/DiffReview-ZuBlDYd9.js.gz +0 -0
- package/dist/client/assets/DiffReviewLab-D5u7sipT.js +0 -2
- package/dist/client/assets/DiffReviewLab-D5u7sipT.js.br +0 -0
- package/dist/client/assets/DiffReviewLab-D5u7sipT.js.gz +0 -0
- package/dist/client/assets/DiffViewer-C7KTXtOo.js +0 -34
- package/dist/client/assets/DiffViewer-C7KTXtOo.js.br +0 -0
- package/dist/client/assets/DiffViewer-C7KTXtOo.js.gz +0 -0
- package/dist/client/assets/GitLoadingSkeleton-C-d81rCC.js +0 -1
- package/dist/client/assets/GitLoadingSkeleton-C-d81rCC.js.br +0 -0
- package/dist/client/assets/GitLoadingSkeleton-C-d81rCC.js.gz +0 -0
- package/dist/client/assets/Markdown-BQbIDL5g.js +0 -23
- package/dist/client/assets/Markdown-BQbIDL5g.js.br +0 -0
- package/dist/client/assets/Markdown-BQbIDL5g.js.gz +0 -0
- package/dist/client/assets/MarkdownPreview-2WBbF4jy.js +0 -1
- package/dist/client/assets/MarkdownPreview-2WBbF4jy.js.br +0 -0
- package/dist/client/assets/MarkdownPreview-2WBbF4jy.js.gz +0 -0
- package/dist/client/assets/ModelPreview-J22uvmA0.js +0 -4112
- package/dist/client/assets/ModelPreview-J22uvmA0.js.br +0 -0
- package/dist/client/assets/ModelPreview-J22uvmA0.js.gz +0 -0
- package/dist/client/assets/RecordingSaveDialog-G-DoMMaD.js +0 -1
- package/dist/client/assets/RecordingSaveDialog-G-DoMMaD.js.br +0 -0
- package/dist/client/assets/RecordingSaveDialog-G-DoMMaD.js.gz +0 -0
- package/dist/client/assets/RightSidebar-9Ay-BbmH.js +0 -1729
- package/dist/client/assets/RightSidebar-9Ay-BbmH.js.br +0 -0
- package/dist/client/assets/RightSidebar-9Ay-BbmH.js.gz +0 -0
- package/dist/client/assets/SessionChatView-kTD9PR6z.js +0 -38
- package/dist/client/assets/SessionChatView-kTD9PR6z.js.br +0 -0
- package/dist/client/assets/SessionChatView-kTD9PR6z.js.gz +0 -0
- package/dist/client/assets/SessionResourceSidebar-CM9Vxbf2.js +0 -2
- package/dist/client/assets/SessionResourceSidebar-CM9Vxbf2.js.br +0 -0
- package/dist/client/assets/SessionResourceSidebar-CM9Vxbf2.js.gz +0 -0
- package/dist/client/assets/TodoWorkspace-DOPSphDB.js +0 -1
- package/dist/client/assets/TodoWorkspace-DOPSphDB.js.br +0 -0
- package/dist/client/assets/TodoWorkspace-DOPSphDB.js.gz +0 -0
- package/dist/client/assets/VideoPreviewPlayer-C_2mAmnO.js +0 -1
- package/dist/client/assets/VideoPreviewPlayer-C_2mAmnO.js.br +0 -0
- package/dist/client/assets/VideoPreviewPlayer-C_2mAmnO.js.gz +0 -0
- package/dist/client/assets/a-arrow-down-e_zpSq8x.js +0 -1
- package/dist/client/assets/a-arrow-up-BUoSfazn.js +0 -1
- package/dist/client/assets/a-large-small-CPPBs6rv.js +0 -1
- package/dist/client/assets/abnfDiagram-VCTEODGH-BaNfEJNg.js +0 -1
- package/dist/client/assets/abnfDiagram-VCTEODGH-BaNfEJNg.js.br +0 -0
- package/dist/client/assets/abnfDiagram-VCTEODGH-BaNfEJNg.js.gz +0 -0
- package/dist/client/assets/accessibility-zxXEh40k.js +0 -1
- package/dist/client/assets/activity-eWQa3qo_.js +0 -1
- package/dist/client/assets/air-vent-BguBAaNA.js +0 -1
- package/dist/client/assets/airplay-BB2r8Mxm.js +0 -1
- package/dist/client/assets/alarm-clock-8ZjAh0Rn.js +0 -1
- package/dist/client/assets/alarm-clock-check-DEVKAa6a.js +0 -1
- package/dist/client/assets/alarm-clock-minus-C6CUtkWJ.js +0 -1
- package/dist/client/assets/alarm-clock-off-BCGN-Zdr.js +0 -1
- package/dist/client/assets/alarm-clock-plus-D25gHx9D.js +0 -1
- package/dist/client/assets/alarm-smoke-Bqc9l05k.js +0 -1
- package/dist/client/assets/album-BeEk75XM.js +0 -1
- package/dist/client/assets/align-center-horizontal-CVIHhKXU.js +0 -1
- package/dist/client/assets/align-center-vertical-B6AAG6ZV.js +0 -1
- package/dist/client/assets/align-end-horizontal-DmdZzPMy.js +0 -1
- package/dist/client/assets/align-end-vertical-9qg5_jJL.js +0 -1
- package/dist/client/assets/align-horizontal-distribute-center-DU1Gap3j.js +0 -1
- package/dist/client/assets/align-horizontal-distribute-end-BoGcm9J_.js +0 -1
- package/dist/client/assets/align-horizontal-distribute-start-BZqGTU6H.js +0 -1
- package/dist/client/assets/align-horizontal-justify-center-Be5ckdVq.js +0 -1
- package/dist/client/assets/align-horizontal-justify-end-D2z-sknO.js +0 -1
- package/dist/client/assets/align-horizontal-justify-start-C5B0IjXf.js +0 -1
- package/dist/client/assets/align-horizontal-space-around-DFYYlP_E.js +0 -1
- package/dist/client/assets/align-horizontal-space-between-LQW9JQ0V.js +0 -1
- package/dist/client/assets/align-start-horizontal-Db0MyarJ.js +0 -1
- package/dist/client/assets/align-start-vertical-DzCVI_S9.js +0 -1
- package/dist/client/assets/align-vertical-distribute-center-CT8ktztL.js +0 -1
- package/dist/client/assets/align-vertical-distribute-end-Dkj1qHTT.js +0 -1
- package/dist/client/assets/align-vertical-distribute-start-DqChWQpe.js +0 -1
- package/dist/client/assets/align-vertical-justify-center-B0_V6FY0.js +0 -1
- package/dist/client/assets/align-vertical-justify-end-DablKLTr.js +0 -1
- package/dist/client/assets/align-vertical-justify-start-CEMVwEQe.js +0 -1
- package/dist/client/assets/align-vertical-space-around-C3QhVVP6.js +0 -1
- package/dist/client/assets/align-vertical-space-between-DQSW7V6z.js +0 -1
- package/dist/client/assets/ambulance-dGTihdtq.js +0 -1
- package/dist/client/assets/ampersand-DfHlv2TV.js +0 -1
- package/dist/client/assets/ampersands-BG1KtjTz.js +0 -1
- package/dist/client/assets/amphora-CkO4blGr.js +0 -1
- package/dist/client/assets/anchor-L-FdO1zq.js +0 -1
- package/dist/client/assets/angry-BP8f7yl3.js +0 -1
- package/dist/client/assets/annoyed-Cs9cHknK.js +0 -1
- package/dist/client/assets/antenna-BmZWSEBk.js +0 -1
- package/dist/client/assets/anvil-CePgB2D2.js +0 -1
- package/dist/client/assets/aperture-CxoOAEB8.js +0 -1
- package/dist/client/assets/app-DTAZ_mHv.js +0 -37
- package/dist/client/assets/app-DTAZ_mHv.js.br +0 -0
- package/dist/client/assets/app-DTAZ_mHv.js.gz +0 -0
- package/dist/client/assets/app-window-C-hRYXQG.js +0 -1
- package/dist/client/assets/app-window-mac-DICw9L5R.js +0 -1
- package/dist/client/assets/apple-DNJ9gkh6.js +0 -1
- package/dist/client/assets/architectureDiagram-5GKGNRK7-B3BdaDV5.js +0 -36
- package/dist/client/assets/architectureDiagram-5GKGNRK7-B3BdaDV5.js.br +0 -0
- package/dist/client/assets/architectureDiagram-5GKGNRK7-B3BdaDV5.js.gz +0 -0
- package/dist/client/assets/archive-XOJr3PBG.js +0 -1
- package/dist/client/assets/archive-restore-DoIpxe52.js +0 -1
- package/dist/client/assets/archive-x-DJw_BTe4.js +0 -1
- package/dist/client/assets/armchair-OPEZ0eyZ.js +0 -1
- package/dist/client/assets/arrow-big-down-D75LUgym.js +0 -1
- package/dist/client/assets/arrow-big-down-dash-EvgVmCcy.js +0 -1
- package/dist/client/assets/arrow-big-left-DhTQP6CF.js +0 -1
- package/dist/client/assets/arrow-big-left-dash-C50YGn_W.js +0 -1
- package/dist/client/assets/arrow-big-right-CvSqXSen.js +0 -1
- package/dist/client/assets/arrow-big-right-dash-D3NwloUc.js +0 -1
- package/dist/client/assets/arrow-big-up-DRnHa_wU.js +0 -1
- package/dist/client/assets/arrow-big-up-dash-DRzv0ZqC.js +0 -1
- package/dist/client/assets/arrow-down-0-1-DOCgEzA_.js +0 -1
- package/dist/client/assets/arrow-down-1-0-CHEvAbRN.js +0 -1
- package/dist/client/assets/arrow-down-1Kl4oM72.js +0 -1
- package/dist/client/assets/arrow-down-from-line-BpkjJJBP.js +0 -1
- package/dist/client/assets/arrow-down-left-BRwJmHU4.js +0 -1
- package/dist/client/assets/arrow-down-narrow-wide-F6bGAsW_.js +0 -1
- package/dist/client/assets/arrow-down-right-ClX5L319.js +0 -1
- package/dist/client/assets/arrow-down-to-dot-DxjhhRMq.js +0 -1
- package/dist/client/assets/arrow-down-to-line-D8W5iI9d.js +0 -1
- package/dist/client/assets/arrow-down-up-CgeCVVBG.js +0 -1
- package/dist/client/assets/arrow-down-wide-narrow-CjzwY1_W.js +0 -1
- package/dist/client/assets/arrow-down-z-a-D8u2wMRx.js +0 -1
- package/dist/client/assets/arrow-left-from-line-C7z0E3wR.js +0 -1
- package/dist/client/assets/arrow-left-right-D10GQnmS.js +0 -1
- package/dist/client/assets/arrow-left-to-line-X45QefNX.js +0 -1
- package/dist/client/assets/arrow-right-from-line-BZ6f0dG8.js +0 -1
- package/dist/client/assets/arrow-right-left-Bc284RIu.js +0 -1
- package/dist/client/assets/arrow-right-to-line-DtSSm7ij.js +0 -1
- package/dist/client/assets/arrow-up-0-1-CL5f_1re.js +0 -1
- package/dist/client/assets/arrow-up-1-0-DFLFspjN.js +0 -1
- package/dist/client/assets/arrow-up-a-z-CFX9UJiF.js +0 -1
- package/dist/client/assets/arrow-up-down-m_i7ylT8.js +0 -1
- package/dist/client/assets/arrow-up-from-dot-FF1tQDJK.js +0 -1
- package/dist/client/assets/arrow-up-from-line-COQEmp-D.js +0 -1
- package/dist/client/assets/arrow-up-left-Bbf1_dsI.js +0 -1
- package/dist/client/assets/arrow-up-narrow-wide-DjcbthJb.js +0 -1
- package/dist/client/assets/arrow-up-to-line-C_YGqKwD.js +0 -1
- package/dist/client/assets/arrow-up-wide-narrow-Cn6HPrB7.js +0 -1
- package/dist/client/assets/arrow-up-z-a-BA0b19s9.js +0 -1
- package/dist/client/assets/arrows-up-from-line-CUZa8aBr.js +0 -1
- package/dist/client/assets/asterisk-CUSXcAPm.js +0 -1
- package/dist/client/assets/astroid-CjUpM-2u.js +0 -1
- package/dist/client/assets/atom-gG5eP8PO.js +0 -1
- package/dist/client/assets/audio-lines-BKFfvZ9u.js +0 -1
- package/dist/client/assets/audio-waveform-Db6x0woW.js +0 -1
- package/dist/client/assets/award-BXZvfp-2.js +0 -1
- package/dist/client/assets/axe-BlPZ4mAa.js +0 -1
- package/dist/client/assets/axis-3d-DlVXRp_i.js +0 -1
- package/dist/client/assets/baby-BHcYE9oL.js +0 -1
- package/dist/client/assets/backpack-CSlObfpu.js +0 -1
- package/dist/client/assets/badge-CNThPUTd.js +0 -1
- package/dist/client/assets/badge-alert-DhsreX1x.js +0 -1
- package/dist/client/assets/badge-cent-K9vY3d8q.js +0 -1
- package/dist/client/assets/badge-check-CmXSY-Hv.js +0 -1
- package/dist/client/assets/badge-dollar-sign-BXF5KsVJ.js +0 -1
- package/dist/client/assets/badge-euro-iF4VqvwB.js +0 -1
- package/dist/client/assets/badge-indian-rupee-DG5uWjB7.js +0 -1
- package/dist/client/assets/badge-info-oTuwLbqf.js +0 -1
- package/dist/client/assets/badge-japanese-yen-CTdVa5x8.js +0 -1
- package/dist/client/assets/badge-minus-BKfLGMhg.js +0 -1
- package/dist/client/assets/badge-percent-B2w9knQG.js +0 -1
- package/dist/client/assets/badge-plus-CwNAbzU4.js +0 -1
- package/dist/client/assets/badge-pound-sterling-CSRRGrER.js +0 -1
- package/dist/client/assets/badge-question-mark-BW7QYii2.js +0 -1
- package/dist/client/assets/badge-russian-ruble-BC2LjeFo.js +0 -1
- package/dist/client/assets/badge-swiss-franc-DQRNZVw1.js +0 -1
- package/dist/client/assets/badge-turkish-lira-4xEmPN67.js +0 -1
- package/dist/client/assets/badge-x-Bgulx9VF.js +0 -1
- package/dist/client/assets/baggage-claim-C9SHq8fW.js +0 -1
- package/dist/client/assets/balloon-B9BZp-nf.js +0 -1
- package/dist/client/assets/ban-2bH0hu0-.js +0 -1
- package/dist/client/assets/banana-wn71JOj4.js +0 -1
- package/dist/client/assets/bandage-B6-vIfc5.js +0 -1
- package/dist/client/assets/banknote-DtiEq8Z9.js +0 -1
- package/dist/client/assets/banknote-arrow-down-7YgxDWTB.js +0 -1
- package/dist/client/assets/banknote-arrow-up-C7uJumV_.js +0 -1
- package/dist/client/assets/banknote-x-DT-YBEe-.js +0 -1
- package/dist/client/assets/barcode-DQ6gVIzD.js +0 -1
- package/dist/client/assets/barrel-BD1knUQU.js +0 -1
- package/dist/client/assets/baseline-DZCFfHUH.js +0 -1
- package/dist/client/assets/bath-DP5fSVFY.js +0 -1
- package/dist/client/assets/battery-3YOL7_CW.js +0 -1
- package/dist/client/assets/battery-charging-Bo1BmtT8.js +0 -1
- package/dist/client/assets/battery-full-CjVgBFTI.js +0 -1
- package/dist/client/assets/battery-low-Dm087Twg.js +0 -1
- package/dist/client/assets/battery-medium-VQmOwE6-.js +0 -1
- package/dist/client/assets/battery-plus-ClRWqPFZ.js +0 -1
- package/dist/client/assets/battery-warning-CiXdmT6Z.js +0 -1
- package/dist/client/assets/beaker-CIvIpOyF.js +0 -1
- package/dist/client/assets/bean-DYre6bQ4.js +0 -1
- package/dist/client/assets/bean-off-BJKbhjUe.js +0 -1
- package/dist/client/assets/bed-Cx_MP9it.js +0 -1
- package/dist/client/assets/bed-double-COWv50RZ.js +0 -1
- package/dist/client/assets/bed-single-D6iVuNid.js +0 -1
- package/dist/client/assets/beef-N7w8ls9K.js +0 -1
- package/dist/client/assets/beef-off-BhV2a7Cl.js +0 -1
- package/dist/client/assets/beer-D_-VSXJh.js +0 -1
- package/dist/client/assets/beer-off-CisdqTo-.js +0 -1
- package/dist/client/assets/bell-CFqQzD7v.js +0 -1
- package/dist/client/assets/bell-check-BxplTnP7.js +0 -1
- package/dist/client/assets/bell-electric-DrsqVDDU.js +0 -1
- package/dist/client/assets/bell-minus-B3QeyYdg.js +0 -1
- package/dist/client/assets/bell-off-2rdW8_TC.js +0 -1
- package/dist/client/assets/bell-plus-5sEwgWpR.js +0 -1
- package/dist/client/assets/bell-ring-75QLFnDA.js +0 -1
- package/dist/client/assets/between-horizontal-end-BrTDQ9WI.js +0 -1
- package/dist/client/assets/between-horizontal-start-Dejr8g80.js +0 -1
- package/dist/client/assets/between-vertical-end-Coz3x86w.js +0 -1
- package/dist/client/assets/between-vertical-start-C5hgQZWv.js +0 -1
- package/dist/client/assets/biceps-flexed-Cyc4p-Vp.js +0 -1
- package/dist/client/assets/bike-pDOBJjfV.js +0 -1
- package/dist/client/assets/binary-5if3nrPc.js +0 -1
- package/dist/client/assets/binoculars-DECMcYAl.js +0 -1
- package/dist/client/assets/biohazard-myCmuNoq.js +0 -1
- package/dist/client/assets/bird-BV7epRnE.js +0 -1
- package/dist/client/assets/birdhouse-DQ4aThJ0.js +0 -1
- package/dist/client/assets/bitcoin-BGDQvP62.js +0 -1
- package/dist/client/assets/blend-BnqrGmXY.js +0 -1
- package/dist/client/assets/blender-CFDnz6ZP.js +0 -1
- package/dist/client/assets/blinds-D1M8DFoY.js +0 -1
- package/dist/client/assets/blockDiagram-I7D4REHJ-BwCXSbW7.js +0 -129
- package/dist/client/assets/blockDiagram-I7D4REHJ-BwCXSbW7.js.br +0 -0
- package/dist/client/assets/blockDiagram-I7D4REHJ-BwCXSbW7.js.gz +0 -0
- package/dist/client/assets/blocks-BRSV2wlD.js +0 -1
- package/dist/client/assets/bluetooth-DPRI-ube.js +0 -1
- package/dist/client/assets/bluetooth-connected-VtPYoMxu.js +0 -1
- package/dist/client/assets/bluetooth-off-DNO8X9Il.js +0 -1
- package/dist/client/assets/bluetooth-searching-B3N2Tfsf.js +0 -1
- package/dist/client/assets/bold-CQoKOVM2.js +0 -1
- package/dist/client/assets/bolt-JlPE69qt.js +0 -1
- package/dist/client/assets/bomb-ciV5mXxX.js +0 -1
- package/dist/client/assets/bone-DMFz8-Mp.js +0 -1
- package/dist/client/assets/book-a-IxOX4Cm9.js +0 -1
- package/dist/client/assets/book-alert-CkTPAzSt.js +0 -1
- package/dist/client/assets/book-audio-CV65Tf7W.js +0 -1
- package/dist/client/assets/book-check-ajD14cSP.js +0 -1
- package/dist/client/assets/book-copy-BBUC_C-z.js +0 -1
- package/dist/client/assets/book-dashed-B43xPsG8.js +0 -1
- package/dist/client/assets/book-down-WOgp8Dox.js +0 -1
- package/dist/client/assets/book-headphones-Dupzza5p.js +0 -1
- package/dist/client/assets/book-heart-CY20E7yj.js +0 -1
- package/dist/client/assets/book-iUzdjyU_.js +0 -1
- package/dist/client/assets/book-image-BhIkLFQM.js +0 -1
- package/dist/client/assets/book-key-MN16fKEt.js +0 -1
- package/dist/client/assets/book-lock-BWdcFfPk.js +0 -1
- package/dist/client/assets/book-marked-Cd_PFR42.js +0 -1
- package/dist/client/assets/book-minus-De0pGDHb.js +0 -1
- package/dist/client/assets/book-open-BnwFn9ww.js +0 -1
- package/dist/client/assets/book-open-check-D1qAQOzi.js +0 -1
- package/dist/client/assets/book-open-text-BW4Tr8AL.js +0 -1
- package/dist/client/assets/book-plus-dYF--Dxd.js +0 -1
- package/dist/client/assets/book-search-8OCi7yzL.js +0 -1
- package/dist/client/assets/book-text-BcT6LN5l.js +0 -1
- package/dist/client/assets/book-type-DV38otCj.js +0 -1
- package/dist/client/assets/book-up-2-qN9Q_mX9.js +0 -1
- package/dist/client/assets/book-up-Cir_IO9k.js +0 -1
- package/dist/client/assets/book-user-D_CsdmYe.js +0 -1
- package/dist/client/assets/book-x-DEifm33L.js +0 -1
- package/dist/client/assets/bookmark-HgTOgOll.js +0 -1
- package/dist/client/assets/bookmark-check-YkAENy_q.js +0 -1
- package/dist/client/assets/bookmark-minus-CEUCbwlk.js +0 -1
- package/dist/client/assets/bookmark-off-OzGmsngE.js +0 -1
- package/dist/client/assets/bookmark-plus-BPCxEwlu.js +0 -1
- package/dist/client/assets/bookmark-x-C3K53k_a.js +0 -1
- package/dist/client/assets/boom-box-CJkXvIBP.js +0 -1
- package/dist/client/assets/bot-message-square-D018EDTj.js +0 -1
- package/dist/client/assets/bot-off-Cg2JedoX.js +0 -1
- package/dist/client/assets/bottle-wine-2Nlt3RRe.js +0 -1
- package/dist/client/assets/bow-arrow-wbqBVM0S.js +0 -1
- package/dist/client/assets/boxes-BfouWwhq.js +0 -1
- package/dist/client/assets/braces-CzyzCKy9.js +0 -1
- package/dist/client/assets/brackets-CTcwm65I.js +0 -1
- package/dist/client/assets/brain-Dce5ao-H.js +0 -1
- package/dist/client/assets/brain-circuit-BvpQn3GJ.js +0 -1
- package/dist/client/assets/brain-cog-CKdbmVNI.js +0 -1
- package/dist/client/assets/brain-cog-CKdbmVNI.js.br +0 -0
- package/dist/client/assets/brain-cog-CKdbmVNI.js.gz +0 -0
- package/dist/client/assets/brick-wall-BSglwvMe.js +0 -1
- package/dist/client/assets/brick-wall-fire-eYvxgqQa.js +0 -1
- package/dist/client/assets/brick-wall-shield-CkwLSInn.js +0 -1
- package/dist/client/assets/briefcase-business-B_cLC10v.js +0 -1
- package/dist/client/assets/briefcase-conveyor-belt-QRmr--Ko.js +0 -1
- package/dist/client/assets/briefcase-medical-Dz3G5rMQ.js +0 -1
- package/dist/client/assets/bring-to-front-C4Elabj2.js +0 -1
- package/dist/client/assets/broccoli-BMKvWS6L.js +0 -1
- package/dist/client/assets/brush-1oOVVV9f.js +0 -1
- package/dist/client/assets/brush-cleaning-CGY8Nv70.js +0 -1
- package/dist/client/assets/bubbles-DualWs-l.js +0 -1
- package/dist/client/assets/bug-BDPSvx3D.js +0 -1
- package/dist/client/assets/bug-off-BjHabV3o.js +0 -1
- package/dist/client/assets/bug-play-gHJ6upCR.js +0 -1
- package/dist/client/assets/building-2-DtrqXzcI.js +0 -1
- package/dist/client/assets/building-Dzd1_ATk.js +0 -1
- package/dist/client/assets/bus-DxqIP8uc.js +0 -1
- package/dist/client/assets/bus-front-CYIJrbZX.js +0 -1
- package/dist/client/assets/c4Diagram-7LVT6UL2-D-J9XDta.js +0 -38
- package/dist/client/assets/c4Diagram-7LVT6UL2-D-J9XDta.js.br +0 -0
- package/dist/client/assets/c4Diagram-7LVT6UL2-D-J9XDta.js.gz +0 -0
- package/dist/client/assets/cable-car-DTDLuGHB.js +0 -1
- package/dist/client/assets/cable-f1W52QQX.js +0 -1
- package/dist/client/assets/cake-1CK2OvA5.js +0 -1
- package/dist/client/assets/cake-slice--HlUvrSK.js +0 -1
- package/dist/client/assets/calculator-C5Fl3FUY.js +0 -1
- package/dist/client/assets/calendar-1-Bu5dZJ_1.js +0 -1
- package/dist/client/assets/calendar-D7js_AP9.js +0 -1
- package/dist/client/assets/calendar-arrow-down-DQmSRV3d.js +0 -1
- package/dist/client/assets/calendar-arrow-up-B2wlgJju.js +0 -1
- package/dist/client/assets/calendar-check-2-BQ7Q4ISh.js +0 -1
- package/dist/client/assets/calendar-check-xMkiMoHZ.js +0 -1
- package/dist/client/assets/calendar-clock-DajVjMER.js +0 -1
- package/dist/client/assets/calendar-cog-B2HIN2ZV.js +0 -1
- package/dist/client/assets/calendar-days-BQtl7rhx.js +0 -1
- package/dist/client/assets/calendar-fold-CDrEOgU-.js +0 -1
- package/dist/client/assets/calendar-heart-DSuTvV1u.js +0 -1
- package/dist/client/assets/calendar-minus-2-CnkPXE3u.js +0 -1
- package/dist/client/assets/calendar-minus-BQQcryEv.js +0 -1
- package/dist/client/assets/calendar-off-CMRbAZJg.js +0 -1
- package/dist/client/assets/calendar-plus-2-BLAxr7Hw.js +0 -1
- package/dist/client/assets/calendar-plus-av4cntDb.js +0 -1
- package/dist/client/assets/calendar-range-Cwo0XQNM.js +0 -1
- package/dist/client/assets/calendar-search-GOlRSbI3.js +0 -1
- package/dist/client/assets/calendar-sync-CY3-REJZ.js +0 -1
- package/dist/client/assets/calendar-x-2-DIgSg3My.js +0 -1
- package/dist/client/assets/calendar-x-DHEa-mhA.js +0 -1
- package/dist/client/assets/calendars-LPpySn0f.js +0 -1
- package/dist/client/assets/camera-ClSAif5y.js +0 -1
- package/dist/client/assets/camera-off-BSYRb1Ew.js +0 -1
- package/dist/client/assets/candy-C3qaOE4z.js +0 -1
- package/dist/client/assets/candy-cane-CGGBDUl3.js +0 -1
- package/dist/client/assets/candy-off-DOQMAmmr.js +0 -1
- package/dist/client/assets/cannabis-C7PrAdVZ.js +0 -1
- package/dist/client/assets/cannabis-off-CGX1Kbk2.js +0 -1
- package/dist/client/assets/captions-BS7MJHdo.js +0 -1
- package/dist/client/assets/captions-off-OScDoqUg.js +0 -1
- package/dist/client/assets/car-C2ANTvUr.js +0 -1
- package/dist/client/assets/car-front-DuXjvp0P.js +0 -1
- package/dist/client/assets/car-taxi-front-fpUeTBbO.js +0 -1
- package/dist/client/assets/caravan-CyZ5ZBLw.js +0 -1
- package/dist/client/assets/card-sim-DHSKeRH9.js +0 -1
- package/dist/client/assets/carrot-CmZCbAHl.js +0 -1
- package/dist/client/assets/case-lower-DzpyNc6K.js +0 -1
- package/dist/client/assets/case-sensitive-Ct0tKsq7.js +0 -1
- package/dist/client/assets/case-upper-BD_CxLPW.js +0 -1
- package/dist/client/assets/cassette-tape-CQhjJGUB.js +0 -1
- package/dist/client/assets/cast-DLTKE8OU.js +0 -1
- package/dist/client/assets/castle-Bs2B5eBA.js +0 -1
- package/dist/client/assets/cat-VRtoy5Hj.js +0 -1
- package/dist/client/assets/cctv-BG7wSige.js +0 -1
- package/dist/client/assets/cctv-off-Do7PQM8O.js +0 -1
- package/dist/client/assets/channel-BUVS5U9P.js +0 -1
- package/dist/client/assets/chart-area-BZkTdDRs.js +0 -1
- package/dist/client/assets/chart-bar-KFIWGGK6.js +0 -1
- package/dist/client/assets/chart-bar-big-DFl7Lo0x.js +0 -1
- package/dist/client/assets/chart-bar-decreasing-DAOUVaav.js +0 -1
- package/dist/client/assets/chart-bar-increasing-TVdPTcLl.js +0 -1
- package/dist/client/assets/chart-bar-stacked-znzELDdF.js +0 -1
- package/dist/client/assets/chart-candlestick-DSE8a4gS.js +0 -1
- package/dist/client/assets/chart-column-BajGC4GN.js +0 -1
- package/dist/client/assets/chart-column-big-DFGOesdZ.js +0 -1
- package/dist/client/assets/chart-column-decreasing-taE1i0Nt.js +0 -1
- package/dist/client/assets/chart-column-increasing-C9UIgWSa.js +0 -1
- package/dist/client/assets/chart-column-stacked-CtoPc9mj.js +0 -1
- package/dist/client/assets/chart-gantt-BalrV1IR.js +0 -1
- package/dist/client/assets/chart-line-CtMYSN4e.js +0 -1
- package/dist/client/assets/chart-network-DgVpD64K.js +0 -1
- package/dist/client/assets/chart-no-axes-column-QcT0Dk68.js +0 -1
- package/dist/client/assets/chart-no-axes-column-decreasing-D4O3LR6R.js +0 -1
- package/dist/client/assets/chart-no-axes-column-increasing-CN-xYrOC.js +0 -1
- package/dist/client/assets/chart-no-axes-combined-BLB-3hN7.js +0 -1
- package/dist/client/assets/chart-no-axes-gantt-Dki3qOCt.js +0 -1
- package/dist/client/assets/chart-pie-DsmXiGbO.js +0 -1
- package/dist/client/assets/chart-scatter-DXD2V7jz.js +0 -1
- package/dist/client/assets/chart-spline-sZ4VrZvb.js +0 -1
- package/dist/client/assets/check-check-CuzLJI7t.js +0 -1
- package/dist/client/assets/check-line-BlrEta37.js +0 -1
- package/dist/client/assets/chef-hat-BFNayv-7.js +0 -1
- package/dist/client/assets/cherry-HSBF80bU.js +0 -1
- package/dist/client/assets/chess-bishop-LgO77AGu.js +0 -1
- package/dist/client/assets/chess-king-HXjIyOOR.js +0 -1
- package/dist/client/assets/chess-knight-CYEuOC4g.js +0 -1
- package/dist/client/assets/chess-pawn-CfY17G2D.js +0 -1
- package/dist/client/assets/chess-queen-C1oX74kI.js +0 -1
- package/dist/client/assets/chess-rook-BrWO82CQ.js +0 -1
- package/dist/client/assets/chevron-first-CvGmXSR7.js +0 -1
- package/dist/client/assets/chevron-last-Di2jms4e.js +0 -1
- package/dist/client/assets/chevron-left-Cg1C8O4K.js +0 -1
- package/dist/client/assets/chevrons-down-JkROHLhX.js +0 -1
- package/dist/client/assets/chevrons-down-up-CVUI4ofm.js +0 -1
- package/dist/client/assets/chevrons-left-DjCrVyKj.js +0 -1
- package/dist/client/assets/chevrons-left-right-DTYY4_0q.js +0 -1
- package/dist/client/assets/chevrons-left-right-ellipsis-BqJJDNJW.js +0 -1
- package/dist/client/assets/chevrons-right-BUlDw982.js +0 -1
- package/dist/client/assets/chevrons-right-left-CiOgoevD.js +0 -1
- package/dist/client/assets/chevrons-up-DT8wlKLk.js +0 -1
- package/dist/client/assets/chevrons-up-down-CTqVP4x0.js +0 -1
- package/dist/client/assets/chunk-2Q5K7J3B-CQREd_6P.js +0 -1
- package/dist/client/assets/chunk-5VM5RSS4-qTIJ6HPt.js +0 -15
- package/dist/client/assets/chunk-F27PBJKO-CdaTkMk8.js +0 -1
- package/dist/client/assets/chunk-F27PBJKO-CdaTkMk8.js.br +0 -0
- package/dist/client/assets/chunk-F27PBJKO-CdaTkMk8.js.gz +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-BaJxWV6t.js +0 -231
- package/dist/client/assets/chunk-IMKFNOWR-BaJxWV6t.js.br +0 -0
- package/dist/client/assets/chunk-IMKFNOWR-BaJxWV6t.js.gz +0 -0
- package/dist/client/assets/chunk-JWPE2WC7-B6VZAVC6.js +0 -1
- package/dist/client/assets/chunk-POPQ4Y6H-BrkO14PZ.js +0 -1
- package/dist/client/assets/chunk-SVP7TREG-B2QW2Yps.js +0 -88
- package/dist/client/assets/chunk-SVP7TREG-B2QW2Yps.js.br +0 -0
- package/dist/client/assets/chunk-SVP7TREG-B2QW2Yps.js.gz +0 -0
- package/dist/client/assets/chunk-TICWLB2K-D2h3cCfN.js +0 -206
- package/dist/client/assets/chunk-TICWLB2K-D2h3cCfN.js.br +0 -0
- package/dist/client/assets/chunk-TICWLB2K-D2h3cCfN.js.gz +0 -0
- package/dist/client/assets/chunk-XXDRQBXY-CBw_LXYV.js +0 -1
- package/dist/client/assets/church-Cf-oWqcp.js +0 -1
- package/dist/client/assets/cigarette-MF8HITyz.js +0 -1
- package/dist/client/assets/cigarette-off-C8j63yTO.js +0 -1
- package/dist/client/assets/circle-9UYK5vx5.js +0 -1
- package/dist/client/assets/circle-arrow-down-Dm60lysk.js +0 -1
- package/dist/client/assets/circle-arrow-left-DyS6fX01.js +0 -1
- package/dist/client/assets/circle-arrow-out-down-left-DgRKcC4o.js +0 -1
- package/dist/client/assets/circle-arrow-out-down-right-ChnCEhFf.js +0 -1
- package/dist/client/assets/circle-arrow-out-up-left-hmhSEdnX.js +0 -1
- package/dist/client/assets/circle-arrow-out-up-right-CQsYqYte.js +0 -1
- package/dist/client/assets/circle-arrow-right-BCbPhkUN.js +0 -1
- package/dist/client/assets/circle-arrow-up-DiEDW0Pm.js +0 -1
- package/dist/client/assets/circle-check-big-2Sz8Udkh.js +0 -1
- package/dist/client/assets/circle-chevron-down-BipGeMzP.js +0 -1
- package/dist/client/assets/circle-chevron-left-C4EzvZXx.js +0 -1
- package/dist/client/assets/circle-chevron-right-C1lI3FXP.js +0 -1
- package/dist/client/assets/circle-chevron-up-D9zMr-oo.js +0 -1
- package/dist/client/assets/circle-dashed-CoRslLyE.js +0 -1
- package/dist/client/assets/circle-divide-CEhl0sxz.js +0 -1
- package/dist/client/assets/circle-dollar-sign-CD9qvLAv.js +0 -1
- package/dist/client/assets/circle-dot-BVLEj6KQ.js +0 -1
- package/dist/client/assets/circle-dot-dashed-Bfxm8LdE.js +0 -1
- package/dist/client/assets/circle-ellipsis-CllujpXG.js +0 -1
- package/dist/client/assets/circle-equal-ClXI3fwu.js +0 -1
- package/dist/client/assets/circle-fading-arrow-up-CXXW_Ze2.js +0 -1
- package/dist/client/assets/circle-fading-plus-CDwo5ONj.js +0 -1
- package/dist/client/assets/circle-gauge-22s6onjV.js +0 -1
- package/dist/client/assets/circle-minus-CyCTL3-I.js +0 -1
- package/dist/client/assets/circle-off-BBXomzlG.js +0 -1
- package/dist/client/assets/circle-parking-DuDQSHks.js +0 -1
- package/dist/client/assets/circle-parking-off-DZpZrAqM.js +0 -1
- package/dist/client/assets/circle-pause-BMorKBdg.js +0 -1
- package/dist/client/assets/circle-percent-DCZLf4-l.js +0 -1
- package/dist/client/assets/circle-pile-njEy4ya1.js +0 -1
- package/dist/client/assets/circle-play-BAbzxT7O.js +0 -1
- package/dist/client/assets/circle-plus-Clph8ggS.js +0 -1
- package/dist/client/assets/circle-pound-sterling-C8qkSI86.js +0 -1
- package/dist/client/assets/circle-power-DvVw3LLD.js +0 -1
- package/dist/client/assets/circle-question-mark-BY5PcJ_L.js +0 -1
- package/dist/client/assets/circle-slash-2-JOCQBG-2.js +0 -1
- package/dist/client/assets/circle-slash-B1b-f9Xd.js +0 -1
- package/dist/client/assets/circle-small-DpjCqQli.js +0 -1
- package/dist/client/assets/circle-star-DmtrsmD4.js +0 -1
- package/dist/client/assets/circle-stop-CauMbxh1.js +0 -1
- package/dist/client/assets/circle-user-DjNOpbCC.js +0 -1
- package/dist/client/assets/circle-user-round-B-xzr03M.js +0 -1
- package/dist/client/assets/circle-x-BIRYB1tm.js +0 -1
- package/dist/client/assets/circuit-board-Dc3HrRa4.js +0 -1
- package/dist/client/assets/citrus-p3_WM7u6.js +0 -1
- package/dist/client/assets/clapperboard-CDguPhg7.js +0 -1
- package/dist/client/assets/classDiagram-ZZMXUADV-Cv21gZEY.js +0 -1
- package/dist/client/assets/classDiagram-v2-VYDZK3BY-Cv21gZEY.js +0 -1
- package/dist/client/assets/clipboard-check-C16Swphg.js +0 -1
- package/dist/client/assets/clipboard-clock-C3wFqUKk.js +0 -1
- package/dist/client/assets/clipboard-copy-COi6dwUG.js +0 -1
- package/dist/client/assets/clipboard-list-DqCOc4Sg.js +0 -1
- package/dist/client/assets/clipboard-minus-B9XAM3Qa.js +0 -1
- package/dist/client/assets/clipboard-paste-cVvyZKQb.js +0 -1
- package/dist/client/assets/clipboard-pen-Opfxbi9H.js +0 -1
- package/dist/client/assets/clipboard-pen-line-DJ4oMIpg.js +0 -1
- package/dist/client/assets/clipboard-plus-vIvEjco5.js +0 -1
- package/dist/client/assets/clipboard-stZ1W8LA.js +0 -1
- package/dist/client/assets/clipboard-type-BvxiUYkS.js +0 -1
- package/dist/client/assets/clipboard-x-DgMIjds1.js +0 -1
- package/dist/client/assets/clock-1-CWq8AHFy.js +0 -1
- package/dist/client/assets/clock-10-B9lNkw3y.js +0 -1
- package/dist/client/assets/clock-11-B16GN_VG.js +0 -1
- package/dist/client/assets/clock-12-CJ4VGWCr.js +0 -1
- package/dist/client/assets/clock-2-CxEWVf23.js +0 -1
- package/dist/client/assets/clock-4-rberE6fK.js +0 -1
- package/dist/client/assets/clock-5-jPuEKzF-.js +0 -1
- package/dist/client/assets/clock-6-OLxyjnGY.js +0 -1
- package/dist/client/assets/clock-7-rOAuaq1C.js +0 -1
- package/dist/client/assets/clock-8-D3nooKw8.js +0 -1
- package/dist/client/assets/clock-9-D8jHGhAc.js +0 -1
- package/dist/client/assets/clock-DQ1-qjg_.js +0 -1
- package/dist/client/assets/clock-alert-wNKmDibM.js +0 -1
- package/dist/client/assets/clock-arrow-down-DnWss1x8.js +0 -1
- package/dist/client/assets/clock-arrow-up-ClYA6BLk.js +0 -1
- package/dist/client/assets/clock-check-BiuV_j1C.js +0 -1
- package/dist/client/assets/clock-fading-jVXllVrb.js +0 -1
- package/dist/client/assets/clock-plus-Bry0XOX7.js +0 -1
- package/dist/client/assets/closed-caption-BJfamE6z.js +0 -1
- package/dist/client/assets/cloud-DQQoJcst.js +0 -1
- package/dist/client/assets/cloud-alert-6J2UlsBn.js +0 -1
- package/dist/client/assets/cloud-backup-Bc2cLliP.js +0 -1
- package/dist/client/assets/cloud-check-DB2qdS_a.js +0 -1
- package/dist/client/assets/cloud-cog-BV4OYOGo.js +0 -1
- package/dist/client/assets/cloud-download-DZDrA8GP.js +0 -1
- package/dist/client/assets/cloud-drizzle-DqPbEbUt.js +0 -1
- package/dist/client/assets/cloud-fog-BaE0QBXf.js +0 -1
- package/dist/client/assets/cloud-hail-Ds5MkLPR.js +0 -1
- package/dist/client/assets/cloud-lightning-Bxw5rsaf.js +0 -1
- package/dist/client/assets/cloud-moon-DUf-cRlq.js +0 -1
- package/dist/client/assets/cloud-moon-rain-DlldUeTr.js +0 -1
- package/dist/client/assets/cloud-off-D12q5y9n.js +0 -1
- package/dist/client/assets/cloud-rain-B9c_xoNt.js +0 -1
- package/dist/client/assets/cloud-rain-wind-BjQA0VNP.js +0 -1
- package/dist/client/assets/cloud-snow-DkJfQlJZ.js +0 -1
- package/dist/client/assets/cloud-sun-Bsm5vDoa.js +0 -1
- package/dist/client/assets/cloud-sun-rain-e6HHkuVA.js +0 -1
- package/dist/client/assets/cloud-sync-uvcsQwn-.js +0 -1
- package/dist/client/assets/cloud-upload-DWpOEQnD.js +0 -1
- package/dist/client/assets/cloudy-DUoxwZ1j.js +0 -1
- package/dist/client/assets/clover-8Duegb5W.js +0 -1
- package/dist/client/assets/club-DwMeRlHi.js +0 -1
- package/dist/client/assets/code-CdskSBVx.js +0 -1
- package/dist/client/assets/coffee-BFLGuS2L.js +0 -1
- package/dist/client/assets/cog-C0GLLNvj.js +0 -1
- package/dist/client/assets/coins-D0yJE0Uk.js +0 -1
- package/dist/client/assets/columns-3-DfEWWU-C.js +0 -1
- package/dist/client/assets/columns-3-cog-DKpLc4w9.js +0 -1
- package/dist/client/assets/columns-4-DAhFYCwS.js +0 -1
- package/dist/client/assets/combine-Chv3hsFL.js +0 -1
- package/dist/client/assets/command-YLs5Q-hJ.js +0 -1
- package/dist/client/assets/compass-DYCgB0xw.js +0 -1
- package/dist/client/assets/component-WEbENHCy.js +0 -1
- package/dist/client/assets/computer-B3UajK6-.js +0 -1
- package/dist/client/assets/concierge-bell-DoZvsN_-.js +0 -1
- package/dist/client/assets/cone-C2iKmeJm.js +0 -1
- package/dist/client/assets/construction-BkoqPUEU.js +0 -1
- package/dist/client/assets/contact-cV7h02jQ.js +0 -1
- package/dist/client/assets/contact-round-BlKVs_RW.js +0 -1
- package/dist/client/assets/container-CsEa150P.js +0 -1
- package/dist/client/assets/contrast-BXryzzOd.js +0 -1
- package/dist/client/assets/cookie-lz9hDCGl.js +0 -1
- package/dist/client/assets/cooking-pot-mXi5pBAQ.js +0 -1
- package/dist/client/assets/copy-check-B9xBC_d9.js +0 -1
- package/dist/client/assets/copy-minus-QNdddK1x.js +0 -1
- package/dist/client/assets/copy-plus-3UAVYdm9.js +0 -1
- package/dist/client/assets/copy-slash-DkHR1xfC.js +0 -1
- package/dist/client/assets/copy-x-CKDUjR0l.js +0 -1
- package/dist/client/assets/copyleft-BdUjGMk5.js +0 -1
- package/dist/client/assets/copyright-Do1wE4bw.js +0 -1
- package/dist/client/assets/corner-down-left-CISz8eob.js +0 -1
- package/dist/client/assets/corner-left-down-Cb2XJcOb.js +0 -1
- package/dist/client/assets/corner-left-up-CymrHbso.js +0 -1
- package/dist/client/assets/corner-right-down-BrRx9xKZ.js +0 -1
- package/dist/client/assets/corner-right-up-3eDUQYYk.js +0 -1
- package/dist/client/assets/corner-up-right-BrecVfMY.js +0 -1
- package/dist/client/assets/cose-bilkent-JH36ORCC-BMDDOVdG.js +0 -1
- package/dist/client/assets/cose-bilkent-JH36ORCC-BMDDOVdG.js.br +0 -0
- package/dist/client/assets/cose-bilkent-JH36ORCC-BMDDOVdG.js.gz +0 -0
- package/dist/client/assets/cpu-CJsfiD-w.js +0 -1
- package/dist/client/assets/creative-commons-BTLDYBv3.js +0 -1
- package/dist/client/assets/credit-card-CkgyogGO.js +0 -1
- package/dist/client/assets/croissant-n0zNPPPu.js +0 -1
- package/dist/client/assets/crop-CX_fdc1G.js +0 -1
- package/dist/client/assets/cross-DYrZYEjn.js +0 -1
- package/dist/client/assets/crosshair-Bz2YXcLc.js +0 -1
- package/dist/client/assets/crown-MeJCBzwV.js +0 -1
- package/dist/client/assets/cuboid-mdtAbKL1.js +0 -1
- package/dist/client/assets/cup-soda-3sAOCho1.js +0 -1
- package/dist/client/assets/currency-1hVcVJCQ.js +0 -1
- package/dist/client/assets/cylinder-Bep7hIlI.js +0 -1
- package/dist/client/assets/cynefin-OW5HDTMX-lzFy0gAY.js +0 -166
- package/dist/client/assets/cynefin-OW5HDTMX-lzFy0gAY.js.br +0 -0
- package/dist/client/assets/cynefin-OW5HDTMX-lzFy0gAY.js.gz +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-DZUisZBm.js +0 -62
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-DZUisZBm.js.br +0 -0
- package/dist/client/assets/cynefinDiagram-5FMLGOSQ-DZUisZBm.js.gz +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-LgqTl11t.js +0 -4
- package/dist/client/assets/dagre-GXQ25YYZ-LgqTl11t.js.br +0 -0
- package/dist/client/assets/dagre-GXQ25YYZ-LgqTl11t.js.gz +0 -0
- package/dist/client/assets/dam-BJA1E8Nl.js +0 -1
- package/dist/client/assets/database-CFEplxKx.js +0 -1
- package/dist/client/assets/database-backup-B1DFN9UN.js +0 -1
- package/dist/client/assets/database-search-pzJgah1P.js +0 -1
- package/dist/client/assets/database-zap-CTtVGhPc.js +0 -1
- package/dist/client/assets/decimals-arrow-left-C3gRwyNX.js +0 -1
- package/dist/client/assets/decimals-arrow-right-F0tpCEy6.js +0 -1
- package/dist/client/assets/delete-D_bel-Bm.js +0 -1
- package/dist/client/assets/dessert-B0fWxRiZ.js +0 -1
- package/dist/client/assets/diagram-S7CK7UJ4-DYQCj6ah.js +0 -30
- package/dist/client/assets/diagram-S7CK7UJ4-DYQCj6ah.js.br +0 -0
- package/dist/client/assets/diagram-S7CK7UJ4-DYQCj6ah.js.gz +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-Clq6olZ7.js +0 -41
- package/dist/client/assets/diagram-UQ7AKVKN-Clq6olZ7.js.br +0 -0
- package/dist/client/assets/diagram-UQ7AKVKN-Clq6olZ7.js.gz +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-Bre_gL1f.js +0 -3
- package/dist/client/assets/diagram-VSXAHHWV-Bre_gL1f.js.br +0 -0
- package/dist/client/assets/diagram-VSXAHHWV-Bre_gL1f.js.gz +0 -0
- package/dist/client/assets/diagram-VX7I27RA-CtTiItYT.js +0 -24
- package/dist/client/assets/diagram-VX7I27RA-CtTiItYT.js.br +0 -0
- package/dist/client/assets/diagram-VX7I27RA-CtTiItYT.js.gz +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-C9DoJwcn.js +0 -24
- package/dist/client/assets/diagram-Z3DM3KII-C9DoJwcn.js.br +0 -0
- package/dist/client/assets/diagram-Z3DM3KII-C9DoJwcn.js.gz +0 -0
- package/dist/client/assets/diameter-DzdyACJK.js +0 -1
- package/dist/client/assets/diamond-CaK3n8tM.js +0 -1
- package/dist/client/assets/diamond-minus-BWD4tndP.js +0 -1
- package/dist/client/assets/diamond-percent-Dm2EuJ8R.js +0 -1
- package/dist/client/assets/diamond-plus-ed_3IsTc.js +0 -1
- package/dist/client/assets/dice-1-CCkVB9uB.js +0 -1
- package/dist/client/assets/dice-2-BSNd4QO4.js +0 -1
- package/dist/client/assets/dice-3-DlwfA-Sn.js +0 -1
- package/dist/client/assets/dice-4-vS_oYAd8.js +0 -1
- package/dist/client/assets/dice-5-D6JHlV3Z.js +0 -1
- package/dist/client/assets/dice-6-BjIsJyko.js +0 -1
- package/dist/client/assets/dices-CabSdF-J.js +0 -1
- package/dist/client/assets/diff-Ds33W-TI.js +0 -1
- package/dist/client/assets/disc-2-CJIo_TGy.js +0 -1
- package/dist/client/assets/disc-3-DqyITJE0.js +0 -1
- package/dist/client/assets/disc-album-DBB_ocuQ.js +0 -1
- package/dist/client/assets/disc-jmSvTBCw.js +0 -1
- package/dist/client/assets/divide-CWhq2g4t.js +0 -1
- package/dist/client/assets/dna-CPv8A0z9.js +0 -1
- package/dist/client/assets/dna-off-Czip43CU.js +0 -1
- package/dist/client/assets/dock-OBKLZT2m.js +0 -1
- package/dist/client/assets/dog-CJ7FQkRG.js +0 -1
- package/dist/client/assets/dollar-sign-DRBrq-GW.js +0 -1
- package/dist/client/assets/donut-CdvQ9N16.js +0 -1
- package/dist/client/assets/door-closed-locked-DwGYjdT3.js +0 -1
- package/dist/client/assets/door-closed-tORSXwq-.js +0 -1
- package/dist/client/assets/door-open-DkWaK6hR.js +0 -1
- package/dist/client/assets/dot-C6c3R7mm.js +0 -1
- package/dist/client/assets/drafting-compass-B-BtT0sp.js +0 -1
- package/dist/client/assets/drama-BM1sh3__.js +0 -1
- package/dist/client/assets/drill-ekN64CK2.js +0 -1
- package/dist/client/assets/drone-DoAdlzDo.js +0 -1
- package/dist/client/assets/droplet-Cfmhv8-1.js +0 -1
- package/dist/client/assets/droplet-off-EYtCZQPv.js +0 -1
- package/dist/client/assets/droplets-CoqAbu1P.js +0 -1
- package/dist/client/assets/drum-PRuoDRvv.js +0 -1
- package/dist/client/assets/drumstick-UsaR7Ffa.js +0 -1
- package/dist/client/assets/dumbbell-LValYnzt.js +0 -1
- package/dist/client/assets/ear-DlbcdTYU.js +0 -1
- package/dist/client/assets/ear-off-BWjFtyN5.js +0 -1
- package/dist/client/assets/earth-DRjazTSR.js +0 -1
- package/dist/client/assets/earth-lock-B-4zzWJR.js +0 -1
- package/dist/client/assets/ebnfDiagram-PWID7BFC-DyxEEjwd.js +0 -1
- package/dist/client/assets/ebnfDiagram-PWID7BFC-DyxEEjwd.js.br +0 -0
- package/dist/client/assets/ebnfDiagram-PWID7BFC-DyxEEjwd.js.gz +0 -0
- package/dist/client/assets/eclipse-LA3GjROK.js +0 -1
- package/dist/client/assets/egg-IecpFVCB.js +0 -1
- package/dist/client/assets/egg-fried-BePh1MG_.js +0 -1
- package/dist/client/assets/egg-off--ct9qnr9.js +0 -1
- package/dist/client/assets/ellipse-DeaI8CpE.js +0 -1
- package/dist/client/assets/ellipsis-vertical-CAmqe-WW.js +0 -1
- package/dist/client/assets/equal-CdkXOjL6.js +0 -1
- package/dist/client/assets/equal-approximately-BmFU0YGB.js +0 -1
- package/dist/client/assets/equal-not-C7g8iHED.js +0 -1
- package/dist/client/assets/erDiagram-RLTQ6QDP-BWI-MWAK.js +0 -99
- package/dist/client/assets/erDiagram-RLTQ6QDP-BWI-MWAK.js.br +0 -0
- package/dist/client/assets/erDiagram-RLTQ6QDP-BWI-MWAK.js.gz +0 -0
- package/dist/client/assets/eraser-D5662r3h.js +0 -1
- package/dist/client/assets/ethernet-port-C2wnecoP.js +0 -1
- package/dist/client/assets/euro-CxkcmITa.js +0 -1
- package/dist/client/assets/ev-charger-CZ51uup3.js +0 -1
- package/dist/client/assets/expand-BK4gPFNG.js +0 -1
- package/dist/client/assets/external-link-H9_oJhBN.js +0 -1
- package/dist/client/assets/eye-CC89kv3u.js +0 -1
- package/dist/client/assets/eye-closed-CeNcH5PS.js +0 -1
- package/dist/client/assets/eye-off-B95TdVpe.js +0 -1
- package/dist/client/assets/factory-EjTYr5nH.js +0 -1
- package/dist/client/assets/fan-CNXzvNMF.js +0 -1
- package/dist/client/assets/fast-forward-BC3bMLr9.js +0 -1
- package/dist/client/assets/feather-Cl6KdYLb.js +0 -1
- package/dist/client/assets/fence-Bl-Q8ko6.js +0 -1
- package/dist/client/assets/ferris-wheel-8I1MYH8M.js +0 -1
- package/dist/client/assets/file-archive-Ds_Xybcp.js +0 -1
- package/dist/client/assets/file-axis-3d-BV-ozCh9.js +0 -1
- package/dist/client/assets/file-badge-Bat6NW0n.js +0 -1
- package/dist/client/assets/file-box-C_z7EXBk.js +0 -1
- package/dist/client/assets/file-braces-1jtCEm9P.js +0 -1
- package/dist/client/assets/file-braces-corner-BgQQK1eT.js +0 -1
- package/dist/client/assets/file-chart-column-BnUFYrtM.js +0 -1
- package/dist/client/assets/file-chart-column-increasing-Ct9wqo4L.js +0 -1
- package/dist/client/assets/file-chart-line-BvtYzP6V.js +0 -1
- package/dist/client/assets/file-chart-pie-CT_4uhHZ.js +0 -1
- package/dist/client/assets/file-check-D8XpQJd2.js +0 -1
- package/dist/client/assets/file-check-corner-BY3s5enV.js +0 -1
- package/dist/client/assets/file-clock-a1bO0e_B.js +0 -1
- package/dist/client/assets/file-code-corner-D7aIGPO1.js +0 -1
- package/dist/client/assets/file-cog-CUPzIuRx.js +0 -1
- package/dist/client/assets/file-diff-DF0GD1gf.js +0 -1
- package/dist/client/assets/file-digit-CoXPKYwz.js +0 -1
- package/dist/client/assets/file-down-u-vtnSNN.js +0 -1
- package/dist/client/assets/file-exclamation-point-DBsT4Szx.js +0 -1
- package/dist/client/assets/file-headphone-BNEpa8jO.js +0 -1
- package/dist/client/assets/file-heart-BuBoVlRa.js +0 -1
- package/dist/client/assets/file-image-DATVHX24.js +0 -1
- package/dist/client/assets/file-input-DVBJHztn.js +0 -1
- package/dist/client/assets/file-key-BJAQeist.js +0 -1
- package/dist/client/assets/file-lock-DdOLrxKc.js +0 -1
- package/dist/client/assets/file-minus-BecAADK0.js +0 -1
- package/dist/client/assets/file-minus-corner-M0P_8kTz.js +0 -1
- package/dist/client/assets/file-music-DA8xB8Ia.js +0 -1
- package/dist/client/assets/file-output-CaeAo5uE.js +0 -1
- package/dist/client/assets/file-pen-BJmxNhX5.js +0 -1
- package/dist/client/assets/file-pen-line-xDME3rbD.js +0 -1
- package/dist/client/assets/file-play-ChVWYUmN.js +0 -1
- package/dist/client/assets/file-plus-Bo-ayUAv.js +0 -1
- package/dist/client/assets/file-plus-corner-CGpA_gTU.js +0 -1
- package/dist/client/assets/file-question-mark-DbXhUWrW.js +0 -1
- package/dist/client/assets/file-scan-CGpdLMH0.js +0 -1
- package/dist/client/assets/file-search-corner-qPPiie9k.js +0 -1
- package/dist/client/assets/file-search-lBHq_K4z.js +0 -1
- package/dist/client/assets/file-signal-BVqRkXAu.js +0 -1
- package/dist/client/assets/file-sliders-Cs3j5rf8.js +0 -1
- package/dist/client/assets/file-spreadsheet-C10tppsG.js +0 -1
- package/dist/client/assets/file-stack-BslrfFU2.js +0 -1
- package/dist/client/assets/file-symlink-Bm5dHAbS.js +0 -1
- package/dist/client/assets/file-terminal-Cx19460U.js +0 -1
- package/dist/client/assets/file-type-BQWoRU_4.js +0 -1
- package/dist/client/assets/file-type-corner-CYRDGblh.js +0 -1
- package/dist/client/assets/file-up-DZw7z8vG.js +0 -1
- package/dist/client/assets/file-user-BWdOlJSW.js +0 -1
- package/dist/client/assets/file-video-camera-BMv2j8Pw.js +0 -1
- package/dist/client/assets/file-volume-DW5iyrA0.js +0 -1
- package/dist/client/assets/file-x-BdSNW5c_.js +0 -1
- package/dist/client/assets/file-x-corner-Cgqx_yFS.js +0 -1
- package/dist/client/assets/files-tcC3vUvZ.js +0 -1
- package/dist/client/assets/film-4Mw8rnx0.js +0 -1
- package/dist/client/assets/fingerprint-pattern-D8O-eQ-N.js +0 -1
- package/dist/client/assets/fire-extinguisher-DPkCItEx.js +0 -1
- package/dist/client/assets/fish-DDi7gRVs.js +0 -1
- package/dist/client/assets/fish-off-D96fPgQb.js +0 -1
- package/dist/client/assets/fish-symbol-DXpfT5Wt.js +0 -1
- package/dist/client/assets/fishing-hook-C-Vgdoh9.js +0 -1
- package/dist/client/assets/fishing-rod-SR5y2hmL.js +0 -1
- package/dist/client/assets/flag-DcHv0Qi_.js +0 -1
- package/dist/client/assets/flag-off-Bg0M9ya9.js +0 -1
- package/dist/client/assets/flag-triangle-left-DButOWBe.js +0 -1
- package/dist/client/assets/flag-triangle-right-BjV_vr_H.js +0 -1
- package/dist/client/assets/flame-CH_32gAB.js +0 -1
- package/dist/client/assets/flame-kindling-B3i2DK_W.js +0 -1
- package/dist/client/assets/flashlight-DMvoAxCp.js +0 -1
- package/dist/client/assets/flashlight-off-B9ij4nt3.js +0 -1
- package/dist/client/assets/flask-conical-BBKCrti1.js +0 -1
- package/dist/client/assets/flask-conical-off-9AFBlRlp.js +0 -1
- package/dist/client/assets/flask-round-CCiGq9Ea.js +0 -1
- package/dist/client/assets/flip-horizontal-2-BQoCWHd8.js +0 -1
- package/dist/client/assets/flip-vertical-2-CNqYkxzx.js +0 -1
- package/dist/client/assets/flowDiagram-HODETNUW-BjaBfG-7.js +0 -168
- package/dist/client/assets/flowDiagram-HODETNUW-BjaBfG-7.js.br +0 -0
- package/dist/client/assets/flowDiagram-HODETNUW-BjaBfG-7.js.gz +0 -0
- package/dist/client/assets/flower-2-BTycbiZl.js +0 -1
- package/dist/client/assets/flower-CQibHW7g.js +0 -1
- package/dist/client/assets/focus-WUUCWMfm.js +0 -1
- package/dist/client/assets/fold-horizontal-Cl0lsvsV.js +0 -1
- package/dist/client/assets/fold-vertical-BGj3kip1.js +0 -1
- package/dist/client/assets/folder-archive-DKszMIAw.js +0 -1
- package/dist/client/assets/folder-bookmark-v1Ke2Wn1.js +0 -1
- package/dist/client/assets/folder-check-D0fJtg_p.js +0 -1
- package/dist/client/assets/folder-clock-BSApdTtc.js +0 -1
- package/dist/client/assets/folder-closed-Bts5yykO.js +0 -1
- package/dist/client/assets/folder-code-DQwwvS6Q.js +0 -1
- package/dist/client/assets/folder-cog-COlkUcnq.js +0 -1
- package/dist/client/assets/folder-dot-B3PBcfcw.js +0 -1
- package/dist/client/assets/folder-down-BtXu_RhS.js +0 -1
- package/dist/client/assets/folder-git-2-BtRDuJhs.js +0 -1
- package/dist/client/assets/folder-git-BccZE8P9.js +0 -1
- package/dist/client/assets/folder-heart-o0FW4nx2.js +0 -1
- package/dist/client/assets/folder-input-Dsd-fEae.js +0 -1
- package/dist/client/assets/folder-kanban-BMcaPH7W.js +0 -1
- package/dist/client/assets/folder-key-Bprt0lcB.js +0 -1
- package/dist/client/assets/folder-lock-BhQTEgw0.js +0 -1
- package/dist/client/assets/folder-minus-BNUnyI9B.js +0 -1
- package/dist/client/assets/folder-open-dot-fAWekO1-.js +0 -1
- package/dist/client/assets/folder-output-CJq4wTuu.js +0 -1
- package/dist/client/assets/folder-pen-B--Wcwdc.js +0 -1
- package/dist/client/assets/folder-plus-C06oS7KC.js +0 -1
- package/dist/client/assets/folder-root-Cdn7_LvP.js +0 -1
- package/dist/client/assets/folder-search-2-CJdqr-GZ.js +0 -1
- package/dist/client/assets/folder-symlink-G3BDIhqB.js +0 -1
- package/dist/client/assets/folder-sync-DBCVj9f1.js +0 -1
- package/dist/client/assets/folder-tree-qwcCuddu.js +0 -1
- package/dist/client/assets/folder-up-BhA4RAOc.js +0 -1
- package/dist/client/assets/folder-x-CxAA2D9D.js +0 -1
- package/dist/client/assets/folders-C72DRGYD.js +0 -1
- package/dist/client/assets/footprints-Do76BgmC.js +0 -1
- package/dist/client/assets/forklift-BDxJp2tt.js +0 -1
- package/dist/client/assets/form-BkSGv-7U.js +0 -1
- package/dist/client/assets/forward-w_tzH-CN.js +0 -1
- package/dist/client/assets/frame-DxKRnasQ.js +0 -1
- package/dist/client/assets/frown-tiSvy4vI.js +0 -1
- package/dist/client/assets/fuel-c0GpV4-I.js +0 -1
- package/dist/client/assets/fullscreen-BCeAYE0A.js +0 -1
- package/dist/client/assets/funnel-CCoS8PUN.js +0 -1
- package/dist/client/assets/funnel-plus-DXk9bKjB.js +0 -1
- package/dist/client/assets/funnel-x-B3PfbmtY.js +0 -1
- package/dist/client/assets/gallery-horizontal-C9atJU7x.js +0 -1
- package/dist/client/assets/gallery-horizontal-end-BeoX98jP.js +0 -1
- package/dist/client/assets/gallery-thumbnails-BRrN6PP5.js +0 -1
- package/dist/client/assets/gallery-vertical-DYdeJQHy.js +0 -1
- package/dist/client/assets/gallery-vertical-end-BpQTav8P.js +0 -1
- package/dist/client/assets/gamepad-2-BkliLKPC.js +0 -1
- package/dist/client/assets/gamepad-B9qtBxF_.js +0 -1
- package/dist/client/assets/gamepad-directional-BQjMhwqY.js +0 -1
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-DavEN02d.js +0 -292
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-DavEN02d.js.br +0 -0
- package/dist/client/assets/ganttDiagram-EL5Y4UJY-DavEN02d.js.gz +0 -0
- package/dist/client/assets/gauge-BhQ_40gv.js +0 -1
- package/dist/client/assets/gavel-Cv_5UeLl.js +0 -1
- package/dist/client/assets/gem-B7cGZcHj.js +0 -1
- package/dist/client/assets/georgian-lari-dzPvoGub.js +0 -1
- package/dist/client/assets/ghost-Cj2lzRx7.js +0 -1
- package/dist/client/assets/gift-weFM9nvn.js +0 -1
- package/dist/client/assets/git-branch-DQTHd8Jw.js +0 -1
- package/dist/client/assets/git-branch-minus-BN7OBTLz.js +0 -1
- package/dist/client/assets/git-branch-plus-CVjpGwiE.js +0 -1
- package/dist/client/assets/git-commit-horizontal-DXffpS2P.js +0 -1
- package/dist/client/assets/git-commit-vertical-GyfqOZgw.js +0 -1
- package/dist/client/assets/git-compare-DIMK0bq1.js +0 -1
- package/dist/client/assets/git-compare-arrows-C1FeEXKh.js +0 -1
- package/dist/client/assets/git-fork-DCbJY5f4.js +0 -1
- package/dist/client/assets/git-graph-D5Og9nQZ.js +0 -1
- package/dist/client/assets/git-merge-BgpcKUz6.js +0 -1
- package/dist/client/assets/git-merge-conflict-DX94L6kx.js +0 -1
- package/dist/client/assets/git-pull-request-CC3Z0OMu.js +0 -1
- package/dist/client/assets/git-pull-request-arrow-DnwgIcnH.js +0 -1
- package/dist/client/assets/git-pull-request-closed-DBd2BQD7.js +0 -1
- package/dist/client/assets/git-pull-request-create-D-wO9BK2.js +0 -1
- package/dist/client/assets/git-pull-request-create-arrow-B4RETyuC.js +0 -1
- package/dist/client/assets/git-pull-request-draft-DC5YLEg4.js +0 -1
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-zHnCXyS_.js +0 -106
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-zHnCXyS_.js.br +0 -0
- package/dist/client/assets/gitGraphDiagram-WWUBYQGX-zHnCXyS_.js.gz +0 -0
- package/dist/client/assets/glass-water-0L_bhEz9.js +0 -1
- package/dist/client/assets/glasses-nUYFY8Pz.js +0 -1
- package/dist/client/assets/globe-DZMdHZMX.js +0 -1
- package/dist/client/assets/globe-check-D6MRw6LI.js +0 -1
- package/dist/client/assets/globe-lock-ByRhQVqZ.js +0 -1
- package/dist/client/assets/globe-off-DE39nVsB.js +0 -1
- package/dist/client/assets/globe-x-CiW7Ksx2.js +0 -1
- package/dist/client/assets/goal-D_EbP7nM.js +0 -1
- package/dist/client/assets/gpu-CbRV0N04.js +0 -1
- package/dist/client/assets/graduation-cap-BtBy0vYc.js +0 -1
- package/dist/client/assets/grape-D8L-3SxD.js +0 -1
- package/dist/client/assets/grid-2x2-CNFzUSHm.js +0 -1
- package/dist/client/assets/grid-2x2-check-2VluV1xz.js +0 -1
- package/dist/client/assets/grid-2x2-plus-DRobO1-U.js +0 -1
- package/dist/client/assets/grid-2x2-x-bVsUiJBW.js +0 -1
- package/dist/client/assets/grid-3x2-CdFmhO3a.js +0 -1
- package/dist/client/assets/grid-3x3-D77v-cVP.js +0 -1
- package/dist/client/assets/grip-horizontal-RcX00j7H.js +0 -1
- package/dist/client/assets/grip-jN-IzBRP.js +0 -1
- package/dist/client/assets/grip-vertical--nr9_UbN.js +0 -1
- package/dist/client/assets/group-taQi5IaV.js +0 -1
- package/dist/client/assets/guitar-BKlAYqCf.js +0 -1
- package/dist/client/assets/ham-CgqhmY6-.js +0 -1
- package/dist/client/assets/hamburger-CerYK8M3.js +0 -1
- package/dist/client/assets/hammer-BDjEQux6.js +0 -1
- package/dist/client/assets/hand-CjexLIuc.js +0 -1
- package/dist/client/assets/hand-coins-dV1AsooT.js +0 -1
- package/dist/client/assets/hand-fist-C3cuwZub.js +0 -1
- package/dist/client/assets/hand-grab-Bf_l4gK2.js +0 -1
- package/dist/client/assets/hand-heart-BcR1Foio.js +0 -1
- package/dist/client/assets/hand-helping-BcZmceKc.js +0 -1
- package/dist/client/assets/hand-metal-WbOHf0Ck.js +0 -1
- package/dist/client/assets/hand-platter-CvbXQA6g.js +0 -1
- package/dist/client/assets/handbag-a5X23re7.js +0 -1
- package/dist/client/assets/handshake-ity4pfiy.js +0 -1
- package/dist/client/assets/hard-drive-DrrBFY4Q.js +0 -1
- package/dist/client/assets/hard-drive-download-CbqfybEO.js +0 -1
- package/dist/client/assets/hard-drive-upload-CqnJEQSP.js +0 -1
- package/dist/client/assets/hard-hat-BIqZcV4N.js +0 -1
- package/dist/client/assets/hash-CqvUwtmQ.js +0 -1
- package/dist/client/assets/hat-glasses-BTV9jMdI.js +0 -1
- package/dist/client/assets/haze-ePuIA_IN.js +0 -1
- package/dist/client/assets/hd-CJAorJfb.js +0 -1
- package/dist/client/assets/hdmi-port-BsZw_Z5u.js +0 -1
- package/dist/client/assets/heading-1-BDmyPXEb.js +0 -1
- package/dist/client/assets/heading-2-BWSTCerZ.js +0 -1
- package/dist/client/assets/heading-3-BvXaBjhJ.js +0 -1
- package/dist/client/assets/heading-4-BALiw7Bk.js +0 -1
- package/dist/client/assets/heading-5-3KH7H6ev.js +0 -1
- package/dist/client/assets/heading-6-vLChdk0T.js +0 -1
- package/dist/client/assets/heading-B2n_Z52_.js +0 -1
- package/dist/client/assets/headphone-off-SJFcOQ6r.js +0 -1
- package/dist/client/assets/headphones-IFSJxRT9.js +0 -1
- package/dist/client/assets/headset-U-MUq-Az.js +0 -1
- package/dist/client/assets/heart-CcOevQMl.js +0 -1
- package/dist/client/assets/heart-crack-DCukMWzS.js +0 -1
- package/dist/client/assets/heart-handshake-Dl705d7T.js +0 -1
- package/dist/client/assets/heart-minus-CuoahDi5.js +0 -1
- package/dist/client/assets/heart-off-DJkiafrf.js +0 -1
- package/dist/client/assets/heart-plus-HE53VRnn.js +0 -1
- package/dist/client/assets/heart-pulse-DlAIBme_.js +0 -1
- package/dist/client/assets/heart-x-DbyfAtbr.js +0 -1
- package/dist/client/assets/heater-Cj5akANG.js +0 -1
- package/dist/client/assets/helicopter-Cz95-ab9.js +0 -1
- package/dist/client/assets/hexagon-D282FRkJ.js +0 -1
- package/dist/client/assets/highlighter-BopRLNqs.js +0 -1
- package/dist/client/assets/history-C1Vismkc.js +0 -1
- package/dist/client/assets/hop-CCqkRVDh.js +0 -1
- package/dist/client/assets/hop-CCqkRVDh.js.br +0 -0
- package/dist/client/assets/hop-CCqkRVDh.js.gz +0 -0
- package/dist/client/assets/hop-off-3d42uJ3X.js +0 -1
- package/dist/client/assets/hop-off-3d42uJ3X.js.br +0 -0
- package/dist/client/assets/hop-off-3d42uJ3X.js.gz +0 -0
- package/dist/client/assets/hospital-DYJSyfwa.js +0 -1
- package/dist/client/assets/hotel-CX9hS9Hn.js +0 -1
- package/dist/client/assets/hourglass-DcdQEbqh.js +0 -1
- package/dist/client/assets/house-B5Lkl0hs.js +0 -1
- package/dist/client/assets/house-heart-_qtKdwjk.js +0 -1
- package/dist/client/assets/house-plug-CLDfGu37.js +0 -1
- package/dist/client/assets/house-plus-Drli6lUF.js +0 -1
- package/dist/client/assets/house-wifi-D9ojbww9.js +0 -1
- package/dist/client/assets/ice-cream-bowl-BpgAjEtA.js +0 -1
- package/dist/client/assets/ice-cream-cone-C3N0XjUH.js +0 -1
- package/dist/client/assets/id-card-CqFXQX_S.js +0 -1
- package/dist/client/assets/id-card-lanyard-0XNFLbkR.js +0 -1
- package/dist/client/assets/image-down-wGbEgaKi.js +0 -1
- package/dist/client/assets/image-minus-SJFz-_hi.js +0 -1
- package/dist/client/assets/image-off-umVpVaRq.js +0 -1
- package/dist/client/assets/image-play-BuYVGK4O.js +0 -1
- package/dist/client/assets/image-plus-BFRorP0M.js +0 -1
- package/dist/client/assets/image-up-_SBc60EA.js +0 -1
- package/dist/client/assets/image-upscale-CD7Uoq-c.js +0 -1
- package/dist/client/assets/images-D_F9cdC6.js +0 -1
- package/dist/client/assets/import-C851sa1b.js +0 -1
- package/dist/client/assets/inbox-DSSD1NLf.js +0 -1
- package/dist/client/assets/index-Bxti5y6a.css +0 -1
- package/dist/client/assets/index-Bxti5y6a.css.br +0 -0
- package/dist/client/assets/index-Bxti5y6a.css.gz +0 -0
- package/dist/client/assets/index-DFA2vCpo.js +0 -259
- package/dist/client/assets/index-DFA2vCpo.js.br +0 -0
- package/dist/client/assets/index-DFA2vCpo.js.gz +0 -0
- package/dist/client/assets/indian-rupee-CZzy_usp.js +0 -1
- package/dist/client/assets/infinity-BUBCCUPe.js +0 -1
- package/dist/client/assets/info-Dhv-bFU0.js +0 -1
- package/dist/client/assets/infoDiagram-27XIBGKW-abSbtAmh.js +0 -2
- package/dist/client/assets/inspection-panel-B8Vbm3dr.js +0 -1
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-B8u60-t6.js +0 -70
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-B8u60-t6.js.br +0 -0
- package/dist/client/assets/ishikawaDiagram-5VMMS53U-B8u60-t6.js.gz +0 -0
- package/dist/client/assets/italic-BkUXKHBF.js +0 -1
- package/dist/client/assets/iteration-ccw-D9duF376.js +0 -1
- package/dist/client/assets/iteration-cw-RjC8ljU8.js +0 -1
- package/dist/client/assets/japanese-yen-CJbkShuk.js +0 -1
- package/dist/client/assets/journeyDiagram-3NMN7TZE-CkZlYTgR.js +0 -139
- package/dist/client/assets/journeyDiagram-3NMN7TZE-CkZlYTgR.js.br +0 -0
- package/dist/client/assets/journeyDiagram-3NMN7TZE-CkZlYTgR.js.gz +0 -0
- package/dist/client/assets/joystick-D7WheuA1.js +0 -1
- package/dist/client/assets/kanban-UmgzG93w.js +0 -1
- package/dist/client/assets/kanban-definition-UXKFOSKX-0FcMJv2z.js +0 -89
- package/dist/client/assets/kanban-definition-UXKFOSKX-0FcMJv2z.js.br +0 -0
- package/dist/client/assets/kanban-definition-UXKFOSKX-0FcMJv2z.js.gz +0 -0
- package/dist/client/assets/kayak-CMrlXYIL.js +0 -1
- package/dist/client/assets/key-nLpUFNnr.js +0 -1
- package/dist/client/assets/key-round-CplDCQC5.js +0 -1
- package/dist/client/assets/key-square-DwenzMta.js +0 -1
- package/dist/client/assets/keyboard-Kab98cxu.js +0 -1
- package/dist/client/assets/keyboard-music-Cq4ZgOkN.js +0 -1
- package/dist/client/assets/keyboard-off-DHOtfXzu.js +0 -1
- package/dist/client/assets/lamp-B_mBJ-gH.js +0 -1
- package/dist/client/assets/lamp-ceiling-CZABAy5i.js +0 -1
- package/dist/client/assets/lamp-desk-DJJUm2Uw.js +0 -1
- package/dist/client/assets/lamp-floor-DCunoucB.js +0 -1
- package/dist/client/assets/lamp-wall-down-D7AjXa3Z.js +0 -1
- package/dist/client/assets/lamp-wall-up-DK6jSSmo.js +0 -1
- package/dist/client/assets/land-plot-C0iut6vC.js +0 -1
- package/dist/client/assets/landmark-B_T3PJH3.js +0 -1
- package/dist/client/assets/languages-hNhcM76T.js +0 -1
- package/dist/client/assets/laptop-BkWyvKLh.js +0 -1
- package/dist/client/assets/laptop-minimal-MVPAU_Un.js +0 -1
- package/dist/client/assets/laptop-minimal-check-D8t_U3rd.js +0 -1
- package/dist/client/assets/lasso-BX4y3L57.js +0 -1
- package/dist/client/assets/lasso-select-6BzXw7dr.js +0 -1
- package/dist/client/assets/laugh-BS6k3NFX.js +0 -1
- package/dist/client/assets/layers-2-C19yCYWM.js +0 -1
- package/dist/client/assets/layers-BANvDJfh.js +0 -1
- package/dist/client/assets/layers-minus-3G5OFD2z.js +0 -1
- package/dist/client/assets/layers-plus-BojWYRQ3.js +0 -1
- package/dist/client/assets/layout-3Fqh5005.js +0 -1
- package/dist/client/assets/layout-3Fqh5005.js.br +0 -0
- package/dist/client/assets/layout-3Fqh5005.js.gz +0 -0
- package/dist/client/assets/layout-dashboard-B7iUmEMY.js +0 -1
- package/dist/client/assets/layout-grid-C0V7dQsb.js +0 -1
- package/dist/client/assets/layout-list-CQP0O6CR.js +0 -1
- package/dist/client/assets/layout-panel-left-CAi2HTMb.js +0 -1
- package/dist/client/assets/layout-panel-top-CL0cj0U2.js +0 -1
- package/dist/client/assets/layout-template-BEwTSZwl.js +0 -1
- package/dist/client/assets/leaf-Q1X2HAZ9.js +0 -1
- package/dist/client/assets/leafy-green-C9hvgiGx.js +0 -1
- package/dist/client/assets/lectern-cFZ6LmSX.js +0 -1
- package/dist/client/assets/lens-concave-gJAHwbuj.js +0 -1
- package/dist/client/assets/lens-convex-D_lxfPiw.js +0 -1
- package/dist/client/assets/library-big-cM9EIL8n.js +0 -1
- package/dist/client/assets/library-yZZDTHPJ.js +0 -1
- package/dist/client/assets/life-buoy-Qnr8ggGC.js +0 -1
- package/dist/client/assets/ligature-Co0AVFtu.js +0 -1
- package/dist/client/assets/lightbulb-off-CtFr7c-V.js +0 -1
- package/dist/client/assets/line-dot-right-horizontal-DX38eu__.js +0 -1
- package/dist/client/assets/line-squiggle-D_r4gE9b.js +0 -1
- package/dist/client/assets/line-style-Ch77Pvjg.js +0 -1
- package/dist/client/assets/link-HalVju9n.js +0 -1
- package/dist/client/assets/list-Q16BplFI.js +0 -1
- package/dist/client/assets/list-check-6eQiKhVW.js +0 -1
- package/dist/client/assets/list-checks-euqGfpN4.js +0 -1
- package/dist/client/assets/list-chevrons-down-up-z8y8fxGH.js +0 -1
- package/dist/client/assets/list-chevrons-up-down-CqojI_1q.js +0 -1
- package/dist/client/assets/list-collapse-DaOr0QrL.js +0 -1
- package/dist/client/assets/list-end-B9paNKBe.js +0 -1
- package/dist/client/assets/list-filter-Cvin-URv.js +0 -1
- package/dist/client/assets/list-filter-plus-CtvTo4d7.js +0 -1
- package/dist/client/assets/list-indent-decrease-CpA7F5TC.js +0 -1
- package/dist/client/assets/list-indent-increase-D1_dQjgw.js +0 -1
- package/dist/client/assets/list-minus-DfSDLgIT.js +0 -1
- package/dist/client/assets/list-music-DsLZ9vM8.js +0 -1
- package/dist/client/assets/list-ordered-CBPrn6P3.js +0 -1
- package/dist/client/assets/list-plus-Bv_P89Ag.js +0 -1
- package/dist/client/assets/list-restart-DdHuJ3hz.js +0 -1
- package/dist/client/assets/list-start-D_fj8f4F.js +0 -1
- package/dist/client/assets/list-tree-CEajyeq-.js +0 -1
- package/dist/client/assets/list-video-_ONxeHc6.js +0 -1
- package/dist/client/assets/list-x-CUBhUeYS.js +0 -1
- package/dist/client/assets/loader-DF5k8NYe.js +0 -1
- package/dist/client/assets/loader-pinwheel-BhegYj6P.js +0 -1
- package/dist/client/assets/locate-Z590Jvj3.js +0 -1
- package/dist/client/assets/locate-fixed-99jmnqI2.js +0 -1
- package/dist/client/assets/locate-off-B-fSXN2G.js +0 -1
- package/dist/client/assets/lock-D7Ca19Fg.js +0 -1
- package/dist/client/assets/lock-keyhole-Z3aL_-ml.js +0 -1
- package/dist/client/assets/lock-keyhole-open-VTgMjOvf.js +0 -1
- package/dist/client/assets/lock-open-DVz9gMGT.js +0 -1
- package/dist/client/assets/log-in-CxDO_OWi.js +0 -1
- package/dist/client/assets/log-out-BEuaQqK8.js +0 -1
- package/dist/client/assets/logs-BTLKGn1_.js +0 -1
- package/dist/client/assets/lollipop-BsioGOeS.js +0 -1
- package/dist/client/assets/luggage-DW5BbDIP.js +0 -1
- package/dist/client/assets/magnet-CVkp4uEd.js +0 -1
- package/dist/client/assets/mail-CEzpioni.js +0 -1
- package/dist/client/assets/mail-check-B5skuzoM.js +0 -1
- package/dist/client/assets/mail-minus-C5InCETd.js +0 -1
- package/dist/client/assets/mail-open-DJPg7Q3J.js +0 -1
- package/dist/client/assets/mail-plus-BNnrX8Tx.js +0 -1
- package/dist/client/assets/mail-question-mark-C4YToJhg.js +0 -1
- package/dist/client/assets/mail-search-DAU8d064.js +0 -1
- package/dist/client/assets/mail-warning-CMFHu0JN.js +0 -1
- package/dist/client/assets/mail-x-CC_NYcZe.js +0 -1
- package/dist/client/assets/mailbox-f22CgWRh.js +0 -1
- package/dist/client/assets/mails-Ma664nnh.js +0 -1
- package/dist/client/assets/map-BPNeJ3aO.js +0 -1
- package/dist/client/assets/map-minus-BOLbSEMQ.js +0 -1
- package/dist/client/assets/map-pin-0wLGL3WY.js +0 -1
- package/dist/client/assets/map-pin-check-Ctj3ODoE.js +0 -1
- package/dist/client/assets/map-pin-check-inside-BmWUWh80.js +0 -1
- package/dist/client/assets/map-pin-house-CgcPzu4y.js +0 -1
- package/dist/client/assets/map-pin-minus-Cx3VVbF6.js +0 -1
- package/dist/client/assets/map-pin-minus-inside-B02FLHJx.js +0 -1
- package/dist/client/assets/map-pin-off-CRc3iFkt.js +0 -1
- package/dist/client/assets/map-pin-pen-DmLcCOSp.js +0 -1
- package/dist/client/assets/map-pin-plus-DGbSWtHo.js +0 -1
- package/dist/client/assets/map-pin-plus-inside-DGgpq3Q-.js +0 -1
- package/dist/client/assets/map-pin-search-DvNrNiOz.js +0 -1
- package/dist/client/assets/map-pin-x-CwEjRx5I.js +0 -1
- package/dist/client/assets/map-pin-x-inside-D9J2CK-a.js +0 -1
- package/dist/client/assets/map-pinned-p48aoZWi.js +0 -1
- package/dist/client/assets/map-plus-BwUMGbTu.js +0 -1
- package/dist/client/assets/mars-BgFbp3id.js +0 -1
- package/dist/client/assets/mars-stroke-CzA5u_Jm.js +0 -1
- package/dist/client/assets/martini-CoSGZqCd.js +0 -1
- package/dist/client/assets/maximize-2-XIp_cYxK.js +0 -1
- package/dist/client/assets/maximize-slKh4Ovw.js +0 -1
- package/dist/client/assets/medal-CRavxtUH.js +0 -1
- package/dist/client/assets/megaphone-CavfIviL.js +0 -1
- package/dist/client/assets/megaphone-off-BqsK7TpD.js +0 -1
- package/dist/client/assets/meh-KyMl6btU.js +0 -1
- package/dist/client/assets/memory-stick-CcQOrEnu.js +0 -1
- package/dist/client/assets/menu-BnESe4E8.js +0 -1
- package/dist/client/assets/merge-CyPljbqX.js +0 -1
- package/dist/client/assets/mermaid.core-B6xE4Vf4.js +0 -308
- package/dist/client/assets/mermaid.core-B6xE4Vf4.js.br +0 -0
- package/dist/client/assets/mermaid.core-B6xE4Vf4.js.gz +0 -0
- package/dist/client/assets/message-circle-check-SzVg8Uos.js +0 -1
- package/dist/client/assets/message-circle-code-CrNLTRKk.js +0 -1
- package/dist/client/assets/message-circle-dashed-DGehDIbJ.js +0 -1
- package/dist/client/assets/message-circle-heart-CmiSxGNZ.js +0 -1
- package/dist/client/assets/message-circle-more-f_g6zKH6.js +0 -1
- package/dist/client/assets/message-circle-off-C46jnNrg.js +0 -1
- package/dist/client/assets/message-circle-plus-lc1Zif5L.js +0 -1
- package/dist/client/assets/message-circle-question-mark-Cwxaiegf.js +0 -1
- package/dist/client/assets/message-circle-reply-BV6C1dfI.js +0 -1
- package/dist/client/assets/message-circle-warning-QHh15HhX.js +0 -1
- package/dist/client/assets/message-circle-x-DhGkXphI.js +0 -1
- package/dist/client/assets/message-square-BwSDtuZi.js +0 -1
- package/dist/client/assets/message-square-check-bTTdQm0y.js +0 -1
- package/dist/client/assets/message-square-code-Dunv9gu9.js +0 -1
- package/dist/client/assets/message-square-dashed-BJexYaus.js +0 -1
- package/dist/client/assets/message-square-diff-CtHHA-LS.js +0 -1
- package/dist/client/assets/message-square-dot-DXHeyoAh.js +0 -1
- package/dist/client/assets/message-square-heart-nLTXoBCs.js +0 -1
- package/dist/client/assets/message-square-lock-Bqt21edT.js +0 -1
- package/dist/client/assets/message-square-more-CgsIM-nM.js +0 -1
- package/dist/client/assets/message-square-off-zEJ7H4tr.js +0 -1
- package/dist/client/assets/message-square-plus-DD9ZzIK5.js +0 -1
- package/dist/client/assets/message-square-quote-C02JyIOQ.js +0 -1
- package/dist/client/assets/message-square-reply-DRLLjSKc.js +0 -1
- package/dist/client/assets/message-square-share-CS6dsQnD.js +0 -1
- package/dist/client/assets/message-square-text-Cx1wnZM1.js +0 -1
- package/dist/client/assets/message-square-warning-Br5BTE6X.js +0 -1
- package/dist/client/assets/message-square-x-BiFAChPl.js +0 -1
- package/dist/client/assets/messages-square-C1f9ihRo.js +0 -1
- package/dist/client/assets/metronome-O_2yHHRG.js +0 -1
- package/dist/client/assets/mic-BMCuVhmt.js +0 -1
- package/dist/client/assets/mic-off-C4XKjY5Q.js +0 -1
- package/dist/client/assets/mic-vocal-mAX3T9aO.js +0 -1
- package/dist/client/assets/microchip-B56nEmLz.js +0 -1
- package/dist/client/assets/microscope-Dru76GXX.js +0 -1
- package/dist/client/assets/microwave-mykaV8-V.js +0 -1
- package/dist/client/assets/milestone-CjmA0jpp.js +0 -1
- package/dist/client/assets/milk-CwTtmxKQ.js +0 -1
- package/dist/client/assets/milk-off-DktP5TAz.js +0 -1
- package/dist/client/assets/mindmap-definition-YA3MSWOX-DQfREt6W.js +0 -96
- package/dist/client/assets/mindmap-definition-YA3MSWOX-DQfREt6W.js.br +0 -0
- package/dist/client/assets/mindmap-definition-YA3MSWOX-DQfREt6W.js.gz +0 -0
- package/dist/client/assets/minimize-2-BT7WsdpS.js +0 -1
- package/dist/client/assets/minimize-CSSXU40C.js +0 -1
- package/dist/client/assets/minus-rsR8kOVX.js +0 -1
- package/dist/client/assets/mirror-rectangular-7anq34No.js +0 -1
- package/dist/client/assets/mirror-round-BK9-dDP4.js +0 -1
- package/dist/client/assets/monitor-check-B0Pyf-yu.js +0 -1
- package/dist/client/assets/monitor-cloud-DgrFzqef.js +0 -1
- package/dist/client/assets/monitor-cog-DGloklBJ.js +0 -1
- package/dist/client/assets/monitor-dot-DGS7-f0f.js +0 -1
- package/dist/client/assets/monitor-down-BCJfCFaJ.js +0 -1
- package/dist/client/assets/monitor-off-BgSn8-s1.js +0 -1
- package/dist/client/assets/monitor-pause-r9zmfzl3.js +0 -1
- package/dist/client/assets/monitor-play-Q1GXult1.js +0 -1
- package/dist/client/assets/monitor-smartphone-DXpObQkI.js +0 -1
- package/dist/client/assets/monitor-speaker-CLWvj29U.js +0 -1
- package/dist/client/assets/monitor-stop-DKL_C-wp.js +0 -1
- package/dist/client/assets/monitor-up-7yeLvWkr.js +0 -1
- package/dist/client/assets/monitor-x-Brl7MUOR.js +0 -1
- package/dist/client/assets/moon-DszlF5VG.js +0 -1
- package/dist/client/assets/moon-star-D2AfMLYe.js +0 -1
- package/dist/client/assets/motorbike-DQK6O3MZ.js +0 -1
- package/dist/client/assets/mountain-DB-FYKcC.js +0 -1
- package/dist/client/assets/mountain-snow-CVuyljFu.js +0 -1
- package/dist/client/assets/mouse-B9YJ00HV.js +0 -1
- package/dist/client/assets/mouse-left-khHZ7a0_.js +0 -1
- package/dist/client/assets/mouse-off-D7VcH2mF.js +0 -1
- package/dist/client/assets/mouse-pointer-2-2DLmmZC-.js +0 -1
- package/dist/client/assets/mouse-pointer-2-off-LYUEbVxq.js +0 -1
- package/dist/client/assets/mouse-pointer-D1fUOap2.js +0 -1
- package/dist/client/assets/mouse-pointer-ban-C7bLgbHN.js +0 -1
- package/dist/client/assets/mouse-pointer-click-CBX8IM8_.js +0 -1
- package/dist/client/assets/mouse-right-BtzVGBDN.js +0 -1
- package/dist/client/assets/move-3d-BPdizJb4.js +0 -1
- package/dist/client/assets/move-diagonal-2-CK2s6i1d.js +0 -1
- package/dist/client/assets/move-diagonal-CLXKl3Yy.js +0 -1
- package/dist/client/assets/move-down-VN8xZn8j.js +0 -1
- package/dist/client/assets/move-down-left-CznwZplk.js +0 -1
- package/dist/client/assets/move-down-right-DkE_6D1W.js +0 -1
- package/dist/client/assets/move-horizontal-Czn3dC11.js +0 -1
- package/dist/client/assets/move-left-NiD9hU-7.js +0 -1
- package/dist/client/assets/move-rI_psr6S.js +0 -1
- package/dist/client/assets/move-right-CXiW8Zcx.js +0 -1
- package/dist/client/assets/move-up-CrMIo1F-.js +0 -1
- package/dist/client/assets/move-up-left-CyI_CpAq.js +0 -1
- package/dist/client/assets/move-up-right-CLWB_JWL.js +0 -1
- package/dist/client/assets/move-vertical-DwBcUm7s.js +0 -1
- package/dist/client/assets/music-2-DBhGdTXp.js +0 -1
- package/dist/client/assets/music-3-x6NFKGPz.js +0 -1
- package/dist/client/assets/music-4-C8370pLl.js +0 -1
- package/dist/client/assets/music-BNUAUYx3.js +0 -1
- package/dist/client/assets/navigation-2-2DgL5nUm.js +0 -1
- package/dist/client/assets/navigation-2-off-DzEWNpuG.js +0 -1
- package/dist/client/assets/navigation-2-rBuxJP.js +0 -1
- package/dist/client/assets/navigation-off-C_uJO7_0.js +0 -1
- package/dist/client/assets/network-CuwtecJy.js +0 -1
- package/dist/client/assets/newspaper-Di2TWK73.js +0 -1
- package/dist/client/assets/nfc-HbPy0MKx.js +0 -1
- package/dist/client/assets/non-binary-C0dOmbfu.js +0 -1
- package/dist/client/assets/notebook-Di-s4PvA.js +0 -1
- package/dist/client/assets/notebook-pen-D5_R76RF.js +0 -1
- package/dist/client/assets/notebook-tabs-V7RQZHB7.js +0 -1
- package/dist/client/assets/notebook-text-DwkVGus6.js +0 -1
- package/dist/client/assets/notepad-text-CHpjNpHD.js +0 -1
- package/dist/client/assets/notepad-text-dashed-BjfwpIlB.js +0 -1
- package/dist/client/assets/nut-DlahCyJU.js +0 -1
- package/dist/client/assets/nut-off-BtLoh-rK.js +0 -1
- package/dist/client/assets/octagon-TDoj2f8v.js +0 -1
- package/dist/client/assets/octagon-alert-B2taZVv6.js +0 -1
- package/dist/client/assets/octagon-minus-CBFqh99o.js +0 -1
- package/dist/client/assets/octagon-pause-Cr5b4j7M.js +0 -1
- package/dist/client/assets/octagon-x-D0zbNi59.js +0 -1
- package/dist/client/assets/omega-DDASMNWr.js +0 -1
- package/dist/client/assets/option-CxVn0FSz.js +0 -1
- package/dist/client/assets/orbit-AW4YJZIj.js +0 -1
- package/dist/client/assets/origami-DnrsVwpc.js +0 -1
- package/dist/client/assets/package-2-ClNoqf2y.js +0 -1
- package/dist/client/assets/package-D1L3snux.js +0 -1
- package/dist/client/assets/package-check-CR9b7e1m.js +0 -1
- package/dist/client/assets/package-minus-uBmpR7nr.js +0 -1
- package/dist/client/assets/package-open-DX7Yyjdp.js +0 -1
- package/dist/client/assets/package-plus-CEDLdkFJ.js +0 -1
- package/dist/client/assets/package-search-CWRT1C3t.js +0 -1
- package/dist/client/assets/package-x-B53rhtgz.js +0 -1
- package/dist/client/assets/paint-bucket-D-LfUSKj.js +0 -1
- package/dist/client/assets/paint-roller-CWZJqaQV.js +0 -1
- package/dist/client/assets/paintbrush-2rvWckvD.js +0 -1
- package/dist/client/assets/paintbrush-vertical-OCjWFavO.js +0 -1
- package/dist/client/assets/palette-Be99D5Ti.js +0 -1
- package/dist/client/assets/panda-4bIc08tS.js +0 -1
- package/dist/client/assets/panel-bottom-DMdI7P2k.js +0 -1
- package/dist/client/assets/panel-bottom-close-CI106ZmH.js +0 -1
- package/dist/client/assets/panel-bottom-dashed-C3HHmJ49.js +0 -1
- package/dist/client/assets/panel-bottom-open-6FvY7y-i.js +0 -1
- package/dist/client/assets/panel-left-BS0x_UAi.js +0 -1
- package/dist/client/assets/panel-left-close-EfL-CBSg.js +0 -1
- package/dist/client/assets/panel-left-dashed-B8Gj1aEr.js +0 -1
- package/dist/client/assets/panel-left-open-mczOolrF.js +0 -1
- package/dist/client/assets/panel-left-right-dashed-BlFQxHyg.js +0 -1
- package/dist/client/assets/panel-right-close-B2AY3oAg.js +0 -1
- package/dist/client/assets/panel-right-dashed-BMFrhRD2.js +0 -1
- package/dist/client/assets/panel-right-open-DsHBGdw1.js +0 -1
- package/dist/client/assets/panel-top-1j3HlVZU.js +0 -1
- package/dist/client/assets/panel-top-bottom-dashed-DQU5MeOS.js +0 -1
- package/dist/client/assets/panel-top-close-EB1g93Qo.js +0 -1
- package/dist/client/assets/panel-top-dashed-DWo0ldD7.js +0 -1
- package/dist/client/assets/panel-top-open-Bs0gVi3P.js +0 -1
- package/dist/client/assets/panels-left-bottom-DfnOJZD5.js +0 -1
- package/dist/client/assets/panels-right-bottom-QxBWB4ID.js +0 -1
- package/dist/client/assets/panels-top-left-BBkEbH1z.js +0 -1
- package/dist/client/assets/parasol-_Ivy73Sm.js +0 -1
- package/dist/client/assets/parentheses-C67MDlSu.js +0 -1
- package/dist/client/assets/parking-meter-CLtm7Bqh.js +0 -1
- package/dist/client/assets/party-popper-1_azJUye.js +0 -1
- package/dist/client/assets/passwordBootstrap-BW7oAKGJ.js +0 -2
- package/dist/client/assets/passwordBootstrap-BW7oAKGJ.js.br +0 -0
- package/dist/client/assets/passwordBootstrap-BW7oAKGJ.js.gz +0 -0
- package/dist/client/assets/pause-mkQz4Haj.js +0 -1
- package/dist/client/assets/paw-print-BuuvIZn7.js +0 -1
- package/dist/client/assets/pc-case-D7jkDeS9.js +0 -1
- package/dist/client/assets/pegDiagram-XKGWAZYB-CQzbIu3T.js +0 -1
- package/dist/client/assets/pegDiagram-XKGWAZYB-CQzbIu3T.js.br +0 -0
- package/dist/client/assets/pegDiagram-XKGWAZYB-CQzbIu3T.js.gz +0 -0
- package/dist/client/assets/pen-BDUlJYwV.js +0 -1
- package/dist/client/assets/pen-line-CuxWt1Wb.js +0 -1
- package/dist/client/assets/pen-off-B4yfAlQe.js +0 -1
- package/dist/client/assets/pen-tool-Ckm9EGjL.js +0 -1
- package/dist/client/assets/pencil-line-aiFWg3Bx.js +0 -1
- package/dist/client/assets/pencil-off-CmnHN4Ss.js +0 -1
- package/dist/client/assets/pencil-ruler-CwvFIG4x.js +0 -1
- package/dist/client/assets/pentagon-IcS534Bf.js +0 -1
- package/dist/client/assets/percent-D4ZJNwa6.js +0 -1
- package/dist/client/assets/person-standing-BGbrHxhJ.js +0 -1
- package/dist/client/assets/philippine-peso-DLvQqbNF.js +0 -1
- package/dist/client/assets/phone-D-HeOid_.js +0 -1
- package/dist/client/assets/phone-call-BLB4qe35.js +0 -1
- package/dist/client/assets/phone-forwarded-DIC4H5Re.js +0 -1
- package/dist/client/assets/phone-incoming-DppBQNKg.js +0 -1
- package/dist/client/assets/phone-missed-Dsio5IgH.js +0 -1
- package/dist/client/assets/phone-off-YBi187lq.js +0 -1
- package/dist/client/assets/phone-outgoing-KUEpONIx.js +0 -1
- package/dist/client/assets/pi-DqcDA7yg.js +0 -1
- package/dist/client/assets/piano-BHoKPzao.js +0 -1
- package/dist/client/assets/pickaxe-DclFcaFv.js +0 -1
- package/dist/client/assets/picture-in-picture-2-U6Mt8rwA.js +0 -1
- package/dist/client/assets/picture-in-picture-CP4oVY9N.js +0 -1
- package/dist/client/assets/pieDiagram-E7YTZNPT-DUyIFoyS.js +0 -39
- package/dist/client/assets/pieDiagram-E7YTZNPT-DUyIFoyS.js.br +0 -0
- package/dist/client/assets/pieDiagram-E7YTZNPT-DUyIFoyS.js.gz +0 -0
- package/dist/client/assets/piggy-bank-D6svMhtd.js +0 -1
- package/dist/client/assets/pilcrow-CP_gkYtM.js +0 -1
- package/dist/client/assets/pilcrow-left-Bkg9KB7d.js +0 -1
- package/dist/client/assets/pilcrow-right-CDgViB4l.js +0 -1
- package/dist/client/assets/pill-BhW90Wna.js +0 -1
- package/dist/client/assets/pill-bottle-CMPz8rRH.js +0 -1
- package/dist/client/assets/pipette-C73bqFyO.js +0 -1
- package/dist/client/assets/pizza-DiMBoOoh.js +0 -1
- package/dist/client/assets/plane-Cz8XANq3.js +0 -1
- package/dist/client/assets/plane-landing-ge4TLqdO.js +0 -1
- package/dist/client/assets/plane-takeoff-CM4UtX2T.js +0 -1
- package/dist/client/assets/play-6sYJOOLI.js +0 -1
- package/dist/client/assets/plug-2-U-KII5pS.js +0 -1
- package/dist/client/assets/plug-DozrepPw.js +0 -1
- package/dist/client/assets/plug-zap-BUtyMZLg.js +0 -1
- package/dist/client/assets/pocket-knife-Xb1KytJ4.js +0 -1
- package/dist/client/assets/podcast-DnD91t5w.js +0 -1
- package/dist/client/assets/pointer-BmymMoXY.js +0 -1
- package/dist/client/assets/pointer-off-0ZfB-Tmw.js +0 -1
- package/dist/client/assets/popcorn-RzgU0bML.js +0 -1
- package/dist/client/assets/popsicle-CqYlTSlz.js +0 -1
- package/dist/client/assets/pound-sterling-B4KE4yRU.js +0 -1
- package/dist/client/assets/power-off-DWfDDezT.js +0 -1
- package/dist/client/assets/power-v0e_wtP-.js +0 -1
- package/dist/client/assets/presentation-Bp1aW-N3.js +0 -1
- package/dist/client/assets/printer-DRpTnlWO.js +0 -1
- package/dist/client/assets/printer-check-BBmV47FC.js +0 -1
- package/dist/client/assets/printer-x-g6OAfyIa.js +0 -1
- package/dist/client/assets/projector--bgxqdaF.js +0 -1
- package/dist/client/assets/proportions-BVkyHlZ6.js +0 -1
- package/dist/client/assets/puzzle-BCl3NPw7.js +0 -1
- package/dist/client/assets/pyramid-B4wkSvGD.js +0 -1
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-D0WdMFaq.js +0 -7
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-D0WdMFaq.js.br +0 -0
- package/dist/client/assets/quadrantDiagram-AXDQQJYC-D0WdMFaq.js.gz +0 -0
- package/dist/client/assets/quote-DI8iPwKh.js +0 -1
- package/dist/client/assets/rabbit-BDa6Q27c.js +0 -1
- package/dist/client/assets/radar-Bx_n--rh.js +0 -1
- package/dist/client/assets/radiation-CHCFxwVq.js +0 -1
- package/dist/client/assets/radical-fJiowMfO.js +0 -1
- package/dist/client/assets/radio-6pLvdwJd.js +0 -1
- package/dist/client/assets/radio-off-3aqmFa_M.js +0 -1
- package/dist/client/assets/radio-receiver-XWcq03a0.js +0 -1
- package/dist/client/assets/radio-tower-CuLnYX4T.js +0 -1
- package/dist/client/assets/radius-DMEeB-ta.js +0 -1
- package/dist/client/assets/railroadDiagram-O6MQD6OU-Dl66huV5.js +0 -1
- package/dist/client/assets/railroadDiagram-O6MQD6OU-Dl66huV5.js.br +0 -0
- package/dist/client/assets/railroadDiagram-O6MQD6OU-Dl66huV5.js.gz +0 -0
- package/dist/client/assets/rainbow-BxxcOabE.js +0 -1
- package/dist/client/assets/rat-C6Ck2q2o.js +0 -1
- package/dist/client/assets/ratio-Bp9q1Ipe.js +0 -1
- package/dist/client/assets/rdpSession-bZdZ0HhC.js +0 -1
- package/dist/client/assets/rdpSession-bZdZ0HhC.js.br +0 -0
- package/dist/client/assets/rdpSession-bZdZ0HhC.js.gz +0 -0
- package/dist/client/assets/receipt-6gAtbPgM.js +0 -1
- package/dist/client/assets/receipt-cent-Bg3OmoiZ.js +0 -1
- package/dist/client/assets/receipt-euro-QYQDD3vw.js +0 -1
- package/dist/client/assets/receipt-indian-rupee-D7KX7ARn.js +0 -1
- package/dist/client/assets/receipt-japanese-yen-B6OumBfa.js +0 -1
- package/dist/client/assets/receipt-pound-sterling-DWNfu-5O.js +0 -1
- package/dist/client/assets/receipt-russian-ruble-DR-NsJrx.js +0 -1
- package/dist/client/assets/receipt-swiss-franc-BuDCqCnF.js +0 -1
- package/dist/client/assets/receipt-text-Ct40Ogn2.js +0 -1
- package/dist/client/assets/receipt-turkish-lira-SntvIPY_.js +0 -1
- package/dist/client/assets/rectangle-circle-C52yOXrT.js +0 -1
- package/dist/client/assets/rectangle-ellipsis-smMZh1_p.js +0 -1
- package/dist/client/assets/rectangle-goggles-CXRi76S4.js +0 -1
- package/dist/client/assets/rectangle-horizontal-DGHl4orB.js +0 -1
- package/dist/client/assets/rectangle-vertical-B13u-IVE.js +0 -1
- package/dist/client/assets/recycle-DlSG0-B2.js +0 -1
- package/dist/client/assets/redo-2-DVEegsZa.js +0 -1
- package/dist/client/assets/redo-BkdmmNjd.js +0 -1
- package/dist/client/assets/redo-dot-0koxnEla.js +0 -1
- package/dist/client/assets/referenceSelection-C35KrNSb.js +0 -4
- package/dist/client/assets/referenceSelection-C35KrNSb.js.br +0 -0
- package/dist/client/assets/referenceSelection-C35KrNSb.js.gz +0 -0
- package/dist/client/assets/refresh-ccw-CPIge9fY.js +0 -1
- package/dist/client/assets/refresh-ccw-dot-D9vhLePu.js +0 -1
- package/dist/client/assets/refresh-cw-off-Du7JVhks.js +0 -1
- package/dist/client/assets/refrigerator-DQFHj3tA.js +0 -1
- package/dist/client/assets/regex-Bg6UPTk4.js +0 -1
- package/dist/client/assets/remove-formatting-CApW7xL0.js +0 -1
- package/dist/client/assets/repeat-1-C5T5HmaC.js +0 -1
- package/dist/client/assets/repeat-2-Cayd8LtU.js +0 -1
- package/dist/client/assets/repeat-DIoY-crS.js +0 -1
- package/dist/client/assets/repeat-off-D2uJUSRZ.js +0 -1
- package/dist/client/assets/replace-CQJi8A-J.js +0 -1
- package/dist/client/assets/replace-all-g7Rk4QdW.js +0 -1
- package/dist/client/assets/reply-CclsWowR.js +0 -1
- package/dist/client/assets/reply-all-DsZB3ngg.js +0 -1
- package/dist/client/assets/requirementDiagram-BXWQKSXE-CLquvEQk.js +0 -84
- package/dist/client/assets/requirementDiagram-BXWQKSXE-CLquvEQk.js.br +0 -0
- package/dist/client/assets/requirementDiagram-BXWQKSXE-CLquvEQk.js.gz +0 -0
- package/dist/client/assets/rewind-DBFDWG2W.js +0 -1
- package/dist/client/assets/ribbon-BOvK9TbP.js +0 -1
- package/dist/client/assets/road-ZVtNN2jg.js +0 -1
- package/dist/client/assets/rocking-chair-ZB8-vvWp.js +0 -1
- package/dist/client/assets/roller-coaster-C4ZNkUsY.js +0 -1
- package/dist/client/assets/rose-BqsOUA8x.js +0 -1
- package/dist/client/assets/rotate-3d-DqNrHZ1H.js +0 -1
- package/dist/client/assets/rotate-ccw-key-CA6HMhk2.js +0 -1
- package/dist/client/assets/rotate-ccw-square-CYCXvSmp.js +0 -1
- package/dist/client/assets/rotate-cw-DKLcWsMY.js +0 -1
- package/dist/client/assets/rotate-cw-square-J4HwJPaS.js +0 -1
- package/dist/client/assets/route-Ca_GktgV.js +0 -1
- package/dist/client/assets/route-off-DlkuY0oE.js +0 -1
- package/dist/client/assets/router-Dfre8J0H.js +0 -1
- package/dist/client/assets/rows-2-CHxcuA6t.js +0 -1
- package/dist/client/assets/rows-3-BXwNg_1l.js +0 -1
- package/dist/client/assets/rows-4-BHOJILIe.js +0 -1
- package/dist/client/assets/rss-DX1sTY58.js +0 -1
- package/dist/client/assets/ruler-CKIHS5ZG.js +0 -1
- package/dist/client/assets/ruler-dimension-line-BU2aXGyq.js +0 -1
- package/dist/client/assets/russian-ruble-iChuT8-A.js +0 -1
- package/dist/client/assets/sailboat-BzfEgHUp.js +0 -1
- package/dist/client/assets/salad-lkQP45Og.js +0 -1
- package/dist/client/assets/sandwich-BJmqjljA.js +0 -1
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-vDwufXmy.js +0 -40
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-vDwufXmy.js.br +0 -0
- package/dist/client/assets/sankeyDiagram-P5KCCOFB-vDwufXmy.js.gz +0 -0
- package/dist/client/assets/satellite-CFW8ft4J.js +0 -1
- package/dist/client/assets/satellite-dish-C-_hgB1b.js +0 -1
- package/dist/client/assets/saudi-riyal-9mNrKZlh.js +0 -1
- package/dist/client/assets/save-BhKfw0XV.js +0 -1
- package/dist/client/assets/save-all-L85Vgdtd.js +0 -1
- package/dist/client/assets/save-off-D5VRhNpK.js +0 -1
- package/dist/client/assets/scale-3d-BvoV5uen.js +0 -1
- package/dist/client/assets/scale-Co1ZiHGC.js +0 -1
- package/dist/client/assets/scaling-BWuPfkzk.js +0 -1
- package/dist/client/assets/scan-BnIYzTvS.js +0 -1
- package/dist/client/assets/scan-barcode-DjZ6cYxg.js +0 -1
- package/dist/client/assets/scan-eye-DGb5eXSQ.js +0 -1
- package/dist/client/assets/scan-face-D1uhXPZ8.js +0 -1
- package/dist/client/assets/scan-heart-NqOlFJvV.js +0 -1
- package/dist/client/assets/scan-line-DGfGu3sQ.js +0 -1
- package/dist/client/assets/scan-qr-code-az5OW_zn.js +0 -1
- package/dist/client/assets/scan-search-CMeS85h4.js +0 -1
- package/dist/client/assets/scan-text-jQ9erDXi.js +0 -1
- package/dist/client/assets/school-CyIhKU1o.js +0 -1
- package/dist/client/assets/scissors-Omg54llA.js +0 -1
- package/dist/client/assets/scissors-line-dashed-DPXiAzCK.js +0 -1
- package/dist/client/assets/scooter-D3ElfFt0.js +0 -1
- package/dist/client/assets/screen-share-BUAn1aeR.js +0 -1
- package/dist/client/assets/screen-share-off-BQ-9Qlt5.js +0 -1
- package/dist/client/assets/scroll-DB36nSY-.js +0 -1
- package/dist/client/assets/scroll-text-DWXES5cJ.js +0 -1
- package/dist/client/assets/search-Slp2tMAZ.js +0 -1
- package/dist/client/assets/search-alert-DMW1fVVP.js +0 -1
- package/dist/client/assets/search-check-dmKijaBC.js +0 -1
- package/dist/client/assets/search-code-BpgSFDWY.js +0 -1
- package/dist/client/assets/search-slash-Cqw7R5mc.js +0 -1
- package/dist/client/assets/search-x-C_pGq2eU.js +0 -1
- package/dist/client/assets/section-BazdhiGq.js +0 -1
- package/dist/client/assets/send--HS9plgx.js +0 -1
- package/dist/client/assets/send-horizontal-CVHf4R9m.js +0 -1
- package/dist/client/assets/send-to-back-BYd68ump.js +0 -1
- package/dist/client/assets/separator-horizontal-CBp3npze.js +0 -1
- package/dist/client/assets/separator-vertical-BVsoYabq.js +0 -1
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-CNukf6PN.js +0 -162
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-CNukf6PN.js.br +0 -0
- package/dist/client/assets/sequenceDiagram-WJ2MYXX4-CNukf6PN.js.gz +0 -0
- package/dist/client/assets/server-cog-3mrN-4_g.js +0 -1
- package/dist/client/assets/server-crash-R5UxBn0f.js +0 -1
- package/dist/client/assets/server-off-0TNz9Jel.js +0 -1
- package/dist/client/assets/sessionChatStartup-DUNj3bnb.js +0 -1
- package/dist/client/assets/sessionChatStartup-DUNj3bnb.js.br +0 -0
- package/dist/client/assets/sessionChatStartup-DUNj3bnb.js.gz +0 -0
- package/dist/client/assets/settings-2-DF5ZXdpO.js +0 -1
- package/dist/client/assets/settings-D2KRDBgF.js +0 -1
- package/dist/client/assets/shapes-DHJbGYJ1.js +0 -1
- package/dist/client/assets/share-DWznRVzy.js +0 -1
- package/dist/client/assets/sheet-BxCeUsrr.js +0 -1
- package/dist/client/assets/shell-DI9chSwA.js +0 -1
- package/dist/client/assets/shelving-unit-B82p6Oie.js +0 -1
- package/dist/client/assets/shield-9n4XQhL-.js +0 -1
- package/dist/client/assets/shield-alert-DuVVAKhQ.js +0 -1
- package/dist/client/assets/shield-ban-CFwuKZ5W.js +0 -1
- package/dist/client/assets/shield-check-DxP-O23p.js +0 -1
- package/dist/client/assets/shield-cog-CBqSeGbK.js +0 -1
- package/dist/client/assets/shield-cog-corner-v0wE32ka.js +0 -1
- package/dist/client/assets/shield-ellipsis-DCWMESNw.js +0 -1
- package/dist/client/assets/shield-half-C_mYe2Ul.js +0 -1
- package/dist/client/assets/shield-minus-pN0W_5qB.js +0 -1
- package/dist/client/assets/shield-off-XRxsFBOv.js +0 -1
- package/dist/client/assets/shield-plus-CNkI3PFD.js +0 -1
- package/dist/client/assets/shield-question-mark-B04jOa0R.js +0 -1
- package/dist/client/assets/shield-user-CUY6ayl7.js +0 -1
- package/dist/client/assets/shield-x-mf-8M4fA.js +0 -1
- package/dist/client/assets/ship-MtM3Cxzr.js +0 -1
- package/dist/client/assets/ship-wheel-Dy_hUFLT.js +0 -1
- package/dist/client/assets/shirt-B5KowWcr.js +0 -1
- package/dist/client/assets/shopping-bag-BtPx5Wdk.js +0 -1
- package/dist/client/assets/shopping-basket-4W1S50Mn.js +0 -1
- package/dist/client/assets/shopping-cart-mc_1xWV1.js +0 -1
- package/dist/client/assets/shovel-DSTXpKh1.js +0 -1
- package/dist/client/assets/shower-head-TUo9LucQ.js +0 -1
- package/dist/client/assets/shredder-BWBP2Qmo.js +0 -1
- package/dist/client/assets/shrimp-C3K6Hrnz.js +0 -1
- package/dist/client/assets/shrink-DQ1FFrPe.js +0 -1
- package/dist/client/assets/shrub-DsFBzIaL.js +0 -1
- package/dist/client/assets/shuffle-guJlIFRz.js +0 -1
- package/dist/client/assets/sigma-DXyYKJSb.js +0 -1
- package/dist/client/assets/signal-DBuEh89J.js +0 -1
- package/dist/client/assets/signal-high-bM1H06pT.js +0 -1
- package/dist/client/assets/signal-low-DG3KJfDa.js +0 -1
- package/dist/client/assets/signal-medium-GF68Y0Ne.js +0 -1
- package/dist/client/assets/signal-zero-CenVEPyq.js +0 -1
- package/dist/client/assets/signature-DaCIdFKK.js +0 -1
- package/dist/client/assets/signpost-D8KzUwel.js +0 -1
- package/dist/client/assets/signpost-big-CSKUbd_D.js +0 -1
- package/dist/client/assets/siren-4ro4wduW.js +0 -1
- package/dist/client/assets/sizeCapture-INFHLROL-CMQSYdw4.js +0 -1
- package/dist/client/assets/sizeCapture-INFHLROL-CMQSYdw4.js.br +0 -0
- package/dist/client/assets/sizeCapture-INFHLROL-CMQSYdw4.js.gz +0 -0
- package/dist/client/assets/skip-back-BP5xR5v9.js +0 -1
- package/dist/client/assets/skip-forward-DSaaip1r.js +0 -1
- package/dist/client/assets/skull-CZ6bOTdM.js +0 -1
- package/dist/client/assets/slash-BnTX82fU.js +0 -1
- package/dist/client/assets/slice-UW9VYWQj.js +0 -1
- package/dist/client/assets/sliders-horizontal-CG4TPFC4.js +0 -1
- package/dist/client/assets/sliders-vertical-BFRtd4yF.js +0 -1
- package/dist/client/assets/smartphone-charging-C0xG3IbX.js +0 -1
- package/dist/client/assets/smartphone-nfc-BXo6JegX.js +0 -1
- package/dist/client/assets/smile-3Gch-6RB.js +0 -1
- package/dist/client/assets/smile-plus-5I9_9Z_1.js +0 -1
- package/dist/client/assets/snail-CrbitpOD.js +0 -1
- package/dist/client/assets/snowflake-B020XL3h.js +0 -1
- package/dist/client/assets/soap-dispenser-droplet-Dpg8k_xa.js +0 -1
- package/dist/client/assets/sofa-NDPNuBm_.js +0 -1
- package/dist/client/assets/solar-panel-C4z3Asg6.js +0 -1
- package/dist/client/assets/soup-CB6W0Hny.js +0 -1
- package/dist/client/assets/space-BDb_X-KW.js +0 -1
- package/dist/client/assets/spade-CkzTTJHa.js +0 -1
- package/dist/client/assets/sparkle-gfmJlkxQ.js +0 -1
- package/dist/client/assets/speaker-Dnngiql2.js +0 -1
- package/dist/client/assets/speech-XjN8NRCk.js +0 -1
- package/dist/client/assets/spell-check-2-DY31tOu6.js +0 -1
- package/dist/client/assets/spell-check-QjVLHfq3.js +0 -1
- package/dist/client/assets/spline-Da5zW8bX.js +0 -1
- package/dist/client/assets/spline-pointer-BWqGiDGR.js +0 -1
- package/dist/client/assets/split-Cs36CmGI.js +0 -1
- package/dist/client/assets/spool-DfoivjbK.js +0 -1
- package/dist/client/assets/sport-shoe-2O0S3uw-.js +0 -1
- package/dist/client/assets/spotlight-Cj4XA-N7.js +0 -1
- package/dist/client/assets/spray-can-H-yMswWf.js +0 -1
- package/dist/client/assets/sprout-DPPvSP6N.js +0 -1
- package/dist/client/assets/square-CfBuYQYR.js +0 -1
- package/dist/client/assets/square-activity-D2J6TE0N.js +0 -1
- package/dist/client/assets/square-arrow-down-BCcdw4Xa.js +0 -1
- package/dist/client/assets/square-arrow-down-left-DB5O9aRM.js +0 -1
- package/dist/client/assets/square-arrow-down-right-COoNFkmw.js +0 -1
- package/dist/client/assets/square-arrow-left-DXZ8WiFL.js +0 -1
- package/dist/client/assets/square-arrow-out-down-left-D8s3uIe2.js +0 -1
- package/dist/client/assets/square-arrow-out-down-right-Bp4jcnGh.js +0 -1
- package/dist/client/assets/square-arrow-out-up-left-wUO4BeHc.js +0 -1
- package/dist/client/assets/square-arrow-right-Bw9ymnDC.js +0 -1
- package/dist/client/assets/square-arrow-right-enter-BH9PIJTO.js +0 -1
- package/dist/client/assets/square-arrow-right-exit-DsMREhga.js +0 -1
- package/dist/client/assets/square-arrow-up-DtGnDS2H.js +0 -1
- package/dist/client/assets/square-arrow-up-left-Bq4MLRlZ.js +0 -1
- package/dist/client/assets/square-arrow-up-right-CHyr-xLt.js +0 -1
- package/dist/client/assets/square-asterisk-CrIaD5Hy.js +0 -1
- package/dist/client/assets/square-bottom-dashed-scissors-C5Bqq6to.js +0 -1
- package/dist/client/assets/square-centerline-dashed-horizontal-BfhwnYzr.js +0 -1
- package/dist/client/assets/square-centerline-dashed-vertical-DdkSJMr-.js +0 -1
- package/dist/client/assets/square-chart-gantt-B14zPmvl.js +0 -1
- package/dist/client/assets/square-check-CMVDAAs-.js +0 -1
- package/dist/client/assets/square-check-big-DNB88aqQ.js +0 -1
- package/dist/client/assets/square-chevron-down-DB0PxDec.js +0 -1
- package/dist/client/assets/square-chevron-left-LDsTOaMG.js +0 -1
- package/dist/client/assets/square-chevron-right-Bx7diAnI.js +0 -1
- package/dist/client/assets/square-chevron-up-DO_MSqPa.js +0 -1
- package/dist/client/assets/square-code-CHHkOF_5.js +0 -1
- package/dist/client/assets/square-dashed-CiXaNDyD.js +0 -1
- package/dist/client/assets/square-dashed-bottom-SQjFjhtH.js +0 -1
- package/dist/client/assets/square-dashed-bottom-code-CGbOur8O.js +0 -1
- package/dist/client/assets/square-dashed-kanban-BrSW3KlN.js +0 -1
- package/dist/client/assets/square-dashed-mouse-pointer-GPF-9aUy.js +0 -1
- package/dist/client/assets/square-dashed-text-DTtLkYa4.js +0 -1
- package/dist/client/assets/square-dashed-top-solid-C6SC4KJy.js +0 -1
- package/dist/client/assets/square-divide-DblkYJSl.js +0 -1
- package/dist/client/assets/square-dot-D9gIF_3Q.js +0 -1
- package/dist/client/assets/square-equal-DqSwQ7bJ.js +0 -1
- package/dist/client/assets/square-function-CappOLF6.js +0 -1
- package/dist/client/assets/square-kanban-BGnf3uff.js +0 -1
- package/dist/client/assets/square-library-R8G8k0U-.js +0 -1
- package/dist/client/assets/square-m-5e1_oltn.js +0 -1
- package/dist/client/assets/square-menu-TyYkHDpq.js +0 -1
- package/dist/client/assets/square-minus-DhgBbOkV.js +0 -1
- package/dist/client/assets/square-mouse-pointer-gsA-h1jb.js +0 -1
- package/dist/client/assets/square-parking-nMLsNZVc.js +0 -1
- package/dist/client/assets/square-parking-off-u_mpRe__.js +0 -1
- package/dist/client/assets/square-pause-DNNJpOXc.js +0 -1
- package/dist/client/assets/square-pen-DMBnlHDX.js +0 -1
- package/dist/client/assets/square-percent-BUU3J0--.js +0 -1
- package/dist/client/assets/square-pi--eZ7lNfH.js +0 -1
- package/dist/client/assets/square-pilcrow-B4dwgoO4.js +0 -1
- package/dist/client/assets/square-play-B4mVjTCo.js +0 -1
- package/dist/client/assets/square-plus-ywHpUqpt.js +0 -1
- package/dist/client/assets/square-power-Bi7tLTTK.js +0 -1
- package/dist/client/assets/square-radical-BMvRqh7Y.js +0 -1
- package/dist/client/assets/square-round-corner-Dh_KnHWq.js +0 -1
- package/dist/client/assets/square-scissors-BUVX0YjC.js +0 -1
- package/dist/client/assets/square-sigma-XjGZCv4v.js +0 -1
- package/dist/client/assets/square-slash-DfjCM2EM.js +0 -1
- package/dist/client/assets/square-split-horizontal-urhogzqI.js +0 -1
- package/dist/client/assets/square-split-vertical-Do2lTvGd.js +0 -1
- package/dist/client/assets/square-square-Dx8jMc1E.js +0 -1
- package/dist/client/assets/square-stack-7LpXWLMK.js +0 -1
- package/dist/client/assets/square-star-DvZklZ4t.js +0 -1
- package/dist/client/assets/square-stop-kMBIRJCv.js +0 -1
- package/dist/client/assets/square-user-02JxZ5fv.js +0 -1
- package/dist/client/assets/square-user-round-CUJ0txH5.js +0 -1
- package/dist/client/assets/square-x-Coydk_Yd.js +0 -1
- package/dist/client/assets/squares-exclude-CqTKm6G_.js +0 -1
- package/dist/client/assets/squares-intersect-H5CN6r1k.js +0 -1
- package/dist/client/assets/squares-subtract-6UCc-l9s.js +0 -1
- package/dist/client/assets/squares-unite-B291YKik.js +0 -1
- package/dist/client/assets/squircle-DaP-q7-F.js +0 -1
- package/dist/client/assets/squircle-dashed-BlL-bMFQ.js +0 -1
- package/dist/client/assets/squirrel-DVfUJfTp.js +0 -1
- package/dist/client/assets/stamp-DPp-APYP.js +0 -1
- package/dist/client/assets/star-DASAgZh5.js +0 -1
- package/dist/client/assets/star-half-DR14XWdE.js +0 -1
- package/dist/client/assets/star-off-C1QI5k9D.js +0 -1
- package/dist/client/assets/stateDiagram-D77RDMKH-CTvEZ_aB.js +0 -1
- package/dist/client/assets/stateDiagram-D77RDMKH-CTvEZ_aB.js.br +0 -0
- package/dist/client/assets/stateDiagram-D77RDMKH-CTvEZ_aB.js.gz +0 -0
- package/dist/client/assets/stateDiagram-v2-MP3YSRHH-BzMFDywk.js +0 -1
- package/dist/client/assets/step-back-Bp1tOnK3.js +0 -1
- package/dist/client/assets/step-forward-CdP1NG87.js +0 -1
- package/dist/client/assets/stethoscope-D3V2EzYd.js +0 -1
- package/dist/client/assets/sticker-BK2eW0lk.js +0 -1
- package/dist/client/assets/sticky-note-CFNTUoLC.js +0 -1
- package/dist/client/assets/sticky-note-check-DBGQ4TO0.js +0 -1
- package/dist/client/assets/sticky-note-minus-Basse0ml.js +0 -1
- package/dist/client/assets/sticky-note-off-BTcNsUR4.js +0 -1
- package/dist/client/assets/sticky-note-plus-C7_ynDXh.js +0 -1
- package/dist/client/assets/sticky-note-x-XOiGIi5q.js +0 -1
- package/dist/client/assets/sticky-notes-BvzqFcFb.js +0 -1
- package/dist/client/assets/stone-Dexj40MQ.js +0 -1
- package/dist/client/assets/store-CJ7wiPyO.js +0 -1
- package/dist/client/assets/stretch-horizontal-DOf2RnzN.js +0 -1
- package/dist/client/assets/stretch-vertical-DwQwQo6j.js +0 -1
- package/dist/client/assets/strikethrough-5GTgWsFl.js +0 -1
- package/dist/client/assets/subscript-Vq9GProx.js +0 -1
- package/dist/client/assets/sun-EjMFxups.js +0 -1
- package/dist/client/assets/sun-dim--BNmF4Sz.js +0 -1
- package/dist/client/assets/sun-medium-j5DnSULt.js +0 -1
- package/dist/client/assets/sun-moon-BFseVzRb.js +0 -1
- package/dist/client/assets/sun-snow-BDJ9fTXo.js +0 -1
- package/dist/client/assets/sunrise-ONyzN0TG.js +0 -1
- package/dist/client/assets/sunset-fYsMKHTl.js +0 -1
- package/dist/client/assets/superscript-B154id5K.js +0 -1
- package/dist/client/assets/swatch-book-6Dhlv1A4.js +0 -1
- package/dist/client/assets/swimlanes-42K2YHIH-Dw9cr-Jh.js +0 -1
- package/dist/client/assets/swimlanes-42K2YHIH-Dw9cr-Jh.js.br +0 -0
- package/dist/client/assets/swimlanes-42K2YHIH-Dw9cr-Jh.js.gz +0 -0
- package/dist/client/assets/swimlanesDiagram-VR7AAH4N-2Lny2a4P.js +0 -8
- package/dist/client/assets/swiper-DcVGWmat.js +0 -1
- package/dist/client/assets/swiper-DcVGWmat.js.br +0 -0
- package/dist/client/assets/swiper-DcVGWmat.js.gz +0 -0
- package/dist/client/assets/swiss-franc-fXKDfNxm.js +0 -1
- package/dist/client/assets/switch-camera-CkjpQodo.js +0 -1
- package/dist/client/assets/sword-MgBinHon.js +0 -1
- package/dist/client/assets/swords-BiJ7cVUS.js +0 -1
- package/dist/client/assets/syringe-DRIkAbPL.js +0 -1
- package/dist/client/assets/table-2-D7DUQyHV.js +0 -1
- package/dist/client/assets/table-CYjho6ld.js +0 -1
- package/dist/client/assets/table-cells-merge-BoRXjTH3.js +0 -1
- package/dist/client/assets/table-cells-split-5pfnPI2i.js +0 -1
- package/dist/client/assets/table-columns-split-CJJ0zn5P.js +0 -1
- package/dist/client/assets/table-of-contents-BZ1MZUyJ.js +0 -1
- package/dist/client/assets/table-properties-Rv9Yc6Jy.js +0 -1
- package/dist/client/assets/table-rows-split-TONwFzRU.js +0 -1
- package/dist/client/assets/tablet-BW9Egf2n.js +0 -1
- package/dist/client/assets/tablet-smartphone-DvSxiPGO.js +0 -1
- package/dist/client/assets/tablets-CWHPLHSV.js +0 -1
- package/dist/client/assets/tag-DRoOo5vu.js +0 -1
- package/dist/client/assets/tags-DsunTq6b.js +0 -1
- package/dist/client/assets/tally-1-DyhZgSnM.js +0 -1
- package/dist/client/assets/tally-2-i2K8duf2.js +0 -1
- package/dist/client/assets/tally-3-CDlVjB6X.js +0 -1
- package/dist/client/assets/tally-4-UUPPE9XV.js +0 -1
- package/dist/client/assets/tally-5-BNEVnZEK.js +0 -1
- package/dist/client/assets/tangent-qZVSFD7A.js +0 -1
- package/dist/client/assets/target-BJePzUEj.js +0 -1
- package/dist/client/assets/telescope-BkqUnsvv.js +0 -1
- package/dist/client/assets/tent-DuODaXZD.js +0 -1
- package/dist/client/assets/tent-tree-BQaY6OBO.js +0 -1
- package/dist/client/assets/test-tube-C_hpsbh8.js +0 -1
- package/dist/client/assets/test-tube-diagonal-CXGwyTVV.js +0 -1
- package/dist/client/assets/test-tubes-Dn2-pWGC.js +0 -1
- package/dist/client/assets/text-align-center-CRoOmwza.js +0 -1
- package/dist/client/assets/text-align-end-CmS0Zg77.js +0 -1
- package/dist/client/assets/text-align-justify-BDN4pvBS.js +0 -1
- package/dist/client/assets/text-align-start-CSmrcFJu.js +0 -1
- package/dist/client/assets/text-cursor-DgJeWJOy.js +0 -1
- package/dist/client/assets/text-cursor-input-CVMTunoD.js +0 -1
- package/dist/client/assets/text-initial-CosLbcBx.js +0 -1
- package/dist/client/assets/text-quote-Brn5GhoN.js +0 -1
- package/dist/client/assets/text-search-CxlXSNzk.js +0 -1
- package/dist/client/assets/text-wrap-B673POaz.js +0 -1
- package/dist/client/assets/theater-tHsHHLvJ.js +0 -1
- package/dist/client/assets/thermometer-cAlA0Vys.js +0 -1
- package/dist/client/assets/thermometer-snowflake-BNHd8qOp.js +0 -1
- package/dist/client/assets/thermometer-sun-C4oL5H3S.js +0 -1
- package/dist/client/assets/thumbs-down-CUUBDdW2.js +0 -1
- package/dist/client/assets/thumbs-up-wD3y57Og.js +0 -1
- package/dist/client/assets/ticket-Wd5yEh4Z.js +0 -1
- package/dist/client/assets/ticket-check-Awryaf0s.js +0 -1
- package/dist/client/assets/ticket-minus-qoY_3Jsm.js +0 -1
- package/dist/client/assets/ticket-percent-C96Y1Al7.js +0 -1
- package/dist/client/assets/ticket-plus-BgBIgeH_.js +0 -1
- package/dist/client/assets/ticket-slash-Qh9UB9lr.js +0 -1
- package/dist/client/assets/ticket-x-D3FOAe61.js +0 -1
- package/dist/client/assets/tickets-Cd66H5Am.js +0 -1
- package/dist/client/assets/tickets-plane-bFwrO8PI.js +0 -1
- package/dist/client/assets/timeline-BZsB2AfH.js +0 -1
- package/dist/client/assets/timeline-definition-24CTP7MA-Dr5AA87P.js +0 -120
- package/dist/client/assets/timeline-definition-24CTP7MA-Dr5AA87P.js.br +0 -0
- package/dist/client/assets/timeline-definition-24CTP7MA-Dr5AA87P.js.gz +0 -0
- package/dist/client/assets/timer-CSkua-FT.js +0 -1
- package/dist/client/assets/timer-off-CaFH8n_I.js +0 -1
- package/dist/client/assets/timer-reset-puFmlMuC.js +0 -1
- package/dist/client/assets/toggle-left-C-y084bR.js +0 -1
- package/dist/client/assets/toggle-right-BNOcKobt.js +0 -1
- package/dist/client/assets/toilet-CuD76N0J.js +0 -1
- package/dist/client/assets/tool-case-CL0ZVf4t.js +0 -1
- package/dist/client/assets/toolbox-_T6Qz6Gp.js +0 -1
- package/dist/client/assets/tornado-BpPidPeE.js +0 -1
- package/dist/client/assets/torus-DiJ_wLV5.js +0 -1
- package/dist/client/assets/touchpad-VKM1vFpP.js +0 -1
- package/dist/client/assets/touchpad-off-C1Xb1Q6a.js +0 -1
- package/dist/client/assets/towel-rack-CCRO-Kuf.js +0 -1
- package/dist/client/assets/tower-control-Cmg3Qykx.js +0 -1
- package/dist/client/assets/toy-brick-DkOTF83V.js +0 -1
- package/dist/client/assets/tractor-CYCLZicX.js +0 -1
- package/dist/client/assets/traffic-cone-C1YN-rf0.js +0 -1
- package/dist/client/assets/train-front-D8_SqfBZ.js +0 -1
- package/dist/client/assets/train-front-tunnel-CyfNTyho.js +0 -1
- package/dist/client/assets/train-track-C2iBhOop.js +0 -1
- package/dist/client/assets/tram-front-CP-2E2MD.js +0 -1
- package/dist/client/assets/transgender-OSa-s64W.js +0 -1
- package/dist/client/assets/trash-DWpgZDxL.js +0 -1
- package/dist/client/assets/tree-deciduous-Dgm5JyL8.js +0 -1
- package/dist/client/assets/tree-palm-FE2QIpZW.js +0 -1
- package/dist/client/assets/tree-pine-CB5eKova.js +0 -1
- package/dist/client/assets/trees-DKOWogtA.js +0 -1
- package/dist/client/assets/trending-down-Be9MqeCn.js +0 -1
- package/dist/client/assets/trending-up-OWqGRoIx.js +0 -1
- package/dist/client/assets/trending-up-down-CNbNmNQ0.js +0 -1
- package/dist/client/assets/triangle-Fle68_eD.js +0 -1
- package/dist/client/assets/triangle-alert-BcpaQxCW.js +0 -1
- package/dist/client/assets/triangle-dashed-Djmthg0v.js +0 -1
- package/dist/client/assets/triangle-right-LqpXno2r.js +0 -1
- package/dist/client/assets/trophy-B18-FlqG.js +0 -1
- package/dist/client/assets/truck-Q2xm26Oa.js +0 -1
- package/dist/client/assets/truck-electric-PCxzxf6J.js +0 -1
- package/dist/client/assets/turkish-lira-CvSj15ad.js +0 -1
- package/dist/client/assets/turntable-CaLr6Kyz.js +0 -1
- package/dist/client/assets/turtle-DMPxp5Sd.js +0 -1
- package/dist/client/assets/tv-CtOPSwv6.js +0 -1
- package/dist/client/assets/tv-minimal-CNCRml_i.js +0 -1
- package/dist/client/assets/tv-minimal-play-DC7-IGBY.js +0 -1
- package/dist/client/assets/type-C8dAyHWL.js +0 -1
- package/dist/client/assets/type-outline-DNLjlIU8.js +0 -1
- package/dist/client/assets/umbrella-CKry7Kly.js +0 -1
- package/dist/client/assets/umbrella-off-Dyz5BJds.js +0 -1
- package/dist/client/assets/underline-BthpiC3C.js +0 -1
- package/dist/client/assets/undo-2-Dr5V6HB4.js +0 -1
- package/dist/client/assets/undo-dot-DL35veUK.js +0 -1
- package/dist/client/assets/undo-yeZA6IjQ.js +0 -1
- package/dist/client/assets/unfold-horizontal-9Kb2d04M.js +0 -1
- package/dist/client/assets/unfold-vertical-CnZfdMBG.js +0 -1
- package/dist/client/assets/ungroup-CBBBcyOE.js +0 -1
- package/dist/client/assets/university-LdBS_U_3.js +0 -1
- package/dist/client/assets/unlink-2-DcMRTQIP.js +0 -1
- package/dist/client/assets/unlink-yxEGIxws.js +0 -1
- package/dist/client/assets/unplug-Cv2A6wsR.js +0 -1
- package/dist/client/assets/upload-DHFik5jS.js +0 -1
- package/dist/client/assets/usb-V9OOEi4_.js +0 -1
- package/dist/client/assets/use-gesture-react.esm-Usl56Uy4.js +0 -1
- package/dist/client/assets/use-gesture-react.esm-Usl56Uy4.js.br +0 -0
- package/dist/client/assets/use-gesture-react.esm-Usl56Uy4.js.gz +0 -0
- package/dist/client/assets/user-BpITwq1d.js +0 -1
- package/dist/client/assets/user-check-CeIDKvV-.js +0 -1
- package/dist/client/assets/user-cog-DKlJMTW0.js +0 -1
- package/dist/client/assets/user-key-vVDYVFTB.js +0 -1
- package/dist/client/assets/user-lock-Dpys-ZmU.js +0 -1
- package/dist/client/assets/user-minus-Dstg6N_7.js +0 -1
- package/dist/client/assets/user-pen-CEB03yYn.js +0 -1
- package/dist/client/assets/user-plus-Cc3mhJOv.js +0 -1
- package/dist/client/assets/user-round-D6qa-HDT.js +0 -1
- package/dist/client/assets/user-round-check-BkecHWCR.js +0 -1
- package/dist/client/assets/user-round-cog-pQzknQJm.js +0 -1
- package/dist/client/assets/user-round-key-KisIsEmz.js +0 -1
- package/dist/client/assets/user-round-minus-DUcnQdxM.js +0 -1
- package/dist/client/assets/user-round-pen-DX6Mo72a.js +0 -1
- package/dist/client/assets/user-round-plus-CaDtcByx.js +0 -1
- package/dist/client/assets/user-round-search-BbyOshO5.js +0 -1
- package/dist/client/assets/user-round-x-DqExXjHN.js +0 -1
- package/dist/client/assets/user-search-Ct6EMNCk.js +0 -1
- package/dist/client/assets/user-star-DhlVEwVb.js +0 -1
- package/dist/client/assets/user-x-CLKv-zQY.js +0 -1
- package/dist/client/assets/users-iPX-nuVZ.js +0 -1
- package/dist/client/assets/users-round-fajSlpZU.js +0 -1
- package/dist/client/assets/utensils-D3VIbqfA.js +0 -1
- package/dist/client/assets/utensils-crossed-xg6fY2Nd.js +0 -1
- package/dist/client/assets/utility-pole-DJUJnoGx.js +0 -1
- package/dist/client/assets/van-1H6d4xpU.js +0 -1
- package/dist/client/assets/variable-Dv9bRM21.js +0 -1
- package/dist/client/assets/vault-Cl1gZ4na.js +0 -1
- package/dist/client/assets/vector-square-ff04lVx0.js +0 -1
- package/dist/client/assets/vegan-DgTYKaIf.js +0 -1
- package/dist/client/assets/venetian-mask-BwgZK_d2.js +0 -1
- package/dist/client/assets/vennDiagram-4TSXK5OY-ClUdzJv_.js +0 -34
- package/dist/client/assets/vennDiagram-4TSXK5OY-ClUdzJv_.js.br +0 -0
- package/dist/client/assets/vennDiagram-4TSXK5OY-ClUdzJv_.js.gz +0 -0
- package/dist/client/assets/venus-BYcnERSU.js +0 -1
- package/dist/client/assets/venus-and-mars-Bw8zoKxx.js +0 -1
- package/dist/client/assets/vibrate-B-JGi570.js +0 -1
- package/dist/client/assets/vibrate-off-B2TuGOAv.js +0 -1
- package/dist/client/assets/video-off-CGbPZJx9.js +0 -1
- package/dist/client/assets/videoCompression-FazlZ86q.js +0 -3
- package/dist/client/assets/videoCompression-FazlZ86q.js.br +0 -0
- package/dist/client/assets/videoCompression-FazlZ86q.js.gz +0 -0
- package/dist/client/assets/videotape-D6OxNc8g.js +0 -1
- package/dist/client/assets/view-C2_YCzXR.js +0 -1
- package/dist/client/assets/voicemail-DJQJBkqe.js +0 -1
- package/dist/client/assets/volleyball-DS2Jp-Ru.js +0 -1
- package/dist/client/assets/volume-1-COAGo1-B.js +0 -1
- package/dist/client/assets/volume-2-BzOmfi6e.js +0 -1
- package/dist/client/assets/volume-l9ZfD3_c.js +0 -1
- package/dist/client/assets/volume-off-Bl45dQ3h.js +0 -1
- package/dist/client/assets/volume-x-G3F0_ClK.js +0 -1
- package/dist/client/assets/vote-CheiurVw.js +0 -1
- package/dist/client/assets/wallet-Dnd3Pevr.js +0 -1
- package/dist/client/assets/wallet-cards-ylEx1JVa.js +0 -1
- package/dist/client/assets/wallet-minimal-DQZMEYci.js +0 -1
- package/dist/client/assets/wallpaper-DlCBaBmr.js +0 -1
- package/dist/client/assets/wand-CoGCHkvm.js +0 -1
- package/dist/client/assets/wand-sparkles-JKiN2Ehp.js +0 -1
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-CMHuDBS0.js +0 -78
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-CMHuDBS0.js.br +0 -0
- package/dist/client/assets/wardleyDiagram-VM6X3IG4-CMHuDBS0.js.gz +0 -0
- package/dist/client/assets/warehouse-10WBTYIL.js +0 -1
- package/dist/client/assets/washing-machine-CuG1I9sD.js +0 -1
- package/dist/client/assets/watch-DLqEaZKy.js +0 -1
- package/dist/client/assets/waves-arrow-down-B7ZTMhIq.js +0 -1
- package/dist/client/assets/waves-arrow-up-DB5pV5G-.js +0 -1
- package/dist/client/assets/waves-horizontal-CupHROOx.js +0 -1
- package/dist/client/assets/waves-ladder-OhwP3Hwc.js +0 -1
- package/dist/client/assets/waves-vertical-Ctn2yb4Q.js +0 -1
- package/dist/client/assets/waypoints-jWHECajG.js +0 -1
- package/dist/client/assets/webcam-CvMXtmFA.js +0 -1
- package/dist/client/assets/webhook-CIA4s5L-.js +0 -1
- package/dist/client/assets/webhook-off-DOcEaSnl.js +0 -1
- package/dist/client/assets/weight-BONj21SZ.js +0 -1
- package/dist/client/assets/weight-tilde-Cgqb__Qz.js +0 -1
- package/dist/client/assets/wheat-off-B0dMFx8j.js +0 -1
- package/dist/client/assets/wheat-vnILBVDT.js +0 -1
- package/dist/client/assets/whole-word-jRtnuljT.js +0 -1
- package/dist/client/assets/wifi-CW1gOf6M.js +0 -1
- package/dist/client/assets/wifi-cog-uN42nWod.js +0 -1
- package/dist/client/assets/wifi-high-DFM99RHD.js +0 -1
- package/dist/client/assets/wifi-low-Bnvn0y_G.js +0 -1
- package/dist/client/assets/wifi-pen-6sa_R8zI.js +0 -1
- package/dist/client/assets/wifi-sync-DwEvsJby.js +0 -1
- package/dist/client/assets/wifi-zero-DJShUQSw.js +0 -1
- package/dist/client/assets/wind-XJkgQ-he.js +0 -1
- package/dist/client/assets/wind-arrow-down-DqHiQwgO.js +0 -1
- package/dist/client/assets/wine-BpbnfeRM.js +0 -1
- package/dist/client/assets/wine-off-DUtwQIeM.js +0 -1
- package/dist/client/assets/workflow-DOtXYxEd.js +0 -1
- package/dist/client/assets/worm-Xn4rMDu3.js +0 -1
- package/dist/client/assets/wrench-ICEzQG2S.js +0 -1
- package/dist/client/assets/x-line-top-DB-azT8W.js +0 -1
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-BmLn6Ovo.js +0 -7
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-BmLn6Ovo.js.br +0 -0
- package/dist/client/assets/xychartDiagram-S5SC5T6Z-BmLn6Ovo.js.gz +0 -0
- package/dist/client/assets/zap-BM7PoKmH.js +0 -1
- package/dist/client/assets/zap-off-CxreBkm2.js +0 -1
- package/dist/client/assets/zodiac-aquarius-DLp5Iko_.js +0 -1
- package/dist/client/assets/zodiac-aries-BR-oYSMf.js +0 -1
- package/dist/client/assets/zodiac-cancer-Bj6nT0Jx.js +0 -1
- package/dist/client/assets/zodiac-capricorn-Bei0rf6E.js +0 -1
- package/dist/client/assets/zodiac-gemini-Bqo0JSmd.js +0 -1
- package/dist/client/assets/zodiac-leo-k3yfbqGM.js +0 -1
- package/dist/client/assets/zodiac-libra-_yscR4_w.js +0 -1
- package/dist/client/assets/zodiac-ophiuchus-WdDZtX-e.js +0 -1
- package/dist/client/assets/zodiac-pisces-DcD5MF9p.js +0 -1
- package/dist/client/assets/zodiac-sagittarius-Dh0_REKG.js +0 -1
- package/dist/client/assets/zodiac-scorpio-FhuwIr7w.js +0 -1
- package/dist/client/assets/zodiac-taurus-DRLDnNFX.js +0 -1
- package/dist/client/assets/zodiac-virgo-BA7VaWz5.js +0 -1
- package/dist/client/assets/zoom-in-DSfxRkuZ.js +0 -1
- package/dist/client/assets/zoom-out-BRshezzc.js +0 -1
|
@@ -0,0 +1,1729 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/ModelPreview-JqWADsgm.js","assets/app-x3GyQcok.js","assets/dnd-CYu7YLJF.js","assets/terminal-DaiFCKy_.js","assets/index-CBb0xNS1.css","assets/search-DO7TweDR.js","assets/eye-off-FevxaI5W.js","assets/eye-BXb4uX3p.js","assets/focus-OfJ6ldzt.js","assets/undo-2-um_j5RD-.js","assets/sun-CEmVZgH5.js","assets/moon-CepJ4VEe.js","assets/list-tree-C2XK8Y65.js","assets/layers-ZzYwAvrT.js","assets/tag-Ddi2qSa8.js","assets/scissors-CbFYLICY.js","assets/minimize-CqzwPXkJ.js","assets/maximize-BDXGdAUY.js","assets/house-DoOvaDGW.js","assets/arrow-left-right-CCyy0FrC.js","assets/quote-Dl99G_Qx.js","assets/GitLoadingSkeleton-DHSkruhR.js","assets/panel-left-close-BYMSCt4D.js","assets/panel-left-open-D9BnbI1F.js","assets/panel-right-close-90OxPbN6.js","assets/panel-right-open-b4zu3R7s.js","assets/swiper-HQML44_F.js","assets/swiper-C2J0D0kV.css","assets/MarkdownPreview-COxwQyqc.js","assets/Markdown-CoYnDmB-.js","assets/use-gesture-react.esm-BoHm6IWK.js","assets/referenceSelection-CGMa_B2n.js","assets/Markdown-DKQhs57e.css","assets/RecordingSaveDialog-cvqqrTqB.js","assets/gestureArbiter-DszagC-d.js","assets/folder-tree-DyWRt73x.js","assets/funnel-Clh5WtBo.js","assets/DiffReview-BOTaz5gZ.js","assets/list-CyAB3Dj2.js","assets/DiffViewer-Beo85Ou6.js","assets/git-compare-XTS-0bEf.js","assets/link-8mSEoJar.js","assets/DiffViewer-T3uj2-aP.css","assets/triangle-alert-Bo7zdybT.js","assets/ChangeWalkthroughPanel-BI7Ftf2M.js","assets/chevron-left-T59bhjJp.js","assets/minimize-2-Ct0mHv0k.js","assets/maximize-2-BsT0V4WT.js","assets/git-branch-CGSo-alO.js","assets/rotate-cw-YKjB4Z-7.js","assets/pen-line-CcJN1sNL.js","assets/send-Cwq3J-bb.js","assets/corner-down-left-FlSZHn-A.js","assets/AndroidMirrorView-B0Hw8vBw.js","assets/v4-EwEgHOG0.js","assets/grip-vertical-BTR1rjo6.js","assets/unplug-CIs9h9Fn.js","assets/plug-19-W7McZ.js","assets/camera-Bxzjhlyy.js","assets/square-s2QWD8aH.js","assets/circle-BZgtRXHQ.js","assets/monitor-smartphone-PZkxDvAk.js","assets/bell-CQHNQDrd.js","assets/volume-1-BnnH38xp.js","assets/volume-2-DyNqOgau.js","assets/power-Dtifx8Tt.js","assets/keyboard-B3AsNCG6.js","assets/minus-fKI9JRJz.js","assets/VideoPreviewPlayer-CXBOaNi_.js","assets/pause-BkUQYJ6y.js","assets/play-Bu19BhWe.js","assets/scan-DnmziHEQ.js","assets/arrow-down-CDEtdEWy.js","assets/pencil-line-CJ7qfd8P.js","assets/network-Clkw1Lte.js","assets/upload-Bq8VkxNP.js","assets/image-plus-B4LL6cG4.js","assets/sliders-horizontal-pWhs9tf8.js","assets/case-sensitive--cER3KyS.js","assets/whole-word-DY2l5M3I.js","assets/regex-VcfA42uY.js","assets/archive-PbhwntiN.js","assets/ArchitecturePanel-CIlGwqp0.js","assets/link-D4yDVdfg.js","assets/history-BBkBtqKJ.js","assets/purify.es-4eNOHKSq.js","assets/expand-qGPkA-lB.js","assets/arrow-down-left-CE3XpXnr.js","assets/ArchitecturePanel-B_BDrrfR.css","assets/ComputerControlView-BXuNQUF2.js","assets/zoom-out-CoWglUc-.js","assets/zoom-in-CWyqDBIX.js","assets/clipboard-C82gVIqO.js","assets/settings-2-mpSuxAGL.js","assets/mouse-pointer-2-C4BoL6DM.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{g2 as Yt,dh as t,s as ha,d5 as Xf,dI as Kd,ej as Jf,f$ as Qf,J as nt,x as Vd,F as Zf,h as Ns,ah as Vt,gg as U,eJ as eh,a3 as pa,gq as Nt,e3 as st,c as ma,cD as Yd,H as Qc,C as Es,g as ga,a9 as po,fS as ca,fT as Oi,aa as Zc,ex as Hi,L as ba,W as bo,cY as th,aP as ra,c7 as rh,g3 as Xd,q as zi,o as Jd,r as Qd,g1 as nh,g6 as Zd,d8 as sh,da as ah,db as oh,dc as ih,d9 as na,cm as lh,E as ch,N as dh,d2 as uh,e7 as fh,ea as hh,eb as ph,cQ as mh,e8 as ed,aO as xt,aG as eu,aI as gh,v as Wi,K as Si,aH as bh,fZ as ji,cP as td,cg as rd,cd as xh,cq as Ri,cr as nd,gr as ua,c0 as ks,cs as vh,dM as yh,fA as sd,cj as wh,fQ as kh,aQ as Ci,eQ as Sh,gh as Rr,ed as jh,eC as an,aJ as Rh,aK as ad,cv as Ch,b3 as od,b2 as Nh,ce as id,ci as Ph,co as ld,eT as Eh,ar as cd,l as dd,U as Ah,T as ud,b as Th,P as fd,a2 as hd,z as Mh,w as pd,aL as Lh,gs as Ih,ai as rl,eE as $h,dT as Fh,gn as Dh,dw as Bh,V as Uh}from"./app-x3GyQcok.js";import{S as _h,C as Oh,G as Hh}from"./GitLoadingSkeleton-DHSkruhR.js";import{u as nl,S as zh,a as md}from"./swiper-HQML44_F.js";import{MarkdownPreview as tu}from"./MarkdownPreview-COxwQyqc.js";import{f as s,r as Bn}from"./dnd-CYu7YLJF.js";import{u as Wh,F as ru,S as Gh}from"./RecordingSaveDialog-cvqqrTqB.js";import qh from"./funnel-Clh5WtBo.js";import{D as Gi,C as fa,f as Kh,n as Vh}from"./DiffReview-BOTaz5gZ.js";import sl from"./triangle-alert-Bo7zdybT.js";import{C as nu}from"./ChangeWalkthroughPanel-BI7Ftf2M.js";import Yh from"./rotate-cw-YKjB4Z-7.js";import{u as Xh}from"./DiffViewer-Beo85Ou6.js";import{r as Jh,s as Qh,l as Zh,a as gd,g as qi,b as ep,h as tp}from"./referenceSelection-CGMa_B2n.js";import rp from"./pen-line-CcJN1sNL.js";import bd from"./send-Cwq3J-bb.js";import np from"./corner-down-left-FlSZHn-A.js";import{A as Ni,u as sp,d as ap,i as xd,b as op}from"./AndroidMirrorView-B0Hw8vBw.js";import{V as ip}from"./VideoPreviewPlayer-CXBOaNi_.js";import lp from"./scan-DnmziHEQ.js";import su from"./minimize-2-Ct0mHv0k.js";import al from"./maximize-2-BsT0V4WT.js";import on from"./search-DO7TweDR.js";import{j as Pi,Z as cp,F as dp,b as up,_ as fp,c as hp,d as pp,e as mp,g as gp,f as bp,h as xp,r as vp,s as yp}from"./Markdown-CoYnDmB-.js";import{A as wp}from"./use-gesture-react.esm-BoHm6IWK.js";import kp from"./arrow-down-CDEtdEWy.js";import Sp from"./list-tree-C2XK8Y65.js";import Ki from"./eye-BXb4uX3p.js";import jp from"./eye-off-FevxaI5W.js";import Rp from"./house-DoOvaDGW.js";import Cr from"./git-branch-CGSo-alO.js";import Cp from"./pencil-line-CJ7qfd8P.js";import vd from"./network-Clkw1Lte.js";import Np from"./upload-Bq8VkxNP.js";import Pp from"./image-plus-B4LL6cG4.js";import Ep from"./sliders-horizontal-pWhs9tf8.js";import Ap from"./case-sensitive--cER3KyS.js";import Tp from"./whole-word-DY2l5M3I.js";import Mp from"./regex-VcfA42uY.js";import au from"./git-compare-XTS-0bEf.js";import Lp from"./archive-PbhwntiN.js";function yd({children:r,actions:a}){const{t:i}=Yt(),[c,h]=s.useState(!1),m=s.useId(),d=s.useRef(null),y=s.useRef(null),g=()=>{h(!1),d.current?.focus({preventScroll:!0})};return s.useLayoutEffect(()=>{if(!c)return;const k=d.current,w=y.current;if(!k||!w)return;const S=window.visualViewport,v=()=>{const N=k.getBoundingClientRect(),D=(S?.offsetLeft??0)+8,F=(S?.offsetTop??0)+8,Z=Math.max(0,(S?.width??window.innerWidth)-16),L=F+(S?.height??window.innerHeight)-16,q=Math.min(240,Z),le=Math.max(0,N.top-F-6),Y=Math.max(0,L-N.bottom-6),me=w.scrollHeight>Y&&le>Y;Object.assign(w.style,{width:`${q}px`,left:`${Math.max(D,Math.min(N.right-q,D+Z-q))}px`,top:`${me?N.top-6:N.bottom+6}px`,maxHeight:`${me?le:Y}px`,transform:me?"translateY(-100%)":"none"})};v();const A=typeof ResizeObserver>"u"?null:new ResizeObserver(v);return A?.observe(k),A?.observe(w),window.addEventListener("resize",v),window.addEventListener("scroll",v,!0),S?.addEventListener("resize",v),S?.addEventListener("scroll",v),()=>{A?.disconnect(),window.removeEventListener("resize",v),window.removeEventListener("scroll",v,!0),S?.removeEventListener("resize",v),S?.removeEventListener("scroll",v)}},[c]),s.useEffect(()=>{if(!c)return;y.current?.querySelector("button:not(:disabled)")?.focus({preventScroll:!0});const k=w=>{w.target instanceof Node&&!d.current?.contains(w.target)&&!y.current?.contains(w.target)&&h(!1)};return document.addEventListener("pointerdown",k),()=>document.removeEventListener("pointerdown",k)},[c]),t.jsxs("div",{className:"mt-2",children:[t.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-1.5",children:[r,t.jsxs("button",{ref:d,type:"button","aria-haspopup":"menu","aria-expanded":c,"aria-controls":c?m:void 0,onClick:()=>h(k=>!k),onKeyDown:k=>{(k.key==="ArrowDown"||k.key==="ArrowUp")&&(k.preventDefault(),h(!0))},className:`ml-auto inline-flex h-8 shrink-0 items-center gap-1.5 whitespace-nowrap rounded-md px-2 text-[11px] font-medium transition focus-visible:outline focus-visible:outline-2 focus-visible:outline-primary ${c?"bg-surface-2 text-foreground":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,children:[t.jsx(ha,{size:14}),i("sidebar.moreActions")]})]}),typeof document<"u"&&Bn.createPortal(t.jsx("div",{ref:y,id:m,hidden:!c,role:"menu","data-sidebar-gesture-ignore":!0,"aria-label":i("sidebar.moreActions"),className:"fixed z-menu-panel overflow-y-auto overscroll-contain rounded-lg border border-border/30 bg-surface p-1 shadow-[0_8px_24px_var(--app-shadow-soft)]",onKeyDown:k=>{if(!k.currentTarget.contains(k.target))return;const w=[...k.currentTarget.querySelectorAll("button:not(:disabled)")],S=w.indexOf(document.activeElement);let v;if(k.key==="Escape"){k.preventDefault(),k.stopPropagation(),g();return}if(k.key==="Tab"){g();return}if(k.key==="ArrowDown")v=(S+1)%w.length;else if(k.key==="ArrowUp")v=(S-1+w.length)%w.length;else if(k.key==="Home")v=0;else if(k.key==="End")v=w.length-1;else return;k.preventDefault(),w[v]?.focus({preventScroll:!0})},children:a(g)}),document.body)]})}const Ei="a[href],button,input,select,textarea,[tabindex],[contenteditable],iframe,summary,audio[controls],video[controls]",Ss=s.memo(function({active:a,mounted:i=!0,fallback:c=null,children:h}){const m=s.useRef(null);return s.useLayoutEffect(()=>{const d=m.current;if(!d||a)return;const y=new Map,g=S=>{y.has(S)||(y.set(S,S.inert),S.inert=!0)},k=S=>{S instanceof HTMLElement&&S.matches(Ei)&&g(S),S.querySelectorAll(Ei).forEach(g)};k(d);const w=new MutationObserver(S=>{for(const v of S)v.type==="attributes"?v.target instanceof HTMLElement&&v.target.matches(Ei)&&g(v.target):v.addedNodes.forEach(A=>{A instanceof Element&&k(A)})});return w.observe(d,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["tabindex","href","contenteditable","controls"]}),()=>{w.disconnect();for(const[S,v]of y)S.inert=v}},[a,i]),t.jsx("div",{ref:m,className:"absolute inset-0 min-h-0 overflow-hidden bg-surface text-foreground",style:a?void 0:{clipPath:"inset(100%)"},"aria-hidden":!a,children:i?typeof h=="function"?h():h:c})},(r,a)=>!r.active&&!a.active&&r.mounted===a.mounted);async function Ip(r){let a;try{await Promise.race([r(),new Promise(i=>{a=setTimeout(i,3e3)})])}catch{}finally{clearTimeout(a)}}function $p({active:r,rootPath:a,loading:i,delay:c,lastStartedRoot:h,load:m}){s.useEffect(()=>{if(!r||!a||i||h.current===a)return;const d=window.setTimeout(()=>{h.current=a,m(a)},c);return()=>window.clearTimeout(d)},[r,a,i,c,h,m])}function Fp(r,a,i,c){if(!a||r.defaultPrevented||r.nativeEvent.isComposing||r.altKey||r.ctrlKey||r.metaKey||r.shiftKey||r.key!=="ArrowUp"&&r.key!=="ArrowDown")return;const h=r.target;if(!(h instanceof HTMLElement)||!r.currentTarget.contains(h)||!Xf(h))return;const m=h.closest('button, a, input, textarea, select, [contenteditable]:not([contenteditable="false"]), [role="button"], [role="textbox"], [role="menu"], [role="listbox"], [role="slider"], [role="dialog"]');if(m&&!m.matches("[data-file-tree-path]")||window.getSelection()?.isCollapsed===!1)return;const d=Array.from(a.querySelectorAll("[data-file-tree-path]")).filter(S=>!S.closest('[hidden], [inert], [aria-hidden="true"]'));if(!d.some(S=>S.dataset.fileTreeType==="file"))return;const y=h.closest("[data-file-tree-path]"),g=d.findIndex(S=>y?S===y:S.dataset.fileTreePath===i),k=r.key==="ArrowDown"?1:-1;let w=g<0?k===1?0:d.length-1:g+k;for(r.preventDefault(),r.stopPropagation();w>=0&&w<d.length;w+=k){const S=d[w];if(S.dataset.fileTreeType==="file"){c(S.dataset.fileTreePath),a.contains(h)&&S.focus({preventScroll:!0}),S.scrollIntoView({block:"nearest",inline:"nearest"});return}}}function Dp({rootPath:r,paths:a,disabled:i,onChange:c}){const{t:h}=Yt(),m=Kd(r),d=Wh(m,m),y=d.path,g=Jf(y,m)??"",{result:k,error:w,reload:S}=Qf({path:y,showHidden:!0,action:"pick_git_ignore_exception"}),v=!!w,A=!!k,[N,D]=s.useState(!1),F=L=>d.navigate(L?`${m==="/"?"":m}/${L}`:m),Z=L=>{if(L.length>200){D(!0);return}D(!1),c(L)};return t.jsxs("div",{className:"flex flex-col gap-3",children:[t.jsxs("div",{className:"overflow-hidden rounded-lg border border-border/30 bg-surface-2",children:[t.jsxs("div",{className:"flex items-center gap-2 border-b border-border/20 p-2",children:[t.jsx(ru,{buttonClassName:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-elevated hover:text-foreground disabled:opacity-30",parent:{disabled:i||!d.canGoParent,onClick:d.goParent},root:{disabled:i||!g,onClick:d.goRoot}}),t.jsx("span",{className:"min-w-0 flex-1 truncate font-mono text-xs",title:y,children:g||"./"})]}),t.jsxs("div",{className:"h-56 overflow-y-auto overscroll-contain p-1",role:"group","aria-label":h("rightSidebar.gitIgnoreExceptionsPaths"),"aria-busy":!A&&!v,children:[v?t.jsxs("div",{className:"flex flex-col items-center gap-2 p-4 text-center text-xs",children:[t.jsx("p",{role:"alert",className:"text-destructive",children:h("rightSidebar.gitIgnoreExceptionsLoadFailed")}),t.jsx("button",{type:"button",disabled:i,onClick:S,className:"rounded-md px-3 py-2 text-primary hover:bg-surface-elevated disabled:opacity-40",children:h("common.retry")})]}):k?k.entries.length===0?t.jsx("p",{className:"p-4 text-center text-xs text-muted-foreground",children:h("rightSidebar.gitIgnoreExceptionsEmptyDirectory")}):k.entries.map(L=>{const q=g?`${g}/${L.name}`:L.name,le=q+(L.type==="directory"?"/":""),Y=a.includes(le)||a.includes(q),me=a.some(K=>K.endsWith("/")&&q.startsWith(K)),o=L.type==="directory"?Vd:Zf;return t.jsxs("div",{className:"flex items-center gap-1 rounded-md hover:bg-surface-elevated",children:[t.jsxs("label",{className:"flex min-h-10 min-w-0 flex-1 cursor-pointer items-center gap-2 px-2 text-xs",children:[t.jsx("input",{type:"checkbox",checked:Y||me,disabled:i||me,onChange:()=>Z(Y?a.filter(K=>K!==le&&K!==q):[...a,le]),className:"h-4 w-4 shrink-0 accent-[var(--primary)] disabled:opacity-40"}),t.jsx(o,{size:14,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{className:"truncate",title:L.name,children:L.name})]}),L.type==="directory"&&t.jsx("button",{type:"button",disabled:i,onClick:()=>F(q),"aria-label":h("rightSidebar.gitIgnoreExceptionsOpenDirectory",{name:L.name}),className:"inline-flex h-10 w-10 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface hover:text-foreground disabled:opacity-40",children:t.jsx(Ns,{size:15})})]},L.name)}):t.jsx("div",{className:"flex h-full items-center justify-center",children:t.jsx(nt,{size:18})}),k?.truncated&&t.jsx("p",{className:"px-2 py-3 text-xs text-muted-foreground",children:h("rightSidebar.gitIgnoreExceptionsTruncated")})]})]}),t.jsxs("div",{className:"flex items-center justify-between gap-2 text-xs",children:[t.jsx("span",{className:"font-medium",children:h("rightSidebar.gitIgnoreExceptionsSelected",{count:a.length})}),t.jsx("button",{type:"button",disabled:i||a.length===0,onClick:()=>Z([]),className:"rounded-md px-2 py-1 text-muted-foreground hover:bg-surface-2 hover:text-foreground disabled:opacity-40",children:h("rightSidebar.gitIgnoreExceptionsClear")})]}),a.length>0&&t.jsx("ul",{className:"max-h-24 overflow-y-auto overscroll-contain",children:a.map(L=>t.jsxs("li",{className:"flex items-center gap-2 rounded-md pl-2 text-xs hover:bg-surface-2",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate font-mono",title:L,children:L}),t.jsx("button",{type:"button",disabled:i,onClick:()=>Z(a.filter(q=>q!==L)),"aria-label":h("rightSidebar.gitIgnoreExceptionsRemove",{path:L}),className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-elevated hover:text-foreground disabled:opacity-40",children:t.jsx(Vt,{size:13})})]},L))}),N&&t.jsx("p",{role:"alert",className:"text-xs text-destructive",children:h("rightSidebar.gitIgnoreExceptionsInvalid")})]})}function Bp({rootPath:r,disabled:a,pressed:i,saving:c,onToggle:h}){const{t:m}=Yt(),d=s.useId(),y=s.useRef(null),g=s.useRef(null),k=s.useRef(null),w=s.useRef(null),S=s.useRef(!1),[v,A]=s.useState(!1),[N,D]=s.useState([]),[F,Z]=s.useState(!1),[L,q]=s.useState(null),le=U(T=>T.setGitIgnoreExceptions),Y=()=>{k.current!==null&&clearTimeout(k.current),k.current=null,w.current=null},me=()=>{Y(),!(a||F||!r)&&(D([...U.getState().gitIgnoreExceptions[r]??[]]),q(null),A(!0))},o=()=>{F||A(!1)},K=T=>{Y(),S.current=!1,!(T.button!==0||!T.isPrimary||a)&&(T.currentTarget.setPointerCapture(T.pointerId),w.current={x:T.clientX,y:T.clientY},k.current=setTimeout(()=>{S.current=!0,me()},450))};s.useEffect(()=>(A(!1),Y(),Y),[r]),s.useEffect(()=>{if(v)return g.current?.focus(),()=>eh(y.current,g.current)},[v]);const te=m(i?"rightSidebar.showGitIgnoredFiles":"rightSidebar.hideGitIgnoredFiles");return t.jsxs(t.Fragment,{children:[t.jsx("button",{ref:y,type:"button",disabled:a||F,"aria-pressed":i,"aria-label":te,"aria-description":m("rightSidebar.gitIgnoreConfigureHint"),title:`${te} · ${m("rightSidebar.gitIgnoreConfigureHint")}`,onClick:T=>{if(S.current&&T.detail!==0){S.current=!1,T.preventDefault();return}h()},onContextMenu:T=>{T.preventDefault(),S.current=!0,v||me()},onPointerDown:K,onPointerMove:T=>{const re=w.current;re&&Math.hypot(T.clientX-re.x,T.clientY-re.y)>10&&Y()},onPointerUp:Y,onPointerCancel:Y,onLostPointerCapture:Y,className:`inline-flex h-7 w-7 shrink-0 select-none items-center justify-center rounded-md transition active:scale-95 disabled:cursor-not-allowed disabled:opacity-35 [-webkit-touch-callout:none] ${i?"bg-surface-2 text-primary hover:bg-surface-elevated":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,children:c?t.jsx(nt,{size:14}):t.jsx(qh,{size:14})}),v&&Bn.createPortal(t.jsx("div",{className:"fixed inset-0 z-modal-backdrop flex items-center justify-center bg-[var(--app-backdrop)] p-3 backdrop-blur-sm",onClick:o,children:t.jsxs("form",{ref:g,role:"dialog",tabIndex:-1,"aria-modal":"true","aria-labelledby":`${d}-title`,"aria-describedby":`${d}-hint`,className:"relative z-modal-panel flex max-h-[80dvh] w-full max-w-lg flex-col gap-3 overflow-y-auto rounded-xl border border-border/20 bg-surface p-4 text-foreground shadow-2xl",onClick:T=>T.stopPropagation(),onKeyDown:T=>{if(T.key==="Escape"&&(T.preventDefault(),T.stopPropagation(),o()),T.key==="Tab"){const re=Array.from(g.current?.querySelectorAll("button:not(:disabled), input:not(:disabled)")??[]);if(!re.length){T.preventDefault(),g.current?.focus();return}const ke=re[0],C=re[re.length-1];T.shiftKey&&document.activeElement===ke&&(T.preventDefault(),C?.focus()),document.activeElement===g.current?(T.preventDefault(),(T.shiftKey?C:ke)?.focus()):!T.shiftKey&&document.activeElement===C&&(T.preventDefault(),ke?.focus())}},onSubmit:T=>{if(T.preventDefault(),!(!r||F)){if(N.length>200){q(m("rightSidebar.gitIgnoreExceptionsInvalid"));return}Z(!0),q(null),le(r,N).then(()=>A(!1)).catch(()=>q(m("rightSidebar.gitIgnoreExceptionsSaveFailed"))).finally(()=>Z(!1))}},children:[t.jsxs("div",{className:"flex items-center justify-between gap-3",children:[t.jsx("h2",{id:`${d}-title`,className:"text-sm font-medium",children:m("rightSidebar.gitIgnoreExceptionsTitle")}),t.jsx("button",{type:"button",disabled:F,onClick:o,"aria-label":m("common.close"),className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-2 hover:text-foreground disabled:opacity-40",children:t.jsx(Vt,{size:16})})]}),t.jsx("p",{className:"truncate text-xs text-muted-foreground",title:r??void 0,children:r}),t.jsx("p",{id:`${d}-hint`,className:"text-xs leading-relaxed text-muted-foreground",children:m("rightSidebar.gitIgnoreExceptionsHint")}),t.jsx("p",{className:"text-xs font-medium",children:m("rightSidebar.gitIgnoreExceptionsPaths")}),r&&t.jsx(Dp,{rootPath:r,paths:N,onChange:D,disabled:F}),L&&t.jsx("p",{role:"alert",className:"text-xs text-destructive",children:L}),t.jsxs("div",{className:"flex justify-end gap-2",children:[t.jsx("button",{type:"button",disabled:F,onClick:o,className:"rounded-lg px-3 py-2 text-xs text-muted-foreground hover:bg-surface-2 disabled:opacity-40",children:m("common.cancel")}),t.jsxs("button",{type:"submit",disabled:F,className:"inline-flex items-center gap-2 rounded-lg bg-primary px-3 py-2 text-xs font-medium text-primary-foreground disabled:opacity-50",children:[F&&t.jsx(nt,{size:13}),m("common.save")]})]})]})}),document.body)]})}function Up(r,a,i){try{const c=r instanceof HTMLImageElement?r.naturalWidth:r.width,h=r instanceof HTMLImageElement?r.naturalHeight:r.height;if(!c||!h)return Promise.resolve(null);const m=r instanceof HTMLImageElement?1400/Math.max(c,h):Math.min(1,1400/Math.max(c,h)),d=document.createElement("canvas");d.width=Math.max(1,Math.round(c*m)),d.height=Math.max(1,Math.round(h*m));const y=d.getContext("2d");if(!y)return Promise.resolve(null);const g=getComputedStyle(document.documentElement);if(y.fillStyle=g.getPropertyValue("--surface").trim()||"white",y.fillRect(0,0,d.width,d.height),y.drawImage(r,0,0,d.width,d.height),i){const k=Math.max(10,Math.min(16,d.width/35));y.font=`${k}px sans-serif`;const w=[];let S="";for(const v of i.split(" "))S&&y.measureText(`${S} ${v}`).width>d.width-20?(w.push(S),S=v):S=S?`${S} ${v}`:v;S&&w.push(S),y.fillStyle=g.getPropertyValue("--surface").trim()||"white",y.fillRect(0,0,d.width,w.length*(k+4)+12),y.fillStyle=g.getPropertyValue("--foreground").trim()||"black",w.forEach((v,A)=>y.fillText(v,10,8+k+A*(k+4)))}if(a){const k=a.xPercent*d.width/100,w=a.yPercent*d.height/100,S=Math.max(4,Math.min(12,Math.min(d.width,d.height)*.015)),v=S*1.6;y.strokeStyle=g.getPropertyValue("--primary").trim()||"black",y.lineWidth=Math.max(1,S/3),y.beginPath(),y.arc(k,w,S,0,Math.PI*2),y.stroke(),y.beginPath(),y.moveTo(k-v,w),y.lineTo(k+v,w),y.moveTo(k,w-v),y.lineTo(k,w+v),y.stroke()}return new Promise(k=>d.toBlob(k,"image/png"))}catch{return Promise.resolve(null)}}function _p(r,a,i,c){return[r.trim(),a.trim(),c?`截图:${c}`:""].filter(Boolean).join(`
|
|
3
|
+
`)}function Lb(r,a,i){const c=a*Math.PI/360,h=Math.min(c,Math.atan(Math.tan(c)*Math.max(i,.05)));return Math.max(r,1e-6)/Math.sin(h)*1.15}async function Op(r,a,i,c){if(!i?.snapshot)return c.isCurrent()?await c.insert(r,a):!1;const h=new Date().toISOString(),m=new AbortController;let d,y;try{y=await Promise.race([(async()=>{const g=await i.snapshot;if(!(!g||m.signal.aborted||!c.isCurrent()))return c.upload(new File([g],`termdock-review-${crypto.randomUUID()}.png`,{type:"image/png"}),m.signal)})(),new Promise(g=>{d=setTimeout(()=>{m.abort(),g(void 0)},3e3)})])}catch{}finally{clearTimeout(d),m.abort()}return c.isCurrent()?await c.insert(y?_p(r,"",h,y):r,a):!1}function Hp(r,a){return r===a||a.endsWith(`/${r}`)||r.endsWith(`/${a}`)}function wd(r,a){return`${r??""}\0${a}`}function zp(r,a,i){if(!r||r.length===0||!i)return{explained:0,stale:0};const c=wd(a,i);let h=0,m=0;for(const d of r){const y=[d.filePath,d.newPath,d.oldPath].filter(k=>typeof k=="string"&&k.length>0);(y.some(k=>wd(d.repoRoot,k)===c)||y.some(k=>Hp(k,i)))&&(h+=1)}return{explained:h,stale:m}}function Wp({status:r}){if(!r)return null;const a=r.stale>0&&r.explained===0;if(!(r.explained>0||r.stale>0))return null;const c=a?"AI audit explanation is stale":"AI audit explanation available";return t.jsx("span",{className:`inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-full ${a?"bg-[color:var(--warning)]/15 text-[color:var(--warning)]":"bg-accent/10 text-accent"}`,title:c,"aria-label":c,children:a?t.jsx(sl,{size:10}):t.jsx(pa,{size:10})})}function Vi({changeStatus:r,auditStatus:a,renderChangeBadge:i}){return t.jsxs("span",{className:"inline-flex items-center gap-1",children:[i(r),t.jsx(Wp,{status:a})]})}const ou="termdock:right-sidebar:diff-change-list-mode:v1";function Gp(r){return r==="list"||r==="tree"}function qp(){return st(ou,Gp)??"tree"}function Kp(r){for(const a of r){const i=a.hunk;if(i.oldPath&&i.newPath&&i.oldPath!==i.newPath)return"renamed";if(i.oldPath===null&&i.newPath)return"added";if(i.oldPath&&i.newPath===null)return"deleted"}return"modified"}function Vp(r){const a=new Map;for(const c of r){const h=a.get(c.hunk.filePath)??{key:c.hunk.filePath,filePath:c.hunk.filePath,items:[],additions:0,deletions:0,explained:0,stale:0,changeType:"modified"};h.items.push(c),h.additions+=c.hunk.additions,h.deletions+=c.hunk.deletions,c.current&&(h.explained+=1),c.stale&&(h.stale+=1),a.set(c.hunk.filePath,h)}const i=Array.from(a.values()).sort((c,h)=>c.filePath.localeCompare(h.filePath));for(const c of i)c.changeType=Kp(c.items);return i}function Yp(r){const a=r.filePath.split("/").pop()??r.filePath;return{key:r.key,path:r.filePath,displayName:a,displayDir:r.filePath.includes("/")?r.filePath.slice(0,-a.length-1):"",status:r.changeType,title:r.filePath}}function Xp(r,a){const i=r.filter(m=>m.trim().length>0);if(i.length<=1)return i[0]??"";const c=[],h=new Set;for(const[m,d]of i.entries()){const y=d.split(`
|
|
4
|
+
`),g=y.findIndex(S=>S.startsWith("@@ "));if(g<0){c.push(...y);continue}m===0&&c.push(...y.slice(0,g));const k=a[m];let w=g;for(;w>=0&&w<y.length;){const S=y.findIndex((Z,L)=>L>w&&Z.startsWith("@@ ")),v=S>=0?S:y.length,A=y.slice(w,v),N=A[0]??"",D=k?N===k:!0,F=N||k||A.join(`
|
|
5
|
+
`);D&&!h.has(F)&&(c.push(...A),h.add(F)),w=S}}return c.join(`
|
|
6
|
+
`)}function Jp({groups:r,onInsertDiffReference:a}){return r.map(i=>{const c=Xp(i.items.map(g=>g.hunk.diff||g.current?.diff||g.stale?.diff||""),i.items.map(g=>g.hunk.hunkHeader)),h=i.items.map(g=>g.current??g.stale).filter(g=>!!g).map(g=>({id:g.id,repoRoot:g.repoRoot,filePath:g.filePath,oldPath:g.oldPath,newPath:g.newPath,hunkHeader:g.hunkHeader,hunkIndex:g.hunkIndex,fingerprint:g.fingerprint,diff:g.diff,explanation:g.explanation,summary:g.summary,workspaceRoot:g.workspaceRoot,generatedBy:g.generatedBy,injectedAt:g.injectedAt})),m=i.filePath.split("/").pop()??i.filePath,d=i.filePath.includes("/")?i.filePath.slice(0,-m.length-1):"",y=i.items[0]?.repoRoot??h[0]?.repoRoot??null;return{key:i.key,path:i.filePath,oldPath:i.items[0]?.hunk.oldPath??void 0,absolutePath:y?`${y}/${i.items[0]?.repositoryPath??i.filePath}`:i.filePath,status:i.changeType,repoRoot:y,displayName:m,displayDir:d,diffOverride:c,oldSourceRef:i.items[0]?.current?.headRef?`${i.items[0].current.baseRef}...${i.items[0].current.headRef}`:i.items[0]?.stale?.headRef?`${i.items[0].stale.baseRef}...${i.items[0].stale.headRef}`:void 0,previewReverts:Object.fromEntries(i.items.flatMap(g=>g.hunk.previewRevert?[[g.hunk.hunkHeader,g.hunk.previewRevert]]:[])),auditRecords:h,onInsertDiffReference:a}})}function Qp(r,a,i){const c=Array.from(r.querySelectorAll("[data-diff-stream-item]"));if(c.length===0)return null;const m=r.getBoundingClientRect().top+48;let d=null,y=Number.POSITIVE_INFINITY;for(const k of c){const w=k.getBoundingClientRect();if(w.bottom<m)continue;const S=Math.abs(w.top-m);S<y&&(d=k,y=S)}const g=d?.dataset.diffSelectionPath??d?.dataset.diffStreamItem??null;return!g||g===a||i(g),g}function kd({items:r,selectedKey:a,onSelect:i,emptyText:c,mobile:h=!1,backLabel:m="Back",headerTitle:d,headerMeta:y,onClose:g,closeLabel:k="Back",wrap:w=!0,diffViewType:S,inlineMode:v,viewControls:A,onToggleWrap:N,wrapTitle:D,wrapOnLabel:F="Wrap on",wrapOffLabel:Z="Wrap off",desktopLayout:L="split",onInsertDiffReference:q,onReferenceCopied:le,renderPathReference:Y,insertedReferenceKey:me,copiedReferenceKey:o,onClearAuditRecord:K,onRefresh:te,localOptions:T,onHunkGitAction:re,error:ke,refreshing:C,actionsBusy:he,refreshLabel:_,refreshTitle:ae,walkthroughs:oe=[],onWalkthroughNavigate:E,initialDetailScrollTop:P,onDetailScrollPositionChange:J,scrollToKey:j,scrollToKeyNonce:ue,externalSwiperRef:ge,onMobileSlideChange:$}){const{t:ve}=Yt(),Se=s.useMemo(()=>Vp(r),[r]),je=s.useMemo(()=>new Map(Se.map(W=>[W.key,W])),[Se]),[at,ot]=s.useState(()=>qp()),[Ae,I]=s.useState(()=>new Set),[ce,Re]=s.useState({key:null,nonce:0}),X=Se.find(W=>W.explained>0||W.stale>0)?.key??Se[0]?.key??null,vt=a&&Se.some(W=>W.key===a)?a:X,Ce=s.useMemo(()=>[{key:"branch-audit",label:"Branch audit",files:Se.map(Yp)}],[Se]),hr=s.useMemo(()=>Jp({groups:Se,onInsertDiffReference:q}),[Se,q]),_e=s.useRef(X),Er=s.useRef(i);_e.current=X,Er.current=i,s.useEffect(()=>{!a&&_e.current&&Er.current(_e.current)},[a]);const be=N?t.jsxs("button",{type:"button",onClick:N,"aria-pressed":w,title:D,className:`inline-flex h-7 shrink-0 items-center gap-1 rounded-full px-2.5 text-[11px] font-medium transition active:scale-95 ${w?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:w?F:Z})]}):null,Xt=T?.map(W=>t.jsxs("label",{title:W.disabled?ve("rightSidebar.includeUncommittedCurrentBranchOnly"):W.key,className:"inline-flex min-w-0 items-center gap-1.5 text-[11px] text-muted-foreground",children:[t.jsx("input",{type:"checkbox",checked:W.checked,disabled:C||he||W.disabled&&!W.checked,onChange:Oe=>W.onChange(Oe.target.checked),className:"accent-primary"}),t.jsxs("span",{children:[W.label," · ",ve("rightSidebar.includeUncommitted"),W.disabled&&t.jsx("span",{className:"block text-[10px]",children:ve("rightSidebar.includeUncommittedCurrentBranchOnly")})]})]},W.key)),zr=ke?t.jsx("div",{role:"alert",className:"w-full text-xs text-destructive",children:ke}):null,Jt=te?t.jsxs("button",{type:"button",onClick:te,disabled:C||he,title:ae??_,"aria-label":ae??_,className:"inline-flex h-7 shrink-0 items-center gap-1 rounded-full bg-surface-2 px-2.5 text-[11px] font-medium text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 disabled:cursor-not-allowed disabled:opacity-60",children:[t.jsx(Yh,{size:12,className:C?"animate-spin":""}),_&&t.jsx("span",{children:_})]}):null,Ye=W=>t.jsxs("div",{className:"px-0 py-0",children:[t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0",children:[d&&t.jsx("div",{className:"truncate text-[12px] font-semibold text-foreground",children:d}),y&&t.jsx("div",{className:"mt-0.5 truncate text-[10px] text-muted-foreground",children:y})]}),g&&t.jsxs("button",{type:"button",onClick:g,className:"inline-flex h-8 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",children:[t.jsx(ma,{size:14}),k]})]}),t.jsxs("div",{className:"mt-2 flex min-w-0 flex-wrap items-center gap-1.5",children:[W,Xt,Jt,A,be,zr]})]});if(r.length===0){const W=t.jsx("div",{className:"rounded-lg bg-surface-2 px-3 py-6 text-center text-xs text-muted-foreground",children:c});return!d&&!g?W:t.jsxs("div",{className:"flex h-full min-h-0 flex-col gap-2",children:[Ye(null),W]})}const Un=N||te?({slideToList:W})=>t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[t.jsxs("button",{type:"button",className:"inline-flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",onClick:W,children:[t.jsx(ma,{size:14}),m]}),t.jsxs("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:[Xt,Jt,A,N&&t.jsxs("button",{type:"button",onClick:N,"aria-pressed":w,title:D,className:`inline-flex h-9 shrink-0 items-center gap-1 rounded-full px-3 text-[11px] font-medium transition active:scale-95 ${w?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:w?F:Z})]})]}),zr]}):void 0;return t.jsx(Gi,{mobile:h,preserveScrollOnUpdate:!!T?.length,desktopLayout:L,backLabel:m,groups:Ce,selectedKey:vt,mode:at,onModeChange:W=>{ot(W),W!=="ai"&&Nt(ou,W)},compact:h,collapsedDirectoryKeys:Ae,onToggleDirectory:W=>{I(Oe=>{const lt=new Set(Oe);return lt.has(W)?lt.delete(W):lt.add(W),lt})},onSelectFile:W=>{i(W.key),Re(Oe=>({key:W.key,nonce:Oe.nonce+1}))},renderLeading:W=>{const Oe=je.get(W.key);return t.jsx(Vi,{changeStatus:W.status,auditStatus:Oe,renderChangeBadge:lt=>t.jsx(fa,{status:lt})})},renderTrailing:W=>{const Oe=je.get(W.key);return t.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[Oe&&t.jsxs("span",{className:"shrink-0 text-[10px] text-muted-foreground",children:["+",Oe.additions," -",Oe.deletions]}),Y?.(W.path,"file")]})},renderDirectoryTrailing:W=>Y?.(W,"directory"),renderListHeader:Ye,aiContent:({slideToDetail:W,fullscreen:Oe,toggleFullscreen:lt})=>oe.length>0&&E?t.jsx(nu,{walkthroughs:oe,repoRoot:oe[0]?.repoRoot,fullscreen:Oe,onToggleFullscreen:lt,onNavigate:Pt=>{h&&window.requestAnimationFrame(W),E(Pt)}}):t.jsx("div",{className:"rounded-lg border border-border/15 bg-surface px-3 py-6 text-center text-xs text-muted-foreground",children:ve("rightSidebar.changeWalkthroughEmpty")}),renderMobileDetailHeader:Un,externalSwiperRef:ge,onMobileSlideChange:$,detailContainerClassName:h?"termdock-native-select termdock-diff-stream-scroller min-h-0":void 0,initialDetailScrollTop:P,scrollToKey:j??ce.key,scrollToKeyNonce:j==null?ce.nonce:ue,onDetailScroll:W=>{Qp(W,vt,i),J?.(W.scrollTop)},files:hr,activePane:!0,wrap:w,diffViewType:S,inlineMode:v,renderStreamBadge:(W,Oe)=>{const lt=je.get(Oe.key);return t.jsx(Vi,{changeStatus:W,auditStatus:lt,renderChangeBadge:Pt=>t.jsx(fa,{status:Pt})})},onInsertDiffReference:q,onReferenceCopied:le,insertedReferenceKey:me,copiedReferenceKey:o,onClearAuditRecord:K,onHunkGitAction:C?void 0:re,emptyContent:t.jsx("div",{className:"rounded-lg bg-surface-2 px-3 py-6 text-center text-xs text-muted-foreground",children:c})})}function Zp(r){return r.replace(/\/+$/,"")||"/"}function em(r){return[...new Set(Array.from(r,Zp))].sort((a,i)=>a.localeCompare(i))}function tm(r){return r==="event-storm"||r==="reconnected"||r==="directory-rescan"||r==="polling-fallback"}function rm(r){let a=null;return{applicableEvents:r.filter(c=>{const h=c.type==="rescan-required"&&!tm(c.reason);return h&&c.reason&&!a&&(a=c.reason),!h}),unavailableReason:a}}const nm=1400,sm=1200,iu=44,am=.7;function Ai(){return typeof window.matchMedia=="function"&&window.matchMedia("(pointer: coarse)").matches?"mobile":"desktop"}function Yi(r){return`termdock:right-sidebar:context-draft-height:${r}:v1`}function om(r){try{const a=window.localStorage.getItem(Yi(r)),i=a===null?NaN:Number(a);return Number.isFinite(i)&&i>=iu?i:null}catch{return null}}function Sd(r,a){try{a===null?window.localStorage.removeItem(Yi(r)):window.localStorage.setItem(Yi(r),String(a))}catch{}}function lo(){return typeof window.matchMedia=="function"&&window.matchMedia("(pointer: coarse)").matches}function im({value:r,collapsed:a,labels:i,focusRequest:c,insertError:h,autoCollapseAfterSend:m,onChange:d,onCollapsedChange:y,onAutoCollapseAfterSendChange:g,onDisable:k,onClear:w,onInsert:S,onInsertAndSend:v}){const[A,N]=s.useState(null),[D,F]=s.useState(!1),Z=s.useRef(!1),L=s.useRef(!0),[q,le]=s.useState(!1),[Y,me]=s.useState(()=>om(Ai())),o=s.useRef(Y),K=s.useRef(null),te=s.useRef(null),T=s.useRef(r),re=s.useRef(null),ke=s.useRef(null),C=!!r.trim(),he=r.trim().split(`
|
|
7
|
+
`)[0]??"",_=/Mac|iPhone|iPad/.test(window.navigator?.platform??"")?"⌘↵":"Ctrl+↵";s.useEffect(()=>(L.current=!0,()=>{L.current=!1,K.current!==null&&window.clearTimeout(K.current),te.current!==null&&window.clearTimeout(te.current)}),[]),s.useEffect(()=>{let I=!1;const ce=Ai();return Yd().then(Re=>{if(I)return;const X=Re.contextDraftHeight?.[ce]??null;Sd(ce,X),o.current=X,me(X)}).catch(()=>{}),()=>{I=!0}},[]),s.useEffect(()=>{if(c!==void 0&&c>0){const I=re.current;if(!I)return;lo()||I.focus(),I.setSelectionRange(I.value.length,I.value.length),I.scrollTop=I.scrollHeight}},[c]),s.useEffect(()=>{const I=T.current;T.current=r,!(!a||r.length<=I.length)&&(le(!0),te.current!==null&&window.clearTimeout(te.current),te.current=window.setTimeout(()=>{te.current=null,le(!1)},sm))},[r,a]),s.useEffect(()=>{if(a)return;const I=re.current;I&&(I.style.height=Y!==null?`${Y}px`:"")},[r,a,Y]),s.useEffect(()=>{if(a)return;const I=re.current;!I||document.activeElement===I||(I.scrollTop=I.scrollHeight)},[r,a]),s.useEffect(()=>{if(a||lo())return;const I=re.current;!I||document.activeElement===I||(I.focus(),I.setSelectionRange(I.value.length,I.value.length))},[a]);const ae=s.useRef(null);s.useLayoutEffect(()=>{if(!lo())return;const I=window.visualViewport;if(!I)return;const ce=()=>{const Re=ae.current;if(!Re)return;if(I.height>=window.innerHeight*.75){Re.style.transform="";return}const X=Re.getBoundingClientRect(),vt=Math.round(I.height-X.bottom);Re.style.transform=vt!==0?`translateY(${vt}px)`:""};return ce(),I.addEventListener("resize",ce),I.addEventListener("scroll",ce),()=>{I.removeEventListener("resize",ce),I.removeEventListener("scroll",ce),ae.current&&(ae.current.style.transform="")}},[a]);const oe=I=>{N(I),K.current!==null&&window.clearTimeout(K.current),K.current=window.setTimeout(()=>{K.current=null,N(null)},nm)},E=I=>{y(!1),lo()&&window.requestAnimationFrame(()=>{const ce=re.current;if(!ce)return;ce.focus();const Re=ce.value.length;ce.setSelectionRange(Re,Re),window.requestAnimationFrame(()=>{ce.setSelectionRange(Re,Re)})})},P=async(I,ce)=>{if(!(!C||Z.current)){Z.current=!0,F(!0),N(null);try{await(I==="sent"?v(ce):S(ce))&&L.current&&oe(I)}catch{}finally{Z.current=!1,L.current&&F(!1)}}},J=I=>{P("inserted",I.currentTarget)},j=I=>{P("sent",I.currentTarget)},ue=I=>{if(I.key==="Escape"){I.preventDefault(),y(!0);return}I.nativeEvent.isComposing||I.keyCode===229||I.key!=="Enter"||!I.metaKey&&!I.ctrlKey||(I.preventDefault(),j(I))},ge=I=>{I.preventDefault()},$=nl(()=>{ke.current&&(ke.current=null)}),ve=I=>{I.preventDefault();const ce=re.current;ce&&($(I),ke.current={startY:I.clientY,startHeight:ce.getBoundingClientRect().height},I.currentTarget.setPointerCapture?.(I.pointerId))},Se=I=>{const ce=ke.current;if(!ce)return;const Re=window.visualViewport?.height??window.innerHeight,X=Math.round(Math.min(Math.max(ce.startHeight+(ce.startY-I.clientY),iu),Re*am));o.current=X,me(X)},je=I=>{const ce=Ai();Sd(ce,I),ca({contextDraftHeight:{[ce]:I}}).catch(()=>{})},at=()=>{ke.current&&(ke.current=null,o.current!==null&&je(o.current))},ot=()=>{o.current=null,me(null),je(null)},Ae=r.length>0&&t.jsx("span",{className:"shrink-0 font-mono text-[10px] tabular-nums text-muted-foreground/50",children:i.characterCount(r.length)});return a?t.jsx("section",{ref:ae,className:"shrink-0 border-t border-border/15 text-foreground","data-context-draft-dock":!0,children:t.jsxs("div",{className:"flex h-8 items-center gap-1 px-2",children:[t.jsxs("button",{type:"button",onClick:()=>E(),className:"group flex min-w-0 flex-1 items-center gap-1.5 rounded-md px-1 py-1 text-left transition-colors hover:bg-surface/70","aria-expanded":!1,"aria-label":i.expand,title:i.expand,children:[t.jsx(rp,{size:11,className:"shrink-0 text-muted-foreground/55 transition-colors group-hover:text-muted-foreground","aria-hidden":"true"}),t.jsx("span",{className:`truncate text-[11px] ${h?"text-destructive":q?"text-primary":C?"text-foreground/80":"text-muted-foreground/50"}`,children:h??(q?i.appended:C?he:i.title)})]}),Ae,t.jsx("button",{type:"button",onClick:j,disabled:!C,"aria-busy":D,className:`inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-full transition active:scale-95 disabled:opacity-30 ${C?"bg-primary text-primary-foreground hover:bg-primary/90":"text-muted-foreground"}`,"aria-label":i.send,title:i.send,children:D?t.jsx(Qc,{size:12,className:"animate-spin"}):A==="sent"?t.jsx(Es,{size:12}):t.jsx(bd,{size:12})})]})}):t.jsxs("section",{ref:ae,className:"relative shrink-0 border-t border-border/15 text-foreground","data-context-draft-dock":!0,children:[t.jsx("div",{className:"group absolute left-1/2 top-0 z-10 flex h-3 w-16 -translate-x-1/2 -translate-y-1/2 cursor-ns-resize touch-none items-center justify-center",onPointerDown:ve,onPointerMove:Se,onPointerUp:at,onPointerCancel:at,onDoubleClick:ot,title:i.resize,"aria-hidden":"true",children:t.jsx("span",{className:"h-1 w-8 rounded-full bg-border/50 transition group-hover:bg-border"})}),t.jsxs("div",{className:"flex h-7 items-center gap-0.5 px-2",children:[t.jsxs("button",{type:"button",onPointerDown:ge,onClick:()=>y(!0),className:"group flex min-w-0 flex-1 items-center gap-1.5 rounded-md px-1 py-1 text-left transition-colors hover:bg-surface/70","aria-expanded":!0,"aria-label":i.collapse,title:i.collapse,children:[t.jsx(ga,{size:11,className:"shrink-0 text-muted-foreground/55 transition-colors group-hover:text-muted-foreground","aria-hidden":"true"}),t.jsx("span",{className:"truncate text-[10px] font-medium text-foreground/75",children:i.title}),Ae]}),t.jsx("button",{type:"button",role:"switch","aria-checked":m,onPointerDown:ge,onClick:()=>g(!m),className:"inline-flex h-6 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground/70 transition-colors hover:bg-surface/70 hover:text-foreground","aria-label":i.autoCollapseAfterSend,title:i.autoCollapseAfterSend,children:t.jsx("span",{"aria-hidden":"true",className:`relative h-3 w-5 rounded-full transition-colors ${m?"bg-primary":"bg-surface-elevated"}`,children:t.jsx("span",{className:`absolute top-0.5 h-2 w-2 rounded-full bg-primary-foreground transition-transform ${m?"translate-x-2.5":"translate-x-0.5"}`})})}),t.jsx("button",{type:"button",onPointerDown:ge,onClick:k,className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/50 transition hover:bg-surface/70 hover:text-foreground active:scale-95","aria-label":i.disable,title:i.disable,children:t.jsx(Vt,{size:11})})]}),t.jsx("div",{className:"px-2 pb-2",children:t.jsxs("div",{className:"overflow-hidden rounded-lg bg-surface/80 ring-1 ring-border/10 transition focus-within:ring-primary/35",children:[t.jsx("textarea",{ref:re,value:r,onChange:I=>d(I.target.value),onKeyDown:ue,placeholder:i.title,rows:1,className:"block min-h-11 w-full resize-none bg-transparent px-2.5 py-2 font-mono text-[12px] leading-relaxed text-foreground placeholder:text-muted-foreground/30 focus:outline-none",autoCapitalize:"sentences",spellCheck:!0,"data-context-draft-input":!0}),t.jsxs("div",{className:"flex items-center gap-0.5 border-t border-border/10 px-1 py-1",children:[t.jsx("button",{type:"button",onPointerDown:ge,onClick:w,disabled:!C,className:"inline-flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground/65 transition hover:bg-surface-2 hover:text-foreground active:scale-95 disabled:opacity-30","aria-label":i.clear,title:i.clear,children:t.jsx(po,{size:11})}),h?t.jsx("span",{className:"min-w-0 flex-1 truncate px-1 text-[10px] text-destructive",role:"alert",children:h}):t.jsx("span",{className:"flex-1"}),t.jsxs("button",{type:"button",onPointerDown:ge,onClick:J,disabled:!C,"aria-busy":D,className:"inline-flex h-6 shrink-0 items-center justify-center gap-1 rounded-md px-2 text-[10px] font-medium text-foreground/75 transition hover:bg-surface-2 hover:text-foreground active:scale-[0.98] disabled:opacity-30",children:[t.jsx(np,{size:11}),t.jsx("span",{children:D?i.pending??i.insert:A==="inserted"?i.inserted:i.insert})]}),t.jsxs("button",{type:"button",onPointerDown:ge,onClick:j,disabled:!C,"aria-busy":D,className:"inline-flex h-6 shrink-0 items-center justify-center gap-1 rounded-md bg-primary px-2 text-[10px] font-semibold text-primary-foreground transition hover:bg-primary/90 active:scale-[0.98] disabled:opacity-30",title:`${i.insertAndSend} · ${_}`,children:[D?t.jsx(Qc,{size:11,className:"animate-spin"}):A==="sent"?t.jsx(Es,{size:11}):t.jsx(bd,{size:11}),t.jsx("span",{children:A==="sent"?i.sent:i.send})]})]})]})})]})}function lm(r,a){const i=a.trim();if(!i)return r;if(!r.trim())return i;const c=r.endsWith(`
|
|
8
|
+
|
|
9
|
+
`)?"":r.endsWith(`
|
|
10
|
+
`)?`
|
|
11
|
+
`:`
|
|
12
|
+
|
|
13
|
+
`;return`${r}${c}${i}`}function cm(r,a){const i=r.trim();return i?a?`${i}\r`:/\s$/.test(r)?r:`${i} `:""}function dm(r,a){return{text:cm(r,a),options:{paste:/[\r\n]/.test(r),submitAfterPaste:a}}}function um(r){const[a,i]=s.useState(null),c=s.useRef(null),h=s.useRef(null),m=s.useRef(!0),d=s.useRef(r);d.current=r,s.useEffect(()=>(m.current=!0,()=>{m.current=!1,c.current?.controller.abort()}),[]);const y=s.useCallback(async v=>{if(c.current)return!1;c.current=v,h.current=v;const A=N=>{v.task={...v.task,...N},m.current&&c.current===v&&i(v.task)};A({status:v.task.retryFiles.length?"uploading":"inserting",error:void 0});try{if(v.task.retryFiles.length){const N=await Oi(v.task.directory,v.task.retryFiles,v.controller.signal);if(A({uploaded:[...v.task.uploaded,...N.files]}),d.current(v.task.directory),N.files.length!==v.task.retryFiles.length){const D=new Set(N.results?.filter(F=>F.status==="uploaded").map(F=>F.index)??[]);throw A({retryFiles:N.results?v.task.retryFiles.filter((F,Z)=>!D.has(Z)):[]}),new Error("Incomplete upload result. Check the saved paths before retrying.")}A({retryFiles:[]})}if(v.controller.signal.aborted)throw new DOMException("Upload canceled","AbortError");if(v.insert){A({status:"inserting"});const N=v.task.uploaded[0]?.path;if(!N||!v.isCurrent?.()||!await v.insert(N)||!v.isCurrent?.()||v.controller.signal.aborted)return A({status:"error",error:"reference"}),!1}return A({status:"done"}),!0}catch(N){if(N instanceof Zc&&N.result?.files.length){const D=new Set(N.result.results?.filter(F=>F.status==="uploaded").map(F=>F.index)??[]);A({uploaded:[...v.task.uploaded,...N.result.files],retryFiles:N.result.results?v.task.retryFiles.filter((F,Z)=>!D.has(Z)):[]}),d.current(v.task.directory)}return A({status:v.controller.signal.aborted?"canceled":"error",error:N instanceof Zc&&N.code==="UPLOAD_LIMIT"?"UPLOAD_LIMIT":N instanceof Error?N.message:String(N)}),!1}finally{c.current===v&&(c.current=null)}},[]),g=s.useCallback((v,A,N,D)=>A.length?y({task:{kind:N?"image":"files",directory:v,files:A,retryFiles:A,uploaded:[],status:"uploading"},controller:new AbortController,insert:N,isCurrent:D}):Promise.resolve(!1),[y]),k=s.useCallback(()=>{const v=h.current;if(!v||c.current||!v.insert&&!v.task.retryFiles.length)return Promise.resolve(!1);const A={...v,controller:new AbortController,task:{...v.task}};return y(A)},[y]),w=s.useCallback(()=>{const v=c.current;!v||v.task.status!=="uploading"||v.controller.abort()},[]),S=s.useCallback(()=>{c.current||(h.current=null,i(null))},[]);return{task:a,start:g,retry:k,cancel:w,dismiss:S,busy:a?.status==="uploading"||a?.status==="inserting"}}function fm({task:r,labels:a,onCancel:i,onRetry:c,onDismiss:h}){const m=r.status==="uploading"||r.status==="inserting",d=r.error==="reference"?a.referenceRejected:r.error==="UPLOAD_LIMIT"?a.limit:r.status==="error"?`${a.failed}: ${r.error??""}`:a[r.status],y=r.status==="error"&&(r.kind==="image"&&r.uploaded.length>0||r.retryFiles.length>0&&r.retryFiles.length<=50);return t.jsxs("section",{className:"shrink-0 border-t border-border/20 bg-surface/80 px-3 py-2 text-xs","data-sidebar-upload-status":!0,"aria-busy":m,children:[t.jsxs("div",{className:"flex items-center gap-2",children:[t.jsx("span",{className:`min-w-0 flex-1 break-words ${r.status==="error"?"text-destructive":"text-foreground"}`,role:r.status==="error"?"alert":"status",children:d}),r.status==="uploading"&&t.jsx("button",{type:"button",className:"shrink-0 rounded bg-surface-2 px-2 py-1 hover:bg-surface-elevated",onClick:i,children:a.cancel}),y&&t.jsx("button",{type:"button",className:"shrink-0 rounded bg-surface-2 px-2 py-1 hover:bg-surface-elevated",onClick:c,children:a.retry}),!m&&t.jsx("button",{type:"button",className:"shrink-0 rounded px-2 py-1 text-muted-foreground hover:bg-surface-2",onClick:h,"aria-label":a.dismiss,children:"×"})]}),t.jsx("div",{className:"mt-1 truncate text-muted-foreground",title:r.directory,children:r.directory}),t.jsxs("details",{className:"mt-1 min-w-0 text-muted-foreground",children:[t.jsxs("summary",{className:"cursor-pointer truncate",children:[a.files," · ",r.files[0]?.name]}),t.jsxs("ul",{className:"mt-1 max-h-24 overflow-y-auto font-mono text-[10px]",children:[r.files.map((g,k)=>t.jsx("li",{className:"break-all",children:g.name},`${k}:${g.name}`)),r.uploaded.map(g=>t.jsx("li",{className:"break-all text-foreground",children:g.path},g.path))]})]})]})}function hm(r){const a=s.useRef(r),i=s.useRef(0);(a.current.text!==r.text||a.current.sessionId!==r.sessionId||a.current.active!==r.active)&&(i.current+=1),a.current=r;const c=s.useRef(!0),h=s.useRef(!1);return s.useEffect(()=>(c.current=!0,()=>{c.current=!1,i.current+=1}),[]),s.useCallback(async(m,d)=>{if(h.current||!a.current.active)return!1;const y=a.current,g=i.current,{text:k,options:w}=dm(y.text,m);if(!k)return!1;h.current=!0;try{const S=await Hi(k,y.sessionId,()=>c.current&&a.current.active&&a.current.sessionId===y.sessionId,d,w),v=c.current&&g===i.current;return v&&(S?a.current.onAccepted():a.current.onRejected()),S&&v}finally{h.current=!1}},[])}const Xi="termdock:right-sidebar:html-view-mode-by-file:v1";function pm(r){return r==="preview"||r==="source"}function lu(r){return!r||typeof r!="object"||Array.isArray(r)?!1:Object.values(r).every(pm)}function cu(r,a){if(!a)return null;const i=r&&!a.startsWith("/")?`${r}/${a}`:a;return r?`${r}::${i}`:i}function jd(r,a){const i=cu(r,a);return i?st(Xi,lu)?.[i]??"source":"source"}function mm(r,a,i){const c=cu(r,a);if(!c)return;const h=st(Xi,lu)??{};Nt(Xi,{...h,[c]:i})}function gm(r){const a=Math.max(0,Math.min(100,r.xPercent)),i=Math.max(0,Math.min(100,r.yPercent));return{...a<=50?{left:`calc(${a}% + 8px)`}:{right:`calc(${100-a}% + 8px)`},...i<=50?{top:`calc(${i}% + 8px)`}:{bottom:`calc(${100-i}% + 8px)`}}}function wo({anchor:r,children:a,disabled:i=!1,onClick:c,title:h}){return t.jsxs("button",{type:"button","data-floating-annotation-button":!0,disabled:i,onClick:m=>{m.stopPropagation(),c(m.currentTarget)},title:h,style:gm(r),className:"absolute z-30 inline-flex h-7 items-center gap-1 rounded-full bg-primary px-3 text-[11px] font-semibold text-primary-foreground shadow-lg ring-1 ring-primary/30 transition hover:bg-primary/90 active:scale-95 disabled:cursor-wait disabled:opacity-50",children:[t.jsx(ba,{size:11}),a]})}function bm(r,a,i,c){if(i.width<=0||i.height<=0||c.width<=0||c.height<=0)return null;const h=Math.min(i.width/c.width,i.height/c.height);if(!Number.isFinite(h)||h<=0)return null;const m=c.width*h,d=c.height*h,y=i.left+(i.width-m)/2,g=i.top+(i.height-d)/2,k=r-y,w=a-g;if(k<0||w<0||k>m||w>d)return null;const S=k/m*100,v=w/d*100;return{x:c.x+c.width*S/100,y:c.y+c.height*v/100,xPercent:S,yPercent:v}}function xm(r,a,i){const c=[`SVG标注: ${r}`,`视图: ${a}`,`SVG坐标: (${i.x.toFixed(2)},${i.y.toFixed(2)}) [viewBox坐标]`,`图片位置: (${i.xPercent.toFixed(1)}%,${i.yPercent.toFixed(1)}%) [相对内容边界左上角]`];return i.nearestText&&c.push(`最近文字: ${i.nearestText}`),`"${c.join(" / ")}"`}function vm(r){const a=new DOMParser().parseFromString(r,"image/svg+xml"),i=a.documentElement;if(i.nodeName.toLowerCase()!=="svg"||a.querySelector("parsererror"))throw new Error("Invalid SVG document");return a.querySelectorAll("script,foreignObject,iframe,object,embed").forEach(c=>c.remove()),a.querySelectorAll("*").forEach(c=>{for(const h of Array.from(c.attributes)){const m=h.name.toLowerCase(),d=h.value.trim();(m.startsWith("on")||(m==="href"||m.endsWith(":href"))&&d&&!d.startsWith("#"))&&c.removeAttribute(h.name)}}),i.removeAttribute("width"),i.removeAttribute("height"),i.setAttribute("preserveAspectRatio","xMidYMid meet"),new XMLSerializer().serializeToString(i)}function ym(r,a,i){let c=null;for(const h of Array.from(r.querySelectorAll("text"))){const m=(h.textContent??"").replace(/\s+/g," ").trim();if(!m)continue;const d=Number(h.getAttribute("x")),y=Number(h.getAttribute("y"));if(!Number.isFinite(d)||!Number.isFinite(y))continue;const g=Math.hypot(d-a,y-i);(!c||g<c.distance)&&(c={text:m,distance:g})}return c?.text.slice(0,120)}function du({blobUrl:r,filePath:a,viewLabel:i,onInsertAnnotation:c}){const h=s.useRef(null),m=s.useRef(null),[d,y]=s.useState(null),[g,k]=s.useState(null),[w,S]=s.useState(1),[v,A]=s.useState(!1),[N,D]=s.useState(null),F=s.useRef(new Map),Z=s.useRef(null),L=s.useRef(!1),q=s.useRef(null),le=s.useRef(w);le.current=w,s.useEffect(()=>{const E=new AbortController;return y(null),k(null),D(null),S(1),fetch(r,{signal:E.signal}).then(P=>P.text()).then(P=>y(vm(P))).catch(P=>{E.signal.aborted||k(P instanceof Error?P.message:"SVG preview failed")}),()=>E.abort()},[r]),s.useEffect(()=>{if(!v)return;const E=P=>{P.key==="Escape"&&A(!1)};return window.addEventListener("keydown",E),()=>window.removeEventListener("keydown",E)},[v]),s.useLayoutEffect(()=>{const E=m.current,P=E?.querySelector("[data-svg-document] > svg");if(!E||!P)return;let J;try{J=P.getBBox()}catch{return}if(!J.width||!J.height)return;const j=Math.max(2,Math.min(J.width,J.height)*.025);P.setAttribute("viewBox",`${J.x-j} ${J.y-j} ${J.width+2*j} ${J.height+2*j}`),P.style.width=`${w*100}%`,P.style.height=`${w*100}%`,P.style.minWidth=`${w*100}%`,P.style.minHeight=`${w*100}%`,P.style.display="block"},[d,w]);const Y=s.useMemo(()=>N?xm(a,i,N):null,[a,N,i]),me=E=>{if(L.current){L.current=!1;return}const P=m.current,J=P?.querySelector("[data-svg-document] > svg"),j=h.current;if(!P||!J||!j)return;const ue=J.viewBox.baseVal,ge=bm(E.clientX,E.clientY,J.getBoundingClientRect(),ue);if(!ge)return;const $=j.getBoundingClientRect();D({...ge,nearestText:ym(J,ge.x,ge.y),stageX:E.clientX-$.left,stageY:E.clientY-$.top,stageXPercent:(E.clientX-$.left)/$.width*100,stageYPercent:(E.clientY-$.top)/$.height*100})},o=E=>Math.max(1,Math.min(12,E)),K=(E,P)=>{const J=o(P),j=E.querySelector("[data-svg-document] > svg");if(!j)return J;const ue=`${J*100}%`;return j.style.width=ue,j.style.height=ue,j.style.minWidth=ue,j.style.minHeight=ue,le.current=J,J},te=(E,P,J,j)=>{const ue=le.current,ge=E.getBoundingClientRect(),$=J-ge.left,ve=j-ge.top,Se=(E.scrollLeft+$)/ue,je=(E.scrollTop+ve)/ue,at=K(E,P);return E.scrollLeft=Se*at-$,E.scrollTop=je*at-ve,at},T=()=>{const E=Array.from(F.current.values());return E.length>=2?Math.hypot(E[0].x-E[1].x,E[0].y-E[1].y):0},re=nl((E,P)=>{F.current.delete(P)&&(Z.current=null,L.current=!0)},!0),ke=E=>{if(E.pointerType==="mouse"&&E.button!==0)return;const P=m.current;P&&(re(E),F.current.set(E.pointerId,{x:E.clientX,y:E.clientY}),P.setPointerCapture?.(E.pointerId),F.current.size>=2?(Z.current={kind:"pinch",startX:E.clientX,startY:E.clientY,startScrollLeft:P.scrollLeft,startScrollTop:P.scrollTop,startDistance:T(),startZoom:le.current,moved:!1},L.current=!0):le.current>1&&(Z.current={kind:"pan",startX:E.clientX,startY:E.clientY,startScrollLeft:P.scrollLeft,startScrollTop:P.scrollTop,startZoom:le.current,moved:!1}))},C=E=>{if(!F.current.has(E.pointerId))return;F.current.set(E.pointerId,{x:E.clientX,y:E.clientY});const P=m.current,J=Z.current;if(!(!P||!J)){if(F.current.size>=2&&J.kind==="pinch"){const j=T();if(!J.startDistance||!j)return;const ue=o(J.startZoom*j/J.startDistance);if(Math.abs(ue-le.current)<.01)return;const ge=Array.from(F.current.values()),$=(ge[0].x+ge[1].x)/2,ve=(ge[0].y+ge[1].y)/2;J.moved=!0,L.current=!0,te(P,ue,$,ve),E.preventDefault();return}if(J.kind==="pan"&&F.current.size===1){const j=E.clientX-J.startX,ue=E.clientY-J.startY;if(!J.moved&&Math.hypot(j,ue)<6)return;J.moved=!0,L.current=!0,P.scrollLeft=J.startScrollLeft-j,P.scrollTop=J.startScrollTop-ue,E.preventDefault()}}},he=E=>{const P=m.current,J=Z.current,j=F.current.size===1&&!J?.moved;F.current.delete(E.pointerId);try{P?.releasePointerCapture?.(E.pointerId)}catch{}if(F.current.size===1&&J?.kind==="pinch"){const $=Array.from(F.current.values())[0];Z.current=P?{kind:"pan",startX:$.x,startY:$.y,startScrollLeft:P.scrollLeft,startScrollTop:P.scrollTop,startZoom:le.current,moved:!1}:null;return}if(F.current.size>0||(Z.current=null,J?.kind==="pinch"&&S(le.current),!j||L.current))return;const ue=Date.now(),ge=q.current;ge&&ue-ge.time<350&&Math.hypot(E.clientX-ge.x,E.clientY-ge.y)<24?(q.current=null,L.current=!0,S($=>$>1?1:2.5)):q.current={time:ue,x:E.clientX,y:E.clientY}},_=E=>{if(!E.ctrlKey&&!E.metaKey)return;const P=m.current;if(!P)return;E.preventDefault();const J=te(P,le.current*Math.exp(-E.deltaY*.01),E.clientX,E.clientY);S(J)},ae=()=>{S(1),le.current=1,m.current&&(m.current.scrollLeft=0,m.current.scrollTop=0)},oe=t.jsxs("div",{className:v?"fixed inset-0 z-modal-panel flex min-h-0 flex-col bg-surface pt-[env(safe-area-inset-top,0px)]":"flex h-full min-h-0 flex-col bg-surface",children:[t.jsxs("div",{ref:h,className:"relative min-h-0 flex-1",children:[t.jsx("div",{ref:m,role:"button",tabIndex:0,onClick:me,onDoubleClick:E=>{E.preventDefault(),S(P=>P>1?1:2.5)},onPointerDown:ke,onPointerMove:C,onPointerUp:he,onPointerCancel:he,onWheel:_,onScroll:()=>D(null),className:"h-full touch-none cursor-crosshair overflow-auto bg-white p-3 text-slate-900",children:g?t.jsx("div",{className:"p-4 text-sm text-destructive",children:g}):d?t.jsx("div",{"data-svg-document":!0,className:"h-full min-h-[240px] w-full",dangerouslySetInnerHTML:{__html:d}}):t.jsx("div",{className:"p-4 text-sm text-muted-foreground",children:"Loading SVG…"})}),N&&t.jsx("span",{"data-svg-pick-marker":!0,className:"pointer-events-none absolute z-10 h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-primary bg-white shadow-sm",style:{left:N.stageX,top:N.stageY}}),N&&Y&&t.jsx(wo,{anchor:{xPercent:N.stageXPercent,yPercent:N.stageYPercent},title:"引用 SVG 标注",onClick:async E=>{await c?.(Y,`svg:${N.x.toFixed(2)}:${N.y.toFixed(2)}`,void 0,E)!==!1&&D(null)},children:"引用 SVG 标注"}),t.jsxs("div",{"data-svg-toolbar":!0,className:"absolute right-2 top-2 z-20 flex gap-1",children:[w>1.001&&t.jsx("button",{type:"button","aria-label":"适合窗口",title:"适合窗口",onClick:E=>{E.stopPropagation(),ae()},className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-slate-200 bg-white/95 text-slate-600 shadow-sm backdrop-blur transition active:scale-95",children:t.jsx(lp,{size:14})}),t.jsx("button",{type:"button","aria-label":v?"退出全屏 SVG":"全屏 SVG",title:v?"退出全屏 SVG":"全屏 SVG",onClick:E=>{E.stopPropagation(),A(P=>!P)},className:"inline-flex h-9 w-9 items-center justify-center rounded-full border border-slate-200 bg-white/95 text-slate-600 shadow-sm backdrop-blur transition active:scale-95",children:v?t.jsx(su,{size:14}):t.jsx(al,{size:14})})]})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:N?`SVG (${N.x.toFixed(2)}, ${N.y.toFixed(2)}) · ${N.nearestText??"附近无文字"}`:"点击 SVG 的问题位置生成精确引用"})})]});return v?Bn.createPortal(oe,document.body):oe}function mo(r){switch(r){case"schematic":return"原理图第1页";case"pcb-front":return"PCB正面";case"pcb-back":return"PCB背面(镜像)";case"pcb-3d":return"PCB 3D正面"}}function wm(r,a,i,c){const h=[`电子标注: ${r}`,`视图: ${mo(a)}`,`图片位置: (${i.xPercent.toFixed(1)}%,${i.yPercent.toFixed(1)}%) [相对渲染图左上角]`];if(c?.available&&c.xMm!==void 0&&c.yMm!==void 0&&(h.push(`PCB坐标: (${c.xMm.toFixed(2)},${c.yMm.toFixed(2)})mm [KiCad板坐标]`),c.layer&&h.push(`显示层: ${c.layer}`),c.nearest)){const m=[c.nearest.net?`网络 ${c.nearest.net}`:null,`对象层 ${c.nearest.layer}`,`距离 ${c.nearest.distanceMm.toFixed(2)}mm`].filter(Boolean).join(",");h.push(`最近对象: ${c.nearest.label}${m?`(${m})`:""}`)}return`"${h.join(" / ")}"`}function km({blobUrl:r,filePath:a,view:i,board:c,onViewChange:h,onInsertAnnotation:m,onRefresh:d,interactive3d:y}){const{t:g}=Yt(),k=s.useRef(null),w=s.useRef(null),S=s.useRef(null),[v,A]=s.useState(null),[N,D]=s.useState(!1);s.useEffect(()=>(S.current?.abort(),A(null),D(!1),()=>S.current?.abort()),[r,i]);const F=s.useMemo(()=>v?wm(a,i,v,v.inspection):null,[a,v,i]),Z=q=>{const le=k.current,Y=w.current;if(!le||!Y||!Y.naturalWidth||!Y.naturalHeight)return;const me=le.getBoundingClientRect(),o=Y.getBoundingClientRect(),K=Math.min(o.width/Y.naturalWidth,o.height/Y.naturalHeight),te=Y.naturalWidth*K,T=Y.naturalHeight*K,re=o.left+(o.width-te)/2,ke=o.top+(o.height-T)/2,C=q.clientX-re,he=q.clientY-ke;if(C<0||he<0||C>te||he>T)return;const _={xPercent:Math.max(0,Math.min(100,C/te*100)),yPercent:Math.max(0,Math.min(100,he/T*100)),stageXPercent:(q.clientX-me.left)/me.width*100,stageYPercent:(q.clientY-me.top)/me.height*100,inspecting:c&&i!=="pcb-3d"};if(A(_),S.current?.abort(),!_.inspecting)return;const ae=new AbortController;S.current=ae,th(a,i,_.xPercent,_.yPercent,ae.signal).then(oe=>A(E=>E===_?{...E,inspection:oe,inspecting:!1}:E)).catch(()=>{ae.signal.aborted||A(oe=>oe===_?{...oe,inspection:{available:!1},inspecting:!1}:oe)})},L=c?["pcb-front","pcb-back","pcb-3d"]:["schematic"];return t.jsxs("div",{className:"flex h-full min-h-0 flex-col bg-surface",children:[t.jsxs("div",{className:"flex shrink-0 items-center gap-1 border-b border-border/15 px-3 py-2",children:[t.jsx("div",{className:"flex min-w-0 flex-1 items-center gap-1 overflow-x-auto",children:L.map(q=>t.jsx("button",{type:"button",onClick:()=>h(q),className:`h-8 shrink-0 rounded-full px-3 text-xs font-semibold transition active:scale-95 ${q===i?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:mo(q)},q))}),t.jsx("button",{type:"button",onClick:d,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",title:g("rightSidebar.edaRefresh"),"aria-label":g("rightSidebar.edaRefresh"),children:t.jsx(bo,{size:13})})]}),c&&y?t.jsx("div",{className:i==="pcb-3d"?"flex min-h-0 flex-1 flex-col overflow-hidden":"hidden",children:y}):null,c?i==="pcb-3d"?y?null:t.jsx("div",{className:"min-h-0 flex-1"}):t.jsxs(t.Fragment,{children:[t.jsxs("div",{ref:k,role:"button",tabIndex:0,onClick:Z,onKeyDown:q=>{q.key!=="Enter"&&q.key!==" "||(q.preventDefault(),A({xPercent:50,yPercent:50,stageXPercent:50,stageYPercent:50}))},className:"relative min-h-0 flex-1 cursor-crosshair overflow-hidden bg-surface p-3 outline-none",title:g("rightSidebar.edaPickHint"),children:[t.jsx("img",{ref:w,src:r,alt:`${a} ${mo(i)}`,onLoad:()=>D(!0),className:`pointer-events-none h-full w-full object-contain transition-opacity ${N?"opacity-100":"opacity-0"}`}),v&&t.jsx("span",{className:"pointer-events-none absolute h-4 w-4 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-primary bg-surface shadow-sm",style:{left:`${v.stageXPercent}%`,top:`${v.stageYPercent}%`}}),v&&F&&t.jsx(wo,{anchor:{xPercent:v.stageXPercent,yPercent:v.stageYPercent},disabled:v.inspecting,title:g("rightSidebar.edaInsertAnnotation"),onClick:async q=>{await m?.(F,`eda:${i}:${v.xPercent.toFixed(1)}:${v.yPercent.toFixed(1)}`,{snapshot:w.current?Up(w.current,v):Promise.resolve(null)},q)!==!1&&A(null)},children:g("rightSidebar.edaInsertAnnotation")})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:v?v.inspecting?g("rightSidebar.edaInspecting"):v.inspection?.available?g("rightSidebar.edaPickedBoardPosition",{x:v.inspection.xMm?.toFixed(2)??"—",y:v.inspection.yMm?.toFixed(2)??"—",object:v.inspection.nearest?.label??g("rightSidebar.edaNoNearbyObject")}):g("rightSidebar.edaPickedPosition",{x:v.xPercent.toFixed(1),y:v.yPercent.toFixed(1)}):g("rightSidebar.edaPickHint")})})]}):t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden",children:t.jsx(du,{blobUrl:r,filePath:a,viewLabel:mo(i),onInsertAnnotation:m})})]})}function Sm(r){const a=[];let i=[],c="",h=!1;for(let m=0;m<r.length;m+=1){const d=r[m];h?d==='"'&&r[m+1]==='"'?(c+='"',m+=1):d==='"'?h=!1:c+=d:d==='"'?h=!0:d===","?(i.push(c),c=""):d===`
|
|
14
|
+
`?(i.push(c.replace(/\r$/,"")),a.push(i),i=[],c=""):c+=d}return(c||i.length>0)&&(i.push(c.replace(/\r$/,"")),a.push(i)),a}function jm(r,a,i,c,h){const m=a[h]||`第${h+1}列`,d=i[h]??"",y=a.map((g,k)=>`${g||`第${k+1}列`}=${i[k]??""}`).join(";");return`"表格标注: ${r} / 数据行: ${c+1} / 列: ${m} / 值: ${d} / 记录: ${y}"`}function Rm({content:r,filePath:a,onInsertAnnotation:i}){const{t:c}=Yt(),h=s.useMemo(()=>Sm(r),[r]),m=h[0]??[],d=h.slice(1),y=s.useRef(null),[g,k]=s.useState(null),w=g?d[g.row]:null,S=g&&w?jm(a,m,w,g.row+1,g.column):null;return t.jsxs("div",{className:"flex min-h-0 flex-1 flex-col bg-surface",children:[t.jsxs("div",{ref:y,className:"relative min-h-0 flex-1",children:[t.jsx("div",{className:"h-full overflow-auto",children:t.jsxs("table",{className:"min-w-full border-separate border-spacing-0 text-left text-xs",children:[t.jsx("thead",{children:t.jsxs("tr",{children:[t.jsx("th",{className:"sticky left-0 top-0 z-20 border-b border-r border-border/20 bg-surface-elevated px-2 py-2 text-[10px] font-semibold text-muted-foreground",children:"#"}),m.map((v,A)=>t.jsx("th",{className:"sticky top-0 z-10 min-w-28 border-b border-r border-border/20 bg-surface-elevated px-3 py-2 font-semibold text-foreground",children:v||c("rightSidebar.csvUnnamedColumn",{index:A+1})},`${v}:${A}`))]})}),t.jsx("tbody",{children:d.map((v,A)=>t.jsxs("tr",{className:"hover:bg-surface-2",children:[t.jsx("th",{className:"sticky left-0 z-10 border-b border-r border-border/15 bg-surface px-2 py-2 text-right text-[10px] font-normal text-muted-foreground",children:A+1}),m.map((N,D)=>{const F=g?.row===A&&g.column===D;return t.jsx("td",{className:`border-b border-r border-border/15 p-0 ${F?"bg-primary/15":""}`,children:t.jsx("button",{type:"button",onClick:Z=>{const L=y.current?.getBoundingClientRect(),q=Z.currentTarget.getBoundingClientRect();if(!L?.width||!L.height)return;const le=Z.clientX||q.left+q.width/2,Y=Z.clientY||q.top+q.height/2;k({row:A,column:D,xPercent:(le-L.left)/L.width*100,yPercent:(Y-L.top)/L.height*100})},className:"block h-full min-h-9 w-full whitespace-pre-wrap px-3 py-2 text-left text-foreground outline-none hover:bg-primary/10 focus-visible:bg-primary/10",children:v[D]||" "})},`cell:${A}:${D}`)})]},`row:${A}`))})]})}),g&&S&&t.jsx(wo,{anchor:{xPercent:g.xPercent,yPercent:g.yPercent},title:c("rightSidebar.csvInsertAnnotation"),onClick:async v=>{await i?.(S,`csv:${a}:${g.row+1}:${g.column+1}`,void 0,v)!==!1&&k(null)},children:c("rightSidebar.csvInsertAnnotation")})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:g&&w?c("rightSidebar.csvSelectedCell",{row:g.row+1,column:m[g.column]||g.column+1}):c("rightSidebar.csvPickHint",{rows:d.length,columns:m.length})})})]})}function js(r,a){let i=r;for(const c of a){if(!i||typeof i!="object")return;i=i[c]}return i}function Cm(r,a){const i=JSON.parse(r),c=js(i,["meta","version"]);if(a)return[{label:"文件性质",value:"KiCad 本机界面状态,不属于电气设计源文件"},{label:"格式版本",value:String(c??"未知")},{label:"活动层编号",value:String(js(i,["board","active_layer"])??"未知")},{label:"可见层掩码",value:String(js(i,["board","visible_layers"])??"未知")},{label:"Git 集成",value:js(i,["git","integration_disabled"])===!0?"已禁用":"未禁用"}];const h=js(i,["net_settings","classes"]),m=Array.isArray(h)?h.find(y=>y&&typeof y=="object"&&y.name==="Default"):void 0,d=js(i,["board","design_settings","drc_exclusions"]);return[{label:"文件性质",value:"KiCad 工程配置"},{label:"格式版本",value:String(c??"未知")},{label:"网络类数量",value:String(Array.isArray(h)?h.length:0)},{label:"默认间距",value:m?.clearance!==void 0?`${m.clearance} mm`:"未设置"},{label:"默认线宽",value:m?.track_width!==void 0?`${m.track_width} mm`:"未设置"},{label:"默认过孔",value:m?.via_diameter!==void 0?`${m.via_diameter} / ${m.via_drill??"—"} mm(外径/钻孔)`:"未设置"},{label:"DRC 排除项",value:String(Array.isArray(d)?d.length:0)}]}function Nm(r,a){return`"KiCad项目标注: ${r} / 项: ${a.label} / 值: ${a.value}"`}function Pm({content:r,filePath:a,localState:i,onInsertAnnotation:c}){const{t:h}=Yt(),m=s.useRef(null),[d,y]=s.useState(null),g=s.useMemo(()=>{try{return{items:Cm(r,i),error:null}}catch(w){return{items:[],error:w instanceof Error?w.message:String(w)}}},[r,i]),k=d===null?null:g.items[d.index];return g.error?t.jsx("pre",{className:"min-h-0 flex-1 overflow-auto whitespace-pre-wrap p-3 font-mono text-xs text-foreground",children:r}):t.jsxs("div",{className:"flex min-h-0 flex-1 flex-col bg-surface",children:[i&&t.jsx("div",{className:"border-b border-[color:var(--warning)]/20 bg-[color:var(--warning)]/5 px-3 py-2 text-xs text-[color:var(--warning)]",children:h("rightSidebar.kicadLocalStateNotice")}),t.jsxs("div",{ref:m,className:"relative min-h-0 flex-1",children:[t.jsxs("div",{className:"h-full overflow-auto px-3 py-2",children:[t.jsx("div",{className:"divide-y divide-border/15",children:g.items.map((w,S)=>t.jsxs("button",{type:"button",onClick:v=>{const A=m.current?.getBoundingClientRect(),N=v.currentTarget.getBoundingClientRect();if(!A?.width||!A.height)return;const D=v.clientX||N.left+N.width/2,F=v.clientY||N.top+N.height/2;y({index:S,xPercent:(D-A.left)/A.width*100,yPercent:(F-A.top)/A.height*100})},className:`grid w-full grid-cols-[minmax(7rem,0.8fr)_minmax(0,1.4fr)] gap-3 px-2 py-3 text-left transition hover:bg-surface-2 ${d?.index===S?"bg-primary/10":""}`,children:[t.jsx("span",{className:"text-xs font-semibold text-muted-foreground",children:w.label}),t.jsx("span",{className:"break-words text-xs text-foreground",children:w.value})]},w.label))}),t.jsxs("details",{className:"mt-3 border-t border-border/15 pt-3",children:[t.jsx("summary",{className:"cursor-pointer text-xs font-semibold text-muted-foreground",children:h("rightSidebar.kicadShowRawJson")}),t.jsx("pre",{className:"mt-2 overflow-auto whitespace-pre p-2 font-mono text-[10px] leading-relaxed text-foreground",children:r})]})]}),k&&d&&t.jsx(wo,{anchor:{xPercent:d.xPercent,yPercent:d.yPercent},title:h("rightSidebar.kicadInsertSetting"),onClick:async w=>{await c?.(Nm(a,k),`kicad-project:${a}:${k.label}`,void 0,w)!==!1&&y(null)},children:h("rightSidebar.kicadInsertSetting")})]}),t.jsx("div",{className:"flex shrink-0 items-center justify-between gap-3 border-t border-border/15 px-3 py-2",children:t.jsx("span",{className:"min-w-0 truncate text-[11px] text-muted-foreground",children:k?`${k.label}: ${k.value}`:h("rightSidebar.kicadProjectPickHint")})})]})}const Em=`/** ES Module Shims Wasm @version 2.8.4 */
|
|
15
|
+
(function () {
|
|
16
|
+
|
|
17
|
+
const self_ = typeof globalThis !== 'undefined' ? globalThis : self;
|
|
18
|
+
|
|
19
|
+
let invalidate;
|
|
20
|
+
const hotReload$1 = url => invalidate(new URL(url, baseUrl).href);
|
|
21
|
+
const initHotReload = (topLevelLoad, importShim) => {
|
|
22
|
+
let _importHook = importHook,
|
|
23
|
+
_resolveHook = resolveHook,
|
|
24
|
+
_metaHook = metaHook;
|
|
25
|
+
|
|
26
|
+
let defaultResolve;
|
|
27
|
+
let hotResolveHook = (id, parent, _defaultResolve) => {
|
|
28
|
+
if (!defaultResolve) defaultResolve = _defaultResolve;
|
|
29
|
+
const originalParent = stripVersion(parent);
|
|
30
|
+
const url = stripVersion(defaultResolve(id, originalParent));
|
|
31
|
+
const hotState = getHotState(url);
|
|
32
|
+
const parents = hotState.p;
|
|
33
|
+
if (!parents.includes(originalParent)) parents.push(originalParent);
|
|
34
|
+
return toVersioned(url, hotState);
|
|
35
|
+
};
|
|
36
|
+
const hotImportHook = (url, _, __, source, sourceType) => {
|
|
37
|
+
const hotState = getHotState(url);
|
|
38
|
+
hotState.e = typeof source === 'string' ? source : true;
|
|
39
|
+
hotState.t = sourceType;
|
|
40
|
+
};
|
|
41
|
+
const hotMetaHook = (metaObj, url) => (metaObj.hot = new Hot(url));
|
|
42
|
+
|
|
43
|
+
const Hot = class Hot {
|
|
44
|
+
constructor(url) {
|
|
45
|
+
this.data = getHotState((this.url = stripVersion(url))).d;
|
|
46
|
+
}
|
|
47
|
+
accept(deps, cb) {
|
|
48
|
+
if (typeof deps === 'function') {
|
|
49
|
+
cb = deps;
|
|
50
|
+
deps = null;
|
|
51
|
+
}
|
|
52
|
+
const hotState = getHotState(this.url);
|
|
53
|
+
if (!hotState.A) return;
|
|
54
|
+
(hotState.a = hotState.a || []).push([
|
|
55
|
+
typeof deps === 'string' ? defaultResolve(deps, this.url)
|
|
56
|
+
: deps ? deps.map(d => defaultResolve(d, this.url))
|
|
57
|
+
: null,
|
|
58
|
+
cb
|
|
59
|
+
]);
|
|
60
|
+
}
|
|
61
|
+
dispose(cb) {
|
|
62
|
+
getHotState(this.url).u = cb;
|
|
63
|
+
}
|
|
64
|
+
invalidate() {
|
|
65
|
+
const hotState = getHotState(this.url);
|
|
66
|
+
hotState.a = hotState.A = null;
|
|
67
|
+
const seen = [this.url];
|
|
68
|
+
hotState.p.forEach(p => invalidate(p, this.url, seen));
|
|
69
|
+
}
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const versionedRegEx = /\\?v=\\d+$/;
|
|
73
|
+
const stripVersion = url => {
|
|
74
|
+
const versionMatch = url.match(versionedRegEx);
|
|
75
|
+
return versionMatch ? url.slice(0, -versionMatch[0].length) : url;
|
|
76
|
+
};
|
|
77
|
+
|
|
78
|
+
const toVersioned = (url, hotState) => {
|
|
79
|
+
const { v } = hotState;
|
|
80
|
+
return url + (v ? '?v=' + v : '');
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
let hotRegistry = {},
|
|
84
|
+
curInvalidationRoots = new Set(),
|
|
85
|
+
curInvalidationInterval;
|
|
86
|
+
const getHotState = url =>
|
|
87
|
+
hotRegistry[url] ||
|
|
88
|
+
(hotRegistry[url] = {
|
|
89
|
+
// version
|
|
90
|
+
v: 0,
|
|
91
|
+
// accept list ([deps, cb] pairs)
|
|
92
|
+
a: null,
|
|
93
|
+
// accepting acceptors
|
|
94
|
+
A: true,
|
|
95
|
+
// unload callback
|
|
96
|
+
u: null,
|
|
97
|
+
// entry point or inline script source
|
|
98
|
+
e: false,
|
|
99
|
+
// hot data
|
|
100
|
+
d: {},
|
|
101
|
+
// parents
|
|
102
|
+
p: [],
|
|
103
|
+
// source type
|
|
104
|
+
t: undefined
|
|
105
|
+
});
|
|
106
|
+
|
|
107
|
+
invalidate = (url, fromUrl, seen = []) => {
|
|
108
|
+
const hotState = hotRegistry[url];
|
|
109
|
+
if (!hotState || seen.includes(url)) return false;
|
|
110
|
+
seen.push(url);
|
|
111
|
+
hotState.A = false;
|
|
112
|
+
if (
|
|
113
|
+
fromUrl &&
|
|
114
|
+
hotState.a &&
|
|
115
|
+
hotState.a.some(([d]) => d && (typeof d === 'string' ? d === fromUrl : d.includes(fromUrl)))
|
|
116
|
+
) {
|
|
117
|
+
curInvalidationRoots.add(fromUrl);
|
|
118
|
+
} else {
|
|
119
|
+
if (hotState.e || hotState.a) curInvalidationRoots.add(url);
|
|
120
|
+
hotState.v++;
|
|
121
|
+
if (!hotState.a) hotState.p.forEach(p => invalidate(p, url, seen));
|
|
122
|
+
}
|
|
123
|
+
if (!curInvalidationInterval) curInvalidationInterval = setTimeout(handleInvalidations, hotReloadInterval);
|
|
124
|
+
return true;
|
|
125
|
+
};
|
|
126
|
+
|
|
127
|
+
const handleInvalidations = () => {
|
|
128
|
+
curInvalidationInterval = null;
|
|
129
|
+
const earlyRoots = new Set();
|
|
130
|
+
for (const root of curInvalidationRoots) {
|
|
131
|
+
const hotState = hotRegistry[root];
|
|
132
|
+
topLevelLoad(
|
|
133
|
+
toVersioned(root, hotState),
|
|
134
|
+
baseUrl,
|
|
135
|
+
defaultFetchOpts,
|
|
136
|
+
typeof hotState.e === 'string' ? hotState.e : undefined,
|
|
137
|
+
false,
|
|
138
|
+
undefined,
|
|
139
|
+
hotState.t
|
|
140
|
+
).then(m => {
|
|
141
|
+
if (hotState.a) {
|
|
142
|
+
hotState.a.forEach(([d, c]) => d === null && !earlyRoots.has(c) && c(m));
|
|
143
|
+
// unload should be the latest unload handler from the just loaded module
|
|
144
|
+
if (hotState.u) {
|
|
145
|
+
hotState.u(hotState.d);
|
|
146
|
+
hotState.u = null;
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
hotState.p.forEach(p => {
|
|
150
|
+
const hotState = hotRegistry[p];
|
|
151
|
+
if (hotState && hotState.a)
|
|
152
|
+
hotState.a.forEach(
|
|
153
|
+
async ([d, c]) =>
|
|
154
|
+
d &&
|
|
155
|
+
!earlyRoots.has(c) &&
|
|
156
|
+
(typeof d === 'string' ?
|
|
157
|
+
d === root && c(m)
|
|
158
|
+
: c(await Promise.all(d.map(d => (earlyRoots.add(c), importShim(toVersioned(d, getHotState(d))))))))
|
|
159
|
+
);
|
|
160
|
+
});
|
|
161
|
+
}, throwError);
|
|
162
|
+
}
|
|
163
|
+
curInvalidationRoots = new Set();
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
setHooks(
|
|
167
|
+
_importHook ? chain(_importHook, hotImportHook) : hotImportHook,
|
|
168
|
+
_resolveHook ?
|
|
169
|
+
(id, parent, defaultResolve) =>
|
|
170
|
+
hotResolveHook(id, parent, (id, parent) => _resolveHook(id, parent, defaultResolve))
|
|
171
|
+
: hotResolveHook,
|
|
172
|
+
_metaHook ? chain(_metaHook, hotMetaHook) : hotMetaHook
|
|
173
|
+
);
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
const hasDocument = typeof document !== 'undefined';
|
|
177
|
+
|
|
178
|
+
const noop = () => {};
|
|
179
|
+
|
|
180
|
+
const chain = (a, b) =>
|
|
181
|
+
function () {
|
|
182
|
+
a.apply(this, arguments);
|
|
183
|
+
b.apply(this, arguments);
|
|
184
|
+
};
|
|
185
|
+
|
|
186
|
+
const dynamicImport = (u, _errUrl) => import(u);
|
|
187
|
+
|
|
188
|
+
const defineValue = (obj, prop, value) =>
|
|
189
|
+
Object.defineProperty(obj, prop, { writable: false, configurable: false, value });
|
|
190
|
+
|
|
191
|
+
const optionsScript = hasDocument ? document.querySelector('script[type=esms-options]') : undefined;
|
|
192
|
+
|
|
193
|
+
const esmsInitOptions = optionsScript ? JSON.parse(optionsScript.innerHTML) : {};
|
|
194
|
+
Object.assign(esmsInitOptions, self_.esmsInitOptions || {});
|
|
195
|
+
|
|
196
|
+
const version = "2.8.4";
|
|
197
|
+
|
|
198
|
+
const r$1 = esmsInitOptions.version;
|
|
199
|
+
if (self_.importShim || (r$1 && r$1 !== version)) {
|
|
200
|
+
return;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
// shim mode is determined on initialization, no late shim mode
|
|
204
|
+
const shimMode =
|
|
205
|
+
esmsInitOptions.shimMode ||
|
|
206
|
+
(hasDocument ?
|
|
207
|
+
document.querySelectorAll('script[type=module-shim],script[type=importmap-shim],link[rel=modulepreload-shim]')
|
|
208
|
+
.length > 0
|
|
209
|
+
// Without a document, shim mode is always true as we cannot polyfill
|
|
210
|
+
: true);
|
|
211
|
+
|
|
212
|
+
let importHook,
|
|
213
|
+
resolveHook,
|
|
214
|
+
fetchHook = fetch,
|
|
215
|
+
sourceHook,
|
|
216
|
+
metaHook,
|
|
217
|
+
tsTransform =
|
|
218
|
+
esmsInitOptions.tsTransform ||
|
|
219
|
+
(hasDocument && document.currentScript && document.currentScript.src.replace(/(\\.\\w+)?\\.js$/, '-typescript.js')) ||
|
|
220
|
+
'./es-module-shims-typescript.js';
|
|
221
|
+
|
|
222
|
+
const defaultFetchOpts = { credentials: 'same-origin' };
|
|
223
|
+
|
|
224
|
+
const globalHook = name => (typeof name === 'string' ? self_[name] : name);
|
|
225
|
+
|
|
226
|
+
if (esmsInitOptions.onimport) importHook = globalHook(esmsInitOptions.onimport);
|
|
227
|
+
if (esmsInitOptions.resolve) resolveHook = globalHook(esmsInitOptions.resolve);
|
|
228
|
+
if (esmsInitOptions.fetch) fetchHook = globalHook(esmsInitOptions.fetch);
|
|
229
|
+
if (esmsInitOptions.source) sourceHook = globalHook(esmsInitOptions.source);
|
|
230
|
+
if (esmsInitOptions.meta) metaHook = globalHook(esmsInitOptions.meta);
|
|
231
|
+
|
|
232
|
+
const hasCustomizationHooks = importHook || resolveHook || fetchHook !== fetch || sourceHook || metaHook;
|
|
233
|
+
|
|
234
|
+
const {
|
|
235
|
+
noLoadEventRetriggers,
|
|
236
|
+
enforceIntegrity,
|
|
237
|
+
hotReload,
|
|
238
|
+
hotReloadInterval = 100,
|
|
239
|
+
nativePassthrough = !hasCustomizationHooks && !hotReload
|
|
240
|
+
} = esmsInitOptions;
|
|
241
|
+
|
|
242
|
+
const setHooks = (importHook_, resolveHook_, metaHook_) => (
|
|
243
|
+
(importHook = importHook_),
|
|
244
|
+
(resolveHook = resolveHook_),
|
|
245
|
+
(metaHook = metaHook_)
|
|
246
|
+
);
|
|
247
|
+
|
|
248
|
+
const mapOverrides = esmsInitOptions.mapOverrides;
|
|
249
|
+
|
|
250
|
+
let nonce = esmsInitOptions.nonce;
|
|
251
|
+
if (!nonce && hasDocument) {
|
|
252
|
+
const nonceElement = document.querySelector('script[nonce]');
|
|
253
|
+
if (nonceElement) nonce = nonceElement.nonce || nonceElement.getAttribute('nonce');
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const onerror = globalHook(esmsInitOptions.onerror || console.error.bind(console));
|
|
257
|
+
|
|
258
|
+
const enable = Array.isArray(esmsInitOptions.polyfillEnable) ? esmsInitOptions.polyfillEnable : [];
|
|
259
|
+
const disable = Array.isArray(esmsInitOptions.polyfillDisable) ? esmsInitOptions.polyfillDisable : [];
|
|
260
|
+
|
|
261
|
+
const enableAll = esmsInitOptions.polyfillEnable === 'all' || enable.includes('all');
|
|
262
|
+
const wasmInstancePhaseEnabled =
|
|
263
|
+
enable.includes('wasm-modules') || enable.includes('wasm-module-instances') || enableAll;
|
|
264
|
+
const wasmSourcePhaseEnabled =
|
|
265
|
+
enable.includes('wasm-modules') || enable.includes('wasm-module-sources') || enableAll;
|
|
266
|
+
const deferPhaseEnabled = enable.includes('import-defer') || enableAll;
|
|
267
|
+
const cssModulesEnabled = !disable.includes('css-modules');
|
|
268
|
+
const jsonModulesEnabled = !disable.includes('json-modules');
|
|
269
|
+
|
|
270
|
+
const onpolyfill =
|
|
271
|
+
esmsInitOptions.onpolyfill ?
|
|
272
|
+
globalHook(esmsInitOptions.onpolyfill)
|
|
273
|
+
: () => {
|
|
274
|
+
console.log(\`%c^^ Module error above is polyfilled and can be ignored ^^\`, 'font-weight:900;color:#391');
|
|
275
|
+
};
|
|
276
|
+
|
|
277
|
+
const baseUrl =
|
|
278
|
+
hasDocument ? document.baseURI
|
|
279
|
+
: typeof location !== 'undefined' ?
|
|
280
|
+
\`\${location.protocol}//\${location.host}\${
|
|
281
|
+
location.pathname.includes('/') ?
|
|
282
|
+
location.pathname.slice(0, location.pathname.lastIndexOf('/') + 1)
|
|
283
|
+
: location.pathname
|
|
284
|
+
}\`
|
|
285
|
+
: 'about:blank';
|
|
286
|
+
|
|
287
|
+
const createBlob = (source, type = 'text/javascript') => URL.createObjectURL(new Blob([source], { type }));
|
|
288
|
+
let { skip } = esmsInitOptions;
|
|
289
|
+
if (Array.isArray(skip)) {
|
|
290
|
+
const l = skip.map(s => new URL(s, baseUrl).href);
|
|
291
|
+
skip = s => l.some(i => (i[i.length - 1] === '/' && s.startsWith(i)) || s === i);
|
|
292
|
+
} else if (typeof skip === 'string') {
|
|
293
|
+
const r = new RegExp(skip);
|
|
294
|
+
skip = s => r.test(s);
|
|
295
|
+
} else if (skip instanceof RegExp) {
|
|
296
|
+
skip = s => skip.test(s);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
const dispatchError = error => self_.dispatchEvent(Object.assign(new Event('error'), { error }));
|
|
300
|
+
|
|
301
|
+
const throwError = err => {
|
|
302
|
+
(self_.reportError || dispatchError)(err);
|
|
303
|
+
onerror(err);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
const fromParent = parent => (parent ? \` imported from \${parent}\` : '');
|
|
307
|
+
|
|
308
|
+
const backslashRegEx = /\\\\/g;
|
|
309
|
+
|
|
310
|
+
const asURL = url => {
|
|
311
|
+
try {
|
|
312
|
+
if (url.indexOf(':') !== -1) return new URL(url).href;
|
|
313
|
+
} catch (_) {}
|
|
314
|
+
};
|
|
315
|
+
|
|
316
|
+
const resolveUrl = (relUrl, parentUrl) =>
|
|
317
|
+
resolveIfNotPlainOrUrl(relUrl, parentUrl) || asURL(relUrl) || resolveIfNotPlainOrUrl('./' + relUrl, parentUrl);
|
|
318
|
+
|
|
319
|
+
const resolveIfNotPlainOrUrl = (relUrl, parentUrl) => {
|
|
320
|
+
const hIdx = parentUrl.indexOf('#'),
|
|
321
|
+
qIdx = parentUrl.indexOf('?');
|
|
322
|
+
if (hIdx + qIdx > -2)
|
|
323
|
+
parentUrl = parentUrl.slice(
|
|
324
|
+
0,
|
|
325
|
+
hIdx === -1 ? qIdx
|
|
326
|
+
: qIdx === -1 || qIdx > hIdx ? hIdx
|
|
327
|
+
: qIdx
|
|
328
|
+
);
|
|
329
|
+
if (relUrl.indexOf('\\\\') !== -1) relUrl = relUrl.replace(backslashRegEx, '/');
|
|
330
|
+
// protocol-relative
|
|
331
|
+
if (relUrl[0] === '/' && relUrl[1] === '/') {
|
|
332
|
+
return parentUrl.slice(0, parentUrl.indexOf(':') + 1) + relUrl;
|
|
333
|
+
}
|
|
334
|
+
// relative-url
|
|
335
|
+
else if (
|
|
336
|
+
(relUrl[0] === '.' &&
|
|
337
|
+
(relUrl[1] === '/' ||
|
|
338
|
+
(relUrl[1] === '.' && (relUrl[2] === '/' || (relUrl.length === 2 && (relUrl += '/')))) ||
|
|
339
|
+
(relUrl.length === 1 && (relUrl += '/')))) ||
|
|
340
|
+
relUrl[0] === '/'
|
|
341
|
+
) {
|
|
342
|
+
const parentProtocol = parentUrl.slice(0, parentUrl.indexOf(':') + 1);
|
|
343
|
+
if (parentProtocol === 'blob:') {
|
|
344
|
+
throw new TypeError(
|
|
345
|
+
\`Failed to resolve module specifier "\${relUrl}". Invalid relative url or base scheme isn't hierarchical.\`
|
|
346
|
+
);
|
|
347
|
+
}
|
|
348
|
+
// Disabled, but these cases will give inconsistent results for deep backtracking
|
|
349
|
+
//if (parentUrl[parentProtocol.length] !== '/')
|
|
350
|
+
// throw new Error('Cannot resolve');
|
|
351
|
+
// read pathname from parent URL
|
|
352
|
+
// pathname taken to be part after leading "/"
|
|
353
|
+
let pathname;
|
|
354
|
+
if (parentUrl[parentProtocol.length + 1] === '/') {
|
|
355
|
+
// resolving to a :// so we need to read out the auth and host
|
|
356
|
+
if (parentProtocol !== 'file:') {
|
|
357
|
+
pathname = parentUrl.slice(parentProtocol.length + 2);
|
|
358
|
+
pathname = pathname.slice(pathname.indexOf('/') + 1);
|
|
359
|
+
} else {
|
|
360
|
+
pathname = parentUrl.slice(8);
|
|
361
|
+
}
|
|
362
|
+
} else {
|
|
363
|
+
// resolving to :/ so pathname is the /... part
|
|
364
|
+
pathname = parentUrl.slice(parentProtocol.length + (parentUrl[parentProtocol.length] === '/'));
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (relUrl[0] === '/') return parentUrl.slice(0, parentUrl.length - pathname.length - 1) + relUrl;
|
|
368
|
+
|
|
369
|
+
// join together and split for removal of .. and . segments
|
|
370
|
+
// looping the string instead of anything fancy for perf reasons
|
|
371
|
+
// '../../../../../z' resolved to 'x/y' is just 'z'
|
|
372
|
+
const segmented = pathname.slice(0, pathname.lastIndexOf('/') + 1) + relUrl;
|
|
373
|
+
|
|
374
|
+
const output = [];
|
|
375
|
+
let segmentIndex = -1;
|
|
376
|
+
for (let i = 0; i < segmented.length; i++) {
|
|
377
|
+
// busy reading a segment - only terminate on '/'
|
|
378
|
+
if (segmentIndex !== -1) {
|
|
379
|
+
if (segmented[i] === '/') {
|
|
380
|
+
output.push(segmented.slice(segmentIndex, i + 1));
|
|
381
|
+
segmentIndex = -1;
|
|
382
|
+
}
|
|
383
|
+
continue;
|
|
384
|
+
}
|
|
385
|
+
// new segment - check if it is relative
|
|
386
|
+
else if (segmented[i] === '.') {
|
|
387
|
+
// ../ segment
|
|
388
|
+
if (segmented[i + 1] === '.' && (segmented[i + 2] === '/' || i + 2 === segmented.length)) {
|
|
389
|
+
output.pop();
|
|
390
|
+
i += 2;
|
|
391
|
+
continue;
|
|
392
|
+
}
|
|
393
|
+
// ./ segment
|
|
394
|
+
else if (segmented[i + 1] === '/' || i + 1 === segmented.length) {
|
|
395
|
+
i += 1;
|
|
396
|
+
continue;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
// it is the start of a new segment
|
|
400
|
+
while (segmented[i] === '/') i++;
|
|
401
|
+
segmentIndex = i;
|
|
402
|
+
}
|
|
403
|
+
// finish reading out the last segment
|
|
404
|
+
if (segmentIndex !== -1) output.push(segmented.slice(segmentIndex));
|
|
405
|
+
return parentUrl.slice(0, parentUrl.length - pathname.length) + output.join('');
|
|
406
|
+
}
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
const resolveAndComposeImportMap = (json, baseUrl, parentMap) => {
|
|
410
|
+
const outMap = {
|
|
411
|
+
imports: { ...parentMap.imports },
|
|
412
|
+
scopes: { ...parentMap.scopes },
|
|
413
|
+
integrity: { ...parentMap.integrity }
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
if (json.imports) resolveAndComposePackages(json.imports, outMap.imports, baseUrl, parentMap);
|
|
417
|
+
|
|
418
|
+
if (json.scopes)
|
|
419
|
+
for (let s in json.scopes) {
|
|
420
|
+
const resolvedScope = resolveUrl(s, baseUrl);
|
|
421
|
+
resolveAndComposePackages(
|
|
422
|
+
json.scopes[s],
|
|
423
|
+
outMap.scopes[resolvedScope] || (outMap.scopes[resolvedScope] = {}),
|
|
424
|
+
baseUrl,
|
|
425
|
+
parentMap
|
|
426
|
+
);
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
if (json.integrity) resolveAndComposeIntegrity(json.integrity, outMap.integrity, baseUrl);
|
|
430
|
+
|
|
431
|
+
return outMap;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
const getMatch = (path, matchObj) => {
|
|
435
|
+
if (matchObj[path]) return path;
|
|
436
|
+
let sepIndex = path.length;
|
|
437
|
+
do {
|
|
438
|
+
const segment = path.slice(0, sepIndex + 1);
|
|
439
|
+
if (segment in matchObj) return segment;
|
|
440
|
+
} while ((sepIndex = path.lastIndexOf('/', sepIndex - 1)) !== -1);
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
const applyPackages = (id, packages) => {
|
|
444
|
+
const pkgName = getMatch(id, packages);
|
|
445
|
+
if (pkgName) {
|
|
446
|
+
const pkg = packages[pkgName];
|
|
447
|
+
if (pkg === null) return;
|
|
448
|
+
return pkg + id.slice(pkgName.length);
|
|
449
|
+
}
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
const resolveImportMap = (importMap, resolvedOrPlain, parentUrl) => {
|
|
453
|
+
let scopeUrl = parentUrl && getMatch(parentUrl, importMap.scopes);
|
|
454
|
+
while (scopeUrl) {
|
|
455
|
+
const packageResolution = applyPackages(resolvedOrPlain, importMap.scopes[scopeUrl]);
|
|
456
|
+
if (packageResolution) return packageResolution;
|
|
457
|
+
scopeUrl = getMatch(scopeUrl.slice(0, scopeUrl.lastIndexOf('/')), importMap.scopes);
|
|
458
|
+
}
|
|
459
|
+
return applyPackages(resolvedOrPlain, importMap.imports) || (resolvedOrPlain.indexOf(':') !== -1 && resolvedOrPlain);
|
|
460
|
+
};
|
|
461
|
+
|
|
462
|
+
const resolveAndComposePackages = (packages, outPackages, baseUrl, parentMap) => {
|
|
463
|
+
for (let p in packages) {
|
|
464
|
+
const resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;
|
|
465
|
+
if (
|
|
466
|
+
(!shimMode || !mapOverrides) &&
|
|
467
|
+
outPackages[resolvedLhs] &&
|
|
468
|
+
outPackages[resolvedLhs] !== packages[resolvedLhs]
|
|
469
|
+
) {
|
|
470
|
+
console.warn(
|
|
471
|
+
\`es-module-shims: Rejected map override "\${resolvedLhs}" from \${outPackages[resolvedLhs]} to \${packages[resolvedLhs]}.\`
|
|
472
|
+
);
|
|
473
|
+
continue;
|
|
474
|
+
}
|
|
475
|
+
let target = packages[p];
|
|
476
|
+
if (typeof target !== 'string') continue;
|
|
477
|
+
const mapped = resolveImportMap(parentMap, resolveIfNotPlainOrUrl(target, baseUrl) || target, baseUrl);
|
|
478
|
+
if (mapped) {
|
|
479
|
+
outPackages[resolvedLhs] = mapped;
|
|
480
|
+
continue;
|
|
481
|
+
}
|
|
482
|
+
console.warn(\`es-module-shims: Mapping "\${p}" -> "\${packages[p]}" does not resolve\`);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
|
|
486
|
+
const resolveAndComposeIntegrity = (integrity, outIntegrity, baseUrl) => {
|
|
487
|
+
for (let p in integrity) {
|
|
488
|
+
const resolvedLhs = resolveIfNotPlainOrUrl(p, baseUrl) || p;
|
|
489
|
+
if (
|
|
490
|
+
(!shimMode || !mapOverrides) &&
|
|
491
|
+
outIntegrity[resolvedLhs] &&
|
|
492
|
+
outIntegrity[resolvedLhs] !== integrity[resolvedLhs]
|
|
493
|
+
) {
|
|
494
|
+
console.warn(
|
|
495
|
+
\`es-module-shims: Rejected map integrity override "\${resolvedLhs}" from \${outIntegrity[resolvedLhs]} to \${integrity[resolvedLhs]}.\`
|
|
496
|
+
);
|
|
497
|
+
}
|
|
498
|
+
outIntegrity[resolvedLhs] = integrity[p];
|
|
499
|
+
}
|
|
500
|
+
};
|
|
501
|
+
|
|
502
|
+
let policy;
|
|
503
|
+
if (
|
|
504
|
+
typeof self !== 'undefined' &&
|
|
505
|
+
(typeof self.trustedTypes !== 'undefined' || typeof self.TrustedTypes !== 'undefined')
|
|
506
|
+
) {
|
|
507
|
+
try {
|
|
508
|
+
policy = (self.trustedTypes || self.TrustedTypes).createPolicy('es-module-shims', {
|
|
509
|
+
createHTML: html => html,
|
|
510
|
+
createScript: script => script
|
|
511
|
+
});
|
|
512
|
+
} catch {}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
function maybeTrustedInnerHTML(html) {
|
|
516
|
+
return policy ? policy.createHTML(html) : html;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
function maybeTrustedScript(script) {
|
|
520
|
+
return policy ? policy.createScript(script) : script;
|
|
521
|
+
}
|
|
522
|
+
|
|
523
|
+
// support browsers without dynamic import support (eg Firefox 6x)
|
|
524
|
+
let supportsJsonType = false;
|
|
525
|
+
let supportsCssType = false;
|
|
526
|
+
|
|
527
|
+
const supports = hasDocument && HTMLScriptElement.supports;
|
|
528
|
+
|
|
529
|
+
let supportsImportMaps = supports && supports.name === 'supports' && supports('importmap');
|
|
530
|
+
let supportsWasmInstancePhase = false;
|
|
531
|
+
let supportsWasmSourcePhase = false;
|
|
532
|
+
let supportsMultipleImportMaps = false;
|
|
533
|
+
|
|
534
|
+
const wasmBytes = [0, 97, 115, 109, 1, 0, 0, 0];
|
|
535
|
+
|
|
536
|
+
let featureDetectionPromise = (async function () {
|
|
537
|
+
// In shim mode, feature detection results are unused — skip the iframe overhead
|
|
538
|
+
if (shimMode) return;
|
|
539
|
+
if (!hasDocument)
|
|
540
|
+
return Promise.all([
|
|
541
|
+
import(createBlob(\`import"\${createBlob('{}', 'text/json')}"with{type:"json"}\`)).then(
|
|
542
|
+
() => (
|
|
543
|
+
(supportsJsonType = true),
|
|
544
|
+
import(createBlob(\`import"\${createBlob('', 'text/css')}"with{type:"css"}\`)).then(
|
|
545
|
+
() => (supportsCssType = true),
|
|
546
|
+
noop
|
|
547
|
+
)
|
|
548
|
+
),
|
|
549
|
+
noop
|
|
550
|
+
),
|
|
551
|
+
wasmInstancePhaseEnabled &&
|
|
552
|
+
import(createBlob(\`import"\${createBlob(new Uint8Array(wasmBytes), 'application/wasm')}"\`)).then(
|
|
553
|
+
() => (supportsWasmInstancePhase = true),
|
|
554
|
+
noop
|
|
555
|
+
),
|
|
556
|
+
wasmSourcePhaseEnabled &&
|
|
557
|
+
import(createBlob(\`import source x from"\${createBlob(new Uint8Array(wasmBytes), 'application/wasm')}"\`)).then(
|
|
558
|
+
() => (supportsWasmSourcePhase = true),
|
|
559
|
+
noop
|
|
560
|
+
)
|
|
561
|
+
]);
|
|
562
|
+
|
|
563
|
+
const msgTag = \`s\${version}\`;
|
|
564
|
+
return new Promise(resolve => {
|
|
565
|
+
const iframe = document.createElement('iframe');
|
|
566
|
+
iframe.style.display = 'none';
|
|
567
|
+
iframe.setAttribute('nonce', nonce);
|
|
568
|
+
function cb({ data }) {
|
|
569
|
+
const isFeatureDetectionMessage = Array.isArray(data) && data[0] === msgTag;
|
|
570
|
+
if (!isFeatureDetectionMessage) return;
|
|
571
|
+
[
|
|
572
|
+
,
|
|
573
|
+
supportsImportMaps,
|
|
574
|
+
supportsMultipleImportMaps,
|
|
575
|
+
supportsJsonType,
|
|
576
|
+
supportsCssType,
|
|
577
|
+
supportsWasmSourcePhase,
|
|
578
|
+
supportsWasmInstancePhase
|
|
579
|
+
] = data;
|
|
580
|
+
resolve();
|
|
581
|
+
document.head.removeChild(iframe);
|
|
582
|
+
window.removeEventListener('message', cb, false);
|
|
583
|
+
}
|
|
584
|
+
window.addEventListener('message', cb, false);
|
|
585
|
+
// Feature checking with careful avoidance of unnecessary work - all gated on initial import map supports check. CSS gates on JSON feature check, Wasm instance phase gates on wasm source phase check.
|
|
586
|
+
const importMapTest = \`<script nonce=\${nonce || ''}>\${
|
|
587
|
+
policy ? 't=(window.trustedTypes||window.TrustedTypes).createPolicy("es-module-shims",{createScript:s=>s});' : ''
|
|
588
|
+
}b=(s,type='text/javascript')=>URL.createObjectURL(new Blob([s],{type}));c=u=>import(u).then(()=>true,()=>false);i=innerText=>document.head.appendChild(Object.assign(document.createElement('script'),{type:'importmap',nonce:"\${nonce}",text:\${
|
|
589
|
+
policy ? 't.createScript(innerText)' : 'innerText'
|
|
590
|
+
}}));i(\\\`{"imports":{"x":"\\\${b('')}"}}\\\`);i(\\\`{"imports":{"y":"\\\${b('')}"}}\\\`);cm=\${
|
|
591
|
+
supportsImportMaps && jsonModulesEnabled ? \`c(b(\\\`import"\\\${b('{}','text/json')}"with{type:"json"}\\\`))\` : 'false'
|
|
592
|
+
};sp=\${
|
|
593
|
+
supportsImportMaps && wasmSourcePhaseEnabled ?
|
|
594
|
+
\`c(b(\\\`import source x from "\\\${b(new Uint8Array(\${JSON.stringify(wasmBytes)}),'application/wasm')\\}"\\\`))\`
|
|
595
|
+
: 'false'
|
|
596
|
+
};Promise.all([\${supportsImportMaps ? 'true' : "c('x')"},\${supportsImportMaps ? "c('y')" : false},cm,\${
|
|
597
|
+
supportsImportMaps && cssModulesEnabled ?
|
|
598
|
+
\`cm.then(s=>s?c(b(\\\`import"\\\${b('','text/css')\\}"with{type:"css"}\\\`)):false)\`
|
|
599
|
+
: 'false'
|
|
600
|
+
},sp,\${
|
|
601
|
+
supportsImportMaps && wasmInstancePhaseEnabled ?
|
|
602
|
+
\`\${wasmSourcePhaseEnabled ? 'sp.then(s=>s?' : ''}c(b(\\\`import"\\\${b(new Uint8Array(\${JSON.stringify(wasmBytes)}),'application/wasm')\\}"\\\`))\${wasmSourcePhaseEnabled ? ':false)' : ''}\`
|
|
603
|
+
: 'false'
|
|
604
|
+
}]).then(a=>parent.postMessage(['\${msgTag}'].concat(a),'*'))<\${''}/script>\`;
|
|
605
|
+
|
|
606
|
+
// Safari will call onload eagerly on head injection, but we don't want the Wechat
|
|
607
|
+
// path to trigger before setting srcdoc, therefore we track the timing
|
|
608
|
+
let readyForOnload = false,
|
|
609
|
+
onloadCalledWhileNotReady = false;
|
|
610
|
+
function doOnload() {
|
|
611
|
+
if (!readyForOnload) {
|
|
612
|
+
onloadCalledWhileNotReady = true;
|
|
613
|
+
return;
|
|
614
|
+
}
|
|
615
|
+
// WeChat browser doesn't support setting srcdoc scripts
|
|
616
|
+
// But iframe sandboxes don't support contentDocument so we do this as a fallback
|
|
617
|
+
const doc = iframe.contentDocument;
|
|
618
|
+
if (doc && doc.head.childNodes.length === 0) {
|
|
619
|
+
const s = doc.createElement('script');
|
|
620
|
+
if (nonce) s.setAttribute('nonce', nonce);
|
|
621
|
+
s.innerText = maybeTrustedScript(importMapTest.slice(15 + (nonce ? nonce.length : 0), -9));
|
|
622
|
+
doc.head.appendChild(s);
|
|
623
|
+
}
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
iframe.onload = doOnload;
|
|
627
|
+
// WeChat browser requires append before setting srcdoc
|
|
628
|
+
document.head.appendChild(iframe);
|
|
629
|
+
|
|
630
|
+
// setting srcdoc is not supported in React native webviews on iOS
|
|
631
|
+
// setting src to a blob URL results in a navigation event in webviews
|
|
632
|
+
// document.write gives usability warnings
|
|
633
|
+
readyForOnload = true;
|
|
634
|
+
if ('srcdoc' in iframe) iframe.srcdoc = maybeTrustedInnerHTML(importMapTest);
|
|
635
|
+
else iframe.contentDocument.write(importMapTest);
|
|
636
|
+
// retrigger onload for Safari only if necessary
|
|
637
|
+
if (onloadCalledWhileNotReady) doOnload();
|
|
638
|
+
});
|
|
639
|
+
})();
|
|
640
|
+
|
|
641
|
+
/* es-module-lexer (minimal) 2.3.1 */
|
|
642
|
+
let e,a,r,i=2<<19;const s=1===new Uint8Array(new Uint16Array([1]).buffer)[0]?function(e,a){const r=e.length;let i=0;for(;i<r;)a[i]=e.charCodeAt(i++);}:function(e,a){const r=e.length;let i=0;for(;i<r;){const r=e.charCodeAt(i);a[i++]=(255&r)<<8|r>>>8;}},f="etaourceeferromsyncunctionlassvoyiedelecontininstantybreareturdebuggeawaithrwhileforifcatcfinallelsxportport";let c$1,t,n;function parse(k,l="@"){c$1=k,t=l;const u=2*c$1.length+(2<<18);if(u>i||!e){for(;u>i;)i*=2;a=new ArrayBuffer(i),s(f,new Uint16Array(a,16,108)),e=function(e,a,r){"use asm";var i=new e.Int8Array(r),s=new e.Int16Array(r),f=new e.Int32Array(r),c=new e.Uint8Array(r),t=new e.Uint16Array(r),n=1040;function b(e){e=e|0;var a=0,r=0,c=0,t=0,n=0,b=0,k=0,o=0,w=0,g=0,p=0,y=0,m=0,O=0,T=0;y=s[398]|0;a=f[71]|0;f[68]=a;k=a;p=a;o=y;g=0;e:while(1){r=f[72]|0;t=o<<16>>16==y<<16>>16;c=g&e;b=a;while(1){n=b+2|0;if(b>>>0>=r>>>0){a=0;w=100;break e}a=s[n>>1]|0;if(!(M(a)|0)){if(t){switch(a<<16>>16){case 125:case 93:case 41:case 59:case 44:{w=100;break e}default:{}}if(c?se(a)|0:0){w=100;break e}}if(!(se(a)|0))break}b=n;}f[71]=n;a:do{switch(a<<16>>16){case 101:{if((o<<16>>16==0?Q(n)|0:0)?(S(b+4|0,214,10)|0)==0:0){u();w=89;}else w=89;break}case 105:{if(((s[b+4>>1]|0)==109?Q(n)|0:0)?(S(b+6|0,224,8)|0)==0:0){l();w=89;}else w=89;break}case 99:{if((((s[b+4>>1]|0)==108?Q(n)|0:0)?(S(b+6|0,70,6)|0)==0:0)?L(s[b+12>>1]|0)|0:0){i[800]=1;w=89;}else w=89;break}case 40:{b=f[69]|0;w=o&65535;f[b+(w<<3)>>2]=1;s[398]=o+1<<16>>16;f[b+(w<<3)+4>>2]=k;w=89;break}case 91:{b=f[69]|0;w=o&65535;f[b+(w<<3)>>2]=8;s[398]=o+1<<16>>16;f[b+(w<<3)+4>>2]=k;w=89;break}case 93:if(!(o<<16>>16)){ee();break a}else {s[398]=o+-1<<16>>16;w=89;break a}case 44:{r=s[397]|0;if((!(o<<16>>16==0|r<<16>>16==0)?(f[(f[69]|0)+((o&65535)+-1<<3)>>2]|0)==5:0)?(m=f[(f[70]|0)+((r&65535)+-1<<2)>>2]|0,(f[m+4>>2]|0)==0):0){f[m+4>>2]=p+2;f[71]=b+4;v(1)|0;w=f[71]|0;f[m+16>>2]=w;f[71]=w+-2;w=89;}else w=89;break}case 41:{if(!(o<<16>>16)){ee();break a}w=o+-1<<16>>16;s[398]=w;r=s[397]|0;if(r<<16>>16!=0?(f[(f[69]|0)+((w&65535)<<3)>>2]|0)==5:0){c=f[(f[70]|0)+((r&65535)+-1<<2)>>2]|0;if(!(f[c+4>>2]|0))f[c+4>>2]=p+2;f[c+12>>2]=b+4;s[397]=r+-1<<16>>16;w=89;}else w=89;break}case 123:{w=f[62]|0;do{if((s[p>>1]|0)==41&(w|0)!=0?(f[w+12>>2]|0)==(p+2|0):0){r=f[63]|0;f[62]=r;if(!r){f[58]=0;break}else {f[r+32>>2]=0;break}}}while(0);b=f[69]|0;w=o&65535;f[b+(w<<3)>>2]=(i[800]|0)==0?2:6;s[398]=o+1<<16>>16;f[b+(w<<3)+4>>2]=k;i[800]=0;w=89;break}case 125:{if(!(o<<16>>16)){ee();break a}k=f[69]|0;w=o+-1<<16>>16;s[398]=w;if((f[k+((w&65535)<<3)>>2]|0)==4){d();w=89;}else w=89;break}case 34:case 39:{A(a);w=89;break}case 47:switch(s[b+4>>1]|0){case 47:{F();break a}case 42:{x(1);break a}default:{c=s[p>>1]|0;r:do{if(!($(c)|0)){if(!(c<<16>>16==41?K(f[(f[69]|0)+((o&65535)<<3)+4>>2]|0)|0:0))w=62;}else switch(c<<16>>16){case 46:if(((s[p+-2>>1]|0)+-48&65535)<10){w=62;break r}else break r;case 43:if((s[p+-2>>1]|0)==43){w=62;break r}else break r;case 45:if((s[p+-2>>1]|0)==45){w=62;break r}else break r;default:break r}}while(0);r:do{if((w|0)==62){w=0;if(o<<16>>16!=0?(O=f[69]|0,T=(o&65535)+-1|0,c<<16>>16==102?(f[O+(T<<3)>>2]|0)==1:0):0){if(((s[p+-2>>1]|0)==111?C(p+-4|0)|0:0)?B(f[O+(T<<3)+4>>2]|0,178,3)|0:0)break}else w=67;if((w|0)==67?(0,c<<16>>16==125):0){t=f[69]|0;r=o&65535;if(U(f[t+(r<<3)+4>>2]|0)|0)break;if((f[t+(r<<3)>>2]|0)==6)break}if(!(h(p)|0)){switch(c<<16>>16){case 0:break r;case 47:{if(i[799]|0)break r;break}default:{}}w=f[64]|0;if((w|0?p>>>0>=(f[w>>2]|0)>>>0:0)?p>>>0<=(f[w+4>>2]|0)>>>0:0){I();i[799]=0;w=89;break a}t=f[3]|0;r=p;do{if(r>>>0<=t>>>0)break;r=r+-2|0;f[68]=r;c=s[r>>1]|0;}while(!(D(c)|0));if(M(c)|0){do{if(r>>>0<=t>>>0)break;r=r+-2|0;f[68]=r;}while(M(s[r>>1]|0)|0);if(q(r)|0){I();i[799]=0;w=89;break a}}i[799]=1;w=89;break a}}}while(0);I();i[799]=0;w=89;break a}}case 96:{b=f[69]|0;w=o&65535;f[b+(w<<3)+4>>2]=k;s[398]=o+1<<16>>16;f[b+(w<<3)>>2]=3;d();w=89;break}default:w=89;}}while(0);if((w|0)==89){w=0;f[68]=f[71];}if(i[798]|0){a=0;break}r=f[68]|0;a:do{if((r|0)==(p|0))if(g&((s[398]|0)==y<<16>>16&e)){a=s[f[71]>>1]|0;if(se(a)|0)break e;else a=1;}else a=g;else {if(a<<16>>16==47){a=(i[799]|0)==0;break}if(G(a)|0)a=1;else {switch(a<<16>>16){case 96:case 34:case 39:case 41:case 93:case 125:{a=1;break a}default:{}}a=0;}}}while(0);k=r;p=r;o=s[398]|0;g=a;a=f[71]|0;}if((w|0)==100)f[71]=n;return a|0}function k(){var e=0,a=0,r=0,c=0,t=0,b=0,k=0,o=0,w=0;w=n;n=n+10240|0;s[397]=0;s[398]=0;f[68]=f[2];i[799]=0;f[67]=0;i[798]=0;f[69]=w+2048;f[70]=w;i[800]=0;r=(f[3]|0)+-2|0;f[71]=r;e=r+(f[65]<<1)|0;f[72]=e;e:while(1){a=r+2|0;f[71]=a;if(r>>>0>=e>>>0){c=85;break}e=s[a>>1]|0;a:do{switch(e<<16>>16){case 9:case 10:case 11:case 12:case 13:case 32:break;case 101:{if(((s[398]|0)==0?Q(a)|0:0)?(S(r+4|0,214,10)|0)==0:0){u();c=84;}else c=84;break}case 105:{if(((s[r+4>>1]|0)==109?Q(a)|0:0)?(S(r+6|0,224,8)|0)==0:0){l();c=84;}else c=84;break}case 99:{if((((s[r+4>>1]|0)==108?Q(a)|0:0)?(S(r+6|0,70,6)|0)==0:0)?L(s[r+12>>1]|0)|0:0){i[800]=1;c=84;}else c=84;break}case 40:{r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)>>2]=1;a=f[68]|0;s[398]=c+1<<16>>16;f[r+((c&65535)<<3)+4>>2]=a;c=84;break}case 91:{r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)>>2]=8;a=f[68]|0;s[398]=c+1<<16>>16;f[r+((c&65535)<<3)+4>>2]=a;c=84;break}case 93:{e=s[398]|0;if(!(e<<16>>16)){c=21;break e}s[398]=e+-1<<16>>16;c=84;break}case 44:{e=s[397]|0;if(((e<<16>>16!=0?(t=s[398]|0,t<<16>>16!=0):0)?(f[(f[69]|0)+((t&65535)+-1<<3)>>2]|0)==5:0)?(b=f[(f[70]|0)+((e&65535)+-1<<2)>>2]|0,(f[b+4>>2]|0)==0):0){f[b+4>>2]=(f[68]|0)+2;f[71]=r+4;v(1)|0;c=f[71]|0;f[b+16>>2]=c;f[71]=c+-2;c=84;}else c=84;break}case 41:{e=s[398]|0;if(!(e<<16>>16)){c=29;break e}s[398]=e+-1<<16>>16;a=s[397]|0;if(a<<16>>16!=0?(f[(f[69]|0)+((e+-1&65535)<<3)>>2]|0)==5:0){e=f[(f[70]|0)+((a&65535)+-1<<2)>>2]|0;if(!(f[e+4>>2]|0))f[e+4>>2]=(f[68]|0)+2;f[e+12>>2]=r+4;s[397]=a+-1<<16>>16;c=84;}else c=84;break}case 123:{e=f[68]|0;c=f[62]|0;do{if((s[e>>1]|0)==41&(c|0)!=0?(f[c+12>>2]|0)==(e+2|0):0){a=f[63]|0;f[62]=a;if(!a){f[58]=0;break}else {f[a+32>>2]=0;break}}}while(0);r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)>>2]=(i[800]|0)==0?2:6;s[398]=c+1<<16>>16;f[r+((c&65535)<<3)+4>>2]=e;i[800]=0;c=84;break}case 125:{e=s[398]|0;if(!(e<<16>>16)){c=42;break e}c=f[69]|0;s[398]=e+-1<<16>>16;if((f[c+((e+-1&65535)<<3)>>2]|0)==4){d();c=84;}else c=84;break}case 34:case 39:{A(e);c=84;break}case 47:switch(s[r+4>>1]|0){case 47:{F();break a}case 42:{x(1);break a}default:{e=f[68]|0;a=s[e>>1]|0;r:do{if(!($(a)|0))if(a<<16>>16==41){r=s[398]|0;if(!(K(f[(f[69]|0)+((r&65535)<<3)+4>>2]|0)|0))c=57;}else c=56;else switch(a<<16>>16){case 46:if(((s[e+-2>>1]|0)+-48&65535)<10){c=56;break r}else break r;case 43:if((s[e+-2>>1]|0)==43){c=56;break r}else break r;case 45:if((s[e+-2>>1]|0)==45){c=56;break r}else break r;default:break r}}while(0);if((c|0)==56){r=s[398]|0;c=57;}r:do{if((c|0)==57){c=0;if(r<<16>>16!=0?(k=f[69]|0,o=(r&65535)+-1|0,a<<16>>16==102?(f[k+(o<<3)>>2]|0)==1:0):0){if(((s[e+-2>>1]|0)==111?C(e+-4|0)|0:0)?B(f[k+(o<<3)+4>>2]|0,178,3)|0:0)break}else c=62;if((c|0)==62?(0,a<<16>>16==125):0){c=f[69]|0;r=r&65535;if(U(f[c+(r<<3)+4>>2]|0)|0)break;if((f[c+(r<<3)>>2]|0)==6)break}if(!(h(e)|0)){switch(a<<16>>16){case 0:break r;case 47:{if(i[799]|0)break r;break}default:{}}c=f[64]|0;if((c|0?e>>>0>=(f[c>>2]|0)>>>0:0)?e>>>0<=(f[c+4>>2]|0)>>>0:0){I();i[799]=0;c=84;break a}r=f[3]|0;do{if(e>>>0<=r>>>0)break;e=e+-2|0;f[68]=e;a=s[e>>1]|0;}while(!(D(a)|0));if(M(a)|0){do{if(e>>>0<=r>>>0)break;e=e+-2|0;f[68]=e;}while(M(s[e>>1]|0)|0);if(q(e)|0){I();i[799]=0;c=84;break a}}i[799]=1;c=84;break a}}}while(0);I();i[799]=0;c=84;break a}}case 96:{r=f[69]|0;c=s[398]|0;f[r+((c&65535)<<3)+4>>2]=f[68];s[398]=c+1<<16>>16;f[r+((c&65535)<<3)>>2]=3;d();c=84;break}default:c=84;}}while(0);if((c|0)==84){c=0;f[68]=f[71];}r=f[71]|0;e=f[72]|0;}if((c|0)==21){ee();e=0;}else if((c|0)==29){ee();e=0;}else if((c|0)==42){ee();e=0;}else if((c|0)==85)e=(i[798]|0)==0?(s[397]|s[398])<<16>>16==0:0;n=w;return e|0}function l(){var e=0,a=0,r=0,c=0,t=0,n=0;n=f[71]|0;f[71]=n+12;e=v(1)|0;r=f[71]|0;e:do{if(e<<16>>16!=46){if(!(e<<16>>16==115&r>>>0>(n+12|0)>>>0)){if(!(e<<16>>16==100&r>>>0>(n+10|0)>>>0)){r=0;t=28;break}if(S(r+2|0,32,8)|0){a=r;e=100;r=0;t=60;break}if(!(L(s[r+10>>1]|0)|0)){a=r;e=100;r=0;t=60;break}f[71]=r+10;e=v(1)|0;if(e<<16>>16==42){e=42;c=2;t=62;break}f[71]=r;r=0;t=28;break}if((S(r+2|0,22,10)|0)==0?L(s[r+12>>1]|0)|0:0){f[71]=r+12;e=v(1)|0;a=f[71]|0;if((a|0)!=(r+12|0)){if(e<<16>>16!=102){r=1;t=28;break}if(S(a+2|0,40,6)|0){e=102;r=1;t=60;break}if(!(D(s[a+8>>1]|0)|0)){e=102;r=1;t=60;break}}f[71]=r;r=0;t=28;}else {a=r;e=115;r=0;t=60;}}else {f[71]=r+2;switch((v(1)|0)<<16>>16){case 109:{e=f[71]|0;if(S(e+2|0,16,6)|0)break e;a=f[68]|0;if(!(N(a)|0)?(s[a>>1]|0)==46:0)break e;g(n,n,e+8|0,2);break e}case 115:{e=f[71]|0;if(S(e+2|0,22,10)|0)break e;a=f[68]|0;if(!(N(a)|0)?(s[a>>1]|0)==46:0)break e;f[71]=e+12;e=v(1)|0;r=1;t=28;break e}case 100:{e=f[71]|0;if(S(e+2|0,32,8)|0)break e;a=f[68]|0;if(!(N(a)|0)?(s[a>>1]|0)==46:0)break e;f[71]=e+10;e=v(1)|0;r=2;t=28;break e}default:break e}}}while(0);e:do{if((t|0)==28){if(e<<16>>16==40){a=f[69]|0;c=s[398]|0;f[a+((c&65535)<<3)>>2]=5;e=f[71]|0;s[398]=c+1<<16>>16;f[a+((c&65535)<<3)+4>>2]=e;if((s[f[68]>>1]|0)==46)break;f[71]=e+2;a=v(1)|0;g(n,f[71]|0,0,e);if(!r)e=f[62]|0;else {e=f[62]|0;f[e+28>>2]=(r|0)==1?5:7;}c=f[70]|0;n=s[397]|0;s[397]=n+1<<16>>16;f[c+((n&65535)<<2)>>2]=e;switch(a<<16>>16){case 39:{A(39);break}case 34:{A(34);break}case 96:{if(!(y()|0))t=37;break}default:t=37;}if((t|0)==37){f[71]=(f[71]|0)+-2;break}e=(f[71]|0)+2|0;f[71]=e;switch((v(1)|0)<<16>>16){case 44:{f[71]=(f[71]|0)+2;v(1)|0;c=f[62]|0;f[c+4>>2]=e;n=f[71]|0;f[c+16>>2]=n;i[c+24>>0]=1;f[71]=n+-2;break e}case 41:{s[398]=(s[398]|0)+-1<<16>>16;n=f[62]|0;f[n+4>>2]=e;f[n+12>>2]=(f[71]|0)+2;i[n+24>>0]=1;s[397]=(s[397]|0)+-1<<16>>16;break e}default:{f[71]=(f[71]|0)+-2;break e}}}if(!((r|0)==0&e<<16>>16==123)){switch(e<<16>>16){case 42:case 39:case 34:{c=r;t=62;break e}default:{}}a=f[71]|0;t=60;break}e=f[71]|0;if(s[398]|0){f[71]=e+-2;break}while(1){if(e>>>0>=(f[72]|0)>>>0)break;e=v(1)|0;if(!(ae(e)|0)){if(e<<16>>16==125){t=50;break}}else A(e);e=(f[71]|0)+2|0;f[71]=e;}if((t|0)==50)f[71]=(f[71]|0)+2;c=(v(1)|0)<<16>>16==102;e=f[71]|0;if(c?S(e+2|0,40,6)|0:0){ee();break}f[71]=e+8;e=v(1)|0;if(ae(e)|0){w(n,e,0);break}else {ee();break}}}while(0);if((t|0)==60)if((a|0)==(n+12|0))f[71]=n+10;else {c=r;t=62;}do{if((t|0)==62){if(!((e<<16>>16==42|(c|0)!=2)&(s[398]|0)==0)){f[71]=(f[71]|0)+-2;break}e=f[72]|0;a=f[71]|0;while(1){if(a>>>0>=e>>>0){t=69;break}r=s[a>>1]|0;if(ae(r)|0){t=67;break}t=a+2|0;f[71]=t;a=t;}if((t|0)==67){w(n,r,c);break}else if((t|0)==69){ee();break}}}while(0);return}function u(){var e=0,a=0,r=0,i=0,c=0,t=0,n=0,k=0,l=0,u=0;k=f[71]|0;l=f[64]|0;f[71]=k+12;a=v(1)|0;e=f[71]|0;if(!((e|0)==(k+12|0)?!(O(a)|0):0))u=3;e:do{if((u|0)==3){a:do{switch(a<<16>>16){case 123:{f[71]=e+2;e=v(1)|0;r=f[71]|0;while(1){if(ae(e)|0){A(e);e=(f[71]|0)+2|0;f[71]=e;}else {H(e)|0;e=f[71]|0;}v(1)|0;e=p(r,e)|0;if(e<<16>>16==44){f[71]=(f[71]|0)+2;e=v(1)|0;}a=r;r=f[71]|0;if(e<<16>>16==125){u=15;break}if((r|0)==(a|0)){u=12;break}if(r>>>0>(f[72]|0)>>>0){u=14;break}}if((u|0)==12){ee();break e}else if((u|0)==14){ee();break e}else if((u|0)==15){f[71]=r+2;u=49;break a}break}case 42:{f[71]=e+2;v(1)|0;u=f[71]|0;p(u,u)|0;u=49;break}case 100:{f[71]=e+14;switch((v(1)|0)<<16>>16){case 97:{a=f[71]|0;if((S(a+2|0,46,8)|0)==0?M(s[a+10>>1]|0)|0:0){f[71]=a+10;v(0)|0;u=21;}break}case 102:{u=21;break}case 99:{a=f[71]|0;if(((S(a+2|0,68,8)|0)==0?(l=s[a+10>>1]|0,L(l)|0|l<<16>>16==123):0)?(f[71]=a+10,r=v(1)|0,r<<16>>16!=123):0){n=r;u=30;}break}default:{}}r:do{if((u|0)==21?(i=f[71]|0,(S(i+2|0,54,14)|0)==0):0){a=s[i+16>>1]|0;if(!(L(a)|0))switch(a<<16>>16){case 40:case 42:break;default:break r}f[71]=i+16;a=v(1)|0;if(a<<16>>16==42){f[71]=(f[71]|0)+2;a=v(1)|0;}if(a<<16>>16!=40){n=a;u=30;}}}while(0);if((u|0)==30?(c=f[71]|0,H(n)|0,t=f[71]|0,t>>>0>c>>>0):0){E(e,e+14|0,c,t);f[71]=(f[71]|0)+-2;break e}E(e,e+14|0,0,0);f[71]=e+12;break e}case 97:{f[71]=e+10;v(0)|0;e=f[71]|0;u=34;break}case 102:{u=34;break}case 99:{if((S(e+2|0,68,8)|0)==0?D(s[e+10>>1]|0)|0:0){f[71]=e+10;u=v(1)|0;l=f[71]|0;H(u)|0;u=f[71]|0;E(l,u,l,u);f[71]=(f[71]|0)+-2;break e}f[71]=e+4;e=e+4|0;u=41;break}case 108:case 118:{u=41;break}default:break e}}while(0);if((u|0)==34){f[71]=e+16;e=v(1)|0;if(e<<16>>16==42){f[71]=(f[71]|0)+2;e=v(1)|0;}l=f[71]|0;H(e)|0;u=f[71]|0;E(l,u,l,u);f[71]=(f[71]|0)+-2;break}else if((u|0)==41){f[71]=e+6;while(1){a=v(1)|0;e=f[71]|0;if(e>>>0>(f[72]|0)>>>0)break;a=P(a)|0;if((f[71]|0)==(e|0))break;if(a<<16>>16==61)a=b(1)|0;e=f[71]|0;if(a<<16>>16!=44)break;f[71]=e+2;}f[71]=e+-2;break}else if((u|0)==49){u=(v(1)|0)<<16>>16==102;e=f[71]|0;if(u?(S(e+2|0,40,6)|0)==0:0){f[71]=e+8;w(k,v(1)|0,0);e=(l|0)==0?236:l+16|0;while(1){e=f[e>>2]|0;if(!e)break e;f[e+12>>2]=0;f[e+8>>2]=0;e=e+16|0;}}f[71]=e+-2;break}}}while(0);return}function o(){var e=0,a=0,r=0,i=0,c=0,t=0,n=0;e=f[71]|0;c=(s[e>>1]|0)==123;f[71]=e+2;e=v(1)|0;t=c?125:93;e:while(1){if((t|0)==(e&65535|0))break;i=f[71]|0;if(i>>>0>(f[72]|0)>>>0)break;if((e<<16>>16==46?(s[i+2>>1]|0)==46:0)?(s[i+4>>1]|0)==46:0){f[71]=i+6;e=P(v(1)|0)|0;}else n=9;a:do{if((n|0)==9){n=0;do{if(c){do{if(e<<16>>16==91){b(0)|0;f[71]=(f[71]|0)+2;a=i;}else {if(ae(e)|0){A(e);f[71]=(f[71]|0)+2;a=i;break}if((e+-48&65535)>=10){H(e)|0;a=f[71]|0;break}e=i;r:while(1){r=e+2|0;a=s[r>>1]|0;i:do{if((a+-48&65535)>=10){switch(a<<16>>16){case 67:case 68:case 70:case 97:case 65:case 99:case 100:case 102:case 46:case 66:case 69:case 79:case 88:case 95:case 98:case 101:case 110:case 111:case 120:break i;case 43:case 45:break;default:break r}switch(s[e>>1]|0){case 69:case 101:break;default:break r}}}while(0);e=r;}f[71]=r;a=i;}}while(0);e=v(1)|0;if(e<<16>>16==58){f[71]=(f[71]|0)+2;e=P(v(1)|0)|0;break}if(a>>>0>i>>>0)E(i,a,i,a);}else if(e<<16>>16==44){f[71]=i+2;e=v(1)|0;break a}else {e=P(e)|0;break}}while(0);if(e<<16>>16==61)e=b(0)|0;if(e<<16>>16!=44)break e;f[71]=(f[71]|0)+2;e=v(1)|0;}}while(0)}return}function h(e){e=e|0;e:do{switch(s[e>>1]|0){case 100:switch(s[e+-2>>1]|0){case 105:{e=B(e+-4|0,76,2)|0;break e}case 108:{e=B(e+-4|0,80,3)|0;break e}default:{e=0;break e}}case 101:switch(s[e+-2>>1]|0){case 115:switch(s[e+-4>>1]|0){case 108:{e=z(e+-6|0,101)|0;break e}case 97:{e=z(e+-6|0,99)|0;break e}default:{e=0;break e}}case 116:{e=B(e+-4|0,86,4)|0;break e}case 117:{e=B(e+-4|0,94,6)|0;break e}default:{e=0;break e}}case 102:{if((s[e+-2>>1]|0)==111?(s[e+-4>>1]|0)==101:0)switch(s[e+-6>>1]|0){case 99:{e=B(e+-8|0,106,6)|0;break e}case 112:{e=B(e+-8|0,118,2)|0;break e}default:{e=0;break e}}else e=0;break}case 107:{e=B(e+-2|0,122,4)|0;break}case 110:{if(z(e+-2|0,105)|0)e=1;else e=B(e+-2|0,130,5)|0;break}case 111:{e=z(e+-2|0,100)|0;break}case 114:{e=B(e+-2|0,140,7)|0;break}case 116:{e=B(e+-2|0,154,4)|0;break}case 119:switch(s[e+-2>>1]|0){case 101:{e=z(e+-4|0,110)|0;break e}case 111:{e=B(e+-4|0,162,3)|0;break e}default:{e=0;break e}}default:e=0;}}while(0);return e|0}function w(e,a,r){e=e|0;a=a|0;r=r|0;var i=0,c=0;i=(f[71]|0)+2|0;switch(a<<16>>16){case 39:{A(39);c=5;break}case 34:{A(34);c=5;break}default:ee();}do{if((c|0)==5){g(e,i,f[71]|0,1);if((r|0)>0)f[(f[62]|0)+28>>2]=(r|0)==1?4:6;f[71]=(f[71]|0)+2;c=(v(0)|0)<<16>>16==119;a=f[71]|0;if(((c?(s[a+2>>1]|0)==105:0)?(s[a+4>>1]|0)==116:0)?(s[a+6>>1]|0)==104:0){f[71]=a+8;if((v(1)|0)<<16>>16!=123){f[71]=a;break}r=f[71]|0;i=r;e:while(1){f[71]=i+2;i=v(1)|0;switch(i<<16>>16){case 39:{A(39);f[71]=(f[71]|0)+2;i=v(1)|0;break}case 34:{A(34);f[71]=(f[71]|0)+2;i=v(1)|0;break}default:i=H(i)|0;}if(i<<16>>16!=58){c=20;break}f[71]=(f[71]|0)+2;switch((v(1)|0)<<16>>16){case 39:{A(39);break}case 34:{A(34);break}default:{c=24;break e}}f[71]=(f[71]|0)+2;switch((v(1)|0)<<16>>16){case 125:{c=28;break e}case 44:break;default:{c=26;break e}}i=(f[71]|0)+2|0;f[71]=i;}if((c|0)==20){f[71]=a;break}else if((c|0)==24){f[71]=a;break}else if((c|0)==26){f[71]=a;break}else if((c|0)==28){c=f[62]|0;f[c+16>>2]=r;f[c+12>>2]=(f[71]|0)+2;break}}f[71]=a+-2;}}while(0);return}function d(){var e=0,a=0,r=0;a=f[72]|0;r=f[71]|0;e:while(1){e=r+2|0;if(r>>>0>=a>>>0){a=10;break}switch(s[e>>1]|0){case 96:{a=7;break e}case 36:{if((s[r+4>>1]|0)==123){a=6;break e}break}case 92:{e=r+4|0;break}default:{}}r=e;}if((a|0)==6){e=r+4|0;f[71]=e;a=f[69]|0;r=s[398]|0;f[a+((r&65535)<<3)>>2]=4;s[398]=r+1<<16>>16;f[a+((r&65535)<<3)+4>>2]=e;}else if((a|0)==7){f[71]=e;a=f[69]|0;r=(s[398]|0)+-1<<16>>16;s[398]=r;if((f[a+((r&65535)<<3)>>2]|0)!=3)ee();}else if((a|0)==10){f[71]=e;ee();}return}function v(e){e=e|0;var a=0,r=0,i=0;r=f[71]|0;e:do{a=s[r>>1]|0;a:do{if(a<<16>>16!=47)if(e)if(L(a)|0)break;else break e;else if(M(a)|0)break;else break e;else switch(s[r+2>>1]|0){case 47:{F();break a}case 42:{x(e);break a}default:{a=47;break e}}}while(0);i=f[71]|0;r=i+2|0;f[71]=r;}while(i>>>0<(f[72]|0)>>>0);return a|0}function A(e){e=e|0;var a=0,r=0,i=0,c=0;c=f[72]|0;a=f[71]|0;while(1){i=a+2|0;if(a>>>0>=c>>>0){a=9;break}r=s[i>>1]|0;if(r<<16>>16==e<<16>>16){a=10;break}if(r<<16>>16==92){r=a+4|0;if((s[r>>1]|0)==13){a=a+6|0;a=(s[a>>1]|0)==10?a:r;}else a=r;}else if(se(r)|0){a=9;break}else a=i;}if((a|0)==9){f[71]=i;ee();}else if((a|0)==10)f[71]=i;return}function C(e){e=e|0;var a=0,r=0;a=s[e>>1]|0;if(L(a)|0)r=3;else switch(a<<16>>16){case 41:case 125:case 93:{r=3;break}default:e=0;}e:do{if((r|0)==3){r=f[3]|0;while(1){if(e>>>0<=r>>>0)break;e=e+-2|0;if(!(L(a)|0))break;a=s[e>>1]|0;}switch(a<<16>>16){case 41:case 125:case 93:{e=1;break e}default:{}}e=(O(a)|0)^1;}}while(0);return e|0}function g(e,a,r,s){e=e|0;a=a|0;r=r|0;s=s|0;var c=0,t=0;t=f[66]|0;f[66]=t+36;c=f[62]|0;f[((c|0)==0?232:c+32|0)>>2]=t;f[63]=c;f[62]=t;f[t+8>>2]=e;if(2==(s|0)){e=3;c=r;}else {e=1==(s|0)?1:2;c=1==(s|0)?r+2|0:0;}f[t+12>>2]=c;f[t+28>>2]=e;f[t>>2]=a;f[t+4>>2]=r;f[t+16>>2]=0;f[t+20>>2]=s;i[t+24>>0]=1==(s|0)&1;f[t+32>>2]=0;return}function p(e,a){e=e|0;a=a|0;var r=0,i=0,c=0,t=0;r=f[71]|0;i=s[r>>1]|0;c=(e|0)==(a|0)?0:e;t=(e|0)==(a|0)?0:a;if(i<<16>>16==97){f[71]=r+4;r=v(1)|0;e=f[71]|0;if(ae(r)|0){A(r);a=(f[71]|0)+2|0;f[71]=a;}else {H(r)|0;a=f[71]|0;}i=v(1)|0;r=f[71]|0;}if((r|0)!=(e|0))E(e,a,c,t);return i|0}function y(){var e=0,a=0,r=0,i=0;i=f[71]|0;r=f[72]|0;a=i;e:while(1){e=a+2|0;if(a>>>0>=r>>>0){a=7;break}switch(s[e>>1]|0){case 96:{a=8;break e}case 92:{e=a+4|0;break}case 36:{if((s[a+4>>1]|0)==123){a=7;break e}break}default:{}}a=e;}if((a|0)==7){f[71]=i;e=0;}else if((a|0)==8){f[71]=e;e=1;}return e|0}function m(){var e=0,a=0,r=0;r=f[72]|0;a=f[71]|0;e:while(1){e=a+2|0;if(a>>>0>=r>>>0){a=6;break}switch(s[e>>1]|0){case 13:case 10:{a=6;break e}case 93:{a=7;break e}case 92:{e=a+4|0;break}default:{}}a=e;}if((a|0)==6){f[71]=e;ee();e=0;}else if((a|0)==7){f[71]=e;e=93;}return e|0}function I(){var e=0,a=0;e:while(1){e=f[71]|0;f[71]=e+2;if(e>>>0>=(f[72]|0)>>>0){a=7;break}switch(s[e+2>>1]|0){case 13:case 10:{a=7;break e}case 47:break e;case 91:{m()|0;break}case 92:{f[71]=e+4;break}default:{}}}if((a|0)==7)ee();return}function U(e){e=e|0;switch(s[e>>1]|0){case 62:{e=(s[e+-2>>1]|0)==61;break}case 41:case 59:{e=1;break}case 104:{e=B(e+-2|0,188,4)|0;break}case 121:{e=B(e+-2|0,196,6)|0;break}case 101:{e=B(e+-2|0,208,3)|0;break}default:e=0;}return e|0}function x(e){e=e|0;var a=0,r=0,i=0,c=0,t=0;c=(f[71]|0)+2|0;f[71]=c;r=f[72]|0;while(1){a=c+2|0;if(c>>>0>=r>>>0)break;i=s[a>>1]|0;if(!e?se(i)|0:0)break;if(i<<16>>16==42?(s[c+4>>1]|0)==47:0){t=8;break}c=a;}if((t|0)==8){f[71]=a;a=c+4|0;}f[71]=a;return}function S(e,a,r){e=e|0;a=a|0;r=r|0;var s=0,f=0;e:do{if(!r)e=0;else {while(1){s=i[e>>0]|0;f=i[a>>0]|0;if(s<<24>>24!=f<<24>>24)break;r=r+-1|0;if(!r){e=0;break e}else {e=e+1|0;a=a+1|0;}}e=(s&255)-(f&255)|0;}}while(0);return e|0}function O(e){e=e|0;e:do{switch(e<<16>>16){case 38:case 37:case 33:{e=1;break}default:if((e&-8)<<16>>16==40|(e+-58&65535)<6)e=1;else {switch(e<<16>>16){case 91:case 93:case 94:{e=1;break e}default:{}}e=(e+-123&65535)<4;}}}while(0);return e|0}function $(e){e=e|0;e:do{switch(e<<16>>16){case 38:case 37:case 33:break;default:if(!((e+-58&65535)<6|(e+-40&65535)<7&e<<16>>16!=41)){switch(e<<16>>16){case 91:case 94:break e;default:{}}return e<<16>>16!=125&(e+-123&65535)<4|0}}}while(0);return 1}function T(e){e=e|0;var a=0;a=s[e>>1]|0;e:do{if((a+-9&65535)>=5){switch(a<<16>>16){case 160:case 32:{a=1;break e}default:{}}if(O(a)|0)return a<<16>>16!=46|(N(e)|0)|0;else a=0;}else a=1;}while(0);return a|0}function j(e){e=e|0;var a=0,r=0;r=n;n=n+16|0;f[r>>2]=0;f[65]=e;a=f[3]|0;s[a+(e<<1)>>1]=0;f[r>>2]=a+(e<<1)+2;f[66]=a+(e<<1)+2;f[58]=0;f[62]=0;f[60]=0;f[59]=0;f[64]=0;f[61]=0;n=r;return a|0}function B(e,a,r){e=e|0;a=a|0;r=r|0;var i=0,s=0;s=e+(0-r<<1)+2|0;i=f[3]|0;if(s>>>0>=i>>>0?(S(s,a,r<<1)|0)==0:0)if((s|0)==(i|0))i=1;else i=T(e+(0-r<<1)|0)|0;else i=0;return i|0}function E(e,a,r,i){e=e|0;a=a|0;r=r|0;i=i|0;var s=0,c=0;s=f[66]|0;f[66]=s+20;c=f[64]|0;f[((c|0)==0?236:c+16|0)>>2]=s;f[64]=s;f[s>>2]=e;f[s+4>>2]=a;f[s+8>>2]=r;f[s+12>>2]=i;f[s+16>>2]=0;return}function P(e){e=e|0;var a=0;switch(e<<16>>16){case 91:case 123:{o();f[71]=(f[71]|0)+2;break}default:{a=f[71]|0;H(e)|0;e=f[71]|0;if(e>>>0>a>>>0)E(a,e,a,e);}}return v(1)|0}function q(e){e=e|0;switch(s[e>>1]|0){case 107:{e=B(e+-2|0,122,4)|0;break}case 101:{if((s[e+-2>>1]|0)==117)e=B(e+-4|0,94,6)|0;else e=0;break}default:e=0;}return e|0}function z(e,a){e=e|0;a=a|0;var r=0;r=f[3]|0;if(r>>>0<=e>>>0?(s[e>>1]|0)==a<<16>>16:0)if((r|0)==(e|0))r=1;else r=D(s[e+-2>>1]|0)|0;else r=0;return r|0}function D(e){e=e|0;e:do{if((e+-9&65535)<5)e=1;else {switch(e<<16>>16){case 32:case 160:{e=1;break e}default:{}}e=e<<16>>16!=46&(O(e)|0);}}while(0);return e|0}function F(){var e=0,a=0,r=0;e=f[72]|0;r=f[71]|0;e:while(1){a=r+2|0;if(r>>>0>=e>>>0)break;switch(s[a>>1]|0){case 13:case 10:break e;default:r=a;}}f[71]=a;return}function G(e){e=e|0;e:do{if(((e&-33)+-65&65535)<26|(e+-48&65535)<10)e=1;else {switch(e<<16>>16){case 36:case 95:{e=1;break e}default:{}}e=(e&65535)>127;}}while(0);return e|0}function H(e){e=e|0;while(1){if(L(e)|0)break;if(O(e)|0)break;e=(f[71]|0)+2|0;f[71]=e;e=s[e>>1]|0;if(!(e<<16>>16)){e=0;break}}return e|0}function J(){var e=0;e=f[(f[60]|0)+20>>2]|0;switch(e|0){case 1:{e=-1;break}case 2:{e=-2;break}default:e=e-(f[3]|0)>>1;}return e|0}function K(e){e=e|0;if(!(B(e,168,5)|0)?!(B(e,178,3)|0):0)e=B(e,184,2)|0;else e=1;return e|0}function L(e){e=e|0;switch(e<<16>>16){case 160:case 9:case 10:case 11:case 12:case 13:case 32:{e=1;break}default:e=0;}return e|0}function M(e){e=e|0;switch(e<<16>>16){case 160:case 32:case 12:case 11:case 9:{e=1;break}default:e=0;}return e|0}function N(e){e=e|0;if((s[e>>1]|0)==46?(s[e+-2>>1]|0)==46:0)e=(s[e+-4>>1]|0)==46;else e=0;return e|0}function Q(e){e=e|0;if((f[3]|0)==(e|0))e=1;else e=T(e+-2|0)|0;return e|0}function R(){var e=0;e=f[(f[61]|0)+12>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function V(){var e=0;e=f[(f[60]|0)+12>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function W(){var e=0;e=f[(f[61]|0)+8>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function X(){var e=0;e=f[(f[60]|0)+16>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function Y(){var e=0;e=f[(f[60]|0)+4>>2]|0;if(!e)e=-1;else e=e-(f[3]|0)>>1;return e|0}function Z(){var e=0;e=f[60]|0;e=f[((e|0)==0?232:e+32|0)>>2]|0;f[60]=e;return (e|0)!=0|0}function _(){var e=0;e=f[61]|0;e=f[((e|0)==0?236:e+16|0)>>2]|0;f[61]=e;return (e|0)!=0|0}function ee(){i[798]=1;f[67]=(f[71]|0)-(f[3]|0)>>1;f[71]=(f[72]|0)+2;return}function ae(e){e=e|0;return e<<16>>16==39|e<<16>>16==34|0}function re(){return (f[(f[60]|0)+8>>2]|0)-(f[3]|0)>>1|0}function ie(){return (f[(f[61]|0)+4>>2]|0)-(f[3]|0)>>1|0}function se(e){e=e|0;return e<<16>>16==13|e<<16>>16==10|0}function fe(){return (f[f[60]>>2]|0)-(f[3]|0)>>1|0}function ce(){return (f[f[61]>>2]|0)-(f[3]|0)>>1|0}function te(){return c[(f[60]|0)+24>>0]|0|0}function ne(e){e=e|0;f[3]=e;return}function be(){return f[(f[60]|0)+28>>2]|0}function ke(){return f[67]|0}function le(e,a){e=e|0;a=a|0;n=e+a+15&-16;return a}return {su:le,ai:X,e:ke,ee:ie,ele:R,els:W,es:ce,id:J,ie:Y,ip:te,is:fe,it:be,p:k,re:_,ri:Z,sa:j,se:V,ses:ne,ss:re}}("undefined"!=typeof globalThis?globalThis:self,{},a),r=e.su(i-(2<<17),1040);}const h=c$1.length+1;e.ses(r),e.sa(h-1),s(c$1,new Uint16Array(a,r,h)),e.p()||(n=e.e(),o());const w=[],d=[];for(;e.ri();){const a=e.is(),r=e.ie(),i=e.ai(),s=e.id(),f=e.ss(),t=e.se(),n=e.it();let k;e.ip()&&(k=b(-1===s?a:a+1,c$1.charCodeAt(-1===s?a-1:a)));let l=null;w.push({t:n,n:k,s:a,e:r,ss:f,se:t,d:s,a:i,at:l});}for(;e.re();){const a=e.es(),r=e.ee(),i=e.els(),s=e.ele(),f=i<0?void 0:v(i,s),c=v(a,r);d.push({s:a,e:r,ls:i,le:s,n:c,ln:f});}return [w,d];function v(e,a){const r=c$1.charCodeAt(e);return 34===r||39===r?b(e+1,r):c$1.slice(e,a)}}function b(e,a){n=e;let r="",i=n;for(;;){n>=c$1.length&&o();const e=c$1.charCodeAt(n);if(e===a)break;92===e?(r+=c$1.slice(i,n),r+=k(),i=n):(8232===e||8233===e||u(e)&&96!==a&&o(),++n);}return r+=c$1.slice(i,n++),r}function k(){let e=c$1.charCodeAt(++n);switch(++n,e){case 110:return "\\n";case 114:return "\\r";case 120:return String.fromCharCode(l(2));case 117:return function(){const e=c$1.charCodeAt(n);let a;123===e?(++n,a=l(c$1.indexOf("}",n)-n),++n,a>1114111&&o()):a=l(4);return a<=65535?String.fromCharCode(a):(a-=65536,String.fromCharCode(55296+(a>>10),56320+(1023&a)))}();case 116:return "\\t";case 98:return "\\b";case 118:return "\\v";case 102:return "\\f";case 13:10===c$1.charCodeAt(n)&&++n;case 10:return "";case 56:case 57:o();default:if(e>=48&&e<=55){let a=c$1.substr(n-1,3).match(/^[0-7]+/)[0],r=parseInt(a,8);return r>255&&(a=a.slice(0,-1),r=parseInt(a,8)),n+=a.length-1,e=c$1.charCodeAt(n),"0"===a&&56!==e&&57!==e||o(),String.fromCharCode(r)}return u(e)?"":String.fromCharCode(e)}}function l(e){const a=n;let r=0,i=0;for(let a=0;a<e;++a,++n){let e,s=c$1.charCodeAt(n);if(95!==s){if(s>=97)e=s-97+10;else if(s>=65)e=s-65+10;else {if(!(s>=48&&s<=57))break;e=s-48;}if(e>=16)break;i=s,r=16*r+e;}else 95!==i&&0!==a||o(),i=s;}return 95!==i&&n-a===e||o(),r}function u(e){return 13===e||10===e}function o(){throw Object.assign(Error(\`Parse error \${t}:\${c$1.slice(0,n).split("\\n").length}:\${n-c$1.lastIndexOf("\\n",n-1)}\`),{idx:n})}
|
|
643
|
+
|
|
644
|
+
const _resolve = (id, parentUrl = baseUrl) => {
|
|
645
|
+
const urlResolved = resolveIfNotPlainOrUrl(id, parentUrl) || asURL(id);
|
|
646
|
+
const firstResolved = firstImportMap && resolveImportMap(firstImportMap, urlResolved || id, parentUrl);
|
|
647
|
+
const composedResolved =
|
|
648
|
+
composedImportMap === firstImportMap ? firstResolved : (
|
|
649
|
+
resolveImportMap(composedImportMap, urlResolved || id, parentUrl)
|
|
650
|
+
);
|
|
651
|
+
const resolved = composedResolved || firstResolved || throwUnresolved(id, parentUrl);
|
|
652
|
+
// needsShim, shouldShim per load record to set on parent
|
|
653
|
+
let n = false,
|
|
654
|
+
N = false;
|
|
655
|
+
if (!supportsImportMaps) {
|
|
656
|
+
// bare specifier -> needs shim
|
|
657
|
+
if (!urlResolved) n = true;
|
|
658
|
+
// url mapping -> should shim
|
|
659
|
+
else if (urlResolved !== resolved) N = true;
|
|
660
|
+
} else if (!supportsMultipleImportMaps) {
|
|
661
|
+
// bare specifier and not resolved by first import map -> needs shim
|
|
662
|
+
if (!urlResolved && !firstResolved) n = true;
|
|
663
|
+
// resolution doesn't match first import map -> should shim
|
|
664
|
+
if (firstResolved && resolved !== firstResolved) N = true;
|
|
665
|
+
}
|
|
666
|
+
return { r: resolved, n, N };
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
const resolve = (id, parentUrl) => {
|
|
670
|
+
if (!resolveHook) return _resolve(id, parentUrl);
|
|
671
|
+
const result = resolveHook(id, parentUrl, defaultResolve);
|
|
672
|
+
|
|
673
|
+
return result ? { r: result, n: true, N: true } : _resolve(id, parentUrl);
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
// import()
|
|
677
|
+
async function importShim(id, opts, parentUrl) {
|
|
678
|
+
if (typeof opts === 'string') {
|
|
679
|
+
parentUrl = opts;
|
|
680
|
+
opts = undefined;
|
|
681
|
+
}
|
|
682
|
+
await initPromise; // needed for shim check
|
|
683
|
+
if (shimMode || !baselineSupport) {
|
|
684
|
+
if (hasDocument) processScriptsAndPreloads();
|
|
685
|
+
legacyAcceptingImportMaps = false;
|
|
686
|
+
}
|
|
687
|
+
let sourceType = undefined;
|
|
688
|
+
if (typeof opts === 'object') {
|
|
689
|
+
if (opts.lang === 'ts') sourceType = 'ts';
|
|
690
|
+
if (typeof opts.with === 'object' && typeof opts.with.type === 'string') {
|
|
691
|
+
sourceType = opts.with.type;
|
|
692
|
+
}
|
|
693
|
+
}
|
|
694
|
+
return topLevelLoad(id, parentUrl || baseUrl, defaultFetchOpts, undefined, undefined, undefined, sourceType);
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
// import.source()
|
|
698
|
+
// (opts not currently supported as no use cases yet)
|
|
699
|
+
if (shimMode || wasmSourcePhaseEnabled)
|
|
700
|
+
importShim.source = async (id, opts, parentUrl) => {
|
|
701
|
+
if (typeof opts === 'string') {
|
|
702
|
+
parentUrl = opts;
|
|
703
|
+
opts = undefined;
|
|
704
|
+
}
|
|
705
|
+
await initPromise; // needed for shim check
|
|
706
|
+
if (shimMode || !baselineSupport) {
|
|
707
|
+
if (hasDocument) processScriptsAndPreloads();
|
|
708
|
+
legacyAcceptingImportMaps = false;
|
|
709
|
+
}
|
|
710
|
+
await importMapPromise;
|
|
711
|
+
const url = resolve(id, parentUrl || baseUrl).r;
|
|
712
|
+
const load = getOrCreateLoad(url, defaultFetchOpts, undefined, undefined);
|
|
713
|
+
await load.f;
|
|
714
|
+
return importShim._s[load.r];
|
|
715
|
+
};
|
|
716
|
+
|
|
717
|
+
// import.defer() is just a proxy for import(), since we can't actually defer
|
|
718
|
+
if (shimMode || deferPhaseEnabled) importShim.defer = importShim;
|
|
719
|
+
|
|
720
|
+
if (hotReload) {
|
|
721
|
+
initHotReload(topLevelLoad, importShim);
|
|
722
|
+
importShim.hotReload = hotReload$1;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
const defaultResolve = (id, parentUrl) => {
|
|
726
|
+
return (
|
|
727
|
+
resolveImportMap(composedImportMap, resolveIfNotPlainOrUrl(id, parentUrl) || id, parentUrl) ||
|
|
728
|
+
throwUnresolved(id, parentUrl)
|
|
729
|
+
);
|
|
730
|
+
};
|
|
731
|
+
|
|
732
|
+
const throwUnresolved = (id, parentUrl) => {
|
|
733
|
+
throw Error(\`Unable to resolve specifier '\${id}'\${fromParent(parentUrl)}\`);
|
|
734
|
+
};
|
|
735
|
+
|
|
736
|
+
const metaResolve = function (id, parentUrl = this.url) {
|
|
737
|
+
return resolve(id, \`\${parentUrl}\`).r;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
importShim.resolve = (id, parentUrl) => resolve(id, parentUrl).r;
|
|
741
|
+
importShim.getImportMap = () => JSON.parse(JSON.stringify(composedImportMap));
|
|
742
|
+
importShim.addImportMap = importMapIn => {
|
|
743
|
+
if (!shimMode) throw new Error('Unsupported in polyfill mode.');
|
|
744
|
+
composedImportMap = resolveAndComposeImportMap(importMapIn, baseUrl, composedImportMap);
|
|
745
|
+
};
|
|
746
|
+
importShim.version = version;
|
|
747
|
+
|
|
748
|
+
const registry = (importShim._r = {});
|
|
749
|
+
// Wasm caches
|
|
750
|
+
const sourceCache = (importShim._s = {});
|
|
751
|
+
/* const instanceCache = */ importShim._i = new WeakMap();
|
|
752
|
+
|
|
753
|
+
// Ensure this version is the only version
|
|
754
|
+
defineValue(self_, 'importShim', Object.freeze(importShim));
|
|
755
|
+
const shimModeOptions = { ...esmsInitOptions, shimMode: true };
|
|
756
|
+
if (optionsScript) optionsScript.innerText = maybeTrustedScript(JSON.stringify(shimModeOptions));
|
|
757
|
+
self_.esmsInitOptions = shimModeOptions;
|
|
758
|
+
|
|
759
|
+
const loadAll = async (load, seen) => {
|
|
760
|
+
seen[load.u] = 1;
|
|
761
|
+
await load.L;
|
|
762
|
+
await Promise.all(
|
|
763
|
+
load.d.map(({ l: dep, s: sourcePhase }) => {
|
|
764
|
+
if (dep.b || seen[dep.u]) return;
|
|
765
|
+
if (sourcePhase) return dep.f;
|
|
766
|
+
return loadAll(dep, seen);
|
|
767
|
+
})
|
|
768
|
+
);
|
|
769
|
+
};
|
|
770
|
+
|
|
771
|
+
let importMapSrc = false;
|
|
772
|
+
let multipleImportMaps = false;
|
|
773
|
+
let firstImportMap = null;
|
|
774
|
+
// To support polyfilling multiple import maps, we separately track the composed import map from the first import map
|
|
775
|
+
let composedImportMap = { imports: {}, scopes: {}, integrity: {} };
|
|
776
|
+
let baselineSupport;
|
|
777
|
+
|
|
778
|
+
const initPromise = featureDetectionPromise.then(() => {
|
|
779
|
+
baselineSupport =
|
|
780
|
+
supportsImportMaps &&
|
|
781
|
+
(!jsonModulesEnabled || supportsJsonType) &&
|
|
782
|
+
(!cssModulesEnabled || supportsCssType) &&
|
|
783
|
+
(!wasmInstancePhaseEnabled || supportsWasmInstancePhase) &&
|
|
784
|
+
(!wasmSourcePhaseEnabled || supportsWasmSourcePhase) &&
|
|
785
|
+
!deferPhaseEnabled &&
|
|
786
|
+
(!multipleImportMaps || supportsMultipleImportMaps) &&
|
|
787
|
+
!importMapSrc &&
|
|
788
|
+
!hasCustomizationHooks;
|
|
789
|
+
if (!shimMode && typeof WebAssembly !== 'undefined') {
|
|
790
|
+
if (wasmSourcePhaseEnabled && !Object.getPrototypeOf(WebAssembly.Module).name) {
|
|
791
|
+
const s = Symbol();
|
|
792
|
+
const brand = m => defineValue(m, s, 'WebAssembly.Module');
|
|
793
|
+
class AbstractModuleSource {
|
|
794
|
+
get [Symbol.toStringTag]() {
|
|
795
|
+
if (this[s]) return this[s];
|
|
796
|
+
throw new TypeError('Not an AbstractModuleSource');
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
const { Module: wasmModule, compile: wasmCompile, compileStreaming: wasmCompileStreaming } = WebAssembly;
|
|
800
|
+
WebAssembly.Module = Object.setPrototypeOf(
|
|
801
|
+
Object.assign(function Module(...args) {
|
|
802
|
+
return brand(new wasmModule(...args));
|
|
803
|
+
}, wasmModule),
|
|
804
|
+
AbstractModuleSource
|
|
805
|
+
);
|
|
806
|
+
WebAssembly.Module.prototype = Object.setPrototypeOf(wasmModule.prototype, AbstractModuleSource.prototype);
|
|
807
|
+
WebAssembly.compile = function compile(...args) {
|
|
808
|
+
return wasmCompile(...args).then(brand);
|
|
809
|
+
};
|
|
810
|
+
WebAssembly.compileStreaming = function compileStreaming(...args) {
|
|
811
|
+
return wasmCompileStreaming(...args).then(brand);
|
|
812
|
+
};
|
|
813
|
+
}
|
|
814
|
+
}
|
|
815
|
+
if (hasDocument) {
|
|
816
|
+
if (!supportsImportMaps) {
|
|
817
|
+
const supports = HTMLScriptElement.supports || (type => type === 'classic' || type === 'module');
|
|
818
|
+
HTMLScriptElement.supports = type => type === 'importmap' || supports(type);
|
|
819
|
+
}
|
|
820
|
+
if (shimMode || !baselineSupport) {
|
|
821
|
+
attachMutationObserver();
|
|
822
|
+
if (document.readyState === 'complete') {
|
|
823
|
+
readyStateCompleteCheck();
|
|
824
|
+
} else {
|
|
825
|
+
document.addEventListener('readystatechange', readyListener);
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
processScriptsAndPreloads();
|
|
829
|
+
}
|
|
830
|
+
return undefined;
|
|
831
|
+
});
|
|
832
|
+
|
|
833
|
+
const attachMutationObserver = () => {
|
|
834
|
+
const observer = new MutationObserver(mutations => {
|
|
835
|
+
for (const mutation of mutations) {
|
|
836
|
+
if (mutation.type !== 'childList') continue;
|
|
837
|
+
for (const node of mutation.addedNodes) {
|
|
838
|
+
if (node.tagName === 'SCRIPT') {
|
|
839
|
+
if (node.type === (shimMode ? 'module-shim' : 'module') && !node.ep) processScript(node, true);
|
|
840
|
+
if (node.type === (shimMode ? 'importmap-shim' : 'importmap') && !node.ep) processImportMap(node, true);
|
|
841
|
+
} else if (
|
|
842
|
+
node.tagName === 'LINK' &&
|
|
843
|
+
node.rel === (shimMode ? 'modulepreload-shim' : 'modulepreload') &&
|
|
844
|
+
!node.ep
|
|
845
|
+
) {
|
|
846
|
+
processPreload(node);
|
|
847
|
+
}
|
|
848
|
+
}
|
|
849
|
+
}
|
|
850
|
+
});
|
|
851
|
+
observer.observe(document, { childList: true });
|
|
852
|
+
observer.observe(document.head, { childList: true });
|
|
853
|
+
processScriptsAndPreloads();
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
let importMapPromise = initPromise;
|
|
857
|
+
let firstPolyfillLoad = true;
|
|
858
|
+
let legacyAcceptingImportMaps = true;
|
|
859
|
+
|
|
860
|
+
async function topLevelLoad(
|
|
861
|
+
url,
|
|
862
|
+
parentUrl,
|
|
863
|
+
fetchOpts,
|
|
864
|
+
source,
|
|
865
|
+
nativelyLoaded,
|
|
866
|
+
lastStaticLoadPromise,
|
|
867
|
+
sourceType
|
|
868
|
+
) {
|
|
869
|
+
await initPromise;
|
|
870
|
+
await importMapPromise;
|
|
871
|
+
url = (await resolve(url, parentUrl)).r;
|
|
872
|
+
|
|
873
|
+
// we mock import('./x.css', { with: { type: 'css' }}) support via an inline static reexport
|
|
874
|
+
// because we can't syntactically pass through to dynamic import with a second argument
|
|
875
|
+
if (sourceType === 'css' || sourceType === 'json') {
|
|
876
|
+
// Direct reexport for hot reloading skipped due to Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=1965620
|
|
877
|
+
source = \`import m from'\${url}'with{type:"\${sourceType}"};export default m;\`;
|
|
878
|
+
url += '?entry';
|
|
879
|
+
}
|
|
880
|
+
|
|
881
|
+
if (importHook) await importHook(url, typeof fetchOpts !== 'string' ? fetchOpts : {}, parentUrl, source, sourceType);
|
|
882
|
+
// early analysis opt-out - no need to even fetch if we have feature support
|
|
883
|
+
if (!shimMode && baselineSupport && nativePassthrough && sourceType !== 'ts') {
|
|
884
|
+
// for polyfill case, only dynamic import needs a return value here, and dynamic import will never pass nativelyLoaded
|
|
885
|
+
if (nativelyLoaded) return null;
|
|
886
|
+
await lastStaticLoadPromise;
|
|
887
|
+
return dynamicImport(source ? createBlob(source) : url);
|
|
888
|
+
}
|
|
889
|
+
const load = getOrCreateLoad(url, fetchOpts, undefined, source);
|
|
890
|
+
linkLoad(load, fetchOpts);
|
|
891
|
+
const seen = {};
|
|
892
|
+
await loadAll(load, seen);
|
|
893
|
+
resolveDeps(load, seen);
|
|
894
|
+
await lastStaticLoadPromise;
|
|
895
|
+
if (!shimMode && !load.n) {
|
|
896
|
+
if (nativelyLoaded) {
|
|
897
|
+
return;
|
|
898
|
+
}
|
|
899
|
+
if (source) {
|
|
900
|
+
return await dynamicImport(createBlob(source));
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
if (firstPolyfillLoad && !shimMode && load.n && nativelyLoaded) {
|
|
904
|
+
onpolyfill();
|
|
905
|
+
firstPolyfillLoad = false;
|
|
906
|
+
}
|
|
907
|
+
const module = await (shimMode || load.n || load.N || !nativePassthrough || (!nativelyLoaded && source) ?
|
|
908
|
+
dynamicImport(load.b, load.u)
|
|
909
|
+
: import(load.u));
|
|
910
|
+
// if the top-level load is a shell, run its update function
|
|
911
|
+
if (load.s) (await dynamicImport(load.s, load.u)).u$_(module);
|
|
912
|
+
revokeObjectURLs(Object.keys(seen));
|
|
913
|
+
return module;
|
|
914
|
+
}
|
|
915
|
+
|
|
916
|
+
const revokeObjectURLs = registryKeys => {
|
|
917
|
+
let curIdx = 0;
|
|
918
|
+
const handler = self_.requestIdleCallback || self_.requestAnimationFrame || (fn => setTimeout(fn, 0));
|
|
919
|
+
handler(cleanup);
|
|
920
|
+
function cleanup() {
|
|
921
|
+
for (const key of registryKeys.slice(curIdx, (curIdx += 100))) {
|
|
922
|
+
const load = registry[key];
|
|
923
|
+
if (load && load.b && load.b !== load.u) URL.revokeObjectURL(load.b);
|
|
924
|
+
}
|
|
925
|
+
if (curIdx < registryKeys.length) handler(cleanup);
|
|
926
|
+
}
|
|
927
|
+
};
|
|
928
|
+
|
|
929
|
+
const urlJsString = url => \`'\${url.replace(/'/g, "\\\\'")}'\`;
|
|
930
|
+
|
|
931
|
+
let resolvedSource, lastIndex;
|
|
932
|
+
const pushStringTo = (load, originalIndex, dynamicImportEndStack) => {
|
|
933
|
+
while (dynamicImportEndStack[dynamicImportEndStack.length - 1] < originalIndex) {
|
|
934
|
+
const dynamicImportEnd = dynamicImportEndStack.pop();
|
|
935
|
+
resolvedSource += \`\${load.S.slice(lastIndex, dynamicImportEnd)}, \${urlJsString(load.r)}\`;
|
|
936
|
+
lastIndex = dynamicImportEnd;
|
|
937
|
+
}
|
|
938
|
+
resolvedSource += load.S.slice(lastIndex, originalIndex);
|
|
939
|
+
lastIndex = originalIndex;
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
const pushSourceURL = (load, commentPrefix, commentStart, dynamicImportEndStack) => {
|
|
943
|
+
const urlStart = commentStart + commentPrefix.length;
|
|
944
|
+
const commentEnd = load.S.indexOf('\\n', urlStart);
|
|
945
|
+
const urlEnd = commentEnd !== -1 ? commentEnd : load.S.length;
|
|
946
|
+
let sourceUrl = load.S.slice(urlStart, urlEnd);
|
|
947
|
+
try {
|
|
948
|
+
sourceUrl = new URL(sourceUrl, load.r).href;
|
|
949
|
+
} catch (e) {}
|
|
950
|
+
pushStringTo(load, urlStart, dynamicImportEndStack);
|
|
951
|
+
resolvedSource += sourceUrl;
|
|
952
|
+
lastIndex = urlEnd;
|
|
953
|
+
};
|
|
954
|
+
|
|
955
|
+
const resolveDeps = (load, seen) => {
|
|
956
|
+
if (load.b || !seen[load.u]) return;
|
|
957
|
+
seen[load.u] = 0;
|
|
958
|
+
|
|
959
|
+
for (const { l: dep, s: sourcePhase } of load.d) {
|
|
960
|
+
if (!sourcePhase) resolveDeps(dep, seen);
|
|
961
|
+
}
|
|
962
|
+
|
|
963
|
+
if (!load.n) load.n = load.d.some(dep => dep.l.n);
|
|
964
|
+
if (!load.N) load.N = load.d.some(dep => dep.l.N);
|
|
965
|
+
|
|
966
|
+
// use native loader whenever possible (n = needs shim) via executable subgraph passthrough
|
|
967
|
+
// so long as the module doesn't use dynamic import or unsupported URL mappings (N = should shim)
|
|
968
|
+
if (nativePassthrough && !shimMode && !load.n && !load.N) {
|
|
969
|
+
load.b = load.u;
|
|
970
|
+
load.S = undefined;
|
|
971
|
+
return;
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
const [imports, exports] = load.a;
|
|
975
|
+
|
|
976
|
+
// "execution"
|
|
977
|
+
let source = load.S,
|
|
978
|
+
depIndex = 0,
|
|
979
|
+
dynamicImportEndStack = [];
|
|
980
|
+
|
|
981
|
+
// once all deps have loaded we can inline the dependency resolution blobs
|
|
982
|
+
// and define this blob
|
|
983
|
+
resolvedSource = '';
|
|
984
|
+
lastIndex = 0;
|
|
985
|
+
|
|
986
|
+
for (const { s: start, e: end, ss: statementStart, se: statementEnd, d: dynamicImportIndex, t, a, at } of imports) {
|
|
987
|
+
// source phase
|
|
988
|
+
if (t === 4) {
|
|
989
|
+
let { l: depLoad } = load.d[depIndex++];
|
|
990
|
+
pushStringTo(load, statementStart, dynamicImportEndStack);
|
|
991
|
+
resolvedSource += \`\${source.slice(statementStart, start - 1).replace('source', '')}/*\${source.slice(start - 1, end + 1)}*/'\${createBlob(\`export default importShim._s[\${urlJsString(depLoad.r)}]\`)}'\`;
|
|
992
|
+
lastIndex = end + 1;
|
|
993
|
+
}
|
|
994
|
+
// dependency source replacements
|
|
995
|
+
else if (dynamicImportIndex === -1) {
|
|
996
|
+
let keepAssertion = false;
|
|
997
|
+
if (a > 0 && !shimMode) {
|
|
998
|
+
// strip assertions only when unsupported in polyfill mode
|
|
999
|
+
// minimal lexer builds do not provide parsed attributes, so sniff the assertion source directly
|
|
1000
|
+
const assertion = source.slice(a, statementEnd - 1);
|
|
1001
|
+
keepAssertion =
|
|
1002
|
+
nativePassthrough &&
|
|
1003
|
+
((supportsJsonType && assertion.includes('json')) || (supportsCssType && assertion.includes('css')));
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
// defer phase stripping
|
|
1007
|
+
if (t === 6) {
|
|
1008
|
+
pushStringTo(load, statementStart, dynamicImportEndStack);
|
|
1009
|
+
resolvedSource += source.slice(statementStart, start - 1).replace('defer', '');
|
|
1010
|
+
lastIndex = start;
|
|
1011
|
+
}
|
|
1012
|
+
let { l: depLoad } = load.d[depIndex++],
|
|
1013
|
+
blobUrl = depLoad.b,
|
|
1014
|
+
cycleShell = !blobUrl;
|
|
1015
|
+
if (cycleShell) {
|
|
1016
|
+
// circular shell creation
|
|
1017
|
+
if (!(blobUrl = depLoad.s)) {
|
|
1018
|
+
blobUrl = depLoad.s = createBlob(
|
|
1019
|
+
\`export function u$_(m){\${depLoad.a[1]
|
|
1020
|
+
.map(({ s, e }, i) => {
|
|
1021
|
+
const q = depLoad.S[s] === '"' || depLoad.S[s] === "'";
|
|
1022
|
+
return \`e$_\${i}=m\${q ? \`[\` : '.'}\${depLoad.S.slice(s, e)}\${q ? \`]\` : ''}\`;
|
|
1023
|
+
})
|
|
1024
|
+
.join(',')}}\${
|
|
1025
|
+
depLoad.a[1].length ? \`let \${depLoad.a[1].map((_, i) => \`e$_\${i}\`).join(',')};\` : ''
|
|
1026
|
+
}export {\${depLoad.a[1]
|
|
1027
|
+
.map(({ s, e }, i) => \`e$_\${i} as \${depLoad.S.slice(s, e)}\`)
|
|
1028
|
+
.join(',')}}\\n//# sourceURL=\${depLoad.r}?cycle\`
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
|
|
1033
|
+
pushStringTo(load, start - 1, dynamicImportEndStack);
|
|
1034
|
+
resolvedSource += \`/*\${source.slice(start - 1, end + 1)}*/'\${blobUrl}'\`;
|
|
1035
|
+
|
|
1036
|
+
// circular shell execution
|
|
1037
|
+
if (!cycleShell && depLoad.s) {
|
|
1038
|
+
resolvedSource += \`;import*as m$_\${depIndex} from'\${depLoad.b}';import{u$_ as u$_\${depIndex}}from'\${depLoad.s}';u$_\${depIndex}(m$_\${depIndex})\`;
|
|
1039
|
+
depLoad.s = undefined;
|
|
1040
|
+
}
|
|
1041
|
+
lastIndex = keepAssertion ? end + 1 : statementEnd;
|
|
1042
|
+
}
|
|
1043
|
+
// import.meta
|
|
1044
|
+
else if (dynamicImportIndex === -2) {
|
|
1045
|
+
load.m = { url: load.r, resolve: metaResolve };
|
|
1046
|
+
if (metaHook) metaHook(load.m, load.u);
|
|
1047
|
+
pushStringTo(load, start, dynamicImportEndStack);
|
|
1048
|
+
resolvedSource += \`importShim._r[\${urlJsString(load.u)}].m\`;
|
|
1049
|
+
lastIndex = statementEnd;
|
|
1050
|
+
}
|
|
1051
|
+
// dynamic import
|
|
1052
|
+
else {
|
|
1053
|
+
pushStringTo(load, statementStart + 6, dynamicImportEndStack);
|
|
1054
|
+
resolvedSource += \`Shim\${t === 5 ? '.source' : ''}(\`;
|
|
1055
|
+
dynamicImportEndStack.push(statementEnd - 1);
|
|
1056
|
+
lastIndex = start;
|
|
1057
|
+
}
|
|
1058
|
+
}
|
|
1059
|
+
|
|
1060
|
+
// support progressive cycle binding updates (try statement avoids tdz errors)
|
|
1061
|
+
if (load.s && (imports.length === 0 || imports[imports.length - 1].d === -1))
|
|
1062
|
+
resolvedSource += \`\\n;import{u$_}from'\${load.s}';try{u$_({\${exports
|
|
1063
|
+
.filter(e => e.ln)
|
|
1064
|
+
.map(({ s, e, ln }) => \`\${source.slice(s, e)}:\${ln}\`)
|
|
1065
|
+
.join(',')}})}catch(_){};\\n\`;
|
|
1066
|
+
|
|
1067
|
+
let sourceURLCommentStart = source.lastIndexOf(sourceURLCommentPrefix);
|
|
1068
|
+
let sourceMapURLCommentStart = source.lastIndexOf(sourceMapURLCommentPrefix);
|
|
1069
|
+
|
|
1070
|
+
// ignore sourceMap comments before already spliced code
|
|
1071
|
+
if (sourceURLCommentStart < lastIndex) sourceURLCommentStart = -1;
|
|
1072
|
+
if (sourceMapURLCommentStart < lastIndex) sourceMapURLCommentStart = -1;
|
|
1073
|
+
|
|
1074
|
+
// sourceURL first / only
|
|
1075
|
+
if (
|
|
1076
|
+
sourceURLCommentStart !== -1 &&
|
|
1077
|
+
(sourceMapURLCommentStart === -1 || sourceMapURLCommentStart > sourceURLCommentStart)
|
|
1078
|
+
) {
|
|
1079
|
+
pushSourceURL(load, sourceURLCommentPrefix, sourceURLCommentStart, dynamicImportEndStack);
|
|
1080
|
+
}
|
|
1081
|
+
// sourceMappingURL
|
|
1082
|
+
if (sourceMapURLCommentStart !== -1) {
|
|
1083
|
+
pushSourceURL(load, sourceMapURLCommentPrefix, sourceMapURLCommentStart, dynamicImportEndStack);
|
|
1084
|
+
// sourceURL last
|
|
1085
|
+
if (sourceURLCommentStart !== -1 && sourceURLCommentStart > sourceMapURLCommentStart)
|
|
1086
|
+
pushSourceURL(load, sourceURLCommentPrefix, sourceURLCommentStart, dynamicImportEndStack);
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1089
|
+
pushStringTo(load, source.length, dynamicImportEndStack);
|
|
1090
|
+
|
|
1091
|
+
if (sourceURLCommentStart === -1) resolvedSource += sourceURLCommentPrefix + load.r;
|
|
1092
|
+
|
|
1093
|
+
load.b = createBlob(resolvedSource);
|
|
1094
|
+
load.S = resolvedSource = undefined;
|
|
1095
|
+
};
|
|
1096
|
+
|
|
1097
|
+
const sourceURLCommentPrefix = '\\n//# sourceURL=';
|
|
1098
|
+
const sourceMapURLCommentPrefix = '\\n//# sourceMappingURL=';
|
|
1099
|
+
const cssUrlRegEx = /url\\(\\s*(?:(["'])((?:\\\\.|[^\\n\\\\"'])+)\\1|((?:\\\\.|[^\\s,"'()\\\\])+))\\s*\\)/g;
|
|
1100
|
+
|
|
1101
|
+
// restrict in-flight fetches to a pool of 100
|
|
1102
|
+
let p = [];
|
|
1103
|
+
let c = 0;
|
|
1104
|
+
const pushFetchPool = () => {
|
|
1105
|
+
if (++c > 100) return new Promise(r => p.push(r));
|
|
1106
|
+
};
|
|
1107
|
+
const popFetchPool = () => {
|
|
1108
|
+
c--;
|
|
1109
|
+
if (p.length) p.shift()();
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
const doFetch = async (url, fetchOpts, parent) => {
|
|
1113
|
+
if (enforceIntegrity && !fetchOpts.integrity) throw Error(\`No integrity for \${url}\${fromParent(parent)}.\`);
|
|
1114
|
+
let res,
|
|
1115
|
+
poolQueue = pushFetchPool();
|
|
1116
|
+
if (poolQueue) await poolQueue;
|
|
1117
|
+
try {
|
|
1118
|
+
res = await fetchHook(url, fetchOpts);
|
|
1119
|
+
} catch (e) {
|
|
1120
|
+
e.message = \`Unable to fetch \${url}\${fromParent(parent)} - see network log for details.\\n\` + e.message;
|
|
1121
|
+
throw e;
|
|
1122
|
+
} finally {
|
|
1123
|
+
popFetchPool();
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
if (!res.ok) {
|
|
1127
|
+
const error = new TypeError(\`\${res.status} \${res.statusText} \${res.url}\${fromParent(parent)}\`);
|
|
1128
|
+
error.response = res;
|
|
1129
|
+
throw error;
|
|
1130
|
+
}
|
|
1131
|
+
return res;
|
|
1132
|
+
};
|
|
1133
|
+
|
|
1134
|
+
let esmsTsTransform;
|
|
1135
|
+
const initTs = async () => {
|
|
1136
|
+
const m = await import(tsTransform);
|
|
1137
|
+
if (!esmsTsTransform) esmsTsTransform = m.transform;
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
async function defaultSourceHook(url, fetchOpts, parent) {
|
|
1141
|
+
let res = await doFetch(url, fetchOpts, parent),
|
|
1142
|
+
contentType,
|
|
1143
|
+
[, json, type, jsts] =
|
|
1144
|
+
(contentType = res.headers.get('content-type') || '').match(
|
|
1145
|
+
/^(?:[^/;]+\\/(?:[^/+;]+\\+)?(json)|(?:text|application)\\/(?:x-)?((java|type)script|wasm|css))(?:;|$)/
|
|
1146
|
+
) || [];
|
|
1147
|
+
if (!(type = json || (jsts ? jsts[0] + 's' : type || (/\\.m?ts(\\?|#|$)/.test(url) && 'ts')))) {
|
|
1148
|
+
throw Error(
|
|
1149
|
+
\`Unsupported Content-Type "\${contentType}" loading \${url}\${fromParent(parent)}. Modules must be served with a valid MIME type like application/javascript.\`
|
|
1150
|
+
);
|
|
1151
|
+
}
|
|
1152
|
+
return {
|
|
1153
|
+
url: res.url,
|
|
1154
|
+
source: await (type > 'v' ? WebAssembly.compileStreaming(res) : res.text()),
|
|
1155
|
+
type
|
|
1156
|
+
};
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
const hotPrefix = 'var h=import.meta.hot,';
|
|
1160
|
+
const fetchModule = async (reqUrl, fetchOpts, parent) => {
|
|
1161
|
+
const mapIntegrity = composedImportMap.integrity[reqUrl];
|
|
1162
|
+
fetchOpts = mapIntegrity && !fetchOpts.integrity ? { ...fetchOpts, integrity: mapIntegrity } : fetchOpts;
|
|
1163
|
+
let {
|
|
1164
|
+
url = reqUrl,
|
|
1165
|
+
source,
|
|
1166
|
+
type
|
|
1167
|
+
} = (await (sourceHook || defaultSourceHook)(reqUrl, fetchOpts, parent, defaultSourceHook)) || {};
|
|
1168
|
+
if (type === 'wasm') {
|
|
1169
|
+
const exports = WebAssembly.Module.exports((sourceCache[url] = source));
|
|
1170
|
+
const imports = WebAssembly.Module.imports(source);
|
|
1171
|
+
const rStr = urlJsString(url);
|
|
1172
|
+
source = \`import*as $_ns from\${rStr};\`;
|
|
1173
|
+
let i = 0,
|
|
1174
|
+
obj = '';
|
|
1175
|
+
for (const { module, kind } of imports) {
|
|
1176
|
+
const specifier = urlJsString(module);
|
|
1177
|
+
source += \`import*as impt\${i} from\${specifier};\\n\`;
|
|
1178
|
+
obj += \`\${specifier}:\${kind === 'global' ? \`importShim._i.get(impt\${i})||impt\${i++}\` : \`impt\${i++}\`},\`;
|
|
1179
|
+
}
|
|
1180
|
+
source += \`\${hotPrefix}i=await WebAssembly.instantiate(importShim._s[\${rStr}],{\${obj}});importShim._i.set($_ns,i);\`;
|
|
1181
|
+
obj = '';
|
|
1182
|
+
for (const { name, kind } of exports) {
|
|
1183
|
+
source += \`export let \${name}=i.exports['\${name}'];\`;
|
|
1184
|
+
if (kind === 'global') source += \`try{\${name}=\${name}.value}catch(_){\${name}=undefined}\`;
|
|
1185
|
+
obj += \`\${name},\`;
|
|
1186
|
+
}
|
|
1187
|
+
source += \`if(h)h.accept(m=>({\${obj}}=m))\`;
|
|
1188
|
+
} else if (type === 'json') {
|
|
1189
|
+
source = \`\${hotPrefix}j=JSON.parse(\${JSON.stringify(source)});export{j as default};if(h)h.accept(m=>j=m.default)\`;
|
|
1190
|
+
} else if (type === 'css') {
|
|
1191
|
+
source = \`\${hotPrefix}s=h&&h.data.s||new CSSStyleSheet();s.replaceSync(\${JSON.stringify(
|
|
1192
|
+
source.replace(
|
|
1193
|
+
cssUrlRegEx,
|
|
1194
|
+
(_match, quotes = '', relUrl1, relUrl2) => \`url(\${quotes}\${resolveUrl(relUrl1 || relUrl2, url)}\${quotes})\`
|
|
1195
|
+
)
|
|
1196
|
+
)});if(h){h.data.s=s;h.accept(()=>{})}export default s\`;
|
|
1197
|
+
} else if (type === 'ts') {
|
|
1198
|
+
if (!esmsTsTransform) await initTs();
|
|
1199
|
+
const transformed = esmsTsTransform(source, url);
|
|
1200
|
+
// even if the TypeScript is valid JavaScript, unless it was a top-level inline source, it wasn't served with
|
|
1201
|
+
// a valid JS MIME here, so we must still polyfill it
|
|
1202
|
+
source = transformed === undefined ? source : transformed;
|
|
1203
|
+
}
|
|
1204
|
+
return { url, source, type };
|
|
1205
|
+
};
|
|
1206
|
+
|
|
1207
|
+
const getOrCreateLoad = (url, fetchOpts, parent, source) => {
|
|
1208
|
+
if (source && registry[url]) {
|
|
1209
|
+
let i = 0;
|
|
1210
|
+
while (registry[url + '#' + ++i]);
|
|
1211
|
+
url += '#' + i;
|
|
1212
|
+
}
|
|
1213
|
+
let load = registry[url];
|
|
1214
|
+
if (load) return load;
|
|
1215
|
+
registry[url] = load = {
|
|
1216
|
+
// url
|
|
1217
|
+
u: url,
|
|
1218
|
+
// response url
|
|
1219
|
+
r: source ? url : undefined,
|
|
1220
|
+
// fetchPromise
|
|
1221
|
+
f: undefined,
|
|
1222
|
+
// source
|
|
1223
|
+
S: source,
|
|
1224
|
+
// linkPromise
|
|
1225
|
+
L: undefined,
|
|
1226
|
+
// analysis
|
|
1227
|
+
a: undefined,
|
|
1228
|
+
// deps
|
|
1229
|
+
d: undefined,
|
|
1230
|
+
// blobUrl
|
|
1231
|
+
b: undefined,
|
|
1232
|
+
// shellUrl
|
|
1233
|
+
s: undefined,
|
|
1234
|
+
// needsShim: does it fail execution in the current native loader?
|
|
1235
|
+
n: false,
|
|
1236
|
+
// shouldShim: does it need to be loaded by the polyfill loader?
|
|
1237
|
+
N: false,
|
|
1238
|
+
// type
|
|
1239
|
+
t: null,
|
|
1240
|
+
// meta
|
|
1241
|
+
m: null
|
|
1242
|
+
};
|
|
1243
|
+
load.f = (async () => {
|
|
1244
|
+
if (load.S === undefined) {
|
|
1245
|
+
// preload fetch options override fetch options (race)
|
|
1246
|
+
({ url: load.r, source: load.S, type: load.t } = await (fetchCache[url] || fetchModule(url, fetchOpts, parent)));
|
|
1247
|
+
if (
|
|
1248
|
+
!load.n &&
|
|
1249
|
+
load.t !== 'js' &&
|
|
1250
|
+
!shimMode &&
|
|
1251
|
+
((load.t === 'css' && !supportsCssType) ||
|
|
1252
|
+
(load.t === 'json' && !supportsJsonType) ||
|
|
1253
|
+
(load.t === 'wasm' && !supportsWasmInstancePhase && !supportsWasmSourcePhase) ||
|
|
1254
|
+
load.t === 'ts')
|
|
1255
|
+
) {
|
|
1256
|
+
load.n = true;
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
try {
|
|
1260
|
+
load.a = parse(load.S, load.u);
|
|
1261
|
+
} catch (e) {
|
|
1262
|
+
throwError(e);
|
|
1263
|
+
load.a = [[], [], false];
|
|
1264
|
+
}
|
|
1265
|
+
return load;
|
|
1266
|
+
})();
|
|
1267
|
+
return load;
|
|
1268
|
+
};
|
|
1269
|
+
|
|
1270
|
+
const featErr = feat =>
|
|
1271
|
+
Error(
|
|
1272
|
+
\`\${feat} feature must be enabled via <script type="esms-options">{ "polyfillEnable": ["\${feat}"] }<\${''}/script>\`
|
|
1273
|
+
);
|
|
1274
|
+
|
|
1275
|
+
const linkLoad = (load, fetchOpts) => {
|
|
1276
|
+
if (load.L) return;
|
|
1277
|
+
load.L = load.f.then(() => {
|
|
1278
|
+
let childFetchOpts = fetchOpts;
|
|
1279
|
+
load.d = load.a[0]
|
|
1280
|
+
.map(({ n, d, t, a, se }) => {
|
|
1281
|
+
const phaseImport = t >= 4;
|
|
1282
|
+
const sourcePhase = phaseImport && t < 6;
|
|
1283
|
+
if (phaseImport) {
|
|
1284
|
+
if (!shimMode && (sourcePhase ? !wasmSourcePhaseEnabled : !deferPhaseEnabled))
|
|
1285
|
+
throw featErr(sourcePhase ? 'wasm-module-sources' : 'import-defer');
|
|
1286
|
+
if (!sourcePhase || !supportsWasmSourcePhase) load.n = true;
|
|
1287
|
+
}
|
|
1288
|
+
let source = undefined;
|
|
1289
|
+
if (a > 0 && !shimMode && nativePassthrough) {
|
|
1290
|
+
const assertion = load.S.slice(a, se - 1);
|
|
1291
|
+
// no need to fetch JSON/CSS if supported, since it's a leaf node, we'll just strip the assertion syntax
|
|
1292
|
+
if (assertion.includes('json')) {
|
|
1293
|
+
if (supportsJsonType) source = '';
|
|
1294
|
+
else load.n = true;
|
|
1295
|
+
} else if (assertion.includes('css')) {
|
|
1296
|
+
if (supportsCssType) source = '';
|
|
1297
|
+
else load.n = true;
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
if (d !== -1 || !n) return;
|
|
1301
|
+
const resolved = resolve(n, load.r || load.u);
|
|
1302
|
+
if (resolved.n || hasCustomizationHooks) load.n = true;
|
|
1303
|
+
if (d >= 0 || resolved.N) load.N = true;
|
|
1304
|
+
if (d !== -1) return;
|
|
1305
|
+
if (skip && skip(resolved.r) && !sourcePhase) return { l: { b: resolved.r }, s: false };
|
|
1306
|
+
if (childFetchOpts.integrity) childFetchOpts = { ...childFetchOpts, integrity: undefined };
|
|
1307
|
+
const child = { l: getOrCreateLoad(resolved.r, childFetchOpts, load.r, source), s: sourcePhase };
|
|
1308
|
+
// assertion case -> inline the CSS / JSON URL directly
|
|
1309
|
+
if (source === '') child.l.b = child.l.u;
|
|
1310
|
+
if (!child.s) linkLoad(child.l, fetchOpts);
|
|
1311
|
+
// load, sourcePhase
|
|
1312
|
+
return child;
|
|
1313
|
+
})
|
|
1314
|
+
.filter(l => l);
|
|
1315
|
+
});
|
|
1316
|
+
};
|
|
1317
|
+
|
|
1318
|
+
const processScriptsAndPreloads = () => {
|
|
1319
|
+
for (const link of document.querySelectorAll(shimMode ? 'link[rel=modulepreload-shim]' : 'link[rel=modulepreload]')) {
|
|
1320
|
+
if (!link.ep) processPreload(link);
|
|
1321
|
+
}
|
|
1322
|
+
for (const script of document.querySelectorAll('script[type]')) {
|
|
1323
|
+
if (script.type === 'importmap' + (shimMode ? '-shim' : '')) {
|
|
1324
|
+
if (!script.ep) processImportMap(script);
|
|
1325
|
+
} else if (script.type === 'module' + (shimMode ? '-shim' : '')) {
|
|
1326
|
+
legacyAcceptingImportMaps = false;
|
|
1327
|
+
if (!script.ep) processScript(script);
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
const getFetchOpts = script => {
|
|
1333
|
+
const fetchOpts = {};
|
|
1334
|
+
if (script.integrity) fetchOpts.integrity = script.integrity;
|
|
1335
|
+
if (script.referrerPolicy) fetchOpts.referrerPolicy = script.referrerPolicy;
|
|
1336
|
+
if (script.fetchPriority) fetchOpts.priority = script.fetchPriority;
|
|
1337
|
+
if (script.crossOrigin === 'use-credentials') fetchOpts.credentials = 'include';
|
|
1338
|
+
else if (script.crossOrigin === 'anonymous') fetchOpts.credentials = 'omit';
|
|
1339
|
+
else fetchOpts.credentials = 'same-origin';
|
|
1340
|
+
return fetchOpts;
|
|
1341
|
+
};
|
|
1342
|
+
|
|
1343
|
+
let lastStaticLoadPromise = Promise.resolve();
|
|
1344
|
+
|
|
1345
|
+
let domContentLoaded = false;
|
|
1346
|
+
let domContentLoadedCnt = 1;
|
|
1347
|
+
const domContentLoadedCheck = m => {
|
|
1348
|
+
if (m === undefined) {
|
|
1349
|
+
if (domContentLoaded) return;
|
|
1350
|
+
domContentLoaded = true;
|
|
1351
|
+
domContentLoadedCnt--;
|
|
1352
|
+
}
|
|
1353
|
+
if (--domContentLoadedCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselineSupport)) {
|
|
1354
|
+
document.removeEventListener('DOMContentLoaded', domContentLoadedEvent);
|
|
1355
|
+
document.dispatchEvent(new Event('DOMContentLoaded'));
|
|
1356
|
+
}
|
|
1357
|
+
};
|
|
1358
|
+
let loadCnt = 1;
|
|
1359
|
+
const loadCheck = () => {
|
|
1360
|
+
if (--loadCnt === 0 && !noLoadEventRetriggers && (shimMode || !baselineSupport)) {
|
|
1361
|
+
window.removeEventListener('load', loadEvent);
|
|
1362
|
+
window.dispatchEvent(new Event('load'));
|
|
1363
|
+
}
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
const domContentLoadedEvent = async () => {
|
|
1367
|
+
await initPromise;
|
|
1368
|
+
domContentLoadedCheck();
|
|
1369
|
+
};
|
|
1370
|
+
const loadEvent = async () => {
|
|
1371
|
+
await initPromise;
|
|
1372
|
+
domContentLoadedCheck();
|
|
1373
|
+
loadCheck();
|
|
1374
|
+
};
|
|
1375
|
+
|
|
1376
|
+
// this should always trigger because we assume es-module-shims is itself a domcontentloaded requirement
|
|
1377
|
+
if (hasDocument) {
|
|
1378
|
+
document.addEventListener('DOMContentLoaded', domContentLoadedEvent);
|
|
1379
|
+
window.addEventListener('load', loadEvent);
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
const readyListener = async () => {
|
|
1383
|
+
await initPromise;
|
|
1384
|
+
processScriptsAndPreloads();
|
|
1385
|
+
if (document.readyState === 'complete') {
|
|
1386
|
+
readyStateCompleteCheck();
|
|
1387
|
+
}
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
let readyStateCompleteCnt = 1;
|
|
1391
|
+
const readyStateCompleteCheck = () => {
|
|
1392
|
+
if (--readyStateCompleteCnt === 0) {
|
|
1393
|
+
domContentLoadedCheck();
|
|
1394
|
+
if (!noLoadEventRetriggers && (shimMode || !baselineSupport)) {
|
|
1395
|
+
document.removeEventListener('readystatechange', readyListener);
|
|
1396
|
+
document.dispatchEvent(new Event('readystatechange'));
|
|
1397
|
+
}
|
|
1398
|
+
}
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
const hasNext = script => script.nextSibling || (script.parentNode && hasNext(script.parentNode));
|
|
1402
|
+
const epCheck = (script, ready) =>
|
|
1403
|
+
script.ep ||
|
|
1404
|
+
(!ready && ((!script.src && !script.innerHTML) || !hasNext(script))) ||
|
|
1405
|
+
script.getAttribute('noshim') !== null ||
|
|
1406
|
+
!(script.ep = true);
|
|
1407
|
+
|
|
1408
|
+
const processImportMap = (script, ready = readyStateCompleteCnt > 0) => {
|
|
1409
|
+
if (epCheck(script, ready)) return;
|
|
1410
|
+
// we dont currently support external import maps in polyfill mode to match native
|
|
1411
|
+
if (script.src) {
|
|
1412
|
+
if (!shimMode) return;
|
|
1413
|
+
importMapSrc = true;
|
|
1414
|
+
}
|
|
1415
|
+
importMapPromise = importMapPromise
|
|
1416
|
+
.then(async () => {
|
|
1417
|
+
composedImportMap = resolveAndComposeImportMap(
|
|
1418
|
+
script.src ? await (await doFetch(script.src, getFetchOpts(script))).json() : JSON.parse(script.innerHTML),
|
|
1419
|
+
script.src || baseUrl,
|
|
1420
|
+
composedImportMap
|
|
1421
|
+
);
|
|
1422
|
+
})
|
|
1423
|
+
.catch(e => {
|
|
1424
|
+
if (e instanceof SyntaxError)
|
|
1425
|
+
e = new Error(\`Unable to parse import map \${e.message} in: \${script.src || script.innerHTML}\`);
|
|
1426
|
+
throwError(e);
|
|
1427
|
+
});
|
|
1428
|
+
if (!firstImportMap && legacyAcceptingImportMaps) importMapPromise.then(() => (firstImportMap = composedImportMap));
|
|
1429
|
+
if (!legacyAcceptingImportMaps && !multipleImportMaps) {
|
|
1430
|
+
multipleImportMaps = true;
|
|
1431
|
+
if (!shimMode && baselineSupport && !supportsMultipleImportMaps) {
|
|
1432
|
+
baselineSupport = false;
|
|
1433
|
+
if (hasDocument) attachMutationObserver();
|
|
1434
|
+
}
|
|
1435
|
+
}
|
|
1436
|
+
legacyAcceptingImportMaps = false;
|
|
1437
|
+
};
|
|
1438
|
+
|
|
1439
|
+
const processScript = (script, ready = readyStateCompleteCnt > 0) => {
|
|
1440
|
+
if (epCheck(script, ready)) return;
|
|
1441
|
+
// does this load block readystate complete
|
|
1442
|
+
const isBlockingReadyScript = script.getAttribute('async') === null && readyStateCompleteCnt > 0;
|
|
1443
|
+
// does this load block DOMContentLoaded
|
|
1444
|
+
const isDomContentLoadedScript = domContentLoadedCnt > 0;
|
|
1445
|
+
const isLoadScript = loadCnt > 0;
|
|
1446
|
+
if (isLoadScript) loadCnt++;
|
|
1447
|
+
if (isBlockingReadyScript) readyStateCompleteCnt++;
|
|
1448
|
+
if (isDomContentLoadedScript) domContentLoadedCnt++;
|
|
1449
|
+
let loadPromise;
|
|
1450
|
+
const ts = script.lang === 'ts';
|
|
1451
|
+
if (ts && !script.src) {
|
|
1452
|
+
loadPromise = Promise.resolve(esmsTsTransform || initTs())
|
|
1453
|
+
.then(() => {
|
|
1454
|
+
const transformed = esmsTsTransform(script.innerHTML, baseUrl);
|
|
1455
|
+
if (transformed !== undefined) {
|
|
1456
|
+
onpolyfill();
|
|
1457
|
+
firstPolyfillLoad = false;
|
|
1458
|
+
}
|
|
1459
|
+
return topLevelLoad(
|
|
1460
|
+
script.src || baseUrl,
|
|
1461
|
+
baseUrl,
|
|
1462
|
+
getFetchOpts(script),
|
|
1463
|
+
transformed === undefined ? script.innerHTML : transformed,
|
|
1464
|
+
!shimMode && transformed === undefined,
|
|
1465
|
+
isBlockingReadyScript && lastStaticLoadPromise,
|
|
1466
|
+
'ts'
|
|
1467
|
+
);
|
|
1468
|
+
})
|
|
1469
|
+
.catch(throwError);
|
|
1470
|
+
} else {
|
|
1471
|
+
loadPromise = topLevelLoad(
|
|
1472
|
+
script.src || baseUrl,
|
|
1473
|
+
baseUrl,
|
|
1474
|
+
getFetchOpts(script),
|
|
1475
|
+
!script.src ? script.innerHTML : undefined,
|
|
1476
|
+
!shimMode,
|
|
1477
|
+
isBlockingReadyScript && lastStaticLoadPromise,
|
|
1478
|
+
ts ? 'ts' : undefined
|
|
1479
|
+
).catch(throwError);
|
|
1480
|
+
}
|
|
1481
|
+
if (!noLoadEventRetriggers) loadPromise.then(() => script.dispatchEvent(new Event('load')));
|
|
1482
|
+
if (isBlockingReadyScript && !ts) {
|
|
1483
|
+
lastStaticLoadPromise = loadPromise.then(readyStateCompleteCheck);
|
|
1484
|
+
}
|
|
1485
|
+
if (isDomContentLoadedScript) loadPromise.then(domContentLoadedCheck);
|
|
1486
|
+
if (isLoadScript) loadPromise.then(loadCheck);
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
const fetchCache = {};
|
|
1490
|
+
const processPreload = link => {
|
|
1491
|
+
link.ep = true;
|
|
1492
|
+
initPromise.then(() => {
|
|
1493
|
+
if (baselineSupport && !shimMode) return;
|
|
1494
|
+
if (fetchCache[link.href]) return;
|
|
1495
|
+
fetchCache[link.href] = fetchModule(link.href, getFetchOpts(link));
|
|
1496
|
+
});
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
})();
|
|
1500
|
+
`,Am=`/* Runs only in the opaque preview frame. All local reads use its directory capability. */
|
|
1501
|
+
function installPreviewRuntime(capability, base, externalOrigins, shimUrl) {
|
|
1502
|
+
// The desktop proxy can enforce base-uri 'self'. A real <base> pointing to
|
|
1503
|
+
// our virtual origin would be blocked there. Keep resolution in this opaque
|
|
1504
|
+
// runtime instead; the module shim and user scripts read the virtual base,
|
|
1505
|
+
// while native requests still cannot leave the directory-scoped bridge.
|
|
1506
|
+
Object.defineProperty(document, 'baseURI', { value: base });
|
|
1507
|
+
const NativeRequest = window.Request;
|
|
1508
|
+
Object.defineProperty(window, 'Request', { configurable: false, writable: false, value: class extends NativeRequest {
|
|
1509
|
+
constructor(input, init) {
|
|
1510
|
+
super(typeof input === 'string' || input instanceof URL ? new URL(input, base).href : input, init);
|
|
1511
|
+
}
|
|
1512
|
+
} });
|
|
1513
|
+
const external = new Set(externalOrigins);
|
|
1514
|
+
const report = event => {
|
|
1515
|
+
let message = '部分动态内容无法运行';
|
|
1516
|
+
if (event?.type === 'securitypolicyviolation') {
|
|
1517
|
+
const directive = event.effectiveDirective || event.violatedDirective || '';
|
|
1518
|
+
message = directive.startsWith('base-uri') ? '页面尝试更改链接的解析地址,已阻止。'
|
|
1519
|
+
: directive.startsWith('img-src') ? '部分图片未能加载。'
|
|
1520
|
+
: directive.startsWith('style-src') ? '部分样式未能加载,显示可能不完整。'
|
|
1521
|
+
: directive.startsWith('script-src') ? '部分脚本未能运行,交互可能受影响。'
|
|
1522
|
+
: directive.startsWith('font-src') ? '部分字体未能加载,已使用默认字体。'
|
|
1523
|
+
: directive.startsWith('connect-src') ? '部分数据未能读取,内容可能不完整。'
|
|
1524
|
+
: directive.startsWith('frame-src') ? '页面中的嵌入内容无法预览。'
|
|
1525
|
+
: '部分内容受预览限制,未能加载。';
|
|
1526
|
+
}
|
|
1527
|
+
else if (event?.message) message = '页面脚本运行失败:' + event.message;
|
|
1528
|
+
else if (event?.reason) message = '页面脚本运行失败:' + String(event.reason?.message || event.reason);
|
|
1529
|
+
else if (event?.target?.tagName && event.target !== window) message = '页面资源加载失败:' + event.target.tagName.toLowerCase();
|
|
1530
|
+
parent.postMessage({ type: 'preview-error', capability, message: message.slice(0, 240) }, '*');
|
|
1531
|
+
};
|
|
1532
|
+
// Opaque frames cannot access browser storage. Reports commonly read it
|
|
1533
|
+
// during startup, so supply disposable, per-document storage instead. This
|
|
1534
|
+
// never reads the service page's storage or persists a preview's data.
|
|
1535
|
+
for (const name of ['localStorage', 'sessionStorage']) {
|
|
1536
|
+
const values = new Map();
|
|
1537
|
+
const storage = {
|
|
1538
|
+
get length() { return values.size; },
|
|
1539
|
+
key(index) { return [...values.keys()][Number(index)] ?? null; },
|
|
1540
|
+
getItem(key) { return values.get(String(key)) ?? null; },
|
|
1541
|
+
setItem(key, value) { values.set(String(key), String(value)); },
|
|
1542
|
+
removeItem(key) { values.delete(String(key)); },
|
|
1543
|
+
clear() { values.clear(); },
|
|
1544
|
+
};
|
|
1545
|
+
Object.defineProperty(window, name, { configurable: false, value: new Proxy(storage, {
|
|
1546
|
+
get(target, key) { return key in target ? Reflect.get(target, key) : values.get(String(key)); },
|
|
1547
|
+
set(_target, key, value) { values.set(String(key), String(value)); return true; },
|
|
1548
|
+
deleteProperty(_target, key) { values.delete(String(key)); return true; },
|
|
1549
|
+
ownKeys() { return [...values.keys()]; },
|
|
1550
|
+
getOwnPropertyDescriptor(target, key) { return values.has(String(key)) ? { configurable: true, enumerable: true, writable: true, value: values.get(String(key)) } : Reflect.getOwnPropertyDescriptor(target, key); },
|
|
1551
|
+
}) });
|
|
1552
|
+
}
|
|
1553
|
+
const nativeFetch = window.fetch.bind(window);
|
|
1554
|
+
const nativeWorker = window.Worker;
|
|
1555
|
+
const externalUrl = value => {
|
|
1556
|
+
const url = new URL(value, base);
|
|
1557
|
+
const origin = url.protocol === 'wss:' ? 'https://' + url.host : url.origin;
|
|
1558
|
+
if (!external.has(origin)) throw new Error('Outside preview network scope');
|
|
1559
|
+
return url;
|
|
1560
|
+
};
|
|
1561
|
+
const bridgeFetch = async (input, init = {}) => {
|
|
1562
|
+
const url = new URL(typeof input === 'string' ? input : input.url || String(input), base);
|
|
1563
|
+
const method = String(init.method || (input && input.method) || 'GET').toUpperCase();
|
|
1564
|
+
if (url.protocol === 'blob:' || url.protocol === 'data:') return nativeFetch(input, init);
|
|
1565
|
+
if (url.origin !== new URL(base).origin) {
|
|
1566
|
+
externalUrl(url.href);
|
|
1567
|
+
return nativeFetch(url.href, { ...init, method, credentials: 'omit', referrerPolicy: 'no-referrer' });
|
|
1568
|
+
}
|
|
1569
|
+
if (!['GET', 'HEAD'].includes(method) || !url.pathname.startsWith(new URL(base).pathname)) throw new Error('Outside preview directory');
|
|
1570
|
+
return new Promise((resolve, reject) => {
|
|
1571
|
+
if (init.signal?.aborted) { reject(init.signal.reason); return; }
|
|
1572
|
+
const channel = new MessageChannel();
|
|
1573
|
+
const finish = () => { clearTimeout(timer); channel.port1.close(); init.signal?.removeEventListener('abort', abort); };
|
|
1574
|
+
const abort = () => { finish(); reject(init.signal.reason); };
|
|
1575
|
+
const timer = setTimeout(() => { finish(); report(); reject(new Error('Preview resource timeout')); }, 15000);
|
|
1576
|
+
init.signal?.addEventListener('abort', abort, { once: true });
|
|
1577
|
+
channel.port1.onmessage = event => {
|
|
1578
|
+
finish();
|
|
1579
|
+
if (event.data.error) { reject(new Error(event.data.error)); return; }
|
|
1580
|
+
const response = new Response(method === 'HEAD' ? null : event.data.data, { status: event.data.status, headers: event.data.headers });
|
|
1581
|
+
Object.defineProperty(response, 'url', { value: url.href }); resolve(response);
|
|
1582
|
+
};
|
|
1583
|
+
parent.postMessage({ type: 'preview-fetch', capability, url: url.href, method }, '*', [channel.port2]);
|
|
1584
|
+
});
|
|
1585
|
+
};
|
|
1586
|
+
Object.defineProperty(window, 'fetch', { configurable: false, writable: false, value: bridgeFetch });
|
|
1587
|
+
window.esmsInitOptions = { shimMode: true, nativePassthrough: false, fetch: bridgeFetch, onerror: report };
|
|
1588
|
+
class PreviewXHR extends EventTarget {
|
|
1589
|
+
readyState = 0; status = 0; statusText = ''; response = null; responseText = ''; responseURL = ''; responseType = ''; timeout = 0;
|
|
1590
|
+
upload = new EventTarget(); withCredentials = false;
|
|
1591
|
+
open(method, url, async = true) {
|
|
1592
|
+
if (!async) throw new Error('Synchronous preview requests are unavailable');
|
|
1593
|
+
this.abort(); this.method = method; this.url = new URL(url, base).href; this.headers = {}; this.readyState = 1; this.emit('readystatechange');
|
|
1594
|
+
}
|
|
1595
|
+
setRequestHeader(name, value) { this.headers[name] = value; }
|
|
1596
|
+
getAllResponseHeaders() { return this.responseHeaders ? [...this.responseHeaders].map(([key, value]) => key + ': ' + value + '\\r\\n').join('') : ''; }
|
|
1597
|
+
getResponseHeader(name) { return this.responseHeaders?.get(name) ?? null; }
|
|
1598
|
+
overrideMimeType(value) { this.mime = value; }
|
|
1599
|
+
emit(type, event = new Event(type)) { this.dispatchEvent(event); this['on' + type]?.call(this, event); }
|
|
1600
|
+
abort() { if (this.controller) { this.controller.abort(); this.controller = null; this.readyState = 0; this.emit('abort'); this.emit('loadend'); } }
|
|
1601
|
+
send(body = null) {
|
|
1602
|
+
const controller = new AbortController(); this.controller = controller;
|
|
1603
|
+
const timer = this.timeout > 0 ? setTimeout(() => { if (this.controller !== controller) return; controller.abort(); this.controller = null; this.emit('timeout'); this.emit('loadend'); }, this.timeout) : null;
|
|
1604
|
+
this.emit('loadstart');
|
|
1605
|
+
bridgeFetch(this.url, { method: this.method, headers: this.headers, body, signal: controller.signal }).then(async response => {
|
|
1606
|
+
this.status = response.status; this.statusText = response.statusText; this.responseURL = response.url; this.responseHeaders = response.headers;
|
|
1607
|
+
this.readyState = 2; this.emit('readystatechange'); this.readyState = 3; this.emit('readystatechange');
|
|
1608
|
+
const bytes = await response.arrayBuffer();
|
|
1609
|
+
if (this.controller !== controller) return;
|
|
1610
|
+
this.responseText = new TextDecoder().decode(bytes);
|
|
1611
|
+
this.response = this.responseType === 'arraybuffer' ? bytes : this.responseType === 'blob' ? new Blob([bytes], { type: this.mime || response.headers.get('content-type') || '' }) : this.responseType === 'json' ? (() => { try { return JSON.parse(this.responseText); } catch { return null; } })() : this.responseType === 'document' ? new DOMParser().parseFromString(this.responseText, 'text/html') : this.responseText;
|
|
1612
|
+
this.readyState = 4; this.emit('readystatechange'); this.emit('progress', new ProgressEvent('progress', { lengthComputable: true, loaded: bytes.byteLength, total: bytes.byteLength })); this.emit('load'); this.emit('loadend'); this.controller = null;
|
|
1613
|
+
}).catch(() => { if (this.controller !== controller) return; this.controller = null; this.status = 0; this.readyState = 4; this.emit('readystatechange'); this.emit('error'); this.emit('loadend'); }).finally(() => clearTimeout(timer));
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
for (const [key, value] of Object.entries({ UNSENT: 0, OPENED: 1, HEADERS_RECEIVED: 2, LOADING: 3, DONE: 4 })) { PreviewXHR[key] = value; PreviewXHR.prototype[key] = value; }
|
|
1617
|
+
Object.defineProperty(window, 'XMLHttpRequest', { configurable: false, writable: false, value: PreviewXHR });
|
|
1618
|
+
for (const name of ['WebSocket', 'EventSource']) {
|
|
1619
|
+
const Native = window[name];
|
|
1620
|
+
if (Native) Object.defineProperty(window, name, { configurable: false, writable: false, value: class extends Native {
|
|
1621
|
+
constructor(url, options) { super(externalUrl(url).href, name === 'EventSource' ? { withCredentials: false } : options); }
|
|
1622
|
+
} });
|
|
1623
|
+
}
|
|
1624
|
+
// A worker receives the same read-only bridge over a private MessagePort. Its
|
|
1625
|
+
// module graph is loaded by the same shim, including computed dynamic imports.
|
|
1626
|
+
class PreviewWorker extends EventTarget {
|
|
1627
|
+
constructor(url, options = {}) {
|
|
1628
|
+
super();
|
|
1629
|
+
const entry = new URL(url, base).href;
|
|
1630
|
+
const workerSource = \`(\${workerBootstrap.toString()})(\${JSON.stringify(entry)},\${JSON.stringify(options.type || 'classic')},\${JSON.stringify(shimUrl)});\`;
|
|
1631
|
+
this.objectUrl = URL.createObjectURL(new Blob([workerSource], { type: 'text/javascript' }));
|
|
1632
|
+
this.worker = new nativeWorker(this.objectUrl, { name: options.name });
|
|
1633
|
+
const channel = new MessageChannel(); this.port = channel.port1;
|
|
1634
|
+
this.port.onmessage = async event => {
|
|
1635
|
+
const { id, url, init } = event.data;
|
|
1636
|
+
try { const response = await bridgeFetch(url, init); const data = await response.arrayBuffer(); this.port.postMessage({ id, status: response.status, headers: [...response.headers], data }, [data]); }
|
|
1637
|
+
catch (error) { this.port.postMessage({ id, error: String(error) }); }
|
|
1638
|
+
};
|
|
1639
|
+
this.worker.postMessage({ previewInit: true, base: entry, importMap: window.importShim?.getImportMap?.() }, [channel.port2]);
|
|
1640
|
+
for (const type of ['message', 'messageerror', 'error']) this.worker.addEventListener(type, event => {
|
|
1641
|
+
const forwarded = type === 'error' ? new ErrorEvent(type, { message: event.message }) : new MessageEvent(type, { data: event.data, ports: event.ports });
|
|
1642
|
+
this.dispatchEvent(forwarded); this['on' + type]?.call(this, forwarded);
|
|
1643
|
+
});
|
|
1644
|
+
}
|
|
1645
|
+
postMessage(value, transfer) { this.worker.postMessage(value, transfer); }
|
|
1646
|
+
terminate() { this.worker.terminate(); this.port.close(); URL.revokeObjectURL(this.objectUrl); }
|
|
1647
|
+
}
|
|
1648
|
+
function workerBootstrap(entry, type, shim) {
|
|
1649
|
+
const queued = []; let initialized = false, ready = false;
|
|
1650
|
+
const receive = event => {
|
|
1651
|
+
if (!event.data?.previewInit || initialized) { if (!ready) { event.stopImmediatePropagation(); queued.push(event); } return; }
|
|
1652
|
+
initialized = true; event.stopImmediatePropagation();
|
|
1653
|
+
const port = event.ports[0]; const pending = new Map(); let next = 0;
|
|
1654
|
+
port.onmessage = message => { const done = pending.get(message.data.id); if (!done) return; pending.delete(message.data.id); message.data.error ? done.reject(new Error(message.data.error)) : done.resolve(new Response(message.data.data, { status: message.data.status, headers: message.data.headers })); };
|
|
1655
|
+
self.fetch = (url, init = {}) => new Promise((resolve, reject) => { const id = ++next; pending.set(id, { resolve, reject }); port.postMessage({ id, url: new URL(typeof url === 'string' ? url : url.url || String(url), entry).href, init: { method: init.method || 'GET', headers: init.headers } }); });
|
|
1656
|
+
self.esmsInitOptions = { shimMode: true, nativePassthrough: false, fetch: self.fetch };
|
|
1657
|
+
const nativeImport = self.importScripts.bind(self);
|
|
1658
|
+
nativeImport(shim);
|
|
1659
|
+
if (event.data.importMap) self.importShim.addImportMap(event.data.importMap);
|
|
1660
|
+
const load = type === 'module' ? self.importShim(entry) : self.fetch(entry).then(r => r.text()).then(source => { const blob = URL.createObjectURL(new Blob([source], { type: 'text/javascript' })); nativeImport(blob); URL.revokeObjectURL(blob); });
|
|
1661
|
+
load.then(() => { ready = true; removeEventListener('message', receive); for (const message of queued) dispatchEvent(new MessageEvent('message', { data: message.data, ports: message.ports })); }).catch(error => setTimeout(() => { throw error; }));
|
|
1662
|
+
};
|
|
1663
|
+
addEventListener('message', receive);
|
|
1664
|
+
}
|
|
1665
|
+
Object.defineProperty(window, 'Worker', { configurable: false, writable: false, value: PreviewWorker });
|
|
1666
|
+
const navigate = value => {
|
|
1667
|
+
const url = new URL(value, base);
|
|
1668
|
+
if (url.origin === new URL(base).origin && url.pathname.startsWith(new URL(base).pathname)) parent.postMessage({ type: 'preview-navigate', capability, url: url.href }, '*');
|
|
1669
|
+
else { externalUrl(url.href); parent.postMessage({ type: 'preview-external', capability, url: url.href }, '*'); }
|
|
1670
|
+
};
|
|
1671
|
+
Object.defineProperty(window, 'open', { configurable: false, writable: false, value: value => { navigate(value); return null; } });
|
|
1672
|
+
document.addEventListener('click', event => {
|
|
1673
|
+
const anchor = event.target.closest?.('a,area'); const href = anchor?.getAttribute('href');
|
|
1674
|
+
if (!href) return;
|
|
1675
|
+
event.preventDefault();
|
|
1676
|
+
// Resolve anchors inside the current report without changing the shell's
|
|
1677
|
+
// capability fragment or navigating to a virtual resource address.
|
|
1678
|
+
if (href.startsWith('#')) {
|
|
1679
|
+
let id; try { id = decodeURIComponent(href.slice(1)); } catch { return; }
|
|
1680
|
+
const target = document.getElementById(id) || document.getElementsByName(id)[0];
|
|
1681
|
+
for (let node = target?.parentElement; node; node = node.parentElement) if (node.tagName === 'DETAILS') node.open = true;
|
|
1682
|
+
if (target) target.scrollIntoView();
|
|
1683
|
+
else if (!id) window.scrollTo(0, 0);
|
|
1684
|
+
return;
|
|
1685
|
+
}
|
|
1686
|
+
navigate(href);
|
|
1687
|
+
}, true);
|
|
1688
|
+
document.addEventListener('keydown', event => {
|
|
1689
|
+
if (event.key === 'Escape' && !event.defaultPrevented && !event.isComposing) parent.postMessage({ type: 'preview-escape', capability }, '*');
|
|
1690
|
+
});
|
|
1691
|
+
document.addEventListener('submit', event => {
|
|
1692
|
+
event.preventDefault(); const form = event.target;
|
|
1693
|
+
const url = new URL(form.getAttribute('action') || base, base);
|
|
1694
|
+
if ((form.getAttribute('method') || 'get').toLowerCase() !== 'get') { report(); return; }
|
|
1695
|
+
for (const [key, value] of new FormData(form)) if (typeof value === 'string') url.searchParams.append(key, value);
|
|
1696
|
+
navigate(url.href);
|
|
1697
|
+
}, true);
|
|
1698
|
+
window.addEventListener('securitypolicyviolation', report);
|
|
1699
|
+
window.addEventListener('error', report, true);
|
|
1700
|
+
window.addEventListener('unhandledrejection', report);
|
|
1701
|
+
}
|
|
1702
|
+
`,co="/api/terminal/fs/preview/",Tm=8*1024*1024,Mm=32*1024*1024,Lm=128,Im="data:,";function Ct(r){throw new Error(r)}function $m(r){return JSON.stringify(r).replace(/</g,"\\u003c")}async function Rd(r,a,i){let c="",h=0;for(const m of r.matchAll(a))c+=r.slice(h,m.index)+await i(m),h=m.index+m[0].length;return c+r.slice(h)}async function uu(r,a){const i=a.origin??location.origin,c=new URL(r,i);(c.origin!==i||!ra(c.pathname)?.startsWith(co))&&Ct("预览地址不是有效的本地文件入口");const h=crypto.randomUUID(),m=`https://termdock-preview.invalid/${h}/`,d=[],y=_=>{!d.includes(_)&&d.length<20&&d.push(_)},g=new Set,k=[],w=new Set,S=new Map,v=new Map;let A=0,N=!1;const D=new Set,F=()=>{N=!0;for(const _ of[...D])_();g.clear(),k.length=0};async function Z(_){_.ok||Ct(`预览资源读取失败(${_.status})`);const ae=_.body?.getReader(),oe=[];let E=0;try{if(ae)for(;;){const j=await ae.read();if(j.done)break;E+=j.value.byteLength,A+=j.value.byteLength,(E>Tm||A>Mm)&&Ct("预览资源超出大小限制"),oe.push(j.value)}}catch(j){throw await ae?.cancel().catch(()=>{}),j}finally{ae?.releaseLock()}const P=new Uint8Array(E);let J=0;for(const j of oe)P.set(j,J),J+=j.length;return{bytes:P,type:_.headers.get("content-type")??"application/octet-stream",status:_.status}}let L=c,q;for(let _=0;_<4;_++){const ae=await a.fetch(L.pathname+L.search,{signal:a.signal,redirect:"manual"});if(![301,302,303,307,308].includes(ae.status)){q=ae;break}const oe=ae.headers.get("location");await ae.body?.cancel(),oe||Ct("预览重定向缺少目标");const E=new URL(oe,L);(E.origin!==i||!ra(E.pathname)?.startsWith(co))&&Ct("预览重定向越出文件范围"),L=E}q||Ct("预览重定向次数过多");const le=ra(L.pathname),Y=le.slice(co.length).split("/");/^[a-f0-9]{32}$/.test(Y[0])||Ct("服务未提供有效的预览资源授权");const me=ra(c.pathname).slice(co.length).split("/");/^[a-f0-9]{32}$/.test(me[0])&&me.shift(),me.join("/").replace(/\/$/,"")!==Y.slice(1).join("/").replace(/\/$/,"")&&Ct("预览重定向改变了文件范围");const o=le.endsWith("/")?le:le.slice(0,le.lastIndexOf("/")+1),K=new URL(L.pathname.endsWith("/")?L.pathname:L.pathname.slice(0,L.pathname.lastIndexOf("/")+1),i);function te(_,ae){const oe=new URL(_,ae);return oe.origin!==i?null:(ra(oe.pathname)?.startsWith(o)||Ct("已阻止预览访问目录之外的资源"),oe)}function T(_){const ae=new URL(_,m);(ae.origin!==new URL(m).origin||!ae.pathname.startsWith(new URL(m).pathname))&&Ct("已阻止预览访问服务接口或目录之外的资源");const oe=ae.pathname.slice(new URL(m).pathname.length)+ae.search;return te(oe,K)??Ct("预览资源无效")}function re(_){const ae=_.pathname+_.search,oe=S.get(ae);if(oe)return oe;if(N||a.signal?.aborted)return Promise.reject(new Error("预览已关闭"));if(S.size>=Lm)return Promise.reject(new Error("预览资源数量超出限制"));const E=a.fetch(ae,{signal:a.signal,redirect:"manual"}).then(Z);return S.set(ae,E),E}function ke(_,ae){N&&Ct("预览已关闭");const oe=`termdock-resource-${h}-${k.length}`;return k.push({token:oe,data:_,type:ae}),g.add(oe),oe}async function C(_,ae,oe,E=new Set){if(!_||_.startsWith("#")||/^data:(?:image|font)\//i.test(_)&&oe==="resource")return _;try{const P=te(_,ae);if(!P){const $=new URL(_,ae);return($.protocol!=="https:"||$.username||$.password||$.origin===new URL(m).origin)&&Ct("已阻止不安全的外部资源"),w.add($.origin),$.href}const J=`${oe}:${P.href}`;(E.has(J)||E.size>=8)&&Ct("预览资源存在循环或过深引用");const j=v.get(J);if(j)return j;const ue=new Set(E);ue.add(J);const ge=(async()=>{const $=await re(P);return oe==="css"?ke(await he(new TextDecoder().decode($.bytes),P,ue),"text/css"):oe==="script"?ke($.bytes,"text/javascript"):ke($.bytes,$.type)})();return v.set(J,ge),await ge}catch(P){return y(P instanceof Error?P.message:"部分预览资源未能加载"),Im}}async function he(_,ae,oe){return _=await Rd(_,/@import\s+(?:url\(\s*)?["']([^"']+)["']\s*\)?([^;]*);/gi,async E=>`@import url("${await C(E[1],ae,"css",oe)}")${E[2]};`),Rd(_,/url\(\s*(?:"([^"]*)"|'([^']*)'|([^)]*))\s*\)/gi,async E=>{const P=(E[1]??E[2]??E[3]).trim();return g.has(P)?E[0]:`url("${await C(P,ae,"resource",oe)}")`})}try{const _=await Z(q),ae=ke(Em,"text/javascript"),oe=new DOMParser().parseFromString(new TextDecoder().decode(_.bytes),"text/html");oe.querySelectorAll("base,meta[http-equiv],iframe,frame,object,embed").forEach($=>$.remove());for(const $ of oe.querySelectorAll("*")){if($.removeAttribute("ping"),$.removeAttribute("srcdoc"),$.hasAttribute("style")&&$.setAttribute("style",await he($.getAttribute("style"),L,new Set)),$.tagName==="STYLE"&&($.textContent=await he($.textContent??"",L,new Set)),$.tagName==="A"||$.tagName==="AREA"){const ve=$.getAttribute("href");try{if(ve&&!ve.startsWith("#")){const Se=te(ve,L);if(Se)$.setAttribute("href",new URL(Se.pathname.slice(K.pathname.length)+Se.search+Se.hash,m).href);else{const je=new URL(ve,L);if(je.protocol!=="https:"){$.removeAttribute("href");continue}w.add(je.origin),$.setAttribute("href",je.href)}}}catch(Se){$.removeAttribute("href"),y(Se instanceof Error?Se.message:"预览链接无法加载")}}for(const ve of["data","manifest"])$.removeAttribute(ve);if($.tagName==="SCRIPT"&&$.getAttribute("type")==="module"){$.setAttribute("type","module-shim");const ve=$.getAttribute("src");if(ve){const Se=te(ve,L);if(Se)$.setAttribute("src",new URL(Se.pathname.slice(K.pathname.length)+Se.search,m).href);else{const je=new URL(ve,L);if(je.protocol!=="https:"){$.remove();continue}w.add(je.origin),$.setAttribute("src",je.href)}}continue}if($.tagName==="SCRIPT"&&$.getAttribute("type")==="importmap"){$.setAttribute("type","importmap-shim");continue}if($.tagName==="LINK"){const ve=($.getAttribute("rel")??"").toLowerCase();if(!["stylesheet","icon"].includes(ve)){$.remove();continue}const Se=$.getAttribute("href");Se&&$.setAttribute("href",await C(Se,L,ve==="stylesheet"?"css":"resource"))}if($.hasAttribute("src")&&$.setAttribute("src",await C($.getAttribute("src"),L,$.tagName==="SCRIPT"?"script":"resource")),$.hasAttribute("poster")&&$.setAttribute("poster",await C($.getAttribute("poster"),L,"resource")),$.hasAttribute("srcset")){const ve=$.getAttribute("srcset");/data:/i.test(ve)?($.removeAttribute("srcset"),y("混合内嵌图片候选暂不支持安全预览")):$.setAttribute("srcset",(await Promise.all(ve.split(",").map(async Se=>{const[je,...at]=Se.trim().split(/\s+/);return`${await C(je,L,"resource")} ${at.join(" ")}`}))).join(", "))}$.setAttribute("referrerpolicy","no-referrer"),$.removeAttribute("integrity"),$.removeAttribute("crossorigin")}const E=[...w].join(" "),P=oe.createElement("meta");P.httpEquiv="Content-Security-Policy",P.content=`default-src 'none'; script-src 'unsafe-inline' 'wasm-unsafe-eval' blob: ${E}; style-src 'unsafe-inline' blob: ${E}; img-src blob: data: ${E}; font-src blob: data: ${E}; media-src blob: data: ${E}; connect-src blob: ${E} ${[...w].map($=>$.replace(/^https:/,"wss:")).join(" ")}; worker-src blob:; frame-src 'none'; object-src 'none'; base-uri https://termdock-preview.invalid; form-action 'none'`;const J=oe.createElement("meta");J.name="referrer",J.content="no-referrer";const j=oe.createElement("script");j.textContent=Am+`
|
|
1703
|
+
installPreviewRuntime(`+[h,m,[...w],ae].map($m).join(",")+");";const ue=oe.createElement("script");ue.src=ae,oe.head.prepend(P,J,j,ue);const ge=`<!doctype html>
|
|
1704
|
+
`+oe.documentElement.outerHTML;return{html:ge,shellUrl:`/preview-shell.html#${h}`,errors:d,attach($,ve,Se){const je=new Set,at=Ae=>{if(Ae.source!==$.contentWindow||Ae.data?.capability!==h)return;if(Ae.data.type==="preview-ready"){$.contentWindow?.postMessage({type:"preview-init",capability:h,html:ge,resources:k},"*");return}if(Ae.data.type==="preview-error"){ve(typeof Ae.data.message=="string"?Ae.data.message.slice(0,240):"部分动态内容无法运行");return}if(Ae.data.type==="preview-escape"){Se?.();return}if(Ae.data.type==="preview-navigate"){(async()=>{const ce=T(String(Ae.data.url)),Re=await uu(ce.pathname+ce.search,a);if(N){Re.dispose();return}const X=Re.attach($,ve,Se);D.add(()=>{X(),Re.dispose()}),$.src=Re.shellUrl.replace("#","?navigation="+crypto.randomUUID()+"#")})().catch(ce=>ve(ce instanceof Error?ce.message:"无法打开预览页面"));return}if(Ae.data.type==="preview-external"){try{const ce=new URL(String(Ae.data.url));ce.protocol==="https:"&&w.has(ce.origin)&&window.open(ce.href,"_blank","noopener,noreferrer")}catch{}return}if(Ae.data.type!=="preview-fetch"||Ae.ports.length!==1)return;const I=Ae.ports[0];if(je.size>=8||!["GET","HEAD"].includes(Ae.data.method)){I.postMessage({error:"预览仅允许读取已授权目录资源"}),I.close();return}je.add(I),(async()=>{const ce=T(String(Ae.data.url)),Re=await re(ce);if(!je.has(I)||N)return;const X=Ae.data.method==="HEAD"?new Uint8Array:Re.bytes.slice();I.postMessage({status:Re.status,headers:{"content-type":Re.type},data:X.buffer},[X.buffer])})().catch(()=>{I.postMessage({error:"预览资源不在授权范围或无法加载"}),ve("部分动态资源不可用或超出预览目录")}).finally(()=>{je.delete(I),I.close()})};window.addEventListener("message",at);const ot=()=>{window.removeEventListener("message",at);for(const Ae of je)Ae.close();je.clear(),D.delete(ot)};return D.add(ot),ot},dispose:F}}catch(_){throw F(),_}}const Fm=s.forwardRef(function({src:a,title:i,exitFullscreenLabel:c,onFullscreenChange:h,onWarningsChange:m,showInlineWarnings:d=!0},y){const g=s.useRef(null),[k,w]=s.useState(null),[S,v]=s.useState(),[A,N]=s.useState(""),[D,F]=s.useState([]),[Z,L]=s.useState(0);s.useEffect(()=>{const T=new AbortController;let re;return v(void 0),N(""),F([]),(async()=>{const ke=await rh();if(re=await uu(a,{fetch:(C,he)=>ke.fetch(C,he),signal:T.signal}),T.signal.aborted){re.dispose();return}v(re),F(re.errors)})().catch(ke=>{T.signal.aborted||N(ke instanceof Error?ke.message:"安全预览加载失败")}),()=>{T.abort(),re?.dispose()}},[a,Z]),s.useEffect(()=>{if(!(!S||!k))return S.attach(k,T=>F(re=>re.includes(T)?re:[...re,T].slice(-20)),()=>{document.activeElement===k&&(document.fullscreenElement===g.current?document.exitFullscreen():document.dispatchEvent(new KeyboardEvent("keydown",{key:"Escape",bubbles:!0})))})},[S,k]);const[q,le]=s.useState(!1),[Y,me]=s.useState(!1),o=q||Y;s.useEffect(()=>{m?.(D)},[D,m]),s.useEffect(()=>{h?.(o)},[o,h]),s.useEffect(()=>{const T=()=>{le(document.fullscreenElement===g.current)};return document.addEventListener("fullscreenchange",T),()=>document.removeEventListener("fullscreenchange",T)},[]),s.useLayoutEffect(()=>{const T=g.current;if(!(!Y||!T?.showPopover)){T.setAttribute("popover","manual");try{T.showPopover()}catch{T.removeAttribute("popover");return}return()=>{T.hidePopover(),T.removeAttribute("popover")}}},[Y]),Xd(g,Y,()=>me(!1));const K=s.useCallback(async()=>{const T=g.current;if(T){if(Y){me(!1);return}if(document.fullscreenElement===T){await document.exitFullscreen();return}if(T.requestFullscreen&&document.fullscreenEnabled!==!1)try{await T.requestFullscreen();return}catch{}me(!0)}},[Y]);return s.useImperativeHandle(y,()=>({toggleFullscreen:K}),[K]),t.jsxs("div",{ref:g,"data-html-preview-frame":!0,className:o?"fixed inset-0 z-modal-panel m-0 flex h-full max-h-none min-h-0 w-full max-w-none flex-col overflow-hidden border-0 bg-surface p-0 preview-safe-area text-foreground":"flex h-full min-h-0 flex-col overflow-hidden bg-surface",children:[o&&t.jsxs("div",{className:"relative z-20 flex h-12 shrink-0 items-center justify-between gap-2 border-b border-border/15 bg-[var(--chrome-bg)] px-2 sm:h-10",children:[t.jsx("span",{className:"min-w-0 truncate text-[12px] font-semibold",children:i}),t.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[!d&&D.length>0&&t.jsxs("details",{children:[t.jsx("summary",{"aria-label":"预览提示",title:"预览提示",className:"flex h-11 w-11 cursor-pointer list-none items-center justify-center rounded-lg text-[color:var(--warning)] hover:bg-surface-2 sm:h-8 sm:w-8 [&::-webkit-details-marker]:hidden",children:t.jsx(sl,{size:15})}),t.jsx("ul",{className:"absolute right-2 top-full z-30 mt-1 max-h-[50dvh] w-72 max-w-[calc(100vw-2rem)] space-y-2 overflow-auto break-words rounded-xl border border-border bg-surface-elevated p-3 text-xs text-muted-foreground shadow-xl",children:D.map(T=>t.jsx("li",{children:T},T))})]}),t.jsx("button",{type:"button",onClick:()=>{K()},"aria-label":c,title:`${c} (Esc)`,className:"inline-flex h-11 w-11 shrink-0 items-center justify-center rounded-lg text-muted-foreground transition hover:bg-surface-2 hover:text-foreground sm:h-8 sm:w-8",children:t.jsx(su,{size:15})})]})]}),d&&D.length>0&&t.jsxs("details",{className:"shrink-0 border-b border-border px-3 text-xs text-muted-foreground",children:[t.jsx("summary",{className:"cursor-pointer py-2",children:"部分内容未能显示 · 查看原因"}),t.jsx("ul",{className:"max-h-24 list-disc space-y-1 overflow-auto break-words pb-2 pl-4",children:D.map(T=>t.jsx("li",{children:T},T))})]}),A&&t.jsxs("div",{role:"alert",className:"flex min-h-0 flex-1 flex-col items-center justify-center gap-3 p-4 text-center text-sm",children:[t.jsx("p",{className:"font-medium",children:"HTML 未能打开"}),t.jsx("p",{className:"max-w-lg break-words text-xs text-muted-foreground",children:A}),t.jsx("button",{type:"button",className:"min-h-11 rounded-xl bg-surface-2 px-4 hover:bg-surface-elevated",onClick:()=>L(T=>T+1),children:"重新加载"})]}),!S&&!A&&t.jsx("div",{role:"status",className:"flex flex-1 items-center justify-center p-3 text-sm text-muted-foreground",children:"正在加载 HTML…"}),S&&t.jsx("iframe",{ref:w,src:S?.shellUrl,referrerPolicy:"no-referrer",title:i,sandbox:"allow-scripts",className:"block min-h-0 w-full flex-1 border-0 bg-white"})]})});function Dm({name:r,path:a,sizeLabel:i,isMobile:c,back:h,view:m,fullscreen:d,reference:y,search:g,searchPanel:k,warnings:w,copied:S,copyError:v,onCopy:A,onRefresh:N,onClose:D,download:F}){const[Z,L]=s.useState(!1),q=s.useRef(null),le=s.useRef(null),Y=s.useRef(null),me=s.useId();Xd(le,Z,()=>L(!1),()=>Y.current),s.useEffect(()=>{if(!Z)return;const te=T=>{T.target instanceof Node&&!q.current?.contains(T.target)&&L(!1)};return document.addEventListener("pointerdown",te,!0),()=>document.removeEventListener("pointerdown",te,!0)},[Z]),s.useEffect(()=>{L(!1)},[a]);const o=`inline-flex shrink-0 items-center justify-center gap-1 rounded-lg text-xs text-muted-foreground transition hover:bg-surface-2 hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring ${c?"h-11 min-w-11":"h-8 min-w-8"}`,K="flex min-h-11 w-full items-center gap-3 rounded-lg px-3 text-left text-sm text-foreground hover:bg-surface-2 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-40";return t.jsxs("div",{"data-file-preview-toolbar":!0,className:"relative z-20 shrink-0 border-b border-border/30 bg-surface",children:[t.jsxs("div",{className:`flex items-center gap-1 px-2 ${c?"h-12":"h-10"}`,children:[h&&t.jsx("button",{type:"button",className:o,onClick:h.go,title:h.label,"aria-label":h.label,children:t.jsx(ma,{size:16})}),t.jsx("span",{className:"min-w-0 flex-1 truncate pr-2 text-[13px] font-medium",title:a,children:r}),!c&&g&&t.jsx("button",{type:"button",className:o,title:g.label,"aria-label":g.label,onClick:g.toggle,children:t.jsx(on,{size:15})}),m&&t.jsx("button",{type:"button",className:`${o} px-2`,onClick:m.toggle,title:m.label,"aria-label":m.label,children:m.label}),d&&t.jsx("button",{type:"button",className:o,onClick:d.toggle,title:d.label,"aria-label":d.label,children:t.jsx(al,{size:16})}),y&&t.jsx("button",{type:"button",className:`${o} text-primary`,title:y.label,"aria-label":y.label,onClick:te=>y.insert(te.currentTarget),children:t.jsx(ba,{size:16})}),t.jsxs("div",{ref:q,className:"shrink-0",children:[t.jsxs("button",{ref:Y,type:"button",className:`${o} relative`,"aria-label":"更多文件操作",title:w.length?"更多文件操作 · 有预览提示":"更多文件操作","aria-expanded":Z,"aria-controls":Z?me:void 0,onClick:()=>L(te=>!te),children:[F.status==="pending"?t.jsx(zi,{size:16,className:"animate-pulse"}):t.jsx(ha,{size:18}),w.length>0&&t.jsx("span",{"aria-label":"有预览提示",className:"absolute right-1 top-1 h-1.5 w-1.5 rounded-full bg-[var(--warning)]"})]}),Z&&t.jsxs("div",{ref:le,id:me,role:"dialog","aria-label":"文件信息与操作",tabIndex:-1,className:"absolute right-2 top-full z-30 mt-1 max-h-[min(24rem,60dvh)] w-72 max-w-[calc(100vw-2rem)] overflow-y-auto overscroll-contain rounded-xl border border-border bg-surface p-1.5 shadow-xl",children:[t.jsxs("div",{className:"border-b border-border/40 px-3 pb-3 pt-2",children:[t.jsx("p",{className:"text-xs font-medium text-foreground",children:"文件信息"}),t.jsx("p",{className:"mt-1 break-all text-[11px] text-muted-foreground",children:a}),i&&t.jsx("p",{className:"mt-1 text-[11px] text-muted-foreground",children:i})]}),w.length>0&&t.jsxs("div",{className:"border-b border-border/40 px-3 py-3",children:[t.jsxs("p",{className:"flex items-center gap-2 text-xs text-[color:var(--warning)]",children:[t.jsx(sl,{size:13}),"预览提示"]}),t.jsx("ul",{className:"mt-2 space-y-2 break-words text-[11px] text-muted-foreground",children:w.map(te=>t.jsx("li",{children:te},te))})]}),c&&g&&t.jsxs("button",{type:"button",className:K,onClick:()=>{L(!1),g.toggle()},children:[t.jsx(on,{size:16}),g.label]}),t.jsxs("button",{type:"button",className:K,onClick:A,children:[S?t.jsx(Es,{size:16}):t.jsx(Jd,{size:16}),S?"已复制文件引用":"复制文件引用"]}),v&&t.jsx("p",{role:"alert",className:"px-3 pb-2 text-xs text-destructive",children:v}),t.jsxs("button",{type:"button",className:K,disabled:F.disabled&&F.status!=="pending",onClick:F.status==="pending"?F.cancel:F.start,children:[t.jsx(zi,{size:16}),F.status==="pending"?"取消下载":"下载文件"]}),t.jsx(Qd,{status:F.status,error:F.error,className:"px-3 pb-2 text-xs"}),t.jsxs("button",{type:"button",className:K,onClick:()=>{L(!1),N()},children:[t.jsx(bo,{size:16}),"重新加载文件"]})]})]}),t.jsx("button",{type:"button",className:o,onClick:D,"aria-label":"关闭文件预览",title:"关闭文件预览 (Esc)",children:t.jsx(Vt,{size:17})})]}),k&&t.jsx("div",{className:"px-2 pb-2",children:k})]})}const fu="termdock-file-search-match",Ji="termdock-file-search-current";function Bm(r,a,i){return!!(a&&r?.isConnected&&!i.defaultPrevented&&!r.closest('[inert], [aria-hidden="true"], [hidden]')&&i.target instanceof Node&&r.contains(i.target))}function Um(r){const a=r.metaKey||r.ctrlKey,i=r.key.toLocaleLowerCase();return a&&i==="f"?"open":a&&i==="g"||r.key==="F3"?r.shiftKey?"previous":"next":r.key==="Escape"?"close":null}function _m(r){return r.parentElement?.closest("[data-markdown-preview-block-start], [data-file-preview-line]")??null}function Om(r,a){const i=a.trim().toLocaleLowerCase();if(!i)return[];const c=[];let h="",m=null;const d=document.createTreeWalker(r,NodeFilter.SHOW_TEXT);for(let w=d.nextNode();w;w=d.nextNode()){if(!(w instanceof Text)||!w.data)continue;const S=_m(w);if(!S)continue;m&&m!==S&&(h+=`
|
|
1705
|
+
`);const v=h.length;h+=w.data,c.push({node:w,start:v,end:h.length,group:S}),m=S}const y=h.toLocaleLowerCase(),g=[];let k=0;for(;k<=y.length-i.length;){const w=y.indexOf(i,k);if(w<0)break;const S=w+i.length,v=c.find(N=>N.start<=w&&N.end>w),A=c.find(N=>N.start<S&&N.end>=S);if(v&&A&&v.group===A.group){const N=document.createRange();N.setStart(v.node,w-v.start),N.setEnd(A.node,S-A.start),g.push(N)}k=w+Math.max(i.length,1)}return g}function hu(){return typeof CSS<"u"&&CSS.highlights?CSS.highlights:null}let xo;function Cd(r){return xo===r}function uo(r){if(r&&xo!==r)return;const a=hu();a?.delete(fu),a?.delete(Ji),xo=void 0}function Ti(r,a,i){const c=hu();if(!c||typeof Highlight>"u")return;xo=i,c.set(fu,new Highlight(...r));const h=r[a];h?c.set(Ji,new Highlight(h)):c.delete(Ji)}function Nd(r){r?.startContainer.parentElement?.scrollIntoView({block:"center",inline:"nearest",behavior:"smooth"})}function Hm(r){return Array.from(new Set(r.split(/[\n,]/).map(a=>a.trim().replace(/^!+/,"")).filter(Boolean))).slice(0,24)}function zm(r,a){const i=a.trim();return!i||i==="."?r:/^(?:[/\\]|[A-Za-z]:[/\\])/.test(i)?i.replace(/[\\/]+$/,""):`${r.replace(/[\\/]+$/,"")}/${i.replace(/^\.?[\\/]+/,"").replace(/[\\/]+$/,"")}`}function Wm(r,a){if(a===r)return".";const i=`${r.replace(/[\\/]+$/,"")}/`;return a.startsWith(i)?a.slice(i.length):a}function pu(r,a,i){return a?r:Bn.createPortal(r,i)}const ol="termdock:right-sidebar:file-tree-scroll:v1",il="termdock:right-sidebar:file-preview-reading-state:v1",Cs="termdock:right-sidebar:file-tree-width:v1",mu="termdock:right-sidebar:markdown-view-mode:v1",gu="termdock:right-sidebar:diff-change-list-mode:v1",bu="termdock:right-sidebar:diff-wrap:v1",xu="termdock:diff-viewer:view-type:v1",vu="termdock:right-sidebar:file-search-mode:v1",Mi="termdock:right-sidebar:collapsed-git-repo-groups:v1",Pd="termdock:right-sidebar:collapsed-diff-directories:v1",Li="termdock:right-sidebar:branch-audit-module-open:v1",yu="termdock:right-sidebar:branch-audit-module:v1",Gm=150,Ed="termdock:right-sidebar:context-draft-enabled:v1",Ad="termdock:right-sidebar:context-draft-collapsed:v1",Td="termdock:right-sidebar:context-draft-auto-collapse:v1",Ii="termdock:right-sidebar:context-draft-text:v1",qm=300,Km=20,Vm=120,Ym=250,Xm=250,Jm=120,Qm=700,$i=600,Zm=6e4;function sa(r){return!!(r&&U.getState().nestedGitScanRoots[r])}const Md=[2e3,5e3,15e3,3e4],eg=320,tg=500,rg=20,ng=12e3,Qi=300,Ld=240,sg=560,Id=s.lazy(()=>rl(()=>import("./ModelPreview-JqWADsgm.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81]))),ag=s.lazy(()=>rl(()=>import("./ArchitecturePanel-CIlGwqp0.js"),__vite__mapDeps([82,1,2,3,4,83,84,75,41,26,27,85,29,30,31,12,32,67,71,86,33,34,18,35,87,74,88])).then(r=>({default:r.ArchitecturePanel}))),og=s.lazy(()=>rl(()=>import("./ComputerControlView-BXuNQUF2.js").then(r=>r.a),__vite__mapDeps([89,1,2,3,4,90,91,45,56,66,92,47,93,94])));function wu(r,a,i){return r&&!a?"unified":i}const ig=new Set([".md",".markdown",".mdown",".mkdn",".mkd"]);function lg(r){return r==="preview"||r==="source"}function cg(r){return r==="list"||r==="tree"||r==="ai"}function $d(){return st(mu,lg)??"preview"}function dg(){return st(gu,cg)??"tree"}function da(r){return typeof r=="boolean"}function ug(r){return typeof r=="string"}function fg(){return st(bu,da)??!0}function hg(r){return r==="unified"||r==="split"}function pg(){return st(xu,hg)??"unified"}function mg(r){return r==="name"||r==="content"||r==="regex"}function gg(){return st(vu,mg)??"name"}function ku(r){return r.repositories??(r.context?.root?[{id:r.context.root,root:r.context.root,relativeRoot:".",name:mt(r.context.root)||r.context.root,depth:0,nested:!1,available:r.available,files:r.files,context:r.context,error:r.error}]:[])}function bg(r,a){if(!a)return null;const i=new Set((r.repoFilters??[]).map(c=>c.root));return i.has(a)?a:i.size>0?null:(r.repositories??[]).some(c=>c.root===a)?a:null}function Zi(r){return!r.activeGitRepoRoot&&(r.groupCount>1||r.label!==r.rootName)}function Su(...r){const a=new Set;for(const i of r)for(const c of i)a.add(c.root);return a}function el(r){return Array.isArray(r)&&r.every(a=>typeof a=="string")}function Fd(r){const a=st(r,el);return a?new Set(a):new Set}function Fi(r,a){Nt(r,[...a])}function xg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.filePath=="string"&&typeof a.hunkHeader=="string"&&typeof a.hunkIndex=="number"&&typeof a.fingerprint=="string"&&typeof a.additions=="number"&&typeof a.deletions=="number"&&typeof a.diff=="string"&&(a.oldPath===void 0||a.oldPath===null||typeof a.oldPath=="string")&&(a.newPath===void 0||a.newPath===null||typeof a.newPath=="string")&&(a.source===void 0||a.source==="committed"||a.source==="uncommitted"||a.source==="unknown")&&(a.commit===void 0||a.commit===null||typeof a.commit=="string")}function vg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.available=="boolean"&&(a.repoRoot===void 0||typeof a.repoRoot=="string")&&(a.workspaceRoot===void 0||typeof a.workspaceRoot=="string")&&(a.baseRef===void 0||typeof a.baseRef=="string")&&(a.baseBranch===void 0||typeof a.baseBranch=="string")&&(a.currentBranch===void 0||a.currentBranch===null||typeof a.currentBranch=="string")&&(a.headRef===void 0||a.headRef===null||typeof a.headRef=="string")&&(a.diffFingerprint===void 0||typeof a.diffFingerprint=="string")&&(a.stat===void 0||typeof a.stat=="string")&&(a.files===void 0||el(a.files))&&(a.hunks===void 0||Array.isArray(a.hunks)&&a.hunks.every(xg))&&(a.commits===void 0||el(a.commits))&&(a.commitCount===void 0||typeof a.commitCount=="number")&&(a.diff===void 0||typeof a.diff=="string")&&(a.truncated===void 0||typeof a.truncated=="boolean")&&(a.error===void 0||typeof a.error=="string")}function yg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.key=="string"&&vg(a.diff)&&typeof a.repoLabel=="string"&&typeof a.createdAt=="number"}function wg(r){return!r||typeof r!="object"||Array.isArray(r)?!1:Object.values(r).every(a=>{if(!a||typeof a!="object"||Array.isArray(a))return!1;const i=a;return Array.isArray(i.selectedRepoRoots)&&i.selectedRepoRoots.every(c=>typeof c=="string")&&!!i.repoTargetBranches&&typeof i.repoTargetBranches=="object"&&!Array.isArray(i.repoTargetBranches)&&Object.values(i.repoTargetBranches).every(c=>typeof c=="string")&&(i.repoBaseBranches===void 0||!!i.repoBaseBranches&&typeof i.repoBaseBranches=="object"&&!Array.isArray(i.repoBaseBranches)&&Object.values(i.repoBaseBranches).every(c=>typeof c=="string"))&&(i.previewEntries===void 0||Array.isArray(i.previewEntries)&&i.previewEntries.every(yg))&&(i.selectedPreviewKey===void 0||i.selectedPreviewKey===null||typeof i.selectedPreviewKey=="string")&&(i.selectedPreviewFileKey===void 0||i.selectedPreviewFileKey===null||typeof i.selectedPreviewFileKey=="string")&&(i.previewDetailOpen===void 0||typeof i.previewDetailOpen=="boolean")&&(i.previewScrollTops===void 0||!!i.previewScrollTops&&typeof i.previewScrollTops=="object"&&!Array.isArray(i.previewScrollTops)&&Object.values(i.previewScrollTops).every(c=>typeof c=="number"))&&(i.previewMobileSlideIndex===void 0||typeof i.previewMobileSlideIndex=="number")&&(i.repoIncludeUncommitted===void 0||!!i.repoIncludeUncommitted&&typeof i.repoIncludeUncommitted=="object"&&!Array.isArray(i.repoIncludeUncommitted)&&Object.values(i.repoIncludeUncommitted).every(c=>typeof c=="boolean"))&&(i.includeUncommitted===void 0||typeof i.includeUncommitted=="boolean")&&typeof i.updatedAt=="number"})}function Dd(){return st(yu,wg)??{}}function Bd(r){return[r.repoRoot,r.baseRef,r.branchName??"",r.headRef??"",r.diffFingerprint??""].join("\0")}function Ud(r){const a=r?.trim()??"",i=a.indexOf("/");return i>=0?a.slice(i+1):a}function ju(r,a){const i=r?.trim(),c=a?.trim();return!i||!c?!1:i===c||Ud(i)===Ud(c)}function _d(r){const a=r?.branch??null;return[r?.upstream,...r?.remoteBranches??[],...r?.branches??[]].find(c=>c&&!ju(c,a))??""}function tl(r,a){const i=Math.max(Ld,a-320),c=Math.min(sg,i);return Math.min(c,Math.max(Ld,r))}function kg(r){return typeof r=="number"&&Number.isFinite(r)}function Sg(r){return tl(st(Cs,kg)??Qi,r)}function Ru(r){const a=r.split(/[\\/]/).pop()??r,i=a.lastIndexOf(".");return i>=0?a.slice(i).toLowerCase():""}function aa(r){return ig.has(Ru(r))}function Rs({label:r,value:a,options:i,placeholder:c,searchPlaceholder:h,emptyText:m,disabled:d,onChange:y}){const{t:g}=Yt(),[k,w]=s.useState(!1),[S,v]=s.useState(""),[A,N]=s.useState(null),D=s.useRef(null),F=s.useRef(null),Z=S.trim().toLowerCase(),L=s.useMemo(()=>Z?i.filter(o=>`${o.label} ${o.meta??""}`.toLowerCase().includes(Z)):i,[Z,i]),q=i.find(o=>o.value===a),le=()=>{const o=S.trim();o&&(y(o),w(!1),v(""))},Y=s.useCallback(()=>{const o=D.current?.getBoundingClientRect();if(!o)return!1;const K=12,te=Math.max(220,Math.min(o.width,window.innerWidth-K*2)),T=Math.min(Math.max(K,o.left),window.innerWidth-te-K),re=window.innerHeight-o.bottom-K,ke=o.top-K,C=re>=180||re>=ke,he=Math.max(96,(C?re:ke)-4),_=Math.min(320,he);return N({left:T,top:C?o.bottom+4:Math.max(K,o.top-_-4),width:te,maxHeight:_}),!0},[]),me=()=>{Y(),w(!0)};return s.useEffect(()=>{if(!k)return;let o=0;const K=()=>{o||(o=window.requestAnimationFrame(()=>{o=0,Y()}))},te=T=>{const re=T.target;re instanceof Node&&(D.current?.contains(re)||F.current?.contains(re)||(w(!1),v("")))};return window.addEventListener("resize",K),window.addEventListener("scroll",K,!0),document.addEventListener("pointerdown",te,!0),()=>{o&&window.cancelAnimationFrame(o),window.removeEventListener("resize",K),window.removeEventListener("scroll",K,!0),document.removeEventListener("pointerdown",te,!0)}},[k,Y]),t.jsxs("div",{className:"relative min-w-0",children:[t.jsxs("button",{ref:D,type:"button",disabled:d,onClick:()=>{if(!d){if(v(""),k){w(!1);return}me()}},className:"group flex w-full items-center justify-between gap-2 min-h-10 rounded-md border border-transparent bg-surface-2 px-3 py-2 text-left transition hover:bg-surface-elevated focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",children:[t.jsxs("span",{className:"flex min-w-0 flex-1 items-center gap-3",children:[t.jsx("span",{className:"shrink-0 text-[11px] text-muted-foreground",children:r}),t.jsx("span",{className:`min-w-0 flex-1 truncate text-[13px] ${a?"text-foreground":"text-muted-foreground/70"}`,children:q?.label??(a||c)})]}),t.jsx(ga,{size:13,className:`shrink-0 text-muted-foreground transition group-hover:text-foreground ${k?"rotate-180":""}`})]}),k&&!d&&typeof document<"u"&&Bn.createPortal(t.jsxs("div",{ref:F,className:"fixed z-popover overflow-hidden rounded-lg border border-border/15 bg-surface shadow-lg",onClick:o=>o.stopPropagation(),style:{left:A?.left??12,top:A?.top??12,width:A?.width??260,maxHeight:A?.maxHeight??320},children:[t.jsx("div",{className:"border-b border-border/10 p-1.5",children:t.jsxs("div",{className:"flex items-center gap-1.5 rounded-md bg-surface-2 px-2 py-1.5",children:[t.jsx(on,{size:12,className:"shrink-0 text-muted-foreground"}),t.jsx("input",{autoFocus:!0,value:S,onChange:o=>v(o.target.value),onKeyDown:o=>{if(o.key==="Escape"){o.preventDefault(),w(!1),v("");return}o.key==="Enter"&&(o.preventDefault(),le())},onBlur:()=>{S.trim()&&L.length===0&&le()},placeholder:h,className:"min-w-0 flex-1 bg-transparent text-[12px] text-foreground outline-none placeholder:text-muted-foreground/70"})]})}),t.jsxs("div",{className:"overflow-y-auto p-1",style:{maxHeight:Math.max(96,(A?.maxHeight??320)-46)},children:[S.trim()&&!i.some(o=>o.value===S.trim())&&t.jsxs("button",{type:"button",onMouseDown:o=>o.preventDefault(),onClick:le,className:"mb-1 flex w-full items-center justify-between gap-2 rounded-md bg-primary/10 px-2 py-1.5 text-left text-[12px] font-medium text-primary transition hover:bg-primary/15",children:[t.jsx("span",{className:"min-w-0 truncate",children:S.trim()}),t.jsx("span",{className:"shrink-0 text-[10px] text-primary/75",children:g("common.use")})]}),L.length>0?L.map(o=>t.jsxs("button",{type:"button",onClick:()=>{y(o.value),w(!1),v("")},className:`flex w-full items-center justify-between gap-2 rounded-md px-2 py-1.5 text-left text-[12px] transition hover:bg-surface-2 ${o.value===a?"bg-accent/10 text-accent":"text-foreground"}`,children:[t.jsx("span",{className:"min-w-0 truncate font-medium",children:o.label}),o.meta&&t.jsx("span",{className:"shrink-0 text-[10px] text-muted-foreground",children:o.meta})]},o.value)):t.jsx("div",{className:"px-2 py-2 text-[11px] text-muted-foreground",children:m})]})]}),document.body)]})}function Od({open:r,onOpenChange:a,showScopePicker:i,selectedAll:c,repos:h,selectedRoots:m,onToggleRepo:d,onGenerate:y,onSecondaryAction:g,disabled:k,generateDisabled:w,secondaryDisabled:S,inserted:v,buttonLabel:A,insertedLabel:N,title:D,ariaLabel:F,scopeTitle:Z,scopeLabel:L,allLabel:q,generateLabel:le,secondaryLabel:Y,secondaryTitle:me,secondaryLoading:o,loading:K,error:te,statusTitle:T,extraContent:re,renderRepoExtra:ke,menuItem:C=!1}){return t.jsxs("div",{className:C?"relative w-full":"relative inline-flex shrink-0",children:[t.jsxs("button",{type:"button",role:C?"menuitem":void 0,tabIndex:C?-1:void 0,onClick:he=>{i?a(!r):w||y(he.currentTarget)},disabled:k,className:`relative flex items-center rounded-md transition disabled:cursor-not-allowed disabled:opacity-50 ${C?"min-h-10 w-full gap-2.5 px-2.5 text-left text-[12px] focus:bg-surface-2 focus:outline-none [@media(pointer:coarse)]:min-h-11":"h-7 shrink-0 justify-center gap-1 px-2 text-[11px] font-medium active:scale-95"} ${te?"text-destructive hover:bg-destructive/5":v?"bg-surface-elevated text-foreground":C?"text-foreground hover:bg-surface-2":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,"aria-label":F,title:T??(i?`${Z}: ${L}`:D),children:[K?t.jsx(nt,{size:C?15:13,className:"shrink-0 animate-spin"}):t.jsx(pa,{size:C?15:13,className:C?"shrink-0 text-muted-foreground":void 0}),t.jsx("span",{className:C?"min-w-0 flex-1":void 0,children:v?N:A}),i&&(C?t.jsx(Ns,{size:13,className:"shrink-0 text-muted-foreground"}):t.jsx(ga,{size:11,className:`shrink-0 transition ${r?"rotate-180":""}`})),te&&t.jsx("span",{className:"absolute right-0.5 top-0.5 size-1.5 rounded-full bg-destructive"})]}),i&&r&&typeof document<"u"&&Bn.createPortal(t.jsx("div",{className:"fixed inset-0 z-modal-backdrop bg-[var(--app-backdrop)] px-3 py-6 backdrop-blur-sm animate-fade-in",onClick:()=>a(!1),children:t.jsxs("div",{className:"fixed left-1/2 top-1/2 z-modal-panel flex max-h-[min(82vh,36rem)] w-[calc(100vw-1.5rem)] max-w-[42rem] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-xl border border-border/20 bg-surface text-[11px] shadow-2xl",onClick:he=>he.stopPropagation(),children:[t.jsxs("div",{className:"flex items-center justify-between gap-3 border-b border-border/15 px-3 py-2",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-semibold text-foreground",children:Z}),t.jsx("div",{className:"mt-0.5 truncate text-[10px] text-muted-foreground",children:L})]}),t.jsx("button",{type:"button",onClick:()=>a(!1),className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95","aria-label":"Close",children:t.jsx(Vt,{size:14})})]}),t.jsxs("div",{className:"min-h-0 flex-1 overflow-y-auto p-2",children:[re,t.jsxs("button",{type:"button",onClick:()=>d(null),className:`flex w-full items-center justify-between gap-2 rounded-md px-2 py-1.5 text-left font-medium transition ${c?"bg-primary/15 text-primary":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,children:[t.jsx("span",{className:"truncate",children:q}),c&&t.jsx("span",{className:"text-[10px]",children:"✓"})]}),h.map(he=>{const _=m.includes(he.root);return t.jsxs("div",{className:`mt-1 rounded-md transition ${_?"bg-primary/15 text-primary":""}`,children:[t.jsxs("button",{type:"button",onClick:()=>d(he.root),className:`flex w-full items-center justify-between gap-2 rounded-md px-2 py-1.5 text-left font-medium transition ${_?"text-primary":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,title:he.root,children:[t.jsxs("span",{className:"min-w-0",children:[t.jsx("span",{className:"block truncate",children:he.label}),he.branch&&t.jsx("span",{className:"block truncate text-[9px] opacity-70",children:he.branch})]}),_&&t.jsx("span",{className:"text-[10px]",children:"✓"})]}),ke&&(c||_)&&t.jsx("div",{className:"px-2 pb-2",children:ke(he)})]},he.root)})]}),t.jsxs("div",{className:`grid grid-cols-1 gap-1.5 border-t border-border/15 p-2 ${g&&Y?"sm:grid-cols-2":""}`,children:[g&&Y&&t.jsxs("button",{type:"button",onClick:()=>{S||(a(!1),g())},disabled:S,className:"flex h-7 w-full items-center justify-center gap-1 rounded-md bg-surface-2 px-2 text-[11px] font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 active:scale-95",title:me,children:[o?t.jsx(nt,{size:12,className:"animate-spin"}):t.jsx(au,{size:12}),Y]}),t.jsxs("button",{type:"button",onClick:async he=>{if(w)return;await y(he.currentTarget)!==!1&&a(!1)},disabled:w,className:"flex h-7 w-full items-center justify-center gap-1 rounded-md bg-primary/15 px-2 text-[11px] font-semibold text-primary transition hover:bg-primary/25 disabled:cursor-not-allowed disabled:opacity-50 active:scale-95",title:D,children:[t.jsx(pa,{size:12}),le]})]})]})}),document.body)]})}function jg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;for(const a of Object.values(r)){if(!a||typeof a!="object"||Array.isArray(a))return!1;const i=a;if(typeof i.top!="number"||!Number.isFinite(i.top)||typeof i.updatedAt!="number"||!Number.isFinite(i.updatedAt))return!1}return!0}function Cu(){return st(ol,jg)??{}}function Rg(r,a){const i=Cu(),c=Object.entries({...i,[r]:{top:a,updatedAt:Date.now()}}).sort(([,h],[,m])=>m.updatedAt-h.updatedAt).slice(0,Km);ua(ol,Object.fromEntries(c),Ym)}function Cg(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;const a=r;return typeof a.start=="number"&&Number.isFinite(a.start)&&typeof a.end=="number"&&Number.isFinite(a.end)&&a.start>=1&&a.end>=a.start}function Ng(r){if(!r||typeof r!="object"||Array.isArray(r))return!1;for(const a of Object.values(r)){if(!a||typeof a!="object"||Array.isArray(a))return!1;const i=a;if(typeof i.top!="number"||!Number.isFinite(i.top)||i.left!==void 0&&(typeof i.left!="number"||!Number.isFinite(i.left))||i.markdownTop!==void 0&&(typeof i.markdownTop!="number"||!Number.isFinite(i.markdownTop))||i.lineRange!==void 0&&i.lineRange!==null&&!Cg(i.lineRange)||typeof i.updatedAt!="number"||!Number.isFinite(i.updatedAt))return!1}return!0}function ll(r,a){if(!a)return null;const i=r&&!a.startsWith("/")?`${r}/${a}`:a;return r?`${r}::${i}`:i}function Nu(){return st(il,Ng)??{}}function Hd(r,a){const i=ll(r,a);return i?Nu()[i]??null:null}function Di(r,a,i){const c=ll(r,a);if(!c)return;const h=Nu(),m=h[c]??{top:0,left:0,markdownTop:0,lineRange:null,updatedAt:Date.now()},d=Object.entries({...h,[c]:{...m,...i,updatedAt:Date.now()}}).sort(([,y],[,g])=>g.updatedAt-y.updatedAt).slice(0,Vm);ua(il,Object.fromEntries(d),Xm)}function Bi({slow:r}){return t.jsx(Hh,{slow:r})}function fo({message:r,onRetry:a}){const{t:i}=Yt();return t.jsxs("div",{className:"mx-3 mt-3 overflow-hidden rounded-xl border border-destructive/20 bg-destructive/5 px-4 py-5 text-center text-sm text-destructive",children:[t.jsx("div",{className:"font-medium",children:i("rightSidebar.gitChangesLoadFailed")}),t.jsx("div",{className:"mt-1 break-words text-xs opacity-85",children:r}),t.jsx("button",{type:"button",onClick:a,className:"mt-3 rounded-full bg-destructive/10 px-3 py-1.5 text-xs font-semibold text-destructive transition hover:bg-destructive/15 active:scale-95",children:i("rightSidebar.retryGitChanges")})]})}function go(r,a){const i=a&&r.startsWith(`${a}/`)?r.slice(a.length+1):r,c=i.split("/").filter(Boolean);return{name:c.pop()||i,dir:c.join("/")}}function mt(r){if(!r)return"";const a=r.replace(/\/+$/,"");return a.split("/").pop()||a||"/"}function ho(r){if(!r)return null;const a=Kd(r);return a==="/"?null:Fh(a)}function Pg(r,a,i){return qi(r,a,i)}function Pu(r){const a=new Map;for(const i of r)a.set(cl(i),i);return a}function Eu(r,a){const i=new Map(r);for(const c of a)i.set(cl(c),c);return i}function zd(r,a){let i=0;for(const c of r){const h=it(c,a);h&&a&&h!==a&&(i+=1)}return i}function Eg(r){return r.reduce((a,i)=>a+(i.staged?1:0),0)}function Ag(r,a){return Array.from(Eu(Pu(r),a).values()).sort((i,c)=>i.path.localeCompare(c.path))}function Tg(r,a){const i=r.relativeRoot==="."?mt(a??r.root)||r.name||r.root:r.relativeRoot||r.name||mt(r.root)||r.root;return{root:r.root,label:i,branch:r.context?.branch??null,count:r.files.length,staged:Eg(r.files)}}function Au(r,a){const i=mt(a??"")||a||"";return r.map(c=>Tg(c,a)).sort((c,h)=>i&&c.label===i?-1:i&&h.label===i?1:c.label.localeCompare(h.label))}function Tu(r,a,i,c,h){const m=ku(i),d=m.find(D=>D.root===c)??m[0]??null,y=a.find(D=>D.root===c)??null,g=y?.relativeRoot??d?.relativeRoot??".",k=y?.name??d?.name??(mt(c)||c),w=(d?.files??i.files).map(D=>({...D,repoRoot:c,repoRelativeRoot:g,repoName:k})),S=d?.context??i.context,v={...y??d??{id:c,root:c,relativeRoot:g,name:k,depth:0,nested:!!(h&&c!==h),available:i.available,files:[],context:null},...d??{},id:y?.id??d?.id??c,root:c,displayRoot:y?.displayRoot??d?.displayRoot,relativeRoot:g,name:k,depth:y?.depth??d?.depth??0,nested:y?.nested??d?.nested??!!(h&&c!==h),available:d?.available??i.available,deferred:d?.deferred??!1,files:w,context:S?{...S,root:c,changedFiles:w.map(D=>({path:D.path,absolutePath:D.absolutePath,status:D.status}))}:null,untrackedDeferred:d?.untrackedDeferred??i.untrackedDeferred,error:d?.error??i.error},A=y?a.map(D=>D.root===c?v:D):[...a,v];return{files:Array.from(r).filter(D=>it(D,h)!==c).concat(w),repositories:A,repoFilters:Au(A,h)}}function it(r,a){return r.repoRoot??a}function cl(r){return`${r.repoRoot??""}\0${r.path}`}function Nr(r){return r.absolutePath||r.path}function Ui(r){return cl(r)}function Mg(r){return r.repoRelativeRoot&&r.repoRelativeRoot!=="."?r.repoRelativeRoot:r.repoName??""}function Wd(r){return r.reduce((a,i)=>a+(i.staged?1:0),0)}function Gd(r){const a={added:0,modified:0,deleted:0,renamed:0,copied:0,untracked:0,conflicted:0,staged:0,other:0};for(const i of r)i.status==="added"?a.added+=1:i.status==="modified"?a.modified+=1:i.status==="deleted"?a.deleted+=1:i.status==="renamed"?a.renamed+=1:i.status==="copied"?a.copied+=1:i.status==="untracked"?a.untracked+=1:i.status==="conflicted"?a.conflicted+=1:a.other+=1,i.staged&&(a.staged+=1);return a}function oa(r){let a=0;const i=r??"root";for(let c=0;c<i.length;c+=1)a=Math.imul(a^i.charCodeAt(c),16777619);return`right-sidebar-git-bundle:${(a>>>0).toString(36)}`}function ia(r,a){return typeof r!="number"||!Number.isFinite(r)||r<=0?null:new Intl.DateTimeFormat(a==="zh"?"zh-CN":"en",{month:"short",day:"numeric",hour:"2-digit",minute:"2-digit"}).format(new Date(r))}function Pr(r){return r instanceof DOMException&&r.name==="AbortError"}function Lg(r){const a=r.error??r.context?.error??"";return a.includes("request was cancelled")||a.includes("IO_REQUEST_CANCELLED")}function qd(r){return r?.available===!1&&r.code==="NOT_GIT_REPOSITORY"}function Ig({actions:r,running:a,completed:i}){const{t:c}=Yt(),[h,m]=s.useState(!1),d=s.useRef(null),y=r.find(k=>a?.action===k.key),g=r.find(k=>i?.action===k.key);return r.length===0?null:(s.useEffect(()=>{if(!h)return;const k=S=>{const v=S.target;v instanceof Node&&d.current?.contains(v)||m(!1)},w=S=>{S.key==="Escape"&&m(!1)};return document.addEventListener("pointerdown",k),document.addEventListener("keydown",w),()=>{document.removeEventListener("pointerdown",k),document.removeEventListener("keydown",w)}},[h]),t.jsxs("div",{ref:d,className:"relative shrink-0",children:[t.jsx("button",{type:"button",onClick:k=>{k.stopPropagation(),m(w=>!w)},disabled:r.every(k=>k.disabled)&&!a&&!i,className:`inline-flex h-6 min-w-6 shrink-0 items-center justify-center rounded-md transition active:scale-95 disabled:opacity-50 ${h?"bg-surface-elevated text-foreground":g?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,title:y?.label??g?.label??c("rightSidebar.gitQuickActions"),children:y?t.jsx(nt,{size:13,className:"animate-spin"}):g?t.jsx("span",{className:"text-[12px] font-semibold",children:"✓"}):t.jsx(ha,{size:14})}),h&&t.jsx("div",{className:"absolute right-0 top-[calc(100%+2px)] z-30 w-44 overflow-hidden rounded-xl border border-border/15 bg-surface/98 p-1 text-[12px] shadow-xl shadow-[0_18px_48px_var(--app-shadow-soft)] backdrop-blur animate-fade-in",children:r.map(k=>{const w=a?.action===k.key,S=i?.action===k.key;return t.jsxs("button",{type:"button",onClick:v=>{v.stopPropagation(),k.onClick(),m(!1)},disabled:k.disabled||!!a,className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-1.5 text-left font-medium transition active:scale-[0.99] disabled:opacity-50 ${S?"bg-accent/10 text-accent":k.destructive?"text-destructive hover:bg-destructive/10":"text-foreground hover:bg-surface-2"}`,children:[t.jsx("span",{className:"flex h-4 w-4 shrink-0 items-center justify-center",children:w?t.jsx(nt,{size:13,className:"animate-spin"}):S?"✓":null}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:k.label})]},k.key)})})]}))}function $g(r){const a=window.getComputedStyle(r).overflowY;return(a==="auto"||a==="scroll")&&r.scrollHeight>r.clientHeight+1}function Mu(r){let a=r;for(;a;){if(a.classList.contains("termdock-diff-stream-scroller")&&$g(a))return a;a=a.parentElement}return r.closest(".termdock-diff-stream-scroller")}function Ps(r){return r.getClientRects().length>0&&window.getComputedStyle(r).visibility!=="hidden"}const _i=new WeakMap;function vo(r){const a=_i.get(r);a!==void 0&&window.clearTimeout(a),r.classList.remove("diff-walkthrough-target"),r.offsetWidth,r.classList.add("diff-walkthrough-target");const i=window.setTimeout(()=>{r.classList.remove("diff-walkthrough-target"),_i.delete(r)},1700);_i.set(r,i)}function Fg(r){const a=CSS.escape(r),i=[`[data-diff-stream-item="${a}"]`,`[data-diff-selection-path="${a}"]`,`[data-diff-absolute-path="${a}"]`].join(","),c=Array.from(document.querySelectorAll(".termdock-diff-stream-scroller"));let h=null;for(const y of c){if(!Ps(y))continue;const g=y.querySelector(i);if(g&&Ps(g)){h=g;break}}if(h??=Array.from(document.querySelectorAll(i)).find(Ps)??null,!h)return;const m=Mu(h);if(!m){h.scrollIntoView({block:"start",behavior:"smooth"}),vo(h);return}const d=h.getBoundingClientRect().top-m.getBoundingClientRect().top+m.scrollTop;m.scrollTo({top:Math.max(0,d),behavior:"instant"}),vo(h)}function Dn(r){const a=CSS.escape(r.filePath),i=typeof r.sectionIndex=="number"?String(r.sectionIndex):null,c=typeof r.hunkIndex=="number"?String(r.hunkIndex):null,h=r.sectionFingerprint?CSS.escape(r.sectionFingerprint):null,m=r.hunkFingerprint?CSS.escape(r.hunkFingerprint):null,d=[i!==null&&h?`[data-diff-section-audit="${a}"][data-diff-section-index="${i}"][data-diff-section-fingerprint="${h}"]`:null,i!==null&&h?`[data-diff-section-anchor="${a}"][data-diff-section-index="${i}"][data-diff-section-fingerprint="${h}"]`:null,i!==null?`[data-diff-section-audit="${a}"][data-diff-section-index="${i}"]`:null,i!==null?`[data-diff-section-anchor="${a}"][data-diff-section-index="${i}"]`:null,c!==null&&m?`[data-diff-hunk-anchor="${a}"][data-diff-hunk-index="${c}"][data-diff-hunk-fingerprint="${m}"]`:null,c!==null?`[data-diff-hunk-anchor="${a}"][data-diff-hunk-index="${c}"]`:null,`[data-diff-file-path="${a}"]`].filter(N=>!!N),y=Array.from(document.querySelectorAll(".termdock-diff-stream-scroller"));let g=null;for(const N of y)if(Ps(N)){for(const D of d){const F=N.querySelector(D);if(F&&Ps(F)){g=F;break}}if(g)break}if(g??=d.flatMap(N=>Array.from(document.querySelectorAll(N))).find(Ps)??null,!g){Fg(r.filePath);return}const k=Mu(g);if(!k){g.scrollIntoView({block:"center",behavior:"smooth"}),vo(g);return}const w=g.getBoundingClientRect(),S=k.getBoundingClientRect(),A=w.top-S.top+k.scrollTop-Math.max(24,(k.clientHeight-w.height)/2);k.scrollTo({top:Math.max(0,A),behavior:"instant"}),vo(g)}let Dg=0,Bg=0,Ug=0,_g=0,Og=0;function Qe(r,a={}){if(typeof window>"u")return;const i=JSON.stringify({level:r==="error"||r==="empty_bundle"?"warn":"info",message:`GIT_BUNDLE ${r}`,data:{seq:++Bg,ts:Date.now(),...a}});fetch("/api/client-log",{method:"POST",headers:{"Content-Type":"application/json"},body:i,keepalive:!0}).catch(()=>{})}function la(r,a={}){if(typeof window>"u")return;const i=JSON.stringify({level:"info",message:`DIFF_INTERACTION ${r}`,data:{seq:++_g,ts:Date.now(),...a}});fetch("/api/client-log",{method:"POST",headers:{"Content-Type":"application/json"},body:i,keepalive:!0}).catch(()=>{})}function Hg(){return`diff-ui-${Date.now().toString(36)}-${(++Og).toString(36)}`}function zg(r){return r instanceof Element?r.closest("[data-diff-selection-path]"):null}function Wg(r){const a=r.target instanceof HTMLElement?r.target:null;return{eventType:r.type,button:r.button,pointerType:r instanceof globalThis.PointerEvent?r.pointerType:void 0,targetTag:a?.tagName,targetClass:a?.className,targetText:a?.textContent?.slice(0,80)}}function yo({presentation:r="sidebar",canInsertReference:a=!0,rootPath:i,onFileSelect:c,initialMarkdownFragment:h=null,onReviewReference:m,filePath:d,active:y=!0,onInsertReference:g,onInsertText:k,onInsertFeature:w,onReferenceCopied:S,onClose:v,onDirectoryLinkOpen:A,isMobile:N,markdownOutlineOpen:D,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q,markdownImageLightboxCloseSignal:le,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:me,lineRange:o,onLineRangeChange:K,insertedReferenceKey:te,copiedReferenceKey:T,scrollToLine:re,onScrollToLineHandled:ke}){const{t:C}=Yt(),he=s.useRef(null),_=s.useRef({}),ae=s.useRef(y);ae.current=y,s.useEffect(()=>{y||he.current?.querySelectorAll("video").forEach(R=>R.pause())},[y]);const oe=U(R=>R.rootPath),E=U(R=>R.selectFile),P=i===void 0?oe:i,J=c??E,[j,ue]=s.useState({kind:"idle"}),[ge,$]=s.useState("schematic"),[ve,Se]=s.useState(null),je=s.useRef(null),[at,ot]=s.useState(null),Ae=s.useRef(new Map),I=s.useRef(null),[ce,Re]=s.useState(null),[X,vt]=s.useState(()=>$d()),[Ce,hr]=s.useState(()=>r==="dialog"?"preview":jd(P,d)),_e=s.useRef(null),[Er,be]=s.useState(!1),[Xt,zr]=s.useState([]),[Jt,Ye]=s.useState(null),[Un,W]=s.useState(0),[Oe,lt]=s.useState([]),[Pt,He]=s.useState(h),Wr=s.useRef(null),_n=s.useRef(d),[Qt,Zt]=s.useState(null),yt=nh(P&&d&&!d.startsWith("/")?`${P}/${d}`:d,y),[Xe,pr]=s.useState(!1),[Ar,As]=s.useState(""),[et,er]=s.useState([]),[tr,$t]=s.useState(0),On=s.useRef(null),ln=Zd(S),[Ts,cn]=s.useState(""),Gr=r==="dialog",ct=ll(P,d);s.useEffect(()=>{if(_n.current===d)return;_n.current=d,zr([]),cn("");const R=d&&P&&!d.startsWith("/")?`${P}/${d}`:d;if(Wr.current===R){Wr.current=null;return}Wr.current=null,lt([]),He(null),pr(!1),As("")},[d,P]);const mr=d?P&&!d.startsWith("/")?`${P}/${d}`:d:null,rr=U(R=>mr?(R.fileChangeVersions.get(mr)??0)+R.fileWatchEpoch:R.fileWatchEpoch),dn=s.useRef(null),Hn=s.useRef(null),[zn,ko]=s.useState(0),nr=s.useCallback(()=>ko(R=>R+1),[]);s.useEffect(()=>{const R=je.current;return je.current=null,Se(null),R&&URL.revokeObjectURL(R.objectUrl),()=>{const M=je.current;je.current=null,M&&URL.revokeObjectURL(M.objectUrl)}},[mr,rr,zn]),s.useEffect(()=>{if(!d){dn.current=null,ue({kind:"idle"});return}const R=P&&!d.startsWith("/")?`${P}/${d}`:d,M=new AbortController,ie=++Dg,pe=`right-sidebar-file-preview:${ie}`,qe=performance.now();let Ee=!1;const Me=(H,Ie={})=>{Ee||(Ee=!0,Pi("end",{loadingId:ie,reason:H,durationMs:Math.round(performance.now()-qe),filePath:d,fullPath:R,rootPath:P,...Ie}))};let Le=null;const We=sh(R),ft=We?R.toLowerCase().endsWith(".kicad_pcb")?ge==="schematic"?"pcb-front":ge:"schematic":ge,or=!We&&ah(R),$r=!We&&!or&&oh(R),Fr=!We&&!or&&!$r&&ih(R),Ds=aa(R),en=na(R),gt=We?"eda":or?"image":$r?"model3d":Fr?"video":"text",_t=dn.current!==R;if(dn.current=R,_t){Pi("start",{loadingId:ie,filePath:d,fullPath:R,rootPath:P,mode:gt,externalVersion:rr}),ue({kind:"loading",mode:gt}),Hn.current=null;const H=Hd(P,d);K(H?.lineRange??null),vt(Ds?$d():"source"),hr(en?r==="dialog"?"preview":jd(P,d):"source"),We&&$(lh(R))}_t||ue(H=>H.kind==="error"?{kind:"loading",mode:gt}:H);const va=window.setTimeout(()=>{Ee||M.signal.aborted||Pi("still_active",{loadingId:ie,filePath:d,fullPath:R,rootPath:P,mode:gt,durationMs:Math.round(performance.now()-qe),isPathChange:_t})},3e3),jo=window.setTimeout(()=>{if(Ee||M.signal.aborted)return;const H=We?C("rightSidebar.edaTimeout"):$r?C("rightSidebar.model3dTimeout"):"File preview timed out. Try the file again or refresh the directory.";M.abort(new DOMException(H,"TimeoutError")),ue({kind:"error",message:H}),Me("stuck_timeout",{error:H})},We?ch+5e3:$r?dh+5e3:uh(R)?35e3:ng);if(We){const H=ft==="pcb-3d"?je.current:null;H?(ue(H),Me("eda_3d_client_cache_hit",{bytes:H.meta.size,view:H.view,mimeType:H.meta.mimeType})):fh(R,ft,M.signal,"view_file",pe).then(Ie=>{if(M.signal.aborted)return;Le=URL.createObjectURL(Ie.blob);const vr={kind:"eda",sourcePath:Ie.path||R,objectUrl:Le,view:Ie.view,meta:{size:Ie.size,mimeType:Ie.mimeType,modified:Ie.modified}};if(Ie.view==="pcb-3d"){const pn=je.current;pn&&pn.objectUrl!==Le&&URL.revokeObjectURL(pn.objectUrl),je.current=vr,Se(vr),Le=null}ue(vr),Me("eda_loaded",{bytes:Ie.size,view:Ie.view,mimeType:Ie.mimeType})}).catch(Ie=>{M.signal.aborted||(ue({kind:"error",message:Ie instanceof Error&&/timed out/i.test(Ie.message)?C("rightSidebar.edaTimeout"):Ie instanceof Error?Ie.message:C("rightSidebar.edaLoadFailed")}),Me("error",{error:Ie instanceof Error?Ie.message:String(Ie)}))})}else if(or)hh(R,M.signal,"view_file",pe).then(H=>{Le=URL.createObjectURL(H.blob),ue({kind:"image",objectUrl:Le,meta:{size:H.size,mimeType:H.mimeType,modified:H.modified}}),Me("image_loaded",{bytes:H.size,mimeType:H.mimeType})}).catch(H=>{M.signal.aborted||(ue({kind:"error",message:H instanceof Error?H.message:C("rightSidebar.imageLoadFailed")}),Me("error",{error:H instanceof Error?H.message:String(H)}))});else if($r)ph(R,M.signal,"view_file",pe).then(H=>{M.signal.aborted||(Le=URL.createObjectURL(H.blob),ue({kind:"model3d",sourcePath:H.path||R,objectUrl:Le,ext:H.ext,meta:{size:H.size,mimeType:H.mimeType,modified:H.modified}}),Me("model3d_loaded",{bytes:H.size,ext:H.ext}))}).catch(H=>{M.signal.aborted||(ue({kind:"error",message:H instanceof Error&&(H.name==="TimeoutError"||/timed out/i.test(H.message))?C("rightSidebar.model3dTimeout"):H instanceof Error?H.message:C("rightSidebar.model3dLoadFailed")}),Me("error",{error:H instanceof Error?H.message:String(H)}))});else if(Fr){const H=mh(R)??"",Ie=Lh(R);ue(vr=>vr.kind==="video"&&vr.url===Ie?vr:{kind:"video",url:Ie,meta:{size:null,mimeType:H,modified:null}}),Me("video_ready",{mimeType:H})}else ed(R,M.signal,"view_file",pe).then(H=>{if(!M.signal.aborted){if(H.binary){ue({kind:"binary"});return}ue({kind:"text",content:H.content,sourcePath:H.path||R,meta:{size:H.size,truncated:H.truncated}}),Me("text_loaded",{bytes:H.size,truncated:!!H.truncated})}}).catch(H=>{M.signal.aborted||(ue({kind:"error",message:H instanceof Error?H.message:"Failed to read file"}),Me("error",{error:H instanceof Error?H.message:String(H)}))});return()=>{M.abort(),xt(pe),window.clearTimeout(va),window.clearTimeout(jo),Le&&URL.revokeObjectURL(Le),Me("cleanup")}},[d,P,rr,zn,K,C,ge,r]),s.useEffect(()=>{if(j.kind!=="model3d"||!d){ot(null);return}let R=!1;const M=d.lastIndexOf("/"),ie=M>=0?d.slice(M+1):d,pe=M>=0?d.slice(0,M):"",qe=pe.lastIndexOf("/"),Ee=qe>=0?pe.slice(0,qe):"",Me=ie.replace(/\.(stl|glb|gltf)$/i,""),Le=`${Ee?`${Ee}/`:""}features/${Me}.json`;return ed(Le).then(We=>{if(!R)try{const ft=JSON.parse(We.content);ot(ft.version===1&&Array.isArray(ft.features)&&ft.features.length>0?ft.features:null)}catch{ot(null)}}).catch(()=>{R||ot(null)}),()=>{R=!0}},[j,d]),s.useEffect(()=>{if(j.kind!=="text"){Zt(null);return}const R=P&&d&&!d.startsWith("/")?`${P}/${d}`:d,M=Jh(R),ie=j.content,pe=aa(R??"")&&X==="preview",qe=na(R??"")&&Ce==="preview";if(!M||pe||qe||!Qh(ie)){Zt(null);return}let Ee=!1;const Me=Le=>{if(Ee||!Le.registered(M)){Ee||Zt(null);return}try{Zt(ep(Le,ie,M))}catch{Zt(null)}};return Jt?Me(Jt):(Zt(null),Zh().then(Le=>{Ee||(Ye(Le),Me(Le))}).catch(()=>{})),()=>{Ee=!0}},[j,Jt,d,P,X,Ce]),s.useLayoutEffect(()=>{if(!ct||j.kind!=="text")return;const R=`${ct}:${X}:${Ce}`;if(Hn.current===R)return;const M=Hd(P,d);if(Hn.current=R,!M)return;const ie=requestAnimationFrame(()=>{const pe=I.current;if(!pe)return;const qe=X==="preview"?M.markdownTop??M.top:M.top;pe.scrollTo({top:Math.max(0,qe??0),left:Math.max(0,M.left??0)}),W(X==="preview"?Math.max(0,qe??0):0)});return()=>cancelAnimationFrame(ie)},[d,X,Ce,j.kind,ct,P]),s.useEffect(()=>{ct&&Di(P,d,{lineRange:o})},[d,o,ct,P]),s.useEffect(()=>{if(re==null||j.kind!=="text")return;Re(null),K({start:re,end:re});const R=re,M=requestAnimationFrame(()=>{const ie=Ae.current.get(R);ie&&ie.scrollIntoView({block:"center"}),ke?.()});return()=>cancelAnimationFrame(M)},[re,j,K,ke]);const Ms=s.useCallback(R=>{const M=I.current;if(!M)return!1;const ie=typeof CSS<"u"&&typeof CSS.escape=="function"?CSS.escape(R):R.replace(/[^a-zA-Z0-9_-]/g,"\\$&"),pe=M.querySelector(`#${ie}`);return pe?(pe.scrollIntoView({block:"start"}),!0):!1},[]);s.useEffect(()=>{const R=P&&d&&!d.startsWith("/")?`${P}/${d}`:d,M=j.kind==="text"&&aa(R??"")&&X==="preview";if(!Pt||!M)return;const ie=requestAnimationFrame(()=>{Ms(Pt)&&He(null)});return()=>cancelAnimationFrame(ie)},[d,Ms,X,Pt,j,P]),s.useLayoutEffect(()=>{const R=I.current;if(!R||!o){Re(null);return}if(ce)return;const M=j.kind==="image"||j.kind==="loading"&&j.mode==="image",ie=P&&d&&!d.startsWith("/")?`${P}/${d}`:d,pe=j.kind==="text"&&aa(ie??"")&&X==="preview",qe=j.kind==="text"&&na(ie??"")&&Ce==="preview";if(j.kind!=="text"||M||pe||qe){Re(null);return}const Ee=()=>{const Le=Ae.current.get(o.end);if(!Le||!R){Re(null);return}const We=Le.offsetTop+Le.offsetHeight/2,ft=R.scrollLeft+Math.max(8,R.clientWidth-120);Re({top:We,left:ft})};Ee();const Me=new ResizeObserver(()=>Ee());return Me.observe(R),()=>Me.disconnect()},[o,ce,j,X,Ce,d,P,Qt]);const tt=j.kind==="text"&&!(na(mr??"")&&Ce==="preview")&&!mr?.toLowerCase().endsWith(".csv")&&!mr?.toLowerCase().endsWith(".kicad_pro")&&!mr?.toLowerCase().endsWith(".kicad_prl"),un=s.useCallback(()=>{pr(!1),As(""),er([]),$t(0),uo(_.current)},[]),sr=s.useCallback(()=>{!y||!tt||(pr(!0),requestAnimationFrame(()=>{const R=he.current;!ae.current||!R?.isConnected||R.closest('[inert], [aria-hidden="true"], [hidden]')||R.getClientRects().length===0||getComputedStyle(R).visibility==="hidden"||!R.contains(document.activeElement)||(On.current?.focus(),On.current?.select())}))},[y,tt]),fn=s.useCallback(R=>{$t(M=>et.length===0?0:(M+R+et.length)%et.length)},[et.length]),Wn=s.useCallback(R=>{if(R.nativeEvent.isComposing||!Bm(he.current,y,R))return;const M=Um(R);if(M==="open"&&tt){R.preventDefault(),sr();return}Xe&&(M==="close"?(R.preventDefault(),un()):(M==="next"||M==="previous")&&(R.preventDefault(),fn(M==="previous"?-1:1)))},[y,un,Xe,fn,sr,tt]);if(s.useLayoutEffect(()=>{if(uo(_.current),!y||!Xe||!Ar.trim()||!I.current){er([]),$t(0);return}const R=Om(I.current,Ar);return er(R),$t(0),(he.current?.contains(document.activeElement)||Cd(_.current))&&(Ti(R,0,_.current),Nd(R[0])),()=>uo(_.current)},[y,Xe,Ar,Qt,X,j]),s.useEffect(()=>{!y||!Xe||!Ar.trim()||!he.current?.contains(document.activeElement)&&!Cd(_.current)||(Ti(et,tr,_.current),Nd(et[tr]))},[y,tr,et,Xe,Ar]),s.useEffect(()=>()=>uo(_.current),[]),!d)return t.jsx("div",{className:"mx-3 mt-3 overflow-hidden rounded-xl border border-border/15 bg-surface-2 px-4 py-8 text-center text-sm text-muted-foreground",children:C("rightSidebar.selectFilePrompt")});const $e=P&&!d.startsWith("/")?`${P}/${d}`:d,gr=go($e,P),Ze=eu($e,P),Ft=j.kind==="text"&&j.content?j.content.split(`
|
|
1706
|
+
`):[],Ls=Math.max(2,String(Ft.length).length)+1,dt=j.kind==="text"||j.kind==="image"||j.kind==="model3d"||j.kind==="video"||j.kind==="eda"?j.meta:null,hn=aa($e),Gn=$e.toLowerCase().endsWith(".csv"),Is=$e.toLowerCase().endsWith(".kicad_pro"),Tr=$e.toLowerCase().endsWith(".kicad_prl"),br=j.kind==="text"&&hn&&X==="preview",Mr=na($e),Dt=j.kind==="text"&&Mr&&Ce==="preview",qn=j.kind==="image"||j.kind==="loading"&&j.mode==="image",qr=j.kind==="model3d"||j.kind==="loading"&&j.mode==="model3d",Kn=j.kind==="video"||j.kind==="loading"&&j.mode==="video",xa=j.kind==="eda"||j.kind==="loading"&&j.mode==="eda",Vn=j.kind==="text"?j.sourcePath:$e,Bt=gh(Vn,P,o),wt=(()=>{if(!o||j.kind!=="text"||Ft.length===0)return Bt;const R=[];for(let pe=o.start;pe<=o.end;pe+=1)R.push(`${pe} ${Ft[pe-1]??""}`);const M=Ru($e).replace(/^\./,""),ie="```";return`${Bt}
|
|
1707
|
+
${ie}${M}
|
|
1708
|
+
${R.join(`
|
|
1709
|
+
`)}
|
|
1710
|
+
${ie}
|
|
1711
|
+
`})(),ne=`path:${$e}`,ut=o?`path:${$e}:${o.start}-${o.end}`:ne,Kr=te===ne,Vr=te===ut,Yr=T===ne,Xr=T===ut,kt=Vr||Xr,Yn=o?o.start===o.end?`L${o.start}`:`L${o.start}-${o.end}`:null,Jr=R=>{const M=I.current;if(!M)return;const ie=M.getBoundingClientRect(),pe=R.currentTarget.getBoundingClientRect(),qe=R.clientX||pe.left+pe.width/2,Me=(R.clientY||pe.top+pe.height/2)-ie.top+M.scrollTop,Le=N?116:132,We=M.scrollLeft+Math.max(8,M.clientWidth-Le),ft=Math.min(Math.max(8,qe-ie.left+M.scrollLeft+10),We);Re({top:Me,left:ft})},Xn=(R,M)=>{tp()||(Jr(R),K(ie=>{const pe=qi(ie,M,M);return pe||Re(null),pe}))},xr=(R,M,ie)=>{Jr(R),K(pe=>{const qe=qi(pe,M,ie);return qe||Re(null),qe})},$s=(R,M,ie,pe)=>{pe==="end"&&Jr(R),K({start:M,end:ie})},Ut=R=>{const{scrollTop:M,scrollLeft:ie}=R.currentTarget;W(M),Di(P,d,{top:M,left:ie,markdownTop:M})},ar=R=>{if(R.directory){A?.(R.path);return}if(R.path===$e||j.kind==="text"&&R.path===j.sourcePath){R.fragment&&Ms(R.fragment);return}lt(M=>[...M,$e]),Wr.current=R.path,He(R.fragment),K(null),J(R.path)},Lr=()=>{const R=Oe[Oe.length-1];R&&(lt(M=>M.slice(0,-1)),Wr.current=R,He(null),K(null),J(R))},So=R=>{const{scrollTop:M,scrollLeft:ie}=R.currentTarget;Di(P,d,{top:M,left:ie})},Qr=R=>{const M={kind:"code",path:an(Vn,P),text:wt,...o?{lines:{...o}}:{}};if(m){m(wt,ut,{reference:M},R.currentTarget);return}o&&k(wt,ut,R.currentTarget,M)},Fs=()=>{if(!(j.kind==="loading"||j.kind==="error"))return yt.start()},Ir=()=>{Mr?hr(R=>{const M=R==="preview"?"source":"preview";return mm(P,d,M),M}):(D&&L?.(),vt(R=>{const M=R==="preview"?"source":"preview";return Nt(mu,M),M})),K(null)},Zr=()=>{cn(""),(async()=>{try{if(!await Ih(Ze))throw new Error("Clipboard unavailable");S(ne)}catch{cn("复制失败,请检查剪贴板权限后重试。")}})()},Jn=Xe&&tt&&t.jsxs("div",{className:"mt-2 flex min-w-0 items-center gap-1.5","data-file-preview-search":!0,children:[t.jsxs("div",{className:"flex min-w-0 flex-1 items-center rounded-lg bg-surface-2 px-2 focus-within:bg-surface-elevated",children:[t.jsx(on,{size:13,className:"shrink-0 text-muted-foreground","aria-hidden":"true"}),t.jsx("input",{ref:On,type:"search",value:Ar,onChange:R=>As(R.target.value),onKeyDown:R=>{R.key==="Enter"&&(R.preventDefault(),fn(R.shiftKey?-1:1))},className:"h-8 min-w-0 flex-1 bg-transparent px-2 text-xs text-foreground outline-none placeholder:text-muted-foreground/70",placeholder:C("rightSidebar.findInFilePlaceholder"),"aria-label":C("rightSidebar.findInFile")}),t.jsx("span",{className:"shrink-0 text-[10px] tabular-nums text-muted-foreground","aria-live":"polite",children:et.length>0?`${tr+1}/${et.length}`:"0/0"})]}),t.jsx("button",{type:"button",onClick:()=>fn(-1),disabled:et.length===0,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:opacity-35","aria-label":C("rightSidebar.previousSearchMatch"),title:`${C("rightSidebar.previousSearchMatch")} (Shift+Enter)`,children:t.jsx(wp,{size:13})}),t.jsx("button",{type:"button",onClick:()=>fn(1),disabled:et.length===0,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:opacity-35","aria-label":C("rightSidebar.nextSearchMatch"),title:`${C("rightSidebar.nextSearchMatch")} (Enter)`,children:t.jsx(kp,{size:13})}),t.jsx("button",{type:"button",onClick:un,className:"inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground","aria-label":C("rightSidebar.closeFileSearch"),title:`${C("rightSidebar.closeFileSearch")} (Esc)`,children:t.jsx(Vt,{size:13})})]});return t.jsxs("div",{ref:he,tabIndex:-1,onKeyDown:Wn,onFocusCapture:()=>{y&&Xe&&Ar.trim()&&Ti(et,tr,_.current)},onPointerDownCapture:R=>{R.target instanceof Element&&!R.target.closest('button, input, textarea, select, a, [tabindex]:not([tabindex="-1"])')&&R.currentTarget.focus({preventScroll:!0})},className:"flex h-full min-h-0 flex-col bg-surface text-foreground",children:[ln.popoverNode,Gr?t.jsx(Dm,{name:gr.name,path:$e,isMobile:N,back:Oe.length>0?{label:C("rightSidebar.backToPreviousPreview"),go:Lr}:void 0,sizeLabel:dt?.size!=null?C("rightSidebar.byteCount",{count:dt.size.toLocaleString()}):void 0,view:(Mr||hn)&&j.kind==="text"?{label:C(Mr?Ce==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview":X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview"),toggle:Ir}:void 0,fullscreen:Dt?{label:C("rightSidebar.htmlFullscreenEnter"),toggle:()=>{_e.current?.toggleFullscreen()}}:void 0,reference:a?{label:C("rightSidebar.insertFileRef"),insert:R=>g($e,ne,R)}:void 0,search:tt?{label:C("rightSidebar.findInFile"),toggle:Xe?un:sr}:void 0,searchPanel:Jn,warnings:[...Dt?Xt:[],...dt&&"truncated"in dt&&dt.truncated&&!Dt?[C("rightSidebar.previewTruncated")]:[]],copied:Yr,copyError:Ts,onCopy:Zr,onClose:v,onRefresh:nr,download:{status:yt.status,error:yt.error,disabled:j.kind==="loading"||j.kind==="error",start:()=>{Fs()},cancel:yt.cancel}}):t.jsxs("div",{"data-file-preview-toolbar":!0,className:`shrink-0 border-b border-border/15 px-3 ${N&&(br||Dt)?"py-1.5":"py-2"}`,children:[t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-1.5",children:[N&&v&&t.jsx("button",{type:"button",onClick:v,className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95","aria-label":C("rightSidebar.backToFileList"),title:C("rightSidebar.backToFileList"),children:t.jsx(Sp,{size:16})}),Oe.length>0&&t.jsxs("button",{type:"button",onClick:Lr,className:`inline-flex h-9 shrink-0 items-center justify-center gap-1 rounded-full bg-primary/10 text-primary transition hover:bg-primary/15 active:scale-95 ${N?"w-9":"px-2.5"}`,"aria-label":C("rightSidebar.backToPreviousPreview"),title:C("rightSidebar.backToPreviousPreview"),children:[t.jsx(ma,{size:15}),!N&&t.jsx("span",{className:"text-[11px] font-medium",children:C("rightSidebar.backToPreviousPreview")})]}),t.jsxs("div",{className:"min-w-0",title:$e,children:[t.jsx("div",{className:"truncate text-sm font-medium text-foreground",children:gr.name}),gr.dir&&t.jsx("div",{className:"mt-0.5 truncate text-[11px] text-muted-foreground",children:gr.dir})]})]}),t.jsxs("div",{className:"flex shrink-0 items-center gap-1",children:[tt&&t.jsx("button",{type:"button",onClick:Xe?un:sr,className:`inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 ${Xe?"bg-surface-elevated text-foreground":"bg-surface-2"}`,"aria-label":C("rightSidebar.findInFile"),title:`${C("rightSidebar.findInFile")} (⌘/Ctrl+F)`,children:t.jsx(on,{size:14})}),hn&&j.kind==="text"&&t.jsx("button",{type:"button",onClick:Ir,className:`inline-flex h-9 shrink-0 items-center justify-center gap-1 rounded-full bg-surface-2 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 ${N?"w-9 px-0":"px-3"}`,"aria-label":C(X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview"),title:C(X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview"),children:N?X==="preview"?t.jsx(Wi,{size:14}):t.jsx(Ki,{size:14}):C(X==="preview"?"rightSidebar.markdownSource":"rightSidebar.markdownPreview")}),Mr&&j.kind==="text"&&t.jsx("button",{type:"button",onClick:Ir,className:`inline-flex h-9 shrink-0 items-center justify-center gap-1 rounded-full bg-surface-2 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 ${N?"w-9 px-0":"px-3"}`,"aria-label":C(Ce==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview"),title:C(Ce==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview"),children:N?Ce==="preview"?t.jsx(Wi,{size:14}):t.jsx(Ki,{size:14}):C(Ce==="preview"?"rightSidebar.htmlSource":"rightSidebar.htmlPreview")}),Dt&&t.jsx("button",{type:"button",onClick:()=>{_e.current?.toggleFullscreen()},className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95","aria-label":C(Er?"rightSidebar.htmlFullscreenExit":"rightSidebar.htmlFullscreenEnter"),title:C(Er?"rightSidebar.htmlFullscreenExit":"rightSidebar.htmlFullscreenEnter"),children:t.jsx(al,{size:15})}),a&&!N&&t.jsx("button",{type:"button",onClick:R=>g($e,ne,R.currentTarget),...ln(Ze,ne),className:`inline-flex h-9 items-center gap-1 rounded-full px-3 text-xs font-semibold transition active:scale-95 ${Kr||Yr?"bg-surface-elevated text-foreground":"bg-primary/15 text-primary hover:bg-primary/25"}`,title:C("rightSidebar.insertReference",{reference:Ze}),"aria-label":C("rightSidebar.insertFileRef"),children:C(Yr?"rightSidebar.copied":Kr?"rightSidebar.inserted":"rightSidebar.insertFileRef")}),t.jsx("button",{type:"button",onClick:Zr,className:"inline-flex h-9 w-9 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",title:C("rightSidebar.copyReference",{reference:Ze}),"aria-label":C("rightSidebar.copyFileRef"),children:Yr?t.jsx(Es,{size:13}):t.jsx(Jd,{size:13})}),t.jsx("button",{type:"button",onClick:()=>{Fs()},disabled:yt.status==="pending"||j.kind==="loading"||j.kind==="error",className:"inline-flex h-9 w-9 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95 disabled:opacity-50 disabled:active:scale-100",title:yt.status==="error"?yt.error??C("rightSidebar.downloadFailed"):C("rightSidebar.downloadFile"),"aria-label":C("rightSidebar.downloadFile"),children:yt.status==="pending"?t.jsx(nt,{size:13,className:"animate-spin"}):t.jsx(zi,{size:14})}),yt.status==="pending"&&t.jsx("button",{type:"button",onClick:yt.cancel,className:"inline-flex h-9 shrink-0 items-center rounded-full bg-surface-2 px-2 text-xs text-foreground hover:bg-surface-elevated",children:C("common.cancel")})]})]}),Ts&&t.jsx("p",{role:"alert",className:"py-1 text-xs text-destructive",children:Ts}),t.jsx(Qd,{status:yt.status,error:yt.error}),Jn,!Gr&&dt&&!(N&&(br||Dt))&&t.jsxs("div",{className:"mt-1 flex items-center gap-2 text-[10px] text-muted-foreground",children:[dt.size!==null&&t.jsx("span",{children:C("rightSidebar.byteCount",{count:dt.size.toLocaleString()})}),"truncated"in dt&&dt.truncated&&t.jsx("span",{className:"text-[color:var(--warning)]",children:C("rightSidebar.previewTruncated")}),"mimeType"in dt&&t.jsx("span",{children:dt.mimeType}),"dimensions"in j&&j.dimensions&&t.jsxs("span",{children:[j.dimensions.width," × ",j.dimensions.height]})]}),!Gr&&!(N&&(br||Dt))&&!qr&&j.kind!=="binary"&&t.jsx("div",{className:"mt-1 flex h-4 items-center gap-2 text-[10px] text-muted-foreground/75",children:t.jsx("span",{className:"truncate",children:xa?C("rightSidebar.edaPickHint"):Gn?C("rightSidebar.csvTablePreview"):Is||Tr?C("rightSidebar.kicadProjectPickHint"):Kn?C("rightSidebar.videoPreviewHint"):qn?C("rightSidebar.imagePreviewHint"):br?o?C("rightSidebar.selectedLineHint",{lineLabel:Yn??""}):C("rightSidebar.markdownPreviewHint"):Dt?C("rightSidebar.htmlPreviewHint"):o?C("rightSidebar.selectedLineHint",{lineLabel:Yn??""}):C("rightSidebar.multiLineHint")})})]}),!y&&(j.kind==="video"||j.kind==="model3d"||j.kind==="eda"||Dt)?null:j.kind==="loading"?t.jsx("div",{className:"min-h-0 flex-1 overflow-auto px-3 py-8",children:t.jsx(Si,{label:j.mode==="eda"?C("rightSidebar.edaLoading"):j.mode==="image"?C("rightSidebar.loadingImage"):j.mode==="model3d"?C("rightSidebar.model3dLoading"):j.mode==="video"?C("rightSidebar.loadingVideo"):C("common.loading")})}):j.kind==="error"?t.jsxs("div",{className:"min-h-0 flex-1 overflow-auto",children:[t.jsx("div",{className:"mx-3 mt-3 border border-destructive/20 bg-destructive/5 px-4 py-4 text-sm text-destructive",children:j.message}),t.jsx("button",{type:"button",onClick:nr,className:"mx-3 mt-3 rounded-lg bg-surface-2 px-4 py-2 text-sm text-foreground hover:bg-surface-3",children:C("common.retry")})]}):j.kind==="binary"?t.jsx("div",{className:"min-h-0 flex-1 overflow-auto",children:t.jsx("div",{className:"mx-3 mt-3 rounded-xl border border-border/15 bg-surface-2 px-4 py-6 text-center text-sm text-muted-foreground",children:C("rightSidebar.binaryPreviewHint")})}):j.kind==="image"?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface p-3",children:j.meta.mimeType==="image/svg+xml"?t.jsx(du,{blobUrl:j.objectUrl,filePath:$e,viewLabel:"SVG 文件",onInsertAnnotation:m??w}):t.jsx(cp,{src:j.objectUrl,alt:gr.name,vector:!1,onLoad:R=>{const M=R.currentTarget;ue(ie=>ie.kind==="image"?{...ie,dimensions:{width:M.naturalWidth,height:M.naturalHeight}}:ie)},onError:()=>ue({kind:"error",message:C("rightSidebar.imageLoadFailed")})})}):j.kind==="video"?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface p-3",children:t.jsx(ip,{url:j.url,onLoadError:()=>ue({kind:"error",message:C("rightSidebar.videoLoadFailed")})})}):j.kind==="eda"?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface",children:t.jsx(km,{blobUrl:j.objectUrl,filePath:j.sourcePath,view:j.view,board:$e.toLowerCase().endsWith(".kicad_pcb"),onViewChange:$,onInsertAnnotation:m??w,onRefresh:nr,interactive3d:ve?t.jsx(s.Suspense,{fallback:t.jsx(Si,{label:C("rightSidebar.model3dLoading"),className:"min-h-0 flex-1 px-3 py-8"}),children:t.jsx(Id,{blobUrl:ve.objectUrl,ext:".glb",fileName:gr.name,filePath:ve.sourcePath,features:null,onInsertFeature:m??w,unitScale:1e3,dimensionUnit:"mm",coordinateSystemLabel:"KiCad 3D 导出坐标 Y-up",annotationPrefix:"PCB三维标注",normalizePickedPartName:R=>/^[A-Za-z]{1,5}\d+[A-Za-z0-9._-]*$/.test(R)?R:"PCB板体/铜箔/丝印",active:j.view==="pcb-3d"})}):void 0})}):j.kind==="model3d"?t.jsx("div",{className:"flex min-h-0 flex-1 flex-col overflow-hidden bg-surface",children:t.jsx(s.Suspense,{fallback:t.jsx(Si,{label:C("rightSidebar.model3dLoading"),className:"min-h-0 flex-1 px-3 py-8"}),children:t.jsx(Id,{blobUrl:j.objectUrl,ext:j.ext,fileName:gr.name,filePath:j.sourcePath,features:at,onInsertFeature:m??w,onRefresh:nr})})}):j.kind==="text"&&Gn?t.jsx(Rm,{content:j.content,filePath:$e,onInsertAnnotation:m??w},$e):j.kind==="text"&&(Is||Tr)?t.jsx(Pm,{content:j.content,filePath:$e,localState:Tr,onInsertAnnotation:m??w},$e):br?t.jsxs("div",{ref:I,className:"termdock-native-select relative min-h-0 flex-1 overflow-auto bg-surface","data-markdown-preview-scroller":!0,onScroll:Ut,style:{touchAction:"pan-x pan-y"},children:[t.jsx(tu,{content:j.content,filePath:j.sourcePath,rootPath:P,lineRange:o,onLineRangeClick:xr,onLineRangeDrag:$s,scrollTop:Un,outlineOpen:D,outlineCloseSignal:F,onOutlineOpen:Z,onOutlineClose:L,lightboxOpen:q,lightboxCloseSignal:le,onLightboxOpen:Y,onLightboxClose:me,onLocalLinkOpen:ar}),a&&o&&ce&&t.jsxs("button",{type:"button",onClick:Qr,...ln(wt,ut),style:{top:ce.top,left:ce.left,transform:"translateY(-50%)"},className:gd(N,kt),title:`Insert markdown reference: ${Bt}`,children:[t.jsx(ba,{size:N?13:11}),Xr?C("rightSidebar.copied"):Vr?C("rightSidebar.inserted"):C("rightSidebar.insertLineRef",{lineLabel:Yn??""})]})]}):Dt?t.jsx("div",{className:"min-h-0 flex-1 overflow-hidden bg-surface",children:t.jsx(Fm,{ref:_e,src:bh($e),title:`${gr.name} preview`,exitFullscreenLabel:C("rightSidebar.htmlFullscreenExit"),onFullscreenChange:be,onWarningsChange:Gr?zr:void 0,showInlineWarnings:!Gr},`${$e}:${rr}:${zn}`)}):j.kind==="text"?t.jsxs("div",{ref:I,onScroll:So,className:`${dp} termdock-native-select termdock-code relative min-h-0 flex-1 overflow-auto rounded-none bg-surface p-2 font-mono text-[11px] leading-relaxed text-foreground`,children:[Ft.length>0?t.jsx("div",{className:"min-w-full",children:Ft.map((R,M)=>{const ie=M+1,pe=!!(o&&ie>=o.start&&ie<=o.end),qe=Qt&&Qt.length===Ft.length?Qt[M]:null;return t.jsxs("div",{ref:Ee=>{Ee?Ae.current.set(ie,Ee):Ae.current.delete(ie)},role:"button","data-file-preview-line":ie,tabIndex:0,onClick:Ee=>Xn(Ee,ie),onKeyDown:Ee=>{Ee.key!=="Enter"&&Ee.key!==" "||(Ee.preventDefault(),Xn(Ee,ie))},style:{gridTemplateColumns:`${Ls}ch 1fr`},className:`group grid w-max min-w-full cursor-text gap-2 rounded-md pr-1 text-left transition ${pe?"bg-[var(--surface-2)] text-foreground":"hover:bg-surface-2"}`,title:`Tap to reference ${Ze}:${ie}`,children:[t.jsx("span",{className:`select-none rounded text-right text-[10px] transition ${pe?"bg-[var(--surface-elevated)] text-muted-foreground":"text-muted-foreground/55"}`,children:ie}),t.jsx("span",{className:"whitespace-pre select-text","data-sidebar-selectable":!0,children:qe??(R||" ")})]},M)})}):"Empty file.",a&&o&&ce&&t.jsxs("button",{type:"button",onClick:Qr,...ln(wt,ut),style:{top:ce.top,left:ce.left,transform:"translateY(-50%)"},className:gd(N,kt),title:`Insert code reference: ${Bt}`,children:[t.jsx(ba,{size:N?13:11}),Xr?C("rightSidebar.copied"):Vr?C("rightSidebar.inserted"):C("rightSidebar.insertLineRef",{lineLabel:Yn??""})]})]}):null]})}function Gg({rootPath:r,file:a,active:i,...c}){const[h,m]=s.useState(null),[d,y]=s.useState(a.line??1),g=s.useCallback(()=>y(null),[]);return t.jsx("div",{"data-architecture-source":!0,className:"h-full min-h-0",children:t.jsx(yo,{...c,filePath:`${r.replace(/\/+$/,"")}/${a.path}`,active:i,lineRange:h,onLineRangeChange:m,scrollToLine:d,onScrollToLineHandled:g,markdownOutlineOpen:!1,markdownImageLightboxOpen:!1})})}function qg({isOpen:r,sessionId:a,drawerWidthPx:i,onClose:c,onOpen:h,push:m,pinned:d=!1,rightSidebarFilePreviewOpen:y=!1,rightSidebarFilePreviewCloseSignal:g,onOpenRightSidebarFilePreview:k,onCloseRightSidebarFilePreview:w,rightSidebarRepoPickerOpen:S=!1,rightSidebarRepoPickerCloseSignal:v,onOpenRightSidebarRepoPicker:A,onCloseRightSidebarRepoPicker:N,markdownOutlineOpen:D=!1,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q=!1,markdownImageLightboxCloseSignal:le,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:me}){const{t:o,locale:K}=Yt(),[te,T]=s.useState(""),re=U(e=>e.pendingTerminalPath),[ke,C]=s.useState(null),he=s.useRef(0),_=U(e=>e.rightSearchOpen),ae=U(e=>e.setRightSearchOpen),oe=U(e=>e.rightSidebarLayoutPreference),E=U(e=>e.setRightSidebarLayoutPreference),[P,J]=s.useState(()=>gg()),[j,ue]=s.useState("."),[ge,$]=s.useState(""),[ve,Se]=s.useState(!1),[je,at]=s.useState(!1),[ot,Ae]=s.useState(!1),[I,ce]=s.useState(!1),Re=s.useDeferredValue(te),[X,vt]=s.useState(null),[Ce,hr]=s.useState([]),[_e,Er]=s.useState([]),be=U(e=>e.contextKey?e.activeGitRepos[e.contextKey]??null:null),Xt=U(e=>e.setActiveGitRepo),[zr,Jt]=s.useState(null),[Ye,Un]=s.useState(null),[W,Oe]=s.useState(null),[lt,Pt]=s.useState(!1),[He,Wr]=s.useState(()=>st(Ed,da)??!1),[_n,Qt]=s.useState(()=>st(Ad,da)??!1),[Zt,yt]=s.useState(()=>st(Td,da)??!1),[Xe,pr]=s.useState(()=>st(Ii,ug)??""),[Ar,As]=s.useState(0),[et,er]=s.useState(!1),[tr,$t]=s.useState(!1),On=s.useRef(null),ln=s.useRef(null),[Ts,cn]=s.useState(!1),[Gr,ct]=s.useState(null),[mr,rr]=s.useState(null),[dn,Hn]=s.useState(()=>Fd(Mi)),[zn,ko]=s.useState(()=>Fd(Pd)),[nr,Ms]=s.useState(()=>dg()),[tt,un]=s.useState(()=>fg()),[sr,fn]=s.useState(()=>pg()),Wn="words",[$e,gr]=s.useState(0),[Ze,Ft]=s.useState([]),[Ls,dt]=s.useState([]),[hn,Gn]=s.useState(!1),[Is,Tr]=s.useState(null),[br,Mr]=s.useState([]),[Dt,qn]=s.useState(!1),[qr,Kn]=s.useState([]),[xa,Vn]=s.useState([]),[Bt,wt]=s.useState(!1),[ne,ut]=s.useState(null),[Kr,Vr]=s.useState([]),[Yr,Xr]=s.useState({}),kt=s.useRef(0),[Yn,Jr]=s.useState(0),[Xn,xr]=s.useState(!1),[$s,Ut]=s.useState(null),[ar,Lr]=s.useState(null),[So,Qr]=s.useState(null),[Fs,Ir]=s.useState(null),[Zr,Jn]=s.useState(!1),[R,M]=s.useState(""),ie=s.useDeferredValue(R),[pe,qe]=s.useState({}),[Ee,Me]=s.useState([]),[Le,We]=s.useState(!1),[ft,or]=s.useState(!1),[$r,Fr]=s.useState(null),[Ds,en]=s.useState(!1),gt=s.useRef(null),_t=s.useRef(0),va=s.useRef({count:0,loading:!1,loadingMore:!1,hasMore:!1}),[jo,H]=s.useState(null),[Ie,vr]=s.useState(()=>st(Li,da)??!1),[pn,Ro]=s.useState(!1),[ya,Co]=s.useState([]),[ir,wa]=s.useState({}),[St,ka]=s.useState({}),[mn,No]=s.useState({}),[dl,ul]=s.useState(()=>new Set),[De,gn]=s.useState(null),[Po,bn]=s.useState(null),[Lu,Dr]=s.useState(!1),[Eo,Br]=s.useState(0),[,Ao]=s.useState(0),[To,Sa]=s.useState(!1),[Iu,$u]=s.useState(()=>U.getState().rightTab==="files"),[lr,Mo]=s.useState(!1),[Fu,fl]=s.useState(()=>U.getState().rightTab==="diff"),[Lo,hl]=s.useState(()=>U.getState().rightTab==="android"),[tn,pl]=s.useState(!1),[cr,ml]=s.useState({architecture:!1,computer:!1}),Bs=s.useRef(new Set),ja=ji(e=>e.docks[Ni]),Du=!!ja,[Te,Us]=s.useState(null),[Qn,_s]=s.useState(null),[ht,xn]=s.useState(null),[gl,Ot]=s.useState(null),[Zn,bl]=s.useState(null),[Io,Bu]=s.useState(()=>Date.now()),[Uu,_u]=s.useState(!1),[vn,Ra]=s.useState(!1),[Ca,xl]=s.useState(""),[es,Na]=s.useState(""),[yn,Pa]=s.useState(""),[wn,Ea]=s.useState(""),[vl,ts]=s.useState(null),[yl,$o]=s.useState(!1),[wl,kl]=s.useState(!1),[Aa,Ou]=s.useState({key:null,nonce:0}),Sl=s.useRef(null),jl=s.useRef(null),V=$h(i,d,oe),Fo=wu(V,d,sr),[Do,Bo]=s.useState(()=>Sg(i)),Uo=U(e=>e.rightTab),Et=U(e=>e.setRightTab),f=U(e=>e.rootPath),rs=U(e=>e.explorerRoot),Rl=U(e=>e.pinnedExplorerRootsCache),Cl=U(e=>e.hydratePinnedExplorerRoots),Nl=U(e=>e.syncPinnedExplorerRoots),At=U(e=>e.setExplorerRoot),Pl=U(e=>e.resetExplorerToProject),ns=U(e=>e.pinExplorerRoot),kn=U(e=>e.unpinExplorerRoot),ze=U(e=>e.selectedFilePath),Ke=U(e=>e.selectFile),_o=U(e=>e.showHiddenFiles),Hu=U(e=>e.toggleShowHiddenFiles),Oo=U(e=>!!(f&&e.nestedGitScanRoots[f])),Ne=U(e=>e.changedFiles),Ta=U(e=>e.setChangedFiles),Os=U(e=>e.invalidateDirectoryCache),zu=U(e=>e.setDirectorySortMode),El=U(e=>e.applyFileWatchEvents),Al=U(e=>e.reconcileDirectoryCache),Tl=U(e=>e.bumpFileWatchEpoch),yr=U(e=>e.gitBundleLoading),Ml=U(e=>e.gitBundleSlow),Sn=U(e=>e.gitBundleError),ss=U(e=>e.gitBundleLastLoadedAt),Ll=U(e=>e.beginGitBundleLoading),Il=U(e=>e.setGitBundleSlowFor),Ho=U(e=>e.finishGitBundleLoading),Ma=U(e=>e.resetGitBundleLoading),zo=U(e=>e.setGitBundleError),$l=U(e=>e.markGitBundleLoaded),Q=rs??f,La=U(e=>!!(Q&&e.hideGitIgnoredRoots[Q])),Wu=U(e=>e.hideGitIgnoredRootsHydrated),Gu=U(e=>e.setHideGitIgnoredRoot),[Wo,Fl]=s.useState(!1),[Dl,Go]=s.useState(null);s.useEffect(()=>{Go(null)},[Q]);const Bl=s.useMemo(()=>Q?zm(Q,j):"",[Q,j]),Hs=s.useMemo(()=>Hm(ge),[ge]),Ul=s.useMemo(()=>({excludePatterns:Hs,caseSensitive:je,wholeWord:ot,regex:I}),[je,Hs,I,ot]),Ia=U(e=>Q?e.fileSortModes[Q]??"name":"name"),_l=U(e=>!!(Q&&e.directoryCache.has(Q))),jn=s.useRef(null),bt=s.useRef(0),[Ol]=s.useState(()=>++Ug),Ur=s.useRef(null),rn=s.useRef(null),$a=s.useRef(0),Ht=s.useRef(new Map),zt=s.useRef(new Map),wr=s.useRef(new Set),Rn=s.useRef(new Set),Cn=s.useRef(0),nn=s.useRef(null),as=s.useRef(0),os=s.useRef(null),is=s.useRef(0),sn=s.useRef(null),qo=s.useRef(new Set),Ko=s.useRef(null),Vo=s.useRef(null),Fa=s.useRef(null),Yo=s.useRef(null),Xo=s.useRef(null),zs=s.useRef(new Set);s.useEffect(()=>{if(Zn===null)return;const e=Math.max(0,Date.now()-Zn),n=e<6e4?1e3:e<36e5?6e4:e<864e5?36e5:864e5,l=Math.max(50,n-e%n),p=window.setTimeout(()=>Bu(Date.now()),l);return()=>window.clearTimeout(p)},[Io,Zn]);const ls=s.useRef(null),_r=s.useRef(null),Jo=s.useRef(null),Hl=s.useRef(null),Ws=s.useRef(null),xe=s.useCallback(e=>U.getState().rootPath===e,[]);s.useEffect(()=>{if(!r||typeof window>"u")return;const e=n=>{const l=zg(n.target);l&&la("global_change_row_event",{...Wg(n),selectionPath:l.dataset.diffSelectionPath,filePath:l.dataset.diffFilePath,absolutePath:l.dataset.diffAbsolutePath,repoRoot:l.dataset.diffRepoRoot,status:l.dataset.diffStatus,selectedFilePath:U.getState().selectedFilePath,rightTab:U.getState().rightTab,activeGitRepoRoot:be,changedFiles:U.getState().changedFiles.size})};return window.addEventListener("pointerdown",e,{capture:!0}),window.addEventListener("click",e,{capture:!0}),()=>{window.removeEventListener("pointerdown",e,{capture:!0}),window.removeEventListener("click",e,{capture:!0})}},[be,r]);const zl=s.useCallback(async(e=f??void 0)=>{if(!e)return null;if(wr.current.has(e)||Rn.current.has(e))return Qe("untracked_skip_cached",{cwd:e,rootPath:f,completed:wr.current.has(e),running:Rn.current.has(e)}),null;const n=f,l=$a.current+1;$a.current=l,Ht.current.set(e,l);const p=`right-sidebar-git-untracked:${e}`,u=new AbortController;zt.current.set(e,u),Rn.current.add(e),Qe("untracked_start",{requestId:l,cwd:e,rootPath:f});try{let b=await td(e,u.signal,p),x=0;for(;b.status==="running"&&x<120;){if(Ht.current.get(e)!==l||u.signal.aborted)return Qe("untracked_stale_result",{requestId:l,activeRequestId:Ht.current.get(e),cwd:e,status:b.status}),null;if(!xe(n))return Qe("untracked_root_changed",{requestId:l,cwd:e,expectedRootPath:n,currentRootPath:U.getState().rootPath}),null;await new Promise(G=>window.setTimeout(G,x<10?1e3:3e3)),x+=1,b=await td(e,u.signal,p)}if(Ht.current.get(e)!==l||!xe(n))return Qe("untracked_stale_result",{requestId:l,activeRequestId:Ht.current.get(e),cwd:e,expectedRootPath:n,currentRootPath:U.getState().rootPath,files:b.files.length,status:b.status}),null;if(b.status==="done")return Ta(Eu(U.getState().changedFiles,b.files)),b.files.length>0&&hr(G=>{const ye=new Map(G.map(se=>[se.root,se])).get(e);if(!ye)return G;const Be=Ag(ye.files,b.files),O=G.map(se=>se.root===e?{...se,files:Be,context:se.context?{...se.context,changedFiles:Be.map(we=>({path:we.path,absolutePath:we.absolutePath,status:we.status})),truncated:!1}:se.context,untrackedDeferred:!1}:se);Er(Au(O,f));const B=O.find(se=>se.root===f);return B?.context&&vt(se=>se?.root===B.root?{...se,...B.context}:se),O}),wr.current.add(e),Qe("untracked_apply",{requestId:l,cwd:e,files:b.files.length}),b;const z=b.error||(b.status==="running"?"Untracked file scan is still running.":"Failed to scan untracked files");return wr.current.add(e),Qe("untracked_error",{requestId:l,cwd:e,message:z,code:b.code,status:b.status}),null}catch(b){if(Ht.current.get(e)!==l||!xe(n)||Pr(b))return Qe("untracked_aborted",{requestId:l,activeRequestId:Ht.current.get(e),cwd:e,expectedRootPath:n,currentRootPath:U.getState().rootPath,message:b instanceof Error?b.message:String(b)}),null;const x=b instanceof Error?b.message:"Failed to scan untracked files";return wr.current.add(e),Qe("untracked_error",{requestId:l,cwd:e,message:x}),null}finally{zt.current.get(e)===u&&zt.current.delete(e),Ht.current.get(e)===l&&Ht.current.delete(e),Rn.current.delete(e)}},[X,xe,f,Ta]),dr=s.useMemo(()=>{const e=new Set(_e.map(l=>l.root)),n=br.filter(l=>e.has(l));return n.length>0?n:be?[be]:[]},[be,br,_e]),Wl=dr.length===0,Nn=s.useMemo(()=>dr.map(e=>Ce.find(n=>n.root===e)).filter(e=>!!e),[dr,Ce]),qu=s.useMemo(()=>_e.map(e=>({root:e.root,label:e.label,branch:e.branch??null})),[_e]),kr=s.useCallback(async()=>{if(!f){Ft([]),dt([]);return}const e=f,n=as.current+1;as.current=n,os.current?.abort();const l=new AbortController;os.current=l,Gn(Ze.length===0),Tr(null);try{const p=dr.length>0?await Promise.all(dr.map(u=>rd({workspaceRoot:f,repoRoot:u},l.signal))).then(u=>({records:u.flatMap(b=>b.records),walkthroughs:u.flatMap(b=>b.walkthroughs??[])})):await rd({workspaceRoot:f},l.signal);if(as.current!==n||!xe(e))return;Ft(p.records),dt(p.walkthroughs??[])}catch(p){if(as.current!==n||!xe(e)||Pr(p))return;Tr(p instanceof Error?p.message:"Failed to load change audit explanations")}finally{os.current===l&&(os.current=null),as.current===n&&xe(e)&&Gn(!1)}},[Ze.length,dr,xe,f]),Da=s.useCallback(async(e,n,l)=>{if(!e&&!f){Kn([]),Vn([]);return}const p=f,u=is.current+1;is.current=u,sn.current?.abort();const b=new AbortController;sn.current=b;try{const x=e?[e]:Array.from(new Set([f,...Ce.map(G=>G.root)].filter(G=>!!G))),z=await Promise.all(x.map(G=>xh({repoRoot:G,baseRef:n,branchName:l},b.signal))).then(G=>{const de=new Map,ye=new Map;for(const Be of G){for(const O of Be.records)de.set(O.id,O);for(const O of Be.walkthroughs??[])ye.set(O.id,O)}return{records:Array.from(de.values()),walkthroughs:Array.from(ye.values())}});if(is.current!==u||!xe(p))return;Kn(z.records),Vn(z.walkthroughs??[])}catch(x){if(is.current!==u||!xe(p)||Pr(x))return;console.warn("[RightSidebar] Failed to load branch explanations",x)}finally{sn.current===b&&(sn.current=null)}},[Ce,xe,f]),cs=s.useCallback((e,n={})=>{if(!xe(f)){Qe("apply_skipped_root_changed",{expectedRootPath:f,currentRootPath:U.getState().rootPath,bundleRoot:e.context?.root,files:e.files.length});return}Qe(e.files.length===0?"empty_bundle":"apply",{rootPath:f,available:e.available,files:e.files.length,repositories:e.repositories?.map(B=>({root:B.root,relativeRoot:B.relativeRoot,files:B.files.length,available:B.available,error:B.error})),repoFilters:e.repoFilters?.map(B=>({root:B.root,label:B.label,count:B.count})),cached:e.cached,stale:e.stale,cacheAgeMs:e.cacheAgeMs,untrackedDeferred:e.untrackedDeferred,error:e.error});let l=ku(e),p=e.repoFilters??[],u=e.files;const b=U.getState().changedFiles;if(!!(n.cacheOnly&&!e.cached&&e.files.length===0&&l.length===0)&&(b.size>0||Ce.length>0||X)){Qe("cache_only_apply_skipped_empty_backend_cache",{rootPath:f,currentFiles:b.size,currentRepositories:Ce.length});return}const z=l.some(B=>B.deferred);if(z&&!n.replaceWorkspace){const B=new Set(l.filter(we=>!we.deferred||we.root===f).map(we=>we.root));u=[...Array.from(b.values()).filter(we=>!B.has(it(we,f)??"")),...e.files]}const G=zd(b.values(),f),de=zd(e.files,f),ye=l.some(B=>B.root!==f);if(!!(n.background&&!z&&!n.replaceWorkspace&&b.size>0&&(e.files.length===0&&!e.error||G>0&&de===0&&!ye))){Qe("background_apply_skipped_degraded_bundle",{rootPath:f,currentFiles:b.size,nextFiles:e.files.length,currentNestedCount:G,nextNestedCount:de,nextRepositories:l.map(B=>({root:B.root,relativeRoot:B.relativeRoot,files:B.files.length})),cached:e.cached,stale:e.stale,error:e.error});return}if(n.replaceRepoRoot){const B=Tu(b.values(),Ce,e,n.replaceRepoRoot,f);u=B.files,l=B.repositories,p=B.repoFilters}if(Ta(Pu(u)),hr(B=>{if(!z||n.replaceWorkspace)return l;const se=new Map(B.map(we=>[we.root,we]));return l.map(we=>{const Fe=se.get(we.root);return!we.deferred||!Fe?we:{...we,available:Fe.available,files:Fe.files,context:Fe.context,deferred:Fe.deferred,untrackedDeferred:Fe.untrackedDeferred,error:Fe.error}})}),Er(p),Xo.current=f,n.syncActiveRepo!==!1){const{contextKey:B,activeGitRepos:se}=U.getState(),we=B?se[B]??null:null,Fe=n.activeRepoRoot!==void 0?n.activeRepoRoot:we,Pe=bg({...e,repositories:l,repoFilters:p},Fe);Xt(Pe)}typeof e.cacheUpdatedAt=="number"&&bl(e.cacheUpdatedAt),vt(B=>{if(n.replaceRepoRoot&&n.replaceRepoRoot!==f)return B;if(!e.context)return null;const se=B?.root??f;return!B?.available||se!==(e.context.root??f)?e.context:{...B,...e.context}}),n.reloadDiff&&gr(B=>B+1);const O=U.getState().selectedFilePath;if(O&&!O.startsWith("/")&&!u.some(B=>B.path===O||B.absolutePath===O)&&Ke(null),Hn(B=>{const se=new Set(u.map(Fe=>it(Fe,f)).filter(Boolean)),we=new Set;for(const Fe of B)se.has(Fe)&&we.add(Fe);return Fi(Mi,we),we}),n.loadDeferred!==!1){const B=l.filter(se=>se.untrackedDeferred&&se.root).map(se=>se.root);for(const se of B)zl(se)}n.loadAudit!==!1&&kr()},[xe,kr,zl,f,Ke,Xt,Ta]);s.useEffect(()=>{Ma(),Ko.current=null,Vo.current=f;const e=[],n=[];bt.current+=1,Cn.current+=1,$a.current+=1,Ur.current?.abort(),xt(oa(rn.current?.cwd??f??void 0)),rn.current=null,Ur.current=null,nn.current?.abort(),xt("right-sidebar-git-details"),nn.current=null;for(const x of zt.current.values())x.abort();for(const x of zt.current.keys())xt(`right-sidebar-git-untracked:${x}`);zt.current.clear(),Ht.current.clear(),as.current+=1,os.current?.abort(),os.current=null,is.current+=1,sn.current?.abort(),sn.current=null,_t.current+=1,gt.current?.abort(),xt("right-sidebar-recent-commits"),gt.current=null,Ft([]),dt([]),Gn(!1),Tr(null),Mr([]),qn(!1),Kn([]),Vn([]),wt(!1),ut(null),xr(!1),Ut(null),Lr(null),Qr(null),Ir(null),Jn(!1),M(""),Me([]),We(!1),or(!1),Fr(null),en(!1),H(null),gn(null),bn(null),vr(!1),Nt(Li,!1),Ro(!1);const l=f?Dd()[f]:null,p=l?.previewEntries??[],u=l?.selectedPreviewKey??null,b=u?p.find(x=>x.key===u)??null:null;++kt.current,xr(!1),Co(l?.selectedRepoRoots??[]),wa(l?.repoTargetBranches??{}),ka(l?.repoBaseBranches??{}),Vr(p),Xr(l?.previewScrollTops??{}),b&&l?.previewDetailOpen&&(b.diff.hunks?.length??0)>0&&(ut(b.diff),gn(b.key),bn(l.selectedPreviewFileKey??(b.diff.hunks?.[0]?`${b.diff.hunks[0].filePath}\0${b.diff.hunks[0].hunkHeader}\0${b.diff.hunks[0].hunkIndex}`:null)),wt(!0)),No(l?.repoIncludeUncommitted??Object.fromEntries(Object.keys(l?.repoTargetBranches??{}).map(x=>[x,l?.includeUncommitted??!0]))),Ko.current=f,Ra(!1),wr.current.clear(),Rn.current.clear(),Us(null),_s(null),xn(null),Ot(null),bl(null),hr(e),Er(n),vt(null),Yo.current=null,Xo.current=null,zs.current.clear()},[Ma,f]);const Tt=s.useCallback(async(e=f??void 0,n={})=>{if(!e)return null;const l=f,p=bt.current;if(await Ip(()=>Promise.all([U.getState().hydrateNestedGitScanRoots(),U.getState().hydrateActiveGitRepos()]).then(()=>{})),bt.current!==p||!xe(l))return null;const u=e===f&&sa(f),b=n.includeNested??u,x=n.refresh??n.reloadDiff??!1,z=n.cacheOnly??!1,G=n.background??!1,de=b&&(n.discoverOnly??!1);x&&wr.current.clear();const ye=rn.current;if(ye&&ye.cwd===e&&ye.includeNested===b&&ye.refresh===x&&ye.cacheOnly===z&&ye.discoverOnly===de)return Qe("reuse_pending",{cwd:e,includeNested:b,refresh:x,cacheOnly:z,discoverOnly:de}),ye.promise;const Be=bt.current+1;bt.current=Be;const O=`right-sidebar:${Ol}:${Be}`;Ur.current?.abort();const B=oa(e);xt(B);const se=new AbortController;Ur.current=se;let we=null;G||Ll(O),zo(null),Qe("start",{requestId:Be,cwd:e,rootPath:f,requestSlotId:B,includeNested:b,refresh:x,cacheOnly:z,background:G,existingChanges:Ne.size,lastLoadedAt:ss}),!G&&typeof window<"u"&&(we=window.setTimeout(()=>{bt.current===Be&&Il(O,!0)},Qm));const Fe=(async()=>{const Pe=await Ri(e,se.signal,{includeNested:b,refresh:x,cacheOnly:z,discoverOnly:de,action:x?"manual_git_refresh":"open_sidebar_git_refresh",requestSlotId:B,requestTimeoutMs:x?null:void 0});if(Lg(Pe)){if(Qe("cancelled_result_ignored",{requestId:Be,activeRequestId:bt.current,cwd:e,error:Pe.error??Pe.context?.error}),se.signal.aborted)return null;throw new Error(Pe.error??Pe.context?.error??"Failed to load Git changes")}return bt.current!==Be||!xe(l)?(Qe("stale_result",{requestId:Be,activeRequestId:bt.current,cwd:e,expectedRootPath:l,currentRootPath:U.getState().rootPath,files:Pe.files.length,repositories:Pe.repositories?.length??0}),null):(cs(Pe,{reloadDiff:n.reloadDiff,syncActiveRepo:n.replaceWorkspace?!0:b,background:G,cacheOnly:z,replaceRepoRoot:n.replaceRepoRoot,replaceWorkspace:n.replaceWorkspace}),Pe)})();rn.current={cwd:e,includeNested:b,refresh:x,cacheOnly:z,discoverOnly:de,promise:Fe};try{const Pe=await Fe;return bt.current===Be&&Pe&&xe(l)?$l({cached:Pe.cached,stale:Pe.stale,cacheAgeMs:Pe.cacheAgeMs,nestedDeferred:!b||Pe.nestedDeferred,untrackedDeferred:Pe.untrackedDeferred}):bt.current===Be&&xe(l)&&Ho(O),Pe}catch(Pe){return bt.current!==Be||!xe(l)||se.signal.aborted?(Qe("aborted",{requestId:Be,activeRequestId:bt.current,cwd:e,expectedRootPath:l,currentRootPath:U.getState().rootPath,message:Pe instanceof Error?Pe.message:String(Pe)}),null):(Qe("error",{requestId:Be,cwd:e,includeNested:b,refresh:x,background:G,message:Pe instanceof Error?Pe.message:String(Pe)}),G||(vt(null),zo(Pe instanceof Error?Pe.message:"Failed to load Git changes")),null)}finally{we!==null&&window.clearTimeout(we),Ur.current===se&&(Ur.current=null),rn.current?.promise===Fe&&(rn.current=null),!G&&bt.current===Be&&xe(l)&&Ho(O)}},[cs,Ll,Ne.size,Ho,Ol,ss,xe,$l,f,zo,Il]),ds=s.useCallback(async()=>{f&&await Tt(f,{reloadDiff:!0,refresh:!0})},[Tt,f]),Qo=s.useCallback(async(e=f??void 0)=>{if(!e)return null;const n=f,l=Cn.current+1;Cn.current=l,nn.current?.abort(),xt("right-sidebar-git-details");const p=new AbortController;nn.current=p,Ra(!0);try{const u=await nd(e,p.signal,"load_git_details","right-sidebar-git-details");return Cn.current!==l||!xe(n)?null:(hr(b=>b.map(x=>x.root===u.root?{...x,available:u.available,context:u,error:u.error}:x)),vt(b=>b?.root&&u.root&&b.root!==u.root?b:!b?.available||!u.available?u:{...b,...u}),u)}catch(u){return Pr(u)||!xe(n)||Cn.current===l&&Ot(u instanceof Error?u.message:"Failed to load Git details"),null}finally{nn.current===p&&(nn.current=null),Cn.current===l&&xe(n)&&Ra(!1)}},[xe,f]);s.useEffect(()=>{if(!r){bt.current+=1,Ma(),Yo.current=null,Cn.current+=1,$a.current+=1,Ur.current?.abort(),xt(oa(rn.current?.cwd??f??void 0)),rn.current=null,Ur.current=null,nn.current?.abort(),xt("right-sidebar-git-details"),nn.current=null;for(const e of zt.current.values())e.abort();for(const e of zt.current.keys())xt(`right-sidebar-git-untracked:${e}`);if(zt.current.clear(),Ht.current.clear(),is.current+=1,sn.current?.abort(),sn.current=null,_t.current+=1,gt.current?.abort(),xt("right-sidebar-recent-commits"),gt.current=null,Ra(!1),xr(!1),Qr(null),We(!1),or(!1),d)return;Ut(null),Lr(null),Qr(null),Ir(null),Jn(!1),M(""),Me([]),We(!1),or(!1),Fr(null),en(!1),T(""),ae(!1),ct(null),Mo(!1),V&&fl(!1)}},[V,r,d,Ma,ae]),s.useEffect(()=>{if(!_||!r)return;const e=setTimeout(()=>{document.querySelector("input[data-right-search]")?.focus()},50);return()=>clearTimeout(e)},[_,r]),s.useEffect(()=>{V||Dr(!1)},[V]);const Gl=s.useCallback(e=>{Ao(e);const n=Jo.current;n&&(n.update(),n.slideTo(e,0),window.requestAnimationFrame(()=>{n.update(),n.slideTo(e,0)}))},[]);s.useEffect(()=>{if(V)if(Dr(y),y&&ze){Br(1);const e=_r.current;e&&(e.update(),e.activeIndex!==1&&(Ws.current=1,e.slideTo(1,0)))}else{Br(0);const e=_r.current;e&&e.activeIndex!==0&&(Ws.current=0,e.slideTo(0,0)),ct(null)}},[V,y,f,ze]),s.useEffect(()=>{if(g!==void 0&&!y){Br(0);const e=_r.current;e&&e.activeIndex!==0&&(Ws.current=0,e.slideTo(0,0)),Dr(!1),ct(null)}},[g,y]),s.useEffect(()=>{v!==void 0&&Jt(null)},[v]),s.useEffect(()=>{!V&&y&&w?.()},[V,w,y]),s.useEffect(()=>{Bo(e=>tl(e,i))},[i]);const ql=nl(()=>{ls.current&&(ls.current=null,ks(Cs))}),Ku=s.useCallback(e=>{V||(e.preventDefault(),ql(e),ls.current={startX:e.clientX,startWidth:Do,pointerId:e.pointerId},e.currentTarget.setPointerCapture(e.pointerId))},[Do,V,ql]),Vu=s.useCallback(e=>{const n=ls.current;if(!n||n.pointerId!==e.pointerId)return;const l=tl(n.startWidth+e.clientX-n.startX,i);Bo(l),ua(Cs,l,Jm)},[i]),Kl=s.useCallback(e=>{const n=ls.current;if(!(!n||n.pointerId!==e.pointerId)){ls.current=null,ks(Cs);try{e.currentTarget.releasePointerCapture(e.pointerId)}catch{}}},[]),us=!!(f&&ss!==null&&qd(X)),Zo=!!(f&&!Sn&&Ne.size===0&&ss===null),jt=(()=>{let e=Uo;return e==="android"&&!tn&&(e="files"),(e==="architecture"||e==="computer")&&!cr[e]&&(e="files"),us&&(e==="git"||e==="diff")&&(e="files"),e})(),Je=jt==="git",ur=jt==="files",Rt=jt==="diff",fs=jt==="android",hs=jt==="computer",Pn=jt==="architecture",[Yu,Xu]=s.useState(!1);s.useEffect(()=>{r&&hs&&Xu(!0)},[r,hs]);const[Ju,Qu]=s.useState(!1);s.useEffect(()=>{r&&Pn&&Qu(!0)},[r,Pn]);const ei=s.useRef(null),ps=s.useCallback((e,n)=>{const l=U.getState().rightTab;if(l===e)return;const p=performance.now(),u=p-n.timeStamp;ei.current={from:l,to:e,startedAt:p,inputDelayMs:u>=0&&u<6e4?Math.round(u):null},Et(e)},[Et]);s.useEffect(()=>{const e=ei.current;if(!e||e.to!==jt)return;ei.current=null;const n=Math.round(performance.now()-e.startedAt);let l=window.requestAnimationFrame(()=>{l=window.requestAnimationFrame(()=>{la("tab_switch_presented",{from:e.from,to:e.to,inputDelayMs:e.inputDelayMs,commitMs:n,frameMs:Math.round(performance.now()-e.startedAt)})})});return()=>window.cancelAnimationFrame(l)},[jt]);const Zu=sp(e=>e.overlay==="sidebar")&&fs;s.useEffect(()=>{if(!V){Sa(!0);return}if(!r){const n=window.setTimeout(()=>{Sa(!1)},tg);return()=>window.clearTimeout(n)}Sa(!1);const e=window.setTimeout(()=>{Sa(!0)},eg);return()=>window.clearTimeout(e)},[V,r]),s.useEffect(()=>{if(!V||!Rt)return;const e=Jo.current;if(!e)return;const n=window.requestAnimationFrame(()=>{e.update()});return()=>window.cancelAnimationFrame(n)},[Rt,V]),s.useEffect(()=>{if(!us||!f||yr)return;const e=window.setTimeout(()=>{Tt(f,{background:!0})},3e3);return()=>window.clearTimeout(e)},[us,f,yr,Tt]);const ef=s.useCallback(e=>{Tt(e,{discoverOnly:!0})},[Tt]);$p({active:r&&(Je||Rt),rootPath:f,loading:yr,delay:Je&&!V?0:$i,lastStartedRoot:Yo,load:ef}),s.useEffect(()=>{!r||!Je||(!V||To)&&Mo(!0)},[Je,V,r,To]),s.useEffect(()=>{if(!r||Je)return;const e=window.setTimeout(()=>{Mo(!0)},$i);return()=>window.clearTimeout(e)},[Je,r]),s.useEffect(()=>{ur&&$u(!0)},[ur]),s.useEffect(()=>{Rt&&fl(!0)},[Rt]),s.useEffect(()=>{!r||!fs||(a&&ja&&ja.sessionId!==a&&(ji.getState().setDock(Ni,null),ca({androidPanel:{docked:null}}).catch(()=>{})),hl(!0))},[fs,r,a,ja]),s.useEffect(()=>{if(r&&fs||!Lo)return;const e=window.setTimeout(()=>hl(!1),Zm);return()=>window.clearTimeout(e)},[r,fs,Lo]),s.useEffect(()=>{let e=!1;return Yd().then(n=>{e||(Bs.current.has("android")||pl(n.androidPanel?.enabled===!0),ml(l=>({architecture:Bs.current.has("architecture")?l.architecture:n.rightSidebarTabs?.architecture===!0,computer:Bs.current.has("computer")?l.computer:n.rightSidebarTabs?.computer===!0})))}).catch(()=>{}),()=>{e=!0}},[]);const Vl=s.useCallback(e=>{Bs.current.add("android"),pl(e),e?Et("android"):U.getState().rightTab==="android"&&Et("files"),ca({androidPanel:{enabled:e}}).catch(()=>{})},[Et]),tf=s.useCallback((e,n)=>{Bs.current.add(e),ml(l=>({...l,[e]:n})),n?Et(e):U.getState().rightTab===e&&Et("files"),ca({rightSidebarTabs:{[e]:n}}).catch(()=>{})},[Et]),Yl=s.useCallback(e=>{Q&&Rg(Q,e.currentTarget.scrollTop)},[Q]);s.useEffect(()=>()=>{Ur.current?.abort(),ks(ol),ks(il),ks(Cs),ks(Ii)},[]),s.useEffect(()=>{if(!Q||!_l)return;const e=Cu()[Q]?.top;if(typeof e!="number")return;let n=window.requestAnimationFrame(()=>{jn.current&&(jn.current.scrollTop=e),n=window.requestAnimationFrame(()=>{jn.current&&(jn.current.scrollTop=e)})});return()=>window.cancelAnimationFrame(n)},[Q,_l]),s.useEffect(()=>{if(!r)return;const e=new AbortController;return vh(e.signal).then(n=>kl(!!n.available)).catch(()=>kl(!1)),()=>e.abort()},[r]);const En=s.useCallback(e=>{if(C(null),Ke(e),ct(null),V){Dr(!0),Br(1),_r.current?.slideTo(1),k?.();return}},[V,k,Ke]),Xl=s.useCallback(e=>{!r||!ur||Fp(e,jn.current,ze,n=>{rr(null),En(n)})},[ur,En,r,ze]),ti=s.useCallback((e,n)=>{if(C(null),Ke(e),rr(n),V){Dr(!0),Br(1),_r.current?.slideTo(1),k?.();return}},[V,k,Ke]),Mt=um(e=>Os(e,!1)),Ba=Mt.busy,Gs=s.useCallback(async(e,n)=>{const l=n||rs||f;!l||!e.length||await Mt.start(l,e)},[rs,f,Mt.start]),Jl=s.useCallback(async e=>{try{await yh(e)}catch(n){Ot(n instanceof Error?n.message:o("fileTree.openInFileBrowserFailed")),window.setTimeout(()=>Ot(null),4e3)}},[o]),Ua=s.useCallback(e=>{e.preventDefault(),e.stopPropagation(),e.dataTransfer.types.includes("Files")&&$o(!0)},[]),Ql=s.useCallback(e=>{e.preventDefault(),e.stopPropagation(),$o(!1)},[]),Zl=s.useCallback(e=>{e.preventDefault(),e.stopPropagation(),$o(!1);const n=e.dataTransfer.files;n.length>0&&Gs(Array.from(n))},[Gs]),ri=s.useCallback(e=>{Un(e),window.setTimeout(()=>Un(n=>n===e?null:n),1400)},[]),Sr=s.useCallback(e=>{Oe(e),window.setTimeout(()=>Oe(n=>n===e?null:n),1400)},[]);s.useEffect(()=>{Nt(Ed,He)},[He]),s.useEffect(()=>{Nt(Ad,_n)},[_n]),s.useEffect(()=>{Nt(Td,Zt)},[Zt]),s.useEffect(()=>{ua(Ii,Xe,qm)},[Xe]),s.useEffect(()=>(Cl().catch(()=>{}),sd(e=>{e.type==="pinned-explorer-roots"&&Nl(e.pinnedExplorerRoots)})),[Cl,Nl]);const ec=s.useRef(crypto.randomUUID?.()??`draft-${Math.random().toString(36).slice(2)}`),_a=s.useRef(null),An=s.useRef(null),[tc,ni]=s.useState(!1);s.useEffect(()=>{if(!r)return;ni(!1);let e=!1;wh().then(l=>{e||(_a.current=l.text,pr(p=>l.text&&l.text!==p?l.text:p),ni(!0))}).catch(()=>{e||ni(!0)});const n=sd(l=>{l.type==="context-draft"&&l.origin!==ec.current&&(_a.current=l.text,pr(l.text))});return()=>{e=!0,n(),An.current!==null&&(window.clearTimeout(An.current),An.current=null)}},[r]),s.useEffect(()=>{if(!tc||_a.current===Xe)return;An.current!==null&&window.clearTimeout(An.current);const e=Xe;An.current=window.setTimeout(()=>{An.current=null,kh(e,ec.current).then(()=>{_a.current=e}).catch(()=>{})},500)},[Xe,tc]);const ms=s.useCallback(async(e,n,l,p,u)=>{if(!e)return!1;if(Pt(!1),p&&!Ci(p)())return Pt(!0),!1;if(Sh(l?e+l:e))return ri(n),!0;const b=a??Rr.getState().activeSessionId;if(u&&b&&jh(b)==="chat"){if(!await Hi(l?e+l:e,b,()=>bs.current&&b===Rr.getState().activeSessionId,p,{reference:u}))return Pt(!0),!1}else if(He)pr(x=>lm(x,e)+(l??"")),window.matchMedia("(pointer: coarse)").matches||(Qt(!1),As(x=>x+1));else{const x=a??Rr.getState().activeSessionId;if(!await Hi(l?e+l:e,x,()=>bs.current&&x===Rr.getState().activeSessionId,p,{reference:u}))return Pt(!0),!1}return ri(n),!0},[He,ri,a]),Oa=s.useCallback(e=>{const n=an(e,f);return Rh(n,f)},[f]),si=Zd(Sr),Wt=s.useCallback((e,n,l,p)=>{const u=an(e,f),b=ad(u,f),x={kind:p??(l?.closest("[data-file-tree-type]")?.dataset.fileTreeType==="directory"?"directory":"file"),path:u,text:b};return ms(b,n??`path:${u}`,void 0,l,x)},[f,ms]),gs=s.useRef({sessionId:a,contextDraftEnabled:He,isOpen:r});gs.current={sessionId:a,contextDraftEnabled:He,isOpen:r};const rf=s.useCallback(async(e,n)=>{const l=a??Rr.getState().activeSessionId,p=()=>bs.current&&gs.current.isOpen&&(gs.current.sessionId??Rr.getState().activeSessionId)===l&&Rr.getState().activeSessionId===l&&gs.current.contextDraftEnabled===He;await Mt.start("/tmp",[e],b=>Wt(b,`path:${b}`,n),p)&&p()&&V&&!He&&c()},[He,Wt,V,c,a,Mt.start]),qs=s.useRef(!0),Ha=s.useRef(a);Ha.current=a,s.useEffect(()=>(qs.current=!0,()=>{qs.current=!1}),[]);const nf=s.useCallback(e=>{ap.getState().enqueue(e,a??null,f||"/",async(n,l)=>{if(gs.current.contextDraftEnabled&&qs.current&&Ha.current===a){if(!await ai.current(ad(n,null),`path:${n}`,l))throw new Error(o("rightSidebar.uploadReferenceRejected"))}else return xd(n,a,l)})},[a,f,He,Wt,o]),sf=s.useCallback(async(e,n)=>{const l=Ci(n),u=(await Oi("/tmp",[e])).files[0]?.path;if(!u)throw new Error("截图上传未返回文件路径");if(!l()||!qs.current||Ha.current!==a||gs.current.contextDraftEnabled!==He)throw new Error(o("rightSidebar.uploadReferenceRejected"));if(He&&qs.current&&Ha.current===a){if(!await Wt(u,void 0,n))throw new Error(o("rightSidebar.uploadReferenceRejected"))}else await xd(u,a,n)},[He,Wt,a,o]),Or=s.useCallback((e,n,l,p)=>{if(!e)return Promise.resolve(!1);const u=e.includes(`
|
|
1712
|
+
`)?`
|
|
1713
|
+
`:void 0;return ms(e.endsWith(`
|
|
1714
|
+
`)||e.endsWith(" ")?e:`${e} `,n,u,l,p)},[ms]),ai=s.useRef(Or);ai.current=Or;const bs=s.useRef(!0);s.useEffect(()=>(bs.current=!0,()=>{bs.current=!1}),[]);const oi=s.useRef(new Set),za=s.useCallback((e,n,l,p)=>{if(oi.current.has(n))return!1;const u=Ci(p);if(!u())return!1;const b=a??Rr.getState().activeSessionId;return oi.current.add(n),Op(e,n,l,{insert:(x,z)=>Or(x,z,p,l?.reference),upload:async(x,z)=>(await Oi("/tmp",[x],z)).files[0]?.path,isCurrent:()=>u()&&bs.current&&ai.current===Or&&b===Rr.getState().activeSessionId}).catch(()=>(Pt(!0),!1)).finally(()=>oi.current.delete(n))},[Or,a]),Hr=s.useCallback((e,n,l,p)=>n?ms(n.endsWith(" ")?n:`${n} `,l??`context:${e}`,`
|
|
1715
|
+
`,p):Promise.resolve(!1),[ms]),rc=hm({text:Xe,sessionId:a??Rr.getState().activeSessionId,active:r&&He,onAccepted:()=>{cn(!1),pr(""),Zt&&Qt(!0)},onRejected:()=>{cn(!0),Qt(!1)}}),Ge=s.useMemo(()=>f?mt(f):o("rightSidebar.workspace"),[f,o]),af=s.useMemo(()=>mt(Q)||Ge,[Q,Ge]),Wa=s.useMemo(()=>ho(Q),[Q]),Ga=s.useMemo(()=>f?Rl[f]??[]:[],[Rl,f]),Tn=s.useMemo(()=>new Set(Ga.map(e=>e.path)),[Ga]),Ks=!!(Q&&Tn.has(Q)),ii=!!(f&&Q&&Q!==f),of=!!(f&&rs&&rs!==f),Lt=Q?`path:${Q}`:null,nc="context:change-audit",lf=s.useCallback(()=>{Wa&&At(Wa)},[Wa,At]),sc=s.useCallback(()=>{Pl()},[Pl]),cf=s.useCallback(()=>{Q&&(Os(Q,!0),Tl())},[Tl,Q,Os]),df=s.useCallback(()=>{!Q||!ii||(Ks?kn(Q):ns(Q,"directory"))},[ii,Q,Ks,ns,kn]),ac=s.useCallback(e=>{At(e),T("")},[At]),oc=s.useCallback(e=>{Q&&(ue(Wm(Q,e)),ae(!0),window.requestAnimationFrame(()=>{document.querySelector("[data-right-search]")?.focus()}))},[Q,ae]),ic=s.useCallback(e=>{!f||e===f||(Tn.has(e)?kn(e):ns(e,"directory"))},[ns,Tn,f,kn]),lc=s.useCallback(e=>{!f||!e||(Tn.has(e)?kn(e):ns(e,"file"))},[ns,Tn,f,kn]),cc=U(e=>e.expandedPaths),li=s.useMemo(()=>{const e=new Set;if(ur&&Q){e.add(Q);const n=`${Q.replace(/\/+$/,"")}/`;for(const l of cc)l.startsWith(n)&&e.add(l)}if(ur&&f&&ze){const n=ze.startsWith("/")?ze:`${f}/${ze}`,l=ho(n);l&&e.add(l)}return em(e).join(`
|
|
1716
|
+
`)},[cc,ur,Q,f,ze]),Mn=s.useRef(new Map);s.useEffect(()=>{const e=li?li.split(`
|
|
1717
|
+
`):[];if(!r||e.length===0){ts(null);return}const n=new AbortController;let l=!1,p=0,u=0;ts(null);const b=async()=>{let x=0;for(;!l&&!n.signal.aborted;){let z=null;try{ts(null),await Dh(e,de=>{const{applicableEvents:ye,unavailableReason:Be}=rm(de);ye.length>0&&El(ye);const O=new Set(ye.filter(B=>B.type==="rescan-required").map(B=>B.path));if(La)for(const B of ye){if(B.type==="created"||B.type==="updated"){const se=ho(B.path);se&&O.add(se)}B.path.endsWith("/.gitignore")&&Q&&Os(Q,!0)}for(const B of O){const se={path:B},we=U.getState();if(!we.directoryCache.has(se.path))continue;Mn.current.get(se.path)?.abort();const Pe=new AbortController;Mn.current.set(se.path,Pe);const Jc=`file-watch-rescan:${se.path}`;xt(Jc),Bh(se.path,Pe.signal,we.showHiddenFiles,"watch_rescan",Jc,we.fileSortModes[se.path]??"name",Q??void 0).then(ta=>{Mn.current.get(se.path)===Pe&&Al(se.path,ta.entries)}).catch(ta=>{Pr(ta)||ts(ta instanceof Error?ta.message:"File refresh unavailable")}).finally(()=>{Mn.current.get(se.path)===Pe&&Mn.current.delete(se.path)})}Be&&ts(Be)},n.signal),z=new Error("File watch stream ended")}catch(de){z=de}if(l||n.signal.aborted||Pr(z))return;ts(z instanceof Error?z.message:"File watching unavailable");const G=Md[Math.min(x,Md.length-1)];x+=1,await new Promise(de=>{u=window.setTimeout(de,G)})}};return p=window.setTimeout(()=>{l||b()},$i),()=>{l=!0,window.clearTimeout(p),window.clearTimeout(u),n.abort();for(const x of Mn.current.values())x.abort();Mn.current.clear()}},[El,r,Al,li,Q,La,Os]),s.useEffect(()=>{if(!f||Ko.current!==f)return;if(Vo.current===f){Vo.current=null;return}const e=Dd();ua(yu,{...e,[f]:{selectedRepoRoots:ya,repoTargetBranches:ir,repoBaseBranches:St,previewEntries:Kr,selectedPreviewKey:ne&&Bt?De:null,selectedPreviewFileKey:ne&&Bt?Po:null,previewDetailOpen:!!(ne&&Bt),previewScrollTops:Yr,previewMobileSlideIndex:1,repoIncludeUncommitted:mn,updatedAt:Date.now()}},Gm)},[Bt,mn,ne,Kr,Yr,St,ir,ya,f,Po,De]);const rt=s.useMemo(()=>Gd(Ne.values()),[Ne]),Ve=s.useMemo(()=>{const e=new Map;for(const n of Ce)e.set(n.root,n);return e},[Ce]),Vs=s.useMemo(()=>{const e=new Map;for(const n of Ce)n.deferred||e.set(n.root,n.files.length);return e},[Ce]),qa=s.useCallback(e=>{if(e){if(!e.deferred){zs.current.delete(e.root);return}Vs.has(e.root)||zs.current.has(e.root)||(zs.current.add(e.root),Tt(e.root,{includeNested:!1,background:!0,replaceRepoRoot:e.root}).then(n=>{n||zs.current.delete(e.root)}))}},[Tt,Vs]),fr=s.useMemo(()=>be?_e.find(e=>e.root===be)??null:null,[be,_e]),Gt=s.useMemo(()=>ze?Array.from(Ne.values()).find(e=>e.path===ze||e.absolutePath===ze)??null:null,[Ne,ze]),It=s.useMemo(()=>{const e=new Map;for(const n of Ce)n.available&&n.context?.available&&e.set(n.root,n);return e.size===0&&X?.available&&X.root&&e.set(X.root,{id:X.root,root:X.root,relativeRoot:".",name:Ge,depth:0,nested:!1,available:!0,files:Array.from(Ne.values()).filter(n=>it(n,f)===X.root),context:X}),Array.from(e.values()).sort((n,l)=>n.root===f?-1:l.root===f?1:(n.relativeRoot||n.name).localeCompare(l.relativeRoot||l.name)).map(n=>{const l=n.relativeRoot==="."?Ge:n.relativeRoot||n.name||mt(n.root),p=Wd(n.files),u=n.files.length;return{value:n.root,label:l,meta:[n.context?.branch,u>0?o("rightSidebar.repoChangedCount",{count:u}):null,p>0?o("rightSidebar.repoStagedCount",{count:p}):null].filter(Boolean).join(" · ")}})},[Ne,X,Ce,Ge,f,o]),fe=s.useMemo(()=>be&&It.some(e=>e.value===be)?be:Gt?.repoRoot&&It.some(e=>e.value===Gt.repoRoot)?Gt.repoRoot:It.length===1||It.length>1?It[0].value:null,[be,It,Gt?.repoRoot]),dc=fe?Ve.get(fe)??null:null,ee=dc?.context?.available?dc.context:fe===X?.root?X:null,Ue=It.length>0&&!fe,uc=s.useMemo(()=>Ue?[]:fe?Array.from(Ne.values()).filter(e=>it(e,f)===fe):Array.from(Ne.values()),[fe,Ne,Ue,f]),Ln=s.useMemo(()=>Gd(uc),[uc]),ci=!!(ee?.available&&ee.root&&fe&&ee.root===fe),uf=fe?It.find(e=>e.value===fe)?.label??mt(fe):o("rightSidebar.gitRepositoryPlaceholder"),fc=ci?ee?.branch??"HEAD":Ue?o("rightSidebar.selectRepositoryForGitActions"):vn?o("rightSidebar.gitActionRunning"):"HEAD",In=!!(ee?.available&&ee.root===fe&&ee.status);s.useEffect(()=>{va.current={count:Ee.length,loading:Le,loadingMore:ft,hasMore:Ds}},[Ee.length,Ds,Le,ft]),s.useEffect(()=>{_t.current+=1,gt.current?.abort(),xt("right-sidebar-recent-commits"),gt.current=null,M(""),Me([]),We(!1),or(!1),Fr(null),en(!1)},[fe]);const Ys=s.useCallback(async(e={})=>{if(!f||!fe||Ue)return;const n=e.reset??!1,l=va.current,p=n?0:l.count;if(!n&&(l.loading||l.loadingMore||!l.hasMore))return;const u=_t.current+1;_t.current=u,gt.current?.abort(),xt("right-sidebar-recent-commits");const b=new AbortController;gt.current=b,n?We(!0):or(!0),Fr(null);try{const x=await Ch({cwd:f,repoRoot:fe,limit:rg,skip:p,query:ie.trim(),requestSlotId:"right-sidebar-recent-commits"},b.signal);if(_t.current!==u)return;if(!x.available){Fr(x.error??"Recent commits are unavailable"),n&&Me([]),en(!1);return}qe(z=>n?x.commitSyncStatus??{}:{...z,...x.commitSyncStatus}),Me(z=>n?x.commits:[...z,...x.commits]),en(x.hasMore)}catch(x){if(_t.current!==u||Pr(x))return;Fr(x instanceof Error?x.message:"Failed to load recent commits"),n&&Me([]),en(!1)}finally{gt.current===b&&(gt.current=null),_t.current===u&&(We(!1),or(!1))}},[fe,ie,Ue,f]);s.useEffect(()=>{Zr&&Ys({reset:!0})},[ie,Ys,Zr,ee?.ahead,ee?.behind,ee?.upstream]);const ff=s.useCallback(e=>{const n=e.currentTarget;n.scrollTop+n.clientHeight<n.scrollHeight-48||Ys({reset:!1})},[Ys]);s.useEffect(()=>{!fe||!X?.available||!Je||!lr||In||vn||Ue||Qo(fe)},[fe,X?.available,In,vn,Je,lr,Qo,Ue]);const hc=r&&(Rt||Je);s.useEffect(()=>{!hc||!f||kr()},[hc,kr,f]),s.useEffect(()=>{!r||!Je||!lr||!Ie||!f||Da(null)},[Ie,Je,lr,r,Da,f]);const hf=s.useMemo(()=>{if(!be)return 0;const e=_e.findIndex(n=>n.root===be);return e>=0?e+1:0},[be,_e]),pc=s.useCallback(e=>{if(!e)return null;const n=Array.from(Ne.values()).filter(l=>it(l,f)===e).sort((l,p)=>l.path.localeCompare(p.path))[0];return n?Nr(n):null},[Ne,f]),$n=_e.length>1,Ka=s.useMemo(()=>[{root:null,label:o("rightSidebar.allRepositories"),count:Ne.size,branch:null,deferred:!1},..._e.map(e=>({root:e.root,label:e.label,count:e.deferred?Vs.get(e.root)??0:e.count,branch:e.branch??null,deferred:!!e.deferred&&!Vs.has(e.root)}))],[Ne.size,_e,Vs,o]),xs=Ka[hf]??Ka[0],Va=!!be,mc=s.useMemo(()=>Su(_e,Ce),[_e,Ce]);s.useEffect(()=>{Xo.current===f&&be&&!mc.has(be)&&Xt(null),Mr(e=>e.filter(n=>_e.some(l=>l.root===n)))},[be,_e,mc,f,Xt]),s.useEffect(()=>{be&&qa(Ve.get(be))},[be,qa,Ve]);const pf=s.useMemo(()=>{const e=new Set;ee?.branch&&e.add(ee.branch);for(const n of ee?.branches??[])e.add(n);return Array.from(e).map(n=>({value:n,label:n,meta:n===ee?.branch?o("rightSidebar.pushCurrentBranchBadge"):void 0}))},[ee?.branch,ee?.branches,o]),gc=s.useMemo(()=>{const e=new Set;ee?.upstreamRemote&&e.add(ee.upstreamRemote);for(const n of ee?.remotes??[])e.add(n);return Array.from(e).map(n=>({value:n,label:n,meta:n===ee?.upstreamRemote?o("rightSidebar.pushUpstreamBadge"):void 0}))},[ee?.remotes,ee?.upstreamRemote,o]),bc=gc.length>1,mf=s.useMemo(()=>{const e=[],n=new Set,l=(u,b)=>{!u||n.has(u)||(n.add(u),e.push({value:u,label:u,meta:b}))};l(ee?.upstreamBranch,ee?.upstreamBranch?o("rightSidebar.pushUpstreamBadge"):void 0),l(ee?.branch,ee?.branch?o("rightSidebar.pushCurrentBranchBadge"):void 0);for(const u of ee?.branches??[])l(u,u===ee?.branch?o("rightSidebar.pushCurrentBranchBadge"):"local");const p=ee?.upstreamRemote;for(const u of ee?.remoteBranches??[]){const b=u.indexOf("/"),x=b>=0?u.slice(0,b):null,z=b>=0?u.slice(b+1):u;(!p||x===p)&&l(z,"remote")}return e},[ee?.branch,ee?.branches,ee?.remoteBranches,ee?.upstreamBranch,ee?.upstreamRemote,o]),qt=s.useMemo(()=>It.map(e=>{const n=Ve.get(e.value);return{root:e.value,label:e.label,branch:n?.context?.branch??null}}),[It,Ve]);s.useEffect(()=>{qt.length!==0&&(wa(e=>{let n=!1;const l={...e},p=new Set(qt.map(u=>u.root));for(const u of Object.keys(l))p.has(u)||(delete l[u],n=!0);for(const u of qt)!l[u.root]&&u.branch&&(l[u.root]=u.branch,n=!0);return n?l:e}),ka(e=>{let n=!1;const l={...e},p=new Set(qt.map(u=>u.root));for(const u of Object.keys(l))p.has(u)||(delete l[u],n=!0);for(const u of qt){const b=Ve.get(u.root)?.context;if(l[u.root]&&ju(l[u.root],b?.branch)&&(delete l[u.root],n=!0),l[u.root])continue;const x=_d(b);x&&(l[u.root]=x,n=!0)}return n?l:e}))},[qt,Ve]);const Ya=s.useMemo(()=>{const e=new Set(qt.map(n=>n.root));return ya.filter(n=>e.has(n))},[ya,qt]),Xa=Ya.length===0,jr=s.useMemo(()=>Xa?qt:qt.filter(e=>Ya.includes(e.root)),[qt,Ya,Xa]),Xs=s.useMemo(()=>jr.filter(e=>!!St[e.root]?.trim()),[St,jr]),vs=s.useCallback((e,n)=>{const l=Ve.get(e)?.context?.branch;return!!(l&&n&&n.replace(/^refs\/heads\//,"")===l)},[Ve]),xc=s.useMemo(()=>jr.filter(e=>!St[e.root]?.trim()),[St,jr]),vc=s.useCallback(async e=>{if(!e||qo.current.has(e))return;const n=Ve.get(e)?.context;if((n?.branches?.length??0)>0||(n?.remoteBranches?.length??0)>0||n?.upstream)return;const l=f;qo.current.add(e),ul(p=>new Set(p).add(e));try{const p=await nd(e,void 0,"load_branch_audit_repo_details",`right-sidebar-branch-audit-details:${e}`);if(!p.available||!xe(l))return;hr(u=>u.map(b=>b.root===e?{...b,available:!0,context:{...b.context,...p},error:void 0}:b)),wa(u=>u[e]||!p.branch?u:{...u,[e]:p.branch}),ka(u=>{if(u[e])return u;const b=_d(p);return b?{...u,[e]:b}:u})}catch(p){Pr(p)||console.warn("[RightSidebar] Failed to load branch audit repo details",e,p)}finally{qo.current.delete(e),ul(p=>{const u=new Set(p);return u.delete(e),u})}},[Ve,xe,f]);s.useEffect(()=>{if(pn)for(const e of jr)vc(e.root)},[pn,jr,vc]),s.useEffect(()=>{!ci||!ee||(Na(ee.branch||(ee.branches?.[0]??"")),Pa(ee.upstreamRemote||(ee.remotes?.includes("origin")?"origin":ee.remotes?.[0]??"")),Ea(ee.upstreamBranch||ee.branch||(ee.branches?.[0]??"")))},[ee,ci]);const yc=s.useMemo(()=>{if(Ue)return{text:o("rightSidebar.selectRepositoryForGitActions"),className:"bg-[rgb(var(--warning-rgb)_/_0.12)] text-[color:var(--warning)]"};if(!In||vn)return{text:o("common.loading"),className:"bg-surface-2 text-muted-foreground"};if(!ee?.upstream)return{text:o("rightSidebar.pushNoUpstream"),className:"bg-surface-2 text-muted-foreground"};const e=ee.ahead??0,n=ee.behind??0;return e>0&&n>0?{text:o("rightSidebar.pushDivergedCount",{ahead:e,behind:n}),className:"bg-destructive/10 text-destructive"}:e>0?{text:o("rightSidebar.pushAheadCount",{count:e}),className:"bg-accent/10 text-accent"}:n>0?{text:o("rightSidebar.pushBehindCount",{count:n}),className:"bg-surface-2 text-[color:var(--diff-hunk-accent)]"}:{text:o("rightSidebar.pushUpToDate"),className:"bg-surface-2 text-muted-foreground"}},[ee?.ahead,ee?.behind,ee?.upstream,In,vn,Ue,o]),gf=s.useCallback(e=>{if(e&&!V){const n=e.currentTarget.getBoundingClientRect();Jt({x:Math.min(n.left,window.innerWidth-352),y:Math.min(n.bottom+6,window.innerHeight-64)})}else Jt(null);A?.()},[V,A]),di=s.useCallback(()=>{Jt(null),N?.()},[N]);function wc(){if(!$n)return null;const e=xs?.label??o("rightSidebar.allRepositories"),n=xs?.count??Ne.size,l=mt(e)||e;return t.jsxs("button",{type:"button",onClick:gf,className:`inline-flex h-7 min-w-0 max-w-[13rem] shrink-0 items-center gap-1.5 rounded-md border px-2 text-[11px] font-medium transition active:scale-95 ${S?"border-primary/25 bg-primary/10 text-primary":"border-border/10 bg-surface-2 text-muted-foreground hover:border-border/25 hover:bg-surface-elevated hover:text-foreground"}`,"aria-haspopup":"listbox","aria-expanded":S,title:e,children:[t.jsx(Cr,{size:12,className:"shrink-0"}),t.jsx("span",{className:"min-w-0 truncate",children:l}),t.jsx("span",{className:`shrink-0 rounded px-1.5 py-0.5 text-[10px] ${n>0?"bg-accent/10 text-accent":"bg-surface text-muted-foreground"}`,children:n}),t.jsx(ga,{size:12,className:"shrink-0"})]})}function bf(){if(!S||!$n||typeof document>"u")return null;const e=typeof window>"u"?1024:window.innerWidth,n=typeof window>"u"?768:window.innerHeight,l=Math.max(12,Math.min(zr?.x??e-368,e-352)),p=Math.max(12,Math.min(zr?.y??80,n-420)),u=V?void 0:{left:l,top:p},b=t.jsx("div",{className:`fixed inset-0 z-drawer-backdrop ${V?"bg-[var(--app-backdrop)]":"bg-transparent"}`,onClick:di,children:t.jsxs("div",{className:V?"fixed inset-x-0 bottom-0 z-drawer-panel max-h-[72vh] overflow-hidden rounded-t-2xl border-t border-border/20 bg-surface-elevated shadow-2xl":"fixed z-drawer-panel w-[21rem] max-w-[calc(100vw-1.5rem)] max-h-[min(26rem,calc(100vh-1.5rem))] overflow-hidden rounded-lg border border-border/20 bg-surface-elevated shadow-xl ring-1 ring-black/5",style:u,onClick:x=>x.stopPropagation(),children:[t.jsxs("div",{className:V?"flex items-center justify-between border-b border-border/15 px-4 py-3":"flex items-center justify-between border-b border-border/12 px-3 py-2",children:[t.jsxs("div",{children:[t.jsx("div",{className:V?"text-sm font-semibold text-foreground":"text-xs font-semibold text-foreground",children:o("rightSidebar.repositories")}),!V&&t.jsxs("div",{className:"mt-1 flex items-center gap-1.5",children:[t.jsx("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:Ka.length}),t.jsx("span",{className:`rounded px-1.5 py-0.5 text-[10px] ${Ne.size>0?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground"}`,children:Ne.size})]})]}),t.jsx("button",{type:"button",onClick:di,className:V?"rounded-full bg-surface-2 p-1.5 text-muted-foreground hover:bg-surface hover:text-foreground":"inline-flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground hover:bg-surface-2 hover:text-foreground","aria-label":o("rightSidebar.close"),children:t.jsx(Vt,{size:V?16:14})})]}),t.jsx("div",{className:V?"max-h-[calc(72vh-3.25rem)] overflow-y-auto overscroll-contain px-3 py-2 pb-[calc(env(safe-area-inset-bottom)+5.5rem)]":"max-h-[calc(min(26rem,100vh-1.5rem)-3.5rem)] overflow-y-auto overscroll-contain p-1.5",children:Ka.map(x=>{const z=(x.root??null)===be,G=mt(x.label)||x.label;return t.jsxs("button",{type:"button",onClick:()=>{Oc(x.root),di()},className:`group mb-0.5 flex w-full items-center gap-2 rounded-md text-left transition active:scale-[0.99] ${V?"px-3 py-2":"px-2 py-1.5"} ${z?"bg-primary/10 text-primary":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,title:x.label,role:"option","aria-selected":z,children:[t.jsx("span",{className:`h-7 w-1 shrink-0 rounded-full ${z?"bg-primary":"bg-transparent group-hover:bg-border/40"}`}),t.jsx("span",{className:`flex h-7 w-7 shrink-0 items-center justify-center rounded-md ${z?"bg-primary/10 text-primary":"bg-surface-2 text-muted-foreground group-hover:text-foreground"}`,children:t.jsx(Cr,{size:13})}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:`${V?"text-[13px]":"text-[12px]"} block truncate font-semibold leading-snug`,children:G}),t.jsx("span",{className:"block truncate text-[10px] leading-snug text-muted-foreground/70",children:x.root===null?o("rightSidebar.allRepositories"):x.label})]}),x.branch&&t.jsx("span",{className:"hidden max-w-[5.5rem] shrink min-w-0 truncate rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground sm:inline",children:x.branch}),x.deferred?t.jsx("span",{className:"shrink-0 rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground/70",children:o("rightSidebar.repoNotLoaded")}):t.jsx("span",{className:`shrink-0 rounded px-1.5 py-0.5 text-[10px] ${x.count>0?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground"}`,children:x.count})]},x.root??"all")})})]})});return pu(b,V,document.body)}function xf(){return bf()}function kc(e){const n=it(e,f),l=e.absolutePath||(n?`${n}/${e.path}`:e.path),p=go(l,n??f);return{key:Nr(e),path:e.path,absolutePath:l,displayName:p.name,displayDir:p.dir,oldPath:e.oldPath,status:e.status,title:l}}function Sc(e){return e.oldPath?t.jsx("span",{className:"block truncate text-[10px] text-muted-foreground/60",children:o("rightSidebar.changedFromPath",{path:e.oldPath})}):null}function Ja(e,n,l="file"){const p=an(e,f),u=`path:${p}`,b=Ye===u,x=W===u,z=b||x;return t.jsx("button",{type:"button",onClick:G=>{G.stopPropagation(),Wt(p,u,G.currentTarget,l)},...si(Oa(p),u),className:`inline-flex h-6 shrink-0 items-center justify-center overflow-hidden rounded-md text-[11px] font-semibold opacity-100 transition-[max-width,padding,opacity,transform,background-color,color] active:scale-95 ${z?"max-w-20 px-2":"max-w-20 px-2 md:max-w-0 md:px-0 md:opacity-0 md:group-hover:max-w-20 md:group-hover:px-2 md:group-hover:opacity-100"} ${z?"bg-surface-elevated text-foreground":"bg-primary/10 text-primary"}`,title:n,children:t.jsx("span",{className:"whitespace-nowrap",children:o(x?"rightSidebar.copied":b?"rightSidebar.inserted":"rightSidebar.insertFileRef")})})}function jc(e){const n=it(e,f),l=e.absolutePath||(n?`${n}/${e.path}`:e.path),p=qf(e),u=Ui(e);return t.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[t.jsx(Ig,{actions:p,running:Te,completed:Qn?.path===u?Qn:null}),Ja(l,o("rightSidebar.insertThisFile"))]})}function Rc(e,n){const l=n.root??f;if(!l)return null;const p=an(e,l);return Ja(p,o("fileTree.insertRefTitle"),"directory")}function Js(){return t.jsxs("div",{className:"inline-flex h-7 shrink-0 overflow-hidden rounded-full bg-surface-2 p-0.5","aria-label":o("diffViewer.view"),children:[t.jsx("button",{type:"button",onClick:()=>$c("unified"),"aria-pressed":sr==="unified",title:o("diffViewer.unifiedMode"),className:`inline-flex h-6 items-center rounded-full px-2 text-[10px] font-semibold transition active:scale-95 ${sr==="unified"?"bg-surface-elevated text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:o("diffViewer.unified")}),t.jsx("button",{type:"button",onClick:()=>$c("split"),"aria-pressed":sr==="split",title:o("diffViewer.splitMode"),className:`inline-flex h-6 items-center rounded-full px-2 text-[10px] font-semibold transition active:scale-95 ${sr==="split"?"bg-surface-elevated text-foreground shadow-sm":"text-muted-foreground hover:text-foreground"}`,children:o("diffViewer.split")})]})}function Cc(){return Qs.map(e=>{const n=Wd(e.files.map(([,b])=>b)),l=Zi({activeGitRepoRoot:be,groupCount:Qs.length,label:e.label,rootName:Ge}),p=!!(l&&e.root&&dn.has(e.root));return{key:e.root??e.label,root:e.root,label:e.label,branch:e.branch,collapsed:p,files:e.files.map(([,b])=>kc(b)),header:l?t.jsxs("div",{className:`flex w-full items-center gap-1.5 px-2 py-1.5 transition hover:bg-surface-2 ${p?"rounded-lg":"rounded-t-lg border-b border-border/10"}`,children:[t.jsxs("button",{type:"button",onClick:()=>Ff(e.root),"aria-expanded":!p,className:"flex min-w-0 flex-1 items-center gap-2 text-left active:scale-[0.99]",children:[t.jsx("span",{className:"shrink-0 text-muted-foreground",children:p?t.jsx(Ns,{size:13}):t.jsx(ga,{size:13})}),t.jsx(Cr,{size:12,className:"shrink-0 text-muted-foreground"}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block truncate text-[11px] font-semibold text-foreground",children:e.label}),e.branch&&t.jsx("span",{className:"block truncate text-[10px] text-muted-foreground",children:e.branch})]}),t.jsx("span",{className:"shrink-0 rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:e.files.length}),n>0&&t.jsx("span",{className:"shrink-0 rounded bg-accent/10 px-1.5 py-0.5 text-[10px] text-accent",children:n})]}),e.root&&t.jsxs(t.Fragment,{children:[t.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),so("stage-all",e.root,e.label)},disabled:!!Te,className:"rounded-full bg-accent/10 px-2 py-0.5 text-[10px] font-medium text-accent hover:bg-accent/20 disabled:opacity-50",title:o("rightSidebar.stageAll"),children:o("rightSidebar.stageAll")}),t.jsx("button",{type:"button",onClick:b=>{b.stopPropagation(),so("stash-all",e.root,e.label)},disabled:!!Te,className:"rounded-full bg-surface-2 px-2 py-0.5 text-[10px] font-medium text-foreground hover:bg-surface-elevated disabled:opacity-50",title:o("rightSidebar.stashAll"),children:o("rightSidebar.stashAll")})]})]}):null}})}const Fn=s.useMemo(()=>new Map(Array.from(Ne.values(),e=>[Nr(e),e])),[Ne]);function Nc(e){const n=Fn.get(e.key),l=n?it(n,f):null,p=zp(Ze,l,n?.path??e.path);return t.jsx(Vi,{changeStatus:e.status,auditStatus:p,renderChangeBadge:u=>t.jsx(fa,{status:u})})}const Qa=s.useCallback(e=>{if(V)return null;const n=Array.from(e.querySelectorAll("[data-diff-stream-item]"));if(n.length===0)return null;const p=e.getBoundingClientRect().top+48;let u=null,b=Number.POSITIVE_INFINITY;for(const z of n){const G=z.getBoundingClientRect();if(G.bottom<p)continue;const de=Math.abs(G.top-p);de<b&&(u=z,b=de)}const x=u?.dataset.diffSelectionPath??u?.dataset.diffStreamItem??null;return x?(Fa.current===x&&U.getState().selectedFilePath===x||(Fa.current=x,Ke(x)),x):null},[V,Ke]),vf=!!(!Te&&fe&&!Ue&&(ee?.upstream||yn.trim()&&wn.trim())),yf=!!(!Te&&fe&&!Ue&&(ee?.upstream||yn.trim()&&wn.trim())),wf=!!(!Te&&fe&&!Ue&&es.trim()&&es.trim()!==ee?.branch),Kt=s.useMemo(()=>{const e=Re.trim().toLowerCase(),n=Array.from(Ne.entries()).filter(([,l])=>!be||it(l,f)===be).sort(([l],[p])=>l.localeCompare(p));return e?n.filter(([l,p])=>`${l} ${p.path} ${p.status} ${p.repoRelativeRoot??""} ${p.repoName??""}`.toLowerCase().includes(e)):n},[be,Ne,Re,f]);s.useEffect(()=>{la("selected_file_state",{selectedFilePath:ze,selectedChangedFilePath:Gt?.path??null,selectedChangedFileAbsolutePath:Gt?.absolutePath??null,selectedChangedFileRepoRoot:Gt?.repoRoot??null,rootPath:f,activeGitRepoRoot:be,rightTab:Uo,effectiveRightTab:jt,diffPaneActive:Rt,changedFiles:Ne.size,filteredChangedFiles:Kt.length,gitBundleLoading:yr,gitBundleLastLoadedAt:ss})},[be,Ne.size,Rt,jt,Kt.length,ss,yr,Uo,f,Gt?.absolutePath,Gt?.path,Gt?.repoRoot,ze]);const Qs=s.useMemo(()=>{const e=new Map;for(const n of Kt){const[,l]=n,p=it(l,f),u=Mg(l)||Ge,b=p??u,x=p?Ve.get(p):void 0,z=e.get(b)??{root:p,label:u,branch:x?.context?.branch,files:[]};z.files.push(n),e.set(b,z)}return Array.from(e.values()).sort((n,l)=>n.label===Ge?-1:l.label===Ge?1:n.label.localeCompare(l.label))},[Kt,Ve,Ge,f]),Zs=s.useMemo(()=>{const e=[],n=new Map;for(const l of Kt)n.set(Nr(l[1]),l);for(const l of Qs){if(!!(l.root&&Zi({activeGitRepoRoot:be,groupCount:Qs.length,label:l.label,rootName:Ge})&&dn.has(l.root)))continue;if(nr!=="tree"){e.push(...l.files);continue}const u=l.files.map(([,b])=>kc(b));for(const b of Kh(u)){const x=n.get(b.key);x&&e.push(x)}}return e},[be,dn,nr,Qs,Kt,Ge]),Pc=s.useMemo(()=>Ne.size===0?[{key:"empty",path:"",status:"unknown",repoRoot:null,displayName:o("rightSidebar.noChanges"),diffOverride:"",auditRecords:[]}]:Zs.map(([,e])=>{const n=it(e,f),l=e.absolutePath||(n?`${n}/${e.path}`:e.path);return{key:Nr(e),path:e.path,absolutePath:l,status:e.status,repoRoot:n,displayName:go(l,n).name,displayDir:go(l,n).dir,auditRecords:Ze}}),[Ze,Ne.size,Zs,f,o]);s.useEffect(()=>{if(!Rt||Zs.length===0||V)return;const e=[],n=()=>{const l=document.querySelector(".termdock-diff-stream-scroller");if(l&&Qa(l))return;const p=document.querySelector("[data-diff-stream-item]"),u=p?.dataset.diffSelectionPath??p?.dataset.diffStreamItem??null;if(u){Fa.current=u,Ke(u);return}const b=Zs[0]?.[1];if(!b)return;const x=Nr(b);Fa.current=x,Ke(x)};for(const l of[80,240,600,1200])e.push(window.setTimeout(n,l));return()=>e.forEach(l=>window.clearTimeout(l))},[Rt,V,Zs,Ke,Qa]);const ui=s.useMemo(()=>{const e=x=>`'${x.replace(/'/g,"'\\''")}'`,n=dr.length>0?Nn:Ce.filter(x=>x.files.length>0),l=n.length>0?n:f?[{root:f,relativeRoot:".",name:Ge}]:[],p=l.length>0?l.map(x=>`- ${x.relativeRoot==="."?".":x.relativeRoot} (${x.root})`).join(`
|
|
1718
|
+
`):`- ${f?".":""}`,u=l.length>0?l.map(x=>` td audit-export ${e(x.root)}`).join(`
|
|
1719
|
+
`):" td audit-export",b=l.length>0?" td audit ~/.termdock/change-audit/payload-<repo>.json":" td audit ~/.termdock/change-audit/payload.json";return["任务:为目标仓库的 Git diff hunk 生成自包含审计解释,并通过 Termdock CLI 注入。","",`当前工作区:${f??""}`,"目标仓库:",p,"","执行步骤:","1. 仅对“目标仓库”逐个执行 audit-export。嵌套子仓使用括号内 repo 绝对路径作为命令参数。",u,"2. 先检查 audit-export 输出的 coverage[]:确认 untrackedFiles 是否为空、未跟踪文件是否已经出现在 hunks[].filePath 中;如果 coverage 显示存在未跟踪文件但 hunks[] 未包含对应文件,必须汇报导出异常,不要假装已解释。","3. 读取 audit-export 输出的全部 hunks[].diff,包含 tracked 与 untracked hunks;先理解整批改动的业务目标、行为变化、文件分工和跨 hunk 依赖。","4. 以 audit-export 内置 diff 为分析依据。仅在单个 hunk 信息不足时执行:td audit-show <hunkId> <对应仓库绝对路径>","5. 在 ~/.termdock/change-audit/ 生成批量 payload JSON。"," mkdir -p ~/.termdock/change-audit","6. payload 顶层字段:workspaceRoot、repoRoot、generatedBy、walkthrough、records[]。","7. walkthrough 必须先生成,用三层结构说明整批改动:highlights[] 面向不了解代码的人讲“改了什么/带来什么效果”;nodes[]/edges[] 表达关键链路;risks[]/checks[] 写真实风险和验证。节点可带 anchor,点击后会跳到对应 diff。","8. records[] 必须覆盖每个 hunk 内的多个 section,而不是只写 hunk 总结;从 audit-export hunk 原样复制 filePath、oldPath、newPath、hunkHeader、hunkIndex、fingerprint;如果解释的是 section,额外填写 sectionIndex 和 sectionFingerprint;补充 summary、explanation。","9. 写入 payload 后批量注入:",b,'10. 少量 hunk 或临时补单条时使用:printf "%s\\n" "这里写该 hunk 的改动意义" | td audit-explain <hunkId> <对应仓库绝对路径>',"11. 注入成功后清理本次 payload:rm -f ~/.termdock/change-audit/payload*.json","","payload.walkthrough 示例字段:","{",' "title": "一句话标题",',' "summary": "整批改动的目的和结果",',' "highlights": [{ "what": "改了什么", "effect": "用户或系统得到什么", "tag": "体验" }],',' "nodes": [{ "id": "n1", "title": "节点标题", "kind": "ui", "business": "零上下文业务解释", "anchor": { "repoRoot": "<repoRoot>", "filePath": "<filePath>", "hunkIndex": 0, "hunkFingerprint": "<fingerprint>", "sectionIndex": 0, "sectionFingerprint": "<sectionFingerprint>" } }],',' "edges": [{ "from": "n1", "to": "n2", "label": "调用/传递/消费", "desc": "这条关系的业务含义" }],',' "risks": [{ "title": "真实风险或口径疑问", "anchor": { "filePath": "<filePath>" } }],',' "checks": ["可执行验证动作"]',"}","","写作标准:","- summary:一句话概括该 hunk 在整批改动中的职责。","- explanation:自包含说明业务链路、该 hunk 的作用、解决的问题、与其它 hunk 的关系。","- walkthrough.highlights 必须大白话,不要堆文件名/函数名;只看 highlights 应该知道这次改动干嘛。","- walkthrough.nodes 优先对应方法、关键业务步骤或关键 section;每个有 anchor 的节点必须能跳回真实 diff。","- 面向不了解本轮对话的 AI 编写,补足必要上下文。","- 输出高信息量结论;避免铺垫、套话、流程复述、泛泛风险、逐行翻译 diff。","","完成条件:汇报每个目标仓库已注入的 hunk 数和总数。"].join(`
|
|
1720
|
+
`)},[dr.length,Nn,Ce,Ge,f]),kf=s.useCallback(async(e="generate",n)=>{if($n&&br.length===0&&!be){qn(!0);return}const l=e==="generate"?ui:[e==="regenerate"?"模式:重新生成。基于当前 audit-export 为全部 hunk 重新生成解释并覆盖写回。":"模式:补充失效。基于当前 audit-export 补充新增、变更或已失效的 hunk 解释;保留仍有效的解释。","",ui].join(`
|
|
1721
|
+
`);return Qe("insert_change_audit_prompt",{rootPath:f,activeGitRepoRoots:dr,mode:e,hasAuditListCommand:l.includes("td audit-list"),promptLength:l.length}),await Hr(o("rightSidebar.insertChangeAuditPrompt"),l,`${nc}:${e}`,n)?(kr(),m||c(),!0):!1},[be,ui,br.length,dr,Hr,kr,c,m,f,$n,o]),Za=s.useCallback(async e=>{try{await od({ids:[e]}),Ft(n=>n.filter(l=>l.id!==e))}catch{kr()}},[kr]),Sf=s.useCallback(async()=>{if(Ze.length===0)return;const e=Ze.map(n=>n.id);try{await od({ids:e}),Ft(n=>n.filter(l=>!e.includes(l.id))),Tr(null)}catch(n){const l=n instanceof Error?n.message:"Failed to clear change audit explanations";Tr(o("rightSidebar.changeAuditClearFailed",{message:l})),kr()}},[Ze,kr,o]),jf=s.useCallback(async e=>{if(e.records.length===0)return;const n=e.records.map(l=>l.id);try{await Nh({ids:n}),Kn(l=>l.filter(p=>!n.includes(p.id))),De===e.key&&(gn(null),wt(!1))}catch(l){Ot(o("rightSidebar.branchAuditClearFailed",{message:l instanceof Error?l.message:"Failed to clear branch explanation"})),Da(null)}},[Da,De,o]),Rf=s.useCallback(e=>{Mr(n=>e===null?(qn(!1),[]):n.includes(e)?n.filter(l=>l!==e):[...n,e])},[]),Cf=s.useCallback(e=>{Co(n=>e===null?(Ro(!1),[]):n.includes(e)?n.filter(l=>l!==e):[...n,e])},[]),fi=s.useMemo(()=>{if(!lr)return[];const e=n=>{const l=n.diff??"";let p=0,u=0;for(const b of l.split(`
|
|
1722
|
+
`))b.startsWith("+++")||b.startsWith("---")||(b.startsWith("+")&&(p+=1),b.startsWith("-")&&(u+=1));return{filePath:n.filePath,oldPath:n.oldPath,newPath:n.newPath,hunkHeader:n.hunkHeader,hunkIndex:n.hunkIndex??0,fingerprint:n.fingerprint,additions:p,deletions:u,diff:l}};return ne?(ne.hunks??[]).map(n=>{const l=ne.comparisonRepos&&ne.comparisonRepos.length>1?[...ne.comparisonRepos].sort((u,b)=>b.label.length-u.label.length).find(u=>n.filePath.startsWith(`${u.label}/`)):void 0,p=qr.find(u=>u.repoRoot===ne.repoRoot&&u.baseRef===ne.baseRef&&(u.branchName??null)===(ne.currentBranch??null)&&u.filePath===n.filePath&&u.hunkHeader===n.hunkHeader&&(u.hunkIndex??0)===n.hunkIndex&&u.fingerprint===n.fingerprint)??null;return{key:`${n.filePath}\0${n.hunkHeader}\0${n.hunkIndex}`,repoRoot:l?.repoRoot??ne.repoRoot,repositoryPath:l?n.filePath.slice(l.label.length+1):n.filePath,hunk:n.previewRevert&&!vs(n.previewRevert.cwd,n.previewRevert.comparisonBranch)?{...n,previewRevert:void 0}:n,current:p,stale:null}}):De?qr.filter(n=>Bd(n)===De).map(n=>{const l=e(n);return{key:`${n.filePath}\0${n.hunkHeader}\0${n.hunkIndex??0}`,hunk:l,current:n,stale:null}}):[]},[ne,qr,vs,lr,De]),hi=qr.length>0,ys=s.useMemo(()=>{if(!lr)return[];const e=new Map;for(const n of qr){const l=n.repoRoot,p=Ve.get(l),u=p?.relativeRoot==="."?Ge:p?.relativeRoot||p?.name||mt(l),b=Bd(n),x=e.get(b)??{key:b,repoRoot:l,repoLabel:u,baseRef:n.baseRef,branchName:n.branchName??null,headRef:n.headRef??null,diffFingerprint:n.diffFingerprint??null,records:[],latestInjectedAt:0};x.records.push(n),x.latestInjectedAt=Math.max(x.latestInjectedAt,n.injectedAt??0),e.set(b,x)}return Array.from(e.values()).sort((n,l)=>l.latestInjectedAt-n.latestInjectedAt)},[qr,Ve,lr,Ge]),pi=s.useMemo(()=>De?ys.find(e=>e.key===De)??null:null,[ys,De]),ea=ne?{repoRoot:ne.repoRoot??"",repoLabel:ne.repoRoot?Ve.get(ne.repoRoot)?.relativeRoot==="."?Ge:Ve.get(ne.repoRoot)?.relativeRoot||Ve.get(ne.repoRoot)?.name||mt(ne.repoRoot):Ge,baseRef:ne.baseRef??ne.baseBranch??"",branchName:ne.currentBranch??null,headRef:ne.headRef??null,diffFingerprint:ne.diffFingerprint??null}:pi,Nf=s.useMemo(()=>(ar?.hunks??[]).map(e=>({key:`${e.filePath}\0${e.hunkHeader}\0${e.hunkIndex}`,repoRoot:ar?.repoRoot,hunk:e,current:null,stale:null})),[ar?.hunks,ar?.repoRoot]),Pf=s.useMemo(()=>{if(ne)return[];const e=pi;return e?xa.filter(n=>n.repoRoot===e.repoRoot&&n.baseRef===e.baseRef&&(n.branchName??null)===e.branchName&&(!e.diffFingerprint||n.diffFingerprint===e.diffFingerprint)):[]},[ne,xa,pi]),Ef=s.useCallback(e=>{const n=fi.find(l=>l.hunk.filePath===e.filePath||(e.repoRoot?`${e.repoRoot}/${l.hunk.filePath}`===e.filePath:!1));n&&(bn(n.key),window.setTimeout(()=>Dn(e),90),window.setTimeout(()=>Dn(e),320),window.setTimeout(()=>Dn(e),760))},[fi]),mi=s.useMemo(()=>{const e=u=>`'${u.replace(/'/g,"'\\''")}'`,n=Xs,l=n.length>0?n.map(u=>`- ${u.label} (${u.root}),目标分支:${ir[u.root]||u.branch||"(current branch)"},基线分支:${St[u.root]||"(not set)"},包含本地未提交更改:${vs(u.root,ir[u.root]||u.branch)&&(mn[u.root]??!0)?"是":"否"}`).join(`
|
|
1723
|
+
`):`- ${f?".":""}`,p=n.length>0?n.map(u=>{const b=ir[u.root]||u.branch||"",x=St[u.root]||"",z=u.label.replace(/[^A-Za-z0-9_-]+/g,"_")||"repo";return[b?` git -C ${e(u.root)} switch ${e(b)}`:` # ${u.label}: keep current branch`," mkdir -p ~/.termdock/branch-audit",` td branch-audit-export ${e(x)} ${e(u.root)} > ~/.termdock/branch-audit/branch-audit-export-${z}.json`].join(`
|
|
1724
|
+
`)}).join(`
|
|
1725
|
+
`):" td branch-audit-export <base-branch>";return["解释目标仓库当前分支相对于基线分支的改动,并把解释写回 Termdock。","",`当前工作区:${f??""}`,"每个仓库分别遵循下面列出的本地未提交更改选项。","目标仓库:",l,"","操作指令:","1. 只针对上面列出的目标仓库导出分支 hunk,按各仓库所选目标分支与基线对比。本地未提交更改标记为是的仓库纳入 staged/unstaged/untracked 改动;标记为否的仓库只解释提交改动,忽略导出中混入的本地改动。嵌套子仓或软链接子仓使用括号内的仓库绝对路径。示例:",p,"2. 读取导出的 ~/.termdock/branch-audit/branch-audit-export*.json 中的 hunks[],不要把临时 JSON 放到业务仓目录,也不要把整份 JSON 粘贴回输入框。导出工具使用 base...HEAD(三点)生成 diff,只表示当前分支独有改动;提交列表使用 base..HEAD(两点)。","3. 先生成 walkthrough,用 highlights[] 说明整批分支改动目的和影响,用 nodes[]/edges[] 画出主链路、分支链路和验证链路;节点可带 anchor,点击后会跳到对应 diff。","4. 逐个 hunk 写解释。解释要说明该 hunk 的意图、解决的问题、影响、风险,以及它和其它 hunk 的关系;不要逐行复述 diff。","5. 每个仓库分别生成 ~/.termdock/branch-audit/payload-<repo>.json,payload 必须包含 workspaceRoot、repoRoot、baseRef、branchName、headRef、diffFingerprint、walkthrough 和 records[];records[] 每条 record 对应一个 hunk,diff 字段必须从 hunk.diff 原样复制。","6. 把解释写入 payload 后执行:td branch-audit ~/.termdock/branch-audit/payload-<repo>.json","7. 注入成功后删除本次生成的临时 JSON:rm -f ~/.termdock/branch-audit/branch-audit-export-*.json ~/.termdock/branch-audit/payload-*.json","","payload 示例:","```json",JSON.stringify({workspaceRoot:f??null,repoRoot:"<target repo root>",baseRef:"<target repo base branch>",branchName:"<from export currentBranch>",headRef:"<from export headRef>",diffFingerprint:"<from export diffFingerprint>",generatedBy:"termdock-branch-audit",walkthrough:{title:"<one-line branch change title>",summary:"<branch change goal and effect>",highlights:[{what:"<what changed>",effect:"<user/system effect>",tag:"<category>"}],nodes:[{id:"n1",title:"<node title>",kind:"process",business:"<zero-context business explanation>",anchor:{repoRoot:"<target repo root>",filePath:"<from hunk.filePath>",hunkIndex:0,hunkFingerprint:"<from hunk.fingerprint>"}}],edges:[{from:"n1",to:"n2",label:"<relationship>",desc:"<business meaning>"}],risks:[{title:"<real risk or validation gap>"}],checks:["<executable validation step>"]},records:[{filePath:"<from hunk.filePath>",oldPath:"<from hunk.oldPath or null>",newPath:"<from hunk.newPath or null>",hunkHeader:"<from hunk.hunkHeader>",hunkIndex:0,fingerprint:"<from hunk.fingerprint>",diff:"<copy from hunk.diff exactly>",explanation:"<replace with hunk explanation>",summary:""}]},null,2),"```"].join(`
|
|
1726
|
+
`)},[mn,vs,Xs,St,ir,f]),Af=s.useCallback(async(e="generate",n)=>{const l=e==="generate"?mi:[e==="regenerate"?"模式:重新生成。请基于当前分支导出结果重新生成全部 hunk 解释并覆盖写回。":"模式:补充失效。请基于当前分支导出结果只补充新增、变更或已失效的 hunk 解释,仍有效的解释不要重复写回。","",mi].join(`
|
|
1727
|
+
`);return await Hr(o("rightSidebar.branchAuditShort"),l,`context:branch-audit-scope:${e}`,n)?(m||c(),!0):!1},[mi,Hr,c,m,o]),gi=s.useCallback(async(e={})=>{const n=e.refresh===!0,l=n&&ne?.comparisonRepos?ne.comparisonRepos:Xs.map(x=>{const z=(ir[x.root]||x.branch||"").trim();return{repoRoot:x.root,label:x.label,base:St[x.root]?.trim()??"",head:z||null,includeUncommitted:mn[x.root]??!0}});if(!f||l.length===0)return;const p=++kt.current,u=f,b=()=>xe(u)&&p===kt.current;xr(!0),Ut(null),n||(ut(null),Lr(null));try{const x=await Promise.all(l.map(async O=>{if(!O.base)throw new Error(o("rightSidebar.branchAuditMissingBase",{repo:O.label}));return id({cwd:f,repoRoot:O.repoRoot,base:O.base,head:O.head,includeUncommitted:e.repoRoot===O.repoRoot?e.includeUncommitted??!1:O.includeUncommitted??ne?.includeUncommitted??!0,requestSlotId:`right-sidebar-branch-preview:${O.repoRoot}`})}));if(!b())return;const z=x.find(O=>!O.available);if(z){Ut(z.error??"Branch diff is unavailable");return}const G=x.length===1?x[0]:{available:!0,workspaceRoot:f,repoRoot:f,baseRef:x.map(O=>O.baseRef??O.baseBranch).filter(Boolean).join(", "),currentBranch:x.map(O=>O.currentBranch??"HEAD").filter(Boolean).join(", "),headRef:x.map(O=>O.headRef).filter(Boolean).join(", "),diffFingerprint:x.map(O=>O.diffFingerprint).filter(Boolean).join("+"),stat:x.map(O=>O.stat).filter(Boolean).join(`
|
|
1728
|
+
`),files:x.flatMap((O,B)=>{const se=l[B];return(O.files??[]).map(we=>`${se?.label??O.repoRoot??"repo"}/${we}`)}),hunks:x.flatMap((O,B)=>{const we=l[B]?.label??O.repoRoot??"repo";return(O.hunks??[]).map(Fe=>({...Fe,filePath:`${we}/${Fe.filePath}`,oldPath:Fe.oldPath?`${we}/${Fe.oldPath}`:Fe.oldPath,newPath:Fe.newPath?`${we}/${Fe.newPath}`:Fe.newPath}))}),commits:x.flatMap(O=>O.commits??[]),commitCount:x.reduce((O,B)=>O+(B.commitCount??B.commits?.length??0),0),diff:x.map(O=>O.diff).filter(Boolean).join(`
|
|
1729
|
+
`),truncated:x.some(O=>O.truncated)};if(G.comparisonRepos=l.map((O,B)=>({...O,head:O.head??x[B].currentBranch??null,includeUncommitted:x[B].includeUncommitted===!0,canIncludeUncommitted:x[B].canIncludeUncommitted})),G.canIncludeUncommitted=x.every(O=>O.canIncludeUncommitted===!0),G.includeUncommitted=x.some(O=>O.includeUncommitted===!0),No(O=>({...O,...Object.fromEntries(G.comparisonRepos.map(B=>[B.repoRoot,B.includeUncommitted??!1]))})),!n&&(G.hunks??[]).length===0){Ut(o("rightSidebar.branchAuditDiffEmpty"));return}const de=Date.now(),ye=(n?De:null)??["preview",G.repoRoot??f,G.baseRef??G.baseBranch??"",G.currentBranch??"",G.headRef??"",G.diffFingerprint??de].join("\0"),Be=l.length===1?l[0].label:`${l.length} repos`;ut(G),Vr(O=>[{key:ye,diff:G,repoLabel:Be,createdAt:de},...O.filter(B=>B.key!==ye)].slice(0,8)),n||Xr(O=>O[ye]===void 0?O:{...O,[ye]:0}),gn(ye),bn(O=>{const B=G.hunks?.[0],se=B?`${B.filePath}\0${B.hunkHeader}\0${B.hunkIndex}`:null;return n&&O&&(G.hunks??[]).some(we=>we.filePath===O.split("\0")[0])?O:se}),wt(!0)}catch(x){if(!b()||Pr(x))return;Ut(x instanceof Error?x.message:"Failed to load branch diff")}finally{b()&&xr(!1)}},[mn,ne,De,Xs,St,ir,xe,f,o]),Tf=s.useCallback(e=>{++kt.current,xr(!1),ut(e.diff),Ut(null),gn(e.key),bn(e.diff.hunks?.[0]?`${e.diff.hunks[0].filePath}\0${e.diff.hunks[0].hunkHeader}\0${e.diff.hunks[0].hunkIndex}`:null),wt(!0)},[]),Mf=s.useCallback(e=>{Vr(n=>n.filter(l=>l.key!==e)),Xr(n=>{if(!(e in n))return n;const l={...n};return delete l[e],l}),De===e&&(gn(null),ut(null),wt(!1))},[De]),Lf=s.useCallback(e=>{++kt.current,xr(!1);const n=ys.find(l=>l.key===e);n&&(ut(null),Ut(null),gn(e),bn(n.records[0]?.filePath??null),wt(!0))},[ys]),If=s.useCallback(async e=>{if(!f||!fe)return;const[n]=e.split(/\s+/);if(n){Qr(n),Ir(null),Lr(null);try{const l=await Ph({cwd:f,repoRoot:fe,commit:n,requestSlotId:"right-sidebar-commit-diff"});if(!l.available){Ir(l.error??"Commit diff is unavailable");return}Lr(l);const p=l.hunks?.[0];H(p?`${p.filePath}\0${p.hunkHeader}\0${p.hunkIndex}`:null)}catch(l){Ir(l instanceof Error?l.message:"Failed to load commit diff")}finally{Qr(null)}}},[fe,f]),$f=s.useCallback(e=>{if(!ne||!De)return;const n=Math.max(0,Math.round(e));Xr(l=>Math.abs((l[De]??0)-n)<24?l:{...l,[De]:n})},[ne,De]);s.useEffect(()=>{!ne||!De||Vr(e=>e.map(n=>n.key===De&&n.diff!==ne?{...n,diff:ne}:n))},[ne,De]);const Ec=!!ne;s.useEffect(()=>{if(!V||!Bt||!Ec)return;const e=Hl.current;if(!e||e.destroyed)return;e.update(),e.slideTo(1,0);const n=window.requestAnimationFrame(()=>{e.destroyed||(e.update(),e.slideTo(1,0))});return()=>window.cancelAnimationFrame(n)},[Bt,Ec,V]);const Ac=s.useCallback(e=>{e&&Ou(n=>Vh(n,e))},[]),Tc=Aa.key===ze?Aa.key:null,eo=s.useCallback(e=>{const n=U.getState(),l=Hg();la("select_diff_file",{interactionId:l,path:e,previousSelectedFilePath:n.selectedFilePath,rootPath:n.rootPath,activeGitRepoRoot:be,changedFiles:n.changedFiles.size,gitBundleLoading:n.gitBundleLoading,gitBundleLastLoadedAt:n.gitBundleLastLoadedAt,rightTab:n.rightTab}),Ke(e),Et("diff"),V&&e&&Gl(1),Ac(e),queueMicrotask(()=>{const p=U.getState();la("select_diff_file_after",{interactionId:l,requestedPath:e,selectedFilePath:p.selectedFilePath,rootPath:p.rootPath,rightTab:p.rightTab,changedFiles:p.changedFiles.size,activeGitRepoRoot:be})})},[be,V,Ac,Ke,Et,Gl]),Mc=s.useCallback(e=>{const n=Array.from(Ne.values()).find(l=>{const p=it(l,f),u=Nr(l);return l.path===e.filePath||u===e.filePath||l.absolutePath===e.filePath||(p?`${p}/${l.path}`===e.filePath:!1)||e.repoRoot&&p===e.repoRoot&&l.path===e.filePath});if(n){eo(Nr(n)),window.setTimeout(()=>Dn(e),90),window.setTimeout(()=>Dn(e),320),window.setTimeout(()=>Dn(e),760);return}Dn(e)},[Ne,f,eo]),Lc=s.useCallback(({slideToDetail:e,fullscreen:n,toggleFullscreen:l}={})=>Ls.length>0?t.jsx(nu,{walkthroughs:Ls,repoRoot:be,fullscreen:n,onToggleFullscreen:l,onNavigate:p=>{V&&window.requestAnimationFrame(()=>e?.()),Mc(p)}}):t.jsxs("div",{className:"rounded-lg border border-border/15 bg-surface px-3 py-6 text-center text-xs text-muted-foreground",children:[t.jsx(pa,{size:18,className:"mx-auto mb-2 text-muted-foreground/80"}),o("rightSidebar.changeWalkthroughEmpty")]}),[be,Ls,Mc,V,o]),Ff=s.useCallback(e=>{e&&Hn(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),Fi(Mi,l),l})},[]),Ic=s.useCallback(e=>{ko(n=>{const l=new Set(n);return l.has(e)?l.delete(e):l.add(e),Fi(Pd,l),l})},[]),to=s.useCallback(e=>{Ms(e),Nt(gu,e)},[]);s.useEffect(()=>{Va||nr!=="ai"||to("tree")},[nr,to,Va]);const ro=s.useCallback(()=>{un(e=>{const n=!e;return Nt(bu,n),n})},[]),$c=s.useCallback(e=>{fn(e),Nt(xu,e)},[]),{whitespace:Fc,context:Dc}=Xh(),Bc=s.useMemo(()=>({algorithm:"histogram",whitespace:Fc,context:Dc}),[Fc,Dc]),Uc=s.useCallback(e=>{J(e),Nt(vu,e)},[]),no=s.useCallback(async(e,n,l,p)=>{let u=e;for(;u.ok&&u.status==="running";)await new Promise(x=>window.setTimeout(x,1500)),u=await ld({jobId:u.jobId,cwd:n.cwd,action:n.action});if(!u.ok)throw new Error("Git action status is unavailable");if(u.status==="error")throw new Error(u.error||u.message||"Git action failed");const b={action:n.action,path:p,label:l};return _s(b),window.setTimeout(()=>_s(x=>x?.action===b.action&&x.path===b.path?null:x),1400),u},[]),pt=s.useCallback(async(e,n,l)=>{const p=f;f&&wr.current.delete(f),Ot(null),_s(null),Us({action:e.action,path:l});try{const u=await Eh({...e,includeNested:sa(f)}),b=await no(u,e,n,l);if(!xe(p))return!1;const x=f?await Ri(f,void 0,{includeNested:sa(f),cacheOnly:!0,action:"git_action_cache_sync",requestSlotId:oa(f)}).catch(()=>b.bundle):b.bundle;return xe(p)?(x&&cs(x,{reloadDiff:!0,cacheOnly:!0}),xn(null),!0):!1}catch(u){return _s(null),Ot(o("rightSidebar.gitActionFailed",{message:u instanceof Error?u.message:"Unknown error"})),!1}finally{xe(p)&&Us(null)}},[cs,xe,f,o,no]),_c=s.useCallback(async e=>{const n=f;await cd({...e,includeNested:sa(f)}),xe(n)&&Tt(f??void 0,{refresh:!0,background:!0})},[xe,Tt,f]),Df=s.useCallback(async e=>{const n=ne,l=kt.current,p=n?.hunks?.find(b=>b.previewRevert?.cwd===e.cwd&&b.previewRevert.path===e.path);if(!n||!p||!e.comparisonBase)throw new Error(o("diffViewer.hunkActionUnavailable"));Jr(b=>b+1),Ut(null);try{await cd(e)}catch(b){throw Jr(x=>x-1),b}if(l!==kt.current||!xe(f)){Jr(b=>b-1);return}const u=b=>{ut(x=>{if(!x||l!==kt.current)return x;const z=x.hunks??[],G=b===void 0?z.filter(ye=>!(ye.previewRevert?.cwd===e.cwd&&ye.previewRevert.patch===e.patch)):[...z.filter(ye=>ye.filePath!==p.filePath),...b];return{...x,hunks:G}})};u(),id({cwd:e.cwd,repoRoot:e.cwd,base:e.comparisonBase,comparisonBase:e.comparisonBase,filePath:e.path,requestSlotId:`branch-preview-file:${e.cwd}:${e.path}`}).then(b=>{if(l!==kt.current||!xe(f))return;if(!b.available||b.truncated)throw new Error(b.error??o("diffViewer.hunkActionUnavailable"));const x=e.path.slice(e.cwd.length+1),z=p.filePath.slice(0,p.filePath.length-x.length);u((b.hunks??[]).map(G=>({...G,filePath:`${z}${G.filePath}`,oldPath:G.oldPath?`${z}${G.oldPath}`:G.oldPath,newPath:G.newPath?`${z}${G.newPath}`:G.newPath})))}).catch(b=>{l===kt.current&&xe(f)&&!Pr(b)&&Ut(`${o("diffViewer.hunkActionReverted")} · ${b instanceof Error?b.message:String(b)}`)}).finally(()=>Jr(b=>b-1))},[ne,xe,f,o]),so=s.useCallback((e,n,l)=>{if(n){if(e==="stage-all"){pt({action:"stage-all",cwd:n},o("rightSidebar.stageAll"),`repo:${n}`);return}xn({kind:"stash-all",repoRoot:n,repoLabel:l})}},[pt,o]),Oc=s.useCallback(e=>{Xt(e),Na(""),Pa(""),Ea(""),Ke(pc(e)),Je||Et("diff"),e&&qa(Ve.get(e))},[qa,pc,Je,Ve,Ke,Xt,Et]),Hc=s.useCallback(e=>{const n=new Set([...zt.current.keys(),...Rn.current,...wr.current]);for(const l of n)l!==e&&(Ht.current.delete(l),zt.current.get(l)?.abort(),zt.current.delete(l),xt(`right-sidebar-git-untracked:${l}`),Rn.current.delete(l),wr.current.delete(l))},[]),Bf=s.useCallback(async e=>{const n=f;if(!n||(await U.getState().setNestedGitScanRoot(n,e),!xe(n)))return;if(e){await Tt(n,{includeNested:!0,discoverOnly:!0,replaceWorkspace:!0,background:!0,reloadDiff:!0});return}Hc(n),Na(""),Pa(""),Ea(""),Co(p=>p.filter(u=>u===n));const l=Gt;l&&it(l,n)!==n&&Ke(null),await Tt(n,{includeNested:!1,replaceWorkspace:!0,background:!0,reloadDiff:!0})},[Hc,xe,Tt,f,Ke,Gt]),Uf=s.useCallback(async()=>{if(!fe||Ue){Ot(o("rightSidebar.selectRepositoryForGitActions"));return}const e=es.trim();!e||e===ee?.branch||await pt({action:"switch-branch",cwd:fe,branch:e},o("rightSidebar.switchBranch"))},[ee?.branch,fe,Ue,pt,es,o]),zc=s.useCallback(async()=>{if(!fe||Ue){Ot(o("rightSidebar.selectRepositoryForGitActions"));return}const e=Ca.trim();if(!e)return;await pt({action:"commit",cwd:fe,message:e},o("rightSidebar.commitChanges"))&&xl("")},[fe,Ca,Ue,pt,o]),_f=s.useCallback(async()=>{if(!fe||Ue){Ot(o("rightSidebar.selectRepositoryForGitActions"));return}const e=yn.trim(),n=wn.trim();await pt({action:"push",cwd:fe,...e?{remote:e}:{},...n?{branch:n}:{}},o("rightSidebar.pushChanges"))},[fe,wn,yn,Ue,pt,o]),Of=s.useCallback(async()=>{if(!fe||Ue){Ot(o("rightSidebar.selectRepositoryForGitActions"));return}const e=yn.trim(),n=wn.trim();await pt({action:"pull",cwd:fe,...e?{remote:e}:{},...n?{branch:n}:{}},o("rightSidebar.pullChanges"))},[fe,wn,yn,Ue,pt,o]);s.useEffect(()=>{if(!Je||!fe||Te)return;let e=!1;const n={push:o("rightSidebar.pushChanges"),pull:o("rightSidebar.pullChanges"),commit:o("rightSidebar.commitChanges"),"switch-branch":o("rightSidebar.switchBranch"),"stage-all":o("rightSidebar.stageAll"),"stash-all":o("rightSidebar.stashAll")};return(async()=>{for(const l of["push","pull","commit","switch-branch","stage-all","stash-all"]){if(e)return;const p=await ld({cwd:fe,action:l}).catch(()=>null);if(!p?.ok||p.status!=="running")continue;const u={action:l,cwd:fe},b=n[l]??l;Us({action:l});try{const x=await no(p,u,b);if(e||!xe(f))return;const z=f?await Ri(f,void 0,{includeNested:sa(f),cacheOnly:!0,action:"git_action_cache_sync",requestSlotId:oa(f)}).catch(()=>x.bundle):x.bundle;z&&cs(z,{reloadDiff:!0,cacheOnly:!0})}catch(x){e||Ot(o("rightSidebar.gitActionFailed",{message:x instanceof Error?x.message:"Unknown error"}))}finally{e||Us(null)}return}})(),()=>{e=!0}},[fe,cs,Je,xe,f,Te,o,no]);const bi=Qn?.action==="commit",xi=Qn?.action==="switch-branch",vi=Qn?.action==="pull",yi=Qn?.action==="push",ao=Je||Uu,wi=Xa?o("rightSidebar.changeAuditScopeAll"):jr.length===1?jr[0].label:`${jr.length} repos`,Hf=jr.length>0,Wc=Xs.length>0,zf=f?t.jsx(Od,{open:pn,onOpenChange:Ro,showScopePicker:!0,selectedAll:Xa,repos:qt,selectedRoots:Ya,onToggleRepo:Cf,onGenerate:e=>Af(hi?"regenerate":"generate",e),disabled:!Hf,generateDisabled:!Wc,inserted:Ye?.startsWith("context:branch-audit-scope:")??!1,buttonLabel:o(hi?"rightSidebar.branchAuditRegenerate":"rightSidebar.branchAuditGenerate"),insertedLabel:o("rightSidebar.inserted"),title:o("rightSidebar.branchAuditGenerateTitle"),ariaLabel:o("rightSidebar.branchAuditShort"),scopeTitle:o("rightSidebar.changeAuditScopeLabel"),scopeLabel:wi,allLabel:o("rightSidebar.changeAuditScopeAll"),generateLabel:o(hi?"rightSidebar.branchAuditRegenerate":"rightSidebar.branchAuditGenerate"),onSecondaryAction:()=>{gi()},secondaryDisabled:!Wc||Xn,secondaryLabel:o("rightSidebar.branchAuditViewDiff"),secondaryTitle:o("rightSidebar.branchAuditViewDiffTitle"),secondaryLoading:Xn,loading:dl.size>0,statusTitle:dl.size>0?o("rightSidebar.branchCandidatesLoading"):void 0,extraContent:t.jsx("div",{className:"mb-2 space-y-1.5",children:xc.length>0&&t.jsx("div",{className:"rounded-md bg-[rgb(var(--warning-rgb)_/_0.12)] px-2 py-1.5 text-[10px] text-[color:var(--warning)]",children:o("rightSidebar.missingBaseReposSkipped",{repositories:xc.map(e=>e.label).join(K==="zh"?"、":", ")})})}),renderRepoExtra:e=>{const n=Ve.get(e.root),l=vs(e.root,ir[e.root]||n?.context?.branch),p=[],u=new Set,b=(de,ye)=>{!de||u.has(de)||(u.add(de),p.push({value:de,label:de,meta:ye}))};b(ir[e.root]||n?.context?.branch,o("rightSidebar.pushCurrentBranchBadge"));for(const de of n?.context?.branches??[])b(de,de===n?.context?.branch?o("rightSidebar.pushCurrentBranchBadge"):o("rightSidebar.localBranch"));for(const de of n?.context?.remoteBranches??[])b(de,o("rightSidebar.remoteBranch"));const x=[],z=new Set,G=(de,ye)=>{!de||z.has(de)||(z.add(de),x.push({value:de,label:de,meta:ye}))};G(St[e.root],St[e.root]?o("rightSidebar.pushUpstreamBadge"):void 0),G(n?.context?.upstream,n?.context?.upstream?o("rightSidebar.pushUpstreamBadge"):void 0);for(const de of n?.context?.remoteBranches??[])G(de,"remote");for(const de of n?.context?.branches??[])G(de,de===n?.context?.branch?o("rightSidebar.pushCurrentBranchBadge"):"local");return t.jsxs("div",{className:"grid grid-cols-1 gap-1.5 sm:grid-cols-2",children:[t.jsx(Rs,{label:o("rightSidebar.currentBranchLabel"),value:ir[e.root]||n?.context?.branch||"",options:p,placeholder:o("rightSidebar.switchBranchPlaceholder"),searchPlaceholder:o("rightSidebar.switchBranchSearchPlaceholder"),emptyText:o("rightSidebar.switchNoBranches"),onChange:de=>{wa(ye=>({...ye,[e.root]:de}))}}),t.jsx(Rs,{label:o("rightSidebar.branchAuditBaseLabel"),value:St[e.root]||"",options:x,placeholder:o("rightSidebar.branchAuditBasePlaceholder"),searchPlaceholder:o("rightSidebar.branchAuditBaseSearchPlaceholder"),emptyText:o("rightSidebar.branchAuditBaseEmpty"),onChange:de=>{ka(ye=>({...ye,[e.root]:de}))}}),t.jsxs("label",{className:"sm:col-span-2 flex cursor-pointer items-center justify-between gap-3 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-foreground",children:[t.jsxs("span",{className:"min-w-0",children:[t.jsx("span",{className:"block font-medium",children:o("rightSidebar.includeUncommitted")}),t.jsx("span",{className:"block truncate text-[10px] text-muted-foreground",children:o(l?"rightSidebar.includeUncommittedHint":"rightSidebar.includeUncommittedCurrentBranchOnly")})]}),t.jsx("input",{type:"checkbox",checked:l&&(mn[e.root]??!0),disabled:!l,onChange:de=>No(ye=>({...ye,[e.root]:de.target.checked})),className:"h-4 w-4 shrink-0 accent-[rgb(var(--primary-rgb))]"})]})]})}}):null,Gc=ia(Ze.reduce((e,n)=>Math.max(e,n.injectedAt??0),0),K),Wf=()=>f?t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("button",{type:"button",onClick:()=>vr(e=>{const n=!e;return Nt(Li,n),n}),className:"group flex w-full items-center gap-2 rounded-lg px-1 py-1.5 text-left transition hover:bg-surface-2 active:scale-[0.99]","aria-expanded":Ie,children:[t.jsx("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md bg-surface-2 text-muted-foreground group-hover:text-foreground",children:t.jsx(pa,{size:14})}),t.jsxs("span",{className:"min-w-0 flex-1",children:[t.jsx("span",{className:"block truncate text-[12px] font-semibold text-foreground",children:o("rightSidebar.branchAuditTitle")}),t.jsx("span",{className:"block truncate text-[11px] text-muted-foreground",children:wi})]}),t.jsx("span",{className:`flex h-6 w-6 shrink-0 items-center justify-center rounded-md text-muted-foreground transition group-hover:bg-surface-elevated group-hover:text-foreground ${Ie?"rotate-90":""}`,children:t.jsx(Ns,{size:13})})]}),Ie&&t.jsxs("div",{className:"mt-2 rounded-lg border border-border/10 bg-surface/60 p-2",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0 text-[11px] text-muted-foreground",children:[o("rightSidebar.changeAuditScopeLabel"),": ",wi]}),zf]}),$s&&t.jsx("div",{className:"mb-2 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-destructive",children:$s}),t.jsxs("div",{className:"mt-2 space-y-1.5",children:[Kr.map(e=>t.jsxs("div",{className:`flex min-w-0 items-start gap-1 rounded-md transition ${De===e.key?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:[t.jsxs("button",{type:"button",onClick:()=>Tf(e),className:"min-w-0 flex-1 px-2 py-1.5 text-left active:scale-[0.99]",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:e.repoLabel}),t.jsxs("span",{className:"shrink-0 rounded bg-surface px-1.5 py-0.5 text-[11px] text-muted-foreground",children:[e.diff.hunks?.length??0," hunk"]})]}),t.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1 text-[11px] text-muted-foreground",children:[t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.diff.currentBranch??"HEAD"}),t.jsx("span",{className:"text-muted-foreground/60",children:"→"}),t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.diff.baseRef??e.diff.baseBranch}),t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:o("rightSidebar.branchAuditViewDiff")})]}),ia(e.createdAt,K)&&t.jsx("div",{className:"mt-1 truncate text-[11px] text-muted-foreground/70",children:ia(e.createdAt,K)})]}),t.jsx("button",{type:"button",onClick:()=>Mf(e.key),className:"mr-1 mt-1 inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface hover:text-foreground active:scale-95",title:o("common.delete"),"aria-label":o("common.delete"),children:t.jsx(po,{size:12})})]},e.key)),ys.length>0?ys.slice(0,Math.max(0,8-Kr.length)).map(e=>t.jsxs("div",{className:`flex min-w-0 items-start gap-1 rounded-md transition ${De===e.key?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:[t.jsxs("button",{type:"button",onClick:()=>Lf(e.key),className:"min-w-0 flex-1 px-2 py-1.5 text-left active:scale-[0.99]",children:[t.jsxs("div",{className:"flex min-w-0 items-center gap-2",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:e.repoLabel}),t.jsxs("span",{className:"shrink-0 rounded bg-surface px-1.5 py-0.5 text-[11px] text-muted-foreground",children:[e.records.length," hunk"]})]}),t.jsxs("div",{className:"mt-1 flex min-w-0 flex-wrap items-center gap-1 text-[11px] text-muted-foreground",children:[t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.branchName??"HEAD"}),t.jsx("span",{className:"text-muted-foreground/60",children:"→"}),t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.baseRef}),e.diffFingerprint&&t.jsx("span",{className:"rounded bg-surface px-1.5 py-0.5",children:e.diffFingerprint})]}),ia(e.latestInjectedAt,K)&&t.jsx("div",{className:"mt-1 truncate text-[11px] text-muted-foreground/70",children:o("rightSidebar.branchAuditGeneratedAt",{time:ia(e.latestInjectedAt,K)??""})})]}),t.jsx("button",{type:"button",onClick:()=>{jf(e)},className:"mr-1 mt-1 inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface hover:text-foreground active:scale-95",title:o("rightSidebar.branchAuditClearTitle"),"aria-label":o("rightSidebar.branchAuditClearTitle"),children:t.jsx(po,{size:12})})]},e.key)):Kr.length===0?t.jsx("div",{className:"rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:o("rightSidebar.branchAuditEmpty")}):null]})]})]}):null,Gf=()=>lr&&f&&In?t.jsxs("div",{className:ao?"overflow-visible":"overflow-hidden",children:[Wf(),t.jsxs("button",{type:"button",onClick:()=>{Je||_u(e=>{const n=!e;return n&&fe&&!In&&!vn&&Qo(fe),n})},"aria-expanded":ao,className:`group flex w-full items-center gap-2 px-1 pb-1 pt-4 text-left transition ${Je?"cursor-default":"rounded-lg hover:bg-surface-2 active:scale-[0.99]"}`,children:[t.jsx("span",{className:"flex h-6 w-6 shrink-0 items-center justify-center rounded-md bg-surface-2 text-muted-foreground group-hover:text-foreground",children:t.jsx(Cr,{size:14})}),t.jsx("span",{className:"min-w-0 flex-1 truncate text-[12px] font-semibold text-foreground",children:o("rightSidebar.gitQuickActions")}),t.jsxs("span",{className:"flex shrink-0 items-center gap-1",children:[t.jsxs("span",{className:`inline-flex items-center justify-center gap-1 rounded-full px-2 py-0.5 text-[10px] font-medium ${Ln.staged>0?"bg-accent/10 text-accent":"bg-surface-2 text-muted-foreground"}`,children:[vn&&t.jsx(nt,{size:10,className:"animate-spin"}),Ln.staged>0?o("rightSidebar.stagedCount",{count:Ln.staged}):o("rightSidebar.noStagedChangesShort")]}),!Je&&t.jsx("span",{className:`flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground transition group-hover:bg-surface-elevated group-hover:text-foreground ${ao?"rotate-90":""}`,children:t.jsx(Ns,{size:13})})]})]}),ao&&t.jsxs("div",{className:"space-y-0",children:[It.length>1&&t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsx("div",{className:"mb-2 flex items-center justify-between gap-2",children:t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.gitRepositorySectionTitle")}),t.jsx("div",{className:"mt-0.5 truncate text-[11px] text-muted-foreground",children:uf})]})}),t.jsx(Rs,{label:o("rightSidebar.gitRepositoryLabel"),value:fe??"",options:It,placeholder:o("rightSidebar.gitRepositoryPlaceholder"),searchPlaceholder:o("rightSidebar.gitRepositorySearchPlaceholder"),emptyText:o("rightSidebar.gitRepositoryEmpty"),disabled:!!Te,onChange:e=>{Oc(e||null)}}),Ue&&t.jsx("div",{className:"mt-2 rounded-md bg-[rgb(var(--warning-rgb)_/_0.12)] px-2 py-1.5 text-[11px] text-[color:var(--warning)]",children:o("rightSidebar.selectRepositoryForGitActions")})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.branchSectionTitle")}),t.jsx("div",{className:"mt-0.5 h-4 truncate text-[11px] leading-4 text-muted-foreground",children:es!==fc?fc:null})]}),t.jsxs("button",{type:"button",onClick:()=>{Uf()},disabled:!wf,className:`relative inline-flex h-8 shrink-0 items-center justify-center rounded-md px-3 text-[12px] font-medium transition disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 ${xi?"bg-accent/10 text-accent hover:bg-accent/15":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:o("rightSidebar.switchBranch"),children:[t.jsx("span",{className:Te?.action==="switch-branch"||xi?"opacity-0":"",children:o("rightSidebar.switchBranch")}),Te?.action==="switch-branch"&&t.jsx(nt,{size:12,className:"absolute animate-spin"}),xi&&Te?.action!=="switch-branch"&&t.jsx("span",{className:"absolute",children:"✓"})]})]}),t.jsx(Rs,{label:o("rightSidebar.currentBranchLabel"),value:es,options:pf,placeholder:o("rightSidebar.switchBranchPlaceholder"),searchPlaceholder:o("rightSidebar.switchBranchSearchPlaceholder"),emptyText:o("rightSidebar.switchNoBranches"),disabled:!!Te,onChange:Na})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsxs("div",{className:"min-w-0",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.commitSectionTitle")}),t.jsx("div",{className:"mt-0.5 truncate text-[11px] text-muted-foreground",children:Ue?o("rightSidebar.selectRepositoryForGitActions"):Ln.staged>0?o("rightSidebar.commitReadyHint",{count:Ln.staged}):o("rightSidebar.commitNeedsStaged")})]}),t.jsxs("button",{type:"button",onClick:()=>{zc()},disabled:!!Te||Ue||Ln.staged===0||!Ca.trim(),className:`relative inline-flex h-8 shrink-0 items-center justify-center rounded-md px-3 text-[12px] font-medium transition active:scale-95 ${bi?"bg-accent/10 text-accent disabled:bg-accent/10 disabled:text-accent":"bg-primary text-primary-foreground hover:bg-primary/90 disabled:bg-surface-2 disabled:text-muted-foreground"} disabled:cursor-not-allowed`,title:Ue?o("rightSidebar.selectRepositoryForGitActions"):Ln.staged===0?o("rightSidebar.commitNeedsStaged"):o("rightSidebar.commitChanges"),children:[t.jsx("span",{className:Te?.action==="commit"||bi?"opacity-0":"",children:o("rightSidebar.commitChanges")}),Te?.action==="commit"&&t.jsx(nt,{size:12,className:"absolute animate-spin"}),bi&&Te?.action!=="commit"&&t.jsx("span",{className:"absolute",children:"✓"})]})]}),t.jsx("input",{value:Ca,onChange:e=>xl(e.target.value),onKeyDown:e=>{(e.metaKey||e.ctrlKey)&&e.key==="Enter"&&(e.preventDefault(),zc())},placeholder:o("rightSidebar.commitMessagePlaceholder"),disabled:!!Te,className:"w-full min-h-10 rounded-md border border-transparent bg-surface-2 px-3 py-2 text-[13px] placeholder:text-[13px] text-foreground outline-none transition placeholder:text-muted-foreground/70 focus:border-primary focus:ring-1 focus:ring-primary disabled:cursor-not-allowed disabled:opacity-60",maxLength:300})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("button",{type:"button",onClick:()=>Jn(e=>!e),className:"group flex w-full items-center justify-between gap-2 rounded-lg px-1 py-1.5 text-left transition hover:bg-surface-2 active:scale-[0.99]","aria-expanded":Zr,children:[t.jsx("span",{className:"min-w-0 text-[12px] font-medium text-foreground",children:o("rightSidebar.recentCommitsTitle")}),t.jsxs("span",{className:"flex shrink-0 items-center gap-1.5",children:[Le&&t.jsx(nt,{size:12,className:"animate-spin text-muted-foreground"}),t.jsx("span",{className:`flex h-6 w-6 items-center justify-center rounded-md text-muted-foreground transition group-hover:bg-surface-elevated group-hover:text-foreground ${Zr?"rotate-90":""}`,children:t.jsx(Ns,{size:13})})]})]}),Zr&&t.jsxs("div",{className:"mt-2 space-y-2",children:[t.jsxs("div",{className:"flex items-center gap-2 rounded-md bg-surface-2 px-2 py-1.5 text-muted-foreground focus-within:bg-surface-elevated",children:[t.jsx(on,{size:12,className:"shrink-0"}),t.jsx("input",{value:R,onChange:e=>M(e.target.value),placeholder:o("rightSidebar.recentCommitsSearchPlaceholder"),className:"min-w-0 flex-1 bg-transparent text-[12px] text-foreground placeholder:text-muted-foreground",autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",spellCheck:!1}),R&&t.jsx("button",{type:"button",onClick:()=>M(""),className:"rounded-full p-0.5 text-muted-foreground hover:bg-surface hover:text-foreground","aria-label":o("rightSidebar.clearSearch"),children:t.jsx(Vt,{size:12})})]}),t.jsxs("div",{className:"max-h-56 space-y-1 overflow-y-auto overscroll-contain pr-1",onScroll:ff,children:[Ee.length>0?Ee.map(e=>{const[n,...l]=e.split(/\s+/),p=l.join(" ")||e;return t.jsxs("button",{type:"button",onClick:()=>{If(e)},className:"flex w-full min-w-0 items-start gap-2 rounded-md bg-surface-2 px-2 py-1.5 text-left font-mono text-[10px] transition hover:bg-surface-elevated active:scale-[0.99]",title:p,children:[t.jsx("span",{className:"shrink-0 text-[color:var(--diff-hunk-accent)]",children:n}),t.jsx("span",{className:"min-w-0 flex-1 truncate text-muted-foreground",title:p,children:p}),pe[n]&&t.jsx("span",{className:`shrink-0 rounded px-1 font-sans text-[10px] ${pe[n]==="ahead"?"bg-accent/10 text-accent":pe[n]==="behind"?"bg-surface-2 text-[color:var(--warning)]":"text-muted-foreground"}`,children:o(pe[n]==="ahead"?"rightSidebar.commitAhead":pe[n]==="behind"?"rightSidebar.commitBehind":"rightSidebar.commitSynced")}),So===n&&t.jsx(nt,{size:11,className:"shrink-0 animate-spin text-muted-foreground"})]},e)}):Le?t.jsx("div",{className:"rounded-md bg-surface-2 px-2 py-2 text-center text-[11px] text-muted-foreground",children:o("common.loading")}):$r?null:t.jsx("div",{className:"rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:o("rightSidebar.recentCommitsEmpty")}),ft&&t.jsx("div",{className:"flex justify-center rounded-md bg-surface-2 px-2 py-2 text-muted-foreground",children:t.jsx(nt,{size:12,className:"animate-spin"})}),Ds&&!ft&&Ee.length>0&&t.jsx("button",{type:"button",onClick:()=>{Ys({reset:!1})},className:"w-full rounded-md bg-surface-2 px-2 py-1.5 text-[11px] font-medium text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground",children:o("rightSidebar.recentCommitsLoadMore")})]})]}),Fs&&t.jsx("div",{className:"mt-2 rounded-md bg-destructive/10 px-2 py-1.5 text-[11px] text-destructive",children:Fs}),$r&&t.jsx("div",{className:"mt-2 rounded-md bg-destructive/10 px-2 py-1.5 text-[11px] text-destructive",children:$r})]}),t.jsxs("div",{className:"border-b border-border/40 px-1 py-4 last:border-b-0",children:[t.jsxs("div",{className:"mb-2 flex items-center justify-between gap-2",children:[t.jsx("div",{className:"text-[12px] font-medium text-foreground",children:o("rightSidebar.pushSectionTitle")}),t.jsxs("div",{className:"flex shrink-0 items-center gap-1.5",children:[t.jsxs("button",{type:"button",onClick:()=>{Of()},disabled:!vf,className:`relative inline-flex h-8 min-w-[3.25rem] items-center justify-center rounded-md px-3 text-[12px] font-medium transition disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 ${vi?"bg-accent/10 text-accent hover:bg-accent/15":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:o("rightSidebar.pullChanges"),children:[t.jsx("span",{className:Te?.action==="pull"||vi?"opacity-0":"",children:o("rightSidebar.pullChanges")}),Te?.action==="pull"&&t.jsx(nt,{size:12,className:"absolute animate-spin"}),vi&&Te?.action!=="pull"&&t.jsx("span",{className:"absolute",children:"✓"})]}),t.jsxs("button",{type:"button",onClick:()=>{_f()},disabled:!yf,className:`relative inline-flex h-8 min-w-[3.25rem] items-center justify-center rounded-md px-3 text-[12px] font-medium transition disabled:cursor-not-allowed disabled:opacity-50 active:scale-95 ${yi?"bg-accent/10 text-accent hover:bg-accent/15":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:o("rightSidebar.pushChanges"),children:[t.jsx("span",{className:Te?.action==="push"||yi?"opacity-0":"",children:o("rightSidebar.pushChanges")}),Te?.action==="push"&&t.jsx(nt,{size:12,className:"absolute animate-spin"}),yi&&Te?.action!=="push"&&t.jsx("span",{className:"absolute",children:"✓"})]})]})]}),t.jsxs("div",{className:`mb-2 flex min-w-0 items-center justify-between gap-2 rounded-md px-2 py-1.5 text-[11px] ${yc.className}`,title:ee?.upstream??void 0,children:[t.jsx("span",{className:"truncate font-medium",children:yc.text}),t.jsx("span",{className:"w-[6.5rem] shrink-0 truncate text-right text-[10px] opacity-75",children:ee?.upstream??""})]}),t.jsxs("div",{className:`grid gap-1.5 ${bc?"grid-cols-2":"grid-cols-1"}`,children:[bc&&t.jsx(Rs,{label:o("rightSidebar.pushRemoteLabel"),value:yn,options:gc,placeholder:o("rightSidebar.pushRemotePlaceholder"),searchPlaceholder:o("rightSidebar.pushRemoteSearchPlaceholder"),emptyText:o("rightSidebar.pushNoRemotes"),disabled:!!Te,onChange:Pa}),t.jsx(Rs,{label:o("rightSidebar.pushBranchLabel"),value:wn,options:mf,placeholder:o("rightSidebar.pushBranchPlaceholder",{branch:ee?.branch??"HEAD"}),searchPlaceholder:o("rightSidebar.pushBranchSearchPlaceholder"),emptyText:o("rightSidebar.pushNoBranches"),disabled:!!Te,onChange:Ea})]})]})]})]}):null,qf=s.useCallback(e=>{const n=it(e,f);if(!n)return[];const l=Ui(e),p=[];return e.canStage&&p.push({key:"stage-file",label:o("rightSidebar.stageFile"),onClick:()=>{pt({action:"stage-file",cwd:n,paths:[e.path]},o("rightSidebar.stageFile"),l)}}),e.canUnstage&&p.push({key:"unstage-file",label:o("rightSidebar.unstageFile"),onClick:()=>{pt({action:"unstage-file",cwd:n,paths:[e.path]},o("rightSidebar.unstageFile"),l)}}),e.canStash&&p.push({key:"stash-file",label:o("rightSidebar.stashFile"),onClick:()=>{pt({action:"stash-file",cwd:n,paths:[e.path]},o("rightSidebar.stashFile"),l)}}),e.canRestoreWorktree&&p.push({key:"restore-worktree-file",label:o("rightSidebar.restoreFile"),destructive:!0,onClick:()=>xn({kind:"restore",file:e,phrase:""})}),p},[f,pt,o]),Kf=s.useCallback(()=>{if(y){w?.();return}Br(0),_r.current?.slideTo(0),Dr(!1),ct(null)},[w,y]),qc=s.useCallback(e=>{if(T(""),At(e),Ke(null),ct(null),C(null),V){y&&w?.(),Br(0),_r.current?.slideTo(0),Dr(!1);return}},[V,w,y,Ke,At]);s.useEffect(()=>{if(!re||U.getState().pendingTerminalPath!==re)return;U.setState({pendingTerminalPath:null}),(()=>{const n=re,l=n.path;if(!l.startsWith("/"))return;T(""),ct(null),rr(null);const p=!!(f&&(l===f||l.startsWith(`${f}/`)));if(n.kind==="file"){const u=ho(l);En(l),typeof n.line=="number"&&Number.isSafeInteger(n.line)&&n.line>0&&rr(n.line),At(p?null:u),C({path:l,nonce:++he.current});return}Ke(null),p?(At(null),C({path:l,nonce:++he.current})):(C(null),At(l)),V&&(y&&w?.(),Br(0),_r.current?.slideTo(0),Dr(!1))})()},[re,En,V,w,y,f,Ke,At]),s.useEffect(()=>{r||(er(!1),$t(!1))},[r]),s.useEffect(()=>{if(!et&&!tr)return;const e=n=>{n instanceof globalThis.KeyboardEvent&&n.key!=="Escape"||n instanceof globalThis.MouseEvent&&n.target instanceof Node&&(On.current?.contains(n.target)||ln.current?.contains(n.target))||(er(!1),$t(!1))};return window.addEventListener("mousedown",e),window.addEventListener("keydown",e),()=>{window.removeEventListener("mousedown",e),window.removeEventListener("keydown",e)}},[tr,et]);const Kc=t.jsxs("div",{"data-local-layer":"file-explorer-menu-host",className:"sticky top-0 z-20 bg-surface/95 px-2.5 py-1.5 backdrop-blur",children:[t.jsxs("div",{className:"flex min-h-9 min-w-0 items-center gap-1.5",children:[t.jsx(ru,{buttonClassName:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface-2 hover:text-foreground disabled:cursor-not-allowed disabled:opacity-35 active:scale-95",parent:{onClick:lf,disabled:!Wa},root:{onClick:sc,disabled:!f||rs===f},refresh:{onClick:cf,disabled:!Q,title:vl?o("rightSidebar.fileWatchUnavailable",{message:vl}):void 0}}),t.jsx("div",{className:"min-w-0 flex-1 px-1",title:Q??void 0,children:t.jsxs("div",{className:"flex min-w-0 items-center gap-1 text-[12px] font-medium text-foreground",children:[t.jsx("span",{className:"truncate",children:af}),Ia==="modified"&&t.jsx("span",{className:"inline-flex shrink-0 text-primary",title:o("fileTree.sortedByModified"),"aria-label":o("fileTree.sortedByModified"),children:t.jsx(dd,{size:11})})]})}),t.jsx("button",{type:"button",onClick:e=>Q&&Wt(Q,Lt??void 0,e.currentTarget,"directory"),disabled:!Q,...Q&&Lt?si(Oa(Q),Lt):{},className:`inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md transition disabled:cursor-not-allowed disabled:opacity-35 active:scale-95 ${Lt&&(Ye===Lt||W===Lt)?"bg-surface-elevated text-foreground":"bg-primary/10 text-primary hover:bg-primary/20"}`,"aria-label":o(Lt&&W===Lt?"rightSidebar.copied":Lt&&Ye===Lt?"rightSidebar.inserted":"rightSidebar.insertCurrentFolder"),title:o("rightSidebar.insertCurrentFolder"),children:Lt&&(Ye===Lt||W===Lt)?t.jsx(Es,{size:13}):t.jsx(ba,{size:13})}),t.jsx(Bp,{rootPath:Q,disabled:!Q||!Wu||Wo,pressed:La,saving:Wo,onToggle:()=>{if(!Q||Wo)return;const e=Q;Fl(!0),Go(null),Gu(e,!La).catch(()=>{const n=U.getState();(n.explorerRoot??n.rootPath)===e&&Go(o("rightSidebar.gitIgnoreSaveFailed"))}).finally(()=>Fl(!1))}}),t.jsxs("div",{ref:ln,className:"relative shrink-0",children:[t.jsx("button",{type:"button",onClick:()=>{er(!1),$t(e=>!e)},className:`inline-flex h-7 w-7 items-center justify-center rounded-md transition active:scale-95 ${tr?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2 hover:text-foreground"}`,"aria-expanded":tr,"aria-haspopup":"menu","aria-label":o("sidebar.moreActions"),title:o("sidebar.moreActions"),children:t.jsx(ha,{size:14})}),tr&&t.jsxs("div",{role:"menu","data-local-layer":"file-explorer-menu",className:"absolute right-0 top-[calc(100%+4px)] z-30 w-48 overflow-hidden rounded-xl border border-border/15 bg-surface p-1 text-[12px] shadow-xl shadow-[0_18px_48px_var(--app-shadow-soft)] animate-fade-in",children:[t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{$t(!1),df()},disabled:!ii,className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left transition disabled:opacity-40 ${Ks?"text-primary hover:bg-primary/10":"text-foreground hover:bg-surface-2"}`,children:[Ks?t.jsx(Ah,{size:14}):t.jsx(ud,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o(Ks?"rightSidebar.unpinCurrentFolder":"rightSidebar.pinCurrentFolder")})]}),t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{$t(!1),Hu()},className:`flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left transition ${_o?"text-primary hover:bg-primary/10":"text-foreground hover:bg-surface-2"}`,children:[_o?t.jsx(jp,{size:14}):t.jsx(Ki,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o(_o?"rightSidebar.hideHiddenFiles":"rightSidebar.showHiddenFiles")})]}),t.jsxs("button",{type:"button",role:"menuitem",disabled:!Q,onClick:()=>{Q&&($t(!1),zu(Q,Ia==="modified"?"name":"modified"))},className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2 disabled:opacity-40",children:[Ia==="modified"?t.jsx(Th,{size:14}):t.jsx(dd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o(Ia==="modified"?"fileTree.sortByName":"fileTree.sortByModified")})]})]})]})]}),Dl&&t.jsx("p",{role:"alert",className:"px-1 py-1 text-[11px] text-destructive",children:Dl}),f&&(Ga.length>0||of)&&t.jsxs("div",{className:"mt-1 flex flex-wrap items-center gap-1 pb-0.5 text-[11px]",children:[t.jsx("span",{className:"shrink-0 px-1 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground",children:o("rightSidebar.pinnedFolders")}),t.jsxs("button",{type:"button",onClick:sc,className:`inline-flex max-w-[9rem] shrink-0 items-center gap-1 rounded-md px-2 py-0.5 font-medium transition active:scale-95 ${Q===f?"bg-surface-elevated text-foreground":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,title:f,children:[t.jsx(Rp,{size:10,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:Ge})]}),Ga.map(e=>{const n=e.path,l=e.kind==="file",p=l?ze===n:Q===n;return t.jsxs("span",{className:`group inline-flex max-w-[12rem] shrink-0 items-center rounded-md transition ${p?"bg-primary/15 text-primary":"bg-surface-2 text-foreground hover:bg-surface-elevated"}`,title:n,children:[t.jsxs("button",{type:"button",onClick:()=>l?En(n):At(n),className:"inline-flex min-w-0 items-center gap-1 px-2 py-0.5 font-medium active:scale-95",children:[l?t.jsx(Wi,{size:10,className:"shrink-0"}):t.jsx(ud,{size:10,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:mt(n)})]}),t.jsx("button",{type:"button",onClick:()=>kn(n),className:"mr-0.5 inline-flex h-4 w-4 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground","aria-label":o("rightSidebar.unpinFolder",{name:mt(n)}),title:o("rightSidebar.unpinFolder",{name:mt(n)}),children:t.jsx(Vt,{size:9})})]},n)})]}),t.jsx("span",{"data-local-layer":"file-explorer-divider",className:"pointer-events-none absolute inset-x-0 bottom-0 z-10 h-px bg-border/15","aria-hidden":"true"})]}),ki=s.useMemo(()=>{if(Zn===null)return null;const e=typeof navigator>"u"?void 0:navigator.language,n=Math.max(0,Math.floor((Io-Zn)/1e3)),l=new Intl.RelativeTimeFormat(e,{numeric:"auto"}),[p,u]=n<60?[-n,"second"]:n<3600?[-Math.floor(n/60),"minute"]:n<86400?[-Math.floor(n/3600),"hour"]:[-Math.floor(n/86400),"day"];return l.format(p,u)},[Io,Zn]),oo="flex min-h-10 w-full items-center gap-2.5 rounded-md px-2.5 text-left text-[12px] text-foreground transition hover:bg-surface-2 focus:bg-surface-2 focus:outline-none disabled:cursor-not-allowed disabled:opacity-50 [@media(pointer:coarse)]:min-h-11",Vc=f&&!us?t.jsxs("button",{type:"button",role:"menuitemcheckbox",tabIndex:-1,onClick:()=>{Bf(!Oo)},"aria-checked":Oo,title:o("rightSidebar.multiRepoScanTitle"),className:oo,children:[t.jsx(Cr,{size:15,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{className:"min-w-0 flex-1",children:o("rightSidebar.multiRepoScan")}),Oo&&t.jsx(Es,{size:14,className:"shrink-0 text-primary"})]}):null,Yc=f?t.jsxs("div",{className:"inline-flex shrink-0 items-center gap-1.5",children:[ki?t.jsx("span",{className:"whitespace-nowrap text-[10px] text-muted-foreground",title:o("rightSidebar.gitLastUpdated",{time:ki}),children:ki}):null,t.jsx("button",{type:"button",onClick:()=>{ds()},disabled:yr,className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-muted-foreground transition hover:bg-surface-2 hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 active:scale-95","aria-label":o("rightSidebar.refreshGit"),title:o("rightSidebar.refreshGit"),children:t.jsx(bo,{size:13,className:yr?"animate-spin":""})})]}):null,Vf=Wl?o("rightSidebar.changeAuditScopeAll"):Nn.length===1?Nn[0].relativeRoot==="."?Ge:Nn[0].relativeRoot||Nn[0].name:`${Nn.length} repos`,Yf=e=>f?t.jsxs("div",{role:"none",children:[t.jsx(Od,{menuItem:!0,open:Dt,onOpenChange:n=>{qn(n),n&&e()},showScopePicker:$n,selectedAll:Wl,repos:qu,selectedRoots:dr,onToggleRepo:Rf,onGenerate:async n=>{const l=await kf("generate",n);return l!==!1&&e(),l},disabled:!f,inserted:Ye===nc,buttonLabel:o("rightSidebar.changeAuditShort"),insertedLabel:o("rightSidebar.inserted"),title:o("rightSidebar.insertChangeAuditPromptTitle"),ariaLabel:o("rightSidebar.insertChangeAuditPrompt"),scopeTitle:o("rightSidebar.changeAuditScopeLabel"),scopeLabel:Vf,allLabel:o("rightSidebar.changeAuditScopeAll"),generateLabel:o("rightSidebar.changeAuditShort"),loading:hn,error:!!Is,statusTitle:Is??(hn?o("rightSidebar.changeAuditLoading"):Ze.length>0?`${o("rightSidebar.changeAuditLoaded",{count:Ze.length})}${Gc?` · ${o("rightSidebar.changeAuditLoadedAt",{time:Gc})}`:""}`:void 0)}),Ze.length>0&&t.jsxs("button",{type:"button",role:"menuitem",tabIndex:-1,onClick:()=>{e(),Sf()},disabled:hn||Ze.length===0,className:oo,title:o("rightSidebar.clearChangeAuditTitle"),"aria-label":o("rightSidebar.clearChangeAudit"),children:[t.jsx(po,{size:15,className:"shrink-0 text-muted-foreground"}),t.jsx("span",{children:o("rightSidebar.clearChangeAudit")})]})]}):null,ws=fr??(X?.available&&f&&Ne.size>0&&Ce.length<=1?{root:f,label:Ge}:null),Xc=e=>t.jsxs(t.Fragment,{children:[ws&&t.jsxs("div",{role:"group","aria-label":o("rightSidebar.gitQuickActions"),children:[t.jsxs("button",{type:"button",role:"menuitem",tabIndex:-1,onClick:()=>{e(),so("stage-all",ws.root,ws.label)},disabled:!!Te,className:oo,children:[t.jsx(Uh,{size:15,className:"shrink-0 text-muted-foreground"}),o("rightSidebar.stageAll")]}),t.jsxs("button",{type:"button",role:"menuitem",tabIndex:-1,onClick:()=>{e(),so("stash-all",ws.root,ws.label)},disabled:!!Te,className:oo,children:[t.jsx(Lp,{size:15,className:"shrink-0 text-muted-foreground"}),o("rightSidebar.stashAll")]})]}),ws&&t.jsx("div",{role:"separator",className:"mx-2 my-1 h-px bg-border/30"}),Yf(e),Vc&&t.jsx("div",{role:"separator",className:"mx-2 my-1 h-px bg-border/30"}),Vc]}),io=t.jsxs("div",{className:"flex h-5 flex-nowrap items-center gap-1 overflow-x-auto whitespace-nowrap text-[10px] font-medium [scrollbar-width:none] [&::-webkit-scrollbar]:hidden [&>*]:shrink-0",children:[X?.available&&X.branch&&t.jsxs("span",{className:"inline-flex min-w-0 max-w-[8rem] items-center gap-0.5 truncate rounded bg-surface-2 px-1.5 py-0.5 text-muted-foreground",title:X.branch,children:[t.jsx(Cr,{size:10,className:"shrink-0"}),t.jsx("span",{className:"truncate",children:X.branch})]}),rt.modified>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-hunk-accent)]",children:[rt.modified,"M"]}),rt.added>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-insert-strong)]",children:["+",rt.added]}),rt.deleted>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-delete-strong)]",children:["-",rt.deleted]}),rt.renamed>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-muted-foreground",children:[rt.renamed,"R"]}),rt.copied>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-insert-strong)]",children:[rt.copied,"C"]}),rt.untracked>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-[color:var(--diff-insert-strong)]",children:[rt.untracked,"U"]}),rt.conflicted>0&&t.jsxs("span",{className:"rounded bg-destructive/10 px-1.5 py-0.5 text-destructive",children:[rt.conflicted,"!"]}),rt.other>0&&t.jsxs("span",{className:"rounded bg-surface-2 px-1.5 py-0.5 text-muted-foreground",children:[rt.other,"?"]}),rt.staged>0&&t.jsx("span",{className:"rounded bg-accent/10 px-1.5 py-0.5 text-accent",children:o("rightSidebar.stagedCountShort",{count:rt.staged})})]});return t.jsxs(Gh,{side:"right",isOpen:r,drawerWidthPx:i,onClose:c,onOpen:h,push:m,pinned:d,children:[si.popoverNode,t.jsxs("div",{className:`relative shrink-0 border-b border-border/15 bg-surface px-2 pt-2 ${Zu?"hidden":""}`,children:[t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsx("div",{className:"min-w-0 flex-1 px-1",children:t.jsxs("div",{className:"flex min-h-[1.25rem] items-baseline gap-1.5",children:[t.jsx("span",{className:"truncate text-[13px] font-semibold text-foreground",title:f??void 0,children:Ge}),(!V||To)&&X?.available&&X.branch&&t.jsxs("span",{className:"inline-flex min-w-0 items-center gap-0.5 truncate text-[11px] text-muted-foreground",title:X.branch,children:[t.jsx(Cr,{size:10,className:"shrink-0"}),t.jsx("span",{className:"max-w-[7rem] truncate",children:X.branch})]})]})}),t.jsx("button",{type:"button",onClick:()=>{const e=!_;ae(e),e?window.requestAnimationFrame(()=>document.querySelector("[data-right-search]")?.focus()):T("")},className:`inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition active:scale-95 ${_?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,"aria-label":o("rightSidebar.toggleSearch"),title:o("common.search"),children:t.jsx(on,{size:14})}),t.jsxs("button",{type:"button",role:"switch","aria-checked":He,onClick:()=>{Wr(e=>!e),Qt(!1)},className:`relative inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition active:scale-95 ${He?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,"aria-label":o("rightSidebar.toggleContextDraft"),title:o("rightSidebar.contextDraftTitle"),children:[t.jsx(Cp,{size:14}),!He&&Xe.trim()&&t.jsx("span",{className:"absolute right-0.5 top-0.5 h-1.5 w-1.5 rounded-full bg-primary","aria-hidden":"true"})]}),t.jsx("input",{ref:Sl,type:"file",multiple:!0,className:"hidden",onChange:e=>{const n=e.target.files;!n||n.length===0||(Gs(Array.from(n)),e.target.value="")}}),t.jsx("input",{ref:jl,type:"file",accept:"image/*",className:"hidden",onChange:e=>{const n=e.target.files?.[0];e.target.value="",n&&rf(n,e.currentTarget.closest("[data-sidebar]")??void 0)}}),t.jsxs("div",{ref:On,className:"relative shrink-0",children:[t.jsx("button",{type:"button",onClick:()=>{$t(!1),er(e=>!e)},className:`relative inline-flex h-8 w-8 items-center justify-center rounded-full transition active:scale-95 ${et?"bg-surface-elevated text-foreground":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,"aria-expanded":et,"aria-haspopup":"menu","aria-label":o("sidebar.moreActions"),title:o("sidebar.moreActions"),children:t.jsx(ha,{size:15})}),et&&t.jsxs("div",{role:"menu",className:"absolute right-0 top-[calc(100%+4px)] z-30 w-56 overflow-hidden rounded-xl border border-border/15 bg-surface/98 p-1 text-[12px] shadow-xl shadow-[0_18px_48px_var(--app-shadow-soft)] backdrop-blur animate-fade-in",children:[["architecture","computer"].map(e=>t.jsxs("button",{type:"button",role:"menuitemcheckbox","aria-checked":cr[e],onClick:()=>tf(e,!cr[e]),className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2",children:[e==="architecture"?t.jsx(vd,{size:14,className:"text-muted-foreground"}):t.jsx(fd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{className:"flex-1",children:o(e==="architecture"?"rightSidebar.showArchitectureTab":"rightSidebar.showComputerTab")}),t.jsx("span",{"aria-hidden":"true",className:`relative inline-flex h-4 w-7 shrink-0 items-center rounded-full transition ${cr[e]?"bg-primary":"bg-surface-elevated"}`,children:t.jsx("span",{className:`absolute h-3 w-3 rounded-full bg-background transition-all ${cr[e]?"left-3.5":"left-0.5"}`})})]},e)),t.jsxs("button",{type:"button",role:"menuitemcheckbox","aria-checked":tn,onClick:()=>Vl(!tn),className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2",children:[t.jsx(hd,{size:14,className:"text-muted-foreground"}),t.jsx("span",{className:"flex-1",children:o("rightSidebar.showAndroidTab")}),t.jsx("span",{"aria-hidden":"true",className:`relative inline-flex h-4 w-7 shrink-0 items-center rounded-full transition ${tn?"bg-primary":"bg-surface-elevated"}`,children:t.jsx("span",{className:`absolute h-3 w-3 rounded-full bg-background transition-all ${tn?"left-3.5":"left-0.5"}`})})]}),t.jsx("div",{className:"my-1 h-px bg-border/15",role:"separator"}),t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{er(!1),Sl.current?.click()},disabled:Ba,className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2 disabled:opacity-50",children:[Ba?t.jsx(nt,{size:14,className:"animate-spin text-muted-foreground"}):t.jsx(Np,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o("rightSidebar.uploadFiles")})]}),t.jsxs("button",{type:"button",role:"menuitem",onClick:()=>{er(!1),jl.current?.click()},disabled:Ba,className:"flex w-full items-center gap-2 rounded-lg px-2.5 py-2 text-left text-foreground transition hover:bg-surface-2 disabled:opacity-50",children:[Ba?t.jsx(nt,{size:14,className:"animate-spin text-muted-foreground"}):t.jsx(Pp,{size:14,className:"text-muted-foreground"}),t.jsx("span",{children:o("rightSidebar.insertLocalImage")})]}),d&&t.jsxs("div",{className:"mt-1 flex items-center gap-2 border-t border-border/15 px-1.5 pt-1.5",role:"group","aria-label":o("rightSidebar.layoutMode"),children:[t.jsx("div",{className:"shrink-0 pl-1 text-[10px] font-medium uppercase tracking-wide text-muted-foreground",children:o("rightSidebar.layoutMode")}),t.jsx("div",{className:"grid min-w-0 flex-1 grid-cols-3 gap-0.5 rounded-lg bg-surface-2 p-0.5",children:[["auto",o("rightSidebar.layoutModeAuto")],["narrow",o("rightSidebar.layoutModeNarrow")],["wide",o("rightSidebar.layoutModeWide")]].map(([e,n])=>{const l=oe===e;return t.jsx("button",{type:"button",role:"menuitemradio","aria-checked":l,onClick:()=>{E(e),er(!1)},className:`rounded-md px-1 py-1.5 text-center text-[11px] font-medium transition active:scale-95 ${l?"bg-primary/15 text-primary":"text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:n},e)})})]})]})]}),t.jsx(_h,{side:"right",expanded:!0,onClick:c,className:"h-8 w-8 active:scale-95"})]}),_&&t.jsxs("div",{className:"mt-2 space-y-1.5 pb-0.5",children:[t.jsxs("div",{className:"flex items-center gap-2 rounded-xl bg-surface-2 px-3 py-1.5 text-muted-foreground transition focus-within:bg-surface-elevated",children:[t.jsx(on,{size:12,className:"shrink-0"}),t.jsx("input",{"data-right-search":!0,type:"search",value:te,onChange:e=>T(e.target.value),placeholder:o(P==="content"?"rightSidebar.searchPlaceholderContent":"rightSidebar.filterChanges"),className:"min-w-0 flex-1 bg-transparent text-[13px] text-foreground placeholder:text-muted-foreground",autoCapitalize:"off",autoCorrect:"off",autoComplete:"off",enterKeyHint:"search",spellCheck:!1}),t.jsxs("div",{className:`flex shrink-0 items-center gap-0.5 rounded-full bg-surface/70 p-0.5 font-medium ${V?"text-[11px]":"text-[10px]"}`,children:[t.jsx("button",{type:"button",onClick:()=>Uc("name"),"aria-pressed":P==="name",className:`rounded-full px-2 transition active:scale-95 ${V?"py-1":"py-0.5"} ${P==="name"?"bg-primary/15 text-primary":"text-muted-foreground/80 hover:text-foreground"}`,children:o("rightSidebar.searchModeName")}),t.jsx("button",{type:"button",onClick:()=>Uc("content"),"aria-pressed":P==="content",className:`rounded-full px-2 transition active:scale-95 ${V?"py-1":"py-0.5"} ${P==="content"?"bg-primary/15 text-primary":"text-muted-foreground/80 hover:text-foreground"}`,children:o("rightSidebar.searchModeContent")})]}),te&&t.jsx("button",{type:"button",onClick:()=>T(""),className:"rounded-full p-0.5 text-muted-foreground hover:bg-surface hover:text-foreground","aria-label":o("rightSidebar.clearSearch"),children:t.jsx(Vt,{size:12})})]}),t.jsxs("div",{className:"flex items-center gap-1.5",children:[t.jsxs("label",{className:"flex min-w-0 flex-1 items-center gap-2 rounded-lg bg-surface-2 px-2.5 py-1.5 text-muted-foreground transition focus-within:bg-surface-elevated",children:[t.jsx(Mh,{size:12,className:"shrink-0 text-primary"}),t.jsx("span",{className:"shrink-0 text-[10px] font-medium",children:o("rightSidebar.searchScope")}),t.jsx("input",{"data-search-scope":!0,value:j,onChange:e=>ue(e.target.value),onKeyDown:e=>{e.key==="Enter"&&document.querySelector("[data-right-search]")?.focus()},className:"min-w-0 flex-1 bg-transparent font-mono text-[11px] text-foreground placeholder:text-muted-foreground",placeholder:o("rightSidebar.searchScopePlaceholder"),"aria-label":o("rightSidebar.searchScope"),autoCapitalize:"off",autoCorrect:"off",spellCheck:!1}),j!=="."&&t.jsx("button",{type:"button",onClick:()=>ue("."),className:"shrink-0 rounded p-0.5 text-muted-foreground hover:bg-surface hover:text-foreground","aria-label":o("rightSidebar.resetSearchScope"),children:t.jsx(Vt,{size:11})})]}),t.jsxs("button",{type:"button",onClick:()=>Se(e=>!e),"aria-expanded":ve,className:`relative inline-flex h-8 w-8 shrink-0 items-center justify-center rounded-lg transition active:scale-95 ${ve||Hs.length>0||je||ot||I?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,title:o("rightSidebar.searchOptions"),"aria-label":o("rightSidebar.searchOptions"),children:[t.jsx(Ep,{size:13}),Hs.length>0&&t.jsx("span",{className:"absolute -right-1 -top-1 min-w-4 rounded-full bg-primary px-1 text-[8px] font-bold leading-4 text-primary-foreground",children:Hs.length})]})]}),ve&&t.jsxs("div",{className:"animate-fade-in rounded-xl bg-surface-2 p-2",children:[t.jsxs("label",{className:"flex items-center gap-2 rounded-lg bg-surface px-2.5 py-1.5 text-muted-foreground focus-within:bg-surface-elevated",children:[t.jsx("span",{className:"shrink-0 text-[10px] font-medium",children:o("rightSidebar.searchExclude")}),t.jsx("input",{"data-search-exclude":!0,value:ge,onChange:e=>$(e.target.value),className:"min-w-0 flex-1 bg-transparent font-mono text-[11px] text-foreground placeholder:text-muted-foreground",placeholder:o("rightSidebar.searchExcludePlaceholder"),"aria-label":o("rightSidebar.searchExclude"),autoCapitalize:"off",autoCorrect:"off",spellCheck:!1}),ge&&t.jsx("button",{type:"button",onClick:()=>$(""),className:"rounded p-0.5 hover:bg-surface-2 hover:text-foreground","aria-label":o("rightSidebar.clearSearchExclude"),children:t.jsx(Vt,{size:11})})]}),P==="content"&&t.jsx("div",{className:"mt-1.5 flex flex-wrap items-center gap-1",role:"group","aria-label":o("rightSidebar.contentSearchOptions"),children:[[je,()=>at(e=>!e),Ap,o("rightSidebar.matchCase")],[ot,()=>Ae(e=>!e),Tp,o("rightSidebar.matchWholeWord")],[I,()=>ce(e=>!e),Mp,o("rightSidebar.useRegex")]].map(([e,n,l,p])=>t.jsxs("button",{type:"button",onClick:n,"aria-pressed":e,className:`inline-flex items-center gap-1 rounded-lg px-2 py-1 text-[10px] transition ${e?"bg-primary/15 text-primary":"bg-surface text-muted-foreground hover:bg-surface-elevated hover:text-foreground"}`,children:[t.jsx(l,{size:12}),p]},p))})]})]}),t.jsxs("div",{className:"mt-2 grid gap-0.5 rounded-md bg-surface-2 p-0.5",style:{gridTemplateColumns:`repeat(${(us?1:3)+Number(cr.architecture)+Number(cr.computer)+Number(tn)}, minmax(0, 1fr))`},children:[!us&&t.jsxs(t.Fragment,{children:[t.jsxs("button",{type:"button",onClick:e=>ps("git",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${jt==="git"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(Cr,{size:12}),o("rightSidebar.tabGit")]}),t.jsxs("button",{type:"button",onClick:e=>ps("diff",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${jt==="diff"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(au,{size:12}),o("rightSidebar.tabChanges"),xs.count>0?t.jsx("span",{className:"text-[10px] text-accent",children:xs.count}):null]})]}),t.jsxs("button",{type:"button",onClick:e=>ps("files",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${jt==="files"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(Vd,{size:12}),o("rightSidebar.tabFiles")]}),cr.architecture&&t.jsxs("button",{type:"button",onClick:e=>ps("architecture",e),className:`flex items-center justify-center gap-1 rounded px-1 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${Pn?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(vd,{size:12}),o("architecture.tab")]}),cr.computer&&t.jsxs("button",{type:"button",onClick:e=>ps("computer",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${hs?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(fd,{size:12}),o("rightSidebar.tabComputer")]}),tn&&t.jsxs("button",{type:"button",onClick:e=>ps("android",e),className:`flex items-center justify-center gap-1 rounded px-2 py-1.5 text-[11px] font-medium transition active:scale-[0.98] ${jt==="android"?"bg-surface-elevated text-foreground":"text-muted-foreground hover:bg-surface-2"}`,children:[t.jsx(hd,{size:12}),o("rightSidebar.tabAndroid")]})]}),t.jsx("div",{className:"h-2"}),gl&&t.jsx("div",{className:"pointer-events-none absolute right-3 top-10 z-20 max-w-[72%] rounded-lg bg-destructive/95 px-3 py-2 text-[11px] font-medium text-destructive-foreground shadow-md animate-fade-in",children:gl})]}),t.jsxs("div",{className:"relative min-h-0 flex-1 overflow-hidden bg-surface",children:[t.jsx(Ss,{active:Je,mounted:lr,fallback:t.jsx(Bi,{slow:!1}),children:()=>ar?t.jsx("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:t.jsx(kd,{items:Nf,diffViewType:Fo,inlineMode:Wn,viewControls:d?Js():void 0,renderPathReference:(e,n)=>Ja(an(e,ar.repoRoot??f),o(n==="file"?"rightSidebar.insertThisFile":"fileTree.insertRefTitle")),selectedKey:jo,onSelect:H,emptyText:o("rightSidebar.noChanges"),mobile:V,backLabel:o("rightSidebar.backToChangeList"),headerTitle:o("rightSidebar.recentCommitsTitle"),headerMeta:`${ar.headRef??""}${ar.commits?.[0]?` · ${ar.commits[0]}`:""}`,onClose:()=>{Lr(null),H(null)},closeLabel:o("common.back"),wrap:tt,onToggleWrap:ro,wrapTitle:o("rightSidebar.wrapLongLines"),wrapOnLabel:o("rightSidebar.wrapOn"),wrapOffLabel:o("rightSidebar.wrapOff"),desktopLayout:V?"stacked":"split",onInsertDiffReference:Hr,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W,onClearAuditRecord:Za})}):Bt?t.jsx("div",{className:"flex h-full min-h-0 flex-col overflow-hidden",children:t.jsx(kd,{items:fi,diffViewType:Fo,inlineMode:Wn,viewControls:d?Js():void 0,renderPathReference:(e,n)=>{const l=ne?.comparisonRepos,p=l&&l.length>1?[...l].sort((b,x)=>x.label.length-b.label.length).find(b=>e===b.label||e.startsWith(`${b.label}/`)):void 0,u=p?e===p.label?p.repoRoot:an(e.slice(p.label.length+1),p.repoRoot):an(e,ea?.repoRoot||f);return Ja(u,o(n==="file"?"rightSidebar.insertThisFile":"fileTree.insertRefTitle"))},selectedKey:Po,onSelect:bn,emptyText:o(ne?"rightSidebar.branchAuditDiffEmpty":"rightSidebar.branchAuditEmpty"),mobile:V,backLabel:o("rightSidebar.backToChangeList"),headerTitle:o(ne?"rightSidebar.branchAuditViewDiff":"rightSidebar.branchAuditTitle"),headerMeta:ea?`${ea.repoLabel} · ${ea.branchName??"HEAD"} → ${ea.baseRef}`:void 0,onClose:()=>{++kt.current,xr(!1),wt(!1),ut(null)},closeLabel:o("common.back"),wrap:tt,onToggleWrap:ro,wrapTitle:o("rightSidebar.wrapLongLines"),wrapOnLabel:o("rightSidebar.wrapOn"),wrapOffLabel:o("rightSidebar.wrapOff"),desktopLayout:V?"stacked":"split",onInsertDiffReference:Hr,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W,onClearAuditRecord:Za,localOptions:ne?.comparisonRepos?.map(e=>({key:e.repoRoot,label:e.label,checked:e.includeUncommitted??ne.includeUncommitted??!1,disabled:!(e.canIncludeUncommitted??vs(e.repoRoot,e.head)),onChange:n=>{gi({refresh:!0,repoRoot:e.repoRoot,includeUncommitted:n})}})),onHunkGitAction:ne?.includeUncommitted?Df:void 0,error:$s,actionsBusy:Yn>0,onRefresh:()=>{gi({refresh:!0})},refreshing:Xn,refreshLabel:o("rightSidebar.branchAuditRefreshDiff"),refreshTitle:o("rightSidebar.branchAuditRefreshDiff"),walkthroughs:Pf,onWalkthroughNavigate:Ef,initialDetailScrollTop:ne&&De?Yr[De]:void 0,onDetailScrollPositionChange:$f,externalSwiperRef:V?Hl:void 0,onMobileSlideChange:V?Ao:void 0})}):t.jsx("div",{className:"h-full overflow-y-auto overscroll-contain bg-surface pb-6",children:lr&&f&&In?t.jsx("div",{className:"px-3",children:Gf()}):yr?t.jsx(Bi,{slow:Ml}):Sn?t.jsx(fo,{message:Sn,onRetry:()=>{ds()}}):qd(X)?t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o(f?"rightSidebar.gitUnavailable":"fileTree.noWorkingDir")}):X?.available===!1?t.jsx(fo,{message:X.error??o("rightSidebar.gitChangesLoadFailed"),onRetry:()=>{ds()}}):f?t.jsx(Bi,{slow:Ml}):t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o(f?"rightSidebar.gitUnavailable":"fileTree.noWorkingDir")})})}),t.jsx(Ss,{active:ur,mounted:Iu||ur,children:()=>V?t.jsxs(zh,{className:"h-full min-h-0 w-full","data-file-browser-keyboard":!0,tabIndex:-1,onKeyDown:Xl,slidesPerView:1,resistanceRatio:.45,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:".swiper-no-swiping",allowTouchMove:!1,touchAngle:75,touchStartPreventDefault:!1,onSwiper:e=>{_r.current=e,e.slideTo(Eo,0)},onSlideChange:e=>{if(Br(e.activeIndex),Ws.current===e.activeIndex){Ws.current=null;return}e.activeIndex===0&&(Dr(!1),ct(null),w?.())},children:[t.jsx(md,{className:"h-full min-h-0",children:t.jsxs("div",{ref:jn,onScroll:Yl,onDragOver:Ua,onDragEnter:Ua,onDragLeave:Ql,onDrop:Zl,className:"h-full overflow-auto overscroll-contain bg-surface relative",children:[yl&&t.jsx("div",{className:"pointer-events-none absolute left-3 right-3 top-3 z-10 flex justify-center",children:t.jsx("div",{className:"rounded-xl bg-surface-elevated px-4 py-2 text-sm font-semibold text-foreground shadow-lg",children:o("rightSidebar.dropToUpload")})}),!te.trim()&&Kc,t.jsx(pd,{rootPath:Q??"",onFileSelect:En,onPathReference:Wt,getReferenceText:Oa,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W,onDirectoryRoot:ac,onSearchFromDirectory:oc,onDirectoryPinToggle:ic,onFilePinToggle:lc,pinnedPaths:Tn,selectedFilePath:ze,query:te,searchRootPath:Bl,searchOptions:Ul,searchMode:P,onContentMatchSelect:ti,onDirectoryDropFiles:(e,n)=>Gs(n,e),revealDirectory:ke,canOpenInFileBrowser:wl,onOpenInFileBrowser:Jl})]})}),t.jsx(md,{className:"h-full min-h-0",children:t.jsx("div",{className:"h-full overflow-hidden bg-surface",children:t.jsx(yo,{filePath:Lu||Eo===1?ze:null,active:r&&ur&&Eo===1,onInsertReference:Wt,onInsertText:Or,onInsertFeature:za,onReviewReference:za,onReferenceCopied:Sr,onClose:Kf,onDirectoryLinkOpen:qc,isMobile:!0,lineRange:Gr,onLineRangeChange:ct,insertedReferenceKey:Ye,copiedReferenceKey:W,scrollToLine:mr,onScrollToLineHandled:()=>rr(null),markdownOutlineOpen:D,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q,markdownImageLightboxCloseSignal:le,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:me})})})]}):t.jsxs("div",{"data-file-browser-keyboard":!0,className:"flex h-full min-h-0",tabIndex:-1,onKeyDown:Xl,children:[t.jsxs("div",{ref:jn,onScroll:Yl,onDragOver:Ua,onDragEnter:Ua,onDragLeave:Ql,onDrop:Zl,className:"shrink-0 overflow-auto overscroll-contain bg-surface relative",style:{width:Do},children:[yl&&t.jsx("div",{className:"pointer-events-none absolute left-3 right-3 top-3 z-10 flex justify-center",children:t.jsx("div",{className:"rounded-xl bg-surface-elevated px-4 py-2 text-sm font-semibold text-foreground shadow-lg",children:o("rightSidebar.dropToUpload")})}),!te.trim()&&Kc,t.jsx(pd,{rootPath:Q??"",onFileSelect:En,onPathReference:Wt,getReferenceText:Oa,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W,onDirectoryRoot:ac,onSearchFromDirectory:oc,onDirectoryPinToggle:ic,onFilePinToggle:lc,pinnedPaths:Tn,selectedFilePath:ze,query:te,searchRootPath:Bl,searchOptions:Ul,searchMode:P,onContentMatchSelect:ti,onDirectoryDropFiles:(e,n)=>Gs(n,e),revealDirectory:ke,canOpenInFileBrowser:wl,onOpenInFileBrowser:Jl})]}),t.jsx("div",{role:"separator","aria-orientation":"vertical","aria-label":o("rightSidebar.resizeFileTree"),title:o("rightSidebar.resizeFileTree"),"data-local-layer":"file-preview-separator",className:"group relative z-10 w-2 shrink-0 cursor-col-resize touch-none border-l border-border/15 bg-surface",onPointerDown:Ku,onPointerMove:Vu,onPointerUp:Kl,onPointerCancel:Kl,onDoubleClick:()=>{Bo(Qi),Nt(Cs,Qi)},children:t.jsx("span",{className:"absolute left-1/2 top-0 h-full w-px -translate-x-1/2 bg-border/20 transition group-hover:bg-primary/45"})}),t.jsx("div",{className:"min-w-0 flex-1 overflow-hidden bg-surface",children:t.jsx(yo,{filePath:ze,active:r&&ur,onInsertReference:Wt,onInsertText:Or,onInsertFeature:za,onReviewReference:za,onReferenceCopied:Sr,onDirectoryLinkOpen:qc,isMobile:!1,lineRange:Gr,onLineRangeChange:ct,insertedReferenceKey:Ye,copiedReferenceKey:W,scrollToLine:mr,onScrollToLineHandled:()=>rr(null),markdownOutlineOpen:D,markdownOutlineCloseSignal:F,onOpenMarkdownOutline:Z,onCloseMarkdownOutline:L,markdownImageLightboxOpen:q,markdownImageLightboxCloseSignal:le,onOpenMarkdownImageLightbox:Y,onCloseMarkdownImageLightbox:me})})]})}),t.jsx(Ss,{active:Rt,mounted:Fu||Rt,children:()=>Zo?t.jsx(Oh,{}):V?t.jsx(Gi,{mobile:!0,backLabel:o("rightSidebar.backToChangeList"),externalSwiperRef:Jo,onMobileSlideChange:Ao,groups:Kt.length>0?Cc():[],mode:nr,onModeChange:to,selectedKey:ze,scrollToKey:Tc,scrollToKeyNonce:Aa.nonce,compact:!1,collapsedDirectoryKeys:zn,onToggleDirectory:Ic,onSelectFile:e=>{const n=Fn.get(e.key);n&&eo(Nr(n))},renderLeading:Nc,renderTrailing:e=>{const n=Fn.get(e.key);return n?jc(n):null},renderDirectoryTrailing:Rc,renderSubtitle:e=>{const n=Fn.get(e.key);return n?Sc(n):null},listContainerClassName:"termdock-native-select min-h-0 px-2 pb-[calc(env(safe-area-inset-bottom)+4.5rem)]",renderListHeader:e=>f&&t.jsxs("div",{className:"px-0 py-0",children:[io&&t.jsx("div",{className:"mb-2",children:io}),t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsx("div",{className:"min-w-0",children:t.jsx("div",{className:"text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground",children:o("rightSidebar.allChanges")})}),t.jsxs("span",{className:"shrink-0 text-[10px] text-muted-foreground",children:[Kt.length,"/",xs.count]})]}),t.jsxs(yd,{actions:Xc,children:[wc(),e,d&&Js(),Yc]},f),fr&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:fr.label}),fr.branch&&t.jsx("span",{className:"max-w-[7rem] truncate rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:fr.branch})]}),!fr&&$n&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:[t.jsx(Cr,{size:12,className:"shrink-0"}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:o("rightSidebar.selectRepositoryForDiff")})]})]}),aiContent:Va?(e=>Lc(e)):void 0,emptyContent:Zo?null:Sn&&Ne.size===0?t.jsx(fo,{message:Sn,onRetry:()=>{ds()}}):Ne.size===0?t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o("rightSidebar.noChanges")}):Kt.length===0?t.jsx("div",{className:"bg-surface-2 px-3 py-4 text-center text-xs text-muted-foreground",children:o("rightSidebar.noMatchingChanges")}):null,renderMobileDetailHeader:({slideToList:e})=>t.jsxs("div",{className:"flex flex-wrap items-center justify-between gap-2",children:[t.jsxs("button",{type:"button",onClick:e,className:"inline-flex h-9 shrink-0 items-center gap-1.5 rounded-full bg-surface-2 px-3 text-xs font-semibold text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground active:scale-95",title:o("rightSidebar.backToChangeList"),children:[t.jsx(ma,{size:14}),o("rightSidebar.backToChangeList")]}),t.jsxs("div",{className:"ml-auto flex min-w-0 flex-wrap items-center justify-end gap-1.5",children:[d&&Js(),t.jsxs("button",{type:"button",onClick:ro,"aria-pressed":tt,title:o("rightSidebar.wrapLongLines"),className:`inline-flex h-9 shrink-0 items-center gap-1 rounded-full px-3 text-[11px] font-medium transition active:scale-95 ${tt?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:o(tt?"rightSidebar.wrapOn":"rightSidebar.wrapOff")})]}),f&&t.jsx("button",{type:"button",onClick:()=>{ds()},disabled:yr,"aria-label":o("rightSidebar.refreshGit"),title:o("rightSidebar.refreshGit"),className:"inline-flex h-9 w-9 shrink-0 items-center justify-center rounded-full bg-surface-2 text-muted-foreground transition hover:bg-surface-elevated hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 active:scale-95",children:t.jsx(bo,{size:14,className:yr?"animate-spin":""})})]})]}),detailContainerClassName:"termdock-native-select termdock-diff-stream-scroller min-h-0",files:Pc,activePane:Rt,wrap:tt,diffViewType:Fo,inlineMode:Wn,diffOptions:Bc,reloadKey:$e,renderStreamBadge:e=>t.jsx(fa,{status:e}),onHunkGitAction:_c,onInsertDiffReference:Hr,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W,onClearAuditRecord:Za,onDetailScroll:Qa}):t.jsx(Gi,{mobile:!1,desktopLayout:"split",desktopSidePanel:null,desktopListClassName:"w-[320px] min-w-[260px] shrink-0 overflow-y-auto overscroll-contain border-r border-border/15 bg-surface",backLabel:o("rightSidebar.backToChangeList"),groups:Kt.length>0?Cc():[],mode:nr,onModeChange:to,selectedKey:ze,scrollToKey:Tc,scrollToKeyNonce:Aa.nonce,compact:!0,collapsedDirectoryKeys:zn,onToggleDirectory:Ic,onSelectFile:e=>{const n=Fn.get(e.key);n&&eo(Nr(n))},renderLeading:Nc,renderTrailing:e=>{const n=Fn.get(e.key);return n?jc(n):null},renderDirectoryTrailing:Rc,renderSubtitle:e=>{const n=Fn.get(e.key);return n?Sc(n):null},aiContent:Va?(e=>Lc(e)):void 0,emptyContent:Zo?null:Sn&&Ne.size===0?t.jsx(fo,{message:Sn,onRetry:()=>{ds()}}):Ne.size===0?t.jsx("div",{className:"px-3 py-6 text-center text-xs text-muted-foreground",children:o("rightSidebar.noChanges")}):Kt.length===0?t.jsx("div",{className:"bg-surface-2 px-3 py-4 text-center text-xs text-muted-foreground",children:o("rightSidebar.noMatchingChanges")}):null,renderListHeader:e=>f&&t.jsxs("div",{className:"px-0 py-0",children:[io&&t.jsx("div",{className:"mb-2",children:io}),t.jsxs("div",{className:"flex items-center justify-between gap-2",children:[t.jsx("span",{className:"px-1 text-[10px] font-medium uppercase tracking-[0.14em] text-muted-foreground",children:o("rightSidebar.allChanges")}),t.jsx("div",{className:"flex items-center gap-1.5",children:t.jsxs("span",{className:"text-[10px] text-muted-foreground",children:[Kt.length,"/",xs.count]})})]}),t.jsxs(yd,{actions:Xc,children:[wc(),e,Js(),t.jsxs("button",{type:"button",onClick:ro,"aria-pressed":tt,title:o("rightSidebar.wrapLongLines"),className:`inline-flex h-7 shrink-0 items-center gap-1 rounded-full px-2 text-[10px] font-semibold transition active:scale-95 ${tt?"bg-primary/15 text-primary":"bg-surface-2 text-muted-foreground hover:text-foreground"}`,children:[t.jsx("span",{className:"font-mono text-[12px] leading-none",children:"Aa"}),t.jsx("span",{children:o(tt?"rightSidebar.wrapOn":"rightSidebar.wrapOff")})]}),Yc]},f),fr&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5",children:[t.jsx("span",{className:"min-w-0 flex-1 truncate text-[11px] font-medium text-foreground",children:fr.label}),fr.branch&&t.jsx("span",{className:"max-w-[7rem] truncate rounded bg-surface-2 px-1.5 py-0.5 text-[10px] text-muted-foreground",children:fr.branch})]}),!fr&&$n&&t.jsxs("div",{className:"mt-2 flex items-center gap-1.5 rounded-md bg-surface-2 px-2 py-1.5 text-[11px] text-muted-foreground",children:[t.jsx(Cr,{size:12,className:"shrink-0"}),t.jsx("span",{className:"min-w-0 flex-1 truncate",children:o("rightSidebar.selectRepositoryForDiff")})]})]}),files:Pc,activePane:Rt,wrap:tt,diffViewType:sr,inlineMode:Wn,diffOptions:Bc,reloadKey:$e,renderStreamBadge:e=>t.jsx(fa,{status:e}),onHunkGitAction:_c,onInsertDiffReference:Hr,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W,onClearAuditRecord:Za,onDetailScroll:Qa})}),t.jsx(Ss,{active:Pn,mounted:cr.architecture&&(Ju||r&&Pn),children:t.jsx(s.Suspense,{fallback:t.jsx("p",{role:"status",className:"p-4 text-sm text-muted-foreground",children:o("architecture.loading")}),children:t.jsx(ag,{rootPath:f,active:r&&Pn,onInsertPrompt:(e,n)=>Or(e,`architecture:${f}`,n),renderSource:e=>f&&t.jsx(Gg,{rootPath:f,file:e,active:r&&Pn,isMobile:V,onInsertReference:Wt,onInsertText:Or,onReferenceCopied:Sr,insertedReferenceKey:Ye,copiedReferenceKey:W},`${e.path}:${e.line??1}`),onOpenFile:e=>{f&&(Et("files"),At(null),ti(`${f.replace(/\/+$/,"")}/${e.path}`,e.line??1))}},f)})}),t.jsx(Ss,{active:r&&hs,mounted:cr.computer&&(Yu||r&&hs),children:t.jsx(s.Suspense,{fallback:t.jsx("div",{className:"p-3 text-xs text-muted-foreground",children:o("computer.loading")}),children:t.jsx(og,{active:r&&hs})})}),t.jsx(Ss,{active:fs,mounted:Lo&&tn,children:Du?t.jsxs("div",{className:"flex h-full flex-col items-center justify-center gap-2 p-4 text-center text-[11px] text-muted-foreground",children:[t.jsx("span",{children:o("android.splitDockedHint")}),t.jsx("button",{type:"button",onClick:()=>{ji.getState().setDock(Ni,null),ca({androidPanel:{docked:null}}).catch(()=>{})},className:"rounded bg-surface-2 px-2 py-1 text-foreground",children:o("android.splitClose")})]}):t.jsx(op,{sessionId:a??null,onCloseTab:()=>Vl(!1),onInsertPrompt:async(e,n)=>{if(!await Hr("android-deps",e,void 0,n))throw new Error(o("rightSidebar.uploadReferenceRejected"))},onInsertFile:sf,onRecordingComplete:nf})})]}),r&<&&t.jsx("div",{role:"alert",className:"shrink-0 border-t border-border/15 px-3 py-2 text-xs text-destructive",children:o("rightSidebar.referenceInsertFailed")}),r&&Mt.task&&t.jsx(fm,{task:Mt.task,onCancel:Mt.cancel,onRetry:()=>{Mt.retry()},onDismiss:Mt.dismiss,labels:{uploading:o("rightSidebar.uploadPending"),inserting:o("rightSidebar.uploadInserting"),done:o(Mt.task.kind==="image"?"rightSidebar.uploadReferenceDone":"rightSidebar.uploadDone",{count:Mt.task.uploaded.length}),failed:o("rightSidebar.uploadFailed"),canceled:o("rightSidebar.uploadCanceled"),referenceRejected:o("rightSidebar.uploadReferenceRejected"),limit:o("rightSidebar.uploadLimit"),cancel:o("common.cancel"),retry:o("common.retry"),dismiss:o("common.close"),files:o("rightSidebar.uploadFileCount",{count:Mt.task.files.length})}}),r&&He&&t.jsx(im,{value:Xe,collapsed:_n,autoCollapseAfterSend:Zt,focusRequest:Ar,insertError:Ts?o("rightSidebar.contextDraftInsertFailed"):null,onChange:e=>{cn(!1),pr(e)},onCollapsedChange:Qt,onAutoCollapseAfterSendChange:yt,onDisable:()=>Wr(!1),onClear:()=>pr(""),onInsert:e=>rc(!1,e),onInsertAndSend:e=>rc(!0,e),labels:{title:o("rightSidebar.contextDraftTitle"),hint:o("rightSidebar.contextDraftHint"),placeholder:o("rightSidebar.contextDraftPlaceholder"),collapse:o("rightSidebar.contextDraftCollapse"),expand:o("rightSidebar.contextDraftExpand"),disable:o("rightSidebar.contextDraftDisable"),clear:o("rightSidebar.contextDraftClear"),insert:o("rightSidebar.contextDraftInsert"),insertAndSend:o("rightSidebar.contextDraftInsertAndSend"),inserted:o("rightSidebar.contextDraftInserted"),sent:o("rightSidebar.contextDraftSent"),pending:o("rightSidebar.contextDraftPending"),send:o("rightSidebar.contextDraftSend"),appended:o("rightSidebar.contextDraftAppended"),resize:o("rightSidebar.contextDraftResize"),autoCollapseAfterSend:o("rightSidebar.contextDraftAutoCollapseAfterSend"),characterCount:e=>o("rightSidebar.contextDraftCharacterCount",{count:e})}}),xf(),ht&&typeof document<"u"&&Bn.createPortal(t.jsx("div",{className:"fixed inset-0 z-modal-backdrop bg-[var(--app-backdrop)] backdrop-blur-sm",onClick:()=>xn(null),children:t.jsxs("div",{className:"fixed inset-x-3 bottom-[max(1.5rem,env(safe-area-inset-bottom,0px))] z-modal-panel mx-auto max-w-md rounded-2xl border border-border/20 bg-surface-elevated p-4 shadow-2xl",onClick:e=>e.stopPropagation(),children:[t.jsx("div",{className:"text-sm font-semibold text-foreground",children:ht.kind==="restore"?o("rightSidebar.confirmRestoreTitle"):o("rightSidebar.confirmStashAllTitle")}),t.jsx("div",{className:"mt-2 text-xs leading-relaxed text-muted-foreground",children:ht.kind==="restore"?o("rightSidebar.confirmRestoreDescription",{path:eu(ht.file.absolutePath,f)}):o("rightSidebar.confirmStashAllDescription")}),ht.kind==="restore"&&t.jsx("input",{value:ht.phrase,onChange:e=>xn({...ht,phrase:e.target.value}),placeholder:o("rightSidebar.confirmRestorePlaceholder"),className:"mt-3 w-full rounded-xl border border-border/20 bg-surface-2 px-3 py-2 text-sm text-foreground placeholder:text-muted-foreground",autoFocus:!0}),t.jsxs("div",{className:"mt-4 flex justify-end gap-2",children:[t.jsx("button",{type:"button",onClick:()=>xn(null),className:"rounded-full bg-surface-2 px-3 py-1.5 text-xs font-medium text-muted-foreground hover:bg-surface-elevated hover:text-foreground",children:o("common.cancel")}),t.jsx("button",{type:"button",disabled:!!Te||ht.kind==="restore"&&ht.phrase.trim()!==o("rightSidebar.confirmRestorePhrase"),onClick:()=>{if(ht.kind==="restore"){const e=it(ht.file,f);if(!e)return;pt({action:"restore-worktree-file",cwd:e,paths:[ht.file.path],confirm:{acknowledged:!0,phrase:ht.phrase}},o("rightSidebar.restoreFile"),Ui(ht.file))}else{const e=ht.repoRoot??f;if(!e)return;pt({action:"stash-all",cwd:e},o("rightSidebar.stashAll"),`repo:${e}`)}},className:`rounded-full px-3 py-1.5 text-xs font-semibold disabled:opacity-50 ${ht.kind==="restore"?"bg-destructive text-destructive-foreground hover:bg-destructive/90":"bg-primary text-primary-foreground hover:bg-primary/90"}`,children:o(Te?"rightSidebar.gitActionRunning":"rightSidebar.confirmAction")})]})]})}),document.body)]})}const Ib=Object.freeze(Object.defineProperty({__proto__:null,FilePreview:yo,MarkdownImageLightbox:up,MarkdownPreview:tu,RightSidebar:qg,__testParseMarkdownListBlock:fp,buildMarkdownPreviewBlocks:hp,buildMarkdownPreviewRenderResult:pp,collectKnownGitRepoRoots:Su,computeMarkdownImageDisplayBox:mp,getMarkdownHeadingOutline:gp,getMarkdownHeadingPathAtLine:bp,getNextMarkdownPreviewLineRange:Pg,isSvgImageSrc:xp,mountRightSidebarRepoPickerOverlay:pu,replaceGitRepositorySnapshot:Tu,resolveMarkdownLocalLinkTarget:vp,resolveRightSidebarDiffViewType:wu,shouldCloseMarkdownImageLightboxDrag:yp,showsGitRepoGroupHeader:Zi},Symbol.toStringTag,{value:"Module"}));export{Ib as R,Up as c,Lb as m};
|