@intent-hq/web 2.385.2 → 2.387.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web/app/immutable/assets/0.DSZNT9Vm.css +1 -0
- package/web/app/immutable/chunks/{CBueLH7U.js → -2rOENSl.js} +1 -1
- package/web/app/immutable/chunks/{-8sNsc56.js → -hTxjwFO.js} +1 -1
- package/web/app/immutable/chunks/{DJPIUVkw.js → 0Kw0mmSW.js} +1 -1
- package/web/app/immutable/chunks/{deEweluJ.js → 6NStP9u7.js} +1 -1
- package/web/app/immutable/chunks/{BzirSHSv.js → 6uD0LviT.js} +1 -1
- package/web/app/immutable/chunks/{Dxd7AQYv.js → 9fNNDfgo.js} +1 -1
- package/web/app/immutable/chunks/{C9ew0Hx2.js → AXzVloaq.js} +1 -1
- package/web/app/immutable/chunks/{TT8yXpG-.js → AfZNmzF0.js} +1 -1
- package/web/app/immutable/chunks/{BSUnflvl.js → B-bGycam.js} +1 -1
- package/web/app/immutable/chunks/{Da-Blgd9.js → B0RPkrmZ.js} +1 -1
- package/web/app/immutable/chunks/{pomj9evG.js → B1TtNV9x.js} +1 -1
- package/web/app/immutable/chunks/{DPtj8tX0.js → B3QTKmHy.js} +1 -1
- package/web/app/immutable/chunks/{BdU-kPC9.js → B3ziY5oo.js} +2 -2
- package/web/app/immutable/chunks/{DE32K02M.js → B6-aVrNf.js} +4 -4
- package/web/app/immutable/chunks/{CMq0sOjt.js → B79iAtSu.js} +2 -2
- package/web/app/immutable/chunks/{B433f4mk.js → B7esq_NU.js} +1 -1
- package/web/app/immutable/chunks/{BByf3ILj.js → B9BALnhr.js} +1 -1
- package/web/app/immutable/chunks/{nw_ZiYCy.js → B9GWGWit.js} +1 -1
- package/web/app/immutable/chunks/{TC7OsYhy.js → BAAQt1ZW.js} +1 -1
- package/web/app/immutable/chunks/{DVz0ewou.js → BC5HDfRR.js} +1 -1
- package/web/app/immutable/chunks/BC6tIXxU.js +1 -0
- package/web/app/immutable/chunks/{l7vsMvdj.js → BFMlH_mp.js} +2 -2
- package/web/app/immutable/chunks/{f5nWqjrx.js → BFi0zRRv.js} +1 -1
- package/web/app/immutable/chunks/{DM1_VFfD.js → BH3eRhvI.js} +1 -1
- package/web/app/immutable/chunks/{BlIRL_82.js → BIfjK4Wy.js} +1 -1
- package/web/app/immutable/chunks/{BmC9h1kv.js → BJEUIKTL.js} +1 -1
- package/web/app/immutable/chunks/{SbTG0nwQ.js → BJbm_MWC.js} +1 -1
- package/web/app/immutable/chunks/{Mko8tFZb.js → BK0IkwFP.js} +2 -2
- package/web/app/immutable/chunks/{D7Dfbf5g.js → BLMhg4vm.js} +1 -1
- package/web/app/immutable/chunks/{Dvi4g0xk.js → BLhJfI63.js} +1 -1
- package/web/app/immutable/chunks/{C50zlWbZ.js → BNDTLRE1.js} +1 -1
- package/web/app/immutable/chunks/{A0KsbysW.js → BOyRg328.js} +1 -1
- package/web/app/immutable/chunks/{CJB-ebPL.js → BP-cDE7g.js} +1 -1
- package/web/app/immutable/chunks/{lD0hZ5-I.js → BPscmH6M.js} +1 -1
- package/web/app/immutable/chunks/{CEEUgGO1.js → BQ8hOnRo.js} +1 -1
- package/web/app/immutable/chunks/{BD9db4FR.js → BQhBnAuP.js} +1 -1
- package/web/app/immutable/chunks/{JM7CQkWC.js → BRRnx9NG.js} +1 -1
- package/web/app/immutable/chunks/{CPI5xBWX.js → BSt1DBgt.js} +1 -1
- package/web/app/immutable/chunks/{BoznPtpa.js → BSu_WKe5.js} +1 -1
- package/web/app/immutable/chunks/{8jMQM9h0.js → BUsnh1ZW.js} +1 -1
- package/web/app/immutable/chunks/{RHSH5iZ7.js → BVYisuIY.js} +1 -1
- package/web/app/immutable/chunks/{IkcYx7DF.js → BVmCM-pH.js} +1 -1
- package/web/app/immutable/chunks/{Dxfvrgme.js → BWJopR_X.js} +1 -1
- package/web/app/immutable/chunks/{CFmT7rsG.js → BXlN4FOb.js} +1 -1
- package/web/app/immutable/chunks/{BXJzIaQM.js → BaOiWDrc.js} +1 -1
- package/web/app/immutable/chunks/{C-PQQ8rb.js → Bajx4HLb.js} +1 -1
- package/web/app/immutable/chunks/{DhVTc7Ol.js → Bbae4OrB.js} +2 -2
- package/web/app/immutable/chunks/{BbuLzldI.js → Bbs1UlDC.js} +1 -1
- package/web/app/immutable/chunks/{DnKqeAaM.js → BcrN1yjB.js} +1 -1
- package/web/app/immutable/chunks/{sSXTMg2P.js → BfQFKWzJ.js} +1 -1
- package/web/app/immutable/chunks/{DSiGyv9Y.js → Bj4IsLvN.js} +1 -1
- package/web/app/immutable/chunks/{BCZTn_fp.js → BkcO6l5G.js} +1 -1
- package/web/app/immutable/chunks/{Cv0qomAl.js → Bl72eYFn.js} +1 -1
- package/web/app/immutable/chunks/{B5uejTJk.js → BlAMrm5X.js} +1 -1
- package/web/app/immutable/chunks/{7ZsTr9xa.js → BlJAndP6.js} +1 -1
- package/web/app/immutable/chunks/{pnbUAKkx.js → Blt813S0.js} +1 -1
- package/web/app/immutable/chunks/{D1fDU8Ti.js → Bm3beBRj.js} +1 -1
- package/web/app/immutable/chunks/{OGqbAD_O.js → BmM9C7Gu.js} +1 -1
- package/web/app/immutable/chunks/{CmyAIpbY.js → Bmm_g7di.js} +4 -4
- package/web/app/immutable/chunks/{CD-M_2xD.js → BoUQWR1c.js} +1 -1
- package/web/app/immutable/chunks/{BECK4OaG.js → BoZ2kJyE.js} +1 -1
- package/web/app/immutable/chunks/{wiGlLVr-.js → BpXDXz8J.js} +1 -1
- package/web/app/immutable/chunks/{7y3Z0Q49.js → BpwKnO7b.js} +3 -3
- package/web/app/immutable/chunks/{tLFaYuVN.js → Bq7euxCs.js} +1 -1
- package/web/app/immutable/chunks/{CI0C7_h-.js → Bsdq-idi.js} +1 -1
- package/web/app/immutable/chunks/{CfYakquS.js → Bsru2omj.js} +1 -1
- package/web/app/immutable/chunks/{D_VvdZe2.js → Bstq-Mm1.js} +1 -1
- package/web/app/immutable/chunks/{CPvH5Ru2.js → Bt11uxE8.js} +4 -4
- package/web/app/immutable/chunks/{BdEtT3Ti.js → BtchneSc.js} +1 -1
- package/web/app/immutable/chunks/{3qVSmuIV.js → Bu67WlMm.js} +1 -1
- package/web/app/immutable/chunks/{CvZTDgJa.js → BuTcdZo7.js} +1 -1
- package/web/app/immutable/chunks/{Bf_nrOhg.js → BuXXIZt7.js} +1 -1
- package/web/app/immutable/chunks/{DsfORPYa.js → BudPFdIj.js} +1 -1
- package/web/app/immutable/chunks/{SRhgUz9l.js → BuiwW61u.js} +1 -1
- package/web/app/immutable/chunks/{4PAYwk2I.js → BvjgIPau.js} +1 -1
- package/web/app/immutable/chunks/{DEs9kPtf.js → BxTCsbTV.js} +1 -1
- package/web/app/immutable/chunks/{BoG8wR7s.js → ByBw1QkA.js} +1 -1
- package/web/app/immutable/chunks/{CmTojxTj.js → Byr10Y9u.js} +1 -1
- package/web/app/immutable/chunks/{BLvtkZ8G.js → C-y1uW-U.js} +1 -1
- package/web/app/immutable/chunks/{B4I8lQNP.js → C07_BcWL.js} +1 -1
- package/web/app/immutable/chunks/{BHqp2vwo.js → C2zt__Wj.js} +1 -1
- package/web/app/immutable/chunks/{B3IS1jjn.js → C4t02ICg.js} +2 -2
- package/web/app/immutable/chunks/{2ZJE_wyo.js → C53ouDFl.js} +1 -1
- package/web/app/immutable/chunks/{DzqKdIr-.js → C6rcni5e.js} +1 -1
- package/web/app/immutable/chunks/{CAfPEsZt.js → C7ajdkO4.js} +1 -1
- package/web/app/immutable/chunks/{O49gK3tp.js → C8Wy-uTf.js} +1 -1
- package/web/app/immutable/chunks/{DYbZIRJE.js → CACH34FC.js} +1 -1
- package/web/app/immutable/chunks/{FVS6L2WV.js → CAiDxi6i.js} +3 -3
- package/web/app/immutable/chunks/{5-0LQoqd.js → CBbdbU2x.js} +1 -1
- package/web/app/immutable/chunks/{BTepRW_m.js → CCzan1r_.js} +4 -4
- package/web/app/immutable/chunks/{0pEQEOm6.js → CD9WEaPg.js} +1 -1
- package/web/app/immutable/chunks/{DV7x43jt.js → CEap7Fwz.js} +1 -1
- package/web/app/immutable/chunks/{BV1ayWTC.js → CG28d89U.js} +1 -1
- package/web/app/immutable/chunks/{C_SKcJv7.js → CGdXewiA.js} +1 -1
- package/web/app/immutable/chunks/{CjjWPVbV.js → CHApvLbz.js} +3 -3
- package/web/app/immutable/chunks/{DWa-2rkZ.js → CIWQMI37.js} +1 -1
- package/web/app/immutable/chunks/{zB9UbdEg.js → CIlqcFRn.js} +1 -1
- package/web/app/immutable/chunks/{BqARUxDK.js → CJ7hw6mW.js} +1 -1
- package/web/app/immutable/chunks/{DDb9H7X6.js → CKcb8dge.js} +3 -3
- package/web/app/immutable/chunks/{BzEFG3NN.js → CMsGHYhn.js} +1 -1
- package/web/app/immutable/chunks/{Dmx5wWLe.js → CNl453qs.js} +1 -1
- package/web/app/immutable/chunks/{B6eTPmJH.js → COVS9Crf.js} +1 -1
- package/web/app/immutable/chunks/{iCWz6IE9.js → CPdyCf2B.js} +1 -1
- package/web/app/immutable/chunks/{HC_j1BdV.js → CQA1q0F9.js} +1 -1
- package/web/app/immutable/chunks/{B5anfoVk.js → CS6HVyHp.js} +1 -1
- package/web/app/immutable/chunks/{DVJBGL7F.js → CSlvwZw1.js} +1 -1
- package/web/app/immutable/chunks/{BSygKG3g.js → CTVz-pXS.js} +3 -3
- package/web/app/immutable/chunks/{7KxcPj98.js → CTowDLQa.js} +1 -1
- package/web/app/immutable/chunks/{BQLaE7V5.js → CULu7FSf.js} +1 -1
- package/web/app/immutable/chunks/{C2YpPfAS.js → CUxtJz1o.js} +1 -1
- package/web/app/immutable/chunks/{CoJyxFcH.js → CV5qbjYN.js} +1 -1
- package/web/app/immutable/chunks/{0MXBpkLa.js → CVd7xnlx.js} +1 -1
- package/web/app/immutable/chunks/{7HiVLHLh.js → CW4vzFn_.js} +1 -1
- package/web/app/immutable/chunks/{CVuncf5f.js → CY2g-8Xo.js} +1 -1
- package/web/app/immutable/chunks/{CObW_WD-.js → CY4ZK6xA.js} +3 -3
- package/web/app/immutable/chunks/{rXKOJqUt.js → CZB2ndi9.js} +1 -1
- package/web/app/immutable/chunks/{CuPx_r7k.js → CZex5Cac.js} +1 -1
- package/web/app/immutable/chunks/{DAUvP6UD.js → C_4qh07f.js} +1 -1
- package/web/app/immutable/chunks/{B2jyBWIj.js → CbQ8NVeY.js} +1 -1
- package/web/app/immutable/chunks/{B5NaFcis.js → CbQYR4R2.js} +3 -3
- package/web/app/immutable/chunks/{D40Fo-pJ.js → CcgSaDDB.js} +1 -1
- package/web/app/immutable/chunks/CeeeYtIE.js +1 -0
- package/web/app/immutable/chunks/{CV2tdNDf.js → CfIVswBm.js} +1 -1
- package/web/app/immutable/chunks/{VeUh5OMZ.js → CfaCrhAh.js} +1 -1
- package/web/app/immutable/chunks/{C9p4fddz.js → CggFXl4B.js} +1 -1
- package/web/app/immutable/chunks/{6paLMka3.js → Chg0KuUy.js} +2 -2
- package/web/app/immutable/chunks/{CTW83wJs.js → Ci75CkmK.js} +1 -1
- package/web/app/immutable/chunks/{CWOQ_pUA.js → CisSEUth.js} +1 -1
- package/web/app/immutable/chunks/{2qYrAiyX.js → Ck8ZqpbB.js} +1 -1
- package/web/app/immutable/chunks/{DHcX7CG0.js → ClQE9kQf.js} +1 -1
- package/web/app/immutable/chunks/{CgCJQyTf.js → ClSbVEed.js} +1 -1
- package/web/app/immutable/chunks/{BLKFshyr.js → CmhKJ6Ie.js} +1 -1
- package/web/app/immutable/chunks/{lTwh0Wzj.js → CndJcn8K.js} +1 -1
- package/web/app/immutable/chunks/{Clo7aK1n.js → Co9CFvqw.js} +1 -1
- package/web/app/immutable/chunks/{3iG5yoX3.js → CoAfXTHr.js} +1 -1
- package/web/app/immutable/chunks/CoCy46Yy.js +1 -0
- package/web/app/immutable/chunks/{DLQIjfwi.js → CoOgBJzu.js} +1 -1
- package/web/app/immutable/chunks/{CQMFoUkp.js → Cq8MD_3v.js} +1 -1
- package/web/app/immutable/chunks/{DpITHrfz.js → CqGq5PHb.js} +1 -1
- package/web/app/immutable/chunks/{Bi_Yd73A.js → CrL2Nk6a.js} +1 -1
- package/web/app/immutable/chunks/{CzXIAWau.js → CrZlcn4Y.js} +1 -1
- package/web/app/immutable/chunks/{D-rRuAXZ.js → CrpUtGFn.js} +1 -1
- package/web/app/immutable/chunks/{CiWHn2aR.js → CrvtnK13.js} +2 -2
- package/web/app/immutable/chunks/{94vL4WlW.js → CrwLq8nY.js} +1 -1
- package/web/app/immutable/chunks/{CXZbeRE-.js → Cs-DtA5c.js} +1 -1
- package/web/app/immutable/chunks/{6xdvppss.js → CtDIyzmZ.js} +1 -1
- package/web/app/immutable/chunks/{CL4ty7oi.js → Cuqu6DgP.js} +1 -1
- package/web/app/immutable/chunks/{BIGqOuh0.js → Cw2fqKk9.js} +1 -1
- package/web/app/immutable/chunks/{9GO97JAL.js → CwCTYQp7.js} +1 -1
- package/web/app/immutable/chunks/{COWlXo8C.js → CxMr7p-O.js} +3 -3
- package/web/app/immutable/chunks/{CCyecAzB.js → Cyr0PKv3.js} +1 -1
- package/web/app/immutable/chunks/{BuFDqZnJ.js → CzTSi5lc.js} +1 -1
- package/web/app/immutable/chunks/{HU1Ksz8U.js → CzjElr82.js} +1 -1
- package/web/app/immutable/chunks/{ada9rZfE.js → D-DyBHf9.js} +1 -1
- package/web/app/immutable/chunks/{BTvTyEgq.js → D-aEx3GL.js} +2 -2
- package/web/app/immutable/chunks/{DbqTt-YM.js → D1R1FWjP.js} +1 -1
- package/web/app/immutable/chunks/{CYSndAne.js → D1YPh_5n.js} +1 -1
- package/web/app/immutable/chunks/{kAZ_zPIu.js → D24Of5Kd.js} +1 -1
- package/web/app/immutable/chunks/{C0Zo7HuP.js → D25lWS8Q.js} +1 -1
- package/web/app/immutable/chunks/{NC6gsHNQ.js → D2ch709U.js} +1 -1
- package/web/app/immutable/chunks/{BNa9zzEx.js → D2kIeaeO.js} +1 -1
- package/web/app/immutable/chunks/{BgDnzAo4.js → D2y-zN_4.js} +1 -1
- package/web/app/immutable/chunks/{fHygQTSC.js → D3waRWO1.js} +1 -1
- package/web/app/immutable/chunks/{DcOkWaeN.js → D48_y-cl.js} +1 -1
- package/web/app/immutable/chunks/{DX9N1RQz.js → D49zWKPf.js} +1 -1
- package/web/app/immutable/chunks/{4g_iHoQm.js → D5wnbxHp.js} +1 -1
- package/web/app/immutable/chunks/{CletI6Pa.js → D7AX9X0W.js} +1 -1
- package/web/app/immutable/chunks/{CCEmXQBN.js → DCL7QtVR.js} +1 -1
- package/web/app/immutable/chunks/{U7dpdlAf.js → DEQDOTA1.js} +1 -1
- package/web/app/immutable/chunks/{DlpH_aW2.js → DGK5CsQK.js} +1 -1
- package/web/app/immutable/chunks/{BrMDbquN.js → DGj-492Z.js} +2 -2
- package/web/app/immutable/chunks/{B8HnjSSF.js → DIEHuZ8f.js} +1 -1
- package/web/app/immutable/chunks/{Cy9hcA7q.js → DIoT8eB4.js} +1 -1
- package/web/app/immutable/chunks/{BPuz5cN_.js → DJivXy66.js} +2 -2
- package/web/app/immutable/chunks/{BXv1gq_o.js → DKeBnsgS.js} +1 -1
- package/web/app/immutable/chunks/DLO_0egf.js +1 -0
- package/web/app/immutable/chunks/{yDmmPu6L.js → DLttsd3i.js} +1 -1
- package/web/app/immutable/chunks/{BSgFpkqa.js → DMV5KQix.js} +1 -1
- package/web/app/immutable/chunks/DNZCPKpq.js +3 -0
- package/web/app/immutable/chunks/{BWCYowXB.js → DNnmVx8j.js} +1 -1
- package/web/app/immutable/chunks/DP0K41jk.js +1 -0
- package/web/app/immutable/chunks/{BmFHmusU.js → DP2r4UWt.js} +1 -1
- package/web/app/immutable/chunks/{B6d1Nolc.js → DPG1HUgG.js} +1 -1
- package/web/app/immutable/chunks/{BvbeTrka.js → DPjr22dV.js} +1 -1
- package/web/app/immutable/chunks/{LQRHF1eM.js → DPmNtGFj.js} +1 -1
- package/web/app/immutable/chunks/{bKvZbiNk.js → DQ8CqY9L.js} +2 -2
- package/web/app/immutable/chunks/{IwNEzJ15.js → DQpDIYyw.js} +1 -1
- package/web/app/immutable/chunks/{CrsbEWnE.js → DRLJuUwT.js} +1 -1
- package/web/app/immutable/chunks/{B5stdxh5.js → DRXgE6SQ.js} +1 -1
- package/web/app/immutable/chunks/{Ex_x2wO5.js → DU1ubslo.js} +1 -1
- package/web/app/immutable/chunks/{ClYR_2Js.js → DUFN_Pzm.js} +1 -1
- package/web/app/immutable/chunks/{CNSshwg_.js → DWqaYE81.js} +1 -1
- package/web/app/immutable/chunks/{BY0BGmY0.js → DXI99C-u.js} +1 -1
- package/web/app/immutable/chunks/{DI71nFp4.js → D_5u7gP_.js} +1 -1
- package/web/app/immutable/chunks/{D7P3vklT.js → D_AhXAPc.js} +1 -1
- package/web/app/immutable/chunks/{BMnuRHbZ.js → DaMlaKH_.js} +2 -2
- package/web/app/immutable/chunks/{CsmNoTJl.js → Db1BGAZN.js} +1 -1
- package/web/app/immutable/chunks/{COjWFpJP.js → DcRqMoeH.js} +1 -1
- package/web/app/immutable/chunks/{BO8Bp7Ht.js → Dd3UnPYB.js} +1 -1
- package/web/app/immutable/chunks/{C1AUaRa8.js → DdLy5J3P.js} +1 -1
- package/web/app/immutable/chunks/{B_75gRww.js → DezlVQ1h.js} +1 -1
- package/web/app/immutable/chunks/{DPR_clFy.js → Dga6E45c.js} +1 -1
- package/web/app/immutable/chunks/{Bu-RLSv9.js → DgtVALrr.js} +1 -1
- package/web/app/immutable/chunks/{CIJ-7Xzd.js → DhVLJG6D.js} +1 -1
- package/web/app/immutable/chunks/{C63WwVct.js → DkERMj5B.js} +1 -1
- package/web/app/immutable/chunks/{DGMrUmNq.js → DkJYBjJg.js} +1 -1
- package/web/app/immutable/chunks/{BSntxgH1.js → DkOk28fz.js} +1 -1
- package/web/app/immutable/chunks/{BDsciJGp.js → Dk_Hc5oq.js} +1 -1
- package/web/app/immutable/chunks/{DGv69LVd.js → DlfbUU6o.js} +1 -1
- package/web/app/immutable/chunks/{odj5qcEP.js → DlwTP-AJ.js} +1 -1
- package/web/app/immutable/chunks/{CU_-vK2M.js → Dm98YBgx.js} +3 -3
- package/web/app/immutable/chunks/{BhQMKzoM.js → DmWvRjk6.js} +1 -1
- package/web/app/immutable/chunks/{CDAnHxmJ.js → DmpdpJAo.js} +1 -1
- package/web/app/immutable/chunks/{DhLHwyRV.js → Dn_aCJkC.js} +1 -1
- package/web/app/immutable/chunks/{BVuLEX_p.js → Do-SaITx.js} +1 -1
- package/web/app/immutable/chunks/{c0c_b7yh.js → DoY7_Wfd.js} +1 -1
- package/web/app/immutable/chunks/{CXeB7YFK.js → DqEoTQds.js} +1 -1
- package/web/app/immutable/chunks/{B7y9pKDL.js → DtVrXGBM.js} +1 -1
- package/web/app/immutable/chunks/{Do2KlQU0.js → DtkIwON_.js} +1 -1
- package/web/app/immutable/chunks/{BRKjDAGC.js → DuoQQplG.js} +1 -1
- package/web/app/immutable/chunks/{B5tvpTFB.js → DwGyIIXK.js} +1 -1
- package/web/app/immutable/chunks/{DlUpt_0u.js → DwbEs_9r.js} +1 -1
- package/web/app/immutable/chunks/{COgn_CzG.js → DwiE5WsI.js} +1 -1
- package/web/app/immutable/chunks/{DiURwJNX.js → DxSE2XEK.js} +1 -1
- package/web/app/immutable/chunks/{Cp02CBjf.js → DxnZvDv0.js} +1 -1
- package/web/app/immutable/chunks/{418Agcsp.js → Dy9FYRX8.js} +1 -1
- package/web/app/immutable/chunks/{BKMQo7oP.js → DzTn7KcX.js} +1 -1
- package/web/app/immutable/chunks/{CXDUvPYf.js → ELYZilX0.js} +1 -1
- package/web/app/immutable/chunks/{7mo0aYB5.js → ExR0UceK.js} +1 -1
- package/web/app/immutable/chunks/{Bc1vJq_Z.js → FLpsgWeB.js} +1 -1
- package/web/app/immutable/chunks/{B5q4SHo9.js → GTsIF2uA.js} +1 -1
- package/web/app/immutable/chunks/{BwPwF85e.js → HLNbJ-7M.js} +1 -1
- package/web/app/immutable/chunks/{B2CniqS1.js → Hi2H4bj8.js} +1 -1
- package/web/app/immutable/chunks/{DZScoaNb.js → I9b9apiN.js} +1 -1
- package/web/app/immutable/chunks/{PhAbES0t.js → Idk978zJ.js} +1 -1
- package/web/app/immutable/chunks/{DQT1hnTe.js → Ii0VTY5h.js} +1 -1
- package/web/app/immutable/chunks/{jBG7W4tL.js → ItBm4ElA.js} +1 -1
- package/web/app/immutable/chunks/{BJgwBOBz.js → Jk9a4xPx.js} +1 -1
- package/web/app/immutable/chunks/{BW1iql_y.js → KtEuoG00.js} +1 -1
- package/web/app/immutable/chunks/{DtqPBHQj.js → L3K71tUU.js} +1 -1
- package/web/app/immutable/chunks/{Bv_xG3nA.js → Lk7a_7W9.js} +1 -1
- package/web/app/immutable/chunks/{nwO3KCpP.js → Mmc_61iE.js} +1 -1
- package/web/app/immutable/chunks/{DlU1rxYV.js → R5lmOJFS.js} +1 -1
- package/web/app/immutable/chunks/{B6FGs8l2.js → RTRAqswA.js} +1 -1
- package/web/app/immutable/chunks/{CTgU1bby.js → T-5C1GqS.js} +1 -1
- package/web/app/immutable/chunks/{B5qiyEpH.js → UYAhegVx.js} +1 -1
- package/web/app/immutable/chunks/{h8JtxU_T.js → UsbmbYa0.js} +1 -1
- package/web/app/immutable/chunks/{pMP23LzB.js → VcnbZvDh.js} +1 -1
- package/web/app/immutable/chunks/{gU2qspu9.js → WvHbj6rB.js} +1 -1
- package/web/app/immutable/chunks/{jnsEVh0o.js → XK8g38bo.js} +1 -1
- package/web/app/immutable/chunks/{B0qb2Ymj.js → Y2a1lhL9.js} +1 -1
- package/web/app/immutable/chunks/YLhFQnIu.js +1 -0
- package/web/app/immutable/chunks/{DLCFUd4s.js → YeOAvjnW.js} +1 -1
- package/web/app/immutable/chunks/{Dval4sTX.js → _3Ca9E4W.js} +1 -1
- package/web/app/immutable/chunks/{BZkfp4xg.js → _duPkHC1.js} +1 -1
- package/web/app/immutable/chunks/{BuBXySe4.js → aR8LYT4O.js} +1 -1
- package/web/app/immutable/chunks/{CIaruUrd.js → cEIzYo-d.js} +1 -1
- package/web/app/immutable/chunks/{dmZv6JOg.js → cPsAlOmH.js} +1 -1
- package/web/app/immutable/chunks/{jVbx5uZK.js → cc1gQUub.js} +1 -1
- package/web/app/immutable/chunks/{j67P3UNv.js → cpPIph2M.js} +2 -2
- package/web/app/immutable/chunks/{QRUY44Ff.js → d028N8d2.js} +1 -1
- package/web/app/immutable/chunks/{BDOuZgzG.js → ewL2yuZ8.js} +1 -1
- package/web/app/immutable/chunks/{BbLh3POL.js → g08hegP2.js} +1 -1
- package/web/app/immutable/chunks/{YHt5oaBn.js → gHZWxIPZ.js} +1 -1
- package/web/app/immutable/chunks/{BgQadJDW.js → gJJMUdOI.js} +1 -1
- package/web/app/immutable/chunks/{CGYPBD6G.js → gwv5JQYH.js} +1 -1
- package/web/app/immutable/chunks/{C8LrJXqa.js → iAKTK0Nq.js} +1 -1
- package/web/app/immutable/chunks/{B8QvP_8b.js → j5ppcWWU.js} +1 -1
- package/web/app/immutable/chunks/{BcKrkXju.js → jAIXVFR4.js} +1 -1
- package/web/app/immutable/chunks/{C2F2Vd1P.js → kvtKUeBe.js} +1 -1
- package/web/app/immutable/chunks/{BjlMkd10.js → lZ7zkdkp.js} +1 -1
- package/web/app/immutable/chunks/{B_4WsP9b.js → mUNs8NSR.js} +1 -1
- package/web/app/immutable/chunks/{C-zB-6G6.js → oBIu7LTI.js} +1 -1
- package/web/app/immutable/chunks/{BPxN1acN.js → oHUzFHtp.js} +2 -2
- package/web/app/immutable/chunks/{BVkAOJlr.js → pHYq50Ny.js} +1 -1
- package/web/app/immutable/chunks/{BvMBgdHo.js → pJyYpzre.js} +1 -1
- package/web/app/immutable/chunks/{DmvYOHFs.js → qm1BBGRe.js} +13 -13
- package/web/app/immutable/chunks/{BJO0de_7.js → qoDJOBiM.js} +1 -1
- package/web/app/immutable/chunks/{KReSIZSD.js → r2R1I-D0.js} +1 -1
- package/web/app/immutable/chunks/{Cp9EK0r2.js → rlNXEIUc.js} +1 -1
- package/web/app/immutable/chunks/{CR-JVxLD.js → scTXKJzg.js} +1 -1
- package/web/app/immutable/chunks/{BVl79jmM.js → tVmNccZ-.js} +1 -1
- package/web/app/immutable/chunks/{3uhIXwkT.js → w-7j2Qtq.js} +1 -1
- package/web/app/immutable/chunks/{CHto7_WH.js → x2AHvZeQ.js} +1 -1
- package/web/app/immutable/chunks/{DuAAGnM9.js → xPYDsdm4.js} +1 -1
- package/web/app/immutable/chunks/{Dp8FVKoA.js → xzksWQ-h.js} +1 -1
- package/web/app/immutable/chunks/{CA4P_FmX.js → ygDvZWWC.js} +1 -1
- package/web/app/immutable/chunks/{7OH6WUSt.js → z91bgOZ6.js} +1 -1
- package/web/app/immutable/chunks/{BtBQ5qfh.js → z_SeEaJQ.js} +1 -1
- package/web/app/immutable/chunks/{C-G2u0Oe.js → zxxqPN9_.js} +1 -1
- package/web/app/immutable/entry/{app.CgTOio8y.js → app.DOLk01Bm.js} +3 -3
- package/web/app/immutable/entry/start.CIQw0TYU.js +1 -0
- package/web/app/immutable/nodes/{0.C2oVsoB8.js → 0.qPBEcapg.js} +1 -1
- package/web/app/immutable/nodes/{1.riWgWdpy.js → 1.Bi3sNEdL.js} +1 -1
- package/web/app/immutable/nodes/10.DHyl6QAs.js +39 -0
- package/web/app/immutable/nodes/{11.exvXwEGT.js → 11.pqpLvrmB.js} +1 -1
- package/web/app/immutable/nodes/{12.D6rxlIQy.js → 12.C5GV0W_U.js} +1 -1
- package/web/app/immutable/nodes/{13.CHYsmiD_.js → 13.BpCKbOND.js} +1 -1
- package/web/app/immutable/nodes/{14.mG-YN9pn.js → 14.DomreN-2.js} +3 -3
- package/web/app/immutable/nodes/{15.D2k47bXC.js → 15.CKbUOFrf.js} +1 -1
- package/web/app/immutable/nodes/{16.BsFtzH0D.js → 16.BcdRdVBS.js} +1 -1
- package/web/app/immutable/nodes/{17.me_aOx8O.js → 17.C5h-oNNo.js} +1 -1
- package/web/app/immutable/nodes/{18.BO1oZWgm.js → 18.vgJOUK1N.js} +1 -1
- package/web/app/immutable/nodes/{19.DPrP9Wtk.js → 19.3QLuvvWY.js} +2 -2
- package/web/app/immutable/nodes/{2.BpY-66TB.js → 2.CSj73FLT.js} +4 -4
- package/web/app/immutable/nodes/{20.LbRPieV_.js → 20.CuOgTm-x.js} +1 -1
- package/web/app/immutable/nodes/{3.CriVb5Fs.js → 3.BUbQ5Tes.js} +1 -1
- package/web/app/immutable/nodes/{4.dRoX-MYE.js → 4.Byn29Mul.js} +1 -1
- package/web/app/immutable/nodes/{5.Bn3YBx-4.js → 5.CMHzkmR-.js} +1 -1
- package/web/app/immutable/nodes/{6.CgMdV-V1.js → 6.N0CPg2uE.js} +1 -1
- package/web/app/immutable/nodes/{7.FdAsp1bX.js → 7.4Szvqobl.js} +1 -1
- package/web/app/immutable/nodes/{8.Da7xrRMP.js → 8.BKw9KMbS.js} +1 -1
- package/web/app/immutable/nodes/{9.BnLzowQ-.js → 9.BBJWosck.js} +4 -4
- package/web/app/version.json +1 -1
- package/web/generated/paraglide.js +49 -49
- package/web/index.html +19 -19
- package/web/app/immutable/assets/0.BmwjvpSF.css +0 -1
- package/web/app/immutable/chunks/CCIZBeez.js +0 -1
- package/web/app/immutable/chunks/CXdnCPBf.js +0 -3
- package/web/app/immutable/chunks/Cp7Byf5d.js +0 -1
- package/web/app/immutable/chunks/DWIoipce.js +0 -1
- package/web/app/immutable/chunks/Dws-34a7.js +0 -1
- package/web/app/immutable/chunks/DxC0zTSc.js +0 -1
- package/web/app/immutable/chunks/Whej1Dge.js +0 -1
- package/web/app/immutable/entry/start.oAnCLCVf.js +0 -1
- package/web/app/immutable/nodes/10.DbjaWIBW.js +0 -39
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as n}from"./
|
|
1
|
+
import{f as n}from"./DPmNtGFj.js";const u=n;function a(r,o,e,c=!1){const d=r.alerts??{},i=c||!!r.captureDisabled;return{capture:{revision:r.captureRevision,label:o.capture,tooltip:d.capture??r.captureTooltip??(r.captureDisabled?o.captureLimit:o.capture),disabled:i,pending:!!r.capturePending,alert:!!d.capture},record:{label:r.recording?o.stopRecording:o.record,tooltip:d.record??r.recordingTooltip??(r.recording?o.stopRecording:o.record),disabled:c||!!r.recordingDisabled,pending:!!r.recordingPending,alert:!!d.record,recording:r.recording,startedAt:r.recording?e?.startedAt??null:null,pausedAt:r.recording?e?.pausedAt??null:null,pausedMs:r.recording?e?.pausedMs??0:0}}}export{a as d,u as f};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{b as p,ay as C,aX as H,W as _,r as q,a6 as G,B as U,aV as j,X as K}from"./
|
|
1
|
+
import{b as p,ay as C,aX as H,W as _,r as q,a6 as G,B as U,aV as j,X as K}from"./B6-aVrNf.js";var A="",M="",O="",D=[],b=new Map,v=p(e=>j(e,K()),"sanitizeText"),y=p(e=>{switch(e.type){case"terminal":return{...e,value:v(e.value)};case"nonterminal":return{...e,name:v(e.name)};case"sequence":return{...e,elements:e.elements.map(y)};case"choice":return{...e,alternatives:e.alternatives.map(y)};case"optional":return{...e,element:y(e.element)};case"repetition":return{...e,element:y(e.element),separator:e.separator?y(e.separator):void 0};case"special":return{...e,text:v(e.text)}}},"sanitizeAstNode"),J=p(()=>{A="",M="",O="",D.length=0,b.clear(),q(),C.debug("[Railroad] Database cleared")},"clear"),Y=p(e=>{A=v(e),C.debug("[Railroad] Title set:",e)},"setTitle"),P=p(()=>A,"getTitle"),Q=p(e=>{const i={...e,name:v(e.name),definition:y(e.definition),comment:e.comment?v(e.comment):void 0};C.debug("[Railroad] Adding rule:",i.name),b.has(i.name)&&C.warn(`[Railroad] Rule '${i.name}' is already defined. Overwriting.`),D.push(i),b.set(i.name,i)},"addRule"),Z=p(()=>D,"getRules"),V=p(e=>b.get(e),"getRule"),ee=p(e=>{M=v(e).replace(/^\s+/g,""),C.debug("[Railroad] Accessibility title set:",e)},"setAccTitle"),te=p(()=>M,"getAccTitle"),re=p(e=>{O=v(e).replace(/\n\s+/g,`
|
|
2
2
|
`),C.debug("[Railroad] Accessibility description set:",e)},"setAccDescription"),ie=p(()=>O,"getAccDescription"),ae=Y,ne=P,oe={clear:J,setTitle:Y,getTitle:P,addRule:Q,getRules:Z,getRule:V,setAccTitle:ee,getAccTitle:te,setAccDescription:re,getAccDescription:ie,setDiagramTitle:ae,getDiagramTitle:ne},f={compactMode:!1,padding:10,verticalSeparation:8,horizontalSeparation:10,arcRadius:10,fontSize:14,fontFamily:"monospace",terminalFill:"#FFFFC0",terminalStroke:"#000000",terminalTextColor:"#000000",nonTerminalFill:"#FFFFFF",nonTerminalStroke:"#000000",nonTerminalTextColor:"#000000",lineColor:"#000000",strokeWidth:2,markerFill:"#000000",commentFill:"#E8E8E8",commentStroke:"#888888",commentTextColor:"#666666",specialFill:"#F0E0FF",specialStroke:"#8800CC",ruleNameColor:"#000066",showMarkers:!0,markerRadius:5},le=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$|^(?:rgb|rgba|hsl|hsla|hwb|lab|lch|oklab|oklch)\([\d\s%+,./-]+\)$|^[a-z]+$/i,se=/^[\w "',.-]+$/,de=new Set(["compactMode","padding","verticalSeparation","horizontalSeparation","arcRadius","fontSize","fontFamily","terminalFill","terminalStroke","terminalTextColor","nonTerminalFill","nonTerminalStroke","nonTerminalTextColor","lineColor","strokeWidth","markerFill","commentFill","commentStroke","commentTextColor","specialFill","specialStroke","ruleNameColor","showMarkers","markerRadius"]),L=p(e=>e?Object.keys(e).every(i=>i==="railroad"||de.has(i)):!1,"isRailroadStyleOptions"),ce=p(e=>e?"railroad"in e&&e.railroad?e.railroad:L(e)?e:{}:{},"extractRailroadOverrides"),me=p(e=>{if(!e||L(e))return{};const{railroad:i,svgId:n,theme:a,look:t,...r}=e;return r},"extractThemeOverrides"),m=p((e,i)=>{if(typeof e!="string")return i;const n=e.trim();return le.test(n)?n:i},"sanitizeColorValue"),X=p((e,i)=>{if(typeof e!="string")return i;const n=e.trim();return se.test(n)?n:i},"sanitizeFontFamilyValue"),F=p((e,i)=>{const n=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(n)&&n>=0?n:i},"sanitizeNumberValue"),he=p(e=>{const i=typeof e=="number"?e:typeof e=="string"?Number.parseFloat(e):Number.NaN;return Number.isFinite(i)&&i>0?i:void 0},"parseThemeFontSize"),pe=p(e=>{const i=X(e.fontFamily,f.fontFamily),n=he(e.fontSize)??f.fontSize;return{...f,fontFamily:i,fontSize:n,terminalFill:m(e.secondBkg??e.secondaryColor,f.terminalFill),terminalStroke:m(e.secondaryBorderColor??e.lineColor,f.terminalStroke),terminalTextColor:m(e.secondaryTextColor??e.textColor,f.terminalTextColor),nonTerminalFill:m(e.mainBkg??e.background,f.nonTerminalFill),nonTerminalStroke:m(e.primaryBorderColor??e.lineColor,f.nonTerminalStroke),nonTerminalTextColor:m(e.primaryTextColor??e.textColor,f.nonTerminalTextColor),lineColor:m(e.lineColor,f.lineColor),markerFill:m(e.lineColor,f.markerFill),commentFill:m(e.labelBackground??e.tertiaryColor,f.commentFill),commentStroke:m(e.tertiaryBorderColor??e.lineColor,f.commentStroke),commentTextColor:m(e.tertiaryTextColor??e.textColor,f.commentTextColor),specialFill:m(e.tertiaryColor??e.secondaryColor,f.specialFill),specialStroke:m(e.tertiaryBorderColor??e.secondaryBorderColor,f.specialStroke),ruleNameColor:m(e.titleColor??e.textColor,f.ruleNameColor)}},"buildThemeDefaults"),E=p(e=>{const i=_(),n={...G(),...i.themeVariables??{},...me(e)},a=pe(n),t={...i.railroad??{},...ce(e)};return{compactMode:t.compactMode??a.compactMode,padding:F(t.padding,a.padding),verticalSeparation:F(t.verticalSeparation,a.verticalSeparation),horizontalSeparation:F(t.horizontalSeparation,a.horizontalSeparation),arcRadius:F(t.arcRadius,a.arcRadius),fontSize:F(t.fontSize,a.fontSize),fontFamily:X(t.fontFamily,a.fontFamily),terminalFill:m(t.terminalFill,a.terminalFill),terminalStroke:m(t.terminalStroke,a.terminalStroke),terminalTextColor:m(t.terminalTextColor,a.terminalTextColor),nonTerminalFill:m(t.nonTerminalFill,a.nonTerminalFill),nonTerminalStroke:m(t.nonTerminalStroke,a.nonTerminalStroke),nonTerminalTextColor:m(t.nonTerminalTextColor,a.nonTerminalTextColor),lineColor:m(t.lineColor,a.lineColor),strokeWidth:F(t.strokeWidth,a.strokeWidth),markerFill:m(t.markerFill,a.markerFill),commentFill:m(t.commentFill,a.commentFill),commentStroke:m(t.commentStroke,a.commentStroke),commentTextColor:m(t.commentTextColor,a.commentTextColor),specialFill:m(t.specialFill,a.specialFill),specialStroke:m(t.specialStroke,a.specialStroke),ruleNameColor:m(t.ruleNameColor,a.ruleNameColor),showMarkers:t.showMarkers??a.showMarkers,markerRadius:F(t.markerRadius,a.markerRadius)}},"buildRailroadStyleOptions"),Te=p(e=>{const{fontFamily:i,fontSize:n,terminalFill:a,terminalStroke:t,terminalTextColor:r,nonTerminalFill:o,nonTerminalStroke:g,nonTerminalTextColor:l,lineColor:s,strokeWidth:h,markerFill:u,commentFill:c,commentStroke:w,commentTextColor:d,specialFill:T,specialStroke:z,ruleNameColor:S}=E(e);return`
|
|
3
3
|
.railroad-diagram {
|
|
4
4
|
font-family: ${i};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as le,bo as s,bw as ie,b as ce,bp as de}from"./
|
|
1
|
+
import{t as le,bo as s,bw as ie,b as ce,bp as de}from"./YLhFQnIu.js";import{bs as ve,a7 as X,ay as V,aD as r,W as c,bn as fe,bV as me,aA as o,bS as A,a5 as q,bf as ue,bA as F,b_ as ge,c9 as _,aB as p,bH as be}from"./3SdAC2_C.js";import{i as h}from"./YeOAvjnW.js";import{t as G}from"./CrpUtGFn.js";import{e as _e}from"./UsbmbYa0.js";import{b as he,e as J,c as pe,f as ye,g as ze}from"./BQhBnAuP.js";import{n as xe,c as ke}from"./FLpsgWeB.js";import{b as Re}from"./Dn334wJv.js";import{a_ as Se,f as Be}from"./Cw2fqKk9.js";import{m as Ie,X as Le,l as we}from"./DJivXy66.js";var Ce=new Set(["$$slots","$$events","$$legacy","ref","href","class","variant","color","size","style","dot","leadingIcon","removable","removeLabel","onRemove","children"]),Pe=p('<span data-slot="badge-dot"></span>'),Ve=p('<span data-slot="badge-icon" class="inline-flex shrink-0"><!></span>'),Ae=p('<span aria-hidden="true">×</span>'),De=p('<!> <!> <span class="[text-box:trim-both_cap_alphabetic]"><!></span> <!>',1);function je(D,a){if(new.target)return le({component:je,...D});ve(a,!0);let v=s(a,"ref",15,null),f=s(a,"href",7),y=s(a,"class",7),z=s(a,"variant",7,"solid"),x=s(a,"color",7),i=s(a,"size",7),k=s(a,"style",7),R=s(a,"dot",7,!1),m=s(a,"leadingIcon",7),u=s(a,"removable",7,!1),S=s(a,"removeLabel",7),B=s(a,"onRemove",7),I=s(a,"children",7),K=de(a,Ce);const M=Se(),l=_(()=>Le(z(),x())),L=_(()=>i()==="sm"?"compact":i()==="md"||i()==="lg"?"default":i()??M),j=_(()=>we[r(l).color]),Q=_(()=>r(l).variant==="solid"?`background-color: ${r(l).color==="gray"?"hsl(var(--accent))":`color-mix(in srgb, ${r(j)} 15%, hsl(var(--background)))`};`:"");let E=me(!0),g=null;function T(e){e.preventDefault(),e.stopPropagation(),g=e,be(E,!1)}function U(){g&&(B()?.(g),g=null)}var Y={get ref(){return v()},set ref(e=null){v(e),o()},get href(){return f()},set href(e){f(e),o()},get class(){return y()},set class(e){y(e),o()},get variant(){return z()},set variant(e="solid"){z(e),o()},get color(){return x()},set color(e){x(e),o()},get size(){return i()},set size(e){i(e),o()},get style(){return k()},set style(e){k(e),o()},get dot(){return R()},set dot(e=!1){R(e),o()},get leadingIcon(){return m()},set leadingIcon(e){m(e),o()},get removable(){return u()},set removable(e=!1){u(e),o()},get removeLabel(){return S()},set removeLabel(e){S(e),o()},get onRemove(){return B()},set onRemove(e){B(e),o()},get children(){return I()},set children(e){I(e),o()},$set:ie,$on:(e,b)=>ce(a,e,b)},H=X(),Z=V(H);{var $=e=>{var b=X(),ee=V(b);_e(ee,()=>f()?"a":"span",!1,(w,ae)=>{Re(w,t=>v(t),()=>v()),he(w,t=>({"data-slot":"badge","data-removable":u()||void 0,href:f(),class:t,style:`${r(Q)}${k()??""}`,"data-variant":r(l).variant,"data-color":r(l).color,"data-size":r(L),onoutroend:U,...K}),[()=>J(Ie({variant:r(l).variant,size:r(L)}),y())]),xe(2,w,()=>ke,()=>({tier:"fast"}));var N=De(),O=V(N);{var te=t=>{var n=Pe();let d;ge(P=>{ye(n,1,P),d=ze(n,"",d,{"background-color":r(l).color==="gray"?"hsl(var(--muted-foreground))":r(j)})},[()=>pe(J("shrink-0 rounded-full",r(L)==="compact"?"size-1.5":"size-[7px]"))]),c(t,n)};h(O,t=>{(R()||r(l).variant==="dot")&&t(te)})}var W=A(O,2);{var re=t=>{var n=Ve(),d=q(n);G(d,m),F(n),c(t,n)};h(W,t=>{m()&&t(re)})}var C=A(W,2),se=q(C);G(se,()=>I()??ue),F(C);var oe=A(C,2);{var ne=t=>{Be(t,{variant:"ghost",size:"icon-compact","data-slot":"badge-remove",get"aria-label"(){return S()},class:"-mr-1 inline-flex size-4 items-center justify-center rounded-full bg-transparent text-current transition-colors duration-spring-fast ease-spring-fast hover:bg-hover active:bg-active motion-reduce:transition-none",onclick:T,children:(n,d)=>{var P=Ae();c(n,P)},$$slots:{default:!0}})};h(oe,t=>{u()&&t(ne)})}c(ae,N)}),c(e,b)};h(Z,e=>{r(E)&&e($)})}return c(D,H),fe(Y)}export{je as B};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as Xt,bo as de,_ as aa,bw as Yt,bs as ge,bq as pr,b as Jt,bm as d}from"./Dws-34a7.js";import{bs as Zt,ca as se,aD as e,bH as c,a5 as F,bA as $,W as s,bn as Gt,bV as j,c9 as i,aA as ce,c6 as Bt,ay as ve,be as ot,b$ as ct,b_ as I,bO as m,bS as g,bl as C,aB as x,bj as oa,aw as ut,ai as ia,c5 as ur,a as Lr,a7 as Ue,aj as yt,cd as na,br as la,bf as sa}from"./3SdAC2_C.js";import{i as Y}from"./DLCFUd4s.js";import{k as Mr}from"./5-0LQoqd.js";import{g as Ut}from"./C-zB-6G6.js";import{c as Nt}from"./B5tvpTFB.js";import{s as Qe,g as jt,f as Kt}from"./BD9db4FR.js";import{b as Rr}from"./Dn334wJv.js";import{Jx as R,nY as jr,wf as Ur,we as Vr,LN as da,LO as ca,eK as ua,eL as fa,Ld as yr,m6 as nr,Cy as kr,sH as $r,ok as va,A3 as pa,ad as Ir,n_ as ga,K4 as ma,Kk as _a,ny as ha,iX as wa,vH as ba,Aw as xa,Lc as Pa}from"./4g_iHoQm.js";import{g as ya}from"./DWGXN6Nr.js";import{a as ka,h as $a,j as Ia,c as Sa,d as Ca,i as Fa,e as Da,f as Sr,g as Ta,b as lr}from"./BlIRL_82.js";import{bO as Ea,b$ as La,dH as Ma}from"./SbTG0nwQ.js";import{w as Cr,d as Ra}from"./wEnqV1Ol.js";import{f as ja}from"./B6eTPmJH.js";import{m as sr}from"./rXKOJqUt.js";import{f as Te}from"./BIGqOuh0.js";import{h as Ua}from"./BPuz5cN_.js";import"./D-rRuAXZ.js";import{F as dt,ac as Va,au as za,aZ as Aa,b3 as Ot,ct as Wa,cu as Na,bm as Ha,cS as Ba,c9 as Oa}from"./CGYPBD6G.js";import{E as qa,b as Ka,S as Fr}from"./jBG7W4tL.js";import{c as Xa}from"./ChTqQfQN.js";import"./DcOkWaeN.js";import{$ as Ya}from"./DmvYOHFs.js";import{i as dr,b as Ja,a as Za}from"./H2jLkRRS.js";import{C as fr,p as Ga}from"./CDAnHxmJ.js";import{M as Qa}from"./CObW_WD-.js";import{l as cr,m as zr}from"./B8HnjSSF.js";import"./C_SKcJv7.js";import"./DWa-2rkZ.js";import{M as Ht}from"./Bv_xG3nA.js";import{V as eo}from"./BSgFpkqa.js";import{bT as to,b7 as ro}from"./BoG8wR7s.js";import{g as ao}from"./B2CniqS1.js";import{H as oo}from"./Bqd7fdCF.js";import{g as io,W as no}from"./DlU1rxYV.js";import{b as lo,h as so}from"./DxC0zTSc.js";import{t as co}from"./Cp7Byf5d.js";const Dr=1024*1024,uo=5e3;function fo(A,_){if(A.length>Dr||new TextEncoder().encode(A).byteLength>Dr){_(null);return}let re;try{re=new Worker(new URL("/app/immutable/workers/html-file-preview.worker-BfFljPK-.js",import.meta.url),{type:"module"})}catch{_(null);return}let He=!1;const ee=setTimeout(()=>O(null),uo);function P(){He||(He=!0,clearTimeout(ee),re.terminate())}function O(ae){He||(P(),_(ae))}return re.onmessage=({data:ae})=>O(ae),re.onerror=ae=>{ae.preventDefault(),O(null)},re.postMessage(A),P}const Ar=R.createSelector((A,_)=>jr(A.pdfPreview.previews,_));var vo=x('<div class="flex shrink-0 flex-wrap items-center justify-center gap-2 border-b border-border p-2"><!> <span aria-live="polite"> </span> <!> <!> <span> </span> <!></div> <div class="min-h-0 flex-1 overflow-auto p-4"><canvas class="mx-auto block" role="img"></canvas></div>',1),po=x('<div class="flex h-full min-h-0 flex-col" data-testid="pdf-viewer"><!></div>');function vr(A,_){if(new.target)return Xt({component:vr,...A});Zt(_,!0);const re=()=>ge(ye,"$preview",He),[He,ee]=pr();let P=de(_,"workspaceId",7),O=de(_,"filePath",7),ae=de(_,"gitRootId",7);const Ee=crypto.randomUUID(),ye=Ar(Ee),be=new WeakMap;let oe=j(null),et=j(void 0),U=j(1),H=j(1),pe=j(!0),xe=j(!1),Le=j(null),W=j(0);const ke=i(()=>re()?.error??e(Le)),Ce=i(()=>e(ke)==="missing"?d.file_pdf_missing_error():e(ke)==="large"?d.file_pdf_large_error():e(ke)==="invalid"?d.file_pdf_invalid_error():e(ke)==="password"?d.file_pdf_password_error():d.file_pdf_load_error());se(()=>{const v=P(),f=O();e(W);const ie=crypto.randomUUID();return R.dispatch(Ur(Ee,ie,v,f,...ae()?[{gitRootId:ae()}]:[])),()=>{R.dispatch(Vr(Ee,ie))}}),se(()=>{const v=re()?.url;let f=!1,ie;if(c(oe,null),c(Le,null),c(pe,!0),c(U,1),c(H,1),!!v)return(async()=>{try{const{loadPdfDocument:y}=await aa(async()=>{const{loadPdfDocument:N}=await import("./cb1JHFKl.js");return{loadPdfDocument:N}},[],import.meta.url);if(f)return;ie=y(v);const J=await ie.promise;f||c(oe,J)}catch(y){if(f)return;c(Le,y instanceof Error&&y.name==="PasswordException"?"password":y instanceof Error&&y.name==="InvalidPDFException"?"invalid":"load",!0)}finally{f||c(pe,!1)}})(),()=>{f=!0,ie?.destroy()}}),se(()=>{const v=e(oe),f=e(et),ie=e(U),y=e(H);if(!v||!f)return;let J=!1,N,D;const fe=()=>{if(!D)return;const Z=(be.get(D)??1)-1;Z?be.set(D,Z):(be.delete(D),D.cleanup()),D=void 0};return c(xe,!0),(async()=>{try{if(D=await v.getPage(ie),be.set(D,(be.get(D)??0)+1),J){fe();return}const Z=D.getViewport({scale:y}),ne=Math.min(window.devicePixelRatio||1,2,Math.sqrt(16e6/(Z.width*Z.height)));f.width=Math.ceil(Z.width*ne),f.height=Math.ceil(Z.height*ne),f.style.width=`${Z.width}px`,f.style.height=`${Z.height}px`,N=D.render({canvas:f,viewport:Z,transform:[ne,0,0,ne,0,0]}),await N.promise}catch{J||c(Le,"invalid")}finally{J||c(xe,!1)}})(),()=>{J=!0,N?.cancel(),N?N.promise.then(fe,fe):fe()}});var qe={get workspaceId(){return P()},set workspaceId(v){P(v),ce()},get filePath(){return O()},set filePath(v){O(v),ce()},get gitRootId(){return ae()},set gitRootId(v){ae(v),ce()},$set:Yt,$on:(v,f)=>Jt(_,v,f)},Ve=po(),Ke=F(Ve);{var ue=v=>{{const f=y=>{ot();var J=ct();I(()=>m(J,e(Ce))),s(y,J)};let ie=i(()=>d.ui_combobox_retry_label());qa(v,{onRetry:()=>Bt(W),get retryLabel(){return e(ie)},class:"m-auto",message:f,$$slots:{message:!0}})}},a=v=>{{let f=i(()=>d.file_pdf_loading_label());Ka(v,{get label(){return e(f)},count:1,class:"p-4"})}},l=v=>{var f=vo(),ie=ve(f),y=F(ie);{let me=i(()=>e(U)<=1);Te(y,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>Bt(U,-1),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.file_pdf_previous_label()]),s(Me,_e)},$$slots:{default:!0}})}var J=g(y,2),N=C(J,!0),D=g(J,2);{let me=i(()=>e(U)>=e(oe).numPages);Te(D,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>Bt(U),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.file_pdf_next_label()]),s(Me,_e)},$$slots:{default:!0}})}var fe=g(D,2);{let me=i(()=>e(H)<=.25);Te(fe,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>c(H,Math.max(.25,e(H)-.25),!0),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.editor_fileViewer_zoomOut_tooltip()]),s(Me,_e)},$$slots:{default:!0}})}var Z=g(fe,2),ne=C(Z,!0),ft=g(Z,2);{let me=i(()=>e(H)>=3);Te(ft,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>c(H,Math.min(3,e(H)+.25),!0),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.editor_fileViewer_zoomIn_tooltip()]),s(Me,_e)},$$slots:{default:!0}})}$(ie);var vt=g(ie,2),pt=F(vt);let bt;Rr(pt,me=>c(et,me),()=>e(et)),$(vt),I((me,Me,tt)=>{m(N,me),m(ne,Me),Qe(vt,"aria-busy",e(xe)),Qe(pt,"aria-label",tt),bt=jt(pt,"",bt,{visibility:e(xe)?"hidden":"visible"})},[()=>d.file_pdf_page_label({page:cr(e(U)),total:cr(e(oe).numPages)}),()=>zr(e(H),{style:"percent"}),()=>d.file_pdf_canvas_ariaLabel({name:O(),page:cr(e(U))})]),s(v,f)};Y(Ke,v=>{e(ke)?v(ue):e(pe)||re()?.status==="loading"?v(a,1):e(oe)&&v(l,2)})}$(Ve),s(A,Ve);var q=Gt(qe);return ee(),q}const go=R.createSelector((A,_)=>jr(A.videoPreview.previews,_));var mo=x('<p role="status"> </p>'),_o=x('<p role="alert"> </p>'),ho=x('<div class="flex flex-col items-center gap-3 p-6 text-center text-sm text-subtle"><p class="break-all"> </p> <!> <!></div>'),wo=x('<video controls="" preload="metadata" playsinline="" class="max-w-full max-h-full" data-testid="file-video"> </video>',2),bo=x('<div class="min-h-0 flex-1 flex items-center justify-center bg-background"><!></div>');function Wr(A,_){if(new.target)return Xt({component:Wr,...A});Zt(_,!0);const re=()=>ge(et,"$preview",He),[He,ee]=pr();let P=de(_,"sourceUrl",7),O=de(_,"fileName",7),ae=de(_,"allowDownload",7),Ee=de(_,"downloading",7),ye=de(_,"onDownload",7),be=j(null);const oe=crypto.randomUUID(),et=go(oe),U=i(()=>re()?.status==="loading"),H=i(()=>e(be)??re()?.error);let pe=!1,xe=!1;oa(()=>{xe=!0,R.dispatch(da(oe))});function Le(){if(xe||e(U))return;const a=P().startsWith("workspace-file://")?new URL(P()):null;if(pe||!a||!a.pathname.toLowerCase().endsWith(".mp4")){c(be,"unsupported");return}pe=!0,a.searchParams.set("preview","h264"),R.dispatch(ca(oe,a.hostname,a.toString()))}function W(a){if(xe)return;const l=a.currentTarget.error?.code;l===2?c(be,"network"):l!==1&&Le()}var ke={get sourceUrl(){return P()},set sourceUrl(a){P(a),ce()},get fileName(){return O()},set fileName(a){O(a),ce()},get allowDownload(){return ae()},set allowDownload(a){ae(a),ce()},get downloading(){return Ee()},set downloading(a){Ee(a),ce()},get onDownload(){return ye()},set onDownload(a){ye(a),ce()},$set:Yt,$on:(a,l)=>Jt(_,a,l)},Ce=bo(),qe=F(Ce);{var Ve=a=>{var l=ho(),q=F(l),v=C(q,!0),f=g(q,2);{var ie=D=>{var fe=mo(),Z=C(fe,!0);I(ne=>m(Z,ne),[()=>d.editor_fileViewer_videoPreparing_label()]),s(D,fe)},y=D=>{var fe=_o(),Z=C(fe,!0);I(ne=>m(Z,ne),[()=>e(H)==="network"?d.editor_fileViewer_videoLoad_error():d.editor_fileViewer_videoUnsupported_label()]),s(D,fe)};Y(f,D=>{e(U)?D(ie):D(y,-1)})}var J=g(f,2);{var N=D=>{Te(D,{variant:"secondary",size:"sm",get onclick(){return ye()},get disabled(){return Ee()},children:(fe,Z)=>{ot();var ne=ct();I(ft=>m(ne,ft),[()=>d.layout_fileTab_downloadFile_label()]),s(fe,ne)},$$slots:{default:!0}})};Y(J,D=>{ae()&&D(N)})}$(l),I(()=>m(v,O())),s(a,l)},Ke=a=>{var l=wo(),q=C(l,!0);I(v=>{Qe(l,"src",re()?.url??P()),m(q,v)},[()=>d.editor_fileViewer_videoUnsupported_label()]),ut("error",l,W),ut("loadedmetadata",l,v=>{v.currentTarget.videoWidth===0&&Le()}),s(a,l)};Y(qe,a=>{e(H)||e(U)?a(Ve):a(Ke,-1)})}$(Ce),s(A,Ce);var ue=Gt(ke);return ee(),ue}var xo=x('<!> <span class="text-xs text-subtle min-w-[50px] text-center"> </span> <!> <div class="w-px h-5 bg-border mx-1"></div>',1),Po=x('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="w-px h-5 bg-border mx-1"></div> <!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),yo=x('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),ko=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"></path></svg></div> <div class="text-sm text-subtle mb-4"> </div> <audio controls="" class="w-full max-w-md"><source/> </audio></div>'),$o=x("<!> ",1),Io=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path></svg></div> <p class="text-sm text-subtle mb-4"> </p> <!></div>'),So=x('<th class="border border-border px-2 py-1 text-left text-xs font-medium bg-muted"> </th>'),Co=x('<td class="border border-border px-2 py-1 text-xs"> </td>'),Fo=x("<tr></tr>"),Do=x('<div class="flex-1 overflow-auto p-4"><table class="w-full border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>'),To=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),Eo=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),Lo=x('<div class="h-full flex flex-col"><!></div>');function qt(A,_){if(new.target)return Xt({component:qt,...A});Zt(_,!0);const re=t=>{var o=xo(),u=ve(o);{let V=i(()=>d.editor_fileViewer_zoomOut_tooltip());Te(u,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:fe,get title(){return e(V)},children:(T,K)=>{dt(T,{get icon(){return Wa},size:"sm"})},$$slots:{default:!0}})}var w=g(u,2),k=C(w,!0),E=g(w,2);{let V=i(()=>d.editor_fileViewer_zoomIn_tooltip());Te(E,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:D,get title(){return e(V)},children:(T,K)=>{dt(T,{get icon(){return Na},size:"sm"})},$$slots:{default:!0}})}ot(2),I(()=>m(k,e(Le))),s(t,o)},He=Xa("FileViewer");let ee=de(_,"filePath",7),P=de(_,"fileContent",7,""),O=de(_,"sourceUrl",7),ae=de(_,"language",7),Ee=de(_,"isBinary",7),ye=de(_,"allowDownload",7,!0),be=de(_,"onDownload",7),oe=de(_,"downloading",7,!1);const et=t=>{const o=t.split(".").pop()?.toLowerCase()||"";return["png","jpg","jpeg","gif","webp","bmp","ico","avif"].includes(o)?"image":o==="svg"?"svg":["mp4","webm","ogg","mov","avi"].includes(o)?"video":["mp3","wav","ogg","m4a","flac"].includes(o)?"audio":o==="pdf"?"pdf":["md","markdown"].includes(o)?"markdown":o==="json"?"json":o==="csv"?"csv":["yaml","yml"].includes(o)?"yaml":o==="xml"?"xml":["zip","tar","gz","rar","7z","bz2"].includes(o)?"archive":["exe","dll","so","dylib","wasm"].includes(o)?"binary":"text"},U=i(()=>et(ee())),H=i(()=>ee().split("/").pop()||d.editor_fileViewer_unknown_fallback());let pe=j(100),xe=j(0);const Le=i(()=>zr(e(pe)/100,{style:"percent",maximumFractionDigits:0}));let W=j(!1),ke=j(0),Ce=j(0),qe=j(0),Ve=j(0),Ke=j(!1),ue=null;function a(){const t=ue;ue=null,c(Ke,!1),t?.viewport.hasPointerCapture(t.pointerId)&&t.viewport.releasePointerCapture(t.pointerId)}function l(t){if(t.button!==0||!t.isPrimary||ue)return;const o=t.currentTarget;o.setPointerCapture(t.pointerId),ue={pointerId:t.pointerId,x:t.clientX,y:t.clientY,viewport:o},c(Ke,!0),t.preventDefault()}function q(t){if(!(!ue||t.pointerId!==ue.pointerId)){if((t.buttons&1)===0){a();return}c(qe,ue.viewport.scrollLeft,!0),c(Ve,ue.viewport.scrollTop,!0),c(ke,e(ke)+(t.clientX-ue.x)),c(Ce,e(Ce)+(t.clientY-ue.y)),ue.x=t.clientX,ue.y=t.clientY}}function v(t){t.pointerId===ue?.pointerId&&a()}se(()=>{ee(),O(),e(pe),e(xe),c(qe,0),c(Ve,0)}),se(()=>(ee(),O(),ur(()=>{a(),c(ke,0),c(Ce,0)}),a));const f=t=>{const o=t.split(".").pop()?.toLowerCase();return o==="jpg"||o==="jpeg"?"image/jpeg":o==="png"?"image/png":o==="gif"?"image/gif":o==="webp"?"image/webp":"application/octet-stream"},ie=t=>{const o=t.split(".").pop()?.toLowerCase();if(o==="mp4")return"video/mp4";if(o==="webm")return"video/webm"},y=()=>{if(O())return O();if(typeof P()=="string")return P().startsWith("data:")||P().startsWith("http")?P():Ee()?`data:${f(ee())};base64,${P()}`:`data:${f(ee())};base64,${P()}`;if(P()instanceof ArrayBuffer){const o=new Uint8Array(P()).reduce((w,k)=>w+String.fromCharCode(k),""),u=btoa(o);return`data:${f(ee())};base64,${u}`}return""},J=()=>{if(O())return O();const t=ie(ee());if(!t)return"";if(typeof P()=="string")return P().startsWith("data:")||P().startsWith("http")?P():`data:${t};base64,${P()}`;const o=new Uint8Array(P()),u=[],w=32768;for(let k=0;k<o.length;k+=w)u.push(String.fromCharCode(...o.subarray(k,k+w)));return`data:${t};base64,${btoa(u.join(""))}`},N=()=>{const t=typeof P()=="string"?new TextEncoder().encode(P()):new Uint8Array(P()),o=[],u=32768;for(let w=0;w<t.length;w+=u)o.push(String.fromCharCode(...t.subarray(w,w+u)));return`data:image/svg+xml;base64,${btoa(o.join(""))}`},D=()=>{c(pe,Math.min(e(pe)+25,500),!0)},fe=()=>{c(pe,Math.max(e(pe)-25,25),!0)},Z=()=>{c(xe,(e(xe)+90)%360)},ne=()=>{if(!ye()||oe())return;if(be()){be()();return}const t=document.createElement("a");t.href=e(U)==="video"?J():e(U)==="svg"?N():y(),t.download=e(H),t.click()},ft=async()=>{try{const t=y(),o=new Image;o.crossOrigin="anonymous";const u=await new Promise((w,k)=>{o.onload=()=>{const E=document.createElement("canvas");E.width=o.naturalWidth,E.height=o.naturalHeight;const V=E.getContext("2d");if(!V){k(new Error("Failed to get canvas context"));return}V.drawImage(o,0,0),E.toBlob(T=>{T?w(T):k(new Error("Failed to create blob from canvas"))},"image/png",1)},o.onerror=()=>k(new Error("Failed to load image")),o.src=t});await navigator.clipboard.write([new ClipboardItem({"image/png":u})]),c(W,!0),setTimeout(()=>c(W,!1),2e3)}catch(t){He.error("Failed to copy image:",t)}},vt=t=>{try{const o=JSON.parse(t);return JSON.stringify(o,null,2)}catch{return t}},pt=t=>t.split(`
|
|
1
|
+
import{t as Xt,bo as de,_ as aa,bw as Yt,bs as ge,bq as pr,b as Jt,bm as d}from"./YLhFQnIu.js";import{bs as Zt,ca as se,aD as e,bH as c,a5 as F,bA as $,W as s,bn as Gt,bV as j,c9 as i,aA as ce,c6 as Bt,ay as ve,be as ot,b$ as ct,b_ as I,bO as m,bS as g,bl as C,aB as x,bj as oa,aw as ut,ai as ia,c5 as ur,a as Lr,a7 as Ue,aj as yt,cd as na,br as la,bf as sa}from"./3SdAC2_C.js";import{i as Y}from"./YeOAvjnW.js";import{k as Mr}from"./CBbdbU2x.js";import{g as Ut}from"./oBIu7LTI.js";import{c as Nt}from"./DwGyIIXK.js";import{s as Qe,g as jt,f as Kt}from"./BQhBnAuP.js";import{b as Rr}from"./Dn334wJv.js";import{Jx as R,nY as jr,wf as Ur,we as Vr,LN as da,LO as ca,eK as ua,eL as fa,Ld as yr,m6 as nr,Cy as kr,sH as $r,ok as va,A3 as pa,ad as Ir,n_ as ga,K4 as ma,Kk as _a,ny as ha,iX as wa,vH as ba,Aw as xa,Lc as Pa}from"./D5wnbxHp.js";import{g as ya}from"./DWGXN6Nr.js";import{a as ka,h as $a,j as Ia,c as Sa,d as Ca,i as Fa,e as Da,f as Sr,g as Ta,b as lr}from"./BIfjK4Wy.js";import{bO as Ea,b$ as La,dH as Ma}from"./BJbm_MWC.js";import{w as Cr,d as Ra}from"./wEnqV1Ol.js";import{f as ja}from"./COVS9Crf.js";import{m as sr}from"./CZB2ndi9.js";import{f as Te}from"./Cw2fqKk9.js";import{h as Ua}from"./DJivXy66.js";import"./CrpUtGFn.js";import{F as dt,ac as Va,au as za,aZ as Aa,b3 as Ot,ct as Wa,cu as Na,bm as Ha,cS as Ba,c9 as Oa}from"./gwv5JQYH.js";import{E as qa,b as Ka,S as Fr}from"./ItBm4ElA.js";import{c as Xa}from"./ChTqQfQN.js";import"./D48_y-cl.js";import{$ as Ya}from"./qm1BBGRe.js";import{i as dr,b as Ja,a as Za}from"./H2jLkRRS.js";import{C as fr,p as Ga}from"./DmpdpJAo.js";import{M as Qa}from"./CY4ZK6xA.js";import{l as cr,m as zr}from"./DIEHuZ8f.js";import"./CGdXewiA.js";import"./CIWQMI37.js";import{M as Ht}from"./Lk7a_7W9.js";import{V as eo}from"./DMV5KQix.js";import{bT as to,b7 as ro}from"./ByBw1QkA.js";import{g as ao}from"./Hi2H4bj8.js";import{H as oo}from"./Bqd7fdCF.js";import{g as io,W as no}from"./R5lmOJFS.js";import{b as lo,h as so}from"./DLO_0egf.js";import{u as co}from"./DP0K41jk.js";const Dr=1024*1024,uo=5e3;function fo(A,_){if(A.length>Dr||new TextEncoder().encode(A).byteLength>Dr){_(null);return}let re;try{re=new Worker(new URL("/app/immutable/workers/html-file-preview.worker-BfFljPK-.js",import.meta.url),{type:"module"})}catch{_(null);return}let He=!1;const ee=setTimeout(()=>O(null),uo);function P(){He||(He=!0,clearTimeout(ee),re.terminate())}function O(ae){He||(P(),_(ae))}return re.onmessage=({data:ae})=>O(ae),re.onerror=ae=>{ae.preventDefault(),O(null)},re.postMessage(A),P}const Ar=R.createSelector((A,_)=>jr(A.pdfPreview.previews,_));var vo=x('<div class="flex shrink-0 flex-wrap items-center justify-center gap-2 border-b border-border p-2"><!> <span aria-live="polite"> </span> <!> <!> <span> </span> <!></div> <div class="min-h-0 flex-1 overflow-auto p-4"><canvas class="mx-auto block" role="img"></canvas></div>',1),po=x('<div class="flex h-full min-h-0 flex-col" data-testid="pdf-viewer"><!></div>');function vr(A,_){if(new.target)return Xt({component:vr,...A});Zt(_,!0);const re=()=>ge(ye,"$preview",He),[He,ee]=pr();let P=de(_,"workspaceId",7),O=de(_,"filePath",7),ae=de(_,"gitRootId",7);const Ee=crypto.randomUUID(),ye=Ar(Ee),be=new WeakMap;let oe=j(null),et=j(void 0),U=j(1),H=j(1),pe=j(!0),xe=j(!1),Le=j(null),W=j(0);const ke=i(()=>re()?.error??e(Le)),Ce=i(()=>e(ke)==="missing"?d.file_pdf_missing_error():e(ke)==="large"?d.file_pdf_large_error():e(ke)==="invalid"?d.file_pdf_invalid_error():e(ke)==="password"?d.file_pdf_password_error():d.file_pdf_load_error());se(()=>{const v=P(),f=O();e(W);const ie=crypto.randomUUID();return R.dispatch(Ur(Ee,ie,v,f,...ae()?[{gitRootId:ae()}]:[])),()=>{R.dispatch(Vr(Ee,ie))}}),se(()=>{const v=re()?.url;let f=!1,ie;if(c(oe,null),c(Le,null),c(pe,!0),c(U,1),c(H,1),!!v)return(async()=>{try{const{loadPdfDocument:y}=await aa(async()=>{const{loadPdfDocument:N}=await import("./cb1JHFKl.js");return{loadPdfDocument:N}},[],import.meta.url);if(f)return;ie=y(v);const J=await ie.promise;f||c(oe,J)}catch(y){if(f)return;c(Le,y instanceof Error&&y.name==="PasswordException"?"password":y instanceof Error&&y.name==="InvalidPDFException"?"invalid":"load",!0)}finally{f||c(pe,!1)}})(),()=>{f=!0,ie?.destroy()}}),se(()=>{const v=e(oe),f=e(et),ie=e(U),y=e(H);if(!v||!f)return;let J=!1,N,D;const fe=()=>{if(!D)return;const Z=(be.get(D)??1)-1;Z?be.set(D,Z):(be.delete(D),D.cleanup()),D=void 0};return c(xe,!0),(async()=>{try{if(D=await v.getPage(ie),be.set(D,(be.get(D)??0)+1),J){fe();return}const Z=D.getViewport({scale:y}),ne=Math.min(window.devicePixelRatio||1,2,Math.sqrt(16e6/(Z.width*Z.height)));f.width=Math.ceil(Z.width*ne),f.height=Math.ceil(Z.height*ne),f.style.width=`${Z.width}px`,f.style.height=`${Z.height}px`,N=D.render({canvas:f,viewport:Z,transform:[ne,0,0,ne,0,0]}),await N.promise}catch{J||c(Le,"invalid")}finally{J||c(xe,!1)}})(),()=>{J=!0,N?.cancel(),N?N.promise.then(fe,fe):fe()}});var qe={get workspaceId(){return P()},set workspaceId(v){P(v),ce()},get filePath(){return O()},set filePath(v){O(v),ce()},get gitRootId(){return ae()},set gitRootId(v){ae(v),ce()},$set:Yt,$on:(v,f)=>Jt(_,v,f)},Ve=po(),Ke=F(Ve);{var ue=v=>{{const f=y=>{ot();var J=ct();I(()=>m(J,e(Ce))),s(y,J)};let ie=i(()=>d.ui_combobox_retry_label());qa(v,{onRetry:()=>Bt(W),get retryLabel(){return e(ie)},class:"m-auto",message:f,$$slots:{message:!0}})}},a=v=>{{let f=i(()=>d.file_pdf_loading_label());Ka(v,{get label(){return e(f)},count:1,class:"p-4"})}},l=v=>{var f=vo(),ie=ve(f),y=F(ie);{let me=i(()=>e(U)<=1);Te(y,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>Bt(U,-1),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.file_pdf_previous_label()]),s(Me,_e)},$$slots:{default:!0}})}var J=g(y,2),N=C(J,!0),D=g(J,2);{let me=i(()=>e(U)>=e(oe).numPages);Te(D,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>Bt(U),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.file_pdf_next_label()]),s(Me,_e)},$$slots:{default:!0}})}var fe=g(D,2);{let me=i(()=>e(H)<=.25);Te(fe,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>c(H,Math.max(.25,e(H)-.25),!0),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.editor_fileViewer_zoomOut_tooltip()]),s(Me,_e)},$$slots:{default:!0}})}var Z=g(fe,2),ne=C(Z,!0),ft=g(Z,2);{let me=i(()=>e(H)>=3);Te(ft,{variant:"ghost",size:"compact",get disabled(){return e(me)},onclick:()=>c(H,Math.min(3,e(H)+.25),!0),children:(Me,tt)=>{ot();var _e=ct();I(Re=>m(_e,Re),[()=>d.editor_fileViewer_zoomIn_tooltip()]),s(Me,_e)},$$slots:{default:!0}})}$(ie);var vt=g(ie,2),pt=F(vt);let bt;Rr(pt,me=>c(et,me),()=>e(et)),$(vt),I((me,Me,tt)=>{m(N,me),m(ne,Me),Qe(vt,"aria-busy",e(xe)),Qe(pt,"aria-label",tt),bt=jt(pt,"",bt,{visibility:e(xe)?"hidden":"visible"})},[()=>d.file_pdf_page_label({page:cr(e(U)),total:cr(e(oe).numPages)}),()=>zr(e(H),{style:"percent"}),()=>d.file_pdf_canvas_ariaLabel({name:O(),page:cr(e(U))})]),s(v,f)};Y(Ke,v=>{e(ke)?v(ue):e(pe)||re()?.status==="loading"?v(a,1):e(oe)&&v(l,2)})}$(Ve),s(A,Ve);var q=Gt(qe);return ee(),q}const go=R.createSelector((A,_)=>jr(A.videoPreview.previews,_));var mo=x('<p role="status"> </p>'),_o=x('<p role="alert"> </p>'),ho=x('<div class="flex flex-col items-center gap-3 p-6 text-center text-sm text-subtle"><p class="break-all"> </p> <!> <!></div>'),wo=x('<video controls="" preload="metadata" playsinline="" class="max-w-full max-h-full" data-testid="file-video"> </video>',2),bo=x('<div class="min-h-0 flex-1 flex items-center justify-center bg-background"><!></div>');function Wr(A,_){if(new.target)return Xt({component:Wr,...A});Zt(_,!0);const re=()=>ge(et,"$preview",He),[He,ee]=pr();let P=de(_,"sourceUrl",7),O=de(_,"fileName",7),ae=de(_,"allowDownload",7),Ee=de(_,"downloading",7),ye=de(_,"onDownload",7),be=j(null);const oe=crypto.randomUUID(),et=go(oe),U=i(()=>re()?.status==="loading"),H=i(()=>e(be)??re()?.error);let pe=!1,xe=!1;oa(()=>{xe=!0,R.dispatch(da(oe))});function Le(){if(xe||e(U))return;const a=P().startsWith("workspace-file://")?new URL(P()):null;if(pe||!a||!a.pathname.toLowerCase().endsWith(".mp4")){c(be,"unsupported");return}pe=!0,a.searchParams.set("preview","h264"),R.dispatch(ca(oe,a.hostname,a.toString()))}function W(a){if(xe)return;const l=a.currentTarget.error?.code;l===2?c(be,"network"):l!==1&&Le()}var ke={get sourceUrl(){return P()},set sourceUrl(a){P(a),ce()},get fileName(){return O()},set fileName(a){O(a),ce()},get allowDownload(){return ae()},set allowDownload(a){ae(a),ce()},get downloading(){return Ee()},set downloading(a){Ee(a),ce()},get onDownload(){return ye()},set onDownload(a){ye(a),ce()},$set:Yt,$on:(a,l)=>Jt(_,a,l)},Ce=bo(),qe=F(Ce);{var Ve=a=>{var l=ho(),q=F(l),v=C(q,!0),f=g(q,2);{var ie=D=>{var fe=mo(),Z=C(fe,!0);I(ne=>m(Z,ne),[()=>d.editor_fileViewer_videoPreparing_label()]),s(D,fe)},y=D=>{var fe=_o(),Z=C(fe,!0);I(ne=>m(Z,ne),[()=>e(H)==="network"?d.editor_fileViewer_videoLoad_error():d.editor_fileViewer_videoUnsupported_label()]),s(D,fe)};Y(f,D=>{e(U)?D(ie):D(y,-1)})}var J=g(f,2);{var N=D=>{Te(D,{variant:"secondary",size:"sm",get onclick(){return ye()},get disabled(){return Ee()},children:(fe,Z)=>{ot();var ne=ct();I(ft=>m(ne,ft),[()=>d.layout_fileTab_downloadFile_label()]),s(fe,ne)},$$slots:{default:!0}})};Y(J,D=>{ae()&&D(N)})}$(l),I(()=>m(v,O())),s(a,l)},Ke=a=>{var l=wo(),q=C(l,!0);I(v=>{Qe(l,"src",re()?.url??P()),m(q,v)},[()=>d.editor_fileViewer_videoUnsupported_label()]),ut("error",l,W),ut("loadedmetadata",l,v=>{v.currentTarget.videoWidth===0&&Le()}),s(a,l)};Y(qe,a=>{e(H)||e(U)?a(Ve):a(Ke,-1)})}$(Ce),s(A,Ce);var ue=Gt(ke);return ee(),ue}var xo=x('<!> <span class="text-xs text-subtle min-w-[50px] text-center"> </span> <!> <div class="w-px h-5 bg-border mx-1"></div>',1),Po=x('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="w-px h-5 bg-border mx-1"></div> <!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),yo=x('<div class="min-h-0 flex-1 flex flex-col"><div class="flex items-center gap-2 p-2 border-b border-border bg-muted/30"><!> <!> <div class="ml-auto text-xs text-subtle"> </div></div> <div><img draggable="false" class="max-w-full max-h-full object-contain"/></div></div>'),ko=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"></path></svg></div> <div class="text-sm text-subtle mb-4"> </div> <audio controls="" class="w-full max-w-md"><source/> </audio></div>'),$o=x("<!> ",1),Io=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z"></path></svg></div> <p class="text-sm text-subtle mb-4"> </p> <!></div>'),So=x('<th class="border border-border px-2 py-1 text-left text-xs font-medium bg-muted"> </th>'),Co=x('<td class="border border-border px-2 py-1 text-xs"> </td>'),Fo=x("<tr></tr>"),Do=x('<div class="flex-1 overflow-auto p-4"><table class="w-full border-collapse"><thead><tr></tr></thead><tbody></tbody></table></div>'),To=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),Eo=x('<div class="flex-1 flex flex-col items-center justify-center p-8"><div class="text-subtle mb-4"><svg class="w-24 h-24" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 3v2m6-2v2M9 19v2m6-2v2M5 9H3m2 6H3m18-6h-2m2 6h-2M7 19h10a2 2 0 002-2V7a2 2 0 00-2-2H7a2 2 0 00-2 2v10a2 2 0 002 2zM9 9h6v6H9V9z"></path></svg></div> <p class="text-sm text-subtle mb-2"> </p> <p class="text-xs text-subtle"> </p></div>'),Lo=x('<div class="h-full flex flex-col"><!></div>');function qt(A,_){if(new.target)return Xt({component:qt,...A});Zt(_,!0);const re=t=>{var o=xo(),u=ve(o);{let V=i(()=>d.editor_fileViewer_zoomOut_tooltip());Te(u,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:fe,get title(){return e(V)},children:(T,K)=>{dt(T,{get icon(){return Wa},size:"sm"})},$$slots:{default:!0}})}var w=g(u,2),k=C(w,!0),E=g(w,2);{let V=i(()=>d.editor_fileViewer_zoomIn_tooltip());Te(E,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:D,get title(){return e(V)},children:(T,K)=>{dt(T,{get icon(){return Na},size:"sm"})},$$slots:{default:!0}})}ot(2),I(()=>m(k,e(Le))),s(t,o)},He=Xa("FileViewer");let ee=de(_,"filePath",7),P=de(_,"fileContent",7,""),O=de(_,"sourceUrl",7),ae=de(_,"language",7),Ee=de(_,"isBinary",7),ye=de(_,"allowDownload",7,!0),be=de(_,"onDownload",7),oe=de(_,"downloading",7,!1);const et=t=>{const o=t.split(".").pop()?.toLowerCase()||"";return["png","jpg","jpeg","gif","webp","bmp","ico","avif"].includes(o)?"image":o==="svg"?"svg":["mp4","webm","ogg","mov","avi"].includes(o)?"video":["mp3","wav","ogg","m4a","flac"].includes(o)?"audio":o==="pdf"?"pdf":["md","markdown"].includes(o)?"markdown":o==="json"?"json":o==="csv"?"csv":["yaml","yml"].includes(o)?"yaml":o==="xml"?"xml":["zip","tar","gz","rar","7z","bz2"].includes(o)?"archive":["exe","dll","so","dylib","wasm"].includes(o)?"binary":"text"},U=i(()=>et(ee())),H=i(()=>ee().split("/").pop()||d.editor_fileViewer_unknown_fallback());let pe=j(100),xe=j(0);const Le=i(()=>zr(e(pe)/100,{style:"percent",maximumFractionDigits:0}));let W=j(!1),ke=j(0),Ce=j(0),qe=j(0),Ve=j(0),Ke=j(!1),ue=null;function a(){const t=ue;ue=null,c(Ke,!1),t?.viewport.hasPointerCapture(t.pointerId)&&t.viewport.releasePointerCapture(t.pointerId)}function l(t){if(t.button!==0||!t.isPrimary||ue)return;const o=t.currentTarget;o.setPointerCapture(t.pointerId),ue={pointerId:t.pointerId,x:t.clientX,y:t.clientY,viewport:o},c(Ke,!0),t.preventDefault()}function q(t){if(!(!ue||t.pointerId!==ue.pointerId)){if((t.buttons&1)===0){a();return}c(qe,ue.viewport.scrollLeft,!0),c(Ve,ue.viewport.scrollTop,!0),c(ke,e(ke)+(t.clientX-ue.x)),c(Ce,e(Ce)+(t.clientY-ue.y)),ue.x=t.clientX,ue.y=t.clientY}}function v(t){t.pointerId===ue?.pointerId&&a()}se(()=>{ee(),O(),e(pe),e(xe),c(qe,0),c(Ve,0)}),se(()=>(ee(),O(),ur(()=>{a(),c(ke,0),c(Ce,0)}),a));const f=t=>{const o=t.split(".").pop()?.toLowerCase();return o==="jpg"||o==="jpeg"?"image/jpeg":o==="png"?"image/png":o==="gif"?"image/gif":o==="webp"?"image/webp":"application/octet-stream"},ie=t=>{const o=t.split(".").pop()?.toLowerCase();if(o==="mp4")return"video/mp4";if(o==="webm")return"video/webm"},y=()=>{if(O())return O();if(typeof P()=="string")return P().startsWith("data:")||P().startsWith("http")?P():Ee()?`data:${f(ee())};base64,${P()}`:`data:${f(ee())};base64,${P()}`;if(P()instanceof ArrayBuffer){const o=new Uint8Array(P()).reduce((w,k)=>w+String.fromCharCode(k),""),u=btoa(o);return`data:${f(ee())};base64,${u}`}return""},J=()=>{if(O())return O();const t=ie(ee());if(!t)return"";if(typeof P()=="string")return P().startsWith("data:")||P().startsWith("http")?P():`data:${t};base64,${P()}`;const o=new Uint8Array(P()),u=[],w=32768;for(let k=0;k<o.length;k+=w)u.push(String.fromCharCode(...o.subarray(k,k+w)));return`data:${t};base64,${btoa(u.join(""))}`},N=()=>{const t=typeof P()=="string"?new TextEncoder().encode(P()):new Uint8Array(P()),o=[],u=32768;for(let w=0;w<t.length;w+=u)o.push(String.fromCharCode(...t.subarray(w,w+u)));return`data:image/svg+xml;base64,${btoa(o.join(""))}`},D=()=>{c(pe,Math.min(e(pe)+25,500),!0)},fe=()=>{c(pe,Math.max(e(pe)-25,25),!0)},Z=()=>{c(xe,(e(xe)+90)%360)},ne=()=>{if(!ye()||oe())return;if(be()){be()();return}const t=document.createElement("a");t.href=e(U)==="video"?J():e(U)==="svg"?N():y(),t.download=e(H),t.click()},ft=async()=>{try{const t=y(),o=new Image;o.crossOrigin="anonymous";const u=await new Promise((w,k)=>{o.onload=()=>{const E=document.createElement("canvas");E.width=o.naturalWidth,E.height=o.naturalHeight;const V=E.getContext("2d");if(!V){k(new Error("Failed to get canvas context"));return}V.drawImage(o,0,0),E.toBlob(T=>{T?w(T):k(new Error("Failed to create blob from canvas"))},"image/png",1)},o.onerror=()=>k(new Error("Failed to load image")),o.src=t});await navigator.clipboard.write([new ClipboardItem({"image/png":u})]),c(W,!0),setTimeout(()=>c(W,!1),2e3)}catch(t){He.error("Failed to copy image:",t)}},vt=t=>{try{const o=JSON.parse(t);return JSON.stringify(o,null,2)}catch{return t}},pt=t=>t.split(`
|
|
2
2
|
`).map(u=>u.split(",").map(w=>w.trim()));var bt={get filePath(){return ee()},set filePath(t){ee(t),ce()},get fileContent(){return P()},set fileContent(t=""){P(t),ce()},get sourceUrl(){return O()},set sourceUrl(t){O(t),ce()},get language(){return ae()},set language(t){ae(t),ce()},get isBinary(){return Ee()},set isBinary(t){Ee(t),ce()},get allowDownload(){return ye()},set allowDownload(t=!0){ye(t),ce()},get onDownload(){return be()},set onDownload(t){be(t),ce()},get downloading(){return oe()},set downloading(t=!1){oe(t),ce()},$set:Yt,$on:(t,o)=>Jt(_,t,o)},me=Lo();ut("blur",Lr,a);var Me=F(me);{var tt=t=>{var o=Po(),u=F(o),w=F(u);re(w);var k=g(w,2);{let Pe=i(()=>d.editor_fileViewer_rotate_tooltip());Te(k,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:Z,get title(){return e(Pe)},children:(Ae,Ye)=>{dt(Ae,{get icon(){return Va},size:"sm"})},$$slots:{default:!0}})}var E=g(k,4);{let Pe=i(()=>d.editor_fileViewer_copyImage_tooltip());Te(E,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:ft,get title(){return e(Pe)},children:(Ae,Ye)=>{var rt=Ue(),Je=ve(rt);{var $t=Fe=>{dt(Fe,{get icon(){return za},size:"sm",class:"text-green-500"})},Vt=Fe=>{dt(Fe,{get icon(){return Aa},size:"sm"})};Y(Je,Fe=>{e(W)?Fe($t):Fe(Vt,-1)})}s(Ae,rt)},$$slots:{default:!0}})}var V=g(E,2);{let Pe=i(()=>!ye()||oe()),Ae=i(()=>d.editor_fileViewer_download_tooltip());Te(V,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:ne,get disabled(){return e(Pe)},get title(){return e(Ae)},children:(Ye,rt)=>{dt(Ye,{get icon(){return Ot},size:"sm"})},$$slots:{default:!0}})}var T=g(V,2),K=C(T,!0);$(u);var L=g(u,2),he=C(L);$(o),I(Pe=>{m(K,e(H)),Kt(L,1,`relative min-h-0 flex-1 overflow-auto bg-checkered flex items-center justify-center p-4 select-none ${e(Ke)?"cursor-grabbing":"cursor-grab"}`,"svelte-1uj35xu"),jt(L,`--pan-scroll-x: ${e(qe)??""}px; --pan-scroll-y: ${e(Ve)??""}px;`),Qe(he,"src",Pe),Qe(he,"alt",e(H)),jt(he,`translate: ${e(ke)??""}px ${e(Ce)??""}px; transform: scale(${e(pe)/100}) rotate(${e(xe)??""}deg); transition: transform 0.2s;`)},[()=>y()]),yt("pointerdown",L,l),yt("pointermove",L,q),yt("pointerup",L,v),ut("pointercancel",L,v),ut("lostpointercapture",L,v),s(t,o)},_e=t=>{var o=yo(),u=F(o),w=F(u);re(w);var k=g(w,2);{let L=i(()=>!ye()||oe()),he=i(()=>d.editor_fileViewer_download_tooltip());Te(k,{size:"icon",variant:"ghost",class:"h-7 w-7",onclick:ne,get disabled(){return e(L)},get title(){return e(he)},children:(Pe,Ae)=>{dt(Pe,{get icon(){return Ot},size:"sm"})},$$slots:{default:!0}})}var E=g(k,2),V=C(E,!0);$(u);var T=g(u,2),K=C(T);$(o),I(L=>{m(V,e(H)),Kt(T,1,`relative min-h-0 flex-1 overflow-auto bg-checkered flex items-center justify-center p-4 select-none ${e(Ke)?"cursor-grabbing":"cursor-grab"}`,"svelte-1uj35xu"),jt(T,`--pan-scroll-x: ${e(qe)??""}px; --pan-scroll-y: ${e(Ve)??""}px;`),Qe(K,"src",L),Qe(K,"alt",e(H)),jt(K,`translate: ${e(ke)??""}px ${e(Ce)??""}px; transform: scale(${e(pe)/100});`)},[()=>N()]),yt("pointerdown",T,l),yt("pointermove",T,q),yt("pointerup",T,v),ut("pointercancel",T,v),ut("lostpointercapture",T,v),s(t,o)},Re=t=>{const o=i(J);var u=Ue(),w=ve(u);Mr(w,()=>ee()+e(o),k=>{Wr(k,{get sourceUrl(){return e(o)},get fileName(){return e(H)},get allowDownload(){return ye()},get downloading(){return oe()},onDownload:ne})}),s(t,u)},Qt=t=>{var o=ko(),u=g(F(o),2),w=C(u,!0),k=g(u,2),E=F(k),V=g(E);$(k),$(o),I((T,K)=>{m(w,e(H)),Qe(E,"src",T),m(V,` ${K??""}`)},[()=>y(),()=>d.editor_fileViewer_audioUnsupported_label()]),s(t,o)},kt=t=>{var o=Io(),u=g(F(o),2),w=C(u,!0),k=g(u,2);{let E=i(()=>!ye()||oe());Te(k,{size:"sm",variant:"secondary",onclick:ne,get disabled(){return e(E)},children:(V,T)=>{var K=$o(),L=ve(K);dt(L,{get icon(){return Ot},size:"sm",class:"mr-2"});var he=g(L);I(Pe=>m(he,` ${Pe??""}`),[()=>d.editor_fileViewer_downloadPdf_label()]),s(V,K)},$$slots:{default:!0}})}$(o),I(E=>m(w,E),[()=>d.editor_fileViewer_pdfUnavailable_label()]),s(t,o)},er=t=>{{let o=i(()=>vt(P().toString()));fr(t,{get value(){return e(o)},language:"json",get fileName(){return ee()},lineNumbers:!0,readOnly:!0})}},tr=t=>{const o=i(()=>pt(P().toString()));var u=Do(),w=F(u),k=F(w),E=F(k);Ut(E,23,()=>e(o)[0]||[],(T,K)=>`header-${K}-${T}`,(T,K)=>{var L=So(),he=C(L,!0);I(()=>m(he,e(K))),s(T,L)}),$(E),$(k);var V=g(k);Ut(V,23,()=>e(o).slice(1),(T,K)=>`row-${K}`,(T,K,L)=>{var he=Fo();Ut(he,23,()=>e(K),(Pe,Ae)=>`cell-${e(L)}-${Ae}`,(Pe,Ae)=>{var Ye=Co(),rt=C(Ye,!0);I(()=>m(rt,e(Ae))),s(Pe,Ye)}),$(he),s(T,he)}),$(V),$(w),$(u),s(t,u)},Xe=t=>{var o=To(),u=g(F(o),2),w=C(u,!0),k=g(u,2),E=C(k,!0);$(o),I(V=>{m(w,e(H)),m(E,V)},[()=>d.editor_fileViewer_archive_label()]),s(t,o)},ze=t=>{var o=Eo(),u=g(F(o),2),w=C(u,!0),k=g(u,2),E=C(k,!0);$(o),I(V=>{m(w,e(H)),m(E,V)},[()=>d.editor_fileViewer_binary_label()]),s(t,o)},rr=t=>{{let o=i(()=>P().toString());fr(t,{get value(){return e(o)},get language(){return ae()},get fileName(){return ee()},lineNumbers:!0,highlightActiveLine:!0})}};Y(Me,t=>{e(U)==="image"?t(tt):e(U)==="svg"?t(_e,1):e(U)==="video"?t(Re,2):e(U)==="audio"?t(Qt,3):e(U)==="pdf"?t(kt,4):e(U)==="json"?t(er,5):e(U)==="csv"?t(tr,6):e(U)==="archive"?t(Xe,7):e(U)==="binary"?t(ze,8):t(rr,-1)})}return $(me),s(A,me),Gt(bt)}ia(["pointerdown","pointermove","pointerup"]);const Mo=/access denied|permission denied|outside (?:the )?workspace/i,Ro=/file not found|no such file or directory/i;function jo(A){return Mo.test(A)?"access-denied":A===d.files_read_notFound_error()||Ro.test(A)?"not-found":"generic"}function Uo(A){switch(A){case"access-denied":return d.layout_fileTab_errorAccessDenied_label();case"not-found":return d.layout_fileTab_errorNotFound_label();case"generic":return d.layout_fileTab_errorGeneric_label()}}var Vo=x("<!> <!>",1),zo=x("<!> <!> <!>",1),Ao=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-2"><p> </p> <p class="text-xs"> </p></div>'),Tr=x('<div class="flex h-full items-center justify-center p-4 text-subtle"><p role="alert"> </p></div>'),Wo=x('<div class="flex h-full items-center justify-center text-subtle"><p> </p></div>'),Er=x('<div class="flex items-center justify-center h-full text-subtle"><p> </p></div>'),No=x('<div class="flex items-center gap-3"><!> <!></div>'),Ho=x('<div class="flex flex-col h-full"><div class="flex-1 p-4 space-y-2"></div></div>'),Bo=x('<p class="text-xs"> </p>'),Oo=x("<li><!></li>"),qo=x('<p class="text-xs mt-2"> </p> <ul class="flex flex-col items-center gap-1"></ul>',1),Ko=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-2"><p class="text-danger" role="alert"> </p> <p class="text-xs font-mono"> </p> <!> <!></div>'),Xo=x('<div class="flex flex-col items-center justify-center h-full text-subtle gap-3 p-4"><p> </p> <p class="text-xs break-all"> </p> <!></div>'),Yo=x('<div class="h-full overflow-auto p-4"><!></div>'),Jo=x("<div><!></div>"),Zo=x('<iframe sandbox="" referrerpolicy="no-referrer"></iframe>'),Go=x('<div class="absolute inset-0 flex items-center justify-center text-subtle" role="status"> </div>'),Qo=x('<div class="relative size-full"><!> <!> <!></div>');function ei(A,_){if(new.target)return Xt({component:ei,...A});Zt(_,!0);const re=()=>ge(tr,"$workspace",W),He=()=>ge(D,"$fileContentStore",W),ee=()=>ge(fe,"$fileLoadingStore",W),P=()=>ge(Z,"$fileSavingStore",W),O=()=>ge(ne,"$fileErrorStore",W),ae=()=>ge(ft,"$fileErrorInfoStore",W),Ee=()=>ge(vt,"$homeView$",W),ye=()=>ge(pt,"$fileNotFoundCandidatesStore",W),be=()=>ge(bt,"$isFileBinaryStore",W),oe=()=>ge(me,"$isFileDirtyStore",W),et=()=>ge(Me,"$fileLastUpdatedStore",W),U=()=>ge(tt,"$ftChanges$",W),H=()=>ge(er,"$gutterRead$",W),pe=()=>ge(Ke,"$lineWrapping",W),xe=()=>ge(ue,"$diffIndicators",W),Le=()=>ge(Qt,"$rootMediaPreview",W),[W,ke]=pr(),Ce=(r,n=sa)=>{var b=Or,S=qr;{let le=i(()=>xe()?e(rt):[]),$e=i(()=>n()&&v());Rr(fr(r,{get value(){return b()},set value(G){S(G)},get language(){return e(or)},get readOnly(){return e(y)},get fileName(){return a().filePath},get workspaceId(){return l()},get filePath(){return a().filePath},get lineWrapping(){return pe()},get lineChanges(){return e(le)},get jumpTo(){return e($t)},get externalContentVersion(){return e(Pe)},get isPanelFocused(){return e($e)}}),G=>c(Ye,G,!0),()=>e(Ye))}},qe=r=>{var n=Vo(),b=ve(n);{var S=G=>{var Be=Ue(),Ze=ve(Be);Nt(Ze,()=>Ht,(nt,Tt)=>{Tt(nt,{get icon(){return Ha},get label(){return e(Ae)},disabled:!0})}),s(G,Be)};Y(b,G=>{!e(It)&&!e(y)&&!e(L)&&G(S)})}var le=g(b,2);{var $e=G=>{{let Be=i(()=>e(_t)?d.ui_viewSettings_htmlPreview_label():void 0),Ze=i(()=>!e(We)),nt=i(()=>!e(y)&&!e(We));eo(G,{embedded:!0,showFold:!1,showSplit:!1,get showPreview(){return e(wr)},get previewLabel(){return e(Be)},get previewEnabled(){return e(Fe)},onTogglePreview:()=>c(Fe,!e(Fe)),get showWrap(){return e(Ze)},get wrapEnabled(){return pe()},onToggleWrap:()=>R.dispatch(_a()),get showDiff(){return e(nt)},get diffEnabled(){return xe()},onToggleDiff:()=>R.dispatch(ma())})}};Y(le,G=>{a().filePath&&!e(It)&&!e(L)&&G($e)})}s(r,n)},Ve=r=>{var n=Ue(),b=ve(n);{var S=le=>{var $e=zo(),G=ve($e);{var Be=Oe=>{var at=Ue(),ht=ve(at);{let Et=i(()=>d.layout_fileTab_goToChanges_tooltip());Nt(ht,()=>Ht,(Lt,Mt)=>{Mt(Lt,{get icon(){return Oa},get label(){return e(Et)},onclick:Jr})})}s(Oe,at)};Y(G,Oe=>{e(Br)&&Oe(Be)})}var Ze=g(G,2);{var nt=Oe=>{var at=Ue(),ht=ve(at);{let Et=i(()=>d.layout_fileTab_downloadFile_label()),Lt=i(()=>!e(Ct)||e(mt));Nt(ht,()=>Ht,(Mt,ir)=>{ir(Mt,{get icon(){return Ot},get label(){return e(Et)},onclick:At,get disabled(){return e(Lt)}})})}s(Oe,at)};Y(Ze,Oe=>{e(it)&&Oe(nt)})}var Tt=g(Ze,2);{let Oe=i(()=>d.layout_fileTab_deleteFile_tooltip());Nt(Tt,()=>Ht,(at,ht)=>{ht(at,{get icon(){return Ba},get label(){return e(Oe)},onclick:Zr,destructive:!0})})}s(le,$e)};Y(b,le=>{a().filePath&&!e(It)&&!e(y)&&le(S)})}s(r,n)},Ke=to(),ue=ro();let a=de(_,"tab",7),l=de(_,"workspaceId",7),q=de(_,"isActive",7),v=de(_,"isPanelFocused",7);se(()=>{const r=l();if(!(!q()||!r||e(f)))return R.dispatch(ua(r,"files")),()=>R.dispatch(fa(r,"files"))});const f=i(()=>typeof a().data?.gitRootId=="string"?a().data.gitRootId:void 0),ie=i(()=>typeof a().data?.gitRootPath=="string"?a().data.gitRootPath:void 0),y=i(()=>!!e(f)),J=i(()=>a().filePath?ja(a().filePath,e(f)):a().filePath),N=na(e(J));se(()=>{N.set(e(J))});const D=ka(l(),N),fe=$a(l(),N),Z=Ia(l(),N),ne=Sa(l(),N),ft=Ca(l(),N),vt=co(l()),pt=Fa(l(),N),bt=Da(l(),N),me=Sr(l(),N),Me=Ta(l(),N),tt=Ea(l()),_e=ya(),Re=crypto.randomUUID(),Qt=Ar(Re),kt=`file-gutter:${crypto.randomUUID()}`,er=La(l(),kt),tr=Ma(l()),Xe=i(()=>re()?.worktreePath||re()?.repositoryPath||re()?.path||null),ze=i(He),rr=io();se(()=>{e(ze)!==null&&e(ze)!==void 0&&rr?.markContentLoaded()});const t=i(ee),o=i(P),u=i(O),w=i(()=>e(u)?jo(e(u)):"generic"),k=i(()=>e(u)?lo(ae()):null);let E=j(0),V=!1;se(()=>{const r=Ee();if(!r||r.unavailable){V=!1;return}e(k)&&!V&&(V=!0,ur(()=>Bt(E)))});const T=5,K=i(()=>(ye()??[]).slice(0,T)),L=i(be),he=i(oe),Pe=i(et),Ae=i(()=>e(o)?d.ui_saveIndicator_saving_tooltip():e(he)?d.ui_saveIndicator_autoSaving_tooltip():d.ui_saveIndicator_saved_tooltip());let Ye=j(null),rt=j(la([])),Je=j(null),$t=j(void 0),Vt=j(void 0),Fe=j(!0),gr=j(null);se(()=>{const r=a().data?.line,n=a().data?.jumpTimestamp;!r||n!==void 0&&n===e(Vt)||(c(Vt,n,!0),c($t,{line:r},!0),c(Fe,!1))});const gt=i(()=>e(f)?Cr(a().filePath,e(ie)):null),It=i(()=>e(f)?!e(gt):!!(a().filePath&&(Ja(a().filePath)||e(Xe)&&Za(a().filePath,e(Xe))))),St=i(()=>a().filePath&&e(Xe)?dr(a().filePath)?a().filePath:`${e(Xe)}/${a().filePath}`:null),xt=i(()=>!!a().filePath&&/\.pdf$/i.test(a().filePath)),Pt=i(()=>!!a().filePath&&/\.(?:png|jpe?g|gif|webp|mp4|webm)$/i.test(a().filePath)),it=i(()=>l()&&/^[A-Za-z0-9._-]+$/.test(l())?Cr(a().filePath,e(Xe)):null),Nr=i(()=>!e(f)&&e(it)?e(it).split("/").slice(0,-1).join("/"):void 0),ar=i(()=>e(xt)||e(Pt)?e(it):null),mr=i(()=>e(f)&&e(Pt)?{png:"image/png",jpg:"image/jpeg",jpeg:"image/jpeg",gif:"image/gif",webp:"image/webp",mp4:"video/mp4",webm:"video/webm"}[a().filePath?.split(".").pop()?.toLowerCase()??""]:void 0);se(()=>{if(!q()||!e(f)||!e(gt)||!e(mr))return;const r=crypto.randomUUID();return R.dispatch(Ur(Re,r,l(),e(gt),{gitRootId:e(f),mimeType:e(mr)})),()=>R.dispatch(Vr(Re,r))});let mt=j(!1);const Ct=i(()=>!!e(it)&&!e(t)&&(!e(Pt)||e(Je)===e(it))),_r=i(()=>e(Je)&&l()?`workspace-file://${l()}/${e(Je).split("/").map(encodeURIComponent).join("/")}`:null),or=i(()=>a().filePath?ga(a().filePath):"plaintext"),hr=i(()=>e(or)==="markdown"),_t=i(()=>/\.html?$/i.test(a().filePath??""));let Ft=j(void 0);const zt=i(()=>e(Ft)?.source===e(ze)),wr=i(()=>e(hr)||e(_t)&&!(e(zt)&&e(Ft)?.document===null)),We=i(()=>e(wr)&&e(Fe));se(()=>{if(!q()||!e(_t)||!e(We)||e(L)||e(u))return;const r=e(ze);if(!(r===null||e(zt)))return fo(r,n=>{c(Ft,{source:r,document:n}),n===null&&c(Fe,!1)})}),se(()=>{e(_t)&&!e(We)&&a().filePath&&c(gr,a().filePath,!0)}),se(()=>{if(!e(_t)||!e(We)||!q()||!v())return;function r(n){const b=n.detail?.line;b&&(c($t,{line:b},!0),c(Fe,!1))}return window.addEventListener("workspace:go-to-line",r),()=>window.removeEventListener("workspace:go-to-line",r)}),se(()=>{if(!q()||e(xt)||e(f))return;const r=e(ar),n=a().filePath,b=l(),S=a().id;if(c(Je,null),!r||!n||!b)return;let le=!1;const $e=()=>!le&&l()===b&&a().id===S&&a().filePath===n;return(async()=>{let G=!1;try{G=(await Ua("file.stat",{workspaceId:b,path:r}))?.isFile===!0}catch{}if(!$e())return;if(G){c(Je,r,!0);return}if(!/\.(?:png|jpe?g|gif|webp|mp4|webm)$/i.test(r)){c(Je,r,!0);return}const{candidates:Be,truncated:Ze}=await Ya(b,r);if($e()){if(!Ze&&Be.length===1){R.dispatch(yr(b,n,Be[0],S));return}c(Je,r,!0)}})(),()=>{le=!0}});function Hr(r,n){return!!(r.file===n||r.relativePath===n||r.relativePath&&n.endsWith("/"+r.relativePath)||r.file&&n.endsWith("/"+r.file)||r.relativePath&&r.relativePath.endsWith("/"+n)||r.file&&r.file.endsWith("/"+n))}const Dt=i(()=>e(y)||!a().filePath?null:U().find(r=>Hr(r,a().filePath))??null),Br=i(()=>!!e(Dt));se(()=>{if(e(y))return;const r=l(),n=a().filePath,b=e(Xe);return()=>{if(!r||!n)return;const S=lr.select(R.state,r,n);if(S?.kind!=="editable-text")return;const le=nr(S.localContent),$e=Sr.select(R.state,r,n),G=dr(n)?n:b?`${b}/${n}`:null;$e&&G&&R.dispatch(kr(r,n,G,le))}}),se(()=>{const r=a().filePath,n=e(St),b=l();if(e(E),!q())return;const S=!e(f)&&!!r&&dr(r)&&!e(Xe);r&&b&&!e(It)&&!e(Pt)&&!e(xt)&&!S&&(e(f)&&e(gt)&&e(J)?R.dispatch($r(b,e(J),n??r,{gitRoot:{id:e(f),relativePath:e(gt)}})):R.dispatch($r(b,r,n??r)))});function Or(){return e(ze)??""}function qr(r){e(y)||e(L)||!a().filePath||!l()||!e(St)||R.dispatch(Pa(l(),a().filePath,nr(r)))}function Kr(){if(e(y)||e(L)||!a().filePath||!e(St)||e(ze)===null||e(o))return;const r=lr.select(R.state,l(),a().filePath);r?.kind==="editable-text"&&R.dispatch(kr(l(),a().filePath,e(St),nr(r.localContent)))}function Xr(r){const n=a().filePath;!n||!l()||(R.dispatch(xa(l(),n)),R.dispatch(yr(l(),n,r,a().id)))}se(()=>{const r=a().filePath,n=e(Dt);if(!r||!n){c(rt,[],!0);return}if(!q())return;const b=l(),S=crypto.randomUUID();return R.dispatch(va(b,kt,S,{kind:"diffs",path:r,staged:n.stage==="staged"})),()=>{R.dispatch(pa(b,kt,S))}}),se(()=>{const r=H(),n=r?.result?.kind==="diffs"?r.result.chunks:[],b=n.find(S=>S.file===a().filePath)??n[0];c(rt,b?Ga(b.chunks.map(S=>({oldStart:S.oldStart,oldLines:S.oldLines,newStart:S.newStart,newLines:S.newLines,lines:S.lines.map(le=>(le.type===Ir.Addition?"+":le.type===Ir.Deletion?"-":" ")+le.content)}))):[],!0)});function Yr(r){const n=/Mac|iPhone|iPad|iPod/.test(navigator.userAgent),b=$e=>oo(r,ao($e),n);if(b("editor.save")){r.preventDefault(),e(he)&&!e(o)&&Kr();return}const S=b("editor.undo")?"undo":b("editor.redo")?"redo":b("editor.toggle-task-list")?"toggle-task-list":b("editor.copy")?"copy":b("editor.select-all")?"select-all":null;if(!S||e(y)&&S!=="copy"&&S!=="select-all")return;S!=="toggle-task-list"&&e(Ye)?.runShortcut(S)&&r.preventDefault()}function Jr(r){if(!a().filePath||!e(Dt))return;const n=r?.metaKey||r?.ctrlKey||!1,S=r?.target?.closest("[data-panel-id]")?.getAttribute("data-panel-id")??void 0;R.dispatch(ba(l(),e(Dt),{filePath:a().filePath,changeId:e(Dt).id,openInAdjacentPanel:n,sourcePanelId:S}))}async function At(){const r=e(it);if(!(e(y)||!r||!l()||!e(Ct)||e(mt))){c(mt,!0);try{const n=await Ra(l(),r,e(Xe));!n?.success&&!n?.canceled&&sr.error(n?.error?.message||d.layout_fileTab_downloadFailed_error())}catch{sr.error(d.layout_fileTab_downloadFailed_error())}finally{c(mt,!1)}}}function Zr(){const r=e(St);if(e(y)||!a().filePath||!l()||!r)return;const n=ha(lr.select(R.state,l(),a().filePath));if(!n){sr.error(d.ui_reversibleActions_failed_error({message:d.fileExplorer_tree_undoUnavailable_error()}));return}R.dispatch(wa(l(),a().filePath,{absolutePath:r,tabId:a().id,snapshot:n}))}se(()=>{if(!_e||!q())return;const r={isDirty:!e(y)&&e(he),isSaving:!e(y)&&e(o)};ur(()=>{_e.registerActions({display:qe,actions:Ve}),_e.registerState(r)})});var Gr={get tab(){return a()},set tab(r){a(r),ce()},get workspaceId(){return l()},set workspaceId(r){l(r),ce()},get isActive(){return q()},set isActive(r){q(r),ce()},get isPanelFocused(){return v()},set isPanelFocused(r){v(r),ce()},$set:Yt,$on:(r,n)=>Jt(_,r,n)},br=Ue();ut("keydown",Lr,r=>q()&&Yr(r));var Qr=ve(br);{var ea=r=>{var n=Ue(),b=ve(n);Mr(b,()=>a().filePath,S=>{var le=Ue(),$e=ve(le);{var G=h=>{var p=Ao(),M=F(p),X=C(M,!0),z=g(M,2),je=C(z,!0);$(p),I(te=>{m(X,te),m(je,a().filePath)},[()=>d.layout_fileTab_outsideWorkspace_label()]),s(h,p)},Be=h=>{var p=Ue(),M=ve(p);{var X=z=>{vr(z,{get workspaceId(){return l()},get filePath(){return e(gt)},get gitRootId(){return e(f)}})};Y(M,z=>{q()&&z(X)})}s(h,p)},Ze=h=>{var p=Ue(),M=ve(p);{var X=te=>{var Ie=Tr(),B=F(Ie),we=C(B,!0);$(Ie),I(Q=>m(we,Q),[()=>d.layout_fileTab_errorLoading_label()]),s(te,Ie)},z=te=>{qt(te,{get filePath(){return a().filePath},get sourceUrl(){return Le().url},allowDownload:!1})},je=te=>{var Ie=Wo(),B=F(Ie),we=C(B,!0);$(Ie),I(Q=>m(we,Q),[()=>d.layout_fileTab_preparing_label()]),s(te,Ie)};Y(M,te=>{Le()?.error?te(X):Le()?.url?te(z,1):te(je,-1)})}s(h,p)},nt=h=>{var p=Ue(),M=ve(p);{var X=z=>{vr(z,{get workspaceId(){return l()},get filePath(){return e(ar)}})};Y(M,z=>{q()&&z(X)})}s(h,p)},Tt=h=>{var p=Tr(),M=F(p),X=C(M,!0);$(p),I(z=>m(X,z),[()=>d.file_pdf_load_error()]),s(h,p)},Oe=h=>{{let p=i(()=>e(Je)??a().filePath),M=i(()=>!e(y)&&e(Ct));qt(h,{get filePath(){return e(p)},get sourceUrl(){return e(_r)},onDownload:At,get allowDownload(){return e(M)},get downloading(){return e(mt)}})}},at=h=>{var p=Er(),M=F(p),X=C(M,!0);$(p),I(z=>m(X,z),[()=>d.layout_fileTab_preparing_label()]),s(h,p)},ht=h=>{var p=Ho(),M=F(p);Ut(M,20,()=>[...Array(20).keys()],X=>X,(X,z)=>{var je=No(),te=F(je);Fr(te,{class:"h-3 w-8 shrink-0"});var Ie=g(te,2);Fr(Ie,{class:"h-3",style:`width: ${30+Math.random()*60}%`}),$(je),s(X,je)}),$(M),$(p),s(h,p)},Et=h=>{{let p=i(()=>so(e(k)));no(h,{get view(){return e(p)}})}},Lt=h=>{var p=Ko(),M=F(p),X=C(M,!0),z=g(M,2),je=C(z,!0),te=g(z,2);{var Ie=Q=>{var lt=Bo(),Ge=C(lt,!0);I(()=>m(Ge,e(u))),s(Q,lt)};Y(te,Q=>{e(w)==="generic"&&Q(Ie)})}var B=g(te,2);{var we=Q=>{var lt=qo(),Ge=ve(lt),Rt=C(Ge,!0),Wt=g(Ge,2);Ut(Wt,20,()=>e(K),wt=>wt,(wt,De)=>{var Se=Oo(),Ne=F(Se);Te(Ne,{variant:"link",size:"compact",class:"h-auto p-0 font-mono text-xs",onclick:()=>Xr(De),children:(st,xr)=>{ot();var Pr=ct();I(()=>m(Pr,De)),s(st,Pr)},$$slots:{default:!0}}),$(Se),s(wt,Se)}),$(Wt),I(wt=>m(Rt,wt),[()=>d.layout_fileTab_didYouMean_label()]),s(Q,lt)};Y(B,Q=>{e(K).length>0&&Q(we)})}$(p),I(Q=>{m(X,Q),m(je,a().filePath)},[()=>Uo(e(w))]),s(h,p)},Mt=h=>{var p=Xo(),M=F(p),X=C(M,!0),z=g(M,2),je=C(z,!0),te=g(z,2);{var Ie=B=>{{let we=i(()=>!e(Ct)||e(mt));Te(B,{variant:"secondary",size:"sm",onclick:At,get disabled(){return e(we)},children:(Q,lt)=>{ot();var Ge=ct();I(Rt=>m(Ge,Rt),[()=>d.layout_fileTab_downloadFile_label()]),s(Q,Ge)},$$slots:{default:!0}})}};Y(te,B=>{!e(y)&&e(it)&&B(Ie)})}$(p),I(B=>{m(X,B),m(je,a().filePath)},[()=>d.editor_fileViewer_binary_label()]),s(h,p)},ir=h=>{const p=i(()=>a().filePath?.toLowerCase().endsWith(".svg"));var M=Ue(),X=ve(M);{var z=B=>{{let we=i(()=>a().filePath||""),Q=i(()=>!e(y)&&e(Ct));qt(B,{get filePath(){return e(we)},get fileContent(){return e(ze)},get language(){return e(or)},get isBinary(){return e(L)},onDownload:At,get allowDownload(){return e(Q)},get downloading(){return e(mt)}})}},je=B=>{var we=Yo(),Q=F(we);Qa(Q,{get content(){return e(ze)},get workspaceId(){return l()},get relativeMediaBase(){return e(Nr)},renderRichFencesAsCode:!0,renderDiagrams:!0}),$(we),s(B,we)},te=B=>{var we=Qo(),Q=F(we);{var lt=De=>{var Se=Jo();let Ne;var st=F(Se);Ce(st,()=>!e(We)),$(Se),I(()=>{Ne=Kt(Se,1,"size-full",null,Ne,{invisible:e(We)}),Se.inert=e(We)}),s(De,Se)};Y(Q,De=>{(!e(We)||e(gr)===a().filePath)&&De(lt)})}var Ge=g(Q,2);{var Rt=De=>{const Se=i(()=>e(We)&&e(zt));var Ne=Zo();let st;I(xr=>{Qe(Ne,"title",xr),Qe(Ne,"srcdoc",e(Ft).document),st=Kt(Ne,1,"absolute inset-0 block size-full border-0 bg-background",null,st,{invisible:!e(Se)}),Ne.inert=!e(Se)},[()=>d.ui_viewSettings_htmlPreview_label()]),s(De,Ne)};Y(Ge,De=>{e(Ft)?.document!=null&&De(Rt)})}var Wt=g(Ge,2);{var wt=De=>{var Se=Go(),Ne=C(Se,!0);I(st=>m(Ne,st),[()=>d.layout_fileTab_preparing_label()]),s(De,Se)};Y(Wt,De=>{e(We)&&!e(zt)&&De(wt)})}$(we),s(B,we)},Ie=B=>{Ce(B,()=>!0)};Y(X,B=>{e(p)?B(z):e(hr)&&e(We)?B(je,1):e(_t)?B(te,2):B(Ie,-1)})}s(h,M)},ra=h=>{var p=Er(),M=F(p),X=C(M,!0);$(p),I(z=>m(X,z),[()=>d.layout_fileTab_preparing_label()]),s(h,p)};Y($e,h=>{e(It)?h(G):e(f)&&e(xt)&&e(gt)?h(Be,1):e(f)&&e(Pt)?h(Ze,2):e(xt)&&e(ar)?h(nt,3):e(xt)?h(Tt,4):e(_r)?h(Oe,5):e(Pt)?h(at,6):e(t)&&(!e(_t)||e(ze)===null)?h(ht,7):e(k)?h(Et,8):e(u)?h(Lt,9):e(L)?h(Mt,10):e(ze)!==null?h(ir,11):h(ra,-1)})}s(S,le)}),s(r,n)};Y(Qr,r=>{a().filePath&&r(ea)})}s(A,br);var ta=Gt(Gr);return ke(),ta}export{ei as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/D40Fo-pJ.js","/app/immutable/chunks/Dws-34a7.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/DLCFUd4s.js","/app/immutable/chunks/5-0LQoqd.js","/app/immutable/chunks/pnbUAKkx.js","/app/immutable/chunks/C-zB-6G6.js","/app/immutable/chunks/D-rRuAXZ.js","/app/immutable/chunks/BD9db4FR.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/B5tvpTFB.js","/app/immutable/chunks/rXKOJqUt.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/BIGqOuh0.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/BPuz5cN_.js","/app/immutable/chunks/7KxcPj98.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/B8HnjSSF.js","/app/immutable/chunks/DcOkWaeN.js","/app/immutable/chunks/4g_iHoQm.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/8jMQM9h0.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/CGYPBD6G.js","/app/immutable/chunks/Bc1vJq_Z.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/jBG7W4tL.js","/app/immutable/chunks/D_VvdZe2.js","/app/immutable/chunks/C63WwVct.js","/app/immutable/chunks/C2F2Vd1P.js","/app/immutable/chunks/CrsbEWnE.js","/app/immutable/chunks/DWa-2rkZ.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/gU2qspu9.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/BW1iql_y.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/DSiGyv9Y.js","/app/immutable/chunks/C_SKcJv7.js","/app/immutable/chunks/BNa9zzEx.js","/app/immutable/chunks/COgn_CzG.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/zB9UbdEg.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/h8JtxU_T.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/DbqTt-YM.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/COWlXo8C.js","/app/immutable/chunks/DJPIUVkw.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/tLFaYuVN.js","/app/immutable/chunks/SbTG0nwQ.js","/app/immutable/chunks/Dval4sTX.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/BV1ayWTC.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/CTgU1bby.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/BTvTyEgq.js","/app/immutable/chunks/bKvZbiNk.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/B_4WsP9b.js","/app/immutable/chunks/DtqPBHQj.js","/app/immutable/chunks/B6eTPmJH.js","/app/immutable/chunks/PhAbES0t.js","/app/immutable/chunks/Do2KlQU0.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/BLKFshyr.js","/app/immutable/chunks/Mko8tFZb.js","/app/immutable/chunks/yDmmPu6L.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/A0KsbysW.js","/app/immutable/chunks/B6d1Nolc.js","/app/immutable/chunks/sSXTMg2P.js","/app/immutable/chunks/Bi_Yd73A.js","/app/immutable/chunks/C50zlWbZ.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/BoG8wR7s.js","/app/immutable/chunks/CjjWPVbV.js","/app/immutable/chunks/BECK4OaG.js","/app/immutable/chunks/B433f4mk.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/CWOQ_pUA.js","/app/immutable/chunks/CTW83wJs.js","/app/immutable/chunks/wiGlLVr-.js","/app/immutable/chunks/BByf3ILj.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/9GO97JAL.js","/app/immutable/chunks/CXdnCPBf.js","/app/immutable/chunks/DGMrUmNq.js","/app/immutable/chunks/C9ew0Hx2.js","/app/immutable/chunks/BJgwBOBz.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/pomj9evG.js","/app/immutable/chunks/DYbZIRJE.js","/app/immutable/chunks/CiWHn2aR.js","/app/immutable/chunks/ClYR_2Js.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/B5uejTJk.js","/app/immutable/chunks/CoJyxFcH.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/BSygKG3g.js","/app/immutable/chunks/Da-Blgd9.js","/app/immutable/chunks/6paLMka3.js","/app/immutable/chunks/VeUh5OMZ.js","/app/immutable/chunks/BvbeTrka.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/B2CniqS1.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/U7dpdlAf.js","/app/immutable/chunks/CR-JVxLD.js","/app/immutable/chunks/fHygQTSC.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/nw_ZiYCy.js","/app/immutable/chunks/LQRHF1eM.js","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/CmyAIpbY.js","/app/immutable/chunks/DGv69LVd.js","/app/immutable/chunks/DHcX7CG0.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/Bv_xG3nA.js","/app/immutable/chunks/jnsEVh0o.js","/app/immutable/chunks/DhVTc7Ol.js","/app/immutable/chunks/DiURwJNX.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/CNSshwg_.js","/app/immutable/chunks/Clo7aK1n.js","/app/immutable/chunks/BO8Bp7Ht.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/Dxd7AQYv.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/CV2tdNDf.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/BlIRL_82.js","/app/immutable/chunks/B0qb2Ymj.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/DE32K02M.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/B_75gRww.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/Whej1Dge.js","/app/immutable/chunks/CMq0sOjt.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/CObW_WD-.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/BPxN1acN.js","/app/immutable/chunks/CI0C7_h-.js","/app/immutable/chunks/3iG5yoX3.js","/app/immutable/chunks/B5NaFcis.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/B6FGs8l2.js","/app/immutable/chunks/Dvi4g0xk.js","/app/immutable/chunks/DpITHrfz.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/BTepRW_m.js","/app/immutable/chunks/BwPwF85e.js","/app/immutable/chunks/CletI6Pa.js","/app/immutable/chunks/j67P3UNv.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/B2jyBWIj.js","/app/immutable/chunks/BzirSHSv.js","/app/immutable/chunks/DM1_VFfD.js","/app/immutable/chunks/BQLaE7V5.js","/app/immutable/chunks/BXJzIaQM.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/Bu-RLSv9.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/pMP23LzB.js","/app/immutable/chunks/4PAYwk2I.js","/app/immutable/chunks/BdEtT3Ti.js","/app/immutable/chunks/deEweluJ.js","/app/immutable/chunks/JM7CQkWC.js","/app/immutable/chunks/D7P3vklT.js","/app/immutable/chunks/BhQMKzoM.js","/app/immutable/chunks/94vL4WlW.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/DuAAGnM9.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/D7Dfbf5g.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/C9p4fddz.js","/app/immutable/chunks/C-G2u0Oe.js","/app/immutable/chunks/6xdvppss.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/lD0hZ5-I.js","/app/immutable/chunks/Cp02CBjf.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/nwO3KCpP.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/FVS6L2WV.js","/app/immutable/chunks/C8LrJXqa.js","/app/immutable/chunks/DxC0zTSc.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/B5q4SHo9.js","/app/immutable/chunks/BMnuRHbZ.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/DDb9H7X6.js","/app/immutable/chunks/BSUnflvl.js","/app/immutable/chunks/BjlMkd10.js","/app/immutable/chunks/CEEUgGO1.js","/app/immutable/chunks/7y3Z0Q49.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/BRKjDAGC.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/DI71nFp4.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/Cp7Byf5d.js","/app/immutable/chunks/7ZsTr9xa.js","/app/immutable/chunks/DmvYOHFs.js","/app/immutable/chunks/HU1Ksz8U.js","/app/immutable/chunks/B3IS1jjn.js","/app/immutable/chunks/DX9N1RQz.js","/app/immutable/chunks/BgQadJDW.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/CD-M_2xD.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/B8QvP_8b.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/DPtj8tX0.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/CvZTDgJa.js","/app/immutable/chunks/CVuncf5f.js","/app/immutable/chunks/Ex_x2wO5.js","/app/immutable/chunks/BuBXySe4.js","/app/immutable/chunks/BSntxgH1.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/CU_-vK2M.js","/app/immutable/chunks/CDAnHxmJ.js","/app/immutable/chunks/BHqp2vwo.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/CIaruUrd.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/BVl79jmM.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/DlpH_aW2.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/BSgFpkqa.js","/app/immutable/chunks/DlU1rxYV.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/DnKqeAaM.js","/app/immutable/chunks/CBueLH7U.js","/app/immutable/chunks/Cp9EK0r2.js","/app/immutable/chunks/B4I8lQNP.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/BCZTn_fp.js","/app/immutable/chunks/TC7OsYhy.js","/app/immutable/chunks/BWCYowXB.js","/app/immutable/chunks/C0Zo7HuP.js","/app/immutable/chunks/CYSndAne.js","/app/immutable/chunks/CPI5xBWX.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./Dws-34a7.js";import{t as u}from"./CHto7_WH.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./CGYPBD6G.js";import{R as H}from"./CJB-ebPL.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./DLCFUd4s.js";import{s as fe}from"./BD9db4FR.js";import{L as me}from"./fHygQTSC.js";import{C as Xe,L as be}from"./jBG7W4tL.js";import{I as Ze}from"./C63WwVct.js";import"./C2F2Vd1P.js";import"./BW1iql_y.js";import{f as le}from"./BIGqOuh0.js";import{v as Ie}from"./BPuz5cN_.js";import"./gU2qspu9.js";import"./D-rRuAXZ.js";import{I as ve}from"./C-zB-6G6.js";import{I as et}from"./Bqd7fdCF.js";import"./7KxcPj98.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./D40Fo-pJ.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./lD0hZ5-I.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,71,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,72,64,62,65,68,60,59,73,74,75,76,63,77,78,181,92,57,61,182,212,123,213,125,52,136,86,214,99,100,215,109,110,111,112,113,216,217,102,218,219]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./B5q4SHo9.js"),__vite__mapDeps([220,1,2,3,4,11,28,7,8,9,10,6,64,18,22,23,24,25,26,13,62,16,17,19,65,20,221,15,222,223,59,60,57,58,61,63,224,225,226,227,228,112,212,191,229,14,12,21,27,29,30,31,32,213,230,72,68,73,74,75,76,77,78,36,42,43,40,41,217,231,38,35,39,136,33,34,37,44,45,46,215,232,149,233,234,102,218]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./7ZsTr9xa.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,64,28,11,62,16,17,19,65,20,216,76,63,78,92,72,68,60,59,73,74,75,77,58,57,61,217,181,12,14,15,4,21,27,30,31,32,182,102,236,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,36,42,43,40,41,113,112,172,206,191,213,143,135,71,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,140,153,154,35,164,82,69,70,33,34,37,38,39,44,45,46,79,80,81,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./DPtj8tX0.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,75,22,23,24,25,26,76,63,77,64,28,62,65,20,78,58,122,12,21,27,29,30,31,32,158,81,51,178,84,87,68,60,59,179,180,130,92,72,73,74,57,61,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./CvZTDgJa.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,72,22,23,24,25,26,18,13,64,28,62,16,17,19,65,20,68,60,59,73,74,75,76,63,77,78,58,250,14,251,238,12,21,27,29,30,31,32,237,102,57,61,133,205,44,45,215,240,132,92,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,86,34,37,40,41,71,82,33,46,106,107,81,108,95,96,109,110,111,112,113,114,115,194,54,55,56,66,67,69,70,79,80,83,84,85,87,88,89,90,91,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./BuBXySe4.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,64,62,65,72,68,60,59,73,74,75,76,63,77,78,58,92,57,61,194,88,89,66,114,120,121,125,52,161,82,164,140,69,70,71,79,80,81,50,51,117,165,99,100,48,236,216,181,182,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./CU_-vK2M.js"),__vite__mapDeps([255,1,2,3,11,64,18,9,22,23,24,25,7,26,13,28,8,10,6,62,16,17,19,65,20,215,181,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,12,14,15,4,21,27,29,30,31,32,182,35,36,81,88,89,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,71,52,69,70,79,80,82,67,118,114,119,122,123,100,124,236,216,217,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./DlpH_aW2.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,64,28,62,16,17,19,65,20,264,68,60,59,199,77,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,61,57,58,63,92,72,73,74,75,76,78,216,217,181,182,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,71,240,241,242,243,244,109,110,111,245,246,224,225,226,227,228,256,257,117,258,164,140,82,69,70,79,80,81,50,51,165,136,265,123,266,234,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./DnKqeAaM.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,64,28,8,10,6,62,16,17,19,65,20,146,55,15,132,59,92,72,68,60,73,74,75,76,63,77,78,58,57,61,21,133,147,148,14,149,35,29,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,136,265,197,198,174,12,30,32,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./Cp9EK0r2.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,216,76,63,78,92,72,68,60,59,73,74,75,77,58,57,61,217,181,12,14,21,27,29,30,31,32,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./BCZTn_fp.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,271,29,160,259,260,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,21,133,147,148,14,4,149,35,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,120,121,106,30,48,49,107,12,32,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./TC7OsYhy.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,64,28,11,62,16,17,19,65,20,259,260,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,21,133,147,148,14,4,149,35,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,120,121,106,30,48,49,107,12,32,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./BWCYowXB.js"),__vite__mapDeps([275,1,2,3,4,11,62,241,24,59,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,92,64,28,6,65,20,72,68,60,73,74,75,76,63,77,78,58,57,61,21,133,147,148,14,149,35,29,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,215,136,265,197,198,174,12,30,32,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./C0Zo7HuP.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,59,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,64,62,65,76,63,77]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./CYSndAne.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./CPI5xBWX.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/CcgSaDDB.js","/app/immutable/chunks/YLhFQnIu.js","/app/immutable/chunks/3SdAC2_C.js","/app/immutable/chunks/YeOAvjnW.js","/app/immutable/chunks/CBbdbU2x.js","/app/immutable/chunks/Blt813S0.js","/app/immutable/chunks/oBIu7LTI.js","/app/immutable/chunks/CrpUtGFn.js","/app/immutable/chunks/BQhBnAuP.js","/app/immutable/chunks/CIyUrgF0.js","/app/immutable/assets/spinner.D_TRo5Hy.css","/app/immutable/chunks/DwGyIIXK.js","/app/immutable/chunks/CZB2ndi9.js","/app/immutable/chunks/Bqd7fdCF.js","/app/immutable/chunks/Cw2fqKk9.js","/app/immutable/chunks/Dn334wJv.js","/app/immutable/chunks/DJivXy66.js","/app/immutable/chunks/CTowDLQa.js","/app/immutable/chunks/uXuxG9cN.js","/app/immutable/assets/button.-yaUNjRS.css","/app/immutable/chunks/DIEHuZ8f.js","/app/immutable/chunks/D48_y-cl.js","/app/immutable/chunks/D5wnbxHp.js","/app/immutable/chunks/Dms_DO28.js","/app/immutable/chunks/ChTqQfQN.js","/app/immutable/chunks/BUsnh1ZW.js","/app/immutable/chunks/DxwfiAWm.js","/app/immutable/chunks/D9tVylVS.js","/app/immutable/chunks/gwv5JQYH.js","/app/immutable/chunks/FLpsgWeB.js","/app/immutable/chunks/DU3vNstz.js","/app/immutable/chunks/XJv96NUg.js","/app/immutable/assets/notify.B1j5oT2y.css","/app/immutable/chunks/ItBm4ElA.js","/app/immutable/chunks/Bstq-Mm1.js","/app/immutable/chunks/DkERMj5B.js","/app/immutable/chunks/kvtKUeBe.js","/app/immutable/chunks/DRLJuUwT.js","/app/immutable/chunks/CIWQMI37.js","/app/immutable/assets/menu-footer.Ck5GCpgU.css","/app/immutable/chunks/WvHbj6rB.js","/app/immutable/assets/dialog.BtQTVchw.css","/app/immutable/chunks/KtEuoG00.js","/app/immutable/assets/confirm.UE5obH5A.css","/app/immutable/chunks/Bj4IsLvN.js","/app/immutable/chunks/CGdXewiA.js","/app/immutable/chunks/D2kIeaeO.js","/app/immutable/chunks/DwiE5WsI.js","/app/immutable/chunks/BjLb7AHW.js","/app/immutable/chunks/CIlqcFRn.js","/app/immutable/chunks/DAsc1V4f.js","/app/immutable/chunks/BsieX9dN.js","/app/immutable/chunks/UsbmbYa0.js","/app/immutable/assets/SettingsPage.CKvEnOAL.css","/app/immutable/chunks/D1R1FWjP.js","/app/immutable/chunks/goTpbPhD.js","/app/immutable/chunks/CxMr7p-O.js","/app/immutable/chunks/0Kw0mmSW.js","/app/immutable/chunks/B5aYN90J.js","/app/immutable/chunks/BdWqymET.js","/app/immutable/chunks/BBWuirRW.js","/app/immutable/chunks/DONrLvvt.js","/app/immutable/chunks/DypB-Dwi.js","/app/immutable/chunks/Bq7euxCs.js","/app/immutable/chunks/BJbm_MWC.js","/app/immutable/chunks/_3Ca9E4W.js","/app/immutable/chunks/D-62MVd3.js","/app/immutable/chunks/CG28d89U.js","/app/immutable/chunks/CL3a4Hm1.js","/app/immutable/chunks/T-5C1GqS.js","/app/immutable/chunks/CMiilI_P.js","/app/immutable/chunks/CC7to1B5.js","/app/immutable/chunks/D-aEx3GL.js","/app/immutable/chunks/DQ8CqY9L.js","/app/immutable/chunks/DKwAaLwd.js","/app/immutable/chunks/mUNs8NSR.js","/app/immutable/chunks/L3K71tUU.js","/app/immutable/chunks/COVS9Crf.js","/app/immutable/chunks/Idk978zJ.js","/app/immutable/chunks/DtkIwON_.js","/app/immutable/assets/slider.kL-wkHnx.css","/app/immutable/chunks/CmhKJ6Ie.js","/app/immutable/chunks/BK0IkwFP.js","/app/immutable/chunks/DLttsd3i.js","/app/immutable/chunks/CQcEqK4G.js","/app/immutable/chunks/BOyRg328.js","/app/immutable/chunks/DPG1HUgG.js","/app/immutable/chunks/BfQFKWzJ.js","/app/immutable/chunks/CrL2Nk6a.js","/app/immutable/chunks/BNDTLRE1.js","/app/immutable/assets/DockScreenshotEditorWindow.DNkBhnHK.css","/app/immutable/assets/dock-tokens.C3wiNkmL.css","/app/immutable/chunks/ByBw1QkA.js","/app/immutable/chunks/CHApvLbz.js","/app/immutable/chunks/BoZ2kJyE.js","/app/immutable/chunks/B7esq_NU.js","/app/immutable/assets/select-viewport.CV-KWLNP.css","/app/immutable/chunks/CisSEUth.js","/app/immutable/chunks/Ci75CkmK.js","/app/immutable/chunks/BpXDXz8J.js","/app/immutable/chunks/B9BALnhr.js","/app/immutable/chunks/BzW_moTi.js","/app/immutable/chunks/CwCTYQp7.js","/app/immutable/chunks/DNZCPKpq.js","/app/immutable/chunks/DkJYBjJg.js","/app/immutable/chunks/AXzVloaq.js","/app/immutable/chunks/Jk9a4xPx.js","/app/immutable/assets/checkbox.D429NJZk.css","/app/immutable/chunks/B1TtNV9x.js","/app/immutable/chunks/CACH34FC.js","/app/immutable/chunks/CrvtnK13.js","/app/immutable/chunks/DUFN_Pzm.js","/app/immutable/chunks/B0Z-1lwJ.js","/app/immutable/chunks/BlAMrm5X.js","/app/immutable/chunks/CV5qbjYN.js","/app/immutable/assets/directory-picker-service.Eai7L_H2.css","/app/immutable/chunks/CTVz-pXS.js","/app/immutable/chunks/B0RPkrmZ.js","/app/immutable/chunks/Chg0KuUy.js","/app/immutable/chunks/CfaCrhAh.js","/app/immutable/chunks/DPjr22dV.js","/app/immutable/assets/AgentAvatar.CZKKHyEm.css","/app/immutable/assets/avatar-state.BzFIexJN.css","/app/immutable/chunks/Hi2H4bj8.js","/app/immutable/assets/TipTapEditor.BmeA7Qtk.css","/app/immutable/chunks/DEQDOTA1.js","/app/immutable/chunks/scTXKJzg.js","/app/immutable/chunks/D3waRWO1.js","/app/immutable/assets/image-context-items.D_hsaikk.css","/app/immutable/chunks/B9GWGWit.js","/app/immutable/chunks/DPmNtGFj.js","/app/immutable/assets/AttachmentPreview.DWUPhcKi.css","/app/immutable/chunks/Bmm_g7di.js","/app/immutable/chunks/DlfbUU6o.js","/app/immutable/chunks/ClQE9kQf.js","/app/immutable/chunks/Bu13V5mO.js","/app/immutable/chunks/Lk7a_7W9.js","/app/immutable/chunks/XK8g38bo.js","/app/immutable/chunks/Bbae4OrB.js","/app/immutable/chunks/DxSE2XEK.js","/app/immutable/chunks/BKD7o1lQ.js","/app/immutable/assets/TaskStatusIcon.sfU2TZ7a.css","/app/immutable/chunks/DWqaYE81.js","/app/immutable/chunks/Co9CFvqw.js","/app/immutable/chunks/Dd3UnPYB.js","/app/immutable/assets/AgentCard.Cna0hri3.css","/app/immutable/chunks/9fNNDfgo.js","/app/immutable/chunks/DEB8jcix.js","/app/immutable/chunks/lwn02icp.js","/app/immutable/chunks/CfIVswBm.js","/app/immutable/assets/TrackedChangeDiffViewer.CveSjyPc.css","/app/immutable/chunks/BIfjK4Wy.js","/app/immutable/chunks/Y2a1lhL9.js","/app/immutable/chunks/CcNhqKh5.js","/app/immutable/assets/syntax-highlighting.CrQGLq0X.css","/app/immutable/assets/CodeBlock.BezhEtUo.css","/app/immutable/chunks/B6-aVrNf.js","/app/immutable/chunks/BbIcudMY.js","/app/immutable/chunks/DezlVQ1h.js","/app/immutable/assets/DiagramPresentation.C2GLYoBN.css","/app/immutable/chunks/CeeeYtIE.js","/app/immutable/chunks/B79iAtSu.js","/app/immutable/chunks/DgAgTFcK.js","/app/immutable/chunks/C-BsEdGZ.js","/app/immutable/chunks/CY4ZK6xA.js","/app/immutable/assets/MarkdownViewer.D2MexjjT.css","/app/immutable/chunks/oHUzFHtp.js","/app/immutable/chunks/Bsdq-idi.js","/app/immutable/chunks/CoAfXTHr.js","/app/immutable/chunks/CbQYR4R2.js","/app/immutable/assets/workspace-key-menu.DrT-Fxqq.css","/app/immutable/chunks/A0p6PvBn.js","/app/immutable/chunks/YqTahsxp.js","/app/immutable/chunks/RTRAqswA.js","/app/immutable/chunks/BLhJfI63.js","/app/immutable/chunks/CqGq5PHb.js","/app/immutable/assets/StreamingDiagramRenderer.BShsSvPz.css","/app/immutable/assets/chat-search.Cjb73igJ.css","/app/immutable/chunks/CCzan1r_.js","/app/immutable/chunks/HLNbJ-7M.js","/app/immutable/chunks/D7AX9X0W.js","/app/immutable/chunks/cpPIph2M.js","/app/immutable/chunks/D4WPlvMg.js","/app/immutable/chunks/CbQ8NVeY.js","/app/immutable/chunks/6uD0LviT.js","/app/immutable/chunks/BH3eRhvI.js","/app/immutable/chunks/CULu7FSf.js","/app/immutable/chunks/BaOiWDrc.js","/app/immutable/assets/AgentAvatarStack.DOhClFuX.css","/app/immutable/chunks/DgtVALrr.js","/app/immutable/assets/conversation-turns.P_pkAsRX.css","/app/immutable/chunks/VcnbZvDh.js","/app/immutable/chunks/BvjgIPau.js","/app/immutable/chunks/BtchneSc.js","/app/immutable/chunks/6NStP9u7.js","/app/immutable/chunks/BRRnx9NG.js","/app/immutable/chunks/D_AhXAPc.js","/app/immutable/chunks/DmWvRjk6.js","/app/immutable/chunks/CrwLq8nY.js","/app/immutable/chunks/H2jLkRRS.js","/app/immutable/chunks/xPYDsdm4.js","/app/immutable/assets/WorkspaceSetupCard.DNLkSKZg.css","/app/immutable/chunks/BLMhg4vm.js","/app/immutable/chunks/DL6gGkHp.js","/app/immutable/assets/DockRecordingEditor.BX1NXczK.css","/app/immutable/chunks/CggFXl4B.js","/app/immutable/chunks/zxxqPN9_.js","/app/immutable/chunks/CtDIyzmZ.js","/app/immutable/assets/ChatPanel.B73KM22O.css","/app/immutable/assets/HomeWorkspaceDetail.Dp5EWw2P.css","/app/immutable/chunks/BPscmH6M.js","/app/immutable/chunks/DxnZvDv0.js","/app/immutable/chunks/CQ409-Pj.js","/app/immutable/chunks/Mmc_61iE.js","/app/immutable/chunks/CXXVPWBH.js","/app/immutable/chunks/DWGXN6Nr.js","/app/immutable/chunks/CAiDxi6i.js","/app/immutable/chunks/iAKTK0Nq.js","/app/immutable/chunks/DLO_0egf.js","/app/immutable/assets/BrowserTabType.DojB6H-_.css","/app/immutable/chunks/GTsIF2uA.js","/app/immutable/chunks/DaMlaKH_.js","/app/immutable/chunks/D3yXvqwY.js","/app/immutable/chunks/CKcb8dge.js","/app/immutable/chunks/B-bGycam.js","/app/immutable/chunks/lZ7zkdkp.js","/app/immutable/chunks/BQ8hOnRo.js","/app/immutable/chunks/BpwKnO7b.js","/app/immutable/assets/register.CUyDR59i.css","/app/immutable/assets/terminal-manager.MhP_vFvK.css","/app/immutable/chunks/DuoQQplG.js","/app/immutable/assets/confirm-script-deletion.CqNa5NIC.css","/app/immutable/chunks/D_5u7gP_.js","/app/immutable/assets/Terminal.Ddek5eNE.css","/app/immutable/chunks/DP0K41jk.js","/app/immutable/chunks/BlJAndP6.js","/app/immutable/chunks/qm1BBGRe.js","/app/immutable/chunks/CzjElr82.js","/app/immutable/chunks/C4t02ICg.js","/app/immutable/chunks/D49zWKPf.js","/app/immutable/chunks/gJJMUdOI.js","/app/immutable/chunks/CSiaiLHL.js","/app/immutable/chunks/BoUQWR1c.js","/app/immutable/chunks/B_QPRXJ5.js","/app/immutable/chunks/j5ppcWWU.js","/app/immutable/chunks/BIv0yV05.js","/app/immutable/chunks/BO4HougN.js","/app/immutable/chunks/B3QTKmHy.js","/app/immutable/assets/AgentOverviewTabType.DU1WpoFR.css","/app/immutable/chunks/BuTcdZo7.js","/app/immutable/chunks/CY2g-8Xo.js","/app/immutable/chunks/DU1ubslo.js","/app/immutable/chunks/aR8LYT4O.js","/app/immutable/chunks/DkOk28fz.js","/app/immutable/assets/DiscussionTabType.D3Laoutn.css","/app/immutable/chunks/Dm98YBgx.js","/app/immutable/chunks/DmpdpJAo.js","/app/immutable/chunks/C2zt__Wj.js","/app/immutable/assets/CodeEditor.Bq04Rj-N.css","/app/immutable/chunks/cEIzYo-d.js","/app/immutable/assets/LineChangesBadge.CJ0J_Z0k.css","/app/immutable/chunks/tVmNccZ-.js","/app/immutable/assets/NoteTabType.AG_iwaNn.css","/app/immutable/chunks/DGK5CsQK.js","/app/immutable/chunks/wEnqV1Ol.js","/app/immutable/chunks/DMV5KQix.js","/app/immutable/chunks/R5lmOJFS.js","/app/immutable/assets/FileTabType.BUKcoHE1.css","/app/immutable/chunks/BcrN1yjB.js","/app/immutable/chunks/-2rOENSl.js","/app/immutable/chunks/rlNXEIUc.js","/app/immutable/chunks/C07_BcWL.js","/app/immutable/assets/ChatChangesPanel.BQqG1JnE.css","/app/immutable/chunks/BkcO6l5G.js","/app/immutable/chunks/BAAQt1ZW.js","/app/immutable/chunks/DNnmVx8j.js","/app/immutable/chunks/D25lWS8Q.js","/app/immutable/chunks/D1YPh_5n.js","/app/immutable/chunks/BSt1DBgt.js","/app/immutable/chunks/BZ9svoQk.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{bm as e,_ as c,t as Te,bo as ie,bw as he,b as ke}from"./YLhFQnIu.js";import{t as u}from"./x2AHvZeQ.js";import{bD as ue,bv as Ve,cK as Ne,aO as $e,cn as Me,aV as ge,bg as Ke,aN as Be,aM as Ge,bs as He,bL as qe,b_ as Fe,bJ as je,F as Ue}from"./gwv5JQYH.js";import{R as H}from"./BP-cDE7g.js";import{bs as we,ca as Q,bH as v,aD as t,bV as K,br as ze,a7 as q,ay as M,W as p,bn as Le,c9 as b,aA as ne,a5 as X,bA as Z,bS as ye,aw as Ye,aB as W,be as F,b$ as x,b_ as I,bO as E,bl as Je,bk as Qe}from"./3SdAC2_C.js";import{i as D}from"./YeOAvjnW.js";import{s as fe}from"./BQhBnAuP.js";import{L as me}from"./D3waRWO1.js";import{C as Xe,L as be}from"./ItBm4ElA.js";import{I as Ze}from"./DkERMj5B.js";import"./kvtKUeBe.js";import"./KtEuoG00.js";import{f as le}from"./Cw2fqKk9.js";import{v as Ie}from"./DJivXy66.js";import"./WvHbj6rB.js";import"./CrpUtGFn.js";import{I as ve}from"./oBIu7LTI.js";import{I as et}from"./Bqd7fdCF.js";import"./CTowDLQa.js";import{a as tt}from"./BdWqymET.js";function xt(){u.register({type:"workspace",loadComponent:()=>c(()=>import("./CcgSaDDB.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209]),import.meta.url),defaultWidthTier:"wide",icon:ue,get defaultTitle(){return e.workspace_page_workspaceResource_label()},get categoryLabel(){return e.workspace_page_workspaceResource_label()},renameable:!1}),u.register({type:"browser",loadComponent:()=>c(()=>import("./BPscmH6M.js"),__vite__mapDeps([210,1,2,3,11,6,7,8,9,10,15,211,22,23,24,25,26,18,13,4,71,14,16,17,19,12,20,21,27,28,29,30,31,32,45,33,34,35,36,37,38,39,40,41,42,43,44,46,58,72,64,62,65,68,60,59,73,74,75,76,63,77,78,181,92,57,61,182,212,123,213,125,52,136,86,214,99,100,215,109,110,111,112,113,216,217,102,218,219]),import.meta.url),defaultWidthTier:"wide",icon:Ve,get defaultTitle(){return e.layout_tabTypes_browser_title()},get categoryLabel(){return e.layout_tabTypes_browser_category()},sidebarTabId:"browser",renameable:!1}),u.register({type:"terminal",loadComponent:()=>c(()=>import("./GTsIF2uA.js"),__vite__mapDeps([220,1,2,3,4,11,28,7,8,9,10,6,64,18,22,23,24,25,26,13,62,16,17,19,65,20,221,15,222,223,59,60,57,58,61,63,224,225,226,227,228,112,212,191,229,14,12,21,27,29,30,31,32,213,230,72,68,73,74,75,76,77,78,36,42,43,40,41,217,231,38,35,39,136,33,34,37,44,45,46,215,232,149,233,234,102,218]),import.meta.url),defaultWidthTier:"medium",icon:Ne,get defaultTitle(){return e.layout_tabTypes_terminal_title()},get categoryLabel(){return e.layout_tabTypes_terminal_category()},sidebarTabId:"terminals",renameable:!1}),u.register({type:"code-review",loadComponent:()=>c(()=>import("./BlJAndP6.js"),__vite__mapDeps([235,1,2,22,23,24,25,9,7,26,18,13,3,29,6,8,10,64,28,11,62,16,17,19,65,20,216,76,63,78,92,72,68,60,59,73,74,75,77,58,57,61,217,181,12,14,15,4,21,27,30,31,32,182,102,236,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,36,42,43,40,41,113,112,172,206,191,213,143,135,71,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,140,153,154,35,164,82,69,70,33,34,37,38,39,44,45,46,79,80,81,50,51,117,165,125,52]),import.meta.url),defaultWidthTier:"wide",icon:$e,get defaultTitle(){return e.layout_tabTypes_codeReview_title()},get categoryLabel(){return e.layout_tabTypes_codeReview_category()},renameable:!1}),u.register({type:"agent-overview",loadComponent:()=>c(()=>import("./B3QTKmHy.js"),__vite__mapDeps([247,1,2,3,6,7,8,9,10,15,14,16,13,17,18,19,11,4,119,120,121,75,22,23,24,25,26,76,63,77,64,28,62,65,20,78,58,122,12,21,27,29,30,31,32,158,81,51,178,84,87,68,60,59,179,180,130,92,72,73,74,57,61,132,133,142,109,110,111,112,113,248]),import.meta.url),defaultWidthTier:"narrow",icon:Me,get defaultTitle(){return e.layout_tabTypes_agentOverview_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},renameable:!1}),u.register({type:"agent",loadComponent:()=>c(()=>import("./BuTcdZo7.js"),__vite__mapDeps([249,1,2,3,4,6,7,8,9,10,11,15,72,22,23,24,25,26,18,13,64,28,62,16,17,19,65,20,68,60,59,73,74,75,76,63,77,78,58,250,14,251,238,12,21,27,29,30,31,32,237,102,57,61,133,205,44,45,215,240,132,92,241,103,35,36,47,48,49,42,43,50,51,52,53,104,38,39,105,86,34,37,40,41,71,82,33,46,106,107,108,95,96,81,109,110,111,112,113,114,115,194,54,55,56,66,67,69,70,79,80,83,84,85,87,88,89,90,91,93,94,97,98,99,100,101,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,195,196,197,198,199,200,201,202,203,204,206,207,208,217,216]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.layout_tabTypes_agent_title()},get categoryLabel(){return e.layout_tabTypes_agents_category()},sidebarTabId:"agents",renameable:!0}),u.register({type:"discussion",loadComponent:()=>c(()=>import("./aR8LYT4O.js"),__vite__mapDeps([252,1,2,3,4,11,8,9,7,10,16,13,17,18,19,38,6,29,35,15,36,14,39,33,34,37,27,40,41,28,42,31,43,44,45,46,21,22,23,24,25,26,217,12,20,30,32,64,62,65,72,68,60,59,73,74,75,76,63,77,78,58,92,57,61,194,88,89,66,114,120,121,125,52,161,82,164,140,69,70,71,79,80,81,50,51,117,165,99,100,48,236,216,181,182,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,129,131,253,98,94,95,49,96,97,118,215,254]),import.meta.url),defaultWidthTier:"chat",icon:ge,get defaultTitle(){return e.workspace_discussion_title()},get categoryLabel(){return e.workspace_discussion_list_label()},sidebarTabId:"people",renameable:!1}),u.register({type:"note",loadComponent:()=>c(()=>import("./Dm98YBgx.js"),__vite__mapDeps([255,1,2,3,11,64,18,9,22,23,24,25,7,26,13,28,8,10,6,62,16,17,19,65,20,215,181,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,12,14,15,4,21,27,29,30,31,32,182,35,36,81,88,89,50,51,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,138,139,140,141,116,71,52,69,70,79,80,82,67,118,114,119,122,123,100,124,236,216,217,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,240,241,242,243,244,199,151,109,110,111,245,246,224,225,226,227,228,146,55,147,148,149,150,256,257,258,108,95,49,96,163,195,259,260,153,154,106,48,107,261,156,157,158,159,152,155,162,184,192,136,197,198,174,164,165,262]),import.meta.url),defaultWidthTier:"medium",icon:H.note,get defaultTitle(){return e.layout_tabTypes_note_title()},get categoryLabel(){return e.layout_tabTypes_context_category()},sidebarTabId:"notes",renameable:!0}),u.register({type:"file",loadComponent:()=>c(()=>import("./DGK5CsQK.js"),__vite__mapDeps([263,1,2,3,4,6,7,8,9,10,11,15,22,23,24,25,26,18,13,215,151,64,28,62,16,17,19,65,20,264,68,60,59,199,77,12,14,21,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,236,61,57,58,63,92,72,73,74,75,76,78,216,217,181,182,102,237,178,84,87,179,180,130,132,133,142,230,167,238,218,239,113,112,172,206,191,213,143,135,71,240,241,242,243,244,109,110,111,245,246,224,225,226,227,228,256,257,117,258,164,140,82,69,70,79,80,81,50,51,165,136,265,123,266,234,267]),import.meta.url),defaultWidthTier:"wide",icon:Ke,get defaultTitle(){return e.layout_tabTypes_file_title()},get categoryLabel(){return e.layout_tabTypes_files_category()},sidebarTabId:"files",renameable:!0}),u.register({type:"diff",loadComponent:()=>c(()=>import("./BcrN1yjB.js"),__vite__mapDeps([268,1,2,3,4,11,163,22,23,24,25,9,7,26,18,13,215,64,28,8,10,6,62,16,17,19,65,20,146,55,15,132,59,92,72,68,60,73,74,75,76,63,77,78,58,57,61,21,133,147,148,14,149,35,29,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,136,265,197,198,174,12,30,32,199,121]),import.meta.url),defaultWidthTier:"wide",icon:Be,get defaultTitle(){return e.layout_tabTypes_diff_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"files",renameable:!1}),u.register({type:"changes",loadComponent:()=>c(()=>import("./rlNXEIUc.js"),__vite__mapDeps([270,1,2,4,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,216,76,63,78,92,72,68,60,59,73,74,75,77,58,57,61,217,181,12,14,21,27,29,30,31,32,182,102,271,160,259,260,146,55,132,133,147,148,149,35,36,150,269,151,33,34,37,38,39,40,41,42,43,44,45,46,117,120,121,106,48,49,107,134,135,71,126,143,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_changes_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"local-changes",loadComponent:()=>c(()=>import("./BkcO6l5G.js"),__vite__mapDeps([273,1,2,15,22,23,24,25,9,7,26,18,13,163,215,64,28,11,3,8,10,6,62,16,17,19,65,20,271,29,160,259,260,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,21,133,147,148,14,4,149,35,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,120,121,106,30,48,49,107,12,32,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272,265]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_localChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},sidebarTabId:"changes",renameable:!1}),u.register({type:"chat-changes",loadComponent:()=>c(()=>import("./BAAQt1ZW.js"),__vite__mapDeps([274,1,2,3,271,6,7,8,9,10,29,15,22,23,24,25,26,18,13,160,64,28,11,62,16,17,19,65,20,259,260,92,72,68,60,59,73,74,75,76,63,77,78,58,57,61,146,55,132,21,133,147,148,14,4,149,35,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,120,121,106,30,48,49,107,12,32,134,135,71,126,143,181,182,216,217,102,178,84,87,179,180,130,142,236,237,230,167,238,218,239,113,112,172,206,191,213,240,241,242,243,244,199,109,110,111,245,246,224,225,226,227,228,272]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_chatChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"activity-changes",loadComponent:()=>c(()=>import("./DNnmVx8j.js"),__vite__mapDeps([275,1,2,3,4,11,62,241,24,59,146,8,9,7,10,55,15,132,16,13,17,18,19,22,23,25,26,92,64,28,6,65,20,72,68,60,73,74,75,76,63,77,78,58,57,61,21,133,147,148,14,149,35,29,36,150,269,151,33,34,37,27,38,39,40,41,42,31,43,44,45,46,117,215,136,265,197,198,174,12,30,32,199,121]),import.meta.url),defaultWidthTier:"wide",icon:H.changes,get defaultTitle(){return e.layout_tabTypes_activityChanges_title()},get categoryLabel(){return e.layout_tabTypes_changes_category()},renameable:!1}),u.register({type:"hook-script",loadComponent:()=>c(()=>import("./D25lWS8Q.js"),__vite__mapDeps([276,1,2,3,152,6,7,8,9,10,140,153,59,154,12,13,14,15,16,17,18,19,11,4,20,21,22,23,24,25,26,27,28,29,30,31,32,155,167,64,62,65,76,63,77]),import.meta.url),defaultWidthTier:"medium",icon:Ge,get defaultTitle(){return e.chat_backgroundHooks_viewScript_label()},get categoryLabel(){return e.layout_tabTypes_panel_category()},renameable:!1}),u.register({type:"settings",loadComponent:()=>c(()=>import("./D1YPh_5n.js"),__vite__mapDeps([277,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:He,get defaultTitle(){return e.layout_tabTypes_settings_title()},get categoryLabel(){return e.layout_tabTypes_settings_category()},renameable:!1}),u.register({type:"overview",loadComponent:()=>c(()=>import("./BSt1DBgt.js"),__vite__mapDeps([278,1,2]),import.meta.url),defaultWidthTier:"narrow",icon:ue,get defaultTitle(){return e.layout_tabTypes_overview_title()},get categoryLabel(){return e.layout_tabTypes_overview_category()},renameable:!1})}async function Wt(y){if(y?.restoreStatus!=="restored")return;const _=new Set(Object.values(y.panels).flatMap(r=>{const k=r.tabs.find(l=>l.id===r.activeTabId);return k?[k.type]:[]}));await Promise.allSettled([..._].map(r=>u.loadComponent(r)))}var at=W("<!> <!>",1),rt=W('<img class="h-auto w-full max-w-64 rounded-lg" width="512" height="512"/>'),ot=W('<div class="flex aspect-square w-full max-w-64 items-center justify-center"><!></div>'),st=W('<div class="flex justify-center" data-testid="passkey-qr"><!></div>'),it=W('<div class="flex justify-center py-4 text-muted-foreground"><!></div>'),nt=W('<p class="type-caption text-muted-foreground" data-testid="passkey-pin-advice"> </p>'),lt=W('<form id="passkey-pin-form" class="flex flex-col gap-3"><!> <!></form>');function Pe(y,_){if(new.target)return Te({component:Pe,...y});we(_,!0);let r=ie(_,"payload",7),k=ie(_,"static",7,!1),l=ie(_,"onRespond",7),f=K(!1),A=K(""),U=K("");const a=b(()=>r()?.view??null);Q(()=>{v(f,r()!==null)}),Q(()=>{t(a)?.step!=="pin"&&v(A,"")});let z=K(0),Y=K(ze(Date.now()));Q(()=>{const i=t(a)?.step==="pin"&&t(a).kind==="device"?t(a).retryAfterMs:void 0;if(typeof i!="number"){v(z,0);return}const T=Date.now();v(Y,T,!0),v(z,T+i);const w=setInterval(()=>{v(Y,Date.now(),!0),t(Y)>=t(z)&&clearInterval(w)},250);return()=>clearInterval(w)});const ee=b(()=>Math.max(0,Math.ceil((t(z)-t(Y))/1e3))),_e=b(()=>t(a)?.step==="pin"&&(t(a).kind==="device"?t(ee)>0:typeof t(a).retryAfterMs=="number"));Q(()=>{const i=t(a)?.step==="qr"?t(a).data:"";if(!i){v(U,"");return}let T=!0;return c(async()=>{const{default:w}=await import("./BZ9svoQk.js").then(C=>C.b);return{default:w}},__vite__mapDeps([279,59]),import.meta.url).then(({default:w})=>w.toDataURL(i,{width:512,margin:2})).then(w=>{T&&v(U,w,!0)}),()=>{T=!1}});const Ee=b(()=>r()?r().kind==="create"?e.passkeys_dialog_createTitle_label({site:r().rpId}):e.passkeys_dialog_getTitle_label({site:r().rpId}):"");function De(i){switch(i){case"bluetooth-off":return e.passkeys_dialog_bluetoothOff_error();case"bluetooth-missing":return e.passkeys_dialog_bluetoothMissing_error();case"pin-locked":return e.passkeys_dialog_pinLocked_error();case"timeout":return e.passkeys_dialog_timeout_error();case"already-registered":return e.passkeys_dialog_alreadyRegistered_error();case"unavailable":return e.passkeys_dialog_unavailable_error();case"device-locked":return e.passkeys_dialog_deviceLocked_error();case"device-already-registered":return e.passkeys_dialog_deviceAlreadyRegistered_error();case"device-no-passkey":return e.passkeys_dialog_deviceNoPasskey_error({site:r()?.rpId??""});case"device-old-pin-wrong":return e.passkeys_dialog_deviceOldPinWrong_error();case"device-failed":return e.passkeys_dialog_deviceFailed_error();default:return e.passkeys_dialog_failed_error()}}const Ae=b(()=>{if(!(!t(a)||!r()))switch(t(a).step){case"choose-transport":return r().kind==="create"?e.passkeys_dialog_chooseCreate_description():e.passkeys_dialog_chooseGet_description();case"qr":case"progress":switch(t(a).progress){case"waiting-for-phone":return e.passkeys_dialog_waitingForPhone_description();case"connecting":return e.passkeys_dialog_connecting_description();case"waiting-for-approval":return e.passkeys_dialog_waitingForApproval_description();case"touch-key":return e.passkeys_dialog_touchKey_description();case"processing":return e.passkeys_dialog_processing_description();default:return t(a).step==="progress"&&t(a).transport==="usb"?e.passkeys_dialog_insertKey_description():e.passkeys_dialog_starting_description()}case"pin":return t(a).kind==="usb"?e.passkeys_dialog_pin_description():t(a).oldPin?e.passkeys_dialog_deviceOldPin_description():e.passkeys_dialog_devicePin_description();case"choose-account":return e.passkeys_dialog_chooseAccount_description();case"error":return De(t(a).reason)}}),de=b(()=>t(a)?.step==="pin"&&t(a).kind==="device"?t(a).oldPin?e.passkeys_dialog_deviceOldPin_label():e.passkeys_dialog_devicePin_label():e.passkeys_dialog_pin_label()),Ce=b(()=>{if(t(a)?.step==="pin"){if(t(a).kind==="device"){if(t(ee)>0)return e.passkeys_dialog_devicePinWait_error({seconds:t(ee)})}else if(typeof t(a).retryAfterMs=="number")return e.passkeys_dialog_pinRetryAfter_error();if(t(a).wrongPin)return typeof t(a).attemptsLeft=="number"?t(a).attemptsLeft===1?e.passkeys_dialog_wrongPinAttempts_one({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPinAttempts_many({count:t(a).attemptsLeft}):e.passkeys_dialog_wrongPin_error()}}),Oe=b(()=>{if(t(a)?.step!=="choose-transport")return[];const i=t(a).hybrid==="bluetooth-off"?e.passkeys_dialog_bluetoothOff_description():t(a).hybrid==="bluetooth-missing"?e.passkeys_dialog_bluetoothMissing_description():void 0;return[...t(a).device?[{id:"device",label:e.passkeys_dialog_thisDevice_label(),note:void 0,icon:qe}]:[],{id:"hybrid",label:e.passkeys_dialog_phone_label(),note:i,icon:Fe},{id:"usb",label:e.passkeys_dialog_securityKey_label(),note:void 0,icon:je}]});function te(){l()({action:"cancel"})}function Re(i){if(i.preventDefault(),!t(A))return;const T=t(A);v(A,""),l()({action:"pin",pin:T})}var xe={get payload(){return r()},set payload(i){r(i),ne()},get static(){return k()},set static(i=!1){k(i),ne()},get onRespond(){return l()},set onRespond(i){l(i),ne()},$set:he,$on:(i,T)=>ke(_,i,T)},pe=q(),We=M(pe);{var Se=i=>{{const T=C=>{var ae=q(),J=M(ae);{var re=P=>{le(P,{variant:"secondary",onclick:te,children:(S,B)=>{F();var V=x();I(d=>E(V,d),[()=>e.passkeys_dialog_close_label()]),p(S,V)},$$slots:{default:!0}})},oe=P=>{var S=at(),B=M(S);le(B,{variant:"ghost",onclick:te,children:(n,m)=>{F();var s=x();I(L=>E(s,L),[()=>e.passkeys_dialog_cancel_label()]),p(n,s)},$$slots:{default:!0}});var V=ye(B,2);{var d=n=>{{let m=b(()=>!t(A)||t(_e));le(n,{variant:"primary",type:"submit",form:"passkey-pin-form",get disabled(){return t(m)},children:(s,L)=>{F();var o=x();I(g=>E(o,g),[()=>e.passkeys_dialog_continue_label()]),p(s,o)},$$slots:{default:!0}})}};D(V,n=>{t(a).step==="pin"&&n(d)})}p(P,S)};D(J,P=>{t(a).step==="error"?P(re):P(oe,-1)})}p(C,ae)};let w=b(()=>t(a).step==="error"?e.passkeys_dialog_close_label():e.passkeys_dialog_cancel_label());Xe(i,{get static(){return k()},get title(){return t(Ee)},get description(){return t(Ae)},size:"sm",dismissOnInteractOutside:!1,get closeLabel(){return t(w)},onClose:te,get open(){return t(f)},set open(C){v(f,C,!0)},footer:T,children:(C,ae)=>{var J=q(),re=M(J);{var oe=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{leading:h=>{Ue(h,{get icon(){return o().icon},fw:!0})},title:h=>{F();var R=x();I(()=>E(R,o().label)),p(h,R)},description:h=>{var R=q(),se=M(R);{var G=$=>{var ce=x();I(()=>E(ce,o().note)),p($,ce)};D(se,$=>{o().note&&$(G)})}p(h,R)},$$slots:{leading:!0,title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_transports_ariaLabel());be(d,{get items(){return t(Oe)},getKey:s=>s.id,getText:s=>s.label,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"transport",transport:s.id}),row:n,$$slots:{row:!0}})}},P=d=>{var n=st(),m=X(n);{var s=o=>{var g=rt();I(O=>{fe(g,"src",t(U)),fe(g,"alt",O)},[()=>e.passkeys_dialog_qrImage_ariaLabel()]),p(o,g)},L=o=>{var g=ot(),O=X(g);ve(O,{size:20}),Z(g),p(o,g)};D(m,o=>{t(U)?o(s):o(L,-1)})}Z(n),p(d,n)},S=d=>{var n=it(),m=X(n);ve(m,{size:20}),Z(n),p(d,n)},B=d=>{var n=lt(),m=X(n);{let o=b(()=>t(a).kind==="device"?"numeric":void 0);Ze(m,{type:"password",get inputmode(){return t(o)},autocomplete:"off",get"aria-label"(){return t(de)},get placeholder(){return t(de)},get error(){return t(Ce)},get disabled(){return t(_e)},autofocus:!0,get value(){return t(A)},set value(g){v(A,g,!0)}})}var s=ye(m,2);{var L=o=>{var g=nt(),O=Je(g,!0);I(N=>E(O,N),[()=>e.passkeys_dialog_devicePinAdvice_description()]),p(o,g)};D(s,o=>{t(a).firstPasskey&&o(L)})}Z(n),Ye("submit",n,Re),p(d,n)},V=d=>{{const n=(s,L)=>{let o=()=>(L?.()).item;me(s,{title:N=>{F();var h=x();I(()=>E(h,o().userDisplayName||o().userName)),p(N,h)},description:N=>{var h=q(),R=M(h);{var se=G=>{var $=x();I(()=>E($,o().userName)),p(G,$)};D(R,G=>{o().userDisplayName&&o().userName&&G(se)})}p(N,h)},$$slots:{title:!0,description:!0}})};let m=b(()=>e.passkeys_dialog_accounts_ariaLabel());be(d,{get items(){return t(a).accounts},getKey:s=>s.index,getText:s=>s.userDisplayName||s.userName,get ariaLabel(){return t(m)},onActivate:s=>l()({action:"choose",index:s.index}),row:n,$$slots:{row:!0}})}};D(re,d=>{t(a).step==="choose-transport"?d(oe):t(a).step==="qr"?d(P,1):t(a).step==="progress"?d(S,2):t(a).step==="pin"?d(B,3):t(a).step==="choose-account"&&d(V,4)})}p(C,J)},$$slots:{footer:!0,default:!0}})}};D(We,i=>{r()&&t(a)&&i(Se)})}return p(y,pe),Le(xe)}const _t=new tt("PasskeyDialog"),j=et.PASSKEYS;function dt(y){const _=Ie();if(!_)return()=>{};const r=_.on(j.DIALOG_SHOW,l=>{const f=l;!f||typeof f.ceremonyId!="string"||!f.view||y.onShow(f)}),k=_.on(j.DIALOG_CLOSE,l=>{const f=l;f&&typeof f.ceremonyId=="string"&&y.onClose(f.ceremonyId)});return()=>{_.offById(j.DIALOG_SHOW,r),_.offById(j.DIALOG_CLOSE,k)}}function pt(y){const _=Ie();_&&_.invoke(j.DIALOG_RESPOND,y).catch(()=>{_t.warn("Passkey dialog response failed",{action:y.action})})}function ct(y,_){if(new.target)return Te({component:ct,...y});we(_,!0);let r=K(null);Qe(()=>dt({onShow:l=>{v(r,l,!0)},onClose:l=>{t(r)?.ceremonyId===l&&v(r,null)}}));var k={$set:he,$on:(l,f)=>ke(_,l,f)};return Pe(y,{get payload(){return t(r)},onRespond:l=>{t(r)&&pt({...l,ceremonyId:t(r).ceremonyId})}}),Le(k)}export{ct as P,Wt as p,xt as r};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{f as a,k as t}from"./
|
|
1
|
+
import{f as a,k as t}from"./CrpUtGFn.js";const{formatNumber:o,formatInteger:e,formatCompactNumber:m,formatCurrency:s,formatBytesBinary:f,formatRelativeTime:i,formatCompactRelativeTime:c,formatCompactDuration:n,formatSalientDuration:D,formatTime:l,formatDate:p,formatShortDate:u,formatDateTime:T,formatFullDateTime:y,formatDaySeparator:C,formatDistanceToNow:b,formatDatePattern:g}=a(t);export{n as a,m as b,c,s as d,p as e,f,g,T as h,C as i,b as j,y as k,e as l,o as m,i as n,D as o,u as p,l as q};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{l as e}from"./
|
|
1
|
+
import{l as e}from"./BpwKnO7b.js";const n={comments:{blockComment:["<!--","-->"]},brackets:[["<",">"]],autoClosingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],surroundingPairs:[{open:"<",close:">"},{open:"'",close:"'"},{open:'"',close:'"'}],onEnterRules:[{beforeText:new RegExp("<([_:\\w][_:\\w-.\\d]*)([^/>]*(?!/)>)[^<]*$","i"),afterText:/^<\/([_:\w][_:\w-.\d]*)\s*>$/i,action:{indentAction:e.IndentAction.IndentOutdent}},{beforeText:new RegExp("<(\\w[\\w\\d]*)([^/>]*(?!/)>)[^<]*$","i"),action:{indentAction:e.IndentAction.Indent}}]},o={defaultToken:"",tokenPostfix:".xml",ignoreCase:!0,qualifiedName:/(?:[\w\.\-]+:)?[\w\.\-]+/,tokenizer:{root:[[/[^<&]+/,""],{include:"@whitespace"},[/(<)(@qualifiedName)/,[{token:"delimiter"},{token:"tag",next:"@tag"}]],[/(<\/)(@qualifiedName)(\s*)(>)/,[{token:"delimiter"},{token:"tag"},"",{token:"delimiter"}]],[/(<\?)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/(<\!)(@qualifiedName)/,[{token:"delimiter"},{token:"metatag",next:"@tag"}]],[/<\!\[CDATA\[/,{token:"delimiter.cdata",next:"@cdata"}],[/&\w+;/,"string.escape"]],cdata:[[/[^\]]+/,""],[/\]\]>/,{token:"delimiter.cdata",next:"@pop"}],[/\]/,""]],tag:[[/[ \t\r\n]+/,""],[/(@qualifiedName)(\s*=\s*)("[^"]*"|'[^']*')/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">?\/]*|'[^'>?\/]*)(?=[\?\/]\>)/,["attribute.name","","attribute.value"]],[/(@qualifiedName)(\s*=\s*)("[^">]*|'[^'>]*)/,["attribute.name","","attribute.value"]],[/@qualifiedName/,"attribute.name"],[/\?>/,{token:"delimiter",next:"@pop"}],[/(\/)(>)/,[{token:"tag"},{token:"delimiter",next:"@pop"}]],[/>/,{token:"delimiter",next:"@pop"}]],whitespace:[[/[ \t\r\n]+/,""],[/<!--/,{token:"comment",next:"@comment"}]],comment:[[/[^<\-]+/,"comment.content"],[/-->/,{token:"comment",next:"@pop"}],[/<!--/,"comment.content.invalid"],[/[<\-]/,"comment.content"]]}};export{n as conf,o as language};
|