@futdevpro/ccap 1.1.3557 → 1.1.3564

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 (182) hide show
  1. package/client-dist/{agent-instances.module-NDNG4HC6.js → agent-instances.module-CM7ZBFZI.js} +2 -2
  2. package/client-dist/{ca.module-Y5FJIVDH.js → ca.module-7VA5K7Y5.js} +2 -2
  3. package/client-dist/{cc-usage-dashboard.component-DAJMNYQD.js → cc-usage-dashboard.component-YBZHKCEM.js} +2 -2
  4. package/client-dist/cc.module-XVSESZTG.js +4 -0
  5. package/client-dist/{cc.module-IHZXPJ3G.js.map → cc.module-XVSESZTG.js.map} +3 -3
  6. package/client-dist/{chunk-EZ2OC4CA.js → chunk-2HGB7DN2.js} +2 -2
  7. package/client-dist/{chunk-65R5RLWC.js → chunk-2LVCQSSB.js} +2 -2
  8. package/client-dist/{chunk-FCYMPE2S.js → chunk-36YD4VQO.js} +2 -2
  9. package/client-dist/{chunk-ODQXZPME.js → chunk-3OCU4I3C.js} +2 -2
  10. package/client-dist/{chunk-J66SGQQK.js → chunk-3S6VGKXQ.js} +2 -2
  11. package/client-dist/{chunk-EHT2HQDT.js → chunk-3VXKO4RO.js} +2 -2
  12. package/client-dist/{chunk-RNENIOVE.js → chunk-43UI7DXO.js} +2 -2
  13. package/client-dist/{chunk-F3NE5SNS.js → chunk-4M2CHAHK.js} +2 -2
  14. package/client-dist/{chunk-5F77NGYL.js → chunk-5TE7DMDF.js} +2 -2
  15. package/client-dist/{chunk-EAFI4YMD.js → chunk-6LC7TAMO.js} +2 -2
  16. package/client-dist/{chunk-EGAUOFDI.js → chunk-A2PYK5RV.js} +2 -2
  17. package/client-dist/{chunk-GWT4NLC6.js → chunk-A5WIZDOF.js} +2 -2
  18. package/client-dist/{chunk-KRSUKF3L.js → chunk-B2HXYE6M.js} +2 -2
  19. package/client-dist/{chunk-QBRVPAZB.js → chunk-B2NNX5DX.js} +2 -2
  20. package/client-dist/{chunk-QZVMUDW7.js → chunk-BAJQ5UHC.js} +2 -2
  21. package/client-dist/{chunk-UUJ5VF4E.js → chunk-BCBLHK6S.js} +2 -2
  22. package/client-dist/{chunk-WB44FME2.js → chunk-BXPRXWEA.js} +2 -2
  23. package/client-dist/chunk-CH26UCAX.js +18 -0
  24. package/client-dist/chunk-CH26UCAX.js.map +7 -0
  25. package/client-dist/{chunk-YTJ626F2.js → chunk-D2HTEHD3.js} +2 -2
  26. package/client-dist/{chunk-2EGN5OIA.js → chunk-DVBEYYXA.js} +2 -2
  27. package/client-dist/{chunk-IB5B5H24.js → chunk-EHGMDZYQ.js} +2 -2
  28. package/client-dist/{chunk-7XUJIV75.js → chunk-FF3SRXHL.js} +2 -2
  29. package/client-dist/{chunk-WHJDIPTM.js → chunk-GUGRHHDM.js} +2 -2
  30. package/client-dist/{chunk-CVSG4HQU.js → chunk-HEGDXH4Q.js} +2 -2
  31. package/client-dist/{chunk-C7746ZDD.js → chunk-HMELGY3D.js} +2 -2
  32. package/client-dist/{chunk-2P5XNKSU.js → chunk-ICINOBWV.js} +2 -2
  33. package/client-dist/{chunk-UV7YDW6X.js → chunk-IVF4Z2VA.js} +2 -2
  34. package/client-dist/{chunk-FHOK7MOR.js → chunk-IZRX6UMY.js} +2 -2
  35. package/client-dist/{chunk-TGBNDSOS.js → chunk-JZ2O22PX.js} +2 -2
  36. package/client-dist/{chunk-IMILT6U5.js → chunk-KATZXWUX.js} +2 -2
  37. package/client-dist/{chunk-5UV722GH.js → chunk-KRNXSUHZ.js} +2 -2
  38. package/client-dist/{chunk-3KUKN53F.js → chunk-LB5BCGXE.js} +2 -2
  39. package/client-dist/{chunk-GLY7XIEO.js → chunk-LDTA5CLF.js} +2 -2
  40. package/client-dist/{chunk-GLY7XIEO.js.map → chunk-LDTA5CLF.js.map} +1 -1
  41. package/client-dist/{chunk-R77S4JY5.js → chunk-LJZD2FTX.js} +2 -2
  42. package/client-dist/{chunk-3EQBM3NI.js → chunk-MG4HN3QI.js} +2 -2
  43. package/client-dist/{chunk-2XSAWMFD.js → chunk-NGTTNRIT.js} +2 -2
  44. package/client-dist/{chunk-O2QGLI7P.js → chunk-NT3Z2DLI.js} +2 -2
  45. package/client-dist/{chunk-FHGZ3DH7.js → chunk-NYXTNLPV.js} +2 -2
  46. package/client-dist/{chunk-VSY6ABSB.js → chunk-OLHGHP35.js} +2 -2
  47. package/client-dist/{chunk-IRITCLVX.js → chunk-PEKQNKES.js} +2 -2
  48. package/client-dist/{chunk-YD7R724R.js → chunk-PO54YTAR.js} +2 -2
  49. package/client-dist/{chunk-CEXJQIOB.js → chunk-RBKXPCX5.js} +2 -2
  50. package/client-dist/{chunk-HBDXPQIC.js → chunk-RFICAR6G.js} +2 -2
  51. package/client-dist/{chunk-73EAXEDI.js → chunk-S4I6OGCS.js} +2 -2
  52. package/client-dist/{chunk-ALKI4J2W.js → chunk-SWSK4I4J.js} +2 -2
  53. package/client-dist/{chunk-IN2UAFFX.js → chunk-T6JG2VGO.js} +2 -2
  54. package/client-dist/{chunk-ER7KIQXW.js → chunk-TD7ONW6L.js} +2 -2
  55. package/client-dist/{chunk-I5DLHGUT.js → chunk-TQGYUCXV.js} +2 -2
  56. package/client-dist/{chunk-3NI6EUGP.js → chunk-U6VLFAKJ.js} +2 -2
  57. package/client-dist/{chunk-YD7T74SA.js → chunk-UYAEGQ7Y.js} +2 -2
  58. package/client-dist/{chunk-MN6YUX6R.js → chunk-VMVTO6IN.js} +2 -2
  59. package/client-dist/{chunk-HIRPZSS5.js → chunk-VPY4C6ZL.js} +2 -2
  60. package/client-dist/{chunk-HO6SWXO3.js → chunk-VQPL2QLU.js} +2 -2
  61. package/client-dist/{chunk-YBKSPRVS.js → chunk-XTK2KCNG.js} +2 -2
  62. package/client-dist/{chunk-CVIA6GIV.js → chunk-YBENWG4Y.js} +2 -2
  63. package/client-dist/{chunk-PB5GJJMR.js → chunk-YSWLTNYL.js} +2 -2
  64. package/client-dist/{chunk-D4C3OD6J.js → chunk-Z4UPS3RJ.js} +2 -2
  65. package/client-dist/{consultant.module-OCAX7KQT.js → consultant.module-IID26FIU.js} +2 -2
  66. package/client-dist/{crd.module-LO6GCSNU.js → crd.module-PLIGKCGP.js} +2 -2
  67. package/client-dist/{dashboard.module-SPGBUCMD.js → dashboard.module-UJY5Z2D7.js} +2 -2
  68. package/client-dist/{do.module-KALYZEB6.js → do.module-JUBB5OLS.js} +2 -2
  69. package/client-dist/{document-library.module-HX5BXVZ2.js → document-library.module-KTTY4R5V.js} +2 -2
  70. package/client-dist/{embedding-eval.module-BZ7QMCT5.js → embedding-eval.module-JTY3TT2U.js} +2 -2
  71. package/client-dist/{embedding-registry.module-4KH7QGE5.js → embedding-registry.module-6KXP5XIO.js} +2 -2
  72. package/client-dist/{err.module-M4E27OWR.js → err.module-UUH64YPG.js} +2 -2
  73. package/client-dist/{feedback.module-E7FYACM4.js → feedback.module-RTDEQMLJ.js} +2 -2
  74. package/client-dist/{host-runtime-mcp.module-AV3EO5I3.js → host-runtime-mcp.module-EKTP5BE3.js} +2 -2
  75. package/client-dist/index.html +1 -1
  76. package/client-dist/{live-dev-pipeline.module-EAH5255G.js → live-dev-pipeline.module-MRLCMGEQ.js} +2 -2
  77. package/client-dist/{logs.module-KONMW55W.js → logs.module-SAABXQYC.js} +2 -2
  78. package/client-dist/{main-4IV3NJMV.js → main-OZAKNLKR.js} +3 -3
  79. package/client-dist/{master-control-remote-poc.module-3KAKM6EL.js → master-control-remote-poc.module-2T45VLN5.js} +2 -2
  80. package/client-dist/{mobile-app.module-C7IMUTOE.js → mobile-app.module-LUZCT5XR.js} +2 -2
  81. package/client-dist/{model-registry.module-A35YFVEE.js → model-registry.module-PBC373FT.js} +2 -2
  82. package/client-dist/{oc.module-XT7VDCSU.js → oc.module-F2EI4TK2.js} +2 -2
  83. package/client-dist/{orc.module-4YGRTRV6.js → orc.module-LZS7A5KP.js} +2 -2
  84. package/client-dist/{project-management.module-LI3L4WCD.js → project-management.module-5K7VHGRX.js} +2 -2
  85. package/client-dist/project-source-routed.module-24TMERJU.js +2 -0
  86. package/client-dist/{scheduler.module-HEG5JCVO.js → scheduler.module-M2GYW4UM.js} +2 -2
  87. package/client-dist/{session.module-DEIGFE2V.js → session.module-GAPGZXKP.js} +2 -2
  88. package/client-dist/{set.module-DSD6PIYI.js → set.module-G3ZVQYB7.js} +2 -2
  89. package/client-dist/{setup.module-WDIRWV32.js → setup.module-SGZPO4EC.js} +2 -2
  90. package/client-dist/{terminals.module-4KEH5NED.js → terminals.module-T3I32VUM.js} +2 -2
  91. package/client-dist/{voice-notes-poc.module-UWGARHN5.js → voice-notes-poc.module-VZXV5Y7T.js} +2 -2
  92. package/client-dist/{wfs.module-XAEMCUIF.js → wfs.module-HBFFFZV5.js} +2 -2
  93. package/package.json +1 -1
  94. package/client-dist/cc.module-IHZXPJ3G.js +0 -4
  95. package/client-dist/chunk-UXTS2HWD.js +0 -18
  96. package/client-dist/chunk-UXTS2HWD.js.map +0 -7
  97. package/client-dist/project-source-routed.module-CJB4YJND.js +0 -2
  98. /package/client-dist/{agent-instances.module-NDNG4HC6.js.map → agent-instances.module-CM7ZBFZI.js.map} +0 -0
  99. /package/client-dist/{ca.module-Y5FJIVDH.js.map → ca.module-7VA5K7Y5.js.map} +0 -0
  100. /package/client-dist/{cc-usage-dashboard.component-DAJMNYQD.js.map → cc-usage-dashboard.component-YBZHKCEM.js.map} +0 -0
  101. /package/client-dist/{chunk-EZ2OC4CA.js.map → chunk-2HGB7DN2.js.map} +0 -0
  102. /package/client-dist/{chunk-65R5RLWC.js.map → chunk-2LVCQSSB.js.map} +0 -0
  103. /package/client-dist/{chunk-FCYMPE2S.js.map → chunk-36YD4VQO.js.map} +0 -0
  104. /package/client-dist/{chunk-ODQXZPME.js.map → chunk-3OCU4I3C.js.map} +0 -0
  105. /package/client-dist/{chunk-J66SGQQK.js.map → chunk-3S6VGKXQ.js.map} +0 -0
  106. /package/client-dist/{chunk-EHT2HQDT.js.map → chunk-3VXKO4RO.js.map} +0 -0
  107. /package/client-dist/{chunk-RNENIOVE.js.map → chunk-43UI7DXO.js.map} +0 -0
  108. /package/client-dist/{chunk-F3NE5SNS.js.map → chunk-4M2CHAHK.js.map} +0 -0
  109. /package/client-dist/{chunk-5F77NGYL.js.map → chunk-5TE7DMDF.js.map} +0 -0
  110. /package/client-dist/{chunk-EAFI4YMD.js.map → chunk-6LC7TAMO.js.map} +0 -0
  111. /package/client-dist/{chunk-EGAUOFDI.js.map → chunk-A2PYK5RV.js.map} +0 -0
  112. /package/client-dist/{chunk-GWT4NLC6.js.map → chunk-A5WIZDOF.js.map} +0 -0
  113. /package/client-dist/{chunk-KRSUKF3L.js.map → chunk-B2HXYE6M.js.map} +0 -0
  114. /package/client-dist/{chunk-QBRVPAZB.js.map → chunk-B2NNX5DX.js.map} +0 -0
  115. /package/client-dist/{chunk-QZVMUDW7.js.map → chunk-BAJQ5UHC.js.map} +0 -0
  116. /package/client-dist/{chunk-UUJ5VF4E.js.map → chunk-BCBLHK6S.js.map} +0 -0
  117. /package/client-dist/{chunk-WB44FME2.js.map → chunk-BXPRXWEA.js.map} +0 -0
  118. /package/client-dist/{chunk-YTJ626F2.js.map → chunk-D2HTEHD3.js.map} +0 -0
  119. /package/client-dist/{chunk-2EGN5OIA.js.map → chunk-DVBEYYXA.js.map} +0 -0
  120. /package/client-dist/{chunk-IB5B5H24.js.map → chunk-EHGMDZYQ.js.map} +0 -0
  121. /package/client-dist/{chunk-7XUJIV75.js.map → chunk-FF3SRXHL.js.map} +0 -0
  122. /package/client-dist/{chunk-WHJDIPTM.js.map → chunk-GUGRHHDM.js.map} +0 -0
  123. /package/client-dist/{chunk-CVSG4HQU.js.map → chunk-HEGDXH4Q.js.map} +0 -0
  124. /package/client-dist/{chunk-C7746ZDD.js.map → chunk-HMELGY3D.js.map} +0 -0
  125. /package/client-dist/{chunk-2P5XNKSU.js.map → chunk-ICINOBWV.js.map} +0 -0
  126. /package/client-dist/{chunk-UV7YDW6X.js.map → chunk-IVF4Z2VA.js.map} +0 -0
  127. /package/client-dist/{chunk-FHOK7MOR.js.map → chunk-IZRX6UMY.js.map} +0 -0
  128. /package/client-dist/{chunk-TGBNDSOS.js.map → chunk-JZ2O22PX.js.map} +0 -0
  129. /package/client-dist/{chunk-IMILT6U5.js.map → chunk-KATZXWUX.js.map} +0 -0
  130. /package/client-dist/{chunk-5UV722GH.js.map → chunk-KRNXSUHZ.js.map} +0 -0
  131. /package/client-dist/{chunk-3KUKN53F.js.map → chunk-LB5BCGXE.js.map} +0 -0
  132. /package/client-dist/{chunk-R77S4JY5.js.map → chunk-LJZD2FTX.js.map} +0 -0
  133. /package/client-dist/{chunk-3EQBM3NI.js.map → chunk-MG4HN3QI.js.map} +0 -0
  134. /package/client-dist/{chunk-2XSAWMFD.js.map → chunk-NGTTNRIT.js.map} +0 -0
  135. /package/client-dist/{chunk-O2QGLI7P.js.map → chunk-NT3Z2DLI.js.map} +0 -0
  136. /package/client-dist/{chunk-FHGZ3DH7.js.map → chunk-NYXTNLPV.js.map} +0 -0
  137. /package/client-dist/{chunk-VSY6ABSB.js.map → chunk-OLHGHP35.js.map} +0 -0
  138. /package/client-dist/{chunk-IRITCLVX.js.map → chunk-PEKQNKES.js.map} +0 -0
  139. /package/client-dist/{chunk-YD7R724R.js.map → chunk-PO54YTAR.js.map} +0 -0
  140. /package/client-dist/{chunk-CEXJQIOB.js.map → chunk-RBKXPCX5.js.map} +0 -0
  141. /package/client-dist/{chunk-HBDXPQIC.js.map → chunk-RFICAR6G.js.map} +0 -0
  142. /package/client-dist/{chunk-73EAXEDI.js.map → chunk-S4I6OGCS.js.map} +0 -0
  143. /package/client-dist/{chunk-ALKI4J2W.js.map → chunk-SWSK4I4J.js.map} +0 -0
  144. /package/client-dist/{chunk-IN2UAFFX.js.map → chunk-T6JG2VGO.js.map} +0 -0
  145. /package/client-dist/{chunk-ER7KIQXW.js.map → chunk-TD7ONW6L.js.map} +0 -0
  146. /package/client-dist/{chunk-I5DLHGUT.js.map → chunk-TQGYUCXV.js.map} +0 -0
  147. /package/client-dist/{chunk-3NI6EUGP.js.map → chunk-U6VLFAKJ.js.map} +0 -0
  148. /package/client-dist/{chunk-YD7T74SA.js.map → chunk-UYAEGQ7Y.js.map} +0 -0
  149. /package/client-dist/{chunk-MN6YUX6R.js.map → chunk-VMVTO6IN.js.map} +0 -0
  150. /package/client-dist/{chunk-HIRPZSS5.js.map → chunk-VPY4C6ZL.js.map} +0 -0
  151. /package/client-dist/{chunk-HO6SWXO3.js.map → chunk-VQPL2QLU.js.map} +0 -0
  152. /package/client-dist/{chunk-YBKSPRVS.js.map → chunk-XTK2KCNG.js.map} +0 -0
  153. /package/client-dist/{chunk-CVIA6GIV.js.map → chunk-YBENWG4Y.js.map} +0 -0
  154. /package/client-dist/{chunk-PB5GJJMR.js.map → chunk-YSWLTNYL.js.map} +0 -0
  155. /package/client-dist/{chunk-D4C3OD6J.js.map → chunk-Z4UPS3RJ.js.map} +0 -0
  156. /package/client-dist/{consultant.module-OCAX7KQT.js.map → consultant.module-IID26FIU.js.map} +0 -0
  157. /package/client-dist/{crd.module-LO6GCSNU.js.map → crd.module-PLIGKCGP.js.map} +0 -0
  158. /package/client-dist/{dashboard.module-SPGBUCMD.js.map → dashboard.module-UJY5Z2D7.js.map} +0 -0
  159. /package/client-dist/{do.module-KALYZEB6.js.map → do.module-JUBB5OLS.js.map} +0 -0
  160. /package/client-dist/{document-library.module-HX5BXVZ2.js.map → document-library.module-KTTY4R5V.js.map} +0 -0
  161. /package/client-dist/{embedding-eval.module-BZ7QMCT5.js.map → embedding-eval.module-JTY3TT2U.js.map} +0 -0
  162. /package/client-dist/{embedding-registry.module-4KH7QGE5.js.map → embedding-registry.module-6KXP5XIO.js.map} +0 -0
  163. /package/client-dist/{err.module-M4E27OWR.js.map → err.module-UUH64YPG.js.map} +0 -0
  164. /package/client-dist/{feedback.module-E7FYACM4.js.map → feedback.module-RTDEQMLJ.js.map} +0 -0
  165. /package/client-dist/{host-runtime-mcp.module-AV3EO5I3.js.map → host-runtime-mcp.module-EKTP5BE3.js.map} +0 -0
  166. /package/client-dist/{live-dev-pipeline.module-EAH5255G.js.map → live-dev-pipeline.module-MRLCMGEQ.js.map} +0 -0
  167. /package/client-dist/{logs.module-KONMW55W.js.map → logs.module-SAABXQYC.js.map} +0 -0
  168. /package/client-dist/{main-4IV3NJMV.js.map → main-OZAKNLKR.js.map} +0 -0
  169. /package/client-dist/{master-control-remote-poc.module-3KAKM6EL.js.map → master-control-remote-poc.module-2T45VLN5.js.map} +0 -0
  170. /package/client-dist/{mobile-app.module-C7IMUTOE.js.map → mobile-app.module-LUZCT5XR.js.map} +0 -0
  171. /package/client-dist/{model-registry.module-A35YFVEE.js.map → model-registry.module-PBC373FT.js.map} +0 -0
  172. /package/client-dist/{oc.module-XT7VDCSU.js.map → oc.module-F2EI4TK2.js.map} +0 -0
  173. /package/client-dist/{orc.module-4YGRTRV6.js.map → orc.module-LZS7A5KP.js.map} +0 -0
  174. /package/client-dist/{project-management.module-LI3L4WCD.js.map → project-management.module-5K7VHGRX.js.map} +0 -0
  175. /package/client-dist/{project-source-routed.module-CJB4YJND.js.map → project-source-routed.module-24TMERJU.js.map} +0 -0
  176. /package/client-dist/{scheduler.module-HEG5JCVO.js.map → scheduler.module-M2GYW4UM.js.map} +0 -0
  177. /package/client-dist/{session.module-DEIGFE2V.js.map → session.module-GAPGZXKP.js.map} +0 -0
  178. /package/client-dist/{set.module-DSD6PIYI.js.map → set.module-G3ZVQYB7.js.map} +0 -0
  179. /package/client-dist/{setup.module-WDIRWV32.js.map → setup.module-SGZPO4EC.js.map} +0 -0
  180. /package/client-dist/{terminals.module-4KEH5NED.js.map → terminals.module-T3I32VUM.js.map} +0 -0
  181. /package/client-dist/{voice-notes-poc.module-UWGARHN5.js.map → voice-notes-poc.module-VZXV5Y7T.js.map} +0 -0
  182. /package/client-dist/{wfs.module-XAEMCUIF.js.map → wfs.module-HBFFFZV5.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{b as mi,c as hi,d as Re}from"./chunk-J66SGQQK.js";import{c as vt}from"./chunk-YD7T74SA.js";import{a as fi}from"./chunk-7XUJIV75.js";import{a as pi}from"./chunk-YTJ626F2.js";import{a as gi}from"./chunk-CVSG4HQU.js";import{f as si,i as ai,n as li,o as ci,p as di,v as ui}from"./chunk-EO4DNTT4.js";import{a as sn}from"./chunk-5UPNU54P.js";import{j as Tt}from"./chunk-WHJDIPTM.js";import{p as rn}from"./chunk-GLY7XIEO.js";import{$a as X,C as le,Cb as Et,D as qe,Fa as g,G as ei,Ga as v,Ha as tn,Hb as oi,Ia as nn,J as O,K as z,Kb as ri,L as ce,M as nt,T as it,Ta as Ke,U as ge,Ua as on,W as kt,X as wt,Z as p,_ as ti,a as ae,aa as W,ab as ee,b as je,da as A,fa as Pe,ga as $,h as en,hb as S,ja as K,jb as ii,k as B,la as y,na as St,oa as $e,pa as Me,qa as c,ra as d,sa as E,ua as U,ub as Je,va as N,wa as _,xa as ni,y as We,ya as ot}from"./chunk-TBMJSIBB.js";var{entries:Ei,setPrototypeOf:_i,isFrozen:go,getPrototypeOf:_o,getOwnPropertyDescriptor:bo}=Object,{freeze:ie,seal:ue,create:Mt}=Object,{apply:mn,construct:hn}=typeof Reflect<"u"&&Reflect;ie||(ie=function(n){return n});ue||(ue=function(n){return n});mn||(mn=function(n,e){for(var i=arguments.length,o=new Array(i>2?i-2:0),r=2;r<i;r++)o[r-2]=arguments[r];return n.apply(e,o)});hn||(hn=function(n){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return new n(...i)});var At=oe(Array.prototype.forEach),xo=oe(Array.prototype.lastIndexOf),bi=oe(Array.prototype.pop),rt=oe(Array.prototype.push),Co=oe(Array.prototype.splice),Rt=oe(String.prototype.toLowerCase),an=oe(String.prototype.toString),ln=oe(String.prototype.match),st=oe(String.prototype.replace),yo=oe(String.prototype.indexOf),ko=oe(String.prototype.trim),de=oe(Object.prototype.hasOwnProperty),ne=oe(RegExp.prototype.test),at=wo(TypeError);function oe(t){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return mn(t,n,i)}}function wo(t){return function(){for(var n=arguments.length,e=new Array(n),i=0;i<n;i++)e[i]=arguments[i];return hn(t,e)}}function T(t,n){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rt;_i&&_i(t,null);let i=n.length;for(;i--;){let o=n[i];if(typeof o=="string"){let r=e(o);r!==o&&(go(n)||(n[i]=r),o=r)}t[o]=!0}return t}function So(t){for(let n=0;n<t.length;n++)de(t,n)||(t[n]=null);return t}function _e(t){let n=Mt(null);for(let[e,i]of Ei(t))de(t,e)&&(Array.isArray(i)?n[e]=So(i):i&&typeof i=="object"&&i.constructor===Object?n[e]=_e(i):n[e]=i);return n}function lt(t,n){for(;t!==null;){let i=bo(t,n);if(i){if(i.get)return oe(i.get);if(typeof i.value=="function")return oe(i.value)}t=_o(t)}function e(){return null}return e}var xi=ie(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),cn=ie(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),dn=ie(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Eo=ie(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),un=ie(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),To=ie(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ci=ie(["#text"]),yi=ie(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),pn=ie(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ki=ie(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$t=ie(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vo=ue(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ao=ue(/<%[\w\W]*|[\w\W]*%>/gm),$o=ue(/\$\{[\w\W]*/gm),Mo=ue(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ro=ue(/^aria-[\-\w]+$/),Ti=ue(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Lo=ue(/^(?:\w+script|data):/i),Io=ue(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vi=ue(/^html$/i),Po=ue(/^[a-z][.\w]*(-[.\w]+)+$/i),wi=Object.freeze({__proto__:null,ARIA_ATTR:Ro,ATTR_WHITESPACE:Io,CUSTOM_ELEMENT:Po,DATA_ATTR:Mo,DOCTYPE_NAME:vi,ERB_EXPR:Ao,IS_ALLOWED_URI:Ti,IS_SCRIPT_OR_DATA:Lo,MUSTACHE_EXPR:vo,TMPLIT_EXPR:$o}),ct={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Do=function(){return typeof window>"u"?null:window},Bo=function(n,e){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let i=null,o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(i=e.getAttribute(o));let r="dompurify"+(i?"#"+i:"");try{return n.createPolicy(r,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Si=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ai(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Do(),n=x=>Ai(x);if(n.version="3.3.3",n.removed=[],!t||!t.document||t.document.nodeType!==ct.document||!t.Element)return n.isSupported=!1,n;let{document:e}=t,i=e,o=i.currentScript,{DocumentFragment:r,HTMLTemplateElement:s,Node:u,Element:l,NodeFilter:h,NamedNodeMap:m=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:C,DOMParser:w,trustedTypes:P}=t,R=l.prototype,H=lt(R,"cloneNode"),Ee=lt(R,"remove"),Te=lt(R,"nextSibling"),ve=lt(R,"childNodes"),ze=lt(R,"parentNode");if(typeof s=="function"){let x=e.createElement("template");x.content&&x.content.ownerDocument&&(e=x.content.ownerDocument)}let J,Ce="",{implementation:ye,createNodeIterator:Xi,createDocumentFragment:eo,getElementsByTagName:to}=e,{importNode:no}=i,te=Si();n.isSupported=typeof Ei=="function"&&typeof ze=="function"&&ye&&ye.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Ft,ERB_EXPR:Ut,TMPLIT_EXPR:Ht,DATA_ATTR:io,ARIA_ATTR:oo,IS_SCRIPT_OR_DATA:ro,ATTR_WHITESPACE:Mn,CUSTOM_ELEMENT:so}=wi,{IS_ALLOWED_URI:Rn}=wi,q=null,Ln=T({},[...xi,...cn,...dn,...un,...Ci]),Z=null,In=T({},[...yi,...pn,...ki,...$t]),V=Object.seal(Mt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Xe=null,ht=null,Ae=Object.seal(Mt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Pn=!0,Vt=!0,Dn=!1,Bn=!0,Ne=!1,ft=!0,Le=!1,Gt=!1,jt=!1,Fe=!1,gt=!1,_t=!1,On=!0,zn=!1,ao="user-content-",Wt=!0,et=!1,Ue={},he=null,qt=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Nn=null,Fn=T({},["audio","video","img","source","image","track"]),Kt=null,Un=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bt="http://www.w3.org/1998/Math/MathML",xt="http://www.w3.org/2000/svg",ke="http://www.w3.org/1999/xhtml",He=ke,Jt=!1,Zt=null,lo=T({},[bt,xt,ke],an),Ct=T({},["mi","mo","mn","ms","mtext"]),yt=T({},["annotation-xml"]),co=T({},["title","style","font","a","script"]),tt=null,uo=["application/xhtml+xml","text/html"],po="text/html",j=null,Ve=null,mo=e.createElement("form"),Hn=function(a){return a instanceof RegExp||a instanceof Function},Yt=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ve&&Ve===a)){if((!a||typeof a!="object")&&(a={}),a=_e(a),tt=uo.indexOf(a.PARSER_MEDIA_TYPE)===-1?po:a.PARSER_MEDIA_TYPE,j=tt==="application/xhtml+xml"?an:Rt,q=de(a,"ALLOWED_TAGS")?T({},a.ALLOWED_TAGS,j):Ln,Z=de(a,"ALLOWED_ATTR")?T({},a.ALLOWED_ATTR,j):In,Zt=de(a,"ALLOWED_NAMESPACES")?T({},a.ALLOWED_NAMESPACES,an):lo,Kt=de(a,"ADD_URI_SAFE_ATTR")?T(_e(Un),a.ADD_URI_SAFE_ATTR,j):Un,Nn=de(a,"ADD_DATA_URI_TAGS")?T(_e(Fn),a.ADD_DATA_URI_TAGS,j):Fn,he=de(a,"FORBID_CONTENTS")?T({},a.FORBID_CONTENTS,j):qt,Xe=de(a,"FORBID_TAGS")?T({},a.FORBID_TAGS,j):_e({}),ht=de(a,"FORBID_ATTR")?T({},a.FORBID_ATTR,j):_e({}),Ue=de(a,"USE_PROFILES")?a.USE_PROFILES:!1,Pn=a.ALLOW_ARIA_ATTR!==!1,Vt=a.ALLOW_DATA_ATTR!==!1,Dn=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Bn=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ne=a.SAFE_FOR_TEMPLATES||!1,ft=a.SAFE_FOR_XML!==!1,Le=a.WHOLE_DOCUMENT||!1,Fe=a.RETURN_DOM||!1,gt=a.RETURN_DOM_FRAGMENT||!1,_t=a.RETURN_TRUSTED_TYPE||!1,jt=a.FORCE_BODY||!1,On=a.SANITIZE_DOM!==!1,zn=a.SANITIZE_NAMED_PROPS||!1,Wt=a.KEEP_CONTENT!==!1,et=a.IN_PLACE||!1,Rn=a.ALLOWED_URI_REGEXP||Ti,He=a.NAMESPACE||ke,Ct=a.MATHML_TEXT_INTEGRATION_POINTS||Ct,yt=a.HTML_INTEGRATION_POINTS||yt,V=a.CUSTOM_ELEMENT_HANDLING||{},a.CUSTOM_ELEMENT_HANDLING&&Hn(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=a.CUSTOM_ELEMENT_HANDLING.tagNameCheck),a.CUSTOM_ELEMENT_HANDLING&&Hn(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),a.CUSTOM_ELEMENT_HANDLING&&typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(V.allowCustomizedBuiltInElements=a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(Vt=!1),gt&&(Fe=!0),Ue&&(q=T({},Ci),Z=Mt(null),Ue.html===!0&&(T(q,xi),T(Z,yi)),Ue.svg===!0&&(T(q,cn),T(Z,pn),T(Z,$t)),Ue.svgFilters===!0&&(T(q,dn),T(Z,pn),T(Z,$t)),Ue.mathMl===!0&&(T(q,un),T(Z,ki),T(Z,$t))),de(a,"ADD_TAGS")||(Ae.tagCheck=null),de(a,"ADD_ATTR")||(Ae.attributeCheck=null),a.ADD_TAGS&&(typeof a.ADD_TAGS=="function"?Ae.tagCheck=a.ADD_TAGS:(q===Ln&&(q=_e(q)),T(q,a.ADD_TAGS,j))),a.ADD_ATTR&&(typeof a.ADD_ATTR=="function"?Ae.attributeCheck=a.ADD_ATTR:(Z===In&&(Z=_e(Z)),T(Z,a.ADD_ATTR,j))),a.ADD_URI_SAFE_ATTR&&T(Kt,a.ADD_URI_SAFE_ATTR,j),a.FORBID_CONTENTS&&(he===qt&&(he=_e(he)),T(he,a.FORBID_CONTENTS,j)),a.ADD_FORBID_CONTENTS&&(he===qt&&(he=_e(he)),T(he,a.ADD_FORBID_CONTENTS,j)),Wt&&(q["#text"]=!0),Le&&T(q,["html","head","body"]),q.table&&(T(q,["tbody"]),delete Xe.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=a.TRUSTED_TYPES_POLICY,Ce=J.createHTML("")}else J===void 0&&(J=Bo(P,o)),J!==null&&typeof Ce=="string"&&(Ce=J.createHTML(""));ie&&ie(a),Ve=a}},Vn=T({},[...cn,...dn,...Eo]),Gn=T({},[...un,...To]),ho=function(a){let f=ze(a);(!f||!f.tagName)&&(f={namespaceURI:He,tagName:"template"});let b=Rt(a.tagName),D=Rt(f.tagName);return Zt[a.namespaceURI]?a.namespaceURI===xt?f.namespaceURI===ke?b==="svg":f.namespaceURI===bt?b==="svg"&&(D==="annotation-xml"||Ct[D]):!!Vn[b]:a.namespaceURI===bt?f.namespaceURI===ke?b==="math":f.namespaceURI===xt?b==="math"&&yt[D]:!!Gn[b]:a.namespaceURI===ke?f.namespaceURI===xt&&!yt[D]||f.namespaceURI===bt&&!Ct[D]?!1:!Gn[b]&&(co[b]||!Vn[b]):!!(tt==="application/xhtml+xml"&&Zt[a.namespaceURI]):!1},fe=function(a){rt(n.removed,{element:a});try{ze(a).removeChild(a)}catch{Ee(a)}},Ie=function(a,f){try{rt(n.removed,{attribute:f.getAttributeNode(a),from:f})}catch{rt(n.removed,{attribute:null,from:f})}if(f.removeAttribute(a),a==="is")if(Fe||gt)try{fe(f)}catch{}else try{f.setAttribute(a,"")}catch{}},jn=function(a){let f=null,b=null;if(jt)a="<remove></remove>"+a;else{let G=ln(a,/^[\r\n\t ]+/);b=G&&G[0]}tt==="application/xhtml+xml"&&He===ke&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");let D=J?J.createHTML(a):a;if(He===ke)try{f=new w().parseFromString(D,tt)}catch{}if(!f||!f.documentElement){f=ye.createDocument(He,"template",null);try{f.documentElement.innerHTML=Jt?Ce:D}catch{}}let Q=f.body||f.documentElement;return a&&b&&Q.insertBefore(e.createTextNode(b),Q.childNodes[0]||null),He===ke?to.call(f,Le?"html":"body")[0]:Le?f.documentElement:Q},Wn=function(a){return Xi.call(a.ownerDocument||a,a,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Qt=function(a){return a instanceof C&&(typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||!(a.attributes instanceof m)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function")},qn=function(a){return typeof u=="function"&&a instanceof u};function we(x,a,f){At(x,b=>{b.call(n,a,f,Ve)})}let Kn=function(a){let f=null;if(we(te.beforeSanitizeElements,a,null),Qt(a))return fe(a),!0;let b=j(a.nodeName);if(we(te.uponSanitizeElement,a,{tagName:b,allowedTags:q}),ft&&a.hasChildNodes()&&!qn(a.firstElementChild)&&ne(/<[/\w!]/g,a.innerHTML)&&ne(/<[/\w!]/g,a.textContent)||a.nodeType===ct.progressingInstruction||ft&&a.nodeType===ct.comment&&ne(/<[/\w]/g,a.data))return fe(a),!0;if(!(Ae.tagCheck instanceof Function&&Ae.tagCheck(b))&&(!q[b]||Xe[b])){if(!Xe[b]&&Zn(b)&&(V.tagNameCheck instanceof RegExp&&ne(V.tagNameCheck,b)||V.tagNameCheck instanceof Function&&V.tagNameCheck(b)))return!1;if(Wt&&!he[b]){let D=ze(a)||a.parentNode,Q=ve(a)||a.childNodes;if(Q&&D){let G=Q.length;for(let se=G-1;se>=0;--se){let Se=H(Q[se],!0);Se.__removalCount=(a.__removalCount||0)+1,D.insertBefore(Se,Te(a))}}}return fe(a),!0}return a instanceof l&&!ho(a)||(b==="noscript"||b==="noembed"||b==="noframes")&&ne(/<\/no(script|embed|frames)/i,a.innerHTML)?(fe(a),!0):(Ne&&a.nodeType===ct.text&&(f=a.textContent,At([Ft,Ut,Ht],D=>{f=st(f,D," ")}),a.textContent!==f&&(rt(n.removed,{element:a.cloneNode()}),a.textContent=f)),we(te.afterSanitizeElements,a,null),!1)},Jn=function(a,f,b){if(ht[f]||On&&(f==="id"||f==="name")&&(b in e||b in mo))return!1;if(!(Vt&&!ht[f]&&ne(io,f))){if(!(Pn&&ne(oo,f))){if(!(Ae.attributeCheck instanceof Function&&Ae.attributeCheck(f,a))){if(!Z[f]||ht[f]){if(!(Zn(a)&&(V.tagNameCheck instanceof RegExp&&ne(V.tagNameCheck,a)||V.tagNameCheck instanceof Function&&V.tagNameCheck(a))&&(V.attributeNameCheck instanceof RegExp&&ne(V.attributeNameCheck,f)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(f,a))||f==="is"&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&ne(V.tagNameCheck,b)||V.tagNameCheck instanceof Function&&V.tagNameCheck(b))))return!1}else if(!Kt[f]){if(!ne(Rn,st(b,Mn,""))){if(!((f==="src"||f==="xlink:href"||f==="href")&&a!=="script"&&yo(b,"data:")===0&&Nn[a])){if(!(Dn&&!ne(ro,st(b,Mn,"")))){if(b)return!1}}}}}}}return!0},Zn=function(a){return a!=="annotation-xml"&&ln(a,so)},Yn=function(a){we(te.beforeSanitizeAttributes,a,null);let{attributes:f}=a;if(!f||Qt(a))return;let b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Z,forceKeepAttr:void 0},D=f.length;for(;D--;){let Q=f[D],{name:G,namespaceURI:se,value:Se}=Q,Ge=j(G),Xt=Se,Y=G==="value"?Xt:ko(Xt);if(b.attrName=Ge,b.attrValue=Y,b.keepAttr=!0,b.forceKeepAttr=void 0,we(te.uponSanitizeAttribute,a,b),Y=b.attrValue,zn&&(Ge==="id"||Ge==="name")&&(Ie(G,a),Y=ao+Y),ft&&ne(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Y)){Ie(G,a);continue}if(Ge==="attributename"&&ln(Y,"href")){Ie(G,a);continue}if(b.forceKeepAttr)continue;if(!b.keepAttr){Ie(G,a);continue}if(!Bn&&ne(/\/>/i,Y)){Ie(G,a);continue}Ne&&At([Ft,Ut,Ht],Xn=>{Y=st(Y,Xn," ")});let Qn=j(a.nodeName);if(!Jn(Qn,Ge,Y)){Ie(G,a);continue}if(J&&typeof P=="object"&&typeof P.getAttributeType=="function"&&!se)switch(P.getAttributeType(Qn,Ge)){case"TrustedHTML":{Y=J.createHTML(Y);break}case"TrustedScriptURL":{Y=J.createScriptURL(Y);break}}if(Y!==Xt)try{se?a.setAttributeNS(se,G,Y):a.setAttribute(G,Y),Qt(a)?fe(a):bi(n.removed)}catch{Ie(G,a)}}we(te.afterSanitizeAttributes,a,null)},fo=function x(a){let f=null,b=Wn(a);for(we(te.beforeSanitizeShadowDOM,a,null);f=b.nextNode();)we(te.uponSanitizeShadowNode,f,null),Kn(f),Yn(f),f.content instanceof r&&x(f.content);we(te.afterSanitizeShadowDOM,a,null)};return n.sanitize=function(x){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=null,b=null,D=null,Q=null;if(Jt=!x,Jt&&(x="<!-->"),typeof x!="string"&&!qn(x))if(typeof x.toString=="function"){if(x=x.toString(),typeof x!="string")throw at("dirty is not a string, aborting")}else throw at("toString is not a function");if(!n.isSupported)return x;if(Gt||Yt(a),n.removed=[],typeof x=="string"&&(et=!1),et){if(x.nodeName){let Se=j(x.nodeName);if(!q[Se]||Xe[Se])throw at("root node is forbidden and cannot be sanitized in-place")}}else if(x instanceof u)f=jn("<!---->"),b=f.ownerDocument.importNode(x,!0),b.nodeType===ct.element&&b.nodeName==="BODY"||b.nodeName==="HTML"?f=b:f.appendChild(b);else{if(!Fe&&!Ne&&!Le&&x.indexOf("<")===-1)return J&&_t?J.createHTML(x):x;if(f=jn(x),!f)return Fe?null:_t?Ce:""}f&&jt&&fe(f.firstChild);let G=Wn(et?x:f);for(;D=G.nextNode();)Kn(D),Yn(D),D.content instanceof r&&fo(D.content);if(et)return x;if(Fe){if(gt)for(Q=eo.call(f.ownerDocument);f.firstChild;)Q.appendChild(f.firstChild);else Q=f;return(Z.shadowroot||Z.shadowrootmode)&&(Q=no.call(i,Q,!0)),Q}let se=Le?f.outerHTML:f.innerHTML;return Le&&q["!doctype"]&&f.ownerDocument&&f.ownerDocument.doctype&&f.ownerDocument.doctype.name&&ne(vi,f.ownerDocument.doctype.name)&&(se="<!DOCTYPE "+f.ownerDocument.doctype.name+`>
1
+ import{b as mi,c as hi,d as Re}from"./chunk-3S6VGKXQ.js";import{c as vt}from"./chunk-UYAEGQ7Y.js";import{a as fi}from"./chunk-FF3SRXHL.js";import{a as pi}from"./chunk-D2HTEHD3.js";import{a as gi}from"./chunk-HEGDXH4Q.js";import{f as si,i as ai,n as li,o as ci,p as di,v as ui}from"./chunk-EO4DNTT4.js";import{a as sn}from"./chunk-5UPNU54P.js";import{j as Tt}from"./chunk-GUGRHHDM.js";import{p as rn}from"./chunk-LDTA5CLF.js";import{$a as X,C as le,Cb as Et,D as qe,Fa as g,G as ei,Ga as v,Ha as tn,Hb as oi,Ia as nn,J as O,K as z,Kb as ri,L as ce,M as nt,T as it,Ta as Ke,U as ge,Ua as on,W as kt,X as wt,Z as p,_ as ti,a as ae,aa as W,ab as ee,b as je,da as A,fa as Pe,ga as $,h as en,hb as S,ja as K,jb as ii,k as B,la as y,na as St,oa as $e,pa as Me,qa as c,ra as d,sa as E,ua as U,ub as Je,va as N,wa as _,xa as ni,y as We,ya as ot}from"./chunk-TBMJSIBB.js";var{entries:Ei,setPrototypeOf:_i,isFrozen:go,getPrototypeOf:_o,getOwnPropertyDescriptor:bo}=Object,{freeze:ie,seal:ue,create:Mt}=Object,{apply:mn,construct:hn}=typeof Reflect<"u"&&Reflect;ie||(ie=function(n){return n});ue||(ue=function(n){return n});mn||(mn=function(n,e){for(var i=arguments.length,o=new Array(i>2?i-2:0),r=2;r<i;r++)o[r-2]=arguments[r];return n.apply(e,o)});hn||(hn=function(n){for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return new n(...i)});var At=oe(Array.prototype.forEach),xo=oe(Array.prototype.lastIndexOf),bi=oe(Array.prototype.pop),rt=oe(Array.prototype.push),Co=oe(Array.prototype.splice),Rt=oe(String.prototype.toLowerCase),an=oe(String.prototype.toString),ln=oe(String.prototype.match),st=oe(String.prototype.replace),yo=oe(String.prototype.indexOf),ko=oe(String.prototype.trim),de=oe(Object.prototype.hasOwnProperty),ne=oe(RegExp.prototype.test),at=wo(TypeError);function oe(t){return function(n){n instanceof RegExp&&(n.lastIndex=0);for(var e=arguments.length,i=new Array(e>1?e-1:0),o=1;o<e;o++)i[o-1]=arguments[o];return mn(t,n,i)}}function wo(t){return function(){for(var n=arguments.length,e=new Array(n),i=0;i<n;i++)e[i]=arguments[i];return hn(t,e)}}function T(t,n){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Rt;_i&&_i(t,null);let i=n.length;for(;i--;){let o=n[i];if(typeof o=="string"){let r=e(o);r!==o&&(go(n)||(n[i]=r),o=r)}t[o]=!0}return t}function So(t){for(let n=0;n<t.length;n++)de(t,n)||(t[n]=null);return t}function _e(t){let n=Mt(null);for(let[e,i]of Ei(t))de(t,e)&&(Array.isArray(i)?n[e]=So(i):i&&typeof i=="object"&&i.constructor===Object?n[e]=_e(i):n[e]=i);return n}function lt(t,n){for(;t!==null;){let i=bo(t,n);if(i){if(i.get)return oe(i.get);if(typeof i.value=="function")return oe(i.value)}t=_o(t)}function e(){return null}return e}var xi=ie(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),cn=ie(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),dn=ie(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Eo=ie(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),un=ie(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),To=ie(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Ci=ie(["#text"]),yi=ie(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),pn=ie(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),ki=ie(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$t=ie(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),vo=ue(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Ao=ue(/<%[\w\W]*|[\w\W]*%>/gm),$o=ue(/\$\{[\w\W]*/gm),Mo=ue(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ro=ue(/^aria-[\-\w]+$/),Ti=ue(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Lo=ue(/^(?:\w+script|data):/i),Io=ue(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),vi=ue(/^html$/i),Po=ue(/^[a-z][.\w]*(-[.\w]+)+$/i),wi=Object.freeze({__proto__:null,ARIA_ATTR:Ro,ATTR_WHITESPACE:Io,CUSTOM_ELEMENT:Po,DATA_ATTR:Mo,DOCTYPE_NAME:vi,ERB_EXPR:Ao,IS_ALLOWED_URI:Ti,IS_SCRIPT_OR_DATA:Lo,MUSTACHE_EXPR:vo,TMPLIT_EXPR:$o}),ct={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,progressingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Do=function(){return typeof window>"u"?null:window},Bo=function(n,e){if(typeof n!="object"||typeof n.createPolicy!="function")return null;let i=null,o="data-tt-policy-suffix";e&&e.hasAttribute(o)&&(i=e.getAttribute(o));let r="dompurify"+(i?"#"+i:"");try{return n.createPolicy(r,{createHTML(s){return s},createScriptURL(s){return s}})}catch{return console.warn("TrustedTypes policy "+r+" could not be created."),null}},Si=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Ai(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Do(),n=x=>Ai(x);if(n.version="3.3.3",n.removed=[],!t||!t.document||t.document.nodeType!==ct.document||!t.Element)return n.isSupported=!1,n;let{document:e}=t,i=e,o=i.currentScript,{DocumentFragment:r,HTMLTemplateElement:s,Node:u,Element:l,NodeFilter:h,NamedNodeMap:m=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:C,DOMParser:w,trustedTypes:P}=t,R=l.prototype,H=lt(R,"cloneNode"),Ee=lt(R,"remove"),Te=lt(R,"nextSibling"),ve=lt(R,"childNodes"),ze=lt(R,"parentNode");if(typeof s=="function"){let x=e.createElement("template");x.content&&x.content.ownerDocument&&(e=x.content.ownerDocument)}let J,Ce="",{implementation:ye,createNodeIterator:Xi,createDocumentFragment:eo,getElementsByTagName:to}=e,{importNode:no}=i,te=Si();n.isSupported=typeof Ei=="function"&&typeof ze=="function"&&ye&&ye.createHTMLDocument!==void 0;let{MUSTACHE_EXPR:Ft,ERB_EXPR:Ut,TMPLIT_EXPR:Ht,DATA_ATTR:io,ARIA_ATTR:oo,IS_SCRIPT_OR_DATA:ro,ATTR_WHITESPACE:Mn,CUSTOM_ELEMENT:so}=wi,{IS_ALLOWED_URI:Rn}=wi,q=null,Ln=T({},[...xi,...cn,...dn,...un,...Ci]),Z=null,In=T({},[...yi,...pn,...ki,...$t]),V=Object.seal(Mt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Xe=null,ht=null,Ae=Object.seal(Mt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}})),Pn=!0,Vt=!0,Dn=!1,Bn=!0,Ne=!1,ft=!0,Le=!1,Gt=!1,jt=!1,Fe=!1,gt=!1,_t=!1,On=!0,zn=!1,ao="user-content-",Wt=!0,et=!1,Ue={},he=null,qt=T({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),Nn=null,Fn=T({},["audio","video","img","source","image","track"]),Kt=null,Un=T({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),bt="http://www.w3.org/1998/Math/MathML",xt="http://www.w3.org/2000/svg",ke="http://www.w3.org/1999/xhtml",He=ke,Jt=!1,Zt=null,lo=T({},[bt,xt,ke],an),Ct=T({},["mi","mo","mn","ms","mtext"]),yt=T({},["annotation-xml"]),co=T({},["title","style","font","a","script"]),tt=null,uo=["application/xhtml+xml","text/html"],po="text/html",j=null,Ve=null,mo=e.createElement("form"),Hn=function(a){return a instanceof RegExp||a instanceof Function},Yt=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Ve&&Ve===a)){if((!a||typeof a!="object")&&(a={}),a=_e(a),tt=uo.indexOf(a.PARSER_MEDIA_TYPE)===-1?po:a.PARSER_MEDIA_TYPE,j=tt==="application/xhtml+xml"?an:Rt,q=de(a,"ALLOWED_TAGS")?T({},a.ALLOWED_TAGS,j):Ln,Z=de(a,"ALLOWED_ATTR")?T({},a.ALLOWED_ATTR,j):In,Zt=de(a,"ALLOWED_NAMESPACES")?T({},a.ALLOWED_NAMESPACES,an):lo,Kt=de(a,"ADD_URI_SAFE_ATTR")?T(_e(Un),a.ADD_URI_SAFE_ATTR,j):Un,Nn=de(a,"ADD_DATA_URI_TAGS")?T(_e(Fn),a.ADD_DATA_URI_TAGS,j):Fn,he=de(a,"FORBID_CONTENTS")?T({},a.FORBID_CONTENTS,j):qt,Xe=de(a,"FORBID_TAGS")?T({},a.FORBID_TAGS,j):_e({}),ht=de(a,"FORBID_ATTR")?T({},a.FORBID_ATTR,j):_e({}),Ue=de(a,"USE_PROFILES")?a.USE_PROFILES:!1,Pn=a.ALLOW_ARIA_ATTR!==!1,Vt=a.ALLOW_DATA_ATTR!==!1,Dn=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Bn=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,Ne=a.SAFE_FOR_TEMPLATES||!1,ft=a.SAFE_FOR_XML!==!1,Le=a.WHOLE_DOCUMENT||!1,Fe=a.RETURN_DOM||!1,gt=a.RETURN_DOM_FRAGMENT||!1,_t=a.RETURN_TRUSTED_TYPE||!1,jt=a.FORCE_BODY||!1,On=a.SANITIZE_DOM!==!1,zn=a.SANITIZE_NAMED_PROPS||!1,Wt=a.KEEP_CONTENT!==!1,et=a.IN_PLACE||!1,Rn=a.ALLOWED_URI_REGEXP||Ti,He=a.NAMESPACE||ke,Ct=a.MATHML_TEXT_INTEGRATION_POINTS||Ct,yt=a.HTML_INTEGRATION_POINTS||yt,V=a.CUSTOM_ELEMENT_HANDLING||{},a.CUSTOM_ELEMENT_HANDLING&&Hn(a.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=a.CUSTOM_ELEMENT_HANDLING.tagNameCheck),a.CUSTOM_ELEMENT_HANDLING&&Hn(a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=a.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),a.CUSTOM_ELEMENT_HANDLING&&typeof a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(V.allowCustomizedBuiltInElements=a.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Ne&&(Vt=!1),gt&&(Fe=!0),Ue&&(q=T({},Ci),Z=Mt(null),Ue.html===!0&&(T(q,xi),T(Z,yi)),Ue.svg===!0&&(T(q,cn),T(Z,pn),T(Z,$t)),Ue.svgFilters===!0&&(T(q,dn),T(Z,pn),T(Z,$t)),Ue.mathMl===!0&&(T(q,un),T(Z,ki),T(Z,$t))),de(a,"ADD_TAGS")||(Ae.tagCheck=null),de(a,"ADD_ATTR")||(Ae.attributeCheck=null),a.ADD_TAGS&&(typeof a.ADD_TAGS=="function"?Ae.tagCheck=a.ADD_TAGS:(q===Ln&&(q=_e(q)),T(q,a.ADD_TAGS,j))),a.ADD_ATTR&&(typeof a.ADD_ATTR=="function"?Ae.attributeCheck=a.ADD_ATTR:(Z===In&&(Z=_e(Z)),T(Z,a.ADD_ATTR,j))),a.ADD_URI_SAFE_ATTR&&T(Kt,a.ADD_URI_SAFE_ATTR,j),a.FORBID_CONTENTS&&(he===qt&&(he=_e(he)),T(he,a.FORBID_CONTENTS,j)),a.ADD_FORBID_CONTENTS&&(he===qt&&(he=_e(he)),T(he,a.ADD_FORBID_CONTENTS,j)),Wt&&(q["#text"]=!0),Le&&T(q,["html","head","body"]),q.table&&(T(q,["tbody"]),delete Xe.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw at('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');J=a.TRUSTED_TYPES_POLICY,Ce=J.createHTML("")}else J===void 0&&(J=Bo(P,o)),J!==null&&typeof Ce=="string"&&(Ce=J.createHTML(""));ie&&ie(a),Ve=a}},Vn=T({},[...cn,...dn,...Eo]),Gn=T({},[...un,...To]),ho=function(a){let f=ze(a);(!f||!f.tagName)&&(f={namespaceURI:He,tagName:"template"});let b=Rt(a.tagName),D=Rt(f.tagName);return Zt[a.namespaceURI]?a.namespaceURI===xt?f.namespaceURI===ke?b==="svg":f.namespaceURI===bt?b==="svg"&&(D==="annotation-xml"||Ct[D]):!!Vn[b]:a.namespaceURI===bt?f.namespaceURI===ke?b==="math":f.namespaceURI===xt?b==="math"&&yt[D]:!!Gn[b]:a.namespaceURI===ke?f.namespaceURI===xt&&!yt[D]||f.namespaceURI===bt&&!Ct[D]?!1:!Gn[b]&&(co[b]||!Vn[b]):!!(tt==="application/xhtml+xml"&&Zt[a.namespaceURI]):!1},fe=function(a){rt(n.removed,{element:a});try{ze(a).removeChild(a)}catch{Ee(a)}},Ie=function(a,f){try{rt(n.removed,{attribute:f.getAttributeNode(a),from:f})}catch{rt(n.removed,{attribute:null,from:f})}if(f.removeAttribute(a),a==="is")if(Fe||gt)try{fe(f)}catch{}else try{f.setAttribute(a,"")}catch{}},jn=function(a){let f=null,b=null;if(jt)a="<remove></remove>"+a;else{let G=ln(a,/^[\r\n\t ]+/);b=G&&G[0]}tt==="application/xhtml+xml"&&He===ke&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");let D=J?J.createHTML(a):a;if(He===ke)try{f=new w().parseFromString(D,tt)}catch{}if(!f||!f.documentElement){f=ye.createDocument(He,"template",null);try{f.documentElement.innerHTML=Jt?Ce:D}catch{}}let Q=f.body||f.documentElement;return a&&b&&Q.insertBefore(e.createTextNode(b),Q.childNodes[0]||null),He===ke?to.call(f,Le?"html":"body")[0]:Le?f.documentElement:Q},Wn=function(a){return Xi.call(a.ownerDocument||a,a,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},Qt=function(a){return a instanceof C&&(typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||!(a.attributes instanceof m)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function")},qn=function(a){return typeof u=="function"&&a instanceof u};function we(x,a,f){At(x,b=>{b.call(n,a,f,Ve)})}let Kn=function(a){let f=null;if(we(te.beforeSanitizeElements,a,null),Qt(a))return fe(a),!0;let b=j(a.nodeName);if(we(te.uponSanitizeElement,a,{tagName:b,allowedTags:q}),ft&&a.hasChildNodes()&&!qn(a.firstElementChild)&&ne(/<[/\w!]/g,a.innerHTML)&&ne(/<[/\w!]/g,a.textContent)||a.nodeType===ct.progressingInstruction||ft&&a.nodeType===ct.comment&&ne(/<[/\w]/g,a.data))return fe(a),!0;if(!(Ae.tagCheck instanceof Function&&Ae.tagCheck(b))&&(!q[b]||Xe[b])){if(!Xe[b]&&Zn(b)&&(V.tagNameCheck instanceof RegExp&&ne(V.tagNameCheck,b)||V.tagNameCheck instanceof Function&&V.tagNameCheck(b)))return!1;if(Wt&&!he[b]){let D=ze(a)||a.parentNode,Q=ve(a)||a.childNodes;if(Q&&D){let G=Q.length;for(let se=G-1;se>=0;--se){let Se=H(Q[se],!0);Se.__removalCount=(a.__removalCount||0)+1,D.insertBefore(Se,Te(a))}}}return fe(a),!0}return a instanceof l&&!ho(a)||(b==="noscript"||b==="noembed"||b==="noframes")&&ne(/<\/no(script|embed|frames)/i,a.innerHTML)?(fe(a),!0):(Ne&&a.nodeType===ct.text&&(f=a.textContent,At([Ft,Ut,Ht],D=>{f=st(f,D," ")}),a.textContent!==f&&(rt(n.removed,{element:a.cloneNode()}),a.textContent=f)),we(te.afterSanitizeElements,a,null),!1)},Jn=function(a,f,b){if(ht[f]||On&&(f==="id"||f==="name")&&(b in e||b in mo))return!1;if(!(Vt&&!ht[f]&&ne(io,f))){if(!(Pn&&ne(oo,f))){if(!(Ae.attributeCheck instanceof Function&&Ae.attributeCheck(f,a))){if(!Z[f]||ht[f]){if(!(Zn(a)&&(V.tagNameCheck instanceof RegExp&&ne(V.tagNameCheck,a)||V.tagNameCheck instanceof Function&&V.tagNameCheck(a))&&(V.attributeNameCheck instanceof RegExp&&ne(V.attributeNameCheck,f)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(f,a))||f==="is"&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&ne(V.tagNameCheck,b)||V.tagNameCheck instanceof Function&&V.tagNameCheck(b))))return!1}else if(!Kt[f]){if(!ne(Rn,st(b,Mn,""))){if(!((f==="src"||f==="xlink:href"||f==="href")&&a!=="script"&&yo(b,"data:")===0&&Nn[a])){if(!(Dn&&!ne(ro,st(b,Mn,"")))){if(b)return!1}}}}}}}return!0},Zn=function(a){return a!=="annotation-xml"&&ln(a,so)},Yn=function(a){we(te.beforeSanitizeAttributes,a,null);let{attributes:f}=a;if(!f||Qt(a))return;let b={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Z,forceKeepAttr:void 0},D=f.length;for(;D--;){let Q=f[D],{name:G,namespaceURI:se,value:Se}=Q,Ge=j(G),Xt=Se,Y=G==="value"?Xt:ko(Xt);if(b.attrName=Ge,b.attrValue=Y,b.keepAttr=!0,b.forceKeepAttr=void 0,we(te.uponSanitizeAttribute,a,b),Y=b.attrValue,zn&&(Ge==="id"||Ge==="name")&&(Ie(G,a),Y=ao+Y),ft&&ne(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,Y)){Ie(G,a);continue}if(Ge==="attributename"&&ln(Y,"href")){Ie(G,a);continue}if(b.forceKeepAttr)continue;if(!b.keepAttr){Ie(G,a);continue}if(!Bn&&ne(/\/>/i,Y)){Ie(G,a);continue}Ne&&At([Ft,Ut,Ht],Xn=>{Y=st(Y,Xn," ")});let Qn=j(a.nodeName);if(!Jn(Qn,Ge,Y)){Ie(G,a);continue}if(J&&typeof P=="object"&&typeof P.getAttributeType=="function"&&!se)switch(P.getAttributeType(Qn,Ge)){case"TrustedHTML":{Y=J.createHTML(Y);break}case"TrustedScriptURL":{Y=J.createScriptURL(Y);break}}if(Y!==Xt)try{se?a.setAttributeNS(se,G,Y):a.setAttribute(G,Y),Qt(a)?fe(a):bi(n.removed)}catch{Ie(G,a)}}we(te.afterSanitizeAttributes,a,null)},fo=function x(a){let f=null,b=Wn(a);for(we(te.beforeSanitizeShadowDOM,a,null);f=b.nextNode();)we(te.uponSanitizeShadowNode,f,null),Kn(f),Yn(f),f.content instanceof r&&x(f.content);we(te.afterSanitizeShadowDOM,a,null)};return n.sanitize=function(x){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=null,b=null,D=null,Q=null;if(Jt=!x,Jt&&(x="<!-->"),typeof x!="string"&&!qn(x))if(typeof x.toString=="function"){if(x=x.toString(),typeof x!="string")throw at("dirty is not a string, aborting")}else throw at("toString is not a function");if(!n.isSupported)return x;if(Gt||Yt(a),n.removed=[],typeof x=="string"&&(et=!1),et){if(x.nodeName){let Se=j(x.nodeName);if(!q[Se]||Xe[Se])throw at("root node is forbidden and cannot be sanitized in-place")}}else if(x instanceof u)f=jn("<!---->"),b=f.ownerDocument.importNode(x,!0),b.nodeType===ct.element&&b.nodeName==="BODY"||b.nodeName==="HTML"?f=b:f.appendChild(b);else{if(!Fe&&!Ne&&!Le&&x.indexOf("<")===-1)return J&&_t?J.createHTML(x):x;if(f=jn(x),!f)return Fe?null:_t?Ce:""}f&&jt&&fe(f.firstChild);let G=Wn(et?x:f);for(;D=G.nextNode();)Kn(D),Yn(D),D.content instanceof r&&fo(D.content);if(et)return x;if(Fe){if(gt)for(Q=eo.call(f.ownerDocument);f.firstChild;)Q.appendChild(f.firstChild);else Q=f;return(Z.shadowroot||Z.shadowrootmode)&&(Q=no.call(i,Q,!0)),Q}let se=Le?f.outerHTML:f.innerHTML;return Le&&q["!doctype"]&&f.ownerDocument&&f.ownerDocument.doctype&&f.ownerDocument.doctype.name&&ne(vi,f.ownerDocument.doctype.name)&&(se="<!DOCTYPE "+f.ownerDocument.doctype.name+`>
2
2
  `+se),Ne&&At([Ft,Ut,Ht],Se=>{se=st(se,Se," ")}),J&&_t?J.createHTML(se):se},n.setConfig=function(){let x=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Yt(x),Gt=!0},n.clearConfig=function(){Ve=null,Gt=!1},n.isValidAttribute=function(x,a,f){Ve||Yt({});let b=j(x),D=j(a);return Jn(b,D,f)},n.addHook=function(x,a){typeof a=="function"&&rt(te[x],a)},n.removeHook=function(x,a){if(a!==void 0){let f=xo(te[x],a);return f===-1?void 0:Co(te[x],f,1)[0]}return bi(te[x])},n.removeHooks=function(x){te[x]=[]},n.removeAllHooks=function(){te=Si()},n}var $i=Ai();function bn(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var Oe=bn();function Bi(t){Oe=t}var De={exec:()=>null};function M(t,n=""){let e=typeof t=="string"?t:t.source,i={replace:(o,r)=>{let s=typeof r=="string"?r:r.source;return s=s.replace(re.caret,"$1"),e=e.replace(o,s),i},getRegex:()=>new RegExp(e,n)};return i}var Oo=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),re={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}>`)},zo=/^(?:[ \t]*(?:\n|$))+/,No=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Fo=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,mt=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Uo=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,xn=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,Oi=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,zi=M(Oi).replace(/bull/g,xn).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Ho=M(Oi).replace(/bull/g,xn).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),Cn=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Vo=/^[^\n]+/,yn=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,Go=M(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",yn).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),jo=M(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,xn).getRegex(),Bt="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",kn=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Wo=M("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",kn).replace("tag",Bt).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),Ni=M(Cn).replace("hr",mt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Bt).getRegex(),qo=M(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",Ni).getRegex(),wn={blockquote:qo,code:No,def:Go,fences:Fo,heading:Uo,hr:mt,html:Wo,lheading:zi,list:jo,newline:zo,paragraph:Ni,table:De,text:Vo},Mi=M("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",mt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Bt).getRegex(),Ko=je(ae({},wn),{lheading:Ho,table:Mi,paragraph:M(Cn).replace("hr",mt).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",Mi).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Bt).getRegex()}),Jo=je(ae({},wn),{html:M(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",kn).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:De,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:M(Cn).replace("hr",mt).replace("heading",` *#{1,6} *[^
3
3
  ]`).replace("lheading",zi).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),Zo=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Yo=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,Fi=/^( {2,}|\\)\n(?!\s*$)/,Qo=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Ze=/[\p{P}\p{S}]/u,Ot=/[\s\p{P}\p{S}]/u,Sn=/[^\s\p{P}\p{S}]/u,Xo=M(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,Ot).getRegex(),Ui=/(?!~)[\p{P}\p{S}]/u,er=/(?!~)[\s\p{P}\p{S}]/u,tr=/(?:[^\s\p{P}\p{S}]|~)/u,nr=M(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",Oo?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),Hi=/^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/,ir=M(Hi,"u").replace(/punct/g,Ze).getRegex(),or=M(Hi,"u").replace(/punct/g,Ui).getRegex(),Vi="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",rr=M(Vi,"gu").replace(/notPunctSpace/g,Sn).replace(/punctSpace/g,Ot).replace(/punct/g,Ze).getRegex(),sr=M(Vi,"gu").replace(/notPunctSpace/g,tr).replace(/punctSpace/g,er).replace(/punct/g,Ui).getRegex(),ar=M("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,Sn).replace(/punctSpace/g,Ot).replace(/punct/g,Ze).getRegex(),lr=M(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,Ze).getRegex(),cr="^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)",dr=M(cr,"gu").replace(/notPunctSpace/g,Sn).replace(/punctSpace/g,Ot).replace(/punct/g,Ze).getRegex(),ur=M(/\\(punct)/,"gu").replace(/punct/g,Ze).getRegex(),pr=M(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),mr=M(kn).replace("(?:-->|$)","-->").getRegex(),hr=M("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",mr).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),It=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/,fr=M(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",It).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),Gi=M(/^!?\[(label)\]\[(ref)\]/).replace("label",It).replace("ref",yn).getRegex(),ji=M(/^!?\[(ref)\](?:\[\])?/).replace("ref",yn).getRegex(),gr=M("reflink|nolink(?!\\()","g").replace("reflink",Gi).replace("nolink",ji).getRegex(),Ri=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,En={_backpedal:De,anyPunctuation:ur,autolink:pr,blockSkip:nr,br:Fi,code:Yo,del:De,delLDelim:De,delRDelim:De,emStrongLDelim:ir,emStrongRDelimAst:rr,emStrongRDelimUnd:ar,escape:Zo,link:fr,nolink:ji,punctuation:Xo,reflink:Gi,reflinkSearch:gr,tag:hr,text:Qo,url:De},_r=je(ae({},En),{link:M(/^!?\[(label)\]\((.*?)\)/).replace("label",It).getRegex(),reflink:M(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",It).getRegex()}),fn=je(ae({},En),{emStrongRDelimAst:sr,emStrongLDelim:or,delLDelim:lr,delRDelim:dr,url:M(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",Ri).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:M(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",Ri).getRegex()}),br=je(ae({},fn),{br:M(Fi).replace("{2,}","*").getRegex(),text:M(fn.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),Lt={normal:wn,gfm:Ko,pedantic:Jo},dt={normal:En,gfm:fn,breaks:br,pedantic:_r},xr={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Li=t=>xr[t];function be(t,n){if(n){if(re.escapeTest.test(t))return t.replace(re.escapeReplace,Li)}else if(re.escapeTestNoEncode.test(t))return t.replace(re.escapeReplaceNoEncode,Li);return t}function Ii(t){try{t=encodeURI(t).replace(re.percentDecode,"%")}catch{return null}return t}function Pi(t,n){let e=t.replace(re.findPipe,(r,s,u)=>{let l=!1,h=s;for(;--h>=0&&u[h]==="\\";)l=!l;return l?"|":" |"}),i=e.split(re.splitPipe),o=0;if(i[0].trim()||i.shift(),i.length>0&&!i.at(-1)?.trim()&&i.pop(),n)if(i.length>n)i.splice(n);else for(;i.length<n;)i.push("");for(;o<i.length;o++)i[o]=i[o].trim().replace(re.slashPipe,"|");return i}function ut(t,n,e){let i=t.length;if(i===0)return"";let o=0;for(;o<i;){let r=t.charAt(i-o-1);if(r===n&&!e)o++;else if(r!==n&&e)o++;else break}return t.slice(0,i-o)}function Cr(t,n){if(t.indexOf(n[1])===-1)return-1;let e=0;for(let i=0;i<t.length;i++)if(t[i]==="\\")i++;else if(t[i]===n[0])e++;else if(t[i]===n[1]&&(e--,e<0))return i;return e>0?-2:-1}function yr(t,n=0){let e=n,i="";for(let o of t)if(o===" "){let r=4-e%4;i+=" ".repeat(r),e+=r}else i+=o,e++;return i}function Di(t,n,e,i,o){let r=n.href,s=n.title||null,u=t[1].replace(o.other.outputLinkReplace,"$1");i.state.inLink=!0;let l={type:t[0].charAt(0)==="!"?"image":"link",raw:e,href:r,title:s,text:u,tokens:i.inlineTokens(u)};return i.state.inLink=!1,l}function kr(t,n,e){let i=t.match(e.other.indentCodeCompensation);if(i===null)return n;let o=i[1];return n.split(`
4
4
  `).map(r=>{let s=r.match(e.other.beginningSpace);if(s===null)return r;let[u]=s;return u.length>=o.length?r.slice(o.length):r}).join(`
@@ -70,4 +70,4 @@ Please report this to https://github.com/markedjs/marked.`,t){let i="<p>An error
70
70
  `).slice(1).join(`
71
71
  `).trim();return Re.looksLikeJson(o)?Re.formatJson(o):o});typeLabel_$=S(()=>{switch(this.view().kind){case k.userPrompt:return"User";case k.assistant:return"Assistant";case k.tool:return"Tool Call";case k.toolResult:return"Tool Result";case k.error:return"Error";case k.info:return"Info";case k.status:return"Status";case k.thinking:return"Thinking";case k.runIntent:return"Run intent";case k.iteration:return"Iteration";case k.statusUpdate:return"Status update";case k.raw:return"Raw";case k.result:return"Result";case k.toolGroup:return"Tool group";case k.subAgentGroup:return"Sub-agent";default:return String(this.view().kind)}});kindEnum=k;tts_$=S(()=>this.view().tts??null);ttsLoading_$=W(!1);showTtsButton_$=S(()=>{let e=this.tts_$();return e!==null&&!e.hasTtsAudio&&e.content.trim().length>0});autoReadEffect=ii(()=>{if(this.isAutoPlayFired||this.view().kind!==k.assistant)return;let e=this.tts_$();!e||e.hasTtsAudio||e.content.trim().length===0||this.ttsLoading_$()||Nt.shouldAutoPlay(e.sessionId,e.timestampIso)&&(this.isAutoPlayFired=!0,this.handleTtsPlayClick())});ttsAudioUrl_$=S(()=>{let e=this.tts_$();if(!e||!e.hasTtsAudio)return null;let i=this.voiceSttQaUi_DS.getTtsMessageAudioUrl(e.messageKey);return i.length>0?i:null});handleTtsPlayClick(){return B(this,null,function*(){let e=this.tts_$();if(!(!e||this.ttsLoading_$())){this.ttsLoading_$.set(!0);try{(yield this.voiceTts_CS.playMessage({messageKey:e.messageKey,sessionId:e.sessionId,role:e.role,content:e.content,timestampIso:e.timestampIso,isUserGesture:!0}))&&this.ttsCached.emit(e.messageKey)}finally{this.ttsLoading_$.set(!1)}}})}handleToggleExpand(){this.isExpanded_$.update(e=>!e)}handleToggleAssistantBodyExpand(){this.isAssistantBodyExpanded_$.update(e=>!e)}handleToggleRawInfo(){this.isRawInfoOpen_$.update(e=>!e)}handleImageClick(e){window.open(e,"_blank")}handleAssistantMdClick(e){return B(this,null,function*(){yield vn.handleCodeCopyClick(e,i=>this.globalError_CS.copyToClipboard(i))})}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=qe({type:t,selectors:[["app-s-agent-console-message-bubble"]],inputs:{view:[1,"view"]},outputs:{ttsCached:"ttsCached"},standalone:!0,features:[Ke],decls:10,vars:2,consts:[[1,"rounded","border","px-2.5","py-1","text-xs","overflow-hidden",3,"class"],[1,"group/msg","rounded-lg","border","px-2","py-1","text-xs","sm:px-3","sm:py-1.5","sm:text-sm","overflow-hidden",3,"class"],[1,"flex","justify-center","mb-1","group/msg"],[1,"rounded","border","px-2.5","py-1.5","text-xs","overflow-hidden",3,"class"],[1,"bg-orange-500/5","border","border-orange-500/15","rounded-lg","overflow-hidden"],[1,"border","border-indigo-500/20","rounded-lg","overflow-hidden","bg-indigo-500/3"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","bg-black/70","p-4"],[1,"rounded","border","px-2.5","py-1","text-xs","overflow-hidden"],[1,"flex","items-center","gap-2","cursor-pointer","select-none",3,"click"],["title","Tool call failed",1,"w-1.5","h-1.5","rounded-full","bg-red-500","shrink-0"],[1,"text-orange-400","font-semibold","text-[11px]"],[1,"text-[10px]","text-neutral-400","select-none",3,"title"],[1,"flex-1"],[1,"text-neutral-600","text-[10px]"],["type","button","title","Raw details",3,"class"],["buttonTitle","Copy tool call","size","sm",3,"content"],[1,"text-[10px]","text-red-500/60","font-medium"],[1,"text-[10px]","text-green-500/60","font-medium"],["type","button","title","Raw details",3,"click"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true"],["cx","12","cy","12","r","10"],["d","M12 16v-4"],["d","M12 8h.01"],[1,"mt-1.5","border-t","border-orange-500/10","pt-1.5"],[1,"mt-1.5","border-t","border-green-500/10","pt-1.5"],[1,"text-[9px]","text-neutral-600","uppercase","tracking-wider","mb-0.5"],[1,"text-[11px]","leading-relaxed","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono","text-orange-300/80","max-h-[300px]","overflow-y-auto"],[1,"text-[11px]","leading-relaxed","font-mono","text-green-400/80","max-h-[300px]","overflow-y-auto","overflow-x-auto","break-words",3,"innerHTML"],[1,"text-[11px]","leading-relaxed","font-mono","text-green-400/80","max-h-[300px]","overflow-y-auto","whitespace-pre-wrap","break-words",3,"innerHTML"],[1,"mt-1","flex","justify-end"],["buttonTitle","Copy result","size","sm",3,"content"],[1,"text-[11px]","leading-relaxed","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono","text-green-400/80","max-h-[300px]","overflow-y-auto"],[1,"mt-1.5","border-t","border-red-500/15","pt-1.5"],[1,"text-[11px]","leading-relaxed","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono","text-red-400/90","max-h-[300px]","overflow-y-auto"],[1,"group/msg","rounded-lg","border","px-2","py-1","text-xs","sm:px-3","sm:py-1.5","sm:text-sm","overflow-hidden"],[1,"flex","items-center","gap-1","mb-px"],[1,"font-bold","text-[10px]","text-neonGreen/60","uppercase"],[1,"flex","items-center","gap-0.5"],["buttonTitle","Copy prompt","size","sm",3,"content"],["type","button","title","Felolvas\xE1s (TTS)",3,"disabled","class"],[1,"flex","flex-wrap","gap-2","mb-1.5"],[1,"leading-snug","sm:leading-normal","whitespace-pre-wrap","break-words","text-neutral-100"],["controls","","aria-label","\xDCzenet felolvas\xE1sa",1,"max-w-full","h-8","min-w-[200px]","mt-1.5",3,"src"],["type","button","title","Felolvas\xE1s (TTS)",3,"click","disabled"],[1,"inline-block","w-3.5","h-3.5","shrink-0","animate-spin","rounded-full","border-2","border-blue-400/40","border-t-blue-400"],["viewBox","0 0 24 24","fill","none","stroke","currentColor","stroke-width","2","stroke-linecap","round","stroke-linejoin","round","aria-hidden","true",1,"w-3.5","h-3.5","shrink-0"],["points","11 5 6 9 2 9 2 15 6 15 11 19 11 5"],["d","M15.54 8.46a5 5 0 0 1 0 7.07"],["alt","Attached image",1,"max-w-[200px]","max-h-[200px]","rounded","border","border-neonDefault/30","object-contain","cursor-pointer",3,"src"],["alt","Attached image",1,"max-w-[200px]","max-h-[200px]","rounded","border","border-neonDefault/30","object-contain","cursor-pointer",3,"click","src"],[1,"font-bold","text-[10px]","text-neonCyan/60","uppercase"],["buttonTitle","Copy message","size","sm",3,"content"],[1,"text-xs","leading-snug","sm:leading-normal","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono","text-neutral-100"],["type","button",1,"mt-1","text-[10px]","text-ccapAccent","hover:text-ccapAccent/80","transition-colors"],[1,"inline-block","w-3.5","h-3.5","shrink-0","animate-spin","rounded-full","border-2","border-neutral-400/40","border-t-neutral-300"],[1,"ccap-assistant-md","leading-snug","sm:leading-normal","break-words","text-neutral-100","min-w-0",3,"innerHTML"],[1,"ccap-assistant-md","leading-snug","sm:leading-normal","break-words","text-neutral-100","min-w-0",3,"click","innerHTML"],["type","button",1,"mt-1","text-[10px]","text-ccapAccent","hover:text-ccapAccent/80","transition-colors",3,"click"],[1,"inline-flex","items-center","gap-1.5","bg-teal-500/6","border","border-teal-500/15","rounded-full","px-3","py-0.5","max-w-[85%]","min-w-0"],["viewBox","0 0 16 16","fill","none","stroke","currentColor","stroke-width","2",1,"w-3","h-3","text-teal-400/70","shrink-0","animate-spin"],["d","M8 2a6 6 0 0 1 6 6","stroke-linecap","round"],[1,"text-[10px]","text-teal-300/70","truncate","min-w-0"],[1,"text-[8px]","text-teal-400/40","shrink-0"],["type","button",1,"shrink-0","w-3.5","h-3.5","rounded-full","bg-teal-500/15","flex","items-center","justify-center","cursor-pointer","hover:bg-teal-500/30"],["type","button",1,"shrink-0","w-3.5","h-3.5","rounded-full","bg-teal-500/15","flex","items-center","justify-center","cursor-pointer","hover:bg-teal-500/30",3,"click"],[1,"text-[7px]","text-teal-300/60","font-bold","leading-none"],[1,"rounded","border","px-2.5","py-1.5","text-xs","overflow-hidden"],[1,"flex","items-center","gap-1.5","mb-0.5"],["title","Error",1,"w-1.5","h-1.5","rounded-full","bg-red-500","shrink-0"],[1,"font-semibold","text-[10px]","text-red-400","uppercase","tracking-wider"],["buttonTitle","Copy error","size","sm",3,"content"],[1,"leading-relaxed","whitespace-pre-wrap","break-words","text-red-400"],[1,"font-semibold","text-[10px]","text-orange-300/70","uppercase","tracking-wider"],[1,"mt-1","text-[11px]","leading-relaxed","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono","text-orange-300/70","max-h-[300px]","overflow-y-auto"],[1,"flex","items-center","gap-1.5","px-2.5","py-1","cursor-pointer","select-none","hover:bg-orange-500/8","transition-colors","list-none","[&::-webkit-details-marker]:hidden"],[1,"text-[11px]","text-orange-300/90","font-medium"],["viewBox","0 0 12 12","fill","none",1,"w-3","h-3","text-orange-400/50","transition-transform","[[open]>&]:rotate-90"],["d","M4.5 2.5l4 3.5-4 3.5","stroke","currentColor","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round"],[1,"px-2","pb-1.5","pt-0.5","space-y-0.5"],[3,"view"],[3,"ttsCached","view"],[1,"flex","items-center","gap-1.5","px-2.5","py-1.5","cursor-pointer","select-none","hover:bg-indigo-500/8","transition-colors","list-none","[&::-webkit-details-marker]:hidden"],["viewBox","0 0 16 16","fill","none","stroke","currentColor","stroke-width","1.5","stroke-linecap","round","stroke-linejoin","round",1,"w-3.5","h-3.5","text-indigo-400","shrink-0"],["x","3","y","5","width","10","height","8","rx","2"],["cx","6","cy","9","r","1"],["cx","10","cy","9","r","1"],["d","M8 2v3"],["d","M6 2h4"],[1,"text-[10px]","text-indigo-400/60","font-medium","uppercase","tracking-wider","shrink-0"],[1,"text-[11px]","text-indigo-300/90","font-medium","truncate"],[1,"text-[9px]","text-indigo-400/40","shrink-0"],["viewBox","0 0 12 12","fill","none",1,"w-3","h-3","text-indigo-400/40","shrink-0","transition-transform","[[open]>&]:rotate-90"],[1,"px-2","pb-2","pt-1","space-y-0.5","border-t","border-indigo-500/10"],[1,"font-semibold","text-[10px]","uppercase","tracking-wider"],[1,"text-[9px]","text-neutral-500"],["buttonTitle","Copy","size","sm",3,"content"],[1,"mt-1","text-[11px]","leading-relaxed","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono",3,"class"],[1,"mt-1","leading-relaxed","whitespace-pre-wrap","break-words",3,"class"],[1,"mt-1","text-[11px]","leading-relaxed","overflow-x-auto","whitespace-pre-wrap","break-words","font-mono"],[1,"mt-1","leading-relaxed","whitespace-pre-wrap","break-words"],[1,"fixed","inset-0","z-50","flex","items-center","justify-center","bg-black/70","p-4",3,"click"],[1,"bg-neutral-900","border","border-neutral-700","rounded-lg","shadow-2xl","w-full","max-w-2xl","max-h-[80vh]","flex","flex-col",2,"max-height","80dvh",3,"click"],[1,"flex","items-center","gap-2","px-4","py-2","border-b","border-neutral-700","shrink-0"],[1,"text-xs","font-semibold","text-neutral-300"],[1,"text-[10px]","text-neutral-400",3,"title"],["buttonTitle","Copy raw JSON","size","sm",3,"content"],["type","button",1,"text-neutral-500","hover:text-neutral-300","text-sm","transition-colors","px-1",3,"click"],[1,"flex-1","overflow-auto","p-4","space-y-4"],[1,"text-[9px]","text-neutral-500","uppercase","tracking-wide","mb-1"],[1,"text-[11px]","leading-relaxed","whitespace-pre-wrap","break-words","overflow-x-auto","font-mono","text-neutral-300"],[1,"mb-3","last:mb-0"],[1,"text-[8px]","text-neutral-600","mb-0.5"]],template:function(i,o){if(i&1&&A(0,Fr,16,15,"div",0)(1,Jr,17,14,"div",1)(2,cs,17,14,"div",1)(3,ps,8,3,"div",2)(4,fs,14,11,"div",3)(5,xs,14,12,"div",0)(6,ys,10,2,"details",4)(7,Ss,20,3,"details",5)(8,Rs,15,16,"div",0)(9,Bs,17,11,"div",6),i&2){let r,s;y((r=o.view().kind)===o.kindEnum.tool?0:r===o.kindEnum.userPrompt?1:r===o.kindEnum.assistant?2:r===o.kindEnum.statusUpdate?3:r===o.kindEnum.error?4:r===o.kindEnum.toolResult?5:r===o.kindEnum.toolGroup?6:r===o.kindEnum.subAgentGroup?7:8),p(9),y((s=o.isRawInfoOpen_$()&&o.rawOverlayBundle_$())?9:-1,s)}},dependencies:()=>[t,Je,mi,Ji,hi,fi],styles:[`@charset "UTF-8";
72
72
  /*# sourceMappingURL=s-agent-console-message-bubble.component-QJSDQEWX.css.map */`]})}return t})();var Os=[[["","sChatColumnHeader",""]],[["","sChatColumnScroll",""]],[["","sChatColumnOverlay",""]],[["","sChatColumnComposer",""]]],zs=["[sChatColumnHeader]","[sChatColumnScroll]","[sChatColumnOverlay]","[sChatColumnComposer]"],ol=(()=>{class t{static \u0275fac=function(i){return new(i||t)};static \u0275cmp=qe({type:t,selectors:[["app-s-session-chat-column-layout"]],hostAttrs:[1,"flex","flex-col","flex-1","min-h-0","overflow-hidden","w-full","min-w-0"],standalone:!0,features:[Ke],ngContentSelectors:zs,decls:8,vars:0,consts:[[1,"min-w-0","shrink-0"],[1,"relative","min-h-0","min-w-0","flex-1","flex","flex-col"],[1,"min-h-0","min-w-0","flex-1","overflow-y-auto","overflow-x-hidden"]],template:function(i,o){i&1&&(ni(Os),c(0,"div",0),ot(1),d(),c(2,"div",1)(3,"div",2),ot(4,1),d(),ot(5,2),d(),c(6,"div",0),ot(7,3),d())},dependencies:[Je],encapsulation:2})}return t})();var $n=en(rn());var Qi=(()=>{class t{mrg_AS=le(pi);erg_AS=le(gi);llmEntries_$=W([]);llmLoading_$=W(!1);llmLoadError_$=W(null);isLlmLoaded=!1;llmLoadPromise=null;embeddingEntries_$=W([]);embeddingLoading_$=W(!1);embeddingLoadError_$=W(null);isEmbeddingLoaded=!1;embeddingLoadPromise=null;enabledLlmModels_$=S(()=>this.llmEntries_$().filter(e=>e.enabled));enabledLlmProviders_$=S(()=>{let e=new Map;for(let i of this.enabledLlmModels_$())e.has(i.provider)||e.set(i.provider,t.llmProviderLabel(i.provider));return[...e.entries()].map(([i,o])=>({value:i,label:o}))});isLlmEmpty_$=S(()=>this.isLlmLoaded&&!this.llmLoading_$()&&this.enabledLlmModels_$().length===0);enabledEmbeddingModels_$=S(()=>this.embeddingEntries_$().filter(e=>e.enabled===!0));enabledEmbeddingProviders_$=S(()=>{let e=new Map;for(let i of this.enabledEmbeddingModels_$()){let o=i.embeddingBackend??"";o&&!e.has(o)&&e.set(o,t.embeddingBackendLabel(o))}return[...e.entries()].map(([i,o])=>({value:i,label:o}))});isEmbeddingEmpty_$=S(()=>this.isEmbeddingLoaded&&!this.embeddingLoading_$()&&this.enabledEmbeddingModels_$().length===0);ensureLoaded(e){return B(this,null,function*(){if(e==="llm"){if(this.isLlmLoaded&&!this.llmLoading_$())return;if(this.llmLoadPromise)return this.llmLoadPromise;this.llmLoadPromise=this.fetchLlm();try{yield this.llmLoadPromise}finally{this.llmLoadPromise=null}return}if(!(this.isEmbeddingLoaded&&!this.embeddingLoading_$())){if(this.embeddingLoadPromise)return this.embeddingLoadPromise;this.embeddingLoadPromise=this.fetchEmbedding();try{yield this.embeddingLoadPromise}finally{this.embeddingLoadPromise=null}}})}refresh(e){return B(this,null,function*(){e==="llm"?(this.isLlmLoaded=!1,yield this.fetchLlm()):(this.isEmbeddingLoaded=!1,yield this.fetchEmbedding())})}invalidate(e){e==="llm"?this.isLlmLoaded=!1:this.isEmbeddingLoaded=!1}getModelsForProvider(e,i){return e==="llm"?this.enabledLlmModels_$().filter(o=>o.provider===i).map(o=>o.modelName):this.enabledEmbeddingModels_$().filter(o=>o.embeddingBackend===i).map(o=>o.modelId??"")}fetchLlm(){return B(this,null,function*(){this.llmLoading_$.set(!0),this.llmLoadError_$.set(null);try{let e=yield this.mrg_AS.getList({enabled:!0});this.llmEntries_$.set(e.list),this.isLlmLoaded=!0}catch(e){this.llmLoadError_$.set(e),$n.DyFM_Error.logSimple("AIS_RegistrySsot_ControlService | fetchLlm failed",e)}finally{this.llmLoading_$.set(!1)}})}fetchEmbedding(){return B(this,null,function*(){this.embeddingLoading_$.set(!0),this.embeddingLoadError_$.set(null);try{let e=yield this.erg_AS.getList({enabled:!0});this.embeddingEntries_$.set(e.list),this.isEmbeddingLoaded=!0}catch(e){this.embeddingLoadError_$.set(e),$n.DyFM_Error.logSimple("AIS_RegistrySsot_ControlService | fetchEmbedding failed",e)}finally{this.embeddingLoading_$.set(!1)}})}static llmProviderLabel(e){return{"open-ai":"OpenAI",anthropic:"Anthropic",google:"Google",deepseek:"DeepSeek","fdp-ai":"FDPAI"}[e]??e}static embeddingBackendLabel(e){return{ollama:"Ollama","open-ai-compatible":"OpenAI-kompatibilis","open-ai-official":"OpenAI hivatalos","custom-http":"Custom HTTP"}[e]??e}static \u0275fac=function(i){return new(i||t)};static \u0275prov=We({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Ns=(t,n)=>n.value;function Fs(t,n){t&1&&(c(0,"div",0),E(1,"span",3),c(2,"span"),g(3,"Registry bet\xF6lt\xE9se\u2026"),d()())}function Us(t,n){if(t&1&&(c(0,"p",4),g(1,"Nincs enged\xE9lyezett modell a registry-ben."),d(),c(2,"p"),g(3," Menj a "),c(4,"a",5),g(5,"Model Registry"),d(),g(6," oldalra, futtass "),c(7,"strong"),g(8,"Sync"),d(),g(9,"-et, majd az "),c(10,"code",6),g(11,"enabled"),d(),g(12," kapcsol\xF3val enged\xE9lyezz legal\xE1bb egy modellt. "),d()),t&2){let e=_(2);p(4),$("routerLink",e.registryRoute_$())}}function Hs(t,n){if(t&1&&(c(0,"p",4),g(1,"Nincs enged\xE9lyezett embedding modell."),d(),c(2,"p"),g(3," Menj az "),c(4,"a",5),g(5,"Embedding Registry"),d(),g(6," oldalra, futtass "),c(7,"strong"),g(8,"Sync"),d(),g(9,"-et, majd az "),c(10,"code",6),g(11,"enabled"),d(),g(12," kapcsol\xF3val enged\xE9lyezz legal\xE1bb egy modellt. "),d()),t&2){let e=_(2);p(4),$("routerLink",e.registryRoute_$())}}function Vs(t,n){if(t&1&&(c(0,"div",1),A(1,Us,13,1)(2,Hs,13,1),d()),t&2){let e=_();p(),y(e.registryKind()==="llm"?1:2)}}function Gs(t,n){if(t&1&&(c(0,"option",11),g(1),d()),t&2){let e=n.$implicit;$("value",e.value),p(),v(e.label)}}function js(t,n){if(t&1){let e=U();c(0,"div",7)(1,"label",8),g(2),d(),c(3,"select",9),N("ngModelChange",function(o){O(e);let r=_(2);return z(r.handleProviderChange(o))}),c(4,"option",10),g(5,"\u2014 V\xE1lassz \u2014"),d(),$e(6,Gs,2,2,"option",11,Ns),d()()}if(t&2){let e=_(2);p(2),v(e.providerLabel()),p(),$("ngModel",e.selectedProvider())("disabled",e.disabled()),p(3),Me(e.providerOptions_$())}}function Ws(t,n){if(t&1&&(c(0,"option",11),g(1),d()),t&2){let e=n.$implicit;$("value",e),p(),v(e)}}function qs(t,n){t&1&&(c(0,"span",12),g(1,"A kiv\xE1lasztott providernek nincs enged\xE9lyezett modellje."),d())}function Ks(t,n){if(t&1){let e=U();c(0,"div",2),A(1,js,8,3,"div",7),c(2,"div",7)(3,"label",8),g(4),d(),c(5,"select",9),N("ngModelChange",function(o){O(e);let r=_();return z(r.handleModelChange(o))}),c(6,"option",10),g(7,"\u2014 V\xE1lassz modellt \u2014"),d(),$e(8,Ws,2,2,"option",11,St),d(),A(10,qs,2,0,"span",12),d()()}if(t&2){let e=_();p(),y(e.showProviderSelect_$()?1:-1),p(3),v(e.modelLabel()),p(),$("ngModel",e.selectedModel())("disabled",e.disabled()||e.modelOptions_$().length===0),p(3),Me(e.modelOptions_$()),p(2),y(e.modelOptions_$().length===0&&(e.selectedProvider()||e.providerFilter())?10:-1)}}var Cl=(()=>{class t{registrySsot_CS=le(Qi);registryKind=ge.required();selectedProvider=ge("");selectedModel=ge("");providerLabel=ge("Provider");modelLabel=ge("Modell");disabled=ge(!1);providerFilter=ge(void 0);providerChange=it();modelChange=it();isEmpty_$=S(()=>this.registryKind()==="llm"?this.registrySsot_CS.isLlmEmpty_$():this.registrySsot_CS.isEmbeddingEmpty_$());isLoading_$=S(()=>this.registryKind()==="llm"?this.registrySsot_CS.llmLoading_$():this.registrySsot_CS.embeddingLoading_$());providerOptions_$=S(()=>this.registryKind()==="llm"?this.registrySsot_CS.enabledLlmProviders_$():this.registrySsot_CS.enabledEmbeddingProviders_$());modelOptions_$=S(()=>{let e=this.providerFilter()??this.selectedProvider();return e?this.registrySsot_CS.getModelsForProvider(this.registryKind(),e):[]});registryRoute_$=S(()=>this.registryKind()==="llm"?"/model-registry":"/embedding-registry");showProviderSelect_$=S(()=>this.providerFilter()===void 0);ngOnInit(){this.registrySsot_CS.ensureLoaded(this.registryKind())}handleProviderChange(e){this.providerChange.emit(e)}handleModelChange(e){this.modelChange.emit(e)}static \u0275fac=function(i){return new(i||t)};static \u0275cmp=qe({type:t,selectors:[["app-s-registry-provider-model-select"]],inputs:{registryKind:[1,"registryKind"],selectedProvider:[1,"selectedProvider"],selectedModel:[1,"selectedModel"],providerLabel:[1,"providerLabel"],modelLabel:[1,"modelLabel"],disabled:[1,"disabled"],providerFilter:[1,"providerFilter"]},outputs:{providerChange:"providerChange",modelChange:"modelChange"},standalone:!0,features:[Ke],decls:3,vars:3,consts:[[1,"flex","items-center","gap-2","text-sm","text-zinc-400","py-1"],[1,"bg-red-900/30","border","border-red-600","rounded","px-3","py-2","text-sm","text-red-300","space-y-1"],[1,"flex","flex-col","gap-2"],[1,"animate-spin","inline-block","w-4","h-4","border-2","border-zinc-500","border-t-transparent","rounded-full"],[1,"font-semibold"],[1,"underline","text-blue-400","hover:text-blue-300",3,"routerLink"],[1,"text-xs","bg-zinc-800","px-1","rounded"],[1,"flex","flex-col","gap-1"],[1,"text-xs","text-zinc-400","uppercase","tracking-wide"],[1,"bg-zinc-800","border","border-zinc-600","rounded","px-2","py-1","text-sm","text-zinc-100",3,"ngModelChange","ngModel","disabled"],["value",""],[3,"value"],[1,"text-xs","text-zinc-500"]],template:function(i,o){i&1&&A(0,Fs,4,0,"div",0)(1,Vs,3,1,"div",1)(2,Ks,11,5,"div",2),i&2&&(y(o.isLoading_$()?0:-1),p(),y(o.isEmpty_$()&&!o.isLoading_$()?1:-1),p(),y(!o.isEmpty_$()&&!o.isLoading_$()?2:-1))},dependencies:[Je,ui,ci,di,li,si,ai,ri,oi],encapsulation:2})}return t})();export{vn as a,k as b,Qe as c,Nt as d,Ji as e,el as f,ol as g,Qi as h,Cl as i};
73
- //# sourceMappingURL=chunk-3KUKN53F.js.map
73
+ //# sourceMappingURL=chunk-LB5BCGXE.js.map
@@ -208,5 +208,5 @@ stackLocation: ${this.stackLocation}
208
208
  DynamoPoll: "${this.name}" pollDo was UNSUCCESSFUL`,error:r})})})),this.running=!0}catch(r){throw new ru.DyFM_Error({message:`DYNAMO ERROR:
209
209
  DynamoPoll: startPoll was UNSUCCESSFUL`,error:r})}})}restartPoll(e){try{e?this.startPoll(e):this.startPoll(this.args)}catch(r){throw new ru.DyFM_Error({message:`DYNAMO ERROR:
210
210
  DynamoPoll: restartPoll was UNSUCCESSFUL`,error:r})}}stop(){this.poll.unsubscribe(),this.running=!1}end(e){this.poll.unsubscribe(),this.pollEnd?.(e),this.running=!1}};tu.DyFM_Poll=Jc});var ly=f(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.DyFM_RangeValue=void 0;var Gc=class t{isRange=!0;from;to;constructor(e,r){if(e?.isRange){this.from=e.from,this.to=e.to;return}else this.from=e,this.to=r??e}constructed(){return!0}newValues(e){this.from=e.from,this.to=e.to}addRange(e){this.from+=e.from,this.to+=e.to}subtractRange(e){this.from-=e.from,this.to-=e.to}multiplyRange(e){this.from*=e.from,this.to*=e.to}divideRange(e){this.from/=e.from,this.to/=e.to}add(e){this.from+=e,this.to+=e}subtract(e){this.from-=e,this.to-=e}multiply(e){this.from*=e,this.to*=e}divide(e){this.from/=e,this.to/=e}clone(){return new t(this.from,this.to)}applyTransform(e){return new t(e(this.from),e(this.to))}toString=this.stringify;stringify(e=!0,r=!0){return r&&this.from===this.to?`${this.from}`:e?`${this.from} - ${this.to}`:`${this.from}-${this.to}`}static reType(e){return new t(e.from,e.to)}static addRange(e,r){return new t(e.from+r.from,e.to+r.to)}static subtractRange(e,r){return new t(e.from-r.from,e.to-r.to)}static multiplyRange(e,r){return new t(e.from*r.from,e.to*r.to)}static divideRange(e,r){return new t(e.from/r.from,e.to/r.to)}static add(e,r){return new t(e.from+r,e.to+r)}static subtract(e,r){return new t(e.from-r,e.to-r)}static multiply(e,r){return new t(e.from*r,e.to*r)}static divide(e,r){return new t(e.from/r,e.to/r)}static isInRange(e,r){return r.from<=e&&e<=r.to}};nu.DyFM_RangeValue=Gc});var fy=f(Ot=>{"use strict";Object.defineProperty(Ot,"__esModule",{value:!0});Ot.DyFM_serverStatus_dataParams=Ot.DyFM_ServerStatus=void 0;var Uk=iu(),Tk=kr(),Hc=class extends Tk.DyFM_Metadata{status;systemName;systemShortCode;clientVersionOk;latestClientVersion;latestClientVersionNumeric;serverVersion;serverNumericVersion;uptime;serverMessage;memoryUsage;cpuUsage;serverConnections;constructor(e){super(e),e&&Object.assign(this,e)}};Ot.DyFM_ServerStatus=Hc;Ot.DyFM_serverStatus_dataParams=new Uk.DyFM_DataModel_Params({dataName:"server_status",properties:{status:{type:"string"},systemName:{type:"string"},systemShortCode:{type:"string"},clientVersionOk:{type:"boolean"},latestClientVersion:{type:"string"},latestClientVersionNumeric:{type:"number"},serverVersion:{type:"string"},serverNumericVersion:{type:"number"},uptime:{type:"number"},serverMessage:{type:"string"},memoryUsage:{type:"object"},cpuUsage:{type:"object"},serverConnections:{type:"object"}}})});var vy=f(ur=>{"use strict";Object.defineProperty(ur,"__esModule",{value:!0});ur.DyFM_API_Input_Type=ur.DyFM_ServerRoute_SettingsBase=ur.DyFM_Endpoint_SettingsBase=void 0;var Wk=Fr(),ou=class{name;type;endpoint;pathParamKeys=[];constructor(e){if(!e.endpoint)throw new Error(`endpoint not setted up for this endpoint (${e.name??(0,Wk.DyFM_getConstructionStackLocation)()})`);e.endpoint.includes("{")&&(console.warn(`using {param} brackets in endpoint definitions will be deprecated...
211
- use :param instead ({pathParam} --> :pathParam) (${e.name})`),e.endpoint=e.endpoint.replace(/{/g,":").replace(/}/g,"")),Object.assign(this,e),this.pathParamKeys=this.endpoint.split("/").filter(r=>r.startsWith(":")).map(r=>r.replace(":",""))}};ur.DyFM_Endpoint_SettingsBase=ou;var Zc=class extends ou{preProcesses;tasks;simpleTask;constructor(e){super(e),Object.assign(this,e)}};ur.DyFM_ServerRoute_SettingsBase=Zc;var dy=function(t){return t.body="body",t.queryParams="queryParams",t}(dy||(ur.DyFM_API_Input_Type=dy={}))});var hy=f(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.DyFM_errors_dataParams=xe.DyFM_Errors=xe.DyFM_errorsFlag=void 0;var Bk=Ds(),Vk=kr();xe.DyFM_errorsFlag="DyFM-ERRORS-OBJECT";var Kc=class extends Vk.DyFM_Metadata{flag=xe.DyFM_errorsFlag;source;issuer;username;versions=[];localTime;region;message;exception;exceptionObj;stackTrace=[];error;count=1;d_error;additionalContent;level;priority;duplications=[];constructor(e){super(e),e&&Object.assign(this,e)}};xe.DyFM_Errors=Kc;xe.DyFM_errors_dataParams=new Bk.DyFM_DataModel_Params({dataName:"errors",properties:{flag:{type:"string"},issuer:{type:"string"},username:{type:"string"},versions:{type:"string[]"},localTime:{type:"string"},region:{type:"string"},message:{type:"string"},exception:{type:"string"},exceptionObj:{type:"any"},stackTrace:{type:"string[]"},error:{type:"any"},count:{type:"number"},d_error:{type:"DyFM_Error"},additionalContent:{type:"any"},level:{type:"DyFM_ErrorLevel"},priority:{type:"number"},duplications:{type:"DyNTS_Error[]"}}})});var yy=f(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0})});var my=f(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0})});var gy=f(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0})});var Sy=f(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0})});var qy=f(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0})});var jy=f(My=>{"use strict";Object.defineProperty(My,"__esModule",{value:!0})});var Ay=f(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0})});var Ey=f(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0})});var Dy=f(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0})});var Iy=f(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0})});var Cy=f(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0})});var Ny=f(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0})});var Uy=f($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0})});var Wy=f(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.DyFM_SpecialSearch_Type=void 0;var Ty=function(t){return t.stringListSearchAny="stringListSearchAny",t.stringListSearch="stringListSearch",t.stringListSearchOrdered="stringListSearchOrdered",t}(Ty||(au.DyFM_SpecialSearch_Type=Ty={}))});var Vy=f(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0})});var iu=f(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var S=(hu(),tl(vu));S.__exportStar(pu(),O);S.__exportStar(yu(),O);S.__exportStar(Al(),O);S.__exportStar(Fl(),O);S.__exportStar(wt(),O);S.__exportStar(El(),O);S.__exportStar(Fu(),O);S.__exportStar(Il(),O);S.__exportStar(Du(),O);S.__exportStar(he(),O);S.__exportStar(Ll(),O);S.__exportStar(bn(),O);S.__exportStar(Fr(),O);S.__exportStar(Ru(),O);S.__exportStar(Lu(),O);S.__exportStar(ju(),O);S.__exportStar(Cl(),O);S.__exportStar(Uu(),O);S.__exportStar(vf(),O);S.__exportStar(pf(),O);S.__exportStar(Mt(),O);S.__exportStar(yf(),O);S.__exportStar(ds(),O);S.__exportStar(hs(),O);S.__exportStar(_f(),O);S.__exportStar(mf(),O);S.__exportStar(bf(),O);S.__exportStar(jt(),O);S.__exportStar(ms(),O);S.__exportStar(gf(),O);S.__exportStar(gs(),O);S.__exportStar(qt(),O);S.__exportStar(wf(),O);S.__exportStar(jf(),O);S.__exportStar(Af(),O);S.__exportStar(Ef(),O);S.__exportStar(Ou(),O);S.__exportStar(gu(),O);S.__exportStar(Su(),O);S.__exportStar(Ds(),O);S.__exportStar(ws(),O);S.__exportStar(Bn(),O);S.__exportStar(cy(),O);S.__exportStar(ly(),O);S.__exportStar(fy(),O);S.__exportStar(vy(),O);S.__exportStar(Fs(),O);S.__exportStar(Ms(),O);S.__exportStar(Ps(),O);S.__exportStar(hy(),O);S.__exportStar(kr(),O);S.__exportStar(yy(),O);S.__exportStar(my(),O);S.__exportStar(gy(),O);S.__exportStar(Sy(),O);S.__exportStar(qy(),O);S.__exportStar(jy(),O);S.__exportStar(Ay(),O);S.__exportStar(Ey(),O);S.__exportStar(Dy(),O);S.__exportStar(Iy(),O);S.__exportStar(Cy(),O);S.__exportStar(Ny(),O);S.__exportStar(Uy(),O);S.__exportStar(Wy(),O);S.__exportStar(Vy(),O)});var zy="1.1.3557";var Yy={baseUrl:"MISSING",api:{baseUrl:"MISSING"},production:!1,version:zy};var zk=function(t){return t.openAi="open-ai",t.anthropic="anthropic",t.google="google",t.deepseek="deepseek",t.fdpAi="fdp-ai",t.customLocalAi="custom-local-ai",t}(zk||{});var Yk=function(t){return t.openAi="open-ai",t.localAi="local-ai",t.routing="routing",t}(Yk||{});var Jk=function(t){return t.discord="discord",t.signal="signal",t.teams="teams",t.routing="routing",t}(Jk||{});var uu=function(t){return t.vaultKey="vault-key",t.instanceRegistry="instance-registry",t.general="general",t.llmProviders="llm-providers",t.messageProviders="message-providers",t.modelTesting="model-testing",t.discordAccess="discord-access",t.voice="voice",t.visuals="visuals",t.soul="soul",t.mcp="mcp",t.cliTools="cli-tools",t.secretVault="secret-vault",t.agentEmail="agent-email",t.embedding="embedding",t.rag="rag",t.developer="developer",t.agentRuntime="agent-runtime",t.agentCronJobs="agent-cron-jobs",t.scheduler="scheduler",t.github="github",t.openclawRegistry="openclaw-registry",t.deviceIdentity="device-identity",t.consultant="consultant",t.caAgent="ca-agent",t.darkOfficeLayout="dark-office-layout",t.cluster="cluster",t}(uu||{});var Gk=function(t){return t.openAi="open-ai",t.leonardo="leonardo",t.fdpai="fdpai",t.routing="routing",t}(Gk||{});var Hk=function(t){return t.elevenLabs="elevenlabs",t.fdpai="fdpai",t.routing="routing",t}(Hk||{});var Zk=function(t){return t.pending="pending",t.running="running",t.completed="completed",t.failed="failed",t}(Zk||{});var Kk=function(t){return t.apiKey="api-key",t.credentials="credentials",t}(Kk||{});var Qk=function(t){return t.req="req",t.bug="bug",t.feature="feature",t.improvement="improvement",t.task="task",t.question="question",t.research="research",t}(Qk||{});var Xk=function(t){return t.low="low",t.medium="medium",t.high="high",t.urgent="urgent",t}(Xk||{});var eI=function(t){return t.todo="todo",t.backlog="backlog",t.bugs="bugs",t.changelog="changelog",t.userInput="user-input",t.status="status",t.testErrorReports="test-error-reports",t}(eI||{});var rI=function(t){return t.update="update",t.remove="remove",t}(rI||{});var tI=function(t){return t.e2e="e2e",t.serverUnit="server-unit",t.clientUnit="client-unit",t.cli="cli",t}(tI||{});var nI=function(t){return t.instant="instant",t.agenticAny="agentic-any",t.ask="ask",t.plan="plan",t}(nI||{});var iI=function(t){return t.full="full",t.askOnly="ask-only",t.planOnly="plan-only",t}(iI||{});var oI=function(t){return t.draft="draft",t.promotedUserInput="promoted-user-input",t.promotedBug="promoted-bug",t.discarded="discarded",t}(oI||{});var aI=function(t){return t.userInput="user-input",t.bugReport="bug-report",t.unspecified="unspecified",t}(aI||{});var uI=function(t){return t.easy="easy",t.medium="medium",t.hard="hard",t.komplex="komplex",t}(uI||{});var Qc="mongodb://200.33.0.101:29017";var sI="A k\xE9r\xE9s nem jutott el a szerverig, vagy nem \xE9rkezett v\xE1lasz. Lehets\xE9ges okok: a szerver nem fut vagy m\xE1s porton hallgat, h\xE1l\xF3zati hiba, a kliens megszak\xEDtotta a k\xE9r\xE9st, vagy m\xE1s origin eset\xE9n CORS blokkolja. Ellen\u0151rizd, hogy a szerver fut-e \xE9s a megadott c\xEDm/port helyes.",cI="Szerver 500-as hiba. A v\xE1lasz body \xFCres vagy nem el\xE9rhet\u0151.",su=class t{static isLikelyHtmlErrorPage(e){let r=e.trim();if(!r.startsWith("<"))return!1;let n=r.toLowerCase();return n.includes("<!doctype")||n.includes("<html")||n.includes("<title>")||n.includes("cannot get")||n.includes("cannot post")||n.includes("cannot put")||n.includes("cannot delete")}static getMessageForHtmlHttpErrorBody(e){let r="R\xE9szletek: szerver log vagy DevTools Network tab.";return e===404?`Az endpoint nem tal\xE1lhat\xF3 (HTTP ${e}). Ellen\u0151rizd az API base URL-t \xE9s a szerver route-okat. `+r:`A szerver HTML error oldalt adott vissza (nem JSON API v\xE1lasz), HTTP ${e}. ${r}`}static getHttpErrorMessage(e,r){if(e.status===0)return sI;let n=r!=null&&typeof r=="string"&&r.trim().length>0?r:null;return n==null&&typeof e.error=="string"&&e.error.trim().length>0&&(n=e.error),n!=null&&t.isLikelyHtmlErrorPage(n)?t.getMessageForHtmlHttpErrorBody(e.status):e.status===500&&!(n!=null&&typeof n=="string"&&n.trim().length>0)?cI:n??e.message??e.statusText??`HTTP ${e.status}`}};var Jy=(()=>{class t{settingsBaseUrl=`${Yy.api.baseUrl}/settings`;http=en(ol);getDefaultWorkspace(){return R(this.http.get(`${this.settingsBaseUrl}/default-workspace`))}getSection(r){return R(this.http.get(`${this.settingsBaseUrl}/get-section/${r}`))}getRequiredWarningsSummary(){return R(this.http.get(`${this.settingsBaseUrl}/required-warnings-summary`))}saveSection(r,n){return R(this.http.patch(`${this.settingsBaseUrl}/save-section/${r}`,n))}postProviderAccessAllow(r){return R(this.http.post(`${this.settingsBaseUrl}/provider-access/allow`,r))}getSoulStatus(){return R(this.http.get(`${this.settingsBaseUrl}/soul-status`))}getSoulContent(){return R(this.http.get(`${this.settingsBaseUrl}/soul-content`))}postGenerateSoul(r){return R(this.http.post(`${this.settingsBaseUrl}/generate-soul`,r))}postTestLlmProvider(r){return R(this.http.post(`${this.settingsBaseUrl}/test-llm-provider`,r))}postListLlmModels(r){return R(this.http.post(`${this.settingsBaseUrl}/list-llm-models`,r))}postListEmbeddingModels(r){return R(this.http.post(`${this.settingsBaseUrl}/list-embedding-models`,r))}postTestMessagingProvider(r){return R(this.http.post(`${this.settingsBaseUrl}/test-messaging-provider`,r))}postMcpSync(r){return R(this.http.post(`${this.settingsBaseUrl}/mcp-sync`,r))}postCliHelpProbe(r){return R(this.http.post(`${this.settingsBaseUrl}/cli-help-probe`,r))}postCliHelpSuggest(r){return R(this.http.post(`${this.settingsBaseUrl}/cli-help-suggest`,r))}postTestAgentEmail(){return R(this.http.post(`${this.settingsBaseUrl}/test-agent-email`,{}))}testOpenclawConnection(r){return R(this.http.post(`${this.settingsBaseUrl}/test-openclaw-connection`,r))}pairOpenclawInstance(r){return R(this.http.post(`${this.settingsBaseUrl}/openclaw-registry/${r.instanceId}/pair`,{}))}getClusterDiagnostics(){return R(this.http.get(`${this.settingsBaseUrl}/cluster/diagnostics`))}postClusterReBootstrap(){return R(this.http.post(`${this.settingsBaseUrl}/cluster/re-bootstrap`,{}))}postClusterReconnectWs(){return R(this.http.post(`${this.settingsBaseUrl}/cluster/reconnect-ws`,{}))}postClusterReconnectPeer(r){let n=encodeURIComponent(r);return R(this.http.post(`${this.settingsBaseUrl}/cluster/reconnect-ws/${n}`,{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gy=rl(iu());var Xc=rl(iu());var cu=class{_master;get master(){return this._master}setupMaster(e){this._master=e}};var lu=class t extends cu{settings_AS=en(Jy);loading_$=ke(!1);loadError_$=ke(null);saving_$=ke(!1);saveError_$=ke(null);load(){return U(this,null,function*(){this.loading_$.set(!0),this.loadError_$.set(null);try{yield this.doLoad()}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to load section`,e);let r=t.getErrorMessage(e);this.loadError_$.set(r)}finally{this.loading_$.set(!1)}})}save(){return U(this,null,function*(){this.saving_$.set(!0),this.saveError_$.set(null);try{let e=this.buildSaveBody(),r=yield this.doSave(e);return r.success?yield this.load():this.saveError_$.set(r.error??"Ment\xE9s sikertelen."),r}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to save section`,e);let r=t.getErrorMessage(e);return this.saveError_$.set(r),{success:!1,error:r}}finally{this.saving_$.set(!1)}})}doSave(e){return U(this,null,function*(){return this.settings_AS.saveSection(this.getSectionId(),e)})}static getErrorMessage(e){if(e instanceof il){let r=e.error,n=null;if(r!==null&&typeof r=="object"){let i=r;typeof i.error=="string"?n=i.error:i.error!=null?n=String(i.error):typeof i.message=="string"&&(n=i.message);let o=i.errorCode,a=typeof o=="string"&&o.trim().length>0?o.trim():void 0;a!==void 0&&(n!=null&&n.trim().length>0?n=`${a}: ${n}`:n=a)}else typeof r=="string"&&(n=r);return su.getHttpErrorMessage(e,n)}return e instanceof Error?e.message||"M\u0171velet sikertelen.":String(e)||"M\u0171velet sikertelen."}};var X4=(()=>{class t extends lu{defaultWorkspacePath_$=ke("");section_$=ke({form:{mongodbUri:Qc,useOpenClawPath:!1,defaultPathOverride:"",autoStartWithSystem:!1,useLiveContext:!0,reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:"daily",ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:null},runtime:{}});updateForm(r){this.section_$.update(n=>Sr(oe({},n),{form:oe(oe({},n.form),r)}))}setSection(r){this.section_$.set(r)}updateGeneralForm(r){this.updateForm(r),this.master?.bumpDigest()}getSectionId(){return uu.general}getSection_$(){return this.section_$}loadDefaultWorkspacePath(){return U(this,null,function*(){try{let r=yield this.settings_AS.getDefaultWorkspace();this.defaultWorkspacePath_$.set(r.workspacePath?.trim()??"")}catch(r){Gy.DyFM_Error.logSimple("CCAP_SettingsGeneral_DS | loadDefaultWorkspacePath failed",r),this.defaultWorkspacePath_$.set("")}})}doLoad(){return U(this,null,function*(){let r=yield this.settings_AS.getSection(uu.general);this.setSection({form:{mongodbUri:typeof r.mongodbUri=="string"?r.mongodbUri:Qc,useOpenClawPath:typeof r.useOpenClawPath=="boolean"?r.useOpenClawPath:!1,defaultPathOverride:typeof r.defaultPathOverride=="string"?r.defaultPathOverride:"",autoStartWithSystem:typeof r.autoStartWithSystem=="boolean"?r.autoStartWithSystem:!1,useLiveContext:typeof r.useLiveContext=="boolean"?r.useLiveContext:!0,reportSocketConnectionErrorsToErrorList:typeof r.reportSocketConnectionErrorsToErrorList=="boolean"?r.reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:typeof r.agenticLoopDebriefEnabled=="boolean"?r.agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:typeof r.mobileAutoUpdateEnabled=="boolean"?r.mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:typeof r.serverAutoUpdateEnabled=="boolean"?r.serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval==="daily"?"daily":r.serverAutoUpdateCheckInterval==="weekly"?"weekly":"daily",ccSessionRunnerGracePeriodSec:typeof r.ccSessionRunnerGracePeriodSec=="number"&&r.ccSessionRunnerGracePeriodSec>0?r.ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:typeof r.ccSessionRunnerIdleTimeoutSec=="number"&&r.ccSessionRunnerIdleTimeoutSec>0?r.ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:typeof r.ccSessionAutoArchiveScanIntervalSec=="number"&&r.ccSessionAutoArchiveScanIntervalSec>0?r.ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:typeof r.ccSessionAutoArchiveAgeDays=="number"&&r.ccSessionAutoArchiveAgeDays>0?r.ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:typeof r.ccSessionAutoArchiveCountThreshold=="number"&&r.ccSessionAutoArchiveCountThreshold>0?r.ccSessionAutoArchiveCountThreshold:null},runtime:{}})})}buildSaveBody(){let r=this.section_$().form;return{mongodbUri:r.mongodbUri,useOpenClawPath:r.useOpenClawPath,defaultPathOverride:r.defaultPathOverride,autoStartWithSystem:r.autoStartWithSystem,useLiveContext:r.useLiveContext,reportSocketConnectionErrorsToErrorList:r.reportSocketConnectionErrorsToErrorList,agenticLoopDebriefEnabled:r.agenticLoopDebriefEnabled,mobileAutoUpdateEnabled:r.mobileAutoUpdateEnabled,serverAutoUpdateEnabled:r.serverAutoUpdateEnabled,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval,ccSessionRunnerGracePeriodSec:r.ccSessionRunnerGracePeriodSec??void 0,ccSessionRunnerIdleTimeoutSec:r.ccSessionRunnerIdleTimeoutSec??void 0,ccSessionAutoArchiveScanIntervalSec:r.ccSessionAutoArchiveScanIntervalSec??void 0,ccSessionAutoArchiveAgeDays:r.ccSessionAutoArchiveAgeDays??void 0,ccSessionAutoArchiveCountThreshold:r.ccSessionAutoArchiveCountThreshold??void 0}}static \u0275fac=(()=>{let r;return function(i){return(r||(r=nl(t)))(i||t)}})();static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{vu as a,hu as b,Al as c,wt as d,he as e,El as f,Fu as g,bn as h,Fr as i,ds as j,kr as k,Bn as l,Ds as m,uy as n,ly as o,iu as p,zk as q,Yk as r,Jk as s,uu as t,Gk as u,Hk as v,Zk as w,Kk as x,Qk as y,oI as z,aI as A,uI as B,Xk as C,eI as D,rI as E,tI as F,nI as G,iI as H,Yy as I,Qc as J,su as K,Jy as L,lu as M,X4 as N};
212
- //# sourceMappingURL=chunk-GLY7XIEO.js.map
211
+ use :param instead ({pathParam} --> :pathParam) (${e.name})`),e.endpoint=e.endpoint.replace(/{/g,":").replace(/}/g,"")),Object.assign(this,e),this.pathParamKeys=this.endpoint.split("/").filter(r=>r.startsWith(":")).map(r=>r.replace(":",""))}};ur.DyFM_Endpoint_SettingsBase=ou;var Zc=class extends ou{preProcesses;tasks;simpleTask;constructor(e){super(e),Object.assign(this,e)}};ur.DyFM_ServerRoute_SettingsBase=Zc;var dy=function(t){return t.body="body",t.queryParams="queryParams",t}(dy||(ur.DyFM_API_Input_Type=dy={}))});var hy=f(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.DyFM_errors_dataParams=xe.DyFM_Errors=xe.DyFM_errorsFlag=void 0;var Bk=Ds(),Vk=kr();xe.DyFM_errorsFlag="DyFM-ERRORS-OBJECT";var Kc=class extends Vk.DyFM_Metadata{flag=xe.DyFM_errorsFlag;source;issuer;username;versions=[];localTime;region;message;exception;exceptionObj;stackTrace=[];error;count=1;d_error;additionalContent;level;priority;duplications=[];constructor(e){super(e),e&&Object.assign(this,e)}};xe.DyFM_Errors=Kc;xe.DyFM_errors_dataParams=new Bk.DyFM_DataModel_Params({dataName:"errors",properties:{flag:{type:"string"},issuer:{type:"string"},username:{type:"string"},versions:{type:"string[]"},localTime:{type:"string"},region:{type:"string"},message:{type:"string"},exception:{type:"string"},exceptionObj:{type:"any"},stackTrace:{type:"string[]"},error:{type:"any"},count:{type:"number"},d_error:{type:"DyFM_Error"},additionalContent:{type:"any"},level:{type:"DyFM_ErrorLevel"},priority:{type:"number"},duplications:{type:"DyNTS_Error[]"}}})});var yy=f(py=>{"use strict";Object.defineProperty(py,"__esModule",{value:!0})});var my=f(_y=>{"use strict";Object.defineProperty(_y,"__esModule",{value:!0})});var gy=f(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0})});var Sy=f(Oy=>{"use strict";Object.defineProperty(Oy,"__esModule",{value:!0})});var qy=f(wy=>{"use strict";Object.defineProperty(wy,"__esModule",{value:!0})});var jy=f(My=>{"use strict";Object.defineProperty(My,"__esModule",{value:!0})});var Ay=f(Py=>{"use strict";Object.defineProperty(Py,"__esModule",{value:!0})});var Ey=f(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0})});var Dy=f(xy=>{"use strict";Object.defineProperty(xy,"__esModule",{value:!0})});var Iy=f(ky=>{"use strict";Object.defineProperty(ky,"__esModule",{value:!0})});var Cy=f(Ly=>{"use strict";Object.defineProperty(Ly,"__esModule",{value:!0})});var Ny=f(Ry=>{"use strict";Object.defineProperty(Ry,"__esModule",{value:!0})});var Uy=f($y=>{"use strict";Object.defineProperty($y,"__esModule",{value:!0})});var Wy=f(au=>{"use strict";Object.defineProperty(au,"__esModule",{value:!0});au.DyFM_SpecialSearch_Type=void 0;var Ty=function(t){return t.stringListSearchAny="stringListSearchAny",t.stringListSearch="stringListSearch",t.stringListSearchOrdered="stringListSearchOrdered",t}(Ty||(au.DyFM_SpecialSearch_Type=Ty={}))});var Vy=f(By=>{"use strict";Object.defineProperty(By,"__esModule",{value:!0})});var iu=f(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});var S=(hu(),tl(vu));S.__exportStar(pu(),O);S.__exportStar(yu(),O);S.__exportStar(Al(),O);S.__exportStar(Fl(),O);S.__exportStar(wt(),O);S.__exportStar(El(),O);S.__exportStar(Fu(),O);S.__exportStar(Il(),O);S.__exportStar(Du(),O);S.__exportStar(he(),O);S.__exportStar(Ll(),O);S.__exportStar(bn(),O);S.__exportStar(Fr(),O);S.__exportStar(Ru(),O);S.__exportStar(Lu(),O);S.__exportStar(ju(),O);S.__exportStar(Cl(),O);S.__exportStar(Uu(),O);S.__exportStar(vf(),O);S.__exportStar(pf(),O);S.__exportStar(Mt(),O);S.__exportStar(yf(),O);S.__exportStar(ds(),O);S.__exportStar(hs(),O);S.__exportStar(_f(),O);S.__exportStar(mf(),O);S.__exportStar(bf(),O);S.__exportStar(jt(),O);S.__exportStar(ms(),O);S.__exportStar(gf(),O);S.__exportStar(gs(),O);S.__exportStar(qt(),O);S.__exportStar(wf(),O);S.__exportStar(jf(),O);S.__exportStar(Af(),O);S.__exportStar(Ef(),O);S.__exportStar(Ou(),O);S.__exportStar(gu(),O);S.__exportStar(Su(),O);S.__exportStar(Ds(),O);S.__exportStar(ws(),O);S.__exportStar(Bn(),O);S.__exportStar(cy(),O);S.__exportStar(ly(),O);S.__exportStar(fy(),O);S.__exportStar(vy(),O);S.__exportStar(Fs(),O);S.__exportStar(Ms(),O);S.__exportStar(Ps(),O);S.__exportStar(hy(),O);S.__exportStar(kr(),O);S.__exportStar(yy(),O);S.__exportStar(my(),O);S.__exportStar(gy(),O);S.__exportStar(Sy(),O);S.__exportStar(qy(),O);S.__exportStar(jy(),O);S.__exportStar(Ay(),O);S.__exportStar(Ey(),O);S.__exportStar(Dy(),O);S.__exportStar(Iy(),O);S.__exportStar(Cy(),O);S.__exportStar(Ny(),O);S.__exportStar(Uy(),O);S.__exportStar(Wy(),O);S.__exportStar(Vy(),O)});var zy="1.1.3564";var Yy={baseUrl:"MISSING",api:{baseUrl:"MISSING"},production:!1,version:zy};var zk=function(t){return t.openAi="open-ai",t.anthropic="anthropic",t.google="google",t.deepseek="deepseek",t.fdpAi="fdp-ai",t.customLocalAi="custom-local-ai",t}(zk||{});var Yk=function(t){return t.openAi="open-ai",t.localAi="local-ai",t.routing="routing",t}(Yk||{});var Jk=function(t){return t.discord="discord",t.signal="signal",t.teams="teams",t.routing="routing",t}(Jk||{});var uu=function(t){return t.vaultKey="vault-key",t.instanceRegistry="instance-registry",t.general="general",t.llmProviders="llm-providers",t.messageProviders="message-providers",t.modelTesting="model-testing",t.discordAccess="discord-access",t.voice="voice",t.visuals="visuals",t.soul="soul",t.mcp="mcp",t.cliTools="cli-tools",t.secretVault="secret-vault",t.agentEmail="agent-email",t.embedding="embedding",t.rag="rag",t.developer="developer",t.agentRuntime="agent-runtime",t.agentCronJobs="agent-cron-jobs",t.scheduler="scheduler",t.github="github",t.openclawRegistry="openclaw-registry",t.deviceIdentity="device-identity",t.consultant="consultant",t.caAgent="ca-agent",t.darkOfficeLayout="dark-office-layout",t.cluster="cluster",t}(uu||{});var Gk=function(t){return t.openAi="open-ai",t.leonardo="leonardo",t.fdpai="fdpai",t.routing="routing",t}(Gk||{});var Hk=function(t){return t.elevenLabs="elevenlabs",t.fdpai="fdpai",t.routing="routing",t}(Hk||{});var Zk=function(t){return t.pending="pending",t.running="running",t.completed="completed",t.failed="failed",t}(Zk||{});var Kk=function(t){return t.apiKey="api-key",t.credentials="credentials",t}(Kk||{});var Qk=function(t){return t.req="req",t.bug="bug",t.feature="feature",t.improvement="improvement",t.task="task",t.question="question",t.research="research",t}(Qk||{});var Xk=function(t){return t.low="low",t.medium="medium",t.high="high",t.urgent="urgent",t}(Xk||{});var eI=function(t){return t.todo="todo",t.backlog="backlog",t.bugs="bugs",t.changelog="changelog",t.userInput="user-input",t.status="status",t.testErrorReports="test-error-reports",t}(eI||{});var rI=function(t){return t.update="update",t.remove="remove",t}(rI||{});var tI=function(t){return t.e2e="e2e",t.serverUnit="server-unit",t.clientUnit="client-unit",t.cli="cli",t}(tI||{});var nI=function(t){return t.instant="instant",t.agenticAny="agentic-any",t.ask="ask",t.plan="plan",t}(nI||{});var iI=function(t){return t.full="full",t.askOnly="ask-only",t.planOnly="plan-only",t}(iI||{});var oI=function(t){return t.draft="draft",t.promotedUserInput="promoted-user-input",t.promotedBug="promoted-bug",t.discarded="discarded",t}(oI||{});var aI=function(t){return t.userInput="user-input",t.bugReport="bug-report",t.unspecified="unspecified",t}(aI||{});var uI=function(t){return t.easy="easy",t.medium="medium",t.hard="hard",t.komplex="komplex",t}(uI||{});var Qc="mongodb://200.33.0.101:29017";var sI="A k\xE9r\xE9s nem jutott el a szerverig, vagy nem \xE9rkezett v\xE1lasz. Lehets\xE9ges okok: a szerver nem fut vagy m\xE1s porton hallgat, h\xE1l\xF3zati hiba, a kliens megszak\xEDtotta a k\xE9r\xE9st, vagy m\xE1s origin eset\xE9n CORS blokkolja. Ellen\u0151rizd, hogy a szerver fut-e \xE9s a megadott c\xEDm/port helyes.",cI="Szerver 500-as hiba. A v\xE1lasz body \xFCres vagy nem el\xE9rhet\u0151.",su=class t{static isLikelyHtmlErrorPage(e){let r=e.trim();if(!r.startsWith("<"))return!1;let n=r.toLowerCase();return n.includes("<!doctype")||n.includes("<html")||n.includes("<title>")||n.includes("cannot get")||n.includes("cannot post")||n.includes("cannot put")||n.includes("cannot delete")}static getMessageForHtmlHttpErrorBody(e){let r="R\xE9szletek: szerver log vagy DevTools Network tab.";return e===404?`Az endpoint nem tal\xE1lhat\xF3 (HTTP ${e}). Ellen\u0151rizd az API base URL-t \xE9s a szerver route-okat. `+r:`A szerver HTML error oldalt adott vissza (nem JSON API v\xE1lasz), HTTP ${e}. ${r}`}static getHttpErrorMessage(e,r){if(e.status===0)return sI;let n=r!=null&&typeof r=="string"&&r.trim().length>0?r:null;return n==null&&typeof e.error=="string"&&e.error.trim().length>0&&(n=e.error),n!=null&&t.isLikelyHtmlErrorPage(n)?t.getMessageForHtmlHttpErrorBody(e.status):e.status===500&&!(n!=null&&typeof n=="string"&&n.trim().length>0)?cI:n??e.message??e.statusText??`HTTP ${e.status}`}};var Jy=(()=>{class t{settingsBaseUrl=`${Yy.api.baseUrl}/settings`;http=en(ol);getDefaultWorkspace(){return R(this.http.get(`${this.settingsBaseUrl}/default-workspace`))}getSection(r){return R(this.http.get(`${this.settingsBaseUrl}/get-section/${r}`))}getRequiredWarningsSummary(){return R(this.http.get(`${this.settingsBaseUrl}/required-warnings-summary`))}saveSection(r,n){return R(this.http.patch(`${this.settingsBaseUrl}/save-section/${r}`,n))}postProviderAccessAllow(r){return R(this.http.post(`${this.settingsBaseUrl}/provider-access/allow`,r))}getSoulStatus(){return R(this.http.get(`${this.settingsBaseUrl}/soul-status`))}getSoulContent(){return R(this.http.get(`${this.settingsBaseUrl}/soul-content`))}postGenerateSoul(r){return R(this.http.post(`${this.settingsBaseUrl}/generate-soul`,r))}postTestLlmProvider(r){return R(this.http.post(`${this.settingsBaseUrl}/test-llm-provider`,r))}postListLlmModels(r){return R(this.http.post(`${this.settingsBaseUrl}/list-llm-models`,r))}postListEmbeddingModels(r){return R(this.http.post(`${this.settingsBaseUrl}/list-embedding-models`,r))}postTestMessagingProvider(r){return R(this.http.post(`${this.settingsBaseUrl}/test-messaging-provider`,r))}postMcpSync(r){return R(this.http.post(`${this.settingsBaseUrl}/mcp-sync`,r))}postCliHelpProbe(r){return R(this.http.post(`${this.settingsBaseUrl}/cli-help-probe`,r))}postCliHelpSuggest(r){return R(this.http.post(`${this.settingsBaseUrl}/cli-help-suggest`,r))}postTestAgentEmail(){return R(this.http.post(`${this.settingsBaseUrl}/test-agent-email`,{}))}testOpenclawConnection(r){return R(this.http.post(`${this.settingsBaseUrl}/test-openclaw-connection`,r))}pairOpenclawInstance(r){return R(this.http.post(`${this.settingsBaseUrl}/openclaw-registry/${r.instanceId}/pair`,{}))}getClusterDiagnostics(){return R(this.http.get(`${this.settingsBaseUrl}/cluster/diagnostics`))}postClusterReBootstrap(){return R(this.http.post(`${this.settingsBaseUrl}/cluster/re-bootstrap`,{}))}postClusterReconnectWs(){return R(this.http.post(`${this.settingsBaseUrl}/cluster/reconnect-ws`,{}))}postClusterReconnectPeer(r){let n=encodeURIComponent(r);return R(this.http.post(`${this.settingsBaseUrl}/cluster/reconnect-ws/${n}`,{}))}static \u0275fac=function(n){return new(n||t)};static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();var Gy=rl(iu());var Xc=rl(iu());var cu=class{_master;get master(){return this._master}setupMaster(e){this._master=e}};var lu=class t extends cu{settings_AS=en(Jy);loading_$=ke(!1);loadError_$=ke(null);saving_$=ke(!1);saveError_$=ke(null);load(){return U(this,null,function*(){this.loading_$.set(!0),this.loadError_$.set(null);try{yield this.doLoad()}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to load section`,e);let r=t.getErrorMessage(e);this.loadError_$.set(r)}finally{this.loading_$.set(!1)}})}save(){return U(this,null,function*(){this.saving_$.set(!0),this.saveError_$.set(null);try{let e=this.buildSaveBody(),r=yield this.doSave(e);return r.success?yield this.load():this.saveError_$.set(r.error??"Ment\xE9s sikertelen."),r}catch(e){Xc.DyFM_Error.logSimple(`${this.constructor.name} | Failed to save section`,e);let r=t.getErrorMessage(e);return this.saveError_$.set(r),{success:!1,error:r}}finally{this.saving_$.set(!1)}})}doSave(e){return U(this,null,function*(){return this.settings_AS.saveSection(this.getSectionId(),e)})}static getErrorMessage(e){if(e instanceof il){let r=e.error,n=null;if(r!==null&&typeof r=="object"){let i=r;typeof i.error=="string"?n=i.error:i.error!=null?n=String(i.error):typeof i.message=="string"&&(n=i.message);let o=i.errorCode,a=typeof o=="string"&&o.trim().length>0?o.trim():void 0;a!==void 0&&(n!=null&&n.trim().length>0?n=`${a}: ${n}`:n=a)}else typeof r=="string"&&(n=r);return su.getHttpErrorMessage(e,n)}return e instanceof Error?e.message||"M\u0171velet sikertelen.":String(e)||"M\u0171velet sikertelen."}};var X4=(()=>{class t extends lu{defaultWorkspacePath_$=ke("");section_$=ke({form:{mongodbUri:Qc,useOpenClawPath:!1,defaultPathOverride:"",autoStartWithSystem:!1,useLiveContext:!0,reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:"daily",ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:null},runtime:{}});updateForm(r){this.section_$.update(n=>Sr(oe({},n),{form:oe(oe({},n.form),r)}))}setSection(r){this.section_$.set(r)}updateGeneralForm(r){this.updateForm(r),this.master?.bumpDigest()}getSectionId(){return uu.general}getSection_$(){return this.section_$}loadDefaultWorkspacePath(){return U(this,null,function*(){try{let r=yield this.settings_AS.getDefaultWorkspace();this.defaultWorkspacePath_$.set(r.workspacePath?.trim()??"")}catch(r){Gy.DyFM_Error.logSimple("CCAP_SettingsGeneral_DS | loadDefaultWorkspacePath failed",r),this.defaultWorkspacePath_$.set("")}})}doLoad(){return U(this,null,function*(){let r=yield this.settings_AS.getSection(uu.general);this.setSection({form:{mongodbUri:typeof r.mongodbUri=="string"?r.mongodbUri:Qc,useOpenClawPath:typeof r.useOpenClawPath=="boolean"?r.useOpenClawPath:!1,defaultPathOverride:typeof r.defaultPathOverride=="string"?r.defaultPathOverride:"",autoStartWithSystem:typeof r.autoStartWithSystem=="boolean"?r.autoStartWithSystem:!1,useLiveContext:typeof r.useLiveContext=="boolean"?r.useLiveContext:!0,reportSocketConnectionErrorsToErrorList:typeof r.reportSocketConnectionErrorsToErrorList=="boolean"?r.reportSocketConnectionErrorsToErrorList:!1,agenticLoopDebriefEnabled:typeof r.agenticLoopDebriefEnabled=="boolean"?r.agenticLoopDebriefEnabled:!1,mobileAutoUpdateEnabled:typeof r.mobileAutoUpdateEnabled=="boolean"?r.mobileAutoUpdateEnabled:!1,serverAutoUpdateEnabled:typeof r.serverAutoUpdateEnabled=="boolean"?r.serverAutoUpdateEnabled:!1,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval==="daily"?"daily":r.serverAutoUpdateCheckInterval==="weekly"?"weekly":"daily",ccSessionRunnerGracePeriodSec:typeof r.ccSessionRunnerGracePeriodSec=="number"&&r.ccSessionRunnerGracePeriodSec>0?r.ccSessionRunnerGracePeriodSec:null,ccSessionRunnerIdleTimeoutSec:typeof r.ccSessionRunnerIdleTimeoutSec=="number"&&r.ccSessionRunnerIdleTimeoutSec>0?r.ccSessionRunnerIdleTimeoutSec:null,ccSessionAutoArchiveScanIntervalSec:typeof r.ccSessionAutoArchiveScanIntervalSec=="number"&&r.ccSessionAutoArchiveScanIntervalSec>0?r.ccSessionAutoArchiveScanIntervalSec:null,ccSessionAutoArchiveAgeDays:typeof r.ccSessionAutoArchiveAgeDays=="number"&&r.ccSessionAutoArchiveAgeDays>0?r.ccSessionAutoArchiveAgeDays:null,ccSessionAutoArchiveCountThreshold:typeof r.ccSessionAutoArchiveCountThreshold=="number"&&r.ccSessionAutoArchiveCountThreshold>0?r.ccSessionAutoArchiveCountThreshold:null},runtime:{}})})}buildSaveBody(){let r=this.section_$().form;return{mongodbUri:r.mongodbUri,useOpenClawPath:r.useOpenClawPath,defaultPathOverride:r.defaultPathOverride,autoStartWithSystem:r.autoStartWithSystem,useLiveContext:r.useLiveContext,reportSocketConnectionErrorsToErrorList:r.reportSocketConnectionErrorsToErrorList,agenticLoopDebriefEnabled:r.agenticLoopDebriefEnabled,mobileAutoUpdateEnabled:r.mobileAutoUpdateEnabled,serverAutoUpdateEnabled:r.serverAutoUpdateEnabled,serverAutoUpdateCheckInterval:r.serverAutoUpdateCheckInterval,ccSessionRunnerGracePeriodSec:r.ccSessionRunnerGracePeriodSec??void 0,ccSessionRunnerIdleTimeoutSec:r.ccSessionRunnerIdleTimeoutSec??void 0,ccSessionAutoArchiveScanIntervalSec:r.ccSessionAutoArchiveScanIntervalSec??void 0,ccSessionAutoArchiveAgeDays:r.ccSessionAutoArchiveAgeDays??void 0,ccSessionAutoArchiveCountThreshold:r.ccSessionAutoArchiveCountThreshold??void 0}}static \u0275fac=(()=>{let r;return function(i){return(r||(r=nl(t)))(i||t)}})();static \u0275prov=Xt({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();export{vu as a,hu as b,Al as c,wt as d,he as e,El as f,Fu as g,bn as h,Fr as i,ds as j,kr as k,Bn as l,Ds as m,uy as n,ly as o,iu as p,zk as q,Yk as r,Jk as s,uu as t,Gk as u,Hk as v,Zk as w,Kk as x,Qk as y,oI as z,aI as A,uI as B,Xk as C,eI as D,rI as E,tI as F,nI as G,iI as H,Yy as I,Qc as J,su as K,Jy as L,lu as M,X4 as N};
212
+ //# sourceMappingURL=chunk-LDTA5CLF.js.map