@intent-hq/web 2.391.1 → 2.392.1

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.
Files changed (328) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{gQ8VFuWN.js → 0TbppU-W.js} +2 -2
  3. package/web/app/immutable/chunks/{B2awO10u.js → 2OP7IVCM.js} +1 -1
  4. package/web/app/immutable/chunks/{BZ27qIg1.js → 2z64ELW5.js} +1 -1
  5. package/web/app/immutable/chunks/{Cr9C4VDu.js → 3rqOYBi3.js} +1 -1
  6. package/web/app/immutable/chunks/{z0xDttNV.js → 50HYkjWD.js} +3 -3
  7. package/web/app/immutable/chunks/{DLqZuVvj.js → 52kdRKiP.js} +1 -1
  8. package/web/app/immutable/chunks/{Dh1j4V0b.js → 7zxUzaYz.js} +1 -1
  9. package/web/app/immutable/chunks/{Drn9m8Tp.js → 9AKr1UyY.js} +1 -1
  10. package/web/app/immutable/chunks/{DXCHCOFX.js → 9ryMZ44V.js} +1 -1
  11. package/web/app/immutable/chunks/{B7hGbqIM.js → AlO3r9jV.js} +1 -1
  12. package/web/app/immutable/chunks/{CVtLV3_x.js → B0SSzYpD.js} +1 -1
  13. package/web/app/immutable/chunks/{DuZtgB5V.js → B0oQ37UY.js} +1 -1
  14. package/web/app/immutable/chunks/{9eqoPT_C.js → B2-ooCTr.js} +1 -1
  15. package/web/app/immutable/chunks/{C1MYTxgW.js → B2frqTj8.js} +1 -1
  16. package/web/app/immutable/chunks/{CedswVQA.js → B36ccT8S.js} +1 -1
  17. package/web/app/immutable/chunks/{g5QqP-QE.js → B6Qz5J1y.js} +1 -1
  18. package/web/app/immutable/chunks/{DHvVAxAW.js → B6wkNYPs.js} +1 -1
  19. package/web/app/immutable/chunks/{DG3-me8H.js → B8m3-qrW.js} +1 -1
  20. package/web/app/immutable/chunks/{YQwkPi_0.js → B97l6Xkk.js} +1 -1
  21. package/web/app/immutable/chunks/{Cp-4w4r1.js → B9NjB9vD.js} +1 -1
  22. package/web/app/immutable/chunks/{DPk2fLxi.js → B9R2bql6.js} +1 -1
  23. package/web/app/immutable/chunks/{Cr5mKkdD.js → B9ZgGXDm.js} +1 -1
  24. package/web/app/immutable/chunks/{CT8vPg_p.js → BAtAwQ72.js} +2 -2
  25. package/web/app/immutable/chunks/{D5Jk5CWk.js → BB5TUToP.js} +2 -2
  26. package/web/app/immutable/chunks/{DGU9U1O6.js → BBfR26V0.js} +1 -1
  27. package/web/app/immutable/chunks/{C4l6men1.js → BCw-LKCu.js} +1 -1
  28. package/web/app/immutable/chunks/{WYNXUtt9.js → BDQvAsU6.js} +1 -1
  29. package/web/app/immutable/chunks/{DDvFH8QS.js → BDRM-DVo.js} +1 -1
  30. package/web/app/immutable/chunks/{D9T_0Eev.js → BE3g5vcj.js} +3 -3
  31. package/web/app/immutable/chunks/{KWtYfwVq.js → BE4DZU9i.js} +1 -1
  32. package/web/app/immutable/chunks/{C3JJkOFb.js → BEGGqaof.js} +1 -1
  33. package/web/app/immutable/chunks/{CyvzL5p8.js → BFO-Le8U.js} +3 -3
  34. package/web/app/immutable/chunks/BGSmaq6H.js +1 -0
  35. package/web/app/immutable/chunks/{K0WiFC8Y.js → BJEFEyAm.js} +1 -1
  36. package/web/app/immutable/chunks/{CEyWnfg4.js → BJIUXUAo.js} +1 -1
  37. package/web/app/immutable/chunks/{B_JGVEqN.js → BKGQPtRi.js} +1 -1
  38. package/web/app/immutable/chunks/BPFSAjsd.js +411 -0
  39. package/web/app/immutable/chunks/{CV17KbhT.js → BQ5x_RaT.js} +1 -1
  40. package/web/app/immutable/chunks/{B26ZHg3s.js → BRCr02in.js} +1 -1
  41. package/web/app/immutable/chunks/{CHIxjTWu.js → BS1zON0P.js} +1 -1
  42. package/web/app/immutable/chunks/{kkKMJ9w9.js → BS5e_kKu.js} +1 -1
  43. package/web/app/immutable/chunks/{CpwS8V1F.js → BS9LmSp_.js} +1 -1
  44. package/web/app/immutable/chunks/{CwqJ7uz4.js → BSMi55yC.js} +1 -1
  45. package/web/app/immutable/chunks/{BBcnUEuQ.js → BSpgPPjp.js} +1 -1
  46. package/web/app/immutable/chunks/{6JlgfFWd.js → BT6sDnDt.js} +1 -1
  47. package/web/app/immutable/chunks/{BmaG8vdR.js → BTE0066U.js} +1 -1
  48. package/web/app/immutable/chunks/{BRScUzfU.js → BUF0WvAS.js} +1 -1
  49. package/web/app/immutable/chunks/{CUgl7USU.js → BUPWY1pO.js} +1 -1
  50. package/web/app/immutable/chunks/{Cnkux63v.js → BVBh582U.js} +1 -1
  51. package/web/app/immutable/chunks/{BSKVcPN7.js → BVhnyyZ7.js} +1 -1
  52. package/web/app/immutable/chunks/{CH6Im5iM.js → BYfDvU8j.js} +1 -1
  53. package/web/app/immutable/chunks/{Ci6PI5sn.js → Bc4EBjSN.js} +1 -1
  54. package/web/app/immutable/chunks/{CiHhUIjb.js → BdWMbiFk.js} +1 -1
  55. package/web/app/immutable/chunks/{7-WRRruG.js → BdlwjSpf.js} +1 -1
  56. package/web/app/immutable/chunks/{D9R5fzn8.js → Beq_QLuz.js} +1 -1
  57. package/web/app/immutable/chunks/{B2Ny2uiy.js → Bh3yfjRP.js} +1 -1
  58. package/web/app/immutable/chunks/{DynUeYUu.js → BhYXv0ZM.js} +1 -1
  59. package/web/app/immutable/chunks/{D3pRyooW.js → Bhul7r_Y.js} +1 -1
  60. package/web/app/immutable/chunks/{OsJD3pkm.js → Bky3Gaqa.js} +1 -1
  61. package/web/app/immutable/chunks/{B5-Plsom.js → BlVpCoL1.js} +1 -1
  62. package/web/app/immutable/chunks/{CwCvyVGi.js → BmqZzhgO.js} +1 -1
  63. package/web/app/immutable/chunks/{Chbrtg19.js → BnnKw3Va.js} +1 -1
  64. package/web/app/immutable/chunks/{DmQ5G_6J.js → Bo0PodRV.js} +1 -1
  65. package/web/app/immutable/chunks/{Cxc8q3rR.js → BonA_mfc.js} +1 -1
  66. package/web/app/immutable/chunks/{BuyrOC4V.js → Bp6DusVC.js} +1 -1
  67. package/web/app/immutable/chunks/{DIIj7EWA.js → BpFxCD0b.js} +1 -1
  68. package/web/app/immutable/chunks/{DqtLBCnq.js → BqRQBnTW.js} +1 -1
  69. package/web/app/immutable/chunks/{JvFe2B29.js → BuM8LV7z.js} +1 -1
  70. package/web/app/immutable/chunks/{BM39k1x6.js → BusD2v6a.js} +1 -1
  71. package/web/app/immutable/chunks/{DF15jnSX.js → BvByaKKp.js} +1 -1
  72. package/web/app/immutable/chunks/{z4O7yNZ6.js → BvvIG-FE.js} +1 -1
  73. package/web/app/immutable/chunks/{Bhyo7hBL.js → Bvwrya09.js} +1 -1
  74. package/web/app/immutable/chunks/{RV6uszBL.js → Bw-Zu1Zf.js} +1 -1
  75. package/web/app/immutable/chunks/{Dl1AOLZu.js → BwFe8eI9.js} +1 -1
  76. package/web/app/immutable/chunks/{Dr6-g-BO.js → Bwa2n5jC.js} +1 -1
  77. package/web/app/immutable/chunks/{QzxpbvSo.js → BwweojP5.js} +1 -1
  78. package/web/app/immutable/chunks/{CnDgS0vt.js → ByaJIEgQ.js} +1 -1
  79. package/web/app/immutable/chunks/{BZCcX8wj.js → ByvcSsIj.js} +2 -2
  80. package/web/app/immutable/chunks/{Bz80vYvX.js → BzXQ5SMs.js} +1 -1
  81. package/web/app/immutable/chunks/{CPnqf2bo.js → C13CRqsS.js} +1 -1
  82. package/web/app/immutable/chunks/{CAGrRNbp.js → C1SGWBXH.js} +1 -1
  83. package/web/app/immutable/chunks/{B4Yz29Q3.js → C2RnxEnO.js} +1 -1
  84. package/web/app/immutable/chunks/{DcraaizU.js → C3KgmGxd.js} +1 -1
  85. package/web/app/immutable/chunks/{Dd_KPYBw.js → C6Af0QaF.js} +1 -1
  86. package/web/app/immutable/chunks/{sFief-xo.js → C7MFACZg.js} +1 -1
  87. package/web/app/immutable/chunks/{DMEIbJII.js → C7b3vXLD.js} +1 -1
  88. package/web/app/immutable/chunks/{BMTanQ2Z.js → C8OXQeb2.js} +1 -1
  89. package/web/app/immutable/chunks/{Bb-kpHQF.js → C8PR5GO9.js} +1 -1
  90. package/web/app/immutable/chunks/C9DStJW1.js +1 -0
  91. package/web/app/immutable/chunks/{5az3n8fR.js → C9iwh4F-.js} +1 -1
  92. package/web/app/immutable/chunks/{CwOdvmTo.js → CA5vNvRD.js} +3 -3
  93. package/web/app/immutable/chunks/{CnFZbWXv.js → CA6H1-bp.js} +1 -1
  94. package/web/app/immutable/chunks/{B6m0Dypi.js → CBQrOO2t.js} +1 -1
  95. package/web/app/immutable/chunks/{Bhq56Jsu.js → CCAtqaSn.js} +1 -1
  96. package/web/app/immutable/chunks/{CREbzS7Z.js → CCSQmeuF.js} +1 -1
  97. package/web/app/immutable/chunks/{CCzPC_cB.js → CCyGGl6b.js} +1 -1
  98. package/web/app/immutable/chunks/{CoSEZL3s.js → CDcxODgf.js} +1 -1
  99. package/web/app/immutable/chunks/{CAUJiTuz.js → CDtaIFAl.js} +1 -1
  100. package/web/app/immutable/chunks/{Csqi0oV3.js → CEqrck_t.js} +1 -1
  101. package/web/app/immutable/chunks/{B2Q_FC4n.js → CGJ5yTzR.js} +3 -3
  102. package/web/app/immutable/chunks/{BkcCJyDK.js → CH7HNVC2.js} +1 -1
  103. package/web/app/immutable/chunks/{DLt9OoMP.js → CJItvMq2.js} +1 -1
  104. package/web/app/immutable/chunks/{By2YlE-l.js → CLX81MHV.js} +1 -1
  105. package/web/app/immutable/chunks/{BOPrepKH.js → COmspkQo.js} +1 -1
  106. package/web/app/immutable/chunks/{9qqz3Jr0.js → CPNOsHfj.js} +1 -1
  107. package/web/app/immutable/chunks/{CA-b7pAY.js → CPav-V5t.js} +2 -2
  108. package/web/app/immutable/chunks/{C5fxud9g.js → CPmXQBUf.js} +1 -1
  109. package/web/app/immutable/chunks/{BrL12o40.js → CQClkuxa.js} +1 -1
  110. package/web/app/immutable/chunks/{BQCtWEZ2.js → CRFyRwf-.js} +1 -1
  111. package/web/app/immutable/chunks/{CHUYHKuh.js → CRIoGx5T.js} +1 -1
  112. package/web/app/immutable/chunks/{CbB6SI0i.js → CRm25OCR.js} +1 -1
  113. package/web/app/immutable/chunks/{mFWmuyR-.js → CS6als-f.js} +1 -1
  114. package/web/app/immutable/chunks/{CfDqTHT1.js → CSzXeH2S.js} +1 -1
  115. package/web/app/immutable/chunks/{DHkcvVzr.js → CTkkv_Ih.js} +1 -1
  116. package/web/app/immutable/chunks/{DSs6r6NG.js → CUiYYsIq.js} +1 -1
  117. package/web/app/immutable/chunks/{DR_b4dt8.js → CUmvnJK5.js} +1 -1
  118. package/web/app/immutable/chunks/{DQpGArF7.js → CVx5OKWy.js} +1 -1
  119. package/web/app/immutable/chunks/{DISm8kek.js → CWS5g6aA.js} +1 -1
  120. package/web/app/immutable/chunks/{CGmYraIa.js → CWfjuhY2.js} +1 -1
  121. package/web/app/immutable/chunks/{CRXlvdEs.js → CWtyXmQ4.js} +1 -1
  122. package/web/app/immutable/chunks/{CWXVdpgZ.js → CXygwMkb.js} +1 -1
  123. package/web/app/immutable/chunks/{pXrAh3i2.js → CY56l_5k.js} +1 -1
  124. package/web/app/immutable/chunks/{B1lpukIv.js → CZfU7DE3.js} +1 -1
  125. package/web/app/immutable/chunks/{Ao0jjYj2.js → CbSZGuz9.js} +1 -1
  126. package/web/app/immutable/chunks/{DFKhOU69.js → Cc0763mU.js} +1 -1
  127. package/web/app/immutable/chunks/{DidHgSQp.js → CcBmcC9f.js} +2 -2
  128. package/web/app/immutable/chunks/{D59tCG3q.js → CcMCIG6E.js} +2 -2
  129. package/web/app/immutable/chunks/{qWgJ-CUF.js → CccfsETL.js} +2 -2
  130. package/web/app/immutable/chunks/{BDeGl6ee.js → CdLJ0-dH.js} +1 -1
  131. package/web/app/immutable/chunks/{-CpNnXIW.js → CdtwTpzR.js} +1 -1
  132. package/web/app/immutable/chunks/{DQNtbVVY.js → Cdw7QKyr.js} +3 -3
  133. package/web/app/immutable/chunks/{C9N7yhqm.js → Ce-va2I0.js} +1 -1
  134. package/web/app/immutable/chunks/{CK543FRe.js → CeHL-3WK.js} +1 -1
  135. package/web/app/immutable/chunks/{D5al-p9o.js → CewZlXwy.js} +1 -1
  136. package/web/app/immutable/chunks/{C22cBcHz.js → Ch9YoFhc.js} +1 -1
  137. package/web/app/immutable/chunks/{COofQgO0.js → ChHRVjww.js} +1 -1
  138. package/web/app/immutable/chunks/{D__sU8Ug.js → CiNmS1jZ.js} +1 -1
  139. package/web/app/immutable/chunks/{BlzuDW6O.js → CjrqEuvI.js} +1 -1
  140. package/web/app/immutable/chunks/{D49mWFig.js → CnPYlvZC.js} +1 -1
  141. package/web/app/immutable/chunks/{ByP-EusE.js → CngTEvgU.js} +1 -1
  142. package/web/app/immutable/chunks/{DeFlL2nh.js → CorT7tdR.js} +1 -1
  143. package/web/app/immutable/chunks/{9GL-RXJZ.js → Cp4SiU7R.js} +1 -1
  144. package/web/app/immutable/chunks/{DUTvR2si.js → CpK0xLH4.js} +1 -1
  145. package/web/app/immutable/chunks/CpT48V2z.js +1 -0
  146. package/web/app/immutable/chunks/{jyQWudgn.js → Cq97NFfR.js} +1 -1
  147. package/web/app/immutable/chunks/{BczcQRsN.js → CqRvL4xi.js} +1 -1
  148. package/web/app/immutable/chunks/{DvUsJK3H.js → Ct0fN4Lt.js} +1 -1
  149. package/web/app/immutable/chunks/{DJcR4XQR.js → CtzbB_EQ.js} +1 -1
  150. package/web/app/immutable/chunks/{CjpWOZGa.js → Cu9dGfYE.js} +1 -1
  151. package/web/app/immutable/chunks/{DJqiMUht.js → Cv-fAWZf.js} +1 -1
  152. package/web/app/immutable/chunks/{CU15H7o_.js → Cx394IAH.js} +1 -1
  153. package/web/app/immutable/chunks/{Bx1P9uW7.js → CxR-pcVt.js} +1 -1
  154. package/web/app/immutable/chunks/{CTgYTdXw.js → Cz3WzTlQ.js} +1 -1
  155. package/web/app/immutable/chunks/{23FyIn6O.js → CzK_7_Jd.js} +1 -1
  156. package/web/app/immutable/chunks/{BTXzEcFX.js → D-j7vD5Z.js} +1 -1
  157. package/web/app/immutable/chunks/{CAUle5iU.js → D0DIeAXH.js} +1 -1
  158. package/web/app/immutable/chunks/{CiKoEJ2m.js → D0qhIm1r.js} +1 -1
  159. package/web/app/immutable/chunks/{CeoBhFo7.js → D179JMBI.js} +1 -1
  160. package/web/app/immutable/chunks/{Cgz4dZpP.js → D5ocbEo-.js} +1 -1
  161. package/web/app/immutable/chunks/{fCtMtGYt.js → D6EyZ2rd.js} +1 -1
  162. package/web/app/immutable/chunks/{DoB-G8kB.js → D6H34kDj.js} +1 -1
  163. package/web/app/immutable/chunks/{aWBSU8IQ.js → D7KhILhs.js} +1 -1
  164. package/web/app/immutable/chunks/{CR5XXYcE.js → D8MIwtpL.js} +1 -1
  165. package/web/app/immutable/chunks/{DyreqWqr.js → D8cNe_33.js} +1 -1
  166. package/web/app/immutable/chunks/{CzxEKNiF.js → D9gMMVdB.js} +1 -1
  167. package/web/app/immutable/chunks/{JiW1DfLK.js → DA3tGWzX.js} +1 -1
  168. package/web/app/immutable/chunks/{CLMwPQBQ.js → DDDvNwR-.js} +1 -1
  169. package/web/app/immutable/chunks/{CDh2mZdS.js → DEQnE_KB.js} +1 -1
  170. package/web/app/immutable/chunks/{DcU8bi_n.js → DEsM7h8K.js} +2 -2
  171. package/web/app/immutable/chunks/{DMudvlKI.js → DFNKkiho.js} +4 -4
  172. package/web/app/immutable/chunks/{DcPZfWKB.js → DFRVxmWf.js} +1 -1
  173. package/web/app/immutable/chunks/{Dgo57zmq.js → DHMxSQaO.js} +1 -1
  174. package/web/app/immutable/chunks/{CIxnaBAb.js → DIME5LWK.js} +2 -2
  175. package/web/app/immutable/chunks/{BLtLj2yz.js → DIxibpTv.js} +1 -1
  176. package/web/app/immutable/chunks/{KaOLys0u.js → DJZIHUd7.js} +1 -1
  177. package/web/app/immutable/chunks/{HiIoMspb.js → DLPlXnVY.js} +1 -1
  178. package/web/app/immutable/chunks/{1-MeqddK.js → DL__HI6l.js} +1 -1
  179. package/web/app/immutable/chunks/{k48f0Jn8.js → DMOXpjfz.js} +1 -1
  180. package/web/app/immutable/chunks/{BLfqsc2a.js → DNup87JQ.js} +1 -1
  181. package/web/app/immutable/chunks/{B7pblHOt.js → DON9zoQ1.js} +1 -1
  182. package/web/app/immutable/chunks/{CwqyVbqi.js → DP31pjuo.js} +3 -3
  183. package/web/app/immutable/chunks/{Bpi8OSTE.js → DQe_5JbW.js} +1 -1
  184. package/web/app/immutable/chunks/{BFfRQORP.js → DRMe5Ypb.js} +1 -1
  185. package/web/app/immutable/chunks/{DoJ49Zrl.js → DTNrtzyx.js} +1 -1
  186. package/web/app/immutable/chunks/{Q1bO23Hj.js → DTbyG794.js} +1 -1
  187. package/web/app/immutable/chunks/{DWRtOXBU.js → DTco_120.js} +1 -1
  188. package/web/app/immutable/chunks/{S3jMTv3a.js → DUcJILSg.js} +1 -1
  189. package/web/app/immutable/chunks/{Cxmepjfl.js → DWjpzYNk.js} +1 -1
  190. package/web/app/immutable/chunks/{BFHmbbvG.js → DY9w61PC.js} +6 -6
  191. package/web/app/immutable/chunks/{CiRkFhK8.js → DYzxLuOL.js} +1 -1
  192. package/web/app/immutable/chunks/{CKTB5KRw.js → D_R1vNH8.js} +1 -1
  193. package/web/app/immutable/chunks/{DF54qNJU.js → D_YMc8vN.js} +1 -1
  194. package/web/app/immutable/chunks/{BGeImWEk.js → D_jEt7ej.js} +1 -1
  195. package/web/app/immutable/chunks/{BVwQph9_.js → DaTkisKB.js} +1 -1
  196. package/web/app/immutable/chunks/{DxmPtFKv.js → DaTwSOqs.js} +1 -1
  197. package/web/app/immutable/chunks/{DE8II0cx.js → DbB491_u.js} +1 -1
  198. package/web/app/immutable/chunks/{BWQPB65O.js → DbPBKS19.js} +1 -1
  199. package/web/app/immutable/chunks/{BHgSQJqT.js → Dbqo6rfT.js} +1 -1
  200. package/web/app/immutable/chunks/{TPru2I57.js → DcrCEeFN.js} +1 -1
  201. package/web/app/immutable/chunks/{0R5VEpaM.js → DdU2snxg.js} +4 -4
  202. package/web/app/immutable/chunks/{CUZpLDKB.js → DdYVblGk.js} +1 -1
  203. package/web/app/immutable/chunks/DejjV5ft.js +1 -0
  204. package/web/app/immutable/chunks/{D3tqOSzT.js → DepS1LOg.js} +1 -1
  205. package/web/app/immutable/chunks/{DW8fwVBf.js → DfINI0LK.js} +1 -1
  206. package/web/app/immutable/chunks/{QeZhJHLb.js → Dgvdn_ax.js} +1 -1
  207. package/web/app/immutable/chunks/{CktgkomQ.js → DhXSKt_a.js} +1 -1
  208. package/web/app/immutable/chunks/{B7hWIBzm.js → Dhs7RSq9.js} +1 -1
  209. package/web/app/immutable/chunks/{CyinuwPx.js → DivmpPFQ.js} +1 -1
  210. package/web/app/immutable/chunks/{DOhHP999.js → DjAFd7Fr.js} +1 -1
  211. package/web/app/immutable/chunks/{l7sDKa65.js → Dk9lUzSs.js} +1 -1
  212. package/web/app/immutable/chunks/{C3jMXj_V.js → DkQdSPDN.js} +1 -1
  213. package/web/app/immutable/chunks/{DEr2A_-h.js → DlnCrS3y.js} +2 -2
  214. package/web/app/immutable/chunks/{DBYe3Dcp.js → DmtYsVlu.js} +2 -2
  215. package/web/app/immutable/chunks/{BM2ubpAw.js → DoFGyuPK.js} +1 -1
  216. package/web/app/immutable/chunks/{C5tJUrGJ.js → DotCIVLI.js} +1 -1
  217. package/web/app/immutable/chunks/{BOVldAsb.js → Dp0kLnIL.js} +1 -1
  218. package/web/app/immutable/chunks/{Dk7Kxi97.js → DqCgFTqN.js} +1 -1
  219. package/web/app/immutable/chunks/{uyQciu7h.js → DuFY1gwd.js} +4 -4
  220. package/web/app/immutable/chunks/{BT8mEFV6.js → DuYgHIqV.js} +1 -1
  221. package/web/app/immutable/chunks/{BJCm9MUD.js → Dusq2uGc.js} +1 -1
  222. package/web/app/immutable/chunks/{zXLHCuiE.js → DvEcqVUt.js} +1 -1
  223. package/web/app/immutable/chunks/{B28HQLvX.js → DvdITStP.js} +1 -1
  224. package/web/app/immutable/chunks/{Dt_7lHy8.js → Dvzvnzzu.js} +1 -1
  225. package/web/app/immutable/chunks/{Cq8_4net.js → DznISJQO.js} +1 -1
  226. package/web/app/immutable/chunks/{DhTLwmro.js → EK8GFErl.js} +1 -1
  227. package/web/app/immutable/chunks/{C2tSFTTb.js → FS0kRzLP.js} +1 -1
  228. package/web/app/immutable/chunks/Fcr7AvC-.js +1 -0
  229. package/web/app/immutable/chunks/{Byobtdo1.js → G_kSYo3Y.js} +1 -1
  230. package/web/app/immutable/chunks/{BKKCpqXK.js → H8hIaDaV.js} +2 -2
  231. package/web/app/immutable/chunks/{CaX8Mme7.js → KPBWxwIA.js} +1 -1
  232. package/web/app/immutable/chunks/{GwtGeFMJ.js → KRACSBb9.js} +1 -1
  233. package/web/app/immutable/chunks/{DupTZXsI.js → KvfW-q1N.js} +1 -1
  234. package/web/app/immutable/chunks/{D5tDAzIo.js → MFTfhUYi.js} +1 -1
  235. package/web/app/immutable/chunks/{BS9WBIBb.js → O5ZlQHf9.js} +1 -1
  236. package/web/app/immutable/chunks/{ChYLETZB.js → OqslD7bF.js} +1 -1
  237. package/web/app/immutable/chunks/{DXXFBdjF.js → OuI4JmWC.js} +1 -1
  238. package/web/app/immutable/chunks/{BXwdb0J5.js → PejVYY2W.js} +3 -3
  239. package/web/app/immutable/chunks/{C9wxB2bb.js → QKQvZF-2.js} +2 -2
  240. package/web/app/immutable/chunks/R3fZBk-k.js +1 -0
  241. package/web/app/immutable/chunks/{BNYZa6GV.js → Rq6GuI3F.js} +1 -1
  242. package/web/app/immutable/chunks/{BcdTbj6d.js → RqSv1iWX.js} +1 -1
  243. package/web/app/immutable/chunks/{Xgzr3BTD.js → T6UBEOFc.js} +1 -1
  244. package/web/app/immutable/chunks/{BpezAJRw.js → TdGvVwuC.js} +1 -1
  245. package/web/app/immutable/chunks/{DSZbBNDD.js → Tgw7Kdvt.js} +1 -1
  246. package/web/app/immutable/chunks/{P7zPRuFC.js → U5o8u-di.js} +1 -1
  247. package/web/app/immutable/chunks/{BUSErGiB.js → UWtWVoQE.js} +1 -1
  248. package/web/app/immutable/chunks/{BCLYeYwk.js → W7uazUja.js} +1 -1
  249. package/web/app/immutable/chunks/{CDUYzZ2W.js → WWDClKTE.js} +1 -1
  250. package/web/app/immutable/chunks/{DJSvqrCI.js → WWq3hijy.js} +1 -1
  251. package/web/app/immutable/chunks/{B9Nn4kQr.js → Xr-aTNRN.js} +1 -1
  252. package/web/app/immutable/chunks/{DlljGo_I.js → Y8hdNZSZ.js} +1 -1
  253. package/web/app/immutable/chunks/{Dh-DCh2Y.js → YsAO4v_N.js} +1 -1
  254. package/web/app/immutable/chunks/{BB2vaoZ2.js → ZIePA90q.js} +3 -3
  255. package/web/app/immutable/chunks/{C-nTKxY9.js → ZfkZCfTr.js} +1 -1
  256. package/web/app/immutable/chunks/{CLvqghA8.js → ZmAQurQV.js} +1 -1
  257. package/web/app/immutable/chunks/{BU3y3Xes.js → _IjN0Lbt.js} +1 -1
  258. package/web/app/immutable/chunks/{DnzDw_9l.js → a3O-Ns1M.js} +1 -1
  259. package/web/app/immutable/chunks/{Em5CdgqH.js → aoX2v33V.js} +4 -4
  260. package/web/app/immutable/chunks/{C00PRSTi.js → b7gnFN68.js} +1 -1
  261. package/web/app/immutable/chunks/{iQDlfKDR.js → cD292w1o.js} +1 -1
  262. package/web/app/immutable/chunks/{COo5pTrI.js → ciQFmiC4.js} +1 -1
  263. package/web/app/immutable/chunks/{ClaP_sir.js → dvKmN4h6.js} +1 -1
  264. package/web/app/immutable/chunks/{D7QFmXLb.js → f0WUpIfB.js} +1 -1
  265. package/web/app/immutable/chunks/{Crey45Oa.js → f5b-J-bi.js} +1 -1
  266. package/web/app/immutable/chunks/{ZX798KkU.js → gKdztwD8.js} +1 -1
  267. package/web/app/immutable/chunks/{BdhKX9ZN.js → gNR_yDDX.js} +1 -1
  268. package/web/app/immutable/chunks/{BAMJ8Hnj.js → gX9ZnDRD.js} +1 -1
  269. package/web/app/immutable/chunks/{BVUW22uN.js → gXHlCg5O.js} +1 -1
  270. package/web/app/immutable/chunks/{axwUS21u.js → ghzRmqKs.js} +1 -1
  271. package/web/app/immutable/chunks/{FM3MDwzB.js → gocm4HZf.js} +1 -1
  272. package/web/app/immutable/chunks/{SdVpHK7d.js → i2Q0D3-m.js} +1 -1
  273. package/web/app/immutable/chunks/{CdTSfppl.js → iCTyujt5.js} +1 -1
  274. package/web/app/immutable/chunks/{IxxdIKNN.js → iMqZaR5X.js} +1 -1
  275. package/web/app/immutable/chunks/{BT5iyspK.js → iNacp7Sr.js} +1 -1
  276. package/web/app/immutable/chunks/{BjGqF2I6.js → iViWtmHm.js} +1 -1
  277. package/web/app/immutable/chunks/{D3JNbQ4D.js → jphlY6bT.js} +1 -1
  278. package/web/app/immutable/chunks/{CEA7jD1C.js → koUs6Gjt.js} +1 -1
  279. package/web/app/immutable/chunks/{rwibDzZr.js → l3Y4i65_.js} +1 -1
  280. package/web/app/immutable/chunks/{BTvJ4T_4.js → lK1e5NlM.js} +1 -1
  281. package/web/app/immutable/chunks/{Cd-qmx8U.js → oM2TfoNE.js} +1 -1
  282. package/web/app/immutable/chunks/{Di3gErxh.js → pQalwNsE.js} +1 -1
  283. package/web/app/immutable/chunks/{DWBUvNGh.js → r4dmBxo_.js} +1 -1
  284. package/web/app/immutable/chunks/{BU9me3Pg.js → rmHQzJ1a.js} +1 -1
  285. package/web/app/immutable/chunks/s_T1Uukt.js +1 -0
  286. package/web/app/immutable/chunks/{Cn-Afla1.js → u_H5ILVa.js} +1 -1
  287. package/web/app/immutable/chunks/{bJK6npyT.js → vJJtTADX.js} +1 -1
  288. package/web/app/immutable/chunks/{BSZu3BUb.js → vq6mxGLA.js} +1 -1
  289. package/web/app/immutable/chunks/{B3T1oiJl.js → x4bPxhVW.js} +1 -1
  290. package/web/app/immutable/chunks/{Cn4-Fvkn.js → x9IQ_8UO.js} +1 -1
  291. package/web/app/immutable/chunks/{n0_jgWL7.js → z2uEgbos.js} +1 -1
  292. package/web/app/immutable/entry/{app.B0HiWR5T.js → app.Dh0FLLBd.js} +3 -3
  293. package/web/app/immutable/entry/start.IMZH36aM.js +1 -0
  294. package/web/app/immutable/nodes/{0.5oa9JC3V.js → 0.BlcS-Hyh.js} +1 -1
  295. package/web/app/immutable/nodes/{1.dLY473QL.js → 1.BMTchPFq.js} +1 -1
  296. package/web/app/immutable/nodes/{10.Dg3iEVmH.js → 10.CfDNhRgU.js} +14 -14
  297. package/web/app/immutable/nodes/{11.PFTrUEsb.js → 11.CxSRkGHD.js} +1 -1
  298. package/web/app/immutable/nodes/{12.DUMat2GN.js → 12.B8s5KuaN.js} +1 -1
  299. package/web/app/immutable/nodes/{13.BEiznOPk.js → 13.J8EpPA9A.js} +1 -1
  300. package/web/app/immutable/nodes/{14.DFolVj6c.js → 14.C5TLXVit.js} +3 -3
  301. package/web/app/immutable/nodes/{15.CGEsAjgd.js → 15.DCpm4k7K.js} +1 -1
  302. package/web/app/immutable/nodes/{16.cptOJ-f9.js → 16.T0PyvW1V.js} +1 -1
  303. package/web/app/immutable/nodes/{17.BVn1LtfR.js → 17.pi-yfOoM.js} +1 -1
  304. package/web/app/immutable/nodes/{18.BLC8YWHJ.js → 18.CTVha2lA.js} +1 -1
  305. package/web/app/immutable/nodes/{19.CqJycQsd.js → 19.C2T81__z.js} +2 -2
  306. package/web/app/immutable/nodes/{2.BaR1WF3o.js → 2.1iJIAnw5.js} +4 -4
  307. package/web/app/immutable/nodes/{20.g9As4rvG.js → 20.BHRuLw4-.js} +1 -1
  308. package/web/app/immutable/nodes/{3.DwF_25Xt.js → 3.BDDby9Gq.js} +1 -1
  309. package/web/app/immutable/nodes/{4.ttOSy2Tq.js → 4.utfN0vdd.js} +1 -1
  310. package/web/app/immutable/nodes/{5.BVpoghsD.js → 5.Z6w8za6J.js} +1 -1
  311. package/web/app/immutable/nodes/6.w_k_ibWb.js +5 -0
  312. package/web/app/immutable/nodes/{7.BO56ByN2.js → 7.I-q-I1bs.js} +1 -1
  313. package/web/app/immutable/nodes/{8.CPtVgnSI.js → 8.BgjULPKU.js} +1 -1
  314. package/web/app/immutable/nodes/9.DOkmR0cl.js +14 -0
  315. package/web/app/version.json +1 -1
  316. package/web/generated/paraglide.js +49 -49
  317. package/web/index.html +18 -18
  318. package/web/app/immutable/chunks/BaXq2aUL.js +0 -411
  319. package/web/app/immutable/chunks/Bheykcr9.js +0 -1
  320. package/web/app/immutable/chunks/C8E14ldW.js +0 -1
  321. package/web/app/immutable/chunks/CDVPwJHE.js +0 -1
  322. package/web/app/immutable/chunks/CtfEuoOH.js +0 -1
  323. package/web/app/immutable/chunks/DRuLniWc.js +0 -1
  324. package/web/app/immutable/chunks/T9rMC0YB.js +0 -1
  325. package/web/app/immutable/chunks/jlu1ZSD8.js +0 -1
  326. package/web/app/immutable/entry/start.BFcXwo9Y.js +0 -1
  327. package/web/app/immutable/nodes/6.D6pOrTxH.js +0 -5
  328. package/web/app/immutable/nodes/9.cl9L6J-I.js +0 -14
@@ -1 +1 @@
1
- var qr=Object.defineProperty;var Ka=o=>{throw TypeError(o)};var Yr=(o,t,r)=>t in o?qr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r;var Vt=(o,t,r)=>Yr(o,typeof t!="symbol"?t+"":t,r),Ga=(o,t,r)=>t.has(o)||Ka("Cannot "+r);var Ut=(o,t,r)=>(Ga(o,t,"read from private field"),r?r.call(o):t.get(o)),Oe=(o,t,r)=>t.has(o)?Ka("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,r),Pa=(o,t,r,a)=>(Ga(o,t,"write to private field"),a?a.call(o,r):t.set(o,r),r);import{I as Xr}from"./Bqd7fdCF.js";import{t as pt,bo as n,bw as ht,b as _t,bp as Te,br as ye,bm as F,bq as nr,bs as Fe,_ as Ge}from"./CtfEuoOH.js";import{bs as bt,a7 as J,ay as N,W as u,bn as yt,aA as s,aD as e,a5 as z,bA as Z,c9 as _,aB as rt,bf as re,b_ as V,aC as St,bo as Qr,bS as S,bV as Ct,br as Ke,bH as R,bj as sr,be as Kt,b$ as Ht,bO as W,bl as vt,aG as Jr,bI as $r,c5 as Se,ca as be,bi as ir,bk as Oa,aj as He,aw as to,ai as eo,a9 as lr,cd as ao,bv as Xe}from"./3SdAC2_C.js";import{i as U}from"./DynUeYUu.js";import{b as Be,s as ct,e as fa,f as ne,c as _e,g as Qe,S as ro,p as oo}from"./B26ZHg3s.js";import{aZ as va,aQ as Je,G as no,av as je,az as qa,aS as ia,ag as so,a0 as io,$ as lo,aH as Ya,ak as co,ai as uo,a1 as fo,af as vo,aj as go,f as Gt}from"./D9R5fzn8.js";import{Y as cr}from"./CT8vPg_p.js";import{c as mo,n as po,k as ho,l as Ve,m as _o}from"./DMEIbJII.js";import{u as bo,p as yo,f as wo,c as xo}from"./BFfRQORP.js";import{c as Jt}from"./BZ27qIg1.js";import{t as Zt}from"./CGmYraIa.js";import{c as ur,u as dr,s as fr,a as To,S as Ao}from"./D9tVylVS.js";import{g as ga,X as vr,h as Ea,i as Io}from"./CnFZbWXv.js";import{F as ma,au as Co,aZ as So,i as Po,W as Lo,X as ko,z as Mo,p as Do,cK as gr}from"./COofQgO0.js";import{k as Oo}from"./DFKhOU69.js";import{n as pa,l as mr,c as pr}from"./Bx1P9uW7.js";import{l as Eo}from"./ChTqQfQN.js";import{b as Ba}from"./Dn334wJv.js";import"./DU3vNstz.js";import{JH as xe,m3 as Bo,rs as Zo}from"./CiKoEJ2m.js";import{p as zo}from"./XJv96NUg.js";var Ro=new Set(["$$slots","$$events","$$legacy","id","children","child","width","height"]),No=St('<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>'),Ho=rt("<span><!></span>");function hr(o,t){if(new.target)return pt({component:hr,...o});bt(t,!0);let r=n(t,"id",23,va),a=n(t,"children",7),l=n(t,"child",7),c=n(t,"width",7,10),f=n(t,"height",7,5),v=Te(t,Ro);const p=_(()=>Je(v,{id:r()}));var y={get id(){return r()},set id(h=va()){r(h),s()},get children(){return a()},set children(h){a(h),s()},get child(){return l()},set child(h){l(h),s()},get width(){return c()},set width(h=10){c(h),s()},get height(){return f()},set height(h=5){f(h),s()},$set:ht,$on:(h,E)=>_t(t,h,E)},w=J(),I=N(w);{var T=h=>{var E=J(),$=N(E);Zt($,l,()=>({props:e(p)})),u(h,E)},A=h=>{var E=Ho();Be(E,()=>({...e(p)}));var $=z(E);{var tt=P=>{var x=J(),B=N(x);Zt(B,()=>a()??re),u(P,x)},k=P=>{var x=No();V(()=>{ct(x,"width",c()),ct(x,"height",f())}),u(P,x)};U($,P=>{a()?P(tt):P(k,-1)})}Z(E),u(h,E)};U(I,h=>{l()?h(T):h(A,-1)})}return u(o,w),yt(y)}var Fo=new Set(["$$slots","$$events","$$legacy","id","ref"]);function _r(o,t){if(new.target)return pt({component:_r,...o});bt(t,!0);let r=n(t,"id",23,va),a=n(t,"ref",15,null),l=Te(t,Fo);const c=no.create({id:je(()=>r()),ref:je(()=>a(),p=>a(p))}),f=_(()=>Je(l,c.props));var v={get id(){return r()},set id(p=va()){r(p),s()},get ref(){return a()},set ref(p=null){a(p),s()},$set:ht,$on:(p,y)=>_t(t,p,y)};return hr(o,ye(()=>e(f))),yt(v)}var jo=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","onInteractOutside","onEscapeKeydown","forceMount","style"]),Xa=rt("<div><!></div>");function br(o,t){const r=Qr();if(new.target)return pt({component:br,...o});bt(t,!0);let a=n(t,"children",7),l=n(t,"child",7),c=n(t,"id",23,()=>qa(r)),f=n(t,"ref",15,null),v=n(t,"onInteractOutside",7,ia),p=n(t,"onEscapeKeydown",7,ia),y=n(t,"forceMount",7,!1),w=n(t,"style",7),I=Te(t,jo);const T=so.create({id:je(()=>c()),ref:je(()=>f(),P=>f(P)),onInteractOutside:je(()=>v()),onEscapeKeydown:je(()=>p())}),A=_(()=>Je(I,T.props));var h={get children(){return a()},set children(P){a(P),s()},get child(){return l()},set child(P){l(P),s()},get id(){return c()},set id(P=qa(r)){c(P),s()},get ref(){return f()},set ref(P=null){f(P),s()},get onInteractOutside(){return v()},set onInteractOutside(P=ia){v(P),s()},get onEscapeKeydown(){return p()},set onEscapeKeydown(P=ia){p(P),s()},get forceMount(){return y()},set forceMount(P=!1){y(P),s()},get style(){return w()},set style(P){w(P),s()},$set:ht,$on:(P,x)=>_t(t,P,x)},E=J(),$=N(E);{var tt=P=>{io(P,ye(()=>e(A),()=>T.popperProps,{isStatic:!0,get enabled(){return T.root.opts.open.current},get id(){return c()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return T.opts.ref},tooltip:!0,get shouldRender(){return T.shouldRender},popper:(B,i)=>{let g=()=>(i?.()).props;const Q=_(()=>Je(g(),{style:Ya("tooltip")},{style:w()}));var O=J(),K=N(O);{var Y=et=>{var X=J(),lt=N(X);{let q=_(()=>({props:e(Q),...T.snippetProps}));Zt(lt,l,()=>e(q))}u(et,X)},M=et=>{var X=Xa();Be(X,()=>({...e(Q)}));var lt=z(X);Zt(lt,()=>a()??re),Z(X),u(et,X)};U(K,et=>{l()?et(Y):et(M,-1)})}u(B,O)},$$slots:{popper:!0}}))},k=P=>{lo(P,ye(()=>e(A),()=>T.popperProps,{tooltip:!0,isStatic:!0,get open(){return T.root.opts.open.current},get id(){return c()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return T.opts.ref},get shouldRender(){return T.shouldRender},popper:(B,i)=>{let g=()=>(i?.()).props;const Q=_(()=>Je(g(),{style:Ya("tooltip")},{style:w()}));var O=J(),K=N(O);{var Y=et=>{var X=J(),lt=N(X);{let q=_(()=>({props:e(Q),...T.snippetProps}));Zt(lt,l,()=>e(q))}u(et,X)},M=et=>{var X=Xa();Be(X,()=>({...e(Q)}));var lt=z(X);Zt(lt,()=>a()??re),Z(X),u(et,X)};U(K,et=>{l()?et(Y):et(M,-1)})}u(B,O)},$$slots:{popper:!0}}))};U($,P=>{y()?P(tt):y()||P(k,1)})}return u(o,E),yt(h)}var Vo=new Set(["$$slots","$$events","$$legacy","ref"]);function yr(o,t){if(new.target)return pt({component:yr,...o});bt(t,!0);let r=n(t,"ref",15,null),a=Te(t,Vo);var l={get ref(){return r()},set ref(c=null){r(c),s()},$set:ht,$on:(c,f)=>_t(t,c,f)};return _r(o,ye(()=>a,{get ref(){return r()},set ref(c){r(c)}})),yt(l)}var Uo=new Set(["$$slots","$$events","$$legacy","ref","class","child","children"]);function wr(o,t){if(new.target)return pt({component:wr,...o});bt(t,!0);let r=n(t,"ref",15,null),a=n(t,"class",7),l=n(t,"child",7),c=n(t,"children",7),f=Te(t,Uo);var v={get ref(){return r()},set ref(w=null){r(w),s()},get class(){return a()},set class(w){a(w),s()},get child(){return l()},set child(w){l(w),s()},get children(){return c()},set children(w){c(w),s()},$set:ht,$on:(w,I)=>_t(t,w,I)},p=J(),y=N(p);{let w=_(()=>fa(!l()&&"type-caption inline-flex h-(--control-height-medium) items-center justify-center gap-1.5 rounded-(--radius-medium)",a()));Jt(y,()=>co,(I,T)=>{T(I,ye({"data-slot":"tooltip-trigger",get child(){return l()},get children(){return c()},get class(){return e(w)}},()=>f,{get ref(){return r()},set ref(A){r(A)}}))})}return u(o,p),yt(v)}var Wo=new Set(["$$slots","$$events","$$legacy","ref","class","sideOffset","side","children","arrowClasses","portalTarget","staticPosition"]),Ko=rt("<div></div>"),Go=rt("<!> <!>",1);function xr(o,t){if(new.target)return pt({component:xr,...o});bt(t,!0);const r=x=>{var B=J(),i=N(B);Zt(i,()=>v()??re),u(x,B)};let a=n(t,"ref",15,null),l=n(t,"class",7),c=n(t,"sideOffset",7,0),f=n(t,"side",7,"top"),v=n(t,"children",7),p=n(t,"arrowClasses",7),y=n(t,"portalTarget",7),w=n(t,"staticPosition",7),I=Te(t,Wo);const T=bo(),A=_(()=>w()??T()),h=ur(dr()+2);fr(h);var E={get ref(){return a()},set ref(x=null){a(x),s()},get class(){return l()},set class(x){l(x),s()},get sideOffset(){return c()},set sideOffset(x=0){c(x),s()},get side(){return f()},set side(x="top"){f(x),s()},get children(){return v()},set children(x){v(x),s()},get arrowClasses(){return p()},set arrowClasses(x){p(x),s()},get portalTarget(){return y()},set portalTarget(x){y(x),s()},get staticPosition(){return w()},set staticPosition(x){w(x),s()},$set:ht,$on:(x,B)=>_t(t,x,B)},$=J(),tt=N($);{var k=x=>{var B=J(),i=N(B);{let g=_(()=>fa("tooltip-motion surface-inverse overlay-surface type-caption z-(--layer-tooltip) w-fit max-w-xs whitespace-pre-wrap text-balance px-2 py-1 [&_kbd]:text-muted-foreground",l()));Jt(i,()=>br,(Q,O)=>{O(Q,ye({role:"tooltip","data-slot":"tooltip-content","data-static-position":!0,get"data-surface-level"(){return h},"data-overlay-surface":!0,get class(){return e(g)},onFocusOutside:()=>{}},()=>I,{get ref(){return a()},set ref(K){a(K)},children:(K,Y)=>{r(K)},$$slots:{default:!0}}))})}u(x,B)},P=x=>{var B=J(),i=N(B);Jt(i,()=>fo,(g,Q)=>{Q(g,{get to(){return y()},children:(O,K)=>{var Y=J(),M=N(Y);{let et=_(()=>fa("tooltip-motion surface-inverse overlay-surface type-caption z-(--layer-tooltip) w-fit max-w-xs whitespace-pre-wrap text-balance px-2 py-1 [&_kbd]:text-muted-foreground",l()));Jt(M,()=>uo,(X,lt)=>{lt(X,ye({role:"tooltip","data-slot":"tooltip-content",get"data-surface-level"(){return h},"data-overlay-surface":!0,get sideOffset(){return c()},get side(){return f()},get class(){return e(et)},onFocusOutside:()=>{}},()=>I,{get ref(){return a()},set ref(q){a(q)},children:(q,Pt)=>{var D=Go(),ot=N(D);Zt(ot,()=>v()??re);var it=S(ot,2);{const gt=(L,G)=>{let C=()=>(G?.()).props;var m=Ko();Be(m,H=>({class:H,...C()}),[()=>fa("surface-inverse z-(--layer-tooltip) size-2.5 rotate-45 rounded-[2px]","data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]","data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%_+_1px)]","data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2","data-[side=left]:-translate-y-[calc(50%_-_3px)]",p())]),u(L,m)};Jt(it,()=>yr,(L,G)=>{G(L,{child:gt,$$slots:{child:!0}})})}u(q,D)},$$slots:{default:!0}}))})}u(O,Y)},$$slots:{default:!0}})}),u(x,B)};U(tt,x=>{e(A)?x(k):x(P,-1)})}return u(o,$),yt(E)}function qo(o){return po(o)}function Yo(o){const t=new Date(o);if(isNaN(t.getTime()))return{get time(){return F.ui_time_invalidDate_label()},cleanup:()=>{}};let r=Ct(Ke(Date.now()));const a=cr.subscribe(t,()=>{R(r,Date.now(),!0)});return{get time(){return e(r),qo(t)},cleanup:a}}function Xo(o){return mo(o)}function Qo(o){const t=new Date(o);if(isNaN(t.getTime()))return{get time(){return"Invalid"},cleanup:()=>{}};let r=Ct(Ke(Date.now()));const a=cr.subscribe(t,()=>{R(r,Date.now(),!0)});return{get time(){return e(r),Xo(t)},cleanup:a}}var Jo=rt("<span> </span>"),$o=rt("<!><!>",1);function Tr(o,t){if(new.target)return pt({component:Tr,...o});bt(t,!0);let r=n(t,"date",7),a=n(t,"compact",7,!1),l=n(t,"class",7,""),c=n(t,"title",7),f=null,v=_(()=>{f&&f.cleanup();const A=a()?Qo(r()):Yo(r());return f=A,A}),p=_(()=>e(v).time);sr(()=>{f&&f.cleanup()});let y=_(()=>{if(c())return c();const A=new Date(r());return isNaN(A.getTime())?F.ui_relativeTime_invalid_label():ho(A)});var w={get date(){return r()},set date(A){r(A),s()},get compact(){return a()},set compact(A=!1){a(A),s()},get class(){return l()},set class(A=""){l(A),s()},get title(){return c()},set title(A){c(A),s()},$set:ht,$on:(A,h)=>_t(t,A,h)},I=J(),T=N(I);return Jt(T,()=>en,(A,h)=>{h(A,{children:(E,$)=>{var tt=J(),k=N(tt);Jt(k,()=>Ar,(P,x)=>{x(P,{children:(B,i)=>{var g=$o(),Q=N(g);{const K=(Y,M)=>{let et=()=>(M?.()).props;var X=Jo();Be(X,()=>({...et(),class:l()}));var lt=vt(X,!0);V(()=>W(lt,e(p))),u(Y,X)};Jt(Q,()=>wr,(Y,M)=>{M(Y,{child:K,$$slots:{child:!0}})})}var O=S(Q);Jt(O,()=>xr,(K,Y)=>{Y(K,{children:(M,et)=>{Kt();var X=Ht();V(()=>W(X,e(y))),u(M,X)},$$slots:{default:!0}})}),u(B,g)},$$slots:{default:!0}})}),u(E,tt)},$$slots:{default:!0}})}),u(o,I),yt(w)}var tn=new Set(["$$slots","$$events","$$legacy","open","staticPosition"]);function Ar(o,t){if(new.target)return pt({component:Ar,...o});bt(t,!0);let r=n(t,"open",15,!1),a=n(t,"staticPosition",7,!1),l=Te(t,tn);yo(()=>a());var c={get open(){return r()},set open(p=!1){r(p),s()},get staticPosition(){return a()},set staticPosition(p=!1){a(p),s()},$set:ht,$on:(p,y)=>_t(t,p,y)},f=J(),v=N(f);return Jt(v,()=>vo,(p,y)=>{y(p,ye(()=>l,{get open(){return r()},set open(w){r(w)}}))}),u(o,f),yt(c)}const en=go;var an=rt('<span data-slot="copy-button-icon"><!></span>');function Za(o,t){if(new.target)return pt({component:Za,...o});bt(t,!0);let r=n(t,"text",7),a=n(t,"size",7,"xs"),l=n(t,"class",7,""),c=n(t,"disabled",7,!1),f=n(t,"onCopy",7),v=n(t,"copy",7),p=n(t,"shortcut",7),y=n(t,"label",23,()=>F.ui_copyButton_label()),w=n(t,"copiedLabel",23,()=>F.ui_linkTooltip_copied_label()),I=n(t,"data-testid",7),T=Ct(!1),A=null;const h=_(()=>a()==="md"?"icon":a()==="sm"?"icon-sm":"icon-xs"),E=_(()=>e(T)?w():y());async function $(k){if(!c())try{v()?await v()(k):await navigator.clipboard.writeText(r()??""),R(T,!0),f()?.(),A&&clearTimeout(A),A=setTimeout(()=>{R(T,!1)},2e3)}catch(P){Eo.error("Failed to copy:",P)}}sr(()=>{A&&clearTimeout(A)});var tt={get text(){return r()},set text(k){r(k),s()},get size(){return a()},set size(k="xs"){a(k),s()},get class(){return l()},set class(k=""){l(k),s()},get disabled(){return c()},set disabled(k=!1){c(k),s()},get onCopy(){return f()},set onCopy(k){f(k),s()},get copy(){return v()},set copy(k){v(k),s()},get shortcut(){return p()},set shortcut(k){p(k),s()},get label(){return y()},set label(k=F.ui_copyButton_label()){y(k),s()},get copiedLabel(){return w()},set copiedLabel(k=F.ui_linkTooltip_copied_label()){w(k),s()},get"data-testid"(){return I()},set"data-testid"(k){I(k),s()},$set:ht,$on:(k,P)=>_t(t,k,P)};return Gt(o,{variant:"ghost",get size(){return e(h)},iconOnly:!0,get tooltip(){return e(E)},get tooltipShortcut(){return p()},tooltipDelayDuration:300,get"aria-label"(){return e(E)},get disabled(){return c()},get class(){return l()},onclick:$,get"data-testid"(){return I()},children:(k,P)=>{var x=J(),B=N(x);Oo(B,()=>e(T),i=>{var g=an(),Q=z(g);{var O=Y=>{ma(Y,{get icon(){return Co},get size(){return a()}})},K=Y=>{ma(Y,{get icon(){return So},get size(){return a()}})};U(Q,Y=>{e(T)?Y(O):Y(K,-1)})}Z(g),V(()=>ne(g,1,_e(e(T)?"flex items-center justify-center text-success":"flex items-center justify-center"))),pa(1,g,()=>mr,()=>({tier:"fast",y:0,scale:.7})),pa(2,g,()=>pr,()=>({tier:"fast"})),u(i,g)}),u(k,x)},$$slots:{default:!0}}),yt(tt)}const Ii="machine-rail:changed",Ci="machine-rail:toast",rn="data-machine-hidden";function Si(o,t,r){const a=o.indexOf(t);for(let l=1;l<o.length;l++){const c=o[(a+l+o.length)%o.length];if(c!==t&&!r(c))return c}return null}function on(){return typeof document>"u"?!0:!document.documentElement.hasAttribute(rn)}function Ue(o,t){if(typeof window>"u"||on())return;const r=t.trim();if(!r)return;const a={kind:o,message:r.slice(0,2e3)};window.electronAPI?.invoke(Xr.MACHINE_RAIL.FORWARD_TOAST,a)?.catch(()=>{})}const nn=Array(12).fill(0);var sn=rt('<div class="sonner-loading-bar"></div>'),ln=rt('<div><div class="sonner-spinner"></div></div>');function Ir(o,t){if(new.target)return pt({component:Ir,...o});bt(t,!0);let r=n(t,"visible",7),a=n(t,"class",7);var l={get visible(){return r()},set visible(v){r(v),s()},get class(){return a()},set class(v){a(v),s()},$set:ht,$on:(v,p)=>_t(t,v,p)},c=ln(),f=z(c);return ga(f,23,()=>nn,(v,p)=>`spinner-bar-${p}`,(v,p)=>{var y=sn();u(v,y)}),Z(f),Z(c),V(v=>{ne(c,1,v),ct(c,"data-visible",r())},[()=>_e(["sonner-loading-wrapper",a()].filter(Boolean).join(" "))]),u(o,c),yt(l)}function Ce(...o){return o.filter(Boolean).join(" ")}const cn=typeof document<"u";var $e,We;class un{constructor(t){Oe(this,$e);Oe(this,We);Pa(this,$e,t),Pa(this,We,Symbol(t))}get(){const t=Jr(Ut(this,We));if(t===void 0)throw new Error(`Context "${Ut(this,$e)}" not found`);return t}set(t){return $r(Ut(this,We),t)}}$e=new WeakMap,We=new WeakMap;const dn=new un("<Toaster/>");let fn=0;function Qa(o){return typeof o?.id=="number"||typeof o?.id=="string"&&o.id.length>0?o.id:fn++}var ta,ea,Ee,aa,ha;class vn{constructor(){Oe(this,ta,Ct(Ke([])));Oe(this,ea,Ct(Ke([])));Oe(this,Ee,new Map);Oe(this,aa,t=>{const r=this.toasts.findIndex(a=>a.id===t);return r===-1?null:r});Oe(this,ha,t=>this.heights.findIndex(r=>r.toastId===t));Vt(this,"addToast",t=>{cn&&this.toasts.unshift(t)});Vt(this,"updateToast",({id:t,data:r,type:a,message:l})=>{const c=this.toasts.findIndex(v=>v.id===t),f=this.toasts[c];this.toasts[c]={...f,...r,id:t,title:l,type:a,dismiss:!1,delete:!1,updated:!0}});Vt(this,"markDismissed",t=>{const r=Ut(this,aa).call(this,t);if(r===null)return;const a=this.toasts[r];a&&(!a.dismiss||!a.delete)&&(this.toasts[r]={...a,dismiss:!0,delete:!0})});Vt(this,"scheduleRemoval",(t,r)=>{this.cancelRemoval(t),Ut(this,Ee).set(t,setTimeout(()=>{Ut(this,Ee).delete(t),this.remove(t)},r))});Vt(this,"cancelRemoval",t=>{const r=Ut(this,Ee).get(t);r!==void 0&&(clearTimeout(r),Ut(this,Ee).delete(t))});Vt(this,"create",t=>{const{message:r,...a}=t,l=Qa(t),c=t.dismissible!==void 0?t.dismissible:t.dismissable!==void 0?t.dismissable:!0,f=t.type===void 0?"default":t.type;return Se(()=>{this.cancelRemoval(l);const v=this.toasts.find(p=>p.id===l);v?.dismiss||v?.delete?(this.remove(l),this.addToast({...a,id:l,title:r,dismissible:c,type:f,updated:!0})):v?this.updateToast({id:l,data:t,type:f,message:r,dismissible:c}):this.addToast({...a,id:l,title:r,dismissible:c,type:f})}),l});Vt(this,"dismiss",t=>(Se(()=>{if(t===void 0){this.toasts=this.toasts.map(a=>a.dismiss?a:{...a,dismiss:!0});return}const r=this.toasts.findIndex(a=>a.id===t);this.toasts[r]&&(this.toasts[r]={...this.toasts[r],dismiss:!0})}),t));Vt(this,"remove",t=>{if(t===void 0){this.toasts=[];return}const r=Ut(this,aa).call(this,t);if(r!==null)return this.toasts.splice(r,1),t});Vt(this,"message",(t,r)=>this.create({...r,type:"default",message:t}));Vt(this,"error",(t,r)=>this.create({...r,type:"error",message:t}));Vt(this,"success",(t,r)=>this.create({...r,type:"success",message:t}));Vt(this,"info",(t,r)=>this.create({...r,type:"info",message:t}));Vt(this,"warning",(t,r)=>this.create({...r,type:"warning",message:t}));Vt(this,"loading",(t,r)=>this.create({...r,type:"loading",message:t}));Vt(this,"promise",(t,r)=>{if(!r)return;let a;r.loading!==void 0&&(a=this.create({...r,promise:t,type:"loading",message:typeof r.loading=="string"?r.loading:r.loading()}));const l=t instanceof Promise?t:t();let c=a!==void 0;return l.then(f=>{if(typeof f=="object"&&f&&"ok"in f&&typeof f.ok=="boolean"&&!f.ok){c=!1;const v=gn(f);this.create({id:a,type:"error",message:v})}else if(r.success!==void 0){c=!1;const v=typeof r.success=="function"?r.success(f):r.success;this.create({id:a,type:"success",message:v})}}).catch(f=>{if(r.error!==void 0){c=!1;const v=typeof r.error=="function"?r.error(f):r.error;this.create({id:a,type:"error",message:v})}}).finally(()=>{c&&(this.dismiss(a),a=void 0),r.finally?.()}),a});Vt(this,"custom",(t,r)=>{const a=Qa(r);return this.create({component:t,...r,id:a}),a});Vt(this,"removeHeight",t=>{this.heights=this.heights.filter(r=>r.toastId!==t)});Vt(this,"setHeight",t=>{Se(()=>{const r=Ut(this,ha).call(this,t.toastId);if(r!==-1){this.heights[r]=t;return}const a=new Map(this.toasts.map((f,v)=>[f.id,v])),l=a.get(t.toastId)??-1,c=this.heights.findIndex(f=>(a.get(f.toastId)??1/0)>l);c===-1?this.heights.push(t):this.heights.splice(c,0,t)})});Vt(this,"reset",()=>{this.toasts=[],this.heights=[],Ut(this,Ee).forEach(t=>clearTimeout(t)),Ut(this,Ee).clear()})}get toasts(){return e(Ut(this,ta))}set toasts(t){R(Ut(this,ta),t,!0)}get heights(){return e(Ut(this,ea))}set heights(t){R(Ut(this,ea),t,!0)}}ta=new WeakMap,ea=new WeakMap,Ee=new WeakMap,aa=new WeakMap,ha=new WeakMap;function gn(o){return o&&typeof o=="object"&&"status"in o?`HTTP error! Status: ${o.status}`:`Error! ${o}`}const Lt=new vn;function mn(o,t){return Lt.message(o,t)}var _a;class pn{constructor(){Oe(this,_a,_(()=>Lt.toasts.filter(t=>!t.dismiss)))}get toasts(){return e(Ut(this,_a))}}_a=new WeakMap;const hn=mn,ee=Object.assign(hn,{success:Lt.success,info:Lt.info,warning:Lt.warning,error:Lt.error,custom:Lt.custom,message:Lt.message,promise:Lt.promise,dismiss:Lt.dismiss,loading:Lt.loading,getActiveToasts:()=>Lt.toasts.filter(o=>!o.dismiss)});function la(o){return o.label!==void 0}function _n(){let o=Ct(Ke(typeof document<"u"?document.hidden:!1));return be(()=>ir(document,"visibilitychange",()=>{R(o,document.hidden,!0)})),{get current(){return e(o)}}}const Ja=4e3,$a=14,bn=45,yn=200,wn=.05,xn={toast:"",title:"",description:"",loader:"",closeButton:"",cancelButton:"",actionButton:"",action:"",warning:"",error:"",success:"",default:"",info:"",loading:""};function Tn(o){const[t,r]=o.split("-"),a=[];return t&&a.push(t),r&&a.push(r),a}function tr(o){return 1/(1.5+Math.abs(o)/20)}var An=rt("<div><!></div>"),In=rt('<button data-close-button=""><!></button>'),Cn=rt('<div data-icon=""><!> <!></div>'),Sn=rt('<div data-description=""><!></div>'),Pn=rt('<button data-button="" data-cancel=""> </button>'),Ln=rt('<button data-button=""> </button>'),kn=rt('<!> <div data-content=""><div data-title=""><!></div> <!></div> <!> <!>',1),Mn=rt('<li aria-atomic="true" data-sonner-toast=""><!> <!></li>');function Cr(o,t){if(new.target)return pt({component:Cr,...o});bt(t,!0);const r=b=>{var st=J(),xt=N(st);{var Et=It=>{var ge=An(),Re=z(ge);Zt(Re,k),Z(ge),V(ue=>{ne(ge,1,ue),ct(ge,"data-visible",e(j)==="loading")},[()=>_e(Ce(e(le)?.loader,a()?.classes?.loader,"sonner-loader"))]),u(It,ge)},Bt=It=>{{let ge=_(()=>Ce(e(le)?.loader,a().classes?.loader)),Re=_(()=>e(j)==="loading");Ir(It,{get class(){return e(ge)},get visible(){return e(Re)}})}};U(xt,It=>{k()?It(Et):It(Bt,-1)})}u(b,st)};let a=n(t,"toast",7),l=n(t,"index",7),c=n(t,"expanded",7),f=n(t,"invert",7),v=n(t,"position",7),p=n(t,"visibleToasts",7),y=n(t,"expandByDefault",7),w=n(t,"closeButton",7),I=n(t,"interacting",7),T=n(t,"cancelButtonStyle",7,""),A=n(t,"actionButtonStyle",7,""),h=n(t,"duration",7),E=n(t,"descriptionClass",7,""),$=n(t,"classes",7),tt=n(t,"unstyled",7,!1),k=n(t,"loadingIcon",7),P=n(t,"successIcon",7),x=n(t,"errorIcon",7),B=n(t,"warningIcon",7),i=n(t,"closeIcon",7),g=n(t,"infoIcon",7),Q=n(t,"defaultRichColors",7,!1),O=n(t,"gap",7,$a),K=n(t,"swipeDirections",7),Y=n(t,"closeButtonAriaLabel",7),M=n(t,"pauseWhenPageIsHidden",7);const et={...xn};let X=Ct(!1),lt=Ct(!1),q=Ct(!1),Pt=Ct(!1),D=Ct(!1),ot=Ct(0),it=Ct(0),gt=a().duration||h()||Ja,L=Ct(null),G=Ct(void 0),C=Ct(null),m=Ct(null);const H=_(()=>l()===0),nt=_(()=>l()+1<=p()),j=_(()=>a().type),at=_(()=>a().dismissible!==void 0?a().dismissible!==!1:a().dismissable!==!1),At=_(()=>a().class||""),Ot=_(()=>a().descriptionClass||""),zt=_(()=>Lt.heights.filter(b=>b.toasterId===a().toasterId&&b.position===v())),wt=_(()=>{const b=e(zt).findIndex(st=>st.toastId===a().id);return b===-1?0:b}),kt=_(()=>a().closeButton??w()),Rt=_(()=>a().duration??h()??Ja);let Ft=null;const se=_(()=>v().split("-")),qt=_(()=>K()??Tn(v())),qe=_(()=>e(zt).reduce((b,st,xt)=>xt>=e(wt)?b:b+st.height,0)),ae=_n(),ve=_(()=>a().invert||f()),ie=_(()=>e(j)==="loading"),le=_(()=>({...et,...$()})),ba=_(()=>a().title),d=_(()=>a().description);let Mt=Ct(0),ce=Ct(0);const de=_(()=>Math.round(e(wt)*O()+e(qe)));be(()=>{e(ba),e(d);let b;c()||y()?b=1:b=1-l()*wn;const st=Se(()=>e(G));if(st===void 0)return;st.style.setProperty("height","auto");const xt=st.offsetHeight,Et=st.getBoundingClientRect().height,Bt=Math.round((Et/b+Number.EPSILON)*100)/100;st.style.removeProperty("height");let It;Math.abs(Bt-xt)<1?It=Bt:It=xt,R(it,It,!0),Lt.setHeight({toastId:a().id,height:It,toasterId:a().toasterId,position:v()})});function oe(){R(lt,!0),R(ot,e(de),!0),Lt.removeHeight(a().id),Lt.markDismissed(a().id),Lt.scheduleRemoval(a().id,yn)}let ze;const ra=_(()=>a().promise&&e(j)==="loading"||e(Rt)===Number.POSITIVE_INFINITY);function Ne(){clearTimeout(ze),R(Mt,new Date().getTime(),!0),ze=setTimeout(()=>{a().onAutoClose?.(a()),oe()},gt)}function Ae(){if(e(ce)<e(Mt)){const b=new Date().getTime()-e(Mt);gt=gt-b}R(ce,new Date().getTime(),!0)}be(()=>{a().updated&&(clearTimeout(ze),gt=e(Rt),e(ra)||Ne())}),be(()=>(e(ra)||(c()||I()||M()&&ae.current?Ae():Ne()),()=>clearTimeout(ze))),Oa(()=>{R(X,!0);const b=e(G)?.getBoundingClientRect().height;return R(it,b,!0),Lt.setHeight({toastId:a().id,height:b,toasterId:a().toasterId,position:v()}),()=>{Lt.removeHeight(a().id)}}),be(()=>{a().delete&&Se(()=>{e(lt)||(oe(),a().onDismiss?.(a()))})}),be(()=>{!a().delete&&!a().dismiss&&e(lt)&&Se(()=>{R(lt,!1),R(Pt,!1),R(D,!1),R(q,!1),R(C,null),R(m,null),Ft=null,R(L,null),e(G)?.style.removeProperty("--swipe-amount-x"),e(G)?.style.removeProperty("--swipe-amount-y"),clearTimeout(ze),gt=e(Rt),e(ra)||Ne(),Lt.setHeight({toastId:a().id,height:e(it),toasterId:a().toasterId,position:v()})})});const ya=b=>{if(e(ie))return;R(L,new Date,!0),R(ot,e(de),!0);const st=b.target;st.setPointerCapture(b.pointerId),st.tagName!=="BUTTON"&&(R(q,!0),Ft={x:b.clientX,y:b.clientY})},Le=()=>{if(e(Pt)||!e(at))return;Ft=null;const b=Number(e(G)?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),st=Number(e(G)?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),xt=new Date().getTime()-(e(L)?.getTime()??0),Et=e(C)==="x"?b:st,Bt=Math.abs(Et)/xt;if((e(C)==="x"?e(qt).includes(b>0?"right":"left"):e(qt).includes(st>0?"bottom":"top"))&&(Math.abs(Et)>=bn||Bt>.11)){R(ot,e(de),!0),a().onDismiss?.(a()),e(C)==="x"?R(m,b>0?"right":"left",!0):R(m,st>0?"down":"up",!0),oe(),R(Pt,!0);return}else e(G)?.style.setProperty("--swipe-amount-x","0px"),e(G)?.style.setProperty("--swipe-amount-y","0px");R(D,!1),R(q,!1),R(C,null)},Yt=b=>{if(!Ft||!e(at)||(window.getSelection()?.toString().length??-1)>0)return;const xt=b.clientY-Ft.y,Et=b.clientX-Ft.x;!e(C)&&(Math.abs(Et)>1||Math.abs(xt)>1)&&R(C,Math.abs(Et)>Math.abs(xt)?"x":"y",!0);let Bt={x:0,y:0};if(e(C)==="y"){if(e(qt).includes("top")||e(qt).includes("bottom"))if(e(qt).includes("top")&&xt<0||e(qt).includes("bottom")&&xt>0)Bt.y=xt;else{const It=xt*tr(xt);Bt.y=Math.abs(It)<Math.abs(xt)?It:xt}}else if(e(C)==="x"&&(e(qt).includes("left")||e(qt).includes("right")))if(e(qt).includes("left")&&Et<0||e(qt).includes("right")&&Et>0)Bt.x=Et;else{const It=Et*tr(Et);Bt.x=Math.abs(It)<Math.abs(Et)?It:Et}(Math.abs(Bt.x)>0||Math.abs(Bt.y)>0)&&R(D,!0),e(G)?.style.setProperty("--swipe-amount-x",`${Bt.x}px`),e(G)?.style.setProperty("--swipe-amount-y",`${Bt.y}px`)},Ye=()=>{R(q,!1),R(C,null),Ft=null},wa=_(()=>a().icon?a().icon:e(j)==="success"?P():e(j)==="error"?x():e(j)==="warning"?B():e(j)==="info"?g():e(j)==="loading"?k():null);var Wa={get toast(){return a()},set toast(b){a(b),s()},get index(){return l()},set index(b){l(b),s()},get expanded(){return c()},set expanded(b){c(b),s()},get invert(){return f()},set invert(b){f(b),s()},get position(){return v()},set position(b){v(b),s()},get visibleToasts(){return p()},set visibleToasts(b){p(b),s()},get expandByDefault(){return y()},set expandByDefault(b){y(b),s()},get closeButton(){return w()},set closeButton(b){w(b),s()},get interacting(){return I()},set interacting(b){I(b),s()},get cancelButtonStyle(){return T()},set cancelButtonStyle(b=""){T(b),s()},get actionButtonStyle(){return A()},set actionButtonStyle(b=""){A(b),s()},get duration(){return h()},set duration(b){h(b),s()},get descriptionClass(){return E()},set descriptionClass(b=""){E(b),s()},get classes(){return $()},set classes(b){$(b),s()},get unstyled(){return tt()},set unstyled(b=!1){tt(b),s()},get loadingIcon(){return k()},set loadingIcon(b){k(b),s()},get successIcon(){return P()},set successIcon(b){P(b),s()},get errorIcon(){return x()},set errorIcon(b){x(b),s()},get warningIcon(){return B()},set warningIcon(b){B(b),s()},get closeIcon(){return i()},set closeIcon(b){i(b),s()},get infoIcon(){return g()},set infoIcon(b){g(b),s()},get defaultRichColors(){return Q()},set defaultRichColors(b=!1){Q(b),s()},get gap(){return O()},set gap(b=$a){O(b),s()},get swipeDirections(){return K()},set swipeDirections(b){K(b),s()},get closeButtonAriaLabel(){return Y()},set closeButtonAriaLabel(b){Y(b),s()},get pauseWhenPageIsHidden(){return M()},set pauseWhenPageIsHidden(b){M(b),s()},$set:ht,$on:(b,st)=>_t(t,b,st)},mt=Mn();ct(mt,"tabindex",0);let oa;var na=z(mt);{var xa=b=>{var st=In(),xt=z(st);Zt(xt,()=>i()??re),Z(st),V(Et=>{ct(st,"aria-label",Y()),ct(st,"data-disabled",e(ie)),ne(st,1,Et)},[()=>_e(Ce(e(le)?.closeButton,a()?.classes?.closeButton))]),He("click",st,()=>{e(ie)||!e(at)||(oe(),a().onDismiss?.(a()))}),u(b,st)};U(na,b=>{e(kt)&&!a().component&&e(j)!=="loading"&&i()!==null&&b(xa)})}var Ta=S(na,2);{var Aa=b=>{const st=_(()=>a().component);var xt=J(),Et=N(xt);Jt(Et,()=>e(st),(Bt,It)=>{It(Bt,ye(()=>a().componentProps,{closeToast:oe}))}),u(b,xt)},Ia=b=>{var st=kn(),xt=N(st);{var Et=dt=>{var Tt=Cn(),Ie=z(Tt);{var ke=ft=>{var Xt=J(),jt=N(Xt);{var he=Ze=>{var sa=J(),Sa=N(sa);Jt(Sa,()=>a().icon,(Qt,te)=>{te(Qt,{})}),u(Ze,sa)},Ca=Ze=>{r(Ze)};U(jt,Ze=>{a().icon?Ze(he):Ze(Ca,-1)})}u(ft,Xt)},Me=ft=>{r(ft)};U(Ie,ft=>{e(j)==="loading"?ft(ke):a().promise&&ft(Me,1)})}var Nt=S(Ie,2);{var Dt=ft=>{var Xt=J(),jt=N(Xt);{var he=Qt=>{var te=J(),De=N(te);Jt(De,()=>a().icon,(Kr,Gr)=>{Gr(Kr,{})}),u(Qt,te)},Ca=Qt=>{var te=J(),De=N(te);Zt(De,()=>P()??re),u(Qt,te)},Ze=Qt=>{var te=J(),De=N(te);Zt(De,()=>x()??re),u(Qt,te)},sa=Qt=>{var te=J(),De=N(te);Zt(De,()=>B()??re),u(Qt,te)},Sa=Qt=>{var te=J(),De=N(te);Zt(De,()=>g()??re),u(Qt,te)};U(jt,Qt=>{a().icon?Qt(he):e(j)==="success"?Qt(Ca,1):e(j)==="error"?Qt(Ze,2):e(j)==="warning"?Qt(sa,3):e(j)==="info"&&Qt(Sa,4)})}u(ft,Xt)};U(Nt,ft=>{e(j)!=="loading"&&ft(Dt)})}Z(Tt),V(ft=>ne(Tt,1,ft),[()=>_e(Ce(e(le)?.icon,a()?.classes?.icon))]),u(dt,Tt)};U(xt,dt=>{(e(j)||a().icon||a().promise)&&a().icon!==null&&(e(wa)!==null||a().icon)&&dt(Et)})}var Bt=S(xt,2),It=z(Bt),ge=z(It);{var Re=dt=>{var Tt=J(),Ie=N(Tt);{var ke=Nt=>{const Dt=_(()=>a().title);var ft=J(),Xt=N(ft);Jt(Xt,()=>e(Dt),(jt,he)=>{he(jt,ye(()=>a().componentProps))}),u(Nt,ft)},Me=Nt=>{var Dt=Ht();V(()=>W(Dt,a().title)),u(Nt,Dt)};U(Ie,Nt=>{typeof a().title!="string"?Nt(ke):Nt(Me,-1)})}u(dt,Tt)};U(ge,dt=>{a().title&&dt(Re)})}Z(It);var ue=S(It,2);{var $t=dt=>{var Tt=Sn(),Ie=z(Tt);{var ke=Nt=>{const Dt=_(()=>a().description);var ft=J(),Xt=N(ft);Jt(Xt,()=>e(Dt),(jt,he)=>{he(jt,ye(()=>a().componentProps))}),u(Nt,ft)},Me=Nt=>{var Dt=Ht();V(()=>W(Dt,a().description)),u(Nt,Dt)};U(Ie,Nt=>{typeof a().description!="string"?Nt(ke):Nt(Me,-1)})}Z(Tt),V(Nt=>ne(Tt,1,Nt),[()=>_e(Ce(E(),e(Ot),e(le)?.description,a().classes?.description))]),u(dt,Tt)};U(ue,dt=>{a().description&&dt($t)})}Z(Bt);var fe=S(Bt,2);{var me=dt=>{var Tt=J(),Ie=N(Tt);{var ke=Dt=>{var ft=J(),Xt=N(ft);Jt(Xt,()=>a().cancel,(jt,he)=>{he(jt,{})}),u(Dt,ft)},Me=Dt=>{var ft=Pn(),Xt=vt(ft,!0);V(jt=>{Qe(ft,a().cancelButtonStyle??T()),ne(ft,1,jt),W(Xt,a().cancel.label)},[()=>_e(Ce(e(le)?.cancelButton,a()?.classes?.cancelButton))]),He("click",ft,jt=>{la(a().cancel)&&e(at)&&(a().cancel?.onClick?.(jt),oe())}),u(Dt,ft)},Nt=_(()=>la(a().cancel));U(Ie,Dt=>{typeof a().cancel=="function"?Dt(ke):e(Nt)&&Dt(Me,1)})}u(dt,Tt)};U(fe,dt=>{a().cancel&&dt(me)})}var pe=S(fe,2);{var ut=dt=>{var Tt=J(),Ie=N(Tt);{var ke=Dt=>{var ft=J(),Xt=N(ft);Jt(Xt,()=>a().action,(jt,he)=>{he(jt,{})}),u(Dt,ft)},Me=Dt=>{var ft=Ln(),Xt=vt(ft,!0);V(jt=>{Qe(ft,a().actionButtonStyle??A()),ne(ft,1,jt),W(Xt,a().action.label)},[()=>_e(Ce(e(le)?.actionButton,a()?.classes?.actionButton))]),He("click",ft,jt=>{la(a().action)&&(a().action?.onClick(jt),!jt.defaultPrevented&&oe())}),u(Dt,ft)},Nt=_(()=>la(a().action));U(Ie,Dt=>{typeof a().action=="function"?Dt(ke):e(Nt)&&Dt(Me,1)})}u(dt,Tt)};U(pe,dt=>{a().action&&dt(ut)})}V((dt,Tt)=>{ne(Bt,1,dt),ne(It,1,Tt)},[()=>_e(Ce(e(le)?.content,a()?.classes?.content)),()=>_e(Ce(e(le)?.title,a()?.classes?.title))]),u(b,st)};U(Ta,b=>{a().component?b(Aa):b(Ia,-1)})}return Z(mt),Ba(mt,b=>R(G,b),()=>e(G)),V((b,st,xt)=>{ne(mt,1,b),ct(mt,"aria-live",a().important?"assertive":"polite"),ct(mt,"data-rich-colors",a().richColors??Q()),ct(mt,"data-styled",!(a().component||a().unstyled||tt())),ct(mt,"data-mounted",e(X)),ct(mt,"data-promise",st),ct(mt,"data-swiped",e(D)),ct(mt,"data-removed",e(lt)),ct(mt,"data-visible",e(nt)),ct(mt,"data-y-position",e(se)[0]),ct(mt,"data-x-position",e(se)[1]),ct(mt,"data-index",l()),ct(mt,"data-front",e(H)),ct(mt,"data-swiping",e(q)),ct(mt,"data-dismissible",e(at)),ct(mt,"data-type",e(j)),ct(mt,"data-invert",e(ve)),ct(mt,"data-swipe-out",e(Pt)),ct(mt,"data-swipe-direction",e(m)),ct(mt,"data-expanded",xt),oa=Qe(mt,`${t.style} ${a().style}`,oa,{"--index":l(),"--toasts-before":l(),"--z-index":Lt.toasts.length-l(),"--offset":`${e(lt)?e(ot):e(de)}px`,"--initial-height":y()?"auto":`${e(it)}px`})},[()=>_e(Ce(t.class,e(At),e(le)?.toast,a()?.classes?.toast,e(le)?.[e(j)],a()?.classes?.[e(j)])),()=>!!a().promise,()=>!!(c()||y()&&e(X))]),He("pointermove",mt,Yt),He("pointerup",mt,Le),He("pointerdown",mt,ya),to("dragend",mt,Ye),u(o,mt),yt(Wa)}eo(["pointermove","pointerup","pointerdown","click"]);var Dn=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-success-icon=""><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg>');function Sr(o,t){if(new.target)return pt({component:Sr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=Dn();return u(o,a),yt(r)}var On=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>');function Pr(o,t){if(new.target)return pt({component:Pr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=On();return u(o,a),yt(r)}var En=St('<svg aria-hidden="true" viewBox="0 0 64 64" fill="currentColor" height="20" width="20" data-sonner-warning-icon="" xmlns="http://www.w3.org/2000/svg"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg>');function Lr(o,t){if(new.target)return pt({component:Lr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=En();return u(o,a),yt(r)}var Bn=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-info-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg>');function kr(o,t){if(new.target)return pt({component:kr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=Bn();return u(o,a),yt(r)}var Zn=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-sonner-close-icon=""><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');function Mr(o,t){if(new.target)return pt({component:Mr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=Zn();return u(o,a),yt(r)}const er=3,ka="24px",Ma="16px",ar=4e3,zn=356,rr=14,La="dark",ca="light";function Rn(o,t){const r={};return[o,t].forEach((a,l)=>{const c=l===1,f=c?"--mobile-offset":"--offset",v=c?Ma:ka;function p(y){["top","right","bottom","left"].forEach(w=>{r[`${f}-${w}`]=typeof y=="number"?`${y}px`:y})}typeof a=="number"||typeof a=="string"?p(a):typeof a=="object"?["top","right","bottom","left"].forEach(y=>{const w=a[y];w===void 0?r[`${f}-${y}`]=v:r[`${f}-${y}`]=typeof w=="number"?`${w}px`:w}):p(v)}),r}var Nn=new Set(["$$slots","$$events","$$legacy","id","invert","position","hotkey","expand","closeButton","offset","mobileOffset","theme","richColors","duration","visibleToasts","toastOptions","dir","gap","swipeDirections","pauseWhenPageIsHidden","loadingIcon","successIcon","errorIcon","warningIcon","closeIcon","infoIcon","containerAriaLabel","class","closeButtonAriaLabel","onblur","onfocus","onmouseenter","onmousemove","onmouseleave","ondragend","onpointerdown","onpointerup"]),Hn=rt("<ol></ol>"),Fn=rt('<section aria-live="polite" aria-relevant="additions text" aria-atomic="false"><!></section>');function Dr(o,t){if(new.target)return pt({component:Dr,...o});bt(t,!0);function r(d){return d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?La:ca}let a=n(t,"id",7),l=n(t,"invert",7,!1),c=n(t,"position",7,"bottom-right"),f=n(t,"hotkey",23,()=>["altKey","KeyT"]),v=n(t,"expand",7,!1),p=n(t,"closeButton",7,!1),y=n(t,"offset",7,ka),w=n(t,"mobileOffset",7,Ma),I=n(t,"theme",7,"light"),T=n(t,"richColors",7,!1),A=n(t,"duration",7,ar),h=n(t,"visibleToasts",7,er),E=n(t,"toastOptions",23,()=>({})),$=n(t,"dir",7,"auto"),tt=n(t,"gap",7,rr),k=n(t,"swipeDirections",7),P=n(t,"pauseWhenPageIsHidden",7,!1),x=n(t,"loadingIcon",7),B=n(t,"successIcon",7),i=n(t,"errorIcon",7),g=n(t,"warningIcon",7),Q=n(t,"closeIcon",7),O=n(t,"infoIcon",7),K=n(t,"containerAriaLabel",7,"Notifications"),Y=n(t,"class",7),M=n(t,"closeButtonAriaLabel",7,"Close toast"),et=n(t,"onblur",7),X=n(t,"onfocus",7),lt=n(t,"onmouseenter",7),q=n(t,"onmousemove",7),Pt=n(t,"onmouseleave",7),D=n(t,"ondragend",7),ot=n(t,"onpointerdown",7),it=n(t,"onpointerup",7),gt=Te(t,Nn);function L(){if($()!=="auto")return $();if(typeof window>"u"||typeof document>"u")return"ltr";const d=document.documentElement.getAttribute("dir");return d==="auto"||!d?(Se(()=>$(window.getComputedStyle(document.documentElement).direction??"ltr")),$()):(Se(()=>$(d)),d)}const G=_(()=>a()?Lt.toasts.filter(d=>d.toasterId===a()):Lt.toasts.filter(d=>!d.toasterId)),C=_(()=>Array.from(new Set([c(),...e(G).filter(d=>d.position).map(d=>d.position)].filter(Boolean))));let m=Ct(!1),H=Ct(!1),nt=Ct(Ke(r(I()))),j=Ct(void 0),at=Ct(null),At=Ct(!1),Ot=null;const zt=_(()=>f().join("+").replace(/Key/g,"").replace(/Digit/g,""));be(()=>{e(G).length<=1&&R(m,!1)}),be(()=>{const d=e(G).filter(Mt=>Mt.dismiss&&!Mt.delete);if(d.length>0){const Mt=Lt.toasts.map(ce=>d.find(oe=>oe.id===ce.id)?{...ce,delete:!0}:ce);Lt.toasts=Mt}}),be(()=>()=>{e(j)&&e(at)&&(e(at).focus({preventScroll:!0}),R(at,null),R(At,!1))}),Oa(()=>ir(document,"keydown",Mt=>{f().every(de=>Mt[de]||Mt.code===de)&&(R(m,!0),e(j)?.focus()),Mt.code==="Escape"&&(document.activeElement===e(j)||e(j)?.contains(document.activeElement))&&R(m,!1)})),be(()=>{if(I()!=="system"&&R(nt,I()),typeof window<"u"){I()==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R(nt,La):R(nt,ca));const d=window.matchMedia("(prefers-color-scheme: dark)"),Mt=({matches:ce})=>{I()==="system"&&R(nt,ce?La:ca,!0)};"addEventListener"in d?d.addEventListener("change",Mt):d.addListener(Mt)}});const wt=d=>{et()?.(d),e(At)&&!d.currentTarget.contains(d.relatedTarget)&&(R(At,!1),e(at)&&(e(at).focus({preventScroll:!0}),R(at,null)))},kt=d=>{X()?.(d),!(d.target instanceof HTMLElement&&d.target.dataset.dismissible==="false")&&(e(At)||(R(At,!0),R(at,d.relatedTarget,!0)))},Rt=d=>{ot()?.(d),!(d.target instanceof HTMLElement&&d.target.dataset.dismissible==="false")&&R(H,!0)},Ft=d=>{lt()?.(d),Ot={x:d.clientX,y:d.clientY},R(m,!0)},se=d=>{Pt()?.(d);const Mt={x:d.clientX,y:d.clientY},ce=!Ot||Math.abs(Mt.x-Ot.x)>1||Math.abs(Mt.y-Ot.y)>1;!e(H)&&ce&&R(m,!1)},qt=d=>{q()?.(d),Ot={x:d.clientX,y:d.clientY},R(m,!0)},qe=d=>{D()?.(d),R(m,!1)},ae=d=>{it()?.(d),R(H,!1)};dn.set(new pn);var ve={get id(){return a()},set id(d){a(d),s()},get invert(){return l()},set invert(d=!1){l(d),s()},get position(){return c()},set position(d="bottom-right"){c(d),s()},get hotkey(){return f()},set hotkey(d=["altKey","KeyT"]){f(d),s()},get expand(){return v()},set expand(d=!1){v(d),s()},get closeButton(){return p()},set closeButton(d=!1){p(d),s()},get offset(){return y()},set offset(d=ka){y(d),s()},get mobileOffset(){return w()},set mobileOffset(d=Ma){w(d),s()},get theme(){return I()},set theme(d="light"){I(d),s()},get richColors(){return T()},set richColors(d=!1){T(d),s()},get duration(){return A()},set duration(d=ar){A(d),s()},get visibleToasts(){return h()},set visibleToasts(d=er){h(d),s()},get toastOptions(){return E()},set toastOptions(d={}){E(d),s()},get dir(){return $()},set dir(d="auto"){$(d),s()},get gap(){return tt()},set gap(d=rr){tt(d),s()},get swipeDirections(){return k()},set swipeDirections(d){k(d),s()},get pauseWhenPageIsHidden(){return P()},set pauseWhenPageIsHidden(d=!1){P(d),s()},get loadingIcon(){return x()},set loadingIcon(d){x(d),s()},get successIcon(){return B()},set successIcon(d){B(d),s()},get errorIcon(){return i()},set errorIcon(d){i(d),s()},get warningIcon(){return g()},set warningIcon(d){g(d),s()},get closeIcon(){return Q()},set closeIcon(d){Q(d),s()},get infoIcon(){return O()},set infoIcon(d){O(d),s()},get containerAriaLabel(){return K()},set containerAriaLabel(d="Notifications"){K(d),s()},get class(){return Y()},set class(d){Y(d),s()},get closeButtonAriaLabel(){return M()},set closeButtonAriaLabel(d="Close toast"){M(d),s()},get onblur(){return et()},set onblur(d){et(d),s()},get onfocus(){return X()},set onfocus(d){X(d),s()},get onmouseenter(){return lt()},set onmouseenter(d){lt(d),s()},get onmousemove(){return q()},set onmousemove(d){q(d),s()},get onmouseleave(){return Pt()},set onmouseleave(d){Pt(d),s()},get ondragend(){return D()},set ondragend(d){D(d),s()},get onpointerdown(){return ot()},set onpointerdown(d){ot(d),s()},get onpointerup(){return it()},set onpointerup(d){it(d),s()},$set:ht,$on:(d,Mt)=>_t(t,d,Mt)},ie=Fn();ct(ie,"tabindex",-1);var le=z(ie);{var ba=d=>{var Mt=J(),ce=N(Mt);ga(ce,18,()=>e(C),de=>de,(de,oe,ze,ra)=>{const Ne=_(()=>{const[Yt,Ye]=oe.split("-");return{y:Yt,x:Ye}}),Ae=_(()=>Rn(y(),w())),ya=_(()=>Lt.heights.find(Yt=>Yt.toasterId===a()&&Yt.position===oe)?.height??0);var Le=Hn();Be(Le,Yt=>({tabindex:-1,dir:Yt,class:Y(),"data-sonner-toaster":!0,"data-sonner-theme":e(nt),"data-y-position":e(Ne).y,"data-x-position":e(Ne).x,style:t.style,onblur:wt,onfocus:kt,onmouseenter:Ft,onmousemove:qt,onmouseleave:se,ondragend:qe,onpointerdown:Rt,onpointerup:ae,...gt,[ro]:{"--front-toast-height":`${e(ya)}px`,"--width":`${zn}px`,"--gap":`${tt()}px`,"--offset-top":e(Ae)["--offset-top"],"--offset-right":e(Ae)["--offset-right"],"--offset-bottom":e(Ae)["--offset-bottom"],"--offset-left":e(Ae)["--offset-left"],"--mobile-offset-top":e(Ae)["--mobile-offset-top"],"--mobile-offset-right":e(Ae)["--mobile-offset-right"],"--mobile-offset-bottom":e(Ae)["--mobile-offset-bottom"],"--mobile-offset-left":e(Ae)["--mobile-offset-left"]}}),[()=>L()]),ga(Le,23,()=>e(G).filter(Yt=>!Yt.position&&e(ze)===0||Yt.position===oe),Yt=>Yt.id,(Yt,Ye,wa,Wa)=>{{const mt=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>B()??re),u(ut,dt)},pe=ut=>{Sr(ut,{})};U(fe,ut=>{B()?ut(me):B()!==null&&ut(pe,1)})}u(ue,$t)},oa=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>i()??re),u(ut,dt)},pe=ut=>{Pr(ut,{})};U(fe,ut=>{i()?ut(me):i()!==null&&ut(pe,1)})}u(ue,$t)},na=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>g()??re),u(ut,dt)},pe=ut=>{Lr(ut,{})};U(fe,ut=>{g()?ut(me):g()!==null&&ut(pe,1)})}u(ue,$t)},xa=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>O()??re),u(ut,dt)},pe=ut=>{kr(ut,{})};U(fe,ut=>{O()?ut(me):O()!==null&&ut(pe,1)})}u(ue,$t)},Ta=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>Q()??re),u(ut,dt)},pe=ut=>{Mr(ut,{})};U(fe,ut=>{Q()?ut(me):Q()!==null&&ut(pe,1)})}u(ue,$t)};let Aa=_(()=>E()?.duration??A()),Ia=_(()=>E()?.class??""),b=_(()=>E()?.descriptionClass||""),st=_(()=>E()?.closeButton??p()),xt=_(()=>E()?.style??""),Et=_(()=>E().classes||{}),Bt=_(()=>E().unstyled??!1),It=_(()=>E()?.cancelButtonStyle??""),ge=_(()=>E()?.actionButtonStyle??""),Re=_(()=>E()?.closeButtonAriaLabel??M());Cr(Yt,{get index(){return e(wa)},get toast(){return e(Ye)},get defaultRichColors(){return T()},get duration(){return e(Aa)},get class(){return e(Ia)},get descriptionClass(){return e(b)},get invert(){return l()},get visibleToasts(){return h()},get closeButton(){return e(st)},get interacting(){return e(H)},get position(){return oe},get gap(){return tt()},get style(){return e(xt)},get classes(){return e(Et)},get unstyled(){return e(Bt)},get cancelButtonStyle(){return e(It)},get actionButtonStyle(){return e(ge)},get closeButtonAriaLabel(){return e(Re)},get expandByDefault(){return v()},get expanded(){return e(m)},get swipeDirections(){return k()},get pauseWhenPageIsHidden(){return P()},get loadingIcon(){return x()},successIcon:mt,errorIcon:oa,warningIcon:na,infoIcon:xa,closeIcon:Ta,$$slots:{successIcon:!0,errorIcon:!0,warningIcon:!0,infoIcon:!0,closeIcon:!0}})}}),Z(Le),Ba(Le,Yt=>R(j,Yt),()=>e(j)),V(()=>Le.dir=Le.dir),u(de,Le)}),u(d,Mt)};U(le,d=>{e(G).length>0&&d(ba)})}return Z(ie),V(()=>ct(ie,"aria-label",`${K()??""} ${e(zt)??""}`)),u(o,ie),yt(ve)}var jn=rt("<span> </span>");function za(o,t){if(new.target)return pt({component:za,...o});bt(t,!0);let r=n(t,"slot",7),a=n(t,"size",7,"default"),l=n(t,"class",7,"");const c=_(()=>wo(r()));var f={get slot(){return r()},set slot(y){r(y),s()},get size(){return a()},set size(y="default"){a(y),s()},get class(){return l()},set class(y=""){l(y),s()},$set:ht,$on:(y,w)=>_t(t,y,w)},v=jn(),p=vt(v,!0);return V((y,w)=>{ne(v,1,`type-caption flex ${a()==="compact"?"h-3.5 w-3.5":"h-4 w-4"} shrink-0 items-center justify-center rounded-[3px] border font-medium leading-none a11y-ignore ${e(c)??""} ${l()??""}`),ct(v,"title",y),W(p,w)},[()=>F.workspace_microKeyBadge_tooltip({number:Ve(r()+1)}),()=>Ve(r()+1)]),u(o,v),yt(f)}function Pe(o,t){if(new.target)return pt({component:Pe,...o});bt(t,!0);let r=n(t,"onclick",7),a=n(t,"ariaLabel",7),l=n(t,"inline",7,!1);var c={get onclick(){return r()},set onclick(f){r(f),s()},get ariaLabel(){return a()},set ariaLabel(f){a(f),s()},get inline(){return l()},set inline(f=!1){l(f),s()},$set:ht,$on:(f,v)=>_t(t,f,v)};{let f=_(()=>l()?"toast-close-btn toast-close-inline":"toast-close-btn");Gt(o,{variant:"ghost",size:"icon-compact",iconOnly:!0,get class(){return e(f)},get onclick(){return r()},get"aria-label"(){return a()},children:(v,p)=>{vr(v,{size:16,"aria-hidden":"true"})},$$slots:{default:!0}})}return yt(c)}var Vn=new Set(["$$slots","$$events","$$legacy","children"]),Un=St('<path d="M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"></path>'),Wn=St('<path d="M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z" opacity="0.2"></path><path d="M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"></path>',1),Kn=St('<path d="M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"></path>'),Gn=St('<path d="M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"></path>'),qn=St('<path d="M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"></path>'),Yn=St('<path d="M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"></path>'),Xn=St('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Or(o,t){if(new.target)return pt({component:Or,...o});bt(t,!0);const r=Ea();let a=n(t,"children",7),l=Te(t,Vn),c=_(()=>t.weight??r.weight??"regular"),f=_(()=>t.color??r.color??"currentColor"),v=_(()=>t.size??r.size??"1em"),p=_(()=>t.mirrored??r.mirrored??!1);function y(i){let{weight:g,color:Q,size:O,mirrored:K,...Y}=i;return Y}var w={get children(){return a()},set children(i){a(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},I=Xn();Be(I,(i,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(v),height:e(v),fill:e(f),transform:e(p)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...i,...g}),[()=>y(r),()=>y(l)]);var T=z(I);{var A=i=>{var g=J(),Q=N(g);Zt(Q,a),u(i,g)};U(T,i=>{a()&&i(A)})}var h=S(T,2);{var E=i=>{var g=Un();u(i,g)},$=i=>{var g=Wn();Kt(),u(i,g)},tt=i=>{var g=Kn();u(i,g)},k=i=>{var g=Gn();u(i,g)},P=i=>{var g=qn();u(i,g)},x=i=>{var g=Yn();u(i,g)},B=i=>{var g=Ht();g.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),u(i,g)};U(h,i=>{e(c)==="bold"?i(E):e(c)==="duotone"?i($,1):e(c)==="fill"?i(tt,2):e(c)==="light"?i(k,3):e(c)==="regular"?i(P,4):e(c)==="thin"?i(x,5):i(B,-1)})}return Z(I),u(o,I),yt(w)}var Qn=new Set(["$$slots","$$events","$$legacy","children"]),Jn=St('<path d="M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"></path>'),$n=St('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path>',1),ts=St('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"></path>'),es=St('<path d="M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"></path>'),as=St('<path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path>'),rs=St('<path d="M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"></path>'),os=St('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Er(o,t){if(new.target)return pt({component:Er,...o});bt(t,!0);const r=Ea();let a=n(t,"children",7),l=Te(t,Qn),c=_(()=>t.weight??r.weight??"regular"),f=_(()=>t.color??r.color??"currentColor"),v=_(()=>t.size??r.size??"1em"),p=_(()=>t.mirrored??r.mirrored??!1);function y(i){let{weight:g,color:Q,size:O,mirrored:K,...Y}=i;return Y}var w={get children(){return a()},set children(i){a(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},I=os();Be(I,(i,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(v),height:e(v),fill:e(f),transform:e(p)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...i,...g}),[()=>y(r),()=>y(l)]);var T=z(I);{var A=i=>{var g=J(),Q=N(g);Zt(Q,a),u(i,g)};U(T,i=>{a()&&i(A)})}var h=S(T,2);{var E=i=>{var g=Jn();u(i,g)},$=i=>{var g=$n();Kt(),u(i,g)},tt=i=>{var g=ts();u(i,g)},k=i=>{var g=es();u(i,g)},P=i=>{var g=as();u(i,g)},x=i=>{var g=rs();u(i,g)},B=i=>{var g=Ht();g.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),u(i,g)};U(h,i=>{e(c)==="bold"?i(E):e(c)==="duotone"?i($,1):e(c)==="fill"?i(tt,2):e(c)==="light"?i(k,3):e(c)==="regular"?i(P,4):e(c)==="thin"?i(x,5):i(B,-1)})}return Z(I),u(o,I),yt(w)}var ns=new Set(["$$slots","$$events","$$legacy","children"]),ss=St('<path d="M114.32,49.8A19.79,19.79,0,0,0,81.72,57L29.22,201.41A19.82,19.82,0,0,0,47.75,228a20,20,0,0,0,6.84-1.22L199,174.28a19.79,19.79,0,0,0,7.24-32.6ZM104.19,183.21l-31.4-31.4L82.94,123.9l49.16,49.16Zm-52.42,26.4Zm12-32.91L79.3,192.26l-24.45,8.89ZM157,164,92,99l10-27.58L184.57,154ZM128,40V16a12,12,0,0,1,24,0V40a12,12,0,0,1-24,0Zm116.48,83.51a12,12,0,0,1-17,17l-16-16a12,12,0,0,1,17-17Zm-.69-40.13-24,8a12,12,0,0,1-7.59-22.77l24-8a12,12,0,1,1,7.59,22.77ZM156.6,65.93C159.83,47.47,173.39,36,192,36c6.45,0,8.69-2.49,10-4.92a18,18,0,0,0,2-7.22V24a12,12,0,0,1,24,0c0,14.47-9.59,36-36,36-4.94,0-10.21,1.19-11.76,10.06A12,12,0,0,1,168.43,80a12.35,12.35,0,0,1-2.08-.18A12,12,0,0,1,156.6,65.93Z"></path>'),is=St('<path d="M58.89,154.89l42.22,42.22-50.63,18.4a7.79,7.79,0,0,1-10-10Zm138.82-4.72L105.83,58.29A7.79,7.79,0,0,0,93,61.14l-14.9,41,75.82,75.82,41-14.9A7.79,7.79,0,0,0,197.71,150.17Z" opacity="0.2"></path><path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26Zm-8.33,135.21-35-35,13.16-36.21,58.05,58.05Zm-55,20,14-38.41,24.45,24.45ZM156,168.64,87.36,100l13-35.87,91.43,91.43ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"></path>',1),ls=St('<path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26ZM65.14,161.13l19.2-52.79,63.32,63.32-52.8,19.2ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"></path>'),cs=St('<path d="M110.08,54a13.8,13.8,0,0,0-22.73,5.05L34.85,203.47A13.82,13.82,0,0,0,47.76,222a14,14,0,0,0,4.77-.85l144.38-52.5a13.8,13.8,0,0,0,5-22.73ZM48.43,209.87a1.79,1.79,0,0,1-2.3-2.3L61.31,165.8,90.2,194.68Zm54.21-19.71-36.8-36.81L80.51,113,143,175.49ZM194,156.07a1.74,1.74,0,0,1-1.14,1.3L155.44,171,85,100.55,98.63,63.19a1.72,1.72,0,0,1,1.3-1.14,1.58,1.58,0,0,1,.41,0,1.72,1.72,0,0,1,1.25.53l91.88,91.88A1.73,1.73,0,0,1,194,156.07ZM162,72a35.52,35.52,0,0,1,3.63-14.68C170.57,47.44,179.93,42,192,42c7.47,0,12.53-2.74,15.48-8.38A24.18,24.18,0,0,0,210,24,6,6,0,0,1,216,18h0a6,6,0,0,1,6,6c0,10.38-6.27,30-30,30-7.47,0-12.53,2.74-15.48,8.38A24,24,0,0,0,174,72a6,6,0,0,1-6,6h0A6,6,0,0,1,162,72ZM138,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm98.24,83.76a6,6,0,1,1-8.48,8.48l-16-16a6,6,0,0,1,8.48-8.48Zm5.66-46.07-24,8a6,6,0,1,1-3.8-11.38l24-8a6,6,0,0,1,3.8,11.38Z"></path>'),us=St('<path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26Zm-8.33,135.21-35-35,13.16-36.21,58.05,58.05Zm-55,20,14-38.41,24.45,24.45ZM156,168.64,87.36,100l13-35.87,91.43,91.43ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"></path>'),ds=St('<path d="M108.66,55.46a11.79,11.79,0,0,0-19.43,4.31L36.73,204.15a11.81,11.81,0,0,0,11,15.85,11.88,11.88,0,0,0,4.08-.73l144.38-52.5a11.79,11.79,0,0,0,4.31-19.43Zm-6.53,137L63.52,153.87l16.19-44.51,66.92,66.93Zm-53,19.28a3.81,3.81,0,0,1-4.87-4.87l16.27-44.72,33.32,33.32Zm146.8-55.25a3.77,3.77,0,0,1-2.42,2.74l-38.56,14L82.72,101.07l14-38.56a3.77,3.77,0,0,1,2.74-2.42,4.32,4.32,0,0,1,.85-.09A3.65,3.65,0,0,1,103,61.12L194.88,153A3.78,3.78,0,0,1,195.91,156.51ZM220,24c0,9.68-5.85,28-28,28-8.31,0-14.18,3.29-17.42,9.79A26.12,26.12,0,0,0,172,72a4,4,0,0,1-8,0,34.06,34.06,0,0,1,3.42-13.79C170.66,51.73,177.56,44,192,44c19.29,0,20-18,20-20a4,4,0,0,1,4-4h0A4,4,0,0,1,220,24ZM140,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm94.83,85.17a4,4,0,0,1-5.66,5.66l-16-16a4,4,0,0,1,5.66-5.66Zm6.43-49.37-24,8A4,4,0,0,1,216,84a4,4,0,0,1-1.27-7.79l24-8a4,4,0,0,1,2.53,7.59Z"></path>'),fs=St('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Br(o,t){if(new.target)return pt({component:Br,...o});bt(t,!0);const r=Ea();let a=n(t,"children",7),l=Te(t,ns),c=_(()=>t.weight??r.weight??"regular"),f=_(()=>t.color??r.color??"currentColor"),v=_(()=>t.size??r.size??"1em"),p=_(()=>t.mirrored??r.mirrored??!1);function y(i){let{weight:g,color:Q,size:O,mirrored:K,...Y}=i;return Y}var w={get children(){return a()},set children(i){a(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},I=fs();Be(I,(i,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(v),height:e(v),fill:e(f),transform:e(p)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...i,...g}),[()=>y(r),()=>y(l)]);var T=z(I);{var A=i=>{var g=J(),Q=N(g);Zt(Q,a),u(i,g)};U(T,i=>{a()&&i(A)})}var h=S(T,2);{var E=i=>{var g=ss();u(i,g)},$=i=>{var g=is();Kt(),u(i,g)},tt=i=>{var g=ls();u(i,g)},k=i=>{var g=cs();u(i,g)},P=i=>{var g=us();u(i,g)},x=i=>{var g=ds();u(i,g)},B=i=>{var g=Ht();g.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),u(i,g)};U(h,i=>{e(c)==="bold"?i(E):e(c)==="duotone"?i($,1):e(c)==="fill"?i(tt,2):e(c)==="light"?i(k,3):e(c)==="regular"?i(P,4):e(c)==="thin"?i(x,5):i(B,-1)})}return Z(I),u(o,I),yt(w)}var vs=rt('<span aria-hidden="true"><!></span>');function Wt(o,t){if(new.target)return pt({component:Wt,...o});bt(t,!0);let r=n(t,"variant",7);var a={get variant(){return r()},set variant(h){r(h),s()},$set:ht,$on:(h,E)=>_t(t,h,E)},l=vs(),c=z(l);{var f=h=>{Po(h,{size:16,weight:"fill","aria-hidden":"true"})},v=h=>{Lo(h,{size:16,weight:"fill","aria-hidden":"true"})},p=h=>{ko(h,{size:16,weight:"fill","aria-hidden":"true"})},y=h=>{Mo(h,{size:16,weight:"fill","aria-hidden":"true"})},w=h=>{Er(h,{size:16,weight:"regular","aria-hidden":"true"})},I=h=>{Do(h,{size:16,weight:"regular","aria-hidden":"true"})},T=h=>{Br(h,{size:16,weight:"fill","aria-hidden":"true"})},A=h=>{Or(h,{size:16,"aria-hidden":"true"})};U(c,h=>{r()==="success"?h(f):r()==="error"?h(v,1):r()==="warning"?h(p,2):r()==="info"?h(y,3):r()==="loading"?h(w,4):r()==="update"?h(I,5):r()==="celebrate"?h(T,6):h(A,-1)})}return Z(l),V(()=>{ne(l,1,`toast-glyph toast-glyph-${r()??""}`,"svelte-1u9r0ks"),ct(l,"data-toast-glyph",r())}),u(o,l),yt(a)}var gs=rt('<span class="first-line-icon toast-first-line svelte-1ghx0kf"><!></span>'),ms=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="agent-attention"><span class="first-line-icon toast-first-line svelte-1ghx0kf"><!></span> <div class="flex-1 min-w-0"><div class="flex items-start gap-1.5"><!> <p class="toast-title flex min-w-0 items-baseline svelte-1ghx0kf"><span class="min-w-0 truncate" data-toast-title=""> </span> <!></p></div> <p class="toast-description svelte-1ghx0kf" data-toast-description=""> </p> <div class="toast-actions svelte-1ghx0kf"><!> <!></div></div> <!></div>');function Ra(o,t){if(new.target)return pt({component:Ra,...o});bt(t,!0);let r=n(t,"title",7),a=n(t,"reason",7),l=n(t,"kind",7),c=n(t,"timestamp",7),f=n(t,"keySlot",7,null),v=n(t,"onSwitchTo",7),p=n(t,"onClose",7);var y={get title(){return r()},set title(M){r(M),s()},get reason(){return a()},set reason(M){a(M),s()},get kind(){return l()},set kind(M){l(M),s()},get timestamp(){return c()},set timestamp(M){c(M),s()},get keySlot(){return f()},set keySlot(M=null){f(M),s()},get onSwitchTo(){return v()},set onSwitchTo(M){v(M),s()},get onClose(){return p()},set onClose(M){p(M),s()},$set:ht,$on:(M,et)=>_t(t,M,et)},w=ms(),I=z(w),T=z(I);{let M=_(()=>l()==="blocker"?"warning":"discussion");Wt(T,{get variant(){return e(M)}})}Z(I);var A=S(I,2),h=z(A),E=z(h);{var $=M=>{var et=gs(),X=z(et);za(X,{get slot(){return f()}}),Z(et),u(M,et)};U(E,M=>{f()!=null&&M($)})}var tt=S(E,2),k=z(tt),P=vt(k,!0),x=S(k,2);{var B=M=>{Tr(M,{get date(){return c()},compact:!0,class:"ml-1 shrink-0 whitespace-nowrap text-xs font-normal text-muted-foreground"})};U(x,M=>{c()&&M(B)})}Z(tt),Z(h);var i=S(h,2),g=vt(i,!0),Q=S(i,2),O=z(Q);Gt(O,{variant:"primary",size:"compact",class:"toast-action",get onclick(){return v()},children:(M,et)=>{Kt();var X=Ht();V(lt=>W(X,lt),[()=>F.agent_attentionToast_switchTo_label()]),u(M,X)},$$slots:{default:!0}});var K=S(O,2);Gt(K,{variant:"ghost",size:"compact",class:"toast-action",get onclick(){return p()},children:(M,et)=>{Kt();var X=Ht();V(lt=>W(X,lt),[()=>F.agent_attentionToast_later_label()]),u(M,X)},$$slots:{default:!0}}),Z(Q),Z(A);var Y=S(A,2);{let M=_(()=>F.agent_attentionToast_close_ariaLabel());Pe(Y,{get onclick(){return p()},get ariaLabel(){return e(M)}})}return Z(w),V(()=>{ct(k,"title",r()),W(P,r()),W(g,a())}),u(o,w),yt(y)}const ps=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"}));var hs=rt('<span class="first-line-icon toast-first-line svelte-nvewtf"><!></span>'),_s=rt('<p class="text-xs text-muted-foreground break-words" data-testid="toast-auth-claude-desktop-note" data-toast-description="" data-toast-optional=""> </p>'),bs=rt('<div class="mt-1.5 flex min-w-0 flex-col gap-1" data-testid="toast-auth-guidance"><p class="text-xs text-muted-foreground" data-toast-optional=""> </p> <div class="flex items-center gap-1"><code class="min-w-0 flex-1 truncate rounded bg-muted px-1.5 py-0.5 text-xs" data-testid="toast-auth-login-command"> </code> <!> <!></div> <!></div>'),ys=rt('<p class="toast-metadata min-w-0 truncate svelte-nvewtf" data-toast-optional=""><span class="toast-metadata-dot svelte-nvewtf" aria-hidden="true"></span> <span class="min-w-0 truncate"> </span></p>'),ws=rt('<p class="text-xs text-danger mt-1.5" data-toast-description="" data-toast-optional=""> </p>'),xs=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="agent-failure"><span class="first-line-icon toast-first-line svelte-nvewtf"><!></span> <div class="flex-1 min-w-0"><div class="flex items-start gap-1.5"><!> <p class="toast-title min-w-0 svelte-nvewtf" data-toast-title=""> </p></div> <p class="toast-description svelte-nvewtf" data-toast-description=""> </p> <!> <!> <!> <div class="toast-actions svelte-nvewtf"><!> <!></div></div> <!></div>');function Na(o,t){if(new.target)return pt({component:Na,...o});bt(t,!0);let r=n(t,"title",7),a=n(t,"errorSummary",7),l=n(t,"contextLine",7),c=n(t,"retryLabel",7),f=n(t,"retrying",7),v=n(t,"retryNote",7),p=n(t,"keySlot",7,null),y=n(t,"loginCommandHint",7),w=n(t,"showClaudeDesktopNote",7,!1),I=n(t,"onRunLogin",7),T=n(t,"onRetry",7),A=n(t,"onSwitchTo",7),h=n(t,"onClose",7),E=_(()=>l()?.replace(" — "," / "));var $={get title(){return r()},set title(L){r(L),s()},get errorSummary(){return a()},set errorSummary(L){a(L),s()},get contextLine(){return l()},set contextLine(L){l(L),s()},get retryLabel(){return c()},set retryLabel(L){c(L),s()},get retrying(){return f()},set retrying(L){f(L),s()},get retryNote(){return v()},set retryNote(L){v(L),s()},get keySlot(){return p()},set keySlot(L=null){p(L),s()},get loginCommandHint(){return y()},set loginCommandHint(L){y(L),s()},get showClaudeDesktopNote(){return w()},set showClaudeDesktopNote(L=!1){w(L),s()},get onRunLogin(){return I()},set onRunLogin(L){I(L),s()},get onRetry(){return T()},set onRetry(L){T(L),s()},get onSwitchTo(){return A()},set onSwitchTo(L){A(L),s()},get onClose(){return h()},set onClose(L){h(L),s()},$set:ht,$on:(L,G)=>_t(t,L,G)},tt=xs(),k=z(tt),P=z(k);Wt(P,{variant:"error"}),Z(k);var x=S(k,2),B=z(x),i=z(B);{var g=L=>{var G=hs(),C=z(G);za(C,{get slot(){return p()}}),Z(G),u(L,G)};U(i,L=>{p()!=null&&L(g)})}var Q=S(i,2),O=vt(Q,!0);Z(B);var K=S(B,2),Y=vt(K,!0),M=S(K,2);{var et=L=>{var G=bs(),C=z(G),m=vt(C,!0),H=S(C,2),nt=z(H),j=vt(nt,!0),at=S(nt,2);Za(at,{get text(){return y()},size:"xs"});var At=S(at,2);{var Ot=kt=>{{let Rt=_(()=>F.chat_failureRecovery_runInTerminal_label()),Ft=_(()=>F.chat_failureRecovery_runInTerminal_label());Gt(kt,{variant:"ghost",size:"icon-compact",class:"[&_svg]:size-3",iconOnly:!0,get tooltip(){return e(Rt)},get"aria-label"(){return e(Ft)},get onclick(){return I()},"data-testid":"toast-auth-run-in-terminal",children:(se,qt)=>{ma(se,{get icon(){return gr},size:"xs"})},$$slots:{default:!0}})}};U(At,kt=>{I()&&kt(Ot)})}Z(H);var zt=S(H,2);{var wt=kt=>{var Rt=_s(),Ft=vt(Rt,!0);V(se=>W(Ft,se),[()=>F.settings_providers_claudeDesktopNote_label()]),u(kt,Rt)};U(zt,kt=>{w()&&kt(wt)})}Z(G),V(kt=>{W(m,kt),ct(nt,"title",y()),W(j,y())},[()=>F.settings_providers_runToLogIn_label()]),u(L,G)};U(M,L=>{y()&&L(et)})}var X=S(M,2);{var lt=L=>{var G=ys(),C=S(z(G),2),m=vt(C,!0);Z(G),V(()=>{ct(C,"title",e(E)),W(m,e(E))}),u(L,G)};U(X,L=>{e(E)&&L(lt)})}var q=S(X,2);{var Pt=L=>{var G=ws(),C=vt(G,!0);V(()=>W(C,v())),u(L,G)};U(q,L=>{v()&&L(Pt)})}var D=S(q,2),ot=z(D);Gt(ot,{variant:"outline",size:"compact",class:"toast-action",get disabled(){return f()},get onclick(){return T()},children:(L,G)=>{Kt();var C=Ht();V(m=>W(C,m),[()=>f()?F.ui_agentFailureToast_retrying_label():c()]),u(L,C)},$$slots:{default:!0}});var it=S(ot,2);Gt(it,{variant:"ghost",size:"compact",class:"toast-action",get onclick(){return A()},children:(L,G)=>{Kt();var C=Ht();V(m=>W(C,m),[()=>F.agent_failureToast_switchTo_label()]),u(L,C)},$$slots:{default:!0}}),Z(D),Z(x);var gt=S(x,2);{let L=_(()=>F.ui_agentFailureToast_close_ariaLabel());Pe(gt,{get onclick(){return h()},get ariaLabel(){return e(L)}})}return Z(tt),V(()=>{W(O,r()),W(Y,a())}),u(o,tt),yt($)}const Ts=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"}));var As=rt('<p class="min-w-0 truncate"> </p>'),Is=rt("<p> </p>"),Cs=rt('<div class="mt-1.5 flex min-w-0 items-center gap-1" data-testid="toast-auth-guidance"><code class="min-w-0 flex-1 truncate rounded bg-muted px-1.5 py-0.5 text-xs"> </code> <!> <!></div>'),Ss=rt('<p class="text-xs text-danger mt-1.5" data-toast-description="" data-toast-optional=""> </p>'),Ps=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="agent-failure-group"><span class="toast-first-line svelte-1x63pp0"><!></span> <div class="flex-1 min-w-0"><p class="toast-title min-w-0 svelte-1x63pp0" data-toast-title=""> </p> <p class="toast-description svelte-1x63pp0" data-toast-description=""> </p> <div class="toast-members svelte-1x63pp0" data-testid="toast-group-members" data-toast-optional=""><!> <!></div> <!> <!> <div class="toast-actions svelte-1x63pp0"><!> <!></div></div> <!></div>');function Ha(o,t){if(new.target)return pt({component:Ha,...o});bt(t,!0);let r=n(t,"title",7),a=n(t,"errorSummary",7),l=n(t,"members",7),c=n(t,"moreCount",7),f=n(t,"loginCommandHint",7),v=n(t,"onRunLogin",7),p=n(t,"retrying",7),y=n(t,"retryNote",7),w=n(t,"onSwitchAll",7),I=n(t,"onRetryAll",7),T=n(t,"onClose",7);var A={get title(){return r()},set title(D){r(D),s()},get errorSummary(){return a()},set errorSummary(D){a(D),s()},get members(){return l()},set members(D){l(D),s()},get moreCount(){return c()},set moreCount(D){c(D),s()},get loginCommandHint(){return f()},set loginCommandHint(D){f(D),s()},get onRunLogin(){return v()},set onRunLogin(D){v(D),s()},get retrying(){return p()},set retrying(D){p(D),s()},get retryNote(){return y()},set retryNote(D){y(D),s()},get onSwitchAll(){return w()},set onSwitchAll(D){w(D),s()},get onRetryAll(){return I()},set onRetryAll(D){I(D),s()},get onClose(){return T()},set onClose(D){T(D),s()},$set:ht,$on:(D,ot)=>_t(t,D,ot)},h=Ps(),E=z(h),$=z(E);Wt($,{variant:"error"}),Z(E);var tt=S(E,2),k=z(tt),P=vt(k,!0),x=S(k,2),B=vt(x,!0),i=S(x,2),g=z(i);ga(g,17,l,Io,(D,ot)=>{var it=As(),gt=vt(it,!0);V(()=>{ct(it,"title",e(ot)),W(gt,e(ot))}),u(D,it)});var Q=S(g,2);{var O=D=>{var ot=Is(),it=vt(ot,!0);V(gt=>W(it,gt),[()=>F.agent_failureGroupToast_more_label({count:c()})]),u(D,ot)};U(Q,D=>{c()>0&&D(O)})}Z(i);var K=S(i,2);{var Y=D=>{var ot=Cs(),it=z(ot),gt=vt(it,!0),L=S(it,2);Za(L,{get text(){return f()},size:"xs"});var G=S(L,2);{var C=m=>{{let H=_(()=>F.chat_failureRecovery_runInTerminal_label()),nt=_(()=>F.chat_failureRecovery_runInTerminal_label());Gt(m,{variant:"ghost",size:"icon-compact",class:"[&_svg]:size-3",iconOnly:!0,get tooltip(){return e(H)},get"aria-label"(){return e(nt)},get onclick(){return v()},"data-testid":"toast-auth-run-in-terminal",children:(j,at)=>{ma(j,{get icon(){return gr},size:"xs"})},$$slots:{default:!0}})}};U(G,m=>{v()&&m(C)})}Z(ot),V(()=>{ct(it,"title",f()),W(gt,f())}),u(D,ot)};U(K,D=>{f()&&D(Y)})}var M=S(K,2);{var et=D=>{var ot=Ss(),it=vt(ot,!0);V(()=>W(it,y())),u(D,ot)};U(M,D=>{y()&&D(et)})}var X=S(M,2),lt=z(X);Gt(lt,{variant:"outline",size:"compact",class:"toast-action",get onclick(){return w()},children:(D,ot)=>{Kt();var it=Ht();V(gt=>W(it,gt),[()=>F.agent_failureGroupToast_switchAll_label()]),u(D,it)},$$slots:{default:!0}});var q=S(lt,2);Gt(q,{variant:"ghost",size:"compact",class:"toast-action",get disabled(){return p()},get onclick(){return I()},children:(D,ot)=>{Kt();var it=Ht();V(gt=>W(it,gt),[()=>p()?F.ui_agentFailureToast_retrying_label():F.agent_failureGroupToast_retryAll_label()]),u(D,it)},$$slots:{default:!0}}),Z(X),Z(tt);var Pt=S(tt,2);{let D=_(()=>F.ui_agentFailureToast_close_ariaLabel());Pe(Pt,{get onclick(){return T()},get ariaLabel(){return e(D)}})}return Z(h),V(()=>{W(P,r()),W(B,a())}),u(o,h),yt(A)}const Ls=Object.freeze(Object.defineProperty({__proto__:null,default:Ha},Symbol.toStringTag,{value:"Module"}));var ks=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="application-error"><span class="first-line-icon toast-first-line svelte-otnmra"><!></span> <div class="flex-1 min-w-0"><p class="toast-title svelte-otnmra" data-toast-title=""> </p> <p class="toast-description svelte-otnmra" data-toast-description=""> </p> <div class="toast-actions svelte-otnmra"><!> <!> <!></div></div> <!></div>');function Fa(o,t){if(new.target)return pt({component:Fa,...o});bt(t,!0);let r=n(t,"error",7),a=n(t,"onCopy",7),l=n(t,"onDebug",7),c=n(t,"onRetry",7);const f=lr();function v(){f("closeToast")}function p(O){switch(O){case"warning":return"warning";case"info":return"info";default:return"error"}}var y={get error(){return r()},set error(O){r(O),s()},get onCopy(){return a()},set onCopy(O){a(O),s()},get onDebug(){return l()},set onDebug(O){l(O),s()},get onRetry(){return c()},set onRetry(O){c(O),s()},$set:ht,$on:(O,K)=>_t(t,O,K)},w=ks(),I=z(w),T=z(I);{let O=_(()=>p(r().type));Wt(T,{get variant(){return e(O)}})}Z(I);var A=S(I,2),h=z(A),E=vt(h,!0),$=S(h,2),tt=vt($,!0),k=S($,2),P=z(k);{var x=O=>{Gt(O,{variant:"outline",size:"compact",class:"toast-action",get onclick(){return c()},children:(K,Y)=>{Kt();var M=Ht();V(et=>W(M,et),[()=>F.ui_errorToast_retry_label()]),u(K,M)},$$slots:{default:!0}})};U(P,O=>{r().recoverable&&c()&&O(x)})}var B=S(P,2);{var i=O=>{Gt(O,{variant:"outline",size:"compact",class:"toast-action",get onclick(){return l()},children:(K,Y)=>{Kt();var M=Ht();V(et=>W(M,et),[()=>F.ui_errorToast_debug_label()]),u(K,M)},$$slots:{default:!0}})};U(B,O=>{l()&&O(i)})}var g=S(B,2);Gt(g,{variant:"ghost",size:"compact",class:"toast-action",get onclick(){return a()},children:(O,K)=>{Kt();var Y=Ht();V(M=>W(Y,M),[()=>F.ui_errorToast_copy_label()]),u(O,Y)},$$slots:{default:!0}}),Z(k),Z(A);var Q=S(A,2);{let O=_(()=>F.ui_errorToast_close_ariaLabel());Pe(Q,{onclick:v,get ariaLabel(){return e(O)}})}return Z(w),V(()=>{W(E,r().title),W(tt,r().message)}),u(o,w),yt(y)}const Ms=Object.freeze(Object.defineProperty({__proto__:null,default:Fa},Symbol.toStringTag,{value:"Module"}));var Ds=rt("<div><!></div> <!>",1);function ja(o,t){if(new.target)return pt({component:ja,...o});bt(t,!0);const r=()=>Fe(h,"$isDarkTheme",a),[a,l]=nr();let c=n(t,"regionId",7,"app-toast-region"),f=n(t,"toasterId",7),v=n(t,"position",7,"bottom-left"),p=n(t,"staticPosition",7,!1),y=n(t,"staticToastCount",7),w=n(t,"onClearAll",7),I=n(t,"containerAriaLabel",23,()=>F.ui_toast_notifications_ariaLabel());const T=Se(()=>p()),A=ao(typeof document<"u"&&document.documentElement.classList.contains("dark")),h=T?A:xo(),E=ur(dr()+2);fr(E);let $=Ct(0),tt=Ct(3),k=_(()=>y()??e($)),P=_(()=>e(k)>=2),x=_(()=>({bottom:e(P)?"calc(1rem + var(--control-height-large) + 0.5rem)":16,left:16})),B=_(()=>e(x)),i;Oa(()=>{const q=T?new MutationObserver(()=>A.set(document.documentElement.classList.contains("dark"))):void 0;q?.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const Pt=new Set,D=new ResizeObserver(()=>ot()),ot=()=>{for(const m of i.querySelectorAll("[data-sonner-toast]"))m.inert=m.dataset.removed==="true"||m.dataset.visible==="false"||m.dataset.front==="false"&&m.dataset.expanded==="false";const gt=Array.from(i.querySelectorAll('[data-sonner-toast]:not([data-removed="true"])'));R($,gt.length,!0);const L=gt.flatMap(m=>[m,...m.querySelectorAll(":scope > *, [data-title], [data-description], [data-toast-title], [data-toast-description]")]);for(const m of Pt)L.includes(m)||(D.unobserve(m),Pt.delete(m));for(const m of L)Pt.has(m)||(D.observe(m),Pt.add(m));for(const m of gt){const H=m.querySelector(":scope > [data-close-button]");H&&m.lastElementChild!==H&&m.append(H);const nt=m.querySelector("[data-title]");if(nt){const j=Array.from(m.querySelectorAll(":scope > [data-button], .toast-undo-action")),at=getComputedStyle(m),Ot=j.reduce((zt,wt)=>zt+Math.max(wt.scrollWidth,wt.offsetWidth)+10,0)+(m.querySelector("[data-icon]")?26:0)+(H?32:0)+Number.parseFloat(at.paddingLeft)+Number.parseFloat(at.paddingRight)+Math.min(96,nt.scrollWidth);m.toggleAttribute("data-toast-footer",Ot>m.clientWidth)}for(const j of m.querySelectorAll("[data-title], [data-description], [data-toast-title], [data-toast-description]"))j.textContent&&(j.title=j.textContent.trim())}for(const m of i.querySelectorAll("[data-sonner-toaster]")){const H=getComputedStyle(m),nt=`calc(100dvh - ${H.getPropertyValue("--offset-top")} - ${H.getPropertyValue("--offset-bottom")})`;m.style.getPropertyValue("--toast-available-height")!==nt&&m.style.setProperty("--toast-available-height",nt)}const G=new Map;for(const m of gt){m.setAttribute("data-toast-measuring","");for(let H=0;H<=3&&(m.dataset.toastCompact=String(H),!(m.scrollHeight<=m.clientHeight+1&&m.scrollWidth<=m.clientWidth+1));H+=1);G.set(m,m.offsetHeight),m.removeAttribute("data-toast-measuring")}let C=3;for(const m of i.querySelectorAll("[data-sonner-toaster]")){const H=gt.filter(at=>at.parentElement===m).sort((at,At)=>Number(at.dataset.index)-Number(At.dataset.index));let nt=0;for(const at of H){const At=`${nt}px`;at.style.getPropertyValue("--toast-stack-offset")!==At&&at.style.setProperty("--toast-stack-offset",At),nt+=(G.get(at)??0)+8}const j=`${H[0]?G.get(H[0]):0}px`;if(m.style.getPropertyValue("--toast-front-height")!==j&&m.style.setProperty("--toast-front-height",j),m.toggleAttribute("data-toast-sized",H.length>0),!T){const at=getComputedStyle(m),At=m.dataset.yPosition==="top"?at.top:at.bottom,Ot=window.innerHeight-(Number.parseFloat(At)||0)-16;let zt=0,wt=0;for(const kt of H.slice(0,3)){if(zt+=(G.get(kt)??0)+(wt?8:0),zt>Ot&&wt)break;wt+=1}C=Math.min(C,Math.max(1,wt))}}R(tt,C,!0)},it=new MutationObserver(ot);return it.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-visible","data-removed","data-front","data-expanded","style","open"]}),window.addEventListener("resize",ot),ot(),()=>{q?.disconnect(),it.disconnect(),D.disconnect(),window.removeEventListener("resize",ot)}});function g(){w()?w()():ee.dismiss(),R($,0)}var Q={get regionId(){return c()},set regionId(q="app-toast-region"){c(q),s()},get toasterId(){return f()},set toasterId(q){f(q),s()},get position(){return v()},set position(q="bottom-left"){v(q),s()},get staticPosition(){return p()},set staticPosition(q=!1){p(q),s()},get staticToastCount(){return y()},set staticToastCount(q){y(q),s()},get onClearAll(){return w()},set onClearAll(q){w(q),s()},get containerAriaLabel(){return I()},set containerAriaLabel(q=F.ui_toast_notifications_ariaLabel()){I(q),s()},$set:ht,$on:(q,Pt)=>_t(t,q,Pt)},O=Ds(),K=N(O);let Y;var M=z(K);{const q=m=>{Wt(m,{variant:"success"})},Pt=m=>{Wt(m,{variant:"error"})},D=m=>{Wt(m,{variant:"warning"})},ot=m=>{Wt(m,{variant:"info"})},it=m=>{Wt(m,{variant:"loading"})},gt=m=>{vr(m,{size:16,"aria-hidden":"true"})};let L=_(()=>r()?"dark":"light"),G=_(()=>F.ui_toast_close_ariaLabel()),C=_(()=>({classes:{toast:`group toast w-full min-w-0 max-w-full group-[.toaster]:text-foreground ${To(E)}`,description:"group-[.toast]:text-subtle",actionButton:"toast-action-button",cancelButton:"group-[.toast]:bg-transparent group-[.toast]:text-foreground group-[.toast]:border group-[.toast]:border-border group-[.toast]:hover:bg-muted",action:"font-medium"}}));Dr(M,{get id(){return f()},get theme(){return e(L)},class:"toaster group",style:"--app-toast-width: min(22rem, calc(100vw - clamp(2rem, 8vw, 4rem)))",get offset(){return e(x)},get mobileOffset(){return e(B)},get containerAriaLabel(){return I()},get closeButtonAriaLabel(){return e(G)},get toastOptions(){return e(C)},get position(){return v()},closeButton:!0,duration:1e4,gap:8,get visibleToasts(){return e(tt)},successIcon:q,errorIcon:Pt,warningIcon:D,infoIcon:ot,loadingIcon:it,closeIcon:gt,$$slots:{successIcon:!0,errorIcon:!0,warningIcon:!0,infoIcon:!0,loadingIcon:!0,closeIcon:!0}})}Z(K),Ba(K,q=>i=q,()=>i);var et=S(K,2);{var X=q=>{{let Pt=_(()=>p()?"toast-clear-all toast-clear-all-static":"toast-clear-all"),D=_(()=>F.ui_toast_clearAll_ariaLabel({count:e(k)}));Gt(q,{variant:"secondary",size:"lg",get class(){return e(Pt)},onclick:g,get"aria-controls"(){return c()},get"aria-label"(){return e(D)},children:(ot,it)=>{Kt();var gt=Ht();V(L=>W(gt,L),[()=>F.ui_toast_clearAll_label()]),u(ot,gt)},$$slots:{default:!0}})}};U(et,q=>{e(P)&&q(X)})}V(()=>{ct(K,"id",c()),ct(K,"data-surface-level",E),Qe(K,`--toast-surface: ${Ao[E]??""}`),Y=ne(K,1,"svelte-5x04q2",null,Y,{"toast-static":p()})}),u(o,O);var lt=yt(Q);return l(),lt}const Os=Object.freeze(Object.defineProperty({__proto__:null,default:ja},Symbol.toStringTag,{value:"Module"}));var Es=rt('<span> </span> <kbd data-toast-shortcut="" class="svelte-ywowy2">⌘Z</kbd>',1);function Zr(o,t){if(new.target)return pt({component:Zr,...o});bt(t,!0);let r=n(t,"onclick",7,()=>{});var a={get onclick(){return r()},set onclick(l=()=>{}){r(l),s()},$set:ht,$on:(l,c)=>_t(t,l,c)};return Gt(o,{variant:"outline",size:"compact",class:"toast-undo-action",get onclick(){return r()},children:(l,c)=>{var f=Es(),v=N(f),p=vt(v,!0);Kt(2),V(y=>W(p,y),[()=>F.ui_reversibleActions_undo_label()]),u(l,f)},$$slots:{default:!0}}),yt(a)}const Bs=xe.createSelector(o=>o.autoUpdate.status),Zs=xe.createSelector(o=>o.autoUpdate.currentVersion),zs=xe.createSelector(o=>o.autoUpdate.updateInfo),Rs=xe.createSelector(o=>o.autoUpdate.progress),Ns=xe.createSelector(o=>o.autoUpdate.error),Pi=xe.createSelector(o=>o.autoUpdate.shareStatistics),Li=xe.createSelector(o=>o.autoUpdate.toastVisible),ki=xe.createSelector(o=>o.autoUpdate.downloadedToastDismissedAt),Mi=xe.createSelector(o=>o.autoUpdate.status==="downloaded");var Hs=rt('<div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div></div>'),or=rt('<div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div> <!></div> <div class="description svelte-1jnlue7" data-toast-description=""> </div>',1),Fs=rt('<div class="toast-downloading"><div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div> <span class="toast-progress-label svelte-1jnlue7"> </span> <!></div> <div class="description svelte-1jnlue7" data-toast-description=""><!><!></div> <div class="progress-bar svelte-1jnlue7"><div class="progress-fill svelte-1jnlue7"></div></div></div>'),js=rt('<div class="toast-row svelte-1jnlue7"><div class="flex shrink-0"><!></div> <div class="title svelte-1jnlue7" data-toast-title=""> </div> <!> <!></div> <div class="description svelte-1jnlue7" data-toast-description=""> </div>',1),Vs=rt('<div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div></div> <div class="description svelte-1jnlue7" data-toast-description=""> </div>',1),Us=rt('<div class="update-toast svelte-1jnlue7"><!></div>');function Va(o,t){if(new.target)return pt({component:Va,...o});bt(t,!0);const r=()=>Fe(E,"$status$",v),a=()=>Fe($,"$progress$",v),l=()=>Fe(tt,"$updateInfo$",v),c=()=>Fe(k,"$currentVersion$",v),f=()=>Fe(P,"$error$",v),[v,p]=nr();let y=n(t,"onDismiss",7),w=n(t,"onAutoDismiss",7),I=n(t,"closeToast",7),T=n(t,"previewState",7);function A(){y()?.(),I()?.()}const h=Se(()=>T()),E=h?Xe(h.status):Bs(),$=h?Xe(h.progress??null):Rs(),tt=h?Xe(h.updateInfo??null):zs(),k=h?Xe(h.currentVersion??""):Zs(),P=h?Xe(h.error??null):Ns();let x=_(()=>T()?.status??r()),B=_(()=>T()?.progress??a()),i=_(()=>T()?.updateInfo??l()),g=_(()=>T()?.currentVersion??c()),Q=_(()=>T()?.error??f()),O=_(()=>e(B)?Math.round(e(B).percent):0),K=_(()=>T()?.remainingSeconds??(e(B)&&e(B).bytesPerSecond>0?Math.max(0,Math.ceil((e(B).total-e(B).transferred)/e(B).bytesPerSecond)):null));function Y(C){return C>=1024*1024?F.ui_updateToast_speedMbps_label({speed:_o(C/(1024*1024),{minimumFractionDigits:1,maximumFractionDigits:1})}):C>=1024?F.ui_updateToast_speedKbps_label({speed:Ve(C/1024)}):F.ui_updateToast_speedBps_label({speed:Ve(C)})}function M(){if(T()){T().onInstall?.();return}xe.dispatch(Zo())}function et(){if(T()){T().onDownload?.();return}xe.dispatch(Bo())}be(()=>{const C=w()??y();if((e(x)==="not-available"||e(x)==="error")&&C){const m=e(x)==="error"?5e3:3e3,H=setTimeout(()=>{C()},m);return()=>clearTimeout(H)}});var X={get onDismiss(){return y()},set onDismiss(C){y(C),s()},get onAutoDismiss(){return w()},set onAutoDismiss(C){w(C),s()},get closeToast(){return I()},set closeToast(C){I(C),s()},get previewState(){return T()},set previewState(C){T(C),s()},$set:ht,$on:(C,m)=>_t(t,C,m)},lt=Us(),q=z(lt);{var Pt=C=>{var m=Hs(),H=z(m);Wt(H,{variant:"loading"});var nt=S(H,2),j=vt(nt,!0);Z(m),V(at=>W(j,at),[()=>F.ui_updateToast_checking_label()]),u(C,m)},D=C=>{var m=or(),H=N(m),nt=z(H);Wt(nt,{variant:"update"});var j=S(nt,2),at=vt(j,!0),At=S(j,2);Gt(At,{variant:"primary",size:"compact",class:"toast-action ml-auto",onclick:et,children:(wt,kt)=>{Kt();var Rt=Ht();V(Ft=>W(Rt,Ft),[()=>F.ui_updateToast_download_label()]),u(wt,Rt)},$$slots:{default:!0}}),Z(H);var Ot=S(H,2),zt=vt(Ot,!0);V((wt,kt)=>{W(at,wt),W(zt,kt)},[()=>F.ui_updateToast_available_label({version:e(i)?.version||""}),()=>T()?.availableDescription??F.ui_updateToast_readyToDownload_description()]),u(C,m)},ot=C=>{var m=Fs(),H=z(m),nt=z(H);Wt(nt,{variant:"update"});var j=S(nt,2),at=vt(j,!0),At=S(j,2),Ot=vt(At),zt=S(At,2);{let ae=_(()=>F.ui_updateToast_close_ariaLabel());Pe(zt,{inline:!0,onclick:A,get ariaLabel(){return e(ae)}})}Z(H);var wt=S(H,2),kt=z(wt);{var Rt=ae=>{var ve=Ht();V(ie=>W(ve,ie),[()=>Y(e(B).bytesPerSecond)]),u(ae,ve)};U(kt,ae=>{e(B)&&ae(Rt)})}var Ft=S(kt);{var se=ae=>{var ve=Ht();V(ie=>W(ve,`· ${ie??""}`),[()=>F.ui_updateToast_remainingSeconds_label({seconds:Ve(e(K))})]),u(ae,ve)};U(Ft,ae=>{e(K)!=null&&ae(se)})}Z(wt);var qt=S(wt,2),qe=vt(qt);Z(m),V((ae,ve)=>{W(at,ae),W(Ot,`${ve??""}%`),Qe(qe,`width: ${e(O)??""}%`)},[()=>F.ui_updateToast_downloading_label({version:e(i)?.version||""}),()=>Ve(e(O))]),u(C,m)},it=C=>{var m=js(),H=N(m),nt=z(H),j=z(nt);Wt(j,{variant:"celebrate"}),Z(nt);var at=S(nt,2),At=vt(at,!0),Ot=S(at,2);Gt(Ot,{variant:"primary",size:"compact",class:"toast-action",onclick:M,children:(Rt,Ft)=>{Kt();var se=Ht();V(qt=>W(se,qt),[()=>F.ui_updateToast_restart_label()]),u(Rt,se)},$$slots:{default:!0}});var zt=S(Ot,2);{let Rt=_(()=>F.ui_updateToast_close_ariaLabel());Pe(zt,{inline:!0,onclick:A,get ariaLabel(){return e(Rt)}})}Z(H);var wt=S(H,2),kt=vt(wt,!0);V((Rt,Ft)=>{W(At,Rt),W(kt,Ft)},[()=>F.ui_updateToast_updateReady_label(),()=>F.ui_updateToast_installOnRestart_description({version:e(i)?.version??""})]),pa(1,nt,()=>mr,()=>({tier:"slow",y:30,scale:1})),pa(2,nt,()=>pr,()=>({tier:"slow"})),u(C,m)},gt=C=>{var m=Vs(),H=N(m),nt=z(H);Wt(nt,{variant:"celebrate"});var j=S(nt,2),at=vt(j,!0);Z(H);var At=S(H,2),Ot=vt(At,!0);V((zt,wt)=>{W(at,zt),W(Ot,wt)},[()=>F.ui_updateToast_upToDate_label(),()=>F.ui_updateToast_runningVersion_description({version:e(g)??""})]),u(C,m)},L=C=>{var m=or(),H=N(m),nt=z(H);Wt(nt,{variant:"error"});var j=S(nt,2),at=vt(j,!0),At=S(j,2);{let wt=_(()=>F.ui_updateToast_close_ariaLabel());Pe(At,{inline:!0,onclick:A,get ariaLabel(){return e(wt)}})}Z(H);var Ot=S(H,2),zt=vt(Ot,!0);V((wt,kt)=>{W(at,wt),W(zt,kt)},[()=>F.ui_updateToast_checkFailed_label(),()=>e(Q)||F.ui_updateToast_unknown_error()]),u(C,m)};U(q,C=>{e(x)==="checking"?C(Pt):e(x)==="available"?C(D,1):e(x)==="downloading"?C(ot,2):e(x)==="downloaded"?C(it,3):e(x)==="not-available"?C(gt,4):e(x)==="error"&&C(L,5)})}Z(lt),u(o,lt);var G=yt(X);return p(),G}const Ws=Object.freeze(Object.defineProperty({__proto__:null,default:Va},Symbol.toStringTag,{value:"Module"})),Da="toast-countdown",zr="toast-countdown-no-hover-pause";function Rr(o,{pauseOnHover:t=!0}={}){const{duration:r}=o;if(typeof r!="number"||!Number.isFinite(r)||r<=0)return o;const a=t?Da:`${Da} ${zr}`,l=`--toast-countdown-duration: ${r}ms`;return{...o,class:o.class?`${o.class} ${a}`:a,style:o.style?`${o.style}; ${l}`:l}}const Ks=[{id:"toast-state-matrix",title:"Toast notification styles",states:["success","error","warning","info","loading","notify-error-details","app-error","agent-failure","agent-attention","update-available","update-downloading","undoable-paused","multi-toast-stack","clear-all","live-actions","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}],Gs=oo({id:"toast",source:"src/lib/components/ui/toast/index.ts",publicImport:"$lib/components/ui/toast",legacyImports:["$lib/components/ui/toast/Toast.svelte"],exports:["AgentAttentionToast","AgentAttentionToastComponent","AgentFailureToast","AgentFailureToastComponent","ErrorToast","ErrorToastComponent","ExternalToast","TOAST_COUNTDOWN_CLASS","TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS","Toast","ToastCloseButton","ToastGlyph","ToastUndoAction","ToastComponent","UpdateToast","UpdateToastComponent","loadAgentAttentionToast","loadAgentFailureToast","loadErrorToast","loadToast","loadUpdateToast","toast","toastMetadata","withToastCountdown"],category:"pattern",owner:"007-B1",callers:["src/features/hud/components/DockConversationNotifications.svelte","src/lib/component-catalog/renderers/ToastCatalogPreview.svelte","src/lib/components/layout/DaemonStatusIndicator.svelte","src/lib/components/patterns/notify/index.ts","src/lib/components/patterns/notify/notify.ts","src/routes/(app)/+layout.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/toast/Toast.test.ts",removalGate:"Retain while toast styling, countdown, actions, and catalog coverage pass.",dynamicImports:["src/features/agent/agent-attention-toast-service.ts"],fixtures:Ks}),qs=()=>Ge(()=>Promise.resolve().then(()=>ps),void 0,import.meta.url).then(o=>o.default),Nr=()=>Ge(()=>Promise.resolve().then(()=>Ts),void 0,import.meta.url).then(o=>o.default),Hr=()=>Ge(()=>Promise.resolve().then(()=>Ls),void 0,import.meta.url).then(o=>o.default),Fr=()=>Ge(()=>Promise.resolve().then(()=>Ms),void 0,import.meta.url).then(o=>o.default),Ys=()=>Ge(()=>Promise.resolve().then(()=>Os),void 0,import.meta.url).then(o=>o.default),jr=()=>Ge(()=>Promise.resolve().then(()=>Ws),void 0,import.meta.url).then(o=>o.default),Di=Object.freeze(Object.defineProperty({__proto__:null,AgentAttentionToast:Ra,AgentFailureGroupToast:Ha,AgentFailureToast:Na,ErrorToast:Fa,TOAST_COUNTDOWN_CLASS:Da,TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS:zr,Toast:ja,ToastCloseButton:Pe,ToastGlyph:Wt,ToastUndoAction:Zr,UpdateToast:Va,loadAgentAttentionToast:qs,loadAgentFailureGroupToast:Hr,loadAgentFailureToast:Nr,loadErrorToast:Fr,loadToast:Ys,loadUpdateToast:jr,toast:ee,toastMetadata:Gs,withToastCountdown:Rr},Symbol.toStringTag,{value:"Module"}));var Xs=rt('<div class="error-details flex min-w-0 flex-1 items-start gap-2.5 svelte-1bwdghe" data-toast-layout="error-details"><!> <div class="min-w-0 flex-1"><p class="toast-title font-medium text-foreground svelte-1bwdghe" data-toast-title=""> </p> <details class="mt-2 min-w-0 text-muted-foreground svelte-1bwdghe"><summary class="toast-details-summary type-caption inline-flex cursor-pointer items-center gap-2 text-muted-foreground select-none svelte-1bwdghe"><span class="toast-details-chevron svelte-1bwdghe" aria-hidden="true">›</span> </summary> <div class="mt-2 rounded-(--radius-medium) bg-muted p-2" data-toast-optional=""><pre class="type-caption whitespace-pre-wrap break-all font-mono" data-toast-description=""> </pre></div> <div class="mt-2 flex justify-end gap-2"><!></div></details></div> <!></div>');function Vr(o,t){if(new.target)return pt({component:Vr,...o});bt(t,!0);let r=n(t,"message",7),a=n(t,"details",7),l=n(t,"closeToast",7);const c=lr();async function f(){await navigator.clipboard.writeText(a())}var v={get message(){return r()},set message(i){r(i),s()},get details(){return a()},set details(i){a(i),s()},get closeToast(){return l()},set closeToast(i){l(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},p=Xs(),y=z(p);Wt(y,{variant:"error"});var w=S(y,2),I=z(w),T=vt(I,!0),A=S(I,2),h=z(A),E=S(z(h));Z(h);var $=S(h,2),tt=z($),k=vt(tt,!0);Z($);var P=S($,2),x=z(P);Gt(x,{variant:"ghost",size:"compact",class:"toast-detail-copy",onclick:f,children:(i,g)=>{Kt();var Q=Ht();V(O=>W(Q,O),[()=>F.ui_errorToast_copy_label()]),u(i,Q)},$$slots:{default:!0}}),Z(P),Z(A),Z(w);var B=S(w,2);{let i=_(()=>F.ui_toast_close_ariaLabel());Pe(B,{inline:!0,onclick:()=>l()?l()():c("closeToast"),get ariaLabel(){return e(i)}})}return Z(p),V(i=>{W(T,r()),W(E,` ${i??""}`),W(k,a())},[()=>F.chat_toolCall_technicalDetails_label()]),u(o,p),yt(v)}const Ur={success:2e3,info:5e3,warning:1e4,error:15e3,custom:1e4,undoable:1e4,progress:Number.POSITIVE_INFINITY},ua=new Map;let Qs=0;function we(o,t={}){const{key:r,stayOnMachine:a,...l}=t;return{duration:Ur[o],...l,id:r??l.id}}function Js(o){return o instanceof Error?{message:o.message,details:o.stack??`${o.name}: ${o.message}`}:o}function Ua(o,t={}){if(typeof o=="string")return Ue("error",o),ee.error(o,we("error",t));const r=Js(o);if(Ue("error",r.message),!r.details)return ee.error(r.message,we("error",t));const a=we("error",t);return ee.custom(Vr,{...a,componentProps:r})}function $s(o){return ee.dismiss(typeof o=="object"?o.id:o)}function ti(o,t={}){const r=ee.loading(o,we("progress",t));return{id:r,update(a,l={}){ee.loading(a,we("progress",{...l,id:r}))},success(a,l={}){ee.success(a,we("success",{...l,id:r}))},error(a,l={}){Ua(a,{...l,id:r})},dismiss(){ee.dismiss(r)}}}function ei(o,t){const{undoLabel:r,onUndo:a,onExpire:l,...c}=t,f=we("undoable",c),v=f.duration??Ur.undoable;let p=f.id;const y=p===void 0?void 0:ua.get(p);y&&clearTimeout(y);let w=!1;const I=()=>{if(w=!0,p===void 0)return;const A=ua.get(p);A&&clearTimeout(A),ua.delete(p)},T=async()=>{I();try{await a(),p!==void 0&&ee.dismiss(p)}catch(A){Ua(A instanceof Error?A:new Error(String(A)))}};return p=ee.warning(o,Rr({...f,action:{label:r,onClick:T}},{pauseOnHover:!1})),l&&Number.isFinite(v)&&v>0&&ua.set(p,setTimeout(()=>{w||(I(),l())},v)),p}function Wr(o,t={}){return ee.custom(o,we("custom",t))}function da(o,t,r={}){const a=r.key??r.id??`notify:custom:${++Qs}`;return o().then(l=>{Wr(l,{...r,id:a,componentProps:t})}),a}const Oi={success:(o,t)=>(Ue("success",o),ee.success(o,we("success",t))),info:(o,t)=>(t?.stayOnMachine||Ue("info",o),ee.info(o,we("info",t))),warning:(o,t)=>(t?.stayOnMachine||Ue("warning",o),ee.warning(o,we("warning",t))),error:Ua,progress:ti,undoable:ei,custom:Wr,dismiss:$s,agentFailure:(o,t)=>da(Nr,o,t),agentFailureGroup:(o,t)=>da(Hr,o,t),appError:(o,t)=>(Ue(o.error.type,o.error.title||o.error.message),da(Fr,o,t)),update:(o,t)=>da(jr,o,t)},ai=[{id:"notify-states",title:"Notification states",states:["success","info","warning","error","progress","undoable","custom","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0}],Ei=zo({id:"notify",source:"src/lib/components/patterns/notify/index.ts",publicImport:"$lib/components/patterns/notify",exports:["notify","NOTIFY_DURATION","withToastCountdown"],owner:"design-system",fixtures:ai,useWhen:["Reporting transient success, information, warning, or error feedback.","Reporting progress or a reversible action that needs a consistent duration and deduplication policy."],dontUseWhen:["The user must make a decision before continuing; use the Confirm pattern instead.","The message is persistent page content or field-level validation feedback."],replaces:["Direct svelte-sonner calls and feature-specific toast policy wrappers."]});export{Za as C,rn as M,Ur as N,en as P,Tr as R,Da as T,Ii as a,Ci as b,za as c,zr as d,ja as e,yr as f,xr as g,Ar as h,wr as i,Ue as j,Di as k,on as l,Oi as m,Si as n,Ei as o,Bs as p,Li as q,Mi as r,ki as s,Pi as t,ee as u,Rr as w};
1
+ var qr=Object.defineProperty;var Ka=o=>{throw TypeError(o)};var Yr=(o,t,r)=>t in o?qr(o,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):o[t]=r;var Vt=(o,t,r)=>Yr(o,typeof t!="symbol"?t+"":t,r),Ga=(o,t,r)=>t.has(o)||Ka("Cannot "+r);var Ut=(o,t,r)=>(Ga(o,t,"read from private field"),r?r.call(o):t.get(o)),Oe=(o,t,r)=>t.has(o)?Ka("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(o):t.set(o,r),Pa=(o,t,r,a)=>(Ga(o,t,"write to private field"),a?a.call(o,r):t.set(o,r),r);import{I as Xr}from"./Bqd7fdCF.js";import{t as pt,bo as n,bw as ht,b as _t,bp as Te,br as ye,bm as F,bq as nr,bs as Fe,_ as Ge}from"./Fcr7AvC-.js";import{bs as bt,a7 as J,ay as N,W as u,bn as yt,aA as s,aD as e,a5 as z,bA as Z,c9 as _,aB as rt,bf as re,b_ as V,aC as St,bo as Qr,bS as S,bV as Ct,br as Ke,bH as R,bj as sr,be as Kt,b$ as Ht,bO as W,bl as vt,aG as Jr,bI as $r,c5 as Se,ca as be,bi as ir,bk as Oa,aj as He,aw as to,ai as eo,a9 as lr,cd as ao,bv as Xe}from"./3SdAC2_C.js";import{i as U}from"./BhYXv0ZM.js";import{b as Be,s as ct,e as fa,f as ne,c as _e,g as Qe,S as ro,p as oo}from"./BRCr02in.js";import{aZ as va,aQ as Je,G as no,av as je,az as qa,aS as ia,ag as so,a0 as io,$ as lo,aH as Ya,ak as co,ai as uo,a1 as fo,af as vo,aj as go,f as Gt}from"./Beq_QLuz.js";import{Y as cr}from"./BAtAwQ72.js";import{c as mo,n as po,k as ho,l as Ve,m as _o}from"./C7b3vXLD.js";import{u as bo,p as yo,f as wo,c as xo}from"./DRMe5Ypb.js";import{c as Jt}from"./2z64ELW5.js";import{t as Zt}from"./CWfjuhY2.js";import{c as ur,u as dr,s as fr,a as To,S as Ao}from"./D9tVylVS.js";import{g as ga,X as vr,h as Ea,i as Io}from"./CA6H1-bp.js";import{F as ma,au as Co,aZ as So,i as Po,W as Lo,X as ko,z as Mo,p as Do,cK as gr}from"./ChHRVjww.js";import{k as Oo}from"./Cc0763mU.js";import{n as pa,l as mr,c as pr}from"./CxR-pcVt.js";import{l as Eo}from"./ChTqQfQN.js";import{b as Ba}from"./Dn334wJv.js";import"./DU3vNstz.js";import{JH as xe,m3 as Bo,rs as Zo}from"./D0qhIm1r.js";import{p as zo}from"./XJv96NUg.js";var Ro=new Set(["$$slots","$$events","$$legacy","id","children","child","width","height"]),No=St('<svg viewBox="0 0 30 10" preserveAspectRatio="none" data-arrow=""><polygon points="0,0 30,0 15,10" fill="currentColor"></polygon></svg>'),Ho=rt("<span><!></span>");function hr(o,t){if(new.target)return pt({component:hr,...o});bt(t,!0);let r=n(t,"id",23,va),a=n(t,"children",7),l=n(t,"child",7),c=n(t,"width",7,10),f=n(t,"height",7,5),v=Te(t,Ro);const p=_(()=>Je(v,{id:r()}));var y={get id(){return r()},set id(h=va()){r(h),s()},get children(){return a()},set children(h){a(h),s()},get child(){return l()},set child(h){l(h),s()},get width(){return c()},set width(h=10){c(h),s()},get height(){return f()},set height(h=5){f(h),s()},$set:ht,$on:(h,E)=>_t(t,h,E)},w=J(),I=N(w);{var T=h=>{var E=J(),$=N(E);Zt($,l,()=>({props:e(p)})),u(h,E)},A=h=>{var E=Ho();Be(E,()=>({...e(p)}));var $=z(E);{var tt=P=>{var x=J(),B=N(x);Zt(B,()=>a()??re),u(P,x)},k=P=>{var x=No();V(()=>{ct(x,"width",c()),ct(x,"height",f())}),u(P,x)};U($,P=>{a()?P(tt):P(k,-1)})}Z(E),u(h,E)};U(I,h=>{l()?h(T):h(A,-1)})}return u(o,w),yt(y)}var Fo=new Set(["$$slots","$$events","$$legacy","id","ref"]);function _r(o,t){if(new.target)return pt({component:_r,...o});bt(t,!0);let r=n(t,"id",23,va),a=n(t,"ref",15,null),l=Te(t,Fo);const c=no.create({id:je(()=>r()),ref:je(()=>a(),p=>a(p))}),f=_(()=>Je(l,c.props));var v={get id(){return r()},set id(p=va()){r(p),s()},get ref(){return a()},set ref(p=null){a(p),s()},$set:ht,$on:(p,y)=>_t(t,p,y)};return hr(o,ye(()=>e(f))),yt(v)}var jo=new Set(["$$slots","$$events","$$legacy","children","child","id","ref","onInteractOutside","onEscapeKeydown","forceMount","style"]),Xa=rt("<div><!></div>");function br(o,t){const r=Qr();if(new.target)return pt({component:br,...o});bt(t,!0);let a=n(t,"children",7),l=n(t,"child",7),c=n(t,"id",23,()=>qa(r)),f=n(t,"ref",15,null),v=n(t,"onInteractOutside",7,ia),p=n(t,"onEscapeKeydown",7,ia),y=n(t,"forceMount",7,!1),w=n(t,"style",7),I=Te(t,jo);const T=so.create({id:je(()=>c()),ref:je(()=>f(),P=>f(P)),onInteractOutside:je(()=>v()),onEscapeKeydown:je(()=>p())}),A=_(()=>Je(I,T.props));var h={get children(){return a()},set children(P){a(P),s()},get child(){return l()},set child(P){l(P),s()},get id(){return c()},set id(P=qa(r)){c(P),s()},get ref(){return f()},set ref(P=null){f(P),s()},get onInteractOutside(){return v()},set onInteractOutside(P=ia){v(P),s()},get onEscapeKeydown(){return p()},set onEscapeKeydown(P=ia){p(P),s()},get forceMount(){return y()},set forceMount(P=!1){y(P),s()},get style(){return w()},set style(P){w(P),s()},$set:ht,$on:(P,x)=>_t(t,P,x)},E=J(),$=N(E);{var tt=P=>{io(P,ye(()=>e(A),()=>T.popperProps,{isStatic:!0,get enabled(){return T.root.opts.open.current},get id(){return c()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!0,get ref(){return T.opts.ref},tooltip:!0,get shouldRender(){return T.shouldRender},popper:(B,i)=>{let g=()=>(i?.()).props;const Q=_(()=>Je(g(),{style:Ya("tooltip")},{style:w()}));var O=J(),K=N(O);{var Y=et=>{var X=J(),lt=N(X);{let q=_(()=>({props:e(Q),...T.snippetProps}));Zt(lt,l,()=>e(q))}u(et,X)},M=et=>{var X=Xa();Be(X,()=>({...e(Q)}));var lt=z(X);Zt(lt,()=>a()??re),Z(X),u(et,X)};U(K,et=>{l()?et(Y):et(M,-1)})}u(B,O)},$$slots:{popper:!0}}))},k=P=>{lo(P,ye(()=>e(A),()=>T.popperProps,{tooltip:!0,isStatic:!0,get open(){return T.root.opts.open.current},get id(){return c()},trapFocus:!1,loop:!1,preventScroll:!1,forceMount:!1,get ref(){return T.opts.ref},get shouldRender(){return T.shouldRender},popper:(B,i)=>{let g=()=>(i?.()).props;const Q=_(()=>Je(g(),{style:Ya("tooltip")},{style:w()}));var O=J(),K=N(O);{var Y=et=>{var X=J(),lt=N(X);{let q=_(()=>({props:e(Q),...T.snippetProps}));Zt(lt,l,()=>e(q))}u(et,X)},M=et=>{var X=Xa();Be(X,()=>({...e(Q)}));var lt=z(X);Zt(lt,()=>a()??re),Z(X),u(et,X)};U(K,et=>{l()?et(Y):et(M,-1)})}u(B,O)},$$slots:{popper:!0}}))};U($,P=>{y()?P(tt):y()||P(k,1)})}return u(o,E),yt(h)}var Vo=new Set(["$$slots","$$events","$$legacy","ref"]);function yr(o,t){if(new.target)return pt({component:yr,...o});bt(t,!0);let r=n(t,"ref",15,null),a=Te(t,Vo);var l={get ref(){return r()},set ref(c=null){r(c),s()},$set:ht,$on:(c,f)=>_t(t,c,f)};return _r(o,ye(()=>a,{get ref(){return r()},set ref(c){r(c)}})),yt(l)}var Uo=new Set(["$$slots","$$events","$$legacy","ref","class","child","children"]);function wr(o,t){if(new.target)return pt({component:wr,...o});bt(t,!0);let r=n(t,"ref",15,null),a=n(t,"class",7),l=n(t,"child",7),c=n(t,"children",7),f=Te(t,Uo);var v={get ref(){return r()},set ref(w=null){r(w),s()},get class(){return a()},set class(w){a(w),s()},get child(){return l()},set child(w){l(w),s()},get children(){return c()},set children(w){c(w),s()},$set:ht,$on:(w,I)=>_t(t,w,I)},p=J(),y=N(p);{let w=_(()=>fa(!l()&&"type-caption inline-flex h-(--control-height-medium) items-center justify-center gap-1.5 rounded-(--radius-medium)",a()));Jt(y,()=>co,(I,T)=>{T(I,ye({"data-slot":"tooltip-trigger",get child(){return l()},get children(){return c()},get class(){return e(w)}},()=>f,{get ref(){return r()},set ref(A){r(A)}}))})}return u(o,p),yt(v)}var Wo=new Set(["$$slots","$$events","$$legacy","ref","class","sideOffset","side","children","arrowClasses","portalTarget","staticPosition"]),Ko=rt("<div></div>"),Go=rt("<!> <!>",1);function xr(o,t){if(new.target)return pt({component:xr,...o});bt(t,!0);const r=x=>{var B=J(),i=N(B);Zt(i,()=>v()??re),u(x,B)};let a=n(t,"ref",15,null),l=n(t,"class",7),c=n(t,"sideOffset",7,0),f=n(t,"side",7,"top"),v=n(t,"children",7),p=n(t,"arrowClasses",7),y=n(t,"portalTarget",7),w=n(t,"staticPosition",7),I=Te(t,Wo);const T=bo(),A=_(()=>w()??T()),h=ur(dr()+2);fr(h);var E={get ref(){return a()},set ref(x=null){a(x),s()},get class(){return l()},set class(x){l(x),s()},get sideOffset(){return c()},set sideOffset(x=0){c(x),s()},get side(){return f()},set side(x="top"){f(x),s()},get children(){return v()},set children(x){v(x),s()},get arrowClasses(){return p()},set arrowClasses(x){p(x),s()},get portalTarget(){return y()},set portalTarget(x){y(x),s()},get staticPosition(){return w()},set staticPosition(x){w(x),s()},$set:ht,$on:(x,B)=>_t(t,x,B)},$=J(),tt=N($);{var k=x=>{var B=J(),i=N(B);{let g=_(()=>fa("tooltip-motion surface-inverse overlay-surface type-caption z-(--layer-tooltip) w-fit max-w-xs whitespace-pre-wrap text-balance px-2 py-1 [&_kbd]:text-muted-foreground",l()));Jt(i,()=>br,(Q,O)=>{O(Q,ye({role:"tooltip","data-slot":"tooltip-content","data-static-position":!0,get"data-surface-level"(){return h},"data-overlay-surface":!0,get class(){return e(g)},onFocusOutside:()=>{}},()=>I,{get ref(){return a()},set ref(K){a(K)},children:(K,Y)=>{r(K)},$$slots:{default:!0}}))})}u(x,B)},P=x=>{var B=J(),i=N(B);Jt(i,()=>fo,(g,Q)=>{Q(g,{get to(){return y()},children:(O,K)=>{var Y=J(),M=N(Y);{let et=_(()=>fa("tooltip-motion surface-inverse overlay-surface type-caption z-(--layer-tooltip) w-fit max-w-xs whitespace-pre-wrap text-balance px-2 py-1 [&_kbd]:text-muted-foreground",l()));Jt(M,()=>uo,(X,lt)=>{lt(X,ye({role:"tooltip","data-slot":"tooltip-content",get"data-surface-level"(){return h},"data-overlay-surface":!0,get sideOffset(){return c()},get side(){return f()},get class(){return e(et)},onFocusOutside:()=>{}},()=>I,{get ref(){return a()},set ref(q){a(q)},children:(q,Pt)=>{var D=Go(),ot=N(D);Zt(ot,()=>v()??re);var it=S(ot,2);{const gt=(L,G)=>{let C=()=>(G?.()).props;var m=Ko();Be(m,H=>({class:H,...C()}),[()=>fa("surface-inverse z-(--layer-tooltip) size-2.5 rotate-45 rounded-[2px]","data-[side=top]:translate-x-1/2 data-[side=top]:translate-y-[calc(-50%_+_2px)]","data-[side=bottom]:-translate-x-1/2 data-[side=bottom]:-translate-y-[calc(-50%_+_1px)]","data-[side=right]:translate-x-[calc(50%_+_2px)] data-[side=right]:translate-y-1/2","data-[side=left]:-translate-y-[calc(50%_-_3px)]",p())]),u(L,m)};Jt(it,()=>yr,(L,G)=>{G(L,{child:gt,$$slots:{child:!0}})})}u(q,D)},$$slots:{default:!0}}))})}u(O,Y)},$$slots:{default:!0}})}),u(x,B)};U(tt,x=>{e(A)?x(k):x(P,-1)})}return u(o,$),yt(E)}function qo(o){return po(o)}function Yo(o){const t=new Date(o);if(isNaN(t.getTime()))return{get time(){return F.ui_time_invalidDate_label()},cleanup:()=>{}};let r=Ct(Ke(Date.now()));const a=cr.subscribe(t,()=>{R(r,Date.now(),!0)});return{get time(){return e(r),qo(t)},cleanup:a}}function Xo(o){return mo(o)}function Qo(o){const t=new Date(o);if(isNaN(t.getTime()))return{get time(){return"Invalid"},cleanup:()=>{}};let r=Ct(Ke(Date.now()));const a=cr.subscribe(t,()=>{R(r,Date.now(),!0)});return{get time(){return e(r),Xo(t)},cleanup:a}}var Jo=rt("<span> </span>"),$o=rt("<!><!>",1);function Tr(o,t){if(new.target)return pt({component:Tr,...o});bt(t,!0);let r=n(t,"date",7),a=n(t,"compact",7,!1),l=n(t,"class",7,""),c=n(t,"title",7),f=null,v=_(()=>{f&&f.cleanup();const A=a()?Qo(r()):Yo(r());return f=A,A}),p=_(()=>e(v).time);sr(()=>{f&&f.cleanup()});let y=_(()=>{if(c())return c();const A=new Date(r());return isNaN(A.getTime())?F.ui_relativeTime_invalid_label():ho(A)});var w={get date(){return r()},set date(A){r(A),s()},get compact(){return a()},set compact(A=!1){a(A),s()},get class(){return l()},set class(A=""){l(A),s()},get title(){return c()},set title(A){c(A),s()},$set:ht,$on:(A,h)=>_t(t,A,h)},I=J(),T=N(I);return Jt(T,()=>en,(A,h)=>{h(A,{children:(E,$)=>{var tt=J(),k=N(tt);Jt(k,()=>Ar,(P,x)=>{x(P,{children:(B,i)=>{var g=$o(),Q=N(g);{const K=(Y,M)=>{let et=()=>(M?.()).props;var X=Jo();Be(X,()=>({...et(),class:l()}));var lt=vt(X,!0);V(()=>W(lt,e(p))),u(Y,X)};Jt(Q,()=>wr,(Y,M)=>{M(Y,{child:K,$$slots:{child:!0}})})}var O=S(Q);Jt(O,()=>xr,(K,Y)=>{Y(K,{children:(M,et)=>{Kt();var X=Ht();V(()=>W(X,e(y))),u(M,X)},$$slots:{default:!0}})}),u(B,g)},$$slots:{default:!0}})}),u(E,tt)},$$slots:{default:!0}})}),u(o,I),yt(w)}var tn=new Set(["$$slots","$$events","$$legacy","open","staticPosition"]);function Ar(o,t){if(new.target)return pt({component:Ar,...o});bt(t,!0);let r=n(t,"open",15,!1),a=n(t,"staticPosition",7,!1),l=Te(t,tn);yo(()=>a());var c={get open(){return r()},set open(p=!1){r(p),s()},get staticPosition(){return a()},set staticPosition(p=!1){a(p),s()},$set:ht,$on:(p,y)=>_t(t,p,y)},f=J(),v=N(f);return Jt(v,()=>vo,(p,y)=>{y(p,ye(()=>l,{get open(){return r()},set open(w){r(w)}}))}),u(o,f),yt(c)}const en=go;var an=rt('<span data-slot="copy-button-icon"><!></span>');function Za(o,t){if(new.target)return pt({component:Za,...o});bt(t,!0);let r=n(t,"text",7),a=n(t,"size",7,"xs"),l=n(t,"class",7,""),c=n(t,"disabled",7,!1),f=n(t,"onCopy",7),v=n(t,"copy",7),p=n(t,"shortcut",7),y=n(t,"label",23,()=>F.ui_copyButton_label()),w=n(t,"copiedLabel",23,()=>F.ui_linkTooltip_copied_label()),I=n(t,"data-testid",7),T=Ct(!1),A=null;const h=_(()=>a()==="md"?"icon":a()==="sm"?"icon-sm":"icon-xs"),E=_(()=>e(T)?w():y());async function $(k){if(!c())try{v()?await v()(k):await navigator.clipboard.writeText(r()??""),R(T,!0),f()?.(),A&&clearTimeout(A),A=setTimeout(()=>{R(T,!1)},2e3)}catch(P){Eo.error("Failed to copy:",P)}}sr(()=>{A&&clearTimeout(A)});var tt={get text(){return r()},set text(k){r(k),s()},get size(){return a()},set size(k="xs"){a(k),s()},get class(){return l()},set class(k=""){l(k),s()},get disabled(){return c()},set disabled(k=!1){c(k),s()},get onCopy(){return f()},set onCopy(k){f(k),s()},get copy(){return v()},set copy(k){v(k),s()},get shortcut(){return p()},set shortcut(k){p(k),s()},get label(){return y()},set label(k=F.ui_copyButton_label()){y(k),s()},get copiedLabel(){return w()},set copiedLabel(k=F.ui_linkTooltip_copied_label()){w(k),s()},get"data-testid"(){return I()},set"data-testid"(k){I(k),s()},$set:ht,$on:(k,P)=>_t(t,k,P)};return Gt(o,{variant:"ghost",get size(){return e(h)},iconOnly:!0,get tooltip(){return e(E)},get tooltipShortcut(){return p()},tooltipDelayDuration:300,get"aria-label"(){return e(E)},get disabled(){return c()},get class(){return l()},onclick:$,get"data-testid"(){return I()},children:(k,P)=>{var x=J(),B=N(x);Oo(B,()=>e(T),i=>{var g=an(),Q=z(g);{var O=Y=>{ma(Y,{get icon(){return Co},get size(){return a()}})},K=Y=>{ma(Y,{get icon(){return So},get size(){return a()}})};U(Q,Y=>{e(T)?Y(O):Y(K,-1)})}Z(g),V(()=>ne(g,1,_e(e(T)?"flex items-center justify-center text-success":"flex items-center justify-center"))),pa(1,g,()=>mr,()=>({tier:"fast",y:0,scale:.7})),pa(2,g,()=>pr,()=>({tier:"fast"})),u(i,g)}),u(k,x)},$$slots:{default:!0}}),yt(tt)}const Ii="machine-rail:changed",Ci="machine-rail:toast",rn="data-machine-hidden";function Si(o,t,r){const a=o.indexOf(t);for(let l=1;l<o.length;l++){const c=o[(a+l+o.length)%o.length];if(c!==t&&!r(c))return c}return null}function on(){return typeof document>"u"?!0:!document.documentElement.hasAttribute(rn)}function Ue(o,t){if(typeof window>"u"||on())return;const r=t.trim();if(!r)return;const a={kind:o,message:r.slice(0,2e3)};window.electronAPI?.invoke(Xr.MACHINE_RAIL.FORWARD_TOAST,a)?.catch(()=>{})}const nn=Array(12).fill(0);var sn=rt('<div class="sonner-loading-bar"></div>'),ln=rt('<div><div class="sonner-spinner"></div></div>');function Ir(o,t){if(new.target)return pt({component:Ir,...o});bt(t,!0);let r=n(t,"visible",7),a=n(t,"class",7);var l={get visible(){return r()},set visible(v){r(v),s()},get class(){return a()},set class(v){a(v),s()},$set:ht,$on:(v,p)=>_t(t,v,p)},c=ln(),f=z(c);return ga(f,23,()=>nn,(v,p)=>`spinner-bar-${p}`,(v,p)=>{var y=sn();u(v,y)}),Z(f),Z(c),V(v=>{ne(c,1,v),ct(c,"data-visible",r())},[()=>_e(["sonner-loading-wrapper",a()].filter(Boolean).join(" "))]),u(o,c),yt(l)}function Ce(...o){return o.filter(Boolean).join(" ")}const cn=typeof document<"u";var $e,We;class un{constructor(t){Oe(this,$e);Oe(this,We);Pa(this,$e,t),Pa(this,We,Symbol(t))}get(){const t=Jr(Ut(this,We));if(t===void 0)throw new Error(`Context "${Ut(this,$e)}" not found`);return t}set(t){return $r(Ut(this,We),t)}}$e=new WeakMap,We=new WeakMap;const dn=new un("<Toaster/>");let fn=0;function Qa(o){return typeof o?.id=="number"||typeof o?.id=="string"&&o.id.length>0?o.id:fn++}var ta,ea,Ee,aa,ha;class vn{constructor(){Oe(this,ta,Ct(Ke([])));Oe(this,ea,Ct(Ke([])));Oe(this,Ee,new Map);Oe(this,aa,t=>{const r=this.toasts.findIndex(a=>a.id===t);return r===-1?null:r});Oe(this,ha,t=>this.heights.findIndex(r=>r.toastId===t));Vt(this,"addToast",t=>{cn&&this.toasts.unshift(t)});Vt(this,"updateToast",({id:t,data:r,type:a,message:l})=>{const c=this.toasts.findIndex(v=>v.id===t),f=this.toasts[c];this.toasts[c]={...f,...r,id:t,title:l,type:a,dismiss:!1,delete:!1,updated:!0}});Vt(this,"markDismissed",t=>{const r=Ut(this,aa).call(this,t);if(r===null)return;const a=this.toasts[r];a&&(!a.dismiss||!a.delete)&&(this.toasts[r]={...a,dismiss:!0,delete:!0})});Vt(this,"scheduleRemoval",(t,r)=>{this.cancelRemoval(t),Ut(this,Ee).set(t,setTimeout(()=>{Ut(this,Ee).delete(t),this.remove(t)},r))});Vt(this,"cancelRemoval",t=>{const r=Ut(this,Ee).get(t);r!==void 0&&(clearTimeout(r),Ut(this,Ee).delete(t))});Vt(this,"create",t=>{const{message:r,...a}=t,l=Qa(t),c=t.dismissible!==void 0?t.dismissible:t.dismissable!==void 0?t.dismissable:!0,f=t.type===void 0?"default":t.type;return Se(()=>{this.cancelRemoval(l);const v=this.toasts.find(p=>p.id===l);v?.dismiss||v?.delete?(this.remove(l),this.addToast({...a,id:l,title:r,dismissible:c,type:f,updated:!0})):v?this.updateToast({id:l,data:t,type:f,message:r,dismissible:c}):this.addToast({...a,id:l,title:r,dismissible:c,type:f})}),l});Vt(this,"dismiss",t=>(Se(()=>{if(t===void 0){this.toasts=this.toasts.map(a=>a.dismiss?a:{...a,dismiss:!0});return}const r=this.toasts.findIndex(a=>a.id===t);this.toasts[r]&&(this.toasts[r]={...this.toasts[r],dismiss:!0})}),t));Vt(this,"remove",t=>{if(t===void 0){this.toasts=[];return}const r=Ut(this,aa).call(this,t);if(r!==null)return this.toasts.splice(r,1),t});Vt(this,"message",(t,r)=>this.create({...r,type:"default",message:t}));Vt(this,"error",(t,r)=>this.create({...r,type:"error",message:t}));Vt(this,"success",(t,r)=>this.create({...r,type:"success",message:t}));Vt(this,"info",(t,r)=>this.create({...r,type:"info",message:t}));Vt(this,"warning",(t,r)=>this.create({...r,type:"warning",message:t}));Vt(this,"loading",(t,r)=>this.create({...r,type:"loading",message:t}));Vt(this,"promise",(t,r)=>{if(!r)return;let a;r.loading!==void 0&&(a=this.create({...r,promise:t,type:"loading",message:typeof r.loading=="string"?r.loading:r.loading()}));const l=t instanceof Promise?t:t();let c=a!==void 0;return l.then(f=>{if(typeof f=="object"&&f&&"ok"in f&&typeof f.ok=="boolean"&&!f.ok){c=!1;const v=gn(f);this.create({id:a,type:"error",message:v})}else if(r.success!==void 0){c=!1;const v=typeof r.success=="function"?r.success(f):r.success;this.create({id:a,type:"success",message:v})}}).catch(f=>{if(r.error!==void 0){c=!1;const v=typeof r.error=="function"?r.error(f):r.error;this.create({id:a,type:"error",message:v})}}).finally(()=>{c&&(this.dismiss(a),a=void 0),r.finally?.()}),a});Vt(this,"custom",(t,r)=>{const a=Qa(r);return this.create({component:t,...r,id:a}),a});Vt(this,"removeHeight",t=>{this.heights=this.heights.filter(r=>r.toastId!==t)});Vt(this,"setHeight",t=>{Se(()=>{const r=Ut(this,ha).call(this,t.toastId);if(r!==-1){this.heights[r]=t;return}const a=new Map(this.toasts.map((f,v)=>[f.id,v])),l=a.get(t.toastId)??-1,c=this.heights.findIndex(f=>(a.get(f.toastId)??1/0)>l);c===-1?this.heights.push(t):this.heights.splice(c,0,t)})});Vt(this,"reset",()=>{this.toasts=[],this.heights=[],Ut(this,Ee).forEach(t=>clearTimeout(t)),Ut(this,Ee).clear()})}get toasts(){return e(Ut(this,ta))}set toasts(t){R(Ut(this,ta),t,!0)}get heights(){return e(Ut(this,ea))}set heights(t){R(Ut(this,ea),t,!0)}}ta=new WeakMap,ea=new WeakMap,Ee=new WeakMap,aa=new WeakMap,ha=new WeakMap;function gn(o){return o&&typeof o=="object"&&"status"in o?`HTTP error! Status: ${o.status}`:`Error! ${o}`}const Lt=new vn;function mn(o,t){return Lt.message(o,t)}var _a;class pn{constructor(){Oe(this,_a,_(()=>Lt.toasts.filter(t=>!t.dismiss)))}get toasts(){return e(Ut(this,_a))}}_a=new WeakMap;const hn=mn,ee=Object.assign(hn,{success:Lt.success,info:Lt.info,warning:Lt.warning,error:Lt.error,custom:Lt.custom,message:Lt.message,promise:Lt.promise,dismiss:Lt.dismiss,loading:Lt.loading,getActiveToasts:()=>Lt.toasts.filter(o=>!o.dismiss)});function la(o){return o.label!==void 0}function _n(){let o=Ct(Ke(typeof document<"u"?document.hidden:!1));return be(()=>ir(document,"visibilitychange",()=>{R(o,document.hidden,!0)})),{get current(){return e(o)}}}const Ja=4e3,$a=14,bn=45,yn=200,wn=.05,xn={toast:"",title:"",description:"",loader:"",closeButton:"",cancelButton:"",actionButton:"",action:"",warning:"",error:"",success:"",default:"",info:"",loading:""};function Tn(o){const[t,r]=o.split("-"),a=[];return t&&a.push(t),r&&a.push(r),a}function tr(o){return 1/(1.5+Math.abs(o)/20)}var An=rt("<div><!></div>"),In=rt('<button data-close-button=""><!></button>'),Cn=rt('<div data-icon=""><!> <!></div>'),Sn=rt('<div data-description=""><!></div>'),Pn=rt('<button data-button="" data-cancel=""> </button>'),Ln=rt('<button data-button=""> </button>'),kn=rt('<!> <div data-content=""><div data-title=""><!></div> <!></div> <!> <!>',1),Mn=rt('<li aria-atomic="true" data-sonner-toast=""><!> <!></li>');function Cr(o,t){if(new.target)return pt({component:Cr,...o});bt(t,!0);const r=b=>{var st=J(),xt=N(st);{var Et=It=>{var ge=An(),Re=z(ge);Zt(Re,k),Z(ge),V(ue=>{ne(ge,1,ue),ct(ge,"data-visible",e(j)==="loading")},[()=>_e(Ce(e(le)?.loader,a()?.classes?.loader,"sonner-loader"))]),u(It,ge)},Bt=It=>{{let ge=_(()=>Ce(e(le)?.loader,a().classes?.loader)),Re=_(()=>e(j)==="loading");Ir(It,{get class(){return e(ge)},get visible(){return e(Re)}})}};U(xt,It=>{k()?It(Et):It(Bt,-1)})}u(b,st)};let a=n(t,"toast",7),l=n(t,"index",7),c=n(t,"expanded",7),f=n(t,"invert",7),v=n(t,"position",7),p=n(t,"visibleToasts",7),y=n(t,"expandByDefault",7),w=n(t,"closeButton",7),I=n(t,"interacting",7),T=n(t,"cancelButtonStyle",7,""),A=n(t,"actionButtonStyle",7,""),h=n(t,"duration",7),E=n(t,"descriptionClass",7,""),$=n(t,"classes",7),tt=n(t,"unstyled",7,!1),k=n(t,"loadingIcon",7),P=n(t,"successIcon",7),x=n(t,"errorIcon",7),B=n(t,"warningIcon",7),i=n(t,"closeIcon",7),g=n(t,"infoIcon",7),Q=n(t,"defaultRichColors",7,!1),O=n(t,"gap",7,$a),K=n(t,"swipeDirections",7),Y=n(t,"closeButtonAriaLabel",7),M=n(t,"pauseWhenPageIsHidden",7);const et={...xn};let X=Ct(!1),lt=Ct(!1),q=Ct(!1),Pt=Ct(!1),D=Ct(!1),ot=Ct(0),it=Ct(0),gt=a().duration||h()||Ja,L=Ct(null),G=Ct(void 0),C=Ct(null),m=Ct(null);const H=_(()=>l()===0),nt=_(()=>l()+1<=p()),j=_(()=>a().type),at=_(()=>a().dismissible!==void 0?a().dismissible!==!1:a().dismissable!==!1),At=_(()=>a().class||""),Ot=_(()=>a().descriptionClass||""),zt=_(()=>Lt.heights.filter(b=>b.toasterId===a().toasterId&&b.position===v())),wt=_(()=>{const b=e(zt).findIndex(st=>st.toastId===a().id);return b===-1?0:b}),kt=_(()=>a().closeButton??w()),Rt=_(()=>a().duration??h()??Ja);let Ft=null;const se=_(()=>v().split("-")),qt=_(()=>K()??Tn(v())),qe=_(()=>e(zt).reduce((b,st,xt)=>xt>=e(wt)?b:b+st.height,0)),ae=_n(),ve=_(()=>a().invert||f()),ie=_(()=>e(j)==="loading"),le=_(()=>({...et,...$()})),ba=_(()=>a().title),d=_(()=>a().description);let Mt=Ct(0),ce=Ct(0);const de=_(()=>Math.round(e(wt)*O()+e(qe)));be(()=>{e(ba),e(d);let b;c()||y()?b=1:b=1-l()*wn;const st=Se(()=>e(G));if(st===void 0)return;st.style.setProperty("height","auto");const xt=st.offsetHeight,Et=st.getBoundingClientRect().height,Bt=Math.round((Et/b+Number.EPSILON)*100)/100;st.style.removeProperty("height");let It;Math.abs(Bt-xt)<1?It=Bt:It=xt,R(it,It,!0),Lt.setHeight({toastId:a().id,height:It,toasterId:a().toasterId,position:v()})});function oe(){R(lt,!0),R(ot,e(de),!0),Lt.removeHeight(a().id),Lt.markDismissed(a().id),Lt.scheduleRemoval(a().id,yn)}let ze;const ra=_(()=>a().promise&&e(j)==="loading"||e(Rt)===Number.POSITIVE_INFINITY);function Ne(){clearTimeout(ze),R(Mt,new Date().getTime(),!0),ze=setTimeout(()=>{a().onAutoClose?.(a()),oe()},gt)}function Ae(){if(e(ce)<e(Mt)){const b=new Date().getTime()-e(Mt);gt=gt-b}R(ce,new Date().getTime(),!0)}be(()=>{a().updated&&(clearTimeout(ze),gt=e(Rt),e(ra)||Ne())}),be(()=>(e(ra)||(c()||I()||M()&&ae.current?Ae():Ne()),()=>clearTimeout(ze))),Oa(()=>{R(X,!0);const b=e(G)?.getBoundingClientRect().height;return R(it,b,!0),Lt.setHeight({toastId:a().id,height:b,toasterId:a().toasterId,position:v()}),()=>{Lt.removeHeight(a().id)}}),be(()=>{a().delete&&Se(()=>{e(lt)||(oe(),a().onDismiss?.(a()))})}),be(()=>{!a().delete&&!a().dismiss&&e(lt)&&Se(()=>{R(lt,!1),R(Pt,!1),R(D,!1),R(q,!1),R(C,null),R(m,null),Ft=null,R(L,null),e(G)?.style.removeProperty("--swipe-amount-x"),e(G)?.style.removeProperty("--swipe-amount-y"),clearTimeout(ze),gt=e(Rt),e(ra)||Ne(),Lt.setHeight({toastId:a().id,height:e(it),toasterId:a().toasterId,position:v()})})});const ya=b=>{if(e(ie))return;R(L,new Date,!0),R(ot,e(de),!0);const st=b.target;st.setPointerCapture(b.pointerId),st.tagName!=="BUTTON"&&(R(q,!0),Ft={x:b.clientX,y:b.clientY})},Le=()=>{if(e(Pt)||!e(at))return;Ft=null;const b=Number(e(G)?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),st=Number(e(G)?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),xt=new Date().getTime()-(e(L)?.getTime()??0),Et=e(C)==="x"?b:st,Bt=Math.abs(Et)/xt;if((e(C)==="x"?e(qt).includes(b>0?"right":"left"):e(qt).includes(st>0?"bottom":"top"))&&(Math.abs(Et)>=bn||Bt>.11)){R(ot,e(de),!0),a().onDismiss?.(a()),e(C)==="x"?R(m,b>0?"right":"left",!0):R(m,st>0?"down":"up",!0),oe(),R(Pt,!0);return}else e(G)?.style.setProperty("--swipe-amount-x","0px"),e(G)?.style.setProperty("--swipe-amount-y","0px");R(D,!1),R(q,!1),R(C,null)},Yt=b=>{if(!Ft||!e(at)||(window.getSelection()?.toString().length??-1)>0)return;const xt=b.clientY-Ft.y,Et=b.clientX-Ft.x;!e(C)&&(Math.abs(Et)>1||Math.abs(xt)>1)&&R(C,Math.abs(Et)>Math.abs(xt)?"x":"y",!0);let Bt={x:0,y:0};if(e(C)==="y"){if(e(qt).includes("top")||e(qt).includes("bottom"))if(e(qt).includes("top")&&xt<0||e(qt).includes("bottom")&&xt>0)Bt.y=xt;else{const It=xt*tr(xt);Bt.y=Math.abs(It)<Math.abs(xt)?It:xt}}else if(e(C)==="x"&&(e(qt).includes("left")||e(qt).includes("right")))if(e(qt).includes("left")&&Et<0||e(qt).includes("right")&&Et>0)Bt.x=Et;else{const It=Et*tr(Et);Bt.x=Math.abs(It)<Math.abs(Et)?It:Et}(Math.abs(Bt.x)>0||Math.abs(Bt.y)>0)&&R(D,!0),e(G)?.style.setProperty("--swipe-amount-x",`${Bt.x}px`),e(G)?.style.setProperty("--swipe-amount-y",`${Bt.y}px`)},Ye=()=>{R(q,!1),R(C,null),Ft=null},wa=_(()=>a().icon?a().icon:e(j)==="success"?P():e(j)==="error"?x():e(j)==="warning"?B():e(j)==="info"?g():e(j)==="loading"?k():null);var Wa={get toast(){return a()},set toast(b){a(b),s()},get index(){return l()},set index(b){l(b),s()},get expanded(){return c()},set expanded(b){c(b),s()},get invert(){return f()},set invert(b){f(b),s()},get position(){return v()},set position(b){v(b),s()},get visibleToasts(){return p()},set visibleToasts(b){p(b),s()},get expandByDefault(){return y()},set expandByDefault(b){y(b),s()},get closeButton(){return w()},set closeButton(b){w(b),s()},get interacting(){return I()},set interacting(b){I(b),s()},get cancelButtonStyle(){return T()},set cancelButtonStyle(b=""){T(b),s()},get actionButtonStyle(){return A()},set actionButtonStyle(b=""){A(b),s()},get duration(){return h()},set duration(b){h(b),s()},get descriptionClass(){return E()},set descriptionClass(b=""){E(b),s()},get classes(){return $()},set classes(b){$(b),s()},get unstyled(){return tt()},set unstyled(b=!1){tt(b),s()},get loadingIcon(){return k()},set loadingIcon(b){k(b),s()},get successIcon(){return P()},set successIcon(b){P(b),s()},get errorIcon(){return x()},set errorIcon(b){x(b),s()},get warningIcon(){return B()},set warningIcon(b){B(b),s()},get closeIcon(){return i()},set closeIcon(b){i(b),s()},get infoIcon(){return g()},set infoIcon(b){g(b),s()},get defaultRichColors(){return Q()},set defaultRichColors(b=!1){Q(b),s()},get gap(){return O()},set gap(b=$a){O(b),s()},get swipeDirections(){return K()},set swipeDirections(b){K(b),s()},get closeButtonAriaLabel(){return Y()},set closeButtonAriaLabel(b){Y(b),s()},get pauseWhenPageIsHidden(){return M()},set pauseWhenPageIsHidden(b){M(b),s()},$set:ht,$on:(b,st)=>_t(t,b,st)},mt=Mn();ct(mt,"tabindex",0);let oa;var na=z(mt);{var xa=b=>{var st=In(),xt=z(st);Zt(xt,()=>i()??re),Z(st),V(Et=>{ct(st,"aria-label",Y()),ct(st,"data-disabled",e(ie)),ne(st,1,Et)},[()=>_e(Ce(e(le)?.closeButton,a()?.classes?.closeButton))]),He("click",st,()=>{e(ie)||!e(at)||(oe(),a().onDismiss?.(a()))}),u(b,st)};U(na,b=>{e(kt)&&!a().component&&e(j)!=="loading"&&i()!==null&&b(xa)})}var Ta=S(na,2);{var Aa=b=>{const st=_(()=>a().component);var xt=J(),Et=N(xt);Jt(Et,()=>e(st),(Bt,It)=>{It(Bt,ye(()=>a().componentProps,{closeToast:oe}))}),u(b,xt)},Ia=b=>{var st=kn(),xt=N(st);{var Et=dt=>{var Tt=Cn(),Ie=z(Tt);{var ke=ft=>{var Xt=J(),jt=N(Xt);{var he=Ze=>{var sa=J(),Sa=N(sa);Jt(Sa,()=>a().icon,(Qt,te)=>{te(Qt,{})}),u(Ze,sa)},Ca=Ze=>{r(Ze)};U(jt,Ze=>{a().icon?Ze(he):Ze(Ca,-1)})}u(ft,Xt)},Me=ft=>{r(ft)};U(Ie,ft=>{e(j)==="loading"?ft(ke):a().promise&&ft(Me,1)})}var Nt=S(Ie,2);{var Dt=ft=>{var Xt=J(),jt=N(Xt);{var he=Qt=>{var te=J(),De=N(te);Jt(De,()=>a().icon,(Kr,Gr)=>{Gr(Kr,{})}),u(Qt,te)},Ca=Qt=>{var te=J(),De=N(te);Zt(De,()=>P()??re),u(Qt,te)},Ze=Qt=>{var te=J(),De=N(te);Zt(De,()=>x()??re),u(Qt,te)},sa=Qt=>{var te=J(),De=N(te);Zt(De,()=>B()??re),u(Qt,te)},Sa=Qt=>{var te=J(),De=N(te);Zt(De,()=>g()??re),u(Qt,te)};U(jt,Qt=>{a().icon?Qt(he):e(j)==="success"?Qt(Ca,1):e(j)==="error"?Qt(Ze,2):e(j)==="warning"?Qt(sa,3):e(j)==="info"&&Qt(Sa,4)})}u(ft,Xt)};U(Nt,ft=>{e(j)!=="loading"&&ft(Dt)})}Z(Tt),V(ft=>ne(Tt,1,ft),[()=>_e(Ce(e(le)?.icon,a()?.classes?.icon))]),u(dt,Tt)};U(xt,dt=>{(e(j)||a().icon||a().promise)&&a().icon!==null&&(e(wa)!==null||a().icon)&&dt(Et)})}var Bt=S(xt,2),It=z(Bt),ge=z(It);{var Re=dt=>{var Tt=J(),Ie=N(Tt);{var ke=Nt=>{const Dt=_(()=>a().title);var ft=J(),Xt=N(ft);Jt(Xt,()=>e(Dt),(jt,he)=>{he(jt,ye(()=>a().componentProps))}),u(Nt,ft)},Me=Nt=>{var Dt=Ht();V(()=>W(Dt,a().title)),u(Nt,Dt)};U(Ie,Nt=>{typeof a().title!="string"?Nt(ke):Nt(Me,-1)})}u(dt,Tt)};U(ge,dt=>{a().title&&dt(Re)})}Z(It);var ue=S(It,2);{var $t=dt=>{var Tt=Sn(),Ie=z(Tt);{var ke=Nt=>{const Dt=_(()=>a().description);var ft=J(),Xt=N(ft);Jt(Xt,()=>e(Dt),(jt,he)=>{he(jt,ye(()=>a().componentProps))}),u(Nt,ft)},Me=Nt=>{var Dt=Ht();V(()=>W(Dt,a().description)),u(Nt,Dt)};U(Ie,Nt=>{typeof a().description!="string"?Nt(ke):Nt(Me,-1)})}Z(Tt),V(Nt=>ne(Tt,1,Nt),[()=>_e(Ce(E(),e(Ot),e(le)?.description,a().classes?.description))]),u(dt,Tt)};U(ue,dt=>{a().description&&dt($t)})}Z(Bt);var fe=S(Bt,2);{var me=dt=>{var Tt=J(),Ie=N(Tt);{var ke=Dt=>{var ft=J(),Xt=N(ft);Jt(Xt,()=>a().cancel,(jt,he)=>{he(jt,{})}),u(Dt,ft)},Me=Dt=>{var ft=Pn(),Xt=vt(ft,!0);V(jt=>{Qe(ft,a().cancelButtonStyle??T()),ne(ft,1,jt),W(Xt,a().cancel.label)},[()=>_e(Ce(e(le)?.cancelButton,a()?.classes?.cancelButton))]),He("click",ft,jt=>{la(a().cancel)&&e(at)&&(a().cancel?.onClick?.(jt),oe())}),u(Dt,ft)},Nt=_(()=>la(a().cancel));U(Ie,Dt=>{typeof a().cancel=="function"?Dt(ke):e(Nt)&&Dt(Me,1)})}u(dt,Tt)};U(fe,dt=>{a().cancel&&dt(me)})}var pe=S(fe,2);{var ut=dt=>{var Tt=J(),Ie=N(Tt);{var ke=Dt=>{var ft=J(),Xt=N(ft);Jt(Xt,()=>a().action,(jt,he)=>{he(jt,{})}),u(Dt,ft)},Me=Dt=>{var ft=Ln(),Xt=vt(ft,!0);V(jt=>{Qe(ft,a().actionButtonStyle??A()),ne(ft,1,jt),W(Xt,a().action.label)},[()=>_e(Ce(e(le)?.actionButton,a()?.classes?.actionButton))]),He("click",ft,jt=>{la(a().action)&&(a().action?.onClick(jt),!jt.defaultPrevented&&oe())}),u(Dt,ft)},Nt=_(()=>la(a().action));U(Ie,Dt=>{typeof a().action=="function"?Dt(ke):e(Nt)&&Dt(Me,1)})}u(dt,Tt)};U(pe,dt=>{a().action&&dt(ut)})}V((dt,Tt)=>{ne(Bt,1,dt),ne(It,1,Tt)},[()=>_e(Ce(e(le)?.content,a()?.classes?.content)),()=>_e(Ce(e(le)?.title,a()?.classes?.title))]),u(b,st)};U(Ta,b=>{a().component?b(Aa):b(Ia,-1)})}return Z(mt),Ba(mt,b=>R(G,b),()=>e(G)),V((b,st,xt)=>{ne(mt,1,b),ct(mt,"aria-live",a().important?"assertive":"polite"),ct(mt,"data-rich-colors",a().richColors??Q()),ct(mt,"data-styled",!(a().component||a().unstyled||tt())),ct(mt,"data-mounted",e(X)),ct(mt,"data-promise",st),ct(mt,"data-swiped",e(D)),ct(mt,"data-removed",e(lt)),ct(mt,"data-visible",e(nt)),ct(mt,"data-y-position",e(se)[0]),ct(mt,"data-x-position",e(se)[1]),ct(mt,"data-index",l()),ct(mt,"data-front",e(H)),ct(mt,"data-swiping",e(q)),ct(mt,"data-dismissible",e(at)),ct(mt,"data-type",e(j)),ct(mt,"data-invert",e(ve)),ct(mt,"data-swipe-out",e(Pt)),ct(mt,"data-swipe-direction",e(m)),ct(mt,"data-expanded",xt),oa=Qe(mt,`${t.style} ${a().style}`,oa,{"--index":l(),"--toasts-before":l(),"--z-index":Lt.toasts.length-l(),"--offset":`${e(lt)?e(ot):e(de)}px`,"--initial-height":y()?"auto":`${e(it)}px`})},[()=>_e(Ce(t.class,e(At),e(le)?.toast,a()?.classes?.toast,e(le)?.[e(j)],a()?.classes?.[e(j)])),()=>!!a().promise,()=>!!(c()||y()&&e(X))]),He("pointermove",mt,Yt),He("pointerup",mt,Le),He("pointerdown",mt,ya),to("dragend",mt,Ye),u(o,mt),yt(Wa)}eo(["pointermove","pointerup","pointerdown","click"]);var Dn=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-success-icon=""><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg>');function Sr(o,t){if(new.target)return pt({component:Sr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=Dn();return u(o,a),yt(r)}var On=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>');function Pr(o,t){if(new.target)return pt({component:Pr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=On();return u(o,a),yt(r)}var En=St('<svg aria-hidden="true" viewBox="0 0 64 64" fill="currentColor" height="20" width="20" data-sonner-warning-icon="" xmlns="http://www.w3.org/2000/svg"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg>');function Lr(o,t){if(new.target)return pt({component:Lr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=En();return u(o,a),yt(r)}var Bn=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-info-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg>');function kr(o,t){if(new.target)return pt({component:kr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=Bn();return u(o,a),yt(r)}var Zn=St('<svg aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-sonner-close-icon=""><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');function Mr(o,t){if(new.target)return pt({component:Mr,...o});bt(t,!1);var r={$set:ht,$on:(l,c)=>_t(t,l,c)},a=Zn();return u(o,a),yt(r)}const er=3,ka="24px",Ma="16px",ar=4e3,zn=356,rr=14,La="dark",ca="light";function Rn(o,t){const r={};return[o,t].forEach((a,l)=>{const c=l===1,f=c?"--mobile-offset":"--offset",v=c?Ma:ka;function p(y){["top","right","bottom","left"].forEach(w=>{r[`${f}-${w}`]=typeof y=="number"?`${y}px`:y})}typeof a=="number"||typeof a=="string"?p(a):typeof a=="object"?["top","right","bottom","left"].forEach(y=>{const w=a[y];w===void 0?r[`${f}-${y}`]=v:r[`${f}-${y}`]=typeof w=="number"?`${w}px`:w}):p(v)}),r}var Nn=new Set(["$$slots","$$events","$$legacy","id","invert","position","hotkey","expand","closeButton","offset","mobileOffset","theme","richColors","duration","visibleToasts","toastOptions","dir","gap","swipeDirections","pauseWhenPageIsHidden","loadingIcon","successIcon","errorIcon","warningIcon","closeIcon","infoIcon","containerAriaLabel","class","closeButtonAriaLabel","onblur","onfocus","onmouseenter","onmousemove","onmouseleave","ondragend","onpointerdown","onpointerup"]),Hn=rt("<ol></ol>"),Fn=rt('<section aria-live="polite" aria-relevant="additions text" aria-atomic="false"><!></section>');function Dr(o,t){if(new.target)return pt({component:Dr,...o});bt(t,!0);function r(d){return d!=="system"?d:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?La:ca}let a=n(t,"id",7),l=n(t,"invert",7,!1),c=n(t,"position",7,"bottom-right"),f=n(t,"hotkey",23,()=>["altKey","KeyT"]),v=n(t,"expand",7,!1),p=n(t,"closeButton",7,!1),y=n(t,"offset",7,ka),w=n(t,"mobileOffset",7,Ma),I=n(t,"theme",7,"light"),T=n(t,"richColors",7,!1),A=n(t,"duration",7,ar),h=n(t,"visibleToasts",7,er),E=n(t,"toastOptions",23,()=>({})),$=n(t,"dir",7,"auto"),tt=n(t,"gap",7,rr),k=n(t,"swipeDirections",7),P=n(t,"pauseWhenPageIsHidden",7,!1),x=n(t,"loadingIcon",7),B=n(t,"successIcon",7),i=n(t,"errorIcon",7),g=n(t,"warningIcon",7),Q=n(t,"closeIcon",7),O=n(t,"infoIcon",7),K=n(t,"containerAriaLabel",7,"Notifications"),Y=n(t,"class",7),M=n(t,"closeButtonAriaLabel",7,"Close toast"),et=n(t,"onblur",7),X=n(t,"onfocus",7),lt=n(t,"onmouseenter",7),q=n(t,"onmousemove",7),Pt=n(t,"onmouseleave",7),D=n(t,"ondragend",7),ot=n(t,"onpointerdown",7),it=n(t,"onpointerup",7),gt=Te(t,Nn);function L(){if($()!=="auto")return $();if(typeof window>"u"||typeof document>"u")return"ltr";const d=document.documentElement.getAttribute("dir");return d==="auto"||!d?(Se(()=>$(window.getComputedStyle(document.documentElement).direction??"ltr")),$()):(Se(()=>$(d)),d)}const G=_(()=>a()?Lt.toasts.filter(d=>d.toasterId===a()):Lt.toasts.filter(d=>!d.toasterId)),C=_(()=>Array.from(new Set([c(),...e(G).filter(d=>d.position).map(d=>d.position)].filter(Boolean))));let m=Ct(!1),H=Ct(!1),nt=Ct(Ke(r(I()))),j=Ct(void 0),at=Ct(null),At=Ct(!1),Ot=null;const zt=_(()=>f().join("+").replace(/Key/g,"").replace(/Digit/g,""));be(()=>{e(G).length<=1&&R(m,!1)}),be(()=>{const d=e(G).filter(Mt=>Mt.dismiss&&!Mt.delete);if(d.length>0){const Mt=Lt.toasts.map(ce=>d.find(oe=>oe.id===ce.id)?{...ce,delete:!0}:ce);Lt.toasts=Mt}}),be(()=>()=>{e(j)&&e(at)&&(e(at).focus({preventScroll:!0}),R(at,null),R(At,!1))}),Oa(()=>ir(document,"keydown",Mt=>{f().every(de=>Mt[de]||Mt.code===de)&&(R(m,!0),e(j)?.focus()),Mt.code==="Escape"&&(document.activeElement===e(j)||e(j)?.contains(document.activeElement))&&R(m,!1)})),be(()=>{if(I()!=="system"&&R(nt,I()),typeof window<"u"){I()==="system"&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?R(nt,La):R(nt,ca));const d=window.matchMedia("(prefers-color-scheme: dark)"),Mt=({matches:ce})=>{I()==="system"&&R(nt,ce?La:ca,!0)};"addEventListener"in d?d.addEventListener("change",Mt):d.addListener(Mt)}});const wt=d=>{et()?.(d),e(At)&&!d.currentTarget.contains(d.relatedTarget)&&(R(At,!1),e(at)&&(e(at).focus({preventScroll:!0}),R(at,null)))},kt=d=>{X()?.(d),!(d.target instanceof HTMLElement&&d.target.dataset.dismissible==="false")&&(e(At)||(R(At,!0),R(at,d.relatedTarget,!0)))},Rt=d=>{ot()?.(d),!(d.target instanceof HTMLElement&&d.target.dataset.dismissible==="false")&&R(H,!0)},Ft=d=>{lt()?.(d),Ot={x:d.clientX,y:d.clientY},R(m,!0)},se=d=>{Pt()?.(d);const Mt={x:d.clientX,y:d.clientY},ce=!Ot||Math.abs(Mt.x-Ot.x)>1||Math.abs(Mt.y-Ot.y)>1;!e(H)&&ce&&R(m,!1)},qt=d=>{q()?.(d),Ot={x:d.clientX,y:d.clientY},R(m,!0)},qe=d=>{D()?.(d),R(m,!1)},ae=d=>{it()?.(d),R(H,!1)};dn.set(new pn);var ve={get id(){return a()},set id(d){a(d),s()},get invert(){return l()},set invert(d=!1){l(d),s()},get position(){return c()},set position(d="bottom-right"){c(d),s()},get hotkey(){return f()},set hotkey(d=["altKey","KeyT"]){f(d),s()},get expand(){return v()},set expand(d=!1){v(d),s()},get closeButton(){return p()},set closeButton(d=!1){p(d),s()},get offset(){return y()},set offset(d=ka){y(d),s()},get mobileOffset(){return w()},set mobileOffset(d=Ma){w(d),s()},get theme(){return I()},set theme(d="light"){I(d),s()},get richColors(){return T()},set richColors(d=!1){T(d),s()},get duration(){return A()},set duration(d=ar){A(d),s()},get visibleToasts(){return h()},set visibleToasts(d=er){h(d),s()},get toastOptions(){return E()},set toastOptions(d={}){E(d),s()},get dir(){return $()},set dir(d="auto"){$(d),s()},get gap(){return tt()},set gap(d=rr){tt(d),s()},get swipeDirections(){return k()},set swipeDirections(d){k(d),s()},get pauseWhenPageIsHidden(){return P()},set pauseWhenPageIsHidden(d=!1){P(d),s()},get loadingIcon(){return x()},set loadingIcon(d){x(d),s()},get successIcon(){return B()},set successIcon(d){B(d),s()},get errorIcon(){return i()},set errorIcon(d){i(d),s()},get warningIcon(){return g()},set warningIcon(d){g(d),s()},get closeIcon(){return Q()},set closeIcon(d){Q(d),s()},get infoIcon(){return O()},set infoIcon(d){O(d),s()},get containerAriaLabel(){return K()},set containerAriaLabel(d="Notifications"){K(d),s()},get class(){return Y()},set class(d){Y(d),s()},get closeButtonAriaLabel(){return M()},set closeButtonAriaLabel(d="Close toast"){M(d),s()},get onblur(){return et()},set onblur(d){et(d),s()},get onfocus(){return X()},set onfocus(d){X(d),s()},get onmouseenter(){return lt()},set onmouseenter(d){lt(d),s()},get onmousemove(){return q()},set onmousemove(d){q(d),s()},get onmouseleave(){return Pt()},set onmouseleave(d){Pt(d),s()},get ondragend(){return D()},set ondragend(d){D(d),s()},get onpointerdown(){return ot()},set onpointerdown(d){ot(d),s()},get onpointerup(){return it()},set onpointerup(d){it(d),s()},$set:ht,$on:(d,Mt)=>_t(t,d,Mt)},ie=Fn();ct(ie,"tabindex",-1);var le=z(ie);{var ba=d=>{var Mt=J(),ce=N(Mt);ga(ce,18,()=>e(C),de=>de,(de,oe,ze,ra)=>{const Ne=_(()=>{const[Yt,Ye]=oe.split("-");return{y:Yt,x:Ye}}),Ae=_(()=>Rn(y(),w())),ya=_(()=>Lt.heights.find(Yt=>Yt.toasterId===a()&&Yt.position===oe)?.height??0);var Le=Hn();Be(Le,Yt=>({tabindex:-1,dir:Yt,class:Y(),"data-sonner-toaster":!0,"data-sonner-theme":e(nt),"data-y-position":e(Ne).y,"data-x-position":e(Ne).x,style:t.style,onblur:wt,onfocus:kt,onmouseenter:Ft,onmousemove:qt,onmouseleave:se,ondragend:qe,onpointerdown:Rt,onpointerup:ae,...gt,[ro]:{"--front-toast-height":`${e(ya)}px`,"--width":`${zn}px`,"--gap":`${tt()}px`,"--offset-top":e(Ae)["--offset-top"],"--offset-right":e(Ae)["--offset-right"],"--offset-bottom":e(Ae)["--offset-bottom"],"--offset-left":e(Ae)["--offset-left"],"--mobile-offset-top":e(Ae)["--mobile-offset-top"],"--mobile-offset-right":e(Ae)["--mobile-offset-right"],"--mobile-offset-bottom":e(Ae)["--mobile-offset-bottom"],"--mobile-offset-left":e(Ae)["--mobile-offset-left"]}}),[()=>L()]),ga(Le,23,()=>e(G).filter(Yt=>!Yt.position&&e(ze)===0||Yt.position===oe),Yt=>Yt.id,(Yt,Ye,wa,Wa)=>{{const mt=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>B()??re),u(ut,dt)},pe=ut=>{Sr(ut,{})};U(fe,ut=>{B()?ut(me):B()!==null&&ut(pe,1)})}u(ue,$t)},oa=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>i()??re),u(ut,dt)},pe=ut=>{Pr(ut,{})};U(fe,ut=>{i()?ut(me):i()!==null&&ut(pe,1)})}u(ue,$t)},na=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>g()??re),u(ut,dt)},pe=ut=>{Lr(ut,{})};U(fe,ut=>{g()?ut(me):g()!==null&&ut(pe,1)})}u(ue,$t)},xa=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>O()??re),u(ut,dt)},pe=ut=>{kr(ut,{})};U(fe,ut=>{O()?ut(me):O()!==null&&ut(pe,1)})}u(ue,$t)},Ta=ue=>{var $t=J(),fe=N($t);{var me=ut=>{var dt=J(),Tt=N(dt);Zt(Tt,()=>Q()??re),u(ut,dt)},pe=ut=>{Mr(ut,{})};U(fe,ut=>{Q()?ut(me):Q()!==null&&ut(pe,1)})}u(ue,$t)};let Aa=_(()=>E()?.duration??A()),Ia=_(()=>E()?.class??""),b=_(()=>E()?.descriptionClass||""),st=_(()=>E()?.closeButton??p()),xt=_(()=>E()?.style??""),Et=_(()=>E().classes||{}),Bt=_(()=>E().unstyled??!1),It=_(()=>E()?.cancelButtonStyle??""),ge=_(()=>E()?.actionButtonStyle??""),Re=_(()=>E()?.closeButtonAriaLabel??M());Cr(Yt,{get index(){return e(wa)},get toast(){return e(Ye)},get defaultRichColors(){return T()},get duration(){return e(Aa)},get class(){return e(Ia)},get descriptionClass(){return e(b)},get invert(){return l()},get visibleToasts(){return h()},get closeButton(){return e(st)},get interacting(){return e(H)},get position(){return oe},get gap(){return tt()},get style(){return e(xt)},get classes(){return e(Et)},get unstyled(){return e(Bt)},get cancelButtonStyle(){return e(It)},get actionButtonStyle(){return e(ge)},get closeButtonAriaLabel(){return e(Re)},get expandByDefault(){return v()},get expanded(){return e(m)},get swipeDirections(){return k()},get pauseWhenPageIsHidden(){return P()},get loadingIcon(){return x()},successIcon:mt,errorIcon:oa,warningIcon:na,infoIcon:xa,closeIcon:Ta,$$slots:{successIcon:!0,errorIcon:!0,warningIcon:!0,infoIcon:!0,closeIcon:!0}})}}),Z(Le),Ba(Le,Yt=>R(j,Yt),()=>e(j)),V(()=>Le.dir=Le.dir),u(de,Le)}),u(d,Mt)};U(le,d=>{e(G).length>0&&d(ba)})}return Z(ie),V(()=>ct(ie,"aria-label",`${K()??""} ${e(zt)??""}`)),u(o,ie),yt(ve)}var jn=rt("<span> </span>");function za(o,t){if(new.target)return pt({component:za,...o});bt(t,!0);let r=n(t,"slot",7),a=n(t,"size",7,"default"),l=n(t,"class",7,"");const c=_(()=>wo(r()));var f={get slot(){return r()},set slot(y){r(y),s()},get size(){return a()},set size(y="default"){a(y),s()},get class(){return l()},set class(y=""){l(y),s()},$set:ht,$on:(y,w)=>_t(t,y,w)},v=jn(),p=vt(v,!0);return V((y,w)=>{ne(v,1,`type-caption flex ${a()==="compact"?"h-3.5 w-3.5":"h-4 w-4"} shrink-0 items-center justify-center rounded-[3px] border font-medium leading-none a11y-ignore ${e(c)??""} ${l()??""}`),ct(v,"title",y),W(p,w)},[()=>F.workspace_microKeyBadge_tooltip({number:Ve(r()+1)}),()=>Ve(r()+1)]),u(o,v),yt(f)}function Pe(o,t){if(new.target)return pt({component:Pe,...o});bt(t,!0);let r=n(t,"onclick",7),a=n(t,"ariaLabel",7),l=n(t,"inline",7,!1);var c={get onclick(){return r()},set onclick(f){r(f),s()},get ariaLabel(){return a()},set ariaLabel(f){a(f),s()},get inline(){return l()},set inline(f=!1){l(f),s()},$set:ht,$on:(f,v)=>_t(t,f,v)};{let f=_(()=>l()?"toast-close-btn toast-close-inline":"toast-close-btn");Gt(o,{variant:"ghost",size:"icon-compact",iconOnly:!0,get class(){return e(f)},get onclick(){return r()},get"aria-label"(){return a()},children:(v,p)=>{vr(v,{size:16,"aria-hidden":"true"})},$$slots:{default:!0}})}return yt(c)}var Vn=new Set(["$$slots","$$events","$$legacy","children"]),Un=St('<path d="M120,128a16,16,0,1,1-16-16A16,16,0,0,1,120,128Zm32-16a16,16,0,1,0,16,16A16,16,0,0,0,152,112Zm84,16A108,108,0,0,1,78.77,224.15L46.34,235A20,20,0,0,1,21,209.66l10.81-32.43A108,108,0,1,1,236,128Zm-24,0A84,84,0,1,0,55.27,170.06a12,12,0,0,1,1,9.81l-9.93,29.79,29.79-9.93a12.1,12.1,0,0,1,3.8-.62,12,12,0,0,1,6,1.62A84,84,0,0,0,212,128Z"></path>'),Wn=St('<path d="M224,128A96,96,0,0,1,79.93,211.11h0L42.54,223.58a8,8,0,0,1-10.12-10.12l12.47-37.39h0A96,96,0,1,1,224,128Z" opacity="0.2"></path><path d="M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24Zm0,192a87.87,87.87,0,0,1-44.06-11.81,8,8,0,0,0-4-1.08,7.85,7.85,0,0,0-2.53.42L40,216,52.47,178.6a8,8,0,0,0-.66-6.54A88,88,0,1,1,128,216Zm12-88a12,12,0,1,1-12-12A12,12,0,0,1,140,128Zm-44,0a12,12,0,1,1-12-12A12,12,0,0,1,96,128Zm88,0a12,12,0,1,1-12-12A12,12,0,0,1,184,128Z"></path>',1),Kn=St('<path d="M128,24A104,104,0,0,0,36.18,176.88L24.83,210.93a16,16,0,0,0,20.24,20.24l34.05-11.35A104,104,0,1,0,128,24ZM84,140a12,12,0,1,1,12-12A12,12,0,0,1,84,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,128,140Zm44,0a12,12,0,1,1,12-12A12,12,0,0,1,172,140Z"></path>'),Gn=St('<path d="M138,128a10,10,0,1,1-10-10A10,10,0,0,1,138,128ZM84,118a10,10,0,1,0,10,10A10,10,0,0,0,84,118Zm88,0a10,10,0,1,0,10,10A10,10,0,0,0,172,118Zm58,10A102,102,0,0,1,79.31,217.65L44.44,229.27a14,14,0,0,1-17.71-17.71l11.62-34.87A102,102,0,1,1,230,128Zm-12,0A90,90,0,1,0,50.08,173.06a6,6,0,0,1,.5,4.91L38.12,215.35a2,2,0,0,0,2.53,2.53L78,205.42a6.2,6.2,0,0,1,1.9-.31,6.09,6.09,0,0,1,3,.81A90,90,0,0,0,218,128Z"></path>'),qn=St('<path d="M140,128a12,12,0,1,1-12-12A12,12,0,0,1,140,128ZM84,116a12,12,0,1,0,12,12A12,12,0,0,0,84,116Zm88,0a12,12,0,1,0,12,12A12,12,0,0,0,172,116Zm60,12A104,104,0,0,1,79.12,219.82L45.07,231.17a16,16,0,0,1-20.24-20.24l11.35-34.05A104,104,0,1,1,232,128Zm-16,0A88,88,0,1,0,51.81,172.06a8,8,0,0,1,.66,6.54L40,216,77.4,203.53a7.85,7.85,0,0,1,2.53-.42,8,8,0,0,1,4,1.08A88,88,0,0,0,216,128Z"></path>'),Yn=St('<path d="M136,128a8,8,0,1,1-8-8A8,8,0,0,1,136,128Zm-52-8a8,8,0,1,0,8,8A8,8,0,0,0,84,120Zm88,0a8,8,0,1,0,8,8A8,8,0,0,0,172,120Zm56,8A100,100,0,0,1,79.5,215.47l-35.69,11.9a12,12,0,0,1-15.18-15.18l11.9-35.69A100,100,0,1,1,228,128Zm-8,0A92,92,0,1,0,48.35,174.07a4,4,0,0,1,.33,3.27L36.22,214.72a4,4,0,0,0,5.06,5.06l37.38-12.46a3.93,3.93,0,0,1,1.27-.21,4.05,4.05,0,0,1,2,.54A92,92,0,0,0,220,128Z"></path>'),Xn=St('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Or(o,t){if(new.target)return pt({component:Or,...o});bt(t,!0);const r=Ea();let a=n(t,"children",7),l=Te(t,Vn),c=_(()=>t.weight??r.weight??"regular"),f=_(()=>t.color??r.color??"currentColor"),v=_(()=>t.size??r.size??"1em"),p=_(()=>t.mirrored??r.mirrored??!1);function y(i){let{weight:g,color:Q,size:O,mirrored:K,...Y}=i;return Y}var w={get children(){return a()},set children(i){a(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},I=Xn();Be(I,(i,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(v),height:e(v),fill:e(f),transform:e(p)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...i,...g}),[()=>y(r),()=>y(l)]);var T=z(I);{var A=i=>{var g=J(),Q=N(g);Zt(Q,a),u(i,g)};U(T,i=>{a()&&i(A)})}var h=S(T,2);{var E=i=>{var g=Un();u(i,g)},$=i=>{var g=Wn();Kt(),u(i,g)},tt=i=>{var g=Kn();u(i,g)},k=i=>{var g=Gn();u(i,g)},P=i=>{var g=qn();u(i,g)},x=i=>{var g=Yn();u(i,g)},B=i=>{var g=Ht();g.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),u(i,g)};U(h,i=>{e(c)==="bold"?i(E):e(c)==="duotone"?i($,1):e(c)==="fill"?i(tt,2):e(c)==="light"?i(k,3):e(c)==="regular"?i(P,4):e(c)==="thin"?i(x,5):i(B,-1)})}return Z(I),u(o,I),yt(w)}var Qn=new Set(["$$slots","$$events","$$legacy","children"]),Jn=St('<path d="M236,128a108,108,0,0,1-216,0c0-42.52,24.73-81.34,63-98.9A12,12,0,1,1,93,50.91C63.24,64.57,44,94.83,44,128a84,84,0,0,0,168,0c0-33.17-19.24-63.43-49-77.09A12,12,0,1,1,173,29.1C211.27,46.66,236,85.48,236,128Z"></path>'),$n=St('<path d="M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z" opacity="0.2"></path><path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path>',1),ts=St('<path d="M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,176A72,72,0,0,1,92,65.64a8,8,0,0,1,8,13.85,56,56,0,1,0,56,0,8,8,0,0,1,8-13.85A72,72,0,0,1,128,200Z"></path>'),es=St('<path d="M230,128a102,102,0,0,1-204,0c0-40.18,23.35-76.86,59.5-93.45a6,6,0,0,1,5,10.9C58.61,60.09,38,92.49,38,128a90,90,0,0,0,180,0c0-35.51-20.61-67.91-52.5-82.55a6,6,0,0,1,5-10.9C206.65,51.14,230,87.82,230,128Z"></path>'),as=St('<path d="M232,128a104,104,0,0,1-208,0c0-41,23.81-78.36,60.66-95.27a8,8,0,0,1,6.68,14.54C60.15,61.59,40,93.27,40,128a88,88,0,0,0,176,0c0-34.73-20.15-66.41-51.34-80.73a8,8,0,0,1,6.68-14.54C208.19,49.64,232,87,232,128Z"></path>'),rs=St('<path d="M228,128a100,100,0,0,1-200,0c0-39.4,22.9-75.37,58.33-91.63a4,4,0,1,1,3.34,7.27C57.07,58.6,36,91.71,36,128a92,92,0,0,0,184,0c0-36.29-21.07-69.4-53.67-84.36a4,4,0,1,1,3.34-7.27C205.1,52.63,228,88.6,228,128Z"></path>'),os=St('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Er(o,t){if(new.target)return pt({component:Er,...o});bt(t,!0);const r=Ea();let a=n(t,"children",7),l=Te(t,Qn),c=_(()=>t.weight??r.weight??"regular"),f=_(()=>t.color??r.color??"currentColor"),v=_(()=>t.size??r.size??"1em"),p=_(()=>t.mirrored??r.mirrored??!1);function y(i){let{weight:g,color:Q,size:O,mirrored:K,...Y}=i;return Y}var w={get children(){return a()},set children(i){a(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},I=os();Be(I,(i,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(v),height:e(v),fill:e(f),transform:e(p)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...i,...g}),[()=>y(r),()=>y(l)]);var T=z(I);{var A=i=>{var g=J(),Q=N(g);Zt(Q,a),u(i,g)};U(T,i=>{a()&&i(A)})}var h=S(T,2);{var E=i=>{var g=Jn();u(i,g)},$=i=>{var g=$n();Kt(),u(i,g)},tt=i=>{var g=ts();u(i,g)},k=i=>{var g=es();u(i,g)},P=i=>{var g=as();u(i,g)},x=i=>{var g=rs();u(i,g)},B=i=>{var g=Ht();g.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),u(i,g)};U(h,i=>{e(c)==="bold"?i(E):e(c)==="duotone"?i($,1):e(c)==="fill"?i(tt,2):e(c)==="light"?i(k,3):e(c)==="regular"?i(P,4):e(c)==="thin"?i(x,5):i(B,-1)})}return Z(I),u(o,I),yt(w)}var ns=new Set(["$$slots","$$events","$$legacy","children"]),ss=St('<path d="M114.32,49.8A19.79,19.79,0,0,0,81.72,57L29.22,201.41A19.82,19.82,0,0,0,47.75,228a20,20,0,0,0,6.84-1.22L199,174.28a19.79,19.79,0,0,0,7.24-32.6ZM104.19,183.21l-31.4-31.4L82.94,123.9l49.16,49.16Zm-52.42,26.4Zm12-32.91L79.3,192.26l-24.45,8.89ZM157,164,92,99l10-27.58L184.57,154ZM128,40V16a12,12,0,0,1,24,0V40a12,12,0,0,1-24,0Zm116.48,83.51a12,12,0,0,1-17,17l-16-16a12,12,0,0,1,17-17Zm-.69-40.13-24,8a12,12,0,0,1-7.59-22.77l24-8a12,12,0,1,1,7.59,22.77ZM156.6,65.93C159.83,47.47,173.39,36,192,36c6.45,0,8.69-2.49,10-4.92a18,18,0,0,0,2-7.22V24a12,12,0,0,1,24,0c0,14.47-9.59,36-36,36-4.94,0-10.21,1.19-11.76,10.06A12,12,0,0,1,168.43,80a12.35,12.35,0,0,1-2.08-.18A12,12,0,0,1,156.6,65.93Z"></path>'),is=St('<path d="M58.89,154.89l42.22,42.22-50.63,18.4a7.79,7.79,0,0,1-10-10Zm138.82-4.72L105.83,58.29A7.79,7.79,0,0,0,93,61.14l-14.9,41,75.82,75.82,41-14.9A7.79,7.79,0,0,0,197.71,150.17Z" opacity="0.2"></path><path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26Zm-8.33,135.21-35-35,13.16-36.21,58.05,58.05Zm-55,20,14-38.41,24.45,24.45ZM156,168.64,87.36,100l13-35.87,91.43,91.43ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"></path>',1),ls=St('<path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26ZM65.14,161.13l19.2-52.79,63.32,63.32-52.8,19.2ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"></path>'),cs=St('<path d="M110.08,54a13.8,13.8,0,0,0-22.73,5.05L34.85,203.47A13.82,13.82,0,0,0,47.76,222a14,14,0,0,0,4.77-.85l144.38-52.5a13.8,13.8,0,0,0,5-22.73ZM48.43,209.87a1.79,1.79,0,0,1-2.3-2.3L61.31,165.8,90.2,194.68Zm54.21-19.71-36.8-36.81L80.51,113,143,175.49ZM194,156.07a1.74,1.74,0,0,1-1.14,1.3L155.44,171,85,100.55,98.63,63.19a1.72,1.72,0,0,1,1.3-1.14,1.58,1.58,0,0,1,.41,0,1.72,1.72,0,0,1,1.25.53l91.88,91.88A1.73,1.73,0,0,1,194,156.07ZM162,72a35.52,35.52,0,0,1,3.63-14.68C170.57,47.44,179.93,42,192,42c7.47,0,12.53-2.74,15.48-8.38A24.18,24.18,0,0,0,210,24,6,6,0,0,1,216,18h0a6,6,0,0,1,6,6c0,10.38-6.27,30-30,30-7.47,0-12.53,2.74-15.48,8.38A24,24,0,0,0,174,72a6,6,0,0,1-6,6h0A6,6,0,0,1,162,72ZM138,40V16a6,6,0,0,1,12,0V40a6,6,0,0,1-12,0Zm98.24,83.76a6,6,0,1,1-8.48,8.48l-16-16a6,6,0,0,1,8.48-8.48Zm5.66-46.07-24,8a6,6,0,1,1-3.8-11.38l24-8a6,6,0,0,1,3.8,11.38Z"></path>'),us=St('<path d="M111.49,52.63a15.8,15.8,0,0,0-26,5.77L33,202.78A15.83,15.83,0,0,0,47.76,224a16,16,0,0,0,5.46-1l144.37-52.5a15.8,15.8,0,0,0,5.78-26Zm-8.33,135.21-35-35,13.16-36.21,58.05,58.05Zm-55,20,14-38.41,24.45,24.45ZM156,168.64,87.36,100l13-35.87,91.43,91.43ZM160,72a37.8,37.8,0,0,1,3.84-15.58C169.14,45.83,179.14,40,192,40c6.7,0,11-2.29,13.65-7.21A22,22,0,0,0,208,23.94,8,8,0,0,1,224,24c0,12.86-8.52,32-32,32-6.7,0-11,2.29-13.65,7.21A22,22,0,0,0,176,72.06,8,8,0,0,1,160,72ZM136,40V16a8,8,0,0,1,16,0V40a8,8,0,0,1-16,0Zm101.66,82.34a8,8,0,1,1-11.32,11.31l-16-16a8,8,0,0,1,11.32-11.32Zm4.87-42.75-24,8a8,8,0,0,1-5.06-15.18l24-8a8,8,0,0,1,5.06,15.18Z"></path>'),ds=St('<path d="M108.66,55.46a11.79,11.79,0,0,0-19.43,4.31L36.73,204.15a11.81,11.81,0,0,0,11,15.85,11.88,11.88,0,0,0,4.08-.73l144.38-52.5a11.79,11.79,0,0,0,4.31-19.43Zm-6.53,137L63.52,153.87l16.19-44.51,66.92,66.93Zm-53,19.28a3.81,3.81,0,0,1-4.87-4.87l16.27-44.72,33.32,33.32Zm146.8-55.25a3.77,3.77,0,0,1-2.42,2.74l-38.56,14L82.72,101.07l14-38.56a3.77,3.77,0,0,1,2.74-2.42,4.32,4.32,0,0,1,.85-.09A3.65,3.65,0,0,1,103,61.12L194.88,153A3.78,3.78,0,0,1,195.91,156.51ZM220,24c0,9.68-5.85,28-28,28-8.31,0-14.18,3.29-17.42,9.79A26.12,26.12,0,0,0,172,72a4,4,0,0,1-8,0,34.06,34.06,0,0,1,3.42-13.79C170.66,51.73,177.56,44,192,44c19.29,0,20-18,20-20a4,4,0,0,1,4-4h0A4,4,0,0,1,220,24ZM140,40V16a4,4,0,0,1,8,0V40a4,4,0,0,1-8,0Zm94.83,85.17a4,4,0,0,1-5.66,5.66l-16-16a4,4,0,0,1,5.66-5.66Zm6.43-49.37-24,8A4,4,0,0,1,216,84a4,4,0,0,1-1.27-7.79l24-8a4,4,0,0,1,2.53,7.59Z"></path>'),fs=St('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Br(o,t){if(new.target)return pt({component:Br,...o});bt(t,!0);const r=Ea();let a=n(t,"children",7),l=Te(t,ns),c=_(()=>t.weight??r.weight??"regular"),f=_(()=>t.color??r.color??"currentColor"),v=_(()=>t.size??r.size??"1em"),p=_(()=>t.mirrored??r.mirrored??!1);function y(i){let{weight:g,color:Q,size:O,mirrored:K,...Y}=i;return Y}var w={get children(){return a()},set children(i){a(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},I=fs();Be(I,(i,g)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:e(v),height:e(v),fill:e(f),transform:e(p)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...i,...g}),[()=>y(r),()=>y(l)]);var T=z(I);{var A=i=>{var g=J(),Q=N(g);Zt(Q,a),u(i,g)};U(T,i=>{a()&&i(A)})}var h=S(T,2);{var E=i=>{var g=ss();u(i,g)},$=i=>{var g=is();Kt(),u(i,g)},tt=i=>{var g=ls();u(i,g)},k=i=>{var g=cs();u(i,g)},P=i=>{var g=us();u(i,g)},x=i=>{var g=ds();u(i,g)},B=i=>{var g=Ht();g.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),u(i,g)};U(h,i=>{e(c)==="bold"?i(E):e(c)==="duotone"?i($,1):e(c)==="fill"?i(tt,2):e(c)==="light"?i(k,3):e(c)==="regular"?i(P,4):e(c)==="thin"?i(x,5):i(B,-1)})}return Z(I),u(o,I),yt(w)}var vs=rt('<span aria-hidden="true"><!></span>');function Wt(o,t){if(new.target)return pt({component:Wt,...o});bt(t,!0);let r=n(t,"variant",7);var a={get variant(){return r()},set variant(h){r(h),s()},$set:ht,$on:(h,E)=>_t(t,h,E)},l=vs(),c=z(l);{var f=h=>{Po(h,{size:16,weight:"fill","aria-hidden":"true"})},v=h=>{Lo(h,{size:16,weight:"fill","aria-hidden":"true"})},p=h=>{ko(h,{size:16,weight:"fill","aria-hidden":"true"})},y=h=>{Mo(h,{size:16,weight:"fill","aria-hidden":"true"})},w=h=>{Er(h,{size:16,weight:"regular","aria-hidden":"true"})},I=h=>{Do(h,{size:16,weight:"regular","aria-hidden":"true"})},T=h=>{Br(h,{size:16,weight:"fill","aria-hidden":"true"})},A=h=>{Or(h,{size:16,"aria-hidden":"true"})};U(c,h=>{r()==="success"?h(f):r()==="error"?h(v,1):r()==="warning"?h(p,2):r()==="info"?h(y,3):r()==="loading"?h(w,4):r()==="update"?h(I,5):r()==="celebrate"?h(T,6):h(A,-1)})}return Z(l),V(()=>{ne(l,1,`toast-glyph toast-glyph-${r()??""}`,"svelte-1u9r0ks"),ct(l,"data-toast-glyph",r())}),u(o,l),yt(a)}var gs=rt('<span class="first-line-icon toast-first-line svelte-1ghx0kf"><!></span>'),ms=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="agent-attention"><span class="first-line-icon toast-first-line svelte-1ghx0kf"><!></span> <div class="flex-1 min-w-0"><div class="flex items-start gap-1.5"><!> <p class="toast-title flex min-w-0 items-baseline svelte-1ghx0kf"><span class="min-w-0 truncate" data-toast-title=""> </span> <!></p></div> <p class="toast-description svelte-1ghx0kf" data-toast-description=""> </p> <div class="toast-actions svelte-1ghx0kf"><!> <!></div></div> <!></div>');function Ra(o,t){if(new.target)return pt({component:Ra,...o});bt(t,!0);let r=n(t,"title",7),a=n(t,"reason",7),l=n(t,"kind",7),c=n(t,"timestamp",7),f=n(t,"keySlot",7,null),v=n(t,"onSwitchTo",7),p=n(t,"onClose",7);var y={get title(){return r()},set title(M){r(M),s()},get reason(){return a()},set reason(M){a(M),s()},get kind(){return l()},set kind(M){l(M),s()},get timestamp(){return c()},set timestamp(M){c(M),s()},get keySlot(){return f()},set keySlot(M=null){f(M),s()},get onSwitchTo(){return v()},set onSwitchTo(M){v(M),s()},get onClose(){return p()},set onClose(M){p(M),s()},$set:ht,$on:(M,et)=>_t(t,M,et)},w=ms(),I=z(w),T=z(I);{let M=_(()=>l()==="blocker"?"warning":"discussion");Wt(T,{get variant(){return e(M)}})}Z(I);var A=S(I,2),h=z(A),E=z(h);{var $=M=>{var et=gs(),X=z(et);za(X,{get slot(){return f()}}),Z(et),u(M,et)};U(E,M=>{f()!=null&&M($)})}var tt=S(E,2),k=z(tt),P=vt(k,!0),x=S(k,2);{var B=M=>{Tr(M,{get date(){return c()},compact:!0,class:"ml-1 shrink-0 whitespace-nowrap text-xs font-normal text-muted-foreground"})};U(x,M=>{c()&&M(B)})}Z(tt),Z(h);var i=S(h,2),g=vt(i,!0),Q=S(i,2),O=z(Q);Gt(O,{variant:"primary",size:"compact",class:"toast-action",get onclick(){return v()},children:(M,et)=>{Kt();var X=Ht();V(lt=>W(X,lt),[()=>F.agent_attentionToast_switchTo_label()]),u(M,X)},$$slots:{default:!0}});var K=S(O,2);Gt(K,{variant:"ghost",size:"compact",class:"toast-action",get onclick(){return p()},children:(M,et)=>{Kt();var X=Ht();V(lt=>W(X,lt),[()=>F.agent_attentionToast_later_label()]),u(M,X)},$$slots:{default:!0}}),Z(Q),Z(A);var Y=S(A,2);{let M=_(()=>F.agent_attentionToast_close_ariaLabel());Pe(Y,{get onclick(){return p()},get ariaLabel(){return e(M)}})}return Z(w),V(()=>{ct(k,"title",r()),W(P,r()),W(g,a())}),u(o,w),yt(y)}const ps=Object.freeze(Object.defineProperty({__proto__:null,default:Ra},Symbol.toStringTag,{value:"Module"}));var hs=rt('<span class="first-line-icon toast-first-line svelte-nvewtf"><!></span>'),_s=rt('<p class="text-xs text-muted-foreground break-words" data-testid="toast-auth-claude-desktop-note" data-toast-description="" data-toast-optional=""> </p>'),bs=rt('<div class="mt-1.5 flex min-w-0 flex-col gap-1" data-testid="toast-auth-guidance"><p class="text-xs text-muted-foreground" data-toast-optional=""> </p> <div class="flex items-center gap-1"><code class="min-w-0 flex-1 truncate rounded bg-muted px-1.5 py-0.5 text-xs" data-testid="toast-auth-login-command"> </code> <!> <!></div> <!></div>'),ys=rt('<p class="toast-metadata min-w-0 truncate svelte-nvewtf" data-toast-optional=""><span class="toast-metadata-dot svelte-nvewtf" aria-hidden="true"></span> <span class="min-w-0 truncate"> </span></p>'),ws=rt('<p class="text-xs text-danger mt-1.5" data-toast-description="" data-toast-optional=""> </p>'),xs=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="agent-failure"><span class="first-line-icon toast-first-line svelte-nvewtf"><!></span> <div class="flex-1 min-w-0"><div class="flex items-start gap-1.5"><!> <p class="toast-title min-w-0 svelte-nvewtf" data-toast-title=""> </p></div> <p class="toast-description svelte-nvewtf" data-toast-description=""> </p> <!> <!> <!> <div class="toast-actions svelte-nvewtf"><!> <!></div></div> <!></div>');function Na(o,t){if(new.target)return pt({component:Na,...o});bt(t,!0);let r=n(t,"title",7),a=n(t,"errorSummary",7),l=n(t,"contextLine",7),c=n(t,"retryLabel",7),f=n(t,"retrying",7),v=n(t,"retryNote",7),p=n(t,"keySlot",7,null),y=n(t,"loginCommandHint",7),w=n(t,"showClaudeDesktopNote",7,!1),I=n(t,"onRunLogin",7),T=n(t,"onRetry",7),A=n(t,"onSwitchTo",7),h=n(t,"onClose",7),E=_(()=>l()?.replace(" — "," / "));var $={get title(){return r()},set title(L){r(L),s()},get errorSummary(){return a()},set errorSummary(L){a(L),s()},get contextLine(){return l()},set contextLine(L){l(L),s()},get retryLabel(){return c()},set retryLabel(L){c(L),s()},get retrying(){return f()},set retrying(L){f(L),s()},get retryNote(){return v()},set retryNote(L){v(L),s()},get keySlot(){return p()},set keySlot(L=null){p(L),s()},get loginCommandHint(){return y()},set loginCommandHint(L){y(L),s()},get showClaudeDesktopNote(){return w()},set showClaudeDesktopNote(L=!1){w(L),s()},get onRunLogin(){return I()},set onRunLogin(L){I(L),s()},get onRetry(){return T()},set onRetry(L){T(L),s()},get onSwitchTo(){return A()},set onSwitchTo(L){A(L),s()},get onClose(){return h()},set onClose(L){h(L),s()},$set:ht,$on:(L,G)=>_t(t,L,G)},tt=xs(),k=z(tt),P=z(k);Wt(P,{variant:"error"}),Z(k);var x=S(k,2),B=z(x),i=z(B);{var g=L=>{var G=hs(),C=z(G);za(C,{get slot(){return p()}}),Z(G),u(L,G)};U(i,L=>{p()!=null&&L(g)})}var Q=S(i,2),O=vt(Q,!0);Z(B);var K=S(B,2),Y=vt(K,!0),M=S(K,2);{var et=L=>{var G=bs(),C=z(G),m=vt(C,!0),H=S(C,2),nt=z(H),j=vt(nt,!0),at=S(nt,2);Za(at,{get text(){return y()},size:"xs"});var At=S(at,2);{var Ot=kt=>{{let Rt=_(()=>F.chat_failureRecovery_runInTerminal_label()),Ft=_(()=>F.chat_failureRecovery_runInTerminal_label());Gt(kt,{variant:"ghost",size:"icon-compact",class:"[&_svg]:size-3",iconOnly:!0,get tooltip(){return e(Rt)},get"aria-label"(){return e(Ft)},get onclick(){return I()},"data-testid":"toast-auth-run-in-terminal",children:(se,qt)=>{ma(se,{get icon(){return gr},size:"xs"})},$$slots:{default:!0}})}};U(At,kt=>{I()&&kt(Ot)})}Z(H);var zt=S(H,2);{var wt=kt=>{var Rt=_s(),Ft=vt(Rt,!0);V(se=>W(Ft,se),[()=>F.settings_providers_claudeDesktopNote_label()]),u(kt,Rt)};U(zt,kt=>{w()&&kt(wt)})}Z(G),V(kt=>{W(m,kt),ct(nt,"title",y()),W(j,y())},[()=>F.settings_providers_runToLogIn_label()]),u(L,G)};U(M,L=>{y()&&L(et)})}var X=S(M,2);{var lt=L=>{var G=ys(),C=S(z(G),2),m=vt(C,!0);Z(G),V(()=>{ct(C,"title",e(E)),W(m,e(E))}),u(L,G)};U(X,L=>{e(E)&&L(lt)})}var q=S(X,2);{var Pt=L=>{var G=ws(),C=vt(G,!0);V(()=>W(C,v())),u(L,G)};U(q,L=>{v()&&L(Pt)})}var D=S(q,2),ot=z(D);Gt(ot,{variant:"outline",size:"compact",class:"toast-action",get disabled(){return f()},get onclick(){return T()},children:(L,G)=>{Kt();var C=Ht();V(m=>W(C,m),[()=>f()?F.ui_agentFailureToast_retrying_label():c()]),u(L,C)},$$slots:{default:!0}});var it=S(ot,2);Gt(it,{variant:"ghost",size:"compact",class:"toast-action",get onclick(){return A()},children:(L,G)=>{Kt();var C=Ht();V(m=>W(C,m),[()=>F.agent_failureToast_switchTo_label()]),u(L,C)},$$slots:{default:!0}}),Z(D),Z(x);var gt=S(x,2);{let L=_(()=>F.ui_agentFailureToast_close_ariaLabel());Pe(gt,{get onclick(){return h()},get ariaLabel(){return e(L)}})}return Z(tt),V(()=>{W(O,r()),W(Y,a())}),u(o,tt),yt($)}const Ts=Object.freeze(Object.defineProperty({__proto__:null,default:Na},Symbol.toStringTag,{value:"Module"}));var As=rt('<p class="min-w-0 truncate"> </p>'),Is=rt("<p> </p>"),Cs=rt('<div class="mt-1.5 flex min-w-0 items-center gap-1" data-testid="toast-auth-guidance"><code class="min-w-0 flex-1 truncate rounded bg-muted px-1.5 py-0.5 text-xs"> </code> <!> <!></div>'),Ss=rt('<p class="text-xs text-danger mt-1.5" data-toast-description="" data-toast-optional=""> </p>'),Ps=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="agent-failure-group"><span class="toast-first-line svelte-1x63pp0"><!></span> <div class="flex-1 min-w-0"><p class="toast-title min-w-0 svelte-1x63pp0" data-toast-title=""> </p> <p class="toast-description svelte-1x63pp0" data-toast-description=""> </p> <div class="toast-members svelte-1x63pp0" data-testid="toast-group-members" data-toast-optional=""><!> <!></div> <!> <!> <div class="toast-actions svelte-1x63pp0"><!> <!></div></div> <!></div>');function Ha(o,t){if(new.target)return pt({component:Ha,...o});bt(t,!0);let r=n(t,"title",7),a=n(t,"errorSummary",7),l=n(t,"members",7),c=n(t,"moreCount",7),f=n(t,"loginCommandHint",7),v=n(t,"onRunLogin",7),p=n(t,"retrying",7),y=n(t,"retryNote",7),w=n(t,"onSwitchAll",7),I=n(t,"onRetryAll",7),T=n(t,"onClose",7);var A={get title(){return r()},set title(D){r(D),s()},get errorSummary(){return a()},set errorSummary(D){a(D),s()},get members(){return l()},set members(D){l(D),s()},get moreCount(){return c()},set moreCount(D){c(D),s()},get loginCommandHint(){return f()},set loginCommandHint(D){f(D),s()},get onRunLogin(){return v()},set onRunLogin(D){v(D),s()},get retrying(){return p()},set retrying(D){p(D),s()},get retryNote(){return y()},set retryNote(D){y(D),s()},get onSwitchAll(){return w()},set onSwitchAll(D){w(D),s()},get onRetryAll(){return I()},set onRetryAll(D){I(D),s()},get onClose(){return T()},set onClose(D){T(D),s()},$set:ht,$on:(D,ot)=>_t(t,D,ot)},h=Ps(),E=z(h),$=z(E);Wt($,{variant:"error"}),Z(E);var tt=S(E,2),k=z(tt),P=vt(k,!0),x=S(k,2),B=vt(x,!0),i=S(x,2),g=z(i);ga(g,17,l,Io,(D,ot)=>{var it=As(),gt=vt(it,!0);V(()=>{ct(it,"title",e(ot)),W(gt,e(ot))}),u(D,it)});var Q=S(g,2);{var O=D=>{var ot=Is(),it=vt(ot,!0);V(gt=>W(it,gt),[()=>F.agent_failureGroupToast_more_label({count:c()})]),u(D,ot)};U(Q,D=>{c()>0&&D(O)})}Z(i);var K=S(i,2);{var Y=D=>{var ot=Cs(),it=z(ot),gt=vt(it,!0),L=S(it,2);Za(L,{get text(){return f()},size:"xs"});var G=S(L,2);{var C=m=>{{let H=_(()=>F.chat_failureRecovery_runInTerminal_label()),nt=_(()=>F.chat_failureRecovery_runInTerminal_label());Gt(m,{variant:"ghost",size:"icon-compact",class:"[&_svg]:size-3",iconOnly:!0,get tooltip(){return e(H)},get"aria-label"(){return e(nt)},get onclick(){return v()},"data-testid":"toast-auth-run-in-terminal",children:(j,at)=>{ma(j,{get icon(){return gr},size:"xs"})},$$slots:{default:!0}})}};U(G,m=>{v()&&m(C)})}Z(ot),V(()=>{ct(it,"title",f()),W(gt,f())}),u(D,ot)};U(K,D=>{f()&&D(Y)})}var M=S(K,2);{var et=D=>{var ot=Ss(),it=vt(ot,!0);V(()=>W(it,y())),u(D,ot)};U(M,D=>{y()&&D(et)})}var X=S(M,2),lt=z(X);Gt(lt,{variant:"outline",size:"compact",class:"toast-action",get onclick(){return w()},children:(D,ot)=>{Kt();var it=Ht();V(gt=>W(it,gt),[()=>F.agent_failureGroupToast_switchAll_label()]),u(D,it)},$$slots:{default:!0}});var q=S(lt,2);Gt(q,{variant:"ghost",size:"compact",class:"toast-action",get disabled(){return p()},get onclick(){return I()},children:(D,ot)=>{Kt();var it=Ht();V(gt=>W(it,gt),[()=>p()?F.ui_agentFailureToast_retrying_label():F.agent_failureGroupToast_retryAll_label()]),u(D,it)},$$slots:{default:!0}}),Z(X),Z(tt);var Pt=S(tt,2);{let D=_(()=>F.ui_agentFailureToast_close_ariaLabel());Pe(Pt,{get onclick(){return T()},get ariaLabel(){return e(D)}})}return Z(h),V(()=>{W(P,r()),W(B,a())}),u(o,h),yt(A)}const Ls=Object.freeze(Object.defineProperty({__proto__:null,default:Ha},Symbol.toStringTag,{value:"Module"}));var ks=rt('<div class="relative flex w-full min-w-0 items-start gap-2.5 pr-6" data-toast-layout="application-error"><span class="first-line-icon toast-first-line svelte-otnmra"><!></span> <div class="flex-1 min-w-0"><p class="toast-title svelte-otnmra" data-toast-title=""> </p> <p class="toast-description svelte-otnmra" data-toast-description=""> </p> <div class="toast-actions svelte-otnmra"><!> <!> <!></div></div> <!></div>');function Fa(o,t){if(new.target)return pt({component:Fa,...o});bt(t,!0);let r=n(t,"error",7),a=n(t,"onCopy",7),l=n(t,"onDebug",7),c=n(t,"onRetry",7);const f=lr();function v(){f("closeToast")}function p(O){switch(O){case"warning":return"warning";case"info":return"info";default:return"error"}}var y={get error(){return r()},set error(O){r(O),s()},get onCopy(){return a()},set onCopy(O){a(O),s()},get onDebug(){return l()},set onDebug(O){l(O),s()},get onRetry(){return c()},set onRetry(O){c(O),s()},$set:ht,$on:(O,K)=>_t(t,O,K)},w=ks(),I=z(w),T=z(I);{let O=_(()=>p(r().type));Wt(T,{get variant(){return e(O)}})}Z(I);var A=S(I,2),h=z(A),E=vt(h,!0),$=S(h,2),tt=vt($,!0),k=S($,2),P=z(k);{var x=O=>{Gt(O,{variant:"outline",size:"compact",class:"toast-action",get onclick(){return c()},children:(K,Y)=>{Kt();var M=Ht();V(et=>W(M,et),[()=>F.ui_errorToast_retry_label()]),u(K,M)},$$slots:{default:!0}})};U(P,O=>{r().recoverable&&c()&&O(x)})}var B=S(P,2);{var i=O=>{Gt(O,{variant:"outline",size:"compact",class:"toast-action",get onclick(){return l()},children:(K,Y)=>{Kt();var M=Ht();V(et=>W(M,et),[()=>F.ui_errorToast_debug_label()]),u(K,M)},$$slots:{default:!0}})};U(B,O=>{l()&&O(i)})}var g=S(B,2);Gt(g,{variant:"ghost",size:"compact",class:"toast-action",get onclick(){return a()},children:(O,K)=>{Kt();var Y=Ht();V(M=>W(Y,M),[()=>F.ui_errorToast_copy_label()]),u(O,Y)},$$slots:{default:!0}}),Z(k),Z(A);var Q=S(A,2);{let O=_(()=>F.ui_errorToast_close_ariaLabel());Pe(Q,{onclick:v,get ariaLabel(){return e(O)}})}return Z(w),V(()=>{W(E,r().title),W(tt,r().message)}),u(o,w),yt(y)}const Ms=Object.freeze(Object.defineProperty({__proto__:null,default:Fa},Symbol.toStringTag,{value:"Module"}));var Ds=rt("<div><!></div> <!>",1);function ja(o,t){if(new.target)return pt({component:ja,...o});bt(t,!0);const r=()=>Fe(h,"$isDarkTheme",a),[a,l]=nr();let c=n(t,"regionId",7,"app-toast-region"),f=n(t,"toasterId",7),v=n(t,"position",7,"bottom-left"),p=n(t,"staticPosition",7,!1),y=n(t,"staticToastCount",7),w=n(t,"onClearAll",7),I=n(t,"containerAriaLabel",23,()=>F.ui_toast_notifications_ariaLabel());const T=Se(()=>p()),A=ao(typeof document<"u"&&document.documentElement.classList.contains("dark")),h=T?A:xo(),E=ur(dr()+2);fr(E);let $=Ct(0),tt=Ct(3),k=_(()=>y()??e($)),P=_(()=>e(k)>=2),x=_(()=>({bottom:e(P)?"calc(1rem + var(--control-height-large) + 0.5rem)":16,left:16})),B=_(()=>e(x)),i;Oa(()=>{const q=T?new MutationObserver(()=>A.set(document.documentElement.classList.contains("dark"))):void 0;q?.observe(document.documentElement,{attributes:!0,attributeFilter:["class"]});const Pt=new Set,D=new ResizeObserver(()=>ot()),ot=()=>{for(const m of i.querySelectorAll("[data-sonner-toast]"))m.inert=m.dataset.removed==="true"||m.dataset.visible==="false"||m.dataset.front==="false"&&m.dataset.expanded==="false";const gt=Array.from(i.querySelectorAll('[data-sonner-toast]:not([data-removed="true"])'));R($,gt.length,!0);const L=gt.flatMap(m=>[m,...m.querySelectorAll(":scope > *, [data-title], [data-description], [data-toast-title], [data-toast-description]")]);for(const m of Pt)L.includes(m)||(D.unobserve(m),Pt.delete(m));for(const m of L)Pt.has(m)||(D.observe(m),Pt.add(m));for(const m of gt){const H=m.querySelector(":scope > [data-close-button]");H&&m.lastElementChild!==H&&m.append(H);const nt=m.querySelector("[data-title]");if(nt){const j=Array.from(m.querySelectorAll(":scope > [data-button], .toast-undo-action")),at=getComputedStyle(m),Ot=j.reduce((zt,wt)=>zt+Math.max(wt.scrollWidth,wt.offsetWidth)+10,0)+(m.querySelector("[data-icon]")?26:0)+(H?32:0)+Number.parseFloat(at.paddingLeft)+Number.parseFloat(at.paddingRight)+Math.min(96,nt.scrollWidth);m.toggleAttribute("data-toast-footer",Ot>m.clientWidth)}for(const j of m.querySelectorAll("[data-title], [data-description], [data-toast-title], [data-toast-description]"))j.textContent&&(j.title=j.textContent.trim())}for(const m of i.querySelectorAll("[data-sonner-toaster]")){const H=getComputedStyle(m),nt=`calc(100dvh - ${H.getPropertyValue("--offset-top")} - ${H.getPropertyValue("--offset-bottom")})`;m.style.getPropertyValue("--toast-available-height")!==nt&&m.style.setProperty("--toast-available-height",nt)}const G=new Map;for(const m of gt){m.setAttribute("data-toast-measuring","");for(let H=0;H<=3&&(m.dataset.toastCompact=String(H),!(m.scrollHeight<=m.clientHeight+1&&m.scrollWidth<=m.clientWidth+1));H+=1);G.set(m,m.offsetHeight),m.removeAttribute("data-toast-measuring")}let C=3;for(const m of i.querySelectorAll("[data-sonner-toaster]")){const H=gt.filter(at=>at.parentElement===m).sort((at,At)=>Number(at.dataset.index)-Number(At.dataset.index));let nt=0;for(const at of H){const At=`${nt}px`;at.style.getPropertyValue("--toast-stack-offset")!==At&&at.style.setProperty("--toast-stack-offset",At),nt+=(G.get(at)??0)+8}const j=`${H[0]?G.get(H[0]):0}px`;if(m.style.getPropertyValue("--toast-front-height")!==j&&m.style.setProperty("--toast-front-height",j),m.toggleAttribute("data-toast-sized",H.length>0),!T){const at=getComputedStyle(m),At=m.dataset.yPosition==="top"?at.top:at.bottom,Ot=window.innerHeight-(Number.parseFloat(At)||0)-16;let zt=0,wt=0;for(const kt of H.slice(0,3)){if(zt+=(G.get(kt)??0)+(wt?8:0),zt>Ot&&wt)break;wt+=1}C=Math.min(C,Math.max(1,wt))}}R(tt,C,!0)},it=new MutationObserver(ot);return it.observe(i,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-visible","data-removed","data-front","data-expanded","style","open"]}),window.addEventListener("resize",ot),ot(),()=>{q?.disconnect(),it.disconnect(),D.disconnect(),window.removeEventListener("resize",ot)}});function g(){w()?w()():ee.dismiss(),R($,0)}var Q={get regionId(){return c()},set regionId(q="app-toast-region"){c(q),s()},get toasterId(){return f()},set toasterId(q){f(q),s()},get position(){return v()},set position(q="bottom-left"){v(q),s()},get staticPosition(){return p()},set staticPosition(q=!1){p(q),s()},get staticToastCount(){return y()},set staticToastCount(q){y(q),s()},get onClearAll(){return w()},set onClearAll(q){w(q),s()},get containerAriaLabel(){return I()},set containerAriaLabel(q=F.ui_toast_notifications_ariaLabel()){I(q),s()},$set:ht,$on:(q,Pt)=>_t(t,q,Pt)},O=Ds(),K=N(O);let Y;var M=z(K);{const q=m=>{Wt(m,{variant:"success"})},Pt=m=>{Wt(m,{variant:"error"})},D=m=>{Wt(m,{variant:"warning"})},ot=m=>{Wt(m,{variant:"info"})},it=m=>{Wt(m,{variant:"loading"})},gt=m=>{vr(m,{size:16,"aria-hidden":"true"})};let L=_(()=>r()?"dark":"light"),G=_(()=>F.ui_toast_close_ariaLabel()),C=_(()=>({classes:{toast:`group toast w-full min-w-0 max-w-full group-[.toaster]:text-foreground ${To(E)}`,description:"group-[.toast]:text-subtle",actionButton:"toast-action-button",cancelButton:"group-[.toast]:bg-transparent group-[.toast]:text-foreground group-[.toast]:border group-[.toast]:border-border group-[.toast]:hover:bg-muted",action:"font-medium"}}));Dr(M,{get id(){return f()},get theme(){return e(L)},class:"toaster group",style:"--app-toast-width: min(22rem, calc(100vw - clamp(2rem, 8vw, 4rem)))",get offset(){return e(x)},get mobileOffset(){return e(B)},get containerAriaLabel(){return I()},get closeButtonAriaLabel(){return e(G)},get toastOptions(){return e(C)},get position(){return v()},closeButton:!0,duration:1e4,gap:8,get visibleToasts(){return e(tt)},successIcon:q,errorIcon:Pt,warningIcon:D,infoIcon:ot,loadingIcon:it,closeIcon:gt,$$slots:{successIcon:!0,errorIcon:!0,warningIcon:!0,infoIcon:!0,loadingIcon:!0,closeIcon:!0}})}Z(K),Ba(K,q=>i=q,()=>i);var et=S(K,2);{var X=q=>{{let Pt=_(()=>p()?"toast-clear-all toast-clear-all-static":"toast-clear-all"),D=_(()=>F.ui_toast_clearAll_ariaLabel({count:e(k)}));Gt(q,{variant:"secondary",size:"lg",get class(){return e(Pt)},onclick:g,get"aria-controls"(){return c()},get"aria-label"(){return e(D)},children:(ot,it)=>{Kt();var gt=Ht();V(L=>W(gt,L),[()=>F.ui_toast_clearAll_label()]),u(ot,gt)},$$slots:{default:!0}})}};U(et,q=>{e(P)&&q(X)})}V(()=>{ct(K,"id",c()),ct(K,"data-surface-level",E),Qe(K,`--toast-surface: ${Ao[E]??""}`),Y=ne(K,1,"svelte-5x04q2",null,Y,{"toast-static":p()})}),u(o,O);var lt=yt(Q);return l(),lt}const Os=Object.freeze(Object.defineProperty({__proto__:null,default:ja},Symbol.toStringTag,{value:"Module"}));var Es=rt('<span> </span> <kbd data-toast-shortcut="" class="svelte-ywowy2">⌘Z</kbd>',1);function Zr(o,t){if(new.target)return pt({component:Zr,...o});bt(t,!0);let r=n(t,"onclick",7,()=>{});var a={get onclick(){return r()},set onclick(l=()=>{}){r(l),s()},$set:ht,$on:(l,c)=>_t(t,l,c)};return Gt(o,{variant:"outline",size:"compact",class:"toast-undo-action",get onclick(){return r()},children:(l,c)=>{var f=Es(),v=N(f),p=vt(v,!0);Kt(2),V(y=>W(p,y),[()=>F.ui_reversibleActions_undo_label()]),u(l,f)},$$slots:{default:!0}}),yt(a)}const Bs=xe.createSelector(o=>o.autoUpdate.status),Zs=xe.createSelector(o=>o.autoUpdate.currentVersion),zs=xe.createSelector(o=>o.autoUpdate.updateInfo),Rs=xe.createSelector(o=>o.autoUpdate.progress),Ns=xe.createSelector(o=>o.autoUpdate.error),Pi=xe.createSelector(o=>o.autoUpdate.shareStatistics),Li=xe.createSelector(o=>o.autoUpdate.toastVisible),ki=xe.createSelector(o=>o.autoUpdate.downloadedToastDismissedAt),Mi=xe.createSelector(o=>o.autoUpdate.status==="downloaded");var Hs=rt('<div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div></div>'),or=rt('<div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div> <!></div> <div class="description svelte-1jnlue7" data-toast-description=""> </div>',1),Fs=rt('<div class="toast-downloading"><div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div> <span class="toast-progress-label svelte-1jnlue7"> </span> <!></div> <div class="description svelte-1jnlue7" data-toast-description=""><!><!></div> <div class="progress-bar svelte-1jnlue7"><div class="progress-fill svelte-1jnlue7"></div></div></div>'),js=rt('<div class="toast-row svelte-1jnlue7"><div class="flex shrink-0"><!></div> <div class="title svelte-1jnlue7" data-toast-title=""> </div> <!> <!></div> <div class="description svelte-1jnlue7" data-toast-description=""> </div>',1),Vs=rt('<div class="toast-row svelte-1jnlue7"><!> <div class="title svelte-1jnlue7" data-toast-title=""> </div></div> <div class="description svelte-1jnlue7" data-toast-description=""> </div>',1),Us=rt('<div class="update-toast svelte-1jnlue7"><!></div>');function Va(o,t){if(new.target)return pt({component:Va,...o});bt(t,!0);const r=()=>Fe(E,"$status$",v),a=()=>Fe($,"$progress$",v),l=()=>Fe(tt,"$updateInfo$",v),c=()=>Fe(k,"$currentVersion$",v),f=()=>Fe(P,"$error$",v),[v,p]=nr();let y=n(t,"onDismiss",7),w=n(t,"onAutoDismiss",7),I=n(t,"closeToast",7),T=n(t,"previewState",7);function A(){y()?.(),I()?.()}const h=Se(()=>T()),E=h?Xe(h.status):Bs(),$=h?Xe(h.progress??null):Rs(),tt=h?Xe(h.updateInfo??null):zs(),k=h?Xe(h.currentVersion??""):Zs(),P=h?Xe(h.error??null):Ns();let x=_(()=>T()?.status??r()),B=_(()=>T()?.progress??a()),i=_(()=>T()?.updateInfo??l()),g=_(()=>T()?.currentVersion??c()),Q=_(()=>T()?.error??f()),O=_(()=>e(B)?Math.round(e(B).percent):0),K=_(()=>T()?.remainingSeconds??(e(B)&&e(B).bytesPerSecond>0?Math.max(0,Math.ceil((e(B).total-e(B).transferred)/e(B).bytesPerSecond)):null));function Y(C){return C>=1024*1024?F.ui_updateToast_speedMbps_label({speed:_o(C/(1024*1024),{minimumFractionDigits:1,maximumFractionDigits:1})}):C>=1024?F.ui_updateToast_speedKbps_label({speed:Ve(C/1024)}):F.ui_updateToast_speedBps_label({speed:Ve(C)})}function M(){if(T()){T().onInstall?.();return}xe.dispatch(Zo())}function et(){if(T()){T().onDownload?.();return}xe.dispatch(Bo())}be(()=>{const C=w()??y();if((e(x)==="not-available"||e(x)==="error")&&C){const m=e(x)==="error"?5e3:3e3,H=setTimeout(()=>{C()},m);return()=>clearTimeout(H)}});var X={get onDismiss(){return y()},set onDismiss(C){y(C),s()},get onAutoDismiss(){return w()},set onAutoDismiss(C){w(C),s()},get closeToast(){return I()},set closeToast(C){I(C),s()},get previewState(){return T()},set previewState(C){T(C),s()},$set:ht,$on:(C,m)=>_t(t,C,m)},lt=Us(),q=z(lt);{var Pt=C=>{var m=Hs(),H=z(m);Wt(H,{variant:"loading"});var nt=S(H,2),j=vt(nt,!0);Z(m),V(at=>W(j,at),[()=>F.ui_updateToast_checking_label()]),u(C,m)},D=C=>{var m=or(),H=N(m),nt=z(H);Wt(nt,{variant:"update"});var j=S(nt,2),at=vt(j,!0),At=S(j,2);Gt(At,{variant:"primary",size:"compact",class:"toast-action ml-auto",onclick:et,children:(wt,kt)=>{Kt();var Rt=Ht();V(Ft=>W(Rt,Ft),[()=>F.ui_updateToast_download_label()]),u(wt,Rt)},$$slots:{default:!0}}),Z(H);var Ot=S(H,2),zt=vt(Ot,!0);V((wt,kt)=>{W(at,wt),W(zt,kt)},[()=>F.ui_updateToast_available_label({version:e(i)?.version||""}),()=>T()?.availableDescription??F.ui_updateToast_readyToDownload_description()]),u(C,m)},ot=C=>{var m=Fs(),H=z(m),nt=z(H);Wt(nt,{variant:"update"});var j=S(nt,2),at=vt(j,!0),At=S(j,2),Ot=vt(At),zt=S(At,2);{let ae=_(()=>F.ui_updateToast_close_ariaLabel());Pe(zt,{inline:!0,onclick:A,get ariaLabel(){return e(ae)}})}Z(H);var wt=S(H,2),kt=z(wt);{var Rt=ae=>{var ve=Ht();V(ie=>W(ve,ie),[()=>Y(e(B).bytesPerSecond)]),u(ae,ve)};U(kt,ae=>{e(B)&&ae(Rt)})}var Ft=S(kt);{var se=ae=>{var ve=Ht();V(ie=>W(ve,`· ${ie??""}`),[()=>F.ui_updateToast_remainingSeconds_label({seconds:Ve(e(K))})]),u(ae,ve)};U(Ft,ae=>{e(K)!=null&&ae(se)})}Z(wt);var qt=S(wt,2),qe=vt(qt);Z(m),V((ae,ve)=>{W(at,ae),W(Ot,`${ve??""}%`),Qe(qe,`width: ${e(O)??""}%`)},[()=>F.ui_updateToast_downloading_label({version:e(i)?.version||""}),()=>Ve(e(O))]),u(C,m)},it=C=>{var m=js(),H=N(m),nt=z(H),j=z(nt);Wt(j,{variant:"celebrate"}),Z(nt);var at=S(nt,2),At=vt(at,!0),Ot=S(at,2);Gt(Ot,{variant:"primary",size:"compact",class:"toast-action",onclick:M,children:(Rt,Ft)=>{Kt();var se=Ht();V(qt=>W(se,qt),[()=>F.ui_updateToast_restart_label()]),u(Rt,se)},$$slots:{default:!0}});var zt=S(Ot,2);{let Rt=_(()=>F.ui_updateToast_close_ariaLabel());Pe(zt,{inline:!0,onclick:A,get ariaLabel(){return e(Rt)}})}Z(H);var wt=S(H,2),kt=vt(wt,!0);V((Rt,Ft)=>{W(At,Rt),W(kt,Ft)},[()=>F.ui_updateToast_updateReady_label(),()=>F.ui_updateToast_installOnRestart_description({version:e(i)?.version??""})]),pa(1,nt,()=>mr,()=>({tier:"slow",y:30,scale:1})),pa(2,nt,()=>pr,()=>({tier:"slow"})),u(C,m)},gt=C=>{var m=Vs(),H=N(m),nt=z(H);Wt(nt,{variant:"celebrate"});var j=S(nt,2),at=vt(j,!0);Z(H);var At=S(H,2),Ot=vt(At,!0);V((zt,wt)=>{W(at,zt),W(Ot,wt)},[()=>F.ui_updateToast_upToDate_label(),()=>F.ui_updateToast_runningVersion_description({version:e(g)??""})]),u(C,m)},L=C=>{var m=or(),H=N(m),nt=z(H);Wt(nt,{variant:"error"});var j=S(nt,2),at=vt(j,!0),At=S(j,2);{let wt=_(()=>F.ui_updateToast_close_ariaLabel());Pe(At,{inline:!0,onclick:A,get ariaLabel(){return e(wt)}})}Z(H);var Ot=S(H,2),zt=vt(Ot,!0);V((wt,kt)=>{W(at,wt),W(zt,kt)},[()=>F.ui_updateToast_checkFailed_label(),()=>e(Q)||F.ui_updateToast_unknown_error()]),u(C,m)};U(q,C=>{e(x)==="checking"?C(Pt):e(x)==="available"?C(D,1):e(x)==="downloading"?C(ot,2):e(x)==="downloaded"?C(it,3):e(x)==="not-available"?C(gt,4):e(x)==="error"&&C(L,5)})}Z(lt),u(o,lt);var G=yt(X);return p(),G}const Ws=Object.freeze(Object.defineProperty({__proto__:null,default:Va},Symbol.toStringTag,{value:"Module"})),Da="toast-countdown",zr="toast-countdown-no-hover-pause";function Rr(o,{pauseOnHover:t=!0}={}){const{duration:r}=o;if(typeof r!="number"||!Number.isFinite(r)||r<=0)return o;const a=t?Da:`${Da} ${zr}`,l=`--toast-countdown-duration: ${r}ms`;return{...o,class:o.class?`${o.class} ${a}`:a,style:o.style?`${o.style}; ${l}`:l}}const Ks=[{id:"toast-state-matrix",title:"Toast notification styles",states:["success","error","warning","info","loading","notify-error-details","app-error","agent-failure","agent-attention","update-available","update-downloading","undoable-paused","multi-toast-stack","clear-all","live-actions","light","dark","reduced-motion"],themes:["light","dark"],viewport:"both",reducedMotion:!0}],Gs=oo({id:"toast",source:"src/lib/components/ui/toast/index.ts",publicImport:"$lib/components/ui/toast",legacyImports:["$lib/components/ui/toast/Toast.svelte"],exports:["AgentAttentionToast","AgentAttentionToastComponent","AgentFailureToast","AgentFailureToastComponent","ErrorToast","ErrorToastComponent","ExternalToast","TOAST_COUNTDOWN_CLASS","TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS","Toast","ToastCloseButton","ToastGlyph","ToastUndoAction","ToastComponent","UpdateToast","UpdateToastComponent","loadAgentAttentionToast","loadAgentFailureToast","loadErrorToast","loadToast","loadUpdateToast","toast","toastMetadata","withToastCountdown"],category:"pattern",owner:"007-B1",callers:["src/features/hud/components/DockConversationNotifications.svelte","src/lib/component-catalog/renderers/ToastCatalogPreview.svelte","src/lib/components/layout/DaemonStatusIndicator.svelte","src/lib/components/patterns/notify/index.ts","src/lib/components/patterns/notify/notify.ts","src/routes/(app)/+layout.svelte"],replacement:null,characterizationTest:"src/lib/components/ui/toast/Toast.test.ts",removalGate:"Retain while toast styling, countdown, actions, and catalog coverage pass.",dynamicImports:["src/features/agent/agent-attention-toast-service.ts"],fixtures:Ks}),qs=()=>Ge(()=>Promise.resolve().then(()=>ps),void 0,import.meta.url).then(o=>o.default),Nr=()=>Ge(()=>Promise.resolve().then(()=>Ts),void 0,import.meta.url).then(o=>o.default),Hr=()=>Ge(()=>Promise.resolve().then(()=>Ls),void 0,import.meta.url).then(o=>o.default),Fr=()=>Ge(()=>Promise.resolve().then(()=>Ms),void 0,import.meta.url).then(o=>o.default),Ys=()=>Ge(()=>Promise.resolve().then(()=>Os),void 0,import.meta.url).then(o=>o.default),jr=()=>Ge(()=>Promise.resolve().then(()=>Ws),void 0,import.meta.url).then(o=>o.default),Di=Object.freeze(Object.defineProperty({__proto__:null,AgentAttentionToast:Ra,AgentFailureGroupToast:Ha,AgentFailureToast:Na,ErrorToast:Fa,TOAST_COUNTDOWN_CLASS:Da,TOAST_COUNTDOWN_NO_HOVER_PAUSE_CLASS:zr,Toast:ja,ToastCloseButton:Pe,ToastGlyph:Wt,ToastUndoAction:Zr,UpdateToast:Va,loadAgentAttentionToast:qs,loadAgentFailureGroupToast:Hr,loadAgentFailureToast:Nr,loadErrorToast:Fr,loadToast:Ys,loadUpdateToast:jr,toast:ee,toastMetadata:Gs,withToastCountdown:Rr},Symbol.toStringTag,{value:"Module"}));var Xs=rt('<div class="error-details flex min-w-0 flex-1 items-start gap-2.5 svelte-1bwdghe" data-toast-layout="error-details"><!> <div class="min-w-0 flex-1"><p class="toast-title font-medium text-foreground svelte-1bwdghe" data-toast-title=""> </p> <details class="mt-2 min-w-0 text-muted-foreground svelte-1bwdghe"><summary class="toast-details-summary type-caption inline-flex cursor-pointer items-center gap-2 text-muted-foreground select-none svelte-1bwdghe"><span class="toast-details-chevron svelte-1bwdghe" aria-hidden="true">›</span> </summary> <div class="mt-2 rounded-(--radius-medium) bg-muted p-2" data-toast-optional=""><pre class="type-caption whitespace-pre-wrap break-all font-mono" data-toast-description=""> </pre></div> <div class="mt-2 flex justify-end gap-2"><!></div></details></div> <!></div>');function Vr(o,t){if(new.target)return pt({component:Vr,...o});bt(t,!0);let r=n(t,"message",7),a=n(t,"details",7),l=n(t,"closeToast",7);const c=lr();async function f(){await navigator.clipboard.writeText(a())}var v={get message(){return r()},set message(i){r(i),s()},get details(){return a()},set details(i){a(i),s()},get closeToast(){return l()},set closeToast(i){l(i),s()},$set:ht,$on:(i,g)=>_t(t,i,g)},p=Xs(),y=z(p);Wt(y,{variant:"error"});var w=S(y,2),I=z(w),T=vt(I,!0),A=S(I,2),h=z(A),E=S(z(h));Z(h);var $=S(h,2),tt=z($),k=vt(tt,!0);Z($);var P=S($,2),x=z(P);Gt(x,{variant:"ghost",size:"compact",class:"toast-detail-copy",onclick:f,children:(i,g)=>{Kt();var Q=Ht();V(O=>W(Q,O),[()=>F.ui_errorToast_copy_label()]),u(i,Q)},$$slots:{default:!0}}),Z(P),Z(A),Z(w);var B=S(w,2);{let i=_(()=>F.ui_toast_close_ariaLabel());Pe(B,{inline:!0,onclick:()=>l()?l()():c("closeToast"),get ariaLabel(){return e(i)}})}return Z(p),V(i=>{W(T,r()),W(E,` ${i??""}`),W(k,a())},[()=>F.chat_toolCall_technicalDetails_label()]),u(o,p),yt(v)}const Ur={success:2e3,info:5e3,warning:1e4,error:15e3,custom:1e4,undoable:1e4,progress:Number.POSITIVE_INFINITY},ua=new Map;let Qs=0;function we(o,t={}){const{key:r,stayOnMachine:a,...l}=t;return{duration:Ur[o],...l,id:r??l.id}}function Js(o){return o instanceof Error?{message:o.message,details:o.stack??`${o.name}: ${o.message}`}:o}function Ua(o,t={}){if(typeof o=="string")return Ue("error",o),ee.error(o,we("error",t));const r=Js(o);if(Ue("error",r.message),!r.details)return ee.error(r.message,we("error",t));const a=we("error",t);return ee.custom(Vr,{...a,componentProps:r})}function $s(o){return ee.dismiss(typeof o=="object"?o.id:o)}function ti(o,t={}){const r=ee.loading(o,we("progress",t));return{id:r,update(a,l={}){ee.loading(a,we("progress",{...l,id:r}))},success(a,l={}){ee.success(a,we("success",{...l,id:r}))},error(a,l={}){Ua(a,{...l,id:r})},dismiss(){ee.dismiss(r)}}}function ei(o,t){const{undoLabel:r,onUndo:a,onExpire:l,...c}=t,f=we("undoable",c),v=f.duration??Ur.undoable;let p=f.id;const y=p===void 0?void 0:ua.get(p);y&&clearTimeout(y);let w=!1;const I=()=>{if(w=!0,p===void 0)return;const A=ua.get(p);A&&clearTimeout(A),ua.delete(p)},T=async()=>{I();try{await a(),p!==void 0&&ee.dismiss(p)}catch(A){Ua(A instanceof Error?A:new Error(String(A)))}};return p=ee.warning(o,Rr({...f,action:{label:r,onClick:T}},{pauseOnHover:!1})),l&&Number.isFinite(v)&&v>0&&ua.set(p,setTimeout(()=>{w||(I(),l())},v)),p}function Wr(o,t={}){return ee.custom(o,we("custom",t))}function da(o,t,r={}){const a=r.key??r.id??`notify:custom:${++Qs}`;return o().then(l=>{Wr(l,{...r,id:a,componentProps:t})}),a}const Oi={success:(o,t)=>(Ue("success",o),ee.success(o,we("success",t))),info:(o,t)=>(t?.stayOnMachine||Ue("info",o),ee.info(o,we("info",t))),warning:(o,t)=>(t?.stayOnMachine||Ue("warning",o),ee.warning(o,we("warning",t))),error:Ua,progress:ti,undoable:ei,custom:Wr,dismiss:$s,agentFailure:(o,t)=>da(Nr,o,t),agentFailureGroup:(o,t)=>da(Hr,o,t),appError:(o,t)=>(Ue(o.error.type,o.error.title||o.error.message),da(Fr,o,t)),update:(o,t)=>da(jr,o,t)},ai=[{id:"notify-states",title:"Notification states",states:["success","info","warning","error","progress","undoable","custom","reduced-motion"],themes:["light","dark","high-contrast"],viewport:"both",reducedMotion:!0}],Ei=zo({id:"notify",source:"src/lib/components/patterns/notify/index.ts",publicImport:"$lib/components/patterns/notify",exports:["notify","NOTIFY_DURATION","withToastCountdown"],owner:"design-system",fixtures:ai,useWhen:["Reporting transient success, information, warning, or error feedback.","Reporting progress or a reversible action that needs a consistent duration and deduplication policy."],dontUseWhen:["The user must make a decision before continuing; use the Confirm pattern instead.","The message is persistent page content or field-level validation feedback."],replaces:["Direct svelte-sonner calls and feature-specific toast policy wrappers."]});export{Za as C,rn as M,Ur as N,en as P,Tr as R,Da as T,Ii as a,Ci as b,za as c,zr as d,ja as e,yr as f,xr as g,Ar as h,wr as i,Ue as j,Di as k,on as l,Oi as m,Si as n,Ei as o,Bs as p,Li as q,Mi as r,ki as s,Pi as t,ee as u,Rr as w};