@chrisjowen/wheelhouse 0.12.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/client/_app/immutable/chunks/{CuH1GpU9.js → 2LjtVB6a.js} +1 -1
- package/build/client/_app/immutable/chunks/2LjtVB6a.js.br +0 -0
- package/build/client/_app/immutable/chunks/2LjtVB6a.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BFhVmACN.js → 8cWWMYnO.js} +1 -1
- package/build/client/_app/immutable/chunks/8cWWMYnO.js.br +0 -0
- package/build/client/_app/immutable/chunks/8cWWMYnO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{n-cYDyaA.js → 9Fl9GwsF.js} +1 -1
- package/build/client/_app/immutable/chunks/9Fl9GwsF.js.br +0 -0
- package/build/client/_app/immutable/chunks/9Fl9GwsF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BBJBkIrw.js → BEnE2NPH.js} +1 -1
- package/build/client/_app/immutable/chunks/BEnE2NPH.js.br +0 -0
- package/build/client/_app/immutable/chunks/BEnE2NPH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{A55xgzkD.js → BXGIjAQ6.js} +1 -1
- package/build/client/_app/immutable/chunks/BXGIjAQ6.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXGIjAQ6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CLy6GMrT.js → Bl4EER3V.js} +1 -1
- package/build/client/_app/immutable/chunks/Bl4EER3V.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bl4EER3V.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DZhp5Clk.js → BoSp6lQy.js} +1 -1
- package/build/client/_app/immutable/chunks/BoSp6lQy.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoSp6lQy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{s_exGbLS.js → C5Y6KQiE.js} +1 -1
- package/build/client/_app/immutable/chunks/C5Y6KQiE.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5Y6KQiE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{caSIyyev.js → CCmCOYW4.js} +1 -1
- package/build/client/_app/immutable/chunks/CCmCOYW4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCmCOYW4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D9uOQyZY.js → CFUdUuM2.js} +1 -1
- package/build/client/_app/immutable/chunks/CFUdUuM2.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFUdUuM2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CogyHa6-.js → CQBPQL2l.js} +1 -1
- package/build/client/_app/immutable/chunks/CQBPQL2l.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQBPQL2l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Blcu9fuE.js → CjOqOuw0.js} +1 -1
- package/build/client/_app/immutable/chunks/CjOqOuw0.js.br +0 -0
- package/build/client/_app/immutable/chunks/CjOqOuw0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{yQaRdTPY.js → CmyzWTbT.js} +1 -1
- package/build/client/_app/immutable/chunks/CmyzWTbT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmyzWTbT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{D90Ga_Id.js → CtOLIv5E.js} +1 -1
- package/build/client/_app/immutable/chunks/CtOLIv5E.js.br +0 -0
- package/build/client/_app/immutable/chunks/CtOLIv5E.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{Lo9Y985M.js → DFQFc2ub.js} +1 -1
- package/build/client/_app/immutable/chunks/DFQFc2ub.js.br +0 -0
- package/build/client/_app/immutable/chunks/DFQFc2ub.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{BdTUpAzj.js → DGI4tJ_5.js} +1 -1
- package/build/client/_app/immutable/chunks/DGI4tJ_5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DGI4tJ_5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CM7YbvcE.js → DTWQqKVn.js} +1 -1
- package/build/client/_app/immutable/chunks/DTWQqKVn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTWQqKVn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DQWdnL7h.js → DaTsZoiz.js} +1 -1
- package/build/client/_app/immutable/chunks/DaTsZoiz.js.br +0 -0
- package/build/client/_app/immutable/chunks/DaTsZoiz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{CEkqhJ8-.js → Xx006ABt.js} +1 -1
- package/build/client/_app/immutable/chunks/Xx006ABt.js.br +0 -0
- package/build/client/_app/immutable/chunks/Xx006ABt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/{DjTSkyf1.js → bhn5c0Lw.js} +2 -2
- package/build/client/_app/immutable/chunks/bhn5c0Lw.js.br +0 -0
- package/build/client/_app/immutable/chunks/bhn5c0Lw.js.gz +0 -0
- package/build/client/_app/immutable/entry/{app.BgHDSK-f.js → app.ChQOEefM.js} +2 -2
- package/build/client/_app/immutable/entry/app.ChQOEefM.js.br +0 -0
- package/build/client/_app/immutable/entry/app.ChQOEefM.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.fIJr5HL5.js +1 -0
- package/build/client/_app/immutable/entry/start.fIJr5HL5.js.br +0 -0
- package/build/client/_app/immutable/entry/start.fIJr5HL5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{0.DuFkC-WN.js → 0.CQhqk--p.js} +1 -1
- package/build/client/_app/immutable/nodes/0.CQhqk--p.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.CQhqk--p.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{1.BXoD9o7T.js → 1.CUJg93Ir.js} +1 -1
- package/build/client/_app/immutable/nodes/1.CUJg93Ir.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.CUJg93Ir.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{10.Cei28q9Z.js → 10.CbDn9qpY.js} +1 -1
- package/build/client/_app/immutable/nodes/10.CbDn9qpY.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.CbDn9qpY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{11.BstaTigc.js → 11.Ck3Wllk3.js} +1 -1
- package/build/client/_app/immutable/nodes/11.Ck3Wllk3.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.Ck3Wllk3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{12.C26mRRF_.js → 12.d5x3Ln3N.js} +1 -1
- package/build/client/_app/immutable/nodes/12.d5x3Ln3N.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.d5x3Ln3N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{13.D5cvQijt.js → 13.D1_nV5Fq.js} +1 -1
- package/build/client/_app/immutable/nodes/13.D1_nV5Fq.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.D1_nV5Fq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{14.ixNG0i6M.js → 14.PfHt1dNO.js} +1 -1
- package/build/client/_app/immutable/nodes/14.PfHt1dNO.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.PfHt1dNO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{15.U-YpZ2mY.js → 15.dfetBovK.js} +1 -1
- package/build/client/_app/immutable/nodes/15.dfetBovK.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.dfetBovK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{16.DYyQlMIj.js → 16.F3vc0aJr.js} +1 -1
- package/build/client/_app/immutable/nodes/16.F3vc0aJr.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.F3vc0aJr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{17.CjNdiCZc.js → 17.BZSGzAO0.js} +1 -1
- package/build/client/_app/immutable/nodes/17.BZSGzAO0.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.BZSGzAO0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{19.aX3EJcGD.js → 19.DPq8YWLe.js} +1 -1
- package/build/client/_app/immutable/nodes/19.DPq8YWLe.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.DPq8YWLe.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{2.MoMLMEsA.js → 2.DERMJ47N.js} +1 -1
- package/build/client/_app/immutable/nodes/2.DERMJ47N.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.DERMJ47N.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{20.BcpIwTNR.js → 20.toVTJlKX.js} +1 -1
- package/build/client/_app/immutable/nodes/20.toVTJlKX.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.toVTJlKX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{21.BdNRERDN.js → 21.FTdV81LL.js} +1 -1
- package/build/client/_app/immutable/nodes/21.FTdV81LL.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.FTdV81LL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{22.UIlcgKG0.js → 22.BmS94lpb.js} +1 -1
- package/build/client/_app/immutable/nodes/22.BmS94lpb.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BmS94lpb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{23.B59tMz3Z.js → 23.D0VnGxO3.js} +1 -1
- package/build/client/_app/immutable/nodes/23.D0VnGxO3.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.D0VnGxO3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{24.DQjTWFAo.js → 24.BNheAfwA.js} +1 -1
- package/build/client/_app/immutable/nodes/24.BNheAfwA.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.BNheAfwA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.Bqh28uvF.js +15 -0
- package/build/client/_app/immutable/nodes/25.Bqh28uvF.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.Bqh28uvF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{26.Bqb00dxX.js → 26.DTXtIhyv.js} +1 -1
- package/build/client/_app/immutable/nodes/26.DTXtIhyv.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.DTXtIhyv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{28.DAJOyPmp.js → 28.ffmhLQdl.js} +1 -1
- package/build/client/_app/immutable/nodes/28.ffmhLQdl.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.ffmhLQdl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{3.CU4V9yAo.js → 3.DaGmG2jc.js} +1 -1
- package/build/client/_app/immutable/nodes/3.DaGmG2jc.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DaGmG2jc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{4.CIKGpO-h.js → 4.BhnPlm5U.js} +1 -1
- package/build/client/_app/immutable/nodes/4.BhnPlm5U.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.BhnPlm5U.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{6.DV-LKwUi.js → 6.DOwpvopC.js} +1 -1
- package/build/client/_app/immutable/nodes/6.DOwpvopC.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DOwpvopC.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{7.tNzUdkoK.js → 7.BetTIyrG.js} +1 -1
- package/build/client/_app/immutable/nodes/7.BetTIyrG.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.BetTIyrG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{8._d4-szlB.js → 8.vcWpgN8y.js} +1 -1
- package/build/client/_app/immutable/nodes/8.vcWpgN8y.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.vcWpgN8y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/{9.CIkGA4QL.js → 9.5oYtBwQ5.js} +1 -1
- package/build/client/_app/immutable/nodes/9.5oYtBwQ5.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.5oYtBwQ5.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/{detail.js-kIQeRhX8.js → detail.js-BpS7WznQ.js} +2 -2
- package/build/server/chunks/chunks/{feedback.js-Cn_aMwGt.js → feedback.js-CrQDZmIB.js} +2 -2
- package/build/server/chunks/chunks/{internal.js--IrZpGIw.js → internal.js-Cq87D6xI.js} +3 -3
- package/build/server/chunks/chunks/{keychain.js-EzFAr7ky.js → keychain.js-COGwZ-Aw.js} +2 -2
- package/build/server/chunks/chunks/{marketplace-service.js-BWJLUgci.js → marketplace-service.js-Cqvh9VB8.js} +2 -2
- package/build/server/chunks/chunks/{page.js-uCRgTfkr.js → page.js-nbbMVvPg.js} +2 -2
- package/build/server/chunks/chunks/{previewhelper2.js-CheYey18.js → previewhelper2.js-NFTpmIHU.js} +2 -2
- package/build/server/chunks/chunks/{repo.js-mwBuCebU.js → repo.js-DSKj7KTZ.js} +2 -2
- package/build/server/chunks/chunks/{runtime.js-DOQwJsyV.js → runtime.js-XsDBkq_r.js} +264 -22
- package/build/server/chunks/chunks/{service.js-BhegRU14.js → service.js-CdKlfGfR.js} +2 -2
- package/build/server/chunks/chunks/{service2.js-CjX60BFh.js → service2.js-3zOmpFeO.js} +102 -13
- package/build/server/chunks/chunks/{starter.js-BoD-v_RX.js → starter.js-BLCdqFJG.js} +2 -2
- package/build/server/chunks/chunks/{terminal.js-s8yEF1TY.js → terminal.js-BUurgI6D.js} +10 -2
- package/build/server/chunks/chunks/{view.js-DRvLRn9a.js → view.js-DTwsgXES.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/apps/_op_/{_server.ts.js-LjS85cY1.js → _server.ts.js-CGzX0ful.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/cloud/{_server.ts.js-CPapFlxB.js → _server.ts.js-BElhuq4g.js} +3 -3
- package/build/server/chunks/entries/endpoints/api/cloud/previews/{_server.ts.js-C5rpQOtz.js → _server.ts.js-Cjz8D4pf.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/events/{_server.ts.js-Bh9CCsJR.js → _server.ts.js-BHp5A08n.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/files/{_server.ts.js-B81tIgYM.js → _server.ts.js-JRPGYTZS.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/{_server.ts.js-DJe3RKYn.js → _server.ts.js-BtG_0p4C.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/{_server.ts.js-DrNM-EZz.js → _server.ts.js-B_vlsYbS.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/{_server.ts.js-CyHX-fjj.js → _server.ts.js-CsyyC1J2.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/input/{_server.ts.js-BGNA3rRL.js → _server.ts.js-DHUySnI8.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/{_server.ts.js-gxW-vjq6.js → _server.ts.js-Dv4VdmpJ.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/{_server.ts.js-CjKZKlSx.js → _server.ts.js-DeMwd_Lr.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/{_server.ts.js-Bf6fufw1.js → _server.ts.js-J7VUQtfZ.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/{_server.ts.js-CunTg6B4.js → _server.ts.js-BcI2rltT.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/firstmate/start/{_server.ts.js-BFn0GxSV.js → _server.ts.js-dl7hbk3j.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/fleet/{_server.ts.js-BPiDH1by.js → _server.ts.js-6gopcEsZ.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/gateway/{_server.ts.js-CH_ZiSS9.js → _server.ts.js-XdcIHeVF.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/health/{_server.ts.js-CHeUHBaj.js → _server.ts.js-DaHbvrcE.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/inbox/{_server.ts.js-B6-h2R89.js → _server.ts.js-CemEDO1h.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/inbox/report/{_server.ts.js-CtXL8XCq.js → _server.ts.js-BnqF-W_I.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/insights/{_server.ts.js-CdsJGtOe.js → _server.ts.js-B2eyv4hT.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/{_server.ts.js-yVkcjBkv.js → _server.ts.js-uEIJjt7s.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/{_server.ts.js-BLyJO_Mo.js → _server.ts.js-B0Hbm-jx.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/{_server.ts.js-Dp9Lk4LX.js → _server.ts.js-CZNOaOkU.js} +6 -6
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/{_server.ts.js-BKYjzuX1.js → _server.ts.js-B079Wj9s.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/{_server.ts.js-DXIA842d.js → _server.ts.js-CPZTt5I6.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/{_server.ts.js-DkhsnbSG.js → _server.ts.js-CQ_lUbAu.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/{_server.ts.js-SeWa829w.js → _server.ts.js-C-g0j8Bv.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/{_server.ts.js-CIQPuCVw.js → _server.ts.js-BOSLAuOp.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/{_server.ts.js-DT0sbWwu.js → _server.ts.js-_fUknjAY.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/install/{_server.ts.js-Cn2rbNUE.js → _server.ts.js-mmpseZxu.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/{_server.ts.js-D8cqx7e8.js → _server.ts.js-DhtdkwzD.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/{_server.ts.js-DNxzMqSL.js → _server.ts.js-B2OJs5C2.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/{_server.ts.js-CMrMjFz3.js → _server.ts.js-BXBC0v-z.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/plugins/updates/{_server.ts.js-Dk4WI0lC.js → _server.ts.js-yPQ59riR.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/previews/check/{_server.ts.js-CybVxq0q.js → _server.ts.js-DjFQzbiE.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/{_server.ts.js-Du0F1uRC.js → _server.ts.js-Bgmzl7AT.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/{_server.ts.js-DktLe6aY.js → _server.ts.js-CSo1Er2j.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/{_server.ts.js-B3AFWOQ5.js → _server.ts.js-BZEeedp9.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/{_server.ts.js-CFZKkvHd.js → _server.ts.js-DRiAxqLP.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/{_server.ts.js-DOuE8mQe.js → _server.ts.js-BsulLELj.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/{_server.ts.js-Dnqj-B1I.js → _server.ts.js-CxbhJieM.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/{_server.ts.js-CsQ9Iy4e.js → _server.ts.js-CDGocA3e.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/services/{_server.ts.js-Q9_2hESc.js → _server.ts.js-CUUCTimA.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/setup/{_server.ts.js-fJhkF-dq.js → _server.ts.js-9g9pVcXP.js} +11 -5
- package/build/server/chunks/entries/endpoints/api/slots/{_server.ts.js-DE5Za2Qf.js → _server.ts.js-BTokVD8C.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/{_server.ts.js-B_Wi2EUQ.js → _server.ts.js-CqX7babn.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/{_server.ts.js-ESVAlaL0.js → _server.ts.js--dVqyeFg.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/{_server.ts.js-BYen5YjB.js → _server.ts.js-DnTYR0jn.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/{_server.ts.js-D9JD2y98.js → _server.ts.js-BT1D4YBb.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/{_server.ts.js-BcZEsLxW.js → _server.ts.js-ORtLvpKI.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/{_server.ts.js-nEQ-LWc3.js → _server.ts.js-CP1F8oWC.js} +5 -5
- package/build/server/chunks/entries/endpoints/api/vault/{_server.ts.js-BglmY8Dv.js → _server.ts.js-Ds_MJ-2K.js} +4 -4
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/{_server.ts.js-Dcu4o_kg.js → _server.ts.js-B8k2xPqi.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/{_server.ts.js-D8DNzTCl.js → _server.ts.js-Do96Gk_y.js} +2 -2
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/{_server.ts.js-C88U185K.js → _server.ts.js-BVkOmwTU.js} +2 -2
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/{_server.ts.js-D5X3NXNQ.js → _server.ts.js-cu_Z_LaQ.js} +4 -4
- package/build/server/chunks/entries/{hooks.server.js-BoVfKVBv.js → hooks.server.js-CS0m6ELR.js} +4 -4
- package/build/server/chunks/entries/pages/{_layout.server.ts.js-DonkPB5v.js → _layout.server.ts.js-pPi3d5Y6.js} +2 -2
- package/build/server/chunks/entries/pages/{_page.server.ts.js-BPlndbwo.js → _page.server.ts.js-Mi2hcRWX.js} +2 -2
- package/build/server/chunks/entries/pages/decisions/{_page.server.ts.js-D0TSKupF.js → _page.server.ts.js-PKTVLAZu.js} +2 -2
- package/build/server/chunks/entries/pages/deck/{_page.server.ts.js-DGxVR_vz.js → _page.server.ts.js-CMNSJrli.js} +2 -2
- package/build/server/chunks/entries/pages/files/{_page.server.ts.js-Ccs1E7eE.js → _page.server.ts.js-CNLN1_QD.js} +2 -2
- package/build/server/chunks/entries/pages/harbour/{_page.server.ts.js-DdVNEwXK.js → _page.server.ts.js-D9Sx1f1_.js} +2 -2
- package/build/server/chunks/entries/pages/headroom/{_page.server.ts.js-DJkL5LjM.js → _page.server.ts.js-DafWS0Wt.js} +2 -2
- package/build/server/chunks/entries/pages/inbox/{_page.server.ts.js-zxQIlwfl.js → _page.server.ts.js-g0lO6wsD.js} +2 -2
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/{_page.server.ts.js-XD-2cABX.js → _page.server.ts.js-BsFQTOxg.js} +2 -2
- package/build/server/chunks/entries/pages/projects/_id_/{_page.server.ts.js-BgCyi1X-.js → _page.server.ts.js-BfBmtktj.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/{_page.server.ts.js-fo0xabfK.js → _page.server.ts.js-DA5g61wf.js} +3 -3
- package/build/server/chunks/entries/pages/projects/_id_/passage/{_page.server.ts.js-Cbg44XDV.js → _page.server.ts.js-CrpcvuBO.js} +4 -4
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/{_page.server.ts.js-BUp_Y-KL.js → _page.server.ts.js-BJLzRqVs.js} +2 -2
- package/build/server/chunks/entries/pages/remotes/{_page.server.ts.js-0-aDiI-u.js → _page.server.ts.js-wozgRGQJ.js} +2 -2
- package/build/server/chunks/entries/pages/settings/cloud/{_page.server.ts.js-DUYpwlCw.js → _page.server.ts.js-dq1Y-nxq.js} +2 -2
- package/build/server/chunks/entries/pages/settings/gateway/{_page.server.ts.js-B-EvG_LJ.js → _page.server.ts.js-Bqx3Dq_4.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/{_page.server.ts.js-e1XEpYYO.js → _page.server.ts.js-CY3mFXPE.js} +2 -2
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/{_page.server.ts.js-DQlX1ZXD.js → _page.server.ts.js-BZL2Gzgt.js} +2 -2
- package/build/server/chunks/entries/pages/settings/setup/{_page.server.ts.js-3vhPyRFz.js → _page.server.ts.js-k3hKqQFP.js} +2 -2
- package/build/server/chunks/entries/pages/settings/update/{_page.server.ts.js-CmGgMlAh.js → _page.server.ts.js-B037YFt9.js} +2 -2
- package/build/server/chunks/entries/pages/setup/{_page.server.ts.js-CcUv_Pl5.js → _page.server.ts.js-BlnsD-32.js} +3 -3
- package/build/server/chunks/entries/pages/setup/{_page.svelte.js-CB6DNUFE.js → _page.svelte.js-BZsw7k9z.js} +104 -21
- package/build/server/chunks/entries/pages/tasks/_id_/{_page.server.ts.js-BSp2WAoD.js → _page.server.ts.js-PpTT3YOp.js} +3 -3
- package/build/server/chunks/entries/pages/tasks/_id_/doc/{_page.server.ts.js-BUVzUDIr.js → _page.server.ts.js-BoPkVwX0.js} +2 -2
- package/build/server/chunks/entries/pages/time/{_page.server.ts.js-CthFCAvj.js → _page.server.ts.js-4fpuKNwM.js} +2 -2
- package/build/server/chunks/{handler-CoNcksE3.js → handler-DLW3cbWn.js} +3 -3
- package/build/server/chunks/{index.js-DeIgBt_r.js → index.js-eCE3CEhe.js} +2 -2
- package/build/server/chunks/{manifest.js-DABDEm-u.js → manifest.js-BlNIUYht.js} +86 -86
- package/build/server/chunks/nodes/{0.js-YKoWN0t_.js → 0.js-ChgozsTm.js} +6 -6
- package/build/server/chunks/nodes/{1.js-BrhSX20y.js → 1.js-BtHPxutt.js} +2 -2
- package/build/server/chunks/nodes/{10.js-DfgINkv2.js → 10.js-CEa4qU--.js} +2 -2
- package/build/server/chunks/nodes/{11.js-DiTSd3ll.js → 11.js-Xp_X_jj6.js} +6 -6
- package/build/server/chunks/nodes/{12.js-50Nn94Ac.js → 12.js-CW5kmbFb.js} +7 -7
- package/build/server/chunks/nodes/{13.js-Bqj2sWs_.js → 13.js-l5eV7_AI.js} +7 -7
- package/build/server/chunks/nodes/{14.js-Cv1hpyWZ.js → 14.js-38ME7JNl.js} +8 -8
- package/build/server/chunks/nodes/{15.js-D7gELe63.js → 15.js-CIg3P9U6.js} +7 -7
- package/build/server/chunks/nodes/{16.js-DCHbFZQk.js → 16.js-BDIWtUFz.js} +6 -6
- package/build/server/chunks/nodes/{17.js-CRE1rbZ5.js → 17.js-DWmyLiLo.js} +2 -2
- package/build/server/chunks/nodes/{19.js-CFuW5rd2.js → 19.js-B0dytQ-W.js} +6 -6
- package/build/server/chunks/nodes/{2.js-BgPLJqKL.js → 2.js-UyS6Sk_2.js} +6 -6
- package/build/server/chunks/nodes/{20.js-DGixTdKt.js → 20.js-YC0m3zlJ.js} +6 -6
- package/build/server/chunks/nodes/{21.js-fW8cmY-P.js → 21.js-BisOFRLv.js} +6 -6
- package/build/server/chunks/nodes/{22.js-BLhqsr4_.js → 22.js-ibg05d2A.js} +6 -6
- package/build/server/chunks/nodes/{23.js-I9w_LkUL.js → 23.js-CnECueUp.js} +7 -7
- package/build/server/chunks/nodes/{24.js-Dbyn5eyG.js → 24.js-BqPvh4Zw.js} +4 -4
- package/build/server/chunks/nodes/{25.js-Dc-E-pmn.js → 25.js-C39i9pPm.js} +8 -8
- package/build/server/chunks/nodes/{26.js-Cqr1BLCa.js → 26.js-CXOvMJKF.js} +7 -7
- package/build/server/chunks/nodes/{27.js-JKZQuSb7.js → 27.js-PfHhBklp.js} +6 -6
- package/build/server/chunks/nodes/{28.js-BN16VFpu.js → 28.js-DTTvirxE.js} +6 -6
- package/build/server/chunks/nodes/{3.js-CZln8kr1.js → 3.js-Cf5KHjmQ.js} +6 -6
- package/build/server/chunks/nodes/{4.js-mbQFO9SD.js → 4.js-oLM6Pmxm.js} +6 -6
- package/build/server/chunks/nodes/{5.js-gufn1Eo1.js → 5.js-DRkV-l8z.js} +5 -5
- package/build/server/chunks/nodes/{6.js-Cdfpyr6S.js → 6.js-CUYxTZ2i.js} +6 -6
- package/build/server/chunks/nodes/{7.js-DRJdiMQL.js → 7.js-D-m3Ryil.js} +6 -6
- package/build/server/chunks/nodes/{8.js-B4stLJHw.js → 8.js-CMsWI4yp.js} +6 -6
- package/build/server/chunks/nodes/{9.js-DYcjt0Hs.js → 9.js-DwmELvRO.js} +2 -2
- package/dist/cli.js +200 -69
- package/dist/wh-vault.js +1 -1
- package/package.json +1 -1
- package/skills/manage-wheelhouse/references/operations.md +1 -1
- package/build/client/_app/immutable/chunks/A55xgzkD.js.br +0 -0
- package/build/client/_app/immutable/chunks/A55xgzkD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BBJBkIrw.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBJBkIrw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BFhVmACN.js.br +0 -0
- package/build/client/_app/immutable/chunks/BFhVmACN.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BdTUpAzj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BdTUpAzj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Blcu9fuE.js.br +0 -0
- package/build/client/_app/immutable/chunks/Blcu9fuE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CEkqhJ8-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CEkqhJ8-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLy6GMrT.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLy6GMrT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CM7YbvcE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CM7YbvcE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CogyHa6-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CogyHa6-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CuH1GpU9.js.br +0 -0
- package/build/client/_app/immutable/chunks/CuH1GpU9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D90Ga_Id.js.br +0 -0
- package/build/client/_app/immutable/chunks/D90Ga_Id.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D9uOQyZY.js.br +0 -0
- package/build/client/_app/immutable/chunks/D9uOQyZY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQWdnL7h.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQWdnL7h.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZhp5Clk.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZhp5Clk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DjTSkyf1.js.br +0 -0
- package/build/client/_app/immutable/chunks/DjTSkyf1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Lo9Y985M.js.br +0 -0
- package/build/client/_app/immutable/chunks/Lo9Y985M.js.gz +0 -0
- package/build/client/_app/immutable/chunks/caSIyyev.js.br +0 -0
- package/build/client/_app/immutable/chunks/caSIyyev.js.gz +0 -0
- package/build/client/_app/immutable/chunks/n-cYDyaA.js.br +0 -0
- package/build/client/_app/immutable/chunks/n-cYDyaA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/s_exGbLS.js.br +0 -2
- package/build/client/_app/immutable/chunks/s_exGbLS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/yQaRdTPY.js.br +0 -0
- package/build/client/_app/immutable/chunks/yQaRdTPY.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.BgHDSK-f.js.br +0 -0
- package/build/client/_app/immutable/entry/app.BgHDSK-f.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.Cv7YY8BY.js +0 -1
- package/build/client/_app/immutable/entry/start.Cv7YY8BY.js.br +0 -0
- package/build/client/_app/immutable/entry/start.Cv7YY8BY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DuFkC-WN.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DuFkC-WN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BXoD9o7T.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BXoD9o7T.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.Cei28q9Z.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.Cei28q9Z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.BstaTigc.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BstaTigc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.C26mRRF_.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.C26mRRF_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.D5cvQijt.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.D5cvQijt.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.ixNG0i6M.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.ixNG0i6M.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.U-YpZ2mY.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.U-YpZ2mY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.DYyQlMIj.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DYyQlMIj.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.CjNdiCZc.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.CjNdiCZc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.aX3EJcGD.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.aX3EJcGD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.MoMLMEsA.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.MoMLMEsA.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.BcpIwTNR.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.BcpIwTNR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.BdNRERDN.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.BdNRERDN.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.UIlcgKG0.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.UIlcgKG0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.B59tMz3Z.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.B59tMz3Z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.DQjTWFAo.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.DQjTWFAo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.DX_SiK1J.js +0 -14
- package/build/client/_app/immutable/nodes/25.DX_SiK1J.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.DX_SiK1J.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Bqb00dxX.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Bqb00dxX.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.DAJOyPmp.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.DAJOyPmp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.CU4V9yAo.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.CU4V9yAo.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.CIKGpO-h.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.CIKGpO-h.js.gz +0 -0
- package/build/client/_app/immutable/nodes/6.DV-LKwUi.js.br +0 -0
- package/build/client/_app/immutable/nodes/6.DV-LKwUi.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.tNzUdkoK.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.tNzUdkoK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8._d4-szlB.js.br +0 -0
- package/build/client/_app/immutable/nodes/8._d4-szlB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.CIkGA4QL.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.CIkGA4QL.js.gz +0 -0
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{s as ye,r as ke,p as Z}from"./z5Xef_-v.js";import{I as Te}from"./B4gzexCn.js";import{l as se,p as de,u as D,g as e,A as oe,v as _,h as k,r as y,t as z,x as le,a as c,b as ue,m as O,i as ie,s as g,o as N,d as w,y as ne,c as T,w as U,f as ve,q as Ee}from"./D46tdsTs.js";import{i as X}from"./DWAM9c1z.js";import{s as V,d as Ce,a as te,e as Se}from"./BLivoCTk.js";import{b as re}from"./RbWQh321.js";import{c as fe,m as Me}from"./BCUUi0V0.js";import{e as Le,l as ee,c as ae}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{s as ye,r as ke,p as Z}from"./z5Xef_-v.js";import{I as Te}from"./B4gzexCn.js";import{l as se,p as de,u as D,g as e,A as oe,v as _,h as k,r as y,t as z,x as le,a as c,b as ue,m as O,i as ie,s as g,o as N,d as w,y as ne,c as T,w as U,f as ve,q as Ee}from"./D46tdsTs.js";import{i as X}from"./DWAM9c1z.js";import{s as V,d as Ce,a as te,e as Se}from"./BLivoCTk.js";import{b as re}from"./RbWQh321.js";import{c as fe,m as Me}from"./BCUUi0V0.js";import{e as Le,l as ee,c as ae}from"./CtOLIv5E.js";import{b as ce,a as Oe}from"./CFUdUuM2.js";import{S as me}from"./13cncWIw.js";import{X as Ne}from"./CSU-6kdN.js";var ze=new Set(["$$slots","$$events","$$legacy"]);function pt(r,a){let n=ke(a,ze);const d={name:"images",size:24,node:[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2"}]]};Te(r,ye(()=>n,{get icon(){return d}}))}const Ie="No screenshots saved",Ae="No live preview reported",Pe="No pull request recorded",ht=r=>r.attention?.owner==="captain"&&r.attention.kind==="review";function Fe(r){return r<=0?Ie:`${r} ${r===1?"screenshot":"screenshots"}`}function xt(r,a=null){const n=a??[],d=a?n.length:r.screenshots,u=r.preview?.url??r.passage.link?.url??null;return{shots:n,shotsText:Fe(d),preview:u?{url:u}:null,previewText:u?"Live preview":Ae,pr:r.pr?{url:r.pr.url,label:r.pr.number?`PR #${r.pr.number}`:"Pull request"}:null,prText:r.pr?r.pr.number?`PR #${r.pr.number}`:"Pull request":Pe}}const pe={full:1e3,window:2e3},He=80,he=1.45,Re=11,We=32;function je(r){let a=0;for(const n of r)a=Math.max(a,[...n.trimEnd()].length);return Math.max(He,a)}function Xe(r){const a=r.lineHeight??he,n=Math.max(1,Math.floor(r.cols)),d=r.width/(n*(r.charWidth>0?r.charWidth:.6)),u=Number.isFinite(d)?Math.min(We,Math.max(Re,d)):13,o=Math.floor(u*10)/10,s=Math.max(1,Math.floor(Math.max(0,r.height)/(o*a)));return{fontSize:o,cols:n,rows:s}}function Qe({load:r,intervalMs:a,onresult:n,onerror:d,doc:u}){let o=!1,s=!1,t;const E=()=>{clearTimeout(t),o||(t=setTimeout(x,a))},x=async()=>{if(!(o||s)){if(u.hidden)return E();s=!0;try{const m=await r();o||n(m)}catch(m){o||d(m instanceof Error?m:new Error(String(m)))}finally{s=!1}E()}},C=()=>{!u.hidden&&!s&&(clearTimeout(t),x())};return u.addEventListener("visibilitychange",C),x(),()=>{o=!0,clearTimeout(t),u.removeEventListener("visibilitychange",C)}}function xe(r,a,n,d,u=document){const o=`/api/tasks/${encodeURIComponent(r)}/output?lines=${a}`;return Qe({load:async()=>{const s=await fetch(o);if(!s.ok)throw new Error(`HTTP ${s.status}`);return await s.json()},intervalMs:n,doc:u,...d})}var De=T('<pre class="mt-auto whitespace-pre" aria-label="The worker’s terminal"> </pre>'),Ue=T('<p class="grid flex-1 place-items-center px-4 text-center font-sans text-sm text-terminal-foreground/60"><!></p>'),Ve=T('<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>'),Ge=T('<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 Be(r,a){de(a,!0);let n=Z(a,"open",15,!1);const d=200,u=16;let o=O(null),s=O(null),t=O(null),E=O(!1),x=O(0),C=O(0),m=O(.6),H=!0;D(()=>{if(e(o))if(n()&&!e(o).open){H=!0;const v=e(o);Le(document.documentElement).then(()=>{!n()||!v.isConnected?ee(document.documentElement):v.open||v.showModal()})}else!n()&&e(o).open&&e(o).close()}),D(()=>{if(!n())return;const v=document.documentElement;let h=!1;const f=()=>{document.fullscreenElement===v?h=!0:h&&(h=!1,n(!1))};return document.addEventListener("fullscreenchange",f),()=>{document.removeEventListener("fullscreenchange",f),ee(v)}}),D(()=>{if(!n())return;oe(()=>ae.open++);const v=xe(a.task.id,d,pe.full,{onresult:h=>{_(t,h,!0),_(E,!1)},onerror:()=>_(E,!0)});return()=>{v(),oe(()=>ae.open--)}}),D(()=>{if(!e(s))return;const v=getComputedStyle(e(s)).fontFamily,h=document.createElement("canvas").getContext("2d");if(!h)return;h.font=`100px ${v}`;const f=h.measureText("M".repeat(10)).width/1e3;f>0&&_(m,f)});const P=ie(()=>e(t)?.available?e(t).lines:[]),R=ie(()=>Xe({width:e(x)-2*u,height:e(C)-2*u,cols:je(e(P)),charWidth:e(m)}));D(()=>{e(t),e(R),e(s)&&H&&(e(s).scrollTop=e(s).scrollHeight)});const G=()=>{e(s)&&(H=e(s).scrollHeight-e(s).scrollTop-e(s).clientHeight<24)};var I=Ge(),J=k(I);{var K=v=>{var h=Ve(),f=k(h),l=k(f);me(l,{class:"size-4 text-terminal-foreground/70","aria-hidden":"true"});var p=g(l,2),W=N(p,!0),S=g(p,2),B=N(S),A=g(S,4),F=k(A);Ne(F,{class:"size-4"}),y(A),y(f);var i=g(f,2),M=k(i);{var ge=b=>{var j=De();let Y;var $=N(j,!0);z(q=>{V(j,"data-cols",e(R).cols),V(j,"data-rows",e(R).rows),Y=Ce(j,"",Y,{padding:"16px","font-size":`${e(R).fontSize??""}px`,"line-height":he}),w($,q)},[()=>e(P).join(`
|
|
2
2
|
`)]),c(b,j)},_e=b=>{var j=Ue(),Y=k(j);{var $=L=>{var Q=U("Could not reach the Wheelhouse server.");c(L,Q)},q=L=>{var Q=U("Reading the worker’s terminal…");c(L,Q)},be=L=>{var Q=U();z(()=>w(Q,e(t).reason)),c(L,Q)},we=L=>{var Q=U("The terminal is empty.");c(L,Q)};X(Y,L=>{e(E)?L($):e(t)?e(t).available?L(we,-1):L(be,2):L(q,1)})}y(j),c(b,j)};X(M,b=>{e(P).length?b(ge):b(_e,-1)})}y(i),re(i,b=>_(s,b),()=>e(s)),y(h),z(b=>{w(W,a.task.shortTitle),w(B,`· live console, read-only${b??""}`)},[()=>e(t)?.capturedAt?` · ${fe(e(t).capturedAt)}`:""]),ne("click",A,()=>n(!1)),le("scroll",i,G),ce(i,"clientWidth",b=>_(x,b)),ce(i,"clientHeight",b=>_(C,b)),c(v,h)};X(J,v=>{n()&&v(K)})}y(I),re(I,v=>_(o,v),()=>e(o)),z(()=>{V(I,"aria-label",`${a.task.shortTitle??""}: live console`),V(I,"data-console-fullscreen",a.task.id)}),le("close",I,()=>{ee(document.documentElement),n(!1)}),c(r,I),ue()}se(["click"]);var Je=T('<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>'),Ke=T('<p class="grid flex-1 place-items-center px-4 text-center text-xs text-terminal-foreground/60"><!></p>'),Ye=T('<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 gt(r,a){de(a,!0);let n=Z(a,"lines",3,12),d=Z(a,"class",3,"");const u=24;let o=O(null),s=O(!1),t=O(null),E=O(!1),x=O(!1);D(()=>{if(!e(o))return;const l=new IntersectionObserver(([p])=>_(s,p.isIntersecting,!0),{rootMargin:"100px"});return l.observe(e(o)),()=>l.disconnect()}),D(()=>{if(!(!e(s)||ae.open>0))return xe(a.task.id,n()+u,pe.window,{onresult:l=>{_(t,l,!0),_(E,!1)},onerror:()=>_(E,!0)})}),D(()=>{a.onsample?.(e(t)?.available&&e(t).lines.length?{line:Me(e(t).lines),capturedAt:e(t).capturedAt}:null)});var C=Ye(),m=ve(C),H=k(m),P=g(H,2),R=k(P);me(R,{class:"size-3","aria-hidden":"true"});var G=g(R,4),I=N(G),J=g(G,2);Oe(J,{class:"size-3.5 text-terminal-foreground/60 transition-colors group-hover/console:text-terminal-foreground","aria-hidden":"true"}),y(P);var K=g(P,2);{var v=l=>{var p=Je(),W=N(p,!0);z(S=>w(W,S),[()=>e(t).lines.slice(-n()).join(`
|
|
3
3
|
`)]),c(l,p)},h=l=>{var p=Ke(),W=k(p);{var S=i=>{var M=U("Could not reach the Wheelhouse server.");c(i,M)},B=i=>{var M=U("Reading the worker’s terminal…");c(i,M)},A=i=>{var M=U();z(()=>w(M,e(t).reason)),c(i,M)},F=i=>{var M=U("The terminal is empty.");c(i,M)};X(W,i=>{e(E)?i(S):e(t)?e(t).available?i(F,-1):i(A,2):i(B,1)})}y(p),c(l,p)};X(K,l=>{e(t)?.available&&e(t).lines.length?l(v):l(h,-1)})}y(m),re(m,l=>_(o,l),()=>e(o));var f=g(m,2);Be(f,{get task(){return a.task},get open(){return e(x)},set open(l){_(x,l,!0)}}),z(l=>{te(m,1,`group/console relative z-10 flex aspect-[16/10] flex-col overflow-hidden rounded-sm border bg-terminal text-terminal-foreground ${d()??""}`),V(m,"data-console",a.task.id),V(H,"aria-label",`Open ${a.task.shortTitle??""}’s live console full screen`),w(I,`read-only${l??""}`)},[()=>e(t)?.capturedAt?` · ${fe(e(t).capturedAt)}`:""]),ne("click",H,()=>_(x,!0)),c(r,C),ue()}se(["click"]);var Ze=T('<p class="mt-1.5 leading-relaxed whitespace-pre-line text-muted-foreground" data-question-detail=""> </p>'),$e=T('<!> <button type="button" class="touch-target mt-1 text-xs text-muted-foreground hover:text-foreground hover:underline"> </button>',1),qe=T('<p class="mt-0.5 leading-relaxed"> </p>'),et=T('<div class="mt-2 border-l-2 border-brass/60 pl-2.5" data-question-call=""><p class="text-xs text-muted-foreground">Firstmate decided: <span class="font-medium text-foreground"> </span></p> <!></div>'),tt=T('<li><div class="flex flex-wrap items-baseline justify-between gap-x-3 gap-y-1"><p class="text-xs text-muted-foreground"> </p> <span> </span></div> <p class="mt-1 leading-relaxed"> </p> <!> <!></li>'),rt=T('<ol class="space-y-2" data-questions=""></ol>');function _t(r,a){let n=Z(a,"size",3,"page"),d=Ee({});const u={waiting:{label:"Waiting on Firstmate",class:"bg-warning/10 text-warning"},answered:{label:"Answered",class:"bg-success/10 text-success"},closed:{label:"Closed without an answer",class:"bg-muted text-muted-foreground"}};var o=rt();Se(o,23,()=>a.questions,s=>s.id,(s,t,E)=>{var x=tt(),C=k(x),m=k(C),H=N(m),P=g(m,2),R=N(P,!0);y(C);var G=g(C,2),I=N(G,!0),J=g(G,2);{var K=f=>{var l=$e(),p=ve(l);{var W=A=>{var F=Ze(),i=N(F,!0);z(()=>w(i,e(t).detail)),c(A,F)};X(p,A=>{d[e(t).id]&&A(W)})}var S=g(p,2),B=N(S,!0);z(()=>{V(S,"aria-expanded",!!d[e(t).id]),w(B,d[e(t).id]?"Show less":"Show the whole question")}),ne("click",S,()=>d[e(t).id]=!d[e(t).id]),c(f,l)};X(J,f=>{e(t).detail&&f(K)})}var v=g(J,2);{var h=f=>{var l=et(),p=k(l),W=g(k(p)),S=N(W,!0);y(p);var B=g(p,2);{var A=F=>{var i=qe(),M=N(i,!0);z(()=>w(M,e(t).reason)),c(F,i)};X(B,F=>{e(t).reason&&F(A)})}y(l),z(()=>w(S,e(t).verdict)),c(f,l)};X(v,f=>{e(t).verdict&&f(h)})}y(x),z(()=>{te(x,1,`rounded-md border border-hair bg-card ${n()==="card"?"px-2.5 py-2 text-xs":"px-3 py-2.5 text-sm"}`),V(x,"data-question",e(t).status),w(H,`Question ${e(E)+1}${e(t).where?` · ${e(t).where}`:""}${e(t).serious?" · marked serious":""}`),te(P,1,`rounded-full px-2 py-0.5 text-xs font-medium ${u[e(t).status].class??""}`),w(R,u[e(t).status].label),w(I,e(t).summary)}),c(s,x)}),y(o),c(r,o)}se(["click"]);export{gt as C,pt as I,_t as Q,ht as a,xt as r,Fe as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{l as D,p as N,f as G,h as P,n as J,r as k,s as w,g as r,y as H,a as c,b as O,m as j,v as M,c as f,i as C,t as p,o as y,d as q}from"./D46tdsTs.js";import{i as F}from"./DWAM9c1z.js";import{M as K,P as Q}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{l as D,p as N,f as G,h as P,n as J,r as k,s as w,g as r,y as H,a as c,b as O,m as j,v as M,c as f,i as C,t as p,o as y,d as q}from"./D46tdsTs.js";import{i as F}from"./DWAM9c1z.js";import{M as K,P as Q}from"./CFUdUuM2.js";import{e as U,a as T,s as _,d as V}from"./BLivoCTk.js";import{p as S}from"./z5Xef_-v.js";import{l as X}from"./CQBPQL2l.js";import{s as Y,c as Z}from"./D8TgbIKz.js";import{e as $,C as ee}from"./CR7y1ULG.js";import{C as te}from"./DZQxk93J.js";var ae=f('<div class="relative z-10 mt-3" data-card-preview=""><button type="button" class="inline-flex items-center gap-1.5 rounded-md text-xs font-medium text-sea hover:underline" aria-haspopup="dialog"><!>Open live preview</button></div> <!>',1);function ke(z,e){N(e,!0);let s=j(null),o=j(!1);function x(n){const l=n.currentTarget,u=l.closest("article"),L=u?.querySelector("[data-card-picture]");M(s,(L??u??l).getBoundingClientRect(),!0),M(o,!0)}var v=ae(),i=G(v),d=P(i),h=P(d);K(h,{class:"size-3.5","aria-hidden":"true"}),J(),k(d),k(i);var E=w(i,2);{var g=n=>{{let l=C(()=>e.task.preview?.url??""),u=C(()=>e.task.status!=="landed");Q(n,{get taskId(){return e.task.id},get title(){return e.task.shortTitle},get url(){return r(l)},get talk(){return r(u)},get from(){return r(s)},onclose:()=>M(o,!1)})}};F(E,n=>{r(o)&&e.task.preview&&n(g)})}H("click",d,x),c(z,v),O()}D(["click"]);const re={done:"bg-foreground/45",active:"bg-foreground",fixing:"bg-foreground",waiting:"bg-warning",failed:"bg-danger",skipped:"border border-dashed border-muted-foreground/50",todo:"bg-border"},B={done:"done",active:"under way",fixing:"fixing",waiting:"waiting on Firstmate",failed:"failed",skipped:"skipped",todo:"not reached"};var ne=f("<li></li>"),oe=f("<span> </span>"),se=f('<button type="button" class="relative z-10 cursor-pointer text-left text-foreground/80 underline decoration-foreground/30 underline-offset-2 hover:text-foreground hover:decoration-foreground" data-checks-questions=""> </button>'),ie=f('<span class="text-foreground/80"> </span>'),le=f('<div data-checks=""><ol class="grid gap-0.5"></ol> <p data-checks-line=""><!> <!></p></div>');function we(z,e){N(e,!0);let s=S(e,"busy",3,!1),o=S(e,"lead",3,null),x=S(e,"leadClass",3,""),v=S(e,"size",3,"card"),i=S(e,"questions",3,null);const d=C(()=>e.pipeline.steps.map(t=>({s:t,tone:Y(t,e.pipeline)}))),h=C(()=>Z(e.pipeline,X.now)),E=C(()=>`Checks: ${r(d).map(({s:t,tone:a})=>`${t.label} ${B[a]}`).join(", ")}`);var g=le(),n=P(g);U(n,21,()=>r(d),({s:t,tone:a})=>t.key,(t,a)=>{let m=()=>r(a).s,b=()=>r(a).tone;var I=ne();p(()=>{T(I,1,`h-1 rounded-full ${re[b()]??""} ${s()&&(b()==="active"||b()==="fixing")?"motion-safe:animate-pulse":""}`),_(I,"title",`${m().label??""}: ${B[b()]??""}`)}),c(t,I)}),k(n);var l=w(n,2),u=P(l);{var L=t=>{var a=oe(),m=y(a);p(()=>{T(a,1,`font-medium ${x()??""}`),q(m,`${o()??""}.`)}),c(t,a)};F(u,t=>{o()&&t(L)})}var R=w(u,2);{var W=t=>{var a=se(),m=y(a,!0);p(()=>{_(a,"aria-expanded",i().expanded),_(a,"aria-controls",i().controls),_(a,"title",i().expanded?"Hide the questions":"Show the questions"),q(m,r(h))}),H("click",a,function(...b){i().toggle?.apply(this,b)}),c(t,a)},A=t=>{var a=ie(),m=y(a,!0);p(()=>q(m,r(h))),c(t,a)};F(R,t=>{i()?t(W):t(A,-1)})}k(l),k(g),p(()=>{V(n,`grid-template-columns: repeat(${r(d).length??""}, minmax(0, 1fr))`),_(n,"aria-label",r(E)),T(l,1,`tabular line-clamp-2 text-muted-foreground ${v()==="rail"?"mt-1 text-xs leading-snug":"mt-1.5 text-sm"}`)}),c(z,g),O()}D(["click"]);var de=f('<span class="shrink-0 text-muted-foreground"> </span>'),ue=f('<p><!> <span class="truncate font-medium"> </span> <!> <span class="sr-only"> </span></p>');function Ce(z,e){N(e,!0);const s=C(()=>$(e.eta));var o=ue(),x=P(o);te(x,{class:"size-3.5 shrink-0","aria-hidden":"true"});var v=w(x,2),i=y(v,!0),d=w(v,2);{var h=n=>{var l=de(),u=y(l);p(L=>q(u,`· ${L??""}`),[()=>ee[e.eta.confidence].toLowerCase()]),c(n,l)};F(d,n=>{r(s).tone==="normal"&&e.eta.confidence!=="none"&&n(h)})}var E=w(d,2),g=y(E,!0);k(o),p(()=>{T(o,1,`flex min-w-0 items-center gap-1.5 text-xs ${r(s).tone==="warning"?"text-warning":r(s).tone==="muted"?"text-muted-foreground":"text-foreground"}`),_(o,"title",r(s).note),q(i,r(s).text),q(g,r(s).note)}),c(z,o),O()}export{we as C,Ce as E,ke as a};
|
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{i as c}from"./DKlgDTCT.js";import{p as b,a as l,b as v,c as i,o as d,t as _,g as r,d as x,r as S}from"./D46tdsTs.js";import{e as w,s as o}from"./BLivoCTk.js";import{p as n}from"./
|
|
1
|
+
import"./DsnmJJEf.js";import{i as c}from"./DKlgDTCT.js";import{p as b,a as l,b as v,c as i,o as d,t as _,g as r,d as x,r as S}from"./D46tdsTs.js";import{e as w,s as o}from"./BLivoCTk.js";import{p as n}from"./C5Y6KQiE.js";var y=i('<a class="nav-tab shrink-0"> </a>'),k=i('<nav class="-ml-2.5 no-scrollbar flex gap-1 overflow-x-auto" aria-label="Settings"></nav>');function W(p,f){b(f,!1);const h=[{href:"/settings/gateway",label:"Gateway"},{href:"/settings/cloud",label:"Cloud"},{href:"/settings/plugins",label:"Plugins"},{href:"/settings/update",label:"Update"},{href:"/settings/setup",label:"Setup"}],g=a=>n.url.pathname===a||n.url.pathname.startsWith(`${a}/`);c();var t=k();w(t,5,()=>h,a=>a.href,(a,s)=>{var e=y(),u=d(e,!0);_(m=>{o(e,"href",r(s).href),o(e,"aria-current",m),x(u,r(s).label)},[()=>g(r(s).href)?"page":void 0]),l(a,e)}),S(t),l(p,t),v()}export{W as S};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{l as vt,p as pt,m as j,q as mt,u as ft,f as we,h as d,o as b,s,g as e,r as i,t as y,d as g,a as l,b as _t,i as O,v as n,n as W,w as L,x as Ue,y as _e,c as p,aa as ue,j as gt}from"./D46tdsTs.js";import{i as P}from"./DWAM9c1z.js";import{r as Ee,s as K,e as ke,i as xt,b as ht,c as bt}from"./BLivoCTk.js";import{a as yt}from"./Cqz3pSYE.js";import{p as Ze}from"./s_exGbLS.js";import{S as $t}from"./BXN538J3.js";import{B as U}from"./oiLSZkWa.js";import{L as wt,K as He}from"./BE305dTg.js";import{C as kt}from"./CrXwYZhk.js";import{s as jt,r as St}from"./z5Xef_-v.js";import{I as zt}from"./B4gzexCn.js";import{E as At}from"./Cfp1M-Wz.js";const Pt=/https?:\/\/[^\s<>"'`]+/g,Et=/[.,;:!?)\]}'"*]+$/;function ha(C){return[...C.matchAll(Pt)].map(B=>B[0].replace(Et,""))}var Nt=new Set(["$$slots","$$events","$$legacy"]);function Rt(C,B){let ge=St(B,Nt);const xe={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};zt(C,jt(()=>ge,{get icon(){return xe}}))}const Tt=/^[A-Za-z_][A-Za-z0-9_]{0,127}$/,ba=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;function Ne(C){return C?.where??"the vault"}function Ct(C){return C.length<=1?C.join(""):`${C.slice(0,-1).join(", ")} and ${C.at(-1)}`}var Dt=p('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),Lt=p('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),It=p('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),Vt=p('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),Mt=p('<p class="mt-5 rounded-md border border-warning/40 bg-warning/5 px-4 py-2.5 text-sm" role="alert" data-vault-unavailable=""> </p>'),Ot=p('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),Wt=p('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Kt=p('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Ut=p('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Zt=p('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Ht=p('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> </p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),Bt=p('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Ft=p('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Gt=p('<span class="text-xs text-muted-foreground">No project yet</span>'),Jt=p('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),Yt=p('<p>Remove <span class="font-mono"> </span> </p> <div class="flex flex-wrap gap-2"><!> <!></div>',1),qt=p('<div class="flex flex-wrap gap-2"><!> <!></div>'),Qt=p('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Xt=p('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),ea=p('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),ta=p('<a class="text-sea hover:underline"> </a>'),aa=p('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),ra=p('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),sa=p('<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground"> </p> <!></div> <!> <!> <!> <!> <!> <!> <!>',1);function na(C,B){pt(B,!0);const ge=(t,a=ue,r=ue,o=ue)=>{var u=Dt(),_=d(u);Ee(_);var c=s(_,2),S=d(c);{var x=m=>{Rt(m,{class:"size-4"})},h=m=>{At(m,{class:"size-4"})};P(S,m=>{e(Z)?m(x):m(h,-1)})}i(c),i(u),y(m=>{K(_,"id",a()),K(_,"type",e(Z)?"text":"password"),ht(_,m),_.disabled=e($),K(c,"aria-label",e(Z)?"Hide what you typed":"Show what you typed"),K(c,"aria-pressed",e(Z))},[()=>r()()]),_e("input",_,m=>o()(m.currentTarget.value)),_e("click",c,()=>n(Z,!e(Z))),l(t,u)},xe=(t,a=ue,r=ue,o=ue)=>{var u=gt(),_=we(u);{var c=x=>{var h=It();ke(h,20,()=>e(Re),m=>m,(m,I)=>{var H=Lt(),f=d(H);Ee(f);var w=s(f,2),E=b(w,!0);i(H),y(z=>{bt(f,z),f.disabled=e($),g(E,I)},[()=>r().includes(I)]),_e("change",f,z=>{const F=z.currentTarget;o()(I,F.checked,F)}),l(m,H)}),i(h),y(()=>K(h,"aria-label",a())),l(x,h)},S=x=>{var h=Vt();l(x,h)};P(_,x=>{e(Re).length?x(c):x(S,-1)})}l(t,u)},ce=O(()=>B.data);let he=j(null);const ve=O(()=>{const t=B.entry.content.available?Date.parse(B.entry.content.observedAt??""):NaN;return e(he)&&!(t>e(he).at)?e(he).secrets:e(ce).secrets}),Re=O(()=>{const t=(Ze.data.fleet?.projects??[]).map(r=>r.id),a=e(ve).flatMap(r=>r.projects).filter(r=>!t.includes(r));return[...t,...[...new Set(a)].sort()]});let J=j(null),ae=j(!1),pe=j(null),me=j(null),$=j(!1),re=j(null),se=j(null),Y=j(""),q=j(""),ne=j(mt([])),Z=j(!1),oe=j(""),Q=j(""),le=j(null);const fe=O(()=>e(le)?.canStore===!1);function Te(){fetch("/api/vault").then(t=>t.ok?t.json():null).then(t=>{t&&n(le,t,!0)}).catch(()=>{})}ft(Te);function je(t){if(!t)return"Never";const a=new Date(t);if(Number.isNaN(a.getTime()))return t;const r=o=>String(o).padStart(2,"0");return`${a.getFullYear()}-${r(a.getMonth()+1)}-${r(a.getDate())} ${r(a.getHours())}:${r(a.getMinutes())}`}function be(){n(q,""),n(Q,""),n(Z,!1)}function Ce(){n(Y,""),n(ne,[],!0),n(oe,""),n(re,null),n(se,null),be(),n(ae,!0)}function Be(){n(ae,!1),be()}async function ye(t){n($,!0),n(se,null),n(re,null);try{const a=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[$t]:Ze.data.sessionToken},body:JSON.stringify(t)}),r=await a.json().catch(()=>null);return a.ok?(r?.secrets&&n(he,{secrets:r.secrets,at:Date.parse(r.observedAt??"")||Date.now()},!0),n(re,r?.message??"Done.",!0),!0):(n(se,r?.message??`Wheelhouse could not do that (${a.status}).`,!0),a.status===503&&Te(),!1)}catch{return n(se,"Wheelhouse could not be reached. Try again."),!1}finally{n($,!1)}}async function Fe(t){if(t.preventDefault(),!Tt.test(e(Y))){n(oe,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(q))return;const a={action:"set",name:e(Y),value:e(q),projects:e(ne)};n(q,""),n(Z,!1),await ye(a)&&(n(ae,!1),n(J,e(Y),!0))}async function Ge(t,a){if(t.preventDefault(),!e(Q))return;const r={action:"set",name:a.name,value:e(Q),projects:[]};n(Q,""),n(Z,!1),await ye(r)&&n(pe,null)}async function Je(t,a,r,o){await ye({action:r?"grant":"revoke",name:t.name,projects:[a]})||(o.checked=!r)}async function Ye(t){await ye({action:"remove",name:t.name})&&(n(me,null),n(J,null))}function qe(t){n(J,e(J)===t?null:t,!0),n(me,null),n(pe,null),be()}var De=sa(),Se=we(De),Le=d(Se),Qe=b(Le),Xe=s(Le,2);{var et=t=>{{let a=O(()=>e($)||e(fe));U(t,{onclick:Ce,get disabled(){return e(a)},children:(r,o)=>{W();var u=L("Add a secret");l(r,u)},$$slots:{default:!0}})}};P(Xe,t=>{e(ve).length&&!e(ae)&&t(et)})}i(Se);var Ie=s(Se,2);{var tt=t=>{var a=Mt(),r=b(a,!0);y(()=>g(r,e(le)?.reason??"The vault cannot store a secret on this computer.")),l(t,a)};P(Ie,t=>{e(fe)&&t(tt)})}var Ve=s(Ie,2);{var at=t=>{var a=Ot(),r=b(a,!0);y(()=>g(r,e(re))),l(t,a)};P(Ve,t=>{e(re)&&t(at)})}var Me=s(Ve,2);{var rt=t=>{var a=Wt(),r=b(a,!0);y(()=>g(r,e(se))),l(t,a)};P(Me,t=>{e(se)&&t(rt)})}var Oe=s(Me,2);{var st=t=>{var a=Kt(),r=b(a,!0);y(()=>g(r,e(ce).problem)),l(t,a)};P(Oe,t=>{e(ce).problem&&t(st)})}var We=s(Oe,2);{var nt=t=>{var a=Ht(),r=s(d(a),4),o=d(r),u=s(d(o),2);Ee(u);var _=s(u,2);{var c=v=>{var A=Ut(),D=b(A,!0);y(()=>g(D,e(oe))),l(v,A)},S=v=>{var A=Zt();l(v,A)};P(_,v=>{e(oe)?v(c):v(S,-1)})}i(o);var x=s(o,2),h=s(d(x),2);ge(h,()=>"vault-value",()=>()=>e(q),()=>v=>n(q,v,!0));var m=s(h,2),I=d(m);wt(I,{class:"mt-px size-3.5 shrink-0"});var H=s(I);i(m),i(x);var f=s(x,2),w=s(d(f),4);xe(w,()=>"Projects that may use it",()=>e(ne),()=>(v,A)=>{n(ne,A?[...e(ne),v]:e(ne).filter(D=>D!==v),!0)}),i(f);var E=s(f,2),z=d(E);{let v=O(()=>e($)||!e(Y)||!e(q)||e(fe));U(z,{type:"submit",get disabled(){return e(v)},children:(A,D)=>{W();var ie=L("Store secret");l(A,ie)},$$slots:{default:!0}})}var F=s(z,2);U(F,{type:"button",variant:"outline",get disabled(){return e($)},onclick:Be,children:(v,A)=>{W();var D=L("Cancel");l(v,D)},$$slots:{default:!0}}),i(E),i(r),i(a),y(v=>{u.disabled=e($),K(u,"aria-invalid",e(oe)?"true":void 0),g(H,` Goes straight into ${v??""}. Wheelhouse cannot show it again.`)},[()=>Ne(e(le))]),Ue("submit",r,Fe),_e("input",u,()=>n(oe,"")),yt(u,()=>e(Y),v=>n(Y,v)),l(t,a)};P(We,t=>{e(ae)&&t(nt)})}var Ke=s(We,2);{var ot=t=>{var a=Bt(),r=d(a);He(r,{class:"size-6 text-brass","aria-hidden":"true"});var o=s(r,6);{let u=O(()=>e($)||e(fe));U(o,{class:"mt-5",onclick:Ce,get disabled(){return e(u)},children:(_,c)=>{W();var S=L("Add a secret");l(_,S)},$$slots:{default:!0}})}i(a),l(t,a)},lt=t=>{var a=ea();ke(a,21,()=>e(ve),r=>r.name,(r,o)=>{var u=Xt(),_=d(u),c=d(_);He(c,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var S=s(c,2),x=b(S,!0),h=s(S,2);ke(h,20,()=>e(o).projects,f=>f,(f,w)=>{var E=Ft(),z=b(E,!0);y(()=>g(z,w)),l(f,E)},f=>{var w=Gt();l(f,w)}),i(h);var m=s(h,2);{let f=O(()=>e(J)===e(o).name?"rotate-90":"");kt(m,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(f)??""}`},"aria-hidden":"true"})}i(_);var I=s(_,2);{var H=f=>{var w=Qt(),E=d(w),z=s(d(E),2);xe(z,()=>`Projects that may use ${e(o).name}`,()=>e(o).projects,()=>(N,k,R)=>Je(e(o),N,k,R));var F=s(z,2),v=b(F,!0);i(E);var A=s(E,2),D=d(A),ie=d(D),V=s(ie,2);i(D);var M=s(D,2);{var ze=N=>{var k=Jt(),R=s(d(k),2);ge(R,()=>"vault-replace",()=>()=>e(Q),()=>T=>n(Q,T,!0));var X=s(R,2),G=d(X);{let T=O(()=>e($)||!e(Q));U(G,{type:"submit",size:"sm",get disabled(){return e(T)},children:(ee,$e)=>{W();var te=L("Replace");l(ee,te)},$$slots:{default:!0}})}var de=s(G,2);U(de,{type:"button",size:"sm",variant:"outline",get disabled(){return e($)},onclick:()=>{n(pe,null),be()},children:(T,ee)=>{W();var $e=L("Cancel");l(T,$e)},$$slots:{default:!0}}),i(X),i(k),Ue("submit",k,T=>Ge(T,e(o))),l(N,k)},Ae=N=>{var k=Yt(),R=we(k),X=s(d(R)),G=b(X,!0),de=s(X);i(R);var T=s(R,2),ee=d(T);U(ee,{size:"sm",variant:"destructive",get disabled(){return e($)},onclick:()=>Ye(e(o)),children:(te,ct)=>{W();var Pe=L("Remove");l(te,Pe)},$$slots:{default:!0}});var $e=s(ee,2);U($e,{size:"sm",variant:"outline",get disabled(){return e($)},onclick:()=>n(me,null),children:(te,ct)=>{W();var Pe=L("Keep it");l(te,Pe)},$$slots:{default:!0}}),i(T),y(te=>{g(G,e(o).name),g(de,`? Its value is deleted from ${te??""} and every project loses it. This cannot be undone.`)},[()=>Ne(e(le))]),l(N,k)},ut=N=>{var k=qt(),R=d(k);{let G=O(()=>e($)||e(fe));U(R,{size:"sm",variant:"outline",get disabled(){return e(G)},onclick:()=>{n(pe,e(o).name,!0),n(re,null)},children:(de,T)=>{W();var ee=L("Replace value");l(de,ee)},$$slots:{default:!0}})}var X=s(R,2);U(X,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e($)},onclick:()=>n(me,e(o).name,!0),children:(G,de)=>{W();var T=L("Remove…");l(G,T)},$$slots:{default:!0}}),i(k),l(N,k)};P(M,N=>{e(pe)===e(o).name?N(ze):e(me)===e(o).name?N(Ae,1):N(ut,-1)})}i(A),i(w),y((N,k,R)=>{K(w,"id",`vault-${e(o).name??""}`),g(v,N),g(ie,`Value set ${k??""}`),g(V,`Last used ${R??""}`)},[()=>e(o).projects.length?`A command ${Ct(e(o).projects)} ${e(o).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>je(e(o).updatedAt),()=>je(e(o).lastUsedAt)]),l(f,w)};P(I,f=>{e(J)===e(o).name&&f(H)})}i(u),y(()=>{K(_,"aria-expanded",e(J)===e(o).name),K(_,"aria-controls",`vault-${e(o).name??""}`),g(x,e(o).name)}),_e("click",_,()=>qe(e(o).name)),l(r,u)}),i(a),l(t,a)};P(Ke,t=>{!e(ve).length&&!e(ae)?t(ot):e(ve).length&&t(lt,1)})}var it=s(Ke,2);{var dt=t=>{var a=ra(),r=s(we(a),2),o=d(r),u=s(d(o));ke(u,21,()=>e(ce).used,xt,(_,c)=>{var S=aa(),x=d(S),h=b(x,!0),m=s(x),I=d(m);{var H=V=>{var M=ta(),ze=b(M,!0);y(Ae=>{K(M,"href",`/tasks/${Ae??""}`),g(ze,e(c).task)},[()=>encodeURIComponent(e(c).task)]),l(V,M)},f=V=>{var M=L();y(()=>g(M,e(c).task??"—")),l(V,M)};P(I,V=>{e(c).task&&e(c).taskKnown?V(H):V(f,-1)})}i(m);var w=s(m),E=b(w,!0),z=s(w),F=b(z,!0),v=s(z),A=b(v,!0),D=s(v),ie=b(D,!0);i(S),y((V,M)=>{g(h,V),g(E,e(c).project??"—"),g(F,M),g(A,e(c).program??"—"),g(ie,e(c).result)},[()=>je(e(c).at),()=>e(c).names.join(", ")||"—"]),l(_,S)}),i(u),i(o),i(r),l(t,a)};P(it,t=>{e(ce).used.length&&t(dt)})}y(t=>g(Qe,`Secrets your projects can use by name. Values stay in ${t??""}; Wheelhouse never
|
|
1
|
+
import"./DsnmJJEf.js";import{l as vt,p as pt,m as j,q as mt,u as ft,f as we,h as d,o as b,s,g as e,r as i,t as y,d as g,a as l,b as _t,i as O,v as n,n as W,w as L,x as Ue,y as _e,c as p,aa as ue,j as gt}from"./D46tdsTs.js";import{i as P}from"./DWAM9c1z.js";import{r as Ee,s as K,e as ke,i as xt,b as ht,c as bt}from"./BLivoCTk.js";import{a as yt}from"./Cqz3pSYE.js";import{p as Ze}from"./C5Y6KQiE.js";import{S as $t}from"./BXN538J3.js";import{B as U}from"./oiLSZkWa.js";import{L as wt,K as He}from"./BE305dTg.js";import{C as kt}from"./CrXwYZhk.js";import{s as jt,r as St}from"./z5Xef_-v.js";import{I as zt}from"./B4gzexCn.js";import{E as At}from"./Cfp1M-Wz.js";const Pt=/https?:\/\/[^\s<>"'`]+/g,Et=/[.,;:!?)\]}'"*]+$/;function ha(C){return[...C.matchAll(Pt)].map(B=>B[0].replace(Et,""))}var Nt=new Set(["$$slots","$$events","$$legacy"]);function Rt(C,B){let ge=St(B,Nt);const xe={name:"eye-off",size:24,node:[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143"}],["path",{d:"m2 2 20 20"}]]};zt(C,jt(()=>ge,{get icon(){return xe}}))}const Tt=/^[A-Za-z_][A-Za-z0-9_]{0,127}$/,ba=/^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$/;function Ne(C){return C?.where??"the vault"}function Ct(C){return C.length<=1?C.join(""):`${C.slice(0,-1).join(", ")} and ${C.at(-1)}`}var Dt=p('<div class="relative"><input autocomplete="off" autocapitalize="off" spellcheck="false" data-1p-ignore="" data-lpignore="true" class="h-10 w-full rounded-md border border-input bg-background px-3 pr-10 font-mono text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60"/> <button type="button" class="absolute inset-y-0 right-0 flex w-10 items-center justify-center rounded-r-md text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring"><!></button></div>'),Lt=p('<label class="flex min-w-0 items-center gap-2 text-sm"><input type="checkbox" class="size-4 shrink-0 accent-[var(--sea)]"/> <span class="truncate"> </span></label>'),It=p('<div class="grid gap-x-6 gap-y-2 sm:grid-cols-2" role="group"></div>'),Vt=p('<p class="text-sm text-muted-foreground">Wheelhouse knows no projects yet.</p>'),Mt=p('<p class="mt-5 rounded-md border border-warning/40 bg-warning/5 px-4 py-2.5 text-sm" role="alert" data-vault-unavailable=""> </p>'),Ot=p('<p class="mt-5 rounded-md border border-success/40 bg-success/5 px-4 py-2.5 text-sm" role="status"> </p>'),Wt=p('<p class="mt-5 rounded-md border border-danger/40 bg-danger/5 px-4 py-2.5 text-sm" role="alert"> </p>'),Kt=p('<p class="mt-5 text-sm text-muted-foreground"> </p>'),Ut=p('<p id="vault-name-help" class="text-sm text-danger" role="alert"> </p>'),Zt=p('<p id="vault-name-help" class="text-xs text-muted-foreground">The environment variable a command receives it as: letters, digits and underscores.</p>'),Ht=p('<section class="mt-6 rounded-lg border border-hair bg-background/60 px-5 py-5" aria-labelledby="vault-add"><h2 id="vault-add" class="font-display text-lg">Add a secret</h2> <p class="mt-0.5 mb-5 text-xs text-muted-foreground">Storing a name that already exists replaces its value.</p> <form class="grid gap-5"><div class="grid max-w-md gap-1.5"><label for="vault-name" class="text-sm font-medium">Name</label> <input id="vault-name" autocomplete="off" autocapitalize="characters" spellcheck="false" placeholder="VERCEL_TOKEN" aria-describedby="vault-name-help" class="h-10 w-full rounded-md border border-input bg-background px-3 font-mono text-sm outline-none placeholder:text-muted-foreground/60 focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60 aria-invalid:border-danger"/> <!></div> <div class="grid max-w-md gap-1.5"><label for="vault-value" class="text-sm font-medium">Value</label> <!> <p class="flex items-start gap-1.5 text-xs text-muted-foreground"><!> </p></div> <div class="grid gap-2"><p class="text-sm font-medium">Projects that may use it</p> <p class="-mt-1 mb-1 text-xs text-muted-foreground">Optional. You can change this any time.</p> <!></div> <div class="flex flex-wrap gap-2"><!> <!></div></form></section>'),Bt=p('<div class="mt-6 rounded-lg border border-dashed px-6 py-10"><!> <p class="mt-3 font-display text-lg">The vault is empty</p> <p class="mt-1 max-w-prose text-sm text-muted-foreground">Add the tokens and keys your projects need. The crew uses them by name and never sees a value.</p> <!></div>'),Ft=p('<span class="rounded border border-hair px-1.5 py-0.5 text-xs"> </span>'),Gt=p('<span class="text-xs text-muted-foreground">No project yet</span>'),Jt=p('<form class="grid gap-2"><label for="vault-replace" class="text-xs font-medium">New value</label> <!> <div class="flex flex-wrap gap-2"><!> <!></div></form>'),Yt=p('<p>Remove <span class="font-mono"> </span> </p> <div class="flex flex-wrap gap-2"><!> <!></div>',1),qt=p('<div class="flex flex-wrap gap-2"><!> <!></div>'),Qt=p('<div class="grid gap-6 px-1 pt-1 pb-5 sm:grid-cols-[minmax(0,1fr)_minmax(0,18rem)] sm:pl-9"><div><p class="mb-2 text-sm font-medium">Projects that may use it</p> <!> <p class="mt-3 text-xs text-muted-foreground"> </p></div> <div class="grid content-start gap-3 text-sm"><p class="tabular text-xs text-muted-foreground"> <br/> </p> <!></div></div>'),Xt=p('<li><button class="flex min-h-12 w-full items-center gap-4 px-1 py-3 text-left outline-none hover:bg-muted/50 focus-visible:ring-2 focus-visible:ring-ring"><!> <span class="min-w-0 flex-1 truncate font-mono text-sm font-medium"> </span> <span class="hidden min-w-0 flex-wrap justify-end gap-1.5 sm:flex"></span> <!></button> <!></li>'),ea=p('<ul class="mt-6 divide-y divide-hair border-y border-hair" aria-label="Secrets"></ul>'),ta=p('<a class="text-sea hover:underline"> </a>'),aa=p('<tr><td class="tabular py-2 pr-4 whitespace-nowrap"> </td><td class="py-2 pr-4"><!></td><td class="py-2 pr-4"> </td><td class="py-2 pr-4 font-mono text-xs"> </td><td class="py-2 pr-4"> </td><td class="py-2"> </td></tr>'),ra=p('<h2 class="section-label mt-10">Recent use</h2> <div class="mt-3 no-scrollbar overflow-x-auto"><table class="w-full text-sm"><thead class="text-left text-xs text-muted-foreground"><tr class="border-b border-hair"><th class="py-2 pr-4 font-medium">When</th><th class="py-2 pr-4 font-medium">Task</th><th class="py-2 pr-4 font-medium">Project</th><th class="py-2 pr-4 font-medium">Secrets</th><th class="py-2 pr-4 font-medium">Command</th><th class="py-2 font-medium">Result</th></tr></thead><tbody class="divide-y divide-hair"></tbody></table></div>',1),sa=p('<div class="flex flex-wrap items-start justify-between gap-4"><p class="max-w-prose text-sm text-muted-foreground"> </p> <!></div> <!> <!> <!> <!> <!> <!> <!>',1);function na(C,B){pt(B,!0);const ge=(t,a=ue,r=ue,o=ue)=>{var u=Dt(),_=d(u);Ee(_);var c=s(_,2),S=d(c);{var x=m=>{Rt(m,{class:"size-4"})},h=m=>{At(m,{class:"size-4"})};P(S,m=>{e(Z)?m(x):m(h,-1)})}i(c),i(u),y(m=>{K(_,"id",a()),K(_,"type",e(Z)?"text":"password"),ht(_,m),_.disabled=e($),K(c,"aria-label",e(Z)?"Hide what you typed":"Show what you typed"),K(c,"aria-pressed",e(Z))},[()=>r()()]),_e("input",_,m=>o()(m.currentTarget.value)),_e("click",c,()=>n(Z,!e(Z))),l(t,u)},xe=(t,a=ue,r=ue,o=ue)=>{var u=gt(),_=we(u);{var c=x=>{var h=It();ke(h,20,()=>e(Re),m=>m,(m,I)=>{var H=Lt(),f=d(H);Ee(f);var w=s(f,2),E=b(w,!0);i(H),y(z=>{bt(f,z),f.disabled=e($),g(E,I)},[()=>r().includes(I)]),_e("change",f,z=>{const F=z.currentTarget;o()(I,F.checked,F)}),l(m,H)}),i(h),y(()=>K(h,"aria-label",a())),l(x,h)},S=x=>{var h=Vt();l(x,h)};P(_,x=>{e(Re).length?x(c):x(S,-1)})}l(t,u)},ce=O(()=>B.data);let he=j(null);const ve=O(()=>{const t=B.entry.content.available?Date.parse(B.entry.content.observedAt??""):NaN;return e(he)&&!(t>e(he).at)?e(he).secrets:e(ce).secrets}),Re=O(()=>{const t=(Ze.data.fleet?.projects??[]).map(r=>r.id),a=e(ve).flatMap(r=>r.projects).filter(r=>!t.includes(r));return[...t,...[...new Set(a)].sort()]});let J=j(null),ae=j(!1),pe=j(null),me=j(null),$=j(!1),re=j(null),se=j(null),Y=j(""),q=j(""),ne=j(mt([])),Z=j(!1),oe=j(""),Q=j(""),le=j(null);const fe=O(()=>e(le)?.canStore===!1);function Te(){fetch("/api/vault").then(t=>t.ok?t.json():null).then(t=>{t&&n(le,t,!0)}).catch(()=>{})}ft(Te);function je(t){if(!t)return"Never";const a=new Date(t);if(Number.isNaN(a.getTime()))return t;const r=o=>String(o).padStart(2,"0");return`${a.getFullYear()}-${r(a.getMonth()+1)}-${r(a.getDate())} ${r(a.getHours())}:${r(a.getMinutes())}`}function be(){n(q,""),n(Q,""),n(Z,!1)}function Ce(){n(Y,""),n(ne,[],!0),n(oe,""),n(re,null),n(se,null),be(),n(ae,!0)}function Be(){n(ae,!1),be()}async function ye(t){n($,!0),n(se,null),n(re,null);try{const a=await fetch("/api/vault",{method:"POST",headers:{"content-type":"application/json",[$t]:Ze.data.sessionToken},body:JSON.stringify(t)}),r=await a.json().catch(()=>null);return a.ok?(r?.secrets&&n(he,{secrets:r.secrets,at:Date.parse(r.observedAt??"")||Date.now()},!0),n(re,r?.message??"Done.",!0),!0):(n(se,r?.message??`Wheelhouse could not do that (${a.status}).`,!0),a.status===503&&Te(),!1)}catch{return n(se,"Wheelhouse could not be reached. Try again."),!1}finally{n($,!1)}}async function Fe(t){if(t.preventDefault(),!Tt.test(e(Y))){n(oe,"Use letters, digits and underscores, not starting with a digit, like VERCEL_TOKEN.");return}if(!e(q))return;const a={action:"set",name:e(Y),value:e(q),projects:e(ne)};n(q,""),n(Z,!1),await ye(a)&&(n(ae,!1),n(J,e(Y),!0))}async function Ge(t,a){if(t.preventDefault(),!e(Q))return;const r={action:"set",name:a.name,value:e(Q),projects:[]};n(Q,""),n(Z,!1),await ye(r)&&n(pe,null)}async function Je(t,a,r,o){await ye({action:r?"grant":"revoke",name:t.name,projects:[a]})||(o.checked=!r)}async function Ye(t){await ye({action:"remove",name:t.name})&&(n(me,null),n(J,null))}function qe(t){n(J,e(J)===t?null:t,!0),n(me,null),n(pe,null),be()}var De=sa(),Se=we(De),Le=d(Se),Qe=b(Le),Xe=s(Le,2);{var et=t=>{{let a=O(()=>e($)||e(fe));U(t,{onclick:Ce,get disabled(){return e(a)},children:(r,o)=>{W();var u=L("Add a secret");l(r,u)},$$slots:{default:!0}})}};P(Xe,t=>{e(ve).length&&!e(ae)&&t(et)})}i(Se);var Ie=s(Se,2);{var tt=t=>{var a=Mt(),r=b(a,!0);y(()=>g(r,e(le)?.reason??"The vault cannot store a secret on this computer.")),l(t,a)};P(Ie,t=>{e(fe)&&t(tt)})}var Ve=s(Ie,2);{var at=t=>{var a=Ot(),r=b(a,!0);y(()=>g(r,e(re))),l(t,a)};P(Ve,t=>{e(re)&&t(at)})}var Me=s(Ve,2);{var rt=t=>{var a=Wt(),r=b(a,!0);y(()=>g(r,e(se))),l(t,a)};P(Me,t=>{e(se)&&t(rt)})}var Oe=s(Me,2);{var st=t=>{var a=Kt(),r=b(a,!0);y(()=>g(r,e(ce).problem)),l(t,a)};P(Oe,t=>{e(ce).problem&&t(st)})}var We=s(Oe,2);{var nt=t=>{var a=Ht(),r=s(d(a),4),o=d(r),u=s(d(o),2);Ee(u);var _=s(u,2);{var c=v=>{var A=Ut(),D=b(A,!0);y(()=>g(D,e(oe))),l(v,A)},S=v=>{var A=Zt();l(v,A)};P(_,v=>{e(oe)?v(c):v(S,-1)})}i(o);var x=s(o,2),h=s(d(x),2);ge(h,()=>"vault-value",()=>()=>e(q),()=>v=>n(q,v,!0));var m=s(h,2),I=d(m);wt(I,{class:"mt-px size-3.5 shrink-0"});var H=s(I);i(m),i(x);var f=s(x,2),w=s(d(f),4);xe(w,()=>"Projects that may use it",()=>e(ne),()=>(v,A)=>{n(ne,A?[...e(ne),v]:e(ne).filter(D=>D!==v),!0)}),i(f);var E=s(f,2),z=d(E);{let v=O(()=>e($)||!e(Y)||!e(q)||e(fe));U(z,{type:"submit",get disabled(){return e(v)},children:(A,D)=>{W();var ie=L("Store secret");l(A,ie)},$$slots:{default:!0}})}var F=s(z,2);U(F,{type:"button",variant:"outline",get disabled(){return e($)},onclick:Be,children:(v,A)=>{W();var D=L("Cancel");l(v,D)},$$slots:{default:!0}}),i(E),i(r),i(a),y(v=>{u.disabled=e($),K(u,"aria-invalid",e(oe)?"true":void 0),g(H,` Goes straight into ${v??""}. Wheelhouse cannot show it again.`)},[()=>Ne(e(le))]),Ue("submit",r,Fe),_e("input",u,()=>n(oe,"")),yt(u,()=>e(Y),v=>n(Y,v)),l(t,a)};P(We,t=>{e(ae)&&t(nt)})}var Ke=s(We,2);{var ot=t=>{var a=Bt(),r=d(a);He(r,{class:"size-6 text-brass","aria-hidden":"true"});var o=s(r,6);{let u=O(()=>e($)||e(fe));U(o,{class:"mt-5",onclick:Ce,get disabled(){return e(u)},children:(_,c)=>{W();var S=L("Add a secret");l(_,S)},$$slots:{default:!0}})}i(a),l(t,a)},lt=t=>{var a=ea();ke(a,21,()=>e(ve),r=>r.name,(r,o)=>{var u=Xt(),_=d(u),c=d(_);He(c,{class:"size-4 shrink-0 text-brass","aria-hidden":"true"});var S=s(c,2),x=b(S,!0),h=s(S,2);ke(h,20,()=>e(o).projects,f=>f,(f,w)=>{var E=Ft(),z=b(E,!0);y(()=>g(z,w)),l(f,E)},f=>{var w=Gt();l(f,w)}),i(h);var m=s(h,2);{let f=O(()=>e(J)===e(o).name?"rotate-90":"");kt(m,{get class(){return`size-4 shrink-0 text-muted-foreground transition-transform ${e(f)??""}`},"aria-hidden":"true"})}i(_);var I=s(_,2);{var H=f=>{var w=Qt(),E=d(w),z=s(d(E),2);xe(z,()=>`Projects that may use ${e(o).name}`,()=>e(o).projects,()=>(N,k,R)=>Je(e(o),N,k,R));var F=s(z,2),v=b(F,!0);i(E);var A=s(E,2),D=d(A),ie=d(D),V=s(ie,2);i(D);var M=s(D,2);{var ze=N=>{var k=Jt(),R=s(d(k),2);ge(R,()=>"vault-replace",()=>()=>e(Q),()=>T=>n(Q,T,!0));var X=s(R,2),G=d(X);{let T=O(()=>e($)||!e(Q));U(G,{type:"submit",size:"sm",get disabled(){return e(T)},children:(ee,$e)=>{W();var te=L("Replace");l(ee,te)},$$slots:{default:!0}})}var de=s(G,2);U(de,{type:"button",size:"sm",variant:"outline",get disabled(){return e($)},onclick:()=>{n(pe,null),be()},children:(T,ee)=>{W();var $e=L("Cancel");l(T,$e)},$$slots:{default:!0}}),i(X),i(k),Ue("submit",k,T=>Ge(T,e(o))),l(N,k)},Ae=N=>{var k=Yt(),R=we(k),X=s(d(R)),G=b(X,!0),de=s(X);i(R);var T=s(R,2),ee=d(T);U(ee,{size:"sm",variant:"destructive",get disabled(){return e($)},onclick:()=>Ye(e(o)),children:(te,ct)=>{W();var Pe=L("Remove");l(te,Pe)},$$slots:{default:!0}});var $e=s(ee,2);U($e,{size:"sm",variant:"outline",get disabled(){return e($)},onclick:()=>n(me,null),children:(te,ct)=>{W();var Pe=L("Keep it");l(te,Pe)},$$slots:{default:!0}}),i(T),y(te=>{g(G,e(o).name),g(de,`? Its value is deleted from ${te??""} and every project loses it. This cannot be undone.`)},[()=>Ne(e(le))]),l(N,k)},ut=N=>{var k=qt(),R=d(k);{let G=O(()=>e($)||e(fe));U(R,{size:"sm",variant:"outline",get disabled(){return e(G)},onclick:()=>{n(pe,e(o).name,!0),n(re,null)},children:(de,T)=>{W();var ee=L("Replace value");l(de,ee)},$$slots:{default:!0}})}var X=s(R,2);U(X,{size:"sm",variant:"ghost",class:"text-danger hover:text-danger",get disabled(){return e($)},onclick:()=>n(me,e(o).name,!0),children:(G,de)=>{W();var T=L("Remove…");l(G,T)},$$slots:{default:!0}}),i(k),l(N,k)};P(M,N=>{e(pe)===e(o).name?N(ze):e(me)===e(o).name?N(Ae,1):N(ut,-1)})}i(A),i(w),y((N,k,R)=>{K(w,"id",`vault-${e(o).name??""}`),g(v,N),g(ie,`Value set ${k??""}`),g(V,`Last used ${R??""}`)},[()=>e(o).projects.length?`A command ${Ct(e(o).projects)} ${e(o).projects.length===1?"runs":"run"} through the vault gets it in its environment, that command only.`:"No project can use it until you tick one.",()=>je(e(o).updatedAt),()=>je(e(o).lastUsedAt)]),l(f,w)};P(I,f=>{e(J)===e(o).name&&f(H)})}i(u),y(()=>{K(_,"aria-expanded",e(J)===e(o).name),K(_,"aria-controls",`vault-${e(o).name??""}`),g(x,e(o).name)}),_e("click",_,()=>qe(e(o).name)),l(r,u)}),i(a),l(t,a)};P(Ke,t=>{!e(ve).length&&!e(ae)?t(ot):e(ve).length&&t(lt,1)})}var it=s(Ke,2);{var dt=t=>{var a=ra(),r=s(we(a),2),o=d(r),u=s(d(o));ke(u,21,()=>e(ce).used,xt,(_,c)=>{var S=aa(),x=d(S),h=b(x,!0),m=s(x),I=d(m);{var H=V=>{var M=ta(),ze=b(M,!0);y(Ae=>{K(M,"href",`/tasks/${Ae??""}`),g(ze,e(c).task)},[()=>encodeURIComponent(e(c).task)]),l(V,M)},f=V=>{var M=L();y(()=>g(M,e(c).task??"—")),l(V,M)};P(I,V=>{e(c).task&&e(c).taskKnown?V(H):V(f,-1)})}i(m);var w=s(m),E=b(w,!0),z=s(w),F=b(z,!0),v=s(z),A=b(v,!0),D=s(v),ie=b(D,!0);i(S),y((V,M)=>{g(h,V),g(E,e(c).project??"—"),g(F,M),g(A,e(c).program??"—"),g(ie,e(c).result)},[()=>je(e(c).at),()=>e(c).names.join(", ")||"—"]),l(_,S)}),i(u),i(o),i(r),l(t,a)};P(it,t=>{e(ce).used.length&&t(dt)})}y(t=>g(Qe,`Secrets your projects can use by name. Values stay in ${t??""}; Wheelhouse never
|
|
2
2
|
shows one.`),[()=>Ne(e(le))]),l(C,De),_t()}vt(["input","click","change"]);const ya={"vault/overview":na};export{ya as P,Tt as S,Ct as a,ba as b,ha as e,Ne as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{l as ee}from"./
|
|
1
|
+
import{l as ee}from"./CQBPQL2l.js";import{S as ae}from"./BXN538J3.js";import"./DsnmJJEf.js";import{h,s as f,r as b,n as te,t as k,d as z,a as l,c as u,p as se,j as L,f as W,g as o,o as D,b as re}from"./D46tdsTs.js";import{i as g}from"./DWAM9c1z.js";import{a as A,e as H,f as J,j as oe,k as ie,r as ne,s as le}from"./BLivoCTk.js";import{L as Y}from"./BXPZKlNj.js";import{C as B}from"./DSINNCaW.js";import{a as pe}from"./Cqz3pSYE.js";import{p as G}from"./z5Xef_-v.js";async function v(e,a,i){try{const p=await fetch(e,a===null?void 0:{method:"POST",headers:{"content-type":"application/json",[ae]:a},body:JSON.stringify(i??{})}),d=await p.json().catch(()=>null);return p.ok&&d?{ok:!0,value:d}:{ok:!1,error:d?.message??`Wheelhouse answered ${p.status}.`}}catch{return{ok:!1,error:"Wheelhouse did not answer."}}}const Ee=()=>v("/api/plugins/updates",null),Ne=e=>v("/api/plugins/updates",e),Oe=(e=!1)=>v(`/api/plugins/marketplace${e?"?refresh=1":""}`,null),Te=(e,a)=>v("/api/plugins/marketplace/registries",a,{add:e}),We=(e,a)=>v("/api/plugins/marketplace/registries",a,{remove:e}),Ae=(e,a)=>v("/api/plugins/inspect",a,e),Fe=(e,a,i)=>v("/api/plugins/install",i,{repo:e.repository,ref:e.ref,commit:e.commit,settings:a}),Le=(e,a,i)=>v(`/api/plugins/${encodeURIComponent(e.id)}/update`,i,{ref:e.ref,commit:e.commit,settings:a});function De(e=6e4){return new Promise(a=>{const i=setTimeout(()=>{p(),a(!1)},e),p=ee.onRestart(()=>{clearTimeout(i),p(),a(!0)})})}const He=(e,a,i)=>v(`/api/plugins/${encodeURIComponent(e)}/config`,i,a),Je=(e,a)=>v(`/api/plugins/${encodeURIComponent(e)}/load`,a);var ce=u('<span class="size-4 text-center" aria-hidden="true">·</span>'),ue=u(`<p class="mt-3 text-xs text-muted-foreground">Wheelhouse has not come back yet. If it stays away, run <code>wheelhouse open</code> again; the
|
|
2
2
|
change is kept.</p>`),de=u('<div aria-live="polite"><ol class="grid gap-1.5"><li class="flex items-center gap-2"><!> </li> <li><!>Restart Wheelhouse to load it</li></ol> <!></div>');function Ye(e,a){var i=de(),p=h(i),d=h(p),w=h(d);{var I=s=>{Y(s,{class:"size-4 animate-spin text-sea"})},S=s=>{B(s,{class:"size-4 text-success"})};g(w,s=>{a.phase==="saving"?s(I):s(S,-1)})}var r=f(w,1,!0);b(d);var _=f(d,2),R=h(_);{var C=s=>{Y(s,{class:"size-4 animate-spin text-sea"})},E=s=>{B(s,{class:"size-4 text-success"})},N=s=>{var P=ce();l(s,P)};g(R,s=>{a.phase==="restarting"||a.phase==="slow"?s(C):a.phase==="done"?s(E,1):s(N,-1)})}te(),b(_),b(p);var O=f(p,2);{var q=s=>{var P=ue();l(s,P)};g(O,s=>{a.phase==="slow"&&s(q)})}b(i),k(()=>{z(r,a.label),A(_,1,`flex items-center gap-2 ${a.phase==="saving"?"text-muted-foreground":""}`)}),l(e,i)}const ve=e=>e===void 0?"":e===!0?"yes":e===!1?"no":Array.isArray(e)?e.join(", "):String(e),Be=e=>Object.fromEntries(e.map(a=>[a.key,ve(a.current??a.default)]));var me=u('<span class="text-danger" aria-hidden="true"> *</span>'),fe=u('<span class="text-muted-foreground"> (optional)</span>'),ge=u("<option>Not set</option>"),_e=u("<option> </option>"),he=u("<option>Yes</option> <option>No</option>",1),be=u("<select><!><!></select>"),xe=u('<input type="text" autocomplete="off" spellcheck="false"/>'),ye=u('<span class="text-xs text-muted-foreground"> </span>'),ke=u('<label class="grid gap-1"><span class="text-xs"> <!></span> <!> <!></label>');function Ge(e,a){se(a,!0);let i=G(a,"answers",15),p=G(a,"disabled",3,!1);const d="h-9 rounded-md border border-input bg-background px-2.5 text-sm outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-60";var w=L(),I=W(w);H(I,17,()=>a.settings,S=>S.key,(S,r)=>{var _=ke(),R=h(_),C=h(R,!0),E=f(C);{var N=n=>{var t=me();l(n,t)},O=n=>{var t=fe();l(n,t)};g(E,n=>{o(r).required?n(N):n(O,-1)})}b(R);var q=f(R,2);{var s=n=>{var t=be();A(t,1,J(d));var x=h(t);{var Q=c=>{var m=ge();m.value=m.__value="",l(c,m)};g(x,c=>{o(r).required||c(Q)})}var V=f(x);{var X=c=>{var m=L(),j=W(m);H(j,17,()=>o(r).options,y=>y.value,(y,F)=>{var U=_e(),$=D(U,!0),T={};k(()=>{z($,o(F).label),T!==(T=o(F).value)&&(U.value=(U.__value=T)??"")}),l(y,U)}),l(c,m)},Z=c=>{var m=he(),j=W(m);j.value=j.__value="yes";var y=f(j,2);y.value=y.__value="no",l(c,m)};g(V,c=>{o(r).options?c(X):c(Z,-1)})}b(t),oe(t),k(()=>{t.required=o(r).required,t.disabled=p()}),ie(t,()=>i()[o(r).key],c=>i(i()[o(r).key]=c,!0)),l(n,t)},P=n=>{var t=xe();ne(t),A(t,1,J(d)),k(()=>{le(t,"inputmode",o(r).type==="number"?"decimal":void 0),t.required=o(r).required,t.disabled=p()}),pe(t,()=>i()[o(r).key],x=>i(i()[o(r).key]=x,!0)),l(n,t)};g(q,n=>{o(r).type==="boolean"||o(r).options?n(s):n(P,-1)})}var K=f(q,2);{var M=n=>{var t=ye(),x=D(t);k(()=>z(x,`${o(r).description??""??""}${o(r).type==="list"?`${o(r).description?" ":""}Separate them with commas.`:""}`)),l(n,t)};g(K,n=>{(o(r).description||o(r).type==="list")&&n(M)})}b(_),k(()=>z(C,o(r).title)),l(S,_)}),l(e,w),re()}export{Ye as C,Ge as S,Be as a,De as b,He as c,Ae as d,Ne as e,Te as f,ve as g,Fe as i,Je as l,Oe as m,Ee as p,We as r,Le as u};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{s as yt}from"./D8OKqJm7.js";import{H as B,N as Y,r as me,n as N,i as je,b as T,s as $,a as Se,f as tt,g as Ie,c as oe,d as be,S as Oe,P as rt,p as I,o as Ne,e as wt,h as vt,u as
|
|
2
|
-
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:fr}=yt,ur=Rt??(e=>e()),dr=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const x=ot(at)??{},Z=ot(nt)??{},D={url:Xe({}),page:Xe({}),navigating:Et(null),updated:bt()};function Be(e){x[e]=$()}function hr(e,t){let r=e+1;for(;x[r];)delete x[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(N)}async function it(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,O,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,V={element:void 0,href:void 0}}const ae=new Map,$e=new Set,ct=new Set,q=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Je=!0,ee=!1,W=!1,lt=!1,re=!1,ge,k,R,U;const J=new Set;let Ae;const de=new Map,he=new Map;async function Ur(e,t,r){if(globalThis.__sveltekit_14orln7.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_14orln7.data;for(const f in a)a[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in o)o[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Nt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[B],R=history.state?.[Y],k||(k=R=Date.now(),history.replaceState({...history.state,[B]:k,[Y]:R},""));const n=x[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await H({type:"enter",url:me(E.hash?Rr(new URL(location.href)):location.href),replace_state:!0}),i()),Ar()}async function pr(e=!0,t=!0){if(await(Ae||=Promise.resolve()),!Ae)return;Ae=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const o of de.values())for(const{resource:s}of o.values())s.refresh();for(const[o,s]of he)for(const[c,{resource:f}]of s){const l=F(o,c),d=f.reconnect();d.catch(N),i.set(l,d)}}if(e){const o=I.state,s=n&&await Ye(n);if(!s||r!==U)return;if(s.type==="redirect")return Ve(new URL(s.location,g.url).href,{replaceState:!0},1,r);t||(s.props.page.state=o),De(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of he)for(const c of s.keys()){const f=F(o,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(N)}function Te(){le.length=0,re=!1}function ft(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function ut(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Ze(){Be(k),ze(at,x),ft(R),ze(nt,Z)}async function Ve(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[o,s]of de)for(const[c,f]of s)f.resource?.reset(),i.add(F(o,c));a=new Set;for(const[o,s]of he)for(const c of s.keys())a.add(F(o,c))}t.invalidate&&t.invalidate.forEach(Er)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[o,s]of de)for(const[c,{resource:f}]of s)i?.has(F(o,c))&&f.start();for(const[o,s]of he)for(const[c,{resource:f}]of s)a?.has(F(o,c))&&f.reconnect()})}async function _r(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 ke(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function dt(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},De(e.props.page),ge=new E.root({target:t,props:{...e.props,stores:D,components:fe},hydrate:r,sync:!1,transformError:void 0}),await Promise.resolve(),r){const i={from:null,to:{...n,scroll:x[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};q.forEach(a=>a(i))}ut(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:o,form:s}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const h of r)h?.slash!==void 0&&(c=h.slash);e.pathname=vt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:tr(r).map(h=>h.node.component),page:we(I)}};s!==void 0&&(f.props.form=s);let l={},d=!I,p=0;for(let h=0;h<Math.max(r.length,g.branch.length);h+=1){const w=r[h],_=g.branch[h];w?.data!==_?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${p}`]=l),p+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||s!==void 0&&s!==I.form||d)&&(f.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:d?l:I.data}),f}async function qe({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:a,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??a?.data??null,slash:c.universal?.trailingSlash??a?.slash}}function mr(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?kt(n,i.href,t):St(n,t);return{resolved:i,promise:a}}function Qe(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 o of i.search_params)if(n.has(o))return!0;for(const o of i.params)if(a[o]!==g.params[o])return!0;for(const o of i.dependencies)if(le.some(s=>s(new URL(o))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function gr(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(o=>a.includes(o))&&a.every(o=>i.includes(o))&&r.delete(n)}return r}function et({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:o,layouts:s,leaf:c}=i,f=[...s,c];o.forEach(y=>y?.().catch(N)),f.forEach(y=>y?.[1]().catch(N));let l=null;const d=g.url?e!==_e(g.url):!1,p=g.route?i.id!==g.route.id:!1,u=gr(g.url,r);let h=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Qe(h,p,d,u,S.server?.uses,n));return b&&(h=!0),b});if(y.some(Boolean)){try{l=await _t(r,y)}catch(v){const A=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?et({error:A,url:r,params:n,route:i}):ye({status:ie(v),error:A,url:r,route:i})}if(l.type==="redirect")return l}}const w=l?.nodes;let _=!1;const m=f.map(async(y,v)=>{if(!y)return;const A=g.branch[v],S=w?.[v];if((!S||S.type==="skip")&&y[1]===A?.loader&&!Qe(_,p,d,u,A.universal?.uses,n))return A;if(_=!0,S?.type==="error")throw S;return qe({loader:y[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&&y[0]?{type:"skip"}:S??null,y[0]?A?.server:void 0)})});for(const y of m)y.catch(N);const P=[];for(let y=0;y<f.length;y+=1)if(f[y])try{P.push(await m[y])}catch(v){if(v instanceof xe)return{type:"redirect",location:v.location};if(a&&J.has(a))return et({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let A=ie(v),S;if(w?.includes(v))A=v.status??A,S=v.error;else if(v instanceof te)S=v.body;else{if(await D.updated.check())return await it(),await K(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await yr(y,P,o);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:o,status:A,error:S,route:i}):await pt(r,{id:i.id},S,A)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function yr(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 s=await _t(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;a=s.nodes[0]??null}catch(s){if(!(s instanceof te&&s.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await K(r)}try{const o=await qe({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[o,s],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof xe){await Ve(new URL(o.location,location.href),{},0);return}const s=await E.get_error_template(),c=await M(o,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),o}}async function wr(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,o)=>mr(a,o,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&&!je(e,T,E.hash)){const r=await wr(e);if(!r)return;const n=vr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:wt(a),url:e}}}}function vr(e){return At(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 ht({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ge(g,r,e,t,a??null);n!==void 0&&(s.navigation.delta=n),i!==void 0&&(s.navigation.event=i);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),o?null:s}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o={},redirect_count:s=0,nav_token:c={},accept:f=N,block:l=N,event:d}){const p=U;U=c;const u=await ne(t,!1),h=e==="enter"?Ge(g,u,t,e):ht({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!h){l(),U===c&&(U=p);return}const w=k,_=R;f(),ee=!0,ue&&h.navigation.type!=="enter"&&D.navigating.set(Se.current=h.navigation);let m=u&&await Ye(u);if(!m){if(je(t,T,E.hash))return await K(t,a);m=await pt(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){h.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o,redirect_count:s+1,nav_token:c}),h.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 D.updated.check())return await it(),await K(t,a);if(Te(),Be(w),ft(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),o=r?r.state:o,!r){const b=a?0:1,j={[B]:k+=b,[Y]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||hr(k,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,V={element:void 0,href:void 0}),m.props.page.state=o;let y;if(ue){const b=(await Promise.all(Array.from(ct,G=>G(h.navigation)))).filter(G=>typeof G=="function");if(b.length>0){let G=function(){b.forEach(ve=>{q.delete(ve)})};b.push(G),b.forEach(ve=>{q.add(ve)})}const j=h.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?y=C.commit():(z=null,ge.$set(m.props),z&&Object.assign(m.props.page,z),De(m.props.page),y=It?.()),lt=!0}else await dt(m,Le,!1);const{activeElement:v}=document;if(await y,await se(),await se(),U!==c){h.reject(new Error("navigation aborted"));return}m.props.page&&z&&Object.assign(m.props.page,z);let A=null;if(Je){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(gt(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),Je=!0,ee=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=$()),q.forEach(b=>b(h.navigation)),e==="popstate"&&ut(R),D.navigating.set(Se.current=null)}async function pt(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 V={element:void 0,href:void 0};function br(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,X.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],X.tap)}O.addEventListener("mousedown",r),O.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ke(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function i(o,s){const c=tt(o,O),f=c===V.element&&c?.href===V.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:p}=Ie(c,T,E.hash);if(d||p)return;const u=oe(c),h=l&&_e(g.url)===_e(l);if(!(u.reload||h))if(s<=u.preload_data){V={element:c,href:c.href},t=X.tap;const w=await ne(l,!1);if(!w)return;_r(w)}else s<=u.preload_code&&(V={element:c,href:c.href},t=s,ke(l))}function a(){n.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:c,download:f}=Ie(o,T,E.hash);if(c||f)continue;const l=oe(o);l.reload||(l.preload_code===X.viewport&&n.observe(o),l.preload_code===X.eager&&ke(s))}}q.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ar(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ke(e,t){fr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){Ke(q,e)}function Or(e){Ke($e,e)}function Nr(e){Ke(ct,e)}function Dr(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):Ve(e,t,0)}function Er(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function xr(){return re=!0,pr()}function Cr(e,t){const r={[B]:k,[Y]:R,[rt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:ur(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ze(),!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"&&Ze()}),navigator.connection?.saveData||br(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=tt(t.composedPath()[0],O);if(!r)return;const{url:n,external:i,target:a,download:o}=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 s=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||o)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===be(location);if(i||s.reload&&(!d||!l)){ht({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&d){const[,p]=g.url.href.split("#");if(p===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(k),e(n),!s.replace_state)return;W=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await H({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),O.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 o=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(o,T,!1))return;const s=t.target,c=oe(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);o.search=new URLSearchParams(f).toString(),H({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===k)return;const n=x[r],i=t.state[Oe]??{},a=new URL(t.state[rt]??location.href),o=t.state[Y],s=g.url?be(location)===be(g.url):!1;if(o===R&&(lt||s)){i!==I.state&&(I.state=i),e(a),x[k]=$(),n&&scrollTo(n.x,n.y),k=r;return}const f=r-k;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{k=r,R=o},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]:++k,[Y]:R},"",location.href))});for(const t of document.querySelectorAll("link"))dr.has(t.rel)&&(t.href=t.href);addEventListener("pageshow",t=>{t.persisted&&D.navigating.set(Se.current=null)});function e(t){g.url=I.url=t,D.page.set(we(I)),D.page.notify()}}async function kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,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 d,p=!0;try{const u=n.map(async(w,_)=>{const m=s[_];return m?.uses&&(m.uses=mt(m.uses)),qe({loader:E.nodes[w],url:f,params:i,route:a,parent:async()=>{const P={};for(let y=0;y<_;y+=1)Object.assign(P,(await u[y]).data);return P},server_data_node:He(m)})}),h=await Promise.all(u);if(l){const w=l.layouts;for(let _=0;_<w.length;_++)w[_]||h.splice(_,0,void 0)}d=await pe({url:f,params:i,branch:h,status:t,error:r,errors:l?.errors,form:c,route:l??null})}catch(u){if(u instanceof xe)return await K(new URL(u.location,location.href));d=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await dt(d,e,p))}async function _t(e,t){const r=new URL(e);r.pathname=ir(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(nr,"1"),r.searchParams.append(rr,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,o)=>{Sr(a,i).catch(o)})}async function Sr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return er(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of lr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=mt(o.uses),o.data=i(o.data))}),e(a);else if(a.type==="chunk"){const{id:o,data:s,error:c}=a,f=n.get(o);n.delete(o),c?f.reject(i(c)):f.fulfil(i(s))}}}function mt(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 Ir(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=gt(e);if(n&&document.getElementById(n)){const{x:a,y:o}=$();setTimeout(()=>{const s=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(a,o),Ue=!1})}else{const a=document.body,o=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),o!==null?a.setAttribute("tabindex",o):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let o=0;o<i.rangeCount;o+=1)a.push(i.getRangeAt(o));setTimeout(()=>{if(i.rangeCount===a.length){for(let o=0;o<i.rangeCount;o+=1){const s=a[o],c=i.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ge(e,t,r,n,i=null){let a,o;const s=new Promise((f,l)=>{a=f,o=l});return s.catch(N),{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:s},fulfil:a,reject:o}}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 Rr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{jr as a,Or as b,Dr as g,xr as i,Nr as o,Cr as r,Ur as s};
|
|
1
|
+
import{s as yt}from"./D8OKqJm7.js";import{H as B,N as Y,r as me,n as N,i as je,b as T,s as $,a as Se,f as tt,g as Ie,c as oe,d as be,S as Oe,P as rt,p as I,o as Ne,e as wt,h as vt,u as xe,j as bt,w as Et,k as Xe,l as X,m as At,q as nt,t as kt,v as St,x as at}from"./CmyzWTbT.js";import{G as se,a8 as It,A as Rt}from"./D46tdsTs.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 Pt=/^(\[)?(\.\.\.)?(\w+)(?:=(\w+))?(\])?$/,Lt=/^\/\((?:[^)]+)\)$/;function Tt(e){const t=[];return{pattern:e==="/"||Lt.test(e)?/^\/$/:new RegExp(`^${jt(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 o=n.split(/\[(.+?)\](?!\])/);return"/"+o.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(w=>parseInt(w,16))));const l=Pt.exec(c),[,d,p,u,h]=l;return t.push({name:u,matcher:h,optional:!!d,rest:!!p,chained:p?f===1&&o[0]==="":!1}),p?"([^]*?)":d?"([^/]*)?":"([^/]+?)"}return Ee(c)}).join("")}).join("")}/?$`),params:t}}function Ut(e){return e!==""&&!/^\([^)]+\)$/.test(e)}function jt(e){return e.slice(1).split("/").filter(Ut)}function Ot(e,t,r){const n={},i=e.slice(1),a=i.filter(s=>s!==void 0);let o=0;for(let s=0;s<t.length;s+=1){const c=t[s];let f=i[s-o];if(c.chained&&c.rest&&o&&(f=i.slice(s-o,s+1).filter(l=>l).join("/"),o=0),f===void 0)if(c.rest)f="";else continue;if(!c.matcher||r[c.matcher](f)){n[c.name]=f;const l=t[s+1],d=i[s+1];l&&!l.rest&&l.optional&&d&&c.chained&&(o=0),!l&&!d&&Object.keys(n).length===a.length&&(o=0);continue}if(c.optional&&c.chained){o++;continue}return}if(!o)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 Nt({nodes:e,server_loads:t,dictionary:r,matchers:n}){const i=new Set(t);return Object.entries(r).map(([s,[c,f,l]])=>{const{pattern:d,params:p}=Tt(s),u={id:s,exec:h=>{const w=d.exec(h);if(w)return Ot(w,p,n)},errors:[1,...l||[]].map(h=>e[h]),layouts:[0,...f||[]].map(o),leaf:a(c)};return u.errors.length=u.layouts.length=Math.max(u.errors.length,u.layouts.length),u});function a(s){const c=s<0;return c&&(s=~s),[c,e[s]]}function o(s){return s===void 0?s:[i.has(s),e[s]]}}function ot(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 xt=-1,Dt=-2,Ct=-3,Bt=-4,Mt=-5,$t=-6,Ft=-7,st=2**32-1,Re=st-1;function Vt(e){return!(!Number.isInteger(e)||e<0||e>Re)}function qt(e){return!(!Number.isInteger(e)||e<0||e>st)}function Ht(e){return Uint8Array.fromBase64(e).buffer}function Yt(e){return Uint8Array.from(Buffer.from(e,"base64")).buffer}function Kt(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 Gt=typeof Uint8Array.fromBase64=="function",Xt=typeof process=="object"&&process.versions?.node!==void 0,zt=Gt?Ht:Xt?Yt:Kt;function Wt(e,t){return e}const Jt=Object.getOwnPropertyDescriptor(ArrayBuffer.prototype,"byteLength").get,We=typeof SharedArrayBuffer>"u"?void 0:Object.getOwnPropertyDescriptor(SharedArrayBuffer.prototype,"byteLength").get,Zt={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{Jt.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)}},Qt=Object.freeze(Zt);function er(e,t,r){const n=Wt(Qt);if(typeof e=="number")return s(e,!0);if(!Array.isArray(e)||e.length===0)throw new Error("Invalid input");const i=e,a=Array(i.length);let o=null;function s(c,f=!1){if(c===xt)return n.fromPrimitive(void 0);if(c===Ct)return n.fromPrimitive(NaN);if(c===Bt)return n.fromPrimitive(1/0);if(c===Mt)return n.fromPrimitive(-1/0);if(c===$t)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 d=l[0],p=t&&Object.hasOwn(t,d)?t[d]:void 0;if(p){let u=l[1];if(typeof u!="number"&&(u=i.push(l[1])-1),Object.hasOwn(a,u))return a[c]=p(a[u]);if(o??=new Set,o.has(u))throw new Error("Invalid circular reference");return o.add(u),a[c]=p(s(u)),o.delete(u),a[c]}switch(d){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,s(l[_]));break;case"Map":const h=n.createMap();a[c]=h;for(let _=1;_<l.length;_+=2)n.addEntry(h,s(l[_]),s(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(s(_));break}case"BigInt":a[c]=n.fromPrimitive(BigInt(l[1]));break;case"null":const w=n.createNullPrototypeObject();a[c]=w;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(w,m,s(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 _=s(l[1]);a[c]=n.fromViewInfo(d,_,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(d,l[1]);break}default:throw new Error(`Unknown type ${d}`)}}else if(l[0]===Ft){const d=l[1];if(!qt(d))throw new Error("Invalid input");const p=n.createSparseArray(d);a[c]=p;for(let u=2;u<l.length;u+=2){const h=l[u];if(!Vt(h)||h>=d)throw new Error("Invalid input");n.set(p,h,s(l[u+1]))}}else{const d=n.createArray(l.length);a[c]=d;for(let p=0;p<l.length;p+=1){const u=l[p];u!==Dt&&n.set(d,p,s(u))}}else{const d=n.createObject();a[c]=d;for(const p of Object.keys(l)){if(p==="__proto__")throw new Error("Cannot parse an object with a `__proto__` property");n.set(d,p,s(l[p]))}}return a[c]}return s(0)}function tr(e){return e.filter(t=>t!=null)}const rr="x-sveltekit-invalidated",nr="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 ar(e){return e instanceof Ce?e.text:"Internal Error"}const or="/__data.json",sr=".html__data.json";function ir(e){return e.endsWith(".html")?e.replace(/\.html$/,sr):e.replace(/\/$/,"")+or}async function*cr(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 o=await e.read();r=o.done,o.value&&(n+=i.decode(o.value,{stream:!0})),r&&(n+=i.decode())}}async function*lr(e){for await(const t of cr(e,`
|
|
2
|
+
`)){const r=t.trim();r&&(yield JSON.parse(r))}}const{onMount:fr}=yt,ur=Rt??(e=>e()),dr=new Set(["icon","shortcut icon","apple-touch-icon"]);let z=null;const D=ot(at)??{},Z=ot(nt)??{},x={url:Xe({}),page:Xe({}),navigating:Et(null),updated:bt()};function Be(e){D[e]=$()}function hr(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(N)}async function it(){if("serviceWorker"in navigator){const e=await navigator.serviceWorker.getRegistration(T||"/");e&&await e.update()}}let Me,Pe,ce,O,Le,E;const le=[],fe=[];let L=null;function Q(){L?.fork?.then(e=>e?.discard()),L=null,V={element:void 0,href:void 0}}const ae=new Map,$e=new Set,ct=new Set,q=new Set;let g={branch:[],error:null,url:null,nav:null},Fe=!1,ue=!1,Je=!0,ee=!1,W=!1,lt=!1,re=!1,ge,k,R,U;const J=new Set;let Ae;const de=new Map,he=new Map;async function Ur(e,t,r){if(globalThis.__sveltekit_1on5x91.data){const{q:a={},p:o={},l:s={},f:c={}}=globalThis.__sveltekit_1on5x91.data;for(const f in a)a[f];for(const f in s)s[f];for(const f in c)c[f];for(const f in o)o[f]}document.URL!==location.href&&(location.href=location.href),E=e,await e.hooks.init?.(),Me=Nt(e),O=document.documentElement,Le=t,Pe=e.nodes[0],ce=e.nodes[1],Pe(),ce(),k=history.state?.[B],R=history.state?.[Y],k||(k=R=Date.now(),history.replaceState({...history.state,[B]:k,[Y]:R},""));const n=D[k];function i(){n&&(history.scrollRestoration="manual",scrollTo(n.x,n.y))}r?(i(),await kr(Le,r)):(await H({type:"enter",url:me(E.hash?Rr(new URL(location.href)):location.href),replace_state:!0}),i()),Ar()}async function pr(e=!0,t=!0){if(await(Ae||=Promise.resolve()),!Ae)return;Ae=null;const r=U={},n=await ne(g.url,!0);Q();const i=new Map;if(re){for(const o of de.values())for(const{resource:s}of o.values())s.refresh();for(const[o,s]of he)for(const[c,{resource:f}]of s){const l=F(o,c),d=f.reconnect();d.catch(N),i.set(l,d)}}if(e){const o=I.state,s=n&&await Ye(n);if(!s||r!==U)return;if(s.type==="redirect")return Ve(new URL(s.location,g.url).href,{replaceState:!0},1,r);t||(s.props.page.state=o),xe(s.props.page),g={...s.state,nav:g.nav},Te(),ge.$set(s.props)}else Te();const a=[];for(const o of de.values())for(const{resource:s}of o.values())a.push(s);for(const[o,s]of he)for(const c of s.keys()){const f=F(o,c),l=i.get(f);l&&a.push(l)}await Promise.all(a).catch(N)}function Te(){le.length=0,re=!1}function ft(e){fe.some(t=>t?.snapshot)&&(Z[e]=fe.map(t=>t?.snapshot?.capture()))}function ut(e){Z[e]?.forEach((t,r)=>{fe[r]?.snapshot?.restore(t)})}function Ze(){Be(k),ze(at,D),ft(R),ze(nt,Z)}async function Ve(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[o,s]of de)for(const[c,f]of s)f.resource?.reset(),i.add(F(o,c));a=new Set;for(const[o,s]of he)for(const c of s.keys())a.add(F(o,c))}t.invalidate&&t.invalidate.forEach(Er)}}),t.invalidateAll&&se().then(se).then(()=>{for(const[o,s]of de)for(const[c,{resource:f}]of s)i?.has(F(o,c))&&f.start();for(const[o,s]of he)for(const[c,{resource:f}]of s)a?.has(F(o,c))&&f.reconnect()})}async function _r(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 ke(e){const t=(await ne(e,!1))?.route;t&&await Promise.all([...t.layouts,t.leaf].filter(Boolean).map(r=>r[1]()))}async function dt(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[k]??$()},willUnload:!1,type:"enter",complete:Promise.resolve()};q.forEach(a=>a(i))}ut(R),ue=!0}async function pe({url:e,params:t,branch:r,errors:n,status:i,error:a,route:o,form:s}){let c="never";if(T&&(e.pathname===T||e.pathname===T+"/"))c="always";else for(const h of r)h?.slash!==void 0&&(c=h.slash);e.pathname=vt(e.pathname,c),e.search=e.search;const f={type:"loaded",state:{url:e,params:t,branch:r,error:a,route:o},props:{constructors:tr(r).map(h=>h.node.component),page:we(I)}};s!==void 0&&(f.props.form=s);let l={},d=!I,p=0;for(let h=0;h<Math.max(r.length,g.branch.length);h+=1){const w=r[h],_=g.branch[h];w?.data!==_?.data&&(d=!0),w&&(l={...l,...w.data},d&&(f.props[`data_${p}`]=l),p+=1)}return(!g.url||e.href!==g.url.href||g.error!==a||s!==void 0&&s!==I.form||d)&&(f.props.page={error:a,params:t,route:{id:o?.id??null},state:{},status:i,url:new URL(e),form:s??null,data:d?l:I.data}),f}async function qe({loader:e,parent:t,url:r,params:n,route:i,server_data_node:a}){let o=null;const s={dependencies:new Set,params:new Set,parent:!1,route:!1,url:!1,search_params:new Set},c=await e();return{node:c,loader:e,server:a,universal:c.universal?.load?{type:"data",data:o,uses:s}:null,data:o??a?.data??null,slash:c.universal?.trailingSlash??a?.slash}}function mr(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?kt(n,i.href,t):St(n,t);return{resolved:i,promise:a}}function Qe(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 o of i.search_params)if(n.has(o))return!0;for(const o of i.params)if(a[o]!==g.params[o])return!0;for(const o of i.dependencies)if(le.some(s=>s(new URL(o))))return!0;return!1}function He(e,t){return e?.type==="data"?e:e?.type==="skip"?t??null:null}function gr(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(o=>a.includes(o))&&a.every(o=>i.includes(o))&&r.delete(n)}return r}function et({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:o,layouts:s,leaf:c}=i,f=[...s,c];o.forEach(y=>y?.().catch(N)),f.forEach(y=>y?.[1]().catch(N));let l=null;const d=g.url?e!==_e(g.url):!1,p=g.route?i.id!==g.route.id:!1,u=gr(g.url,r);let h=!1;{const y=f.map((v,A)=>{const S=g.branch[A],b=!!v?.[0]&&(S?.loader!==v[1]||Qe(h,p,d,u,S.server?.uses,n));return b&&(h=!0),b});if(y.some(Boolean)){try{l=await _t(r,y)}catch(v){const A=await M(v,{url:r,params:n,route:{id:e}});return a&&J.has(a)?et({error:A,url:r,params:n,route:i}):ye({status:ie(v),error:A,url:r,route:i})}if(l.type==="redirect")return l}}const w=l?.nodes;let _=!1;const m=f.map(async(y,v)=>{if(!y)return;const A=g.branch[v],S=w?.[v];if((!S||S.type==="skip")&&y[1]===A?.loader&&!Qe(_,p,d,u,A.universal?.uses,n))return A;if(_=!0,S?.type==="error")throw S;return qe({loader:y[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&&y[0]?{type:"skip"}:S??null,y[0]?A?.server:void 0)})});for(const y of m)y.catch(N);const P=[];for(let y=0;y<f.length;y+=1)if(f[y])try{P.push(await m[y])}catch(v){if(v instanceof De)return{type:"redirect",location:v.location};if(a&&J.has(a))return et({error:await M(v,{params:n,url:r,route:{id:i.id}}),url:r,params:n,route:i});let A=ie(v),S;if(w?.includes(v))A=v.status??A,S=v.error;else if(v instanceof te)S=v.body;else{if(await x.updated.check())return await it(),await K(r);S=await M(v,{params:n,url:r,route:{id:i.id}})}const b=await yr(y,P,o);return b?pe({url:r,params:n,branch:P.slice(0,b.idx).concat(b.node),errors:o,status:A,error:S,route:i}):await pt(r,{id:i.id},S,A)}else P.push(void 0);return pe({url:r,params:n,branch:P,errors:o,status:200,error:null,route:i,form:t?void 0:null})}async function yr(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 s=await _t(r,[!0]);if(s.type!=="data"||s.nodes[0]&&s.nodes[0].type!=="data")throw 0;a=s.nodes[0]??null}catch(s){if(!(s instanceof te&&s.status===404)&&(r.origin!==Ne||r.pathname!==location.pathname||Fe))return await K(r)}try{const o=await qe({loader:Pe,url:r,params:i,route:n,parent:()=>Promise.resolve({}),server_data_node:He(a)}),s={node:await ce(),loader:ce,universal:null,server:null,data:null};return pe({url:r,params:i,branch:[o,s],status:e,error:t,errors:[],route:null})}catch(o){if(o instanceof De){await Ve(new URL(o.location,location.href),{},0);return}const s=await E.get_error_template(),c=await M(o,{url:r,params:i,route:n}),f=String(c?.message??"").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">"),l=s({status:e,message:f}),d=new DOMParser().parseFromString(l,"text/html");throw document.documentElement.replaceChild(document.adoptNode(d.head),document.head),document.documentElement.replaceChild(document.adoptNode(d.body),document.body),o}}async function wr(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,o)=>mr(a,o,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&&!je(e,T,E.hash)){const r=await wr(e);if(!r)return;const n=vr(r);for(const i of Me){const a=i.exec(n);if(a)return{id:_e(e),invalidating:t,route:i,params:wt(a),url:e}}}}function vr(e){return At(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 ht({url:e,type:t,intent:r,delta:n,event:i,scroll:a}){let o=!1;const s=Ge(g,r,e,t,a??null);n!==void 0&&(s.navigation.delta=n),i!==void 0&&(s.navigation.event=i);const c={...s.navigation,cancel:()=>{o=!0,s.reject(new Error("navigation cancelled"))}};return ee||$e.forEach(f=>f(c)),o?null:s}async function H({type:e,url:t,popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o={},redirect_count:s=0,nav_token:c={},accept:f=N,block:l=N,event:d}){const p=U;U=c;const u=await ne(t,!1),h=e==="enter"?Ge(g,u,t,e):ht({url:t,type:e,delta:r?.delta,intent:u,scroll:r?.scroll,event:d});if(!h){l(),U===c&&(U=p);return}const w=k,_=R;f(),ee=!0,ue&&h.navigation.type!=="enter"&&x.navigating.set(Se.current=h.navigation);let m=u&&await Ye(u);if(!m){if(je(t,T,E.hash))return await K(t,a);m=await pt(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){h.reject(new Error("navigation aborted"));return}if(!m)return;if(m.type==="redirect"){if(s<20){await H({type:e,url:new URL(m.location,t),popped:r,keepfocus:n,noscroll:i,replace_state:a,state:o,redirect_count:s+1,nav_token:c}),h.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 it(),await K(t,a);if(Te(),Be(w),ft(_),m.props.page.url.pathname!==t.pathname&&(t.pathname=m.props.page.url.pathname),o=r?r.state:o,!r){const b=a?0:1,j={[B]:k+=b,[Y]:R+=b,[Oe]:o};(a?history.replaceState:history.pushState).call(history,j,"",t),a||hr(k,R)}const P=u&&L?.id===u.id?L.fork:null;L?.fork&&!P?Q():(L=null,V={element:void 0,href:void 0}),m.props.page.state=o;let y;if(ue){const b=(await Promise.all(Array.from(ct,G=>G(h.navigation)))).filter(G=>typeof G=="function");if(b.length>0){let G=function(){b.forEach(ve=>{q.delete(ve)})};b.push(G),b.forEach(ve=>{q.add(ve)})}const j=h.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?y=C.commit():(z=null,ge.$set(m.props),z&&Object.assign(m.props.page,z),xe(m.props.page),y=It?.()),lt=!0}else await dt(m,Le,!1);const{activeElement:v}=document;if(await y,await se(),await se(),U!==c){h.reject(new Error("navigation aborted"));return}m.props.page&&z&&Object.assign(m.props.page,z);let A=null;if(Je){const b=r?r.scroll:i?$():null;b?scrollTo(b.x,b.y):(A=t.hash&&document.getElementById(gt(t)))?A.scrollIntoView():scrollTo(0,0)}const S=document.activeElement!==v&&document.activeElement!==document.body;!n&&!S&&Ir(t,!A),Je=!0,ee=!1,h.fulfil(void 0),h.navigation.to&&(h.navigation.to.scroll=$()),q.forEach(b=>b(h.navigation)),e==="popstate"&&ut(R),x.navigating.set(Se.current=null)}async function pt(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 V={element:void 0,href:void 0};function br(){let e,t;O.addEventListener("mousemove",o=>{const s=o.target;clearTimeout(e),e=setTimeout(()=>{i(s,X.hover)},20)});function r(o){o.defaultPrevented||i(o.composedPath()[0],X.tap)}O.addEventListener("mousedown",r),O.addEventListener("touchstart",r,{passive:!0});const n=new IntersectionObserver(o=>{for(const s of o)s.isIntersecting&&(ke(new URL(s.target.href)),n.unobserve(s.target))},{threshold:0});async function i(o,s){const c=tt(o,O),f=c===V.element&&c?.href===V.href&&s>=t;if(!c||f)return;const{url:l,external:d,download:p}=Ie(c,T,E.hash);if(d||p)return;const u=oe(c),h=l&&_e(g.url)===_e(l);if(!(u.reload||h))if(s<=u.preload_data){V={element:c,href:c.href},t=X.tap;const w=await ne(l,!1);if(!w)return;_r(w)}else s<=u.preload_code&&(V={element:c,href:c.href},t=s,ke(l))}function a(){n.disconnect();for(const o of O.querySelectorAll("a")){const{url:s,external:c,download:f}=Ie(o,T,E.hash);if(c||f)continue;const l=oe(o);l.reload||(l.preload_code===X.viewport&&n.observe(o),l.preload_code===X.eager&&ke(s))}}q.add(a),a()}function M(e,t){if(e instanceof te)return e.body;const r=ie(e),n=ar(e);return E.hooks.handleError({error:e,event:t,status:r,message:n})??{message:n}}function Ke(e,t){fr(()=>(e.add(t),()=>{e.delete(t)}))}function jr(e){Ke(q,e)}function Or(e){Ke($e,e)}function Nr(e){Ke(ct,e)}function xr(e,t={}){return e=new URL(me(e)),e.origin!==Ne?Promise.reject(new Error("goto: invalid URL")):Ve(e,t,0)}function Er(e){if(typeof e=="function")le.push(e);else{const{href:t}=new URL(e,location.href);le.push(r=>r.href===t)}}function Dr(){return re=!0,pr()}function Cr(e,t){const r={[B]:k,[Y]:R,[rt]:I.url.href,[Oe]:t};history.replaceState(r,"",me(e)),I.state=t,ge.$set({page:ur(()=>we(I))})}function Ar(){history.scrollRestoration="manual",addEventListener("beforeunload",t=>{let r=!1;if(Ze(),!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"&&Ze()}),navigator.connection?.saveData||br(),O.addEventListener("click",async t=>{if(t.button||t.which!==1||t.metaKey||t.ctrlKey||t.shiftKey||t.altKey||t.defaultPrevented)return;const r=tt(t.composedPath()[0],O);if(!r)return;const{url:n,external:i,target:a,download:o}=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 s=oe(r);if(!(r instanceof SVGAElement)&&n.protocol!==location.protocol&&!(n.protocol==="https:"||n.protocol==="http:")||o)return;const[f,l]=(E.hash?n.hash.replace(/^#/,""):n.href).split("#"),d=f===be(location);if(i||s.reload&&(!d||!l)){ht({url:n,type:"link",event:t})?ee=!0:t.preventDefault();return}if(l!==void 0&&d){const[,p]=g.url.href.split("#");if(p===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(k),e(n),!s.replace_state)return;W=!1}t.preventDefault(),await new Promise(p=>{requestAnimationFrame(()=>{setTimeout(p,0)}),setTimeout(p,100)}),await H({type:"link",url:n,keepfocus:s.keepfocus,noscroll:s.noscroll,replace_state:s.replace_state??n.href===location.href,event:t})}),O.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 o=new URL(n?.hasAttribute("formaction")&&n?.formAction||r.action);if(je(o,T,!1))return;const s=t.target,c=oe(s);if(c.reload)return;t.preventDefault(),t.stopPropagation();const f=new FormData(s,n);o.search=new URLSearchParams(f).toString(),H({type:"form",url:o,keepfocus:c.keepfocus,noscroll:c.noscroll,replace_state:c.replace_state??o.href===location.href,event:t})}),addEventListener("popstate",async t=>{if(!Ue){if(t.state?.[B]){const r=t.state[B];if(U={},r===k)return;const n=D[r],i=t.state[Oe]??{},a=new URL(t.state[rt]??location.href),o=t.state[Y],s=g.url?be(location)===be(g.url):!1;if(o===R&&(lt||s)){i!==I.state&&(I.state=i),e(a),D[k]=$(),n&&scrollTo(n.x,n.y),k=r;return}const f=r-k;await H({type:"popstate",url:a,popped:{state:i,scroll:n,delta:f},accept:()=>{k=r,R=o},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]:++k,[Y]:R},"",location.href))});for(const t of document.querySelectorAll("link"))dr.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 kr(e,{status:t=200,error:r,node_ids:n,params:i,route:a,server_route:o,data:s,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 d,p=!0;try{const u=n.map(async(w,_)=>{const m=s[_];return m?.uses&&(m.uses=mt(m.uses)),qe({loader:E.nodes[w],url:f,params:i,route:a,parent:async()=>{const P={};for(let y=0;y<_;y+=1)Object.assign(P,(await u[y]).data);return P},server_data_node:He(m)})}),h=await Promise.all(u);if(l){const w=l.layouts;for(let _=0;_<w.length;_++)w[_]||h.splice(_,0,void 0)}d=await pe({url:f,params:i,branch:h,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));d=await ye({status:ie(u),error:await M(u,{url:f,params:i,route:a}),url:f,route:a}),e.textContent="",p=!1}d&&(d.props.page&&(d.props.page.state={}),await dt(d,e,p))}async function _t(e,t){const r=new URL(e);r.pathname=ir(e.pathname),e.pathname.endsWith("/")&&r.searchParams.append(nr,"1"),r.searchParams.append(rr,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,o)=>{Sr(a,i).catch(o)})}async function Sr(e,t){const r=t.body.getReader(),n=new Map;function i(a){return er(a,{...E.decoders,Promise:o=>new Promise((s,c)=>{n.set(o,{fulfil:s,reject:c})})})}for await(const a of lr(r)){if(a.type==="redirect")return e(a);if(a.type==="data")a.nodes?.forEach(o=>{o?.type==="data"&&(o.uses=mt(o.uses),o.data=i(o.data))}),e(a);else if(a.type==="chunk"){const{id:o,data:s,error:c}=a,f=n.get(o);n.delete(o),c?f.reject(i(c)):f.fulfil(i(s))}}}function mt(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 Ir(e,t=!0){const r=document.querySelector("[autofocus]");if(r)r.focus();else{const n=gt(e);if(n&&document.getElementById(n)){const{x:a,y:o}=$();setTimeout(()=>{const s=history.state;Ue=!0,location.replace(new URL(`#${n}`,location.href)),history.replaceState(s,"",e),t&&scrollTo(a,o),Ue=!1})}else{const a=document.body,o=a.getAttribute("tabindex");a.tabIndex=-1,a.focus({preventScroll:!0,focusVisible:!1}),o!==null?a.setAttribute("tabindex",o):a.removeAttribute("tabindex")}const i=getSelection();if(i&&i.type!=="None"){const a=[];for(let o=0;o<i.rangeCount;o+=1)a.push(i.getRangeAt(o));setTimeout(()=>{if(i.rangeCount===a.length){for(let o=0;o<i.rangeCount;o+=1){const s=a[o],c=i.getRangeAt(o);if(s.commonAncestorContainer!==c.commonAncestorContainer||s.startContainer!==c.startContainer||s.endContainer!==c.endContainer||s.startOffset!==c.startOffset||s.endOffset!==c.endOffset)return}i.removeAllRanges()}})}}}function Ge(e,t,r,n,i=null){let a,o;const s=new Promise((f,l)=>{a=f,o=l});return s.catch(N),{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:s},fulfil:a,reject:o}}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 Rr(e){const t=new URL(e);return t.hash=decodeURIComponent(e.hash),t}function gt(e){let t;if(E.hash){const[,,r]=e.hash.split("#",3);t=r??""}else t=e.hash.slice(1);return decodeURIComponent(t)}export{jr as a,Or as b,xr as g,Dr as i,Nr as o,Cr as r,Ur as s};
|
|
Binary file
|
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
import{_ as e}from"../chunks/BapAUJpM.js";import{v as h,as as Y,g as u,a5 as q,a6 as B,a1 as F,aG as J,a9 as K,aH as N,p as Q,z as U,u as W,G as X,f as g,s as Z,a as E,b as $,m as P,j as O,h as tt,r as et,c as y,i as R,w as rt,t as ot,d as at}from"../chunks/D46tdsTs.js";import"../chunks/DsnmJJEf.js";import{o as st}from"../chunks/D8OKqJm7.js";import{i as A}from"../chunks/DWAM9c1z.js";import{c as L}from"../chunks/DT69KRC9.js";import{b as D}from"../chunks/RbWQh321.js";import{p as I}from"../chunks/z5Xef_-v.js";const Ot={};function it(a){return class extends _t{constructor(t){super({component:a,...t})}}}class _t{#e;#t;constructor(t){var s=new Map,_=(r,o)=>{var n=N(o,!1,!1);return s.set(r,n),n};const m=new Proxy({...t.props||{},$$events:{}},{get(r,o){return u(s.get(o)??_(o,Reflect.get(r,o)))},has(r,o){return o===Y?!0:(u(s.get(o)??_(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,n){return h(s.get(o)??_(o,n),n),Reflect.set(r,o,n)}});this.#t=(t.hydrate?q:B)(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)&&F(),this.#e=m.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||J(this,r,{get(){return this.#t[r]},set(o){this.#t[r]=o},enumerable:!0});this.#t.$set=r=>{Object.assign(m,r)},this.#t.$destroy=()=>{K(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const _=(...m)=>s.call(this,...m);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(m=>m!==_)}}$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>'),nt=y("<!> <!>",1);function ut(a,t){Q(t,!0);let s=I(t,"components",23,()=>[]),_=I(t,"data_0",3,null),m=I(t,"data_1",3,null);U(()=>t.stores.page.set(t.page)),W(()=>{t.stores,t.page,t.constructors,s(),t.form,_(),m(),t.stores.page.notify()});let r=P(!1),o=P(!1),n=P(null);st(()=>{const i=t.stores.page.subscribe(()=>{u(r)&&(h(o,!0),X().then(()=>{h(n,document.title||"untitled page",!0)}))});return h(r,!0),i});const x=R(()=>t.constructors[1]);var T=nt(),V=g(T);{var k=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);L(f,()=>u(d),(l,p)=>{D(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(v,ct)=>{var b=O(),S=g(b);L(S,()=>u(x),(M,z)=>{D(z(M,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),E(v,b)},$$slots:{default:!0}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)},w=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);L(f,()=>u(d),(l,p)=>{D(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)};A(V,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=Z(V,2);{var G=i=>{var d=mt(),c=tt(d);{var f=l=>{var p=rt();ot(()=>at(p,u(n))),E(l,p)};A(c,l=>{u(o)&&l(f)})}et(d),E(i,d)};A(C,i=>{u(r)&&i(G)})}E(a,T),$()}const Rt=it(ut),At=[()=>e(()=>import("../nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.CQhqk--p.js","../chunks/DsnmJJEf.js","../chunks/D8OKqJm7.js","../chunks/D46tdsTs.js","../chunks/DWAM9c1z.js","../chunks/DTJjRJA0.js","../chunks/DT69KRC9.js","../chunks/BLivoCTk.js","../chunks/bhn5c0Lw.js","../chunks/CmyzWTbT.js","../chunks/C5Y6KQiE.js","../chunks/CQBPQL2l.js","../chunks/Bo073DIH.js","../chunks/C_4BzEag.js","../chunks/BXN538J3.js","../chunks/9Fl9GwsF.js","../chunks/RbWQh321.js","../chunks/z5Xef_-v.js","../chunks/xjN9NojQ.js","../chunks/DfZeJIs0.js","../chunks/cwI46DFb.js","../chunks/DJNADPa5.js","../chunks/DaTsZoiz.js","../chunks/Cqz3pSYE.js","../chunks/oiLSZkWa.js","../chunks/BC4SXzSU.js","../chunks/BE305dTg.js","../chunks/B4gzexCn.js","../chunks/CrXwYZhk.js","../chunks/Cfp1M-Wz.js","../chunks/1X9ywHoQ.js","../chunks/BjWKWeiq.js","../chunks/Bl4EER3V.js","../chunks/BnAtF53u.js","../chunks/CSU-6kdN.js","../chunks/DGbhmTqV.js","../chunks/DSINNCaW.js","../chunks/DVy4dK4b.js","../chunks/BCUUi0V0.js","../chunks/DRincNoR.js","../chunks/Bfjk3-L1.js","../chunks/ClsjySa8.js","../chunks/BY5XjwMm.js","../chunks/Cj98EUBO.js","../chunks/BXPZKlNj.js","../chunks/DDbzEejx.js","../chunks/CLqzYFT0.js","../chunks/DDUqjgjq.js","../chunks/DE_ENZzQ.js","../chunks/DvIo_832.js","../chunks/CwCeO535.js","../chunks/Bce3Ttpa.js","../chunks/Duaft4UI.js","../chunks/DlfaZ-Lx.js","../chunks/CGAFpmCg.js","../chunks/B-JNrTge.js","../chunks/hxhxtxcx.js","../assets/0.CS9-5c8D.css","../nodes/1.CUJg93Ir.js","../nodes/2.DERMJ47N.js","../chunks/yFOoFovD.js","../chunks/BVXUMEgB.js","../chunks/CrG6CGuK.js","../chunks/h9aBLxYZ.js","../chunks/8cWWMYnO.js","../chunks/CFUdUuM2.js","../chunks/DtHooIpl.js","../chunks/DK0g50g1.js","../chunks/DGyqUFtt.js","../chunks/CmMBsPrQ.js","../assets/PreviewStudio.Dga9zAug.css","../chunks/mFoHRvWK.js","../chunks/925dP-Ir.js","../chunks/4dIDSPSf.js","../chunks/BcI7hzdQ.js","../chunks/DZQxk93J.js","../chunks/CtOLIv5E.js","../chunks/CGO1SBi6.js","../chunks/vJAknemx.js","../chunks/WCYTcvij.js","../chunks/CjOqOuw0.js","../chunks/gIXd-FsD.js","../chunks/CR7y1ULG.js","../chunks/D8TgbIKz.js","../chunks/Dw-vpq1B.js","../chunks/BP6xWigj.js","../chunks/DGI4tJ_5.js","../chunks/2LjtVB6a.js","../chunks/Cl2sXmhp.js","../chunks/C7SE-_ce.js","../chunks/BAEwYkac.js","../chunks/BezBg3rs.js","../chunks/BapAUJpM.js","../chunks/D-MhaQ4t.js","../chunks/BqcwxIuj.js","../assets/Terminal.B4BtIq8f.css","../chunks/Ccb8xxqC.js","../chunks/BpFp6MMu.js","../chunks/oy2xxZEw.js","../chunks/13cncWIw.js","../chunks/CO2HyoEG.js","../chunks/DKlgDTCT.js","../assets/2.9iA_78o1.css","../nodes/3.DaGmG2jc.js","../chunks/BEnE2NPH.js","../nodes/4.BhnPlm5U.js","../nodes/5.Bj2gKOZ-.js","../chunks/Ds1SfZJz.js","../assets/DocSheet.36VhUGpN.css","../nodes/6.DOwpvopC.js","../chunks/D6kQXwLu.js","../chunks/ll0BMwr1.js","../assets/6.5dJKCkOT.css","../nodes/7.BetTIyrG.js","../nodes/8.vcWpgN8y.js","../nodes/9.5oYtBwQ5.js","../nodes/10.CbDn9qpY.js","../chunks/BXGIjAQ6.js","../chunks/Xx006ABt.js","../chunks/BTE1xF5n.js","../nodes/11.Ck3Wllk3.js","../chunks/CKRbh3YV.js","../chunks/BPyng_vQ.js","../nodes/12.d5x3Ln3N.js","../chunks/CbTQtfeu.js","../chunks/DFQFc2ub.js","../chunks/BaPx3dni.js","../nodes/13.D1_nV5Fq.js","../nodes/14.PfHt1dNO.js","../chunks/D7IP_ZEm.js","../chunks/CPSrksvP.js","../nodes/15.dfetBovK.js","../nodes/16.F3vc0aJr.js","../chunks/CCmCOYW4.js","../nodes/17.BZSGzAO0.js","../nodes/19.DPq8YWLe.js","../chunks/DTWQqKVn.js","../nodes/20.toVTJlKX.js","../nodes/21.FTdV81LL.js","../chunks/BoSp6lQy.js","../chunks/DWUd2p4e.js","../chunks/DIrIXMZU.js","../nodes/22.BmS94lpb.js","../nodes/23.D0VnGxO3.js","../nodes/24.BNheAfwA.js","../nodes/25.Bqh28uvF.js","../nodes/26.DTXtIhyv.js","../chunks/B4NFYUu0.js","../nodes/27.Dn-mDbvz.js","../nodes/28.ffmhLQdl.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{_ as e}from"../chunks/BapAUJpM.js";import{v as h,as as Y,g as u,a5 as q,a6 as B,a1 as F,aG as J,a9 as K,aH as N,p as Q,z as U,u as W,G as X,f as g,s as Z,a as E,b as $,m as P,j as O,h as tt,r as et,c as y,i as R,w as rt,t as ot,d as at}from"../chunks/D46tdsTs.js";import"../chunks/DsnmJJEf.js";import{o as st}from"../chunks/D8OKqJm7.js";import{i as A}from"../chunks/DWAM9c1z.js";import{c as L}from"../chunks/DT69KRC9.js";import{b as D}from"../chunks/RbWQh321.js";import{p as I}from"../chunks/z5Xef_-v.js";const Ot={};function it(a){return class extends _t{constructor(t){super({component:a,...t})}}}class _t{#e;#t;constructor(t){var s=new Map,_=(r,o)=>{var n=N(o,!1,!1);return s.set(r,n),n};const m=new Proxy({...t.props||{},$$events:{}},{get(r,o){return u(s.get(o)??_(o,Reflect.get(r,o)))},has(r,o){return o===Y?!0:(u(s.get(o)??_(o,Reflect.get(r,o))),Reflect.has(r,o))},set(r,o,n){return h(s.get(o)??_(o,n),n),Reflect.set(r,o,n)}});this.#t=(t.hydrate?q:B)(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)&&F(),this.#e=m.$$events;for(const r of Object.keys(this.#t))r==="$set"||r==="$destroy"||r==="$on"||J(this,r,{get(){return this.#t[r]},set(o){this.#t[r]=o},enumerable:!0});this.#t.$set=r=>{Object.assign(m,r)},this.#t.$destroy=()=>{K(this.#t)}}$set(t){this.#t.$set(t)}$on(t,s){this.#e[t]=this.#e[t]||[];const _=(...m)=>s.call(this,...m);return this.#e[t].push(_),()=>{this.#e[t]=this.#e[t].filter(m=>m!==_)}}$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>'),nt=y("<!> <!>",1);function ut(a,t){Q(t,!0);let s=I(t,"components",23,()=>[]),_=I(t,"data_0",3,null),m=I(t,"data_1",3,null);U(()=>t.stores.page.set(t.page)),W(()=>{t.stores,t.page,t.constructors,s(),t.form,_(),m(),t.stores.page.notify()});let r=P(!1),o=P(!1),n=P(null);st(()=>{const i=t.stores.page.subscribe(()=>{u(r)&&(h(o,!0),X().then(()=>{h(n,document.title||"untitled page",!0)}))});return h(r,!0),i});const x=R(()=>t.constructors[1]);var T=nt(),V=g(T);{var k=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);L(f,()=>u(d),(l,p)=>{D(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params},children:(v,ct)=>{var b=O(),S=g(b);L(S,()=>u(x),(M,z)=>{D(z(M,{get data(){return m()},get form(){return t.form},get params(){return t.page.params}}),H=>s()[1]=H,()=>s()?.[1])}),E(v,b)},$$slots:{default:!0}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)},w=i=>{const d=R(()=>t.constructors[0]);var c=O(),f=g(c);L(f,()=>u(d),(l,p)=>{D(p(l,{get data(){return _()},get form(){return t.form},get params(){return t.page.params}}),v=>s()[0]=v,()=>s()?.[0])}),E(i,c)};A(V,i=>{t.constructors[1]?i(k):i(w,-1)})}var C=Z(V,2);{var G=i=>{var d=mt(),c=tt(d);{var f=l=>{var p=rt();ot(()=>at(p,u(n))),E(l,p)};A(c,l=>{u(o)&&l(f)})}et(d),E(i,d)};A(C,i=>{u(r)&&i(G)})}E(a,T),$()}const Rt=it(ut),At=[()=>e(()=>import("../nodes/0.CQhqk--p.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]),import.meta.url),()=>e(()=>import("../nodes/1.CUJg93Ir.js"),__vite__mapDeps([58,1,3,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/2.DERMJ47N.js"),__vite__mapDeps([59,1,2,3,4,7,10,9,11,15,16,17,14,18,19,30,27,5,60,61,6,32,33,34,22,23,24,25,26,28,29,62,63,13,64,12,38,65,21,37,66,48,67,68,50,36,69,70,71,72,73,74,75,76,44,77,78,79,80,81,82,83,53,42,84,85,86,87,88,89,39,90,91,92,93,94,95,96,97,98,35,99,100,52,46,54,101,45,8,102]),import.meta.url),()=>e(()=>import("../nodes/3.DaGmG2jc.js"),__vite__mapDeps([103,1,3,4,7,6,10,9,2,38,82,104,101,20,71,61,50,17,27,5,67,74,75]),import.meta.url),()=>e(()=>import("../nodes/4.BhnPlm5U.js"),__vite__mapDeps([105,1,2,3,7,10,9,8,11,19,80,4,27,5,17,81,38,30,82,83,53,21,42,13,12,14,84,76,34,6,22,23,24,25,16,26,28,29,15,18,44,77,78,36,79,48,85,64,65,37,66,60,61,67,68,50,69,70,71,72,73,74,75,86,87,88,89,39,90]),import.meta.url),()=>e(()=>import("../nodes/5.Bj2gKOZ-.js"),__vite__mapDeps([106,1,3,4,7,60,17,27,5,61,107,16,28,108,93]),import.meta.url),()=>e(()=>import("../nodes/6.DOwpvopC.js"),__vite__mapDeps([109,1,3,4,7,6,27,5,17,10,9,2,30,11,110,38,31,111,98,45,73,56,21,53,85,42,36,90,16,55,28,112]),import.meta.url),()=>e(()=>import("../nodes/7.BetTIyrG.js"),__vite__mapDeps([113,1,3,4,7,38,82,17,104,101,10,9,2,20,96,27,5,45,67]),import.meta.url),()=>e(()=>import("../nodes/8.vcWpgN8y.js"),__vite__mapDeps([114,1,2,3,4,7,27,5,17,8,9,10,11,12,13,14,64,6,38,65,16,21,15,18,37,34,66,48,60,61,23,25,67,68,50,36,69,19,70,71,72,73,74,75]),import.meta.url),()=>e(()=>import("../nodes/9.5oYtBwQ5.js"),__vite__mapDeps([115,1,3,4,7,10,9,2,20,11,19,51,17,27,5,89,28,49,54]),import.meta.url),()=>e(()=>import("../nodes/10.CbDn9qpY.js"),__vite__mapDeps([116,1,2,3,4,7,23,16,10,9,24,25,5,17,6,117,33,34,27,118,11,14,44,36,45,38,69,119,35,46,50,54]),import.meta.url),()=>e(()=>import("../nodes/11.Ck3Wllk3.js"),__vite__mapDeps([120,1,3,4,7,10,9,2,11,19,121,36,17,27,5,122,76,34,6,38,22,23,14,24,25,16,26,28,29,15,18,44,77,78,79,48]),import.meta.url),()=>e(()=>import("../nodes/12.d5x3Ln3N.js"),__vite__mapDeps([123,1,3,4,7,10,9,2,11,19,30,17,27,5,124,110,6,38,31,111,98,45,73,63,48,83,53,21,42,24,25,16,125,76,34,22,23,14,26,28,29,15,18,44,77,78,36,79,65,37,66,60,61,67,68,50,69,70,99,126,86,82,75,62,72,52,94,56]),import.meta.url),()=>e(()=>import("../nodes/13.D1_nV5Fq.js"),__vite__mapDeps([127,1,3,4,7,10,9,2,11,19,124,17,30,27,5,110,6,38,31,111,98,45,73,63,48,76,34,22,23,14,24,25,16,26,28,29,15,18,44,77,78,36,79]),import.meta.url),()=>e(()=>import("../nodes/14.PfHt1dNO.js"),__vite__mapDeps([128,1,3,4,7,10,9,2,8,11,19,124,17,30,27,5,110,6,38,31,111,98,45,73,63,48,14,24,25,16,129,79,130,99]),import.meta.url),()=>e(()=>import("../nodes/15.dfetBovK.js"),__vite__mapDeps([131,1,3,4,34,17,27,5,7,8,2,9,10,11,23,81,24,25,16,14,129,93,99,69,68,94,77,79,36,111,40,78,100]),import.meta.url),()=>e(()=>import("../nodes/16.F3vc0aJr.js"),__vite__mapDeps([132,1,3,7,133,4,10,9,2,14,18,38,24,25,5,16,17]),import.meta.url),()=>e(()=>import("../nodes/17.BZSGzAO0.js"),__vite__mapDeps([134,1,3,4,7,11,10,9,2,38,85,73,17,27,5,88,72,46,29]),import.meta.url),()=>e(()=>import("../chunks/BapAUJpM.js").then(a=>a.a),[],import.meta.url),()=>e(()=>import("../nodes/19.DPq8YWLe.js"),__vite__mapDeps([135,1,3,7,133,4,10,9,2,14,18,38,24,25,5,16,17,136,101]),import.meta.url),()=>e(()=>import("../nodes/20.toVTJlKX.js"),__vite__mapDeps([137,1,3,4,7,10,9,2,41,13,14,38,24,25,5,16,17,136,101]),import.meta.url),()=>e(()=>import("../nodes/21.FTdV81LL.js"),__vite__mapDeps([138,1,2,3,4,7,8,9,10,136,101,121,36,17,27,5,122,139,6,23,33,34,117,24,25,16,118,11,14,44,45,69,47,119,140,141,38,46,28]),import.meta.url),()=>e(()=>import("../nodes/22.BmS94lpb.js"),__vite__mapDeps([142,1,2,3,4,7,8,9,10,136,101,140,17,141,118,11,14,44,27,5,36,23,119,45,24,25,16,66]),import.meta.url),()=>e(()=>import("../nodes/23.D0VnGxO3.js"),__vite__mapDeps([143,1,3,4,7,24,25,5,16,17,136,101,10,9,2]),import.meta.url),()=>e(()=>import("../nodes/24.BNheAfwA.js"),__vite__mapDeps([144,1,3,4,7,23,10,9,2,14,136,101,43]),import.meta.url),()=>e(()=>import("../nodes/25.Bqh28uvF.js"),__vite__mapDeps([145,1,2,3,4,7,6,23,8,9,10,24,25,5,16,17,91,92,37,93,27,68,94,90,44,66,95,141,78,26,79,100,36,122,48,139,33,34,117,118,11,14,45,69,53]),import.meta.url),()=>e(()=>import("../nodes/26.DTXtIhyv.js"),__vite__mapDeps([146,1,2,3,4,7,5,16,10,9,38,97,17,27,8,11,19,76,34,6,22,23,14,24,25,26,28,29,15,18,44,77,78,36,79,48,83,53,21,42,125,65,37,66,60,61,67,68,50,69,70,99,62,63,71,20,130,40,126,100,98,72,87,12,13,64,73,74,75,51,84,82,147,93,94]),import.meta.url),()=>e(()=>import("../nodes/27.Dn-mDbvz.js"),__vite__mapDeps([148,1,3,4,7,60,17,27,5,61,126,38,107,16,28,108,93,48,74]),import.meta.url),()=>e(()=>import("../nodes/28.ffmhLQdl.js"),__vite__mapDeps([149,1,3,4,7,82,104,101,10,9,2,20,84,17,147]),import.meta.url)],Lt=[0],Dt={"/":[-3],"/decisions":[-4],"/deck":[-5],"/files":[-6],"/harbour":[-7],"/headroom":[-8],"/inbox":[-9],"/more":[9],"/plugins":[10],"/plugins/[plugin]/[page]":[-12],"/projects/[id]":[-13],"/projects/[id]/passage":[-15],"/projects/[id]/passage/edit":[-16],"/projects/[id]/[plugin]/[tab]":[-14],"/remotes":[-17],"/second-mates":[17],"/settings":[-19],"/settings/cloud":[-20],"/settings/gateway":[-21],"/settings/plugins":[-22],"/settings/plugins/[plugin]":[-23],"/settings/setup":[-24],"/settings/update":[-25],"/setup":[-26],"/tasks/[id]":[-27],"/tasks/[id]/doc":[-28],"/time":[-29]},j={handleError:(({error:a})=>{console.error(a)}),reroute:(()=>{}),transport:{}},dt=Object.fromEntries(Object.entries(j.transport).map(([a,t])=>[a,t.decode])),It=Object.fromEntries(Object.entries(j.transport).map(([a,t])=>[a,t.encode])),Tt=!1,Vt=(a,t)=>dt[a](t),bt=()=>e(()=>import("../chunks/wbPk3Yxo.js"),[],import.meta.url).then(a=>a.default);export{Vt as decode,dt as decoders,Dt as dictionary,It as encoders,bt as get_error_template,Tt as hash,j as hooks,Ot as matchers,At as nodes,Rt as root,Lt as server_loads};
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{s as r}from"../chunks/bhn5c0Lw.js";import{y as t}from"../chunks/CmyzWTbT.js";export{t as load_css,r as start};
|
|
Binary file
|
|
Binary file
|