@luzmo/lucero 2.2.1 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (512) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +34 -1
  3. package/components/accordion/index.cjs +2 -2
  4. package/components/accordion/index.js +3 -8
  5. package/components/{accordion-DpsYMoeb.cjs → accordion-BK0LfhmL.cjs} +2 -2
  6. package/components/{accordion-BDchhAjE.js → accordion-ciplqKwM.js} +2 -1
  7. package/components/action-bar/action-bar.d.ts +3 -3
  8. package/components/action-bar/index.cjs +2 -2
  9. package/components/action-bar/index.js +3 -8
  10. package/components/{action-bar-2FGCCKMW.js → action-bar-BZBIeGo7.js} +6 -5
  11. package/components/action-bar-DAqG_7VG.cjs +39 -0
  12. package/components/action-button/index.cjs +2 -2
  13. package/components/action-button/index.js +3 -8
  14. package/components/{action-button-OB5MM04X.js → action-button-BRijXjEz.js} +2 -1
  15. package/components/action-button-CX1uYbQp.cjs +22 -0
  16. package/components/action-group/index.cjs +2 -2
  17. package/components/action-group/index.js +3 -11
  18. package/components/{action-group-BQ-fyPYS.js → action-group-DSiruuF0.js} +5 -2
  19. package/components/action-group-oo7YV0EW.cjs +20 -0
  20. package/components/action-menu/index.cjs +2 -2
  21. package/components/action-menu/index.js +3 -8
  22. package/components/{action-menu-Diehg1Kc.js → action-menu-C0sHNsjG.js} +7 -6
  23. package/components/{action-menu-CtMswuyc.cjs → action-menu-CwzRbF61.cjs} +2 -2
  24. package/components/avatar/index.cjs +2 -2
  25. package/components/avatar/index.js +3 -8
  26. package/components/{avatar-Nb0368Wi.js → avatar-CwSyYAKV.js} +2 -1
  27. package/components/avatar-DHS5UGTJ.cjs +34 -0
  28. package/components/badge/index.cjs +2 -2
  29. package/components/badge/index.js +3 -8
  30. package/components/{badge-DP1uxXaZ.js → badge-D2Hjf-Ww.js} +2 -1
  31. package/components/badge-D8pIDEoq.cjs +23 -0
  32. package/components/button/index.cjs +2 -2
  33. package/components/button/index.js +4 -9
  34. package/components/button-Bvnidb4x.cjs +20 -0
  35. package/components/{button-DXWWEbir.js → button-DIV_j_U3.js} +4 -3
  36. package/components/button-base-DiNxrttk.cjs +1 -1
  37. package/components/button-base-DiPzVpp4.js +1 -1
  38. package/components/button-group/index.cjs +2 -2
  39. package/components/button-group/index.js +3 -8
  40. package/components/button-group-Du7R4SxZ.cjs +18 -0
  41. package/components/{button-group-DaANSInm.js → button-group-Duf-Igst.js} +2 -1
  42. package/components/calendar/index.cjs +2 -2
  43. package/components/calendar/index.js +3 -8
  44. package/components/{calendar-C8u_88jX.js → calendar-D1UtHvpY.js} +4 -3
  45. package/components/calendar-pQxEWdYC.cjs +138 -0
  46. package/components/chat-message/index.cjs +2 -2
  47. package/components/chat-message/index.js +3 -8
  48. package/components/chat-message-Dgo6h0rD.cjs +148 -0
  49. package/components/{chat-message-CXq0Trjx.js → chat-message-T6QIK2Bl.js} +528 -563
  50. package/components/chat-message-group/index.cjs +2 -2
  51. package/components/chat-message-group/index.js +3 -8
  52. package/components/chat-message-group-CvxdX3jt.cjs +24 -0
  53. package/components/{chat-message-group-D7vdn2gG.js → chat-message-group-k9lo-ZqD.js} +2 -1
  54. package/components/checkbox/index.cjs +2 -2
  55. package/components/checkbox/index.js +3 -8
  56. package/components/{checkbox-6YzkdHR4.js → checkbox-BEjvkjfc.js} +2 -1
  57. package/components/checkbox-ClVrkeLp.cjs +25 -0
  58. package/components/checkbox-mixin-jqmrh48O.js +1 -1
  59. package/components/checkbox-mixin-rFRXqyrK.cjs +1 -1
  60. package/components/{close-button-BntGLAcp.cjs → close-button-BAELImQY.cjs} +2 -2
  61. package/components/{close-button-D12zZ9zC.js → close-button-Dlvtf9lB.js} +3 -3
  62. package/components/color-area/index.cjs +2 -2
  63. package/components/color-area/index.js +3 -8
  64. package/components/color-area-CmKlQG1i.cjs +80 -0
  65. package/components/{color-area-DMpXKgPY.js → color-area-lbg8wwZG.js} +3 -2
  66. package/components/color-controller-DbyPc33Y.cjs +1 -1
  67. package/components/color-controller-Rg_Zl0sT.js +1 -1
  68. package/components/color-field/index.cjs +2 -2
  69. package/components/color-field/index.js +3 -8
  70. package/components/{color-field-BNGnBRSO.cjs → color-field-BH9x46k_.cjs} +2 -2
  71. package/components/{color-field-CUdHxonc.js → color-field-C9S-Fv46.js} +2 -1
  72. package/components/color-handle/color-handle.d.ts +1 -1
  73. package/components/color-handle/index.cjs +2 -2
  74. package/components/color-handle/index.js +3 -8
  75. package/components/color-handle-2iFLp9FN.cjs +24 -0
  76. package/components/{color-handle-TKbLs1ax.js → color-handle-BEDQ1RcS.js} +3 -2
  77. package/components/color-loupe/index.cjs +2 -2
  78. package/components/color-loupe/index.js +3 -11
  79. package/components/color-loupe-6NcLbFco.cjs +56 -0
  80. package/components/{color-loupe-DAxrNPJz.js → color-loupe-CqHyyvjQ.js} +5 -2
  81. package/components/color-menu/index.cjs +2 -2
  82. package/components/color-menu/index.js +3 -8
  83. package/components/color-menu-BYTgxLQG.cjs +89 -0
  84. package/components/{color-menu-jkdcr5ir.js → color-menu-qJK_clDq.js} +9 -8
  85. package/components/color-palette/index.cjs +2 -2
  86. package/components/color-palette/index.js +3 -8
  87. package/components/{color-palette-FQyIMSwP.js → color-palette-CqiO5ohz.js} +2 -1
  88. package/components/color-palette-group/index.cjs +2 -2
  89. package/components/color-palette-group/index.js +3 -8
  90. package/components/color-palette-group-D4k_7pW6.cjs +28 -0
  91. package/components/{color-palette-group-o6bnF-Ir.js → color-palette-group-zByrO_qb.js} +2 -1
  92. package/components/color-palette-x6W09EBL.cjs +18 -0
  93. package/components/color-picker/index.cjs +2 -2
  94. package/components/color-picker/index.js +3 -8
  95. package/components/{color-picker-C4pvkA2k.cjs → color-picker-BAikpqUT.cjs} +2 -2
  96. package/components/{color-picker-DF3gBQvH.js → color-picker-CSuAPo5X.js} +6 -5
  97. package/components/color-slider/index.cjs +2 -2
  98. package/components/color-slider/index.js +3 -8
  99. package/components/{color-slider-DejvUYrW.js → color-slider-0JzdSRTy.js} +3 -2
  100. package/components/color-slider-CMW8gJ0Z.cjs +57 -0
  101. package/components/condition-attribute-with-id-BdnTdWKz.js +1 -1
  102. package/components/condition-attribute-with-id-Cw92IbcP.cjs +1 -1
  103. package/components/date-range-picker/index.cjs +2 -2
  104. package/components/date-range-picker/index.js +3 -8
  105. package/components/date-range-picker-D149LIGC.cjs +180 -0
  106. package/components/{date-range-picker-DCOv5PYH.js → date-range-picker-DKVmGpUC.js} +7 -6
  107. package/components/date-time-picker/index.cjs +2 -2
  108. package/components/date-time-picker/index.js +3 -8
  109. package/components/{date-time-picker-ClgATXBy.js → date-time-picker-6c19YzwF.js} +7 -6
  110. package/components/date-time-picker-CRpvRk9T.cjs +105 -0
  111. package/components/decorate-CkCg3wfh.js +1 -1
  112. package/components/decorate-Dq34MBGe.cjs +1 -1
  113. package/components/dependency-manger-BSaHw9ju.cjs +1 -1
  114. package/components/dependency-manger-wHEXoU92.js +1 -1
  115. package/components/divider/index.cjs +2 -2
  116. package/components/divider/index.js +3 -8
  117. package/components/divider-BcE8D-pH.cjs +18 -0
  118. package/components/{divider-CGbT-CL8.js → divider-Cz5nyvP9.js} +2 -1
  119. package/components/divider.module-BV6tmpOY.cjs +1 -1
  120. package/components/divider.module-CPEKsaqR.js +1 -1
  121. package/components/element-resolution-BjaAlqwX.cjs +1 -1
  122. package/components/element-resolution-gap51AVo.js +1 -1
  123. package/components/field-group/index.cjs +2 -2
  124. package/components/field-group/index.js +2 -7
  125. package/components/field-group-C_kRq7pJ.js +1 -1
  126. package/components/field-group-Dd5xYczm.cjs +1 -1
  127. package/components/field-label/index.cjs +2 -2
  128. package/components/field-label/index.js +3 -11
  129. package/components/field-label-C0vfY1b6.cjs +25 -0
  130. package/components/{field-label-B9S41b7c.js → field-label-C28wWqC5.js} +5 -2
  131. package/components/focus-group-C8lOjbi9.cjs +1 -1
  132. package/components/focus-group-DVPa1zxz.js +1 -1
  133. package/components/focus-visible-Bt2uDmuM.js +1 -1
  134. package/components/focus-visible-DNHNlrty.cjs +1 -1
  135. package/components/focusable-B6h03pAe.cjs +1 -1
  136. package/components/focusable-DuP0-Kuy.js +1 -1
  137. package/components/focusable-selectors-BWpiuXz5.js +1 -1
  138. package/components/focusable-selectors-DJqGLTJo.cjs +1 -1
  139. package/components/get-label-from-slot-Bo9mqYCZ.js +1 -1
  140. package/components/get-label-from-slot-TV4APBYs.cjs +1 -1
  141. package/components/icon/index.cjs +2 -2
  142. package/components/icon/index.js +3 -8
  143. package/components/{icon-DB1DRieA.js → icon-CsJZMhIm.js} +2 -1
  144. package/components/icon-zOPAWCdx.cjs +18 -0
  145. package/components/index.cjs +2 -2
  146. package/components/index.js +64 -75
  147. package/components/infield-button/index.cjs +2 -2
  148. package/components/infield-button/index.js +3 -8
  149. package/components/{infield-button-C1mz69Qf.js → infield-button-DiE8R6ol.js} +2 -1
  150. package/components/infield-button-kilVRjwB.cjs +22 -0
  151. package/components/label/index.cjs +2 -2
  152. package/components/label/index.js +3 -8
  153. package/components/{label-DPG13Ib0.cjs → label-B3zs6OX0.cjs} +2 -2
  154. package/components/{label-B1HYQ4Pp.js → label-e6Y13vrS.js} +2 -1
  155. package/components/language-resolution-BaKYDD1a.js +1 -1
  156. package/components/language-resolution-CSjktYg5.cjs +1 -1
  157. package/components/like-anchor-BX4PSB3d.cjs +1 -1
  158. package/components/like-anchor-DXCaEv7O.js +1 -1
  159. package/components/manage-help-text-ByLb0QYX.js +1 -1
  160. package/components/manage-help-text-DtFJsl0k.cjs +1 -1
  161. package/components/menu/index.cjs +2 -2
  162. package/components/menu/index.js +3 -8
  163. package/components/{menu-Cq7BEv5Y.cjs → menu-CrhA2iPZ.cjs} +3 -3
  164. package/components/{menu-DY8q8qyn.js → menu-fdJseu1y.js} +3 -2
  165. package/components/multi-language-field/index.cjs +2 -2
  166. package/components/multi-language-field/index.js +3 -8
  167. package/components/{multi-language-field-Cfy3M_ZS.cjs → multi-language-field-BndVikur.cjs} +2 -2
  168. package/components/{multi-language-field-DhQ98r2D.js → multi-language-field-vJMK-osi.js} +3 -2
  169. package/components/notice/index.cjs +2 -2
  170. package/components/notice/index.js +3 -8
  171. package/components/notice-CsWaqcq3.cjs +60 -0
  172. package/components/{notice-s6QHF_tq.js → notice-N0-lxEf_.js} +4 -3
  173. package/components/number-field/index.cjs +2 -2
  174. package/components/number-field/index.js +3 -8
  175. package/components/{number-field-BqnZS9Gx.js → number-field-DAOy_AvQ.js} +3 -2
  176. package/components/number-field-xxXgR70l.cjs +57 -0
  177. package/components/observe-slot-presence-BKY6n06-.js +1 -1
  178. package/components/observe-slot-presence-CS8pMePk.cjs +1 -1
  179. package/components/observe-slot-text-CvL-2ey3.cjs +1 -1
  180. package/components/observe-slot-text-Db8Kx3P-.js +1 -1
  181. package/components/options/index.cjs +2 -2
  182. package/components/options/index.js +3 -8
  183. package/components/options/options.d.ts +1 -0
  184. package/components/{options-Bd6Uly5_.cjs → options-CP9V2CSJ.cjs} +2 -2
  185. package/components/{options-CpaaBaxn.js → options-D_ifU0DH.js} +4 -2
  186. package/components/overlay/index.cjs +2 -2
  187. package/components/overlay/index.js +4 -10
  188. package/components/overlay/placement-controller.d.ts +2 -1
  189. package/components/overlay-Dn7EbA_W.cjs +102 -0
  190. package/components/{overlay-CyBsHuOL.js → overlay-DpHIYJtd.js} +282 -77
  191. package/components/{pending-state-a527YMWV.cjs → pending-state-CGHvTtKR.cjs} +2 -2
  192. package/components/{pending-state-BeG7qBDP.js → pending-state-D_b45qvi.js} +2 -2
  193. package/components/picker/index.cjs +2 -2
  194. package/components/picker/index.js +3 -8
  195. package/components/picker-BliQJlY_.cjs +124 -0
  196. package/components/{picker-f4fSGZX8.js → picker-D0fMBZLb.js} +6 -6
  197. package/components/picker-button/index.cjs +2 -2
  198. package/components/picker-button/index.js +3 -8
  199. package/components/picker-button-B8Jbf9jK.cjs +37 -0
  200. package/components/{picker-button-DVzLeTq8.js → picker-button-CJQJshbo.js} +3 -2
  201. package/components/platform-BAjeJp2W.cjs +1 -1
  202. package/components/platform-Ce9pNsR9.js +1 -1
  203. package/components/popover/index.cjs +2 -2
  204. package/components/popover/index.js +3 -11
  205. package/components/popover-BsdqkvKI.cjs +30 -0
  206. package/components/{popover-DTsrgH-f.js → popover-DC8tkee-.js} +17 -15
  207. package/components/progress-bar/index.cjs +2 -2
  208. package/components/progress-bar/index.js +3 -8
  209. package/components/progress-bar-CrodWzcc.cjs +34 -0
  210. package/components/{progress-bar-BJO8j1aX.js → progress-bar-D4iFHkp7.js} +2 -1
  211. package/components/progress-circle/index.cjs +2 -2
  212. package/components/progress-circle/index.js +3 -11
  213. package/components/{progress-circle-BVToDWX8.js → progress-circle-By6qUQYe.js} +5 -2
  214. package/components/progress-circle-bO_VAX3N.cjs +33 -0
  215. package/components/progress-steps/index.cjs +2 -2
  216. package/components/progress-steps/index.d.ts +2 -1
  217. package/components/progress-steps/index.js +4 -9
  218. package/components/progress-steps/progress-steps-model.d.ts +23 -0
  219. package/components/progress-steps/progress-steps.d.ts +82 -109
  220. package/components/progress-steps/types.d.ts +18 -3
  221. package/components/progress-steps-Y-Tgh_fQ.cjs +98 -0
  222. package/components/progress-steps-ohguJaPa.js +368 -0
  223. package/components/prompt-box/index.cjs +2 -2
  224. package/components/prompt-box/index.js +3 -8
  225. package/components/{prompt-box-BY1xKFZO.js → prompt-box-Cz_m2wso.js} +8 -8
  226. package/components/{prompt-box-Dg9S0C5x.cjs → prompt-box-sp9_-Hnx.cjs} +3 -3
  227. package/components/question-box/index.cjs +2 -2
  228. package/components/question-box/index.js +3 -8
  229. package/components/{question-box-CZxQTeS9.cjs → question-box-Bdtsgv1k.cjs} +2 -2
  230. package/components/{question-box-CyojSIop.js → question-box-D7YSi_6c.js} +9 -8
  231. package/components/radio/index.cjs +2 -2
  232. package/components/radio/index.js +3 -8
  233. package/components/{radio-DRI4on-W.js → radio-B6hX9Klr.js} +2 -1
  234. package/components/radio-CRTfoEX_.cjs +22 -0
  235. package/components/random-id-BcUJAxUZ.cjs +1 -1
  236. package/components/random-id-CiMDyX7v.js +1 -1
  237. package/components/rolldown-runtime-Dy4uBu1J.js +1 -1
  238. package/components/roving-tabindex-BoPao4td.cjs +1 -1
  239. package/components/roving-tabindex-pomAn3z-.js +1 -1
  240. package/components/scaled-indicator-C-TupV4L.js +1 -1
  241. package/components/scaled-indicator-DLJIztx0.cjs +1 -1
  242. package/components/search/index.cjs +2 -2
  243. package/components/search/index.js +3 -8
  244. package/components/{search-C-EPZmTG.js → search-DEjLSJ96.js} +4 -3
  245. package/components/search-PxJEuwHt.cjs +47 -0
  246. package/components/segments-factory-BCRi1NKb.js +1 -1
  247. package/components/segments-factory-DtPyN5sh.cjs +1 -1
  248. package/components/select/index.cjs +2 -2
  249. package/components/select/index.js +3 -8
  250. package/components/{select-BbFG38ag.js → select-BUgHi69P.js} +9 -8
  251. package/components/select-DsGVB01K.cjs +158 -0
  252. package/components/sized-mixin-BT7cv-fT.cjs +1 -1
  253. package/components/sized-mixin-DzQTebN-.js +1 -1
  254. package/components/skeleton-loader/index.cjs +2 -2
  255. package/components/skeleton-loader/index.js +3 -8
  256. package/components/{skeleton-loader-C0LH3prK.js → skeleton-loader-BeCsYADg.js} +2 -1
  257. package/components/skeleton-loader-CNcwCh4V.cjs +18 -0
  258. package/components/slider/index.cjs +2 -2
  259. package/components/slider/index.js +3 -8
  260. package/components/{slider-B7QAhDTM.js → slider-Bsl8Xrme.js} +3 -2
  261. package/components/{slider-DxliwjT6.cjs → slider-C_8pSK4N.cjs} +2 -2
  262. package/components/slottable-request-event-C6eb7Ch3.cjs +1 -1
  263. package/components/slottable-request-event-MRSZbgTu.js +1 -1
  264. package/components/split-view/index.cjs +2 -2
  265. package/components/split-view/index.js +3 -8
  266. package/components/split-view-BwCFYey6.cjs +43 -0
  267. package/components/{split-view-FxpiSCem.js → split-view-CDwHDmII.js} +2 -1
  268. package/components/status-light/index.cjs +2 -2
  269. package/components/status-light/index.js +3 -8
  270. package/components/status-light-D3hdx8Pd.cjs +21 -0
  271. package/components/{status-light-DC8qqO8q.js → status-light-DwUnjE3t.js} +2 -1
  272. package/components/strategies-BwNbUXYS.cjs +1 -1
  273. package/components/strategies-Cl59wdNZ.js +1 -1
  274. package/components/streaming-listener-Bfyk6Fsx.cjs +1 -1
  275. package/components/streaming-listener-CtcMpYfS.js +1 -1
  276. package/components/swatch/index.cjs +2 -2
  277. package/components/swatch/index.js +3 -8
  278. package/components/{swatch-C2ty27bJ.js → swatch-Bj2FARl1.js} +2 -1
  279. package/components/{swatch-DUmBmg4S.cjs → swatch-CQ0inIHK.cjs} +2 -2
  280. package/components/switch/index.cjs +2 -2
  281. package/components/switch/index.js +3 -8
  282. package/components/{switch-DOuXlFwI.js → switch-CpG-hSWY.js} +2 -1
  283. package/components/switch-qwpYXVnO.cjs +22 -0
  284. package/components/tabs/index.cjs +2 -2
  285. package/components/tabs/index.js +3 -8
  286. package/components/{tabs-CjY4eX9W.js → tabs-BD_ATrBg.js} +4 -3
  287. package/components/{tabs-ZwcVrVub.cjs → tabs-DxOD4QNt.cjs} +2 -2
  288. package/components/tags/index.cjs +2 -2
  289. package/components/tags/index.js +3 -8
  290. package/components/{tags-BCKNzEaH.js → tags-BIpFgOYy.js} +4 -3
  291. package/components/tags-fLCGajv_.cjs +47 -0
  292. package/components/text-field/index.cjs +2 -2
  293. package/components/text-field/index.js +3 -8
  294. package/components/text-field-3fDtTQkR.cjs +1 -1
  295. package/components/text-field-CbN4nydd.cjs +21 -0
  296. package/components/text-field-CmSym2QK.js +1 -1
  297. package/components/{text-field-C2MHZbTp.js → text-field-CmyqQxq0.js} +2 -1
  298. package/components/text-field.module-BHhBReKL.js +1 -1
  299. package/components/text-field.module-l8CaTCwE.cjs +1 -1
  300. package/components/toast/index.cjs +2 -2
  301. package/components/toast/index.js +3 -8
  302. package/components/toast-DRrGgznK.cjs +51 -0
  303. package/components/{toast-DlOeMDCI.js → toast-KwHx-agn.js} +3 -2
  304. package/components/tokens.cjs +18 -0
  305. package/components/tokens.css +18 -0
  306. package/components/tokens.js +23 -0
  307. package/components/tooltip/index.cjs +2 -2
  308. package/components/tooltip/index.js +3 -8
  309. package/components/tooltip-DjOW52n2.cjs +45 -0
  310. package/components/{tooltip-Byl1h4nN.js → tooltip-xTa9Q5JW.js} +2 -1
  311. package/components/top-nav/index.cjs +2 -2
  312. package/components/top-nav/index.js +3 -8
  313. package/components/top-nav-81IKEGjR.cjs +41 -0
  314. package/components/{top-nav-B9YKdtFB.js → top-nav-CXjnpdFR.js} +2 -1
  315. package/components/utils.cjs +1 -1
  316. package/components/utils.js +1 -1
  317. package/components/voice-recorder-B1tBrGTV.cjs +1 -1
  318. package/components/voice-recorder-CTg3kRxx.js +1 -1
  319. package/custom-elements.json +1 -1
  320. package/package.json +11 -2
  321. package/standalone/accordion.js +45 -0
  322. package/standalone/action-bar.js +41 -0
  323. package/standalone/action-button.js +20 -0
  324. package/standalone/action-group.js +20 -0
  325. package/standalone/action-menu.js +58 -0
  326. package/standalone/avatar.js +36 -0
  327. package/standalone/badge.js +20 -0
  328. package/standalone/button-group.js +20 -0
  329. package/standalone/button.js +20 -0
  330. package/standalone/calendar.js +20 -0
  331. package/standalone/chat-message-group.js +26 -0
  332. package/standalone/chat-message.js +150 -0
  333. package/standalone/checkbox.js +20 -0
  334. package/standalone/chunks/NumberFormatter-DMCfW685.js +2 -0
  335. package/standalone/chunks/NumberParser-r_jv94LA.js +2 -0
  336. package/standalone/chunks/action-button-BzzPBqt5.js +6 -0
  337. package/standalone/chunks/action-group-DTxf-0tP.js +4 -0
  338. package/standalone/chunks/async-directive-BA2_dM-5.js +2 -0
  339. package/standalone/chunks/async-directive-CPdA0BOw.js +2 -0
  340. package/standalone/chunks/badge-DD-tMgzi.js +7 -0
  341. package/standalone/chunks/button-Bv3v7VbN.js +4 -0
  342. package/standalone/chunks/button-Dykw3TSO.js +2 -0
  343. package/standalone/chunks/button-base-C7jeeyLp.js +9 -0
  344. package/standalone/chunks/calendar-ZwUYkzVq.js +122 -0
  345. package/standalone/chunks/checkbox-OQtakoP8.js +9 -0
  346. package/standalone/chunks/checkbox-mixin-BAQWmwps.js +11 -0
  347. package/standalone/chunks/class-map-CxQ0PcQP.js +2 -0
  348. package/standalone/chunks/clear-button-pVGfwye8.js +2 -0
  349. package/standalone/chunks/close-button-RpPiwBdf.js +2 -0
  350. package/standalone/chunks/color-area-Cj8oPsIF.js +64 -0
  351. package/standalone/chunks/color-controller-fJNWRHVI.js +2 -0
  352. package/standalone/chunks/color-field-CrCF4kqZ.js +7 -0
  353. package/standalone/chunks/color-handle-BHrAxEG2.js +8 -0
  354. package/standalone/chunks/color-loupe-C34cms5t.js +40 -0
  355. package/standalone/chunks/color-menu-B5UOMYmX.js +73 -0
  356. package/standalone/chunks/color-slider-CAqvxsgS.js +41 -0
  357. package/standalone/chunks/condition-attribute-with-id-Dv8Yd-N1.js +2 -0
  358. package/standalone/chunks/dependency-manger-BPrqqTnJ.js +2 -0
  359. package/standalone/chunks/directive-Du_3lDov.js +2 -0
  360. package/standalone/chunks/directive-helpers-Bu8icI7Y.js +2 -0
  361. package/standalone/chunks/divider-Bf9Drp2z.js +2 -0
  362. package/standalone/chunks/divider.module-sYekRHno.js +2 -0
  363. package/standalone/chunks/element-resolution-DX0ea-Cd.js +2 -0
  364. package/standalone/chunks/field-group-D8EjgC6F.js +7 -0
  365. package/standalone/chunks/field-label-VWHDlW9_.js +9 -0
  366. package/standalone/chunks/flow-aCcJ5kgi.js +2 -0
  367. package/standalone/chunks/focus-group-Cl6MLy-C.js +2 -0
  368. package/standalone/chunks/focusable-selectors-D5e0OxNL.js +2 -0
  369. package/standalone/chunks/get-label-from-slot-Dfoiptqo.js +2 -0
  370. package/standalone/chunks/icon-Dy6J1QeX.js +2 -0
  371. package/{components/infield-button-CYO9V1eX.cjs → standalone/chunks/infield-button-D03MpU_s.js} +3 -19
  372. package/standalone/chunks/keyed-CNWmQd2J.js +2 -0
  373. package/standalone/chunks/language-resolution-BWHk9A73.js +2 -0
  374. package/standalone/chunks/lit-BN_lRQbJ.js +3 -0
  375. package/standalone/chunks/lucero-runtime-DGJ9-isg.js +16 -0
  376. package/standalone/chunks/luzmo-icons-CJa-aByT.js +13 -0
  377. package/standalone/chunks/manage-help-text-Cl9OJ2xf.js +14 -0
  378. package/standalone/chunks/menu-nolJetlp.js +92 -0
  379. package/standalone/chunks/number-field-C3DYfl1s.js +41 -0
  380. package/standalone/chunks/observe-slot-presence-DWPtw22K.js +2 -0
  381. package/standalone/chunks/options-BjRSj630.js +89 -0
  382. package/standalone/chunks/overlay-C4ir0iyC.js +31 -0
  383. package/standalone/chunks/overlay-C_XW8yry.js +57 -0
  384. package/standalone/chunks/pending-state-DxeRqe6Q.js +11 -0
  385. package/standalone/chunks/picker-button-BeXTIgUt.js +21 -0
  386. package/standalone/chunks/picker-hbMQOkUX.js +108 -0
  387. package/standalone/chunks/platform-BfrBbd97.js +2 -0
  388. package/standalone/chunks/popover-BsB3dmQe.js +14 -0
  389. package/standalone/chunks/progress-circle-CEx1b5Sv.js +17 -0
  390. package/standalone/chunks/property-CLXrnTGx.js +2 -0
  391. package/standalone/chunks/radio-2vHhfmHw.js +6 -0
  392. package/standalone/chunks/random-id-CeLe5NEk.js +2 -0
  393. package/standalone/chunks/repeat-CZdNcszA.js +2 -0
  394. package/standalone/chunks/rolldown-runtime-DWK5is8u.js +2 -0
  395. package/standalone/chunks/roving-tabindex-CB4xC55P.js +2 -0
  396. package/standalone/chunks/scaled-indicator-k-1JmS0b.js +10 -0
  397. package/standalone/chunks/segments-factory-Ch3AAizU.js +2 -0
  398. package/standalone/chunks/skeleton-loader-BxYcRRJr.js +2 -0
  399. package/standalone/chunks/slottable-request-event-D9FhiqH1.js +2 -0
  400. package/standalone/chunks/strategies-kad_0dTB.js +2 -0
  401. package/standalone/chunks/streaming-listener-DFczLm8I.js +2 -0
  402. package/standalone/chunks/style-map-D4QeV3m0.js +2 -0
  403. package/standalone/chunks/swatch-m_4GcO2_.js +33 -0
  404. package/standalone/chunks/text-field-BnZtyodU.js +5 -0
  405. package/standalone/chunks/text-field-BrlDeJsx.js +65 -0
  406. package/standalone/chunks/text-field.module-ClDE7laI.js +2 -0
  407. package/standalone/chunks/tooltip-DB6jRVyB.js +29 -0
  408. package/standalone/chunks/unsafe-html-BPQaWy0v.js +2 -0
  409. package/standalone/chunks/voice-recorder--d34tYNu.js +2 -0
  410. package/standalone/chunks/when-BWvpqCBs.js +2 -0
  411. package/standalone/clear-button.js +20 -0
  412. package/standalone/close-button.js +20 -0
  413. package/standalone/color-area.js +20 -0
  414. package/standalone/color-field.js +20 -0
  415. package/standalone/color-handle.js +20 -0
  416. package/standalone/color-loupe.js +20 -0
  417. package/standalone/color-menu.js +20 -0
  418. package/standalone/color-palette-group.js +30 -0
  419. package/standalone/color-palette.js +20 -0
  420. package/standalone/color-picker.js +50 -0
  421. package/standalone/color-slider.js +20 -0
  422. package/standalone/date-range-picker.js +182 -0
  423. package/standalone/date-time-picker.js +107 -0
  424. package/standalone/divider.js +20 -0
  425. package/standalone/field-group.js +20 -0
  426. package/standalone/field-label.js +20 -0
  427. package/standalone/icon.js +20 -0
  428. package/standalone/infield-button.js +20 -0
  429. package/standalone/label.js +20 -0
  430. package/standalone/lit.js +20 -0
  431. package/standalone/manifest.json +152 -0
  432. package/standalone/menu.js +20 -0
  433. package/standalone/multi-language-field.js +42 -0
  434. package/standalone/notice.js +62 -0
  435. package/standalone/number-field.js +20 -0
  436. package/standalone/options.js +20 -0
  437. package/standalone/overlay.js +20 -0
  438. package/standalone/picker-button.js +20 -0
  439. package/standalone/picker.js +20 -0
  440. package/standalone/popover.js +20 -0
  441. package/standalone/progress-bar.js +36 -0
  442. package/standalone/progress-circle.js +20 -0
  443. package/standalone/progress-steps.js +100 -0
  444. package/standalone/prompt-box.js +316 -0
  445. package/standalone/question-box.js +403 -0
  446. package/standalone/radio.js +20 -0
  447. package/standalone/search.js +49 -0
  448. package/standalone/select.js +160 -0
  449. package/standalone/skeleton-loader.js +20 -0
  450. package/standalone/slider.js +137 -0
  451. package/standalone/split-view.js +45 -0
  452. package/standalone/status-light.js +23 -0
  453. package/standalone/swatch.js +20 -0
  454. package/standalone/switch.js +24 -0
  455. package/standalone/tabs.js +78 -0
  456. package/standalone/tags.js +49 -0
  457. package/standalone/text-field.js +20 -0
  458. package/standalone/toast.js +53 -0
  459. package/standalone/tokens.css +1 -0
  460. package/standalone/tokens.js +20 -0
  461. package/standalone/tooltip.js +20 -0
  462. package/standalone/top-nav.js +43 -0
  463. package/standalone/utils.js +20 -0
  464. package/styles/tokens.d.ts +1 -0
  465. package/utils/reactive-controllers/pending-state.d.ts +1 -1
  466. package/components/action-bar-CXT4lT30.cjs +0 -39
  467. package/components/action-button-BKnzGQR6.cjs +0 -22
  468. package/components/action-group-D1G30Iir.cjs +0 -20
  469. package/components/avatar-Cu9c0sCS.cjs +0 -34
  470. package/components/badge-XJP3sZhB.cjs +0 -23
  471. package/components/button-group-6M8M-TUI.cjs +0 -18
  472. package/components/button-l0fRopSN.cjs +0 -20
  473. package/components/calendar-DZkKMs2L.cjs +0 -138
  474. package/components/chat-message-group-CzCwyW7F.cjs +0 -24
  475. package/components/chat-message-t4a0r3R6.cjs +0 -148
  476. package/components/checkbox-DdatW4xE.cjs +0 -25
  477. package/components/color-area-B_pRu9Vf.cjs +0 -80
  478. package/components/color-handle-DIoVrLRF.cjs +0 -24
  479. package/components/color-loupe-sY1wOisV.cjs +0 -56
  480. package/components/color-menu-CdETqhbP.cjs +0 -89
  481. package/components/color-palette-CidHsmE0.cjs +0 -18
  482. package/components/color-palette-group-B4r4tPfY.cjs +0 -28
  483. package/components/color-slider-DLEM1nGA.cjs +0 -57
  484. package/components/date-range-picker-9ioTuDZq.cjs +0 -180
  485. package/components/date-time-picker-DRjQTyGS.cjs +0 -105
  486. package/components/divider-wana0uPI.cjs +0 -18
  487. package/components/field-label-C5vdJ1ys.cjs +0 -25
  488. package/components/icon-CSqR-OOO.cjs +0 -18
  489. package/components/notice-xgrLOiC0.cjs +0 -60
  490. package/components/number-field-04RFqrUa.cjs +0 -57
  491. package/components/overlay-B-gaxspw.cjs +0 -47
  492. package/components/overlay-CPZvL0Ic.cjs +0 -73
  493. package/components/overlay-DdIs4w5M.js +0 -227
  494. package/components/picker-D225VAbx.cjs +0 -124
  495. package/components/picker-button-BR7oM7_M.cjs +0 -37
  496. package/components/popover-DWWYpY-k.cjs +0 -30
  497. package/components/progress-bar-C7wJ5bxS.cjs +0 -34
  498. package/components/progress-circle-DyApSKdm.cjs +0 -33
  499. package/components/progress-steps-Ba4VbAKR.cjs +0 -96
  500. package/components/progress-steps-nJ8Xw-nG.js +0 -262
  501. package/components/radio-O3a1rmCe.cjs +0 -22
  502. package/components/search-BhMhfCBh.cjs +0 -47
  503. package/components/select-D5fQgPPj.cjs +0 -158
  504. package/components/skeleton-loader-Cm50Ztzk.cjs +0 -18
  505. package/components/split-view-5uMSU_b7.cjs +0 -43
  506. package/components/status-light-BYBYorYy.cjs +0 -21
  507. package/components/switch-B-gu-War.cjs +0 -22
  508. package/components/tags-B28zWEic.cjs +0 -47
  509. package/components/text-field-wJK2bzMT.cjs +0 -21
  510. package/components/toast-COQ7Xl5T.cjs +0 -51
  511. package/components/tooltip-Sm0pruxL.cjs +0 -45
  512. package/components/top-nav-BcZLCBP_.cjs +0 -41
@@ -1,6 +1,6 @@
1
1
  /*! * Lucero - The design system for Luzmo.
2
2
  *
3
- * Copyright © 2025 Luzmo
3
+ * Copyright © 2026 Luzmo
4
4
  * All rights reserved.
5
5
  * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
6
6
  * This license allows users with a current active Luzmo account to use Lucero.
@@ -15,6 +15,7 @@
15
15
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
16
16
  * SOFTWARE.
17
17
  * */
18
+ import "./tokens.js";
18
19
  import { n as e, t } from "./decorate-CkCg3wfh.js";
19
20
  import { n } from "./sized-mixin-DzQTebN-.js";
20
21
  import { t as r } from "./language-resolution-BaKYDD1a.js";
@@ -28,10 +29,10 @@ function d(e, t) {
28
29
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
29
30
  return r;
30
31
  }
31
- function f(e) {
32
+ function ee(e) {
32
33
  if (Array.isArray(e)) return e;
33
34
  }
34
- function p(e, t) {
35
+ function te(e, t) {
35
36
  var n = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
36
37
  if (n != null) {
37
38
  var r, i, a, o, s = [], c = !0, l = !1;
@@ -49,113 +50,113 @@ function p(e, t) {
49
50
  return s;
50
51
  }
51
52
  }
52
- function ee() {
53
+ function ne() {
53
54
  throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
54
55
  }
55
- function te(e, t) {
56
- return f(e) || p(e, t) || ne(e, t) || ee();
56
+ function re(e, t) {
57
+ return ee(e) || te(e, t) || f(e, t) || ne();
57
58
  }
58
- function ne(e, t) {
59
+ function f(e, t) {
59
60
  if (e) {
60
61
  if (typeof e == "string") return d(e, t);
61
62
  var n = {}.toString.call(e).slice(8, -1);
62
63
  return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? d(e, t) : void 0;
63
64
  }
64
65
  }
65
- var re = Object.entries, m = Object.setPrototypeOf, ie = Object.isFrozen, ae = Object.getPrototypeOf, h = Object.getOwnPropertyDescriptor, g = Object.freeze, _ = Object.seal, oe = Object.create, se = typeof Reflect < "u" && Reflect, ce = se.apply, le = se.construct;
66
- g ||= function(e) {
66
+ var ie = Object.entries, ae = Object.setPrototypeOf, oe = Object.isFrozen, p = Object.getPrototypeOf, m = Object.getOwnPropertyDescriptor, h = Object.freeze, g = Object.seal, se = Object.create, _ = typeof Reflect < "u" && Reflect, v = _.apply, ce = _.construct;
67
+ h ||= function(e) {
67
68
  return e;
68
- }, _ ||= function(e) {
69
+ }, g ||= function(e) {
69
70
  return e;
70
- }, ce ||= function(e, t) {
71
+ }, v ||= function(e, t) {
71
72
  var n = [...arguments].slice(2);
72
73
  return e.apply(t, n);
73
- }, le ||= function(e) {
74
+ }, ce ||= function(e) {
74
75
  return new e(...[...arguments].slice(1));
75
76
  };
76
- var ue = S(Array.prototype.forEach), de = S(Array.prototype.lastIndexOf), fe = S(Array.prototype.pop), pe = S(Array.prototype.push), me = S(Array.prototype.splice), he = Array.isArray, ge = S(String.prototype.toLowerCase), _e = S(String.prototype.toString), ve = S(String.prototype.match), ye = S(String.prototype.replace), be = S(String.prototype.indexOf), xe = S(String.prototype.trim), Se = S(Number.prototype.toString), v = S(Boolean.prototype.toString), y = typeof BigInt > "u" ? null : S(BigInt.prototype.toString), Ce = typeof Symbol > "u" ? null : S(Symbol.prototype.toString), b = S(Object.prototype.hasOwnProperty), we = S(Object.prototype.toString), x = S(RegExp.prototype.test), Te = Ee(TypeError);
77
- function S(e) {
77
+ var le = C(Array.prototype.forEach), ue = C(Array.prototype.lastIndexOf), de = C(Array.prototype.pop), fe = C(Array.prototype.push), pe = C(Array.prototype.splice), y = Array.isArray, me = C(String.prototype.toLowerCase), he = C(String.prototype.toString), ge = C(String.prototype.match), _e = C(String.prototype.replace), ve = C(String.prototype.indexOf), ye = C(String.prototype.trim), be = C(Number.prototype.toString), xe = C(Boolean.prototype.toString), Se = typeof BigInt > "u" ? null : C(BigInt.prototype.toString), b = typeof Symbol > "u" ? null : C(Symbol.prototype.toString), x = C(Object.prototype.hasOwnProperty), Ce = C(Object.prototype.toString), S = C(RegExp.prototype.test), we = Te(TypeError);
78
+ function C(e) {
78
79
  return function(t) {
79
80
  t instanceof RegExp && (t.lastIndex = 0);
80
81
  var n = [...arguments].slice(1);
81
- return ce(e, t, n);
82
+ return v(e, t, n);
82
83
  };
83
84
  }
84
- function Ee(e) {
85
+ function Te(e) {
85
86
  return function() {
86
- return le(e, [...arguments]);
87
+ return ce(e, [...arguments]);
87
88
  };
88
89
  }
89
- function C(e, t) {
90
- let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ge;
91
- if (m && m(e, null), !he(t)) return e;
90
+ function w(e, t) {
91
+ let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : me;
92
+ if (ae && ae(e, null), !y(t)) return e;
92
93
  let r = t.length;
93
94
  for (; r--;) {
94
95
  let i = t[r];
95
96
  if (typeof i == "string") {
96
97
  let e = n(i);
97
- e !== i && (ie(t) || (t[r] = e), i = e);
98
+ e !== i && (oe(t) || (t[r] = e), i = e);
98
99
  }
99
100
  e[i] = !0;
100
101
  }
101
102
  return e;
102
103
  }
103
- function De(e) {
104
- for (let t = 0; t < e.length; t++) b(e, t) || (e[t] = null);
104
+ function Ee(e) {
105
+ for (let t = 0; t < e.length; t++) x(e, t) || (e[t] = null);
105
106
  return e;
106
107
  }
107
- function w(e) {
108
- let t = oe(null);
109
- for (let r of re(e)) {
110
- var n = te(r, 2);
108
+ function T(e) {
109
+ let t = se(null);
110
+ for (let r of ie(e)) {
111
+ var n = re(r, 2);
111
112
  let i = n[0], a = n[1];
112
- b(e, i) && (he(a) ? t[i] = De(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = w(a) : t[i] = a);
113
+ x(e, i) && (y(a) ? t[i] = Ee(a) : a && typeof a == "object" && a.constructor === Object ? t[i] = T(a) : t[i] = a);
113
114
  }
114
115
  return t;
115
116
  }
116
- function Oe(e) {
117
+ function De(e) {
117
118
  switch (typeof e) {
118
119
  case "string": return e;
119
- case "number": return Se(e);
120
- case "boolean": return v(e);
121
- case "bigint": return y ? y(e) : "0";
122
- case "symbol": return Ce ? Ce(e) : "Symbol()";
123
- case "undefined": return we(e);
120
+ case "number": return be(e);
121
+ case "boolean": return xe(e);
122
+ case "bigint": return Se ? Se(e) : "0";
123
+ case "symbol": return b ? b(e) : "Symbol()";
124
+ case "undefined": return Ce(e);
124
125
  case "function":
125
126
  case "object": {
126
- if (e === null) return we(e);
127
- let t = e, n = T(t, "toString");
127
+ if (e === null) return Ce(e);
128
+ let t = e, n = E(t, "toString");
128
129
  if (typeof n == "function") {
129
130
  let e = n(t);
130
- return typeof e == "string" ? e : we(e);
131
+ return typeof e == "string" ? e : Ce(e);
131
132
  }
132
- return we(e);
133
+ return Ce(e);
133
134
  }
134
- default: return we(e);
135
+ default: return Ce(e);
135
136
  }
136
137
  }
137
- function T(e, t) {
138
+ function E(e, t) {
138
139
  for (; e !== null;) {
139
- let n = h(e, t);
140
+ let n = m(e, t);
140
141
  if (n) {
141
- if (n.get) return S(n.get);
142
- if (typeof n.value == "function") return S(n.value);
142
+ if (n.get) return C(n.get);
143
+ if (typeof n.value == "function") return C(n.value);
143
144
  }
144
- e = ae(e);
145
+ e = p(e);
145
146
  }
146
147
  function n() {
147
148
  return null;
148
149
  }
149
150
  return n;
150
151
  }
151
- function ke(e) {
152
+ function Oe(e) {
152
153
  try {
153
- return x(e, ""), !0;
154
+ return S(e, ""), !0;
154
155
  } catch {
155
156
  return !1;
156
157
  }
157
158
  }
158
- var Ae = g(/* @__PURE__ */ "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".split(".")), je = g(/* @__PURE__ */ "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".split(".")), Me = g([
159
+ var ke = h(/* @__PURE__ */ "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".split(".")), Ae = h(/* @__PURE__ */ "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".split(".")), je = h([
159
160
  "feBlend",
160
161
  "feColorMatrix",
161
162
  "feComponentTransfer",
@@ -181,7 +182,7 @@ var Ae = g(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
181
182
  "feSpotLight",
182
183
  "feTile",
183
184
  "feTurbulence"
184
- ]), Ne = g([
185
+ ]), Me = h([
185
186
  "animate",
186
187
  "color-profile",
187
188
  "cursor",
@@ -204,7 +205,7 @@ var Ae = g(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
204
205
  "solidcolor",
205
206
  "unknown",
206
207
  "use"
207
- ]), Pe = g(/* @__PURE__ */ "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".split(".")), Fe = g([
208
+ ]), Ne = h(/* @__PURE__ */ "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".split(".")), Pe = h([
208
209
  "maction",
209
210
  "maligngroup",
210
211
  "malignmark",
@@ -220,13 +221,13 @@ var Ae = g(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
220
221
  "annotation-xml",
221
222
  "mprescripts",
222
223
  "none"
223
- ]), Ie = g(["#text"]), Le = g(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.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".split(".")), Re = g(/* @__PURE__ */ "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.dominant-baseline.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.pointer-events.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-orientation.text-rendering.textlength.type.u1.u2.unicode.values.vector-effect.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".split(".")), ze = g(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.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".split(".")), Be = g([
224
+ ]), Fe = h(["#text"]), Ie = h(/* @__PURE__ */ "accept.action.align.alt.autocapitalize.autocomplete.autopictureinpicture.autoplay.background.bgcolor.border.capture.cellpadding.cellspacing.checked.cite.class.clear.color.cols.colspan.command.commandfor.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".split(".")), Le = h(/* @__PURE__ */ "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.dominant-baseline.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-orientation.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".split(".")), Re = h(/* @__PURE__ */ "accent.accentunder.align.bevelled.close.columnalign.columnlines.columnspacing.columnspan.denomalign.depth.dir.display.displaystyle.encoding.fence.frame.height.href.id.largeop.length.linethickness.lquote.lspace.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".split(".")), ze = h([
224
225
  "xlink:href",
225
226
  "xml:id",
226
227
  "xlink:title",
227
228
  "xml:space",
228
229
  "xmlns:xlink"
229
- ]), Ve = _(/{{[\w\W]*|^[\w\W]*}}/g), He = _(/<%[\w\W]*|^[\w\W]*%>/g), Ue = _(/\${[\w\W]*/g), We = _(/^data-[\-\w.\u00B7-\uFFFF]+$/), Ge = _(/^aria-[\-\w]+$/), Ke = _(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), qe = _(/^(?:\w+script|data):/i), Je = _(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Ye = _(/^html$/i), Xe = _(/^[a-z][.\w]*(-[.\w]+)+$/i), Ze = _(/<[/\w!]/g), Qe = _(/<[/\w]/g), $e = _(/<\/no(script|embed|frames)/i), et = _(/\/>/i), E = {
230
+ ]), Be = g(/{{[\w\W]*|^[\w\W]*}}/g), Ve = g(/<%[\w\W]*|^[\w\W]*%>/g), He = g(/\${[\w\W]*/g), Ue = g(/^data-[\-\w.\u00B7-\uFFFF]+$/), We = g(/^aria-[\-\w]+$/), Ge = g(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i), Ke = g(/^(?:\w+script|data):/i), qe = g(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g), Je = g(/^html$/i), Ye = g(/^[a-z][.\w]*(-[.\w]+)+$/i), Xe = g(/<[/\w!]/g), Ze = g(/<[/\w]/g), Qe = g(/<\/no(script|embed|frames)/i), $e = g(/\/>/i), D = {
230
231
  element: 1,
231
232
  attribute: 2,
232
233
  text: 3,
@@ -239,23 +240,9 @@ var Ae = g(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
239
240
  documentType: 10,
240
241
  documentFragment: 11,
241
242
  notation: 12
242
- }, tt = [
243
- "style",
244
- "script",
245
- "xmp",
246
- "iframe",
247
- "noembed",
248
- "noframes",
249
- "plaintext",
250
- "noscript"
251
- ], nt = g(C({}, tt)), rt = function() {
252
- let e = {};
253
- return ue(tt, (t) => {
254
- e[t] = _(RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
255
- }), g(e);
256
- }(), it = function() {
243
+ }, et = function() {
257
244
  return typeof window > "u" ? null : window;
258
- }, at = function(e, t) {
245
+ }, tt = function(e, t) {
259
246
  if (typeof e != "object" || typeof e.createPolicy != "function") return null;
260
247
  let n = null, r = "data-tt-policy-suffix";
261
248
  t && t.hasAttribute(r) && (n = t.getAttribute(r));
@@ -272,7 +259,7 @@ var Ae = g(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
272
259
  } catch {
273
260
  return console.warn("TrustedTypes policy " + i + " could not be created."), null;
274
261
  }
275
- }, ot = function() {
262
+ }, nt = function() {
276
263
  return {
277
264
  afterSanitizeAttributes: [],
278
265
  afterSanitizeElements: [],
@@ -284,60 +271,53 @@ var Ae = g(/* @__PURE__ */ "a.abbr.acronym.address.area.article.aside.audio.b.bd
284
271
  uponSanitizeElement: [],
285
272
  uponSanitizeShadowNode: []
286
273
  };
287
- }, st = function(e, t, n, r) {
288
- return b(e, t) && he(e[t]) ? C(r.base ? w(r.base) : {}, e[t], r.transform) : n;
289
- }, ct = function(e, t, n) {
290
- let r = b(e, t) ? e[t] : void 0;
291
- return r && typeof r == "object" ? w(r) : n();
274
+ }, O = function(e, t, n, r) {
275
+ return x(e, t) && y(e[t]) ? w(r.base ? T(r.base) : {}, e[t], r.transform) : n;
292
276
  };
293
- function lt() {
294
- let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : it(), t = (e) => lt(e);
295
- if (t.version = "3.4.15", t.removed = [], !e || !e.document || e.document.nodeType !== E.document || !e.Element) return t.isSupported = !1, t;
277
+ function rt() {
278
+ let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : et(), t = (e) => rt(e);
279
+ if (t.version = "3.4.12", t.removed = [], !e || !e.document || e.document.nodeType !== D.document || !e.Element) return t.isSupported = !1, t;
296
280
  let n = e.document, r = n, i = r.currentScript;
297
281
  e.DocumentFragment;
298
282
  let a = e.HTMLTemplateElement, o = e.Node, s = e.Element, c = e.NodeFilter;
299
283
  e.NamedNodeMap === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
300
- let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, f = T(d, "cloneNode"), p = T(d, "remove"), ee = T(d, "removeAttributeNode"), te = T(d, "nextSibling"), ne = T(d, "childNodes"), m = T(d, "parentNode"), ie = T(d, "shadowRoot"), ae = T(d, "attributes"), h = o && o.prototype ? T(o.prototype, "nodeType") : null, se = o && o.prototype ? T(o.prototype, "nodeName") : null, ce = o && o.prototype ? T(o.prototype, "ownerDocument") : null, le = function(e) {
301
- return h ? h(e) : e.nodeType;
302
- }, Se = function(e) {
303
- return se ? se(e) : e.nodeName;
304
- };
284
+ let l = e.DOMParser, u = e.trustedTypes, d = s.prototype, ee = E(d, "cloneNode"), te = E(d, "remove"), ne = E(d, "nextSibling"), re = E(d, "childNodes"), f = E(d, "parentNode"), ae = E(d, "shadowRoot"), oe = E(d, "attributes"), p = o && o.prototype ? E(o.prototype, "nodeType") : null, m = o && o.prototype ? E(o.prototype, "nodeName") : null;
305
285
  if (typeof a == "function") {
306
286
  let e = n.createElement("template");
307
287
  e.content && e.content.ownerDocument && (n = e.content.ownerDocument);
308
288
  }
309
- let v, y = "", Ce, we = !1, S = 0, Ee = function() {
310
- if (S > 0) throw Te("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
311
- }, De = function(e) {
312
- Ee(), S++;
289
+ let _, v = "", ce, be = !1, xe = 0, Se = function() {
290
+ if (xe > 0) throw we("A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the \"DOMPurify and Trusted Types\" section of the README.");
291
+ }, b = function(e) {
292
+ Se(), xe++;
313
293
  try {
314
- return v.createHTML(e);
294
+ return _.createHTML(e);
315
295
  } finally {
316
- S--;
296
+ xe--;
317
297
  }
318
- }, tt = function(e) {
319
- Ee(), S++;
298
+ }, Ce = function(e) {
299
+ Se(), xe++;
320
300
  try {
321
- return v.createScriptURL(e);
301
+ return _.createScriptURL(e);
322
302
  } finally {
323
- S--;
324
- }
325
- }, ut = function() {
326
- return we ||= (Ce = at(u, i), !0), Ce;
327
- }, dt = n, D = dt.implementation, ft = dt.createNodeIterator, pt = dt.createDocumentFragment, mt = dt.getElementsByTagName, O = r.importNode, k = ot();
328
- t.isSupported = typeof re == "function" && typeof m == "function" && D && D.createHTMLDocument !== void 0;
329
- let A = Ve, ht = He, gt = Ue, _t = We, vt = Ge, yt = qe, bt = Je, xt = Xe, St = Ke, j = null, Ct = C({}, [
303
+ xe--;
304
+ }
305
+ }, C = function() {
306
+ return be ||= (ce = tt(u, i), !0), ce;
307
+ }, Te = n, Ee = Te.implementation, it = Te.createNodeIterator, at = Te.createDocumentFragment, k = Te.getElementsByTagName, ot = r.importNode, A = nt();
308
+ t.isSupported = typeof ie == "function" && typeof f == "function" && Ee && Ee.createHTMLDocument !== void 0;
309
+ let st = Be, j = Ve, ct = He, M = Ue, lt = We, ut = Ke, dt = qe, ft = Ye, pt = Ge, N = null, mt = w({}, [
310
+ ...ke,
330
311
  ...Ae,
331
312
  ...je,
332
- ...Me,
333
- ...Pe,
334
- ...Ie
335
- ]), M = null, wt = C({}, [
313
+ ...Ne,
314
+ ...Fe
315
+ ]), P = null, ht = w({}, [
316
+ ...Ie,
336
317
  ...Le,
337
318
  ...Re,
338
- ...ze,
339
- ...Be
340
- ]), N = Object.seal(oe(null, {
319
+ ...ze
320
+ ]), F = Object.seal(se(null, {
341
321
  tagNameCheck: {
342
322
  writable: !0,
343
323
  configurable: !1,
@@ -356,7 +336,7 @@ function lt() {
356
336
  enumerable: !0,
357
337
  value: !1
358
338
  }
359
- })), Tt = null, Et = null, P = Object.seal(oe(null, {
339
+ })), gt = null, _t = null, I = Object.seal(se(null, {
360
340
  tagCheck: {
361
341
  writable: !0,
362
342
  configurable: !1,
@@ -369,14 +349,14 @@ function lt() {
369
349
  enumerable: !0,
370
350
  value: null
371
351
  }
372
- })), Dt = !0, Ot = !0, kt = !1, At = !0, F = !1, I = !0, L = !1, jt = !1, Mt = null, Nt = null, Pt = !1, Ft = !1, R = !1, z = !1, It = !0, Lt = !1, Rt = "user-content-", zt = !0, Bt = !1, Vt = {}, Ht = null, Ut = C({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Wt = null, Gt = C({}, [
352
+ })), vt = !0, yt = !0, bt = !1, xt = !0, L = !1, R = !0, z = !1, St = !1, Ct = null, wt = null, Tt = !1, Et = !1, Dt = !1, Ot = !1, kt = !0, B = !1, At = "user-content-", jt = !0, Mt = !1, V = {}, H = null, Nt = w({}, /* @__PURE__ */ "annotation-xml.audio.colgroup.desc.foreignobject.head.iframe.math.mi.mn.mo.ms.mtext.noembed.noframes.noscript.plaintext.script.selectedcontent.style.svg.template.thead.title.video.xmp".split(".")), Pt = null, Ft = w({}, [
373
353
  "audio",
374
354
  "video",
375
355
  "img",
376
356
  "source",
377
357
  "image",
378
358
  "track"
379
- ]), Kt = null, qt = C({}, [
359
+ ]), It = null, Lt = w({}, [
380
360
  "alt",
381
361
  "class",
382
362
  "for",
@@ -391,262 +371,249 @@ function lt() {
391
371
  "value",
392
372
  "style",
393
373
  "xmlns"
394
- ]), Jt = "http://www.w3.org/1998/Math/MathML", Yt = "http://www.w3.org/2000/svg", B = "http://www.w3.org/1999/xhtml", Xt = B, Zt = !1, Qt = null, $t = C({}, [
395
- Jt,
396
- Yt,
397
- B
398
- ], _e), en = g([
374
+ ]), Rt = "http://www.w3.org/1998/Math/MathML", zt = "http://www.w3.org/2000/svg", U = "http://www.w3.org/1999/xhtml", Bt = U, Vt = !1, Ht = null, Ut = w({}, [
375
+ Rt,
376
+ zt,
377
+ U
378
+ ], he), Wt = h([
399
379
  "mi",
400
380
  "mo",
401
381
  "mn",
402
382
  "ms",
403
383
  "mtext"
404
- ]), tn = C({}, en), nn = g(["annotation-xml"]), rn = C({}, nn), an = C({}, [
384
+ ]), Gt = w({}, Wt), Kt = h(["annotation-xml"]), qt = w({}, Kt), Jt = w({}, [
405
385
  "title",
406
386
  "style",
407
387
  "font",
408
388
  "a",
409
389
  "script"
410
- ]), on = null, sn = ["application/xhtml+xml", "text/html"], V = null, H = null, cn = n.createElement("form"), ln = function(e) {
390
+ ]), Yt = null, Xt = ["application/xhtml+xml", "text/html"], W = null, Zt = null, Qt = n.createElement("form"), $t = function(e) {
411
391
  return e instanceof RegExp || e instanceof Function;
412
- }, un = function() {
392
+ }, en = function() {
413
393
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
414
- if (H && H === e) return;
415
- (!e || typeof e != "object") && (e = {}), e = w(e), on = sn.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, V = on === "application/xhtml+xml" ? _e : ge, j = st(e, "ALLOWED_TAGS", Ct, { transform: V }), M = st(e, "ALLOWED_ATTR", wt, { transform: V }), Qt = st(e, "ALLOWED_NAMESPACES", $t, { transform: _e }), Kt = st(e, "ADD_URI_SAFE_ATTR", qt, {
416
- transform: V,
417
- base: qt
418
- }), Wt = st(e, "ADD_DATA_URI_TAGS", Gt, {
419
- transform: V,
420
- base: Gt
421
- }), Ht = st(e, "FORBID_CONTENTS", Ut, { transform: V }), Tt = st(e, "FORBID_TAGS", w({}), { transform: V }), Et = st(e, "FORBID_ATTR", w({}), { transform: V }), Vt = b(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? w(e.USE_PROFILES) : e.USE_PROFILES : !1, Dt = e.ALLOW_ARIA_ATTR !== !1, Ot = e.ALLOW_DATA_ATTR !== !1, kt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, At = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, F = e.SAFE_FOR_TEMPLATES || !1, I = e.SAFE_FOR_XML !== !1, L = e.WHOLE_DOCUMENT || !1, Ft = e.RETURN_DOM || !1, R = e.RETURN_DOM_FRAGMENT || !1, z = e.RETURN_TRUSTED_TYPE || !1, Pt = e.FORCE_BODY || !1, It = e.SANITIZE_DOM !== !1, Lt = e.SANITIZE_NAMED_PROPS || !1, zt = e.KEEP_CONTENT !== !1, Bt = e.IN_PLACE || !1, St = ke(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Ke, Xt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : B, tn = ct(e, "MATHML_TEXT_INTEGRATION_POINTS", () => C({}, en)), rn = ct(e, "HTML_INTEGRATION_POINTS", () => C({}, nn));
422
- let t = ct(e, "CUSTOM_ELEMENT_HANDLING", () => oe(null));
423
- if (N = oe(null), b(t, "tagNameCheck") && ln(t.tagNameCheck) && (N.tagNameCheck = t.tagNameCheck), b(t, "attributeNameCheck") && ln(t.attributeNameCheck) && (N.attributeNameCheck = t.attributeNameCheck), b(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (N.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), _(N), F && (Ot = !1), R && (Ft = !0), Vt && (j = C({}, Ie), M = oe(null), Vt.html === !0 && (C(j, Ae), C(M, Le)), Vt.svg === !0 && (C(j, je), C(M, Re), C(M, Be)), Vt.svgFilters === !0 && (C(j, Me), C(M, Re), C(M, Be)), Vt.mathMl === !0 && (C(j, Pe), C(M, ze), C(M, Be))), P.tagCheck = null, P.attributeCheck = null, b(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? P.tagCheck = e.ADD_TAGS : he(e.ADD_TAGS) && (j === Ct && (j = w(j)), C(j, e.ADD_TAGS, V))), b(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? P.attributeCheck = e.ADD_ATTR : he(e.ADD_ATTR) && (M === wt && (M = w(M)), C(M, e.ADD_ATTR, V))), b(e, "ADD_FORBID_CONTENTS") && he(e.ADD_FORBID_CONTENTS) && (Ht === Ut && (Ht = w(Ht)), C(Ht, e.ADD_FORBID_CONTENTS, V)), zt && (j["#text"] = !0), L && C(j, [
394
+ if (Zt && Zt === e) return;
395
+ (!e || typeof e != "object") && (e = {}), e = T(e), Yt = Xt.indexOf(e.PARSER_MEDIA_TYPE) === -1 ? "text/html" : e.PARSER_MEDIA_TYPE, W = Yt === "application/xhtml+xml" ? he : me, N = O(e, "ALLOWED_TAGS", mt, { transform: W }), P = O(e, "ALLOWED_ATTR", ht, { transform: W }), Ht = O(e, "ALLOWED_NAMESPACES", Ut, { transform: he }), It = O(e, "ADD_URI_SAFE_ATTR", Lt, {
396
+ transform: W,
397
+ base: Lt
398
+ }), Pt = O(e, "ADD_DATA_URI_TAGS", Ft, {
399
+ transform: W,
400
+ base: Ft
401
+ }), H = O(e, "FORBID_CONTENTS", Nt, { transform: W }), gt = O(e, "FORBID_TAGS", T({}), { transform: W }), _t = O(e, "FORBID_ATTR", T({}), { transform: W }), V = x(e, "USE_PROFILES") ? e.USE_PROFILES && typeof e.USE_PROFILES == "object" ? T(e.USE_PROFILES) : e.USE_PROFILES : !1, vt = e.ALLOW_ARIA_ATTR !== !1, yt = e.ALLOW_DATA_ATTR !== !1, bt = e.ALLOW_UNKNOWN_PROTOCOLS || !1, xt = e.ALLOW_SELF_CLOSE_IN_ATTR !== !1, L = e.SAFE_FOR_TEMPLATES || !1, R = e.SAFE_FOR_XML !== !1, z = e.WHOLE_DOCUMENT || !1, Et = e.RETURN_DOM || !1, Dt = e.RETURN_DOM_FRAGMENT || !1, Ot = e.RETURN_TRUSTED_TYPE || !1, Tt = e.FORCE_BODY || !1, kt = e.SANITIZE_DOM !== !1, B = e.SANITIZE_NAMED_PROPS || !1, jt = e.KEEP_CONTENT !== !1, Mt = e.IN_PLACE || !1, pt = Oe(e.ALLOWED_URI_REGEXP) ? e.ALLOWED_URI_REGEXP : Ge, Bt = typeof e.NAMESPACE == "string" ? e.NAMESPACE : U, Gt = x(e, "MATHML_TEXT_INTEGRATION_POINTS") && e.MATHML_TEXT_INTEGRATION_POINTS && typeof e.MATHML_TEXT_INTEGRATION_POINTS == "object" ? T(e.MATHML_TEXT_INTEGRATION_POINTS) : w({}, Wt), qt = x(e, "HTML_INTEGRATION_POINTS") && e.HTML_INTEGRATION_POINTS && typeof e.HTML_INTEGRATION_POINTS == "object" ? T(e.HTML_INTEGRATION_POINTS) : w({}, Kt);
402
+ let t = x(e, "CUSTOM_ELEMENT_HANDLING") && e.CUSTOM_ELEMENT_HANDLING && typeof e.CUSTOM_ELEMENT_HANDLING == "object" ? T(e.CUSTOM_ELEMENT_HANDLING) : se(null);
403
+ if (F = se(null), x(t, "tagNameCheck") && $t(t.tagNameCheck) && (F.tagNameCheck = t.tagNameCheck), x(t, "attributeNameCheck") && $t(t.attributeNameCheck) && (F.attributeNameCheck = t.attributeNameCheck), x(t, "allowCustomizedBuiltInElements") && typeof t.allowCustomizedBuiltInElements == "boolean" && (F.allowCustomizedBuiltInElements = t.allowCustomizedBuiltInElements), g(F), L && (yt = !1), Dt && (Et = !0), V && (N = w({}, Fe), P = se(null), V.html === !0 && (w(N, ke), w(P, Ie)), V.svg === !0 && (w(N, Ae), w(P, Le), w(P, ze)), V.svgFilters === !0 && (w(N, je), w(P, Le), w(P, ze)), V.mathMl === !0 && (w(N, Ne), w(P, Re), w(P, ze))), I.tagCheck = null, I.attributeCheck = null, x(e, "ADD_TAGS") && (typeof e.ADD_TAGS == "function" ? I.tagCheck = e.ADD_TAGS : y(e.ADD_TAGS) && (N === mt && (N = T(N)), w(N, e.ADD_TAGS, W))), x(e, "ADD_ATTR") && (typeof e.ADD_ATTR == "function" ? I.attributeCheck = e.ADD_ATTR : y(e.ADD_ATTR) && (P === ht && (P = T(P)), w(P, e.ADD_ATTR, W))), x(e, "ADD_URI_SAFE_ATTR") && y(e.ADD_URI_SAFE_ATTR) && w(It, e.ADD_URI_SAFE_ATTR, W), x(e, "FORBID_CONTENTS") && y(e.FORBID_CONTENTS) && (H === Nt && (H = T(H)), w(H, e.FORBID_CONTENTS, W)), x(e, "ADD_FORBID_CONTENTS") && y(e.ADD_FORBID_CONTENTS) && (H === Nt && (H = T(H)), w(H, e.ADD_FORBID_CONTENTS, W)), jt && (N["#text"] = !0), z && w(N, [
424
404
  "html",
425
405
  "head",
426
406
  "body"
427
- ]), j.table && (C(j, ["tbody"]), delete Tt.tbody), e.TRUSTED_TYPES_POLICY) {
428
- if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw Te("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
429
- if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw Te("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
430
- let t = v;
431
- v = e.TRUSTED_TYPES_POLICY;
407
+ ]), N.table && (w(N, ["tbody"]), delete gt.tbody), e.TRUSTED_TYPES_POLICY) {
408
+ if (typeof e.TRUSTED_TYPES_POLICY.createHTML != "function") throw we("TRUSTED_TYPES_POLICY configuration option must provide a \"createHTML\" hook.");
409
+ if (typeof e.TRUSTED_TYPES_POLICY.createScriptURL != "function") throw we("TRUSTED_TYPES_POLICY configuration option must provide a \"createScriptURL\" hook.");
410
+ let t = _;
411
+ _ = e.TRUSTED_TYPES_POLICY;
432
412
  try {
433
- y = De("");
413
+ v = b("");
434
414
  } catch (e) {
435
- throw v = t, e;
415
+ throw _ = t, e;
436
416
  }
437
- } else e.TRUSTED_TYPES_POLICY === null ? (v = void 0, y = "") : (v === void 0 && (v = ut()), v && typeof y == "string" && (y = De("")));
438
- g && g(e), H = e;
439
- }, dn = C({}, [
417
+ } else e.TRUSTED_TYPES_POLICY === null ? (_ = void 0, v = "") : (_ === void 0 && (_ = C()), _ && typeof v == "string" && (v = b("")));
418
+ h && h(e), Zt = e;
419
+ }, tn = w({}, [
420
+ ...Ae,
440
421
  ...je,
441
- ...Me,
442
- ...Ne
443
- ]), fn = C({}, [...Pe, ...Fe]), U = function(e, t, n) {
444
- return t.namespaceURI === B ? e === "svg" : t.namespaceURI === Jt ? e === "svg" && (n === "annotation-xml" || tn[n]) : !!dn[e];
445
- }, pn = function(e, t, n) {
446
- return t.namespaceURI === B ? e === "math" : t.namespaceURI === Yt ? e === "math" && rn[n] : !!fn[e];
447
- }, mn = function(e, t, n) {
448
- return t.namespaceURI === Yt && !rn[n] || t.namespaceURI === Jt && !tn[n] ? !1 : !fn[e] && (an[e] || !dn[e]);
449
- }, W = function(e) {
450
- let t = m(e);
422
+ ...Me
423
+ ]), nn = w({}, [...Ne, ...Pe]), rn = function(e, t, n) {
424
+ return t.namespaceURI === U ? e === "svg" : t.namespaceURI === Rt ? e === "svg" && (n === "annotation-xml" || Gt[n]) : !!tn[e];
425
+ }, an = function(e, t, n) {
426
+ return t.namespaceURI === U ? e === "math" : t.namespaceURI === zt ? e === "math" && qt[n] : !!nn[e];
427
+ }, on = function(e, t, n) {
428
+ return t.namespaceURI === zt && !qt[n] || t.namespaceURI === Rt && !Gt[n] ? !1 : !nn[e] && (Jt[e] || !tn[e]);
429
+ }, G = function(e) {
430
+ let t = f(e);
451
431
  (!t || !t.tagName) && (t = {
452
- namespaceURI: Xt,
432
+ namespaceURI: Bt,
453
433
  tagName: "template"
454
434
  });
455
- let n = ge(e.tagName), r = ge(t.tagName);
456
- return Qt[e.namespaceURI] ? e.namespaceURI === Yt ? U(n, t, r) : e.namespaceURI === Jt ? pn(n, t, r) : e.namespaceURI === B ? mn(n, t, r) : !!(on === "application/xhtml+xml" && Qt[e.namespaceURI]) : !1;
457
- }, G = function(e) {
458
- pe(t.removed, { element: e });
459
- try {
460
- m(e).removeChild(e);
461
- } catch {
462
- if (p(e), !m(e)) throw Te("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
463
- }
464
- }, hn = function(e, t, n) {
435
+ let n = me(e.tagName), r = me(t.tagName);
436
+ return Ht[e.namespaceURI] ? e.namespaceURI === zt ? rn(n, t, r) : e.namespaceURI === Rt ? an(n, t, r) : e.namespaceURI === U ? on(n, t, r) : !!(Yt === "application/xhtml+xml" && Ht[e.namespaceURI]) : !1;
437
+ }, K = function(e) {
438
+ fe(t.removed, { element: e });
465
439
  try {
466
- ee(e, t);
440
+ f(e).removeChild(e);
467
441
  } catch {
468
- try {
469
- e.removeAttribute(n);
470
- } catch {}
442
+ if (te(e), !f(e)) throw we("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
471
443
  }
472
- }, gn = function(e) {
473
- vn(e);
474
- let t = ne(e);
444
+ }, sn = function(e) {
445
+ ln(e);
446
+ let t = re(e);
475
447
  if (t) {
476
448
  let e = [];
477
- ue(t, (t) => {
478
- pe(e, t);
479
- }), ue(e, (e) => {
449
+ le(t, (t) => {
450
+ fe(e, t);
451
+ }), le(e, (e) => {
480
452
  try {
481
- p(e);
453
+ te(e);
482
454
  } catch {}
483
455
  });
484
456
  }
485
- let n = ae(e);
457
+ let n = oe(e);
486
458
  if (n) for (let t = n.length - 1; t >= 0; --t) {
487
459
  let r = n[t], i = r && r.name;
488
- typeof i == "string" && hn(e, r, i);
489
- }
490
- }, K = function(e, n, r) {
491
- if (!r) try {
492
- r = n.getAttributeNode(e);
493
- } catch {
494
- r = null;
460
+ if (typeof i == "string") try {
461
+ e.removeAttribute(i);
462
+ } catch {}
495
463
  }
496
- pe(t.removed, {
497
- attribute: r || null,
498
- from: n
499
- });
464
+ }, q = function(e, n) {
500
465
  try {
501
- r ? ee(n, r) : n.removeAttribute(e);
466
+ fe(t.removed, {
467
+ attribute: n.getAttributeNode(e),
468
+ from: n
469
+ });
502
470
  } catch {
503
- try {
504
- n.removeAttribute(e);
505
- } catch {}
471
+ fe(t.removed, {
472
+ attribute: null,
473
+ from: n
474
+ });
506
475
  }
507
- if (e === "is") if (Ft || R) try {
508
- G(n);
476
+ if (n.removeAttribute(e), e === "is") if (Et || Dt) try {
477
+ K(n);
509
478
  } catch {}
510
479
  else try {
511
480
  n.setAttribute(e, "");
512
481
  } catch {}
513
- }, _n = function(e) {
514
- let t = ae(e);
482
+ }, cn = function(e) {
483
+ let t = oe(e);
515
484
  if (t) for (let n = t.length - 1; n >= 0; --n) {
516
485
  let r = t[n], i = r && r.name;
517
- typeof i != "string" || M[V(i)] || hn(e, r, i);
486
+ if (!(typeof i != "string" || P[W(i)])) try {
487
+ e.removeAttribute(i);
488
+ } catch {}
518
489
  }
519
- }, vn = function(e) {
490
+ }, ln = function(e) {
520
491
  let t = [e];
521
492
  for (; t.length > 0;) {
522
493
  let e = t.pop();
523
- le(e) === E.element && _n(e);
524
- let n = ne(e);
494
+ (p ? p(e) : e.nodeType) === D.element && cn(e);
495
+ let n = re(e);
525
496
  if (n) for (let e = n.length - 1; e >= 0; --e) t.push(n[e]);
526
497
  }
527
- }, q = function(e, t) {
528
- return I ? e === "patchsrc" || e === "for" && t !== "label" && t !== "output" : !1;
529
- }, yn = function(e) {
530
- if (!I) return;
498
+ }, un = function(e) {
499
+ if (!R) return;
531
500
  let t = [e];
532
501
  for (; t.length > 0;) {
533
- let e = t.pop(), n = le(e);
534
- if (n === E.processingInstruction || n === E.comment && x(Qe, e.data)) {
502
+ let e = t.pop(), n = p ? p(e) : e.nodeType;
503
+ if (n === D.processingInstruction || n === D.comment && S(Ze, e.data)) {
535
504
  try {
536
- p(e);
505
+ te(e);
537
506
  } catch {}
538
507
  continue;
539
508
  }
540
- if (n === E.element) {
541
- let t = e, n = V(Se(e));
509
+ if (n === D.element) {
510
+ let t = e, n = W(m ? m(e) : e.nodeName);
542
511
  try {
543
- t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && q("for", n) && t.removeAttribute("for");
512
+ t.hasAttribute && t.hasAttribute("patchsrc") && t.removeAttribute("patchsrc"), t.hasAttribute && t.hasAttribute("for") && n !== "label" && n !== "output" && t.removeAttribute("for");
544
513
  } catch {}
545
514
  }
546
- let r = ne(e);
515
+ let r = re(e);
547
516
  if (r) for (let e = r.length - 1; e >= 0; --e) t.push(r[e]);
548
517
  }
549
- }, bn = function(e) {
518
+ }, dn = function(e) {
550
519
  let t = null, r = null;
551
- if (Pt) e = "<remove></remove>" + e;
520
+ if (Tt) e = "<remove></remove>" + e;
552
521
  else {
553
- let t = ve(e, /^[\r\n\t ]+/);
522
+ let t = ge(e, /^[\r\n\t ]+/);
554
523
  r = t && t[0];
555
524
  }
556
- on === "application/xhtml+xml" && Xt === B && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
557
- let i = v ? De(e) : e;
558
- if (Xt === B) try {
559
- t = new l().parseFromString(i, on);
525
+ Yt === "application/xhtml+xml" && Bt === U && (e = "<html xmlns=\"http://www.w3.org/1999/xhtml\"><head></head><body>" + e + "</body></html>");
526
+ let i = _ ? b(e) : e;
527
+ if (Bt === U) try {
528
+ t = new l().parseFromString(i, Yt);
560
529
  } catch {}
561
530
  if (!t || !t.documentElement) {
562
- t = D.createDocument(Xt, "template", null);
531
+ t = Ee.createDocument(Bt, "template", null);
563
532
  try {
564
- t.documentElement.innerHTML = Zt ? y : i;
533
+ t.documentElement.innerHTML = Vt ? v : i;
565
534
  } catch {}
566
535
  }
567
536
  let a = t.body || t.documentElement;
568
- return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Xt === B ? mt.call(t, L ? "html" : "body")[0] : L ? t.documentElement : a;
537
+ return e && r && a.insertBefore(n.createTextNode(r), a.childNodes[0] || null), Bt === U ? k.call(t, z ? "html" : "body")[0] : z ? t.documentElement : a;
538
+ }, fn = function(e) {
539
+ return it.call(e.ownerDocument || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
540
+ }, pn = function(e) {
541
+ return e = _e(e, st, " "), e = _e(e, j, " "), e = _e(e, ct, " "), e;
569
542
  }, J = function(e) {
570
- let t = ce ? ce(e) : e.ownerDocument;
571
- return ft.call(t || e, e, c.SHOW_ELEMENT | c.SHOW_COMMENT | c.SHOW_TEXT | c.SHOW_PROCESSING_INSTRUCTION | c.SHOW_CDATA_SECTION, null);
572
- }, Y = function(e) {
573
- return e = ye(e, A, " "), e = ye(e, ht, " "), e = ye(e, gt, " "), e;
574
- }, X = function(e) {
575
543
  e.normalize();
576
- let t = ce ? ce(e) : e.ownerDocument, n = ft.call(t || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), r = n.nextNode();
577
- for (; r;) r.data = Y(r.data), r = n.nextNode();
578
- let i = e.querySelectorAll?.call(e, "template");
579
- i && ue(i, (e) => {
580
- xn(e.content) && X(e.content);
544
+ let t = it.call(e.ownerDocument || e, e, c.SHOW_TEXT | c.SHOW_COMMENT | c.SHOW_CDATA_SECTION | c.SHOW_PROCESSING_INSTRUCTION, null), n = t.nextNode();
545
+ for (; n;) n.data = pn(n.data), n = t.nextNode();
546
+ let r = e.querySelectorAll?.call(e, "template");
547
+ r && le(r, (e) => {
548
+ Y(e.content) && J(e.content);
581
549
  });
582
- }, Z = function(e) {
583
- let t = se ? se(e) : null;
584
- return typeof t != "string" || V(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== ae(e) || typeof e.removeAttribute != "function" || typeof e.removeAttributeNode != "function" || typeof e.getAttributeNode != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== h(e) || e.childNodes !== ne(e);
585
- }, xn = function(e) {
586
- if (!h || typeof e != "object" || !e) return !1;
550
+ }, mn = function(e) {
551
+ let t = m ? m(e) : null;
552
+ return typeof t != "string" || W(t) !== "form" ? !1 : typeof e.nodeName != "string" || typeof e.textContent != "string" || typeof e.removeChild != "function" || e.attributes !== oe(e) || typeof e.removeAttribute != "function" || typeof e.setAttribute != "function" || typeof e.namespaceURI != "string" || typeof e.insertBefore != "function" || typeof e.hasChildNodes != "function" || e.nodeType !== p(e) || e.childNodes !== re(e);
553
+ }, Y = function(e) {
554
+ if (!p || typeof e != "object" || !e) return !1;
587
555
  try {
588
- return h(e) === E.documentFragment;
556
+ return p(e) === D.documentFragment;
589
557
  } catch {
590
558
  return !1;
591
559
  }
592
- }, Q = function(e) {
593
- if (!h || typeof e != "object" || !e) return !1;
560
+ }, X = function(e) {
561
+ if (!p || typeof e != "object" || !e) return !1;
594
562
  try {
595
- return typeof h(e) == "number";
563
+ return typeof p(e) == "number";
596
564
  } catch {
597
565
  return !1;
598
566
  }
599
567
  };
600
- function $(e, n, r) {
601
- e.length !== 0 && ue(e, (e) => {
602
- e.call(t, n, r, H);
568
+ function Z(e, n, r) {
569
+ e.length !== 0 && le(e, (e) => {
570
+ e.call(t, n, r, Zt);
603
571
  });
604
572
  }
605
- let Sn = function(e, t) {
606
- return !!(I && e.hasChildNodes() && !Q(e.firstElementChild) && x(Ze, e.textContent) && x(Ze, e.innerHTML) || I && e.namespaceURI === B && nt[t] && (Q(e.firstElementChild) || typeof e.textContent == "string" && x(rt[t], e.textContent)) || e.nodeType === E.processingInstruction || I && e.nodeType === E.comment && x(Qe, e.data));
607
- }, Cn = function(e, t) {
608
- return e instanceof RegExp ? x(e, t) : e instanceof Function && !!e(t, ...[...arguments].slice(2));
609
- }, wn = function(e, t, n) {
610
- if (!Tt[t] && An(t) && Cn(N.tagNameCheck, t)) return !1;
611
- if (zt && !Ht[t]) {
612
- let t = m(e), r = ne(e);
613
- if (r && t) {
614
- let i = r.length;
615
- for (let a = i - 1; a >= 0; --a) {
616
- let i = e === n ? f(r[a], !0) : r[a];
617
- t.insertBefore(i, te(e));
573
+ let hn = function(e, t) {
574
+ return !!(R && e.hasChildNodes() && !X(e.firstElementChild) && S(Xe, e.textContent) && S(Xe, e.innerHTML) || R && e.namespaceURI === U && t === "style" && X(e.firstElementChild) || e.nodeType === D.processingInstruction || R && e.nodeType === D.comment && S(Ze, e.data));
575
+ }, Q = function(e, t) {
576
+ if (!gt[t] && vn(t) && (F.tagNameCheck instanceof RegExp && S(F.tagNameCheck, t) || F.tagNameCheck instanceof Function && F.tagNameCheck(t))) return !1;
577
+ if (jt && !H[t]) {
578
+ let t = f(e), n = re(e);
579
+ if (n && t) {
580
+ let r = n.length;
581
+ for (let i = r - 1; i >= 0; --i) {
582
+ let r = Mt ? n[i] : ee(n[i], !0);
583
+ t.insertBefore(r, ne(e));
618
584
  }
619
585
  }
620
586
  }
621
- return G(e), !0;
622
- }, Tn = function(e, t, n, r) {
623
- return e.length === 0 ? t : t === n || t === r ? w(t) : t;
624
- }, En = function(e, t) {
625
- return e === t || m(e) !== null ? !1 : (Bt && vn(e), !0);
626
- }, Dn = function(e, n) {
627
- if ($(k.beforeSanitizeElements, e, null), En(e, n)) return !0;
628
- if (Z(e)) return G(e), !0;
629
- let r = V(Se(e));
630
- if (j = Tn(k.uponSanitizeElement, j, Ct, Mt), $(k.uponSanitizeElement, e, {
587
+ return K(e), !0;
588
+ }, gn = function(e, n) {
589
+ if (Z(A.beforeSanitizeElements, e, null), e !== n && f(e) === null) return !0;
590
+ if (mn(e)) return K(e), !0;
591
+ let r = W(m ? m(e) : e.nodeName);
592
+ if (Z(A.uponSanitizeElement, e, {
631
593
  tagName: r,
632
- allowedTags: j
633
- }), En(e, n)) return !0;
634
- if (Sn(e, r)) return G(e), !0;
635
- if (Tt[r] || !(P.tagCheck instanceof Function && P.tagCheck(r)) && !j[r]) {
636
- let t = wn(e, r, n);
637
- return t === !1 && $(k.afterSanitizeElements, e, null), t;
638
- }
639
- if (le(e) === E.element && !W(e) || (r === "noscript" || r === "noembed" || r === "noframes") && x($e, e.innerHTML)) return G(e), !0;
640
- if (F && e.nodeType === E.text) {
641
- let n = Y(e.textContent);
642
- e.textContent !== n && (pe(t.removed, { element: e.cloneNode() }), e.textContent = n);
643
- }
644
- return $(k.afterSanitizeElements, e, null), !1;
645
- }, On = function(e, t, r) {
646
- if (Et[t] || q(t, e) || It && (t === "id" || t === "name") && (r in n || r in cn)) return !1;
647
- let i = M[t] || P.attributeCheck instanceof Function && P.attributeCheck(t, e);
648
- return Ot && x(_t, t) || Dt && x(vt, t) ? !0 : i ? Kt[t] || x(St, ye(r, bt, "")) || (t === "src" || t === "xlink:href" || t === "href") && e !== "script" && be(r, "data:") === 0 && Wt[e] || kt && !x(yt, ye(r, bt, "")) ? !0 : !r : An(e) && Cn(N.tagNameCheck, e) && Cn(N.attributeNameCheck, t, e) || t === "is" && N.allowCustomizedBuiltInElements && Cn(N.tagNameCheck, r);
649
- }, kn = C({}, [
594
+ allowedTags: N
595
+ }), e !== n && f(e) === null) return !0;
596
+ if (hn(e, r)) return K(e), !0;
597
+ if (gt[r] || !(I.tagCheck instanceof Function && I.tagCheck(r)) && !N[r]) {
598
+ let t = Q(e, r);
599
+ return t === !1 && Z(A.afterSanitizeElements, e, null), t;
600
+ }
601
+ if ((p ? p(e) : e.nodeType) === D.element && !G(e) || (r === "noscript" || r === "noembed" || r === "noframes") && S(Qe, e.innerHTML)) return K(e), !0;
602
+ if (L && e.nodeType === D.text) {
603
+ let n = pn(e.textContent);
604
+ e.textContent !== n && (fe(t.removed, { element: e.cloneNode() }), e.textContent = n);
605
+ }
606
+ return Z(A.afterSanitizeElements, e, null), !1;
607
+ }, $ = function(e, t, r) {
608
+ if (_t[t] || R && t === "patchsrc" || R && t === "for" && e !== "label" && e !== "output" || kt && (t === "id" || t === "name") && (r in n || r in Qt)) return !1;
609
+ let i = P[t] || I.attributeCheck instanceof Function && I.attributeCheck(t, e);
610
+ if (!(yt && S(M, t)) && !(vt && S(lt, t))) {
611
+ if (!i) {
612
+ if (!(vn(e) && (F.tagNameCheck instanceof RegExp && S(F.tagNameCheck, e) || F.tagNameCheck instanceof Function && F.tagNameCheck(e)) && (F.attributeNameCheck instanceof RegExp && S(F.attributeNameCheck, t) || F.attributeNameCheck instanceof Function && F.attributeNameCheck(t, e)) || t === "is" && F.allowCustomizedBuiltInElements && (F.tagNameCheck instanceof RegExp && S(F.tagNameCheck, r) || F.tagNameCheck instanceof Function && F.tagNameCheck(r)))) return !1;
613
+ } else if (!It[t] && !S(pt, _e(r, dt, "")) && !((t === "src" || t === "xlink:href" || t === "href") && e !== "script" && ve(r, "data:") === 0 && Pt[e]) && !(bt && !S(ut, _e(r, dt, ""))) && r) return !1;
614
+ }
615
+ return !0;
616
+ }, _n = w({}, [
650
617
  "annotation-xml",
651
618
  "color-profile",
652
619
  "font-face",
@@ -655,67 +622,66 @@ function lt() {
655
622
  "font-face-src",
656
623
  "font-face-uri",
657
624
  "missing-glyph"
658
- ]), An = function(e) {
659
- return !kn[ge(e)] && x(xt, e);
660
- }, jn = function(e, t, n, r) {
661
- if (v && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
662
- case "TrustedHTML": return De(r);
663
- case "TrustedScriptURL": return tt(r);
625
+ ]), vn = function(e) {
626
+ return !_n[me(e)] && S(ft, e);
627
+ }, yn = function(e, t, n, r) {
628
+ if (_ && typeof u == "object" && typeof u.getAttributeType == "function" && !n) switch (u.getAttributeType(e, t)) {
629
+ case "TrustedHTML": return b(r);
630
+ case "TrustedScriptURL": return Ce(r);
664
631
  }
665
632
  return r;
666
- }, Mn = function(e, t, n, r) {
633
+ }, bn = function(e, n, r, i) {
667
634
  try {
668
- return n ? e.setAttributeNS(n, t, r) : e.setAttribute(t, r), Z(e) ? (G(e), !1) : !0;
635
+ r ? e.setAttributeNS(r, n, i) : e.setAttribute(n, i), mn(e) ? K(e) : de(t.removed);
669
636
  } catch {
670
- return K(t, e), !1;
637
+ q(n, e);
671
638
  }
672
- }, Nn = function(e) {
673
- $(k.beforeSanitizeAttributes, e, null);
674
- let n = e.attributes;
675
- if (!n || Z(e)) return;
676
- M = Tn(k.uponSanitizeAttribute, M, wt, Nt);
677
- let r = {
639
+ }, xn = function(e) {
640
+ Z(A.beforeSanitizeAttributes, e, null);
641
+ let t = e.attributes;
642
+ if (!t || mn(e)) return;
643
+ let n = {
678
644
  attrName: "",
679
645
  attrValue: "",
680
646
  keepAttr: !0,
681
- allowedAttributes: M,
647
+ allowedAttributes: P,
682
648
  forceKeepAttr: void 0
683
- }, i = n.length, a = V(e.nodeName);
684
- for (; i--;) {
685
- let o = n[i], s = o.name, c = o.namespaceURI, l = o.value, u = V(s), d = l, f = s === "value" ? d : xe(d), p = !1;
686
- if (r.attrName = u, r.attrValue = f, r.keepAttr = !0, r.forceKeepAttr = void 0, $(k.uponSanitizeAttribute, e, r), f = r.attrValue, Lt && (u === "id" || u === "name") && be(f, Rt) !== 0 && (K(s, e, o), f = Rt + f, p = !0), I && x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, f)) {
687
- K(s, e, o);
649
+ }, r = t.length, i = W(e.nodeName);
650
+ for (; r--;) {
651
+ let a = t[r], o = a.name, s = a.namespaceURI, c = a.value, l = W(o), u = c, d = o === "value" ? u : ye(u);
652
+ if (n.attrName = l, n.attrValue = d, n.keepAttr = !0, n.forceKeepAttr = void 0, Z(A.uponSanitizeAttribute, e, n), d = n.attrValue, B && (l === "id" || l === "name") && ve(d, At) !== 0 && (q(o, e), d = At + d), R && S(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, d)) {
653
+ q(o, e);
688
654
  continue;
689
655
  }
690
- if (u === "attributename" && ve(f, "href")) {
691
- K(s, e, o);
656
+ if (l === "attributename" && ge(d, "href")) {
657
+ q(o, e);
692
658
  continue;
693
659
  }
694
- if (!r.forceKeepAttr) {
695
- if (!r.keepAttr) {
696
- K(s, e, o);
660
+ if (!n.forceKeepAttr) {
661
+ if (!n.keepAttr) {
662
+ q(o, e);
697
663
  continue;
698
664
  }
699
- if (!At && x(et, f)) {
700
- K(s, e, o);
665
+ if (!xt && S($e, d)) {
666
+ q(o, e);
701
667
  continue;
702
668
  }
703
- if (F && (f = Y(f)), !On(a, u, f)) {
704
- K(s, e, o);
669
+ if (L && (d = pn(d)), !$(i, l, d)) {
670
+ q(o, e);
705
671
  continue;
706
672
  }
707
- f = jn(a, u, c, f), f !== d && Mn(e, s, c, f) && p && fe(t.removed);
673
+ d = yn(i, l, s, d), d !== u && bn(e, o, s, d);
708
674
  }
709
675
  }
710
- $(k.afterSanitizeAttributes, e, null);
711
- }, Pn = function(e) {
712
- let t = null, n = J(e);
713
- for ($(k.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if ($(k.uponSanitizeShadowNode, t, null), Dn(t, e), Nn(t), xn(t.content) && Pn(t.content), le(t) === E.element) {
714
- let e = ie(t);
715
- xn(e) && (Fn(e), Pn(e));
676
+ Z(A.afterSanitizeAttributes, e, null);
677
+ }, Sn = function(e) {
678
+ let t = null, n = fn(e);
679
+ for (Z(A.beforeSanitizeShadowDOM, e, null); t = n.nextNode();) if (Z(A.uponSanitizeShadowNode, t, null), gn(t, e), xn(t), Y(t.content) && Sn(t.content), (p ? p(t) : t.nodeType) === D.element) {
680
+ let e = ae(t);
681
+ Y(e) && (Cn(e), Sn(e));
716
682
  }
717
- $(k.afterSanitizeShadowDOM, e, null);
718
- }, Fn = function(e) {
683
+ Z(A.afterSanitizeShadowDOM, e, null);
684
+ }, Cn = function(e) {
719
685
  let t = [{
720
686
  node: e,
721
687
  shadow: null
@@ -723,27 +689,27 @@ function lt() {
723
689
  for (; t.length > 0;) {
724
690
  let e = t.pop();
725
691
  if (e.shadow) {
726
- Pn(e.shadow);
692
+ Sn(e.shadow);
727
693
  continue;
728
694
  }
729
- let n = e.node, r = le(n) === E.element, i = ne(n);
695
+ let n = e.node, r = (p ? p(n) : n.nodeType) === D.element, i = re(n);
730
696
  if (i) for (let e = i.length - 1; e >= 0; --e) t.push({
731
697
  node: i[e],
732
698
  shadow: null
733
699
  });
734
700
  if (r) {
735
- let e = se ? se(n) : null;
736
- if (typeof e == "string" && V(e) === "template") {
701
+ let e = m ? m(n) : null;
702
+ if (typeof e == "string" && W(e) === "template") {
737
703
  let e = n.content;
738
- xn(e) && t.push({
704
+ Y(e) && t.push({
739
705
  node: e,
740
706
  shadow: null
741
707
  });
742
708
  }
743
709
  }
744
710
  if (r) {
745
- let e = ie(n);
746
- xn(e) && t.push({
711
+ let e = ae(n);
712
+ Y(e) && t.push({
747
713
  node: null,
748
714
  shadow: e
749
715
  }, {
@@ -755,77 +721,76 @@ function lt() {
755
721
  };
756
722
  return t.sanitize = function(e) {
757
723
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i = null, a = null, o = null, s = null;
758
- if (Zt = !e, Zt && (e = "<!-->"), typeof e != "string" && !Q(e) && (e = Oe(e), typeof e != "string")) throw Te("dirty is not a string, aborting");
724
+ if (Vt = !e, Vt && (e = "<!-->"), typeof e != "string" && !X(e) && (e = De(e), typeof e != "string")) throw we("dirty is not a string, aborting");
759
725
  if (!t.isSupported) return e;
760
- jt ? (j = Mt, M = Nt) : un(n), (k.uponSanitizeElement.length > 0 || k.uponSanitizeAttribute.length > 0) && (j = w(j)), k.uponSanitizeAttribute.length > 0 && (M = w(M)), t.removed = [];
761
- let c = Bt && typeof e != "string" && Q(e);
726
+ St ? (N = Ct, P = wt) : en(n), (A.uponSanitizeElement.length > 0 || A.uponSanitizeAttribute.length > 0) && (N = T(N)), A.uponSanitizeAttribute.length > 0 && (P = T(P)), t.removed = [];
727
+ let c = Mt && typeof e != "string" && X(e);
762
728
  if (c) {
763
- yn(e);
764
- let t = Se(e);
729
+ un(e);
730
+ let t = m ? m(e) : e.nodeName;
765
731
  if (typeof t == "string") {
766
- let n = V(t);
767
- if (!j[n] || Tt[n]) throw gn(e), Te("root node is forbidden and cannot be sanitized in-place");
732
+ let n = W(t);
733
+ if (!N[n] || gt[n]) throw sn(e), we("root node is forbidden and cannot be sanitized in-place");
768
734
  }
769
- if (Z(e)) throw gn(e), Te("root node is clobbered and cannot be sanitized in-place");
735
+ if (mn(e)) throw sn(e), we("root node is clobbered and cannot be sanitized in-place");
770
736
  try {
771
- Fn(e);
737
+ Cn(e);
772
738
  } catch (t) {
773
- throw gn(e), t;
739
+ throw sn(e), t;
774
740
  }
775
- } else if (Q(e)) i = bn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === E.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Fn(i);
741
+ } else if (X(e)) i = dn("<!---->"), a = i.ownerDocument.importNode(e, !0), a.nodeType === D.element && a.nodeName === "BODY" || a.nodeName === "HTML" ? i = a : i.appendChild(a), Cn(a);
776
742
  else {
777
- if (!Ft && !F && !L && e.indexOf("<") === -1) return v && z ? De(e) : e;
778
- if (i = bn(e), !i) return Ft ? null : z ? y : "";
743
+ if (!Et && !L && !z && e.indexOf("<") === -1) return _ && Ot ? b(e) : e;
744
+ if (i = dn(e), !i) return Et ? null : Ot ? v : "";
779
745
  }
780
- i && Pt && G(i.firstChild);
781
- let l = c ? e : i;
746
+ i && Tt && K(i.firstChild);
747
+ let l = c ? e : i, u = fn(l);
782
748
  try {
783
- let e = J(l);
784
- for (; o = e.nextNode();) Dn(o, l), Nn(o), xn(o.content) && Pn(o.content);
749
+ for (; o = u.nextNode();) gn(o, l), xn(o), Y(o.content) && Sn(o.content);
785
750
  } catch (n) {
786
- throw c && (gn(e), ue(t.removed, (e) => {
787
- e.element && vn(e.element);
751
+ throw c && (sn(e), le(t.removed, (e) => {
752
+ e.element && ln(e.element);
788
753
  })), n;
789
754
  }
790
- if (c) return ue(t.removed, (e) => {
791
- e.element && vn(e.element);
792
- }), F && X(e), e;
793
- if (Ft) {
794
- if (F && X(i), R) for (s = pt.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
755
+ if (c) return le(t.removed, (e) => {
756
+ e.element && ln(e.element);
757
+ }), L && J(e), e;
758
+ if (Et) {
759
+ if (L && J(i), Dt) for (s = at.call(i.ownerDocument); i.firstChild;) s.appendChild(i.firstChild);
795
760
  else s = i;
796
- return (M.shadowroot || M.shadowrootmode) && (s = O.call(r, s, !0)), s;
761
+ return (P.shadowroot || P.shadowrootmode) && (s = ot.call(r, s, !0)), s;
797
762
  }
798
- let u = L ? i.outerHTML : i.innerHTML;
799
- return L && j["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && x(Ye, i.ownerDocument.doctype.name) && (u = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + u), F && (u = Y(u)), v && z ? De(u) : u;
763
+ let d = z ? i.outerHTML : i.innerHTML;
764
+ return z && N["!doctype"] && i.ownerDocument && i.ownerDocument.doctype && i.ownerDocument.doctype.name && S(Je, i.ownerDocument.doctype.name) && (d = "<!DOCTYPE " + i.ownerDocument.doctype.name + ">\n" + d), L && (d = pn(d)), _ && Ot ? b(d) : d;
800
765
  }, t.setConfig = function() {
801
766
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
802
- un(e), jt = !0, Mt = j, Nt = M;
767
+ en(e), St = !0, Ct = N, wt = P;
803
768
  }, t.clearConfig = function() {
804
- H = null, jt = !1, Mt = null, Nt = null, v = Ce, y = "";
769
+ Zt = null, St = !1, Ct = null, wt = null, _ = ce, v = "";
805
770
  }, t.isValidAttribute = function(e, t, n) {
806
- H || un({});
807
- let r = V(e), i = V(t);
808
- return On(r, i, n);
771
+ Zt || en({});
772
+ let r = W(e), i = W(t);
773
+ return $(r, i, n);
809
774
  }, t.addHook = function(e, t) {
810
- typeof t == "function" && b(k, e) && pe(k[e], t);
775
+ typeof t == "function" && x(A, e) && fe(A[e], t);
811
776
  }, t.removeHook = function(e, t) {
812
- if (b(k, e)) {
777
+ if (x(A, e)) {
813
778
  if (t !== void 0) {
814
- let n = de(k[e], t);
815
- return n === -1 ? void 0 : me(k[e], n, 1)[0];
779
+ let n = ue(A[e], t);
780
+ return n === -1 ? void 0 : pe(A[e], n, 1)[0];
816
781
  }
817
- return fe(k[e]);
782
+ return de(A[e]);
818
783
  }
819
784
  }, t.removeHooks = function(e) {
820
- b(k, e) && (k[e] = []);
785
+ x(A, e) && (A[e] = []);
821
786
  }, t.removeAllHooks = function() {
822
- k = ot();
787
+ A = nt();
823
788
  }, t;
824
789
  }
825
- var ut = lt();
790
+ var it = rt();
826
791
  //#endregion
827
792
  //#region node_modules/marked/lib/marked.esm.js
828
- function dt() {
793
+ function at() {
829
794
  return {
830
795
  async: !1,
831
796
  breaks: !1,
@@ -839,35 +804,35 @@ function dt() {
839
804
  walkTokens: null
840
805
  };
841
806
  }
842
- var D = dt();
843
- function ft(e) {
844
- D = e;
807
+ var k = at();
808
+ function ot(e) {
809
+ k = e;
845
810
  }
846
- var pt = { exec: () => null };
847
- function mt(e) {
811
+ var A = { exec: () => null };
812
+ function st(e) {
848
813
  let t = [];
849
814
  return (n) => {
850
815
  let r = Math.max(0, Math.min(3, n - 1)), i = t[r];
851
816
  return i || (i = e(r), t[r] = i), i;
852
817
  };
853
818
  }
854
- function O(e, t = "") {
819
+ function j(e, t = "") {
855
820
  let n = typeof e == "string" ? e : e.source, r = {
856
821
  replace: (e, t) => {
857
822
  let i = typeof t == "string" ? t : t.source;
858
- return i = i.replace(A.caret, "$1"), n = n.replace(e, i), r;
823
+ return i = i.replace(M.caret, "$1"), n = n.replace(e, i), r;
859
824
  },
860
825
  getRegex: () => new RegExp(n, t)
861
826
  };
862
827
  return r;
863
828
  }
864
- var k = ((e = "") => {
829
+ var ct = ((e = "") => {
865
830
  try {
866
831
  return !!RegExp("(?<=1)(?<!1)" + e);
867
832
  } catch {
868
833
  return !1;
869
834
  }
870
- })(), A = {
835
+ })(), M = {
871
836
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
872
837
  outputLinkReplace: /\\([\[\]])/g,
873
838
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -918,121 +883,121 @@ var k = ((e = "") => {
918
883
  notSpaceStart: /^\S*/,
919
884
  endingNewline: /\n$/,
920
885
  listItemRegex: (e) => RegExp(`^( {0,3}${e})((?:[ ][^\\n]*)?(?:\\n|$))`),
921
- nextBulletRegex: mt((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
922
- hrRegex: mt((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
923
- fencesBeginRegex: mt((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
924
- headingBeginRegex: mt((e) => RegExp(`^ {0,${e}}#`)),
925
- htmlBeginRegex: mt((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
926
- blockquoteBeginRegex: mt((e) => RegExp(`^ {0,${e}}>`))
927
- }, ht = /^(?:[ \t]*(?:\n|$))+/, gt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, _t = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, vt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, yt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, bt = / {0,3}(?:[*+-]|\d{1,9}[.)])/, xt = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, St = O(xt).replace(/bull/g, bt).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(), j = O(xt).replace(/bull/g, bt).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(), Ct = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, M = /^[^\n]+/, wt = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, N = O(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", wt).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Tt = O(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, bt).getRegex(), Et = "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", P = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Dt = O("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n+|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n+|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\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", P).replace("tag", Et).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Ot = (e) => O(Ct).replace("hr", vt).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", e).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Et).getRegex(), kt = Ot(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), At = Ot(/ {0,3}(?:[*+-]|\d{1,9}[.)])[ \t]+[^ \t\n]/), F = {
928
- blockquote: O(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", At).getRegex(),
929
- code: gt,
930
- def: N,
931
- fences: _t,
932
- heading: yt,
933
- hr: vt,
934
- html: Dt,
935
- lheading: St,
936
- list: Tt,
937
- newline: ht,
938
- paragraph: kt,
939
- table: pt,
940
- text: M
941
- }, I = O("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", vt).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", Et).getRegex(), L = {
942
- ...F,
943
- lheading: j,
944
- table: I,
945
- paragraph: O(Ct).replace("hr", vt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", I).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Et).getRegex()
946
- }, jt = {
947
- ...F,
948
- html: O("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", P).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(),
886
+ nextBulletRegex: st((e) => RegExp(`^ {0,${e}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`)),
887
+ hrRegex: st((e) => RegExp(`^ {0,${e}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`)),
888
+ fencesBeginRegex: st((e) => RegExp(`^ {0,${e}}(?:\`\`\`|~~~)`)),
889
+ headingBeginRegex: st((e) => RegExp(`^ {0,${e}}#`)),
890
+ htmlBeginRegex: st((e) => RegExp(`^ {0,${e}}<(?:[a-z].*>|!--)`, "i")),
891
+ blockquoteBeginRegex: st((e) => RegExp(`^ {0,${e}}>`))
892
+ }, lt = /^(?:[ \t]*(?:\n|$))+/, ut = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, dt = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, ft = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, pt = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, N = / {0,3}(?:[*+-]|\d{1,9}[.)])/, mt = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, P = j(mt).replace(/bull/g, N).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(), ht = j(mt).replace(/bull/g, N).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(), F = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, gt = /^[^\n]+/, _t = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, I = j(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", _t).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), vt = j(/^(bull)([ \t][^\n]*?)?(?:\n|$)/).replace(/bull/g, N).getRegex(), yt = "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", bt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, xt = j("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>[^\\n]*\\n+|$)|<![A-Z][\\s\\S]*?(?:>[^\\n]*\\n+|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>[^\\n]*\\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", bt).replace("tag", yt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), L = (e) => j(F).replace("hr", ft).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", e).replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", yt).getRegex(), R = L(/ {0,3}(?:[*+-]|1[.)])[ \t]+[^ \t\n]/), z = L(/ {0,3}(?:[*+-]|\d{1,9}[.)])[ \t]+[^ \t\n]/), St = {
893
+ blockquote: j(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", z).getRegex(),
894
+ code: ut,
895
+ def: I,
896
+ fences: dt,
897
+ heading: pt,
898
+ hr: ft,
899
+ html: xt,
900
+ lheading: P,
901
+ list: vt,
902
+ newline: lt,
903
+ paragraph: R,
904
+ table: A,
905
+ text: gt
906
+ }, Ct = j("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", ft).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", yt).getRegex(), wt = {
907
+ ...St,
908
+ lheading: ht,
909
+ table: Ct,
910
+ paragraph: j(F).replace("hr", ft).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ct).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", yt).getRegex()
911
+ }, Tt = {
912
+ ...St,
913
+ html: j("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", bt).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(),
949
914
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
950
915
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
951
- fences: pt,
916
+ fences: A,
952
917
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
953
- paragraph: O(Ct).replace("hr", vt).replace("heading", " *#{1,6} *[^\n]").replace("lheading", St).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
954
- }, Mt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Nt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Pt = /^( {2,}|\\)\n(?!\s*$)/, Ft = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, R = /[\p{P}\p{S}]/u, z = /[\s\p{P}\p{S}]/u, It = /[^\s\p{P}\p{S}]/u, Lt = O(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, z).getRegex(), Rt = /(?!~)[\p{P}\p{S}]/u, zt = /(?!~)[\s\p{P}\p{S}]/u, Bt = /(?:[^\s\p{P}\p{S}]|~)/u, Vt = O(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", k ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Ht = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, Ut = O(Ht, "u").replace(/punct/g, R).getRegex(), Wt = O(Ht, "u").replace(/punct/g, Rt).getRegex(), Gt = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", Kt = O(Gt, "gu").replace(/notPunctSpace/g, It).replace(/punctSpace/g, z).replace(/punct/g, R).getRegex(), qt = O(Gt, "gu").replace(/notPunctSpace/g, Bt).replace(/punctSpace/g, zt).replace(/punct/g, Rt).getRegex(), Jt = O("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, It).replace(/punctSpace/g, z).replace(/punct/g, R).getRegex(), Yt = O(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, R).getRegex(), B = O("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, It).replace(/punctSpace/g, z).replace(/punct/g, R).getRegex(), Xt = O(/\\(punct)/, "gu").replace(/punct/g, R).getRegex(), Zt = O(/^<(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(), Qt = O(P).replace("(?:-->|$)", "-->").getRegex(), $t = O("^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", Qt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), en = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, tn = O(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", en).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), nn = O(/^!?\[(label)\]\[(ref)\]/).replace("label", en).replace("ref", wt).getRegex(), rn = O(/^!?\[(ref)\](?:\[\])?/).replace("ref", wt).getRegex(), an = O("reflink|nolink(?!\\()", "g").replace("reflink", nn).replace("nolink", rn).getRegex(), on = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, sn = {
955
- _backpedal: pt,
956
- anyPunctuation: Xt,
957
- autolink: Zt,
958
- blockSkip: Vt,
959
- br: Pt,
960
- code: Nt,
961
- del: pt,
962
- delLDelim: pt,
963
- delRDelim: pt,
964
- emStrongLDelim: Ut,
965
- emStrongRDelimAst: Kt,
966
- emStrongRDelimUnd: Jt,
967
- escape: Mt,
968
- link: tn,
969
- nolink: rn,
970
- punctuation: Lt,
971
- reflink: nn,
972
- reflinkSearch: an,
973
- tag: $t,
974
- text: Ft,
975
- url: pt
976
- }, V = {
977
- ...sn,
978
- link: O(/^!?\[(label)\]\((.*?)\)/).replace("label", en).getRegex(),
979
- reflink: O(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", en).getRegex()
980
- }, H = {
981
- ...sn,
982
- emStrongRDelimAst: qt,
983
- emStrongLDelim: Wt,
984
- delLDelim: Yt,
985
- delRDelim: B,
986
- url: O(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", on).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
918
+ paragraph: j(F).replace("hr", ft).replace("heading", " *#{1,6} *[^\n]").replace("lheading", P).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
919
+ }, Et = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Dt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Ot = /^( {2,}|\\)\n(?!\s*$)/, kt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, B = /[\p{P}\p{S}]/u, At = /[\s\p{P}\p{S}]/u, jt = /[^\s\p{P}\p{S}]/u, Mt = j(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, At).getRegex(), V = /(?!~)[\p{P}\p{S}]/u, H = /(?!~)[\s\p{P}\p{S}]/u, Nt = /(?:[^\s\p{P}\p{S}]|~)/u, Pt = j(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", ct ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), Ft = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, It = j(Ft, "u").replace(/punct/g, B).getRegex(), Lt = j(Ft, "u").replace(/punct/g, V).getRegex(), Rt = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", zt = j(Rt, "gu").replace(/notPunctSpace/g, jt).replace(/punctSpace/g, At).replace(/punct/g, B).getRegex(), U = j(Rt, "gu").replace(/notPunctSpace/g, Nt).replace(/punctSpace/g, H).replace(/punct/g, V).getRegex(), Bt = j("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, jt).replace(/punctSpace/g, At).replace(/punct/g, B).getRegex(), Vt = j(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, B).getRegex(), Ht = j("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, jt).replace(/punctSpace/g, At).replace(/punct/g, B).getRegex(), Ut = j(/\\(punct)/, "gu").replace(/punct/g, B).getRegex(), Wt = j(/^<(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(), Gt = j(bt).replace("(?:-->|$)", "-->").getRegex(), Kt = j("^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", Gt).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), qt = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, Jt = j(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", qt).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]+|(?=\))/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Yt = j(/^!?\[(label)\]\[(ref)\]/).replace("label", qt).replace("ref", _t).getRegex(), Xt = j(/^!?\[(ref)\](?:\[\])?/).replace("ref", _t).getRegex(), W = j("reflink|nolink(?!\\()", "g").replace("reflink", Yt).replace("nolink", Xt).getRegex(), Zt = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Qt = {
920
+ _backpedal: A,
921
+ anyPunctuation: Ut,
922
+ autolink: Wt,
923
+ blockSkip: Pt,
924
+ br: Ot,
925
+ code: Dt,
926
+ del: A,
927
+ delLDelim: A,
928
+ delRDelim: A,
929
+ emStrongLDelim: It,
930
+ emStrongRDelimAst: zt,
931
+ emStrongRDelimUnd: Bt,
932
+ escape: Et,
933
+ link: Jt,
934
+ nolink: Xt,
935
+ punctuation: Mt,
936
+ reflink: Yt,
937
+ reflinkSearch: W,
938
+ tag: Kt,
939
+ text: kt,
940
+ url: A
941
+ }, $t = {
942
+ ...Qt,
943
+ link: j(/^!?\[(label)\]\((.*?)\)/).replace("label", qt).getRegex(),
944
+ reflink: j(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", qt).getRegex()
945
+ }, en = {
946
+ ...Qt,
947
+ emStrongRDelimAst: U,
948
+ emStrongLDelim: Lt,
949
+ delLDelim: Vt,
950
+ delRDelim: Ht,
951
+ url: j(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Zt).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
987
952
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
988
953
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
989
- text: O(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", on).getRegex()
990
- }, cn = {
991
- ...H,
992
- br: O(Pt).replace("{2,}", "*").getRegex(),
993
- text: O(H.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
994
- }, ln = {
995
- normal: F,
996
- gfm: L,
997
- pedantic: jt
998
- }, un = {
999
- normal: sn,
1000
- gfm: H,
1001
- breaks: cn,
1002
- pedantic: V
1003
- }, dn = {
954
+ text: j(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Zt).getRegex()
955
+ }, tn = {
956
+ ...en,
957
+ br: j(Ot).replace("{2,}", "*").getRegex(),
958
+ text: j(en.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
959
+ }, nn = {
960
+ normal: St,
961
+ gfm: wt,
962
+ pedantic: Tt
963
+ }, rn = {
964
+ normal: Qt,
965
+ gfm: en,
966
+ breaks: tn,
967
+ pedantic: $t
968
+ }, an = {
1004
969
  "&": "&amp;",
1005
970
  "<": "&lt;",
1006
971
  ">": "&gt;",
1007
972
  "\"": "&quot;",
1008
973
  "'": "&#39;"
1009
- }, fn = (e) => dn[e];
1010
- function U(e, t) {
974
+ }, on = (e) => an[e];
975
+ function G(e, t) {
1011
976
  if (t) {
1012
- if (A.escapeTest.test(e)) return e.replace(A.escapeReplace, fn);
1013
- } else if (A.escapeTestNoEncode.test(e)) return e.replace(A.escapeReplaceNoEncode, fn);
977
+ if (M.escapeTest.test(e)) return e.replace(M.escapeReplace, on);
978
+ } else if (M.escapeTestNoEncode.test(e)) return e.replace(M.escapeReplaceNoEncode, on);
1014
979
  return e;
1015
980
  }
1016
- function pn(e) {
981
+ function K(e) {
1017
982
  try {
1018
- e = encodeURI(e).replace(A.percentDecode, "%");
983
+ e = encodeURI(e).replace(M.percentDecode, "%");
1019
984
  } catch {
1020
985
  return null;
1021
986
  }
1022
987
  return e;
1023
988
  }
1024
- function mn(e, t) {
1025
- let n = e.replace(A.findPipe, (e, t, n) => {
989
+ function sn(e, t) {
990
+ let n = e.replace(M.findPipe, (e, t, n) => {
1026
991
  let r = !1, i = t;
1027
992
  for (; --i >= 0 && n[i] === "\\";) r = !r;
1028
993
  return r ? "|" : " |";
1029
- }).split(A.splitPipe), r = 0;
994
+ }).split(M.splitPipe), r = 0;
1030
995
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) if (n.length > t) n.splice(t);
1031
996
  else for (; n.length < t;) n.push("");
1032
- for (; r < n.length; r++) n[r] = n[r].trim().replace(A.slashPipe, "|");
997
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(M.slashPipe, "|");
1033
998
  return n;
1034
999
  }
1035
- function W(e, t, n) {
1000
+ function q(e, t, n) {
1036
1001
  let r = e.length;
1037
1002
  if (r === 0) return "";
1038
1003
  let i = 0;
@@ -1044,12 +1009,12 @@ function W(e, t, n) {
1044
1009
  }
1045
1010
  return e.slice(0, r - i);
1046
1011
  }
1047
- function G(e) {
1012
+ function cn(e) {
1048
1013
  let t = e.split("\n"), n = t.length - 1;
1049
- for (; n >= 0 && A.blankLine.test(t[n]);) n--;
1014
+ for (; n >= 0 && M.blankLine.test(t[n]);) n--;
1050
1015
  return t.length - n <= 2 ? e : t.slice(0, n + 1).join("\n");
1051
1016
  }
1052
- function hn(e, t) {
1017
+ function ln(e, t) {
1053
1018
  if (e.indexOf(t[1]) === -1) return -1;
1054
1019
  let n = 0;
1055
1020
  for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
@@ -1057,7 +1022,7 @@ function hn(e, t) {
1057
1022
  else if (e[r] === t[1] && (n--, n < 0)) return r;
1058
1023
  return n > 0 ? -2 : -1;
1059
1024
  }
1060
- function gn(e, t = 0) {
1025
+ function un(e, t = 0) {
1061
1026
  let n = t, r = "";
1062
1027
  for (let t of e) if (t === " ") {
1063
1028
  let e = 4 - n % 4;
@@ -1065,7 +1030,7 @@ function gn(e, t = 0) {
1065
1030
  } else r += t, n++;
1066
1031
  return r;
1067
1032
  }
1068
- function K(e, t, n, r, i) {
1033
+ function dn(e, t, n, r, i) {
1069
1034
  let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
1070
1035
  r.state.inLink = !0;
1071
1036
  let c = {
@@ -1078,7 +1043,7 @@ function K(e, t, n, r, i) {
1078
1043
  };
1079
1044
  return r.state.inLink = !1, c;
1080
1045
  }
1081
- function _n(e, t, n) {
1046
+ function fn(e, t, n) {
1082
1047
  let r = e.match(n.other.indentCodeCompensation);
1083
1048
  if (r === null) return t;
1084
1049
  let i = r[1];
@@ -1089,12 +1054,12 @@ function _n(e, t, n) {
1089
1054
  return r.length >= i.length ? e.slice(i.length) : e;
1090
1055
  }).join("\n");
1091
1056
  }
1092
- var vn = class {
1057
+ var pn = class {
1093
1058
  options;
1094
1059
  rules;
1095
1060
  lexer;
1096
1061
  constructor(e) {
1097
- this.options = e || D;
1062
+ this.options = e || k;
1098
1063
  }
1099
1064
  space(e) {
1100
1065
  let t = this.rules.block.newline.exec(e);
@@ -1106,7 +1071,7 @@ var vn = class {
1106
1071
  code(e) {
1107
1072
  let t = this.rules.block.code.exec(e);
1108
1073
  if (t) {
1109
- let e = this.options.pedantic ? t[0] : G(t[0]);
1074
+ let e = this.options.pedantic ? t[0] : cn(t[0]);
1110
1075
  return {
1111
1076
  type: "code",
1112
1077
  raw: e,
@@ -1118,7 +1083,7 @@ var vn = class {
1118
1083
  fences(e) {
1119
1084
  let t = this.rules.block.fences.exec(e);
1120
1085
  if (t) {
1121
- let e = t[0], n = _n(e, t[3] || "", this.rules);
1086
+ let e = t[0], n = fn(e, t[3] || "", this.rules);
1122
1087
  return {
1123
1088
  type: "code",
1124
1089
  raw: e,
@@ -1132,12 +1097,12 @@ var vn = class {
1132
1097
  if (t) {
1133
1098
  let e = t[2].trim();
1134
1099
  if (this.rules.other.endingHash.test(e)) {
1135
- let t = W(e, "#");
1100
+ let t = q(e, "#");
1136
1101
  (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
1137
1102
  }
1138
1103
  return {
1139
1104
  type: "heading",
1140
- raw: W(t[0], "\n"),
1105
+ raw: q(t[0], "\n"),
1141
1106
  depth: t[1].length,
1142
1107
  text: e,
1143
1108
  tokens: this.lexer.inline(e)
@@ -1148,13 +1113,13 @@ var vn = class {
1148
1113
  let t = this.rules.block.hr.exec(e);
1149
1114
  if (t) return {
1150
1115
  type: "hr",
1151
- raw: W(t[0], "\n")
1116
+ raw: q(t[0], "\n")
1152
1117
  };
1153
1118
  }
1154
1119
  blockquote(e) {
1155
1120
  let t = this.rules.block.blockquote.exec(e);
1156
1121
  if (t) {
1157
- let e = W(t[0], "\n").split("\n"), n = "", r = "", i = [];
1122
+ let e = q(t[0], "\n").split("\n"), n = "", r = "", i = [];
1158
1123
  for (; e.length > 0;) {
1159
1124
  let t = !1, a = [], o;
1160
1125
  for (o = 0; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
@@ -1204,18 +1169,18 @@ ${c}` : c;
1204
1169
  let n = !1, r = "", s = "";
1205
1170
  if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
1206
1171
  r = t[0], e = e.substring(r.length);
1207
- let c = gn(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
1172
+ let c = un(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
1208
1173
  if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = c.search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
1209
- let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), f = this.rules.other.blockquoteBeginRegex(d);
1174
+ let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), ee = this.rules.other.blockquoteBeginRegex(d);
1210
1175
  for (; e;) {
1211
- let p = e.split("\n", 1)[0], ee;
1212
- if (l = p, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), ee = l) : ee = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || f.test(l) || t.test(l) || n.test(l)) break;
1213
- if (ee.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + ee.slice(d);
1176
+ let te = e.split("\n", 1)[0], ne;
1177
+ if (l = te, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), ne = l) : ne = l.replace(this.rules.other.tabCharGlobal, " "), i.test(l) || a.test(l) || o.test(l) || ee.test(l) || t.test(l) || n.test(l)) break;
1178
+ if (ne.search(this.rules.other.nonSpaceChar) >= d || !l.trim()) s += "\n" + ne.slice(d);
1214
1179
  else {
1215
1180
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i.test(c) || a.test(c) || n.test(c)) break;
1216
1181
  s += "\n" + l;
1217
1182
  }
1218
- u = !l.trim(), r += p + "\n", e = e.substring(p.length + 1), c = ee.slice(d);
1183
+ u = !l.trim(), r += te + "\n", e = e.substring(te.length + 1), c = ne.slice(d);
1219
1184
  }
1220
1185
  }
1221
1186
  i.loose || (o ? i.loose = !0 : this.rules.other.doubleBlankLine.test(r) && (o = !0)), i.items.push({
@@ -1270,7 +1235,7 @@ ${c}` : c;
1270
1235
  html(e) {
1271
1236
  let t = this.rules.block.html.exec(e);
1272
1237
  if (t) {
1273
- let e = G(t[0]);
1238
+ let e = cn(t[0]);
1274
1239
  return {
1275
1240
  type: "html",
1276
1241
  block: !0,
@@ -1287,7 +1252,7 @@ ${c}` : c;
1287
1252
  return {
1288
1253
  type: "def",
1289
1254
  tag: e,
1290
- raw: W(t[0], "\n"),
1255
+ raw: q(t[0], "\n"),
1291
1256
  href: n,
1292
1257
  title: r
1293
1258
  };
@@ -1296,9 +1261,9 @@ ${c}` : c;
1296
1261
  table(e) {
1297
1262
  let t = this.rules.block.table.exec(e);
1298
1263
  if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
1299
- let n = mn(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
1264
+ let n = sn(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
1300
1265
  type: "table",
1301
- raw: W(t[0], "\n"),
1266
+ raw: q(t[0], "\n"),
1302
1267
  header: [],
1303
1268
  align: [],
1304
1269
  rows: []
@@ -1311,7 +1276,7 @@ ${c}` : c;
1311
1276
  header: !0,
1312
1277
  align: a.align[e]
1313
1278
  });
1314
- for (let e of i) a.rows.push(mn(e, a.header.length).map((e, t) => ({
1279
+ for (let e of i) a.rows.push(sn(e, a.header.length).map((e, t) => ({
1315
1280
  text: e,
1316
1281
  tokens: this.lexer.inline(e),
1317
1282
  header: !1,
@@ -1326,7 +1291,7 @@ ${c}` : c;
1326
1291
  let e = t[1].trim();
1327
1292
  return {
1328
1293
  type: "heading",
1329
- raw: W(t[0], "\n"),
1294
+ raw: q(t[0], "\n"),
1330
1295
  depth: t[2].charAt(0) === "=" ? 1 : 2,
1331
1296
  text: e,
1332
1297
  tokens: this.lexer.inline(e)
@@ -1379,10 +1344,10 @@ ${c}` : c;
1379
1344
  let e = t[2].trim();
1380
1345
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
1381
1346
  if (!this.rules.other.endAngleBracket.test(e)) return;
1382
- let t = W(e.slice(0, -1), "\\");
1347
+ let t = q(e.slice(0, -1), "\\");
1383
1348
  if ((e.length - t.length) % 2 == 0) return;
1384
1349
  } else {
1385
- let e = hn(t[2], "()");
1350
+ let e = ln(t[2], "()");
1386
1351
  if (e === -2) return;
1387
1352
  if (e > -1) {
1388
1353
  let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
@@ -1394,7 +1359,7 @@ ${c}` : c;
1394
1359
  let e = this.rules.other.pedanticHrefTitle.exec(n);
1395
1360
  e && (n = e[1], r = e[3]);
1396
1361
  } else r = t[3] ? t[3].slice(1, -1) : "";
1397
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), K(t, {
1362
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), dn(t, {
1398
1363
  href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
1399
1364
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
1400
1365
  }, t[0], this.lexer, this.rules);
@@ -1412,7 +1377,7 @@ ${c}` : c;
1412
1377
  text: e
1413
1378
  };
1414
1379
  }
1415
- return K(n, e, n[0], this.lexer, this.rules);
1380
+ return dn(n, e, n[0], this.lexer, this.rules);
1416
1381
  }
1417
1382
  }
1418
1383
  emStrong(e, t, n = "") {
@@ -1544,29 +1509,29 @@ ${c}` : c;
1544
1509
  };
1545
1510
  }
1546
1511
  }
1547
- }, q = class e {
1512
+ }, J = class e {
1548
1513
  tokens;
1549
1514
  options;
1550
1515
  state;
1551
1516
  inlineQueue;
1552
1517
  tokenizer;
1553
1518
  constructor(e) {
1554
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || D, this.options.tokenizer = this.options.tokenizer || new vn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1519
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || k, this.options.tokenizer = this.options.tokenizer || new pn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
1555
1520
  inLink: !1,
1556
1521
  inRawBlock: !1,
1557
1522
  top: !0
1558
1523
  };
1559
1524
  let t = {
1560
- other: A,
1561
- block: ln.normal,
1562
- inline: un.normal
1525
+ other: M,
1526
+ block: nn.normal,
1527
+ inline: rn.normal
1563
1528
  };
1564
- this.options.pedantic ? (t.block = ln.pedantic, t.inline = un.pedantic) : this.options.gfm && (t.block = ln.gfm, this.options.breaks ? t.inline = un.breaks : t.inline = un.gfm), this.tokenizer.rules = t;
1529
+ this.options.pedantic ? (t.block = nn.pedantic, t.inline = rn.pedantic) : this.options.gfm && (t.block = nn.gfm, this.options.breaks ? t.inline = rn.breaks : t.inline = rn.gfm), this.tokenizer.rules = t;
1565
1530
  }
1566
1531
  static get rules() {
1567
1532
  return {
1568
- block: ln,
1569
- inline: un
1533
+ block: nn,
1534
+ inline: rn
1570
1535
  };
1571
1536
  }
1572
1537
  static lex(t, n) {
@@ -1576,7 +1541,7 @@ ${c}` : c;
1576
1541
  return new e(n).inlineTokens(t);
1577
1542
  }
1578
1543
  lex(e) {
1579
- e = e.replace(A.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1544
+ e = e.replace(M.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
1580
1545
  for (let e = 0; e < this.inlineQueue.length; e++) {
1581
1546
  let t = this.inlineQueue[e];
1582
1547
  this.inlineTokens(t.src, t.tokens);
@@ -1584,7 +1549,7 @@ ${c}` : c;
1584
1549
  return this.inlineQueue = [], this.tokens;
1585
1550
  }
1586
1551
  blockTokens(e, t = [], n = !1) {
1587
- this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(A.tabCharGlobal, " ").replace(A.spaceLine, ""));
1552
+ this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(M.tabCharGlobal, " ").replace(M.spaceLine, ""));
1588
1553
  let r = Infinity;
1589
1554
  for (; e;) {
1590
1555
  if (e.length < r) r = e.length;
@@ -1766,18 +1731,18 @@ ${c}` : c;
1766
1731
  if (this.options.silent) console.error(t);
1767
1732
  else throw Error(t);
1768
1733
  }
1769
- }, yn = class {
1734
+ }, mn = class {
1770
1735
  options;
1771
1736
  parser;
1772
1737
  constructor(e) {
1773
- this.options = e || D;
1738
+ this.options = e || k;
1774
1739
  }
1775
1740
  space(e) {
1776
1741
  return "";
1777
1742
  }
1778
1743
  code({ text: e, lang: t, escaped: n }) {
1779
- let r = (t || "").match(A.notSpaceStart)?.[0], i = e.replace(A.endingNewline, "") + "\n";
1780
- return r ? "<pre><code class=\"language-" + U(r) + "\">" + (n ? i : U(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : U(i, !0)) + "</code></pre>\n";
1744
+ let r = (t || "").match(M.notSpaceStart)?.[0], i = e.replace(M.endingNewline, "") + "\n";
1745
+ return r ? "<pre><code class=\"language-" + G(r) + "\">" + (n ? i : G(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : G(i, !0)) + "</code></pre>\n";
1781
1746
  }
1782
1747
  blockquote({ tokens: e }) {
1783
1748
  return `<blockquote>
@@ -1847,7 +1812,7 @@ ${e}</tr>
1847
1812
  return `<em>${this.parser.parseInline(e)}</em>`;
1848
1813
  }
1849
1814
  codespan({ text: e }) {
1850
- return `<code>${U(e, !0)}</code>`;
1815
+ return `<code>${G(e, !0)}</code>`;
1851
1816
  }
1852
1817
  br(e) {
1853
1818
  return "<br>";
@@ -1856,24 +1821,24 @@ ${e}</tr>
1856
1821
  return `<del>${this.parser.parseInline(e)}</del>`;
1857
1822
  }
1858
1823
  link({ href: e, title: t, tokens: n }) {
1859
- let r = this.parser.parseInline(n), i = pn(e);
1824
+ let r = this.parser.parseInline(n), i = K(e);
1860
1825
  if (i === null) return r;
1861
1826
  e = i;
1862
1827
  let a = "<a href=\"" + e + "\"";
1863
- return t && (a += " title=\"" + U(t) + "\""), a += ">" + r + "</a>", a;
1828
+ return t && (a += " title=\"" + G(t) + "\""), a += ">" + r + "</a>", a;
1864
1829
  }
1865
1830
  image({ href: e, title: t, text: n, tokens: r }) {
1866
1831
  r && (n = this.parser.parseInline(r, this.parser.textRenderer));
1867
- let i = pn(e);
1868
- if (i === null) return U(n);
1832
+ let i = K(e);
1833
+ if (i === null) return G(n);
1869
1834
  e = i;
1870
- let a = `<img src="${e}" alt="${U(n)}"`;
1871
- return t && (a += ` title="${U(t)}"`), a += ">", a;
1835
+ let a = `<img src="${e}" alt="${G(n)}"`;
1836
+ return t && (a += ` title="${G(t)}"`), a += ">", a;
1872
1837
  }
1873
1838
  text(e) {
1874
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : U(e.text);
1839
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : G(e.text);
1875
1840
  }
1876
- }, bn = class {
1841
+ }, Y = class {
1877
1842
  strong({ text: e }) {
1878
1843
  return e;
1879
1844
  }
@@ -1904,12 +1869,12 @@ ${e}</tr>
1904
1869
  checkbox({ raw: e }) {
1905
1870
  return e;
1906
1871
  }
1907
- }, J = class e {
1872
+ }, X = class e {
1908
1873
  options;
1909
1874
  renderer;
1910
1875
  textRenderer;
1911
1876
  constructor(e) {
1912
- this.options = e || D, this.options.renderer = this.options.renderer || new yn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new bn();
1877
+ this.options = e || k, this.options.renderer = this.options.renderer || new mn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Y();
1913
1878
  }
1914
1879
  static parse(t, n) {
1915
1880
  return new e(n).parse(t);
@@ -2055,11 +2020,11 @@ ${e}</tr>
2055
2020
  }
2056
2021
  return n;
2057
2022
  }
2058
- }, Y = class {
2023
+ }, Z = class {
2059
2024
  options;
2060
2025
  block;
2061
2026
  constructor(e) {
2062
- this.options = e || D;
2027
+ this.options = e || k;
2063
2028
  }
2064
2029
  static passThroughHooks = /* @__PURE__ */ new Set([
2065
2030
  "preprocess",
@@ -2085,22 +2050,22 @@ ${e}</tr>
2085
2050
  return e;
2086
2051
  }
2087
2052
  provideLexer(e = this.block) {
2088
- return e ? q.lex : q.lexInline;
2053
+ return e ? J.lex : J.lexInline;
2089
2054
  }
2090
2055
  provideParser(e = this.block) {
2091
- return e ? J.parse : J.parseInline;
2056
+ return e ? X.parse : X.parseInline;
2092
2057
  }
2093
- }, X = new class {
2094
- defaults = dt();
2058
+ }, hn = new class {
2059
+ defaults = at();
2095
2060
  options = this.setOptions;
2096
2061
  parse = this.parseMarkdown(!0);
2097
2062
  parseInline = this.parseMarkdown(!1);
2098
- Parser = J;
2099
- Renderer = yn;
2100
- TextRenderer = bn;
2101
- Lexer = q;
2102
- Tokenizer = vn;
2103
- Hooks = Y;
2063
+ Parser = X;
2064
+ Renderer = mn;
2065
+ TextRenderer = Y;
2066
+ Lexer = J;
2067
+ Tokenizer = pn;
2068
+ Hooks = Z;
2104
2069
  constructor(...e) {
2105
2070
  this.use(...e);
2106
2071
  }
@@ -2151,7 +2116,7 @@ ${e}</tr>
2151
2116
  }
2152
2117
  "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
2153
2118
  }), n.extensions = t), e.renderer) {
2154
- let t = this.defaults.renderer || new yn(this.defaults);
2119
+ let t = this.defaults.renderer || new mn(this.defaults);
2155
2120
  for (let n in e.renderer) {
2156
2121
  if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
2157
2122
  if (["options", "parser"].includes(n)) continue;
@@ -2164,7 +2129,7 @@ ${e}</tr>
2164
2129
  n.renderer = t;
2165
2130
  }
2166
2131
  if (e.tokenizer) {
2167
- let t = this.defaults.tokenizer || new vn(this.defaults);
2132
+ let t = this.defaults.tokenizer || new pn(this.defaults);
2168
2133
  for (let n in e.tokenizer) {
2169
2134
  if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
2170
2135
  if ([
@@ -2181,13 +2146,13 @@ ${e}</tr>
2181
2146
  n.tokenizer = t;
2182
2147
  }
2183
2148
  if (e.hooks) {
2184
- let t = this.defaults.hooks || new Y();
2149
+ let t = this.defaults.hooks || new Z();
2185
2150
  for (let n in e.hooks) {
2186
2151
  if (!(n in t)) throw Error(`hook '${n}' does not exist`);
2187
2152
  if (["options", "block"].includes(n)) continue;
2188
2153
  let r = n, i = e.hooks[r], a = t[r];
2189
- Y.passThroughHooks.has(n) ? t[r] = (e) => {
2190
- if (this.defaults.async && Y.passThroughHooksRespectAsync.has(n)) return (async () => {
2154
+ Z.passThroughHooks.has(n) ? t[r] = (e) => {
2155
+ if (this.defaults.async && Z.passThroughHooksRespectAsync.has(n)) return (async () => {
2191
2156
  let n = await i.call(t, e);
2192
2157
  return a.call(t, n);
2193
2158
  })();
@@ -2224,10 +2189,10 @@ ${e}</tr>
2224
2189
  }, this;
2225
2190
  }
2226
2191
  lexer(e, t) {
2227
- return q.lex(e, t ?? this.defaults);
2192
+ return J.lex(e, t ?? this.defaults);
2228
2193
  }
2229
2194
  parser(e, t) {
2230
- return J.parse(e, t ?? this.defaults);
2195
+ return X.parse(e, t ?? this.defaults);
2231
2196
  }
2232
2197
  parseMarkdown(e) {
2233
2198
  return (t, n) => {
@@ -2239,16 +2204,16 @@ ${e}</tr>
2239
2204
  if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
2240
2205
  if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
2241
2206
  if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
2242
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
2207
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer(e) : e ? J.lex : J.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
2243
2208
  i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
2244
- let o = await (i.hooks ? await i.hooks.provideParser(e) : e ? J.parse : J.parseInline)(a, i);
2209
+ let o = await (i.hooks ? await i.hooks.provideParser(e) : e ? X.parse : X.parseInline)(a, i);
2245
2210
  return i.hooks ? await i.hooks.postprocess(o) : o;
2246
2211
  })().catch(a);
2247
2212
  try {
2248
2213
  i.hooks && (t = i.hooks.preprocess(t));
2249
- let n = (i.hooks ? i.hooks.provideLexer(e) : e ? q.lex : q.lexInline)(t, i);
2214
+ let n = (i.hooks ? i.hooks.provideLexer(e) : e ? J.lex : J.lexInline)(t, i);
2250
2215
  i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
2251
- let r = (i.hooks ? i.hooks.provideParser(e) : e ? J.parse : J.parseInline)(n, i);
2216
+ let r = (i.hooks ? i.hooks.provideParser(e) : e ? X.parse : X.parseInline)(n, i);
2252
2217
  return i.hooks && (r = i.hooks.postprocess(r)), r;
2253
2218
  } catch (e) {
2254
2219
  return a(e);
@@ -2258,7 +2223,7 @@ ${e}</tr>
2258
2223
  onError(e, t) {
2259
2224
  return (n) => {
2260
2225
  if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
2261
- let e = "<p>An error occurred:</p><pre>" + U(n.message + "", !0) + "</pre>";
2226
+ let e = "<p>An error occurred:</p><pre>" + G(n.message + "", !0) + "</pre>";
2262
2227
  return t ? Promise.resolve(e) : e;
2263
2228
  }
2264
2229
  if (t) return Promise.reject(n);
@@ -2266,19 +2231,19 @@ ${e}</tr>
2266
2231
  };
2267
2232
  }
2268
2233
  }();
2269
- function Z(e, t) {
2270
- return X.parse(e, t);
2234
+ function Q(e, t) {
2235
+ return hn.parse(e, t);
2271
2236
  }
2272
- Z.options = Z.setOptions = function(e) {
2273
- return X.setOptions(e), Z.defaults = X.defaults, ft(Z.defaults), Z;
2274
- }, Z.getDefaults = dt, Z.defaults = D, Z.use = function(...e) {
2275
- return X.use(...e), Z.defaults = X.defaults, ft(Z.defaults), Z;
2276
- }, Z.walkTokens = function(e, t) {
2277
- return X.walkTokens(e, t);
2278
- }, Z.parseInline = X.parseInline, Z.Parser = J, Z.parser = J.parse, Z.Renderer = yn, Z.TextRenderer = bn, Z.Lexer = q, Z.lexer = q.lex, Z.Tokenizer = vn, Z.Hooks = Y, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, J.parse, q.lex;
2237
+ Q.options = Q.setOptions = function(e) {
2238
+ return hn.setOptions(e), Q.defaults = hn.defaults, ot(Q.defaults), Q;
2239
+ }, Q.getDefaults = at, Q.defaults = k, Q.use = function(...e) {
2240
+ return hn.use(...e), Q.defaults = hn.defaults, ot(Q.defaults), Q;
2241
+ }, Q.walkTokens = function(e, t) {
2242
+ return hn.walkTokens(e, t);
2243
+ }, Q.parseInline = hn.parseInline, Q.Parser = X, Q.parser = X.parse, Q.Renderer = mn, Q.TextRenderer = Y, Q.Lexer = J, Q.lexer = J.lex, Q.Tokenizer = pn, Q.Hooks = Z, Q.parse = Q, Q.options, Q.setOptions, Q.use, Q.walkTokens, Q.parseInline, X.parse, J.lex;
2279
2244
  //#endregion
2280
2245
  //#region src/components/chat-message/chat-message.module.scss?inline
2281
- var xn = ":host{width:100%;font-family:var(--luzmo-chat-message-font-family,var(--chat-message-font-family));font-size:var(--luzmo-chat-message-font-size,var(--chat-message-font-size));line-height:var(--luzmo-chat-message-line-height,var(--chat-message-line-height));color:var(--highcontrast-chat-message-text-color,var(--luzmo-chat-message-text-color,var(--chat-message-text-color)));display:flex}:host([position=left]){justify-content:flex-start}:host([position=right]){justify-content:flex-end}:host([position=middle]){justify-content:center}.container{gap:var(--luzmo-chat-message-message-to-avatar,var(--chat-message-message-to-avatar));max-width:var(--luzmo-chat-message-max-width,var(--chat-message-max-width));width:fit-content;display:flex}:host(:not([data-has-avatar])) .container{gap:0}:host(:not([data-has-avatar])) .avatar-wrapper{display:none}.position-left{flex-direction:row}.position-left .avatar-wrapper{order:0}.position-left .message-wrapper{order:1;align-items:flex-start}.position-left .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius-start,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius-bottom-start,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)))}.position-right{flex-direction:row-reverse}.position-right .avatar-wrapper{order:0}.position-right .message-wrapper{order:1;align-items:flex-end}.position-right .header{justify-content:flex-end}.position-right .message{border-top-right-radius:var(--luzmo-chat-message-message-border-radius-end,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius-bottom-end,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)))}.position-right .actions-outside{justify-content:flex-end}.position-middle .message-wrapper{align-items:center}.position-middle .header,.position-middle .actions-outside{justify-content:center}.avatar-wrapper{margin-top:var(--luzmo-chat-message-avatar-margin-top,var(--chat-message-avatar-margin-top,0));margin-bottom:var(--luzmo-chat-message-avatar-margin-bottom,var(--chat-message-avatar-margin-bottom,0));flex-shrink:0;align-items:flex-start;display:flex}:host([data-in-group]) .avatar-wrapper{min-width:var(--chat-message-avatar-size,var(--luzmo-avatar-size,var(--avatar-size,32px)));flex-basis:var(--chat-message-avatar-size,var(--luzmo-avatar-size,var(--avatar-size,32px)))}:host([data-in-group]:not([data-group-square-border])) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important;border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important;border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important;border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important}.avatar-top .avatar-wrapper{align-self:flex-start}.avatar-middle .avatar-wrapper{align-self:center}.avatar-bottom .avatar-wrapper{align-self:flex-end}.avatar-middle .message-wrapper,.avatar-bottom .message-wrapper{position:relative}.avatar-middle .actions-outside,.avatar-bottom .actions-outside{margin-top:var(--luzmo-chat-message-gap,var(--chat-message-gap));position:absolute;top:100%}.avatar-middle.position-left .actions-outside,.avatar-bottom.position-left .actions-outside{left:0}.avatar-middle.position-right .actions-outside,.avatar-bottom.position-right .actions-outside{right:0}.avatar-bottom.position-left .message{--luzmo-chat-message-message-border-radius-bottom-start:0}.avatar-bottom.position-right .message{--luzmo-chat-message-message-border-radius-bottom-end:0}.message-wrapper{gap:var(--luzmo-chat-message-gap,var(--chat-message-gap));flex-direction:column;min-width:0;display:flex}.message{padding:var(--luzmo-chat-message-content-vertical-padding,var(--chat-message-content-vertical-padding)) var(--luzmo-chat-message-content-horizontal-padding,var(--chat-message-content-horizontal-padding));border-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-width:var(--luzmo-chat-message-message-border-width,var(--chat-message-message-border-width));border-style:solid;border-color:var(--highcontrast-chat-message-message-border-color,var(--luzmo-chat-message-message-border-color,var(--chat-message-message-border-color)));background-color:var(--highcontrast-chat-message-message-background-color,var(--luzmo-chat-message-message-background-color,var(--chat-message-message-background-color)));box-shadow:var(--luzmo-chat-message-message-shadow,var(--chat-message-message-shadow));color:var(--luzmo-chat-message-message-text-color,var(--chat-message-message-text-color));word-wrap:break-word;overflow-wrap:break-word;max-width:100%;position:relative}.message .header,.message .user-name,.message .datetime,.message .actions-inside{color:inherit}.message.squared-top-left{border-top-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.message.squared-top-right{border-top-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.message.squared-bottom-left{border-bottom-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.message.squared-bottom-right{border-bottom-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=top-left]) .message{border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=top-right]) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=bottom-left]) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=bottom-right]) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.header{align-items:baseline;gap:var(--luzmo-chat-message-header-gap,var(--chat-message-header-gap));margin-bottom:var(--luzmo-chat-message-header-margin-bottom,var(--chat-message-header-margin-bottom));flex-wrap:wrap;display:flex}:host([meta=outside]) .header{margin-bottom:0}.user-name{font-weight:var(--luzmo-chat-message-user-name-font-weight,var(--chat-message-user-name-font-weight));color:var(--luzmo-chat-message-user-name-color,var(--chat-message-user-name-color))}.datetime{font-size:var(--luzmo-chat-message-datetime-font-size,var(--chat-message-datetime-font-size));color:var(--luzmo-chat-message-datetime-color,var(--chat-message-datetime-color));opacity:var(--luzmo-chat-message-datetime-opacity,var(--chat-message-datetime-opacity))}.content{display:block}.markdown-content>*{margin-block:0 var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing))}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin-block:var(--luzmo-chat-message-markdown-heading-spacing-top,var(--chat-message-markdown-heading-spacing-top)) var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));font-weight:var(--luzmo-chat-message-markdown-heading-font-weight,var(--chat-message-markdown-heading-font-weight));line-height:var(--luzmo-chat-message-markdown-heading-line-height,var(--chat-message-markdown-heading-line-height))}.markdown-content h1{font-size:1.5em}.markdown-content h2{font-size:1.3em}.markdown-content h3{font-size:1.15em}.markdown-content h4{font-size:1em}.markdown-content h5{font-size:.9em}.markdown-content h6{font-size:.85em}.markdown-content strong{font-weight:var(--luzmo-font-weight-bold,600)}.markdown-content em{font-style:italic}.markdown-content del{text-decoration:line-through}.markdown-content a{color:var(--luzmo-chat-message-markdown-link-color,var(--chat-message-markdown-link-color));text-underline-offset:.15em;text-decoration:underline}.markdown-content a:hover{text-decoration-thickness:2px}.markdown-content a:focus-visible{outline:var(--luzmo-indicator-width,1px) solid var(--luzmo-chat-message-markdown-link-color,var(--chat-message-markdown-link-color));outline-offset:2px;border-radius:var(--luzmo-border-radius-s)}.markdown-content code{font-family:var(--luzmo-chat-message-markdown-code-font-family,var(--chat-message-markdown-code-font-family));font-size:var(--luzmo-chat-message-markdown-code-font-size,var(--chat-message-markdown-code-font-size));background:var(--luzmo-chat-message-markdown-code-background,var(--chat-message-markdown-code-background));border-radius:var(--luzmo-chat-message-markdown-code-radius,var(--chat-message-markdown-code-radius));padding:.15em .35em}.markdown-content pre{margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));padding:var(--luzmo-chat-message-markdown-pre-padding,var(--chat-message-markdown-pre-padding));background:var(--luzmo-chat-message-markdown-pre-background,var(--chat-message-markdown-pre-background));border-radius:var(--luzmo-chat-message-markdown-pre-radius,var(--chat-message-markdown-pre-radius));white-space:pre;scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-scrollbar-thumb-background) var(--luzmo-scrollbar-track-background);overflow-x:auto}.markdown-content pre code{font-size:var(--luzmo-chat-message-markdown-code-font-size,var(--chat-message-markdown-code-font-size));background:0 0;border-radius:0;padding:0}.markdown-content blockquote{margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));border-inline-start:var(--luzmo-spacing-1,2px) solid var(--luzmo-chat-message-markdown-blockquote-border-color,var(--chat-message-markdown-blockquote-border-color));margin-inline:0;padding-inline-start:var(--luzmo-spacing-4)}.markdown-content blockquote>:first-child{margin-top:0}.markdown-content blockquote>:last-child{margin-bottom:0}.markdown-content ul,.markdown-content ol{margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));padding-inline-start:var(--luzmo-chat-message-markdown-list-indent,var(--chat-message-markdown-list-indent))}.markdown-content li,.markdown-content li>ul,.markdown-content li>ol{margin-block:var(--luzmo-spacing-1)}.markdown-content li.task-list-item{margin-inline-start:calc(-1 * var(--luzmo-chat-message-markdown-list-indent,var(--chat-message-markdown-list-indent)));padding-inline-start:var(--luzmo-chat-message-markdown-list-indent,var(--chat-message-markdown-list-indent));list-style:none}.markdown-content li.task-list-item input[type=checkbox]{vertical-align:middle;margin-inline-end:var(--luzmo-spacing-2)}.markdown-content table{width:max-content;max-width:100%;margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));border-collapse:collapse;display:block;overflow-x:auto}.markdown-content th,.markdown-content td{padding:var(--luzmo-chat-message-markdown-table-cell-padding,var(--chat-message-markdown-table-cell-padding));border:var(--luzmo-border-width,1px) solid var(--luzmo-chat-message-markdown-border-color,var(--chat-message-markdown-border-color));text-align:start}.markdown-content th{font-weight:var(--luzmo-font-weight-bold,600)}.markdown-content hr{margin-block:var(--luzmo-chat-message-markdown-heading-spacing-top,var(--chat-message-markdown-heading-spacing-top));border:0;border-top:var(--luzmo-border-width,1px) solid var(--luzmo-chat-message-markdown-border-color,var(--chat-message-markdown-border-color))}.markdown-content img{border-radius:var(--luzmo-border-radius);max-width:100%;height:auto}.actions{gap:var(--luzmo-chat-message-actions-gap,var(--chat-message-actions-gap));align-items:center;display:flex}.actions-inside{margin-top:var(--luzmo-chat-message-actions-margin-top,var(--chat-message-actions-margin-top))}.actions-outside{opacity:var(--luzmo-chat-message-actions-opacity,var(--chat-message-actions-opacity));transition:opacity var(--luzmo-chat-message-animation-duration,var(--chat-message-animation-duration)) ease-in-out}:host(:hover) .actions-outside,:host(:focus-within) .actions-outside{opacity:var(--luzmo-chat-message-actions-opacity-hover,var(--chat-message-actions-opacity-hover))}::slotted([slot=avatar]){display:block}::slotted([slot=actions]){align-items:center;display:inline-flex}.extra-actions{top:var(--luzmo-chat-message-extra-actions-top,var(--chat-message-extra-actions-top));right:var(--luzmo-chat-message-extra-actions-right,var(--chat-message-extra-actions-right));bottom:var(--luzmo-chat-message-extra-actions-bottom,var(--chat-message-extra-actions-bottom));left:var(--luzmo-chat-message-extra-actions-left,var(--chat-message-extra-actions-left));padding:var(--luzmo-chat-message-extra-actions-vertical-padding,var(--chat-message-extra-actions-vertical-padding)) var(--luzmo-chat-message-extra-actions-horizontal-padding,var(--chat-message-extra-actions-horizontal-padding));opacity:0;pointer-events:none;transition:opacity var(--luzmo-chat-message-animation-duration,var(--chat-message-animation-duration)) ease-in-out;z-index:10;position:absolute}:host([position=left]) .extra-actions{left:var(--luzmo-chat-message-extra-actions-left,var(--chat-message-extra-actions-left), var(--luzmo-chat-message-content-horizontal-padding,var(--chat-message-content-horizontal-padding)));right:var(--luzmo-chat-message-extra-actions-right,var(--chat-message-extra-actions-right), auto)}:host([size=m]) .extra-actions{top:calc(-1 * var(--luzmo-spacing-5))}:host([size=m][position=right]) .extra-actions{left:calc(-1 * var(--luzmo-spacing-5));right:var(--luzmo-chat-message-extra-actions-right,var(--chat-message-extra-actions-right), auto)}:host([size=m][position=middle]) .extra-actions,:host([size=m][position=left]) .extra-actions{right:calc(-1 * var(--luzmo-spacing-5));left:var(--luzmo-chat-message-extra-actions-left,var(--chat-message-extra-actions-left), auto)}.extra-actions-wrapper{background-color:var(--luzmo-chat-message-extra-actions-wrapper-background-color,var(--luzmo-background-color));border-radius:var(--luzmo-chat-message-extra-actions-wrapper-border-radius,var(--luzmo-border-radius));border-width:var(--luzmo-chat-message-extra-actions-wrapper-border-width,var(--luzmo-border-width));border-style:var(--luzmo-chat-message-extra-actions-wrapper-border-style,solid);border-color:var(--luzmo-chat-message-extra-actions-wrapper-border,var(--luzmo-border-color));padding:var(--luzmo-chat-message-extra-actions-wrapper-vertical-padding,var(--chat-message-extra-actions-wrapper-vertical-padding)) var(--luzmo-chat-message-extra-actions-wrapper-horizontal-padding,var(--chat-message-extra-actions-wrapper-horizontal-padding));position:var(--luzmo-chat-message-extra-actions-wrapper-position,var(--chat-message-extra-actions-wrapper-position), relative);top:var(--luzmo-chat-message-extra-actions-wrapper-top,var(--chat-message-extra-actions-wrapper-top));right:var(--luzmo-chat-message-extra-actions-wrapper-right,var(--chat-message-extra-actions-wrapper-right));bottom:var(--luzmo-chat-message-extra-actions-wrapper-bottom,var(--chat-message-extra-actions-wrapper-bottom));left:var(--luzmo-chat-message-extra-actions-wrapper-left,var(--chat-message-extra-actions-wrapper-left));align-items:center;display:inline-flex}:host(:hover) .extra-actions,:host(:focus-within) .extra-actions,:host(:active) .extra-actions{opacity:1;pointer-events:auto}::slotted([slot=extra-actions]){align-items:center;display:inline-flex}@media (forced-colors:active){.markdown-content th,.markdown-content td,.markdown-content hr{border-color:canvastext}.markdown-content pre,.markdown-content code{border:1px solid canvastext}.markdown-content pre code{border:0}.markdown-content blockquote{border-inline-start-color:canvastext}.markdown-content a{color:linktext}:host{--highcontrast-chat-message-message-background-color:Canvas;--highcontrast-chat-message-message-border-color:CanvasText;--highcontrast-chat-message-text-color:CanvasText}}:host{--chat-message-message-border-width:var(--luzmo-border-width);--chat-message-message-border-color:var(--luzmo-border-color);--chat-message-message-background-color:var(--luzmo-background-color-highlight);--chat-message-message-shadow:0 1px 2px var(--luzmo-shadow-color);--chat-message-message-text-color:inherit;--chat-message-font-family:var(--luzmo-font-family);--chat-message-font-size:var(--luzmo-font-size);--chat-message-line-height:1.5;--chat-message-text-color:var(--luzmo-font-color);--chat-message-header-gap:var(--luzmo-spacing-2);--chat-message-header-margin-bottom:var(--luzmo-spacing-1);--chat-message-user-name-font-weight:var(--luzmo-font-weight-bold,600);--chat-message-user-name-color:var(--luzmo-font-color);--chat-message-datetime-font-size:.75em;--chat-message-datetime-color:var(--luzmo-font-color-secondary);--chat-message-datetime-opacity:.7;--chat-message-actions-gap:var(--luzmo-spacing-1);--chat-message-actions-margin-top:var(--luzmo-spacing-2);--chat-message-actions-opacity:1;--chat-message-actions-opacity-hover:1;--chat-message-animation-duration:var(--luzmo-animation-duration,.15s);--chat-message-gap:var(--luzmo-spacing-4);--chat-message-message-to-avatar:var(--luzmo-spacing-3);--chat-message-max-width:80%;--chat-message-content-vertical-padding:var(--luzmo-spacing-3);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--chat-message-primary-background-color:var(--luzmo-primary);--chat-message-primary-border-color:var(--luzmo-primary);--chat-message-primary-text-color:var(--luzmo-primary-inverse-color);--chat-message-primary-text-color-outline:var(--luzmo-primary);--chat-message-secondary-background-color:var(--luzmo-secondary);--chat-message-secondary-border-color:var(--luzmo-secondary);--chat-message-secondary-text-color:var(--luzmo-secondary-inverse-color);--chat-message-secondary-text-color-outline:var(--luzmo-secondary);--chat-message-markdown-block-spacing:var(--luzmo-spacing-4);--chat-message-markdown-heading-font-weight:var(--luzmo-font-weight-bold);--chat-message-markdown-heading-spacing-top:var(--luzmo-spacing-5);--chat-message-markdown-heading-line-height:1.25;--chat-message-markdown-code-font-family:ui-monospace, sfmono-regular, \"SF Mono\", menlo, consolas, \"Liberation Mono\", monospace;--chat-message-markdown-code-font-size:.875em;--chat-message-markdown-code-background:var(--luzmo-background-color-highlight);--chat-message-markdown-code-radius:var(--luzmo-border-radius-s);--chat-message-markdown-pre-background:var(--luzmo-background-color-highlight);--chat-message-markdown-pre-radius:var(--luzmo-border-radius);--chat-message-markdown-pre-padding:var(--luzmo-spacing-4);--chat-message-markdown-border-color:var(--luzmo-border-color);--chat-message-markdown-blockquote-border-color:var(--luzmo-border-color);--chat-message-markdown-link-color:var(--luzmo-primary);--chat-message-markdown-list-indent:var(--luzmo-spacing-5);--chat-message-markdown-table-cell-padding:var(--luzmo-spacing-2) var(--luzmo-spacing-3)}:host([position=middle]){--chat-message-max-width:90%}:host{--chat-message-message-border-radius:var(--luzmo-border-radius-xl);--chat-message-squared-border-radius:var(--luzmo-border-radius-s);--chat-message-gap:var(--luzmo-spacing-2);--chat-message-message-to-avatar:var(--luzmo-spacing-4);--chat-message-max-width:80%;--chat-message-content-vertical-padding:var(--luzmo-spacing-4);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1))}:host([size=xs]){--chat-message-message-border-radius:var(--luzmo-border-radius);--chat-message-squared-border-radius:var(--luzmo-border-radius-xs);--chat-message-font-size:11px;--chat-message-content-vertical-padding:var(--luzmo-spacing-3);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--chat-message-gap:var(--luzmo-spacing-1);--chat-message-message-to-avatar:var(--luzmo-spacing-3)}:host([size=s]){--chat-message-message-border-radius:var(--luzmo-border-radius-l);--chat-message-squared-border-radius:var(--luzmo-border-radius-xs);--chat-message-font-size:12px;--chat-message-content-vertical-padding:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--chat-message-content-horizontal-padding:var(--luzmo-spacing-4);--chat-message-gap:var(--luzmo-spacing-2);--chat-message-message-to-avatar:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=l]){--chat-message-message-border-radius:var(--luzmo-border-radius-xl);--chat-message-squared-border-radius:var(--luzmo-border-radius-s);--chat-message-font-size:16px;--chat-message-content-vertical-padding:var(--luzmo-spacing-5);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--chat-message-gap:var(--luzmo-spacing-3);--chat-message-message-to-avatar:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1))}:host([size=xl]){--chat-message-message-border-radius:var(--luzmo-border-radius-xl);--chat-message-squared-border-radius:var(--luzmo-border-radius-s);--chat-message-font-size:18px;--chat-message-content-vertical-padding:var(--luzmo-spacing-5);--chat-message-content-horizontal-padding:var(--luzmo-spacing-5);--chat-message-gap:var(--luzmo-spacing-4);--chat-message-message-to-avatar:var(--luzmo-spacing-5)}:host([treatment=fill]){--chat-message-message-shadow:none}:host([variant=default][treatment=fill]){--chat-message-message-border-width:0}:host([variant=primary][treatment=fill]){--chat-message-message-background-color:var(--chat-message-primary-background-color);--chat-message-message-border-color:var(--chat-message-primary-border-color);--chat-message-message-text-color:var(--chat-message-primary-text-color)}:host([variant=secondary][treatment=fill]){--chat-message-message-background-color:var(--chat-message-secondary-background-color);--chat-message-message-border-color:var(--chat-message-secondary-border-color);--chat-message-message-text-color:var(--chat-message-secondary-text-color)}:host([variant=primary][treatment=fill]:not([quiet])){--chat-message-markdown-code-background:var(--luzmo-primary-down);--chat-message-markdown-pre-background:var(--luzmo-primary-down);--chat-message-markdown-link-color:var(--luzmo-primary-inverse-color);--chat-message-markdown-border-color:var(--luzmo-primary-inverse-color);--chat-message-markdown-blockquote-border-color:var(--luzmo-primary-inverse-color)}:host([variant=secondary][treatment=fill]:not([quiet])){--chat-message-markdown-code-background:var(--luzmo-secondary-down);--chat-message-markdown-pre-background:var(--luzmo-secondary-down);--chat-message-markdown-link-color:var(--luzmo-secondary-inverse-color);--chat-message-markdown-border-color:var(--luzmo-secondary-inverse-color);--chat-message-markdown-blockquote-border-color:var(--luzmo-secondary-inverse-color)}:host([treatment=outline]){--chat-message-message-background-color:transparent;--chat-message-message-shadow:none}:host([variant=primary][treatment=outline]){--chat-message-message-border-color:var(--chat-message-primary-border-color);--chat-message-message-text-color:var(--chat-message-primary-text-color-outline)}:host([variant=secondary][treatment=outline]){--chat-message-message-border-color:var(--chat-message-secondary-border-color);--chat-message-message-text-color:var(--chat-message-secondary-text-color-outline)}:host([quiet]){--chat-message-message-background-color:transparent;--chat-message-message-border-color:transparent;--chat-message-message-border-width:0;--chat-message-message-shadow:none;--chat-message-content-vertical-padding:0;--chat-message-content-horizontal-padding:0}:host([quiet][avatar-placement=top]){--chat-message-avatar-margin-top:calc((var(--chat-message-line-height) - 1) / 2 * 1em)}:host([quiet][avatar-placement=bottom]){--chat-message-avatar-margin-bottom:calc((var(--chat-message-line-height) - 1) / 2 * -1em)}:host([quiet][variant=primary]){--chat-message-primary-background-color:transparent;--chat-message-primary-border-color:transparent;--chat-message-primary-text-color:var(--luzmo-primary)}:host([quiet][variant=secondary]){--chat-message-secondary-background-color:transparent;--chat-message-secondary-border-color:transparent;--chat-message-secondary-text-color:var(--luzmo-secondary)}:host{--chat-message-extra-actions-top:var(--luzmo-chat-message-content-vertical-padding,var(--chat-message-content-vertical-padding));--chat-message-extra-actions-right:var(--luzmo-chat-message-content-horizontal-padding,var(--chat-message-content-horizontal-padding));--chat-message-extra-actions-bottom:auto;--chat-message-extra-actions-left:auto;--chat-message-extra-actions-vertical-padding:0;--chat-message-extra-actions-horizontal-padding:0;--chat-message-extra-actions-wrapper-background-color:var(--luzmo-border-color);--chat-message-extra-actions-wrapper-border-radius:var(--luzmo-border-radius);--chat-message-extra-actions-wrapper-border:none;--chat-message-extra-actions-wrapper-vertical-padding:var(--luzmo-spacing-1);--chat-message-extra-actions-wrapper-horizontal-padding:var(--luzmo-spacing-1);--chat-message-extra-actions-wrapper-position:relative;--chat-message-extra-actions-wrapper-top:auto;--chat-message-extra-actions-wrapper-right:auto;--chat-message-extra-actions-wrapper-bottom:auto;--chat-message-extra-actions-wrapper-left:auto}", Q = class extends n(e, {
2246
+ var gn = ":host{width:100%;font-family:var(--luzmo-chat-message-font-family,var(--chat-message-font-family));font-size:var(--luzmo-chat-message-font-size,var(--chat-message-font-size));line-height:var(--luzmo-chat-message-line-height,var(--chat-message-line-height));color:var(--highcontrast-chat-message-text-color,var(--luzmo-chat-message-text-color,var(--chat-message-text-color)));display:flex}:host([position=left]){justify-content:flex-start}:host([position=right]){justify-content:flex-end}:host([position=middle]){justify-content:center}.container{gap:var(--luzmo-chat-message-message-to-avatar,var(--chat-message-message-to-avatar));max-width:var(--luzmo-chat-message-max-width,var(--chat-message-max-width));width:fit-content;display:flex}:host(:not([data-has-avatar])) .container{gap:0}:host(:not([data-has-avatar])) .avatar-wrapper{display:none}.position-left{flex-direction:row}.position-left .avatar-wrapper{order:0}.position-left .message-wrapper{order:1;align-items:flex-start}.position-left .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius-start,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius-bottom-start,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)))}.position-right{flex-direction:row-reverse}.position-right .avatar-wrapper{order:0}.position-right .message-wrapper{order:1;align-items:flex-end}.position-right .header{justify-content:flex-end}.position-right .message{border-top-right-radius:var(--luzmo-chat-message-message-border-radius-end,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius-bottom-end,var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius)))}.position-right .actions-outside{justify-content:flex-end}.position-middle .message-wrapper{align-items:center}.position-middle .header,.position-middle .actions-outside{justify-content:center}.avatar-wrapper{margin-top:var(--luzmo-chat-message-avatar-margin-top,var(--chat-message-avatar-margin-top,0));margin-bottom:var(--luzmo-chat-message-avatar-margin-bottom,var(--chat-message-avatar-margin-bottom,0));flex-shrink:0;align-items:flex-start;display:flex}:host([data-in-group]) .avatar-wrapper{min-width:var(--chat-message-avatar-size,var(--luzmo-avatar-size,var(--avatar-size,32px)));flex-basis:var(--chat-message-avatar-size,var(--luzmo-avatar-size,var(--avatar-size,32px)))}:host([data-in-group]:not([data-group-square-border])) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important;border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important;border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important;border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius))!important}.avatar-top .avatar-wrapper{align-self:flex-start}.avatar-middle .avatar-wrapper{align-self:center}.avatar-bottom .avatar-wrapper{align-self:flex-end}.avatar-middle .message-wrapper,.avatar-bottom .message-wrapper{position:relative}.avatar-middle .actions-outside,.avatar-bottom .actions-outside{margin-top:var(--luzmo-chat-message-gap,var(--chat-message-gap));position:absolute;top:100%}.avatar-middle.position-left .actions-outside,.avatar-bottom.position-left .actions-outside{left:0}.avatar-middle.position-right .actions-outside,.avatar-bottom.position-right .actions-outside{right:0}.avatar-bottom.position-left .message{--luzmo-chat-message-message-border-radius-bottom-start:0}.avatar-bottom.position-right .message{--luzmo-chat-message-message-border-radius-bottom-end:0}.message-wrapper{gap:var(--luzmo-chat-message-gap,var(--chat-message-gap));flex-direction:column;min-width:0;display:flex}.message{padding:var(--luzmo-chat-message-content-vertical-padding,var(--chat-message-content-vertical-padding)) var(--luzmo-chat-message-content-horizontal-padding,var(--chat-message-content-horizontal-padding));border-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-width:var(--luzmo-chat-message-message-border-width,var(--chat-message-message-border-width));border-style:solid;border-color:var(--highcontrast-chat-message-message-border-color,var(--luzmo-chat-message-message-border-color,var(--chat-message-message-border-color)));background-color:var(--highcontrast-chat-message-message-background-color,var(--luzmo-chat-message-message-background-color,var(--chat-message-message-background-color)));box-shadow:var(--luzmo-chat-message-message-shadow,var(--chat-message-message-shadow));color:var(--luzmo-chat-message-message-text-color,var(--chat-message-message-text-color));word-wrap:break-word;overflow-wrap:break-word;max-width:100%;position:relative}.message .header,.message .user-name,.message .datetime,.message .actions-inside{color:inherit}.message.squared-top-left{border-top-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.message.squared-top-right{border-top-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.message.squared-bottom-left{border-bottom-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.message.squared-bottom-right{border-bottom-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=top-left]) .message{border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=top-right]) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=bottom-left]) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}:host([data-group-square-border=bottom-right]) .message{border-top-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-top-right-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-left-radius:var(--luzmo-chat-message-message-border-radius,var(--chat-message-message-border-radius));border-bottom-right-radius:var(--luzmo-chat-message-squared-border-radius,var(--chat-message-squared-border-radius))!important}.header{align-items:baseline;gap:var(--luzmo-chat-message-header-gap,var(--chat-message-header-gap));margin-bottom:var(--luzmo-chat-message-header-margin-bottom,var(--chat-message-header-margin-bottom));flex-wrap:wrap;display:flex}:host([meta=outside]) .header{margin-bottom:0}.user-name{font-weight:var(--luzmo-chat-message-user-name-font-weight,var(--chat-message-user-name-font-weight));color:var(--luzmo-chat-message-user-name-color,var(--chat-message-user-name-color))}.datetime{font-size:var(--luzmo-chat-message-datetime-font-size,var(--chat-message-datetime-font-size));color:var(--luzmo-chat-message-datetime-color,var(--chat-message-datetime-color));opacity:var(--luzmo-chat-message-datetime-opacity,var(--chat-message-datetime-opacity))}.content{display:block}.markdown-content>*{margin-block:0 var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing))}.markdown-content>:first-child{margin-top:0}.markdown-content>:last-child{margin-bottom:0}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{margin-block:var(--luzmo-chat-message-markdown-heading-spacing-top,var(--chat-message-markdown-heading-spacing-top)) var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));font-weight:var(--luzmo-chat-message-markdown-heading-font-weight,var(--chat-message-markdown-heading-font-weight));line-height:var(--luzmo-chat-message-markdown-heading-line-height,var(--chat-message-markdown-heading-line-height))}.markdown-content h1{font-size:1.5em}.markdown-content h2{font-size:1.3em}.markdown-content h3{font-size:1.15em}.markdown-content h4{font-size:1em}.markdown-content h5{font-size:.9em}.markdown-content h6{font-size:.85em}.markdown-content strong{font-weight:var(--luzmo-font-weight-bold,600)}.markdown-content em{font-style:italic}.markdown-content del{text-decoration:line-through}.markdown-content a{color:var(--luzmo-chat-message-markdown-link-color,var(--chat-message-markdown-link-color));text-underline-offset:.15em;text-decoration:underline}.markdown-content a:hover{text-decoration-thickness:2px}.markdown-content a:focus-visible{outline:var(--luzmo-indicator-width,1px) solid var(--luzmo-chat-message-markdown-link-color,var(--chat-message-markdown-link-color));outline-offset:2px;border-radius:var(--luzmo-border-radius-s)}.markdown-content code{font-family:var(--luzmo-chat-message-markdown-code-font-family,var(--chat-message-markdown-code-font-family));font-size:var(--luzmo-chat-message-markdown-code-font-size,var(--chat-message-markdown-code-font-size));background:var(--luzmo-chat-message-markdown-code-background,var(--chat-message-markdown-code-background));border-radius:var(--luzmo-chat-message-markdown-code-radius,var(--chat-message-markdown-code-radius));padding:.15em .35em}.markdown-content pre{margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));padding:var(--luzmo-chat-message-markdown-pre-padding,var(--chat-message-markdown-pre-padding));background:var(--luzmo-chat-message-markdown-pre-background,var(--chat-message-markdown-pre-background));border-radius:var(--luzmo-chat-message-markdown-pre-radius,var(--chat-message-markdown-pre-radius));white-space:pre;scrollbar-width:var(--luzmo-scrollbar-width,thin);scrollbar-color:var(--luzmo-scrollbar-thumb-background) var(--luzmo-scrollbar-track-background);overflow-x:auto}.markdown-content pre code{font-size:var(--luzmo-chat-message-markdown-code-font-size,var(--chat-message-markdown-code-font-size));background:0 0;border-radius:0;padding:0}.markdown-content blockquote{margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));border-inline-start:var(--luzmo-spacing-1,2px) solid var(--luzmo-chat-message-markdown-blockquote-border-color,var(--chat-message-markdown-blockquote-border-color));margin-inline:0;padding-inline-start:var(--luzmo-spacing-4)}.markdown-content blockquote>:first-child{margin-top:0}.markdown-content blockquote>:last-child{margin-bottom:0}.markdown-content ul,.markdown-content ol{margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));padding-inline-start:var(--luzmo-chat-message-markdown-list-indent,var(--chat-message-markdown-list-indent))}.markdown-content li,.markdown-content li>ul,.markdown-content li>ol{margin-block:var(--luzmo-spacing-1)}.markdown-content li.task-list-item{margin-inline-start:calc(-1 * var(--luzmo-chat-message-markdown-list-indent,var(--chat-message-markdown-list-indent)));padding-inline-start:var(--luzmo-chat-message-markdown-list-indent,var(--chat-message-markdown-list-indent));list-style:none}.markdown-content li.task-list-item input[type=checkbox]{vertical-align:middle;margin-inline-end:var(--luzmo-spacing-2)}.markdown-content table{width:max-content;max-width:100%;margin-block:var(--luzmo-chat-message-markdown-block-spacing,var(--chat-message-markdown-block-spacing));border-collapse:collapse;display:block;overflow-x:auto}.markdown-content th,.markdown-content td{padding:var(--luzmo-chat-message-markdown-table-cell-padding,var(--chat-message-markdown-table-cell-padding));border:var(--luzmo-border-width,1px) solid var(--luzmo-chat-message-markdown-border-color,var(--chat-message-markdown-border-color));text-align:start}.markdown-content th{font-weight:var(--luzmo-font-weight-bold,600)}.markdown-content hr{margin-block:var(--luzmo-chat-message-markdown-heading-spacing-top,var(--chat-message-markdown-heading-spacing-top));border:0;border-top:var(--luzmo-border-width,1px) solid var(--luzmo-chat-message-markdown-border-color,var(--chat-message-markdown-border-color))}.markdown-content img{border-radius:var(--luzmo-border-radius);max-width:100%;height:auto}.actions{gap:var(--luzmo-chat-message-actions-gap,var(--chat-message-actions-gap));align-items:center;display:flex}.actions-inside{margin-top:var(--luzmo-chat-message-actions-margin-top,var(--chat-message-actions-margin-top))}.actions-outside{opacity:var(--luzmo-chat-message-actions-opacity,var(--chat-message-actions-opacity));transition:opacity var(--luzmo-chat-message-animation-duration,var(--chat-message-animation-duration)) ease-in-out}:host(:hover) .actions-outside,:host(:focus-within) .actions-outside{opacity:var(--luzmo-chat-message-actions-opacity-hover,var(--chat-message-actions-opacity-hover))}::slotted([slot=avatar]){display:block}::slotted([slot=actions]){align-items:center;display:inline-flex}.extra-actions{top:var(--luzmo-chat-message-extra-actions-top,var(--chat-message-extra-actions-top));right:var(--luzmo-chat-message-extra-actions-right,var(--chat-message-extra-actions-right));bottom:var(--luzmo-chat-message-extra-actions-bottom,var(--chat-message-extra-actions-bottom));left:var(--luzmo-chat-message-extra-actions-left,var(--chat-message-extra-actions-left));padding:var(--luzmo-chat-message-extra-actions-vertical-padding,var(--chat-message-extra-actions-vertical-padding)) var(--luzmo-chat-message-extra-actions-horizontal-padding,var(--chat-message-extra-actions-horizontal-padding));opacity:0;pointer-events:none;transition:opacity var(--luzmo-chat-message-animation-duration,var(--chat-message-animation-duration)) ease-in-out;z-index:10;position:absolute}:host([position=left]) .extra-actions{left:var(--luzmo-chat-message-extra-actions-left,var(--chat-message-extra-actions-left), var(--luzmo-chat-message-content-horizontal-padding,var(--chat-message-content-horizontal-padding)));right:var(--luzmo-chat-message-extra-actions-right,var(--chat-message-extra-actions-right), auto)}:host([size=m]) .extra-actions{top:calc(-1 * var(--luzmo-spacing-5))}:host([size=m][position=right]) .extra-actions{left:calc(-1 * var(--luzmo-spacing-5));right:var(--luzmo-chat-message-extra-actions-right,var(--chat-message-extra-actions-right), auto)}:host([size=m][position=middle]) .extra-actions,:host([size=m][position=left]) .extra-actions{right:calc(-1 * var(--luzmo-spacing-5));left:var(--luzmo-chat-message-extra-actions-left,var(--chat-message-extra-actions-left), auto)}.extra-actions-wrapper{background-color:var(--luzmo-chat-message-extra-actions-wrapper-background-color,var(--luzmo-background-color));border-radius:var(--luzmo-chat-message-extra-actions-wrapper-border-radius,var(--luzmo-border-radius));border-width:var(--luzmo-chat-message-extra-actions-wrapper-border-width,var(--luzmo-border-width));border-style:var(--luzmo-chat-message-extra-actions-wrapper-border-style,solid);border-color:var(--luzmo-chat-message-extra-actions-wrapper-border,var(--luzmo-border-color));padding:var(--luzmo-chat-message-extra-actions-wrapper-vertical-padding,var(--chat-message-extra-actions-wrapper-vertical-padding)) var(--luzmo-chat-message-extra-actions-wrapper-horizontal-padding,var(--chat-message-extra-actions-wrapper-horizontal-padding));position:var(--luzmo-chat-message-extra-actions-wrapper-position,var(--chat-message-extra-actions-wrapper-position), relative);top:var(--luzmo-chat-message-extra-actions-wrapper-top,var(--chat-message-extra-actions-wrapper-top));right:var(--luzmo-chat-message-extra-actions-wrapper-right,var(--chat-message-extra-actions-wrapper-right));bottom:var(--luzmo-chat-message-extra-actions-wrapper-bottom,var(--chat-message-extra-actions-wrapper-bottom));left:var(--luzmo-chat-message-extra-actions-wrapper-left,var(--chat-message-extra-actions-wrapper-left));align-items:center;display:inline-flex}:host(:hover) .extra-actions,:host(:focus-within) .extra-actions,:host(:active) .extra-actions{opacity:1;pointer-events:auto}::slotted([slot=extra-actions]){align-items:center;display:inline-flex}@media (forced-colors:active){.markdown-content th,.markdown-content td,.markdown-content hr{border-color:canvastext}.markdown-content pre,.markdown-content code{border:1px solid canvastext}.markdown-content pre code{border:0}.markdown-content blockquote{border-inline-start-color:canvastext}.markdown-content a{color:linktext}:host{--highcontrast-chat-message-message-background-color:Canvas;--highcontrast-chat-message-message-border-color:CanvasText;--highcontrast-chat-message-text-color:CanvasText}}:host{--chat-message-message-border-width:var(--luzmo-border-width);--chat-message-message-border-color:var(--luzmo-border-color);--chat-message-message-background-color:var(--luzmo-background-color-highlight);--chat-message-message-shadow:0 1px 2px var(--luzmo-shadow-color);--chat-message-message-text-color:inherit;--chat-message-font-family:var(--luzmo-font-family);--chat-message-font-size:var(--luzmo-font-size);--chat-message-line-height:1.5;--chat-message-text-color:var(--luzmo-font-color);--chat-message-header-gap:var(--luzmo-spacing-2);--chat-message-header-margin-bottom:var(--luzmo-spacing-1);--chat-message-user-name-font-weight:var(--luzmo-font-weight-bold,600);--chat-message-user-name-color:var(--luzmo-font-color);--chat-message-datetime-font-size:.75em;--chat-message-datetime-color:var(--luzmo-font-color-secondary);--chat-message-datetime-opacity:.7;--chat-message-actions-gap:var(--luzmo-spacing-1);--chat-message-actions-margin-top:var(--luzmo-spacing-2);--chat-message-actions-opacity:1;--chat-message-actions-opacity-hover:1;--chat-message-animation-duration:var(--luzmo-animation-duration,.15s);--chat-message-gap:var(--luzmo-spacing-4);--chat-message-message-to-avatar:var(--luzmo-spacing-3);--chat-message-max-width:80%;--chat-message-content-vertical-padding:var(--luzmo-spacing-3);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--chat-message-primary-background-color:var(--luzmo-primary);--chat-message-primary-border-color:var(--luzmo-primary);--chat-message-primary-text-color:var(--luzmo-primary-inverse-color);--chat-message-primary-text-color-outline:var(--luzmo-primary);--chat-message-secondary-background-color:var(--luzmo-secondary);--chat-message-secondary-border-color:var(--luzmo-secondary);--chat-message-secondary-text-color:var(--luzmo-secondary-inverse-color);--chat-message-secondary-text-color-outline:var(--luzmo-secondary);--chat-message-markdown-block-spacing:var(--luzmo-spacing-4);--chat-message-markdown-heading-font-weight:var(--luzmo-font-weight-bold);--chat-message-markdown-heading-spacing-top:var(--luzmo-spacing-5);--chat-message-markdown-heading-line-height:1.25;--chat-message-markdown-code-font-family:ui-monospace, sfmono-regular, \"SF Mono\", menlo, consolas, \"Liberation Mono\", monospace;--chat-message-markdown-code-font-size:.875em;--chat-message-markdown-code-background:var(--luzmo-background-color-highlight);--chat-message-markdown-code-radius:var(--luzmo-border-radius-s);--chat-message-markdown-pre-background:var(--luzmo-background-color-highlight);--chat-message-markdown-pre-radius:var(--luzmo-border-radius);--chat-message-markdown-pre-padding:var(--luzmo-spacing-4);--chat-message-markdown-border-color:var(--luzmo-border-color);--chat-message-markdown-blockquote-border-color:var(--luzmo-border-color);--chat-message-markdown-link-color:var(--luzmo-primary);--chat-message-markdown-list-indent:var(--luzmo-spacing-5);--chat-message-markdown-table-cell-padding:var(--luzmo-spacing-2) var(--luzmo-spacing-3)}:host([position=middle]){--chat-message-max-width:90%}:host{--chat-message-message-border-radius:var(--luzmo-border-radius-xl);--chat-message-squared-border-radius:var(--luzmo-border-radius-s);--chat-message-gap:var(--luzmo-spacing-2);--chat-message-message-to-avatar:var(--luzmo-spacing-4);--chat-message-max-width:80%;--chat-message-content-vertical-padding:var(--luzmo-spacing-4);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1))}:host([size=xs]){--chat-message-message-border-radius:var(--luzmo-border-radius);--chat-message-squared-border-radius:var(--luzmo-border-radius-xs);--chat-message-font-size:11px;--chat-message-content-vertical-padding:var(--luzmo-spacing-3);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--chat-message-gap:var(--luzmo-spacing-1);--chat-message-message-to-avatar:var(--luzmo-spacing-3)}:host([size=s]){--chat-message-message-border-radius:var(--luzmo-border-radius-l);--chat-message-squared-border-radius:var(--luzmo-border-radius-xs);--chat-message-font-size:12px;--chat-message-content-vertical-padding:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1));--chat-message-content-horizontal-padding:var(--luzmo-spacing-4);--chat-message-gap:var(--luzmo-spacing-2);--chat-message-message-to-avatar:calc(var(--luzmo-spacing-3) + var(--luzmo-spacing-1))}:host([size=l]){--chat-message-message-border-radius:var(--luzmo-border-radius-xl);--chat-message-squared-border-radius:var(--luzmo-border-radius-s);--chat-message-font-size:16px;--chat-message-content-vertical-padding:var(--luzmo-spacing-5);--chat-message-content-horizontal-padding:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1));--chat-message-gap:var(--luzmo-spacing-3);--chat-message-message-to-avatar:calc(var(--luzmo-spacing-4) + var(--luzmo-spacing-1))}:host([size=xl]){--chat-message-message-border-radius:var(--luzmo-border-radius-xl);--chat-message-squared-border-radius:var(--luzmo-border-radius-s);--chat-message-font-size:18px;--chat-message-content-vertical-padding:var(--luzmo-spacing-5);--chat-message-content-horizontal-padding:var(--luzmo-spacing-5);--chat-message-gap:var(--luzmo-spacing-4);--chat-message-message-to-avatar:var(--luzmo-spacing-5)}:host([treatment=fill]){--chat-message-message-shadow:none}:host([variant=default][treatment=fill]){--chat-message-message-border-width:0}:host([variant=primary][treatment=fill]){--chat-message-message-background-color:var(--chat-message-primary-background-color);--chat-message-message-border-color:var(--chat-message-primary-border-color);--chat-message-message-text-color:var(--chat-message-primary-text-color)}:host([variant=secondary][treatment=fill]){--chat-message-message-background-color:var(--chat-message-secondary-background-color);--chat-message-message-border-color:var(--chat-message-secondary-border-color);--chat-message-message-text-color:var(--chat-message-secondary-text-color)}:host([variant=primary][treatment=fill]:not([quiet])){--chat-message-markdown-code-background:var(--luzmo-primary-down);--chat-message-markdown-pre-background:var(--luzmo-primary-down);--chat-message-markdown-link-color:var(--luzmo-primary-inverse-color);--chat-message-markdown-border-color:var(--luzmo-primary-inverse-color);--chat-message-markdown-blockquote-border-color:var(--luzmo-primary-inverse-color)}:host([variant=secondary][treatment=fill]:not([quiet])){--chat-message-markdown-code-background:var(--luzmo-secondary-down);--chat-message-markdown-pre-background:var(--luzmo-secondary-down);--chat-message-markdown-link-color:var(--luzmo-secondary-inverse-color);--chat-message-markdown-border-color:var(--luzmo-secondary-inverse-color);--chat-message-markdown-blockquote-border-color:var(--luzmo-secondary-inverse-color)}:host([treatment=outline]){--chat-message-message-background-color:transparent;--chat-message-message-shadow:none}:host([variant=primary][treatment=outline]){--chat-message-message-border-color:var(--chat-message-primary-border-color);--chat-message-message-text-color:var(--chat-message-primary-text-color-outline)}:host([variant=secondary][treatment=outline]){--chat-message-message-border-color:var(--chat-message-secondary-border-color);--chat-message-message-text-color:var(--chat-message-secondary-text-color-outline)}:host([quiet]){--chat-message-message-background-color:transparent;--chat-message-message-border-color:transparent;--chat-message-message-border-width:0;--chat-message-message-shadow:none;--chat-message-content-vertical-padding:0;--chat-message-content-horizontal-padding:0}:host([quiet][avatar-placement=top]){--chat-message-avatar-margin-top:calc((var(--chat-message-line-height) - 1) / 2 * 1em)}:host([quiet][avatar-placement=bottom]){--chat-message-avatar-margin-bottom:calc((var(--chat-message-line-height) - 1) / 2 * -1em)}:host([quiet][variant=primary]){--chat-message-primary-background-color:transparent;--chat-message-primary-border-color:transparent;--chat-message-primary-text-color:var(--luzmo-primary)}:host([quiet][variant=secondary]){--chat-message-secondary-background-color:transparent;--chat-message-secondary-border-color:transparent;--chat-message-secondary-text-color:var(--luzmo-secondary)}:host{--chat-message-extra-actions-top:var(--luzmo-chat-message-content-vertical-padding,var(--chat-message-content-vertical-padding));--chat-message-extra-actions-right:var(--luzmo-chat-message-content-horizontal-padding,var(--chat-message-content-horizontal-padding));--chat-message-extra-actions-bottom:auto;--chat-message-extra-actions-left:auto;--chat-message-extra-actions-vertical-padding:0;--chat-message-extra-actions-horizontal-padding:0;--chat-message-extra-actions-wrapper-background-color:var(--luzmo-border-color);--chat-message-extra-actions-wrapper-border-radius:var(--luzmo-border-radius);--chat-message-extra-actions-wrapper-border:none;--chat-message-extra-actions-wrapper-vertical-padding:var(--luzmo-spacing-1);--chat-message-extra-actions-wrapper-horizontal-padding:var(--luzmo-spacing-1);--chat-message-extra-actions-wrapper-position:relative;--chat-message-extra-actions-wrapper-top:auto;--chat-message-extra-actions-wrapper-right:auto;--chat-message-extra-actions-wrapper-bottom:auto;--chat-message-extra-actions-wrapper-left:auto}", $ = class extends n(e, {
2282
2247
  validSizes: [
2283
2248
  "xs",
2284
2249
  "s",
@@ -2306,7 +2271,7 @@ var xn = ":host{width:100%;font-family:var(--luzmo-chat-message-font-family,var(
2306
2271
  this.defaultSlotObserver.disconnect(), super.disconnectedCallback();
2307
2272
  }
2308
2273
  static get styles() {
2309
- return [o(xn)];
2274
+ return [o(gn)];
2310
2275
  }
2311
2276
  _handleAvatarSlotChange(e) {
2312
2277
  let t = e.target;
@@ -2332,7 +2297,7 @@ var xn = ":host{width:100%;font-family:var(--luzmo-chat-message-font-family,var(
2332
2297
  let e = [...this.childNodes].filter((e) => e.nodeType !== Node.ELEMENT_NODE || !e.hasAttribute("slot"));
2333
2298
  if (e.some((e) => e.nodeType === Node.ELEMENT_NODE)) return;
2334
2299
  let t = e.filter((e) => e.nodeType === Node.TEXT_NODE || e.nodeType === Node.CDATA_SECTION_NODE).map((e) => e.textContent || "").join("").replaceAll("\r\n", "\n").replaceAll("\r", "\n").trim();
2335
- if (t) return ut.sanitize(Z.parse(t, {
2300
+ if (t) return it.sanitize(Q.parse(t, {
2336
2301
  gfm: !0,
2337
2302
  async: !1
2338
2303
  }), { USE_PROFILES: { html: !0 } });
@@ -2470,38 +2435,38 @@ var xn = ":host{width:100%;font-family:var(--luzmo-chat-message-font-family,var(
2470
2435
  t([s({
2471
2436
  type: String,
2472
2437
  reflect: !0
2473
- })], Q.prototype, "position", void 0), t([s({
2438
+ })], $.prototype, "position", void 0), t([s({
2474
2439
  type: String,
2475
2440
  reflect: !0
2476
- })], Q.prototype, "variant", void 0), t([s({
2441
+ })], $.prototype, "variant", void 0), t([s({
2477
2442
  type: String,
2478
2443
  reflect: !0
2479
- })], Q.prototype, "treatment", void 0), t([s({
2444
+ })], $.prototype, "treatment", void 0), t([s({
2480
2445
  type: Boolean,
2481
2446
  reflect: !0
2482
- })], Q.prototype, "quiet", void 0), t([s({
2447
+ })], $.prototype, "quiet", void 0), t([s({
2483
2448
  type: String,
2484
2449
  attribute: "name"
2485
- })], Q.prototype, "name", void 0), t([s({
2450
+ })], $.prototype, "name", void 0), t([s({
2486
2451
  type: String,
2487
2452
  attribute: "datetime"
2488
- })], Q.prototype, "datetime", void 0), t([s({
2453
+ })], $.prototype, "datetime", void 0), t([s({
2489
2454
  type: Object,
2490
2455
  attribute: "datetime-format-options"
2491
- })], Q.prototype, "datetimeFormatOptions", void 0), t([s({
2456
+ })], $.prototype, "datetimeFormatOptions", void 0), t([s({
2492
2457
  type: String,
2493
2458
  attribute: "datetime-language"
2494
- })], Q.prototype, "datetimeLanguage", void 0), t([s({
2459
+ })], $.prototype, "datetimeLanguage", void 0), t([s({
2495
2460
  type: String,
2496
2461
  reflect: !0
2497
- })], Q.prototype, "meta", void 0), t([s({
2462
+ })], $.prototype, "meta", void 0), t([s({
2498
2463
  type: String,
2499
2464
  reflect: !0,
2500
2465
  attribute: "actions"
2501
- })], Q.prototype, "actionsPosition", void 0), t([s({
2466
+ })], $.prototype, "actionsPosition", void 0), t([s({
2502
2467
  type: String,
2503
2468
  reflect: !0,
2504
2469
  attribute: "avatar-placement"
2505
- })], Q.prototype, "avatarPlacement", void 0), t([c()], Q.prototype, "_hasAvatar", void 0), t([c()], Q.prototype, "_hasActions", void 0), t([c()], Q.prototype, "_hasExtraActions", void 0), customElements.get("luzmo-chat-message") || customElements.define("luzmo-chat-message", Q);
2470
+ })], $.prototype, "avatarPlacement", void 0), t([c()], $.prototype, "_hasAvatar", void 0), t([c()], $.prototype, "_hasActions", void 0), t([c()], $.prototype, "_hasExtraActions", void 0), customElements.get("luzmo-chat-message") || customElements.define("luzmo-chat-message", $);
2506
2471
  //#endregion
2507
- export { Q as t };
2472
+ export { $ as t };