@chrisjowen/wheelhouse 0.25.1 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css +1 -0
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DfMBwLbg.css.gz +0 -0
- package/build/client/_app/immutable/chunks/0zdgIjci.js +2 -0
- package/build/client/_app/immutable/chunks/0zdgIjci.js.br +0 -0
- package/build/client/_app/immutable/chunks/0zdgIjci.js.gz +0 -0
- package/build/client/_app/immutable/chunks/2M-WxCsd.js +3 -0
- package/build/client/_app/immutable/chunks/2M-WxCsd.js.br +0 -0
- package/build/client/_app/immutable/chunks/2M-WxCsd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B0l1zoaP.js +1 -0
- package/build/client/_app/immutable/chunks/B0l1zoaP.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0l1zoaP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1KO-Auj.js +1 -0
- package/build/client/_app/immutable/chunks/B1KO-Auj.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1KO-Auj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js +13 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js.br +0 -0
- package/build/client/_app/immutable/chunks/B6qh5sP6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7AxdNpl.js +1 -0
- package/build/client/_app/immutable/chunks/B7AxdNpl.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7AxdNpl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7CIGGfF.js +3 -0
- package/build/client/_app/immutable/chunks/B7CIGGfF.js.br +0 -0
- package/build/client/_app/immutable/chunks/B7CIGGfF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNJ9K67x.js +6 -0
- package/build/client/_app/immutable/chunks/BNJ9K67x.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNJ9K67x.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVMvYJNR.js +1 -0
- package/build/client/_app/immutable/chunks/BVMvYJNR.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVMvYJNR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhkJ3lTY.js +7 -0
- package/build/client/_app/immutable/chunks/BhkJ3lTY.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhkJ3lTY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Br-ErZgz.js +1 -0
- package/build/client/_app/immutable/chunks/Br-ErZgz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Br-ErZgz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js +1 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bw9VDV5E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BwgWcTqi.js +1 -0
- package/build/client/_app/immutable/chunks/BwgWcTqi.js.br +0 -0
- package/build/client/_app/immutable/chunks/BwgWcTqi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8ABSVLY.js +1 -0
- package/build/client/_app/immutable/chunks/C8ABSVLY.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8ABSVLY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js +4 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js.br +0 -0
- package/build/client/_app/immutable/chunks/C97qdOZ6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHWya5-n.js +1 -0
- package/build/client/_app/immutable/chunks/CHWya5-n.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHWya5-n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSr9mSag.js +2 -0
- package/build/client/_app/immutable/chunks/CSr9mSag.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSr9mSag.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js +1 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVUv3vK_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CYK2vYXV.js +1 -0
- package/build/client/_app/immutable/chunks/CYK2vYXV.js.br +0 -0
- package/build/client/_app/immutable/chunks/CYK2vYXV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js +1 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_D8fRYf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C_Devth_.js +1 -0
- package/build/client/_app/immutable/chunks/C_Devth_.js.br +0 -0
- package/build/client/_app/immutable/chunks/C_Devth_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmX8kOuN.js +1 -0
- package/build/client/_app/immutable/chunks/CmX8kOuN.js.br +1 -0
- package/build/client/_app/immutable/chunks/CmX8kOuN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CnOpkcn4.js +3 -0
- package/build/client/_app/immutable/chunks/CnOpkcn4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CnOpkcn4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CoS_3oom.js +1 -0
- package/build/client/_app/immutable/chunks/CoS_3oom.js.br +0 -0
- package/build/client/_app/immutable/chunks/CoS_3oom.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js +1 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CosKnXYm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyAuzlRX.js +2 -0
- package/build/client/_app/immutable/chunks/CyAuzlRX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CyAuzlRX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D-jtpdBG.js +1 -0
- package/build/client/_app/immutable/chunks/D-jtpdBG.js.br +0 -0
- package/build/client/_app/immutable/chunks/D-jtpdBG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5NdSrls.js +1 -0
- package/build/client/_app/immutable/chunks/D5NdSrls.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5NdSrls.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DLPkvt0u.js +1 -0
- package/build/client/_app/immutable/chunks/DLPkvt0u.js.br +0 -0
- package/build/client/_app/immutable/chunks/DLPkvt0u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSXaG6Bi.js +6 -0
- package/build/client/_app/immutable/chunks/DSXaG6Bi.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSXaG6Bi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUpe8R7O.js +1 -0
- package/build/client/_app/immutable/chunks/DUpe8R7O.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUpe8R7O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DWtL99pU.js +3 -0
- package/build/client/_app/immutable/chunks/DWtL99pU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DWtL99pU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZoDs0xh.js +7 -0
- package/build/client/_app/immutable/chunks/DZoDs0xh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZoDs0xh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dc0ohDnQ.js +5 -0
- package/build/client/_app/immutable/chunks/Dc0ohDnQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dc0ohDnQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dd_RZdO_.js +1 -0
- package/build/client/_app/immutable/chunks/Dd_RZdO_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dd_RZdO_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlWmnnfR.js +1 -0
- package/build/client/_app/immutable/chunks/DlWmnnfR.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlWmnnfR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DrjvswWv.js +8 -0
- package/build/client/_app/immutable/chunks/DrjvswWv.js.br +0 -0
- package/build/client/_app/immutable/chunks/DrjvswWv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js +3 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dww8tpkZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DxD0YU28.js +3 -0
- package/build/client/_app/immutable/chunks/DxD0YU28.js.br +0 -0
- package/build/client/_app/immutable/chunks/DxD0YU28.js.gz +0 -0
- package/build/client/_app/immutable/chunks/FAY4qD4w.js +1 -0
- package/build/client/_app/immutable/chunks/FAY4qD4w.js.br +0 -0
- package/build/client/_app/immutable/chunks/FAY4qD4w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/JobjkWB7.js +1 -0
- package/build/client/_app/immutable/chunks/JobjkWB7.js.br +0 -0
- package/build/client/_app/immutable/chunks/JobjkWB7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NT4VAohP.js +1 -0
- package/build/client/_app/immutable/chunks/NT4VAohP.js.br +0 -0
- package/build/client/_app/immutable/chunks/NT4VAohP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js +1 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js.br +0 -0
- package/build/client/_app/immutable/chunks/Um44Ka4n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_3k0Ipf9.js +1 -0
- package/build/client/_app/immutable/chunks/_3k0Ipf9.js.br +0 -0
- package/build/client/_app/immutable/chunks/_3k0Ipf9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/thHXEfLL.js +1 -0
- package/build/client/_app/immutable/chunks/thHXEfLL.js.br +0 -0
- package/build/client/_app/immutable/chunks/thHXEfLL.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D3oKTr3U.js +2 -0
- package/build/client/_app/immutable/entry/app.D3oKTr3U.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D3oKTr3U.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.DefphTEO.js +1 -0
- package/build/client/_app/immutable/entry/start.DefphTEO.js.br +0 -0
- package/build/client/_app/immutable/entry/start.DefphTEO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DQWeEbUs.js +9 -0
- package/build/client/_app/immutable/nodes/0.DQWeEbUs.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DQWeEbUs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.xa2IXfdp.js +1 -0
- package/build/client/_app/immutable/nodes/1.xa2IXfdp.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.xa2IXfdp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.B-H1XGvk.js +10 -0
- package/build/client/_app/immutable/nodes/10.B-H1XGvk.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.B-H1XGvk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.er3_trVK.js +9 -0
- package/build/client/_app/immutable/nodes/11.er3_trVK.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.er3_trVK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.B9akuJKr.js +11 -0
- package/build/client/_app/immutable/nodes/12.B9akuJKr.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.B9akuJKr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.CuCv0ecF.js +2 -0
- package/build/client/_app/immutable/nodes/13.CuCv0ecF.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.CuCv0ecF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.IsywgFjt.js +6 -0
- package/build/client/_app/immutable/nodes/14.IsywgFjt.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.IsywgFjt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.BXte1yyd.js +1 -0
- package/build/client/_app/immutable/nodes/15.BXte1yyd.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.BXte1yyd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BLt74hxU.js +10 -0
- package/build/client/_app/immutable/nodes/16.BLt74hxU.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BLt74hxU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.D4F9lyN6.js +1 -0
- package/build/client/_app/immutable/nodes/17.D4F9lyN6.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.D4F9lyN6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.B_LNnYxQ.js +3 -0
- package/build/client/_app/immutable/nodes/18.B_LNnYxQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.B_LNnYxQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CTYapI6B.js +1 -0
- package/build/client/_app/immutable/nodes/19.CTYapI6B.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CTYapI6B.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.BUba3CSr.js +28 -0
- package/build/client/_app/immutable/nodes/2.BUba3CSr.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.BUba3CSr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.-sjG54qN.js +14 -0
- package/build/client/_app/immutable/nodes/20.-sjG54qN.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.-sjG54qN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.DgkeSc2G.js +150 -0
- package/build/client/_app/immutable/nodes/21.DgkeSc2G.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.DgkeSc2G.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BAUjeGuV.js +3 -0
- package/build/client/_app/immutable/nodes/22.BAUjeGuV.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BAUjeGuV.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.CXhK0QCU.js +2 -0
- package/build/client/_app/immutable/nodes/23.CXhK0QCU.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.CXhK0QCU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.CFqS8ZKs.js +25 -0
- package/build/client/_app/immutable/nodes/24.CFqS8ZKs.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.CFqS8ZKs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.GD-9MT4X.js +5 -0
- package/build/client/_app/immutable/nodes/25.GD-9MT4X.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.GD-9MT4X.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.BYGOxRqj.js +18 -0
- package/build/client/_app/immutable/nodes/26.BYGOxRqj.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.BYGOxRqj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DE7BOwCd.js +4 -0
- package/build/client/_app/immutable/nodes/28.DE7BOwCd.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DE7BOwCd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CMd4jZ7N.js +2 -0
- package/build/client/_app/immutable/nodes/3.CMd4jZ7N.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CMd4jZ7N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DGgWzpFN.js +6 -0
- package/build/client/_app/immutable/nodes/30.DGgWzpFN.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DGgWzpFN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.ClvxI8Nu.js +8 -0
- package/build/client/_app/immutable/nodes/31.ClvxI8Nu.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.ClvxI8Nu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.DKINsCz1.js +2 -0
- package/build/client/_app/immutable/nodes/32.DKINsCz1.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.DKINsCz1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.ayls7wi_.js +5 -0
- package/build/client/_app/immutable/nodes/33.ayls7wi_.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.ayls7wi_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.CGy2T4T4.js +4 -0
- package/build/client/_app/immutable/nodes/34.CGy2T4T4.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.CGy2T4T4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.y5VV-9ON.js +3 -0
- package/build/client/_app/immutable/nodes/35.y5VV-9ON.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.y5VV-9ON.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.DQacikA_.js +7 -0
- package/build/client/_app/immutable/nodes/36.DQacikA_.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.DQacikA_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.B4FRxcvb.js +2 -0
- package/build/client/_app/immutable/nodes/37.B4FRxcvb.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.B4FRxcvb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.B2o5-Jkl.js +4 -0
- package/build/client/_app/immutable/nodes/38.B2o5-Jkl.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.B2o5-Jkl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/39.DnNWBxKw.js +7 -0
- package/build/client/_app/immutable/nodes/39.DnNWBxKw.js.br +0 -0
- package/build/client/_app/immutable/nodes/39.DnNWBxKw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.C-BE9zSQ.js +5 -0
- package/build/client/_app/immutable/nodes/4.C-BE9zSQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.C-BE9zSQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.wiehfkUr.js +6 -0
- package/build/client/_app/immutable/nodes/40.wiehfkUr.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.wiehfkUr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/41.DUe48WLb.js +23 -0
- package/build/client/_app/immutable/nodes/41.DUe48WLb.js.br +0 -0
- package/build/client/_app/immutable/nodes/41.DUe48WLb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/42.BzFkgGne.js +1 -0
- package/build/client/_app/immutable/nodes/42.BzFkgGne.js.br +0 -0
- package/build/client/_app/immutable/nodes/42.BzFkgGne.js.gz +0 -0
- package/build/client/_app/immutable/nodes/43.C6Qrs38w.js +1 -0
- package/build/client/_app/immutable/nodes/43.C6Qrs38w.js.br +0 -0
- package/build/client/_app/immutable/nodes/43.C6Qrs38w.js.gz +0 -0
- package/build/client/_app/immutable/nodes/44.BrBXSOgy.js +6 -0
- package/build/client/_app/immutable/nodes/44.BrBXSOgy.js.br +0 -0
- package/build/client/_app/immutable/nodes/44.BrBXSOgy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.HX0KpCsb.js +1 -0
- package/build/client/_app/immutable/nodes/5.HX0KpCsb.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.HX0KpCsb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.B1fgdIIn.js +6 -0
- package/build/client/_app/immutable/nodes/6.B1fgdIIn.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.B1fgdIIn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DcQX9AUZ.js +3 -0
- package/build/client/_app/immutable/nodes/9.DcQX9AUZ.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DcQX9AUZ.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +6 -6
- package/build/index.js +6 -6
- package/build/server/chunks/chunks/Activity.js-BBPabTRg.js +46 -0
- package/build/server/chunks/chunks/AlreadyRemote.js-CGLXxI2a.js +38 -0
- package/build/server/chunks/chunks/ChecksStrip.js-2nkPLD7z.js +62 -0
- package/build/server/chunks/chunks/ConsoleWindow.js-DwIyLCUA.js +103 -0
- package/build/server/chunks/chunks/DecisionForm.js-BuZwcsBO.js +744 -0
- package/build/server/chunks/chunks/DecisionsBadge.js-CCOY0U9q.js +79 -0
- package/build/server/chunks/chunks/Discussion.js-C_Ft9jEY.js +582 -0
- package/build/server/chunks/chunks/DocChip.js-DfdNZF3o.js +79 -0
- package/build/server/chunks/chunks/DocSheet.js-B7CeDIgr.js +64 -0
- package/build/server/chunks/chunks/EtaLine.js-sj9VjtDa.js +41 -0
- package/build/server/chunks/chunks/EveryProjectSwitch.js-DkJtiJcy.js +35 -0
- package/build/server/chunks/chunks/Icon.js-DI_o6niz.js +129 -0
- package/build/server/chunks/chunks/InsightsNav.js-DMkon5DK.js +23 -0
- package/build/server/chunks/chunks/InstallFromGitHub.js-DI4S33SK.js +272 -0
- package/build/server/chunks/chunks/InstallPlugin.js-440cXtp_.js +18 -0
- package/build/server/chunks/chunks/Lightbox.js-DAo2hGg7.js +37 -0
- package/build/server/chunks/chunks/LinkedText.js-Bo4Ephdr.js +24 -0
- package/build/server/chunks/chunks/LiveDocPicker.js-BRaqXaw3.js +1309 -0
- package/build/server/chunks/chunks/LivePreview.js-BciwB-ic.js +208 -0
- package/build/server/chunks/chunks/MateHealthPill.js-BbZdZaO7.js +29 -0
- package/build/server/chunks/chunks/PluginElement.js-CTV6ALOe.js +25 -0
- package/build/server/chunks/chunks/PluginReview.js-Bi-LDgoo.js +110 -0
- package/build/server/chunks/chunks/PreviewWindow.js-B0EogasX.js +966 -0
- package/build/server/chunks/chunks/ProjectBanner.js-mQkwBIPz.js +145 -0
- package/build/server/chunks/chunks/ResizableRail.js-6RNB63jw.js +37 -0
- package/build/server/chunks/chunks/SavedNote.js-CDS7L6C_.js +130 -0
- package/build/server/chunks/chunks/SettingsNav.js-BSq75e4G.js +40 -0
- package/build/server/chunks/chunks/Sheet.js-D6ufSQ7B.js +3958 -0
- package/build/server/chunks/chunks/SlotContent.js-C_ho7NCE.js +691 -0
- package/build/server/chunks/chunks/StateIcon.js-DUvSDhWL.js +70 -0
- package/build/server/chunks/chunks/Switch.js-C1vnucCD.js +21 -0
- package/build/server/chunks/chunks/TaskView.js-DL9dNvag.js +3109 -0
- package/build/server/chunks/chunks/TimeBar.js-epyzPf8k.js +32 -0
- package/build/server/chunks/chunks/TimeLegend.js-CHD9ecoD.js +29 -0
- package/build/server/chunks/chunks/VaultAdd.js-Dh0XKY-s.js +146 -0
- package/build/server/chunks/chunks/WhereBadge.js-D9GezA27.js +91 -0
- package/build/server/chunks/chunks/anchor.js-B7JEbbq6.js +20 -0
- package/build/server/chunks/chunks/arrow-down.js-D9AO_Hok.js +18 -0
- package/build/server/chunks/chunks/arrow-left.js-dkCKwDh_.js +18 -0
- package/build/server/chunks/chunks/arrow-right.js--KpODuNy.js +18 -0
- package/build/server/chunks/chunks/arrow-up-right.js-zxMccGp5.js +18 -0
- package/build/server/chunks/chunks/arrow-up.js-D4LAvjFg.js +18 -0
- package/build/server/chunks/chunks/bell-off.js-DdoBg6ql.js +30 -0
- package/build/server/chunks/chunks/bell.js-DE12yiXu.js +194 -0
- package/build/server/chunks/chunks/bell2.js-BWD7bmoe.js +23 -0
- package/build/server/chunks/chunks/berths.js-D6ShvzXE.js +237 -0
- package/build/server/chunks/chunks/book-open.js-DlNEJ493.js +23 -0
- package/build/server/chunks/chunks/buildlog.js-D_3GlnGr.js +55 -0
- package/build/server/chunks/chunks/button.js-Cv3ubKJP.js +4027 -0
- package/build/server/chunks/chunks/chat.svelte.js-Bj4PRBrx.js +417 -0
- package/build/server/chunks/chunks/check.js-DfF_V9Zc.js +15 -0
- package/build/server/chunks/chunks/checks.js-vJmNWOsr.js +258 -0
- package/build/server/chunks/chunks/chevron-down.js-CT6xg--L.js +15 -0
- package/build/server/chunks/chunks/chevron-left.js-DPtlmw2O.js +15 -0
- package/build/server/chunks/chunks/chevron-right.js-DJz6vAQ4.js +15 -0
- package/build/server/chunks/chunks/circle-alert.js-BV4qQ79A.js +23 -0
- package/build/server/chunks/chunks/circle-arrow-up.js-CsWNvG11.js +20 -0
- package/build/server/chunks/chunks/circle-check.js-N1bzCX8s.js +19 -0
- package/build/server/chunks/chunks/circle-dashed.js-B2k7eTI1.js +24 -0
- package/build/server/chunks/chunks/circle-dot.js-BFSDwEKx.js +18 -0
- package/build/server/chunks/chunks/circle-question-mark.js-DJy2XDn9.js +20 -0
- package/build/server/chunks/chunks/circle-x.js-BVQ2Ed1q.js +20 -0
- package/build/server/chunks/chunks/client.js-Swm9KOkD.js +24 -0
- package/build/server/chunks/chunks/clock.js-R-2X90wz.js +18 -0
- package/build/server/chunks/chunks/cloud2.js-BZu9cK95.js +20 -0
- package/build/server/chunks/chunks/copy.js-CPNPmC4T.js +33 -0
- package/build/server/chunks/chunks/decisiondrafts.svelte.js-Y8YES4Ml.js +43 -0
- package/build/server/chunks/chunks/decisionhome.js-NtAaP-do.js +320 -0
- package/build/server/chunks/chunks/detail.js-C9bQr9zM.js +149 -0
- package/build/server/chunks/chunks/dialog-close.js-CMVFkNiq.js +42 -0
- package/build/server/chunks/chunks/dialog-content.js-C-Kzq-Z7.js +3386 -0
- package/build/server/chunks/chunks/dialog.js-DrBgN31d.js +362 -0
- package/build/server/chunks/chunks/external-link.js-CtPy946p.js +24 -0
- package/build/server/chunks/chunks/eye.js-65-hbGx2.js +23 -0
- package/build/server/chunks/chunks/features.js-Gpn3GBDq.js +181 -0
- package/build/server/chunks/chunks/feedback.js-C4Qqh_CM.js +67 -0
- package/build/server/chunks/chunks/file-text.js-9raR2ehk.js +26 -0
- package/build/server/chunks/chunks/folder.js-CQeIbUip.js +22 -0
- package/build/server/chunks/chunks/format.js-LmAzIWOy.js +82 -0
- package/build/server/chunks/chunks/git-commit-horizontal.js-0T8EV3fn.js +20 -0
- package/build/server/chunks/chunks/git-pull-request.js-CArdf4C9.js +20 -0
- package/build/server/chunks/chunks/hand.js-CDBR5wgQ.js +25 -0
- package/build/server/chunks/chunks/handled.js-CpIraGco.js +20 -0
- package/build/server/chunks/chunks/inbox.js-BnfWj0SF.js +240 -0
- package/build/server/chunks/chunks/index-server2.js-BGUiJh_L.js +17 -0
- package/build/server/chunks/chunks/index.js-BEO9kLnZ.js +1524 -0
- package/build/server/chunks/chunks/index2.js-Ne9LsnQj.js +40 -0
- package/build/server/chunks/chunks/insights.svelte.js-D2Vhrq7_.js +567 -0
- package/build/server/chunks/chunks/internal.js-CS5v8xK8.js +151 -0
- package/build/server/chunks/chunks/key-round.js-BvP9yTch.js +26 -0
- package/build/server/chunks/chunks/library-big.js-BbUdK_E5.js +27 -0
- package/build/server/chunks/chunks/list.js-CKo8sCqs.js +22 -0
- package/build/server/chunks/chunks/live.svelte.js-c69AWfsm.js +217 -0
- package/build/server/chunks/chunks/livereview.svelte.js-mlSJ12oO.js +58 -0
- package/build/server/chunks/chunks/loader-circle.js-CMRY-v5_.js +16 -0
- package/build/server/chunks/chunks/lock.js-DKnBruSq.js +28 -0
- package/build/server/chunks/chunks/marketplace-service.js-BZmN_N5H.js +557 -0
- package/build/server/chunks/chunks/maximize-2.js-B3tsnHT1.js +20 -0
- package/build/server/chunks/chunks/message-square.js-Ca6iGOwf.js +22 -0
- package/build/server/chunks/chunks/messages-square.js-BKBSAzsb.js +47 -0
- package/build/server/chunks/chunks/minus.js-C3ZUSMwC.js +15 -0
- package/build/server/chunks/chunks/monitor-play.js-CilOLGxR.js +28 -0
- package/build/server/chunks/chunks/mouse-pointer-click.js-D4xkz5Sp.js +75 -0
- package/build/server/chunks/chunks/ondeck.js-fIa0X29e.js +123 -0
- package/build/server/chunks/chunks/package-check.js-C0dwhtzK.js +26 -0
- package/build/server/chunks/chunks/package.js-Bq3nr_Q1.js +160 -0
- package/build/server/chunks/chunks/page.js-YFlZcxpC.js +13 -0
- package/build/server/chunks/chunks/pause.js-DlTb6_lg.js +24 -0
- package/build/server/chunks/chunks/pen-line.js-CjnlD61A.js +24 -0
- package/build/server/chunks/chunks/pencil.js-UJUmErbq.js +23 -0
- package/build/server/chunks/chunks/play.js-D8H1yEvn.js +22 -0
- package/build/server/chunks/chunks/plugins.js-DTJUPwJZ.js +58 -0
- package/build/server/chunks/chunks/plus.js-B9zHcZty.js +15 -0
- package/build/server/chunks/chunks/previewhelper2.js-38PIaJFE.js +214 -0
- package/build/server/chunks/chunks/pullrequests.js-CUPCHmas.js +32 -0
- package/build/server/chunks/chunks/pullrequests2.js-CCzk2sqm.js +12 -0
- package/build/server/chunks/chunks/puzzle.js-DJvq75RL.js +22 -0
- package/build/server/chunks/chunks/radio-tower.js-CBeuw6ko.js +23 -0
- package/build/server/chunks/chunks/refresh-cw.js-BR6Dl4e3.js +26 -0
- package/build/server/chunks/chunks/repo.js-BMNiWLpT.js +33 -0
- package/build/server/chunks/chunks/review.js-DdMUg7TP.js +176 -0
- package/build/server/chunks/chunks/root.js-DnHbjfVr.js +3105 -0
- package/build/server/chunks/chunks/rotate-ccw.js-CF09iCUn.js +21 -0
- package/build/server/chunks/chunks/rotate-cw.js-Bbi3Npjz.js +21 -0
- package/build/server/chunks/chunks/runtime.js-DVcQsPeC.js +26950 -0
- package/build/server/chunks/chunks/scale.js-zKsTaqRd.js +21 -0
- package/build/server/chunks/chunks/scribe.js-C_M8qKD1.js +1591 -0
- package/build/server/chunks/chunks/search.js-Zpb2PGbv.js +18 -0
- package/build/server/chunks/chunks/service.js-X2LyLmeg.js +1339 -0
- package/build/server/chunks/chunks/service2.js-CMLv9dsF.js +835 -0
- package/build/server/chunks/chunks/service3.js-Blb2CLgH.js +234 -0
- package/build/server/chunks/chunks/sessions.js-OvqNZqST.js +579 -0
- package/build/server/chunks/chunks/settings.js-AqcNnP0z.js +379 -0
- package/build/server/chunks/chunks/settings2.js-BsZ5vLGa.js +57 -0
- package/build/server/chunks/chunks/shield-check.js-D5jyKBXF.js +23 -0
- package/build/server/chunks/chunks/ship.js-DX0_DKCK.js +31 -0
- package/build/server/chunks/chunks/sparkles.js-BC6HgqJx.js +26 -0
- package/build/server/chunks/chunks/square-terminal.js-BsoQQJOB.js +30 -0
- package/build/server/chunks/chunks/starter.js-DSwlXSzf.js +400 -0
- package/build/server/chunks/chunks/state.svelte.js-CkSbGNMZ.js +13 -0
- package/build/server/chunks/chunks/store.js-CG9738oP.js +334 -0
- package/build/server/chunks/chunks/thumbs-up.js-zrropMVk.js +23 -0
- package/build/server/chunks/chunks/tmux.js-NVfcOTW_.js +504 -0
- package/build/server/chunks/chunks/tools.js-BE5l3Gq7.js +156 -0
- package/build/server/chunks/chunks/trash.js-Bgv8qBUv.js +22 -0
- package/build/server/chunks/chunks/triangle-alert.js-yTTA6t1y.js +25 -0
- package/build/server/chunks/chunks/uploads.js-Ca6miTnP.js +107 -0
- package/build/server/chunks/chunks/utils3.js-CjRVjhD-.js +3290 -0
- package/build/server/chunks/chunks/view.js-BElPJTHR.js +76 -0
- package/build/server/chunks/chunks/volume-2.js-BK92--6D.js +24 -0
- package/build/server/chunks/chunks/x.js-D5afbRfp.js +18 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-Jzv82kHJ.js +116 -0
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DDf84tee.js +112 -0
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-B2k8ocHJ.js +63 -0
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-BBtVTXi6.js +79 -0
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-D0dF4PGm.js +83 -0
- package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-DgjFPiji.js +68 -0
- package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-Dx1yUHE4.js +73 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-Cbqy6OvN.js +158 -0
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-OAN9aLRH.js +57 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-CdQ5ZPpI.js +75 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-CWnMa00j.js +111 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BD6cPvYy.js +87 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-Bq2pyyfj.js +77 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-CzLMutUi.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-C7IXkDQk.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-1jRWsgxw.js +71 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-Du4f9DVI.js +77 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-CjhDM0Y2.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CGhSC7L4.js +119 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-Dy0hm8C5.js +80 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DAeKGdZb.js +91 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BfgLOXCW.js +79 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-CN3ns4L7.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CTeOLkL7.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BhwGi92i.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-B7_gvqmr.js +62 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-Clhnt1eH.js +62 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BfHrBhqu.js +89 -0
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-BOPlWQ5R.js +87 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-Hy0CAtTG.js +80 -0
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-kG0T1sBk.js +172 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-i7BTtKEc.js +62 -0
- package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-DwQkt04q.js +71 -0
- package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-BFr5qk80.js +72 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-3GfqHz_q.js +91 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-YSnBSoPJ.js +72 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DpJi8gTx.js +27 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Dmi2TtY2.js +30 -0
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-BDhz3zHc.js +113 -0
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-CH0_OmoG.js +74 -0
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-CDN-TLBW.js +122 -0
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-DwKaKNA6.js +76 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-CzgNtqQE.js +97 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-B7OXNg2Y.js +86 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-Byxs2rx2.js +81 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-CxlOT3d9.js +78 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-sb12O9oa.js +27 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-DaXLbt-v.js +85 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DE5QKSKP.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DvoNJM4g.js +62 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-FoRXHBWI.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-B_T9SrsK.js +42 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-GYFg9mYY.js +67 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-5k5GMffs.js +76 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-DKt3NSdV.js +73 -0
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-8OnzE9xW.js +77 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DCxgBTjF.js +27 -0
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BbrjM36P.js +86 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-G9suLRB7.js +67 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-B0HGiUFQ.js +76 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-BorIpgIs.js +88 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DJDIVK6X.js +75 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CC9XG8HC.js +98 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-D37fFDBL.js +81 -0
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-B7diIVPv.js +476 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-CMcyA_3J.js +92 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-DFeBC-ua.js +71 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-B1dXoXmO.js +81 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-DUQICmH2.js +141 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-w7bH-h21.js +70 -0
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-C07FCyB7.js +84 -0
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-BiuAZHJi.js +70 -0
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-CaC6CQu6.js +73 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-OVT_ypVM.js +67 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-Dp1Ls3AH.js +86 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-DufwGyZl.js +113 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-DHUnZsHx.js +79 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-CmM6FUwF.js +108 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-DpiocCdL.js +127 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-Ci873QeH.js +82 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-DctaCGUR.js +84 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-BJtmpaCl.js +85 -0
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-Ez_0zlZC.js +24 -0
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-BywX2DJp.js +31 -0
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-Dp_wov_S.js +33 -0
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-CoJWuLMh.js +97 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-DgJzP3BZ.js +40 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BhIEstFY.js +27 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CN0dNfXB.js +27 -0
- package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-DeD0iNDn.js +78 -0
- package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-CQQhV3Ad.js +68 -0
- package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-B8jG0jJO.js +75 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-C_zUOY3L.js +87 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-B64mgG6P.js +66 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-D_88DdNr.js +16 -0
- package/build/server/chunks/entries/hooks.server.js-Dh6UAnOR.js +108 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-BdpERiEs.js +55 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-mE1ylvZx.js +6006 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-B6UzlwTL.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-C964dN3e.js +4527 -0
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-CTDTiD2b.js +115 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-b1fv0Hxu.js +14 -0
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DNAawoVW.js +226 -0
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-BRj0PNsz.js +16 -0
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-BFs_-wss.js +96 -0
- package/build/server/chunks/entries/pages/documents/_page.server.ts.js-flodyodL.js +15 -0
- package/build/server/chunks/entries/pages/documents/_page.svelte.js-D-MG9MTi.js +560 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-fF2G5TLX.js +17 -0
- package/build/server/chunks/entries/pages/files/_page.svelte.js-Bj7ZDfy2.js +62 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-0G9_1X2p.js +1011 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-BUwS_q5r.js +11 -0
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-ClGZADdu.js +296 -0
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-DKUMN2Xr.js +16 -0
- package/build/server/chunks/entries/pages/health/_page.svelte.js-i2kaUZZ9.js +518 -0
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-CeMr7vaN.js +18 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BNw3v_6q.js +902 -0
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-gc8uO0OA.js +18 -0
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.svelte.js-BPXD-rkz.js +162 -0
- package/build/server/chunks/entries/pages/more/_page.svelte.js-Bzg6zfvf.js +157 -0
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CxaPA0kk.js +678 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CK9Rye6C.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-8Dt2l0kq.js +62 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-Df6TL8wb.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DklpFCW6.js +938 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-CUY_g3Jn.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-B45JtjwN.js +84 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-D0-m9ks3.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-CGcmFeC9.js +421 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CpXln7WA.js +15 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-BRjamtVM.js +1839 -0
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-D6DHOm5i.js +25 -0
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.svelte.js-CdLqDrVT.js +106 -0
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-zpA0X9xl.js +37 -0
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.svelte.js-3lnCLe-o.js +438 -0
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-Bt142AxX.js +11 -0
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-C0HaHnXI.js +349 -0
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-DHwDkHQd.js +13 -0
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-CsdNCl_Y.js +420 -0
- package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-CT7kblYj.js +60 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-BjXcuDrf.js +12 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-3hfvdm74.js +18 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-Bw4n3Rb8.js +77 -0
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-LDuFEo9t.js +15 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-CZ6tzgXY.js +19 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-BULWgids.js +148 -0
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-CLjkUgKn.js +16 -0
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-C4J3V-Km.js +111 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-Byqrbco1.js +15 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-BcPvOZiU.js +83 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-Bg8YKqA2.js +797 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-COfhIHOO.js +254 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-DAISctey.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-CxRXDDvw.js +262 -0
- package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-KeyPKykf.js +126 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DdQi0cc5.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-DYyXp3g1.js +567 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BtQ4xzVV.js +17 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-CNoIxuWD.js +240 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-yvoy56Fv.js +11 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-B-HA_xqC.js +56 -0
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BpLpWf5G.js +11 -0
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-nHBU_yIB.js +62 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-CkwjYvnz.js +15 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-0Y9P6IE9.js +162 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-LZa6PCa_.js +18 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-BRfAhgMm.js +1440 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-ClQWpu_e.js +36 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CljLpMWM.js +123 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BSryzxZP.js +24 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-Vh5unW6G.js +81 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-DJ-lYPVA.js +11 -0
- package/build/server/chunks/entries/pages/time/_page.svelte.js-ACWC4zUJ.js +109 -0
- package/build/server/chunks/handler-C-epoXG5.js +1474 -0
- package/build/server/chunks/index.js-DZaWSu_x.js +4296 -0
- package/build/server/chunks/manifest.js-Bs3dGGaS.js +1050 -0
- package/build/server/chunks/nodes/0.js-CUQx2a3Z.js +69 -0
- package/build/server/chunks/nodes/1.js-QIxYNuA1.js +9 -0
- package/build/server/chunks/nodes/10.js-CVNRFCue.js +67 -0
- package/build/server/chunks/nodes/11.js-CMLYg1A8.js +69 -0
- package/build/server/chunks/nodes/12.js-EnNjuLSz.js +68 -0
- package/build/server/chunks/nodes/13.js-FovzUpZc.js +69 -0
- package/build/server/chunks/nodes/14.js-Dzhn7IO7.js +12 -0
- package/build/server/chunks/nodes/15.js-C6TEZIEI.js +9 -0
- package/build/server/chunks/nodes/16.js-CFQ1bRNI.js +9 -0
- package/build/server/chunks/nodes/17.js-BAQP-XWX.js +67 -0
- package/build/server/chunks/nodes/18.js-DYUEg8l6.js +70 -0
- package/build/server/chunks/nodes/19.js-BS8Oljvw.js +68 -0
- package/build/server/chunks/nodes/2.js-DiRU4uN2.js +67 -0
- package/build/server/chunks/nodes/20.js-tynI06Se.js +69 -0
- package/build/server/chunks/nodes/21.js-2pm4u3M3.js +68 -0
- package/build/server/chunks/nodes/22.js-DM3Vj5Bd.js +69 -0
- package/build/server/chunks/nodes/23.js-BWG_e31A.js +69 -0
- package/build/server/chunks/nodes/24.js-DV3jhbAX.js +25 -0
- package/build/server/chunks/nodes/25.js-Ca-FnHjf.js +25 -0
- package/build/server/chunks/nodes/26.js-uNR_gjDA.js +9 -0
- package/build/server/chunks/nodes/27.js-CnXwkd_G.js +25 -0
- package/build/server/chunks/nodes/28.js-CxUEctBQ.js +67 -0
- package/build/server/chunks/nodes/29.js-De22JWeb.js +18 -0
- package/build/server/chunks/nodes/3.js-CNrZqylH.js +9 -0
- package/build/server/chunks/nodes/30.js-Qn0c-Vzk.js +68 -0
- package/build/server/chunks/nodes/31.js-C0KpxFDH.js +67 -0
- package/build/server/chunks/nodes/32.js-Bv98uCoK.js +25 -0
- package/build/server/chunks/nodes/33.js-CRdQHqTz.js +67 -0
- package/build/server/chunks/nodes/34.js-CQG6qKeM.js +25 -0
- package/build/server/chunks/nodes/35.js-Dt4M3BNW.js +22 -0
- package/build/server/chunks/nodes/36.js-DVsjx_2S.js +67 -0
- package/build/server/chunks/nodes/37.js-TicGXn7l.js +70 -0
- package/build/server/chunks/nodes/38.js-CUwNpY95.js +69 -0
- package/build/server/chunks/nodes/39.js-C5XR9yJH.js +26 -0
- package/build/server/chunks/nodes/4.js-C9nkEEJr.js +68 -0
- package/build/server/chunks/nodes/40.js-ZJz-eJ85.js +69 -0
- package/build/server/chunks/nodes/41.js-Cs2k307C.js +71 -0
- package/build/server/chunks/nodes/42.js-CFiWBIi8.js +68 -0
- package/build/server/chunks/nodes/43.js-z75irp14.js +68 -0
- package/build/server/chunks/nodes/44.js-BpUOr_VO.js +67 -0
- package/build/server/chunks/nodes/5.js-1qKL1a3E.js +67 -0
- package/build/server/chunks/nodes/6.js-CJN74QV5.js +67 -0
- package/build/server/chunks/nodes/8.js-Dc5R6r5r.js +67 -0
- package/build/server/chunks/nodes/9.js-BSWhklfT.js +14 -0
- package/dist/cli.js +1 -1
- package/dist/wh-vault.js +1 -1
- package/firstmate-extension/firstmate-extension.json +1 -1
- package/package.json +1 -1
- package/build/client/_app/immutable/assets/0.Bi7wbObi.css +0 -1
- package/build/client/_app/immutable/assets/0.Bi7wbObi.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Bi7wbObi.css.gz +0 -0
- package/build/client/_app/immutable/chunks/28SuhBcT.js +0 -1
- package/build/client/_app/immutable/chunks/28SuhBcT.js.br +0 -0
- package/build/client/_app/immutable/chunks/28SuhBcT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/7W-6I0W5.js +0 -1
- package/build/client/_app/immutable/chunks/7W-6I0W5.js.br +0 -0
- package/build/client/_app/immutable/chunks/7W-6I0W5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8eCF3fZX.js +0 -1
- package/build/client/_app/immutable/chunks/8eCF3fZX.js.br +0 -0
- package/build/client/_app/immutable/chunks/8eCF3fZX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ALbIn9xu.js +0 -1
- package/build/client/_app/immutable/chunks/ALbIn9xu.js.br +0 -0
- package/build/client/_app/immutable/chunks/ALbIn9xu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-PCtbJj.js +0 -1
- package/build/client/_app/immutable/chunks/B-PCtbJj.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-PCtbJj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHXZdfEc.js +0 -1
- package/build/client/_app/immutable/chunks/BHXZdfEc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHXZdfEc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTF7kOWj.js +0 -5
- package/build/client/_app/immutable/chunks/BTF7kOWj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTF7kOWj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUYzAikv.js +0 -1
- package/build/client/_app/immutable/chunks/BUYzAikv.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUYzAikv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BUmi_NPh.js +0 -1
- package/build/client/_app/immutable/chunks/BUmi_NPh.js.br +0 -0
- package/build/client/_app/immutable/chunks/BUmi_NPh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BnGC1hPK.js +0 -8
- package/build/client/_app/immutable/chunks/BnGC1hPK.js.br +0 -0
- package/build/client/_app/immutable/chunks/BnGC1hPK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BpMceauw.js +0 -7
- package/build/client/_app/immutable/chunks/BpMceauw.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpMceauw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BuKI2ZJL.js +0 -7
- package/build/client/_app/immutable/chunks/BuKI2ZJL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BuKI2ZJL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1LJG_bi.js +0 -1
- package/build/client/_app/immutable/chunks/C1LJG_bi.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1LJG_bi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEgeDr98.js +0 -3
- package/build/client/_app/immutable/chunks/CEgeDr98.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEgeDr98.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIppRg38.js +0 -2
- package/build/client/_app/immutable/chunks/CIppRg38.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIppRg38.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQCVxehf.js +0 -1
- package/build/client/_app/immutable/chunks/CQCVxehf.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQCVxehf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CWXMOoE5.js +0 -1
- package/build/client/_app/immutable/chunks/CWXMOoE5.js.br +0 -2
- package/build/client/_app/immutable/chunks/CWXMOoE5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcZQvhp1.js +0 -1
- package/build/client/_app/immutable/chunks/CcZQvhp1.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcZQvhp1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CdXXnfvS.js +0 -1
- package/build/client/_app/immutable/chunks/CdXXnfvS.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdXXnfvS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CfSmEcaH.js +0 -6
- package/build/client/_app/immutable/chunks/CfSmEcaH.js.br +0 -0
- package/build/client/_app/immutable/chunks/CfSmEcaH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgJcnAcm.js +0 -3
- package/build/client/_app/immutable/chunks/CgJcnAcm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgJcnAcm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CgvWEeQK.js +0 -2
- package/build/client/_app/immutable/chunks/CgvWEeQK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CgvWEeQK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ckz7RGf0.js +0 -15
- package/build/client/_app/immutable/chunks/Ckz7RGf0.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ckz7RGf0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cl68Rk3P.js +0 -1
- package/build/client/_app/immutable/chunks/Cl68Rk3P.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cl68Rk3P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CqwyiX4n.js +0 -1
- package/build/client/_app/immutable/chunks/CqwyiX4n.js.br +0 -0
- package/build/client/_app/immutable/chunks/CqwyiX4n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CtfzluSe.js +0 -1
- package/build/client/_app/immutable/chunks/CtfzluSe.js.br +0 -0
- package/build/client/_app/immutable/chunks/CtfzluSe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cw6Vodkk.js +0 -1
- package/build/client/_app/immutable/chunks/Cw6Vodkk.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cw6Vodkk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D99Sj8Yt.js +0 -1
- package/build/client/_app/immutable/chunks/D99Sj8Yt.js.br +0 -0
- package/build/client/_app/immutable/chunks/D99Sj8Yt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9hRQQol.js +0 -1
- package/build/client/_app/immutable/chunks/D9hRQQol.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9hRQQol.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQZynC5d.js +0 -1
- package/build/client/_app/immutable/chunks/DQZynC5d.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQZynC5d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dg5Iatf7.js +0 -1
- package/build/client/_app/immutable/chunks/Dg5Iatf7.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dg5Iatf7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DhFU494N.js +0 -3
- package/build/client/_app/immutable/chunks/DhFU494N.js.br +0 -0
- package/build/client/_app/immutable/chunks/DhFU494N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Do7xN4Qx.js +0 -3
- package/build/client/_app/immutable/chunks/Do7xN4Qx.js.br +0 -0
- package/build/client/_app/immutable/chunks/Do7xN4Qx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DotKSDx1.js +0 -4
- package/build/client/_app/immutable/chunks/DotKSDx1.js.br +0 -0
- package/build/client/_app/immutable/chunks/DotKSDx1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dze9OLXA.js +0 -1
- package/build/client/_app/immutable/chunks/Dze9OLXA.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dze9OLXA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ITHHFCAt.js +0 -1
- package/build/client/_app/immutable/chunks/ITHHFCAt.js.br +0 -0
- package/build/client/_app/immutable/chunks/ITHHFCAt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/KLlJvBx3.js +0 -1
- package/build/client/_app/immutable/chunks/KLlJvBx3.js.br +0 -0
- package/build/client/_app/immutable/chunks/KLlJvBx3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Kh20FmpZ.js +0 -3
- package/build/client/_app/immutable/chunks/Kh20FmpZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Kh20FmpZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/V9uGi6jc.js +0 -1
- package/build/client/_app/immutable/chunks/V9uGi6jc.js.br +0 -0
- package/build/client/_app/immutable/chunks/V9uGi6jc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/WRwU91GU.js +0 -1
- package/build/client/_app/immutable/chunks/WRwU91GU.js.br +0 -0
- package/build/client/_app/immutable/chunks/WRwU91GU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js +0 -1
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js.br +0 -0
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_NxO7pzE.js +0 -1
- package/build/client/_app/immutable/chunks/_NxO7pzE.js.br +0 -0
- package/build/client/_app/immutable/chunks/_NxO7pzE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gocvF-xl.js +0 -1
- package/build/client/_app/immutable/chunks/gocvF-xl.js.br +0 -0
- package/build/client/_app/immutable/chunks/gocvF-xl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/nqsqhzVw.js +0 -5
- package/build/client/_app/immutable/chunks/nqsqhzVw.js.br +0 -0
- package/build/client/_app/immutable/chunks/nqsqhzVw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uFHn3SsP.js +0 -2
- package/build/client/_app/immutable/chunks/uFHn3SsP.js.br +0 -0
- package/build/client/_app/immutable/chunks/uFHn3SsP.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.D6StH31U.js +0 -2
- package/build/client/_app/immutable/entry/app.D6StH31U.js.br +0 -0
- package/build/client/_app/immutable/entry/app.D6StH31U.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.B2z8DOZI.js +0 -1
- package/build/client/_app/immutable/entry/start.B2z8DOZI.js.br +0 -0
- package/build/client/_app/immutable/entry/start.B2z8DOZI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.CKuUS76g.js +0 -9
- package/build/client/_app/immutable/nodes/0.CKuUS76g.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CKuUS76g.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.ClSKcXXD.js +0 -1
- package/build/client/_app/immutable/nodes/1.ClSKcXXD.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.ClSKcXXD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.C1VYgF4o.js +0 -10
- package/build/client/_app/immutable/nodes/10.C1VYgF4o.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.C1VYgF4o.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.Cz3SoD3J.js +0 -9
- package/build/client/_app/immutable/nodes/11.Cz3SoD3J.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.Cz3SoD3J.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.Ck8hTl9o.js +0 -3
- package/build/client/_app/immutable/nodes/12.Ck8hTl9o.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.Ck8hTl9o.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.uPkonAXk.js +0 -2
- package/build/client/_app/immutable/nodes/13.uPkonAXk.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.uPkonAXk.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.BhgJgo-p.js +0 -6
- package/build/client/_app/immutable/nodes/14.BhgJgo-p.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.BhgJgo-p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.C8fHy07w.js +0 -1
- package/build/client/_app/immutable/nodes/15.C8fHy07w.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.C8fHy07w.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BIiXdOvw.js +0 -10
- package/build/client/_app/immutable/nodes/16.BIiXdOvw.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BIiXdOvw.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.UCTOPfQ9.js +0 -1
- package/build/client/_app/immutable/nodes/17.UCTOPfQ9.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.UCTOPfQ9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.BIIxWe2_.js +0 -3
- package/build/client/_app/immutable/nodes/18.BIIxWe2_.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.BIIxWe2_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.MIMOOdHv.js +0 -1
- package/build/client/_app/immutable/nodes/19.MIMOOdHv.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.MIMOOdHv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.DtoFWLWO.js +0 -28
- package/build/client/_app/immutable/nodes/2.DtoFWLWO.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DtoFWLWO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.6wKzQBq7.js +0 -14
- package/build/client/_app/immutable/nodes/20.6wKzQBq7.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.6wKzQBq7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.5HKRevgQ.js +0 -150
- package/build/client/_app/immutable/nodes/21.5HKRevgQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.5HKRevgQ.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.D2Go4NAd.js +0 -3
- package/build/client/_app/immutable/nodes/22.D2Go4NAd.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.D2Go4NAd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.CD_BMpjF.js +0 -2
- package/build/client/_app/immutable/nodes/23.CD_BMpjF.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.CD_BMpjF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.T-WCg51Y.js +0 -25
- package/build/client/_app/immutable/nodes/24.T-WCg51Y.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.T-WCg51Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.BeupWX4f.js +0 -5
- package/build/client/_app/immutable/nodes/25.BeupWX4f.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.BeupWX4f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Yu_f5rJN.js +0 -18
- package/build/client/_app/immutable/nodes/26.Yu_f5rJN.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Yu_f5rJN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.CXVRuiJO.js +0 -4
- package/build/client/_app/immutable/nodes/28.CXVRuiJO.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.CXVRuiJO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CQz7EPod.js +0 -2
- package/build/client/_app/immutable/nodes/3.CQz7EPod.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CQz7EPod.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.Cn5WjjU2.js +0 -6
- package/build/client/_app/immutable/nodes/30.Cn5WjjU2.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.Cn5WjjU2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.X3AmUS0p.js +0 -8
- package/build/client/_app/immutable/nodes/31.X3AmUS0p.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.X3AmUS0p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.ByxI0zka.js +0 -2
- package/build/client/_app/immutable/nodes/32.ByxI0zka.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.ByxI0zka.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.D3i9rpHh.js +0 -5
- package/build/client/_app/immutable/nodes/33.D3i9rpHh.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.D3i9rpHh.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.0c6Z2Z6d.js +0 -4
- package/build/client/_app/immutable/nodes/34.0c6Z2Z6d.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.0c6Z2Z6d.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.BWPVbOEr.js +0 -3
- package/build/client/_app/immutable/nodes/35.BWPVbOEr.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.BWPVbOEr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.CvLYsEYT.js +0 -7
- package/build/client/_app/immutable/nodes/36.CvLYsEYT.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.CvLYsEYT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.BJz6-lS3.js +0 -2
- package/build/client/_app/immutable/nodes/37.BJz6-lS3.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.BJz6-lS3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.D_9ntghd.js +0 -4
- package/build/client/_app/immutable/nodes/38.D_9ntghd.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.D_9ntghd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/39.HPPVcNOu.js +0 -7
- package/build/client/_app/immutable/nodes/39.HPPVcNOu.js.br +0 -0
- package/build/client/_app/immutable/nodes/39.HPPVcNOu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.Doi_SYLu.js +0 -5
- package/build/client/_app/immutable/nodes/4.Doi_SYLu.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.Doi_SYLu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.CrsYdbJ2.js +0 -6
- package/build/client/_app/immutable/nodes/40.CrsYdbJ2.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.CrsYdbJ2.js.gz +0 -0
- package/build/client/_app/immutable/nodes/41.gEqeY20t.js +0 -23
- package/build/client/_app/immutable/nodes/41.gEqeY20t.js.br +0 -0
- package/build/client/_app/immutable/nodes/41.gEqeY20t.js.gz +0 -0
- package/build/client/_app/immutable/nodes/42.B2LWwGrT.js +0 -1
- package/build/client/_app/immutable/nodes/42.B2LWwGrT.js.br +0 -1
- package/build/client/_app/immutable/nodes/42.B2LWwGrT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/43.DsoNZEVC.js +0 -1
- package/build/client/_app/immutable/nodes/43.DsoNZEVC.js.br +0 -0
- package/build/client/_app/immutable/nodes/43.DsoNZEVC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/44.CdUnQCqR.js +0 -6
- package/build/client/_app/immutable/nodes/44.CdUnQCqR.js.br +0 -0
- package/build/client/_app/immutable/nodes/44.CdUnQCqR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.B4uTy-0f.js +0 -1
- package/build/client/_app/immutable/nodes/5.B4uTy-0f.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.B4uTy-0f.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.CmIB-igu.js +0 -6
- package/build/client/_app/immutable/nodes/6.CmIB-igu.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.CmIB-igu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.D5kLV1OU.js +0 -3
- package/build/client/_app/immutable/nodes/9.D5kLV1OU.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.D5kLV1OU.js.gz +0 -0
- package/build/server/chunks/chunks/Activity.js-TRKNufTv.js +0 -46
- package/build/server/chunks/chunks/AlreadyRemote.js-B9dpOq4z.js +0 -38
- package/build/server/chunks/chunks/ChecksStrip.js-DpNOeT0d.js +0 -62
- package/build/server/chunks/chunks/ConsoleWindow.js-DB2a1XZq.js +0 -103
- package/build/server/chunks/chunks/DecisionForm.js-dCyT41cv.js +0 -271
- package/build/server/chunks/chunks/DecisionsBadge.js-BT7araaK.js +0 -79
- package/build/server/chunks/chunks/Discussion.js-C7ImCf_I.js +0 -582
- package/build/server/chunks/chunks/DocChip.js-DoInQWPB.js +0 -79
- package/build/server/chunks/chunks/DocSheet.js-CvLGMl8R.js +0 -64
- package/build/server/chunks/chunks/EtaLine.js-DgmZtg1z.js +0 -41
- package/build/server/chunks/chunks/EveryProjectSwitch.js-DFedh6r3.js +0 -35
- package/build/server/chunks/chunks/Icon.js-BSe3UiY0.js +0 -129
- package/build/server/chunks/chunks/InsightsNav.js-CIoZLuch.js +0 -23
- package/build/server/chunks/chunks/InstallFromGitHub.js-DbS_ImCK.js +0 -272
- package/build/server/chunks/chunks/InstallPlugin.js-BAF6h48D.js +0 -18
- package/build/server/chunks/chunks/Lightbox.js-DIVP_DNg.js +0 -64
- package/build/server/chunks/chunks/LinkedText.js-C3BtxE5o.js +0 -24
- package/build/server/chunks/chunks/LiveDocPicker.js-D7q0xbOY.js +0 -1292
- package/build/server/chunks/chunks/LivePreview.js-CUX1-KGw.js +0 -208
- package/build/server/chunks/chunks/MateHealthPill.js-DGeuSNVh.js +0 -29
- package/build/server/chunks/chunks/MicButton.js-is_hVgKK.js +0 -299
- package/build/server/chunks/chunks/PluginReview.js-DHLjSCCq.js +0 -110
- package/build/server/chunks/chunks/ProjectBanner.js-CtkUYTol.js +0 -145
- package/build/server/chunks/chunks/ResizableRail.js-D0idmMXk.js +0 -708
- package/build/server/chunks/chunks/SavedNote.js-sDNsodLO.js +0 -130
- package/build/server/chunks/chunks/SettingsNav.js-7LVsgqnh.js +0 -40
- package/build/server/chunks/chunks/Sheet.js-lYnoKkza.js +0 -3958
- package/build/server/chunks/chunks/SlotContent.js-DYk-iMgl.js +0 -705
- package/build/server/chunks/chunks/StateIcon.js-M5Wwi7qa.js +0 -70
- package/build/server/chunks/chunks/Switch.js-BtyGsyCj.js +0 -21
- package/build/server/chunks/chunks/TaskView.js-d4_0kZ-e.js +0 -3029
- package/build/server/chunks/chunks/TimeBar.js-QcI60hC0.js +0 -32
- package/build/server/chunks/chunks/TimeLegend.js-CoI35VHR.js +0 -29
- package/build/server/chunks/chunks/VaultAdd.js-DoNDzv8g.js +0 -146
- package/build/server/chunks/chunks/WhereBadge.js-C409P9ko.js +0 -91
- package/build/server/chunks/chunks/anchor.js-DDwMIP0Q.js +0 -20
- package/build/server/chunks/chunks/arrow-down.js-MuVK21x2.js +0 -18
- package/build/server/chunks/chunks/arrow-left.js-BUq5aSvE.js +0 -18
- package/build/server/chunks/chunks/arrow-right.js-BXjyenL9.js +0 -18
- package/build/server/chunks/chunks/arrow-up-right.js-DxZbBu88.js +0 -18
- package/build/server/chunks/chunks/arrow-up.js-4EITtimh.js +0 -18
- package/build/server/chunks/chunks/bell-off.js-IP4h8fv1.js +0 -30
- package/build/server/chunks/chunks/bell.js-bn_lKpLG.js +0 -194
- package/build/server/chunks/chunks/bell2.js-DHxs6erM.js +0 -23
- package/build/server/chunks/chunks/berths.js-CHOi4_mf.js +0 -237
- package/build/server/chunks/chunks/book-open.js-C3zyxMN6.js +0 -23
- package/build/server/chunks/chunks/buildlog.js-B0xf1CmX.js +0 -55
- package/build/server/chunks/chunks/button.js-C5sjiSlr.js +0 -7311
- package/build/server/chunks/chunks/chat.svelte.js-D2aJKEp0.js +0 -417
- package/build/server/chunks/chunks/check.js-Cb1MkAS_.js +0 -15
- package/build/server/chunks/chunks/checks.js-D1HXYy4Y.js +0 -258
- package/build/server/chunks/chunks/chevron-down.js-C_cJX5RL.js +0 -15
- package/build/server/chunks/chunks/chevron-left.js-D_blEQ6e.js +0 -15
- package/build/server/chunks/chunks/chevron-right.js-CdDvdptI.js +0 -15
- package/build/server/chunks/chunks/circle-alert.js-Ci6msfOH.js +0 -23
- package/build/server/chunks/chunks/circle-arrow-up.js-LVDaauEI.js +0 -20
- package/build/server/chunks/chunks/circle-check.js-YvEA_06n.js +0 -19
- package/build/server/chunks/chunks/circle-dashed.js-C4gm0BKl.js +0 -24
- package/build/server/chunks/chunks/circle-dot.js-Du-iRC_f.js +0 -18
- package/build/server/chunks/chunks/circle-question-mark.js-C_poL_xK.js +0 -20
- package/build/server/chunks/chunks/circle-x.js-B8tvuZLu.js +0 -20
- package/build/server/chunks/chunks/client.js-Dr8b_KEN.js +0 -24
- package/build/server/chunks/chunks/clock.js-Bvi-kx70.js +0 -18
- package/build/server/chunks/chunks/cloud2.js-DSfUjxv8.js +0 -20
- package/build/server/chunks/chunks/copy.js-y8QFh8r-.js +0 -33
- package/build/server/chunks/chunks/decisionhome.js-GDNgBJjF.js +0 -319
- package/build/server/chunks/chunks/detail.js-DNmr2zHv.js +0 -149
- package/build/server/chunks/chunks/dialog-close.js-tuhObms6.js +0 -42
- package/build/server/chunks/chunks/dialog-content.js-BP-cSlND.js +0 -3386
- package/build/server/chunks/chunks/dialog.js-Cw_Lq7El.js +0 -361
- package/build/server/chunks/chunks/external-link.js-0Q2q1XJy.js +0 -24
- package/build/server/chunks/chunks/eye.js-DsR73i66.js +0 -23
- package/build/server/chunks/chunks/features.js-BhXyRT_1.js +0 -181
- package/build/server/chunks/chunks/feedback.js-CHXRyn5n.js +0 -67
- package/build/server/chunks/chunks/file-text.js-cjS1SZ5I.js +0 -26
- package/build/server/chunks/chunks/folder.js-QyYr7pHz.js +0 -22
- package/build/server/chunks/chunks/format.js-D0zBQ-fe.js +0 -73
- package/build/server/chunks/chunks/git-commit-horizontal.js-DC6rjZY2.js +0 -20
- package/build/server/chunks/chunks/git-pull-request.js-CI3dYm3l.js +0 -20
- package/build/server/chunks/chunks/hand.js-C5MHuoW1.js +0 -25
- package/build/server/chunks/chunks/handled.js-CSOW-IZA.js +0 -20
- package/build/server/chunks/chunks/inbox.js-Ci-STS86.js +0 -229
- package/build/server/chunks/chunks/index-server2.js-CipTSbO8.js +0 -17
- package/build/server/chunks/chunks/index.js-CGRR0Z5n.js +0 -1524
- package/build/server/chunks/chunks/index2.js-DU3D3Pw7.js +0 -40
- package/build/server/chunks/chunks/insights.svelte.js-BLcMx3lv.js +0 -567
- package/build/server/chunks/chunks/internal.js-O-vX00u6.js +0 -151
- package/build/server/chunks/chunks/key-round.js-B-PYwQe7.js +0 -26
- package/build/server/chunks/chunks/library-big.js-DWmP8EuU.js +0 -27
- package/build/server/chunks/chunks/list.js-C-XWUtAa.js +0 -22
- package/build/server/chunks/chunks/live.svelte.js-DnRGwlWJ.js +0 -217
- package/build/server/chunks/chunks/livereview.svelte.js-NtXFGLsh.js +0 -42
- package/build/server/chunks/chunks/loader-circle.js-DcM6SAe-.js +0 -16
- package/build/server/chunks/chunks/lock.js-C0NvMsBn.js +0 -28
- package/build/server/chunks/chunks/marketplace-service.js-7cE4n6mo.js +0 -557
- package/build/server/chunks/chunks/maximize-2.js-BTZd_1cV.js +0 -20
- package/build/server/chunks/chunks/message-square.js-mnnbByAj.js +0 -22
- package/build/server/chunks/chunks/messages-square.js-CEvcK1Tf.js +0 -47
- package/build/server/chunks/chunks/mic.js-DCnSfCr-.js +0 -22
- package/build/server/chunks/chunks/minus.js-VbjYaTxw.js +0 -15
- package/build/server/chunks/chunks/monitor-play.js-Cuf7xjBQ.js +0 -28
- package/build/server/chunks/chunks/mouse-pointer-click.js-CpebYlEi.js +0 -75
- package/build/server/chunks/chunks/ondeck.js-DqIA30QR.js +0 -121
- package/build/server/chunks/chunks/package-check.js-C9G_nUNN.js +0 -26
- package/build/server/chunks/chunks/package.js-X-RlQsSA.js +0 -160
- package/build/server/chunks/chunks/page.js-B6PDBS51.js +0 -13
- package/build/server/chunks/chunks/pause.js-DRMsDKp3.js +0 -24
- package/build/server/chunks/chunks/pen-line.js-D5r9PUgR.js +0 -24
- package/build/server/chunks/chunks/pencil.js-DJOVdk84.js +0 -23
- package/build/server/chunks/chunks/play.js-Dgf5Usqf.js +0 -22
- package/build/server/chunks/chunks/plugins.js-f8rCy8cN.js +0 -58
- package/build/server/chunks/chunks/plus.js-D0Svwm19.js +0 -15
- package/build/server/chunks/chunks/previewhelper2.js-CawzBO7t.js +0 -214
- package/build/server/chunks/chunks/pullrequests.js-CCzk2sqm.js +0 -12
- package/build/server/chunks/chunks/puzzle.js-CjqmWmcn.js +0 -22
- package/build/server/chunks/chunks/radio-tower.js-Blr8JF13.js +0 -23
- package/build/server/chunks/chunks/refresh-cw.js-D10WVNY2.js +0 -26
- package/build/server/chunks/chunks/repo.js-OOqVL99k.js +0 -33
- package/build/server/chunks/chunks/review.js-CqfnAPoe.js +0 -99
- package/build/server/chunks/chunks/root.js-DazUKLT0.js +0 -3105
- package/build/server/chunks/chunks/rotate-ccw.js-EmD9322l.js +0 -21
- package/build/server/chunks/chunks/rotate-cw.js-DRIy2sz-.js +0 -21
- package/build/server/chunks/chunks/runtime.js-D7BWZr4r.js +0 -26676
- package/build/server/chunks/chunks/scale.js-Bs7k4o3a.js +0 -21
- package/build/server/chunks/chunks/scribe.js-CrX8YPGp.js +0 -1591
- package/build/server/chunks/chunks/search.js-Dm3KXY8w.js +0 -18
- package/build/server/chunks/chunks/service.js-BNXHwz0z.js +0 -1339
- package/build/server/chunks/chunks/service2.js-K1G_0p9s.js +0 -835
- package/build/server/chunks/chunks/service3.js-DsuUdHqU.js +0 -234
- package/build/server/chunks/chunks/sessions.js-qcyBTO1C.js +0 -534
- package/build/server/chunks/chunks/settings.js-C5VqzDhW.js +0 -379
- package/build/server/chunks/chunks/settings2.js-B8ZEIDg9.js +0 -57
- package/build/server/chunks/chunks/shield-check.js-BeA40byG.js +0 -23
- package/build/server/chunks/chunks/ship.js-Bmn2Gi1I.js +0 -31
- package/build/server/chunks/chunks/sparkles.js-DQM2x00G.js +0 -26
- package/build/server/chunks/chunks/square-terminal.js-DNlVSTBa.js +0 -30
- package/build/server/chunks/chunks/starter.js-ClhdKcek.js +0 -400
- package/build/server/chunks/chunks/state.svelte.js-DZ9TIRJd.js +0 -13
- package/build/server/chunks/chunks/store.js-CBYhaqF1.js +0 -334
- package/build/server/chunks/chunks/thumbs-up.js-CvOXkwb6.js +0 -23
- package/build/server/chunks/chunks/tmux.js-BnFtiGpm.js +0 -504
- package/build/server/chunks/chunks/tools.js-CSWRR-_m.js +0 -156
- package/build/server/chunks/chunks/trash.js-Dav-8F4m.js +0 -22
- package/build/server/chunks/chunks/triangle-alert.js-C3r6V6Sr.js +0 -25
- package/build/server/chunks/chunks/uploads.js-ZX2kg51N.js +0 -107
- package/build/server/chunks/chunks/view.js-8odN6g23.js +0 -76
- package/build/server/chunks/chunks/volume-2.js-BdrATtWy.js +0 -24
- package/build/server/chunks/chunks/x.js-BY5-8Tlo.js +0 -18
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-BDWFdikr.js +0 -116
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-fQe2vCi_.js +0 -112
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-BVRNsIIW.js +0 -63
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-ySb9KZ_-.js +0 -79
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-BdAhPgNT.js +0 -83
- package/build/server/chunks/entries/endpoints/api/documents/_server.ts.js-Deuf72TK.js +0 -68
- package/build/server/chunks/entries/endpoints/api/documents/briefing/_server.ts.js-xQ85tCJ6.js +0 -73
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js--A6MYR5G.js +0 -158
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-C9jkqC7K.js +0 -57
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-BX1LxrEa.js +0 -75
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-C0J5w0FB.js +0 -111
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BTs5o7Mw.js +0 -87
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-C8FKFafE.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-WkSY6nlu.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-BJwI8Gmn.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-DVXInXQI.js +0 -71
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-KRUnXG1_.js +0 -77
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-C3wD-Bsc.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-yknBiY0D.js +0 -119
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DWcY1uoX.js +0 -80
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BOaD3IeK.js +0 -91
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BoSwn8Tv.js +0 -79
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-BdmoziWD.js +0 -70
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CSSUNhkV.js +0 -32
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-yZHelvlp.js +0 -40
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-CUL8Pq_B.js +0 -62
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CEdzoclv.js +0 -62
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BjVzUKNa.js +0 -89
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-hDF9NFq_.js +0 -87
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-CQFmK6Jj.js +0 -80
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-BgL_OBuS.js +0 -172
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-Bj3ArJ8e.js +0 -62
- package/build/server/chunks/entries/endpoints/api/library/doc/_server.ts.js-Ytj8LRyz.js +0 -71
- package/build/server/chunks/entries/endpoints/api/library/promote/_server.ts.js-Bsw-coX5.js +0 -72
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-BAq01f1Q.js +0 -91
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-DuDvfPGO.js +0 -72
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-DOA618e_.js +0 -27
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-XXsEGuag.js +0 -30
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-AHdWEtIp.js +0 -105
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-DzPUeQTi.js +0 -74
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-D_OL9OX2.js +0 -122
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-CsVJLGBv.js +0 -76
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-B21zqtCS.js +0 -97
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-D7dwIUHu.js +0 -86
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-DV8iGc2m.js +0 -81
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-HOT8HzRk.js +0 -78
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-TVTyRXGB.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Cpz_Nwq9.js +0 -85
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DWCTugFd.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-Dm0eRjNy.js +0 -62
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BUs16W7B.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-COg9oQo8.js +0 -42
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-oAXY6lwM.js +0 -67
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-C4oBldsb.js +0 -76
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-BPPmeb1O.js +0 -73
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-DcRonc0M.js +0 -77
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-D650HWSB.js +0 -27
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-bYzuM3AX.js +0 -86
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-DgBbAzui.js +0 -67
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-I7Q9NEeo.js +0 -76
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-Cqsk5blC.js +0 -88
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DhcvEOaq.js +0 -75
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-DnepVFAC.js +0 -98
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DW1M5BKY.js +0 -81
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-Dw6RfG7L.js +0 -476
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-B8bvA9DM.js +0 -92
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-D6eYs2D1.js +0 -71
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-q1F7JDi4.js +0 -81
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-3dHJdpfk.js +0 -141
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-CuKl_RQf.js +0 -70
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-CFd99DmZ.js +0 -84
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-C-2St0o7.js +0 -70
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-vvMmWUno.js +0 -73
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-CLqanxiv.js +0 -67
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DVxSMd63.js +0 -86
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-2ZTB9AOc.js +0 -113
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-Bqz9Jxq-.js +0 -79
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-B7cAJcuZ.js +0 -108
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-qGkkUc0n.js +0 -127
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-BVyk7T-v.js +0 -82
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-BMwxujEw.js +0 -84
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-40rgCCP-.js +0 -85
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-4PZyHkNr.js +0 -24
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-BjhLHXXA.js +0 -31
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-0u91Zt3R.js +0 -33
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-deys_OrX.js +0 -97
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-CXK5O72T.js +0 -40
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-VNIH1gz4.js +0 -27
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-DWmyyxxj.js +0 -27
- package/build/server/chunks/entries/endpoints/library/_shelf_/_folder_/_slug_/files/_...path_/_server.ts.js-BjRdBCjC.js +0 -78
- package/build/server/chunks/entries/endpoints/r/_task_/_server.ts.js-C1DBUIIo.js +0 -68
- package/build/server/chunks/entries/endpoints/records/_project_/_task_/files/_...path_/_server.ts.js-D-qgAHe2.js +0 -75
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-B_YfmtCr.js +0 -87
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-B8wpApaS.js +0 -66
- package/build/server/chunks/entries/fallbacks/error.svelte.js-CYARY1w1.js +0 -16
- package/build/server/chunks/entries/hooks.server.js-C2Jq471K.js +0 -108
- package/build/server/chunks/entries/pages/_layout.server.ts.js-Bt-gmVC8.js +0 -55
- package/build/server/chunks/entries/pages/_layout.svelte.js-CkPHJ6iw.js +0 -6023
- package/build/server/chunks/entries/pages/_page.server.ts.js-DfN7-68h.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-Bp57ktWC.js +0 -4907
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-4iz_H22d.js +0 -114
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-Cmkth9fT.js +0 -14
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-CdDgl6GR.js +0 -226
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-C0ulhk4E.js +0 -16
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-BWr-lM0V.js +0 -94
- package/build/server/chunks/entries/pages/documents/_page.server.ts.js-lb2y3RrU.js +0 -15
- package/build/server/chunks/entries/pages/documents/_page.svelte.js-BeqgIxJk.js +0 -560
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-C8K8Bywk.js +0 -17
- package/build/server/chunks/entries/pages/files/_page.svelte.js-BFTVNh9m.js +0 -62
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-B9vil56R.js +0 -1011
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-g48T0kd-.js +0 -11
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-CgLtCm2Z.js +0 -296
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-BtYNItQA.js +0 -16
- package/build/server/chunks/entries/pages/health/_page.svelte.js-4nHKfH4B.js +0 -517
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-BgSMH_CR.js +0 -18
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-BCqHJz1P.js +0 -676
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.server.ts.js-BGT47EiL.js +0 -18
- package/build/server/chunks/entries/pages/library/_shelf_/_folder_/_slug_/_page.svelte.js-BMwe2JBi.js +0 -160
- package/build/server/chunks/entries/pages/more/_page.svelte.js-DzJr69PI.js +0 -157
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-KHAEvkPW.js +0 -677
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-DBvqb-4n.js +0 -16
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-BnYeRjHX.js +0 -60
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-C5lDScfS.js +0 -23
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-O1kmMxkL.js +0 -1004
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-OHtCg3ps.js +0 -21
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-DqP-kxf8.js +0 -82
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-C5T5xtcE.js +0 -27
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-B7higppi.js +0 -420
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-4wFc1XPC.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-qkr8pljd.js +0 -1838
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.server.ts.js-BljSK7lM.js +0 -25
- package/build/server/chunks/entries/pages/prototypes/_project_/_task_/_name_/_page.svelte.js-DzzYhJQg.js +0 -106
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.server.ts.js-CXnAVg7S.js +0 -37
- package/build/server/chunks/entries/pages/records/_project_/_task_/_page.svelte.js-CxGM8n5w.js +0 -436
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-C-gvokYd.js +0 -11
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-BksgXzIg.js +0 -348
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-C5r6-ShC.js +0 -13
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-N3amDkFq.js +0 -420
- package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-CEuwD1Wk.js +0 -60
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-DGKwb104.js +0 -12
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-B3YDnmmB.js +0 -18
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-QcEoXRkC.js +0 -77
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-CFvm8n_H.js +0 -15
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-sFixjDN7.js +0 -19
- package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-8gyst-w5.js +0 -148
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-ORPe-Udr.js +0 -16
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-CPbIXxxX.js +0 -111
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-DRjZBOes.js +0 -15
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-DXOheNgP.js +0 -83
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-CuJj3RFV.js +0 -797
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-Cu1HOAHX.js +0 -254
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-7_ZbhFWy.js +0 -11
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-BIitAyTK.js +0 -261
- package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-DhjKoUs2.js +0 -126
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-BhiagNIi.js +0 -19
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BRvvIKgl.js +0 -566
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-Dgl8iOBp.js +0 -17
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-3Ognab-a.js +0 -239
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-KsPYJwiB.js +0 -11
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-zPoYDzg8.js +0 -55
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-BZZoApKT.js +0 -11
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-CGS4EHXK.js +0 -62
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-GCgZEZdm.js +0 -15
- package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-CPtKfR3g.js +0 -161
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-BOorm5Wm.js +0 -18
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-DNreKbQH.js +0 -1439
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-Feuxftuj.js +0 -36
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-Bz5xWZGZ.js +0 -121
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-BMEYrcpa.js +0 -24
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-B_aUlJZV.js +0 -81
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-CwBRGUi5.js +0 -11
- package/build/server/chunks/entries/pages/time/_page.svelte.js-npwW50OK.js +0 -109
- package/build/server/chunks/handler-HICo2rBa.js +0 -1474
- package/build/server/chunks/index.js-mXeyfwOL.js +0 -4296
- package/build/server/chunks/manifest.js-BXvg7MTn.js +0 -1050
- package/build/server/chunks/nodes/0.js-B6FWOub_.js +0 -69
- package/build/server/chunks/nodes/1.js-A3LTU5o8.js +0 -9
- package/build/server/chunks/nodes/10.js-CylXMpAM.js +0 -67
- package/build/server/chunks/nodes/11.js-COltHAQK.js +0 -69
- package/build/server/chunks/nodes/12.js-D4Upu6y1.js +0 -68
- package/build/server/chunks/nodes/13.js-DVK7Dh6e.js +0 -69
- package/build/server/chunks/nodes/14.js-4qz1fO9Q.js +0 -12
- package/build/server/chunks/nodes/15.js-ChjTgj9K.js +0 -9
- package/build/server/chunks/nodes/16.js-P8F-wWtO.js +0 -9
- package/build/server/chunks/nodes/17.js-DjuCCIpy.js +0 -67
- package/build/server/chunks/nodes/18.js-C993M6oc.js +0 -70
- package/build/server/chunks/nodes/19.js-D9Embfjr.js +0 -68
- package/build/server/chunks/nodes/2.js-Wc5kZHvb.js +0 -67
- package/build/server/chunks/nodes/20.js-BPRKQiIS.js +0 -69
- package/build/server/chunks/nodes/21.js-CUAn10i3.js +0 -68
- package/build/server/chunks/nodes/22.js-TBH6F4dy.js +0 -69
- package/build/server/chunks/nodes/23.js-szYvETrv.js +0 -69
- package/build/server/chunks/nodes/24.js-D3VP7c7Q.js +0 -25
- package/build/server/chunks/nodes/25.js-CBoW-4He.js +0 -25
- package/build/server/chunks/nodes/26.js-DzXVuGMS.js +0 -9
- package/build/server/chunks/nodes/27.js-rQgQSbRQ.js +0 -25
- package/build/server/chunks/nodes/28.js-Cd8QuiHE.js +0 -67
- package/build/server/chunks/nodes/29.js-Cycdssqz.js +0 -18
- package/build/server/chunks/nodes/3.js-DZsIWxJx.js +0 -9
- package/build/server/chunks/nodes/30.js-DoJvIlX5.js +0 -68
- package/build/server/chunks/nodes/31.js-D8IGmFgH.js +0 -67
- package/build/server/chunks/nodes/32.js-B20MERXQ.js +0 -25
- package/build/server/chunks/nodes/33.js-DOlfd37i.js +0 -67
- package/build/server/chunks/nodes/34.js-DWWZCvyG.js +0 -25
- package/build/server/chunks/nodes/35.js-oWOgHh8Z.js +0 -22
- package/build/server/chunks/nodes/36.js-DZ-lKaYT.js +0 -67
- package/build/server/chunks/nodes/37.js-eAJH-k_k.js +0 -70
- package/build/server/chunks/nodes/38.js-BNDRcNzX.js +0 -69
- package/build/server/chunks/nodes/39.js-o8Oz_jZ9.js +0 -26
- package/build/server/chunks/nodes/4.js-XBXJC9EJ.js +0 -68
- package/build/server/chunks/nodes/40.js-BruOvnJW.js +0 -69
- package/build/server/chunks/nodes/41.js-ygYBXXUn.js +0 -71
- package/build/server/chunks/nodes/42.js-DVVbf2pp.js +0 -68
- package/build/server/chunks/nodes/43.js-4kkcs8x3.js +0 -68
- package/build/server/chunks/nodes/44.js-Dz4_viSC.js +0 -67
- package/build/server/chunks/nodes/5.js-CESSNTmC.js +0 -67
- package/build/server/chunks/nodes/6.js-ReQxzqU3.js +0 -67
- package/build/server/chunks/nodes/8.js-Bp5GVhBi.js +0 -67
- package/build/server/chunks/nodes/9.js-hs2_Bguy.js +0 -14
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import{w as O,v as U,X as A,ai as N,b9 as P,d as l,i as c,k as u,e as y}from"./Jk-ASPRO.js";import"./DsnmJJEf.js";import{s as C,r as M}from"./DQWg__9S.js";import{I as F}from"./DE0e4nJ8.js";import{p as q}from"./CWXMOoE5.js";import{a as D}from"./BdjCJ4uL.js";import{s as E}from"./Cw6Vodkk.js";import{S as b}from"./BXN538J3.js";function at(a,t,e){O(()=>{var s=U(()=>t(a,e?.())||{});if(e&&s?.update){var i=!1,n={};A(()=>{var r=e();N(r),i&&P(n,r)&&(n=r,s.update(r))}),i=!0}if(s?.destroy)return()=>s.destroy()})}var j=new Set(["$$slots","$$events","$$legacy"]);function ht(a,t){let e=M(t,j);const s={name:"crosshair",size:24,node:[["circle",{cx:"12",cy:"12",r:"10"}],["line",{x1:"22",x2:"18",y1:"12",y2:"12"}],["line",{x1:"6",x2:"2",y1:"12",y2:"12"}],["line",{x1:"12",x2:"12",y1:"6",y2:"2"}],["line",{x1:"12",x2:"12",y1:"22",y2:"18"}]]};F(a,C(()=>e,{get icon(){return s}}))}var _=new Set(["$$slots","$$events","$$legacy"]);function lt(a,t){let e=M(t,_);const s={name:"mic",size:24,node:[["path",{d:"M12 19v3"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3"}]]};F(a,C(()=>e,{get icon(){return s}}))}const ct=["must","should","could","none"],B={must:"Must fix",should:"Should fix",could:"Could do",none:"Keep"},L=8e3,k=a=>a.replace(/\s+/g," ").trim();function m(a){const t=Math.max(0,Math.round(a/1e3));return`${Math.floor(t/60)}:${String(t%60).padStart(2,"0")}`}const w=(a,t)=>`${a} ${t}${a===1?"":"s"}`,W=/\b(this|here|that one|these)\b/i;function G(a,t,e,s,i){const n=a.filter(o=>(o.type==="click"||o.type==="input"||o.type==="choose"||o.type==="mark")&&o.t>=e-L&&o.t<=s).pop()??null,r=n?.type!=="mark"&&W.test(t)&&i&&n&&i.t>n.t+400&&i.selector!==n.el?.selector;return n&&!r?{ev:n}:{pointing:i??null}}function $(a,t){const e=s=>a.find(i=>i.id===s)?.label??"";return[...a.map(s=>({t:s.t,s:`${s.id} ${m(s.t)} ${s.label}${s.type!=="nav"&&s.page?` (on ${s.page})`:""}`})),...t.map(s=>({t:s.t0,s:`${s.id} ${m(s.t0)}–${m(s.t1)} captain said: “${s.text}”${s.anchor?` [about ${s.anchor}: ${e(s.anchor)}]`:""}${s.pointing?` [pointing at ${s.pointing.label}]`:""} (on ${s.page})`}))].sort((s,i)=>s.t-i.t).map(s=>s.s).slice(-160)}function H(a){const t=a.split(/[.(]|, (?:that|which|so|and)\b/)[0].trim();return t.length<=64?t:t.slice(0,64).replace(/\s+\S*$/,"")+"…"}function Q(a,t,e){const s=t.text.toLowerCase(),i=/\b(love|like|nice|great|good|perfect)\b/.test(s)&&!/\bnot\b/.test(s)?"praise":/\?|\bwhy\b|\bnot sure\b/.test(s)?"question":/\b(broken|bug|error|doesn'?t|does not|can'?t|wrong|fails?|nothing happens|confus)/.test(s)?"problem":/\b(maybe|could|would be nice|idea|what if)\b/.test(s)?"idea":"change",n=t.text.charAt(0).toUpperCase()+t.text.slice(1);return{id:a,kind:i,severity:i==="praise"?"none":i==="problem"?"must":i==="idea"?"could":"should",text:`${n}${e?` (about ${e} on ${t.page})`:` (on ${t.page})`}`,quote:t.text,anchor:t.anchor??"",utterances:[t.id]}}const K=a=>/\?\s*$|^(what|how|why|where|when|can you|could you|is this|does|do i|which)\b/i.test(a.trim());function V(a,t){return{summary:a.length?`The captain reviewed ${t.title} for ${m(t.duration)} and raised ${w(a.length,"point")}.`:"Nothing was raised in this session, so there is nothing to pass on yet.",issues:a.map(e=>({title:H(e.text),detail:e.text,severity:e.severity,kind:e.kind,notes:[e.id],anchor:e.anchor,quote:e.quote})),openQuestions:[]}}function J(a,t,e,s,i){const n=[`Preview feedback for ${a.id} (${k(a.title)}), sent together from the Preview tab (${t}):`,`Live review session: ${m(e.duration)}, ${w(e.remarks,"remark")}, ${w(e.clicks,"click")}, ${w(e.pages,"page")}. ${k(s.summary)}`,"The captain requests these changes: the preview is not approved yet."];return s.lines.forEach((r,o)=>{n.push(`${o+1}. [${B[r.severity]}] ${k(r.title)}. ${k(r.detail)}`),r.where&&n.push(` Points at: ${k(r.where)}`),r.quote&&n.push(` Captain said${r.at?` (${r.at})`:""}: “${k(r.quote)}”`),r.shot&&n.push(` Screenshot: ${r.shot}`)}),s.errors.length&&n.push("","Seen on the page during the session:",...s.errors.map(r=>`- ${r}`)),s.openQuestions.length&&n.push("","Open questions for the captain:",...s.openQuestions.map(r=>`- ${r}`)),i&&n.push("",`The whole session (every click, page, remark and screenshot): ${i}`),n.push("","Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours."),n.join(`
|
|
2
|
-
`)}function z(a,t,e){const s=[`Preview approved for ${a.id} (${k(a.title)}): the captain reviewed the preview (${t}) and approves it.`,"This is the captain’s go for its pull request: land it under this project’s rules."];return e.length&&s.push("","Notes the captain took (not blocking):",...e.map(i=>`- ${k(i)}`)),s.join(`
|
|
3
|
-
`)}const ut=()=>q.data.features?.livereview===!0&&!D.remote&&!D.hosted,pt=(a,t=location.pathname+location.search)=>`/tasks/${encodeURIComponent(a)}/live?back=${encodeURIComponent(t)}`,Y=260,X=450;function R(){const a=globalThis;return a.SpeechRecognition??a.webkitSpeechRecognition??null}const v=a=>{const t=URL.parse(a??"");return t?t.pathname+t.hash||"/":a||"/"};class dt{taskId;title;token;previewUrl="";#t=l(null);get problem(){return c(this.#t)}set problem(t){u(this.#t,t,!0)}#e=l(!1);get on(){return c(this.#e)}set on(t){u(this.#e,t,!0)}#s=l(!1);get paused(){return c(this.#s)}set paused(t){u(this.#s,t,!0)}started=0;#i=l(0);get now(){return c(this.#i)}set now(t){u(this.#i,t,!0)}#n=l("talk");get mode(){return c(this.#n)}set mode(t){u(this.#n,t,!0)}#r=l("note");get sendAs(){return c(this.#r)}set sendAs(t){u(this.#r,t,!0)}#o=l(!0);get speak(){return c(this.#o)}set speak(t){u(this.#o,t,!0)}#a=l(!0);get mask(){return c(this.#a)}set mask(t){u(this.#a,t,!0)}#h=l(!0);get shootClicks(){return c(this.#h)}set shootClicks(t){u(this.#h,t,!0)}#l=l(y([]));get events(){return c(this.#l)}set events(t){u(this.#l,t,!0)}#c=l(y([]));get remarks(){return c(this.#c)}set remarks(t){u(this.#c,t,!0)}#u=l(y([]));get notes(){return c(this.#u)}set notes(t){u(this.#u,t,!0)}#p=l(y([]));get convo(){return c(this.#p)}set convo(t){u(this.#p,t,!0)}#d=l({});get shots(){return c(this.#d)}set shots(t){u(this.#d,t)}#f=l(y([]));get fresh(){return c(this.#f)}set fresh(t){u(this.#f,t,!0)}#g=l("");get heard(){return c(this.#g)}set heard(t){u(this.#g,t,!0)}#k=l("/");get page(){return c(this.#k)}set page(t){u(this.#k,t,!0)}#m=l(!1);get talking(){return c(this.#m)}set talking(t){u(this.#m,t,!0)}#y=l(!1);get locked(){return c(this.#y)}set locked(t){u(this.#y,t,!0)}#v=l(null);get hearing(){return c(this.#v)}set hearing(t){u(this.#v,t,!0)}#w=l(null);get scribeSays(){return c(this.#w)}set scribeSays(t){u(this.#w,t,!0)}#b=l(!1);get notesBusy(){return c(this.#b)}set notesBusy(t){u(this.#b,t,!0)}#$=l(!1);get replyBusy(){return c(this.#$)}set replyBusy(t){u(this.#$,t,!0)}#S=l(!1);get speaking(){return c(this.#S)}set speaking(t){u(this.#S,t,!0)}#x=l(null);get notice(){return c(this.#x)}set notice(t){u(this.#x,t,!0)}#I=l(null);get pack(){return c(this.#I)}set pack(t){u(this.#I,t,!0)}#T=l(!1);get marking(){return c(this.#T)}set marking(t){u(this.#T,t,!0)}#D=l(!1);get picking(){return c(this.#D)}set picking(t){u(this.#D,t,!0)}#E=l(null);get picked(){return c(this.#E)}set picked(t){u(this.#E,t,!0)}#R=l(null);get approved(){return c(this.#R)}set approved(t){u(this.#R,t,!0)}#C=l(!1);get approving(){return c(this.#C)}set approving(t){u(this.#C,t,!0)}canHear=R()!==null;peer=null;origin="";hover=null;pageText=null;ev=0;ut=0;sh=0;lastShotAt=0;rec=null;cur=null;pressAt=0;lastTap=0;chord=!1;quietEnd=!1;notesAgain=!1;replyNext=null;outlinedCache=new Map;clock=null;player=null;sayGen=0;constructor(t,e){this.taskId=t.id,this.title=t.title,this.token=e}async call(t){try{const e=await fetch(`/api/tasks/${encodeURIComponent(this.taskId)}/livereview`,{method:"POST",headers:{"content-type":"application/json",[b]:this.token},body:JSON.stringify(t)}),s=await e.json().catch(()=>null);return!e.ok||!s?{ok:!1,error:s?.message??`Wheelhouse answered ${e.status}.`}:{ok:!0,value:s}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}connect(t,e,s){this.peer=t,this.origin=e,this.previewUrl=s}toFrame(t){this.origin&&this.peer?.postMessage({__wh:1,...t},this.origin)}get elapsed(){return this.on?this.now-this.started:0}t(){return this.started?Date.now()-this.started:0}get canDone(){return!this.pack&&(this.on||this.remarks.length>0)}start(){this.on=!0,this.paused=!1,this.started=Date.now(),this.now=this.started,this.clock=setInterval(()=>this.now=Date.now(),1e3),this.addEvent({type:"start",label:`Started on ${this.page}`}),this.toFrame({type:"record",on:!0,mask:this.mask}),this.toFrame({type:"gettext"})}setPaused(t){!this.on||this.paused===t||(t&&this.stopTalking(),t&&this.marking&&this.mark(!1),this.paused=t,this.toFrame({type:"record",on:!t,mask:this.mask}),this.addEvent({type:"pause",label:t?"Paused the recording":"Carried on recording"}))}setMask(t){this.mask=t,this.on&&this.toFrame({type:"record",on:!this.paused,mask:t})}setMode(t){this.mode=t,t==="notes"&&this.hush()}close(){this.stopTalking(!0),this.marking&&this.mark(!1),this.hush(),this.toFrame({type:"record",on:!1}),this.on=!1,this.clock&&clearInterval(this.clock)}stopTalking(t=!1){this.locked&&(this.quietEnd=!0,this.locked=!1),this.talking&&this.release(t)}addEvent(t){const e={id:`e${++this.ev}`,t:this.t(),page:this.page,...t};return this.events.push(e),this.events[this.events.length-1]}receive(t){if(!this.peer||t.source!==this.peer||t.origin!==this.origin)return;const e=t.data;if(!(!e||e.__wh!==1)){if(e.type==="hello"){const s=this.on&&v(e.url)!==this.page;this.page=v(e.url),this.on&&(this.toFrame({type:"record",on:!this.paused,mask:this.mask}),s&&!this.paused&&this.addEvent({type:"nav",label:`Opened ${this.page}`}));return}if(e.type==="key")return this.frameKey(e);if(e.type==="marking"){this.marking=!!e.on;return}if(e.type==="picked"){this.picking=!1;const s=e.el??null;this.started||(this.started=Date.now()),this.picked=s?{el:s,shotId:this.shoot(s.selector,s.text)}:null;return}if(e.type==="mode"){this.sendAs=e.mode==="ask"?"ask":"note";return}if(e.type==="inline"){this.inline(e.el??null,e.said??"",e.mode==="ask"?"ask":"note");return}if(e.type==="text"){this.pageText={url:e.url??"",title:e.title??"",text:e.text??"",at:Date.now()};return}if(e.type==="shot"&&e.id){const s=this.shots[e.id];if(!s)return;this.shots={...this.shots,[e.id]:{...s,image:e.image??null,vw:e.vw??0,vh:e.vh??0,el:e.el??s.el,pending:!1}};return}if(!(!this.on||this.paused))switch(e.url&&(this.page=v(e.url)),e.type){case"click":{const s=this.addEvent({type:"click",label:`Clicked ${e.el?.label??"a spot on the page"}`,el:e.el??null});this.shootClicks&&Date.now()-this.lastShotAt>900&&(this.lastShotAt=Date.now(),setTimeout(()=>{s.shotId=this.shoot(e.el?.selector??null,e.el?.text??null,e.at?{...e.at,vw:e.vw??0}:null)},350));break}case"input":this.addEvent({type:"input",label:`Typed ${e.value?`“${e.value}”`:`${e.length??0} characters`} in ${e.el?.label??"a box"}`,el:e.el??null});break;case"choose":this.addEvent({type:"choose",label:`Set ${e.el?.label??"a choice"} to ${e.value}`,el:e.el??null});break;case"nav":this.addEvent({type:"nav",label:`Went to ${v(e.url)}`}),this.toFrame({type:"gettext"});break;case"scroll":{const s=this.events[this.events.length-1];s?.type==="scroll"&&this.t()-s.t<4e3?(s.label=`Scrolled to ${e.pct}%`,s.t=this.t()):this.addEvent({type:"scroll",label:`Scrolled to ${e.pct}%`});break}case"area":{if(!e.rect)break;const s={label:e.n?`marked area ${e.n}`:"the area you marked",text:"",tag:"area",selector:"",rect:e.rect},i=this.addEvent({type:"mark",label:`Marked ${s.label} on ${this.page}`,el:s});i.shotId=this.shoot(null,null,null,s);break}case"hover":this.hover=e.el?{...e.el,t:this.t()}:null;break;case"error":this.addEvent({type:"error",label:e.kind==="network"?`Request failed: ${e.message}`:`${e.kind==="console"?"Console error":"Error"}: ${e.message}`});break}}}shoot(t,e,s=null,i=null){const n=`s${++this.sh}`;return this.shots={...this.shots,[n]:{id:n,t:this.t(),image:null,vw:0,vh:0,el:i,point:s,pending:!0}},this.toFrame({type:"shoot",id:n,selector:t,text:e}),setTimeout(()=>{const r=this.shots[n];r?.pending&&(this.shots={...this.shots,[n]:{...r,pending:!1}})},8e3),n}outlined(t){const e=t?this.shots[t]:null;if(!e?.image)return Promise.resolve(null);const s=`${e.id}:${e.image.length}`,i=this.outlinedCache.get(s);if(i)return i;const n=new Promise(r=>{const o=new Image;o.onload=()=>{const p=document.createElement("canvas");p.width=o.width,p.height=o.height;const h=p.getContext("2d");if(!h)return r(e.image);h.drawImage(o,0,0);const d=o.width/(e.vw||o.width),g=e.el?.rect;if(g&&g.w>0){const f=6*d,[S,x,I,T]=[g.x*d-f,g.y*d-f,g.w*d+f*2,g.h*d+f*2];h.fillStyle="rgba(11,17,24,.38)",h.beginPath(),h.rect(0,0,p.width,p.height),h.roundRect(S,x,I,T,6*d),h.fill("evenodd"),h.strokeStyle="#e8b04a",h.lineWidth=Math.max(3,3*d),h.beginPath(),h.roundRect(S,x,I,T,6*d),h.stroke()}else if(e.point){const f=o.width/(e.point.vw||e.vw||o.width);h.strokeStyle="#e8b04a",h.lineWidth=Math.max(3,3*f),h.beginPath(),h.arc(e.point.x*f,e.point.y*f,16*f,0,Math.PI*2),h.stroke()}r(p.toDataURL("image/jpeg",.85))},o.onerror=()=>r(null),o.src=e.image});return this.outlinedCache.set(s,n),n}newHearing(){const t=this.hover&&this.t()-this.hover.t<2e4?{...this.hover}:null;return{t0:this.t(),t1:0,finals:"",interim:"",hover:t,shotId:this.shoot(t?.selector??null,t?.text??null),pointShot:null}}press(){!this.on||this.paused||this.talking||(this.talking=!0,this.pressAt=Date.now(),this.chord=!1,this.hush(),this.toFrame({type:"gettext"}),this.toFrame({type:"talking",on:!0}),this.cur=this.newHearing(),this.hearing={finals:"",interim:""},this.listen(this.cur))}pressHeld(){this.press(),this.pressAt=Date.now()-1e3}listen(t){const e=R();if(!e)return;const s=new e;s.lang=navigator.language||"en-GB",s.continuous=!0,s.interimResults=!0,this.rec=s;let i=t;s.onresult=n=>{let r="";for(let o=n.resultIndex;o<n.results.length;o++){const p=n.results[o];p.isFinal?(i.finals+=(i.finals?" ":"")+p[0].transcript.trim(),this.locked&&this.rec===s&&(i.interim="",i.t1=this.t(),this.finish(i),i=this.newHearing(),this.cur=i)):r+=p[0].transcript}i.interim=r,!i.pointShot&&this.hover&&/\b(this|here|that one|these)\b/i.test(`${i.finals} ${r}`)&&(i.hover={...this.hover},i.pointShot=this.shoot(this.hover.selector,this.hover.text)),this.talking&&this.cur===i&&(this.hearing={finals:i.finals,interim:i.interim})},s.onerror=n=>{n.error==="not-allowed"||n.error==="service-not-allowed"?this.notice="The microphone is blocked for this page. Type to the scribe instead.":n.error==="network"&&(this.notice="The browser’s speech service could not be reached. Type to the scribe instead.")},s.onend=()=>{if(this.talking&&this.locked&&this.rec===s){try{s.start()}catch{}return}this.rec===s&&(this.rec=null),this.finish(i)};try{s.start()}catch{this.notice="The browser would not start listening. Type to the scribe instead."}}release(t=!1){if(!this.talking||!this.cur)return;this.talking=!1,this.hearing=null,this.toFrame({type:"talking",on:!1});const e=this.rec,s=this.cur;this.rec=null,s.t1=this.t();const i=r=>{try{e?.[r]()}catch{}},n=Date.now()-this.pressAt;if(t||this.chord){s.dropped=!0,i("abort");return}if(!this.locked&&n<Y&&!s.finals&&!s.interim){s.dropped=!0,i("abort"),Date.now()-this.lastTap<X?(this.lastTap=0,this.setLocked(!0)):this.lastTap=Date.now();return}e?(i("stop"),setTimeout(()=>this.finish(s),2500)):this.finish(s)}setLocked(t){this.locked=t,t&&!this.talking?this.pressHeld():!t&&this.talking&&(this.quietEnd=!0,this.release())}keyDown(){if(this.on){if(this.locked)return this.setLocked(!1);this.pressHeld()}}keyUp(){this.on&&!this.locked&&this.release()}chorded(){this.talking&&!this.locked&&(this.chord=!0,this.release())}frameKey(t){t.key==="talk"?t.down?this.keyDown():this.keyUp():t.key==="chord"?this.chorded():t.key==="mark"?this.mark():t.key==="pick"&&this.pick(!this.picking)}finish(t){if(t.done||t.dropped)return;t.done=!0;const e=`${t.finals} ${t.interim}`.replace(/\s+/g," ").trim(),s=this.quietEnd;if(this.quietEnd=!1,!e){!s&&!this.locked&&(this.notice="Didn’t catch anything. Keep talking a little longer before you let go.");return}this.addRemark(e,t.t0,t.t1||this.t(),t.hover,t.pointShot??t.shotId)}mark(t=!this.marking){t&&(!this.on||this.paused)||(this.marking=t,this.toFrame({type:"mark",on:t}))}pick(t=!0){this.picking=t,this.toFrame({type:"pick",on:t})}comment(t){const e=t.trim();if(!e)return;this.started||(this.started=Date.now());const s=this.t(),i=this.picked,n={id:`u${++this.ut}`,t0:s,t1:s+600,text:e,page:this.page,anchor:null,pointing:i?.el??null,shotId:i?.shotId??this.shoot(null,null)};this.remarks.push(n),this.convo.push({who:"captain",text:e,t:s,uid:n.id}),this.picked=null,this.toFrame({type:"clear"}),this.on&&this.askNotes()}inline(t,e,s){const i=e.trim();if(!i||this.pack)return;if(s==="ask"&&this.paused){this.notice="Paused: carry on to ask the scribe.";return}const n=this.picked;this.started||(this.started=Date.now()),this.picked=t?{el:t,shotId:this.shoot(t.selector,t.text)}:null,s==="note"?this.comment(i):(this.on||this.start(),this.type(i)),this.picked=n}edit(t,e){const s=e.trim(),i=this.remarks.find(n=>n.id===t);if(!(!s||!i||this.pack||i.text===s)){i.text=s;for(const n of this.convo)n.uid===t&&n.who==="captain"&&(n.text=s);this.on&&this.askNotes()}}save(){const t=s=>JSON.stringify({v:1,on:this.on,paused:this.paused,started:this.started,mode:this.mode,speak:this.speak,mask:this.mask,shootClicks:this.shootClicks,page:this.page,events:this.events,remarks:this.remarks,notes:this.notes,convo:this.convo,shots:s?this.shots:Object.fromEntries(Object.entries(this.shots).map(([i,n])=>[i,{...n,image:null}])),pack:this.pack,picked:this.picked,approved:this.approved,counts:[this.ev,this.ut,this.sh]}),e=t(!0);return e.length<4e6?e:t(!1)}restore(t){let e=null;try{e=t?JSON.parse(t):null}catch{e=null}if(!e||e.v!==1)return;this.paused=!!e.paused,this.started=Number(e.started)||0,this.mode=e.mode==="notes"?"notes":"talk",this.speak=e.speak!==!1,this.mask=e.mask!==!1,this.shootClicks=e.shootClicks!==!1,this.page=typeof e.page=="string"?e.page:"/",this.events=e.events??[],this.remarks=e.remarks??[],this.notes=e.notes??[],this.convo=e.convo??[],this.shots=e.shots??{},this.pack=e.pack??null,this.pack&&(this.pack.sending=!1),this.picked=e.picked??null,this.approved=e.approved??null;const[s,i,n]=e.counts??[0,0,0];[this.ev,this.ut,this.sh]=[s||0,i||0,n||0],e.on&&(this.on=!0,this.now=Date.now(),this.clock=setInterval(()=>this.now=Date.now(),1e3))}type(t){const e=t.trim();if(!e||!this.on||this.paused)return;const s=this.t();this.toFrame({type:"gettext"});const i=this.hover;this.addRemark(e,s-1500,s,i,this.shoot(i?.selector??null,i?.text??null))}addRemark(t,e,s,i,n){const r=this.picked;this.picked=null;const o=r?{pointing:r.el}:G(this.events,t,e,s,i),p={id:`u${++this.ut}`,t0:e,t1:Math.max(s,e+600),text:t,page:this.page,anchor:"ev"in o?o.ev.id:null,pointing:"pointing"in o?o.pointing:null,shotId:r?r.shotId:"ev"in o&&o.ev.shotId?o.ev.shotId:n};this.remarks.push(p),this.convo.push({who:"captain",text:t,t:e,uid:p.id}),this.toFrame({type:"clear"}),this.heard="",this.askNotes(),this.mode==="talk"&&this.askReply(p)}about(t){const e=this.remarks.find(i=>t.utterances.includes(i.id)),s=this.events.find(i=>i.id===(t.anchor||e?.anchor));return{el:s?.el??e?.pointing??null,shotId:s?.shotId??e?.shotId??null,page:s?.page??e?.page??"",t:e?.t0??s?.t??0,clicked:!!s}}highlight(t){t&&this.toFrame({type:"highlight",selector:t})}async askNotes(){if(this.notesBusy){this.notesAgain=!0;return}this.notesBusy=!0,this.notesAgain=!1;const t=await this.call({action:"notes",timeline:$(this.events,this.remarks),notes:this.notes});if(this.notesBusy=!1,!!this.on){if(t.ok){const e=new Map(this.notes.map(s=>[s.id,s.text]));this.notes=t.value.notes,this.fresh=t.value.notes.filter(s=>e.get(s.id)!==s.text).map(s=>s.id),this.heard=t.value.heard}else this.notice=`The scribe could not take notes just then (${t.error}). It will try again with your next remark.`;this.notesAgain&&this.askNotes()}}async askReply(t){if(this.replyBusy){this.replyNext=t;return}this.replyBusy=!0;for(let i=0;i<6&&!(this.pageText&&Date.now()-this.pageText.at<15e3);i++)await new Promise(n=>setTimeout(n,100));const e=await this.call({action:"reply",said:t.text,page:this.pageText,timeline:$(this.events,this.remarks),notes:this.notes.map(i=>i.text),convo:this.convo.filter(i=>i.uid!==t.id||i.who==="scribe").map(({who:i,text:n})=>({who:i,text:n}))});if(this.replyBusy=!1,!this.on)return;const s=this.replyNext;if(this.replyNext=null,s)return void this.askReply(s);e.ok&&e.value.reply?(this.convo.push({who:"scribe",text:e.value.reply,t:this.t(),uid:t.id}),this.say(e.value.reply)):e.ok||this.convo.push({who:"scribe",text:`I couldn’t answer just then (${e.error}) but I noted what you said.`,t:this.t(),uid:t.id,error:!0})}say(t){this.scribeSays=t,this.stopVoice();const e=globalThis.speechSynthesis;if(!this.speak){setTimeout(()=>{this.scribeSays===t&&(this.scribeSays=null)},Math.max(4e3,t.split(" ").length*380));return}const s=this.sayGen,i=()=>{this.speaking=!1,setTimeout(()=>{!this.speaking&&this.scribeSays===t&&(this.scribeSays=null)},1200)},n=()=>{if(s!==this.sayGen)return;if(!e)return i();const r=new SpeechSynthesisUtterance(t),o=e.getVoices().filter(p=>/^en/i.test(p.lang));r.voice=o.find(p=>/Google UK English Female|Daniel|Serena|Kate|Samantha|Google US English/.test(p.name))??o[0]??null,r.rate=1.04,r.onstart=()=>this.speaking=!0,r.onend=r.onerror=i,e.speak(r)};this.voiced(t).then(r=>{if(s!==this.sayGen)return;if(!r)return n();const o=new Audio(URL.createObjectURL(r));this.player=o,o.onplaying=()=>this.speaking=!0,o.onended=()=>{URL.revokeObjectURL(o.src),this.player===o&&(this.player=null),i()},o.onerror=()=>{this.player===o&&(this.player=null),n()},o.play().catch(()=>{this.player===o&&(this.player=null),n()})})}async voiced(t){try{const e=await fetch("/api/voice/speak",{method:"POST",headers:{"content-type":"application/json",[b]:this.token},body:JSON.stringify({text:t.slice(0,1200),speed:1})});return e.status===200?await e.blob():null}catch{return null}}stopVoice(){this.sayGen++,this.player?.pause(),this.player=null,globalThis.speechSynthesis?.cancel()}hush(){this.stopVoice(),this.speaking=!1,this.scribeSays=null}async approve(t){if(this.approving||this.approved)return!1;this.approving=!0;const e=[...this.remarks.map(r=>r.text),t.trim()].filter(Boolean),s=await this.openQuestion();let i="message",n=null;if(s){i="answer";try{const r=await fetch("/api/inbox",{method:"POST",headers:{"content-type":"application/json","idempotency-key":`review-${crypto.randomUUID()}`,[b]:this.token},body:JSON.stringify({cardId:s.id,choice:"approve",note:e.length?`From the live review: ${e.join(" · ")}`:null})}),o=await r.json().catch(()=>null);r.ok?typeof o?.message=="object"&&o.message.delivery==="failed"&&(n=o.message.deliveryDetail??"Firstmate did not take the approval."):n=(typeof o?.message=="string"?o.message:null)??`Wheelhouse answered ${r.status}.`}catch{n="Could not reach the Wheelhouse server."}}else{const r=await E(z({id:this.taskId,title:this.title},this.previewUrl,e),this.token,this.taskId);r.ok||(n=r.error)}return this.approving=!1,n?(this.notice=`The approval did not go: ${n}`,!1):(this.approved={how:i,at:Date.now()},!0)}async openQuestion(){try{const t=await fetch("/api/inbox");if(!t.ok)return null;const e=await t.json();if(!e.canAnswer)return null;const s=e.cards.filter(i=>i.taskId===this.taskId&&!i.secondMate);return s.find(i=>i.kind==="merge")??s.find(i=>i.kind==="preview")??null}catch{return null}}point(t,e){const s=this.notes.find(r=>t.notes.includes(r.id)),i=s?this.about(s):null,n=this.events.find(r=>r.id===t.anchor);return{...t,key:`p${e}`,include:!0,el:n?.el??i?.el??null,shotId:n?.shotId??i?.shotId??null,page:n?.page??i?.page??"",t:i?.t??n?.t??0}}view(t,e,s){const i={must:0,should:1,could:2,none:3};return{summary:t.summary,points:t.issues.map((n,r)=>this.point(n,r)).sort((n,r)=>i[n.severity]-i[r.severity]),openQuestions:t.openQuestions,errors:[...new Set(this.events.filter(n=>n.type==="error").map(n=>`${m(n.t)} on ${n.page}: ${n.label}`))],duration:s,from:e,tidying:!1,better:null,tidyFailed:null,edited:!1,sending:!1,sent:null,error:null}}async end(){this.stopTalking(),this.marking&&this.mark(!1),this.hush(),this.paused=!0,this.toFrame({type:"record",on:!1});const t=this.t(),e=new Set(this.notes.flatMap(h=>h.utterances)),s=new Set(this.convo.filter(h=>h.who==="scribe"&&!h.error).map(h=>h.uid)),i=this.remarks.filter(h=>!e.has(h.id)&&!(s.has(h.id)&&K(h.text))).map((h,d)=>Q(`q${d+1}`,h,(h.anchor?this.events.find(g=>g.id===h.anchor)?.el?.label:h.pointing?.label)??null)),n=[...this.notes,...i];this.notes=n;const r=this.view(V(n,{title:this.title,duration:t}),"notes",t);if(r.tidying=this.remarks.length>0,this.pack=r,!r.tidying)return;const o=await this.call({action:"pack",timeline:$(this.events,this.remarks),notes:n}),p=this.pack;!p||p.sent||p.sending||(p.tidying=!1,o.ok&&o.value.issues?.length?p.edited?p.better=o.value:this.pack=this.view(o.value,"scribe",t):p.tidyFailed=o.ok?"no points":o.error)}useBetter(){this.pack?.better&&(this.pack=this.view(this.pack.better,"scribe",this.pack.duration))}resume(){this.pack=null,this.setPaused(!1)}stats(){return{remarks:this.remarks.length,clicks:this.events.filter(t=>t.type==="click").length,pages:new Set(this.events.map(t=>t.page).filter(Boolean)).size,shots:Object.values(this.shots).filter(t=>t.image).length}}message(t){const e=this.pack;if(!e)return"";const s=this.stats();return J({id:this.taskId,title:this.title},this.previewUrl,{duration:e.duration,...s},{summary:e.summary,lines:e.points.filter(i=>i.include).map(i=>({severity:i.severity,title:i.title,detail:i.detail,where:i.el?`${i.el.label}${i.page?` on ${i.page}`:""}`:i.page?`the page ${i.page}`:null,quote:i.quote,at:m(i.t),shot:i.shotId?t?t.shots[i.shotId]??null:`(screenshot ${i.shotId})`:null})),errors:e.errors,openQuestions:e.openQuestions},t?.session??null)}async send(){const t=this.pack;if(!t||t.sending||t.sent)return!1;t.sending=!0,t.error=null;const e={};for(const n of t.points.filter(r=>r.include&&r.shotId)){const r=await this.outlined(n.shotId);r&&(e[n.shotId]=r)}const s=await this.call({action:"save",session:{task:{id:this.taskId,title:this.title},preview:this.previewUrl,startedAt:new Date(this.started).toISOString(),events:this.events,remarks:this.remarks,notes:this.notes,conversation:this.convo.map(({who:n,text:r,t:o})=>({who:n,text:r,at:m(o)}))},shots:e});if(!s.ok)return t.sending=!1,t.error=s.error,!1;const i=await E(this.message(s.value),this.token,this.taskId);return t.sending=!1,i.ok?(t.sent={dir:s.value.dir},!0):(t.error=i.error,!1)}}export{ht as C,dt as L,lt as M,ct as S,at as a,pt as b,ut as l,m,w as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{d as me,S as ue}from"./CIppRg38.js";import{p as fe,h as c,s as a,o as n,r as f,i as D,t as u,a as v,b as _e,j as ce,f as g,n as ge,c as l}from"./Jk-ASPRO.js";import{s as i}from"./DTApYZoW.js";import{i as _}from"./BEVJas-l.js";import{a as xe,e as we}from"./DNP6oCAK.js";import{p as G}from"./DQWg__9S.js";import{T as he}from"./BmXrroyA.js";const k=m=>m.installed?m.settings.filter(e=>e.current===void 0):m.settings,Ne=m=>Object.fromEntries(k(m).map(e=>[e.key,me(e.current??e.default)])),Be=(m,e)=>k(m).find(x=>x.required&&!e[x.key]?.trim())??null,De=m=>Object.fromEntries(Object.entries(m).filter(([,e])=>e.trim()!==""));var pe=l('<p class="mt-0.5 text-xs text-muted-foreground"> </p>'),be=l('<dt class="text-muted-foreground">Now</dt> <dd class="tabular font-mono"> </dd>',1),ye=l('<span class="font-sans">· <a class="text-sea hover:underline" target="_blank" rel="noreferrer">compare</a></span>'),je=l('<dt class="text-muted-foreground">Author</dt> <dd> </dd>',1),ke=l('<dt class="text-muted-foreground">Runs</dt> <dd> </dd>',1),Ae=l('<dt class="text-muted-foreground">Addresses</dt> <dd> </dd>',1),Ie=l('<dt class="text-muted-foreground">Sends</dt> <dd> </dd>',1),Se=l('<dt class="text-muted-foreground">Role</dt> <dd data-roles=""> </dd>',1),Oe=l('<fieldset class="grid gap-3"><legend class="mb-1 text-xs font-medium"> </legend> <!> <p class="text-xs text-muted-foreground">Kept in Wheelhouse’s plugins file.</p></fieldset>'),We=l("<li> </li>"),Re=l('<div class="text-xs text-muted-foreground">Wheelhouse restarts to load it, which stops: <ul class="mt-0.5 list-inside list-disc"></ul></div>'),Te=l('<div class="grid gap-4"><div class="rounded-md border bg-card px-4 py-3"><p class="font-medium"> <span class="font-normal text-muted-foreground"> </span></p> <!> <dl class="mt-3 grid grid-cols-[6rem_minmax(0,1fr)] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">From</dt> <dd class="font-mono break-all"> </dd> <!> <dt class="text-muted-foreground">Commit</dt> <dd class="tabular font-mono"> <!></dd> <!> <dt class="text-muted-foreground">Adds</dt> <dd> </dd> <!> <!> <!> <!> <dt class="text-muted-foreground">On</dt> <dd> </dd></dl></div> <!> <p class="flex items-start gap-2 rounded-md border border-warning/40 bg-warning/10 px-3 py-2 text-xs"><!> <span> </span></p> <!></div>');function Ge(m,e){fe(e,!0);let x=G(e,"answers",15),A=G(e,"busy",19,()=>[]);const I=ce(()=>k(e.preview)),S=t=>t.slice(0,12);var h=Te(),p=c(h),b=c(p),O=c(b),H=a(O),J=n(H);f(b);var W=a(b,2);{var L=t=>{var r=pe(),d=n(r,!0);u(()=>i(d,e.preview.description)),v(t,r)};_(W,t=>{e.preview.description&&t(L)})}var R=a(W,2),T=a(c(R),2),M=n(T),E=a(T,2);{var Q=t=>{var r=be(),d=a(g(r),2),s=n(d);u(o=>i(s,`${e.preview.installed.version??""} · ${o??""}`),[()=>S(e.preview.installed.commit)]),v(t,r)};_(E,t=>{e.preview.installed&&t(Q)})}var y=a(E,4),F=c(y),V=a(F);{var X=t=>{var r=ye(),d=a(c(r));f(r),u(()=>xe(d,"href",`https://github.com/${e.preview.repository??""}/compare/${e.preview.installed.commit??""}...${e.preview.commit??""}`)),v(t,r)};_(V,t=>{e.preview.installed&&t(X)})}f(y);var P=a(y,2);{var Y=t=>{var r=je(),d=a(g(r),2),s=n(d,!0);u(()=>i(s,e.preview.author)),v(t,r)};_(P,t=>{e.preview.author&&t(Y)})}var U=a(P,4),Z=n(U),q=a(U,2);{var $=t=>{var r=ke(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.services.join(", ")]),v(t,r)};_(q,t=>{e.preview.services.length&&t($)})}var z=a(q,2);{var ee=t=>{var r=Ae(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.addresses.join("; ")]),v(t,r)};_(z,t=>{e.preview.addresses?.length&&t(ee)})}var C=a(z,2);{var te=t=>{var r=Ie(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.capabilities.join("; ")]),v(t,r)};_(C,t=>{e.preview.capabilities?.length&&t(te)})}var K=a(C,2);{var re=t=>{var r=Se(),d=a(g(r),2),s=n(d,!0);u(o=>i(s,o),[()=>e.preview.roles.join("; ")]),v(t,r)};_(K,t=>{e.preview.roles?.length&&t(re)})}var ae=a(K,4),de=n(ae,!0);f(R),f(p);var N=a(p,2);{var se=t=>{var r=Oe(),d=c(r),s=n(d,!0),o=a(d,2);ue(o,{get settings(){return D(I)},get answers(){return x()},set answers(w){x(w)}}),ge(2),f(r),u(()=>i(s,e.preview.installed?"Its new settings":"Its settings")),v(t,r)};_(N,t=>{D(I).length&&t(se)})}var j=a(N,2),B=c(j);he(B,{class:"mt-0.5 size-3.5 shrink-0 text-warning"});var ie=a(B,2),ne=n(ie);f(j);var oe=a(j,2);{var ve=t=>{var r=Re(),d=a(c(r));we(d,20,A,s=>s,(s,o)=>{var w=We(),le=n(w,!0);u(()=>i(le,o)),v(s,w)}),f(d),f(r),v(t,r)};_(oe,t=>{A().length&&t(ve)})}f(h),u((t,r)=>{i(O,`${e.preview.name??""} `),i(J,`${e.preview.id??""} ${e.preview.version??""}`),i(M,`${e.preview.repository??""}${e.preview.ref?` (${e.preview.ref})`:""}`),i(F,`${t??""} `),i(Z,`${r??""}${e.preview.ui?"; a UI bundle":""}`),i(de,e.preview.on),i(ne,`Its code runs with your permissions, inside Wheelhouse and in its pages. Wheelhouse does not
|
|
2
|
-
sandbox it. ${e.preview.installed?"Update":"Install"} only plugins you trust.`)},[()=>S(e.preview.commit),()=>e.preview.slots.join(", ")||"nothing to the pages"]),v(m,h),_e()}export{Ge as P,De as f,Ne as i,Be as m};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{d as p,i as a,k as c,e as E,p as le,q as he,x as _t,f as J,a as w,b as ce,n as R,s as v,m as lt,t as V,h as L,r as _,o as N,j as W,c as D}from"./Jk-ASPRO.js";import{d as ue,s as U,a as ht}from"./DTApYZoW.js";import{i as Q}from"./BEVJas-l.js";import{r as At,e as de,f as fe,c as Tt,s as ct,a as qt,j as pe}from"./DNP6oCAK.js";import{c as O}from"./Cq7OFmxz.js";import{b as me}from"./CNxxt--f.js";import{s as Ot,r as ge,p as Lt}from"./DQWg__9S.js";import{D as ye}from"./DqyvT7BR.js";import{D as ve,a as be,b as we,c as ke,d as xe,e as $e}from"./Br5gy4Yk.js";import{B as Dt}from"./VrUPyiEH.js";import{c as Mt,M as Se,s as jt,S as _e}from"./V9uGi6jc.js";import{S as It}from"./BXN538J3.js";import{d as Ae}from"./DuiYw-2t.js";import{B as X}from"./C5MY6dNP.js";import{I as Te}from"./DE0e4nJ8.js";import{L as qe}from"./DUhuG1Hw.js";import{S as Le}from"./v0ViZGjy.js";import{F as De}from"./CGgXi5F1.js";import{B as Me}from"./Bz9tCoED.js";var je=new Set(["$$slots","$$events","$$legacy"]);function Ie(l,t){let e=ge(t,je);const s={name:"paperclip",size:24,node:[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551"}]]};Te(l,Ot(()=>e,{get icon(){return s}}))}function dt(l){const t=[];let e=0;for(;e<l.length;){const n=l.indexOf("```",e);if(n<0){t.push({type:"prose",text:l.slice(e)});break}n>e&&t.push({type:"prose",text:l.slice(e,n)});const i=l.indexOf(`
|
|
2
|
-
`,n+3);if(i<0){t.push({type:"block",lang:l.slice(n+3).trim().toLowerCase(),body:"",closed:!1});break}const o=l.slice(n+3,i).trim().toLowerCase(),r=l.indexOf("```",i+1);if(r<0){t.push({type:"block",lang:o,body:l.slice(i+1),closed:!1});break}t.push({type:"block",lang:o,body:l.slice(i+1,r),closed:!0}),e=r+3}const s=t[t.length-1];return s?.type==="prose"&&(s.text=s.text.replace(/`{1,2}$/,"")),t}function Ce(l){const t=[];for(const e of dt(l))if(e.type==="prose")t.push(e.text);else if(!e.closed)break;return t.join(" ")}function Pe(l,t,e){const s=[];let n=l.slice(t),i=t,o;const r=/^([\s\S]*?[.!?…:])(["')\]]*)(\s+)(?=\S)/;for(;o=r.exec(n);)s.push(o[0]),i+=o[0].length,n=n.slice(o[0].length);return e&&n.trim()&&(s.push(n),i+=n.length),{sentences:s,to:i}}function Ct(l){return l.replace(/https?:\/\/\S+/g,"the link").replace(/[*_`#>]/g,"").replace(/\bPR\s*#?(\d+)/g,"pull request $1").replace(/#(\d+)/g,"number $1").replace(/\s+—\s+/g,", ").trim()}const Pt=l=>l.toLowerCase().replace(/[^a-z0-9' ]+/g," ").split(/\s+/).filter(Boolean);function Ee(l,t){const e=` ${Pt(t).join(" ")} `;if(!e.trim())return!1;const s=Pt(l);return s.length?s.filter(n=>e.includes(` ${n} `)).length/s.length>=.6:!0}const Re=l=>{try{return JSON.parse(l)}catch{try{return JSON.parse(l.replace(/,\s*([}\]])/g,"$1"))}catch{return null}}},b=(l,t=300)=>typeof l=="string"&&l.trim()?l.trim().slice(0,t):null,Z=l=>{const t=b(l,2e3);return t&&/^https?:\/\//.test(t)?t:null};function Oe(l){const t=/%%\s*title:\s*(.+)/i.exec(l)??/^\s*title[:\s]+(.+)$/im.exec(l);if(t)return t[1].trim().slice(0,80);const e=l.trim().split(`
|
|
3
|
-
`)[0]??"";return/^sequenceDiagram/.test(e)?"Sequence":/^stateDiagram/.test(e)?"States":/^classDiagram/.test(e)?"Model":/^erDiagram/.test(e)?"Data model":/^timeline/.test(e)?"Timeline":"Architecture"}function Fe(l,t){const e=i=>({kind:"invalid",lang:l,reason:i,body:t});if(l==="mermaid")return t.trim()?{kind:"diagram",code:t.trim(),title:Oe(t)}:e("The diagram is empty.");const s=Re(t),n=i=>i&&typeof i=="object"&&!Array.isArray(i)?i:null;if(l==="chart"){const i=n(s),o=Array.isArray(i?.labels)?i.labels.map(m=>String(m).slice(0,60)):null,r=Array.isArray(i?.series)?i.series.map(n).filter(m=>!!m&&Array.isArray(m.data)).map(m=>({name:b(m.name,60)??"",data:m.data.map(A=>typeof A=="number"&&Number.isFinite(A)?A:0)})):[];return!i||!o?.length||!r.length?e("The chart data could not be read."):{kind:"chart",spec:{type:i.type==="line"||i.type==="doughnut"?i.type:"bar",title:b(i.title,80)??"Chart",labels:o,series:r.slice(0,6),unit:b(i.unit,20)}}}if(l==="card"){const i=(Array.isArray(s)?s:[s]).map(n).filter(Boolean),o=[];for(const r of i.slice(0,6))b(r.task,160)?o.push({kind:"task",task:b(r.task,160)}):Z(r.pr)?o.push({kind:"pr",url:Z(r.pr),title:b(r.title,160)}):Z(r.link??r.url)&&o.push({kind:"link",url:Z(r.link??r.url),title:b(r.title,160),note:b(r.note)});return o.length?{kind:"cards",cards:o}:e("The card could not be read.")}if(l==="image"){const i=n(s),o=b(i?.prompt,2e3)??(i?null:b(t,2e3));return o?{kind:"picture",title:b(i?.title,80)??"Picture",prompt:o}:e("Nothing to draw.")}if(l==="firstmate"){const i=b(n(s)?.note,600)??b(t,600);return i?{kind:"passon",note:i}:e("Nothing to pass on.")}if(l==="scout"){const i=n(s),o=b(i?.question,1200)??(i?null:b(t,1200));return o?{kind:"scout",question:o,asked:i?.asked===!0}:e("No question for the scout.")}return e(`Unknown block: ${l}`)}const Be=l=>`live-scout-${l}`,Ne=l=>`Live scout ref: ${l}`;function We(l){return[`Scout request from a Live mode discussion in Wheelhouse${l.session?` (session ${l.session.slice(0,8)})`:""}.`,"","Please dispatch a scout on this question:","",...l.question.trim().split(`
|
|
4
|
-
`).map(t=>`> ${t}`),"",`Give it the task id \`${Be(l.ref)}\` if you can, and keep the line "${Ne(l.ref)}" in its brief, so Wheelhouse can bring the report back into the conversation while it is still going.`].join(`
|
|
5
|
-
`)}const Et=(l,t)=>l.length>t?`${l.slice(0,t-1).replace(/\s+\S*$/,"")}…`:l;function Ue(l){return`(Wheelhouse, not the captain: the scout report is in for "${Et(l.question,200)}", from task ${l.task}. Tell the captain the gist in a sentence or two, then carry on the discussion with it. The report:)
|
|
6
|
-
|
|
7
|
-
${Et(l.report.trim(),l.max??6e3)}`}const ut=["pending","failed"],He=15e3,ze=180*6e4,Ge=l=>`Hand-off from a Live mode discussion in Wheelhouse (passed on by the discussion crew):
|
|
8
|
-
|
|
9
|
-
${l}`,Ft="wheelhouse.live.prefs",C=()=>new Date().toISOString(),P=()=>Math.random().toString(36).slice(2,10);function Je(){const l={input:"ptt",headphones:!1,speed:1};try{const t=JSON.parse(localStorage.getItem(Ft)??"{}");return{input:t.input==="always"?"always":"ptt",headphones:t.headphones===!0,speed:typeof t.speed=="number"&&t.speed>=.7&&t.speed<=1.3?t.speed:1}}catch{return l}}class Ve{#t=p("off");get state(){return a(this.#t)}set state(t){c(this.#t,t,!0)}#e=p(E([]));get entries(){return a(this.#e)}set entries(t){c(this.#e,t,!0)}#s=p(E({settled:"",forming:""}));get heard(){return a(this.#s)}set heard(t){c(this.#s,t,!0)}#i=p(E({input:"ptt",headphones:!1,speed:1}));get prefs(){return a(this.#i)}set prefs(t){c(this.#i,t,!0)}#n=p(null);get voice(){return a(this.#n)}set voice(t){c(this.#n,t,!0)}#r=p(0);get startedAt(){return a(this.#r)}set startedAt(t){c(this.#r,t,!0)}#o=p(0);get endedAt(){return a(this.#o)}set endedAt(t){c(this.#o,t,!0)}#a=p("");get model(){return a(this.#a)}set model(t){c(this.#a,t,!0)}#l=p("");get context(){return a(this.#l)}set context(t){c(this.#l,t,!0)}#h=p(null);get problem(){return a(this.#h)}set problem(t){c(this.#h,t,!0)}#c=p(!1);get pressing(){return a(this.#c)}set pressing(t){c(this.#c,t,!0)}#u=p(!1);get choosingEnd(){return a(this.#u)}set choosingEnd(t){c(this.#u,t,!0)}#d=p(!0);get briefing(){return a(this.#d)}set briefing(t){c(this.#d,t,!0)}#f=p(E([]));get handoffs(){return a(this.#f)}set handoffs(t){c(this.#f,t,!0)}#p=p(E([]));get scouts(){return a(this.#p)}set scouts(t){c(this.#p,t,!0)}#m=p(E({attached:[],listed:[]}));get docs(){return a(this.#m)}set docs(t){c(this.#m,t,!0)}#g=p("hold");get handoffMode(){return a(this.#g)}set handoffMode(t){c(this.#g,t,!0)}toFirstmate=null;token="";id=null;events=null;active=null;early=[];queue=[];current=null;gen=0;player=null;recent=null;session=null;consumed=0;commitTimer=null;utterStart=0;stream=null;audioCtx=null;micAnalyser=null;outAnalyser=null;recorder=null;pulse=0;loudSince=0;scoutTimer=null;get on(){return this.state!=="off"}level(){const t=n=>{if(!n)return 0;const i=new Float32Array(n.fftSize);n.getFloatTimeDomainData(i);let o=0;for(const r of i)o+=r*r;return Math.min(1,Math.max(0,(20*Math.log10(Math.sqrt(o/i.length)+1e-6)+52)/34))};if(this.state==="speaking")return this.pulse*=.96,Math.max(this.player?t(this.outAnalyser):0,this.pulse,.12);const s=(this.prefs.input==="always"?this.state!=="muted":this.pressing)?t(this.micAnalyser):0;return this.headphoneBargeIn(s),s}async start(t){if(this.on)return;if(this.token=t,this.prefs=Je(),this.entries=[],this.handoffs=[],this.scouts=[],this.docs={attached:[],listed:[]},this.problem=null,this.endedAt=0,this.state="starting",this.note("Live mode: a discussion crew member joins to talk this through with you. Firstmate stays on watch."),typeof speechSynthesis<"u"){const o=new SpeechSynthesisUtterance(" ");o.volume=0,speechSynthesis.speak(o)}await this.openMicrophone(),this.voice=await fetch("/api/voice").then(o=>o.ok?o.json():null).catch(()=>null);const e=await this.post("/api/live",{}),s=await e?.json().catch(()=>null);if(!e?.ok||!s?.id){this.problem=s?.message??"The discussion crew could not start.",this.note(this.problem),this.close();return}this.id=s.id,this.model=s.model??"",this.context=s.context??"",this.handoffMode=s.handoffs==="direct"?"direct":"hold",this.startedAt=Date.now(),this.events=new EventSource(`/api/live/${s.id}/events`),this.events.onmessage=o=>this.onEvent(JSON.parse(o.data)),this.state=this.idle(),this.applyInput();const n=s.knows??{live:0,decisions:0},i=this.crew();i.text=`I'm here and I've read the fleet: ${n.live} under way, ${n.decisions} decision${n.decisions===1?"":"s"} waiting on you. ${this.prefs.input==="ptt"?matchMedia("(pointer: coarse)").matches?"Hold the talk button and tell me what's on your mind.":"Hold space and tell me what's on your mind.":"What's on your mind?"}`,i.streaming=!1,this.active=i,this.feedSpeech(i,!0)}async end(t=!0){if(!this.on||this.state==="ending")return;const e=this.id;if(this.choosingEnd=!1,this.briefing=t,this.stopSpeech(),this.stopListening(),this.state="ending",!e)return this.close();const s={kind:"writing",id:P(),at:C(),briefing:t};this.entries.push(s);const n=this.handoffs.filter(h=>ut.includes(h.state)),i=h=>this.handoffs.filter(m=>h.includes(m.state)).map(m=>m.note),o=await this.post(`/api/live/${e}/end`,{brief:t,handoffs:{pending:n.map(h=>h.note),sent:i(["sent","sending"]),deleted:i(["deleted"])},scouts:this.scouts.filter(h=>!["offered","declined","failed"].includes(h.state)).map(h=>h.question)});for(const h of n)h.state=t?"briefing":"discarded";const r=await o?.json().catch(()=>null);this.entries=this.entries.filter(h=>h.id!==s.id),r?this.entries.push({kind:"brief",id:P(),at:C(),sent:!1,...r,handoffs:t?n.map(h=>h.note):[],catchUp:r.catchUp??[]}):this.note(t?"The discussion ended, but the briefing could not be written.":"The discussion ended."),this.close()}close(){this.choosingEnd=!1,this.events?.close(),this.events=null,this.id=null,this.stopSpeech(),this.stopListening(),this.stream?.getTracks().forEach(t=>t.stop()),this.stream=null,this.micAnalyser=null,this.audioCtx?.close().catch(()=>{}),this.audioCtx=null,this.outAnalyser=null,this.endedAt=Date.now(),this.state="off"}setPrefs(t){this.prefs={...this.prefs,...t};try{localStorage.setItem(Ft,JSON.stringify(this.prefs))}catch{}this.on&&this.state!=="starting"&&this.state!=="ending"&&this.applyInput()}async refreshVoice(){this.voice=await fetch("/api/voice").then(t=>t.ok?t.json():this.voice).catch(()=>this.voice)}type(t){const e=t.trim();e&&this.send(e,"typed")}async addDocuments(t,e){if(!this.id)return"No Live discussion is open.";const s=await this.post("/api/documents/briefing",{full:t,titles:e}),n=await s?.json().catch(()=>null);if(!s?.ok||!n?.text)return"Those documents could not be read.";const i=n.attached??[],o=n.listed??[],r=(m,A)=>[...m,...A.filter(K=>!m.includes(K))];this.docs={attached:r(this.docs.attached,i),listed:r(this.docs.listed,o)};const h=[i.length?`attached in full: ${i.join(", ")}`:"",o.length?`listed by title: ${o.join(", ")}`:"",n.cut?.length?`too long to attach, so listed: ${n.cut.join(", ")}`:""].filter(Boolean);return this.note(`Documents for the crew, ${h.join("; ")}.`),this.send(n.text,"typed",!0),null}fix(t,e){const s=e.trim();if(!s||s===t.text)return;const n=t.text;t.text=s,t.how="fixed",this.send(`(Correction: speech recognition got my last words wrong. I said "${s}", not "${n}". Answer that instead.)`,"fixed",!0)}markSent(t){t.sent=!0;for(const e of this.handoffs)e.state==="briefing"&&(e.state="briefed")}briefText(t){const e=t.handoffs.length?`## Hand-offs from the call
|
|
10
|
-
${t.handoffs.map(s=>`- ${s.replace(/\s+/g," ")}`).join(`
|
|
11
|
-
`)}`:"";return[`Captain’s briefing from a Live mode discussion (${t.minutes} min):`,t.briefing??"",e].filter(Boolean).join(`
|
|
12
|
-
|
|
13
|
-
`)}get waitingHandoffs(){return this.handoffs.filter(t=>ut.includes(t.state)).length}handoff(t){return this.handoffs.find(e=>e.key===t)??null}scout(t){return this.scouts.find(e=>e.key===t)??null}async sendHandoff(t){const e=this.handoff(t);if(!e||!["pending","failed"].includes(e.state))return;e.state="sending";const s=await this.toFirstmate?.(Ge(e.note))??!1;e.state=s?"sent":"failed"}deleteHandoff(t){const e=this.handoff(t);e&&ut.includes(e.state)&&(e.state="deleted")}restoreHandoff(t){const e=this.handoff(t);e?.state==="deleted"&&this.on&&(e.state="pending")}askScout(t){const e=t.trim();if(!e||!this.id)return;const s=P();this.entries.push({kind:"scout",id:s,at:C(),scout:s,report:!1}),this.addScout(s,e,!0),this.send(`(Wheelhouse, not the captain speaking: the captain just sent a scout on this question: "${e}". Acknowledge it in a few words; you will hear when its report is in.)`,"typed",!0)}approveScout(t){const e=this.scout(t);e&&(e.state==="offered"||e.state==="failed")&&this.requestScout(e)}declineScout(t){const e=this.scout(t);e?.state==="offered"&&(e.state="declined")}addScout(t,e,s){const n=Array.from(crypto.getRandomValues(new Uint8Array(3)),o=>o.toString(16).padStart(2,"0")).join("");this.scouts.push({key:t,ref:n,question:e,asked:s,state:s?"sending":"offered",sentAt:0,task:null,title:null,statusLabel:null,summary:null,report:null,told:!1});const i=this.scouts[this.scouts.length-1];return s&&this.requestScout(i),i}async requestScout(t){t.state="sending",t.sentAt=Date.now();const e=await this.toFirstmate?.(We({ref:t.ref,question:t.question,session:this.id}))??!1;t.state=e?"requested":"failed",e&&this.watchScouts()}watchScouts(){if(this.scoutTimer)return;const t=async()=>{this.scoutTimer=null;const e=r=>(r.state==="requested"||r.state==="running")&&Date.now()-r.sentAt<ze,s=r=>!!this.id&&r.state==="reported"&&!r.told,n=this.scouts.filter(e),i=n.map(r=>`scout=${r.ref}:${r.sentAt}`).join("&"),o=await(n.length?fetch(`/api/live/scouts?${i}`):Promise.reject()).then(r=>r.ok?r.json():null).catch(()=>null);for(const r of n){const h=o?.scouts?.[r.ref];h&&(r.task=h.task,r.title=h.title,r.statusLabel=h.statusLabel,h.report?(r.state="reported",r.summary=h.report.summary,r.report=h.report.text,this.entries.push({kind:"scout",id:P(),at:C(),scout:r.key,report:!0})):r.state="running")}this.tellReports(),this.scouts.some(r=>e(r)||s(r))&&(this.scoutTimer=setTimeout(()=>{t()},n.length?He:3e3))};this.scoutTimer=setTimeout(()=>{t()},4e3)}tellReports(){if(!this.id||!["ready","listening","muted"].includes(this.state)||this.current)return;const t=this.scouts.find(e=>e.state==="reported"&&!e.told&&e.report&&e.task);t&&(t.told=!0,this.send(Ue({question:t.question,task:t.task,report:t.report}),"typed",!0))}takeUp(t,e,s){const n=`${t.id}:${e}`;if(s.kind==="passon"&&!this.handoff(n)){const i=this.handoffMode==="direct";this.handoffs.push({key:n,note:s.note,state:"pending",direct:i}),i&&this.sendHandoff(n)}else s.kind==="scout"&&!this.scout(n)&&this.addScout(n,s.question,s.asked)}crew(){const t={kind:"crew",id:P(),at:C(),text:"",spoken:0,queued:0,streaming:!0,interrupted:!1,visuals:[],turn:null};return this.entries.push(t),this.entries[this.entries.length-1]}note(t){this.entries.push({kind:"notice",id:P(),at:C(),text:t})}async send(t,e,s=!1){if(!this.id)return;this.active&&this.bargeIn(),s||this.entries.push({kind:"captain",id:P(),at:C(),text:t,how:e,pending:!1});const n=this.crew();this.active=n,this.state="thinking";const o=await(await this.post(`/api/live/${this.id}/say`,{text:t}))?.json().catch(()=>null);if(this.active!==n)return;if(!o?.turn){n.streaming=!1,n.text="The crew did not answer. Try again, or end the discussion.",this.state=this.idle();return}n.turn=o.turn;const r=this.early.find(h=>h.turn===o.turn);this.early=this.early.filter(h=>h!==r);for(const h of r?.events??[])this.onEvent({...h,turn:o.turn})}onEvent(t){if(t.type==="gone"){this.on&&this.state!=="ending"&&(this.note("The discussion crew stopped."),this.close());return}const e=this.active;if(!(!e||!t.turn)){if(e.turn===null){let s=this.early.find(n=>n.turn===t.turn);s||this.early.push(s={turn:t.turn,events:[]}),s.events.push(t);return}t.turn===e.turn&&(t.type==="delta"&&t.text?(e.text+=t.text,this.readVisuals(e),this.feedSpeech(e,!1)):t.type==="done"&&(e.streaming=!1,!e.text.trim()&&!e.interrupted&&(e.text=t.error?`I couldn’t answer: ${t.error}`:"I couldn’t answer that. Try again?",e.queued=e.spoken=e.text.length),this.readVisuals(e),this.feedSpeech(e,!0),!this.current&&!this.queue.length&&(this.state=this.idle(),this.tellReports())))}}readVisuals(t){const e=dt(t.text).filter(s=>s.type==="block"&&s.closed);for(let s=t.visuals.length;s<e.length;s++){const n=e[s],i=Fe(n.lang,n.body);t.visuals.push(i),this.takeUp(t,s,i)}}feedSpeech(t,e){const s=Ce(t.text),n=dt(t.text).some(r=>r.type==="block"),{sentences:i,to:o}=Pe(s,t.queued,e||n);t.queued=o;for(const r of i)this.speak(r,t)}bargeIn(){const t=this.active,e=t&&(t.streaming||this.speakingFor(t));this.stopSpeech(),t&&e&&(t.interrupted=!0,t.streaming=!1,this.id&&this.post(`/api/live/${this.id}/interrupt`,{})),this.active=null}speakingFor(t){return this.current?.reply===t||this.queue.some(e=>e.reply===t)}provider(){return this.voice?.effective.speak??X}speak(t,e){const s=Ct(t);if(!s){e&&(e.spoken+=t.length);return}const n={text:t,reply:e,audio:null};this.provider()!==X&&(n.audio=this.fetchAudio(s)),this.queue.push(n),this.pump()}async fetchAudio(t){const e=await this.post("/api/voice/speak",{text:t,speed:this.prefs.speed});return!e||e.status!==200?null:e.blob().catch(()=>null)}pump(){if(this.current||!this.queue.length)return;const t=this.queue.shift(),e=this.gen;this.current=t;const s=()=>{e!==this.gen||this.current!==t||(t.reply&&(t.reply.spoken+=t.text.length),this.recent={text:`${this.recent&&Date.now()-this.recent.at<4e3?this.recent.text:""} ${t.text}`,at:Date.now()},this.current=null,this.player=null,this.queue.length?this.pump():t.reply?.streaming?this.state="thinking":(this.state==="speaking"||this.state==="thinking")&&(this.state=this.idle(),this.tellReports()))},n=()=>{if(e!==this.gen)return;if(typeof speechSynthesis>"u")return s();const i=new SpeechSynthesisUtterance(Ct(t.text)),o=speechSynthesis.getVoices().filter(h=>h.lang.startsWith("en"));i.voice=["Google UK English Male","Daniel","Google UK English Female","Serena","Samantha"].map(h=>o.find(m=>m.name.includes(h))).find(Boolean)??null,i.rate=this.prefs.speed*1.05,i.onstart=()=>{e===this.gen&&(this.state="speaking")},i.onboundary=()=>this.pulse=.45+Math.random()*.35;const r=setTimeout(s,4e3+t.text.length*110);i.onend=i.onerror=()=>{clearTimeout(r),s()},speechSynthesis.speak(i)};if(!t.audio)return n();t.audio.then(i=>{if(e!==this.gen)return;if(!i)return n();const o=new Audio(URL.createObjectURL(i));this.player=o;try{this.audioCtx&&this.outAnalyser&&this.audioCtx.createMediaElementSource(o).connect(this.outAnalyser)}catch{}o.onplaying=()=>{e===this.gen&&(this.state="speaking")},o.onended=()=>{URL.revokeObjectURL(o.src),s()},o.onerror=()=>n(),o.play().catch(()=>n())})}stopSpeech(){this.gen++,this.queue=[],this.current=null,this.player?.pause(),this.player=null,typeof speechSynthesis<"u"&&speechSynthesis.cancel()}idle(){return this.prefs.input==="ptt"?"ready":this.state==="muted"?"muted":"listening"}hearsWithProvider(){return(this.voice?.effective.hear??X)!==X}async openMicrophone(){try{this.stream=await navigator.mediaDevices.getUserMedia({audio:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}}),this.audioCtx=new AudioContext;const t=this.audioCtx.createMediaStreamSource(this.stream);this.micAnalyser=this.audioCtx.createAnalyser(),this.micAnalyser.fftSize=1024,t.connect(this.micAnalyser),this.outAnalyser=this.audioCtx.createAnalyser(),this.outAnalyser.fftSize=512,this.outAnalyser.connect(this.audioCtx.destination)}catch{this.problem="No microphone: you can still type to the crew."}}applyInput(){this.prefs.input==="always"&&this.state!=="muted"?(this.listen(),this.hearsWithProvider()&&!this.recorder&&this.record()):this.pressing||this.stopListening(),["ready","listening","muted"].includes(this.state)&&(this.state=this.idle())}toggleMute(){this.prefs.input!=="always"||!this.on||(this.state==="muted"?(this.state="listening",this.applyInput()):(this.stopListening(),this.state="muted"))}listen(){if(this.session)return;const t=Ae();t.supported()&&(this.consumed=0,this.session=t.start("en-GB",{text:(e,s)=>this.onHeard(e,s),problem:e=>{(e==="blocked"||e==="no-microphone")&&(this.problem="The microphone is blocked: allow it from the address bar, or type.")},end:()=>{this.session=null,this.on&&this.state!=="ending"&&(this.prefs.input==="always"?this.state!=="muted":this.pressing)&&setTimeout(()=>this.listen(),100)}}))}stopListening(t=!1){this.commitTimer&&clearTimeout(this.commitTimer);const e=this.session;if(this.session=null,t?e?.stop():e?.abort(),this.recorder){try{this.recorder.mr.stop()}catch{}this.recorder=null}}onHeard(t,e){const s=t.slice(this.consumed).trim(),n=`${s} ${e}`.trim();if(!n||!this.on)return;if(this.prefs.input==="ptt"){this.pressing&&(this.heard={settled:s,forming:e});return}if(this.state==="muted")return;const i=`${this.current?.text??""} ${this.queue.map(r=>r.text).join(" ")} ${this.recent&&Date.now()-this.recent.at<2500?this.recent.text:""}`;if(!this.prefs.headphones&&Ee(n,i)){this.consumed=t.length;return}if(this.state==="speaking"||!!this.current){if(n.split(/\s+/).length<2&&!s)return;this.bargeIn()}else this.state==="thinking"&&n.split(/\s+/).length>=2&&this.bargeIn();this.utterStart||(this.utterStart=performance.now()),this.heard={settled:s,forming:e},this.state="hearing",this.commitTimer&&clearTimeout(this.commitTimer),this.commitTimer=setTimeout(()=>{this.commit(t.length)},e?1500:850)}async commit(t){const e=`${this.heard.settled} ${this.heard.forming}`.trim();this.consumed=Math.max(this.consumed,t),this.heard={settled:"",forming:""};const s=this.utterStart;if(this.utterStart=0,!!e){if(this.hearsWithProvider()&&this.recorder){const n=this.recorder,i=Math.max(0,(s-n.t0)/1e3-1.6);this.recorder=null;const o=this.stopRecorder(n);this.record();const r=await this.transcribe(await o,i,e);return this.send(r??e,r?"provider":"voice")}return this.send(e,"voice")}}press(){!this.on||this.pressing||this.prefs.input!=="ptt"||!this.id||(this.pressing=!0,this.heard={settled:"",forming:""},this.active&&(this.active.streaming||this.speakingFor(this.active))?this.bargeIn():this.stopSpeech(),this.state="hearing",this.hearsWithProvider()&&this.record(),this.listen(),this.pressedAt=performance.now())}pressedAt=0;cancel(){if(!this.pressing)return;this.pressing=!1;const t=this.recorder;this.recorder=null;try{t?.mr.stop()}catch{}const e=this.session;this.session=null,e?.abort(),this.heard={settled:"",forming:""},this.state=this.idle()}async release(){if(!this.pressing)return;this.pressing=!1;const t=performance.now()-this.pressedAt,e=this.recorder;this.recorder=null;const s=e?this.stopRecorder(e):null,n=this.session;this.session=null,n?.stop(),await new Promise(o=>setTimeout(o,450));const i=`${this.heard.settled} ${this.heard.forming}`.trim();if(this.heard={settled:"",forming:""},t<300||!i&&!s){this.state=this.idle();return}if(s){const o=await this.transcribe(await s,0,i||"…");if(o||i)return this.send(o??i,o?"provider":"voice");this.state=this.idle();return}if(i)return this.send(i,"voice");this.state=this.idle()}record(){if(!this.stream||typeof MediaRecorder>"u")return;const t=["audio/webm;codecs=opus","audio/webm","audio/mp4"].find(n=>MediaRecorder.isTypeSupported(n)),e=new MediaRecorder(this.stream,t?{mimeType:t}:void 0),s={mr:e,chunks:[],t0:performance.now()};e.ondataavailable=n=>{n.data.size&&s.chunks.push(n.data)},e.start(250),this.recorder=s}stopRecorder(t){return new Promise(e=>{t.mr.onstop=()=>e(new Blob(t.chunks,{type:t.mr.mimeType||"audio/webm"}));try{t.mr.stop()}catch{e(null)}})}async transcribe(t,e,s){if(!t||t.size<1500)return null;const n={kind:"captain",id:P(),at:C(),text:s,how:"voice",pending:!0};this.entries.push(n),this.state="transcribing";try{return(await(await fetch(`/api/voice/hear?from=${e.toFixed(2)}`,{method:"POST",headers:{"content-type":t.type,[It]:this.token},body:t})).json().catch(()=>null))?.text?.trim()||null}catch{return null}finally{this.entries=this.entries.filter(i=>i.id!==n.id)}}headphoneBargeIn(t){if(!this.prefs.headphones||this.prefs.input!=="always"||this.state!=="speaking"&&this.state!=="thinking"){this.loudSince=0;return}t<.45?this.loudSince=0:this.loudSince?performance.now()-this.loudSince>220&&(this.loudSince=0,this.bargeIn(),this.state="hearing"):this.loudSince=performance.now()}async post(t,e){try{return await fetch(t,{method:"POST",headers:{"content-type":"application/json",[It]:this.token},body:JSON.stringify(e)})}catch{return null}}}const tt=new Ve;var Ke=D('Bring into <em class="text-gold">Live</em>',1),Rt=D("<!> <!>",1),Ye=D(`<p class="rounded-md border border-hair bg-muted p-3 text-sm" data-live-off="">No Live discussion is open. Start one from the Firstmate chat, then add documents from its
|
|
14
|
-
composer or from here.</p>`),Qe=D('<span class="text-xs text-muted-foreground">link only</span>'),Xe=D('<span class="tabular text-xs text-muted-foreground"> </span>'),Ze=D('<li><label class="flex cursor-pointer items-center gap-2.5 px-3 py-2 text-sm hover:bg-accent/50"><input type="checkbox"/> <!> <span class="min-w-0 flex-1"><span class="block truncate"> </span><span class="block truncate text-xs text-muted-foreground"> </span></span> <!></label></li>'),ts=D('<li class="px-3 py-4 text-sm text-muted-foreground">No documents match.</li>'),es=D('<p class="text-sm text-danger" role="alert"> </p>'),ss=D('<!> <!> <div class="flex flex-wrap items-center gap-2"><div class="flex rounded-md border bg-card p-0.5 text-sm" role="group" aria-label="How"><button type="button"><!>Attach in full</button> <button type="button"><!>List by title</button></div> <label class="flex h-8 min-w-0 flex-1 items-center gap-2 rounded-md border border-input bg-background px-2.5"><!> <input class="min-w-0 flex-1 bg-transparent text-sm outline-none" placeholder="Search by title"/></label></div> <ul class="max-h-80 divide-y divide-hair overflow-y-auto rounded-md border" data-live-picks=""></ul> <div><div class="h-1.5 overflow-hidden rounded-full bg-muted"><div></div></div> <p class="mt-1 text-xs text-muted-foreground"> </p></div> <!> <!>',1);function Ss(l,t){le(t,!0);let e=Lt(t,"open",15,!1),s=Lt(t,"preselect",3,null);const n=64*1024;let i=p("full"),o=p(""),r=p(E([])),h=p(E([])),m=p(null),A=p(!1);he(()=>{e()&&(Mt.want(),c(r,s()?[s()]:[],!0),c(h,[],!0),c(m,null))});const K=W(()=>{const f=Mt.value;return f?[...f.records.map(u=>({ref:u.key,title:u.title,sub:`${u.kind==="ship"?"ship summary":"report"} · ${jt(u.project)}${u.mate?` · @${u.mate}`:""}`,bytes:u.bytes,kind:"record"})),...f.library.map(u=>({ref:`lib:${u.key}`,title:u.title,sub:`library · ${jt(u.shelf)} / ${u.folder} · ${u.status}`,bytes:null,kind:"library"})),...f.prototypes.map(u=>({ref:`proto:${u.id}`,title:u.title,sub:`prototype · ${_e[u.state]}`,bytes:0,kind:"prototype"}))]:[]}),Bt=W(()=>a(K).filter(f=>!a(o)||`${f.title} ${f.sub}`.toLowerCase().includes(a(o).toLowerCase())).slice(0,120)),et=W(()=>a(K).filter(f=>a(r).includes(f.ref)).reduce((f,u)=>f+(u.bytes??4096),0));function Nt(f,u){const H=a(i)==="full"?"titles":"full";a(i)==="full"?c(r,u?[...a(r),f]:a(r).filter(M=>M!==f),!0):c(h,u?[...a(h),f]:a(h).filter(M=>M!==f),!0),u&&(H==="titles"?c(h,a(h).filter(M=>M!==f),!0):c(r,a(r).filter(M=>M!==f),!0))}async function Wt(){if(!tt.on)return;c(A,!0);const f=a(r).filter(u=>u.startsWith("proto:"));c(m,await tt.addDocuments(a(r).filter(u=>!u.startsWith("proto:")),[...a(h),...f]),!0),c(A,!1),a(m)||e(!1)}const ft=f=>`inline-flex cursor-pointer items-center gap-1.5 rounded-sm px-2.5 py-1 ${f?"bg-primary font-medium text-primary-foreground":"text-muted-foreground hover:text-foreground"}`;var pt=_t(),Ut=J(pt);O(Ut,()=>$e,(f,u)=>{u(f,{get open(){return e()},set open(H){e(H)},children:(H,M)=>{var mt=_t(),Ht=J(mt);O(Ht,()=>ve,(zt,Gt)=>{Gt(zt,{class:"max-h-[calc(100dvh-2rem)] overflow-y-auto sm:max-w-xl",children:(Jt,is)=>{var gt=ss(),yt=J(gt);O(yt,()=>be,(g,d)=>{d(g,{children:(T,G)=>{var q=Rt(),j=J(q);O(j,()=>we,(x,k)=>{k(x,{class:"font-display text-lg",children:($,B)=>{R();var S=Ke();R(),w($,S)},$$slots:{default:!0}})});var I=v(j,2);O(I,()=>ke,(x,k)=>{k(x,{children:($,B)=>{R();var S=lt();V(()=>U(S,a(i)==="full"?"The whole document goes into the discussion crew’s briefing.":"Only the title and where it is; the crew opens it if it needs to.")),w($,S)},$$slots:{default:!0}})}),w(T,q)},$$slots:{default:!0}})});var vt=v(yt,2);{var Vt=g=>{var d=Ye();w(g,d)};Q(vt,g=>{tt.on||g(Vt)})}var st=v(vt,2),it=L(st),F=L(it),Kt=L(F);Ie(Kt,{class:"size-3.5","aria-hidden":"true"}),R(),_(F);var z=v(F,2),Yt=L(z);qe(Yt,{class:"size-3.5","aria-hidden":"true"}),R(),_(z),_(it);var bt=v(it,2),wt=L(bt);Le(wt,{class:"size-3.5 text-muted-foreground","aria-hidden":"true"});var kt=v(wt,2);At(kt),_(bt),_(st);var nt=v(st,2);de(nt,21,()=>a(Bt),g=>g.ref,(g,d)=>{const T=W(()=>a(i)==="full"?a(r).includes(a(d).ref):a(h).includes(a(d).ref)),G=W(()=>a(i)==="full"?a(h).includes(a(d).ref):a(r).includes(a(d).ref));var q=Ze(),j=L(q),I=L(j);At(I);var x=v(I,2);{var k=y=>{De(y,{class:"size-4 shrink-0 text-teal","aria-hidden":"true"})},$=y=>{Me(y,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"})},B=y=>{Se(y,{class:"size-4 shrink-0 text-working","aria-hidden":"true"})};Q(x,y=>{a(d).kind==="record"?y(k):a(d).kind==="library"?y($,1):y(B,-1)})}var S=v(x,2),ot=L(S),at=N(ot,!0),ee=v(ot),se=N(ee);_(S);var ie=v(S,2);{var ne=y=>{var Y=Qe();w(y,Y)},re=y=>{var Y=Xe(),oe=N(Y);V(ae=>U(oe,`${ae??""} KB`),[()=>(a(d).bytes/1024).toFixed(1)]),w(y,Y)};Q(ie,y=>{a(d).kind==="prototype"?y(ne):a(i)==="full"&&a(d).bytes&&y(re,1)})}_(j),_(q),V(()=>{fe(I,a(T)),U(at,a(d).title),U(se,`${a(d).sub??""}${a(G)?` · already ${a(i)==="full"?"listed by title":"attached in full"}`:""}`)}),ht("change",I,y=>Nt(a(d).ref,y.currentTarget.checked)),w(g,q)},g=>{var d=ts();w(g,d)}),_(nt);var rt=v(nt,2),xt=L(rt),$t=N(xt),Qt=v(xt,2),Xt=N(Qt);_(rt);var St=v(rt,2);{var Zt=g=>{var d=es(),T=N(d,!0);V(()=>U(T,a(m))),w(g,d)};Q(St,g=>{a(m)&&g(Zt)})}var te=v(St,2);O(te,()=>xe,(g,d)=>{d(g,{children:(T,G)=>{var q=Rt(),j=J(q);{const x=(k,$)=>{Dt(k,Ot(()=>($?.()).props,{variant:"ghost",children:(S,ot)=>{R();var at=lt("Cancel");w(S,at)},$$slots:{default:!0}}))};O(j,()=>ye,(k,$)=>{$(k,{child:x,$$slots:{child:!0}})})}var I=v(j,2);{let x=W(()=>!tt.on||a(A)||!a(r).length&&!a(h).length);Dt(I,{onclick:Wt,get disabled(){return a(x)},children:(k,$)=>{R();var B=lt("Add to the discussion");w(k,B)},$$slots:{default:!0}})}w(T,q)},$$slots:{default:!0}})}),V((g,d,T,G)=>{ct(F,1,g),qt(F,"aria-pressed",a(i)==="full"),ct(z,1,d),qt(z,"aria-pressed",a(i)==="titles"),ct($t,1,`h-full ${a(et)>n?"bg-danger":"bg-gold"}`),pe($t,`width:${T??""}%`),U(Xt,`Attached in full: ${a(r).length??""} · ${G??""} of 64 KB · Listed by
|
|
15
|
-
title: ${a(h).length??""}. What does not fit is listed by title instead.`)},[()=>Tt(ft(a(i)==="full")),()=>Tt(ft(a(i)==="titles")),()=>Math.min(100,a(et)/n*100),()=>(a(et)/1024).toFixed(1)]),ht("click",F,()=>c(i,"full")),ht("click",z,()=>c(i,"titles")),me(kt,()=>a(o),g=>c(o,g)),w(Jt,gt)},$$slots:{default:!0}})}),w(H,mt)},$$slots:{default:!0}})}),w(l,pt),ce()}ue(["click","change"]);export{Ss as L,Ie as P,tt as l,dt as p};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as h,i as c,c as d,l as m,a as k,p as g}from"./BUYzAikv.js";const S={harbour:"wh-harbour-view"};function q(e,n,s){return e.key===n?{key:n,dir:e.dir==="asc"?"desc":"asc"}:{key:n,dir:s}}const p=e=>{const n=e?Date.parse(e):NaN;return Number.isNaN(n)?null:n};function y(e){const n=[p(e.activity?.at),m(e),p(e.since)].filter(s=>s!==null);return n.length?Math.max(...n):null}function w(e){return h(e)?{who:"you",label:e.attention?.kind!=="review"?"You: decision":e.attention.approved?"You: merge":"You: review"}:e.status==="with-firstmate"||k(e)?{who:"firstmate",label:"Firstmate"}:e.status==="with-reviewers"?{who:"reviewers",label:"Reviewers"}:c(e)?{who:"nobody",label:"—"}:e.status==="queued"?{who:"queue",label:e.blockedBy.length?`${e.blockedBy.length} earlier ${e.blockedBy.length===1?"task":"tasks"}`:"Its turn"}:{who:"crew",label:"Crew"}}const f={you:0,firstmate:1,reviewers:2,crew:3,queue:4,nobody:5},v={"needs-review":0,"needs-decision":0,blocked:1,failed:1,lost:2,unknown:2,"with-firstmate":3,"with-reviewers":3,waiting:4,working:5,queued:6,done:7,landed:8},u=e=>h(e)?0:v[e.status]??5,T={task:"asc",project:"asc",stage:"desc",status:"asc",waiting:"asc",updated:"desc"};function A(e,n,s){const r=(t,o)=>t.localeCompare(o,void 0,{sensitivity:"base"}),a=t=>(c(t)?d(t):y(t))??0,i={task:(t,o)=>r(t.shortTitle,o.shortTitle),project:(t,o)=>r(s(t),s(o)),stage:(t,o)=>g(t)-g(o)||t.passage.current-o.passage.current,status:(t,o)=>u(t)-u(o),waiting:(t,o)=>f[w(t).who]-f[w(o).who],updated:(t,o)=>a(t)-a(o)},l=n.dir==="asc"?1:-1;return e.toSorted((t,o)=>l*i[n.key](t,o)||u(t)-u(o)||a(o)-a(t))}const b=168*3600*1e3;function I(e,n){const s={underWay:0,needsYou:0,landed:0,queued:0,lastActivity:null};for(const r of e){if(h(r))s.needsYou++;else if(r.status==="queued")s.queued++;else if(c(r)){const i=d(r);r.status==="landed"&&i!==null&&n-i<=b&&s.landed++}else s.underWay++;const a=c(r)?d(r):y(r);a!==null&&(s.lastActivity===null||a>s.lastActivity)&&(s.lastActivity=a)}return s}function Y(e){if(!e.registered)return null;const n=(e.posture??"").split(/\s+/).filter(Boolean),s=n.find(t=>!t.startsWith("+")&&!t.includes("="))??"no-mistakes",r=n.includes("forge=gerrit")?" on Gerrit":"",a={"no-mistakes":`Every change runs the full checks before its pull request${r}`,"direct-PR":`Changes go straight to a pull request${r}`,"local-only":"Kept on this machine: changes land locally, with no pull request","no-mistakes-prod-only":`Product changes run the full checks; internal tooling goes straight to a pull request${r}`},i={"no-mistakes":"Full checks","direct-PR":"Straight to PR","local-only":"Local only","no-mistakes-prod-only":"Full checks for product work"},l=s!=="local-only"&&n.includes("+yolo");return{ships:a[s]??`Ships as "${s}"`,merges:s==="local-only"?"You approve each landing":l?"Firstmate merges once checks are green":"You merge each pull request",short:`${i[s]??s} · ${s==="local-only"?"you approve":l?"Firstmate merges":"you merge"}`}}export{b as P,T,S as V,I as a,q as n,Y as p,A as s,y as u,w};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as N,q as v,i as c,k as f,v as y,f as U,s as P,t as j,a as S,b as F,j as _,d as g,o as W,c as T}from"./Jk-ASPRO.js";import{s as x}from"./DTApYZoW.js";import{i as C}from"./BEVJas-l.js";import{a as D}from"./DNP6oCAK.js";import{b as R}from"./DLfKkHEy.js";import{p as E}from"./DQWg__9S.js";import{p as q}from"./CWXMOoE5.js";import{S as b}from"./BXN538J3.js";import{a as M}from"./BdjCJ4uL.js";async function J(r,e,a,o=`wh-${crypto.randomUUID()}`){try{const n=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback`,{method:"POST",headers:{"content-type":"application/json","idempotency-key":o,[b]:a},body:JSON.stringify(e)});if(n.ok){const t=await n.json().catch(()=>null);return t?.message?.delivery==="failed"?{ok:!1,error:t.message.deliveryDetail??"Firstmate did not take the list."}:{ok:!0,pending:n.status===202}}return{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function B(r,e,a){try{const o=await fetch(`/api/plugins/${encodeURIComponent(r)}/feedback/summary`,{method:"POST",headers:{"content-type":"application/json",[b]:a},body:JSON.stringify(e)}),n=await o.json().catch(()=>null);return o.ok&&Array.isArray(n?.points)?{ok:!0,points:n.points}:{ok:!1,error:n?.message??`Wheelhouse answered ${o.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const H=r=>new URLSearchParams({plugin:r.plugin,service:r.service,...r.project?{project:r.project}:{}}).toString();async function z(r){try{const e=await fetch(`/api/services?${H(r)}`);return e.ok?await e.json():null}catch{return null}}async function L(r,e,a=null){const o=window.open("","_blank");try{o?.document.write('<!doctype html><title>Starting…</title><body style="font:15px system-ui;margin:3rem;color:#14213d;background:#f6f2e9">Wheelhouse is starting it; this tab opens it when it answers.</body>')}catch{}let n=null;try{const t=await fetch("/api/services",{method:"POST",headers:{"content-type":"application/json",[b]:e},body:JSON.stringify({plugin:r.plugin,service:r.service,project:r.project??null})});n=t.ok?await t.json():{...await t.json().catch(()=>({})),state:"failed",reason:`Wheelhouse could not start it (${t.status}).`}}catch{n=null}const s=n?.state==="running"?a??n.url:null;if(s){const t=M.view(s);o?o.location.href=t:window.open(t,"_blank")}else o?.close();return n}const G=5e3,k=new Map;function K(r,e){let a=k.get(r);return a||(a=e(r).catch(o=>{throw k.delete(r),o}),k.set(r,a)),a}const I=()=>typeof navigator>"u"||!navigator.userActivation?!0:navigator.userActivation.isActive;function Q(r,e){const a=r.pluginId,o=(s,t)=>{if(typeof s!="string"||!s)throw new TypeError("Name a service.");const i=t===void 0?r.projectId:t;return{plugin:a,service:s,project:typeof i=="string"&&i?i:null}},n=s=>{const t=typeof s=="object"&&s!==null?s:{},i=typeof t.task=="string"&&t.task?t.task:r.taskId??null;return i?{taskId:i,subject:typeof t.subject=="string"?t.subject:null,items:Array.isArray(t.items)?t.items:[]}:null};return Object.freeze({pluginId:a,service:async(s,t={})=>e.status(o(s,t.project)),launch:async(s,t={})=>e.launch(o(s,t.project),e.token(),typeof t.open=="string"?t.open:null),sendFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is sent only when the captain clicks to send it."};const t=n(s);return t?e.feedback(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}},summariseFeedback:async s=>{if(!(e.clicked??I)())return{ok:!1,error:"Feedback is summarised only when the captain clicks to."};if(!e.summarise)return{ok:!1,error:"This page cannot summarise feedback."};const t=n(s);return t?e.summarise(a,t,e.token()):{ok:!1,error:"Name the task the feedback is about."}}})}async function V(r,e){if(!customElements.get(e.tag)){if(!e.ui)throw new Error("this Wheelhouse has no UI bundle for it");try{await K(e.ui,e.importer??(n=>import(n)))}catch(n){throw new Error(`its UI bundle did not load (${n instanceof Error?n.message:String(n)})`)}let o;try{await Promise.race([customElements.whenDefined(e.tag),new Promise((n,s)=>{o=setTimeout(()=>s(new Error(`its UI bundle does not define <${e.tag}>`)),e.timeoutMs??G)})])}finally{clearTimeout(o)}}const a=document.createElement(e.tag);return e.host&&(a.host=e.host),a.entry=e.entry,a.data=e.data,r.append(a),a}var X=T('<p class="text-sm text-muted-foreground"> </p>'),Y=T('<div class="contents"></div> <!>',1);function ce(r,e){N(e,!0);let a=E(e,"preview",3,void 0),o=E(e,"quiet",3,!1);const n=_(()=>"element"in e.entry.render?e.entry.render.element:""),s=_(()=>e.entry.ui??null);let t=g(null),i=g(null),m=g(null);v(()=>{if(!c(t)||!c(n))return;const l=c(t);let u=!1,h=null;return f(m,null),V(l,{tag:c(n),ui:c(s),data:y(()=>e.data),entry:y(()=>e.entry),host:Q(y(()=>e.entry),{status:z,launch:L,feedback:J,summarise:B,token:()=>q.data.sessionToken??""}),importer:e.importer}).then(d=>{h=d,u?d.remove():f(i,d,!0)},d=>{u||f(m,d.message,!0)}),()=>{u=!0,h?.remove(),f(i,null)}}),v(()=>{c(i)&&(a()!==void 0&&(c(i).preview=a()),c(i).entry=e.entry,c(i).data=e.data)});var w=Y(),p=U(w);R(p,l=>f(t,l),()=>c(t));var O=P(p,2);{var A=l=>{var u=X(),h=W(u);j(()=>x(h,`Not available. The ${e.entry.pluginId??""} plugin’s element could not be shown: ${c(m)??""}.`)),S(l,u)};C(O,l=>{c(m)&&!o()&&l(A)})}j(()=>D(p,"data-plugin-element",c(n))),S(r,w),F()}export{ce as P};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as y}from"./CeV_7ApB.js";import{y as b,b9 as I,d as u,i as f,k as d}from"./Jk-ASPRO.js";const h=[];function k(e,t=b){let n=null;const r=new Set;function s(o){if(I(e,o)&&(e=o,n)){const l=!h.length;for(const c of r)c[1](),h.push(c,e);if(l){for(let c=0;c<h.length;c+=2)h[c][0](h[c+1]);h.length=0}}}function i(o){s(o(e))}function a(o,l=b){const c=[o,l];return r.add(c),r.size===1&&(n=t(s,i)||b),o(e),()=>{r.delete(c),r.size===0&&n&&(n(),n=null)}}return{set:s,update:i,subscribe:a}}const L="1795111539303";new URL("sveltekit-internal://");function K(e,t){return e==="/"||t==="ignore"?e:t==="never"?e.endsWith("/")?e.slice(0,-1):e:t==="always"&&!e.endsWith("/")?e+"/":e}function B(e){return e.split("%25").map(decodeURI).join("%25")}function D(e){for(const t in e)e[t]=decodeURIComponent(e[t]);return e}function J({href:e}){return e.split("#")[0]}function W(e,t,n,r=!1){const s=new URL(e);Object.defineProperty(s,"searchParams",{value:new Proxy(s.searchParams,{get(a,o){if(o==="get"||o==="getAll"||o==="has")return(c,...N)=>(n(c),a[o](c,...N));t();const l=Reflect.get(a,o);return typeof l=="function"?l.bind(a):l}}),enumerable:!0,configurable:!0});const i=["href","pathname","search","toString","toJSON"];r&&i.push("hash");for(const a of i)Object.defineProperty(s,a,{get(){return t(),e[a]},enumerable:!0,configurable:!0});return s}function x(){}function P(...e){let t=5381;for(const n of e)if(typeof n=="string"){let r=n.length;for(;r;)t=t*33^n.charCodeAt(--r)}else if(ArrayBuffer.isView(n)){const r=new Uint8Array(n.buffer,n.byteOffset,n.byteLength);let s=r.length;for(;s;)t=t*33^r[--s]}else throw new TypeError("value must be a string or TypedArray");return(t>>>0).toString(36)}new TextEncoder;function $(e){const t=atob(e),n=new Uint8Array(t.length);for(let r=0;r<t.length;r++)n[r]=t.charCodeAt(r);return n}const q=window.fetch;window.fetch=(e,t)=>((e instanceof Request?e.method:t?.method||"GET")!=="GET"&&p.delete(m(e)),q(e,t));const p=new Map;function X(e,t){const n=m(e,t),r=document.querySelector(n);if(r?.textContent){r.remove();let{body:s,...i}=JSON.parse(r.textContent);r.getAttribute("data-b64")!==null&&(s=$(s));const o=r.getAttribute("data-ttl");return o&&p.set(n,{body:s,init:i,ttl:1e3*Number(o)}),Promise.resolve(new Response(s,i))}return window.fetch(e,t)}function M(e,t,n){if(p.size>0){const r=m(e,n),s=p.get(r);if(s){if(performance.now()<s.ttl&&["default","force-cache","only-if-cached",void 0].includes(n?.cache))return new Response(s.body,s.init);p.delete(r)}}return window.fetch(t,n)}function m(e,t){let r=`script[data-sveltekit-fetched][data-url=${JSON.stringify(e instanceof Request?e.url:e)}]`;if(t?.headers||t?.body){const s=[];t.headers&&s.push([...new Headers(t.headers)].join(",")),t.body&&(typeof t.body=="string"||ArrayBuffer.isView(t.body))&&s.push(t.body),r+=`[data-hash="${P(...s)}"]`}return r}const z=globalThis.__sveltekit_1gz72ep?.base??"",C=globalThis.__sveltekit_1gz72ep?.assets??z??"",F="sveltekit:snapshot",Q="sveltekit:scroll",Z="sveltekit:states",ee="sveltekit:pageurl",te="sveltekit:history",ne="sveltekit:navigation",v={tap:1,hover:2,viewport:3,eager:4,off:-1,false:-1},E=location.origin;function re(e){if(e instanceof URL)return e;let t=document.baseURI;if(!t){const n=document.getElementsByTagName("base");t=n.length?n[0].href:document.URL}return new URL(e,t)}function se(){return{x:pageXOffset,y:pageYOffset}}function g(e,t){return e.getAttribute(`data-sveltekit-${t}`)}const S={...v,"":v.hover};function T(e){let t=e.assignedSlot??e.parentNode;return t?.nodeType===11&&(t=t.host),t}function oe(e,t){for(;e&&e!==t;){if(e.nodeName.toUpperCase()==="A"&&e.hasAttribute("href"))return e;e=T(e)}}function ae(e,t,n){let r;try{if(r=new URL(e instanceof SVGAElement?e.href.baseVal:e.href,document.baseURI),n&&r.hash.match(/^#[^/]/)){const o=location.hash.split("#")[1]||"/";r.hash=`#${o}${r.hash}`}}catch{}const s=e instanceof SVGAElement?e.target.baseVal:e.target,i=!r||!!s||V(r,t,n)||(e.getAttribute("rel")||"").split(/\s+/).includes("external"),a=r?.origin===E&&e.hasAttribute("download");return{url:r,external:i,target:s,download:a}}function ie(e){let t=null,n=null,r=null,s=null,i=null,a=null,o=e;for(;o&&o!==document.documentElement;)r===null&&(r=g(o,"preload-code")),s===null&&(s=g(o,"preload-data")),t===null&&(t=g(o,"keepfocus")),n===null&&(n=g(o,"noscroll")),i===null&&(i=g(o,"reload")),a===null&&(a=g(o,"replacestate")),o=T(o);function l(c){switch(c){case"":case"true":return!0;case"off":case"false":return!1;default:return}}return{preload_code:S[r??"off"],preload_data:S[s??"off"],keepfocus:l(t),noscroll:l(n),reload:l(i),replace_state:l(a)}}function le(e){const t=k(e);let n=!0;function r(){n=!0,t.update(a=>a)}function s(a){n=!1,t.set(a)}function i(a){let o;return t.subscribe(l=>{(o===void 0||n&&l!==o)&&a(o=l)})}return{notify:r,set:s,subscribe:i}}const U={v:x};function ce(){const{set:e,subscribe:t}=k(!1);let n;async function r(){clearTimeout(n);try{const s=await fetch(`${C}/_app/version.json`,{headers:{pragma:"no-cache","cache-control":"no-cache"}});if(!s.ok)return!1;const a=(await s.json()).version!==L;return a&&(e(!0),U.v(),clearTimeout(n)),a}catch{return!1}}return{subscribe:t,check:r}}function V(e,t,n){return e.origin!==E||!e.pathname.startsWith(t)?!0:n?e.pathname!==location.pathname:!1}function ue(e){}const O=new Set(["load","prerender","csr","ssr","trailingSlash","config"]);[...O];const j=new Set([...O]);[...j];let w,R,_;const G=y.toString().includes("$$")||/function \w+\(\) \{\}/.test(y.toString()),A="a:";G?(w={data:{},form:null,error:null,params:{},route:{id:null},state:{},status:-1,url:new URL(A)},R={current:null},_={current:!1}):(w=new class{#e=u({});get data(){return f(this.#e)}set data(t){d(this.#e,t)}#t=u(null);get form(){return f(this.#t)}set form(t){d(this.#t,t)}#n=u(null);get error(){return f(this.#n)}set error(t){d(this.#n,t)}#r=u({});get params(){return f(this.#r)}set params(t){d(this.#r,t)}#s=u({id:null});get route(){return f(this.#s)}set route(t){d(this.#s,t)}#o=u({});get state(){return f(this.#o)}set state(t){d(this.#o,t)}#a=u(-1);get status(){return f(this.#a)}set status(t){d(this.#a,t)}#i=u(new URL(A));get url(){return f(this.#i)}set url(t){d(this.#i,t)}},R=new class{#e=u(null);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},_=new class{#e=u(!1);get current(){return f(this.#e)}set current(t){d(this.#e,t)}},U.v=()=>_.current=!0);function ge(e){Object.assign(w,e)}export{te as H,ne as N,ee as P,Z as S,R as a,z as b,ie as c,J as d,D as e,oe as f,ae as g,K as h,V as i,ce as j,le as k,v as l,W as m,x as n,E as o,w as p,B as q,re as r,se as s,F as t,ge as u,M as v,k as w,X as x,Q as y,ue as z};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{d as f,i as h,k as u,e as v,j as m}from"./Jk-ASPRO.js";import{h as C,i as T,j as x,k as S,m as N}from"./nqsqhzVw.js";import{S as R}from"./BXN538J3.js";import{w as q}from"./RYvdmj4W.js";const z=[{kind:"pr-green",label:"PR green",hint:"A pull request passed its checks and waits on you"},{kind:"question",label:"Question waiting",hint:"Firstmate needs your decision"},{kind:"stuck",label:"Worker stuck",hint:"Blocked, failed, lost contact or gone quiet"},{kind:"landed",label:"Merge landed",hint:"A pull request was merged"},{kind:"issue",label:"New issue",hint:"A GitHub issue you watch, with the bell on"},{kind:"events-paused",label:"Events source paused",hint:"A source exceeded its event rate limit"},{kind:"health",label:"Health",hint:"Soundings found something on this computer or in Wheelhouse"}],D=20*6e4,$=220;function j(e,t){const s=[],i={taskId:e.id,projectId:e.projectId,title:e.shortTitle},n=M(e.id),r=(o,a=n)=>({kind:"open",label:o,href:a,external:!1}),c=o=>e.pr?[{kind:"open",label:o,href:e.pr.url,external:!0}]:[],d=e.pr?.number?`Pull request #${e.pr.number}`:"The pull request";if(e.status==="needs-review"&&e.attention?.kind==="review"&&e.pr){const o=`pr-green:${e.id}:${e.pr.url}`;s.push({...i,id:o,kind:"pr-green",captain:!0,text:`${d} is green and ready to merge.`,actions:[{kind:"note",label:"Merge",text:`Please merge ${e.pr.url} (${e.id}: ${e.shortTitle}). Sent from Wheelhouse's ship's bell.`,requestId:`wh-bell-merge-${g(o)}`,sent:"Asked Firstmate to merge"},...c("Open PR"),r("Open task")]})}else if(e.status==="needs-decision"&&e.attention?.owner==="captain")s.push({...i,id:`question:${e.id}:${g(e.attention.text)}`,kind:"question",captain:!0,text:I(e.attention.text),actions:[r("Open decision",e.secondMate?n:C(T(e.id))),r("Answer in chat",b(e.id))]});else if(e.status==="blocked"||e.status==="failed"||e.status==="lost")s.push({...i,id:`stuck:${e.id}:${e.status}:${g(e.summaryRaw??e.summary??e.statusLabel)}`,kind:"stuck",captain:!1,text:I(e.summary?`${e.statusLabel}: ${e.summary}`:e.statusLabel),actions:[r("Open task"),r("Ask Firstmate",b(e.id))]});else if(H(e,t)){const o=Math.round((t-Date.parse(e.activity.at))/6e4);s.push({...i,id:`stuck:${e.id}:quiet:${g(e.activity.text)}`,kind:"stuck",captain:!1,text:`Gone quiet: no word for ${o} minutes while working.`,actions:[r("Open task"),r("Ask Firstmate",b(e.id))]})}else e.status==="landed"&&s.push({...i,id:`landed:${e.id}`,kind:"landed",captain:!1,text:e.pr?`${d} was merged.`:"The work was merged.",actions:[r("Open task"),...c("View PR")]});return s}function F(e){return!e||e.state!=="ours"||e.picker||e.signIn?null:e.terminal?{detail:e.terminal.excerpt||null}:null}function Z(e){return`${e.id}@${e.at}`}function H(e,t){if(e.status!=="working"||e.busy||e.pipeline&&e.pipeline.outcome==="running")return!1;const s=e.activity?.at?Date.parse(e.activity.at):NaN;return Number.isFinite(s)&&t-s>=D}function tt(e,t){if(!e.captain||e.taskId===null||!t||!t.collectedAt)return!0;const s=t.tasks.find(i=>i.id===e.taskId);return s?j(s,Date.now()).some(i=>i.id===e.id):!1}function M(e){return`/tasks/${encodeURIComponent(e)}`}function b(e){return`/?chat=${encodeURIComponent(e)}`}function I(e){const t=e.replace(/\s+/g," ").trim();return t.length>$?`${t.slice(0,$-1).trimEnd()}…`:t}function g(e){let t=2166136261,s=1523705862;for(let i=0;i<e.length;i++){const n=e.charCodeAt(i);t=Math.imul(t^n,16777619),s=Math.imul(s^n,1540483477)}return(t>>>0).toString(16).padStart(8,"0")+(s>>>0).toString(16).padStart(8,"0")}const _=2,k=e=>` ${e.replace(/\s+/g," ").trim()} `,E=e=>e[e.length-1]?.id??null,W=(e,t)=>t===null?-1:e.findIndex(s=>s.id===t),O=e=>e?.kind==="turn";function P(e,t){const s=new Map;return e.filter(i=>{if(i.state==="sending"||i.state==="failed")return!0;const n=W(t,i.after),r=t.slice(n+1);if(i.via==="inbox")return!r.some(O);const c=k(i.text),d=s.get(c)??0;return r.filter(a=>a.kind==="user"&&k(a.text).includes(c)).length>d?(s.set(c,d+1),!1):r.filter(a=>O(a)&&a.done).length<_})}function et(e){switch(e.state){case"sending":return"Sending…";case"queued":return"Queued · Firstmate is busy and will read it next";case"failed":return e.error?`Not sent · ${e.error}`:"Not sent";default:return e.via==="inbox"?"In Firstmate’s inbox":"Delivered · waiting for Firstmate"}}const y=6e3,A=1500,U=6e3,L=8,J=6e4;class Y{#t=f(null);get session(){return h(this.#t)}set session(t){u(this.#t,t,!0)}#e=f(null);get source(){return h(this.#e)}set source(t){u(this.#e,t,!0)}#s=f([]);get records(){return h(this.#s)}set records(t){u(this.#s,t)}#i=f([]);get history(){return h(this.#i)}set history(t){u(this.#i,t)}#n=f("unknown");get older(){return h(this.#n)}set older(t){u(this.#n,t,!0)}#r=f("connecting");get connection(){return h(this.#r)}set connection(t){u(this.#r,t,!0)}#o=f(0);get resets(){return h(this.#o)}set resets(t){u(this.#o,t,!0)}#a=f(!1);get synced(){return h(this.#a)}set synced(t){u(this.#a,t,!0)}#h=f(v([]));get commands(){return h(this.#h)}set commands(t){u(this.#h,t,!0)}#u=m(()=>new Set(this.history.map(t=>t.uuid)));get historyIds(){return h(this.#u)}set historyIds(t){u(this.#u,t)}#c=m(()=>Math.max(0,this.history.findLastIndex(x)));get cut(){return h(this.#c)}set cut(t){u(this.#c,t)}#l=m(()=>S(this.history.slice(0,this.cut)));get earlier(){return h(this.#l)}set earlier(t){u(this.#l,t)}#d=m(()=>S(this.cut<this.history.length?[...this.history.slice(this.cut),...this.records]:this.records));get latest(){return h(this.#d)}set latest(t){u(this.#d,t)}#f=m(()=>N(this.earlier,this.latest));get chat(){return h(this.#f)}set chat(t){u(this.#f,t)}#m=m(()=>{const t=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||t?.kind==="turn"&&!t.done&&!t.interrupted});get working(){return h(this.#m)}set working(t){u(this.#m,t)}#p=m(()=>this.connection==="open"&&this.session?.state==="ours"&&!this.session.picker&&!this.session.menu&&!this.session.signIn&&!this.session.terminal&&this.working);get atWork(){return h(this.#p)}set atWork(t){u(this.#p,t)}#g=m(()=>this.connection==="open"&&this.session?.state==="ours"&&this.session.canSend&&(!!this.session.picker||!!this.session.signIn||!!F(this.session)));get needsYou(){return h(this.#g)}set needsYou(t){u(this.#g,t)}#y=f(v([]));get outbox(){return h(this.#y)}set outbox(t){u(this.#y,t,!0)}#b=m(()=>P(this.outbox,this.chat.items));get pending(){return h(this.#b)}set pending(t){u(this.#b,t)}close=null;left=null;archived=!1;connect(t=typeof document>"u"?null:document){if(this.close)return()=>{};const s=o=>{o.addEventListener("session",a=>{this.session=JSON.parse(a.data),this.connection="open"}),o.addEventListener("reset",a=>{const l=JSON.parse(a.data);this.records.length&&l?.file!==this.source?.file&&(this.history=[...this.history,...this.records],this.left=this.source?.file??null),l&&this.left&&(l.file!==this.left&&l.session&&(this.history=[...this.history,{type:"wh-session",uuid:`wh-session:${l.session}`,timestamp:new Date().toISOString(),first:!1}]),this.left=null),this.source=l,this.records=[],this.resets++}),o.addEventListener("records",a=>{const l=JSON.parse(a.data);this.leaveHistory(l);const p=[...this.records,...l];if(p.length>y){const w=y-A;this.history=[...this.history,...p.slice(0,p.length-w)],this.records=p.slice(-w)}else this.records=p}),o.addEventListener("replace",a=>{const l=JSON.parse(a.data);this.leaveHistory(l),this.records=l.length>y?l.slice(-y):l}),o.addEventListener("synced",()=>this.synced=!0)};let i=null;const n=()=>{this.synced=!1,i=q("/api/firstmate/chat",s,o=>this.connection=o)},r=()=>{i?.(),i=null,this.connection="connecting"};let c;const d=()=>{clearTimeout(c),t&&(t.hidden?c=setTimeout(()=>t.hidden&&r(),J):i||n())};return n(),t?.addEventListener("visibilitychange",d),t?.hidden&&d(),this.close=()=>{clearTimeout(c),t?.removeEventListener("visibilitychange",d),i?.(),i=null},this.loadCommands(),()=>{this.close?.(),this.close=null,this.connection="connecting"}}get all(){return[...this.history,...this.records]}leaveHistory(t){const s=this.historyIds;if(!t.some(n=>n.uuid&&s.has(n.uuid)))return;const i=new Set(t.map(n=>n.uuid));this.history=this.history.filter(n=>!i.has(n.uuid))}trim(){const t=this.history.length-U;if(t<=0)return;if(!this.archived)return void this.probeArchive();const s=this.history.findIndex((i,n)=>n>=t&&(x(i)||i.type==="wh-session"));this.history=this.history.slice(s>=0?s:t),this.older==="none"&&(this.older="more")}async loadOlder(t=null){if(this.older==="loading"||this.older==="unavailable"||this.older==="none"&&!t)return!1;const s=this.cursors(),i=s.find(r=>r.timestamp)?.timestamp,n=new URLSearchParams([["limit",String(A)],...s.map(r=>["before",r.uuid]),...i?[["at",i]]:[],...t?[["until",t]]:[]]);this.older="loading";try{const r=await fetch(`/api/firstmate/chat/history?${n}`);if(!r.ok)throw new Error(String(r.status));const c=await r.json();if(!c.available)return this.older="unavailable",this.archived=!1,!1;if(this.archived=!0,this.cursors()[0]?.uuid!==s[0]?.uuid)return this.older="unknown",!1;const d=new Set(this.all.map(a=>a.uuid)),o=c.records.filter(a=>!d.has(a.uuid));return this.history=[...o,...this.history],this.older=c.more&&o.length?"more":"none",o.length>0}catch{return this.older="failed",!1}}probing=!1;async probeArchive(){if(!(this.probing||this.older==="unavailable")){this.probing=!0;try{const t=await fetch("/api/firstmate/chat/history?limit=1");if(!t.ok)return;(await t.json()).available?(this.archived=!0,this.trim()):this.older="unavailable"}catch{}finally{this.probing=!1}}}cursors(){const t=[];for(const s of this.history)t.length<L&&s.uuid&&!s.isSidechain&&t.push(s);for(const s of this.records)t.length<L&&s.uuid&&!s.isSidechain&&t.push(s);return t}has(t){return this.historyIds.has(t)||this.records.some(s=>s.uuid===t)}async search(t){try{const s=await fetch(`/api/firstmate/chat/search?${new URLSearchParams({q:t})}`);if(!s.ok)return null;const i=await s.json();return i.available?i.hits:null}catch{return null}}async send(t,s,i,n){return this.prune(),this.outbox.push({id:crypto.randomUUID(),text:t,via:s,state:"sending",error:null,after:E(this.chat.items)}),this.deliver(this.outbox[this.outbox.length-1],i,n)}retry(t,s,i){const n=this.outbox.find(r=>r.id===t);!n||n.state!=="failed"||(n.after=E(this.chat.items),this.deliver(n,s,i))}dismiss(t){this.outbox=this.outbox.filter(s=>s.id!==t)}async deliver(t,s,i){t.state="sending",t.error=null;const n=t.via==="inbox"?await K(t.text,s):await G("/api/firstmate/input",s,{text:t.text});return n.ok?t.state=i&&t.via==="session"?"queued":"delivered":(t.state="failed",t.error=n.error),n}prune(){const t=new Set(this.pending.map(s=>s.id));this.outbox=this.outbox.filter(s=>t.has(s.id))}async loadCommands(){try{const t=await fetch("/api/firstmate/commands");t.ok&&(this.commands=(await t.json()).commands)}catch{}}}const st=new Y;async function G(e,t,s){try{const i=await fetch(e,{method:"POST",headers:{"content-type":"application/json",[R]:t},body:JSON.stringify(s??{})});return i.ok?{ok:!0}:{ok:!1,error:(await i.json().catch(()=>null))?.message??`Wheelhouse answered ${i.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}async function K(e,t,s=null,i=`wh-${crypto.randomUUID()}`){try{const n=await fetch("/api/firstmate/messages",{method:"POST",headers:{"content-type":"application/json","idempotency-key":i,[R]:t},body:JSON.stringify({text:e,taskId:s})});return n.ok?{ok:!0,pending:n.status===202}:{ok:!1,error:(await n.json().catch(()=>null))?.message??`Wheelhouse answered ${n.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}export{z as A,G as a,tt as b,M as c,g as d,st as f,et as p,Z as r,K as s,F as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a as _}from"./WRwU91GU.js";import{L as q,l as x,n as C,a as v,s as A,h as R,c as h}from"./BUYzAikv.js";import{P as W,u as P}from"./Cl68Rk3P.js";const y=[{key:"queued",label:"Queued",hint:"Waiting its turn"},{key:"building",label:"Building",hint:"The crew is writing it"},{key:"testing",label:"Testing",hint:"Checks and review"},{key:"pr",label:"Pull request",hint:"In CI or with you"},{key:"landed",label:"Landed",hint:"In the last day"}],$={queued:"queued",building:"building",checks:"testing",pr:"pr",review:"pr",landed:"landed"};function N(e){if(e.status==="queued")return"queued";if(e.status==="landed")return"landed";const t=e.passage.steps;for(let n=Math.min(e.passage.current,t.length-1);n>=0;n--){const i=$[t[n].column]??$[t[n].key];if(i)return i}return"building"}const Q={you:"Waiting on you",stuck:"Stuck",firstmate:"With Firstmate",busy:"Busy",idle:"Idle",landed:"Landed"};function Y(e){return e.status==="landed"?"landed":C(e)?"you":v(e)||e.passage.steps[e.passage.current]?.failed||e.pipeline?.outcome==="failed"?"stuck":e.status==="with-firstmate"?"firstmate":e.busy?"busy":"idle"}const b={you:0,stuck:1,firstmate:2,busy:3,idle:4,landed:5},B=e=>{const t=e?Date.parse(e):NaN;return Number.isNaN(t)?null:t};function m(e,t=N(e)){return t==="landed"?x(e):t==="testing"?B(e.pipeline?.startedAt):null}function V(e,t,n){const i=new Map;for(const a of t){if(a.status==="closed")continue;const r=N(a),o=a.passage.steps[a.passage.current]?.key??null,s=e.get(a.id);if(!s||s.lane!==r){i.set(a.id,s?{lane:r,step:o,laneSince:n,stepSince:n}:{lane:r,step:o,laneSince:m(a,r),stepSince:null});continue}const u=s.laneSince??m(a,r);i.set(a.id,s.step!==o?{...s,step:o,laneSince:u,stepSince:n}:u!==s.laneSince?{...s,laneSince:u}:s)}return i}const p=3600*1e3,L=.35;function F(e,t){if(e===null)return L;const n=t-e;if(n<=p)return 1;const i=Math.min(1,(n-p)/(q-p));return 1-(1-L)*i}function z(e,t,n){const i=new Map(y.map(s=>[s.key,[]])),a={you:0,stuck:0,firstmate:0,busy:0,idle:0,landed:0};let r=0;for(const s of e){if(s.status==="closed")continue;const u=N(s),d=n?.get(s.id),c=d?d.laneSince:m(s,u),f=Y(s);if(s.status==="landed"&&(c===null||t-c>q)){r++;continue}a[f]++,i.get(u).push({id:s.id,task:s,lane:u,signal:f,since:c,stepSince:d?.stepSince??null,opacity:f==="landed"?F(c,t):1})}const o=(s,u)=>s.lane==="landed"?(u.since??0)-(s.since??0):b[s.signal]-b[u.signal]||(s.since??1/0)-(u.since??1/0)||s.id.localeCompare(u.id);return{lanes:y.map(s=>({...s,blips:i.get(s.key).sort(o)})),landedOlder:r,counts:a}}const K=e=>y.find(t=>t.key===e).label;function U(e,t){if(e===null)return"unknown";const n=Math.max(0,Math.round((t-e)/6e4));if(n<1)return"under a minute";if(n<60)return`${n} min`;const i=Math.round(n/60);return i<48?`${i} h`:`${Math.round(i/24)} days`}const S=e=>{const t=e?Date.parse(e):NaN;return Number.isNaN(t)?null:t},k=["needs-you","held-up","new","under-way","quiet"],j=14,X={"needs-you":"Needs you","held-up":"Held up",new:"New","under-way":"Under way",quiet:"Quiet"},E=e=>!!e.passage.steps[e.passage.current]?.failed;function Z(e,t,n){const i=A(t,"under-way"),a=R(i,n),r=l=>v(l)||E(l),o=a.underWay.filter(r),s=[...a.underWay.filter(l=>!r(l)),...a.waitingOnFirstmate,...a.waitingOnReviewers],u=A(t,"completed"),d=u.filter(l=>l.status==="landed"),c=d.filter(l=>{const T=h(l);return T!==null&&n-T<=W}),f=t.map(l=>P(l)).filter(l=>l!==null),w=t.map(l=>S(l.since)).filter(l=>l!==null),D=!u.length&&w.length>0&&Math.min(...w)>=n-j*864e5,O=a.needsYou.length?"needs-you":o.length||e.passage?.problems?"held-up":i.length?D?"new":"under-way":"quiet";return{project:e,state:O,yourMove:a.needsYou,heldUp:o,moving:s,queued:a.queued,landed:c,lastLanded:d[0]??null,landings:d.map(l=>h(l)).filter(l=>l!==null),underWay:o.length+s.length,openPullRequests:i.filter(l=>l.pr).length,lastActivity:f.length?Math.max(...f):null}}const g=e=>e.trim().replace(/[.\s]+$/,""),M=e=>e.passage.steps[e.passage.current]?.label??null;function I(e,t,n){const i=[t.activity?.source==="state"?null:S(t.activity?.at),S(t.since)].filter(a=>a!==null);return i.length?` ${e} for ${U(Math.max(...i),n)}.`:""}function ee(e,t){const n=e.yourMove[0];if(n)return(n.attention?.text?`${n.shortTitle}: ${g(n.attention.text)}.`:`${n.shortTitle} needs you.`)+I("Waiting",n,t);const i=e.heldUp[0];if(i)return(E(i)?`${i.shortTitle}: ${M(i)} failed.`:`${i.shortTitle}: ${g(i.statusLabel)}.`)+I("Held up",i,t);if(e.project.passage?.problems)return"Its passage file has problems.";const a=e.moving[0];if(a){if(a.activity?.text)return`${a.shortTitle}: ${g(a.activity.text)}.`;const s=M(a);return s?`${a.shortTitle} is at ${s}.`:`${a.shortTitle} is under way.`}if(e.queued.length)return`Nothing under way. ${e.queued.length} queued.`;const r=e.lastLanded,o=r?h(r):null;return r&&o!==null?`Nothing under way. ${r.shortTitle} landed ${_(new Date(o).toISOString(),t)}.`:"No work yet."}function te(e){return e.toSorted((t,n)=>k.indexOf(t.state)-k.indexOf(n.state)||(n.lastActivity??-1/0)-(t.lastActivity??-1/0)||t.project.name.localeCompare(n.project.name))}export{X as S,te as a,Z as b,Q as c,K as l,ee as p,z as r,U as s,V as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as G,h as g,i as a,s,r as b,t as f,a as l,b as J,j as _,c as v,x as oe,f as B,n as N,o as k}from"./Jk-ASPRO.js";import{s as w}from"./DTApYZoW.js";import{i as h}from"./BEVJas-l.js";import{s as K,a as i,e as se}from"./DNP6oCAK.js";import{p as ie}from"./DQWg__9S.js";import{p as de,a as le}from"./DWBTuuo9.js";import{S as ce,b as me,p as ve}from"./D99Sj8Yt.js";import{a as ue}from"./WRwU91GU.js";import{p as fe}from"./Ci4VDAEG.js";import{p as pe}from"./Cl68Rk3P.js";import{c as ge}from"./Cq7OFmxz.js";import{A as be}from"./BRYVBL-t.js";import{C as xe}from"./CT1Mi9Rm.js";import{S as he}from"./C8F_z3tF.js";import{T as _e}from"./BmXrroyA.js";import{H as we}from"./BrqXkLnL.js";import{C as U}from"./DD0oUy6v.js";import{E as je}from"./gEZHG5dd.js";var ye=v("<span><!> </span>");function F(O,e){G(e,!0);const E={"needs-you":we,"held-up":_e,new:he,"under-way":xe,quiet:be},P={"needs-you":"border-sea/40 bg-sea/10 text-sea","held-up":"border-danger/40 bg-danger/10 text-danger",new:"border-success/40 bg-success/10 text-success","under-way":"border-hair bg-muted/60 text-foreground",quiet:"border-hair text-muted-foreground"},z=_(()=>E[e.state]);var t=ye(),j=g(t);ge(j,()=>a(z),(R,W)=>{W(R,{class:"size-3.5","aria-hidden":"true"})});var S=s(j,1,!0);b(t),f(()=>{K(t,1,`inline-flex shrink-0 items-center gap-1.5 rounded-full border px-2.5 py-0.5 text-xs font-medium whitespace-nowrap ${P[e.state]??""}`),w(S,ce[e.state])}),l(O,t),J()}var ke=v('<a class="nav-tab -mb-px border-b-2" data-slot="project.tab"> </a>'),Se=v("<a>Passage</a>"),Ce=v('<a target="_blank" rel="noreferrer" class="nav-tab -mb-px inline-flex items-center gap-1 border-b-2">Repository<!></a>'),Ie=v('<a class="nav-tab -mb-px border-b-2">Work</a> <!> <!> <!>',1),Te=v('<span class="mr-3 mb-2"><!></span>'),Ae=v('<nav class="no-scrollbar flex shrink-0 items-end gap-x-1 overflow-x-auto border-b border-hair bg-panel px-4 pt-1.5 sm:px-6"><a href="/harbour" class="mr-1 mb-2 inline-flex items-center gap-1 text-sm whitespace-nowrap text-muted-foreground hover:text-foreground"><!>Harbour</a> <a class="mr-2 mb-2 font-display text-lg whitespace-nowrap hover:underline"> </a> <!> <!></nav>'),He=v('<span class="project-tile !h-9 !w-11 !rounded-md !text-sm" aria-hidden="true"> </span>'),ze=v('<p class="mt-1 max-w-3xl text-muted-foreground"> </p>'),Ee=v('<p class="mt-4 max-w-4xl font-display text-[1.35rem] leading-snug"> </p> <p class="mt-2 text-sm text-muted-foreground"> </p>',1),Oe=v('<header class="-mx-4 -mt-6 border-b border-hair bg-panel px-4 pt-5 sm:-mx-6 sm:px-6 lg:-mx-10 lg:px-10"><a href="/harbour" class="inline-flex items-center gap-1 font-display text-base text-muted-foreground italic hover:text-foreground"><!>Harbour</a> <div class="mt-3 flex flex-wrap items-center gap-x-4 gap-y-2"><!> <h1 class="min-w-0 text-[2.1rem] leading-tight [overflow-wrap:anywhere]"> </h1> <!></div> <!> <!> <nav class="mt-6 flex flex-wrap items-end gap-x-1"><!></nav></header>');function $e(O,e){G(e,!0);const E=x=>{var c=Ie(),m=B(c),C=s(m,2);se(C,17,()=>e.tabs,n=>n.key,(n,r)=>{var d=ke(),A=k(d,!0);f(M=>{i(d,"href",M),i(d,"aria-current",e.current===a(r).key?"page":void 0),w(A,a(r).title)},[()=>fe(e.id,a(r))]),l(n,d)});var u=s(C,2);{var I=n=>{var r=Se();f(()=>{i(r,"href",`${a(z)??""}/passage`),K(r,1,`nav-tab -mb-px border-b-2 ${a(Q)??""}`),i(r,"aria-current",e.current==="passage"?"page":void 0),i(r,"title",e.project?.passage?.problems?"Its passage file has problems":e.project?.passage?.needsConsent?"Its passage checks need enabling":void 0)}),l(n,r)};h(u,n=>{e.id!=="unassigned"&&n(I)})}var T=s(u,2);{var y=n=>{var r=Ce(),d=s(g(r));je(d,{class:"size-3.5","aria-hidden":"true"}),b(r),f(()=>i(r,"href",e.repo)),l(n,r)};h(T,n=>{e.repo&&n(y)})}f(()=>{i(m,"href",a(z)),i(m,"aria-current",e.current==="work"?"page":void 0)}),l(x,c)};let P=ie(e,"compact",3,!1);const z=_(()=>`/projects/${encodeURIComponent(e.id)}`),t=_(()=>e.project?me(e.project,e.tasks,e.now):null),j=_(()=>e.project?de([e.project],le.names).get(e.project.id):void 0),S=_(()=>a(j)?.label??e.project?.name??e.id),R=_(()=>e.project?pe(e.project):null),W=_(()=>a(t)?[`${a(t).underWay} under way`,a(t).yourMove.length?`${a(t).yourMove.length} waiting on you`:null,`${a(t).landed.length} landed this week`,a(t).lastActivity===null?"no activity yet":`last activity ${ue(new Date(a(t).lastActivity).toISOString(),e.now)}`,a(R)?.short??null].filter(Boolean):[]),Q=_(()=>e.project?.passage?.problems?"text-danger":e.project?.passage?.needsConsent?"text-sea":"");var D=oe(),V=B(D);{var X=x=>{var c=Ae(),m=g(c),C=g(m);U(C,{class:"size-4","aria-hidden":"true"}),N(),b(m);var u=s(m,2),I=k(u,!0),T=s(u,2);{var y=r=>{var d=Te(),A=g(d);F(A,{get state(){return a(t).state}}),b(d),l(r,d)};h(T,r=>{a(t)&&r(y)})}var n=s(T,2);E(n),b(c),f(()=>{i(c,"aria-label",`${a(S)??""} pages`),i(u,"href",a(z)),w(I,a(S))}),l(x,c)},Y=x=>{var c=Oe(),m=g(c),C=g(m);U(C,{class:"size-4","aria-hidden":"true"}),N(),b(m);var u=s(m,2),I=g(u);{var T=o=>{var p=He(),H=k(p,!0);f(()=>{i(p,"data-hue",a(j).hue),w(H,a(j).monogram)}),l(o,p)};h(I,o=>{a(j)&&o(T)})}var y=s(I,2),n=k(y,!0),r=s(y,2);{var d=o=>{F(o,{get state(){return a(t).state}})};h(r,o=>{a(t)&&o(d)})}b(u);var A=s(u,2);{var M=o=>{var p=ze(),H=k(p,!0);f(()=>w(H,e.project.description)),l(o,p)};h(A,o=>{e.project?.description&&o(M)})}var L=s(A,2);{var Z=o=>{var p=Ee(),H=B(p),ee=k(H,!0),ae=s(H,2),re=k(ae,!0);f((te,ne)=>{w(ee,te),w(re,ne)},[()=>ve(a(t),e.now),()=>a(W).join(" · ")]),l(o,p)};h(L,o=>{a(t)&&o(Z)})}var q=s(L,2),$=g(q);E($),b(q),b(c),f(()=>{i(y,"title",e.project?.name),w(n,a(S)),i(q,"aria-label",`${a(S)??""} pages`)}),l(x,c)};h(V,x=>{P()?x(X):x(Y,-1)})}l(O,D),J()}export{$e as P};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as L,f as M,h as k,n as N,r as w,s as c,i as e,a as b,b as P,d as E,k as x,c as y,j as C,o as _,t as z}from"./Jk-ASPRO.js";import{d as O,a as T,s as h}from"./DTApYZoW.js";import{i as I}from"./BEVJas-l.js";import{P as j}from"./CEgeDr98.js";import{M as q}from"./V9uGi6jc.js";import{s as B,a as D}from"./DNP6oCAK.js";import{e as F,C as R}from"./Ds4LY5_S.js";import{C as S}from"./teNj0U11.js";var W=y('<div class="relative z-10 mt-3" data-card-preview=""><button type="button" class="inline-flex items-center gap-1.5 rounded-md text-xs font-medium text-sea hover:underline" aria-haspopup="dialog"><!>Open live preview</button></div> <!>',1);function $(m,t){L(t,!0);let a=E(null),r=E(!1);function u(s){const n=s.currentTarget,i=n.closest("article"),g=i?.querySelector("[data-card-picture]");x(a,(g??i??n).getBoundingClientRect(),!0),x(r,!0)}var l=W(),d=M(l),o=k(d),f=k(o);q(f,{class:"size-3.5","aria-hidden":"true"}),N(),w(o),w(d);var v=c(d,2);{var p=s=>{{let n=C(()=>t.task.preview?.url??""),i=C(()=>t.task.status!=="landed");j(s,{get taskId(){return t.task.id},get title(){return t.task.shortTitle},get url(){return e(n)},get talk(){return e(i)},get from(){return e(a)},onclose:()=>x(r,!1)})}};I(v,s=>{e(r)&&t.task.preview&&s(p)})}T("click",o,u),b(m,l),P()}O(["click"]);var A=y('<span class="shrink-0 text-muted-foreground"> </span>'),G=y('<p><!> <span class="truncate font-medium"> </span> <!> <span class="sr-only"> </span></p>');function tt(m,t){L(t,!0);const a=C(()=>F(t.eta));var r=G(),u=k(r);S(u,{class:"size-3.5 shrink-0","aria-hidden":"true"});var l=c(u,2),d=_(l,!0),o=c(l,2);{var f=s=>{var n=A(),i=_(n);z(g=>h(i,`· ${g??""}`),[()=>R[t.eta.confidence].toLowerCase()]),b(s,n)};I(o,s=>{e(a).tone==="normal"&&t.eta.confidence!=="none"&&s(f)})}var v=c(o,2),p=_(v,!0);w(r),z(()=>{B(r,1,`flex min-w-0 items-center gap-1.5 text-xs ${e(a).tone==="warning"?"text-warning":e(a).tone==="muted"?"text-muted-foreground":"text-foreground"}`),D(r,"title",e(a).note),h(d,e(a).text),h(p,e(a).note)}),b(m,r),P()}export{$ as C,tt as E};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{e as r,b as l}from"./nqsqhzVw.js";const f=7;function h(e,t,o){const s=e.filter(n=>!r(n)&&l(n,o)),d=o-f*864e5,a=t.filter(n=>Date.parse(n.decidedAt)>=d).sort((n,i)=>Date.parse(i.decidedAt)-Date.parse(n.decidedAt));return{open:s,made:a,count:s.length+a.length}}const c=e=>e.length>90?e.slice(0,87).trimEnd()+"…":e;function k(e){const t=e.calls[0],o=`I'd decide differently on "${c(t?.question??e.taskTitle)}" (your call: ${t?.verdict??e.verdict}). `;return`/?chat=${encodeURIComponent(e.taskId)}&draft=${encodeURIComponent(o)}`}const p=e=>`/?decision=${encodeURIComponent(e)}`;function u(e){const t=e.secondMate?.taskId?`${e.secondMate.taskId}@${e.secondMate.id}`:e.taskId,s=`About decision ${e.kind==="hold"?e.key:`${e.taskId}, key ${e.key}`} (“${c(e.title)}”), not an answer yet: `;return`/?chat=${encodeURIComponent(t)}&draft=${encodeURIComponent(s)}`}export{k as a,u as c,p as d,h};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{a as ra}from"./CeV_7ApB.js";import{e as na,p as Bt,f as he,h as s,s as n,i as e,o as y,t as b,a as d,r as o,b as Nt,j as l,c,n as Me,aB as oa,k as Ee,d as et,x as sa,y as Tt}from"./Jk-ASPRO.js";import{d as Pt,s as f,a as ne}from"./DTApYZoW.js";import{i as x}from"./BEVJas-l.js";import{e as pe,a as m,s as P,c as ia,j as la}from"./DNP6oCAK.js";import{t as zt}from"./DE0e4nJ8.js";import{p as ye}from"./DQWg__9S.js";import{S as da}from"./CbKpBvf7.js";import{p as ua}from"./CWXMOoE5.js";import{a as kt}from"./WRwU91GU.js";import{b as ca}from"./BUYzAikv.js";import{W as va,S as ma,p as ht}from"./KLlJvBx3.js";import{t as fa,s as ga,d as pa}from"./Ds4LY5_S.js";import{D as ha,l as xa,s as Ut,d as _a,i as xt,c as ba,a as ka,O as Ze,A as $e,b as wa}from"./28SuhBcT.js";import{i as _t}from"./gocvF-xl.js";import{h as ya,e as Ca}from"./nqsqhzVw.js";import{a as ja,s as Sa}from"./Z0GxSwEl.js";import{T as Ia}from"./CNrVcIUd.js";import{S as Aa}from"./BpMceauw.js";import{M as Rt}from"./C4jBfsPB.js";import{s as Ta}from"./CEgeDr98.js";import{d as za}from"./Dg5Iatf7.js";import{g as Ra}from"./uFHn3SsP.js";import{E as Ea,C as Ma}from"./DQZynC5d.js";import{C as Oa}from"./_NxO7pzE.js";import{S as Et,G as La}from"./D66j7WEk.js";import{M as bt}from"./DlALRMA8.js";import{A as Ha}from"./BjTe15qL.js";import{G as qa}from"./MgFVe5-f.js";import{c as Da,g as Ba,D as Na}from"./CdXXnfvS.js";import{s as Mt}from"./BwF-OIK3.js";import{a as Ot,p as Pa}from"./DWBTuuo9.js";import{A as Lt}from"./BwauVYjH.js";import{X as Ua}from"./m8-RluHE.js";import{S as Ht}from"./voMZUjSQ.js";import{A as qt}from"./BRYVBL-t.js";import{C as Wa}from"./BfHvf1Rg.js";import{C as Ga}from"./c9k4nDgn.js";import{S as Fa}from"./DP0NWgBG.js";import{p as Ya}from"./XxOJwmzJ.js";const Ka=na({pending:null,draft:null,decision:null});var Qa=c('<span class="absolute inset-y-1.5 -left-1 w-[3px] rounded-full bg-gold" aria-hidden="true"></span>'),Va=c('<span class="mx-1" aria-hidden="true">·</span>'),Xa=c("<!><span> </span>",1),Ja=c('<button type="button" title="Chat about this"><!></button>'),Za=c('<a aria-label="Chat about this question" title="Chat about this"><!></a>'),$a=c('<span class="text-muted-foreground"> </span>'),er=c('<span class="ml-auto text-muted-foreground"> </span>'),tr=c('<p class="leading-snug text-muted-foreground"> </p>'),ar=c('<p class="leading-snug text-muted-foreground" data-now=""> </p>'),rr=c('<div class="pt-1"><!></div>'),nr=c('<a target="_blank" rel="noreferrer" class="flex items-start gap-1 break-all text-sea hover:underline"><!> </a>'),or=c('<div class="-mt-2"><!></div>'),sr=c('<div class="flex flex-col gap-2 text-xs"><div class="flex flex-wrap items-center gap-1.5"><span><!> </span> <!> <!> <!></div> <!> <!> <!> <!> <!> <!> <div class="-ml-1.5 flex flex-wrap gap-0.5"><a><!>Open</a> <button type="button"><!>Chat about this</button></div></div>'),ir=c('<div class="mt-0.5 mb-2 ml-[0.85rem] border-l-2 border-hair pr-1 pl-3" data-deck-detail=""><!></div>'),lr=c('<div><!> <button type="button" data-deck-line="" class="flex h-full min-w-0 flex-1 cursor-pointer items-center gap-2 rounded-md py-2 pr-1 pl-1 text-left focus-visible:outline-2 focus-visible:outline-ring"><!> <span class="min-w-0 flex-1"><span> </span> <span class="block truncate text-xs text-muted-foreground"></span></span></button> <!></div> <!>',1);function dr(Ce,r){Bt(r,!0);let ee=ye(r,"dim",3,!1),F=ye(r,"selected",3,!1);const U={danger:"bg-danger/10 text-danger",warning:"bg-warning/10 text-warning",sea:"bg-sea/10 text-sea",muted:"bg-muted text-muted-foreground",busy:"bg-muted text-foreground",success:"bg-success/10 text-success",quiet:"bg-muted text-muted-foreground"},te=l(()=>r.line.kind==="task"?xa(r.line.task):ha),v=l(()=>r.line.kind==="task"?r.line.task:null),Q=l(()=>`deck-${r.line.key.replace(/[^\w-]/g,"-")}`),V=l(()=>e(v)&&r.line.text!==e(v).shortTitle?e(v).shortTitle:e(v)?.attention?.owner==="captain"&&e(v).attention.text&&e(v).attention.text!==r.line.text?e(v).attention.text:null),Y=l(()=>e(v)?e(v).activity?.text||e(v).summary||e(v).statusLabel:null),de=l(()=>[r.project?{key:"project",text:r.project.tag,title:r.project.name}:null,e(V)??(e(Y)&&e(Y)!==r.line.text?e(Y):null)?{key:"doing",text:e(V)??e(Y),title:void 0}:null,r.line.at?{key:"age",text:Ut(r.line.at,r.now),title:kt(r.line.at,r.now)}:null].filter(R=>R!==null)),ue=l(()=>e(v)?e(v).attention?.url??e(v).pr?.url??null:null),xe=l(()=>e(v)?`/tasks/${encodeURIComponent(e(v).id)}`:null),H=l(()=>!!(e(v)&&r.onOpen)||r.line.kind==="decision"),ce="flex items-center gap-1 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring";var Oe=lr(),je=he(Oe),z=s(je);{var Be=R=>{var k=Qa();d(R,k)};x(z,R=>{F()&&R(Be)})}var oe=n(z,2),se=s(oe);Et(se,{get state(){return e(te)},class:"size-5 shrink-0"});var Se=n(se,2),_e=s(Se),K=y(_e,!0),Ie=n(_e,2);pe(Ie,23,()=>e(de),R=>R.key,(R,k,X)=>{var A=Xa(),ie=he(A);{var ve=ae=>{var Le=Va();d(ae,Le)};x(ie,ae=>{e(X)&&ae(ve)})}var le=n(ie),J=y(le,!0);b(()=>{m(le,"title",e(k).title),m(le,"data-project-tag",e(k).key==="project"||void 0),f(J,e(k).text)}),d(R,A)}),o(Ie),o(Se),o(oe);var tt=n(oe,2);{var Ne=R=>{var k=Ja(),X=s(k);bt(X,{class:"size-3.5"}),o(k),b(()=>{P(k,1,`flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-muted hover:text-foreground focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:size-11 pointer-coarse:opacity-100 ${r.open?"opacity-100":""}`),m(k,"aria-label",`Chat about ${e(v).shortTitle??""}`)}),ne("click",k,()=>r.onChat(e(v))),d(R,k)},be=R=>{var k=Za(),X=s(k);bt(X,{class:"size-3.5"}),o(k),b(A=>{m(k,"href",A),P(k,1,`flex size-7 shrink-0 items-center justify-center rounded-md text-muted-foreground opacity-0 group-hover:opacity-100 hover:bg-muted hover:text-foreground focus-visible:opacity-100 focus-visible:outline-2 focus-visible:outline-ring pointer-coarse:size-11 pointer-coarse:opacity-100 ${r.open?"opacity-100":""}`)},[()=>za(r.line.card.id)]),d(R,k)};x(tt,R=>{e(v)?R(Ne):r.line.kind==="decision"&&R(be,1)})}o(je);var at=n(je,2);{var rt=R=>{var k=ir(),X=s(k);{var A=ie=>{var ve=sr(),le=s(ve),J=s(le),ae=s(J);Et(ae,{get state(){return e(te)},still:!0,decorative:!0,class:"size-3.5"});var Le=n(ae,1,!0);o(J);var Ae=n(J,2);va(Ae,{get task(){return e(v)}});var Pe=n(Ae,2);{var nt=g=>{var C=$a(),D=y(C,!0);b(()=>f(D,r.project.name)),d(g,C)};x(Pe,g=>{r.project&&g(nt)})}var Ue=n(Pe,2);{var We=g=>{var C=er(),D=y(C,!0);b(Re=>f(D,Re),[()=>kt(r.line.at,r.now)]),d(g,C)};x(Ue,g=>{r.line.at&&g(We)})}o(le);var Ge=n(le,2);{var Fe=g=>{var C=tr(),D=y(C,!0);b(()=>f(D,e(V))),d(g,C)};x(Ge,g=>{e(V)&&g(Fe)})}var Ye=n(Ge,2);{var ot=g=>{Oa(g,{get pipeline(){return e(v).pipeline},get busy(){return e(v).busy},size:"rail"})},st=l(()=>Ta(e(v))),it=g=>{var C=ar(),D=y(C,!0);b(()=>f(D,e(Y))),d(g,C)};x(Ye,g=>{e(st)?g(ot):e(Y)&&e(Y)!==r.line.text&&g(it,1)})}var re=n(Ye,2);{var lt=g=>{var C=rr(),D=s(C);ma(D,{get task(){return e(v)}}),o(C),d(g,C)};x(re,g=>{e(v).passage.steps.length>1&&g(lt)})}var Z=n(re,2);{var Ke=g=>{Ea(g,{get eta(){return e(v).eta}})};x(Z,g=>{e(v).eta&&g(Ke)})}var He=n(Z,2);{var qe=g=>{var C=nr(),D=s(C);qa(D,{class:"mt-0.5 size-3.5 shrink-0","aria-hidden":"true"});var Re=n(D,1,!0);o(C),b(()=>{m(C,"href",e(ue)),f(Re,e(ue))}),d(g,C)};x(He,g=>{e(ue)&&g(qe)})}var De=n(He,2);{var dt=g=>{var C=or(),D=s(C);Ma(D,{get task(){return e(v)}}),o(C),d(g,C)};x(De,g=>{e(v).preview&&g(dt)})}var Te=n(De,2),me=s(Te);P(me,1,ia(ce));var ut=s(me);Ha(ut,{class:"size-3.5","aria-hidden":"true"}),Me(),o(me);var ze=n(me,2);P(ze,1,"flex items-center gap-1 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring cursor-pointer");var ct=s(ze);bt(ct,{class:"size-3.5","aria-hidden":"true"}),Me(),o(ze),o(Te),o(ve),b(()=>{P(J,1,`flex items-center gap-1 rounded px-1.5 leading-[1.15rem] font-medium ${U[e(te).tone]??""}`),f(Le,e(te).label),m(me,"href",e(xe))}),ne("click",ze,()=>r.onChat(e(v))),d(ie,ve)};x(X,ie=>{e(v)&&ie(A)})}o(k),b(()=>m(k,"id",e(Q))),d(R,k)};x(at,R=>{r.open&&!e(H)&&R(rt)})}b(()=>{P(je,1,`group relative flex items-center border-b border-hair transition-colors ${r.open||F()?"bg-muted/70":"hover:bg-muted/50"}`),m(oe,"aria-expanded",e(H)?void 0:r.open),m(oe,"aria-controls",e(H)?void 0:e(Q)),m(oe,"aria-haspopup",e(H)?"dialog":void 0),m(Se,"title",e(V)?`${r.line.text} (${e(V)})`:r.line.text),P(_e,1,`block truncate text-[0.95rem] font-medium ${ee()?"text-muted-foreground":"text-foreground"}`),f(K,r.line.text)}),ne("click",oe,()=>r.line.kind==="decision"?void Ra(ya(r.line.card.id)):e(H)&&e(v)?r.onOpen?.(e(v)):r.onToggle()),d(Ce,Oe),Nt()}Pt(["click"]);var ur=oa('<circle cx="26" cy="26" class="gauge-value" transform="rotate(-90 26 26)"></circle>'),cr=c('<span class="gauge" aria-hidden="true"><svg viewBox="0 0 52 52"><circle cx="26" cy="26" class="gauge-track"></circle><!></svg> <span class="gauge-label"> </span></span>');function Dt(Ce,r){let ee=ye(r,"tone",3,"gold");const F=22,U=2*Math.PI*F,te=l(()=>r.value===null?0:Math.max(0,Math.min(100,Math.round(r.value))));var v=cr(),Q=s(v),V=s(Q);m(V,"r",F);var Y=n(V);{var de=H=>{var ce=ur();m(ce,"r",F),b(()=>m(ce,"stroke-dasharray",`${e(te)/100*U} 138.23007675795088`)),d(H,ce)};x(Y,H=>{r.value!==null&&e(te)>0&&H(de)})}o(Q);var ue=n(Q,2),xe=y(ue,!0);o(v),b(()=>{m(v,"data-tone",ee()),f(xe,r.value===null?"–":`${e(te)}%`)}),d(Ce,v)}var vr=c('<span class="min-w-0 truncate text-muted-foreground"> </span>'),mr=c('<!> <span class="shrink-0 font-medium text-brass"> </span> <!>',1),fr=c('<!> <span class="shrink-0 font-medium text-foreground"> </span>',1),gr=c('<p class="mb-1 flex items-center gap-2 px-1.5 text-xs text-muted-foreground"><!> <span class="min-w-0 truncate"> </span> <a class="ml-auto shrink-0 hover:text-foreground hover:underline">More</a></p>'),pr=c('<h3 class="mt-3 mb-0.5 first:mt-0"><button type="button"><!> <span class="shrink-0 text-muted-foreground tabular-nums"> </span> <span class="min-w-2 flex-1 border-t border-hair" aria-hidden="true"></span> <!></button></h3> <!>',1),hr=c("<span> <b> </b> left</span>"),xr=c('<a href="/headroom" class="ml-auto flex min-w-0 flex-col items-end rounded-md px-1.5 py-1 text-xs leading-tight text-muted-foreground hover:bg-muted hover:text-foreground max-md:min-h-11 max-md:justify-center" data-headroom=""><span class="sr-only">Claude headroom:</span> <!></a>'),_r=c('<a href="/headroom" class="ml-auto flex items-center gap-1.5 rounded-md px-1.5 py-1 text-xs text-muted-foreground hover:bg-muted hover:text-foreground" title="Connect your Claude usage to see what is left"><!>Connect usage</a>'),br=c('<button aria-label="Close"><!></button>'),kr=c('<button type="button" role="radio"><!> <span> </span> <span class="sr-only"> </span> <span aria-hidden="true"> </span></button>'),wr=c('<div class="shrink-0 px-4 pt-4"><div class="flex flex-wrap gap-2 text-[0.9rem]" role="radiogroup" aria-label="Whose work" tabindex="-1"></div></div>'),yr=c("<span> </span>"),Cr=c('<button role="tab" aria-controls="rail-panel"> <!></button>'),jr=c('<div class="px-1.5" data-slot="home.card"><!></div>'),Sr=c('<button type="button" class="float-right -mt-1 ml-2 flex cursor-pointer items-center gap-0.5 rounded-md px-1.5 py-1 text-xs whitespace-nowrap text-muted-foreground hover:bg-muted hover:text-foreground focus-visible:outline-2 focus-visible:outline-ring max-md:float-none max-md:mt-0 max-md:ml-auto max-md:min-h-11 max-md:text-sm"><!> </button>'),Ir=c('<div class="mb-2" data-needs-decisions=""><!></div>'),Ar=c("<li><!></li>"),Tr=c("<ul></ul>"),zr=c('<p class="px-1.5 py-1 text-xs text-muted-foreground"> </p>'),Rr=c("<section><!> <!></section>"),Er=c('<p class="flex items-center gap-2 px-1.5 py-1 text-sm text-muted-foreground"><!> </p>'),Mr=c('<li><a class="flex h-8 items-center gap-2 rounded-md px-1.5 hover:bg-muted/50 focus-visible:outline-2 focus-visible:outline-ring"><span class="min-w-0 flex-1 truncate text-[0.875rem] text-muted-foreground"> </span> <span class="shrink-0 text-xs font-medium"> </span> <span class="w-7 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span></a></li>'),Or=c('<div class="mt-4 mb-0.5 flex items-center gap-2 px-1.5 text-xs"><h3 class="flex items-center gap-1.5 font-medium text-muted-foreground"><!>Decided for you</h3> <span class="flex-1 border-t border-hair" aria-hidden="true"></span> <a href="/decisions" class="text-muted-foreground hover:text-foreground">See all</a></div> <ul></ul>',1),Lr=c('<a href="/time" class="mt-4 block rounded-md px-1.5 py-1 hover:bg-muted/50"><span class="block text-xs text-muted-foreground"><span class="font-medium text-foreground"> </span> </span> <span class="mt-1.5 block"><!></span> <span class="mt-1.5 block text-xs text-muted-foreground"> </span></a>'),Hr=c("<!> <div><!> <!></div> <!> <!>",1),qr=c('<a href="/second-mates" class="flex items-center justify-between gap-3 border-t px-1 py-3.5 text-muted-foreground hover:text-foreground">Every second mate, with its queue, pull requests and a look at it <!></a>'),Dr=c('<li class="mt-3 max-md:mt-1"><a class="group block text-sm max-md:py-1.5"><span class="flex items-baseline justify-between gap-2" aria-hidden="true"><span class="truncate font-medium group-hover:underline"> </span> <span class="shrink-0 text-xs text-muted-foreground"> </span></span> <span class="glance-bar" aria-hidden="true"><span></span></span></a></li>'),Br=c('<section class="mt-4 rounded-2xl border bg-card/70 px-4 pt-4 pb-4.5" aria-labelledby="rail-glance" data-glance=""><h3 id="rail-glance" class="font-semibold">Harbour at a glance</h3> <p class="text-sm text-muted-foreground">The fleet, without leaving the bridge.</p> <ul></ul></section>'),Nr=c('<aside class="flex h-full min-h-0 flex-col" aria-label="Tasks and decisions" aria-describedby="rail-headline"><p id="rail-headline" class="sr-only"> </p> <div class="flex h-16 shrink-0 items-center gap-2 border-b px-5 text-sm"><span class="font-title text-[2.15rem] leading-none">On <em class="text-gold">deck</em></span> <!> <!></div> <div class="grid shrink-0 grid-cols-2 gap-2.5 px-4 pt-4" data-gauges=""><a href="/headroom" class="gauge-card"><!> <span class="min-w-0"><span class="block font-semibold"> </span> <span class="block text-xs leading-snug text-muted-foreground"> </span></span></a> <a class="gauge-card"><!> <span class="min-w-0"><span class="block font-semibold">Checks</span> <span class="block text-xs leading-snug text-muted-foreground"> </span></span></a></div> <!> <div class="mt-3 no-scrollbar flex shrink-0 gap-5 overflow-x-auto border-b px-4" role="tablist" aria-label="On deck" tabindex="-1"></div> <div id="rail-panel" role="tabpanel" class="no-scrollbar min-h-0 flex-1 overflow-y-auto px-4 py-3"><!> <nav class="mt-5 flex flex-col" aria-label="More on deck"><a class="flex items-center justify-between gap-3 border-t px-1 py-3.5 font-medium hover:text-gold"> <!></a> <!></nav> <!></div></aside>');function Rn(Ce,r){Bt(r,!0);const ee=(t,a=Tt,i=Tt)=>{var h=pr(),u=he(h),E=s(u),M=s(E);{var T=p=>{var I=mr(),j=he(I);Ht(j,{class:"size-3.5 shrink-0 text-brass","aria-hidden":"true"});var O=n(j,2),B=y(O,!0),L=n(O,2);{var q=G=>{var N=vr(),$=y(N,!0);b(we=>f($,we),[()=>a().mate.where==="remote"?ht(a().mate.host):"on this computer"]),d(G,N)};x(L,G=>{a().mate&&G(q)})}b(()=>f(B,a().label)),d(p,I)},W=p=>{var I=fr(),j=he(I);qt(j,{class:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var O=n(j,2),B=y(O,!0);b(()=>f(B,a().label)),d(p,I)};x(M,p=>{a().id!==Ze?p(T):p(W,-1)})}var fe=n(M,2),ke=y(fe,!0),ge=n(fe,4);{var w=p=>{Rt(p,{get health(){return a().mate.health}})};x(ge,p=>{a().mate&&(a().mate.health.online!=="online"||a().mate.health.cached)&&p(w)})}o(E),o(u);var _=n(u,2);{var S=p=>{var I=gr(),j=s(I);Rt(j,{get health(){return a().mate.health}});var O=n(j,2),B=y(O),L=n(O,2);o(I),b(q=>{m(I,"data-second-mate",a().mate.id),m(O,"title",a().mate.lastReport?.text),f(B,`${a().mate.stateLabel??""}${a().mate.queued.length?` · ${a().mate.queued.length} queued`:""}${a().mate.lastReport?` · “${a().mate.lastReport.text}”`:""}`),m(L,"href",`/second-mates#mate-${q??""}`)},[()=>encodeURIComponent(a().mate.id)]),d(p,I)};x(_,p=>{a().mate&&e(K)===a().id&&p(S)})}b(p=>{m(u,"data-crew",a().id),P(E,1,`flex h-6 w-full items-center gap-1.5 rounded-md px-1.5 text-left text-xs focus-visible:outline-2 focus-visible:outline-ring ${e(K)===a().id?"cursor-default":"cursor-pointer hover:bg-muted/50"}`),m(E,"aria-label",`${a().label??""}${p??""}: ${i()??""}${e(K)===a().id?"":". Show only this crew"}`),f(ke,i())},[()=>a().mate?`, ${a().mate.where==="remote"?ht(a().mate.host):"on this computer"}`:""]),ne("click",E,()=>Ie(a().id)),d(t,h)};let F=ye(r,"insights",3,null),U=ye(r,"scope",3,null),te=ye(r,"cards",19,()=>[]),v=ye(r,"secondMates",19,()=>[]);const Q=t=>!U()||t===U(),V=l(()=>(F()?.decisions??[]).filter(t=>Q(t.projectId))),Y=l(()=>ga((F()?.today??[]).filter(t=>Q(t.projectId)))),de=l(()=>fa(e(Y))),ue=l(()=>(F()?.today??[]).filter(t=>Q(t.projectId)).length),xe=t=>e(de)?Math.round(e(Y)[t]/e(de)*100):0,H=l(()=>F()?.allowance??null),ce=l(()=>ua.data.inbox),Oe=l(()=>_t.view(e(ce))),je=l(()=>e(Oe)?.available?{shown:_t.shown(r.now,e(ce)).shown.filter(Ca),all:e(Oe).cards}:null),z=l(()=>_a(r.tasks,r.now,e(je),U())),Be=l(()=>[...e(z).needs,...e(z).withFirstmate,...e(z).under,...e(z).next,...e(z).landed]),oe=l(()=>U()?v().filter(t=>e(Be).some(a=>a.crew===t.id)):v()),se=l(()=>ba(e(oe),e(Be))),Se="wheelhouse-rail-crew";let _e=et(null);const K=l(()=>ka(e(_e),e(se)));function Ie(t){Ee(_e,t,!0);try{localStorage.setItem(Se,t)}catch{}}function tt(t){if(!["ArrowLeft","ArrowRight","Home","End"].includes(t.key))return;t.preventDefault();const a=[$e,...e(se).map(u=>u.id)],i=a.indexOf(e(K)),h=t.key==="Home"?0:t.key==="End"?a.length-1:(i+(t.key==="ArrowRight"?1:a.length-1))%a.length;Ie(a[h]),document.getElementById(Ne(a[h]))?.focus()}const Ne=t=>`rail-crew-${t.replace(/[^\w-]/g,"-")}`,be=t=>t.filter(a=>xt(e(K),a.crew)),at=t=>[...e(z).needs,...e(z).withFirstmate,...e(z).under].filter(a=>xt(t,a.crew)).length,rt=t=>e(z).needs.filter(a=>xt(t,a.crew)).length,R="wheelhouse-rail-tab",k=l(()=>[{id:"under",label:"Under way",count:be(e(z).under).length,strong:!1},{id:"needs",label:"Needs you",count:be(e(z).needs).length,strong:!0},{id:"landed",label:"Landed",count:be(e(z).landed).length,strong:!1},...te().map(t=>({id:t.key,label:t.title,count:t.badge??0,strong:!1}))]);let X=et("under");const A=l(()=>e(k).some(t=>t.id===e(X))?e(X):"under"),ie=l(()=>te().find(t=>t.key===e(A))??null);ra(()=>{Ot.load();try{Ee(X,localStorage.getItem(R)||"under",!0),Ee(_e,localStorage.getItem(Se),!0)}catch{}});function ve(t){Ee(X,t,!0);try{localStorage.setItem(R,t)}catch{}}function le(t){if(t.key!=="ArrowLeft"&&t.key!=="ArrowRight")return;t.preventDefault();const a=e(k).findIndex(h=>h.id===e(A)),i=e(k)[(a+(t.key==="ArrowRight"?1:e(k).length-1))%e(k).length];ve(i.id),document.getElementById(`rail-tab-${i.id}`)?.focus()}let J=et(!1);const ae=new da;function Le(t){ae.has(t)?ae.delete(t):ae.add(t)}const Ae=l(()=>be(e(z).needs).filter(t=>t.kind==="decision").length),Pe=l(()=>e(A)==="needs"?[...e(z).needs,...e(z).withFirstmate].filter(t=>t.kind!=="decision"):e(A)==="under"?[...e(z).under,...e(J)?e(z).next:[]]:e(A)==="landed"?e(z).landed:[]),nt=l(()=>wa(e(Pe),e(se),e(K))),Ue=l(()=>be(e(z).next).length),We=l(()=>e(K)===$e||e(K)===Ze);function Ge(t){if(!["ArrowDown","ArrowUp","Home","End"].includes(t.key))return;const i=[...t.currentTarget.querySelectorAll("[data-deck-line]")],h=i.indexOf(document.activeElement);if(h<0)return;t.preventDefault();const u=t.key==="Home"?0:t.key==="End"?i.length-1:Math.max(0,Math.min(i.length-1,h+(t.key==="ArrowDown"?1:-1)));i[u]?.focus()}const Fe=t=>!t||t==="unassigned"?null:r.projects.find(a=>a.id===t)?.name??t,Ye=l(()=>Pa(r.projects,Ot.names));function ot(t){const a=t.kind==="task"?t.task.projectId:t.card.projectId,i=Fe(a);return i?{name:i,tag:e(Ye).get(a)?.label??i}:null}const st=l(()=>Mt.taskId);function it(t){Ka.pending={kind:"task",id:t.id,title:t.shortTitle,project:Fe(t.projectId),url:null},r.onChat?.()}const re=l(()=>e(H)?.state==="ok"?e(H).windows.find(t=>/week/i.test(t.label))??e(H).windows[0]??null:null),lt=l(()=>r.tasks.filter(t=>Q(t.projectId))),Z=l(()=>Da(e(lt))),Ke=l(()=>Ba(r.projects.filter(t=>Q(t.id)&&t.id!=="unassigned"),r.tasks)),He={needs:"Nothing needs you right now.",under:"Nothing under way.",landed:"Nothing landed in the last day."};var qe=Nr(),De=s(qe),dt=y(De,!0),Te=n(De,2),me=n(s(Te),2);{var ut=t=>{var a=xr(),i=n(s(a),2);pe(i,17,()=>e(H).windows.slice(0,2),h=>h.id,(h,u)=>{var E=hr(),M=s(E),T=n(M),W=y(T);Me(),o(E),b(()=>{P(E,1,`whitespace-nowrap tabular-nums ${e(u).atRisk?"font-medium text-warning":e(u).id===e(re)?.id?"text-gold":""}`),f(M,`${e(u).label??""} `),P(T,1,`font-semibold ${e(u).id===e(re)?.id?"":"text-foreground"}`),f(W,`${e(u).percentLeft??""}%`)}),d(h,E)}),o(a),b(h=>m(a,"title",`Claude headroom: ${h??""}${F()?.atRisk?`. ${F().atRisk.label} may run out before it resets.`:""}`),[()=>e(H).windows.slice(0,2).map(h=>`${h.label} ${h.percentLeft}% left`).join(", ")]),d(t,a)},ze=t=>{var a=_r(),i=s(a);La(i,{class:"size-3.5","aria-hidden":"true"}),Me(),o(a),d(t,a)};x(me,t=>{e(H)?.state==="ok"&&e(H).windows.length?t(ut):e(H)?.state==="connect"&&t(ze,1)})}var ct=n(me,2);{var g=t=>{var a=br(),i=s(a);Ua(i,{class:"size-4"}),o(a),b(()=>P(a,1,`-mr-2 flex size-9 shrink-0 cursor-pointer items-center justify-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground ${e(H)?.state==="ok"||e(H)?.state==="connect"?"":"ml-auto"}`)),ne("click",a,function(...h){r.onClose?.apply(this,h)}),d(t,a)};x(ct,t=>{r.onClose&&t(g)})}o(Te);var C=n(Te,2),D=s(C),Re=s(D);{let t=l(()=>e(re)?.percentLeft??null);Dt(Re,{get value(){return e(t)},tone:"gold"})}var wt=n(Re,2),yt=s(wt),Wt=y(yt,!0),Gt=n(yt,2),Ft=y(Gt,!0);o(wt),o(D);var Qe=n(D,2),Ct=s(Qe);Dt(Ct,{get value(){return e(Z).percent},tone:"teal"});var jt=n(Ct,2),Yt=n(s(jt),2),Kt=y(Yt,!0);o(jt),o(Qe),o(C);var St=n(C,2);{var Qt=t=>{var a=wr(),i=s(a);pe(i,21,()=>[{id:$e,label:"All",short:"All",mate:null},...e(se)],h=>h.id,(h,u)=>{const E=l(()=>at(e(u).id)),M=l(()=>rt(e(u).id));var T=kr(),W=s(T);{var fe=j=>{Ht(j,{class:"size-3 shrink-0 text-brass","aria-hidden":"true"})},ke=j=>{qt(j,{class:"size-3 shrink-0","aria-hidden":"true"})};x(W,j=>{e(u).id!==Ze&&e(u).id!==$e?j(fe):e(u).id===Ze&&j(ke,1)})}var ge=n(W,2),w=y(ge,!0),_=n(ge,2),S=y(_),p=n(_,2),I=y(p,!0);o(T),b((j,O)=>{m(T,"id",j),m(T,"aria-checked",e(K)===e(u).id),m(T,"tabindex",e(K)===e(u).id?0:-1),P(T,1,`flex shrink-0 cursor-pointer items-center gap-1.5 rounded-full border px-3.5 py-1.5 whitespace-nowrap transition-colors focus-visible:outline-2 focus-visible:outline-ring ${e(K)===e(u).id?"border-foreground bg-foreground font-medium text-background":"text-foreground/85 hover:border-foreground/40 hover:text-foreground"}`),m(T,"title",`${e(u).label??""}${O??""}: ${e(E)??""} in play${e(M)?`, ${e(M)} waiting on you`:""}`),f(w,e(u).short),f(S,`: ${e(E)??""} in play${e(M)?`, ${e(M)} waiting on you`:""}`),P(p,1,`shrink-0 font-mono text-[0.75rem] tabular-nums ${e(M)?"rounded-full bg-sea px-[5px] font-semibold text-on-accent":"opacity-70"}`),f(I,e(M)||e(E))},[()=>Ne(e(u).id),()=>e(u).mate?.host?` ${ht(e(u).mate.host)}`:""]),ne("click",T,()=>Ie(e(u).id)),d(h,T)}),o(i),o(a),ne("keydown",i,tt),d(t,a)};x(St,t=>{e(se).length>1&&t(Qt)})}var Ve=n(St,2);pe(Ve,21,()=>e(k),t=>t.id,(t,a)=>{var i=Cr(),h=s(i,!0),u=n(h);{var E=M=>{var T=yr(),W=y(T,!0);b(()=>{P(T,1,`tabular rounded-full px-1.5 text-xs leading-4 font-semibold ${e(a).strong?"bg-sea text-on-accent":"bg-muted text-muted-foreground"}`),f(W,e(a).count)}),d(M,T)};x(u,M=>{e(a).count&&M(E)})}o(i),b(()=>{m(i,"id",`rail-tab-${e(a).id??""}`),m(i,"aria-selected",e(A)===e(a).id),m(i,"tabindex",e(A)===e(a).id?0:-1),P(i,1,`-mb-px flex shrink-0 cursor-pointer items-center gap-1.5 border-b-[2.5px] px-0.5 py-2.5 text-base whitespace-nowrap transition-colors duration-200 focus-visible:outline-2 focus-visible:outline-ring ${e(A)===e(a).id?"border-gold font-semibold text-foreground":"border-transparent text-muted-foreground hover:text-foreground"}`),f(h,e(a).label)}),ne("click",i,()=>ve(e(a).id)),d(t,i)}),o(Ve);var vt=n(Ve,2),It=s(vt);{var Vt=t=>{var a=jr(),i=s(a);Aa(i,{get entry(){return e(ie)},get now(){return r.now}}),o(a),d(t,a)},Xt=t=>{var a=Hr(),i=he(a);{var h=w=>{var _=Sr(),S=s(_);{let I=l(()=>e(J)?"rotate-90":"");Wa(S,{get class(){return`size-3.5 transition-transform ${e(I)??""}`},"aria-hidden":"true"})}var p=n(S);o(_),b(()=>{m(_,"aria-expanded",e(J)),f(p,`Up next · ${e(Ue)??""}`)}),ne("click",_,()=>Ee(J,!e(J))),d(w,_)};x(i,w=>{e(A)==="under"&&e(Ue)&&w(h)})}var u=n(i,2),E=s(u);{var M=w=>{var _=Ir(),S=s(_);{let p=l(()=>({projectId:U()}));Na(S,{get filter(){return e(p)},compact:!0})}o(_),d(w,_)};x(E,w=>{e(A)==="needs"&&e(Ae)&&w(M)})}var T=n(E,2);pe(T,17,()=>e(nt),w=>w.crew.id,(w,_)=>{var S=Rr(),p=s(S);{var I=L=>{ee(L,()=>e(_).crew,()=>e(_).lines.length)};x(p,L=>{e(se).length>1&&L(I)})}var j=n(p,2);{var O=L=>{var q=Tr();pe(q,21,()=>e(_).lines,G=>G.key,(G,N)=>{var $=Ar(),we=s($);{let Je=l(()=>ae.has(e(N).key)),ft=l(()=>ot(e(N))),gt=l(()=>e(N).kind==="task"&&(e(N).task.status==="queued"||e(N).task.status==="landed")),pt=l(()=>e(N).kind==="task"&&e(N).task.id===e(st));dr(we,{get line(){return e(N)},get now(){return r.now},get open(){return e(Je)},get project(){return e(ft)},get dim(){return e(gt)},get selected(){return e(pt)},onToggle:()=>Le(e(N).key),onOpen:aa=>Mt.openTask(aa.id),onChat:it})}o($),zt(1,$,()=>ja),zt(2,$,()=>Sa,()=>({word:e(N).kind==="decision"?_t.stampFor(e(N).card.id):null})),d(G,$)}),o(q),d(L,q)},B=L=>{var q=zr(),G=y(q,!0);b(()=>f(G,He[e(A)])),d(L,q)};x(j,L=>{e(_).lines.length?L(O):e(A)==="needs"&&e(Ae)||L(B,1)})}o(S),b(()=>{m(S,"aria-label",e(_).crew.label),m(S,"data-crew-group",e(_).crew.id)}),d(w,S)},w=>{var _=sa(),S=he(_);{var p=I=>{var j=Er(),O=s(j);{var B=q=>{Ga(q,{class:"size-4 text-success","aria-hidden":"true"})};x(O,q=>{e(A)==="needs"&&q(B)})}var L=n(O,1,!0);o(j),b(()=>f(L,He[e(A)])),d(I,j)};x(S,I=>{e(A)==="needs"&&e(Ae)||I(p)})}d(w,_)}),o(u);var W=n(u,2);{var fe=w=>{var _=Or(),S=he(_),p=s(S),I=s(p);Fa(I,{class:"size-3.5","aria-hidden":"true"}),Me(),o(p),Me(4),o(S);var j=n(S,2);pe(j,21,()=>e(V).slice(0,3),O=>O.id,(O,B)=>{var L=Mr(),q=s(L),G=s(q),N=y(G,!0),$=n(G,2),we=y($,!0),Je=n($,2),ft=y(Je,!0);o(q),o(L),b((gt,pt)=>{m(q,"href",`/decisions#${e(B).id??""}`),m(q,"title",e(B).question),f(N,e(B).taskTitle),f(we,e(B).verdict),m(Je,"title",gt),f(ft,pt)},[()=>kt(e(B).decidedAt,r.now),()=>Ut(e(B).decidedAt,r.now)]),d(O,L)}),o(j),d(w,_)};x(W,w=>{e(A)==="needs"&&e(V).length&&e(We)&&w(fe)})}var ke=n(W,2);{var ge=w=>{var _=Lr(),S=s(_),p=s(S),I=y(p,!0),j=n(p);o(S);var O=n(S,2),B=s(O);Ia(B,{get seconds(){return e(Y)},label:"Today"}),o(O);var L=n(O,2),q=y(L);o(_),b((G,N,$,we)=>{f(I,G),f(j,` of crew time today on ${e(ue)??""}
|
|
2
|
-
${e(ue)===1?"task":"tasks"}`),f(q,`${N??""}% building · ${$??""}% automated review · ${we??""}%
|
|
3
|
-
waiting on you`)},[()=>pa(e(de)),()=>xe("build"),()=>xe("review"),()=>xe("captain")]),d(w,_)};x(ke,w=>{e(A)==="landed"&&e(de)>0&&e(We)&&w(ge)})}ne("keydown",u,Ge),d(t,a)};x(It,t=>{e(ie)?t(Vt):t(Xt,-1)})}var mt=n(It,2),Xe=s(mt),At=s(Xe),Jt=n(At);Lt(Jt,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"}),o(Xe);var Zt=n(Xe,2);{var $t=t=>{var a=qr(),i=n(s(a));Lt(i,{class:"size-4 shrink-0 text-gold","aria-hidden":"true"}),o(a),d(t,a)};x(Zt,t=>{e(oe).length&&t($t)})}o(mt);var ea=n(mt,2);{var ta=t=>{var a=Br(),i=n(s(a),4);pe(i,21,()=>e(Ke),h=>h.id,(h,u)=>{var E=Dr(),M=s(E),T=s(M),W=s(T),fe=y(W,!0),ke=n(W,2),ge=y(ke,!0);o(T);var w=n(T,2),_=s(w);let S;o(w),o(M),o(E),b((p,I)=>{m(M,"href",`/projects/${p??""}`),m(M,"aria-label",`${e(u).name??""}: ${e(u).word??""}, ${e(u).landed??""}% of its work landed`),f(fe,e(u).name),f(ge,e(u).word),m(w,"data-tone",e(u).tone),S=la(_,"",S,{width:I})},[()=>encodeURIComponent(e(u).id),()=>`${Math.max(e(u).landed,3)}%`]),d(h,E)}),o(i),o(a),d(t,a)};x(ea,t=>{e(Ke).length&&t(ta)})}o(vt),o(qe),b((t,a,i)=>{f(dt,t),m(D,"aria-label",e(re)?`Claude headroom: ${e(re).label}, ${e(re).percentLeft}% left`:"Claude headroom: not read yet"),f(Wt,e(re)?.label??"Headroom"),f(Ft,e(re)?"Of Claude’s allowance left until it resets":e(H)?.state==="connect"?"Connect your Claude usage to see it":"Claude’s limits are not read yet"),m(Qe,"href",a),m(Qe,"aria-label",`Checks: ${e(Z).percent??""}% of the work in play has nothing failing${e(Z).failing?`, ${e(Z).failing} failing`:""}`),f(Kt,e(Z).failing?`${e(Z).failing} of ${e(Z).inPlay} in play failing`:e(Z).inPlay?`Nothing failing across ${e(Z).inPlay} in play`:"Nothing in play"),m(vt,"aria-labelledby",`rail-tab-${e(A)??""}`),m(Xe,"href",i),f(At,`${U()?"Open the project’s page":"Open every project in Harbour"} `)},[()=>ca(e(z).h),()=>U()?`/projects/${encodeURIComponent(U())}`:"/harbour",()=>U()?`/projects/${encodeURIComponent(U())}`:"/harbour"]),ne("keydown",Ve,le),d(Ce,qe),Nt()}Pt(["click","keydown"]);const Pr=6e4;class Ur{#e=et(null);get value(){return e(this.#e)}set value(r){Ee(this.#e,r,!0)}seed(r){r&&(this.value=r)}connect(r=document){return Ya({load:async()=>{const ee=await fetch("/api/insights");return ee.ok?await ee.json():null},intervalMs:Pr,immediate:!1,onresult:ee=>{ee&&(this.value=ee)},onerror:()=>{},doc:r})}}const En=new Ur;export{Rn as R,Ka as c,En as r};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as oe,q as E,i as e,v as re,k as o,h as w,r as k,t as S,a as i,b as ie,d as v,j as le,s as y,o as X,c as H,m as T,f as _e}from"./Jk-ASPRO.js";import{d as ce,e as ne,s as j,a as de}from"./DTApYZoW.js";import{i as q}from"./BEVJas-l.js";import{a as F,j as be,s as we}from"./DNP6oCAK.js";import{b as ee}from"./DLfKkHEy.js";import{p as te}from"./DQWg__9S.js";import{c as ue,m as ke}from"./WRwU91GU.js";import{a as fe,C as me,f as ye,c as Ce,b as Ee}from"./XxOJwmzJ.js";import{e as Te,l as $,c as ae}from"./BMMeDG3C.js";import{b as se,M as ze}from"./BbLERgY7.js";import{S as ve}from"./CuSw1clo.js";import{X as Le}from"./m8-RluHE.js";var Oe=H('<pre class="mt-auto whitespace-pre" aria-label="The worker’s terminal"> </pre>'),Ae=H('<p class="grid flex-1 place-items-center px-4 text-center font-sans text-sm text-terminal-foreground/60"><!></p>'),Se=H('<div class="flex h-full flex-col"><div class="flex shrink-0 items-center gap-2 border-b border-terminal-foreground/15 px-4 py-2.5 text-sm sm:px-6"><!> <span class="min-w-0 truncate font-medium"> </span> <span class="hidden text-terminal-foreground/60 sm:inline"> </span> <span class="ml-auto hidden text-xs text-terminal-foreground/60 sm:inline">Esc to close</span> <button type="button" class="-mr-2 flex size-8 items-center justify-center rounded-md text-terminal-foreground/80 hover:bg-terminal-foreground/10 hover:text-terminal-foreground sm:ml-2" aria-label="Close the full-screen console"><!></button></div> <div class="flex min-h-0 flex-1 flex-col overflow-auto font-mono"><!></div></div>'),je=H('<dialog class="m-0 h-dvh max-h-none w-dvw max-w-none overflow-hidden bg-terminal p-0 text-terminal-foreground backdrop:bg-black/70"><!></dialog>');function He(B,n){oe(n,!0);let u=te(n,"open",15,!1);const J=200,P=16;let f=v(null),c=v(null),t=v(null),z=v(!1),M=v(0),I=v(0),g=v(.6),L=!0;E(()=>{if(e(f))if(u()&&!e(f).open){L=!0;const l=e(f);Te(document.documentElement).then(()=>{!u()||!l.isConnected?$(document.documentElement):l.open||l.showModal()})}else!u()&&e(f).open&&e(f).close()}),E(()=>{if(!u())return;const l=document.documentElement;let s=!1;const p=()=>{document.fullscreenElement===l?s=!0:s&&(s=!1,u(!1))};return document.addEventListener("fullscreenchange",p),()=>{document.removeEventListener("fullscreenchange",p),$(l)}}),E(()=>{if(!u())return;re(()=>ae.open++);const l=fe(n.task.id,J,me.full,{onresult:s=>{o(t,s,!0),o(z,!1)},onerror:()=>o(z,!0)});return()=>{l(),re(()=>ae.open--)}}),E(()=>{if(!e(c))return;const l=getComputedStyle(e(c)).fontFamily,s=document.createElement("canvas").getContext("2d");if(!s)return;s.font=`100px ${l}`;const p=s.measureText("M".repeat(10)).width/1e3;p>0&&o(g,p)});const O=le(()=>e(t)?.available?e(t).lines:[]),A=le(()=>ye({width:e(M)-2*P,height:e(I)-2*P,cols:Ce(e(O)),charWidth:e(g)}));E(()=>{e(t),e(A),e(c)&&L&&(e(c).scrollTop=e(c).scrollHeight)});const D=()=>{e(c)&&(L=e(c).scrollHeight-e(c).scrollTop-e(c).clientHeight<24)};var _=je(),K=w(_);{var Q=l=>{var s=Se(),p=w(s),a=w(p);ve(a,{class:"size-4 text-terminal-foreground/70","aria-hidden":"true"});var h=y(a,2),N=X(h,!0),W=y(h,2),U=X(W),R=y(W,4),V=w(R);Le(V,{class:"size-4"}),k(R),k(p);var r=y(p,2),x=w(r);{var pe=d=>{var b=Oe();let G;var Y=X(b,!0);S(Z=>{F(b,"data-cols",e(A).cols),F(b,"data-rows",e(A).rows),G=be(b,"",G,{padding:"16px","font-size":`${e(A).fontSize??""}px`,"line-height":Ee}),j(Y,Z)},[()=>e(O).join(`
|
|
2
|
-
`)]),i(d,b)},he=d=>{var b=Ae(),G=w(b);{var Y=m=>{var C=T("Could not reach the Wheelhouse server.");i(m,C)},Z=m=>{var C=T("Reading the worker’s terminal…");i(m,C)},xe=m=>{var C=T();S(()=>j(C,e(t).reason)),i(m,C)},ge=m=>{var C=T("The terminal is empty.");i(m,C)};q(G,m=>{e(z)?m(Y):e(t)?e(t).available?m(ge,-1):m(xe,2):m(Z,1)})}k(b),i(d,b)};q(x,d=>{e(O).length?d(pe):d(he,-1)})}k(r),ee(r,d=>o(c,d),()=>e(c)),k(s),S(d=>{j(N,n.task.shortTitle),j(U,`· live console, read-only${d??""}`)},[()=>e(t)?.capturedAt?` · ${ue(e(t).capturedAt)}`:""]),de("click",R,()=>u(!1)),ne("scroll",r,D),se(r,"clientWidth",d=>o(M,d)),se(r,"clientHeight",d=>o(I,d)),i(l,s)};q(K,l=>{u()&&l(Q)})}k(_),ee(_,l=>o(f,l),()=>e(f)),S(()=>{F(_,"aria-label",`${n.task.shortTitle??""}: live console`),F(_,"data-console-fullscreen",n.task.id)}),ne("close",_,()=>{$(document.documentElement),u(!1)}),i(B,_),ie()}ce(["click"]);var Me=H('<pre class="flex min-h-0 flex-1 flex-col justify-end overflow-hidden px-3 py-2 font-mono text-xs leading-[1.45] whitespace-pre max-md:[overflow-wrap:anywhere] max-md:whitespace-pre-wrap" aria-label="Latest lines of the worker’s terminal"> </pre>'),We=H('<p class="grid flex-1 place-items-center px-4 text-center text-xs text-terminal-foreground/60"><!></p>'),Fe=H('<div><button type="button" class="absolute inset-0 z-10 rounded-[inherit] focus-visible:ring-3 focus-visible:ring-ring/60 focus-visible:outline-none" title="Open full screen"></button> <div class="flex items-center gap-1.5 border-b border-terminal-foreground/10 px-3 py-1.5 text-xs text-terminal-foreground/60"><!> <span class="max-md:whitespace-nowrap">Live console</span> <span class="ml-auto max-md:min-w-0 max-md:truncate"> </span> <!></div> <!></div> <!>',1);function Ve(B,n){oe(n,!0);let u=te(n,"lines",3,12),J=te(n,"class",3,"");const P=24;let f=v(null),c=v(!1),t=v(null),z=v(!1),M=v(!1);E(()=>{if(!e(f))return;const a=new IntersectionObserver(([h])=>o(c,h.isIntersecting,!0),{rootMargin:"100px"});return a.observe(e(f)),()=>a.disconnect()}),E(()=>{if(!(!e(c)||ae.open>0))return fe(n.task.id,u()+P,me.window,{onresult:a=>{o(t,a,!0),o(z,!1)},onerror:()=>o(z,!0)})}),E(()=>{n.onsample?.(e(t)?.available&&e(t).lines.length?{line:ke(e(t).lines),capturedAt:e(t).capturedAt}:null)});var I=Fe(),g=_e(I),L=w(g),O=y(L,2),A=w(O);ve(A,{class:"size-3","aria-hidden":"true"});var D=y(A,4),_=X(D),K=y(D,2);ze(K,{class:"size-3.5 text-terminal-foreground/60 transition-colors group-hover/console:text-terminal-foreground","aria-hidden":"true"}),k(O);var Q=y(O,2);{var l=a=>{var h=Me(),N=X(h,!0);S(W=>j(N,W),[()=>e(t).lines.slice(-u()).join(`
|
|
3
|
-
`)]),i(a,h)},s=a=>{var h=We(),N=w(h);{var W=r=>{var x=T("Could not reach the Wheelhouse server.");i(r,x)},U=r=>{var x=T("Reading the worker’s terminal…");i(r,x)},R=r=>{var x=T();S(()=>j(x,e(t).reason)),i(r,x)},V=r=>{var x=T("The terminal is empty.");i(r,x)};q(N,r=>{e(z)?r(W):e(t)?e(t).available?r(V,-1):r(R,2):r(U,1)})}k(h),i(a,h)};q(Q,a=>{e(t)?.available&&e(t).lines.length?a(l):a(s,-1)})}k(g),ee(g,a=>o(f,a),()=>e(f));var p=y(g,2);He(p,{get task(){return n.task},get open(){return e(M)},set open(a){o(M,a,!0)}}),S(a=>{we(g,1,`group/console relative z-10 flex aspect-[16/10] flex-col overflow-hidden rounded-sm border bg-terminal text-terminal-foreground ${J()??""}`),F(g,"data-console",n.task.id),F(L,"aria-label",`Open ${n.task.shortTitle??""}’s live console full screen`),j(_,`read-only${a??""}`)},[()=>e(t)?.capturedAt?` · ${ue(e(t).capturedAt)}`:""]),de("click",L,()=>o(M,!0)),i(B,I),ie()}ce(["click"]);export{Ve as C};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{d as J,e as Le,i as e,k as te,p as Be,q as Fe,h as _,s as v,r as w,t as x,a as l,b as Ue,j as L,aA as We,o as X,x as _e,f as G,c as u,n as we}from"./Jk-ASPRO.js";import{d as Ke,s as q,a as oe}from"./DTApYZoW.js";import{i as m}from"./BEVJas-l.js";import{k as Ye}from"./CsFoEe5t.js";import{s as ee,a as k,c as Ve,j as be}from"./DNP6oCAK.js";import{b as Pe,M as $e}from"./BbLERgY7.js";import{b as Xe}from"./DLfKkHEy.js";import{s as qe,r as Ge,p as B}from"./DQWg__9S.js";import{c as Je,r as Oe}from"./V9uGi6jc.js";import{a as le,f as Qe}from"./BdjCJ4uL.js";import{C as Ze}from"./fE4moRZ8.js";import{R as Ie}from"./BgsPzvvM.js";import{E as xe}from"./gEZHG5dd.js";import{M as et}from"./BK_MXWSk.js";import{I as tt}from"./DE0e4nJ8.js";var at=new Set(["$$slots","$$events","$$legacy"]);function Ae(n,t){let a=Ge(t,at);const s={name:"monitor-off",size:24,node:[["path",{d:"M12 17v4"}],["path",{d:"M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826"}],["path",{d:"m2 2 20 20"}],["path",{d:"M8 21h8"}],["path",{d:"M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042"}]]};tt(n,qe(()=>a,{get icon(){return s}}))}const rt=15e3,nt=n=>`url:${n}`,it=n=>n.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(n.slice(4))}`:`/api/tasks/${encodeURIComponent(n)}/preview`,st=5e3;class ot{#e=J(Le({}));get checks(){return e(this.#e)}set checks(t){te(this.#e,t,!0)}#t=J(Le({}));get failed(){return e(this.#t)}set failed(t){te(this.#t,t,!0)}watching=new Map;running=new Map;unlisten=null;stopped(t){return this.checks[t]?.state==="down"}watch(t){const a=this.watching.get(t);a?a.count++:(this.watching.set(t,{count:1,timer:null}),this.refresh(t)),this.listen();let s=!1;return()=>{if(s)return;s=!0;const y=this.watching.get(t);!y||--y.count>0||(y.timer&&clearTimeout(y.timer),this.watching.delete(t),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(t){const a=this.running.get(t);if(a)return a;const s=this.load(t).finally(()=>{this.running.delete(t),this.schedule(t)});return this.running.set(t,s),s}clear(){for(const t of this.watching.values())t.timer&&clearTimeout(t.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(t){try{const a=await fetch(it(t));if(!a.ok)throw new Error(String(a.status));this.checks[t]=await a.json(),this.failed[t]=!1}catch{this.failed[t]=!0}}schedule(t){const a=this.watching.get(t);if(!a)return;a.timer&&clearTimeout(a.timer);const s=this.checks[t]?.state==="live"?rt:st;a.timer=setTimeout(()=>{a.timer=null,document.visibilityState!=="hidden"&&this.refresh(t)},s)}listen(){if(this.unlisten)return;const t=()=>{if(document.visibilityState!=="hidden")for(const a of this.watching.keys())this.refresh(a)};window.addEventListener("focus",t),document.addEventListener("visibilitychange",t),this.unlisten=()=>{window.removeEventListener("focus",t),document.removeEventListener("visibilitychange",t)}}}const ce=new ot,Zt=500,ae=n=>n.replace(/\s+/g," ").trim(),lt=(n,t)=>n.length>t?n.slice(0,t-1).trimEnd()+"…":n;function ke(n){const t=n.y<.3333333333333333?"top":n.y<.6666666666666666?"middle":"bottom",a=n.x<1/3?"left":n.x<2/3?"":"right";return t==="middle"&&!a?"the middle":`the ${t}${a?` ${a}`:""}`}const ct={button:"button",a:"link",input:"box",textarea:"box",select:"menu",img:"picture",h1:"heading",h2:"heading",h3:"heading",h4:"heading",label:"label",li:"item"};function dt(n,t,a){const s=n?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??n;if(s&&s.tagName!=="HTML"&&s.tagName!=="BODY"){const y=s.tagName.toLowerCase(),E=s.getAttribute("role")==="button"?"button":ct[y]??"part of the page",T=lt(ae(s.value||s.getAttribute("aria-label")||s.getAttribute("alt")||s.textContent||""),60);return{kind:"element",label:T?`the “${T}” ${E}`:`a ${E} near ${ke(t)}`,detail:`<${y}>${T?` “${T}”`:""}, near ${ke(t)} of the page`}}return{kind:"spot",label:`a spot near ${ke(t)} of the page`,detail:`${Math.round(t.x*100)}% across and ${Math.round(t.y*100)}% down the part of the page in view (${a.w}×${a.h})`}}const ut=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,ht=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,vt="Firstmate: pass these to this task’s worker, the same task (start no new one). You may add notes of your own, marked as yours.",pt=n=>n.flatMap((t,a)=>[`${a+1}. ${ae(t.text)}`,...t.points&&ae(t.points)?[` Points at: ${ae(t.points)}`]:[]]);function It(n,t,a){return[`Preview feedback for ${n.id} (${ae(n.title)}), sent together from the Preview tab (${t}):`,...pt(a.map(s=>({text:s.text,points:s.points?.label??null}))),"",vt].join(`
|
|
2
|
-
`)}function ea(n){const t=n.replace(/\r\n?/g,`
|
|
3
|
-
`).split(`
|
|
4
|
-
`),a=ut.exec(t[0]??""),s=a?null:ht.exec(t[0]??""),y=a??s;if(!y)return null;const E=[];for(const T of t.slice(1)){const F=/^\d+\. (.+)$/.exec(T);if(F){E.push({text:F[1],points:null});continue}const re=/^ {3}Points at: (.+)$/.exec(T);re&&E.length&&(E[E.length-1].points=re[1])}return E.length?{taskId:y[1],title:y[2],url:a?a[3]:null,plugin:s?{id:s[4],name:s[3],subject:s[5]??null}:null,items:E,...t[1]?.startsWith("Live review session:")?{live:!0}:{}}:null}var ft=u('<span class="inline-flex shrink-0 items-center gap-1" data-preview-translated=""><!><span class="max-md:sr-only"> </span></span>'),mt=u('<button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"><!></button>'),gt=u('<a target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab<!></a>'),_t=u('<button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen=""><!>Full screen</button>'),wt=u('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!> <!></div>'),bt=u('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),xt=u('<button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100"><!>Open full size</span></button>'),kt=u("<!> <!>",1),yt=u('<button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg"><!>Click the part you mean</span></button>'),zt=u('<span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40" aria-hidden="true" data-preview-pin=""></span>'),Ct=u('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),Mt=u('<span class="block text-xs"> </span>'),Et=u('<a target="_blank" rel="noreferrer" class="relative z-10 mt-1 inline-flex items-center gap-1 text-xs text-sea hover:underline" data-preview-newtab="">Open in new tab<!></a>'),Lt=u('<a class="relative z-10 mt-1 inline-block text-xs text-sea hover:underline" data-preview-report="">Open the report</a>'),Pt=u('<div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice=""><!> <p class="min-w-0 text-sm"><span> </span> <!> <!> <!></p></div>'),$t=u('<p class="text-sm"> </p>'),Ot=u('<a target="_blank" rel="noreferrer" class="mt-2 inline-flex items-center gap-1 text-sm text-sea hover:underline" data-preview-newtab="">Open in new tab<!></a>'),At=u('<a class="mt-2 inline-block text-sm text-sea hover:underline" data-preview-report="">Open the report</a>'),Ht=u('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p> <!> <!>',1),St=u('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),Tt=u("<div><!> <div><!></div></div>");function ta(n,t){Be(t,!0);let a=B(t,"taskId",3,null),s=B(t,"url",3,null),y=B(t,"compact",3,!1),E=B(t,"fill",3,!1),T=B(t,"desktop",3,!1),F=B(t,"toolbar",3,!0),re=B(t,"pointing",3,!1),de=B(t,"pin",3,null),ue=J(null);function He(p){const d=p.currentTarget.getBoundingClientRect(),P=p.clientX-d.left,S=p.clientY-d.top;let C=null;const R=e(pe)?e(U):1;try{C=e(ue)?.contentDocument?.elementFromPoint(P/R,S/R)??null}catch{C=null}const N={x:d.width?P/d.width:0,y:d.height?S/d.height:0};t.onpoint?.(dt(C,N,{w:Math.round(d.width),h:Math.round(d.height)}),N)}const ne={w:1280,h:800};let ye=J(0),he=J(0),ze=J(0);const ie=L(()=>a()??nt(s()??""));Fe(()=>ce.watch(e(ie)));const g=L(()=>ce.checks[e(ie)]??null),ve=L(()=>!!ce.failed[e(ie)]),D=L(()=>e(g)?.state==="live"),j=L(()=>e(g)?.url??null),z=L(()=>e(j)&&e(g)?le.view(e(j)):null),Ce=L(()=>e(z)?Qe(e(z),location.origin):""),U=L(()=>e(he)?e(he)/ne.w:0),pe=L(()=>E()&&T()&&e(U)>0&&e(U)<1);function Me(){We(ye),ce.refresh(e(ie))}var Se={reload:Me},Q=Tt(),Ee=_(Q);{var Te=p=>{var d=wt(),P=_(d),S=X(P,!0),C=v(P,2);{var R=c=>{var o=ft(),i=_(o);Ze(i,{class:"size-3.5","aria-hidden":"true"});var r=v(i),b=X(r,!0);w(o),x($=>{k(o,"title",$),q(b,le.remote?"via Wheelhouse Cloud":"translated")},[()=>le.where(e(z))]),l(c,o)};m(C,c=>{e(z)&&e(j)&&e(z)!==e(j)&&le.translating&&c(R)})}var N=v(C,2);{var I=c=>{var o=mt(),i=_(o);Ie(i,{class:"size-3.5"}),w(o),x(()=>{k(o,"aria-label",e(D)?"Reload the preview":"Check the preview again"),k(o,"title",e(D)?"Reload":"Check again")}),oe("click",o,Me),l(c,o)};m(N,c=>{(e(D)||e(g)?.state==="blocked"||e(g)?.state==="down")&&c(I)})}var A=v(N,2);{var M=c=>{var o=gt(),i=v(_(o));xe(i,{class:"size-3.5","aria-hidden":"true"}),w(o),x(()=>k(o,"href",e(z))),l(c,o)};m(A,c=>{(e(D)||e(g)?.state==="blocked")&&c(M)})}var h=v(A,2);{var H=c=>{var o=_t(),i=_(o);$e(i,{class:"size-3.5","aria-hidden":"true"}),we(),w(o),oe("click",o,function(...r){t.onfullscreen?.apply(this,r)}),l(c,o)};m(h,c=>{t.onfullscreen&&e(D)&&c(H)})}w(d),x(()=>{k(P,"title",e(j)??void 0),q(S,e(j)??"Live preview")}),l(p,d)};m(Ee,p=>{F()&&p(Te)})}var Z=v(Ee,2),Re=_(Z);{var Ne=p=>{var d=_e(),P=G(d);Ye(P,()=>`${e(z)} ${e(ye)}`,S=>{var C=_e(),R=G(C);{var N=A=>{var M=kt(),h=G(M);{var H=i=>{var r=bt();x(()=>{k(r,"src",e(z)),k(r,"title",`Live preview of ${e(j)??""}`),k(r,"sandbox",e(Ce)),r.inert=!!t.onopen,ee(r,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${t.onopen?"pointer-events-none":""}`),be(r,`width:${ne.w}px;height:${ne.h}px;transform:scale(${e(U)??""})`)}),l(i,r)};m(h,i=>{e(U)&&i(H)})}var c=v(h,2);{var o=i=>{var r=xt(),b=_(r),$=_(b);$e($,{class:"size-3.5","aria-hidden":"true"}),we(),w(b),w(r),oe("click",r,function(...W){t.onopen?.apply(this,W)}),l(i,r)};m(c,i=>{t.onopen&&i(o)})}l(A,M)},I=A=>{var M=Ct(),h=G(M);Xe(h,i=>te(ue,i),()=>e(ue));var H=v(h,2);{var c=i=>{var r=yt(),b=_(r),$=_(b);et($,{class:"size-4","aria-hidden":"true"}),we(),w(b),w(r),oe("click",r,He),l(i,r)},o=i=>{var r=zt();x(()=>be(r,`left:${de().x*100}%;top:${de().y*100}%`)),l(i,r)};m(H,i=>{re()?i(c):de()&&i(o,1)})}x(()=>{k(h,"src",e(z)),k(h,"title",`Live preview of ${e(j)??""}`),k(h,"sandbox",e(Ce)),ee(h,1,Ve(e(pe)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),be(h,e(pe)?`width:${ne.w}px;height:${e(ze)/e(U)}px;transform:scale(${e(U)})`:void 0)}),l(A,M)};m(R,A=>{y()?A(N):A(I,-1)})}l(S,C)}),l(p,d)},De=p=>{const d=L(()=>!e(g)&&!e(ve)),P=L(()=>e(d)?"Checking the preview…":e(ve)?"Could not check the preview":e(g)?.state==="down"?"Preview stopped":e(g)?.state==="blocked"?"Preview cannot be embedded":e(g)?.state==="refused"?"Preview not shown here":"No live preview reported"),S=L(()=>e(d)?"":e(ve)?"Wheelhouse did not answer; it will try again.":e(g)?.state==="blocked"?`${e(g).reason} Open it in a new tab instead.`:e(g)?.reason??""),C=L(()=>e(g)?.state==="down"&&a()?Je.recordFor(a()):null);var R=_e(),N=G(R);{var I=M=>{var h=Pt(),H=_(h);{var c=f=>{Ae(f,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};m(H,f=>{e(d)||f(c)})}var o=v(H,2),i=_(o),r=X(i,!0),b=v(i,2);{var $=f=>{var O=Mt(),K=X(O,!0);x(()=>q(K,e(S))),l(f,O)};m(b,f=>{e(S)&&f($)})}var W=v(b,2);{var fe=f=>{var O=Et(),K=v(_(O));xe(K,{class:"size-3","aria-hidden":"true"}),w(O),x(()=>k(O,"href",e(z))),l(f,O)};m(W,f=>{e(g)?.state==="blocked"&&e(z)&&!F()&&f(fe)})}var se=v(W,2);{var me=f=>{var O=Lt();x(K=>k(O,"href",K),[()=>Oe(e(C).key)]),l(f,O)};m(se,f=>{e(C)&&f(me)})}w(o),w(h),x(()=>{ee(i,1,`font-medium ${e(d)?"":"text-foreground"}`),q(r,e(P))}),l(M,h)},A=M=>{var h=St(),H=_(h),c=_(H);{var o=r=>{var b=$t(),$=X(b,!0);x(()=>q($,e(P))),l(r,b)},i=r=>{var b=Ht(),$=G(b);Ae($,{class:"mx-auto size-6","aria-hidden":"true"});var W=v($,2),fe=X(W,!0),se=v(W,2),me=X(se,!0),f=v(se,2);{var O=Y=>{var V=Ot(),ge=v(_(V));xe(ge,{class:"size-3.5","aria-hidden":"true"}),w(V),x(()=>k(V,"href",e(z))),l(Y,V)};m(f,Y=>{e(g)?.state==="blocked"&&e(z)&&!F()&&Y(O)})}var K=v(f,2);{var je=Y=>{var V=At();x(ge=>k(V,"href",ge),[()=>Oe(e(C).key)]),l(Y,V)};m(K,Y=>{e(C)&&Y(je)})}x(()=>{q(fe,e(P)),q(me,e(S))}),l(r,b)};m(c,r=>{e(d)?r(o):r(i,-1)})}w(H),w(h),l(M,h)};m(N,M=>{y()?M(I):M(A,-1)})}l(p,R)};m(Re,p=>{e(D)&&e(z)?p(Ne):p(De,-1)})}return w(Z),w(Q),x(()=>{ee(Q,1,`min-w-0 ${E()?"flex h-full flex-col":""}`),k(Q,"data-live-preview",e(g)?.state??"checking"),ee(Z,1,`group relative w-full overflow-hidden bg-muted/40 ${F()?"mt-1.5 rounded-lg border":""} ${y()?e(D)?"aspect-[16/10]":"":E()?"min-h-0 flex-1":e(D)?"h-[70vh] min-h-80":"h-40"}`)}),Pe(Z,"clientWidth",p=>te(he,p)),Pe(Z,"clientHeight",p=>te(ze,p)),l(n,Q),Ue(Se)}Ke(["click"]);export{ta as L,Ae as M,Zt as a,It as b,ea as c,ce as p,nt as u};
|
|
Binary file
|
|
Binary file
|