@intent-hq/web 2.392.1 → 2.392.3

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 (169) hide show
  1. package/package.json +1 -1
  2. package/web/app/immutable/chunks/{DotCIVLI.js → -xPMI1SM.js} +1 -1
  3. package/web/app/immutable/chunks/{x9IQ_8UO.js → 2ZBNrUZy.js} +1 -1
  4. package/web/app/immutable/chunks/{ByvcSsIj.js → 2bueaerM.js} +1 -1
  5. package/web/app/immutable/chunks/{AlO3r9jV.js → 4Rh5tdzC.js} +1 -1
  6. package/web/app/immutable/chunks/{CLX81MHV.js → 6_Ki4zfU.js} +1 -1
  7. package/web/app/immutable/chunks/{D_YMc8vN.js → 7n-O-xn5.js} +1 -1
  8. package/web/app/immutable/chunks/{CccfsETL.js → 8ItTOum-.js} +2 -2
  9. package/web/app/immutable/chunks/{aoX2v33V.js → 9AeivJQm.js} +4 -4
  10. package/web/app/immutable/chunks/{CngTEvgU.js → A9FjQ4ig.js} +1 -1
  11. package/web/app/immutable/chunks/{DaTwSOqs.js → B0dqY8Yd.js} +1 -1
  12. package/web/app/immutable/chunks/{KPBWxwIA.js → B26epB4C.js} +1 -1
  13. package/web/app/immutable/chunks/B3ZeLze4.js +2 -0
  14. package/web/app/immutable/chunks/{BSpgPPjp.js → B3sgdO-M.js} +1 -1
  15. package/web/app/immutable/chunks/{3rqOYBi3.js → B5OK1c9R.js} +1 -1
  16. package/web/app/immutable/chunks/{OuI4JmWC.js → B5V_Igzh.js} +1 -1
  17. package/web/app/immutable/chunks/{D0DIeAXH.js → B87xP_ZF.js} +1 -1
  18. package/web/app/immutable/chunks/{Bwa2n5jC.js → BAbB1JR3.js} +1 -1
  19. package/web/app/immutable/chunks/{B2frqTj8.js → BC2ymm4x.js} +1 -1
  20. package/web/app/immutable/chunks/{CUmvnJK5.js → BC7-67A3.js} +1 -1
  21. package/web/app/immutable/chunks/{KRACSBb9.js → BFMw_Rsu.js} +1 -1
  22. package/web/app/immutable/chunks/{B97l6Xkk.js → BH56GSiy.js} +1 -1
  23. package/web/app/immutable/chunks/{CcMCIG6E.js → BHYEUr70.js} +2 -2
  24. package/web/app/immutable/chunks/{CorT7tdR.js → BLNxuTdw.js} +1 -1
  25. package/web/app/immutable/chunks/{DQe_5JbW.js → BOnAZ0Bh.js} +1 -1
  26. package/web/app/immutable/chunks/{CiNmS1jZ.js → BQLNg--d.js} +1 -1
  27. package/web/app/immutable/chunks/{CdLJ0-dH.js → BRtw-FGJ.js} +1 -1
  28. package/web/app/immutable/chunks/{BdlwjSpf.js → BSsSTp5c.js} +1 -1
  29. package/web/app/immutable/chunks/{9AKr1UyY.js → BV3fep4W.js} +1 -1
  30. package/web/app/immutable/chunks/{C6Af0QaF.js → BWtzEUuh.js} +1 -1
  31. package/web/app/immutable/chunks/{R3fZBk-k.js → BYanH6N9.js} +1 -1
  32. package/web/app/immutable/chunks/{vJJtTADX.js → BZNRCsEn.js} +1 -1
  33. package/web/app/immutable/chunks/{b7gnFN68.js → BafkB9h2.js} +1 -1
  34. package/web/app/immutable/chunks/BeZe2Rt-.js +4 -0
  35. package/web/app/immutable/chunks/{DFNKkiho.js → Bex9L_jH.js} +4 -4
  36. package/web/app/immutable/chunks/{Dp0kLnIL.js → BezBXtqG.js} +1 -1
  37. package/web/app/immutable/chunks/{DY9w61PC.js → BhD6TCSq.js} +6 -6
  38. package/web/app/immutable/chunks/{Dvzvnzzu.js → Bhk2u-_3.js} +1 -1
  39. package/web/app/immutable/chunks/{CGJ5yTzR.js → BipAYtG2.js} +3 -3
  40. package/web/app/immutable/chunks/{i2Q0D3-m.js → BptF1xOU.js} +1 -1
  41. package/web/app/immutable/chunks/{CUiYYsIq.js → BrCVQoPE.js} +1 -1
  42. package/web/app/immutable/chunks/{CJItvMq2.js → BrLVGrLO.js} +1 -1
  43. package/web/app/immutable/chunks/{50HYkjWD.js → Bsnum5pm.js} +3 -3
  44. package/web/app/immutable/chunks/{FS0kRzLP.js → BtOGFmaT.js} +1 -1
  45. package/web/app/immutable/chunks/{z2uEgbos.js → BtmdpA7S.js} +1 -1
  46. package/web/app/immutable/chunks/{CzK_7_Jd.js → By6WkvE9.js} +1 -1
  47. package/web/app/immutable/chunks/{DmtYsVlu.js → Bz-Q0sJs.js} +2 -2
  48. package/web/app/immutable/chunks/{vq6mxGLA.js → BzZzhsx0.js} +1 -1
  49. package/web/app/immutable/chunks/{DbB491_u.js → C1UoJPr2.js} +1 -1
  50. package/web/app/immutable/chunks/{oM2TfoNE.js → C2KrJl1V.js} +1 -1
  51. package/web/app/immutable/chunks/{DTbyG794.js → C3L7kk5u.js} +1 -1
  52. package/web/app/immutable/chunks/{BJEFEyAm.js → C6O8IM8T.js} +1 -1
  53. package/web/app/immutable/chunks/{BwFe8eI9.js → C8XfkHlI.js} +1 -1
  54. package/web/app/immutable/chunks/{KvfW-q1N.js → CCMvmg57.js} +1 -1
  55. package/web/app/immutable/chunks/CDCAMh6o.js +1 -0
  56. package/web/app/immutable/chunks/{D8MIwtpL.js → CDUwgFl9.js} +1 -1
  57. package/web/app/immutable/chunks/{D_R1vNH8.js → CE7ZckmT.js} +1 -1
  58. package/web/app/immutable/chunks/{gXHlCg5O.js → CKa70XGN.js} +1 -1
  59. package/web/app/immutable/chunks/{rmHQzJ1a.js → CKzjrq__.js} +1 -1
  60. package/web/app/immutable/chunks/{DDDvNwR-.js → CN7DE5jB.js} +1 -1
  61. package/web/app/immutable/chunks/{D-j7vD5Z.js → CNKJ8_Xr.js} +1 -1
  62. package/web/app/immutable/chunks/{CPNOsHfj.js → CO-JfYA5.js} +1 -1
  63. package/web/app/immutable/chunks/{CCyGGl6b.js → CPgSaaZt.js} +1 -1
  64. package/web/app/immutable/chunks/{BVBh582U.js → CQmOm-Tm.js} +1 -1
  65. package/web/app/immutable/chunks/{DvdITStP.js → CQzFriMx.js} +1 -1
  66. package/web/app/immutable/chunks/{BlVpCoL1.js → CTGxPVh7.js} +1 -1
  67. package/web/app/immutable/chunks/{BDRM-DVo.js → CVCwKAMk.js} +1 -1
  68. package/web/app/immutable/chunks/{DNup87JQ.js → CVG625sB.js} +1 -1
  69. package/web/app/immutable/chunks/{H8hIaDaV.js → CcUDp4zq.js} +1 -1
  70. package/web/app/immutable/chunks/{r4dmBxo_.js → Ce20e-vK.js} +1 -1
  71. package/web/app/immutable/chunks/Ce2Qo9vu.js +3 -0
  72. package/web/app/immutable/chunks/{PejVYY2W.js → Cf5NbMeL.js} +3 -3
  73. package/web/app/immutable/chunks/{CY56l_5k.js → CfOrhDjV.js} +1 -1
  74. package/web/app/immutable/chunks/{DTNrtzyx.js → Cim9mWY1.js} +1 -1
  75. package/web/app/immutable/chunks/{DIxibpTv.js → Cks1DUg1.js} +1 -1
  76. package/web/app/immutable/chunks/{CDcxODgf.js → CnDbx_Wj.js} +1 -1
  77. package/web/app/immutable/chunks/{DznISJQO.js → CnDy2OA4.js} +1 -1
  78. package/web/app/immutable/chunks/{Bp6DusVC.js → Cp9hDo50.js} +1 -1
  79. package/web/app/immutable/chunks/{ciQFmiC4.js → Cs3vMbTn.js} +1 -1
  80. package/web/app/immutable/chunks/{0TbppU-W.js → Ct1r6efw.js} +2 -2
  81. package/web/app/immutable/chunks/{CpT48V2z.js → Cy5LTcPz.js} +1 -1
  82. package/web/app/immutable/chunks/{RqSv1iWX.js → CyUokemm.js} +1 -1
  83. package/web/app/immutable/chunks/{gX9ZnDRD.js → D1Tekuc4.js} +1 -1
  84. package/web/app/immutable/chunks/{pQalwNsE.js → D2Jd8tc3.js} +1 -1
  85. package/web/app/immutable/chunks/{Cdw7QKyr.js → D80ng7VB.js} +3 -3
  86. package/web/app/immutable/chunks/{CWS5g6aA.js → D9OezaF9.js} +1 -1
  87. package/web/app/immutable/chunks/{BUPWY1pO.js → DDhuJH-4.js} +1 -1
  88. package/web/app/immutable/chunks/{WWq3hijy.js → DEOVFEjx.js} +1 -1
  89. package/web/app/immutable/chunks/{Bhul7r_Y.js → DEuuzjmM.js} +1 -1
  90. package/web/app/immutable/chunks/{DaTkisKB.js → DEykPUjl.js} +1 -1
  91. package/web/app/immutable/chunks/{DdYVblGk.js → DFh2QzKR.js} +1 -1
  92. package/web/app/immutable/chunks/{BB5TUToP.js → DGMKnMeG.js} +2 -2
  93. package/web/app/immutable/chunks/{DEsM7h8K.js → DIHHBzYi.js} +2 -2
  94. package/web/app/immutable/chunks/{CcBmcC9f.js → DIUdGij-.js} +2 -2
  95. package/web/app/immutable/chunks/{BTE0066U.js → DJDA_1H4.js} +1 -1
  96. package/web/app/immutable/chunks/{B0oQ37UY.js → DQxnu3QZ.js} +1 -1
  97. package/web/app/immutable/chunks/{CEqrck_t.js → DRpk7IAR.js} +1 -1
  98. package/web/app/immutable/chunks/{a3O-Ns1M.js → DUbqvr_K.js} +1 -1
  99. package/web/app/immutable/chunks/{BPFSAjsd.js → DVSwhvvP.js} +7 -7
  100. package/web/app/immutable/chunks/{QKQvZF-2.js → DVqhJMup.js} +2 -2
  101. package/web/app/immutable/chunks/{CeHL-3WK.js → DWOcsYbU.js} +1 -1
  102. package/web/app/immutable/chunks/{DuFY1gwd.js → DWurigib.js} +4 -4
  103. package/web/app/immutable/chunks/{DTco_120.js → D__LL1n8.js} +1 -1
  104. package/web/app/immutable/chunks/{BS9LmSp_.js → DccCxKmZ.js} +1 -1
  105. package/web/app/immutable/chunks/{CSzXeH2S.js → DdpYiyRs.js} +1 -1
  106. package/web/app/immutable/chunks/{7zxUzaYz.js → DeJMgdsa.js} +1 -1
  107. package/web/app/immutable/chunks/{B9NjB9vD.js → DgzWQmDb.js} +1 -1
  108. package/web/app/immutable/chunks/{DIME5LWK.js → DimbKbDZ.js} +2 -2
  109. package/web/app/immutable/chunks/{BvByaKKp.js → DjyYYXwz.js} +1 -1
  110. package/web/app/immutable/chunks/{CRFyRwf-.js → DlbHdfKY.js} +1 -1
  111. package/web/app/immutable/chunks/{C7MFACZg.js → DqQqeuqi.js} +1 -1
  112. package/web/app/immutable/chunks/{BSMi55yC.js → DthJR85Z.js} +1 -1
  113. package/web/app/immutable/chunks/{BUF0WvAS.js → DtqJUfJC.js} +1 -1
  114. package/web/app/immutable/chunks/{DYzxLuOL.js → DvXSJM4q.js} +1 -1
  115. package/web/app/immutable/chunks/{B6wkNYPs.js → DxZIPHU6.js} +1 -1
  116. package/web/app/immutable/chunks/{Ct0fN4Lt.js → DyrDaCZi.js} +1 -1
  117. package/web/app/immutable/chunks/{D6EyZ2rd.js → Dz-57yVz.js} +1 -1
  118. package/web/app/immutable/chunks/{DL__HI6l.js → DzR2lw_C.js} +1 -1
  119. package/web/app/immutable/chunks/{DUcJILSg.js → ERz1iYnn.js} +1 -1
  120. package/web/app/immutable/chunks/{C9iwh4F-.js → Egi6fNpS.js} +1 -1
  121. package/web/app/immutable/chunks/{DdU2snxg.js → FTRClsUK.js} +1 -1
  122. package/web/app/immutable/chunks/{CBQrOO2t.js → L9YD-wcw.js} +1 -1
  123. package/web/app/immutable/chunks/{CQClkuxa.js → O8yKLCWC.js} +1 -1
  124. package/web/app/immutable/chunks/{B9ZgGXDm.js → PAEJNClQ.js} +1 -1
  125. package/web/app/immutable/chunks/{DA3tGWzX.js → PZ5MSUIU.js} +1 -1
  126. package/web/app/immutable/chunks/{DqCgFTqN.js → QnRBGtVu.js} +1 -1
  127. package/web/app/immutable/chunks/{f0WUpIfB.js → RGi81mvu.js} +1 -1
  128. package/web/app/immutable/chunks/{CA5vNvRD.js → VeOG7xIg.js} +3 -3
  129. package/web/app/immutable/chunks/XAL8NtHj.js +1 -0
  130. package/web/app/immutable/chunks/{CPav-V5t.js → YClu3XTz.js} +2 -2
  131. package/web/app/immutable/chunks/{CtzbB_EQ.js → ZspDMNEv.js} +1 -1
  132. package/web/app/immutable/chunks/{Cp4SiU7R.js → _aw8AL2s.js} +1 -1
  133. package/web/app/immutable/chunks/{CRIoGx5T.js → edaGtK2z.js} +1 -1
  134. package/web/app/immutable/chunks/{Dgvdn_ax.js → g2j4hm88.js} +1 -1
  135. package/web/app/immutable/chunks/{ZIePA90q.js → gdhW58MB.js} +3 -3
  136. package/web/app/immutable/chunks/{CPmXQBUf.js → n1INJGMs.js} +1 -1
  137. package/web/app/immutable/chunks/{BvvIG-FE.js → nUY7GyaZ.js} +1 -1
  138. package/web/app/immutable/chunks/{C9DStJW1.js → q9gf_Sso.js} +1 -1
  139. package/web/app/immutable/chunks/{CewZlXwy.js → u-Z99Ptk.js} +1 -1
  140. package/web/app/immutable/chunks/{BE3g5vcj.js → uQRHnH1Z.js} +1 -1
  141. package/web/app/immutable/chunks/{Dhs7RSq9.js → wsIl6ydR.js} +1 -1
  142. package/web/app/immutable/chunks/{C13CRqsS.js → yus24-dF.js} +1 -1
  143. package/web/app/immutable/chunks/zdzlwKoA.js +1 -0
  144. package/web/app/immutable/entry/{app.Dh0FLLBd.js → app.DBKLYfDG.js} +2 -2
  145. package/web/app/immutable/entry/start.DyzI50m5.js +1 -0
  146. package/web/app/immutable/nodes/{0.BlcS-Hyh.js → 0.Dr_KMFP9.js} +1 -1
  147. package/web/app/immutable/nodes/{1.BMTchPFq.js → 1.B4UC5y6C.js} +1 -1
  148. package/web/app/immutable/nodes/{10.CfDNhRgU.js → 10.D-SXaVii.js} +1 -1
  149. package/web/app/immutable/nodes/{11.CxSRkGHD.js → 11.CD0ZMPB_.js} +1 -1
  150. package/web/app/immutable/nodes/{15.DCpm4k7K.js → 15.CWhAy0IL.js} +1 -1
  151. package/web/app/immutable/nodes/{19.C2T81__z.js → 19.Cl4NIDR3.js} +2 -2
  152. package/web/app/immutable/nodes/{2.1iJIAnw5.js → 2.DgYKd6eT.js} +1 -1
  153. package/web/app/immutable/nodes/{20.BHRuLw4-.js → 20.gu-VpWFh.js} +1 -1
  154. package/web/app/immutable/nodes/{3.BDDby9Gq.js → 3.Cz3D2Kq7.js} +1 -1
  155. package/web/app/immutable/nodes/{4.utfN0vdd.js → 4.CjaUjxEb.js} +1 -1
  156. package/web/app/immutable/nodes/{5.Z6w8za6J.js → 5.COJH7IAv.js} +1 -1
  157. package/web/app/immutable/nodes/{6.w_k_ibWb.js → 6.Da5DOHiE.js} +1 -1
  158. package/web/app/immutable/nodes/{7.I-q-I1bs.js → 7.dcDATK47.js} +1 -1
  159. package/web/app/immutable/nodes/{8.BgjULPKU.js → 8.C2qio8n9.js} +1 -1
  160. package/web/app/immutable/nodes/{9.DOkmR0cl.js → 9.CjfzK0IK.js} +2 -2
  161. package/web/app/version.json +1 -1
  162. package/web/index.html +9 -9
  163. package/web/app/immutable/chunks/BuM8LV7z.js +0 -4
  164. package/web/app/immutable/chunks/DejjV5ft.js +0 -1
  165. package/web/app/immutable/chunks/DivmpPFQ.js +0 -1
  166. package/web/app/immutable/chunks/DlnCrS3y.js +0 -2
  167. package/web/app/immutable/chunks/MFTfhUYi.js +0 -1
  168. package/web/app/immutable/chunks/Xr-aTNRN.js +0 -3
  169. package/web/app/immutable/entry/start.IMZH36aM.js +0 -1
@@ -1 +1 @@
1
- import{t as U,bo as b,bw as R,b as O,bp as t1,bm as k,br as t0,bs as r0,bq as l0}from"./Fcr7AvC-.js";import{bs as j,aD as t,a5 as K,bS as P,bA as N,W as o,bn as q,c9 as v,aA as V,a7 as E,ay as y,be as Y,b$ as F,aC as c,b_ as J,bO as u1,aB as d1,bf as o0,bl as P1,ca as n0,bH as i0,bV as s0}from"./3SdAC2_C.js";import{i as z}from"./BhYXv0ZM.js";import{h as g1,g as S1}from"./CA6H1-bp.js";import{c as B}from"./2z64ELW5.js";import{b as r1,s as B1,e as D1,c as c0,f as R1}from"./BRCr02in.js";import{S as X}from"./BnnKw3Va.js";import{f as O1}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{rC as v0,rB as d0,T as h0,bj as u0}from"./D0qhIm1r.js";import{t as m1}from"./CWfjuhY2.js";import{S as g0,R as m0,l as f0,y as _0,n as A0,L as Z0}from"./ChHRVjww.js";import{S as T1,a as K1}from"./COmspkQo.js";import{a6 as p0}from"./BuM8LV7z.js";import{I as N1}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import{a as w0}from"./gNR_yDDX.js";var b0=new Set(["$$slots","$$events","$$legacy","children"]),V0=c('<path d="M128,12A100.11,100.11,0,0,0,28,112c0,24.86,12.86,56.8,34.41,85.44C70.63,208.36,99.64,244,128,244s57.37-35.64,65.59-46.56C215.14,168.8,228,136.86,228,112A100.11,100.11,0,0,0,128,12Zm46.41,171c-13.83,18.38-34.21,37-46.41,37s-32.58-18.61-46.41-37C63.34,158.75,52,131.54,52,112a76,76,0,0,1,152,0C204,131.54,192.66,158.75,174.41,183ZM104,148a36,36,0,0,1-36-36,12,12,0,0,1,12-12,36,36,0,0,1,36,36A12,12,0,0,1,104,148Zm84-36a36,36,0,0,1-36,36,12,12,0,0,1-12-12,36,36,0,0,1,36-36A12,12,0,0,1,188,112Zm-36,72a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24h24A12,12,0,0,1,152,184Z"></path>'),L0=c('<path d="M128,24a88,88,0,0,0-88,88c0,48.6,56,120,88,120s88-71.4,88-120A88,88,0,0,0,128,24ZM104,144a32,32,0,0,1-32-32,8,8,0,0,1,8-8,32,32,0,0,1,32,32A8,8,0,0,1,104,144Zm48,0a8,8,0,0,1-8-8,32,32,0,0,1,32-32,8,8,0,0,1,8,8A32,32,0,0,1,152,144Z" opacity="0.2"></path><path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>',1),M0=c('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16ZM64,116a12,12,0,0,1,12-12,36,36,0,0,1,36,36,12,12,0,0,1-12,12A36,36,0,0,1,64,116Zm80,84H112a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16Zm12-48a12,12,0,0,1-12-12,36,36,0,0,1,36-36,12,12,0,0,1,12,12A36,36,0,0,1,156,152Z"></path>'),C0=c('<path d="M128,18a94.11,94.11,0,0,0-94,94c0,23.6,12.41,54.2,33.21,81.83C83.27,215.18,107.68,238,128,238s44.73-22.82,60.79-44.17C209.59,166.2,222,135.6,222,112A94.11,94.11,0,0,0,128,18Zm51.21,168.62C161.48,210.17,140.91,226,128,226s-33.48-15.83-51.21-39.38C57.8,161.37,46,132.78,46,112a82,82,0,0,1,164,0C210,132.78,198.2,161.37,179.21,186.62ZM118,136A38,38,0,0,0,80,98a14,14,0,0,0-14,14,38,38,0,0,0,38,38A14,14,0,0,0,118,136Zm-14,2a26,26,0,0,1-26-26,2,2,0,0,1,2-2,26,26,0,0,1,26,26A2,2,0,0,1,104,138Zm72-40a38,38,0,0,0-38,38,14,14,0,0,0,14,14,38,38,0,0,0,38-38A14,14,0,0,0,176,98Zm-24,40a2,2,0,0,1-2-2,26,26,0,0,1,26-26,2,2,0,0,1,2,2A26,26,0,0,1,152,138Zm-2,46a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h32A6,6,0,0,1,150,184Z"></path>'),H0=c('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>'),x0=c('<path d="M128,20a92.1,92.1,0,0,0-92,92c0,23.19,12.26,53.33,32.8,80.63C84.58,213.6,108.41,236,128,236s43.42-22.4,59.2-43.37C207.74,165.33,220,135.19,220,112A92.1,92.1,0,0,0,128,20Zm52.8,167.82C162.44,212.23,141.71,228,128,228s-34.44-15.77-52.8-40.18C56,162.24,44,133.19,44,112a84,84,0,0,1,168,0C212,133.19,200.05,162.24,180.8,187.82ZM116,136a36,36,0,0,0-36-36,12,12,0,0,0-12,12,36,36,0,0,0,36,36A12,12,0,0,0,116,136Zm-12,4a28,28,0,0,1-28-28,4,4,0,0,1,4-4,28,28,0,0,1,28,28A4,4,0,0,1,104,140Zm72-40a36,36,0,0,0-36,36,12,12,0,0,0,12,12,36,36,0,0,0,36-36A12,12,0,0,0,176,100Zm-24,40a4,4,0,0,1-4-4,28,28,0,0,1,28-28,4,4,0,0,1,4,4A28,28,0,0,1,152,140Zm-4,44a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h32A4,4,0,0,1,148,184Z"></path>'),I0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function j1(d,l){if(new.target)return U({component:j1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,b0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=I0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=V0();o(e,a)},S=e=>{var a=L0();Y(),o(e,a)},D=e=>{var a=M0();o(e,a)},g=e=>{var a=C0();o(e,a)},p=e=>{var a=H0();o(e,a)},M=e=>{var a=x0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var k0=new Set(["$$slots","$$events","$$legacy","children"]),y0=c('<path d="M223.65,29.53a20,20,0,0,0-21.79,4.34c-.2.2-.39.4-.57.61l-15,17.3a115.34,115.34,0,0,0-116.5,0l-15-17.3c-.18-.21-.37-.41-.57-.61A20,20,0,0,0,20,48v88c0,55.14,48.45,100,108,100s108-44.86,108-100V48A20,20,0,0,0,223.65,29.53ZM212,136c0,38.22-31.35,69.93-72,75.21V197l12.49-12.49a12,12,0,0,0-17-17L128,175l-7.51-7.52a12,12,0,0,0-17,17L116,197v14.24c-40.65-5.28-72-37-72-75.21V58.74L58.54,75.47a12,12,0,0,0,16.21,1.76A86,86,0,0,1,96,65.74V88a12,12,0,0,0,24,0V60.35q4-.35,8-.35t8,.35V88a12,12,0,0,0,24,0V65.74a86.2,86.2,0,0,1,21.25,11.49,12,12,0,0,0,16.21-1.76L212,58.74Zm-112,4a16,16,0,1,1-16-16A16,16,0,0,1,100,140Zm88,0a16,16,0,1,1-16-16A16,16,0,0,1,188,140Z"></path>'),z0=c('<path d="M224,48v88c0,48.6-43,88-96,88s-96-39.4-96-88V48a8,8,0,0,1,13.66-5.66L67.6,67.6h0a102.87,102.87,0,0,1,120.8,0h0l21.94-25.24A8,8,0,0,1,224,48Z" opacity="0.2"></path><path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>',1),S0=c('<path d="M222.83,33.54a16,16,0,0,0-18.14,3.15c-.14.14-.26.27-.38.41L187.05,57A111.28,111.28,0,0,0,69,57L51.69,37.1c-.12-.14-.24-.27-.38-.41a16,16,0,0,0-18.14-3.15A16.4,16.4,0,0,0,24,48.46V136c0,49,40.06,89.63,91.56,95.32a4,4,0,0,0,4.44-4v-32l-13.42-13.43a8.22,8.22,0,0,1-.41-11.37,8,8,0,0,1,11.49-.18L128,180.68l10.34-10.35a8,8,0,0,1,11.49.18,8.22,8.22,0,0,1-.41,11.37L136,195.31v32a4,4,0,0,0,4.44,4C191.94,225.62,232,185,232,136V48.46A16.4,16.4,0,0,0,222.83,33.54ZM84,152a12,12,0,1,1,12-12A12,12,0,0,1,84,152Zm20-64a8,8,0,1,1-16,0V69a8,8,0,0,1,16,0Zm32,0a8,8,0,1,1-16,0V64a8,8,0,0,1,16,0Zm16,0V69a8,8,0,0,1,16,0V88a8,8,0,1,1-16,0Zm20,64a12,12,0,1,1,12-12A12,12,0,0,1,172,152Z"></path>'),D0=c('<path d="M221.36,35.07a14,14,0,0,0-15.26,3l-.29.3L187.42,59.58a109.16,109.16,0,0,0-118.84,0L50.19,38.41l-.29-.3A14,14,0,0,0,26,48v88c0,51.83,45.76,94,102,94s102-42.17,102-94V48A14,14,0,0,0,221.36,35.07ZM218,136c0,43.38-37.16,79-84,81.81V194.48l14.24-14.24a6,6,0,0,0-8.48-8.49L128,183.51l-11.76-11.76a6,6,0,0,0-8.48,8.49L122,194.48v23.33C75.16,215,38,179.38,38,136V48a1.91,1.91,0,0,1,1.23-1.85,2.28,2.28,0,0,1,.82-.17,1.87,1.87,0,0,1,1.26.5l21.76,25a6,6,0,0,0,8.11.88A91.52,91.52,0,0,1,90,61.68V88a6,6,0,1,0,12,0V57.51a97.85,97.85,0,0,1,20-3.32V88a6,6,0,1,0,12,0V54.19a97.85,97.85,0,0,1,20,3.32V88a6,6,0,1,0,12,0V61.68a91.52,91.52,0,0,1,18.82,10.73,6,6,0,0,0,8.11-.88l21.76-25A2,2,0,0,1,218,48ZM94,140a10,10,0,1,1-10-10A10,10,0,0,1,94,140Zm88,0a10,10,0,1,1-10-10A10,10,0,0,1,182,140Z"></path>'),P0=c('<path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>'),B0=c('<path d="M220.59,36.94a11.83,11.83,0,0,0-13.08,2.61l-.19.2L187.77,62.24a107.1,107.1,0,0,0-119.54,0L48.68,39.75l-.19-.2A12,12,0,0,0,28,48v88c0,50.72,44.86,92,100,92s100-41.27,100-92V48A11.82,11.82,0,0,0,220.59,36.94ZM220,136c0,45.09-39.12,82-88,83.91V193.66l14.83-14.83a4,4,0,1,0-5.66-5.65L128,186.35l-13.17-13.17a4,4,0,1,0-5.66,5.65L124,193.66v26.26C75.12,218,36,181.1,36,136V48a3.93,3.93,0,0,1,2.47-3.7,4.39,4.39,0,0,1,1.6-.31,3.77,3.77,0,0,1,2.67,1.1L64.58,70.23a4,4,0,0,0,5.4.59A94,94,0,0,1,92,58.74V88a4,4,0,0,0,8,0V56a100.07,100.07,0,0,1,24-3.93V88a4,4,0,0,0,8,0V52.09A100.07,100.07,0,0,1,156,56V88a4,4,0,0,0,8,0V58.74a94,94,0,0,1,22,12.08,4,4,0,0,0,5.4-.59l21.84-25.11A4,4,0,0,1,220,48ZM92,140a8,8,0,1,1-8-8A8,8,0,0,1,92,140Zm88,0a8,8,0,1,1-8-8A8,8,0,0,1,180,140Z"></path>'),E0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function q1(d,l){if(new.target)return U({component:q1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,k0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=E0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=y0();o(e,a)},S=e=>{var a=z0();Y(),o(e,a)},D=e=>{var a=S0();o(e,a)},g=e=>{var a=D0();o(e,a)},p=e=>{var a=P0();o(e,a)},M=e=>{var a=B0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var T0=new Set(["$$slots","$$events","$$legacy","children"]),K0=c('<path d="M212,76H32A12,12,0,0,0,20,88v48a100.24,100.24,0,0,0,26.73,68H32a12,12,0,0,0,0,24H208a12,12,0,0,0,0-24H193.27a100.75,100.75,0,0,0,20-32A44,44,0,0,0,256,128v-8A44.05,44.05,0,0,0,212,76Zm-16,60a76.27,76.27,0,0,1-42,68H86a76.27,76.27,0,0,1-42-68V100H196Zm36-8a20,20,0,0,1-12.57,18.55A97.17,97.17,0,0,0,220,136V101.68A20,20,0,0,1,232,120ZM68,48V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Z"></path>'),N0=c('<path d="M208,88v48a88,88,0,0,1-51.3,80H83.3A88,88,0,0,1,32,136V88Z" opacity="0.2"></path><path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>',1),U0=c('<path d="M208,80H32a8,8,0,0,0-8,8v48a96.3,96.3,0,0,0,32.54,72H32a8,8,0,0,0,0,16H208a8,8,0,0,0,0-16H183.46a96.59,96.59,0,0,0,27-40.09A40,40,0,0,0,248,128v-8A40,40,0,0,0,208,80Zm24,48a24,24,0,0,1-17.2,23,95.78,95.78,0,0,0,1.2-15V97.38A24,24,0,0,1,232,120ZM112,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm32,0V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0ZM80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Z"></path>'),R0=c('<path d="M82,56V24a6,6,0,0,1,12,0V56a6,6,0,0,1-12,0Zm38,6a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,120,62Zm32,0a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,152,62Zm94,58v8a38,38,0,0,1-36.94,38,94.55,94.55,0,0,1-31.13,44H208a6,6,0,0,1,0,12H32a6,6,0,0,1,0-12H62.07A94.34,94.34,0,0,1,26,136V88a6,6,0,0,1,6-6H208A38,38,0,0,1,246,120Zm-44,16V94H38v42a82.27,82.27,0,0,0,46.67,74h70.66A82.27,82.27,0,0,0,202,136Zm32-16a26,26,0,0,0-20-25.29V136a93.18,93.18,0,0,1-1.69,17.64A26,26,0,0,0,234,128Z"></path>'),O0=c('<path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>'),j0=c('<path d="M84,56V24a4,4,0,0,1,8,0V56a4,4,0,0,1-8,0Zm36,4a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,120,60Zm32,0a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,152,60Zm92,60v8a36,36,0,0,1-36,36h-.41a92.53,92.53,0,0,1-35.76,48H208a4,4,0,0,1,0,8H32a4,4,0,0,1,0-8H68.17A92.34,92.34,0,0,1,28,136V88a4,4,0,0,1,4-4H208A36,36,0,0,1,244,120Zm-40,16V92H36v44a84.28,84.28,0,0,0,48.21,76h71.58A84.28,84.28,0,0,0,204,136Zm32-16a28,28,0,0,0-24-27.71V136a91.75,91.75,0,0,1-2.2,19.94A28,28,0,0,0,236,128Z"></path>'),q0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function G1(d,l){if(new.target)return U({component:G1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,T0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=q0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=K0();o(e,a)},S=e=>{var a=N0();Y(),o(e,a)},D=e=>{var a=U0();o(e,a)},g=e=>{var a=R0();o(e,a)},p=e=>{var a=O0();o(e,a)},M=e=>{var a=j0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var G0=new Set(["$$slots","$$events","$$legacy","children"]),W0=c('<path d="M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm68.24,26.18a20.42,20.42,0,0,1-8.41,1.85,19.59,19.59,0,0,1-3.83-.39V184a44.05,44.05,0,0,1-44,44H80a44.05,44.05,0,0,1-44-44V147.63a19,19,0,0,1-3.85.39,20.31,20.31,0,0,1-8.39-1.84,19.71,19.71,0,0,1-11.4-21.9l16.42-88A20,20,0,0,1,53.29,20.59l.47.13,52,15.27h44.54l52-15.27.47-.13a20,20,0,0,1,24.51,15.72l16.42,88A19.71,19.71,0,0,1,232.24,146.18Zm-60-91.63L217,112.42,204.44,45.09ZM39,112.42,83.76,54.55l-32.2-9.46ZM196,184V124.48L146.11,60H109.89L60,124.48V184a20,20,0,0,0,20,20h36v-7l-12.48-12.49a12,12,0,0,1,17-17L128,175l7.51-7.52a12,12,0,0,1,17,17L140,197v7h36A20,20,0,0,0,196,184Z"></path>'),Y0=c('<path d="M208,120.38V184a32,32,0,0,1-32,32H80a32,32,0,0,1-32-32V120.38L104,48h48Z" opacity="0.2"></path><path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>',1),F0=c('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM176,208H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm-72-68a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),J0=c('<path d="M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm65.77,10.72a14.24,14.24,0,0,1-5.89,1.29,13.72,13.72,0,0,1-9.88-4.23V184a38,38,0,0,1-38,38H80a38,38,0,0,1-38-38V137.78A13.76,13.76,0,0,1,32.11,142a14.23,14.23,0,0,1-5.88-1.29,13.82,13.82,0,0,1-8-15.34l16.42-88a14,14,0,0,1,17.16-11l.24.07L104.86,42h46.28l52.79-15.51.24-.07a14,14,0,0,1,17.16,11l16.42,88A13.81,13.81,0,0,1,229.77,140.72ZM93.88,51.27,48.84,38a1.9,1.9,0,0,0-1.49.27,2,2,0,0,0-.88,1.32l-16.42,88a2,2,0,0,0,3.54,1.61ZM202,184V122.43L149.06,54H106.94L54,122.43V184a26,26,0,0,0,26,26h42V194.48l-14.24-14.24a6,6,0,0,1,8.48-8.48L128,183.51l11.76-11.75a6,6,0,0,1,8.48,8.48L134,194.48V210h42A26,26,0,0,0,202,184ZM226,127.6l-16.42-88a2,2,0,0,0-.88-1.31,2.07,2.07,0,0,0-1.49-.27l-45,13.23,60.32,78A2,2,0,0,0,226,127.6Z"></path>'),Q0=c('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.92,56h40.15L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),X0=c('<path d="M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64,8a8,8,0,1,0-8-8A8,8,0,0,0,164,148Zm64.94-9.11a12.12,12.12,0,0,1-5,1.11,11.83,11.83,0,0,1-9.35-4.62L212,132.09V184a36,36,0,0,1-36,36H80a36,36,0,0,1-36-36V132.09l-2.53,3.27A11.88,11.88,0,0,1,32.1,140a12.08,12.08,0,0,1-5-1.11,11.82,11.82,0,0,1-6.84-13.14l16.42-88a12,12,0,0,1,14.7-9.43l.16,0L104.58,44h46.84L204.5,28.4l.16,0a12,12,0,0,1,14.7,9.43l16.42,88A11.81,11.81,0,0,1,228.94,138.89ZM97.25,50.18,49.34,36.1a4.18,4.18,0,0,0-.92-.1,4,4,0,0,0-3.92,3.26l-16.42,88a4,4,0,0,0,7.08,3.22ZM204,121.75,150,52H106L52,121.75V184a28,28,0,0,0,28,28h44V193.66l-14.83-14.83a4,4,0,0,1,5.66-5.66L128,186.34l13.17-13.17a4,4,0,0,1,5.66,5.66L132,193.66V212h44a28,28,0,0,0,28-28Zm23.92,5.48-16.42-88a4,4,0,0,0-4.84-3.16L158.75,50.18l62.11,80.28a4,4,0,0,0,7.06-3.23Z"></path>'),$0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function W1(d,l){if(new.target)return U({component:W1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,G0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=$0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=W0();o(e,a)},S=e=>{var a=Y0();Y(),o(e,a)},D=e=>{var a=F0();o(e,a)},g=e=>{var a=J0();o(e,a)},p=e=>{var a=Q0();o(e,a)},M=e=>{var a=X0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var e2=new Set(["$$slots","$$events","$$legacy","children"]),a2=c('<path d="M116,116a16,16,0,1,1-16-16A16,16,0,0,1,116,116Zm40-16a16,16,0,1,0,16,16A16,16,0,0,0,156,100Zm72,20v96a12,12,0,0,1-19.6,9.29L186.67,207.5l-21.74,17.79a12,12,0,0,1-15.2,0L128,207.5l-21.73,17.79a12,12,0,0,1-15.2,0L69.33,207.5,47.6,225.29A12,12,0,0,1,28,216V120a100,100,0,0,1,200,0Zm-24,0a76,76,0,0,0-152,0v70.68l9.73-8a12,12,0,0,1,15.2,0L98.67,200.5l21.73-17.79a12,12,0,0,1,15.2,0l21.73,17.79,21.74-17.79a12,12,0,0,1,15.2,0l9.73,8Z"></path>'),t2=c('<path d="M216,120v96l-29.33-24-29.34,24L128,192,98.67,216,69.33,192,40,216V120a88,88,0,0,1,176,0Z" opacity="0.2"></path><path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>',1),r2=c('<path d="M128,24a96.11,96.11,0,0,0-96,96v96a8,8,0,0,0,13.07,6.19l24.26-19.85L93.6,222.19a8,8,0,0,0,10.13,0L128,202.34l24.27,19.85a8,8,0,0,0,10.13,0l24.27-19.85,24.26,19.85A8,8,0,0,0,224,216V120A96.11,96.11,0,0,0,128,24ZM100,128a12,12,0,1,1,12-12A12,12,0,0,1,100,128Zm56,0a12,12,0,1,1,12-12A12,12,0,0,1,156,128Z"></path>'),l2=c('<path d="M110,116a10,10,0,1,1-10-10A10,10,0,0,1,110,116Zm46-10a10,10,0,1,0,10,10A10,10,0,0,0,156,106Zm66,14v96a6,6,0,0,1-9.8,4.64l-25.53-20.89-25.54,20.89a6,6,0,0,1-7.6,0L128,199.75l-25.53,20.89a6,6,0,0,1-7.6,0L69.33,199.75,43.8,220.64A6,6,0,0,1,34,216V120a94,94,0,0,1,188,0Zm-12,0a82,82,0,0,0-164,0v83.34l19.53-16a6,6,0,0,1,7.6,0l25.54,20.89,25.53-20.89a6,6,0,0,1,7.6,0l25.53,20.89,25.54-20.89a6,6,0,0,1,7.6,0l19.53,16Z"></path>'),o2=c('<path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>'),n2=c('<path d="M108,116a8,8,0,1,1-8-8A8,8,0,0,1,108,116Zm48-8a8,8,0,1,0,8,8A8,8,0,0,0,156,108Zm64,12v96a4,4,0,0,1-6.53,3.1l-26.8-21.93-26.8,21.93a4,4,0,0,1-5.07,0L128,197.17,101.2,219.1a4,4,0,0,1-5.07,0l-26.8-21.93L42.53,219.1A4,4,0,0,1,36,216V120a92,92,0,0,1,184,0Zm-8,0a84,84,0,0,0-168,0v87.56L66.8,188.9a4,4,0,0,1,5.07,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.06,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.07,0L212,207.56Z"></path>'),i2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Y1(d,l){if(new.target)return U({component:Y1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,e2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=i2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=a2();o(e,a)},S=e=>{var a=t2();Y(),o(e,a)},D=e=>{var a=r2();o(e,a)},g=e=>{var a=l2();o(e,a)},p=e=>{var a=o2();o(e,a)},M=e=>{var a=n2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var s2=new Set(["$$slots","$$events","$$legacy","children"]),c2=c('<path d="M176,116H152a12,12,0,0,1,0-24h24a12,12,0,0,1,0,24ZM104,92h-4V88a12,12,0,0,0-24,0v4H72a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM244.76,202.94a40,40,0,0,1-61,5.35,7,7,0,0,1-.53-.56L144.67,164H111.33L72.81,207.73c-.17.19-.35.38-.53.56A40,40,0,0,1,4.62,173.05a1.18,1.18,0,0,1,0-.2L21,88.79A63.88,63.88,0,0,1,83.88,36H172a64.08,64.08,0,0,1,62.93,52.48,1.8,1.8,0,0,1,0,.19l16.36,84.17a1.77,1.77,0,0,1,0,.2A39.74,39.74,0,0,1,244.76,202.94ZM172,140a40,40,0,0,0,0-80H83.89A39.9,39.9,0,0,0,44.62,93.06a1.55,1.55,0,0,0,0,.21l-16.34,84a16,16,0,0,0,13,18.44,16.07,16.07,0,0,0,13.86-4.21L96.9,144.07a12,12,0,0,1,9-4.07Zm55.76,37.31-7-35.95a63.84,63.84,0,0,1-44.27,22.46l24.41,27.72a16,16,0,0,0,26.85-14.23Z"></path>'),v2=c('<path d="M216.86,207.57a28,28,0,0,1-24.66-7.77L150.09,152H172a51.94,51.94,0,0,0,51.2-61h0l16.36,84.17A28,28,0,0,1,216.86,207.57Z" opacity="0.2"></path><path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>',1),d2=c('<path d="M247.44,173.75a.68.68,0,0,0,0-.14L231.05,89.44c0-.06,0-.12,0-.18A60.08,60.08,0,0,0,172,40H83.89a59.88,59.88,0,0,0-59,49.52L8.58,173.61a.68.68,0,0,0,0,.14,36,36,0,0,0,60.9,31.71l.35-.37L109.52,160h37l39.71,45.09c.11.13.23.25.35.37A36.08,36.08,0,0,0,212,216a36,36,0,0,0,35.43-42.25ZM104,112H96v8a8,8,0,0,1-16,0v-8H72a8,8,0,0,1,0-16h8V88a8,8,0,0,1,16,0v8h8a8,8,0,0,1,0,16Zm40-8a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16H152A8,8,0,0,1,144,104Zm84.37,87.47a19.84,19.84,0,0,1-12.9,8.23A20.09,20.09,0,0,1,198,194.31L167.8,160H172a60,60,0,0,0,51-28.38l8.74,45A19.82,19.82,0,0,1,228.37,191.47Z"></path>'),h2=c('<path d="M176,110H152a6,6,0,0,1,0-12h24a6,6,0,0,1,0,12ZM104,98H94V88a6,6,0,0,0-12,0V98H72a6,6,0,0,0,0,12H82v10a6,6,0,0,0,12,0V110h10a6,6,0,0,0,0-12ZM239.84,199.5A34,34,0,0,1,212,214,34.11,34.11,0,0,1,188,204.05l-.26-.28L147.38,158H108.62L68.31,203.76,68,204A34,34,0,0,1,44,214a34,34,0,0,1-33.46-39.91s0-.06,0-.1L26.9,89.88A57.89,57.89,0,0,1,83.89,42H172a58.07,58.07,0,0,1,57.05,47.63c0,.07,0,.12,0,.19L245.46,174s0,.07,0,.11A33.75,33.75,0,0,1,239.84,199.5ZM172,146a46,46,0,0,0,0-92H83.89A45.9,45.9,0,0,0,38.71,92a.36.36,0,0,0,0,.1L22.33,176.23a22,22,0,0,0,37.11,19.45l42-47.65a6,6,0,0,1,4.5-2Zm61.67,30.23-9.79-50.35A58.06,58.06,0,0,1,172,158h-8.63l33.19,37.68a22,22,0,0,0,37.11-19.45Z"></path>'),u2=c('<path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>'),g2=c('<path d="M176,108H152a4,4,0,0,1,0-8h24a4,4,0,0,1,0,8Zm-72-8H92V88a4,4,0,0,0-8,0v12H72a4,4,0,0,0,0,8H84v12a4,4,0,0,0,8,0V108h12a4,4,0,0,0,0-8Zm134.21,98.36a32,32,0,0,1-48.84,4.27l-.17-.18L148.29,156H107.72L66.81,202.44l-.18.19A32.08,32.08,0,0,1,44,212a32,32,0,0,1-31.5-37.56L28.87,90.21A55.87,55.87,0,0,1,83.89,44H172a56.07,56.07,0,0,1,55.1,46.1.29.29,0,0,1,0,.1l16.37,84.16A31.86,31.86,0,0,1,238.21,198.36ZM172,148a48,48,0,1,0,0-96H83.9A47.9,47.9,0,0,0,36.74,91.67L20.36,175.9a24,24,0,0,0,19.48,27.73,24,24,0,0,0,21-6.58l42-47.69a4,4,0,0,1,3-1.36Zm63.63,27.83-11-56.66A56.09,56.09,0,0,1,172,156H159l36.16,41.06a24,24,0,0,0,40.52-21.23Z"></path>'),m2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function F1(d,l){if(new.target)return U({component:F1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,s2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=m2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=c2();o(e,a)},S=e=>{var a=v2();Y(),o(e,a)},D=e=>{var a=d2();o(e,a)},g=e=>{var a=h2();o(e,a)},p=e=>{var a=u2();o(e,a)},M=e=>{var a=g2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var f2=new Set(["$$slots","$$events","$$legacy","children"]),_2=c('<path d="M248.59,58.67c-6.31-10.87-23-21.06-66.16-9.71A95.94,95.94,0,0,0,32,128q0,3.6.26,7.14C.56,166.86,1.1,186.4,7.44,197.33,13.4,207.61,25.3,212,40.68,212c9.79,0,21-1.78,32.95-4.91A95.94,95.94,0,0,0,224,128c0-2.41-.09-4.79-.27-7.16,14.31-14.38,23.86-28.21,27-40C253.55,70.42,251.12,63,248.59,58.67ZM128,56a72.11,72.11,0,0,1,70.19,56C184,124.73,165,138.59,141.92,151.86c-21.74,12.49-43.55,22.36-63.09,28.65A72,72,0,0,1,128,56ZM28.19,185.29c-.61-1.07-.17-8.22,10.67-21.71A95.77,95.77,0,0,0,52.35,187C35.12,189.61,28.85,186.41,28.19,185.29ZM128,200a71.66,71.66,0,0,1-22.56-3.64,394.1,394.1,0,0,0,48.42-23.69A388.11,388.11,0,0,0,198.43,143,72.12,72.12,0,0,1,128,200ZM227.57,74.65c-1.28,4.78-4.81,10.87-10.39,17.8A95.74,95.74,0,0,0,203.68,69c15.83-2.37,23.17,0,24.15,1.71C228,71,228.21,72.28,227.57,74.65Z"></path>'),A2=c('<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"></path><path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>',1),Z2=c('<path d="M245.11,60.68c-7.65-13.19-27.85-16.16-58.5-8.66A96,96,0,0,0,32.81,140.3C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4,96,96,0,0,0,153.78-88.25c12.51-13,20.83-25.35,23.66-35.92C248.83,72.51,248.24,66.07,245.11,60.68Zm-13.69,15c-6.11,22.78-48.65,57.31-87.52,79.64-67.81,39-113.62,41.52-119.16,32-1.46-2.51-.65-7.24,2.22-13a80.06,80.06,0,0,1,10.28-15.05,95.53,95.53,0,0,0,6.23,14.18,4,4,0,0,0,4,2.12,122.14,122.14,0,0,0,16.95-3.32c21.23-5.55,46.63-16.48,71.52-30.78s47-30.66,62.45-46.15A122.74,122.74,0,0,0,209.7,82.45a4,4,0,0,0,.17-4.52,96.26,96.26,0,0,0-9.1-12.46c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),p2=c('<path d="M243.39,61.68c-7.24-12.48-27-15-57.24-7.49A93.92,93.92,0,0,0,34.05,128a94.5,94.5,0,0,0,.9,13c-21.86,22.38-29.56,40.78-22.29,53.32,4.5,7.76,14,11.69,27.86,11.69a116.38,116.38,0,0,0,25-3.16c1.45-.32,2.92-.68,4.41-1a93.95,93.95,0,0,0,151.19-86.89c12.65-13,21.11-25.32,23.86-35.6C246.76,72.53,246.24,66.59,243.39,61.68ZM128,46a82.12,82.12,0,0,1,80.19,64.94c-16,15.3-38.14,31.67-63.3,46.12C117.49,172.82,92.79,183,72.85,188.6A82,82,0,0,1,128,46ZM23,188.3c-3.52-6.07,2.31-18.56,15-33a94,94,0,0,0,21.07,36.62C39.42,195.74,26.39,194.08,23,188.3ZM128,210a81.41,81.41,0,0,1-43.35-12.45c20.68-6.71,43.56-17.06,66.22-30.08,22.83-13.12,43.13-27.67,59.05-41.91,0,.81.06,1.62.06,2.44A82.08,82.08,0,0,1,128,210ZM233.35,76.21c-1.88,7-7.28,15.49-15.36,24.61a93.92,93.92,0,0,0-21.1-36.7c15.82-3.05,32-3.49,36.12,3.58C234.2,69.75,234.31,72.62,233.35,76.21Z"></path>'),w2=c('<path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),b2=c('<path d="M241.66,62.68c-6.73-11.58-26.58-13.8-56-6.3A92,92,0,0,0,37,141.7c-21.38,21.69-29.44,40-22.68,51.62,4.13,7.11,13,10.71,26,10.71A115.25,115.25,0,0,0,65,200.9c1.74-.39,3.52-.82,5.32-1.28A92,92,0,0,0,220,128a92.84,92.84,0,0,0-1-13.73c12.77-13,21.31-25.28,24-35.47C244.69,72.54,244.23,67.12,241.66,62.68ZM128,44a84.13,84.13,0,0,1,82.38,67.56c-16.17,15.69-38.8,32.48-64.49,47.24-27.31,15.69-52.81,26.25-73.61,32A84,84,0,0,1,128,44ZM21.25,189.3C17,182,23.75,167.7,39,151.24A92,92,0,0,0,63,193.09C40.86,198,25.47,196.58,21.25,189.3ZM128,212a83.58,83.58,0,0,1-48-15.1c21.58-6.58,45.83-17.37,69.85-31.16,24.25-13.94,45.61-29.46,61.83-44.44.18,2.21.3,4.44.3,6.7A84.1,84.1,0,0,1,128,212ZM235.28,76.73c-2.13,8-8.58,17.65-18.25,28.06a92.07,92.07,0,0,0-24.12-41.92c21.85-4.82,37.59-3.46,41.83,3.83C236.2,69.23,236.39,72.6,235.28,76.73Z"></path>'),V2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J1(d,l){if(new.target)return U({component:J1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,f2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=V2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=_2();o(e,a)},S=e=>{var a=A2();Y(),o(e,a)},D=e=>{var a=Z2();o(e,a)},g=e=>{var a=p2();o(e,a)},p=e=>{var a=w2();o(e,a)},M=e=>{var a=b2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var L2=new Set(["$$slots","$$events","$$legacy","children"]),M2=c('<path d="M200,144H129l21.24-21.25a60.11,60.11,0,0,0,24,5.22,51.69,51.69,0,0,0,27-7.54c24-14.57,37-47.79,34.54-88.87a12,12,0,0,0-11.27-11.27c-41.09-2.41-74.31,10.49-88.87,34.54-9.24,15.24-10,33.4-2.33,51L120,119l-11.14-11.13c4.94-12.89,4-26.12-2.76-37.36C95,52.25,70.12,42.4,39.49,44.21A12,12,0,0,0,28.21,55.48c-1.8,30.64,8,55.54,26.32,66.61a40.27,40.27,0,0,0,21,5.9,45.58,45.58,0,0,0,16.31-3.13L103,136l-8,8H56a12,12,0,0,0,0,24h7.27l11.63,52.34A19.89,19.89,0,0,0,94.42,236h67.17a19.88,19.88,0,0,0,19.52-15.66L192.74,168H200a12,12,0,0,0,0-24ZM156.1,67.26C164.8,52.89,185.29,44.5,212,44c-.48,26.69-8.87,47.18-23.25,55.89-9.43,5.71-20.45,5.48-32-.62C150.61,87.71,150.39,76.69,156.1,67.26ZM85.51,101.5c-5.23,2.53-12,4-18.54.07-8.47-5.13-13.81-17.48-14.8-33.4,15.93,1,28.27,6.32,33.4,14.79C89.51,89.48,88,96.27,85.51,101.5ZM158.38,212H97.62l-9.77-44h80.31Z"></path>'),C2=c('<path d="M184,152l-14.61,65.74a8,8,0,0,1-7.81,6.26H94.42a8,8,0,0,1-7.81-6.26L72,152Z" opacity="0.2"></path><path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.6,46.4,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.23-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.92-18.31,5.15-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>',1),H2=c('<path d="M200,144h-76.7l22.41-22.41a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.43-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16Z"></path>'),x2=c('<path d="M124.24,140.24h0l21.09-21.09a58,58,0,0,0,26.49,6.79A47.55,47.55,0,0,0,196.67,119c23.07-14,35.42-46.53,33-87.09a6,6,0,0,0-5.64-5.64c-40.56-2.38-73.12,10-87.09,33-9.22,15.22-9.2,33.71-.14,51.35L120,127.51l-14.64-14.63c6.32-13,6.15-26.6-.67-37.86C94.21,57.72,70,48.44,39.85,50.21a6,6,0,0,0-5.64,5.64C32.44,86,41.72,110.2,59,120.69A36.23,36.23,0,0,0,78,126a43.4,43.4,0,0,0,18.93-4.6L111.51,136l-10,10H56a6,6,0,0,0,0,12H67.18l13.57,61a13.91,13.91,0,0,0,13.67,11h67.17a13.91,13.91,0,0,0,13.66-11l13.57-61H200a6,6,0,0,0,0-12H118.48l5.76-5.76Zm23-74.7c11-18.22,37.24-28.33,70.72-27.5.83,33.47-9.28,59.68-27.5,70.72-12.3,7.44-27.09,6.92-41.79-1.43C140.31,92.63,139.79,77.84,147.24,65.54Zm-53.66,44c-10,5.56-20,5.87-28.34.84C52.78,102.87,45.75,85,46,62c23-.29,40.88,6.78,48.42,19.24C99.45,89.54,99.14,99.56,93.58,109.58ZM176.52,158l-13,58.43a2,2,0,0,1-1.95,1.57H94.42a2,2,0,0,1-2-1.57L79.48,158Z"></path>'),I2=c('<path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.92,34-9.36,15.45-9.6,34.11-.87,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.68,136l-8,8H56a8,8,0,0,0,0,16h9.59l13.21,59.47A15.91,15.91,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.24-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.93-18.31,5.16-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>'),k2=c('<path d="M122.83,138.83h0L145,116.7c9,4.89,18.06,7.35,26.81,7.35a45.57,45.57,0,0,0,23.87-6.74c22.42-13.58,34.41-45.45,32.07-85.26A4,4,0,0,0,224,28.29c-39.81-2.35-71.68,9.65-85.26,32.07-9.21,15.2-9,33.09.61,50.68L120,130.34l-17.06-17.06c6.66-12.78,6.71-26.2,0-37.22C92.89,59.4,69.33,50.49,40,52.21A4,4,0,0,0,36.21,56c-1.73,29.36,7.19,52.92,23.85,63A34.29,34.29,0,0,0,78,124a42,42,0,0,0,19.34-5l17,17.06-12,12H56a4,4,0,0,0,0,8H68.79L82.7,218.6A11.93,11.93,0,0,0,94.42,228h67.17a11.93,11.93,0,0,0,11.71-9.4L187.21,156H200a4,4,0,0,0,0-8H113.66l9.17-9.17Zm22.7-74.32C157.15,45.31,184.8,34.8,219.9,36.1c1.29,35.1-9.21,62.74-28.41,74.37-13.08,7.92-28.77,7.32-44.29-1.68C138.21,93.28,137.61,77.59,145.53,64.51ZM95.05,111.05c-10.84,6.19-21.76,6.59-30.84,1.08C50.78,104,43.35,84.68,44,60c24.64-.69,44,6.74,52.1,20.17C101.64,89.29,101.24,100.21,95.05,111.05Zm84,45-13.53,60.87a4,4,0,0,1-3.9,3.13H94.42a4,4,0,0,1-3.91-3.13L77,156Z"></path>'),y2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Q1(d,l){if(new.target)return U({component:Q1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,L2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=y2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=M2();o(e,a)},S=e=>{var a=C2();Y(),o(e,a)},D=e=>{var a=H2();o(e,a)},g=e=>{var a=x2();o(e,a)},p=e=>{var a=I2();o(e,a)},M=e=>{var a=k2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var z2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),S2=c('<svg><rect x="32" y="72" width="192" height="112" rx="24"></rect><path d="M48 152h160"></path><circle cx="192" cy="168" r="4" stroke="none"></circle></svg>');function X1(d,l){if(new.target)return U({component:X1,...d});j(l,!0);let r=b(l,"size",7,"1em"),n=b(l,"color",7,"currentColor"),f=b(l,"class",7,""),i=t1(l,z2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:R,$on:(h,A)=>O(l,h,A)},u=S2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=P(K(u),2);return N(u),J(()=>B1(Z,"fill",n())),o(d,u),q(_)}var D2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),P2=c('<svg><rect x="48" y="40" width="160" height="176" rx="24"></rect><path d="M48 152h160M72 176h112"></path><circle cx="176" cy="192" r="4" stroke="none"></circle></svg>');function $1(d,l){if(new.target)return U({component:$1,...d});j(l,!0);let r=b(l,"size",7,"1em"),n=b(l,"color",7,"currentColor"),f=b(l,"class",7,""),i=t1(l,D2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:R,$on:(h,A)=>O(l,h,A)},u=P2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=P(K(u),2);return N(u),J(()=>B1(Z,"fill",n())),o(d,u),q(_)}const U1={devices:h0,wildCards:u0},C1={macMini:{icon:X1,group:"devices",get label(){return k.deviceIcons_kind_macMini_label()}},macStudio:{icon:$1,group:"devices",get label(){return k.deviceIcons_kind_macStudio_label()}},laptop:{icon:Z0,group:"devices",get label(){return k.deviceIcons_kind_laptop_label()}},desktop:{icon:A0,group:"devices",get label(){return k.deviceIcons_kind_desktop_label()}},server:{icon:_0,group:"devices",get label(){return k.deviceIcons_kind_server_label()}},cloudVm:{icon:f0,group:"devices",get label(){return k.deviceIcons_kind_cloudVm_label()}},robot:{icon:m0,group:"wildCards",get label(){return k.deviceIcons_kind_robot_label()}},rocket:{icon:g0,group:"wildCards",get label(){return k.deviceIcons_kind_rocket_label()}},flyingSaucer:{icon:j1,group:"wildCards",get label(){return k.deviceIcons_kind_flyingSaucer_label()}},ghost:{icon:Y1,group:"wildCards",get label(){return k.deviceIcons_kind_ghost_label()}},cat:{icon:q1,group:"wildCards",get label(){return k.deviceIcons_kind_cat_label()}},dog:{icon:W1,group:"wildCards",get label(){return k.deviceIcons_kind_dog_label()}},gameController:{icon:F1,group:"wildCards",get label(){return k.deviceIcons_kind_gameController_label()}},coffee:{icon:G1,group:"wildCards",get label(){return k.deviceIcons_kind_coffee_label()}},planet:{icon:J1,group:"wildCards",get label(){return k.deviceIcons_kind_planet_label()}},pottedPlant:{icon:Q1,group:"wildCards",get label(){return k.deviceIcons_kind_pottedPlant_label()}}};function B2(d){return d?.toLowerCase()==="linux"?"server":"desktop"}function e0(d){return v0(d.deviceIcon)?d.deviceIcon:d0(d.detectedDeviceKind)?d.detectedDeviceKind:B2(d.os)}function E2(d){const l=e0({...d,deviceIcon:"auto"});return[{value:"auto",kind:l,group:"automatic",label:k.deviceIcons_picker_automatic_label({kind:C1[l].label})},...U1.devices.map(r=>({value:r,kind:r,group:"devices",label:C1[r].label})),...U1.wildCards.map(r=>({value:r,kind:r,group:"wildCards",label:C1[r].label}))]}function E1(d,l){if(new.target)return U({component:E1,...d});j(l,!0);let r=b(l,"record",7),n=b(l,"size",7,16),f=b(l,"class",7,""),i=b(l,"label",7);const _=v(()=>e0(r())),u=v(()=>C1[t(_)].icon);var Z={get record(){return r()},set record(s){r(s),V()},get size(){return n()},set size(s=16){n(s),V()},get class(){return f()},set class(s=""){f(s),V()},get label(){return i()},set label(s){i(s),V()},$set:R,$on:(s,m)=>O(l,s,m)},h=E(),A=y(h);{let s=v(()=>D1("shrink-0",f())),m=v(()=>i()===void 0?void 0:"img"),L=v(()=>i()===void 0?"true":void 0);B(A,()=>t(u),(x,C)=>{C(x,{get size(){return n()},get class(){return t(s)},get role(){return t(m)},get"aria-label"(){return i()},get"aria-hidden"(){return t(L)}})})}return o(d,h),q(Z)}const y1=(d,l=o0)=>{var r=T2(),n=K(r);{let _=v(()=>({deviceIcon:l().kind}));E1(n,{get record(){return t(_)}})}var f=P(n,2),i=P1(f,!0);N(r),J(()=>u1(i,l().label)),o(d,r)};var T2=d1('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),z1=d1("<!> <!>",1),K2=d1("<!> <!> <!> <!>",1),N2=d1('<div data-testid="device-icon-picker"><!></div>');function U2(d,l){if(new.target)return U({component:U2,...d});j(l,!0);let r=b(l,"record",7),n=b(l,"value",15),f=b(l,"disabled",7,!1),i=b(l,"portal",7,!1),_=b(l,"class",7,""),u=b(l,"contentClass",7,""),Z=b(l,"onchange",7);const h=v(()=>E2(r())),A=v(()=>n()??r().deviceIcon??"auto"),s=v(()=>t(h).map(({value:e,label:a})=>({value:e,label:a}))),m=v(()=>t(h).find(e=>e.value===t(A))),L=v(()=>t(h).find(e=>e.value==="auto")),x=v(()=>({...r(),deviceIcon:t(A)})),C=v(()=>k.deviceIcons_picker_trigger_ariaLabel({selection:t(m)?.label??t(A)})),S=v(()=>t(h).filter(e=>e.group==="devices")),D=v(()=>t(h).filter(e=>e.group==="wildCards"));function g(e){const a=t(h).find(w=>w.value===e);a&&(n(a.value),Z()?.(a.value))}var p={get record(){return r()},set record(e){r(e),V()},get value(){return n()},set value(e){n(e),V()},get disabled(){return f()},set disabled(e=!1){f(e),V()},get portal(){return i()},set portal(e=!1){i(e),V()},get class(){return _()},set class(e=""){_(e),V()},get contentClass(){return u()},set contentClass(e=""){u(e),V()},get onchange(){return Z()},set onchange(e){Z(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},M=N2(),H=K(M);return B(H,()=>X.Root,(e,a)=>{a(e,{get value(){return t(A)},get items(){return t(s)},get disabled(){return f()},onchange:g,children:(w,l1)=>{var G=z1(),I=y(G);{const f1=(o1,n1)=>{O1(o1,t0(()=>(n1?.()).props,{variant:"outline",size:"icon",iconOnly:!0,class:"size-(--control-height-medium) shrink-0 justify-center p-0",get"aria-label"(){return t(C)},get tooltip(){return t(C)},children:(h1,_1)=>{E1(h1,{get record(){return t(x)}})},$$slots:{default:!0}}))};B(I,()=>X.Trigger,(o1,n1)=>{n1(o1,{get"aria-label"(){return t(C)},"data-testid":"device-icon-picker-trigger",child:f1,$$slots:{child:!0}})})}var H1=P(I,2);{let f1=v(()=>D1("w-56",u()));B(H1,()=>X.Content,(o1,n1)=>{n1(o1,{get portal(){return i()},get class(){return t(f1)},children:(L1,h1)=>{var _1=K2(),$=y(_1);{var Z1=W=>{var e1=E(),a1=y(e1);B(a1,()=>X.Item,(w1,i1)=>{i1(w1,{value:"auto",get label(){return t(L).label},children:(s1,b1)=>{y1(s1,()=>t(L))},$$slots:{default:!0}})}),o(W,e1)};z($,W=>{t(L)&&W(Z1)})}var p1=P($,2);{var x1=W=>{var e1=E(),a1=y(e1);B(a1,()=>X.Item,(w1,i1)=>{i1(w1,{get value(){return t(A)},disabled:!0,children:(s1,b1)=>{Y();var T=F();J(()=>u1(T,t(A))),o(s1,T)},$$slots:{default:!0}})}),o(W,e1)};z(p1,W=>{t(m)||W(x1)})}var M1=P(p1,2);B(M1,()=>T1,(W,e1)=>{e1(W,{children:(a1,w1)=>{var i1=z1(),s1=y(i1);B(s1,()=>K1,(T,Q)=>{Q(T,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{Y();var v1=F();J(A1=>u1(v1,A1),[()=>k.deviceIcons_group_devices_label()]),o(c1,v1)},$$slots:{default:!0}})});var b1=P(s1,2);S1(b1,17,()=>t(S),T=>T.value,(T,Q)=>{var c1=E(),V1=y(c1);B(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(T,c1)}),o(a1,i1)},$$slots:{default:!0}})});var I1=P(M1,2);B(I1,()=>T1,(W,e1)=>{e1(W,{children:(a1,w1)=>{var i1=z1(),s1=y(i1);B(s1,()=>K1,(T,Q)=>{Q(T,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{Y();var v1=F();J(A1=>u1(v1,A1),[()=>k.deviceIcons_group_wildCards_label()]),o(c1,v1)},$$slots:{default:!0}})});var b1=P(s1,2);S1(b1,17,()=>t(D),T=>T.value,(T,Q)=>{var c1=E(),V1=y(c1);B(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(T,c1)}),o(a1,i1)},$$slots:{default:!0}})}),o(L1,_1)},$$slots:{default:!0}})})}o(w,G)},$$slots:{default:!0}})}),N(M),J(e=>R1(M,1,e),[()=>c0(D1("w-fit shrink-0",_()))]),o(d,M),q(p)}var R2=d1('<p role="note" class="type-caption text-muted-foreground"> </p>');function O2(d,l){if(new.target)return U({component:O2,...d});j(l,!0);const r=()=>r0(_,"$unavailable$",n),[n,f]=l0();let i=b(l,"relevant",7,!0);const _=p0();var u={get relevant(){return i()},set relevant(m=!0){i(m),V()},$set:R,$on:(m,L)=>O(l,m,L)},Z=E(),h=y(Z);{var A=m=>{var L=R2(),x=P1(L,!0);J(C=>u1(x,C),[()=>k.settings_devices_tailcatUnavailable_note()]),o(m,L)};z(h,m=>{i()&&r()&&m(A)})}o(d,Z);var s=q(u);return f(),s}var j2=d1('<span class="truncate"> </span>'),q2=d1("<!> <!>",1),G2=d1('<div class="w-56 max-w-full"><!></div>'),W2=d1("<div><!></div>");function Y2(d,l){if(new.target)return U({component:Y2,...d});j(l,!0);let r=b(l,"entry",7),n=b(l,"context",7),f=b(l,"compact",7,!0),i=s0(void 0);n0(()=>{if(r().store)return r().store.subscribe(g=>i0(i,g,!0))});const _=v(()=>r().store?t(i):r().get?.()),u=v(()=>[n().descriptionId,n().errorId].filter(Boolean).join(" ")||void 0);function Z(g){r().store?r().store.set(g):r().set?.(g)}var h={get entry(){return r()},set entry(g){r(g),V()},get context(){return n()},set context(g){n(g),V()},get compact(){return f()},set compact(g=!0){f(g),V()},$set:R,$on:(g,p)=>O(l,g,p)},A=W2();let s;var m=K(A);{var L=g=>{var p=()=>!!t(_),M=Z;w0(g,{get id(){return n().controlId},get size(){return r().size},get checked(){return p()},set checked(H){M(H)},get disabled(){return n().disabled},get ariaLabelledby(){return n().labelId},get ariaDescribedby(){return t(u)}})},x=g=>{var p=G2(),M=K(p);{let H=v(()=>String(t(_)??""));B(M,()=>X.Root,(e,a)=>{a(e,{get value(){return t(H)},onchange:Z,get disabled(){return n().disabled},children:(w,l1)=>{var G=q2(),I=y(G);B(I,()=>X.Trigger,(f1,o1)=>{o1(f1,{get id(){return n().controlId},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},children:(n1,L1)=>{var h1=j2(),_1=P1(h1,!0);J($=>u1(_1,$),[()=>r().options.find($=>$.value===t(_))?.label??r().placeholder??String(t(_)??"")]),o(n1,h1)},$$slots:{default:!0}})});var H1=P(I,2);B(H1,()=>X.Content,(f1,o1)=>{o1(f1,{portal:!0,class:"w-56 max-w-full",children:(n1,L1)=>{var h1=E(),_1=y(h1);S1(_1,17,()=>r().options,$=>$.value,($,Z1)=>{var p1=E(),x1=y(p1);B(x1,()=>X.Item,(M1,I1)=>{I1(M1,{get value(){return t(Z1).value},get disabled(){return t(Z1).disabled},children:(W,e1)=>{Y();var a1=F();J(()=>u1(a1,t(Z1).label)),o(W,a1)},$$slots:{default:!0}})}),o($,p1)}),o(n1,h1)},$$slots:{default:!0}})}),o(w,G)},$$slots:{default:!0}})})}N(p),o(g,p)},C=g=>{{let p=v(()=>r().kind==="input"?r().inputType??"text":"text"),M=v(()=>String(t(_)??"")),H=v(()=>r().kind!=="input"&&r().readonly),e=v(()=>r().kind==="keybinding"?void 0:r().onBlur),a=v(()=>r().kind==="keybinding"?r().onKeydown:void 0);N1(g,{get id(){return n().controlId},get type(){return t(p)},get value(){return t(M)},get placeholder(){return r().placeholder},get readonly(){return t(H)},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:w=>Z(w.currentTarget.value),get onblur(){return t(e)},get onkeydown(){return t(a)},class:"w-64 max-w-full"})}},S=g=>{N1(g,{get id(){return n().controlId},type:"number",get value(){return t(_)},get min(){return r().min},get max(){return r().max},get step(){return r().step},get placeholder(){return r().placeholder},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:p=>Z(p.currentTarget.valueAsNumber),get onblur(){return r().onBlur},class:"w-32 max-w-full"})},D=g=>{{let p=v(()=>r().variant??(r().danger?"destructive":"secondary"));O1(g,{get variant(){return t(p)},get disabled(){return n().disabled},onclick:()=>void r().action(),children:(M,H)=>{Y();var e=F();J(()=>u1(e,r().actionLabel)),o(M,e)},$$slots:{default:!0}})}};z(m,g=>{r().kind==="switch"?g(L):r().kind==="select"?g(x,1):r().kind==="input"||r().kind==="path"||r().kind==="keybinding"?g(C,2):r().kind==="number"?g(S,3):r().kind==="action"&&g(D,4)})}return N(A),J(()=>{B1(A,"data-settings-control-kind",r().kind),s=R1(A,1,"min-w-0",null,s,{grid:!f()&&r().kind==="switch"})}),o(d,A),q(h)}export{E1 as D,Y2 as S,O2 as T,U2 as a};
1
+ import{t as U,bo as b,bw as R,b as O,bp as t1,bm as k,br as t0,bs as r0,bq as l0}from"./Fcr7AvC-.js";import{bs as j,aD as t,a5 as K,bS as P,bA as N,W as o,bn as q,c9 as v,aA as V,a7 as E,ay as y,be as Y,b$ as F,aC as c,b_ as J,bO as u1,aB as d1,bf as o0,bl as P1,ca as n0,bH as i0,bV as s0}from"./3SdAC2_C.js";import{i as z}from"./BhYXv0ZM.js";import{h as g1,g as S1}from"./CA6H1-bp.js";import{c as B}from"./2z64ELW5.js";import{b as r1,s as B1,e as D1,c as c0,f as R1}from"./BRCr02in.js";import{S as X}from"./BnnKw3Va.js";import{f as O1}from"./Beq_QLuz.js";import"./BAtAwQ72.js";import{rC as v0,rB as d0,T as h0,bj as u0}from"./D0qhIm1r.js";import{t as m1}from"./CWfjuhY2.js";import{S as g0,R as m0,l as f0,y as _0,n as A0,L as Z0}from"./ChHRVjww.js";import{S as T1,a as K1}from"./COmspkQo.js";import{a7 as p0}from"./BeZe2Rt-.js";import{I as N1}from"./C3KgmGxd.js";import"./x4bPxhVW.js";import{a as w0}from"./gNR_yDDX.js";var b0=new Set(["$$slots","$$events","$$legacy","children"]),V0=c('<path d="M128,12A100.11,100.11,0,0,0,28,112c0,24.86,12.86,56.8,34.41,85.44C70.63,208.36,99.64,244,128,244s57.37-35.64,65.59-46.56C215.14,168.8,228,136.86,228,112A100.11,100.11,0,0,0,128,12Zm46.41,171c-13.83,18.38-34.21,37-46.41,37s-32.58-18.61-46.41-37C63.34,158.75,52,131.54,52,112a76,76,0,0,1,152,0C204,131.54,192.66,158.75,174.41,183ZM104,148a36,36,0,0,1-36-36,12,12,0,0,1,12-12,36,36,0,0,1,36,36A12,12,0,0,1,104,148Zm84-36a36,36,0,0,1-36,36,12,12,0,0,1-12-12,36,36,0,0,1,36-36A12,12,0,0,1,188,112Zm-36,72a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24h24A12,12,0,0,1,152,184Z"></path>'),L0=c('<path d="M128,24a88,88,0,0,0-88,88c0,48.6,56,120,88,120s88-71.4,88-120A88,88,0,0,0,128,24ZM104,144a32,32,0,0,1-32-32,8,8,0,0,1,8-8,32,32,0,0,1,32,32A8,8,0,0,1,104,144Zm48,0a8,8,0,0,1-8-8,32,32,0,0,1,32-32,8,8,0,0,1,8,8A32,32,0,0,1,152,144Z" opacity="0.2"></path><path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>',1),M0=c('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16ZM64,116a12,12,0,0,1,12-12,36,36,0,0,1,36,36,12,12,0,0,1-12,12A36,36,0,0,1,64,116Zm80,84H112a8,8,0,0,1,0-16h32a8,8,0,0,1,0,16Zm12-48a12,12,0,0,1-12-12,36,36,0,0,1,36-36,12,12,0,0,1,12,12A36,36,0,0,1,156,152Z"></path>'),C0=c('<path d="M128,18a94.11,94.11,0,0,0-94,94c0,23.6,12.41,54.2,33.21,81.83C83.27,215.18,107.68,238,128,238s44.73-22.82,60.79-44.17C209.59,166.2,222,135.6,222,112A94.11,94.11,0,0,0,128,18Zm51.21,168.62C161.48,210.17,140.91,226,128,226s-33.48-15.83-51.21-39.38C57.8,161.37,46,132.78,46,112a82,82,0,0,1,164,0C210,132.78,198.2,161.37,179.21,186.62ZM118,136A38,38,0,0,0,80,98a14,14,0,0,0-14,14,38,38,0,0,0,38,38A14,14,0,0,0,118,136Zm-14,2a26,26,0,0,1-26-26,2,2,0,0,1,2-2,26,26,0,0,1,26,26A2,2,0,0,1,104,138Zm72-40a38,38,0,0,0-38,38,14,14,0,0,0,14,14,38,38,0,0,0,38-38A14,14,0,0,0,176,98Zm-24,40a2,2,0,0,1-2-2,26,26,0,0,1,26-26,2,2,0,0,1,2,2A26,26,0,0,1,152,138Zm-2,46a6,6,0,0,1-6,6H112a6,6,0,0,1,0-12h32A6,6,0,0,1,150,184Z"></path>'),H0=c('<path d="M128,16a96.11,96.11,0,0,0-96,96c0,24,12.56,55.06,33.61,83,21.18,28.15,44.5,45,62.39,45s41.21-16.81,62.39-45c21.05-28,33.61-59,33.61-83A96.11,96.11,0,0,0,128,16Zm49.61,169.42C160.24,208.49,140.31,224,128,224s-32.24-15.51-49.61-38.58C59.65,160.5,48,132.37,48,112a80,80,0,0,1,160,0C208,132.37,196.35,160.5,177.61,185.42ZM120,136A40,40,0,0,0,80,96a16,16,0,0,0-16,16,40,40,0,0,0,40,40A16,16,0,0,0,120,136ZM80,112a24,24,0,0,1,24,24h0A24,24,0,0,1,80,112Zm96-16a40,40,0,0,0-40,40,16,16,0,0,0,16,16,40,40,0,0,0,40-40A16,16,0,0,0,176,96Zm-24,40a24,24,0,0,1,24-24A24,24,0,0,1,152,136Zm0,48a8,8,0,0,1-8,8H112a8,8,0,0,1,0-16h32A8,8,0,0,1,152,184Z"></path>'),x0=c('<path d="M128,20a92.1,92.1,0,0,0-92,92c0,23.19,12.26,53.33,32.8,80.63C84.58,213.6,108.41,236,128,236s43.42-22.4,59.2-43.37C207.74,165.33,220,135.19,220,112A92.1,92.1,0,0,0,128,20Zm52.8,167.82C162.44,212.23,141.71,228,128,228s-34.44-15.77-52.8-40.18C56,162.24,44,133.19,44,112a84,84,0,0,1,168,0C212,133.19,200.05,162.24,180.8,187.82ZM116,136a36,36,0,0,0-36-36,12,12,0,0,0-12,12,36,36,0,0,0,36,36A12,12,0,0,0,116,136Zm-12,4a28,28,0,0,1-28-28,4,4,0,0,1,4-4,28,28,0,0,1,28,28A4,4,0,0,1,104,140Zm72-40a36,36,0,0,0-36,36,12,12,0,0,0,12,12,36,36,0,0,0,36-36A12,12,0,0,0,176,100Zm-24,40a4,4,0,0,1-4-4,28,28,0,0,1,28-28,4,4,0,0,1,4,4A28,28,0,0,1,152,140Zm-4,44a4,4,0,0,1-4,4H112a4,4,0,0,1,0-8h32A4,4,0,0,1,148,184Z"></path>'),I0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function j1(d,l){if(new.target)return U({component:j1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,b0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=I0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=V0();o(e,a)},S=e=>{var a=L0();Y(),o(e,a)},D=e=>{var a=M0();o(e,a)},g=e=>{var a=C0();o(e,a)},p=e=>{var a=H0();o(e,a)},M=e=>{var a=x0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var k0=new Set(["$$slots","$$events","$$legacy","children"]),y0=c('<path d="M223.65,29.53a20,20,0,0,0-21.79,4.34c-.2.2-.39.4-.57.61l-15,17.3a115.34,115.34,0,0,0-116.5,0l-15-17.3c-.18-.21-.37-.41-.57-.61A20,20,0,0,0,20,48v88c0,55.14,48.45,100,108,100s108-44.86,108-100V48A20,20,0,0,0,223.65,29.53ZM212,136c0,38.22-31.35,69.93-72,75.21V197l12.49-12.49a12,12,0,0,0-17-17L128,175l-7.51-7.52a12,12,0,0,0-17,17L116,197v14.24c-40.65-5.28-72-37-72-75.21V58.74L58.54,75.47a12,12,0,0,0,16.21,1.76A86,86,0,0,1,96,65.74V88a12,12,0,0,0,24,0V60.35q4-.35,8-.35t8,.35V88a12,12,0,0,0,24,0V65.74a86.2,86.2,0,0,1,21.25,11.49,12,12,0,0,0,16.21-1.76L212,58.74Zm-112,4a16,16,0,1,1-16-16A16,16,0,0,1,100,140Zm88,0a16,16,0,1,1-16-16A16,16,0,0,1,188,140Z"></path>'),z0=c('<path d="M224,48v88c0,48.6-43,88-96,88s-96-39.4-96-88V48a8,8,0,0,1,13.66-5.66L67.6,67.6h0a102.87,102.87,0,0,1,120.8,0h0l21.94-25.24A8,8,0,0,1,224,48Z" opacity="0.2"></path><path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>',1),S0=c('<path d="M222.83,33.54a16,16,0,0,0-18.14,3.15c-.14.14-.26.27-.38.41L187.05,57A111.28,111.28,0,0,0,69,57L51.69,37.1c-.12-.14-.24-.27-.38-.41a16,16,0,0,0-18.14-3.15A16.4,16.4,0,0,0,24,48.46V136c0,49,40.06,89.63,91.56,95.32a4,4,0,0,0,4.44-4v-32l-13.42-13.43a8.22,8.22,0,0,1-.41-11.37,8,8,0,0,1,11.49-.18L128,180.68l10.34-10.35a8,8,0,0,1,11.49.18,8.22,8.22,0,0,1-.41,11.37L136,195.31v32a4,4,0,0,0,4.44,4C191.94,225.62,232,185,232,136V48.46A16.4,16.4,0,0,0,222.83,33.54ZM84,152a12,12,0,1,1,12-12A12,12,0,0,1,84,152Zm20-64a8,8,0,1,1-16,0V69a8,8,0,0,1,16,0Zm32,0a8,8,0,1,1-16,0V64a8,8,0,0,1,16,0Zm16,0V69a8,8,0,0,1,16,0V88a8,8,0,1,1-16,0Zm20,64a12,12,0,1,1,12-12A12,12,0,0,1,172,152Z"></path>'),D0=c('<path d="M221.36,35.07a14,14,0,0,0-15.26,3l-.29.3L187.42,59.58a109.16,109.16,0,0,0-118.84,0L50.19,38.41l-.29-.3A14,14,0,0,0,26,48v88c0,51.83,45.76,94,102,94s102-42.17,102-94V48A14,14,0,0,0,221.36,35.07ZM218,136c0,43.38-37.16,79-84,81.81V194.48l14.24-14.24a6,6,0,0,0-8.48-8.49L128,183.51l-11.76-11.76a6,6,0,0,0-8.48,8.49L122,194.48v23.33C75.16,215,38,179.38,38,136V48a1.91,1.91,0,0,1,1.23-1.85,2.28,2.28,0,0,1,.82-.17,1.87,1.87,0,0,1,1.26.5l21.76,25a6,6,0,0,0,8.11.88A91.52,91.52,0,0,1,90,61.68V88a6,6,0,1,0,12,0V57.51a97.85,97.85,0,0,1,20-3.32V88a6,6,0,1,0,12,0V54.19a97.85,97.85,0,0,1,20,3.32V88a6,6,0,1,0,12,0V61.68a91.52,91.52,0,0,1,18.82,10.73,6,6,0,0,0,8.11-.88l21.76-25A2,2,0,0,1,218,48ZM94,140a10,10,0,1,1-10-10A10,10,0,0,1,94,140Zm88,0a10,10,0,1,1-10-10A10,10,0,0,1,182,140Z"></path>'),P0=c('<path d="M96,140a12,12,0,1,1-12-12A12,12,0,0,1,96,140Zm76-12a12,12,0,1,0,12,12A12,12,0,0,0,172,128Zm60-80v88c0,52.93-46.65,96-104,96S24,188.93,24,136V48A16,16,0,0,1,51.31,36.69c.14.14.26.27.38.41L69,57a111.22,111.22,0,0,1,118.1,0L204.31,37.1c.12-.14.24-.27.38-.41A16,16,0,0,1,232,48Zm-16,0-21.56,24.8A8,8,0,0,1,183.63,74,88.86,88.86,0,0,0,168,64.75V88a8,8,0,1,1-16,0V59.05a97.43,97.43,0,0,0-16-2.72V88a8,8,0,1,1-16,0V56.33a97.43,97.43,0,0,0-16,2.72V88a8,8,0,1,1-16,0V64.75A88.86,88.86,0,0,0,72.37,74a8,8,0,0,1-10.81-1.17L40,48v88c0,41.66,35.21,76,80,79.67V195.31l-13.66-13.66a8,8,0,0,1,11.32-11.31L128,180.68l10.34-10.34a8,8,0,0,1,11.32,11.31L136,195.31v20.36c44.79-3.69,80-38,80-79.67Z"></path>'),B0=c('<path d="M220.59,36.94a11.83,11.83,0,0,0-13.08,2.61l-.19.2L187.77,62.24a107.1,107.1,0,0,0-119.54,0L48.68,39.75l-.19-.2A12,12,0,0,0,28,48v88c0,50.72,44.86,92,100,92s100-41.27,100-92V48A11.82,11.82,0,0,0,220.59,36.94ZM220,136c0,45.09-39.12,82-88,83.91V193.66l14.83-14.83a4,4,0,1,0-5.66-5.65L128,186.35l-13.17-13.17a4,4,0,1,0-5.66,5.65L124,193.66v26.26C75.12,218,36,181.1,36,136V48a3.93,3.93,0,0,1,2.47-3.7,4.39,4.39,0,0,1,1.6-.31,3.77,3.77,0,0,1,2.67,1.1L64.58,70.23a4,4,0,0,0,5.4.59A94,94,0,0,1,92,58.74V88a4,4,0,0,0,8,0V56a100.07,100.07,0,0,1,24-3.93V88a4,4,0,0,0,8,0V52.09A100.07,100.07,0,0,1,156,56V88a4,4,0,0,0,8,0V58.74a94,94,0,0,1,22,12.08,4,4,0,0,0,5.4-.59l21.84-25.11A4,4,0,0,1,220,48ZM92,140a8,8,0,1,1-8-8A8,8,0,0,1,92,140Zm88,0a8,8,0,1,1-8-8A8,8,0,0,1,180,140Z"></path>'),E0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function q1(d,l){if(new.target)return U({component:q1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,k0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=E0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=y0();o(e,a)},S=e=>{var a=z0();Y(),o(e,a)},D=e=>{var a=S0();o(e,a)},g=e=>{var a=D0();o(e,a)},p=e=>{var a=P0();o(e,a)},M=e=>{var a=B0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var T0=new Set(["$$slots","$$events","$$legacy","children"]),K0=c('<path d="M212,76H32A12,12,0,0,0,20,88v48a100.24,100.24,0,0,0,26.73,68H32a12,12,0,0,0,0,24H208a12,12,0,0,0,0-24H193.27a100.75,100.75,0,0,0,20-32A44,44,0,0,0,256,128v-8A44.05,44.05,0,0,0,212,76Zm-16,60a76.27,76.27,0,0,1-42,68H86a76.27,76.27,0,0,1-42-68V100H196Zm36-8a20,20,0,0,1-12.57,18.55A97.17,97.17,0,0,0,220,136V101.68A20,20,0,0,1,232,120ZM68,48V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Zm40,0V24a12,12,0,0,1,24,0V48a12,12,0,0,1-24,0Z"></path>'),N0=c('<path d="M208,88v48a88,88,0,0,1-51.3,80H83.3A88,88,0,0,1,32,136V88Z" opacity="0.2"></path><path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>',1),U0=c('<path d="M208,80H32a8,8,0,0,0-8,8v48a96.3,96.3,0,0,0,32.54,72H32a8,8,0,0,0,0,16H208a8,8,0,0,0,0-16H183.46a96.59,96.59,0,0,0,27-40.09A40,40,0,0,0,248,128v-8A40,40,0,0,0,208,80Zm24,48a24,24,0,0,1-17.2,23,95.78,95.78,0,0,0,1.2-15V97.38A24,24,0,0,1,232,120ZM112,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm32,0V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0ZM80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Z"></path>'),R0=c('<path d="M82,56V24a6,6,0,0,1,12,0V56a6,6,0,0,1-12,0Zm38,6a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,120,62Zm32,0a6,6,0,0,0,6-6V24a6,6,0,0,0-12,0V56A6,6,0,0,0,152,62Zm94,58v8a38,38,0,0,1-36.94,38,94.55,94.55,0,0,1-31.13,44H208a6,6,0,0,1,0,12H32a6,6,0,0,1,0-12H62.07A94.34,94.34,0,0,1,26,136V88a6,6,0,0,1,6-6H208A38,38,0,0,1,246,120Zm-44,16V94H38v42a82.27,82.27,0,0,0,46.67,74h70.66A82.27,82.27,0,0,0,202,136Zm32-16a26,26,0,0,0-20-25.29V136a93.18,93.18,0,0,1-1.69,17.64A26,26,0,0,0,234,128Z"></path>'),O0=c('<path d="M80,56V24a8,8,0,0,1,16,0V56a8,8,0,0,1-16,0Zm40,8a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,120,64Zm32,0a8,8,0,0,0,8-8V24a8,8,0,0,0-16,0V56A8,8,0,0,0,152,64Zm96,56v8a40,40,0,0,1-37.51,39.91,96.59,96.59,0,0,1-27,40.09H208a8,8,0,0,1,0,16H32a8,8,0,0,1,0-16H56.54A96.3,96.3,0,0,1,24,136V88a8,8,0,0,1,8-8H208A40,40,0,0,1,248,120ZM200,96H40v40a80.27,80.27,0,0,0,45.12,72h69.76A80.27,80.27,0,0,0,200,136Zm32,24a24,24,0,0,0-16-22.62V136a95.78,95.78,0,0,1-1.2,15A24,24,0,0,0,232,128Z"></path>'),j0=c('<path d="M84,56V24a4,4,0,0,1,8,0V56a4,4,0,0,1-8,0Zm36,4a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,120,60Zm32,0a4,4,0,0,0,4-4V24a4,4,0,0,0-8,0V56A4,4,0,0,0,152,60Zm92,60v8a36,36,0,0,1-36,36h-.41a92.53,92.53,0,0,1-35.76,48H208a4,4,0,0,1,0,8H32a4,4,0,0,1,0-8H68.17A92.34,92.34,0,0,1,28,136V88a4,4,0,0,1,4-4H208A36,36,0,0,1,244,120Zm-40,16V92H36v44a84.28,84.28,0,0,0,48.21,76h71.58A84.28,84.28,0,0,0,204,136Zm32-16a28,28,0,0,0-24-27.71V136a91.75,91.75,0,0,1-2.2,19.94A28,28,0,0,0,236,128Z"></path>'),q0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function G1(d,l){if(new.target)return U({component:G1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,T0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=q0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=K0();o(e,a)},S=e=>{var a=N0();Y(),o(e,a)},D=e=>{var a=U0();o(e,a)},g=e=>{var a=R0();o(e,a)},p=e=>{var a=O0();o(e,a)},M=e=>{var a=j0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var G0=new Set(["$$slots","$$events","$$legacy","children"]),W0=c('<path d="M108,136a16,16,0,1,1-16-16A16,16,0,0,1,108,136Zm56-16a16,16,0,1,0,16,16A16,16,0,0,0,164,120Zm68.24,26.18a20.42,20.42,0,0,1-8.41,1.85,19.59,19.59,0,0,1-3.83-.39V184a44.05,44.05,0,0,1-44,44H80a44.05,44.05,0,0,1-44-44V147.63a19,19,0,0,1-3.85.39,20.31,20.31,0,0,1-8.39-1.84,19.71,19.71,0,0,1-11.4-21.9l16.42-88A20,20,0,0,1,53.29,20.59l.47.13,52,15.27h44.54l52-15.27.47-.13a20,20,0,0,1,24.51,15.72l16.42,88A19.71,19.71,0,0,1,232.24,146.18Zm-60-91.63L217,112.42,204.44,45.09ZM39,112.42,83.76,54.55l-32.2-9.46ZM196,184V124.48L146.11,60H109.89L60,124.48V184a20,20,0,0,0,20,20h36v-7l-12.48-12.49a12,12,0,0,1,17-17L128,175l7.51-7.52a12,12,0,0,1,17,17L140,197v7h36A20,20,0,0,0,196,184Z"></path>'),Y0=c('<path d="M208,120.38V184a32,32,0,0,1-32,32H80a32,32,0,0,1-32-32V120.38L104,48h48Z" opacity="0.2"></path><path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>',1),F0=c('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM176,208H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.93,56h40.14L200,123.11V184A24,24,0,0,1,176,208Zm-72-68a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),J0=c('<path d="M102,140a10,10,0,1,1-10-10A10,10,0,0,1,102,140Zm62-10a10,10,0,1,0,10,10A10,10,0,0,0,164,130Zm65.77,10.72a14.24,14.24,0,0,1-5.89,1.29,13.72,13.72,0,0,1-9.88-4.23V184a38,38,0,0,1-38,38H80a38,38,0,0,1-38-38V137.78A13.76,13.76,0,0,1,32.11,142a14.23,14.23,0,0,1-5.88-1.29,13.82,13.82,0,0,1-8-15.34l16.42-88a14,14,0,0,1,17.16-11l.24.07L104.86,42h46.28l52.79-15.51.24-.07a14,14,0,0,1,17.16,11l16.42,88A13.81,13.81,0,0,1,229.77,140.72ZM93.88,51.27,48.84,38a1.9,1.9,0,0,0-1.49.27,2,2,0,0,0-.88,1.32l-16.42,88a2,2,0,0,0,3.54,1.61ZM202,184V122.43L149.06,54H106.94L54,122.43V184a26,26,0,0,0,26,26h42V194.48l-14.24-14.24a6,6,0,0,1,8.48-8.48L128,183.51l11.76-11.75a6,6,0,0,1,8.48,8.48L134,194.48V210h42A26,26,0,0,0,202,184ZM226,127.6l-16.42-88a2,2,0,0,0-.88-1.31,2.07,2.07,0,0,0-1.49-.27l-45,13.23,60.32,78A2,2,0,0,0,226,127.6Z"></path>'),Q0=c('<path d="M239.71,125l-16.42-88a16,16,0,0,0-19.61-12.58l-.31.09L150.85,40h-45.7L52.63,24.56l-.31-.09A16,16,0,0,0,32.71,37.05L16.29,125a15.77,15.77,0,0,0,9.12,17.52A16.26,16.26,0,0,0,32.12,144,15.48,15.48,0,0,0,40,141.84V184a40,40,0,0,0,40,40h96a40,40,0,0,0,40-40V141.85a15.5,15.5,0,0,0,7.87,2.16,16.31,16.31,0,0,0,6.72-1.47A15.77,15.77,0,0,0,239.71,125ZM32,128h0L48.43,40,90.5,52.37Zm144,80H136V195.31l13.66-13.65a8,8,0,0,0-11.32-11.32L128,180.69l-10.34-10.35a8,8,0,0,0-11.32,11.32L120,195.31V208H80a24,24,0,0,1-24-24V123.11L107.92,56h40.15L200,123.11V184A24,24,0,0,1,176,208Zm48-80L165.5,52.37,207.57,40,224,128ZM104,140a12,12,0,1,1-12-12A12,12,0,0,1,104,140Zm72,0a12,12,0,1,1-12-12A12,12,0,0,1,176,140Z"></path>'),X0=c('<path d="M100,140a8,8,0,1,1-8-8A8,8,0,0,1,100,140Zm64,8a8,8,0,1,0-8-8A8,8,0,0,0,164,148Zm64.94-9.11a12.12,12.12,0,0,1-5,1.11,11.83,11.83,0,0,1-9.35-4.62L212,132.09V184a36,36,0,0,1-36,36H80a36,36,0,0,1-36-36V132.09l-2.53,3.27A11.88,11.88,0,0,1,32.1,140a12.08,12.08,0,0,1-5-1.11,11.82,11.82,0,0,1-6.84-13.14l16.42-88a12,12,0,0,1,14.7-9.43l.16,0L104.58,44h46.84L204.5,28.4l.16,0a12,12,0,0,1,14.7,9.43l16.42,88A11.81,11.81,0,0,1,228.94,138.89ZM97.25,50.18,49.34,36.1a4.18,4.18,0,0,0-.92-.1,4,4,0,0,0-3.92,3.26l-16.42,88a4,4,0,0,0,7.08,3.22ZM204,121.75,150,52H106L52,121.75V184a28,28,0,0,0,28,28h44V193.66l-14.83-14.83a4,4,0,0,1,5.66-5.66L128,186.34l13.17-13.17a4,4,0,0,1,5.66,5.66L132,193.66V212h44a28,28,0,0,0,28-28Zm23.92,5.48-16.42-88a4,4,0,0,0-4.84-3.16L158.75,50.18l62.11,80.28a4,4,0,0,0,7.06-3.23Z"></path>'),$0=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function W1(d,l){if(new.target)return U({component:W1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,G0),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=$0();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=W0();o(e,a)},S=e=>{var a=Y0();Y(),o(e,a)},D=e=>{var a=F0();o(e,a)},g=e=>{var a=J0();o(e,a)},p=e=>{var a=Q0();o(e,a)},M=e=>{var a=X0();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var e2=new Set(["$$slots","$$events","$$legacy","children"]),a2=c('<path d="M116,116a16,16,0,1,1-16-16A16,16,0,0,1,116,116Zm40-16a16,16,0,1,0,16,16A16,16,0,0,0,156,100Zm72,20v96a12,12,0,0,1-19.6,9.29L186.67,207.5l-21.74,17.79a12,12,0,0,1-15.2,0L128,207.5l-21.73,17.79a12,12,0,0,1-15.2,0L69.33,207.5,47.6,225.29A12,12,0,0,1,28,216V120a100,100,0,0,1,200,0Zm-24,0a76,76,0,0,0-152,0v70.68l9.73-8a12,12,0,0,1,15.2,0L98.67,200.5l21.73-17.79a12,12,0,0,1,15.2,0l21.73,17.79,21.74-17.79a12,12,0,0,1,15.2,0l9.73,8Z"></path>'),t2=c('<path d="M216,120v96l-29.33-24-29.34,24L128,192,98.67,216,69.33,192,40,216V120a88,88,0,0,1,176,0Z" opacity="0.2"></path><path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>',1),r2=c('<path d="M128,24a96.11,96.11,0,0,0-96,96v96a8,8,0,0,0,13.07,6.19l24.26-19.85L93.6,222.19a8,8,0,0,0,10.13,0L128,202.34l24.27,19.85a8,8,0,0,0,10.13,0l24.27-19.85,24.26,19.85A8,8,0,0,0,224,216V120A96.11,96.11,0,0,0,128,24ZM100,128a12,12,0,1,1,12-12A12,12,0,0,1,100,128Zm56,0a12,12,0,1,1,12-12A12,12,0,0,1,156,128Z"></path>'),l2=c('<path d="M110,116a10,10,0,1,1-10-10A10,10,0,0,1,110,116Zm46-10a10,10,0,1,0,10,10A10,10,0,0,0,156,106Zm66,14v96a6,6,0,0,1-9.8,4.64l-25.53-20.89-25.54,20.89a6,6,0,0,1-7.6,0L128,199.75l-25.53,20.89a6,6,0,0,1-7.6,0L69.33,199.75,43.8,220.64A6,6,0,0,1,34,216V120a94,94,0,0,1,188,0Zm-12,0a82,82,0,0,0-164,0v83.34l19.53-16a6,6,0,0,1,7.6,0l25.54,20.89,25.53-20.89a6,6,0,0,1,7.6,0l25.53,20.89,25.54-20.89a6,6,0,0,1,7.6,0l19.53,16Z"></path>'),o2=c('<path d="M112,116a12,12,0,1,1-12-12A12,12,0,0,1,112,116Zm44-12a12,12,0,1,0,12,12A12,12,0,0,0,156,104Zm68,16v96a8,8,0,0,1-13.07,6.19l-24.26-19.85L162.4,222.19a8,8,0,0,1-10.13,0L128,202.34l-24.27,19.85a8,8,0,0,1-10.13,0L69.33,202.34,45.07,222.19A8,8,0,0,1,32,216V120a96,96,0,0,1,192,0Zm-16,0a80,80,0,0,0-160,0v79.12l16.27-13.31a8,8,0,0,1,10.13,0l24.27,19.85,24.26-19.85a8,8,0,0,1,10.14,0l24.26,19.85,24.27-19.85a8,8,0,0,1,10.13,0L208,199.12Z"></path>'),n2=c('<path d="M108,116a8,8,0,1,1-8-8A8,8,0,0,1,108,116Zm48-8a8,8,0,1,0,8,8A8,8,0,0,0,156,108Zm64,12v96a4,4,0,0,1-6.53,3.1l-26.8-21.93-26.8,21.93a4,4,0,0,1-5.07,0L128,197.17,101.2,219.1a4,4,0,0,1-5.07,0l-26.8-21.93L42.53,219.1A4,4,0,0,1,36,216V120a92,92,0,0,1,184,0Zm-8,0a84,84,0,0,0-168,0v87.56L66.8,188.9a4,4,0,0,1,5.07,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.06,0l26.8,21.93,26.8-21.93a4,4,0,0,1,5.07,0L212,207.56Z"></path>'),i2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Y1(d,l){if(new.target)return U({component:Y1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,e2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=i2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=a2();o(e,a)},S=e=>{var a=t2();Y(),o(e,a)},D=e=>{var a=r2();o(e,a)},g=e=>{var a=l2();o(e,a)},p=e=>{var a=o2();o(e,a)},M=e=>{var a=n2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var s2=new Set(["$$slots","$$events","$$legacy","children"]),c2=c('<path d="M176,116H152a12,12,0,0,1,0-24h24a12,12,0,0,1,0,24ZM104,92h-4V88a12,12,0,0,0-24,0v4H72a12,12,0,0,0,0,24h4v4a12,12,0,0,0,24,0v-4h4a12,12,0,0,0,0-24ZM244.76,202.94a40,40,0,0,1-61,5.35,7,7,0,0,1-.53-.56L144.67,164H111.33L72.81,207.73c-.17.19-.35.38-.53.56A40,40,0,0,1,4.62,173.05a1.18,1.18,0,0,1,0-.2L21,88.79A63.88,63.88,0,0,1,83.88,36H172a64.08,64.08,0,0,1,62.93,52.48,1.8,1.8,0,0,1,0,.19l16.36,84.17a1.77,1.77,0,0,1,0,.2A39.74,39.74,0,0,1,244.76,202.94ZM172,140a40,40,0,0,0,0-80H83.89A39.9,39.9,0,0,0,44.62,93.06a1.55,1.55,0,0,0,0,.21l-16.34,84a16,16,0,0,0,13,18.44,16.07,16.07,0,0,0,13.86-4.21L96.9,144.07a12,12,0,0,1,9-4.07Zm55.76,37.31-7-35.95a63.84,63.84,0,0,1-44.27,22.46l24.41,27.72a16,16,0,0,0,26.85-14.23Z"></path>'),v2=c('<path d="M216.86,207.57a28,28,0,0,1-24.66-7.77L150.09,152H172a51.94,51.94,0,0,0,51.2-61h0l16.36,84.17A28,28,0,0,1,216.86,207.57Z" opacity="0.2"></path><path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>',1),d2=c('<path d="M247.44,173.75a.68.68,0,0,0,0-.14L231.05,89.44c0-.06,0-.12,0-.18A60.08,60.08,0,0,0,172,40H83.89a59.88,59.88,0,0,0-59,49.52L8.58,173.61a.68.68,0,0,0,0,.14,36,36,0,0,0,60.9,31.71l.35-.37L109.52,160h37l39.71,45.09c.11.13.23.25.35.37A36.08,36.08,0,0,0,212,216a36,36,0,0,0,35.43-42.25ZM104,112H96v8a8,8,0,0,1-16,0v-8H72a8,8,0,0,1,0-16h8V88a8,8,0,0,1,16,0v8h8a8,8,0,0,1,0,16Zm40-8a8,8,0,0,1,8-8h24a8,8,0,0,1,0,16H152A8,8,0,0,1,144,104Zm84.37,87.47a19.84,19.84,0,0,1-12.9,8.23A20.09,20.09,0,0,1,198,194.31L167.8,160H172a60,60,0,0,0,51-28.38l8.74,45A19.82,19.82,0,0,1,228.37,191.47Z"></path>'),h2=c('<path d="M176,110H152a6,6,0,0,1,0-12h24a6,6,0,0,1,0,12ZM104,98H94V88a6,6,0,0,0-12,0V98H72a6,6,0,0,0,0,12H82v10a6,6,0,0,0,12,0V110h10a6,6,0,0,0,0-12ZM239.84,199.5A34,34,0,0,1,212,214,34.11,34.11,0,0,1,188,204.05l-.26-.28L147.38,158H108.62L68.31,203.76,68,204A34,34,0,0,1,44,214a34,34,0,0,1-33.46-39.91s0-.06,0-.1L26.9,89.88A57.89,57.89,0,0,1,83.89,42H172a58.07,58.07,0,0,1,57.05,47.63c0,.07,0,.12,0,.19L245.46,174s0,.07,0,.11A33.75,33.75,0,0,1,239.84,199.5ZM172,146a46,46,0,0,0,0-92H83.89A45.9,45.9,0,0,0,38.71,92a.36.36,0,0,0,0,.1L22.33,176.23a22,22,0,0,0,37.11,19.45l42-47.65a6,6,0,0,1,4.5-2Zm61.67,30.23-9.79-50.35A58.06,58.06,0,0,1,172,158h-8.63l33.19,37.68a22,22,0,0,0,37.11-19.45Z"></path>'),u2=c('<path d="M176,112H152a8,8,0,0,1,0-16h24a8,8,0,0,1,0,16ZM104,96H96V88a8,8,0,0,0-16,0v8H72a8,8,0,0,0,0,16h8v8a8,8,0,0,0,16,0v-8h8a8,8,0,0,0,0-16ZM241.48,200.65a36,36,0,0,1-54.94,4.81c-.12-.12-.24-.24-.35-.37L146.48,160h-37L69.81,205.09l-.35.37A36.08,36.08,0,0,1,44,216,36,36,0,0,1,8.56,173.75a.68.68,0,0,1,0-.14L24.93,89.52A59.88,59.88,0,0,1,83.89,40H172a60.08,60.08,0,0,1,59,49.25c0,.06,0,.12,0,.18l16.37,84.17a.68.68,0,0,1,0,.14A35.74,35.74,0,0,1,241.48,200.65ZM172,144a44,44,0,0,0,0-88H83.89A43.9,43.9,0,0,0,40.68,92.37l0,.13L24.3,176.59A20,20,0,0,0,58,194.3l41.92-47.59a8,8,0,0,1,6-2.71Zm59.7,32.59-8.74-45A60,60,0,0,1,172,160h-4.2L198,194.31a20.09,20.09,0,0,0,17.46,5.39,20,20,0,0,0,16.23-23.11Z"></path>'),g2=c('<path d="M176,108H152a4,4,0,0,1,0-8h24a4,4,0,0,1,0,8Zm-72-8H92V88a4,4,0,0,0-8,0v12H72a4,4,0,0,0,0,8H84v12a4,4,0,0,0,8,0V108h12a4,4,0,0,0,0-8Zm134.21,98.36a32,32,0,0,1-48.84,4.27l-.17-.18L148.29,156H107.72L66.81,202.44l-.18.19A32.08,32.08,0,0,1,44,212a32,32,0,0,1-31.5-37.56L28.87,90.21A55.87,55.87,0,0,1,83.89,44H172a56.07,56.07,0,0,1,55.1,46.1.29.29,0,0,1,0,.1l16.37,84.16A31.86,31.86,0,0,1,238.21,198.36ZM172,148a48,48,0,1,0,0-96H83.9A47.9,47.9,0,0,0,36.74,91.67L20.36,175.9a24,24,0,0,0,19.48,27.73,24,24,0,0,0,21-6.58l42-47.69a4,4,0,0,1,3-1.36Zm63.63,27.83-11-56.66A56.09,56.09,0,0,1,172,156H159l36.16,41.06a24,24,0,0,0,40.52-21.23Z"></path>'),m2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function F1(d,l){if(new.target)return U({component:F1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,s2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=m2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=c2();o(e,a)},S=e=>{var a=v2();Y(),o(e,a)},D=e=>{var a=d2();o(e,a)},g=e=>{var a=h2();o(e,a)},p=e=>{var a=u2();o(e,a)},M=e=>{var a=g2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var f2=new Set(["$$slots","$$events","$$legacy","children"]),_2=c('<path d="M248.59,58.67c-6.31-10.87-23-21.06-66.16-9.71A95.94,95.94,0,0,0,32,128q0,3.6.26,7.14C.56,166.86,1.1,186.4,7.44,197.33,13.4,207.61,25.3,212,40.68,212c9.79,0,21-1.78,32.95-4.91A95.94,95.94,0,0,0,224,128c0-2.41-.09-4.79-.27-7.16,14.31-14.38,23.86-28.21,27-40C253.55,70.42,251.12,63,248.59,58.67ZM128,56a72.11,72.11,0,0,1,70.19,56C184,124.73,165,138.59,141.92,151.86c-21.74,12.49-43.55,22.36-63.09,28.65A72,72,0,0,1,128,56ZM28.19,185.29c-.61-1.07-.17-8.22,10.67-21.71A95.77,95.77,0,0,0,52.35,187C35.12,189.61,28.85,186.41,28.19,185.29ZM128,200a71.66,71.66,0,0,1-22.56-3.64,394.1,394.1,0,0,0,48.42-23.69A388.11,388.11,0,0,0,198.43,143,72.12,72.12,0,0,1,128,200ZM227.57,74.65c-1.28,4.78-4.81,10.87-10.39,17.8A95.74,95.74,0,0,0,203.68,69c15.83-2.37,23.17,0,24.15,1.71C228,71,228.21,72.28,227.57,74.65Z"></path>'),A2=c('<path d="M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z" opacity="0.2"></path><path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>',1),Z2=c('<path d="M245.11,60.68c-7.65-13.19-27.85-16.16-58.5-8.66A96,96,0,0,0,32.81,140.3C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4,96,96,0,0,0,153.78-88.25c12.51-13,20.83-25.35,23.66-35.92C248.83,72.51,248.24,66.07,245.11,60.68Zm-13.69,15c-6.11,22.78-48.65,57.31-87.52,79.64-67.81,39-113.62,41.52-119.16,32-1.46-2.51-.65-7.24,2.22-13a80.06,80.06,0,0,1,10.28-15.05,95.53,95.53,0,0,0,6.23,14.18,4,4,0,0,0,4,2.12,122.14,122.14,0,0,0,16.95-3.32c21.23-5.55,46.63-16.48,71.52-30.78s47-30.66,62.45-46.15A122.74,122.74,0,0,0,209.7,82.45a4,4,0,0,0,.17-4.52,96.26,96.26,0,0,0-9.1-12.46c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),p2=c('<path d="M243.39,61.68c-7.24-12.48-27-15-57.24-7.49A93.92,93.92,0,0,0,34.05,128a94.5,94.5,0,0,0,.9,13c-21.86,22.38-29.56,40.78-22.29,53.32,4.5,7.76,14,11.69,27.86,11.69a116.38,116.38,0,0,0,25-3.16c1.45-.32,2.92-.68,4.41-1a93.95,93.95,0,0,0,151.19-86.89c12.65-13,21.11-25.32,23.86-35.6C246.76,72.53,246.24,66.59,243.39,61.68ZM128,46a82.12,82.12,0,0,1,80.19,64.94c-16,15.3-38.14,31.67-63.3,46.12C117.49,172.82,92.79,183,72.85,188.6A82,82,0,0,1,128,46ZM23,188.3c-3.52-6.07,2.31-18.56,15-33a94,94,0,0,0,21.07,36.62C39.42,195.74,26.39,194.08,23,188.3ZM128,210a81.41,81.41,0,0,1-43.35-12.45c20.68-6.71,43.56-17.06,66.22-30.08,22.83-13.12,43.13-27.67,59.05-41.91,0,.81.06,1.62.06,2.44A82.08,82.08,0,0,1,128,210ZM233.35,76.21c-1.88,7-7.28,15.49-15.36,24.61a93.92,93.92,0,0,0-21.1-36.7c15.82-3.05,32-3.49,36.12,3.58C234.2,69.75,234.31,72.62,233.35,76.21Z"></path>'),w2=c('<path d="M245.11,60.68c-7.65-13.19-27.84-16.16-58.5-8.66A95.93,95.93,0,0,0,32,128a98,98,0,0,0,.78,12.31C5.09,169,5.49,186,10.9,195.32,16,204.16,26.64,208,40.64,208a124.11,124.11,0,0,0,28.79-4A95.93,95.93,0,0,0,224,128a97.08,97.08,0,0,0-.77-12.25c12.5-13,20.82-25.35,23.65-35.92C248.83,72.51,248.24,66.07,245.11,60.68ZM128,48a80.11,80.11,0,0,1,78,62.2c-17.06,16.06-40.15,32.53-62.07,45.13C116.38,171.14,92.48,181,73.42,186.4A79.94,79.94,0,0,1,128,48ZM24.74,187.29c-1.46-2.51-.65-7.24,2.22-13a79.05,79.05,0,0,1,10.29-15.05,96,96,0,0,0,18,31.32C38,193.46,27.24,191.61,24.74,187.29ZM128,208a79.45,79.45,0,0,1-38.56-9.94,370,370,0,0,0,62.43-28.86c21.58-12.39,40.68-25.82,56.07-39.08A80.07,80.07,0,0,1,128,208ZM231.42,75.69c-1.7,6.31-6.19,13.53-12.63,21.13a95.69,95.69,0,0,0-18-31.35c14.21-2.35,27.37-2.17,30.5,3.24C232.19,70.28,232.24,72.63,231.42,75.69Z"></path>'),b2=c('<path d="M241.66,62.68c-6.73-11.58-26.58-13.8-56-6.3A92,92,0,0,0,37,141.7c-21.38,21.69-29.44,40-22.68,51.62,4.13,7.11,13,10.71,26,10.71A115.25,115.25,0,0,0,65,200.9c1.74-.39,3.52-.82,5.32-1.28A92,92,0,0,0,220,128a92.84,92.84,0,0,0-1-13.73c12.77-13,21.31-25.28,24-35.47C244.69,72.54,244.23,67.12,241.66,62.68ZM128,44a84.13,84.13,0,0,1,82.38,67.56c-16.17,15.69-38.8,32.48-64.49,47.24-27.31,15.69-52.81,26.25-73.61,32A84,84,0,0,1,128,44ZM21.25,189.3C17,182,23.75,167.7,39,151.24A92,92,0,0,0,63,193.09C40.86,198,25.47,196.58,21.25,189.3ZM128,212a83.58,83.58,0,0,1-48-15.1c21.58-6.58,45.83-17.37,69.85-31.16,24.25-13.94,45.61-29.46,61.83-44.44.18,2.21.3,4.44.3,6.7A84.1,84.1,0,0,1,128,212ZM235.28,76.73c-2.13,8-8.58,17.65-18.25,28.06a92.07,92.07,0,0,0-24.12-41.92c21.85-4.82,37.59-3.46,41.83,3.83C236.2,69.23,236.39,72.6,235.28,76.73Z"></path>'),V2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function J1(d,l){if(new.target)return U({component:J1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,f2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=V2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=_2();o(e,a)},S=e=>{var a=A2();Y(),o(e,a)},D=e=>{var a=Z2();o(e,a)},g=e=>{var a=p2();o(e,a)},p=e=>{var a=w2();o(e,a)},M=e=>{var a=b2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var L2=new Set(["$$slots","$$events","$$legacy","children"]),M2=c('<path d="M200,144H129l21.24-21.25a60.11,60.11,0,0,0,24,5.22,51.69,51.69,0,0,0,27-7.54c24-14.57,37-47.79,34.54-88.87a12,12,0,0,0-11.27-11.27c-41.09-2.41-74.31,10.49-88.87,34.54-9.24,15.24-10,33.4-2.33,51L120,119l-11.14-11.13c4.94-12.89,4-26.12-2.76-37.36C95,52.25,70.12,42.4,39.49,44.21A12,12,0,0,0,28.21,55.48c-1.8,30.64,8,55.54,26.32,66.61a40.27,40.27,0,0,0,21,5.9,45.58,45.58,0,0,0,16.31-3.13L103,136l-8,8H56a12,12,0,0,0,0,24h7.27l11.63,52.34A19.89,19.89,0,0,0,94.42,236h67.17a19.88,19.88,0,0,0,19.52-15.66L192.74,168H200a12,12,0,0,0,0-24ZM156.1,67.26C164.8,52.89,185.29,44.5,212,44c-.48,26.69-8.87,47.18-23.25,55.89-9.43,5.71-20.45,5.48-32-.62C150.61,87.71,150.39,76.69,156.1,67.26ZM85.51,101.5c-5.23,2.53-12,4-18.54.07-8.47-5.13-13.81-17.48-14.8-33.4,15.93,1,28.27,6.32,33.4,14.79C89.51,89.48,88,96.27,85.51,101.5ZM158.38,212H97.62l-9.77-44h80.31Z"></path>'),C2=c('<path d="M184,152l-14.61,65.74a8,8,0,0,1-7.81,6.26H94.42a8,8,0,0,1-7.81-6.26L72,152Z" opacity="0.2"></path><path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.6,46.4,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.23-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.92-18.31,5.15-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>',1),H2=c('<path d="M200,144h-76.7l22.41-22.41a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.43-74.56,10.28-88.93,34-9.35,15.45-9.59,34.11-.86,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.69,136l-8,8H56a8,8,0,0,0,0,16h9.59L78.8,219.47A15.89,15.89,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16Z"></path>'),x2=c('<path d="M124.24,140.24h0l21.09-21.09a58,58,0,0,0,26.49,6.79A47.55,47.55,0,0,0,196.67,119c23.07-14,35.42-46.53,33-87.09a6,6,0,0,0-5.64-5.64c-40.56-2.38-73.12,10-87.09,33-9.22,15.22-9.2,33.71-.14,51.35L120,127.51l-14.64-14.63c6.32-13,6.15-26.6-.67-37.86C94.21,57.72,70,48.44,39.85,50.21a6,6,0,0,0-5.64,5.64C32.44,86,41.72,110.2,59,120.69A36.23,36.23,0,0,0,78,126a43.4,43.4,0,0,0,18.93-4.6L111.51,136l-10,10H56a6,6,0,0,0,0,12H67.18l13.57,61a13.91,13.91,0,0,0,13.67,11h67.17a13.91,13.91,0,0,0,13.66-11l13.57-61H200a6,6,0,0,0,0-12H118.48l5.76-5.76Zm23-74.7c11-18.22,37.24-28.33,70.72-27.5.83,33.47-9.28,59.68-27.5,70.72-12.3,7.44-27.09,6.92-41.79-1.43C140.31,92.63,139.79,77.84,147.24,65.54Zm-53.66,44c-10,5.56-20,5.87-28.34.84C52.78,102.87,45.75,85,46,62c23-.29,40.88,6.78,48.42,19.24C99.45,89.54,99.14,99.56,93.58,109.58ZM176.52,158l-13,58.43a2,2,0,0,1-1.95,1.57H94.42a2,2,0,0,1-2-1.57L79.48,158Z"></path>'),I2=c('<path d="M200,144h-76.7l2.35-2.35h0l20.06-20.06a59.55,59.55,0,0,0,26.1,6.36,49.56,49.56,0,0,0,25.89-7.22c23.72-14.36,36.43-47.6,34-88.92a8,8,0,0,0-7.52-7.52c-41.32-2.42-74.56,10.28-88.92,34-9.36,15.45-9.6,34.11-.87,52L120,124.68l-12.21-12.21c6-13.25,5.57-27-1.39-38.48C95.53,56,70.61,46.41,39.73,48.22a8,8,0,0,0-7.51,7.51C30.4,86.6,40,111.52,58,122.4A38.22,38.22,0,0,0,78,128a45,45,0,0,0,18.52-4.19L108.68,136l-8,8H56a8,8,0,0,0,0,16h9.59l13.21,59.47A15.91,15.91,0,0,0,94.42,232h67.17a15.91,15.91,0,0,0,15.62-12.53L190.42,160H200a8,8,0,0,0,0-16ZM149,66.58c10.46-17.26,35.24-27,67-26.57.41,31.81-9.31,56.58-26.57,67-11.51,7-25.4,6.54-39.28-1.18C142.42,92,142,78.09,149,66.58ZM92.11,108.11c-9.2,4.93-18.31,5.16-25.83.6C54.78,101.74,48.15,85.31,48,64c21.31.15,37.75,6.78,44.71,18.28C97.27,89.8,97,98.91,92.11,108.11ZM161.59,216H94.42L82,160H174Z"></path>'),k2=c('<path d="M122.83,138.83h0L145,116.7c9,4.89,18.06,7.35,26.81,7.35a45.57,45.57,0,0,0,23.87-6.74c22.42-13.58,34.41-45.45,32.07-85.26A4,4,0,0,0,224,28.29c-39.81-2.35-71.68,9.65-85.26,32.07-9.21,15.2-9,33.09.61,50.68L120,130.34l-17.06-17.06c6.66-12.78,6.71-26.2,0-37.22C92.89,59.4,69.33,50.49,40,52.21A4,4,0,0,0,36.21,56c-1.73,29.36,7.19,52.92,23.85,63A34.29,34.29,0,0,0,78,124a42,42,0,0,0,19.34-5l17,17.06-12,12H56a4,4,0,0,0,0,8H68.79L82.7,218.6A11.93,11.93,0,0,0,94.42,228h67.17a11.93,11.93,0,0,0,11.71-9.4L187.21,156H200a4,4,0,0,0,0-8H113.66l9.17-9.17Zm22.7-74.32C157.15,45.31,184.8,34.8,219.9,36.1c1.29,35.1-9.21,62.74-28.41,74.37-13.08,7.92-28.77,7.32-44.29-1.68C138.21,93.28,137.61,77.59,145.53,64.51ZM95.05,111.05c-10.84,6.19-21.76,6.59-30.84,1.08C50.78,104,43.35,84.68,44,60c24.64-.69,44,6.74,52.1,20.17C101.64,89.29,101.24,100.21,95.05,111.05Zm84,45-13.53,60.87a4,4,0,0,1-3.9,3.13H94.42a4,4,0,0,1-3.91-3.13L77,156Z"></path>'),y2=c('<svg><!><rect width="256" height="256" fill="none"></rect><!></svg>');function Q1(d,l){if(new.target)return U({component:Q1,...d});j(l,!0);const r=g1();let n=b(l,"children",7),f=t1(l,L2),i=v(()=>l.weight??r.weight??"regular"),_=v(()=>l.color??r.color??"currentColor"),u=v(()=>l.size??r.size??"1em"),Z=v(()=>l.mirrored??r.mirrored??!1);function h(e){let{weight:a,color:w,size:l1,mirrored:G,...I}=e;return I}var A={get children(){return n()},set children(e){n(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},s=y2();r1(s,(e,a)=>({xmlns:"http://www.w3.org/2000/svg",role:"img",width:t(u),height:t(u),fill:t(_),transform:t(Z)?"scale(-1, 1)":void 0,viewBox:"0 0 256 256",...e,...a}),[()=>h(r),()=>h(f)]);var m=K(s);{var L=e=>{var a=E(),w=y(a);m1(w,n),o(e,a)};z(m,e=>{n()&&e(L)})}var x=P(m,2);{var C=e=>{var a=M2();o(e,a)},S=e=>{var a=C2();Y(),o(e,a)},D=e=>{var a=H2();o(e,a)},g=e=>{var a=x2();o(e,a)},p=e=>{var a=I2();o(e,a)},M=e=>{var a=k2();o(e,a)},H=e=>{var a=F();a.nodeValue=(console.error('Unsupported icon weight. Choose from "thin", "light", "regular", "bold", "fill", or "duotone".'),""),o(e,a)};z(x,e=>{t(i)==="bold"?e(C):t(i)==="duotone"?e(S,1):t(i)==="fill"?e(D,2):t(i)==="light"?e(g,3):t(i)==="regular"?e(p,4):t(i)==="thin"?e(M,5):e(H,-1)})}return N(s),o(d,s),q(A)}var z2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),S2=c('<svg><rect x="32" y="72" width="192" height="112" rx="24"></rect><path d="M48 152h160"></path><circle cx="192" cy="168" r="4" stroke="none"></circle></svg>');function X1(d,l){if(new.target)return U({component:X1,...d});j(l,!0);let r=b(l,"size",7,"1em"),n=b(l,"color",7,"currentColor"),f=b(l,"class",7,""),i=t1(l,z2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:R,$on:(h,A)=>O(l,h,A)},u=S2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=P(K(u),2);return N(u),J(()=>B1(Z,"fill",n())),o(d,u),q(_)}var D2=new Set(["$$slots","$$events","$$legacy","size","color","class"]),P2=c('<svg><rect x="48" y="40" width="160" height="176" rx="24"></rect><path d="M48 152h160M72 176h112"></path><circle cx="176" cy="192" r="4" stroke="none"></circle></svg>');function $1(d,l){if(new.target)return U({component:$1,...d});j(l,!0);let r=b(l,"size",7,"1em"),n=b(l,"color",7,"currentColor"),f=b(l,"class",7,""),i=t1(l,D2);var _={get size(){return r()},set size(h="1em"){r(h),V()},get color(){return n()},set color(h="currentColor"){n(h),V()},get class(){return f()},set class(h=""){f(h),V()},$set:R,$on:(h,A)=>O(l,h,A)},u=P2();r1(u,()=>({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 256 256",width:r(),height:r(),fill:"none",stroke:n(),"stroke-width":"16","stroke-linecap":"round","stroke-linejoin":"round","data-owns-stroke":"",class:f(),...i}));var Z=P(K(u),2);return N(u),J(()=>B1(Z,"fill",n())),o(d,u),q(_)}const U1={devices:h0,wildCards:u0},C1={macMini:{icon:X1,group:"devices",get label(){return k.deviceIcons_kind_macMini_label()}},macStudio:{icon:$1,group:"devices",get label(){return k.deviceIcons_kind_macStudio_label()}},laptop:{icon:Z0,group:"devices",get label(){return k.deviceIcons_kind_laptop_label()}},desktop:{icon:A0,group:"devices",get label(){return k.deviceIcons_kind_desktop_label()}},server:{icon:_0,group:"devices",get label(){return k.deviceIcons_kind_server_label()}},cloudVm:{icon:f0,group:"devices",get label(){return k.deviceIcons_kind_cloudVm_label()}},robot:{icon:m0,group:"wildCards",get label(){return k.deviceIcons_kind_robot_label()}},rocket:{icon:g0,group:"wildCards",get label(){return k.deviceIcons_kind_rocket_label()}},flyingSaucer:{icon:j1,group:"wildCards",get label(){return k.deviceIcons_kind_flyingSaucer_label()}},ghost:{icon:Y1,group:"wildCards",get label(){return k.deviceIcons_kind_ghost_label()}},cat:{icon:q1,group:"wildCards",get label(){return k.deviceIcons_kind_cat_label()}},dog:{icon:W1,group:"wildCards",get label(){return k.deviceIcons_kind_dog_label()}},gameController:{icon:F1,group:"wildCards",get label(){return k.deviceIcons_kind_gameController_label()}},coffee:{icon:G1,group:"wildCards",get label(){return k.deviceIcons_kind_coffee_label()}},planet:{icon:J1,group:"wildCards",get label(){return k.deviceIcons_kind_planet_label()}},pottedPlant:{icon:Q1,group:"wildCards",get label(){return k.deviceIcons_kind_pottedPlant_label()}}};function B2(d){return d?.toLowerCase()==="linux"?"server":"desktop"}function e0(d){return v0(d.deviceIcon)?d.deviceIcon:d0(d.detectedDeviceKind)?d.detectedDeviceKind:B2(d.os)}function E2(d){const l=e0({...d,deviceIcon:"auto"});return[{value:"auto",kind:l,group:"automatic",label:k.deviceIcons_picker_automatic_label({kind:C1[l].label})},...U1.devices.map(r=>({value:r,kind:r,group:"devices",label:C1[r].label})),...U1.wildCards.map(r=>({value:r,kind:r,group:"wildCards",label:C1[r].label}))]}function E1(d,l){if(new.target)return U({component:E1,...d});j(l,!0);let r=b(l,"record",7),n=b(l,"size",7,16),f=b(l,"class",7,""),i=b(l,"label",7);const _=v(()=>e0(r())),u=v(()=>C1[t(_)].icon);var Z={get record(){return r()},set record(s){r(s),V()},get size(){return n()},set size(s=16){n(s),V()},get class(){return f()},set class(s=""){f(s),V()},get label(){return i()},set label(s){i(s),V()},$set:R,$on:(s,m)=>O(l,s,m)},h=E(),A=y(h);{let s=v(()=>D1("shrink-0",f())),m=v(()=>i()===void 0?void 0:"img"),L=v(()=>i()===void 0?"true":void 0);B(A,()=>t(u),(x,C)=>{C(x,{get size(){return n()},get class(){return t(s)},get role(){return t(m)},get"aria-label"(){return i()},get"aria-hidden"(){return t(L)}})})}return o(d,h),q(Z)}const y1=(d,l=o0)=>{var r=T2(),n=K(r);{let _=v(()=>({deviceIcon:l().kind}));E1(n,{get record(){return t(_)}})}var f=P(n,2),i=P1(f,!0);N(r),J(()=>u1(i,l().label)),o(d,r)};var T2=d1('<span class="flex min-w-0 items-center gap-2"><!> <span class="truncate"> </span></span>'),z1=d1("<!> <!>",1),K2=d1("<!> <!> <!> <!>",1),N2=d1('<div data-testid="device-icon-picker"><!></div>');function U2(d,l){if(new.target)return U({component:U2,...d});j(l,!0);let r=b(l,"record",7),n=b(l,"value",15),f=b(l,"disabled",7,!1),i=b(l,"portal",7,!1),_=b(l,"class",7,""),u=b(l,"contentClass",7,""),Z=b(l,"onchange",7);const h=v(()=>E2(r())),A=v(()=>n()??r().deviceIcon??"auto"),s=v(()=>t(h).map(({value:e,label:a})=>({value:e,label:a}))),m=v(()=>t(h).find(e=>e.value===t(A))),L=v(()=>t(h).find(e=>e.value==="auto")),x=v(()=>({...r(),deviceIcon:t(A)})),C=v(()=>k.deviceIcons_picker_trigger_ariaLabel({selection:t(m)?.label??t(A)})),S=v(()=>t(h).filter(e=>e.group==="devices")),D=v(()=>t(h).filter(e=>e.group==="wildCards"));function g(e){const a=t(h).find(w=>w.value===e);a&&(n(a.value),Z()?.(a.value))}var p={get record(){return r()},set record(e){r(e),V()},get value(){return n()},set value(e){n(e),V()},get disabled(){return f()},set disabled(e=!1){f(e),V()},get portal(){return i()},set portal(e=!1){i(e),V()},get class(){return _()},set class(e=""){_(e),V()},get contentClass(){return u()},set contentClass(e=""){u(e),V()},get onchange(){return Z()},set onchange(e){Z(e),V()},$set:R,$on:(e,a)=>O(l,e,a)},M=N2(),H=K(M);return B(H,()=>X.Root,(e,a)=>{a(e,{get value(){return t(A)},get items(){return t(s)},get disabled(){return f()},onchange:g,children:(w,l1)=>{var G=z1(),I=y(G);{const f1=(o1,n1)=>{O1(o1,t0(()=>(n1?.()).props,{variant:"outline",size:"icon",iconOnly:!0,class:"size-(--control-height-medium) shrink-0 justify-center p-0",get"aria-label"(){return t(C)},get tooltip(){return t(C)},children:(h1,_1)=>{E1(h1,{get record(){return t(x)}})},$$slots:{default:!0}}))};B(I,()=>X.Trigger,(o1,n1)=>{n1(o1,{get"aria-label"(){return t(C)},"data-testid":"device-icon-picker-trigger",child:f1,$$slots:{child:!0}})})}var H1=P(I,2);{let f1=v(()=>D1("w-56",u()));B(H1,()=>X.Content,(o1,n1)=>{n1(o1,{get portal(){return i()},get class(){return t(f1)},children:(L1,h1)=>{var _1=K2(),$=y(_1);{var Z1=W=>{var e1=E(),a1=y(e1);B(a1,()=>X.Item,(w1,i1)=>{i1(w1,{value:"auto",get label(){return t(L).label},children:(s1,b1)=>{y1(s1,()=>t(L))},$$slots:{default:!0}})}),o(W,e1)};z($,W=>{t(L)&&W(Z1)})}var p1=P($,2);{var x1=W=>{var e1=E(),a1=y(e1);B(a1,()=>X.Item,(w1,i1)=>{i1(w1,{get value(){return t(A)},disabled:!0,children:(s1,b1)=>{Y();var T=F();J(()=>u1(T,t(A))),o(s1,T)},$$slots:{default:!0}})}),o(W,e1)};z(p1,W=>{t(m)||W(x1)})}var M1=P(p1,2);B(M1,()=>T1,(W,e1)=>{e1(W,{children:(a1,w1)=>{var i1=z1(),s1=y(i1);B(s1,()=>K1,(T,Q)=>{Q(T,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{Y();var v1=F();J(A1=>u1(v1,A1),[()=>k.deviceIcons_group_devices_label()]),o(c1,v1)},$$slots:{default:!0}})});var b1=P(s1,2);S1(b1,17,()=>t(S),T=>T.value,(T,Q)=>{var c1=E(),V1=y(c1);B(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(T,c1)}),o(a1,i1)},$$slots:{default:!0}})});var I1=P(M1,2);B(I1,()=>T1,(W,e1)=>{e1(W,{children:(a1,w1)=>{var i1=z1(),s1=y(i1);B(s1,()=>K1,(T,Q)=>{Q(T,{class:"px-2 pb-1 pt-2 type-caption text-muted-foreground",children:(c1,V1)=>{Y();var v1=F();J(A1=>u1(v1,A1),[()=>k.deviceIcons_group_wildCards_label()]),o(c1,v1)},$$slots:{default:!0}})});var b1=P(s1,2);S1(b1,17,()=>t(D),T=>T.value,(T,Q)=>{var c1=E(),V1=y(c1);B(V1,()=>X.Item,(v1,A1)=>{A1(v1,{get value(){return t(Q).value},get label(){return t(Q).label},children:(k1,a0)=>{y1(k1,()=>t(Q))},$$slots:{default:!0}})}),o(T,c1)}),o(a1,i1)},$$slots:{default:!0}})}),o(L1,_1)},$$slots:{default:!0}})})}o(w,G)},$$slots:{default:!0}})}),N(M),J(e=>R1(M,1,e),[()=>c0(D1("w-fit shrink-0",_()))]),o(d,M),q(p)}var R2=d1('<p role="note" class="type-caption text-muted-foreground"> </p>');function O2(d,l){if(new.target)return U({component:O2,...d});j(l,!0);const r=()=>r0(_,"$unavailable$",n),[n,f]=l0();let i=b(l,"relevant",7,!0);const _=p0();var u={get relevant(){return i()},set relevant(m=!0){i(m),V()},$set:R,$on:(m,L)=>O(l,m,L)},Z=E(),h=y(Z);{var A=m=>{var L=R2(),x=P1(L,!0);J(C=>u1(x,C),[()=>k.settings_devices_tailcatUnavailable_note()]),o(m,L)};z(h,m=>{i()&&r()&&m(A)})}o(d,Z);var s=q(u);return f(),s}var j2=d1('<span class="truncate"> </span>'),q2=d1("<!> <!>",1),G2=d1('<div class="w-56 max-w-full"><!></div>'),W2=d1("<div><!></div>");function Y2(d,l){if(new.target)return U({component:Y2,...d});j(l,!0);let r=b(l,"entry",7),n=b(l,"context",7),f=b(l,"compact",7,!0),i=s0(void 0);n0(()=>{if(r().store)return r().store.subscribe(g=>i0(i,g,!0))});const _=v(()=>r().store?t(i):r().get?.()),u=v(()=>[n().descriptionId,n().errorId].filter(Boolean).join(" ")||void 0);function Z(g){r().store?r().store.set(g):r().set?.(g)}var h={get entry(){return r()},set entry(g){r(g),V()},get context(){return n()},set context(g){n(g),V()},get compact(){return f()},set compact(g=!0){f(g),V()},$set:R,$on:(g,p)=>O(l,g,p)},A=W2();let s;var m=K(A);{var L=g=>{var p=()=>!!t(_),M=Z;w0(g,{get id(){return n().controlId},get size(){return r().size},get checked(){return p()},set checked(H){M(H)},get disabled(){return n().disabled},get ariaLabelledby(){return n().labelId},get ariaDescribedby(){return t(u)}})},x=g=>{var p=G2(),M=K(p);{let H=v(()=>String(t(_)??""));B(M,()=>X.Root,(e,a)=>{a(e,{get value(){return t(H)},onchange:Z,get disabled(){return n().disabled},children:(w,l1)=>{var G=q2(),I=y(G);B(I,()=>X.Trigger,(f1,o1)=>{o1(f1,{get id(){return n().controlId},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},children:(n1,L1)=>{var h1=j2(),_1=P1(h1,!0);J($=>u1(_1,$),[()=>r().options.find($=>$.value===t(_))?.label??r().placeholder??String(t(_)??"")]),o(n1,h1)},$$slots:{default:!0}})});var H1=P(I,2);B(H1,()=>X.Content,(f1,o1)=>{o1(f1,{portal:!0,class:"w-56 max-w-full",children:(n1,L1)=>{var h1=E(),_1=y(h1);S1(_1,17,()=>r().options,$=>$.value,($,Z1)=>{var p1=E(),x1=y(p1);B(x1,()=>X.Item,(M1,I1)=>{I1(M1,{get value(){return t(Z1).value},get disabled(){return t(Z1).disabled},children:(W,e1)=>{Y();var a1=F();J(()=>u1(a1,t(Z1).label)),o(W,a1)},$$slots:{default:!0}})}),o($,p1)}),o(n1,h1)},$$slots:{default:!0}})}),o(w,G)},$$slots:{default:!0}})})}N(p),o(g,p)},C=g=>{{let p=v(()=>r().kind==="input"?r().inputType??"text":"text"),M=v(()=>String(t(_)??"")),H=v(()=>r().kind!=="input"&&r().readonly),e=v(()=>r().kind==="keybinding"?void 0:r().onBlur),a=v(()=>r().kind==="keybinding"?r().onKeydown:void 0);N1(g,{get id(){return n().controlId},get type(){return t(p)},get value(){return t(M)},get placeholder(){return r().placeholder},get readonly(){return t(H)},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:w=>Z(w.currentTarget.value),get onblur(){return t(e)},get onkeydown(){return t(a)},class:"w-64 max-w-full"})}},S=g=>{N1(g,{get id(){return n().controlId},type:"number",get value(){return t(_)},get min(){return r().min},get max(){return r().max},get step(){return r().step},get placeholder(){return r().placeholder},get disabled(){return n().disabled},get"aria-labelledby"(){return n().labelId},get"aria-describedby"(){return t(u)},oninput:p=>Z(p.currentTarget.valueAsNumber),get onblur(){return r().onBlur},class:"w-32 max-w-full"})},D=g=>{{let p=v(()=>r().variant??(r().danger?"destructive":"secondary"));O1(g,{get variant(){return t(p)},get disabled(){return n().disabled},onclick:()=>void r().action(),children:(M,H)=>{Y();var e=F();J(()=>u1(e,r().actionLabel)),o(M,e)},$$slots:{default:!0}})}};z(m,g=>{r().kind==="switch"?g(L):r().kind==="select"?g(x,1):r().kind==="input"||r().kind==="path"||r().kind==="keybinding"?g(C,2):r().kind==="number"?g(S,3):r().kind==="action"&&g(D,4)})}return N(A),J(()=>{B1(A,"data-settings-control-kind",r().kind),s=R1(A,1,"min-w-0",null,s,{grid:!f()&&r().kind==="switch"})}),o(d,A),q(h)}export{E1 as D,Y2 as S,O2 as T,U2 as a};
@@ -1,2 +1,2 @@
1
1
  const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["/app/immutable/chunks/DICr2Lvd.js","/app/immutable/chunks/lwn02icp.js"])))=>i.map(i=>d[i]);
2
- import{_ as r}from"./Fcr7AvC-.js";import{bn as L}from"./DuFY1gwd.js";function u(t){const m=[],p=new Set;for(const e of D(t.themes)){const i=s(e)?e.getThemes():[e];for(const o of i){if(p.has(o.name))throw new Error(`Theme collection already contains theme "${o.name}"`);p.add(o.name),m.push(o)}}const _=Object.freeze([...m]),l=Object.freeze(_.filter(e=>e.colorScheme==="light")),d=Object.freeze(_.filter(e=>e.colorScheme==="dark")),n=new Map(_.map(e=>[e.name,e])),I=Object.freeze(_.map(e=>e.name)),P=Object.freeze(l.map(e=>e.name)),R=Object.freeze(d.map(e=>e.name));function E(e){if(e==null)return _;const{colorScheme:i,collection:o}=e;return o==null?i==="light"?l:i==="dark"?d:_:_.filter(a=>a.collection!==o?!1:i==null||a.colorScheme===i)}return{getTheme(e){return n.get(e)},getThemes(e){return E(e)},getThemeNames(e){return e?.collection==null?e?.colorScheme==="light"?P:e?.colorScheme==="dark"?R:I:E(e).map(i=>i.name)},hasTheme(e){return n.has(e)},orderBy(e){return u({themes:_.map((i,o)=>({descriptor:i,index:o})).sort((i,o)=>{const a=e(i.descriptor,o.descriptor);return a!==0?a:i.index-o.index}).map(i=>i.descriptor)})},pick(e){const i=[],o=new Set;for(const a of e){if(o.has(a))throw new Error(`Theme collection pick already includes theme "${a}"`);o.add(a);const h=n.get(a);if(h==null)throw new Error(`Theme collection does not contain theme "${a}"`);i.push(h)}return u({themes:i})},registerInto(e){for(const i of _)e.registerThemeIfAbsent(i.name,i.load)}}}function D(t){return O(t)?[t]:t}function O(t){return s(t)||k(t)}function k(t){return typeof t.name=="string"&&typeof t.load=="function"}function s(t){return typeof t.getThemes=="function"}function T({name:t,load:m,colorScheme:p,collection:_,displayName:l}){return{name:t,colorScheme:p,collection:_,displayName:l,load:A(m)}}function A(t){return async()=>{const[m,{normalizeTheme:p}]=await Promise.all([t(),r(()=>import("./DICr2Lvd.js").then(_=>_.c),__vite__mapDeps([0,1]),import.meta.url)]);return p(L(m))}}const f="pierre",V=["pierre-dark","pierre-dark-soft","pierre-dark-vibrant","pierre-dark-protanopia-deuteranopia","pierre-dark-tritanopia"],g=["pierre-light","pierre-light-soft","pierre-light-vibrant","pierre-light-protanopia-deuteranopia","pierre-light-tritanopia"],b=[...g,...V],S=new Set(g);function w(t){return S.has(t)?"light":"dark"}const y={"pierre-dark":"Pierre Dark","pierre-dark-soft":"Pierre Dark Soft","pierre-dark-vibrant":"Pierre Dark Vibrant","pierre-dark-protanopia-deuteranopia":"Pierre Dark Protanopia & Deuteranopia","pierre-dark-tritanopia":"Pierre Dark Tritanopia","pierre-light":"Pierre Light","pierre-light-soft":"Pierre Light Soft","pierre-light-vibrant":"Pierre Light Vibrant","pierre-light-protanopia-deuteranopia":"Pierre Light Protanopia & Deuteranopia","pierre-light-tritanopia":"Pierre Light Tritanopia"},z={"pierre-dark":()=>r(()=>import("./CyvmCCZW.js"),[],import.meta.url),"pierre-dark-soft":()=>r(()=>import("./BHGpRqa4.js"),[],import.meta.url),"pierre-dark-vibrant":()=>r(()=>import("./BWBVywrn.js"),[],import.meta.url),"pierre-dark-protanopia-deuteranopia":()=>r(()=>import("./Rgc0TwpF.js"),[],import.meta.url),"pierre-dark-tritanopia":()=>r(()=>import("./Beq2gCRQ.js"),[],import.meta.url),"pierre-light":()=>r(()=>import("./480U9XYS.js"),[],import.meta.url),"pierre-light-soft":()=>r(()=>import("./CVdyfjmI.js"),[],import.meta.url),"pierre-light-vibrant":()=>r(()=>import("./DdTDNdfJ.js"),[],import.meta.url),"pierre-light-protanopia-deuteranopia":()=>r(()=>import("./CaVOBURG.js"),[],import.meta.url),"pierre-light-tritanopia":()=>r(()=>import("./B4_gpKOM.js"),[],import.meta.url)};function H(t){return T({name:t,collection:f,colorScheme:w(t),displayName:y[t],load:z[t]})}const x=u({themes:b.map(t=>H(t))}),M="shiki",v=["ayu-light","catppuccin-latte","everforest-light","github-light","github-light-default","github-light-high-contrast","gruvbox-light-hard","gruvbox-light-medium","gruvbox-light-soft","horizon-bright","kanagawa-lotus","light-plus","material-theme-lighter","min-light","night-owl-light","one-light","rose-pine-dawn","slack-ochin","snazzy-light","solarized-light","vitesse-light"],N=["andromeeda","aurora-x","ayu-dark","ayu-mirage","catppuccin-frappe","catppuccin-macchiato","catppuccin-mocha","dark-plus","dracula","dracula-soft","everforest-dark","github-dark","github-dark-default","github-dark-dimmed","github-dark-high-contrast","gruvbox-dark-hard","gruvbox-dark-medium","gruvbox-dark-soft","horizon","houston","kanagawa-dragon","kanagawa-wave","laserwave","material-theme","material-theme-darker","material-theme-ocean","material-theme-palenight","min-dark","monokai","night-owl","nord","one-dark-pro","plastic","poimandres","red","rose-pine","rose-pine-moon","slack-dark","solarized-dark","synthwave-84","tokyo-night","vesper","vitesse-black","vitesse-dark"],C=new Set(v);function K(t){return C.has(t)?"light":"dark"}const j={andromeeda:()=>r(()=>import("./C4gqWexZ.js"),[],import.meta.url),"aurora-x":()=>r(()=>import("./D-2ljcwZ.js"),[],import.meta.url),"ayu-dark":()=>r(()=>import("./DYE7WIF3.js"),[],import.meta.url),"ayu-light":()=>r(()=>import("./BA47KaF1.js"),[],import.meta.url),"ayu-mirage":()=>r(()=>import("./32ctXXKs.js"),[],import.meta.url),"catppuccin-frappe":()=>r(()=>import("./CZL1YF0i.js"),[],import.meta.url),"catppuccin-latte":()=>r(()=>import("./DH-8KZSZ.js"),[],import.meta.url),"catppuccin-macchiato":()=>r(()=>import("./B7yYVSCf.js"),[],import.meta.url),"catppuccin-mocha":()=>r(()=>import("./Ct7hS0mc.js"),[],import.meta.url),"dark-plus":()=>r(()=>import("./C3mMm8J8.js"),[],import.meta.url),dracula:()=>r(()=>import("./BzJJZx-M.js"),[],import.meta.url),"dracula-soft":()=>r(()=>import("./BXkSAIEj.js"),[],import.meta.url),"everforest-dark":()=>r(()=>import("./BgDCqdQA.js"),[],import.meta.url),"everforest-light":()=>r(()=>import("./C8M2exoo.js"),[],import.meta.url),"github-dark":()=>r(()=>import("./DHJKELXO.js"),[],import.meta.url),"github-dark-default":()=>r(()=>import("./Cuk6v7N8.js"),[],import.meta.url),"github-dark-dimmed":()=>r(()=>import("./DH5Ifo-i.js"),[],import.meta.url),"github-dark-high-contrast":()=>r(()=>import("./E3gJ1_iC.js"),[],import.meta.url),"github-light":()=>r(()=>import("./DAi9KRSo.js"),[],import.meta.url),"github-light-default":()=>r(()=>import("./D7oLnXFd.js"),[],import.meta.url),"github-light-high-contrast":()=>r(()=>import("./BfjtVDDH.js"),[],import.meta.url),"gruvbox-dark-hard":()=>r(()=>import("./CFHQjOhq.js"),[],import.meta.url),"gruvbox-dark-medium":()=>r(()=>import("./GsRaNv29.js"),[],import.meta.url),"gruvbox-dark-soft":()=>r(()=>import("./CVdnzihN.js"),[],import.meta.url),"gruvbox-light-hard":()=>r(()=>import("./CH1njM8p.js"),[],import.meta.url),"gruvbox-light-medium":()=>r(()=>import("./DRw_LuNl.js"),[],import.meta.url),"gruvbox-light-soft":()=>r(()=>import("./hJgmCMqR.js"),[],import.meta.url),horizon:()=>r(()=>import("./BUw7H-hv.js"),[],import.meta.url),"horizon-bright":()=>r(()=>import("./CUuTKBJd.js"),[],import.meta.url),houston:()=>r(()=>import("./DnULxvSX.js"),[],import.meta.url),"kanagawa-dragon":()=>r(()=>import("./BuwD2xS4.js"),[],import.meta.url),"kanagawa-lotus":()=>r(()=>import("./C3DzagqV.js"),[],import.meta.url),"kanagawa-wave":()=>r(()=>import("./DFGoQZhC.js"),[],import.meta.url),laserwave:()=>r(()=>import("./DUszq2jm.js"),[],import.meta.url),"light-plus":()=>r(()=>import("./B7mTdjB0.js"),[],import.meta.url),"material-theme":()=>r(()=>import("./D5KoaKCx.js"),[],import.meta.url),"material-theme-darker":()=>r(()=>import("./BfHTSMKl.js"),[],import.meta.url),"material-theme-lighter":()=>r(()=>import("./B0m2ddpp.js"),[],import.meta.url),"material-theme-ocean":()=>r(()=>import("./CyktbL80.js"),[],import.meta.url),"material-theme-palenight":()=>r(()=>import("./Csfq5Kiy.js"),[],import.meta.url),"min-dark":()=>r(()=>import("./CafNBF8u.js"),[],import.meta.url),"min-light":()=>r(()=>import("./CTRr51gU.js"),[],import.meta.url),monokai:()=>r(()=>import("./CR4piiQ-.js"),[],import.meta.url),"night-owl":()=>r(()=>import("./C39BiMTA.js"),[],import.meta.url),"night-owl-light":()=>r(()=>import("./CMTm3GFP.js"),[],import.meta.url),nord:()=>r(()=>import("./Ddv68eIx.js"),[],import.meta.url),"one-dark-pro":()=>r(()=>import("./CxGP3dtY.js"),[],import.meta.url),"one-light":()=>r(()=>import("./C3Wv6jpd.js"),[],import.meta.url),plastic:()=>r(()=>import("./3e1v2bzS.js"),[],import.meta.url),poimandres:()=>r(()=>import("./CS3Unz2-.js"),[],import.meta.url),red:()=>r(()=>import("./DMbB5_pp.js"),[],import.meta.url),"rose-pine":()=>r(()=>import("./5qJOZa0Y.js"),[],import.meta.url),"rose-pine-dawn":()=>r(()=>import("./zx0QlTCp.js"),[],import.meta.url),"rose-pine-moon":()=>r(()=>import("./C9pEdX9L.js"),[],import.meta.url),"slack-dark":()=>r(()=>import("./BthQWCQV.js"),[],import.meta.url),"slack-ochin":()=>r(()=>import("./DqwNpetd.js"),[],import.meta.url),"snazzy-light":()=>r(()=>import("./Bw305WKR.js"),[],import.meta.url),"solarized-dark":()=>r(()=>import("./UcubFVte.js"),[],import.meta.url),"solarized-light":()=>r(()=>import("./DCG28T6R.js"),[],import.meta.url),"synthwave-84":()=>r(()=>import("./CbfX1IO0.js"),[],import.meta.url),"tokyo-night":()=>r(()=>import("./hegEt444.js"),[],import.meta.url),vesper:()=>r(()=>import("./DRje8inN.js"),[],import.meta.url),"vitesse-black":()=>r(()=>import("./Bkuqu6BP.js"),[],import.meta.url),"vitesse-dark":()=>r(()=>import("./D0r3Knsf.js"),[],import.meta.url),"vitesse-light":()=>r(()=>import("./CVO1_9PV.js"),[],import.meta.url)};function c(t){return T({name:t,collection:M,colorScheme:K(t),load:j[t]})}const G=Object.freeze([...v.map(t=>c(t)),...N.map(t=>c(t))]),$=u({themes:G}),q=u({themes:[x,$]});export{T as createTheme,x as pierreThemes,$ as shikiThemes,q as themes};
2
+ import{_ as r}from"./Fcr7AvC-.js";import{bn as L}from"./DWurigib.js";function u(t){const m=[],p=new Set;for(const e of D(t.themes)){const i=s(e)?e.getThemes():[e];for(const o of i){if(p.has(o.name))throw new Error(`Theme collection already contains theme "${o.name}"`);p.add(o.name),m.push(o)}}const _=Object.freeze([...m]),l=Object.freeze(_.filter(e=>e.colorScheme==="light")),d=Object.freeze(_.filter(e=>e.colorScheme==="dark")),n=new Map(_.map(e=>[e.name,e])),I=Object.freeze(_.map(e=>e.name)),P=Object.freeze(l.map(e=>e.name)),R=Object.freeze(d.map(e=>e.name));function E(e){if(e==null)return _;const{colorScheme:i,collection:o}=e;return o==null?i==="light"?l:i==="dark"?d:_:_.filter(a=>a.collection!==o?!1:i==null||a.colorScheme===i)}return{getTheme(e){return n.get(e)},getThemes(e){return E(e)},getThemeNames(e){return e?.collection==null?e?.colorScheme==="light"?P:e?.colorScheme==="dark"?R:I:E(e).map(i=>i.name)},hasTheme(e){return n.has(e)},orderBy(e){return u({themes:_.map((i,o)=>({descriptor:i,index:o})).sort((i,o)=>{const a=e(i.descriptor,o.descriptor);return a!==0?a:i.index-o.index}).map(i=>i.descriptor)})},pick(e){const i=[],o=new Set;for(const a of e){if(o.has(a))throw new Error(`Theme collection pick already includes theme "${a}"`);o.add(a);const h=n.get(a);if(h==null)throw new Error(`Theme collection does not contain theme "${a}"`);i.push(h)}return u({themes:i})},registerInto(e){for(const i of _)e.registerThemeIfAbsent(i.name,i.load)}}}function D(t){return O(t)?[t]:t}function O(t){return s(t)||k(t)}function k(t){return typeof t.name=="string"&&typeof t.load=="function"}function s(t){return typeof t.getThemes=="function"}function T({name:t,load:m,colorScheme:p,collection:_,displayName:l}){return{name:t,colorScheme:p,collection:_,displayName:l,load:A(m)}}function A(t){return async()=>{const[m,{normalizeTheme:p}]=await Promise.all([t(),r(()=>import("./DICr2Lvd.js").then(_=>_.c),__vite__mapDeps([0,1]),import.meta.url)]);return p(L(m))}}const f="pierre",V=["pierre-dark","pierre-dark-soft","pierre-dark-vibrant","pierre-dark-protanopia-deuteranopia","pierre-dark-tritanopia"],g=["pierre-light","pierre-light-soft","pierre-light-vibrant","pierre-light-protanopia-deuteranopia","pierre-light-tritanopia"],b=[...g,...V],S=new Set(g);function w(t){return S.has(t)?"light":"dark"}const y={"pierre-dark":"Pierre Dark","pierre-dark-soft":"Pierre Dark Soft","pierre-dark-vibrant":"Pierre Dark Vibrant","pierre-dark-protanopia-deuteranopia":"Pierre Dark Protanopia & Deuteranopia","pierre-dark-tritanopia":"Pierre Dark Tritanopia","pierre-light":"Pierre Light","pierre-light-soft":"Pierre Light Soft","pierre-light-vibrant":"Pierre Light Vibrant","pierre-light-protanopia-deuteranopia":"Pierre Light Protanopia & Deuteranopia","pierre-light-tritanopia":"Pierre Light Tritanopia"},z={"pierre-dark":()=>r(()=>import("./CyvmCCZW.js"),[],import.meta.url),"pierre-dark-soft":()=>r(()=>import("./BHGpRqa4.js"),[],import.meta.url),"pierre-dark-vibrant":()=>r(()=>import("./BWBVywrn.js"),[],import.meta.url),"pierre-dark-protanopia-deuteranopia":()=>r(()=>import("./Rgc0TwpF.js"),[],import.meta.url),"pierre-dark-tritanopia":()=>r(()=>import("./Beq2gCRQ.js"),[],import.meta.url),"pierre-light":()=>r(()=>import("./480U9XYS.js"),[],import.meta.url),"pierre-light-soft":()=>r(()=>import("./CVdyfjmI.js"),[],import.meta.url),"pierre-light-vibrant":()=>r(()=>import("./DdTDNdfJ.js"),[],import.meta.url),"pierre-light-protanopia-deuteranopia":()=>r(()=>import("./CaVOBURG.js"),[],import.meta.url),"pierre-light-tritanopia":()=>r(()=>import("./B4_gpKOM.js"),[],import.meta.url)};function H(t){return T({name:t,collection:f,colorScheme:w(t),displayName:y[t],load:z[t]})}const x=u({themes:b.map(t=>H(t))}),M="shiki",v=["ayu-light","catppuccin-latte","everforest-light","github-light","github-light-default","github-light-high-contrast","gruvbox-light-hard","gruvbox-light-medium","gruvbox-light-soft","horizon-bright","kanagawa-lotus","light-plus","material-theme-lighter","min-light","night-owl-light","one-light","rose-pine-dawn","slack-ochin","snazzy-light","solarized-light","vitesse-light"],N=["andromeeda","aurora-x","ayu-dark","ayu-mirage","catppuccin-frappe","catppuccin-macchiato","catppuccin-mocha","dark-plus","dracula","dracula-soft","everforest-dark","github-dark","github-dark-default","github-dark-dimmed","github-dark-high-contrast","gruvbox-dark-hard","gruvbox-dark-medium","gruvbox-dark-soft","horizon","houston","kanagawa-dragon","kanagawa-wave","laserwave","material-theme","material-theme-darker","material-theme-ocean","material-theme-palenight","min-dark","monokai","night-owl","nord","one-dark-pro","plastic","poimandres","red","rose-pine","rose-pine-moon","slack-dark","solarized-dark","synthwave-84","tokyo-night","vesper","vitesse-black","vitesse-dark"],C=new Set(v);function K(t){return C.has(t)?"light":"dark"}const j={andromeeda:()=>r(()=>import("./C4gqWexZ.js"),[],import.meta.url),"aurora-x":()=>r(()=>import("./D-2ljcwZ.js"),[],import.meta.url),"ayu-dark":()=>r(()=>import("./DYE7WIF3.js"),[],import.meta.url),"ayu-light":()=>r(()=>import("./BA47KaF1.js"),[],import.meta.url),"ayu-mirage":()=>r(()=>import("./32ctXXKs.js"),[],import.meta.url),"catppuccin-frappe":()=>r(()=>import("./CZL1YF0i.js"),[],import.meta.url),"catppuccin-latte":()=>r(()=>import("./DH-8KZSZ.js"),[],import.meta.url),"catppuccin-macchiato":()=>r(()=>import("./B7yYVSCf.js"),[],import.meta.url),"catppuccin-mocha":()=>r(()=>import("./Ct7hS0mc.js"),[],import.meta.url),"dark-plus":()=>r(()=>import("./C3mMm8J8.js"),[],import.meta.url),dracula:()=>r(()=>import("./BzJJZx-M.js"),[],import.meta.url),"dracula-soft":()=>r(()=>import("./BXkSAIEj.js"),[],import.meta.url),"everforest-dark":()=>r(()=>import("./BgDCqdQA.js"),[],import.meta.url),"everforest-light":()=>r(()=>import("./C8M2exoo.js"),[],import.meta.url),"github-dark":()=>r(()=>import("./DHJKELXO.js"),[],import.meta.url),"github-dark-default":()=>r(()=>import("./Cuk6v7N8.js"),[],import.meta.url),"github-dark-dimmed":()=>r(()=>import("./DH5Ifo-i.js"),[],import.meta.url),"github-dark-high-contrast":()=>r(()=>import("./E3gJ1_iC.js"),[],import.meta.url),"github-light":()=>r(()=>import("./DAi9KRSo.js"),[],import.meta.url),"github-light-default":()=>r(()=>import("./D7oLnXFd.js"),[],import.meta.url),"github-light-high-contrast":()=>r(()=>import("./BfjtVDDH.js"),[],import.meta.url),"gruvbox-dark-hard":()=>r(()=>import("./CFHQjOhq.js"),[],import.meta.url),"gruvbox-dark-medium":()=>r(()=>import("./GsRaNv29.js"),[],import.meta.url),"gruvbox-dark-soft":()=>r(()=>import("./CVdnzihN.js"),[],import.meta.url),"gruvbox-light-hard":()=>r(()=>import("./CH1njM8p.js"),[],import.meta.url),"gruvbox-light-medium":()=>r(()=>import("./DRw_LuNl.js"),[],import.meta.url),"gruvbox-light-soft":()=>r(()=>import("./hJgmCMqR.js"),[],import.meta.url),horizon:()=>r(()=>import("./BUw7H-hv.js"),[],import.meta.url),"horizon-bright":()=>r(()=>import("./CUuTKBJd.js"),[],import.meta.url),houston:()=>r(()=>import("./DnULxvSX.js"),[],import.meta.url),"kanagawa-dragon":()=>r(()=>import("./BuwD2xS4.js"),[],import.meta.url),"kanagawa-lotus":()=>r(()=>import("./C3DzagqV.js"),[],import.meta.url),"kanagawa-wave":()=>r(()=>import("./DFGoQZhC.js"),[],import.meta.url),laserwave:()=>r(()=>import("./DUszq2jm.js"),[],import.meta.url),"light-plus":()=>r(()=>import("./B7mTdjB0.js"),[],import.meta.url),"material-theme":()=>r(()=>import("./D5KoaKCx.js"),[],import.meta.url),"material-theme-darker":()=>r(()=>import("./BfHTSMKl.js"),[],import.meta.url),"material-theme-lighter":()=>r(()=>import("./B0m2ddpp.js"),[],import.meta.url),"material-theme-ocean":()=>r(()=>import("./CyktbL80.js"),[],import.meta.url),"material-theme-palenight":()=>r(()=>import("./Csfq5Kiy.js"),[],import.meta.url),"min-dark":()=>r(()=>import("./CafNBF8u.js"),[],import.meta.url),"min-light":()=>r(()=>import("./CTRr51gU.js"),[],import.meta.url),monokai:()=>r(()=>import("./CR4piiQ-.js"),[],import.meta.url),"night-owl":()=>r(()=>import("./C39BiMTA.js"),[],import.meta.url),"night-owl-light":()=>r(()=>import("./CMTm3GFP.js"),[],import.meta.url),nord:()=>r(()=>import("./Ddv68eIx.js"),[],import.meta.url),"one-dark-pro":()=>r(()=>import("./CxGP3dtY.js"),[],import.meta.url),"one-light":()=>r(()=>import("./C3Wv6jpd.js"),[],import.meta.url),plastic:()=>r(()=>import("./3e1v2bzS.js"),[],import.meta.url),poimandres:()=>r(()=>import("./CS3Unz2-.js"),[],import.meta.url),red:()=>r(()=>import("./DMbB5_pp.js"),[],import.meta.url),"rose-pine":()=>r(()=>import("./5qJOZa0Y.js"),[],import.meta.url),"rose-pine-dawn":()=>r(()=>import("./zx0QlTCp.js"),[],import.meta.url),"rose-pine-moon":()=>r(()=>import("./C9pEdX9L.js"),[],import.meta.url),"slack-dark":()=>r(()=>import("./BthQWCQV.js"),[],import.meta.url),"slack-ochin":()=>r(()=>import("./DqwNpetd.js"),[],import.meta.url),"snazzy-light":()=>r(()=>import("./Bw305WKR.js"),[],import.meta.url),"solarized-dark":()=>r(()=>import("./UcubFVte.js"),[],import.meta.url),"solarized-light":()=>r(()=>import("./DCG28T6R.js"),[],import.meta.url),"synthwave-84":()=>r(()=>import("./CbfX1IO0.js"),[],import.meta.url),"tokyo-night":()=>r(()=>import("./hegEt444.js"),[],import.meta.url),vesper:()=>r(()=>import("./DRje8inN.js"),[],import.meta.url),"vitesse-black":()=>r(()=>import("./Bkuqu6BP.js"),[],import.meta.url),"vitesse-dark":()=>r(()=>import("./D0r3Knsf.js"),[],import.meta.url),"vitesse-light":()=>r(()=>import("./CVO1_9PV.js"),[],import.meta.url)};function c(t){return T({name:t,collection:M,colorScheme:K(t),load:j[t]})}const G=Object.freeze([...v.map(t=>c(t)),...N.map(t=>c(t))]),$=u({themes:G}),q=u({themes:[x,$]});export{T as createTheme,x as pierreThemes,$ as shikiThemes,q as themes};
@@ -1 +1 @@
1
- var De=Object.defineProperty;var Ce=(i,s,e)=>s in i?De(i,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[s]=e;var E=(i,s,e)=>Ce(i,typeof s!="symbol"?s+"":s,e);import{K as Le,P as ce,a6 as le,as as z,aC as ve}from"./DuFY1gwd.js";import{b_ as we,c$ as ue,cr as de,cq as be}from"./D-j7vD5Z.js";import{JH as p,Cg as Fe,bJ as ke,i as Ge,LM as me,ir as Ee,bV as Pe,Ec as H,CF as xe,fl as Ve,AL as Ue,e3 as fe,fh as _e,e2 as he,Be,Lq as $e,wy as Xe}from"./D0qhIm1r.js";import{aO as Se,dX as ge,A as K,P as Re,aK as Q}from"./cD292w1o.js";import{h as qe}from"./BAtAwQ72.js";import{c as W}from"./ChTqQfQN.js";import{a as We}from"./BdWqymET.js";import{m as j}from"./DkQdSPDN.js";import"./3SdAC2_C.js";import{bm as n}from"./Fcr7AvC-.js";import"./BRCr02in.js";import"./CWfjuhY2.js";import"./DRMe5Ypb.js";import{R as pe}from"./B5aYN90J.js";import{L as Ye}from"./CSiaiLHL.js";function ze(i,s){return i.some(e=>e.id===s.id)?i.map(e=>e.id===s.id?{...s,...s.author==null&&e.author!==void 0?{author:e.author}:{}}:e):[...i,s]}const Te="confirmUnslothModelSwitch";function He(i){if(!i||typeof i!="object")return!1;const{agentId:s,agentName:e,workspaceId:t,workspaceTitle:r}=i;return typeof s=="string"&&typeof e=="string"&&typeof t=="string"&&(r===null||typeof r=="string")}function Ke(i){for(let s=i,e=0;s&&e<4;e++){const t=s.data;if(t&&typeof t=="object"){const{code:r,currentModel:a,requestedModel:l,agents:o}=t;if(r==="unsloth-model-switch-confirmation-required"&&typeof a=="string"&&typeof l=="string"&&Array.isArray(o)&&o.every(He))return{currentModel:a,requestedModel:l,agents:o}}s=s.cause}}function bt(i){if(!i||!(Te in i))return i;const{[Te]:s,...e}=i;return Object.keys(e).length>0?e:void 0}const Z=typeof performance<"u"?performance:{now:()=>Date.now()},V=new We("PerformanceOptimizer"),w=class w{constructor(){E(this,"metricsBuffer");E(this,"metricsIndex",0);E(this,"metricsCount",0);E(this,"MAX_METRICS",500);E(this,"TARGET_RESPONSE_TIME",100);E(this,"memoCache",new Map);E(this,"MEMO_TTL",6e4);E(this,"MAX_CACHE_SIZE",100);E(this,"cacheHits",0);E(this,"cacheMisses",0);E(this,"pendingRequests",new Map);E(this,"requestQueue",[]);E(this,"cleanupInterval",null);this.metricsBuffer=new Array(this.MAX_METRICS).fill(null),this.startCacheCleanup(),V.info("PerformanceOptimizer initialized")}static getInstance(){return w.instance||(w.instance=new w),w.instance}reset(){this.metricsBuffer=new Array(this.MAX_METRICS).fill(null),this.metricsIndex=0,this.metricsCount=0,this.memoCache.clear(),this.pendingRequests.clear(),this.requestQueue=[],this.cacheHits=0,this.cacheMisses=0}clearCache(){this.memoCache.clear(),this.cacheHits=0,this.cacheMisses=0}async processBatch(s,e,t={}){const{batchSize:r=10,concurrency:a=4}=t,l=[];for(let o=0;o<s.length;o+=r){const _=s.slice(o,o+r).map((c,R)=>{const g=Math.floor(R/a)*10;return new Promise(d=>{setTimeout(async()=>{const k=await e(c);d(k)},g)})}),u=await Promise.all(_);l.push(...u)}return l}startCacheCleanup(){this.cleanupInterval=setInterval(()=>{this.cleanupCache()},3e4)}stopCacheCleanup(){this.cleanupInterval&&(clearInterval(this.cleanupInterval),this.cleanupInterval=null)}cleanupCache(){const s=Date.now(),e=[];this.memoCache.forEach((t,r)=>{s-t.timestamp>this.MEMO_TTL&&e.push(r)}),e.forEach(t=>this.memoCache.delete(t)),this.memoCache.size>this.MAX_CACHE_SIZE&&Array.from(this.memoCache.entries()).sort((a,l)=>a[1].hits-l[1].hits||a[1].timestamp-l[1].timestamp).slice(0,this.memoCache.size-this.MAX_CACHE_SIZE).forEach(([a])=>this.memoCache.delete(a))}async track(s,e,t={}){const r=Z.now();try{const a=t.cacheKey||s;if(t.memoize){const _=this.getMemoized(a);if(_!==void 0)return this.cacheHits++,V.debug("Memoized result used",{operation:s,cacheKey:a,hits:this.cacheHits}),_;this.cacheMisses++}if(t.coalesce){const _=this.pendingRequests.get(s);if(_)return V.debug("Request coalesced",{operation:s}),_}let l;t.coalesce?(l=t.timeout?this.withTimeout(e(),t.timeout):e(),this.pendingRequests.set(s,l)):l=t.timeout?this.withTimeout(e(),t.timeout):e();const o=await l;t.memoize&&this.memoize(a,o);const f=Z.now()-r;return this.recordMetric(s,f,!0,{strategy:t.priority||"normal",memoized:t.memoize||!1,coalesced:t.coalesce||!1}),f>this.TARGET_RESPONSE_TIME&&V.warn("Operation exceeded target time",{operation:s,duration:Math.round(f),target:this.TARGET_RESPONSE_TIME}),o}catch(a){const l=Z.now()-r;throw this.recordMetric(s,l,!1,{error:a instanceof Error?a.message:"Unknown error"}),a}finally{t.coalesce&&this.pendingRequests.delete(s)}}getStats(){if(this.metricsCount===0)return{avgResponseTime:0,p95ResponseTime:0,p99ResponseTime:0,successRate:100,slowOperations:[]};const s=[],e=this.metricsCount<this.MAX_METRICS?0:this.metricsIndex;for(let u=0;u<this.metricsCount;u++){const c=this.metricsBuffer[(e+u)%this.MAX_METRICS];c&&s.push(c)}if(s.length===0)return{avgResponseTime:0,p95ResponseTime:0,p99ResponseTime:0,successRate:100,slowOperations:[]};const t=s.sort((u,c)=>u.duration-c.duration);let r=0,a=0;const l=new Set;for(const u of s)a+=u.duration,u.success&&r++,u.duration>this.TARGET_RESPONSE_TIME&&l.add(u.operation);const o=a/s.length,f=Math.floor(t.length*.95),_=Math.floor(t.length*.99);return{avgResponseTime:Math.round(o),p95ResponseTime:Math.round(t[f]?.duration||0),p99ResponseTime:Math.round(t[_]?.duration||0),successRate:r/s.length*100,slowOperations:Array.from(l)}}getCacheStats(){const s=this.cacheHits+this.cacheMisses;return{size:this.memoCache.size,hitRate:s>0?this.cacheHits/s*100:0,hits:this.cacheHits,misses:this.cacheMisses}}getMemoized(s){const e=this.memoCache.get(s);if(e){if(Date.now()-e.timestamp>this.MEMO_TTL){this.memoCache.delete(s);return}return e.hits++,e.value}}memoize(s,e){const t=JSON.stringify(e).length;this.memoCache.set(s,{value:e,timestamp:Date.now(),hits:0,size:t}),this.memoCache.size>this.MAX_CACHE_SIZE&&this.cleanupCache()}async withTimeout(s,e){return Promise.race([s,new Promise((t,r)=>setTimeout(()=>r(new Error(`Operation timed out after ${e}ms`)),e))])}recordMetric(s,e,t,r){this.metricsBuffer[this.metricsIndex]={operation:s,duration:e,timestamp:Date.now(),success:t,metadata:r},this.metricsIndex=(this.metricsIndex+1)%this.MAX_METRICS,this.metricsCount<this.MAX_METRICS&&this.metricsCount++,e>this.TARGET_RESPONSE_TIME&&V.warn("Slow operation detected",{operation:s,duration:`${e.toFixed(2)}ms`,target:`${this.TARGET_RESPONSE_TIME}ms`,metadata:r})}};E(w,"instance");let te=w;const Qe=te.getInstance(),Ae={AGENT_CREATION:"https://docs.example.com/agent-creation",STREAMING:"https://docs.example.com/streaming-issues",STORAGE:"https://docs.example.com/storage-troubleshooting",MEMORY:"https://docs.example.com/memory-management",PROVIDER:"https://docs.example.com/provider-setup",GENERAL:"https://docs.example.com/help"},J={get AGENT_CREATION_FAILED(){return n.errors_catalog_agentCreationFailed_template({agentName:"{agentName}",details:"{details}"})},get AGENT_ALREADY_EXISTS(){return n.errors_catalog_agentAlreadyExists_template({agentName:"{agentName}"})},get INVALID_AGENT_CONFIG(){return n.errors_catalog_invalidAgentConfig_template({details:"{details}"})},get INVALID_CONFIG(){return n.errors_catalog_invalidConfig_template({details:"{details}"})},get SESSION_NOT_FOUND(){return n.errors_catalog_sessionNotFound_template({sessionId:"{sessionId}"})},get SESSION_ALREADY_ACTIVE(){return n.errors_catalog_sessionAlreadyActive_template()},get SESSION_INITIALIZATION_FAILED(){return n.errors_catalog_sessionInitializationFailed_template({details:"{details}"})},get STREAM_CONNECTION_FAILED(){return n.errors_catalog_streamConnectionFailed_template({details:"{details}"})},get STREAM_TIMEOUT(){return n.errors_catalog_streamTimeout_template({timeout:"{timeout}"})},get STREAM_INTERRUPTED(){return n.errors_catalog_streamInterrupted_template({attempt:"{attempt}",maxAttempts:"{maxAttempts}"})},get STREAM_RECOVERY_FAILED(){return n.errors_catalog_streamRecoveryFailed_template({attempts:"{attempts}"})},get MESSAGE_SEND_FAILED(){return n.errors_catalog_messageSendFailed_template({details:"{details}"})},get MESSAGE_VALIDATION_FAILED(){return n.errors_catalog_messageValidationFailed_template({details:"{details}"})},get MESSAGE_TOO_LONG(){return n.errors_catalog_messageTooLong_template({maxLength:"{maxLength}",currentLength:"{currentLength}"})},get PROVIDER_NOT_FOUND(){return n.errors_catalog_providerNotFound_template({provider:"{provider}"})},get PROVIDER_CONNECTION_FAILED(){return n.errors_catalog_providerConnectionFailed_template({provider:"{provider}",details:"{details}"})},get PROVIDER_PROCESS_DIED(){return n.errors_catalog_providerProcessDied_template({provider:"{provider}"})},get STORAGE_READ_FAILED(){return n.errors_catalog_storageReadFailed_template({details:"{details}"})},get STORAGE_WRITE_FAILED(){return n.errors_catalog_storageWriteFailed_template({details:"{details}"})},get STORAGE_CORRUPTED(){return n.errors_catalog_storageCorrupted_template({lastBackup:"{lastBackup}"})},get MEMORY_LIMIT_EXCEEDED(){return n.errors_catalog_memoryLimitExceeded_template({currentUsage:"{currentUsage}",limit:"{limit}"})},get RATE_LIMIT_EXCEEDED(){return n.errors_catalog_rateLimitExceeded_template({count:"{count}",window:"{window}"})},get CONCURRENT_LIMIT_EXCEEDED(){return n.errors_catalog_concurrentLimitExceeded_template({current:"{current}",max:"{max}"})}},je={get AGENT_CREATION_FAILED(){return n.errors_catalog_agentCreationFailed_friendly()},get AGENT_ALREADY_EXISTS(){return n.errors_catalog_agentAlreadyExists_friendly()},get INVALID_AGENT_CONFIG(){return n.errors_catalog_invalidAgentConfig_friendly()},get INVALID_CONFIG(){return n.errors_catalog_invalidConfig_friendly()},get SESSION_NOT_FOUND(){return n.errors_catalog_sessionNotFound_friendly()},get SESSION_ALREADY_ACTIVE(){return n.errors_catalog_sessionAlreadyActive_friendly()},get SESSION_INITIALIZATION_FAILED(){return n.errors_catalog_sessionInitializationFailed_friendly()},get STREAM_CONNECTION_FAILED(){return n.errors_catalog_streamConnectionFailed_friendly()},get STREAM_TIMEOUT(){return n.errors_catalog_streamTimeout_friendly()},get STREAM_INTERRUPTED(){return n.errors_catalog_streamInterrupted_friendly()},get STREAM_RECOVERY_FAILED(){return n.errors_catalog_streamRecoveryFailed_friendly()},get MESSAGE_SEND_FAILED(){return n.errors_catalog_messageSendFailed_friendly()},get MESSAGE_VALIDATION_FAILED(){return n.errors_catalog_messageValidationFailed_friendly()},get MESSAGE_TOO_LONG(){return n.errors_catalog_messageTooLong_friendly()},get PROVIDER_NOT_FOUND(){return n.errors_catalog_providerNotFound_friendly()},get PROVIDER_CONNECTION_FAILED(){return n.errors_catalog_providerConnectionFailed_friendly()},get PROVIDER_PROCESS_DIED(){return n.errors_catalog_providerProcessDied_friendly()},get STORAGE_READ_FAILED(){return n.errors_catalog_storageReadFailed_friendly()},get STORAGE_WRITE_FAILED(){return n.errors_catalog_storageWriteFailed_friendly()},get STORAGE_CORRUPTED(){return n.errors_catalog_storageCorrupted_friendly()},get MEMORY_LIMIT_EXCEEDED(){return n.errors_catalog_memoryLimitExceeded_friendly()},get RATE_LIMIT_EXCEEDED(){return n.errors_catalog_rateLimitExceeded_friendly()},get CONCURRENT_LIMIT_EXCEEDED(){return n.errors_catalog_concurrentLimitExceeded_friendly()}};function Ze(i){return(i.match(/{(\w+)}/g)||[]).map(e=>e.slice(1,-1))}function Je(i,s){return Ze(i).every(t=>t in s)}function Oe(i,s={}){return i.replace(/{(\w+)}/g,(e,t)=>String(s[t]??e))}function ee(i){const s=n.errors_cleanMessage_fallback_error();if(!i)return s;let e=i;return e=e.replace(/^.*?failed(?:\s+to\s+.*?)?\s+after\s+\d+\s+attempts:\s*/i,""),e=e.replace(/^Error invoking remote method '[^']+':(\s*Error:)?\s*/i,""),e=e.replace(/^(Error:\s*)+/i,""),e=e.replace(/\n\s*at .+/g,""),e=e.replace(/\s+/g," ").trim(),e||s}function et(i,s){return s&&J[i]&&Je(J[i],s)?Oe(J[i],s):je[i]||n.errors_userFriendly_fallback_error()}function tt(i){const e={AGENT_CREATION_FAILED:"AGENT_CREATION",AGENT_ALREADY_EXISTS:"AGENT_CREATION",INVALID_AGENT_CONFIG:"AGENT_CREATION",STREAM_CONNECTION_FAILED:"STREAMING",STREAM_TIMEOUT:"STREAMING",STREAM_INTERRUPTED:"STREAMING",STREAM_RECOVERY_FAILED:"STREAMING",STORAGE_READ_FAILED:"STORAGE",STORAGE_WRITE_FAILED:"STORAGE",STORAGE_CORRUPTED:"STORAGE",MEMORY_LIMIT_EXCEEDED:"MEMORY",RATE_LIMIT_EXCEEDED:"MEMORY",CONCURRENT_LIMIT_EXCEEDED:"MEMORY",PROVIDER_NOT_FOUND:"PROVIDER",PROVIDER_CONNECTION_FAILED:"PROVIDER",PROVIDER_PROCESS_DIED:"PROVIDER"}[i];return e?Ae[e]:Ae.GENERAL}const st={AGENT_CREATION_FAILED:[{action:"retry",description:"Try creating the agent again",automatic:!1,priority:"high"},{action:"check-config",description:"Verify agent configuration in settings",automatic:!1,priority:"high"},{action:"check-resources",description:"Ensure sufficient memory and disk space",automatic:!1,priority:"medium"}],AGENT_ALREADY_EXISTS:[{action:"rename",description:"Choose a different name for the agent",automatic:!1,priority:"high"},{action:"delete-existing",description:"Delete the existing agent first",automatic:!1,priority:"medium"}],INVALID_AGENT_CONFIG:[{action:"review-config",description:"Review and correct the configuration",automatic:!1,priority:"high"},{action:"use-defaults",description:"Reset to default configuration",automatic:!1,priority:"medium"}],INVALID_CONFIG:[{action:"review-config",description:"Review and correct the configuration",automatic:!1,priority:"high"},{action:"use-defaults",description:"Reset to default configuration",automatic:!1,priority:"medium"}],SESSION_NOT_FOUND:[{action:"start-new",description:"Start a new agent session",automatic:!1,priority:"high"},{action:"check-history",description:"Check session history for recent sessions",automatic:!1,priority:"medium"}],SESSION_ALREADY_ACTIVE:[{action:"wait",description:"Wait for the current session to complete",automatic:!1,priority:"high"},{action:"cancel",description:"Cancel the active session first",automatic:!1,priority:"high"}],SESSION_INITIALIZATION_FAILED:[{action:"retry",description:"Try initializing the session again",automatic:!1,priority:"high"},{action:"check-resources",description:"Ensure sufficient resources are available",automatic:!1,priority:"medium"}],MESSAGE_SEND_FAILED:[{action:"retry",description:"Try sending the message again",automatic:!1,priority:"high"},{action:"check-connection",description:"Check your network connection",automatic:!1,priority:"high"}],MESSAGE_VALIDATION_FAILED:[{action:"review-config",description:"Review and correct the message format",automatic:!1,priority:"high"},{action:"check-config",description:"Check configuration for valid message format",automatic:!1,priority:"medium"}],MESSAGE_TOO_LONG:[{action:"retry",description:"Shorten the message and try again",automatic:!1,priority:"high"},{action:"batch",description:"Split the message into multiple parts",automatic:!1,priority:"medium"}],PROVIDER_NOT_FOUND:[{action:"check-config",description:"Verify provider is properly configured",automatic:!1,priority:"high"},{action:"recreate",description:"Install or reinstall the provider",automatic:!1,priority:"high"}],PROVIDER_CONNECTION_FAILED:[{action:"retry",description:"Try connecting to the provider again",automatic:!1,priority:"high"},{action:"check-config",description:"Verify provider configuration",automatic:!1,priority:"high"}],STORAGE_READ_FAILED:[{action:"retry",description:"Try reading the data again",automatic:!1,priority:"high"},{action:"restore",description:"Restore from a recent backup",automatic:!1,priority:"medium"}],STORAGE_WRITE_FAILED:[{action:"retry",description:"Try saving again",automatic:!1,priority:"high"},{action:"check-resources",description:"Check available disk space",automatic:!1,priority:"high"}],STREAM_CONNECTION_FAILED:[{action:"retry",description:"Try connecting again",automatic:!1,priority:"high"},{action:"check-connection",description:"Check your network connection",automatic:!1,priority:"high"}],STREAM_RECOVERY_FAILED:[{action:"restart",description:"Restart the agent",automatic:!1,priority:"high"},{action:"check-config",description:"Check error logs for more details",automatic:!1,priority:"medium"}],STREAM_INTERRUPTED:[{action:"reconnect",description:"Attempting automatic reconnection",automatic:!0,priority:"high"},{action:"retry",description:"Retry sending the message",automatic:!1,priority:"high"},{action:"check-connection",description:"Check your internet connection",automatic:!1,priority:"medium"}],STREAM_TIMEOUT:[{action:"wait",description:"Wait for agent to complete processing",automatic:!1,priority:"high"},{action:"cancel",description:"Cancel current operation",automatic:!1,priority:"medium"},{action:"increase-timeout",description:"Increase timeout in settings",automatic:!1,priority:"low"}],PROVIDER_PROCESS_DIED:[{action:"restart",description:"Restart agent process",automatic:!0,priority:"high"},{action:"recreate",description:"Create new agent session",automatic:!1,priority:"high"}],STORAGE_CORRUPTED:[{action:"restore",description:"Restore from backup",automatic:!1,priority:"high"},{action:"reset",description:"Reset agent data",automatic:!1,priority:"medium"}],MEMORY_LIMIT_EXCEEDED:[{action:"cleanup",description:"Close unused agents",automatic:!1,priority:"high"},{action:"increase-limit",description:"Increase memory limit in settings",automatic:!1,priority:"medium"}],RATE_LIMIT_EXCEEDED:[{action:"wait",description:"Wait before making more requests",automatic:!1,priority:"high"},{action:"batch",description:"Batch requests together",automatic:!1,priority:"medium"}],CONCURRENT_LIMIT_EXCEEDED:[{action:"close-agents",description:"Close some running agents",automatic:!1,priority:"high"},{action:"queue",description:"Queue operation for later",automatic:!1,priority:"medium"}]};function it(i){return st[i]||[{action:"retry",description:"Try the operation again",automatic:!1,priority:"high"}]}var N=(i=>(i.AGENT_CREATION_FAILED="AGENT_CREATION_FAILED",i.AGENT_ALREADY_EXISTS="AGENT_ALREADY_EXISTS",i.INVALID_AGENT_CONFIG="INVALID_AGENT_CONFIG",i.INVALID_CONFIG="INVALID_CONFIG",i.SESSION_NOT_FOUND="SESSION_NOT_FOUND",i.SESSION_ALREADY_ACTIVE="SESSION_ALREADY_ACTIVE",i.SESSION_INITIALIZATION_FAILED="SESSION_INITIALIZATION_FAILED",i.STREAM_CONNECTION_FAILED="STREAM_CONNECTION_FAILED",i.STREAM_TIMEOUT="STREAM_TIMEOUT",i.STREAM_INTERRUPTED="STREAM_INTERRUPTED",i.STREAM_RECOVERY_FAILED="STREAM_RECOVERY_FAILED",i.MESSAGE_SEND_FAILED="MESSAGE_SEND_FAILED",i.MESSAGE_VALIDATION_FAILED="MESSAGE_VALIDATION_FAILED",i.MESSAGE_TOO_LONG="MESSAGE_TOO_LONG",i.PROVIDER_NOT_FOUND="PROVIDER_NOT_FOUND",i.PROVIDER_CONNECTION_FAILED="PROVIDER_CONNECTION_FAILED",i.PROVIDER_PROCESS_DIED="PROVIDER_PROCESS_DIED",i.PROVIDER_UNAVAILABLE="PROVIDER_UNAVAILABLE",i.PROVIDER_ERROR="PROVIDER_ERROR",i.STORAGE_READ_FAILED="STORAGE_READ_FAILED",i.STORAGE_WRITE_FAILED="STORAGE_WRITE_FAILED",i.STORAGE_CORRUPTED="STORAGE_CORRUPTED",i.STORAGE_ERROR="STORAGE_ERROR",i.STORAGE_QUOTA_EXCEEDED="STORAGE_QUOTA_EXCEEDED",i.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",i.RATE_LIMIT_EXCEEDED="RATE_LIMIT_EXCEEDED",i.CONCURRENT_LIMIT_EXCEEDED="CONCURRENT_LIMIT_EXCEEDED",i.RESOURCE_NOT_FOUND="RESOURCE_NOT_FOUND",i.RESOURCE_EXHAUSTED="RESOURCE_EXHAUSTED",i.NETWORK_ERROR="NETWORK_ERROR",i.PERMISSION_DENIED="PERMISSION_DENIED",i.OPERATION_FAILED="OPERATION_FAILED",i.VALIDATION_ERROR="VALIDATION_ERROR",i.INVALID_RESPONSE="INVALID_RESPONSE",i.STATE_CORRUPTION="STATE_CORRUPTION",i.CONTEXT_OVERFLOW="CONTEXT_OVERFLOW",i))(N||{});class q extends Error{constructor(e,t,r={},a){super(e);E(this,"code");E(this,"context");E(this,"recoverySuggestions");E(this,"userMessage");E(this,"isRecoverable");E(this,"cause");this.name="AgentError",this.code=t,this.context={...r,timestamp:new Date,stackTrace:this.stack},this.userMessage=a?.userMessage||this.getDefaultUserMessage(t),this.recoverySuggestions=a?.recoverySuggestions||this.getDefaultRecoverySuggestions(t),this.isRecoverable=a?.isRecoverable??this.isErrorRecoverable(t),a?.cause&&(this.cause=a.cause)}getDefaultUserMessage(e){return et(e,this.context)}getDefaultRecoverySuggestions(e){return it(e)}isErrorRecoverable(e){return["STREAM_INTERRUPTED","STREAM_TIMEOUT","MESSAGE_SEND_FAILED","PROVIDER_PROCESS_DIED","STORAGE_READ_FAILED","STORAGE_WRITE_FAILED"].includes(e)}getHelpLink(){return tt(this.code)}formatMessage(e){return Oe(e,this.context)}toJSON(){return{name:this.name,code:this.code,message:this.message,userMessage:this.userMessage,context:this.context,recoverySuggestions:this.recoverySuggestions,isRecoverable:this.isRecoverable,helpLink:this.getHelpLink(),stack:this.stack}}}const rt={NON_RETRYABLE_ERRORS:["EACCES","EPERM","ENOSPC","EMFILE","permission","memory","fatal","process died","not available on your current plan","agent binary","rate limit","too many requests","hit your limit","you've hit your limit","quota exceeded"]};function re(i){const s=i.toLowerCase();for(const e of rt.NON_RETRYABLE_ERRORS)if(s.includes(e.toLowerCase()))return!0;return!1}const at="Agent already has an in-flight prompt. Message was not delivered.",v=W("ErrorBoundary"),b=class b{constructor(){}static getInstance(){return b.instance||(b.instance=new b),b.instance}async wrap(s,e,t={}){const{retries:r=pe.DEFAULT_ATTEMPTS,retryDelay:a=pe.BASE_DELAY,exponentialBackoff:l=!0,notify:o=!1,notifyOnRetry:f=!1,context:_={},onError:u,onRetry:c,shouldRetry:R=this.defaultShouldRetry}=t;let g=null,d=0;for(d=1;d<=r+1;d++)try{v.debug(`[${e}] Attempt ${d}/${r+1}`);const C=await s();return d>1&&v.info(`[${e}] Succeeded after ${d} attempts`),C}catch(C){if(g=C,v.error(`[${e}] Attempt ${d} failed`,{error:g.message,attempt:d,maxAttempts:r+1,context:_}),u?.(g,d),d<=r&&R(g)){const h=l?a*Math.pow(2,d-1):a;f&&j.warning(n.agent_errorBoundary_retrying_message({seconds:h/1e3})),c?.(d),v.info(`[${e}] Retrying in ${h}ms`),await this.sleep(h)}else break}const k=`${e} failed after ${d} attempt${d===1?"":"s"}: ${g?.message}`,P=ee(g?.message||n.agent_errorBoundary_generic_error()),D=g?.message?.toLowerCase()||"",$=D.includes("no available models")||D.includes("all models exhausted")||D.includes("all models unavailable");throw o&&!$&&j.error(P),new q(P,N.OPERATION_FAILED,{originalError:g?.message,detailedMessage:k,attempts:d,context:_})}async wrapVoid(s,e,t={}){await this.wrap(s,e,t)}wrapSync(s,e,t={}){try{return s()}catch(r){const a=r;throw v.error(`[${e}] Failed`,{error:a.message,context:t.context}),t.notify&&j.error(ee(a.message)),new q(ee(a.message),N.OPERATION_FAILED,t.context)}}defaultShouldRetry(s){const e=s.message.toLowerCase();return re(s.message)?!1:e.includes("network")||e.includes("timeout")?!0:s instanceof q?[N.NETWORK_ERROR,N.STREAM_TIMEOUT,N.STREAM_CONNECTION_FAILED,N.PROVIDER_CONNECTION_FAILED,N.PROVIDER_UNAVAILABLE].includes(s.code):!(e.includes("invalid")||e.includes("interrupted")||e.includes("cancel")||e.includes("not found")||e.includes("not available")||e.includes("404")||e.includes("no available models")||e.includes("all models exhausted")||e.includes("all models unavailable")||e.includes("413")||e.includes("too long for the agent")||e.includes("request entity too large")||e.includes("payload too large")||e.includes("content too large")||e.includes("body too large")||e.includes("unauthorized")||e.includes("forbidden")||e.includes("401")||e.includes("403"))}sleep(s){return new Promise(e=>setTimeout(e,s))}async withTimeout(s,e,t){return Promise.race([s(),new Promise((r,a)=>setTimeout(()=>a(new q(`${t} timed out after ${e}ms`,N.STREAM_TIMEOUT)),e))])}async batchOperations(s,e,t={}){const{concurrency:r=5,continueOnError:a=!0,operationName:l="batch operation"}=t,o=[],f=[];for(let _=0;_<s.length;_+=r){const u=s.slice(_,_+r);(await Promise.allSettled(u.map(R=>e(R)))).forEach((R,g)=>{if(R.status==="fulfilled")o.push(R.value);else{const d=R.reason;if(f.push({item:u[g],error:d}),v.error(`[${l}] Batch item failed`,{item:u[g],error:d.message}),!a)throw d}})}return f.length>0&&v.warn(`[${l}] Completed with ${f.length} errors`),{results:o,errors:f}}};E(b,"instance");let se=b;const nt=se.getInstance(),ie=W("browser/index"),F=new Map,B=new Map;let U;function ot(i,s,e){for(const t of s)try{t(e)}catch(r){ie.error("Error in agent subscriber callback",{agentId:i,error:r})}}function ct(){if(U)return;let i=!1;U=p.createSelector(e=>e.agentSessions)().subscribe(()=>{if(!i){i=!0;return}if(F.size===0)return;const e=p.state;for(const[t,r]of F){const a=Se.select(e,t);B.get(t)!==a&&(B.set(t,a),ot(t,r,a))}})}function lt(){F.size>0||!U||(U(),U=void 0,B.clear())}function Ft(i,s,e){let t=F.get(i);const r=!t;t||(t=new Set,F.set(i,t)),t.add(s),ct();const a=p.state,l=Se.select(a,i);return r&&B.set(i,l),l?ie.debug("[subscribeToAgent] Initial callback data",{agentId:i,workspaceId:e??"current",hasSession:!0}):ie.debug("[subscribeToAgent] No session found",{agentId:i,workspaceId:e??"current"}),s(l),()=>{const o=F.get(i);o&&(o.delete(s),o.size===0&&(F.delete(i),B.delete(i))),lt()}}const y=W("ErrorRecovery"),ye={network:{maxRetries:3,initialBackoffMs:1e3,maxBackoffMs:1e4,backoffMultiplier:2,shouldRetry:i=>{const s=i.message.toLowerCase();return s.includes("network")||s.includes("fetch")||s.includes("connection")||s.includes("timeout")}},streaming:{maxRetries:5,initialBackoffMs:500,maxBackoffMs:5e3,backoffMultiplier:1.5,shouldRetry:(i,s)=>{if(s>=5)return!1;const e=i.message.toLowerCase();return e.includes("no available models")||e.includes("all models exhausted")||e.includes("all models unavailable")||re(i.message)?!1:e.includes("stream")||e.includes("chunk")||e.includes("incomplete")}},persistence:{maxRetries:2,initialBackoffMs:100,maxBackoffMs:1e3,backoffMultiplier:2,shouldRetry:i=>{const s=i.message.toLowerCase();return s.includes("save")||s.includes("write")||s.includes("persist")}},rateLimit:{maxRetries:3,initialBackoffMs:5e3,maxBackoffMs:3e4,backoffMultiplier:2,shouldRetry:i=>{const s=i.message.toLowerCase();return s.includes("rate")||s.includes("limit")||s.includes("429")}}};class ut{constructor(){E(this,"listeners",new Map)}on(s,e){let t=this.listeners.get(s);t||(t=new Set,this.listeners.set(s,t)),t.add(e)}off(s,e){this.listeners.get(s)?.delete(e)}emit(s,...e){this.listeners.get(s)?.forEach(t=>{try{t(...e)}catch(r){y.error(`Error in event listener for ${s}:`,r)}})}removeAllListeners(){this.listeners.clear()}}class dt extends ut{constructor(){super(...arguments);E(this,"activeRecoveries",new Map);E(this,"recoveryStats",new Map)}async executeWithRecovery(e,t=ye.network,r){const a=Date.now(),l=new AbortController;r&&(this.cancelRecovery(r),this.activeRecoveries.set(r,l));let o,f=t.initialBackoffMs,_=0;for(let u=1;u<=t.maxRetries;u++){if(_=u,l.signal.aborted){y.info(`Recovery cancelled for operation ${r}`);break}try{y.debug(`Attempting operation (attempt ${u}/${t.maxRetries})`,{operationId:r});const c=await e();return this.updateStats(r,!0),this.emit("recovery:success",{operationId:r,attempt:u,duration:Date.now()-a}),r&&this.activeRecoveries.delete(r),{success:!0,data:c,attempts:u,totalTime:Date.now()-a}}catch(c){o=c,y.warn(`Operation failed (attempt ${u}/${t.maxRetries})`,{operationId:r,error:o.message});const R=o.message.toLowerCase();if(R.includes("interrupted")||R.includes("cancelled")||R.includes("canceled")){y.debug("User-initiated interruption/cancellation, not retrying",{operationId:r,error:o.message});break}if(R.includes("no available models")||R.includes("all models exhausted")||R.includes("all models unavailable")){y.debug("All models exhausted, not retrying",{operationId:r,error:o.message});break}if(re(o.message)){y.debug("Fatal error detected, not retrying",{operationId:r,error:o.message});break}if(!t.shouldRetry(o,u)){y.debug("Error not retryable, stopping recovery",{operationId:r,error:o.message});break}if(u<t.maxRetries){const g=Math.random()*.2*f,d=Math.min(f+g,t.maxBackoffMs);t.onRetry?.(u,d),this.emit("recovery:retry",{operationId:r,attempt:u,delay:d,error:o.message}),await this.delay(d,l.signal),f=Math.min(f*t.backoffMultiplier,t.maxBackoffMs)}}}return this.updateStats(r,!1),t.onFailure?.(o,_),this.emit("recovery:failure",{operationId:r,attempts:_,duration:Date.now()-a,error:o?.message}),r&&this.activeRecoveries.delete(r),{success:!1,error:o,attempts:_,totalTime:Date.now()-a}}cancelRecovery(e){const t=this.activeRecoveries.get(e);t&&(t.abort(),this.activeRecoveries.delete(e),y.info(`Cancelled recovery for operation ${e}`))}cancelAllRecoveries(){for(const[e,t]of this.activeRecoveries)t.abort(),y.info(`Cancelled recovery for operation ${e}`);this.activeRecoveries.clear()}getStats(e){if(e)return this.recoveryStats.get(e)||{successes:0,failures:0};const t={};for(const[r,a]of this.recoveryStats)t[r]=a;return t}clearStats(e){e?this.recoveryStats.delete(e):this.recoveryStats.clear()}isRetryable(e,t){const r=e.message.toLowerCase();if(t)switch(t){case"NETWORK":return r.includes("network")||r.includes("fetch");case"TIMEOUT":return r.includes("timeout")||r.includes("timed out");case"RATE_LIMIT":return r.includes("rate")||r.includes("limit")||r.includes("429");case"TEMPORARY":return r.includes("temporary")||r.includes("transient");case"CONFLICT":return r.includes("conflict")||r.includes("concurrent");default:return!1}return this.isRetryable(e,"NETWORK")||this.isRetryable(e,"TIMEOUT")||this.isRetryable(e,"RATE_LIMIT")||this.isRetryable(e,"TEMPORARY")||this.isRetryable(e,"CONFLICT")}delay(e,t){return new Promise((r,a)=>{const l=setTimeout(r,e);if(t){const o=()=>{clearTimeout(l),a(new Error("Delay aborted"))};t.addEventListener("abort",o);const f=r;r=()=>{t.removeEventListener("abort",o),f()}}})}updateStats(e,t){if(!e)return;const r=this.recoveryStats.get(e)||{successes:0,failures:0};t?r.successes++:r.failures++,this.recoveryStats.set(e,r)}dispose(){this.cancelAllRecoveries(),this.recoveryStats.clear(),this.removeAllListeners()}}const mt=new dt,O=new Ye({category:"WorkspaceMetrics"}),Et=100;class ft{constructor(){E(this,"metrics",new Map);E(this,"operations",new Map)}startWorkspaceCreation(s){const e=Date.now();for(this.metrics.delete(s),this.metrics.set(s,{workspaceId:s,creationStarted:e});this.metrics.size>Et;){const t=this.metrics.keys().next().value;if(t===void 0)break;this.metrics.delete(t)}O.info("Started tracking workspace creation",{workspaceId:s})}recordMilestone(s,e){const t=this.metrics.get(s);if(!t){O.warn("No metrics found for workspace",{workspaceId:s,milestone:e});return}const r=Date.now();switch(e){case"optimisticNavigation":t.optimisticNavigation=r;break;case"realWorkspaceCreated":t.realWorkspaceCreated=r;break;case"agentCreated":t.agentCreated=r;break;case"agentReady":t.agentReady=r;break;case"firstMessageSent":t.firstMessageSent=r;break;case"firstResponseReceived":t.firstResponseReceived=r;break;case"firstChunkReceived":t.firstChunkReceived=r;break;case"totalDuration":t.totalDuration=r;break;case"workspaceId":case"creationStarted":O.warn("Cannot update milestone",{milestone:e});return}const a=r-t.creationStarted;O.info(`Milestone: ${e}`,{workspaceId:s,elapsed:`${a}ms`,timestamp:r}),e==="firstResponseReceived"&&(t.totalDuration=r-t.creationStarted,this.logSummary(s))}startOperation(s,e){this.operations.set(s,{startTime:Date.now(),metadata:e})}endOperation(s,e){const t=this.operations.get(s);if(!t)return O.warn("Operation not found",{operationId:s}),null;const r=Date.now();return t.endTime=r,t.duration=r-t.startTime,e&&(t.metadata={...t.metadata,...e}),O.info("Operation completed",{operationId:s,duration:`${t.duration}ms`,metadata:t.metadata}),this.operations.delete(s),t.duration}getMetrics(s){return this.metrics.get(s)}logSummary(s){const e=this.metrics.get(s);if(!e)return;const t={workspaceId:s,totalDuration:`${e.totalDuration}ms`,stages:{optimisticNavigation:e.optimisticNavigation?`${e.optimisticNavigation-e.creationStarted}ms`:"N/A",realWorkspaceCreation:e.realWorkspaceCreated?`${e.realWorkspaceCreated-e.creationStarted}ms`:"N/A",agentCreation:e.agentCreated?`${e.agentCreated-e.creationStarted}ms`:"N/A",agentReady:e.agentReady?`${e.agentReady-e.creationStarted}ms`:"N/A",firstMessage:e.firstMessageSent?`${e.firstMessageSent-e.creationStarted}ms`:"N/A",firstResponse:e.firstResponseReceived?`${e.firstResponseReceived-e.creationStarted}ms`:"N/A"}};O.info("=== Workspace Creation Metrics Summary ===",t),O.info("Workspace Creation Metrics:",t)}clearMetrics(s){this.metrics.delete(s)}incrementAgentCreated(s){const e=this.metrics.get(s);e&&(e.agentCreated=Date.now(),O.info("Agent created",{workspaceId:s}))}incrementMessageSent(s){const e=this.metrics.get(s);e&&!e.firstMessageSent&&(e.firstMessageSent=Date.now(),O.info("First message sent",{workspaceId:s}))}}const _t=new ft,M=W("AgentSend");function A(i){p.dispatch(i)}function Ie(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)}function ht(i){const s=Ie(i)&&i.success===!0&&"data"in i?i.data:i;return!Ie(s)||s.success!==!1?!1:typeof s.error=="string"&&s.error.includes(at)}async function kt(i,s,e,t={}){const r=ge.select(p.state,e.id);if(!r)return;const a=Le(i,e.id),l=t.submission,o=!!l&&we.select(p.state,l.scope)?.supported===!0,f=(c,R,g=!1)=>{l&&A(Xe(l.scope,l.id,c,Date.now(),R,g))};let _=!1;const u=()=>(!l||_||be.select(p.state,l))&&r===ge.select(p.state,e.id)&&a.isCurrent(p.state.agentSessions?.byAgentId[i]?.workspaceId);return Qe.track(`sendMessage:${a.key}:${i}:${l?.id??"legacy"}`,async()=>{if(!u())return;M.debug(`Sending message to agent ${i}`,{contentLength:s.length,hasContextReferences:!!t.contextReferences?.length,model:t.model});let c=await p.dispatch(Fe(e.id,i));if(u()){if(!c)throw new Error(n.agent_streamLifecycle_sessionNotFound_error({agentId:i}));c={...c,isStreaming:c.isStreaming??!1};{if(c&&(c.status==="pending"||!c.id)&&!c.backendSessionId&&c.activationState!==K.ACTIVE&&c.activationState!==K.ACTIVATING){const h=e.id.startsWith("optimistic-"),Y=e.worktreePath||e.repositoryPath||e.path;if(!h&&Y){M.info("Activating pending session in sendMessage",{agentId:i,status:c.status,activationState:c.activationState,hasBackendSessionId:!!c.backendSessionId});const x=await p.dispatch(ke(e.id,i));if(!u())return;x&&(c=x)}else throw M.warn("Cannot activate agent - workspace not ready",{agentId:i,workspaceId:e.id,isOptimistic:h,hasWorktreePath:!!e.worktreePath,hasRepositoryPath:!!e.repositoryPath,hasPath:!!e.path}),new Error(n.agent_streamLifecycle_spaceNotReady_error())}else c&&c.status==="pending"&&c.backendSessionId&&(M.info("Fixing status for already-activated session",{agentId:i,backendSessionId:c.backendSessionId,activationState:c.activationState}),c={...c,status:Ge.Active,activationState:K.ACTIVE},A(me({...c,workspaceId:e.id})));if(!c)throw new Error(`Failed to get or create session for agent ${i}`);A(me({...c,workspaceId:e.id}));const g=[{type:"text",text:s}];if(t.imageBlocks)for(const h of t.imageBlocks)g.push({type:"image",...h.data!==void 0?{data:h.data}:{},...h.mimeType!==void 0?{mimeType:h.mimeType}:{},...h.attachmentId!==void 0?{attachmentId:h.attachmentId}:{}});if(t.fileBlocks)for(const h of t.fileBlocks)g.push({type:"file",attachmentId:h.attachmentId,fileName:h.fileName,...h.mimeType!==void 0?{mimeType:h.mimeType}:{},...h.size!==void 0?{size:h.size}:{}});const d=t.userAppMessageId??ce(),k=t.messageMetadata?.[Re],P={...t.contextReferences?.length?{contextReferences:t.contextReferences}:{},...k!==void 0?{[Re]:k}:{}},D={id:Ee(ue()),appMessageId:d,role:"user",contentBlocks:g,timestamp:new Date().toISOString(),metadata:{...P,...t.messageMetadata??{}}};o||(l&&(f("rejected"),_=!0),A(Pe(c.id,D))),A(H(c.id,!0));let $=!1,C;try{o||await p.dispatch(xe(e.id,i,!0,{allowTruncation:t.resetHistory}));const h=Ee(`msg_${ue()}`),Y=ce(),x=async()=>nt.wrap(async()=>{if(!u())return;M.info("Agent Service: Sending message to backend with image and file blocks",{agentId:i,sessionId:c.id,hasImageBlocks:!!t.imageBlocks,imageBlocksCount:t.imageBlocks?.length||0,imageBlockDetails:t.imageBlocks?.map(m=>({type:m.type,mimeType:m.mimeType,dataLength:m.data?.length||0}))||[],hasFileBlocks:!!t.fileBlocks,fileBlocksCount:t.fileBlocks?.length||0,fileBlockDetails:t.fileBlocks?.map(m=>({type:m.type,fileName:m.fileName,mimeType:m.mimeType,attachmentId:m.attachmentId,size:m.size}))||[]});const Me=t.model??t.modelId??c.model??void 0;A(Ve(i));const Ne=le(i,e.id),ne=p.state.chatState?.byAgentId[i]?.attemptGeneration??0,T=await qe("agent.sendMessage",{agentId:i,...o&&l?{messageId:l.id}:{},workspaceId:e.id,content:s,model:Me,contextReferences:t.contextReferences,imageBlocks:t.imageBlocks,fileBlocks:t.fileBlocks,noteIds:t.noteIds,stdinContext:t.stdinContext,assistantMessageId:h,userAppMessageId:d,assistantAppMessageId:Y,priority:t.priority,...t.messageMetadata?{messageMetadata:t.messageMetadata}:{}}).catch(m=>{if(u())throw Ke(m)&&(C=m),m});if(u()){if(ht(T)){M.info("Backend dropped duplicate in-flight prompt",{agentId:i,sessionId:c.id}),f("rejected");return}if(T&&typeof T=="object"&&"success"in T){if(!T.success){const m=T.error,I=typeof m=="string"?m:m?.message;throw $=!0,new Error(I||n.agent_streamLifecycle_sendToBackendFailed_error())}if("queued"in T&&T.queued===!0){if(M.info("sendMessage auto-queued by daemon (mid-turn or turn-startup race)",{agentId:i,sessionId:c.id,queuedMessageId:T.queuedMessage?.id}),(!o||!l||!de.select(p.state,l))&&A(H(c.id,!1)),o||A(Ue(c.id,D.id)),o){const I=T.queuedMessage,G=T.turnId,L=typeof G=="string"?G:I?.turnId;if(I&&typeof L=="string"){const S=fe(s,t),X=Q.select(p.state,i,e.id).find(oe=>oe.id===I.id||oe.turnId===L);A(_e(i,I.id,S,L,he(X??I,S),!X&&!!l&&de.select(p.state,l),ne))}f("accepted",I,!0),z(i,e.id);return}const m=T.queuedMessage;if(m){const I=T.turnId,G=typeof I=="string"?I:m.turnId;let L=m;if(u()&&le(i,e.id)===Ne){const S=Q.select(p.state,i,e.id),X=ze(S,m);A(Be(i,X,e.id))}else u()&&(M.debug("queued-response queue seed superseded by an authoritative snapshot; reconciling via hydrate",{agentId:i,queuedMessageId:m.id}),await z(i,e.id).catch(()=>{}),L=Q.select(p.state,i,e.id).find(S=>S.id===m.id||S.turnId===G));if(u()&&typeof G=="string"){const S=fe(s,t);A(_e(i,m.id,S,G,he(L??m,S),!L,ne))}else u()&&M.warn("auto-queued sendMessage response carried no turnId; retry record not parked",{agentId:i,queuedMessageId:m.id})}return}}o&&(f("accepted"),z(i,e.id),ve(i,e.id)),_t.incrementMessageSent(e.id)}},"send message",{retries:o?0:2,notify:!1,context:{agentId:i,workspace:e.id}}),ae=o?await x().then(()=>({success:!0,error:void 0})):await mt.executeWithRecovery(x,ye.streaming,`send-message-${i}`);if(!ae.success)throw ae.error||new Error(n.agent_streamLifecycle_sendFailed_error())}catch(h){if(!u())return;throw A(H(c.id,!1)),!o&&t.messageMetadata&&A($e(c.id,D.id,{metadata:P})),o&&f($||C?"rejected":"uncertain"),C??h}}}},{memoize:!1,coalesce:!0,priority:"high"})}export{Te as U,Ft as a,ee as c,ze as r,kt as s,Ke as u,bt as w};
1
+ var De=Object.defineProperty;var Ce=(i,s,e)=>s in i?De(i,s,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[s]=e;var E=(i,s,e)=>Ce(i,typeof s!="symbol"?s+"":s,e);import{K as Le,P as ce,a6 as le,as as z,aC as ve}from"./DWurigib.js";import{b_ as we,c$ as ue,cr as de,cq as be}from"./CNKJ8_Xr.js";import{JH as p,Cg as Fe,bJ as ke,i as Ge,LM as me,ir as Ee,bV as Pe,Ec as H,CF as xe,fl as Ve,AL as Ue,e3 as fe,fh as _e,e2 as he,Be,Lq as $e,wy as Xe}from"./D0qhIm1r.js";import{aO as Se,dX as ge,A as K,P as Re,aK as Q}from"./cD292w1o.js";import{h as qe}from"./BAtAwQ72.js";import{c as W}from"./ChTqQfQN.js";import{a as We}from"./BdWqymET.js";import{m as j}from"./DkQdSPDN.js";import"./3SdAC2_C.js";import{bm as n}from"./Fcr7AvC-.js";import"./BRCr02in.js";import"./CWfjuhY2.js";import"./DRMe5Ypb.js";import{R as pe}from"./B5aYN90J.js";import{L as Ye}from"./CSiaiLHL.js";function ze(i,s){return i.some(e=>e.id===s.id)?i.map(e=>e.id===s.id?{...s,...s.author==null&&e.author!==void 0?{author:e.author}:{}}:e):[...i,s]}const Te="confirmUnslothModelSwitch";function He(i){if(!i||typeof i!="object")return!1;const{agentId:s,agentName:e,workspaceId:t,workspaceTitle:r}=i;return typeof s=="string"&&typeof e=="string"&&typeof t=="string"&&(r===null||typeof r=="string")}function Ke(i){for(let s=i,e=0;s&&e<4;e++){const t=s.data;if(t&&typeof t=="object"){const{code:r,currentModel:a,requestedModel:l,agents:o}=t;if(r==="unsloth-model-switch-confirmation-required"&&typeof a=="string"&&typeof l=="string"&&Array.isArray(o)&&o.every(He))return{currentModel:a,requestedModel:l,agents:o}}s=s.cause}}function bt(i){if(!i||!(Te in i))return i;const{[Te]:s,...e}=i;return Object.keys(e).length>0?e:void 0}const Z=typeof performance<"u"?performance:{now:()=>Date.now()},V=new We("PerformanceOptimizer"),w=class w{constructor(){E(this,"metricsBuffer");E(this,"metricsIndex",0);E(this,"metricsCount",0);E(this,"MAX_METRICS",500);E(this,"TARGET_RESPONSE_TIME",100);E(this,"memoCache",new Map);E(this,"MEMO_TTL",6e4);E(this,"MAX_CACHE_SIZE",100);E(this,"cacheHits",0);E(this,"cacheMisses",0);E(this,"pendingRequests",new Map);E(this,"requestQueue",[]);E(this,"cleanupInterval",null);this.metricsBuffer=new Array(this.MAX_METRICS).fill(null),this.startCacheCleanup(),V.info("PerformanceOptimizer initialized")}static getInstance(){return w.instance||(w.instance=new w),w.instance}reset(){this.metricsBuffer=new Array(this.MAX_METRICS).fill(null),this.metricsIndex=0,this.metricsCount=0,this.memoCache.clear(),this.pendingRequests.clear(),this.requestQueue=[],this.cacheHits=0,this.cacheMisses=0}clearCache(){this.memoCache.clear(),this.cacheHits=0,this.cacheMisses=0}async processBatch(s,e,t={}){const{batchSize:r=10,concurrency:a=4}=t,l=[];for(let o=0;o<s.length;o+=r){const _=s.slice(o,o+r).map((c,R)=>{const g=Math.floor(R/a)*10;return new Promise(d=>{setTimeout(async()=>{const k=await e(c);d(k)},g)})}),u=await Promise.all(_);l.push(...u)}return l}startCacheCleanup(){this.cleanupInterval=setInterval(()=>{this.cleanupCache()},3e4)}stopCacheCleanup(){this.cleanupInterval&&(clearInterval(this.cleanupInterval),this.cleanupInterval=null)}cleanupCache(){const s=Date.now(),e=[];this.memoCache.forEach((t,r)=>{s-t.timestamp>this.MEMO_TTL&&e.push(r)}),e.forEach(t=>this.memoCache.delete(t)),this.memoCache.size>this.MAX_CACHE_SIZE&&Array.from(this.memoCache.entries()).sort((a,l)=>a[1].hits-l[1].hits||a[1].timestamp-l[1].timestamp).slice(0,this.memoCache.size-this.MAX_CACHE_SIZE).forEach(([a])=>this.memoCache.delete(a))}async track(s,e,t={}){const r=Z.now();try{const a=t.cacheKey||s;if(t.memoize){const _=this.getMemoized(a);if(_!==void 0)return this.cacheHits++,V.debug("Memoized result used",{operation:s,cacheKey:a,hits:this.cacheHits}),_;this.cacheMisses++}if(t.coalesce){const _=this.pendingRequests.get(s);if(_)return V.debug("Request coalesced",{operation:s}),_}let l;t.coalesce?(l=t.timeout?this.withTimeout(e(),t.timeout):e(),this.pendingRequests.set(s,l)):l=t.timeout?this.withTimeout(e(),t.timeout):e();const o=await l;t.memoize&&this.memoize(a,o);const f=Z.now()-r;return this.recordMetric(s,f,!0,{strategy:t.priority||"normal",memoized:t.memoize||!1,coalesced:t.coalesce||!1}),f>this.TARGET_RESPONSE_TIME&&V.warn("Operation exceeded target time",{operation:s,duration:Math.round(f),target:this.TARGET_RESPONSE_TIME}),o}catch(a){const l=Z.now()-r;throw this.recordMetric(s,l,!1,{error:a instanceof Error?a.message:"Unknown error"}),a}finally{t.coalesce&&this.pendingRequests.delete(s)}}getStats(){if(this.metricsCount===0)return{avgResponseTime:0,p95ResponseTime:0,p99ResponseTime:0,successRate:100,slowOperations:[]};const s=[],e=this.metricsCount<this.MAX_METRICS?0:this.metricsIndex;for(let u=0;u<this.metricsCount;u++){const c=this.metricsBuffer[(e+u)%this.MAX_METRICS];c&&s.push(c)}if(s.length===0)return{avgResponseTime:0,p95ResponseTime:0,p99ResponseTime:0,successRate:100,slowOperations:[]};const t=s.sort((u,c)=>u.duration-c.duration);let r=0,a=0;const l=new Set;for(const u of s)a+=u.duration,u.success&&r++,u.duration>this.TARGET_RESPONSE_TIME&&l.add(u.operation);const o=a/s.length,f=Math.floor(t.length*.95),_=Math.floor(t.length*.99);return{avgResponseTime:Math.round(o),p95ResponseTime:Math.round(t[f]?.duration||0),p99ResponseTime:Math.round(t[_]?.duration||0),successRate:r/s.length*100,slowOperations:Array.from(l)}}getCacheStats(){const s=this.cacheHits+this.cacheMisses;return{size:this.memoCache.size,hitRate:s>0?this.cacheHits/s*100:0,hits:this.cacheHits,misses:this.cacheMisses}}getMemoized(s){const e=this.memoCache.get(s);if(e){if(Date.now()-e.timestamp>this.MEMO_TTL){this.memoCache.delete(s);return}return e.hits++,e.value}}memoize(s,e){const t=JSON.stringify(e).length;this.memoCache.set(s,{value:e,timestamp:Date.now(),hits:0,size:t}),this.memoCache.size>this.MAX_CACHE_SIZE&&this.cleanupCache()}async withTimeout(s,e){return Promise.race([s,new Promise((t,r)=>setTimeout(()=>r(new Error(`Operation timed out after ${e}ms`)),e))])}recordMetric(s,e,t,r){this.metricsBuffer[this.metricsIndex]={operation:s,duration:e,timestamp:Date.now(),success:t,metadata:r},this.metricsIndex=(this.metricsIndex+1)%this.MAX_METRICS,this.metricsCount<this.MAX_METRICS&&this.metricsCount++,e>this.TARGET_RESPONSE_TIME&&V.warn("Slow operation detected",{operation:s,duration:`${e.toFixed(2)}ms`,target:`${this.TARGET_RESPONSE_TIME}ms`,metadata:r})}};E(w,"instance");let te=w;const Qe=te.getInstance(),Ae={AGENT_CREATION:"https://docs.example.com/agent-creation",STREAMING:"https://docs.example.com/streaming-issues",STORAGE:"https://docs.example.com/storage-troubleshooting",MEMORY:"https://docs.example.com/memory-management",PROVIDER:"https://docs.example.com/provider-setup",GENERAL:"https://docs.example.com/help"},J={get AGENT_CREATION_FAILED(){return n.errors_catalog_agentCreationFailed_template({agentName:"{agentName}",details:"{details}"})},get AGENT_ALREADY_EXISTS(){return n.errors_catalog_agentAlreadyExists_template({agentName:"{agentName}"})},get INVALID_AGENT_CONFIG(){return n.errors_catalog_invalidAgentConfig_template({details:"{details}"})},get INVALID_CONFIG(){return n.errors_catalog_invalidConfig_template({details:"{details}"})},get SESSION_NOT_FOUND(){return n.errors_catalog_sessionNotFound_template({sessionId:"{sessionId}"})},get SESSION_ALREADY_ACTIVE(){return n.errors_catalog_sessionAlreadyActive_template()},get SESSION_INITIALIZATION_FAILED(){return n.errors_catalog_sessionInitializationFailed_template({details:"{details}"})},get STREAM_CONNECTION_FAILED(){return n.errors_catalog_streamConnectionFailed_template({details:"{details}"})},get STREAM_TIMEOUT(){return n.errors_catalog_streamTimeout_template({timeout:"{timeout}"})},get STREAM_INTERRUPTED(){return n.errors_catalog_streamInterrupted_template({attempt:"{attempt}",maxAttempts:"{maxAttempts}"})},get STREAM_RECOVERY_FAILED(){return n.errors_catalog_streamRecoveryFailed_template({attempts:"{attempts}"})},get MESSAGE_SEND_FAILED(){return n.errors_catalog_messageSendFailed_template({details:"{details}"})},get MESSAGE_VALIDATION_FAILED(){return n.errors_catalog_messageValidationFailed_template({details:"{details}"})},get MESSAGE_TOO_LONG(){return n.errors_catalog_messageTooLong_template({maxLength:"{maxLength}",currentLength:"{currentLength}"})},get PROVIDER_NOT_FOUND(){return n.errors_catalog_providerNotFound_template({provider:"{provider}"})},get PROVIDER_CONNECTION_FAILED(){return n.errors_catalog_providerConnectionFailed_template({provider:"{provider}",details:"{details}"})},get PROVIDER_PROCESS_DIED(){return n.errors_catalog_providerProcessDied_template({provider:"{provider}"})},get STORAGE_READ_FAILED(){return n.errors_catalog_storageReadFailed_template({details:"{details}"})},get STORAGE_WRITE_FAILED(){return n.errors_catalog_storageWriteFailed_template({details:"{details}"})},get STORAGE_CORRUPTED(){return n.errors_catalog_storageCorrupted_template({lastBackup:"{lastBackup}"})},get MEMORY_LIMIT_EXCEEDED(){return n.errors_catalog_memoryLimitExceeded_template({currentUsage:"{currentUsage}",limit:"{limit}"})},get RATE_LIMIT_EXCEEDED(){return n.errors_catalog_rateLimitExceeded_template({count:"{count}",window:"{window}"})},get CONCURRENT_LIMIT_EXCEEDED(){return n.errors_catalog_concurrentLimitExceeded_template({current:"{current}",max:"{max}"})}},je={get AGENT_CREATION_FAILED(){return n.errors_catalog_agentCreationFailed_friendly()},get AGENT_ALREADY_EXISTS(){return n.errors_catalog_agentAlreadyExists_friendly()},get INVALID_AGENT_CONFIG(){return n.errors_catalog_invalidAgentConfig_friendly()},get INVALID_CONFIG(){return n.errors_catalog_invalidConfig_friendly()},get SESSION_NOT_FOUND(){return n.errors_catalog_sessionNotFound_friendly()},get SESSION_ALREADY_ACTIVE(){return n.errors_catalog_sessionAlreadyActive_friendly()},get SESSION_INITIALIZATION_FAILED(){return n.errors_catalog_sessionInitializationFailed_friendly()},get STREAM_CONNECTION_FAILED(){return n.errors_catalog_streamConnectionFailed_friendly()},get STREAM_TIMEOUT(){return n.errors_catalog_streamTimeout_friendly()},get STREAM_INTERRUPTED(){return n.errors_catalog_streamInterrupted_friendly()},get STREAM_RECOVERY_FAILED(){return n.errors_catalog_streamRecoveryFailed_friendly()},get MESSAGE_SEND_FAILED(){return n.errors_catalog_messageSendFailed_friendly()},get MESSAGE_VALIDATION_FAILED(){return n.errors_catalog_messageValidationFailed_friendly()},get MESSAGE_TOO_LONG(){return n.errors_catalog_messageTooLong_friendly()},get PROVIDER_NOT_FOUND(){return n.errors_catalog_providerNotFound_friendly()},get PROVIDER_CONNECTION_FAILED(){return n.errors_catalog_providerConnectionFailed_friendly()},get PROVIDER_PROCESS_DIED(){return n.errors_catalog_providerProcessDied_friendly()},get STORAGE_READ_FAILED(){return n.errors_catalog_storageReadFailed_friendly()},get STORAGE_WRITE_FAILED(){return n.errors_catalog_storageWriteFailed_friendly()},get STORAGE_CORRUPTED(){return n.errors_catalog_storageCorrupted_friendly()},get MEMORY_LIMIT_EXCEEDED(){return n.errors_catalog_memoryLimitExceeded_friendly()},get RATE_LIMIT_EXCEEDED(){return n.errors_catalog_rateLimitExceeded_friendly()},get CONCURRENT_LIMIT_EXCEEDED(){return n.errors_catalog_concurrentLimitExceeded_friendly()}};function Ze(i){return(i.match(/{(\w+)}/g)||[]).map(e=>e.slice(1,-1))}function Je(i,s){return Ze(i).every(t=>t in s)}function Oe(i,s={}){return i.replace(/{(\w+)}/g,(e,t)=>String(s[t]??e))}function ee(i){const s=n.errors_cleanMessage_fallback_error();if(!i)return s;let e=i;return e=e.replace(/^.*?failed(?:\s+to\s+.*?)?\s+after\s+\d+\s+attempts:\s*/i,""),e=e.replace(/^Error invoking remote method '[^']+':(\s*Error:)?\s*/i,""),e=e.replace(/^(Error:\s*)+/i,""),e=e.replace(/\n\s*at .+/g,""),e=e.replace(/\s+/g," ").trim(),e||s}function et(i,s){return s&&J[i]&&Je(J[i],s)?Oe(J[i],s):je[i]||n.errors_userFriendly_fallback_error()}function tt(i){const e={AGENT_CREATION_FAILED:"AGENT_CREATION",AGENT_ALREADY_EXISTS:"AGENT_CREATION",INVALID_AGENT_CONFIG:"AGENT_CREATION",STREAM_CONNECTION_FAILED:"STREAMING",STREAM_TIMEOUT:"STREAMING",STREAM_INTERRUPTED:"STREAMING",STREAM_RECOVERY_FAILED:"STREAMING",STORAGE_READ_FAILED:"STORAGE",STORAGE_WRITE_FAILED:"STORAGE",STORAGE_CORRUPTED:"STORAGE",MEMORY_LIMIT_EXCEEDED:"MEMORY",RATE_LIMIT_EXCEEDED:"MEMORY",CONCURRENT_LIMIT_EXCEEDED:"MEMORY",PROVIDER_NOT_FOUND:"PROVIDER",PROVIDER_CONNECTION_FAILED:"PROVIDER",PROVIDER_PROCESS_DIED:"PROVIDER"}[i];return e?Ae[e]:Ae.GENERAL}const st={AGENT_CREATION_FAILED:[{action:"retry",description:"Try creating the agent again",automatic:!1,priority:"high"},{action:"check-config",description:"Verify agent configuration in settings",automatic:!1,priority:"high"},{action:"check-resources",description:"Ensure sufficient memory and disk space",automatic:!1,priority:"medium"}],AGENT_ALREADY_EXISTS:[{action:"rename",description:"Choose a different name for the agent",automatic:!1,priority:"high"},{action:"delete-existing",description:"Delete the existing agent first",automatic:!1,priority:"medium"}],INVALID_AGENT_CONFIG:[{action:"review-config",description:"Review and correct the configuration",automatic:!1,priority:"high"},{action:"use-defaults",description:"Reset to default configuration",automatic:!1,priority:"medium"}],INVALID_CONFIG:[{action:"review-config",description:"Review and correct the configuration",automatic:!1,priority:"high"},{action:"use-defaults",description:"Reset to default configuration",automatic:!1,priority:"medium"}],SESSION_NOT_FOUND:[{action:"start-new",description:"Start a new agent session",automatic:!1,priority:"high"},{action:"check-history",description:"Check session history for recent sessions",automatic:!1,priority:"medium"}],SESSION_ALREADY_ACTIVE:[{action:"wait",description:"Wait for the current session to complete",automatic:!1,priority:"high"},{action:"cancel",description:"Cancel the active session first",automatic:!1,priority:"high"}],SESSION_INITIALIZATION_FAILED:[{action:"retry",description:"Try initializing the session again",automatic:!1,priority:"high"},{action:"check-resources",description:"Ensure sufficient resources are available",automatic:!1,priority:"medium"}],MESSAGE_SEND_FAILED:[{action:"retry",description:"Try sending the message again",automatic:!1,priority:"high"},{action:"check-connection",description:"Check your network connection",automatic:!1,priority:"high"}],MESSAGE_VALIDATION_FAILED:[{action:"review-config",description:"Review and correct the message format",automatic:!1,priority:"high"},{action:"check-config",description:"Check configuration for valid message format",automatic:!1,priority:"medium"}],MESSAGE_TOO_LONG:[{action:"retry",description:"Shorten the message and try again",automatic:!1,priority:"high"},{action:"batch",description:"Split the message into multiple parts",automatic:!1,priority:"medium"}],PROVIDER_NOT_FOUND:[{action:"check-config",description:"Verify provider is properly configured",automatic:!1,priority:"high"},{action:"recreate",description:"Install or reinstall the provider",automatic:!1,priority:"high"}],PROVIDER_CONNECTION_FAILED:[{action:"retry",description:"Try connecting to the provider again",automatic:!1,priority:"high"},{action:"check-config",description:"Verify provider configuration",automatic:!1,priority:"high"}],STORAGE_READ_FAILED:[{action:"retry",description:"Try reading the data again",automatic:!1,priority:"high"},{action:"restore",description:"Restore from a recent backup",automatic:!1,priority:"medium"}],STORAGE_WRITE_FAILED:[{action:"retry",description:"Try saving again",automatic:!1,priority:"high"},{action:"check-resources",description:"Check available disk space",automatic:!1,priority:"high"}],STREAM_CONNECTION_FAILED:[{action:"retry",description:"Try connecting again",automatic:!1,priority:"high"},{action:"check-connection",description:"Check your network connection",automatic:!1,priority:"high"}],STREAM_RECOVERY_FAILED:[{action:"restart",description:"Restart the agent",automatic:!1,priority:"high"},{action:"check-config",description:"Check error logs for more details",automatic:!1,priority:"medium"}],STREAM_INTERRUPTED:[{action:"reconnect",description:"Attempting automatic reconnection",automatic:!0,priority:"high"},{action:"retry",description:"Retry sending the message",automatic:!1,priority:"high"},{action:"check-connection",description:"Check your internet connection",automatic:!1,priority:"medium"}],STREAM_TIMEOUT:[{action:"wait",description:"Wait for agent to complete processing",automatic:!1,priority:"high"},{action:"cancel",description:"Cancel current operation",automatic:!1,priority:"medium"},{action:"increase-timeout",description:"Increase timeout in settings",automatic:!1,priority:"low"}],PROVIDER_PROCESS_DIED:[{action:"restart",description:"Restart agent process",automatic:!0,priority:"high"},{action:"recreate",description:"Create new agent session",automatic:!1,priority:"high"}],STORAGE_CORRUPTED:[{action:"restore",description:"Restore from backup",automatic:!1,priority:"high"},{action:"reset",description:"Reset agent data",automatic:!1,priority:"medium"}],MEMORY_LIMIT_EXCEEDED:[{action:"cleanup",description:"Close unused agents",automatic:!1,priority:"high"},{action:"increase-limit",description:"Increase memory limit in settings",automatic:!1,priority:"medium"}],RATE_LIMIT_EXCEEDED:[{action:"wait",description:"Wait before making more requests",automatic:!1,priority:"high"},{action:"batch",description:"Batch requests together",automatic:!1,priority:"medium"}],CONCURRENT_LIMIT_EXCEEDED:[{action:"close-agents",description:"Close some running agents",automatic:!1,priority:"high"},{action:"queue",description:"Queue operation for later",automatic:!1,priority:"medium"}]};function it(i){return st[i]||[{action:"retry",description:"Try the operation again",automatic:!1,priority:"high"}]}var N=(i=>(i.AGENT_CREATION_FAILED="AGENT_CREATION_FAILED",i.AGENT_ALREADY_EXISTS="AGENT_ALREADY_EXISTS",i.INVALID_AGENT_CONFIG="INVALID_AGENT_CONFIG",i.INVALID_CONFIG="INVALID_CONFIG",i.SESSION_NOT_FOUND="SESSION_NOT_FOUND",i.SESSION_ALREADY_ACTIVE="SESSION_ALREADY_ACTIVE",i.SESSION_INITIALIZATION_FAILED="SESSION_INITIALIZATION_FAILED",i.STREAM_CONNECTION_FAILED="STREAM_CONNECTION_FAILED",i.STREAM_TIMEOUT="STREAM_TIMEOUT",i.STREAM_INTERRUPTED="STREAM_INTERRUPTED",i.STREAM_RECOVERY_FAILED="STREAM_RECOVERY_FAILED",i.MESSAGE_SEND_FAILED="MESSAGE_SEND_FAILED",i.MESSAGE_VALIDATION_FAILED="MESSAGE_VALIDATION_FAILED",i.MESSAGE_TOO_LONG="MESSAGE_TOO_LONG",i.PROVIDER_NOT_FOUND="PROVIDER_NOT_FOUND",i.PROVIDER_CONNECTION_FAILED="PROVIDER_CONNECTION_FAILED",i.PROVIDER_PROCESS_DIED="PROVIDER_PROCESS_DIED",i.PROVIDER_UNAVAILABLE="PROVIDER_UNAVAILABLE",i.PROVIDER_ERROR="PROVIDER_ERROR",i.STORAGE_READ_FAILED="STORAGE_READ_FAILED",i.STORAGE_WRITE_FAILED="STORAGE_WRITE_FAILED",i.STORAGE_CORRUPTED="STORAGE_CORRUPTED",i.STORAGE_ERROR="STORAGE_ERROR",i.STORAGE_QUOTA_EXCEEDED="STORAGE_QUOTA_EXCEEDED",i.MEMORY_LIMIT_EXCEEDED="MEMORY_LIMIT_EXCEEDED",i.RATE_LIMIT_EXCEEDED="RATE_LIMIT_EXCEEDED",i.CONCURRENT_LIMIT_EXCEEDED="CONCURRENT_LIMIT_EXCEEDED",i.RESOURCE_NOT_FOUND="RESOURCE_NOT_FOUND",i.RESOURCE_EXHAUSTED="RESOURCE_EXHAUSTED",i.NETWORK_ERROR="NETWORK_ERROR",i.PERMISSION_DENIED="PERMISSION_DENIED",i.OPERATION_FAILED="OPERATION_FAILED",i.VALIDATION_ERROR="VALIDATION_ERROR",i.INVALID_RESPONSE="INVALID_RESPONSE",i.STATE_CORRUPTION="STATE_CORRUPTION",i.CONTEXT_OVERFLOW="CONTEXT_OVERFLOW",i))(N||{});class q extends Error{constructor(e,t,r={},a){super(e);E(this,"code");E(this,"context");E(this,"recoverySuggestions");E(this,"userMessage");E(this,"isRecoverable");E(this,"cause");this.name="AgentError",this.code=t,this.context={...r,timestamp:new Date,stackTrace:this.stack},this.userMessage=a?.userMessage||this.getDefaultUserMessage(t),this.recoverySuggestions=a?.recoverySuggestions||this.getDefaultRecoverySuggestions(t),this.isRecoverable=a?.isRecoverable??this.isErrorRecoverable(t),a?.cause&&(this.cause=a.cause)}getDefaultUserMessage(e){return et(e,this.context)}getDefaultRecoverySuggestions(e){return it(e)}isErrorRecoverable(e){return["STREAM_INTERRUPTED","STREAM_TIMEOUT","MESSAGE_SEND_FAILED","PROVIDER_PROCESS_DIED","STORAGE_READ_FAILED","STORAGE_WRITE_FAILED"].includes(e)}getHelpLink(){return tt(this.code)}formatMessage(e){return Oe(e,this.context)}toJSON(){return{name:this.name,code:this.code,message:this.message,userMessage:this.userMessage,context:this.context,recoverySuggestions:this.recoverySuggestions,isRecoverable:this.isRecoverable,helpLink:this.getHelpLink(),stack:this.stack}}}const rt={NON_RETRYABLE_ERRORS:["EACCES","EPERM","ENOSPC","EMFILE","permission","memory","fatal","process died","not available on your current plan","agent binary","rate limit","too many requests","hit your limit","you've hit your limit","quota exceeded"]};function re(i){const s=i.toLowerCase();for(const e of rt.NON_RETRYABLE_ERRORS)if(s.includes(e.toLowerCase()))return!0;return!1}const at="Agent already has an in-flight prompt. Message was not delivered.",v=W("ErrorBoundary"),b=class b{constructor(){}static getInstance(){return b.instance||(b.instance=new b),b.instance}async wrap(s,e,t={}){const{retries:r=pe.DEFAULT_ATTEMPTS,retryDelay:a=pe.BASE_DELAY,exponentialBackoff:l=!0,notify:o=!1,notifyOnRetry:f=!1,context:_={},onError:u,onRetry:c,shouldRetry:R=this.defaultShouldRetry}=t;let g=null,d=0;for(d=1;d<=r+1;d++)try{v.debug(`[${e}] Attempt ${d}/${r+1}`);const C=await s();return d>1&&v.info(`[${e}] Succeeded after ${d} attempts`),C}catch(C){if(g=C,v.error(`[${e}] Attempt ${d} failed`,{error:g.message,attempt:d,maxAttempts:r+1,context:_}),u?.(g,d),d<=r&&R(g)){const h=l?a*Math.pow(2,d-1):a;f&&j.warning(n.agent_errorBoundary_retrying_message({seconds:h/1e3})),c?.(d),v.info(`[${e}] Retrying in ${h}ms`),await this.sleep(h)}else break}const k=`${e} failed after ${d} attempt${d===1?"":"s"}: ${g?.message}`,P=ee(g?.message||n.agent_errorBoundary_generic_error()),D=g?.message?.toLowerCase()||"",$=D.includes("no available models")||D.includes("all models exhausted")||D.includes("all models unavailable");throw o&&!$&&j.error(P),new q(P,N.OPERATION_FAILED,{originalError:g?.message,detailedMessage:k,attempts:d,context:_})}async wrapVoid(s,e,t={}){await this.wrap(s,e,t)}wrapSync(s,e,t={}){try{return s()}catch(r){const a=r;throw v.error(`[${e}] Failed`,{error:a.message,context:t.context}),t.notify&&j.error(ee(a.message)),new q(ee(a.message),N.OPERATION_FAILED,t.context)}}defaultShouldRetry(s){const e=s.message.toLowerCase();return re(s.message)?!1:e.includes("network")||e.includes("timeout")?!0:s instanceof q?[N.NETWORK_ERROR,N.STREAM_TIMEOUT,N.STREAM_CONNECTION_FAILED,N.PROVIDER_CONNECTION_FAILED,N.PROVIDER_UNAVAILABLE].includes(s.code):!(e.includes("invalid")||e.includes("interrupted")||e.includes("cancel")||e.includes("not found")||e.includes("not available")||e.includes("404")||e.includes("no available models")||e.includes("all models exhausted")||e.includes("all models unavailable")||e.includes("413")||e.includes("too long for the agent")||e.includes("request entity too large")||e.includes("payload too large")||e.includes("content too large")||e.includes("body too large")||e.includes("unauthorized")||e.includes("forbidden")||e.includes("401")||e.includes("403"))}sleep(s){return new Promise(e=>setTimeout(e,s))}async withTimeout(s,e,t){return Promise.race([s(),new Promise((r,a)=>setTimeout(()=>a(new q(`${t} timed out after ${e}ms`,N.STREAM_TIMEOUT)),e))])}async batchOperations(s,e,t={}){const{concurrency:r=5,continueOnError:a=!0,operationName:l="batch operation"}=t,o=[],f=[];for(let _=0;_<s.length;_+=r){const u=s.slice(_,_+r);(await Promise.allSettled(u.map(R=>e(R)))).forEach((R,g)=>{if(R.status==="fulfilled")o.push(R.value);else{const d=R.reason;if(f.push({item:u[g],error:d}),v.error(`[${l}] Batch item failed`,{item:u[g],error:d.message}),!a)throw d}})}return f.length>0&&v.warn(`[${l}] Completed with ${f.length} errors`),{results:o,errors:f}}};E(b,"instance");let se=b;const nt=se.getInstance(),ie=W("browser/index"),F=new Map,B=new Map;let U;function ot(i,s,e){for(const t of s)try{t(e)}catch(r){ie.error("Error in agent subscriber callback",{agentId:i,error:r})}}function ct(){if(U)return;let i=!1;U=p.createSelector(e=>e.agentSessions)().subscribe(()=>{if(!i){i=!0;return}if(F.size===0)return;const e=p.state;for(const[t,r]of F){const a=Se.select(e,t);B.get(t)!==a&&(B.set(t,a),ot(t,r,a))}})}function lt(){F.size>0||!U||(U(),U=void 0,B.clear())}function Ft(i,s,e){let t=F.get(i);const r=!t;t||(t=new Set,F.set(i,t)),t.add(s),ct();const a=p.state,l=Se.select(a,i);return r&&B.set(i,l),l?ie.debug("[subscribeToAgent] Initial callback data",{agentId:i,workspaceId:e??"current",hasSession:!0}):ie.debug("[subscribeToAgent] No session found",{agentId:i,workspaceId:e??"current"}),s(l),()=>{const o=F.get(i);o&&(o.delete(s),o.size===0&&(F.delete(i),B.delete(i))),lt()}}const y=W("ErrorRecovery"),ye={network:{maxRetries:3,initialBackoffMs:1e3,maxBackoffMs:1e4,backoffMultiplier:2,shouldRetry:i=>{const s=i.message.toLowerCase();return s.includes("network")||s.includes("fetch")||s.includes("connection")||s.includes("timeout")}},streaming:{maxRetries:5,initialBackoffMs:500,maxBackoffMs:5e3,backoffMultiplier:1.5,shouldRetry:(i,s)=>{if(s>=5)return!1;const e=i.message.toLowerCase();return e.includes("no available models")||e.includes("all models exhausted")||e.includes("all models unavailable")||re(i.message)?!1:e.includes("stream")||e.includes("chunk")||e.includes("incomplete")}},persistence:{maxRetries:2,initialBackoffMs:100,maxBackoffMs:1e3,backoffMultiplier:2,shouldRetry:i=>{const s=i.message.toLowerCase();return s.includes("save")||s.includes("write")||s.includes("persist")}},rateLimit:{maxRetries:3,initialBackoffMs:5e3,maxBackoffMs:3e4,backoffMultiplier:2,shouldRetry:i=>{const s=i.message.toLowerCase();return s.includes("rate")||s.includes("limit")||s.includes("429")}}};class ut{constructor(){E(this,"listeners",new Map)}on(s,e){let t=this.listeners.get(s);t||(t=new Set,this.listeners.set(s,t)),t.add(e)}off(s,e){this.listeners.get(s)?.delete(e)}emit(s,...e){this.listeners.get(s)?.forEach(t=>{try{t(...e)}catch(r){y.error(`Error in event listener for ${s}:`,r)}})}removeAllListeners(){this.listeners.clear()}}class dt extends ut{constructor(){super(...arguments);E(this,"activeRecoveries",new Map);E(this,"recoveryStats",new Map)}async executeWithRecovery(e,t=ye.network,r){const a=Date.now(),l=new AbortController;r&&(this.cancelRecovery(r),this.activeRecoveries.set(r,l));let o,f=t.initialBackoffMs,_=0;for(let u=1;u<=t.maxRetries;u++){if(_=u,l.signal.aborted){y.info(`Recovery cancelled for operation ${r}`);break}try{y.debug(`Attempting operation (attempt ${u}/${t.maxRetries})`,{operationId:r});const c=await e();return this.updateStats(r,!0),this.emit("recovery:success",{operationId:r,attempt:u,duration:Date.now()-a}),r&&this.activeRecoveries.delete(r),{success:!0,data:c,attempts:u,totalTime:Date.now()-a}}catch(c){o=c,y.warn(`Operation failed (attempt ${u}/${t.maxRetries})`,{operationId:r,error:o.message});const R=o.message.toLowerCase();if(R.includes("interrupted")||R.includes("cancelled")||R.includes("canceled")){y.debug("User-initiated interruption/cancellation, not retrying",{operationId:r,error:o.message});break}if(R.includes("no available models")||R.includes("all models exhausted")||R.includes("all models unavailable")){y.debug("All models exhausted, not retrying",{operationId:r,error:o.message});break}if(re(o.message)){y.debug("Fatal error detected, not retrying",{operationId:r,error:o.message});break}if(!t.shouldRetry(o,u)){y.debug("Error not retryable, stopping recovery",{operationId:r,error:o.message});break}if(u<t.maxRetries){const g=Math.random()*.2*f,d=Math.min(f+g,t.maxBackoffMs);t.onRetry?.(u,d),this.emit("recovery:retry",{operationId:r,attempt:u,delay:d,error:o.message}),await this.delay(d,l.signal),f=Math.min(f*t.backoffMultiplier,t.maxBackoffMs)}}}return this.updateStats(r,!1),t.onFailure?.(o,_),this.emit("recovery:failure",{operationId:r,attempts:_,duration:Date.now()-a,error:o?.message}),r&&this.activeRecoveries.delete(r),{success:!1,error:o,attempts:_,totalTime:Date.now()-a}}cancelRecovery(e){const t=this.activeRecoveries.get(e);t&&(t.abort(),this.activeRecoveries.delete(e),y.info(`Cancelled recovery for operation ${e}`))}cancelAllRecoveries(){for(const[e,t]of this.activeRecoveries)t.abort(),y.info(`Cancelled recovery for operation ${e}`);this.activeRecoveries.clear()}getStats(e){if(e)return this.recoveryStats.get(e)||{successes:0,failures:0};const t={};for(const[r,a]of this.recoveryStats)t[r]=a;return t}clearStats(e){e?this.recoveryStats.delete(e):this.recoveryStats.clear()}isRetryable(e,t){const r=e.message.toLowerCase();if(t)switch(t){case"NETWORK":return r.includes("network")||r.includes("fetch");case"TIMEOUT":return r.includes("timeout")||r.includes("timed out");case"RATE_LIMIT":return r.includes("rate")||r.includes("limit")||r.includes("429");case"TEMPORARY":return r.includes("temporary")||r.includes("transient");case"CONFLICT":return r.includes("conflict")||r.includes("concurrent");default:return!1}return this.isRetryable(e,"NETWORK")||this.isRetryable(e,"TIMEOUT")||this.isRetryable(e,"RATE_LIMIT")||this.isRetryable(e,"TEMPORARY")||this.isRetryable(e,"CONFLICT")}delay(e,t){return new Promise((r,a)=>{const l=setTimeout(r,e);if(t){const o=()=>{clearTimeout(l),a(new Error("Delay aborted"))};t.addEventListener("abort",o);const f=r;r=()=>{t.removeEventListener("abort",o),f()}}})}updateStats(e,t){if(!e)return;const r=this.recoveryStats.get(e)||{successes:0,failures:0};t?r.successes++:r.failures++,this.recoveryStats.set(e,r)}dispose(){this.cancelAllRecoveries(),this.recoveryStats.clear(),this.removeAllListeners()}}const mt=new dt,O=new Ye({category:"WorkspaceMetrics"}),Et=100;class ft{constructor(){E(this,"metrics",new Map);E(this,"operations",new Map)}startWorkspaceCreation(s){const e=Date.now();for(this.metrics.delete(s),this.metrics.set(s,{workspaceId:s,creationStarted:e});this.metrics.size>Et;){const t=this.metrics.keys().next().value;if(t===void 0)break;this.metrics.delete(t)}O.info("Started tracking workspace creation",{workspaceId:s})}recordMilestone(s,e){const t=this.metrics.get(s);if(!t){O.warn("No metrics found for workspace",{workspaceId:s,milestone:e});return}const r=Date.now();switch(e){case"optimisticNavigation":t.optimisticNavigation=r;break;case"realWorkspaceCreated":t.realWorkspaceCreated=r;break;case"agentCreated":t.agentCreated=r;break;case"agentReady":t.agentReady=r;break;case"firstMessageSent":t.firstMessageSent=r;break;case"firstResponseReceived":t.firstResponseReceived=r;break;case"firstChunkReceived":t.firstChunkReceived=r;break;case"totalDuration":t.totalDuration=r;break;case"workspaceId":case"creationStarted":O.warn("Cannot update milestone",{milestone:e});return}const a=r-t.creationStarted;O.info(`Milestone: ${e}`,{workspaceId:s,elapsed:`${a}ms`,timestamp:r}),e==="firstResponseReceived"&&(t.totalDuration=r-t.creationStarted,this.logSummary(s))}startOperation(s,e){this.operations.set(s,{startTime:Date.now(),metadata:e})}endOperation(s,e){const t=this.operations.get(s);if(!t)return O.warn("Operation not found",{operationId:s}),null;const r=Date.now();return t.endTime=r,t.duration=r-t.startTime,e&&(t.metadata={...t.metadata,...e}),O.info("Operation completed",{operationId:s,duration:`${t.duration}ms`,metadata:t.metadata}),this.operations.delete(s),t.duration}getMetrics(s){return this.metrics.get(s)}logSummary(s){const e=this.metrics.get(s);if(!e)return;const t={workspaceId:s,totalDuration:`${e.totalDuration}ms`,stages:{optimisticNavigation:e.optimisticNavigation?`${e.optimisticNavigation-e.creationStarted}ms`:"N/A",realWorkspaceCreation:e.realWorkspaceCreated?`${e.realWorkspaceCreated-e.creationStarted}ms`:"N/A",agentCreation:e.agentCreated?`${e.agentCreated-e.creationStarted}ms`:"N/A",agentReady:e.agentReady?`${e.agentReady-e.creationStarted}ms`:"N/A",firstMessage:e.firstMessageSent?`${e.firstMessageSent-e.creationStarted}ms`:"N/A",firstResponse:e.firstResponseReceived?`${e.firstResponseReceived-e.creationStarted}ms`:"N/A"}};O.info("=== Workspace Creation Metrics Summary ===",t),O.info("Workspace Creation Metrics:",t)}clearMetrics(s){this.metrics.delete(s)}incrementAgentCreated(s){const e=this.metrics.get(s);e&&(e.agentCreated=Date.now(),O.info("Agent created",{workspaceId:s}))}incrementMessageSent(s){const e=this.metrics.get(s);e&&!e.firstMessageSent&&(e.firstMessageSent=Date.now(),O.info("First message sent",{workspaceId:s}))}}const _t=new ft,M=W("AgentSend");function A(i){p.dispatch(i)}function Ie(i){return typeof i=="object"&&i!==null&&!Array.isArray(i)}function ht(i){const s=Ie(i)&&i.success===!0&&"data"in i?i.data:i;return!Ie(s)||s.success!==!1?!1:typeof s.error=="string"&&s.error.includes(at)}async function kt(i,s,e,t={}){const r=ge.select(p.state,e.id);if(!r)return;const a=Le(i,e.id),l=t.submission,o=!!l&&we.select(p.state,l.scope)?.supported===!0,f=(c,R,g=!1)=>{l&&A(Xe(l.scope,l.id,c,Date.now(),R,g))};let _=!1;const u=()=>(!l||_||be.select(p.state,l))&&r===ge.select(p.state,e.id)&&a.isCurrent(p.state.agentSessions?.byAgentId[i]?.workspaceId);return Qe.track(`sendMessage:${a.key}:${i}:${l?.id??"legacy"}`,async()=>{if(!u())return;M.debug(`Sending message to agent ${i}`,{contentLength:s.length,hasContextReferences:!!t.contextReferences?.length,model:t.model});let c=await p.dispatch(Fe(e.id,i));if(u()){if(!c)throw new Error(n.agent_streamLifecycle_sessionNotFound_error({agentId:i}));c={...c,isStreaming:c.isStreaming??!1};{if(c&&(c.status==="pending"||!c.id)&&!c.backendSessionId&&c.activationState!==K.ACTIVE&&c.activationState!==K.ACTIVATING){const h=e.id.startsWith("optimistic-"),Y=e.worktreePath||e.repositoryPath||e.path;if(!h&&Y){M.info("Activating pending session in sendMessage",{agentId:i,status:c.status,activationState:c.activationState,hasBackendSessionId:!!c.backendSessionId});const x=await p.dispatch(ke(e.id,i));if(!u())return;x&&(c=x)}else throw M.warn("Cannot activate agent - workspace not ready",{agentId:i,workspaceId:e.id,isOptimistic:h,hasWorktreePath:!!e.worktreePath,hasRepositoryPath:!!e.repositoryPath,hasPath:!!e.path}),new Error(n.agent_streamLifecycle_spaceNotReady_error())}else c&&c.status==="pending"&&c.backendSessionId&&(M.info("Fixing status for already-activated session",{agentId:i,backendSessionId:c.backendSessionId,activationState:c.activationState}),c={...c,status:Ge.Active,activationState:K.ACTIVE},A(me({...c,workspaceId:e.id})));if(!c)throw new Error(`Failed to get or create session for agent ${i}`);A(me({...c,workspaceId:e.id}));const g=[{type:"text",text:s}];if(t.imageBlocks)for(const h of t.imageBlocks)g.push({type:"image",...h.data!==void 0?{data:h.data}:{},...h.mimeType!==void 0?{mimeType:h.mimeType}:{},...h.attachmentId!==void 0?{attachmentId:h.attachmentId}:{}});if(t.fileBlocks)for(const h of t.fileBlocks)g.push({type:"file",attachmentId:h.attachmentId,fileName:h.fileName,...h.mimeType!==void 0?{mimeType:h.mimeType}:{},...h.size!==void 0?{size:h.size}:{}});const d=t.userAppMessageId??ce(),k=t.messageMetadata?.[Re],P={...t.contextReferences?.length?{contextReferences:t.contextReferences}:{},...k!==void 0?{[Re]:k}:{}},D={id:Ee(ue()),appMessageId:d,role:"user",contentBlocks:g,timestamp:new Date().toISOString(),metadata:{...P,...t.messageMetadata??{}}};o||(l&&(f("rejected"),_=!0),A(Pe(c.id,D))),A(H(c.id,!0));let $=!1,C;try{o||await p.dispatch(xe(e.id,i,!0,{allowTruncation:t.resetHistory}));const h=Ee(`msg_${ue()}`),Y=ce(),x=async()=>nt.wrap(async()=>{if(!u())return;M.info("Agent Service: Sending message to backend with image and file blocks",{agentId:i,sessionId:c.id,hasImageBlocks:!!t.imageBlocks,imageBlocksCount:t.imageBlocks?.length||0,imageBlockDetails:t.imageBlocks?.map(m=>({type:m.type,mimeType:m.mimeType,dataLength:m.data?.length||0}))||[],hasFileBlocks:!!t.fileBlocks,fileBlocksCount:t.fileBlocks?.length||0,fileBlockDetails:t.fileBlocks?.map(m=>({type:m.type,fileName:m.fileName,mimeType:m.mimeType,attachmentId:m.attachmentId,size:m.size}))||[]});const Me=t.model??t.modelId??c.model??void 0;A(Ve(i));const Ne=le(i,e.id),ne=p.state.chatState?.byAgentId[i]?.attemptGeneration??0,T=await qe("agent.sendMessage",{agentId:i,...o&&l?{messageId:l.id}:{},workspaceId:e.id,content:s,model:Me,contextReferences:t.contextReferences,imageBlocks:t.imageBlocks,fileBlocks:t.fileBlocks,noteIds:t.noteIds,stdinContext:t.stdinContext,assistantMessageId:h,userAppMessageId:d,assistantAppMessageId:Y,priority:t.priority,...t.messageMetadata?{messageMetadata:t.messageMetadata}:{}}).catch(m=>{if(u())throw Ke(m)&&(C=m),m});if(u()){if(ht(T)){M.info("Backend dropped duplicate in-flight prompt",{agentId:i,sessionId:c.id}),f("rejected");return}if(T&&typeof T=="object"&&"success"in T){if(!T.success){const m=T.error,I=typeof m=="string"?m:m?.message;throw $=!0,new Error(I||n.agent_streamLifecycle_sendToBackendFailed_error())}if("queued"in T&&T.queued===!0){if(M.info("sendMessage auto-queued by daemon (mid-turn or turn-startup race)",{agentId:i,sessionId:c.id,queuedMessageId:T.queuedMessage?.id}),(!o||!l||!de.select(p.state,l))&&A(H(c.id,!1)),o||A(Ue(c.id,D.id)),o){const I=T.queuedMessage,G=T.turnId,L=typeof G=="string"?G:I?.turnId;if(I&&typeof L=="string"){const S=fe(s,t),X=Q.select(p.state,i,e.id).find(oe=>oe.id===I.id||oe.turnId===L);A(_e(i,I.id,S,L,he(X??I,S),!X&&!!l&&de.select(p.state,l),ne))}f("accepted",I,!0),z(i,e.id);return}const m=T.queuedMessage;if(m){const I=T.turnId,G=typeof I=="string"?I:m.turnId;let L=m;if(u()&&le(i,e.id)===Ne){const S=Q.select(p.state,i,e.id),X=ze(S,m);A(Be(i,X,e.id))}else u()&&(M.debug("queued-response queue seed superseded by an authoritative snapshot; reconciling via hydrate",{agentId:i,queuedMessageId:m.id}),await z(i,e.id).catch(()=>{}),L=Q.select(p.state,i,e.id).find(S=>S.id===m.id||S.turnId===G));if(u()&&typeof G=="string"){const S=fe(s,t);A(_e(i,m.id,S,G,he(L??m,S),!L,ne))}else u()&&M.warn("auto-queued sendMessage response carried no turnId; retry record not parked",{agentId:i,queuedMessageId:m.id})}return}}o&&(f("accepted"),z(i,e.id),ve(i,e.id)),_t.incrementMessageSent(e.id)}},"send message",{retries:o?0:2,notify:!1,context:{agentId:i,workspace:e.id}}),ae=o?await x().then(()=>({success:!0,error:void 0})):await mt.executeWithRecovery(x,ye.streaming,`send-message-${i}`);if(!ae.success)throw ae.error||new Error(n.agent_streamLifecycle_sendFailed_error())}catch(h){if(!u())return;throw A(H(c.id,!1)),!o&&t.messageMetadata&&A($e(c.id,D.id,{metadata:P})),o&&f($||C?"rejected":"uncertain"),C??h}}}},{memoize:!1,coalesce:!0,priority:"high"})}export{Te as U,Ft as a,ee as c,ze as r,kt as s,Ke as u,bt as w};