@chrisjowen/wheelhouse 0.22.6 → 0.22.8
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.Dqz7kCRB.css +1 -0
- package/build/client/_app/immutable/assets/0.Dqz7kCRB.css.br +0 -0
- package/build/client/_app/immutable/assets/0.Dqz7kCRB.css.gz +0 -0
- package/build/client/_app/immutable/chunks/1THDSnwR.js +1 -0
- package/build/client/_app/immutable/chunks/1THDSnwR.js.br +0 -0
- package/build/client/_app/immutable/chunks/1THDSnwR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5qx-E5hQ.js +3 -0
- package/build/client/_app/immutable/chunks/5qx-E5hQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/5qx-E5hQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8cFWsiL5.js +3 -0
- package/build/client/_app/immutable/chunks/8cFWsiL5.js.br +0 -0
- package/build/client/_app/immutable/chunks/8cFWsiL5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ALbIn9xu.js +1 -0
- 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/B95vDHb4.js +2 -0
- package/build/client/_app/immutable/chunks/B95vDHb4.js.br +0 -0
- package/build/client/_app/immutable/chunks/B95vDHb4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BFj9uA7a.js +1 -0
- package/build/client/_app/immutable/chunks/BFj9uA7a.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFj9uA7a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNnzQGRQ.js +1 -0
- package/build/client/_app/immutable/chunks/BNnzQGRQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNnzQGRQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bo0GBU1d.js +1 -0
- package/build/client/_app/immutable/chunks/Bo0GBU1d.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bo0GBU1d.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BoLe_IyD.js +1 -0
- package/build/client/_app/immutable/chunks/BoLe_IyD.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoLe_IyD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqeJFOiq.js +2 -0
- package/build/client/_app/immutable/chunks/BqeJFOiq.js.br +0 -0
- package/build/client/_app/immutable/chunks/BqeJFOiq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C303vUt4.js +1 -0
- package/build/client/_app/immutable/chunks/C303vUt4.js.br +0 -0
- package/build/client/_app/immutable/chunks/C303vUt4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CC2m5e3H.js +3 -0
- package/build/client/_app/immutable/chunks/CC2m5e3H.js.br +0 -0
- package/build/client/_app/immutable/chunks/CC2m5e3H.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CHLlDrXz.js +1 -0
- package/build/client/_app/immutable/chunks/CHLlDrXz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CHLlDrXz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJh-lXlR.js +1 -0
- package/build/client/_app/immutable/chunks/CJh-lXlR.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJh-lXlR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CPV8trsz.js +1 -0
- package/build/client/_app/immutable/chunks/CPV8trsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/CPV8trsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQ0zKnku.js +1 -0
- package/build/client/_app/immutable/chunks/CQ0zKnku.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQ0zKnku.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cva9VpVb.js +7 -0
- package/build/client/_app/immutable/chunks/Cva9VpVb.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cva9VpVb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CxHJSJSb.js +1 -0
- package/build/client/_app/immutable/chunks/CxHJSJSb.js.br +0 -0
- package/build/client/_app/immutable/chunks/CxHJSJSb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D8swcNrI.js +1 -0
- package/build/client/_app/immutable/chunks/D8swcNrI.js.br +0 -0
- package/build/client/_app/immutable/chunks/D8swcNrI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DGK5viub.js +1 -0
- package/build/client/_app/immutable/chunks/DGK5viub.js.br +0 -0
- package/build/client/_app/immutable/chunks/DGK5viub.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DREe4_Em.js +1 -0
- package/build/client/_app/immutable/chunks/DREe4_Em.js.br +0 -0
- package/build/client/_app/immutable/chunks/DREe4_Em.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Da2GOnuD.js +2 -0
- package/build/client/_app/immutable/chunks/Da2GOnuD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Da2GOnuD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlupK5OD.js +6 -0
- package/build/client/_app/immutable/chunks/DlupK5OD.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlupK5OD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ds4LY5_S.js +1 -0
- package/build/client/_app/immutable/chunks/Ds4LY5_S.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ds4LY5_S.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HFrgAbA7.js +4 -0
- package/build/client/_app/immutable/chunks/HFrgAbA7.js.br +0 -0
- package/build/client/_app/immutable/chunks/HFrgAbA7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Lb2eWaSE.js +8 -0
- package/build/client/_app/immutable/chunks/Lb2eWaSE.js.br +0 -0
- package/build/client/_app/immutable/chunks/Lb2eWaSE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/N3-89cl-.js +3 -0
- package/build/client/_app/immutable/chunks/N3-89cl-.js.br +0 -0
- package/build/client/_app/immutable/chunks/N3-89cl-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/NueoU5q8.js +1 -0
- package/build/client/_app/immutable/chunks/NueoU5q8.js.br +0 -0
- package/build/client/_app/immutable/chunks/NueoU5q8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Sii3oNcc.js +7 -0
- package/build/client/_app/immutable/chunks/Sii3oNcc.js.br +0 -0
- package/build/client/_app/immutable/chunks/Sii3oNcc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/TvzfwAc_.js +6 -0
- package/build/client/_app/immutable/chunks/TvzfwAc_.js.br +0 -0
- package/build/client/_app/immutable/chunks/TvzfwAc_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XxOJwmzJ.js +1 -0
- package/build/client/_app/immutable/chunks/XxOJwmzJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/XxOJwmzJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Z0GxSwEl.js +1 -0
- 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/g2M5EibM.js +1 -0
- package/build/client/_app/immutable/chunks/g2M5EibM.js.br +0 -0
- package/build/client/_app/immutable/chunks/g2M5EibM.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gKm-HWvG.js +1 -0
- package/build/client/_app/immutable/chunks/gKm-HWvG.js.br +1 -0
- package/build/client/_app/immutable/chunks/gKm-HWvG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/s7ZLiUKi.js +1 -0
- package/build/client/_app/immutable/chunks/s7ZLiUKi.js.br +0 -0
- package/build/client/_app/immutable/chunks/s7ZLiUKi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/uMlyB-ee.js +1 -0
- package/build/client/_app/immutable/chunks/uMlyB-ee.js.br +0 -0
- package/build/client/_app/immutable/chunks/uMlyB-ee.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BGGGVw8e.js +2 -0
- package/build/client/_app/immutable/entry/app.BGGGVw8e.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BGGGVw8e.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Cew8gpBz.js +1 -0
- package/build/client/_app/immutable/entry/start.Cew8gpBz.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Cew8gpBz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.Bg8-HE2q.js +9 -0
- package/build/client/_app/immutable/nodes/0.Bg8-HE2q.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Bg8-HE2q.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.CaqTGk5K.js +1 -0
- package/build/client/_app/immutable/nodes/1.CaqTGk5K.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CaqTGk5K.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.CDtUrk-c.js +9 -0
- package/build/client/_app/immutable/nodes/10.CDtUrk-c.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CDtUrk-c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.BgmRFAah.js +2 -0
- package/build/client/_app/immutable/nodes/11.BgmRFAah.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BgmRFAah.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.CkcVt4QK.js +6 -0
- package/build/client/_app/immutable/nodes/12.CkcVt4QK.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.CkcVt4QK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.Ce2-RKSA.js +1 -0
- package/build/client/_app/immutable/nodes/13.Ce2-RKSA.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.Ce2-RKSA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.ip6iLHgE.js +10 -0
- package/build/client/_app/immutable/nodes/14.ip6iLHgE.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.ip6iLHgE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.DkPLCNpt.js +1 -0
- package/build/client/_app/immutable/nodes/15.DkPLCNpt.js.br +3 -0
- package/build/client/_app/immutable/nodes/15.DkPLCNpt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.Cvg_tC9Y.js +3 -0
- package/build/client/_app/immutable/nodes/16.Cvg_tC9Y.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.Cvg_tC9Y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DYkILIFn.js +1 -0
- package/build/client/_app/immutable/nodes/17.DYkILIFn.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DYkILIFn.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.DPfadYmN.js +14 -0
- package/build/client/_app/immutable/nodes/18.DPfadYmN.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.DPfadYmN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.ClKxJRb4.js +150 -0
- package/build/client/_app/immutable/nodes/19.ClKxJRb4.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.ClKxJRb4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CluLiMMe.js +40 -0
- package/build/client/_app/immutable/nodes/2.CluLiMMe.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CluLiMMe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.Bif6P7ng.js +25 -0
- package/build/client/_app/immutable/nodes/20.Bif6P7ng.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.Bif6P7ng.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.x0ymlObW.js +5 -0
- package/build/client/_app/immutable/nodes/21.x0ymlObW.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.x0ymlObW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.RGldztsO.js +18 -0
- package/build/client/_app/immutable/nodes/22.RGldztsO.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.RGldztsO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.B_uEnuL5.js +4 -0
- package/build/client/_app/immutable/nodes/24.B_uEnuL5.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.B_uEnuL5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Dky3Ah9G.js +6 -0
- package/build/client/_app/immutable/nodes/26.Dky3Ah9G.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Dky3Ah9G.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.DP_uSl0C.js +8 -0
- package/build/client/_app/immutable/nodes/27.DP_uSl0C.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.DP_uSl0C.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.D2qdRGPd.js +2 -0
- package/build/client/_app/immutable/nodes/28.D2qdRGPd.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.D2qdRGPd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.Ddwaz1hp.js +5 -0
- package/build/client/_app/immutable/nodes/29.Ddwaz1hp.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.Ddwaz1hp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CVDrIOUx.js +2 -0
- package/build/client/_app/immutable/nodes/3.CVDrIOUx.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CVDrIOUx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.Z_dcq2gz.js +4 -0
- package/build/client/_app/immutable/nodes/30.Z_dcq2gz.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.Z_dcq2gz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.dyucR3g6.js +3 -0
- package/build/client/_app/immutable/nodes/31.dyucR3g6.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.dyucR3g6.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.DX4PQvJR.js +7 -0
- package/build/client/_app/immutable/nodes/32.DX4PQvJR.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.DX4PQvJR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.0jPnz-fe.js +2 -0
- package/build/client/_app/immutable/nodes/33.0jPnz-fe.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.0jPnz-fe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.CvGd0cJb.js +4 -0
- package/build/client/_app/immutable/nodes/34.CvGd0cJb.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.CvGd0cJb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.5ZhQwroK.js +7 -0
- package/build/client/_app/immutable/nodes/35.5ZhQwroK.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.5ZhQwroK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.LzdZEn79.js +6 -0
- package/build/client/_app/immutable/nodes/36.LzdZEn79.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.LzdZEn79.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.C5-b0odW.js +23 -0
- package/build/client/_app/immutable/nodes/37.C5-b0odW.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.C5-b0odW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.CMgkqyxT.js +1 -0
- package/build/client/_app/immutable/nodes/38.CMgkqyxT.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.CMgkqyxT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CbNo2HC_.js +5 -0
- package/build/client/_app/immutable/nodes/4.CbNo2HC_.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CbNo2HC_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.CNQdbYqG.js +6 -0
- package/build/client/_app/immutable/nodes/40.CNQdbYqG.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.CNQdbYqG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.RsG0znmX.js +1 -0
- package/build/client/_app/immutable/nodes/5.RsG0znmX.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.RsG0znmX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.DFmXg3_i.js +3 -0
- package/build/client/_app/immutable/nodes/8.DFmXg3_i.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DFmXg3_i.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.DhYSdoUO.js +10 -0
- package/build/client/_app/immutable/nodes/9.DhYSdoUO.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.DhYSdoUO.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 +4 -4
- package/build/index.js +4 -4
- package/build/server/chunks/chunks/ConsoleWindow.js-BxF5jMFE.js +103 -0
- package/build/server/chunks/chunks/DecisionForm.js-BFfq6cr6.js +246 -0
- package/build/server/chunks/chunks/DecisionsBadge.js-CGVFdHf9.js +78 -0
- package/build/server/chunks/chunks/Discussion.js-D7IFpGpa.js +581 -0
- package/build/server/chunks/chunks/EtaLine.js-CBCXWQzg.js +41 -0
- package/build/server/chunks/chunks/ResizableRail.js-DYHpZhCB.js +864 -0
- package/build/server/chunks/chunks/Sheet.js-pEqPGqDd.js +3958 -0
- package/build/server/chunks/chunks/TaskView.js-CK9biTfX.js +3015 -0
- package/build/server/chunks/chunks/TimeBar.js-4ui3FQow.js +32 -0
- package/build/server/chunks/chunks/TimeLegend.js-BcJobfm0.js +29 -0
- package/build/server/chunks/chunks/bell.js-M4cNe9Wo.js +194 -0
- package/build/server/chunks/chunks/chat.svelte.js-vT8qTWLG.js +417 -0
- package/build/server/chunks/chunks/console.js-BV5qkqBU.js +64 -0
- package/build/server/chunks/chunks/decisionhome.js-CHke-Aet.js +311 -0
- package/build/server/chunks/chunks/detail.js-CQv9k56W.js +149 -0
- package/build/server/chunks/chunks/features.js-B2GRQeLG.js +181 -0
- package/build/server/chunks/chunks/feedback.js-KWaTRrc_.js +67 -0
- package/build/server/chunks/chunks/handled.js-m3RTMfxd.js +20 -0
- package/build/server/chunks/chunks/inbox.js-CxcuKYoV.js +222 -0
- package/build/server/chunks/chunks/insights.js-D2D9kicC.js +142 -0
- package/build/server/chunks/chunks/insights.svelte.js-CcEJoKQH.js +567 -0
- package/build/server/chunks/chunks/internal.js-CyrN7YyP.js +151 -0
- package/build/server/chunks/chunks/livereview.svelte.js-YZhYByZI.js +97 -0
- package/build/server/chunks/chunks/marketplace-service.js-BQryRMpA.js +557 -0
- package/build/server/chunks/chunks/ondeck.js-BLhFZI2l.js +119 -0
- package/build/server/chunks/chunks/package.js-DCazdgiR.js +160 -0
- package/build/server/chunks/chunks/page.js-BEonrB4-.js +13 -0
- package/build/server/chunks/chunks/previewhelper2.js-BwNIdagj.js +210 -0
- package/build/server/chunks/chunks/runtime.js-C-66z9Q6.js +25642 -0
- package/build/server/chunks/chunks/scribe.js-OrtzU0Ox.js +1376 -0
- package/build/server/chunks/chunks/service.js-Cgn4nIWF.js +1339 -0
- package/build/server/chunks/chunks/service2.js-D6aGwDef.js +835 -0
- package/build/server/chunks/chunks/service3.js-Dxdu8beL.js +234 -0
- package/build/server/chunks/chunks/settings.js-qVoB3gY6.js +379 -0
- package/build/server/chunks/chunks/slots.svelte.js-CizfW0L7.js +54 -0
- package/build/server/chunks/chunks/starter.js-DGsazTxj.js +400 -0
- package/build/server/chunks/chunks/store.js-m6116Gee.js +332 -0
- package/build/server/chunks/chunks/uploads.js-Dj8oL0YP.js +107 -0
- package/build/server/chunks/chunks/view.js-BunAXITd.js +76 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-kVPM8QiK.js +112 -0
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-D3yUm95J.js +111 -0
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-t7kJDKFo.js +59 -0
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-asKE3p3l.js +75 -0
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-CL96hFwe.js +79 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DtH4ROLw.js +154 -0
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-CjMBduD9.js +56 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-tSUMjrxM.js +71 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-B46bSl60.js +107 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-C2y7h-Co.js +83 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-C5veyHrZ.js +73 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-DtwDysQZ.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-Bnkzua_j.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-nFnKxdcG.js +67 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js--Yr7q4X9.js +73 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-Bvwd3v0d.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-DqUrbhsF.js +115 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-BpAtHV7C.js +76 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-BWYNvyCC.js +87 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-BIaGX_Je.js +75 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-CKGsdGBC.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-Csr4uwPB.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-A7LEzpUQ.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-BIky5eUL.js +58 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-QzznrMw6.js +58 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-BhT-maiz.js +85 -0
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-DTDIeAua.js +83 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-12ddKzFc.js +76 -0
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-Dy8Qr5Ob.js +168 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-Dm8emtZq.js +58 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-DxYAgGOs.js +87 -0
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-DvqKFPx-.js +96 -0
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-C3RuITes.js +118 -0
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-5QW9NUip.js +72 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-DPZryu4Q.js +93 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BcXreDr7.js +82 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-Cec1PqqW.js +77 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-kqsIOpsA.js +74 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-BJocN5Xm.js +27 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BUpXqp6F.js +81 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-BGOAdpGK.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-DS3DbCgu.js +58 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-CuZogP4B.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-BkS35-hL.js +42 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-ByS6w0ap.js +63 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-BmrVgIv5.js +72 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-BLPKS89l.js +69 -0
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-CXH9OLs6.js +73 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-NecYW7Fw.js +27 -0
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-BlUsDWOD.js +81 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CBrquITj.js +63 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-CKI4wWxB.js +72 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-CWPBrHrF.js +84 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-CJSTZha6.js +71 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CuIgfX_D.js +94 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-BsRnf2ce.js +77 -0
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-Cb9tcSDx.js +473 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-CY33XrLN.js +88 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BRAKX1m3.js +67 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-yt0TqAcX.js +77 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-CVa3CdZi.js +137 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-Dy7tHXfQ.js +66 -0
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-DWZ_aOjS.js +80 -0
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-CT7Boaf4.js +66 -0
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-ocY6SwwL.js +69 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-CnXs9bJ0.js +63 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-vDstks5V.js +82 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-BkTBLTm_.js +109 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-D3dlXTwq.js +75 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-C2K3IFZh.js +104 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-BQ-Pi5Kw.js +123 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-RDdXwMiY.js +77 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-BFwe4mnD.js +80 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-Bh4F9hu_.js +81 -0
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-Dx9WOcQT.js +24 -0
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-B2qqL7As.js +31 -0
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-B8R-L43c.js +33 -0
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-D3bduhlo.js +93 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-BMPsSJdV.js +40 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-D5UL7RMX.js +27 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-CvEX3NKJ.js +27 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-DtTwc4Gq.js +82 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-CHQUpKh2.js +62 -0
- package/build/server/chunks/entries/hooks.server.js-BG_jlCcK.js +104 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-CTliqS0t.js +54 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-Bnx1zQNz.js +6028 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BsobM1Vs.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-CEPxPR_I.js +5810 -0
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-sAcZ9qNG.js +115 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-Bc3cLNPh.js +14 -0
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-mQE5Ht8_.js +226 -0
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-DZsxsScR.js +16 -0
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-u1WdGQom.js +93 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-CrzB71Jp.js +17 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-BRqipSGh.js +984 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-C7IlrK-z.js +11 -0
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-DjqtGoDH.js +296 -0
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-DLaP4pWA.js +16 -0
- package/build/server/chunks/entries/pages/health/_page.svelte.js-DA7MoO-y.js +517 -0
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-CgDtaaVM.js +18 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js--GRUWFc_.js +653 -0
- package/build/server/chunks/entries/pages/more/_page.svelte.js-DxjJ6y39.js +152 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-mo7xbJt3.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-BaJy6ojj.js +60 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-BTVTYrL2.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-FodOZq2p.js +983 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-CBuwJYf2.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-D9gMeR7J.js +82 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-CbnfsXhC.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-Di4LHBAx.js +420 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-CuhFDzPV.js +15 -0
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-CpnDSMiL.js +11 -0
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-Baz3X3kg.js +348 -0
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-DePfcsb_.js +13 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-djAsookJ.js +12 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-DriYtYJc.js +18 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-NBwcUtec.js +19 -0
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-CfuxlVXC.js +16 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-D9yV2bD6.js +15 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-BDXpdTTY.js +83 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-DAN-2Pxg.js +797 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-tnGbTGGj.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-r7TgB6d3.js +261 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DuleEIYa.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BxWoMmwC.js +17 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-BfeP4Gtl.js +11 -0
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-DQpRqceP.js +11 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-c3S1VKhz.js +15 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-DOLq2HfK.js +18 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-BJdoTfEx.js +36 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-Dm62wxMH.js +112 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DpwnwQCn.js +24 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-CW6Titpm.js +11 -0
- package/build/server/chunks/entries/pages/time/_page.svelte.js-BEJCthq-.js +109 -0
- package/build/server/chunks/handler-y94pKJeU.js +1474 -0
- package/build/server/chunks/index.js-DtEa3MAX.js +4296 -0
- package/build/server/chunks/manifest.js-YbFjUaWW.js +969 -0
- package/build/server/chunks/nodes/0.js-DZNO3FEd.js +66 -0
- package/build/server/chunks/nodes/1.js-DeEeQGnw.js +9 -0
- package/build/server/chunks/nodes/10.js-D1WLP-xF.js +65 -0
- package/build/server/chunks/nodes/11.js-Cj41sGC5.js +64 -0
- package/build/server/chunks/nodes/12.js-B-q9Ib1c.js +12 -0
- package/build/server/chunks/nodes/13.js-DsffUOsS.js +9 -0
- package/build/server/chunks/nodes/14.js-Dw1DFPiL.js +9 -0
- package/build/server/chunks/nodes/15.js-Bm993HDL.js +63 -0
- package/build/server/chunks/nodes/16.js-WZ4F89Mr.js +66 -0
- package/build/server/chunks/nodes/17.js-Baq9rNe0.js +64 -0
- package/build/server/chunks/nodes/18.js-C38z45xS.js +65 -0
- package/build/server/chunks/nodes/19.js-DyT8Zd0H.js +64 -0
- package/build/server/chunks/nodes/2.js-jQdD36qI.js +63 -0
- package/build/server/chunks/nodes/20.js-CQbfd52F.js +24 -0
- package/build/server/chunks/nodes/21.js-DW3kIO8q.js +25 -0
- package/build/server/chunks/nodes/22.js-ksQVgjBb.js +9 -0
- package/build/server/chunks/nodes/23.js-BFPu5J7m.js +25 -0
- package/build/server/chunks/nodes/24.js-BKj-MVrY.js +63 -0
- package/build/server/chunks/nodes/26.js-DxNHajUJ.js +64 -0
- package/build/server/chunks/nodes/27.js-mHDM5fgE.js +63 -0
- package/build/server/chunks/nodes/28.js-DTwh097W.js +25 -0
- package/build/server/chunks/nodes/29.js-CBmut8fC.js +63 -0
- package/build/server/chunks/nodes/3.js-DXVw6q6d.js +9 -0
- package/build/server/chunks/nodes/30.js-CbXBXcvy.js +24 -0
- package/build/server/chunks/nodes/31.js-WDuQi73D.js +22 -0
- package/build/server/chunks/nodes/32.js-T4n52_nY.js +63 -0
- package/build/server/chunks/nodes/33.js-BhdoH31z.js +66 -0
- package/build/server/chunks/nodes/34.js-BdxLdp7H.js +65 -0
- package/build/server/chunks/nodes/35.js-kSAwfGyD.js +26 -0
- package/build/server/chunks/nodes/36.js-DnyJGfb-.js +65 -0
- package/build/server/chunks/nodes/37.js-XUg9jSCl.js +67 -0
- package/build/server/chunks/nodes/38.js-BSf8dpSf.js +64 -0
- package/build/server/chunks/nodes/39.js-CzeMaVfA.js +64 -0
- package/build/server/chunks/nodes/4.js-DsmciaDg.js +64 -0
- package/build/server/chunks/nodes/40.js-BB-3VTMf.js +63 -0
- package/build/server/chunks/nodes/5.js-CQfxR-6j.js +63 -0
- package/build/server/chunks/nodes/7.js-VphzedHf.js +63 -0
- package/build/server/chunks/nodes/8.js-knfTDQmu.js +14 -0
- package/build/server/chunks/nodes/9.js-B_uu7boa.js +63 -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.BvEx4fYi.css +0 -1
- package/build/client/_app/immutable/assets/0.BvEx4fYi.css.br +0 -0
- package/build/client/_app/immutable/assets/0.BvEx4fYi.css.gz +0 -0
- package/build/client/_app/immutable/chunks/6LK584eW.js +0 -2
- package/build/client/_app/immutable/chunks/6LK584eW.js.br +0 -0
- package/build/client/_app/immutable/chunks/6LK584eW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/9-_TZern.js +0 -1
- package/build/client/_app/immutable/chunks/9-_TZern.js.br +0 -2
- package/build/client/_app/immutable/chunks/9-_TZern.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B42HCa1Z.js +0 -1
- package/build/client/_app/immutable/chunks/B42HCa1Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/B42HCa1Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B4BCO8_v.js +0 -3
- package/build/client/_app/immutable/chunks/B4BCO8_v.js.br +0 -0
- package/build/client/_app/immutable/chunks/B4BCO8_v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BCm9P2vn.js +0 -2
- package/build/client/_app/immutable/chunks/BCm9P2vn.js.br +0 -0
- package/build/client/_app/immutable/chunks/BCm9P2vn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJ2W5Dwa.js +0 -1
- package/build/client/_app/immutable/chunks/BJ2W5Dwa.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJ2W5Dwa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BPRVAIy6.js +0 -7
- package/build/client/_app/immutable/chunks/BPRVAIy6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BPRVAIy6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B_vxNA4w.js +0 -1
- package/build/client/_app/immutable/chunks/B_vxNA4w.js.br +0 -0
- package/build/client/_app/immutable/chunks/B_vxNA4w.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BhudhehD.js +0 -1
- package/build/client/_app/immutable/chunks/BhudhehD.js.br +0 -0
- package/build/client/_app/immutable/chunks/BhudhehD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjKSCYOc.js +0 -1
- package/build/client/_app/immutable/chunks/BjKSCYOc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjKSCYOc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BmJn9UH9.js +0 -6
- package/build/client/_app/immutable/chunks/BmJn9UH9.js.br +0 -0
- package/build/client/_app/immutable/chunks/BmJn9UH9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BormTmQ8.js +0 -8
- package/build/client/_app/immutable/chunks/BormTmQ8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BormTmQ8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BtuWQ3NL.js +0 -1
- package/build/client/_app/immutable/chunks/BtuWQ3NL.js.br +0 -0
- package/build/client/_app/immutable/chunks/BtuWQ3NL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxEo-3qj.js +0 -4
- package/build/client/_app/immutable/chunks/BxEo-3qj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxEo-3qj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/By5LN09n.js +0 -2
- package/build/client/_app/immutable/chunks/By5LN09n.js.br +0 -0
- package/build/client/_app/immutable/chunks/By5LN09n.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C0iS9LEC.js +0 -1
- package/build/client/_app/immutable/chunks/C0iS9LEC.js.br +0 -0
- package/build/client/_app/immutable/chunks/C0iS9LEC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2pvsFSz.js +0 -3
- package/build/client/_app/immutable/chunks/C2pvsFSz.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2pvsFSz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CDKs55ee.js +0 -1
- package/build/client/_app/immutable/chunks/CDKs55ee.js.br +0 -0
- package/build/client/_app/immutable/chunks/CDKs55ee.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CF48ZaJf.js +0 -1
- package/build/client/_app/immutable/chunks/CF48ZaJf.js.br +0 -0
- package/build/client/_app/immutable/chunks/CF48ZaJf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CN-QAmsr.js +0 -1
- package/build/client/_app/immutable/chunks/CN-QAmsr.js.br +0 -0
- package/build/client/_app/immutable/chunks/CN-QAmsr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CbiqPRp4.js +0 -1
- package/build/client/_app/immutable/chunks/CbiqPRp4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CbiqPRp4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cid61cQS.js +0 -2
- package/build/client/_app/immutable/chunks/Cid61cQS.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cid61cQS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CjEWkwrc.js +0 -1
- package/build/client/_app/immutable/chunks/CjEWkwrc.js.br +0 -0
- package/build/client/_app/immutable/chunks/CjEWkwrc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CuYc7d4s.js +0 -1
- package/build/client/_app/immutable/chunks/CuYc7d4s.js.br +0 -0
- package/build/client/_app/immutable/chunks/CuYc7d4s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cy13iexy.js +0 -1
- package/build/client/_app/immutable/chunks/Cy13iexy.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cy13iexy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3axFSng.js +0 -7
- package/build/client/_app/immutable/chunks/D3axFSng.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3axFSng.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDdYnEAT.js +0 -1
- package/build/client/_app/immutable/chunks/DDdYnEAT.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDdYnEAT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOuX60Xh.js +0 -1
- package/build/client/_app/immutable/chunks/DOuX60Xh.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOuX60Xh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DjVT8Vdk.js +0 -1
- package/build/client/_app/immutable/chunks/DjVT8Vdk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DjVT8Vdk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DmHLj4sk.js +0 -6
- package/build/client/_app/immutable/chunks/DmHLj4sk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DmHLj4sk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dy0QCcYi.js +0 -1
- package/build/client/_app/immutable/chunks/Dy0QCcYi.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dy0QCcYi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IiFQttgl.js +0 -1
- package/build/client/_app/immutable/chunks/IiFQttgl.js.br +0 -0
- package/build/client/_app/immutable/chunks/IiFQttgl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/LJz6leLj.js +0 -3
- package/build/client/_app/immutable/chunks/LJz6leLj.js.br +0 -0
- package/build/client/_app/immutable/chunks/LJz6leLj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/yG62-yMx.js +0 -1
- package/build/client/_app/immutable/chunks/yG62-yMx.js.br +0 -0
- package/build/client/_app/immutable/chunks/yG62-yMx.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BzwpipVo.js +0 -2
- package/build/client/_app/immutable/entry/app.BzwpipVo.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BzwpipVo.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.CD_kBgvT.js +0 -1
- package/build/client/_app/immutable/entry/start.CD_kBgvT.js.br +0 -0
- package/build/client/_app/immutable/entry/start.CD_kBgvT.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.Dhq3WtUH.js +0 -9
- package/build/client/_app/immutable/nodes/0.Dhq3WtUH.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.Dhq3WtUH.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.yHMjTNFd.js +0 -1
- package/build/client/_app/immutable/nodes/1.yHMjTNFd.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.yHMjTNFd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.66I7WPUt.js +0 -9
- package/build/client/_app/immutable/nodes/10.66I7WPUt.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.66I7WPUt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CXZNAZjz.js +0 -2
- package/build/client/_app/immutable/nodes/11.CXZNAZjz.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CXZNAZjz.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BWkGQW68.js +0 -6
- package/build/client/_app/immutable/nodes/12.BWkGQW68.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BWkGQW68.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BCSIdGf1.js +0 -1
- package/build/client/_app/immutable/nodes/13.BCSIdGf1.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BCSIdGf1.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.C4w338BK.js +0 -10
- package/build/client/_app/immutable/nodes/14.C4w338BK.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.C4w338BK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.GzfNuiIx.js +0 -1
- package/build/client/_app/immutable/nodes/15.GzfNuiIx.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.GzfNuiIx.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.BY0OGPl3.js +0 -3
- package/build/client/_app/immutable/nodes/16.BY0OGPl3.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.BY0OGPl3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.CAads_mj.js +0 -1
- package/build/client/_app/immutable/nodes/17.CAads_mj.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CAads_mj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.CQ5rMFpj.js +0 -14
- package/build/client/_app/immutable/nodes/18.CQ5rMFpj.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.CQ5rMFpj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.DoJhF8cr.js +0 -150
- package/build/client/_app/immutable/nodes/19.DoJhF8cr.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.DoJhF8cr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.D4BBcUZD.js +0 -40
- package/build/client/_app/immutable/nodes/2.D4BBcUZD.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.D4BBcUZD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.CK_5DmRX.js +0 -25
- package/build/client/_app/immutable/nodes/20.CK_5DmRX.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.CK_5DmRX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.tAgxJC5p.js +0 -5
- package/build/client/_app/immutable/nodes/21.tAgxJC5p.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.tAgxJC5p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.D5HIwciL.js +0 -18
- package/build/client/_app/immutable/nodes/22.D5HIwciL.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.D5HIwciL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DglV_zOB.js +0 -4
- package/build/client/_app/immutable/nodes/24.DglV_zOB.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DglV_zOB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.bNd_Dtqo.js +0 -6
- package/build/client/_app/immutable/nodes/26.bNd_Dtqo.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.bNd_Dtqo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.BfZYpgpu.js +0 -8
- package/build/client/_app/immutable/nodes/27.BfZYpgpu.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.BfZYpgpu.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.CvG4tqfv.js +0 -2
- package/build/client/_app/immutable/nodes/28.CvG4tqfv.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.CvG4tqfv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.vBXAqAaG.js +0 -5
- package/build/client/_app/immutable/nodes/29.vBXAqAaG.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.vBXAqAaG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DwPoOq5S.js +0 -2
- package/build/client/_app/immutable/nodes/3.DwPoOq5S.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DwPoOq5S.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.zNvkyZ-K.js +0 -4
- package/build/client/_app/immutable/nodes/30.zNvkyZ-K.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.zNvkyZ-K.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.BGV4-1As.js +0 -3
- package/build/client/_app/immutable/nodes/31.BGV4-1As.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.BGV4-1As.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.eV1sEYs0.js +0 -7
- package/build/client/_app/immutable/nodes/32.eV1sEYs0.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.eV1sEYs0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.DLGSDg3O.js +0 -2
- package/build/client/_app/immutable/nodes/33.DLGSDg3O.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.DLGSDg3O.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.DXqmQc83.js +0 -4
- package/build/client/_app/immutable/nodes/34.DXqmQc83.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.DXqmQc83.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.CZ_gU3oF.js +0 -7
- package/build/client/_app/immutable/nodes/35.CZ_gU3oF.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.CZ_gU3oF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.CkCw-RFR.js +0 -6
- package/build/client/_app/immutable/nodes/36.CkCw-RFR.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.CkCw-RFR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.DHXxzca8.js +0 -23
- package/build/client/_app/immutable/nodes/37.DHXxzca8.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.DHXxzca8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.DFBa_FHA.js +0 -1
- package/build/client/_app/immutable/nodes/38.DFBa_FHA.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.DFBa_FHA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.BRBsBcEd.js +0 -5
- package/build/client/_app/immutable/nodes/4.BRBsBcEd.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.BRBsBcEd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/40.9Zdbx_6A.js +0 -6
- package/build/client/_app/immutable/nodes/40.9Zdbx_6A.js.br +0 -0
- package/build/client/_app/immutable/nodes/40.9Zdbx_6A.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.xQMET0O9.js +0 -1
- package/build/client/_app/immutable/nodes/5.xQMET0O9.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.xQMET0O9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.pCIGTPiW.js +0 -3
- package/build/client/_app/immutable/nodes/8.pCIGTPiW.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.pCIGTPiW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.COijf-kc.js +0 -10
- package/build/client/_app/immutable/nodes/9.COijf-kc.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.COijf-kc.js.gz +0 -0
- package/build/server/chunks/chunks/ConsoleWindow.js-Fy80ITde.js +0 -120
- package/build/server/chunks/chunks/DecisionForm.js-CGXVl0Ew.js +0 -246
- package/build/server/chunks/chunks/DecisionsBadge.js-B1u51GOK.js +0 -78
- package/build/server/chunks/chunks/Discussion.js-C0cR_sJ7.js +0 -581
- package/build/server/chunks/chunks/EtaLine.js-DZaZbteA.js +0 -41
- package/build/server/chunks/chunks/ResizableRail.js-D23G9R7d.js +0 -900
- package/build/server/chunks/chunks/Sheet.js-CjZDwlbd.js +0 -3958
- package/build/server/chunks/chunks/TaskView.js-DAZFWu1M.js +0 -3015
- package/build/server/chunks/chunks/TimeBar.js-BaEB0RHk.js +0 -32
- package/build/server/chunks/chunks/TimeLegend.js-Dk3obyPy.js +0 -29
- package/build/server/chunks/chunks/bell.js-CFf6k_A-.js +0 -194
- package/build/server/chunks/chunks/chat.svelte.js-o7Bx_hjm.js +0 -371
- package/build/server/chunks/chunks/decisionhome.js-B8fMEoGK.js +0 -311
- package/build/server/chunks/chunks/detail.js--FlHG9nh.js +0 -149
- package/build/server/chunks/chunks/features.js-Dih8hX3K.js +0 -181
- package/build/server/chunks/chunks/feedback.js-LJ309BvN.js +0 -67
- package/build/server/chunks/chunks/handled.js-D9a3Vg06.js +0 -20
- package/build/server/chunks/chunks/inbox.js-BTGWlv8y.js +0 -222
- package/build/server/chunks/chunks/insights.js-CzzfyHGp.js +0 -100
- package/build/server/chunks/chunks/insights.svelte.js-F2Gg47lw.js +0 -564
- package/build/server/chunks/chunks/internal.js-6RTOSiHV.js +0 -151
- package/build/server/chunks/chunks/livereview.svelte.js-DeQC-NNP.js +0 -61
- package/build/server/chunks/chunks/marketplace-service.js-CQxN7Svk.js +0 -557
- package/build/server/chunks/chunks/ondeck.js-BV5Wby4b.js +0 -119
- package/build/server/chunks/chunks/package.js-CAv03PEq.js +0 -160
- package/build/server/chunks/chunks/page.js-fCVZHlMb.js +0 -13
- package/build/server/chunks/chunks/previewhelper2.js-C5bTVzlM.js +0 -210
- package/build/server/chunks/chunks/runtime.js-cZr90O_e.js +0 -25604
- package/build/server/chunks/chunks/scribe.js-BJCmTnho.js +0 -1317
- package/build/server/chunks/chunks/service.js-BdmWPXK6.js +0 -1339
- package/build/server/chunks/chunks/service2.js-j4SgZ6pg.js +0 -835
- package/build/server/chunks/chunks/service3.js-BoYBMTwq.js +0 -234
- package/build/server/chunks/chunks/settings.js-jH4CFZJv.js +0 -379
- package/build/server/chunks/chunks/slots.svelte.js-CLIV5nwM.js +0 -34
- package/build/server/chunks/chunks/starter.js-BwCMR4Yw.js +0 -400
- package/build/server/chunks/chunks/store.js-CNgqr3Sa.js +0 -332
- package/build/server/chunks/chunks/uploads.js-D6dIdsOn.js +0 -107
- package/build/server/chunks/chunks/view.js-70mnbUnS.js +0 -76
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-B9MguflG.js +0 -112
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-Bj_eLVr7.js +0 -111
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-B2_NQ-wr.js +0 -59
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-3e4TPgLb.js +0 -75
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-6oES5M1e.js +0 -79
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-e5JeydQY.js +0 -154
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-CoKMlAw2.js +0 -56
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-RD3-qvyf.js +0 -71
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-DFJ94uPq.js +0 -107
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-C4JHr1M8.js +0 -83
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-CyBA8db_.js +0 -73
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-BWpUYoln.js +0 -66
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-Cxb4EbQ_.js +0 -66
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-CMig3jjk.js +0 -67
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-Cvx9TvOG.js +0 -73
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-D7vS1eV6.js +0 -66
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-B-R__uGD.js +0 -115
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-uEkhCIEP.js +0 -76
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-CGVZFZvK.js +0 -87
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-B1505ThG.js +0 -75
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-CrF2g5aj.js +0 -66
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-pnIDY7K-.js +0 -32
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-BBzkAG43.js +0 -40
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-DCDHAG_C.js +0 -58
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-CHHQnXqo.js +0 -58
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-L3f-eNa_.js +0 -85
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-D0kPEZPG.js +0 -83
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-Csxn1EN6.js +0 -76
- package/build/server/chunks/entries/endpoints/api/inbox/talk/_server.ts.js-DmcjNfMk.js +0 -168
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-CDTuaU9t.js +0 -58
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-D2hKWyxM.js +0 -87
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-B9kNt8rx.js +0 -96
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-PBAb7AW4.js +0 -118
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-BSw9Px9H.js +0 -72
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-DMXEdfLj.js +0 -93
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-BzYcm4Kd.js +0 -82
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-BDYLddcX.js +0 -77
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-BEknaQwW.js +0 -74
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CDIsr7Bf.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Bo_4pQ4c.js +0 -81
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-BoDzPayJ.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-CnkWrBd-.js +0 -58
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-DXZ91cN3.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-BGPoZWuy.js +0 -42
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-DWywW_DR.js +0 -63
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-DybUChTZ.js +0 -72
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-Dn2QySbr.js +0 -69
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-C_6UckpC.js +0 -73
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-DvmesxRx.js +0 -27
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-C9TNCKGa.js +0 -81
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-CRLll35o.js +0 -63
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-Za4yf4A2.js +0 -72
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-CyiDAbW0.js +0 -84
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-BewTImD8.js +0 -71
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-C0AHChZa.js +0 -94
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-0qXL2fkF.js +0 -77
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-BFUQnApt.js +0 -473
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js--6vKvPZA.js +0 -88
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-COKRc-h1.js +0 -67
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-D1ukAp8f.js +0 -77
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-NtSLzN6r.js +0 -137
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-B9CJeJck.js +0 -66
- package/build/server/chunks/entries/endpoints/api/soundings/_server.ts.js-B17swRmT.js +0 -80
- package/build/server/chunks/entries/endpoints/api/soundings/beacon/_server.ts.js-BYr3apJw.js +0 -66
- package/build/server/chunks/entries/endpoints/api/soundings/settings/_server.ts.js-Bq_-6JVh.js +0 -69
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-R2q0sQMS.js +0 -63
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DrLOGsAH.js +0 -82
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-Bac3l6bL.js +0 -109
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-AuUJ4BeS.js +0 -75
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-BnbcsVj4.js +0 -104
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-CPaNxkVb.js +0 -123
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-Bi-Fob6v.js +0 -77
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-CMvfqA3Q.js +0 -80
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-DgbjBBHe.js +0 -81
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-CDJw-qb6.js +0 -24
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-fE4l8QwX.js +0 -31
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-Cx1QMpz2.js +0 -33
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-yTrmGKho.js +0 -93
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-13rG1MwQ.js +0 -40
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-C4Xfqrra.js +0 -27
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-DW8kSHPw.js +0 -27
- package/build/server/chunks/entries/endpoints/tasks/_id_/live/_server.ts.js-DS9-M-b4.js +0 -82
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-DP98TWeq.js +0 -62
- package/build/server/chunks/entries/hooks.server.js-BM8E0gpv.js +0 -104
- package/build/server/chunks/entries/pages/_layout.server.ts.js-CluxBPd9.js +0 -54
- package/build/server/chunks/entries/pages/_layout.svelte.js-CvC6XBJv.js +0 -6027
- package/build/server/chunks/entries/pages/_page.server.ts.js-D2QMdfL0.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-_lqRKq5L.js +0 -5776
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-DPAqRea5.js +0 -114
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-DyAbQkMO.js +0 -11
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-CpO0O1OU.js +0 -203
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-BJITFeO4.js +0 -16
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-BXRSYCJu.js +0 -92
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-C3LD1BT_.js +0 -17
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-DsRcX_45.js +0 -848
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-DpsIf7Pv.js +0 -11
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-DpQNL_3w.js +0 -296
- package/build/server/chunks/entries/pages/health/_page.server.ts.js-Cwk3L0w7.js +0 -16
- package/build/server/chunks/entries/pages/health/_page.svelte.js-Hv9ZBH4n.js +0 -517
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-CxyAZYbW.js +0 -11
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-B0s298VF.js +0 -653
- package/build/server/chunks/entries/pages/more/_page.svelte.js-CufPJWN5.js +0 -152
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-BNu_Il1B.js +0 -16
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-C5XPxJUP.js +0 -60
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-6mMa95U9.js +0 -23
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-DHr4nadD.js +0 -982
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-BI85_WI4.js +0 -21
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-Bf2ZytHx.js +0 -82
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-BY5F4iRs.js +0 -27
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-JqXcyM-3.js +0 -420
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-DCcrph6L.js +0 -15
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-DurqJs4i.js +0 -11
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-DTAfyct4.js +0 -347
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-uBLPj30-.js +0 -13
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-B3XP4Mv2.js +0 -12
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-C_tT_XcY.js +0 -18
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-BrxRYmPf.js +0 -19
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-BQUO52Oz.js +0 -16
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-CZtFqHkG.js +0 -15
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-DvO07PUQ.js +0 -83
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-DZOcknQr.js +0 -797
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-C0iO80FL.js +0 -11
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-82UzMnWS.js +0 -258
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-DnrtuT-P.js +0 -19
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-BtSlrNLU.js +0 -17
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-BJxcdTwX.js +0 -11
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-CJ7ZIGSV.js +0 -11
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-3Rr1IkEr.js +0 -15
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-DVkUjB0_.js +0 -18
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-CMfNanSa.js +0 -36
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-DS5ww-c8.js +0 -111
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-DtSw_Q54.js +0 -24
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-QALRGJUr.js +0 -11
- package/build/server/chunks/entries/pages/time/_page.svelte.js-CWz6ug4X.js +0 -109
- package/build/server/chunks/handler-Bvp0qt9e.js +0 -1474
- package/build/server/chunks/index.js-7mpQXqzC.js +0 -4296
- package/build/server/chunks/manifest.js-T_WNty6C.js +0 -969
- package/build/server/chunks/nodes/0.js-Dy6gwdSF.js +0 -66
- package/build/server/chunks/nodes/1.js-De9euts4.js +0 -9
- package/build/server/chunks/nodes/10.js-DS7ATdRs.js +0 -65
- package/build/server/chunks/nodes/11.js-B3_Apgy1.js +0 -63
- package/build/server/chunks/nodes/12.js-CpSnWUfO.js +0 -12
- package/build/server/chunks/nodes/13.js-BuTqnKfr.js +0 -9
- package/build/server/chunks/nodes/14.js-CiScnvpz.js +0 -9
- package/build/server/chunks/nodes/15.js-T3bIsgPK.js +0 -63
- package/build/server/chunks/nodes/16.js-CaIcfdKC.js +0 -66
- package/build/server/chunks/nodes/17.js-DYL2SoDa.js +0 -64
- package/build/server/chunks/nodes/18.js-oe_eNXyA.js +0 -65
- package/build/server/chunks/nodes/19.js-Dk6q4s4J.js +0 -64
- package/build/server/chunks/nodes/2.js-BmQDwSDo.js +0 -63
- package/build/server/chunks/nodes/20.js-LLD77cdY.js +0 -24
- package/build/server/chunks/nodes/21.js-CUhS1eNZ.js +0 -25
- package/build/server/chunks/nodes/22.js-AuZ09WRs.js +0 -9
- package/build/server/chunks/nodes/23.js-DlV1Jrn6.js +0 -25
- package/build/server/chunks/nodes/24.js-FQB_iX08.js +0 -63
- package/build/server/chunks/nodes/26.js-JUUNJp7P.js +0 -64
- package/build/server/chunks/nodes/27.js-DXQ8W67z.js +0 -63
- package/build/server/chunks/nodes/28.js-Ddn4hART.js +0 -25
- package/build/server/chunks/nodes/29.js-BhptZFCg.js +0 -63
- package/build/server/chunks/nodes/3.js-5DSpCS2k.js +0 -9
- package/build/server/chunks/nodes/30.js-BAH4T6wQ.js +0 -24
- package/build/server/chunks/nodes/31.js-BAIITJxI.js +0 -22
- package/build/server/chunks/nodes/32.js-CGMbisgI.js +0 -63
- package/build/server/chunks/nodes/33.js-1locOzP7.js +0 -66
- package/build/server/chunks/nodes/34.js-rMPJs5gg.js +0 -65
- package/build/server/chunks/nodes/35.js-CV7e0chM.js +0 -26
- package/build/server/chunks/nodes/36.js-CVSr0Bet.js +0 -65
- package/build/server/chunks/nodes/37.js-D9Nm1p6U.js +0 -67
- package/build/server/chunks/nodes/38.js-CJ7LvNbT.js +0 -64
- package/build/server/chunks/nodes/39.js-Bua06boj.js +0 -64
- package/build/server/chunks/nodes/4.js-DBns7Efd.js +0 -63
- package/build/server/chunks/nodes/40.js-DNpfaIg1.js +0 -63
- package/build/server/chunks/nodes/5.js-CeB93n7z.js +0 -63
- package/build/server/chunks/nodes/7.js-CTTfkWcF.js +0 -63
- package/build/server/chunks/nodes/8.js-q9hSu722.js +0 -14
- package/build/server/chunks/nodes/9.js-BLtytIdN.js +0 -63
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{s as vt}from"./B42VotjV.js";import{H as B,N as Y,r as me,n as O,i as Oe,b as T,s as $,a as Se,f as rt,g as Ie,c as oe,d as be,S as je,P as nt,p as I,e as bt,m as Et,h as kt,o as Ne,u as xe,j as At,w as St,k as Xe,l as X,q as It,t as at,v as Rt,x as Pt,y as ot}from"./CbiqPRp4.js";import{P as se,O as Lt,k as Tt}from"./CEfkcOME.js";class te{constructor(t,r){this.status=t,typeof r=="string"?this.body={message:r}:r?this.body=r:this.body={message:`Error: ${t}`}}toString(){return JSON.stringify(this.body)}}class De{constructor(t,r){try{new Headers({location:r})}catch{throw new Error(`Invalid redirect location ${JSON.stringify(r)}: this string contains characters that cannot be used in HTTP headers`)}this.status=t,this.location=r}}class Ce extends Error{constructor(t,r,n){super(n),this.status=t,this.text=r}}const Ut=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Ot=/^\/\((?:[^)]+)\)$/;function jt(e){const t=[];return{pattern:e==="/"||Ot.test(e)?/^\/$/:new RegExp(`^${xt(e).map(n=>{const i=/^\[\.\.\.(\w+)(?:=(\w+))?\]$/.exec(n);if(i)return t.push({name:i[1],matcher:i[2],optional:!1,rest:!0,chained:!0}),"(?:/([^]*))?";const a=/^\[\[(\w+)(?:=(\w+))?\]\]$/.exec(n);if(a)return t.push({name:a[1],matcher:a[2],optional:!0,rest:!1,chained:!0}),"(?:/([^/]+))?";if(!n)return;const s=n.split(/\[(.+?)\](?!\])/);return"/"+s.map((c,f)=>{if(f%2){if(c.startsWith("x+"))return Ee(String.fromCharCode(parseInt(c.slice(2),16)));if(c.startsWith("u+"))return Ee(String.fromCharCode(...c.slice(2).split("-").map(y=>parseInt(y,16))));const l=Ut.exec(c),[,h,d,u,p]=l;return t.push({name:u,matcher:p,optional:!!h,rest:!!d,chained:d?f===1&&s[0]==="":!1}),d?"([^]*?)":h?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Nt(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function xt(e){return e.slice(1).split("/").filter(Nt)}function Dt(e,t,r){const n={},i=e.slice(1),a=i.filter(o=>o!==void 0);let s=0;for(let o=0;o<t.length;o+=1){const c=t[o];let f=i[o-s];if(c.chained&&c.rest&&s&&(f=i.slice(o-s,o+1).filter(l=>l).join("/"),s=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[o+1],h=i[o+1];l&&!l.rest&&l.optional&&h&&c.chained&&(s=0),!l&&!h&&Object.keys(n).length===a.length&&(s=0);continue}if(c.optional&&c.chained){s++;continue}return}if(!s)return n}function Ee(e){return e.normalize().replace(/[[\]]/g,"\\$&").replace(/%/g,"%25").replace(/\//g,"%2[Ff]").replace(/\?/g,"%3[Ff]").replace(/#/g,"%23").replace(/[.*+?^${}()|\\]/g,"\\$&")}function Ct({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([o,[c,f,l]])=>{const{pattern:h,params:d}=jt(o),u={id:o,exec:p=>{const y=h.exec(p);if(y)return Dt(y,d,n)},errors:[1,...l||[]].map(p=>e[p]),layouts:[0,...f||[]].map(s),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(o){const c=o<0;return c&&(o=~o),[c,e[o]]}function s(o){return o===void 0?o:[i.has(o),e[o]]}}function st(e,t=JSON.parse){try{return t(sessionStorage[e])}catch{}}function ze(e,t,r=JSON.stringify){const n=r(t);try{sessionStorage[e]=n}catch{}}const Bt=-1,Mt=-2,$t=-3,Ft=-4,qt=-5,Vt=-6,Ht=-7,it=2**32-1,Re=it-1;function Yt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function Kt(e){return!(!Number.isInteger(e)||e<0||e>it)}function Gt(e){return Uint8Array.fromBase64(e).buffer}function Xt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function zt(e){const t=atob(e),r=t.length,n=new Uint8Array(r);for(let i=0;i<r;i++)n[i]=t.charCodeAt(i);return n.buffer}const Wt=typeof Uint8Array.fromBase64=="function",Jt=typeof process=="object"&&process.versions?.node!==void 0,Zt=Wt?Gt:Jt?Xt:zt;function Qt(e,t){return e}const er=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,tr={fromPrimitive:e=>e,fromISOString:e=>new Date(e),fromStringValue:(e,t)=>e==="URL"?new URL(t):e==="URLSearchParams"?new URLSearchParams(t):Temporal[e.slice(9)].from(t),fromArrayBuffer:e=>e,fromRegExpInfo:(e,t)=>new RegExp(e,t),fromViewInfo:(e,t,r,n)=>{try{er.call(t)}catch(a){if(!We)throw a;We.call(t)}const i=globalThis[e];return r!==void 0?new i(t,r,n):new i(t)},box:e=>Object(e),createArray:e=>new Array(e),createSparseArray:e=>{const t=[];return t[Re]=void 0,delete t[Re],t.length=e,t},createObject:()=>({}),createNullPrototypeObject:()=>Object.create(null),createSet:()=>new Set,createMap:()=>new Map,set:(e,t,r)=>{e[t]=r},addValue:(e,t)=>{e.add(t)},addEntry:(e,t,r)=>{e.set(t,r)}},rr=Object.freeze(tr);function nr(e,t,r){const n=Qt(rr);if(typeof e=="number")return o(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let s=null;function o(c,f=!1){if(c===Bt)return n.fromPrimitive(void 0);if(c===$t)return n.fromPrimitive(NaN);if(c===Ft)return n.fromPrimitive(1/0);if(c===qt)return n.fromPrimitive(-1/0);if(c===Vt)return n.fromPrimitive(-0);if(f||typeof c!="number")throw new Error("Invalid input");if(c in a)return a[c];if(c>=i.length)throw new Error("Invalid input");const l=i[c];if(!l||typeof l!="object")a[c]=n.fromPrimitive(l);else if(Array.isArray(l))if(typeof l[0]=="string"){const h=l[0],d=t&&Object.hasOwn(t,h)?t[h]:void 0;if(d){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=d(a[u]);if(s??=new Set,s.has(u))throw new Error("Invalid circular reference");return s.add(u),a[c]=d(o(u)),s.delete(u),a[c]}switch(h){case"Date":a[c]=n.fromISOString(l[1]);break;case"Set":const u=n.createSet();a[c]=u;for(let _=1;_<l.length;_+=1)n.addValue(u,o(l[_]));break;case"Map":const p=n.createMap();a[c]=p;for(let _=1;_<l.length;_+=2)n.addEntry(p,o(l[_]),o(l[_+1]));break;case"RegExp":a[c]=n.fromRegExpInfo(l[1],l[2]);break;case"Object":{const _=l[1];if(typeof i[_]=="object"&&i[_][0]!=="BigInt")throw new Error("Invalid input");a[c]=n.box(o(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const y=n.createNullPrototypeObject();a[c]=y;for(let _=1;_<l.length;_+=2){const m=l[_];if(typeof m!="string")throw new Error("Cannot parse an object with a non-string key");if(m==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(y,m,o(l[_+1]))}break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Float16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":case"DataView":{if(i[l[1]][0]!=="ArrayBuffer")throw new Error("Invalid data");const _=o(l[1]);a[c]=n.fromViewInfo(h,_,l[2],l[3]);break}case"ArrayBuffer":{const _=l[1];if(typeof _!="string")throw new Error("Invalid ArrayBuffer encoding");a[c]=n.fromArrayBuffer(Zt(_));break}case"URL":case"URLSearchParams":case"Temporal.Duration":case"Temporal.Instant":case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.PlainMonthDay":case"Temporal.PlainYearMonth":case"Temporal.ZonedDateTime":{a[c]=n.fromStringValue(h,l[1]);break}default:throw new Error(`Unknown type ${h}`)}}else if(l[0]===Ht){const h=l[1];if(!Kt(h))throw new Error("Invalid input");const d=n.createSparseArray(h);a[c]=d;for(let u=2;u<l.length;u+=2){const p=l[u];if(!Yt(p)||p>=h)throw new Error("Invalid input");n.set(d,p,o(l[u+1]))}}else{const h=n.createArray(l.length);a[c]=h;for(let d=0;d<l.length;d+=1){const u=l[d];u!==Mt&&n.set(h,d,o(u))}}else{const h=n.createObject();a[c]=h;for(const d of Object.keys(l)){if(d==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(h,d,o(l[d]))}}return a[c]}return o(0)}function ar(e){return e.filter(t=>t!=null)}const or="x-sveltekit-invalidated",sr="x-sveltekit-trailing-slash";function F(e,t){return e+"/"+t}function ie(e){return e instanceof te||e instanceof Ce?e.status:500}function ir(e){return e instanceof Ce?e.text:"Internal Error"}const cr="/__data.json",lr=".html__data.json";function fr(e){return e.endsWith(".html")?e.replace(/\.html$/,lr):e.replace(/\/$/,"")+cr}const Je={spanContext(){return ur},setAttribute(){return this},setAttributes(){return this},addEvent(){return this},setStatus(){return this},updateName(){return this},end(){return this},isRecording(){return!1},recordException(){return this},addLink(){return this},addLinks(){return this}},ur={traceId:"",spanId:"",traceFlags:0};async function*dr(e,t){let r=!1,n="";const i=new TextDecoder;for(;;){let a=n.indexOf(t);for(;a!==-1;)yield n.slice(0,a),n=n.slice(a+t.length),a=n.indexOf(t);if(r){n&&(yield n);return}const s=await e.read();r=s.done,s.value&&(n+=i.decode(s.value,{stream:!0})),r&&(n+=i.decode())}}async function*hr(e){for await(const t of dr(e,`
|
|
2
|
-
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:pr}=vt,_r=Tt??(e=>e()),mr=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const D=st(ot)??{},Z=st(at)??{},x={url:Xe({}),page:Xe({}),navigating:St(null),updated:At()};function Be(e){D[e]=$()}function gr(e,t){let r=e+1;for(;D[r];)delete D[r],r+=1;for(r=t+1;Z[r];)delete Z[r],r+=1}function K(e,t=!1){return t?location.replace(e.href):location.href=e.href,new Promise(O)}async function ct(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,N,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,q={element:void 0,href:void 0}}const ae=new Map,$e=new Set,lt=new Set,V=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Ze=!0,ee=!1,W=!1,ft=!1,re=!1,ge,A,R,U;const J=new Set;let ke;const de=new Map,he=new Map;async function Nr(e,t,r){if(globalThis.__sveltekit_18pfpek.data){const{q:a={},p:s={},l:o={},f:c={}}=globalThis.__sveltekit_18pfpek.data;for(const f in a)a[f];for(const f in o)o[f];for(const f in c)c[f];for(const f in s)s[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Ct(e),N=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),A=history.state?.[B],R=history.state?.[Y],A||(A=R=Date.now(),history.replaceState({...history.state,[B]:A,[Y]:R},""));const n=D[A];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await Rr(Le,r)):(await H({type:"enter",url:me(E.hash?Tr(new URL(location.href)):location.href),replace_state:!0}),i()),Ir()}async function yr(e=!0,t=!0){if(await(ke||=Promise.resolve()),!ke)return;ke=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const s of de.values())for(const{resource:o}of s.values())o.refresh();for(const[s,o]of he)for(const[c,{resource:f}]of o){const l=F(s,c),h=f.reconnect();h.catch(O),i.set(l,h)}}if(e){const s=I.state,o=n&&await Ye(n);if(!o||r!==U)return;if(o.type==="redirect")return qe(new URL(o.location,g.url).href,{replaceState:!0},1,r);t||(o.props.page.state=s),xe(o.props.page),g={...o.state,nav:g.nav},Te(),ge.$set(o.props)}else Te();const a=[];for(const s of de.values())for(const{resource:o}of s.values())a.push(o);for(const[s,o]of he)for(const c of o.keys()){const f=F(s,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(O)}function Te(){le.length=0,re=!1}function ut(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function dt(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Qe(){Be(A),ze(ot,D),ut(R),ze(at,Z)}async function qe(e,t,r,n){let i,a;t.invalidateAll&&Q(),await H({type:"goto",url:me(e),keepfocus:t.keepFocus,noscroll:t.noScroll,replace_state:t.replaceState,state:t.state,redirect_count:r,nav_token:n,accept:()=>{if(t.invalidateAll){re=!0,i=new Set;for(const[s,o]of de)for(const[c,f]of o)f.resource?.reset(),i.add(F(s,c));a=new Set;for(const[s,o]of he)for(const c of o.keys())a.add(F(s,c))}t.invalidate&&t.invalidate.forEach(Sr)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[s,o]of de)for(const[c,{resource:f}]of o)i?.has(F(s,c))&&f.start();for(const[s,o]of he)for(const[c,{resource:f}]of o)a?.has(F(s,c))&&f.reconnect()})}async function wr(e){if(e.id!==L?.id){Q();const t={};J.add(t),L={id:e.id,token:t,promise:Ye({...e,preload:t}).then(r=>(J.delete(t),r.type==="loaded"&&r.state.error&&Q(),r)),fork:null}}return L.promise}async function Ae(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function ht(e,t,r){const n={params:g.params,route:{id:g.route?.id??null},url:new URL(location.href)};if(g={...e.state,nav:n},xe(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:x,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:D[A]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};V.forEach(a=>a(i))}dt(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:s,form:o}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const p of r)p?.slash!==void 0&&(c=p.slash);e.pathname=kt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:s},props:{constructors:ar(r).map(p=>p.node.component),page:we(I)}};o!==void 0&&(f.props.form=o);let l={},h=!I,d=0;for(let p=0;p<Math.max(r.length,g.branch.length);p+=1){const y=r[p],_=g.branch[p];y?.data!==_?.data&&(h=!0),y&&(l={...l,...y.data},h&&(f.props[`data_${d}`]=l),d+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||o!==void 0&&o!==I.form||h)&&(f.props.page={error:a,params:t,route:{id:s?.id??null},state:{},status:i,url:new URL(e),form:o??null,data:h?l:I.data}),f}async function Ve({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let s=null,o=!0;const c={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},f=await e();if(f.universal?.load){let l=function(...d){for(const u of d){const{href:p}=new URL(u,r);c.dependencies.add(p)}};const h={tracing:{enabled:!1,root:Je,current:Je},route:new Proxy(i,{get:(d,u)=>(o&&(c.route=!0),d[u])}),params:new Proxy(n,{get:(d,u)=>(o&&c.params.add(u),d[u])}),data:a?.data??null,url:Et(r,()=>{o&&(c.url=!0)},d=>{o&&c.search_params.add(d)},E.hash),async fetch(d,u){d instanceof Request&&(u={body:d.method==="GET"||d.method==="HEAD"?void 0:await d.blob(),cache:d.cache,credentials:d.credentials,headers:[...d.headers].length>0?d?.headers:void 0,integrity:d.integrity,keepalive:d.keepalive,method:d.method,mode:d.mode,redirect:d.redirect,referrer:d.referrer,referrerPolicy:d.referrerPolicy,signal:d.signal,...u});const{resolved:p,promise:y}=pt(d,u,r);return o&&l(p.href),y},setHeaders:O,depends:l,parent(){return o&&(c.parent=!0),t()},untrack(d){o=!1;try{return d()}finally{o=!0}}};s=await f.universal.load.call(null,h)??null}return{node:f,loader:e,server:a,universal:f.universal?.load?{type:"data",data:s,uses:c}:null,data:s??a?.data??null,slash:f.universal?.trailingSlash??a?.slash}}function pt(e,t,r){let n=e instanceof Request?e.url:e;const i=new URL(n,r);i.origin===r.origin&&(n=i.href.slice(r.origin.length));const a=ue?Rt(n,i.href,t):Pt(n,t);return{resolved:i,promise:a}}function et(e,t,r,n,i,a){if(re)return!0;if(!i)return!1;if(i.parent&&e||i.route&&t||i.url&&r)return!0;for(const s of i.search_params)if(n.has(s))return!0;for(const s of i.params)if(a[s]!==g.params[s])return!0;for(const s of i.dependencies)if(le.some(o=>o(new URL(s))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function vr(e,t){if(!e)return new Set(t.searchParams.keys());const r=new Set([...e.searchParams.keys(),...t.searchParams.keys()]);for(const n of r){const i=e.searchParams.getAll(n),a=t.searchParams.getAll(n);i.every(s=>a.includes(s))&&a.every(s=>i.includes(s))&&r.delete(n)}return r}function tt({error:e,url:t,route:r,params:n}){return{type:"loaded",state:{error:e,url:t,route:r,params:n,branch:[]},props:{page:we(I),constructors:[]}}}async function Ye({id:e,invalidating:t,url:r,params:n,route:i,preload:a}){if(L?.id===e)return J.delete(L.token),L.promise;const{errors:s,layouts:o,leaf:c}=i,f=[...o,c];s.forEach(w=>w?.().catch(O)),f.forEach(w=>w?.[1]().catch(O));let l=null;const h=g.url?e!==_e(g.url):!1,d=g.route?i.id!==g.route.id:!1,u=vr(g.url,r);let p=!1;{const w=f.map((v,k)=>{const S=g.branch[k],b=!!v?.[0]&&(S?.loader!==v[1]||et(p,d,h,u,S.server?.uses,n));return b&&(p=!0),b});if(w.some(Boolean)){try{l=await gt(r,w)}catch(v){const k=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?tt({error:k,url:r,params:n,route:i}):ye({status:ie(v),error:k,url:r,route:i})}if(l.type==="redirect")return l}}const y=l?.nodes;let _=!1;const m=f.map(async(w,v)=>{if(!w)return;const k=g.branch[v],S=y?.[v];if((!S||S.type==="skip")&&w[1]===k?.loader&&!et(_,d,h,u,k.universal?.uses,n))return k;if(_=!0,S?.type==="error")throw S;return Ve({loader:w[1],url:r,params:n,route:i,parent:async()=>{const j={};for(let C=0;C<v;C+=1)Object.assign(j,(await m[C])?.data);return j},server_data_node:He(S===void 0&&w[0]?{type:"skip"}:S??null,w[0]?k?.server:void 0)})});for(const w of m)w.catch(O);const P=[];for(let w=0;w<f.length;w+=1)if(f[w])try{P.push(await m[w])}catch(v){if(v instanceof De)return{type:"redirect",location:v.location};if(a&&J.has(a))return tt({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let k=ie(v),S;if(y?.includes(v))k=v.status??k,S=v.error;else if(v instanceof te)S=v.body;else{if(await x.updated.check())return await ct(),await K(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await br(w,P,s);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:s,status:k,error:S,route:i}):await mt(r,{id:i.id},S,k)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:s,status:200,error:null,route:i,form:t?void 0:null})}async function br(e,t,r){for(;e--;)if(r[e]){let n=e;for(;!t[n];)n-=1;try{return{idx:n+1,node:{node:await r[e](),loader:r[e],data:{},server:null,universal:null}}}catch{continue}}}async function ye({status:e,error:t,url:r,route:n}){const i={};let a=null;if(E.server_loads[0]===0)try{const o=await gt(r,[!0]);if(o.type!=="data"||o.nodes[0]&&o.nodes[0].type!=="data")throw 0;a=o.nodes[0]??null}catch(o){if(!(o instanceof te&&o.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await K(r)}try{const s=await Ve({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),o={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[s,o],status:e,error:t,errors:[],route:null})}catch(s){if(s instanceof De){await qe(new URL(s.location,location.href),{},0);return}const o=await E.get_error_template(),c=await M(s,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=o({status:e,message:f}),h=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(h.head),document.head),document.documentElement.replaceChild(document.adoptNode(h.body),document.body),s}}async function Er(e){const t=e.href;if(ae.has(t))return ae.get(t);let r;try{const n=(async()=>{let i=await E.hooks.reroute({url:new URL(e),fetch:async(a,s)=>pt(a,s,e).promise})??e;if(typeof i=="string"){const a=new URL(e);E.hash?a.hash=i:a.pathname=i,i=a}return i})();ae.set(t,n),r=await n}catch{ae.delete(t);return}return r}async function ne(e,t){if(e&&!Oe(e,T,E.hash)){const r=await Er(e);if(!r)return;const n=kr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:bt(a),url:e}}}}function kr(e){return It(E.hash?e.hash.replace(/^#/,"").replace(/[?#].+/,""):e.pathname.slice(T.length))||"/"}function _e(e){return(E.hash?e.hash.replace(/^#/,""):e.pathname)+e.search}function _t({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let s=!1;const o=Ge(g,r,e,t,a??null);n!==void 0&&(o.navigation.delta=n),i!==void 0&&(o.navigation.event=i);const c={...o.navigation,cancel:()=>{s=!0,o.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),s?null:o}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:s={},redirect_count:o=0,nav_token:c={},accept:f=O,block:l=O,event:h}){const d=U;U=c;const u=await ne(t,!1),p=e==="enter"?Ge(g,u,t,e):_t({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:h});if(!p){l(),U===c&&(U=d);return}const y=A,_=R;f(),ee=!0,ue&&p.navigation.type!=="enter"&&x.navigating.set(Se.current=p.navigation);let m=u&&await Ye(u);if(!m){if(Oe(t,T,E.hash))return await K(t,a);m=await mt(t,{id:null},await M(new Ce(404,"Not Found",`Not found: ${t.pathname}`),{url:t,params:{},route:{id:null}}),404,a)}if(t=u?.url||t,U!==c){p.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(o<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:s,redirect_count:o+1,nav_token:c}),p.fulfil(void 0);return}if(m=await ye({status:500,error:await M(new Error("Redirect loop"),{url:t,params:{},route:{id:null}}),url:t,route:{id:null}}),!m)return}else if(m.props.page.status>=400&&await x.updated.check())return await ct(),await K(t,a);if(Te(),Be(y),ut(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),s=r?r.state:s,!r){const b=a?0:1,j={[B]:A+=b,[Y]:R+=b,[je]:s};(a?history.replaceState:history.pushState).call(history,j,"",t),a||gr(A,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,q={element:void 0,href:void 0}),m.props.page.state=s;let w;if(ue){const b=(await Promise.all(Array.from(lt,G=>G(p.navigation)))).filter(G=>typeof G=="function");if(b.length>0){let G=function(){b.forEach(ve=>{V.delete(ve)})};b.push(G),b.forEach(ve=>{V.add(ve)})}const j=p.navigation.to;g={...m.state,nav:{params:j.params,route:j.route,url:j.url}},m.props.page&&(m.props.page.url=t),!n&&document.activeElement instanceof HTMLElement&&document.activeElement!==document.body&&document.activeElement.blur();const C=P&&await P;C?w=C.commit():(z=null,ge.$set(m.props),z&&Object.assign(m.props.page,z),xe(m.props.page),w=Lt?.()),ft=!0}else await ht(m,Le,!1);const{activeElement:v}=document;if(await w,await se(),await se(),U!==c){p.reject(new Error("navigation aborted"));return}m.props.page&&z&&Object.assign(m.props.page,z);let k=null;if(Ze){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(k=t.hash&&document.getElementById(wt(t)))?k.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Lr(t,!k),Ze=!0,ee=!1,p.fulfil(void 0),p.navigation.to&&(p.navigation.to.scroll=$()),V.forEach(b=>b(p.navigation)),e==="popstate"&&dt(R),x.navigating.set(Se.current=null)}async function mt(e,t,r,n,i){return e.origin===Ne&&e.pathname===location.pathname&&!Fe?await ye({status:n,error:r,url:e,route:t}):await K(e,i)}let q={element:void 0,href:void 0};function Ar(){let e,t;N.addEventListener("mousemove",s=>{const o=s.target;clearTimeout(e),e=setTimeout(()=>{i(o,X.hover)},20)});function r(s){s.defaultPrevented||i(s.composedPath()[0],X.tap)}N.addEventListener("mousedown",r),N.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(s=>{for(const o of s)o.isIntersecting&&(Ae(new URL(o.target.href)),n.unobserve(o.target))},{threshold:0});async function i(s,o){const c=rt(s,N),f=c===q.element&&c?.href===q.href&&o>=t;if(!c||f)return;const{url:l,external:h,download:d}=Ie(c,T,E.hash);if(h||d)return;const u=oe(c),p=l&&_e(g.url)===_e(l);if(!(u.reload||p))if(o<=u.preload_data){q={element:c,href:c.href},t=X.tap;const y=await ne(l,!1);if(!y)return;wr(y)}else o<=u.preload_code&&(q={element:c,href:c.href},t=o,Ae(l))}function a(){n.disconnect();for(const s of N.querySelectorAll("a")){const{url:o,external:c,download:f}=Ie(s,T,E.hash);if(c||f)continue;const l=oe(s);l.reload||(l.preload_code===X.viewport&&n.observe(s),l.preload_code===X.eager&&Ae(o))}}V.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ir(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ke(e,t){pr(()=>(e.add(t),()=>{e.delete(t)}))}function xr(e){Ke(V,e)}function Dr(e){Ke($e,e)}function Cr(e){Ke(lt,e)}function Br(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):qe(e,t,0)}function Sr(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function Mr(){return re=!0,yr()}function $r(e,t){const r={[B]:A,[Y]:R,[nt]:I.url.href,[je]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:_r(()=>we(I))})}function Ir(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Qe(),!ee){const n=Ge(g,void 0,null,"leave"),i={...n.navigation,cancel:()=>{r=!0,n.reject(new Error("navigation cancelled"))}};$e.forEach(a=>a(i))}r?(t.preventDefault(),t.returnValue=""):history.scrollRestoration="auto"}),addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Qe()}),navigator.connection?.saveData||Ar(),N.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=rt(t.composedPath()[0],N);if(!r)return;const{url:n,external:i,target:a,download:s}=Ie(r,T,E.hash);if(!n)return;if(a==="_parent"||a==="_top"){if(window.parent!==window)return}else if(a&&a!=="_self")return;const o=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||s)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),h=f===be(location);if(i||o.reload&&(!h||!l)){_t({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&h){const[,d]=g.url.href.split("#");if(d===l){if(t.preventDefault(),l===""||l==="top"&&r.ownerDocument.getElementById("top")===null)scrollTo({top:0});else{const u=r.ownerDocument.getElementById(decodeURIComponent(l));u&&(u.scrollIntoView(),u.focus())}return}if(W=!0,Be(A),e(n),!o.replace_state)return;W=!1}t.preventDefault(),await new Promise(d=>{requestAnimationFrame(()=>{setTimeout(d,0)}),setTimeout(d,100)}),await H({type:"link",url:n,keepfocus:o.keepfocus,noscroll:o.noscroll,replace_state:o.replace_state??n.href===location.href,event:t})}),N.addEventListener("submit",t=>{if(t.defaultPrevented)return;const r=HTMLFormElement.prototype.cloneNode.call(t.target),n=t.submitter;if((n?.formTarget||r.target)==="_blank"||(n?.formMethod||r.method)!=="get")return;const s=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(Oe(s,T,!1))return;const o=t.target,c=oe(o);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(o,n);s.search=new URLSearchParams(f).toString(),H({type:"form",url:s,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??s.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===A)return;const n=D[r],i=t.state[je]??{},a=new URL(t.state[nt]??location.href),s=t.state[Y],o=g.url?be(location)===be(g.url):!1;if(s===R&&(ft||o)){i!==I.state&&(I.state=i),e(a),D[A]=$(),n&&scrollTo(n.x,n.y),A=r;return}const f=r-A;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{A=r,R=s},block:()=>{history.go(-f)},nav_token:U,event:t})}else if(!W){const r=new URL(location.href);e(r),E.hash&&location.reload()}}}),addEventListener("hashchange",()=>{W&&(W=!1,history.replaceState({...history.state,[B]:++A,[Y]:R},"",location.href))});for(const t of document.querySelectorAll("link"))mr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&x.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,x.page.set(we(I)),x.page.notify()}}async function Rr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:s,data:o,form:c}){Fe=!0;const f=new URL(location.href);let l;({params:i={},route:a={id:null}}=await ne(f,!1)||{}),l=Me.find(({id:u})=>u===a.id);let h,d=!0;try{const u=n.map(async(y,_)=>{const m=o[_];return m?.uses&&(m.uses=yt(m.uses)),Ve({loader:E.nodes[y],url:f,params:i,route:a,parent:async()=>{const P={};for(let w=0;w<_;w+=1)Object.assign(P,(await u[w]).data);return P},server_data_node:He(m)})}),p=await Promise.all(u);if(l){const y=l.layouts;for(let _=0;_<y.length;_++)y[_]||p.splice(_,0,void 0)}h=await pe({url:f,params:i,branch:p,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof De)return await K(new URL(u.location,location.href));h=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",d=!1}h&&(h.props.page&&(h.props.page.state={}),await ht(h,e,d))}async function gt(e,t){const r=new URL(e);r.pathname=fr(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(sr,"1"),r.searchParams.append(or,t.map(a=>a?"1":"0").join(""));const n=window.fetch,i=await n(r.href,{});if(!i.ok){let a;throw i.headers.get("content-type")?.includes("application/json")?a=await i.json():i.status===404?a="Not Found":i.status===500&&(a="Internal Error"),new te(i.status,a)}return new Promise((a,s)=>{Pr(a,i).catch(s)})}async function Pr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return nr(a,{...E.decoders,Promise:s=>new Promise((o,c)=>{n.set(s,{fulfil:o,reject:c})})})}for await(const a of hr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(s=>{s?.type==="data"&&(s.uses=yt(s.uses),s.data=i(s.data))}),e(a);else if(a.type==="chunk"){const{id:s,data:o,error:c}=a,f=n.get(s);n.delete(s),c?f.reject(i(c)):f.fulfil(i(o))}}}function yt(e){return{dependencies:new Set(e?.dependencies??[]),params:new Set(e?.params??[]),parent:!!e?.parent,route:!!e?.route,url:!!e?.url,search_params:new Set(e?.search_params??[])}}let Ue=!1;function Lr(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=wt(e);if(n&&document.getElementById(n)){const{x:a,y:s}=$();setTimeout(()=>{const o=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(o,"",e),t&&scrollTo(a,s),Ue=!1})}else{const a=document.body,s=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),s!==null?a.setAttribute("tabindex",s):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let s=0;s<i.rangeCount;s+=1)a.push(i.getRangeAt(s));setTimeout(()=>{if(i.rangeCount===a.length){for(let s=0;s<i.rangeCount;s+=1){const o=a[s],c=i.getRangeAt(s);if(o.commonAncestorContainer!==c.commonAncestorContainer||o.startContainer!==c.startContainer||o.endContainer!==c.endContainer||o.startOffset!==c.startOffset||o.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ge(e,t,r,n,i=null){let a,s;const o=new Promise((f,l)=>{a=f,s=l});return o.catch(O),{navigation:{from:{params:e.params,route:{id:e.route?.id??null},url:e.url,scroll:$()},to:r&&{params:t?.params??null,route:{id:t?.route?.id??null},url:r,scroll:i},willUnload:!t,type:n,complete:o},fulfil:a,reject:s}}function we(e){return{data:e.data,error:e.error,form:e.form,params:e.params,route:e.route,state:e.state,status:e.status,url:e.url}}function Tr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function wt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{xr as a,Dr as b,Br as g,Mr as i,Cr as o,$r as r,Nr as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{j as i}from"./CEfkcOME.js";import{r as c}from"./yG62-yMx.js";import"./DsnmJJEf.js";import{s as m,r as d}from"./D42BPZCD.js";import{I as p}from"./DBuj1e9B.js";const r=i({dark:!1});function f(){r.dark=document.documentElement.classList.contains("dark")}function y(e){const n=!r.dark,o=()=>{r.dark=n,document.documentElement.classList.toggle("dark",n)};if(!document.startViewTransition||c()||!e)o();else{const t=e.clientX||innerWidth-40,a=e.clientY||28,s=Math.hypot(Math.max(t,innerWidth-t),Math.max(a,innerHeight-a));document.startViewTransition(o).ready.then(()=>document.documentElement.animate({clipPath:[`circle(0px at ${t}px ${a}px)`,`circle(${s}px at ${t}px ${a}px)`]},{duration:520,easing:"cubic-bezier(0.2, 0.8, 0.2, 1)",pseudoElement:"::view-transition-new(root)"}))}try{localStorage.setItem("wheelhouse-theme",n?"dark":"light")}catch{}}var l=new Set(["$$slots","$$events","$$legacy"]);function k(e,n){let o=d(n,l);const t={name:"settings",size:24,node:[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915"}],["circle",{cx:"12",cy:"12",r:"3"}]]};p(e,m(()=>o,{get icon(){return t}}))}export{k as S,r as a,f as r,y as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as d,g as o,m as a,j as y,h as l}from"./CEfkcOME.js";import{g as R,h as A,i as w,j as b,k as L}from"./DTpgmq3M.js";import{S as E}from"./BXN538J3.js";import{w as C}from"./RYvdmj4W.js";const Q=[{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"}],q=20*6e4,x=220;function N(e,t){const s=[],i={taskId:e.id,projectId:e.projectId,title:e.shortTitle},n=j(e.id),r=(u,c=n)=>({kind:"open",label:u,href:c,external:!1}),h=u=>e.pr?[{kind:"open",label:u,href:e.pr.url,external:!0}]:[],f=e.pr?.number?`Pull request #${e.pr.number}`:"The pull request";if(e.status==="needs-review"&&e.attention?.kind==="review"&&e.pr){const u=`pr-green:${e.id}:${e.pr.url}`;s.push({...i,id:u,kind:"pr-green",captain:!0,text:`${f} 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-${m(u)}`,sent:"Asked Firstmate to merge"},...h("Open PR"),r("Open task")]})}else if(e.status==="needs-decision"&&e.attention?.owner==="captain")s.push({...i,id:`question:${e.id}:${m(e.attention.text)}`,kind:"question",captain:!0,text:S(e.attention.text),actions:[r("Open decision",e.secondMate?n:R(A(e.id))),r("Answer in chat",g(e.id))]});else if(e.status==="blocked"||e.status==="failed"||e.status==="lost")s.push({...i,id:`stuck:${e.id}:${e.status}:${m(e.summaryRaw??e.summary??e.statusLabel)}`,kind:"stuck",captain:!1,text:S(e.summary?`${e.statusLabel}: ${e.summary}`:e.statusLabel),actions:[r("Open task"),r("Ask Firstmate",g(e.id))]});else if(D(e,t)){const u=Math.round((t-Date.parse(e.activity.at))/6e4);s.push({...i,id:`stuck:${e.id}:quiet:${m(e.activity.text)}`,kind:"stuck",captain:!1,text:`Gone quiet: no word for ${u} minutes while working.`,actions:[r("Open task"),r("Ask Firstmate",g(e.id))]})}else e.status==="landed"&&s.push({...i,id:`landed:${e.id}`,kind:"landed",captain:!1,text:e.pr?`${f} was merged.`:"The work was merged.",actions:[r("Open task"),...h("View PR")]});return s}function T(e){return!e||e.state!=="ours"||e.picker||e.signIn?null:e.terminal?{detail:e.terminal.excerpt||null}:null}function X(e){return`${e.id}@${e.at}`}function D(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>=q}function B(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?N(s,Date.now()).some(i=>i.id===e.id):!1}function j(e){return`/tasks/${encodeURIComponent(e)}`}function g(e){return`/?chat=${encodeURIComponent(e)}`}function S(e){const t=e.replace(/\s+/g," ").trim();return t.length>x?`${t.slice(0,x-1).trimEnd()}…`:t}function m(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 F=2,v=e=>` ${e.replace(/\s+/g," ").trim()} `,$=e=>e[e.length-1]?.id??null,H=(e,t)=>t===null?-1:e.findIndex(s=>s.id===t),I=e=>e?.kind==="turn";function M(e,t){const s=new Map;return e.filter(i=>{if(i.state==="sending"||i.state==="failed")return!0;const n=H(t,i.after),r=t.slice(n+1);if(i.via==="inbox")return!r.some(I);const h=v(i.text),f=s.get(h)??0;return r.filter(c=>c.kind==="user"&&v(c.text).includes(h)).length>f?(s.set(h,f+1),!1):r.filter(c=>I(c)&&c.done).length<F})}function V(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 p=6e3,k=1500,W=6e3,O=8;class P{#t=d(null);get session(){return o(this.#t)}set session(t){a(this.#t,t,!0)}#e=d(null);get source(){return o(this.#e)}set source(t){a(this.#e,t,!0)}#s=d([]);get records(){return o(this.#s)}set records(t){a(this.#s,t)}#i=d([]);get history(){return o(this.#i)}set history(t){a(this.#i,t)}#n=d("unknown");get older(){return o(this.#n)}set older(t){a(this.#n,t,!0)}#r=d("connecting");get connection(){return o(this.#r)}set connection(t){a(this.#r,t,!0)}#o=d(0);get resets(){return o(this.#o)}set resets(t){a(this.#o,t,!0)}#a=d(!1);get synced(){return o(this.#a)}set synced(t){a(this.#a,t,!0)}#h=d(y([]));get commands(){return o(this.#h)}set commands(t){a(this.#h,t,!0)}#u=l(()=>new Set(this.history.map(t=>t.uuid)));get historyIds(){return o(this.#u)}set historyIds(t){a(this.#u,t)}#c=l(()=>Math.max(0,this.history.findLastIndex(w)));get cut(){return o(this.#c)}set cut(t){a(this.#c,t)}#d=l(()=>b(this.history.slice(0,this.cut)));get earlier(){return o(this.#d)}set earlier(t){a(this.#d,t)}#l=l(()=>b(this.cut<this.history.length?[...this.history.slice(this.cut),...this.records]:this.records));get latest(){return o(this.#l)}set latest(t){a(this.#l,t)}#f=l(()=>L(this.earlier,this.latest));get chat(){return o(this.#f)}set chat(t){a(this.#f,t)}#m=l(()=>{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 o(this.#m)}set working(t){a(this.#m,t)}#p=l(()=>this.connection==="open"&&this.session?.state==="ours"&&!this.session.picker&&!this.session.menu&&!this.session.signIn&&!this.session.terminal&&this.working);get atWork(){return o(this.#p)}set atWork(t){a(this.#p,t)}#g=l(()=>this.connection==="open"&&this.session?.state==="ours"&&this.session.canSend&&(!!this.session.picker||!!this.session.signIn||!!T(this.session)));get needsYou(){return o(this.#g)}set needsYou(t){a(this.#g,t)}#y=d(y([]));get outbox(){return o(this.#y)}set outbox(t){a(this.#y,t,!0)}#w=l(()=>M(this.outbox,this.chat.items));get pending(){return o(this.#w)}set pending(t){a(this.#w,t)}close=null;left=null;archived=!1;connect(){if(this.close)return()=>{};this.synced=!1;const t=s=>{s.addEventListener("session",i=>{this.session=JSON.parse(i.data),this.connection="open"}),s.addEventListener("reset",i=>{const n=JSON.parse(i.data);this.records.length&&n?.file!==this.source?.file&&(this.history=[...this.history,...this.records],this.left=this.source?.file??null),n&&this.left&&(n.file!==this.left&&n.session&&(this.history=[...this.history,{type:"wh-session",uuid:`wh-session:${n.session}`,timestamp:new Date().toISOString(),first:!1}]),this.left=null),this.source=n,this.records=[],this.resets++}),s.addEventListener("records",i=>{const n=JSON.parse(i.data);this.leaveHistory(n);const r=[...this.records,...n];if(r.length>p){const h=p-k;this.history=[...this.history,...r.slice(0,r.length-h)],this.records=r.slice(-h)}else this.records=r}),s.addEventListener("replace",i=>{const n=JSON.parse(i.data);this.leaveHistory(n),this.records=n.length>p?n.slice(-p):n}),s.addEventListener("synced",()=>this.synced=!0)};return this.close=C("/api/firstmate/chat",t,s=>this.connection=s),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-W;if(t<=0||!this.archived)return;const s=this.history.findIndex((i,n)=>n>=t&&(w(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(k)],...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 h=await r.json();if(!h.available)return this.older="unavailable",!1;if(this.archived=!0,this.cursors()[0]?.uuid!==s[0]?.uuid)return this.older="unknown",!1;const f=new Set(this.all.map(c=>c.uuid)),u=h.records.filter(c=>!f.has(c.uuid));return this.history=[...u,...this.history],this.older=h.more&&u.length?"more":"none",u.length>0}catch{return this.older="failed",!1}}cursors(){const t=[];for(const s of this.history)t.length<O&&s.uuid&&!s.isSidechain&&t.push(s);for(const s of this.records)t.length<O&&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:$(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=$(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 _(t.text,s):await U("/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 z=new P;async function U(e,t,s){try{const i=await fetch(e,{method:"POST",headers:{"content-type":"application/json",[E]: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 _(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,[E]: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{Q as A,U as a,B as b,j as c,m as d,z as f,V as p,X as r,_ as s,T as t};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{n as F}from"./BUYzAikv.js";import"./DsnmJJEf.js";import{p as I,y as Q,f as S,g as t,a as P,b as W,h as c,e as p,r as f,s as m,o as k,t as Y,c as E}from"./CEfkcOME.js";import{s as h}from"./CPPNfCxh.js";import{i as G}from"./D4ikcNuh.js";import{s as C,d as b}from"./BMjXQSgN.js";import{p as J}from"./D42BPZCD.js";import{p as K}from"./9-_TZern.js";import{d as R,i as $,o as T,a as V,s as X}from"./Z_T9JZ0p.js";import{H as Z}from"./pY09PF5T.js";import{C as ee}from"./iInrZOCY.js";function me(s){return s?.replace(/[\\/]+$/,"").split(/[\\/]/).pop()?.trim()||null}function ge(s){const e=s.split(/[^\p{L}\p{N}]+/u).filter(Boolean);return e.length?e.length===1?e[0].slice(0,2).toUpperCase():(e[0][0]+e[1][0]).toUpperCase():"?"}function he(s){let e=0;for(const i of s)e=e*31+i.codePointAt(0)>>>0;return e%6}const q=s=>s.status!=="queued"&&s.status!=="landed"&&s.status!=="closed",te=s=>s.status==="failed"||s.status==="blocked"||s.status==="lost"||s.pipeline?.outcome==="failed"||s.passage.steps.some(e=>e.failed);function be(s){const e=s.filter(q),i=e.filter(te).length;return{percent:e.length?Math.round((e.length-i)/e.length*100):100,failing:i,inPlay:e.length}}function ve(s,e,i=4){return s.map(r=>{const a=e.filter(o=>o.projectId===r.id),n=a.some(F),l=a.some(o=>o.busy||q(o)&&o.status==="working");return{id:r.id,name:r.name,landed:a.length?Math.round(a.filter(o=>o.status==="landed").length/a.length*100):0,word:n?"Needs you":l?"Working":"Quiet",tone:n?"needs":l?"busy":"quiet",tasks:a.length}}).filter(r=>r.tasks>0).sort((r,a)=>a.tasks-r.tasks||r.name.localeCompare(a.name)).slice(0,i)}var se=E('<a><span aria-hidden="true"><!></span> <span class="min-w-0 flex-1"><span class="flex items-baseline gap-1.5 text-sm"><span> </span> <span class="truncate text-muted-foreground"> </span></span> <span class="block truncate text-xs text-muted-foreground"> </span></span> <span> <!></span></a>');function xe(s,e){I(e,!0);let i=J(e,"compact",3,!1);const r=c(()=>K.data.inbox),a=c(()=>$.view(t(r))?.available?T($.cards(t(r)),e.filter):[]),n=c(()=>t(a).filter(d=>X(d)==="waiting").length),l=c(()=>t(a)[0]??null),o=c(()=>V(e.filter,t(a).length===1?t(a)[0].id:null));var z=Q(),A=S(z);{var B=d=>{var u=se(),g=p(u),L=p(g);{let y=c(()=>i()?"size-3.5":"size-4");Z(L,{get class(){return t(y)}})}f(g);var v=m(g,2),x=p(v),_=p(x),M=k(_,!0),N=m(_,2),O=k(N,!0);f(x);var D=m(x,2),U=k(D,!0);f(v);var w=m(v,2),H=p(w,!0),j=m(H);ee(j,{class:"size-4 transition-transform group-hover:translate-x-0.5","aria-hidden":"true"}),f(w),f(u),Y(y=>{C(u,"href",t(o)),b(u,1,`group flex w-full min-w-0 cursor-pointer items-center gap-3 rounded-lg border text-left transition-colors focus-visible:outline-2 focus-visible:outline-ring ${t(n)?"border-sea/40 bg-sea/[0.07] hover:bg-sea/[0.12]":"bg-card hover:bg-muted/60"} ${i()?"px-2.5 py-2":"px-3.5 py-2.5"}`),C(u,"data-decisions-badge",t(n)?"waiting":"open"),b(g,1,`grid shrink-0 place-items-center rounded-full ${t(n)?"bg-sea text-on-accent":"bg-muted text-foreground/70"} ${i()?"size-6":"size-7"}`),b(_,1,`shrink-0 font-semibold ${t(n)?"text-sea":""}`),h(M,y),h(O,t(n)?t(n)===t(a).length?t(a).length===1?"waiting on you":"all waiting on you":`${t(n)} waiting on you`:"Firstmate is handling"),C(D,"title",t(l).title),h(U,t(l).title),b(w,1,`flex shrink-0 items-center gap-0.5 text-sm font-medium ${t(n)?"text-sea":"text-muted-foreground"}`),h(H,t(n)?"Answer":"Open")},[()=>R(t(a).length)]),P(d,u)};G(A,d=>{t(l)&&d(B)})}P(s,z),W()}export{xe as D,me as a,q as b,be as c,ve as g,he as h,ge as i};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as vt,y as ze,f as T,g as e,a as n,b as mt,h as R,e as f,r as d,n as $,c,i as q,m as k,u as Ke,P as Xe,o as w,s as o,t as D,A as Fe,aA as Wt}from"./CEfkcOME.js";import{d as $t,s as h,e as Qe,a as Oe}from"./CPPNfCxh.js";import{i as A}from"./D4ikcNuh.js";import{e as Ve,s as N,d as Ht}from"./BMjXQSgN.js";import{h as Yt,m as Ut}from"./CJsvF1Ay.js";import{c as ue}from"./CGbw525c.js";import{b as jt}from"./B6yYMcjx.js";import{b as Jt}from"./DKCbih8n.js";import{s as Ae,r as Ne}from"./D42BPZCD.js";import{j as Bt}from"./DTpgmq3M.js";import{S as Gt}from"./BXN538J3.js";import{w as Kt}from"./RYvdmj4W.js";import{c as pe}from"./WRwU91GU.js";import{D as Xt,h as Ze,i as et}from"./Cy13iexy.js";import{H as Qt}from"./ck3_pj9L.js";import{B as re}from"./D4Okmn3b.js";import{D as Vt}from"./Sv3hh1sg.js";import{D as Zt,a as es,b as ts,c as ss,d as as,e as rs}from"./BxKmcvUJ.js";import{A as is}from"./DI6U75Wo.js";import{C as ns}from"./LJz6leLj.js";import{p as os}from"./9-_TZern.js";import{i as tt}from"./Z_T9JZ0p.js";import{C as ls}from"./BftdAJED.js";import{L as Me}from"./BMEfZRmb.js";import{X as ds}from"./C6E-ekUK.js";import{C as cs}from"./uFR0qOc6.js";import{I as Te}from"./DBuj1e9B.js";import{C as us}from"./D6J6SKJa.js";import{R as vs}from"./RKJLUbAQ.js";import{S as st}from"./61tb7Ymv.js";import{A as ms}from"./BicHgQHF.js";import{P as at}from"./B0CcXh2k.js";import{P as rt}from"./C0oq3sur.js";var fs=new Set(["$$slots","$$events","$$legacy"]);function it(C,s){let i=Ne(s,fs);const v={name:"activity",size:24,node:[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2"}]]};Te(C,Ae(()=>i,{get icon(){return v}}))}var ps=new Set(["$$slots","$$events","$$legacy"]);function hs(C,s){let i=Ne(s,ps);const v={name:"check-check",size:24,node:[["path",{d:"M18 6 7 17l-5-5"}],["path",{d:"m22 10-7.5 7.5L13 16"}]]};Te(C,Ae(()=>i,{get icon(){return v}}))}var _s=new Set(["$$slots","$$events","$$legacy"]);function gs(C,s){let i=Ne(s,_s);const v={name:"users-round",size:24,node:[["path",{d:"M18 21a8 8 0 0 0-16 0"}],["circle",{cx:"10",cy:"8",r:"5"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3"}]],aliases:["users-2"]};Te(C,Ae(()=>i,{get icon(){return v}}))}var xs=c('<div class="mt-5" data-task-decisions=""><!></div>'),ks=c(`<p class="mt-5 flex items-center gap-2 text-sm text-muted-foreground" role="status" data-task-decisions-answered=""><!>Your answer is with Firstmate,
|
|
2
|
-
which passes it on to the crew.</p>`);function ys(C,s){vt(s,!0);const i=R(()=>os.data.inbox),v=R(()=>tt.forTask(s.task.id,e(i)).length>0),b=R(()=>!e(v)&&s.task.attention?.kind==="decision"&&tt.hasDecision(s.task.id,e(i)));var Q=ze(),le=T(Q);{var Z=y=>{var F=xs(),V=f(F);{let G=R(()=>({taskId:s.task.id}));Xt(V,{get filter(){return e(G)}})}d(F),n(y,F)},we=y=>{var F=ks(),V=f(F);ls(V,{class:"size-4 shrink-0 text-success","aria-hidden":"true"}),$(),d(F),n(y,F)};A(le,y=>{e(v)?y(Z):e(b)&&y(we,1)})}n(C,Q),mt()}function ws(C){return!C.id.includes("@")&&!C.secondMate&&!["queued","done","landed","closed"].includes(C.status)}const bs=/(?:instruction|operational input) waiting\b/i;function nt(C,s,i,v=!1){const b=[];for(const y of C)y.kind==="user"?bs.test(y.text)||b.push({kind:"firstmate",at:y.at,item:y}):b.push({kind:"worker",at:y.at,item:y});let Q=0;if(!v){const y=b.findIndex(G=>G.at>=i),F=y<0?b.length:y,V=b.findLastIndex((G,H)=>H<F&&G.kind==="worker");Q=V>=0?V:F}const le=b.slice(Q),Z=s.map(y=>({kind:"captain",at:y.at,message:y}));return{entries:[...le,...Z].sort((y,F)=>y.at<F.at?-1:y.at>F.at?1:0),earlier:Q}}const Pe=6e3;async function ft(C,s,i,v={}){try{const b=await fetch(C,{method:"POST",headers:{"content-type":"application/json",[Gt]:s,...v},body:JSON.stringify(i)});return b.ok?{ok:!0}:{ok:!1,error:(await b.json().catch(()=>null))?.message??`Wheelhouse answered ${b.status}.`}}catch{return{ok:!1,error:"Could not reach the Wheelhouse server."}}}const ot=(C,s,i)=>ft("/api/crew",i,{taskId:C,action:s}),Ss=(C,s,i,v,b=crypto.randomUUID())=>ft("/api/crew/messages",v,{taskId:C,kind:s,text:i},{"idempotency-key":b});class Ds{constructor(s){this.taskId=s}taskId;#e=q(null);get session(){return e(this.#e)}set session(s){k(this.#e,s,!0)}#t=q(null);get source(){return e(this.#t)}set source(s){k(this.#t,s,!0)}#s=q([]);get records(){return e(this.#s)}set records(s){k(this.#s,s)}#a=q("connecting");get connection(){return e(this.#a)}set connection(s){k(this.#a,s,!0)}#r=q(!1);get synced(){return e(this.#r)}set synced(s){k(this.#r,s,!0)}#i=R(()=>Bt(this.records));get chat(){return e(this.#i)}set chat(s){k(this.#i,s)}#n=R(()=>{const s=this.chat.items[this.chat.items.length-1];return this.session?.busy===!0||s?.kind==="turn"&&!s.done});get working(){return e(this.#n)}set working(s){k(this.#n,s)}connect(){this.synced=!1;const s=i=>{i.addEventListener("session",v=>{this.session=JSON.parse(v.data)}),i.addEventListener("reset",v=>{this.source=JSON.parse(v.data),this.records=[]}),i.addEventListener("records",v=>{const b=[...this.records,...JSON.parse(v.data)];this.records=b.length>Pe?b.slice(-Pe):b}),i.addEventListener("replace",v=>{const b=JSON.parse(v.data);this.records=b.length>Pe?b.slice(-Pe):b}),i.addEventListener("synced",()=>this.synced=!0)};return Kt(`/api/tasks/${encodeURIComponent(this.taskId)}/chat`,s,i=>this.connection=i)}}var Ps=c("<!>End discussion",1),zs=c('<span class="text-xs text-muted-foreground">Read-only</span>'),As=c(`<p class="crew-banner svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Sidebar</span> <span>You’re talking to <b> </b> directly. It can answer you here, and Firstmate gets a note of
|
|
3
|
-
each message.</span></p>`),Cs=c('<p class="crew-banner crew-banner-read svelte-1f8gn6y" role="note"><span class="crew-tag svelte-1f8gn6y">Read-only</span> <span> </span></p>'),Es=c('<p class="crew-banner crew-banner-paused svelte-1f8gn6y" role="status"><span class="crew-tag svelte-1f8gn6y">Paused</span><span> </span></p>'),Is=c('<div class="-mt-5"><!></div>'),lt=c('<p class="mt-4 rounded-lg bg-muted px-4 py-3 text-sm text-muted-foreground" role="status"> </p>'),Ls=c('<button class="mx-auto mt-4 block cursor-pointer text-sm text-sea hover:underline" data-show-earlier=""> </button>'),Rs=c('<div class="bubble-row"><div class="bubble bubble-captain"> </div></div>'),Fs=c('<p class="flex items-center gap-1.5 text-sm text-muted-foreground"><!> </p>'),Os=c('<button class="inline-flex cursor-pointer items-center gap-1 font-sans font-medium hover:underline"><!>Send again</button>'),dt=c("<span> </span>"),Ms=c('<article class="msg msg-captain"><span class="captain-avatar">C</span> <div class="min-w-0 flex-1"><header class="msg-head"><span class="crew-tag svelte-1f8gn6y">Sidebar</span><time> </time></header> <!> <p><!> <span> </span> <!></p></div></article>'),Ns=c('<details class="crew-note svelte-1f8gn6y"><summary class="svelte-1f8gn6y">Typed into its session · <time> </time></summary> <p class="mt-2 whitespace-pre-wrap"> </p></details>'),Ts=c('<div class="bubble-row"><div class="chat-md bubble bubble-firstmate"></div></div>'),qs=c('<p class="rounded-lg border px-4 py-3 text-sm"> <span class="text-muted-foreground">Answer in its terminal, or tell it here.</span></p>'),Ws=c('<article class="msg msg-firstmate"><span class="mate-avatar msg-avatar svelte-1f8gn6y" aria-hidden="true"> </span> <div class="flex min-w-0 flex-1 flex-col gap-2"><header class="msg-head"><span class="msg-name font-mono"> </span><!><time> </time></header> <!></div></article>'),$s=c('<pre class="no-scrollbar max-h-60 max-w-[80ch] overflow-auto rounded-lg bg-muted/60 p-3 font-mono text-xs whitespace-pre-wrap text-muted-foreground"> </pre>'),Hs=c('<p class="text-xs text-muted-foreground"> </p>'),Ys=c(`<div class="border-t px-4 py-3 sm:px-5" data-discussion-terminal=""><p class="mb-2 flex items-center gap-2 text-xs text-muted-foreground"><!>Its terminal, read-only. Type to it
|
|
4
|
-
here, not there: what you send goes through its inbox.</p> <!></div>`),Us=c("<!>Chat with crew",1),ct=c('<p class="mt-1 text-sm text-danger" role="alert"> </p>'),ut=c("<!> <!>",1),js=c('<p class="text-sm text-danger" role="alert"> </p>'),Js=c("<!>Start the discussion",1),Bs=c("<!> <!> <!>",1),Gs=c('<div class="border-t px-4 pt-3 pb-4 sm:px-5"><div class="flex items-center gap-3 rounded-xl border border-dashed bg-muted/40 py-2 pr-2 pl-4" data-chat-locked=""><span class="flex-1 text-muted-foreground/80">Read-only · talk to Firstmate about this task, or</span> <!></div> <p class="mt-1.5 text-xs text-muted-foreground"> </p> <!></div> <!>',1),Ks=c("<!>Ask for status",1),Xs=c("<!>Resume",1),Qs=c("<!>Pause after this step",1),Vs=c("<!> ",1),Zs=c('<div class="border-t px-4 pt-3 pb-4 sm:px-5"><div class="mb-2 flex flex-wrap gap-2"><!> <!> <!></div> <form class="flex items-end gap-2 rounded-xl border bg-card px-3 py-2 focus-within:ring-3 focus-within:ring-ring/50"><textarea class="field-sizing-content max-h-48 min-h-10 flex-1 resize-none bg-transparent py-1.5 outline-none placeholder:text-muted-foreground" data-discussion-input=""></textarea> <!></form> <p class="mt-1.5 text-xs text-muted-foreground">Goes to its inbox as yours; Firstmate gets a note.</p> <!></div>'),ea=c('<section class="flex h-full min-h-0 flex-col"><header class="flex flex-wrap items-center gap-x-3 gap-y-2 border-b px-4 py-3 sm:px-5"><span class="mate-avatar" aria-hidden="true"> </span> <div class="min-w-0 flex-1"><p class="flex items-baseline gap-2"><a class="font-mono text-sm font-semibold hover:underline"> </a> <span class="truncate text-sm text-muted-foreground"> </span></p> <p class="text-xs text-muted-foreground"> </p></div> <!></header> <!> <!> <div class="no-scrollbar min-h-0 flex-1 overflow-y-auto px-4 py-5 sm:px-5" aria-live="polite" data-discussion-feed=""><!> <!> <!> <div class="mt-5 flex flex-col gap-6"></div></div> <!> <!></section>');function Oa(C,s){vt(s,!0);const i=R(()=>s.taskId);let v=q(null);Ke(()=>{const t=new Ds(e(i));k(v,t,!0);const a=t.connect();return()=>{a(),k(v,null)}});let b=q(!1);const Q=60;let le=q(Q);const Z=R(()=>{if(s.discussion)return nt(e(v)?.chat.items??[],s.discussion.messages,s.discussion.openedAt,e(b));const{entries:t}=nt(e(v)?.chat.items??[],[],"",!0),a=Math.max(0,t.length-e(le));return{entries:t.slice(a),earlier:a}}),we=()=>s.discussion?k(b,!0):k(le,e(le)+Q),y=R(()=>s.task?s.task.secondMate||s.task.id.includes("@")?"Chatting with a second mate’s worker comes later.":ws(s.task)?null:"Its worker is not at work.":"Its task has left the fleet."),F=R(()=>e(v)?.session?.harness??s.task?.worker?.harness??null),V=R(()=>e(F)?Qt[e(F)]??e(F):null);let G=q(""),H=q(null),be=q(!1),he=q(!1),Se=q(!1),De=q(!1);async function pt(){k(De,!0),k(H,null);const t=await ot(e(i),"open",s.token);k(De,!1),t.ok?k(Se,!1):k(H,t.error,!0)}async function _e(t,a="",m){k(H,null);const P=await Ss(e(i),t,a,s.token,m);P.ok||k(H,P.error,!0)}function qe(){const t=e(G).trim();t&&(k(G,""),_e("say",t),Xe().then(()=>$e(!0)))}function ht(t){t.key==="Enter"&&!t.shiftKey&&!t.isComposing&&(t.preventDefault(),qe())}async function _t(){k(be,!0);const t=await ot(e(i),"close",s.token);k(be,!1),t.ok?s.onended?.():k(H,t.error,!0)}let ee=q(null),We=!0;function $e(t=!1){e(ee)&&(t||We)&&(e(ee).scrollTop=e(ee).scrollHeight)}Ke(()=>{e(Z).entries.length,e(v)?.records.length,Xe().then(()=>$e())});const gt=t=>t.delivery==="sending"?"Sending":t.delivery==="failed"?t.error??"Not delivered":t.seen?`Seen by ${e(i)}`:"In its inbox",xt={status:"Asked for status",pause:"Asked to pause",resume:"Asked to resume"};var ve=ea(),Ce=f(ve),Ee=f(Ce),kt=w(Ee,!0),Ie=o(Ee,2),Le=f(Ie),Re=f(Le),yt=w(Re,!0),wt=o(Re,2),bt=w(wt,!0);d(Le);var St=o(Le,2),Dt=w(St);d(Ie);var Pt=o(Ie,2);{var zt=t=>{re(t,{variant:"outline",size:"sm",onclick:_t,get disabled(){return e(be)},"data-end-discussion":!0,children:(a,m)=>{var P=Ps(),U=T(P);{var ie=j=>{Me(j,{class:"animate-spin"})},de=j=>{ds(j,{})};A(U,j=>{e(be)?j(ie):j(de,-1)})}$(),n(a,P)},$$slots:{default:!0}})},At=t=>{var a=zs();n(t,a)};A(Pt,t=>{s.discussion?t(zt):t(At,-1)})}d(Ce);var He=o(Ce,2);{var Ct=t=>{var a=As(),m=o(f(a),2),P=o(f(m)),U=w(P,!0);$(),d(m),d(a),D(()=>h(U,e(i))),n(t,a)},Et=t=>{var a=Cs(),m=o(f(a),2),P=w(m);d(a),D(()=>h(P,`${e(i)??""}’s own conversation. You’re watching; Firstmate steers it.`)),n(t,a)};A(He,t=>{s.discussion?t(Ct):t(Et,-1)})}var Ye=o(He,2);{var It=t=>{var a=Es(),m=o(f(a)),P=w(m);d(a),D(()=>h(P,`You asked ${e(i)??""} to stop after its current step. It waits until you resume it.`)),n(t,a)};A(Ye,t=>{s.discussion?.paused&&t(It)})}var ge=o(Ye,2),Ue=f(ge);{var Lt=t=>{var a=Is(),m=f(a);ys(m,{get task(){return s.task}}),d(a),n(t,a)};A(Ue,t=>{s.task&&s.discussion&&t(Lt)})}var je=o(Ue,2);{var Rt=t=>{var a=lt(),m=w(a,!0);D(()=>h(m,e(v).session.reason)),n(t,a)},Ft=t=>{var a=lt(),m=w(a);D(()=>h(m,`Wheelhouse has not found ${e(i)??""}’s conversation yet.${s.discussion?" What you send still reaches it.":""}`)),n(t,a)};A(je,t=>{e(v)?.session?.reason?t(Rt):e(v)?.synced&&!e(v).source&&t(Ft,1)})}var Je=o(je,2);{var Ot=t=>{var a=Ls(),m=w(a);D(()=>h(m,`Show its earlier work (${e(Z).earlier??""})`)),Oe("click",a,we),n(t,a)};A(Je,t=>{e(Z).earlier&&t(Ot)})}var Be=o(Je,2);Ve(Be,23,()=>e(Z).entries,(t,a)=>t.kind==="captain"?`c-${t.message.id}`:`${t.kind}-${t.item.id}-${a}`,(t,a,m)=>{var P=ze(),U=T(P);{var ie=p=>{const r=R(()=>e(a).message);var g=Ms(),O=o(f(g),2),l=f(O),z=o(f(l)),L=w(z,!0);d(l);var I=o(l,2);{var J=u=>{var x=Rs(),_=f(x),S=w(_,!0);d(x),D(()=>h(S,e(r).text)),n(u,x)},ce=u=>{var x=Fs(),_=f(x);{var S=X=>{at(X,{class:"size-3.5","aria-hidden":"true"})},K=X=>{rt(X,{class:"size-3.5","aria-hidden":"true"})},W=X=>{it(X,{class:"size-3.5","aria-hidden":"true"})};A(_,X=>{e(r).kind==="pause"?X(S):e(r).kind==="resume"?X(K,1):X(W,-1)})}var fe=o(_,1,!0);d(x),D(()=>h(fe,xt[e(r).kind])),n(u,x)};A(I,u=>{e(r).kind==="say"?u(J):u(ce,-1)})}var te=o(I,2),oe=f(te);{var me=u=>{Me(u,{class:"size-3 animate-spin","aria-hidden":"true"})},ke=u=>{cs(u,{class:"size-3","aria-hidden":"true"})},Y=u=>{hs(u,{class:"size-3 text-success","aria-hidden":"true"})},E=u=>{us(u,{class:"size-3","aria-hidden":"true"})};A(oe,u=>{e(r).delivery==="sending"?u(me):e(r).delivery==="failed"?u(ke,1):e(r).seen?u(Y,2):u(E,-1)})}var M=o(oe,2),B=w(M,!0),ye=o(M,2);{var se=u=>{var x=Os(),_=f(x);vs(_,{class:"size-3","aria-hidden":"true"}),$(),d(x),Oe("click",x,()=>_e(e(r).kind,e(r).text,e(r).id)),n(u,x)},ae=u=>{var x=dt(),_=w(x);D(()=>h(_,`· ${e(r).told==="sent"?"Firstmate told":e(r).told==="sending"?"telling Firstmate":e(r).told==="off"?"Firstmate not told (messaging is off)":"Firstmate could not be told"}`)),n(u,x)};A(ye,u=>{e(r).delivery==="failed"?u(se):e(r).delivery==="sent"&&u(ae,1)})}d(te),d(O),d(g),D((u,x,_)=>{N(g,"aria-label",`You, ${u??""}`),N(g,"data-crew-message",e(r).id),N(z,"datetime",e(r).at),h(L,x),Ht(te,1,`mt-1 flex flex-wrap items-center justify-end gap-x-2 font-mono text-[0.72rem] ${e(r).delivery==="failed"?"text-danger":"text-muted-foreground"}`),N(te,"data-receipt",e(r).delivery==="sent"?e(r).seen?"seen":"sent":e(r).delivery),h(B,_)},[()=>pe(e(r).at),()=>pe(e(r).at),()=>gt(e(r))]),n(p,g)},de=p=>{var r=Ns(),g=f(r),O=o(f(g)),l=w(O,!0);d(g);var z=o(g,2),L=w(z,!0);d(r),D(I=>{N(O,"datetime",e(a).at),h(l,I),h(L,e(a).item.text)},[()=>pe(e(a).at)]),n(p,r)},j=p=>{const r=R(()=>e(a).item);var g=Ws(),O=f(g),l=w(O,!0),z=o(O,2),L=f(z),I=f(L),J=w(I,!0),ce=o(I);{var te=Y=>{var E=dt(),M=w(E,!0);D(()=>h(M,e(V))),n(Y,E)};A(ce,Y=>{e(V)&&Y(te)})}var oe=o(ce),me=w(oe,!0);d(L);var ke=o(L,2);Ve(ke,19,()=>e(r).parts,Y=>Y.id,(Y,E,M)=>{var B=ze(),ye=T(B);{var se=_=>{var S=Ts(),K=f(S);Yt(K,()=>Ut(e(E).text),!0),d(K),d(S),n(_,S)},ae=R(()=>e(E).kind==="text"&&e(E).text.trim()),u=_=>{{let S=R(()=>!e(r).done&&e(M)===e(r).parts.length-1&&e(m)===e(Z).entries.length-1);is(_,{get steps(){return e(E).steps},get live(){return e(S)}})}},x=_=>{var S=qs(),K=f(S);$(),d(S),D(W=>h(K,`It asked in its session: ${W??""} `),[()=>e(E).questions.map(W=>W.question).join(" ")]),n(_,S)};A(ye,_=>{e(ae)?_(se):e(E).kind==="activity"?_(u,1):e(E).kind==="question"&&_(x,2)})}n(Y,B)}),d(z),d(g),D((Y,E,M,B)=>{N(g,"aria-label",`${e(i)??""}, ${Y??""}`),N(O,"data-hue",E),h(l,M),h(J,e(i)),N(oe,"datetime",e(r).at),h(me,B)},[()=>pe(e(r).at),()=>Ze(e(i)),()=>et(e(i)),()=>pe(e(r).at)]),n(p,g)},xe=p=>{var r=$s(),g=w(r,!0);D(()=>h(g,e(a).item.text)),n(p,r)},ne=p=>{var r=Hs(),g=w(r);D(O=>h(g,`${e(a).item.title??""} · ${O??""}`),[()=>pe(e(a).item.at)]),n(p,r)};A(U,p=>{e(a).kind==="captain"?p(ie):e(a).kind==="firstmate"?p(de,1):e(a).item.kind==="turn"?p(j,2):e(a).item.kind==="output"?p(xe,3):e(a).item.kind==="notice"&&p(ne,4)})}n(t,P)}),d(Be),d(ge),Jt(ge,t=>k(ee,t),()=>e(ee));var Ge=o(ge,2);{var Mt=t=>{var a=Ys(),m=f(a),P=f(m);st(P,{class:"size-3.5","aria-hidden":"true"}),$(),d(m);var U=o(m,2);ns(U,{get task(){return s.task},lines:16}),d(a),n(t,a)};A(Ge,t=>{e(he)&&s.task&&t(Mt)})}var Nt=o(Ge,2);{var Tt=t=>{var a=Gs(),m=T(a),P=f(m),U=o(f(P),2);{let p=R(()=>!!e(y)),r=R(()=>e(y)??void 0);re(U,{variant:"outline",size:"sm",get disabled(){return e(p)},get title(){return e(r)},onclick:()=>k(Se,!0),"data-chat-with-crew":!0,children:(g,O)=>{var l=Us(),z=T(l);gs(z,{}),$(),n(g,l)},$$slots:{default:!0}})}d(P);var ie=o(P,2),de=w(ie,!0),j=o(ie,2);{var xe=p=>{var r=ct(),g=w(r,!0);D(()=>h(g,e(H))),n(p,r)};A(j,p=>{e(H)&&p(xe)})}d(m);var ne=o(m,2);ue(ne,()=>rs,(p,r)=>{r(p,{get open(){return e(Se)},set open(g){k(Se,g,!0)},children:(g,O)=>{var l=ze(),z=T(l);ue(z,()=>Zt,(L,I)=>{I(L,{class:"sm:max-w-md",children:(J,ce)=>{var te=Bs(),oe=T(te);ue(oe,()=>es,(E,M)=>{M(E,{children:(B,ye)=>{var se=ut(),ae=T(se);ue(ae,()=>ts,(x,_)=>{_(x,{class:"font-display text-lg",children:(S,K)=>{$();var W=Fe();D(()=>h(W,`Talk to ${e(i)??""} directly?`)),n(S,W)},$$slots:{default:!0}})});var u=o(ae,2);ue(u,()=>ss,(x,_)=>{_(x,{children:(S,K)=>{$();var W=Fe(`You’ll message this task’s worker yourself, outside Firstmate’s usual relay. What you
|
|
5
|
-
say goes to its inbox as yours, it can answer you here, and Firstmate gets a note of
|
|
6
|
-
each message so it stays in step. End the discussion when you’re done; most of the time,
|
|
7
|
-
talk to Firstmate.`);n(S,W)},$$slots:{default:!0}})}),n(B,se)},$$slots:{default:!0}})});var me=o(oe,2);{var ke=E=>{var M=js(),B=w(M,!0);D(()=>h(B,e(H))),n(E,M)};A(me,E=>{e(H)&&E(ke)})}var Y=o(me,2);ue(Y,()=>as,(E,M)=>{M(E,{children:(B,ye)=>{var se=ut(),ae=T(se);{const x=(_,S)=>{re(_,Ae(()=>(S?.()).props,{variant:"ghost",children:(W,fe)=>{$();var X=Fe("Cancel");n(W,X)},$$slots:{default:!0}}))};ue(ae,()=>Vt,(_,S)=>{S(_,{child:x,$$slots:{child:!0}})})}var u=o(ae,2);re(u,{onclick:pt,get disabled(){return e(De)},"data-crew-confirm":!0,children:(x,_)=>{var S=Js(),K=T(S);{var W=fe=>{Me(fe,{class:"animate-spin"})};A(K,fe=>{e(De)&&fe(W)})}$(),n(x,S)},$$slots:{default:!0}}),n(B,se)},$$slots:{default:!0}})}),n(J,te)},$$slots:{default:!0}})}),n(g,l)},$$slots:{default:!0}})}),D(()=>h(de,e(y)??"You’ll be asked to confirm first: you talk to the worker directly.")),n(t,a)},qt=t=>{var a=Zs(),m=f(a),P=f(m);re(P,{variant:"outline",size:"sm",onclick:()=>_e("status"),"data-quick":"status",children:(l,z)=>{var L=Ks(),I=T(L);it(I,{}),$(),n(l,L)},$$slots:{default:!0}});var U=o(P,2);{var ie=l=>{re(l,{variant:"outline",size:"sm",onclick:()=>_e("resume"),"data-quick":"resume",children:(z,L)=>{var I=Xs(),J=T(I);rt(J,{}),$(),n(z,I)},$$slots:{default:!0}})},de=l=>{re(l,{variant:"outline",size:"sm",onclick:()=>_e("pause"),"data-quick":"pause",children:(z,L)=>{var I=Qs(),J=T(I);at(J,{}),$(),n(z,I)},$$slots:{default:!0}})};A(U,l=>{s.discussion.paused?l(ie):l(de,-1)})}var j=o(U,2);{var xe=l=>{re(l,{variant:"outline",size:"sm",get"aria-pressed"(){return e(he)},onclick:()=>k(he,!e(he)),"data-quick":"terminal",children:(z,L)=>{var I=Vs(),J=T(I);st(J,{});var ce=o(J);D(()=>h(ce,`${e(he)?"Hide":"Show"} its terminal`)),n(z,I)},$$slots:{default:!0}})};A(j,l=>{s.task&&l(xe)})}d(m);var ne=o(m,2),p=f(ne);Wt(p);var r=o(p,2);{let l=R(()=>!e(G).trim());re(r,{type:"submit",size:"icon",class:"rounded-full",get disabled(){return e(l)},"aria-label":"Send",children:(z,L)=>{ms(z,{})},$$slots:{default:!0}})}d(ne);var g=o(ne,4);{var O=l=>{var z=ct(),L=w(z,!0);D(()=>h(L,e(H))),n(l,z)};A(g,l=>{e(H)&&l(O)})}d(a),D(()=>{N(p,"placeholder",`Message ${e(i)??""} directly`),N(p,"aria-label",`Message ${e(i)??""} directly`)}),Qe("submit",ne,l=>{l.preventDefault(),qe()}),Oe("keydown",p,ht),jt(p,()=>e(G),l=>k(G,l)),n(t,a)};A(Nt,t=>{s.discussion?t(qt,-1):t(Tt)})}d(ve),D((t,a,m)=>{N(ve,"aria-label",s.discussion?`Crew discussion with ${e(i)}`:`${e(i)}’s conversation`),N(ve,"data-discussion",s.discussion?e(i):void 0),N(ve,"data-task-chat",e(i)),N(Ee,"data-hue",t),h(kt,a),N(Re,"href",`/tasks/${m??""}`),h(yt,e(i)),h(bt,s.task?.title??s.discussion?.title??""),h(Dt,`${e(V)??"Worker"??""}${s.task?` · ${s.task.statusLabel}`:" · no longer in the fleet"}`)},[()=>Ze(e(i)),()=>et(e(i)),()=>encodeURIComponent(e(i))]),Qe("scroll",ge,()=>{e(ee)&&(We=e(ee).scrollTop+e(ee).clientHeight>=e(ee).scrollHeight-40)}),n(C,ve),mt()}$t(["click","keydown"]);export{Oa as D,ys as T,gs as U};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as G,e as g,g as a,s,r as b,t as f,a as l,b as J,h as _,c as v,y as oe,f as B,n as N,o as k}from"./CEfkcOME.js";import{s as w}from"./CPPNfCxh.js";import{i as h}from"./D4ikcNuh.js";import{d as K,s as i,e as se}from"./BMjXQSgN.js";import{p as ie}from"./D42BPZCD.js";import{p as de,a as le}from"./-Ivlm0RJ.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"./B_vxNA4w.js";import{p as pe}from"./Cl68Rk3P.js";import{c as ge}from"./CGbw525c.js";import{A as be}from"./BTPd4OWk.js";import{C as xe}from"./ChdBca3m.js";import{S as he}from"./CjOcIL_D.js";import{T as _e}from"./CiB1IASV.js";import{H as we}from"./pY09PF5T.js";import{C as U}from"./CPY1RtwR.js";import{E as ye}from"./BexGUSY7.js";var je=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=je(),y=g(t);ge(y,()=>a(z),(R,W)=>{W(R,{class:"size-3.5","aria-hidden":"true"})});var S=s(y,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 j=n=>{var r=Ce(),d=s(g(r));ye(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(j)})}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),y=_(()=>e.project?de([e.project],le.names).get(e.project.id):void 0),S=_(()=>a(y)?.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 j=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(j)})}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(y).hue),w(H,a(y).monogram)}),l(o,p)};h(I,o=>{a(y)&&o(T)})}var j=s(I,2),n=k(j,!0),r=s(j,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(j,"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 G,y as L,f as M,g as s,a as r,e as N,s as u,o as v,r as _,t as x,b as j,c as m}from"./CEfkcOME.js";import{s as g}from"./CPPNfCxh.js";import{i as h}from"./D4ikcNuh.js";import{e as q,s as A,d as B}from"./BMjXQSgN.js";import{S as C,d as D}from"./BJ2W5Dwa.js";var F=m('<span class="font-medium text-foreground tabular-nums"> </span>'),H=m('<li class="flex items-center gap-1.5"><span aria-hidden="true"></span> <span> </span> <!></li>'),I=m('<ul class="flex flex-wrap gap-x-4 gap-y-1.5 text-xs text-muted-foreground"></ul>');function U(b,a){G(a,!0);var o=I();q(o,21,()=>C,n=>n.key,(n,e)=>{var d=L(),y=M(d);{var k=i=>{var t=H(),f=N(t),c=u(f,2),S=v(c,!0),T=u(c,2);{var E=l=>{var p=F(),w=v(p,!0);x(z=>g(w,z),[()=>D(a.seconds[s(e).key])]),r(l,p)};h(T,l=>{a.seconds&&l(E)})}_(t),x(()=>{A(t,"title",s(e).hint),B(f,1,`seg-${s(e).key??""} inline-block size-2.5 rounded-sm`),g(S,s(e).label)}),r(i,t)};h(y,i=>{(!a.seconds||a.seconds[s(e).key]>0)&&i(k)})}r(n,d)}),_(o),r(b,o),j()}export{U as T};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as r,g as n,m as i,j as f}from"./CEfkcOME.js";import{p as d}from"./9-_TZern.js";import{w as g}from"./RYvdmj4W.js";const m="wheelhouse-live",w="wheelhouse-live-leader",y=2*6e4;class v{#e=r(null);get fleet(){return n(this.#e)}set fleet(e){i(this.#e,e)}#t=r(null);get eventsPaused(){return n(this.#t)}set eventsPaused(e){i(this.#t,e,!0)}#s=r(null);get health(){return n(this.#s)}set health(e){i(this.#s,e,!0)}#a=r(null);get messages(){return n(this.#a)}set messages(e){i(this.#a,e)}#r=r(null);get crew(){return n(this.#r)}set crew(e){i(this.#r,e,!0)}#n=r("connecting");get connection(){return n(this.#n)}set connection(e){i(this.#n,e,!0)}#i=r(f(Date.now()));get now(){return n(this.#i)}set now(e){i(this.#i,e,!0)}#l=r(0);get revision(){return n(this.#l)}set revision(e){i(this.#l,e,!0)}#h=r(!1);get leader(){return n(this.#h)}set leader(e){i(this.#h,e,!0)}claim=()=>!0;alertListeners=new Set;restartListeners=new Set;serverId=null;latest={};recentAlerts=new Map;channel=null;stop=null;onAlert(e){return this.alertListeners.add(e),()=>this.alertListeners.delete(e)}onRestart(e){return this.restartListeners.add(e),()=>this.restartListeners.delete(e)}connect(){if(this.stop)return()=>{};const e=setInterval(()=>this.now=Date.now(),15e3),l=typeof BroadcastChannel<"u"&&!!globalThis.navigator?.locks?this.share():this.lead();return this.stop=()=>{clearInterval(e),l(),this.stop=null},this.stop}share(){const e=new BroadcastChannel(m);this.channel=e,e.onmessage=h=>{const s=h.data;s.t==="hello"?this.leader&&this.replay():s.t==="connection"?this.leader||(this.connection=s.state):this.leader||this.apply(s.e)};const a=new AbortController;let l=()=>{};return navigator.locks.request(w,{signal:a.signal},()=>{const h=this.lead();return new Promise(s=>{l=()=>{h(),s()}})}).catch(()=>{}),e.postMessage({t:"hello"}),()=>{a.abort(),l(),e.close(),this.channel=null}}lead(){this.leader=!0;const e=h=>{this.connection=h,this.post({t:"connection",state:h})},l=g("/api/events",h=>{const s=(t,o)=>h.addEventListener(t,p=>{const c=o(JSON.parse(p.data));this.remember(c),this.apply(c),this.post({t:"event",e:c}),c.type==="fleet"&&e("open")});s("server",t=>({type:"server",data:t})),s("events-status",t=>({type:"events-status",data:t})),s("fleet",t=>({type:"fleet",data:t})),s("health",t=>({type:"health",data:t})),s("messages",t=>({type:"messages",data:t})),s("crew",t=>({type:"crew",data:t})),s("alert",t=>({type:"alert",data:t,fresh:this.claim(t)})),s("settled",t=>({type:"settled",data:t})),s("alerts",t=>({type:"alerts",data:t.map(o=>{const p=this.claim(o);return{alert:o,fresh:p&&Date.now()-Date.parse(o.at)<=y}})}))},e);return()=>{l(),this.leader=!1}}remember(e){if(e.type==="alert")this.recentAlerts.set(e.data.id,e.data);else if(e.type==="settled")this.recentAlerts.delete(e.data);else if(e.type==="alerts")for(const a of e.data)this.recentAlerts.set(a.alert.id,a.alert);else this.latest[e.type]=e.data;for(const a of[...this.recentAlerts.keys()].slice(0,-40))this.recentAlerts.delete(a)}replay(){this.post({t:"connection",state:this.connection}),this.latest["events-status"]&&this.post({t:"event",e:{type:"events-status",data:this.latest["events-status"]}}),this.latest.fleet&&this.post({t:"event",e:{type:"fleet",data:this.latest.fleet}}),this.latest.health&&this.post({t:"event",e:{type:"health",data:this.latest.health}}),this.latest.messages&&this.post({t:"event",e:{type:"messages",data:this.latest.messages}}),this.latest.crew&&this.post({t:"event",e:{type:"crew",data:this.latest.crew}}),this.latest.server&&this.post({t:"event",e:{type:"server",data:this.latest.server}});const e=[...this.recentAlerts.values()].map(a=>({alert:a,fresh:!1}));this.post({t:"event",e:{type:"alerts",data:e}})}apply(e){switch(e.type){case"events-status":this.eventsPaused=e.data.paused;break;case"fleet":this.fleet=e.data,this.revision++,this.connection="open";break;case"health":this.health=e.data;break;case"messages":this.messages=e.data;break;case"crew":this.crew=e.data;break;case"server":{const a=this.serverId!==null&&this.serverId!==e.data.id;if(this.serverId=e.data.id,a)for(const l of this.restartListeners)l();break}default:for(const a of this.alertListeners)a(e)}}post(e){try{this.channel?.postMessage(e)}catch{}}}const u=new v;function C(){return u.fleet??d.data.fleet??null}function I(){return u.health??d.data.health??null}function P(){return u.messages??d.data.messages??null}function S(){return u.crew??d.data.crew??null}export{S as a,I as b,C as c,P as d,u as l};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import{p as nn}from"./WRwU91GU.js";import"./DsnmJJEf.js";import{a as rn,o as zt}from"./B42VotjV.js";import{i as M,j as lt,g as n,m as w,p as Ne,u as Re,e as c,s as f,r as l,t as D,a as p,b as Oe,h as _,aB as an,o as G,y as Be,f as Se,c as b,n as ve,aA as jt,z as sn,P as St,aD as on}from"./CEfkcOME.js";import{i as z}from"./D4ikcNuh.js";import{s as Ue,r as He,p as q}from"./D42BPZCD.js";import{a as ln,M as dn,C as vt,b as cn,c as un,l as fn,d as hn}from"./BCm9P2vn.js";import{p as dt}from"./9-_TZern.js";import{d as ut,s as W,a as N,e as qt}from"./CPPNfCxh.js";import{I as Je,t as vn}from"./DBuj1e9B.js";import{d as Ee,s as R,k as pn,h as pt,j as mn,e as it,f as gn,r as bn,c as xn}from"./BMjXQSgN.js";import{b as Xe}from"./DKCbih8n.js";import{z as wn}from"./yG62-yMx.js";import{a as Ft,f as _n,P as kn}from"./BjKSCYOc.js";import{c as yn}from"./DjVT8Vdk.js";import{p as ot}from"./BLcrDXJf.js";import{k as zn}from"./D5xbT1cY.js";import{b as Tt,M as Et}from"./B_GuTGoj.js";import{R as Wt}from"./RKJLUbAQ.js";import{E as Bt}from"./BexGUSY7.js";import{h as Cn,m as Sn}from"./CJsvF1Ay.js";import{b as Ut}from"./B6yYMcjx.js";import{s as Tn}from"./CuYc7d4s.js";import{S as En}from"./BXN538J3.js";import{c as Kt}from"./CrOCeWF7.js";import{X as Ye}from"./C6E-ekUK.js";import{M as bt}from"./DgIRKToT.js";import{A as An}from"./BicHgQHF.js";import{C as Mn}from"./CuD4TGYr.js";import{C as Ln}from"./BftdAJED.js";import{P as At}from"./B0iegdDx.js";import{s as Pn,a as Mt}from"./B_vxNA4w.js";var Dn=new Set(["$$slots","$$events","$$legacy"]);function Lt(t,e){let r=He(e,Dn);const a={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"}]]};Je(t,Ue(()=>r,{get icon(){return a}}))}var In=new Set(["$$slots","$$events","$$legacy"]);function Pt(t,e){let r=He(e,In);const a={name:"monitor-play",size:24,node:[["path",{d:"M15.033 9.44a.647.647 0 0 1 0 1.12l-4.065 2.352a.645.645 0 0 1-.968-.56V7.648a.645.645 0 0 1 .967-.56z"}],["path",{d:"M12 17v4"}],["path",{d:"M8 21h8"}],["rect",{x:"2",y:"3",width:"20",height:"14",rx:"2"}]]};Je(t,Ue(()=>r,{get icon(){return a}}))}var $n=new Set(["$$slots","$$events","$$legacy"]);function Rn(t,e){let r=He(e,$n);const a={name:"monitor",size:24,node:[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21"}]]};Je(t,Ue(()=>r,{get icon(){return a}}))}var Nn=new Set(["$$slots","$$events","$$legacy"]);function On(t,e){let r=He(e,Nn);const a={name:"panel-right-close",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}],["path",{d:"M15 3v18"}],["path",{d:"m8 9 3 3-3 3"}]]};Je(t,Ue(()=>r,{get icon(){return a}}))}var Hn=new Set(["$$slots","$$events","$$legacy"]);function jn(t,e){let r=He(e,Hn);const a={name:"smartphone",size:24,node:[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2"}],["path",{d:"M12 18h.01"}]]};Je(t,Ue(()=>r,{get icon(){return a}}))}var qn=new Set(["$$slots","$$events","$$legacy"]);function Fn(t,e){let r=He(e,qn);const a={name:"square",size:24,node:[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2"}]]};Je(t,Ue(()=>r,{get icon(){return a}}))}const Wn={intent:"Reading the brief",rebase:"Catching up with the main branch",review:"Reviewing the change",test:"Running the tests",document:"Checking the docs",lint:"Checking code style",push:"Pushing the branch",pr:"Opening the pull request",ci:"Waiting for CI"},Bn={rebase:"resolving conflicts with the main branch",review:"fixing review findings",test:"fixing test failures",document:"fixing the docs",lint:"fixing code style",ci:"fixing CI failures"},mt={intent:"Brief read",rebase:"Up to date with the main branch",review:"No issues found",test:"Tests passed",document:"Docs up to date",lint:"Code style clean",push:"Branch pushed",pr:"Pull request opened",ci:"CI passed"},Un={rebase:"Could not catch up with the main branch",test:"Tests failed",push:"Could not push the branch",pr:"Could not open the pull request",ci:"CI failed"},xt=t=>t&&t[0].toUpperCase()+t.slice(1),Ce=(t,e,r)=>`${t} ${t===1?e:r}`,wt=t=>Wn[t.key]??`Running ${t.label.toLowerCase()}`,Gt=t=>Bn[t]??"applying fixes",_t=t=>Un[t.key]??`${t.label} failed`;function Dt(t){const e=Math.max(0,Math.round(t/1e3));if(e<60)return`${e}s`;const r=Math.floor(e/60);if(r<60)return e%60?`${r}m ${e%60}s`:`${r}m`;const a=Math.floor(r/60);return r%60?`${a}h ${r%60}m`:`${a}h`}function st(t,e,r){if(r===null)return null;const a=e?Date.parse(e):NaN;return Number.isNaN(a)?t?.durationMs!=null?Dt(t.durationMs):null:Dt(r-a)}const Ge=(...t)=>t.filter(Boolean).join(" · ");function Yt(t,e){const r=t.gate?.questions??0;if(r>0)return Ce(r,"question","questions")+" for Firstmate";const a=t.gate?.findings||e.findings;return a>0?`${Ce(a,"finding","findings")} waiting on Firstmate`:"waiting on Firstmate"}function Xt(t,e){return`${Gt(e.key)}${t.round?`, round ${t.round}`:""}`}const Kn=t=>t.steps.find(e=>e.key===t.step)??null;function ls(t,e){const r=t.ci==="green";if(t.outcome==="passed")return r?"All checks passed · CI green":"All checks passed";if(t.outcome==="cancelled")return"Checks stopped before finishing";const a=Kn(t);if(t.outcome==="failed")return a?.state==="failed"?_t(a):"Checks failed";if(!a)return`${t.label} step`;switch(a.state){case"waiting":return Ge(wt(a),st(a,null,e),Yt(t,a));case"fixing":return xt(Ge(t.answered&&"Answer received",Xt(t,a),st(a,t.roundStartedAt??t.startedAt,e)));case"failed":return _t(a);case"running":if(a.key==="ci"){if(r)return"All checks passed · CI green";if(t.ci==="red")return Ge("CI found problems",st(a,t.startedAt,e))}return Ge(wt(a),st(a,t.startedAt,e));case"upcoming":return"Waiting for the checks to start";default:return r?"All checks passed · CI green":"Checks finished"}}function Gn(t,e){const r=t.findings,a=t.fixes??0;switch(t.state){case"upcoming":return"";case"skipped":return"Skipped";case"waiting":return xt(Yt(e,t));case"fixing":return xt(Ge(r>0&&`Found ${Ce(r,"issue","issues")}`,t.key===e.step?Xt(e,t):Gt(t.key)));case"failed":return Ge(_t(t),r>0&&Ce(r,"finding","findings"));case"running":return t.key==="ci"?e.ci==="green"?"CI passed; watching until it merges":e.ci==="red"?"CI found problems":"Waiting for CI checks":`${wt(t)}…`;default:return t.key==="ci"&&e.ci==="red"?"CI found problems":t.fixes===null&&t.key==="review"?r>0?`Found ${Ce(r,"issue","issues")}`:"No issues left":r>0&&a>0?`Found ${Ce(r,"issue","issues")} · fixed in ${Ce(a,"round","rounds")}`:r>0?t.key==="review"?`Found ${Ce(r,"issue","issues")}; no changes needed`:`${mt[t.key]??"Done"} · ${Ce(r,"note","notes")}`:a>0?`${t.key==="review"?"No issues left":mt[t.key]??"Done"} after ${Ce(a,"round of fixes","rounds of fixes")}`:mt[t.key]??"Done"}}function ds(t){if(!t.length)return null;const e=t.length,r=i=>t.filter(d=>d.state===i).length,a=r("fail"),s=r("running")+r("pending");if(a)return`${a} of ${e} ${e===1?"check":"checks"} failed`;if(s)return`${s} of ${e} ${e===1?"check":"checks"} still running`;const o=r("pass");return o?`${o} of ${e} ${e===1?"check":"checks"} passed`:`${e} ${e===1?"check":"checks"} reported`}const cs=t=>!!t.pipeline?.steps.length&&t.status!=="landed";function Yn(t,e){if(t.key==="ci"&&t.state!=="upcoming"&&t.state!=="skipped"){if(e.ci==="green")return"done";if(e.ci==="red"&&t.state!=="fixing")return"failed"}switch(t.state){case"done":return"done";case"running":return"active";case"waiting":return"waiting";case"fixing":return"fixing";case"failed":return"failed";case"skipped":return"skipped";default:return"todo"}}const Xn={done:"done",running:"active",waiting:"waiting",fixing:"fixing",failed:"failed",skipped:"skipped",upcoming:"todo"};function us(t,e){const r=new Map((e?.steps??[]).map(a=>[a.key,a]));return t?.steps.length?t.steps.map(a=>({key:a.key,label:a.label,tone:Yn(a,t),summary:Gn(a,t),durationMs:a.durationMs,current:a.key===t.step&&t.outcome==="running",report:r.get(a.key)??null})):(e?.steps??[]).map(a=>({key:a.key,label:a.label,tone:Xn[a.state],summary:a.summary,durationMs:a.durationMs,current:!1,report:a}))}function fs(t){switch(t.outcome){case"passed":return"All checks passed";case"failed":return"Checks failed";case"cancelled":return"Checks stopped before finishing";case"running":return"Checks under way";default:return"Checks"}}const Jn=15e3,Jt=t=>`url:${t}`,Vn=t=>t.startsWith("url:")?`/api/previews/check?url=${encodeURIComponent(t.slice(4))}`:`/api/tasks/${encodeURIComponent(t)}/preview`,Qn=5e3;class Zn{#e=M(lt({}));get checks(){return n(this.#e)}set checks(e){w(this.#e,e,!0)}#n=M(lt({}));get failed(){return n(this.#n)}set failed(e){w(this.#n,e,!0)}watching=new Map;running=new Map;unlisten=null;stopped(e){return this.checks[e]?.state==="down"}watch(e){const r=this.watching.get(e);r?r.count++:(this.watching.set(e,{count:1,timer:null}),this.refresh(e)),this.listen();let a=!1;return()=>{if(a)return;a=!0;const s=this.watching.get(e);!s||--s.count>0||(s.timer&&clearTimeout(s.timer),this.watching.delete(e),this.watching.size||(this.unlisten?.(),this.unlisten=null))}}refresh(e){const r=this.running.get(e);if(r)return r;const a=this.load(e).finally(()=>{this.running.delete(e),this.schedule(e)});return this.running.set(e,a),a}clear(){for(const e of this.watching.values())e.timer&&clearTimeout(e.timer);this.watching.clear(),this.unlisten?.(),this.unlisten=null,this.checks={},this.failed={}}async load(e){try{const r=await fetch(Vn(e));if(!r.ok)throw new Error(String(r.status));this.checks[e]=await r.json(),this.failed[e]=!1}catch{this.failed[e]=!0}}schedule(e){const r=this.watching.get(e);if(!r)return;r.timer&&clearTimeout(r.timer);const a=this.checks[e]?.state==="live"?Jn:Qn;r.timer=setTimeout(()=>{r.timer=null,document.visibilityState!=="hidden"&&this.refresh(e)},a)}listen(){if(this.unlisten)return;const e=()=>{if(document.visibilityState!=="hidden")for(const r of this.watching.keys())this.refresh(r)};window.addEventListener("focus",e),document.addEventListener("visibilitychange",e),this.unlisten=()=>{window.removeEventListener("focus",e),document.removeEventListener("visibilitychange",e)}}}const et=new Zn;class er{#e=M(0);get open(){return n(this.#e)}set open(e){w(this.#e,e,!0)}}const kt=new er,Vt="data-fullscreen-layer";function It(t){Qt(t.target)&&t.stopPropagation()}function tr(t){return t.setAttribute(Vt,""),t.style.pointerEvents="auto",document.body.appendChild(t),kt.open++===0&&window.addEventListener("focusin",It,!0),{destroy(){--kt.open===0&&window.removeEventListener("focusin",It,!0),t.remove()}}}function Qt(t){return t instanceof Element&&!!t.closest(`[${Vt}]`)}function hs(t){(kt.open>0||Qt(t.target))&&t.preventDefault()}const vs={review:"GitHub review",thread:"GitHub review comment",comment:"GitHub comment",preview:"Preview feedback",plugin:"Plugin feedback","pr-review":"Wheelhouse PR review",decision:"Decisions inbox"},ps={open:"To do",resolved:"Resolved on GitHub",addressed:"Worker reported it ready since"},ms=t=>t.where?`${t.where.path}${t.where.line!=null?`, line ${t.where.line}`:""}`:null;function nr(t){return{open:t.filter(e=>e.state==="open"),done:t.filter(e=>e.state!=="open")}}function gs(t){if(!t?.length)return null;const{open:e,done:r}=nr(t);return[e.length?`${e.length} ${nn(e.length,"change","changes")} to make`:null,r.length?`${r.length} done`:null].filter(Boolean).join(" · ")}const bs=t=>t.runs&&t.runs.current>1?t.runs.runs.at(-1)??null:null;function xs(t){if(!t.runs||t.runs.current<2)return null;const e=t.passage.steps[t.passage.current];return e?`Run ${t.runs.current} · ${e.label}`:`Run ${t.runs.current}`}const $t=500,tt=t=>t.replace(/\s+/g," ").trim(),rr=(t,e)=>t.length>e?t.slice(0,e-1).trimEnd()+"…":t;function gt(t){const e=t.y<.3333333333333333?"top":t.y<.6666666666666666?"middle":"bottom",r=t.x<1/3?"left":t.x<2/3?"":"right";return e==="middle"&&!r?"the middle":`the ${e}${r?` ${r}`:""}`}const ar={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 sr(t,e,r){const a=t?.closest('button, a, input, textarea, select, img, h1, h2, h3, h4, label, li, [role="button"]')??t;if(a&&a.tagName!=="HTML"&&a.tagName!=="BODY"){const s=a.tagName.toLowerCase(),o=a.getAttribute("role")==="button"?"button":ar[s]??"part of the page",i=rr(tt(a.value||a.getAttribute("aria-label")||a.getAttribute("alt")||a.textContent||""),60);return{kind:"element",label:i?`the “${i}” ${o}`:`a ${o} near ${gt(e)}`,detail:`<${s}>${i?` “${i}”`:""}, near ${gt(e)} of the page`}}return{kind:"spot",label:`a spot near ${gt(e)} of the page`,detail:`${Math.round(e.x*100)}% across and ${Math.round(e.y*100)}% down the part of the page in view (${r.w}×${r.h})`}}const ir=/^Preview feedback for (\S+) \((.+)\), sent together from the Preview tab \(([^)\n]*)\):$/,or=/^Feedback for (\S+) \((.+)\), sent together from the “([^“”\n]+)” plugin \(([a-z][a-z0-9-]*)\)(?:, about (.+))?:$/,lr="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.",dr=t=>t.flatMap((e,r)=>[`${r+1}. ${tt(e.text)}`,...e.points&&tt(e.points)?[` Points at: ${tt(e.points)}`]:[]]);function cr(t,e,r){return[`Preview feedback for ${t.id} (${tt(t.title)}), sent together from the Preview tab (${e}):`,...dr(r.map(a=>({text:a.text,points:a.points?.label??null}))),"",lr].join(`
|
|
2
|
-
`)}function ws(t){const e=t.replace(/\r\n?/g,`
|
|
3
|
-
`).split(`
|
|
4
|
-
`),r=ir.exec(e[0]??""),a=r?null:or.exec(e[0]??""),s=r??a;if(!s)return null;const o=[];for(const i of e.slice(1)){const d=/^\d+\. (.+)$/.exec(i);if(d){o.push({text:d[1],points:null});continue}const u=/^ {3}Points at: (.+)$/.exec(i);u&&o.length&&(o[o.length-1].points=u[1])}return o.length?{taskId:s[1],title:s[2],url:r?r[3]:null,plugin:a?{id:a[4],name:a[3],subject:a[5]??null}:null,items:o}:null}var ur=b('<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>'),fr=b('<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>'),hr=b('<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>'),vr=b('<div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"> </span> <!> <!> <!></div>'),pr=b('<iframe referrerpolicy="no-referrer" loading="lazy"></iframe>'),mr=b('<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>'),gr=b("<!> <!>",1),br=b('<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>'),xr=b('<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>'),wr=b('<iframe referrerpolicy="no-referrer"></iframe> <!>',1),_r=b('<span class="block text-xs"> </span>'),kr=b('<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>'),yr=b('<p class="text-sm"> </p>'),zr=b('<!> <p class="mt-2 text-sm font-medium"> </p> <p class="mt-1 text-xs"> </p>',1),Cr=b('<div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div><!></div></div>'),Sr=b("<div><!> <div><!></div></div>");function Tr(t,e){Ne(e,!0);let r=q(e,"taskId",3,null),a=q(e,"url",3,null),s=q(e,"compact",3,!1),o=q(e,"fill",3,!1),i=q(e,"desktop",3,!1),d=q(e,"toolbar",3,!0),u=q(e,"pointing",3,!1),g=q(e,"pin",3,null),T=M(null);function Y(E){const v=E.currentTarget.getBoundingClientRect(),y=E.clientX-v.left,$=E.clientY-v.top;let H=null;const X=n(xe)?n(oe):1;try{H=n(T)?.contentDocument?.elementFromPoint(y/X,$/X)??null}catch{H=null}const j={x:v.width?y/v.width:0,y:v.height?$/v.height:0};e.onpoint?.(sr(H,j,{w:Math.round(v.width),h:Math.round(v.height)}),j)}const ne={w:1280,h:800};let pe=M(0),ee=M(0),O=M(0);const se=_(()=>r()??Jt(a()??""));Re(()=>et.watch(n(se)));const I=_(()=>et.checks[n(se)]??null),be=_(()=>!!et.failed[n(se)]),B=_(()=>n(I)?.state==="live"),ie=_(()=>n(I)?.url??null),re=_(()=>n(ie)&&n(I)?Ft.view(n(ie)):null),Ae=_(()=>n(re)?_n(n(re),location.origin):""),oe=_(()=>n(ee)?n(ee)/ne.w:0),xe=_(()=>o()&&i()&&n(oe)>0&&n(oe)<1);function Me(){an(pe),et.refresh(n(se))}var te={reload:Me},we=Sr(),me=c(we);{var Le=E=>{var v=vr(),y=c(v),$=G(y,!0),H=f(y,2);{var X=S=>{var P=ur(),V=c(P);Wt(V,{class:"size-3.5"}),l(P),D(()=>{R(P,"aria-label",n(B)?"Reload the preview":"Check the preview again"),R(P,"title",n(B)?"Reload":"Check again")}),N("click",P,Me),p(S,P)};z(H,S=>{(n(B)||n(I)?.state==="blocked"||n(I)?.state==="down")&&S(X)})}var j=f(H,2);{var fe=S=>{var P=fr(),V=f(c(P));Bt(V,{class:"size-3.5","aria-hidden":"true"}),l(P),D(()=>R(P,"href",n(re))),p(S,P)};z(j,S=>{(n(B)||n(I)?.state==="blocked")&&S(fe)})}var U=f(j,2);{var J=S=>{var P=hr(),V=c(P);Et(V,{class:"size-3.5","aria-hidden":"true"}),ve(),l(P),N("click",P,function(...Q){e.onfullscreen?.apply(this,Q)}),p(S,P)};z(U,S=>{e.onfullscreen&&n(B)&&S(J)})}l(v),D(()=>{R(y,"title",n(ie)??void 0),W($,n(ie)??"Live preview")}),p(E,v)};z(me,E=>{d()&&E(Le)})}var de=f(me,2),ke=c(de);{var Pe=E=>{var v=Be(),y=Se(v);zn(y,()=>`${n(re)} ${n(pe)}`,$=>{var H=Be(),X=Se(H);{var j=U=>{var J=gr(),S=Se(J);{var P=A=>{var C=pr();D(()=>{R(C,"src",n(re)),R(C,"title",`Live preview of ${n(ie)??""}`),R(C,"sandbox",n(Ae)),C.inert=!!e.onopen,Ee(C,1,`absolute top-0 left-0 origin-top-left border-0 bg-white ${e.onopen?"pointer-events-none":""}`),pt(C,`width:${ne.w}px;height:${ne.h}px;transform:scale(${n(oe)??""})`)}),p(A,C)};z(S,A=>{n(oe)&&A(P)})}var V=f(S,2);{var Q=A=>{var C=mr(),ae=c(C),Z=c(ae);Et(Z,{class:"size-3.5","aria-hidden":"true"}),ve(),l(ae),l(C),N("click",C,function(...x){e.onopen?.apply(this,x)}),p(A,C)};z(V,A=>{e.onopen&&A(Q)})}p(U,J)},fe=U=>{var J=wr(),S=Se(J);Xe(S,A=>w(T,A),()=>n(T));var P=f(S,2);{var V=A=>{var C=br(),ae=c(C),Z=c(ae);ln(Z,{class:"size-4","aria-hidden":"true"}),ve(),l(ae),l(C),N("click",C,Y),p(A,C)},Q=A=>{var C=xr();D(()=>pt(C,`left:${g().x*100}%;top:${g().y*100}%`)),p(A,C)};z(P,A=>{u()?A(V):g()&&A(Q,1)})}D(()=>{R(S,"src",n(re)),R(S,"title",`Live preview of ${n(ie)??""}`),R(S,"sandbox",n(Ae)),Ee(S,1,pn(n(xe)?"absolute top-0 left-0 origin-top-left border-0 bg-white":"size-full border-0 bg-white")),pt(S,n(xe)?`width:${ne.w}px;height:${n(O)/n(oe)}px;transform:scale(${n(oe)})`:void 0)}),p(U,J)};z(X,U=>{s()?U(j):U(fe,-1)})}p($,H)}),p(E,v)},ye=E=>{const v=_(()=>!n(I)&&!n(be)),y=_(()=>n(v)?"Checking the preview…":n(be)?"Could not check the preview":n(I)?.state==="down"?"Preview stopped":n(I)?.state==="blocked"?"Preview cannot be embedded":n(I)?.state==="refused"?"Preview not shown here":"No live preview reported"),$=_(()=>n(v)?"":n(be)?"Wheelhouse did not answer; it will try again.":n(I)?.state==="blocked"?`${n(I).reason} Open it in a new tab instead.`:n(I)?.reason??"");var H=Be(),X=Se(H);{var j=U=>{var J=kr(),S=c(J);{var P=Z=>{Lt(Z,{class:"mt-0.5 size-4 shrink-0","aria-hidden":"true"})};z(S,Z=>{n(v)||Z(P)})}var V=f(S,2),Q=c(V),A=G(Q,!0),C=f(Q,2);{var ae=Z=>{var x=_r(),k=G(x,!0);D(()=>W(k,n($))),p(Z,x)};z(C,Z=>{n($)&&Z(ae)})}l(V),l(J),D(()=>{Ee(Q,1,`font-medium ${n(v)?"":"text-foreground"}`),W(A,n(y))}),p(U,J)},fe=U=>{var J=Cr(),S=c(J),P=c(S);{var V=A=>{var C=yr(),ae=G(C,!0);D(()=>W(ae,n(y))),p(A,C)},Q=A=>{var C=zr(),ae=Se(C);Lt(ae,{class:"mx-auto size-6","aria-hidden":"true"});var Z=f(ae,2),x=G(Z,!0),k=f(Z,2),ce=G(k,!0);D(()=>{W(x,n(y)),W(ce,n($))}),p(A,C)};z(P,A=>{n(v)?A(V):A(Q,-1)})}l(S),l(J),p(U,J)};z(X,U=>{s()?U(j):U(fe,-1)})}p(E,H)};z(ke,E=>{n(B)&&n(re)?E(Pe):E(ye,-1)})}return l(de),l(we),D(()=>{Ee(we,1,`min-w-0 ${o()?"flex h-full flex-col":""}`),R(we,"data-live-preview",n(I)?.state??"checking"),Ee(de,1,`group relative w-full overflow-hidden bg-muted/40 ${d()?"mt-1.5 rounded-lg border":""} ${s()?n(B)?"aspect-[16/10]":"":o()?"min-h-0 flex-1":n(B)?"h-[70vh] min-h-80":"h-40"}`)}),Tt(de,"clientWidth",E=>w(ee,E)),Tt(de,"clientHeight",E=>w(O,E)),p(t,we),Oe(te)}ut(["click"]);const Ct=()=>dt.data.reviewSurface??null,Rt="wheelhouse-preview-helper",Zt=()=>({said:[],list:[],asking:!1,error:null,sent:null}),Er=Object.freeze(Zt()),Ze=()=>crypto.randomUUID();class Ar{#e=M(lt({}));get byTask(){return n(this.#e)}set byTask(e){w(this.#e,e,!0)}loaded=!1;load(){if(!this.loaded){this.loaded=!0;try{const e=JSON.parse(localStorage.getItem(Rt)??"{}");if(e&&typeof e=="object"){for(const r of Object.values(e))r.asking=!1;this.byTask=e}}catch{this.byTask={}}}}save(){try{localStorage.setItem(Rt,JSON.stringify(this.byTask))}catch{}}view(e){return this.byTask[e]??Er}of(e){return this.load(),this.byTask[e]||(this.byTask[e]=Zt()),this.byTask[e]}async ask(e,r,a,s){const o=this.of(e),i=r.trim();if(!i&&!a||o.asking)return;o.said.push({id:Ze(),who:"captain",text:i||"What about this?",points:a}),o.asking=!0,o.error=null,this.save();const d=o.said.filter(u=>!u.notice).map(u=>({who:u.who,text:u.text,points:u.points??null}));try{const u=await fetch(`/api/tasks/${encodeURIComponent(e)}/preview/helper`,{method:"POST",headers:{"content-type":"application/json",[En]:s},body:JSON.stringify({turns:d,list:o.list.map(T=>T.text)})}),g=await u.json().catch(()=>null);!u.ok||!g?.reply?o.error=g?.message??`The helper could not answer (${u.status}).`:o.said.push({id:Ze(),who:"helper",text:g.reply,suggest:g.suggest.map(T=>({text:T,added:!1}))})}catch{o.error="Wheelhouse could not be reached. Try again."}finally{o.asking=!1,this.save()}}accept(e,r,a){const s=this.of(e),o=s.said.findIndex(u=>u.id===r),i=s.said[o]?.suggest?.[a];if(!i||i.added)return;i.added=!0;const d=s.said.slice(0,o).reverse().find(u=>u.who==="captain");s.list.push({id:Ze(),text:i.text,points:d?.points??null}),s.sent=null,this.save()}addOwn(e,r,a=null){const s=r.trim().slice(0,$t);if(!s)return;const o=this.of(e);o.list.push({id:Ze(),text:s,points:a}),o.sent=null,this.save()}edit(e,r,a){const s=this.of(e).list.find(o=>o.id===r);s&&(s.text=a.slice(0,$t),this.save())}remove(e,r){const a=this.of(e),s=a.list.find(o=>o.id===r);a.list=a.list.filter(o=>o.id!==r);for(const o of a.said)for(const i of o.suggest??[])s&&i.text===s.text&&(i.added=!1);this.save()}async send(e,r,a){const s=this.of(e.id),o=s.list.filter(g=>g.text.trim());if(!o.length)return!1;s.error=null;const i=await Tn(cr(e,r,o),a,e.id);if(!i.ok)return s.error=i.error,this.save(),!1;s.sent={at:new Date().toISOString(),count:o.length};const d=e.id.lastIndexOf("@"),u=d>0?`second mate ${e.id.slice(d+1)}`:"Firstmate";return s.list=[],s.said.push({id:Ze(),who:"helper",notice:!0,text:`Sent to ${u}: ${o.length} ${o.length===1?"note":"notes"}, which it passes to this task. Keep going if you spot more; they make a new list.`}),this.save(),!0}clear(e){const r=this.of(e);r.said=[],r.error=null,this.save()}}const $e=new Ar;var Mr=new Set(["$$slots","$$events","$$legacy","ref","value","class","data-slot"]),Lr=b("<textarea></textarea>");function Pr(t,e){Ne(e,!0);let r=q(e,"ref",15,null),a=q(e,"value",15),s=q(e,"data-slot",3,"textarea"),o=He(e,Mr);var i=Lr();jt(i),mn(i,d=>({"data-slot":s(),class:d,...o}),[()=>Kt("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",e.class)]),Xe(i,d=>r(d),()=>r()),Ut(i,a),p(t,i),Oe()}const Dr={unsupported:"This browser cannot turn speech into text. Chrome and Edge can; you can still type.",blocked:"The microphone is blocked for Wheelhouse. Allow it from the icon in the address bar, then try again.","no-microphone":"No microphone was found. Connect one, then try again.","no-speech":"Nothing was heard. Try again a little closer to the microphone.",network:"The browser’s speech service could not be reached. Check the connection and try again.",failed:"Dictation stopped unexpectedly. Try again, or type instead."};function Nt(){if(typeof window>"u")return null;const t=window;return t.SpeechRecognition??t.webkitSpeechRecognition??null}const Ir={"not-allowed":"blocked","service-not-allowed":"blocked","audio-capture":"no-microphone","no-speech":"no-speech",network:"network","language-not-supported":"unsupported"},ct=t=>t.trim().split(/\s+/).filter(Boolean),$r=(t,e)=>t.toLowerCase().replace(/[^\p{L}\p{N}]/gu,"")===e.toLowerCase().replace(/[^\p{L}\p{N}]/gu,""),en=(t,e)=>e.length<=t.length&&e.every((r,a)=>$r(r,t[a]));function Ot(t,e){const r=ct(t);return!r.length||en(ct(e),r)?e:/\s$/.test(t)||/^\s/.test(e)?t+e:`${t} ${e}`}function Rr(t,e){const r=ct(t),a=ct(e);return!r.length||!en(a,r)?e:a.slice(r.length).join(" ")}const Nr={privacyNote:"Dictation uses your browser’s speech service. In Chrome that sends what you say to Google to turn it into text, only while the microphone is on.",supported:()=>Nt()!==null,start(t,e){const r=Nt();if(!r)return e.problem("unsupported"),e.end(),{stop(){},abort(){}};const a=new r;a.lang=t,a.continuous=!0,a.interimResults=!0,a.onresult=s=>{let o="",i="";for(let d=0;d<s.results.length;d++){const u=s.results[d];u.isFinal?o=Ot(o,u[0].transcript):i=Ot(i,u[0].transcript)}e.text(o,Rr(o,i))},a.onerror=s=>{s.error!=="aborted"&&e.problem(Ir[s.error]??"failed")},a.onend=()=>e.end();try{a.start()}catch{e.problem("failed"),e.end()}return{stop:()=>a.stop(),abort:()=>a.abort()}}};let Or=Nr;const yt=()=>Or,Hr=2e3;class jr{#e=M(null);get owner(){return n(this.#e)}set owner(e){w(this.#e,e)}#n=M("idle");get phase(){return n(this.#n)}set phase(e){w(this.#n,e,!0)}#i=M(0);get startedAt(){return n(this.#i)}set startedAt(e){w(this.#i,e,!0)}#o=M(null);get problem(){return n(this.#o)}set problem(e){w(this.#o,e,!0)}#r=null;#t=null;#a=null;#l=[];active(e){return this.owner===e&&this.phase!=="idle"}start(e,r,a=qr()){this.phase!=="idle"&&this.commit();const s=yt();if(this.owner=e,this.problem=null,!s.supported()){this.problem="unsupported";return}this.#t=r,r.begin(),this.phase="listening",this.startedAt=Date.now();let o=null;const i=()=>o===null||this.#r===o;o=s.start(a,{text:(d,u)=>{i()&&this.#t===r&&r.show(...Fr(d,u))},problem:d=>{i()&&(this.problem=d)},end:()=>{i()&&this.#t===r&&this.#s("finish")}}),this.#t===r&&(this.#r=o)}stop(){if(this.phase==="idle")return Promise.resolve();const e=new Promise(r=>this.#l.push(r));return this.phase==="listening"&&(this.phase="stopping",this.#r?.stop(),this.#a=setTimeout(()=>this.#s("finish"),Hr)),e}commit(){this.phase!=="idle"&&this.#s("finish")}cancel(){this.phase!=="idle"&&this.#s("revert")}dismiss(){this.problem=null}#s(e){const r=this.#r,a=this.#t;this.#r=null,this.#t=null,this.#a&&clearTimeout(this.#a),this.#a=null,this.phase="idle",r?.abort(),a?.[e]();for(const s of this.#l.splice(0))s()}}const K=new jr;function qr(){return typeof navigator<"u"&&navigator.language?navigator.language:"en-US"}function Fr(t,e){const r=t.replace(/\s+/g," ").trim(),a=e.replace(/\s+/g," ").trim();return[r,r&&a?` ${a}`:a]}const tn=t=>t&&!/\s$/.test(t)?" ":"",Wr=t=>/^[\p{L}\p{N}]/u.test(t)?" ":"";function Br(t){let e="",r="",a="",s=!1;const o=(i,d)=>{t.value=i;try{t.setSelectionRange(d,d)}catch{}t.dispatchEvent(new Event("input",{bubbles:!0}))};return{begin(){e=t.value;const i=t.selectionStart??e.length,d=t.selectionEnd??i;r=e.slice(0,i),a=e.slice(d),s=!1},show(i,d){const u=i+d;if(!u)return;const g=r+tn(r)+u;o(g+Wr(a)+a,g.length),s=!0},finish(){},revert(){s&&o(e,r.length),s=!1}}}function _s(t,e){let r=null,a=null,s="";const o=i=>{const d=document.createRange();d.setStartAfter(i),d.collapse(!0);const u=window.getSelection();u?.removeAllRanges(),u?.addRange(d)};return{begin(){const i=window.getSelection();let d;i?.rangeCount&&t.contains(i.getRangeAt(0).startContainer)?(d=i.getRangeAt(0),a=d.extractContents()):(d=document.createRange(),d.selectNodeContents(t),d.collapse(!1),a=null);const u=document.createRange();u.setStart(t,0),u.setEnd(d.startContainer,d.startOffset),s=tn(u.toString().replace(/\u00a0/g," ")),r=document.createElement("span"),r.dataset.dictation="",d.insertNode(r)},show(i,d){if(!r)return;const u=document.createTextNode(i||d?s+i:""),g=document.createElement("span");g.className="dictation-forming",g.textContent=d,r.replaceChildren(u,...d?[g]:[]),e()},finish(){if(!r)return;const i=r.textContent??"";if(i){const d=document.createTextNode(i);r.replaceWith(d),(t.contains(document.activeElement)||document.activeElement===t)&&o(d)}else r.replaceWith(a??"");r=null,a=null,e()},revert(){r?.replaceWith(a??""),r=null,a=null,e()}}}const Ur=t=>t.code==="Space"&&t.shiftKey&&(t.metaKey||t.ctrlKey)&&!t.altKey,Kr=450;function Gr(t,e,r){let a=0;const s=i=>{if(Ur(i)){if(i.preventDefault(),i.repeat)return;K.active(e)?(a=0,K.stop()):(a=Date.now(),r());return}K.active(e)&&(i.key==="Escape"?(i.preventDefault(),i.stopPropagation(),a=0,K.cancel()):["Shift","Control","Meta","Alt","CapsLock"].includes(i.key)||(a=0,K.commit()))},o=i=>{if(!a||!(i.code==="Space"||["Shift","Meta","Control"].includes(i.key)))return;const d=Date.now()-a;a=0,d>=Kr&&K.active(e)&&K.stop()};return t.addEventListener("keydown",s),t.addEventListener("keyup",o),()=>{t.removeEventListener("keydown",s),t.removeEventListener("keyup",o)}}var Yr=b('<span class="tabular text-xs text-muted-foreground svelte-1uxx7q9" data-dictation-time=""> </span>'),Xr=b('<div class="absolute right-0 bottom-full z-30 mb-2 w-72 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="dialog" aria-label="Before you dictate" data-dictation-note=""><p class="svelte-1uxx7q9"> </p> <p class="mt-1.5 text-muted-foreground svelte-1uxx7q9">Words appear in the box for you to check; nothing is sent until you send it.</p> <div class="mt-2.5 flex justify-end gap-2 svelte-1uxx7q9"><button type="button" class="rounded-md px-2 py-1 text-muted-foreground hover:bg-muted hover:text-foreground svelte-1uxx7q9">Not now</button> <button type="button" class="rounded-md bg-primary px-2.5 py-1 font-medium text-primary-foreground svelte-1uxx7q9">Start dictating</button></div></div>'),Jr=b('<div class="absolute right-0 bottom-full z-30 mb-2 flex w-72 items-start gap-2 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="alert" data-dictation-problem=""><p class="min-w-0 flex-1 svelte-1uxx7q9"> </p> <button type="button" class="-m-1 rounded-sm p-1 text-muted-foreground hover:text-foreground svelte-1uxx7q9" aria-label="Dismiss"><!></button></div>'),Vr=b('<span class="relative inline-flex shrink-0 items-center gap-1.5 svelte-1uxx7q9"><!> <button type="button"><!></button> <span class="sr-only svelte-1uxx7q9" aria-live="polite"> </span> <!></span>');function Qr(t,e){Ne(e,!0);let r=q(e,"label",3,"Dictate"),a=q(e,"size",3,"md"),s=q(e,"disabled",3,!1),o=q(e,"listening",15,!1);const i={};sn(()=>{o(K.active(i))});const d=_(()=>o()&&K.phase==="stopping"),u=_(()=>K.owner===i?K.problem:null);let g=M(!1),T=M(lt(Date.now())),Y=M("Ctrl+Shift+Space");const ne="wheelhouse.voice.noted";let pe=!1;function ee(){if(pe)return!0;try{return localStorage.getItem(ne)==="1"}catch{return!1}}function O(){if(s())return;const v=yt();if(v.supported()&&v.privacyNote&&!ee()){w(g,!0);return}K.start(i,e.target()),e.field?.focus()}function se(){pe=!0;try{localStorage.setItem(ne,"1")}catch{}w(g,!1),O()}let I=M(!1);function be(){O(),w(I,K.active(i),!0)}async function B(){return w(I,!1),K.active(i)?(await K.stop(),!0):!1}Re(()=>{o()||w(I,!1)});function ie(){o()?K.stop():n(g)?w(g,!1):O()}const re=_(()=>{const v=Math.max(0,Math.floor((n(T)-K.startedAt)/1e3));return`${Math.floor(v/60)}:${String(v%60).padStart(2,"0")}`});Re(()=>{/Mac|iPhone|iPad/.test(navigator.platform)&&w(Y,"⌘⇧Space")}),Re(()=>{if(!o())return;w(T,Date.now(),!0);const v=setInterval(()=>w(T,Date.now(),!0),250);return()=>clearInterval(v)}),Re(()=>{if(e.field)return Gr(e.field,i,O)}),Re(()=>{if(!o()&&!n(g))return;const v=y=>{y.key!=="Escape"||y.defaultPrevented||(y.preventDefault(),o()&&K.cancel(),w(g,!1))};return window.addEventListener("keydown",v),()=>window.removeEventListener("keydown",v)}),rn(()=>{K.active(i)&&K.commit()});var Ae={hold:be,release:B},oe=Vr(),xe=c(oe);{var Me=v=>{var y=Yr(),$=G(y,!0);D(()=>W($,n(d)?"Finishing…":n(I)?`${n(re)} · let go of Space to send`:n(re))),p(v,y)};z(xe,v=>{o()&&v(Me)})}var te=f(xe,2),we=c(te);{var me=v=>{{let y=_(()=>a()==="md"?"size-3.5 fill-current":"size-3 fill-current");Fn(v,{get class(){return n(y)}})}},Le=v=>{{let y=_(()=>a()==="md"?"size-4.5":"size-4");dn(v,{get class(){return n(y)}})}};z(we,v=>{o()?v(me):v(Le,-1)})}l(te);var de=f(te,2),ke=G(de,!0),Pe=f(de,2);{var ye=v=>{var y=Xr(),$=c(y),H=G($,!0),X=f($,4),j=c(X),fe=f(j,2);l(X),l(y),D(U=>W(H,U),[()=>yt().privacyNote]),N("click",j,()=>w(g,!1)),N("click",fe,se),p(v,y)},E=v=>{var y=Jr(),$=c(y),H=G($,!0),X=f($,2),j=c(X);Ye(j,{class:"size-3.5"}),l(X),l(y),D(()=>W(H,Dr[n(u)])),N("click",X,()=>K.dismiss()),p(v,y)};z(Pe,v=>{n(g)?v(ye):n(u)&&v(E,1)})}return l(oe),D(()=>{R(te,"aria-label",o()?"Stop dictating":r()),R(te,"aria-pressed",o()),R(te,"title",o()?"Stop dictating · Esc cancels":`${r()} (${n(Y)}; hold for push-to-talk)`),te.disabled=s(),R(te,"data-dictating",o()?"":void 0),Ee(te,1,`mic flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-30 ${a()==="md"?"size-9 max-md:size-11":`size-7 ${ot.current?"touch-target":""}`} ${o()?"bg-danger/10 text-danger":"text-muted-foreground hover:bg-muted hover:text-foreground"}`,"svelte-1uxx7q9"),W(ke,o()?"Listening":"")}),N("mousedown",te,v=>v.preventDefault()),N("click",te,ie),p(t,oe),Oe(Ae)}ut(["mousedown","click"]);var Zr=new Set(["$$slots","$$events","$$legacy","value","class"]),ea=b('<div class="relative w-full min-w-0"><!> <div class="absolute right-1.5 bottom-1.5"><!></div></div>');function ta(t,e){Ne(e,!0);let r=q(e,"value",15),a=He(e,Zr),s=M(null),o=M(!1);var i=ea(),d=c(i);{let T=_(()=>Kt(e.class,n(o)?"pr-24":"pr-10"));Pr(d,Ue({get class(){return n(T)}},()=>a,{get ref(){return n(s)},set ref(Y){w(s,Y,!0)},get value(){return r()},set value(Y){r(Y)}}))}var u=f(d,2),g=c(u);{let T=_(()=>!!e.disabled);Qr(g,{get field(){return n(s)},target:()=>Br(n(s)),size:"sm",get disabled(){return n(T)},get listening(){return n(o)},set listening(Y){w(o,Y,!0)}})}l(u),l(i),p(t,i),Oe()}var na=b('<span class="inline-flex max-w-[85%] items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea"><!><span class="truncate"> </span></span>'),ra=b('<li class="flex flex-col items-end gap-1" data-said="captain"><!> <p class="max-w-[85%] rounded-xl rounded-br-sm border border-[var(--bubble-captain-border)] bg-[var(--bubble-captain)] px-3 py-2 text-sm leading-relaxed whitespace-pre-wrap"> </p></li>'),aa=b('<a href="/" class="text-xs text-sea hover:underline">See it in the chat</a>'),sa=b('<span class="inline-flex items-center gap-1 text-xs text-success"><!>On your list</span>'),ia=b('<button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-on-accent hover:bg-sea/90" data-add-to-list=""><!>Add to the list</button>'),oa=b('<div class="mt-2 rounded-md border bg-card px-3 py-2" data-suggestion=""><p class="text-sm leading-snug"> </p> <div class="mt-1.5"><!></div></div>'),la=b('<li class="flex gap-2.5" data-said="helper"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <div class="min-w-0 flex-1"><div></div> <!> <!></div></li>'),da=b('<li class="flex gap-1 py-1 pl-9" role="status" aria-label="The helper is answering"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></li>'),ca=b('<li class="text-sm text-danger" role="alert"> </li>'),ua=b('<div class="flex items-center gap-1.5 px-2.5 pt-2"><span class="inline-flex min-w-0 items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea" data-attached=""><!><span class="truncate"> </span></span> <button class="flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground hover:bg-muted" aria-label="Not about this part"><!></button></div>'),fa=b('<span class="text-xs text-muted-foreground">· not sent yet</span>'),ha=b('<p class="text-xs text-muted-foreground"> </p>'),va=b('<li class="group flex items-start gap-2 rounded-md border bg-background px-2 py-1"><span class="mt-0.5 w-4 shrink-0 text-right text-xs text-muted-foreground tabular-nums"> </span> <div class="min-w-0 flex-1"><textarea rows="1" maxlength="500" class="no-scrollbar block field-sizing-content w-full resize-none rounded bg-transparent text-sm leading-snug outline-none focus:bg-accent/40 max-md:text-base"></textarea> <!></div> <button class="flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground opacity-60 group-hover:opacity-100 hover:bg-muted hover:text-foreground max-md:size-11" aria-label="Remove from the list"><!></button></li>'),pa=b('<ol class="flex flex-col gap-1.5"></ol>'),ma=b('<p class="text-xs text-muted-foreground">Empty so far. Add what the helper suggests, or write your own below.</p>'),ga=b('<div class="no-scrollbar max-h-48 overflow-y-auto px-4"><!> <form class="mt-1.5 flex items-center gap-1"><!> <input maxlength="500" placeholder="Add your own" aria-label="Add your own feedback" class="h-7 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-11 max-md:text-base"/></form></div>'),ba=b(`<section class="flex min-h-0 flex-col rounded-lg border bg-panel" aria-label="Talk about this preview" data-preview-helper=""><header class="border-b px-4 py-3"><h2 class="flex items-center gap-2 text-base"><!>Talk it through</h2> <p class="mt-0.5 text-xs text-muted-foreground">A helper that sees only this preview. Nothing goes to Firstmate until you send.</p></header> <div class="no-scrollbar min-h-40 flex-1 overflow-y-auto px-4 py-4"><ol class="flex flex-col gap-4"><li class="flex gap-2.5"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true"><!></span> <p class="min-w-0 flex-1 text-sm leading-relaxed">I can see this preview, its screenshots, the task’s instructions and what the worker has
|
|
5
|
-
done so far. Point at anything, or just say what you think; I will turn it into a list for
|
|
6
|
-
the worker. <strong>Nothing goes to Firstmate until you send it.</strong></p></li> <!> <!> <!></ol></div> <div class="px-3 pb-3"><div class="rounded-lg border border-input bg-card shadow-sm focus-within:ring-2 focus-within:ring-ring/30"><!> <!> <div class="flex items-center gap-1 px-1.5 pb-1.5"><button title="Click a part of the page to say which part you mean" data-point=""><!> </button> <button aria-label="Say it" class="ml-auto flex size-8 cursor-pointer items-center justify-center rounded-full bg-foreground text-background disabled:cursor-not-allowed disabled:opacity-30 max-md:size-11"><!></button></div></div></div> <section class="border-t bg-card/60" aria-label="Your feedback" data-feedback-list=""><button class="flex w-full cursor-pointer items-center gap-2 px-4 py-2.5 text-left max-md:min-h-11"><h3 class="font-sans text-sm font-medium">Your feedback</h3> <span class="rounded-full bg-muted px-1.5 text-xs text-muted-foreground tabular-nums"> </span> <!> <!></button> <!> <div class="flex items-center gap-3 px-4 pt-2 pb-3"><button class="inline-flex h-9 shrink-0 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3.5 text-sm font-medium whitespace-nowrap text-on-accent hover:bg-sea/90 disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11" data-send-batch=""><!> </button> <span class="text-xs leading-snug text-muted-foreground">One message, for this same task</span></div></section></section>`);function xa(t,e){Ne(e,!0);let r=q(e,"pointing",15,!1),a=q(e,"attached",15,null);const s=_(()=>$e.view(e.task.id)),o=_(()=>dt.data.sessionToken??"");let i=M(""),d=M(""),u=M(!0),g=M(!1),T=M(null),Y=M(null);zt(()=>$e.load()),Re(()=>{n(s).said.length,n(s).asking,St().then(()=>n(T)?.scrollTo({top:n(T).scrollHeight,behavior:"smooth"}))}),Re(()=>{a()&&St().then(()=>n(Y)?.querySelector("textarea")?.focus())});function ne(){const x=n(i).trim();if(!x&&!a()||n(s).asking)return;const k=a()?.pointer??null;w(i,""),a(null),$e.ask(e.task.id,x,k,n(o))}async function pe(){!n(s).list.length||n(g)||(w(g,!0),await $e.send({id:e.task.id,title:e.task.shortTitle},e.url,n(o)),w(g,!1))}var ee=ba(),O=c(ee),se=c(O),I=c(se);bt(I,{class:"size-4 text-muted-foreground","aria-hidden":"true"}),ve(),l(se),ve(2),l(O);var be=f(O,2),B=c(be),ie=c(B),re=c(ie),Ae=c(re);Pt(Ae,{class:"size-3.5"}),l(re),ve(2),l(ie);var oe=f(ie,2);it(oe,17,()=>n(s).said,x=>x.id,(x,k)=>{var ce=Be(),De=Se(ce);{var je=m=>{var L=ra(),F=c(L);{var ue=_e=>{var ge=na(),qe=c(ge);vt(qe,{class:"size-3 shrink-0","aria-hidden":"true"});var Te=f(qe),ze=G(Te,!0);l(ge),D(()=>W(ze,n(k).points.label)),p(_e,ge)};z(F,_e=>{n(k).points&&_e(ue)})}var he=f(F,2),le=G(he,!0);l(L),D(()=>W(le,n(k).text)),p(m,L)},h=m=>{var L=la(),F=c(L),ue=c(F);Pt(ue,{class:"size-3.5"}),l(F);var he=f(F,2),le=c(he);Cn(le,()=>Sn(n(k).text),!0),l(le);var _e=f(le,2);{var ge=Te=>{var ze=aa();p(Te,ze)};z(_e,Te=>{n(k).notice&&n(s).sent&&Te(ge)})}var qe=f(_e,2);it(qe,17,()=>n(k).suggest??[],gn,(Te,ze,Fe)=>{var Ve=oa(),nt=c(Ve),Qe=G(nt,!0),rt=f(nt,2),We=c(rt);{var at=Ke=>{var Ie=sa(),ht=c(Ie);Ln(ht,{class:"size-3.5","aria-hidden":"true"}),ve(),l(Ie),p(Ke,Ie)},ft=Ke=>{var Ie=ia(),ht=c(Ie);At(ht,{class:"size-3.5","aria-hidden":"true"}),ve(),l(Ie),N("click",Ie,()=>$e.accept(e.task.id,n(k).id,Fe)),p(Ke,Ie)};z(We,Ke=>{n(ze).added?Ke(at):Ke(ft,-1)})}l(rt),l(Ve),D(()=>W(Qe,n(ze).text)),p(Te,Ve)}),l(he),l(L),D(()=>Ee(le,1,`chat-md text-sm ${n(k).notice?"text-muted-foreground":""}`)),p(m,L)};z(De,m=>{n(k).who==="captain"?m(je):m(h,-1)})}p(x,ce)});var xe=f(oe,2);{var Me=x=>{var k=da();p(x,k)};z(xe,x=>{n(s).asking&&x(Me)})}var te=f(xe,2);{var we=x=>{var k=ca(),ce=G(k,!0);D(()=>W(ce,n(s).error)),p(x,k)};z(te,x=>{n(s).error&&x(we)})}l(B),l(be),Xe(be,x=>w(T,x),()=>n(T));var me=f(be,2),Le=c(me),de=c(Le);{var ke=x=>{var k=ua(),ce=c(k),De=c(ce);vt(De,{class:"size-3 shrink-0","aria-hidden":"true"});var je=f(De),h=G(je,!0);l(ce);var m=f(ce,2),L=c(m);Ye(L,{class:"size-3"}),l(m),l(k),D(()=>W(h,a().pointer.label)),N("click",m,()=>a(null)),p(x,k)};z(de,x=>{a()&&x(ke)})}var Pe=f(de,2);{let x=_(()=>a()?"What about it?":"What do you think? Ask anything about it");ta(Pe,{rows:2,maxlength:4e3,get placeholder(){return n(x)},"aria-label":"Talk about this preview",class:"no-scrollbar min-h-12 border-0 bg-transparent text-sm shadow-none focus-visible:ring-0 max-md:text-base",onkeydown:k=>{k.key==="Enter"&&!k.shiftKey&&!k.isComposing&&(k.preventDefault(),ne())},get value(){return n(i)},set value(k){w(i,k,!0)}})}var ye=f(Pe,2),E=c(ye),v=c(E);vt(v,{class:"size-3.5","aria-hidden":"true"});var y=f(v,1,!0);l(E);var $=f(E,2),H=c($);An(H,{class:"size-4"}),l($),l(ye),l(Le),l(me),Xe(me,x=>w(Y,x),()=>n(Y));var X=f(me,2),j=c(X),fe=f(c(j),2),U=G(fe,!0),J=f(fe,2);{var S=x=>{var k=fa();p(x,k)};z(J,x=>{n(s).list.length&&x(S)})}var P=f(J,2);{let x=_(()=>n(u)?"rotate-180":"");Mn(P,{get class(){return`ml-auto size-4 text-muted-foreground transition-transform ${n(x)??""}`},"aria-hidden":"true"})}l(j);var V=f(j,2);{var Q=x=>{var k=ga(),ce=c(k);{var De=F=>{var ue=pa();it(ue,23,()=>n(s).list,he=>he.id,(he,le,_e)=>{var ge=va(),qe=c(ge),Te=G(qe),ze=f(qe,2),Fe=c(ze);jt(Fe);var Ve=f(Fe,2);{var nt=We=>{var at=ha(),ft=G(at);D(()=>W(ft,`Points at ${n(le).points.label??""}`)),p(We,at)};z(Ve,We=>{n(le).points&&We(nt)})}l(ze);var Qe=f(ze,2),rt=c(Qe);Ye(rt,{class:"size-3.5"}),l(Qe),l(ge),D(()=>{W(Te,`${n(_e)+1}.`),xn(Fe,n(le).text),R(Fe,"aria-label",`Feedback ${n(_e)+1}`)}),N("input",Fe,We=>$e.edit(e.task.id,n(le).id,We.currentTarget.value)),N("click",Qe,()=>$e.remove(e.task.id,n(le).id)),p(he,ge)}),l(ue),p(F,ue)},je=F=>{var ue=ma();p(F,ue)};z(ce,F=>{n(s).list.length?F(De):F(je,-1)})}var h=f(ce,2),m=c(h);At(m,{class:"size-3.5 shrink-0 text-muted-foreground","aria-hidden":"true"});var L=f(m,2);bn(L),l(h),l(k),qt("submit",h,F=>{F.preventDefault(),$e.addOwn(e.task.id,n(d)),w(d,"")}),Ut(L,()=>n(d),F=>w(d,F)),p(x,k)};z(V,x=>{n(u)&&x(Q)})}var A=f(V,2),C=c(A),ae=c(C);cn(ae,{class:"size-3.5","aria-hidden":"true"});var Z=f(ae,1,!0);l(C),ve(2),l(A),l(X),l(ee),D(x=>{Ee(E,1,`inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors max-md:h-11 max-md:px-3 max-md:text-sm ${r()?"bg-sea text-on-accent":"text-muted-foreground hover:bg-muted hover:text-foreground"}`),R(E,"aria-pressed",r()),W(y,r()?"Pointing…":"Point"),$.disabled=x,R(j,"aria-expanded",n(u)),W(U,n(s).list.length),C.disabled=!n(s).list.length||n(g),W(Z,n(g)?"Sending…":`Send to Firstmate${n(s).list.length?` (${n(s).list.length})`:""}`)},[()=>!n(i).trim()&&!a()||n(s).asking]),N("click",E,()=>r(!r())),N("click",$,ne),N("click",j,()=>w(u,!n(u))),N("click",C,pe),p(t,ee),Oe()}ut(["click","input"]);var wa=b('<span class="contents" data-slot="preview.action"><!></span>');function Ht(t,e){Ne(e,!0);const r=_(()=>dt.data.slots),a=_(()=>n(r)?.[Mt.fleet]?dt.data.slotsAt??0:0),s=_(()=>Ct()?.id??null),o=_(()=>Pn.entries(Mt.fleet,n(r),n(a)).filter(u=>u.slot==="preview.action"&&u.content.available).sort((u,g)=>+(g.pluginId===n(s))-+(u.pluginId===n(s))));var i=Be(),d=Se(i);it(d,17,()=>n(o),u=>u.key,(u,g)=>{var T=Be(),Y=Se(T);{var ne=pe=>{const ee=_(()=>n(g).pluginId===n(s));var O=wa(),se=c(O);{let I=_(()=>n(ee)?{...e.preview,primary:n(ee)}:e.preview);kn(se,{get entry(){return n(g)},get data(){return n(g).content.value},get preview(){return n(I)},quiet:!0})}l(O),D(()=>R(O,"data-primary",n(ee)?"":void 0)),p(pe,O)};z(Y,pe=>{n(g).content.available&&pe(ne)})}p(u,T)}),p(t,i),Oe()}var _a=b('<button type="button" class="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground hover:bg-accent hover:text-foreground"><!>Hide the helper</button>'),ka=b('<span class="flex flex-wrap items-center gap-1 text-xs" data-preview-surface=""><!></span>'),ya=b('<aside data-preview-helper-panel=""><div class="flex min-h-0 w-full flex-col"><div class="flex shrink-0 items-center justify-end md:hidden"><span class="absolute top-2 left-1/2 h-1 w-10 -translate-x-1/2 rounded-full bg-muted-foreground/40" aria-hidden="true"></span> <button type="button" class="grid size-11 place-items-center rounded-full text-muted-foreground hover:bg-accent hover:text-foreground" aria-label="Hide the helper"><!></button></div> <!></div></aside>'),za=b('<button type="button" class="absolute right-5 bottom-5 inline-flex items-center gap-2 rounded-full border bg-background px-4 py-2 text-sm font-medium shadow-lg hover:bg-accent max-md:hidden"><!>Talk it through</button>'),Ca=b('<a target="_blank" rel="noreferrer" class="grid size-11 shrink-0 place-items-center rounded-xl border hover:bg-accent" aria-label="Open in a new tab"><!></a>'),Sa=b('<button type="button" class="inline-flex h-11 shrink-0 items-center gap-2 rounded-xl border px-3 text-sm font-medium hover:bg-accent" aria-label="Talk it through"><!>Talk</button>'),Ta=b('<span class="flex min-w-0 flex-1 flex-wrap items-center justify-end gap-1"><!></span>'),Ea=b('<div class="fixed inset-0 z-50 flex flex-col bg-background outline-none" role="dialog" aria-modal="true" tabindex="-1" data-preview-studio=""><div class="flex h-12 shrink-0 items-center gap-3 border-b px-3 max-md:hidden sm:px-4"><p class="min-w-0 flex-1 truncate text-sm"><span class="font-medium"> </span> <span class="text-muted-foreground">· Live preview</span></p> <!> <!> <button type="button" class="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs hover:bg-accent" aria-label="Close full screen (Esc)" title="Close (Esc)"><!>Close</button></div> <div class="flex shrink-0 items-center gap-1 border-b px-1 pt-[env(safe-area-inset-top,0px)] md:hidden" data-preview-phone-bar=""><button type="button" class="grid size-11 shrink-0 place-items-center rounded-full hover:bg-accent" aria-label="Close full screen"><!></button> <div class="min-w-0 flex-1 py-1 text-center"><p class="truncate text-sm font-medium"> </p> <p class="truncate font-mono text-xs text-muted-foreground"> </p></div> <button type="button" class="grid size-11 shrink-0 place-items-center rounded-full hover:bg-accent disabled:opacity-40"><!></button></div> <div class="relative flex min-h-0 flex-1"><div class="min-w-0 flex-1 p-3 max-md:p-0"><!></div> <!></div> <div class="flex shrink-0 items-center gap-2 border-t bg-background px-3 pt-2 pb-[max(0.5rem,env(safe-area-inset-bottom,0px))] md:hidden" data-preview-dock=""><button type="button" class="grid size-11 shrink-0 place-items-center rounded-xl border hover:bg-accent"><!></button> <!> <!> <!></div></div>');function Aa(t,e){Ne(e,!0);let r=q(e,"talk",3,!0),a=q(e,"board",3,!1),s=q(e,"from",3,null);const o=_(Ct),i=_(()=>r()&&!!e.taskId&&!n(o));let d=M(!ot.current),u=M(!1),g=M(null);const T=_(()=>et.checks[e.taskId??Jt(e.url)]??null),Y=_(()=>n(T)?.state==="live"),ne=_(()=>Ft.view(n(T)?.url??e.url)),pe=_(()=>URL.parse(n(ne))?.host??n(ne)),ee=_(()=>n(Y)&&n(T)?.url?{url:n(T).url,taskId:e.taskId,title:e.title,projectId:e.taskId?yn()?.tasks.find(h=>h.id===e.taskId)?.projectId??null:null,board:a()}:null);let O=M(!1),se=M(null),I=M(null);zt(()=>{const h=document.activeElement,m=document.body.style.overflow;return document.body.style.overflow="hidden",n(I)?.focus(),()=>{document.body.style.overflow=m,h?.focus?.()}});function be(h){if(h.key!=="Escape")return;if(n(O)){h.preventDefault(),w(O,!1);return}const m=h.target;if(m instanceof HTMLTextAreaElement&&m.value.trim()){m.blur();return}h.preventDefault(),e.onclose()}var B=Ea();qt("keydown",on,be);var ie=c(B),re=c(ie),Ae=c(re),oe=G(Ae,!0);ve(2),l(re);var xe=f(re,2);{var Me=h=>{var m=_a(),L=c(m);On(L,{class:"size-4","aria-hidden":"true"}),ve(),l(m),N("click",m,()=>w(d,!1)),p(h,m)};z(xe,h=>{n(i)&&n(d)&&h(Me)})}var te=f(xe,2);{var we=h=>{var m=ka(),L=c(m);Ht(L,{get preview(){return n(ee)}}),l(m),p(h,m)};z(te,h=>{n(o)&&n(ee)&&h(we)})}var me=f(te,2),Le=c(me);Ye(Le,{class:"size-4","aria-hidden":"true"}),ve(),l(me),l(ie);var de=f(ie,2),ke=c(de),Pe=c(ke);Ye(Pe,{class:"size-5","aria-hidden":"true"}),l(ke);var ye=f(ke,2),E=c(ye),v=G(E,!0),y=f(E,2),$=G(y,!0);l(ye);var H=f(ye,2),X=c(H);Wt(X,{class:"size-5","aria-hidden":"true"}),l(H),l(de);var j=f(de,2),fe=c(j),U=c(fe);{let h=_(()=>e.taskId?null:e.url),m=_(()=>!ot.current),L=_(()=>ot.current&&n(u)),F=_(()=>n(i)&&n(d)&&n(O)),ue=_(()=>n(i)&&n(d)?n(se)?.at??null:null);Xe(Tr(U,{get taskId(){return e.taskId},get url(){return n(h)},fill:!0,get toolbar(){return n(m)},get desktop(){return n(L)},get pointing(){return n(F)},get pin(){return n(ue)},onpoint:(he,le)=>{w(se,{pointer:he,at:le},!0),w(O,!1)}}),he=>w(g,he,!0),()=>n(g))}l(fe);var J=f(fe,2);{var S=h=>{var m=ya(),L=c(m),F=c(L),ue=f(c(F),2),he=c(ue);Ye(he,{class:"size-5","aria-hidden":"true"}),l(ue),l(F);var le=f(F,2);{let _e=_(()=>({id:e.taskId,shortTitle:e.title}));xa(le,{get task(){return n(_e)},get url(){return e.url},get pointing(){return n(O)},set pointing(ge){w(O,ge,!0)},get attached(){return n(se)},set attached(ge){w(se,ge,!0)}})}l(L),l(m),D(()=>Ee(m,1,`flex min-h-0 w-[24rem] shrink-0 border-l bg-panel p-3 max-md:absolute max-md:inset-x-0 max-md:bottom-0 max-md:z-10 max-md:h-[88%] max-md:w-auto max-md:overflow-y-auto max-md:overscroll-contain max-md:rounded-t-2xl max-md:border-t max-md:border-l-0 max-md:px-2 max-md:pt-0 max-md:pb-2 max-md:shadow-2xl xl:w-[26rem] ${n(O)?"max-md:hidden":""}`)),N("click",ue,()=>w(d,!1)),p(h,m)},P=h=>{var m=za(),L=c(m);bt(L,{class:"size-4","aria-hidden":"true"}),ve(),l(m),N("click",m,()=>w(d,!0)),p(h,m)};z(J,h=>{n(i)&&n(d)&&e.taskId?h(S):n(i)&&h(P,1)})}l(j);var V=f(j,2),Q=c(V),A=c(Q);{var C=h=>{jn(h,{class:"size-5","aria-hidden":"true"})},ae=h=>{Rn(h,{class:"size-5","aria-hidden":"true"})};z(A,h=>{n(u)?h(C):h(ae,-1)})}l(Q);var Z=f(Q,2);{var x=h=>{var m=Ca(),L=c(m);Bt(L,{class:"size-5","aria-hidden":"true"}),l(m),D(()=>R(m,"href",n(ne))),p(h,m)};z(Z,h=>{(n(Y)||n(T)?.state==="blocked")&&h(x)})}var k=f(Z,2);{var ce=h=>{var m=Sa(),L=c(m);bt(L,{class:"size-4 shrink-0","aria-hidden":"true"}),ve(),l(m),N("click",m,()=>w(d,!0)),p(h,m)};z(k,h=>{n(i)&&!n(d)&&h(ce)})}var De=f(k,2);{var je=h=>{var m=Ta(),L=c(m);Ht(L,{get preview(){return n(ee)}}),l(m),p(h,m)};z(De,h=>{n(ee)&&h(je)})}l(V),l(B),Xe(B,h=>w(I,h),()=>n(I)),un(B,h=>tr?.(h)),D(()=>{R(B,"aria-label",`Live preview of ${e.title??""}, full screen`),W(oe,e.title),W(v,e.title),R(y,"title",n(ne)),W($,n(pe)),H.disabled=!n(T),R(H,"aria-label",n(Y)?"Reload the preview":"Check the preview again"),R(Q,"aria-pressed",n(u)),R(Q,"aria-label",n(u)?"Show at the phone’s width":"Show at a desktop’s width")}),N("click",me,function(...h){e.onclose?.apply(this,h)}),N("click",ke,function(...h){e.onclose?.apply(this,h)}),N("click",H,()=>n(g)?.reload()),N("click",Q,()=>w(u,!n(u))),vn(3,B,()=>wn,()=>({from:s()})),p(t,B),Oe()}ut(["click"]);function ks(t,e){Ne(e,!0);let r=q(e,"talk",3,!0),a=q(e,"board",3,!1),s=q(e,"from",3,null);const o=fn()&&!!e.taskId&&r()&&!a()&&!Ct();zt(()=>{!o||!e.taskId||(location.assign(hn(e.taskId)),e.onclose())});var i=Be(),d=Se(i);{var u=g=>{Aa(g,{get taskId(){return e.taskId},get title(){return e.title},get url(){return e.url},get talk(){return r()},get board(){return a()},get from(){return s()},get onclose(){return e.onclose}})};z(d,g=>{o||g(u)})}p(t,i),Oe()}export{hs as A,Tr as L,Pt as M,ks as P,ps as S,Yn as a,Qr as b,ls as c,Ct as d,Lt as e,Br as f,gs as g,us as h,fs as i,Dt as j,ds as k,bs as l,nr as m,vs as n,ms as o,et as p,xa as q,xs as r,cs as s,Ht as t,Jt as u,yt as v,ws as w,K as x,_s as y,Fn as z};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import"./cGKorBHP.js";import{p as c,a as n,b,c as o,o as v,t as d,g as r,r as x}from"./CEfkcOME.js";import{s as _}from"./CPPNfCxh.js";import{e as y,s as l}from"./BMjXQSgN.js";import{i as w}from"./DejOSSV7.js";import{p as i}from"./9-_TZern.js";var S=o('<a class="nav-tab shrink-0"> </a>'),E=o('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Settings"></nav>');function P(f,h){c(h,!1);const p=[{href:"/settings/gateway",label:"Gateway"},{href:"/settings/firstmate",label:"Firstmate"},{href:"/settings/events",label:"Events"},{href:"/settings/plugins",label:"Plugins"},{href:"/settings/chat",label:"Chat history"},{href:"/settings/voice",label:"Voice"},{href:"/settings/headroom",label:"Headroom"},{href:"/settings/discussion",label:"Discussion"},{href:"/settings/update",label:"Update"},{href:"/settings/setup",label:"Setup"},{href:"/settings/experimental",label:"Experimental features"}].filter(e=>{const t=i.data.features;return e.href==="/settings/gateway"?t?.remotes:e.href==="/settings/events"?t?.events:e.href==="/settings/discussion"?t?.discussion:!0}),g=e=>i.url.pathname===e||i.url.pathname.startsWith(`${e}/`);w();var a=E();y(a,5,()=>p,e=>e.href,(e,t)=>{var s=S(),u=v(s,!0);d(m=>{l(s,"href",r(t).href),l(s,"aria-current",m),_(u,r(t).label)},[()=>g(r(t).href)?"page":void 0]),n(e,s)}),x(a),n(f,a),b()}export{P as S};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as u,a as i,b as v,c as p,o as g,t as _,g as r,r as d,h as b}from"./CEfkcOME.js";import{s as x}from"./CPPNfCxh.js";import{e as L,s as l}from"./BMjXQSgN.js";import{p as n}from"./9-_TZern.js";import{H as O,L as o}from"./Dbp9eKZl.js";var H=p('<a class="nav-tab shrink-0"> </a>'),k=p('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Logbook"></nav>');function E(f,m){u(m,!0);const c=b(()=>n.data.features?.soundings?[...o.slice(0,-1),O,...o.slice(-1)]:o);var e=k();L(e,21,()=>r(c),s=>s.href,(s,t)=>{var a=H(),h=g(a,!0);_(()=>{l(a,"href",r(t).href),l(a,"aria-current",n.url.pathname===r(t).href?"page":void 0),x(h,r(t).label)}),i(s,a)}),d(e),i(f,e),v()}export{E as I};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{p as se,u as S,g as e,k as ne,m as f,e as M,r as C,t as I,a as m,b as ie,i as x,h as ae,s as L,o as D,c as X,A,f as be}from"./CEfkcOME.js";import{d as ce,e as le,s as W,a as de}from"./CPPNfCxh.js";import{i as G}from"./D4ikcNuh.js";import{s as P,h as we,d as ke}from"./BMjXQSgN.js";import{b as ee}from"./DKCbih8n.js";import{p as te}from"./D42BPZCD.js";import{c as ue,m as ye}from"./WRwU91GU.js";import{e as Ee,l as $,c as re}from"./C9b5_KhQ.js";import{b as oe,M as Te}from"./B_GuTGoj.js";import{S as fe}from"./61tb7Ymv.js";import{X as Me}from"./C6E-ekUK.js";const me={full:1e3,window:2e3},Ce=80,ve=1.45,Le=11,Oe=32;function ze(c){let r=0;for(const l of c)r=Math.max(r,[...l.trimEnd()].length);return Math.max(Ce,r)}function Se(c){const r=c.lineHeight??ve,l=Math.max(1,Math.floor(c.cols)),b=c.width/(l*(c.charWidth>0?c.charWidth:.6)),h=Number.isFinite(b)?Math.min(Oe,Math.max(Le,b)):13,a=Math.floor(h*10)/10,n=Math.max(1,Math.floor(Math.max(0,c.height)/(a*r)));return{fontSize:a,cols:l,rows:n}}function Ae({load:c,intervalMs:r,onresult:l,onerror:b,doc:h}){let a=!1,n=!1,t;const w=()=>{clearTimeout(t),a||(t=setTimeout(k,r))},k=async()=>{if(!(a||n)){if(h.hidden)return w();n=!0;try{const d=await c();a||l(d)}catch(d){a||b(d instanceof Error?d:new Error(String(d)))}finally{n=!1}w()}},O=()=>{!h.hidden&&!n&&(clearTimeout(t),k())};return h.addEventListener("visibilitychange",O),k(),()=>{a=!0,clearTimeout(t),h.removeEventListener("visibilitychange",O)}}function he(c,r,l,b,h=document){const a=`/api/tasks/${encodeURIComponent(c)}/output?lines=${r}`;return Ae({load:async()=>{const n=await fetch(a);if(!n.ok)throw new Error(`HTTP ${n.status}`);return await n.json()},intervalMs:l,doc:h,...b})}var Ne=X('<pre class="mt-auto whitespace-pre" aria-label="The worker’s terminal"> </pre>'),He=X('<p class="grid flex-1 place-items-center px-4 text-center font-sans text-sm text-terminal-foreground/60"><!></p>'),Fe=X('<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>'),Ie=X('<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 We(c,r){se(r,!0);let l=te(r,"open",15,!1);const b=200,h=16;let a=x(null),n=x(null),t=x(null),w=x(!1),k=x(0),O=x(0),d=x(.6),N=!0;S(()=>{if(e(a))if(l()&&!e(a).open){N=!0;const i=e(a);Ee(document.documentElement).then(()=>{!l()||!i.isConnected?$(document.documentElement):i.open||i.showModal()})}else!l()&&e(a).open&&e(a).close()}),S(()=>{if(!l())return;const i=document.documentElement;let u=!1;const g=()=>{document.fullscreenElement===i?u=!0:u&&(u=!1,l(!1))};return document.addEventListener("fullscreenchange",g),()=>{document.removeEventListener("fullscreenchange",g),$(i)}}),S(()=>{if(!l())return;ne(()=>re.open++);const i=he(r.task.id,b,me.full,{onresult:u=>{f(t,u,!0),f(w,!1)},onerror:()=>f(w,!0)});return()=>{i(),ne(()=>re.open--)}}),S(()=>{if(!e(n))return;const i=getComputedStyle(e(n)).fontFamily,u=document.createElement("canvas").getContext("2d");if(!u)return;u.font=`100px ${i}`;const g=u.measureText("M".repeat(10)).width/1e3;g>0&&f(d,g)});const H=ae(()=>e(t)?.available?e(t).lines:[]),F=ae(()=>Se({width:e(k)-2*h,height:e(O)-2*h,cols:ze(e(H)),charWidth:e(d)}));S(()=>{e(t),e(F),e(n)&&N&&(e(n).scrollTop=e(n).scrollHeight)});const U=()=>{e(n)&&(N=e(n).scrollHeight-e(n).scrollTop-e(n).clientHeight<24)};var E=Ie(),J=M(E);{var K=i=>{var u=Fe(),g=M(u),o=M(g);fe(o,{class:"size-4 text-terminal-foreground/70","aria-hidden":"true"});var _=L(o,2),R=D(_,!0),j=L(_,2),Q=D(j),q=L(j,4),V=M(q);Me(V,{class:"size-4"}),C(q),C(g);var s=L(g,2),y=M(s);{var pe=v=>{var T=Ne();let B;var Y=D(T,!0);I(Z=>{P(T,"data-cols",e(F).cols),P(T,"data-rows",e(F).rows),B=we(T,"",B,{padding:"16px","font-size":`${e(F).fontSize??""}px`,"line-height":ve}),W(Y,Z)},[()=>e(H).join(`
|
|
2
|
-
`)]),m(v,T)},xe=v=>{var T=He(),B=M(T);{var Y=p=>{var z=A("Could not reach the Wheelhouse server.");m(p,z)},Z=p=>{var z=A("Reading the worker’s terminal…");m(p,z)},ge=p=>{var z=A();I(()=>W(z,e(t).reason)),m(p,z)},_e=p=>{var z=A("The terminal is empty.");m(p,z)};G(B,p=>{e(w)?p(Y):e(t)?e(t).available?p(_e,-1):p(ge,2):p(Z,1)})}C(T),m(v,T)};G(y,v=>{e(H).length?v(pe):v(xe,-1)})}C(s),ee(s,v=>f(n,v),()=>e(n)),C(u),I(v=>{W(R,r.task.shortTitle),W(Q,`· live console, read-only${v??""}`)},[()=>e(t)?.capturedAt?` · ${ue(e(t).capturedAt)}`:""]),de("click",q,()=>l(!1)),le("scroll",s,U),oe(s,"clientWidth",v=>f(k,v)),oe(s,"clientHeight",v=>f(O,v)),m(i,u)};G(J,i=>{l()&&i(K)})}C(E),ee(E,i=>f(a,i),()=>e(a)),I(()=>{P(E,"aria-label",`${r.task.shortTitle??""}: live console`),P(E,"data-console-fullscreen",r.task.id)}),le("close",E,()=>{$(document.documentElement),l(!1)}),m(c,E),ie()}ce(["click"]);var Xe=X('<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>'),je=X('<p class="grid flex-1 place-items-center px-4 text-center text-xs text-terminal-foreground/60"><!></p>'),Pe=X('<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 $e(c,r){se(r,!0);let l=te(r,"lines",3,12),b=te(r,"class",3,"");const h=24;let a=x(null),n=x(!1),t=x(null),w=x(!1),k=x(!1);S(()=>{if(!e(a))return;const o=new IntersectionObserver(([_])=>f(n,_.isIntersecting,!0),{rootMargin:"100px"});return o.observe(e(a)),()=>o.disconnect()}),S(()=>{if(!(!e(n)||re.open>0))return he(r.task.id,l()+h,me.window,{onresult:o=>{f(t,o,!0),f(w,!1)},onerror:()=>f(w,!0)})}),S(()=>{r.onsample?.(e(t)?.available&&e(t).lines.length?{line:ye(e(t).lines),capturedAt:e(t).capturedAt}:null)});var O=Pe(),d=be(O),N=M(d),H=L(N,2),F=M(H);fe(F,{class:"size-3","aria-hidden":"true"});var U=L(F,4),E=D(U),J=L(U,2);Te(J,{class:"size-3.5 text-terminal-foreground/60 transition-colors group-hover/console:text-terminal-foreground","aria-hidden":"true"}),C(H);var K=L(H,2);{var i=o=>{var _=Xe(),R=D(_,!0);I(j=>W(R,j),[()=>e(t).lines.slice(-l()).join(`
|
|
3
|
-
`)]),m(o,_)},u=o=>{var _=je(),R=M(_);{var j=s=>{var y=A("Could not reach the Wheelhouse server.");m(s,y)},Q=s=>{var y=A("Reading the worker’s terminal…");m(s,y)},q=s=>{var y=A();I(()=>W(y,e(t).reason)),m(s,y)},V=s=>{var y=A("The terminal is empty.");m(s,y)};G(R,s=>{e(w)?s(j):e(t)?e(t).available?s(V,-1):s(q,2):s(Q,1)})}C(_),m(o,_)};G(K,o=>{e(t)?.available&&e(t).lines.length?o(i):o(u,-1)})}C(d),ee(d,o=>f(a,o),()=>e(a));var g=L(d,2);We(g,{get task(){return r.task},get open(){return e(k)},set open(o){f(k,o,!0)}}),I(o=>{ke(d,1,`group/console relative z-10 flex aspect-[16/10] flex-col overflow-hidden rounded-sm border bg-terminal text-terminal-foreground ${b()??""}`),P(d,"data-console",r.task.id),P(N,"aria-label",`Open ${r.task.shortTitle??""}’s live console full screen`),W(E,`read-only${o??""}`)},[()=>e(t)?.capturedAt?` · ${ue(e(t).capturedAt)}`:""]),de("click",N,()=>f(k,!0)),m(c,O),ie()}ce(["click"]);export{$e as C};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
function d(t){return--t*t*((1.70158+1)*t+1.70158)+1}function h(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function u(t){const n=t-1;return n*n*n+1}function g(t){return--t*t*t*t*t+1}const r={quick:180,panel:340,moment:700};function p(){return typeof matchMedia=="function"&&matchMedia("(prefers-reduced-motion: reduce)").matches}const o=t=>p()?0:t;function y(t,{duration:n=r.quick,delay:a=0}={}){return{delay:o(a),duration:o(n),easing:u,css:e=>`opacity: ${e}`}}function x(t,{y:n=8,duration:a=r.panel}={}){return{duration:o(a),easing:u,css:(e,s)=>`opacity: ${e}; transform: translateY(${s*n}px)`}}function M(t){return{duration:o(r.panel),easing:d,css:n=>`transform: scale(${.3+.7*n})`}}function b(t){return{duration:o(r.quick+120),easing:u,css:(n,a)=>`display: inline-block; opacity: ${n}; transform: translateY(${a*70}%)`}}const w=r.moment+r.panel+60;function k(t,{word:n=null}={}){if(p())return{duration:0};if(n){const i=document.createElement("span");i.className="wh-stamp",i.setAttribute("aria-hidden","true"),i.textContent=n,t.append(i)}const a=n?r.moment:0,e=r.panel+60,s=a+e,l=t.offsetHeight,m=t.parentElement&&parseFloat(getComputedStyle(t.parentElement).rowGap)||0;return{duration:s,css:i=>{const c=h(Math.max(0,(1-i)*s-a)/e);return`opacity: ${1-c}; transform: translateX(${-c*32}px); overflow: hidden;height: ${l*(1-c)}px; margin-bottom: ${-m*c}px`}}}const f=new WeakMap;function O(t,n,a=1600){return e=>{const s=f.has(e),l=f.get(e);if(f.set(e,t),!s||!t||l||p())return;e.classList.add(n);const m=setTimeout(()=>e.classList.remove(n),a);return()=>{clearTimeout(m),e.classList.remove(n)}}}function $(t,n){return{x:t.left-n.left,y:t.top-n.top,sx:n.width?t.width/n.width:1,sy:n.height?t.height/n.height:1}}function _(t,{from:n}){if(p())return{duration:0};if(!n)return{duration:r.panel,easing:u,css:(e,s)=>`opacity: ${e}; transform: scale(${1-s*.03})`};const a=$(n,t.getBoundingClientRect());return{duration:r.panel+140,easing:g,css:(e,s)=>`transform-origin: 0 0; border-radius: ${s*10}px; opacity: ${Math.min(1,e*2.5)};transform: translate(${s*a.x}px, ${s*a.y}px) scale(${1-s*(1-a.sx)}, ${1-s*(1-a.sy)})`}}export{r as M,w as S,x as a,O as b,u as c,b as d,y as f,M as p,p as r,k as s,_ as z};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.Dhq3WtUH.js","../chunks/DsnmJJEf.js","../chunks/B42VotjV.js","../chunks/CEfkcOME.js","../chunks/CPPNfCxh.js","../chunks/D4ikcNuh.js","../chunks/s1S1BAXN.js","../chunks/CGbw525c.js","../chunks/C9FkVhl-.js","../chunks/BMjXQSgN.js","../chunks/Cid61cQS.js","../chunks/CbiqPRp4.js","../chunks/9-_TZern.js","../chunks/DjVT8Vdk.js","../chunks/RYvdmj4W.js","../chunks/Z_T9JZ0p.js","../chunks/DTpgmq3M.js","../chunks/BXN538J3.js","../chunks/BjKSCYOc.js","../chunks/DKCbih8n.js","../chunks/D42BPZCD.js","../chunks/tpeuVjMv.js","../chunks/B_vxNA4w.js","../chunks/Dbp9eKZl.js","../chunks/yG62-yMx.js","../chunks/CjEWkwrc.js","../chunks/DBuj1e9B.js","../chunks/BPRVAIy6.js","../chunks/D5xbT1cY.js","../chunks/WRwU91GU.js","../chunks/B6yYMcjx.js","../chunks/C14pDzYB.js","../chunks/D4Okmn3b.js","../chunks/CrOCeWF7.js","../chunks/Cb5RrIpk.js","../chunks/56FYNR0s.js","../chunks/iInrZOCY.js","../chunks/CUX8nq8d.js","../chunks/CuYc7d4s.js","../chunks/C9b5_KhQ.js","../chunks/BMEfZRmb.js","../chunks/C0oq3sur.js","../chunks/DjjMMxuF.js","../chunks/BftdAJED.js","../chunks/C6E-ekUK.js","../chunks/BkDaGfWb.js","../chunks/L6sq18qu.js","../chunks/BexGUSY7.js","../chunks/BUYzAikv.js","../chunks/BormTmQ8.js","../chunks/DRPGxn7H.js","../chunks/Cl68Rk3P.js","../chunks/-Ivlm0RJ.js","../chunks/BCm9P2vn.js","../chunks/C3dZ1eoF.js","../chunks/CSPx7z8H.js","../chunks/BLcrDXJf.js","../chunks/Cy13iexy.js","../chunks/pY09PF5T.js","../chunks/BNnZxuye.js","../chunks/DrX7Uhja.js","../chunks/oz1KZkRS.js","../chunks/C9vOtGP4.js","../chunks/pKdinMXX.js","../chunks/CiB1IASV.js","../chunks/BUmmYEUU.js","../chunks/q8XKXA7h.js","../chunks/BTPd4OWk.js","../chunks/lJr_B3U6.js","../chunks/BUDmXDBn.js","../assets/StateIcon.Dme7y7s6.css","../chunks/CuD4TGYr.js","../chunks/FbsbMm-u.js","../chunks/fNoseNKL.js","../chunks/C1_mhCjD.js","../chunks/D3axFSng.js","../chunks/CJsvF1Ay.js","../chunks/C7Ec6qt3.js","../chunks/ck3_pj9L.js","../chunks/Sv3hh1sg.js","../chunks/BxKmcvUJ.js","../chunks/DBAsB2Vf.js","../chunks/DI6U75Wo.js","../chunks/Duk3W2l8.js","../chunks/BZk70sB4.js","../chunks/CjOcIL_D.js","../chunks/CnjebU_i.js","../chunks/CrndE5do.js","../chunks/61tb7Ymv.js","../chunks/LJz6leLj.js","../chunks/B_GuTGoj.js","../chunks/uFR0qOc6.js","../chunks/D6J6SKJa.js","../chunks/RKJLUbAQ.js","../chunks/BicHgQHF.js","../chunks/B0CcXh2k.js","../assets/Discussion.DvbZU78X.css","../chunks/DsdpKvSM.js","../chunks/B0iegdDx.js","../chunks/B-JNrTge.js","../chunks/B42HCa1Z.js","../chunks/DlBoDmKe.js","../chunks/DmHLj4sk.js","../chunks/DgIRKToT.js","../assets/PreviewWindow.Dga9zAug.css","../chunks/CN-QAmsr.js","../chunks/BJ2W5Dwa.js","../chunks/C0iS9LEC.js","../chunks/BmJn9UH9.js","../chunks/DDr41DrT.js","../chunks/CGi13fS5.js","../chunks/CPY1RtwR.js","../chunks/DnSfLnEu.js","../chunks/DOTFZ3Kg.js","../chunks/8eCF3fZX.js","../chunks/CDKs55ee.js","../chunks/B_K7bQIx.js","../chunks/RO7dcDoR.js","../chunks/CuBB2sQo.js","../chunks/CcHpYnFJ.js","../chunks/BhudhehD.js","../chunks/DOuX60Xh.js","../chunks/BguEdRKo.js","../chunks/C_6cHCD_.js","../chunks/CF48ZaJf.js","../chunks/aXaOr426.js","../assets/0.BvEx4fYi.css","../nodes/1.yHMjTNFd.js","../nodes/2.D4BBcUZD.js","../chunks/DmE3BoiD.js","../chunks/BxEo-3qj.js","../chunks/DtjjIXd5.js","../chunks/Cjcq7TCE.js","../chunks/CZPeboo-.js","../chunks/0zLzNufR.js","../chunks/POlOdWbo.js","../chunks/C2pvsFSz.js","../chunks/fGU1mdyw.js","../chunks/lQExwTPF.js","../chunks/BUI64CqJ.js","../chunks/BtuWQ3NL.js","../chunks/cGKorBHP.js","../chunks/DejOSSV7.js","../chunks/C8hi9Wuh.js","../chunks/BUGu9Ymh.js","../assets/Terminal.B4BtIq8f.css","../assets/2.meoe_KFK.css","../nodes/3.DwPoOq5S.js","../nodes/4.BRBsBcEd.js","../chunks/IiFQttgl.js","../nodes/5.xQMET0O9.js","../nodes/7.CHGmQQDj.js","../chunks/CxezB_-_.js","../assets/DocSheet.36VhUGpN.css","../nodes/8.pCIGTPiW.js","../chunks/D99Sj8Yt.js","../assets/8.DodnPJFM.css","../nodes/9.COijf-kc.js","../nodes/10.66I7WPUt.js","../nodes/11.CXZNAZjz.js","../nodes/12.BWkGQW68.js","../nodes/13.BCSIdGf1.js","../chunks/DuRNLPmN.js","../nodes/14.C4w338BK.js","../chunks/By5LN09n.js","../chunks/6LK584eW.js","../chunks/Bnw9IaH1.js","../nodes/15.GzfNuiIx.js","../chunks/CbRxfAX3.js","../nodes/16.BY0OGPl3.js","../chunks/DDdYnEAT.js","../chunks/ChdBca3m.js","../nodes/17.CAads_mj.js","../nodes/18.CQ5rMFpj.js","../chunks/D7IP_ZEm.js","../nodes/19.DoJhF8cr.js","../nodes/20.CK_5DmRX.js","../chunks/X3Yvfz5H.js","../nodes/21.tAgxJC5p.js","../assets/21.BEAKCIvn.css","../nodes/22.D5HIwciL.js","../nodes/24.DglV_zOB.js","../chunks/Dy0QCcYi.js","../nodes/25.QmrA5jsw.js","../nodes/26.bNd_Dtqo.js","../nodes/27.BfZYpgpu.js","../nodes/28.CvG4tqfv.js","../nodes/29.vBXAqAaG.js","../nodes/30.zNvkyZ-K.js","../nodes/31.BGV4-1As.js","../nodes/32.eV1sEYs0.js","../chunks/B4BCO8_v.js","../chunks/BxuRI5YA.js","../nodes/33.DLGSDg3O.js","../nodes/34.DXqmQc83.js","../nodes/35.CZ_gU3oF.js","../nodes/36.CkCw-RFR.js","../nodes/37.DHXxzca8.js","../nodes/38.DFBa_FHA.js","../nodes/39.BQNTANRP.js","../nodes/40.9Zdbx_6A.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as r}from"../chunks/CZPeboo-.js";import{m as h,ay as Y,g as n,J as q,aL as B,aM as F,p as H,z as K,u as N,P as Q,f as g,s as U,a as E,b as W,i as P,y as O,e as X,r as Z,c as y,h as R,A as $,t as tt}from"../chunks/CEfkcOME.js";import{h as rt,m as et,u as ot,s as it}from"../chunks/CPPNfCxh.js";import"../chunks/DsnmJJEf.js";import{o as _t}from"../chunks/B42VotjV.js";import{i as A}from"../chunks/D4ikcNuh.js";import{c as L}from"../chunks/CGbw525c.js";import{b as D}from"../chunks/DKCbih8n.js";import{p as I}from"../chunks/D42BPZCD.js";const Rt={};function st(i){return class extends at{constructor(t){super({component:i,...t})}}}class at{#r;#t;constructor(t){var _=new Map,a=(e,o)=>{var u=F(o,!1,!1);return _.set(e,u),u};const m=new Proxy({...t.props||{},$$events:{}},{get(e,o){return n(_.get(o)??a(o,Reflect.get(e,o)))},has(e,o){return o===Y?!0:(n(_.get(o)??a(o,Reflect.get(e,o))),Reflect.has(e,o))},set(e,o,u){return h(_.get(o)??a(o,u),u),Reflect.set(e,o,u)}});this.#t=(t.hydrate?rt:et)(t.component,{target:t.target,anchor:t.anchor,props:m,context:t.context,intro:t.intro??!1,recover:t.recover,transformError:t.transformError}),(!t?.props?.$$host||t.sync===!1)&&q(),this.#r=m.$$events;for(const e of Object.keys(this.#t))e==="$set"||e==="$destroy"||e==="$on"||B(this,e,{get(){return this.#t[e]},set(o){this.#t[e]=o},enumerable:!0});this.#t.$set=e=>{Object.assign(m,e)},this.#t.$destroy=()=>{ot(this.#t)}}$set(t){this.#t.$set(t)}$on(t,_){this.#r[t]=this.#r[t]||[];const a=(...m)=>_.call(this,...m);return this.#r[t].push(a),()=>{this.#r[t]=this.#r[t].filter(m=>m!==a)}}$destroy(){this.#t.$destroy()}}var mt=y('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),ut=y("<!> <!>",1);function nt(i,t){H(t,!0);let _=I(t,"components",23,()=>[]),a=I(t,"data_0",3,null),m=I(t,"data_1",3,null);K(()=>t.stores.page.set(t.page)),N(()=>{t.stores,t.page,t.constructors,_(),t.form,a(),m(),t.stores.page.notify()});let e=P(!1),o=P(!1),u=P(null);_t(()=>{const s=t.stores.page.subscribe(()=>{n(e)&&(h(o,!0),Q().then(()=>{h(u,document.title||"untitled page",!0)}))});return h(e,!0),s});const j=R(()=>t.constructors[1]);var T=ut(),V=g(T);{var w=s=>{const d=R(()=>t.constructors[0]);var l=O(),v=g(l);L(v,()=>n(d),(c,p)=>{D(p(c,{get data(){return a()},get form(){return t.form},get params(){return t.page.params},children:(f,lt)=>{var b=O(),S=g(b);L(S,()=>n(j),(z,G)=>{D(G(z,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),J=>_()[1]=J,()=>_()?.[1])}),E(f,b)},$$slots:{default:!0}}),f=>_()[0]=f,()=>_()?.[0])}),E(s,l)},k=s=>{const d=R(()=>t.constructors[0]);var l=O(),v=g(l);L(v,()=>n(d),(c,p)=>{D(p(c,{get data(){return a()},get form(){return t.form},get params(){return t.page.params}}),f=>_()[0]=f,()=>_()?.[0])}),E(s,l)};A(V,s=>{t.constructors[1]?s(w):s(k,-1)})}var C=U(V,2);{var M=s=>{var d=mt(),l=X(d);{var v=c=>{var p=$();tt(()=>it(p,n(u))),E(c,p)};A(l,c=>{n(o)&&c(v)})}Z(d),E(s,d)};A(C,s=>{n(e)&&s(M)})}E(i,T),W()}const At=st(nt),Lt=[()=>r(()=>import("../nodes/0.Dhq3WtUH.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126]),import.meta.url),()=>r(()=>import("../nodes/1.yHMjTNFd.js"),__vite__mapDeps([127,1,3,4,12,11,2]),import.meta.url),()=>r(()=>import("../nodes/2.D4BBcUZD.js"),__vite__mapDeps([128,1,2,3,4,5,8,9,12,11,13,14,38,16,17,22,48,76,77,53,20,26,6,19,49,50,28,18,21,27,7,29,30,31,32,33,34,35,36,37,39,40,41,42,43,44,45,46,47,51,102,24,56,90,93,103,94,71,98,104,129,130,15,116,91,131,112,118,87,110,111,123,64,132,58,60,133,105,109,134,125,135,52,136,137,115,74,106,107,120,138,139,10,140,92,124,69,70,57,101,67,119,78,82,83,84,85,86,54,88,73,65,97,141,142,143,144,68,122,145,62,146]),import.meta.url),()=>r(()=>import("../nodes/3.DwPoOq5S.js"),__vite__mapDeps([147,1,3,4,5,28,9,8,10,2,11,12,13,14,57,48,20,15,16,17,58,26,6,36,29,75,76,77,7,30,19,78,32,33,79,50,80,44,81,82,40,45,83,84,85,86,54,87,88,89,39,90,43,91,92,93,94,95,41,96]),import.meta.url),()=>r(()=>import("../nodes/4.BRBsBcEd.js"),__vite__mapDeps([148,1,3,4,5,9,7,8,12,11,2,29,106,149,23,112,77,71,20,26,6,103,119,92]),import.meta.url),()=>r(()=>import("../nodes/5.xQMET0O9.js"),__vite__mapDeps([150,1,2,3,4,8,12,11,10,13,14,22,136,5,9,26,6,20,137,29,48,115,102,53,38,16,17,19,24,18,21,56,28,90,93,47,76,77,30,33,44,103,94,71,43,98,104,60,74,106,107,15,120,27,7,31,32,34,35,36,37,39,40,41,42,45,46,138,139,140,92,124,69,70,125,118,57,58,101,52,135,67,119]),import.meta.url),()=>r(()=>import("../chunks/CZPeboo-.js").then(i=>i.a),[],import.meta.url),()=>r(()=>import("../nodes/7.CHGmQQDj.js"),__vite__mapDeps([151,1,3,4,5,8,76,77,152,6,9,19,36,20,26,153,68,87]),import.meta.url),()=>r(()=>import("../nodes/8.pCIGTPiW.js"),__vite__mapDeps([154,1,2,3,4,5,9,7,8,30,12,11,137,52,13,14,29,48,155,51,101,26,6,20,100,24,71,135,74,50,28,44,81,125,138,60,19,99,36,156]),import.meta.url),()=>r(()=>import("../nodes/9.COijf-kc.js"),__vite__mapDeps([157,1,3,4,5,9,8,29,106,20,149,12,11,2,23,83,26,6,64,103]),import.meta.url),()=>r(()=>import("../nodes/10.66I7WPUt.js"),__vite__mapDeps([158,1,3,4,5,9,8,30,12,11,2,32,33,6,19,20,149,23,38,16,17,14,29,93,26,62,61]),import.meta.url),()=>r(()=>import("../nodes/11.CXZNAZjz.js"),__vite__mapDeps([159,1,2,3,4,5,28,9,26,6,20,8,10,11,12,13,14,15,16,17,29,139,24,76,77,30,19,102,53,38,18,21,56,90,93,47,33,44,103,94,71,43,98,22,104,130,116,91,131,112,118,87,7,110,111,36,123,68,92,85,107,48]),import.meta.url),()=>r(()=>import("../nodes/12.BWkGQW68.js"),__vite__mapDeps([160,1,3,5,8,2,4,9,53,20,26,6,12,11,38,16,17,14,30,19,132,7,46,84,94,87,64,131,43,99,44,68,71,41,95]),import.meta.url),()=>r(()=>import("../nodes/13.BCSIdGf1.js"),__vite__mapDeps([161,1,3,4,5,9,8,12,11,2,23,13,14,22,25,24,20,26,6,162,72,36,97]),import.meta.url),()=>r(()=>import("../nodes/14.C4w338BK.js"),__vite__mapDeps([163,1,2,3,4,5,9,8,30,19,12,11,32,33,6,20,7,80,50,28,44,26,81,164,13,14,17,40,43,165,64,29,98,166,54,65,71,97]),import.meta.url),()=>r(()=>import("../nodes/15.GzfNuiIx.js"),__vite__mapDeps([167,1,3,4,5,8,9,12,11,2,13,14,22,168,43,20,26,6,143,27,28,7,29,30,17,31,32,33,19,34,35,36,37,18,21,38,16,39,40,41,42,44,45,46,47]),import.meta.url),()=>r(()=>import("../nodes/16.BY0OGPl3.js"),__vite__mapDeps([169,1,3,4,5,8,12,11,2,13,14,22,48,170,9,20,52,155,29,51,7,67,26,6,171,85,64,58,111,47,115,102,53,38,16,17,19,24,18,21,56,28,90,93,76,77,30,33,44,103,94,71,43,98,104,60,74,32,117,114,105,140,106,92,110,36,87,118,88,73,27,31,34,35,37,39,40,41,42,45,46,124,89,122,100]),import.meta.url),()=>r(()=>import("../nodes/17.CAads_mj.js"),__vite__mapDeps([172,1,3,4,5,8,9,12,11,2,13,14,22,170,20,52,155,29,48,51,7,67,26,6,171,85,64,58,111,47,27,28,30,17,31,32,33,19,34,35,36,37,18,21,38,16,39,40,41,42,43,44,45,46]),import.meta.url),()=>r(()=>import("../nodes/18.CQ5rMFpj.js"),__vite__mapDeps([173,1,3,4,5,9,8,12,11,2,10,13,14,22,170,20,52,155,29,48,51,7,67,26,6,171,85,64,58,111,47,17,32,33,19,174,45,113,88]),import.meta.url),()=>r(()=>import("../nodes/19.DoJhF8cr.js"),__vite__mapDeps([175,1,3,4,5,28,9,8,10,2,11,12,13,14,30,137,32,33,6,19,20,17,174,68,26,88,134,44,98,94,122,41,45,43,171,59,42,116]),import.meta.url),()=>r(()=>import("../nodes/20.CK_5DmRX.js"),__vite__mapDeps([176,1,3,5,8,177,4,9,86,20,26,6,125,12,11,2,17,21,29,32,33,19]),import.meta.url),()=>r(()=>import("../nodes/21.tAgxJC5p.js"),__vite__mapDeps([178,1,3,4,5,9,8,13,12,11,2,14,29,138,20,17,26,6,40,47,43,45,35,58,125,118,65,37,98,179]),import.meta.url),()=>r(()=>import("../nodes/22.D5HIwciL.js"),__vite__mapDeps([180,1,141,3,2,4,5,9,8,30,12,11,17,13,14,43,20,26,6,40,135,68,65,47,98]),import.meta.url),()=>r(()=>import("../chunks/CZPeboo-.js").then(i=>i.b),[],import.meta.url),()=>r(()=>import("../nodes/24.DglV_zOB.js"),__vite__mapDeps([181,1,3,4,5,9,8,12,11,2,17,182,141,142]),import.meta.url),()=>r(()=>import("../nodes/25.QmrA5jsw.js"),__vite__mapDeps([183,1,141,3,8]),import.meta.url),()=>r(()=>import("../nodes/26.bNd_Dtqo.js"),__vite__mapDeps([184,1,3,4,5,9,8,12,11,2,17,182,141,142,34,20,26,6]),import.meta.url),()=>r(()=>import("../nodes/27.BfZYpgpu.js"),__vite__mapDeps([185,1,2,3,4,5,9,8,30,10,11,12,182,141,142]),import.meta.url),()=>r(()=>import("../nodes/28.CvG4tqfv.js"),__vite__mapDeps([186,1,3,4,5,9,8,10,2,11,12,17,182,141,142]),import.meta.url),()=>r(()=>import("../nodes/29.vBXAqAaG.js"),__vite__mapDeps([187,1,3,4,5,9,8,19,182,141,142,12,11,2,36,20,26,6,44,64,55,103]),import.meta.url),()=>r(()=>import("../nodes/30.zNvkyZ-K.js"),__vite__mapDeps([188,1,3,5,8,177,4,9,86,20,26,6,125,12,11,2,17,21,32,33,19,182,141,142]),import.meta.url),()=>r(()=>import("../nodes/31.BGV4-1As.js"),__vite__mapDeps([189,1,3,4,5,9,8,12,11,2,17,182,141,142,116,20,26,6]),import.meta.url),()=>r(()=>import("../nodes/32.eV1sEYs0.js"),__vite__mapDeps([190,1,2,3,4,5,28,9,8,10,11,12,182,141,142,168,43,20,26,6,143,191,7,30,79,50,80,32,33,19,44,81,164,13,14,17,40,165,64,98,66,166,192,162,29,65,36]),import.meta.url),()=>r(()=>import("../nodes/33.DLGSDg3O.js"),__vite__mapDeps([193,1,2,3,4,5,9,8,10,11,12,182,141,142,192,20,162,164,13,14,17,40,26,6,43,30,166,64,32,33,19,93]),import.meta.url),()=>r(()=>import("../nodes/34.DXqmQc83.js"),__vite__mapDeps([194,1,3,4,5,8,32,33,9,6,19,20,182,141,142,12,11,2]),import.meta.url),()=>r(()=>import("../nodes/35.CZ_gU3oF.js"),__vite__mapDeps([195,1,3,4,5,8,9,30,12,11,2,17,182,141,142,63]),import.meta.url),()=>r(()=>import("../nodes/36.CkCw-RFR.js"),__vite__mapDeps([196,1,3,4,5,9,8,12,11,2,17,182,141,142,129,30,19,20,31,32,33,6,35,26,44,34,116]),import.meta.url),()=>r(()=>import("../nodes/37.DHXxzca8.js"),__vite__mapDeps([197,1,2,3,4,5,9,7,8,30,10,11,12,32,33,6,19,20,144,133,56,68,26,94,122,135,40,93,145,162,78,42,35,45,116,43,143,47,191,79,50,28,80,44,81,164,13,14,17,165,64,98,74,34]),import.meta.url),()=>r(()=>import("../nodes/38.DFBa_FHA.js"),__vite__mapDeps([198,1,3,12,11,2,4,108,5,9,6,26,20,8,19,29,109,10,13,14,22,27,28,7,30,17,31,32,33,34,35,36,37,18,21,38,16,39,40,41,42,43,44,45,46,47,102,53,24,56,90,93,76,77,103,94,71,98,104,89,88,110,111,112,23,113,59,87,114,115,60,74,116,117,85,118,82,83,84,86,54,72,119,120,106,121,105,15,75,57,48,58,78,79,50,80,81,91,92,95,96,68,122,123]),import.meta.url),()=>r(()=>import("../nodes/39.BQNTANRP.js"),__vite__mapDeps([199,1,3,4,5,8,9,76,77,114,29,152,6,19,36,20,26,153,68,47,119,87]),import.meta.url),()=>r(()=>import("../nodes/40.9Zdbx_6A.js"),__vite__mapDeps([200,1,3,4,5,9,8,106,149,12,11,2,23,120,20,121]),import.meta.url)],Dt=[0],It={"/":[-3],"/crew":[3],"/decisions":[-5],"/deck":[-6],"/events":[-7],"/files":[-8],"/harbour":[-9],"/headroom":[-10],"/health":[-11],"/inbox":[-12],"/live-review/[id]":[12],"/more":[13],"/plugins":[14],"/plugins/[plugin]/[page]":[-16],"/projects/[id]":[-17],"/projects/[id]/passage":[-19],"/projects/[id]/passage/edit":[-20],"/projects/[id]/[plugin]/[tab]":[-18],"/remotes":[-21],"/second-mates":[-22],"/second-mates/add":[22],"/settings":[-24],"/settings/chat":[-25],"/settings/cloud":[-26],"/settings/discussion":[-27],"/settings/events":[-28],"/settings/experimental":[-29],"/settings/firstmate":[-30],"/settings/gateway":[-31],"/settings/headroom":[-32],"/settings/plugins":[-33],"/settings/plugins/[plugin]":[-34],"/settings/setup":[-35],"/settings/update":[-36],"/settings/voice":[-37],"/setup":[-38],"/tasks/[id]":[-39],"/tasks/[id]/doc":[-40],"/time":[-41]},x={handleError:(({error:i})=>{console.error(i)}),reroute:(()=>{}),transport:{}},dt=Object.fromEntries(Object.entries(x.transport).map(([i,t])=>[i,t.decode])),Tt=Object.fromEntries(Object.entries(x.transport).map(([i,t])=>[i,t.encode])),Vt=!1,bt=(i,t)=>dt[i](t),yt=()=>r(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(i=>i.default);export{bt as decode,dt as decoders,It as dictionary,Tt as encoders,yt as get_error_template,Vt as hash,x as hooks,Rt as matchers,Lt as nodes,At as root,Dt as server_loads};
|
|
Binary file
|