@intent-hq/web 2.369.1 → 2.370.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/intent-web.mjs +113 -2
- package/package.json +1 -1
- package/web/app/immutable/chunks/{DodshHwq.js → -7AqlW5j.js} +1 -1
- package/web/app/immutable/chunks/{8bw9vP4h.js → 1DKpnRTj.js} +1 -1
- package/web/app/immutable/chunks/{Ck5xuk0H.js → 1GGKXNxU.js} +1 -1
- package/web/app/immutable/chunks/{DR7bEdZk.js → 1GrJvO3a.js} +1 -1
- package/web/app/immutable/chunks/{s1m3ujOc.js → 1pIqWRUk.js} +1 -1
- package/web/app/immutable/chunks/{CV10cSI4.js → 1q0xL14K.js} +1 -1
- package/web/app/immutable/chunks/{CWybLnJv.js → 5lieSvED.js} +1 -1
- package/web/app/immutable/chunks/{BPCO02B5.js → 9-nUCsGi.js} +1 -1
- package/web/app/immutable/chunks/{V6SVTu37.js → 9sCF_0su.js} +1 -1
- package/web/app/immutable/chunks/{D0Z6csIX.js → A4nvdmL6.js} +1 -1
- package/web/app/immutable/chunks/{9wk-Hes5.js → B-1iBpaq.js} +1 -1
- package/web/app/immutable/chunks/{7mowE2Gg.js → B-_ROixI.js} +2 -2
- package/web/app/immutable/chunks/{DvPSMnYw.js → B-kUJzil.js} +1 -1
- package/web/app/immutable/chunks/{iTSQ9YOi.js → B0SoVMRS.js} +1 -1
- package/web/app/immutable/chunks/{Cu3YXFZW.js → B1hj1DGj.js} +1 -1
- package/web/app/immutable/chunks/{B9EhZrTN.js → B1lYPzEU.js} +1 -1
- package/web/app/immutable/chunks/{BigChyTJ.js → B2AfKG58.js} +2 -2
- package/web/app/immutable/chunks/{DyBkeTEM.js → B3Gso1ut.js} +1 -1
- package/web/app/immutable/chunks/{CRwqTV0i.js → B8_Ff8zl.js} +1 -1
- package/web/app/immutable/chunks/{BUrTAEns.js → B9BjyTgZ.js} +1 -1
- package/web/app/immutable/chunks/{DsI0RDZ2.js → B9mj0qwd.js} +1 -1
- package/web/app/immutable/chunks/{SX1khnGy.js → BAymCgEX.js} +1 -1
- package/web/app/immutable/chunks/{DMl4Z5o_.js → BBWuirRW.js} +1 -1
- package/web/app/immutable/chunks/{DCJDf3gb.js → BCQ1W7zT.js} +3 -3
- package/web/app/immutable/chunks/{Dd_WBgru.js → BDA31WCY.js} +1 -1
- package/web/app/immutable/chunks/{D7slXRL_.js → BDcauMkX.js} +1 -1
- package/web/app/immutable/chunks/{CQw_RyF_.js → BEV9WkWU.js} +1 -1
- package/web/app/immutable/chunks/{CBZ4KqrB.js → BG2RPA7A.js} +2 -2
- package/web/app/immutable/chunks/{wJewnowK.js → BGT9uvaQ.js} +6 -6
- package/web/app/immutable/chunks/{BUHAwVs7.js → BHaE4286.js} +1 -1
- package/web/app/immutable/chunks/{CGOlqeU_.js → BIv0yV05.js} +1 -1
- package/web/app/immutable/chunks/{ie53yFct.js → BR2t5nsF.js} +2 -2
- package/web/app/immutable/chunks/{DUItrdZb.js → BRRvOx4M.js} +1 -1
- package/web/app/immutable/chunks/{BKuhcLZN.js → BSD34ZVo.js} +1 -1
- package/web/app/immutable/chunks/{oOuL5l8A.js → BSfkjlLx.js} +1 -1
- package/web/app/immutable/chunks/{B6jI9-V_.js → BSsEOl8-.js} +1 -1
- package/web/app/immutable/chunks/{ge7HDe-3.js → BUA7BUyu.js} +1 -1
- package/web/app/immutable/chunks/{CJb9CQqu.js → BVLa_5Le.js} +1 -1
- package/web/app/immutable/chunks/{BlIreYOW.js → BX9hgO_H.js} +1 -1
- package/web/app/immutable/chunks/{Bo-8pH0P.js → BYMXwcID.js} +1 -1
- package/web/app/immutable/chunks/{BEqf00Je.js → B_IEMfS6.js} +3 -3
- package/web/app/immutable/chunks/{C5rcw_c7.js → Bc7pHsTy.js} +1 -1
- package/web/app/immutable/chunks/{CUH5IR0E.js → Bg7YNbVH.js} +1 -1
- package/web/app/immutable/chunks/{nRmTo2Eh.js → BgPtjifd.js} +1 -1
- package/web/app/immutable/chunks/{FavPgSsK.js → BhZDGIfe.js} +1 -1
- package/web/app/immutable/chunks/{Dxjy2MWO.js → Bi0vr71w.js} +1 -1
- package/web/app/immutable/chunks/{DfSzfqox.js → BimRiD6s.js} +1 -1
- package/web/app/immutable/chunks/{msw9XRLE.js → BinPWBvt.js} +1 -1
- package/web/app/immutable/chunks/{BrAu7eNn.js → BkFHmpuY.js} +1 -1
- package/web/app/immutable/chunks/{6i_wfV3v.js → Blu9C_Vv.js} +1 -1
- package/web/app/immutable/chunks/{CgXGPBF5.js → BmBa9vQp.js} +1 -1
- package/web/app/immutable/chunks/{D1E6y9eQ.js → BmjF1SON.js} +1 -1
- package/web/app/immutable/chunks/{ByCxDC-R.js → BnNJN3Ls.js} +1 -1
- package/web/app/immutable/chunks/{D321NUNJ.js → BnhOIUmr.js} +1 -1
- package/web/app/immutable/chunks/{BxbMMWzz.js → Bp098-aN.js} +1 -1
- package/web/app/immutable/chunks/{BLzqYDED.js → BpEHjU4g.js} +1 -1
- package/web/app/immutable/chunks/Bqd7fdCF.js +1 -0
- package/web/app/immutable/chunks/{BuveYyQe.js → Bqm2Rf6d.js} +1 -1
- package/web/app/immutable/chunks/{BuLzqNKd.js → BqxcrzZH.js} +1 -1
- package/web/app/immutable/chunks/{TaTYmBM5.js → Bu13V5mO.js} +1 -1
- package/web/app/immutable/chunks/{BHfEypjS.js → BulBKnVz.js} +1 -1
- package/web/app/immutable/chunks/{B-F2f_Hq.js → Bus1Z5ou.js} +1 -1
- package/web/app/immutable/chunks/{Cl71oYkB.js → BvKqDQXM.js} +1 -1
- package/web/app/immutable/chunks/{ByN-IDvR.js → BvZfa6RH.js} +1 -1
- package/web/app/immutable/chunks/{DWsHBNeU.js → Bvo32SXP.js} +1 -1
- package/web/app/immutable/chunks/{nIQsF0QH.js → BwtGEQS3.js} +1 -1
- package/web/app/immutable/chunks/{BE2y8JEQ.js → BzFy3u2D.js} +1 -1
- package/web/app/immutable/chunks/{CqesqBNM.js → C0wua3Vt.js} +1 -1
- package/web/app/immutable/chunks/{Dxs2medA.js → C14Hgf8a.js} +1 -1
- package/web/app/immutable/chunks/{zhSFUcJz.js → C1AEP5wW.js} +1 -1
- package/web/app/immutable/chunks/{D1cY0pVs.js → C2Vj5Vs6.js} +1 -1
- package/web/app/immutable/chunks/{ClSUFCtq.js → C2YH0P-B.js} +1 -1
- package/web/app/immutable/chunks/{DQUvqa9o.js → CA2ANaNj.js} +1 -1
- package/web/app/immutable/chunks/{DSqj6mlv.js → CADQyVDS.js} +2 -2
- package/web/app/immutable/chunks/{CNn7flY0.js → CBRZjI7P.js} +2 -2
- package/web/app/immutable/chunks/{BDbtK9be.js → CBafvv8h.js} +1 -1
- package/web/app/immutable/chunks/{BnRltR11.js → CCSbqNiH.js} +1 -1
- package/web/app/immutable/chunks/{Wv5_ui4s.js → CCrwZkau.js} +1 -1
- package/web/app/immutable/chunks/{B2FXFK8l.js → CCsCF1Mh.js} +1 -1
- package/web/app/immutable/chunks/CFNJHO2G.js +1 -0
- package/web/app/immutable/chunks/{6CAGpBb_.js → CGzD6XfW.js} +1 -1
- package/web/app/immutable/chunks/{3_UV1UgL.js → CH7fgKro.js} +1 -1
- package/web/app/immutable/chunks/CK4eAyad.js +1 -0
- package/web/app/immutable/chunks/{Dz5OBP4z.js → CKnpbRTh.js} +4 -4
- package/web/app/immutable/chunks/{DCOxMTSf.js → CL3a4Hm1.js} +1 -1
- package/web/app/immutable/chunks/{D9NDL9ta.js → CMLBE7U6.js} +1 -1
- package/web/app/immutable/chunks/{Bl3mtXZn.js → CPlH-52U.js} +1 -1
- package/web/app/immutable/chunks/{XPs8BW44.js → CQAAihrI.js} +1 -1
- package/web/app/immutable/chunks/{C6T3ggVX.js → CQHtdg39.js} +1 -1
- package/web/app/immutable/chunks/{DdKIjYo_.js → CQ_NwL45.js} +2 -2
- package/web/app/immutable/chunks/{Bd_VEON_.js → CR2m4w2U.js} +1 -1
- package/web/app/immutable/chunks/{CFvGekuw.js → CRNfAyhd.js} +1 -1
- package/web/app/immutable/chunks/{C5X1QcI7.js → CRY4aELR.js} +3 -3
- package/web/app/immutable/chunks/{BsjFeGOg.js → CSBGusi9.js} +1 -1
- package/web/app/immutable/chunks/{DxejgjNm.js → CUMRLgxB.js} +1 -1
- package/web/app/immutable/chunks/{BOCp5eAe.js → CUNx-_2d.js} +4 -4
- package/web/app/immutable/chunks/{DuPd2TLf.js → CUdMuhJF.js} +1 -1
- package/web/app/immutable/chunks/{s97D1nrA.js → CY-vjmpy.js} +1 -1
- package/web/app/immutable/chunks/{C1McR-sz.js → CYKOPxuJ.js} +1 -1
- package/web/app/immutable/chunks/{CMqhKAKf.js → C_-WdiR8.js} +1 -1
- package/web/app/immutable/chunks/{PxI10rWs.js → C_E26DWe.js} +1 -1
- package/web/app/immutable/chunks/{CxF8L5mw.js → CaHds95Q.js} +1 -1
- package/web/app/immutable/chunks/{C1VlgusM.js → Caqml6gj.js} +1 -1
- package/web/app/immutable/chunks/{N5wpZAwp.js → CbRNm5he.js} +1 -1
- package/web/app/immutable/chunks/{Zldsekdv.js → CbRsc9i4.js} +1 -1
- package/web/app/immutable/chunks/{C7kFrL62.js → CblB0zCN.js} +1 -1
- package/web/app/immutable/chunks/{BQGSaBlM.js → CbyU6cEf.js} +1 -1
- package/web/app/immutable/chunks/{Cdw_CIdg.js → CdOh_Fmv.js} +1 -1
- package/web/app/immutable/chunks/{BsE4jMhr.js → CfUtc4-L.js} +1 -1
- package/web/app/immutable/chunks/{C6MAELkY.js → CgS_FiQI.js} +1 -1
- package/web/app/immutable/chunks/{CF1Tu_8c.js → Cgn_eC9-.js} +3 -3
- package/web/app/immutable/chunks/{XJqoy2ap.js → CgwFGLCK.js} +1 -1
- package/web/app/immutable/chunks/{sG8VksRm.js → Chnr0_jK.js} +1 -1
- package/web/app/immutable/chunks/{BR9s3igW.js → CiZzqOpk.js} +1 -1
- package/web/app/immutable/chunks/{ocWSyOIA.js → CjTGc2Y5.js} +1 -1
- package/web/app/immutable/chunks/{Cs_DX3BC.js → Cj_UUgNI.js} +1 -1
- package/web/app/immutable/chunks/{Bo900RGs.js → CkrbZXJF.js} +1 -1
- package/web/app/immutable/chunks/{DEMmGTfr.js → CmVXj6KK.js} +2 -2
- package/web/app/immutable/chunks/{DWjKA8Pm.js → CmW3Zqh6.js} +1 -1
- package/web/app/immutable/chunks/{LKW_Bid7.js → CnztNSaN.js} +1 -1
- package/web/app/immutable/chunks/{DvdPJ4VE.js → Cq4X6ptS.js} +1 -1
- package/web/app/immutable/chunks/{Da2tbXc-.js → CqVZxU_G.js} +1 -1
- package/web/app/immutable/chunks/{CASKMy_V.js → CqwiFk32.js} +1 -1
- package/web/app/immutable/chunks/{x-XvE_CJ.js → Cv2YUgTX.js} +1 -1
- package/web/app/immutable/chunks/{BNp3_sz0.js → CwWm64yZ.js} +1 -1
- package/web/app/immutable/chunks/{jRFO7UbE.js → CyWgrZMk.js} +4 -4
- package/web/app/immutable/chunks/{Dz2wxoQy.js → CylWx-GB.js} +1 -1
- package/web/app/immutable/chunks/{Boh_rcCH.js → CzS5ny-g.js} +1 -1
- package/web/app/immutable/chunks/{Bs9TCQJX.js → CzW29tkb.js} +1 -1
- package/web/app/immutable/chunks/{Cc2FSrQK.js → D-NrCL67.js} +1 -1
- package/web/app/immutable/chunks/{BgLPrJ77.js → D0DIS-cT.js} +1 -1
- package/web/app/immutable/chunks/{dP7u_sPF.js → D1V2Et17.js} +1 -1
- package/web/app/immutable/chunks/{CzmcyLb_.js → D1bivTve.js} +2 -2
- package/web/app/immutable/chunks/{CKkGJ_p-.js → D2dAlclh.js} +3 -3
- package/web/app/immutable/chunks/{D547g0l5.js → D5_auhOU.js} +2 -2
- package/web/app/immutable/chunks/{hHeBjODU.js → D69ZLPjW.js} +1 -1
- package/web/app/immutable/chunks/{4GHsM2YX.js → D6VfSAVQ.js} +1 -1
- package/web/app/immutable/chunks/{JKboQXkL.js → D6dNunKo.js} +1 -1
- package/web/app/immutable/chunks/{fRGswTf6.js → D9MwZkzV.js} +1 -1
- package/web/app/immutable/chunks/{KykWEhyB.js → DB9n2KBT.js} +1 -1
- package/web/app/immutable/chunks/{DH6z3AzB.js → DBdkAKrm.js} +3 -3
- package/web/app/immutable/chunks/{6GNWsakm.js → DCW2c0FY.js} +1 -1
- package/web/app/immutable/chunks/{C7Ed4dxf.js → DC_1j_gh.js} +3 -3
- package/web/app/immutable/chunks/{BZ5fAc9N.js → DELYEsRi.js} +1 -1
- package/web/app/immutable/chunks/{B_QtiZYt.js → DFBd8tOh.js} +1 -1
- package/web/app/immutable/chunks/{CXaVTV1g.js → DFr6bn5t.js} +3 -3
- package/web/app/immutable/chunks/{CPatK7EU.js → DISyGoja.js} +1 -1
- package/web/app/immutable/chunks/{3kQ-PiCp.js → DIukqb9l.js} +1 -1
- package/web/app/immutable/chunks/{CtxaFpQJ.js → DJFAYXyc.js} +1 -1
- package/web/app/immutable/chunks/{BR5vKj6f.js → DL1CE4TH.js} +1 -1
- package/web/app/immutable/chunks/{D-2bQKif.js → DONrLvvt.js} +1 -1
- package/web/app/immutable/chunks/{xqJuIupR.js → DRy2oEmj.js} +1 -1
- package/web/app/immutable/chunks/{ZYL8cEBi.js → DSacn4II.js} +1 -1
- package/web/app/immutable/chunks/{DcvxsgOZ.js → DUGztmZo.js} +1 -1
- package/web/app/immutable/chunks/{Bp0nVWtT.js → DWDPOFkL.js} +1 -1
- package/web/app/immutable/chunks/{Cnwc7RZW.js → DWEA_zul.js} +1 -1
- package/web/app/immutable/chunks/{BgDYQZ_0.js → DZIz7Wk9.js} +1 -1
- package/web/app/immutable/chunks/{fK0I75t-.js → DZRLhNnQ.js} +1 -1
- package/web/app/immutable/chunks/{BXkyhXuK.js → D_-ztW_Y.js} +1 -1
- package/web/app/immutable/chunks/{C_A_Ikb5.js → D_hG-oZK.js} +1 -1
- package/web/app/immutable/chunks/{C2jA6pM8.js → D_r5h8IL.js} +1 -1
- package/web/app/immutable/chunks/{aHO4L7kg.js → Dawt227W.js} +1 -1
- package/web/app/immutable/chunks/{Csxq8_TN.js → Db8-C0Zq.js} +1 -1
- package/web/app/immutable/chunks/{BpwdP8dq.js → DbCFTbwM.js} +1 -1
- package/web/app/immutable/chunks/{CLZkKjaI.js → DcUCHDGY.js} +1 -1
- package/web/app/immutable/chunks/{ByDB1X4D.js → DeE0yn_3.js} +1 -1
- package/web/app/immutable/chunks/{C9r0mVfa.js → Dekzflbl.js} +1 -1
- package/web/app/immutable/chunks/{DqgCp5ae.js → Df-HaYIr.js} +1 -1
- package/web/app/immutable/chunks/{s3nd6_cp.js → DgMr61cU.js} +1 -1
- package/web/app/immutable/chunks/{BCSEMQfF.js → DkJkWZTE.js} +1 -1
- package/web/app/immutable/chunks/{BDP3Y6aK.js → DksUdusM.js} +1 -1
- package/web/app/immutable/chunks/{CtFSFfLz.js → Dp9fBXaC.js} +1 -1
- package/web/app/immutable/chunks/{A9EcmNK3.js → DrOwYgbZ.js} +1 -1
- package/web/app/immutable/chunks/{B9I2hDG-.js → Dsn82AW0.js} +1 -1
- package/web/app/immutable/chunks/{DgFinDjM.js → DtHX0_aW.js} +2 -2
- package/web/app/immutable/chunks/{C8APJtmo.js → DtfuSWPd.js} +1 -1
- package/web/app/immutable/chunks/{Ct_Zx4ru.js → Dv0Jc2Nv.js} +1 -1
- package/web/app/immutable/chunks/{DumeSIrz.js → DvATy2o1.js} +1 -1
- package/web/app/immutable/chunks/{M18r7swD.js → DvrEye74.js} +1 -1
- package/web/app/immutable/chunks/{93RUSyHg.js → DwXKCf3Q.js} +1 -1
- package/web/app/immutable/chunks/{Cdhrdfve.js → DxyI4IUi.js} +1 -1
- package/web/app/immutable/chunks/{BLlLxRVW.js → Ev5lig9W.js} +1 -1
- package/web/app/immutable/chunks/{CxXkuVq5.js → EzpfJOSe.js} +1 -1
- package/web/app/immutable/chunks/{BsKhFZ0Q.js → FtGWFokI.js} +1 -1
- package/web/app/immutable/chunks/{QpGjdleN.js → Hd1u2Z-S.js} +1 -1
- package/web/app/immutable/chunks/{CB0sfbT7.js → Iq8JI4_0.js} +1 -1
- package/web/app/immutable/chunks/{C1ZHQc4S.js → MifrdpDQ.js} +1 -1
- package/web/app/immutable/chunks/{fXS7JPx0.js → NQru5r2h.js} +1 -1
- package/web/app/immutable/chunks/{WHfdsTrE.js → NqK_XT0y.js} +1 -1
- package/web/app/immutable/chunks/{CJHs_ufb.js → R1s5ARST.js} +1 -1
- package/web/app/immutable/chunks/{DK2Pie4F.js → R2N5eDxY.js} +1 -1
- package/web/app/immutable/chunks/{RifCGV3x.js → TE7UDCh6.js} +1 -1
- package/web/app/immutable/chunks/{DmhHEMPi.js → THdp5Vpk.js} +1 -1
- package/web/app/immutable/chunks/UGr2VEtG.js +1 -0
- package/web/app/immutable/chunks/{BUNNt_Jr.js → UN8KT7fR.js} +1 -1
- package/web/app/immutable/chunks/{B9XvejAu.js → UQXXh4U7.js} +1 -1
- package/web/app/immutable/chunks/{5NOp7PNZ.js → VJkCr9xp.js} +1 -1
- package/web/app/immutable/chunks/VdR0DXlW.js +410 -0
- package/web/app/immutable/chunks/{Z73Hn0_g.js → WlqVlpOk.js} +1 -1
- package/web/app/immutable/chunks/{0NGflniG.js → YV53nLSc.js} +1 -1
- package/web/app/immutable/chunks/{TrRXD94r.js → YcqSYZ1W.js} +1 -1
- package/web/app/immutable/chunks/{DtnAdLQg.js → ZIOU9Sxd.js} +1 -1
- package/web/app/immutable/chunks/{u8OBGcNi.js → _EqQOSVK.js} +1 -1
- package/web/app/immutable/chunks/{eln8hjjQ.js → bb5Wjkri.js} +1 -1
- package/web/app/immutable/chunks/{DAjaV_xN.js → cFozej4U.js} +3 -3
- package/web/app/immutable/chunks/{D_MzuSit.js → d1EmVp98.js} +1 -1
- package/web/app/immutable/chunks/{DKyvRWc2.js → eCVtubQ8.js} +1 -1
- package/web/app/immutable/chunks/{DllP5msd.js → f686-QUd.js} +1 -1
- package/web/app/immutable/chunks/{DpFiDNG-.js → fr0BmHL-.js} +1 -1
- package/web/app/immutable/chunks/{BUtBz-tz.js → gHT8Z5q-.js} +1 -1
- package/web/app/immutable/chunks/{A2MGRlHV.js → gySpGbnA.js} +2 -2
- package/web/app/immutable/chunks/i8PKWJT0.js +1 -0
- package/web/app/immutable/chunks/{DdH7Q5ij.js → ir8Qz45r.js} +1 -1
- package/web/app/immutable/chunks/{OcJyMtNk.js → jG-4Z8qH.js} +1 -1
- package/web/app/immutable/chunks/{CoNmDxYv.js → qHChsLZZ.js} +1 -1
- package/web/app/immutable/chunks/{B1sp_kEH.js → qi41b1Ac.js} +1 -1
- package/web/app/immutable/chunks/{sJt4gu2x.js → qjcf4Gb9.js} +1 -1
- package/web/app/immutable/chunks/{dSvJdwG_.js → qvt-0QTi.js} +3 -3
- package/web/app/immutable/chunks/{Cu91VTQn.js → rB5UfCey.js} +1 -1
- package/web/app/immutable/chunks/{DVy6H5Ng.js → sS3MW5B6.js} +1 -1
- package/web/app/immutable/chunks/{BbQfjn7f.js → t7yAUuZn.js} +2 -2
- package/web/app/immutable/chunks/{BEjEPSxp.js → tDUnXf7O.js} +1 -1
- package/web/app/immutable/chunks/{eLOMf9Vt.js → uCQEgTob.js} +1 -1
- package/web/app/immutable/chunks/{CZ_Dk1nz.js → vLtMR-kj.js} +1 -1
- package/web/app/immutable/chunks/{iBqqkWL_.js → wEnqV1Ol.js} +1 -1
- package/web/app/immutable/chunks/{Danvn_nL.js → wgljT0D3.js} +1 -1
- package/web/app/immutable/chunks/{DvYo8gAP.js → zye35u-t.js} +1 -1
- package/web/app/immutable/entry/{app.OFNFrEIR.js → app.jT7Rd2u4.js} +2 -2
- package/web/app/immutable/entry/start.CSuXA93h.js +1 -0
- package/web/app/immutable/nodes/{0.BPB4y4Pk.js → 0.9lwWQtfB.js} +1 -1
- package/web/app/immutable/nodes/{1.CBbBqNOx.js → 1.Ck4yEk2l.js} +1 -1
- package/web/app/immutable/nodes/{10.B-rk3kEM.js → 10.C4FEQjC7.js} +16 -16
- package/web/app/immutable/nodes/{11.P0HocOtE.js → 11.C-vXNNmX.js} +1 -1
- package/web/app/immutable/nodes/{13.DYH2a5Wx.js → 13.DhKVmEQi.js} +1 -1
- package/web/app/immutable/nodes/{14.B6MrEg8x.js → 14.INZu_e5k.js} +1 -1
- package/web/app/immutable/nodes/{15.DhLBijej.js → 15.DdKSdQ-h.js} +1 -1
- package/web/app/immutable/nodes/{16.CKbY5VRM.js → 16.Ad-t6nft.js} +1 -1
- package/web/app/immutable/nodes/{17.DPSU7Eqq.js → 17.pLS5JsPi.js} +1 -1
- package/web/app/immutable/nodes/{18.BlD6ustd.js → 18.DIVxEUeB.js} +1 -1
- package/web/app/immutable/nodes/{19.bgAqepNt.js → 19.BB9LuT5j.js} +2 -2
- package/web/app/immutable/nodes/{2.DU7oYEtS.js → 2.Bp80wZmn.js} +4 -4
- package/web/app/immutable/nodes/{20.Cj4TGw20.js → 20.BGTcjiLa.js} +1 -1
- package/web/app/immutable/nodes/{3.B4hrIG7P.js → 3.DRJnaOSe.js} +1 -1
- package/web/app/immutable/nodes/{4.J3HSWI_f.js → 4.p67SnElB.js} +1 -1
- package/web/app/immutable/nodes/{5.CS5w-vHI.js → 5.DRmIJA2c.js} +1 -1
- package/web/app/immutable/nodes/{6.Bf53uJQ1.js → 6.Bjeibumi.js} +1 -1
- package/web/app/immutable/nodes/{7.q-WiNda-.js → 7.CjIaxqZ1.js} +1 -1
- package/web/app/immutable/nodes/{8.eHanxjw-.js → 8.DAlxovqG.js} +1 -1
- package/web/app/immutable/nodes/{9.BMShc48l.js → 9.BKQZzsCi.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/index.html +15 -15
- package/web/app/immutable/chunks/BBMzDN3i.js +0 -1
- package/web/app/immutable/chunks/BxTyo7yU.js +0 -1
- package/web/app/immutable/chunks/ClHV2gp3.js +0 -1
- package/web/app/immutable/chunks/CqJQ3ikU.js +0 -1
- package/web/app/immutable/chunks/DW3gkA_F.js +0 -1
- package/web/app/immutable/chunks/fd1DS8nx.js +0 -410
- package/web/app/immutable/entry/start.CHpPu02l.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./
|
|
1
|
+
import{aZ as pi,U as mi,Y as $t,b0 as yi,V as bi,a_ as Ai,b as n,ay as Ut,aX as wi,B as Ci,r as Si,W as Tt,aV as Ri,q as qt,O as _i,a6 as ki,A as Ti,av as Ft}from"./CUNx-_2d.js";import{b as Xt,l as Yt}from"./C_E26DWe.js";var St=(function(){var e=n(function(O,r,g,u){for(g=g||{},u=O.length;u--;g[O[u]]=r);return g},"o"),t=[1,10,12,14,16,18,19,21,23],i=[2,6],s=[1,3],a=[1,5],h=[1,6],c=[1,7],m=[1,5,10,12,14,16,18,19,21,23,36,37,38],f=[1,25],d=[1,26],w=[1,28],k=[1,29],P=[1,30],W=[1,31],F=[1,32],v=[1,33],z=[1,34],b=[1,35],T=[1,36],l=[1,37],I=[1,43],V=[1,42],X=[1,47],Y=[1,50],R=[1,10,12,14,16,18,19,21,23,36,37,38],H=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38],A=[1,10,12,14,16,18,19,21,23,24,26,28,29,36,37,38,42,43,44,45,46,47,48,49,50,51],C=[1,65],M=[26,28],_={trace:n(function(){},"trace"),yy:{},symbols_:{error:2,start:3,eol:4,XYCHART:5,chartConfig:6,document:7,CHART_ORIENTATION:8,statement:9,title:10,text:11,X_AXIS:12,parseXAxis:13,Y_AXIS:14,parseYAxis:15,LINE:16,plotData:17,BAR:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,SQUARE_BRACES_START:24,dataPoints:25,SQUARE_BRACES_END:26,dataPoint:27,COMMA:28,NUMBER_WITH_DECIMAL:29,STR:30,xAxisData:31,bandData:32,ARROW_DELIMITER:33,commaSeparatedTexts:34,yAxisData:35,NEWLINE:36,SEMI:37,EOF:38,alphaNum:39,MD_STR:40,alphaNumToken:41,AMP:42,NUM:43,ALPHA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,MINUS:50,UNDERSCORE:51,$accept:0,$end:1},terminals_:{2:"error",5:"XYCHART",8:"CHART_ORIENTATION",10:"title",12:"X_AXIS",14:"Y_AXIS",16:"LINE",18:"BAR",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"SQUARE_BRACES_START",26:"SQUARE_BRACES_END",28:"COMMA",29:"NUMBER_WITH_DECIMAL",30:"STR",33:"ARROW_DELIMITER",36:"NEWLINE",37:"SEMI",38:"EOF",40:"MD_STR",42:"AMP",43:"NUM",44:"ALPHA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"MINUS",51:"UNDERSCORE"},productions_:[0,[3,2],[3,3],[3,2],[3,1],[6,1],[7,0],[7,2],[9,2],[9,2],[9,2],[9,2],[9,2],[9,3],[9,2],[9,3],[9,2],[9,2],[9,1],[17,3],[25,3],[25,1],[27,2],[27,1],[13,1],[13,2],[13,1],[31,1],[31,3],[32,3],[34,3],[34,1],[15,1],[15,2],[15,1],[35,3],[4,1],[4,1],[4,1],[11,1],[11,1],[11,1],[39,1],[39,2],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1],[41,1]],performAction:n(function(r,g,u,x,S,o,lt){var p=o.length-1;switch(S){case 5:x.setOrientation(o[p]);break;case 9:x.setDiagramTitle(o[p].text.trim());break;case 12:x.setLineData({text:"",type:"text"},o[p]);break;case 13:x.setLineData(o[p-1],o[p]);break;case 14:x.setBarData({text:"",type:"text"},o[p]);break;case 15:x.setBarData(o[p-1],o[p]);break;case 16:this.$=o[p].trim(),x.setAccTitle(this.$);break;case 17:case 18:this.$=o[p].trim(),x.setAccDescription(this.$);break;case 19:this.$=o[p-1];break;case 20:case 30:this.$=[o[p-2],...o[p]];break;case 21:case 31:this.$=[o[p]];break;case 22:this.$={value:Number(o[p-1]),label:o[p]};break;case 23:this.$={value:Number(o[p]),label:""};break;case 24:x.setXAxisTitle(o[p]);break;case 25:x.setXAxisTitle(o[p-1]);break;case 26:x.setXAxisTitle({type:"text",text:""});break;case 27:x.setXAxisBand(o[p]);break;case 28:x.setXAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 29:this.$=o[p-1];break;case 32:x.setYAxisTitle(o[p]);break;case 33:x.setYAxisTitle(o[p-1]);break;case 34:x.setYAxisTitle({type:"text",text:""});break;case 35:x.setYAxisRangeData(Number(o[p-2]),Number(o[p]));break;case 39:this.$={text:o[p],type:"text"};break;case 40:this.$={text:o[p],type:"text"};break;case 41:this.$={text:o[p],type:"markdown"};break;case 42:this.$=o[p];break;case 43:this.$=o[p-1]+""+o[p];break}},"anonymous"),table:[e(t,i,{3:1,4:2,7:4,5:s,36:a,37:h,38:c}),{1:[3]},e(t,i,{4:2,7:4,3:8,5:s,36:a,37:h,38:c}),e(t,i,{4:2,7:4,6:9,3:10,5:s,8:[1,11],36:a,37:h,38:c}),{1:[2,4],9:12,10:[1,13],12:[1,14],14:[1,15],16:[1,16],18:[1,17],19:[1,18],21:[1,19],23:[1,20]},e(m,[2,36]),e(m,[2,37]),e(m,[2,38]),{1:[2,1]},e(t,i,{4:2,7:4,3:21,5:s,36:a,37:h,38:c}),{1:[2,3]},e(m,[2,5]),e(t,[2,7],{4:22,36:a,37:h,38:c}),{11:23,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:39,13:38,24:I,29:V,30:f,31:40,32:41,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:45,15:44,29:X,30:f,35:46,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:49,17:48,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{11:52,17:51,24:Y,30:f,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},{20:[1,53]},{22:[1,54]},e(R,[2,18]),{1:[2,2]},e(R,[2,8]),e(R,[2,9]),e(H,[2,39],{41:55,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l}),e(H,[2,40]),e(H,[2,41]),e(A,[2,42]),e(A,[2,44]),e(A,[2,45]),e(A,[2,46]),e(A,[2,47]),e(A,[2,48]),e(A,[2,49]),e(A,[2,50]),e(A,[2,51]),e(A,[2,52]),e(A,[2,53]),e(R,[2,10]),e(R,[2,24],{32:41,31:56,24:I,29:V}),e(R,[2,26]),e(R,[2,27]),{33:[1,57]},{11:59,30:f,34:58,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,11]),e(R,[2,32],{35:60,29:X}),e(R,[2,34]),{33:[1,61]},e(R,[2,12]),{17:62,24:Y},{25:63,27:64,29:C},e(R,[2,14]),{17:66,24:Y},e(R,[2,16]),e(R,[2,17]),e(A,[2,43]),e(R,[2,25]),{29:[1,67]},{26:[1,68]},{26:[2,31],28:[1,69]},e(R,[2,33]),{29:[1,70]},e(R,[2,13]),{26:[1,71]},{26:[2,21],28:[1,72]},e(M,[2,23],{30:[1,73]}),e(R,[2,15]),e(R,[2,28]),e(R,[2,29]),{11:59,30:f,34:74,39:24,40:d,41:27,42:w,43:k,44:P,45:W,46:F,47:v,48:z,49:b,50:T,51:l},e(R,[2,35]),e(R,[2,19]),{25:75,27:64,29:C},e(M,[2,22]),{26:[2,30]},{26:[2,20]}],defaultActions:{8:[2,1],10:[2,3],21:[2,2],74:[2,30],75:[2,20]},parseError:n(function(r,g){if(g.recoverable)this.trace(r);else{var u=new Error(r);throw u.hash=g,u}},"parseError"),parse:n(function(r){var g=this,u=[0],x=[],S=[null],o=[],lt=this.table,p="",dt=0,zt=0,ui=2,Vt=1,di=o.slice.call(arguments,1),D=Object.create(this.lexer),$={yy:{}};for(var bt in this.yy)Object.prototype.hasOwnProperty.call(this.yy,bt)&&($.yy[bt]=this.yy[bt]);D.setInput(r,$.yy),$.yy.lexer=D,$.yy.parser=this,typeof D.yylloc>"u"&&(D.yylloc={});var At=D.yylloc;o.push(At);var xi=D.options&&D.options.ranges;typeof $.yy.parseError=="function"?this.parseError=$.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;function fi(E){u.length=u.length-2*E,S.length=S.length-E,o.length=o.length-E}n(fi,"popStack");function Ot(){var E;return E=x.pop()||D.lex()||Vt,typeof E!="number"&&(E instanceof Array&&(x=E,E=x.pop()),E=g.symbols_[E]||E),E}n(Ot,"lex");for(var L,U,B,wt,j={},xt,N,Wt,ft;;){if(U=u[u.length-1],this.defaultActions[U]?B=this.defaultActions[U]:((L===null||typeof L>"u")&&(L=Ot()),B=lt[U]&<[U][L]),typeof B>"u"||!B.length||!B[0]){var Ct="";ft=[];for(xt in lt[U])this.terminals_[xt]&&xt>ui&&ft.push("'"+this.terminals_[xt]+"'");D.showPosition?Ct="Parse error on line "+(dt+1)+`:
|
|
2
2
|
`+D.showPosition()+`
|
|
3
3
|
Expecting `+ft.join(", ")+", got '"+(this.terminals_[L]||L)+"'":Ct="Parse error on line "+(dt+1)+": Unexpected "+(L==Vt?"end of input":"'"+(this.terminals_[L]||L)+"'"),this.parseError(Ct,{text:D.match,token:this.terminals_[L]||L,line:D.yylineno,loc:At,expected:ft})}if(B[0]instanceof Array&&B.length>1)throw new Error("Parse Error: multiple actions possible at state: "+U+", token: "+L);switch(B[0]){case 1:u.push(L),S.push(D.yytext),o.push(D.yylloc),u.push(B[1]),L=null,zt=D.yyleng,p=D.yytext,dt=D.yylineno,At=D.yylloc;break;case 2:if(N=this.productions_[B[1]][1],j.$=S[S.length-N],j._$={first_line:o[o.length-(N||1)].first_line,last_line:o[o.length-1].last_line,first_column:o[o.length-(N||1)].first_column,last_column:o[o.length-1].last_column},xi&&(j._$.range=[o[o.length-(N||1)].range[0],o[o.length-1].range[1]]),wt=this.performAction.apply(j,[p,zt,dt,$.yy,B[1],S,o].concat(di)),typeof wt<"u")return wt;N&&(u=u.slice(0,-1*N*2),S=S.slice(0,-1*N),o=o.slice(0,-1*N)),u.push(this.productions_[B[1]][0]),S.push(j.$),o.push(j._$),Wt=lt[u[u.length-2]][u[u.length-1]],u.push(Wt);break;case 3:return!0}}return!0},"parse")},rt=(function(){var O={EOF:1,parseError:n(function(g,u){if(this.yy.parser)this.yy.parser.parseError(g,u);else throw new Error(g)},"parseError"),setInput:n(function(r,g){return this.yy=g||this.yy||{},this._input=r,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:n(function(){var r=this._input[0];this.yytext+=r,this.yyleng++,this.offset++,this.match+=r,this.matched+=r;var g=r.match(/(?:\r\n?|\n).*/g);return g?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),r},"input"),unput:n(function(r){var g=r.length,u=r.split(/(?:\r\n?|\n)/g);this._input=r+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-g),this.offset-=g;var x=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),u.length-1&&(this.yylineno-=u.length-1);var S=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:u?(u.length===x.length?this.yylloc.first_column:0)+x[x.length-u.length].length-u[0].length:this.yylloc.first_column-g},this.options.ranges&&(this.yylloc.range=[S[0],S[0]+this.yyleng-g]),this.yyleng=this.yytext.length,this},"unput"),more:n(function(){return this._more=!0,this},"more"),reject:n(function(){if(this.options.backtrack_lexer)this._backtrack=!0;else return this.parseError("Lexical error on line "+(this.yylineno+1)+`. You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).
|
|
4
4
|
`+this.showPosition(),{text:"",token:null,line:this.yylineno});return this},"reject"),less:n(function(r){this.unput(this.match.slice(r))},"less"),pastInput:n(function(){var r=this.matched.substr(0,this.matched.length-this.match.length);return(r.length>20?"...":"")+r.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:n(function(){var r=this.match;return r.length<20&&(r+=this._input.substr(0,20-r.length)),(r.substr(0,20)+(r.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:n(function(){var r=this.pastInput(),g=new Array(r.length+1).join("-");return r+this.upcomingInput()+`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as it,bo as f,bw as lt,b as dt,bm as t,br as _t,bs as Se,bq as Lt}from"./51_h0jm2.js";import{bs as ct,ay as ye,be as E,b$ as I,b_ as o,bO as s,W as a,bS as i,bl as g,bn as pt,aA as b,a7 as wt,aD as e,c9 as $,aB as m,a5 as C,bA as P,bf as ft,bo as Ut,bV as et,br as zt,ca as bt,bH as he,bk as Gt}from"./CJxGDkBm.js";import{g as Dt,i as Ot,I as gt}from"./Bjy4ygfJ.js";import{c as Tt}from"./DGmOjLYi.js";import{s as ot,f as Ft,c as Rt}from"./CpPNoOk-.js";import{f as R}from"./Cdw_CIdg.js";import"./CF1Tu_8c.js";import"./CN-6Tr26.js";import{b as Ht}from"./BLzqYDED.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import{b as Nt}from"./C5rcw_c7.js";import{i as K}from"./PXCFrn2V.js";import{b as Bt}from"./5vm8eILD.js";import{F as Mt,ay as qt}from"./DSQT151l.js";import"./DxvSggY5.js";import{F as mt,G as Wt}from"./u8OBGcNi.js";import"./DmhHEMPi.js";/* empty css */import{C as Jt}from"./SX1khnGy.js";import{L as xt}from"./KykWEhyB.js";import{I as tt}from"./BgDYQZ_0.js";import"./BgLPrJ77.js";import"./DCv0ZqUq.js";import{h as Yt}from"./D547g0l5.js";import{J4 as ke,ft as ht,F as jt,ej as kt,qT as Vt,uk as Xt,IX as Qt,or as Zt,hH as er}from"./Zldsekdv.js";import{aC as yt,aD as $t,aE as tr,ax as rr,ay as Ct,az as ar,aA as sr,aI as nr}from"./B6jI9-V_.js";var or=m('<!> <p class="type-body"> </p>',1);function ir(ie,c){if(new.target)return it({component:ir,...ie});ct(c,!0);let w=f(c,"open",15,!1),U=f(c,"static",7,!1),V=f(c,"title",7),h=f(c,"message",7),T=f(c,"buttons",7),x=f(c,"cancelIndex",7,0),le=f(c,"onSelect",7);function X(d){w(!1),le()?.(d)}var ge={get open(){return w()},set open(d=!1){w(d),b()},get static(){return U()},set static(d=!1){U(d),b()},get title(){return V()},set title(d){V(d),b()},get message(){return h()},set message(d){h(d),b()},get buttons(){return T()},set buttons(d){T(d),b()},get cancelIndex(){return x()},set cancelIndex(d=0){x(d),b()},get onSelect(){return le()},set onSelect(d){le(d),b()},$set:lt,$on:(d,Q)=>dt(c,d,Q)};return Nt(ie,{get static(){return U()},role:"alertdialog",get title(){return V()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>X(T().length-1),onCancel:()=>X(x()),get open(){return w()},set open(Q){w(Q)},footer:Q=>{var A=wt(),N=ye(A);Dt(N,17,T,Ot,(de,ce,ae)=>{{let me=$(()=>ae===x()?"ghost":ae===T().length-1?"primary":"outline");R(de,{get variant(){return e(me)},onclick:()=>X(ae),children:(Ke,ze)=>{E();var Ae=I();o(()=>s(Ae,e(ce))),a(Ke,Ae)},$$slots:{default:!0}})}}),a(Q,A)},children:(Q,A)=>{var N=or(),de=ye(N);Tt(de,()=>Ht,(me,Ke)=>{Ke(me,{class:"sr-only",children:(ze,Ae)=>{E();var Ge=I();o(()=>s(Ge,h())),a(ze,Ge)},$$slots:{default:!0}})});var ce=i(de,2),ae=g(ce,!0);o(()=>s(ae,h())),a(Q,N)},$$slots:{footer:!0,default:!0}}),pt(ge)}var lr=m('<p class="type-body text-muted-foreground" data-testid="provider-profile-token-eligibility"> </p>'),Pt=m("<li> </li> <li> </li>",1),dr=m('<li> <span class="mt-1 flex items-center gap-2" data-testid="provider-profile-setup-token"><code class="rounded border border-border bg-muted px-1.5 py-0.5 font-mono type-caption text-foreground"></code> <!></span></li> <li> </li>',1),St=m("<li> </li>"),cr=m('<section class="space-y-2" data-testid="provider-profile-secret-steps"><h3 class="type-body font-medium! text-foreground"> </h3> <ol class="type-body list-decimal space-y-1 pl-5 text-muted-foreground"><!> <!></ol> <!></section>'),Kt=m('<div class="flex items-center gap-2"><!> <!></div>'),pr=m('<div class="space-y-2" data-testid="provider-profile-secret-saved"><p class="type-body text-foreground"> </p> <div class="flex items-center gap-3"><span class="type-body font-mono text-muted-foreground"> </span> <!></div></div>'),ur=m('<span class="type-body text-muted-foreground"> </span> <!>',1),vr=m('<span class="type-body font-mono text-muted-foreground"> </span> <!> <!>',1),_r=m('<div class="flex flex-wrap items-center gap-3" data-testid="provider-profile-base-url-saved"><span class="type-body text-foreground"> </span> <!></div>'),fr=m('<details class="group rounded-md border border-border" data-testid="provider-profile-custom-endpoint"><summary class="flex cursor-pointer list-none items-center gap-2 px-3 py-2 type-body text-foreground [&::-webkit-details-marker]:hidden"><!> </summary> <div class="space-y-2 border-t border-border px-3 py-3"><p class="type-caption text-muted-foreground"> </p> <!></div></details>'),br=m('<div class="space-y-5" data-testid="provider-profile-secret"><!> <!> <!> <!></div>');function gr(ie,c){if(new.target)return it({component:gr,...ie});ct(c,!0);let w=f(c,"provider",7),U=f(c,"kind",7),V=f(c,"mode",7),h=f(c,"secret",15,""),T=f(c,"secretSaved",7,!1),x=f(c,"replacing",15,!1),le=f(c,"secretError",7),X=f(c,"baseUrl",15,""),ge=f(c,"baseUrlSaved",7,!1),d=f(c,"baseUrlAction",15,"keep"),Q=f(c,"customEndpointOpen",15,!1),A=f(c,"disabled",7,!1),N=f(c,"secretDisabled",23,A),de=f(c,"keyCheck",7,!0),ce=f(c,"pasteStep",7,!0),ae=f(c,"customEndpoint",7,!0);const me="https://console.anthropic.com/settings/keys",Ke="https://developers.openai.com/codex/enterprise/access-tokens",ze="https://platform.openai.com/api-keys",Ae="claude setup-token",Ge="https://",Re=$(()=>w()==="claude"&&U()==="apiKey"),Me=$(()=>w()==="codex"&&U()==="apiKey"),rt=$(()=>de()?U()==="apiKey"?t.settings_providerProfileKinds_apiKeyClaudeStep3_label():w()==="claude"?t.settings_providerProfileKinds_tokenClaudeStep3_label():t.settings_providerProfileKinds_tokenCodexStep2_label():t.settings_providerProfileKinds_pasteNoCheck_label()),at=$(()=>V()==="add"||!T()||x()),Ee=$(()=>U()==="apiKey"?t.settings_providerProfileKinds_apiKey_label():t.settings_providerProfileKinds_token_label()),De=$(()=>{if(e(Re))return{href:me,label:t.settings_providerProfileKinds_anthropicConsole_link()};if(e(Me))return{href:ze,label:t.settings_providerProfileKinds_openAiApiKeys_link()};if(w()==="codex")return{href:Ke,label:t.settings_providerProfileKinds_openAiAccessTokens_link()}});function xe(){x(!1),h("")}var Oe={get provider(){return w()},set provider(r){w(r),b()},get kind(){return U()},set kind(r){U(r),b()},get mode(){return V()},set mode(r){V(r),b()},get secret(){return h()},set secret(r=""){h(r),b()},get secretSaved(){return T()},set secretSaved(r=!1){T(r),b()},get replacing(){return x()},set replacing(r=!1){x(r),b()},get secretError(){return le()},set secretError(r){le(r),b()},get baseUrl(){return X()},set baseUrl(r=""){X(r),b()},get baseUrlSaved(){return ge()},set baseUrlSaved(r=!1){ge(r),b()},get baseUrlAction(){return d()},set baseUrlAction(r="keep"){d(r),b()},get customEndpointOpen(){return Q()},set customEndpointOpen(r=!1){Q(r),b()},get disabled(){return A()},set disabled(r=!1){A(r),b()},get secretDisabled(){return N()},set secretDisabled(r=A){N(r),b()},get keyCheck(){return de()},set keyCheck(r=!0){de(r),b()},get pasteStep(){return ce()},set pasteStep(r=!0){ce(r),b()},get customEndpoint(){return ae()},set customEndpoint(r=!0){ae(r),b()},$set:lt,$on:(r,L)=>dt(c,r,L)},k=br(),He=C(k);{var Ne=r=>{var L=lr(),W=g(L,!0);o(se=>s(W,se),[()=>t.settings_providerProfileKinds_tokenCodexEligibility_description()]),a(r,L)};K(He,r=>{w()==="codex"&&U()==="token"&&r(Ne)})}var qe=i(He,2);{var We=r=>{var L=cr(),W=C(L),se=g(W,!0),J=i(W,2),B=C(J);{var ve=u=>{var S=Pt(),y=ye(S),F=g(y,!0),z=i(y,2),q=g(z,!0);o((G,ee)=>{s(F,G),s(q,ee)},[()=>t.settings_providerProfileKinds_apiKeyClaudeStep1_label(),()=>t.settings_providerProfileKinds_apiKeyClaudeStep2_label()]),a(u,S)},ne=u=>{var S=Pt(),y=ye(S),F=g(y,!0),z=i(y,2),q=g(z,!0);o((G,ee)=>{s(F,G),s(q,ee)},[()=>t.settings_providerProfileKinds_apiKeyCodexStep1_label(),()=>t.settings_providerProfileKinds_apiKeyCodexStep2_label()]),a(u,S)},M=u=>{var S=dr(),y=ye(S),F=C(y),z=i(F),q=C(z);q.textContent="claude setup-token";var G=i(q,2);Jt(G,{text:Ae,size:"sm"}),P(z),P(y);var ee=i(y,2),p=g(ee,!0);o((n,l)=>{s(F,`${n??""} `),s(p,l)},[()=>t.settings_providerProfileKinds_tokenClaudeStep1_label(),()=>t.settings_providerProfileKinds_tokenClaudeStep2_label()]),a(u,S)},$e=u=>{var S=St(),y=g(S,!0);o(F=>s(y,F),[()=>t.settings_providerProfileKinds_tokenCodexStep1_label()]),a(u,S)};K(B,u=>{e(Re)?u(ve):e(Me)?u(ne,1):w()==="claude"?u(M,2):u($e,-1)})}var _e=i(B,2);{var H=u=>{var S=St(),y=g(S,!0);o(()=>s(y,e(rt))),a(u,S)};K(_e,u=>{ce()&&u(H)})}P(J);var Z=i(J,2);{var Ce=u=>{R(u,{variant:"link",size:"sm",get href(){return e(De).href},target:"_blank",rel:"noopener noreferrer",class:"h-auto px-0",children:(S,y)=>{E();var F=I();o(()=>s(F,e(De).label)),a(S,F)},$$slots:{default:!0}})};K(Z,u=>{e(De)&&u(Ce)})}P(L),o(u=>s(se,u),[()=>U()==="apiKey"?t.settings_providerProfileKinds_apiKeyClaudeSteps_label():t.settings_providerProfileKinds_tokenSteps_label()]),a(r,L)};K(qe,r=>{(V()==="add"||x())&&r(We)})}var Je=i(qe,2);{var Ye=r=>{mt(r,{get label(){return e(Ee)},get error(){return le()},control:(W,se=ft)=>{var J=Kt(),B=C(J);tt(B,_t(se,{type:"password",autocomplete:"off",spellcheck:!1,class:"font-mono",get disabled(){return N()},"data-testid":"provider-profile-secret-input",get value(){return h()},set value(M){h(M)}}));var ve=i(B,2);{var ne=M=>{R(M,{variant:"ghost-light",size:"sm",get disabled(){return N()},onclick:xe,children:($e,_e)=>{E();var H=I();o(Z=>s(H,Z),[()=>t.settings_providerProfileKinds_keepSaved_label()]),a($e,H)},$$slots:{default:!0}})};K(ve,M=>{V()==="edit"&&T()&&M(ne)})}P(J),a(W,J)},$$slots:{control:!0}})},je=r=>{var L=pr(),W=C(L),se=g(W,!0),J=i(W,2),B=C(J),ve=g(B,!0),ne=i(B,2);R(ne,{variant:"outline",size:"sm",get disabled(){return A()},onclick:()=>x(!0),children:(M,$e)=>{E();var _e=I();o(H=>s(_e,H),[()=>t.settings_providerProfileKinds_replace_label()]),a(M,_e)},$$slots:{default:!0}}),P(J),P(L),o(M=>{s(se,e(Ee)),s(ve,M)},[()=>t.settings_providerProfileKinds_saved_label()]),a(r,L)};K(Je,r=>{e(at)?r(Ye):r(je,-1)})}var Ve=i(Je,2);{var st=r=>{var L=fr(),W=C(L),se=C(W);Mt(se,{get icon(){return qt},class:"size-3 transition-transform group-open:rotate-90"});var J=i(se);P(W);var B=i(W,2),ve=C(B),ne=g(ve,!0),M=i(ve,2);{var $e=H=>{var Z=_r(),Ce=C(Z),u=g(Ce,!0),S=i(Ce,2);{var y=z=>{var q=ur(),G=ye(q),ee=g(G,!0),p=i(G,2);R(p,{variant:"ghost-light",size:"sm",get disabled(){return A()},onclick:()=>d("keep"),children:(n,l)=>{E();var v=I();o(_=>s(v,_),[()=>t.settings_providerProfileKinds_keepSaved_label()]),a(n,v)},$$slots:{default:!0}}),o(n=>s(ee,n),[()=>t.settings_providerProfileKinds_baseUrlRemoved_label()]),a(z,q)},F=z=>{var q=vr(),G=ye(q),ee=g(G,!0),p=i(G,2);R(p,{variant:"outline",size:"sm",get disabled(){return A()},onclick:()=>d("replace"),children:(l,v)=>{E();var _=I();o(Y=>s(_,Y),[()=>t.settings_providerProfileKinds_replace_label()]),a(l,_)},$$slots:{default:!0}});var n=i(p,2);R(n,{variant:"ghost-light",size:"sm",get disabled(){return A()},onclick:()=>d("remove"),children:(l,v)=>{E();var _=I();o(Y=>s(_,Y),[()=>t.settings_providerProfiles_remove_label()]),a(l,_)},$$slots:{default:!0}}),o(l=>s(ee,l),[()=>t.settings_providerProfileKinds_saved_label()]),a(z,q)};K(S,z=>{d()==="remove"?z(y):z(F,-1)})}P(Z),o(z=>s(u,z),[()=>t.settings_providerProfileKinds_baseUrl_label()]),a(H,Z)},_e=H=>{{const Z=(u,S=ft)=>{var y=Kt(),F=C(y);tt(F,_t(S,{type:"url",placeholder:Ge,autocomplete:"off",spellcheck:!1,class:"font-mono",get disabled(){return A()},"data-testid":"provider-profile-base-url-input",get value(){return X()},set value(G){X(G)}}));var z=i(F,2);{var q=G=>{R(G,{variant:"ghost-light",size:"sm",get disabled(){return A()},onclick:()=>{d("keep"),X("")},children:(ee,p)=>{E();var n=I();o(l=>s(n,l),[()=>t.settings_providerProfileKinds_keepSaved_label()]),a(ee,n)},$$slots:{default:!0}})};K(z,G=>{V()==="edit"&&ge()&&G(q)})}P(y),a(u,y)};let Ce=$(()=>t.settings_providerProfileKinds_baseUrl_label());mt(H,{get label(){return e(Ce)},control:Z,$$slots:{control:!0}})}};K(M,H=>{V()==="edit"&&ge()&&d()!=="replace"?H($e):H(_e,-1)})}P(B),P(L),o((H,Z)=>{s(J,` ${H??""}`),s(ne,Z)},[()=>t.settings_providerProfileKinds_customEndpoint_label(),()=>t.settings_providerProfileKinds_customEndpoint_description()]),Bt("open","toggle",L,Q,Q),a(r,L)};K(Ve,r=>{e(Re)&&ae()&&r(st)})}return P(k),o(()=>ot(k,"data-kind",U())),a(ie,k),pt(Oe)}function sa(ie,c){return c==="token"?ie==="codex"?t.settings_providerProfileKinds_tokenNotJwt_error():t.settings_providerProfileKinds_tokenShapeClaude_error():ie==="codex"?t.settings_providerProfileKinds_keyShapeCodex_error():t.settings_providerProfileKinds_keyShapeClaude_error()}var mr=m('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),xr=m('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),hr=m('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),kr=m('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),yr=m('<p class="text-xs text-danger" role="alert"> </p>'),$r=m('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),Cr=m('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),Pr=m('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),Sr=m('<p class="text-sm text-subtle" role="status"> </p>'),Kr=m('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),Ar=m('<p class="text-sm text-danger" role="alert"> </p>'),Er=m('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function Ir(ie,c){const w=Ut();if(new.target)return it({component:Ir,...ie});ct(c,!0);const U=()=>Se(Ke,"$storedInstance$",d),V=()=>Se(Me,"$deviceGrantSupported$",d),h=()=>Se(at,"$instanceSetupSupported$",d),T=()=>Se(ze,"$isAuthenticating$",d),x=()=>Se(Ae,"$isCancelling$",d),le=()=>Se(Re,"$deviceFlow$",d),X=()=>Se(Ge,"$cancelOutcome$",d),ge=()=>Se(rt,"$error$",d),[d,Q]=Lt();let A=f(c,"compact",7,!1),N=f(c,"onCancel",7);const de=`${w}-host`,ce=`${w}-host-help`,ae=`${w}-host-error`,me=`${w}-token`,Ke=yt(),ze=$t(),Ae=tr(),Ge=rr(),Re=Ct(),Me=ar(),rt=sr(),at=nr();let Ee=et(zt(yt.select(ke.state))),De=et(!1),xe=et(""),Oe=et(!1);const k=$(()=>Xt(e(Ee))),He=$(()=>e(Oe)||e(k)===U()&&V()===!1),Ne=$(()=>e(k)?Zt(e(k)):null),qe=$(()=>h()&&e(k)!==null&&e(xe).trim().length>0);bt(()=>{const p=U();e(De)||he(Ee,p,!0)}),bt(()=>{h()||he(xe,"")}),Gt(()=>{const p=()=>{const n=ke.state;$t.select(n)&&Ct.select(n)&&ke.dispatch(ht())};return window.addEventListener("focus",p),()=>window.removeEventListener("focus",p)});function We(){!h()||!e(k)||e(k)===U()||T()||x()||ke.dispatch(Vt(e(k)))}function Je(){he(De,!0),he(xe,"")}function Ye(){!h()||!e(k)||T()||x()||ke.dispatch(Qt(e(k)))}function je(){const p=e(xe).trim();!h()||!p||!e(k)||T()||x()||(ke.dispatch(er(e(k),p)),he(xe,""))}function Ve(){!h()||x()||(T()&&ke.dispatch(kt()),he(Oe,!0))}function st(){he(Oe,!1)}function r(){x()||ke.dispatch(kt())}function L(){e(Ne)&&Yt(e(Ne),{})}function W(p){p.key==="Enter"&&(p.preventDefault(),We(),e(He)?document.getElementById(me)?.focus():Ye())}function se(p){p.key==="Enter"&&(p.preventDefault(),je())}const J=$(()=>A()?"sm":"xl"),B=$(()=>A()?"sm":"default");var ve={get compact(){return A()},set compact(p=!1){A(p),b()},get onCancel(){return N()},set onCancel(p){N(p),b()},$set:lt,$on:(p,n)=>dt(c,p,n)},ne=Er();{const p=n=>{R(n,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return x()},onclick:r,children:(l,v)=>{E();var _=I();o(Y=>s(_,Y),[()=>x()?t.lib_gitlabConnect_cancelling_label():t.lib_gitlabConnect_cancel_label()]),a(l,_)},$$slots:{default:!0}})};var M=C(ne);{var $e=n=>{var l=mr(),v=g(l,!0);o(_=>s(v,_),[()=>t.lib_gitlabConnect_updateRequired_description()]),a(n,l)};K(M,n=>{h()||n($e)})}var _e=i(M,2);{var H=n=>{var l=xr(),v=g(l,!0);o(()=>s(v,U())),a(n,l)};K(_e,n=>{(T()||x())&&n(H)})}var Z=i(_e,2);{var Ce=n=>{var l=hr(),v=C(l);{let Le=$(()=>t.lib_gitlabConnect_openGitlab_label());Wt(v,{get userCode(){return le().userCode},get verificationUri(){return le().verificationUri},get openLabel(){return e(Le)},get compact(){return A()}})}var _=i(v,2),Y=C(_);gt(Y,{size:16,class:"shrink-0"});var oe=i(Y,2),Te=g(oe,!0),Ie=i(oe,2);{let Le=$(()=>x()||!h());R(Ie,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return e(Le)},onclick:Ve,children:(nt,ut)=>{E();var D=I();o(j=>s(D,j),[()=>t.lib_gitlabConnect_useToken_label()]),a(nt,D)},$$slots:{default:!0}})}var Be=i(Ie,2);p(Be),P(_),P(l),o(Le=>s(Te,Le),[()=>t.lib_gitlabConnect_waitingForAuthorization_label()]),a(n,l)},u=n=>{var l=kr(),v=C(l);gt(v,{size:16,class:"shrink-0"});var _=i(v,2),Y=g(_,!0),oe=i(_,2);p(oe),P(l),o(Te=>s(Y,Te),[()=>t.lib_gitlabConnect_connecting_label()]),a(n,l)},S=n=>{var l=Pr(),v=ye(l),_=C(v);xt(_,{get for(){return de},children:(D,j)=>{E();var te=I();o(pe=>s(te,pe),[()=>t.lib_gitlabConnect_host_label()]),a(D,te)},$$slots:{default:!0}});var Y=i(_,2);{let D=$(()=>!h()),j=$(()=>!e(k)||void 0),te=$(()=>e(k)?ce:`${ce} ${ae}`);tt(Y,{get id(){return de},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return e(D)},get"aria-invalid"(){return e(j)},get"aria-describedby"(){return e(te)},get placeholder(){return jt},oninput:Je,onchange:We,onkeydown:W,get value(){return e(Ee)},set value(pe){he(Ee,pe,!0)}})}var oe=i(Y,2),Te=g(oe,!0),Ie=i(oe,2);{var Be=D=>{var j=yr(),te=g(j,!0);o(pe=>{ot(j,"id",ae),s(te,pe)},[()=>t.lib_gitlabConnect_invalidInstance_error()]),a(D,j)};K(Ie,D=>{e(k)||D(Be)})}P(v);var Le=i(v,2);{var nt=D=>{var j=$r(),te=ye(j),pe=C(te);xt(pe,{get for(){return me},children:(O,be)=>{E();var Fe=I();o(re=>s(Fe,re),[()=>t.lib_gitlabConnect_token_label()]),a(O,Fe)},$$slots:{default:!0}});var Xe=i(pe,2);{let O=$(()=>!h());tt(Xe,{get id(){return me},type:"password",autocomplete:"off",get disabled(){return e(O)},placeholder:"glpat-...",onkeydown:se,get value(){return e(xe)},set value(be){he(xe,be,!0)}})}var Qe=i(Xe,2),fe=C(Qe),we=i(fe);{var Ze=O=>{R(O,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:L,children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_createToken_label({host:e(k)})]),a(be,re)},$$slots:{default:!0}})};K(we,O=>{e(Ne)&&e(k)&&O(Ze)})}P(Qe),P(te);var ue=i(te,2),Pe=C(ue);{let O=$(()=>!e(qe));R(Pe,{variant:"primary",get size(){return e(J)},type:"button",onclick:je,get disabled(){return e(O)},children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_connect_label()]),a(be,re)},$$slots:{default:!0}})}var vt=i(Pe,2);{var At=O=>{R(O,{variant:"ghost",get size(){return e(B)},type:"button",onclick:st,children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_useDevice_label()]),a(be,re)},$$slots:{default:!0}})};K(vt,O=>{e(Oe)&&!(e(k)===U()&&V()===!1)&&O(At)})}var Et=i(vt,2);{var It=O=>{R(O,{variant:"ghost",get size(){return e(B)},type:"button",get onclick(){return N()},children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_cancel_label()]),a(be,re)},$$slots:{default:!0}})};K(Et,O=>{N()&&O(It)})}P(ue),o(O=>s(fe,`${O??""} `),[()=>t.lib_gitlabConnect_token_description()]),a(D,j)},ut=D=>{var j=Cr(),te=C(j);{let fe=$(()=>!e(k)||!h());R(te,{variant:"primary",get size(){return e(J)},type:"button",onclick:Ye,get disabled(){return e(fe)},children:(we,Ze)=>{E();var ue=I();o(Pe=>s(ue,Pe),[()=>t.lib_gitlabConnect_connect_label()]),a(we,ue)},$$slots:{default:!0}})}var pe=i(te,2);{let fe=$(()=>!h());R(pe,{variant:"ghost",get size(){return e(B)},type:"button",get disabled(){return e(fe)},onclick:Ve,children:(we,Ze)=>{E();var ue=I();o(Pe=>s(ue,Pe),[()=>t.lib_gitlabConnect_useToken_label()]),a(we,ue)},$$slots:{default:!0}})}var Xe=i(pe,2);{var Qe=fe=>{R(fe,{variant:"ghost",get size(){return e(B)},type:"button",get onclick(){return N()},children:(we,Ze)=>{E();var ue=I();o(Pe=>s(ue,Pe),[()=>t.lib_gitlabConnect_cancel_label()]),a(we,ue)},$$slots:{default:!0}})};K(Xe,fe=>{N()&&fe(Qe)})}P(j),a(D,j)};K(Le,D=>{e(He)?D(nt):D(ut,-1)})}o(D=>{ot(oe,"id",ce),s(Te,D)},[()=>t.lib_gitlabConnect_host_description()]),a(n,l)};K(Z,n=>{(T()||x())&&le()?n(Ce):T()||x()?n(u,1):n(S,-1)})}var y=i(Z,2);{var F=n=>{var l=Sr(),v=g(l,!0);o(_=>s(v,_),[()=>t.lib_gitlabConnect_cancelled_label()]),a(n,l)},z=n=>{var l=Kr(),v=C(l),_=g(v,!0),Y=i(v,2);R(Y,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return x()},onclick:()=>ke.dispatch(ht()),children:(oe,Te)=>{E();var Ie=I();o(Be=>s(Ie,Be),[()=>t.lib_gitlabConnect_checkStatus_label()]),a(oe,Ie)},$$slots:{default:!0}}),P(l),o(oe=>s(_,oe),[()=>X()==="already-started"?t.lib_gitlabConnect_alreadyStarted_description():t.lib_gitlabConnect_cancelFailed_description()]),a(n,l)};K(y,n=>{X()==="cancelled"?n(F):(X()==="already-started"||X()==="failed")&&n(z,1)})}var q=i(y,2);{var G=n=>{var l=Ar(),v=g(l,!0);o(()=>s(v,ge())),a(n,l)};K(q,n=>{ge()&&n(G)})}P(ne)}o(()=>Ft(ne,1,Rt(A()?"space-y-2":"space-y-4"))),a(ie,ne);var ee=pt(ve);return Q(),ee}export{Ir as G,ir as M,gr as P,sa as s};
|
|
1
|
+
import{t as it,bo as f,bw as lt,b as dt,bm as t,br as _t,bs as Se,bq as Lt}from"./51_h0jm2.js";import{bs as ct,ay as ye,be as E,b$ as I,b_ as o,bO as s,W as a,bS as i,bl as g,bn as pt,aA as b,a7 as wt,aD as e,c9 as $,aB as m,a5 as C,bA as P,bf as ft,bo as Ut,bV as et,br as zt,ca as bt,bH as he,bk as Gt}from"./CJxGDkBm.js";import{g as Dt,i as Ot,I as gt}from"./Bjy4ygfJ.js";import{c as Tt}from"./DGmOjLYi.js";import{s as ot,f as Ft,c as Rt}from"./CpPNoOk-.js";import{f as R}from"./CdOh_Fmv.js";import"./Cgn_eC9-.js";import"./CN-6Tr26.js";import{b as Ht}from"./BpEHjU4g.js";import"./DKn1sQ32.js";import"./BGP1lrgu.js";import{b as Nt}from"./Bc7pHsTy.js";import{i as K}from"./PXCFrn2V.js";import{b as Bt}from"./5vm8eILD.js";import{F as Mt,ay as qt}from"./DSQT151l.js";import"./DxvSggY5.js";import{F as mt,G as Wt}from"./_EqQOSVK.js";import"./THdp5Vpk.js";/* empty css */import{C as Jt}from"./BAymCgEX.js";import{L as xt}from"./DB9n2KBT.js";import{I as tt}from"./DZIz7Wk9.js";import"./D0DIS-cT.js";import"./DCv0ZqUq.js";import{h as Yt}from"./D5_auhOU.js";import{J4 as ke,ft as ht,F as jt,ej as kt,qT as Vt,uk as Xt,IX as Qt,or as Zt,hH as er}from"./CbRsc9i4.js";import{aC as yt,aD as $t,aE as tr,ax as rr,ay as Ct,az as ar,aA as sr,aI as nr}from"./BSsEOl8-.js";var or=m('<!> <p class="type-body"> </p>',1);function ir(ie,c){if(new.target)return it({component:ir,...ie});ct(c,!0);let w=f(c,"open",15,!1),U=f(c,"static",7,!1),V=f(c,"title",7),h=f(c,"message",7),T=f(c,"buttons",7),x=f(c,"cancelIndex",7,0),le=f(c,"onSelect",7);function X(d){w(!1),le()?.(d)}var ge={get open(){return w()},set open(d=!1){w(d),b()},get static(){return U()},set static(d=!1){U(d),b()},get title(){return V()},set title(d){V(d),b()},get message(){return h()},set message(d){h(d),b()},get buttons(){return T()},set buttons(d){T(d),b()},get cancelIndex(){return x()},set cancelIndex(d=0){x(d),b()},get onSelect(){return le()},set onSelect(d){le(d),b()},$set:lt,$on:(d,Q)=>dt(c,d,Q)};return Nt(ie,{get static(){return U()},role:"alertdialog",get title(){return V()},dismissOnInteractOutside:!1,focusContent:!0,onSubmit:()=>X(T().length-1),onCancel:()=>X(x()),get open(){return w()},set open(Q){w(Q)},footer:Q=>{var A=wt(),N=ye(A);Dt(N,17,T,Ot,(de,ce,ae)=>{{let me=$(()=>ae===x()?"ghost":ae===T().length-1?"primary":"outline");R(de,{get variant(){return e(me)},onclick:()=>X(ae),children:(Ke,ze)=>{E();var Ae=I();o(()=>s(Ae,e(ce))),a(Ke,Ae)},$$slots:{default:!0}})}}),a(Q,A)},children:(Q,A)=>{var N=or(),de=ye(N);Tt(de,()=>Ht,(me,Ke)=>{Ke(me,{class:"sr-only",children:(ze,Ae)=>{E();var Ge=I();o(()=>s(Ge,h())),a(ze,Ge)},$$slots:{default:!0}})});var ce=i(de,2),ae=g(ce,!0);o(()=>s(ae,h())),a(Q,N)},$$slots:{footer:!0,default:!0}}),pt(ge)}var lr=m('<p class="type-body text-muted-foreground" data-testid="provider-profile-token-eligibility"> </p>'),Pt=m("<li> </li> <li> </li>",1),dr=m('<li> <span class="mt-1 flex items-center gap-2" data-testid="provider-profile-setup-token"><code class="rounded border border-border bg-muted px-1.5 py-0.5 font-mono type-caption text-foreground"></code> <!></span></li> <li> </li>',1),St=m("<li> </li>"),cr=m('<section class="space-y-2" data-testid="provider-profile-secret-steps"><h3 class="type-body font-medium! text-foreground"> </h3> <ol class="type-body list-decimal space-y-1 pl-5 text-muted-foreground"><!> <!></ol> <!></section>'),Kt=m('<div class="flex items-center gap-2"><!> <!></div>'),pr=m('<div class="space-y-2" data-testid="provider-profile-secret-saved"><p class="type-body text-foreground"> </p> <div class="flex items-center gap-3"><span class="type-body font-mono text-muted-foreground"> </span> <!></div></div>'),ur=m('<span class="type-body text-muted-foreground"> </span> <!>',1),vr=m('<span class="type-body font-mono text-muted-foreground"> </span> <!> <!>',1),_r=m('<div class="flex flex-wrap items-center gap-3" data-testid="provider-profile-base-url-saved"><span class="type-body text-foreground"> </span> <!></div>'),fr=m('<details class="group rounded-md border border-border" data-testid="provider-profile-custom-endpoint"><summary class="flex cursor-pointer list-none items-center gap-2 px-3 py-2 type-body text-foreground [&::-webkit-details-marker]:hidden"><!> </summary> <div class="space-y-2 border-t border-border px-3 py-3"><p class="type-caption text-muted-foreground"> </p> <!></div></details>'),br=m('<div class="space-y-5" data-testid="provider-profile-secret"><!> <!> <!> <!></div>');function gr(ie,c){if(new.target)return it({component:gr,...ie});ct(c,!0);let w=f(c,"provider",7),U=f(c,"kind",7),V=f(c,"mode",7),h=f(c,"secret",15,""),T=f(c,"secretSaved",7,!1),x=f(c,"replacing",15,!1),le=f(c,"secretError",7),X=f(c,"baseUrl",15,""),ge=f(c,"baseUrlSaved",7,!1),d=f(c,"baseUrlAction",15,"keep"),Q=f(c,"customEndpointOpen",15,!1),A=f(c,"disabled",7,!1),N=f(c,"secretDisabled",23,A),de=f(c,"keyCheck",7,!0),ce=f(c,"pasteStep",7,!0),ae=f(c,"customEndpoint",7,!0);const me="https://console.anthropic.com/settings/keys",Ke="https://developers.openai.com/codex/enterprise/access-tokens",ze="https://platform.openai.com/api-keys",Ae="claude setup-token",Ge="https://",Re=$(()=>w()==="claude"&&U()==="apiKey"),Me=$(()=>w()==="codex"&&U()==="apiKey"),rt=$(()=>de()?U()==="apiKey"?t.settings_providerProfileKinds_apiKeyClaudeStep3_label():w()==="claude"?t.settings_providerProfileKinds_tokenClaudeStep3_label():t.settings_providerProfileKinds_tokenCodexStep2_label():t.settings_providerProfileKinds_pasteNoCheck_label()),at=$(()=>V()==="add"||!T()||x()),Ee=$(()=>U()==="apiKey"?t.settings_providerProfileKinds_apiKey_label():t.settings_providerProfileKinds_token_label()),De=$(()=>{if(e(Re))return{href:me,label:t.settings_providerProfileKinds_anthropicConsole_link()};if(e(Me))return{href:ze,label:t.settings_providerProfileKinds_openAiApiKeys_link()};if(w()==="codex")return{href:Ke,label:t.settings_providerProfileKinds_openAiAccessTokens_link()}});function xe(){x(!1),h("")}var Oe={get provider(){return w()},set provider(r){w(r),b()},get kind(){return U()},set kind(r){U(r),b()},get mode(){return V()},set mode(r){V(r),b()},get secret(){return h()},set secret(r=""){h(r),b()},get secretSaved(){return T()},set secretSaved(r=!1){T(r),b()},get replacing(){return x()},set replacing(r=!1){x(r),b()},get secretError(){return le()},set secretError(r){le(r),b()},get baseUrl(){return X()},set baseUrl(r=""){X(r),b()},get baseUrlSaved(){return ge()},set baseUrlSaved(r=!1){ge(r),b()},get baseUrlAction(){return d()},set baseUrlAction(r="keep"){d(r),b()},get customEndpointOpen(){return Q()},set customEndpointOpen(r=!1){Q(r),b()},get disabled(){return A()},set disabled(r=!1){A(r),b()},get secretDisabled(){return N()},set secretDisabled(r=A){N(r),b()},get keyCheck(){return de()},set keyCheck(r=!0){de(r),b()},get pasteStep(){return ce()},set pasteStep(r=!0){ce(r),b()},get customEndpoint(){return ae()},set customEndpoint(r=!0){ae(r),b()},$set:lt,$on:(r,L)=>dt(c,r,L)},k=br(),He=C(k);{var Ne=r=>{var L=lr(),W=g(L,!0);o(se=>s(W,se),[()=>t.settings_providerProfileKinds_tokenCodexEligibility_description()]),a(r,L)};K(He,r=>{w()==="codex"&&U()==="token"&&r(Ne)})}var qe=i(He,2);{var We=r=>{var L=cr(),W=C(L),se=g(W,!0),J=i(W,2),B=C(J);{var ve=u=>{var S=Pt(),y=ye(S),F=g(y,!0),z=i(y,2),q=g(z,!0);o((G,ee)=>{s(F,G),s(q,ee)},[()=>t.settings_providerProfileKinds_apiKeyClaudeStep1_label(),()=>t.settings_providerProfileKinds_apiKeyClaudeStep2_label()]),a(u,S)},ne=u=>{var S=Pt(),y=ye(S),F=g(y,!0),z=i(y,2),q=g(z,!0);o((G,ee)=>{s(F,G),s(q,ee)},[()=>t.settings_providerProfileKinds_apiKeyCodexStep1_label(),()=>t.settings_providerProfileKinds_apiKeyCodexStep2_label()]),a(u,S)},M=u=>{var S=dr(),y=ye(S),F=C(y),z=i(F),q=C(z);q.textContent="claude setup-token";var G=i(q,2);Jt(G,{text:Ae,size:"sm"}),P(z),P(y);var ee=i(y,2),p=g(ee,!0);o((n,l)=>{s(F,`${n??""} `),s(p,l)},[()=>t.settings_providerProfileKinds_tokenClaudeStep1_label(),()=>t.settings_providerProfileKinds_tokenClaudeStep2_label()]),a(u,S)},$e=u=>{var S=St(),y=g(S,!0);o(F=>s(y,F),[()=>t.settings_providerProfileKinds_tokenCodexStep1_label()]),a(u,S)};K(B,u=>{e(Re)?u(ve):e(Me)?u(ne,1):w()==="claude"?u(M,2):u($e,-1)})}var _e=i(B,2);{var H=u=>{var S=St(),y=g(S,!0);o(()=>s(y,e(rt))),a(u,S)};K(_e,u=>{ce()&&u(H)})}P(J);var Z=i(J,2);{var Ce=u=>{R(u,{variant:"link",size:"sm",get href(){return e(De).href},target:"_blank",rel:"noopener noreferrer",class:"h-auto px-0",children:(S,y)=>{E();var F=I();o(()=>s(F,e(De).label)),a(S,F)},$$slots:{default:!0}})};K(Z,u=>{e(De)&&u(Ce)})}P(L),o(u=>s(se,u),[()=>U()==="apiKey"?t.settings_providerProfileKinds_apiKeyClaudeSteps_label():t.settings_providerProfileKinds_tokenSteps_label()]),a(r,L)};K(qe,r=>{(V()==="add"||x())&&r(We)})}var Je=i(qe,2);{var Ye=r=>{mt(r,{get label(){return e(Ee)},get error(){return le()},control:(W,se=ft)=>{var J=Kt(),B=C(J);tt(B,_t(se,{type:"password",autocomplete:"off",spellcheck:!1,class:"font-mono",get disabled(){return N()},"data-testid":"provider-profile-secret-input",get value(){return h()},set value(M){h(M)}}));var ve=i(B,2);{var ne=M=>{R(M,{variant:"ghost-light",size:"sm",get disabled(){return N()},onclick:xe,children:($e,_e)=>{E();var H=I();o(Z=>s(H,Z),[()=>t.settings_providerProfileKinds_keepSaved_label()]),a($e,H)},$$slots:{default:!0}})};K(ve,M=>{V()==="edit"&&T()&&M(ne)})}P(J),a(W,J)},$$slots:{control:!0}})},je=r=>{var L=pr(),W=C(L),se=g(W,!0),J=i(W,2),B=C(J),ve=g(B,!0),ne=i(B,2);R(ne,{variant:"outline",size:"sm",get disabled(){return A()},onclick:()=>x(!0),children:(M,$e)=>{E();var _e=I();o(H=>s(_e,H),[()=>t.settings_providerProfileKinds_replace_label()]),a(M,_e)},$$slots:{default:!0}}),P(J),P(L),o(M=>{s(se,e(Ee)),s(ve,M)},[()=>t.settings_providerProfileKinds_saved_label()]),a(r,L)};K(Je,r=>{e(at)?r(Ye):r(je,-1)})}var Ve=i(Je,2);{var st=r=>{var L=fr(),W=C(L),se=C(W);Mt(se,{get icon(){return qt},class:"size-3 transition-transform group-open:rotate-90"});var J=i(se);P(W);var B=i(W,2),ve=C(B),ne=g(ve,!0),M=i(ve,2);{var $e=H=>{var Z=_r(),Ce=C(Z),u=g(Ce,!0),S=i(Ce,2);{var y=z=>{var q=ur(),G=ye(q),ee=g(G,!0),p=i(G,2);R(p,{variant:"ghost-light",size:"sm",get disabled(){return A()},onclick:()=>d("keep"),children:(n,l)=>{E();var v=I();o(_=>s(v,_),[()=>t.settings_providerProfileKinds_keepSaved_label()]),a(n,v)},$$slots:{default:!0}}),o(n=>s(ee,n),[()=>t.settings_providerProfileKinds_baseUrlRemoved_label()]),a(z,q)},F=z=>{var q=vr(),G=ye(q),ee=g(G,!0),p=i(G,2);R(p,{variant:"outline",size:"sm",get disabled(){return A()},onclick:()=>d("replace"),children:(l,v)=>{E();var _=I();o(Y=>s(_,Y),[()=>t.settings_providerProfileKinds_replace_label()]),a(l,_)},$$slots:{default:!0}});var n=i(p,2);R(n,{variant:"ghost-light",size:"sm",get disabled(){return A()},onclick:()=>d("remove"),children:(l,v)=>{E();var _=I();o(Y=>s(_,Y),[()=>t.settings_providerProfiles_remove_label()]),a(l,_)},$$slots:{default:!0}}),o(l=>s(ee,l),[()=>t.settings_providerProfileKinds_saved_label()]),a(z,q)};K(S,z=>{d()==="remove"?z(y):z(F,-1)})}P(Z),o(z=>s(u,z),[()=>t.settings_providerProfileKinds_baseUrl_label()]),a(H,Z)},_e=H=>{{const Z=(u,S=ft)=>{var y=Kt(),F=C(y);tt(F,_t(S,{type:"url",placeholder:Ge,autocomplete:"off",spellcheck:!1,class:"font-mono",get disabled(){return A()},"data-testid":"provider-profile-base-url-input",get value(){return X()},set value(G){X(G)}}));var z=i(F,2);{var q=G=>{R(G,{variant:"ghost-light",size:"sm",get disabled(){return A()},onclick:()=>{d("keep"),X("")},children:(ee,p)=>{E();var n=I();o(l=>s(n,l),[()=>t.settings_providerProfileKinds_keepSaved_label()]),a(ee,n)},$$slots:{default:!0}})};K(z,G=>{V()==="edit"&&ge()&&G(q)})}P(y),a(u,y)};let Ce=$(()=>t.settings_providerProfileKinds_baseUrl_label());mt(H,{get label(){return e(Ce)},control:Z,$$slots:{control:!0}})}};K(M,H=>{V()==="edit"&&ge()&&d()!=="replace"?H($e):H(_e,-1)})}P(B),P(L),o((H,Z)=>{s(J,` ${H??""}`),s(ne,Z)},[()=>t.settings_providerProfileKinds_customEndpoint_label(),()=>t.settings_providerProfileKinds_customEndpoint_description()]),Bt("open","toggle",L,Q,Q),a(r,L)};K(Ve,r=>{e(Re)&&ae()&&r(st)})}return P(k),o(()=>ot(k,"data-kind",U())),a(ie,k),pt(Oe)}function sa(ie,c){return c==="token"?ie==="codex"?t.settings_providerProfileKinds_tokenNotJwt_error():t.settings_providerProfileKinds_tokenShapeClaude_error():ie==="codex"?t.settings_providerProfileKinds_keyShapeCodex_error():t.settings_providerProfileKinds_keyShapeClaude_error()}var mr=m('<p class="text-sm text-subtle" role="status" data-testid="gitlab-instance-update-required"> </p>'),xr=m('<p class="break-all type-caption text-subtle" data-testid="gitlab-connect-instance"> </p>'),hr=m('<div class="max-w-sm space-y-3" data-testid="gitlab-connect-device-flow"><!> <div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!> <!></div></div>'),kr=m('<div class="flex flex-wrap items-center gap-2 text-subtle text-sm"><!> <span> </span> <!></div>'),yr=m('<p class="text-xs text-danger" role="alert"> </p>'),$r=m('<div class="max-w-sm space-y-1" data-testid="gitlab-connect-token"><!> <!> <p class="text-xs text-subtle"> <!></p></div> <div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>',1),Cr=m('<div class="flex flex-wrap items-center gap-2"><!> <!> <!></div>'),Pr=m('<div class="max-w-sm space-y-1"><!> <!> <p class="text-xs text-subtle"> </p> <!></div> <!>',1),Sr=m('<p class="text-sm text-subtle" role="status"> </p>'),Kr=m('<div class="space-y-1"><p class="text-sm text-subtle" role="status"> </p> <!></div>'),Ar=m('<p class="text-sm text-danger" role="alert"> </p>'),Er=m('<div data-testid="gitlab-connect-form"><!> <!> <!> <!> <!></div>');function Ir(ie,c){const w=Ut();if(new.target)return it({component:Ir,...ie});ct(c,!0);const U=()=>Se(Ke,"$storedInstance$",d),V=()=>Se(Me,"$deviceGrantSupported$",d),h=()=>Se(at,"$instanceSetupSupported$",d),T=()=>Se(ze,"$isAuthenticating$",d),x=()=>Se(Ae,"$isCancelling$",d),le=()=>Se(Re,"$deviceFlow$",d),X=()=>Se(Ge,"$cancelOutcome$",d),ge=()=>Se(rt,"$error$",d),[d,Q]=Lt();let A=f(c,"compact",7,!1),N=f(c,"onCancel",7);const de=`${w}-host`,ce=`${w}-host-help`,ae=`${w}-host-error`,me=`${w}-token`,Ke=yt(),ze=$t(),Ae=tr(),Ge=rr(),Re=Ct(),Me=ar(),rt=sr(),at=nr();let Ee=et(zt(yt.select(ke.state))),De=et(!1),xe=et(""),Oe=et(!1);const k=$(()=>Xt(e(Ee))),He=$(()=>e(Oe)||e(k)===U()&&V()===!1),Ne=$(()=>e(k)?Zt(e(k)):null),qe=$(()=>h()&&e(k)!==null&&e(xe).trim().length>0);bt(()=>{const p=U();e(De)||he(Ee,p,!0)}),bt(()=>{h()||he(xe,"")}),Gt(()=>{const p=()=>{const n=ke.state;$t.select(n)&&Ct.select(n)&&ke.dispatch(ht())};return window.addEventListener("focus",p),()=>window.removeEventListener("focus",p)});function We(){!h()||!e(k)||e(k)===U()||T()||x()||ke.dispatch(Vt(e(k)))}function Je(){he(De,!0),he(xe,"")}function Ye(){!h()||!e(k)||T()||x()||ke.dispatch(Qt(e(k)))}function je(){const p=e(xe).trim();!h()||!p||!e(k)||T()||x()||(ke.dispatch(er(e(k),p)),he(xe,""))}function Ve(){!h()||x()||(T()&&ke.dispatch(kt()),he(Oe,!0))}function st(){he(Oe,!1)}function r(){x()||ke.dispatch(kt())}function L(){e(Ne)&&Yt(e(Ne),{})}function W(p){p.key==="Enter"&&(p.preventDefault(),We(),e(He)?document.getElementById(me)?.focus():Ye())}function se(p){p.key==="Enter"&&(p.preventDefault(),je())}const J=$(()=>A()?"sm":"xl"),B=$(()=>A()?"sm":"default");var ve={get compact(){return A()},set compact(p=!1){A(p),b()},get onCancel(){return N()},set onCancel(p){N(p),b()},$set:lt,$on:(p,n)=>dt(c,p,n)},ne=Er();{const p=n=>{R(n,{variant:"ghost",size:"sm",type:"button",class:"text-muted-foreground hover:text-foreground",get disabled(){return x()},onclick:r,children:(l,v)=>{E();var _=I();o(Y=>s(_,Y),[()=>x()?t.lib_gitlabConnect_cancelling_label():t.lib_gitlabConnect_cancel_label()]),a(l,_)},$$slots:{default:!0}})};var M=C(ne);{var $e=n=>{var l=mr(),v=g(l,!0);o(_=>s(v,_),[()=>t.lib_gitlabConnect_updateRequired_description()]),a(n,l)};K(M,n=>{h()||n($e)})}var _e=i(M,2);{var H=n=>{var l=xr(),v=g(l,!0);o(()=>s(v,U())),a(n,l)};K(_e,n=>{(T()||x())&&n(H)})}var Z=i(_e,2);{var Ce=n=>{var l=hr(),v=C(l);{let Le=$(()=>t.lib_gitlabConnect_openGitlab_label());Wt(v,{get userCode(){return le().userCode},get verificationUri(){return le().verificationUri},get openLabel(){return e(Le)},get compact(){return A()}})}var _=i(v,2),Y=C(_);gt(Y,{size:16,class:"shrink-0"});var oe=i(Y,2),Te=g(oe,!0),Ie=i(oe,2);{let Le=$(()=>x()||!h());R(Ie,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return e(Le)},onclick:Ve,children:(nt,ut)=>{E();var D=I();o(j=>s(D,j),[()=>t.lib_gitlabConnect_useToken_label()]),a(nt,D)},$$slots:{default:!0}})}var Be=i(Ie,2);p(Be),P(_),P(l),o(Le=>s(Te,Le),[()=>t.lib_gitlabConnect_waitingForAuthorization_label()]),a(n,l)},u=n=>{var l=kr(),v=C(l);gt(v,{size:16,class:"shrink-0"});var _=i(v,2),Y=g(_,!0),oe=i(_,2);p(oe),P(l),o(Te=>s(Y,Te),[()=>t.lib_gitlabConnect_connecting_label()]),a(n,l)},S=n=>{var l=Pr(),v=ye(l),_=C(v);xt(_,{get for(){return de},children:(D,j)=>{E();var te=I();o(pe=>s(te,pe),[()=>t.lib_gitlabConnect_host_label()]),a(D,te)},$$slots:{default:!0}});var Y=i(_,2);{let D=$(()=>!h()),j=$(()=>!e(k)||void 0),te=$(()=>e(k)?ce:`${ce} ${ae}`);tt(Y,{get id(){return de},type:"text",autocomplete:"url",spellcheck:!1,get disabled(){return e(D)},get"aria-invalid"(){return e(j)},get"aria-describedby"(){return e(te)},get placeholder(){return jt},oninput:Je,onchange:We,onkeydown:W,get value(){return e(Ee)},set value(pe){he(Ee,pe,!0)}})}var oe=i(Y,2),Te=g(oe,!0),Ie=i(oe,2);{var Be=D=>{var j=yr(),te=g(j,!0);o(pe=>{ot(j,"id",ae),s(te,pe)},[()=>t.lib_gitlabConnect_invalidInstance_error()]),a(D,j)};K(Ie,D=>{e(k)||D(Be)})}P(v);var Le=i(v,2);{var nt=D=>{var j=$r(),te=ye(j),pe=C(te);xt(pe,{get for(){return me},children:(O,be)=>{E();var Fe=I();o(re=>s(Fe,re),[()=>t.lib_gitlabConnect_token_label()]),a(O,Fe)},$$slots:{default:!0}});var Xe=i(pe,2);{let O=$(()=>!h());tt(Xe,{get id(){return me},type:"password",autocomplete:"off",get disabled(){return e(O)},placeholder:"glpat-...",onkeydown:se,get value(){return e(xe)},set value(be){he(xe,be,!0)}})}var Qe=i(Xe,2),fe=C(Qe),we=i(fe);{var Ze=O=>{R(O,{variant:"link",size:"sm",type:"button",class:"h-auto px-0 text-xs",onclick:L,children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_createToken_label({host:e(k)})]),a(be,re)},$$slots:{default:!0}})};K(we,O=>{e(Ne)&&e(k)&&O(Ze)})}P(Qe),P(te);var ue=i(te,2),Pe=C(ue);{let O=$(()=>!e(qe));R(Pe,{variant:"primary",get size(){return e(J)},type:"button",onclick:je,get disabled(){return e(O)},children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_connect_label()]),a(be,re)},$$slots:{default:!0}})}var vt=i(Pe,2);{var At=O=>{R(O,{variant:"ghost",get size(){return e(B)},type:"button",onclick:st,children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_useDevice_label()]),a(be,re)},$$slots:{default:!0}})};K(vt,O=>{e(Oe)&&!(e(k)===U()&&V()===!1)&&O(At)})}var Et=i(vt,2);{var It=O=>{R(O,{variant:"ghost",get size(){return e(B)},type:"button",get onclick(){return N()},children:(be,Fe)=>{E();var re=I();o(Ue=>s(re,Ue),[()=>t.lib_gitlabConnect_cancel_label()]),a(be,re)},$$slots:{default:!0}})};K(Et,O=>{N()&&O(It)})}P(ue),o(O=>s(fe,`${O??""} `),[()=>t.lib_gitlabConnect_token_description()]),a(D,j)},ut=D=>{var j=Cr(),te=C(j);{let fe=$(()=>!e(k)||!h());R(te,{variant:"primary",get size(){return e(J)},type:"button",onclick:Ye,get disabled(){return e(fe)},children:(we,Ze)=>{E();var ue=I();o(Pe=>s(ue,Pe),[()=>t.lib_gitlabConnect_connect_label()]),a(we,ue)},$$slots:{default:!0}})}var pe=i(te,2);{let fe=$(()=>!h());R(pe,{variant:"ghost",get size(){return e(B)},type:"button",get disabled(){return e(fe)},onclick:Ve,children:(we,Ze)=>{E();var ue=I();o(Pe=>s(ue,Pe),[()=>t.lib_gitlabConnect_useToken_label()]),a(we,ue)},$$slots:{default:!0}})}var Xe=i(pe,2);{var Qe=fe=>{R(fe,{variant:"ghost",get size(){return e(B)},type:"button",get onclick(){return N()},children:(we,Ze)=>{E();var ue=I();o(Pe=>s(ue,Pe),[()=>t.lib_gitlabConnect_cancel_label()]),a(we,ue)},$$slots:{default:!0}})};K(Xe,fe=>{N()&&fe(Qe)})}P(j),a(D,j)};K(Le,D=>{e(He)?D(nt):D(ut,-1)})}o(D=>{ot(oe,"id",ce),s(Te,D)},[()=>t.lib_gitlabConnect_host_description()]),a(n,l)};K(Z,n=>{(T()||x())&&le()?n(Ce):T()||x()?n(u,1):n(S,-1)})}var y=i(Z,2);{var F=n=>{var l=Sr(),v=g(l,!0);o(_=>s(v,_),[()=>t.lib_gitlabConnect_cancelled_label()]),a(n,l)},z=n=>{var l=Kr(),v=C(l),_=g(v,!0),Y=i(v,2);R(Y,{variant:"link",size:"sm",type:"button",class:"px-0",get disabled(){return x()},onclick:()=>ke.dispatch(ht()),children:(oe,Te)=>{E();var Ie=I();o(Be=>s(Ie,Be),[()=>t.lib_gitlabConnect_checkStatus_label()]),a(oe,Ie)},$$slots:{default:!0}}),P(l),o(oe=>s(_,oe),[()=>X()==="already-started"?t.lib_gitlabConnect_alreadyStarted_description():t.lib_gitlabConnect_cancelFailed_description()]),a(n,l)};K(y,n=>{X()==="cancelled"?n(F):(X()==="already-started"||X()==="failed")&&n(z,1)})}var q=i(y,2);{var G=n=>{var l=Ar(),v=g(l,!0);o(()=>s(v,ge())),a(n,l)};K(q,n=>{ge()&&n(G)})}P(ne)}o(()=>Ft(ne,1,Rt(A()?"space-y-2":"space-y-4"))),a(ie,ne);var ee=pt(ve);return Q(),ee}export{Ir as G,ir as M,gr as P,sa as s};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as ht,bo as S,bw as $t,bq as bt,b as It,bs as d}from"./51_h0jm2.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as q,bV as v,aA as U}from"./CJxGDkBm.js";import{k as At}from"./C9UsZ4re.js";import{b as Pt}from"./NtFyWdpR.js";import{J4 as a,eB as Dt,eC as Et,o7 as St,zN as Ut,ob as Tt,oc as _t,JE as Ft,JT as xt,JJ as Nt,vu as Wt,uL as Lt}from"./
|
|
1
|
+
import{t as ht,bo as S,bw as $t,bq as bt,b as It,bs as d}from"./51_h0jm2.js";import{bs as yt,ca as k,aD as t,c9 as s,a7 as Ct,ay as Rt,W as kt,bn as wt,bH as q,bV as v,aA as U}from"./CJxGDkBm.js";import{k as At}from"./C9UsZ4re.js";import{b as Pt}from"./NtFyWdpR.js";import{J4 as a,eB as Dt,eC as Et,o7 as St,zN as Ut,ob as Tt,oc as _t,JE as Ft,JT as xt,JJ as Nt,vu as Wt,uL as Lt}from"./CbRsc9i4.js";import{t as qt}from"./D2MmXC4A.js";import{g as vt}from"./BrMXrCxP.js";import{dE as Bt,bY as Ht,bN as Ot,bR as Jt,bP as Mt}from"./CgwFGLCK.js";import{af as Kt}from"./DFr6bn5t.js";import{C as Gt}from"./CPlH-52U.js";import{V as Vt}from"./Chnr0_jK.js";import{bT as jt,bN as zt,b8 as Yt}from"./CMLBE7U6.js";import{i as Qt}from"./H2jLkRRS.js";function Xt(T,f){if(new.target)return ht({component:Xt,...T});yt(f,!0);const B=()=>d(Z,"$gitRoots$",n),_=()=>d(X,"$workspace",n),H=()=>d(st,"$ftCommits$",n),O=()=>d(ot,"$ftOlderCommits$",n),y=()=>d(tt,"$commitRead$",n),J=()=>d(Y,"$foldUnchanged",n),M=()=>d(z,"$lineWrapping",n),K=()=>d(Q,"$diffSideBySide",n),G=()=>d(at,"$ftLoading$",n),[n,V]=bt(),j=e=>{Vt(e,{embedded:!0,showExpand:!0,get expanded(){return t(C)},onToggleExpand:()=>{q(C,!t(C)),t(C)?t(R)?.expandAll():t(R)?.collapseAll()},get foldEnabled(){return J()},onToggleFold:()=>a.dispatch(Nt()),get wrapEnabled(){return M()},onToggleWrap:()=>a.dispatch(xt()),get splitEnabled(){return K()},onToggleSplit:()=>a.dispatch(Ft())})},z=jt(),Y=zt(),Q=Yt();let h=S(f,"tab",7),i=S(f,"workspaceId",7),$=S(f,"isActive",7);const F=vt(),g=qt(()=>i()),X=Bt(g),Z=Kt(g),w=crypto.randomUUID(),tt=Ht(g,w),c=s(()=>h().data?.commitHash||""),x=s(()=>h().data?.commitMessage||"");k(()=>{const e=i();if(!(!$()||!e||t(r)))return a.dispatch(Dt(e,"history")),()=>a.dispatch(Et(e,"history"))});const r=s(()=>h().data?.gitRootId||""),N=s(()=>t(r)&&B().find(e=>e.id===t(r))?.path||""),et=s(()=>t(N)||_()?.worktreePath||_()?.repositoryPath||""),st=Ot(g),ot=Jt(g),at=Mt(g),nt=s(()=>H()||[]),it=s(()=>O()||[]),p=s(()=>t(r)?void 0:t(nt).find(e=>e.hash===t(c))||t(it).find(e=>e.hash===t(c))),A=s(()=>t(p)?.files||[]),P=s(()=>y()?.request.kind==="commitDetails"&&y().request.commitHash===t(c)&&(y().request.gitRootId??"")===t(r)?y():void 0),l=s(()=>t(P)?.result?.kind==="commitDetails"?t(P).result.details:null),rt=s(()=>t(l)?t(l).fileDetails.length>0?t(l).fileDetails:t(l).files.map(e=>({path:e,additions:0,deletions:0})):[]),dt=s(()=>t(P)?.loading??!1);k(()=>{const e=t(c),o=i(),b=t(r);if(!e||!o||t(A).length>0)return;const u=crypto.randomUUID();return a.dispatch(St(o,w,u,{kind:"commitDetails",commitHash:e,gitRootId:b||void 0})),()=>a.dispatch(Ut(o,w,u))});const ct=s(()=>t(A).length>0?t(A):t(rt));let C=v(!0),R=v(null);const lt=s(()=>t(ct).map(e=>{const o=typeof e=="string"?e:e.path||"",b=typeof e=="string"?0:e.additions||0,u=typeof e=="string"?0:e.deletions||0;return{filePath:Qt(o)?o:`${t(et)}/${o}`,action:"modify",additions:b,deletions:u,toolName:"local",toolCallId:`commit-${t(c)}-${o}`,staged:!1,category:"committed",commitHash:t(c),commitMessage:t(x)}}));k(()=>{!F||!$()||F.registerActions({display:j})});const W=crypto.randomUUID();k(()=>{const e=i();if(!(!($()&&t(r))||!e))return a.dispatch(Tt(e,W)),()=>a.dispatch(_t(e,W))});var mt={get tab(){return h()},set tab(e){h(e),U()},get workspaceId(){return i()},set workspaceId(e){i(e),U()},get isActive(){return $()},set isActive(e){$(e),U()},$set:$t,$on:(e,o)=>It(f,e,o)},L=Ct(),gt=Rt(L);At(gt,()=>JSON.stringify([i(),t(r),t(c)]),e=>{{let o=s(()=>G()||t(dt)),b=s(()=>t(r)||void 0),u=s(()=>t(N)||void 0),ut=s(()=>({hash:t(c),message:t(x),author:t(p)?.author||t(l)?.author,authorEmail:t(p)?.authorEmail||t(l)?.authorEmail,date:t(p)?.date||t(l)?.date,agentId:t(p)?.agentId,linkedNoteId:t(p)?.linkedNoteId}));Pt(Gt(e,{get isLoading(){return t(o)},get changes(){return t(lt)},get gitRootId(){return t(b)},get gitRootPath(){return t(u)},get commitInfo(){return t(ut)},onOpenAgent:(I,m)=>{const D=m?.metaKey||m?.ctrlKey||!1,E=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Lt(i(),{agentId:I,openInAdjacentPanel:D,sourcePanelId:E}))},onOpenNote:(I,m)=>{const D=m?.metaKey||m?.ctrlKey||!1,E=m?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;a.dispatch(Wt(i(),I,{openInAdjacentPanel:D,sourcePanelId:E}))}}),I=>q(R,I,!0),()=>t(R))}}),kt(T,L);var pt=wt(mt);return V(),pt}export{Xt as default};
|