@dylanpiercey/work 0.0.203 → 0.0.205
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/bin/work.mjs +220 -63
- package/dist/_CWyeRc54.js +2 -0
- package/dist/{_B9FeLAO5.js → _C_-lYJlp.js} +394 -114
- package/dist/index.mjs +15157 -13688
- package/dist/public/assets/_-OlchSkR.js +1 -0
- package/dist/public/assets/_2V7v-g6H.js +1 -0
- package/dist/public/assets/_5FuvVnQD.js +1 -0
- package/dist/public/assets/_5izm_sOI.js +1 -0
- package/dist/public/assets/_5izm_sOI.js.br +0 -0
- package/dist/public/assets/_6AplNi7Z.js +1 -0
- package/dist/public/assets/_6AplNi7Z.js.br +0 -0
- package/dist/public/assets/_8YGIApOo.js +1 -0
- package/dist/public/assets/{_DITz3wmu.js → _AHFaCvQU.js} +1 -1
- package/dist/public/assets/_AHFaCvQU.js.br +0 -0
- package/dist/public/assets/_B0mn17Dk.js +1 -0
- package/dist/public/assets/_B0roVhqi.js +1 -0
- package/dist/public/assets/{_Brbaz_V-.js → _B16QFqgy.js} +1 -1
- package/dist/public/assets/_B16QFqgy.js.br +0 -0
- package/dist/public/assets/{_D8WMh6gu.js → _B2f-LxUk.js} +1 -1
- package/dist/public/assets/_B2f-LxUk.js.br +0 -0
- package/dist/public/assets/_B7rzA4Vo.js +1 -0
- package/dist/public/assets/_B7rzA4Vo.js.br +0 -0
- package/dist/public/assets/_B9EmUOCA.js +1 -0
- package/dist/public/assets/_B9EmUOCA.js.br +0 -0
- package/dist/public/assets/_BD9gP_kw.js +1 -0
- package/dist/public/assets/_BD9gP_kw.js.br +0 -0
- package/dist/public/assets/_BDHG8Nmi.js +9 -0
- package/dist/public/assets/_BDHG8Nmi.js.br +0 -0
- package/dist/public/assets/{_Cl7KlO12.js → _BDWKc_9X.js} +1 -1
- package/dist/public/assets/_BDWKc_9X.js.br +0 -0
- package/dist/public/assets/{_BeVk3dbG.js → _BE8KQ5PW.js} +1 -1
- package/dist/public/assets/_BE8KQ5PW.js.br +0 -0
- package/dist/public/assets/{_DCg8UEc3.js → _BFgV8m7c.js} +1 -1
- package/dist/public/assets/_BFgV8m7c.js.br +0 -0
- package/dist/public/assets/_BHZ-Cv2U.js +1 -0
- package/dist/public/assets/{_Do95KzEK.js → _BHcaNOzL.js} +1 -1
- package/dist/public/assets/_BHcaNOzL.js.br +0 -0
- package/dist/public/assets/_BKM2-z0e.js +1 -0
- package/dist/public/assets/_BN0AE2HC.js +1 -0
- package/dist/public/assets/_BNORURCQ.js +1 -0
- package/dist/public/assets/_BNORURCQ.js.br +0 -0
- package/dist/public/assets/_BNm4Ae9_.js +1 -0
- package/dist/public/assets/_BNm4Ae9_.js.br +0 -0
- package/dist/public/assets/_BOm1SpkD.js +1 -0
- package/dist/public/assets/{_C3M50_zF.js → _BPhE-idg.js} +1 -1
- package/dist/public/assets/_BPhE-idg.js.br +0 -0
- package/dist/public/assets/{_Bx5kmADX.js → _BPtQ2PEh.js} +1 -1
- package/dist/public/assets/_BPtQ2PEh.js.br +0 -0
- package/dist/public/assets/_BRGmqkNr.js +1 -0
- package/dist/public/assets/_BRnslEKE.js +1 -0
- package/dist/public/assets/{_B9kU6sMh.js → _BSSQw7B1.js} +1 -1
- package/dist/public/assets/_BSSQw7B1.js.br +0 -0
- package/dist/public/assets/{_CPH47jXm.js → _BUfLoUyd.js} +56 -56
- package/dist/public/assets/_BUfLoUyd.js.br +0 -0
- package/dist/public/assets/{_CRZGR7so.js → _BVLWii1t.js} +1 -1
- package/dist/public/assets/_BVLWii1t.js.br +0 -0
- package/dist/public/assets/{_DEf8mUHj.js → _BWAs5afd.js} +1 -1
- package/dist/public/assets/_BWAs5afd.js.br +0 -0
- package/dist/public/assets/_BYdCKt3O.js +1 -0
- package/dist/public/assets/_B_JOtc1M.js +1 -0
- package/dist/public/assets/_BcXiRBkz.js +1 -0
- package/dist/public/assets/_BgKdTCD6.js +1 -0
- package/dist/public/assets/{_TcqYUNNo.js → _BixjwCO8.js} +1 -1
- package/dist/public/assets/_BixjwCO8.js.br +0 -0
- package/dist/public/assets/_BkQF1UOD.js +1 -0
- package/dist/public/assets/_BkQF1UOD.js.br +0 -0
- package/dist/public/assets/_BpGTzAYy.js +1 -0
- package/dist/public/assets/{_DqAamLSj.js → _Bpf0k8uS.js} +1 -1
- package/dist/public/assets/_Bpf0k8uS.js.br +0 -0
- package/dist/public/assets/{_CljaR6t8.js → _BqizK7cx.js} +1 -1
- package/dist/public/assets/_BqizK7cx.js.br +0 -0
- package/dist/public/assets/{_CArazMIS.js → _BrWsQx9M.js} +1 -1
- package/dist/public/assets/_BrWsQx9M.js.br +0 -0
- package/dist/public/assets/_BrbA4biE.js +1 -0
- package/dist/public/assets/{_CoZYY0F5.js → _Bs2HUAxm.js} +1 -1
- package/dist/public/assets/_Bs2HUAxm.js.br +0 -0
- package/dist/public/assets/_BsWogZkr.js +1 -0
- package/dist/public/assets/_BthptJ6a.js +1 -0
- package/dist/public/assets/_BthptJ6a.js.br +0 -0
- package/dist/public/assets/_BuxlUghc.js +1 -0
- package/dist/public/assets/{_BaiQtGR9.js → _Bv-wpAaO.js} +1 -1
- package/dist/public/assets/_Bv-wpAaO.js.br +0 -0
- package/dist/public/assets/_BvK6PQ1z.js +1 -0
- package/dist/public/assets/{_-K2pkpBq.js → _BytWZ6R5.js} +1 -1
- package/dist/public/assets/_BytWZ6R5.js.br +0 -0
- package/dist/public/assets/_C-OUSTHo.js +1 -0
- package/dist/public/assets/{_C_Lr0eFb.js → _C0Hfu_Ho.js} +1 -1
- package/dist/public/assets/_C0Hfu_Ho.js.br +0 -0
- package/dist/public/assets/_C0ztthm_.js +1 -0
- package/dist/public/assets/{_Dq-Jad5X.js → _C2DkGqn5.js} +1 -1
- package/dist/public/assets/_C2DkGqn5.js.br +0 -0
- package/dist/public/assets/{_DFjp3R_E.js → _C33cmCxX.js} +1 -1
- package/dist/public/assets/_C33cmCxX.js.br +0 -0
- package/dist/public/assets/{_B80CP8fn.js → _C3ShTfoQ.js} +1 -1
- package/dist/public/assets/_C3ShTfoQ.js.br +0 -0
- package/dist/public/assets/_C3tVbCBH.js +1 -0
- package/dist/public/assets/_C6M1hDWV.js +1 -0
- package/dist/public/assets/_C6P-6sWK.js +1 -0
- package/dist/public/assets/_C78RESm0.js +1 -0
- package/dist/public/assets/_C7z3JBX0.js +1 -0
- package/dist/public/assets/_C8-cikmx.js +1 -0
- package/dist/public/assets/_C9thRVyr.js +1 -0
- package/dist/public/assets/{_GnLkrWZM.js → _CBBTd56s.js} +1 -1
- package/dist/public/assets/_CBBTd56s.js.br +0 -0
- package/dist/public/assets/_CEGHO2aQ.js +1 -0
- package/dist/public/assets/{_BZ3C3l3R.js → _CFF1bIG3.js} +1 -1
- package/dist/public/assets/_CFF1bIG3.js.br +0 -0
- package/dist/public/assets/{_vunrMsGK.js → _CGmOePAM.js} +1 -1
- package/dist/public/assets/_CGmOePAM.js.br +0 -0
- package/dist/public/assets/_CHOAR75o.js +1 -0
- package/dist/public/assets/_CIK0aYGO.js +1422 -0
- package/dist/public/assets/_CIK0aYGO.js.br +0 -0
- package/dist/public/assets/_CIM_QKij.js +1 -0
- package/dist/public/assets/_CJzM23DW.js +2 -0
- package/dist/public/assets/_CJzM23DW.js.br +0 -0
- package/dist/public/assets/_CK5CtA9f.js +1 -0
- package/dist/public/assets/_CLVYQ-74.js +1 -0
- package/dist/public/assets/_CLVYQ-74.js.br +0 -0
- package/dist/public/assets/{_up7lLRgA.js → _CLeF1FF3.js} +1 -1
- package/dist/public/assets/_CPm0qMfS.js +1 -0
- package/dist/public/assets/_CQWTMS1P.js +1 -0
- package/dist/public/assets/_CQWTMS1P.js.br +0 -0
- package/dist/public/assets/_CQgVf_hl.js +1 -0
- package/dist/public/assets/_CRzep8vQ.js +1 -0
- package/dist/public/assets/_CVY_H9pO.js +1 -0
- package/dist/public/assets/_CVlglWWP.js +1 -0
- package/dist/public/assets/_CYtOhTGb.js +1 -0
- package/dist/public/assets/_CZP-vnK2.js +1 -0
- package/dist/public/assets/_CZP-vnK2.js.br +0 -0
- package/dist/public/assets/_C_aWNVgg.js +1 -0
- package/dist/public/assets/_C_fU39wg.js +1 -0
- package/dist/public/assets/{_CSmKiIv8.js → _CaWlTbQM.js} +1 -1
- package/dist/public/assets/_Ca_UkEY3.js +1 -0
- package/dist/public/assets/_Ca_UkEY3.js.br +8 -0
- package/dist/public/assets/_CbKQ4tM7.js +1 -0
- package/dist/public/assets/_CbndvCa9.js +1 -0
- package/dist/public/assets/_CdgFbcw6.js +1 -0
- package/dist/public/assets/_Cf0kh0ya.js +1 -0
- package/dist/public/assets/_Cf0kh0ya.js.br +0 -0
- package/dist/public/assets/_CffIUDL_.js +1 -0
- package/dist/public/assets/_CffIUDL_.js.br +0 -0
- package/dist/public/assets/_CfrSfMqj.js +1 -0
- package/dist/public/assets/_CfrSfMqj.js.br +0 -0
- package/dist/public/assets/_CoHLhCNH.js +1 -0
- package/dist/public/assets/{_D07_FXWo.js → _CpK94htG.js} +1 -1
- package/dist/public/assets/_CqrXDSP9.js +1 -0
- package/dist/public/assets/_Csdgg-p8.js +1 -0
- package/dist/public/assets/_Csdgg-p8.js.br +0 -0
- package/dist/public/assets/{_C0K-WRJD.js → _Csvc0jmZ.js} +1 -1
- package/dist/public/assets/_Csvc0jmZ.js.br +0 -0
- package/dist/public/assets/_CtdLytfI.js +1 -0
- package/dist/public/assets/{_S99TppFt.js → _CtxNwohv.js} +1 -1
- package/dist/public/assets/_CtxNwohv.js.br +0 -0
- package/dist/public/assets/_CuApWap_.js +86 -0
- package/dist/public/assets/_CuApWap_.js.br +0 -0
- package/dist/public/assets/_CvBjVI0v.js +1 -0
- package/dist/public/assets/_CwZRDJQ2.js +1 -0
- package/dist/public/assets/_CwZRDJQ2.js.br +0 -0
- package/dist/public/assets/_CxyFAuJT.js +1 -0
- package/dist/public/assets/_CxyFAuJT.js.br +0 -0
- package/dist/public/assets/_D00q6XFi.js +1 -0
- package/dist/public/assets/_D00q6XFi.js.br +0 -0
- package/dist/public/assets/{_8Q9P2uHp.js → _D0rv_4FK.js} +1 -1
- package/dist/public/assets/_D0rv_4FK.js.br +0 -0
- package/dist/public/assets/{_CJoG6S3-.js → _D478nKDM.js} +1 -1
- package/dist/public/assets/_D478nKDM.js.br +0 -0
- package/dist/public/assets/{_CXBw8HMs.js → _D5W5ntHo.js} +1 -1
- package/dist/public/assets/_D5W5ntHo.js.br +0 -0
- package/dist/public/assets/_D5guyfCP.js +1 -0
- package/dist/public/assets/{_3ewKhZLc.js → _D7FiuTy-.js} +1 -1
- package/dist/public/assets/_D7FiuTy-.js.br +0 -0
- package/dist/public/assets/_DA1hU7GY.js +1 -0
- package/dist/public/assets/_DAGUL1Vl.js +6 -0
- package/dist/public/assets/_DAGUL1Vl.js.br +0 -0
- package/dist/public/assets/{_gkUCl--6.js → _DCaVKBqt.js} +1 -1
- package/dist/public/assets/_DCaVKBqt.js.br +0 -0
- package/dist/public/assets/_DFRZGT2q.js +1 -0
- package/dist/public/assets/_DFRZGT2q.js.br +0 -0
- package/dist/public/assets/_DGDoR_gX.js +1 -0
- package/dist/public/assets/_DGDoR_gX.js.br +0 -0
- package/dist/public/assets/_DJl1sf70.js +1 -0
- package/dist/public/assets/_DMGdwfSr.js +1 -0
- package/dist/public/assets/_DMGdwfSr.js.br +0 -0
- package/dist/public/assets/{_CrONT8um.js → _DMdBg_GK.js} +1 -1
- package/dist/public/assets/_DMdBg_GK.js.br +0 -0
- package/dist/public/assets/{_DVs9_2EC.js → _DPOlYZjX.js} +1 -1
- package/dist/public/assets/_DPOlYZjX.js.br +0 -0
- package/dist/public/assets/{_DH7j4yfd.js → _DSCUag9O.js} +1 -1
- package/dist/public/assets/_DSCUag9O.js.br +0 -0
- package/dist/public/assets/_DUzx5eZR.js +1 -0
- package/dist/public/assets/_DUzx5eZR.js.br +0 -0
- package/dist/public/assets/{_BDdtj9Cq.js → _DV0W2yTo.js} +1 -1
- package/dist/public/assets/_DV0W2yTo.js.br +0 -0
- package/dist/public/assets/_DW6rnS22.js +1 -0
- package/dist/public/assets/_DW6rnS22.js.br +0 -0
- package/dist/public/assets/_DY6s_kAl.js +1 -0
- package/dist/public/assets/{_rHKeW7zh.js → _Da0Zcyhl.js} +1 -1
- package/dist/public/assets/_Dbyzv-e6.js +1 -0
- package/dist/public/assets/_Dbyzv-e6.js.br +0 -0
- package/dist/public/assets/{_B66w2fqU.js → _DcFRlTYB.js} +1 -1
- package/dist/public/assets/_DcFRlTYB.js.br +0 -0
- package/dist/public/assets/_DiThv-ws.js +1 -0
- package/dist/public/assets/_Djho-FAH.js +1 -0
- package/dist/public/assets/_Djho-FAH.js.br +0 -0
- package/dist/public/assets/_DkfyvJLz.js +1 -0
- package/dist/public/assets/_DmdewGjf.js +1 -0
- package/dist/public/assets/{_DY6PUWO1.js → _DnhVTHg1.js} +1 -1
- package/dist/public/assets/_DnhVTHg1.js.br +0 -0
- package/dist/public/assets/_Dq4Lv0Cs.js +1 -0
- package/dist/public/assets/_Dq4Lv0Cs.js.br +0 -0
- package/dist/public/assets/_DqxOu378.js +1 -0
- package/dist/public/assets/{_BmZVM8Ww.js → _DrpXP57c.js} +1 -1
- package/dist/public/assets/_DrpXP57c.js.br +0 -0
- package/dist/public/assets/{_DmGawoV0.js → _DsAV3t8S.js} +1 -1
- package/dist/public/assets/_DsAV3t8S.js.br +0 -0
- package/dist/public/assets/{_q4Q8wf1-.js → _DvNEiAgs.js} +1 -1
- package/dist/public/assets/_DvNEiAgs.js.br +0 -0
- package/dist/public/assets/{_e-EoIF14.js → _Dvu8aO9d.js} +1 -1
- package/dist/public/assets/_Dvu8aO9d.js.br +0 -0
- package/dist/public/assets/_DyUJCQsE.js +1 -0
- package/dist/public/assets/_DyUJCQsE.js.br +0 -0
- package/dist/public/assets/_DzJPXetd.js +1 -0
- package/dist/public/assets/_DzJPXetd.js.br +0 -0
- package/dist/public/assets/{_CkwMzG0u.js → _DzOgre70.js} +1 -1
- package/dist/public/assets/_DzOgre70.js.br +0 -0
- package/dist/public/assets/_FXPfeF9Q.js +1 -0
- package/dist/public/assets/{_CKO6VeWe.js → _G6zi9_6i.js} +1 -1
- package/dist/public/assets/_G6zi9_6i.js.br +0 -0
- package/dist/public/assets/_I2leMoLk.js +1 -0
- package/dist/public/assets/_IWsH3JbM.js +1 -0
- package/dist/public/assets/{_DhHO6Tuz.js → _Jsehj7rl.js} +1 -1
- package/dist/public/assets/_Jsehj7rl.js.br +0 -0
- package/dist/public/assets/_NGMwjBBG.js +1 -0
- package/dist/public/assets/{_Bwo88m9W.js → _QljbgS5l.js} +1 -1
- package/dist/public/assets/_QljbgS5l.js.br +0 -0
- package/dist/public/assets/{_CgLkQJNG.js → _Z8l8zhFZ.js} +1 -1
- package/dist/public/assets/_Z8l8zhFZ.js.br +0 -0
- package/dist/public/assets/__GnUfSxE.js +1 -0
- package/dist/public/assets/__GnUfSxE.js.br +0 -0
- package/dist/public/assets/_cD7JRpZk.js +1 -0
- package/dist/public/assets/_dP2ZLG1O.js +1 -0
- package/dist/public/assets/_dP2ZLG1O.js.br +0 -0
- package/dist/public/assets/_fQTAXQ2A.js +1 -0
- package/dist/public/assets/_fQTAXQ2A.js.br +0 -0
- package/dist/public/assets/_gIJHrFck.js +1 -0
- package/dist/public/assets/_gIJHrFck.js.br +0 -0
- package/dist/public/assets/{_BERyw-_I.js → _iqlUPvpu.js} +1 -1
- package/dist/public/assets/_iqlUPvpu.js.br +0 -0
- package/dist/public/assets/_m2OvafhN.js +1 -0
- package/dist/public/assets/_mNtBBYrx.js +1 -0
- package/dist/public/assets/_o4vB6uaf.js +1 -0
- package/dist/public/assets/{_DSn_einI.js → _pTRVL6_Z.js} +1 -1
- package/dist/public/assets/_pTRVL6_Z.js.br +0 -0
- package/dist/public/assets/_sayhcKVq.js +1 -0
- package/dist/public/assets/_sdf2KG0s.js +1 -0
- package/dist/public/assets/_sdf2KG0s.js.br +0 -0
- package/dist/public/assets/_tsg5j2Lv.js +1 -0
- package/dist/public/assets/_uTzPJzX0.js +1 -0
- package/dist/public/assets/_vIGuFBIb.js +1 -0
- package/dist/public/assets/_vIGuFBIb.js.br +0 -0
- package/dist/public/assets/_yJE0vu9j.js +1 -0
- package/dist/public/assets/_yJE0vu9j.js.br +0 -0
- package/dist/public/assets/_z9XIIgTI.js +1 -0
- package/dist/public/assets/{app-page-a-M15PMY.css → app-shell-8Pd1rc7u.css} +1 -1
- package/dist/public/assets/app-shell-8Pd1rc7u.css.br +0 -0
- package/dist/public/assets/command-palette-B4o6jF8Z.css +1 -0
- package/dist/public/assets/command-palette-B4o6jF8Z.css.br +0 -0
- package/dist/public/assets/files-view-BnN1VOCi.css +1 -0
- package/dist/public/assets/files-view-BnN1VOCi.css.br +0 -0
- package/dist/public/assets/files-view-cAPnyoQZ.js +2 -0
- package/dist/public/assets/group.css.ts-CXNej9ok.css +1 -0
- package/dist/public/assets/group.css.ts-CXNej9ok.css.br +0 -0
- package/dist/public/assets/{icon-search-CiIAr7NA.css → icon-search-DcAn99Uv.css} +1 -1
- package/dist/public/assets/icon-search-DcAn99Uv.css.br +0 -0
- package/dist/public/assets/manage-workspace-BMzLgYX3.css +1 -0
- package/dist/public/assets/manage-workspace-DhLNff0-.js +2 -0
- package/dist/public/assets/new-BqXHbQlu.js +1 -0
- package/dist/public/assets/new-workspace-B3ylje_g.css +1 -0
- package/dist/public/assets/new-workspace-B3ylje_g.css.br +0 -0
- package/dist/public/assets/new-workspace-RR8h-qIh.js +2 -0
- package/dist/public/assets/port-chip-Bt0w2MzG.css +1 -0
- package/dist/public/assets/port-chip-Bt0w2MzG.css.br +0 -0
- package/dist/public/assets/prompt-dialog-B_qzbXMZ.css +1 -0
- package/dist/public/assets/prompt-dialog-B_qzbXMZ.css.br +0 -0
- package/dist/public/assets/quick-open-CXyrWkbA.css +1 -0
- package/dist/public/assets/quick-open-CXyrWkbA.css.br +0 -0
- package/dist/public/assets/repo-picker-CpKpWL1n.css +1 -0
- package/dist/public/assets/repo-picker-CpKpWL1n.css.br +0 -0
- package/dist/public/assets/review-view-CTtdvipj.js +2 -0
- package/dist/public/assets/review-view-tq2OyY98.css +1 -0
- package/dist/public/assets/review-view-tq2OyY98.css.br +0 -0
- package/dist/public/assets/section-D7RUq5Cz.css +1 -0
- package/dist/public/assets/section-D7RUq5Cz.css.br +0 -0
- package/dist/public/assets/settings-BqXHbQlu.js +1 -0
- package/dist/public/assets/settings-page-Btvx32iZ.js +2 -0
- package/dist/public/assets/settings-page-Cnmgnr_0.css +1 -0
- package/dist/public/assets/settings-page-Cnmgnr_0.css.br +0 -0
- package/dist/public/assets/skill-row-CyviHufk.css +1 -0
- package/dist/public/assets/sso-auth-BRNOE7tU.css +1 -0
- package/dist/public/assets/sso-auth-BRNOE7tU.css.br +0 -0
- package/dist/public/assets/w-BqXHbQlu.js +1 -0
- package/dist/public/assets/w._-BqXHbQlu.js +1 -0
- package/dist/public/assets/w._-Nf-ixmkH.js +1 -0
- package/dist/public/assets/w._-cjUl7ond.js +1 -0
- package/dist/public/assets/worker-hkE5tvP8.js +164 -0
- package/dist/public/assets/worker-hkE5tvP8.js.br +0 -0
- package/lib/review/markdown.mjs +23 -11
- package/lib/setup/doctor.d.mts +5 -0
- package/lib/setup/doctor.mjs +31 -1
- package/lib/setup/install.mjs +68 -9
- package/lib/setup/listen.d.mts +5 -0
- package/lib/setup/listen.mjs +23 -0
- package/lib/share/manifest.mjs +8 -3
- package/package.json +7 -7
- package/scripts/migrate.mjs +169 -89
- package/dist/_7W8iLTql.js +0 -2
- package/dist/public/assets/_-K2pkpBq.js.br +0 -0
- package/dist/public/assets/_-O6dm4G6.js +0 -1
- package/dist/public/assets/_-tNsWCRW.js +0 -1
- package/dist/public/assets/_3aic_W0y.js +0 -1
- package/dist/public/assets/_3ewKhZLc.js.br +0 -0
- package/dist/public/assets/_3xHfzmVK.js +0 -1
- package/dist/public/assets/_3xHfzmVK.js.br +0 -0
- package/dist/public/assets/_772AjyQx.js +0 -1
- package/dist/public/assets/_772AjyQx.js.br +0 -0
- package/dist/public/assets/_8Q9P2uHp.js.br +0 -0
- package/dist/public/assets/_AoYqPW6v.js +0 -1
- package/dist/public/assets/_AoYqPW6v.js.br +0 -0
- package/dist/public/assets/_B1q5pQla.js +0 -1
- package/dist/public/assets/_B1q5pQla.js.br +0 -0
- package/dist/public/assets/_B66w2fqU.js.br +0 -0
- package/dist/public/assets/_B80CP8fn.js.br +0 -0
- package/dist/public/assets/_B9FnTf4h.js +0 -1
- package/dist/public/assets/_B9kU6sMh.js.br +0 -0
- package/dist/public/assets/_BADK8qnN.js +0 -1
- package/dist/public/assets/_BADK8qnN.js.br +0 -0
- package/dist/public/assets/_BD2qsrlz.js +0 -1
- package/dist/public/assets/_BDdtj9Cq.js.br +0 -0
- package/dist/public/assets/_BERyw-_I.js.br +0 -0
- package/dist/public/assets/_BH5mQvfn.js +0 -1
- package/dist/public/assets/_BK0E9Er2.js +0 -1
- package/dist/public/assets/_BK0E9Er2.js.br +0 -0
- package/dist/public/assets/_BKkFTJtI.js +0 -1
- package/dist/public/assets/_BKkFTJtI.js.br +0 -0
- package/dist/public/assets/_BOBHk1-a.js +0 -1
- package/dist/public/assets/_BOk1AEgN.js +0 -1
- package/dist/public/assets/_BZ3C3l3R.js.br +0 -0
- package/dist/public/assets/_BaiQtGR9.js.br +0 -0
- package/dist/public/assets/_BdUIic1U.js +0 -1
- package/dist/public/assets/_BdUIic1U.js.br +0 -0
- package/dist/public/assets/_BeVk3dbG.js.br +0 -0
- package/dist/public/assets/_Bedi1JZC.js +0 -1
- package/dist/public/assets/_BgCpq5St.js +0 -1
- package/dist/public/assets/_BjXiH2oW.js +0 -1
- package/dist/public/assets/_BjXiH2oW.js.br +0 -0
- package/dist/public/assets/_Bk31AYSk.js +0 -1
- package/dist/public/assets/_Bk31AYSk.js.br +0 -0
- package/dist/public/assets/_BmZVM8Ww.js.br +0 -0
- package/dist/public/assets/_BqgMkZ3f.js +0 -1
- package/dist/public/assets/_Brbaz_V-.js.br +0 -0
- package/dist/public/assets/_Bs9HVA9T.js +0 -1
- package/dist/public/assets/_Bwo88m9W.js.br +0 -0
- package/dist/public/assets/_Bx5kmADX.js.br +0 -0
- package/dist/public/assets/_BzU-RPev.js +0 -1
- package/dist/public/assets/_BzVRtEsz.js +0 -1
- package/dist/public/assets/_C0K-WRJD.js.br +0 -0
- package/dist/public/assets/_C3M50_zF.js.br +0 -0
- package/dist/public/assets/_C5l9z0N5.js +0 -1
- package/dist/public/assets/_CArazMIS.js.br +0 -0
- package/dist/public/assets/_CBZB5Yxv.js +0 -1
- package/dist/public/assets/_CBZB5Yxv.js.br +0 -0
- package/dist/public/assets/_CCDOu5-k.js +0 -1
- package/dist/public/assets/_CCDOu5-k.js.br +0 -0
- package/dist/public/assets/_CCnHpcK_.js +0 -1
- package/dist/public/assets/_CDMh_Czk.js +0 -1
- package/dist/public/assets/_CE_CwnMm.js +0 -1
- package/dist/public/assets/_CG4M2EXP.js +0 -1
- package/dist/public/assets/_CHEpaVmI.js +0 -1
- package/dist/public/assets/_CHEpaVmI.js.br +0 -0
- package/dist/public/assets/_CHxSYsqp.js +0 -1
- package/dist/public/assets/_CJMlU8h-.js +0 -1
- package/dist/public/assets/_CJoG6S3-.js.br +0 -0
- package/dist/public/assets/_CKO6VeWe.js.br +0 -0
- package/dist/public/assets/_COzp254y.js +0 -1
- package/dist/public/assets/_CPH47jXm.js.br +0 -0
- package/dist/public/assets/_CRZGR7so.js.br +0 -0
- package/dist/public/assets/_CTPBS0LC.js +0 -1
- package/dist/public/assets/_CTPBS0LC.js.br +0 -0
- package/dist/public/assets/_CThA4lbu.js +0 -1
- package/dist/public/assets/_CThA4lbu.js.br +0 -0
- package/dist/public/assets/_CXBw8HMs.js.br +0 -0
- package/dist/public/assets/_CXzJ6bil.js +0 -1
- package/dist/public/assets/_CYUNskmo.js +0 -1
- package/dist/public/assets/_CYUNskmo.js.br +0 -0
- package/dist/public/assets/_C_Lr0eFb.js.br +0 -0
- package/dist/public/assets/_CbnW4odW.js +0 -1
- package/dist/public/assets/_Cfuem2T_.js +0 -1
- package/dist/public/assets/_Cg-uvNvy.js +0 -1
- package/dist/public/assets/_Cg-uvNvy.js.br +0 -0
- package/dist/public/assets/_CgLkQJNG.js.br +0 -0
- package/dist/public/assets/_CkwMzG0u.js.br +0 -0
- package/dist/public/assets/_Cl7KlO12.js.br +0 -0
- package/dist/public/assets/_ClSzF1-k.js +0 -1
- package/dist/public/assets/_CljaR6t8.js.br +0 -0
- package/dist/public/assets/_CoZYY0F5.js.br +0 -0
- package/dist/public/assets/_CpposQLo.js +0 -1
- package/dist/public/assets/_CpposQLo.js.br +0 -0
- package/dist/public/assets/_CrONT8um.js.br +0 -0
- package/dist/public/assets/_Cu1guAvn.js +0 -1
- package/dist/public/assets/_CygSeSG1.js +0 -1
- package/dist/public/assets/_CygSeSG1.js.br +0 -0
- package/dist/public/assets/_Czf21qbL.js +0 -1
- package/dist/public/assets/_D-2kyUyG.js +0 -9
- package/dist/public/assets/_D-2kyUyG.js.br +0 -0
- package/dist/public/assets/_D3Je7YVw.js +0 -1
- package/dist/public/assets/_D4xPo0HZ.js +0 -1
- package/dist/public/assets/_D605QHvK.js +0 -1
- package/dist/public/assets/_D8WMh6gu.js.br +0 -0
- package/dist/public/assets/_D8ve50C6.js +0 -1
- package/dist/public/assets/_D8ve50C6.js.br +0 -0
- package/dist/public/assets/_D9b8PlSh.js +0 -2640
- package/dist/public/assets/_D9b8PlSh.js.br +0 -0
- package/dist/public/assets/_D9cUlE3a.js +0 -1
- package/dist/public/assets/_D9cUlE3a.js.br +0 -0
- package/dist/public/assets/_DCg8UEc3.js.br +0 -0
- package/dist/public/assets/_DEf8mUHj.js.br +0 -0
- package/dist/public/assets/_DFjp3R_E.js.br +0 -0
- package/dist/public/assets/_DGLS_XIM.js +0 -1
- package/dist/public/assets/_DH7j4yfd.js.br +0 -0
- package/dist/public/assets/_DITz3wmu.js.br +0 -0
- package/dist/public/assets/_DIbtkkt7.js +0 -1
- package/dist/public/assets/_DIhhsT9E.js +0 -1
- package/dist/public/assets/_DJ16po4M.js +0 -1
- package/dist/public/assets/_DKPOXVYN.js +0 -1
- package/dist/public/assets/_DKPOXVYN.js.br +0 -0
- package/dist/public/assets/_DMVwpwke.js +0 -1
- package/dist/public/assets/_DMVwpwke.js.br +0 -0
- package/dist/public/assets/_DMWaKaIG.js +0 -1
- package/dist/public/assets/_DOXCLF1P.js +0 -1
- package/dist/public/assets/_DQYtsGep.js +0 -1
- package/dist/public/assets/_DRNYHvLK.js +0 -86
- package/dist/public/assets/_DRNYHvLK.js.br +0 -0
- package/dist/public/assets/_DSn_einI.js.br +0 -0
- package/dist/public/assets/_DVs9_2EC.js.br +0 -0
- package/dist/public/assets/_DY6PUWO1.js.br +0 -0
- package/dist/public/assets/_DYq5I1a_.js +0 -1
- package/dist/public/assets/_DZaWjeov.js +0 -1
- package/dist/public/assets/_DZaWjeov.js.br +0 -0
- package/dist/public/assets/_D_zYO-l8.js +0 -1
- package/dist/public/assets/_D_zYO-l8.js.br +0 -0
- package/dist/public/assets/_Db15f2uj.js +0 -1
- package/dist/public/assets/_DcyKrmeq.js +0 -1
- package/dist/public/assets/_DdfXpdn_.js +0 -1
- package/dist/public/assets/_DdfXpdn_.js.br +0 -0
- package/dist/public/assets/_DevPwgsp.js +0 -1
- package/dist/public/assets/_DgwVeEsD.js +0 -6
- package/dist/public/assets/_DgwVeEsD.js.br +0 -0
- package/dist/public/assets/_DhHO6Tuz.js.br +0 -0
- package/dist/public/assets/_DkSuDAhs.js +0 -1
- package/dist/public/assets/_DmGawoV0.js.br +0 -0
- package/dist/public/assets/_DnlCrUDV.js +0 -2
- package/dist/public/assets/_DnlCrUDV.js.br +0 -0
- package/dist/public/assets/_Do95KzEK.js.br +0 -0
- package/dist/public/assets/_Dob_Fmbm.js +0 -1
- package/dist/public/assets/_Dq-Jad5X.js.br +0 -0
- package/dist/public/assets/_DqAamLSj.js.br +0 -0
- package/dist/public/assets/_DsT0GWgJ.js +0 -1
- package/dist/public/assets/_Ds_ya4mr.js +0 -1
- package/dist/public/assets/_Dsv1qAjm.js +0 -1
- package/dist/public/assets/_Dsv1qAjm.js.br +0 -0
- package/dist/public/assets/_DuR6ueoD.js +0 -1
- package/dist/public/assets/_Dy4QBSz2.js +0 -1
- package/dist/public/assets/_GHV_3jJp.js +0 -1
- package/dist/public/assets/_GN2ORfhz.js +0 -1
- package/dist/public/assets/_GnLkrWZM.js.br +0 -0
- package/dist/public/assets/_IsgXwMDs.js +0 -1
- package/dist/public/assets/_ItxI9nk3.js +0 -1
- package/dist/public/assets/_ItxI9nk3.js.br +0 -0
- package/dist/public/assets/_IzVuLVN1.js +0 -1
- package/dist/public/assets/_JekmkJTS.js +0 -1
- package/dist/public/assets/_JekmkJTS.js.br +0 -0
- package/dist/public/assets/_KiUN85cI.js +0 -1
- package/dist/public/assets/_NeT1bfJI.js +0 -1
- package/dist/public/assets/_QWPZ0V06.js +0 -1
- package/dist/public/assets/_Qs4Lwkwv.js +0 -1
- package/dist/public/assets/_Qs4Lwkwv.js.br +0 -0
- package/dist/public/assets/_RNDgNS1c.js +0 -1
- package/dist/public/assets/_RVKQdbGj.js +0 -1
- package/dist/public/assets/_RwgpF7LC.js +0 -1
- package/dist/public/assets/_RwgpF7LC.js.br +0 -0
- package/dist/public/assets/_S99TppFt.js.br +0 -0
- package/dist/public/assets/_S_seG_by.js +0 -1
- package/dist/public/assets/_TcqYUNNo.js.br +0 -0
- package/dist/public/assets/_WkU7AijT.js +0 -1
- package/dist/public/assets/__bV-79mJ.js +0 -1
- package/dist/public/assets/_e-EoIF14.js.br +0 -0
- package/dist/public/assets/_eutX35zw.js +0 -1
- package/dist/public/assets/_eutX35zw.js.br +0 -0
- package/dist/public/assets/_gkUCl--6.js.br +0 -0
- package/dist/public/assets/_kmXANkGr.js +0 -1
- package/dist/public/assets/_kmXANkGr.js.br +0 -0
- package/dist/public/assets/_kqic6B_q.js +0 -1
- package/dist/public/assets/_kqic6B_q.js.br +0 -0
- package/dist/public/assets/_oXuFhEmo.js +0 -1
- package/dist/public/assets/_q4Q8wf1-.js.br +0 -0
- package/dist/public/assets/_ryYtmLmM.js +0 -1
- package/dist/public/assets/_tHa-ZHkQ.js +0 -1
- package/dist/public/assets/_vunrMsGK.js.br +0 -0
- package/dist/public/assets/_wjT9tLjb.js +0 -1
- package/dist/public/assets/_wjT9tLjb.js.br +0 -0
- package/dist/public/assets/_xw7rRdJa.js +0 -1
- package/dist/public/assets/_y1uwlPvR.js +0 -1
- package/dist/public/assets/_z3bkSqoV.js +0 -1
- package/dist/public/assets/_z3bkSqoV.js.br +0 -0
- package/dist/public/assets/app-page-a-M15PMY.css.br +0 -0
- package/dist/public/assets/command-palette-DnTWF_r2.css +0 -1
- package/dist/public/assets/command-palette-DnTWF_r2.css.br +0 -0
- package/dist/public/assets/files-view-C_Ak1o_u.css +0 -1
- package/dist/public/assets/files-view-C_Ak1o_u.css.br +0 -0
- package/dist/public/assets/files-view-D29gwNTU.js +0 -2
- package/dist/public/assets/group.css.ts-bSDNRl7w.css +0 -1
- package/dist/public/assets/group.css.ts-bSDNRl7w.css.br +0 -0
- package/dist/public/assets/icon-search-CiIAr7NA.css.br +0 -0
- package/dist/public/assets/key-bar.css.ts-Bku3uER9.css +0 -1
- package/dist/public/assets/key-bar.css.ts-Bku3uER9.css.br +0 -0
- package/dist/public/assets/manage-workspace-FNt9673q.css +0 -1
- package/dist/public/assets/manage-workspace-LPUu3-Rp.js +0 -2
- package/dist/public/assets/new-pJJ6ZABY.js +0 -1
- package/dist/public/assets/new-workspace-Bj3jwBnp.css +0 -1
- package/dist/public/assets/new-workspace-Bj3jwBnp.css.br +0 -0
- package/dist/public/assets/new-workspace-Cukm9rzJ.js +0 -2
- package/dist/public/assets/port-chip-B2VAUY_i.css +0 -1
- package/dist/public/assets/port-chip-B2VAUY_i.css.br +0 -0
- package/dist/public/assets/prompt-dialog-CtmcwmFw.css +0 -1
- package/dist/public/assets/prompt-dialog-CtmcwmFw.css.br +0 -0
- package/dist/public/assets/quick-open-CuR4WzpL.css +0 -1
- package/dist/public/assets/quick-open-CuR4WzpL.css.br +0 -0
- package/dist/public/assets/repo-picker-DFTPYkNQ.css +0 -1
- package/dist/public/assets/repo-picker-DFTPYkNQ.css.br +0 -2
- package/dist/public/assets/review-view-B6bsrcls.css +0 -1
- package/dist/public/assets/review-view-B6bsrcls.css.br +0 -0
- package/dist/public/assets/review-view-BNyQ646Y.js +0 -2
- package/dist/public/assets/section-aiv_79hg.css +0 -1
- package/dist/public/assets/section-aiv_79hg.css.br +0 -0
- package/dist/public/assets/settings-pJJ6ZABY.js +0 -1
- package/dist/public/assets/settings-page-DAwtsEQ9.css +0 -1
- package/dist/public/assets/settings-page-DAwtsEQ9.css.br +0 -0
- package/dist/public/assets/settings-page-DsbRNeSq.js +0 -2
- package/dist/public/assets/skill-row-bJ0ycL8_.css +0 -1
- package/dist/public/assets/sso-auth-JILClN0h.css +0 -1
- package/dist/public/assets/sso-auth-JILClN0h.css.br +0 -0
- package/dist/public/assets/w-pJJ6ZABY.js +0 -1
- package/dist/public/assets/w._-C4FeaeOO.js +0 -1
- package/dist/public/assets/w._-DChqn_ll.js +0 -1
- package/dist/public/assets/w._-pJJ6ZABY.js +0 -1
- package/dist/public/assets/worker-BK3lyuKh.js +0 -164
- package/dist/public/assets/worker-BK3lyuKh.js.br +0 -0
package/scripts/migrate.mjs
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
// migrate.mjs — one-shot cleanups for changes between versions, run by
|
|
3
|
-
// update.sh
|
|
3
|
+
// `work setup` and `work migrate` (update.sh) so the runtime stays free of
|
|
4
|
+
// legacy handling.
|
|
4
5
|
import crypto from "node:crypto";
|
|
5
6
|
import { execFileSync } from "node:child_process";
|
|
6
7
|
import fs from "node:fs";
|
|
7
8
|
import os from "node:os";
|
|
8
9
|
import path from "node:path";
|
|
9
10
|
import { DatabaseSync } from "node:sqlite";
|
|
11
|
+
import { dialHost } from "../lib/setup/listen.mjs";
|
|
10
12
|
|
|
11
13
|
const dataDir =
|
|
12
14
|
process.env.WORK_DATA_DIR ||
|
|
@@ -15,9 +17,104 @@ const dataDir =
|
|
|
15
17
|
"work",
|
|
16
18
|
);
|
|
17
19
|
const dbPath = path.join(dataDir, "work.db");
|
|
20
|
+
|
|
21
|
+
// Machine repairs that need no db come first: a fresh install, or one whose
|
|
22
|
+
// data dir this environment does not name, stops at the check below.
|
|
23
|
+
|
|
24
|
+
// `gh auth setup-git` bakes the absolute path of the gh binary into
|
|
25
|
+
// ~/.gitconfig, and git runs that string literally rather than looking gh up
|
|
26
|
+
// on PATH. Where gh came from a version manager that path dies on the next gh
|
|
27
|
+
// upgrade, and every https push fails with "could not read Username" — a
|
|
28
|
+
// break with no visible cause, since `gh` itself still works. Repoint any
|
|
29
|
+
// helper naming a gh that no longer exists at the launcher on PATH.
|
|
30
|
+
{
|
|
31
|
+
const versioned = /\/(installs|Cellar|versions|toolchains)\//;
|
|
32
|
+
const git = (args) => execFileSync("git", args, { encoding: "utf8" }).trim();
|
|
33
|
+
try {
|
|
34
|
+
let gh = "";
|
|
35
|
+
try {
|
|
36
|
+
// Quietly: with no gh there is nothing to repair, and this runs on
|
|
37
|
+
// every setup, fresh installs included.
|
|
38
|
+
gh = execFileSync("which", ["gh"], {
|
|
39
|
+
encoding: "utf8",
|
|
40
|
+
stdio: ["ignore", "pipe", "ignore"],
|
|
41
|
+
}).trim();
|
|
42
|
+
} catch {}
|
|
43
|
+
if (gh && !versioned.test(gh)) {
|
|
44
|
+
let lines = [];
|
|
45
|
+
try {
|
|
46
|
+
lines = git([
|
|
47
|
+
"config",
|
|
48
|
+
"--global",
|
|
49
|
+
"--get-regexp",
|
|
50
|
+
String.raw`^credential\..*\.helper$`,
|
|
51
|
+
])
|
|
52
|
+
.split("\n")
|
|
53
|
+
.filter(Boolean);
|
|
54
|
+
} catch {} // no such entries — nothing to repair
|
|
55
|
+
let fixed = 0;
|
|
56
|
+
for (const line of lines) {
|
|
57
|
+
const sp = line.indexOf(" ");
|
|
58
|
+
const [key, value] = [line.slice(0, sp), line.slice(sp + 1)];
|
|
59
|
+
const bin = /^!(\S+) auth git-credential$/.exec(value)?.[1];
|
|
60
|
+
if (!bin || bin === gh || fs.existsSync(bin)) continue;
|
|
61
|
+
git([
|
|
62
|
+
"config",
|
|
63
|
+
"--global",
|
|
64
|
+
"--replace-all",
|
|
65
|
+
key,
|
|
66
|
+
`!${gh} auth git-credential`,
|
|
67
|
+
"auth git-credential",
|
|
68
|
+
]);
|
|
69
|
+
fixed++;
|
|
70
|
+
}
|
|
71
|
+
if (fixed)
|
|
72
|
+
console.log(
|
|
73
|
+
`==> migrate: repaired ${fixed} stale gh credential helper(s)`,
|
|
74
|
+
);
|
|
75
|
+
}
|
|
76
|
+
} catch {}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Grok's hook registry ($GROK_HOME/hooks-paths) names work's hook file by
|
|
80
|
+
// absolute path. A line left by a data dir since moved or removed (a
|
|
81
|
+
// scratch server's temp dir, an uninstall) names nothing, and Grok's
|
|
82
|
+
// sandbox refuses to start while one does. The app drops them as it
|
|
83
|
+
// registers; this reaches machines that stopped launching Grok. Keep in
|
|
84
|
+
// sync with registerHooks in src/agents/grok/index.ts.
|
|
85
|
+
{
|
|
86
|
+
try {
|
|
87
|
+
const registry = path.join(
|
|
88
|
+
process.env.GROK_HOME || path.join(os.homedir(), ".grok"),
|
|
89
|
+
"hooks-paths",
|
|
90
|
+
);
|
|
91
|
+
const current = fs.readFileSync(registry, "utf8");
|
|
92
|
+
const lines = current.split("\n");
|
|
93
|
+
const kept = lines.filter((line) => {
|
|
94
|
+
const target = line.trim();
|
|
95
|
+
return !target.endsWith("/grok-hooks.json") || fs.existsSync(target);
|
|
96
|
+
});
|
|
97
|
+
if (kept.length !== lines.length) {
|
|
98
|
+
fs.writeFileSync(registry, kept.join("\n"));
|
|
99
|
+
console.log(
|
|
100
|
+
`==> migrate: dropped ${lines.length - kept.length} stale Grok hook registry line(s)`,
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
} catch {} // no registry — nothing to clean
|
|
104
|
+
}
|
|
105
|
+
|
|
18
106
|
if (!fs.existsSync(dbPath)) process.exit(0);
|
|
19
107
|
const db = new DatabaseSync(dbPath, { readOnly: true });
|
|
20
108
|
|
|
109
|
+
/** A write connection that waits out the running server's transactions, as
|
|
110
|
+
* db.ts does: setup and update.sh migrate while the old server still runs,
|
|
111
|
+
* and a lock thrown here would end the script before every later sweep. */
|
|
112
|
+
function writer() {
|
|
113
|
+
const wr = new DatabaseSync(dbPath);
|
|
114
|
+
wr.exec("PRAGMA busy_timeout = 5000");
|
|
115
|
+
return wr;
|
|
116
|
+
}
|
|
117
|
+
|
|
21
118
|
// Pre-scrape versions wrote agent hook files into every workspace
|
|
22
119
|
// (identified by their agent-state callback); state now comes from
|
|
23
120
|
// terminal scraping and launch flags, so sweep them out.
|
|
@@ -247,9 +344,10 @@ if (twoLaneKinds) {
|
|
|
247
344
|
// Default review base/algorithm changed (workspace branch vs origin/<base>,
|
|
248
345
|
// containment empty-check, then commit-to-commit). Existing comments and
|
|
249
346
|
// viewed flags are keyed only by path+line, so they would silently
|
|
250
|
-
// re-anchor. Wipe once — this script runs on every update.
|
|
347
|
+
// re-anchor. Wipe once — this script runs on every update. db.ts sets the
|
|
348
|
+
// flag on a db it creates, which has no such comments to wipe.
|
|
251
349
|
{
|
|
252
|
-
const wr =
|
|
350
|
+
const wr = writer();
|
|
253
351
|
try {
|
|
254
352
|
const FLAG = "review-cleared-diff-v2";
|
|
255
353
|
const seen = wr.prepare("SELECT 1 FROM settings WHERE key = ?").get(FLAG);
|
|
@@ -301,7 +399,7 @@ try {
|
|
|
301
399
|
`[ "$1" = "committed" ] || exit 0\n` +
|
|
302
400
|
`refs=$(cat)\n` +
|
|
303
401
|
`case "$refs" in *"refs/remotes/origin/"*) ;; *) exit 0 ;; esac\n` +
|
|
304
|
-
`printf '%s\\n' "$refs" | curl -sf -m 2 -X POST --data-binary @- "http
|
|
402
|
+
`printf '%s\\n' "$refs" | curl -sf -m 2 -X POST --data-binary @- "http://${dialHost(process.env.WORK_LISTEN)}:${appPort}` +
|
|
305
403
|
`/api/repo-pushed?repo=${encodeURIComponent(fullName)}&token=${hookTokenValue}" >/dev/null 2>&1 &\n` +
|
|
306
404
|
`exit 0\n`;
|
|
307
405
|
const file = path.join(
|
|
@@ -552,7 +650,7 @@ if (repoNoted)
|
|
|
552
650
|
// Per-workspace UI prefs were never swept on delete; they ride every SSR
|
|
553
651
|
// document via allPrefs(). Prune orphans once — runtime delete handles new ones.
|
|
554
652
|
{
|
|
555
|
-
const wr =
|
|
653
|
+
const wr = writer();
|
|
556
654
|
try {
|
|
557
655
|
const live = new Set(
|
|
558
656
|
wr
|
|
@@ -560,7 +658,16 @@ if (repoNoted)
|
|
|
560
658
|
.all()
|
|
561
659
|
.map((r) => r.id),
|
|
562
660
|
);
|
|
563
|
-
|
|
661
|
+
// Kept equal to WORKSPACE_PREFS in src/server/settings.ts, a .ts file
|
|
662
|
+
// this plain script cannot import.
|
|
663
|
+
const prefixes = [
|
|
664
|
+
"tab",
|
|
665
|
+
"diff-filter",
|
|
666
|
+
"diff-folded",
|
|
667
|
+
"diff-focus",
|
|
668
|
+
"diff-pos",
|
|
669
|
+
"files-recent",
|
|
670
|
+
].map((name) => `ui.${name}:`);
|
|
564
671
|
let pruned = 0;
|
|
565
672
|
for (const prefix of prefixes) {
|
|
566
673
|
for (const { key } of wr
|
|
@@ -578,105 +685,78 @@ if (repoNoted)
|
|
|
578
685
|
}
|
|
579
686
|
}
|
|
580
687
|
|
|
581
|
-
// The review's two-way toggle became
|
|
582
|
-
//
|
|
583
|
-
//
|
|
688
|
+
// The review's two-way toggle (`ui.diff-uncommitted`) became the three-way
|
|
689
|
+
// `diff-scope` pref, and nothing reads the old row: drop it, since it rides
|
|
690
|
+
// every SSR prefs payload. Not folded into the scope: that would switch
|
|
691
|
+
// long-time users to uncommitted changes without their asking.
|
|
584
692
|
{
|
|
585
|
-
const wr =
|
|
693
|
+
const wr = writer();
|
|
694
|
+
try {
|
|
695
|
+
const dropped = wr
|
|
696
|
+
.prepare(
|
|
697
|
+
"DELETE FROM settings WHERE key IN ('ui.diff-uncommitted', 'diff-uncommitted')",
|
|
698
|
+
)
|
|
699
|
+
.run();
|
|
700
|
+
if (dropped.changes)
|
|
701
|
+
console.log("==> migrate: dropped the old diff-uncommitted pref");
|
|
702
|
+
} finally {
|
|
703
|
+
wr.close();
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
// The terminal's two text sizes were one JSON pref (`term-font`), which a
|
|
708
|
+
// device rewrote whole from a stale copy when it set its own size. Split
|
|
709
|
+
// it into the per-device prefs once (keep in sync with termFontPref in
|
|
710
|
+
// src/client/prefs.ts).
|
|
711
|
+
{
|
|
712
|
+
const wr = writer();
|
|
586
713
|
try {
|
|
587
714
|
const legacy = wr
|
|
588
|
-
.prepare("SELECT value FROM settings WHERE key = '
|
|
715
|
+
.prepare("SELECT value FROM settings WHERE key = 'ui.term-font'")
|
|
589
716
|
.get();
|
|
590
717
|
if (legacy) {
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
.
|
|
594
|
-
|
|
718
|
+
let sizes = {};
|
|
719
|
+
try {
|
|
720
|
+
sizes = JSON.parse(legacy.value) ?? {};
|
|
721
|
+
} catch {}
|
|
722
|
+
for (const [field, key] of [
|
|
723
|
+
["desktop", "ui.term-font-desktop"],
|
|
724
|
+
["touch", "ui.term-font-touch"],
|
|
725
|
+
]) {
|
|
726
|
+
if (!Number.isInteger(sizes[field])) continue;
|
|
595
727
|
wr.prepare(
|
|
596
|
-
"INSERT INTO settings (key, value) VALUES (
|
|
597
|
-
).run(
|
|
728
|
+
"INSERT OR IGNORE INTO settings (key, value) VALUES (?, ?)",
|
|
729
|
+
).run(key, String(sizes[field]));
|
|
598
730
|
}
|
|
599
|
-
wr.prepare("DELETE FROM settings WHERE key = '
|
|
600
|
-
console.log("==> migrate:
|
|
731
|
+
wr.prepare("DELETE FROM settings WHERE key = 'ui.term-font'").run();
|
|
732
|
+
console.log("==> migrate: split term-font into per-device prefs");
|
|
601
733
|
}
|
|
602
734
|
} finally {
|
|
603
735
|
wr.close();
|
|
604
736
|
}
|
|
605
737
|
}
|
|
606
738
|
|
|
607
|
-
//
|
|
608
|
-
//
|
|
609
|
-
//
|
|
610
|
-
//
|
|
611
|
-
// break with no visible cause, since `gh` itself still works. Repoint any
|
|
612
|
-
// helper naming a gh that no longer exists at the launcher on PATH.
|
|
739
|
+
// The phone pad's pref was once a bare list of the keys after the pad's
|
|
740
|
+
// own nine. It is `{ base, extra }` now, and a change to one key
|
|
741
|
+
// (src/client/pref-change.ts) finds no `extra` in a list, so it would
|
|
742
|
+
// start the pad afresh. Wrap such a list once.
|
|
613
743
|
{
|
|
614
|
-
const
|
|
615
|
-
const git = (args) => execFileSync("git", args, { encoding: "utf8" }).trim();
|
|
744
|
+
const wr = writer();
|
|
616
745
|
try {
|
|
617
|
-
|
|
746
|
+
const row = wr
|
|
747
|
+
.prepare("SELECT value FROM settings WHERE key = 'ui.phone-keys'")
|
|
748
|
+
.get();
|
|
749
|
+
let keys;
|
|
618
750
|
try {
|
|
619
|
-
|
|
751
|
+
keys = row && JSON.parse(row.value);
|
|
620
752
|
} catch {}
|
|
621
|
-
if (
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
"--global",
|
|
627
|
-
"--get-regexp",
|
|
628
|
-
String.raw`^credential\..*\.helper$`,
|
|
629
|
-
])
|
|
630
|
-
.split("\n")
|
|
631
|
-
.filter(Boolean);
|
|
632
|
-
} catch {} // no such entries — nothing to repair
|
|
633
|
-
let fixed = 0;
|
|
634
|
-
for (const line of lines) {
|
|
635
|
-
const sp = line.indexOf(" ");
|
|
636
|
-
const [key, value] = [line.slice(0, sp), line.slice(sp + 1)];
|
|
637
|
-
const bin = /^!(\S+) auth git-credential$/.exec(value)?.[1];
|
|
638
|
-
if (!bin || bin === gh || fs.existsSync(bin)) continue;
|
|
639
|
-
git([
|
|
640
|
-
"config",
|
|
641
|
-
"--global",
|
|
642
|
-
"--replace-all",
|
|
643
|
-
key,
|
|
644
|
-
`!${gh} auth git-credential`,
|
|
645
|
-
"auth git-credential",
|
|
646
|
-
]);
|
|
647
|
-
fixed++;
|
|
648
|
-
}
|
|
649
|
-
if (fixed)
|
|
650
|
-
console.log(
|
|
651
|
-
`==> migrate: repaired ${fixed} stale gh credential helper(s)`,
|
|
652
|
-
);
|
|
653
|
-
}
|
|
654
|
-
} catch {}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
// Grok's hook registry ($GROK_HOME/hooks-paths) names work's hook file by
|
|
658
|
-
// absolute path. A line left by a data dir since moved or removed (a
|
|
659
|
-
// scratch server's temp dir, an uninstall) names nothing, and Grok's
|
|
660
|
-
// sandbox refuses to start while one does. The app drops them as it
|
|
661
|
-
// registers; this reaches machines that stopped launching Grok. Keep in
|
|
662
|
-
// sync with registerHooks in src/agents/grok/index.ts.
|
|
663
|
-
{
|
|
664
|
-
try {
|
|
665
|
-
const registry = path.join(
|
|
666
|
-
process.env.GROK_HOME || path.join(os.homedir(), ".grok"),
|
|
667
|
-
"hooks-paths",
|
|
668
|
-
);
|
|
669
|
-
const current = fs.readFileSync(registry, "utf8");
|
|
670
|
-
const lines = current.split("\n");
|
|
671
|
-
const kept = lines.filter((line) => {
|
|
672
|
-
const target = line.trim();
|
|
673
|
-
return !target.endsWith("/grok-hooks.json") || fs.existsSync(target);
|
|
674
|
-
});
|
|
675
|
-
if (kept.length !== lines.length) {
|
|
676
|
-
fs.writeFileSync(registry, kept.join("\n"));
|
|
677
|
-
console.log(
|
|
678
|
-
`==> migrate: dropped ${lines.length - kept.length} stale Grok hook registry line(s)`,
|
|
679
|
-
);
|
|
753
|
+
if (Array.isArray(keys)) {
|
|
754
|
+
wr.prepare(
|
|
755
|
+
"UPDATE settings SET value = ? WHERE key = 'ui.phone-keys'",
|
|
756
|
+
).run(JSON.stringify({ base: [], extra: keys }));
|
|
757
|
+
console.log("==> migrate: moved the phone pad's keys into its new shape");
|
|
680
758
|
}
|
|
681
|
-
}
|
|
759
|
+
} finally {
|
|
760
|
+
wr.close();
|
|
761
|
+
}
|
|
682
762
|
}
|
package/dist/_7W8iLTql.js
DELETED
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$input_findTick as e}from"./_D-2kyUyG.js";export{e as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{$input_rev as e}from"./_D-2kyUyG.js";export{e as _};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,I as t,K as n,T as r,a as i,i as a,x as o}from"./_772AjyQx.js";import"./_eutX35zw.js";import"./_B9kU6sMh.js";import"./_DYq5I1a_.js";import"./_Cg-uvNvy.js";var s=`_d6 _dX`,c=`_d7 _dY`;function l(e){return++e.issued}function u(e,t){return t<=e.applied?!1:(e.applied=t,!0)}var d=`<li><span> </span><!><span><!><!></span></li>`,f=` D D l%b D%b%m`,p=r(0),m=t(6,0,e=>p(e,e._.o)),h=m,g=r(0),_=t(5,0,e=>g(e,e._.n)),v=_,y=t(3,1,e=>{a(e.a,`title`,e._.m||void 0),n(e.b,e._.m||``)}),b=e=>{y._(e),i(e.a,c)},x=t(3,0,e=>n(e.c,e._.l||`Starting…`)),S=e=>{x._(e),i(e.a,[`_dg`,c]),i(e.b,`_2`)},C=(e,t)=>i(e.a,[`_dR`,`_d4`,t&&`_d5`]);function w(e){i(e.b,[`_M`,s]),i(e.e,`_dZ`)}var T=(e,t)=>{a(e.b,`title`,t),n(e.c,t)},E=e(3,`<span><span></span> </span>`,` D b `,S,`<span> </span>`,` D `,b),D=o(11,e=>{E(e,+(e.l==null)),x(e)}),O=e(5,`<!><!><!>`,`b%`,v),k=o(13,e=>{O(e,+!e.n),_(e)}),A=e(6,`<!><!><!>`,`b%`,h),j=o(14,e=>{A(e,+!e.o),m(e)}),M=o(12,y);export{k as a,d as c,l as d,C as i,f as l,D as n,T as o,M as r,w as s,j as t,u};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e}from"./_BdUIic1U.js";var t=e({default:()=>n}),n=[Object.freeze(JSON.parse(`{"displayName":"RegExp","fileTypes":["re"],"name":"regexp","patterns":[{"include":"#regexp-expression"}],"repository":{"codetags":{"captures":{"1":{"name":"keyword.codetag.notation.python"}},"match":"\\\\b(NOTE|XXX|HACK|FIXME|BUG|TODO)\\\\b"},"fregexp-base-expression":{"patterns":[{"include":"#fregexp-quantifier"},{"include":"#fstring-formatting-braces"},{"match":"\\\\{.*?}"},{"include":"#regexp-base-common"}]},"fregexp-quantifier":{"match":"\\\\{\\\\{(\\\\d+|\\\\d+,(\\\\d+)?|,\\\\d+)}}","name":"keyword.operator.quantifier.regexp"},"fstring-formatting-braces":{"patterns":[{"captures":{"1":{"name":"constant.character.format.placeholder.other.python"},"2":{"name":"invalid.illegal.brace.python"},"3":{"name":"constant.character.format.placeholder.other.python"}},"match":"(\\\\{)(\\\\s*?)(})"},{"match":"(\\\\{\\\\{|}})","name":"constant.character.escape.python"}]},"regexp-backreference":{"captures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.begin.regexp"},"2":{"name":"entity.name.tag.named.backreference.regexp"},"3":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.backreference.named.end.regexp"}},"match":"(\\\\()(\\\\?P=\\\\w+(?:\\\\s+\\\\p{alnum}+)?)(\\\\))","name":"meta.backreference.named.regexp"},"regexp-backreference-number":{"captures":{"1":{"name":"entity.name.tag.backreference.regexp"}},"match":"(\\\\\\\\[1-9]\\\\d?)","name":"meta.backreference.regexp"},"regexp-base-common":{"patterns":[{"match":"\\\\.","name":"support.other.match.any.regexp"},{"match":"\\\\^","name":"support.other.match.begin.regexp"},{"match":"\\\\$","name":"support.other.match.end.regexp"},{"match":"[*+?]\\\\??","name":"keyword.operator.quantifier.regexp"},{"match":"\\\\|","name":"keyword.operator.disjunction.regexp"},{"include":"#regexp-escape-sequence"}]},"regexp-base-expression":{"patterns":[{"include":"#regexp-quantifier"},{"include":"#regexp-base-common"}]},"regexp-character-set":{"patterns":[{"match":"\\\\[\\\\^?](?!.*?])"},{"begin":"(\\\\[)(\\\\^)?(])?","beginCaptures":{"1":{"name":"punctuation.character.set.begin.regexp constant.other.set.regexp"},"2":{"name":"keyword.operator.negation.regexp"},"3":{"name":"constant.character.set.regexp"}},"end":"(])","endCaptures":{"1":{"name":"punctuation.character.set.end.regexp constant.other.set.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.character.set.regexp","patterns":[{"include":"#regexp-charecter-set-escapes"},{"match":"\\\\N","name":"constant.character.set.regexp"}]}]},"regexp-charecter-set-escapes":{"patterns":[{"match":"\\\\\\\\[\\\\\\\\abfnrtv]","name":"constant.character.escape.regexp"},{"include":"#regexp-escape-special"},{"match":"\\\\\\\\([0-7]{1,3})","name":"constant.character.escape.regexp"},{"include":"#regexp-escape-character"},{"include":"#regexp-escape-unicode"},{"include":"#regexp-escape-catchall"}]},"regexp-comments":{"begin":"\\\\(\\\\?#","beginCaptures":{"0":{"name":"punctuation.comment.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"punctuation.comment.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"comment.regexp","patterns":[{"include":"#codetags"}]},"regexp-conditional":{"begin":"(\\\\()\\\\?\\\\((\\\\w+(?:\\\\s+\\\\p{alnum}+)?|\\\\d+)\\\\)","beginCaptures":{"0":{"name":"keyword.operator.conditional.regexp"},"1":{"name":"punctuation.parenthesis.conditional.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.conditional.negative.regexp punctuation.parenthesis.conditional.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-escape-catchall":{"match":"\\\\\\\\(.|\\\\n)","name":"constant.character.escape.regexp"},"regexp-escape-character":{"match":"\\\\\\\\(x\\\\h{2}|0[0-7]{1,2}|[0-7]{3})","name":"constant.character.escape.regexp"},"regexp-escape-sequence":{"patterns":[{"include":"#regexp-escape-special"},{"include":"#regexp-escape-character"},{"include":"#regexp-escape-unicode"},{"include":"#regexp-backreference-number"},{"include":"#regexp-escape-catchall"}]},"regexp-escape-special":{"match":"\\\\\\\\([ABDSWZbdsw])","name":"support.other.escape.special.regexp"},"regexp-escape-unicode":{"match":"\\\\\\\\(u\\\\h{4}|U\\\\h{8})","name":"constant.character.unicode.regexp"},"regexp-expression":{"patterns":[{"include":"#regexp-base-expression"},{"include":"#regexp-character-set"},{"include":"#regexp-comments"},{"include":"#regexp-flags"},{"include":"#regexp-named-group"},{"include":"#regexp-backreference"},{"include":"#regexp-lookahead"},{"include":"#regexp-lookahead-negative"},{"include":"#regexp-lookbehind"},{"include":"#regexp-lookbehind-negative"},{"include":"#regexp-conditional"},{"include":"#regexp-parentheses-non-capturing"},{"include":"#regexp-parentheses"}]},"regexp-flags":{"match":"\\\\(\\\\?[Laimsux]+\\\\)","name":"storage.modifier.flag.regexp"},"regexp-lookahead":{"begin":"(\\\\()\\\\?=","beginCaptures":{"0":{"name":"keyword.operator.lookahead.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.lookahead.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-lookahead-negative":{"begin":"(\\\\()\\\\?!","beginCaptures":{"0":{"name":"keyword.operator.lookahead.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookahead.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.lookahead.negative.regexp punctuation.parenthesis.lookahead.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-lookbehind":{"begin":"(\\\\()\\\\?<=","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-lookbehind-negative":{"begin":"(\\\\()\\\\?<!","beginCaptures":{"0":{"name":"keyword.operator.lookbehind.negative.regexp"},"1":{"name":"punctuation.parenthesis.lookbehind.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"keyword.operator.lookbehind.negative.regexp punctuation.parenthesis.lookbehind.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-named-group":{"begin":"(\\\\()(\\\\?P<\\\\w+(?:\\\\s+\\\\p{alnum}+)?>)","beginCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.begin.regexp"},"2":{"name":"entity.name.tag.named.group.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.named.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"name":"meta.named.regexp","patterns":[{"include":"#regexp-expression"}]},"regexp-parentheses":{"begin":"\\\\(","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-parentheses-non-capturing":{"begin":"\\\\(\\\\?:","beginCaptures":{"0":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.begin.regexp"}},"end":"(\\\\))","endCaptures":{"1":{"name":"support.other.parenthesis.regexp punctuation.parenthesis.non-capturing.end.regexp"},"2":{"name":"invalid.illegal.newline.python"}},"patterns":[{"include":"#regexp-expression"}]},"regexp-quantifier":{"match":"\\\\{(\\\\d+|\\\\d+,(\\\\d+)?|,\\\\d+)}","name":"keyword.operator.quantifier.regexp"}},"scopeName":"source.regexp.python","aliases":["regex"]}`))];export{t as n,n as t};
|
|
Binary file
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=/[\\;]/g,t=e=>e===`;`?`\\3B `:`\\\\`,n=function e(t,n,r){let i=``,a=``,o;if(t){if(typeof t!=`object`)i+=t;else if(Array.isArray(t))for(let s of t)o=e(s,n,r),o&&(i+=a+o,a=n);else for(let e in t)o=r(e,t[e]),o&&(i+=a+o,a=n)}return i},r=e=>(e+(e<26?10:e<962?334:11998)).toString(36),i,a,o,s=2,c=new WeakSet,l=new WeakSet,u=[],d=[],f=(e=>{for(let t=0;t<e.length;)e[t++](e[t++])}),p=e=>{(!i||e.b.F?.H!==0)&&e.c(e.b,e.d)},m,h,g,_=(e,t)=>t[1+e]||=(document.addEventListener(e,t,!0),1),v={},y=1e6,b=function e(t){t.H=0,t.D?.forEach(e),t.B?.forEach(Ve)},x,S,C=(e,t)=>e.T?.(t),w=(e,t)=>e.U?.(t),T=new WeakMap,E,D=function e(t,n,i){let a,o,s=0,c=0;for(;t<n.length;)if(a=n.charCodeAt(t++),o=s,s=0,a===32)i[r(c++)]=E;else if(a===37||a===49)E.replaceWith(E=i[r(c++)]=new Text),a===49&&(i[r(c++)]=ze());else if(a===38)return t;else if(a===47||a===48)t=e(t,n,i[r(c++)]=Le(i.$,i.F)),a===48&&(i[r(c++)]=ze());else if(a<92)for(a=25*o+a-67;a--;)O();else if(a<107)for(a=10*o+a-97;a--;)k();else if(a<117){for(a=10*o+a-107;a--;)E=E.parentNode||E;k()}else s=o*10+a-117},O=()=>{if(E.firstChild)return E=E.firstChild;for(;!E.nextSibling&&E.parentNode;)E=E.parentNode;k()},k=()=>E=E.nextSibling||E,A={},j,M,N,P,ee={},te=be(function(e,t,n){let r=e[n],i=r.parentNode,a=e[`H`+n]||r,o=Ie(xt(t),i.namespaceURI),s=e[n]=o.firstChild||o.appendChild(new Text),c=e[`H`+n]=o.lastChild,l=e.F;l?.S===r&&(l.S=s),l?.K===a&&(l.K=c),Y(i,r,s,c),It(r,a)}),ne=/[\p{L}\p{N}]/gu,re=``,ie={},ae={},oe=I((e,...t)=>{e=r(e);let n=`D`+e,i=[],a=0;for(;a<t.length;)i.push(q(``,t[a++],t[a++],t[a++])());return(t,r)=>{r!==(t[n]??(t[`A`+e]&&0))&&$(t,e,i[t[n]=r],K)}}),se=I((e,t,n,i)=>{e=r(e);let a=`A`+e,o=`D`+e;return(r,s,c)=>{let l=ye(s);if(r[o]!==(r[o]=Q(l))||t&&!(l||r[a])){if($(r,e,l||(t?t(r):void 0),hn),n&&(r[a]?(r[a].T=e=>n()(r,e),typeof l==`string`&&le?.(r[a])):n()(r,void 0)),typeof l==`string`){if(t){let e=t(r);$(r[a],`a`,e,K),e.f&&W(e.e,e.f,r[a].Aa)}}else l?.f&&W(l.e,l.f,r[a])}if(l){let e=r[a],n=c?.();if(typeof l==`string`)(t?Dt:Ot)(e,`a`,(i?n[0]:n)||{},ae[e.a.tagName]),(e.Ia||e.Ea)&&R(e,mn);else{for(let t in l.g)l.g[t](e,l.h[t]);if(l.d){if(i)l.d(e,l._?n[0]:n);else{let i=t?{...n,content:t(r)}:n||{};l.d(e,l._?i:[i])}}}}}}),ce=I(e=>{e=r(e);let t=`A`+e,n=`D`+e;return(r,i)=>{if(r[n]!==(r[n]=Q(i))&&($(r,e,i,K),i?.f&&W(i.e,i.f,r[t])),i)for(let e in i.g)i.g[e](r[t],i.h[e])}}),le,ue=I(()=>A._d=mn),de=I(e=>(t,n,i,a,o)=>{t=r(t);let s=`A`+t,c=`O`+t,l=q(``,n,i,a)();return(n,r)=>{let i=n[t],a=B(n[s]),u=n[s]=[];n[c]=null;let d=a.length,f=i.nodeType>1?i.parentNode||a[0]?.S.parentNode:i,p,m,h=0;e(r,(e,t)=>{let r=u.length,i=a[r],s=d&&(p||e!==(i?.M??r)?(p||=a.reduce((e,t,n)=>n<r?e:(t.I=n,e.set(t.M??n,t)),new Map)).get(e):i&&(h++,i));s?(m=!0,p?.delete(e)):s=K(n.$,l,n,f),s.M=e,u.push(s),o?.(s,t)});let g=u.length,_=i!==f,v=null,y=d-1,b=g-1;if(_&&(d?(v=a[y].K.nextSibling,g||f.insertBefore(i,v)):g&&(v=i.nextSibling,i.remove())),!m){d&&(a.forEach(_?H:V),_||(f.textContent=``));for(let e of u)U(e,f,v);return}if(p)p.forEach(H);else for(let e=g;e<d;e++)H(a[e]);for(;y>=h&&b>=h&&a[y]===u[b];)y--,b--;if(y+1<d&&(v=a[y+1].S),h>y||h>b){for(let e=h;e<=b;e++)U(u[e],f,v);return}let x=b-h+1,S=Array(x),C=Array(x),w=[],T=-1,E,D,O;for(let e=x;e--;)S[e]=u[h+e].I??-1;for(let e=0;e<x;e++)if(~S[e]){if(T<0||S[w[T]]<S[e])~T&&(C[e]=w[T]),w[++T]=e;else{for(E=0,D=T;E<D;)O=(E+D)/2|0,S[w[O]]<S[e]?E=O+1:D=O;S[e]<S[w[E]]&&(E>0&&(C[e]=w[E-1]),w[E]=e)}}for(D=w[T],E=T+1;E-->0;)w[E]=D,D=C[D];for(let e=x;e--;)~T&&e===w[T]?T--:U(u[h+e],f,v),v=u[h+e].S}}),fe=de(([e,t],n)=>{t||=gn,typeof t==`string`?xe(e,(e,r)=>n(e[t],[e,r])):xe(e,(e,r)=>n(t(e,r),[e,r]))}),pe=de(([e,t,n,r],i)=>{r||=_n,Se(e,t,n,e=>i(r(e),[e]))});function me(e,t){return t?e:``}function he(e,t){return t||t===0?ge(e)+`:`+ge(t+``):``}function ge(n){return e.test(n)?n.replace(e,t):n}function _e(e){return/^on[A-Z-]/.test(e)}function ve(e){return e[2]===`-`?e.slice(3):e.slice(2).toLowerCase()}function F(e){return e!=null&&e!==!1}function ye(e){if(e){if(typeof e==`string`)return e;let t=e.content||e.default||e;if(`a`in t)return t}}function I(e){return i=1,e}function be(e){return a=1,e}function xe(e,t){if(e){let n=0;for(let r of e)t(r,n++)}}function Se(e,t,n,r){let i=t||0,a=n||1;for(let t=(e-i)/a,n=0;n<=t;n++)r(i+n*a)}function L(e,t,n,r,i=e.L){let a;if(n>=0&&(a=e[n])){if(a.d=r,a.e===s||m&&a.f)return;a.e=s}else a={a:i*1e6+n,b:e,c:t,d:r,e:s},n>=0&&(e[n]=a);Ce(a)}function Ce(e){let t=d.push(e)-1;for(;t;){let n=t-1>>1,r=d[n];if(e.a-r.a>=0)break;d[t]=r,t=n}d[t]=e}function R(e,t){u.push(t,e)}function z(){let e=u;try{o=1,De()}finally{s++,o=0,d=[],u=[]}f(e)}function we(e,t,n){d.length||queueMicrotask(z),L(e,t,-1,n)}function Te(e){let t=d,n=u,r=u=[];d=[];try{o=1,e(),De()}finally{s++,o=0,d=t,u=n}return r}function Ee(e,t){m=1,I(),f=e(f),p=t(p)}function De(){for(;d.length;){let e=d[0],t=d.pop();if(e!==t){let e=0,n=d.length>>1,r=(d[0]=t).a;for(;e<n;){let t=(e<<1)+1,n=t+1;if(n<d.length&&d[n].a-d[t].a<0&&(t=n),d[t].a-r>=0)break;d[e]=d[t],e=t}d[e]=t}p(e)}}function Oe(e,t){let n=e.A?.[t];n&&(e.A[t]=void 0,o?R(n,je):je(n))}function ke(e,t){return h=1,Ae(e),((e.A||={})[t]||=new AbortController).signal}function Ae(e,t){let n=e.F;n&&(n.B||=new Set).add(e),t&&(g=1,(e.Z||=[]).push(t))}function je(e){e.abort()}function B(e){return e?Array.isArray(e)?e:[e]:[]}function Me(e,t){if(e){if(Array.isArray(e))for(let n of e)t(n);else t(e)}}function Ne(e,t){return e?Array.isArray(e)?(e.push(t),e):[e,t]:t}function Pe(e,t,n){e[1+t]===void 0&&_(t,Fe),e[1+t]=n||null}function Fe(e){let t=!o&&e.target;for(;t;)t[1+e.type]?.(e,t),t=e.bubbles&&!e.cancelBubble&&t.parentNode}function Ie(e,t){let n=v[t]||=document.createElementNS(t,`template`);return n.innerHTML=e,n.content||n}function Le(e,t){return{L:y++,H:s,F:t,$:e}}function Re(e){e.H=s}function ze(){return y++}function Be(e,t){let n=e.F;for(;n&&n[t]==null;)n=n.N;return n}function V(e){e.N?.D?.delete(e),b(e)}function Ve(e){if(g&&e.Z?.forEach(He,e),h)for(let t in e.A)Oe(e,t)}function He(e){e.delete(this)}function H(e){V(e),It(e.S,e.K)}function U(e,t,n){Y(t,n,e.S,e.K)}function Ue(e){let t=new DocumentFragment;t.namespaceURI=e.S.parentNode.namespaceURI,Y(t,null,e.S,e.K)}function We(){x||(x=1,queueMicrotask(Ge))}function Ge(){requestAnimationFrame(Ke),z()}function Ke(){S||(S=new MessageChannel,S.port1.onmessage=()=>{x=0,z()}),S.port2.postMessage(0)}function qe(e,t){let n=r(e);return(r,i)=>(o?r.H===s&&(r[n]=i,t?.(r)):(r[n]!==i||!(n in r))&&(r[n]=i,t)&&(We(),L(r,t,e)),i)}function Je(e,t){let n=r(e),i=r(e+1),a=qe(e,t);return(e,r,s)=>(o?(e[i]=s)&&(e[n]!==r||!(n in e))?(e[n]=r,t?.(e)):a(e,r):e[i]?e[i](r):a(e,r),r)}function Ye(e,t){return e=r(e),((n,r)=>{(n[e]!==r||!(e in n))&&(n[e]=r,t?.(n))})}function Xe(e,t,n=1,i=`L`){return i!==`L`&&(i=r(i)),r=>{r.H===s?~e in r?--r[~e]||t(r):r[~e]=n:L(r,t,e,0,r[i])}}function Ze(e,t){e=r(e);let n=`A`+e,i=e=>{let r=B(e[n]);r.length&&L(e,()=>{for(let e of r)e.H>0&&e.H<s&&t(e)},-1,0,r[0].L)};return i._=t,i}function Qe(e,t,n,i){e=r(e),t=r(t),n!==`M`&&(n=r(n));let a=`A`+e,o=`O`+e,c=`_${t}`,l=e=>{let r=B(e[a]);if(e.H<s&&r.length){let s=e[t];L(e,()=>{let t=$e(e,a,o,n);if(t&&c in t){let e=t.get(t[c]),n=t.get(s);e!==n&&(et(e,i),et(n,i))}else for(let t of B(e[a]))et(t,i);t&&(t[c]=s)},-1,0,r[0].L)}};return l._=i,l}function $e(e,t,n,r){let i=e[n]||=new Map;if(!i.size)for(let a of B(e[t])){let t=a.M??a[r];if(t===void 0)return e[n]=null;a.M=t,i.set(t,a)}return i}function et(e,t){e&&e.H>0&&e.H<s&&t(e)}function tt(e,t,n){e=r(e);let i=`A`+e,a=`D`+e,o=e=>{let r=e[i];r&&r.H>0&&r.H<s&&(e[a]||0)===t&&L(r,n,-1)};return o._=n,o}function W(e,t,n){let r=e[t]||=new Set,{size:i}=r;r.add(n).size!==i&&Ae(n,r)}function nt(...e){let[t]=e,n=t.a,r=t.b;for(let t=e.length;t--;)e[t].c=t;return t=>{if(t[n])for(let i of t[n])i.H>0&&i.H<s&&L(i,e[i[r]||0],-1)}}function rt(e,t,n,i){e=r(e);let a=(e=>{e[a.b]=a.c,t(e),W(n?n(e):e._,a.a,e)});return a.a=e,a.b=`C`+e,i&&(A[i]=a),a}function it(e){return e._=(t,n)=>{t._=n,L(t,e,-1)},e}function at(e,t,n){e[r(t)].T=t=>n(e,t)}function ot(e,t){let n=t!==void 0&&e[t];if(!n){let r=e.$,i=T.get(r)||0;T.set(r,i+1),n=`c`+r.runtimeId+r.renderId+i.toString(36),t!==void 0&&(e[t]=n)}return n}function st(e,t){return A[e]=t,e=>{R(e,t)}}function*G(e,t,n,r=t.length-1){if(e){if(Symbol.iterator in e)for(let i of e.values())yield*G(i,t,n,r);else{let i=e[t[r]];r?yield*G(i,t,n,r-1):yield typeof i==`function`?i(...n):i}}}function ct(...e){return e=e.map(e=>typeof e==`string`?e:r(e)),t=>{let n=(...n)=>G(t,e,n).next().value;return n[Symbol.iterator]=()=>G(t,e,[]),n}}function lt(e,...t){return A[e]=ct(...t)}function ut(e,t,n){E=e,D(0,t,n)}function dt(e){(M||=new Set).add(e);for(let e in j)mt(j[e])}function ft(e){return N=1,e}function pt(e=`M`){if(j)return;let t=self[e],n=t=>Object.defineProperty(self,e,t),r=t=>{n({value:j=(n=>{let r=j[n]=t[n]||t(n),o=r.w,s={},c=[],l=e=>s[e]||(+e?d(s[e]={L:+e}):u()),u=()=>s[0]||={runtimeId:e,renderId:n},d=e=>(e.H??=1,e.$=u(),i&&e.G&&(e.F=l(e.G)),e),f=e=>{let t=e[0];for(let n=1;n<e.length;n++){let r=e[n];typeof r==`number`?t+=r:(t?d(Object.assign(s[t]||=(r.L=t,r),r)):Object.assign(u(),r),t++)}},p=((e,t)=>typeof e==`number`?t?A[t](l(e)):l(e):f(e)),m=(e=[],t=[],n,i,a=0,o=(e,t)=>e.F===e?e!==t&&_t(e,t):e.F=t)=>(s,u,d,f,p,m,g=y.parentNode,_=y)=>{if(x===`*`){for(;i&&c.length>=a;)o(c.pop(),i);(i=+C&&S)&&(a=c.push(i));return}for(x!==`[`&&(S[h()]=x===`)`||x===`}`?g:y,f=`A`+(p=C),m=x!==`]`&&x!==`)`,h());s=+C;){if((d||=[]).push(u=l(s)),_t(u,u.F),(u.O=r.p?.[s])&&(u.O.m=r.m),m){for(;_.previousSibling&&~v.indexOf(_=_.previousSibling););u._??=S,u.K=u.S=_,x===`(`&&(u.a=_)}else u.C=p,n=Ne(n,u),f&&(S[f]=n,Me(n,e=>e._??=S),n=e.pop()),_=t.pop(),g!==_.parentNode&&g.prepend(_),u.S=_,u.K=y.previousSibling===_?_:g.insertBefore(new Text,y);for(;c.at(-1)?.L>=s;)o(c.pop(),u);h()}if(d){for(let e of d)c.push(e);m&&(S[f]=d.length>1?d.reverse():d[0])}x===`[`?(d||(e.push(n),n=void 0),t.push(y)):c.push(S)},h=()=>C=b.slice(w,(w=b.indexOf(` `,w)+1||b.length+1)-1),g=(e=[],t)=>{let n=0;for(;n<e.length;n++){let i=e[n];if(typeof i==`string`)for(w=0,b=i;h();)/\D/.test(C)?_=A[C]:t.push(_,l(C));else if(Array.isArray(i)){if(!(M&&i.every(e=>M.has(e)&&!r.b[e].length)))break}else if(M&&typeof i==`number`)break;else{let e=i(p);Array.isArray(e)&&f(e)}}return e.splice(0,n),n},_,v,y,b,x,S,C,w,T,E;return p._=A,r.m=e=>{if(g(r.r,e),M&&r.b)for(let t=1;t;){t=0;for(let n of M){let i=r.b[n];i&&g(i,e)&&(t=1)}}let t=0;for(y of v=r.v)w=r.i.length,b=y.data,x=b[w++],S=l(h()),a&&x>`%`&&x<=`'`?x===`&`?E=y:(S[h()]=E,S[`H`+C]=y,(i||N)&&c[c.length-1]!==S&&c.push(S)):i&&x>`'`?(T||=m())():N&&r.b&&x>`%`?v[t++]=y:(S[h()]=x===`%`?y.parentNode.insertBefore(new Text,y):y.previousSibling,(i||N)&&c[c.length-1]!==S&&c.push(S));return i&&T&&(x=`*`,C=``,T()),v.length=t,e},r.w=()=>{o(),mt(r)},r})})};if(t){r(t);for(let e in t)mt(j(e))}else n({configurable:!0,set:r})}function mt(e){try{P=1,f(e.m([]),1)}finally{P=0}}function ht(e,t){return A[e]=e=>n=>t(e,n),t}function gt(e,t,n,r){let i=Le(e);return i._=t.e||n,_t(i,n?.F),t.b?.(i,r.namespaceURI),i}function _t(e,t){t&&(e.N=t,(t.D||=new Set).add(e)),e.F=e}function K(e,t,n,r){return vt(t,gt(e,t,n,r))}function vt(e,t){return e.c&&L(t,e.c,-1),t}function q(e,t,n,r,i,a){n=n?n.replace(/[^\0-1]+$/,``):``,r=r?r._||r:void 0,i||=void 0;let o=t?(e,r)=>{((ee[r]||={})[1+t]||=bt(t,r))(e,n)}:e=>{ut(e.S=e.K=new Text,n,e)};return t=>({a:e,b:o,e:t,c:r,d:i,f:a})}function yt(e,t,n,r,i,a){return A[e]=q(e,t,n,r,i,a)}function bt(e,t){let{firstChild:n,lastChild:r}=Ie(e,t),i=document.createElementNS(t,`t`);return Y(i,null,n,r),n===r&&n.nodeType<8?(e,t)=>{ut(e.S=e.K=n.cloneNode(!0),t,e)}:(e,t)=>{let n=i.cloneNode(!0);ut(n.firstChild,t,e),e.S=n.firstChild,e.K=n.lastChild}}function xt(e){return e||e===0?e+``:``}function St(e,t,n){Ct(e,t,J(n))}function Ct(e,t,n){e.getAttribute(t)!=n&&(n===void 0?e.removeAttribute(t):e.setAttribute(t,n))}function wt(e,t){Ct(e,`class`,n(t,` `,me)||void 0)}function Tt(e,t){Ct(e,`style`,n(t,`;`,he)||void 0)}function Et(e,t){let n=xt(t);e.data!==n&&(e.data=n)}function Dt(e,t,n,r){let i=e[t];for(let e=i.attributes.length;e--;){let{name:t}=i.attributes.item(e);n&&(t in n||kt(i,t,n))||i.removeAttribute(t)}jt(e,t,n,r)}function Ot(e,t,n,r){Dt(e,t,n,r),Mt(e,t,n?.content)}function kt(e,t,n){return t===`checked`&&e.tagName===`INPUT`&&`checkedValue`in n}function At(e,t,n,r,i){let a=e[t],o={};for(let e=a.attributes.length;e--;){let{name:t}=a.attributes.item(e);!r[t]&&!(n&&(t in n||kt(a,t,n)))&&a.removeAttribute(t)}for(let e in n){let t=_e(e)?`on-${ve(e)}`:e;r[t]||(o[t]=n[e])}jt(e,t,o,i)}function jt(e,t,n,r){let i=e[t],a=e[`I`+t],o;for(let e in a)a[e]=0;r&&(e[`F`+t]=5,e[`E`+t]=0,n&&(o=r(e,t,n)));for(let r in n){let s=n[r];switch(r){case`class`:wt(i,s);break;case`style`:Tt(i,s);break;default:_e(r)?(a||=e[`I`+t]={})[ve(r)]=s:o?.test(r)||r===`content`&&i.tagName!==`META`||St(i,r,s)}}}function Mt(e,t,n){let r=Pt(n);e[`D`+t]!==(e[`D`+t]=Q(r))&&($(e,t,r,K),r?.f&&W(r.e,r.f,e[`A`+t]));for(let n in r?.g)r.g[n](e[`A`+t],r.h[n])}function Nt(e,t){let n=e[t],r=e[`I`+t];ie[e[`F`+t]]?.(e,t);for(let e in r)Pe(n,e,r[e])}function Pt(e){let t=ye(e);if(t&&t.a)return t}function J(e){if(F(e))return e===!0?``:e+``}function Ft(e,t,n=0){let r=`K`+n,i=e[r];i?(Object.assign(i,t),i.onUpdate?.()):(e[r]=t,Object.assign(t,t.onMount?.()),ke(e,r).onabort=()=>t.onDestroy?.())}function It(e,t){let n=t.nextSibling;for(;e!==n;){let t=e.nextSibling;e.remove(),e=t}}function Y(e,t,n,r){if(e.isConnected)e.insertBefore(Lt(n,r),t);else{let i=r.nextSibling;for(;n!==i;){let r=n.nextSibling;e.insertBefore(n,t),n=r}}return e}function Lt(e,t){return e===t?e:Y(new DocumentFragment,null,e,t)}function Rt(e,t,n,r){if((t||t===0)&&(t!==n.length||/kw/.test(e))){let e=n.slice(0,t),i=n.slice(t);if(r.startsWith(e))return t;if(r.endsWith(i))return r.length-i.length;let a=e.match(ne)?.length;for(;a&&ne.test(r);)a--;return a?r.length:ne.lastIndex}return-1}function zt(e,t,n){let r=e[t],i=F(n);if(r.defaultChecked!==i){let t=e.H<s?r.checked:i;r.defaultChecked=i,t!==i&&(r.checked=t)}}function Bt(e,t,n,r){let i=e[t],a=F(n);e[`E`+t]=r,e[`F`+t]=r?0:5,r&&e.H<s?i.checked=a:zt(e,t,a)}function Vt(e,t){let n=e[t];en(n,an,()=>{let r=e[`E`+t];if(r){let e=n.checked;n.checked=!e,r(e),z()}})}function Ht(e,t,n){let r=e[t],i=J(n)||``;if(r.defaultValue!==i){let t=e.H<s?r.value:i;r.defaultValue=i,X(r,t)}}function Ut(e,t,n,r,i=Ht){let a=e[t],o=J(n)||``;e[`E`+t]=r,e[`G`+t]=o,e[`F`+t]=r?2:5,r&&e.H<s?X(a,o):i(e,t,n)}function Wt(e,t){let n=e[t];P&&(e[`G`+t]=n.defaultValue),en(n,rn,r=>{let i=e[`E`+t];i&&(re=r?.inputType,i(n.value),z(),X(n,e[`G`+t]),re=``)})}function X(e,t){if(e.value!==t){let n=Rt(re,document.activeElement===e&&e.selectionStart,e.value,e.value=t);~n&&e.setSelectionRange(n,n)}}function Gt(e,t,n){let r,i=e[t],a=e.H<s,o=Array.isArray(n),c=o?n.map(Z):Z(n);u.unshift(()=>{for(let e of i.options){let t=o?c.includes(e.value):e.value===c;e.defaultSelected!==t&&(a&&(r??=Yt(i,o)),e.defaultSelected=t)}r!==void 0&&Jt(i,r,o)},e)}function Kt(e,t,n,r){let i=e[t],a=e.H<s,o=Array.isArray(n),c=e[`G`+t]=o?n.map(Z):Z(n);e[`E`+t]=r,e[`F`+t]=r?3:5,r&&a?u.unshift(()=>Jt(i,c,o),e):Gt(e,t,c)}function qt(e,t){let n=e[t],r=()=>{let r=e[`E`+t];if(r){let i=e[`G`+t],a=Array.isArray(i),o=Yt(n,a);Jt(n,i,a),r(o),z()}};if(P){if(n.multiple){e[`G`+t]=[];for(let r of n.options)r.defaultSelected&&e[`G`+t].push(r.value)}else{e[`G`+t]=``;for(let r of n.options)if(r.defaultSelected){e[`G`+t]=r.value;break}}}en(n,on,r),$t(e,t,{childList:!0,subtree:!0},()=>{let i=e[`G`+t];(Array.isArray(i)?i.length!==n.selectedOptions.length||i.some((e,t)=>!i.includes(n.selectedOptions[t].value)):n.value!==i)&&r()})}function Jt(e,t,n){if(n)for(let n of e.options)n.selected=t.includes(n.value);else e.value=t}function Yt(e,t){return t?Array.from(e.selectedOptions,e=>e.value):e.value}function Xt(e,t,n){e.H===s&&(e[t].open=F(n))}function Zt(e,t,n,r){let i=e[`G`+t]=F(n);e[`E`+t]=r,e[`F`+t]=r?4:5,r&&e.H<s?e[t].open=i:Xt(e,t,i)}function Qt(e,t){let n=e[t];$t(e,t,{attributes:!0,attributeFilter:[`open`]},()=>{let r=e[`E`+t];if(r&&n.open===!e[`G`+t]){let e=n.open;n.open=!e,r(e),z()}})}function $t(e,t,n,r){(e[`N`+t]||=new MutationObserver(r)).observe(e[t],n)}function en(e,t,n){e._=n,e.c=t,_(`input`,tn),e.form&&_(`reset`,nn),P&&t(e)&&queueMicrotask(n)}function tn(e){e.target._?.(e)}function nn(e){let t=[];for(let n of e.target.elements)n._&&n.c(n)&&t.push(n._);requestAnimationFrame(()=>{if(!e.defaultPrevented)for(let e of t)e()})}function rn(e){return e.value!==e.defaultValue}function an(e){return e.checked!==e.defaultChecked}function on(e){for(let t of e.options)if(t.selected!==t.defaultSelected)return!0}function Z(e){return J(e)||``}function sn(e,t,n){if(`open`in n||`openChange`in n)return Zt(e,t,n.open,n.openChange),/^open(?:Change)?$/}function cn(e,t=Be(e,`Q`)){if(!t)return;let n=t.O;return n?.i||(n=un(t,()=>fn(t))),l.add(u),ln(n,t,()=>{U(t.P=K(t.$,t.Q,t._,t.S.parentNode),t.S.parentNode,t.S),Ue(t)}),n}function ln(e,t,n){e.i++||requestAnimationFrame(()=>e.i&&f(Te(()=>L(t,n,-1))))}function un(e,t){let n=e.O={i:0,c(){if(--n.i)return 1;t(),R(e,dn)}};return n}function dn(e){let t=e.J;t&&(e.J=[],f(t,1))}function fn(e){let t=e.P;t&&(e.P=0,t.S.parentNode.insertBefore(e.S.parentNode,t.S),H(t))}function pn(e,t){let n=Be(e,`E`);if(n){let e=n._,r=n.P;r&&(n.O&&(n.O.i=0),e[`A`+n.C]=r,V(n)),c.add(u),$(e,n.C,n.E,K),n.E?.d?.(e[`A`+n.C],[t])}else throw t}function Q(e){return e?.e?e.a+` `+e.e.L:e?.a||e}function mn(e){Nt(e,`a`)}function $(e,t,n,r){let i=e[t],a=e[`A`+t],o=i.nodeType>1?(a?.S||i).parentNode:i,s=e[`A`+t]=n&&r(e.$,n,e,o);i===o?(a&&(V(a),i.textContent=``),s&&U(s,o,null)):a?(s?U(s,o,a.S):o.insertBefore(i,a.S),H(a)):s&&(U(s,o,i),i.remove())}function hn(e,t,n,r){let i=gt(e,t,n,r);return typeof t==`string`?i.a=i.S=i.K=document.createElementNS(t===`svg`?`http://www.w3.org/2000/svg`:t===`math`?`http://www.w3.org/1998/Math/MathML`:r.namespaceURI,t):vt(t,i),i}function gn(e,t){return t}function _n(e){return e}var vn=(function(){let e=typeof document<`u`&&document.createElement(`link`).relList;return e&&e.supports&&e.supports(`modulepreload`)?`modulepreload`:`preload`})(),yn=function(e){return`/`+e},bn={},xn=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?import.meta.resolve(e):new URL(e,import.meta.url).href}r=o(t.map(t=>{if(t=yn(t,n),t=s(t),t in bn)return;bn[t]=!0;let r=t.endsWith(`.css`);for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}let i=document.createElement(`link`);if(i.rel=r?`stylesheet`:vn,r||(i.as=`script`),i.crossOrigin=``,i.href=t,a&&i.setAttribute(`nonce`,a),document.head.appendChild(i),r)return new Promise((e,n)=>{i.addEventListener(`load`,e),i.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})};export{ie as $,pe as A,Pe as B,yt as C,Ze as D,ce as E,oe as F,st as G,ue as H,tt as I,at as J,Et as K,qe as L,lt as M,te as N,fe as O,ot as P,c as Q,Je as R,q as S,se as T,A as U,Xe as V,C as W,ht as X,w as Y,cn as Z,Nt as _,ft as _t,wt as a,Ee as at,rt as b,zt as c,we as ct,Wt as d,H as dt,gt as et,Kt as f,pn as ft,At as g,Re as gt,Dt as h,vt as ht,St as i,Y as it,ct as j,Qe as k,Vt as l,L as lt,Tt as m,s as mt,ke as n,pt as nt,Qt as o,l as ot,qt as p,f as pt,xt as q,Oe as r,U as rt,Bt as s,Te as st,xn as t,r as tt,Ut as u,dt as ut,it as v,sn as w,Ye as x,nt as y,Ft as z};
|
|
Binary file
|
|
Binary file
|