@intent-hq/web 2.334.2 → 2.334.4
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 +4 -0
- package/package.json +1 -1
- package/web/app/immutable/chunks/{Cfb3Qeug.js → -TOEU8_A.js} +1 -1
- package/web/app/immutable/chunks/-cH4Kg6N.js +271 -0
- package/web/app/immutable/chunks/1hAIZvxV.js +1 -0
- package/web/app/immutable/chunks/{ayrFAfGH.js → 41-5FPAW.js} +1 -1
- package/web/app/immutable/chunks/{CZ_kVWbN.js → 50HPeG9s.js} +2 -2
- package/web/app/immutable/chunks/{Bobasviv.js → 5VMy_i47.js} +1 -1
- package/web/app/immutable/chunks/{Bdtl8KA4.js → 66MF_whg.js} +1 -1
- package/web/app/immutable/chunks/{CfcCegh1.js → B--DS5uB.js} +1 -1
- package/web/app/immutable/chunks/{Dye-X7T_.js → B-Y3a_F8.js} +1 -1
- package/web/app/immutable/chunks/{35OKERyz.js → B1mjFyJY.js} +3 -3
- package/web/app/immutable/chunks/{Ct1LOYoS.js → B25gpTlR.js} +7 -7
- package/web/app/immutable/chunks/{Dzg-ll0I.js → B2MOO6xN.js} +1 -1
- package/web/app/immutable/chunks/{D9qxaQL5.js → B2g0crjj.js} +1 -1
- package/web/app/immutable/chunks/{DGUKdi7i.js → B3fQCNI5.js} +1 -1
- package/web/app/immutable/chunks/{B3KrGqdQ.js → B4USm-wY.js} +1 -1
- package/web/app/immutable/chunks/{HZf189bi.js → B5PFzC2T.js} +1 -1
- package/web/app/immutable/chunks/B8IlgGpJ.js +2 -0
- package/web/app/immutable/chunks/{DxGil5MD.js → B8gqvCgY.js} +1 -1
- package/web/app/immutable/chunks/{DYNXYjAR.js → BAJMpiJG.js} +2 -2
- package/web/app/immutable/chunks/{BuxSPewv.js → BAnLxjCI.js} +1 -1
- package/web/app/immutable/chunks/{cryzjV1m.js → BB8HM8Ay.js} +1 -1
- package/web/app/immutable/chunks/{DJ_QkvrV.js → BBQmqbzc.js} +2 -2
- package/web/app/immutable/chunks/{Bv6lXJbF.js → BC2HtpIa.js} +1 -1
- package/web/app/immutable/chunks/{Az9OQ8Pw.js → BCF9Fm7Q.js} +3 -3
- package/web/app/immutable/chunks/{D8UOq-cZ.js → BCGyPRue.js} +1 -1
- package/web/app/immutable/chunks/{Dk-fSG07.js → BCvW5fLL.js} +1 -1
- package/web/app/immutable/chunks/{Df-CfLbF.js → BD9hiuYU.js} +1 -1
- package/web/app/immutable/chunks/{CHfzOEVZ.js → BI3Qf00U.js} +1 -1
- package/web/app/immutable/chunks/{CO7hmy56.js → BMSasEAE.js} +1 -1
- package/web/app/immutable/chunks/{V_REijln.js → BOE4Qfjf.js} +1 -1
- package/web/app/immutable/chunks/{BxMH5MYD.js → BOSe_KRq.js} +1 -1
- package/web/app/immutable/chunks/{DTEa5xLA.js → BOWbyG8Q.js} +1 -1
- package/web/app/immutable/chunks/{D-v3doGL.js → BRmUBbbw.js} +1 -1
- package/web/app/immutable/chunks/{CXKfuiUF.js → BUpQz-Qr.js} +1 -1
- package/web/app/immutable/chunks/{BdiB84y6.js → BVA72xzt.js} +1 -1
- package/web/app/immutable/chunks/{uNB-15BN.js → BVVMn1l6.js} +1 -1
- package/web/app/immutable/chunks/{BV7IkfLg.js → BWJ-0D-2.js} +1 -1
- package/web/app/immutable/chunks/{D9wogWMJ.js → BWpYhzs2.js} +1 -1
- package/web/app/immutable/chunks/{BsbCFjWI.js → BYSg53cw.js} +1 -1
- package/web/app/immutable/chunks/{CKJpktTE.js → BYddvidz.js} +1 -1
- package/web/app/immutable/chunks/{CxObU6mx.js → BZGUu0nU.js} +3 -3
- package/web/app/immutable/chunks/{SQzrn-hj.js → Ba7P2HkQ.js} +1 -1
- package/web/app/immutable/chunks/{D3DGxoeO.js → BbOFhOMi.js} +1 -1
- package/web/app/immutable/chunks/{CXzbClP6.js → BbWjr_LM.js} +1 -1
- package/web/app/immutable/chunks/{CP_jYxTi.js → Bbj-7Bri.js} +1 -1
- package/web/app/immutable/chunks/{D4_SdDSY.js → BcBl1qMn.js} +2 -2
- package/web/app/immutable/chunks/{BB4mIFvl.js → BdpYl7Gv.js} +2 -2
- package/web/app/immutable/chunks/{CjijEKrk.js → BfL2wXdk.js} +1 -1
- package/web/app/immutable/chunks/{DyBxytvu.js → Bfwh7fx_.js} +1 -1
- package/web/app/immutable/chunks/{84oPQ-Z5.js → Bgmz76v7.js} +1 -1
- package/web/app/immutable/chunks/{CNG639uN.js → BiWS3oN6.js} +2 -2
- package/web/app/immutable/chunks/{DkPqbYEN.js → Bj6JKTal.js} +1 -1
- package/web/app/immutable/chunks/{Qk-BsDf0.js → BmywI7Lw.js} +1 -1
- package/web/app/immutable/chunks/{CqrY9mln.js → BnZxq056.js} +1 -1
- package/web/app/immutable/chunks/{BIsYlFzn.js → BnsMMXeG.js} +1 -1
- package/web/app/immutable/chunks/{BE3xHJK-.js → Bny-l-GH.js} +1 -1
- package/web/app/immutable/chunks/{BHNjUi-M.js → BpLDGdQv.js} +1 -1
- package/web/app/immutable/chunks/{PA5tKchu.js → BrB3whqv.js} +1 -1
- package/web/app/immutable/chunks/{EuR2YZ_C.js → BrH3hKEJ.js} +1 -1
- package/web/app/immutable/chunks/{BrfSOvfx.js → Bs3DdycY.js} +1 -1
- package/web/app/immutable/chunks/{9oNS7b_T.js → Bsy-6OEk.js} +1 -1
- package/web/app/immutable/chunks/{B-1pTbth.js → Bt0YZiXp.js} +1 -1
- package/web/app/immutable/chunks/{BQvAnzVz.js → BvK0-XNr.js} +1 -1
- package/web/app/immutable/chunks/{CSSojjBG.js → BvO0fAmb.js} +1 -1
- package/web/app/immutable/chunks/{RRAwtvUd.js → BvZf2Y4o.js} +1 -1
- package/web/app/immutable/chunks/{xTKdEUQT.js → BvwTVYo5.js} +1 -1
- package/web/app/immutable/chunks/{B4egTWvZ.js → BwgDMBNS.js} +1 -1
- package/web/app/immutable/chunks/BwwEJ73s.js +1 -0
- package/web/app/immutable/chunks/{BcKZevFv.js → BwxmdpQk.js} +1 -1
- package/web/app/immutable/chunks/{BJGFYlGb.js → BxmfBtHG.js} +1 -1
- package/web/app/immutable/chunks/{tj2YkYbp.js → Bxnl9yMf.js} +1 -1
- package/web/app/immutable/chunks/{DXmtjPbD.js → BzP4gCLt.js} +1 -1
- package/web/app/immutable/chunks/{DO346qNj.js → C0IuX8Tw.js} +1 -1
- package/web/app/immutable/chunks/{GcxLTXiO.js → C0fLKaB9.js} +1 -1
- package/web/app/immutable/chunks/{B7TKG7Bc.js → C1wyQWdd.js} +2 -2
- package/web/app/immutable/chunks/{CIqnL4UD.js → C3cmIhWo.js} +1 -1
- package/web/app/immutable/chunks/{tO-hey33.js → C3vze1oW.js} +1 -1
- package/web/app/immutable/chunks/{C4w7bKuP.js → C4-YEGNY.js} +1 -1
- package/web/app/immutable/chunks/{DzQlISID.js → C4Yfp_TG.js} +1 -1
- package/web/app/immutable/chunks/{Bg69H70_.js → C58MXMyI.js} +1 -1
- package/web/app/immutable/chunks/{BKPhrwG0.js → C6KqUwgB.js} +1 -1
- package/web/app/immutable/chunks/{Ci__OGHt.js → C6zJgX6A.js} +1 -1
- package/web/app/immutable/chunks/{BqvnKOi9.js → C7MBFDJp.js} +1 -1
- package/web/app/immutable/chunks/{BjWMcF7P.js → C8688obU.js} +1 -1
- package/web/app/immutable/chunks/{D_i6tc5B.js → C8fRBF3p.js} +1 -1
- package/web/app/immutable/chunks/{P0G8SF-C.js → CBHhz236.js} +1 -1
- package/web/app/immutable/chunks/{H6rH-O5e.js → CDuldEDb.js} +1 -1
- package/web/app/immutable/chunks/CEL6QztG.js +1 -0
- package/web/app/immutable/chunks/{YQg_WR6M.js → CFuCenWl.js} +1 -1
- package/web/app/immutable/chunks/{C3KFiFcK.js → CGSth7XF.js} +1 -1
- package/web/app/immutable/chunks/{h_b6HIC4.js → CGgST5OQ.js} +1 -1
- package/web/app/immutable/chunks/{BAOVYkFF.js → CGjjowC8.js} +1 -1
- package/web/app/immutable/chunks/{C02vDFWb.js → CGlMnf5q.js} +1 -1
- package/web/app/immutable/chunks/{Cd_9iDaC.js → CI3pmd4G.js} +1 -1
- package/web/app/immutable/chunks/{C1ZTS4Sh.js → CJ-BFgZd.js} +1 -1
- package/web/app/immutable/chunks/{Ckm2No1k.js → CJDCNDP4.js} +1 -1
- package/web/app/immutable/chunks/{CnrqTlrs.js → CJsd_APB.js} +1 -1
- package/web/app/immutable/chunks/{Wjuib0ag.js → CLBCoidh.js} +1 -1
- package/web/app/immutable/chunks/{FEnI6pqw.js → CSYmlQ7_.js} +1 -1
- package/web/app/immutable/chunks/CSf8qtlt.js +1 -0
- package/web/app/immutable/chunks/{CKaKgIKD.js → CSvJVg_I.js} +4 -4
- package/web/app/immutable/chunks/CV0Fs-12.js +1 -0
- package/web/app/immutable/chunks/{5gyILap3.js → CWLZOeon.js} +1 -1
- package/web/app/immutable/chunks/{Dmoe9MK3.js → CXqkKZxQ.js} +1 -1
- package/web/app/immutable/chunks/{DEz9kFbW.js → CY6nFc9b.js} +1 -1
- package/web/app/immutable/chunks/{BC6AKL03.js → CYgoZYHa.js} +1 -1
- package/web/app/immutable/chunks/{q6xIsTef.js → CaEWxG5p.js} +2 -2
- package/web/app/immutable/chunks/{DuD0elPz.js → CbM8k2mZ.js} +1 -1
- package/web/app/immutable/chunks/{O8s5IMhm.js → CcOMWwsU.js} +1 -1
- package/web/app/immutable/chunks/{Cxbk0QV6.js → CcXckLs7.js} +1 -1
- package/web/app/immutable/chunks/{m5UczIQR.js → Cd_8r4jJ.js} +3 -3
- package/web/app/immutable/chunks/{CMXoRP_2.js → Ced3NNcG.js} +1 -1
- package/web/app/immutable/chunks/{DbbZJ-ci.js → Ceq7cv95.js} +9 -9
- package/web/app/immutable/chunks/{DbWOkCcI.js → CgU9RNu2.js} +1 -1
- package/web/app/immutable/chunks/{BfNeIJAh.js → CiSnSGvU.js} +1 -1
- package/web/app/immutable/chunks/{Bxd9OUMD.js → Cjx3j-9r.js} +1 -1
- package/web/app/immutable/chunks/{Bm8WkBC5.js → ClCRB_mv.js} +1 -1
- package/web/app/immutable/chunks/{BuNYZSRv.js → Cn76YSbd.js} +1 -1
- package/web/app/immutable/chunks/{DMW_Ogh_.js → CqHS-vG9.js} +1 -1
- package/web/app/immutable/chunks/{D7R04yQS.js → CqdcwUul.js} +1 -1
- package/web/app/immutable/chunks/{CmSOlSZC.js → CqpFmLF1.js} +1 -1
- package/web/app/immutable/chunks/{DgEbpU39.js → CrrEv2rL.js} +1 -1
- package/web/app/immutable/chunks/{C5sAinDF.js → CsBjcw-w.js} +1 -1
- package/web/app/immutable/chunks/{BfDRfZ1x.js → CsUbymBr.js} +1 -1
- package/web/app/immutable/chunks/{D8NIsfN6.js → CtspFCnO.js} +1 -1
- package/web/app/immutable/chunks/CuAWwBFc.js +1 -0
- package/web/app/immutable/chunks/{DCCFERAn.js → CuEQVba7.js} +1 -1
- package/web/app/immutable/chunks/{Dv8x14z4.js → CuWBzd-F.js} +1 -1
- package/web/app/immutable/chunks/{DyrELBv-.js → CwDVmyxq.js} +1 -1
- package/web/app/immutable/chunks/CxJbFBxw.js +1 -0
- package/web/app/immutable/chunks/{1a35li_H.js → Cz2XOG-L.js} +1 -1
- package/web/app/immutable/chunks/{C7Fm8r7x.js → D-Brs8OV.js} +1 -1
- package/web/app/immutable/chunks/{CGn9WrVN.js → D2mgiwW6.js} +1 -1
- package/web/app/immutable/chunks/{D6yTIC5N.js → D3LGlsX3.js} +1 -1
- package/web/app/immutable/chunks/{Co38dt7I.js → D3u1ZDXs.js} +1 -1
- package/web/app/immutable/chunks/{CRc5ctc6.js → D4jQS0eM.js} +1 -1
- package/web/app/immutable/chunks/{pQONxOXo.js → D51IE5D2.js} +1 -1
- package/web/app/immutable/chunks/{CaLGGtgx.js → D5JZ5TDM.js} +3 -3
- package/web/app/immutable/chunks/{C1mdnBVP.js → D613d4CE.js} +1 -1
- package/web/app/immutable/chunks/{CQBJXrfq.js → D81SHt2l.js} +1 -1
- package/web/app/immutable/chunks/{C0FI_9IJ.js → D9eQxumT.js} +2 -2
- package/web/app/immutable/chunks/{DKw2ZZkQ.js → DDugF1XE.js} +2 -2
- package/web/app/immutable/chunks/{71wna1Z8.js → DEr3f155.js} +1 -1
- package/web/app/immutable/chunks/{sT0KaY62.js → DEy3an7K.js} +1 -1
- package/web/app/immutable/chunks/{MXIhoqMp.js → DFWkFU6G.js} +1 -1
- package/web/app/immutable/chunks/DHM67VRx.js +1 -0
- package/web/app/immutable/chunks/{DGi2Fba3.js → DIwBqoFo.js} +1 -1
- package/web/app/immutable/chunks/{BIq2Xhur.js → DJbDjFTs.js} +1 -1
- package/web/app/immutable/chunks/{BzOameBd.js → DJuQfCSS.js} +1 -1
- package/web/app/immutable/chunks/{CGVLIZz9.js → DN6L1ZrJ.js} +1 -1
- package/web/app/immutable/chunks/{CQYxiSKc.js → DNc3c430.js} +2 -2
- package/web/app/immutable/chunks/{DE2wtizW.js → DPkE3Irc.js} +1 -1
- package/web/app/immutable/chunks/{CfwVmHCf.js → DRRip4Qe.js} +1 -1
- package/web/app/immutable/chunks/{oJD7n1Ce.js → DR_tn5Kl.js} +1 -1
- package/web/app/immutable/chunks/DS8-U49C.js +1 -0
- package/web/app/immutable/chunks/DSLbxDPz.js +1 -0
- package/web/app/immutable/chunks/{k3FE0FJZ.js → DTClNSVs.js} +1 -1
- package/web/app/immutable/chunks/{D71eQlAo.js → DUMFiDJG.js} +1 -1
- package/web/app/immutable/chunks/{CoVAqVcd.js → DVGdl5mM.js} +1 -1
- package/web/app/immutable/chunks/{DPw7hFRN.js → DXA93DnF.js} +2 -2
- package/web/app/immutable/chunks/{C5vuxPIj.js → DXDNvQ8c.js} +1 -1
- package/web/app/immutable/chunks/DXyCbCG4.js +1 -0
- package/web/app/immutable/chunks/{Diees_tN.js → DY6owuVr.js} +1 -1
- package/web/app/immutable/chunks/{Dk1_0x0Q.js → DYfeeu3f.js} +1 -1
- package/web/app/immutable/chunks/{DGcTdGo8.js → DYizsZut.js} +1 -1
- package/web/app/immutable/chunks/{BLxkwNki.js → DZWmQz5X.js} +1 -1
- package/web/app/immutable/chunks/{RlWPb-l5.js → DZo9MSm2.js} +1 -1
- package/web/app/immutable/chunks/{DwfTQh-H.js → Da5ikdTd.js} +1 -1
- package/web/app/immutable/chunks/{w1vzEwno.js → DanU7KQt.js} +1 -1
- package/web/app/immutable/chunks/{CEboTiDi.js → DbXcLBX5.js} +3 -3
- package/web/app/immutable/chunks/{DxFUSFjo.js → Dbpx98ZW.js} +1 -1
- package/web/app/immutable/chunks/{td5hg6sa.js → DcegHVv8.js} +1 -1
- package/web/app/immutable/chunks/{BAzeccV1.js → DcqkXn9i.js} +1 -1
- package/web/app/immutable/chunks/{AatSgrMY.js → DeRdhkHZ.js} +1 -1
- package/web/app/immutable/chunks/{BHVl-WA3.js → DebBES3M.js} +1 -1
- package/web/app/immutable/chunks/{DcZ6Y3e4.js → DhqOVtmg.js} +1 -1
- package/web/app/immutable/chunks/{CE0qVU3E.js → DiQPrKdw.js} +1 -1
- package/web/app/immutable/chunks/{98zeaLhZ.js → DistMkl2.js} +4 -4
- package/web/app/immutable/chunks/{tJ85SevO.js → Dl2HfqsO.js} +1 -1
- package/web/app/immutable/chunks/{CArqGgyL.js → Dml826jn.js} +1 -1
- package/web/app/immutable/chunks/{DAGiwOmW.js → DnKg2UsP.js} +1 -1
- package/web/app/immutable/chunks/{BB_nvikr.js → Do-q4-tL.js} +3 -3
- package/web/app/immutable/chunks/{2cP0f-ZS.js → DrFCxV5f.js} +1 -1
- package/web/app/immutable/chunks/{BWLkc8Du.js → DsgX6aFj.js} +1 -1
- package/web/app/immutable/chunks/{BF68vBH8.js → DwovkWl8.js} +1 -1
- package/web/app/immutable/chunks/{CgWmg0h0.js → Dz2X4bjq.js} +1 -1
- package/web/app/immutable/chunks/{mdduA0pr.js → FjbzmN5N.js} +1 -1
- package/web/app/immutable/chunks/{yLsotFg8.js → G3hahPKG.js} +1 -1
- package/web/app/immutable/chunks/{DoF4MEp9.js → Iv4WzslT.js} +1 -1
- package/web/app/immutable/chunks/{D9-PpMwq.js → J08yAvVE.js} +1 -1
- package/web/app/immutable/chunks/{DFGudu4t.js → L9gWdMu_.js} +1 -1
- package/web/app/immutable/chunks/{d3gRw0Do.js → LF6JrNMn.js} +2 -2
- package/web/app/immutable/chunks/{CSpV9hdy.js → MohDaz1W.js} +2 -2
- package/web/app/immutable/chunks/{zMvJMha7.js → PotN_tv7.js} +1 -1
- package/web/app/immutable/chunks/{BU9Iey12.js → QiVjRpIE.js} +1 -1
- package/web/app/immutable/chunks/{CiQ6prZ_.js → SFie6UfG.js} +1 -1
- package/web/app/immutable/chunks/{DfBE7crq.js → T4aQylmi.js} +1 -1
- package/web/app/immutable/chunks/{DaaWvDkX.js → UdI8St87.js} +1 -1
- package/web/app/immutable/chunks/{BVL9duQ5.js → W61kh8fv.js} +6 -6
- package/web/app/immutable/chunks/{GY5YfSD1.js → WAMpa_Dp.js} +1 -1
- package/web/app/immutable/chunks/{CDSwBgYD.js → YWYRemCe.js} +1 -1
- package/web/app/immutable/chunks/{CMOnvdXp.js → Z33USrkv.js} +1 -1
- package/web/app/immutable/chunks/{BxlBk-YD.js → ZBqfJekw.js} +1 -1
- package/web/app/immutable/chunks/{Bcj40e95.js → ZQGx2tXF.js} +1 -1
- package/web/app/immutable/chunks/{Dw5VqvaP.js → _HObNlpG.js} +1 -1
- package/web/app/immutable/chunks/{CzM51AXZ.js → _UdqBB2L.js} +1 -1
- package/web/app/immutable/chunks/{ByJNkQwF.js → _sWyQxbQ.js} +2 -2
- package/web/app/immutable/chunks/{Cmu_2tL6.js → aS0Ledp-.js} +1 -1
- package/web/app/immutable/chunks/{BCGsV37m.js → ax0jsJgC.js} +1 -1
- package/web/app/immutable/chunks/{CmyB5JxB.js → bUGfWLiY.js} +1 -1
- package/web/app/immutable/chunks/{BTnJmaeL.js → by2sennB.js} +1 -1
- package/web/app/immutable/chunks/{DR6Ht6M1.js → cKtqmo72.js} +3 -3
- package/web/app/immutable/chunks/{mCK8DuNp.js → eydIaLOC.js} +1 -1
- package/web/app/immutable/chunks/{nd4329YU.js → fnykVBc7.js} +1 -1
- package/web/app/immutable/chunks/gPgah2l4.js +1 -0
- package/web/app/immutable/chunks/{4doVsrTt.js → hNHk4Bez.js} +1 -1
- package/web/app/immutable/chunks/{D2laB2lQ.js → hf8xs0et.js} +1 -1
- package/web/app/immutable/chunks/{Bd-UWJsU.js → iEpqOaep.js} +1 -1
- package/web/app/immutable/chunks/{5lryxeCY.js → jQoVJUan.js} +4 -4
- package/web/app/immutable/chunks/{C7Ro1E0r.js → k4xkU4Qm.js} +1 -1
- package/web/app/immutable/chunks/{7AKPDTqy.js → kzOxdO3b.js} +1 -1
- package/web/app/immutable/chunks/{CCPn5VZR.js → mGS2HqB-.js} +1 -1
- package/web/app/immutable/chunks/{O-buqhJY.js → ms_dJmyn.js} +1 -1
- package/web/app/immutable/chunks/{CESOOiWP.js → noMaO2Xd.js} +1 -1
- package/web/app/immutable/chunks/{DJlAXimI.js → pBwXi0xp.js} +12 -12
- package/web/app/immutable/chunks/{DXO_adPf.js → pU8ZyAzb.js} +1 -1
- package/web/app/immutable/chunks/{DCD7Mz5K.js → q1Qi1tRJ.js} +1 -1
- package/web/app/immutable/chunks/{G3lcIaVb.js → qy2N5-_J.js} +1 -1
- package/web/app/immutable/chunks/{LRsTXnWs.js → rVFNKqUq.js} +1 -1
- package/web/app/immutable/chunks/{BhJWXUqD.js → tCQts2qZ.js} +1 -1
- package/web/app/immutable/chunks/{DFEZjAED.js → uRN7AKow.js} +1 -1
- package/web/app/immutable/chunks/{Z1K5P4U2.js → vHSQX6dH.js} +1 -1
- package/web/app/immutable/chunks/{Cl-7Au8R.js → wwtnRh6M.js} +1 -1
- package/web/app/immutable/chunks/{MCnrQrjH.js → xqulUQTc.js} +1 -1
- package/web/app/immutable/chunks/{CnMdEUN9.js → yn6WWSq8.js} +1 -1
- package/web/app/immutable/chunks/{DXNrmOAj.js → zKAv0Iid.js} +1 -1
- package/web/app/immutable/chunks/{DpeaMqro.js → znAltH1L.js} +4 -4
- package/web/app/immutable/entry/{app.BAAMRv7O.js → app.DVdz1aQK.js} +3 -3
- package/web/app/immutable/entry/start.CP_dOJoI.js +1 -0
- package/web/app/immutable/nodes/{0.DyD0fi7b.js → 0.1qBEgFWI.js} +1 -1
- package/web/app/immutable/nodes/{1.BRJugl3H.js → 1.iJqMO56i.js} +1 -1
- package/web/app/immutable/nodes/{10.DU8LBbo3.js → 10.Dtdcvc6-.js} +1 -1
- package/web/app/immutable/nodes/{11.CVezrggv.js → 11.wyckreZw.js} +1 -1
- package/web/app/immutable/nodes/{12.BPw8mLRI.js → 12.-lyhlsld.js} +1 -1
- package/web/app/immutable/nodes/{13.DEB8Wg7Z.js → 13.BEDgKBg7.js} +3 -3
- package/web/app/immutable/nodes/{14.lTJrp1kU.js → 14.BRod9dtf.js} +1 -1
- package/web/app/immutable/nodes/{15.FeIesTUd.js → 15.BOsyruq5.js} +1 -1
- package/web/app/immutable/nodes/{16.CxMj36A8.js → 16.Dep56xFc.js} +2 -2
- package/web/app/immutable/nodes/{17.UWmox1Xi.js → 17.B-vrsgfn.js} +2 -2
- package/web/app/immutable/nodes/{2.CvCIoPSO.js → 2.BLWWZTlf.js} +12 -12
- package/web/app/immutable/nodes/{3.CiC6Pfn1.js → 3.DGf0u_3o.js} +2 -2
- package/web/app/immutable/nodes/4.B1fIfTX2.js +1 -0
- package/web/app/immutable/nodes/{5.BLr7NlgQ.js → 5.CJgBMBBF.js} +1 -1
- package/web/app/immutable/nodes/{6.D5uxDNVM.js → 6.CUqou9xf.js} +1 -1
- package/web/app/immutable/nodes/7.DBynvHNx.js +1 -0
- package/web/app/immutable/nodes/{8.YvvNLxxs.js → 8.BFuKMy6D.js} +4 -4
- package/web/app/immutable/nodes/{9.BiG9XKa-.js → 9.CVLLynGu.js} +5 -5
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/inline-html-sandbox.html +33 -0
- package/web/app/immutable/chunks/B-lr2mEf.js +0 -1
- package/web/app/immutable/chunks/BG8GLROv.js +0 -1
- package/web/app/immutable/chunks/BTKF7gxr.js +0 -2
- package/web/app/immutable/chunks/BeA8kzlg.js +0 -1
- package/web/app/immutable/chunks/C1MSnWt8.js +0 -1
- package/web/app/immutable/chunks/C7wbrsvU.js +0 -1
- package/web/app/immutable/chunks/Ckt4hpBJ.js +0 -1
- package/web/app/immutable/chunks/Ctfb1OGa.js +0 -271
- package/web/app/immutable/chunks/DDh9M6q9.js +0 -1
- package/web/app/immutable/chunks/DTKQLf-J.js +0 -1
- package/web/app/immutable/chunks/Dso1_H3c.js +0 -1
- package/web/app/immutable/chunks/Ld5BQbYA.js +0 -1
- package/web/app/immutable/chunks/jrcipDnr.js +0 -1
- package/web/app/immutable/chunks/o_iWJsCl.js +0 -1
- package/web/app/immutable/entry/start.BEVcXDol.js +0 -1
- package/web/app/immutable/nodes/4.BOU-eZjM.js +0 -1
- package/web/app/immutable/nodes/7.CDiSYs4g.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as U,bq as w,a_ as z,by as K,b as R,br as t1,bo as k,bt as t0,bu as r0,bs as l0}from"./Dso1_H3c.js";import{bs as j,aD as t,a5 as P,bS as D,bA as B,W as o,bn as q,c9 as d,aA as V,a7 as T,ay as y,be as F,b$ as J,aC as v,b_ as Y,bO as u1,aB as d1,bf as o0,bl as D1,ca as n0,bH as i0,bV as s0}from"./DYhIMPy1.js";import{o as g1,i as r1,u as E1,l as S1,n as N1,j as c0,v as K1}from"./CnMdEUN9.js";import{c as E}from"./B3KrGqdQ.js";import{S as X}from"./GY5YfSD1.js";import{f as R1}from"./m5UczIQR.js";import{qW as v0,qV as d0,M as h0,b5 as u0,x as g0,m as m0,aS as f0}from"./Dk1_0x0Q.js";import{s as m1}from"./BfNeIJAh.js";import{J as _0,R as A0,k as Z0,v as p0,m as b0,L as w0}from"./DAGiwOmW.js";import{S as O1,r as P1,v as V0}from"./Az9OQ8Pw.js";import{aI as C0}from"./CZ_kVWbN.js";import{I as B1}from"./C5vuxPIj.js";import"./BuxSPewv.js";var L0=new Set(["$$slots","$$events","$$legacy","children"]),M0=v('<path d="M128,12A100.11,100.11,0,0,0,28,112c0,24.86,12.86,56.8,34.41,85.44C70.63,208.36,99.64,244,128,244s57.37-35.64,65.59-46.56C215.14,168.8,228,136.86,228,112A100.11,100.11,0,0,0,128,12Zm46.41,171c-13.83,18.38-34.21,37-46.41,37s-32.58-18.61-46.41-37C63.34,158.75,52,131.54,52,112a76,76,0,0,1,152,0C204,131.54,192.66,158.75,174.41,183ZM104,148a36,36,0,0,1-36-36,12,12,0,0,1,12-12,36,36,0,0,1,36,36A12,12,0,0,1,104,148Zm84-36a36,36,0,0,1-36,36,12,12,0,0,1-12-12,36,36,0,0,1,36-36A12,12,0,0,1,188,112Zm-36,72a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24h24A12,12,0,0,1,152,184Z"></path>'),H0=v('<path d="M128,24a88,88,0,0,0-88,88c0,48.6,56,120,88,120s88-71.4,88-120A88,88,0,0,0,128,24ZM104,144a32,32,0,0,1-32-32,8,8,0,0,1,8-8,32,32,0,0,1,32,32A8,8,0,0,1,104,144Zm48,0a8,8,0,0,1-8-8,32,32,0,0,1,32-32,8,8,0,0,1,8,8A32,32,0,0,1,152,144Z" opacity="0.2"></path><path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>',1),x0=v('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16ZM64,116a12,12,0,0,1,12-12,36,36,0,0,1,36,36,12,12,0,0,1-12,12A36,36,0,0,1,64,116Zm80,84H112a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16Zm12-48a12,12,0,0,1-12-12,36,36,0,0,1,36-36,12,12,0,0,1,12,12A36,36,0,0,1,156,152Z"></path>'),I0=v('<path d="M128,18a94.11,94.11,0,0,0-94,94c0,23.6,12.41,54.2,33.21,81.83C83.27,215.18,107.68,238,128,238s44.73-22.82,60.79-44.17C209.59,166.2,222,135.6,222,112A94.11,94.11,0,0,0,128,18Zm51.21,168.62C161.48,210.17,140.91,226,128,226s-33.48-15.83-51.21-39.38C57.8,161.37,46,132.78,46,112a82,82,0,0,1,164,0C210,132.78,198.2,161.37,179.21,186.62ZM118,136A38,38,0,0,0,80,98a14,14,0,0,0-14,14,38,38,0,0,0,38,38A14,14,0,0,0,118,136Zm-14,2a26,26,0,0,1-26-26,2,2,0,0,1,2-2,26,26,0,0,1,26,26A2,2,0,0,1,104,138Zm72-40a38,38,0,0,0-38,38,14,14,0,0,0,14,14,38,38,0,0,0,38-38A14,14,0,0,0,176,98Zm-24,40a2,2,0,0,1-2-2,26,26,0,0,1,26-26,2,2,0,0,1,2,2A26,26,0,0,1,152,138Zm-2,46a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h32A6,6,0,0,1,150,184Z"></path>'),k0=v('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>'),y0=v('<path d="M128,20a92.1,92.1,0,0,0-92,92c0,23.19,12.26,53.33,32.8,80.63C84.58,213.6,108.41,236,128,236s43.42-22.4,59.2-43.37C207.74,165.33,220,135.19,220,112A92.1,92.1,0,0,0,128,20Zm52.8,167.82C162.44,212.23,141.71,228,128,228s-34.44-15.77-52.8-40.18C56,162.24,44,133.19,44,112a84,84,0,0,1,168,0C212,133.19,200.05,162.24,180.8,187.82ZM116,136a36,36,0,0,0-36-36,12,12,0,0,0-12,12,36,36,0,0,0,36,36A12,12,0,0,0,116,136Zm-12,4a28,28,0,0,1-28-28,4,4,0,0,1,4-4,28,28,0,0,1,28,28A4,4,0,0,1,104,140Zm72-40a36,36,0,0,0-36,36,12,12,0,0,0,12,12,36,36,0,0,0,36-36A12,12,0,0,0,176,100Zm-24,40a4,4,0,0,1-4-4,28,28,0,0,1,28-28,4,4,0,0,1,4,4A28,28,0,0,1,152,140Zm-4,44a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h32A4,4,0,0,1,148,184Z"></path>'),z0=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function j1(s,l){if(new.target)return U({component:j1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,L0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=z0();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=M0();o(e,a)},S=e=>{var a=H0();F(),o(e,a)},N=e=>{var a=x0();o(e,a)},g=e=>{var a=I0();o(e,a)},p=e=>{var a=k0();o(e,a)},L=e=>{var a=y0();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var S0=new Set(["$$slots","$$events","$$legacy","children"]),N0=v('<path d="M223.65,29.53a20,20,0,0,0-21.79,4.34c-.2.2-.39.4-.57.61l-15,17.3a115.34,115.34,0,0,0-116.5,0l-15-17.3c-.18-.21-.37-.41-.57-.61A20,20,0,0,0,20,48v88c0,55.14,48.45,100,108,100s108-44.86,108-100V48A20,20,0,0,0,223.65,29.53ZM212,136c0,38.22-31.35,69.93-72,75.21V197l12.49-12.49a12,12,0,0,0-17-17L128,175l-7.51-7.52a12,12,0,0,0-17,17L116,197v14.24c-40.65-5.28-72-37-72-75.21V58.74L58.54,75.47a12,12,0,0,0,16.21,1.76A86,86,0,0,1,96,65.74V88a12,12,0,0,0,24,0V60.35q4-.35,8-.35t8,.35V88a12,12,0,0,0,24,0V65.74a86.2,86.2,0,0,1,21.25,11.49,12,12,0,0,0,16.21-1.76L212,58.74Zm-112,4a16,16,0,1,1-16-16A16,16,0,0,1,100,140Zm88,0a16,16,0,1,1-16-16A16,16,0,0,1,188,140Z"></path>'),D0=v('<path d="M224,48v88c0,48.6-43,88-96,88s-96-39.4-96-88V48a8,8,0,0,1,13.66-5.66L67.6,67.6h0a102.87,102.87,0,0,1,120.8,0h0l21.94-25.24A8,8,0,0,1,224,48Z" opacity="0.2"></path><path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>',1),E0=v('<path d="M222.83,33.54a16,16,0,0,0-18.14,3.15c-.14.14-.26.27-.38.41L187.05,57A111.28,111.28,0,0,0,69,57L51.69,37.1c-.12-.14-.24-.27-.38-.41a16,16,0,0,0-18.14-3.15A16.4,16.4,0,0,0,24,48.46V136c0,49,40.06,89.63,91.56,95.32a4,4,0,0,0,4.44-4v-32l-13.42-13.43a8.22,8.22,0,0,1-.41-11.37,8,8,0,0,1,11.49-.18L128,180.68l10.34-10.35a8,8,0,0,1,11.49.18,8.22,8.22,0,0,1-.41,11.37L136,195.31v32a4,4,0,0,0,4.44,4C191.94,225.62,232,185,232,136V48.46A16.4,16.4,0,0,0,222.83,33.54ZM84,152a12,12,0,1,1,12-12A12,12,0,0,1,84,152Zm20-64a8,8,0,1,1-16,0V69a8,8,0,0,1,16,0Zm32,0a8,8,0,1,1-16,0V64a8,8,0,0,1,16,0Zm16,0V69a8,8,0,0,1,16,0V88a8,8,0,1,1-16,0Zm20,64a12,12,0,1,1,12-12A12,12,0,0,1,172,152Z"></path>'),T0=v('<path d="M221.36,35.07a14,14,0,0,0-15.26,3l-.29.3L187.42,59.58a109.16,109.16,0,0,0-118.84,0L50.19,38.41l-.29-.3A14,14,0,0,0,26,48v88c0,51.83,45.76,94,102,94s102-42.17,102-94V48A14,14,0,0,0,221.36,35.07ZM218,136c0,43.38-37.16,79-84,81.81V194.48l14.24-14.24a6,6,0,0,0-8.48-8.49L128,183.51l-11.76-11.76a6,6,0,0,0-8.48,8.49L122,194.48v23.33C75.16,215,38,179.38,38,136V48a1.91,1.91,0,0,1,1.23-1.85,2.28,2.28,0,0,1,.82-.17,1.87,1.87,0,0,1,1.26.5l21.76,25a6,6,0,0,0,8.11.88A91.52,91.52,0,0,1,90,61.68V88a6,6,0,1,0,12,0V57.51a97.85,97.85,0,0,1,20-3.32V88a6,6,0,1,0,12,0V54.19a97.85,97.85,0,0,1,20,3.32V88a6,6,0,1,0,12,0V61.68a91.52,91.52,0,0,1,18.82,10.73,6,6,0,0,0,8.11-.88l21.76-25A2,2,0,0,1,218,48ZM94,140a10,10,0,1,1-10-10A10,10,0,0,1,94,140Zm88,0a10,10,0,1,1-10-10A10,10,0,0,1,182,140Z"></path>'),O0=v('<path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>'),P0=v('<path d="M220.59,36.94a11.83,11.83,0,0,0-13.08,2.61l-.19.2L187.77,62.24a107.1,107.1,0,0,0-119.54,0L48.68,39.75l-.19-.2A12,12,0,0,0,28,48v88c0,50.72,44.86,92,100,92s100-41.27,100-92V48A11.82,11.82,0,0,0,220.59,36.94ZM220,136c0,45.09-39.12,82-88,83.91V193.66l14.83-14.83a4,4,0,1,0-5.66-5.65L128,186.35l-13.17-13.17a4,4,0,1,0-5.66,5.65L124,193.66v26.26C75.12,218,36,181.1,36,136V48a3.93,3.93,0,0,1,2.47-3.7,4.39,4.39,0,0,1,1.6-.31,3.77,3.77,0,0,1,2.67,1.1L64.58,70.23a4,4,0,0,0,5.4.59A94,94,0,0,1,92,58.74V88a4,4,0,0,0,8,0V56a100.07,100.07,0,0,1,24-3.93V88a4,4,0,0,0,8,0V52.09A100.07,100.07,0,0,1,156,56V88a4,4,0,0,0,8,0V58.74a94,94,0,0,1,22,12.08,4,4,0,0,0,5.4-.59l21.84-25.11A4,4,0,0,1,220,48ZM92,140a8,8,0,1,1-8-8A8,8,0,0,1,92,140Zm88,0a8,8,0,1,1-8-8A8,8,0,0,1,180,140Z"></path>'),B0=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function q1(s,l){if(new.target)return U({component:q1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,S0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=B0();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=N0();o(e,a)},S=e=>{var a=D0();F(),o(e,a)},N=e=>{var a=E0();o(e,a)},g=e=>{var a=T0();o(e,a)},p=e=>{var a=O0();o(e,a)},L=e=>{var a=P0();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var U0=new Set(["$$slots","$$events","$$legacy","children"]),K0=v('<path d="M212,76H32A12,12,0,0,0,20,88v48a100.24,100.24,0,0,0,26.73,68H32a12,12,0,0,0,0,24H208a12,12,0,0,0,0-24H193.27a100.75,100.75,0,0,0,20-32A44,44,0,0,0,256,128v-8A44.05,44.05,0,0,0,212,76Zm-16,60a76.27,76.27,0,0,1-42,68H86a76.27,76.27,0,0,1-42-68V100H196Zm36-8a20,20,0,0,1-12.57,18.55A97.17,97.17,0,0,0,220,136V101.68A20,20,0,0,1,232,120ZM68,48V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Z"></path>'),R0=v('<path d="M208,88v48a88,88,0,0,1-51.3,80H83.3A88,88,0,0,1,32,136V88Z" opacity="0.2"></path><path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>',1),j0=v('<path d="M208,80H32a8,8,0,0,0-8,8v48a96.3,96.3,0,0,0,32.54,72H32a8,8,0,0,0,0,16H208a8,8,0,0,0,0-16H183.46a96.59,96.59,0,0,0,27-40.09A40,40,0,0,0,248,128v-8A40,40,0,0,0,208,80Zm24,48a24,24,0,0,1-17.2,23,95.78,95.78,0,0,0,1.2-15V97.38A24,24,0,0,1,232,120ZM112,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm32,0V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0ZM80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Z"></path>'),q0=v('<path d="M82,56V24a6,6,0,0,1,12,0V56a6,6,0,0,1-12,0Zm38,6a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,120,62Zm32,0a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,152,62Zm94,58v8a38,38,0,0,1-36.94,38,94.55,94.55,0,0,1-31.13,44H208a6,6,0,0,1,0,12H32a6,6,0,0,1,0-12H62.07A94.34,94.34,0,0,1,26,136V88a6,6,0,0,1,6-6H208A38,38,0,0,1,246,120Zm-44,16V94H38v42a82.27,82.27,0,0,0,46.67,74h70.66A82.27,82.27,0,0,0,202,136Zm32-16a26,26,0,0,0-20-25.29V136a93.18,93.18,0,0,1-1.69,17.64A26,26,0,0,0,234,128Z"></path>'),G0=v('<path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>'),W0=v('<path d="M84,56V24a4,4,0,0,1,8,0V56a4,4,0,0,1-8,0Zm36,4a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,120,60Zm32,0a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,152,60Zm92,60v8a36,36,0,0,1-36,36h-.41a92.53,92.53,0,0,1-35.76,48H208a4,4,0,0,1,0,8H32a4,4,0,0,1,0-8H68.17A92.34,92.34,0,0,1,28,136V88a4,4,0,0,1,4-4H208A36,36,0,0,1,244,120Zm-40,16V92H36v44a84.28,84.28,0,0,0,48.21,76h71.58A84.28,84.28,0,0,0,204,136Zm32-16a28,28,0,0,0-24-27.71V136a91.75,91.75,0,0,1-2.2,19.94A28,28,0,0,0,236,128Z"></path>'),F0=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function G1(s,l){if(new.target)return U({component:G1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,U0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=F0();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=K0();o(e,a)},S=e=>{var a=R0();F(),o(e,a)},N=e=>{var a=j0();o(e,a)},g=e=>{var a=q0();o(e,a)},p=e=>{var a=G0();o(e,a)},L=e=>{var a=W0();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var J0=new Set(["$$slots","$$events","$$legacy","children"]),Y0=v('<path d="M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm68.24,26.18a20.42,20.42,0,0,1-8.41,1.85,19.59,19.59,0,0,1-3.83-.39V184a44.05,44.05,0,0,1-44,44H80a44.05,44.05,0,0,1-44-44V147.63a19,19,0,0,1-3.85.39,20.31,20.31,0,0,1-8.39-1.84,19.71,19.71,0,0,1-11.4-21.9l16.42-88A20,20,0,0,1,53.29,20.59l.47.13,52,15.27h44.54l52-15.27.47-.13a20,20,0,0,1,24.51,15.72l16.42,88A19.71,19.71,0,0,1,232.24,146.18Zm-60-91.63L217,112.42,204.44,45.09ZM39,112.42,83.76,54.55l-32.2-9.46ZM196,184V124.48L146.11,60H109.89L60,124.48V184a20,20,0,0,0,20,20h36v-7l-12.48-12.49a12,12,0,0,1,17-17L128,175l7.51-7.52a12,12,0,0,1,17,17L140,197v7h36A20,20,0,0,0,196,184Z"></path>'),Q0=v('<path d="M208,120.38V184a32,32,0,0,1-32,32H80a32,32,0,0,1-32-32V120.38L104,48h48Z" opacity="0.2"></path><path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>',1),X0=v('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM176,208H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm-72-68a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),$0=v('<path d="M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm65.77,10.72a14.24,14.24,0,0,1-5.89,1.29,13.72,13.72,0,0,1-9.88-4.23V184a38,38,0,0,1-38,38H80a38,38,0,0,1-38-38V137.78A13.76,13.76,0,0,1,32.11,142a14.23,14.23,0,0,1-5.88-1.29,13.82,13.82,0,0,1-8-15.34l16.42-88a14,14,0,0,1,17.16-11l.24.07L104.86,42h46.28l52.79-15.51.24-.07a14,14,0,0,1,17.16,11l16.42,88A13.81,13.81,0,0,1,229.77,140.72ZM93.88,51.27,48.84,38a1.9,1.9,0,0,0-1.49.27,2,2,0,0,0-.88,1.32l-16.42,88a2,2,0,0,0,3.54,1.61ZM202,184V122.43L149.06,54H106.94L54,122.43V184a26,26,0,0,0,26,26h42V194.48l-14.24-14.24a6,6,0,0,1,8.48-8.48L128,183.51l11.76-11.75a6,6,0,0,1,8.48,8.48L134,194.48V210h42A26,26,0,0,0,202,184ZM226,127.6l-16.42-88a2,2,0,0,0-.88-1.31,2.07,2.07,0,0,0-1.49-.27l-45,13.23,60.32,78A2,2,0,0,0,226,127.6Z"></path>'),e2=v('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.92,56h40.15L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),a2=v('<path d="M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64,8a8,8,0,1,0-8-8A8,8,0,0,0,164,148Zm64.94-9.11a12.12,12.12,0,0,1-5,1.11,11.83,11.83,0,0,1-9.35-4.62L212,132.09V184a36,36,0,0,1-36,36H80a36,36,0,0,1-36-36V132.09l-2.53,3.27A11.88,11.88,0,0,1,32.1,140a12.08,12.08,0,0,1-5-1.11,11.82,11.82,0,0,1-6.84-13.14l16.42-88a12,12,0,0,1,14.7-9.43l.16,0L104.58,44h46.84L204.5,28.4l.16,0a12,12,0,0,1,14.7,9.43l16.42,88A11.81,11.81,0,0,1,228.94,138.89ZM97.25,50.18,49.34,36.1a4.18,4.18,0,0,0-.92-.1,4,4,0,0,0-3.92,3.26l-16.42,88a4,4,0,0,0,7.08,3.22ZM204,121.75,150,52H106L52,121.75V184a28,28,0,0,0,28,28h44V193.66l-14.83-14.83a4,4,0,0,1,5.66-5.66L128,186.34l13.17-13.17a4,4,0,0,1,5.66,5.66L132,193.66V212h44a28,28,0,0,0,28-28Zm23.92,5.48-16.42-88a4,4,0,0,0-4.84-3.16L158.75,50.18l62.11,80.28a4,4,0,0,0,7.06-3.23Z"></path>'),t2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function W1(s,l){if(new.target)return U({component:W1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,J0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=t2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=Y0();o(e,a)},S=e=>{var a=Q0();F(),o(e,a)},N=e=>{var a=X0();o(e,a)},g=e=>{var a=$0();o(e,a)},p=e=>{var a=e2();o(e,a)},L=e=>{var a=a2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var r2=new Set(["$$slots","$$events","$$legacy","children"]),l2=v('<path d="M116,116a16,16,0,1,1-16-16A16,16,0,0,1,116,116Zm40-16a16,16,0,1,0,16,16A16,16,0,0,0,156,100Zm72,20v96a12,12,0,0,1-19.6,9.29L186.67,207.5l-21.74,17.79a12,12,0,0,1-15.2,0L128,207.5l-21.73,17.79a12,12,0,0,1-15.2,0L69.33,207.5,47.6,225.29A12,12,0,0,1,28,216V120a100,100,0,0,1,200,0Zm-24,0a76,76,0,0,0-152,0v70.68l9.73-8a12,12,0,0,1,15.2,0L98.67,200.5l21.73-17.79a12,12,0,0,1,15.2,0l21.73,17.79,21.74-17.79a12,12,0,0,1,15.2,0l9.73,8Z"></path>'),o2=v('<path d="M216,120v96l-29.33-24-29.34,24L128,192,98.67,216,69.33,192,40,216V120a88,88,0,0,1,176,0Z" opacity="0.2"></path><path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>',1),n2=v('<path d="M128,24a96.11,96.11,0,0,0-96,96v96a8,8,0,0,0,13.07,6.19l24.26-19.85L93.6,222.19a8,8,0,0,0,10.13,0L128,202.34l24.27,19.85a8,8,0,0,0,10.13,0l24.27-19.85,24.26,19.85A8,8,0,0,0,224,216V120A96.11,96.11,0,0,0,128,24ZM100,128a12,12,0,1,1,12-12A12,12,0,0,1,100,128Zm56,0a12,12,0,1,1,12-12A12,12,0,0,1,156,128Z"></path>'),i2=v('<path d="M110,116a10,10,0,1,1-10-10A10,10,0,0,1,110,116Zm46-10a10,10,0,1,0,10,10A10,10,0,0,0,156,106Zm66,14v96a6,6,0,0,1-9.8,4.64l-25.53-20.89-25.54,20.89a6,6,0,0,1-7.6,0L128,199.75l-25.53,20.89a6,6,0,0,1-7.6,0L69.33,199.75,43.8,220.64A6,6,0,0,1,34,216V120a94,94,0,0,1,188,0Zm-12,0a82,82,0,0,0-164,0v83.34l19.53-16a6,6,0,0,1,7.6,0l25.54,20.89,25.53-20.89a6,6,0,0,1,7.6,0l25.53,20.89,25.54-20.89a6,6,0,0,1,7.6,0l19.53,16Z"></path>'),s2=v('<path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>'),c2=v('<path d="M108,116a8,8,0,1,1-8-8A8,8,0,0,1,108,116Zm48-8a8,8,0,1,0,8,8A8,8,0,0,0,156,108Zm64,12v96a4,4,0,0,1-6.53,3.1l-26.8-21.93-26.8,21.93a4,4,0,0,1-5.07,0L128,197.17,101.2,219.1a4,4,0,0,1-5.07,0l-26.8-21.93L42.53,219.1A4,4,0,0,1,36,216V120a92,92,0,0,1,184,0Zm-8,0a84,84,0,0,0-168,0v87.56L66.8,188.9a4,4,0,0,1,5.07,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.06,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.07,0L212,207.56Z"></path>'),v2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function F1(s,l){if(new.target)return U({component:F1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,r2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=v2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=l2();o(e,a)},S=e=>{var a=o2();F(),o(e,a)},N=e=>{var a=n2();o(e,a)},g=e=>{var a=i2();o(e,a)},p=e=>{var a=s2();o(e,a)},L=e=>{var a=c2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var d2=new Set(["$$slots","$$events","$$legacy","children"]),h2=v('<path d="M176,116H152a12,12,0,0,1,0-24h24a12,12,0,0,1,0,24ZM104,92h-4V88a12,12,0,0,0-24,0v4H72a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM244.76,202.94a40,40,0,0,1-61,5.35,7,7,0,0,1-.53-.56L144.67,164H111.33L72.81,207.73c-.17.19-.35.38-.53.56A40,40,0,0,1,4.62,173.05a1.18,1.18,0,0,1,0-.2L21,88.79A63.88,63.88,0,0,1,83.88,36H172a64.08,64.08,0,0,1,62.93,52.48,1.8,1.8,0,0,1,0,.19l16.36,84.17a1.77,1.77,0,0,1,0,.2A39.74,39.74,0,0,1,244.76,202.94ZM172,140a40,40,0,0,0,0-80H83.89A39.9,39.9,0,0,0,44.62,93.06a1.55,1.55,0,0,0,0,.21l-16.34,84a16,16,0,0,0,13,18.44,16.07,16.07,0,0,0,13.86-4.21L96.9,144.07a12,12,0,0,1,9-4.07Zm55.76,37.31-7-35.95a63.84,63.84,0,0,1-44.27,22.46l24.41,27.72a16,16,0,0,0,26.85-14.23Z"></path>'),u2=v('<path d="M216.86,207.57a28,28,0,0,1-24.66-7.77L150.09,152H172a51.94,51.94,0,0,0,51.2-61h0l16.36,84.17A28,28,0,0,1,216.86,207.57Z" opacity="0.2"></path><path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>',1),g2=v('<path d="M247.44,173.75a.68.68,0,0,0,0-.14L231.05,89.44c0-.06,0-.12,0-.18A60.08,60.08,0,0,0,172,40H83.89a59.88,59.88,0,0,0-59,49.52L8.58,173.61a.68.68,0,0,0,0,.14,36,36,0,0,0,60.9,31.71l.35-.37L109.52,160h37l39.71,45.09c.11.13.23.25.35.37A36.08,36.08,0,0,0,212,216a36,36,0,0,0,35.43-42.25ZM104,112H96v8a8,8,0,0,1-16,0v-8H72a8,8,0,0,1,0-16h8V88a8,8,0,0,1,16,0v8h8a8,8,0,0,1,0,16Zm40-8a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16H152A8,8,0,0,1,144,104Zm84.37,87.47a19.84,19.84,0,0,1-12.9,8.23A20.09,20.09,0,0,1,198,194.31L167.8,160H172a60,60,0,0,0,51-28.38l8.74,45A19.82,19.82,0,0,1,228.37,191.47Z"></path>'),m2=v('<path d="M176,110H152a6,6,0,0,1,0-12h24a6,6,0,0,1,0,12ZM104,98H94V88a6,6,0,0,0-12,0V98H72a6,6,0,0,0,0,12H82v10a6,6,0,0,0,12,0V110h10a6,6,0,0,0,0-12ZM239.84,199.5A34,34,0,0,1,212,214,34.11,34.11,0,0,1,188,204.05l-.26-.28L147.38,158H108.62L68.31,203.76,68,204A34,34,0,0,1,44,214a34,34,0,0,1-33.46-39.91s0-.06,0-.1L26.9,89.88A57.89,57.89,0,0,1,83.89,42H172a58.07,58.07,0,0,1,57.05,47.63c0,.07,0,.12,0,.19L245.46,174s0,.07,0,.11A33.75,33.75,0,0,1,239.84,199.5ZM172,146a46,46,0,0,0,0-92H83.89A45.9,45.9,0,0,0,38.71,92a.36.36,0,0,0,0,.1L22.33,176.23a22,22,0,0,0,37.11,19.45l42-47.65a6,6,0,0,1,4.5-2Zm61.67,30.23-9.79-50.35A58.06,58.06,0,0,1,172,158h-8.63l33.19,37.68a22,22,0,0,0,37.11-19.45Z"></path>'),f2=v('<path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>'),_2=v('<path d="M176,108H152a4,4,0,0,1,0-8h24a4,4,0,0,1,0,8Zm-72-8H92V88a4,4,0,0,0-8,0v12H72a4,4,0,0,0,0,8H84v12a4,4,0,0,0,8,0V108h12a4,4,0,0,0,0-8Zm134.21,98.36a32,32,0,0,1-48.84,4.27l-.17-.18L148.29,156H107.72L66.81,202.44l-.18.19A32.08,32.08,0,0,1,44,212a32,32,0,0,1-31.5-37.56L28.87,90.21A55.87,55.87,0,0,1,83.89,44H172a56.07,56.07,0,0,1,55.1,46.1.29.29,0,0,1,0,.1l16.37,84.16A31.86,31.86,0,0,1,238.21,198.36ZM172,148a48,48,0,1,0,0-96H83.9A47.9,47.9,0,0,0,36.74,91.67L20.36,175.9a24,24,0,0,0,19.48,27.73,24,24,0,0,0,21-6.58l42-47.69a4,4,0,0,1,3-1.36Zm63.63,27.83-11-56.66A56.09,56.09,0,0,1,172,156H159l36.16,41.06a24,24,0,0,0,40.52-21.23Z"></path>'),A2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J1(s,l){if(new.target)return U({component:J1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,d2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=A2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=h2();o(e,a)},S=e=>{var a=u2();F(),o(e,a)},N=e=>{var a=g2();o(e,a)},g=e=>{var a=m2();o(e,a)},p=e=>{var a=f2();o(e,a)},L=e=>{var a=_2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var Z2=new Set(["$$slots","$$events","$$legacy","children"]),p2=v('<path d="M248.59,58.67c-6.31-10.87-23-21.06-66.16-9.71A95.94,95.94,0,0,0,32,128q0,3.6.26,7.14C.56,166.86,1.1,186.4,7.44,197.33,13.4,207.61,25.3,212,40.68,212c9.79,0,21-1.78,32.95-4.91A95.94,95.94,0,0,0,224,128c0-2.41-.09-4.79-.27-7.16,14.31-14.38,23.86-28.21,27-40C253.55,70.42,251.12,63,248.59,58.67ZM128,56a72.11,72.11,0,0,1,70.19,56C184,124.73,165,138.59,141.92,151.86c-21.74,12.49-43.55,22.36-63.09,28.65A72,72,0,0,1,128,56ZM28.19,185.29c-.61-1.07-.17-8.22,10.67-21.71A95.77,95.77,0,0,0,52.35,187C35.12,189.61,28.85,186.41,28.19,185.29ZM128,200a71.66,71.66,0,0,1-22.56-3.64,394.1,394.1,0,0,0,48.42-23.69A388.11,388.11,0,0,0,198.43,143,72.12,72.12,0,0,1,128,200ZM227.57,74.65c-1.28,4.78-4.81,10.87-10.39,17.8A95.74,95.74,0,0,0,203.68,69c15.83-2.37,23.17,0,24.15,1.71C228,71,228.21,72.28,227.57,74.65Z"></path>'),b2=v('<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"></path><path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>',1),w2=v('<path d="M245.11,60.68c-7.65-13.19-27.85-16.16-58.5-8.66A96,96,0,0,0,32.81,140.3C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4,96,96,0,0,0,153.78-88.25c12.51-13,20.83-25.35,23.66-35.92C248.83,72.51,248.24,66.07,245.11,60.68Zm-13.69,15c-6.11,22.78-48.65,57.31-87.52,79.64-67.81,39-113.62,41.52-119.16,32-1.46-2.51-.65-7.24,2.22-13a80.06,80.06,0,0,1,10.28-15.05,95.53,95.53,0,0,0,6.23,14.18,4,4,0,0,0,4,2.12,122.14,122.14,0,0,0,16.95-3.32c21.23-5.55,46.63-16.48,71.52-30.78s47-30.66,62.45-46.15A122.74,122.74,0,0,0,209.7,82.45a4,4,0,0,0,.17-4.52,96.26,96.26,0,0,0-9.1-12.46c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),V2=v('<path d="M243.39,61.68c-7.24-12.48-27-15-57.24-7.49A93.92,93.92,0,0,0,34.05,128a94.5,94.5,0,0,0,.9,13c-21.86,22.38-29.56,40.78-22.29,53.32,4.5,7.76,14,11.69,27.86,11.69a116.38,116.38,0,0,0,25-3.16c1.45-.32,2.92-.68,4.41-1a93.95,93.95,0,0,0,151.19-86.89c12.65-13,21.11-25.32,23.86-35.6C246.76,72.53,246.24,66.59,243.39,61.68ZM128,46a82.12,82.12,0,0,1,80.19,64.94c-16,15.3-38.14,31.67-63.3,46.12C117.49,172.82,92.79,183,72.85,188.6A82,82,0,0,1,128,46ZM23,188.3c-3.52-6.07,2.31-18.56,15-33a94,94,0,0,0,21.07,36.62C39.42,195.74,26.39,194.08,23,188.3ZM128,210a81.41,81.41,0,0,1-43.35-12.45c20.68-6.71,43.56-17.06,66.22-30.08,22.83-13.12,43.13-27.67,59.05-41.91,0,.81.06,1.62.06,2.44A82.08,82.08,0,0,1,128,210ZM233.35,76.21c-1.88,7-7.28,15.49-15.36,24.61a93.92,93.92,0,0,0-21.1-36.7c15.82-3.05,32-3.49,36.12,3.58C234.2,69.75,234.31,72.62,233.35,76.21Z"></path>'),C2=v('<path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),L2=v('<path d="M241.66,62.68c-6.73-11.58-26.58-13.8-56-6.3A92,92,0,0,0,37,141.7c-21.38,21.69-29.44,40-22.68,51.62,4.13,7.11,13,10.71,26,10.71A115.25,115.25,0,0,0,65,200.9c1.74-.39,3.52-.82,5.32-1.28A92,92,0,0,0,220,128a92.84,92.84,0,0,0-1-13.73c12.77-13,21.31-25.28,24-35.47C244.69,72.54,244.23,67.12,241.66,62.68ZM128,44a84.13,84.13,0,0,1,82.38,67.56c-16.17,15.69-38.8,32.48-64.49,47.24-27.31,15.69-52.81,26.25-73.61,32A84,84,0,0,1,128,44ZM21.25,189.3C17,182,23.75,167.7,39,151.24A92,92,0,0,0,63,193.09C40.86,198,25.47,196.58,21.25,189.3ZM128,212a83.58,83.58,0,0,1-48-15.1c21.58-6.58,45.83-17.37,69.85-31.16,24.25-13.94,45.61-29.46,61.83-44.44.18,2.21.3,4.44.3,6.7A84.1,84.1,0,0,1,128,212ZM235.28,76.73c-2.13,8-8.58,17.65-18.25,28.06a92.07,92.07,0,0,0-24.12-41.92c21.85-4.82,37.59-3.46,41.83,3.83C236.2,69.23,236.39,72.6,235.28,76.73Z"></path>'),M2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Y1(s,l){if(new.target)return U({component:Y1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,Z2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=M2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=p2();o(e,a)},S=e=>{var a=b2();F(),o(e,a)},N=e=>{var a=w2();o(e,a)},g=e=>{var a=V2();o(e,a)},p=e=>{var a=C2();o(e,a)},L=e=>{var a=L2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var H2=new Set(["$$slots","$$events","$$legacy","children"]),x2=v('<path d="M200,144H129l21.24-21.25a60.11,60.11,0,0,0,24,5.22,51.69,51.69,0,0,0,27-7.54c24-14.57,37-47.79,34.54-88.87a12,12,0,0,0-11.27-11.27c-41.09-2.41-74.31,10.49-88.87,34.54-9.24,15.24-10,33.4-2.33,51L120,119l-11.14-11.13c4.94-12.89,4-26.12-2.76-37.36C95,52.25,70.12,42.4,39.49,44.21A12,12,0,0,0,28.21,55.48c-1.8,30.64,8,55.54,26.32,66.61a40.27,40.27,0,0,0,21,5.9,45.58,45.58,0,0,0,16.31-3.13L103,136l-8,8H56a12,12,0,0,0,0,24h7.27l11.63,52.34A19.89,19.89,0,0,0,94.42,236h67.17a19.88,19.88,0,0,0,19.52-15.66L192.74,168H200a12,12,0,0,0,0-24ZM156.1,67.26C164.8,52.89,185.29,44.5,212,44c-.48,26.69-8.87,47.18-23.25,55.89-9.43,5.71-20.45,5.48-32-.62C150.61,87.71,150.39,76.69,156.1,67.26ZM85.51,101.5c-5.23,2.53-12,4-18.54.07-8.47-5.13-13.81-17.48-14.8-33.4,15.93,1,28.27,6.32,33.4,14.79C89.51,89.48,88,96.27,85.51,101.5ZM158.38,212H97.62l-9.77-44h80.31Z"></path>'),I2=v('<path d="M184,152l-14.61,65.74a8,8,0,0,1-7.81,6.26H94.42a8,8,0,0,1-7.81-6.26L72,152Z" opacity="0.2"></path><path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.6,46.4,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.23-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.92-18.31,5.15-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>',1),k2=v('<path d="M200,144h-76.7l22.41-22.41a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.43-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16Z"></path>'),y2=v('<path d="M124.24,140.24h0l21.09-21.09a58,58,0,0,0,26.49,6.79A47.55,47.55,0,0,0,196.67,119c23.07-14,35.42-46.53,33-87.09a6,6,0,0,0-5.64-5.64c-40.56-2.38-73.12,10-87.09,33-9.22,15.22-9.2,33.71-.14,51.35L120,127.51l-14.64-14.63c6.32-13,6.15-26.6-.67-37.86C94.21,57.72,70,48.44,39.85,50.21a6,6,0,0,0-5.64,5.64C32.44,86,41.72,110.2,59,120.69A36.23,36.23,0,0,0,78,126a43.4,43.4,0,0,0,18.93-4.6L111.51,136l-10,10H56a6,6,0,0,0,0,12H67.18l13.57,61a13.91,13.91,0,0,0,13.67,11h67.17a13.91,13.91,0,0,0,13.66-11l13.57-61H200a6,6,0,0,0,0-12H118.48l5.76-5.76Zm23-74.7c11-18.22,37.24-28.33,70.72-27.5.83,33.47-9.28,59.68-27.5,70.72-12.3,7.44-27.09,6.92-41.79-1.43C140.31,92.63,139.79,77.84,147.24,65.54Zm-53.66,44c-10,5.56-20,5.87-28.34.84C52.78,102.87,45.75,85,46,62c23-.29,40.88,6.78,48.42,19.24C99.45,89.54,99.14,99.56,93.58,109.58ZM176.52,158l-13,58.43a2,2,0,0,1-1.95,1.57H94.42a2,2,0,0,1-2-1.57L79.48,158Z"></path>'),z2=v('<path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.92,34-9.36,15.45-9.6,34.11-.87,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.68,136l-8,8H56a8,8,0,0,0,0,16h9.59l13.21,59.47A15.91,15.91,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.24-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.93-18.31,5.16-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>'),S2=v('<path d="M122.83,138.83h0L145,116.7c9,4.89,18.06,7.35,26.81,7.35a45.57,45.57,0,0,0,23.87-6.74c22.42-13.58,34.41-45.45,32.07-85.26A4,4,0,0,0,224,28.29c-39.81-2.35-71.68,9.65-85.26,32.07-9.21,15.2-9,33.09.61,50.68L120,130.34l-17.06-17.06c6.66-12.78,6.71-26.2,0-37.22C92.89,59.4,69.33,50.49,40,52.21A4,4,0,0,0,36.21,56c-1.73,29.36,7.19,52.92,23.85,63A34.29,34.29,0,0,0,78,124a42,42,0,0,0,19.34-5l17,17.06-12,12H56a4,4,0,0,0,0,8H68.79L82.7,218.6A11.93,11.93,0,0,0,94.42,228h67.17a11.93,11.93,0,0,0,11.71-9.4L187.21,156H200a4,4,0,0,0,0-8H113.66l9.17-9.17Zm22.7-74.32C157.15,45.31,184.8,34.8,219.9,36.1c1.29,35.1-9.21,62.74-28.41,74.37-13.08,7.92-28.77,7.32-44.29-1.68C138.21,93.28,137.61,77.59,145.53,64.51ZM95.05,111.05c-10.84,6.19-21.76,6.59-30.84,1.08C50.78,104,43.35,84.68,44,60c24.64-.69,44,6.74,52.1,20.17C101.64,89.29,101.24,100.21,95.05,111.05Zm84,45-13.53,60.87a4,4,0,0,1-3.9,3.13H94.42a4,4,0,0,1-3.91-3.13L77,156Z"></path>'),N2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Q1(s,l){if(new.target)return U({component:Q1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,H2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=N2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=x2();o(e,a)},S=e=>{var a=I2();F(),o(e,a)},N=e=>{var a=k2();o(e,a)},g=e=>{var a=y2();o(e,a)},p=e=>{var a=z2();o(e,a)},L=e=>{var a=S2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var D2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),E2=v('<svg><rect x="32" y="72" width="192" height="112" rx="24"></rect><path d="M48 152h160"></path><circle cx="192" cy="168" r="4" stroke="none"></circle></svg>');function X1(s,l){if(new.target)return U({component:X1,...s});j(l,!0);let r=w(l,"size",7,"1em"),n=w(l,"color",7,"currentColor"),f=w(l,"class",7,""),i=t1(l,D2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:K,$on:(h,A)=>R(l,h,A)},u=E2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=D(P(u),2);return B(u),Y(()=>E1(Z,"fill",n())),o(s,u),q(_)}var T2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),O2=v('<svg><rect x="48" y="40" width="160" height="176" rx="24"></rect><path d="M48 152h160M72 176h112"></path><circle cx="176" cy="192" r="4" stroke="none"></circle></svg>');function $1(s,l){if(new.target)return U({component:$1,...s});j(l,!0);let r=w(l,"size",7,"1em"),n=w(l,"color",7,"currentColor"),f=w(l,"class",7,""),i=t1(l,T2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:K,$on:(h,A)=>R(l,h,A)},u=O2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=D(P(u),2);return B(u),Y(()=>E1(Z,"fill",n())),o(s,u),q(_)}const U1={devices:h0,wildCards:u0},M1={macMini:{icon:X1,group:"devices",get label(){return k.deviceIcons_kind_macMini_label()}},macStudio:{icon:$1,group:"devices",get label(){return k.deviceIcons_kind_macStudio_label()}},laptop:{icon:w0,group:"devices",get label(){return k.deviceIcons_kind_laptop_label()}},desktop:{icon:b0,group:"devices",get label(){return k.deviceIcons_kind_desktop_label()}},server:{icon:p0,group:"devices",get label(){return k.deviceIcons_kind_server_label()}},cloudVm:{icon:Z0,group:"devices",get label(){return k.deviceIcons_kind_cloudVm_label()}},robot:{icon:A0,group:"wildCards",get label(){return k.deviceIcons_kind_robot_label()}},rocket:{icon:_0,group:"wildCards",get label(){return k.deviceIcons_kind_rocket_label()}},flyingSaucer:{icon:j1,group:"wildCards",get label(){return k.deviceIcons_kind_flyingSaucer_label()}},ghost:{icon:F1,group:"wildCards",get label(){return k.deviceIcons_kind_ghost_label()}},cat:{icon:q1,group:"wildCards",get label(){return k.deviceIcons_kind_cat_label()}},dog:{icon:W1,group:"wildCards",get label(){return k.deviceIcons_kind_dog_label()}},gameController:{icon:J1,group:"wildCards",get label(){return k.deviceIcons_kind_gameController_label()}},coffee:{icon:G1,group:"wildCards",get label(){return k.deviceIcons_kind_coffee_label()}},planet:{icon:Y1,group:"wildCards",get label(){return k.deviceIcons_kind_planet_label()}},pottedPlant:{icon:Q1,group:"wildCards",get label(){return k.deviceIcons_kind_pottedPlant_label()}}};function P2(s){return s?.toLowerCase()==="linux"?"server":"desktop"}function e0(s){return v0(s.deviceIcon)?s.deviceIcon:d0(s.detectedDeviceKind)?s.detectedDeviceKind:P2(s.os)}function B2(s){const l=e0({...s,deviceIcon:"auto"});return[{value:"auto",kind:l,group:"automatic",label:k.deviceIcons_picker_automatic_label({kind:M1[l].label})},...U1.devices.map(r=>({value:r,kind:r,group:"devices",label:M1[r].label})),...U1.wildCards.map(r=>({value:r,kind:r,group:"wildCards",label:M1[r].label}))]}function T1(s,l){if(new.target)return U({component:T1,...s});j(l,!0);let r=w(l,"record",7),n=w(l,"size",7,16),f=w(l,"class",7,""),i=w(l,"label",7);const _=d(()=>e0(r())),u=d(()=>M1[t(_)].icon);var Z={get record(){return r()},set record(c){r(c),V()},get size(){return n()},set size(c=16){n(c),V()},get class(){return f()},set class(c=""){f(c),V()},get label(){return i()},set label(c){i(c),V()},$set:K,$on:(c,m)=>R(l,c,m)},h=T(),A=y(h);{let c=d(()=>S1("shrink-0",f())),m=d(()=>i()===void 0?void 0:"img"),C=d(()=>i()===void 0?"true":void 0);E(A,()=>t(u),(x,M)=>{M(x,{get size(){return n()},get class(){return t(c)},get role(){return t(m)},get"aria-label"(){return i()},get"aria-hidden"(){return t(C)}})})}return o(s,h),q(Z)}const y1=(s,l=o0)=>{var r=U2(),n=P(r);{let _=d(()=>({deviceIcon:l().kind}));T1(n,{get record(){return t(_)}})}var f=D(n,2),i=D1(f,!0);B(r),Y(()=>u1(i,l().label)),o(s,r)};var U2=d1('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),z1=d1("<!> <!>",1),K2=d1("<!> <!> <!> <!>",1),R2=d1('<div data-testid="device-icon-picker"><!></div>');function j2(s,l){if(new.target)return U({component:j2,...s});j(l,!0);let r=w(l,"record",7),n=w(l,"value",15),f=w(l,"disabled",7,!1),i=w(l,"portal",7,!1),_=w(l,"class",7,""),u=w(l,"contentClass",7,""),Z=w(l,"onchange",7);const h=d(()=>B2(r())),A=d(()=>n()??r().deviceIcon??"auto"),c=d(()=>t(h).map(({value:e,label:a})=>({value:e,label:a}))),m=d(()=>t(h).find(e=>e.value===t(A))),C=d(()=>t(h).find(e=>e.value==="auto")),x=d(()=>({...r(),deviceIcon:t(A)})),M=d(()=>k.deviceIcons_picker_trigger_ariaLabel({selection:t(m)?.label??t(A)})),S=d(()=>t(h).filter(e=>e.group==="devices")),N=d(()=>t(h).filter(e=>e.group==="wildCards"));function g(e){const a=t(h).find(b=>b.value===e);a&&(n(a.value),Z()?.(a.value))}var p={get record(){return r()},set record(e){r(e),V()},get value(){return n()},set value(e){n(e),V()},get disabled(){return f()},set disabled(e=!1){f(e),V()},get portal(){return i()},set portal(e=!1){i(e),V()},get class(){return _()},set class(e=""){_(e),V()},get contentClass(){return u()},set contentClass(e=""){u(e),V()},get onchange(){return Z()},set onchange(e){Z(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},L=R2(),H=P(L);return E(H,()=>X.Root,(e,a)=>{a(e,{get value(){return t(A)},get items(){return t(c)},get disabled(){return f()},onchange:g,children:(b,l1)=>{var G=z1(),I=y(G);{const f1=(o1,n1)=>{R1(o1,t0(()=>(n1?.()).props,{variant:"outline",size:"icon",iconOnly:!0,class:"size-(--control-height-medium) shrink-0 justify-center p-0",get"aria-label"(){return t(M)},get tooltip(){return t(M)},children:(h1,_1)=>{T1(h1,{get record(){return t(x)}})},$$slots:{default:!0}}))};E(I,()=>X.Trigger,(o1,n1)=>{n1(o1,{get"aria-label"(){return t(M)},"data-testid":"device-icon-picker-trigger",child:f1,$$slots:{child:!0}})})}var H1=D(I,2);{let f1=d(()=>S1("w-56",u()));E(H1,()=>X.Content,(o1,n1)=>{n1(o1,{get portal(){return i()},get class(){return t(f1)},children:(C1,h1)=>{var _1=K2(),$=y(_1);{var Z1=W=>{var e1=T(),a1=y(e1);E(a1,()=>X.Item,(b1,i1)=>{i1(b1,{value:"auto",get label(){return t(C).label},children:(s1,w1)=>{y1(s1,()=>t(C))},$$slots:{default:!0}})}),o(W,e1)};z($,W=>{t(C)&&W(Z1)})}var p1=D($,2);{var x1=W=>{var e1=T(),a1=y(e1);E(a1,()=>X.Item,(b1,i1)=>{i1(b1,{get value(){return t(A)},disabled:!0,children:(s1,w1)=>{F();var O=J();Y(()=>u1(O,t(A))),o(s1,O)},$$slots:{default:!0}})}),o(W,e1)};z(p1,W=>{t(m)||W(x1)})}var L1=D(p1,2);E(L1,()=>O1,(W,e1)=>{e1(W,{children:(a1,b1)=>{var i1=z1(),s1=y(i1);E(s1,()=>P1,(O,Q)=>{Q(O,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{F();var v1=J();Y(A1=>u1(v1,A1),[()=>k.deviceIcons_group_devices_label()]),o(c1,v1)},$$slots:{default:!0}})});var w1=D(s1,2);N1(w1,17,()=>t(S),O=>O.value,(O,Q)=>{var c1=T(),V1=y(c1);E(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(O,c1)}),o(a1,i1)},$$slots:{default:!0}})});var I1=D(L1,2);E(I1,()=>O1,(W,e1)=>{e1(W,{children:(a1,b1)=>{var i1=z1(),s1=y(i1);E(s1,()=>P1,(O,Q)=>{Q(O,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{F();var v1=J();Y(A1=>u1(v1,A1),[()=>k.deviceIcons_group_wildCards_label()]),o(c1,v1)},$$slots:{default:!0}})});var w1=D(s1,2);N1(w1,17,()=>t(N),O=>O.value,(O,Q)=>{var c1=T(),V1=y(c1);E(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(O,c1)}),o(a1,i1)},$$slots:{default:!0}})}),o(C1,_1)},$$slots:{default:!0}})})}o(b,G)},$$slots:{default:!0}})}),B(L),Y(e=>K1(L,1,e),[()=>c0(S1("w-fit shrink-0",_()))]),o(s,L),q(p)}var q2=d1('<p role="note" class="type-caption text-muted-foreground"> </p>');function G2(s,l){if(new.target)return U({component:G2,...s});j(l,!0);const r=()=>r0(_,"$unavailable$",n),[n,f]=l0();let i=w(l,"relevant",7,!0);const _=C0();var u={get relevant(){return i()},set relevant(m=!0){i(m),V()},$set:K,$on:(m,C)=>R(l,m,C)},Z=T(),h=y(Z);{var A=m=>{var C=q2(),x=D1(C,!0);Y(M=>u1(x,M),[()=>k.settings_devices_tailcatUnavailable_note()]),o(m,C)};z(h,m=>{i()&&r()&&m(A)})}o(s,Z);var c=q(u);return f(),c}var W2=d1('<span class="truncate"> </span>'),F2=d1("<!> <!>",1),J2=d1('<div class="w-56 max-w-full"><!></div>'),Y2=d1("<div><!></div>");function Q2(s,l){if(new.target)return U({component:Q2,...s});j(l,!0);let r=w(l,"entry",7),n=w(l,"context",7),f=w(l,"compact",7,!0),i=s0(void 0);n0(()=>{if(r().store)return r().store.subscribe(g=>i0(i,g,!0))});const _=d(()=>r().store?t(i):r().get?.()),u=d(()=>[n().descriptionId,n().errorId].filter(Boolean).join(" ")||void 0);function Z(g){r().store?r().store.set(g):r().set?.(g)}var h={get entry(){return r()},set entry(g){r(g),V()},get context(){return n()},set context(g){n(g),V()},get compact(){return f()},set compact(g=!0){f(g),V()},$set:K,$on:(g,p)=>R(l,g,p)},A=Y2();let c;var m=P(A);{var C=g=>{var p=()=>!!t(_),L=Z;V0(g,{get id(){return n().controlId},get size(){return r().size},get checked(){return p()},set checked(H){L(H)},get disabled(){return n().disabled},get ariaLabelledby(){return n().labelId},get ariaDescribedby(){return t(u)}})},x=g=>{var p=J2(),L=P(p);{let H=d(()=>String(t(_)??""));E(L,()=>X.Root,(e,a)=>{a(e,{get value(){return t(H)},onchange:Z,get disabled(){return n().disabled},children:(b,l1)=>{var G=F2(),I=y(G);E(I,()=>X.Trigger,(f1,o1)=>{o1(f1,{get id(){return n().controlId},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},children:(n1,C1)=>{var h1=W2(),_1=D1(h1,!0);Y($=>u1(_1,$),[()=>r().options.find($=>$.value===t(_))?.label??r().placeholder??String(t(_)??"")]),o(n1,h1)},$$slots:{default:!0}})});var H1=D(I,2);E(H1,()=>X.Content,(f1,o1)=>{o1(f1,{portal:!0,class:"w-56 max-w-full",children:(n1,C1)=>{var h1=T(),_1=y(h1);N1(_1,17,()=>r().options,$=>$.value,($,Z1)=>{var p1=T(),x1=y(p1);E(x1,()=>X.Item,(L1,I1)=>{I1(L1,{get value(){return t(Z1).value},get disabled(){return t(Z1).disabled},children:(W,e1)=>{F();var a1=J();Y(()=>u1(a1,t(Z1).label)),o(W,a1)},$$slots:{default:!0}})}),o($,p1)}),o(n1,h1)},$$slots:{default:!0}})}),o(b,G)},$$slots:{default:!0}})})}B(p),o(g,p)},M=g=>{{let p=d(()=>r().kind==="input"?r().inputType??"text":"text"),L=d(()=>String(t(_)??"")),H=d(()=>r().kind!=="input"&&r().readonly),e=d(()=>r().kind==="keybinding"?void 0:r().onBlur),a=d(()=>r().kind==="keybinding"?r().onKeydown:void 0);B1(g,{get id(){return n().controlId},get type(){return t(p)},get value(){return t(L)},get placeholder(){return r().placeholder},get readonly(){return t(H)},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:b=>Z(b.currentTarget.value),get onblur(){return t(e)},get onkeydown(){return t(a)},class:"w-64 max-w-full"})}},S=g=>{B1(g,{get id(){return n().controlId},type:"number",get value(){return t(_)},get min(){return r().min},get max(){return r().max},get step(){return r().step},get placeholder(){return r().placeholder},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:p=>Z(p.currentTarget.valueAsNumber),get onblur(){return r().onBlur},class:"w-32 max-w-full"})},N=g=>{{let p=d(()=>r().variant??(r().danger?"destructive":"secondary"));R1(g,{get variant(){return t(p)},get disabled(){return n().disabled},onclick:()=>void r().action(),children:(L,H)=>{F();var e=J();Y(()=>u1(e,r().actionLabel)),o(L,e)},$$slots:{default:!0}})}};z(m,g=>{r().kind==="switch"?g(C):r().kind==="select"?g(x,1):r().kind==="input"||r().kind==="path"||r().kind==="keybinding"?g(M,2):r().kind==="number"?g(S,3):r().kind==="action"&&g(N,4)})}return B(A),Y(()=>{E1(A,"data-settings-control-kind",r().kind),c=K1(A,1,"min-w-0",null,c,{grid:!f()&&r().kind==="switch"})}),o(s,A),q(h)}const g8={blue:"bg-blue-600 dark:bg-blue-400",indigo:"bg-indigo-600 dark:bg-indigo-400",violet:"bg-violet-600 dark:bg-violet-400",rose:"bg-rose-600 dark:bg-rose-400",orange:"bg-orange-600 dark:bg-orange-400",emerald:"bg-emerald-600 dark:bg-emerald-400",teal:"bg-teal-600 dark:bg-teal-400"},X2={blue:"var(--color-blue-500)",indigo:"var(--color-indigo-500)",violet:"var(--color-violet-500)",rose:"var(--color-rose-500)",orange:"var(--color-orange-500)",emerald:"var(--color-emerald-500)",teal:"var(--color-teal-500)"};function $2(s){return s===void 0?g0:s}function m8(s){return[null,...m0.filter(l=>f0.includes(l)||l===s)]}function e8(s,l){const r=$2(s);return l||r===null?"transparent":`color-mix(in srgb, ${X2[r]} 7%, transparent)`}function f8(s,l){const r=e8(s,l);return r==="transparent"?void 0:`linear-gradient(${r} 0 0)`}export{g8 as C,T1 as D,Q2 as S,G2 as T,X2 as a,j2 as b,m8 as c,f8 as d,e8 as e,$2 as r};
|
|
1
|
+
import{t as U,br as w,a_ as z,bz as K,b as R,bs as t1,bp as k,bu as t0,bv as r0,bt as l0}from"./CEL6QztG.js";import{bs as j,aD as t,a5 as P,bS as D,bA as B,W as o,bn as q,c9 as d,aA as V,a7 as T,ay as y,be as F,b$ as J,aC as v,b_ as Y,bO as u1,aB as d1,bf as o0,bl as D1,ca as n0,bH as i0,bV as s0}from"./DYhIMPy1.js";import{o as g1,i as r1,u as E1,l as S1,n as N1,j as c0,v as K1}from"./yn6WWSq8.js";import{c as E}from"./B4USm-wY.js";import{S as X}from"./WAMpa_Dp.js";import{f as R1}from"./Cd_8r4jJ.js";import{qW as v0,qV as d0,M as h0,b5 as u0,x as g0,m as m0,aS as f0}from"./DYfeeu3f.js";import{s as m1}from"./CiSnSGvU.js";import{J as _0,R as A0,k as Z0,v as p0,m as b0,L as w0}from"./DnKg2UsP.js";import{S as O1,r as P1,v as V0}from"./BCF9Fm7Q.js";import{aI as C0}from"./50HPeG9s.js";import{I as B1}from"./DXDNvQ8c.js";import"./BAnLxjCI.js";var L0=new Set(["$$slots","$$events","$$legacy","children"]),M0=v('<path d="M128,12A100.11,100.11,0,0,0,28,112c0,24.86,12.86,56.8,34.41,85.44C70.63,208.36,99.64,244,128,244s57.37-35.64,65.59-46.56C215.14,168.8,228,136.86,228,112A100.11,100.11,0,0,0,128,12Zm46.41,171c-13.83,18.38-34.21,37-46.41,37s-32.58-18.61-46.41-37C63.34,158.75,52,131.54,52,112a76,76,0,0,1,152,0C204,131.54,192.66,158.75,174.41,183ZM104,148a36,36,0,0,1-36-36,12,12,0,0,1,12-12,36,36,0,0,1,36,36A12,12,0,0,1,104,148Zm84-36a36,36,0,0,1-36,36,12,12,0,0,1-12-12,36,36,0,0,1,36-36A12,12,0,0,1,188,112Zm-36,72a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24h24A12,12,0,0,1,152,184Z"></path>'),H0=v('<path d="M128,24a88,88,0,0,0-88,88c0,48.6,56,120,88,120s88-71.4,88-120A88,88,0,0,0,128,24ZM104,144a32,32,0,0,1-32-32,8,8,0,0,1,8-8,32,32,0,0,1,32,32A8,8,0,0,1,104,144Zm48,0a8,8,0,0,1-8-8,32,32,0,0,1,32-32,8,8,0,0,1,8,8A32,32,0,0,1,152,144Z" opacity="0.2"></path><path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>',1),x0=v('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16ZM64,116a12,12,0,0,1,12-12,36,36,0,0,1,36,36,12,12,0,0,1-12,12A36,36,0,0,1,64,116Zm80,84H112a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16Zm12-48a12,12,0,0,1-12-12,36,36,0,0,1,36-36,12,12,0,0,1,12,12A36,36,0,0,1,156,152Z"></path>'),I0=v('<path d="M128,18a94.11,94.11,0,0,0-94,94c0,23.6,12.41,54.2,33.21,81.83C83.27,215.18,107.68,238,128,238s44.73-22.82,60.79-44.17C209.59,166.2,222,135.6,222,112A94.11,94.11,0,0,0,128,18Zm51.21,168.62C161.48,210.17,140.91,226,128,226s-33.48-15.83-51.21-39.38C57.8,161.37,46,132.78,46,112a82,82,0,0,1,164,0C210,132.78,198.2,161.37,179.21,186.62ZM118,136A38,38,0,0,0,80,98a14,14,0,0,0-14,14,38,38,0,0,0,38,38A14,14,0,0,0,118,136Zm-14,2a26,26,0,0,1-26-26,2,2,0,0,1,2-2,26,26,0,0,1,26,26A2,2,0,0,1,104,138Zm72-40a38,38,0,0,0-38,38,14,14,0,0,0,14,14,38,38,0,0,0,38-38A14,14,0,0,0,176,98Zm-24,40a2,2,0,0,1-2-2,26,26,0,0,1,26-26,2,2,0,0,1,2,2A26,26,0,0,1,152,138Zm-2,46a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h32A6,6,0,0,1,150,184Z"></path>'),k0=v('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>'),y0=v('<path d="M128,20a92.1,92.1,0,0,0-92,92c0,23.19,12.26,53.33,32.8,80.63C84.58,213.6,108.41,236,128,236s43.42-22.4,59.2-43.37C207.74,165.33,220,135.19,220,112A92.1,92.1,0,0,0,128,20Zm52.8,167.82C162.44,212.23,141.71,228,128,228s-34.44-15.77-52.8-40.18C56,162.24,44,133.19,44,112a84,84,0,0,1,168,0C212,133.19,200.05,162.24,180.8,187.82ZM116,136a36,36,0,0,0-36-36,12,12,0,0,0-12,12,36,36,0,0,0,36,36A12,12,0,0,0,116,136Zm-12,4a28,28,0,0,1-28-28,4,4,0,0,1,4-4,28,28,0,0,1,28,28A4,4,0,0,1,104,140Zm72-40a36,36,0,0,0-36,36,12,12,0,0,0,12,12,36,36,0,0,0,36-36A12,12,0,0,0,176,100Zm-24,40a4,4,0,0,1-4-4,28,28,0,0,1,28-28,4,4,0,0,1,4,4A28,28,0,0,1,152,140Zm-4,44a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h32A4,4,0,0,1,148,184Z"></path>'),z0=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function j1(s,l){if(new.target)return U({component:j1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,L0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=z0();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=M0();o(e,a)},S=e=>{var a=H0();F(),o(e,a)},N=e=>{var a=x0();o(e,a)},g=e=>{var a=I0();o(e,a)},p=e=>{var a=k0();o(e,a)},L=e=>{var a=y0();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var S0=new Set(["$$slots","$$events","$$legacy","children"]),N0=v('<path d="M223.65,29.53a20,20,0,0,0-21.79,4.34c-.2.2-.39.4-.57.61l-15,17.3a115.34,115.34,0,0,0-116.5,0l-15-17.3c-.18-.21-.37-.41-.57-.61A20,20,0,0,0,20,48v88c0,55.14,48.45,100,108,100s108-44.86,108-100V48A20,20,0,0,0,223.65,29.53ZM212,136c0,38.22-31.35,69.93-72,75.21V197l12.49-12.49a12,12,0,0,0-17-17L128,175l-7.51-7.52a12,12,0,0,0-17,17L116,197v14.24c-40.65-5.28-72-37-72-75.21V58.74L58.54,75.47a12,12,0,0,0,16.21,1.76A86,86,0,0,1,96,65.74V88a12,12,0,0,0,24,0V60.35q4-.35,8-.35t8,.35V88a12,12,0,0,0,24,0V65.74a86.2,86.2,0,0,1,21.25,11.49,12,12,0,0,0,16.21-1.76L212,58.74Zm-112,4a16,16,0,1,1-16-16A16,16,0,0,1,100,140Zm88,0a16,16,0,1,1-16-16A16,16,0,0,1,188,140Z"></path>'),D0=v('<path d="M224,48v88c0,48.6-43,88-96,88s-96-39.4-96-88V48a8,8,0,0,1,13.66-5.66L67.6,67.6h0a102.87,102.87,0,0,1,120.8,0h0l21.94-25.24A8,8,0,0,1,224,48Z" opacity="0.2"></path><path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>',1),E0=v('<path d="M222.83,33.54a16,16,0,0,0-18.14,3.15c-.14.14-.26.27-.38.41L187.05,57A111.28,111.28,0,0,0,69,57L51.69,37.1c-.12-.14-.24-.27-.38-.41a16,16,0,0,0-18.14-3.15A16.4,16.4,0,0,0,24,48.46V136c0,49,40.06,89.63,91.56,95.32a4,4,0,0,0,4.44-4v-32l-13.42-13.43a8.22,8.22,0,0,1-.41-11.37,8,8,0,0,1,11.49-.18L128,180.68l10.34-10.35a8,8,0,0,1,11.49.18,8.22,8.22,0,0,1-.41,11.37L136,195.31v32a4,4,0,0,0,4.44,4C191.94,225.62,232,185,232,136V48.46A16.4,16.4,0,0,0,222.83,33.54ZM84,152a12,12,0,1,1,12-12A12,12,0,0,1,84,152Zm20-64a8,8,0,1,1-16,0V69a8,8,0,0,1,16,0Zm32,0a8,8,0,1,1-16,0V64a8,8,0,0,1,16,0Zm16,0V69a8,8,0,0,1,16,0V88a8,8,0,1,1-16,0Zm20,64a12,12,0,1,1,12-12A12,12,0,0,1,172,152Z"></path>'),T0=v('<path d="M221.36,35.07a14,14,0,0,0-15.26,3l-.29.3L187.42,59.58a109.16,109.16,0,0,0-118.84,0L50.19,38.41l-.29-.3A14,14,0,0,0,26,48v88c0,51.83,45.76,94,102,94s102-42.17,102-94V48A14,14,0,0,0,221.36,35.07ZM218,136c0,43.38-37.16,79-84,81.81V194.48l14.24-14.24a6,6,0,0,0-8.48-8.49L128,183.51l-11.76-11.76a6,6,0,0,0-8.48,8.49L122,194.48v23.33C75.16,215,38,179.38,38,136V48a1.91,1.91,0,0,1,1.23-1.85,2.28,2.28,0,0,1,.82-.17,1.87,1.87,0,0,1,1.26.5l21.76,25a6,6,0,0,0,8.11.88A91.52,91.52,0,0,1,90,61.68V88a6,6,0,1,0,12,0V57.51a97.85,97.85,0,0,1,20-3.32V88a6,6,0,1,0,12,0V54.19a97.85,97.85,0,0,1,20,3.32V88a6,6,0,1,0,12,0V61.68a91.52,91.52,0,0,1,18.82,10.73,6,6,0,0,0,8.11-.88l21.76-25A2,2,0,0,1,218,48ZM94,140a10,10,0,1,1-10-10A10,10,0,0,1,94,140Zm88,0a10,10,0,1,1-10-10A10,10,0,0,1,182,140Z"></path>'),O0=v('<path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>'),P0=v('<path d="M220.59,36.94a11.83,11.83,0,0,0-13.08,2.61l-.19.2L187.77,62.24a107.1,107.1,0,0,0-119.54,0L48.68,39.75l-.19-.2A12,12,0,0,0,28,48v88c0,50.72,44.86,92,100,92s100-41.27,100-92V48A11.82,11.82,0,0,0,220.59,36.94ZM220,136c0,45.09-39.12,82-88,83.91V193.66l14.83-14.83a4,4,0,1,0-5.66-5.65L128,186.35l-13.17-13.17a4,4,0,1,0-5.66,5.65L124,193.66v26.26C75.12,218,36,181.1,36,136V48a3.93,3.93,0,0,1,2.47-3.7,4.39,4.39,0,0,1,1.6-.31,3.77,3.77,0,0,1,2.67,1.1L64.58,70.23a4,4,0,0,0,5.4.59A94,94,0,0,1,92,58.74V88a4,4,0,0,0,8,0V56a100.07,100.07,0,0,1,24-3.93V88a4,4,0,0,0,8,0V52.09A100.07,100.07,0,0,1,156,56V88a4,4,0,0,0,8,0V58.74a94,94,0,0,1,22,12.08,4,4,0,0,0,5.4-.59l21.84-25.11A4,4,0,0,1,220,48ZM92,140a8,8,0,1,1-8-8A8,8,0,0,1,92,140Zm88,0a8,8,0,1,1-8-8A8,8,0,0,1,180,140Z"></path>'),B0=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function q1(s,l){if(new.target)return U({component:q1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,S0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=B0();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=N0();o(e,a)},S=e=>{var a=D0();F(),o(e,a)},N=e=>{var a=E0();o(e,a)},g=e=>{var a=T0();o(e,a)},p=e=>{var a=O0();o(e,a)},L=e=>{var a=P0();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var U0=new Set(["$$slots","$$events","$$legacy","children"]),K0=v('<path d="M212,76H32A12,12,0,0,0,20,88v48a100.24,100.24,0,0,0,26.73,68H32a12,12,0,0,0,0,24H208a12,12,0,0,0,0-24H193.27a100.75,100.75,0,0,0,20-32A44,44,0,0,0,256,128v-8A44.05,44.05,0,0,0,212,76Zm-16,60a76.27,76.27,0,0,1-42,68H86a76.27,76.27,0,0,1-42-68V100H196Zm36-8a20,20,0,0,1-12.57,18.55A97.17,97.17,0,0,0,220,136V101.68A20,20,0,0,1,232,120ZM68,48V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Z"></path>'),R0=v('<path d="M208,88v48a88,88,0,0,1-51.3,80H83.3A88,88,0,0,1,32,136V88Z" opacity="0.2"></path><path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>',1),j0=v('<path d="M208,80H32a8,8,0,0,0-8,8v48a96.3,96.3,0,0,0,32.54,72H32a8,8,0,0,0,0,16H208a8,8,0,0,0,0-16H183.46a96.59,96.59,0,0,0,27-40.09A40,40,0,0,0,248,128v-8A40,40,0,0,0,208,80Zm24,48a24,24,0,0,1-17.2,23,95.78,95.78,0,0,0,1.2-15V97.38A24,24,0,0,1,232,120ZM112,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm32,0V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0ZM80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Z"></path>'),q0=v('<path d="M82,56V24a6,6,0,0,1,12,0V56a6,6,0,0,1-12,0Zm38,6a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,120,62Zm32,0a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,152,62Zm94,58v8a38,38,0,0,1-36.94,38,94.55,94.55,0,0,1-31.13,44H208a6,6,0,0,1,0,12H32a6,6,0,0,1,0-12H62.07A94.34,94.34,0,0,1,26,136V88a6,6,0,0,1,6-6H208A38,38,0,0,1,246,120Zm-44,16V94H38v42a82.27,82.27,0,0,0,46.67,74h70.66A82.27,82.27,0,0,0,202,136Zm32-16a26,26,0,0,0-20-25.29V136a93.18,93.18,0,0,1-1.69,17.64A26,26,0,0,0,234,128Z"></path>'),G0=v('<path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>'),W0=v('<path d="M84,56V24a4,4,0,0,1,8,0V56a4,4,0,0,1-8,0Zm36,4a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,120,60Zm32,0a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,152,60Zm92,60v8a36,36,0,0,1-36,36h-.41a92.53,92.53,0,0,1-35.76,48H208a4,4,0,0,1,0,8H32a4,4,0,0,1,0-8H68.17A92.34,92.34,0,0,1,28,136V88a4,4,0,0,1,4-4H208A36,36,0,0,1,244,120Zm-40,16V92H36v44a84.28,84.28,0,0,0,48.21,76h71.58A84.28,84.28,0,0,0,204,136Zm32-16a28,28,0,0,0-24-27.71V136a91.75,91.75,0,0,1-2.2,19.94A28,28,0,0,0,236,128Z"></path>'),F0=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function G1(s,l){if(new.target)return U({component:G1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,U0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=F0();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=K0();o(e,a)},S=e=>{var a=R0();F(),o(e,a)},N=e=>{var a=j0();o(e,a)},g=e=>{var a=q0();o(e,a)},p=e=>{var a=G0();o(e,a)},L=e=>{var a=W0();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var J0=new Set(["$$slots","$$events","$$legacy","children"]),Y0=v('<path d="M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm68.24,26.18a20.42,20.42,0,0,1-8.41,1.85,19.59,19.59,0,0,1-3.83-.39V184a44.05,44.05,0,0,1-44,44H80a44.05,44.05,0,0,1-44-44V147.63a19,19,0,0,1-3.85.39,20.31,20.31,0,0,1-8.39-1.84,19.71,19.71,0,0,1-11.4-21.9l16.42-88A20,20,0,0,1,53.29,20.59l.47.13,52,15.27h44.54l52-15.27.47-.13a20,20,0,0,1,24.51,15.72l16.42,88A19.71,19.71,0,0,1,232.24,146.18Zm-60-91.63L217,112.42,204.44,45.09ZM39,112.42,83.76,54.55l-32.2-9.46ZM196,184V124.48L146.11,60H109.89L60,124.48V184a20,20,0,0,0,20,20h36v-7l-12.48-12.49a12,12,0,0,1,17-17L128,175l7.51-7.52a12,12,0,0,1,17,17L140,197v7h36A20,20,0,0,0,196,184Z"></path>'),Q0=v('<path d="M208,120.38V184a32,32,0,0,1-32,32H80a32,32,0,0,1-32-32V120.38L104,48h48Z" opacity="0.2"></path><path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>',1),X0=v('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM176,208H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm-72-68a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),$0=v('<path d="M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm65.77,10.72a14.24,14.24,0,0,1-5.89,1.29,13.72,13.72,0,0,1-9.88-4.23V184a38,38,0,0,1-38,38H80a38,38,0,0,1-38-38V137.78A13.76,13.76,0,0,1,32.11,142a14.23,14.23,0,0,1-5.88-1.29,13.82,13.82,0,0,1-8-15.34l16.42-88a14,14,0,0,1,17.16-11l.24.07L104.86,42h46.28l52.79-15.51.24-.07a14,14,0,0,1,17.16,11l16.42,88A13.81,13.81,0,0,1,229.77,140.72ZM93.88,51.27,48.84,38a1.9,1.9,0,0,0-1.49.27,2,2,0,0,0-.88,1.32l-16.42,88a2,2,0,0,0,3.54,1.61ZM202,184V122.43L149.06,54H106.94L54,122.43V184a26,26,0,0,0,26,26h42V194.48l-14.24-14.24a6,6,0,0,1,8.48-8.48L128,183.51l11.76-11.75a6,6,0,0,1,8.48,8.48L134,194.48V210h42A26,26,0,0,0,202,184ZM226,127.6l-16.42-88a2,2,0,0,0-.88-1.31,2.07,2.07,0,0,0-1.49-.27l-45,13.23,60.32,78A2,2,0,0,0,226,127.6Z"></path>'),e2=v('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.92,56h40.15L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),a2=v('<path d="M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64,8a8,8,0,1,0-8-8A8,8,0,0,0,164,148Zm64.94-9.11a12.12,12.12,0,0,1-5,1.11,11.83,11.83,0,0,1-9.35-4.62L212,132.09V184a36,36,0,0,1-36,36H80a36,36,0,0,1-36-36V132.09l-2.53,3.27A11.88,11.88,0,0,1,32.1,140a12.08,12.08,0,0,1-5-1.11,11.82,11.82,0,0,1-6.84-13.14l16.42-88a12,12,0,0,1,14.7-9.43l.16,0L104.58,44h46.84L204.5,28.4l.16,0a12,12,0,0,1,14.7,9.43l16.42,88A11.81,11.81,0,0,1,228.94,138.89ZM97.25,50.18,49.34,36.1a4.18,4.18,0,0,0-.92-.1,4,4,0,0,0-3.92,3.26l-16.42,88a4,4,0,0,0,7.08,3.22ZM204,121.75,150,52H106L52,121.75V184a28,28,0,0,0,28,28h44V193.66l-14.83-14.83a4,4,0,0,1,5.66-5.66L128,186.34l13.17-13.17a4,4,0,0,1,5.66,5.66L132,193.66V212h44a28,28,0,0,0,28-28Zm23.92,5.48-16.42-88a4,4,0,0,0-4.84-3.16L158.75,50.18l62.11,80.28a4,4,0,0,0,7.06-3.23Z"></path>'),t2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function W1(s,l){if(new.target)return U({component:W1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,J0),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=t2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=Y0();o(e,a)},S=e=>{var a=Q0();F(),o(e,a)},N=e=>{var a=X0();o(e,a)},g=e=>{var a=$0();o(e,a)},p=e=>{var a=e2();o(e,a)},L=e=>{var a=a2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var r2=new Set(["$$slots","$$events","$$legacy","children"]),l2=v('<path d="M116,116a16,16,0,1,1-16-16A16,16,0,0,1,116,116Zm40-16a16,16,0,1,0,16,16A16,16,0,0,0,156,100Zm72,20v96a12,12,0,0,1-19.6,9.29L186.67,207.5l-21.74,17.79a12,12,0,0,1-15.2,0L128,207.5l-21.73,17.79a12,12,0,0,1-15.2,0L69.33,207.5,47.6,225.29A12,12,0,0,1,28,216V120a100,100,0,0,1,200,0Zm-24,0a76,76,0,0,0-152,0v70.68l9.73-8a12,12,0,0,1,15.2,0L98.67,200.5l21.73-17.79a12,12,0,0,1,15.2,0l21.73,17.79,21.74-17.79a12,12,0,0,1,15.2,0l9.73,8Z"></path>'),o2=v('<path d="M216,120v96l-29.33-24-29.34,24L128,192,98.67,216,69.33,192,40,216V120a88,88,0,0,1,176,0Z" opacity="0.2"></path><path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>',1),n2=v('<path d="M128,24a96.11,96.11,0,0,0-96,96v96a8,8,0,0,0,13.07,6.19l24.26-19.85L93.6,222.19a8,8,0,0,0,10.13,0L128,202.34l24.27,19.85a8,8,0,0,0,10.13,0l24.27-19.85,24.26,19.85A8,8,0,0,0,224,216V120A96.11,96.11,0,0,0,128,24ZM100,128a12,12,0,1,1,12-12A12,12,0,0,1,100,128Zm56,0a12,12,0,1,1,12-12A12,12,0,0,1,156,128Z"></path>'),i2=v('<path d="M110,116a10,10,0,1,1-10-10A10,10,0,0,1,110,116Zm46-10a10,10,0,1,0,10,10A10,10,0,0,0,156,106Zm66,14v96a6,6,0,0,1-9.8,4.64l-25.53-20.89-25.54,20.89a6,6,0,0,1-7.6,0L128,199.75l-25.53,20.89a6,6,0,0,1-7.6,0L69.33,199.75,43.8,220.64A6,6,0,0,1,34,216V120a94,94,0,0,1,188,0Zm-12,0a82,82,0,0,0-164,0v83.34l19.53-16a6,6,0,0,1,7.6,0l25.54,20.89,25.53-20.89a6,6,0,0,1,7.6,0l25.53,20.89,25.54-20.89a6,6,0,0,1,7.6,0l19.53,16Z"></path>'),s2=v('<path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>'),c2=v('<path d="M108,116a8,8,0,1,1-8-8A8,8,0,0,1,108,116Zm48-8a8,8,0,1,0,8,8A8,8,0,0,0,156,108Zm64,12v96a4,4,0,0,1-6.53,3.1l-26.8-21.93-26.8,21.93a4,4,0,0,1-5.07,0L128,197.17,101.2,219.1a4,4,0,0,1-5.07,0l-26.8-21.93L42.53,219.1A4,4,0,0,1,36,216V120a92,92,0,0,1,184,0Zm-8,0a84,84,0,0,0-168,0v87.56L66.8,188.9a4,4,0,0,1,5.07,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.06,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.07,0L212,207.56Z"></path>'),v2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function F1(s,l){if(new.target)return U({component:F1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,r2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=v2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=l2();o(e,a)},S=e=>{var a=o2();F(),o(e,a)},N=e=>{var a=n2();o(e,a)},g=e=>{var a=i2();o(e,a)},p=e=>{var a=s2();o(e,a)},L=e=>{var a=c2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var d2=new Set(["$$slots","$$events","$$legacy","children"]),h2=v('<path d="M176,116H152a12,12,0,0,1,0-24h24a12,12,0,0,1,0,24ZM104,92h-4V88a12,12,0,0,0-24,0v4H72a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM244.76,202.94a40,40,0,0,1-61,5.35,7,7,0,0,1-.53-.56L144.67,164H111.33L72.81,207.73c-.17.19-.35.38-.53.56A40,40,0,0,1,4.62,173.05a1.18,1.18,0,0,1,0-.2L21,88.79A63.88,63.88,0,0,1,83.88,36H172a64.08,64.08,0,0,1,62.93,52.48,1.8,1.8,0,0,1,0,.19l16.36,84.17a1.77,1.77,0,0,1,0,.2A39.74,39.74,0,0,1,244.76,202.94ZM172,140a40,40,0,0,0,0-80H83.89A39.9,39.9,0,0,0,44.62,93.06a1.55,1.55,0,0,0,0,.21l-16.34,84a16,16,0,0,0,13,18.44,16.07,16.07,0,0,0,13.86-4.21L96.9,144.07a12,12,0,0,1,9-4.07Zm55.76,37.31-7-35.95a63.84,63.84,0,0,1-44.27,22.46l24.41,27.72a16,16,0,0,0,26.85-14.23Z"></path>'),u2=v('<path d="M216.86,207.57a28,28,0,0,1-24.66-7.77L150.09,152H172a51.94,51.94,0,0,0,51.2-61h0l16.36,84.17A28,28,0,0,1,216.86,207.57Z" opacity="0.2"></path><path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>',1),g2=v('<path d="M247.44,173.75a.68.68,0,0,0,0-.14L231.05,89.44c0-.06,0-.12,0-.18A60.08,60.08,0,0,0,172,40H83.89a59.88,59.88,0,0,0-59,49.52L8.58,173.61a.68.68,0,0,0,0,.14,36,36,0,0,0,60.9,31.71l.35-.37L109.52,160h37l39.71,45.09c.11.13.23.25.35.37A36.08,36.08,0,0,0,212,216a36,36,0,0,0,35.43-42.25ZM104,112H96v8a8,8,0,0,1-16,0v-8H72a8,8,0,0,1,0-16h8V88a8,8,0,0,1,16,0v8h8a8,8,0,0,1,0,16Zm40-8a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16H152A8,8,0,0,1,144,104Zm84.37,87.47a19.84,19.84,0,0,1-12.9,8.23A20.09,20.09,0,0,1,198,194.31L167.8,160H172a60,60,0,0,0,51-28.38l8.74,45A19.82,19.82,0,0,1,228.37,191.47Z"></path>'),m2=v('<path d="M176,110H152a6,6,0,0,1,0-12h24a6,6,0,0,1,0,12ZM104,98H94V88a6,6,0,0,0-12,0V98H72a6,6,0,0,0,0,12H82v10a6,6,0,0,0,12,0V110h10a6,6,0,0,0,0-12ZM239.84,199.5A34,34,0,0,1,212,214,34.11,34.11,0,0,1,188,204.05l-.26-.28L147.38,158H108.62L68.31,203.76,68,204A34,34,0,0,1,44,214a34,34,0,0,1-33.46-39.91s0-.06,0-.1L26.9,89.88A57.89,57.89,0,0,1,83.89,42H172a58.07,58.07,0,0,1,57.05,47.63c0,.07,0,.12,0,.19L245.46,174s0,.07,0,.11A33.75,33.75,0,0,1,239.84,199.5ZM172,146a46,46,0,0,0,0-92H83.89A45.9,45.9,0,0,0,38.71,92a.36.36,0,0,0,0,.1L22.33,176.23a22,22,0,0,0,37.11,19.45l42-47.65a6,6,0,0,1,4.5-2Zm61.67,30.23-9.79-50.35A58.06,58.06,0,0,1,172,158h-8.63l33.19,37.68a22,22,0,0,0,37.11-19.45Z"></path>'),f2=v('<path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>'),_2=v('<path d="M176,108H152a4,4,0,0,1,0-8h24a4,4,0,0,1,0,8Zm-72-8H92V88a4,4,0,0,0-8,0v12H72a4,4,0,0,0,0,8H84v12a4,4,0,0,0,8,0V108h12a4,4,0,0,0,0-8Zm134.21,98.36a32,32,0,0,1-48.84,4.27l-.17-.18L148.29,156H107.72L66.81,202.44l-.18.19A32.08,32.08,0,0,1,44,212a32,32,0,0,1-31.5-37.56L28.87,90.21A55.87,55.87,0,0,1,83.89,44H172a56.07,56.07,0,0,1,55.1,46.1.29.29,0,0,1,0,.1l16.37,84.16A31.86,31.86,0,0,1,238.21,198.36ZM172,148a48,48,0,1,0,0-96H83.9A47.9,47.9,0,0,0,36.74,91.67L20.36,175.9a24,24,0,0,0,19.48,27.73,24,24,0,0,0,21-6.58l42-47.69a4,4,0,0,1,3-1.36Zm63.63,27.83-11-56.66A56.09,56.09,0,0,1,172,156H159l36.16,41.06a24,24,0,0,0,40.52-21.23Z"></path>'),A2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J1(s,l){if(new.target)return U({component:J1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,d2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=A2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=h2();o(e,a)},S=e=>{var a=u2();F(),o(e,a)},N=e=>{var a=g2();o(e,a)},g=e=>{var a=m2();o(e,a)},p=e=>{var a=f2();o(e,a)},L=e=>{var a=_2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var Z2=new Set(["$$slots","$$events","$$legacy","children"]),p2=v('<path d="M248.59,58.67c-6.31-10.87-23-21.06-66.16-9.71A95.94,95.94,0,0,0,32,128q0,3.6.26,7.14C.56,166.86,1.1,186.4,7.44,197.33,13.4,207.61,25.3,212,40.68,212c9.79,0,21-1.78,32.95-4.91A95.94,95.94,0,0,0,224,128c0-2.41-.09-4.79-.27-7.16,14.31-14.38,23.86-28.21,27-40C253.55,70.42,251.12,63,248.59,58.67ZM128,56a72.11,72.11,0,0,1,70.19,56C184,124.73,165,138.59,141.92,151.86c-21.74,12.49-43.55,22.36-63.09,28.65A72,72,0,0,1,128,56ZM28.19,185.29c-.61-1.07-.17-8.22,10.67-21.71A95.77,95.77,0,0,0,52.35,187C35.12,189.61,28.85,186.41,28.19,185.29ZM128,200a71.66,71.66,0,0,1-22.56-3.64,394.1,394.1,0,0,0,48.42-23.69A388.11,388.11,0,0,0,198.43,143,72.12,72.12,0,0,1,128,200ZM227.57,74.65c-1.28,4.78-4.81,10.87-10.39,17.8A95.74,95.74,0,0,0,203.68,69c15.83-2.37,23.17,0,24.15,1.71C228,71,228.21,72.28,227.57,74.65Z"></path>'),b2=v('<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"></path><path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>',1),w2=v('<path d="M245.11,60.68c-7.65-13.19-27.85-16.16-58.5-8.66A96,96,0,0,0,32.81,140.3C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4,96,96,0,0,0,153.78-88.25c12.51-13,20.83-25.35,23.66-35.92C248.83,72.51,248.24,66.07,245.11,60.68Zm-13.69,15c-6.11,22.78-48.65,57.31-87.52,79.64-67.81,39-113.62,41.52-119.16,32-1.46-2.51-.65-7.24,2.22-13a80.06,80.06,0,0,1,10.28-15.05,95.53,95.53,0,0,0,6.23,14.18,4,4,0,0,0,4,2.12,122.14,122.14,0,0,0,16.95-3.32c21.23-5.55,46.63-16.48,71.52-30.78s47-30.66,62.45-46.15A122.74,122.74,0,0,0,209.7,82.45a4,4,0,0,0,.17-4.52,96.26,96.26,0,0,0-9.1-12.46c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),V2=v('<path d="M243.39,61.68c-7.24-12.48-27-15-57.24-7.49A93.92,93.92,0,0,0,34.05,128a94.5,94.5,0,0,0,.9,13c-21.86,22.38-29.56,40.78-22.29,53.32,4.5,7.76,14,11.69,27.86,11.69a116.38,116.38,0,0,0,25-3.16c1.45-.32,2.92-.68,4.41-1a93.95,93.95,0,0,0,151.19-86.89c12.65-13,21.11-25.32,23.86-35.6C246.76,72.53,246.24,66.59,243.39,61.68ZM128,46a82.12,82.12,0,0,1,80.19,64.94c-16,15.3-38.14,31.67-63.3,46.12C117.49,172.82,92.79,183,72.85,188.6A82,82,0,0,1,128,46ZM23,188.3c-3.52-6.07,2.31-18.56,15-33a94,94,0,0,0,21.07,36.62C39.42,195.74,26.39,194.08,23,188.3ZM128,210a81.41,81.41,0,0,1-43.35-12.45c20.68-6.71,43.56-17.06,66.22-30.08,22.83-13.12,43.13-27.67,59.05-41.91,0,.81.06,1.62.06,2.44A82.08,82.08,0,0,1,128,210ZM233.35,76.21c-1.88,7-7.28,15.49-15.36,24.61a93.92,93.92,0,0,0-21.1-36.7c15.82-3.05,32-3.49,36.12,3.58C234.2,69.75,234.31,72.62,233.35,76.21Z"></path>'),C2=v('<path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),L2=v('<path d="M241.66,62.68c-6.73-11.58-26.58-13.8-56-6.3A92,92,0,0,0,37,141.7c-21.38,21.69-29.44,40-22.68,51.62,4.13,7.11,13,10.71,26,10.71A115.25,115.25,0,0,0,65,200.9c1.74-.39,3.52-.82,5.32-1.28A92,92,0,0,0,220,128a92.84,92.84,0,0,0-1-13.73c12.77-13,21.31-25.28,24-35.47C244.69,72.54,244.23,67.12,241.66,62.68ZM128,44a84.13,84.13,0,0,1,82.38,67.56c-16.17,15.69-38.8,32.48-64.49,47.24-27.31,15.69-52.81,26.25-73.61,32A84,84,0,0,1,128,44ZM21.25,189.3C17,182,23.75,167.7,39,151.24A92,92,0,0,0,63,193.09C40.86,198,25.47,196.58,21.25,189.3ZM128,212a83.58,83.58,0,0,1-48-15.1c21.58-6.58,45.83-17.37,69.85-31.16,24.25-13.94,45.61-29.46,61.83-44.44.18,2.21.3,4.44.3,6.7A84.1,84.1,0,0,1,128,212ZM235.28,76.73c-2.13,8-8.58,17.65-18.25,28.06a92.07,92.07,0,0,0-24.12-41.92c21.85-4.82,37.59-3.46,41.83,3.83C236.2,69.23,236.39,72.6,235.28,76.73Z"></path>'),M2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Y1(s,l){if(new.target)return U({component:Y1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,Z2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=M2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=p2();o(e,a)},S=e=>{var a=b2();F(),o(e,a)},N=e=>{var a=w2();o(e,a)},g=e=>{var a=V2();o(e,a)},p=e=>{var a=C2();o(e,a)},L=e=>{var a=L2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var H2=new Set(["$$slots","$$events","$$legacy","children"]),x2=v('<path d="M200,144H129l21.24-21.25a60.11,60.11,0,0,0,24,5.22,51.69,51.69,0,0,0,27-7.54c24-14.57,37-47.79,34.54-88.87a12,12,0,0,0-11.27-11.27c-41.09-2.41-74.31,10.49-88.87,34.54-9.24,15.24-10,33.4-2.33,51L120,119l-11.14-11.13c4.94-12.89,4-26.12-2.76-37.36C95,52.25,70.12,42.4,39.49,44.21A12,12,0,0,0,28.21,55.48c-1.8,30.64,8,55.54,26.32,66.61a40.27,40.27,0,0,0,21,5.9,45.58,45.58,0,0,0,16.31-3.13L103,136l-8,8H56a12,12,0,0,0,0,24h7.27l11.63,52.34A19.89,19.89,0,0,0,94.42,236h67.17a19.88,19.88,0,0,0,19.52-15.66L192.74,168H200a12,12,0,0,0,0-24ZM156.1,67.26C164.8,52.89,185.29,44.5,212,44c-.48,26.69-8.87,47.18-23.25,55.89-9.43,5.71-20.45,5.48-32-.62C150.61,87.71,150.39,76.69,156.1,67.26ZM85.51,101.5c-5.23,2.53-12,4-18.54.07-8.47-5.13-13.81-17.48-14.8-33.4,15.93,1,28.27,6.32,33.4,14.79C89.51,89.48,88,96.27,85.51,101.5ZM158.38,212H97.62l-9.77-44h80.31Z"></path>'),I2=v('<path d="M184,152l-14.61,65.74a8,8,0,0,1-7.81,6.26H94.42a8,8,0,0,1-7.81-6.26L72,152Z" opacity="0.2"></path><path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.6,46.4,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.23-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.92-18.31,5.15-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>',1),k2=v('<path d="M200,144h-76.7l22.41-22.41a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.43-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16Z"></path>'),y2=v('<path d="M124.24,140.24h0l21.09-21.09a58,58,0,0,0,26.49,6.79A47.55,47.55,0,0,0,196.67,119c23.07-14,35.42-46.53,33-87.09a6,6,0,0,0-5.64-5.64c-40.56-2.38-73.12,10-87.09,33-9.22,15.22-9.2,33.71-.14,51.35L120,127.51l-14.64-14.63c6.32-13,6.15-26.6-.67-37.86C94.21,57.72,70,48.44,39.85,50.21a6,6,0,0,0-5.64,5.64C32.44,86,41.72,110.2,59,120.69A36.23,36.23,0,0,0,78,126a43.4,43.4,0,0,0,18.93-4.6L111.51,136l-10,10H56a6,6,0,0,0,0,12H67.18l13.57,61a13.91,13.91,0,0,0,13.67,11h67.17a13.91,13.91,0,0,0,13.66-11l13.57-61H200a6,6,0,0,0,0-12H118.48l5.76-5.76Zm23-74.7c11-18.22,37.24-28.33,70.72-27.5.83,33.47-9.28,59.68-27.5,70.72-12.3,7.44-27.09,6.92-41.79-1.43C140.31,92.63,139.79,77.84,147.24,65.54Zm-53.66,44c-10,5.56-20,5.87-28.34.84C52.78,102.87,45.75,85,46,62c23-.29,40.88,6.78,48.42,19.24C99.45,89.54,99.14,99.56,93.58,109.58ZM176.52,158l-13,58.43a2,2,0,0,1-1.95,1.57H94.42a2,2,0,0,1-2-1.57L79.48,158Z"></path>'),z2=v('<path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.92,34-9.36,15.45-9.6,34.11-.87,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.68,136l-8,8H56a8,8,0,0,0,0,16h9.59l13.21,59.47A15.91,15.91,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.24-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.93-18.31,5.16-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>'),S2=v('<path d="M122.83,138.83h0L145,116.7c9,4.89,18.06,7.35,26.81,7.35a45.57,45.57,0,0,0,23.87-6.74c22.42-13.58,34.41-45.45,32.07-85.26A4,4,0,0,0,224,28.29c-39.81-2.35-71.68,9.65-85.26,32.07-9.21,15.2-9,33.09.61,50.68L120,130.34l-17.06-17.06c6.66-12.78,6.71-26.2,0-37.22C92.89,59.4,69.33,50.49,40,52.21A4,4,0,0,0,36.21,56c-1.73,29.36,7.19,52.92,23.85,63A34.29,34.29,0,0,0,78,124a42,42,0,0,0,19.34-5l17,17.06-12,12H56a4,4,0,0,0,0,8H68.79L82.7,218.6A11.93,11.93,0,0,0,94.42,228h67.17a11.93,11.93,0,0,0,11.71-9.4L187.21,156H200a4,4,0,0,0,0-8H113.66l9.17-9.17Zm22.7-74.32C157.15,45.31,184.8,34.8,219.9,36.1c1.29,35.1-9.21,62.74-28.41,74.37-13.08,7.92-28.77,7.32-44.29-1.68C138.21,93.28,137.61,77.59,145.53,64.51ZM95.05,111.05c-10.84,6.19-21.76,6.59-30.84,1.08C50.78,104,43.35,84.68,44,60c24.64-.69,44,6.74,52.1,20.17C101.64,89.29,101.24,100.21,95.05,111.05Zm84,45-13.53,60.87a4,4,0,0,1-3.9,3.13H94.42a4,4,0,0,1-3.91-3.13L77,156Z"></path>'),N2=v('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Q1(s,l){if(new.target)return U({component:Q1,...s});j(l,!0);const r=g1();let n=w(l,"children",7),f=t1(l,H2),i=d(()=>l.weight??r.weight??"regular"),_=d(()=>l.color??r.color??"currentColor"),u=d(()=>l.size??r.size??"1em"),Z=d(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:b,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},c=N2();r1(c,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=P(c);{var C=e=>{var a=T(),b=y(a);m1(b,n),o(e,a)};z(m,e=>{n()&&e(C)})}var x=D(m,2);{var M=e=>{var a=x2();o(e,a)},S=e=>{var a=I2();F(),o(e,a)},N=e=>{var a=k2();o(e,a)},g=e=>{var a=y2();o(e,a)},p=e=>{var a=z2();o(e,a)},L=e=>{var a=S2();o(e,a)},H=e=>{var a=J();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(M):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(N,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(L,5):e(H,-1)})}return B(c),o(s,c),q(A)}var D2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),E2=v('<svg><rect x="32" y="72" width="192" height="112" rx="24"></rect><path d="M48 152h160"></path><circle cx="192" cy="168" r="4" stroke="none"></circle></svg>');function X1(s,l){if(new.target)return U({component:X1,...s});j(l,!0);let r=w(l,"size",7,"1em"),n=w(l,"color",7,"currentColor"),f=w(l,"class",7,""),i=t1(l,D2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:K,$on:(h,A)=>R(l,h,A)},u=E2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=D(P(u),2);return B(u),Y(()=>E1(Z,"fill",n())),o(s,u),q(_)}var T2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),O2=v('<svg><rect x="48" y="40" width="160" height="176" rx="24"></rect><path d="M48 152h160M72 176h112"></path><circle cx="176" cy="192" r="4" stroke="none"></circle></svg>');function $1(s,l){if(new.target)return U({component:$1,...s});j(l,!0);let r=w(l,"size",7,"1em"),n=w(l,"color",7,"currentColor"),f=w(l,"class",7,""),i=t1(l,T2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:K,$on:(h,A)=>R(l,h,A)},u=O2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=D(P(u),2);return B(u),Y(()=>E1(Z,"fill",n())),o(s,u),q(_)}const U1={devices:h0,wildCards:u0},M1={macMini:{icon:X1,group:"devices",get label(){return k.deviceIcons_kind_macMini_label()}},macStudio:{icon:$1,group:"devices",get label(){return k.deviceIcons_kind_macStudio_label()}},laptop:{icon:w0,group:"devices",get label(){return k.deviceIcons_kind_laptop_label()}},desktop:{icon:b0,group:"devices",get label(){return k.deviceIcons_kind_desktop_label()}},server:{icon:p0,group:"devices",get label(){return k.deviceIcons_kind_server_label()}},cloudVm:{icon:Z0,group:"devices",get label(){return k.deviceIcons_kind_cloudVm_label()}},robot:{icon:A0,group:"wildCards",get label(){return k.deviceIcons_kind_robot_label()}},rocket:{icon:_0,group:"wildCards",get label(){return k.deviceIcons_kind_rocket_label()}},flyingSaucer:{icon:j1,group:"wildCards",get label(){return k.deviceIcons_kind_flyingSaucer_label()}},ghost:{icon:F1,group:"wildCards",get label(){return k.deviceIcons_kind_ghost_label()}},cat:{icon:q1,group:"wildCards",get label(){return k.deviceIcons_kind_cat_label()}},dog:{icon:W1,group:"wildCards",get label(){return k.deviceIcons_kind_dog_label()}},gameController:{icon:J1,group:"wildCards",get label(){return k.deviceIcons_kind_gameController_label()}},coffee:{icon:G1,group:"wildCards",get label(){return k.deviceIcons_kind_coffee_label()}},planet:{icon:Y1,group:"wildCards",get label(){return k.deviceIcons_kind_planet_label()}},pottedPlant:{icon:Q1,group:"wildCards",get label(){return k.deviceIcons_kind_pottedPlant_label()}}};function P2(s){return s?.toLowerCase()==="linux"?"server":"desktop"}function e0(s){return v0(s.deviceIcon)?s.deviceIcon:d0(s.detectedDeviceKind)?s.detectedDeviceKind:P2(s.os)}function B2(s){const l=e0({...s,deviceIcon:"auto"});return[{value:"auto",kind:l,group:"automatic",label:k.deviceIcons_picker_automatic_label({kind:M1[l].label})},...U1.devices.map(r=>({value:r,kind:r,group:"devices",label:M1[r].label})),...U1.wildCards.map(r=>({value:r,kind:r,group:"wildCards",label:M1[r].label}))]}function T1(s,l){if(new.target)return U({component:T1,...s});j(l,!0);let r=w(l,"record",7),n=w(l,"size",7,16),f=w(l,"class",7,""),i=w(l,"label",7);const _=d(()=>e0(r())),u=d(()=>M1[t(_)].icon);var Z={get record(){return r()},set record(c){r(c),V()},get size(){return n()},set size(c=16){n(c),V()},get class(){return f()},set class(c=""){f(c),V()},get label(){return i()},set label(c){i(c),V()},$set:K,$on:(c,m)=>R(l,c,m)},h=T(),A=y(h);{let c=d(()=>S1("shrink-0",f())),m=d(()=>i()===void 0?void 0:"img"),C=d(()=>i()===void 0?"true":void 0);E(A,()=>t(u),(x,M)=>{M(x,{get size(){return n()},get class(){return t(c)},get role(){return t(m)},get"aria-label"(){return i()},get"aria-hidden"(){return t(C)}})})}return o(s,h),q(Z)}const y1=(s,l=o0)=>{var r=U2(),n=P(r);{let _=d(()=>({deviceIcon:l().kind}));T1(n,{get record(){return t(_)}})}var f=D(n,2),i=D1(f,!0);B(r),Y(()=>u1(i,l().label)),o(s,r)};var U2=d1('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),z1=d1("<!> <!>",1),K2=d1("<!> <!> <!> <!>",1),R2=d1('<div data-testid="device-icon-picker"><!></div>');function j2(s,l){if(new.target)return U({component:j2,...s});j(l,!0);let r=w(l,"record",7),n=w(l,"value",15),f=w(l,"disabled",7,!1),i=w(l,"portal",7,!1),_=w(l,"class",7,""),u=w(l,"contentClass",7,""),Z=w(l,"onchange",7);const h=d(()=>B2(r())),A=d(()=>n()??r().deviceIcon??"auto"),c=d(()=>t(h).map(({value:e,label:a})=>({value:e,label:a}))),m=d(()=>t(h).find(e=>e.value===t(A))),C=d(()=>t(h).find(e=>e.value==="auto")),x=d(()=>({...r(),deviceIcon:t(A)})),M=d(()=>k.deviceIcons_picker_trigger_ariaLabel({selection:t(m)?.label??t(A)})),S=d(()=>t(h).filter(e=>e.group==="devices")),N=d(()=>t(h).filter(e=>e.group==="wildCards"));function g(e){const a=t(h).find(b=>b.value===e);a&&(n(a.value),Z()?.(a.value))}var p={get record(){return r()},set record(e){r(e),V()},get value(){return n()},set value(e){n(e),V()},get disabled(){return f()},set disabled(e=!1){f(e),V()},get portal(){return i()},set portal(e=!1){i(e),V()},get class(){return _()},set class(e=""){_(e),V()},get contentClass(){return u()},set contentClass(e=""){u(e),V()},get onchange(){return Z()},set onchange(e){Z(e),V()},$set:K,$on:(e,a)=>R(l,e,a)},L=R2(),H=P(L);return E(H,()=>X.Root,(e,a)=>{a(e,{get value(){return t(A)},get items(){return t(c)},get disabled(){return f()},onchange:g,children:(b,l1)=>{var G=z1(),I=y(G);{const f1=(o1,n1)=>{R1(o1,t0(()=>(n1?.()).props,{variant:"outline",size:"icon",iconOnly:!0,class:"size-(--control-height-medium) shrink-0 justify-center p-0",get"aria-label"(){return t(M)},get tooltip(){return t(M)},children:(h1,_1)=>{T1(h1,{get record(){return t(x)}})},$$slots:{default:!0}}))};E(I,()=>X.Trigger,(o1,n1)=>{n1(o1,{get"aria-label"(){return t(M)},"data-testid":"device-icon-picker-trigger",child:f1,$$slots:{child:!0}})})}var H1=D(I,2);{let f1=d(()=>S1("w-56",u()));E(H1,()=>X.Content,(o1,n1)=>{n1(o1,{get portal(){return i()},get class(){return t(f1)},children:(C1,h1)=>{var _1=K2(),$=y(_1);{var Z1=W=>{var e1=T(),a1=y(e1);E(a1,()=>X.Item,(b1,i1)=>{i1(b1,{value:"auto",get label(){return t(C).label},children:(s1,w1)=>{y1(s1,()=>t(C))},$$slots:{default:!0}})}),o(W,e1)};z($,W=>{t(C)&&W(Z1)})}var p1=D($,2);{var x1=W=>{var e1=T(),a1=y(e1);E(a1,()=>X.Item,(b1,i1)=>{i1(b1,{get value(){return t(A)},disabled:!0,children:(s1,w1)=>{F();var O=J();Y(()=>u1(O,t(A))),o(s1,O)},$$slots:{default:!0}})}),o(W,e1)};z(p1,W=>{t(m)||W(x1)})}var L1=D(p1,2);E(L1,()=>O1,(W,e1)=>{e1(W,{children:(a1,b1)=>{var i1=z1(),s1=y(i1);E(s1,()=>P1,(O,Q)=>{Q(O,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{F();var v1=J();Y(A1=>u1(v1,A1),[()=>k.deviceIcons_group_devices_label()]),o(c1,v1)},$$slots:{default:!0}})});var w1=D(s1,2);N1(w1,17,()=>t(S),O=>O.value,(O,Q)=>{var c1=T(),V1=y(c1);E(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(O,c1)}),o(a1,i1)},$$slots:{default:!0}})});var I1=D(L1,2);E(I1,()=>O1,(W,e1)=>{e1(W,{children:(a1,b1)=>{var i1=z1(),s1=y(i1);E(s1,()=>P1,(O,Q)=>{Q(O,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{F();var v1=J();Y(A1=>u1(v1,A1),[()=>k.deviceIcons_group_wildCards_label()]),o(c1,v1)},$$slots:{default:!0}})});var w1=D(s1,2);N1(w1,17,()=>t(N),O=>O.value,(O,Q)=>{var c1=T(),V1=y(c1);E(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(O,c1)}),o(a1,i1)},$$slots:{default:!0}})}),o(C1,_1)},$$slots:{default:!0}})})}o(b,G)},$$slots:{default:!0}})}),B(L),Y(e=>K1(L,1,e),[()=>c0(S1("w-fit shrink-0",_()))]),o(s,L),q(p)}var q2=d1('<p role="note" class="type-caption text-muted-foreground"> </p>');function G2(s,l){if(new.target)return U({component:G2,...s});j(l,!0);const r=()=>r0(_,"$unavailable$",n),[n,f]=l0();let i=w(l,"relevant",7,!0);const _=C0();var u={get relevant(){return i()},set relevant(m=!0){i(m),V()},$set:K,$on:(m,C)=>R(l,m,C)},Z=T(),h=y(Z);{var A=m=>{var C=q2(),x=D1(C,!0);Y(M=>u1(x,M),[()=>k.settings_devices_tailcatUnavailable_note()]),o(m,C)};z(h,m=>{i()&&r()&&m(A)})}o(s,Z);var c=q(u);return f(),c}var W2=d1('<span class="truncate"> </span>'),F2=d1("<!> <!>",1),J2=d1('<div class="w-56 max-w-full"><!></div>'),Y2=d1("<div><!></div>");function Q2(s,l){if(new.target)return U({component:Q2,...s});j(l,!0);let r=w(l,"entry",7),n=w(l,"context",7),f=w(l,"compact",7,!0),i=s0(void 0);n0(()=>{if(r().store)return r().store.subscribe(g=>i0(i,g,!0))});const _=d(()=>r().store?t(i):r().get?.()),u=d(()=>[n().descriptionId,n().errorId].filter(Boolean).join(" ")||void 0);function Z(g){r().store?r().store.set(g):r().set?.(g)}var h={get entry(){return r()},set entry(g){r(g),V()},get context(){return n()},set context(g){n(g),V()},get compact(){return f()},set compact(g=!0){f(g),V()},$set:K,$on:(g,p)=>R(l,g,p)},A=Y2();let c;var m=P(A);{var C=g=>{var p=()=>!!t(_),L=Z;V0(g,{get id(){return n().controlId},get size(){return r().size},get checked(){return p()},set checked(H){L(H)},get disabled(){return n().disabled},get ariaLabelledby(){return n().labelId},get ariaDescribedby(){return t(u)}})},x=g=>{var p=J2(),L=P(p);{let H=d(()=>String(t(_)??""));E(L,()=>X.Root,(e,a)=>{a(e,{get value(){return t(H)},onchange:Z,get disabled(){return n().disabled},children:(b,l1)=>{var G=F2(),I=y(G);E(I,()=>X.Trigger,(f1,o1)=>{o1(f1,{get id(){return n().controlId},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},children:(n1,C1)=>{var h1=W2(),_1=D1(h1,!0);Y($=>u1(_1,$),[()=>r().options.find($=>$.value===t(_))?.label??r().placeholder??String(t(_)??"")]),o(n1,h1)},$$slots:{default:!0}})});var H1=D(I,2);E(H1,()=>X.Content,(f1,o1)=>{o1(f1,{portal:!0,class:"w-56 max-w-full",children:(n1,C1)=>{var h1=T(),_1=y(h1);N1(_1,17,()=>r().options,$=>$.value,($,Z1)=>{var p1=T(),x1=y(p1);E(x1,()=>X.Item,(L1,I1)=>{I1(L1,{get value(){return t(Z1).value},get disabled(){return t(Z1).disabled},children:(W,e1)=>{F();var a1=J();Y(()=>u1(a1,t(Z1).label)),o(W,a1)},$$slots:{default:!0}})}),o($,p1)}),o(n1,h1)},$$slots:{default:!0}})}),o(b,G)},$$slots:{default:!0}})})}B(p),o(g,p)},M=g=>{{let p=d(()=>r().kind==="input"?r().inputType??"text":"text"),L=d(()=>String(t(_)??"")),H=d(()=>r().kind!=="input"&&r().readonly),e=d(()=>r().kind==="keybinding"?void 0:r().onBlur),a=d(()=>r().kind==="keybinding"?r().onKeydown:void 0);B1(g,{get id(){return n().controlId},get type(){return t(p)},get value(){return t(L)},get placeholder(){return r().placeholder},get readonly(){return t(H)},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:b=>Z(b.currentTarget.value),get onblur(){return t(e)},get onkeydown(){return t(a)},class:"w-64 max-w-full"})}},S=g=>{B1(g,{get id(){return n().controlId},type:"number",get value(){return t(_)},get min(){return r().min},get max(){return r().max},get step(){return r().step},get placeholder(){return r().placeholder},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:p=>Z(p.currentTarget.valueAsNumber),get onblur(){return r().onBlur},class:"w-32 max-w-full"})},N=g=>{{let p=d(()=>r().variant??(r().danger?"destructive":"secondary"));R1(g,{get variant(){return t(p)},get disabled(){return n().disabled},onclick:()=>void r().action(),children:(L,H)=>{F();var e=J();Y(()=>u1(e,r().actionLabel)),o(L,e)},$$slots:{default:!0}})}};z(m,g=>{r().kind==="switch"?g(C):r().kind==="select"?g(x,1):r().kind==="input"||r().kind==="path"||r().kind==="keybinding"?g(M,2):r().kind==="number"?g(S,3):r().kind==="action"&&g(N,4)})}return B(A),Y(()=>{E1(A,"data-settings-control-kind",r().kind),c=K1(A,1,"min-w-0",null,c,{grid:!f()&&r().kind==="switch"})}),o(s,A),q(h)}const g8={blue:"bg-blue-600 dark:bg-blue-400",indigo:"bg-indigo-600 dark:bg-indigo-400",violet:"bg-violet-600 dark:bg-violet-400",rose:"bg-rose-600 dark:bg-rose-400",orange:"bg-orange-600 dark:bg-orange-400",emerald:"bg-emerald-600 dark:bg-emerald-400",teal:"bg-teal-600 dark:bg-teal-400"},X2={blue:"var(--color-blue-500)",indigo:"var(--color-indigo-500)",violet:"var(--color-violet-500)",rose:"var(--color-rose-500)",orange:"var(--color-orange-500)",emerald:"var(--color-emerald-500)",teal:"var(--color-teal-500)"};function $2(s){return s===void 0?g0:s}function m8(s){return[null,...m0.filter(l=>f0.includes(l)||l===s)]}function e8(s,l){const r=$2(s);return l||r===null?"transparent":`color-mix(in srgb, ${X2[r]} 7%, transparent)`}function f8(s,l){const r=e8(s,l);return r==="transparent"?void 0:`linear-gradient(${r} 0 0)`}export{g8 as C,T1 as D,Q2 as S,G2 as T,X2 as a,j2 as b,m8 as c,f8 as d,e8 as e,$2 as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as Ot,bq as D,bo as u,a_ as W,by as Ft,b as Dt}from"./Dso1_H3c.js";import{bs as Rt,bV as K,br as rt,bk as er,bj as tr,bH as r,a5 as c,aD as e,bS as n,bl as S,bA as l,b_ as g,bO as m,W as o,bn as Gt,aA as R,c9 as z,be as Ve,b$ as Be,aB as b,c5 as mt,ca as ft,a7 as Ue,ay as U,ai as rr,aj as ar,bf as sr}from"./DYhIMPy1.js";import{I as or,v as Oe,j as gt,n as Xe,u as nr}from"./CnMdEUN9.js";import{c as Ee}from"./B3KrGqdQ.js";import{I as Fe,D as Ze,h as $t}from"./Cl-7Au8R.js";import{b as xt}from"./BaIAhI85.js";import{F as Te,cL as ir,aq as lr,cE as bt,cV as Pt,c7 as cr}from"./DAGiwOmW.js";import{f as we}from"./m5UczIQR.js";import"./BAOVYkFF.js";import{t as nt}from"./DpeaMqro.js";import{M as dr}from"./GY5YfSD1.js";import{e as pr,W as _e}from"./CSpV9hdy.js";import{h as Ct,i as Et,g as Tt,P as At}from"./BuNYZSRv.js";import{C as ht}from"./CSSojjBG.js";import{c as ur}from"./ChTqQfQN.js";import"./BfNeIJAh.js";import{d as vr}from"./DfBE7crq.js";import{Ik as _r}from"./Dk1_0x0Q.js";import{dC as mr}from"./CArqGgyL.js";import{S as et,k as fr,a as jt}from"./CKaKgIKD.js";import{R as qe,c as it,m as gr,bD as tt}from"./BB_nvikr.js";import"./SQzrn-hj.js";var xr=b('<div class="w-2 h-2 bg-green-500 rounded-full animate-pulse"></div>'),br=b('<div class="text-sm text-danger bg-danger-background/10 rounded-md p-3"> </div>'),hr=b('<div class="flex items-center gap-2 text-subtle"><!> <span class="text-sm"> </span></div>'),Sr=b('<div class="p-4 max-h-60 overflow-y-auto overscroll-contain"><!></div>'),yr=b('<div class="p-3 bg-muted/30"><div class="flex items-center justify-between mb-2"><div class="flex items-center gap-2"><!> <span class="text-sm font-medium"> </span></div> <!></div> <p class="text-xs text-subtle mb-2"> </p> <div class="h-32 rounded border border-border overflow-hidden"><!></div></div>'),wr=b('<div class="flex flex-col bg-background border border-border rounded-lg overflow-hidden"><div class="flex items-center justify-between px-3 py-2 border-b border-border bg-muted/30"><div class="flex items-center gap-2"><!> <span class="text-sm font-medium"> </span> <!></div> <div class="flex items-center gap-1"><!></div></div> <!> <!></div>');function St(He,P){if(new.target)return Ot({component:St,...He});Rt(P,!0);const at=ur("SetupScriptAgent");let Ae=D(P,"repoPath",7),De=D(P,"onScriptGenerated",7),Re=D(P,"onClose",7),Ge=K(rt(crypto.randomUUID())),O=K(!1),ae=K(null),me=!1,ie=K(null);er(()=>{me=!0,C()}),tr(()=>{me=!1});async function le(){try{const v=mr.select(_r.state).find(E=>E.repositoryPath===Ae()||E.path===Ae()||E.worktreePath===Ae());return v?String(v.id):null}catch{return null}}async function C(){r(O,!0),r(ae,null),r(ie,null);try{const s=await le();if(!me)return;if(!s){r(ae,u.workspace_setupScriptAgent_noWorkspace_error(),!0),r(O,!1);return}const v=await vr.setupScripts.generate(s);if(!me)return;if(!v||!v.script){r(ae,u.workspace_setupScriptAgent_generateFailed_error(),!0),r(O,!1);return}r(ie,{name:v.projectType?u.workspace_setupScriptAgent_projectTypeSetup_label({projectType:v.projectType}):u.workspace_setupScriptAgent_generatedSetup_label(),description:v.projectType?u.workspace_setupScriptAgent_generatedForProject_description({projectType:v.projectType}):u.workspace_setupScriptAgent_generatedFromAnalysis_description(),content:v.script},!0),r(O,!1)}catch(s){if(at.error("Failed to generate setup script",s),!me)return;r(ae,s instanceof Error?s.message:u.workspace_setupScriptAgent_generateFailed_error(),!0),r(O,!1)}}function fe(s){De()?.(s)}var ge={get repoPath(){return Ae()},set repoPath(s){Ae(s),R()},get onScriptGenerated(){return De()},set onScriptGenerated(s){De(s),R()},get onClose(){return Re()},set onClose(s){Re(s),R()},$set:Ft,$on:(s,v)=>Dt(P,s,v)},ce=wr(),xe=c(ce),be=c(xe),Le=c(be);pr(Le,{variant:"standard",get agentId(){return e(Ge)}});var Me=n(Le,2),je=S(Me,!0),he=n(Me,2);{var de=s=>{var v=xr();o(s,v)};W(he,s=>{e(O)&&s(de)})}l(be);var J=n(be,2),ke=c(J);{let s=z(()=>u.workspace_setupScriptAgent_close_ariaLabel());we(ke,{variant:"ghost-light",size:"icon-sm",iconOnly:!0,get"aria-label"(){return e(s)},get onclick(){return Re()},children:(v,E)=>{Te(v,{get icon(){return ir}})},$$slots:{default:!0}})}l(J),l(xe);var $e=n(xe,2);{var Ie=s=>{var v=Sr(),E=c(v);{var q=B=>{var G=br(),Q=S(G,!0);g(()=>m(Q,e(ae))),o(B,G)},se=B=>{var G=hr(),Q=c(G);or(Q,{size:16,class:"text-primary"});var Se=n(Q,2),ze=S(Se,!0);l(G),g(ye=>m(ze,ye),[()=>u.workspace_setupScriptAgent_analyzing_label()]),o(B,G)};W(E,B=>{e(ae)?B(q):B(se,-1)})}l(v),o(s,v)};W($e,s=>{(e(ae)||e(O))&&s(Ie)})}var Ye=n($e,2);{var pe=s=>{var v=yr(),E=c(v),q=c(E),se=c(q);Te(se,{get icon(){return lr},class:"text-green-500"});var B=n(se,2),G=S(B,!0);l(q);var Q=n(q,2);we(Q,{variant:"primary",size:"sm",onclick:()=>fe(e(ie)),class:"h-7",children:(Pe,st)=>{Ve();var Je=Be();g(ct=>m(Je,ct),[()=>u.workspace_setupScriptAgent_createScript_label()]),o(Pe,Je)},$$slots:{default:!0}}),l(E);var Se=n(E,2),ze=S(Se,!0),ye=n(Se,2),lt=c(ye);ht(lt,{get value(){return e(ie).content},language:"shell",readOnly:!0,lineNumbers:!1}),l(ye),l(v),g(()=>{m(G,e(ie).name),m(ze,e(ie).description)}),o(s,v)};W(Ye,s=>{e(ie)&&!e(O)&&s(pe)})}return l(ce),g(s=>m(je,s),[()=>u.workspace_setupScriptAgent_title()]),o(He,ce),Gt(ge)}var kr=b('<span class="block truncate"> </span>'),$r=b("<div></div>"),Pr=b('<div role="group"></div> <div class="mt-2 border-t border-border pt-2"><!></div> <!> <div class="mt-2 border-t border-border pt-2"><!> <!></div>',1),Cr=b('<code class="type-caption text-muted-foreground"> </code>'),Er=b('<p> </p> <code class="type-caption"> </code>',1),It=b("<!> <!>",1),Tr=b('<div class="mt-2 flex flex-wrap gap-2 px-2"></div>'),Ar=b('<div class="h-44 min-w-0 overflow-hidden rounded-(--radius-medium) border border-border bg-background py-2"><!></div> <div class="mt-2 px-1"><!> <!></div>',1),jr=b('<div class="mb-2 flex items-center justify-between gap-3 px-2"><div class="min-w-0"><h3> </h3> <p class="type-caption truncate text-muted-foreground"> </p></div> <!></div> <!>',1),Ke=b("<div><!></div>"),Ir=b("<!> ",1),Nt=b('<div class="min-w-0 w-full"><span class="text-sm"> </span> <p class="text-xs text-subtle mt-0.5"> </p></div>'),Ut=b('<div class="mb-4"><h4 class="type-caption font-medium text-muted-foreground mb-1.5 px-2"> </h4> <!></div>'),Nr=b('<span class="type-caption px-1.5 py-0.5 rounded-full bg-primary/10 text-primary font-medium shrink-0"> </span>'),Ur=b('<div class="min-w-0 w-full"><div class="flex flex-wrap items-center gap-x-2 gap-y-1"><span class="text-sm"> </span> <!></div> <p class="text-xs text-subtle mt-0.5"> </p></div>'),Or=b('<div class="mb-4"><h4 class="type-caption font-medium text-muted-foreground mb-1.5 px-2"> </h4> <p class="text-xs text-subtle px-2 mb-2"> </p> <!></div> <!> <!> <div class="mb-4"><h4 class="type-caption font-medium text-muted-foreground mb-1.5 px-2"> </h4> <!></div>',1),Fr=b('<code class="type-caption px-1.5 py-0.5 rounded bg-background/80 text-muted-foreground font-mono cursor-pointer hover:bg-background hover:text-foreground transition-colors"> </code>'),Dr=b('<p class="text-xs"> </p> <p class="mt-1 text-xs text-muted-foreground"> <code class="type-caption"> </code></p>',1),Rr=b('<div class="flex flex-wrap items-center gap-x-3 gap-y-1.5 px-3 py-1.5 bg-muted/30 shrink-0"><span class="type-caption font-medium text-muted-foreground shrink-0"> </span> <div class="flex flex-wrap gap-1.5"></div></div> <div class="flex-1 min-h-0 min-w-0 overflow-hidden py-3 bg-background"><!></div>',1),Gr=b('<div class="flex min-h-0 min-w-0 flex-col overflow-y-auto"><!></div> <div class="flex min-h-0 min-w-0 flex-col"><!></div>',1),Lr=b('<div class="flex flex-col min-h-0 min-w-0 overflow-y-auto p-2 md:pr-4"><!></div> <div class="flex flex-col min-w-0 min-h-0"><!></div>',1),Mr=b('<!> <span class="text-sm font-normal text-subtle"> </span> <span class="text-subtle font-normal"> </span>',1),zr=b('<div class="mt-1 pl-7 space-y-3"><!></div>'),Wr=b('<div class="space-y-3"><!></div>'),qr=b("<div><!> <!></div> <!>",1);function Kr(He,P){if(new.target)return Ot({component:Kr,...He});Rt(P,!0);const at=(t,a=sr)=>{{const w=_=>{Te(_,{get icon(){return bt},get class(){return _e.icon}})},j=_=>{var i=kr(),f=S(i,!0);g(()=>m(f,a().name)),o(_,i)},T=_=>{{let i=z(()=>e(st)===a().id?"checked":"empty");dr(_,{get state(){return e(i)}})}};let h=z(()=>e(st)===a().id),$=z(()=>e(st)===a().id);nt(t,{get selected(){return e(h)},get"aria-pressed"(){return e($)},get"data-setup-source"(){return a().id},get class(){return _e.row},onclick:()=>a().id==="custom"?Lt():ye(a().id),leading:w,title:j,trailing:T,$$slots:{leading:!0,title:!0,trailing:!0}})}},Ae=t=>{var a=Ke(),w=c(a);{var j=h=>{var $=Pr(),_=U($);Xe(_,21,()=>e(Je),I=>I.id,(I,F)=>{at(I,()=>e(F))}),l(_);var i=n(_,2),f=c(i);nt(f,{get"aria-expanded"(){return e($e)},get class(){return _e.row},onclick:()=>r($e,!e($e)),leading:y=>{Te(y,{get icon(){return cr},get class(){return _e.icon}})},title:y=>{Ve();var d=Be();g(p=>m(d,p),[()=>u.workspace_setupScriptEditor_templates_label()]),o(y,d)},$$slots:{leading:!0,title:!0}}),l(i);var x=n(i,2);{var k=I=>{var F=$r();Xe(F,21,()=>e(ct),y=>y.id,(y,d)=>{at(y,()=>({id:`template-${e(d).id}`,name:e(d).name}))}),l(F),Fe(3,F,()=>Ze,()=>({tier:"moderate"})),o(I,F)};W(x,I=>{e($e)&&I(k)})}var L=n(x,2),ue=c(L);nt(ue,{get class(){return _e.row},onclick:()=>r(ke,!0),leading:y=>{Te(y,{get icon(){return bt},get class(){return _e.icon}})},title:y=>{Ve();var d=Be();g(p=>m(d,p),[()=>u.workspace_setupScriptPicker_edit_label()]),o(y,d)},$$slots:{leading:!0,title:!0}});var ve=n(ue,2);{const I=d=>{Te(d,{get icon(){return Pt},get class(){return _e.icon}})},F=d=>{Ve();var p=Be();g(N=>m(p,N),[()=>u.workspace_setupScriptEditor_autoGenerate_label()]),o(d,p)};let y=z(()=>!O());nt(ve,{get class(){return _e.row},get disabled(){return e(y)},onclick:()=>{r(ke,!0),r(J,!0)},leading:I,title:F,$$slots:{leading:!0,title:!0}})}l(L),g(I=>nr(_,"aria-label",I),[()=>u.workspace_setupScriptEditor_setupScript_label()]),o(h,$)},T=h=>{var $=jr(),_=U($),i=c(_),f=c(i),x=S(f,!0),k=n(f,2),L=S(k,!0);l(i);var ue=n(i,2);we(ue,{variant:"ghost",size:"sm",onclick:()=>{r(ke,!1),r(J,!1)},children:(y,d)=>{Ve();var p=Be();g(N=>m(p,N),[()=>u.workspace_setupScriptPicker_choose_label()]),o(y,p)},$$slots:{default:!0}}),l(_);var ve=n(_,2);{var I=y=>{St(y,{get repoPath(){return O()},onScriptGenerated:Mt,onClose:()=>r(J,!1)})},F=y=>{var d=Ar(),p=U(d),N=c(p);xt(ht(N,{language:"shell",lineNumbers:!1,get lineWrapping(){return e(Se)},get value(){return C()},set value(A){C(A)}}),A=>r(pe,A,!0),()=>e(pe)),l(p);var X=n(p,2),H=c(X);we(H,{variant:"ghost",size:"sm",get active(){return e(Ie)},get"aria-expanded"(){return e(Ie)},onclick:()=>r(Ie,!e(Ie)),children:(A,oe)=>{Ve();var M=Be();g(ee=>m(M,ee),[()=>u.workspace_setupScriptEditor_variables_label()]),o(A,M)},$$slots:{default:!0}});var V=n(H,2);{var Z=A=>{var oe=Ue(),M=U(oe);Ee(M,()=>At,(ee,te)=>{te(ee,{delayDuration:100,children:(ne,Ce)=>{var Y=Tr();Xe(Y,21,()=>jt,re=>re.name,(re,Ne)=>{var We=Ue(),pt=U(We);Ee(pt,()=>Ct,(Vt,Bt)=>{Bt(Vt,{children:(Ht,Vr)=>{var wt=It(),kt=U(wt);Ee(kt,()=>Et,(ut,vt)=>{vt(ut,{children:(_t,Jt)=>{var Qe=Cr(),ot=S(Qe);g(()=>m(ot,`$${e(Ne).name??""}`)),o(_t,Qe)},$$slots:{default:!0}})});var Yt=n(kt,2);Ee(Yt,()=>Tt,(ut,vt)=>{vt(ut,{side:"top",class:"max-w-xs",children:(_t,Jt)=>{var Qe=Er(),ot=U(Qe),Qt=S(ot,!0),Xt=n(ot,2),Zt=S(Xt,!0);g(()=>{m(Qt,e(Ne).description),m(Zt,e(Ne).example)}),o(_t,Qe)},$$slots:{default:!0}})}),o(Ht,wt)},$$slots:{default:!0}})}),o(re,We)}),l(Y),o(ne,Y)},$$slots:{default:!0}})}),o(A,oe)};W(V,A=>{e(Ie)&&A(Z)})}l(X),o(y,d)};W(ve,y=>{e(J)&&O()?y(I):y(F,-1)})}g(y=>{Oe(f,1,gt(_e.title),"svelte-1yy464i"),m(x,y),m(L,e(ze))},[()=>u.workspace_setupScriptPicker_commands_label()]),o(h,$)};W(w,h=>{e(ke)?h(T,-1):h(j)})}l(a),xt(a,h=>r(Ye,h),()=>e(Ye)),g(()=>Oe(a,1,`${_e.rows} min-w-0`,"svelte-1yy464i")),o(t,a)},De=t=>{var a=Or(),w=U(a),j=c(w),T=S(j,!0),h=n(j,2),$=S(h,!0),_=n(h,2);{var i=d=>{var p=Ke(),N=c(p);St(N,{get repoPath(){return O()},onScriptGenerated:X=>{r(se,!0),r(s,""),C(X.content),r(E,X.name,!0),r(v,!0),de()?.(C()),r(J,!1),requestAnimationFrame(()=>e(pe)?.focus())},onClose:()=>r(J,!1)}),l(p),Fe(3,p,()=>Ze,()=>({tier:"moderate"})),o(d,p)},f=d=>{{let p=z(()=>!O());we(d,{variant:"ghost",size:"sm",class:"w-full justify-start text-subtle",onclick:()=>r(J,!0),get disabled(){return e(p)},children:(N,X)=>{var H=Ir(),V=U(H);Te(V,{get icon(){return Pt},class:"mr-1.5"});var Z=n(V);g(A=>m(Z,` ${A??""}`),[()=>u.workspace_setupScriptEditor_autoGenerate_label()]),o(N,H)},$$slots:{default:!0}})}};W(_,d=>{e(J)&&O()?d(i):d(f,-1)})}l(w);var x=n(w,2);{var k=d=>{var p=Ut(),N=c(p),X=S(N,!0),H=n(N,2);{let V=z(()=>e(s)===qe),Z=z(()=>e(s)===qe);we(H,{variant:"ghost",truncateLabel:!1,get active(){return e(V)},get"aria-pressed"(){return e(Z)},class:"w-full h-auto justify-start whitespace-normal text-left px-2 py-1.5",onclick:()=>ye(qe),children:(A,oe)=>{var M=Nt(),ee=c(M),te=S(ee,!0),ne=n(ee,2),Ce=S(ne,!0);l(M),g((Y,re)=>{m(te,Y),m(Ce,re)},[()=>tt(it,"repo-config"),()=>u.workspace_setupScriptEditor_repoConfig_description()]),o(A,M)},$$slots:{default:!0}})}l(p),g(V=>m(X,V),[()=>u.workspace_setupScriptEditor_repoConfig_label()]),o(d,p)};W(x,d=>{le()&&d(k)})}var L=n(x,2);{var ue=d=>{var p=Ut(),N=c(p),X=S(N,!0),H=n(N,2);{let V=z(()=>e(s)===B),Z=z(()=>e(s)===B);we(H,{variant:"ghost",truncateLabel:!1,get active(){return e(V)},get"aria-pressed"(){return e(Z)},class:"w-full h-auto justify-start whitespace-normal text-left px-2 py-1.5",onclick:()=>ye(B),children:(A,oe)=>{var M=Nt(),ee=c(M),te=S(ee,!0),ne=n(ee,2),Ce=S(ne,!0);l(M),g((Y,re)=>{m(te,Y),m(Ce,re)},[()=>tt(e(G).name,e(G).nameSource),()=>u.workspace_setupScriptEditor_lastUsed_description()]),o(A,M)},$$slots:{default:!0}})}l(p),g(V=>m(X,V),[()=>u.workspace_setupScriptEditor_lastUsed_label()]),o(d,p)};W(L,d=>{e(G)&&d(ue)})}var ve=n(L,2),I=c(ve),F=S(I,!0),y=n(I,2);Xe(y,17,()=>et,d=>d.id,(d,p)=>{{let N=z(()=>e(s)===`template-${e(p).id}`),X=z(()=>e(s)===`template-${e(p).id}`);we(d,{variant:"ghost",truncateLabel:!1,get active(){return e(N)},get"aria-pressed"(){return e(X)},class:"w-full h-auto justify-start whitespace-normal text-left px-2 py-1.5",onclick:()=>ye(`template-${e(p).id}`),children:(H,V)=>{var Z=Ur(),A=c(Z),oe=c(A),M=S(oe,!0),ee=n(oe,2);{var te=Y=>{var re=Nr(),Ne=S(re,!0);g(We=>m(Ne,We),[()=>u.workspace_setupScriptEditor_recommended_label()]),o(Y,re)};W(ee,Y=>{e(p).projectType===ie()&&Y(te)})}l(A);var ne=n(A,2),Ce=S(ne,!0);l(Z),g(()=>{m(M,e(p).name),m(Ce,e(p).description)}),o(H,Z)},$$slots:{default:!0}})}}),l(ve),g((d,p,N)=>{m(T,d),m($,p),m(F,N)},[()=>u.workspace_setupScriptEditor_generate_label(),()=>u.workspace_setupScriptEditor_generate_description(),()=>u.workspace_setupScriptEditor_templates_label()]),o(t,a)},Re=t=>{var a=Rr(),w=U(a),j=c(w),T=S(j,!0),h=n(j,2);Xe(h,21,()=>jt,i=>i.name,(i,f)=>{var x=Ue(),k=U(x);Ee(k,()=>At,(L,ue)=>{ue(L,{delayDuration:100,children:(ve,I)=>{var F=Ue(),y=U(F);Ee(y,()=>Ct,(d,p)=>{p(d,{delayDuration:100,children:(N,X)=>{var H=It(),V=U(H);Ee(V,()=>Et,(A,oe)=>{oe(A,{children:(M,ee)=>{var te=Fr(),ne=S(te);g(()=>m(ne,`$${e(f).name??""}`)),o(M,te)},$$slots:{default:!0}})});var Z=n(V,2);Ee(Z,()=>Tt,(A,oe)=>{oe(A,{side:"bottom",class:"max-w-xs z-[200]",children:(M,ee)=>{var te=Dr(),ne=U(te),Ce=S(ne,!0),Y=n(ne,2),re=c(Y),Ne=n(re),We=S(Ne,!0);l(Y),g(pt=>{m(Ce,e(f).description),m(re,`${pt??""} `),m(We,e(f).example)},[()=>u.workspace_setupScriptEditor_example_before()]),o(M,te)},$$slots:{default:!0}})}),o(N,H)},$$slots:{default:!0}})}),o(ve,F)},$$slots:{default:!0}})}),o(i,x)}),l(h),l(w);var $=n(w,2),_=c($);xt(ht(_,{language:"shell",lineNumbers:!0,get lineWrapping(){return e(Se)},get value(){return C()},set value(i){C(i)}}),i=>r(pe,i,!0),()=>e(pe)),l($),g(i=>m(T,i),[()=>u.workspace_setupScriptEditor_variables_label()]),ar("keydown",$,i=>{i.altKey&&i.key==="z"&&(i.preventDefault(),r(Se,!e(Se)))}),o(t,a)},Ge=t=>{var a=Ke(),w=c(a);{var j=h=>{var $=Gr(),_=U($),i=c(_);De(i),l(_);var f=n(_,2),x=c(f);Re(x),l(f),Fe(1,_,()=>$t,()=>({tier:"moderate",axis:"x",distance:-8})),Fe(1,f,()=>$t,()=>({tier:"moderate",axis:"x"})),o(h,$)},T=h=>{var $=Lr(),_=U($),i=c(_);De(i),l(_);var f=n(_,2),x=c(f);Re(x),l(f),o(h,$)};W(w,h=>{he()==="workspace"?h(j):h(T,-1)})}l(a),g(()=>Oe(a,1,gt(he()==="workspace"?"setup-workspace-layout":"grid flex-1 min-h-0 min-w-0 grid-cols-1 grid-rows-[minmax(0,1fr)_minmax(0,2fr)] md:grid-cols-[minmax(0,2fr)_minmax(0,3fr)] md:grid-rows-1"),"svelte-1yy464i")),o(t,a)};let O=D(P,"repoPath",7,""),ae=D(P,"repositoryKey",7),me=D(P,"githubUrl",7,null),ie=D(P,"projectType",7,void 0),le=D(P,"repoConfigScript",7,null),C=D(P,"value",15,""),fe=D(P,"expanded",15,!1),ge=D(P,"scriptName",31,()=>rt(u.workspace_setupScriptEditor_custom_name())),ce=D(P,"scriptNameSource",15,"named"),xe=D(P,"isCustomScript",15,!1),be=D(P,"compact",7,!1),Le=D(P,"triggerClass",7,""),Me=D(P,"contentOnly",7,!1),je=D(P,"contentClass",7,""),he=D(P,"presentation",7,"editor"),de=D(P,"onchange",7),J=K(!1),ke=K(rt(mt(()=>xe()))),$e=K(!1),Ie=K(!1),Ye=K(void 0),pe=K(void 0),s=K(""),v=K(!1),E=K(rt(ge())),q=K(rt(ce())),se=K(!1);const B="last-used",G=z(()=>{const t=ae()??O(),a=t?gr(t,me()):void 0;return a?.nameSource==="repo-config"?{...a,name:"Custom",nameSource:"custom"}:a}),Q=z(()=>{const t=new Map;return le()&&t.set(qe,{content:le(),label:it,source:"repo-config"}),e(G)&&t.set(B,{content:e(G).content,label:e(G).name,source:e(G).nameSource}),et.forEach(a=>{t.set(`template-${a.id}`,{content:fr(a),label:a.name,source:"named"})}),t});let Se=K(!0);const ze=z(()=>{if(e(v))return tt(e(E),e(q));if(!e(s))return u.workspace_setupScriptEditor_custom_name();const t=e(Q).get(e(s));return t?tt(t.label,t.source):u.workspace_setupScriptEditor_custom_name()});function ye(t){r(s,t,!0),r(v,!1),r(se,!0);const a=e(Q).get(t);a&&(C(a.content),r(E,a.label,!0),r(q,a.source,!0),de()?.(C())),he()==="picker"?(r(ke,!1),r($e,!1),requestAnimationFrame(()=>e(Ye)?.querySelector("[data-setup-source][aria-pressed=true]")?.focus())):requestAnimationFrame(()=>e(pe)?.focus())}function lt(t){if(e(s)&&e(s)!=="none"){const a=e(Q).get(e(s));a&&r(v,t!==a.content)}else t&&r(v,!0)}const Pe=(()=>{const t=et.find(a=>a.id==="generic");return t?`template-${t.id}`:""})(),st=z(()=>e(v)||!e(s)?"custom":e(s)),Je=z(()=>{const t=[];le()&&t.push({id:qe,name:tt(it,"repo-config")}),e(G)&&t.push({id:B,name:u.workspace_setupScriptEditor_lastUsed_label()});for(const a of et){const w=`template-${a.id}`;(w===Pe||w===e(s))&&t.push({id:w,name:a.name})}return t.push({id:"custom",name:u.workspace_setupScriptPicker_custom_label()}),t}),ct=z(()=>et.filter(t=>!e(Je).some(a=>a.id===`template-${t.id}`)));function Lt(){r(s,""),r(v,!0),r(E,"Custom"),r(q,"custom"),r(J,!1),r(ke,!0),requestAnimationFrame(()=>e(pe)?.focus())}function Mt(t){r(se,!0),r(s,""),C(t.content),r(E,t.name,!0),r(q,"named"),r(v,!0),de()?.(C()),r(J,!1),requestAnimationFrame(()=>e(pe)?.focus())}let dt=K(null);ft(()=>{const t=ae()??O();if(t===e(dt))return;const a=e(dt)===null&&(xe()||C().trim().length>0);if(r(dt,t,!0),a){mt(()=>{let T=!1;const h=C().trim();for(const[$,_]of e(Q).entries())if(h===_.content.trim()&&_.source===ce()&&_.label===ge()){r(s,$,!0),r(E,_.label,!0),r(q,_.source,!0),r(v,!1),T=!0;break}T||(r(v,!0),e(E)||(r(E,ge()||u.workspace_setupScriptEditor_custom_name(),!0),r(q,ge()?ce():"named",!0))),r(se,!0)});return}const w=!!le(),j=e(G);if(mt(()=>{if(r(v,!1),r(se,!0),w)r(s,qe,!0),r(E,it,!0),r(q,"repo-config");else if(j)r(s,B),r(E,j.name,!0),r(q,j.nameSource,!0);else if(Pe){r(s,Pe,!0);const T=e(Q).get(Pe);r(E,T?.label||u.workspace_setupScriptEditor_custom_name(),!0),r(q,"named")}else r(E,u.workspace_setupScriptEditor_custom_name(),!0),r(q,"named")}),w&&le())C(le()),de()?.(C());else if(j)C(j.content),de()?.(C());else if(Pe){const T=e(Q).get(Pe);T&&(C(T.content),de()?.(C()))}}),ft(()=>{if(e(se)){r(se,!1);return}C()!==void 0&<(C())}),ft(()=>{ge(e(E)),ce(e(q)),xe(e(v))});var zt={get repoPath(){return O()},set repoPath(t=""){O(t),R()},get repositoryKey(){return ae()},set repositoryKey(t){ae(t),R()},get githubUrl(){return me()},set githubUrl(t=null){me(t),R()},get projectType(){return ie()},set projectType(t=void 0){ie(t),R()},get repoConfigScript(){return le()},set repoConfigScript(t=null){le(t),R()},get value(){return C()},set value(t=""){C(t),R()},get expanded(){return fe()},set expanded(t=!1){fe(t),R()},get scriptName(){return ge()},set scriptName(t=u.workspace_setupScriptEditor_custom_name()){ge(t),R()},get scriptNameSource(){return ce()},set scriptNameSource(t="named"){ce(t),R()},get isCustomScript(){return xe()},set isCustomScript(t=!1){xe(t),R()},get compact(){return be()},set compact(t=!1){be(t),R()},get triggerClass(){return Le()},set triggerClass(t=""){Le(t),R()},get contentOnly(){return Me()},set contentOnly(t=!1){Me(t),R()},get contentClass(){return je()},set contentClass(t=""){je(t),R()},get presentation(){return he()},set presentation(t="editor"){he(t),R()},get onchange(){return de()},set onchange(t){de(t),R()},$set:Ft,$on:(t,a)=>Dt(P,t,a)},yt=Ue(),Wt=U(yt);{var qt=t=>{var a=Ue(),w=U(a);{var j=T=>{var h=Ue(),$=U(h);{var _=x=>{var k=Ke(),L=c(k);Ae(L),l(k),g(()=>Oe(k,1,`${je()??""} min-w-0`,"svelte-1yy464i")),o(x,k)},i=x=>{var k=Ke(),L=c(k);Ge(L),l(k),g(()=>Oe(k,1,`${je()??""} flex min-h-0 min-w-0 flex-1 flex-col`,"svelte-1yy464i")),o(x,k)},f=x=>{var k=Ke(),L=c(k);Ge(L),l(k),g(()=>Oe(k,1,`${je()??""} flex flex-col gap-3 flex-1 min-h-0 min-w-0`,"svelte-1yy464i")),Fe(3,k,()=>Ze,()=>({tier:"moderate"})),o(x,k)};W($,x=>{he()==="picker"?x(_):he()==="workspace"?x(i,1):x(f,-1)})}o(T,h)};W(w,T=>{fe()&&T(j)})}o(t,a)},Kt=t=>{var a=qr(),w=U(a),j=c(w);we(j,{variant:"ghost",size:"sm",get class(){return`whitespace-nowrap hover:text-inherit! ${Le()??""}`},onclick:()=>fe(!fe()),children:(i,f)=>{var x=Mr(),k=U(x);Te(k,{get icon(){return bt},size:"xs"});var L=n(k,2),ue=S(L,!0),ve=n(L,2),I=S(ve,!0);g(F=>{m(ue,F),m(I,e(ze))},[()=>u.workspace_setupScriptEditor_setupScript_label()]),o(i,x)},$$slots:{default:!0}});var T=n(j,2);{var h=i=>{var f=zr(),x=c(f);Ge(x),l(f),Fe(3,f,()=>Ze,()=>({tier:"moderate"})),o(i,f)};W(T,i=>{fe()&&!be()&&i(h)})}l(w);var $=n(w,2);{var _=i=>{var f=Wr(),x=c(f);Ge(x),l(f),Fe(3,f,()=>Ze,()=>({tier:"moderate"})),o(i,f)};W($,i=>{fe()&&be()&&i(_)})}g(()=>Oe(w,1,gt(be()?"":"w-full"))),o(t,a)};W(Wt,t=>{Me()?t(qt):t(Kt,-1)})}return o(He,yt),Gt(zt)}rr(["keydown"]);export{Kr as default};
|
|
1
|
+
import{t as Ot,br as D,bp as u,a_ as W,bz as Ft,b as Dt}from"./CEL6QztG.js";import{bs as Rt,bV as K,br as rt,bk as er,bj as tr,bH as r,a5 as c,aD as e,bS as n,bl as S,bA as l,b_ as g,bO as m,W as o,bn as Gt,aA as R,c9 as M,be as Ve,b$ as Be,aB as b,c5 as mt,ca as ft,a7 as Ue,ay as U,ai as rr,aj as ar,bf as sr}from"./DYhIMPy1.js";import{I as or,v as Oe,j as gt,n as Xe,u as nr}from"./yn6WWSq8.js";import{c as Ee}from"./B4USm-wY.js";import{I as Fe,D as Ze,h as $t}from"./wwtnRh6M.js";import{b as xt}from"./BaIAhI85.js";import{F as Te,cL as ir,aq as lr,cE as bt,cV as Pt,c7 as cr}from"./DnKg2UsP.js";import{f as we}from"./Cd_8r4jJ.js";import"./CGjjowC8.js";import{t as nt}from"./znAltH1L.js";import{M as dr}from"./WAMpa_Dp.js";import{e as pr,W as _e}from"./MohDaz1W.js";import{h as Ct,i as Et,g as Tt,P as At}from"./Cn76YSbd.js";import{C as ht}from"./BvO0fAmb.js";import{c as ur}from"./ChTqQfQN.js";import"./CiSnSGvU.js";import{d as vr}from"./T4aQylmi.js";import{Ik as _r}from"./DYfeeu3f.js";import{dC as mr}from"./Dml826jn.js";import{S as et,k as fr,a as jt}from"./CSvJVg_I.js";import{R as qe,c as it,m as gr,bD as tt}from"./Do-q4-tL.js";import"./Ba7P2HkQ.js";var xr=b('<div class="w-2 h-2 bg-green-500 rounded-full animate-pulse"></div>'),br=b('<div class="text-sm text-danger bg-danger-background/10 rounded-md p-3"> </div>'),hr=b('<div class="flex items-center gap-2 text-subtle"><!> <span class="text-sm"> </span></div>'),Sr=b('<div class="p-4 max-h-60 overflow-y-auto overscroll-contain"><!></div>'),yr=b('<div class="p-3 bg-muted/30"><div class="flex items-center justify-between mb-2"><div class="flex items-center gap-2"><!> <span class="text-sm font-medium"> </span></div> <!></div> <p class="text-xs text-subtle mb-2"> </p> <div class="h-32 rounded border border-border overflow-hidden"><!></div></div>'),wr=b('<div class="flex flex-col bg-background border border-border rounded-lg overflow-hidden"><div class="flex items-center justify-between px-3 py-2 border-b border-border bg-muted/30"><div class="flex items-center gap-2"><!> <span class="text-sm font-medium"> </span> <!></div> <div class="flex items-center gap-1"><!></div></div> <!> <!></div>');function St(He,P){if(new.target)return Ot({component:St,...He});Rt(P,!0);const at=ur("SetupScriptAgent");let Ae=D(P,"repoPath",7),De=D(P,"onScriptGenerated",7),Re=D(P,"onClose",7),Ge=K(rt(crypto.randomUUID())),O=K(!1),ae=K(null),me=!1,ie=K(null);er(()=>{me=!0,C()}),tr(()=>{me=!1});async function le(){try{const v=mr.select(_r.state).find(E=>E.repositoryPath===Ae()||E.path===Ae()||E.worktreePath===Ae());return v?String(v.id):null}catch{return null}}async function C(){r(O,!0),r(ae,null),r(ie,null);try{const s=await le();if(!me)return;if(!s){r(ae,u.workspace_setupScriptAgent_noWorkspace_error(),!0),r(O,!1);return}const v=await vr.setupScripts.generate(s);if(!me)return;if(!v||!v.script){r(ae,u.workspace_setupScriptAgent_generateFailed_error(),!0),r(O,!1);return}r(ie,{name:v.projectType?u.workspace_setupScriptAgent_projectTypeSetup_label({projectType:v.projectType}):u.workspace_setupScriptAgent_generatedSetup_label(),description:v.projectType?u.workspace_setupScriptAgent_generatedForProject_description({projectType:v.projectType}):u.workspace_setupScriptAgent_generatedFromAnalysis_description(),content:v.script},!0),r(O,!1)}catch(s){if(at.error("Failed to generate setup script",s),!me)return;r(ae,s instanceof Error?s.message:u.workspace_setupScriptAgent_generateFailed_error(),!0),r(O,!1)}}function fe(s){De()?.(s)}var ge={get repoPath(){return Ae()},set repoPath(s){Ae(s),R()},get onScriptGenerated(){return De()},set onScriptGenerated(s){De(s),R()},get onClose(){return Re()},set onClose(s){Re(s),R()},$set:Ft,$on:(s,v)=>Dt(P,s,v)},ce=wr(),xe=c(ce),be=c(xe),Le=c(be);pr(Le,{variant:"standard",get agentId(){return e(Ge)}});var ze=n(Le,2),je=S(ze,!0),he=n(ze,2);{var de=s=>{var v=xr();o(s,v)};W(he,s=>{e(O)&&s(de)})}l(be);var J=n(be,2),ke=c(J);{let s=M(()=>u.workspace_setupScriptAgent_close_ariaLabel());we(ke,{variant:"ghost-light",size:"icon-sm",iconOnly:!0,get"aria-label"(){return e(s)},get onclick(){return Re()},children:(v,E)=>{Te(v,{get icon(){return ir}})},$$slots:{default:!0}})}l(J),l(xe);var $e=n(xe,2);{var Ie=s=>{var v=Sr(),E=c(v);{var q=B=>{var G=br(),Q=S(G,!0);g(()=>m(Q,e(ae))),o(B,G)},se=B=>{var G=hr(),Q=c(G);or(Q,{size:16,class:"text-primary"});var Se=n(Q,2),Me=S(Se,!0);l(G),g(ye=>m(Me,ye),[()=>u.workspace_setupScriptAgent_analyzing_label()]),o(B,G)};W(E,B=>{e(ae)?B(q):B(se,-1)})}l(v),o(s,v)};W($e,s=>{(e(ae)||e(O))&&s(Ie)})}var Ye=n($e,2);{var pe=s=>{var v=yr(),E=c(v),q=c(E),se=c(q);Te(se,{get icon(){return lr},class:"text-green-500"});var B=n(se,2),G=S(B,!0);l(q);var Q=n(q,2);we(Q,{variant:"primary",size:"sm",onclick:()=>fe(e(ie)),class:"h-7",children:(Pe,st)=>{Ve();var Je=Be();g(ct=>m(Je,ct),[()=>u.workspace_setupScriptAgent_createScript_label()]),o(Pe,Je)},$$slots:{default:!0}}),l(E);var Se=n(E,2),Me=S(Se,!0),ye=n(Se,2),lt=c(ye);ht(lt,{get value(){return e(ie).content},language:"shell",readOnly:!0,lineNumbers:!1}),l(ye),l(v),g(()=>{m(G,e(ie).name),m(Me,e(ie).description)}),o(s,v)};W(Ye,s=>{e(ie)&&!e(O)&&s(pe)})}return l(ce),g(s=>m(je,s),[()=>u.workspace_setupScriptAgent_title()]),o(He,ce),Gt(ge)}var kr=b('<span class="block truncate"> </span>'),$r=b("<div></div>"),Pr=b('<div role="group"></div> <div class="mt-2 border-t border-border pt-2"><!></div> <!> <div class="mt-2 border-t border-border pt-2"><!> <!></div>',1),Cr=b('<code class="type-caption text-muted-foreground"> </code>'),Er=b('<p> </p> <code class="type-caption"> </code>',1),It=b("<!> <!>",1),Tr=b('<div class="mt-2 flex flex-wrap gap-2 px-2"></div>'),Ar=b('<div class="h-44 min-w-0 overflow-hidden rounded-(--radius-medium) border border-border bg-background py-2"><!></div> <div class="mt-2 px-1"><!> <!></div>',1),jr=b('<div class="mb-2 flex items-center justify-between gap-3 px-2"><div class="min-w-0"><h3> </h3> <p class="type-caption truncate text-muted-foreground"> </p></div> <!></div> <!>',1),Ke=b("<div><!></div>"),Ir=b("<!> ",1),Nt=b('<div class="min-w-0 w-full"><span class="text-sm"> </span> <p class="text-xs text-subtle mt-0.5"> </p></div>'),Ut=b('<div class="mb-4"><h4 class="type-caption font-medium text-muted-foreground mb-1.5 px-2"> </h4> <!></div>'),Nr=b('<span class="type-caption px-1.5 py-0.5 rounded-full bg-primary/10 text-primary font-medium shrink-0"> </span>'),Ur=b('<div class="min-w-0 w-full"><div class="flex flex-wrap items-center gap-x-2 gap-y-1"><span class="text-sm"> </span> <!></div> <p class="text-xs text-subtle mt-0.5"> </p></div>'),Or=b('<div class="mb-4"><h4 class="type-caption font-medium text-muted-foreground mb-1.5 px-2"> </h4> <p class="text-xs text-subtle px-2 mb-2"> </p> <!></div> <!> <!> <div class="mb-4"><h4 class="type-caption font-medium text-muted-foreground mb-1.5 px-2"> </h4> <!></div>',1),Fr=b('<code class="type-caption px-1.5 py-0.5 rounded bg-background/80 text-muted-foreground font-mono cursor-pointer hover:bg-background hover:text-foreground transition-colors"> </code>'),Dr=b('<p class="text-xs"> </p> <p class="mt-1 text-xs text-muted-foreground"> <code class="type-caption"> </code></p>',1),Rr=b('<div class="flex flex-wrap items-center gap-x-3 gap-y-1.5 px-3 py-1.5 bg-muted/30 shrink-0"><span class="type-caption font-medium text-muted-foreground shrink-0"> </span> <div class="flex flex-wrap gap-1.5"></div></div> <div class="flex-1 min-h-0 min-w-0 overflow-hidden py-3 bg-background"><!></div>',1),Gr=b('<div class="flex min-h-0 min-w-0 flex-col overflow-y-auto"><!></div> <div class="flex min-h-0 min-w-0 flex-col"><!></div>',1),Lr=b('<div class="flex flex-col min-h-0 min-w-0 overflow-y-auto p-2 md:pr-4"><!></div> <div class="flex flex-col min-w-0 min-h-0"><!></div>',1),zr=b('<!> <span class="text-sm font-normal text-subtle"> </span> <span class="text-subtle font-normal"> </span>',1),Mr=b('<div class="mt-1 pl-7 space-y-3"><!></div>'),Wr=b('<div class="space-y-3"><!></div>'),qr=b("<div><!> <!></div> <!>",1);function Kr(He,P){if(new.target)return Ot({component:Kr,...He});Rt(P,!0);const at=(t,a=sr)=>{{const w=_=>{Te(_,{get icon(){return bt},get class(){return _e.icon}})},j=_=>{var i=kr(),f=S(i,!0);g(()=>m(f,a().name)),o(_,i)},T=_=>{{let i=M(()=>e(st)===a().id?"checked":"empty");dr(_,{get state(){return e(i)}})}};let h=M(()=>e(st)===a().id),$=M(()=>e(st)===a().id);nt(t,{get selected(){return e(h)},get"aria-pressed"(){return e($)},get"data-setup-source"(){return a().id},get class(){return _e.row},onclick:()=>a().id==="custom"?Lt():ye(a().id),leading:w,title:j,trailing:T,$$slots:{leading:!0,title:!0,trailing:!0}})}},Ae=t=>{var a=Ke(),w=c(a);{var j=h=>{var $=Pr(),_=U($);Xe(_,21,()=>e(Je),I=>I.id,(I,F)=>{at(I,()=>e(F))}),l(_);var i=n(_,2),f=c(i);nt(f,{get"aria-expanded"(){return e($e)},get class(){return _e.row},onclick:()=>r($e,!e($e)),leading:y=>{Te(y,{get icon(){return cr},get class(){return _e.icon}})},title:y=>{Ve();var d=Be();g(p=>m(d,p),[()=>u.workspace_setupScriptEditor_templates_label()]),o(y,d)},$$slots:{leading:!0,title:!0}}),l(i);var x=n(i,2);{var k=I=>{var F=$r();Xe(F,21,()=>e(ct),y=>y.id,(y,d)=>{at(y,()=>({id:`template-${e(d).id}`,name:e(d).name}))}),l(F),Fe(3,F,()=>Ze,()=>({tier:"moderate"})),o(I,F)};W(x,I=>{e($e)&&I(k)})}var L=n(x,2),ue=c(L);nt(ue,{get class(){return _e.row},onclick:()=>r(ke,!0),leading:y=>{Te(y,{get icon(){return bt},get class(){return _e.icon}})},title:y=>{Ve();var d=Be();g(p=>m(d,p),[()=>u.workspace_setupScriptPicker_edit_label()]),o(y,d)},$$slots:{leading:!0,title:!0}});var ve=n(ue,2);{const I=d=>{Te(d,{get icon(){return Pt},get class(){return _e.icon}})},F=d=>{Ve();var p=Be();g(N=>m(p,N),[()=>u.workspace_setupScriptEditor_autoGenerate_label()]),o(d,p)};let y=M(()=>!O());nt(ve,{get class(){return _e.row},get disabled(){return e(y)},onclick:()=>{r(ke,!0),r(J,!0)},leading:I,title:F,$$slots:{leading:!0,title:!0}})}l(L),g(I=>nr(_,"aria-label",I),[()=>u.workspace_setupScriptEditor_setupScript_label()]),o(h,$)},T=h=>{var $=jr(),_=U($),i=c(_),f=c(i),x=S(f,!0),k=n(f,2),L=S(k,!0);l(i);var ue=n(i,2);we(ue,{variant:"ghost",size:"sm",onclick:()=>{r(ke,!1),r(J,!1)},children:(y,d)=>{Ve();var p=Be();g(N=>m(p,N),[()=>u.workspace_setupScriptPicker_choose_label()]),o(y,p)},$$slots:{default:!0}}),l(_);var ve=n(_,2);{var I=y=>{St(y,{get repoPath(){return O()},onScriptGenerated:zt,onClose:()=>r(J,!1)})},F=y=>{var d=Ar(),p=U(d),N=c(p);xt(ht(N,{language:"shell",lineNumbers:!1,get lineWrapping(){return e(Se)},get value(){return C()},set value(A){C(A)}}),A=>r(pe,A,!0),()=>e(pe)),l(p);var X=n(p,2),H=c(X);we(H,{variant:"ghost",size:"sm",get active(){return e(Ie)},get"aria-expanded"(){return e(Ie)},onclick:()=>r(Ie,!e(Ie)),children:(A,oe)=>{Ve();var z=Be();g(ee=>m(z,ee),[()=>u.workspace_setupScriptEditor_variables_label()]),o(A,z)},$$slots:{default:!0}});var V=n(H,2);{var Z=A=>{var oe=Ue(),z=U(oe);Ee(z,()=>At,(ee,te)=>{te(ee,{delayDuration:100,children:(ne,Ce)=>{var Y=Tr();Xe(Y,21,()=>jt,re=>re.name,(re,Ne)=>{var We=Ue(),pt=U(We);Ee(pt,()=>Ct,(Vt,Bt)=>{Bt(Vt,{children:(Ht,Vr)=>{var wt=It(),kt=U(wt);Ee(kt,()=>Et,(ut,vt)=>{vt(ut,{children:(_t,Jt)=>{var Qe=Cr(),ot=S(Qe);g(()=>m(ot,`$${e(Ne).name??""}`)),o(_t,Qe)},$$slots:{default:!0}})});var Yt=n(kt,2);Ee(Yt,()=>Tt,(ut,vt)=>{vt(ut,{side:"top",class:"max-w-xs",children:(_t,Jt)=>{var Qe=Er(),ot=U(Qe),Qt=S(ot,!0),Xt=n(ot,2),Zt=S(Xt,!0);g(()=>{m(Qt,e(Ne).description),m(Zt,e(Ne).example)}),o(_t,Qe)},$$slots:{default:!0}})}),o(Ht,wt)},$$slots:{default:!0}})}),o(re,We)}),l(Y),o(ne,Y)},$$slots:{default:!0}})}),o(A,oe)};W(V,A=>{e(Ie)&&A(Z)})}l(X),o(y,d)};W(ve,y=>{e(J)&&O()?y(I):y(F,-1)})}g(y=>{Oe(f,1,gt(_e.title),"svelte-1yy464i"),m(x,y),m(L,e(Me))},[()=>u.workspace_setupScriptPicker_commands_label()]),o(h,$)};W(w,h=>{e(ke)?h(T,-1):h(j)})}l(a),xt(a,h=>r(Ye,h),()=>e(Ye)),g(()=>Oe(a,1,`${_e.rows} min-w-0`,"svelte-1yy464i")),o(t,a)},De=t=>{var a=Or(),w=U(a),j=c(w),T=S(j,!0),h=n(j,2),$=S(h,!0),_=n(h,2);{var i=d=>{var p=Ke(),N=c(p);St(N,{get repoPath(){return O()},onScriptGenerated:X=>{r(se,!0),r(s,""),C(X.content),r(E,X.name,!0),r(v,!0),de()?.(C()),r(J,!1),requestAnimationFrame(()=>e(pe)?.focus())},onClose:()=>r(J,!1)}),l(p),Fe(3,p,()=>Ze,()=>({tier:"moderate"})),o(d,p)},f=d=>{{let p=M(()=>!O());we(d,{variant:"ghost",size:"sm",class:"w-full justify-start text-subtle",onclick:()=>r(J,!0),get disabled(){return e(p)},children:(N,X)=>{var H=Ir(),V=U(H);Te(V,{get icon(){return Pt},class:"mr-1.5"});var Z=n(V);g(A=>m(Z,` ${A??""}`),[()=>u.workspace_setupScriptEditor_autoGenerate_label()]),o(N,H)},$$slots:{default:!0}})}};W(_,d=>{e(J)&&O()?d(i):d(f,-1)})}l(w);var x=n(w,2);{var k=d=>{var p=Ut(),N=c(p),X=S(N,!0),H=n(N,2);{let V=M(()=>e(s)===qe),Z=M(()=>e(s)===qe);we(H,{variant:"ghost",truncateLabel:!1,get active(){return e(V)},get"aria-pressed"(){return e(Z)},class:"w-full h-auto justify-start whitespace-normal text-left px-2 py-1.5",onclick:()=>ye(qe),children:(A,oe)=>{var z=Nt(),ee=c(z),te=S(ee,!0),ne=n(ee,2),Ce=S(ne,!0);l(z),g((Y,re)=>{m(te,Y),m(Ce,re)},[()=>tt(it,"repo-config"),()=>u.workspace_setupScriptEditor_repoConfig_description()]),o(A,z)},$$slots:{default:!0}})}l(p),g(V=>m(X,V),[()=>u.workspace_setupScriptEditor_repoConfig_label()]),o(d,p)};W(x,d=>{le()&&d(k)})}var L=n(x,2);{var ue=d=>{var p=Ut(),N=c(p),X=S(N,!0),H=n(N,2);{let V=M(()=>e(s)===B),Z=M(()=>e(s)===B);we(H,{variant:"ghost",truncateLabel:!1,get active(){return e(V)},get"aria-pressed"(){return e(Z)},class:"w-full h-auto justify-start whitespace-normal text-left px-2 py-1.5",onclick:()=>ye(B),children:(A,oe)=>{var z=Nt(),ee=c(z),te=S(ee,!0),ne=n(ee,2),Ce=S(ne,!0);l(z),g((Y,re)=>{m(te,Y),m(Ce,re)},[()=>tt(e(G).name,e(G).nameSource),()=>u.workspace_setupScriptEditor_lastUsed_description()]),o(A,z)},$$slots:{default:!0}})}l(p),g(V=>m(X,V),[()=>u.workspace_setupScriptEditor_lastUsed_label()]),o(d,p)};W(L,d=>{e(G)&&d(ue)})}var ve=n(L,2),I=c(ve),F=S(I,!0),y=n(I,2);Xe(y,17,()=>et,d=>d.id,(d,p)=>{{let N=M(()=>e(s)===`template-${e(p).id}`),X=M(()=>e(s)===`template-${e(p).id}`);we(d,{variant:"ghost",truncateLabel:!1,get active(){return e(N)},get"aria-pressed"(){return e(X)},class:"w-full h-auto justify-start whitespace-normal text-left px-2 py-1.5",onclick:()=>ye(`template-${e(p).id}`),children:(H,V)=>{var Z=Ur(),A=c(Z),oe=c(A),z=S(oe,!0),ee=n(oe,2);{var te=Y=>{var re=Nr(),Ne=S(re,!0);g(We=>m(Ne,We),[()=>u.workspace_setupScriptEditor_recommended_label()]),o(Y,re)};W(ee,Y=>{e(p).projectType===ie()&&Y(te)})}l(A);var ne=n(A,2),Ce=S(ne,!0);l(Z),g(()=>{m(z,e(p).name),m(Ce,e(p).description)}),o(H,Z)},$$slots:{default:!0}})}}),l(ve),g((d,p,N)=>{m(T,d),m($,p),m(F,N)},[()=>u.workspace_setupScriptEditor_generate_label(),()=>u.workspace_setupScriptEditor_generate_description(),()=>u.workspace_setupScriptEditor_templates_label()]),o(t,a)},Re=t=>{var a=Rr(),w=U(a),j=c(w),T=S(j,!0),h=n(j,2);Xe(h,21,()=>jt,i=>i.name,(i,f)=>{var x=Ue(),k=U(x);Ee(k,()=>At,(L,ue)=>{ue(L,{delayDuration:100,children:(ve,I)=>{var F=Ue(),y=U(F);Ee(y,()=>Ct,(d,p)=>{p(d,{delayDuration:100,children:(N,X)=>{var H=It(),V=U(H);Ee(V,()=>Et,(A,oe)=>{oe(A,{children:(z,ee)=>{var te=Fr(),ne=S(te);g(()=>m(ne,`$${e(f).name??""}`)),o(z,te)},$$slots:{default:!0}})});var Z=n(V,2);Ee(Z,()=>Tt,(A,oe)=>{oe(A,{side:"bottom",class:"max-w-xs z-[200]",children:(z,ee)=>{var te=Dr(),ne=U(te),Ce=S(ne,!0),Y=n(ne,2),re=c(Y),Ne=n(re),We=S(Ne,!0);l(Y),g(pt=>{m(Ce,e(f).description),m(re,`${pt??""} `),m(We,e(f).example)},[()=>u.workspace_setupScriptEditor_example_before()]),o(z,te)},$$slots:{default:!0}})}),o(N,H)},$$slots:{default:!0}})}),o(ve,F)},$$slots:{default:!0}})}),o(i,x)}),l(h),l(w);var $=n(w,2),_=c($);xt(ht(_,{language:"shell",lineNumbers:!0,get lineWrapping(){return e(Se)},get value(){return C()},set value(i){C(i)}}),i=>r(pe,i,!0),()=>e(pe)),l($),g(i=>m(T,i),[()=>u.workspace_setupScriptEditor_variables_label()]),ar("keydown",$,i=>{i.altKey&&i.key==="z"&&(i.preventDefault(),r(Se,!e(Se)))}),o(t,a)},Ge=t=>{var a=Ke(),w=c(a);{var j=h=>{var $=Gr(),_=U($),i=c(_);De(i),l(_);var f=n(_,2),x=c(f);Re(x),l(f),Fe(1,_,()=>$t,()=>({tier:"moderate",axis:"x",distance:-8})),Fe(1,f,()=>$t,()=>({tier:"moderate",axis:"x"})),o(h,$)},T=h=>{var $=Lr(),_=U($),i=c(_);De(i),l(_);var f=n(_,2),x=c(f);Re(x),l(f),o(h,$)};W(w,h=>{he()==="workspace"?h(j):h(T,-1)})}l(a),g(()=>Oe(a,1,gt(he()==="workspace"?"setup-workspace-layout":"grid flex-1 min-h-0 min-w-0 grid-cols-1 grid-rows-[minmax(0,1fr)_minmax(0,2fr)] md:grid-cols-[minmax(0,2fr)_minmax(0,3fr)] md:grid-rows-1"),"svelte-1yy464i")),o(t,a)};let O=D(P,"repoPath",7,""),ae=D(P,"repositoryKey",7),me=D(P,"githubUrl",7,null),ie=D(P,"projectType",7,void 0),le=D(P,"repoConfigScript",7,null),C=D(P,"value",15,""),fe=D(P,"expanded",15,!1),ge=D(P,"scriptName",31,()=>rt(u.workspace_setupScriptEditor_custom_name())),ce=D(P,"scriptNameSource",15,"named"),xe=D(P,"isCustomScript",15,!1),be=D(P,"compact",7,!1),Le=D(P,"triggerClass",7,""),ze=D(P,"contentOnly",7,!1),je=D(P,"contentClass",7,""),he=D(P,"presentation",7,"editor"),de=D(P,"onchange",7),J=K(!1),ke=K(rt(mt(()=>xe()))),$e=K(!1),Ie=K(!1),Ye=K(void 0),pe=K(void 0),s=K(""),v=K(!1),E=K(rt(ge())),q=K(rt(ce())),se=K(!1);const B="last-used",G=M(()=>{const t=ae()??O(),a=t?gr(t,me()):void 0;return a?.nameSource==="repo-config"?{...a,name:"Custom",nameSource:"custom"}:a}),Q=M(()=>{const t=new Map;return le()&&t.set(qe,{content:le(),label:it,source:"repo-config"}),e(G)&&t.set(B,{content:e(G).content,label:e(G).name,source:e(G).nameSource}),et.forEach(a=>{t.set(`template-${a.id}`,{content:fr(a),label:a.name,source:"named"})}),t});let Se=K(!0);const Me=M(()=>{if(e(v))return tt(e(E),e(q));if(!e(s))return u.workspace_setupScriptEditor_custom_name();const t=e(Q).get(e(s));return t?tt(t.label,t.source):u.workspace_setupScriptEditor_custom_name()});function ye(t){r(s,t,!0),r(v,!1),r(se,!0);const a=e(Q).get(t);a&&(C(a.content),r(E,a.label,!0),r(q,a.source,!0),de()?.(C())),he()==="picker"?(r(ke,!1),r($e,!1),requestAnimationFrame(()=>e(Ye)?.querySelector("[data-setup-source][aria-pressed=true]")?.focus())):requestAnimationFrame(()=>e(pe)?.focus())}function lt(t){if(e(s)&&e(s)!=="none"){const a=e(Q).get(e(s));a&&r(v,t!==a.content)}else t&&r(v,!0)}const Pe=(()=>{const t=et.find(a=>a.id==="generic");return t?`template-${t.id}`:""})(),st=M(()=>e(v)||!e(s)?"custom":e(s)),Je=M(()=>{const t=[];le()&&t.push({id:qe,name:tt(it,"repo-config")}),e(G)&&t.push({id:B,name:u.workspace_setupScriptEditor_lastUsed_label()});for(const a of et){const w=`template-${a.id}`;(w===Pe||w===e(s))&&t.push({id:w,name:a.name})}return t.push({id:"custom",name:u.workspace_setupScriptPicker_custom_label()}),t}),ct=M(()=>et.filter(t=>!e(Je).some(a=>a.id===`template-${t.id}`)));function Lt(){r(s,""),r(v,!0),r(E,"Custom"),r(q,"custom"),r(J,!1),r(ke,!0),requestAnimationFrame(()=>e(pe)?.focus())}function zt(t){r(se,!0),r(s,""),C(t.content),r(E,t.name,!0),r(q,"named"),r(v,!0),de()?.(C()),r(J,!1),requestAnimationFrame(()=>e(pe)?.focus())}let dt=K(null);ft(()=>{const t=ae()??O();if(t===e(dt))return;const a=e(dt)===null&&(xe()||C().trim().length>0);if(r(dt,t,!0),a){mt(()=>{let T=!1;const h=C().trim();for(const[$,_]of e(Q).entries())if(h===_.content.trim()&&_.source===ce()&&_.label===ge()){r(s,$,!0),r(E,_.label,!0),r(q,_.source,!0),r(v,!1),T=!0;break}T||(r(v,!0),e(E)||(r(E,ge()||u.workspace_setupScriptEditor_custom_name(),!0),r(q,ge()?ce():"named",!0))),r(se,!0)});return}const w=!!le(),j=e(G);if(mt(()=>{if(r(v,!1),r(se,!0),w)r(s,qe,!0),r(E,it,!0),r(q,"repo-config");else if(j)r(s,B),r(E,j.name,!0),r(q,j.nameSource,!0);else if(Pe){r(s,Pe,!0);const T=e(Q).get(Pe);r(E,T?.label||u.workspace_setupScriptEditor_custom_name(),!0),r(q,"named")}else r(E,u.workspace_setupScriptEditor_custom_name(),!0),r(q,"named")}),w&&le())C(le()),de()?.(C());else if(j)C(j.content),de()?.(C());else if(Pe){const T=e(Q).get(Pe);T&&(C(T.content),de()?.(C()))}}),ft(()=>{if(e(se)){r(se,!1);return}C()!==void 0&<(C())}),ft(()=>{ge(e(E)),ce(e(q)),xe(e(v))});var Mt={get repoPath(){return O()},set repoPath(t=""){O(t),R()},get repositoryKey(){return ae()},set repositoryKey(t){ae(t),R()},get githubUrl(){return me()},set githubUrl(t=null){me(t),R()},get projectType(){return ie()},set projectType(t=void 0){ie(t),R()},get repoConfigScript(){return le()},set repoConfigScript(t=null){le(t),R()},get value(){return C()},set value(t=""){C(t),R()},get expanded(){return fe()},set expanded(t=!1){fe(t),R()},get scriptName(){return ge()},set scriptName(t=u.workspace_setupScriptEditor_custom_name()){ge(t),R()},get scriptNameSource(){return ce()},set scriptNameSource(t="named"){ce(t),R()},get isCustomScript(){return xe()},set isCustomScript(t=!1){xe(t),R()},get compact(){return be()},set compact(t=!1){be(t),R()},get triggerClass(){return Le()},set triggerClass(t=""){Le(t),R()},get contentOnly(){return ze()},set contentOnly(t=!1){ze(t),R()},get contentClass(){return je()},set contentClass(t=""){je(t),R()},get presentation(){return he()},set presentation(t="editor"){he(t),R()},get onchange(){return de()},set onchange(t){de(t),R()},$set:Ft,$on:(t,a)=>Dt(P,t,a)},yt=Ue(),Wt=U(yt);{var qt=t=>{var a=Ue(),w=U(a);{var j=T=>{var h=Ue(),$=U(h);{var _=x=>{var k=Ke(),L=c(k);Ae(L),l(k),g(()=>Oe(k,1,`${je()??""} min-w-0`,"svelte-1yy464i")),o(x,k)},i=x=>{var k=Ke(),L=c(k);Ge(L),l(k),g(()=>Oe(k,1,`${je()??""} flex min-h-0 min-w-0 flex-1 flex-col`,"svelte-1yy464i")),o(x,k)},f=x=>{var k=Ke(),L=c(k);Ge(L),l(k),g(()=>Oe(k,1,`${je()??""} flex flex-col gap-3 flex-1 min-h-0 min-w-0`,"svelte-1yy464i")),Fe(3,k,()=>Ze,()=>({tier:"moderate"})),o(x,k)};W($,x=>{he()==="picker"?x(_):he()==="workspace"?x(i,1):x(f,-1)})}o(T,h)};W(w,T=>{fe()&&T(j)})}o(t,a)},Kt=t=>{var a=qr(),w=U(a),j=c(w);we(j,{variant:"ghost",size:"sm",get class(){return`whitespace-nowrap hover:text-inherit! ${Le()??""}`},onclick:()=>fe(!fe()),children:(i,f)=>{var x=zr(),k=U(x);Te(k,{get icon(){return bt},size:"xs"});var L=n(k,2),ue=S(L,!0),ve=n(L,2),I=S(ve,!0);g(F=>{m(ue,F),m(I,e(Me))},[()=>u.workspace_setupScriptEditor_setupScript_label()]),o(i,x)},$$slots:{default:!0}});var T=n(j,2);{var h=i=>{var f=Mr(),x=c(f);Ge(x),l(f),Fe(3,f,()=>Ze,()=>({tier:"moderate"})),o(i,f)};W(T,i=>{fe()&&!be()&&i(h)})}l(w);var $=n(w,2);{var _=i=>{var f=Wr(),x=c(f);Ge(x),l(f),Fe(3,f,()=>Ze,()=>({tier:"moderate"})),o(i,f)};W($,i=>{fe()&&be()&&i(_)})}g(()=>Oe(w,1,gt(be()?"":"w-full"))),o(t,a)};W(Wt,t=>{ze()?t(qt):t(Kt,-1)})}return o(He,yt),Gt(Mt)}rr(["keydown"]);export{Kr as default};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as u,
|
|
1
|
+
import{t as u,br as l,bz as p,bs as b,b as g}from"./CEL6QztG.js";import{bs as h,a5 as _,bA as v,W as x,bn as y,aA as o,aB as S}from"./DYhIMPy1.js";import{s as w}from"./CiSnSGvU.js";import{i as A,l as C}from"./yn6WWSq8.js";import{b as k}from"./BaIAhI85.js";var z=new Set(["$$slots","$$events","$$legacy","ref","children","class"]),B=S("<section><!></section>");function N(c,s){if(new.target)return u({component:N,...c});h(s,!0);let r=l(s,"ref",15,null),a=l(s,"children",7),n=l(s,"class",7),i=b(s,z);var f={get ref(){return r()},set ref(e=null){r(e),o()},get children(){return a()},set children(e){a(e),o()},get class(){return n()},set class(e){n(e),o()},$set:p,$on:(e,d)=>g(s,e,d)},t=B();A(t,e=>({"data-slot":"screen",class:e,...i}),[()=>C("flex min-h-0 min-w-0 flex-col bg-background text-foreground",n())]);var m=_(t);return w(m,a),v(t),k(t,e=>r(e),()=>r()),x(c,t),y(f)}export{N as S};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./DYhIMPy1.js";import{B as R}from"./
|
|
1
|
+
import{aR as o,aP as l,a0 as v,l as y,bu as T,bT as b,bL as f,bM as i,r as m,aQ as p}from"./DYhIMPy1.js";import{B as R}from"./CEL6QztG.js";function E(d,_,e){var s;o&&(s=p,l());var r=new R(d);v(()=>{var a=_()??null;if(o){var h=T(s),u=h===m,c=a!==null;if(u!==c){var t=b();f(t),r.anchor=t,i(!1),r.ensure(a,a&&(n=>e(n,a))),i(!0);return}}r.ensure(a,a&&(n=>e(n,a)))},y)}export{E as c};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var j=Object.defineProperty;var V=(s,e,t)=>e in s?j(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var n=(s,e,t)=>V(s,typeof e!="symbol"?e+"":e,t);import{f as x,j as G,p as z}from"./uXuxG9cN.js";import{u as J,o as T,_ as C,s as b,l as _,n as U}from"./CIyUrgF0.js";import{bo as $}from"./Dso1_H3c.js";class u extends Error{constructor(t){super(t.message);n(this,"code");n(this,"data");n(this,"rpcCode");this.name="BackendError",this.code=t.code,this.data=t.data,this.rpcCode=t.rpcCode}}function Ee(s){return!s||typeof s!="object"?!1:typeof s.rpcCode=="number"}const K=-32003;function Ce(s){return!s||typeof s!="object"?!1:s.rpcCode===K}const Ae=x.refine(s=>s.repository.provider==="github"&&s.kind==="pull-request"||s.repository.provider==="gitlab"&&s.kind==="merge-request"),Oe=J([T({state:C(["available","pending","reconnect-required","restricted","disabled","unsupported","unavailable","unknown"])}),T({state:_("backoff"),retryAt:b()}),T({state:_("unresolved"),reason:C(["missing-provenance","unverified-import","invalid-target","missing-authority","unknown"]).catch("unknown")})]).catch({state:"unknown"}),_e=T({backendId:b().min(1),sessionId:b().min(1),workspaceId:b().min(1)}).strict();function v(s){return typeof s=="number"&&Number.isSafeInteger(s)&&s>=1}function Ne(s){if(s.resource||s.monitorAvailability||s.title===null||s.url===null||s.lastSnapshot===null)return!1;const e=s.lastSnapshot;return!e||!e.availability&&e.isDraft!==null&&e.hasConflicts!==null&&e.isBehind!==null&&Object.values(e.checks).every(t=>t!==null)&&e.approvals.decision!==null&&e.approvals.have!==null&&e.approvals.changesRequested!==null}const Ie=new Set(["agent.getConversation","agent.listUserMessages","agent.getMessageBlock","chat.subscribe","chat.unsubscribe"]);class Y{constructor(e,t,i,o,a,d,R){n(this,"ready");n(this,"acknowledged",!1);n(this,"closed",!1);n(this,"id",0);n(this,"pending",new Map);n(this,"listeners",new Set);n(this,"rejectReady");n(this,"timer");this.socket=e,this.currentSource=o,this.timeoutMs=a,this.onFailure=R,this.ready=new Promise((m,r)=>{this.rejectReady=r,e.onopen=()=>{if(!this.current())return this.fail();this.send("client.hello",{clientId:t,connectionRole:"review-monitor",capabilities:{reviewMonitoring:i}}).then(f=>{const c=f;if(!this.current()||c?.clientId!==t||c?.connectionRole!=="review-monitor"||!v(c?.server?.capabilities?.reviewMonitoring))return this.fail();this.acknowledged=!0,clearTimeout(this.timer),m()},()=>this.fail())}}),this.timer=setTimeout(()=>this.fail(),d),e.onerror=()=>this.fail(),e.onclose=()=>this.fail(),e.onmessage=({data:m})=>{if(!this.current()||typeof m!="string")return;let r;try{r=JSON.parse(m)}catch{return}if(!r||typeof r!="object")return;if(typeof r.method=="string"){if(r.id!=null){try{e.send(JSON.stringify({jsonrpc:"2.0",id:r.id,error:{code:-32601,message:"Method not found"}}))}catch{this.fail()}return}if(this.acknowledged)for(const c of[...this.listeners])c({method:r.method,params:r.params});return}if(typeof r.id!="number")return;const f=this.pending.get(r.id);if(f)if(this.pending.delete(r.id),clearTimeout(f.timer),r.error){const c=r.error.data,g=c&&typeof c=="object"&&"code"in c&&typeof c.code=="string"?c.code:"SERVER_ERROR";f.reject(new u({code:g,message:typeof r.error.message=="string"?r.error.message:"Monitor request failed",data:c,rpcCode:typeof r.error.code=="number"?r.error.code:void 0}))}else f.resolve(r.result)}}current(){return!this.closed&&this.currentSource()}onNotification(e){return this.listeners.add(e),()=>this.listeners.delete(e)}request(e,t){return!this.acknowledged||e==="client.hello"?Promise.reject(this.unavailable()):this.send(e,t)}close(){if(this.closed)return;this.closed=!0,this.acknowledged=!1,clearTimeout(this.timer);const e=this.unavailable();this.rejectReady(e);for(const t of this.pending.values())clearTimeout(t.timer),t.reject(e);this.pending.clear(),this.listeners.clear(),this.socket.onopen=this.socket.onmessage=this.socket.onerror=this.socket.onclose=null;try{this.socket.close()}catch{}}fail(){this.closed||(this.close(),this.onFailure())}unavailable(){return new u({code:"PR_MONITOR_SESSION_RETIRED",message:"Monitor attachment unavailable"})}send(e,t){if(!this.current())return Promise.reject(this.unavailable());const i=++this.id;return new Promise((o,a)=>{const d=setTimeout(()=>{this.pending.delete(i),a(new u({code:"TIMEOUT",message:`JSON-RPC request timed out: ${e}`}))},this.timeoutMs);this.pending.set(i,{resolve:o,reject:a,timer:d});try{this.socket.send(JSON.stringify({jsonrpc:"2.0",id:i,method:e,params:t}))}catch{this.fail()}})}}const X=["agentNodes","localNodeIsolation","agentPlatformRouting","workspaceMembershipEvents","rawScreenshotRetention","chiefAttachments","noteTruncatedRead","remoteMachines","remoteInitialAgent","remoteMachineClaim","machineOrder","remoteLinkTraffic","cloudMachines","cloudMachineEntries","cloudMachineProviders"];function Q(s){return Object.freeze(Object.fromEntries(X.map(e=>[e,s?.[e]===1?1:0])))}function Z(s){if(!G(s,11,1))throw new Error($.files_secondaryRoot_unsupported_error())}function ee(s,e,t){te(s,e)&&Z(t)}function te(s,e){if(s!=="file.read"&&s!=="file.readChunk")return!1;const t=e?.gitRootId;return typeof t=="string"&&!!t.trim()}const N=-32012,se="system.startupStatus",ne=1e3,L=1e3,F=3e4,w=U().int().nonnegative().max(Number.MAX_SAFE_INTEGER),ie=T({completedNotes:w,totalNotes:w,processedSourceBytes:w,totalSourceBytes:w}).refine(s=>s.completedNotes<=s.totalNotes&&s.processedSourceBytes<=s.totalSourceBytes),oe=T({startupStatus:_(1),daemonVersion:b().min(1).optional(),attemptId:b().min(1),phase:C(["preparing","indexing","finalizing","ready","failed"]),elapsedMs:w,phaseElapsedMs:w,progressAgeMs:w,retryAfterMs:U().int().min(L).max(F).optional(),progress:ie.optional(),estimatedRemainingMs:w.optional(),finalizingStep:C(["anchors","committing","services"]).optional(),failure:T({code:b().min(1),message:b().min(1)}).optional()}).refine(s=>(s.phase==="ready"||s.phase==="failed"?s.retryAfterMs===void 0:s.retryAfterMs!==void 0)&&(s.phase==="finalizing"?s.finalizingStep!==void 0:s.finalizingStep===void 0)&&(s.phase==="failed"?s.failure!==void 0:s.failure===void 0)&&(s.estimatedRemainingMs===void 0||s.phase==="indexing"));function B(s){const e=oe.safeParse(s);return e.success?e.data:null}function P(s){const e=typeof s=="number"&&Number.isFinite(s)?s:ne;return Math.min(F,Math.max(L,e))}function re(s){const e=s;return typeof e.rpcCode=="number"?e.rpcCode:typeof e.code=="number"?e.code:void 0}function q(s){if(!s||typeof s!="object"||re(s)!==N)return;const e=s.data??{},t=B(e.startup);if(e.code==="daemon-startup-failed"){const i=e.startup?.failure?.message,o=s.message;return{kind:"failed",message:typeof i=="string"&&i.trim()?i:typeof o=="string"?o:"",snapshot:t}}if(!(e.code!=="daemon-not-ready"||e.retryable!==!0))return{kind:"not-ready",retryAfterMs:P(e.retryAfterMs),snapshot:t}}function D(s){const e=s.snapshot??void 0;return s.state==="failed"?{code:N,message:"Daemon startup failed",data:{code:"daemon-startup-failed",retryable:!1,startup:e}}:{code:N,message:"Daemon not ready",data:{code:"daemon-not-ready",retryable:!0,retryAfterMs:P(e?.retryAfterMs),startup:e}}}const ae=5e3,ce=5e3,le=3e4;function he(s){const e=s.snapshot;return JSON.stringify([s.state,s.available,e?.attemptId,e?.phase,e?.finalizingStep,e?.progress?.completedNotes,e?.progress?.totalNotes,e?.estimatedRemainingMs===void 0,(e?.progressAgeMs??0)>=le])}class ue{constructor(e){n(this,"generation",0);n(this,"timer",null);n(this,"snapshot",null);n(this,"lastKey",null);n(this,"lastPublishedAt",0);this.host=e}start(e){this.stop(),this.snapshot=e.snapshot??this.snapshot,this.publish({state:"starting",snapshot:this.snapshot,available:e.snapshot!==null},!0),this.schedule(e.retryAfterMs)}stop(){this.generation++,this.timer&&(clearTimeout(this.timer),this.timer=null)}reset(){this.stop(),this.snapshot=null,this.lastKey=null,this.lastPublishedAt=0}publish(e,t=!1){const i=he(e),o=Date.now();!t&&i===this.lastKey&&o-this.lastPublishedAt<ce||(this.lastKey=i,this.lastPublishedAt=o,this.host.publish(e))}schedule(e){const t=this.generation;this.timer=setTimeout(()=>{if(this.timer=null,t!==this.generation)return;const i=()=>this.poll(t);this.host.track?this.host.track(i):i()},e)}async poll(e){let t;try{t=B(await this.host.request())}catch(i){if(e!==this.generation)return;const o=q(i);if(o?.kind==="failed"){this.stop(),this.host.fail(o.message,o.snapshot);return}if(o?.kind==="not-ready"){this.snapshot=o.snapshot??this.snapshot,this.publish({state:"starting",snapshot:this.snapshot,available:o.snapshot!==null}),this.schedule(o.retryAfterMs);return}this.unavailable();return}if(e===this.generation){if(t===null){this.unavailable();return}if(this.snapshot=t,t.phase==="failed"){this.stop(),this.host.fail(t.failure?.message??"",t);return}if(t.phase==="ready"){this.stop(),this.publish({state:"starting",snapshot:t,available:!0},!0),this.host.handoff(!0);return}this.publish({state:"starting",snapshot:t,available:!0}),this.schedule(P(t.retryAfterMs))}}unavailable(){this.stop(),this.publish({state:"starting",snapshot:this.snapshot,available:!1},!0),this.host.handoff(!1)}}function Pe(s=(()=>{const e=globalThis.__INTENT_RUNTIME_CONFIG__;return e?.intentdWsUrl!==void 0?e.intentdWsUrl:typeof process>"u"?void 0:""})()){if(typeof s!="string")return;const e=s.trim();if(!e)return;if(e.startsWith("/")&&!e.startsWith("//")&&!e.includes("\\")){const o=globalThis.location;if(o?.host&&(o.protocol==="http:"||o.protocol==="https:"))return`${o.protocol==="https:"?"wss:":"ws:"}//${o.host}${e}`;console.warn("[browser-websocket-transport] Ignoring same-origin WebSocket path without an HTTP page origin");return}let t;try{t=new URL(e)}catch{console.warn("[browser-websocket-transport] Ignoring browser WebSocket URL: expected ws:// or wss://");return}if(t.protocol!=="ws:"&&t.protocol!=="wss:"){console.warn("[browser-websocket-transport] Ignoring browser WebSocket URL: expected ws:// or wss://");return}const i=t.hostname==="localhost"||t.hostname==="127.0.0.1"||t.hostname==="[::1]";if(t.protocol==="ws:"&&!i){console.warn("[browser-websocket-transport] Ignoring insecure remote WebSocket URL: use wss://");return}return e}function de(s){try{const e=new URL(s);return e.username="",e.password="",e.search="",e.hash="",e.toString()}catch{return s.replace(/[?#].*$/,"").replace(/^([a-z][a-z0-9+.-]*:\/\/)[^/]*@/i,"$1")}}const fe={[-32700]:"PARSE_ERROR",[-32600]:"INVALID_REQUEST",[-32601]:"METHOD_NOT_FOUND",[-32602]:"INVALID_PARAMS",[-32603]:"INTERNAL_ERROR"};function pe(s){const e=fe[s];return e||(s<=-32e3&&s>=-32099?"SERVER_ERROR":"UNKNOWN_ERROR")}function me(s){if(s&&typeof s=="object"&&"code"in s){const e=s.code;if(typeof e=="string"&&e.length>0)return e}}function O(s){const e=me(s.data)??pe(s.code),t=s.data&&typeof s.data=="object"?{...s.data,code:e}:typeof s.data=="string"&&s.data.length>0?{code:e,detail:s.data}:{code:e};return{code:e,message:s.message,data:t,rpcCode:s.code}}function E(s){if(s instanceof u)return s;const e=s instanceof Error?s.message:String(s);return new u({code:"TRANSPORT_ERROR",message:e,data:{code:"TRANSPORT_ERROR"}})}const ge=3e4,Re=1e3,ye=3e4,Se=1e4,be=5e3;class we{constructor(e){n(this,"url");n(this,"webSocketFactory");n(this,"requestTimeoutMs");n(this,"reconnectDelayMs");n(this,"maxReconnectDelayMs");n(this,"connectTimeoutMs");n(this,"socket",null);n(this,"connected",!1);n(this,"connecting",!1);n(this,"disposed",!1);n(this,"requestId",0);n(this,"currentReconnectDelay");n(this,"reconnectTimer",null);n(this,"connectTimer",null);n(this,"connectWaiters",[]);n(this,"clientId");n(this,"helloConfirmed",!1);n(this,"acknowledgedHello",null);n(this,"nodeCapabilities",null);n(this,"capabilityHelloGeneration",0);n(this,"reviewMonitoring");n(this,"reviewMonitoringRecipient");n(this,"reviewMonitoringEnabled",!1);n(this,"ordinaryHello",!1);n(this,"monitorRetry",null);n(this,"monitorRetirements",new Set);n(this,"monitorReady",new Set);n(this,"protocolVersion",null);n(this,"helloError",new u({code:"UNAVAILABLE",message:"client.hello has not completed on this connection"}));n(this,"pending",new Map);n(this,"hasBeenConnected",!1);n(this,"hasConnectionFailed",!1);n(this,"notificationHandlers",new Set);n(this,"reconnectedHandlers",new Set);n(this,"statusHandlers",new Set);n(this,"lastNotifiedStatus","disconnected");n(this,"startupState",null);n(this,"startupSocket",null);n(this,"startupPoller",new ue({request:()=>{const e=this.startupSocket;return e?this.requestOnSocket(se,void 0,{timeoutMs:ae},e):Promise.reject(this.startupRefusal())},publish:e=>this.updateStartup(e),handoff:e=>this.startupHandoff(e),fail:(e,t)=>this.failStartup(e,t)}));n(this,"startupHandlers",new Set);this.reviewMonitoringEnabled=v(e.reviewMonitoring),this.reviewMonitoringRecipient=v(e.reviewMonitoring)?e.reviewMonitoring:void 0,this.url=e.url,this.webSocketFactory=e.webSocketFactory??(t=>new WebSocket(t)),this.requestTimeoutMs=e.requestTimeoutMs??ge,this.reconnectDelayMs=e.reconnectDelayMs??Re,this.maxReconnectDelayMs=e.maxReconnectDelayMs??ye,this.connectTimeoutMs=e.connectTimeoutMs??Se,this.currentReconnectDelay=this.reconnectDelayMs}isAvailable(){return!this.disposed}async readPrincipal(){if(this.disposed)throw new u({code:"UNAVAILABLE",message:"Backend transport disposed"});const e=await this.ensureConnected(),t=this.capabilityHelloGeneration,i=structuredClone(this.acknowledgedHello),o=()=>!this.disposed&&this.connected&&this.socket===e&&this.capabilityHelloGeneration===t&&this.acknowledgedHello!==null;if(!o())throw this.helloError;const a=await this.requestOnSocket("principal.me",{},void 0,e);if(!o())throw new u({code:"UNAVAILABLE",message:"Principal discovery connection changed"});return{hello:i,principal:a}}async observeNodeCapabilities(){if(this.disposed)throw new u({code:"UNAVAILABLE",message:"Backend transport disposed"});const e=await this.ensureConnected();if(this.disposed||!this.connected||this.socket!==e)throw new u({code:"UNAVAILABLE",message:"Backend connection changed"});return{server:{capabilities:this.nodeCapabilities}}}onMonitorReconnected(e){this.monitorReady.add(e);const t=this.onReconnected(e);return()=>{this.monitorReady.delete(e),t()}}prMonitorBackendId(){return de(this.url)}async capturePrMonitorSession(e){const t=await this.ensureConnected(),i=this.capabilityHelloGeneration,o=()=>new u({code:"PR_MONITOR_SESSION_RETIRED",message:"Monitor connection unavailable"});let a,d=!1;const R=new Set,m=new Set,r=()=>{if(!d){d=!0,this.monitorRetirements.delete(r),a?.close();for(const l of R)l();R.clear()}},f=()=>!d&&!this.disposed&&this.connected&&this.helloConfirmed&&this.socket===t&&i===this.capabilityHelloGeneration,c=()=>f()&&(!a||a.current());if(!c())throw o();this.monitorRetirements.add(r);const g=v(this.reviewMonitoring);let M=g?"consumer-pending":"unsupported";if(g&&this.reviewMonitoringEnabled&&this.ordinaryHello&&this.clientId)try{if(a=new Y(this.webSocketFactory(this.url),this.clientId,Math.min(this.reviewMonitoringRecipient,this.reviewMonitoring),f,this.requestTimeoutMs,this.connectTimeoutMs,()=>{const l=f();r(),l&&this.scheduleMonitorRecovery(t,i)}),await a.ready,!c())throw o();M="supported"}catch(l){const p=f();throw r(),p&&this.scheduleMonitorRecovery(t,i),l}const y=(l,p)=>a?a.request(l,p):this.requestOnSocket(l,p,void 0,t);return{origin:{backendId:this.prMonitorBackendId(),sessionId:crypto.randomUUID(),workspaceId:e},support:M,onRetired(l){return c()?(R.add(l),()=>{R.delete(l)}):(l(),()=>{})},onNotification:l=>(a??this).onNotification(p=>{c()&&l(p)}),request:async(l,p)=>{if(!c()||M==="consumer-pending"||p.workspaceId!==e)throw o();const k=await y(l,p),h=l==="events.subscribe"?k?.subscriptionId:void 0;if(!c())throw h&&this.socket===t&&this.connected&&i===this.capabilityHelloGeneration&&y("events.unsubscribe",{workspaceId:e,subscriptionId:h}).catch(()=>{}),o();return h&&m.add(h),l==="events.unsubscribe"&&m.delete(String(p.subscriptionId)),k},release:async()=>{const l=c();r(),l&&!a&&await Promise.all([...m].map(p=>this.requestOnSocket("events.unsubscribe",{workspaceId:e,subscriptionId:p},void 0,t).catch(()=>{})))}}}request(e,t,i){return this.requestOnSocket(e,t,i)}requestOnSocket(e,t,i,o){if(i?.localMachine)return Promise.reject(new u({code:"UNAVAILABLE",message:"Local machine requests require the desktop bridge"}));if(this.disposed)return Promise.reject(new u({code:"UNAVAILABLE",message:"Backend transport disposed"}));if(!o&&this.startupState?.state==="starting")return Promise.reject(new u(O(D(this.startupState))));const a=++this.requestId,d=i?.timeoutMs,R=typeof d=="number"&&Number.isFinite(d)&&d>0?d:this.requestTimeoutMs;return new Promise((m,r)=>{let f=!1;const c=setTimeout(()=>{f=!0,this.pending.delete(a),r(new u({code:"TIMEOUT",message:`JSON-RPC request timed out: ${e}`,data:{code:"TIMEOUT"}}))},R),g=y=>{clearTimeout(c),r(E(y))},M=y=>{if(f)return;if(this.disposed||this.socket!==y){g(new u({code:"TRANSPORT_ERROR",message:"Connection replaced"}));return}if(e==="presence.update"&&!this.helloConfirmed){g(this.helloError);return}try{ee(e,t,this.protocolVersion)}catch(h){g(h);return}let l=e==="client.hello"&&this.clientId?{clientId:this.clientId,...t}:t;if(e==="client.hello"){const h={...l},S={...h.capabilities};Object.prototype.hasOwnProperty.call(S,"reviewMonitoring")&&(this.reviewMonitoringEnabled=this.reviewMonitoringRecipient!==void 0&&v(S.reviewMonitoring)),delete S.reviewMonitoring,delete h.connectionRole,h.capabilities!==void 0&&(h.capabilities=S),l=h}const p=JSON.stringify({jsonrpc:"2.0",id:a,method:e,params:l}),k=e==="client.hello"?++this.capabilityHelloGeneration:0;if(e==="client.hello"){this.helloConfirmed=!1,this.ordinaryHello=!1,this.clearMonitorRecovery(),this.nodeCapabilities=null,this.reviewMonitoring=void 0;for(const h of[...this.monitorRetirements])h();this.acknowledgedHello=null}this.pending.set(a,{method:e,timeout:c,resolve:h=>{if(e==="client.hello"&&this.socket===y&&k===this.capabilityHelloGeneration){const S=h?.clientId;if(typeof S=="string"&&S.length>0){const H=h.server?.capabilities;if(this.clientId=S,this.reviewMonitoring=H?.reviewMonitoring,this.ordinaryHello=h.connectionRole===void 0,this.acknowledgedHello=structuredClone(h),this.nodeCapabilities=Q(H),this.protocolVersion=z(h.protocolVersion),this.helloConfirmed=!0,this.connected)for(const W of this.monitorReady)W()}}m(h)},reject:r});try{y.send(p)}catch(h){clearTimeout(c),this.pending.delete(a),r(E(h))}};o?M(o):this.connected&&this.socket?M(this.socket):this.ensureConnected().then(M,g)})}async subscribe(e){return this.request("events.subscribe",e)}async unsubscribe(e,t){try{await this.request("events.unsubscribe",{subscriptionId:e,...t!==void 0?{workspaceId:t}:{}})}catch{}}onNotification(e){return this.notificationHandlers.add(e),()=>this.notificationHandlers.delete(e)}onReconnected(e){return this.reconnectedHandlers.add(e),()=>this.reconnectedHandlers.delete(e)}getConnectionStatus(){return this.connected?"connected":this.connecting?"connecting":"disconnected"}getStartupState(){return this.startupState}onStartupChange(e){return this.startupHandlers.add(e),()=>this.startupHandlers.delete(e)}onConnectionStatusChange(e){return this.statusHandlers.add(e),()=>this.statusHandlers.delete(e)}dispose(){if(this.disposed)return;this.disposed=!0,this.clearReconnect(),this.clearConnectTimer();const e=new u({code:"UNAVAILABLE",message:"Backend transport disposed"});this.failPending(e),this.failWaiters(e),this.teardownSocket(),this.connected=!1,this.connecting=!1,this.notifyStatusChange(),this.notificationHandlers.clear(),this.reconnectedHandlers.clear(),this.statusHandlers.clear(),this.startupHandlers.clear()}ensureConnected(){return this.connected&&this.socket?Promise.resolve(this.socket):new Promise((e,t)=>{this.connectWaiters.push({resolve:e,reject:t}),this.start()})}start(){this.disposed||this.socket||this.connecting||this.reconnectTimer||this.connect()}connect(){this.clearReconnect(),this.connecting=!0,this.notifyStatusChange();let e;try{e=this.webSocketFactory(this.url)}catch(t){this.connecting=!1,this.onConnectionFailure(E(t));return}this.socket=e,this.helloConfirmed=!1,this.connectTimer=setTimeout(()=>{this.connectTimer=null,!(this.socket!==e||this.connected)&&(this.connecting=!1,this.onConnectionFailure(new u({code:"TRANSPORT_ERROR",message:`WebSocket connect attempt timed out after ${this.connectTimeoutMs}ms`})))},this.connectTimeoutMs),e.onopen=()=>{this.socket===e&&this.onConnected(e)},e.onmessage=t=>{this.socket===e&&this.onMessage(t.data)},e.onerror=null,e.onclose=()=>{this.socket===e&&(this.connecting=!1,this.onConnectionFailure(new u({code:"TRANSPORT_ERROR",message:"WebSocket connection closed"})))}}onConnected(e){this.clearConnectTimer(),this.performHelloHandshake(e)}async performHelloHandshake(e){try{await this.requestOnSocket("client.hello",{},{timeoutMs:Math.min(this.requestTimeoutMs,be)},e)}catch(o){if(this.disposed||this.socket!==e)return;const a=q(o);if(a){this.enterStartup(e,a);return}this.helloError=E(o)}if(this.disposed||this.socket!==e)return;this.startupPoller.reset(),this.startupSocket=null;const t=this.startupState!==null;this.startupState=null,this.connecting=!1,this.connected=!0,this.currentReconnectDelay=this.reconnectDelayMs;const i=this.hasBeenConnected||this.hasConnectionFailed;if(this.hasBeenConnected=!0,this.hasConnectionFailed=!1,this.notifyStatusChange(),t)for(const o of[...this.startupHandlers])o(null);if(this.flushWaiters(e),i)for(const o of[...this.reconnectedHandlers])o()}onConnectionFailure(e){if(this.clearConnectTimer(),!this.disposed){if(this.startupSocket!==null&&this.startupSocket===this.socket){this.startupHandoff(!0);return}this.startupState?.state==="starting"&&(this.startupPoller.reset(),this.updateStartup(null)),this.hasConnectionFailed=!0,this.connected=!1,this.notifyStatusChange(),this.teardownSocket(),this.failPending(e),this.failWaiters(e),this.scheduleReconnect()}}notifyStatusChange(){const e=this.getConnectionStatus();if(e!==this.lastNotifiedStatus){this.lastNotifiedStatus=e;for(const t of[...this.statusHandlers])t(e)}}onMessage(e){if(typeof e!="string")return;let t;try{t=JSON.parse(e)}catch{console.warn("[browser-websocket-transport] Dropping unparseable frame");return}if(!t||typeof t!="object")return;const i=typeof t.method=="string",o=t.id!=null;if(i&&o){this.sendFrame({jsonrpc:"2.0",id:t.id,error:{code:-32601,message:`Method not found: ${String(t.method)}`}});return}if(o){const a=Number(t.id),d=this.pending.get(a);if(!d)return;this.pending.delete(a),clearTimeout(d.timeout),t.error?d.reject(new u(O(t.error))):d.resolve(t.result);return}if(i){const a={method:t.method,params:t.params};for(const d of[...this.notificationHandlers])d(a)}}sendFrame(e){try{this.socket?.send(JSON.stringify(e))}catch{}}scheduleReconnect(){if(this.disposed||this.reconnectTimer)return;const e=this.currentReconnectDelay;this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.currentReconnectDelay=Math.min(e*2,this.maxReconnectDelayMs),this.disposed||this.connect()},e)}clearReconnect(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}clearConnectTimer(){this.connectTimer&&(clearTimeout(this.connectTimer),this.connectTimer=null)}scheduleMonitorRecovery(e,t){this.monitorRetry||this.disposed||(this.monitorRetry=setTimeout(()=>{if(this.monitorRetry=null,!this.disposed&&this.connected&&this.socket===e&&this.capabilityHelloGeneration===t)for(const i of[...this.monitorReady])i()},this.reconnectDelayMs))}clearMonitorRecovery(){this.monitorRetry&&clearTimeout(this.monitorRetry),this.monitorRetry=null}teardownSocket(){this.startupPoller.stop(),this.startupSocket=null,this.reviewMonitoring=void 0,this.clearMonitorRecovery();for(const t of[...this.monitorRetirements])t();if(this.acknowledgedHello=null,this.nodeCapabilities=null,this.capabilityHelloGeneration+=1,this.protocolVersion=null,!this.socket)return;const e=this.socket;this.socket=null,e.onopen=null,e.onmessage=null,e.onerror=null,e.onclose=null;try{e.close()}catch{}}updateStartup(e){this.startupState=e?Object.freeze({...e}):null;for(const t of[...this.startupHandlers])t(this.startupState)}startupRefusal(){return this.startupState?new u(O(D(this.startupState))):new u({code:"TRANSPORT_ERROR",message:"WebSocket connection closed"})}enterStartup(e,t){if(this.hasConnectionFailed=!0,t.kind==="failed"){this.failStartup(t.message,t.snapshot);return}this.startupSocket=e,this.startupPoller.start(t),this.failWaiters(this.startupRefusal())}startupHandoff(e){const t=this.startupRefusal();if(this.teardownSocket(),this.failPending(t),this.disposed)return;this.connecting=!0,this.notifyStatusChange(),this.clearReconnect();let i=this.reconnectDelayMs;e?this.currentReconnectDelay=this.reconnectDelayMs:(i=this.currentReconnectDelay,this.currentReconnectDelay=Math.min(i*2,this.maxReconnectDelayMs)),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.disposed||this.connect()},i)}failStartup(e,t){this.startupPoller.stop(),this.startupSocket=null,this.hasConnectionFailed=!0,this.updateStartup({state:"failed",snapshot:t,available:t!==null,message:e}),this.connecting=!1,this.onConnectionFailure(this.startupRefusal())}failPending(e){for(const t of this.pending.values())clearTimeout(t.timeout),t.reject(e);this.pending.clear()}flushWaiters(e){const t=this.connectWaiters;this.connectWaiters=[];for(const i of t)i.resolve(e)}failWaiters(e){const t=this.connectWaiters;this.connectWaiters=[];for(const i of t)i.reject(e)}}function He(s){return new we(s)}let A=null;const I=new Set;function De(s){A=s;for(const e of[...I])e(s)}function Ue(){return A}function Le(s){return I.add(s),A&&s(A),()=>I.delete(s)}export{u as B,Oe as M,_e as P,Ie as R,Ae as a,Ce as b,He as c,Ne as d,Pe as e,v as f,Ue as g,Ee as i,Le as o,De as r,de as s};
|
|
1
|
+
var j=Object.defineProperty;var V=(s,e,t)=>e in s?j(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var n=(s,e,t)=>V(s,typeof e!="symbol"?e+"":e,t);import{f as x,j as G,p as z}from"./uXuxG9cN.js";import{u as J,o as T,_ as C,s as b,l as _,n as U}from"./CIyUrgF0.js";import{bp as $}from"./CEL6QztG.js";class u extends Error{constructor(t){super(t.message);n(this,"code");n(this,"data");n(this,"rpcCode");this.name="BackendError",this.code=t.code,this.data=t.data,this.rpcCode=t.rpcCode}}function Ee(s){return!s||typeof s!="object"?!1:typeof s.rpcCode=="number"}const K=-32003;function Ce(s){return!s||typeof s!="object"?!1:s.rpcCode===K}const Ae=x.refine(s=>s.repository.provider==="github"&&s.kind==="pull-request"||s.repository.provider==="gitlab"&&s.kind==="merge-request"),Oe=J([T({state:C(["available","pending","reconnect-required","restricted","disabled","unsupported","unavailable","unknown"])}),T({state:_("backoff"),retryAt:b()}),T({state:_("unresolved"),reason:C(["missing-provenance","unverified-import","invalid-target","missing-authority","unknown"]).catch("unknown")})]).catch({state:"unknown"}),_e=T({backendId:b().min(1),sessionId:b().min(1),workspaceId:b().min(1)}).strict();function v(s){return typeof s=="number"&&Number.isSafeInteger(s)&&s>=1}function Ne(s){if(s.resource||s.monitorAvailability||s.title===null||s.url===null||s.lastSnapshot===null)return!1;const e=s.lastSnapshot;return!e||!e.availability&&e.isDraft!==null&&e.hasConflicts!==null&&e.isBehind!==null&&Object.values(e.checks).every(t=>t!==null)&&e.approvals.decision!==null&&e.approvals.have!==null&&e.approvals.changesRequested!==null}const Ie=new Set(["agent.getConversation","agent.listUserMessages","agent.getMessageBlock","chat.subscribe","chat.unsubscribe"]);class Y{constructor(e,t,i,o,a,d,R){n(this,"ready");n(this,"acknowledged",!1);n(this,"closed",!1);n(this,"id",0);n(this,"pending",new Map);n(this,"listeners",new Set);n(this,"rejectReady");n(this,"timer");this.socket=e,this.currentSource=o,this.timeoutMs=a,this.onFailure=R,this.ready=new Promise((m,r)=>{this.rejectReady=r,e.onopen=()=>{if(!this.current())return this.fail();this.send("client.hello",{clientId:t,connectionRole:"review-monitor",capabilities:{reviewMonitoring:i}}).then(f=>{const c=f;if(!this.current()||c?.clientId!==t||c?.connectionRole!=="review-monitor"||!v(c?.server?.capabilities?.reviewMonitoring))return this.fail();this.acknowledged=!0,clearTimeout(this.timer),m()},()=>this.fail())}}),this.timer=setTimeout(()=>this.fail(),d),e.onerror=()=>this.fail(),e.onclose=()=>this.fail(),e.onmessage=({data:m})=>{if(!this.current()||typeof m!="string")return;let r;try{r=JSON.parse(m)}catch{return}if(!r||typeof r!="object")return;if(typeof r.method=="string"){if(r.id!=null){try{e.send(JSON.stringify({jsonrpc:"2.0",id:r.id,error:{code:-32601,message:"Method not found"}}))}catch{this.fail()}return}if(this.acknowledged)for(const c of[...this.listeners])c({method:r.method,params:r.params});return}if(typeof r.id!="number")return;const f=this.pending.get(r.id);if(f)if(this.pending.delete(r.id),clearTimeout(f.timer),r.error){const c=r.error.data,g=c&&typeof c=="object"&&"code"in c&&typeof c.code=="string"?c.code:"SERVER_ERROR";f.reject(new u({code:g,message:typeof r.error.message=="string"?r.error.message:"Monitor request failed",data:c,rpcCode:typeof r.error.code=="number"?r.error.code:void 0}))}else f.resolve(r.result)}}current(){return!this.closed&&this.currentSource()}onNotification(e){return this.listeners.add(e),()=>this.listeners.delete(e)}request(e,t){return!this.acknowledged||e==="client.hello"?Promise.reject(this.unavailable()):this.send(e,t)}close(){if(this.closed)return;this.closed=!0,this.acknowledged=!1,clearTimeout(this.timer);const e=this.unavailable();this.rejectReady(e);for(const t of this.pending.values())clearTimeout(t.timer),t.reject(e);this.pending.clear(),this.listeners.clear(),this.socket.onopen=this.socket.onmessage=this.socket.onerror=this.socket.onclose=null;try{this.socket.close()}catch{}}fail(){this.closed||(this.close(),this.onFailure())}unavailable(){return new u({code:"PR_MONITOR_SESSION_RETIRED",message:"Monitor attachment unavailable"})}send(e,t){if(!this.current())return Promise.reject(this.unavailable());const i=++this.id;return new Promise((o,a)=>{const d=setTimeout(()=>{this.pending.delete(i),a(new u({code:"TIMEOUT",message:`JSON-RPC request timed out: ${e}`}))},this.timeoutMs);this.pending.set(i,{resolve:o,reject:a,timer:d});try{this.socket.send(JSON.stringify({jsonrpc:"2.0",id:i,method:e,params:t}))}catch{this.fail()}})}}const X=["agentNodes","localNodeIsolation","agentPlatformRouting","workspaceMembershipEvents","rawScreenshotRetention","chiefAttachments","noteTruncatedRead","remoteMachines","remoteInitialAgent","remoteMachineClaim","machineOrder","remoteLinkTraffic","cloudMachines","cloudMachineEntries","cloudMachineProviders"];function Q(s){return Object.freeze(Object.fromEntries(X.map(e=>[e,s?.[e]===1?1:0])))}function Z(s){if(!G(s,11,1))throw new Error($.files_secondaryRoot_unsupported_error())}function ee(s,e,t){te(s,e)&&Z(t)}function te(s,e){if(s!=="file.read"&&s!=="file.readChunk")return!1;const t=e?.gitRootId;return typeof t=="string"&&!!t.trim()}const N=-32012,se="system.startupStatus",ne=1e3,L=1e3,F=3e4,w=U().int().nonnegative().max(Number.MAX_SAFE_INTEGER),ie=T({completedNotes:w,totalNotes:w,processedSourceBytes:w,totalSourceBytes:w}).refine(s=>s.completedNotes<=s.totalNotes&&s.processedSourceBytes<=s.totalSourceBytes),oe=T({startupStatus:_(1),daemonVersion:b().min(1).optional(),attemptId:b().min(1),phase:C(["preparing","indexing","finalizing","ready","failed"]),elapsedMs:w,phaseElapsedMs:w,progressAgeMs:w,retryAfterMs:U().int().min(L).max(F).optional(),progress:ie.optional(),estimatedRemainingMs:w.optional(),finalizingStep:C(["anchors","committing","services"]).optional(),failure:T({code:b().min(1),message:b().min(1)}).optional()}).refine(s=>(s.phase==="ready"||s.phase==="failed"?s.retryAfterMs===void 0:s.retryAfterMs!==void 0)&&(s.phase==="finalizing"?s.finalizingStep!==void 0:s.finalizingStep===void 0)&&(s.phase==="failed"?s.failure!==void 0:s.failure===void 0)&&(s.estimatedRemainingMs===void 0||s.phase==="indexing"));function B(s){const e=oe.safeParse(s);return e.success?e.data:null}function P(s){const e=typeof s=="number"&&Number.isFinite(s)?s:ne;return Math.min(F,Math.max(L,e))}function re(s){const e=s;return typeof e.rpcCode=="number"?e.rpcCode:typeof e.code=="number"?e.code:void 0}function q(s){if(!s||typeof s!="object"||re(s)!==N)return;const e=s.data??{},t=B(e.startup);if(e.code==="daemon-startup-failed"){const i=e.startup?.failure?.message,o=s.message;return{kind:"failed",message:typeof i=="string"&&i.trim()?i:typeof o=="string"?o:"",snapshot:t}}if(!(e.code!=="daemon-not-ready"||e.retryable!==!0))return{kind:"not-ready",retryAfterMs:P(e.retryAfterMs),snapshot:t}}function D(s){const e=s.snapshot??void 0;return s.state==="failed"?{code:N,message:"Daemon startup failed",data:{code:"daemon-startup-failed",retryable:!1,startup:e}}:{code:N,message:"Daemon not ready",data:{code:"daemon-not-ready",retryable:!0,retryAfterMs:P(e?.retryAfterMs),startup:e}}}const ae=5e3,ce=5e3,le=3e4;function he(s){const e=s.snapshot;return JSON.stringify([s.state,s.available,e?.attemptId,e?.phase,e?.finalizingStep,e?.progress?.completedNotes,e?.progress?.totalNotes,e?.estimatedRemainingMs===void 0,(e?.progressAgeMs??0)>=le])}class ue{constructor(e){n(this,"generation",0);n(this,"timer",null);n(this,"snapshot",null);n(this,"lastKey",null);n(this,"lastPublishedAt",0);this.host=e}start(e){this.stop(),this.snapshot=e.snapshot??this.snapshot,this.publish({state:"starting",snapshot:this.snapshot,available:e.snapshot!==null},!0),this.schedule(e.retryAfterMs)}stop(){this.generation++,this.timer&&(clearTimeout(this.timer),this.timer=null)}reset(){this.stop(),this.snapshot=null,this.lastKey=null,this.lastPublishedAt=0}publish(e,t=!1){const i=he(e),o=Date.now();!t&&i===this.lastKey&&o-this.lastPublishedAt<ce||(this.lastKey=i,this.lastPublishedAt=o,this.host.publish(e))}schedule(e){const t=this.generation;this.timer=setTimeout(()=>{if(this.timer=null,t!==this.generation)return;const i=()=>this.poll(t);this.host.track?this.host.track(i):i()},e)}async poll(e){let t;try{t=B(await this.host.request())}catch(i){if(e!==this.generation)return;const o=q(i);if(o?.kind==="failed"){this.stop(),this.host.fail(o.message,o.snapshot);return}if(o?.kind==="not-ready"){this.snapshot=o.snapshot??this.snapshot,this.publish({state:"starting",snapshot:this.snapshot,available:o.snapshot!==null}),this.schedule(o.retryAfterMs);return}this.unavailable();return}if(e===this.generation){if(t===null){this.unavailable();return}if(this.snapshot=t,t.phase==="failed"){this.stop(),this.host.fail(t.failure?.message??"",t);return}if(t.phase==="ready"){this.stop(),this.publish({state:"starting",snapshot:t,available:!0},!0),this.host.handoff(!0);return}this.publish({state:"starting",snapshot:t,available:!0}),this.schedule(P(t.retryAfterMs))}}unavailable(){this.stop(),this.publish({state:"starting",snapshot:this.snapshot,available:!1},!0),this.host.handoff(!1)}}function Pe(s=(()=>{const e=globalThis.__INTENT_RUNTIME_CONFIG__;return e?.intentdWsUrl!==void 0?e.intentdWsUrl:typeof process>"u"?void 0:""})()){if(typeof s!="string")return;const e=s.trim();if(!e)return;if(e.startsWith("/")&&!e.startsWith("//")&&!e.includes("\\")){const o=globalThis.location;if(o?.host&&(o.protocol==="http:"||o.protocol==="https:"))return`${o.protocol==="https:"?"wss:":"ws:"}//${o.host}${e}`;console.warn("[browser-websocket-transport] Ignoring same-origin WebSocket path without an HTTP page origin");return}let t;try{t=new URL(e)}catch{console.warn("[browser-websocket-transport] Ignoring browser WebSocket URL: expected ws:// or wss://");return}if(t.protocol!=="ws:"&&t.protocol!=="wss:"){console.warn("[browser-websocket-transport] Ignoring browser WebSocket URL: expected ws:// or wss://");return}const i=t.hostname==="localhost"||t.hostname==="127.0.0.1"||t.hostname==="[::1]";if(t.protocol==="ws:"&&!i){console.warn("[browser-websocket-transport] Ignoring insecure remote WebSocket URL: use wss://");return}return e}function de(s){try{const e=new URL(s);return e.username="",e.password="",e.search="",e.hash="",e.toString()}catch{return s.replace(/[?#].*$/,"").replace(/^([a-z][a-z0-9+.-]*:\/\/)[^/]*@/i,"$1")}}const fe={[-32700]:"PARSE_ERROR",[-32600]:"INVALID_REQUEST",[-32601]:"METHOD_NOT_FOUND",[-32602]:"INVALID_PARAMS",[-32603]:"INTERNAL_ERROR"};function pe(s){const e=fe[s];return e||(s<=-32e3&&s>=-32099?"SERVER_ERROR":"UNKNOWN_ERROR")}function me(s){if(s&&typeof s=="object"&&"code"in s){const e=s.code;if(typeof e=="string"&&e.length>0)return e}}function O(s){const e=me(s.data)??pe(s.code),t=s.data&&typeof s.data=="object"?{...s.data,code:e}:typeof s.data=="string"&&s.data.length>0?{code:e,detail:s.data}:{code:e};return{code:e,message:s.message,data:t,rpcCode:s.code}}function E(s){if(s instanceof u)return s;const e=s instanceof Error?s.message:String(s);return new u({code:"TRANSPORT_ERROR",message:e,data:{code:"TRANSPORT_ERROR"}})}const ge=3e4,Re=1e3,ye=3e4,Se=1e4,be=5e3;class we{constructor(e){n(this,"url");n(this,"webSocketFactory");n(this,"requestTimeoutMs");n(this,"reconnectDelayMs");n(this,"maxReconnectDelayMs");n(this,"connectTimeoutMs");n(this,"socket",null);n(this,"connected",!1);n(this,"connecting",!1);n(this,"disposed",!1);n(this,"requestId",0);n(this,"currentReconnectDelay");n(this,"reconnectTimer",null);n(this,"connectTimer",null);n(this,"connectWaiters",[]);n(this,"clientId");n(this,"helloConfirmed",!1);n(this,"acknowledgedHello",null);n(this,"nodeCapabilities",null);n(this,"capabilityHelloGeneration",0);n(this,"reviewMonitoring");n(this,"reviewMonitoringRecipient");n(this,"reviewMonitoringEnabled",!1);n(this,"ordinaryHello",!1);n(this,"monitorRetry",null);n(this,"monitorRetirements",new Set);n(this,"monitorReady",new Set);n(this,"protocolVersion",null);n(this,"helloError",new u({code:"UNAVAILABLE",message:"client.hello has not completed on this connection"}));n(this,"pending",new Map);n(this,"hasBeenConnected",!1);n(this,"hasConnectionFailed",!1);n(this,"notificationHandlers",new Set);n(this,"reconnectedHandlers",new Set);n(this,"statusHandlers",new Set);n(this,"lastNotifiedStatus","disconnected");n(this,"startupState",null);n(this,"startupSocket",null);n(this,"startupPoller",new ue({request:()=>{const e=this.startupSocket;return e?this.requestOnSocket(se,void 0,{timeoutMs:ae},e):Promise.reject(this.startupRefusal())},publish:e=>this.updateStartup(e),handoff:e=>this.startupHandoff(e),fail:(e,t)=>this.failStartup(e,t)}));n(this,"startupHandlers",new Set);this.reviewMonitoringEnabled=v(e.reviewMonitoring),this.reviewMonitoringRecipient=v(e.reviewMonitoring)?e.reviewMonitoring:void 0,this.url=e.url,this.webSocketFactory=e.webSocketFactory??(t=>new WebSocket(t)),this.requestTimeoutMs=e.requestTimeoutMs??ge,this.reconnectDelayMs=e.reconnectDelayMs??Re,this.maxReconnectDelayMs=e.maxReconnectDelayMs??ye,this.connectTimeoutMs=e.connectTimeoutMs??Se,this.currentReconnectDelay=this.reconnectDelayMs}isAvailable(){return!this.disposed}async readPrincipal(){if(this.disposed)throw new u({code:"UNAVAILABLE",message:"Backend transport disposed"});const e=await this.ensureConnected(),t=this.capabilityHelloGeneration,i=structuredClone(this.acknowledgedHello),o=()=>!this.disposed&&this.connected&&this.socket===e&&this.capabilityHelloGeneration===t&&this.acknowledgedHello!==null;if(!o())throw this.helloError;const a=await this.requestOnSocket("principal.me",{},void 0,e);if(!o())throw new u({code:"UNAVAILABLE",message:"Principal discovery connection changed"});return{hello:i,principal:a}}async observeNodeCapabilities(){if(this.disposed)throw new u({code:"UNAVAILABLE",message:"Backend transport disposed"});const e=await this.ensureConnected();if(this.disposed||!this.connected||this.socket!==e)throw new u({code:"UNAVAILABLE",message:"Backend connection changed"});return{server:{capabilities:this.nodeCapabilities}}}onMonitorReconnected(e){this.monitorReady.add(e);const t=this.onReconnected(e);return()=>{this.monitorReady.delete(e),t()}}prMonitorBackendId(){return de(this.url)}async capturePrMonitorSession(e){const t=await this.ensureConnected(),i=this.capabilityHelloGeneration,o=()=>new u({code:"PR_MONITOR_SESSION_RETIRED",message:"Monitor connection unavailable"});let a,d=!1;const R=new Set,m=new Set,r=()=>{if(!d){d=!0,this.monitorRetirements.delete(r),a?.close();for(const l of R)l();R.clear()}},f=()=>!d&&!this.disposed&&this.connected&&this.helloConfirmed&&this.socket===t&&i===this.capabilityHelloGeneration,c=()=>f()&&(!a||a.current());if(!c())throw o();this.monitorRetirements.add(r);const g=v(this.reviewMonitoring);let M=g?"consumer-pending":"unsupported";if(g&&this.reviewMonitoringEnabled&&this.ordinaryHello&&this.clientId)try{if(a=new Y(this.webSocketFactory(this.url),this.clientId,Math.min(this.reviewMonitoringRecipient,this.reviewMonitoring),f,this.requestTimeoutMs,this.connectTimeoutMs,()=>{const l=f();r(),l&&this.scheduleMonitorRecovery(t,i)}),await a.ready,!c())throw o();M="supported"}catch(l){const p=f();throw r(),p&&this.scheduleMonitorRecovery(t,i),l}const y=(l,p)=>a?a.request(l,p):this.requestOnSocket(l,p,void 0,t);return{origin:{backendId:this.prMonitorBackendId(),sessionId:crypto.randomUUID(),workspaceId:e},support:M,onRetired(l){return c()?(R.add(l),()=>{R.delete(l)}):(l(),()=>{})},onNotification:l=>(a??this).onNotification(p=>{c()&&l(p)}),request:async(l,p)=>{if(!c()||M==="consumer-pending"||p.workspaceId!==e)throw o();const k=await y(l,p),h=l==="events.subscribe"?k?.subscriptionId:void 0;if(!c())throw h&&this.socket===t&&this.connected&&i===this.capabilityHelloGeneration&&y("events.unsubscribe",{workspaceId:e,subscriptionId:h}).catch(()=>{}),o();return h&&m.add(h),l==="events.unsubscribe"&&m.delete(String(p.subscriptionId)),k},release:async()=>{const l=c();r(),l&&!a&&await Promise.all([...m].map(p=>this.requestOnSocket("events.unsubscribe",{workspaceId:e,subscriptionId:p},void 0,t).catch(()=>{})))}}}request(e,t,i){return this.requestOnSocket(e,t,i)}requestOnSocket(e,t,i,o){if(i?.localMachine)return Promise.reject(new u({code:"UNAVAILABLE",message:"Local machine requests require the desktop bridge"}));if(this.disposed)return Promise.reject(new u({code:"UNAVAILABLE",message:"Backend transport disposed"}));if(!o&&this.startupState?.state==="starting")return Promise.reject(new u(O(D(this.startupState))));const a=++this.requestId,d=i?.timeoutMs,R=typeof d=="number"&&Number.isFinite(d)&&d>0?d:this.requestTimeoutMs;return new Promise((m,r)=>{let f=!1;const c=setTimeout(()=>{f=!0,this.pending.delete(a),r(new u({code:"TIMEOUT",message:`JSON-RPC request timed out: ${e}`,data:{code:"TIMEOUT"}}))},R),g=y=>{clearTimeout(c),r(E(y))},M=y=>{if(f)return;if(this.disposed||this.socket!==y){g(new u({code:"TRANSPORT_ERROR",message:"Connection replaced"}));return}if(e==="presence.update"&&!this.helloConfirmed){g(this.helloError);return}try{ee(e,t,this.protocolVersion)}catch(h){g(h);return}let l=e==="client.hello"&&this.clientId?{clientId:this.clientId,...t}:t;if(e==="client.hello"){const h={...l},S={...h.capabilities};Object.prototype.hasOwnProperty.call(S,"reviewMonitoring")&&(this.reviewMonitoringEnabled=this.reviewMonitoringRecipient!==void 0&&v(S.reviewMonitoring)),delete S.reviewMonitoring,delete h.connectionRole,h.capabilities!==void 0&&(h.capabilities=S),l=h}const p=JSON.stringify({jsonrpc:"2.0",id:a,method:e,params:l}),k=e==="client.hello"?++this.capabilityHelloGeneration:0;if(e==="client.hello"){this.helloConfirmed=!1,this.ordinaryHello=!1,this.clearMonitorRecovery(),this.nodeCapabilities=null,this.reviewMonitoring=void 0;for(const h of[...this.monitorRetirements])h();this.acknowledgedHello=null}this.pending.set(a,{method:e,timeout:c,resolve:h=>{if(e==="client.hello"&&this.socket===y&&k===this.capabilityHelloGeneration){const S=h?.clientId;if(typeof S=="string"&&S.length>0){const H=h.server?.capabilities;if(this.clientId=S,this.reviewMonitoring=H?.reviewMonitoring,this.ordinaryHello=h.connectionRole===void 0,this.acknowledgedHello=structuredClone(h),this.nodeCapabilities=Q(H),this.protocolVersion=z(h.protocolVersion),this.helloConfirmed=!0,this.connected)for(const W of this.monitorReady)W()}}m(h)},reject:r});try{y.send(p)}catch(h){clearTimeout(c),this.pending.delete(a),r(E(h))}};o?M(o):this.connected&&this.socket?M(this.socket):this.ensureConnected().then(M,g)})}async subscribe(e){return this.request("events.subscribe",e)}async unsubscribe(e,t){try{await this.request("events.unsubscribe",{subscriptionId:e,...t!==void 0?{workspaceId:t}:{}})}catch{}}onNotification(e){return this.notificationHandlers.add(e),()=>this.notificationHandlers.delete(e)}onReconnected(e){return this.reconnectedHandlers.add(e),()=>this.reconnectedHandlers.delete(e)}getConnectionStatus(){return this.connected?"connected":this.connecting?"connecting":"disconnected"}getStartupState(){return this.startupState}onStartupChange(e){return this.startupHandlers.add(e),()=>this.startupHandlers.delete(e)}onConnectionStatusChange(e){return this.statusHandlers.add(e),()=>this.statusHandlers.delete(e)}dispose(){if(this.disposed)return;this.disposed=!0,this.clearReconnect(),this.clearConnectTimer();const e=new u({code:"UNAVAILABLE",message:"Backend transport disposed"});this.failPending(e),this.failWaiters(e),this.teardownSocket(),this.connected=!1,this.connecting=!1,this.notifyStatusChange(),this.notificationHandlers.clear(),this.reconnectedHandlers.clear(),this.statusHandlers.clear(),this.startupHandlers.clear()}ensureConnected(){return this.connected&&this.socket?Promise.resolve(this.socket):new Promise((e,t)=>{this.connectWaiters.push({resolve:e,reject:t}),this.start()})}start(){this.disposed||this.socket||this.connecting||this.reconnectTimer||this.connect()}connect(){this.clearReconnect(),this.connecting=!0,this.notifyStatusChange();let e;try{e=this.webSocketFactory(this.url)}catch(t){this.connecting=!1,this.onConnectionFailure(E(t));return}this.socket=e,this.helloConfirmed=!1,this.connectTimer=setTimeout(()=>{this.connectTimer=null,!(this.socket!==e||this.connected)&&(this.connecting=!1,this.onConnectionFailure(new u({code:"TRANSPORT_ERROR",message:`WebSocket connect attempt timed out after ${this.connectTimeoutMs}ms`})))},this.connectTimeoutMs),e.onopen=()=>{this.socket===e&&this.onConnected(e)},e.onmessage=t=>{this.socket===e&&this.onMessage(t.data)},e.onerror=null,e.onclose=()=>{this.socket===e&&(this.connecting=!1,this.onConnectionFailure(new u({code:"TRANSPORT_ERROR",message:"WebSocket connection closed"})))}}onConnected(e){this.clearConnectTimer(),this.performHelloHandshake(e)}async performHelloHandshake(e){try{await this.requestOnSocket("client.hello",{},{timeoutMs:Math.min(this.requestTimeoutMs,be)},e)}catch(o){if(this.disposed||this.socket!==e)return;const a=q(o);if(a){this.enterStartup(e,a);return}this.helloError=E(o)}if(this.disposed||this.socket!==e)return;this.startupPoller.reset(),this.startupSocket=null;const t=this.startupState!==null;this.startupState=null,this.connecting=!1,this.connected=!0,this.currentReconnectDelay=this.reconnectDelayMs;const i=this.hasBeenConnected||this.hasConnectionFailed;if(this.hasBeenConnected=!0,this.hasConnectionFailed=!1,this.notifyStatusChange(),t)for(const o of[...this.startupHandlers])o(null);if(this.flushWaiters(e),i)for(const o of[...this.reconnectedHandlers])o()}onConnectionFailure(e){if(this.clearConnectTimer(),!this.disposed){if(this.startupSocket!==null&&this.startupSocket===this.socket){this.startupHandoff(!0);return}this.startupState?.state==="starting"&&(this.startupPoller.reset(),this.updateStartup(null)),this.hasConnectionFailed=!0,this.connected=!1,this.notifyStatusChange(),this.teardownSocket(),this.failPending(e),this.failWaiters(e),this.scheduleReconnect()}}notifyStatusChange(){const e=this.getConnectionStatus();if(e!==this.lastNotifiedStatus){this.lastNotifiedStatus=e;for(const t of[...this.statusHandlers])t(e)}}onMessage(e){if(typeof e!="string")return;let t;try{t=JSON.parse(e)}catch{console.warn("[browser-websocket-transport] Dropping unparseable frame");return}if(!t||typeof t!="object")return;const i=typeof t.method=="string",o=t.id!=null;if(i&&o){this.sendFrame({jsonrpc:"2.0",id:t.id,error:{code:-32601,message:`Method not found: ${String(t.method)}`}});return}if(o){const a=Number(t.id),d=this.pending.get(a);if(!d)return;this.pending.delete(a),clearTimeout(d.timeout),t.error?d.reject(new u(O(t.error))):d.resolve(t.result);return}if(i){const a={method:t.method,params:t.params};for(const d of[...this.notificationHandlers])d(a)}}sendFrame(e){try{this.socket?.send(JSON.stringify(e))}catch{}}scheduleReconnect(){if(this.disposed||this.reconnectTimer)return;const e=this.currentReconnectDelay;this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.currentReconnectDelay=Math.min(e*2,this.maxReconnectDelayMs),this.disposed||this.connect()},e)}clearReconnect(){this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null)}clearConnectTimer(){this.connectTimer&&(clearTimeout(this.connectTimer),this.connectTimer=null)}scheduleMonitorRecovery(e,t){this.monitorRetry||this.disposed||(this.monitorRetry=setTimeout(()=>{if(this.monitorRetry=null,!this.disposed&&this.connected&&this.socket===e&&this.capabilityHelloGeneration===t)for(const i of[...this.monitorReady])i()},this.reconnectDelayMs))}clearMonitorRecovery(){this.monitorRetry&&clearTimeout(this.monitorRetry),this.monitorRetry=null}teardownSocket(){this.startupPoller.stop(),this.startupSocket=null,this.reviewMonitoring=void 0,this.clearMonitorRecovery();for(const t of[...this.monitorRetirements])t();if(this.acknowledgedHello=null,this.nodeCapabilities=null,this.capabilityHelloGeneration+=1,this.protocolVersion=null,!this.socket)return;const e=this.socket;this.socket=null,e.onopen=null,e.onmessage=null,e.onerror=null,e.onclose=null;try{e.close()}catch{}}updateStartup(e){this.startupState=e?Object.freeze({...e}):null;for(const t of[...this.startupHandlers])t(this.startupState)}startupRefusal(){return this.startupState?new u(O(D(this.startupState))):new u({code:"TRANSPORT_ERROR",message:"WebSocket connection closed"})}enterStartup(e,t){if(this.hasConnectionFailed=!0,t.kind==="failed"){this.failStartup(t.message,t.snapshot);return}this.startupSocket=e,this.startupPoller.start(t),this.failWaiters(this.startupRefusal())}startupHandoff(e){const t=this.startupRefusal();if(this.teardownSocket(),this.failPending(t),this.disposed)return;this.connecting=!0,this.notifyStatusChange(),this.clearReconnect();let i=this.reconnectDelayMs;e?this.currentReconnectDelay=this.reconnectDelayMs:(i=this.currentReconnectDelay,this.currentReconnectDelay=Math.min(i*2,this.maxReconnectDelayMs)),this.reconnectTimer=setTimeout(()=>{this.reconnectTimer=null,this.disposed||this.connect()},i)}failStartup(e,t){this.startupPoller.stop(),this.startupSocket=null,this.hasConnectionFailed=!0,this.updateStartup({state:"failed",snapshot:t,available:t!==null,message:e}),this.connecting=!1,this.onConnectionFailure(this.startupRefusal())}failPending(e){for(const t of this.pending.values())clearTimeout(t.timeout),t.reject(e);this.pending.clear()}flushWaiters(e){const t=this.connectWaiters;this.connectWaiters=[];for(const i of t)i.resolve(e)}failWaiters(e){const t=this.connectWaiters;this.connectWaiters=[];for(const i of t)i.reject(e)}}function He(s){return new we(s)}let A=null;const I=new Set;function De(s){A=s;for(const e of[...I])e(s)}function Ue(){return A}function Le(s){return I.add(s),A&&s(A),()=>I.delete(s)}export{u as B,Oe as M,_e as P,Ie as R,Ae as a,Ce as b,He as c,Ne as d,Pe as e,v as f,Ue as g,Ee as i,Le as o,De as r,de as s};
|