@chrisjowen/wheelhouse 0.22.0 → 0.22.2
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/README.md +4 -3
- package/build/client/_app/immutable/assets/0.RZxx_8d2.css +1 -0
- package/build/client/_app/immutable/assets/0.RZxx_8d2.css.br +0 -0
- package/build/client/_app/immutable/assets/0.RZxx_8d2.css.gz +0 -0
- package/build/client/_app/immutable/assets/2.meoe_KFK.css +1 -0
- package/build/client/_app/immutable/assets/2.meoe_KFK.css.br +0 -0
- package/build/client/_app/immutable/assets/2.meoe_KFK.css.gz +0 -0
- package/build/client/_app/immutable/assets/insights.C9ONf8_A.css +1 -0
- package/build/client/_app/immutable/assets/insights.C9ONf8_A.css.br +0 -0
- package/build/client/_app/immutable/assets/insights.C9ONf8_A.css.gz +0 -0
- package/build/client/_app/immutable/chunks/0SguTO6W.js +1 -0
- package/build/client/_app/immutable/chunks/0SguTO6W.js.br +0 -0
- package/build/client/_app/immutable/chunks/0SguTO6W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/0_A9mIEQ.js +7 -0
- package/build/client/_app/immutable/chunks/0_A9mIEQ.js.br +0 -0
- package/build/client/_app/immutable/chunks/0_A9mIEQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/19gqyrSP.js +4 -0
- package/build/client/_app/immutable/chunks/19gqyrSP.js.br +0 -0
- package/build/client/_app/immutable/chunks/19gqyrSP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4DPf7zan.js +1 -0
- package/build/client/_app/immutable/chunks/4DPf7zan.js.br +0 -0
- package/build/client/_app/immutable/chunks/4DPf7zan.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4SvcXJKC.js +1 -0
- package/build/client/_app/immutable/chunks/4SvcXJKC.js.br +0 -0
- package/build/client/_app/immutable/chunks/4SvcXJKC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/5FfRRH0G.js +1 -0
- package/build/client/_app/immutable/chunks/5FfRRH0G.js.br +0 -0
- package/build/client/_app/immutable/chunks/5FfRRH0G.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6hNyR7Q0.js +1 -0
- package/build/client/_app/immutable/chunks/6hNyR7Q0.js.br +0 -0
- package/build/client/_app/immutable/chunks/6hNyR7Q0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8eCF3fZX.js +1 -0
- package/build/client/_app/immutable/chunks/8eCF3fZX.js.br +0 -0
- package/build/client/_app/immutable/chunks/8eCF3fZX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8qOSFsHG.js +1 -0
- package/build/client/_app/immutable/chunks/8qOSFsHG.js.br +2 -0
- package/build/client/_app/immutable/chunks/8qOSFsHG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-9P6scy.js +8 -0
- package/build/client/_app/immutable/chunks/B-9P6scy.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-9P6scy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-pQxKdL.js +1 -0
- package/build/client/_app/immutable/chunks/B-pQxKdL.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-pQxKdL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-rFpH-3.js +30 -0
- package/build/client/_app/immutable/chunks/B-rFpH-3.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-rFpH-3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B-s24dI4.js +139 -0
- package/build/client/_app/immutable/chunks/B-s24dI4.js.br +0 -0
- package/build/client/_app/immutable/chunks/B-s24dI4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1O1WlJO.js +1 -0
- package/build/client/_app/immutable/chunks/B1O1WlJO.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1O1WlJO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3W4lX5r.js +1 -0
- package/build/client/_app/immutable/chunks/B3W4lX5r.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3W4lX5r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B3zptZLm.js +1 -0
- package/build/client/_app/immutable/chunks/B3zptZLm.js.br +0 -0
- package/build/client/_app/immutable/chunks/B3zptZLm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B7V1NPA_.js +1 -0
- package/build/client/_app/immutable/chunks/B7V1NPA_.js.br +2 -0
- package/build/client/_app/immutable/chunks/B7V1NPA_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BBIEDy1y.js +1 -0
- package/build/client/_app/immutable/chunks/BBIEDy1y.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBIEDy1y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BBabv7X7.js +1 -0
- package/build/client/_app/immutable/chunks/BBabv7X7.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBabv7X7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BHa1VTXv.js +321 -0
- package/build/client/_app/immutable/chunks/BHa1VTXv.js.br +0 -0
- package/build/client/_app/immutable/chunks/BHa1VTXv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJQmsYU2.js +1 -0
- package/build/client/_app/immutable/chunks/BJQmsYU2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJQmsYU2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKELolHc.js +1 -0
- package/build/client/_app/immutable/chunks/BKELolHc.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKELolHc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BKrQX6hk.js +249 -0
- package/build/client/_app/immutable/chunks/BKrQX6hk.js.br +0 -0
- package/build/client/_app/immutable/chunks/BKrQX6hk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BLYoECod.js +1 -0
- package/build/client/_app/immutable/chunks/BLYoECod.js.br +0 -0
- package/build/client/_app/immutable/chunks/BLYoECod.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMJS84S5.js +168 -0
- package/build/client/_app/immutable/chunks/BMJS84S5.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMJS84S5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BMmRBVWa.js +24 -0
- package/build/client/_app/immutable/chunks/BMmRBVWa.js.br +0 -0
- package/build/client/_app/immutable/chunks/BMmRBVWa.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BNRjNfx2.js +162 -0
- package/build/client/_app/immutable/chunks/BNRjNfx2.js.br +0 -0
- package/build/client/_app/immutable/chunks/BNRjNfx2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BOLPG0li.js +36 -0
- package/build/client/_app/immutable/chunks/BOLPG0li.js.br +0 -0
- package/build/client/_app/immutable/chunks/BOLPG0li.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BSzCsYhf.js +1 -0
- package/build/client/_app/immutable/chunks/BSzCsYhf.js.br +0 -0
- package/build/client/_app/immutable/chunks/BSzCsYhf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVYMQFbA.js +7 -0
- package/build/client/_app/immutable/chunks/BVYMQFbA.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVYMQFbA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BWJxAWWI.js +88 -0
- package/build/client/_app/immutable/chunks/BWJxAWWI.js.br +0 -0
- package/build/client/_app/immutable/chunks/BWJxAWWI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BZKq_k08.js +1 -0
- package/build/client/_app/immutable/chunks/BZKq_k08.js.br +0 -0
- package/build/client/_app/immutable/chunks/BZKq_k08.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BcT5pN4D.js +1 -0
- package/build/client/_app/immutable/chunks/BcT5pN4D.js.br +0 -0
- package/build/client/_app/immutable/chunks/BcT5pN4D.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BlMmLqyS.js +41 -0
- package/build/client/_app/immutable/chunks/BlMmLqyS.js.br +0 -0
- package/build/client/_app/immutable/chunks/BlMmLqyS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BlrLtj4r.js +1 -0
- package/build/client/_app/immutable/chunks/BlrLtj4r.js.br +0 -0
- package/build/client/_app/immutable/chunks/BlrLtj4r.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BnFHl4J4.js +1 -0
- package/build/client/_app/immutable/chunks/BnFHl4J4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BnFHl4J4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BoP9fDS_.js +1 -0
- package/build/client/_app/immutable/chunks/BoP9fDS_.js.br +0 -0
- package/build/client/_app/immutable/chunks/BoP9fDS_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BpVzM2Dr.js +1 -0
- package/build/client/_app/immutable/chunks/BpVzM2Dr.js.br +0 -0
- package/build/client/_app/immutable/chunks/BpVzM2Dr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BqHnaLg4.js +2 -0
- package/build/client/_app/immutable/chunks/BqHnaLg4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BqHnaLg4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Br1OEha9.js +7 -0
- package/build/client/_app/immutable/chunks/Br1OEha9.js.br +0 -0
- package/build/client/_app/immutable/chunks/Br1OEha9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BsE60nqh.js +1 -0
- package/build/client/_app/immutable/chunks/BsE60nqh.js.br +2 -0
- package/build/client/_app/immutable/chunks/BsE60nqh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BsFQvv6L.js +1 -0
- package/build/client/_app/immutable/chunks/BsFQvv6L.js.br +0 -0
- package/build/client/_app/immutable/chunks/BsFQvv6L.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BsrlGV_k.js +1 -0
- package/build/client/_app/immutable/chunks/BsrlGV_k.js.br +0 -0
- package/build/client/_app/immutable/chunks/BsrlGV_k.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bsz8ifiE.js +1 -0
- package/build/client/_app/immutable/chunks/Bsz8ifiE.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bsz8ifiE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BtzGFeeI.js +1 -0
- package/build/client/_app/immutable/chunks/BtzGFeeI.js.br +0 -0
- package/build/client/_app/immutable/chunks/BtzGFeeI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BxNVeYHX.js +120 -0
- package/build/client/_app/immutable/chunks/BxNVeYHX.js.br +0 -0
- package/build/client/_app/immutable/chunks/BxNVeYHX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzgUpJDH.js +1 -0
- package/build/client/_app/immutable/chunks/BzgUpJDH.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzgUpJDH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BzqLJ3sz.js +1 -0
- package/build/client/_app/immutable/chunks/BzqLJ3sz.js.br +0 -0
- package/build/client/_app/immutable/chunks/BzqLJ3sz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-Jjmtog.js +166 -0
- package/build/client/_app/immutable/chunks/C-Jjmtog.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-Jjmtog.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-trKlBe.js +1 -0
- package/build/client/_app/immutable/chunks/C-trKlBe.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-trKlBe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C14pDzYB.js +1 -0
- package/build/client/_app/immutable/chunks/C14pDzYB.js.br +0 -0
- package/build/client/_app/immutable/chunks/C14pDzYB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C15V7v4C.js +1 -0
- package/build/client/_app/immutable/chunks/C15V7v4C.js.br +0 -0
- package/build/client/_app/immutable/chunks/C15V7v4C.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C1IjXvNR.js +2 -0
- package/build/client/_app/immutable/chunks/C1IjXvNR.js.br +0 -0
- package/build/client/_app/immutable/chunks/C1IjXvNR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C2rbcqGh.js +1 -0
- package/build/client/_app/immutable/chunks/C2rbcqGh.js.br +0 -0
- package/build/client/_app/immutable/chunks/C2rbcqGh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3fE1ufU.js +106 -0
- package/build/client/_app/immutable/chunks/C3fE1ufU.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3fE1ufU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C5qabUHz.js +1 -0
- package/build/client/_app/immutable/chunks/C5qabUHz.js.br +0 -0
- package/build/client/_app/immutable/chunks/C5qabUHz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6ubd9YL.js +2 -0
- package/build/client/_app/immutable/chunks/C6ubd9YL.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6ubd9YL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6vNPcUE.js +1 -0
- package/build/client/_app/immutable/chunks/C6vNPcUE.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6vNPcUE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8EruDR7.js +3 -0
- package/build/client/_app/immutable/chunks/C8EruDR7.js.br +0 -0
- package/build/client/_app/immutable/chunks/C8EruDR7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C9aIUjzf.js +1 -0
- package/build/client/_app/immutable/chunks/C9aIUjzf.js.br +0 -0
- package/build/client/_app/immutable/chunks/C9aIUjzf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CAq7Gvz9.js +2 -0
- package/build/client/_app/immutable/chunks/CAq7Gvz9.js.br +0 -0
- package/build/client/_app/immutable/chunks/CAq7Gvz9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CB6boHCt.js +1 -0
- package/build/client/_app/immutable/chunks/CB6boHCt.js.br +0 -0
- package/build/client/_app/immutable/chunks/CB6boHCt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CC8nH2rG.js +5 -0
- package/build/client/_app/immutable/chunks/CC8nH2rG.js.br +0 -0
- package/build/client/_app/immutable/chunks/CC8nH2rG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFAEX1DB.js +1 -0
- package/build/client/_app/immutable/chunks/CFAEX1DB.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFAEX1DB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CIPXk8tE.js +1 -0
- package/build/client/_app/immutable/chunks/CIPXk8tE.js.br +0 -0
- package/build/client/_app/immutable/chunks/CIPXk8tE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJnEuJyp.js +1 -0
- package/build/client/_app/immutable/chunks/CJnEuJyp.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJnEuJyp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLxK8USy.js +70 -0
- package/build/client/_app/immutable/chunks/CLxK8USy.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLxK8USy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMeJCtPb.js +99 -0
- package/build/client/_app/immutable/chunks/CMeJCtPb.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMeJCtPb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CO8CD1Rv.js +1 -0
- package/build/client/_app/immutable/chunks/CO8CD1Rv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CO8CD1Rv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CP0RDrUs.js +62 -0
- package/build/client/_app/immutable/chunks/CP0RDrUs.js.br +0 -0
- package/build/client/_app/immutable/chunks/CP0RDrUs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CPp3QTQo.js +2 -0
- package/build/client/_app/immutable/chunks/CPp3QTQo.js.br +0 -0
- package/build/client/_app/immutable/chunks/CPp3QTQo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQCl6xUi.js +1 -0
- package/build/client/_app/immutable/chunks/CQCl6xUi.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQCl6xUi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQRQDiBB.js +1 -0
- package/build/client/_app/immutable/chunks/CQRQDiBB.js.br +3 -0
- package/build/client/_app/immutable/chunks/CQRQDiBB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CSfra37A.js +1 -0
- package/build/client/_app/immutable/chunks/CSfra37A.js.br +0 -0
- package/build/client/_app/immutable/chunks/CSfra37A.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVlqAf2P.js +1 -0
- package/build/client/_app/immutable/chunks/CVlqAf2P.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVlqAf2P.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CVzOw3Ck.js +8 -0
- package/build/client/_app/immutable/chunks/CVzOw3Ck.js.br +0 -0
- package/build/client/_app/immutable/chunks/CVzOw3Ck.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXA2DUav.js +1 -0
- package/build/client/_app/immutable/chunks/CXA2DUav.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXA2DUav.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CXydUqhu.js +5 -0
- package/build/client/_app/immutable/chunks/CXydUqhu.js.br +0 -0
- package/build/client/_app/immutable/chunks/CXydUqhu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CYPUPetm.js +1 -0
- package/build/client/_app/immutable/chunks/CYPUPetm.js.br +0 -0
- package/build/client/_app/immutable/chunks/CYPUPetm.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CZJa5msR.js +1 -0
- package/build/client/_app/immutable/chunks/CZJa5msR.js.br +0 -0
- package/build/client/_app/immutable/chunks/CZJa5msR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CcJk0508.js +1 -0
- package/build/client/_app/immutable/chunks/CcJk0508.js.br +0 -0
- package/build/client/_app/immutable/chunks/CcJk0508.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CdlzE-bh.js +39 -0
- package/build/client/_app/immutable/chunks/CdlzE-bh.js.br +0 -0
- package/build/client/_app/immutable/chunks/CdlzE-bh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ce8MNAeZ.js +3 -0
- package/build/client/_app/immutable/chunks/Ce8MNAeZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ce8MNAeZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CipjBgLi.js +1 -0
- package/build/client/_app/immutable/chunks/CipjBgLi.js.br +0 -0
- package/build/client/_app/immutable/chunks/CipjBgLi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkDPK0_N.js +1 -0
- package/build/client/_app/immutable/chunks/CkDPK0_N.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkDPK0_N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClQNIUuo.js +1 -0
- package/build/client/_app/immutable/chunks/ClQNIUuo.js.br +2 -0
- package/build/client/_app/immutable/chunks/ClQNIUuo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ClTZp8TR.js +1 -0
- package/build/client/_app/immutable/chunks/ClTZp8TR.js.br +0 -0
- package/build/client/_app/immutable/chunks/ClTZp8TR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cr08JPev.js +34 -0
- package/build/client/_app/immutable/chunks/Cr08JPev.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cr08JPev.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CsgGb3f4.js +1 -0
- package/build/client/_app/immutable/chunks/CsgGb3f4.js.br +0 -0
- package/build/client/_app/immutable/chunks/CsgGb3f4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CviEua92.js +231 -0
- package/build/client/_app/immutable/chunks/CviEua92.js.br +0 -0
- package/build/client/_app/immutable/chunks/CviEua92.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyNVS6K5.js +1 -0
- package/build/client/_app/immutable/chunks/CyNVS6K5.js.br +0 -0
- package/build/client/_app/immutable/chunks/CyNVS6K5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D0LkzVs-.js +6 -0
- package/build/client/_app/immutable/chunks/D0LkzVs-.js.br +0 -0
- package/build/client/_app/immutable/chunks/D0LkzVs-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3i8gfqb.js +1 -0
- package/build/client/_app/immutable/chunks/D3i8gfqb.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3i8gfqb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7yGyV5W.js +1 -0
- package/build/client/_app/immutable/chunks/D7yGyV5W.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7yGyV5W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D98zH4g3.js +38 -0
- package/build/client/_app/immutable/chunks/D98zH4g3.js.br +0 -0
- package/build/client/_app/immutable/chunks/D98zH4g3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DAsl2QDo.js +84 -0
- package/build/client/_app/immutable/chunks/DAsl2QDo.js.br +0 -0
- package/build/client/_app/immutable/chunks/DAsl2QDo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DBinsAgb.js +1 -0
- package/build/client/_app/immutable/chunks/DBinsAgb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DBinsAgb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DI-P2tCn.js +1 -0
- package/build/client/_app/immutable/chunks/DI-P2tCn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DI-P2tCn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DIFtYXVK.js +1 -0
- package/build/client/_app/immutable/chunks/DIFtYXVK.js.br +0 -0
- package/build/client/_app/immutable/chunks/DIFtYXVK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DK86fyEy.js +1 -0
- package/build/client/_app/immutable/chunks/DK86fyEy.js.br +0 -0
- package/build/client/_app/immutable/chunks/DK86fyEy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DKRzJOP8.js +1 -0
- package/build/client/_app/immutable/chunks/DKRzJOP8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DKRzJOP8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNt7nMsx.js +1 -0
- package/build/client/_app/immutable/chunks/DNt7nMsx.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNt7nMsx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DO2q7T4Y.js +1 -0
- package/build/client/_app/immutable/chunks/DO2q7T4Y.js.br +0 -0
- package/build/client/_app/immutable/chunks/DO2q7T4Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOodHEcB.js +1 -0
- package/build/client/_app/immutable/chunks/DOodHEcB.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOodHEcB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DOz9RFC3.js +1 -0
- package/build/client/_app/immutable/chunks/DOz9RFC3.js.br +0 -0
- package/build/client/_app/immutable/chunks/DOz9RFC3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPIhWfhw.js +1 -0
- package/build/client/_app/immutable/chunks/DPIhWfhw.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPIhWfhw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPg3ML7W.js +89 -0
- package/build/client/_app/immutable/chunks/DPg3ML7W.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPg3ML7W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DPylYFDG.js +1 -0
- package/build/client/_app/immutable/chunks/DPylYFDG.js.br +0 -0
- package/build/client/_app/immutable/chunks/DPylYFDG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQ9HaGGD.js +1 -0
- package/build/client/_app/immutable/chunks/DQ9HaGGD.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQ9HaGGD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DSFqISKg.js +1 -0
- package/build/client/_app/immutable/chunks/DSFqISKg.js.br +0 -0
- package/build/client/_app/immutable/chunks/DSFqISKg.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DT48ZP4Q.js +1 -0
- package/build/client/_app/immutable/chunks/DT48ZP4Q.js.br +0 -0
- package/build/client/_app/immutable/chunks/DT48ZP4Q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DTcaYRhc.js +96 -0
- package/build/client/_app/immutable/chunks/DTcaYRhc.js.br +0 -0
- package/build/client/_app/immutable/chunks/DTcaYRhc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUSeMhS8.js +1 -0
- package/build/client/_app/immutable/chunks/DUSeMhS8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUSeMhS8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUeFBesZ.js +24 -0
- package/build/client/_app/immutable/chunks/DUeFBesZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUeFBesZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DW-OvNjp.js +1 -0
- package/build/client/_app/immutable/chunks/DW-OvNjp.js.br +0 -0
- package/build/client/_app/immutable/chunks/DW-OvNjp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DX7RyR55.js +1 -0
- package/build/client/_app/immutable/chunks/DX7RyR55.js.br +2 -0
- package/build/client/_app/immutable/chunks/DX7RyR55.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DYgexyq9.js +1 -0
- package/build/client/_app/immutable/chunks/DYgexyq9.js.br +0 -0
- package/build/client/_app/immutable/chunks/DYgexyq9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D_OvIJP9.js +1 -0
- package/build/client/_app/immutable/chunks/D_OvIJP9.js.br +0 -0
- package/build/client/_app/immutable/chunks/D_OvIJP9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Db-9msDl.js +1 -0
- package/build/client/_app/immutable/chunks/Db-9msDl.js.br +0 -0
- package/build/client/_app/immutable/chunks/Db-9msDl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DbK9nwP5.js +1 -0
- package/build/client/_app/immutable/chunks/DbK9nwP5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DbK9nwP5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Devbs1bu.js +129 -0
- package/build/client/_app/immutable/chunks/Devbs1bu.js.br +0 -0
- package/build/client/_app/immutable/chunks/Devbs1bu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Df-SHr8R.js +1 -0
- package/build/client/_app/immutable/chunks/Df-SHr8R.js.br +0 -0
- package/build/client/_app/immutable/chunks/Df-SHr8R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DfX79eEY.js +1 -0
- package/build/client/_app/immutable/chunks/DfX79eEY.js.br +0 -0
- package/build/client/_app/immutable/chunks/DfX79eEY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dfv25k6s.js +1 -0
- package/build/client/_app/immutable/chunks/Dfv25k6s.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dfv25k6s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DiexOhXf.js +1 -0
- package/build/client/_app/immutable/chunks/DiexOhXf.js.br +0 -0
- package/build/client/_app/immutable/chunks/DiexOhXf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DikqTC9O.js +1 -0
- package/build/client/_app/immutable/chunks/DikqTC9O.js.br +0 -0
- package/build/client/_app/immutable/chunks/DikqTC9O.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DjHdNknn.js +4 -0
- package/build/client/_app/immutable/chunks/DjHdNknn.js.br +0 -0
- package/build/client/_app/immutable/chunks/DjHdNknn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dl7hQNZe.js +1 -0
- package/build/client/_app/immutable/chunks/Dl7hQNZe.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dl7hQNZe.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlSVij59.js +1 -0
- package/build/client/_app/immutable/chunks/DlSVij59.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlSVij59.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DqaW_4O5.js +2 -0
- package/build/client/_app/immutable/chunks/DqaW_4O5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DqaW_4O5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Drd80Z6l.js +1 -0
- package/build/client/_app/immutable/chunks/Drd80Z6l.js.br +0 -0
- package/build/client/_app/immutable/chunks/Drd80Z6l.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DuC-zO-R.js +292 -0
- package/build/client/_app/immutable/chunks/DuC-zO-R.js.br +0 -0
- package/build/client/_app/immutable/chunks/DuC-zO-R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DuzaXXNA.js +1 -0
- package/build/client/_app/immutable/chunks/DuzaXXNA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DuzaXXNA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dw-h6cZv.js +1 -0
- package/build/client/_app/immutable/chunks/Dw-h6cZv.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dw-h6cZv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwHdLeJR.js +1 -0
- package/build/client/_app/immutable/chunks/DwHdLeJR.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwHdLeJR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DwlNXwnR.js +1 -0
- package/build/client/_app/immutable/chunks/DwlNXwnR.js.br +0 -0
- package/build/client/_app/immutable/chunks/DwlNXwnR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DxYsKxsJ.js +1 -0
- package/build/client/_app/immutable/chunks/DxYsKxsJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DxYsKxsJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dzga08_Y.js +1 -0
- package/build/client/_app/immutable/chunks/Dzga08_Y.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dzga08_Y.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HP8lGamR.js +257 -0
- package/build/client/_app/immutable/chunks/HP8lGamR.js.br +0 -0
- package/build/client/_app/immutable/chunks/HP8lGamR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HWcU6alH.js +1 -0
- package/build/client/_app/immutable/chunks/HWcU6alH.js.br +0 -0
- package/build/client/_app/immutable/chunks/HWcU6alH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/HoxOEUsO.js +1 -0
- package/build/client/_app/immutable/chunks/HoxOEUsO.js.br +0 -0
- package/build/client/_app/immutable/chunks/HoxOEUsO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/IGMvBVyL.js +1 -0
- package/build/client/_app/immutable/chunks/IGMvBVyL.js.br +0 -0
- package/build/client/_app/immutable/chunks/IGMvBVyL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ik_OpaGD.js +1 -0
- package/build/client/_app/immutable/chunks/Ik_OpaGD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ik_OpaGD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/J6PsNsZ8.js +1 -0
- package/build/client/_app/immutable/chunks/J6PsNsZ8.js.br +0 -0
- package/build/client/_app/immutable/chunks/J6PsNsZ8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/L-MwiMw1.js +2 -0
- package/build/client/_app/immutable/chunks/L-MwiMw1.js.br +0 -0
- package/build/client/_app/immutable/chunks/L-MwiMw1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MFQ1f_ti.js +1 -0
- package/build/client/_app/immutable/chunks/MFQ1f_ti.js.br +0 -0
- package/build/client/_app/immutable/chunks/MFQ1f_ti.js.gz +0 -0
- package/build/client/_app/immutable/chunks/QPBFfFOC.js +1 -0
- package/build/client/_app/immutable/chunks/QPBFfFOC.js.br +0 -0
- package/build/client/_app/immutable/chunks/QPBFfFOC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/T_ZTAn_X.js +1 -0
- package/build/client/_app/immutable/chunks/T_ZTAn_X.js.br +0 -0
- package/build/client/_app/immutable/chunks/T_ZTAn_X.js.gz +0 -0
- package/build/client/_app/immutable/chunks/UghLjamk.js +3 -0
- package/build/client/_app/immutable/chunks/UghLjamk.js.br +0 -0
- package/build/client/_app/immutable/chunks/UghLjamk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/WRwU91GU.js +1 -0
- package/build/client/_app/immutable/chunks/WRwU91GU.js.br +0 -0
- package/build/client/_app/immutable/chunks/WRwU91GU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/WagqLFDf.js +78 -0
- package/build/client/_app/immutable/chunks/WagqLFDf.js.br +0 -0
- package/build/client/_app/immutable/chunks/WagqLFDf.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XVt_ESvP.js +1 -0
- package/build/client/_app/immutable/chunks/XVt_ESvP.js.br +0 -0
- package/build/client/_app/immutable/chunks/XVt_ESvP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XeQqE5Le.js +3 -0
- package/build/client/_app/immutable/chunks/XeQqE5Le.js.br +0 -0
- package/build/client/_app/immutable/chunks/XeQqE5Le.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Y4Q5ijI8.js +1 -0
- package/build/client/_app/immutable/chunks/Y4Q5ijI8.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y4Q5ijI8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/YS0dU4fH.js +1 -0
- package/build/client/_app/immutable/chunks/YS0dU4fH.js.br +0 -0
- package/build/client/_app/immutable/chunks/YS0dU4fH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Z6pin4-m.js +1 -0
- package/build/client/_app/immutable/chunks/Z6pin4-m.js.br +0 -0
- package/build/client/_app/immutable/chunks/Z6pin4-m.js.gz +0 -0
- package/build/client/_app/immutable/chunks/_tq5RxHO.js +40 -0
- package/build/client/_app/immutable/chunks/_tq5RxHO.js.br +0 -0
- package/build/client/_app/immutable/chunks/_tq5RxHO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/aijqFhf9.js +15 -0
- package/build/client/_app/immutable/chunks/aijqFhf9.js.br +0 -0
- package/build/client/_app/immutable/chunks/aijqFhf9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/daOEyPzI.js +5 -0
- package/build/client/_app/immutable/chunks/daOEyPzI.js.br +0 -0
- package/build/client/_app/immutable/chunks/daOEyPzI.js.gz +0 -0
- package/build/client/_app/immutable/chunks/ddY07wg_.js +1 -0
- package/build/client/_app/immutable/chunks/ddY07wg_.js.br +0 -0
- package/build/client/_app/immutable/chunks/ddY07wg_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/eYRBUvtu.js +206 -0
- package/build/client/_app/immutable/chunks/eYRBUvtu.js.br +0 -0
- package/build/client/_app/immutable/chunks/eYRBUvtu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fJXNEq2v.js +1 -0
- package/build/client/_app/immutable/chunks/fJXNEq2v.js.br +1 -0
- package/build/client/_app/immutable/chunks/fJXNEq2v.js.gz +0 -0
- package/build/client/_app/immutable/chunks/fU5MZ8eS.js +1 -0
- package/build/client/_app/immutable/chunks/fU5MZ8eS.js.br +0 -0
- package/build/client/_app/immutable/chunks/fU5MZ8eS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/gPUQEs1o.js +1 -0
- package/build/client/_app/immutable/chunks/gPUQEs1o.js.br +1 -0
- package/build/client/_app/immutable/chunks/gPUQEs1o.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hQgGNGsq.js +1 -0
- package/build/client/_app/immutable/chunks/hQgGNGsq.js.br +0 -0
- package/build/client/_app/immutable/chunks/hQgGNGsq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/j42OhxOy.js +15 -0
- package/build/client/_app/immutable/chunks/j42OhxOy.js.br +0 -0
- package/build/client/_app/immutable/chunks/j42OhxOy.js.gz +0 -0
- package/build/client/_app/immutable/chunks/l1J7rJKz.js +1 -0
- package/build/client/_app/immutable/chunks/l1J7rJKz.js.br +0 -0
- package/build/client/_app/immutable/chunks/l1J7rJKz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/lFiHfTaz.js +3 -0
- package/build/client/_app/immutable/chunks/lFiHfTaz.js.br +0 -0
- package/build/client/_app/immutable/chunks/lFiHfTaz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/mVKbct2N.js +2 -0
- package/build/client/_app/immutable/chunks/mVKbct2N.js.br +0 -0
- package/build/client/_app/immutable/chunks/mVKbct2N.js.gz +0 -0
- package/build/client/_app/immutable/chunks/mm6Dcwz7.js +3 -0
- package/build/client/_app/immutable/chunks/mm6Dcwz7.js.br +0 -0
- package/build/client/_app/immutable/chunks/mm6Dcwz7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/qFZm4enU.js +1 -0
- package/build/client/_app/immutable/chunks/qFZm4enU.js.br +0 -0
- package/build/client/_app/immutable/chunks/qFZm4enU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vhWGCMeU.js +1 -0
- package/build/client/_app/immutable/chunks/vhWGCMeU.js.br +0 -0
- package/build/client/_app/immutable/chunks/vhWGCMeU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/z3JqzFuC.js +62 -0
- package/build/client/_app/immutable/chunks/z3JqzFuC.js.br +0 -0
- package/build/client/_app/immutable/chunks/z3JqzFuC.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.Biv0qeu2.js +2 -0
- package/build/client/_app/immutable/entry/app.Biv0qeu2.js.br +0 -0
- package/build/client/_app/immutable/entry/app.Biv0qeu2.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.-DpaffRl.js +1 -0
- package/build/client/_app/immutable/entry/start.-DpaffRl.js.br +0 -0
- package/build/client/_app/immutable/entry/start.-DpaffRl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.D3-Rdwqq.js +9 -0
- package/build/client/_app/immutable/nodes/0.D3-Rdwqq.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.D3-Rdwqq.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.Cmgi8xNI.js +1 -0
- package/build/client/_app/immutable/nodes/1.Cmgi8xNI.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.Cmgi8xNI.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.DIQ15lRF.js +6 -0
- package/build/client/_app/immutable/nodes/10.DIQ15lRF.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.DIQ15lRF.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.BSkq5JT9.js +1 -0
- package/build/client/_app/immutable/nodes/11.BSkq5JT9.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.BSkq5JT9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.BjaS7Hi7.js +10 -0
- package/build/client/_app/immutable/nodes/12.BjaS7Hi7.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.BjaS7Hi7.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.7rdWjl9z.js +1 -0
- package/build/client/_app/immutable/nodes/13.7rdWjl9z.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.7rdWjl9z.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.Cc13CVWv.js +3 -0
- package/build/client/_app/immutable/nodes/14.Cc13CVWv.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.Cc13CVWv.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.80KrY_c9.js +1 -0
- package/build/client/_app/immutable/nodes/15.80KrY_c9.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.80KrY_c9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.DFUK025c.js +14 -0
- package/build/client/_app/immutable/nodes/16.DFUK025c.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.DFUK025c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.DcYU4aGd.js +150 -0
- package/build/client/_app/immutable/nodes/17.DcYU4aGd.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.DcYU4aGd.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.BgU7DNXf.js +25 -0
- package/build/client/_app/immutable/nodes/18.BgU7DNXf.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.BgU7DNXf.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.CHC4TYL9.js +5 -0
- package/build/client/_app/immutable/nodes/19.CHC4TYL9.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.CHC4TYL9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.CeQVGqH9.js +40 -0
- package/build/client/_app/immutable/nodes/2.CeQVGqH9.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.CeQVGqH9.js.gz +0 -0
- package/build/client/_app/immutable/nodes/20.DcKN0yTr.js +18 -0
- package/build/client/_app/immutable/nodes/20.DcKN0yTr.js.br +0 -0
- package/build/client/_app/immutable/nodes/20.DcKN0yTr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.D2gMbsnU.js +4 -0
- package/build/client/_app/immutable/nodes/22.D2gMbsnU.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.D2gMbsnU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.0obr6Dt4.js +1 -0
- package/build/client/_app/immutable/nodes/23.0obr6Dt4.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.0obr6Dt4.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.oDi6fvrU.js +6 -0
- package/build/client/_app/immutable/nodes/24.oDi6fvrU.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.oDi6fvrU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.CcUDqENl.js +8 -0
- package/build/client/_app/immutable/nodes/25.CcUDqENl.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.CcUDqENl.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.TBP9_72y.js +2 -0
- package/build/client/_app/immutable/nodes/26.TBP9_72y.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.TBP9_72y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.pFVCuUxP.js +5 -0
- package/build/client/_app/immutable/nodes/27.pFVCuUxP.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.pFVCuUxP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.KFCNgV_O.js +4 -0
- package/build/client/_app/immutable/nodes/28.KFCNgV_O.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.KFCNgV_O.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.CHyA21EO.js +3 -0
- package/build/client/_app/immutable/nodes/29.CHyA21EO.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.CHyA21EO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.DNvLT1GG.js +2 -0
- package/build/client/_app/immutable/nodes/3.DNvLT1GG.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.DNvLT1GG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.DVq7uPEg.js +7 -0
- package/build/client/_app/immutable/nodes/30.DVq7uPEg.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.DVq7uPEg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.BXwOQK9g.js +2 -0
- package/build/client/_app/immutable/nodes/31.BXwOQK9g.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.BXwOQK9g.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.CSIUZ8AY.js +4 -0
- package/build/client/_app/immutable/nodes/32.CSIUZ8AY.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.CSIUZ8AY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33._ykIA8bD.js +7 -0
- package/build/client/_app/immutable/nodes/33._ykIA8bD.js.br +0 -0
- package/build/client/_app/immutable/nodes/33._ykIA8bD.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.CdIowLMb.js +6 -0
- package/build/client/_app/immutable/nodes/34.CdIowLMb.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.CdIowLMb.js.gz +0 -0
- package/build/client/_app/immutable/nodes/35.Dy_SQauY.js +23 -0
- package/build/client/_app/immutable/nodes/35.Dy_SQauY.js.br +0 -0
- package/build/client/_app/immutable/nodes/35.Dy_SQauY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/36.Bgiab0qG.js +1 -0
- package/build/client/_app/immutable/nodes/36.Bgiab0qG.js.br +0 -0
- package/build/client/_app/immutable/nodes/36.Bgiab0qG.js.gz +0 -0
- package/build/client/_app/immutable/nodes/37.C7JfnQNL.js +1 -0
- package/build/client/_app/immutable/nodes/37.C7JfnQNL.js.br +0 -0
- package/build/client/_app/immutable/nodes/37.C7JfnQNL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/38.8H2IOKNL.js +6 -0
- package/build/client/_app/immutable/nodes/38.8H2IOKNL.js.br +0 -0
- package/build/client/_app/immutable/nodes/38.8H2IOKNL.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.DcoCA2Xs.js +5 -0
- package/build/client/_app/immutable/nodes/4.DcoCA2Xs.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.DcoCA2Xs.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.d4Gkbcsg.js +1 -0
- package/build/client/_app/immutable/nodes/5.d4Gkbcsg.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.d4Gkbcsg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.Is6maaeK.js +1 -0
- package/build/client/_app/immutable/nodes/7.Is6maaeK.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.Is6maaeK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.DWYgUVq8.js +2 -0
- package/build/client/_app/immutable/nodes/8.DWYgUVq8.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.DWYgUVq8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.B-XwvGuQ.js +10 -0
- package/build/client/_app/immutable/nodes/9.B-XwvGuQ.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.B-XwvGuQ.js.gz +0 -0
- package/build/client/_app/version.json +1 -1
- package/build/client/_app/version.json.br +0 -0
- package/build/client/_app/version.json.gz +0 -0
- package/build/handler.js +6 -6
- package/build/index.js +6 -6
- package/build/server/chunks/chunks/AlreadyRemote.js-C3hAZKE7.js +38 -0
- package/build/server/chunks/chunks/ConsoleWindow.js-Cj94huR0.js +120 -0
- package/build/server/chunks/chunks/DecisionCard.js-TnTwRd_x.js +3608 -0
- package/build/server/chunks/chunks/Discussion.js-B9dh0lhg.js +633 -0
- package/build/server/chunks/chunks/DocSheet.js-CcuM9uRl.js +56 -0
- package/build/server/chunks/chunks/EtaLine.js-DlFKyMRT.js +98 -0
- package/build/server/chunks/chunks/EveryProjectSwitch.js-CwdoIU0c.js +35 -0
- package/build/server/chunks/chunks/Icon.js-Az81fzeU.js +129 -0
- package/build/server/chunks/chunks/InsightsNav.js-JVSRo--0.js +18 -0
- package/build/server/chunks/chunks/InstallFromGitHub.js-CiW2kemx.js +272 -0
- package/build/server/chunks/chunks/InstallPlugin.js-GxJJmJpy.js +18 -0
- package/build/server/chunks/chunks/Lightbox.js-DpoVA32y.js +200 -0
- package/build/server/chunks/chunks/LinkedText.js-D4nUK69y.js +24 -0
- package/build/server/chunks/chunks/MateHealthPill.js-BDXNwwu8.js +29 -0
- package/build/server/chunks/chunks/PluginElement.js-Ccpvb7tc.js +40 -0
- package/build/server/chunks/chunks/PluginReview.js-Cf5SMjrg.js +110 -0
- package/build/server/chunks/chunks/ProjectBanner.js-CEaU0qtj.js +111 -0
- package/build/server/chunks/chunks/ProjectStateMark.js-n1gylwHJ.js +41 -0
- package/build/server/chunks/chunks/SavedNote.js-B7YRNVoT.js +130 -0
- package/build/server/chunks/chunks/SettingsNav.js-DZ7L6d2N.js +40 -0
- package/build/server/chunks/chunks/Sheet.js-VcggH08P.js +3976 -0
- package/build/server/chunks/chunks/SlotContent.js-zE7j3gVt.js +690 -0
- package/build/server/chunks/chunks/Switch.js-YWL83l3Z.js +21 -0
- package/build/server/chunks/chunks/TaskView.js-BX0fjFz9.js +3032 -0
- package/build/server/chunks/chunks/TimeLegend.js-gtDPempJ.js +55 -0
- package/build/server/chunks/chunks/VaultAdd.js-T0n5iIr8.js +146 -0
- package/build/server/chunks/chunks/aliases.svelte.js-CU-PqKm5.js +138 -0
- package/build/server/chunks/chunks/arrow-down.js-DoPxvkwW.js +18 -0
- package/build/server/chunks/chunks/arrow-left.js-B76Zh_g-.js +18 -0
- package/build/server/chunks/chunks/arrow-right.js-0qaCUUvN.js +18 -0
- package/build/server/chunks/chunks/arrow-up-right.js-C0A_fobJ.js +18 -0
- package/build/server/chunks/chunks/arrow-up.js-Dfe5nY4C.js +18 -0
- package/build/server/chunks/chunks/berths.js-D-XzmT0z.js +270 -0
- package/build/server/chunks/chunks/blocks.js-DuedYFvd.js +156 -0
- package/build/server/chunks/chunks/book-open.js-BgnJ8XT-.js +23 -0
- package/build/server/chunks/chunks/bridge.js-C2XeE-kf.js +62 -0
- package/build/server/chunks/chunks/buildlog.js-B0xf1CmX.js +55 -0
- package/build/server/chunks/chunks/button.js-De8lFYYl.js +4027 -0
- package/build/server/chunks/chunks/chat.svelte.js-s4cDi0FC.js +590 -0
- package/build/server/chunks/chunks/check.js-u88QtDUw.js +15 -0
- package/build/server/chunks/chunks/checks.js-CbXUVE2D.js +258 -0
- package/build/server/chunks/chunks/chevron-down.js-IZtPvRyD.js +15 -0
- package/build/server/chunks/chunks/chevron-left.js-_RRgcHX2.js +15 -0
- package/build/server/chunks/chunks/chevron-right.js-Baap5HgZ.js +15 -0
- package/build/server/chunks/chunks/circle-alert.js-Dmy0T_AA.js +23 -0
- package/build/server/chunks/chunks/circle-arrow-up.js-CFOLUgRJ.js +20 -0
- package/build/server/chunks/chunks/circle-check.js-DzKUF2Ys.js +19 -0
- package/build/server/chunks/chunks/circle-dashed.js-C4cvxmVk.js +24 -0
- package/build/server/chunks/chunks/circle-dot.js-CFh7HXvs.js +18 -0
- package/build/server/chunks/chunks/client.js-D3usHRGq.js +24 -0
- package/build/server/chunks/chunks/clock.js-C7m5d4k7.js +18 -0
- package/build/server/chunks/chunks/copy.js-DSs_InnC.js +33 -0
- package/build/server/chunks/chunks/detail.js-BVfa0fBb.js +151 -0
- package/build/server/chunks/chunks/dialog-close.js-BvQ05k3G.js +42 -0
- package/build/server/chunks/chunks/dialog-content.js-CkncZSWx.js +3356 -0
- package/build/server/chunks/chunks/dialog.js-BpI_yEzV.js +392 -0
- package/build/server/chunks/chunks/external-link.js-DemDvmrY.js +24 -0
- package/build/server/chunks/chunks/eye.js-ByVcqQnF.js +23 -0
- package/build/server/chunks/chunks/features.js-C1zL1kJR.js +154 -0
- package/build/server/chunks/chunks/feedback.js-Cprn50mH.js +67 -0
- package/build/server/chunks/chunks/fold.js-BNM4Ug44.js +395 -0
- package/build/server/chunks/chunks/format.js-D0zBQ-fe.js +73 -0
- package/build/server/chunks/chunks/gauge.js-DrxC71Dr.js +18 -0
- package/build/server/chunks/chunks/git-pull-request.js-D-9-xi1D.js +20 -0
- package/build/server/chunks/chunks/hand.js-BUWWxNTh.js +25 -0
- package/build/server/chunks/chunks/index-server.js-DMc-UvjC.js +19 -0
- package/build/server/chunks/chunks/index-server2.js-UykXsYGu.js +17 -0
- package/build/server/chunks/chunks/index.js-BN7VoFTt.js +1537 -0
- package/build/server/chunks/chunks/index2.js-Cl1o2_mR.js +40 -0
- package/build/server/chunks/chunks/insights.svelte.js-BMM4c921.js +1141 -0
- package/build/server/chunks/chunks/internal.js-DjAQX0Wv.js +151 -0
- package/build/server/chunks/chunks/key-round.js-B_5ZLAfR.js +26 -0
- package/build/server/chunks/chunks/live.svelte.js-Bd6tXzVa.js +259 -0
- package/build/server/chunks/chunks/livereview.js-BTYQwf2g.js +354 -0
- package/build/server/chunks/chunks/loader-circle.js-CHkkvvGm.js +16 -0
- package/build/server/chunks/chunks/lock.js-BFjMVO3j.js +28 -0
- package/build/server/chunks/chunks/markdown.js-Br6opSME.js +2656 -0
- package/build/server/chunks/chunks/marketplace-service.js-CHdsYOy-.js +557 -0
- package/build/server/chunks/chunks/mate-machines.js-DxyNmlFV.js +36 -0
- package/build/server/chunks/chunks/message-circle-question-mark.js-L01sbkvX.js +25 -0
- package/build/server/chunks/chunks/message-square.js-BV8RqSMD.js +22 -0
- package/build/server/chunks/chunks/messages-square.js-BzOsP5UL.js +28 -0
- package/build/server/chunks/chunks/minus.js-BStY06ER.js +15 -0
- package/build/server/chunks/chunks/package.js-kaH0Cv5p.js +160 -0
- package/build/server/chunks/chunks/page.js-D9Fj70Fi.js +13 -0
- package/build/server/chunks/chunks/pencil.js-BR8A6p79.js +23 -0
- package/build/server/chunks/chunks/phone.svelte.js-Bz4rhdR6.js +7 -0
- package/build/server/chunks/chunks/play.js-6sNoKBUr.js +22 -0
- package/build/server/chunks/chunks/plugins.js-CZ68B8TC.js +58 -0
- package/build/server/chunks/chunks/plus.js-CJbj7OLA.js +15 -0
- package/build/server/chunks/chunks/previewhelper.js-DleLqGYG.js +245 -0
- package/build/server/chunks/chunks/previewhelper2.js-C4qT-8yf.js +166 -0
- package/build/server/chunks/chunks/puzzle.js-DW2EUkBQ.js +22 -0
- package/build/server/chunks/chunks/quota-keys.js-BtAL5t3-.js +105 -0
- package/build/server/chunks/chunks/refresh-cw.js-CKDUUNir.js +26 -0
- package/build/server/chunks/chunks/repo.js-Du-fw6dp.js +33 -0
- package/build/server/chunks/chunks/review.js-DcvgjN-f.js +185 -0
- package/build/server/chunks/chunks/root.js-BELZlMSY.js +3105 -0
- package/build/server/chunks/chunks/rotate-cw.js-DLG3iTx1.js +21 -0
- package/build/server/chunks/chunks/runtime.js-Cmi5ulA9.js +23388 -0
- package/build/server/chunks/chunks/scale.js-DV3JLJnV.js +21 -0
- package/build/server/chunks/chunks/scout.js-BWq3ETYy.js +50 -0
- package/build/server/chunks/chunks/search.js-Dl1_qJs8.js +18 -0
- package/build/server/chunks/chunks/secret.js-z7CKo6z7.js +592 -0
- package/build/server/chunks/chunks/service.js-OHnolVot.js +1339 -0
- package/build/server/chunks/chunks/service2.js-BEjI_Nbs.js +835 -0
- package/build/server/chunks/chunks/service3.js-B-CKb6kS.js +234 -0
- package/build/server/chunks/chunks/sessions.js-6NvXOhC1.js +506 -0
- package/build/server/chunks/chunks/settings.js-BPuUGUcv.js +379 -0
- package/build/server/chunks/chunks/settings2.js-i6aycb18.js +57 -0
- package/build/server/chunks/chunks/settings3.js-BlZbXkzQ.js +21 -0
- package/build/server/chunks/chunks/settings4.js-8JjZvg3U.js +690 -0
- package/build/server/chunks/chunks/shield-check.js-C2FL_3sl.js +23 -0
- package/build/server/chunks/chunks/ship.js-DpuFCi1V.js +31 -0
- package/build/server/chunks/chunks/sparkles.js-Cpr28s02.js +26 -0
- package/build/server/chunks/chunks/square-terminal.js-CBaONMfZ.js +30 -0
- package/build/server/chunks/chunks/starter.js-umpmZd8q.js +400 -0
- package/build/server/chunks/chunks/state.svelte.js-DBRyeFnL.js +13 -0
- package/build/server/chunks/chunks/store.js-D8j32wv9.js +332 -0
- package/build/server/chunks/chunks/tmux.js-iKfXN6X8.js +450 -0
- package/build/server/chunks/chunks/tools.js-B9Uzu0OB.js +156 -0
- package/build/server/chunks/chunks/trash.js-COQ-OaRd.js +22 -0
- package/build/server/chunks/chunks/triangle-alert.js-Um9b6Vjy.js +25 -0
- package/build/server/chunks/chunks/uploads.js-rxu-UiQd.js +107 -0
- package/build/server/chunks/chunks/utils3.js-TunRaort.js +3290 -0
- package/build/server/chunks/chunks/vault.js-giGoLNSu.js +12 -0
- package/build/server/chunks/chunks/view.js-DeFeWVSU.js +76 -0
- package/build/server/chunks/chunks/x.js-BRTsv_gI.js +18 -0
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-8t7EWtjJ.js +107 -0
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-DknXtP8W.js +111 -0
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-Dmz-W7Cc.js +54 -0
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js-Drevvr0O.js +70 -0
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-tKayiARQ.js +74 -0
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-ByV9PCyL.js +136 -0
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-B1heA9l-.js +56 -0
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-DeVgPHue.js +66 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-BcAUzAzz.js +100 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-at0SK8aM.js +78 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-BiDaGT-M.js +67 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-DGUjTIUW.js +61 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-DDbONfHh.js +61 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-CMtyKkzq.js +62 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-ChyTAK6L.js +68 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-SFBCOfYu.js +61 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-BduCZmEe.js +110 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-BGE64mxN.js +71 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-DlLpaPxJ.js +82 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-DRO_iJp8.js +70 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-CYbrxAN7.js +61 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-BIc5KOYd.js +32 -0
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-D9BD2xau.js +40 -0
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-GiSG6k06.js +53 -0
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-Bo-36F06.js +53 -0
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-ijATKHcv.js +80 -0
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-9euOYvhW.js +78 -0
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-DSoDIgIV.js +71 -0
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-C_w9xdnF.js +53 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/end/_server.ts.js-D0PDhhQh.js +82 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/events/_server.ts.js-CqnNeLhY.js +65 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/interrupt/_server.ts.js-TR8oysaC.js +23 -0
- package/build/server/chunks/entries/endpoints/api/live/_id_/say/_server.ts.js-Co0q7N3j.js +26 -0
- package/build/server/chunks/entries/endpoints/api/live/_server.ts.js-G1z6Ama7.js +91 -0
- package/build/server/chunks/entries/endpoints/api/live/image/_server.ts.js-ClesSc9w.js +69 -0
- package/build/server/chunks/entries/endpoints/api/live/scouts/_server.ts.js-C4AaMrW9.js +113 -0
- package/build/server/chunks/entries/endpoints/api/live/settings/_server.ts.js-3qX-cio2.js +67 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-C0LGVCg5.js +88 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-Bp9DbdAk.js +77 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-CDwF023e.js +72 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-DnFDnkxQ.js +69 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-CuybvoFL.js +27 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-BCoMEXQQ.js +76 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-C7AS4YK2.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-Bm8Xs-w3.js +53 -0
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BW0r6OPO.js +39 -0
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DSCPIY5J.js +42 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-jNk396J1.js +58 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-CqhplPme.js +67 -0
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-CP-DbWMf.js +64 -0
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-DT-MLcVJ.js +68 -0
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-BcwgkRQF.js +27 -0
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-DwVEJsLb.js +76 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BL45I20M.js +58 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-BA_nAJWg.js +67 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-DSPpR5_F.js +79 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-DUAksEzS.js +66 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-CrSBmjqL.js +89 -0
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-DzoFY_f_.js +72 -0
- package/build/server/chunks/entries/endpoints/api/quota-keys/_server.ts.js-fjYuFb-q.js +23 -0
- package/build/server/chunks/entries/endpoints/api/second-mate-setup/_server.ts.js-Dg9faAG_.js +468 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-ysDNGXBj.js +83 -0
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-BjgOPhwO.js +62 -0
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-O4RUTSkE.js +72 -0
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-07q_AsEg.js +132 -0
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-B8nLTY91.js +61 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-CAEM2tF1.js +58 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-DYJFGhLN.js +77 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-C5hS1LF1.js +102 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-BgcPmbDK.js +70 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/livereview/_server.ts.js-CLkioiyh.js +380 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-7TxDK5J5.js +118 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-Dv540FRi.js +72 -0
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-DbwJIKtb.js +75 -0
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-WD0eRty9.js +76 -0
- package/build/server/chunks/entries/endpoints/api/voice/_server.ts.js-BOuRbvJ4.js +24 -0
- package/build/server/chunks/entries/endpoints/api/voice/hear/_server.ts.js-9U9l5yBx.js +31 -0
- package/build/server/chunks/entries/endpoints/api/voice/speak/_server.ts.js-BsfvbROf.js +33 -0
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-DTn1tGUM.js +88 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-uYBeFWVL.js +40 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-DCWqR2cX.js +27 -0
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-F9kJzbrF.js +27 -0
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-CMQXCkuk.js +57 -0
- package/build/server/chunks/entries/fallbacks/error.svelte.js-tsY6J4El.js +16 -0
- package/build/server/chunks/entries/hooks.server.js-JEj9Bsqm.js +99 -0
- package/build/server/chunks/entries/pages/_layout.server.ts.js-DhsnO9IO.js +54 -0
- package/build/server/chunks/entries/pages/_layout.svelte.js-CbcZz_8a.js +5516 -0
- package/build/server/chunks/entries/pages/_page.server.ts.js-BysShEgI.js +16 -0
- package/build/server/chunks/entries/pages/_page.svelte.js-BkDRSiDw.js +5379 -0
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-Bv5alHBO.js +135 -0
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-CxpG1JXA.js +11 -0
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-DFo_muxL.js +203 -0
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-QOEo-U1d.js +16 -0
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-CzUJze4h.js +131 -0
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-Bg6__t9R.js +17 -0
- package/build/server/chunks/entries/pages/files/_page.svelte.js-CeoX2DxZ.js +61 -0
- package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-dHKOxy-0.js +47 -0
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-Bnteb4y7.js +752 -0
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-qiWok47j.js +11 -0
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-BCBLk9Jg.js +296 -0
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-Cgx8yYZm.js +11 -0
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-C0A14K7F.js +220 -0
- package/build/server/chunks/entries/pages/more/_page.svelte.js-6QBAN6Lx.js +151 -0
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-C1Hx768C.js +677 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-D32nYJU_.js +16 -0
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-Di5YEoE6.js +60 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-sZtXXr3x.js +23 -0
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-Tx21na11.js +979 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-D3LKqv6D.js +21 -0
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-BdwLJCFC.js +82 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-pRcjKJEI.js +27 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-DnoICjkc.js +420 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-GBXWrkmC.js +15 -0
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-DA-jNhX4.js +1852 -0
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-I3ychV6b.js +11 -0
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-COZMRBZR.js +348 -0
- package/build/server/chunks/entries/pages/second-mates/_page.server.ts.js-oXxhCgAT.js +13 -0
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-5xlGYoQt.js +432 -0
- package/build/server/chunks/entries/pages/second-mates/add/_page.svelte.js-BvLT4HUI.js +60 -0
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-UXIEO8hs.js +12 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-CkCXu0vY.js +18 -0
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-iGNhtz-N.js +77 -0
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-ds8-tzb6.js +15 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.server.ts.js-DE1TDAtf.js +19 -0
- package/build/server/chunks/entries/pages/settings/discussion/_page.svelte.js-DLyiu8ZX.js +148 -0
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-4L2zZZ4D.js +16 -0
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-vbod8ie_.js +111 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-E8hEiUNm.js +15 -0
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-ClwsGPHZ.js +78 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-yGVqwqCA.js +797 -0
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-NM8gm_Jb.js +254 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-BdN0oF88.js +11 -0
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-CCE0vBzT.js +259 -0
- package/build/server/chunks/entries/pages/settings/headroom/_page.server.ts.js-DksSEJdw.js +11 -0
- package/build/server/chunks/entries/pages/settings/headroom/_page.svelte.js-JOBLau7_.js +126 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-D00PyHYc.js +19 -0
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-CS3he6IR.js +566 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-CGQk-oP2.js +17 -0
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-BDVZOsdV.js +239 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-CwOQcEfH.js +11 -0
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-CEOgjwj9.js +56 -0
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-C6y5hUam.js +11 -0
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-B_iHQK6S.js +62 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.server.ts.js-DzlHhxiy.js +15 -0
- package/build/server/chunks/entries/pages/settings/voice/_page.svelte.js-BRvMNzq9.js +179 -0
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-DJMT60VO.js +18 -0
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-U0DzVvsl.js +1439 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-D9AmDOb2.js +36 -0
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-CqOjq2JQ.js +103 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-Bk0amQC2.js +24 -0
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-CkAejwS6.js +80 -0
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-BmfqJfsY.js +11 -0
- package/build/server/chunks/entries/pages/time/_page.svelte.js-BJOJ1x_f.js +108 -0
- package/build/server/chunks/handler-CuckRMqK.js +1474 -0
- package/build/server/chunks/index.js-Det-euci.js +4296 -0
- package/build/server/chunks/manifest.js-IxjOSqds.js +918 -0
- package/build/server/chunks/nodes/0.js-DcvzrfVi.js +61 -0
- package/build/server/chunks/nodes/1.js-C0GKeJTV.js +9 -0
- package/build/server/chunks/nodes/10.js-CjXR8WVT.js +58 -0
- package/build/server/chunks/nodes/11.js-BaoD6QDm.js +9 -0
- package/build/server/chunks/nodes/12.js-B-oywM3R.js +9 -0
- package/build/server/chunks/nodes/13.js-CvE5N9kg.js +58 -0
- package/build/server/chunks/nodes/14.js-CWkZWd-F.js +61 -0
- package/build/server/chunks/nodes/15.js-BGniAfWJ.js +59 -0
- package/build/server/chunks/nodes/16.js-CWwcaG2g.js +60 -0
- package/build/server/chunks/nodes/17.js-BWYSRFqk.js +59 -0
- package/build/server/chunks/nodes/18.js-DQmXLSyZ.js +24 -0
- package/build/server/chunks/nodes/19.js-DKz1NRxm.js +25 -0
- package/build/server/chunks/nodes/2.js-CxwMCQEK.js +58 -0
- package/build/server/chunks/nodes/20.js-DdoiMNE5.js +9 -0
- package/build/server/chunks/nodes/21.js-CDzJ6_r7.js +25 -0
- package/build/server/chunks/nodes/22.js-BM_BnCc6.js +58 -0
- package/build/server/chunks/nodes/23.js-Doi3rWJd.js +16 -0
- package/build/server/chunks/nodes/24.js-wIDiVkeK.js +59 -0
- package/build/server/chunks/nodes/25.js-DdCBfK20.js +58 -0
- package/build/server/chunks/nodes/26.js-BttpnwQy.js +25 -0
- package/build/server/chunks/nodes/27.js-BsfwpHWb.js +58 -0
- package/build/server/chunks/nodes/28.js-D2OXVVZa.js +24 -0
- package/build/server/chunks/nodes/29.js-DUSwkRv0.js +22 -0
- package/build/server/chunks/nodes/3.js-C_iALP3K.js +9 -0
- package/build/server/chunks/nodes/30.js-D3qe_Cig.js +58 -0
- package/build/server/chunks/nodes/31.js-CPeL3tbe.js +61 -0
- package/build/server/chunks/nodes/32.js-Bt0QpIZa.js +60 -0
- package/build/server/chunks/nodes/33.js-9DRuenWa.js +26 -0
- package/build/server/chunks/nodes/34.js-BrnLBosV.js +60 -0
- package/build/server/chunks/nodes/35.js-C2J0TXFw.js +62 -0
- package/build/server/chunks/nodes/36.js-CZuh-bR6.js +59 -0
- package/build/server/chunks/nodes/37.js-B-9fkYRl.js +59 -0
- package/build/server/chunks/nodes/38.js-DSGIzvqh.js +58 -0
- package/build/server/chunks/nodes/4.js-DWbbDnoC.js +58 -0
- package/build/server/chunks/nodes/5.js-DwS6Pyn1.js +58 -0
- package/build/server/chunks/nodes/7.js-RAUjgYUz.js +58 -0
- package/build/server/chunks/nodes/8.js-BE1PHjDD.js +63 -0
- package/build/server/chunks/nodes/9.js-Dcf4-aLP.js +58 -0
- package/dist/cli.js +32 -7
- package/dist/wh-vault.js +1 -1
- package/firstmate-extension/firstmate-extension.json +1 -1
- package/package.json +4 -1
- package/skills/manage-wheelhouse/SKILL.md +3 -1
- package/skills/manage-wheelhouse/references/operations.md +21 -21
- package/build/client/_app/immutable/assets/0.DPXXVvQJ.css +0 -1
- package/build/client/_app/immutable/assets/0.DPXXVvQJ.css.br +0 -0
- package/build/client/_app/immutable/assets/0.DPXXVvQJ.css.gz +0 -0
- package/build/client/_app/immutable/assets/2.9iA_78o1.css +0 -1
- package/build/client/_app/immutable/assets/2.9iA_78o1.css.br +0 -0
- package/build/client/_app/immutable/assets/2.9iA_78o1.css.gz +0 -0
- package/build/client/_app/immutable/assets/insights.Dme7y7s6.css +0 -1
- package/build/client/_app/immutable/assets/insights.Dme7y7s6.css.br +0 -0
- package/build/client/_app/immutable/assets/insights.Dme7y7s6.css.gz +0 -0
- package/build/client/_app/immutable/chunks/-7ouQdsG.js +0 -1
- package/build/client/_app/immutable/chunks/-7ouQdsG.js.br +0 -0
- package/build/client/_app/immutable/chunks/-7ouQdsG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/4pTUx6eL.js +0 -1
- package/build/client/_app/immutable/chunks/4pTUx6eL.js.br +0 -4
- package/build/client/_app/immutable/chunks/4pTUx6eL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/55XEoNtX.js +0 -1
- package/build/client/_app/immutable/chunks/55XEoNtX.js.br +0 -2
- package/build/client/_app/immutable/chunks/55XEoNtX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6DAn206W.js +0 -1
- package/build/client/_app/immutable/chunks/6DAn206W.js.br +0 -0
- package/build/client/_app/immutable/chunks/6DAn206W.js.gz +0 -0
- package/build/client/_app/immutable/chunks/6rTUl_co.js +0 -1
- package/build/client/_app/immutable/chunks/6rTUl_co.js.br +0 -0
- package/build/client/_app/immutable/chunks/6rTUl_co.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8Fai-wPF.js +0 -1
- package/build/client/_app/immutable/chunks/8Fai-wPF.js.br +0 -0
- package/build/client/_app/immutable/chunks/8Fai-wPF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/8WgbCzWs.js +0 -1
- package/build/client/_app/immutable/chunks/8WgbCzWs.js.br +0 -0
- package/build/client/_app/immutable/chunks/8WgbCzWs.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B0-xhMiU.js +0 -5
- package/build/client/_app/immutable/chunks/B0-xhMiU.js.br +0 -0
- package/build/client/_app/immutable/chunks/B0-xhMiU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B1V3Ajhv.js +0 -1
- package/build/client/_app/immutable/chunks/B1V3Ajhv.js.br +0 -0
- package/build/client/_app/immutable/chunks/B1V3Ajhv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/B60LYfBd.js +0 -1
- package/build/client/_app/immutable/chunks/B60LYfBd.js.br +0 -0
- package/build/client/_app/immutable/chunks/B60LYfBd.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BACvplXC.js +0 -2
- package/build/client/_app/immutable/chunks/BACvplXC.js.br +0 -0
- package/build/client/_app/immutable/chunks/BACvplXC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAsiHkaZ.js +0 -1
- package/build/client/_app/immutable/chunks/BAsiHkaZ.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAsiHkaZ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BAuCcuxw.js +0 -1
- package/build/client/_app/immutable/chunks/BAuCcuxw.js.br +0 -0
- package/build/client/_app/immutable/chunks/BAuCcuxw.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BBYXgHkS.js +0 -5
- package/build/client/_app/immutable/chunks/BBYXgHkS.js.br +0 -0
- package/build/client/_app/immutable/chunks/BBYXgHkS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BGW1RfKQ.js +0 -1
- package/build/client/_app/immutable/chunks/BGW1RfKQ.js.br +0 -2
- package/build/client/_app/immutable/chunks/BGW1RfKQ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BJoMiuA8.js +0 -1
- package/build/client/_app/immutable/chunks/BJoMiuA8.js.br +0 -0
- package/build/client/_app/immutable/chunks/BJoMiuA8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BTUBKbNp.js +0 -1
- package/build/client/_app/immutable/chunks/BTUBKbNp.js.br +0 -0
- package/build/client/_app/immutable/chunks/BTUBKbNp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BVzdpycb.js +0 -1
- package/build/client/_app/immutable/chunks/BVzdpycb.js.br +0 -0
- package/build/client/_app/immutable/chunks/BVzdpycb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BWPYBmh1.js +0 -1
- package/build/client/_app/immutable/chunks/BWPYBmh1.js.br +0 -2
- package/build/client/_app/immutable/chunks/BWPYBmh1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BW_JnYeB.js +0 -1
- package/build/client/_app/immutable/chunks/BW_JnYeB.js.br +0 -0
- package/build/client/_app/immutable/chunks/BW_JnYeB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BXnxklRE.js +0 -6
- package/build/client/_app/immutable/chunks/BXnxklRE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BXnxklRE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BYqCpFaP.js +0 -1
- package/build/client/_app/immutable/chunks/BYqCpFaP.js.br +0 -0
- package/build/client/_app/immutable/chunks/BYqCpFaP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BbNNG5a4.js +0 -1
- package/build/client/_app/immutable/chunks/BbNNG5a4.js.br +0 -0
- package/build/client/_app/immutable/chunks/BbNNG5a4.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BcCorYoj.js +0 -1
- package/build/client/_app/immutable/chunks/BcCorYoj.js.br +0 -0
- package/build/client/_app/immutable/chunks/BcCorYoj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bf46oUeB.js +0 -1
- package/build/client/_app/immutable/chunks/Bf46oUeB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bf46oUeB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BfNiKjWt.js +0 -1
- package/build/client/_app/immutable/chunks/BfNiKjWt.js.br +0 -0
- package/build/client/_app/immutable/chunks/BfNiKjWt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BgdwPfvE.js +0 -1
- package/build/client/_app/immutable/chunks/BgdwPfvE.js.br +0 -0
- package/build/client/_app/immutable/chunks/BgdwPfvE.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjfHpW4u.js +0 -1
- package/build/client/_app/immutable/chunks/BjfHpW4u.js.br +0 -0
- package/build/client/_app/immutable/chunks/BjfHpW4u.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BjlKuhi7.js +0 -1
- package/build/client/_app/immutable/chunks/BjlKuhi7.js.br +0 -3
- package/build/client/_app/immutable/chunks/BjlKuhi7.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Bt6KUUDH.js +0 -1
- package/build/client/_app/immutable/chunks/Bt6KUUDH.js.br +0 -0
- package/build/client/_app/immutable/chunks/Bt6KUUDH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Buvnupwl.js +0 -1
- package/build/client/_app/immutable/chunks/Buvnupwl.js.br +0 -0
- package/build/client/_app/immutable/chunks/Buvnupwl.js.gz +0 -0
- package/build/client/_app/immutable/chunks/BvA9ozND.js +0 -3
- package/build/client/_app/immutable/chunks/BvA9ozND.js.br +0 -0
- package/build/client/_app/immutable/chunks/BvA9ozND.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C-hNi8vR.js +0 -1
- package/build/client/_app/immutable/chunks/C-hNi8vR.js.br +0 -0
- package/build/client/_app/immutable/chunks/C-hNi8vR.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C00jDMn9.js +0 -6
- package/build/client/_app/immutable/chunks/C00jDMn9.js.br +0 -0
- package/build/client/_app/immutable/chunks/C00jDMn9.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3RYx8bC.js +0 -1
- package/build/client/_app/immutable/chunks/C3RYx8bC.js.br +0 -0
- package/build/client/_app/immutable/chunks/C3RYx8bC.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C3tLc6qk.js +0 -1
- package/build/client/_app/immutable/chunks/C3tLc6qk.js.br +0 -2
- package/build/client/_app/immutable/chunks/C3tLc6qk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6Hf7_tG.js +0 -1
- package/build/client/_app/immutable/chunks/C6Hf7_tG.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6Hf7_tG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C6jVoo_e.js +0 -2
- package/build/client/_app/immutable/chunks/C6jVoo_e.js.br +0 -0
- package/build/client/_app/immutable/chunks/C6jVoo_e.js.gz +0 -0
- package/build/client/_app/immutable/chunks/C8KbmUF3.js +0 -1
- package/build/client/_app/immutable/chunks/C8KbmUF3.js.br +0 -2
- package/build/client/_app/immutable/chunks/C8KbmUF3.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CA87s_sP.js +0 -1
- package/build/client/_app/immutable/chunks/CA87s_sP.js.br +0 -0
- package/build/client/_app/immutable/chunks/CA87s_sP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CBDCrDpK.js +0 -3
- package/build/client/_app/immutable/chunks/CBDCrDpK.js.br +0 -0
- package/build/client/_app/immutable/chunks/CBDCrDpK.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CCIw75Yv.js +0 -7
- package/build/client/_app/immutable/chunks/CCIw75Yv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CCIw75Yv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFTCozxo.js +0 -1
- package/build/client/_app/immutable/chunks/CFTCozxo.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFTCozxo.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CFm6pZG0.js +0 -1
- package/build/client/_app/immutable/chunks/CFm6pZG0.js.br +0 -0
- package/build/client/_app/immutable/chunks/CFm6pZG0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CJNEYVWj.js +0 -2
- package/build/client/_app/immutable/chunks/CJNEYVWj.js.br +0 -0
- package/build/client/_app/immutable/chunks/CJNEYVWj.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CLd-Yktx.js +0 -1
- package/build/client/_app/immutable/chunks/CLd-Yktx.js.br +0 -0
- package/build/client/_app/immutable/chunks/CLd-Yktx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CMHkuJ4s.js +0 -1
- package/build/client/_app/immutable/chunks/CMHkuJ4s.js.br +0 -0
- package/build/client/_app/immutable/chunks/CMHkuJ4s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNX1VoIh.js +0 -1
- package/build/client/_app/immutable/chunks/CNX1VoIh.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNX1VoIh.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CNvNrJS-.js +0 -1
- package/build/client/_app/immutable/chunks/CNvNrJS-.js.br +0 -0
- package/build/client/_app/immutable/chunks/CNvNrJS-.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CONXZwsH.js +0 -1
- package/build/client/_app/immutable/chunks/CONXZwsH.js.br +0 -0
- package/build/client/_app/immutable/chunks/CONXZwsH.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CQL7onaq.js +0 -1
- package/build/client/_app/immutable/chunks/CQL7onaq.js.br +0 -0
- package/build/client/_app/immutable/chunks/CQL7onaq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUE4X2zW.js +0 -2
- package/build/client/_app/immutable/chunks/CUE4X2zW.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUE4X2zW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CUngZJag.js +0 -4
- package/build/client/_app/immutable/chunks/CUngZJag.js.br +0 -0
- package/build/client/_app/immutable/chunks/CUngZJag.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cbb01QYB.js +0 -1
- package/build/client/_app/immutable/chunks/Cbb01QYB.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cbb01QYB.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cd67i1u_.js +0 -62
- package/build/client/_app/immutable/chunks/Cd67i1u_.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cd67i1u_.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CddGcyNX.js +0 -1
- package/build/client/_app/immutable/chunks/CddGcyNX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CddGcyNX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cf6pdpsz.js +0 -1
- package/build/client/_app/immutable/chunks/Cf6pdpsz.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cf6pdpsz.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cg5o-Sdi.js +0 -1
- package/build/client/_app/immutable/chunks/Cg5o-Sdi.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cg5o-Sdi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CkNCm7Ts.js +0 -1
- package/build/client/_app/immutable/chunks/CkNCm7Ts.js.br +0 -0
- package/build/client/_app/immutable/chunks/CkNCm7Ts.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CloMQgCF.js +0 -1
- package/build/client/_app/immutable/chunks/CloMQgCF.js.br +0 -0
- package/build/client/_app/immutable/chunks/CloMQgCF.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmLAxoyv.js +0 -1
- package/build/client/_app/immutable/chunks/CmLAxoyv.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmLAxoyv.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CmYKKTYS.js +0 -1
- package/build/client/_app/immutable/chunks/CmYKKTYS.js.br +0 -0
- package/build/client/_app/immutable/chunks/CmYKKTYS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cox57RCx.js +0 -1
- package/build/client/_app/immutable/chunks/Cox57RCx.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cox57RCx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CrfUP_VX.js +0 -1
- package/build/client/_app/immutable/chunks/CrfUP_VX.js.br +0 -0
- package/build/client/_app/immutable/chunks/CrfUP_VX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CvmB6XOk.js +0 -1
- package/build/client/_app/immutable/chunks/CvmB6XOk.js.br +0 -0
- package/build/client/_app/immutable/chunks/CvmB6XOk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CwMBkOM6.js +0 -1
- package/build/client/_app/immutable/chunks/CwMBkOM6.js.br +0 -0
- package/build/client/_app/immutable/chunks/CwMBkOM6.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Cx5j6iHA.js +0 -1
- package/build/client/_app/immutable/chunks/Cx5j6iHA.js.br +0 -0
- package/build/client/_app/immutable/chunks/Cx5j6iHA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CyXpILz0.js +0 -1
- package/build/client/_app/immutable/chunks/CyXpILz0.js.br +0 -3
- package/build/client/_app/immutable/chunks/CyXpILz0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/CzzMm39R.js +0 -1
- package/build/client/_app/immutable/chunks/CzzMm39R.js.br +0 -0
- package/build/client/_app/immutable/chunks/CzzMm39R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D3nPFlu1.js +0 -1
- package/build/client/_app/immutable/chunks/D3nPFlu1.js.br +0 -0
- package/build/client/_app/immutable/chunks/D3nPFlu1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D5JDx3SO.js +0 -1
- package/build/client/_app/immutable/chunks/D5JDx3SO.js.br +0 -0
- package/build/client/_app/immutable/chunks/D5JDx3SO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D6iImB2R.js +0 -1
- package/build/client/_app/immutable/chunks/D6iImB2R.js.br +0 -0
- package/build/client/_app/immutable/chunks/D6iImB2R.js.gz +0 -0
- package/build/client/_app/immutable/chunks/D7FYExvP.js +0 -1
- package/build/client/_app/immutable/chunks/D7FYExvP.js.br +0 -0
- package/build/client/_app/immutable/chunks/D7FYExvP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DCCfudFU.js +0 -1
- package/build/client/_app/immutable/chunks/DCCfudFU.js.br +0 -0
- package/build/client/_app/immutable/chunks/DCCfudFU.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DDdiwn-U.js +0 -1
- package/build/client/_app/immutable/chunks/DDdiwn-U.js.br +0 -0
- package/build/client/_app/immutable/chunks/DDdiwn-U.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DJNADPa5.js +0 -1
- package/build/client/_app/immutable/chunks/DJNADPa5.js.br +0 -0
- package/build/client/_app/immutable/chunks/DJNADPa5.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNoFJI2q.js +0 -1
- package/build/client/_app/immutable/chunks/DNoFJI2q.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNoFJI2q.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DNy30I3F.js +0 -1
- package/build/client/_app/immutable/chunks/DNy30I3F.js.br +0 -0
- package/build/client/_app/immutable/chunks/DNy30I3F.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DP4AJpRJ.js +0 -1
- package/build/client/_app/immutable/chunks/DP4AJpRJ.js.br +0 -0
- package/build/client/_app/immutable/chunks/DP4AJpRJ.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DQ1JWnwW.js +0 -1
- package/build/client/_app/immutable/chunks/DQ1JWnwW.js.br +0 -0
- package/build/client/_app/immutable/chunks/DQ1JWnwW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DRN_mvpb.js +0 -1
- package/build/client/_app/immutable/chunks/DRN_mvpb.js.br +0 -0
- package/build/client/_app/immutable/chunks/DRN_mvpb.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DUuK5ujt.js +0 -1
- package/build/client/_app/immutable/chunks/DUuK5ujt.js.br +0 -0
- package/build/client/_app/immutable/chunks/DUuK5ujt.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DY9OJPPO.js +0 -1
- package/build/client/_app/immutable/chunks/DY9OJPPO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DY9OJPPO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DYyCX7y8.js +0 -1
- package/build/client/_app/immutable/chunks/DYyCX7y8.js.br +0 -0
- package/build/client/_app/immutable/chunks/DYyCX7y8.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DZCe_kkO.js +0 -1
- package/build/client/_app/immutable/chunks/DZCe_kkO.js.br +0 -0
- package/build/client/_app/immutable/chunks/DZCe_kkO.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DcVEd5MS.js +0 -1
- package/build/client/_app/immutable/chunks/DcVEd5MS.js.br +0 -0
- package/build/client/_app/immutable/chunks/DcVEd5MS.js.gz +0 -0
- package/build/client/_app/immutable/chunks/De4O2In1.js +0 -1
- package/build/client/_app/immutable/chunks/De4O2In1.js.br +0 -0
- package/build/client/_app/immutable/chunks/De4O2In1.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DflltLwV.js +0 -1
- package/build/client/_app/immutable/chunks/DflltLwV.js.br +0 -0
- package/build/client/_app/immutable/chunks/DflltLwV.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DlKNcnrA.js +0 -1
- package/build/client/_app/immutable/chunks/DlKNcnrA.js.br +0 -0
- package/build/client/_app/immutable/chunks/DlKNcnrA.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dr1I4h-s.js +0 -1
- package/build/client/_app/immutable/chunks/Dr1I4h-s.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dr1I4h-s.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Duo3wamr.js +0 -3
- package/build/client/_app/immutable/chunks/Duo3wamr.js.br +0 -0
- package/build/client/_app/immutable/chunks/Duo3wamr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Dx4-AA8Z.js +0 -1
- package/build/client/_app/immutable/chunks/Dx4-AA8Z.js.br +0 -0
- package/build/client/_app/immutable/chunks/Dx4-AA8Z.js.gz +0 -0
- package/build/client/_app/immutable/chunks/DyxFq-Tu.js +0 -1
- package/build/client/_app/immutable/chunks/DyxFq-Tu.js.br +0 -0
- package/build/client/_app/immutable/chunks/DyxFq-Tu.js.gz +0 -0
- package/build/client/_app/immutable/chunks/H9HCKj99.js +0 -1
- package/build/client/_app/immutable/chunks/H9HCKj99.js.br +0 -0
- package/build/client/_app/immutable/chunks/H9HCKj99.js.gz +0 -0
- package/build/client/_app/immutable/chunks/JUcpD7p2.js +0 -1
- package/build/client/_app/immutable/chunks/JUcpD7p2.js.br +0 -0
- package/build/client/_app/immutable/chunks/JUcpD7p2.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Jwgp9Ian.js +0 -1
- package/build/client/_app/immutable/chunks/Jwgp9Ian.js.br +0 -0
- package/build/client/_app/immutable/chunks/Jwgp9Ian.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Kc5eW0mD.js +0 -1
- package/build/client/_app/immutable/chunks/Kc5eW0mD.js.br +0 -0
- package/build/client/_app/immutable/chunks/Kc5eW0mD.js.gz +0 -0
- package/build/client/_app/immutable/chunks/MfmuqTIn.js +0 -2
- package/build/client/_app/immutable/chunks/MfmuqTIn.js.br +0 -0
- package/build/client/_app/immutable/chunks/MfmuqTIn.js.gz +0 -0
- package/build/client/_app/immutable/chunks/OB0MS-qW.js +0 -1
- package/build/client/_app/immutable/chunks/OB0MS-qW.js.br +0 -0
- package/build/client/_app/immutable/chunks/OB0MS-qW.js.gz +0 -0
- package/build/client/_app/immutable/chunks/RqfDdPGP.js +0 -1
- package/build/client/_app/immutable/chunks/RqfDdPGP.js.br +0 -0
- package/build/client/_app/immutable/chunks/RqfDdPGP.js.gz +0 -0
- package/build/client/_app/immutable/chunks/SwQNkIpc.js +0 -1
- package/build/client/_app/immutable/chunks/SwQNkIpc.js.br +0 -0
- package/build/client/_app/immutable/chunks/SwQNkIpc.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Sz_v_ihG.js +0 -1
- package/build/client/_app/immutable/chunks/Sz_v_ihG.js.br +0 -0
- package/build/client/_app/immutable/chunks/Sz_v_ihG.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Ug0gsfQr.js +0 -1
- package/build/client/_app/immutable/chunks/Ug0gsfQr.js.br +0 -0
- package/build/client/_app/immutable/chunks/Ug0gsfQr.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XNI4QyoL.js +0 -1
- package/build/client/_app/immutable/chunks/XNI4QyoL.js.br +0 -0
- package/build/client/_app/immutable/chunks/XNI4QyoL.js.gz +0 -0
- package/build/client/_app/immutable/chunks/XcArh8sq.js +0 -1
- package/build/client/_app/immutable/chunks/XcArh8sq.js.br +0 -0
- package/build/client/_app/immutable/chunks/XcArh8sq.js.gz +0 -0
- package/build/client/_app/immutable/chunks/Y8TXbmCY.js +0 -1
- package/build/client/_app/immutable/chunks/Y8TXbmCY.js.br +0 -0
- package/build/client/_app/immutable/chunks/Y8TXbmCY.js.gz +0 -0
- package/build/client/_app/immutable/chunks/hxhxtxcx.js +0 -1
- package/build/client/_app/immutable/chunks/hxhxtxcx.js.br +0 -0
- package/build/client/_app/immutable/chunks/hxhxtxcx.js.gz +0 -0
- package/build/client/_app/immutable/chunks/j2tARAl0.js +0 -1
- package/build/client/_app/immutable/chunks/j2tARAl0.js.br +0 -0
- package/build/client/_app/immutable/chunks/j2tARAl0.js.gz +0 -0
- package/build/client/_app/immutable/chunks/pJK9uwuX.js +0 -1
- package/build/client/_app/immutable/chunks/pJK9uwuX.js.br +0 -0
- package/build/client/_app/immutable/chunks/pJK9uwuX.js.gz +0 -0
- package/build/client/_app/immutable/chunks/s22ocs02.js +0 -2
- package/build/client/_app/immutable/chunks/s22ocs02.js.br +0 -0
- package/build/client/_app/immutable/chunks/s22ocs02.js.gz +0 -0
- package/build/client/_app/immutable/chunks/s_pTaNbp.js +0 -6
- package/build/client/_app/immutable/chunks/s_pTaNbp.js.br +0 -0
- package/build/client/_app/immutable/chunks/s_pTaNbp.js.gz +0 -0
- package/build/client/_app/immutable/chunks/siUtttqk.js +0 -1
- package/build/client/_app/immutable/chunks/siUtttqk.js.br +0 -0
- package/build/client/_app/immutable/chunks/siUtttqk.js.gz +0 -0
- package/build/client/_app/immutable/chunks/vvzN7ZZi.js +0 -1
- package/build/client/_app/immutable/chunks/vvzN7ZZi.js.br +0 -0
- package/build/client/_app/immutable/chunks/vvzN7ZZi.js.gz +0 -0
- package/build/client/_app/immutable/chunks/wu_NjAkT.js +0 -1
- package/build/client/_app/immutable/chunks/wu_NjAkT.js.br +0 -0
- package/build/client/_app/immutable/chunks/wu_NjAkT.js.gz +0 -0
- package/build/client/_app/immutable/chunks/x63vhHzM.js +0 -1
- package/build/client/_app/immutable/chunks/x63vhHzM.js.br +0 -0
- package/build/client/_app/immutable/chunks/x63vhHzM.js.gz +0 -0
- package/build/client/_app/immutable/entry/app.uuGtI25T.js +0 -2
- package/build/client/_app/immutable/entry/app.uuGtI25T.js.br +0 -0
- package/build/client/_app/immutable/entry/app.uuGtI25T.js.gz +0 -0
- package/build/client/_app/immutable/entry/start.BSrz3Y1X.js +0 -1
- package/build/client/_app/immutable/entry/start.BSrz3Y1X.js.br +0 -0
- package/build/client/_app/immutable/entry/start.BSrz3Y1X.js.gz +0 -0
- package/build/client/_app/immutable/nodes/0.DHLw1DuY.js +0 -9
- package/build/client/_app/immutable/nodes/0.DHLw1DuY.js.br +0 -0
- package/build/client/_app/immutable/nodes/0.DHLw1DuY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/1.BuIhidhM.js +0 -1
- package/build/client/_app/immutable/nodes/1.BuIhidhM.js.br +0 -0
- package/build/client/_app/immutable/nodes/1.BuIhidhM.js.gz +0 -0
- package/build/client/_app/immutable/nodes/10.E-WSN4T5.js +0 -6
- package/build/client/_app/immutable/nodes/10.E-WSN4T5.js.br +0 -0
- package/build/client/_app/immutable/nodes/10.E-WSN4T5.js.gz +0 -0
- package/build/client/_app/immutable/nodes/11.CvugthMP.js +0 -1
- package/build/client/_app/immutable/nodes/11.CvugthMP.js.br +0 -0
- package/build/client/_app/immutable/nodes/11.CvugthMP.js.gz +0 -0
- package/build/client/_app/immutable/nodes/12.Fzr8RW6d.js +0 -10
- package/build/client/_app/immutable/nodes/12.Fzr8RW6d.js.br +0 -0
- package/build/client/_app/immutable/nodes/12.Fzr8RW6d.js.gz +0 -0
- package/build/client/_app/immutable/nodes/13.BjOr1wFE.js +0 -1
- package/build/client/_app/immutable/nodes/13.BjOr1wFE.js.br +0 -0
- package/build/client/_app/immutable/nodes/13.BjOr1wFE.js.gz +0 -0
- package/build/client/_app/immutable/nodes/14.DcPZGJeS.js +0 -3
- package/build/client/_app/immutable/nodes/14.DcPZGJeS.js.br +0 -0
- package/build/client/_app/immutable/nodes/14.DcPZGJeS.js.gz +0 -0
- package/build/client/_app/immutable/nodes/15.Bq0AXBlK.js +0 -1
- package/build/client/_app/immutable/nodes/15.Bq0AXBlK.js.br +0 -0
- package/build/client/_app/immutable/nodes/15.Bq0AXBlK.js.gz +0 -0
- package/build/client/_app/immutable/nodes/16.GK549RnR.js +0 -14
- package/build/client/_app/immutable/nodes/16.GK549RnR.js.br +0 -0
- package/build/client/_app/immutable/nodes/16.GK549RnR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/17.C6Xme4bR.js +0 -150
- package/build/client/_app/immutable/nodes/17.C6Xme4bR.js.br +0 -0
- package/build/client/_app/immutable/nodes/17.C6Xme4bR.js.gz +0 -0
- package/build/client/_app/immutable/nodes/18.DA2gN3Zp.js +0 -25
- package/build/client/_app/immutable/nodes/18.DA2gN3Zp.js.br +0 -0
- package/build/client/_app/immutable/nodes/18.DA2gN3Zp.js.gz +0 -0
- package/build/client/_app/immutable/nodes/19.OMjVNIrY.js +0 -5
- package/build/client/_app/immutable/nodes/19.OMjVNIrY.js.br +0 -0
- package/build/client/_app/immutable/nodes/19.OMjVNIrY.js.gz +0 -0
- package/build/client/_app/immutable/nodes/2.OhKE5yg3.js +0 -28
- package/build/client/_app/immutable/nodes/2.OhKE5yg3.js.br +0 -0
- package/build/client/_app/immutable/nodes/2.OhKE5yg3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/21.C2Elewbr.js +0 -4
- package/build/client/_app/immutable/nodes/21.C2Elewbr.js.br +0 -0
- package/build/client/_app/immutable/nodes/21.C2Elewbr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/22.BirH-Y0c.js +0 -1
- package/build/client/_app/immutable/nodes/22.BirH-Y0c.js.br +0 -0
- package/build/client/_app/immutable/nodes/22.BirH-Y0c.js.gz +0 -0
- package/build/client/_app/immutable/nodes/23.BQ06Ajmr.js +0 -8
- package/build/client/_app/immutable/nodes/23.BQ06Ajmr.js.br +0 -0
- package/build/client/_app/immutable/nodes/23.BQ06Ajmr.js.gz +0 -0
- package/build/client/_app/immutable/nodes/24.CyKUK8Wm.js +0 -3
- package/build/client/_app/immutable/nodes/24.CyKUK8Wm.js.br +0 -0
- package/build/client/_app/immutable/nodes/24.CyKUK8Wm.js.gz +0 -0
- package/build/client/_app/immutable/nodes/25.BfpY0ghB.js +0 -5
- package/build/client/_app/immutable/nodes/25.BfpY0ghB.js.br +0 -0
- package/build/client/_app/immutable/nodes/25.BfpY0ghB.js.gz +0 -0
- package/build/client/_app/immutable/nodes/26.Drzj3UR-.js +0 -4
- package/build/client/_app/immutable/nodes/26.Drzj3UR-.js.br +0 -0
- package/build/client/_app/immutable/nodes/26.Drzj3UR-.js.gz +0 -0
- package/build/client/_app/immutable/nodes/27.DHASVqGW.js +0 -7
- package/build/client/_app/immutable/nodes/27.DHASVqGW.js.br +0 -0
- package/build/client/_app/immutable/nodes/27.DHASVqGW.js.gz +0 -0
- package/build/client/_app/immutable/nodes/28.BNb2AUP8.js +0 -2
- package/build/client/_app/immutable/nodes/28.BNb2AUP8.js.br +0 -0
- package/build/client/_app/immutable/nodes/28.BNb2AUP8.js.gz +0 -0
- package/build/client/_app/immutable/nodes/29.jpTIxdq3.js +0 -4
- package/build/client/_app/immutable/nodes/29.jpTIxdq3.js.br +0 -0
- package/build/client/_app/immutable/nodes/29.jpTIxdq3.js.gz +0 -0
- package/build/client/_app/immutable/nodes/3.pAUOFGEO.js +0 -2
- package/build/client/_app/immutable/nodes/3.pAUOFGEO.js.br +0 -0
- package/build/client/_app/immutable/nodes/3.pAUOFGEO.js.gz +0 -0
- package/build/client/_app/immutable/nodes/30.BQ2dL-8_.js +0 -7
- package/build/client/_app/immutable/nodes/30.BQ2dL-8_.js.br +0 -0
- package/build/client/_app/immutable/nodes/30.BQ2dL-8_.js.gz +0 -0
- package/build/client/_app/immutable/nodes/31.C5KnXHFg.js +0 -23
- package/build/client/_app/immutable/nodes/31.C5KnXHFg.js.br +0 -0
- package/build/client/_app/immutable/nodes/31.C5KnXHFg.js.gz +0 -0
- package/build/client/_app/immutable/nodes/32.D5rROnzU.js +0 -3
- package/build/client/_app/immutable/nodes/32.D5rROnzU.js.br +0 -0
- package/build/client/_app/immutable/nodes/32.D5rROnzU.js.gz +0 -0
- package/build/client/_app/immutable/nodes/33.DEE9D8C0.js +0 -1
- package/build/client/_app/immutable/nodes/33.DEE9D8C0.js.br +0 -0
- package/build/client/_app/immutable/nodes/33.DEE9D8C0.js.gz +0 -0
- package/build/client/_app/immutable/nodes/34.DL3OSrSy.js +0 -6
- package/build/client/_app/immutable/nodes/34.DL3OSrSy.js.br +0 -0
- package/build/client/_app/immutable/nodes/34.DL3OSrSy.js.gz +0 -0
- package/build/client/_app/immutable/nodes/4.BtyNCyAc.js +0 -5
- package/build/client/_app/immutable/nodes/4.BtyNCyAc.js.br +0 -0
- package/build/client/_app/immutable/nodes/4.BtyNCyAc.js.gz +0 -0
- package/build/client/_app/immutable/nodes/5.Cg22lw4L.js +0 -1
- package/build/client/_app/immutable/nodes/5.Cg22lw4L.js.br +0 -0
- package/build/client/_app/immutable/nodes/5.Cg22lw4L.js.gz +0 -0
- package/build/client/_app/immutable/nodes/7.DE_eLV5y.js +0 -1
- package/build/client/_app/immutable/nodes/7.DE_eLV5y.js.br +0 -0
- package/build/client/_app/immutable/nodes/7.DE_eLV5y.js.gz +0 -0
- package/build/client/_app/immutable/nodes/8.BohzG6Ll.js +0 -2
- package/build/client/_app/immutable/nodes/8.BohzG6Ll.js.br +0 -0
- package/build/client/_app/immutable/nodes/8.BohzG6Ll.js.gz +0 -0
- package/build/client/_app/immutable/nodes/9.tKLlJBbl.js +0 -9
- package/build/client/_app/immutable/nodes/9.tKLlJBbl.js.br +0 -0
- package/build/client/_app/immutable/nodes/9.tKLlJBbl.js.gz +0 -0
- package/build/server/chunks/chunks/Activity.js-DXjVG5xT.js +0 -46
- package/build/server/chunks/chunks/ConsoleWindow.js-DEk3iKGa.js +0 -120
- package/build/server/chunks/chunks/DecisionCard.js-86G6u4pB.js +0 -2206
- package/build/server/chunks/chunks/Discussion.js-IMI0BumV.js +0 -592
- package/build/server/chunks/chunks/DocSheet.js-Bt5HhZU1.js +0 -56
- package/build/server/chunks/chunks/EtaLine.js-CKEZyLau.js +0 -98
- package/build/server/chunks/chunks/EveryProjectSwitch.js-BPz89boU.js +0 -35
- package/build/server/chunks/chunks/Icon.js-DZKsF3Gu.js +0 -129
- package/build/server/chunks/chunks/InsightsNav.js-B21jABX7.js +0 -18
- package/build/server/chunks/chunks/InstallFromGitHub.js-DTgSNvPF.js +0 -272
- package/build/server/chunks/chunks/InstallPlugin.js-Bb559YFl.js +0 -18
- package/build/server/chunks/chunks/LinkedText.js-Bto6J20h.js +0 -24
- package/build/server/chunks/chunks/MateHealthPill.js-DlhkG33B.js +0 -29
- package/build/server/chunks/chunks/MicButton.svelte_svelte_type_style_lang.js-B10vMz9A.js +0 -200
- package/build/server/chunks/chunks/OpenDecision.js-BMOUb2a9.js +0 -29
- package/build/server/chunks/chunks/PluginElement.js-B4PKHT2H.js +0 -25
- package/build/server/chunks/chunks/PluginReview.js-IaowjIyR.js +0 -110
- package/build/server/chunks/chunks/ProjectBanner.js-DbMJpMF1.js +0 -111
- package/build/server/chunks/chunks/ProjectStateMark.js-1orvBkNp.js +0 -41
- package/build/server/chunks/chunks/QuestionList.js-oQGRVAMs.js +0 -99
- package/build/server/chunks/chunks/ResizableRail.js-Clu-Wya9.js +0 -37
- package/build/server/chunks/chunks/SavedNote.js-Va92DwGU.js +0 -130
- package/build/server/chunks/chunks/SettingsNav.js-D2wjoTYl.js +0 -36
- package/build/server/chunks/chunks/Sheet.js-CkERuQ6f.js +0 -3854
- package/build/server/chunks/chunks/SlotContent.js-yg9VzqdZ.js +0 -702
- package/build/server/chunks/chunks/Switch.js-9QbNeL3W.js +0 -21
- package/build/server/chunks/chunks/TimeBar.js-Dduf0kTb.js +0 -32
- package/build/server/chunks/chunks/TimeLegend.js-L8tTH6Ey.js +0 -29
- package/build/server/chunks/chunks/WhereBadge.js-bxjlBG9F.js +0 -91
- package/build/server/chunks/chunks/aliases.svelte.js-C2TIS6Rl.js +0 -138
- package/build/server/chunks/chunks/arrow-down.js-aY_1v1NB.js +0 -18
- package/build/server/chunks/chunks/arrow-left.js-B6z6NudH.js +0 -18
- package/build/server/chunks/chunks/arrow-right.js-vz3YukWJ.js +0 -18
- package/build/server/chunks/chunks/arrow-up-right.js-B5ORjULl.js +0 -18
- package/build/server/chunks/chunks/arrow-up.js-D8v3fwUB.js +0 -18
- package/build/server/chunks/chunks/berths.js-Dg5Imxvq.js +0 -270
- package/build/server/chunks/chunks/book-open.js-CMP_t0Zr.js +0 -23
- package/build/server/chunks/chunks/bridge.js-D-xKM47V.js +0 -46
- package/build/server/chunks/chunks/buildlog.js-DHa9PZVO.js +0 -55
- package/build/server/chunks/chunks/button.js-Bg2ee8PR.js +0 -4027
- package/build/server/chunks/chunks/chat.svelte.js-Jj2-jIOn.js +0 -981
- package/build/server/chunks/chunks/check.js-BizfScOy.js +0 -15
- package/build/server/chunks/chunks/checks.js-Cn5S6WhT.js +0 -258
- package/build/server/chunks/chunks/chevron-down.js-DLf9oWYQ.js +0 -15
- package/build/server/chunks/chunks/chevron-left.js-D17b39o2.js +0 -15
- package/build/server/chunks/chunks/chevron-right.js-PPUgqXgy.js +0 -15
- package/build/server/chunks/chunks/circle-alert.js-B6F_Zxc7.js +0 -23
- package/build/server/chunks/chunks/circle-arrow-up.js-CWxi34UW.js +0 -20
- package/build/server/chunks/chunks/circle-check.js-oWgE2-Ib.js +0 -19
- package/build/server/chunks/chunks/circle-dashed.js-DCwzYTH0.js +0 -24
- package/build/server/chunks/chunks/circle-dot.js-DBkCvy7T.js +0 -18
- package/build/server/chunks/chunks/client.js-Z9ZB5A3s.js +0 -24
- package/build/server/chunks/chunks/clock.js-BRFOn_JF.js +0 -18
- package/build/server/chunks/chunks/copy.js-BTlHqk6c.js +0 -33
- package/build/server/chunks/chunks/detail.js-h2WY9B-a.js +0 -146
- package/build/server/chunks/chunks/dialog-close.js-B-uEcIR7.js +0 -42
- package/build/server/chunks/chunks/dialog-content.js-p_-FwAQn.js +0 -3356
- package/build/server/chunks/chunks/dialog.js-iAYK6Lpj.js +0 -392
- package/build/server/chunks/chunks/external-link.js-DDXtld4W.js +0 -24
- package/build/server/chunks/chunks/eye.js-BTtIKcHk.js +0 -23
- package/build/server/chunks/chunks/features.js-BNl8N8us.js +0 -124
- package/build/server/chunks/chunks/feedback.js-DtdkVGaR.js +0 -67
- package/build/server/chunks/chunks/format.js-D72dE2wD.js +0 -73
- package/build/server/chunks/chunks/gauge.js-cdrDtC-R.js +0 -18
- package/build/server/chunks/chunks/git-pull-request.js-DPwvD_k6.js +0 -20
- package/build/server/chunks/chunks/hand.js-OgzocAnn.js +0 -25
- package/build/server/chunks/chunks/index-server.js-qvYADcF_.js +0 -17
- package/build/server/chunks/chunks/index-server2.js-DMc-UvjC.js +0 -19
- package/build/server/chunks/chunks/index.js-CNAJQSM0.js +0 -1524
- package/build/server/chunks/chunks/index2.js-BuH5pXIO.js +0 -46
- package/build/server/chunks/chunks/insights.svelte.js-DJcO7VuV.js +0 -681
- package/build/server/chunks/chunks/internal.js-znYfQ1HJ.js +0 -151
- package/build/server/chunks/chunks/key-round.js-Ch8DEqV4.js +0 -26
- package/build/server/chunks/chunks/live.svelte.js-CBuX_3NN.js +0 -259
- package/build/server/chunks/chunks/loader-circle.js-B1RYi3bC.js +0 -16
- package/build/server/chunks/chunks/lock.js-NF_B51Fb.js +0 -28
- package/build/server/chunks/chunks/markdown.js-8EKwlA8M.js +0 -2656
- package/build/server/chunks/chunks/marketplace-service.js-qgfTmeMS.js +0 -557
- package/build/server/chunks/chunks/message-circle-question-mark.js-DhKP-ciZ.js +0 -25
- package/build/server/chunks/chunks/message-square.js-CrZeO0AI.js +0 -22
- package/build/server/chunks/chunks/messages-square.js-K86OwN55.js +0 -28
- package/build/server/chunks/chunks/minus.js-oy46PWoK.js +0 -15
- package/build/server/chunks/chunks/package.js-B5dZmzVs.js +0 -154
- package/build/server/chunks/chunks/page.js-C1VI5Agm.js +0 -11
- package/build/server/chunks/chunks/pencil.js-BeE-TtV_.js +0 -23
- package/build/server/chunks/chunks/phone.svelte.js-DSEWkTcb.js +0 -7
- package/build/server/chunks/chunks/play.js-CVH5Vcs2.js +0 -22
- package/build/server/chunks/chunks/plugins.js-Du4zNBUe.js +0 -58
- package/build/server/chunks/chunks/plus.js-_sWZi-RM.js +0 -15
- package/build/server/chunks/chunks/previewhelper.js-D_I_aa96.js +0 -245
- package/build/server/chunks/chunks/previewhelper2.js-pH32HExn.js +0 -165
- package/build/server/chunks/chunks/puzzle.js-DISwYPxF.js +0 -22
- package/build/server/chunks/chunks/refresh-cw.js-CbDhy8fm.js +0 -26
- package/build/server/chunks/chunks/repo.js-TzM_q4Ml.js +0 -33
- package/build/server/chunks/chunks/root.js-BMwYWidL.js +0 -3105
- package/build/server/chunks/chunks/rotate-cw.js-BPC6IxqZ.js +0 -21
- package/build/server/chunks/chunks/runtime.js-iskKh3WS.js +0 -23421
- package/build/server/chunks/chunks/scale.js-5D4jKhvV.js +0 -21
- package/build/server/chunks/chunks/search.js-D4_Ymk2F.js +0 -18
- package/build/server/chunks/chunks/service.js-B8uVAAJO.js +0 -1339
- package/build/server/chunks/chunks/service2.js-DJscZN-9.js +0 -834
- package/build/server/chunks/chunks/settings.js-jCWCFSel.js +0 -379
- package/build/server/chunks/chunks/settings2.js-CagyrW8Z.js +0 -23
- package/build/server/chunks/chunks/settings3.js-8JjZvg3U.js +0 -690
- package/build/server/chunks/chunks/shield-check.js-CDitrAGo.js +0 -23
- package/build/server/chunks/chunks/ship.js-BVQ9iFsJ.js +0 -31
- package/build/server/chunks/chunks/sparkles.js-Mcsine-_.js +0 -26
- package/build/server/chunks/chunks/square-terminal.js-CBs-sBt1.js +0 -30
- package/build/server/chunks/chunks/starter.js-CNnOITdO.js +0 -400
- package/build/server/chunks/chunks/store.js-BMO4ONBd.js +0 -332
- package/build/server/chunks/chunks/triangle-alert.js-DCXyDwgC.js +0 -25
- package/build/server/chunks/chunks/uploads.js-C85r452k.js +0 -107
- package/build/server/chunks/chunks/users-round.js-A2-sUsx0.js +0 -20
- package/build/server/chunks/chunks/utils3.js-ByN3K_WW.js +0 -3290
- package/build/server/chunks/chunks/vault.js-kx-rYEM0.js +0 -165
- package/build/server/chunks/chunks/view.js-Dt9V6vBw.js +0 -76
- package/build/server/chunks/chunks/x.js-vo5qKISo.js +0 -18
- package/build/server/chunks/entries/endpoints/api/apps/_op_/_server.ts.js-BWmPum-r.js +0 -103
- package/build/server/chunks/entries/endpoints/api/cloud/_server.ts.js-CHr6cC6-.js +0 -111
- package/build/server/chunks/entries/endpoints/api/cloud/previews/_server.ts.js-DMcUFEkU.js +0 -50
- package/build/server/chunks/entries/endpoints/api/crew/_server.ts.js--5-v-HEh.js +0 -66
- package/build/server/chunks/entries/endpoints/api/crew/messages/_server.ts.js-Hzw53ZE9.js +0 -70
- package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-DQs18R-c.js +0 -132
- package/build/server/chunks/entries/endpoints/api/features/_server.ts.js-DNgC2fr8.js +0 -54
- package/build/server/chunks/entries/endpoints/api/files/_server.ts.js-C3h1JVSm.js +0 -62
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/_server.ts.js-0fuU3CZy.js +0 -96
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/archive/_server.ts.js-BIpJu9lv.js +0 -74
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/history/_server.ts.js-1qStOVIz.js +0 -63
- package/build/server/chunks/entries/endpoints/api/firstmate/chat/search/_server.ts.js-DPB-BXzL.js +0 -57
- package/build/server/chunks/entries/endpoints/api/firstmate/commands/_server.ts.js-PQdfiXhT.js +0 -57
- package/build/server/chunks/entries/endpoints/api/firstmate/dismiss/_server.ts.js-CgwfyIcM.js +0 -58
- package/build/server/chunks/entries/endpoints/api/firstmate/input/_server.ts.js-DB-goAvl.js +0 -64
- package/build/server/chunks/entries/endpoints/api/firstmate/interrupt/_server.ts.js-vfQiQrWY.js +0 -57
- package/build/server/chunks/entries/endpoints/api/firstmate/messages/_server.ts.js-CH9cWr6L.js +0 -106
- package/build/server/chunks/entries/endpoints/api/firstmate/pick/_server.ts.js-DYIjWXk_.js +0 -67
- package/build/server/chunks/entries/endpoints/api/firstmate/reactions/_server.ts.js-Dwj64bp4.js +0 -78
- package/build/server/chunks/entries/endpoints/api/firstmate/signin/_server.ts.js-2oBSUOwH.js +0 -66
- package/build/server/chunks/entries/endpoints/api/firstmate/start/_server.ts.js-BOm196n5.js +0 -57
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_day_/_id_/_name_/_server.ts.js-CCjkymcc.js +0 -32
- package/build/server/chunks/entries/endpoints/api/firstmate/uploads/_server.ts.js-Domnv8kX.js +0 -40
- package/build/server/chunks/entries/endpoints/api/fleet/_server.ts.js-Dzh2dz63.js +0 -49
- package/build/server/chunks/entries/endpoints/api/health/_server.ts.js-BVcRcLBW.js +0 -49
- package/build/server/chunks/entries/endpoints/api/inbox/_server.ts.js-mtSppklX.js +0 -76
- package/build/server/chunks/entries/endpoints/api/inbox/following/_server.ts.js-CeMDSH3a.js +0 -74
- package/build/server/chunks/entries/endpoints/api/inbox/report/_server.ts.js-BJghUuJZ.js +0 -67
- package/build/server/chunks/entries/endpoints/api/insights/_server.ts.js-CaEPa3qc.js +0 -49
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/config/_server.ts.js-BXk4ftaK.js +0 -84
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/_server.ts.js-Cx9tobhn.js +0 -73
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/feedback/summary/_server.ts.js-CxnHx_UG.js +0 -68
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/icon/_icon_/_server.ts.js-zzleI1kG.js +0 -65
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/load/_server.ts.js-DDL6pYDf.js +0 -27
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/ui/_...path_/_server.ts.js-Cjokk0EA.js +0 -72
- package/build/server/chunks/entries/endpoints/api/plugins/_plugin_/update/_server.ts.js-DW1Y6-fs.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/_server.ts.js-C8cuYPAi.js +0 -49
- package/build/server/chunks/entries/endpoints/api/plugins/inspect/_server.ts.js-BOoflE2z.js +0 -39
- package/build/server/chunks/entries/endpoints/api/plugins/install/_server.ts.js-DdblLh1l.js +0 -42
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/_server.ts.js-aoiQJ5ui.js +0 -54
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/icon/_name_/_server.ts.js-B8dcLLk8.js +0 -63
- package/build/server/chunks/entries/endpoints/api/plugins/marketplace/registries/_server.ts.js-CBvDp3iX.js +0 -60
- package/build/server/chunks/entries/endpoints/api/plugins/roles/_server.ts.js-C1Vy8kpH.js +0 -64
- package/build/server/chunks/entries/endpoints/api/plugins/updates/_server.ts.js-D0JnNPDZ.js +0 -27
- package/build/server/chunks/entries/endpoints/api/previews/check/_server.ts.js-DyeK2SOL.js +0 -72
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/_server.ts.js-BDnl2dEb.js +0 -54
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/commands/_server.ts.js-C2YEnDJy.js +0 -63
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/consent/_server.ts.js-DYvELKvA.js +0 -75
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/draft/_server.ts.js-Bu7EKOYw.js +0 -62
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/file/_server.ts.js-Ks8nxeIT.js +0 -85
- package/build/server/chunks/entries/endpoints/api/projects/_id_/passage/test/_server.ts.js-Cj3-7RBt.js +0 -68
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/link/_server.ts.js-BKuYRWDZ.js +0 -79
- package/build/server/chunks/entries/endpoints/api/second-mates/_id_/peek/_server.ts.js-qlyQmm3t.js +0 -58
- package/build/server/chunks/entries/endpoints/api/services/_server.ts.js-b8w5BaH9.js +0 -68
- package/build/server/chunks/entries/endpoints/api/setup/_server.ts.js-CbRX-qIU.js +0 -128
- package/build/server/chunks/entries/endpoints/api/slots/_server.ts.js-DvTNqcoC.js +0 -57
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/_server.ts.js-BajPdJ_c.js +0 -54
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/artifacts/_...name_/_server.ts.js-CnqOshFr.js +0 -73
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/chat/_server.ts.js-C5v9kl6f.js +0 -98
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/diff/_server.ts.js-mRxlCUEZ.js +0 -66
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/output/_server.ts.js-QYrbIt8N.js +0 -114
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/_server.ts.js-yjFea8cM.js +0 -68
- package/build/server/chunks/entries/endpoints/api/tasks/_id_/preview/helper/_server.ts.js-NaaYRC-R.js +0 -71
- package/build/server/chunks/entries/endpoints/api/vault/_server.ts.js-B33Rq8m0.js +0 -72
- package/build/server/chunks/entries/endpoints/api/wh-events/_server.ts.js-IkzH2tH_.js +0 -84
- package/build/server/chunks/entries/endpoints/api/wheelhouse/source/_server.ts.js-GxOCpSB8.js +0 -40
- package/build/server/chunks/entries/endpoints/api/wheelhouse/update/_server.ts.js-BYjgkknY.js +0 -27
- package/build/server/chunks/entries/endpoints/api/wheelhouse/upgrade/_server.ts.js-IaA8CDCk.js +0 -27
- package/build/server/chunks/entries/endpoints/tasks/_id_/review/_server.ts.js-BmgMztzl.js +0 -53
- package/build/server/chunks/entries/fallbacks/error.svelte.js-C0-QO05E.js +0 -15
- package/build/server/chunks/entries/hooks.server.js-CqRRwrz6.js +0 -95
- package/build/server/chunks/entries/pages/_layout.server.ts.js-BwBuidlK.js +0 -54
- package/build/server/chunks/entries/pages/_layout.svelte.js-Bl5-NbQq.js +0 -5624
- package/build/server/chunks/entries/pages/_page.server.ts.js-B25LNBfB.js +0 -16
- package/build/server/chunks/entries/pages/_page.svelte.js-BlopBrAk.js +0 -3279
- package/build/server/chunks/entries/pages/crew/_page.svelte.js-BF5K8zoV.js +0 -134
- package/build/server/chunks/entries/pages/decisions/_page.server.ts.js-VoIJpJDg.js +0 -11
- package/build/server/chunks/entries/pages/decisions/_page.svelte.js-Ds4xjfuV.js +0 -202
- package/build/server/chunks/entries/pages/deck/_page.server.ts.js-D8B_Ju1Z.js +0 -16
- package/build/server/chunks/entries/pages/deck/_page.svelte.js-B3j1apFG.js +0 -107
- package/build/server/chunks/entries/pages/files/_page.server.ts.js-CybDTQNP.js +0 -17
- package/build/server/chunks/entries/pages/files/_page.svelte.js-C6FWKguz.js +0 -61
- package/build/server/chunks/entries/pages/harbour/_page.server.ts.js-CximdI4O.js +0 -46
- package/build/server/chunks/entries/pages/harbour/_page.svelte.js-osLHLxVk.js +0 -751
- package/build/server/chunks/entries/pages/headroom/_page.server.ts.js-Dnr6wtnN.js +0 -11
- package/build/server/chunks/entries/pages/headroom/_page.svelte.js-vvwNnV07.js +0 -290
- package/build/server/chunks/entries/pages/inbox/_page.server.ts.js-DjZU2DUj.js +0 -11
- package/build/server/chunks/entries/pages/inbox/_page.svelte.js-B15AVX_c.js +0 -215
- package/build/server/chunks/entries/pages/more/_page.svelte.js-DOf4Awv5.js +0 -143
- package/build/server/chunks/entries/pages/plugins/_page.svelte.js-CLdrz-XA.js +0 -676
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.server.ts.js-CA69sVMV.js +0 -16
- package/build/server/chunks/entries/pages/plugins/_plugin_/_page_/_page.svelte.js-CkcJyKQ4.js +0 -58
- package/build/server/chunks/entries/pages/projects/_id_/_page.server.ts.js-ZsfeRt8m.js +0 -23
- package/build/server/chunks/entries/pages/projects/_id_/_page.svelte.js-BTXYH5-g.js +0 -978
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.server.ts.js-B4tTrS9b.js +0 -21
- package/build/server/chunks/entries/pages/projects/_id_/_plugin_/_tab_/_page.svelte.js-CD_Blsw9.js +0 -80
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.server.ts.js-D_EEOAsF.js +0 -27
- package/build/server/chunks/entries/pages/projects/_id_/passage/_page.svelte.js-61qrv1Hx.js +0 -419
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.server.ts.js-Du3_ZEEX.js +0 -15
- package/build/server/chunks/entries/pages/projects/_id_/passage/edit/_page.svelte.js-B49gjxTM.js +0 -1866
- package/build/server/chunks/entries/pages/remotes/_page.server.ts.js-CZBDXh7w.js +0 -11
- package/build/server/chunks/entries/pages/remotes/_page.svelte.js-BKjibxGx.js +0 -335
- package/build/server/chunks/entries/pages/second-mates/_page.svelte.js-D0ng6b-W.js +0 -421
- package/build/server/chunks/entries/pages/settings/_page.server.ts.js-Cr5jVgGI.js +0 -12
- package/build/server/chunks/entries/pages/settings/chat/_page.server.ts.js-DjBwvkNT.js +0 -18
- package/build/server/chunks/entries/pages/settings/chat/_page.svelte.js-Bppo_LHG.js +0 -76
- package/build/server/chunks/entries/pages/settings/cloud/_page.svelte.js-DrJB-pyS.js +0 -15
- package/build/server/chunks/entries/pages/settings/events/_page.server.ts.js-C5XnUVOt.js +0 -16
- package/build/server/chunks/entries/pages/settings/events/_page.svelte.js-BMgyxQA5.js +0 -110
- package/build/server/chunks/entries/pages/settings/experimental/_page.server.ts.js-DvXcvQMa.js +0 -15
- package/build/server/chunks/entries/pages/settings/experimental/_page.svelte.js-DMgIFEB6.js +0 -53
- package/build/server/chunks/entries/pages/settings/firstmate/_page.server.ts.js-BUDD0h_g.js +0 -796
- package/build/server/chunks/entries/pages/settings/firstmate/_page.svelte.js-CJZx5WlZ.js +0 -253
- package/build/server/chunks/entries/pages/settings/gateway/_page.server.ts.js-VjLJiwM9.js +0 -11
- package/build/server/chunks/entries/pages/settings/gateway/_page.svelte.js-Iwfr2BCD.js +0 -247
- package/build/server/chunks/entries/pages/settings/plugins/_page.server.ts.js-uvSSB2Oi.js +0 -19
- package/build/server/chunks/entries/pages/settings/plugins/_page.svelte.js-BGjIG10E.js +0 -565
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.server.ts.js-CKiqKIDc.js +0 -17
- package/build/server/chunks/entries/pages/settings/plugins/_plugin_/_page.svelte.js-Dfi_Loha.js +0 -238
- package/build/server/chunks/entries/pages/settings/setup/_page.server.ts.js-Bs0UiYXi.js +0 -11
- package/build/server/chunks/entries/pages/settings/setup/_page.svelte.js-CLRHx36O.js +0 -55
- package/build/server/chunks/entries/pages/settings/update/_page.server.ts.js-CUlxKtsU.js +0 -11
- package/build/server/chunks/entries/pages/settings/update/_page.svelte.js-BXbaUlyB.js +0 -61
- package/build/server/chunks/entries/pages/setup/_page.server.ts.js-kecZ3ABg.js +0 -18
- package/build/server/chunks/entries/pages/setup/_page.svelte.js-Ba-ZtZ1O.js +0 -1438
- package/build/server/chunks/entries/pages/tasks/_id_/_page.server.ts.js-RTy8XT8u.js +0 -25
- package/build/server/chunks/entries/pages/tasks/_id_/_page.svelte.js-C12olDYH.js +0 -2987
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.server.ts.js-Pqf3ZwCG.js +0 -24
- package/build/server/chunks/entries/pages/tasks/_id_/doc/_page.svelte.js-luOdgI2y.js +0 -80
- package/build/server/chunks/entries/pages/time/_page.server.ts.js-CwWtq4ff.js +0 -11
- package/build/server/chunks/entries/pages/time/_page.svelte.js-Covw-Y4G.js +0 -108
- package/build/server/chunks/handler-OfGhsd7S.js +0 -1474
- package/build/server/chunks/index.js-5hwgreGG.js +0 -4296
- package/build/server/chunks/manifest.js-DWiMrbal.js +0 -788
- package/build/server/chunks/nodes/0.js-CMzJ5YpG.js +0 -57
- package/build/server/chunks/nodes/1.js-CoCqnACa.js +0 -9
- package/build/server/chunks/nodes/10.js-CV5WUHV6.js +0 -54
- package/build/server/chunks/nodes/11.js-DuaSbp-S.js +0 -9
- package/build/server/chunks/nodes/12.js-XW39r-BU.js +0 -9
- package/build/server/chunks/nodes/13.js-CNwOSurV.js +0 -54
- package/build/server/chunks/nodes/14.js-B60MQoH_.js +0 -57
- package/build/server/chunks/nodes/15.js-YPgyj4p-.js +0 -55
- package/build/server/chunks/nodes/16.js-mT1tG4MP.js +0 -56
- package/build/server/chunks/nodes/17.js-CjbiiilI.js +0 -55
- package/build/server/chunks/nodes/18.js-D0fseh8H.js +0 -26
- package/build/server/chunks/nodes/19.js-CVpld47s.js +0 -9
- package/build/server/chunks/nodes/2.js-CFdtvdkb.js +0 -54
- package/build/server/chunks/nodes/20.js-CO0jqK-v.js +0 -25
- package/build/server/chunks/nodes/21.js-DS5xmOBk.js +0 -54
- package/build/server/chunks/nodes/22.js-Bu0MnVtI.js +0 -16
- package/build/server/chunks/nodes/23.js-CD-OGmM6.js +0 -54
- package/build/server/chunks/nodes/24.js-c8wXfmlV.js +0 -25
- package/build/server/chunks/nodes/25.js-B59EsG7D.js +0 -54
- package/build/server/chunks/nodes/26.js-DkHqtg17.js +0 -26
- package/build/server/chunks/nodes/27.js-CxaZun20.js +0 -54
- package/build/server/chunks/nodes/28.js-CywEF58D.js +0 -57
- package/build/server/chunks/nodes/29.js-CZ_UpAay.js +0 -56
- package/build/server/chunks/nodes/3.js-CN1M_JdV.js +0 -9
- package/build/server/chunks/nodes/30.js-Di1OUQf9.js +0 -26
- package/build/server/chunks/nodes/31.js-Cy0B83mg.js +0 -58
- package/build/server/chunks/nodes/32.js-CnFTWdO1.js +0 -55
- package/build/server/chunks/nodes/33.js-2Yv4Z1FK.js +0 -55
- package/build/server/chunks/nodes/34.js-DnNFCPcR.js +0 -54
- package/build/server/chunks/nodes/4.js-CQm39RYP.js +0 -54
- package/build/server/chunks/nodes/5.js-CqcHx4uC.js +0 -54
- package/build/server/chunks/nodes/7.js-BsPk-yGL.js +0 -54
- package/build/server/chunks/nodes/8.js-B5oF6ymd.js +0 -59
- package/build/server/chunks/nodes/9.js-C8L8k8Gd.js +0 -54
- /package/build/client/_app/immutable/assets/{PreviewStudio.Dga9zAug.css → PreviewWindow.Dga9zAug.css} +0 -0
- /package/build/client/_app/immutable/assets/{PreviewStudio.Dga9zAug.css.br → PreviewWindow.Dga9zAug.css.br} +0 -0
- /package/build/client/_app/immutable/assets/{PreviewStudio.Dga9zAug.css.gz → PreviewWindow.Dga9zAug.css.gz} +0 -0
|
@@ -0,0 +1,3608 @@
|
|
|
1
|
+
import { ac as bind_props, ao as attr, ak as escape_html, a5 as ensure_array_like, am as attr_class, ap as stringify, a9 as spread_props, ab as clsx, _ as derived, an as attr_style, aq as await_block, a4 as attributes } from './index.js-BN7VoFTt.js';
|
|
2
|
+
import { p as page } from './index2.js-Cl1o2_mR.js';
|
|
3
|
+
import { a as ago } from './format.js-D0zBQ-fe.js';
|
|
4
|
+
import { r as resolvePicks, W as WRITTEN_MAX, n as callName, s as callRef, g as choiceLabel, t as escalated, k as awaitsAnswer, u as unpicked, w as cardContext, x as DISMISS_REASONS, y as cardTaskHref } from './inbox.js-cDDxDr-d.js';
|
|
5
|
+
import { i as inbox, s as sendToInbox } from './chat.svelte.js-s4cDi0FC.js';
|
|
6
|
+
import { C as Compass, M as Maximize_2, a as Monitor_play, p as pullRequests, b as previewChecks, u as urlKey, L as Lightbox } from './Lightbox.js-DpoVA32y.js';
|
|
7
|
+
import { D as DECIDED_MAX, c as cardForm, h as hostedAddress, p as portInHost } from './decisionform.js-BgBiAAsS.js';
|
|
8
|
+
import { L as LinkedText } from './LinkedText.js-D4nUK69y.js';
|
|
9
|
+
import { C as Circle_check } from './circle-check.js-DzKUF2Ys.js';
|
|
10
|
+
import { I as Icon } from './Icon.js-Az81fzeU.js';
|
|
11
|
+
import { C as Check } from './check.js-u88QtDUw.js';
|
|
12
|
+
import { X } from './x.js-BRTsv_gI.js';
|
|
13
|
+
import { C as Chevron_down } from './chevron-down.js-IZtPvRyD.js';
|
|
14
|
+
import { G as Git_pull_request } from './git-pull-request.js-D-9-xi1D.js';
|
|
15
|
+
import { F as File_text, m as markdown } from './markdown.js-Br6opSME.js';
|
|
16
|
+
import { r as remoteAddress } from './cloud.js-CNJrzYEH.js';
|
|
17
|
+
import { r as rewriteAddress } from './addresses.js-DmMJzvLK.js';
|
|
18
|
+
import { a as frameSandbox } from './preview.js-CbgkVvT_.js';
|
|
19
|
+
import { R as Rotate_cw } from './rotate-cw.js-DLG3iTx1.js';
|
|
20
|
+
import { E as External_link } from './external-link.js-DemDvmrY.js';
|
|
21
|
+
import { h as aboutWhat, t as timelineLines, m as mmss, i as askedTheScribe, j as plainNote, q as quickPack, k as packMessage, l as plural, S as SEVERITIES } from './livereview.js-BTYQwf2g.js';
|
|
22
|
+
import { S as SESSION_HEADER } from './messages.js-CFyGKoqq.js';
|
|
23
|
+
import { a as currentFleet } from './live.svelte.js-Bd6tXzVa.js';
|
|
24
|
+
import { p as phone } from './phone.svelte.js-Bz4rhdR6.js';
|
|
25
|
+
import { M as MAX_LINE_CHARS, j as batchText } from './previewhelper.js-DleLqGYG.js';
|
|
26
|
+
import { c as cn } from './utils3.js-TunRaort.js';
|
|
27
|
+
import { o as onDestroy } from './index-server2.js-UykXsYGu.js';
|
|
28
|
+
import { M as Message_square } from './message-square.js-BV8RqSMD.js';
|
|
29
|
+
import { P as Plus } from './plus.js-CJbj7OLA.js';
|
|
30
|
+
import { A as Arrow_up } from './arrow-up.js-Dfe5nY4C.js';
|
|
31
|
+
import { h as html } from './html.js-FW6Ia4bL.js';
|
|
32
|
+
import { s as slots } from './slots.svelte.js-CLIV5nwM.js';
|
|
33
|
+
import { s as slotKey } from './keys.js-iHygUPeb.js';
|
|
34
|
+
import { P as PluginElement, C as Circle_question_mark } from './PluginElement.js-Ccpvb7tc.js';
|
|
35
|
+
import { T as Triangle_alert } from './triangle-alert.js-Um9b6Vjy.js';
|
|
36
|
+
import { P as Play } from './play.js-6sNoKBUr.js';
|
|
37
|
+
import { d as docHref, D as DOC_EXT } from './docpath.js-D27w_pf9.js';
|
|
38
|
+
import { M as Messages_square } from './messages-square.js-BzOsP5UL.js';
|
|
39
|
+
import { C as Clock } from './clock.js-C7m5d4k7.js';
|
|
40
|
+
import { H as Hand } from './hand.js-BUWWxNTh.js';
|
|
41
|
+
import { S as Scale } from './scale.js-DV3JLJnV.js';
|
|
42
|
+
|
|
43
|
+
class AddressRewrites {
|
|
44
|
+
/** The first active rewrite's host template, such as `{port}.localhost`; null for none. */
|
|
45
|
+
to = null;
|
|
46
|
+
/** Set when this page came through Wheelhouse Cloud: addresses on the machine open on the relay instead. */
|
|
47
|
+
remote = null;
|
|
48
|
+
/** Set when Wheelhouse runs in a hosted dev environment: where it serves the ports on its computer. */
|
|
49
|
+
hosted = null;
|
|
50
|
+
/** Whether any rewrite applies. */
|
|
51
|
+
get active() {
|
|
52
|
+
return !!(this.remote || this.hosted || this.to);
|
|
53
|
+
}
|
|
54
|
+
/** `raw` as this page should open or embed it. */
|
|
55
|
+
view(raw) {
|
|
56
|
+
if (this.remote) return remoteAddress(raw, this.remote, location.origin);
|
|
57
|
+
if (this.hosted) return hostedAddress(raw, this.hosted);
|
|
58
|
+
return this.to ? rewriteAddress(raw, this.to, location) : raw;
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* An MCP app sandbox's address (on a loopback port of Wheelhouse's own, see
|
|
62
|
+
* server/apps/sandbox.ts) as this page should frame it: on the relay, or at
|
|
63
|
+
* the hosted environment's URL for its port when that is a host of its own
|
|
64
|
+
* (lib/hosted.ts portInHost), by the same rewrite as previews; else as it
|
|
65
|
+
* is. Unlike `view`, the sandbox's port is rewritten although it is
|
|
66
|
+
* Wheelhouse's own, and a plugin's rewrite never applies, so a page on this
|
|
67
|
+
* computer frames it exactly as before.
|
|
68
|
+
*/
|
|
69
|
+
sandbox(raw) {
|
|
70
|
+
if (this.remote) return remoteAddress(raw, this.remote, location.origin);
|
|
71
|
+
if (this.hosted && portInHost(this.hosted.pattern)) return hostedAddress(raw, { pattern: this.hosted.pattern });
|
|
72
|
+
return raw;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
const addressRewrites = new AddressRewrites();
|
|
76
|
+
function Bug($$renderer, $$props) {
|
|
77
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
78
|
+
const iconData = {
|
|
79
|
+
"name": "bug",
|
|
80
|
+
"size": 24,
|
|
81
|
+
"node": [
|
|
82
|
+
["path", { "d": "M12 20v-9" }],
|
|
83
|
+
[
|
|
84
|
+
"path",
|
|
85
|
+
{
|
|
86
|
+
"d": "M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z"
|
|
87
|
+
}
|
|
88
|
+
],
|
|
89
|
+
["path", { "d": "M14.12 3.88 16 2" }],
|
|
90
|
+
["path", { "d": "M21 21a4 4 0 0 0-3.81-4" }],
|
|
91
|
+
["path", { "d": "M21 5a4 4 0 0 1-3.55 3.97" }],
|
|
92
|
+
["path", { "d": "M22 13h-4" }],
|
|
93
|
+
["path", { "d": "M3 21a4 4 0 0 1 3.81-4" }],
|
|
94
|
+
["path", { "d": "M3 5a4 4 0 0 0 3.55 3.97" }],
|
|
95
|
+
["path", { "d": "M6 13H2" }],
|
|
96
|
+
["path", { "d": "m8 2 1.88 1.88" }],
|
|
97
|
+
["path", { "d": "M9 7.13V6a3 3 0 1 1 6 0v1.13" }]
|
|
98
|
+
]
|
|
99
|
+
};
|
|
100
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
101
|
+
}
|
|
102
|
+
function Circle_x($$renderer, $$props) {
|
|
103
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
104
|
+
const iconData = {
|
|
105
|
+
"name": "circle-x",
|
|
106
|
+
"size": 24,
|
|
107
|
+
"node": [
|
|
108
|
+
["circle", { "cx": "12", "cy": "12", "r": "10" }],
|
|
109
|
+
["path", { "d": "m15 9-6 6" }],
|
|
110
|
+
["path", { "d": "m9 9 6 6" }]
|
|
111
|
+
],
|
|
112
|
+
"aliases": ["x-circle"]
|
|
113
|
+
};
|
|
114
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
115
|
+
}
|
|
116
|
+
function Crosshair($$renderer, $$props) {
|
|
117
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
118
|
+
const iconData = {
|
|
119
|
+
"name": "crosshair",
|
|
120
|
+
"size": 24,
|
|
121
|
+
"node": [
|
|
122
|
+
["circle", { "cx": "12", "cy": "12", "r": "10" }],
|
|
123
|
+
["line", { "x1": "22", "x2": "18", "y1": "12", "y2": "12" }],
|
|
124
|
+
["line", { "x1": "6", "x2": "2", "y1": "12", "y2": "12" }],
|
|
125
|
+
["line", { "x1": "12", "x2": "12", "y1": "6", "y2": "2" }],
|
|
126
|
+
["line", { "x1": "12", "x2": "12", "y1": "22", "y2": "18" }]
|
|
127
|
+
]
|
|
128
|
+
};
|
|
129
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
130
|
+
}
|
|
131
|
+
function File_code($$renderer, $$props) {
|
|
132
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
133
|
+
const iconData = {
|
|
134
|
+
"name": "file-code",
|
|
135
|
+
"size": 24,
|
|
136
|
+
"node": [
|
|
137
|
+
[
|
|
138
|
+
"path",
|
|
139
|
+
{
|
|
140
|
+
"d": "M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
["path", { "d": "M14 2v5a1 1 0 0 0 1 1h5" }],
|
|
144
|
+
["path", { "d": "M10 12.5 8 15l2 2.5" }],
|
|
145
|
+
["path", { "d": "m14 12.5 2 2.5-2 2.5" }]
|
|
146
|
+
]
|
|
147
|
+
};
|
|
148
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
149
|
+
}
|
|
150
|
+
function Layout_dashboard($$renderer, $$props) {
|
|
151
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
152
|
+
const iconData = {
|
|
153
|
+
"name": "layout-dashboard",
|
|
154
|
+
"size": 24,
|
|
155
|
+
"node": [
|
|
156
|
+
[
|
|
157
|
+
"rect",
|
|
158
|
+
{ "width": "7", "height": "9", "x": "3", "y": "3", "rx": "1" }
|
|
159
|
+
],
|
|
160
|
+
[
|
|
161
|
+
"rect",
|
|
162
|
+
{ "width": "7", "height": "5", "x": "14", "y": "3", "rx": "1" }
|
|
163
|
+
],
|
|
164
|
+
[
|
|
165
|
+
"rect",
|
|
166
|
+
{ "width": "7", "height": "9", "x": "14", "y": "12", "rx": "1" }
|
|
167
|
+
],
|
|
168
|
+
[
|
|
169
|
+
"rect",
|
|
170
|
+
{ "width": "7", "height": "5", "x": "3", "y": "16", "rx": "1" }
|
|
171
|
+
]
|
|
172
|
+
]
|
|
173
|
+
};
|
|
174
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
175
|
+
}
|
|
176
|
+
function Lightbulb($$renderer, $$props) {
|
|
177
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
178
|
+
const iconData = {
|
|
179
|
+
"name": "lightbulb",
|
|
180
|
+
"size": 24,
|
|
181
|
+
"node": [
|
|
182
|
+
[
|
|
183
|
+
"path",
|
|
184
|
+
{
|
|
185
|
+
"d": "M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5"
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
["path", { "d": "M9 18h6" }],
|
|
189
|
+
["path", { "d": "M10 22h4" }]
|
|
190
|
+
]
|
|
191
|
+
};
|
|
192
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
193
|
+
}
|
|
194
|
+
function Link_2($$renderer, $$props) {
|
|
195
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
196
|
+
const iconData = {
|
|
197
|
+
"name": "link-2",
|
|
198
|
+
"size": 24,
|
|
199
|
+
"node": [
|
|
200
|
+
["path", { "d": "M9 17H7A5 5 0 0 1 7 7h2" }],
|
|
201
|
+
["path", { "d": "M15 7h2a5 5 0 1 1 0 10h-2" }],
|
|
202
|
+
["line", { "x1": "8", "x2": "16", "y1": "12", "y2": "12" }]
|
|
203
|
+
]
|
|
204
|
+
};
|
|
205
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
206
|
+
}
|
|
207
|
+
function List_checks($$renderer, $$props) {
|
|
208
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
209
|
+
const iconData = {
|
|
210
|
+
"name": "list-checks",
|
|
211
|
+
"size": 24,
|
|
212
|
+
"node": [
|
|
213
|
+
["path", { "d": "M13 5h8" }],
|
|
214
|
+
["path", { "d": "M13 12h8" }],
|
|
215
|
+
["path", { "d": "M13 19h8" }],
|
|
216
|
+
["path", { "d": "m3 17 2 2 4-4" }],
|
|
217
|
+
["path", { "d": "m3 7 2 2 4-4" }]
|
|
218
|
+
]
|
|
219
|
+
};
|
|
220
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
221
|
+
}
|
|
222
|
+
function Mic($$renderer, $$props) {
|
|
223
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
224
|
+
const iconData = {
|
|
225
|
+
"name": "mic",
|
|
226
|
+
"size": 24,
|
|
227
|
+
"node": [
|
|
228
|
+
["path", { "d": "M12 19v3" }],
|
|
229
|
+
["path", { "d": "M19 10v2a7 7 0 0 1-14 0v-2" }],
|
|
230
|
+
[
|
|
231
|
+
"rect",
|
|
232
|
+
{ "x": "9", "y": "2", "width": "6", "height": "13", "rx": "3" }
|
|
233
|
+
]
|
|
234
|
+
]
|
|
235
|
+
};
|
|
236
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
237
|
+
}
|
|
238
|
+
function Monitor_off($$renderer, $$props) {
|
|
239
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
240
|
+
const iconData = {
|
|
241
|
+
"name": "monitor-off",
|
|
242
|
+
"size": 24,
|
|
243
|
+
"node": [
|
|
244
|
+
["path", { "d": "M12 17v4" }],
|
|
245
|
+
[
|
|
246
|
+
"path",
|
|
247
|
+
{ "d": "M17 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 1.184-1.826" }
|
|
248
|
+
],
|
|
249
|
+
["path", { "d": "m2 2 20 20" }],
|
|
250
|
+
["path", { "d": "M8 21h8" }],
|
|
251
|
+
[
|
|
252
|
+
"path",
|
|
253
|
+
{ "d": "M8.656 3H20a2 2 0 0 1 2 2v10a2 2 0 0 1-.293 1.042" }
|
|
254
|
+
]
|
|
255
|
+
]
|
|
256
|
+
};
|
|
257
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
258
|
+
}
|
|
259
|
+
function Monitor($$renderer, $$props) {
|
|
260
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
261
|
+
const iconData = {
|
|
262
|
+
"name": "monitor",
|
|
263
|
+
"size": 24,
|
|
264
|
+
"node": [
|
|
265
|
+
[
|
|
266
|
+
"rect",
|
|
267
|
+
{ "width": "20", "height": "14", "x": "2", "y": "3", "rx": "2" }
|
|
268
|
+
],
|
|
269
|
+
["line", { "x1": "8", "x2": "16", "y1": "21", "y2": "21" }],
|
|
270
|
+
["line", { "x1": "12", "x2": "12", "y1": "17", "y2": "21" }]
|
|
271
|
+
]
|
|
272
|
+
};
|
|
273
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
274
|
+
}
|
|
275
|
+
function Mouse_pointer_click($$renderer, $$props) {
|
|
276
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
277
|
+
const iconData = {
|
|
278
|
+
"name": "mouse-pointer-click",
|
|
279
|
+
"size": 24,
|
|
280
|
+
"node": [
|
|
281
|
+
["path", { "d": "M14 4.1 12 6" }],
|
|
282
|
+
["path", { "d": "m5.1 8-2.9-.8" }],
|
|
283
|
+
["path", { "d": "m6 12-1.9 2" }],
|
|
284
|
+
["path", { "d": "M7.2 2.2 8 5.1" }],
|
|
285
|
+
[
|
|
286
|
+
"path",
|
|
287
|
+
{
|
|
288
|
+
"d": "M9.037 9.69a.498.498 0 0 1 .653-.653l11 4.5a.5.5 0 0 1-.074.949l-4.349 1.041a1 1 0 0 0-.74.739l-1.04 4.35a.5.5 0 0 1-.95.074z"
|
|
289
|
+
}
|
|
290
|
+
]
|
|
291
|
+
]
|
|
292
|
+
};
|
|
293
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
294
|
+
}
|
|
295
|
+
function Notebook_pen($$renderer, $$props) {
|
|
296
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
297
|
+
const iconData = {
|
|
298
|
+
"name": "notebook-pen",
|
|
299
|
+
"size": 24,
|
|
300
|
+
"node": [
|
|
301
|
+
[
|
|
302
|
+
"path",
|
|
303
|
+
{
|
|
304
|
+
"d": "M13.4 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-7.4"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
["path", { "d": "M2 6h4" }],
|
|
308
|
+
["path", { "d": "M2 10h4" }],
|
|
309
|
+
["path", { "d": "M2 14h4" }],
|
|
310
|
+
["path", { "d": "M2 18h4" }],
|
|
311
|
+
[
|
|
312
|
+
"path",
|
|
313
|
+
{
|
|
314
|
+
"d": "M21.378 5.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z"
|
|
315
|
+
}
|
|
316
|
+
]
|
|
317
|
+
]
|
|
318
|
+
};
|
|
319
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
320
|
+
}
|
|
321
|
+
function Octagon_alert($$renderer, $$props) {
|
|
322
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
323
|
+
const iconData = {
|
|
324
|
+
"name": "octagon-alert",
|
|
325
|
+
"size": 24,
|
|
326
|
+
"node": [
|
|
327
|
+
["path", { "d": "M12 16h.01" }],
|
|
328
|
+
["path", { "d": "M12 8v4" }],
|
|
329
|
+
[
|
|
330
|
+
"path",
|
|
331
|
+
{
|
|
332
|
+
"d": "M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
],
|
|
336
|
+
"aliases": ["alert-octagon"]
|
|
337
|
+
};
|
|
338
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
339
|
+
}
|
|
340
|
+
function Panel_right_close($$renderer, $$props) {
|
|
341
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
342
|
+
const iconData = {
|
|
343
|
+
"name": "panel-right-close",
|
|
344
|
+
"size": 24,
|
|
345
|
+
"node": [
|
|
346
|
+
[
|
|
347
|
+
"rect",
|
|
348
|
+
{ "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }
|
|
349
|
+
],
|
|
350
|
+
["path", { "d": "M15 3v18" }],
|
|
351
|
+
["path", { "d": "m8 9 3 3-3 3" }]
|
|
352
|
+
]
|
|
353
|
+
};
|
|
354
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
355
|
+
}
|
|
356
|
+
function Pause($$renderer, $$props) {
|
|
357
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
358
|
+
const iconData = {
|
|
359
|
+
"name": "pause",
|
|
360
|
+
"size": 24,
|
|
361
|
+
"node": [
|
|
362
|
+
[
|
|
363
|
+
"rect",
|
|
364
|
+
{ "x": "14", "y": "3", "width": "5", "height": "18", "rx": "1" }
|
|
365
|
+
],
|
|
366
|
+
[
|
|
367
|
+
"rect",
|
|
368
|
+
{ "x": "5", "y": "3", "width": "5", "height": "18", "rx": "1" }
|
|
369
|
+
]
|
|
370
|
+
]
|
|
371
|
+
};
|
|
372
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
373
|
+
}
|
|
374
|
+
function Pen_line($$renderer, $$props) {
|
|
375
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
376
|
+
const iconData = {
|
|
377
|
+
"name": "pen-line",
|
|
378
|
+
"size": 24,
|
|
379
|
+
"node": [
|
|
380
|
+
["path", { "d": "M13 21h8" }],
|
|
381
|
+
[
|
|
382
|
+
"path",
|
|
383
|
+
{
|
|
384
|
+
"d": "M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
387
|
+
],
|
|
388
|
+
"aliases": ["edit-3"]
|
|
389
|
+
};
|
|
390
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
391
|
+
}
|
|
392
|
+
function Send($$renderer, $$props) {
|
|
393
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
394
|
+
const iconData = {
|
|
395
|
+
"name": "send",
|
|
396
|
+
"size": 24,
|
|
397
|
+
"node": [
|
|
398
|
+
[
|
|
399
|
+
"path",
|
|
400
|
+
{
|
|
401
|
+
"d": "M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z"
|
|
402
|
+
}
|
|
403
|
+
],
|
|
404
|
+
["path", { "d": "m21.854 2.147-10.94 10.939" }]
|
|
405
|
+
]
|
|
406
|
+
};
|
|
407
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
408
|
+
}
|
|
409
|
+
function Sliders_horizontal($$renderer, $$props) {
|
|
410
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
411
|
+
const iconData = {
|
|
412
|
+
"name": "sliders-horizontal",
|
|
413
|
+
"size": 24,
|
|
414
|
+
"node": [
|
|
415
|
+
["path", { "d": "M10 5H3" }],
|
|
416
|
+
["path", { "d": "M12 19H3" }],
|
|
417
|
+
["path", { "d": "M14 3v4" }],
|
|
418
|
+
["path", { "d": "M16 17v4" }],
|
|
419
|
+
["path", { "d": "M21 12h-9" }],
|
|
420
|
+
["path", { "d": "M21 19h-5" }],
|
|
421
|
+
["path", { "d": "M21 5h-7" }],
|
|
422
|
+
["path", { "d": "M8 10v4" }],
|
|
423
|
+
["path", { "d": "M8 12H3" }]
|
|
424
|
+
]
|
|
425
|
+
};
|
|
426
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
427
|
+
}
|
|
428
|
+
function Square($$renderer, $$props) {
|
|
429
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
430
|
+
const iconData = {
|
|
431
|
+
"name": "square",
|
|
432
|
+
"size": 24,
|
|
433
|
+
"node": [
|
|
434
|
+
[
|
|
435
|
+
"rect",
|
|
436
|
+
{ "width": "18", "height": "18", "x": "3", "y": "3", "rx": "2" }
|
|
437
|
+
]
|
|
438
|
+
]
|
|
439
|
+
};
|
|
440
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
441
|
+
}
|
|
442
|
+
function Thumbs_up($$renderer, $$props) {
|
|
443
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
444
|
+
const iconData = {
|
|
445
|
+
"name": "thumbs-up",
|
|
446
|
+
"size": 24,
|
|
447
|
+
"node": [
|
|
448
|
+
[
|
|
449
|
+
"path",
|
|
450
|
+
{
|
|
451
|
+
"d": "M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z"
|
|
452
|
+
}
|
|
453
|
+
],
|
|
454
|
+
["path", { "d": "M7 10v12" }]
|
|
455
|
+
]
|
|
456
|
+
};
|
|
457
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
458
|
+
}
|
|
459
|
+
function Undo_2($$renderer, $$props) {
|
|
460
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
461
|
+
const iconData = {
|
|
462
|
+
"name": "undo-2",
|
|
463
|
+
"size": 24,
|
|
464
|
+
"node": [
|
|
465
|
+
["path", { "d": "M9 14 4 9l5-5" }],
|
|
466
|
+
[
|
|
467
|
+
"path",
|
|
468
|
+
{
|
|
469
|
+
"d": "M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11"
|
|
470
|
+
}
|
|
471
|
+
]
|
|
472
|
+
]
|
|
473
|
+
};
|
|
474
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
475
|
+
}
|
|
476
|
+
function Wrench($$renderer, $$props) {
|
|
477
|
+
let { $$slots, $$events, ...props } = $$props;
|
|
478
|
+
const iconData = {
|
|
479
|
+
"name": "wrench",
|
|
480
|
+
"size": 24,
|
|
481
|
+
"node": [
|
|
482
|
+
[
|
|
483
|
+
"path",
|
|
484
|
+
{
|
|
485
|
+
"d": "M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z"
|
|
486
|
+
}
|
|
487
|
+
]
|
|
488
|
+
]
|
|
489
|
+
};
|
|
490
|
+
Icon($$renderer, spread_props([props, { icon: iconData }]));
|
|
491
|
+
}
|
|
492
|
+
const problemText = {
|
|
493
|
+
unsupported: "This browser cannot turn speech into text. Chrome and Edge can; you can still type.",
|
|
494
|
+
blocked: "The microphone is blocked for Wheelhouse. Allow it from the icon in the address bar, then try again.",
|
|
495
|
+
"no-microphone": "No microphone was found. Connect one, then try again.",
|
|
496
|
+
"no-speech": "Nothing was heard. Try again a little closer to the microphone.",
|
|
497
|
+
network: "The browser’s speech service could not be reached. Check the connection and try again.",
|
|
498
|
+
failed: "Dictation stopped unexpectedly. Try again, or type instead."
|
|
499
|
+
};
|
|
500
|
+
function recognitionClass() {
|
|
501
|
+
if (typeof window === "undefined") return null;
|
|
502
|
+
const w = window;
|
|
503
|
+
return w.SpeechRecognition ?? w.webkitSpeechRecognition ?? null;
|
|
504
|
+
}
|
|
505
|
+
const webSpeechProblem = {
|
|
506
|
+
"not-allowed": "blocked",
|
|
507
|
+
"service-not-allowed": "blocked",
|
|
508
|
+
"audio-capture": "no-microphone",
|
|
509
|
+
"no-speech": "no-speech",
|
|
510
|
+
network: "network",
|
|
511
|
+
"language-not-supported": "unsupported"
|
|
512
|
+
};
|
|
513
|
+
const words = (s) => s.trim().split(/\s+/).filter(Boolean);
|
|
514
|
+
const sameWord = (a, b) => a.toLowerCase().replace(/[^\p{L}\p{N}]/gu, "") === b.toLowerCase().replace(/[^\p{L}\p{N}]/gu, "");
|
|
515
|
+
const opensWith = (all, head) => head.length <= all.length && head.every((w, i) => sameWord(w, all[i]));
|
|
516
|
+
function joinHeard(sofar, next) {
|
|
517
|
+
const before = words(sofar);
|
|
518
|
+
if (!before.length || opensWith(words(next), before)) return next;
|
|
519
|
+
return /\s$/.test(sofar) || /^\s/.test(next) ? sofar + next : `${sofar} ${next}`;
|
|
520
|
+
}
|
|
521
|
+
function afterHeard(settled, forming) {
|
|
522
|
+
const before = words(settled);
|
|
523
|
+
const guess = words(forming);
|
|
524
|
+
if (!before.length || !opensWith(guess, before)) return forming;
|
|
525
|
+
return guess.slice(before.length).join(" ");
|
|
526
|
+
}
|
|
527
|
+
const webSpeechEngine = {
|
|
528
|
+
privacyNote: "Dictation uses your browser’s speech service. In Chrome that sends what you say to Google to turn it into text, only while the microphone is on.",
|
|
529
|
+
supported: () => recognitionClass() !== null,
|
|
530
|
+
start(lang, on) {
|
|
531
|
+
const Class = recognitionClass();
|
|
532
|
+
if (!Class) {
|
|
533
|
+
on.problem("unsupported");
|
|
534
|
+
on.end();
|
|
535
|
+
return { stop() {
|
|
536
|
+
}, abort() {
|
|
537
|
+
} };
|
|
538
|
+
}
|
|
539
|
+
const r = new Class();
|
|
540
|
+
r.lang = lang;
|
|
541
|
+
r.continuous = true;
|
|
542
|
+
r.interimResults = true;
|
|
543
|
+
r.onresult = (e) => {
|
|
544
|
+
let final = "";
|
|
545
|
+
let interim = "";
|
|
546
|
+
for (let i = 0; i < e.results.length; i++) {
|
|
547
|
+
const res = e.results[i];
|
|
548
|
+
if (res.isFinal) final = joinHeard(final, res[0].transcript);
|
|
549
|
+
else interim = joinHeard(interim, res[0].transcript);
|
|
550
|
+
}
|
|
551
|
+
on.text(final, afterHeard(final, interim));
|
|
552
|
+
};
|
|
553
|
+
r.onerror = (e) => {
|
|
554
|
+
if (e.error !== "aborted") on.problem(webSpeechProblem[e.error] ?? "failed");
|
|
555
|
+
};
|
|
556
|
+
r.onend = () => on.end();
|
|
557
|
+
try {
|
|
558
|
+
r.start();
|
|
559
|
+
} catch {
|
|
560
|
+
on.problem("failed");
|
|
561
|
+
on.end();
|
|
562
|
+
}
|
|
563
|
+
return { stop: () => r.stop(), abort: () => r.abort() };
|
|
564
|
+
}
|
|
565
|
+
};
|
|
566
|
+
let current = webSpeechEngine;
|
|
567
|
+
const dictationEngine = () => current;
|
|
568
|
+
const reviewSurface = () => page.data.reviewSurface ?? null;
|
|
569
|
+
function LivePreview($$renderer, $$props) {
|
|
570
|
+
$$renderer.component(($$renderer2) => {
|
|
571
|
+
let {
|
|
572
|
+
taskId = null,
|
|
573
|
+
url: address = null,
|
|
574
|
+
compact = false,
|
|
575
|
+
fill = false,
|
|
576
|
+
desktop = false,
|
|
577
|
+
toolbar = true,
|
|
578
|
+
pointing = false,
|
|
579
|
+
pin = null,
|
|
580
|
+
onpoint,
|
|
581
|
+
onfullscreen,
|
|
582
|
+
onopen
|
|
583
|
+
/** With `fill`, the page at desktop width, scaled down to fit. */
|
|
584
|
+
/** Take the next click on the page as pointing at it (onpoint), not as a click. */
|
|
585
|
+
/** Where the captain pointed, as fractions of the frame, marked until cleared. */
|
|
586
|
+
} = $$props;
|
|
587
|
+
const DESKTOP = { w: 1280, h: 800 };
|
|
588
|
+
let height = 0;
|
|
589
|
+
const key = derived(() => taskId ?? urlKey(address ?? ""));
|
|
590
|
+
const check = derived(() => previewChecks.checks[key()] ?? null);
|
|
591
|
+
const failed = derived(() => !!previewChecks.failed[key()]);
|
|
592
|
+
const live = derived(() => check()?.state === "live");
|
|
593
|
+
const url = derived(() => check()?.url ?? null);
|
|
594
|
+
const shown = derived(() => url() && check() ? addressRewrites.view(url()) : null);
|
|
595
|
+
const sandbox = derived(() => shown() ? frameSandbox(shown(), location.origin) : "");
|
|
596
|
+
const scale = derived(() => 0);
|
|
597
|
+
const wide = derived(() => fill && desktop && scale() > 0 && scale() < 1);
|
|
598
|
+
function reload() {
|
|
599
|
+
void previewChecks.refresh(key());
|
|
600
|
+
}
|
|
601
|
+
$$renderer2.push(`<div${attr_class(`min-w-0 ${fill ? "flex h-full flex-col" : ""}`)}${attr("data-live-preview", check()?.state ?? "checking")}>`);
|
|
602
|
+
if (toolbar) {
|
|
603
|
+
$$renderer2.push(`<!--[0--><div class="flex items-center gap-2 text-xs text-muted-foreground"><span class="min-w-0 flex-1 truncate font-mono"${attr("title", url() ?? void 0)}>${escape_html(url() ?? "Live preview")}</span> `);
|
|
604
|
+
if (live() || check()?.state === "blocked" || check()?.state === "down") {
|
|
605
|
+
$$renderer2.push(`<!--[0--><button type="button" class="rounded p-1 hover:bg-accent hover:text-foreground max-md:grid max-md:size-11 max-md:place-items-center"${attr("aria-label", live() ? "Reload the preview" : "Check the preview again")}${attr("title", live() ? "Reload" : "Check again")}>`);
|
|
606
|
+
Rotate_cw($$renderer2, { class: "size-3.5" });
|
|
607
|
+
$$renderer2.push(`<!----></button>`);
|
|
608
|
+
} else {
|
|
609
|
+
$$renderer2.push("<!--[-1-->");
|
|
610
|
+
}
|
|
611
|
+
$$renderer2.push(`<!--]--> `);
|
|
612
|
+
if (live() || check()?.state === "blocked") {
|
|
613
|
+
$$renderer2.push(`<!--[0--><a${attr("href", shown())} target="_blank" rel="noreferrer" class="inline-flex shrink-0 items-center gap-1 rounded px-1 py-0.5 text-sea hover:underline max-md:min-h-11">Open in new tab`);
|
|
614
|
+
External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
615
|
+
$$renderer2.push(`<!----></a>`);
|
|
616
|
+
} else {
|
|
617
|
+
$$renderer2.push("<!--[-1-->");
|
|
618
|
+
}
|
|
619
|
+
$$renderer2.push(`<!--]--> `);
|
|
620
|
+
if (onfullscreen && live()) {
|
|
621
|
+
$$renderer2.push(`<!--[0--><button type="button" class="inline-flex shrink-0 items-center gap-1 rounded px-1.5 py-0.5 font-medium text-foreground hover:bg-accent max-md:min-h-11" data-preview-fullscreen="">`);
|
|
622
|
+
Maximize_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
623
|
+
$$renderer2.push(`<!---->Full screen</button>`);
|
|
624
|
+
} else {
|
|
625
|
+
$$renderer2.push("<!--[-1-->");
|
|
626
|
+
}
|
|
627
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
628
|
+
} else {
|
|
629
|
+
$$renderer2.push("<!--[-1-->");
|
|
630
|
+
}
|
|
631
|
+
$$renderer2.push(`<!--]--> <div${attr_class(`group relative w-full overflow-hidden bg-muted/40 ${toolbar ? "mt-1.5 rounded-lg border" : ""} ${compact ? live() ? "aspect-[16/10]" : "" : fill ? "min-h-0 flex-1" : live() ? "h-[70vh] min-h-80" : "h-40"}`)}>`);
|
|
632
|
+
if (live() && shown()) {
|
|
633
|
+
$$renderer2.push(`<!--[0--><!---->`);
|
|
634
|
+
{
|
|
635
|
+
if (compact) {
|
|
636
|
+
$$renderer2.push("<!--[0-->");
|
|
637
|
+
if (scale()) {
|
|
638
|
+
$$renderer2.push(`<!--[0--><iframe${attr("src", shown())}${attr("title", `Live preview of ${stringify(url())}`)}${attr("sandbox", sandbox())} referrerpolicy="no-referrer" loading="lazy"${attr("inert", !!onopen, true)}${attr_class(`absolute top-0 left-0 origin-top-left border-0 bg-white ${onopen ? "pointer-events-none" : ""}`)}${attr_style(`width:${stringify(DESKTOP.w)}px;height:${stringify(DESKTOP.h)}px;transform:scale(${stringify(scale())})`)}></iframe>`);
|
|
639
|
+
} else {
|
|
640
|
+
$$renderer2.push("<!--[-1-->");
|
|
641
|
+
}
|
|
642
|
+
$$renderer2.push(`<!--]--> `);
|
|
643
|
+
if (onopen) {
|
|
644
|
+
$$renderer2.push(`<!--[0--><button type="button" class="absolute inset-0 cursor-zoom-in" aria-label="Open the preview full size" data-preview-open=""><span class="absolute right-2.5 bottom-2.5 flex items-center gap-1.5 rounded-md border border-hair bg-card/95 px-2 py-1 text-xs font-medium text-foreground opacity-0 shadow-sm transition-opacity group-focus-within:opacity-100 group-hover:opacity-100">`);
|
|
645
|
+
Maximize_2($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
646
|
+
$$renderer2.push(`<!---->Open full size</span></button>`);
|
|
647
|
+
} else {
|
|
648
|
+
$$renderer2.push("<!--[-1-->");
|
|
649
|
+
}
|
|
650
|
+
$$renderer2.push(`<!--]-->`);
|
|
651
|
+
} else {
|
|
652
|
+
$$renderer2.push(`<!--[-1--><iframe${attr("src", shown())}${attr("title", `Live preview of ${stringify(url())}`)}${attr("sandbox", sandbox())} referrerpolicy="no-referrer"${attr_class(clsx(wide() ? "absolute top-0 left-0 origin-top-left border-0 bg-white" : "size-full border-0 bg-white"))}${attr_style(wide() ? `width:${DESKTOP.w}px;height:${height / scale()}px;transform:scale(${scale()})` : void 0)}></iframe> `);
|
|
653
|
+
if (pointing) {
|
|
654
|
+
$$renderer2.push(`<!--[0--><button type="button" class="absolute inset-0 cursor-crosshair bg-sea/5 ring-2 ring-sea ring-inset" aria-label="Point at part of the page" data-preview-pointing=""><span class="pointer-events-none absolute top-3 left-1/2 flex -translate-x-1/2 items-center gap-2 rounded-full bg-sea px-3.5 py-1.5 text-sm text-on-accent shadow-lg">`);
|
|
655
|
+
Mouse_pointer_click($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
656
|
+
$$renderer2.push(`<!---->Click the part you mean</span></button>`);
|
|
657
|
+
} else if (pin) {
|
|
658
|
+
$$renderer2.push(`<!--[1--><span class="pointer-events-none absolute size-5 -translate-x-1/2 -translate-y-1/2 rounded-full border-2 border-white bg-sea shadow-md ring-2 ring-sea/40"${attr_style(`left:${stringify(pin.x * 100)}%;top:${stringify(pin.y * 100)}%`)} aria-hidden="true" data-preview-pin=""></span>`);
|
|
659
|
+
} else {
|
|
660
|
+
$$renderer2.push("<!--[-1-->");
|
|
661
|
+
}
|
|
662
|
+
$$renderer2.push(`<!--]-->`);
|
|
663
|
+
}
|
|
664
|
+
$$renderer2.push(`<!--]-->`);
|
|
665
|
+
}
|
|
666
|
+
$$renderer2.push(`<!---->`);
|
|
667
|
+
} else {
|
|
668
|
+
$$renderer2.push("<!--[-1-->");
|
|
669
|
+
const checking = !check() && !failed();
|
|
670
|
+
const title = checking ? "Checking the preview…" : failed() ? "Could not check the preview" : check()?.state === "down" ? "Preview stopped" : check()?.state === "blocked" ? "Preview cannot be embedded" : check()?.state === "refused" ? "Preview not shown here" : "No live preview reported";
|
|
671
|
+
const why = checking ? "" : failed() ? "Wheelhouse did not answer; it will try again." : check()?.state === "blocked" ? `${check().reason} Open it in a new tab instead.` : check()?.reason ?? "";
|
|
672
|
+
if (compact) {
|
|
673
|
+
$$renderer2.push(`<!--[0--><div class="flex items-start gap-2.5 px-4 py-3 text-muted-foreground" data-preview-notice="">`);
|
|
674
|
+
if (!checking) {
|
|
675
|
+
$$renderer2.push("<!--[0-->");
|
|
676
|
+
Monitor_off($$renderer2, { class: "mt-0.5 size-4 shrink-0", "aria-hidden": "true" });
|
|
677
|
+
} else {
|
|
678
|
+
$$renderer2.push("<!--[-1-->");
|
|
679
|
+
}
|
|
680
|
+
$$renderer2.push(`<!--]--> <p class="min-w-0 text-sm"><span${attr_class(`font-medium ${checking ? "" : "text-foreground"}`)}>${escape_html(title)}</span> `);
|
|
681
|
+
if (why) {
|
|
682
|
+
$$renderer2.push(`<!--[0--><span class="block text-xs">${escape_html(why)}</span>`);
|
|
683
|
+
} else {
|
|
684
|
+
$$renderer2.push("<!--[-1-->");
|
|
685
|
+
}
|
|
686
|
+
$$renderer2.push(`<!--]--></p></div>`);
|
|
687
|
+
} else {
|
|
688
|
+
$$renderer2.push(`<!--[-1--><div class="grid size-full place-items-center p-4 text-center text-muted-foreground" data-preview-notice=""><div>`);
|
|
689
|
+
if (checking) {
|
|
690
|
+
$$renderer2.push(`<!--[0--><p class="text-sm">${escape_html(title)}</p>`);
|
|
691
|
+
} else {
|
|
692
|
+
$$renderer2.push("<!--[-1-->");
|
|
693
|
+
Monitor_off($$renderer2, { class: "mx-auto size-6", "aria-hidden": "true" });
|
|
694
|
+
$$renderer2.push(`<!----> <p class="mt-2 text-sm font-medium">${escape_html(title)}</p> <p class="mt-1 text-xs">${escape_html(why)}</p>`);
|
|
695
|
+
}
|
|
696
|
+
$$renderer2.push(`<!--]--></div></div>`);
|
|
697
|
+
}
|
|
698
|
+
$$renderer2.push(`<!--]-->`);
|
|
699
|
+
}
|
|
700
|
+
$$renderer2.push(`<!--]--></div></div>`);
|
|
701
|
+
bind_props($$props, { reload });
|
|
702
|
+
});
|
|
703
|
+
}
|
|
704
|
+
const liveReviewOn = () => page.data.features?.livereview === true;
|
|
705
|
+
const TAP_MS = 260;
|
|
706
|
+
const DOUBLE_TAP_MS = 450;
|
|
707
|
+
function recogniser() {
|
|
708
|
+
const w = globalThis;
|
|
709
|
+
return w.SpeechRecognition ?? w.webkitSpeechRecognition ?? null;
|
|
710
|
+
}
|
|
711
|
+
const pathOf = (u) => {
|
|
712
|
+
const x = URL.parse(u ?? "");
|
|
713
|
+
return x ? x.pathname + x.hash || "/" : u || "/";
|
|
714
|
+
};
|
|
715
|
+
class LiveReviewSession {
|
|
716
|
+
taskId;
|
|
717
|
+
title;
|
|
718
|
+
token;
|
|
719
|
+
frameUrl = null;
|
|
720
|
+
/** The preview's own address (the frame shows the recorded copy of it). */
|
|
721
|
+
previewUrl = "";
|
|
722
|
+
problem = null;
|
|
723
|
+
on = false;
|
|
724
|
+
paused = false;
|
|
725
|
+
started = 0;
|
|
726
|
+
now = 0;
|
|
727
|
+
mode = "talk";
|
|
728
|
+
speak = true;
|
|
729
|
+
mask = true;
|
|
730
|
+
shootClicks = true;
|
|
731
|
+
events = [];
|
|
732
|
+
remarks = [];
|
|
733
|
+
notes = [];
|
|
734
|
+
convo = [];
|
|
735
|
+
shots = {};
|
|
736
|
+
fresh = [];
|
|
737
|
+
heard = "";
|
|
738
|
+
page = "/";
|
|
739
|
+
talking = false;
|
|
740
|
+
locked = false;
|
|
741
|
+
hearing = null;
|
|
742
|
+
scribeSays = null;
|
|
743
|
+
notesBusy = false;
|
|
744
|
+
replyBusy = false;
|
|
745
|
+
speaking = false;
|
|
746
|
+
notice = null;
|
|
747
|
+
pack = null;
|
|
748
|
+
canHear = recogniser() !== null;
|
|
749
|
+
frame = null;
|
|
750
|
+
origin = "";
|
|
751
|
+
hover = null;
|
|
752
|
+
pageText = null;
|
|
753
|
+
ev = 0;
|
|
754
|
+
ut = 0;
|
|
755
|
+
sh = 0;
|
|
756
|
+
lastShotAt = 0;
|
|
757
|
+
rec = null;
|
|
758
|
+
cur = null;
|
|
759
|
+
pressAt = 0;
|
|
760
|
+
lastTap = 0;
|
|
761
|
+
chord = false;
|
|
762
|
+
quietEnd = false;
|
|
763
|
+
notesAgain = false;
|
|
764
|
+
replyNext = null;
|
|
765
|
+
// eslint-disable-next-line svelte/prefer-svelte-reactivity -- a private cache, never drawn
|
|
766
|
+
outlinedCache = /* @__PURE__ */ new Map();
|
|
767
|
+
clock = null;
|
|
768
|
+
constructor(task, token) {
|
|
769
|
+
this.taskId = task.id;
|
|
770
|
+
this.title = task.title;
|
|
771
|
+
this.token = token;
|
|
772
|
+
}
|
|
773
|
+
async call(body) {
|
|
774
|
+
try {
|
|
775
|
+
const r = await fetch(`/api/tasks/${encodeURIComponent(this.taskId)}/livereview`, {
|
|
776
|
+
method: "POST",
|
|
777
|
+
headers: {
|
|
778
|
+
"content-type": "application/json",
|
|
779
|
+
[SESSION_HEADER]: this.token
|
|
780
|
+
},
|
|
781
|
+
body: JSON.stringify(body)
|
|
782
|
+
});
|
|
783
|
+
const data = await r.json().catch(() => null);
|
|
784
|
+
if (!r.ok || !data) return {
|
|
785
|
+
ok: false,
|
|
786
|
+
error: data?.message ?? `Wheelhouse answered ${r.status}.`
|
|
787
|
+
};
|
|
788
|
+
return { ok: true, value: data };
|
|
789
|
+
} catch {
|
|
790
|
+
return { ok: false, error: "Could not reach the Wheelhouse server." };
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
/** Ask for the recorded copy of the preview; the page frames `frameUrl` when it is ready. */
|
|
794
|
+
async open() {
|
|
795
|
+
const r = await this.call({ action: "proxy" });
|
|
796
|
+
if (!r.ok) {
|
|
797
|
+
this.problem = r.error;
|
|
798
|
+
return;
|
|
799
|
+
}
|
|
800
|
+
this.frameUrl = r.value.url;
|
|
801
|
+
this.previewUrl = r.value.preview;
|
|
802
|
+
this.origin = new URL(r.value.url).origin;
|
|
803
|
+
}
|
|
804
|
+
attach(frame) {
|
|
805
|
+
this.frame = frame;
|
|
806
|
+
}
|
|
807
|
+
toFrame(msg) {
|
|
808
|
+
if (this.origin) this.frame?.contentWindow?.postMessage({ __wh: 1, ...msg }, this.origin);
|
|
809
|
+
}
|
|
810
|
+
get elapsed() {
|
|
811
|
+
return this.on ? this.now - this.started : 0;
|
|
812
|
+
}
|
|
813
|
+
t() {
|
|
814
|
+
return Date.now() - this.started;
|
|
815
|
+
}
|
|
816
|
+
/* ------------------------------------------------------- start and stop */
|
|
817
|
+
start() {
|
|
818
|
+
this.on = true;
|
|
819
|
+
this.paused = false;
|
|
820
|
+
this.started = Date.now();
|
|
821
|
+
this.now = this.started;
|
|
822
|
+
this.clock = setInterval(() => this.now = Date.now(), 1e3);
|
|
823
|
+
this.addEvent({ type: "start", label: `Started on ${this.page}` });
|
|
824
|
+
this.toFrame({ type: "record", on: true, mask: this.mask });
|
|
825
|
+
this.toFrame({ type: "gettext" });
|
|
826
|
+
}
|
|
827
|
+
setPaused(paused) {
|
|
828
|
+
if (!this.on || this.paused === paused) return;
|
|
829
|
+
if (paused) this.stopTalking();
|
|
830
|
+
this.paused = paused;
|
|
831
|
+
this.toFrame({ type: "record", on: !paused, mask: this.mask });
|
|
832
|
+
this.addEvent({
|
|
833
|
+
type: "pause",
|
|
834
|
+
label: paused ? "Paused the recording" : "Carried on recording"
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
setMask(mask) {
|
|
838
|
+
this.mask = mask;
|
|
839
|
+
if (this.on) this.toFrame({ type: "record", on: !this.paused, mask });
|
|
840
|
+
}
|
|
841
|
+
setMode(mode) {
|
|
842
|
+
this.mode = mode;
|
|
843
|
+
if (mode === "notes") this.hush();
|
|
844
|
+
}
|
|
845
|
+
/** Stop everything: the mic, the voice, the recorder and the clock. */
|
|
846
|
+
close() {
|
|
847
|
+
this.stopTalking(true);
|
|
848
|
+
this.hush();
|
|
849
|
+
this.toFrame({ type: "record", on: false });
|
|
850
|
+
this.on = false;
|
|
851
|
+
if (this.clock) clearInterval(this.clock);
|
|
852
|
+
}
|
|
853
|
+
stopTalking(drop = false) {
|
|
854
|
+
if (this.locked) {
|
|
855
|
+
this.quietEnd = true;
|
|
856
|
+
this.locked = false;
|
|
857
|
+
}
|
|
858
|
+
if (this.talking) this.release(drop);
|
|
859
|
+
}
|
|
860
|
+
/* --------------------------------------------- what the recorder reports */
|
|
861
|
+
addEvent(e) {
|
|
862
|
+
const ev = { id: `e${++this.ev}`, t: this.t(), page: this.page, ...e };
|
|
863
|
+
this.events.push(ev);
|
|
864
|
+
return this.events[this.events.length - 1];
|
|
865
|
+
}
|
|
866
|
+
/** A message from the window, when it is the recorded preview's. */
|
|
867
|
+
receive(e) {
|
|
868
|
+
if (!this.frame || e.source !== this.frame.contentWindow || e.origin !== this.origin) return;
|
|
869
|
+
const m = e.data;
|
|
870
|
+
if (!m || m.__wh !== 1) return;
|
|
871
|
+
if (m.type === "hello") {
|
|
872
|
+
const moved = this.on && pathOf(m.url) !== this.page;
|
|
873
|
+
this.page = pathOf(m.url);
|
|
874
|
+
if (this.on) {
|
|
875
|
+
this.toFrame({ type: "record", on: !this.paused, mask: this.mask });
|
|
876
|
+
if (moved && !this.paused) this.addEvent({ type: "nav", label: `Opened ${this.page}` });
|
|
877
|
+
}
|
|
878
|
+
return;
|
|
879
|
+
}
|
|
880
|
+
if (m.type === "key") return this.frameKey(m);
|
|
881
|
+
if (m.type === "text") {
|
|
882
|
+
this.pageText = {
|
|
883
|
+
url: m.url ?? "",
|
|
884
|
+
title: m.title ?? "",
|
|
885
|
+
text: m.text ?? "",
|
|
886
|
+
at: Date.now()
|
|
887
|
+
};
|
|
888
|
+
return;
|
|
889
|
+
}
|
|
890
|
+
if (m.type === "shot" && m.id) {
|
|
891
|
+
const s = this.shots[m.id];
|
|
892
|
+
if (!s) return;
|
|
893
|
+
this.shots = {
|
|
894
|
+
...this.shots,
|
|
895
|
+
[m.id]: {
|
|
896
|
+
...s,
|
|
897
|
+
image: m.image ?? null,
|
|
898
|
+
vw: m.vw ?? 0,
|
|
899
|
+
vh: m.vh ?? 0,
|
|
900
|
+
el: m.el ?? s.el,
|
|
901
|
+
pending: false
|
|
902
|
+
}
|
|
903
|
+
};
|
|
904
|
+
return;
|
|
905
|
+
}
|
|
906
|
+
if (!this.on || this.paused) return;
|
|
907
|
+
if (m.url) this.page = pathOf(m.url);
|
|
908
|
+
switch (m.type) {
|
|
909
|
+
case "click": {
|
|
910
|
+
const ev = this.addEvent({
|
|
911
|
+
type: "click",
|
|
912
|
+
label: `Clicked ${m.el?.label ?? "a spot on the page"}`,
|
|
913
|
+
el: m.el ?? null
|
|
914
|
+
});
|
|
915
|
+
if (this.shootClicks && Date.now() - this.lastShotAt > 900) {
|
|
916
|
+
this.lastShotAt = Date.now();
|
|
917
|
+
setTimeout(
|
|
918
|
+
() => {
|
|
919
|
+
ev.shotId = this.shoot(m.el?.selector ?? null, m.el?.text ?? null, m.at ? { ...m.at, vw: m.vw ?? 0 } : null);
|
|
920
|
+
},
|
|
921
|
+
350
|
|
922
|
+
);
|
|
923
|
+
}
|
|
924
|
+
break;
|
|
925
|
+
}
|
|
926
|
+
case "input":
|
|
927
|
+
this.addEvent({
|
|
928
|
+
type: "input",
|
|
929
|
+
label: `Typed ${m.value ? `“${m.value}”` : `${m.length ?? 0} characters`} in ${m.el?.label ?? "a box"}`,
|
|
930
|
+
el: m.el ?? null
|
|
931
|
+
});
|
|
932
|
+
break;
|
|
933
|
+
case "choose":
|
|
934
|
+
this.addEvent({
|
|
935
|
+
type: "choose",
|
|
936
|
+
label: `Set ${m.el?.label ?? "a choice"} to ${m.value}`,
|
|
937
|
+
el: m.el ?? null
|
|
938
|
+
});
|
|
939
|
+
break;
|
|
940
|
+
case "nav":
|
|
941
|
+
this.addEvent({ type: "nav", label: `Went to ${pathOf(m.url)}` });
|
|
942
|
+
this.toFrame({ type: "gettext" });
|
|
943
|
+
break;
|
|
944
|
+
case "scroll": {
|
|
945
|
+
const last = this.events[this.events.length - 1];
|
|
946
|
+
if (last?.type === "scroll" && this.t() - last.t < 4e3) {
|
|
947
|
+
last.label = `Scrolled to ${m.pct}%`;
|
|
948
|
+
last.t = this.t();
|
|
949
|
+
} else this.addEvent({ type: "scroll", label: `Scrolled to ${m.pct}%` });
|
|
950
|
+
break;
|
|
951
|
+
}
|
|
952
|
+
case "hover":
|
|
953
|
+
this.hover = m.el ? { ...m.el, t: this.t() } : null;
|
|
954
|
+
break;
|
|
955
|
+
case "error":
|
|
956
|
+
this.addEvent({
|
|
957
|
+
type: "error",
|
|
958
|
+
label: m.kind === "network" ? `Request failed: ${m.message}` : `${m.kind === "console" ? "Console error" : "Error"}: ${m.message}`
|
|
959
|
+
});
|
|
960
|
+
break;
|
|
961
|
+
}
|
|
962
|
+
}
|
|
963
|
+
/** Take a screenshot of what is in view, finding the part again (only if it still says the same). */
|
|
964
|
+
shoot(selector, text, point = null) {
|
|
965
|
+
const id2 = `s${++this.sh}`;
|
|
966
|
+
this.shots = {
|
|
967
|
+
...this.shots,
|
|
968
|
+
[id2]: {
|
|
969
|
+
id: id2,
|
|
970
|
+
t: this.t(),
|
|
971
|
+
image: null,
|
|
972
|
+
vw: 0,
|
|
973
|
+
vh: 0,
|
|
974
|
+
el: null,
|
|
975
|
+
point,
|
|
976
|
+
pending: true
|
|
977
|
+
}
|
|
978
|
+
};
|
|
979
|
+
this.toFrame({ type: "shoot", id: id2, selector, text });
|
|
980
|
+
setTimeout(
|
|
981
|
+
() => {
|
|
982
|
+
const s = this.shots[id2];
|
|
983
|
+
if (s?.pending) this.shots = { ...this.shots, [id2]: { ...s, pending: false } };
|
|
984
|
+
},
|
|
985
|
+
8e3
|
|
986
|
+
);
|
|
987
|
+
return id2;
|
|
988
|
+
}
|
|
989
|
+
/** A screenshot with the part it is about outlined and the rest dimmed; or where the click landed. */
|
|
990
|
+
outlined(shotId) {
|
|
991
|
+
const s = shotId ? this.shots[shotId] : null;
|
|
992
|
+
if (!s?.image) return Promise.resolve(null);
|
|
993
|
+
const key = `${s.id}:${s.image.length}`;
|
|
994
|
+
const known = this.outlinedCache.get(key);
|
|
995
|
+
if (known) return known;
|
|
996
|
+
const made = new Promise((resolve) => {
|
|
997
|
+
const img = new Image();
|
|
998
|
+
img.onload = () => {
|
|
999
|
+
const c = document.createElement("canvas");
|
|
1000
|
+
c.width = img.width;
|
|
1001
|
+
c.height = img.height;
|
|
1002
|
+
const g = c.getContext("2d");
|
|
1003
|
+
if (!g) return resolve(s.image);
|
|
1004
|
+
g.drawImage(img, 0, 0);
|
|
1005
|
+
const k = img.width / (s.vw || img.width);
|
|
1006
|
+
const r = s.el?.rect;
|
|
1007
|
+
if (r && r.w > 0) {
|
|
1008
|
+
const pad = 6 * k;
|
|
1009
|
+
const [x, y, w, h] = [
|
|
1010
|
+
r.x * k - pad,
|
|
1011
|
+
r.y * k - pad,
|
|
1012
|
+
r.w * k + pad * 2,
|
|
1013
|
+
r.h * k + pad * 2
|
|
1014
|
+
];
|
|
1015
|
+
g.fillStyle = "rgba(11,17,24,.38)";
|
|
1016
|
+
g.beginPath();
|
|
1017
|
+
g.rect(0, 0, c.width, c.height);
|
|
1018
|
+
g.roundRect(x, y, w, h, 6 * k);
|
|
1019
|
+
g.fill("evenodd");
|
|
1020
|
+
g.strokeStyle = "#e8b04a";
|
|
1021
|
+
g.lineWidth = Math.max(3, 3 * k);
|
|
1022
|
+
g.beginPath();
|
|
1023
|
+
g.roundRect(x, y, w, h, 6 * k);
|
|
1024
|
+
g.stroke();
|
|
1025
|
+
} else if (s.point) {
|
|
1026
|
+
const pk = img.width / (s.point.vw || s.vw || img.width);
|
|
1027
|
+
g.strokeStyle = "#e8b04a";
|
|
1028
|
+
g.lineWidth = Math.max(3, 3 * pk);
|
|
1029
|
+
g.beginPath();
|
|
1030
|
+
g.arc(s.point.x * pk, s.point.y * pk, 16 * pk, 0, Math.PI * 2);
|
|
1031
|
+
g.stroke();
|
|
1032
|
+
}
|
|
1033
|
+
resolve(c.toDataURL("image/jpeg", 0.85));
|
|
1034
|
+
};
|
|
1035
|
+
img.onerror = () => resolve(null);
|
|
1036
|
+
img.src = s.image;
|
|
1037
|
+
});
|
|
1038
|
+
this.outlinedCache.set(key, made);
|
|
1039
|
+
return made;
|
|
1040
|
+
}
|
|
1041
|
+
/* --------------------------------------------------------- push to talk */
|
|
1042
|
+
newHearing() {
|
|
1043
|
+
const hover = this.hover && this.t() - this.hover.t < 2e4 ? { ...this.hover } : null;
|
|
1044
|
+
return {
|
|
1045
|
+
t0: this.t(),
|
|
1046
|
+
t1: 0,
|
|
1047
|
+
finals: "",
|
|
1048
|
+
interim: "",
|
|
1049
|
+
hover,
|
|
1050
|
+
shotId: this.shoot(hover?.selector ?? null, hover?.text ?? null),
|
|
1051
|
+
pointShot: null
|
|
1052
|
+
};
|
|
1053
|
+
}
|
|
1054
|
+
press() {
|
|
1055
|
+
if (!this.on || this.paused || this.talking) return;
|
|
1056
|
+
this.talking = true;
|
|
1057
|
+
this.pressAt = Date.now();
|
|
1058
|
+
this.chord = false;
|
|
1059
|
+
this.hush();
|
|
1060
|
+
this.toFrame({ type: "gettext" });
|
|
1061
|
+
this.toFrame({ type: "talking", on: true });
|
|
1062
|
+
this.cur = this.newHearing();
|
|
1063
|
+
this.hearing = { finals: "", interim: "" };
|
|
1064
|
+
this.listen(this.cur);
|
|
1065
|
+
}
|
|
1066
|
+
/** Held long enough to count as talking, for the on-screen button (not a tap). */
|
|
1067
|
+
pressHeld() {
|
|
1068
|
+
this.press();
|
|
1069
|
+
this.pressAt = Date.now() - 1e3;
|
|
1070
|
+
}
|
|
1071
|
+
listen(first) {
|
|
1072
|
+
const SR = recogniser();
|
|
1073
|
+
if (!SR) return;
|
|
1074
|
+
const rec = new SR();
|
|
1075
|
+
rec.lang = navigator.language || "en-GB";
|
|
1076
|
+
rec.continuous = true;
|
|
1077
|
+
rec.interimResults = true;
|
|
1078
|
+
this.rec = rec;
|
|
1079
|
+
let u = first;
|
|
1080
|
+
rec.onresult = (e) => {
|
|
1081
|
+
let interim = "";
|
|
1082
|
+
for (let i = e.resultIndex; i < e.results.length; i++) {
|
|
1083
|
+
const r = e.results[i];
|
|
1084
|
+
if (r.isFinal) {
|
|
1085
|
+
u.finals += (u.finals ? " " : "") + r[0].transcript.trim();
|
|
1086
|
+
if (this.locked && this.rec === rec) {
|
|
1087
|
+
u.interim = "";
|
|
1088
|
+
u.t1 = this.t();
|
|
1089
|
+
this.finish(u);
|
|
1090
|
+
u = this.newHearing();
|
|
1091
|
+
this.cur = u;
|
|
1092
|
+
}
|
|
1093
|
+
} else interim += r[0].transcript;
|
|
1094
|
+
}
|
|
1095
|
+
u.interim = interim;
|
|
1096
|
+
if (!u.pointShot && this.hover && /\b(this|here|that one|these)\b/i.test(`${u.finals} ${interim}`)) {
|
|
1097
|
+
u.hover = { ...this.hover };
|
|
1098
|
+
u.pointShot = this.shoot(this.hover.selector, this.hover.text);
|
|
1099
|
+
}
|
|
1100
|
+
if (this.talking && this.cur === u) this.hearing = { finals: u.finals, interim: u.interim };
|
|
1101
|
+
};
|
|
1102
|
+
rec.onerror = (e) => {
|
|
1103
|
+
if (e.error === "not-allowed" || e.error === "service-not-allowed") this.notice = "The microphone is blocked for this page. Type to the scribe instead.";
|
|
1104
|
+
else if (e.error === "network") this.notice = "The browser’s speech service could not be reached. Type to the scribe instead.";
|
|
1105
|
+
};
|
|
1106
|
+
rec.onend = () => {
|
|
1107
|
+
if (this.talking && this.locked && this.rec === rec) {
|
|
1108
|
+
try {
|
|
1109
|
+
rec.start();
|
|
1110
|
+
} catch {
|
|
1111
|
+
}
|
|
1112
|
+
return;
|
|
1113
|
+
}
|
|
1114
|
+
if (this.rec === rec) this.rec = null;
|
|
1115
|
+
this.finish(u);
|
|
1116
|
+
};
|
|
1117
|
+
try {
|
|
1118
|
+
rec.start();
|
|
1119
|
+
} catch {
|
|
1120
|
+
this.notice = "The browser would not start listening. Type to the scribe instead.";
|
|
1121
|
+
}
|
|
1122
|
+
}
|
|
1123
|
+
release(drop = false) {
|
|
1124
|
+
if (!this.talking || !this.cur) return;
|
|
1125
|
+
this.talking = false;
|
|
1126
|
+
this.hearing = null;
|
|
1127
|
+
this.toFrame({ type: "talking", on: false });
|
|
1128
|
+
const rec = this.rec;
|
|
1129
|
+
const u = this.cur;
|
|
1130
|
+
this.rec = null;
|
|
1131
|
+
u.t1 = this.t();
|
|
1132
|
+
const stop = (how) => {
|
|
1133
|
+
try {
|
|
1134
|
+
rec?.[how]();
|
|
1135
|
+
} catch {
|
|
1136
|
+
}
|
|
1137
|
+
};
|
|
1138
|
+
const held = Date.now() - this.pressAt;
|
|
1139
|
+
if (drop || this.chord) {
|
|
1140
|
+
u.dropped = true;
|
|
1141
|
+
stop("abort");
|
|
1142
|
+
return;
|
|
1143
|
+
}
|
|
1144
|
+
if (!this.locked && held < TAP_MS && !u.finals && !u.interim) {
|
|
1145
|
+
u.dropped = true;
|
|
1146
|
+
stop("abort");
|
|
1147
|
+
if (Date.now() - this.lastTap < DOUBLE_TAP_MS) {
|
|
1148
|
+
this.lastTap = 0;
|
|
1149
|
+
this.setLocked(true);
|
|
1150
|
+
} else this.lastTap = Date.now();
|
|
1151
|
+
return;
|
|
1152
|
+
}
|
|
1153
|
+
if (rec) {
|
|
1154
|
+
stop("stop");
|
|
1155
|
+
setTimeout(() => this.finish(u), 2500);
|
|
1156
|
+
} else this.finish(u);
|
|
1157
|
+
}
|
|
1158
|
+
setLocked(on) {
|
|
1159
|
+
this.locked = on;
|
|
1160
|
+
if (on && !this.talking) this.pressHeld();
|
|
1161
|
+
else if (!on && this.talking) {
|
|
1162
|
+
this.quietEnd = true;
|
|
1163
|
+
this.release();
|
|
1164
|
+
}
|
|
1165
|
+
}
|
|
1166
|
+
/** The talk key, from this page or forwarded by the recorder: Option, alone. */
|
|
1167
|
+
keyDown() {
|
|
1168
|
+
if (!this.on) return;
|
|
1169
|
+
if (this.locked) return this.setLocked(false);
|
|
1170
|
+
this.press();
|
|
1171
|
+
}
|
|
1172
|
+
keyUp() {
|
|
1173
|
+
if (this.on && !this.locked) this.release();
|
|
1174
|
+
}
|
|
1175
|
+
/** Another key while Option is held: it was a shortcut, not talking. */
|
|
1176
|
+
chorded() {
|
|
1177
|
+
if (this.talking && !this.locked) {
|
|
1178
|
+
this.chord = true;
|
|
1179
|
+
this.release();
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
frameKey(m) {
|
|
1183
|
+
if (m.key === "Alt") {
|
|
1184
|
+
if (m.down) this.keyDown();
|
|
1185
|
+
else this.keyUp();
|
|
1186
|
+
} else if (m.key === "chord") this.chorded();
|
|
1187
|
+
}
|
|
1188
|
+
finish(u) {
|
|
1189
|
+
if (u.done || u.dropped) return;
|
|
1190
|
+
u.done = true;
|
|
1191
|
+
const text = `${u.finals} ${u.interim}`.replace(/\s+/g, " ").trim();
|
|
1192
|
+
const quiet = this.quietEnd;
|
|
1193
|
+
this.quietEnd = false;
|
|
1194
|
+
if (!text) {
|
|
1195
|
+
if (!quiet && !this.locked) this.notice = "Didn’t catch anything. Hold ⌥ Option a little longer while you talk.";
|
|
1196
|
+
return;
|
|
1197
|
+
}
|
|
1198
|
+
this.addRemark(text, u.t0, u.t1 || this.t(), u.hover, u.pointShot ?? u.shotId);
|
|
1199
|
+
}
|
|
1200
|
+
/** A typed remark, the same as a spoken one. */
|
|
1201
|
+
type(text) {
|
|
1202
|
+
const words2 = text.trim();
|
|
1203
|
+
if (!words2 || !this.on || this.paused) return;
|
|
1204
|
+
const t = this.t();
|
|
1205
|
+
this.toFrame({ type: "gettext" });
|
|
1206
|
+
const hover = this.hover;
|
|
1207
|
+
this.addRemark(words2, t - 1500, t, hover, this.shoot(hover?.selector ?? null, hover?.text ?? null));
|
|
1208
|
+
}
|
|
1209
|
+
addRemark(text, t0, t1, hover, shotId) {
|
|
1210
|
+
const a = aboutWhat(this.events, text, t0, t1, hover);
|
|
1211
|
+
const u = {
|
|
1212
|
+
id: `u${++this.ut}`,
|
|
1213
|
+
t0,
|
|
1214
|
+
t1: Math.max(t1, t0 + 600),
|
|
1215
|
+
text,
|
|
1216
|
+
page: this.page,
|
|
1217
|
+
anchor: "ev" in a ? a.ev.id : null,
|
|
1218
|
+
pointing: "pointing" in a ? a.pointing : null,
|
|
1219
|
+
shotId: "ev" in a && a.ev.shotId ? a.ev.shotId : shotId
|
|
1220
|
+
};
|
|
1221
|
+
this.remarks.push(u);
|
|
1222
|
+
this.convo.push({ who: "captain", text, t: t0, uid: u.id });
|
|
1223
|
+
this.heard = "";
|
|
1224
|
+
void this.askNotes();
|
|
1225
|
+
if (this.mode === "talk") void this.askReply(u);
|
|
1226
|
+
}
|
|
1227
|
+
/** What the remark or event `id` is about, in words, and with which screenshot. */
|
|
1228
|
+
about(n) {
|
|
1229
|
+
const u = this.remarks.find((r) => n.utterances.includes(r.id));
|
|
1230
|
+
const ev = this.events.find((e) => e.id === (n.anchor || u?.anchor));
|
|
1231
|
+
return {
|
|
1232
|
+
el: ev?.el ?? u?.pointing ?? null,
|
|
1233
|
+
shotId: ev?.shotId ?? u?.shotId ?? null,
|
|
1234
|
+
page: ev?.page ?? u?.page ?? "",
|
|
1235
|
+
t: u?.t0 ?? ev?.t ?? 0,
|
|
1236
|
+
clicked: !!ev
|
|
1237
|
+
};
|
|
1238
|
+
}
|
|
1239
|
+
/** Point the page at a part again (a note clicked). */
|
|
1240
|
+
highlight(selector) {
|
|
1241
|
+
if (selector) this.toFrame({ type: "highlight", selector });
|
|
1242
|
+
}
|
|
1243
|
+
/* ------------------------------------------------------------- the scribe */
|
|
1244
|
+
async askNotes() {
|
|
1245
|
+
if (this.notesBusy) {
|
|
1246
|
+
this.notesAgain = true;
|
|
1247
|
+
return;
|
|
1248
|
+
}
|
|
1249
|
+
this.notesBusy = true;
|
|
1250
|
+
this.notesAgain = false;
|
|
1251
|
+
const r = await this.call({
|
|
1252
|
+
action: "notes",
|
|
1253
|
+
timeline: timelineLines(this.events, this.remarks),
|
|
1254
|
+
notes: this.notes
|
|
1255
|
+
});
|
|
1256
|
+
this.notesBusy = false;
|
|
1257
|
+
if (!this.on) return;
|
|
1258
|
+
if (r.ok) {
|
|
1259
|
+
const before = new Map(this.notes.map((n) => [n.id, n.text]));
|
|
1260
|
+
this.notes = r.value.notes;
|
|
1261
|
+
this.fresh = r.value.notes.filter((n) => before.get(n.id) !== n.text).map((n) => n.id);
|
|
1262
|
+
this.heard = r.value.heard;
|
|
1263
|
+
} else this.notice = `The scribe could not take notes just then (${r.error}). It will try again with your next remark.`;
|
|
1264
|
+
if (this.notesAgain) void this.askNotes();
|
|
1265
|
+
}
|
|
1266
|
+
async askReply(u) {
|
|
1267
|
+
if (this.replyBusy) {
|
|
1268
|
+
this.replyNext = u;
|
|
1269
|
+
return;
|
|
1270
|
+
}
|
|
1271
|
+
this.replyBusy = true;
|
|
1272
|
+
for (let i = 0; i < 6 && !(this.pageText && Date.now() - this.pageText.at < 15e3); i++) await new Promise((r2) => setTimeout(r2, 100));
|
|
1273
|
+
const r = await this.call({
|
|
1274
|
+
action: "reply",
|
|
1275
|
+
said: u.text,
|
|
1276
|
+
page: this.pageText,
|
|
1277
|
+
timeline: timelineLines(this.events, this.remarks),
|
|
1278
|
+
notes: this.notes.map((n) => n.text),
|
|
1279
|
+
convo: this.convo.filter((c) => c.uid !== u.id || c.who === "scribe").map(({ who, text }) => ({ who, text }))
|
|
1280
|
+
});
|
|
1281
|
+
this.replyBusy = false;
|
|
1282
|
+
if (!this.on) return;
|
|
1283
|
+
const next = this.replyNext;
|
|
1284
|
+
this.replyNext = null;
|
|
1285
|
+
if (next) return void this.askReply(next);
|
|
1286
|
+
if (r.ok && r.value.reply) {
|
|
1287
|
+
this.convo.push({ who: "scribe", text: r.value.reply, t: this.t(), uid: u.id });
|
|
1288
|
+
this.say(r.value.reply);
|
|
1289
|
+
} else if (!r.ok) {
|
|
1290
|
+
this.convo.push({
|
|
1291
|
+
who: "scribe",
|
|
1292
|
+
text: `I couldn’t answer just then (${r.error}) but I noted what you said.`,
|
|
1293
|
+
t: this.t(),
|
|
1294
|
+
uid: u.id,
|
|
1295
|
+
error: true
|
|
1296
|
+
});
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
/** Say it: as a caption over the page, and out loud unless that is switched off. */
|
|
1300
|
+
say(text) {
|
|
1301
|
+
this.scribeSays = text;
|
|
1302
|
+
const synth = globalThis.speechSynthesis;
|
|
1303
|
+
if (!this.speak || !synth) {
|
|
1304
|
+
setTimeout(
|
|
1305
|
+
() => {
|
|
1306
|
+
if (this.scribeSays === text) this.scribeSays = null;
|
|
1307
|
+
},
|
|
1308
|
+
Math.max(4e3, text.split(" ").length * 380)
|
|
1309
|
+
);
|
|
1310
|
+
return;
|
|
1311
|
+
}
|
|
1312
|
+
synth.cancel();
|
|
1313
|
+
const ut = new SpeechSynthesisUtterance(text);
|
|
1314
|
+
const voices = synth.getVoices().filter((v) => /^en/i.test(v.lang));
|
|
1315
|
+
ut.voice = voices.find((v) => /Google UK English Female|Daniel|Serena|Kate|Samantha|Google US English/.test(v.name)) ?? voices[0] ?? null;
|
|
1316
|
+
ut.rate = 1.04;
|
|
1317
|
+
ut.onstart = () => this.speaking = true;
|
|
1318
|
+
ut.onend = ut.onerror = () => {
|
|
1319
|
+
this.speaking = false;
|
|
1320
|
+
setTimeout(
|
|
1321
|
+
() => {
|
|
1322
|
+
if (!this.speaking && this.scribeSays === text) this.scribeSays = null;
|
|
1323
|
+
},
|
|
1324
|
+
1200
|
|
1325
|
+
);
|
|
1326
|
+
};
|
|
1327
|
+
synth.speak(ut);
|
|
1328
|
+
}
|
|
1329
|
+
/** Stop the scribe talking (the captain talks over it). */
|
|
1330
|
+
hush() {
|
|
1331
|
+
globalThis.speechSynthesis?.cancel();
|
|
1332
|
+
this.speaking = false;
|
|
1333
|
+
this.scribeSays = null;
|
|
1334
|
+
}
|
|
1335
|
+
/* --------------------------------------------------------------- the pack */
|
|
1336
|
+
point(issue, i) {
|
|
1337
|
+
const n = this.notes.find((x) => issue.notes.includes(x.id));
|
|
1338
|
+
const a = n ? this.about(n) : null;
|
|
1339
|
+
const ev = this.events.find((e) => e.id === issue.anchor);
|
|
1340
|
+
return {
|
|
1341
|
+
...issue,
|
|
1342
|
+
key: `p${i}`,
|
|
1343
|
+
include: true,
|
|
1344
|
+
el: ev?.el ?? a?.el ?? null,
|
|
1345
|
+
shotId: ev?.shotId ?? a?.shotId ?? null,
|
|
1346
|
+
page: ev?.page ?? a?.page ?? "",
|
|
1347
|
+
t: a?.t ?? ev?.t ?? 0
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
view(p, from, duration) {
|
|
1351
|
+
const order = { must: 0, should: 1, could: 2, none: 3 };
|
|
1352
|
+
return {
|
|
1353
|
+
summary: p.summary,
|
|
1354
|
+
points: p.issues.map((x, i) => this.point(x, i)).sort((a, b) => order[a.severity] - order[b.severity]),
|
|
1355
|
+
openQuestions: p.openQuestions,
|
|
1356
|
+
errors: [
|
|
1357
|
+
// eslint-disable-next-line svelte/prefer-svelte-reactivity -- a local list
|
|
1358
|
+
...new Set(this.events.filter((e) => e.type === "error").map((e) => `${mmss(e.t)} on ${e.page}: ${e.label}`))
|
|
1359
|
+
],
|
|
1360
|
+
duration,
|
|
1361
|
+
from,
|
|
1362
|
+
tidying: false,
|
|
1363
|
+
better: null,
|
|
1364
|
+
tidyFailed: null,
|
|
1365
|
+
edited: false,
|
|
1366
|
+
sending: false,
|
|
1367
|
+
sent: null,
|
|
1368
|
+
error: null
|
|
1369
|
+
};
|
|
1370
|
+
}
|
|
1371
|
+
/**
|
|
1372
|
+
* End: the pack opens at once from the notes as they stand (with every
|
|
1373
|
+
* remark the scribe has not filed yet, but not the questions it answered),
|
|
1374
|
+
* and the scribe's tidier version replaces it when it arrives, unless the
|
|
1375
|
+
* captain has started editing.
|
|
1376
|
+
*/
|
|
1377
|
+
async end() {
|
|
1378
|
+
this.stopTalking();
|
|
1379
|
+
this.hush();
|
|
1380
|
+
this.paused = true;
|
|
1381
|
+
this.toFrame({ type: "record", on: false });
|
|
1382
|
+
const duration = this.t();
|
|
1383
|
+
const filed = new Set(this.notes.flatMap((n) => n.utterances));
|
|
1384
|
+
const answered = new Set(this.convo.filter((c) => c.who === "scribe" && !c.error).map((c) => c.uid));
|
|
1385
|
+
const loose = this.remarks.filter((u) => !filed.has(u.id) && !(answered.has(u.id) && askedTheScribe(u.text))).map((u, i) => plainNote(`q${i + 1}`, u, (u.anchor ? this.events.find((e) => e.id === u.anchor)?.el?.label : u.pointing?.label) ?? null));
|
|
1386
|
+
const notes = [...this.notes, ...loose];
|
|
1387
|
+
this.notes = notes;
|
|
1388
|
+
const mine = this.view(quickPack(notes, { title: this.title, duration }), "notes", duration);
|
|
1389
|
+
mine.tidying = this.remarks.length > 0;
|
|
1390
|
+
this.pack = mine;
|
|
1391
|
+
if (!mine.tidying) return;
|
|
1392
|
+
const r = await this.call({
|
|
1393
|
+
action: "pack",
|
|
1394
|
+
timeline: timelineLines(this.events, this.remarks),
|
|
1395
|
+
notes
|
|
1396
|
+
});
|
|
1397
|
+
const now = this.pack;
|
|
1398
|
+
if (!now || now.sent || now.sending) return;
|
|
1399
|
+
now.tidying = false;
|
|
1400
|
+
if (r.ok && r.value.issues?.length) {
|
|
1401
|
+
if (now.edited) now.better = r.value;
|
|
1402
|
+
else this.pack = this.view(r.value, "scribe", duration);
|
|
1403
|
+
} else now.tidyFailed = r.ok ? "no points" : r.error;
|
|
1404
|
+
}
|
|
1405
|
+
useBetter() {
|
|
1406
|
+
if (this.pack?.better) this.pack = this.view(this.pack.better, "scribe", this.pack.duration);
|
|
1407
|
+
}
|
|
1408
|
+
/** Back to the session after a look at the pack. */
|
|
1409
|
+
resume() {
|
|
1410
|
+
this.pack = null;
|
|
1411
|
+
this.setPaused(false);
|
|
1412
|
+
}
|
|
1413
|
+
stats() {
|
|
1414
|
+
return {
|
|
1415
|
+
remarks: this.remarks.length,
|
|
1416
|
+
clicks: this.events.filter((e) => e.type === "click").length,
|
|
1417
|
+
// eslint-disable-next-line svelte/prefer-svelte-reactivity -- a count
|
|
1418
|
+
pages: new Set(this.events.map((e) => e.page).filter(Boolean)).size,
|
|
1419
|
+
shots: Object.values(this.shots).filter((s) => s.image).length
|
|
1420
|
+
};
|
|
1421
|
+
}
|
|
1422
|
+
/** The message as Firstmate will get it (`files`: where the screenshots and session were kept). */
|
|
1423
|
+
message(files) {
|
|
1424
|
+
const p = this.pack;
|
|
1425
|
+
if (!p) return "";
|
|
1426
|
+
const st = this.stats();
|
|
1427
|
+
return packMessage(
|
|
1428
|
+
{ id: this.taskId, title: this.title },
|
|
1429
|
+
this.previewUrl,
|
|
1430
|
+
{ duration: p.duration, ...st },
|
|
1431
|
+
{
|
|
1432
|
+
summary: p.summary,
|
|
1433
|
+
lines: p.points.filter((x) => x.include).map((x) => ({
|
|
1434
|
+
severity: x.severity,
|
|
1435
|
+
title: x.title,
|
|
1436
|
+
detail: x.detail,
|
|
1437
|
+
where: x.el ? `${x.el.label}${x.page ? ` on ${x.page}` : ""}` : x.page ? `the page ${x.page}` : null,
|
|
1438
|
+
quote: x.quote,
|
|
1439
|
+
at: mmss(x.t),
|
|
1440
|
+
shot: x.shotId ? files ? files.shots[x.shotId] ?? null : `(screenshot ${x.shotId})` : null
|
|
1441
|
+
})),
|
|
1442
|
+
errors: p.errors,
|
|
1443
|
+
openQuestions: p.openQuestions
|
|
1444
|
+
},
|
|
1445
|
+
files?.session ?? null
|
|
1446
|
+
);
|
|
1447
|
+
}
|
|
1448
|
+
/** Keep the session and its outlined screenshots as files, then send the pack to Firstmate. */
|
|
1449
|
+
async send() {
|
|
1450
|
+
const p = this.pack;
|
|
1451
|
+
if (!p || p.sending || p.sent) return false;
|
|
1452
|
+
p.sending = true;
|
|
1453
|
+
p.error = null;
|
|
1454
|
+
const shots = {};
|
|
1455
|
+
for (const x of p.points.filter((x2) => x2.include && x2.shotId)) {
|
|
1456
|
+
const url = await this.outlined(x.shotId);
|
|
1457
|
+
if (url) shots[x.shotId] = url;
|
|
1458
|
+
}
|
|
1459
|
+
const saved = await this.call({
|
|
1460
|
+
action: "save",
|
|
1461
|
+
session: {
|
|
1462
|
+
task: { id: this.taskId, title: this.title },
|
|
1463
|
+
preview: this.previewUrl,
|
|
1464
|
+
// eslint-disable-next-line svelte/prefer-svelte-reactivity -- a timestamp
|
|
1465
|
+
startedAt: new Date(this.started).toISOString(),
|
|
1466
|
+
events: this.events,
|
|
1467
|
+
remarks: this.remarks,
|
|
1468
|
+
notes: this.notes,
|
|
1469
|
+
conversation: this.convo.map(({ who, text, t }) => ({ who, text, at: mmss(t) }))
|
|
1470
|
+
},
|
|
1471
|
+
shots
|
|
1472
|
+
});
|
|
1473
|
+
if (!saved.ok) {
|
|
1474
|
+
p.sending = false;
|
|
1475
|
+
p.error = saved.error;
|
|
1476
|
+
return false;
|
|
1477
|
+
}
|
|
1478
|
+
const sent = await sendToInbox(this.message(saved.value), this.token, this.taskId);
|
|
1479
|
+
p.sending = false;
|
|
1480
|
+
if (!sent.ok) {
|
|
1481
|
+
p.error = sent.error;
|
|
1482
|
+
return false;
|
|
1483
|
+
}
|
|
1484
|
+
p.sent = { dir: saved.value.dir };
|
|
1485
|
+
return true;
|
|
1486
|
+
}
|
|
1487
|
+
}
|
|
1488
|
+
const KEY = "wheelhouse-preview-helper";
|
|
1489
|
+
const empty = () => ({ said: [], list: [], asking: false, error: null, sent: null });
|
|
1490
|
+
const EMPTY = Object.freeze(empty());
|
|
1491
|
+
const id = () => crypto.randomUUID();
|
|
1492
|
+
class PreviewHelpers {
|
|
1493
|
+
byTask = {};
|
|
1494
|
+
loaded = false;
|
|
1495
|
+
/** Read the saved conversations once, in the browser (from onMount, never while drawing). */
|
|
1496
|
+
load() {
|
|
1497
|
+
if (this.loaded) return;
|
|
1498
|
+
this.loaded = true;
|
|
1499
|
+
try {
|
|
1500
|
+
const v = JSON.parse(localStorage.getItem(KEY) ?? "{}");
|
|
1501
|
+
if (v && typeof v === "object") {
|
|
1502
|
+
for (const c of Object.values(v)) c.asking = false;
|
|
1503
|
+
this.byTask = v;
|
|
1504
|
+
}
|
|
1505
|
+
} catch {
|
|
1506
|
+
this.byTask = {};
|
|
1507
|
+
}
|
|
1508
|
+
}
|
|
1509
|
+
save() {
|
|
1510
|
+
try {
|
|
1511
|
+
localStorage.setItem(KEY, JSON.stringify(this.byTask));
|
|
1512
|
+
} catch {
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
/** A task's conversation, for drawing: never changes anything. */
|
|
1516
|
+
view(taskId) {
|
|
1517
|
+
return this.byTask[taskId] ?? EMPTY;
|
|
1518
|
+
}
|
|
1519
|
+
of(taskId) {
|
|
1520
|
+
this.load();
|
|
1521
|
+
if (!this.byTask[taskId]) this.byTask[taskId] = empty();
|
|
1522
|
+
return this.byTask[taskId];
|
|
1523
|
+
}
|
|
1524
|
+
/** Say something to the helper, pointing at part of the page or not, and wait for its answer. */
|
|
1525
|
+
async ask(taskId, text, points, token) {
|
|
1526
|
+
const c = this.of(taskId);
|
|
1527
|
+
const words2 = text.trim();
|
|
1528
|
+
if (!words2 && !points || c.asking) return;
|
|
1529
|
+
c.said.push({
|
|
1530
|
+
id: id(),
|
|
1531
|
+
who: "captain",
|
|
1532
|
+
text: words2 || "What about this?",
|
|
1533
|
+
points
|
|
1534
|
+
});
|
|
1535
|
+
c.asking = true;
|
|
1536
|
+
c.error = null;
|
|
1537
|
+
this.save();
|
|
1538
|
+
const turns = c.said.filter((s) => !s.notice).map((s) => ({ who: s.who, text: s.text, points: s.points ?? null }));
|
|
1539
|
+
try {
|
|
1540
|
+
const r = await fetch(`/api/tasks/${encodeURIComponent(taskId)}/preview/helper`, {
|
|
1541
|
+
method: "POST",
|
|
1542
|
+
headers: { "content-type": "application/json", [SESSION_HEADER]: token },
|
|
1543
|
+
body: JSON.stringify({ turns, list: c.list.map((l) => l.text) })
|
|
1544
|
+
});
|
|
1545
|
+
const body = await r.json().catch(() => null);
|
|
1546
|
+
if (!r.ok || !body?.reply) {
|
|
1547
|
+
c.error = body?.message ?? `The helper could not answer (${r.status}).`;
|
|
1548
|
+
} else {
|
|
1549
|
+
c.said.push({
|
|
1550
|
+
id: id(),
|
|
1551
|
+
who: "helper",
|
|
1552
|
+
text: body.reply,
|
|
1553
|
+
suggest: body.suggest.map((s) => ({ text: s, added: false }))
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
} catch {
|
|
1557
|
+
c.error = "Wheelhouse could not be reached. Try again.";
|
|
1558
|
+
} finally {
|
|
1559
|
+
c.asking = false;
|
|
1560
|
+
this.save();
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
/** Put a line the helper proposed on the list, pointing where the captain pointed. */
|
|
1564
|
+
accept(taskId, saidId, i) {
|
|
1565
|
+
const c = this.of(taskId);
|
|
1566
|
+
const at = c.said.findIndex((s2) => s2.id === saidId);
|
|
1567
|
+
const s = c.said[at]?.suggest?.[i];
|
|
1568
|
+
if (!s || s.added) return;
|
|
1569
|
+
s.added = true;
|
|
1570
|
+
const asked = c.said.slice(0, at).reverse().find((x) => x.who === "captain");
|
|
1571
|
+
c.list.push({ id: id(), text: s.text, points: asked?.points ?? null });
|
|
1572
|
+
c.sent = null;
|
|
1573
|
+
this.save();
|
|
1574
|
+
}
|
|
1575
|
+
addOwn(taskId, text, points = null) {
|
|
1576
|
+
const t = text.trim().slice(0, MAX_LINE_CHARS);
|
|
1577
|
+
if (!t) return;
|
|
1578
|
+
const c = this.of(taskId);
|
|
1579
|
+
c.list.push({ id: id(), text: t, points });
|
|
1580
|
+
c.sent = null;
|
|
1581
|
+
this.save();
|
|
1582
|
+
}
|
|
1583
|
+
edit(taskId, lineId, text) {
|
|
1584
|
+
const l = this.of(taskId).list.find((x) => x.id === lineId);
|
|
1585
|
+
if (!l) return;
|
|
1586
|
+
l.text = text.slice(0, MAX_LINE_CHARS);
|
|
1587
|
+
this.save();
|
|
1588
|
+
}
|
|
1589
|
+
remove(taskId, lineId) {
|
|
1590
|
+
const c = this.of(taskId);
|
|
1591
|
+
const line = c.list.find((l) => l.id === lineId);
|
|
1592
|
+
c.list = c.list.filter((l) => l.id !== lineId);
|
|
1593
|
+
for (const s of c.said) for (const x of s.suggest ?? []) if (line && x.text === line.text) x.added = false;
|
|
1594
|
+
this.save();
|
|
1595
|
+
}
|
|
1596
|
+
/**
|
|
1597
|
+
* Send the list to Firstmate as one message about the task, which it passes
|
|
1598
|
+
* to that task's worker. Returns whether Firstmate's inbox took it.
|
|
1599
|
+
*/
|
|
1600
|
+
async send(task, url, token) {
|
|
1601
|
+
const c = this.of(task.id);
|
|
1602
|
+
const lines = c.list.filter((l) => l.text.trim());
|
|
1603
|
+
if (!lines.length) return false;
|
|
1604
|
+
c.error = null;
|
|
1605
|
+
const r = await sendToInbox(batchText(task, url, lines), token, task.id);
|
|
1606
|
+
if (!r.ok) {
|
|
1607
|
+
c.error = r.error;
|
|
1608
|
+
this.save();
|
|
1609
|
+
return false;
|
|
1610
|
+
}
|
|
1611
|
+
c.sent = {
|
|
1612
|
+
at: /* @__PURE__ */ (/* @__PURE__ */ new Date()).toISOString(),
|
|
1613
|
+
count: lines.length
|
|
1614
|
+
};
|
|
1615
|
+
const at = task.id.lastIndexOf("@");
|
|
1616
|
+
const to = at > 0 ? `second mate ${task.id.slice(at + 1)}` : "Firstmate";
|
|
1617
|
+
c.list = [];
|
|
1618
|
+
c.said.push({
|
|
1619
|
+
id: id(),
|
|
1620
|
+
who: "helper",
|
|
1621
|
+
notice: true,
|
|
1622
|
+
text: `Sent to ${to}: ${lines.length} ${lines.length === 1 ? "note" : "notes"}, which it passes to this task. Keep going if you spot more; they make a new list.`
|
|
1623
|
+
});
|
|
1624
|
+
this.save();
|
|
1625
|
+
return true;
|
|
1626
|
+
}
|
|
1627
|
+
/** Start the conversation over (the list stays). */
|
|
1628
|
+
clear(taskId) {
|
|
1629
|
+
const c = this.of(taskId);
|
|
1630
|
+
c.said = [];
|
|
1631
|
+
c.error = null;
|
|
1632
|
+
this.save();
|
|
1633
|
+
}
|
|
1634
|
+
}
|
|
1635
|
+
const previewHelpers = new PreviewHelpers();
|
|
1636
|
+
function Textarea($$renderer, $$props) {
|
|
1637
|
+
$$renderer.component(($$renderer2) => {
|
|
1638
|
+
let {
|
|
1639
|
+
ref = null,
|
|
1640
|
+
value = void 0,
|
|
1641
|
+
class: className,
|
|
1642
|
+
"data-slot": dataSlot = "textarea",
|
|
1643
|
+
$$slots,
|
|
1644
|
+
$$events,
|
|
1645
|
+
...restProps
|
|
1646
|
+
} = $$props;
|
|
1647
|
+
$$renderer2.push(`<textarea${attributes({
|
|
1648
|
+
"data-slot": dataSlot,
|
|
1649
|
+
class: clsx(cn("flex field-sizing-content min-h-16 w-full rounded-md border border-input bg-transparent px-2.5 py-2 text-base shadow-xs transition-[color,box-shadow] outline-none placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className)),
|
|
1650
|
+
...restProps
|
|
1651
|
+
})}>`);
|
|
1652
|
+
const $$body = escape_html(value);
|
|
1653
|
+
if ($$body) {
|
|
1654
|
+
$$renderer2.push(`${$$body}`);
|
|
1655
|
+
}
|
|
1656
|
+
$$renderer2.push(`</textarea>`);
|
|
1657
|
+
bind_props($$props, { ref, value });
|
|
1658
|
+
});
|
|
1659
|
+
}
|
|
1660
|
+
const STOP_GRACE_MS = 2e3;
|
|
1661
|
+
class Dictation {
|
|
1662
|
+
/** Which mic button is dictating, or last reported a problem. */
|
|
1663
|
+
owner = null;
|
|
1664
|
+
phase = "idle";
|
|
1665
|
+
startedAt = 0;
|
|
1666
|
+
problem = null;
|
|
1667
|
+
#session = null;
|
|
1668
|
+
#target = null;
|
|
1669
|
+
#grace = null;
|
|
1670
|
+
/** Whether `owner` is listening (or finishing up). */
|
|
1671
|
+
active(owner) {
|
|
1672
|
+
return this.owner === owner && this.phase !== "idle";
|
|
1673
|
+
}
|
|
1674
|
+
start(owner, target, lang = defaultLang()) {
|
|
1675
|
+
if (this.phase !== "idle") this.commit();
|
|
1676
|
+
const engine = dictationEngine();
|
|
1677
|
+
this.owner = owner;
|
|
1678
|
+
this.problem = null;
|
|
1679
|
+
if (!engine.supported()) {
|
|
1680
|
+
this.problem = "unsupported";
|
|
1681
|
+
return;
|
|
1682
|
+
}
|
|
1683
|
+
this.#target = target;
|
|
1684
|
+
target.begin();
|
|
1685
|
+
this.phase = "listening";
|
|
1686
|
+
this.startedAt = Date.now();
|
|
1687
|
+
let session = null;
|
|
1688
|
+
const mine = () => session === null || this.#session === session;
|
|
1689
|
+
session = engine.start(lang, {
|
|
1690
|
+
text: (final, interim) => {
|
|
1691
|
+
if (mine() && this.#target === target) target.show(...tidy(final, interim));
|
|
1692
|
+
},
|
|
1693
|
+
problem: (p) => {
|
|
1694
|
+
if (mine()) this.problem = p;
|
|
1695
|
+
},
|
|
1696
|
+
end: () => {
|
|
1697
|
+
if (mine() && this.#target === target) this.#settle("finish");
|
|
1698
|
+
}
|
|
1699
|
+
});
|
|
1700
|
+
if (this.#target === target) this.#session = session;
|
|
1701
|
+
}
|
|
1702
|
+
/** Stop listening; the last words still arrive, then the box keeps them. */
|
|
1703
|
+
stop() {
|
|
1704
|
+
if (this.phase !== "listening") return;
|
|
1705
|
+
this.phase = "stopping";
|
|
1706
|
+
this.#session?.stop();
|
|
1707
|
+
this.#grace = setTimeout(() => this.#settle("finish"), STOP_GRACE_MS);
|
|
1708
|
+
}
|
|
1709
|
+
/** Keep what is shown now and stop listening. */
|
|
1710
|
+
commit() {
|
|
1711
|
+
if (this.phase !== "idle") this.#settle("finish");
|
|
1712
|
+
}
|
|
1713
|
+
/** Stop listening and put the box back as it was. */
|
|
1714
|
+
cancel() {
|
|
1715
|
+
if (this.phase !== "idle") this.#settle("revert");
|
|
1716
|
+
}
|
|
1717
|
+
dismiss() {
|
|
1718
|
+
this.problem = null;
|
|
1719
|
+
}
|
|
1720
|
+
#settle(how) {
|
|
1721
|
+
const session = this.#session;
|
|
1722
|
+
const target = this.#target;
|
|
1723
|
+
this.#session = null;
|
|
1724
|
+
this.#target = null;
|
|
1725
|
+
if (this.#grace) clearTimeout(this.#grace);
|
|
1726
|
+
this.#grace = null;
|
|
1727
|
+
this.phase = "idle";
|
|
1728
|
+
session?.abort();
|
|
1729
|
+
target?.[how]();
|
|
1730
|
+
}
|
|
1731
|
+
}
|
|
1732
|
+
const dictation = new Dictation();
|
|
1733
|
+
function defaultLang() {
|
|
1734
|
+
return typeof navigator !== "undefined" && navigator.language ? navigator.language : "en-US";
|
|
1735
|
+
}
|
|
1736
|
+
function tidy(final, interim) {
|
|
1737
|
+
const settled = final.replace(/\s+/g, " ").trim();
|
|
1738
|
+
const forming = interim.replace(/\s+/g, " ").trim();
|
|
1739
|
+
return [settled, settled && forming ? ` ${forming}` : forming];
|
|
1740
|
+
}
|
|
1741
|
+
const lead = (before) => before && !/\s$/.test(before) ? " " : "";
|
|
1742
|
+
const trail = (after) => /^[\p{L}\p{N}]/u.test(after) ? " " : "";
|
|
1743
|
+
function fieldTarget(el) {
|
|
1744
|
+
let original = "";
|
|
1745
|
+
let before = "";
|
|
1746
|
+
let after = "";
|
|
1747
|
+
let shown = false;
|
|
1748
|
+
const write = (value, caret) => {
|
|
1749
|
+
el.value = value;
|
|
1750
|
+
try {
|
|
1751
|
+
el.setSelectionRange(caret, caret);
|
|
1752
|
+
} catch {
|
|
1753
|
+
}
|
|
1754
|
+
el.dispatchEvent(new Event("input", { bubbles: true }));
|
|
1755
|
+
};
|
|
1756
|
+
return {
|
|
1757
|
+
begin() {
|
|
1758
|
+
original = el.value;
|
|
1759
|
+
const s = el.selectionStart ?? original.length;
|
|
1760
|
+
const e = el.selectionEnd ?? s;
|
|
1761
|
+
before = original.slice(0, s);
|
|
1762
|
+
after = original.slice(e);
|
|
1763
|
+
shown = false;
|
|
1764
|
+
},
|
|
1765
|
+
show(settled, forming) {
|
|
1766
|
+
const text = settled + forming;
|
|
1767
|
+
if (!text) return;
|
|
1768
|
+
const head = before + lead(before) + text;
|
|
1769
|
+
write(head + trail(after) + after, head.length);
|
|
1770
|
+
shown = true;
|
|
1771
|
+
},
|
|
1772
|
+
// The words are already in the box.
|
|
1773
|
+
finish() {
|
|
1774
|
+
},
|
|
1775
|
+
revert() {
|
|
1776
|
+
if (shown) write(original, before.length);
|
|
1777
|
+
shown = false;
|
|
1778
|
+
}
|
|
1779
|
+
};
|
|
1780
|
+
}
|
|
1781
|
+
function editableTarget(editor, changed) {
|
|
1782
|
+
let span = null;
|
|
1783
|
+
let replaced = null;
|
|
1784
|
+
let space = "";
|
|
1785
|
+
const caretAfter = (n) => {
|
|
1786
|
+
const r = document.createRange();
|
|
1787
|
+
r.setStartAfter(n);
|
|
1788
|
+
r.collapse(true);
|
|
1789
|
+
const sel = window.getSelection();
|
|
1790
|
+
sel?.removeAllRanges();
|
|
1791
|
+
sel?.addRange(r);
|
|
1792
|
+
};
|
|
1793
|
+
return {
|
|
1794
|
+
begin() {
|
|
1795
|
+
const sel = window.getSelection();
|
|
1796
|
+
let range;
|
|
1797
|
+
if (sel?.rangeCount && editor.contains(sel.getRangeAt(0).startContainer)) {
|
|
1798
|
+
range = sel.getRangeAt(0);
|
|
1799
|
+
replaced = range.extractContents();
|
|
1800
|
+
} else {
|
|
1801
|
+
range = document.createRange();
|
|
1802
|
+
range.selectNodeContents(editor);
|
|
1803
|
+
range.collapse(false);
|
|
1804
|
+
replaced = null;
|
|
1805
|
+
}
|
|
1806
|
+
const head = document.createRange();
|
|
1807
|
+
head.setStart(editor, 0);
|
|
1808
|
+
head.setEnd(range.startContainer, range.startOffset);
|
|
1809
|
+
space = lead(head.toString().replace(/\u00a0/g, " "));
|
|
1810
|
+
span = document.createElement("span");
|
|
1811
|
+
span.dataset.dictation = "";
|
|
1812
|
+
range.insertNode(span);
|
|
1813
|
+
},
|
|
1814
|
+
show(settled, forming) {
|
|
1815
|
+
if (!span) return;
|
|
1816
|
+
const words2 = document.createTextNode(settled || forming ? space + settled : "");
|
|
1817
|
+
const guess = document.createElement("span");
|
|
1818
|
+
guess.className = "dictation-forming";
|
|
1819
|
+
guess.textContent = forming;
|
|
1820
|
+
span.replaceChildren(words2, ...forming ? [guess] : []);
|
|
1821
|
+
},
|
|
1822
|
+
finish() {
|
|
1823
|
+
if (!span) return;
|
|
1824
|
+
const text = span.textContent ?? "";
|
|
1825
|
+
if (text) {
|
|
1826
|
+
const node = document.createTextNode(text);
|
|
1827
|
+
span.replaceWith(node);
|
|
1828
|
+
if (editor.contains(document.activeElement) || document.activeElement === editor) caretAfter(node);
|
|
1829
|
+
} else span.replaceWith(replaced ?? "");
|
|
1830
|
+
span = null;
|
|
1831
|
+
replaced = null;
|
|
1832
|
+
},
|
|
1833
|
+
revert() {
|
|
1834
|
+
span?.replaceWith(replaced ?? "");
|
|
1835
|
+
span = null;
|
|
1836
|
+
replaced = null;
|
|
1837
|
+
}
|
|
1838
|
+
};
|
|
1839
|
+
}
|
|
1840
|
+
function MicButton($$renderer, $$props) {
|
|
1841
|
+
$$renderer.component(($$renderer2) => {
|
|
1842
|
+
let {
|
|
1843
|
+
field,
|
|
1844
|
+
target,
|
|
1845
|
+
label = "Dictate",
|
|
1846
|
+
size = "md",
|
|
1847
|
+
disabled = false,
|
|
1848
|
+
listening = false
|
|
1849
|
+
/** The box the keyboard shortcut works in. */
|
|
1850
|
+
/** Where the words go, made fresh for each dictation. */
|
|
1851
|
+
/** Out: whether this button is dictating, so the box can make room for the timer. */
|
|
1852
|
+
} = $$props;
|
|
1853
|
+
const owner = {};
|
|
1854
|
+
const stopping = derived(() => listening && dictation.phase === "stopping");
|
|
1855
|
+
const problem = derived(() => dictation.owner === owner ? dictation.problem : null);
|
|
1856
|
+
let now = Date.now();
|
|
1857
|
+
let shortcut = "Ctrl+Shift+Space";
|
|
1858
|
+
const elapsed = derived(() => {
|
|
1859
|
+
const s = Math.max(0, Math.floor((now - dictation.startedAt) / 1e3));
|
|
1860
|
+
return `${Math.floor(s / 60)}:${String(s % 60).padStart(2, "0")}`;
|
|
1861
|
+
});
|
|
1862
|
+
onDestroy(() => {
|
|
1863
|
+
if (dictation.active(owner)) dictation.commit();
|
|
1864
|
+
});
|
|
1865
|
+
$$renderer2.push(`<span class="relative inline-flex shrink-0 items-center gap-1.5 svelte-1uxx7q9">`);
|
|
1866
|
+
if (listening) {
|
|
1867
|
+
$$renderer2.push(`<!--[0--><span class="tabular text-xs text-muted-foreground svelte-1uxx7q9" data-dictation-time="">${escape_html(stopping() ? "Finishing…" : elapsed())}</span>`);
|
|
1868
|
+
} else {
|
|
1869
|
+
$$renderer2.push("<!--[-1-->");
|
|
1870
|
+
}
|
|
1871
|
+
$$renderer2.push(`<!--]--> <button type="button"${attr("aria-label", listening ? "Stop dictating" : label)}${attr("aria-pressed", listening)}${attr("title", listening ? "Stop dictating · Esc cancels" : `${label} (${shortcut}; hold for push-to-talk)`)}${attr("disabled", disabled, true)}${attr("data-dictating", listening ? "" : void 0)}${attr_class(
|
|
1872
|
+
`mic flex shrink-0 cursor-pointer items-center justify-center rounded-full transition-colors disabled:cursor-not-allowed disabled:opacity-30 ${size === "md" ? "size-9 max-md:size-11" : `size-7 ${phone.current ? "touch-target" : ""}`} ${listening ? "bg-danger/10 text-danger" : "text-muted-foreground hover:bg-muted hover:text-foreground"}`,
|
|
1873
|
+
"svelte-1uxx7q9"
|
|
1874
|
+
)}>`);
|
|
1875
|
+
if (listening) {
|
|
1876
|
+
$$renderer2.push("<!--[0-->");
|
|
1877
|
+
Square($$renderer2, {
|
|
1878
|
+
class: size === "md" ? "size-3.5 fill-current" : "size-3 fill-current"
|
|
1879
|
+
});
|
|
1880
|
+
} else {
|
|
1881
|
+
$$renderer2.push("<!--[-1-->");
|
|
1882
|
+
Mic($$renderer2, { class: size === "md" ? "size-4.5" : "size-4" });
|
|
1883
|
+
}
|
|
1884
|
+
$$renderer2.push(`<!--]--></button> <span class="sr-only svelte-1uxx7q9" aria-live="polite">${escape_html(listening ? "Listening" : "")}</span> `);
|
|
1885
|
+
if (problem()) {
|
|
1886
|
+
$$renderer2.push(`<!--[1--><div class="absolute right-0 bottom-full z-30 mb-2 flex w-72 items-start gap-2 rounded-md border bg-popover p-3 text-left text-xs leading-relaxed text-popover-foreground shadow-md svelte-1uxx7q9" role="alert" data-dictation-problem=""><p class="min-w-0 flex-1 svelte-1uxx7q9">${escape_html(problemText[problem()])}</p> <button type="button" class="-m-1 rounded-sm p-1 text-muted-foreground hover:text-foreground svelte-1uxx7q9" aria-label="Dismiss">`);
|
|
1887
|
+
X($$renderer2, { class: "size-3.5" });
|
|
1888
|
+
$$renderer2.push(`<!----></button></div>`);
|
|
1889
|
+
} else {
|
|
1890
|
+
$$renderer2.push("<!--[-1-->");
|
|
1891
|
+
}
|
|
1892
|
+
$$renderer2.push(`<!--]--></span>`);
|
|
1893
|
+
bind_props($$props, { listening });
|
|
1894
|
+
});
|
|
1895
|
+
}
|
|
1896
|
+
function DictateTextarea($$renderer, $$props) {
|
|
1897
|
+
$$renderer.component(($$renderer2) => {
|
|
1898
|
+
let { value = void 0, class: className, $$slots, $$events, ...rest } = $$props;
|
|
1899
|
+
let ref = null;
|
|
1900
|
+
let listening = false;
|
|
1901
|
+
let $$settled = true;
|
|
1902
|
+
let $$inner_renderer;
|
|
1903
|
+
function $$render_inner($$renderer3) {
|
|
1904
|
+
$$renderer3.push(`<div class="relative w-full min-w-0">`);
|
|
1905
|
+
Textarea($$renderer3, spread_props([
|
|
1906
|
+
{ class: cn(className, listening ? "pr-24" : "pr-10") },
|
|
1907
|
+
rest,
|
|
1908
|
+
{
|
|
1909
|
+
get ref() {
|
|
1910
|
+
return ref;
|
|
1911
|
+
},
|
|
1912
|
+
set ref($$value) {
|
|
1913
|
+
ref = $$value;
|
|
1914
|
+
$$settled = false;
|
|
1915
|
+
},
|
|
1916
|
+
get value() {
|
|
1917
|
+
return value;
|
|
1918
|
+
},
|
|
1919
|
+
set value($$value) {
|
|
1920
|
+
value = $$value;
|
|
1921
|
+
$$settled = false;
|
|
1922
|
+
}
|
|
1923
|
+
}
|
|
1924
|
+
]));
|
|
1925
|
+
$$renderer3.push(`<!----> <div class="absolute right-1.5 bottom-1.5">`);
|
|
1926
|
+
MicButton($$renderer3, {
|
|
1927
|
+
field: ref,
|
|
1928
|
+
target: () => fieldTarget(ref),
|
|
1929
|
+
size: "sm",
|
|
1930
|
+
disabled: !!rest.disabled,
|
|
1931
|
+
get listening() {
|
|
1932
|
+
return listening;
|
|
1933
|
+
},
|
|
1934
|
+
set listening($$value) {
|
|
1935
|
+
listening = $$value;
|
|
1936
|
+
$$settled = false;
|
|
1937
|
+
}
|
|
1938
|
+
});
|
|
1939
|
+
$$renderer3.push(`<!----></div></div>`);
|
|
1940
|
+
}
|
|
1941
|
+
do {
|
|
1942
|
+
$$settled = true;
|
|
1943
|
+
$$inner_renderer = $$renderer2.copy();
|
|
1944
|
+
$$render_inner($$inner_renderer);
|
|
1945
|
+
} while (!$$settled);
|
|
1946
|
+
$$renderer2.subsume($$inner_renderer);
|
|
1947
|
+
bind_props($$props, { value });
|
|
1948
|
+
});
|
|
1949
|
+
}
|
|
1950
|
+
function PreviewHelper($$renderer, $$props) {
|
|
1951
|
+
$$renderer.component(($$renderer2) => {
|
|
1952
|
+
let { task, url, pointing = false, attached = null } = $$props;
|
|
1953
|
+
const c = derived(() => previewHelpers.view(task.id));
|
|
1954
|
+
const token = derived(() => page.data.sessionToken ?? "");
|
|
1955
|
+
let draft = "";
|
|
1956
|
+
let own = "";
|
|
1957
|
+
let listOpen = true;
|
|
1958
|
+
let sending = false;
|
|
1959
|
+
function ask() {
|
|
1960
|
+
const words2 = draft.trim();
|
|
1961
|
+
if (!words2 && !attached || c().asking) return;
|
|
1962
|
+
const points = attached?.pointer ?? null;
|
|
1963
|
+
draft = "";
|
|
1964
|
+
attached = null;
|
|
1965
|
+
void previewHelpers.ask(task.id, words2, points, token());
|
|
1966
|
+
}
|
|
1967
|
+
let $$settled = true;
|
|
1968
|
+
let $$inner_renderer;
|
|
1969
|
+
function $$render_inner($$renderer3) {
|
|
1970
|
+
$$renderer3.push(`<section class="flex min-h-0 flex-col rounded-lg border bg-panel" aria-label="Talk about this preview" data-preview-helper=""><header class="border-b px-4 py-3"><h2 class="flex items-center gap-2 text-base">`);
|
|
1971
|
+
Message_square($$renderer3, { class: "size-4 text-muted-foreground", "aria-hidden": "true" });
|
|
1972
|
+
$$renderer3.push(`<!---->Talk it through</h2> <p class="mt-0.5 text-xs text-muted-foreground">A helper that sees only this preview. Nothing goes to Firstmate until you send.</p></header> <div class="no-scrollbar min-h-40 flex-1 overflow-y-auto px-4 py-4"><ol class="flex flex-col gap-4"><li class="flex gap-2.5"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true">`);
|
|
1973
|
+
Monitor_play($$renderer3, { class: "size-3.5" });
|
|
1974
|
+
$$renderer3.push(`<!----></span> <p class="min-w-0 flex-1 text-sm leading-relaxed">I can see this preview, its screenshots, the task’s instructions and what the worker has
|
|
1975
|
+
done so far. Point at anything, or just say what you think; I will turn it into a list for
|
|
1976
|
+
the worker. <strong>Nothing goes to Firstmate until you send it.</strong></p></li> <!--[-->`);
|
|
1977
|
+
const each_array = ensure_array_like(c().said);
|
|
1978
|
+
for (let $$index_1 = 0, $$length = each_array.length; $$index_1 < $$length; $$index_1++) {
|
|
1979
|
+
let m = each_array[$$index_1];
|
|
1980
|
+
if (m.who === "captain") {
|
|
1981
|
+
$$renderer3.push(`<!--[0--><li class="flex flex-col items-end gap-1" data-said="captain">`);
|
|
1982
|
+
if (m.points) {
|
|
1983
|
+
$$renderer3.push(`<!--[0--><span class="inline-flex max-w-[85%] items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea">`);
|
|
1984
|
+
Crosshair($$renderer3, { class: "size-3 shrink-0", "aria-hidden": "true" });
|
|
1985
|
+
$$renderer3.push(`<!----><span class="truncate">${escape_html(m.points.label)}</span></span>`);
|
|
1986
|
+
} else {
|
|
1987
|
+
$$renderer3.push("<!--[-1-->");
|
|
1988
|
+
}
|
|
1989
|
+
$$renderer3.push(`<!--]--> <p class="max-w-[85%] rounded-xl rounded-br-sm border border-[var(--bubble-captain-border)] bg-[var(--bubble-captain)] px-3 py-2 text-sm leading-relaxed whitespace-pre-wrap">${escape_html(m.text)}</p></li>`);
|
|
1990
|
+
} else {
|
|
1991
|
+
$$renderer3.push(`<!--[-1--><li class="flex gap-2.5" data-said="helper"><span class="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full border border-brass bg-card text-sea" aria-hidden="true">`);
|
|
1992
|
+
Monitor_play($$renderer3, { class: "size-3.5" });
|
|
1993
|
+
$$renderer3.push(`<!----></span> <div class="min-w-0 flex-1"><div${attr_class(`chat-md text-sm ${m.notice ? "text-muted-foreground" : ""}`)}>${html(markdown(m.text))}</div> `);
|
|
1994
|
+
if (m.notice && c().sent) {
|
|
1995
|
+
$$renderer3.push(`<!--[0--><a href="/" class="text-xs text-sea hover:underline">See it in the chat</a>`);
|
|
1996
|
+
} else {
|
|
1997
|
+
$$renderer3.push("<!--[-1-->");
|
|
1998
|
+
}
|
|
1999
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
2000
|
+
const each_array_1 = ensure_array_like(m.suggest ?? []);
|
|
2001
|
+
for (let i = 0, $$length2 = each_array_1.length; i < $$length2; i++) {
|
|
2002
|
+
let s = each_array_1[i];
|
|
2003
|
+
$$renderer3.push(`<div class="mt-2 rounded-md border bg-card px-3 py-2" data-suggestion=""><p class="text-sm leading-snug">${escape_html(s.text)}</p> <div class="mt-1.5">`);
|
|
2004
|
+
if (s.added) {
|
|
2005
|
+
$$renderer3.push(`<!--[0--><span class="inline-flex items-center gap-1 text-xs text-success">`);
|
|
2006
|
+
Check($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
2007
|
+
$$renderer3.push(`<!---->On your list</span>`);
|
|
2008
|
+
} else {
|
|
2009
|
+
$$renderer3.push(`<!--[-1--><button class="inline-flex cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 py-1 text-xs font-medium text-on-accent hover:bg-sea/90" data-add-to-list="">`);
|
|
2010
|
+
Plus($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
2011
|
+
$$renderer3.push(`<!---->Add to the list</button>`);
|
|
2012
|
+
}
|
|
2013
|
+
$$renderer3.push(`<!--]--></div></div>`);
|
|
2014
|
+
}
|
|
2015
|
+
$$renderer3.push(`<!--]--></div></li>`);
|
|
2016
|
+
}
|
|
2017
|
+
$$renderer3.push(`<!--]-->`);
|
|
2018
|
+
}
|
|
2019
|
+
$$renderer3.push(`<!--]--> `);
|
|
2020
|
+
if (c().asking) {
|
|
2021
|
+
$$renderer3.push(`<!--[0--><li class="flex gap-1 py-1 pl-9" role="status" aria-label="The helper is answering"><span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.3s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground [animation-delay:-0.15s]"></span> <span class="size-1.5 animate-bounce rounded-full bg-muted-foreground"></span></li>`);
|
|
2022
|
+
} else {
|
|
2023
|
+
$$renderer3.push("<!--[-1-->");
|
|
2024
|
+
}
|
|
2025
|
+
$$renderer3.push(`<!--]--> `);
|
|
2026
|
+
if (c().error) {
|
|
2027
|
+
$$renderer3.push(`<!--[0--><li class="text-sm text-danger" role="alert">${escape_html(c().error)}</li>`);
|
|
2028
|
+
} else {
|
|
2029
|
+
$$renderer3.push("<!--[-1-->");
|
|
2030
|
+
}
|
|
2031
|
+
$$renderer3.push(`<!--]--></ol></div> <div class="px-3 pb-3"><div class="rounded-lg border border-input bg-card shadow-sm focus-within:ring-2 focus-within:ring-ring/30">`);
|
|
2032
|
+
if (attached) {
|
|
2033
|
+
$$renderer3.push(`<!--[0--><div class="flex items-center gap-1.5 px-2.5 pt-2"><span class="inline-flex min-w-0 items-center gap-1 rounded-md bg-sea/10 px-2 py-0.5 text-xs text-sea" data-attached="">`);
|
|
2034
|
+
Crosshair($$renderer3, { class: "size-3 shrink-0", "aria-hidden": "true" });
|
|
2035
|
+
$$renderer3.push(`<!----><span class="truncate">${escape_html(attached.pointer.label)}</span></span> <button class="flex size-5 cursor-pointer items-center justify-center rounded text-muted-foreground hover:bg-muted" aria-label="Not about this part">`);
|
|
2036
|
+
X($$renderer3, { class: "size-3" });
|
|
2037
|
+
$$renderer3.push(`<!----></button></div>`);
|
|
2038
|
+
} else {
|
|
2039
|
+
$$renderer3.push("<!--[-1-->");
|
|
2040
|
+
}
|
|
2041
|
+
$$renderer3.push(`<!--]--> `);
|
|
2042
|
+
DictateTextarea($$renderer3, {
|
|
2043
|
+
rows: 2,
|
|
2044
|
+
maxlength: 4e3,
|
|
2045
|
+
placeholder: attached ? "What about it?" : "What do you think? Ask anything about it",
|
|
2046
|
+
"aria-label": "Talk about this preview",
|
|
2047
|
+
class: "no-scrollbar min-h-12 border-0 bg-transparent text-sm shadow-none focus-visible:ring-0 max-md:text-base",
|
|
2048
|
+
onkeydown: (e) => {
|
|
2049
|
+
if (e.key === "Enter" && !e.shiftKey && !e.isComposing) {
|
|
2050
|
+
e.preventDefault();
|
|
2051
|
+
ask();
|
|
2052
|
+
}
|
|
2053
|
+
},
|
|
2054
|
+
get value() {
|
|
2055
|
+
return draft;
|
|
2056
|
+
},
|
|
2057
|
+
set value($$value) {
|
|
2058
|
+
draft = $$value;
|
|
2059
|
+
$$settled = false;
|
|
2060
|
+
}
|
|
2061
|
+
});
|
|
2062
|
+
$$renderer3.push(`<!----> <div class="flex items-center gap-1 px-1.5 pb-1.5"><button${attr_class(`inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md px-2 text-xs font-medium transition-colors max-md:h-11 max-md:px-3 max-md:text-sm ${pointing ? "bg-sea text-on-accent" : "text-muted-foreground hover:bg-muted hover:text-foreground"}`)}${attr("aria-pressed", pointing)} title="Click a part of the page to say which part you mean" data-point="">`);
|
|
2063
|
+
Crosshair($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
2064
|
+
$$renderer3.push(`<!---->${escape_html(pointing ? "Pointing…" : "Point")}</button> <button aria-label="Say it"${attr("disabled", !draft.trim() && !attached || c().asking, true)} class="ml-auto flex size-8 cursor-pointer items-center justify-center rounded-full bg-foreground text-background disabled:cursor-not-allowed disabled:opacity-30 max-md:size-11">`);
|
|
2065
|
+
Arrow_up($$renderer3, { class: "size-4" });
|
|
2066
|
+
$$renderer3.push(`<!----></button></div></div></div> <section class="border-t bg-card/60" aria-label="Your feedback" data-feedback-list=""><button class="flex w-full cursor-pointer items-center gap-2 px-4 py-2.5 text-left max-md:min-h-11"${attr("aria-expanded", listOpen)}><h3 class="font-sans text-sm font-medium">Your feedback</h3> <span class="rounded-full bg-muted px-1.5 text-xs text-muted-foreground tabular-nums">${escape_html(c().list.length)}</span> `);
|
|
2067
|
+
if (c().list.length) {
|
|
2068
|
+
$$renderer3.push(`<!--[0--><span class="text-xs text-muted-foreground">· not sent yet</span>`);
|
|
2069
|
+
} else {
|
|
2070
|
+
$$renderer3.push("<!--[-1-->");
|
|
2071
|
+
}
|
|
2072
|
+
$$renderer3.push(`<!--]--> `);
|
|
2073
|
+
Chevron_down($$renderer3, {
|
|
2074
|
+
class: `ml-auto size-4 text-muted-foreground transition-transform ${"rotate-180"}`,
|
|
2075
|
+
"aria-hidden": "true"
|
|
2076
|
+
});
|
|
2077
|
+
$$renderer3.push(`<!----></button> `);
|
|
2078
|
+
{
|
|
2079
|
+
$$renderer3.push(`<!--[0--><div class="no-scrollbar max-h-48 overflow-y-auto px-4">`);
|
|
2080
|
+
if (c().list.length) {
|
|
2081
|
+
$$renderer3.push(`<!--[0--><ol class="flex flex-col gap-1.5"><!--[-->`);
|
|
2082
|
+
const each_array_2 = ensure_array_like(c().list);
|
|
2083
|
+
for (let i = 0, $$length = each_array_2.length; i < $$length; i++) {
|
|
2084
|
+
let l = each_array_2[i];
|
|
2085
|
+
$$renderer3.push(`<li class="group flex items-start gap-2 rounded-md border bg-background px-2 py-1"><span class="mt-0.5 w-4 shrink-0 text-right text-xs text-muted-foreground tabular-nums">${escape_html(i + 1)}.</span> <div class="min-w-0 flex-1"><textarea rows="1" maxlength="500"${attr("aria-label", `Feedback ${stringify(i + 1)}`)} class="no-scrollbar block field-sizing-content w-full resize-none rounded bg-transparent text-sm leading-snug outline-none focus:bg-accent/40 max-md:text-base">`);
|
|
2086
|
+
const $$body = escape_html(l.text);
|
|
2087
|
+
if ($$body) {
|
|
2088
|
+
$$renderer3.push(`${$$body}`);
|
|
2089
|
+
}
|
|
2090
|
+
$$renderer3.push(`</textarea> `);
|
|
2091
|
+
if (l.points) {
|
|
2092
|
+
$$renderer3.push(`<!--[0--><p class="text-xs text-muted-foreground">Points at ${escape_html(l.points.label)}</p>`);
|
|
2093
|
+
} else {
|
|
2094
|
+
$$renderer3.push("<!--[-1-->");
|
|
2095
|
+
}
|
|
2096
|
+
$$renderer3.push(`<!--]--></div> <button class="flex size-6 shrink-0 cursor-pointer items-center justify-center rounded text-muted-foreground opacity-60 group-hover:opacity-100 hover:bg-muted hover:text-foreground max-md:size-11" aria-label="Remove from the list">`);
|
|
2097
|
+
X($$renderer3, { class: "size-3.5" });
|
|
2098
|
+
$$renderer3.push(`<!----></button></li>`);
|
|
2099
|
+
}
|
|
2100
|
+
$$renderer3.push(`<!--]--></ol>`);
|
|
2101
|
+
} else {
|
|
2102
|
+
$$renderer3.push(`<!--[-1--><p class="text-xs text-muted-foreground">Empty so far. Add what the helper suggests, or write your own below.</p>`);
|
|
2103
|
+
}
|
|
2104
|
+
$$renderer3.push(`<!--]--> <form class="mt-1.5 flex items-center gap-1">`);
|
|
2105
|
+
Plus($$renderer3, {
|
|
2106
|
+
class: "size-3.5 shrink-0 text-muted-foreground",
|
|
2107
|
+
"aria-hidden": "true"
|
|
2108
|
+
});
|
|
2109
|
+
$$renderer3.push(`<!----> <input${attr("value", own)} maxlength="500" placeholder="Add your own" aria-label="Add your own feedback" class="h-7 min-w-0 flex-1 bg-transparent text-sm outline-none placeholder:text-muted-foreground max-md:h-11 max-md:text-base"/></form></div>`);
|
|
2110
|
+
}
|
|
2111
|
+
$$renderer3.push(`<!--]--> <div class="flex items-center gap-3 px-4 pt-2 pb-3"><button class="inline-flex h-9 shrink-0 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3.5 text-sm font-medium whitespace-nowrap text-on-accent hover:bg-sea/90 disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11"${attr("disabled", !c().list.length || sending, true)} data-send-batch="">`);
|
|
2112
|
+
Send($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
2113
|
+
$$renderer3.push(`<!---->${escape_html(`Send to Firstmate${c().list.length ? ` (${c().list.length})` : ""}`)}</button> <span class="text-xs leading-snug text-muted-foreground">One message, for this same task</span></div></section></section>`);
|
|
2114
|
+
}
|
|
2115
|
+
do {
|
|
2116
|
+
$$settled = true;
|
|
2117
|
+
$$inner_renderer = $$renderer2.copy();
|
|
2118
|
+
$$render_inner($$inner_renderer);
|
|
2119
|
+
} while (!$$settled);
|
|
2120
|
+
$$renderer2.subsume($$inner_renderer);
|
|
2121
|
+
bind_props($$props, { pointing, attached });
|
|
2122
|
+
});
|
|
2123
|
+
}
|
|
2124
|
+
function PreviewActions($$renderer, $$props) {
|
|
2125
|
+
$$renderer.component(($$renderer2) => {
|
|
2126
|
+
let { preview } = $$props;
|
|
2127
|
+
const pageSlots = derived(() => page.data.slots);
|
|
2128
|
+
const at = derived(() => pageSlots()?.[slotKey.fleet] ? page.data.slotsAt ?? 0 : 0);
|
|
2129
|
+
const surface = derived(() => reviewSurface()?.id ?? null);
|
|
2130
|
+
const entries = derived(() => slots.entries(slotKey.fleet, pageSlots(), at()).filter((e) => e.slot === "preview.action" && e.content.available).sort((a, b) => Number(b.pluginId === surface()) - Number(a.pluginId === surface())));
|
|
2131
|
+
$$renderer2.push(`<!--[-->`);
|
|
2132
|
+
const each_array = ensure_array_like(entries());
|
|
2133
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2134
|
+
let entry = each_array[$$index];
|
|
2135
|
+
if (entry.content.available) {
|
|
2136
|
+
$$renderer2.push("<!--[0-->");
|
|
2137
|
+
const primary = entry.pluginId === surface();
|
|
2138
|
+
$$renderer2.push(`<span class="contents" data-slot="preview.action"${attr("data-primary", primary ? "" : void 0)}>`);
|
|
2139
|
+
PluginElement($$renderer2, {
|
|
2140
|
+
entry,
|
|
2141
|
+
data: entry.content.value,
|
|
2142
|
+
preview: primary ? { ...preview } : preview,
|
|
2143
|
+
quiet: true
|
|
2144
|
+
});
|
|
2145
|
+
$$renderer2.push(`<!----></span>`);
|
|
2146
|
+
} else {
|
|
2147
|
+
$$renderer2.push("<!--[-1-->");
|
|
2148
|
+
}
|
|
2149
|
+
$$renderer2.push(`<!--]-->`);
|
|
2150
|
+
}
|
|
2151
|
+
$$renderer2.push(`<!--]-->`);
|
|
2152
|
+
});
|
|
2153
|
+
}
|
|
2154
|
+
function PreviewStudio($$renderer, $$props) {
|
|
2155
|
+
$$renderer.component(($$renderer2) => {
|
|
2156
|
+
let {
|
|
2157
|
+
taskId,
|
|
2158
|
+
title,
|
|
2159
|
+
url,
|
|
2160
|
+
talk = true,
|
|
2161
|
+
board = false
|
|
2162
|
+
} = $$props;
|
|
2163
|
+
const surface = derived(reviewSurface);
|
|
2164
|
+
const helper = derived(() => talk && !!taskId && !surface());
|
|
2165
|
+
let panel = !phone.current;
|
|
2166
|
+
let wide = false;
|
|
2167
|
+
const check = derived(() => previewChecks.checks[taskId ?? urlKey(url)] ?? null);
|
|
2168
|
+
const live = derived(() => check()?.state === "live");
|
|
2169
|
+
const shown = derived(() => addressRewrites.view(check()?.url ?? url));
|
|
2170
|
+
const address = derived(() => URL.parse(shown())?.host ?? shown());
|
|
2171
|
+
const action = derived(() => live() && check()?.url ? {
|
|
2172
|
+
url: check().url,
|
|
2173
|
+
taskId,
|
|
2174
|
+
title,
|
|
2175
|
+
projectId: taskId ? currentFleet()?.tasks.find((t) => t.id === taskId)?.projectId ?? null : null,
|
|
2176
|
+
board
|
|
2177
|
+
} : null);
|
|
2178
|
+
let pointing = false;
|
|
2179
|
+
let pointed = null;
|
|
2180
|
+
let $$settled = true;
|
|
2181
|
+
let $$inner_renderer;
|
|
2182
|
+
function $$render_inner($$renderer3) {
|
|
2183
|
+
$$renderer3.push(`<div class="fixed inset-0 z-50 flex flex-col bg-background outline-none" role="dialog" aria-modal="true"${attr("aria-label", `Live preview of ${stringify(title)}, full screen`)} tabindex="-1" data-preview-studio=""><div class="flex h-12 shrink-0 items-center gap-3 border-b px-3 max-md:hidden sm:px-4"><p class="min-w-0 flex-1 truncate text-sm"><span class="font-medium">${escape_html(title)}</span> <span class="text-muted-foreground">· Live preview</span></p> `);
|
|
2184
|
+
if (helper() && panel) {
|
|
2185
|
+
$$renderer3.push(`<!--[0--><button type="button" class="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs text-muted-foreground hover:bg-accent hover:text-foreground">`);
|
|
2186
|
+
Panel_right_close($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
2187
|
+
$$renderer3.push(`<!---->Hide the helper</button>`);
|
|
2188
|
+
} else {
|
|
2189
|
+
$$renderer3.push("<!--[-1-->");
|
|
2190
|
+
}
|
|
2191
|
+
$$renderer3.push(`<!--]--> `);
|
|
2192
|
+
if (surface() && action()) {
|
|
2193
|
+
$$renderer3.push(`<!--[0--><span class="flex flex-wrap items-center gap-1 text-xs" data-preview-surface="">`);
|
|
2194
|
+
PreviewActions($$renderer3, { preview: action() });
|
|
2195
|
+
$$renderer3.push(`<!----></span>`);
|
|
2196
|
+
} else {
|
|
2197
|
+
$$renderer3.push("<!--[-1-->");
|
|
2198
|
+
}
|
|
2199
|
+
$$renderer3.push(`<!--]--> <button type="button" class="inline-flex items-center gap-1.5 rounded-md px-2 py-1 text-xs hover:bg-accent" aria-label="Close full screen (Esc)" title="Close (Esc)">`);
|
|
2200
|
+
X($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
2201
|
+
$$renderer3.push(`<!---->Close</button></div> <div class="flex shrink-0 items-center gap-1 border-b px-1 pt-[env(safe-area-inset-top,0px)] md:hidden" data-preview-phone-bar=""><button type="button" class="grid size-11 shrink-0 place-items-center rounded-full hover:bg-accent" aria-label="Close full screen">`);
|
|
2202
|
+
X($$renderer3, { class: "size-5", "aria-hidden": "true" });
|
|
2203
|
+
$$renderer3.push(`<!----></button> <div class="min-w-0 flex-1 py-1 text-center"><p class="truncate text-sm font-medium">${escape_html(title)}</p> <p class="truncate font-mono text-xs text-muted-foreground"${attr("title", shown())}>${escape_html(address())}</p></div> <button type="button" class="grid size-11 shrink-0 place-items-center rounded-full hover:bg-accent disabled:opacity-40"${attr("disabled", !check(), true)}${attr("aria-label", live() ? "Reload the preview" : "Check the preview again")}>`);
|
|
2204
|
+
Rotate_cw($$renderer3, { class: "size-5", "aria-hidden": "true" });
|
|
2205
|
+
$$renderer3.push(`<!----></button></div> <div class="relative flex min-h-0 flex-1"><div class="min-w-0 flex-1 p-3 max-md:p-0">`);
|
|
2206
|
+
LivePreview($$renderer3, {
|
|
2207
|
+
taskId,
|
|
2208
|
+
url: taskId ? null : url,
|
|
2209
|
+
fill: true,
|
|
2210
|
+
toolbar: !phone.current,
|
|
2211
|
+
desktop: phone.current && wide,
|
|
2212
|
+
pointing: helper() && panel && pointing,
|
|
2213
|
+
pin: helper() && panel ? pointed?.at ?? null : null,
|
|
2214
|
+
onpoint: (p, at) => {
|
|
2215
|
+
pointed = { pointer: p, at };
|
|
2216
|
+
pointing = false;
|
|
2217
|
+
}
|
|
2218
|
+
});
|
|
2219
|
+
$$renderer3.push(`<!----></div> `);
|
|
2220
|
+
if (helper() && panel && taskId) {
|
|
2221
|
+
$$renderer3.push(`<!--[0--><aside${attr_class(`flex min-h-0 w-[24rem] shrink-0 border-l bg-panel p-3 max-md:absolute max-md:inset-x-0 max-md:bottom-0 max-md:z-10 max-md:h-[88%] max-md:w-auto max-md:overflow-y-auto max-md:overscroll-contain max-md:rounded-t-2xl max-md:border-t max-md:border-l-0 max-md:px-2 max-md:pt-0 max-md:pb-2 max-md:shadow-2xl xl:w-[26rem] ${pointing ? "max-md:hidden" : ""}`)} data-preview-helper-panel=""><div class="flex min-h-0 w-full flex-col"><div class="flex shrink-0 items-center justify-end md:hidden"><span class="absolute top-2 left-1/2 h-1 w-10 -translate-x-1/2 rounded-full bg-muted-foreground/40" aria-hidden="true"></span> <button type="button" class="grid size-11 place-items-center rounded-full text-muted-foreground hover:bg-accent hover:text-foreground" aria-label="Hide the helper">`);
|
|
2222
|
+
X($$renderer3, { class: "size-5", "aria-hidden": "true" });
|
|
2223
|
+
$$renderer3.push(`<!----></button></div> `);
|
|
2224
|
+
PreviewHelper($$renderer3, {
|
|
2225
|
+
task: { id: taskId, shortTitle: title },
|
|
2226
|
+
url,
|
|
2227
|
+
get pointing() {
|
|
2228
|
+
return pointing;
|
|
2229
|
+
},
|
|
2230
|
+
set pointing($$value) {
|
|
2231
|
+
pointing = $$value;
|
|
2232
|
+
$$settled = false;
|
|
2233
|
+
},
|
|
2234
|
+
get attached() {
|
|
2235
|
+
return pointed;
|
|
2236
|
+
},
|
|
2237
|
+
set attached($$value) {
|
|
2238
|
+
pointed = $$value;
|
|
2239
|
+
$$settled = false;
|
|
2240
|
+
}
|
|
2241
|
+
});
|
|
2242
|
+
$$renderer3.push(`<!----></div></aside>`);
|
|
2243
|
+
} else if (helper()) {
|
|
2244
|
+
$$renderer3.push(`<!--[1--><button type="button" class="absolute right-5 bottom-5 inline-flex items-center gap-2 rounded-full border bg-background px-4 py-2 text-sm font-medium shadow-lg hover:bg-accent max-md:hidden">`);
|
|
2245
|
+
Message_square($$renderer3, { class: "size-4", "aria-hidden": "true" });
|
|
2246
|
+
$$renderer3.push(`<!---->Talk it through</button>`);
|
|
2247
|
+
} else {
|
|
2248
|
+
$$renderer3.push("<!--[-1-->");
|
|
2249
|
+
}
|
|
2250
|
+
$$renderer3.push(`<!--]--></div> <div class="flex shrink-0 items-center gap-2 border-t bg-background px-3 pt-2 pb-[max(0.5rem,env(safe-area-inset-bottom,0px))] md:hidden" data-preview-dock=""><button type="button" class="grid size-11 shrink-0 place-items-center rounded-xl border hover:bg-accent"${attr("aria-pressed", wide)}${attr("aria-label", "Show at a desktop’s width")}>`);
|
|
2251
|
+
{
|
|
2252
|
+
$$renderer3.push("<!--[-1-->");
|
|
2253
|
+
Monitor($$renderer3, { class: "size-5", "aria-hidden": "true" });
|
|
2254
|
+
}
|
|
2255
|
+
$$renderer3.push(`<!--]--></button> `);
|
|
2256
|
+
if (live() || check()?.state === "blocked") {
|
|
2257
|
+
$$renderer3.push(`<!--[0--><a${attr("href", shown())} target="_blank" rel="noreferrer" class="grid size-11 shrink-0 place-items-center rounded-xl border hover:bg-accent" aria-label="Open in a new tab">`);
|
|
2258
|
+
External_link($$renderer3, { class: "size-5", "aria-hidden": "true" });
|
|
2259
|
+
$$renderer3.push(`<!----></a>`);
|
|
2260
|
+
} else {
|
|
2261
|
+
$$renderer3.push("<!--[-1-->");
|
|
2262
|
+
}
|
|
2263
|
+
$$renderer3.push(`<!--]--> `);
|
|
2264
|
+
if (helper() && !panel) {
|
|
2265
|
+
$$renderer3.push(`<!--[0--><button type="button" class="inline-flex h-11 shrink-0 items-center gap-2 rounded-xl border px-3 text-sm font-medium hover:bg-accent" aria-label="Talk it through">`);
|
|
2266
|
+
Message_square($$renderer3, { class: "size-4 shrink-0", "aria-hidden": "true" });
|
|
2267
|
+
$$renderer3.push(`<!---->Talk</button>`);
|
|
2268
|
+
} else {
|
|
2269
|
+
$$renderer3.push("<!--[-1-->");
|
|
2270
|
+
}
|
|
2271
|
+
$$renderer3.push(`<!--]--> `);
|
|
2272
|
+
if (action()) {
|
|
2273
|
+
$$renderer3.push(`<!--[0--><span class="flex min-w-0 flex-1 flex-wrap items-center justify-end gap-1">`);
|
|
2274
|
+
PreviewActions($$renderer3, { preview: action() });
|
|
2275
|
+
$$renderer3.push(`<!----></span>`);
|
|
2276
|
+
} else {
|
|
2277
|
+
$$renderer3.push("<!--[-1-->");
|
|
2278
|
+
}
|
|
2279
|
+
$$renderer3.push(`<!--]--></div></div>`);
|
|
2280
|
+
}
|
|
2281
|
+
do {
|
|
2282
|
+
$$settled = true;
|
|
2283
|
+
$$inner_renderer = $$renderer2.copy();
|
|
2284
|
+
$$render_inner($$inner_renderer);
|
|
2285
|
+
} while (!$$settled);
|
|
2286
|
+
$$renderer2.subsume($$inner_renderer);
|
|
2287
|
+
});
|
|
2288
|
+
}
|
|
2289
|
+
function ReviewTimeline($$renderer, $$props) {
|
|
2290
|
+
$$renderer.component(($$renderer2) => {
|
|
2291
|
+
let { session: s } = $$props;
|
|
2292
|
+
const end = derived(() => s.elapsed);
|
|
2293
|
+
const span = derived(() => Math.max(12e4, end() * 1.08));
|
|
2294
|
+
const x = (t) => 0;
|
|
2295
|
+
const step = derived(() => span() > 9e5 ? 12e4 : span() > 36e4 ? 6e4 : 3e4);
|
|
2296
|
+
const ticks = derived(() => Array.from({ length: Math.floor(span() / step()) + 1 }, (_, i) => i * step()));
|
|
2297
|
+
const stats = derived(() => s.stats());
|
|
2298
|
+
const errors = derived(() => s.events.filter((e) => e.type === "error").length);
|
|
2299
|
+
const MARK = {
|
|
2300
|
+
click: "top-[7px] size-3 -ml-1.5 rounded-full border-2 border-card bg-foreground",
|
|
2301
|
+
input: "top-2 size-2.5 -ml-[5px] rotate-45 rounded-[2px] bg-teal",
|
|
2302
|
+
choose: "top-2 size-2.5 -ml-[5px] rotate-45 rounded-[2px] bg-teal",
|
|
2303
|
+
nav: "top-0.5 h-[22px] w-0.5 -ml-px bg-working",
|
|
2304
|
+
start: "top-0.5 h-[22px] w-0.5 -ml-px bg-working",
|
|
2305
|
+
error: "top-1.5 size-3 -ml-1.5 rotate-45 bg-danger",
|
|
2306
|
+
scroll: "top-[11px] size-1 -ml-0.5 rounded-full bg-muted-foreground/60",
|
|
2307
|
+
pause: "top-0.5 h-[22px] w-0.5 -ml-px bg-muted-foreground"
|
|
2308
|
+
};
|
|
2309
|
+
$$renderer2.push(`<div class="px-0.5 pb-1" data-review-timeline=""><p class="flex items-baseline gap-3 pb-1"><span class="font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">Timeline</span> <span class="text-xs text-muted-foreground">${escape_html(plural(stats().remarks, "remark"))} · ${escape_html(plural(stats().clicks, "click"))} · ${escape_html(plural(stats().pages, "page"))}${escape_html(errors() ? ` · ${plural(errors(), "error")}` : "")}</span></p> <div class="flex gap-2.5"><div class="flex w-20 shrink-0 flex-col pt-1 text-[11.5px] text-muted-foreground"><span class="flex h-[26px] items-center">You said</span> <span class="flex h-[26px] items-center">On the page</span></div> <div class="relative h-[76px] flex-1 overflow-hidden rounded-lg border bg-card"><svg class="pointer-events-none absolute inset-0 size-full" aria-hidden="true"><!--[-->`);
|
|
2310
|
+
const each_array = ensure_array_like(s.remarks);
|
|
2311
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2312
|
+
let u = each_array[$$index];
|
|
2313
|
+
const ev = u.anchor ? s.events.find((e) => e.id === u.anchor) : null;
|
|
2314
|
+
if (ev) {
|
|
2315
|
+
$$renderer2.push("<!--[0-->");
|
|
2316
|
+
const x1 = x((u.t0 + u.t1) / 2);
|
|
2317
|
+
const x2 = x(ev.t);
|
|
2318
|
+
$$renderer2.push(`<path${attr("d", `M${stringify(x1)} 22 C ${stringify(x1)} 30, ${stringify(x2)} 28, ${stringify(x2)} 37`)} class="fill-none stroke-sea opacity-60" stroke-width="1.2"></path>`);
|
|
2319
|
+
} else {
|
|
2320
|
+
$$renderer2.push("<!--[-1-->");
|
|
2321
|
+
}
|
|
2322
|
+
$$renderer2.push(`<!--]-->`);
|
|
2323
|
+
}
|
|
2324
|
+
$$renderer2.push(`<!--]--></svg> <div class="absolute inset-x-0 top-1 h-[26px]"><!--[-->`);
|
|
2325
|
+
const each_array_1 = ensure_array_like(s.remarks);
|
|
2326
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
2327
|
+
let u = each_array_1[$$index_1];
|
|
2328
|
+
$$renderer2.push(`<span class="absolute top-1 h-[18px] min-w-1.5 rounded-[5px] border border-sea bg-sea/30"${attr_style(`left:${stringify(x(u.t0))}px;width:${stringify(Math.max(6, x(u.t1) - x(u.t0)))}px`)}${attr("title", `${stringify(mmss(u.t0))} “${stringify(u.text)}”`)}></span>`);
|
|
2329
|
+
}
|
|
2330
|
+
$$renderer2.push(`<!--]--></div> <div class="absolute inset-x-0 top-[30px] h-[26px] border-t border-dashed border-hair"><!--[-->`);
|
|
2331
|
+
const each_array_2 = ensure_array_like(s.events);
|
|
2332
|
+
for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
|
|
2333
|
+
let e = each_array_2[$$index_2];
|
|
2334
|
+
$$renderer2.push(`<span${attr_class(`absolute ${stringify(MARK[e.type] ?? MARK.scroll)}`)}${attr_style(`left:${stringify(x(e.t))}px`)}${attr("title", `${stringify(mmss(e.t))} ${stringify(e.label)}${e.page ? ` · ${e.page}` : ""}`)}></span>`);
|
|
2335
|
+
}
|
|
2336
|
+
$$renderer2.push(`<!--]--></div> <div class="absolute inset-x-0 bottom-0 h-4 border-t border-hair font-mono text-[10px] text-muted-foreground"><!--[-->`);
|
|
2337
|
+
const each_array_3 = ensure_array_like(ticks());
|
|
2338
|
+
for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
|
|
2339
|
+
let t = each_array_3[$$index_3];
|
|
2340
|
+
$$renderer2.push(`<span class="absolute top-0.5 -translate-x-1/2"${attr_style(`left:${stringify(x())}px`)}>${escape_html(mmss(t))}</span>`);
|
|
2341
|
+
}
|
|
2342
|
+
$$renderer2.push(`<!--]--></div> <span${attr_class(`absolute inset-y-0 w-0.5 opacity-70 ${s.paused ? "bg-muted-foreground" : "bg-danger"}`)}${attr_style(`left:${stringify(x(end()))}px`)}></span></div></div></div>`);
|
|
2343
|
+
});
|
|
2344
|
+
}
|
|
2345
|
+
const KIND = {
|
|
2346
|
+
problem: { word: "Problem", icon: Bug, tone: "text-danger" },
|
|
2347
|
+
change: { word: "Change", icon: Wrench, tone: "text-sea" },
|
|
2348
|
+
idea: { word: "Idea", icon: Lightbulb, tone: "text-working" },
|
|
2349
|
+
question: { word: "Question", icon: Circle_question_mark, tone: "text-muted-foreground" },
|
|
2350
|
+
praise: { word: "Keep", icon: Thumbs_up, tone: "text-teal" }
|
|
2351
|
+
};
|
|
2352
|
+
const SEVERITY = {
|
|
2353
|
+
must: "Must fix",
|
|
2354
|
+
should: "Should fix",
|
|
2355
|
+
could: "Could do",
|
|
2356
|
+
none: "Works well"
|
|
2357
|
+
};
|
|
2358
|
+
function scribeMark($$renderer, size = "size-6") {
|
|
2359
|
+
$$renderer.push(`<span${attr_class(`grid ${stringify(size)} shrink-0 place-items-center rounded-full border-[1.5px] border-brass text-sea`)} aria-hidden="true">`);
|
|
2360
|
+
Pen_line($$renderer, { class: "size-3" });
|
|
2361
|
+
$$renderer.push(`<!----></span>`);
|
|
2362
|
+
}
|
|
2363
|
+
function ScribePanel($$renderer, $$props) {
|
|
2364
|
+
$$renderer.component(($$renderer2) => {
|
|
2365
|
+
let { session: s } = $$props;
|
|
2366
|
+
let tab = "talk";
|
|
2367
|
+
let draft = "";
|
|
2368
|
+
const log = derived(() => [
|
|
2369
|
+
...s.events.map((e) => ({
|
|
2370
|
+
t: e.t,
|
|
2371
|
+
kind: e.type,
|
|
2372
|
+
text: e.label,
|
|
2373
|
+
sub: e.type === "nav" ? "" : e.page
|
|
2374
|
+
})),
|
|
2375
|
+
...s.remarks.map((u) => ({ t: u.t0, kind: "said", text: `“${u.text}”`, sub: u.page })),
|
|
2376
|
+
...s.convo.filter((c) => c.who === "scribe").map((c) => ({ t: c.t, kind: "scribe", text: c.text, sub: "the scribe" }))
|
|
2377
|
+
].sort((a, b) => a.t - b.t));
|
|
2378
|
+
function noteFor(uid) {
|
|
2379
|
+
return s.notes.find((n) => n.utterances.includes(uid));
|
|
2380
|
+
}
|
|
2381
|
+
$$renderer2.push(`<header class="flex items-start gap-3 px-4 pt-4 pb-2"><span${attr_class(`grid size-8 shrink-0 place-items-center rounded-full border-[1.5px] border-brass text-sea ${s.notesBusy || s.replyBusy ? "animate-pulse" : ""}`)} aria-hidden="true">`);
|
|
2382
|
+
Pen_line($$renderer2, { class: "size-4" });
|
|
2383
|
+
$$renderer2.push(`<!----></span> <div class="min-w-0 flex-1"><h2 class="font-title text-2xl leading-none">Scribe</h2> <p class="mt-1 text-xs text-muted-foreground">${escape_html(s.mode === "talk" ? "Talk to me or just think aloud. I take notes as you go; nothing goes to Firstmate until you end." : "Notes only: I listen and write, and stay quiet. Nothing goes to Firstmate until you end.")}</p></div> <button class="grid size-9 place-items-center rounded-full text-muted-foreground hover:bg-accent md:hidden" aria-label="Hide the scribe">`);
|
|
2384
|
+
X($$renderer2, { class: "size-4" });
|
|
2385
|
+
$$renderer2.push(`<!----></button></header> <div class="flex gap-5 border-b px-4 text-sm" role="tablist"><!--[-->`);
|
|
2386
|
+
const each_array = ensure_array_like([
|
|
2387
|
+
["talk", "Talk", s.remarks.length],
|
|
2388
|
+
["notes", "Notes", s.notes.length],
|
|
2389
|
+
["log", "Everything", log().length]
|
|
2390
|
+
]);
|
|
2391
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2392
|
+
let [id2, label, count] = each_array[$$index];
|
|
2393
|
+
$$renderer2.push(`<button role="tab"${attr("aria-selected", tab === id2)}${attr_class(`-mb-px flex cursor-pointer items-center gap-1.5 border-b-2 py-2 ${tab === id2 ? "border-sea font-medium text-foreground" : "border-transparent text-muted-foreground hover:text-foreground"}`)}>${escape_html(label)}<span class="rounded-full bg-muted px-1.5 font-mono text-[11px] text-muted-foreground">${escape_html(count)}</span></button>`);
|
|
2394
|
+
}
|
|
2395
|
+
$$renderer2.push(`<!--]--></div> <div class="min-h-0 flex-1 overflow-y-auto px-4 py-4">`);
|
|
2396
|
+
{
|
|
2397
|
+
$$renderer2.push(`<!--[0--><ol class="flex flex-col gap-3.5"><li class="flex gap-2.5">`);
|
|
2398
|
+
scribeMark($$renderer2);
|
|
2399
|
+
$$renderer2.push(`<!----> <p class="font-reading text-[15px] leading-relaxed text-muted-foreground">${escape_html(s.mode === "talk" ? "I’m right here with you. Ask me anything about this preview (“what’s this page for?”), or just say what you notice as you go. I’ll answer when you ask, and keep the notes for the worker." : "Notes only: I’m listening and writing, and I’ll stay quiet. Switch to “Talk with me” if you want answers.")}</p></li> <!--[-->`);
|
|
2400
|
+
const each_array_1 = ensure_array_like(s.convo);
|
|
2401
|
+
for (let i = 0, $$length = each_array_1.length; i < $$length; i++) {
|
|
2402
|
+
let c = each_array_1[i];
|
|
2403
|
+
if (c.who === "captain") {
|
|
2404
|
+
$$renderer2.push("<!--[0-->");
|
|
2405
|
+
const u = s.remarks.find((r) => r.id === c.uid);
|
|
2406
|
+
const note = noteFor(c.uid);
|
|
2407
|
+
const about = u?.anchor ? s.events.find((e) => e.id === u.anchor)?.el?.label : u?.pointing?.label;
|
|
2408
|
+
$$renderer2.push(`<li class="flex flex-col items-end gap-1" data-said="captain"><p class="max-w-[90%] rounded-xl rounded-br-sm border border-[var(--bubble-captain-border)] bg-[var(--bubble-captain)] px-3 py-1.5 text-sm leading-relaxed">${escape_html(c.text)}</p> <span class="flex flex-wrap justify-end gap-x-2.5 gap-y-0.5 text-[11.5px] text-muted-foreground"><span class="font-mono">${escape_html(mmss(c.t))}</span> `);
|
|
2409
|
+
if (about) {
|
|
2410
|
+
$$renderer2.push(`<!--[0--><span class="inline-flex items-center gap-1">`);
|
|
2411
|
+
if (u?.anchor) {
|
|
2412
|
+
$$renderer2.push("<!--[0-->");
|
|
2413
|
+
Mouse_pointer_click($$renderer2, { class: "size-3" });
|
|
2414
|
+
} else {
|
|
2415
|
+
$$renderer2.push("<!--[-1-->");
|
|
2416
|
+
Crosshair($$renderer2, { class: "size-3" });
|
|
2417
|
+
}
|
|
2418
|
+
$$renderer2.push(`<!--]-->${escape_html(about)}</span>`);
|
|
2419
|
+
} else {
|
|
2420
|
+
$$renderer2.push("<!--[-1-->");
|
|
2421
|
+
}
|
|
2422
|
+
$$renderer2.push(`<!--]--> `);
|
|
2423
|
+
if (note) {
|
|
2424
|
+
$$renderer2.push(`<!--[0--><button class="inline-flex cursor-pointer items-center gap-1 text-sea hover:underline">`);
|
|
2425
|
+
Check($$renderer2, { class: "size-3" });
|
|
2426
|
+
$$renderer2.push(`<!---->Noted as ${escape_html(KIND[note.kind].word.toLowerCase())}</button>`);
|
|
2427
|
+
} else {
|
|
2428
|
+
$$renderer2.push("<!--[-1-->");
|
|
2429
|
+
}
|
|
2430
|
+
$$renderer2.push(`<!--]--></span></li>`);
|
|
2431
|
+
} else {
|
|
2432
|
+
$$renderer2.push(`<!--[-1--><li class="flex gap-2.5" data-said="scribe">`);
|
|
2433
|
+
scribeMark($$renderer2);
|
|
2434
|
+
$$renderer2.push(`<!----> <p${attr_class(`min-w-0 ${c.error ? "text-sm text-muted-foreground" : "font-reading text-[16.5px] leading-snug"}`)}><span class="mb-0.5 block font-mono text-[10px] tracking-[0.14em] text-sea uppercase">Scribe</span>${escape_html(c.text)}</p></li>`);
|
|
2435
|
+
}
|
|
2436
|
+
$$renderer2.push(`<!--]-->`);
|
|
2437
|
+
}
|
|
2438
|
+
$$renderer2.push(`<!--]--> `);
|
|
2439
|
+
if (s.replyBusy) {
|
|
2440
|
+
$$renderer2.push(`<!--[0--><li class="flex items-center gap-2 pl-8 text-sm text-muted-foreground" role="status"><span class="size-1.5 animate-bounce rounded-full bg-sea"></span>The scribe is thinking…</li>`);
|
|
2441
|
+
} else {
|
|
2442
|
+
$$renderer2.push("<!--[-1-->");
|
|
2443
|
+
}
|
|
2444
|
+
$$renderer2.push(`<!--]--></ol>`);
|
|
2445
|
+
}
|
|
2446
|
+
$$renderer2.push(`<!--]--></div> <div class="flex flex-col gap-2 border-t p-3"><div class="flex gap-2 max-md:hidden"><button${attr_class(`inline-flex h-11 flex-1 cursor-pointer touch-none items-center justify-center gap-2 rounded-full border font-semibold select-none ${s.talking ? "border-sea bg-sea text-on-accent" : "border-sea/55 bg-sea/10 text-sea"}`)}${attr("disabled", !s.on || s.paused, true)}>`);
|
|
2447
|
+
Mic($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2448
|
+
$$renderer2.push(`<!---->${escape_html(s.talking ? s.locked ? "Mic on · tap to stop" : "Let go to finish" : "Hold to talk")}</button> <button${attr_class(`h-11 cursor-pointer rounded-full border px-3.5 text-sm ${s.locked ? "border-teal bg-teal/10 text-teal" : "text-muted-foreground hover:bg-muted"}`)}${attr("aria-pressed", s.locked)}${attr("disabled", !s.on || s.paused, true)}>${escape_html(s.locked ? "Mic on" : "Hands-free")}</button></div> <form class="flex items-center gap-1.5 rounded-lg border border-input bg-card py-0.5 pr-1 pl-3 focus-within:ring-2 focus-within:ring-ring/30"><input class="min-w-0 flex-1 bg-transparent py-1.5 text-sm outline-none" placeholder="Or type to the scribe…" autocomplete="off" aria-label="Type to the scribe"${attr("value", draft)}${attr("disabled", !s.on || s.paused, true)}/> <button class="grid size-7 cursor-pointer place-items-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Say it"${attr("disabled", !draft.trim(), true)}>`);
|
|
2449
|
+
Arrow_up($$renderer2, { class: "size-4" });
|
|
2450
|
+
$$renderer2.push(`<!----></button></form></div>`);
|
|
2451
|
+
});
|
|
2452
|
+
}
|
|
2453
|
+
function ReviewPack($$renderer, $$props) {
|
|
2454
|
+
$$renderer.component(($$renderer2) => {
|
|
2455
|
+
let { session: s } = $$props;
|
|
2456
|
+
const p = derived(() => s.pack);
|
|
2457
|
+
const st = derived(() => s.stats());
|
|
2458
|
+
const included = derived(() => p().points.filter((x) => x.include).length);
|
|
2459
|
+
const message = derived(() => s.message(null));
|
|
2460
|
+
const edited = () => {
|
|
2461
|
+
if (s.pack) s.pack.edited = true;
|
|
2462
|
+
};
|
|
2463
|
+
$$renderer2.push(`<div class="fixed inset-0 z-[55] bg-black/55"></div> <section class="fixed inset-y-0 right-0 z-[56] flex w-[min(74rem,96vw)] flex-col border-l bg-background shadow-2xl max-md:w-screen" aria-label="Feedback pack" data-review-pack=""><header class="flex items-start justify-between gap-4 border-b px-6 pt-5 pb-3 max-md:px-4"><div class="min-w-0"><p class="font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">Feedback pack · for Firstmate</p> <h2 class="mt-1 line-clamp-2 font-title text-3xl">Live review of <em class="text-sea">${escape_html(s.title)}</em></h2> <p class="mt-1 text-xs text-muted-foreground">${escape_html(s.taskId)} · ${escape_html(mmss(p().duration))} · ${escape_html(plural(st().remarks, "remark"))} · ${escape_html(plural(st().clicks, "click"))}
|
|
2464
|
+
· ${escape_html(plural(st().pages, "page"))} · ${escape_html(plural(st().shots, "screenshot"))}${escape_html(p().tidying ? " · the scribe is tidying" : p().from === "scribe" ? " · tidied by the scribe" : "")}</p></div> <button class="grid size-9 shrink-0 cursor-pointer place-items-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground"${attr("aria-label", p().sent ? "Close" : "Back to the session")}>`);
|
|
2465
|
+
X($$renderer2, { class: "size-5" });
|
|
2466
|
+
$$renderer2.push(`<!----></button></header> <div class="grid min-h-0 flex-1 overflow-y-auto md:grid-cols-[minmax(0,1fr)_25rem]"><div class="min-w-0 px-6 py-5 max-md:px-4">`);
|
|
2467
|
+
if (p().tidying) {
|
|
2468
|
+
$$renderer2.push(`<!--[0--><p class="mb-4 rounded-lg border border-dashed border-sea/45 px-3 py-2 text-sm text-muted-foreground" role="status"><span class="mr-1.5 inline-block size-1.5 animate-pulse rounded-full bg-sea"></span>The
|
|
2469
|
+
scribe is tidying these into clearer points; they update here in a moment. You can send
|
|
2470
|
+
now if you like.</p>`);
|
|
2471
|
+
} else if (p().better) {
|
|
2472
|
+
$$renderer2.push(`<!--[1--><p class="mb-4 rounded-lg border border-dashed border-sea/45 px-3 py-2 text-sm text-muted-foreground">The scribe’s tidied version is ready. <button class="cursor-pointer text-sea hover:underline">Use it instead of my edits</button></p>`);
|
|
2473
|
+
} else if (p().tidyFailed) {
|
|
2474
|
+
$$renderer2.push(`<!--[2--><p class="mb-4 rounded-lg border border-dashed px-3 py-2 text-sm text-muted-foreground">The scribe could not tidy this one (${escape_html(p().tidyFailed)}); these are its notes as they stood.</p>`);
|
|
2475
|
+
} else {
|
|
2476
|
+
$$renderer2.push("<!--[-1-->");
|
|
2477
|
+
}
|
|
2478
|
+
$$renderer2.push(`<!--]--> <p class="font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">In short</p> <p class="mt-1 mb-6 max-w-[70ch] rounded font-reading text-lg leading-relaxed outline-none focus:ring-2 focus:ring-sea/40" contenteditable="true">`);
|
|
2479
|
+
const $$body = escape_html(p().summary);
|
|
2480
|
+
if ($$body) {
|
|
2481
|
+
$$renderer2.push(`${$$body}`);
|
|
2482
|
+
}
|
|
2483
|
+
$$renderer2.push(`</p> <p class="font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">${escape_html(plural(p().points.length, "point"))} for the worker <span class="font-sans tracking-normal normal-case">· click any words to change them</span></p> <!--[-->`);
|
|
2484
|
+
const each_array = ensure_array_like(p().points);
|
|
2485
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
2486
|
+
let x = each_array[i];
|
|
2487
|
+
const k = KIND[x.kind];
|
|
2488
|
+
$$renderer2.push(`<div${attr_class(`grid gap-4 border-t py-4 md:grid-cols-[17rem_minmax(0,1fr)] ${x.include ? "" : "opacity-45"}`)} data-pack-point="">`);
|
|
2489
|
+
if (x.shotId) {
|
|
2490
|
+
$$renderer2.push("<!--[0-->");
|
|
2491
|
+
await_block($$renderer2, s.outlined(x.shotId), () => {
|
|
2492
|
+
}, (url) => {
|
|
2493
|
+
if (url) {
|
|
2494
|
+
$$renderer2.push(`<!--[0--><img${attr("src", url)}${attr("alt", `The page for point ${stringify(i + 1)}`)} class="aspect-[16/10] w-full rounded-md border object-cover object-top"/>`);
|
|
2495
|
+
} else {
|
|
2496
|
+
$$renderer2.push(`<!--[-1--><div class="grid aspect-[16/10] place-items-center rounded-md border bg-muted text-xs text-muted-foreground">No screenshot</div>`);
|
|
2497
|
+
}
|
|
2498
|
+
$$renderer2.push(`<!--]-->`);
|
|
2499
|
+
});
|
|
2500
|
+
$$renderer2.push(`<!--]-->`);
|
|
2501
|
+
} else {
|
|
2502
|
+
$$renderer2.push(`<!--[-1--><div class="grid aspect-[16/10] place-items-center rounded-md border bg-muted text-xs text-muted-foreground">No screenshot</div>`);
|
|
2503
|
+
}
|
|
2504
|
+
$$renderer2.push(`<!--]--> <div class="min-w-0"><div class="flex flex-wrap items-center gap-2 text-xs"><span class="font-mono text-muted-foreground">${escape_html(String(i + 1).padStart(2, "0"))}</span> `);
|
|
2505
|
+
$$renderer2.select(
|
|
2506
|
+
{
|
|
2507
|
+
class: "rounded-full border bg-card px-2 py-0.5",
|
|
2508
|
+
value: x.severity,
|
|
2509
|
+
onchange: edited,
|
|
2510
|
+
"aria-label": "How much it matters"
|
|
2511
|
+
},
|
|
2512
|
+
($$renderer3) => {
|
|
2513
|
+
$$renderer3.push(`<!--[-->`);
|
|
2514
|
+
const each_array_1 = ensure_array_like(SEVERITIES);
|
|
2515
|
+
for (let $$index = 0, $$length2 = each_array_1.length; $$index < $$length2; $$index++) {
|
|
2516
|
+
let sev = each_array_1[$$index];
|
|
2517
|
+
$$renderer3.option({ value: sev }, ($$renderer4) => {
|
|
2518
|
+
$$renderer4.push(`${escape_html(sev === "none" ? "Keep as is" : SEVERITY[sev])}`);
|
|
2519
|
+
});
|
|
2520
|
+
}
|
|
2521
|
+
$$renderer3.push(`<!--]-->`);
|
|
2522
|
+
}
|
|
2523
|
+
);
|
|
2524
|
+
$$renderer2.push(` <span${attr_class(`inline-flex items-center gap-1 font-mono text-[10.5px] tracking-[0.12em] uppercase ${stringify(k.tone)}`)}>`);
|
|
2525
|
+
if (k.icon) {
|
|
2526
|
+
$$renderer2.push("<!--[-->");
|
|
2527
|
+
k.icon($$renderer2, { class: "size-3.5" });
|
|
2528
|
+
$$renderer2.push("<!--]-->");
|
|
2529
|
+
} else {
|
|
2530
|
+
$$renderer2.push("<!--[!-->");
|
|
2531
|
+
$$renderer2.push("<!--]-->");
|
|
2532
|
+
}
|
|
2533
|
+
$$renderer2.push(`${escape_html(k.word)}</span> <label class="ml-auto inline-flex cursor-pointer items-center gap-1.5"><input type="checkbox" class="accent-primary"${attr("checked", x.include, true)}/> Include</label></div> <h3 class="mt-1.5 rounded text-base font-semibold outline-none focus:ring-2 focus:ring-sea/40" contenteditable="true">`);
|
|
2534
|
+
const $$body_1 = escape_html(x.title);
|
|
2535
|
+
if ($$body_1) {
|
|
2536
|
+
$$renderer2.push(`${$$body_1}`);
|
|
2537
|
+
}
|
|
2538
|
+
$$renderer2.push(`</h3> <p class="mt-1 rounded text-sm outline-none focus:ring-2 focus:ring-sea/40" contenteditable="true">`);
|
|
2539
|
+
const $$body_2 = escape_html(x.detail);
|
|
2540
|
+
if ($$body_2) {
|
|
2541
|
+
$$renderer2.push(`${$$body_2}`);
|
|
2542
|
+
}
|
|
2543
|
+
$$renderer2.push(`</p> `);
|
|
2544
|
+
if (x.quote) {
|
|
2545
|
+
$$renderer2.push(`<!--[0--><p class="mt-2 border-l-2 border-sea/60 pl-2.5 font-reading text-[15px] text-muted-foreground italic">“${escape_html(x.quote)}”</p>`);
|
|
2546
|
+
} else {
|
|
2547
|
+
$$renderer2.push("<!--[-1-->");
|
|
2548
|
+
}
|
|
2549
|
+
$$renderer2.push(`<!--]--> <p class="mt-2 flex flex-wrap gap-x-4 gap-y-1 text-xs text-muted-foreground">`);
|
|
2550
|
+
if (x.el) {
|
|
2551
|
+
$$renderer2.push(`<!--[0--><span class="inline-flex items-center gap-1">`);
|
|
2552
|
+
Mouse_pointer_click($$renderer2, { class: "size-3" });
|
|
2553
|
+
$$renderer2.push(`<!---->${escape_html(x.el.label)}</span>`);
|
|
2554
|
+
} else {
|
|
2555
|
+
$$renderer2.push("<!--[-1-->");
|
|
2556
|
+
}
|
|
2557
|
+
$$renderer2.push(`<!--]--> `);
|
|
2558
|
+
if (x.page) {
|
|
2559
|
+
$$renderer2.push(`<!--[0--><span class="inline-flex items-center gap-1">`);
|
|
2560
|
+
File_text($$renderer2, { class: "size-3" });
|
|
2561
|
+
$$renderer2.push(`<!---->${escape_html(x.page)}</span>`);
|
|
2562
|
+
} else {
|
|
2563
|
+
$$renderer2.push("<!--[-1-->");
|
|
2564
|
+
}
|
|
2565
|
+
$$renderer2.push(`<!--]--> <span class="inline-flex items-center gap-1">`);
|
|
2566
|
+
Mic($$renderer2, { class: "size-3" });
|
|
2567
|
+
$$renderer2.push(`<!---->${escape_html(mmss(x.t))}</span></p></div></div>`);
|
|
2568
|
+
}
|
|
2569
|
+
$$renderer2.push(`<!--]--> `);
|
|
2570
|
+
if (p().errors.length) {
|
|
2571
|
+
$$renderer2.push(`<!--[0--><p class="mt-6 font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">Also seen on the page</p> <ul class="mt-1 text-sm"><!--[-->`);
|
|
2572
|
+
const each_array_2 = ensure_array_like(p().errors);
|
|
2573
|
+
for (let $$index_2 = 0, $$length = each_array_2.length; $$index_2 < $$length; $$index_2++) {
|
|
2574
|
+
let e = each_array_2[$$index_2];
|
|
2575
|
+
$$renderer2.push(`<li class="flex gap-2 border-t border-hair py-1.5">`);
|
|
2576
|
+
Triangle_alert($$renderer2, { class: "mt-0.5 size-3.5 shrink-0 text-danger" });
|
|
2577
|
+
$$renderer2.push(`<!---->${escape_html(e)}</li>`);
|
|
2578
|
+
}
|
|
2579
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
2580
|
+
} else {
|
|
2581
|
+
$$renderer2.push("<!--[-1-->");
|
|
2582
|
+
}
|
|
2583
|
+
$$renderer2.push(`<!--]--> `);
|
|
2584
|
+
if (p().openQuestions.length) {
|
|
2585
|
+
$$renderer2.push(`<!--[0--><p class="mt-6 font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">Open questions</p> <ul class="mt-1 text-sm"><!--[-->`);
|
|
2586
|
+
const each_array_3 = ensure_array_like(p().openQuestions);
|
|
2587
|
+
for (let $$index_3 = 0, $$length = each_array_3.length; $$index_3 < $$length; $$index_3++) {
|
|
2588
|
+
let q = each_array_3[$$index_3];
|
|
2589
|
+
$$renderer2.push(`<li class="flex gap-2 border-t border-hair py-1.5">`);
|
|
2590
|
+
Circle_question_mark($$renderer2, { class: "mt-0.5 size-3.5 shrink-0 text-muted-foreground" });
|
|
2591
|
+
$$renderer2.push(`<!---->${escape_html(q)}</li>`);
|
|
2592
|
+
}
|
|
2593
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
2594
|
+
} else {
|
|
2595
|
+
$$renderer2.push("<!--[-1-->");
|
|
2596
|
+
}
|
|
2597
|
+
$$renderer2.push(`<!--]--></div> <aside class="border-l bg-panel px-5 py-5 max-md:border-t max-md:border-l-0 md:sticky md:top-0 md:self-start"><div class="grid grid-cols-3 gap-2"><!--[-->`);
|
|
2598
|
+
const each_array_4 = ensure_array_like([
|
|
2599
|
+
[included(), "points"],
|
|
2600
|
+
[st().shots, "screenshots"],
|
|
2601
|
+
[mmss(p().duration), "recorded"]
|
|
2602
|
+
]);
|
|
2603
|
+
for (let $$index_4 = 0, $$length = each_array_4.length; $$index_4 < $$length; $$index_4++) {
|
|
2604
|
+
let [n, word] = each_array_4[$$index_4];
|
|
2605
|
+
$$renderer2.push(`<div class="rounded-lg border bg-card px-2.5 py-2"><b class="block font-title text-2xl leading-tight font-normal">${escape_html(n)}</b> <span class="text-xs text-muted-foreground">${escape_html(word)}</span></div>`);
|
|
2606
|
+
}
|
|
2607
|
+
$$renderer2.push(`<!--]--></div> <p class="mt-5 font-mono text-[10.5px] tracking-[0.16em] text-muted-foreground uppercase">As Firstmate gets it</p> <p class="mt-1 text-xs text-muted-foreground">One message for ${escape_html(s.taskId)}, passed to the same worker, with the screenshots and the whole
|
|
2608
|
+
session kept as files it names.</p> <pre class="mt-2 max-h-[46vh] overflow-auto rounded-lg border bg-card p-3 font-mono text-[11px] leading-relaxed break-words whitespace-pre-wrap">${escape_html(message())}</pre> `);
|
|
2609
|
+
if (p().error) {
|
|
2610
|
+
$$renderer2.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">${escape_html(p().error)}</p>`);
|
|
2611
|
+
} else {
|
|
2612
|
+
$$renderer2.push("<!--[-1-->");
|
|
2613
|
+
}
|
|
2614
|
+
$$renderer2.push(`<!--]--> `);
|
|
2615
|
+
if (p().sent) {
|
|
2616
|
+
$$renderer2.push(`<!--[0--><div class="mt-3 rounded-lg border border-teal/45 bg-teal/10 px-3 py-2.5 text-sm" role="status"><b class="inline-flex items-center gap-1.5 text-teal">`);
|
|
2617
|
+
Check($$renderer2, { class: "size-4" });
|
|
2618
|
+
$$renderer2.push(`<!---->Sent to Firstmate</b> <p class="mt-1 text-xs text-muted-foreground">It passes the pack to this task’s worker. The session and screenshots are kept in <span class="font-mono break-all">${escape_html(p().sent.dir)}</span>.</p></div> <button class="mt-3 h-9 cursor-pointer rounded-md border px-3 text-sm hover:bg-muted">Close</button>`);
|
|
2619
|
+
} else {
|
|
2620
|
+
$$renderer2.push(`<!--[-1--><div class="mt-3 flex flex-wrap gap-2"><button class="inline-flex h-9 cursor-pointer items-center gap-1.5 rounded-md bg-sea px-3.5 text-sm font-semibold text-on-accent hover:bg-sea/90 disabled:opacity-50"${attr("disabled", !included() || p().sending, true)} data-review-send="">`);
|
|
2621
|
+
Send($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2622
|
+
$$renderer2.push(`<!---->${escape_html(p().sending ? "Sending…" : "Send to Firstmate")}</button> <button class="h-9 cursor-pointer rounded-md border px-3 text-sm hover:bg-muted">Back to the session</button> <button class="h-9 cursor-pointer rounded-md px-3 text-sm text-muted-foreground hover:bg-muted">Throw away</button></div>`);
|
|
2623
|
+
}
|
|
2624
|
+
$$renderer2.push(`<!--]--></aside></div></section>`);
|
|
2625
|
+
});
|
|
2626
|
+
}
|
|
2627
|
+
function LiveReview($$renderer, $$props) {
|
|
2628
|
+
$$renderer.component(($$renderer2) => {
|
|
2629
|
+
let { taskId, title } = $$props;
|
|
2630
|
+
const s = new LiveReviewSession({ id: taskId, title }, page.data.sessionToken ?? "");
|
|
2631
|
+
let menu = null;
|
|
2632
|
+
const clock = derived(() => {
|
|
2633
|
+
const sec = Math.floor(s.elapsed / 1e3);
|
|
2634
|
+
return `${String(Math.floor(sec / 60)).padStart(2, "0")}:${String(sec % 60).padStart(2, "0")}`;
|
|
2635
|
+
});
|
|
2636
|
+
const touch = derived(() => typeof matchMedia !== "undefined" && matchMedia("(pointer: coarse)").matches);
|
|
2637
|
+
const line = derived(() => {
|
|
2638
|
+
if (s.problem) return ["Not recording", ` · ${s.problem}`];
|
|
2639
|
+
if (!s.on) return ["Opening the preview…", ""];
|
|
2640
|
+
if (s.paused) return ["Paused", " · nothing is recorded until you carry on"];
|
|
2641
|
+
if (s.talking) return s.locked ? ["Mic on", " · tap ⌥ Option to turn it off"] : ["Listening", " · let go of ⌥ Option when you are done"];
|
|
2642
|
+
if (s.speaking) return ["Scribe speaking", " · hold ⌥ Option to cut in"];
|
|
2643
|
+
if (s.replyBusy) return ["Scribe thinking", " · answering you"];
|
|
2644
|
+
if (!s.canHear) return [
|
|
2645
|
+
"Recording",
|
|
2646
|
+
" · type to the scribe (this browser cannot hear speech)"
|
|
2647
|
+
];
|
|
2648
|
+
return [
|
|
2649
|
+
"Recording",
|
|
2650
|
+
touch() ? " · hold the button to talk" : s.mode === "talk" ? " · hold ⌥ Option to talk, or ask the scribe anything" : " · hold ⌥ Option to talk, or tap it twice for hands-free"
|
|
2651
|
+
];
|
|
2652
|
+
});
|
|
2653
|
+
const ring = derived(() => s.talking ? "ring-[3px] ring-sea" : s.paused || !s.on ? "ring-1 ring-input" : "ring-2 ring-danger/70");
|
|
2654
|
+
const caption = derived(() => s.talking ? {
|
|
2655
|
+
who: "captain",
|
|
2656
|
+
text: s.hearing?.finals ?? "",
|
|
2657
|
+
interim: s.hearing?.interim ?? ""
|
|
2658
|
+
} : s.scribeSays ? { who: "scribe", text: s.scribeSays, interim: "" } : null);
|
|
2659
|
+
$$renderer2.push(`<div class="fixed inset-0 z-50 flex flex-col bg-background outline-none" role="dialog" aria-modal="true"${attr("aria-label", `Live review of ${stringify(title)}`)} tabindex="-1" data-live-review=""><div class="flex shrink-0 items-center gap-3 border-b border-sea/25 bg-sea/5 px-3 py-2 pt-[max(0.5rem,env(safe-area-inset-top,0px))] sm:px-4" data-review-bar=""><span class="grid size-8 shrink-0 place-items-center rounded-full border-[1.5px] border-brass bg-sea/10" aria-hidden="true"><span${attr_class(`size-2.5 rounded-full ${s.talking ? "animate-pulse bg-sea" : s.on && !s.paused ? "animate-pulse bg-danger" : "bg-muted-foreground"}`)}></span></span> <div class="min-w-0 flex-1"><p class="flex items-baseline gap-2 text-sm whitespace-nowrap"><b class="font-semibold">Live review</b> <span class="font-mono text-xs text-muted-foreground tabular-nums">${escape_html(clock())}</span> <span class="hidden truncate text-xs text-muted-foreground sm:inline">of ${escape_html(title)}</span></p> <p class="h-[1.15rem] truncate text-xs text-muted-foreground" role="status"><b${attr_class(`font-semibold ${s.talking || s.speaking || s.replyBusy ? "text-sea" : s.on && !s.paused && !s.problem ? "text-danger" : ""}`)}>${escape_html(line()[0])}</b>${escape_html(line()[1])}</p></div> <div class="grid grid-cols-2 overflow-hidden rounded-md border text-xs max-md:hidden" role="group" aria-label="What the scribe does"><!--[-->`);
|
|
2660
|
+
const each_array = ensure_array_like([["talk", "Talk with me"], ["notes", "Notes only"]]);
|
|
2661
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2662
|
+
let [id2, label] = each_array[$$index];
|
|
2663
|
+
$$renderer2.push(`<button${attr_class(`cursor-pointer px-2.5 py-1.5 ${s.mode === id2 ? "bg-sea/15 font-semibold text-sea" : "text-muted-foreground hover:bg-muted"}`)}${attr("aria-pressed", s.mode === id2)}>${escape_html(label)}</button>`);
|
|
2664
|
+
}
|
|
2665
|
+
$$renderer2.push(`<!--]--></div> <div class="relative" data-review-menu=""><button class="grid size-8 cursor-pointer place-items-center rounded-md text-muted-foreground hover:bg-muted hover:text-foreground" aria-label="Session settings"${attr("aria-expanded", menu === "settings")}>`);
|
|
2666
|
+
Sliders_horizontal($$renderer2, { class: "size-4" });
|
|
2667
|
+
$$renderer2.push(`<!----></button> `);
|
|
2668
|
+
{
|
|
2669
|
+
$$renderer2.push("<!--[-1-->");
|
|
2670
|
+
}
|
|
2671
|
+
$$renderer2.push(`<!--]--></div> <button class="inline-flex h-8 cursor-pointer items-center gap-1.5 rounded-md border px-2.5 text-sm hover:bg-muted disabled:opacity-50"${attr("disabled", !s.on || !!s.pack, true)}>`);
|
|
2672
|
+
if (s.paused) {
|
|
2673
|
+
$$renderer2.push("<!--[0-->");
|
|
2674
|
+
Play($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2675
|
+
$$renderer2.push(`<!----><span class="max-sm:sr-only">Carry on</span>`);
|
|
2676
|
+
} else {
|
|
2677
|
+
$$renderer2.push("<!--[-1-->");
|
|
2678
|
+
Pause($$renderer2, { class: "size-4", "aria-hidden": "true" });
|
|
2679
|
+
$$renderer2.push(`<!----><span class="max-sm:sr-only">Pause</span>`);
|
|
2680
|
+
}
|
|
2681
|
+
$$renderer2.push(`<!--]--></button> <div class="relative" data-review-menu=""><button${attr_class(`h-8 shrink-0 cursor-pointer rounded-md border border-danger/50 px-3 text-sm font-medium text-danger hover:bg-danger/10 ${""}`)}${attr("aria-expanded", menu === "end")} aria-haspopup="menu" data-review-end="">End</button> `);
|
|
2682
|
+
{
|
|
2683
|
+
$$renderer2.push("<!--[-1-->");
|
|
2684
|
+
}
|
|
2685
|
+
$$renderer2.push(`<!--]--></div></div> <div class="relative flex min-h-0 flex-1"><div class="flex min-w-0 flex-1 flex-col gap-2 p-3 max-md:p-0"><div class="flex min-h-0 flex-1 flex-col overflow-hidden rounded-xl border-[1.5px] border-sea/50 bg-card shadow-sm max-md:rounded-none max-md:border-x-0"><div class="flex shrink-0 items-center gap-2.5 border-b border-sea/30 bg-sea/5 px-3 py-1.5 text-xs"><span class="inline-flex items-center gap-1.5 font-mono text-[10.5px] font-semibold tracking-[0.14em] whitespace-nowrap text-sea uppercase"><span${attr_class(`size-1.5 rounded-full ${s.on && !s.paused ? "animate-pulse bg-danger" : "bg-sea"}`)}></span>Preview under review</span> <span class="truncate font-medium max-md:hidden">${escape_html(title)}</span> <span class="min-w-0 flex-1 truncate font-mono text-muted-foreground">${escape_html(s.frameUrl ?? "")}</span> <button class="grid size-7 shrink-0 cursor-pointer place-items-center rounded hover:bg-accent" aria-label="Reload the preview"${attr("disabled", !s.frameUrl, true)}>`);
|
|
2686
|
+
Rotate_cw($$renderer2, { class: "size-3.5" });
|
|
2687
|
+
$$renderer2.push(`<!----></button></div> <div class="relative min-h-0 flex-1 bg-white">`);
|
|
2688
|
+
if (s.frameUrl) {
|
|
2689
|
+
$$renderer2.push(`<!--[0--><iframe${attr("src", s.frameUrl)}${attr("title", `Preview of ${stringify(title)}, recorded`)} sandbox="allow-scripts allow-forms allow-popups allow-popups-to-escape-sandbox allow-same-origin allow-modals" referrerpolicy="no-referrer" class="size-full border-0 bg-white"></iframe>`);
|
|
2690
|
+
} else {
|
|
2691
|
+
$$renderer2.push(`<!--[-1--><div class="grid size-full place-items-center p-6 text-center text-sm text-muted-foreground">${escape_html(s.problem ?? "Opening the preview…")}</div>`);
|
|
2692
|
+
}
|
|
2693
|
+
$$renderer2.push(`<!--]--> <div${attr_class(`pointer-events-none absolute inset-0 transition-shadow ${ring()} ring-inset`)}></div> `);
|
|
2694
|
+
if (caption()) {
|
|
2695
|
+
$$renderer2.push(`<!--[0--><div${attr_class(`pointer-events-none absolute bottom-4 left-1/2 flex w-[min(40rem,calc(100%-2rem))] -translate-x-1/2 items-start gap-3 rounded-2xl border px-4 py-3 text-[#eef1f3] shadow-2xl backdrop-blur ${caption().who === "scribe" ? "border-[#e8b04a]/45 bg-[#142130]/95" : "border-transparent bg-[#0b1118]/90"}`)} aria-live="polite" data-review-caption=""><span${attr_class(`grid size-7 shrink-0 place-items-center rounded-full ${caption().who === "scribe" ? "border-[1.5px] border-[#e8b04a] text-[#e8b04a]" : "bg-[#e8b04a] text-[#1a1203]"}`)}>`);
|
|
2696
|
+
if (caption().who === "scribe") {
|
|
2697
|
+
$$renderer2.push("<!--[0-->");
|
|
2698
|
+
Pen_line($$renderer2, { class: "size-3.5" });
|
|
2699
|
+
} else {
|
|
2700
|
+
$$renderer2.push("<!--[-1-->");
|
|
2701
|
+
Mic($$renderer2, { class: "size-3.5" });
|
|
2702
|
+
}
|
|
2703
|
+
$$renderer2.push(`<!--]--></span> <p class="min-w-0 font-reading text-[17px] leading-snug">`);
|
|
2704
|
+
if (caption().text || caption().interim) {
|
|
2705
|
+
$$renderer2.push(`<!--[0-->${escape_html(caption().text)} <span class="text-[#8e9aa6]">${escape_html(caption().interim)}</span>`);
|
|
2706
|
+
} else {
|
|
2707
|
+
$$renderer2.push(`<!--[-1-->Listening…`);
|
|
2708
|
+
}
|
|
2709
|
+
$$renderer2.push(`<!--]--></p></div>`);
|
|
2710
|
+
} else {
|
|
2711
|
+
$$renderer2.push("<!--[-1-->");
|
|
2712
|
+
}
|
|
2713
|
+
$$renderer2.push(`<!--]--> `);
|
|
2714
|
+
if (s.on) {
|
|
2715
|
+
$$renderer2.push(`<!--[0--><div class="absolute top-3 left-1/2 flex w-[min(36rem,calc(100%-2rem))] -translate-x-1/2 items-end gap-3 rounded-lg border border-l-[3px] border-l-sea bg-popover px-3.5 py-2.5 text-sm shadow-lg"><p><b>Recording.</b> Use the page as you normally would. Hold <kbd class="rounded border px-1 font-mono text-xs">⌥ Option</kbd> and talk: say what strikes
|
|
2716
|
+
you, or ask the scribe anything and it answers. Say “this” or “here” to mean what your
|
|
2717
|
+
pointer is on.</p> <button class="shrink-0 cursor-pointer text-xs text-sea hover:underline">Got it</button></div>`);
|
|
2718
|
+
} else {
|
|
2719
|
+
$$renderer2.push("<!--[-1-->");
|
|
2720
|
+
}
|
|
2721
|
+
$$renderer2.push(`<!--]--></div></div> <div class="max-md:hidden">`);
|
|
2722
|
+
ReviewTimeline($$renderer2, { session: s });
|
|
2723
|
+
$$renderer2.push(`<!----></div></div> <aside${attr_class(`flex w-[24rem] shrink-0 flex-col border-l bg-panel max-md:absolute max-md:inset-x-0 max-md:bottom-0 max-md:z-20 max-md:h-[85%] max-md:w-auto max-md:rounded-t-2xl max-md:border-t max-md:border-l-0 max-md:shadow-2xl xl:w-[26rem] ${"max-md:hidden"}`)} aria-label="The scribe">`);
|
|
2724
|
+
ScribePanel($$renderer2, { session: s });
|
|
2725
|
+
$$renderer2.push(`<!----></aside></div> <div class="flex shrink-0 items-center gap-2 border-t bg-background px-3 pt-2 pb-[max(0.5rem,env(safe-area-inset-bottom,0px))] md:hidden"><button${attr_class(`inline-flex h-14 flex-1 touch-none items-center justify-center gap-2 rounded-full border text-base font-semibold select-none ${s.talking ? "border-sea bg-sea text-on-accent" : "border-sea/55 bg-sea/10 text-sea"}`)}>`);
|
|
2726
|
+
Mic($$renderer2, { class: "size-5", "aria-hidden": "true" });
|
|
2727
|
+
$$renderer2.push(`<!---->${escape_html(s.talking ? "Let go to finish" : "Hold to talk")}</button> <button class="relative grid size-14 place-items-center rounded-2xl border text-sea" aria-label="The scribe’s notes">`);
|
|
2728
|
+
Notebook_pen($$renderer2, { class: "size-5" });
|
|
2729
|
+
$$renderer2.push(`<!----><span class="absolute top-1 right-1 rounded-full bg-muted px-1.5 font-mono text-[10px] text-muted-foreground">${escape_html(s.notes.length)}</span></button></div> `);
|
|
2730
|
+
if (s.notice) {
|
|
2731
|
+
$$renderer2.push(`<!--[0--><p class="fixed bottom-6 left-1/2 z-[60] max-w-[calc(100vw-2rem)] -translate-x-1/2 rounded-lg border bg-popover px-4 py-2.5 text-sm shadow-lg" role="status">${escape_html(s.notice)}</p>`);
|
|
2732
|
+
} else {
|
|
2733
|
+
$$renderer2.push("<!--[-1-->");
|
|
2734
|
+
}
|
|
2735
|
+
$$renderer2.push(`<!--]--> `);
|
|
2736
|
+
if (s.pack) {
|
|
2737
|
+
$$renderer2.push("<!--[0-->");
|
|
2738
|
+
ReviewPack($$renderer2, { session: s });
|
|
2739
|
+
} else {
|
|
2740
|
+
$$renderer2.push("<!--[-1-->");
|
|
2741
|
+
}
|
|
2742
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2743
|
+
});
|
|
2744
|
+
}
|
|
2745
|
+
function PreviewWindow($$renderer, $$props) {
|
|
2746
|
+
$$renderer.component(($$renderer2) => {
|
|
2747
|
+
let {
|
|
2748
|
+
taskId,
|
|
2749
|
+
title,
|
|
2750
|
+
url,
|
|
2751
|
+
talk = true,
|
|
2752
|
+
board = false,
|
|
2753
|
+
from = null,
|
|
2754
|
+
onclose
|
|
2755
|
+
} = $$props;
|
|
2756
|
+
const live = derived(() => liveReviewOn() && !!taskId && talk && !board && !reviewSurface());
|
|
2757
|
+
if (live() && taskId) {
|
|
2758
|
+
$$renderer2.push("<!--[0-->");
|
|
2759
|
+
LiveReview($$renderer2, { taskId, title });
|
|
2760
|
+
} else {
|
|
2761
|
+
$$renderer2.push("<!--[-1-->");
|
|
2762
|
+
PreviewStudio($$renderer2, { taskId, title, url, talk, board });
|
|
2763
|
+
}
|
|
2764
|
+
$$renderer2.push(`<!--]-->`);
|
|
2765
|
+
});
|
|
2766
|
+
}
|
|
2767
|
+
const answerWith = (card, a, note, token) => inbox.answer(card, a.choice, note, token, a.picks, a.decided);
|
|
2768
|
+
const HANDLED_DAYS = 7;
|
|
2769
|
+
function handled(cards, made, now) {
|
|
2770
|
+
const open = cards.filter((c) => !escalated(c) && awaitsAnswer(c));
|
|
2771
|
+
const since = now - HANDLED_DAYS * 864e5;
|
|
2772
|
+
const recent = made.filter((d) => Date.parse(d.decidedAt) >= since).sort((a, b) => Date.parse(b.decidedAt) - Date.parse(a.decidedAt));
|
|
2773
|
+
return { open, made: recent, count: open.length + recent.length };
|
|
2774
|
+
}
|
|
2775
|
+
const short = (s) => s.length > 90 ? s.slice(0, 87).trimEnd() + "…" : s;
|
|
2776
|
+
const decisionHref = (cardId) => `/?decision=${encodeURIComponent(cardId)}`;
|
|
2777
|
+
function chatAboutHref(card) {
|
|
2778
|
+
const task = card.secondMate?.taskId ? `${card.secondMate.taskId}@${card.secondMate.id}` : card.taskId;
|
|
2779
|
+
const id2 = card.kind === "hold" ? card.key : `${card.taskId}, key ${card.key}`;
|
|
2780
|
+
const draft = `About decision ${id2} (“${short(card.title)}”), not an answer yet: `;
|
|
2781
|
+
return `/?chat=${encodeURIComponent(task)}&draft=${encodeURIComponent(draft)}`;
|
|
2782
|
+
}
|
|
2783
|
+
function DecisionDetails($$renderer, $$props) {
|
|
2784
|
+
$$renderer.component(($$renderer2) => {
|
|
2785
|
+
let { card, expanded = false, onToggle } = $$props;
|
|
2786
|
+
const ev = derived(() => card.evidence);
|
|
2787
|
+
const decisionId = derived(() => card.kind === "hold" ? card.key : `${card.taskId} · ${card.key}`);
|
|
2788
|
+
const wrote = derived(() => card.question !== card.title ? card.question : null);
|
|
2789
|
+
const asked = derived(() => card.askedAt ? new Date(card.askedAt).toLocaleString([], {
|
|
2790
|
+
day: "numeric",
|
|
2791
|
+
month: "short",
|
|
2792
|
+
hour: "2-digit",
|
|
2793
|
+
minute: "2-digit"
|
|
2794
|
+
}) : null);
|
|
2795
|
+
$$renderer2.push(`<button class="touch-target mt-3 flex cursor-pointer items-center gap-1 text-xs font-medium text-muted-foreground hover:text-foreground"${attr("aria-expanded", expanded)} data-details="">Details`);
|
|
2796
|
+
Chevron_down($$renderer2, {
|
|
2797
|
+
class: `size-3.5 transition-transform ${expanded ? "rotate-180" : ""}`,
|
|
2798
|
+
"aria-hidden": "true"
|
|
2799
|
+
});
|
|
2800
|
+
$$renderer2.push(`<!---->`);
|
|
2801
|
+
if (!expanded) {
|
|
2802
|
+
$$renderer2.push(`<!--[0--><span class="font-normal">${escape_html(ev().findings.length ? ` · ${ev().findings.length} ${ev().findings.length === 1 ? "finding" : "findings"}` : "")}${escape_html(ev().pr ? " · pull request" : "")}</span>`);
|
|
2803
|
+
} else {
|
|
2804
|
+
$$renderer2.push("<!--[-1-->");
|
|
2805
|
+
}
|
|
2806
|
+
$$renderer2.push(`<!--]--></button> `);
|
|
2807
|
+
if (expanded) {
|
|
2808
|
+
$$renderer2.push(`<!--[0--><div class="mt-2 space-y-3 rounded-md border bg-background/60 p-3 text-sm" data-details-panel=""><dl class="grid grid-cols-[auto_1fr] gap-x-3 gap-y-1 text-xs"><dt class="text-muted-foreground">Decision</dt> <dd class="min-w-0 font-mono break-all">${escape_html(decisionId())}</dd> `);
|
|
2809
|
+
if (asked()) {
|
|
2810
|
+
$$renderer2.push(`<!--[0--><dt class="text-muted-foreground">Asked</dt> <dd>${escape_html(asked())}</dd>`);
|
|
2811
|
+
} else {
|
|
2812
|
+
$$renderer2.push("<!--[-1-->");
|
|
2813
|
+
}
|
|
2814
|
+
$$renderer2.push(`<!--]--> <dt class="text-muted-foreground">Raised by</dt> <dd class="min-w-0 break-words">${escape_html(card.origin ? `Firstmate, from ${card.origin}` : card.taskTitle)}</dd></dl> `);
|
|
2815
|
+
if (ev().findings.length) {
|
|
2816
|
+
$$renderer2.push(`<!--[0--><ol class="space-y-2.5"><!--[-->`);
|
|
2817
|
+
const each_array = ensure_array_like(ev().findings);
|
|
2818
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
2819
|
+
let f = each_array[$$index];
|
|
2820
|
+
$$renderer2.push(`<li><p class="leading-snug">`);
|
|
2821
|
+
if (f.serious) {
|
|
2822
|
+
$$renderer2.push(`<!--[0--><span class="mr-1.5 rounded bg-danger/10 px-1 text-xs font-medium text-danger">Serious</span>`);
|
|
2823
|
+
} else {
|
|
2824
|
+
$$renderer2.push("<!--[-1-->");
|
|
2825
|
+
}
|
|
2826
|
+
$$renderer2.push(`<!--]-->`);
|
|
2827
|
+
LinkedText($$renderer2, { text: f.summary });
|
|
2828
|
+
$$renderer2.push(`<!----></p> `);
|
|
2829
|
+
if (f.where) {
|
|
2830
|
+
$$renderer2.push(`<!--[0--><p class="mt-0.5 font-mono text-xs text-muted-foreground">${escape_html(f.where)}</p>`);
|
|
2831
|
+
} else {
|
|
2832
|
+
$$renderer2.push("<!--[-1-->");
|
|
2833
|
+
}
|
|
2834
|
+
$$renderer2.push(`<!--]--> `);
|
|
2835
|
+
if (f.detail) {
|
|
2836
|
+
$$renderer2.push(`<!--[0--><p class="mt-1 text-xs leading-relaxed text-muted-foreground">`);
|
|
2837
|
+
LinkedText($$renderer2, { text: f.detail });
|
|
2838
|
+
$$renderer2.push(`<!----></p>`);
|
|
2839
|
+
} else {
|
|
2840
|
+
$$renderer2.push("<!--[-1-->");
|
|
2841
|
+
}
|
|
2842
|
+
$$renderer2.push(`<!--]--></li>`);
|
|
2843
|
+
}
|
|
2844
|
+
$$renderer2.push(`<!--]--></ol>`);
|
|
2845
|
+
} else {
|
|
2846
|
+
$$renderer2.push("<!--[-1-->");
|
|
2847
|
+
}
|
|
2848
|
+
$$renderer2.push(`<!--]--> `);
|
|
2849
|
+
if (wrote()) {
|
|
2850
|
+
$$renderer2.push(`<!--[0--><div><p class="text-xs font-medium text-muted-foreground">As Firstmate wrote it</p> <p class="mt-0.5 leading-relaxed text-muted-foreground">`);
|
|
2851
|
+
LinkedText($$renderer2, { text: wrote() });
|
|
2852
|
+
$$renderer2.push(`<!----></p></div>`);
|
|
2853
|
+
} else {
|
|
2854
|
+
$$renderer2.push("<!--[-1-->");
|
|
2855
|
+
}
|
|
2856
|
+
$$renderer2.push(`<!--]--> `);
|
|
2857
|
+
if (ev().text) {
|
|
2858
|
+
$$renderer2.push(`<!--[0--><p class="leading-relaxed whitespace-pre-line text-muted-foreground">`);
|
|
2859
|
+
LinkedText($$renderer2, { text: ev().text });
|
|
2860
|
+
$$renderer2.push(`<!----></p>`);
|
|
2861
|
+
} else {
|
|
2862
|
+
$$renderer2.push("<!--[-1-->");
|
|
2863
|
+
}
|
|
2864
|
+
$$renderer2.push(`<!--]--> `);
|
|
2865
|
+
if (ev().pr || ev().file) {
|
|
2866
|
+
$$renderer2.push(`<!--[0--><ul class="flex flex-col gap-1 text-xs">`);
|
|
2867
|
+
if (ev().pr) {
|
|
2868
|
+
$$renderer2.push(`<!--[0--><li><a${attr("href", ev().pr.url)} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 break-all text-sea hover:underline">`);
|
|
2869
|
+
Git_pull_request($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2870
|
+
$$renderer2.push(`<!---->${escape_html(ev().pr.url)}</a>`);
|
|
2871
|
+
if (ev().checks) {
|
|
2872
|
+
$$renderer2.push(`<!--[0--><span class="ml-1.5 text-muted-foreground">· checks ${escape_html(ev().checks)}</span>`);
|
|
2873
|
+
} else {
|
|
2874
|
+
$$renderer2.push("<!--[-1-->");
|
|
2875
|
+
}
|
|
2876
|
+
$$renderer2.push(`<!--]--></li>`);
|
|
2877
|
+
} else {
|
|
2878
|
+
$$renderer2.push("<!--[-1-->");
|
|
2879
|
+
}
|
|
2880
|
+
$$renderer2.push(`<!--]--> `);
|
|
2881
|
+
if (ev().file) {
|
|
2882
|
+
$$renderer2.push(`<!--[0--><li class="inline-flex items-center gap-1 text-muted-foreground">`);
|
|
2883
|
+
File_text($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2884
|
+
$$renderer2.push(`<!---->Findings file <span class="font-mono break-all">${escape_html(ev().file)}</span></li>`);
|
|
2885
|
+
} else {
|
|
2886
|
+
$$renderer2.push("<!--[-1-->");
|
|
2887
|
+
}
|
|
2888
|
+
$$renderer2.push(`<!--]--></ul>`);
|
|
2889
|
+
} else {
|
|
2890
|
+
$$renderer2.push("<!--[-1-->");
|
|
2891
|
+
}
|
|
2892
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
2893
|
+
} else {
|
|
2894
|
+
$$renderer2.push("<!--[-1-->");
|
|
2895
|
+
}
|
|
2896
|
+
$$renderer2.push(`<!--]-->`);
|
|
2897
|
+
});
|
|
2898
|
+
}
|
|
2899
|
+
function DecisionWhere($$renderer, $$props) {
|
|
2900
|
+
$$renderer.component(($$renderer2) => {
|
|
2901
|
+
let { card } = $$props;
|
|
2902
|
+
const ev = derived(() => card.evidence);
|
|
2903
|
+
const board = derived(() => reviewSurface() ? null : ev().board);
|
|
2904
|
+
const key = derived(() => ev().previewTask ?? (ev().preview ? urlKey(ev().preview) : null));
|
|
2905
|
+
const boardKey = derived(() => board() ? urlKey(board()) : null);
|
|
2906
|
+
const check = derived(() => key() ? previewChecks.checks[key()] : void 0);
|
|
2907
|
+
const boardCheck = derived(() => boardKey() ? previewChecks.checks[boardKey()] : void 0);
|
|
2908
|
+
const stopped = derived(() => check()?.state === "down");
|
|
2909
|
+
const boardStopped = derived(() => boardCheck()?.state === "down");
|
|
2910
|
+
const shown = derived(() => check()?.url ?? ev().preview);
|
|
2911
|
+
const host = (u) => u ? URL.parse(u)?.host ?? u : "";
|
|
2912
|
+
const signOff = derived(() => card.kind === "preview" && !!ev().preview);
|
|
2913
|
+
const shots = derived(() => ev().screenshots ?? []);
|
|
2914
|
+
const thumb = derived(() => !signOff() && !!key() && !stopped());
|
|
2915
|
+
let studio = null;
|
|
2916
|
+
let shot = null;
|
|
2917
|
+
let $$settled = true;
|
|
2918
|
+
let $$inner_renderer;
|
|
2919
|
+
function $$render_inner($$renderer3) {
|
|
2920
|
+
if (ev().preview || board()) {
|
|
2921
|
+
$$renderer3.push(`<!--[0--><div class="mt-2.5 rounded-md border bg-background/60 text-xs" data-decision-where="">`);
|
|
2922
|
+
if (signOff() && key()) {
|
|
2923
|
+
$$renderer3.push(`<!--[0--><div class="overflow-hidden rounded-t-md border-b">`);
|
|
2924
|
+
if (ev().previewTask) {
|
|
2925
|
+
$$renderer3.push("<!--[0-->");
|
|
2926
|
+
LivePreview($$renderer3, {
|
|
2927
|
+
taskId: ev().previewTask,
|
|
2928
|
+
compact: true,
|
|
2929
|
+
toolbar: false,
|
|
2930
|
+
onopen: () => studio = { from: null }
|
|
2931
|
+
});
|
|
2932
|
+
} else {
|
|
2933
|
+
$$renderer3.push("<!--[-1-->");
|
|
2934
|
+
LivePreview($$renderer3, {
|
|
2935
|
+
url: ev().preview,
|
|
2936
|
+
compact: true,
|
|
2937
|
+
toolbar: false,
|
|
2938
|
+
onopen: () => studio = { from: null }
|
|
2939
|
+
});
|
|
2940
|
+
}
|
|
2941
|
+
$$renderer3.push(`<!--]--></div>`);
|
|
2942
|
+
} else {
|
|
2943
|
+
$$renderer3.push("<!--[-1-->");
|
|
2944
|
+
}
|
|
2945
|
+
$$renderer3.push(`<!--]--> <div class="flex flex-wrap items-center gap-x-3 gap-y-1.5 px-3 py-2"><span class="text-muted-foreground">Where it is</span> `);
|
|
2946
|
+
if (ev().preview) {
|
|
2947
|
+
$$renderer3.push("<!--[0-->");
|
|
2948
|
+
if (stopped()) {
|
|
2949
|
+
$$renderer3.push(`<!--[0--><span class="inline-flex items-center gap-1 text-muted-foreground" data-where-preview="down">`);
|
|
2950
|
+
Monitor_off($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2951
|
+
$$renderer3.push(`<!---->Preview stopped</span>`);
|
|
2952
|
+
} else {
|
|
2953
|
+
$$renderer3.push(`<!--[-1--><button type="button" class="inline-flex cursor-pointer items-center gap-1 font-medium text-sea hover:underline max-md:min-h-11" aria-haspopup="dialog" data-where-preview="">`);
|
|
2954
|
+
Monitor_play($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2955
|
+
$$renderer3.push(`<!---->Open the preview</button> `);
|
|
2956
|
+
if (shown()) {
|
|
2957
|
+
$$renderer3.push(`<!--[0--><a${attr("href", shown())} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 text-muted-foreground hover:text-foreground hover:underline max-md:min-h-11"${attr("title", shown())}>${escape_html(host(ev().preview))}`);
|
|
2958
|
+
External_link($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2959
|
+
$$renderer3.push(`<!----></a>`);
|
|
2960
|
+
} else {
|
|
2961
|
+
$$renderer3.push("<!--[-1-->");
|
|
2962
|
+
}
|
|
2963
|
+
$$renderer3.push(`<!--]-->`);
|
|
2964
|
+
}
|
|
2965
|
+
$$renderer3.push(`<!--]-->`);
|
|
2966
|
+
} else {
|
|
2967
|
+
$$renderer3.push("<!--[-1-->");
|
|
2968
|
+
}
|
|
2969
|
+
$$renderer3.push(`<!--]--> `);
|
|
2970
|
+
if (board()) {
|
|
2971
|
+
$$renderer3.push("<!--[0-->");
|
|
2972
|
+
if (boardStopped()) {
|
|
2973
|
+
$$renderer3.push(`<!--[0--><span class="inline-flex items-center gap-1 text-muted-foreground" data-where-board="down">`);
|
|
2974
|
+
Monitor_off($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2975
|
+
$$renderer3.push(`<!---->Board stopped</span>`);
|
|
2976
|
+
} else {
|
|
2977
|
+
$$renderer3.push(`<!--[-1--><a${attr("href", board())} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 font-medium text-sea hover:underline max-md:min-h-11"${attr("title", board())} data-where-board="">`);
|
|
2978
|
+
Layout_dashboard($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2979
|
+
$$renderer3.push(`<!---->Open the board`);
|
|
2980
|
+
External_link($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
2981
|
+
$$renderer3.push(`<!----></a>`);
|
|
2982
|
+
}
|
|
2983
|
+
$$renderer3.push(`<!--]-->`);
|
|
2984
|
+
} else {
|
|
2985
|
+
$$renderer3.push("<!--[-1-->");
|
|
2986
|
+
}
|
|
2987
|
+
$$renderer3.push(`<!--]--></div></div>`);
|
|
2988
|
+
} else {
|
|
2989
|
+
$$renderer3.push("<!--[-1-->");
|
|
2990
|
+
}
|
|
2991
|
+
$$renderer3.push(`<!--]--> `);
|
|
2992
|
+
if (thumb() || shots().length) {
|
|
2993
|
+
$$renderer3.push(`<!--[0--><ul class="mt-2.5 flex flex-wrap gap-2" aria-label="Thumbnails" data-decision-thumbs="">`);
|
|
2994
|
+
if (thumb()) {
|
|
2995
|
+
$$renderer3.push(`<!--[0--><li class="w-48 max-w-full overflow-hidden rounded-md border bg-background" data-thumb-preview="">`);
|
|
2996
|
+
if (ev().previewTask) {
|
|
2997
|
+
$$renderer3.push("<!--[0-->");
|
|
2998
|
+
LivePreview($$renderer3, {
|
|
2999
|
+
taskId: ev().previewTask,
|
|
3000
|
+
compact: true,
|
|
3001
|
+
toolbar: false,
|
|
3002
|
+
onopen: () => studio = { from: null }
|
|
3003
|
+
});
|
|
3004
|
+
} else {
|
|
3005
|
+
$$renderer3.push("<!--[-1-->");
|
|
3006
|
+
LivePreview($$renderer3, {
|
|
3007
|
+
url: ev().preview,
|
|
3008
|
+
compact: true,
|
|
3009
|
+
toolbar: false,
|
|
3010
|
+
onopen: () => studio = { from: null }
|
|
3011
|
+
});
|
|
3012
|
+
}
|
|
3013
|
+
$$renderer3.push(`<!--]--> <p class="flex items-center gap-1 border-t px-2 py-1 text-[0.7rem] text-muted-foreground">`);
|
|
3014
|
+
Monitor_play($$renderer3, { class: "size-3 shrink-0", "aria-hidden": "true" });
|
|
3015
|
+
$$renderer3.push(`<!----><span class="truncate">Preview · ${escape_html(host(ev().preview))}</span></p></li>`);
|
|
3016
|
+
} else {
|
|
3017
|
+
$$renderer3.push("<!--[-1-->");
|
|
3018
|
+
}
|
|
3019
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
3020
|
+
const each_array = ensure_array_like(shots());
|
|
3021
|
+
for (let i = 0, $$length = each_array.length; i < $$length; i++) {
|
|
3022
|
+
let s = each_array[i];
|
|
3023
|
+
$$renderer3.push(`<li><button type="button" class="block cursor-zoom-in overflow-hidden rounded-md border bg-background" aria-haspopup="dialog"${attr("title", `Enlarge ${stringify(s.name)}`)} data-thumb-shot=""><img${attr("src", s.url)}${attr("alt", s.name)} class="h-20 w-32 object-cover object-top sm:h-24 sm:w-36" loading="lazy"/></button></li>`);
|
|
3024
|
+
}
|
|
3025
|
+
$$renderer3.push(`<!--]--></ul>`);
|
|
3026
|
+
} else {
|
|
3027
|
+
$$renderer3.push("<!--[-1-->");
|
|
3028
|
+
}
|
|
3029
|
+
$$renderer3.push(`<!--]--> `);
|
|
3030
|
+
Lightbox($$renderer3, {
|
|
3031
|
+
shots: shots(),
|
|
3032
|
+
get index() {
|
|
3033
|
+
return shot;
|
|
3034
|
+
},
|
|
3035
|
+
set index($$value) {
|
|
3036
|
+
shot = $$value;
|
|
3037
|
+
$$settled = false;
|
|
3038
|
+
}
|
|
3039
|
+
});
|
|
3040
|
+
$$renderer3.push(`<!----> `);
|
|
3041
|
+
if (studio && ev().preview) {
|
|
3042
|
+
$$renderer3.push("<!--[0-->");
|
|
3043
|
+
PreviewWindow($$renderer3, {
|
|
3044
|
+
taskId: ev().previewTask,
|
|
3045
|
+
title: card.taskTitle,
|
|
3046
|
+
url: ev().preview,
|
|
3047
|
+
from: studio.from,
|
|
3048
|
+
onclose: () => studio = null
|
|
3049
|
+
});
|
|
3050
|
+
} else {
|
|
3051
|
+
$$renderer3.push("<!--[-1-->");
|
|
3052
|
+
}
|
|
3053
|
+
$$renderer3.push(`<!--]-->`);
|
|
3054
|
+
}
|
|
3055
|
+
do {
|
|
3056
|
+
$$settled = true;
|
|
3057
|
+
$$inner_renderer = $$renderer2.copy();
|
|
3058
|
+
$$render_inner($$inner_renderer);
|
|
3059
|
+
} while (!$$settled);
|
|
3060
|
+
$$renderer2.subsume($$inner_renderer);
|
|
3061
|
+
});
|
|
3062
|
+
}
|
|
3063
|
+
function DocModal($$renderer, $$props) {
|
|
3064
|
+
$$renderer.component(($$renderer2) => {
|
|
3065
|
+
let { doc = null } = $$props;
|
|
3066
|
+
const name = derived(() => doc ? doc.path.split("/").pop() ?? doc.path : "");
|
|
3067
|
+
const isMarkdown = derived(() => !!doc && DOC_EXT.test(doc.path));
|
|
3068
|
+
$$renderer2.push(`<dialog class="m-auto flex max-h-[90vh] w-[min(94vw,56rem)] flex-col overflow-hidden rounded-xl border bg-background p-0 text-foreground shadow-xl backdrop:bg-black/60 [&:not([open])]:hidden"${attr("aria-label", name() || "Document")} data-doc-modal="">`);
|
|
3069
|
+
if (doc) {
|
|
3070
|
+
$$renderer2.push(`<!--[0--><div class="flex items-center gap-2 border-b px-4 py-2.5 text-sm"><span class="min-w-0 flex-1"><span class="block truncate font-medium">${escape_html(name())}</span> <span class="block truncate font-mono text-xs text-muted-foreground">${escape_html(doc.path)}</span></span> `);
|
|
3071
|
+
if (isMarkdown()) {
|
|
3072
|
+
$$renderer2.push(`<!--[0--><a${attr("href", docHref(doc.path))} target="_blank" rel="noreferrer" class="inline-flex items-center gap-1 rounded px-2 py-1 text-xs text-muted-foreground hover:bg-accent hover:text-foreground">Open in a new tab`);
|
|
3073
|
+
External_link($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3074
|
+
$$renderer2.push(`<!----></a>`);
|
|
3075
|
+
} else {
|
|
3076
|
+
$$renderer2.push("<!--[-1-->");
|
|
3077
|
+
}
|
|
3078
|
+
$$renderer2.push(`<!--]--> <button type="button" class="flex size-9 cursor-pointer items-center justify-center rounded hover:bg-accent" aria-label="Close">`);
|
|
3079
|
+
X($$renderer2, { class: "size-4" });
|
|
3080
|
+
$$renderer2.push(`<!----></button></div> <div class="min-h-0 flex-1 overflow-y-auto px-4 py-3 text-sm sm:px-6">`);
|
|
3081
|
+
{
|
|
3082
|
+
$$renderer2.push(`<!--[1--><p class="text-muted-foreground">Reading it…</p>`);
|
|
3083
|
+
}
|
|
3084
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
3085
|
+
} else {
|
|
3086
|
+
$$renderer2.push("<!--[-1-->");
|
|
3087
|
+
}
|
|
3088
|
+
$$renderer2.push(`<!--]--></dialog>`);
|
|
3089
|
+
bind_props($$props, { doc });
|
|
3090
|
+
});
|
|
3091
|
+
}
|
|
3092
|
+
function DecisionLinks($$renderer, $$props) {
|
|
3093
|
+
$$renderer.component(($$renderer2) => {
|
|
3094
|
+
let { card } = $$props;
|
|
3095
|
+
const docs = derived(() => card.evidence.docs ?? []);
|
|
3096
|
+
const taskName = derived(() => card.secondMate ? card.secondMate.taskId ?? card.secondMate.id : card.taskId);
|
|
3097
|
+
let reading = null;
|
|
3098
|
+
const KIND2 = { report: "Report", doc: "Doc", patch: "Patch" };
|
|
3099
|
+
const fileName = (d) => d.kind === "report" ? d.path : d.path.split("/").pop() ?? d.path;
|
|
3100
|
+
const chip = "inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11";
|
|
3101
|
+
const mono = "min-w-0 truncate font-mono text-[0.75rem] text-muted-foreground";
|
|
3102
|
+
let $$settled = true;
|
|
3103
|
+
let $$inner_renderer;
|
|
3104
|
+
function $$render_inner($$renderer3) {
|
|
3105
|
+
$$renderer3.push(`<div class="mt-2.5 flex flex-wrap items-center gap-1.5" data-decision-links=""><a${attr("href", cardTaskHref(card))} class="inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11 border-brass/60 font-medium" title="Open the task" data-decision-task="">`);
|
|
3106
|
+
List_checks($$renderer3, { class: "size-3.5 shrink-0 text-brass", "aria-hidden": "true" });
|
|
3107
|
+
$$renderer3.push(`<!---->Task <span${attr_class(clsx(mono))}>${escape_html(taskName())}</span></a> `);
|
|
3108
|
+
if (card.origin) {
|
|
3109
|
+
$$renderer3.push(`<!--[0--><a${attr("href", `/tasks/${stringify(encodeURIComponent(card.origin))}`)}${attr_class(clsx(chip))} title="The task this decision came from" data-decision-origin="">`);
|
|
3110
|
+
Link_2($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
3111
|
+
$$renderer3.push(`<!---->From <span${attr_class(clsx(mono))}>${escape_html(card.origin)}</span></a>`);
|
|
3112
|
+
} else {
|
|
3113
|
+
$$renderer3.push("<!--[-1-->");
|
|
3114
|
+
}
|
|
3115
|
+
$$renderer3.push(`<!--]--> <!--[-->`);
|
|
3116
|
+
const each_array = ensure_array_like(docs());
|
|
3117
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
3118
|
+
let d = each_array[$$index];
|
|
3119
|
+
const Icon2 = d.kind === "patch" ? File_code : File_text;
|
|
3120
|
+
if (d.url) {
|
|
3121
|
+
$$renderer3.push(`<!--[0--><button type="button" class="inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11 cursor-pointer" aria-haspopup="dialog"${attr("title", `Read ${stringify(d.path)}`)}${attr("data-decision-doc", d.kind)}>`);
|
|
3122
|
+
if (Icon2) {
|
|
3123
|
+
$$renderer3.push("<!--[-->");
|
|
3124
|
+
Icon2($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
3125
|
+
$$renderer3.push("<!--]-->");
|
|
3126
|
+
} else {
|
|
3127
|
+
$$renderer3.push("<!--[!-->");
|
|
3128
|
+
$$renderer3.push("<!--]-->");
|
|
3129
|
+
}
|
|
3130
|
+
$$renderer3.push(`${escape_html(KIND2[d.kind])} <span${attr_class(clsx(mono))}>${escape_html(fileName(d))}</span></button>`);
|
|
3131
|
+
} else {
|
|
3132
|
+
$$renderer3.push(`<!--[-1--><span class="inline-flex min-h-8 max-w-full items-center gap-1.5 rounded-md border bg-background px-2.5 text-[0.8rem] transition-colors hover:bg-accent max-md:min-h-11 text-muted-foreground hover:bg-background" data-decision-doc="missing">`);
|
|
3133
|
+
if (Icon2) {
|
|
3134
|
+
$$renderer3.push("<!--[-->");
|
|
3135
|
+
Icon2($$renderer3, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
3136
|
+
$$renderer3.push("<!--]-->");
|
|
3137
|
+
} else {
|
|
3138
|
+
$$renderer3.push("<!--[!-->");
|
|
3139
|
+
$$renderer3.push("<!--]-->");
|
|
3140
|
+
}
|
|
3141
|
+
$$renderer3.push(`${escape_html(KIND2[d.kind])} <span${attr_class(clsx(mono))}>${escape_html(fileName(d))}</span> (not found)</span>`);
|
|
3142
|
+
}
|
|
3143
|
+
$$renderer3.push(`<!--]-->`);
|
|
3144
|
+
}
|
|
3145
|
+
$$renderer3.push(`<!--]--></div> `);
|
|
3146
|
+
DecisionWhere($$renderer3, { card });
|
|
3147
|
+
$$renderer3.push(`<!----> `);
|
|
3148
|
+
DocModal($$renderer3, {
|
|
3149
|
+
get doc() {
|
|
3150
|
+
return reading;
|
|
3151
|
+
},
|
|
3152
|
+
set doc($$value) {
|
|
3153
|
+
reading = $$value;
|
|
3154
|
+
$$settled = false;
|
|
3155
|
+
}
|
|
3156
|
+
});
|
|
3157
|
+
$$renderer3.push(`<!---->`);
|
|
3158
|
+
}
|
|
3159
|
+
do {
|
|
3160
|
+
$$settled = true;
|
|
3161
|
+
$$inner_renderer = $$renderer2.copy();
|
|
3162
|
+
$$render_inner($$inner_renderer);
|
|
3163
|
+
} while (!$$settled);
|
|
3164
|
+
$$renderer2.subsume($$inner_renderer);
|
|
3165
|
+
});
|
|
3166
|
+
}
|
|
3167
|
+
function DismissPicker($$renderer, $$props) {
|
|
3168
|
+
$$renderer.component(($$renderer2) => {
|
|
3169
|
+
let { name, disabled = false } = $$props;
|
|
3170
|
+
const OWN = "own";
|
|
3171
|
+
let picked = DISMISS_REASONS[0];
|
|
3172
|
+
$$renderer2.push(`<form class="mt-2 rounded-md border bg-background/60 px-3 py-2.5 text-sm" data-dismiss-picker=""><fieldset><legend class="text-xs font-medium text-muted-foreground">Dismiss it without an answer. Why?</legend> <div class="mt-1.5 flex flex-wrap gap-1.5"><!--[-->`);
|
|
3173
|
+
const each_array = ensure_array_like([...DISMISS_REASONS, OWN]);
|
|
3174
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
3175
|
+
let r = each_array[$$index];
|
|
3176
|
+
$$renderer2.push(`<label class="inline-flex min-h-9 cursor-pointer items-center gap-1.5 rounded-full border px-2.5 text-xs transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 max-md:min-h-11"><input type="radio"${attr("name", `dismiss-${stringify(name)}`)}${attr("value", r)}${attr("checked", picked === r, true)} class="accent-sea"/>${escape_html(r === OWN ? "Another reason" : r)}</label>`);
|
|
3177
|
+
}
|
|
3178
|
+
$$renderer2.push(`<!--]--></div></fieldset> `);
|
|
3179
|
+
{
|
|
3180
|
+
$$renderer2.push("<!--[-1-->");
|
|
3181
|
+
}
|
|
3182
|
+
$$renderer2.push(`<!--]--> <div class="mt-2 flex flex-wrap items-center gap-1.5"><button type="submit" class="inline-flex min-h-9 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors hover:bg-accent disabled:cursor-not-allowed disabled:opacity-50 max-md:min-h-11"${attr("disabled", disabled || picked === OWN, true)} data-dismiss-confirm="">`);
|
|
3183
|
+
X($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3184
|
+
$$renderer2.push(`<!---->Dismiss it</button> <button type="button" class="inline-flex min-h-9 cursor-pointer items-center rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground max-md:min-h-11">Cancel</button> <span class="text-xs text-muted-foreground">Firstmate records it closed everywhere.</span></div></form>`);
|
|
3185
|
+
});
|
|
3186
|
+
}
|
|
3187
|
+
function DecisionForm($$renderer, $$props) {
|
|
3188
|
+
$$renderer.component(($$renderer2) => {
|
|
3189
|
+
let {
|
|
3190
|
+
form,
|
|
3191
|
+
name,
|
|
3192
|
+
canAnswer = true,
|
|
3193
|
+
decided = null,
|
|
3194
|
+
dismissed = null,
|
|
3195
|
+
other = false,
|
|
3196
|
+
onAnswer,
|
|
3197
|
+
onDismiss
|
|
3198
|
+
/** Unique per card, for the radio groups. */
|
|
3199
|
+
/** The words decided, once answered: shown in place of the controls. */
|
|
3200
|
+
/** Dismissed without an answer: the reason ('' for none), shown in place of the controls. */
|
|
3201
|
+
/** The captain's own answer is open (Other). */
|
|
3202
|
+
} = $$props;
|
|
3203
|
+
let picked = null;
|
|
3204
|
+
let picks = {};
|
|
3205
|
+
let written = "";
|
|
3206
|
+
let own = "";
|
|
3207
|
+
const OTHER = "other";
|
|
3208
|
+
const options = derived(() => form.kind === "buttons" || form.kind === "choice" ? form.options : []);
|
|
3209
|
+
const chosen = derived(() => other ? null : options().find((o) => o.id === picked) ?? options().find((o) => o.recommended) ?? null);
|
|
3210
|
+
const done = derived(() => decided !== null || dismissed !== null);
|
|
3211
|
+
const missing = derived(() => form.kind === "picks" ? unpicked(form.choices, picks) : []);
|
|
3212
|
+
const inRow = (call) => call.options.every((o) => !o.detail && o.label.length <= 28);
|
|
3213
|
+
const primary = "border-sea bg-sea text-on-accent hover:bg-sea/90";
|
|
3214
|
+
function ownAnswer($$renderer3) {
|
|
3215
|
+
$$renderer3.push(`<form class="mt-2 flex items-end gap-2 rounded-lg border border-input bg-background px-2.5 py-1.5 focus-within:ring-2 focus-within:ring-ring"><textarea rows="1"${attr("maxlength", DECIDED_MAX)}${attr("disabled", !canAnswer, true)} placeholder="Your own answer" aria-label="Your own answer" class="field-sizing-content max-h-32 min-h-7 flex-1 resize-none bg-transparent py-0.5 text-sm placeholder:text-muted-foreground focus:outline-none max-md:self-center max-md:text-base" data-other-text="">`);
|
|
3216
|
+
const $$body = escape_html(own);
|
|
3217
|
+
if ($$body) {
|
|
3218
|
+
$$renderer3.push(`${$$body}`);
|
|
3219
|
+
}
|
|
3220
|
+
$$renderer3.push(`</textarea> <button type="submit" class="inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 text-sm font-medium text-on-accent disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11 max-md:px-3.5"${attr("disabled", !canAnswer || !own.trim(), true)} data-other-send="">`);
|
|
3221
|
+
Check($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3222
|
+
$$renderer3.push(`<!---->Send</button></form>`);
|
|
3223
|
+
}
|
|
3224
|
+
$$renderer2.push(`<div class="mt-3"${attr("data-decision-form", form.kind)}${attr("data-form-from", form.from)}>`);
|
|
3225
|
+
if (form.prompt) {
|
|
3226
|
+
$$renderer2.push(`<!--[0--><p class="text-sm leading-snug font-medium">${escape_html(form.prompt)}</p>`);
|
|
3227
|
+
} else {
|
|
3228
|
+
$$renderer2.push("<!--[-1-->");
|
|
3229
|
+
}
|
|
3230
|
+
$$renderer2.push(`<!--]--> `);
|
|
3231
|
+
if (decided !== null) {
|
|
3232
|
+
$$renderer2.push(`<!--[0--><p class="mt-2 flex items-start gap-1.5 text-sm leading-snug" data-decided="">`);
|
|
3233
|
+
Circle_check($$renderer2, {
|
|
3234
|
+
class: "mt-0.5 size-3.5 shrink-0 text-success",
|
|
3235
|
+
"aria-hidden": "true"
|
|
3236
|
+
});
|
|
3237
|
+
$$renderer2.push(`<!----><span>You decided <span class="font-semibold">${escape_html(decided)}</span></span></p>`);
|
|
3238
|
+
} else if (dismissed !== null) {
|
|
3239
|
+
$$renderer2.push(`<!--[1--><p class="mt-2 flex items-start gap-1.5 text-sm leading-snug" data-dismissed="">`);
|
|
3240
|
+
Circle_x($$renderer2, {
|
|
3241
|
+
class: "mt-0.5 size-3.5 shrink-0 text-muted-foreground",
|
|
3242
|
+
"aria-hidden": "true"
|
|
3243
|
+
});
|
|
3244
|
+
$$renderer2.push(`<!----><span>You dismissed it${escape_html(dismissed ? `: ${dismissed}` : "")}</span></p>`);
|
|
3245
|
+
} else if (form.kind === "buttons") {
|
|
3246
|
+
$$renderer2.push(`<!--[2--><div class="mt-2 flex flex-wrap items-center gap-1.5 max-md:flex-col max-md:items-stretch max-md:gap-2" role="group" aria-label="Answer"><!--[-->`);
|
|
3247
|
+
const each_array = ensure_array_like(form.options);
|
|
3248
|
+
for (let $$index = 0, $$length = each_array.length; $$index < $$length; $$index++) {
|
|
3249
|
+
let o = each_array[$$index];
|
|
3250
|
+
$$renderer2.push(`<button${attr_class(`inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base ${o.recommended ? primary : "bg-background hover:bg-accent"}`)}${attr("disabled", !canAnswer, true)}${attr("data-option", o.id)}>${escape_html(o.label)}`);
|
|
3251
|
+
if (o.recommended) {
|
|
3252
|
+
$$renderer2.push(`<!--[0--><span class="text-xs font-normal opacity-80">· recommended</span>`);
|
|
3253
|
+
} else {
|
|
3254
|
+
$$renderer2.push("<!--[-1-->");
|
|
3255
|
+
}
|
|
3256
|
+
$$renderer2.push(`<!--]--></button>`);
|
|
3257
|
+
}
|
|
3258
|
+
$$renderer2.push(`<!--]--> <button class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-dashed bg-background text-muted-foreground hover:bg-accent hover:text-foreground"${attr("disabled", !canAnswer, true)}${attr("aria-expanded", other)} data-other="">`);
|
|
3259
|
+
Pen_line($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3260
|
+
$$renderer2.push(`<!---->Other…</button></div> `);
|
|
3261
|
+
if (other) {
|
|
3262
|
+
$$renderer2.push("<!--[0-->");
|
|
3263
|
+
ownAnswer($$renderer2);
|
|
3264
|
+
} else {
|
|
3265
|
+
$$renderer2.push("<!--[-1-->");
|
|
3266
|
+
}
|
|
3267
|
+
$$renderer2.push(`<!--]-->`);
|
|
3268
|
+
} else if (form.kind === "choice") {
|
|
3269
|
+
$$renderer2.push(`<!--[3--><div class="mt-2 flex flex-col gap-1.5 max-md:gap-2" role="radiogroup"${attr("aria-label", form.prompt ?? "Options")}><!--[-->`);
|
|
3270
|
+
const each_array_1 = ensure_array_like(form.options);
|
|
3271
|
+
for (let $$index_1 = 0, $$length = each_array_1.length; $$index_1 < $$length; $$index_1++) {
|
|
3272
|
+
let o = each_array_1[$$index_1];
|
|
3273
|
+
$$renderer2.push(`<label class="flex min-w-0 cursor-pointer items-start gap-2 rounded-md border px-2.5 py-1.5 text-sm transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-60 max-md:min-h-12 max-md:items-center max-md:gap-3 max-md:rounded-lg max-md:px-3.5 max-md:py-2.5 max-md:text-base"><input type="radio"${attr("name", `form-${stringify(name)}`)}${attr("value", o.id)}${attr("checked", chosen()?.id === o.id, true)}${attr("disabled", !canAnswer, true)} class="mt-[0.2rem] shrink-0 accent-sea max-md:mt-0 max-md:size-5"/> <span class="min-w-0 leading-snug"><span class="font-semibold">${escape_html(o.label)}</span>`);
|
|
3274
|
+
if (o.detail) {
|
|
3275
|
+
$$renderer2.push(`<!--[0--><span class="text-foreground/85">${escape_html(` · ${o.detail}`)}</span>`);
|
|
3276
|
+
} else {
|
|
3277
|
+
$$renderer2.push("<!--[-1-->");
|
|
3278
|
+
}
|
|
3279
|
+
$$renderer2.push(`<!--]-->`);
|
|
3280
|
+
if (o.recommended) {
|
|
3281
|
+
$$renderer2.push(`<!--[0--><span class="ml-1.5 text-xs font-medium whitespace-nowrap text-brass">Recommended</span>`);
|
|
3282
|
+
} else {
|
|
3283
|
+
$$renderer2.push("<!--[-1-->");
|
|
3284
|
+
}
|
|
3285
|
+
$$renderer2.push(`<!--]--></span></label>`);
|
|
3286
|
+
}
|
|
3287
|
+
$$renderer2.push(`<!--]--> <label class="flex min-w-0 cursor-pointer items-start gap-2 rounded-md border border-dashed px-2.5 py-1.5 text-sm text-muted-foreground transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 has-[:checked]:text-foreground has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-60 max-md:min-h-12 max-md:items-center max-md:gap-3 max-md:rounded-lg max-md:px-3.5 max-md:py-2.5 max-md:text-base" data-other=""><input type="radio"${attr("name", `form-${stringify(name)}`)}${attr("value", OTHER)}${attr("checked", other, true)}${attr("disabled", !canAnswer, true)} class="mt-[0.2rem] shrink-0 accent-sea max-md:mt-0 max-md:size-5"/> <span class="inline-flex min-w-0 items-center gap-1 leading-snug">`);
|
|
3288
|
+
Pen_line($$renderer2, { class: "size-3.5 shrink-0", "aria-hidden": "true" });
|
|
3289
|
+
$$renderer2.push(`<!---->Other: write your own answer</span></label></div> `);
|
|
3290
|
+
if (other) {
|
|
3291
|
+
$$renderer2.push(`<!--[0--><textarea rows="2"${attr("maxlength", DECIDED_MAX)}${attr("disabled", !canAnswer, true)} placeholder="Your own answer" aria-label="Your own answer" class="mt-2 block field-sizing-content max-h-40 min-h-12 w-full resize-none rounded-md border border-input bg-background px-2.5 py-1.5 text-sm placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none max-md:text-base" data-other-text="">`);
|
|
3292
|
+
const $$body_1 = escape_html(own);
|
|
3293
|
+
if ($$body_1) {
|
|
3294
|
+
$$renderer2.push(`${$$body_1}`);
|
|
3295
|
+
}
|
|
3296
|
+
$$renderer2.push(`</textarea>`);
|
|
3297
|
+
} else {
|
|
3298
|
+
$$renderer2.push("<!--[-1-->");
|
|
3299
|
+
}
|
|
3300
|
+
$$renderer2.push(`<!--]--> <div class="mt-2.5"><button class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-sea bg-sea text-on-accent hover:bg-sea/90"${attr("disabled", !canAnswer || (other ? !own.trim() : !chosen()), true)} data-decide="">`);
|
|
3301
|
+
Check($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3302
|
+
$$renderer2.push(`<!---->${escape_html(other ? "Send your answer" : `Decide${chosen() ? `: ${chosen().label}` : ""}`)}</button></div>`);
|
|
3303
|
+
} else if (form.kind === "picks") {
|
|
3304
|
+
$$renderer2.push("<!--[4-->");
|
|
3305
|
+
const all = resolvePicks(form.choices, picks);
|
|
3306
|
+
$$renderer2.push(`<div class="mt-2 flex flex-col gap-3" role="group" aria-label="Your picks"><!--[-->`);
|
|
3307
|
+
const each_array_2 = ensure_array_like(form.choices.calls);
|
|
3308
|
+
for (let $$index_3 = 0, $$length = each_array_2.length; $$index_3 < $$length; $$index_3++) {
|
|
3309
|
+
let call = each_array_2[$$index_3];
|
|
3310
|
+
$$renderer2.push(`<fieldset class="min-w-0"><legend class="text-sm leading-snug font-medium">`);
|
|
3311
|
+
if (call.number !== null) {
|
|
3312
|
+
$$renderer2.push(`<!--[0--><span class="mr-1 text-muted-foreground tabular-nums">${escape_html(call.number)}.</span>`);
|
|
3313
|
+
} else {
|
|
3314
|
+
$$renderer2.push("<!--[-1-->");
|
|
3315
|
+
}
|
|
3316
|
+
$$renderer2.push(`<!--]-->${escape_html(call.prompt ?? "Pick one")}`);
|
|
3317
|
+
if (!call.required) {
|
|
3318
|
+
$$renderer2.push(`<!--[0--><span class="ml-1 font-normal text-muted-foreground">· optional</span>`);
|
|
3319
|
+
} else {
|
|
3320
|
+
$$renderer2.push("<!--[-1-->");
|
|
3321
|
+
}
|
|
3322
|
+
$$renderer2.push(`<!--]--></legend> `);
|
|
3323
|
+
if (call.options.length) {
|
|
3324
|
+
$$renderer2.push(`<!--[0--><div${attr_class(`mt-1.5 flex gap-1.5 max-md:flex-col max-md:gap-2 ${inRow(call) ? "flex-wrap" : "flex-col"}`)}><!--[-->`);
|
|
3325
|
+
const each_array_3 = ensure_array_like(call.options);
|
|
3326
|
+
for (let $$index_2 = 0, $$length2 = each_array_3.length; $$index_2 < $$length2; $$index_2++) {
|
|
3327
|
+
let o = each_array_3[$$index_2];
|
|
3328
|
+
$$renderer2.push(`<label class="flex min-w-0 cursor-pointer items-start gap-2 rounded-md border px-2.5 py-1.5 text-sm transition-colors hover:bg-accent has-[:checked]:border-sea has-[:checked]:bg-sea/5 has-[:disabled]:cursor-not-allowed has-[:disabled]:opacity-60 max-md:min-h-12 max-md:items-center max-md:gap-3 max-md:rounded-lg max-md:px-3.5 max-md:py-2.5 max-md:text-base"><input type="radio"${attr("name", `pick-${stringify(name)}-${stringify(call.id)}`)}${attr("value", o.id)}${attr("checked", all[call.id] === o.id, true)}${attr("disabled", !canAnswer, true)} class="mt-[0.2rem] shrink-0 accent-sea max-md:mt-0 max-md:size-5"/> <span class="min-w-0 leading-snug">`);
|
|
3329
|
+
if (o.detail) {
|
|
3330
|
+
$$renderer2.push(`<!--[0--><span class="font-semibold">${escape_html(o.label)}</span><span class="text-foreground/85">${escape_html(` · ${o.detail}`)}</span>`);
|
|
3331
|
+
} else {
|
|
3332
|
+
$$renderer2.push(`<!--[-1-->${escape_html(o.label)}`);
|
|
3333
|
+
}
|
|
3334
|
+
$$renderer2.push(`<!--]-->`);
|
|
3335
|
+
if (o.recommended) {
|
|
3336
|
+
$$renderer2.push(`<!--[0--><span class="ml-1.5 text-xs font-medium whitespace-nowrap text-brass">Recommended</span>`);
|
|
3337
|
+
} else {
|
|
3338
|
+
$$renderer2.push("<!--[-1-->");
|
|
3339
|
+
}
|
|
3340
|
+
$$renderer2.push(`<!--]--></span></label>`);
|
|
3341
|
+
}
|
|
3342
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
3343
|
+
} else {
|
|
3344
|
+
$$renderer2.push(`<!--[-1--><input type="text"${attr("value", picks[call.id] ?? "")}${attr("maxlength", WRITTEN_MAX)}${attr("disabled", !canAnswer, true)} placeholder="Your answer (optional)"${attr("aria-label", `Your answer to ${stringify(callName(call) || "this call")}`)} class="mt-1.5 block h-9 w-full rounded-md border border-input bg-background px-2.5 text-sm placeholder:text-muted-foreground focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none max-md:h-12 max-md:text-base"/>`);
|
|
3345
|
+
}
|
|
3346
|
+
$$renderer2.push(`<!--]--></fieldset>`);
|
|
3347
|
+
}
|
|
3348
|
+
$$renderer2.push(`<!--]--></div> <div class="mt-2.5"><button class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-sea bg-sea text-on-accent hover:bg-sea/90"${attr("disabled", !canAnswer || missing().length > 0, true)} data-decide="">`);
|
|
3349
|
+
Check($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3350
|
+
$$renderer2.push(`<!---->Decide</button> <button class="inline-flex min-h-10 cursor-pointer items-center gap-1.5 rounded-md border px-3 text-sm font-medium transition-colors disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9 max-md:min-h-12 max-md:w-full max-md:justify-center max-md:text-base border-dashed bg-background text-muted-foreground hover:bg-accent hover:text-foreground"${attr("disabled", !canAnswer, true)}${attr("aria-expanded", other)} data-other="">`);
|
|
3351
|
+
Pen_line($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3352
|
+
$$renderer2.push(`<!---->Other…</button> `);
|
|
3353
|
+
if (missing().length) {
|
|
3354
|
+
$$renderer2.push(`<!--[0--><p class="mt-1.5 text-xs text-muted-foreground">Pick one for ${escape_html(missing().map(callRef).join(", "))} to decide.</p>`);
|
|
3355
|
+
} else {
|
|
3356
|
+
$$renderer2.push("<!--[-1-->");
|
|
3357
|
+
}
|
|
3358
|
+
$$renderer2.push(`<!--]--></div> `);
|
|
3359
|
+
if (other) {
|
|
3360
|
+
$$renderer2.push("<!--[0-->");
|
|
3361
|
+
ownAnswer($$renderer2);
|
|
3362
|
+
} else {
|
|
3363
|
+
$$renderer2.push("<!--[-1-->");
|
|
3364
|
+
}
|
|
3365
|
+
$$renderer2.push(`<!--]-->`);
|
|
3366
|
+
} else {
|
|
3367
|
+
$$renderer2.push(`<!--[-1--><form class="mt-2 flex items-end gap-2 rounded-lg border border-input bg-background px-2.5 py-1.5 focus-within:ring-2 focus-within:ring-ring"><textarea rows="1"${attr("maxlength", DECIDED_MAX)}${attr("disabled", !canAnswer, true)} placeholder="Your answer"${attr("aria-label", form.prompt ?? "Your answer")} class="field-sizing-content max-h-32 min-h-7 flex-1 resize-none bg-transparent py-0.5 text-sm placeholder:text-muted-foreground focus:outline-none max-md:self-center max-md:text-base">`);
|
|
3368
|
+
const $$body_2 = escape_html(written);
|
|
3369
|
+
if ($$body_2) {
|
|
3370
|
+
$$renderer2.push(`${$$body_2}`);
|
|
3371
|
+
}
|
|
3372
|
+
$$renderer2.push(`</textarea> <button type="submit" class="inline-flex h-7 shrink-0 cursor-pointer items-center gap-1 rounded-md bg-sea px-2.5 text-sm font-medium text-on-accent disabled:cursor-not-allowed disabled:opacity-40 max-md:h-11 max-md:px-3.5"${attr("disabled", !canAnswer || !written.trim(), true)} data-decide="">`);
|
|
3373
|
+
Check($$renderer2, { class: "size-3.5", "aria-hidden": "true" });
|
|
3374
|
+
$$renderer2.push(`<!---->Decide</button></form>`);
|
|
3375
|
+
}
|
|
3376
|
+
$$renderer2.push(`<!--]--> `);
|
|
3377
|
+
if (done()) {
|
|
3378
|
+
$$renderer2.push("<!--[0-->");
|
|
3379
|
+
} else if (canAnswer) {
|
|
3380
|
+
$$renderer2.push(`<!--[2--><button class="mt-1.5 inline-flex cursor-pointer items-center gap-1 rounded px-1 text-xs text-muted-foreground hover:text-foreground max-md:min-h-11 max-md:text-sm">`);
|
|
3381
|
+
Pen_line($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
3382
|
+
$$renderer2.push(`<!---->Add a note</button>`);
|
|
3383
|
+
} else {
|
|
3384
|
+
$$renderer2.push("<!--[-1-->");
|
|
3385
|
+
}
|
|
3386
|
+
$$renderer2.push(`<!--]--> `);
|
|
3387
|
+
if (onDismiss && !done() && canAnswer) {
|
|
3388
|
+
$$renderer2.push("<!--[0-->");
|
|
3389
|
+
{
|
|
3390
|
+
$$renderer2.push(`<!--[-1--><button class="mt-1.5 ml-1 inline-flex cursor-pointer items-center gap-1 rounded px-1 text-xs text-muted-foreground hover:text-foreground max-md:min-h-11 max-md:text-sm" data-dismiss="">`);
|
|
3391
|
+
X($$renderer2, { class: "size-3", "aria-hidden": "true" });
|
|
3392
|
+
$$renderer2.push(`<!---->Dismiss</button>`);
|
|
3393
|
+
}
|
|
3394
|
+
$$renderer2.push(`<!--]-->`);
|
|
3395
|
+
} else {
|
|
3396
|
+
$$renderer2.push("<!--[-1-->");
|
|
3397
|
+
}
|
|
3398
|
+
$$renderer2.push(`<!--]--></div>`);
|
|
3399
|
+
bind_props($$props, { other });
|
|
3400
|
+
});
|
|
3401
|
+
}
|
|
3402
|
+
function DecisionCard($$renderer, $$props) {
|
|
3403
|
+
$$renderer.component(($$renderer2) => {
|
|
3404
|
+
let {
|
|
3405
|
+
card,
|
|
3406
|
+
project = null,
|
|
3407
|
+
active = false,
|
|
3408
|
+
expanded = false,
|
|
3409
|
+
shortcuts = false,
|
|
3410
|
+
canAnswer = true,
|
|
3411
|
+
error = null,
|
|
3412
|
+
now,
|
|
3413
|
+
other = false,
|
|
3414
|
+
dismissing = false,
|
|
3415
|
+
onSent,
|
|
3416
|
+
onLater,
|
|
3417
|
+
onToggle,
|
|
3418
|
+
onFocus
|
|
3419
|
+
/** The captain's own answer is open (Other). */
|
|
3420
|
+
/** Asking why it is being dismissed. */
|
|
3421
|
+
/** An answer or a dismissal is on its way: the card is leaving the list. */
|
|
3422
|
+
} = $$props;
|
|
3423
|
+
const KIND2 = {
|
|
3424
|
+
review: { label: "Review question", icon: Scale },
|
|
3425
|
+
decision: { label: "Decision", icon: Hand },
|
|
3426
|
+
blocked: { label: "Stuck", icon: Octagon_alert },
|
|
3427
|
+
hold: { label: "Your call", icon: Hand },
|
|
3428
|
+
merge: { label: "Merge call", icon: Git_pull_request },
|
|
3429
|
+
preview: { label: "Preview sign-off", icon: Monitor_play }
|
|
3430
|
+
};
|
|
3431
|
+
const token = derived(() => page.data.sessionToken ?? "");
|
|
3432
|
+
const kind = derived(() => KIND2[card.kind]);
|
|
3433
|
+
const mine = derived(() => card.owner === "captain");
|
|
3434
|
+
const following = derived(() => !!card.following);
|
|
3435
|
+
const rec = derived(() => card.recommendation);
|
|
3436
|
+
const context = derived(() => cardContext(card));
|
|
3437
|
+
const form = derived(() => cardForm(card));
|
|
3438
|
+
const chatHref = derived(() => chatAboutHref(card));
|
|
3439
|
+
const prLink = derived(() => card.evidence.pr ? pullRequests.review(card.projectId, card.evidence.pr) : null);
|
|
3440
|
+
const kbd = "ml-0.5 hidden rounded border border-current/30 px-1 font-mono text-[0.7rem] leading-4 opacity-70 sm:inline";
|
|
3441
|
+
const quiet = "inline-flex min-h-11 cursor-pointer items-center gap-1.5 rounded-md px-2.5 text-sm text-muted-foreground hover:bg-accent hover:text-foreground disabled:cursor-not-allowed disabled:opacity-50 sm:min-h-9";
|
|
3442
|
+
function answer(a, note) {
|
|
3443
|
+
onSent?.();
|
|
3444
|
+
void answerWith(card, a, note, token());
|
|
3445
|
+
}
|
|
3446
|
+
let $$settled = true;
|
|
3447
|
+
let $$inner_renderer;
|
|
3448
|
+
function $$render_inner($$renderer3) {
|
|
3449
|
+
$$renderer3.push(`<article${attr("id", `card-${stringify(card.id)}`)}${attr_class(`scroll-mt-24 rounded-lg border border-l-[3px] bg-card text-card-foreground transition-shadow ${following() ? "border-l-sea/50" : mine() ? "border-l-sea" : "border-l-brass"} ${active ? "shadow-[0_0_0_2px_var(--ring)]" : ""} px-4 pt-3.5 pb-3 sm:px-5`)}${attr("aria-current", active ? "true" : void 0)}${attr("data-decision-card", card.owner)}${attr("data-following", following() || void 0)}><header class="flex flex-wrap items-center gap-x-2 gap-y-1">`);
|
|
3450
|
+
if (project) {
|
|
3451
|
+
$$renderer3.push(`<!--[0--><span class="rounded-sm border px-1.5 text-[0.95rem] leading-[1.15rem] font-semibold tracking-[0.08em] text-muted-foreground [font-variant-caps:all-small-caps]">${escape_html(project)}</span>`);
|
|
3452
|
+
} else {
|
|
3453
|
+
$$renderer3.push("<!--[-1-->");
|
|
3454
|
+
}
|
|
3455
|
+
$$renderer3.push(`<!--]--> `);
|
|
3456
|
+
if (following()) {
|
|
3457
|
+
$$renderer3.push(`<!--[0--><span class="flex items-center gap-1 rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-sea">`);
|
|
3458
|
+
Messages_square($$renderer3, { class: "size-3", "aria-hidden": "true" });
|
|
3459
|
+
$$renderer3.push(`<!---->Following up</span>`);
|
|
3460
|
+
} else {
|
|
3461
|
+
$$renderer3.push(`<!--[-1--><span${attr_class(`flex items-center gap-1 rounded px-1.5 text-xs leading-[1.15rem] font-medium ${mine() ? "bg-sea/10 text-sea" : "bg-muted text-foreground/80"}`)}>`);
|
|
3462
|
+
if (kind().icon) {
|
|
3463
|
+
$$renderer3.push("<!--[-->");
|
|
3464
|
+
kind().icon($$renderer3, { class: "size-3", "aria-hidden": "true" });
|
|
3465
|
+
$$renderer3.push("<!--]-->");
|
|
3466
|
+
} else {
|
|
3467
|
+
$$renderer3.push("<!--[!-->");
|
|
3468
|
+
$$renderer3.push("<!--]-->");
|
|
3469
|
+
}
|
|
3470
|
+
$$renderer3.push(`${escape_html(kind().label)}</span>`);
|
|
3471
|
+
}
|
|
3472
|
+
$$renderer3.push(`<!--]--> `);
|
|
3473
|
+
if (card.secondMate) {
|
|
3474
|
+
$$renderer3.push(`<!--[0--><span class="rounded bg-muted px-1.5 text-xs leading-[1.15rem] font-medium text-foreground/80"${attr("data-second-mate", card.secondMate.id)}>From second mate ${escape_html(card.secondMate.id)}</span>`);
|
|
3475
|
+
} else {
|
|
3476
|
+
$$renderer3.push("<!--[-1-->");
|
|
3477
|
+
}
|
|
3478
|
+
$$renderer3.push(`<!--]--> <span class="text-xs text-muted-foreground">${escape_html(following() ? "Following up with Firstmate separately" : mine() ? "Waiting on you" : card.secondMate ? "Its second mate is handling it; yours to take over if you want" : "Firstmate is handling it; yours to take over if you want")}</span> `);
|
|
3479
|
+
if (card.askedAt) {
|
|
3480
|
+
$$renderer3.push(`<!--[0--><span class="ml-auto text-xs text-muted-foreground tabular-nums">${escape_html(ago(card.askedAt, now))}</span>`);
|
|
3481
|
+
} else {
|
|
3482
|
+
$$renderer3.push("<!--[-1-->");
|
|
3483
|
+
}
|
|
3484
|
+
$$renderer3.push(`<!--]--></header> <h3 class="mt-2 font-sans text-base leading-snug font-medium text-foreground sm:text-[1.05rem]">`);
|
|
3485
|
+
LinkedText($$renderer3, { text: card.title });
|
|
3486
|
+
$$renderer3.push(`<!----></h3> `);
|
|
3487
|
+
if (context()) {
|
|
3488
|
+
$$renderer3.push(`<!--[0--><p class="mt-0.5 line-clamp-3 text-sm leading-snug text-muted-foreground" data-context="">`);
|
|
3489
|
+
LinkedText($$renderer3, { text: context() });
|
|
3490
|
+
$$renderer3.push(`<!----></p>`);
|
|
3491
|
+
} else {
|
|
3492
|
+
$$renderer3.push("<!--[-1-->");
|
|
3493
|
+
}
|
|
3494
|
+
$$renderer3.push(`<!--]--> <p class="mt-0.5 text-xs text-muted-foreground">${escape_html(card.taskTitle)}</p> `);
|
|
3495
|
+
DecisionLinks($$renderer3, { card });
|
|
3496
|
+
$$renderer3.push(`<!----> `);
|
|
3497
|
+
if (rec()) {
|
|
3498
|
+
$$renderer3.push(`<!--[0--><p class="mt-2.5 border-l-2 border-brass pl-2.5 text-sm leading-snug"><span class="font-medium">Firstmate recommends</span><span class="text-muted-foreground">· `);
|
|
3499
|
+
LinkedText($$renderer3, { text: rec().text });
|
|
3500
|
+
$$renderer3.push(`<!----></span></p>`);
|
|
3501
|
+
} else {
|
|
3502
|
+
$$renderer3.push("<!--[-1-->");
|
|
3503
|
+
}
|
|
3504
|
+
$$renderer3.push(`<!--]--> `);
|
|
3505
|
+
DecisionForm($$renderer3, {
|
|
3506
|
+
form: form(),
|
|
3507
|
+
name: card.id,
|
|
3508
|
+
canAnswer,
|
|
3509
|
+
onAnswer: (a, note) => answer(a, note),
|
|
3510
|
+
get other() {
|
|
3511
|
+
return other;
|
|
3512
|
+
},
|
|
3513
|
+
set other($$value) {
|
|
3514
|
+
other = $$value;
|
|
3515
|
+
$$settled = false;
|
|
3516
|
+
}
|
|
3517
|
+
});
|
|
3518
|
+
$$renderer3.push(`<!----> `);
|
|
3519
|
+
if (card.sent?.delivery === "failed" && !error) {
|
|
3520
|
+
$$renderer3.push(`<!--[0--><p class="mt-3 text-sm text-danger" role="alert">Not delivered to Firstmate: ${escape_html(card.sent.picks ?? choiceLabel(card, card.sent.choice))}. ${escape_html(card.sent.detail ?? "Try again.")}</p>`);
|
|
3521
|
+
} else {
|
|
3522
|
+
$$renderer3.push("<!--[-1-->");
|
|
3523
|
+
}
|
|
3524
|
+
$$renderer3.push(`<!--]--> <div class="mt-3 flex flex-wrap items-center gap-1.5 border-t border-hair/70 pt-2.5" role="group" aria-label="More"><a${attr("href", chatHref())} class="inline-flex min-h-11 items-center gap-1.5 rounded-md border bg-background px-3 text-sm font-medium transition-colors hover:bg-accent sm:min-h-9" title="Open the Firstmate chat with a message about this started; it waits as following up meanwhile" data-chat-about="">`);
|
|
3525
|
+
Message_square($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3526
|
+
$$renderer3.push(`<!---->Chat with Firstmate about this`);
|
|
3527
|
+
if (shortcuts) {
|
|
3528
|
+
$$renderer3.push(`<!--[0--><kbd${attr_class(clsx(kbd))}>c</kbd>`);
|
|
3529
|
+
} else {
|
|
3530
|
+
$$renderer3.push("<!--[-1-->");
|
|
3531
|
+
}
|
|
3532
|
+
$$renderer3.push(`<!--]--></a> `);
|
|
3533
|
+
if (following()) {
|
|
3534
|
+
$$renderer3.push(`<!--[0--><button${attr_class(clsx(quiet))} title="It waits on you again, and counts as waiting" data-unfollow="">`);
|
|
3535
|
+
Undo_2($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3536
|
+
$$renderer3.push(`<!---->Back to waiting</button>`);
|
|
3537
|
+
} else {
|
|
3538
|
+
$$renderer3.push("<!--[-1-->");
|
|
3539
|
+
}
|
|
3540
|
+
$$renderer3.push(`<!--]--> `);
|
|
3541
|
+
if (prLink()) {
|
|
3542
|
+
$$renderer3.push(`<!--[0--><a${attr_class(clsx(quiet))}${attr("href", prLink().href)}${attr("target", prLink().external ? "_blank" : void 0)}${attr("rel", prLink().external ? "noreferrer" : void 0)} title="Open the pull request to review it; this answers nothing" data-review-pr="">`);
|
|
3543
|
+
Compass($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3544
|
+
$$renderer3.push(`<!---->Review`);
|
|
3545
|
+
if (prLink().external) {
|
|
3546
|
+
$$renderer3.push("<!--[0-->");
|
|
3547
|
+
External_link($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3548
|
+
} else {
|
|
3549
|
+
$$renderer3.push("<!--[-1-->");
|
|
3550
|
+
}
|
|
3551
|
+
$$renderer3.push(`<!--]--></a>`);
|
|
3552
|
+
} else {
|
|
3553
|
+
$$renderer3.push("<!--[-1-->");
|
|
3554
|
+
}
|
|
3555
|
+
$$renderer3.push(`<!--]--> <span class="flex-1"></span> `);
|
|
3556
|
+
if (onLater) {
|
|
3557
|
+
$$renderer3.push(`<!--[0--><button${attr_class(clsx(quiet))}>`);
|
|
3558
|
+
Clock($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3559
|
+
$$renderer3.push(`<!---->Ask me later`);
|
|
3560
|
+
if (shortcuts) {
|
|
3561
|
+
$$renderer3.push(`<!--[0--><kbd${attr_class(clsx(kbd))}>l</kbd>`);
|
|
3562
|
+
} else {
|
|
3563
|
+
$$renderer3.push("<!--[-1-->");
|
|
3564
|
+
}
|
|
3565
|
+
$$renderer3.push(`<!--]--></button>`);
|
|
3566
|
+
} else {
|
|
3567
|
+
$$renderer3.push("<!--[-1-->");
|
|
3568
|
+
}
|
|
3569
|
+
$$renderer3.push(`<!--]--> <button${attr_class(clsx(quiet))}${attr("disabled", !canAnswer, true)}${attr("aria-expanded", dismissing)} title="No answer needed: Firstmate records it closed, with your reason" data-dismiss="">`);
|
|
3570
|
+
X($$renderer3, { class: "size-3.5", "aria-hidden": "true" });
|
|
3571
|
+
$$renderer3.push(`<!---->Dismiss`);
|
|
3572
|
+
if (shortcuts) {
|
|
3573
|
+
$$renderer3.push(`<!--[0--><kbd${attr_class(clsx(kbd))}>d</kbd>`);
|
|
3574
|
+
} else {
|
|
3575
|
+
$$renderer3.push("<!--[-1-->");
|
|
3576
|
+
}
|
|
3577
|
+
$$renderer3.push(`<!--]--></button></div> `);
|
|
3578
|
+
if (dismissing) {
|
|
3579
|
+
$$renderer3.push("<!--[0-->");
|
|
3580
|
+
DismissPicker($$renderer3, {
|
|
3581
|
+
name: card.id,
|
|
3582
|
+
disabled: !canAnswer
|
|
3583
|
+
});
|
|
3584
|
+
} else {
|
|
3585
|
+
$$renderer3.push("<!--[-1-->");
|
|
3586
|
+
}
|
|
3587
|
+
$$renderer3.push(`<!--]--> `);
|
|
3588
|
+
if (error) {
|
|
3589
|
+
$$renderer3.push(`<!--[0--><p class="mt-2 text-sm text-danger" role="alert">${escape_html(error)}</p>`);
|
|
3590
|
+
} else {
|
|
3591
|
+
$$renderer3.push("<!--[-1-->");
|
|
3592
|
+
}
|
|
3593
|
+
$$renderer3.push(`<!--]--> `);
|
|
3594
|
+
DecisionDetails($$renderer3, { card, expanded, onToggle });
|
|
3595
|
+
$$renderer3.push(`<!----></article>`);
|
|
3596
|
+
}
|
|
3597
|
+
do {
|
|
3598
|
+
$$settled = true;
|
|
3599
|
+
$$inner_renderer = $$renderer2.copy();
|
|
3600
|
+
$$render_inner($$inner_renderer);
|
|
3601
|
+
} while (!$$settled);
|
|
3602
|
+
$$renderer2.subsume($$inner_renderer);
|
|
3603
|
+
bind_props($$props, { other, dismissing });
|
|
3604
|
+
});
|
|
3605
|
+
}
|
|
3606
|
+
|
|
3607
|
+
export { Circle_x as C, DecisionCard as D, LivePreview as L, Monitor_off as M, Pause as P, Sliders_horizontal as S, Thumbs_up as T, Undo_2 as U, PreviewWindow as a, Layout_dashboard as b, PreviewActions as c, PreviewHelper as d, decisionHref as e, DecisionForm as f, dictationEngine as g, Send as h, DecisionLinks as i, answerWith as j, chatAboutHref as k, liveReviewOn as l, DecisionDetails as m, Mic as n, MicButton as o, Square as p, editableTarget as q, reviewSurface as r, handled as s };
|
|
3608
|
+
//# sourceMappingURL=DecisionCard.js-TnTwRd_x.js.map
|